@tsiky/components-r19 7.0.9 → 7.0.11

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"),E=require("styled-components"),_w=require("react-dom");function fz(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=fz(k),gz="_button_1kuwt_2",vz="_primary_1kuwt_21",xz="_secondary_1kuwt_26",Mz="_accent_1kuwt_31",_z="_outline_1kuwt_36",Lz="_success_1kuwt_41",Iz="_danger_1kuwt_46",bz="_warning_1kuwt_51",wz="_info_1kuwt_56",Cz="_sm_1kuwt_62",Nz="_md_1kuwt_67",Sz="_lg_1kuwt_72",Ze={button:gz,primary:vz,secondary:xz,accent:Mz,outline:_z,success:Lz,danger:Iz,warning:bz,info:wz,sm:Cz,md:Nz,lg:Sz};function X(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 _=x?x.trim():"";return _?_.includes(":")?`${m} : ${_.replace(/\s*:\s*/g," : ")}`:r?`${m} : ${r} : ${_}`:`${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 uL=({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||X(r,typeof e=="string"?e:void 0),children:e})},Gb=({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,_=2*Math.PI*x,I=_/5*(1-.1),b=_-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 M=-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} ${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})]})},jz="_wrapper_12x8x_1",$z="_list_12x8x_12",qz="_item_12x8x_22",Az="_badge_12x8x_30",zz="_text_12x8x_42",Vz="_tooltip_12x8x_49",dt={wrapper:jz,list:$z,item:qz,badge:Az,text:zz,tooltip:Vz};function Wj({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 _(v){v.key==="Escape"&&u(!1)}return h&&document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[h]),k.useEffect(()=>{function _(v){f.current&&!f.current.contains(v.target)&&u(!1)}return h&&document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[h]);function g(_){r&&(_.preventDefault(),y({x:_.clientX,y:_.clientY}),u(!0))}const m=e.slice(0,s),x=_=>typeof _=="number"?`${_}px`:_;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((_,v)=>o.jsxs("li",{className:dt.item,children:[o.jsx("span",{className:dt.badge,style:{backgroundColor:_.badgeColor??n},"aria-hidden":!0}),o.jsx("span",{className:dt.text,style:{color:_.textColor??c},children:_.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((_,v)=>o.jsxs("li",{className:dt.item,children:[o.jsx("span",{className:dt.badge,style:{backgroundColor:_.badgeColor??n}}),o.jsx("span",{className:dt.text,style:{color:_.textColor??"#000"},children:_.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"),E=require("styled-components"),_w=require("react-dom");function fz(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=fz(k),gz="_button_1kuwt_2",vz="_primary_1kuwt_21",xz="_secondary_1kuwt_26",Mz="_accent_1kuwt_31",_z="_outline_1kuwt_36",Lz="_success_1kuwt_41",Iz="_danger_1kuwt_46",bz="_warning_1kuwt_51",wz="_info_1kuwt_56",Cz="_sm_1kuwt_62",Nz="_md_1kuwt_67",Sz="_lg_1kuwt_72",Ze={button:gz,primary:vz,secondary:xz,accent:Mz,outline:_z,success:Lz,danger:Iz,warning:bz,info:wz,sm:Cz,md:Nz,lg:Sz};function X(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 uL=({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||X(r,typeof e=="string"?e:void 0),children:e})},Gb=({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})]})},jz="_wrapper_12x8x_1",$z="_list_12x8x_12",qz="_item_12x8x_22",Az="_badge_12x8x_30",zz="_text_12x8x_42",Vz="_tooltip_12x8x_49",dt={wrapper:jz,list:$z,item:qz,badge:Az,text:zz,tooltip:Vz};function Wj({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:yi,AArrowDownIcon:yi,AArrowUp:ki,AArrowUpIcon:ki,ALargeSmall:mi,ALargeSmallIcon:mi,Accessibility:L1,AccessibilityIcon:L1,Activity:I1,ActivityIcon:I1,ActivitySquare:Vt,ActivitySquareIcon:Vt,AirVent:fi,AirVentIcon:fi,Airplay:gi,AirplayIcon:gi,AlarmCheck:Ut,AlarmCheckIcon:Ut,AlarmClock:xi,AlarmClockCheck:Ut,AlarmClockCheckIcon:Ut,AlarmClockIcon:xi,AlarmClockMinus:Wt,AlarmClockMinusIcon:Wt,AlarmClockOff:vi,AlarmClockOffIcon:vi,AlarmClockPlus:Gt,AlarmClockPlusIcon:Gt,AlarmMinus:Wt,AlarmMinusIcon:Wt,AlarmPlus:Gt,AlarmPlusIcon:Gt,AlarmSmoke:Mi,AlarmSmokeIcon:Mi,Album:_i,AlbumIcon:_i,AlertCircle:Ma,AlertCircleIcon:Ma,AlertOctagon:On,AlertOctagonIcon:On,AlertTriangle:kc,AlertTriangleIcon:kc,AlignCenter:Ni,AlignCenterHorizontal:Li,AlignCenterHorizontalIcon:Li,AlignCenterIcon:Ni,AlignCenterVertical:Ii,AlignCenterVerticalIcon:Ii,AlignEndHorizontal:bi,AlignEndHorizontalIcon:bi,AlignEndVertical:wi,AlignEndVerticalIcon:wi,AlignHorizontalDistributeCenter:Ci,AlignHorizontalDistributeCenterIcon:Ci,AlignHorizontalDistributeEnd:Si,AlignHorizontalDistributeEndIcon:Si,AlignHorizontalDistributeStart:ji,AlignHorizontalDistributeStartIcon:ji,AlignHorizontalJustifyCenter:$i,AlignHorizontalJustifyCenterIcon:$i,AlignHorizontalJustifyEnd:qi,AlignHorizontalJustifyEndIcon:qi,AlignHorizontalJustifyStart:Ai,AlignHorizontalJustifyStartIcon:Ai,AlignHorizontalSpaceAround:zi,AlignHorizontalSpaceAroundIcon:zi,AlignHorizontalSpaceBetween:Pi,AlignHorizontalSpaceBetweenIcon:Pi,AlignJustify:Vi,AlignJustifyIcon:Vi,AlignLeft:Ti,AlignLeftIcon:Ti,AlignRight:Hi,AlignRightIcon:Hi,AlignStartHorizontal:Di,AlignStartHorizontalIcon:Di,AlignStartVertical:Bi,AlignStartVerticalIcon:Bi,AlignVerticalDistributeCenter:Fi,AlignVerticalDistributeCenterIcon:Fi,AlignVerticalDistributeEnd:Ri,AlignVerticalDistributeEndIcon:Ri,AlignVerticalDistributeStart:Oi,AlignVerticalDistributeStartIcon:Oi,AlignVerticalJustifyCenter:Ei,AlignVerticalJustifyCenterIcon:Ei,AlignVerticalJustifyEnd:Ui,AlignVerticalJustifyEndIcon:Ui,AlignVerticalJustifyStart:Wi,AlignVerticalJustifyStartIcon:Wi,AlignVerticalSpaceAround:Ki,AlignVerticalSpaceAroundIcon:Ki,AlignVerticalSpaceBetween:Gi,AlignVerticalSpaceBetweenIcon:Gi,Ambulance:Zi,AmbulanceIcon:Zi,Ampersand:Xi,AmpersandIcon:Xi,Ampersands:Yi,AmpersandsIcon:Yi,Amphora:Ji,AmphoraIcon:Ji,Anchor:Qi,AnchorIcon:Qi,Angry:er,AngryIcon:er,Annoyed:tr,AnnoyedIcon:tr,Antenna:ar,AntennaIcon:ar,Anvil:nr,AnvilIcon:nr,Aperture:or,ApertureIcon:or,AppWindow:ir,AppWindowIcon:ir,AppWindowMac:cr,AppWindowMacIcon:cr,Apple:rr,AppleIcon:rr,Archive:lr,ArchiveIcon:lr,ArchiveRestore:sr,ArchiveRestoreIcon:sr,ArchiveX:dr,ArchiveXIcon:dr,AreaChart:sa,AreaChartIcon:sa,Armchair:hr,ArmchairIcon:hr,ArrowBigDown:pr,ArrowBigDownDash:ur,ArrowBigDownDashIcon:ur,ArrowBigDownIcon:pr,ArrowBigLeft:kr,ArrowBigLeftDash:yr,ArrowBigLeftDashIcon:yr,ArrowBigLeftIcon:kr,ArrowBigRight:fr,ArrowBigRightDash:mr,ArrowBigRightDashIcon:mr,ArrowBigRightIcon:fr,ArrowBigUp:vr,ArrowBigUpDash:gr,ArrowBigUpDashIcon:gr,ArrowBigUpIcon:vr,ArrowDown:e1,ArrowDown01:xr,ArrowDown01Icon:xr,ArrowDown10:Mr,ArrowDown10Icon:Mr,ArrowDownAZ:Kt,ArrowDownAZIcon:Kt,ArrowDownAz:Kt,ArrowDownAzIcon:Kt,ArrowDownCircle:_a,ArrowDownCircleIcon:_a,ArrowDownFromLine:_r,ArrowDownFromLineIcon:_r,ArrowDownIcon:e1,ArrowDownLeft:Lr,ArrowDownLeftFromCircle:Ia,ArrowDownLeftFromCircleIcon:Ia,ArrowDownLeftFromSquare:go,ArrowDownLeftFromSquareIcon:go,ArrowDownLeftIcon:Lr,ArrowDownLeftSquare:yo,ArrowDownLeftSquareIcon:yo,ArrowDownNarrowWide:Ir,ArrowDownNarrowWideIcon:Ir,ArrowDownRight:br,ArrowDownRightFromCircle:ba,ArrowDownRightFromCircleIcon:ba,ArrowDownRightFromSquare:vo,ArrowDownRightFromSquareIcon:vo,ArrowDownRightIcon:br,ArrowDownRightSquare:ko,ArrowDownRightSquareIcon:ko,ArrowDownSquare:mo,ArrowDownSquareIcon:mo,ArrowDownToDot:wr,ArrowDownToDotIcon:wr,ArrowDownToLine:Cr,ArrowDownToLineIcon:Cr,ArrowDownUp:Nr,ArrowDownUpIcon:Nr,ArrowDownWideNarrow:Zt,ArrowDownWideNarrowIcon:Zt,ArrowDownZA:Xt,ArrowDownZAIcon:Xt,ArrowDownZa:Xt,ArrowDownZaIcon:Xt,ArrowLeft:b1,ArrowLeftCircle:La,ArrowLeftCircleIcon:La,ArrowLeftFromLine:Sr,ArrowLeftFromLineIcon:Sr,ArrowLeftIcon:b1,ArrowLeftRight:jr,ArrowLeftRightIcon:jr,ArrowLeftSquare:fo,ArrowLeftSquareIcon:fo,ArrowLeftToLine:$r,ArrowLeftToLineIcon:$r,ArrowRight:Vr,ArrowRightCircle:Na,ArrowRightCircleIcon:Na,ArrowRightFromLine:qr,ArrowRightFromLineIcon:qr,ArrowRightIcon:Vr,ArrowRightLeft:Ar,ArrowRightLeftIcon:Ar,ArrowRightSquare:_o,ArrowRightSquareIcon:_o,ArrowRightToLine:zr,ArrowRightToLineIcon:zr,ArrowUp:t1,ArrowUp01:Pr,ArrowUp01Icon:Pr,ArrowUp10:Tr,ArrowUp10Icon:Tr,ArrowUpAZ:Yt,ArrowUpAZIcon:Yt,ArrowUpAz:Yt,ArrowUpAzIcon:Yt,ArrowUpCircle:Sa,ArrowUpCircleIcon:Sa,ArrowUpDown:Hr,ArrowUpDownIcon:Hr,ArrowUpFromDot:Dr,ArrowUpFromDotIcon:Dr,ArrowUpFromLine:Br,ArrowUpFromLineIcon:Br,ArrowUpIcon:t1,ArrowUpLeft:Rr,ArrowUpLeftFromCircle:wa,ArrowUpLeftFromCircleIcon:wa,ArrowUpLeftFromSquare:xo,ArrowUpLeftFromSquareIcon:xo,ArrowUpLeftIcon:Rr,ArrowUpLeftSquare:Lo,ArrowUpLeftSquareIcon:Lo,ArrowUpNarrowWide:Jt,ArrowUpNarrowWideIcon:Jt,ArrowUpRight:Fr,ArrowUpRightFromCircle:Ca,ArrowUpRightFromCircleIcon:Ca,ArrowUpRightFromSquare:Mo,ArrowUpRightFromSquareIcon:Mo,ArrowUpRightIcon:Fr,ArrowUpRightSquare:Io,ArrowUpRightSquareIcon:Io,ArrowUpSquare:bo,ArrowUpSquareIcon:bo,ArrowUpToLine:Er,ArrowUpToLineIcon:Er,ArrowUpWideNarrow:Or,ArrowUpWideNarrowIcon:Or,ArrowUpZA:Qt,ArrowUpZAIcon:Qt,ArrowUpZa:Qt,ArrowUpZaIcon:Qt,ArrowsUpFromLine:Ur,ArrowsUpFromLineIcon:Ur,Asterisk:Wr,AsteriskIcon:Wr,AsteriskSquare:wo,AsteriskSquareIcon:wo,AtSign:Gr,AtSignIcon:Gr,Atom:Kr,AtomIcon:Kr,AudioLines:Zr,AudioLinesIcon:Zr,AudioWaveform:Xr,AudioWaveformIcon:Xr,Award:Yr,AwardIcon:Yr,Axe:Jr,AxeIcon:Jr,Axis3D:ea,Axis3DIcon:ea,Axis3d:ea,Axis3dIcon:ea,Baby:Qr,BabyIcon:Qr,Backpack:es,BackpackIcon:es,Badge:ms,BadgeAlert:ts,BadgeAlertIcon:ts,BadgeCent:as,BadgeCentIcon:as,BadgeCheck:ta,BadgeCheckIcon:ta,BadgeDollarSign:ns,BadgeDollarSignIcon:ns,BadgeEuro:os,BadgeEuroIcon:os,BadgeHelp:aa,BadgeHelpIcon:aa,BadgeIcon:ms,BadgeIndianRupee:cs,BadgeIndianRupeeIcon:cs,BadgeInfo:is,BadgeInfoIcon:is,BadgeJapaneseYen:ss,BadgeJapaneseYenIcon:ss,BadgeMinus:rs,BadgeMinusIcon:rs,BadgePercent:ds,BadgePercentIcon:ds,BadgePlus:ls,BadgePlusIcon:ls,BadgePoundSterling:hs,BadgePoundSterlingIcon:hs,BadgeQuestionMark:aa,BadgeQuestionMarkIcon:aa,BadgeRussianRuble:us,BadgeRussianRubleIcon:us,BadgeSwissFranc:ps,BadgeSwissFrancIcon:ps,BadgeTurkishLira:ys,BadgeTurkishLiraIcon:ys,BadgeX:ks,BadgeXIcon:ks,BaggageClaim:fs,BaggageClaimIcon:fs,Ban:gs,BanIcon:gs,Banana:vs,BananaIcon:vs,Bandage:xs,BandageIcon:xs,Banknote:Is,BanknoteArrowDown:Ms,BanknoteArrowDownIcon:Ms,BanknoteArrowUp:_s,BanknoteArrowUpIcon:_s,BanknoteIcon:Is,BanknoteX:Ls,BanknoteXIcon:Ls,BarChart:ma,BarChart2:fa,BarChart2Icon:fa,BarChart3:ya,BarChart3Icon:ya,BarChart4:pa,BarChart4Icon:pa,BarChartBig:ua,BarChartBigIcon:ua,BarChartHorizontal:la,BarChartHorizontalBig:da,BarChartHorizontalBigIcon:da,BarChartHorizontalIcon:la,BarChartIcon:ma,Barcode:bs,BarcodeIcon:bs,Barrel:ws,BarrelIcon:ws,Baseline:Cs,BaselineIcon:Cs,Bath:Ns,BathIcon:Ns,Battery:Vs,BatteryCharging:Ss,BatteryChargingIcon:Ss,BatteryFull:js,BatteryFullIcon:js,BatteryIcon:Vs,BatteryLow:$s,BatteryLowIcon:$s,BatteryMedium:qs,BatteryMediumIcon:qs,BatteryPlus:As,BatteryPlusIcon:As,BatteryWarning:zs,BatteryWarningIcon:zs,Beaker:Ps,BeakerIcon:Ps,Bean:Hs,BeanIcon:Hs,BeanOff:Ts,BeanOffIcon:Ts,Bed:Rs,BedDouble:Ds,BedDoubleIcon:Ds,BedIcon:Rs,BedSingle:Bs,BedSingleIcon:Bs,Beef:Fs,BeefIcon:Fs,Beer:Os,BeerIcon:Os,BeerOff:Es,BeerOffIcon:Es,Bell:Xs,BellDot:Us,BellDotIcon:Us,BellElectric:Ws,BellElectricIcon:Ws,BellIcon:Xs,BellMinus:Gs,BellMinusIcon:Gs,BellOff:Ks,BellOffIcon:Ks,BellPlus:Zs,BellPlusIcon:Zs,BellRing:Ys,BellRingIcon:Ys,BetweenHorizonalEnd:na,BetweenHorizonalEndIcon:na,BetweenHorizonalStart:oa,BetweenHorizonalStartIcon:oa,BetweenHorizontalEnd:na,BetweenHorizontalEndIcon:na,BetweenHorizontalStart:oa,BetweenHorizontalStartIcon:oa,BetweenVerticalEnd:Qs,BetweenVerticalEndIcon:Qs,BetweenVerticalStart:Js,BetweenVerticalStartIcon:Js,BicepsFlexed:e2,BicepsFlexedIcon:e2,Bike:a2,BikeIcon:a2,Binary:t2,BinaryIcon:t2,Binoculars:n2,BinocularsIcon:n2,Biohazard:o2,BiohazardIcon:o2,Bird:c2,BirdIcon:c2,Bitcoin:i2,BitcoinIcon:i2,Blend:r2,BlendIcon:r2,Blinds:s2,BlindsIcon:s2,Blocks:d2,BlocksIcon:d2,Bluetooth:p2,BluetoothConnected:l2,BluetoothConnectedIcon:l2,BluetoothIcon:p2,BluetoothOff:h2,BluetoothOffIcon:h2,BluetoothSearching:u2,BluetoothSearchingIcon:u2,Bold:y2,BoldIcon:y2,Bolt:k2,BoltIcon:k2,Bomb:m2,BombIcon:m2,Bone:f2,BoneIcon:f2,Book:R2,BookA:g2,BookAIcon:g2,BookAlert:v2,BookAlertIcon:v2,BookAudio:x2,BookAudioIcon:x2,BookCheck:M2,BookCheckIcon:M2,BookCopy:_2,BookCopyIcon:_2,BookDashed:ca,BookDashedIcon:ca,BookDown:L2,BookDownIcon:L2,BookHeadphones:I2,BookHeadphonesIcon:I2,BookHeart:b2,BookHeartIcon:b2,BookIcon:R2,BookImage:w2,BookImageIcon:w2,BookKey:C2,BookKeyIcon:C2,BookLock:N2,BookLockIcon:N2,BookMarked:j2,BookMarkedIcon:j2,BookMinus:S2,BookMinusIcon:S2,BookOpen:A2,BookOpenCheck:$2,BookOpenCheckIcon:$2,BookOpenIcon:A2,BookOpenText:q2,BookOpenTextIcon:q2,BookPlus:z2,BookPlusIcon:z2,BookTemplate:ca,BookTemplateIcon:ca,BookText:V2,BookTextIcon:V2,BookType:P2,BookTypeIcon:P2,BookUp:H2,BookUp2:T2,BookUp2Icon:T2,BookUpIcon:H2,BookUser:D2,BookUserIcon:D2,BookX:B2,BookXIcon:B2,Bookmark:W2,BookmarkCheck:F2,BookmarkCheckIcon:F2,BookmarkIcon:W2,BookmarkMinus:E2,BookmarkMinusIcon:E2,BookmarkPlus:O2,BookmarkPlusIcon:O2,BookmarkX:U2,BookmarkXIcon:U2,BoomBox:G2,BoomBoxIcon:G2,Bot:X2,BotIcon:X2,BotMessageSquare:K2,BotMessageSquareIcon:K2,BotOff:Z2,BotOffIcon:Z2,BottleWine:Y2,BottleWineIcon:Y2,BowArrow:J2,BowArrowIcon:J2,Box:Q2,BoxIcon:Q2,BoxSelect:To,BoxSelectIcon:To,Boxes:ed,BoxesIcon:ed,Braces:ia,BracesIcon:ia,Brackets:td,BracketsIcon:td,Brain:od,BrainCircuit:ad,BrainCircuitIcon:ad,BrainCog:nd,BrainCogIcon:nd,BrainIcon:od,BrickWall:rd,BrickWallFire:cd,BrickWallFireIcon:cd,BrickWallIcon:rd,BrickWallShield:id,BrickWallShieldIcon:id,Briefcase:hd,BriefcaseBusiness:sd,BriefcaseBusinessIcon:sd,BriefcaseConveyorBelt:dd,BriefcaseConveyorBeltIcon:dd,BriefcaseIcon:hd,BriefcaseMedical:ld,BriefcaseMedicalIcon:ld,BringToFront:ud,BringToFrontIcon:ud,Brush:yd,BrushCleaning:pd,BrushCleaningIcon:pd,BrushIcon:yd,Bubbles:kd,BubblesIcon:kd,Bug:vd,BugIcon:vd,BugOff:md,BugOffIcon:md,BugPlay:fd,BugPlayIcon:fd,Building:xd,Building2:gd,Building2Icon:gd,BuildingIcon:xd,Bus:_d,BusFront:Md,BusFrontIcon:Md,BusIcon:_d,Cable:Id,CableCar:Ld,CableCarIcon:Ld,CableIcon:Id,Cake:wd,CakeIcon:wd,CakeSlice:bd,CakeSliceIcon:bd,Calculator:Cd,CalculatorIcon:Cd,Calendar:w1,Calendar1:Nd,Calendar1Icon:Nd,CalendarArrowDown:Sd,CalendarArrowDownIcon:Sd,CalendarArrowUp:jd,CalendarArrowUpIcon:jd,CalendarCheck:qd,CalendarCheck2:$d,CalendarCheck2Icon:$d,CalendarCheckIcon:qd,CalendarClock:Ad,CalendarClockIcon:Ad,CalendarCog:zd,CalendarCogIcon:zd,CalendarDays:Vd,CalendarDaysIcon:Vd,CalendarFold:Pd,CalendarFoldIcon:Pd,CalendarHeart:Td,CalendarHeartIcon:Td,CalendarIcon:w1,CalendarMinus:Dd,CalendarMinus2:Hd,CalendarMinus2Icon:Hd,CalendarMinusIcon:Dd,CalendarOff:Bd,CalendarOffIcon:Bd,CalendarPlus:Fd,CalendarPlus2:Rd,CalendarPlus2Icon:Rd,CalendarPlusIcon:Fd,CalendarRange:Ed,CalendarRangeIcon:Ed,CalendarSearch:Od,CalendarSearchIcon:Od,CalendarSync:Ud,CalendarSyncIcon:Ud,CalendarX:Gd,CalendarX2:Wd,CalendarX2Icon:Wd,CalendarXIcon:Gd,Camera:Zd,CameraIcon:Zd,CameraOff:Kd,CameraOffIcon:Kd,CandlestickChart:ha,CandlestickChartIcon:ha,Candy:Jd,CandyCane:Xd,CandyCaneIcon:Xd,CandyIcon:Jd,CandyOff:Yd,CandyOffIcon:Yd,Cannabis:Qd,CannabisIcon:Qd,Captions:ra,CaptionsIcon:ra,CaptionsOff:e0,CaptionsOffIcon:e0,Car:n0,CarFront:t0,CarFrontIcon:t0,CarIcon:n0,CarTaxiFront:a0,CarTaxiFrontIcon:a0,Caravan:o0,CaravanIcon:o0,CardSim:c0,CardSimIcon:c0,Carrot:i0,CarrotIcon:i0,CaseLower:r0,CaseLowerIcon:r0,CaseSensitive:s0,CaseSensitiveIcon:s0,CaseUpper:d0,CaseUpperIcon:d0,CassetteTape:l0,CassetteTapeIcon:l0,Cast:h0,CastIcon:h0,Castle:p0,CastleIcon:p0,Cat:u0,CatIcon:u0,Cctv:y0,CctvIcon:y0,ChartArea:sa,ChartAreaIcon:sa,ChartBar:la,ChartBarBig:da,ChartBarBigIcon:da,ChartBarDecreasing:k0,ChartBarDecreasingIcon:k0,ChartBarIcon:la,ChartBarIncreasing:m0,ChartBarIncreasingIcon:m0,ChartBarStacked:f0,ChartBarStackedIcon:f0,ChartCandlestick:ha,ChartCandlestickIcon:ha,ChartColumn:ya,ChartColumnBig:ua,ChartColumnBigIcon:ua,ChartColumnDecreasing:g0,ChartColumnDecreasingIcon:g0,ChartColumnIcon:ya,ChartColumnIncreasing:pa,ChartColumnIncreasingIcon:pa,ChartColumnStacked:v0,ChartColumnStackedIcon:v0,ChartGantt:x0,ChartGanttIcon:x0,ChartLine:ka,ChartLineIcon:ka,ChartNetwork:M0,ChartNetworkIcon:M0,ChartNoAxesColumn:fa,ChartNoAxesColumnDecreasing:_0,ChartNoAxesColumnDecreasingIcon:_0,ChartNoAxesColumnIcon:fa,ChartNoAxesColumnIncreasing:ma,ChartNoAxesColumnIncreasingIcon:ma,ChartNoAxesCombined:L0,ChartNoAxesCombinedIcon:L0,ChartNoAxesGantt:ga,ChartNoAxesGanttIcon:ga,ChartPie:va,ChartPieIcon:va,ChartScatter:xa,ChartScatterIcon:xa,ChartSpline:I0,ChartSplineIcon:I0,Check:C1,CheckCheck:b0,CheckCheckIcon:b0,CheckCircle:ja,CheckCircle2:$a,CheckCircle2Icon:$a,CheckCircleIcon:ja,CheckIcon:C1,CheckLine:w0,CheckLineIcon:w0,CheckSquare:No,CheckSquare2:So,CheckSquare2Icon:So,CheckSquareIcon:No,ChefHat:C0,ChefHatIcon:C0,Cherry:N0,CherryIcon:N0,ChevronDown:Ht,ChevronDownCircle:qa,ChevronDownCircleIcon:qa,ChevronDownIcon:Ht,ChevronDownSquare:jo,ChevronDownSquareIcon:jo,ChevronFirst:S0,ChevronFirstIcon:S0,ChevronLast:j0,ChevronLastIcon:j0,ChevronLeft:$0,ChevronLeftCircle:Aa,ChevronLeftCircleIcon:Aa,ChevronLeftIcon:$0,ChevronLeftSquare:$o,ChevronLeftSquareIcon:$o,ChevronRight:N1,ChevronRightCircle:za,ChevronRightCircleIcon:za,ChevronRightIcon:N1,ChevronRightSquare:qo,ChevronRightSquareIcon:qo,ChevronUp:Ac,ChevronUpCircle:Va,ChevronUpCircleIcon:Va,ChevronUpIcon:Ac,ChevronUpSquare:Ao,ChevronUpSquareIcon:Ao,ChevronsDown:A0,ChevronsDownIcon:A0,ChevronsDownUp:q0,ChevronsDownUpIcon:q0,ChevronsLeft:V0,ChevronsLeftIcon:V0,ChevronsLeftRight:z0,ChevronsLeftRightEllipsis:P0,ChevronsLeftRightEllipsisIcon:P0,ChevronsLeftRightIcon:z0,ChevronsRight:H0,ChevronsRightIcon:H0,ChevronsRightLeft:T0,ChevronsRightLeftIcon:T0,ChevronsUp:D0,ChevronsUpDown:a1,ChevronsUpDownIcon:a1,ChevronsUpIcon:D0,Chrome:B0,ChromeIcon:B0,Church:R0,ChurchIcon:R0,Cigarette:E0,CigaretteIcon:E0,CigaretteOff:F0,CigaretteOffIcon:F0,Circle:nl,CircleAlert:Ma,CircleAlertIcon:Ma,CircleArrowDown:_a,CircleArrowDownIcon:_a,CircleArrowLeft:La,CircleArrowLeftIcon:La,CircleArrowOutDownLeft:Ia,CircleArrowOutDownLeftIcon:Ia,CircleArrowOutDownRight:ba,CircleArrowOutDownRightIcon:ba,CircleArrowOutUpLeft:wa,CircleArrowOutUpLeftIcon:wa,CircleArrowOutUpRight:Ca,CircleArrowOutUpRightIcon:Ca,CircleArrowRight:Na,CircleArrowRightIcon:Na,CircleArrowUp:Sa,CircleArrowUpIcon:Sa,CircleCheck:$a,CircleCheckBig:ja,CircleCheckBigIcon:ja,CircleCheckIcon:$a,CircleChevronDown:qa,CircleChevronDownIcon:qa,CircleChevronLeft:Aa,CircleChevronLeftIcon:Aa,CircleChevronRight:za,CircleChevronRightIcon:za,CircleChevronUp:Va,CircleChevronUpIcon:Va,CircleDashed:O0,CircleDashedIcon:O0,CircleDivide:Pa,CircleDivideIcon:Pa,CircleDollarSign:W0,CircleDollarSignIcon:W0,CircleDot:G0,CircleDotDashed:U0,CircleDotDashedIcon:U0,CircleDotIcon:G0,CircleEllipsis:K0,CircleEllipsisIcon:K0,CircleEqual:Z0,CircleEqualIcon:Z0,CircleFadingArrowUp:Y0,CircleFadingArrowUpIcon:Y0,CircleFadingPlus:X0,CircleFadingPlusIcon:X0,CircleGauge:Ta,CircleGaugeIcon:Ta,CircleHelp:ht,CircleHelpIcon:ht,CircleIcon:nl,CircleMinus:Ha,CircleMinusIcon:Ha,CircleOff:J0,CircleOffIcon:J0,CircleParking:Ra,CircleParkingIcon:Ra,CircleParkingOff:Da,CircleParkingOffIcon:Da,CirclePause:Ba,CirclePauseIcon:Ba,CirclePercent:Fa,CirclePercentIcon:Fa,CirclePlay:Ea,CirclePlayIcon:Ea,CirclePlus:Oa,CirclePlusIcon:Oa,CirclePoundSterling:Q0,CirclePoundSterlingIcon:Q0,CirclePower:Ua,CirclePowerIcon:Ua,CircleQuestionMark:ht,CircleQuestionMarkIcon:ht,CircleSlash:el,CircleSlash2:Wa,CircleSlash2Icon:Wa,CircleSlashIcon:el,CircleSlashed:Wa,CircleSlashedIcon:Wa,CircleSmall:tl,CircleSmallIcon:tl,CircleStar:al,CircleStarIcon:al,CircleStop:Ga,CircleStopIcon:Ga,CircleUser:Za,CircleUserIcon:Za,CircleUserRound:Ka,CircleUserRoundIcon:Ka,CircleX:qt,CircleXIcon:qt,CircuitBoard:ol,CircuitBoardIcon:ol,Citrus:cl,CitrusIcon:cl,Clapperboard:il,ClapperboardIcon:il,Clipboard:ml,ClipboardCheck:rl,ClipboardCheckIcon:rl,ClipboardClock:sl,ClipboardClockIcon:sl,ClipboardCopy:dl,ClipboardCopyIcon:dl,ClipboardEdit:Ya,ClipboardEditIcon:Ya,ClipboardIcon:ml,ClipboardList:ll,ClipboardListIcon:ll,ClipboardMinus:hl,ClipboardMinusIcon:hl,ClipboardPaste:ul,ClipboardPasteIcon:ul,ClipboardPen:Ya,ClipboardPenIcon:Ya,ClipboardPenLine:Xa,ClipboardPenLineIcon:Xa,ClipboardPlus:pl,ClipboardPlusIcon:pl,ClipboardSignature:Xa,ClipboardSignatureIcon:Xa,ClipboardType:yl,ClipboardTypeIcon:yl,ClipboardX:kl,ClipboardXIcon:kl,Clock:zl,Clock1:gl,Clock10:fl,Clock10Icon:fl,Clock11:vl,Clock11Icon:vl,Clock12:xl,Clock12Icon:xl,Clock1Icon:gl,Clock2:Ml,Clock2Icon:Ml,Clock3:_l,Clock3Icon:_l,Clock4:Ll,Clock4Icon:Ll,Clock5:Il,Clock5Icon:Il,Clock6:bl,Clock6Icon:bl,Clock7:wl,Clock7Icon:wl,Clock8:Cl,Clock8Icon:Cl,Clock9:Nl,Clock9Icon:Nl,ClockAlert:Sl,ClockAlertIcon:Sl,ClockArrowDown:jl,ClockArrowDownIcon:jl,ClockArrowUp:$l,ClockArrowUpIcon:$l,ClockFading:ql,ClockFadingIcon:ql,ClockIcon:zl,ClockPlus:Al,ClockPlusIcon:Al,ClosedCaption:Vl,ClosedCaptionIcon:Vl,Cloud:Yl,CloudAlert:Pl,CloudAlertIcon:Pl,CloudCheck:Tl,CloudCheckIcon:Tl,CloudCog:Hl,CloudCogIcon:Hl,CloudDownload:Ja,CloudDownloadIcon:Ja,CloudDrizzle:Dl,CloudDrizzleIcon:Dl,CloudFog:Bl,CloudFogIcon:Bl,CloudHail:Rl,CloudHailIcon:Rl,CloudIcon:Yl,CloudLightning:Fl,CloudLightningIcon:Fl,CloudMoon:Ol,CloudMoonIcon:Ol,CloudMoonRain:El,CloudMoonRainIcon:El,CloudOff:Ul,CloudOffIcon:Ul,CloudRain:Gl,CloudRainIcon:Gl,CloudRainWind:Wl,CloudRainWindIcon:Wl,CloudSnow:Kl,CloudSnowIcon:Kl,CloudSun:Xl,CloudSunIcon:Xl,CloudSunRain:Zl,CloudSunRainIcon:Zl,CloudUpload:Qa,CloudUploadIcon:Qa,Cloudy:Jl,CloudyIcon:Jl,Clover:Ql,CloverIcon:Ql,Club:eh,ClubIcon:eh,Code:th,Code2:en,Code2Icon:en,CodeIcon:th,CodeSquare:zo,CodeSquareIcon:zo,CodeXml:en,CodeXmlIcon:en,Codepen:ah,CodepenIcon:ah,Codesandbox:nh,CodesandboxIcon:nh,Coffee:oh,CoffeeIcon:oh,Cog:ch,CogIcon:ch,Coins:ih,CoinsIcon:ih,Columns:tn,Columns2:tn,Columns2Icon:tn,Columns3:an,Columns3Cog:ut,Columns3CogIcon:ut,Columns3Icon:an,Columns4:rh,Columns4Icon:rh,ColumnsIcon:tn,ColumnsSettings:ut,ColumnsSettingsIcon:ut,Combine:sh,CombineIcon:sh,Command:dh,CommandIcon:dh,Compass:lh,CompassIcon:lh,Component:hh,ComponentIcon:hh,Computer:uh,ComputerIcon:uh,ConciergeBell:ph,ConciergeBellIcon:ph,Cone:yh,ConeIcon:yh,Construction:kh,ConstructionIcon:kh,Contact:mh,Contact2:nn,Contact2Icon:nn,ContactIcon:mh,ContactRound:nn,ContactRoundIcon:nn,Container:fh,ContainerIcon:fh,Contrast:vh,ContrastIcon:vh,Cookie:gh,CookieIcon:gh,CookingPot:Mh,CookingPotIcon:Mh,Copy:wh,CopyCheck:xh,CopyCheckIcon:xh,CopyIcon:wh,CopyMinus:_h,CopyMinusIcon:_h,CopyPlus:Lh,CopyPlusIcon:Lh,CopySlash:Ih,CopySlashIcon:Ih,CopyX:bh,CopyXIcon:bh,Copyleft:Ch,CopyleftIcon:Ch,Copyright:Nh,CopyrightIcon:Nh,CornerDownLeft:Sh,CornerDownLeftIcon:Sh,CornerDownRight:jh,CornerDownRightIcon:jh,CornerLeftDown:$h,CornerLeftDownIcon:$h,CornerLeftUp:qh,CornerLeftUpIcon:qh,CornerRightDown:Ah,CornerRightDownIcon:Ah,CornerRightUp:zh,CornerRightUpIcon:zh,CornerUpLeft:Vh,CornerUpLeftIcon:Vh,CornerUpRight:Ph,CornerUpRightIcon:Ph,Cpu:Th,CpuIcon:Th,CreativeCommons:Hh,CreativeCommonsIcon:Hh,CreditCard:Dh,CreditCardIcon:Dh,Croissant:Bh,CroissantIcon:Bh,Crop:Rh,CropIcon:Rh,Cross:Fh,CrossIcon:Fh,Crosshair:Eh,CrosshairIcon:Eh,Crown:Oh,CrownIcon:Oh,Cuboid:Uh,CuboidIcon:Uh,CupSoda:Wh,CupSodaIcon:Wh,CurlyBraces:ia,CurlyBracesIcon:ia,Currency:Gh,CurrencyIcon:Gh,Cylinder:Kh,CylinderIcon:Kh,Dam:Zh,DamIcon:Zh,Database:Jh,DatabaseBackup:Xh,DatabaseBackupIcon:Xh,DatabaseIcon:Jh,DatabaseZap:Yh,DatabaseZapIcon:Yh,DecimalsArrowLeft:Qh,DecimalsArrowLeftIcon:Qh,DecimalsArrowRight:eu,DecimalsArrowRightIcon:eu,Delete:tu,DeleteIcon:tu,Dessert:au,DessertIcon:au,Diameter:nu,DiameterIcon:nu,Diamond:iu,DiamondIcon:iu,DiamondMinus:ou,DiamondMinusIcon:ou,DiamondPercent:on,DiamondPercentIcon:on,DiamondPlus:cu,DiamondPlusIcon:cu,Dice1:ru,Dice1Icon:ru,Dice2:su,Dice2Icon:su,Dice3:du,Dice3Icon:du,Dice4:lu,Dice4Icon:lu,Dice5:hu,Dice5Icon:hu,Dice6:uu,Dice6Icon:uu,Dices:pu,DicesIcon:pu,Diff:yu,DiffIcon:yu,Disc:gu,Disc2:ku,Disc2Icon:ku,Disc3:mu,Disc3Icon:mu,DiscAlbum:fu,DiscAlbumIcon:fu,DiscIcon:gu,Divide:vu,DivideCircle:Pa,DivideCircleIcon:Pa,DivideIcon:vu,DivideSquare:Ho,DivideSquareIcon:Ho,Dna:Mu,DnaIcon:Mu,DnaOff:xu,DnaOffIcon:xu,Dock:_u,DockIcon:_u,Dog:Lu,DogIcon:Lu,DollarSign:Iu,DollarSignIcon:Iu,Donut:bu,DonutIcon:bu,DoorClosed:Cu,DoorClosedIcon:Cu,DoorClosedLocked:wu,DoorClosedLockedIcon:wu,DoorOpen:Nu,DoorOpenIcon:Nu,Dot:Su,DotIcon:Su,DotSquare:Bo,DotSquareIcon:Bo,Download:$u,DownloadCloud:Ja,DownloadCloudIcon:Ja,DownloadIcon:$u,DraftingCompass:ju,DraftingCompassIcon:ju,Drama:qu,DramaIcon:qu,Dribbble:Au,DribbbleIcon:Au,Drill:zu,DrillIcon:zu,Drone:Vu,DroneIcon:Vu,Droplet:Tu,DropletIcon:Tu,DropletOff:Pu,DropletOffIcon:Pu,Droplets:Hu,DropletsIcon:Hu,Drum:Du,DrumIcon:Du,Drumstick:Bu,DrumstickIcon:Bu,Dumbbell:Ru,DumbbellIcon:Ru,Ear:Eu,EarIcon:Eu,EarOff:Fu,EarOffIcon:Fu,Earth:cn,EarthIcon:cn,EarthLock:Ou,EarthLockIcon:Ou,Eclipse:Uu,EclipseIcon:Uu,Edit:Ge,Edit2:xt,Edit2Icon:xt,Edit3:vt,Edit3Icon:vt,EditIcon:Ge,Egg:Ku,EggFried:Wu,EggFriedIcon:Wu,EggIcon:Ku,EggOff:Gu,EggOffIcon:Gu,Ellipsis:sn,EllipsisIcon:sn,EllipsisVertical:rn,EllipsisVerticalIcon:rn,Equal:Yu,EqualApproximately:Zu,EqualApproximatelyIcon:Zu,EqualIcon:Yu,EqualNot:Xu,EqualNotIcon:Xu,EqualSquare:Do,EqualSquareIcon:Do,Eraser:Ju,EraserIcon:Ju,EthernetPort:Qu,EthernetPortIcon:Qu,Euro:ep,EuroIcon:ep,Expand:ap,ExpandIcon:ap,ExternalLink:tp,ExternalLinkIcon:tp,Eye:j1,EyeClosed:np,EyeClosedIcon:np,EyeIcon:j1,EyeOff:S1,EyeOffIcon:S1,Facebook:op,FacebookIcon:op,Factory:cp,FactoryIcon:cp,Fan:ip,FanIcon:ip,FastForward:rp,FastForwardIcon:rp,Feather:sp,FeatherIcon:sp,Fence:dp,FenceIcon:dp,FerrisWheel:lp,FerrisWheelIcon:lp,Figma:hp,FigmaIcon:hp,File:cy,FileArchive:up,FileArchiveIcon:up,FileAudio:yp,FileAudio2:pp,FileAudio2Icon:pp,FileAudioIcon:yp,FileAxis3D:dn,FileAxis3DIcon:dn,FileAxis3d:dn,FileAxis3dIcon:dn,FileBadge:fp,FileBadge2:kp,FileBadge2Icon:kp,FileBadgeIcon:fp,FileBarChart:ln,FileBarChart2:hn,FileBarChart2Icon:hn,FileBarChartIcon:ln,FileBox:mp,FileBoxIcon:mp,FileChartColumn:hn,FileChartColumnIcon:hn,FileChartColumnIncreasing:ln,FileChartColumnIncreasingIcon:ln,FileChartLine:un,FileChartLineIcon:un,FileChartPie:pn,FileChartPieIcon:pn,FileCheck:vp,FileCheck2:gp,FileCheck2Icon:gp,FileCheckIcon:vp,FileClock:xp,FileClockIcon:xp,FileCode:Mp,FileCode2:_p,FileCode2Icon:_p,FileCodeIcon:Mp,FileCog:yn,FileCog2:yn,FileCog2Icon:yn,FileCogIcon:yn,FileDiff:Lp,FileDiffIcon:Lp,FileDigit:Ip,FileDigitIcon:Ip,FileDown:bp,FileDownIcon:bp,FileEdit:mn,FileEditIcon:mn,FileHeart:wp,FileHeartIcon:wp,FileIcon:cy,FileImage:Cp,FileImageIcon:Cp,FileInput:Np,FileInputIcon:Np,FileJson:jp,FileJson2:Sp,FileJson2Icon:Sp,FileJsonIcon:jp,FileKey:qp,FileKey2:$p,FileKey2Icon:$p,FileKeyIcon:qp,FileLineChart:un,FileLineChartIcon:un,FileLock:zp,FileLock2:Ap,FileLock2Icon:Ap,FileLockIcon:zp,FileMinus:Pp,FileMinus2:Vp,FileMinus2Icon:Vp,FileMinusIcon:Pp,FileMusic:Tp,FileMusicIcon:Tp,FileOutput:Hp,FileOutputIcon:Hp,FilePen:mn,FilePenIcon:mn,FilePenLine:kn,FilePenLineIcon:kn,FilePieChart:pn,FilePieChartIcon:pn,FilePlay:fn,FilePlayIcon:fn,FilePlus:Bp,FilePlus2:Dp,FilePlus2Icon:Dp,FilePlusIcon:Bp,FileQuestion:gn,FileQuestionIcon:gn,FileQuestionMark:gn,FileQuestionMarkIcon:gn,FileScan:Rp,FileScanIcon:Rp,FileSearch:Ep,FileSearch2:Fp,FileSearch2Icon:Fp,FileSearchIcon:Ep,FileSignature:kn,FileSignatureIcon:kn,FileSliders:Op,FileSlidersIcon:Op,FileSpreadsheet:Up,FileSpreadsheetIcon:Up,FileStack:Wp,FileStackIcon:Wp,FileSymlink:Gp,FileSymlinkIcon:Gp,FileTerminal:Kp,FileTerminalIcon:Kp,FileText:Zp,FileTextIcon:Zp,FileType:Yp,FileType2:Xp,FileType2Icon:Xp,FileTypeIcon:Yp,FileUp:Jp,FileUpIcon:Jp,FileUser:Qp,FileUserIcon:Qp,FileVideo:fn,FileVideo2:vn,FileVideo2Icon:vn,FileVideoCamera:vn,FileVideoCameraIcon:vn,FileVideoIcon:fn,FileVolume:ty,FileVolume2:ey,FileVolume2Icon:ey,FileVolumeIcon:ty,FileWarning:ay,FileWarningIcon:ay,FileX:oy,FileX2:ny,FileX2Icon:ny,FileXIcon:oy,Files:iy,FilesIcon:iy,Film:ry,FilmIcon:ry,Filter:At,FilterIcon:At,FilterX:_n,FilterXIcon:_n,Fingerprint:sy,FingerprintIcon:sy,FireExtinguisher:dy,FireExtinguisherIcon:dy,Fish:hy,FishIcon:hy,FishOff:ly,FishOffIcon:ly,FishSymbol:uy,FishSymbolIcon:uy,Flag:my,FlagIcon:my,FlagOff:py,FlagOffIcon:py,FlagTriangleLeft:yy,FlagTriangleLeftIcon:yy,FlagTriangleRight:ky,FlagTriangleRightIcon:ky,Flame:gy,FlameIcon:gy,FlameKindling:fy,FlameKindlingIcon:fy,Flashlight:xy,FlashlightIcon:xy,FlashlightOff:vy,FlashlightOffIcon:vy,FlaskConical:_y,FlaskConicalIcon:_y,FlaskConicalOff:My,FlaskConicalOffIcon:My,FlaskRound:Ly,FlaskRoundIcon:Ly,FlipHorizontal:by,FlipHorizontal2:Iy,FlipHorizontal2Icon:Iy,FlipHorizontalIcon:by,FlipVertical:Cy,FlipVertical2:wy,FlipVertical2Icon:wy,FlipVerticalIcon:Cy,Flower:Sy,Flower2:Ny,Flower2Icon:Ny,FlowerIcon:Sy,Focus:jy,FocusIcon:jy,FoldHorizontal:$y,FoldHorizontalIcon:$y,FoldVertical:qy,FoldVerticalIcon:qy,Folder:$1,FolderArchive:Ay,FolderArchiveIcon:Ay,FolderCheck:zy,FolderCheckIcon:zy,FolderClock:Vy,FolderClockIcon:Vy,FolderClosed:Py,FolderClosedIcon:Py,FolderCode:Ty,FolderCodeIcon:Ty,FolderCog:xn,FolderCog2:xn,FolderCog2Icon:xn,FolderCogIcon:xn,FolderDot:Hy,FolderDotIcon:Hy,FolderDown:Dy,FolderDownIcon:Dy,FolderEdit:Mn,FolderEditIcon:Mn,FolderGit:Ry,FolderGit2:By,FolderGit2Icon:By,FolderGitIcon:Ry,FolderHeart:Fy,FolderHeartIcon:Fy,FolderIcon:$1,FolderInput:Ey,FolderInputIcon:Ey,FolderKanban:Oy,FolderKanbanIcon:Oy,FolderKey:Uy,FolderKeyIcon:Uy,FolderLock:Wy,FolderLockIcon:Wy,FolderMinus:Gy,FolderMinusIcon:Gy,FolderOpen:Zy,FolderOpenDot:Ky,FolderOpenDotIcon:Ky,FolderOpenIcon:Zy,FolderOutput:Xy,FolderOutputIcon:Xy,FolderPen:Mn,FolderPenIcon:Mn,FolderPlus:zc,FolderPlusIcon:zc,FolderRoot:Yy,FolderRootIcon:Yy,FolderSearch:Qy,FolderSearch2:Jy,FolderSearch2Icon:Jy,FolderSearchIcon:Qy,FolderSymlink:e4,FolderSymlinkIcon:e4,FolderSync:t4,FolderSyncIcon:t4,FolderTree:a4,FolderTreeIcon:a4,FolderUp:n4,FolderUpIcon:n4,FolderX:o4,FolderXIcon:o4,Folders:c4,FoldersIcon:c4,Footprints:i4,FootprintsIcon:i4,ForkKnife:wc,ForkKnifeCrossed:bc,ForkKnifeCrossedIcon:bc,ForkKnifeIcon:wc,Forklift:r4,ForkliftIcon:r4,FormInput:no,FormInputIcon:no,Forward:s4,ForwardIcon:s4,Frame:d4,FrameIcon:d4,Framer:l4,FramerIcon:l4,Frown:h4,FrownIcon:h4,Fuel:u4,FuelIcon:u4,Fullscreen:p4,FullscreenIcon:p4,FunctionSquare:Ro,FunctionSquareIcon:Ro,Funnel:At,FunnelIcon:At,FunnelPlus:y4,FunnelPlusIcon:y4,FunnelX:_n,FunnelXIcon:_n,GalleryHorizontal:m4,GalleryHorizontalEnd:k4,GalleryHorizontalEndIcon:k4,GalleryHorizontalIcon:m4,GalleryThumbnails:f4,GalleryThumbnailsIcon:f4,GalleryVertical:v4,GalleryVerticalEnd:g4,GalleryVerticalEndIcon:g4,GalleryVerticalIcon:v4,Gamepad:M4,Gamepad2:x4,Gamepad2Icon:x4,GamepadIcon:M4,GanttChart:ga,GanttChartIcon:ga,GanttChartSquare:yt,GanttChartSquareIcon:yt,Gauge:_4,GaugeCircle:Ta,GaugeCircleIcon:Ta,GaugeIcon:_4,Gavel:L4,GavelIcon:L4,Gem:I4,GemIcon:I4,GeorgianLari:b4,GeorgianLariIcon:b4,Ghost:w4,GhostIcon:w4,Gift:C4,GiftIcon:C4,GitBranch:S4,GitBranchIcon:S4,GitBranchPlus:N4,GitBranchPlusIcon:N4,GitCommit:Ln,GitCommitHorizontal:Ln,GitCommitHorizontalIcon:Ln,GitCommitIcon:Ln,GitCommitVertical:j4,GitCommitVerticalIcon:j4,GitCompare:q4,GitCompareArrows:$4,GitCompareArrowsIcon:$4,GitCompareIcon:q4,GitFork:A4,GitForkIcon:A4,GitGraph:z4,GitGraphIcon:z4,GitMerge:V4,GitMergeIcon:V4,GitPullRequest:R4,GitPullRequestArrow:P4,GitPullRequestArrowIcon:P4,GitPullRequestClosed:T4,GitPullRequestClosedIcon:T4,GitPullRequestCreate:D4,GitPullRequestCreateArrow:H4,GitPullRequestCreateArrowIcon:H4,GitPullRequestCreateIcon:D4,GitPullRequestDraft:B4,GitPullRequestDraftIcon:B4,GitPullRequestIcon:R4,Github:F4,GithubIcon:F4,Gitlab:E4,GitlabIcon:E4,GlassWater:O4,GlassWaterIcon:O4,Glasses:U4,GlassesIcon:U4,Globe:G4,Globe2:cn,Globe2Icon:cn,GlobeIcon:G4,GlobeLock:W4,GlobeLockIcon:W4,Goal:K4,GoalIcon:K4,Gpu:Z4,GpuIcon:Z4,Grab:Nn,GrabIcon:Nn,GraduationCap:X4,GraduationCapIcon:X4,Grape:Y4,GrapeIcon:Y4,Grid:pt,Grid2X2:Cn,Grid2X2Check:In,Grid2X2CheckIcon:In,Grid2X2Icon:Cn,Grid2X2Plus:bn,Grid2X2PlusIcon:bn,Grid2X2X:wn,Grid2X2XIcon:wn,Grid2x2:Cn,Grid2x2Check:In,Grid2x2CheckIcon:In,Grid2x2Icon:Cn,Grid2x2Plus:bn,Grid2x2PlusIcon:bn,Grid2x2X:wn,Grid2x2XIcon:wn,Grid3X3:pt,Grid3X3Icon:pt,Grid3x2:J4,Grid3x2Icon:J4,Grid3x3:pt,Grid3x3Icon:pt,GridIcon:pt,Grip:e5,GripHorizontal:Q4,GripHorizontalIcon:Q4,GripIcon:e5,GripVertical:q1,GripVerticalIcon:q1,Group:t5,GroupIcon:t5,Guitar:a5,GuitarIcon:a5,Ham:n5,HamIcon:n5,Hamburger:o5,HamburgerIcon:o5,Hammer:c5,HammerIcon:c5,Hand:h5,HandCoins:i5,HandCoinsIcon:i5,HandFist:r5,HandFistIcon:r5,HandGrab:Nn,HandGrabIcon:Nn,HandHeart:s5,HandHeartIcon:s5,HandHelping:Sn,HandHelpingIcon:Sn,HandIcon:h5,HandMetal:d5,HandMetalIcon:d5,HandPlatter:l5,HandPlatterIcon:l5,Handbag:u5,HandbagIcon:u5,Handshake:p5,HandshakeIcon:p5,HardDrive:m5,HardDriveDownload:y5,HardDriveDownloadIcon:y5,HardDriveIcon:m5,HardDriveUpload:k5,HardDriveUploadIcon:k5,HardHat:f5,HardHatIcon:f5,Hash:g5,HashIcon:g5,HatGlasses:v5,HatGlassesIcon:v5,Haze:x5,HazeIcon:x5,HdmiPort:M5,HdmiPortIcon:M5,Heading:N5,Heading1:_5,Heading1Icon:_5,Heading2:L5,Heading2Icon:L5,Heading3:I5,Heading3Icon:I5,Heading4:b5,Heading4Icon:b5,Heading5:w5,Heading5Icon:w5,Heading6:C5,Heading6Icon:C5,HeadingIcon:N5,HeadphoneOff:S5,HeadphoneOffIcon:S5,Headphones:j5,HeadphonesIcon:j5,Headset:$5,HeadsetIcon:$5,Heart:H5,HeartCrack:q5,HeartCrackIcon:q5,HeartHandshake:A5,HeartHandshakeIcon:A5,HeartIcon:H5,HeartMinus:z5,HeartMinusIcon:z5,HeartOff:V5,HeartOffIcon:V5,HeartPlus:P5,HeartPlusIcon:P5,HeartPulse:T5,HeartPulseIcon:T5,Heater:D5,HeaterIcon:D5,HelpCircle:ht,HelpCircleIcon:ht,HelpingHand:Sn,HelpingHandIcon:Sn,Hexagon:B5,HexagonIcon:B5,Highlighter:R5,HighlighterIcon:R5,History:F5,HistoryIcon:F5,Home:zt,HomeIcon:zt,Hop:O5,HopIcon:O5,HopOff:E5,HopOffIcon:E5,Hospital:A1,HospitalIcon:A1,Hotel:U5,HotelIcon:U5,Hourglass:W5,HourglassIcon:W5,House:zt,HouseIcon:zt,HousePlug:G5,HousePlugIcon:G5,HousePlus:Z5,HousePlusIcon:Z5,HouseWifi:K5,HouseWifiIcon:K5,IceCream:$n,IceCream2:jn,IceCream2Icon:jn,IceCreamBowl:jn,IceCreamBowlIcon:jn,IceCreamCone:$n,IceCreamConeIcon:$n,IceCreamIcon:$n,Icon:a.Icon,IdCard:Y5,IdCardIcon:Y5,IdCardLanyard:X5,IdCardLanyardIcon:X5,Image:ck,ImageDown:J5,ImageDownIcon:J5,ImageIcon:ck,ImageMinus:Q5,ImageMinusIcon:Q5,ImageOff:ek,ImageOffIcon:ek,ImagePlay:tk,ImagePlayIcon:tk,ImagePlus:ak,ImagePlusIcon:ak,ImageUp:nk,ImageUpIcon:nk,ImageUpscale:ok,ImageUpscaleIcon:ok,Images:ik,ImagesIcon:ik,Import:rk,ImportIcon:rk,Inbox:sk,InboxIcon:sk,Indent:An,IndentDecrease:qn,IndentDecreaseIcon:qn,IndentIcon:An,IndentIncrease:An,IndentIncreaseIcon:An,IndianRupee:dk,IndianRupeeIcon:dk,Infinity:lk,InfinityIcon:lk,Info:hk,InfoIcon:hk,Inspect:Ko,InspectIcon:Ko,InspectionPanel:uk,InspectionPanelIcon:uk,Instagram:pk,InstagramIcon:pk,Italic:yk,ItalicIcon:yk,IterationCcw:kk,IterationCcwIcon:kk,IterationCw:mk,IterationCwIcon:mk,JapaneseYen:gk,JapaneseYenIcon:gk,Joystick:fk,JoystickIcon:fk,Kanban:vk,KanbanIcon:vk,KanbanSquare:Fo,KanbanSquareDashed:Vo,KanbanSquareDashedIcon:Vo,KanbanSquareIcon:Fo,Kayak:xk,KayakIcon:xk,Key:Lk,KeyIcon:Lk,KeyRound:Mk,KeyRoundIcon:Mk,KeySquare:_k,KeySquareIcon:_k,Keyboard:wk,KeyboardIcon:wk,KeyboardMusic:Ik,KeyboardMusicIcon:Ik,KeyboardOff:bk,KeyboardOffIcon:bk,Lamp:qk,LampCeiling:Ck,LampCeilingIcon:Ck,LampDesk:Sk,LampDeskIcon:Sk,LampFloor:Nk,LampFloorIcon:Nk,LampIcon:qk,LampWallDown:jk,LampWallDownIcon:jk,LampWallUp:$k,LampWallUpIcon:$k,LandPlot:Ak,LandPlotIcon:Ak,Landmark:zk,LandmarkIcon:zk,Languages:Vk,LanguagesIcon:Vk,Laptop:Tk,Laptop2:zn,Laptop2Icon:zn,LaptopIcon:Tk,LaptopMinimal:zn,LaptopMinimalCheck:Pk,LaptopMinimalCheckIcon:Pk,LaptopMinimalIcon:zn,Lasso:Dk,LassoIcon:Dk,LassoSelect:Hk,LassoSelectIcon:Hk,Laugh:Bk,LaughIcon:Bk,Layers:Vn,Layers2:Rk,Layers2Icon:Rk,Layers3:Vn,Layers3Icon:Vn,LayersIcon:Vn,Layout:to,LayoutDashboard:Fk,LayoutDashboardIcon:Fk,LayoutGrid:Ek,LayoutGridIcon:Ek,LayoutIcon:to,LayoutList:Ok,LayoutListIcon:Ok,LayoutPanelLeft:Uk,LayoutPanelLeftIcon:Uk,LayoutPanelTop:Wk,LayoutPanelTopIcon:Wk,LayoutTemplate:Gk,LayoutTemplateIcon:Gk,Leaf:Kk,LeafIcon:Kk,LeafyGreen:Xk,LeafyGreenIcon:Xk,Lectern:Zk,LecternIcon:Zk,LetterText:Yk,LetterTextIcon:Yk,Library:Qk,LibraryBig:Jk,LibraryBigIcon:Jk,LibraryIcon:Qk,LibrarySquare:Eo,LibrarySquareIcon:Eo,LifeBuoy:e3,LifeBuoyIcon:e3,Ligature:t3,LigatureIcon:t3,Lightbulb:n3,LightbulbIcon:n3,LightbulbOff:a3,LightbulbOffIcon:a3,LineChart:ka,LineChartIcon:ka,LineSquiggle:o3,LineSquiggleIcon:o3,Link:r3,Link2:c3,Link2Icon:c3,Link2Off:i3,Link2OffIcon:i3,LinkIcon:r3,Linkedin:s3,LinkedinIcon:s3,List:b3,ListCheck:d3,ListCheckIcon:d3,ListChecks:l3,ListChecksIcon:l3,ListCollapse:h3,ListCollapseIcon:h3,ListEnd:u3,ListEndIcon:u3,ListFilter:k3,ListFilterIcon:k3,ListFilterPlus:p3,ListFilterPlusIcon:p3,ListIcon:b3,ListMinus:y3,ListMinusIcon:y3,ListMusic:m3,ListMusicIcon:m3,ListOrdered:f3,ListOrderedIcon:f3,ListPlus:g3,ListPlusIcon:g3,ListRestart:v3,ListRestartIcon:v3,ListStart:x3,ListStartIcon:x3,ListTodo:M3,ListTodoIcon:M3,ListTree:_3,ListTreeIcon:_3,ListVideo:L3,ListVideoIcon:L3,ListX:I3,ListXIcon:I3,Loader:C3,Loader2:Pn,Loader2Icon:Pn,LoaderCircle:Pn,LoaderCircleIcon:Pn,LoaderIcon:C3,LoaderPinwheel:w3,LoaderPinwheelIcon:w3,Locate:j3,LocateFixed:N3,LocateFixedIcon:N3,LocateIcon:j3,LocateOff:S3,LocateOffIcon:S3,LocationEdit:Bn,LocationEditIcon:Bn,Lock:q3,LockIcon:q3,LockKeyhole:$3,LockKeyholeIcon:$3,LockKeyholeOpen:Tn,LockKeyholeOpenIcon:Tn,LockOpen:Hn,LockOpenIcon:Hn,LogIn:A3,LogInIcon:A3,LogOut:z3,LogOutIcon:z3,Logs:V3,LogsIcon:V3,Lollipop:P3,LollipopIcon:P3,LucideAArrowDown:yi,LucideAArrowUp:ki,LucideALargeSmall:mi,LucideAccessibility:L1,LucideActivity:I1,LucideActivitySquare:Vt,LucideAirVent:fi,LucideAirplay:gi,LucideAlarmCheck:Ut,LucideAlarmClock:xi,LucideAlarmClockCheck:Ut,LucideAlarmClockMinus:Wt,LucideAlarmClockOff:vi,LucideAlarmClockPlus:Gt,LucideAlarmMinus:Wt,LucideAlarmPlus:Gt,LucideAlarmSmoke:Mi,LucideAlbum:_i,LucideAlertCircle:Ma,LucideAlertOctagon:On,LucideAlertTriangle:kc,LucideAlignCenter:Ni,LucideAlignCenterHorizontal:Li,LucideAlignCenterVertical:Ii,LucideAlignEndHorizontal:bi,LucideAlignEndVertical:wi,LucideAlignHorizontalDistributeCenter:Ci,LucideAlignHorizontalDistributeEnd:Si,LucideAlignHorizontalDistributeStart:ji,LucideAlignHorizontalJustifyCenter:$i,LucideAlignHorizontalJustifyEnd:qi,LucideAlignHorizontalJustifyStart:Ai,LucideAlignHorizontalSpaceAround:zi,LucideAlignHorizontalSpaceBetween:Pi,LucideAlignJustify:Vi,LucideAlignLeft:Ti,LucideAlignRight:Hi,LucideAlignStartHorizontal:Di,LucideAlignStartVertical:Bi,LucideAlignVerticalDistributeCenter:Fi,LucideAlignVerticalDistributeEnd:Ri,LucideAlignVerticalDistributeStart:Oi,LucideAlignVerticalJustifyCenter:Ei,LucideAlignVerticalJustifyEnd:Ui,LucideAlignVerticalJustifyStart:Wi,LucideAlignVerticalSpaceAround:Ki,LucideAlignVerticalSpaceBetween:Gi,LucideAmbulance:Zi,LucideAmpersand:Xi,LucideAmpersands:Yi,LucideAmphora:Ji,LucideAnchor:Qi,LucideAngry:er,LucideAnnoyed:tr,LucideAntenna:ar,LucideAnvil:nr,LucideAperture:or,LucideAppWindow:ir,LucideAppWindowMac:cr,LucideApple:rr,LucideArchive:lr,LucideArchiveRestore:sr,LucideArchiveX:dr,LucideAreaChart:sa,LucideArmchair:hr,LucideArrowBigDown:pr,LucideArrowBigDownDash:ur,LucideArrowBigLeft:kr,LucideArrowBigLeftDash:yr,LucideArrowBigRight:fr,LucideArrowBigRightDash:mr,LucideArrowBigUp:vr,LucideArrowBigUpDash:gr,LucideArrowDown:e1,LucideArrowDown01:xr,LucideArrowDown10:Mr,LucideArrowDownAZ:Kt,LucideArrowDownAz:Kt,LucideArrowDownCircle:_a,LucideArrowDownFromLine:_r,LucideArrowDownLeft:Lr,LucideArrowDownLeftFromCircle:Ia,LucideArrowDownLeftFromSquare:go,LucideArrowDownLeftSquare:yo,LucideArrowDownNarrowWide:Ir,LucideArrowDownRight:br,LucideArrowDownRightFromCircle:ba,LucideArrowDownRightFromSquare:vo,LucideArrowDownRightSquare:ko,LucideArrowDownSquare:mo,LucideArrowDownToDot:wr,LucideArrowDownToLine:Cr,LucideArrowDownUp:Nr,LucideArrowDownWideNarrow:Zt,LucideArrowDownZA:Xt,LucideArrowDownZa:Xt,LucideArrowLeft:b1,LucideArrowLeftCircle:La,LucideArrowLeftFromLine:Sr,LucideArrowLeftRight:jr,LucideArrowLeftSquare:fo,LucideArrowLeftToLine:$r,LucideArrowRight:Vr,LucideArrowRightCircle:Na,LucideArrowRightFromLine:qr,LucideArrowRightLeft:Ar,LucideArrowRightSquare:_o,LucideArrowRightToLine:zr,LucideArrowUp:t1,LucideArrowUp01:Pr,LucideArrowUp10:Tr,LucideArrowUpAZ:Yt,LucideArrowUpAz:Yt,LucideArrowUpCircle:Sa,LucideArrowUpDown:Hr,LucideArrowUpFromDot:Dr,LucideArrowUpFromLine:Br,LucideArrowUpLeft:Rr,LucideArrowUpLeftFromCircle:wa,LucideArrowUpLeftFromSquare:xo,LucideArrowUpLeftSquare:Lo,LucideArrowUpNarrowWide:Jt,LucideArrowUpRight:Fr,LucideArrowUpRightFromCircle:Ca,LucideArrowUpRightFromSquare:Mo,LucideArrowUpRightSquare:Io,LucideArrowUpSquare:bo,LucideArrowUpToLine:Er,LucideArrowUpWideNarrow:Or,LucideArrowUpZA:Qt,LucideArrowUpZa:Qt,LucideArrowsUpFromLine:Ur,LucideAsterisk:Wr,LucideAsteriskSquare:wo,LucideAtSign:Gr,LucideAtom:Kr,LucideAudioLines:Zr,LucideAudioWaveform:Xr,LucideAward:Yr,LucideAxe:Jr,LucideAxis3D:ea,LucideAxis3d:ea,LucideBaby:Qr,LucideBackpack:es,LucideBadge:ms,LucideBadgeAlert:ts,LucideBadgeCent:as,LucideBadgeCheck:ta,LucideBadgeDollarSign:ns,LucideBadgeEuro:os,LucideBadgeHelp:aa,LucideBadgeIndianRupee:cs,LucideBadgeInfo:is,LucideBadgeJapaneseYen:ss,LucideBadgeMinus:rs,LucideBadgePercent:ds,LucideBadgePlus:ls,LucideBadgePoundSterling:hs,LucideBadgeQuestionMark:aa,LucideBadgeRussianRuble:us,LucideBadgeSwissFranc:ps,LucideBadgeTurkishLira:ys,LucideBadgeX:ks,LucideBaggageClaim:fs,LucideBan:gs,LucideBanana:vs,LucideBandage:xs,LucideBanknote:Is,LucideBanknoteArrowDown:Ms,LucideBanknoteArrowUp:_s,LucideBanknoteX:Ls,LucideBarChart:ma,LucideBarChart2:fa,LucideBarChart3:ya,LucideBarChart4:pa,LucideBarChartBig:ua,LucideBarChartHorizontal:la,LucideBarChartHorizontalBig:da,LucideBarcode:bs,LucideBarrel:ws,LucideBaseline:Cs,LucideBath:Ns,LucideBattery:Vs,LucideBatteryCharging:Ss,LucideBatteryFull:js,LucideBatteryLow:$s,LucideBatteryMedium:qs,LucideBatteryPlus:As,LucideBatteryWarning:zs,LucideBeaker:Ps,LucideBean:Hs,LucideBeanOff:Ts,LucideBed:Rs,LucideBedDouble:Ds,LucideBedSingle:Bs,LucideBeef:Fs,LucideBeer:Os,LucideBeerOff:Es,LucideBell:Xs,LucideBellDot:Us,LucideBellElectric:Ws,LucideBellMinus:Gs,LucideBellOff:Ks,LucideBellPlus:Zs,LucideBellRing:Ys,LucideBetweenHorizonalEnd:na,LucideBetweenHorizonalStart:oa,LucideBetweenHorizontalEnd:na,LucideBetweenHorizontalStart:oa,LucideBetweenVerticalEnd:Qs,LucideBetweenVerticalStart:Js,LucideBicepsFlexed:e2,LucideBike:a2,LucideBinary:t2,LucideBinoculars:n2,LucideBiohazard:o2,LucideBird:c2,LucideBitcoin:i2,LucideBlend:r2,LucideBlinds:s2,LucideBlocks:d2,LucideBluetooth:p2,LucideBluetoothConnected:l2,LucideBluetoothOff:h2,LucideBluetoothSearching:u2,LucideBold:y2,LucideBolt:k2,LucideBomb:m2,LucideBone:f2,LucideBook:R2,LucideBookA:g2,LucideBookAlert:v2,LucideBookAudio:x2,LucideBookCheck:M2,LucideBookCopy:_2,LucideBookDashed:ca,LucideBookDown:L2,LucideBookHeadphones:I2,LucideBookHeart:b2,LucideBookImage:w2,LucideBookKey:C2,LucideBookLock:N2,LucideBookMarked:j2,LucideBookMinus:S2,LucideBookOpen:A2,LucideBookOpenCheck:$2,LucideBookOpenText:q2,LucideBookPlus:z2,LucideBookTemplate:ca,LucideBookText:V2,LucideBookType:P2,LucideBookUp:H2,LucideBookUp2:T2,LucideBookUser:D2,LucideBookX:B2,LucideBookmark:W2,LucideBookmarkCheck:F2,LucideBookmarkMinus:E2,LucideBookmarkPlus:O2,LucideBookmarkX:U2,LucideBoomBox:G2,LucideBot:X2,LucideBotMessageSquare:K2,LucideBotOff:Z2,LucideBottleWine:Y2,LucideBowArrow:J2,LucideBox:Q2,LucideBoxSelect:To,LucideBoxes:ed,LucideBraces:ia,LucideBrackets:td,LucideBrain:od,LucideBrainCircuit:ad,LucideBrainCog:nd,LucideBrickWall:rd,LucideBrickWallFire:cd,LucideBrickWallShield:id,LucideBriefcase:hd,LucideBriefcaseBusiness:sd,LucideBriefcaseConveyorBelt:dd,LucideBriefcaseMedical:ld,LucideBringToFront:ud,LucideBrush:yd,LucideBrushCleaning:pd,LucideBubbles:kd,LucideBug:vd,LucideBugOff:md,LucideBugPlay:fd,LucideBuilding:xd,LucideBuilding2:gd,LucideBus:_d,LucideBusFront:Md,LucideCable:Id,LucideCableCar:Ld,LucideCake:wd,LucideCakeSlice:bd,LucideCalculator:Cd,LucideCalendar:w1,LucideCalendar1:Nd,LucideCalendarArrowDown:Sd,LucideCalendarArrowUp:jd,LucideCalendarCheck:qd,LucideCalendarCheck2:$d,LucideCalendarClock:Ad,LucideCalendarCog:zd,LucideCalendarDays:Vd,LucideCalendarFold:Pd,LucideCalendarHeart:Td,LucideCalendarMinus:Dd,LucideCalendarMinus2:Hd,LucideCalendarOff:Bd,LucideCalendarPlus:Fd,LucideCalendarPlus2:Rd,LucideCalendarRange:Ed,LucideCalendarSearch:Od,LucideCalendarSync:Ud,LucideCalendarX:Gd,LucideCalendarX2:Wd,LucideCamera:Zd,LucideCameraOff:Kd,LucideCandlestickChart:ha,LucideCandy:Jd,LucideCandyCane:Xd,LucideCandyOff:Yd,LucideCannabis:Qd,LucideCaptions:ra,LucideCaptionsOff:e0,LucideCar:n0,LucideCarFront:t0,LucideCarTaxiFront:a0,LucideCaravan:o0,LucideCardSim:c0,LucideCarrot:i0,LucideCaseLower:r0,LucideCaseSensitive:s0,LucideCaseUpper:d0,LucideCassetteTape:l0,LucideCast:h0,LucideCastle:p0,LucideCat:u0,LucideCctv:y0,LucideChartArea:sa,LucideChartBar:la,LucideChartBarBig:da,LucideChartBarDecreasing:k0,LucideChartBarIncreasing:m0,LucideChartBarStacked:f0,LucideChartCandlestick:ha,LucideChartColumn:ya,LucideChartColumnBig:ua,LucideChartColumnDecreasing:g0,LucideChartColumnIncreasing:pa,LucideChartColumnStacked:v0,LucideChartGantt:x0,LucideChartLine:ka,LucideChartNetwork:M0,LucideChartNoAxesColumn:fa,LucideChartNoAxesColumnDecreasing:_0,LucideChartNoAxesColumnIncreasing:ma,LucideChartNoAxesCombined:L0,LucideChartNoAxesGantt:ga,LucideChartPie:va,LucideChartScatter:xa,LucideChartSpline:I0,LucideCheck:C1,LucideCheckCheck:b0,LucideCheckCircle:ja,LucideCheckCircle2:$a,LucideCheckLine:w0,LucideCheckSquare:No,LucideCheckSquare2:So,LucideChefHat:C0,LucideCherry:N0,LucideChevronDown:Ht,LucideChevronDownCircle:qa,LucideChevronDownSquare:jo,LucideChevronFirst:S0,LucideChevronLast:j0,LucideChevronLeft:$0,LucideChevronLeftCircle:Aa,LucideChevronLeftSquare:$o,LucideChevronRight:N1,LucideChevronRightCircle:za,LucideChevronRightSquare:qo,LucideChevronUp:Ac,LucideChevronUpCircle:Va,LucideChevronUpSquare:Ao,LucideChevronsDown:A0,LucideChevronsDownUp:q0,LucideChevronsLeft:V0,LucideChevronsLeftRight:z0,LucideChevronsLeftRightEllipsis:P0,LucideChevronsRight:H0,LucideChevronsRightLeft:T0,LucideChevronsUp:D0,LucideChevronsUpDown:a1,LucideChrome:B0,LucideChurch:R0,LucideCigarette:E0,LucideCigaretteOff:F0,LucideCircle:nl,LucideCircleAlert:Ma,LucideCircleArrowDown:_a,LucideCircleArrowLeft:La,LucideCircleArrowOutDownLeft:Ia,LucideCircleArrowOutDownRight:ba,LucideCircleArrowOutUpLeft:wa,LucideCircleArrowOutUpRight:Ca,LucideCircleArrowRight:Na,LucideCircleArrowUp:Sa,LucideCircleCheck:$a,LucideCircleCheckBig:ja,LucideCircleChevronDown:qa,LucideCircleChevronLeft:Aa,LucideCircleChevronRight:za,LucideCircleChevronUp:Va,LucideCircleDashed:O0,LucideCircleDivide:Pa,LucideCircleDollarSign:W0,LucideCircleDot:G0,LucideCircleDotDashed:U0,LucideCircleEllipsis:K0,LucideCircleEqual:Z0,LucideCircleFadingArrowUp:Y0,LucideCircleFadingPlus:X0,LucideCircleGauge:Ta,LucideCircleHelp:ht,LucideCircleMinus:Ha,LucideCircleOff:J0,LucideCircleParking:Ra,LucideCircleParkingOff:Da,LucideCirclePause:Ba,LucideCirclePercent:Fa,LucideCirclePlay:Ea,LucideCirclePlus:Oa,LucideCirclePoundSterling:Q0,LucideCirclePower:Ua,LucideCircleQuestionMark:ht,LucideCircleSlash:el,LucideCircleSlash2:Wa,LucideCircleSlashed:Wa,LucideCircleSmall:tl,LucideCircleStar:al,LucideCircleStop:Ga,LucideCircleUser:Za,LucideCircleUserRound:Ka,LucideCircleX:qt,LucideCircuitBoard:ol,LucideCitrus:cl,LucideClapperboard:il,LucideClipboard:ml,LucideClipboardCheck:rl,LucideClipboardClock:sl,LucideClipboardCopy:dl,LucideClipboardEdit:Ya,LucideClipboardList:ll,LucideClipboardMinus:hl,LucideClipboardPaste:ul,LucideClipboardPen:Ya,LucideClipboardPenLine:Xa,LucideClipboardPlus:pl,LucideClipboardSignature:Xa,LucideClipboardType:yl,LucideClipboardX:kl,LucideClock:zl,LucideClock1:gl,LucideClock10:fl,LucideClock11:vl,LucideClock12:xl,LucideClock2:Ml,LucideClock3:_l,LucideClock4:Ll,LucideClock5:Il,LucideClock6:bl,LucideClock7:wl,LucideClock8:Cl,LucideClock9:Nl,LucideClockAlert:Sl,LucideClockArrowDown:jl,LucideClockArrowUp:$l,LucideClockFading:ql,LucideClockPlus:Al,LucideClosedCaption:Vl,LucideCloud:Yl,LucideCloudAlert:Pl,LucideCloudCheck:Tl,LucideCloudCog:Hl,LucideCloudDownload:Ja,LucideCloudDrizzle:Dl,LucideCloudFog:Bl,LucideCloudHail:Rl,LucideCloudLightning:Fl,LucideCloudMoon:Ol,LucideCloudMoonRain:El,LucideCloudOff:Ul,LucideCloudRain:Gl,LucideCloudRainWind:Wl,LucideCloudSnow:Kl,LucideCloudSun:Xl,LucideCloudSunRain:Zl,LucideCloudUpload:Qa,LucideCloudy:Jl,LucideClover:Ql,LucideClub:eh,LucideCode:th,LucideCode2:en,LucideCodeSquare:zo,LucideCodeXml:en,LucideCodepen:ah,LucideCodesandbox:nh,LucideCoffee:oh,LucideCog:ch,LucideCoins:ih,LucideColumns:tn,LucideColumns2:tn,LucideColumns3:an,LucideColumns3Cog:ut,LucideColumns4:rh,LucideColumnsSettings:ut,LucideCombine:sh,LucideCommand:dh,LucideCompass:lh,LucideComponent:hh,LucideComputer:uh,LucideConciergeBell:ph,LucideCone:yh,LucideConstruction:kh,LucideContact:mh,LucideContact2:nn,LucideContactRound:nn,LucideContainer:fh,LucideContrast:vh,LucideCookie:gh,LucideCookingPot:Mh,LucideCopy:wh,LucideCopyCheck:xh,LucideCopyMinus:_h,LucideCopyPlus:Lh,LucideCopySlash:Ih,LucideCopyX:bh,LucideCopyleft:Ch,LucideCopyright:Nh,LucideCornerDownLeft:Sh,LucideCornerDownRight:jh,LucideCornerLeftDown:$h,LucideCornerLeftUp:qh,LucideCornerRightDown:Ah,LucideCornerRightUp:zh,LucideCornerUpLeft:Vh,LucideCornerUpRight:Ph,LucideCpu:Th,LucideCreativeCommons:Hh,LucideCreditCard:Dh,LucideCroissant:Bh,LucideCrop:Rh,LucideCross:Fh,LucideCrosshair:Eh,LucideCrown:Oh,LucideCuboid:Uh,LucideCupSoda:Wh,LucideCurlyBraces:ia,LucideCurrency:Gh,LucideCylinder:Kh,LucideDam:Zh,LucideDatabase:Jh,LucideDatabaseBackup:Xh,LucideDatabaseZap:Yh,LucideDecimalsArrowLeft:Qh,LucideDecimalsArrowRight:eu,LucideDelete:tu,LucideDessert:au,LucideDiameter:nu,LucideDiamond:iu,LucideDiamondMinus:ou,LucideDiamondPercent:on,LucideDiamondPlus:cu,LucideDice1:ru,LucideDice2:su,LucideDice3:du,LucideDice4:lu,LucideDice5:hu,LucideDice6:uu,LucideDices:pu,LucideDiff:yu,LucideDisc:gu,LucideDisc2:ku,LucideDisc3:mu,LucideDiscAlbum:fu,LucideDivide:vu,LucideDivideCircle:Pa,LucideDivideSquare:Ho,LucideDna:Mu,LucideDnaOff:xu,LucideDock:_u,LucideDog:Lu,LucideDollarSign:Iu,LucideDonut:bu,LucideDoorClosed:Cu,LucideDoorClosedLocked:wu,LucideDoorOpen:Nu,LucideDot:Su,LucideDotSquare:Bo,LucideDownload:$u,LucideDownloadCloud:Ja,LucideDraftingCompass:ju,LucideDrama:qu,LucideDribbble:Au,LucideDrill:zu,LucideDrone:Vu,LucideDroplet:Tu,LucideDropletOff:Pu,LucideDroplets:Hu,LucideDrum:Du,LucideDrumstick:Bu,LucideDumbbell:Ru,LucideEar:Eu,LucideEarOff:Fu,LucideEarth:cn,LucideEarthLock:Ou,LucideEclipse:Uu,LucideEdit:Ge,LucideEdit2:xt,LucideEdit3:vt,LucideEgg:Ku,LucideEggFried:Wu,LucideEggOff:Gu,LucideEllipsis:sn,LucideEllipsisVertical:rn,LucideEqual:Yu,LucideEqualApproximately:Zu,LucideEqualNot:Xu,LucideEqualSquare:Do,LucideEraser:Ju,LucideEthernetPort:Qu,LucideEuro:ep,LucideExpand:ap,LucideExternalLink:tp,LucideEye:j1,LucideEyeClosed:np,LucideEyeOff:S1,LucideFacebook:op,LucideFactory:cp,LucideFan:ip,LucideFastForward:rp,LucideFeather:sp,LucideFence:dp,LucideFerrisWheel:lp,LucideFigma:hp,LucideFile:cy,LucideFileArchive:up,LucideFileAudio:yp,LucideFileAudio2:pp,LucideFileAxis3D:dn,LucideFileAxis3d:dn,LucideFileBadge:fp,LucideFileBadge2:kp,LucideFileBarChart:ln,LucideFileBarChart2:hn,LucideFileBox:mp,LucideFileChartColumn:hn,LucideFileChartColumnIncreasing:ln,LucideFileChartLine:un,LucideFileChartPie:pn,LucideFileCheck:vp,LucideFileCheck2:gp,LucideFileClock:xp,LucideFileCode:Mp,LucideFileCode2:_p,LucideFileCog:yn,LucideFileCog2:yn,LucideFileDiff:Lp,LucideFileDigit:Ip,LucideFileDown:bp,LucideFileEdit:mn,LucideFileHeart:wp,LucideFileImage:Cp,LucideFileInput:Np,LucideFileJson:jp,LucideFileJson2:Sp,LucideFileKey:qp,LucideFileKey2:$p,LucideFileLineChart:un,LucideFileLock:zp,LucideFileLock2:Ap,LucideFileMinus:Pp,LucideFileMinus2:Vp,LucideFileMusic:Tp,LucideFileOutput:Hp,LucideFilePen:mn,LucideFilePenLine:kn,LucideFilePieChart:pn,LucideFilePlay:fn,LucideFilePlus:Bp,LucideFilePlus2:Dp,LucideFileQuestion:gn,LucideFileQuestionMark:gn,LucideFileScan:Rp,LucideFileSearch:Ep,LucideFileSearch2:Fp,LucideFileSignature:kn,LucideFileSliders:Op,LucideFileSpreadsheet:Up,LucideFileStack:Wp,LucideFileSymlink:Gp,LucideFileTerminal:Kp,LucideFileText:Zp,LucideFileType:Yp,LucideFileType2:Xp,LucideFileUp:Jp,LucideFileUser:Qp,LucideFileVideo:fn,LucideFileVideo2:vn,LucideFileVideoCamera:vn,LucideFileVolume:ty,LucideFileVolume2:ey,LucideFileWarning:ay,LucideFileX:oy,LucideFileX2:ny,LucideFiles:iy,LucideFilm:ry,LucideFilter:At,LucideFilterX:_n,LucideFingerprint:sy,LucideFireExtinguisher:dy,LucideFish:hy,LucideFishOff:ly,LucideFishSymbol:uy,LucideFlag:my,LucideFlagOff:py,LucideFlagTriangleLeft:yy,LucideFlagTriangleRight:ky,LucideFlame:gy,LucideFlameKindling:fy,LucideFlashlight:xy,LucideFlashlightOff:vy,LucideFlaskConical:_y,LucideFlaskConicalOff:My,LucideFlaskRound:Ly,LucideFlipHorizontal:by,LucideFlipHorizontal2:Iy,LucideFlipVertical:Cy,LucideFlipVertical2:wy,LucideFlower:Sy,LucideFlower2:Ny,LucideFocus:jy,LucideFoldHorizontal:$y,LucideFoldVertical:qy,LucideFolder:$1,LucideFolderArchive:Ay,LucideFolderCheck:zy,LucideFolderClock:Vy,LucideFolderClosed:Py,LucideFolderCode:Ty,LucideFolderCog:xn,LucideFolderCog2:xn,LucideFolderDot:Hy,LucideFolderDown:Dy,LucideFolderEdit:Mn,LucideFolderGit:Ry,LucideFolderGit2:By,LucideFolderHeart:Fy,LucideFolderInput:Ey,LucideFolderKanban:Oy,LucideFolderKey:Uy,LucideFolderLock:Wy,LucideFolderMinus:Gy,LucideFolderOpen:Zy,LucideFolderOpenDot:Ky,LucideFolderOutput:Xy,LucideFolderPen:Mn,LucideFolderPlus:zc,LucideFolderRoot:Yy,LucideFolderSearch:Qy,LucideFolderSearch2:Jy,LucideFolderSymlink:e4,LucideFolderSync:t4,LucideFolderTree:a4,LucideFolderUp:n4,LucideFolderX:o4,LucideFolders:c4,LucideFootprints:i4,LucideForkKnife:wc,LucideForkKnifeCrossed:bc,LucideForklift:r4,LucideFormInput:no,LucideForward:s4,LucideFrame:d4,LucideFramer:l4,LucideFrown:h4,LucideFuel:u4,LucideFullscreen:p4,LucideFunctionSquare:Ro,LucideFunnel:At,LucideFunnelPlus:y4,LucideFunnelX:_n,LucideGalleryHorizontal:m4,LucideGalleryHorizontalEnd:k4,LucideGalleryThumbnails:f4,LucideGalleryVertical:v4,LucideGalleryVerticalEnd:g4,LucideGamepad:M4,LucideGamepad2:x4,LucideGanttChart:ga,LucideGanttChartSquare:yt,LucideGauge:_4,LucideGaugeCircle:Ta,LucideGavel:L4,LucideGem:I4,LucideGeorgianLari:b4,LucideGhost:w4,LucideGift:C4,LucideGitBranch:S4,LucideGitBranchPlus:N4,LucideGitCommit:Ln,LucideGitCommitHorizontal:Ln,LucideGitCommitVertical:j4,LucideGitCompare:q4,LucideGitCompareArrows:$4,LucideGitFork:A4,LucideGitGraph:z4,LucideGitMerge:V4,LucideGitPullRequest:R4,LucideGitPullRequestArrow:P4,LucideGitPullRequestClosed:T4,LucideGitPullRequestCreate:D4,LucideGitPullRequestCreateArrow:H4,LucideGitPullRequestDraft:B4,LucideGithub:F4,LucideGitlab:E4,LucideGlassWater:O4,LucideGlasses:U4,LucideGlobe:G4,LucideGlobe2:cn,LucideGlobeLock:W4,LucideGoal:K4,LucideGpu:Z4,LucideGrab:Nn,LucideGraduationCap:X4,LucideGrape:Y4,LucideGrid:pt,LucideGrid2X2:Cn,LucideGrid2X2Check:In,LucideGrid2X2Plus:bn,LucideGrid2X2X:wn,LucideGrid2x2:Cn,LucideGrid2x2Check:In,LucideGrid2x2Plus:bn,LucideGrid2x2X:wn,LucideGrid3X3:pt,LucideGrid3x2:J4,LucideGrid3x3:pt,LucideGrip:e5,LucideGripHorizontal:Q4,LucideGripVertical:q1,LucideGroup:t5,LucideGuitar:a5,LucideHam:n5,LucideHamburger:o5,LucideHammer:c5,LucideHand:h5,LucideHandCoins:i5,LucideHandFist:r5,LucideHandGrab:Nn,LucideHandHeart:s5,LucideHandHelping:Sn,LucideHandMetal:d5,LucideHandPlatter:l5,LucideHandbag:u5,LucideHandshake:p5,LucideHardDrive:m5,LucideHardDriveDownload:y5,LucideHardDriveUpload:k5,LucideHardHat:f5,LucideHash:g5,LucideHatGlasses:v5,LucideHaze:x5,LucideHdmiPort:M5,LucideHeading:N5,LucideHeading1:_5,LucideHeading2:L5,LucideHeading3:I5,LucideHeading4:b5,LucideHeading5:w5,LucideHeading6:C5,LucideHeadphoneOff:S5,LucideHeadphones:j5,LucideHeadset:$5,LucideHeart:H5,LucideHeartCrack:q5,LucideHeartHandshake:A5,LucideHeartMinus:z5,LucideHeartOff:V5,LucideHeartPlus:P5,LucideHeartPulse:T5,LucideHeater:D5,LucideHelpCircle:ht,LucideHelpingHand:Sn,LucideHexagon:B5,LucideHighlighter:R5,LucideHistory:F5,LucideHome:zt,LucideHop:O5,LucideHopOff:E5,LucideHospital:A1,LucideHotel:U5,LucideHourglass:W5,LucideHouse:zt,LucideHousePlug:G5,LucideHousePlus:Z5,LucideHouseWifi:K5,LucideIceCream:$n,LucideIceCream2:jn,LucideIceCreamBowl:jn,LucideIceCreamCone:$n,LucideIdCard:Y5,LucideIdCardLanyard:X5,LucideImage:ck,LucideImageDown:J5,LucideImageMinus:Q5,LucideImageOff:ek,LucideImagePlay:tk,LucideImagePlus:ak,LucideImageUp:nk,LucideImageUpscale:ok,LucideImages:ik,LucideImport:rk,LucideInbox:sk,LucideIndent:An,LucideIndentDecrease:qn,LucideIndentIncrease:An,LucideIndianRupee:dk,LucideInfinity:lk,LucideInfo:hk,LucideInspect:Ko,LucideInspectionPanel:uk,LucideInstagram:pk,LucideItalic:yk,LucideIterationCcw:kk,LucideIterationCw:mk,LucideJapaneseYen:gk,LucideJoystick:fk,LucideKanban:vk,LucideKanbanSquare:Fo,LucideKanbanSquareDashed:Vo,LucideKayak:xk,LucideKey:Lk,LucideKeyRound:Mk,LucideKeySquare:_k,LucideKeyboard:wk,LucideKeyboardMusic:Ik,LucideKeyboardOff:bk,LucideLamp:qk,LucideLampCeiling:Ck,LucideLampDesk:Sk,LucideLampFloor:Nk,LucideLampWallDown:jk,LucideLampWallUp:$k,LucideLandPlot:Ak,LucideLandmark:zk,LucideLanguages:Vk,LucideLaptop:Tk,LucideLaptop2:zn,LucideLaptopMinimal:zn,LucideLaptopMinimalCheck:Pk,LucideLasso:Dk,LucideLassoSelect:Hk,LucideLaugh:Bk,LucideLayers:Vn,LucideLayers2:Rk,LucideLayers3:Vn,LucideLayout:to,LucideLayoutDashboard:Fk,LucideLayoutGrid:Ek,LucideLayoutList:Ok,LucideLayoutPanelLeft:Uk,LucideLayoutPanelTop:Wk,LucideLayoutTemplate:Gk,LucideLeaf:Kk,LucideLeafyGreen:Xk,LucideLectern:Zk,LucideLetterText:Yk,LucideLibrary:Qk,LucideLibraryBig:Jk,LucideLibrarySquare:Eo,LucideLifeBuoy:e3,LucideLigature:t3,LucideLightbulb:n3,LucideLightbulbOff:a3,LucideLineChart:ka,LucideLineSquiggle:o3,LucideLink:r3,LucideLink2:c3,LucideLink2Off:i3,LucideLinkedin:s3,LucideList:b3,LucideListCheck:d3,LucideListChecks:l3,LucideListCollapse:h3,LucideListEnd:u3,LucideListFilter:k3,LucideListFilterPlus:p3,LucideListMinus:y3,LucideListMusic:m3,LucideListOrdered:f3,LucideListPlus:g3,LucideListRestart:v3,LucideListStart:x3,LucideListTodo:M3,LucideListTree:_3,LucideListVideo:L3,LucideListX:I3,LucideLoader:C3,LucideLoader2:Pn,LucideLoaderCircle:Pn,LucideLoaderPinwheel:w3,LucideLocate:j3,LucideLocateFixed:N3,LucideLocateOff:S3,LucideLocationEdit:Bn,LucideLock:q3,LucideLockKeyhole:$3,LucideLockKeyholeOpen:Tn,LucideLockOpen:Hn,LucideLogIn:A3,LucideLogOut:z3,LucideLogs:V3,LucideLollipop:P3,LucideLuggage:T3,LucideMSquare:Oo,LucideMagnet:H3,LucideMail:U3,LucideMailCheck:D3,LucideMailMinus:B3,LucideMailOpen:R3,LucideMailPlus:F3,LucideMailQuestion:Dn,LucideMailQuestionMark:Dn,LucideMailSearch:E3,LucideMailWarning:O3,LucideMailX:W3,LucideMailbox:G3,LucideMails:K3,LucideMap:dm,LucideMapMinus:Z3,LucideMapPin:im,LucideMapPinCheck:X3,LucideMapPinCheckInside:Y3,LucideMapPinHouse:J3,LucideMapPinMinus:em,LucideMapPinMinusInside:Q3,LucideMapPinOff:tm,LucideMapPinPen:Bn,LucideMapPinPlus:nm,LucideMapPinPlusInside:am,LucideMapPinX:cm,LucideMapPinXInside:om,LucideMapPinned:rm,LucideMapPlus:sm,LucideMars:hm,LucideMarsStroke:lm,LucideMartini:um,LucideMaximize:km,LucideMaximize2:pm,LucideMedal:ym,LucideMegaphone:fm,LucideMegaphoneOff:mm,LucideMeh:gm,LucideMemoryStick:vm,LucideMenu:n1,LucideMenuSquare:Uo,LucideMerge:xm,LucideMessageCircle:jm,LucideMessageCircleCode:Mm,LucideMessageCircleDashed:_m,LucideMessageCircleHeart:Lm,LucideMessageCircleMore:Im,LucideMessageCircleOff:bm,LucideMessageCirclePlus:wm,LucideMessageCircleQuestion:Rn,LucideMessageCircleQuestionMark:Rn,LucideMessageCircleReply:Cm,LucideMessageCircleWarning:Nm,LucideMessageCircleX:Sm,LucideMessageSquare:Wm,LucideMessageSquareCode:$m,LucideMessageSquareDashed:qm,LucideMessageSquareDiff:Am,LucideMessageSquareDot:zm,LucideMessageSquareHeart:Vm,LucideMessageSquareLock:Pm,LucideMessageSquareMore:Tm,LucideMessageSquareOff:Hm,LucideMessageSquarePlus:Dm,LucideMessageSquareQuote:Bm,LucideMessageSquareReply:Rm,LucideMessageSquareShare:Fm,LucideMessageSquareText:Em,LucideMessageSquareWarning:Om,LucideMessageSquareX:Um,LucideMessagesSquare:Gm,LucideMic:Zm,LucideMic2:Fn,LucideMicOff:Km,LucideMicVocal:Fn,LucideMicrochip:Xm,LucideMicroscope:Ym,LucideMicrowave:Jm,LucideMilestone:Qm,LucideMilk:t6,LucideMilkOff:e6,LucideMinimize:n6,LucideMinimize2:a6,LucideMinus:o6,LucideMinusCircle:Ha,LucideMinusSquare:Wo,LucideMonitor:f6,LucideMonitorCheck:c6,LucideMonitorCog:i6,LucideMonitorDot:r6,LucideMonitorDown:s6,LucideMonitorOff:d6,LucideMonitorPause:h6,LucideMonitorPlay:l6,LucideMonitorSmartphone:u6,LucideMonitorSpeaker:p6,LucideMonitorStop:y6,LucideMonitorUp:k6,LucideMonitorX:m6,LucideMoon:v6,LucideMoonStar:g6,LucideMoreHorizontal:sn,LucideMoreVertical:rn,LucideMountain:M6,LucideMountainSnow:x6,LucideMouse:C6,LucideMouseOff:_6,LucideMousePointer:b6,LucideMousePointer2:L6,LucideMousePointerBan:I6,LucideMousePointerClick:w6,LucideMousePointerSquareDashed:Po,LucideMove:a.Move,LucideMove3D:En,LucideMove3d:En,LucideMoveDiagonal:S6,LucideMoveDiagonal2:N6,LucideMoveDown:A6,LucideMoveDownLeft:j6,LucideMoveDownRight:$6,LucideMoveHorizontal:q6,LucideMoveLeft:z6,LucideMoveRight:V6,LucideMoveUp:H6,LucideMoveUpLeft:P6,LucideMoveUpRight:T6,LucideMoveVertical:D6,LucideMusic:E6,LucideMusic2:B6,LucideMusic3:R6,LucideMusic4:F6,LucideNavigation:G6,LucideNavigation2:U6,LucideNavigation2Off:O6,LucideNavigationOff:W6,LucideNetwork:K6,LucideNewspaper:Z6,LucideNfc:X6,LucideNonBinary:Y6,LucideNotebook:tf,LucideNotebookPen:J6,LucideNotebookTabs:Q6,LucideNotebookText:ef,LucideNotepadText:nf,LucideNotepadTextDashed:af,LucideNut:cf,LucideNutOff:of,LucideOctagon:sf,LucideOctagonAlert:On,LucideOctagonMinus:rf,LucideOctagonPause:Un,LucideOctagonX:Wn,LucideOmega:df,LucideOption:lf,LucideOrbit:hf,LucideOrigami:uf,LucideOutdent:qn,LucidePackage:xf,LucidePackage2:pf,LucidePackageCheck:yf,LucidePackageMinus:kf,LucidePackageOpen:mf,LucidePackagePlus:ff,LucidePackageSearch:gf,LucidePackageX:vf,LucidePaintBucket:Mf,LucidePaintRoller:_f,LucidePaintbrush:Lf,LucidePaintbrush2:Gn,LucidePaintbrushVertical:Gn,LucidePalette:If,LucidePalmtree:yc,LucidePanda:bf,LucidePanelBottom:Nf,LucidePanelBottomClose:wf,LucidePanelBottomDashed:Kn,LucidePanelBottomInactive:Kn,LucidePanelBottomOpen:Cf,LucidePanelLeft:Jn,LucidePanelLeftClose:Zn,LucidePanelLeftDashed:Xn,LucidePanelLeftInactive:Xn,LucidePanelLeftOpen:Yn,LucidePanelRight:$f,LucidePanelRightClose:Sf,LucidePanelRightDashed:Qn,LucidePanelRightInactive:Qn,LucidePanelRightOpen:jf,LucidePanelTop:zf,LucidePanelTopClose:qf,LucidePanelTopDashed:eo,LucidePanelTopInactive:eo,LucidePanelTopOpen:Af,LucidePanelsLeftBottom:Vf,LucidePanelsLeftRight:an,LucidePanelsRightBottom:Pf,LucidePanelsTopBottom:io,LucidePanelsTopLeft:to,LucidePaperclip:Tf,LucideParentheses:Hf,LucideParkingCircle:Ra,LucideParkingCircleOff:Da,LucideParkingMeter:Df,LucideParkingSquare:Zo,LucideParkingSquareOff:Go,LucidePartyPopper:Bf,LucidePause:Rf,LucidePauseCircle:Ba,LucidePauseOctagon:Un,LucidePawPrint:Ff,LucidePcCase:Ef,LucidePen:xt,LucidePenBox:Ge,LucidePenLine:vt,LucidePenOff:Uf,LucidePenSquare:Ge,LucidePenTool:Of,LucidePencil:o1,LucidePencilLine:Wf,LucidePencilOff:Gf,LucidePencilRuler:Kf,LucidePentagon:Zf,LucidePercent:Xf,LucidePercentCircle:Fa,LucidePercentDiamond:on,LucidePercentSquare:Xo,LucidePersonStanding:Jf,LucidePhilippinePeso:Yf,LucidePhone:o8,LucidePhoneCall:Qf,LucidePhoneForwarded:e8,LucidePhoneIncoming:t8,LucidePhoneMissed:a8,LucidePhoneOff:n8,LucidePhoneOutgoing:c8,LucidePi:i8,LucidePiSquare:Yo,LucidePiano:r8,LucidePickaxe:s8,LucidePictureInPicture:l8,LucidePictureInPicture2:d8,LucidePieChart:va,LucidePiggyBank:h8,LucidePilcrow:p8,LucidePilcrowLeft:u8,LucidePilcrowRight:y8,LucidePilcrowSquare:Jo,LucidePill:m8,LucidePillBottle:k8,LucidePin:g8,LucidePinOff:f8,LucidePipette:v8,LucidePizza:x8,LucidePlane:L8,LucidePlaneLanding:M8,LucidePlaneTakeoff:_8,LucidePlay:I8,LucidePlayCircle:Ea,LucidePlaySquare:Qo,LucidePlug:w8,LucidePlug2:b8,LucidePlugZap:ao,LucidePlugZap2:ao,LucidePlus:Vc,LucidePlusCircle:Oa,LucidePlusSquare:ec,LucidePocket:N8,LucidePocketKnife:C8,LucidePodcast:S8,LucidePointer:$8,LucidePointerOff:j8,LucidePopcorn:A8,LucidePopsicle:q8,LucidePoundSterling:z8,LucidePower:P8,LucidePowerCircle:Ua,LucidePowerOff:V8,LucidePowerSquare:tc,LucidePresentation:T8,LucidePrinter:D8,LucidePrinterCheck:H8,LucideProjector:B8,LucideProportions:R8,LucidePuzzle:E8,LucidePyramid:F8,LucideQrCode:O8,LucideQuote:U8,LucideRabbit:W8,LucideRadar:G8,LucideRadiation:K8,LucideRadical:Z8,LucideRadio:J8,LucideRadioReceiver:X8,LucideRadioTower:Y8,LucideRadius:Q8,LucideRailSymbol:eg,LucideRainbow:tg,LucideRat:ag,LucideRatio:ng,LucideReceipt:pg,LucideReceiptCent:og,LucideReceiptEuro:ig,LucideReceiptIndianRupee:cg,LucideReceiptJapaneseYen:rg,LucideReceiptPoundSterling:sg,LucideReceiptRussianRuble:dg,LucideReceiptSwissFranc:lg,LucideReceiptText:hg,LucideReceiptTurkishLira:ug,LucideRectangleCircle:yg,LucideRectangleEllipsis:no,LucideRectangleGoggles:kg,LucideRectangleHorizontal:mg,LucideRectangleVertical:fg,LucideRecycle:gg,LucideRedo:Mg,LucideRedo2:vg,LucideRedoDot:xg,LucideRefreshCcw:Lg,LucideRefreshCcwDot:_g,LucideRefreshCw:bg,LucideRefreshCwOff:Ig,LucideRefrigerator:wg,LucideRegex:Cg,LucideRemoveFormatting:Ng,LucideRepeat:$g,LucideRepeat1:Sg,LucideRepeat2:jg,LucideReplace:Ag,LucideReplaceAll:qg,LucideReply:Pg,LucideReplyAll:zg,LucideRewind:Vg,LucideRibbon:Tg,LucideRocket:Hg,LucideRockingChair:Rg,LucideRollerCoaster:Dg,LucideRose:Bg,LucideRotate3D:oo,LucideRotate3d:oo,LucideRotateCcw:Og,LucideRotateCcwKey:Fg,LucideRotateCcwSquare:Eg,LucideRotateCw:Wg,LucideRotateCwSquare:Ug,LucideRoute:Kg,LucideRouteOff:Gg,LucideRouter:Zg,LucideRows:co,LucideRows2:co,LucideRows3:io,LucideRows4:Xg,LucideRss:Yg,LucideRuler:Qg,LucideRulerDimensionLine:Jg,LucideRussianRuble:e7,LucideSailboat:t7,LucideSalad:a7,LucideSandwich:n7,LucideSatellite:c7,LucideSatelliteDish:o7,LucideSaudiRiyal:i7,LucideSave:l7,LucideSaveAll:r7,LucideSaveOff:s7,LucideScale:d7,LucideScale3D:ro,LucideScale3d:ro,LucideScaling:h7,LucideScan:x7,LucideScanBarcode:u7,LucideScanEye:p7,LucideScanFace:y7,LucideScanHeart:k7,LucideScanLine:m7,LucideScanQrCode:f7,LucideScanSearch:g7,LucideScanText:v7,LucideScatterChart:xa,LucideSchool:M7,LucideSchool2:fc,LucideScissors:L7,LucideScissorsLineDashed:_7,LucideScissorsSquare:ac,LucideScissorsSquareDashedBottom:Co,LucideScreenShare:I7,LucideScreenShareOff:b7,LucideScroll:C7,LucideScrollText:w7,LucideSearch:z1,LucideSearchCheck:N7,LucideSearchCode:S7,LucideSearchSlash:j7,LucideSearchX:$7,LucideSection:q7,LucideSend:z7,LucideSendHorizonal:so,LucideSendHorizontal:so,LucideSendToBack:A7,LucideSeparatorHorizontal:V7,LucideSeparatorVertical:P7,LucideServer:B7,LucideServerCog:T7,LucideServerCrash:D7,LucideServerOff:H7,LucideSettings:F7,LucideSettings2:R7,LucideShapes:E7,LucideShare:U7,LucideShare2:O7,LucideSheet:W7,LucideShell:G7,LucideShield:nv,LucideShieldAlert:K7,LucideShieldBan:Z7,LucideShieldCheck:X7,LucideShieldClose:ho,LucideShieldEllipsis:Y7,LucideShieldHalf:J7,LucideShieldMinus:ev,LucideShieldOff:Q7,LucideShieldPlus:tv,LucideShieldQuestion:lo,LucideShieldQuestionMark:lo,LucideShieldUser:av,LucideShieldX:ho,LucideShip:cv,LucideShipWheel:ov,LucideShirt:iv,LucideShoppingBag:rv,LucideShoppingBasket:sv,LucideShoppingCart:dv,LucideShovel:lv,LucideShowerHead:hv,LucideShredder:uv,LucideShrimp:pv,LucideShrink:yv,LucideShrub:kv,LucideShuffle:fv,LucideSidebar:Jn,LucideSidebarClose:Zn,LucideSidebarOpen:Yn,LucideSigma:mv,LucideSigmaSquare:nc,LucideSignal:_v,LucideSignalHigh:gv,LucideSignalLow:vv,LucideSignalMedium:xv,LucideSignalZero:Mv,LucideSignature:Lv,LucideSignpost:bv,LucideSignpostBig:Iv,LucideSiren:wv,LucideSkipBack:Cv,LucideSkipForward:Nv,LucideSkull:Sv,LucideSlack:jv,LucideSlash:$v,LucideSlashSquare:oc,LucideSlice:qv,LucideSliders:uo,LucideSlidersHorizontal:Av,LucideSlidersVertical:uo,LucideSmartphone:Pv,LucideSmartphoneCharging:zv,LucideSmartphoneNfc:Vv,LucideSmile:Hv,LucideSmilePlus:Tv,LucideSnail:Dv,LucideSnowflake:Bv,LucideSoapDispenserDroplet:Rv,LucideSofa:Fv,LucideSortAsc:Jt,LucideSortDesc:Zt,LucideSoup:Ev,LucideSpace:Ov,LucideSpade:Uv,LucideSparkle:Wv,LucideSparkles:po,LucideSpeaker:Gv,LucideSpeech:Kv,LucideSpellCheck:Xv,LucideSpellCheck2:Zv,LucideSpline:Jv,LucideSplinePointer:Yv,LucideSplit:Qv,LucideSplitSquareHorizontal:cc,LucideSplitSquareVertical:ic,LucideSpool:e9,LucideSpotlight:t9,LucideSprayCan:a9,LucideSprout:n9,LucideSquare:y9,LucideSquareActivity:Vt,LucideSquareArrowDown:mo,LucideSquareArrowDownLeft:yo,LucideSquareArrowDownRight:ko,LucideSquareArrowLeft:fo,LucideSquareArrowOutDownLeft:go,LucideSquareArrowOutDownRight:vo,LucideSquareArrowOutUpLeft:xo,LucideSquareArrowOutUpRight:Mo,LucideSquareArrowRight:_o,LucideSquareArrowUp:bo,LucideSquareArrowUpLeft:Lo,LucideSquareArrowUpRight:Io,LucideSquareAsterisk:wo,LucideSquareBottomDashedScissors:Co,LucideSquareChartGantt:yt,LucideSquareCheck:So,LucideSquareCheckBig:No,LucideSquareChevronDown:jo,LucideSquareChevronLeft:$o,LucideSquareChevronRight:qo,LucideSquareChevronUp:Ao,LucideSquareCode:zo,LucideSquareDashed:To,LucideSquareDashedBottom:c9,LucideSquareDashedBottomCode:o9,LucideSquareDashedKanban:Vo,LucideSquareDashedMousePointer:Po,LucideSquareDashedTopSolid:i9,LucideSquareDivide:Ho,LucideSquareDot:Bo,LucideSquareEqual:Do,LucideSquareFunction:Ro,LucideSquareGanttChart:yt,LucideSquareKanban:Fo,LucideSquareLibrary:Eo,LucideSquareM:Oo,LucideSquareMenu:Uo,LucideSquareMinus:Wo,LucideSquareMousePointer:Ko,LucideSquareParking:Zo,LucideSquareParkingOff:Go,LucideSquarePause:r9,LucideSquarePen:Ge,LucideSquarePercent:Xo,LucideSquarePi:Yo,LucideSquarePilcrow:Jo,LucideSquarePlay:Qo,LucideSquarePlus:ec,LucideSquarePower:tc,LucideSquareRadical:s9,LucideSquareRoundCorner:d9,LucideSquareScissors:ac,LucideSquareSigma:nc,LucideSquareSlash:oc,LucideSquareSplitHorizontal:cc,LucideSquareSplitVertical:ic,LucideSquareSquare:l9,LucideSquareStack:h9,LucideSquareStar:u9,LucideSquareStop:p9,LucideSquareTerminal:rc,LucideSquareUser:dc,LucideSquareUserRound:sc,LucideSquareX:lc,LucideSquaresExclude:k9,LucideSquaresIntersect:m9,LucideSquaresSubtract:f9,LucideSquaresUnite:g9,LucideSquircle:x9,LucideSquircleDashed:v9,LucideSquirrel:M9,LucideStamp:_9,LucideStar:w9,LucideStarHalf:L9,LucideStarOff:I9,LucideStars:po,LucideStepBack:b9,LucideStepForward:C9,LucideStethoscope:N9,LucideSticker:S9,LucideStickyNote:j9,LucideStopCircle:Ga,LucideStore:$9,LucideStretchHorizontal:q9,LucideStretchVertical:A9,LucideStrikethrough:z9,LucideSubscript:V9,LucideSubtitles:ra,LucideSun:R9,LucideSunDim:P9,LucideSunMedium:T9,LucideSunMoon:H9,LucideSunSnow:D9,LucideSunrise:B9,LucideSunset:F9,LucideSuperscript:E9,LucideSwatchBook:O9,LucideSwissFranc:U9,LucideSwitchCamera:W9,LucideSword:G9,LucideSwords:Z9,LucideSyringe:K9,LucideTable:nx,LucideTable2:X9,LucideTableCellsMerge:Y9,LucideTableCellsSplit:J9,LucideTableColumnsSplit:Q9,LucideTableConfig:ut,LucideTableOfContents:ex,LucideTableProperties:tx,LucideTableRowsSplit:ax,LucideTablet:cx,LucideTabletSmartphone:ox,LucideTablets:ix,LucideTag:rx,LucideTags:sx,LucideTally1:dx,LucideTally2:lx,LucideTally3:hx,LucideTally4:ux,LucideTally5:px,LucideTangent:yx,LucideTarget:kx,LucideTelescope:mx,LucideTent:gx,LucideTentTree:fx,LucideTerminal:vx,LucideTerminalSquare:rc,LucideTestTube:xx,LucideTestTube2:hc,LucideTestTubeDiagonal:hc,LucideTestTubes:Mx,LucideText:wx,LucideTextCursor:Lx,LucideTextCursorInput:_x,LucideTextQuote:Ix,LucideTextSearch:bx,LucideTextSelect:uc,LucideTextSelection:uc,LucideTheater:Cx,LucideThermometer:$x,LucideThermometerSnowflake:Nx,LucideThermometerSun:Sx,LucideThumbsDown:jx,LucideThumbsUp:qx,LucideTicket:Dx,LucideTicketCheck:Ax,LucideTicketMinus:zx,LucideTicketPercent:Vx,LucideTicketPlus:Px,LucideTicketSlash:Tx,LucideTicketX:Hx,LucideTickets:Rx,LucideTicketsPlane:Bx,LucideTimer:Ox,LucideTimerOff:Fx,LucideTimerReset:Ex,LucideToggleLeft:Ux,LucideToggleRight:Wx,LucideToilet:Gx,LucideToolCase:Kx,LucideTornado:Xx,LucideTorus:Zx,LucideTouchpad:Jx,LucideTouchpadOff:Yx,LucideTowerControl:eM,LucideToyBrick:Qx,LucideTractor:tM,LucideTrafficCone:aM,LucideTrain:pc,LucideTrainFront:oM,LucideTrainFrontTunnel:nM,LucideTrainTrack:cM,LucideTramFront:pc,LucideTransgender:iM,LucideTrash:rM,LucideTrash2:kt,LucideTreeDeciduous:sM,LucideTreePalm:yc,LucideTreePine:dM,LucideTrees:lM,LucideTrello:hM,LucideTrendingDown:uM,LucideTrendingUp:pM,LucideTrendingUpDown:yM,LucideTriangle:mM,LucideTriangleAlert:kc,LucideTriangleDashed:kM,LucideTriangleRight:fM,LucideTrophy:gM,LucideTruck:xM,LucideTruckElectric:vM,LucideTurkishLira:MM,LucideTurntable:_M,LucideTurtle:LM,LucideTv:bM,LucideTv2:mc,LucideTvMinimal:mc,LucideTvMinimalPlay:IM,LucideTwitch:wM,LucideTwitter:CM,LucideType:SM,LucideTypeOutline:NM,LucideUmbrella:$M,LucideUmbrellaOff:jM,LucideUnderline:qM,LucideUndo:VM,LucideUndo2:AM,LucideUndoDot:zM,LucideUnfoldHorizontal:PM,LucideUnfoldVertical:TM,LucideUngroup:HM,LucideUniversity:fc,LucideUnlink:FM,LucideUnlink2:DM,LucideUnlock:Hn,LucideUnlockKeyhole:Tn,LucideUnplug:BM,LucideUpload:RM,LucideUploadCloud:Qa,LucideUsb:EM,LucideUser:e_,LucideUser2:Lc,LucideUserCheck:OM,LucideUserCheck2:gc,LucideUserCircle:Za,LucideUserCircle2:Ka,LucideUserCog:UM,LucideUserCog2:vc,LucideUserLock:WM,LucideUserMinus:GM,LucideUserMinus2:xc,LucideUserPen:KM,LucideUserPlus:V1,LucideUserPlus2:Mc,LucideUserRound:Lc,LucideUserRoundCheck:gc,LucideUserRoundCog:vc,LucideUserRoundMinus:xc,LucideUserRoundPen:ZM,LucideUserRoundPlus:Mc,LucideUserRoundSearch:XM,LucideUserRoundX:_c,LucideUserSearch:YM,LucideUserSquare:dc,LucideUserSquare2:sc,LucideUserStar:JM,LucideUserX:QM,LucideUserX2:_c,LucideUsers:t_,LucideUsers2:Ic,LucideUsersRound:Ic,LucideUtensils:wc,LucideUtensilsCrossed:bc,LucideUtilityPole:a_,LucideVariable:n_,LucideVault:o_,LucideVectorSquare:c_,LucideVegan:i_,LucideVenetianMask:r_,LucideVenus:h_,LucideVenusAndMars:s_,LucideVerified:ta,LucideVibrate:l_,LucideVibrateOff:d_,LucideVideo:p_,LucideVideoOff:u_,LucideVideotape:y_,LucideView:m_,LucideVoicemail:k_,LucideVolleyball:f_,LucideVolume:L_,LucideVolume1:g_,LucideVolume2:v_,LucideVolumeOff:x_,LucideVolumeX:M_,LucideVote:__,LucideWallet:b_,LucideWallet2:Cc,LucideWalletCards:I_,LucideWalletMinimal:Cc,LucideWallpaper:w_,LucideWand:C_,LucideWand2:Nc,LucideWandSparkles:Nc,LucideWarehouse:N_,LucideWashingMachine:S_,LucideWatch:j_,LucideWaves:q_,LucideWavesLadder:$_,LucideWaypoints:A_,LucideWebcam:z_,LucideWebhook:T_,LucideWebhookOff:V_,LucideWeight:P_,LucideWheat:D_,LucideWheatOff:H_,LucideWholeWord:B_,LucideWifi:K_,LucideWifiCog:R_,LucideWifiHigh:F_,LucideWifiLow:E_,LucideWifiOff:O_,LucideWifiPen:U_,LucideWifiSync:W_,LucideWifiZero:G_,LucideWind:X_,LucideWindArrowDown:Z_,LucideWine:J_,LucideWineOff:Y_,LucideWorkflow:Q_,LucideWorm:eL,LucideWrapText:tL,LucideWrench:aL,LucideX:at,LucideXCircle:qt,LucideXOctagon:Wn,LucideXSquare:lc,LucideYoutube:oL,LucideZap:cL,LucideZapOff:nL,LucideZoomIn:iL,LucideZoomOut:rL,Luggage:T3,LuggageIcon:T3,MSquare:Oo,MSquareIcon:Oo,Magnet:H3,MagnetIcon:H3,Mail:U3,MailCheck:D3,MailCheckIcon:D3,MailIcon:U3,MailMinus:B3,MailMinusIcon:B3,MailOpen:R3,MailOpenIcon:R3,MailPlus:F3,MailPlusIcon:F3,MailQuestion:Dn,MailQuestionIcon:Dn,MailQuestionMark:Dn,MailQuestionMarkIcon:Dn,MailSearch:E3,MailSearchIcon:E3,MailWarning:O3,MailWarningIcon:O3,MailX:W3,MailXIcon:W3,Mailbox:G3,MailboxIcon:G3,Mails:K3,MailsIcon:K3,Map:dm,MapIcon:dm,MapMinus:Z3,MapMinusIcon:Z3,MapPin:im,MapPinCheck:X3,MapPinCheckIcon:X3,MapPinCheckInside:Y3,MapPinCheckInsideIcon:Y3,MapPinHouse:J3,MapPinHouseIcon:J3,MapPinIcon:im,MapPinMinus:em,MapPinMinusIcon:em,MapPinMinusInside:Q3,MapPinMinusInsideIcon:Q3,MapPinOff:tm,MapPinOffIcon:tm,MapPinPen:Bn,MapPinPenIcon:Bn,MapPinPlus:nm,MapPinPlusIcon:nm,MapPinPlusInside:am,MapPinPlusInsideIcon:am,MapPinX:cm,MapPinXIcon:cm,MapPinXInside:om,MapPinXInsideIcon:om,MapPinned:rm,MapPinnedIcon:rm,MapPlus:sm,MapPlusIcon:sm,Mars:hm,MarsIcon:hm,MarsStroke:lm,MarsStrokeIcon:lm,Martini:um,MartiniIcon:um,Maximize:km,Maximize2:pm,Maximize2Icon:pm,MaximizeIcon:km,Medal:ym,MedalIcon:ym,Megaphone:fm,MegaphoneIcon:fm,MegaphoneOff:mm,MegaphoneOffIcon:mm,Meh:gm,MehIcon:gm,MemoryStick:vm,MemoryStickIcon:vm,Menu:n1,MenuIcon:n1,MenuSquare:Uo,MenuSquareIcon:Uo,Merge:xm,MergeIcon:xm,MessageCircle:jm,MessageCircleCode:Mm,MessageCircleCodeIcon:Mm,MessageCircleDashed:_m,MessageCircleDashedIcon:_m,MessageCircleHeart:Lm,MessageCircleHeartIcon:Lm,MessageCircleIcon:jm,MessageCircleMore:Im,MessageCircleMoreIcon:Im,MessageCircleOff:bm,MessageCircleOffIcon:bm,MessageCirclePlus:wm,MessageCirclePlusIcon:wm,MessageCircleQuestion:Rn,MessageCircleQuestionIcon:Rn,MessageCircleQuestionMark:Rn,MessageCircleQuestionMarkIcon:Rn,MessageCircleReply:Cm,MessageCircleReplyIcon:Cm,MessageCircleWarning:Nm,MessageCircleWarningIcon:Nm,MessageCircleX:Sm,MessageCircleXIcon:Sm,MessageSquare:Wm,MessageSquareCode:$m,MessageSquareCodeIcon:$m,MessageSquareDashed:qm,MessageSquareDashedIcon:qm,MessageSquareDiff:Am,MessageSquareDiffIcon:Am,MessageSquareDot:zm,MessageSquareDotIcon:zm,MessageSquareHeart:Vm,MessageSquareHeartIcon:Vm,MessageSquareIcon:Wm,MessageSquareLock:Pm,MessageSquareLockIcon:Pm,MessageSquareMore:Tm,MessageSquareMoreIcon:Tm,MessageSquareOff:Hm,MessageSquareOffIcon:Hm,MessageSquarePlus:Dm,MessageSquarePlusIcon:Dm,MessageSquareQuote:Bm,MessageSquareQuoteIcon:Bm,MessageSquareReply:Rm,MessageSquareReplyIcon:Rm,MessageSquareShare:Fm,MessageSquareShareIcon:Fm,MessageSquareText:Em,MessageSquareTextIcon:Em,MessageSquareWarning:Om,MessageSquareWarningIcon:Om,MessageSquareX:Um,MessageSquareXIcon:Um,MessagesSquare:Gm,MessagesSquareIcon:Gm,Mic:Zm,Mic2:Fn,Mic2Icon:Fn,MicIcon:Zm,MicOff:Km,MicOffIcon:Km,MicVocal:Fn,MicVocalIcon:Fn,Microchip:Xm,MicrochipIcon:Xm,Microscope:Ym,MicroscopeIcon:Ym,Microwave:Jm,MicrowaveIcon:Jm,Milestone:Qm,MilestoneIcon:Qm,Milk:t6,MilkIcon:t6,MilkOff:e6,MilkOffIcon:e6,Minimize:n6,Minimize2:a6,Minimize2Icon:a6,MinimizeIcon:n6,Minus:o6,MinusCircle:Ha,MinusCircleIcon:Ha,MinusIcon:o6,MinusSquare:Wo,MinusSquareIcon:Wo,Monitor:f6,MonitorCheck:c6,MonitorCheckIcon:c6,MonitorCog:i6,MonitorCogIcon:i6,MonitorDot:r6,MonitorDotIcon:r6,MonitorDown:s6,MonitorDownIcon:s6,MonitorIcon:f6,MonitorOff:d6,MonitorOffIcon:d6,MonitorPause:h6,MonitorPauseIcon:h6,MonitorPlay:l6,MonitorPlayIcon:l6,MonitorSmartphone:u6,MonitorSmartphoneIcon:u6,MonitorSpeaker:p6,MonitorSpeakerIcon:p6,MonitorStop:y6,MonitorStopIcon:y6,MonitorUp:k6,MonitorUpIcon:k6,MonitorX:m6,MonitorXIcon:m6,Moon:v6,MoonIcon:v6,MoonStar:g6,MoonStarIcon:g6,MoreHorizontal:sn,MoreHorizontalIcon:sn,MoreVertical:rn,MoreVerticalIcon:rn,Mountain:M6,MountainIcon:M6,MountainSnow:x6,MountainSnowIcon:x6,Mouse:C6,MouseIcon:C6,MouseOff:_6,MouseOffIcon:_6,MousePointer:b6,MousePointer2:L6,MousePointer2Icon:L6,MousePointerBan:I6,MousePointerBanIcon:I6,MousePointerClick:w6,MousePointerClickIcon:w6,MousePointerIcon:b6,MousePointerSquareDashed:Po,MousePointerSquareDashedIcon:Po,Move:a.Move,Move3D:En,Move3DIcon:En,Move3d:En,Move3dIcon:En,MoveDiagonal:S6,MoveDiagonal2:N6,MoveDiagonal2Icon:N6,MoveDiagonalIcon:S6,MoveDown:A6,MoveDownIcon:A6,MoveDownLeft:j6,MoveDownLeftIcon:j6,MoveDownRight:$6,MoveDownRightIcon:$6,MoveHorizontal:q6,MoveHorizontalIcon:q6,MoveIcon:a.Move,MoveLeft:z6,MoveLeftIcon:z6,MoveRight:V6,MoveRightIcon:V6,MoveUp:H6,MoveUpIcon:H6,MoveUpLeft:P6,MoveUpLeftIcon:P6,MoveUpRight:T6,MoveUpRightIcon:T6,MoveVertical:D6,MoveVerticalIcon:D6,Music:E6,Music2:B6,Music2Icon:B6,Music3:R6,Music3Icon:R6,Music4:F6,Music4Icon:F6,MusicIcon:E6,Navigation:G6,Navigation2:U6,Navigation2Icon:U6,Navigation2Off:O6,Navigation2OffIcon:O6,NavigationIcon:G6,NavigationOff:W6,NavigationOffIcon:W6,Network:K6,NetworkIcon:K6,Newspaper:Z6,NewspaperIcon:Z6,Nfc:X6,NfcIcon:X6,NonBinary:Y6,NonBinaryIcon:Y6,Notebook:tf,NotebookIcon:tf,NotebookPen:J6,NotebookPenIcon:J6,NotebookTabs:Q6,NotebookTabsIcon:Q6,NotebookText:ef,NotebookTextIcon:ef,NotepadText:nf,NotepadTextDashed:af,NotepadTextDashedIcon:af,NotepadTextIcon:nf,Nut:cf,NutIcon:cf,NutOff:of,NutOffIcon:of,Octagon:sf,OctagonAlert:On,OctagonAlertIcon:On,OctagonIcon:sf,OctagonMinus:rf,OctagonMinusIcon:rf,OctagonPause:Un,OctagonPauseIcon:Un,OctagonX:Wn,OctagonXIcon:Wn,Omega:df,OmegaIcon:df,Option:lf,OptionIcon:lf,Orbit:hf,OrbitIcon:hf,Origami:uf,OrigamiIcon:uf,Outdent:qn,OutdentIcon:qn,Package:xf,Package2:pf,Package2Icon:pf,PackageCheck:yf,PackageCheckIcon:yf,PackageIcon:xf,PackageMinus:kf,PackageMinusIcon:kf,PackageOpen:mf,PackageOpenIcon:mf,PackagePlus:ff,PackagePlusIcon:ff,PackageSearch:gf,PackageSearchIcon:gf,PackageX:vf,PackageXIcon:vf,PaintBucket:Mf,PaintBucketIcon:Mf,PaintRoller:_f,PaintRollerIcon:_f,Paintbrush:Lf,Paintbrush2:Gn,Paintbrush2Icon:Gn,PaintbrushIcon:Lf,PaintbrushVertical:Gn,PaintbrushVerticalIcon:Gn,Palette:If,PaletteIcon:If,Palmtree:yc,PalmtreeIcon:yc,Panda:bf,PandaIcon:bf,PanelBottom:Nf,PanelBottomClose:wf,PanelBottomCloseIcon:wf,PanelBottomDashed:Kn,PanelBottomDashedIcon:Kn,PanelBottomIcon:Nf,PanelBottomInactive:Kn,PanelBottomInactiveIcon:Kn,PanelBottomOpen:Cf,PanelBottomOpenIcon:Cf,PanelLeft:Jn,PanelLeftClose:Zn,PanelLeftCloseIcon:Zn,PanelLeftDashed:Xn,PanelLeftDashedIcon:Xn,PanelLeftIcon:Jn,PanelLeftInactive:Xn,PanelLeftInactiveIcon:Xn,PanelLeftOpen:Yn,PanelLeftOpenIcon:Yn,PanelRight:$f,PanelRightClose:Sf,PanelRightCloseIcon:Sf,PanelRightDashed:Qn,PanelRightDashedIcon:Qn,PanelRightIcon:$f,PanelRightInactive:Qn,PanelRightInactiveIcon:Qn,PanelRightOpen:jf,PanelRightOpenIcon:jf,PanelTop:zf,PanelTopClose:qf,PanelTopCloseIcon:qf,PanelTopDashed:eo,PanelTopDashedIcon:eo,PanelTopIcon:zf,PanelTopInactive:eo,PanelTopInactiveIcon:eo,PanelTopOpen:Af,PanelTopOpenIcon:Af,PanelsLeftBottom:Vf,PanelsLeftBottomIcon:Vf,PanelsLeftRight:an,PanelsLeftRightIcon:an,PanelsRightBottom:Pf,PanelsRightBottomIcon:Pf,PanelsTopBottom:io,PanelsTopBottomIcon:io,PanelsTopLeft:to,PanelsTopLeftIcon:to,Paperclip:Tf,PaperclipIcon:Tf,Parentheses:Hf,ParenthesesIcon:Hf,ParkingCircle:Ra,ParkingCircleIcon:Ra,ParkingCircleOff:Da,ParkingCircleOffIcon:Da,ParkingMeter:Df,ParkingMeterIcon:Df,ParkingSquare:Zo,ParkingSquareIcon:Zo,ParkingSquareOff:Go,ParkingSquareOffIcon:Go,PartyPopper:Bf,PartyPopperIcon:Bf,Pause:Rf,PauseCircle:Ba,PauseCircleIcon:Ba,PauseIcon:Rf,PauseOctagon:Un,PauseOctagonIcon:Un,PawPrint:Ff,PawPrintIcon:Ff,PcCase:Ef,PcCaseIcon:Ef,Pen:xt,PenBox:Ge,PenBoxIcon:Ge,PenIcon:xt,PenLine:vt,PenLineIcon:vt,PenOff:Uf,PenOffIcon:Uf,PenSquare:Ge,PenSquareIcon:Ge,PenTool:Of,PenToolIcon:Of,Pencil:o1,PencilIcon:o1,PencilLine:Wf,PencilLineIcon:Wf,PencilOff:Gf,PencilOffIcon:Gf,PencilRuler:Kf,PencilRulerIcon:Kf,Pentagon:Zf,PentagonIcon:Zf,Percent:Xf,PercentCircle:Fa,PercentCircleIcon:Fa,PercentDiamond:on,PercentDiamondIcon:on,PercentIcon:Xf,PercentSquare:Xo,PercentSquareIcon:Xo,PersonStanding:Jf,PersonStandingIcon:Jf,PhilippinePeso:Yf,PhilippinePesoIcon:Yf,Phone:o8,PhoneCall:Qf,PhoneCallIcon:Qf,PhoneForwarded:e8,PhoneForwardedIcon:e8,PhoneIcon:o8,PhoneIncoming:t8,PhoneIncomingIcon:t8,PhoneMissed:a8,PhoneMissedIcon:a8,PhoneOff:n8,PhoneOffIcon:n8,PhoneOutgoing:c8,PhoneOutgoingIcon:c8,Pi:i8,PiIcon:i8,PiSquare:Yo,PiSquareIcon:Yo,Piano:r8,PianoIcon:r8,Pickaxe:s8,PickaxeIcon:s8,PictureInPicture:l8,PictureInPicture2:d8,PictureInPicture2Icon:d8,PictureInPictureIcon:l8,PieChart:va,PieChartIcon:va,PiggyBank:h8,PiggyBankIcon:h8,Pilcrow:p8,PilcrowIcon:p8,PilcrowLeft:u8,PilcrowLeftIcon:u8,PilcrowRight:y8,PilcrowRightIcon:y8,PilcrowSquare:Jo,PilcrowSquareIcon:Jo,Pill:m8,PillBottle:k8,PillBottleIcon:k8,PillIcon:m8,Pin:g8,PinIcon:g8,PinOff:f8,PinOffIcon:f8,Pipette:v8,PipetteIcon:v8,Pizza:x8,PizzaIcon:x8,Plane:L8,PlaneIcon:L8,PlaneLanding:M8,PlaneLandingIcon:M8,PlaneTakeoff:_8,PlaneTakeoffIcon:_8,Play:I8,PlayCircle:Ea,PlayCircleIcon:Ea,PlayIcon:I8,PlaySquare:Qo,PlaySquareIcon:Qo,Plug:w8,Plug2:b8,Plug2Icon:b8,PlugIcon:w8,PlugZap:ao,PlugZap2:ao,PlugZap2Icon:ao,PlugZapIcon:ao,Plus:Vc,PlusCircle:Oa,PlusCircleIcon:Oa,PlusIcon:Vc,PlusSquare:ec,PlusSquareIcon:ec,Pocket:N8,PocketIcon:N8,PocketKnife:C8,PocketKnifeIcon:C8,Podcast:S8,PodcastIcon:S8,Pointer:$8,PointerIcon:$8,PointerOff:j8,PointerOffIcon:j8,Popcorn:A8,PopcornIcon:A8,Popsicle:q8,PopsicleIcon:q8,PoundSterling:z8,PoundSterlingIcon:z8,Power:P8,PowerCircle:Ua,PowerCircleIcon:Ua,PowerIcon:P8,PowerOff:V8,PowerOffIcon:V8,PowerSquare:tc,PowerSquareIcon:tc,Presentation:T8,PresentationIcon:T8,Printer:D8,PrinterCheck:H8,PrinterCheckIcon:H8,PrinterIcon:D8,Projector:B8,ProjectorIcon:B8,Proportions:R8,ProportionsIcon:R8,Puzzle:E8,PuzzleIcon:E8,Pyramid:F8,PyramidIcon:F8,QrCode:O8,QrCodeIcon:O8,Quote:U8,QuoteIcon:U8,Rabbit:W8,RabbitIcon:W8,Radar:G8,RadarIcon:G8,Radiation:K8,RadiationIcon:K8,Radical:Z8,RadicalIcon:Z8,Radio:J8,RadioIcon:J8,RadioReceiver:X8,RadioReceiverIcon:X8,RadioTower:Y8,RadioTowerIcon:Y8,Radius:Q8,RadiusIcon:Q8,RailSymbol:eg,RailSymbolIcon:eg,Rainbow:tg,RainbowIcon:tg,Rat:ag,RatIcon:ag,Ratio:ng,RatioIcon:ng,Receipt:pg,ReceiptCent:og,ReceiptCentIcon:og,ReceiptEuro:ig,ReceiptEuroIcon:ig,ReceiptIcon:pg,ReceiptIndianRupee:cg,ReceiptIndianRupeeIcon:cg,ReceiptJapaneseYen:rg,ReceiptJapaneseYenIcon:rg,ReceiptPoundSterling:sg,ReceiptPoundSterlingIcon:sg,ReceiptRussianRuble:dg,ReceiptRussianRubleIcon:dg,ReceiptSwissFranc:lg,ReceiptSwissFrancIcon:lg,ReceiptText:hg,ReceiptTextIcon:hg,ReceiptTurkishLira:ug,ReceiptTurkishLiraIcon:ug,RectangleCircle:yg,RectangleCircleIcon:yg,RectangleEllipsis:no,RectangleEllipsisIcon:no,RectangleGoggles:kg,RectangleGogglesIcon:kg,RectangleHorizontal:mg,RectangleHorizontalIcon:mg,RectangleVertical:fg,RectangleVerticalIcon:fg,Recycle:gg,RecycleIcon:gg,Redo:Mg,Redo2:vg,Redo2Icon:vg,RedoDot:xg,RedoDotIcon:xg,RedoIcon:Mg,RefreshCcw:Lg,RefreshCcwDot:_g,RefreshCcwDotIcon:_g,RefreshCcwIcon:Lg,RefreshCw:bg,RefreshCwIcon:bg,RefreshCwOff:Ig,RefreshCwOffIcon:Ig,Refrigerator:wg,RefrigeratorIcon:wg,Regex:Cg,RegexIcon:Cg,RemoveFormatting:Ng,RemoveFormattingIcon:Ng,Repeat:$g,Repeat1:Sg,Repeat1Icon:Sg,Repeat2:jg,Repeat2Icon:jg,RepeatIcon:$g,Replace:Ag,ReplaceAll:qg,ReplaceAllIcon:qg,ReplaceIcon:Ag,Reply:Pg,ReplyAll:zg,ReplyAllIcon:zg,ReplyIcon:Pg,Rewind:Vg,RewindIcon:Vg,Ribbon:Tg,RibbonIcon:Tg,Rocket:Hg,RocketIcon:Hg,RockingChair:Rg,RockingChairIcon:Rg,RollerCoaster:Dg,RollerCoasterIcon:Dg,Rose:Bg,RoseIcon:Bg,Rotate3D:oo,Rotate3DIcon:oo,Rotate3d:oo,Rotate3dIcon:oo,RotateCcw:Og,RotateCcwIcon:Og,RotateCcwKey:Fg,RotateCcwKeyIcon:Fg,RotateCcwSquare:Eg,RotateCcwSquareIcon:Eg,RotateCw:Wg,RotateCwIcon:Wg,RotateCwSquare:Ug,RotateCwSquareIcon:Ug,Route:Kg,RouteIcon:Kg,RouteOff:Gg,RouteOffIcon:Gg,Router:Zg,RouterIcon:Zg,Rows:co,Rows2:co,Rows2Icon:co,Rows3:io,Rows3Icon:io,Rows4:Xg,Rows4Icon:Xg,RowsIcon:co,Rss:Yg,RssIcon:Yg,Ruler:Qg,RulerDimensionLine:Jg,RulerDimensionLineIcon:Jg,RulerIcon:Qg,RussianRuble:e7,RussianRubleIcon:e7,Sailboat:t7,SailboatIcon:t7,Salad:a7,SaladIcon:a7,Sandwich:n7,SandwichIcon:n7,Satellite:c7,SatelliteDish:o7,SatelliteDishIcon:o7,SatelliteIcon:c7,SaudiRiyal:i7,SaudiRiyalIcon:i7,Save:l7,SaveAll:r7,SaveAllIcon:r7,SaveIcon:l7,SaveOff:s7,SaveOffIcon:s7,Scale:d7,Scale3D:ro,Scale3DIcon:ro,Scale3d:ro,Scale3dIcon:ro,ScaleIcon:d7,Scaling:h7,ScalingIcon:h7,Scan:x7,ScanBarcode:u7,ScanBarcodeIcon:u7,ScanEye:p7,ScanEyeIcon:p7,ScanFace:y7,ScanFaceIcon:y7,ScanHeart:k7,ScanHeartIcon:k7,ScanIcon:x7,ScanLine:m7,ScanLineIcon:m7,ScanQrCode:f7,ScanQrCodeIcon:f7,ScanSearch:g7,ScanSearchIcon:g7,ScanText:v7,ScanTextIcon:v7,ScatterChart:xa,ScatterChartIcon:xa,School:M7,School2:fc,School2Icon:fc,SchoolIcon:M7,Scissors:L7,ScissorsIcon:L7,ScissorsLineDashed:_7,ScissorsLineDashedIcon:_7,ScissorsSquare:ac,ScissorsSquareDashedBottom:Co,ScissorsSquareDashedBottomIcon:Co,ScissorsSquareIcon:ac,ScreenShare:I7,ScreenShareIcon:I7,ScreenShareOff:b7,ScreenShareOffIcon:b7,Scroll:C7,ScrollIcon:C7,ScrollText:w7,ScrollTextIcon:w7,Search:z1,SearchCheck:N7,SearchCheckIcon:N7,SearchCode:S7,SearchCodeIcon:S7,SearchIcon:z1,SearchSlash:j7,SearchSlashIcon:j7,SearchX:$7,SearchXIcon:$7,Section:q7,SectionIcon:q7,Send:z7,SendHorizonal:so,SendHorizonalIcon:so,SendHorizontal:so,SendHorizontalIcon:so,SendIcon:z7,SendToBack:A7,SendToBackIcon:A7,SeparatorHorizontal:V7,SeparatorHorizontalIcon:V7,SeparatorVertical:P7,SeparatorVerticalIcon:P7,Server:B7,ServerCog:T7,ServerCogIcon:T7,ServerCrash:D7,ServerCrashIcon:D7,ServerIcon:B7,ServerOff:H7,ServerOffIcon:H7,Settings:F7,Settings2:R7,Settings2Icon:R7,SettingsIcon:F7,Shapes:E7,ShapesIcon:E7,Share:U7,Share2:O7,Share2Icon:O7,ShareIcon:U7,Sheet:W7,SheetIcon:W7,Shell:G7,ShellIcon:G7,Shield:nv,ShieldAlert:K7,ShieldAlertIcon:K7,ShieldBan:Z7,ShieldBanIcon:Z7,ShieldCheck:X7,ShieldCheckIcon:X7,ShieldClose:ho,ShieldCloseIcon:ho,ShieldEllipsis:Y7,ShieldEllipsisIcon:Y7,ShieldHalf:J7,ShieldHalfIcon:J7,ShieldIcon:nv,ShieldMinus:ev,ShieldMinusIcon:ev,ShieldOff:Q7,ShieldOffIcon:Q7,ShieldPlus:tv,ShieldPlusIcon:tv,ShieldQuestion:lo,ShieldQuestionIcon:lo,ShieldQuestionMark:lo,ShieldQuestionMarkIcon:lo,ShieldUser:av,ShieldUserIcon:av,ShieldX:ho,ShieldXIcon:ho,Ship:cv,ShipIcon:cv,ShipWheel:ov,ShipWheelIcon:ov,Shirt:iv,ShirtIcon:iv,ShoppingBag:rv,ShoppingBagIcon:rv,ShoppingBasket:sv,ShoppingBasketIcon:sv,ShoppingCart:dv,ShoppingCartIcon:dv,Shovel:lv,ShovelIcon:lv,ShowerHead:hv,ShowerHeadIcon:hv,Shredder:uv,ShredderIcon:uv,Shrimp:pv,ShrimpIcon:pv,Shrink:yv,ShrinkIcon:yv,Shrub:kv,ShrubIcon:kv,Shuffle:fv,ShuffleIcon:fv,Sidebar:Jn,SidebarClose:Zn,SidebarCloseIcon:Zn,SidebarIcon:Jn,SidebarOpen:Yn,SidebarOpenIcon:Yn,Sigma:mv,SigmaIcon:mv,SigmaSquare:nc,SigmaSquareIcon:nc,Signal:_v,SignalHigh:gv,SignalHighIcon:gv,SignalIcon:_v,SignalLow:vv,SignalLowIcon:vv,SignalMedium:xv,SignalMediumIcon:xv,SignalZero:Mv,SignalZeroIcon:Mv,Signature:Lv,SignatureIcon:Lv,Signpost:bv,SignpostBig:Iv,SignpostBigIcon:Iv,SignpostIcon:bv,Siren:wv,SirenIcon:wv,SkipBack:Cv,SkipBackIcon:Cv,SkipForward:Nv,SkipForwardIcon:Nv,Skull:Sv,SkullIcon:Sv,Slack:jv,SlackIcon:jv,Slash:$v,SlashIcon:$v,SlashSquare:oc,SlashSquareIcon:oc,Slice:qv,SliceIcon:qv,Sliders:uo,SlidersHorizontal:Av,SlidersHorizontalIcon:Av,SlidersIcon:uo,SlidersVertical:uo,SlidersVerticalIcon:uo,Smartphone:Pv,SmartphoneCharging:zv,SmartphoneChargingIcon:zv,SmartphoneIcon:Pv,SmartphoneNfc:Vv,SmartphoneNfcIcon:Vv,Smile:Hv,SmileIcon:Hv,SmilePlus:Tv,SmilePlusIcon:Tv,Snail:Dv,SnailIcon:Dv,Snowflake:Bv,SnowflakeIcon:Bv,SoapDispenserDroplet:Rv,SoapDispenserDropletIcon:Rv,Sofa:Fv,SofaIcon:Fv,SortAsc:Jt,SortAscIcon:Jt,SortDesc:Zt,SortDescIcon:Zt,Soup:Ev,SoupIcon:Ev,Space:Ov,SpaceIcon:Ov,Spade:Uv,SpadeIcon:Uv,Sparkle:Wv,SparkleIcon:Wv,Sparkles:po,SparklesIcon:po,Speaker:Gv,SpeakerIcon:Gv,Speech:Kv,SpeechIcon:Kv,SpellCheck:Xv,SpellCheck2:Zv,SpellCheck2Icon:Zv,SpellCheckIcon:Xv,Spline:Jv,SplineIcon:Jv,SplinePointer:Yv,SplinePointerIcon:Yv,Split:Qv,SplitIcon:Qv,SplitSquareHorizontal:cc,SplitSquareHorizontalIcon:cc,SplitSquareVertical:ic,SplitSquareVerticalIcon:ic,Spool:e9,SpoolIcon:e9,Spotlight:t9,SpotlightIcon:t9,SprayCan:a9,SprayCanIcon:a9,Sprout:n9,SproutIcon:n9,Square:y9,SquareActivity:Vt,SquareActivityIcon:Vt,SquareArrowDown:mo,SquareArrowDownIcon:mo,SquareArrowDownLeft:yo,SquareArrowDownLeftIcon:yo,SquareArrowDownRight:ko,SquareArrowDownRightIcon:ko,SquareArrowLeft:fo,SquareArrowLeftIcon:fo,SquareArrowOutDownLeft:go,SquareArrowOutDownLeftIcon:go,SquareArrowOutDownRight:vo,SquareArrowOutDownRightIcon:vo,SquareArrowOutUpLeft:xo,SquareArrowOutUpLeftIcon:xo,SquareArrowOutUpRight:Mo,SquareArrowOutUpRightIcon:Mo,SquareArrowRight:_o,SquareArrowRightIcon:_o,SquareArrowUp:bo,SquareArrowUpIcon:bo,SquareArrowUpLeft:Lo,SquareArrowUpLeftIcon:Lo,SquareArrowUpRight:Io,SquareArrowUpRightIcon:Io,SquareAsterisk:wo,SquareAsteriskIcon:wo,SquareBottomDashedScissors:Co,SquareBottomDashedScissorsIcon:Co,SquareChartGantt:yt,SquareChartGanttIcon:yt,SquareCheck:So,SquareCheckBig:No,SquareCheckBigIcon:No,SquareCheckIcon:So,SquareChevronDown:jo,SquareChevronDownIcon:jo,SquareChevronLeft:$o,SquareChevronLeftIcon:$o,SquareChevronRight:qo,SquareChevronRightIcon:qo,SquareChevronUp:Ao,SquareChevronUpIcon:Ao,SquareCode:zo,SquareCodeIcon:zo,SquareDashed:To,SquareDashedBottom:c9,SquareDashedBottomCode:o9,SquareDashedBottomCodeIcon:o9,SquareDashedBottomIcon:c9,SquareDashedIcon:To,SquareDashedKanban:Vo,SquareDashedKanbanIcon:Vo,SquareDashedMousePointer:Po,SquareDashedMousePointerIcon:Po,SquareDashedTopSolid:i9,SquareDashedTopSolidIcon:i9,SquareDivide:Ho,SquareDivideIcon:Ho,SquareDot:Bo,SquareDotIcon:Bo,SquareEqual:Do,SquareEqualIcon:Do,SquareFunction:Ro,SquareFunctionIcon:Ro,SquareGanttChart:yt,SquareGanttChartIcon:yt,SquareIcon:y9,SquareKanban:Fo,SquareKanbanIcon:Fo,SquareLibrary:Eo,SquareLibraryIcon:Eo,SquareM:Oo,SquareMIcon:Oo,SquareMenu:Uo,SquareMenuIcon:Uo,SquareMinus:Wo,SquareMinusIcon:Wo,SquareMousePointer:Ko,SquareMousePointerIcon:Ko,SquareParking:Zo,SquareParkingIcon:Zo,SquareParkingOff:Go,SquareParkingOffIcon:Go,SquarePause:r9,SquarePauseIcon:r9,SquarePen:Ge,SquarePenIcon:Ge,SquarePercent:Xo,SquarePercentIcon:Xo,SquarePi:Yo,SquarePiIcon:Yo,SquarePilcrow:Jo,SquarePilcrowIcon:Jo,SquarePlay:Qo,SquarePlayIcon:Qo,SquarePlus:ec,SquarePlusIcon:ec,SquarePower:tc,SquarePowerIcon:tc,SquareRadical:s9,SquareRadicalIcon:s9,SquareRoundCorner:d9,SquareRoundCornerIcon:d9,SquareScissors:ac,SquareScissorsIcon:ac,SquareSigma:nc,SquareSigmaIcon:nc,SquareSlash:oc,SquareSlashIcon:oc,SquareSplitHorizontal:cc,SquareSplitHorizontalIcon:cc,SquareSplitVertical:ic,SquareSplitVerticalIcon:ic,SquareSquare:l9,SquareSquareIcon:l9,SquareStack:h9,SquareStackIcon:h9,SquareStar:u9,SquareStarIcon:u9,SquareStop:p9,SquareStopIcon:p9,SquareTerminal:rc,SquareTerminalIcon:rc,SquareUser:dc,SquareUserIcon:dc,SquareUserRound:sc,SquareUserRoundIcon:sc,SquareX:lc,SquareXIcon:lc,SquaresExclude:k9,SquaresExcludeIcon:k9,SquaresIntersect:m9,SquaresIntersectIcon:m9,SquaresSubtract:f9,SquaresSubtractIcon:f9,SquaresUnite:g9,SquaresUniteIcon:g9,Squircle:x9,SquircleDashed:v9,SquircleDashedIcon:v9,SquircleIcon:x9,Squirrel:M9,SquirrelIcon:M9,Stamp:_9,StampIcon:_9,Star:w9,StarHalf:L9,StarHalfIcon:L9,StarIcon:w9,StarOff:I9,StarOffIcon:I9,Stars:po,StarsIcon:po,StepBack:b9,StepBackIcon:b9,StepForward:C9,StepForwardIcon:C9,Stethoscope:N9,StethoscopeIcon:N9,Sticker:S9,StickerIcon:S9,StickyNote:j9,StickyNoteIcon:j9,StopCircle:Ga,StopCircleIcon:Ga,Store:$9,StoreIcon:$9,StretchHorizontal:q9,StretchHorizontalIcon:q9,StretchVertical:A9,StretchVerticalIcon:A9,Strikethrough:z9,StrikethroughIcon:z9,Subscript:V9,SubscriptIcon:V9,Subtitles:ra,SubtitlesIcon:ra,Sun:R9,SunDim:P9,SunDimIcon:P9,SunIcon:R9,SunMedium:T9,SunMediumIcon:T9,SunMoon:H9,SunMoonIcon:H9,SunSnow:D9,SunSnowIcon:D9,Sunrise:B9,SunriseIcon:B9,Sunset:F9,SunsetIcon:F9,Superscript:E9,SuperscriptIcon:E9,SwatchBook:O9,SwatchBookIcon:O9,SwissFranc:U9,SwissFrancIcon:U9,SwitchCamera:W9,SwitchCameraIcon:W9,Sword:G9,SwordIcon:G9,Swords:Z9,SwordsIcon:Z9,Syringe:K9,SyringeIcon:K9,Table:nx,Table2:X9,Table2Icon:X9,TableCellsMerge:Y9,TableCellsMergeIcon:Y9,TableCellsSplit:J9,TableCellsSplitIcon:J9,TableColumnsSplit:Q9,TableColumnsSplitIcon:Q9,TableConfig:ut,TableConfigIcon:ut,TableIcon:nx,TableOfContents:ex,TableOfContentsIcon:ex,TableProperties:tx,TablePropertiesIcon:tx,TableRowsSplit:ax,TableRowsSplitIcon:ax,Tablet:cx,TabletIcon:cx,TabletSmartphone:ox,TabletSmartphoneIcon:ox,Tablets:ix,TabletsIcon:ix,Tag:rx,TagIcon:rx,Tags:sx,TagsIcon:sx,Tally1:dx,Tally1Icon:dx,Tally2:lx,Tally2Icon:lx,Tally3:hx,Tally3Icon:hx,Tally4:ux,Tally4Icon:ux,Tally5:px,Tally5Icon:px,Tangent:yx,TangentIcon:yx,Target:kx,TargetIcon:kx,Telescope:mx,TelescopeIcon:mx,Tent:gx,TentIcon:gx,TentTree:fx,TentTreeIcon:fx,Terminal:vx,TerminalIcon:vx,TerminalSquare:rc,TerminalSquareIcon:rc,TestTube:xx,TestTube2:hc,TestTube2Icon:hc,TestTubeDiagonal:hc,TestTubeDiagonalIcon:hc,TestTubeIcon:xx,TestTubes:Mx,TestTubesIcon:Mx,Text:wx,TextCursor:Lx,TextCursorIcon:Lx,TextCursorInput:_x,TextCursorInputIcon:_x,TextIcon:wx,TextQuote:Ix,TextQuoteIcon:Ix,TextSearch:bx,TextSearchIcon:bx,TextSelect:uc,TextSelectIcon:uc,TextSelection:uc,TextSelectionIcon:uc,Theater:Cx,TheaterIcon:Cx,Thermometer:$x,ThermometerIcon:$x,ThermometerSnowflake:Nx,ThermometerSnowflakeIcon:Nx,ThermometerSun:Sx,ThermometerSunIcon:Sx,ThumbsDown:jx,ThumbsDownIcon:jx,ThumbsUp:qx,ThumbsUpIcon:qx,Ticket:Dx,TicketCheck:Ax,TicketCheckIcon:Ax,TicketIcon:Dx,TicketMinus:zx,TicketMinusIcon:zx,TicketPercent:Vx,TicketPercentIcon:Vx,TicketPlus:Px,TicketPlusIcon:Px,TicketSlash:Tx,TicketSlashIcon:Tx,TicketX:Hx,TicketXIcon:Hx,Tickets:Rx,TicketsIcon:Rx,TicketsPlane:Bx,TicketsPlaneIcon:Bx,Timer:Ox,TimerIcon:Ox,TimerOff:Fx,TimerOffIcon:Fx,TimerReset:Ex,TimerResetIcon:Ex,ToggleLeft:Ux,ToggleLeftIcon:Ux,ToggleRight:Wx,ToggleRightIcon:Wx,Toilet:Gx,ToiletIcon:Gx,ToolCase:Kx,ToolCaseIcon:Kx,Tornado:Xx,TornadoIcon:Xx,Torus:Zx,TorusIcon:Zx,Touchpad:Jx,TouchpadIcon:Jx,TouchpadOff:Yx,TouchpadOffIcon:Yx,TowerControl:eM,TowerControlIcon:eM,ToyBrick:Qx,ToyBrickIcon:Qx,Tractor:tM,TractorIcon:tM,TrafficCone:aM,TrafficConeIcon:aM,Train:pc,TrainFront:oM,TrainFrontIcon:oM,TrainFrontTunnel:nM,TrainFrontTunnelIcon:nM,TrainIcon:pc,TrainTrack:cM,TrainTrackIcon:cM,TramFront:pc,TramFrontIcon:pc,Transgender:iM,TransgenderIcon:iM,Trash:rM,Trash2:kt,Trash2Icon:kt,TrashIcon:rM,TreeDeciduous:sM,TreeDeciduousIcon:sM,TreePalm:yc,TreePalmIcon:yc,TreePine:dM,TreePineIcon:dM,Trees:lM,TreesIcon:lM,Trello:hM,TrelloIcon:hM,TrendingDown:uM,TrendingDownIcon:uM,TrendingUp:pM,TrendingUpDown:yM,TrendingUpDownIcon:yM,TrendingUpIcon:pM,Triangle:mM,TriangleAlert:kc,TriangleAlertIcon:kc,TriangleDashed:kM,TriangleDashedIcon:kM,TriangleIcon:mM,TriangleRight:fM,TriangleRightIcon:fM,Trophy:gM,TrophyIcon:gM,Truck:xM,TruckElectric:vM,TruckElectricIcon:vM,TruckIcon:xM,TurkishLira:MM,TurkishLiraIcon:MM,Turntable:_M,TurntableIcon:_M,Turtle:LM,TurtleIcon:LM,Tv:bM,Tv2:mc,Tv2Icon:mc,TvIcon:bM,TvMinimal:mc,TvMinimalIcon:mc,TvMinimalPlay:IM,TvMinimalPlayIcon:IM,Twitch:wM,TwitchIcon:wM,Twitter:CM,TwitterIcon:CM,Type:SM,TypeIcon:SM,TypeOutline:NM,TypeOutlineIcon:NM,Umbrella:$M,UmbrellaIcon:$M,UmbrellaOff:jM,UmbrellaOffIcon:jM,Underline:qM,UnderlineIcon:qM,Undo:VM,Undo2:AM,Undo2Icon:AM,UndoDot:zM,UndoDotIcon:zM,UndoIcon:VM,UnfoldHorizontal:PM,UnfoldHorizontalIcon:PM,UnfoldVertical:TM,UnfoldVerticalIcon:TM,Ungroup:HM,UngroupIcon:HM,University:fc,UniversityIcon:fc,Unlink:FM,Unlink2:DM,Unlink2Icon:DM,UnlinkIcon:FM,Unlock:Hn,UnlockIcon:Hn,UnlockKeyhole:Tn,UnlockKeyholeIcon:Tn,Unplug:BM,UnplugIcon:BM,Upload:RM,UploadCloud:Qa,UploadCloudIcon:Qa,UploadIcon:RM,Usb:EM,UsbIcon:EM,User:e_,User2:Lc,User2Icon:Lc,UserCheck:OM,UserCheck2:gc,UserCheck2Icon:gc,UserCheckIcon:OM,UserCircle:Za,UserCircle2:Ka,UserCircle2Icon:Ka,UserCircleIcon:Za,UserCog:UM,UserCog2:vc,UserCog2Icon:vc,UserCogIcon:UM,UserIcon:e_,UserLock:WM,UserLockIcon:WM,UserMinus:GM,UserMinus2:xc,UserMinus2Icon:xc,UserMinusIcon:GM,UserPen:KM,UserPenIcon:KM,UserPlus:V1,UserPlus2:Mc,UserPlus2Icon:Mc,UserPlusIcon:V1,UserRound:Lc,UserRoundCheck:gc,UserRoundCheckIcon:gc,UserRoundCog:vc,UserRoundCogIcon:vc,UserRoundIcon:Lc,UserRoundMinus:xc,UserRoundMinusIcon:xc,UserRoundPen:ZM,UserRoundPenIcon:ZM,UserRoundPlus:Mc,UserRoundPlusIcon:Mc,UserRoundSearch:XM,UserRoundSearchIcon:XM,UserRoundX:_c,UserRoundXIcon:_c,UserSearch:YM,UserSearchIcon:YM,UserSquare:dc,UserSquare2:sc,UserSquare2Icon:sc,UserSquareIcon:dc,UserStar:JM,UserStarIcon:JM,UserX:QM,UserX2:_c,UserX2Icon:_c,UserXIcon:QM,Users:t_,Users2:Ic,Users2Icon:Ic,UsersIcon:t_,UsersRound:Ic,UsersRoundIcon:Ic,Utensils:wc,UtensilsCrossed:bc,UtensilsCrossedIcon:bc,UtensilsIcon:wc,UtilityPole:a_,UtilityPoleIcon:a_,Variable:n_,VariableIcon:n_,Vault:o_,VaultIcon:o_,VectorSquare:c_,VectorSquareIcon:c_,Vegan:i_,VeganIcon:i_,VenetianMask:r_,VenetianMaskIcon:r_,Venus:h_,VenusAndMars:s_,VenusAndMarsIcon:s_,VenusIcon:h_,Verified:ta,VerifiedIcon:ta,Vibrate:l_,VibrateIcon:l_,VibrateOff:d_,VibrateOffIcon:d_,Video:p_,VideoIcon:p_,VideoOff:u_,VideoOffIcon:u_,Videotape:y_,VideotapeIcon:y_,View:m_,ViewIcon:m_,Voicemail:k_,VoicemailIcon:k_,Volleyball:f_,VolleyballIcon:f_,Volume:L_,Volume1:g_,Volume1Icon:g_,Volume2:v_,Volume2Icon:v_,VolumeIcon:L_,VolumeOff:x_,VolumeOffIcon:x_,VolumeX:M_,VolumeXIcon:M_,Vote:__,VoteIcon:__,Wallet:b_,Wallet2:Cc,Wallet2Icon:Cc,WalletCards:I_,WalletCardsIcon:I_,WalletIcon:b_,WalletMinimal:Cc,WalletMinimalIcon:Cc,Wallpaper:w_,WallpaperIcon:w_,Wand:C_,Wand2:Nc,Wand2Icon:Nc,WandIcon:C_,WandSparkles:Nc,WandSparklesIcon:Nc,Warehouse:N_,WarehouseIcon:N_,WashingMachine:S_,WashingMachineIcon:S_,Watch:j_,WatchIcon:j_,Waves:q_,WavesIcon:q_,WavesLadder:$_,WavesLadderIcon:$_,Waypoints:A_,WaypointsIcon:A_,Webcam:z_,WebcamIcon:z_,Webhook:T_,WebhookIcon:T_,WebhookOff:V_,WebhookOffIcon:V_,Weight:P_,WeightIcon:P_,Wheat:D_,WheatIcon:D_,WheatOff:H_,WheatOffIcon:H_,WholeWord:B_,WholeWordIcon:B_,Wifi:K_,WifiCog:R_,WifiCogIcon:R_,WifiHigh:F_,WifiHighIcon:F_,WifiIcon:K_,WifiLow:E_,WifiLowIcon:E_,WifiOff:O_,WifiOffIcon:O_,WifiPen:U_,WifiPenIcon:U_,WifiSync:W_,WifiSyncIcon:W_,WifiZero:G_,WifiZeroIcon:G_,Wind:X_,WindArrowDown:Z_,WindArrowDownIcon:Z_,WindIcon:X_,Wine:J_,WineIcon:J_,WineOff:Y_,WineOffIcon:Y_,Workflow:Q_,WorkflowIcon:Q_,Worm:eL,WormIcon:eL,WrapText:tL,WrapTextIcon:tL,Wrench:aL,WrenchIcon:aL,X:at,XCircle:qt,XCircleIcon:qt,XIcon:at,XOctagon:Wn,XOctagonIcon:Wn,XSquare:lc,XSquareIcon:lc,Youtube:oL,YoutubeIcon:oL,Zap:cL,ZapIcon:cL,ZapOff:nL,ZapOffIcon:nL,ZoomIn:iL,ZoomInIcon:iL,ZoomOut:rL,ZoomOutIcon:rL,createLucideIcon:a.createLucideIcon,icons:W2e},Symbol.toStringTag,{value:"Module"})),G2e=({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(Gb,{...f})}),o.jsxs("div",{className:"progress-row-double",children:[o.jsx("div",{className:"progress-item",children:o.jsx(Wj,{...d})}),o.jsx("div",{className:"progress-item",children:o.jsx(Gb,{...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}})})]})},Gj=k.createContext(void 0),ft=()=>{const e=k.useContext(Gj);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},K2e=({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(Gj.Provider,{value:{activeNav:n,setActiveNav:c,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},Kj=({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 _=v=>{p.current&&!p.current.contains(v.target)&&l(!1)};return document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[i]),k.useEffect(()=>{if(d&&c==="auto"&&y.current){const _=y.current.getBoundingClientRect(),v=window.innerWidth/2;u(_.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(_=>!_),"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((_,v)=>o.jsxs("div",{className:"dropdown-category",children:[_.title&&o.jsx("div",{className:"category-title",children:_.title}),o.jsx("div",{className:"category-items",children:_.items.map((I,b)=>{const w=I.id??I.label,C=f===w||g===w,M=I.select??r;if(I.id==="language"){if(!M||!Array.isArray(M.options)||!M.onChange)return o.jsx("div",{className:"dropdown-language"},b);const j=Array.isArray(M.options)?M.options:[],S=j.some(q=>q.code===M.value)?j:[{code:M.value??"",label:String(M.value??"")},...j];return o.jsx("div",{className:"dropdown-language",children:o.jsx("select",{name:M.name??"language",className:"language-select",value:M.value??"",onChange:q=>{const B=q.target.value;try{M.onChange(B)}catch(H){console.error("select onChange error",H)}},children:S.map(q=>o.jsx("option",{value:q.code,children:q.label},q.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))]})]})},Zj=({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:_=!1})=>{const[v,I]=k.useState([]);k.useEffect(()=>{const L=q=>{const B=[];return k.Children.forEach(q,H=>{Array.isArray(H)?B.push(...L(H)):k.isValidElement(H)&&B.push(H)}),B},N=L(e).filter(q=>k.isValidElement(q)).map(q=>{let B="";const H=q.props;return B=[H.xs?`grid-xs-${H.xs}`:"",H.sm?`grid-sm-${H.sm}`:"",H.md?`grid-md-${H.md}`:"",H.lg?`grid-lg-${H.lg}`:"",H.xl?`grid-xl-${H.xl}`:"",H.className?H.className:""].join(" ").trim(),{node:q,classes:B}});let S=N;g&&g.length>0&&(S=N.map((q,B)=>({...q,node:N[g[B]]?.node??q.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 q=[...v];let B=-1,H=-1;if(q.forEach((A,$)=>{if(k.isValidElement(A.node)){const D=A.node.props;D.uniqueKey===j&&(B=$),D.uniqueKey===N&&(H=$)}}),B===-1||H===-1)return;const z=q[H].node;q[H]={...q[H],node:q[B].node},q[B]={...q[B],node:z},I(q),typeof m=="function"&&m(H,B)},M=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 ${M}`,style:{"--gap-grid":`${h}rem`,...y},children:v.map(L=>L.node.type?.displayName==="Grid"?x?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})};Zj.displayName="Grid";const IL=({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"})},Kb=({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:X(d,e),...l,children:t}):o.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:X(d,e),role:c?"button":"presentation",tabIndex:c?0:-1,...l,children:t})},Xj=({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],_=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 ${_}`,children:e.map(v=>o.jsx(Kb,{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(Kb,{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))})})},Yj=k.createContext(void 0),Z2e=({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(Yj.Provider,{value:{themeName:n,setTheme:i},children:e})},Jj=()=>{const e=k.useContext(Yj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},bL=()=>{const{themeName:e,setTheme:t}=Jj(),n=k.useCallback(c=>{t(c)},[t]);return{currentTheme:e,switchTheme:n}},K1=({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:X(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})]})]})},Zb=({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}=bL(),[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(K1,{leftIcon:n,rightIcon:c,checked:p,onToggle:y,colors:i,size:r,a11yConfig:s})},X2e=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"})),_C=k.memo(X2e),Qj=k.createContext(void 0),Y2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("isDraggable");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("isDraggable",String(t))},[t]);const c=i=>{n(i)};return o.jsx(Qj.Provider,{value:{isDraggable:t,switchDraggable:c},children:e})},e$=()=>{const e=k.useContext(Qj);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},pL=({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}=e$(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return o.jsx(K1,{leftIcon:e||o.jsx(_C,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(_C,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:c,a11yConfig:i})},J2e=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"})),LC=k.memo(J2e),t$=k.createContext(void 0),Q2e=({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(t$.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:c},children:e})},a$=()=>{const e=k.useContext(t$);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},yL=({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}=a$(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return o.jsx(K1,{leftIcon:e||o.jsx(LC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(LC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:c,a11yConfig:i})},n$=k.createContext(void 0),ede=({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(n$.Provider,{value:{showData:t,switchShowData:c},children:e})},o$=()=>{const e=k.useContext(n$);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},tde=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"})),IC=k.memo(tde),kL=({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}=o$(),[r,s]=k.useState(!1);return k.useEffect(()=>{s(!0)},[]),r?o.jsx(K1,{checked:c,onToggle:d=>i(d),size:e,leftIcon:o.jsx(IC,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:o.jsx(IC,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t,a11yConfig:n}):null},ade=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"})),c$=k.memo(ade);function Xb({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(c$,{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 nde=({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,_=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(IL,{imagePath:e})}),o.jsx(Xj,{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(pL,{}),m&&o.jsx(kL,{}),x&&o.jsx(yL,{}),o.jsx(Zb,{}),_&&o.jsx(Xb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),o.jsx(Kj,{categories:c?.categories,buttonContent:c?.buttonContent,topContent:o.jsxs("div",{className:"dropdown-switchers",children:[g&&o.jsx(pL,{}),m&&o.jsx(kL,{}),x&&o.jsx(yL,{}),o.jsx(Zb,{}),_&&o.jsx(Xb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},i$=({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:X(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})]})},Pc=e=>typeof e=="number"?`${e}px`:e,ode=({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:_="#ffffff",borderColor:v="#D2D6D8",width:I,className:b,onClick:w,ariaLabel:C,a11yConfig:M,titleA11yConfig:L,entryLabelA11yConfig:j,exitLabelA11yConfig:N})=>{const S=X(M),q=X(L,L?.titleKey?void 0:e),B=X(j,j?.titleKey?void 0:c),H=X(N,N?.titleKey?void 0:r);return o.jsxs(cde,{$width:I,$borderColor:v,className:b,onClick:w,role:w?"button":"group","aria-label":C||e,title:S,tabIndex:w?0:void 0,onKeyDown:z=>w&&z.key==="Enter"&&w(),children:[o.jsxs(ide,{$bgColor:n,$borderColor:v,children:[e&&o.jsx(sde,{$color:t,$fontSize:f,$fontWeight:g,$lineHeight:m,$minHeight:x,title:q,children:e}),(i||s)&&o.jsxs(dde,{children:[i&&o.jsxs(bC,{children:[o.jsx(wC,{$color:d,$fontSize:l,$fontWeight:h,$lineHeight:u,title:B,children:c}),o.jsx(CC,{$color:p,children:i})]}),s&&o.jsxs(bC,{children:[o.jsx(wC,{$color:d,$fontSize:l,$fontWeight:h,$lineHeight:u,title:H,children:r}),o.jsx(CC,{$color:p,children:s})]})]}),o.jsx(rde,{$bgColor:n})]}),y.length>0&&o.jsx(lde,{$bgColor:_,children:y.map((z,A)=>o.jsxs(hde,{title:X(z.a11yConfig),children:[z.icon&&o.jsx(ude,{"aria-hidden":"true",children:z.icon}),o.jsx(pde,{$fontSize:f,$fontWeight:g,$lineHeight:m,children:z.text})]},A))})]})},cde=E.div`
8161
+ */const _t=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:yi,AArrowDownIcon:yi,AArrowUp:ki,AArrowUpIcon:ki,ALargeSmall:mi,ALargeSmallIcon:mi,Accessibility:L1,AccessibilityIcon:L1,Activity:I1,ActivityIcon:I1,ActivitySquare:Vt,ActivitySquareIcon:Vt,AirVent:fi,AirVentIcon:fi,Airplay:gi,AirplayIcon:gi,AlarmCheck:Ut,AlarmCheckIcon:Ut,AlarmClock:xi,AlarmClockCheck:Ut,AlarmClockCheckIcon:Ut,AlarmClockIcon:xi,AlarmClockMinus:Wt,AlarmClockMinusIcon:Wt,AlarmClockOff:vi,AlarmClockOffIcon:vi,AlarmClockPlus:Gt,AlarmClockPlusIcon:Gt,AlarmMinus:Wt,AlarmMinusIcon:Wt,AlarmPlus:Gt,AlarmPlusIcon:Gt,AlarmSmoke:Mi,AlarmSmokeIcon:Mi,Album:_i,AlbumIcon:_i,AlertCircle:Ma,AlertCircleIcon:Ma,AlertOctagon:On,AlertOctagonIcon:On,AlertTriangle:kc,AlertTriangleIcon:kc,AlignCenter:Ni,AlignCenterHorizontal:Li,AlignCenterHorizontalIcon:Li,AlignCenterIcon:Ni,AlignCenterVertical:Ii,AlignCenterVerticalIcon:Ii,AlignEndHorizontal:bi,AlignEndHorizontalIcon:bi,AlignEndVertical:wi,AlignEndVerticalIcon:wi,AlignHorizontalDistributeCenter:Ci,AlignHorizontalDistributeCenterIcon:Ci,AlignHorizontalDistributeEnd:Si,AlignHorizontalDistributeEndIcon:Si,AlignHorizontalDistributeStart:ji,AlignHorizontalDistributeStartIcon:ji,AlignHorizontalJustifyCenter:$i,AlignHorizontalJustifyCenterIcon:$i,AlignHorizontalJustifyEnd:qi,AlignHorizontalJustifyEndIcon:qi,AlignHorizontalJustifyStart:Ai,AlignHorizontalJustifyStartIcon:Ai,AlignHorizontalSpaceAround:zi,AlignHorizontalSpaceAroundIcon:zi,AlignHorizontalSpaceBetween:Pi,AlignHorizontalSpaceBetweenIcon:Pi,AlignJustify:Vi,AlignJustifyIcon:Vi,AlignLeft:Ti,AlignLeftIcon:Ti,AlignRight:Hi,AlignRightIcon:Hi,AlignStartHorizontal:Di,AlignStartHorizontalIcon:Di,AlignStartVertical:Bi,AlignStartVerticalIcon:Bi,AlignVerticalDistributeCenter:Fi,AlignVerticalDistributeCenterIcon:Fi,AlignVerticalDistributeEnd:Ri,AlignVerticalDistributeEndIcon:Ri,AlignVerticalDistributeStart:Oi,AlignVerticalDistributeStartIcon:Oi,AlignVerticalJustifyCenter:Ei,AlignVerticalJustifyCenterIcon:Ei,AlignVerticalJustifyEnd:Ui,AlignVerticalJustifyEndIcon:Ui,AlignVerticalJustifyStart:Wi,AlignVerticalJustifyStartIcon:Wi,AlignVerticalSpaceAround:Ki,AlignVerticalSpaceAroundIcon:Ki,AlignVerticalSpaceBetween:Gi,AlignVerticalSpaceBetweenIcon:Gi,Ambulance:Zi,AmbulanceIcon:Zi,Ampersand:Xi,AmpersandIcon:Xi,Ampersands:Yi,AmpersandsIcon:Yi,Amphora:Ji,AmphoraIcon:Ji,Anchor:Qi,AnchorIcon:Qi,Angry:er,AngryIcon:er,Annoyed:tr,AnnoyedIcon:tr,Antenna:ar,AntennaIcon:ar,Anvil:nr,AnvilIcon:nr,Aperture:or,ApertureIcon:or,AppWindow:ir,AppWindowIcon:ir,AppWindowMac:cr,AppWindowMacIcon:cr,Apple:rr,AppleIcon:rr,Archive:lr,ArchiveIcon:lr,ArchiveRestore:sr,ArchiveRestoreIcon:sr,ArchiveX:dr,ArchiveXIcon:dr,AreaChart:sa,AreaChartIcon:sa,Armchair:hr,ArmchairIcon:hr,ArrowBigDown:pr,ArrowBigDownDash:ur,ArrowBigDownDashIcon:ur,ArrowBigDownIcon:pr,ArrowBigLeft:kr,ArrowBigLeftDash:yr,ArrowBigLeftDashIcon:yr,ArrowBigLeftIcon:kr,ArrowBigRight:fr,ArrowBigRightDash:mr,ArrowBigRightDashIcon:mr,ArrowBigRightIcon:fr,ArrowBigUp:vr,ArrowBigUpDash:gr,ArrowBigUpDashIcon:gr,ArrowBigUpIcon:vr,ArrowDown:e1,ArrowDown01:xr,ArrowDown01Icon:xr,ArrowDown10:Mr,ArrowDown10Icon:Mr,ArrowDownAZ:Kt,ArrowDownAZIcon:Kt,ArrowDownAz:Kt,ArrowDownAzIcon:Kt,ArrowDownCircle:_a,ArrowDownCircleIcon:_a,ArrowDownFromLine:_r,ArrowDownFromLineIcon:_r,ArrowDownIcon:e1,ArrowDownLeft:Lr,ArrowDownLeftFromCircle:Ia,ArrowDownLeftFromCircleIcon:Ia,ArrowDownLeftFromSquare:go,ArrowDownLeftFromSquareIcon:go,ArrowDownLeftIcon:Lr,ArrowDownLeftSquare:yo,ArrowDownLeftSquareIcon:yo,ArrowDownNarrowWide:Ir,ArrowDownNarrowWideIcon:Ir,ArrowDownRight:br,ArrowDownRightFromCircle:ba,ArrowDownRightFromCircleIcon:ba,ArrowDownRightFromSquare:vo,ArrowDownRightFromSquareIcon:vo,ArrowDownRightIcon:br,ArrowDownRightSquare:ko,ArrowDownRightSquareIcon:ko,ArrowDownSquare:mo,ArrowDownSquareIcon:mo,ArrowDownToDot:wr,ArrowDownToDotIcon:wr,ArrowDownToLine:Cr,ArrowDownToLineIcon:Cr,ArrowDownUp:Nr,ArrowDownUpIcon:Nr,ArrowDownWideNarrow:Zt,ArrowDownWideNarrowIcon:Zt,ArrowDownZA:Xt,ArrowDownZAIcon:Xt,ArrowDownZa:Xt,ArrowDownZaIcon:Xt,ArrowLeft:b1,ArrowLeftCircle:La,ArrowLeftCircleIcon:La,ArrowLeftFromLine:Sr,ArrowLeftFromLineIcon:Sr,ArrowLeftIcon:b1,ArrowLeftRight:jr,ArrowLeftRightIcon:jr,ArrowLeftSquare:fo,ArrowLeftSquareIcon:fo,ArrowLeftToLine:$r,ArrowLeftToLineIcon:$r,ArrowRight:Vr,ArrowRightCircle:Na,ArrowRightCircleIcon:Na,ArrowRightFromLine:qr,ArrowRightFromLineIcon:qr,ArrowRightIcon:Vr,ArrowRightLeft:Ar,ArrowRightLeftIcon:Ar,ArrowRightSquare:_o,ArrowRightSquareIcon:_o,ArrowRightToLine:zr,ArrowRightToLineIcon:zr,ArrowUp:t1,ArrowUp01:Pr,ArrowUp01Icon:Pr,ArrowUp10:Tr,ArrowUp10Icon:Tr,ArrowUpAZ:Yt,ArrowUpAZIcon:Yt,ArrowUpAz:Yt,ArrowUpAzIcon:Yt,ArrowUpCircle:Sa,ArrowUpCircleIcon:Sa,ArrowUpDown:Hr,ArrowUpDownIcon:Hr,ArrowUpFromDot:Dr,ArrowUpFromDotIcon:Dr,ArrowUpFromLine:Br,ArrowUpFromLineIcon:Br,ArrowUpIcon:t1,ArrowUpLeft:Rr,ArrowUpLeftFromCircle:wa,ArrowUpLeftFromCircleIcon:wa,ArrowUpLeftFromSquare:xo,ArrowUpLeftFromSquareIcon:xo,ArrowUpLeftIcon:Rr,ArrowUpLeftSquare:Lo,ArrowUpLeftSquareIcon:Lo,ArrowUpNarrowWide:Jt,ArrowUpNarrowWideIcon:Jt,ArrowUpRight:Fr,ArrowUpRightFromCircle:Ca,ArrowUpRightFromCircleIcon:Ca,ArrowUpRightFromSquare:Mo,ArrowUpRightFromSquareIcon:Mo,ArrowUpRightIcon:Fr,ArrowUpRightSquare:Io,ArrowUpRightSquareIcon:Io,ArrowUpSquare:bo,ArrowUpSquareIcon:bo,ArrowUpToLine:Er,ArrowUpToLineIcon:Er,ArrowUpWideNarrow:Or,ArrowUpWideNarrowIcon:Or,ArrowUpZA:Qt,ArrowUpZAIcon:Qt,ArrowUpZa:Qt,ArrowUpZaIcon:Qt,ArrowsUpFromLine:Ur,ArrowsUpFromLineIcon:Ur,Asterisk:Wr,AsteriskIcon:Wr,AsteriskSquare:wo,AsteriskSquareIcon:wo,AtSign:Gr,AtSignIcon:Gr,Atom:Kr,AtomIcon:Kr,AudioLines:Zr,AudioLinesIcon:Zr,AudioWaveform:Xr,AudioWaveformIcon:Xr,Award:Yr,AwardIcon:Yr,Axe:Jr,AxeIcon:Jr,Axis3D:ea,Axis3DIcon:ea,Axis3d:ea,Axis3dIcon:ea,Baby:Qr,BabyIcon:Qr,Backpack:es,BackpackIcon:es,Badge:ms,BadgeAlert:ts,BadgeAlertIcon:ts,BadgeCent:as,BadgeCentIcon:as,BadgeCheck:ta,BadgeCheckIcon:ta,BadgeDollarSign:ns,BadgeDollarSignIcon:ns,BadgeEuro:os,BadgeEuroIcon:os,BadgeHelp:aa,BadgeHelpIcon:aa,BadgeIcon:ms,BadgeIndianRupee:cs,BadgeIndianRupeeIcon:cs,BadgeInfo:is,BadgeInfoIcon:is,BadgeJapaneseYen:ss,BadgeJapaneseYenIcon:ss,BadgeMinus:rs,BadgeMinusIcon:rs,BadgePercent:ds,BadgePercentIcon:ds,BadgePlus:ls,BadgePlusIcon:ls,BadgePoundSterling:hs,BadgePoundSterlingIcon:hs,BadgeQuestionMark:aa,BadgeQuestionMarkIcon:aa,BadgeRussianRuble:us,BadgeRussianRubleIcon:us,BadgeSwissFranc:ps,BadgeSwissFrancIcon:ps,BadgeTurkishLira:ys,BadgeTurkishLiraIcon:ys,BadgeX:ks,BadgeXIcon:ks,BaggageClaim:fs,BaggageClaimIcon:fs,Ban:gs,BanIcon:gs,Banana:vs,BananaIcon:vs,Bandage:xs,BandageIcon:xs,Banknote:Is,BanknoteArrowDown:Ms,BanknoteArrowDownIcon:Ms,BanknoteArrowUp:_s,BanknoteArrowUpIcon:_s,BanknoteIcon:Is,BanknoteX:Ls,BanknoteXIcon:Ls,BarChart:ma,BarChart2:fa,BarChart2Icon:fa,BarChart3:ya,BarChart3Icon:ya,BarChart4:pa,BarChart4Icon:pa,BarChartBig:ua,BarChartBigIcon:ua,BarChartHorizontal:la,BarChartHorizontalBig:da,BarChartHorizontalBigIcon:da,BarChartHorizontalIcon:la,BarChartIcon:ma,Barcode:bs,BarcodeIcon:bs,Barrel:ws,BarrelIcon:ws,Baseline:Cs,BaselineIcon:Cs,Bath:Ns,BathIcon:Ns,Battery:Vs,BatteryCharging:Ss,BatteryChargingIcon:Ss,BatteryFull:js,BatteryFullIcon:js,BatteryIcon:Vs,BatteryLow:$s,BatteryLowIcon:$s,BatteryMedium:qs,BatteryMediumIcon:qs,BatteryPlus:As,BatteryPlusIcon:As,BatteryWarning:zs,BatteryWarningIcon:zs,Beaker:Ps,BeakerIcon:Ps,Bean:Hs,BeanIcon:Hs,BeanOff:Ts,BeanOffIcon:Ts,Bed:Rs,BedDouble:Ds,BedDoubleIcon:Ds,BedIcon:Rs,BedSingle:Bs,BedSingleIcon:Bs,Beef:Fs,BeefIcon:Fs,Beer:Os,BeerIcon:Os,BeerOff:Es,BeerOffIcon:Es,Bell:Xs,BellDot:Us,BellDotIcon:Us,BellElectric:Ws,BellElectricIcon:Ws,BellIcon:Xs,BellMinus:Gs,BellMinusIcon:Gs,BellOff:Ks,BellOffIcon:Ks,BellPlus:Zs,BellPlusIcon:Zs,BellRing:Ys,BellRingIcon:Ys,BetweenHorizonalEnd:na,BetweenHorizonalEndIcon:na,BetweenHorizonalStart:oa,BetweenHorizonalStartIcon:oa,BetweenHorizontalEnd:na,BetweenHorizontalEndIcon:na,BetweenHorizontalStart:oa,BetweenHorizontalStartIcon:oa,BetweenVerticalEnd:Qs,BetweenVerticalEndIcon:Qs,BetweenVerticalStart:Js,BetweenVerticalStartIcon:Js,BicepsFlexed:e2,BicepsFlexedIcon:e2,Bike:a2,BikeIcon:a2,Binary:t2,BinaryIcon:t2,Binoculars:n2,BinocularsIcon:n2,Biohazard:o2,BiohazardIcon:o2,Bird:c2,BirdIcon:c2,Bitcoin:i2,BitcoinIcon:i2,Blend:r2,BlendIcon:r2,Blinds:s2,BlindsIcon:s2,Blocks:d2,BlocksIcon:d2,Bluetooth:p2,BluetoothConnected:l2,BluetoothConnectedIcon:l2,BluetoothIcon:p2,BluetoothOff:h2,BluetoothOffIcon:h2,BluetoothSearching:u2,BluetoothSearchingIcon:u2,Bold:y2,BoldIcon:y2,Bolt:k2,BoltIcon:k2,Bomb:m2,BombIcon:m2,Bone:f2,BoneIcon:f2,Book:R2,BookA:g2,BookAIcon:g2,BookAlert:v2,BookAlertIcon:v2,BookAudio:x2,BookAudioIcon:x2,BookCheck:M2,BookCheckIcon:M2,BookCopy:_2,BookCopyIcon:_2,BookDashed:ca,BookDashedIcon:ca,BookDown:L2,BookDownIcon:L2,BookHeadphones:I2,BookHeadphonesIcon:I2,BookHeart:b2,BookHeartIcon:b2,BookIcon:R2,BookImage:w2,BookImageIcon:w2,BookKey:C2,BookKeyIcon:C2,BookLock:N2,BookLockIcon:N2,BookMarked:j2,BookMarkedIcon:j2,BookMinus:S2,BookMinusIcon:S2,BookOpen:A2,BookOpenCheck:$2,BookOpenCheckIcon:$2,BookOpenIcon:A2,BookOpenText:q2,BookOpenTextIcon:q2,BookPlus:z2,BookPlusIcon:z2,BookTemplate:ca,BookTemplateIcon:ca,BookText:V2,BookTextIcon:V2,BookType:P2,BookTypeIcon:P2,BookUp:H2,BookUp2:T2,BookUp2Icon:T2,BookUpIcon:H2,BookUser:D2,BookUserIcon:D2,BookX:B2,BookXIcon:B2,Bookmark:W2,BookmarkCheck:F2,BookmarkCheckIcon:F2,BookmarkIcon:W2,BookmarkMinus:E2,BookmarkMinusIcon:E2,BookmarkPlus:O2,BookmarkPlusIcon:O2,BookmarkX:U2,BookmarkXIcon:U2,BoomBox:G2,BoomBoxIcon:G2,Bot:X2,BotIcon:X2,BotMessageSquare:K2,BotMessageSquareIcon:K2,BotOff:Z2,BotOffIcon:Z2,BottleWine:Y2,BottleWineIcon:Y2,BowArrow:J2,BowArrowIcon:J2,Box:Q2,BoxIcon:Q2,BoxSelect:To,BoxSelectIcon:To,Boxes:ed,BoxesIcon:ed,Braces:ia,BracesIcon:ia,Brackets:td,BracketsIcon:td,Brain:od,BrainCircuit:ad,BrainCircuitIcon:ad,BrainCog:nd,BrainCogIcon:nd,BrainIcon:od,BrickWall:rd,BrickWallFire:cd,BrickWallFireIcon:cd,BrickWallIcon:rd,BrickWallShield:id,BrickWallShieldIcon:id,Briefcase:hd,BriefcaseBusiness:sd,BriefcaseBusinessIcon:sd,BriefcaseConveyorBelt:dd,BriefcaseConveyorBeltIcon:dd,BriefcaseIcon:hd,BriefcaseMedical:ld,BriefcaseMedicalIcon:ld,BringToFront:ud,BringToFrontIcon:ud,Brush:yd,BrushCleaning:pd,BrushCleaningIcon:pd,BrushIcon:yd,Bubbles:kd,BubblesIcon:kd,Bug:vd,BugIcon:vd,BugOff:md,BugOffIcon:md,BugPlay:fd,BugPlayIcon:fd,Building:xd,Building2:gd,Building2Icon:gd,BuildingIcon:xd,Bus:_d,BusFront:Md,BusFrontIcon:Md,BusIcon:_d,Cable:Id,CableCar:Ld,CableCarIcon:Ld,CableIcon:Id,Cake:wd,CakeIcon:wd,CakeSlice:bd,CakeSliceIcon:bd,Calculator:Cd,CalculatorIcon:Cd,Calendar:w1,Calendar1:Nd,Calendar1Icon:Nd,CalendarArrowDown:Sd,CalendarArrowDownIcon:Sd,CalendarArrowUp:jd,CalendarArrowUpIcon:jd,CalendarCheck:qd,CalendarCheck2:$d,CalendarCheck2Icon:$d,CalendarCheckIcon:qd,CalendarClock:Ad,CalendarClockIcon:Ad,CalendarCog:zd,CalendarCogIcon:zd,CalendarDays:Vd,CalendarDaysIcon:Vd,CalendarFold:Pd,CalendarFoldIcon:Pd,CalendarHeart:Td,CalendarHeartIcon:Td,CalendarIcon:w1,CalendarMinus:Dd,CalendarMinus2:Hd,CalendarMinus2Icon:Hd,CalendarMinusIcon:Dd,CalendarOff:Bd,CalendarOffIcon:Bd,CalendarPlus:Fd,CalendarPlus2:Rd,CalendarPlus2Icon:Rd,CalendarPlusIcon:Fd,CalendarRange:Ed,CalendarRangeIcon:Ed,CalendarSearch:Od,CalendarSearchIcon:Od,CalendarSync:Ud,CalendarSyncIcon:Ud,CalendarX:Gd,CalendarX2:Wd,CalendarX2Icon:Wd,CalendarXIcon:Gd,Camera:Zd,CameraIcon:Zd,CameraOff:Kd,CameraOffIcon:Kd,CandlestickChart:ha,CandlestickChartIcon:ha,Candy:Jd,CandyCane:Xd,CandyCaneIcon:Xd,CandyIcon:Jd,CandyOff:Yd,CandyOffIcon:Yd,Cannabis:Qd,CannabisIcon:Qd,Captions:ra,CaptionsIcon:ra,CaptionsOff:e0,CaptionsOffIcon:e0,Car:n0,CarFront:t0,CarFrontIcon:t0,CarIcon:n0,CarTaxiFront:a0,CarTaxiFrontIcon:a0,Caravan:o0,CaravanIcon:o0,CardSim:c0,CardSimIcon:c0,Carrot:i0,CarrotIcon:i0,CaseLower:r0,CaseLowerIcon:r0,CaseSensitive:s0,CaseSensitiveIcon:s0,CaseUpper:d0,CaseUpperIcon:d0,CassetteTape:l0,CassetteTapeIcon:l0,Cast:h0,CastIcon:h0,Castle:p0,CastleIcon:p0,Cat:u0,CatIcon:u0,Cctv:y0,CctvIcon:y0,ChartArea:sa,ChartAreaIcon:sa,ChartBar:la,ChartBarBig:da,ChartBarBigIcon:da,ChartBarDecreasing:k0,ChartBarDecreasingIcon:k0,ChartBarIcon:la,ChartBarIncreasing:m0,ChartBarIncreasingIcon:m0,ChartBarStacked:f0,ChartBarStackedIcon:f0,ChartCandlestick:ha,ChartCandlestickIcon:ha,ChartColumn:ya,ChartColumnBig:ua,ChartColumnBigIcon:ua,ChartColumnDecreasing:g0,ChartColumnDecreasingIcon:g0,ChartColumnIcon:ya,ChartColumnIncreasing:pa,ChartColumnIncreasingIcon:pa,ChartColumnStacked:v0,ChartColumnStackedIcon:v0,ChartGantt:x0,ChartGanttIcon:x0,ChartLine:ka,ChartLineIcon:ka,ChartNetwork:M0,ChartNetworkIcon:M0,ChartNoAxesColumn:fa,ChartNoAxesColumnDecreasing:_0,ChartNoAxesColumnDecreasingIcon:_0,ChartNoAxesColumnIcon:fa,ChartNoAxesColumnIncreasing:ma,ChartNoAxesColumnIncreasingIcon:ma,ChartNoAxesCombined:L0,ChartNoAxesCombinedIcon:L0,ChartNoAxesGantt:ga,ChartNoAxesGanttIcon:ga,ChartPie:va,ChartPieIcon:va,ChartScatter:xa,ChartScatterIcon:xa,ChartSpline:I0,ChartSplineIcon:I0,Check:C1,CheckCheck:b0,CheckCheckIcon:b0,CheckCircle:ja,CheckCircle2:$a,CheckCircle2Icon:$a,CheckCircleIcon:ja,CheckIcon:C1,CheckLine:w0,CheckLineIcon:w0,CheckSquare:No,CheckSquare2:So,CheckSquare2Icon:So,CheckSquareIcon:No,ChefHat:C0,ChefHatIcon:C0,Cherry:N0,CherryIcon:N0,ChevronDown:Ht,ChevronDownCircle:qa,ChevronDownCircleIcon:qa,ChevronDownIcon:Ht,ChevronDownSquare:jo,ChevronDownSquareIcon:jo,ChevronFirst:S0,ChevronFirstIcon:S0,ChevronLast:j0,ChevronLastIcon:j0,ChevronLeft:$0,ChevronLeftCircle:Aa,ChevronLeftCircleIcon:Aa,ChevronLeftIcon:$0,ChevronLeftSquare:$o,ChevronLeftSquareIcon:$o,ChevronRight:N1,ChevronRightCircle:za,ChevronRightCircleIcon:za,ChevronRightIcon:N1,ChevronRightSquare:qo,ChevronRightSquareIcon:qo,ChevronUp:Ac,ChevronUpCircle:Va,ChevronUpCircleIcon:Va,ChevronUpIcon:Ac,ChevronUpSquare:Ao,ChevronUpSquareIcon:Ao,ChevronsDown:A0,ChevronsDownIcon:A0,ChevronsDownUp:q0,ChevronsDownUpIcon:q0,ChevronsLeft:V0,ChevronsLeftIcon:V0,ChevronsLeftRight:z0,ChevronsLeftRightEllipsis:P0,ChevronsLeftRightEllipsisIcon:P0,ChevronsLeftRightIcon:z0,ChevronsRight:H0,ChevronsRightIcon:H0,ChevronsRightLeft:T0,ChevronsRightLeftIcon:T0,ChevronsUp:D0,ChevronsUpDown:a1,ChevronsUpDownIcon:a1,ChevronsUpIcon:D0,Chrome:B0,ChromeIcon:B0,Church:R0,ChurchIcon:R0,Cigarette:E0,CigaretteIcon:E0,CigaretteOff:F0,CigaretteOffIcon:F0,Circle:nl,CircleAlert:Ma,CircleAlertIcon:Ma,CircleArrowDown:_a,CircleArrowDownIcon:_a,CircleArrowLeft:La,CircleArrowLeftIcon:La,CircleArrowOutDownLeft:Ia,CircleArrowOutDownLeftIcon:Ia,CircleArrowOutDownRight:ba,CircleArrowOutDownRightIcon:ba,CircleArrowOutUpLeft:wa,CircleArrowOutUpLeftIcon:wa,CircleArrowOutUpRight:Ca,CircleArrowOutUpRightIcon:Ca,CircleArrowRight:Na,CircleArrowRightIcon:Na,CircleArrowUp:Sa,CircleArrowUpIcon:Sa,CircleCheck:$a,CircleCheckBig:ja,CircleCheckBigIcon:ja,CircleCheckIcon:$a,CircleChevronDown:qa,CircleChevronDownIcon:qa,CircleChevronLeft:Aa,CircleChevronLeftIcon:Aa,CircleChevronRight:za,CircleChevronRightIcon:za,CircleChevronUp:Va,CircleChevronUpIcon:Va,CircleDashed:O0,CircleDashedIcon:O0,CircleDivide:Pa,CircleDivideIcon:Pa,CircleDollarSign:W0,CircleDollarSignIcon:W0,CircleDot:G0,CircleDotDashed:U0,CircleDotDashedIcon:U0,CircleDotIcon:G0,CircleEllipsis:K0,CircleEllipsisIcon:K0,CircleEqual:Z0,CircleEqualIcon:Z0,CircleFadingArrowUp:Y0,CircleFadingArrowUpIcon:Y0,CircleFadingPlus:X0,CircleFadingPlusIcon:X0,CircleGauge:Ta,CircleGaugeIcon:Ta,CircleHelp:ht,CircleHelpIcon:ht,CircleIcon:nl,CircleMinus:Ha,CircleMinusIcon:Ha,CircleOff:J0,CircleOffIcon:J0,CircleParking:Ra,CircleParkingIcon:Ra,CircleParkingOff:Da,CircleParkingOffIcon:Da,CirclePause:Ba,CirclePauseIcon:Ba,CirclePercent:Fa,CirclePercentIcon:Fa,CirclePlay:Ea,CirclePlayIcon:Ea,CirclePlus:Oa,CirclePlusIcon:Oa,CirclePoundSterling:Q0,CirclePoundSterlingIcon:Q0,CirclePower:Ua,CirclePowerIcon:Ua,CircleQuestionMark:ht,CircleQuestionMarkIcon:ht,CircleSlash:el,CircleSlash2:Wa,CircleSlash2Icon:Wa,CircleSlashIcon:el,CircleSlashed:Wa,CircleSlashedIcon:Wa,CircleSmall:tl,CircleSmallIcon:tl,CircleStar:al,CircleStarIcon:al,CircleStop:Ga,CircleStopIcon:Ga,CircleUser:Za,CircleUserIcon:Za,CircleUserRound:Ka,CircleUserRoundIcon:Ka,CircleX:qt,CircleXIcon:qt,CircuitBoard:ol,CircuitBoardIcon:ol,Citrus:cl,CitrusIcon:cl,Clapperboard:il,ClapperboardIcon:il,Clipboard:ml,ClipboardCheck:rl,ClipboardCheckIcon:rl,ClipboardClock:sl,ClipboardClockIcon:sl,ClipboardCopy:dl,ClipboardCopyIcon:dl,ClipboardEdit:Ya,ClipboardEditIcon:Ya,ClipboardIcon:ml,ClipboardList:ll,ClipboardListIcon:ll,ClipboardMinus:hl,ClipboardMinusIcon:hl,ClipboardPaste:ul,ClipboardPasteIcon:ul,ClipboardPen:Ya,ClipboardPenIcon:Ya,ClipboardPenLine:Xa,ClipboardPenLineIcon:Xa,ClipboardPlus:pl,ClipboardPlusIcon:pl,ClipboardSignature:Xa,ClipboardSignatureIcon:Xa,ClipboardType:yl,ClipboardTypeIcon:yl,ClipboardX:kl,ClipboardXIcon:kl,Clock:zl,Clock1:gl,Clock10:fl,Clock10Icon:fl,Clock11:vl,Clock11Icon:vl,Clock12:xl,Clock12Icon:xl,Clock1Icon:gl,Clock2:Ml,Clock2Icon:Ml,Clock3:_l,Clock3Icon:_l,Clock4:Ll,Clock4Icon:Ll,Clock5:Il,Clock5Icon:Il,Clock6:bl,Clock6Icon:bl,Clock7:wl,Clock7Icon:wl,Clock8:Cl,Clock8Icon:Cl,Clock9:Nl,Clock9Icon:Nl,ClockAlert:Sl,ClockAlertIcon:Sl,ClockArrowDown:jl,ClockArrowDownIcon:jl,ClockArrowUp:$l,ClockArrowUpIcon:$l,ClockFading:ql,ClockFadingIcon:ql,ClockIcon:zl,ClockPlus:Al,ClockPlusIcon:Al,ClosedCaption:Vl,ClosedCaptionIcon:Vl,Cloud:Yl,CloudAlert:Pl,CloudAlertIcon:Pl,CloudCheck:Tl,CloudCheckIcon:Tl,CloudCog:Hl,CloudCogIcon:Hl,CloudDownload:Ja,CloudDownloadIcon:Ja,CloudDrizzle:Dl,CloudDrizzleIcon:Dl,CloudFog:Bl,CloudFogIcon:Bl,CloudHail:Rl,CloudHailIcon:Rl,CloudIcon:Yl,CloudLightning:Fl,CloudLightningIcon:Fl,CloudMoon:Ol,CloudMoonIcon:Ol,CloudMoonRain:El,CloudMoonRainIcon:El,CloudOff:Ul,CloudOffIcon:Ul,CloudRain:Gl,CloudRainIcon:Gl,CloudRainWind:Wl,CloudRainWindIcon:Wl,CloudSnow:Kl,CloudSnowIcon:Kl,CloudSun:Xl,CloudSunIcon:Xl,CloudSunRain:Zl,CloudSunRainIcon:Zl,CloudUpload:Qa,CloudUploadIcon:Qa,Cloudy:Jl,CloudyIcon:Jl,Clover:Ql,CloverIcon:Ql,Club:eh,ClubIcon:eh,Code:th,Code2:en,Code2Icon:en,CodeIcon:th,CodeSquare:zo,CodeSquareIcon:zo,CodeXml:en,CodeXmlIcon:en,Codepen:ah,CodepenIcon:ah,Codesandbox:nh,CodesandboxIcon:nh,Coffee:oh,CoffeeIcon:oh,Cog:ch,CogIcon:ch,Coins:ih,CoinsIcon:ih,Columns:tn,Columns2:tn,Columns2Icon:tn,Columns3:an,Columns3Cog:ut,Columns3CogIcon:ut,Columns3Icon:an,Columns4:rh,Columns4Icon:rh,ColumnsIcon:tn,ColumnsSettings:ut,ColumnsSettingsIcon:ut,Combine:sh,CombineIcon:sh,Command:dh,CommandIcon:dh,Compass:lh,CompassIcon:lh,Component:hh,ComponentIcon:hh,Computer:uh,ComputerIcon:uh,ConciergeBell:ph,ConciergeBellIcon:ph,Cone:yh,ConeIcon:yh,Construction:kh,ConstructionIcon:kh,Contact:mh,Contact2:nn,Contact2Icon:nn,ContactIcon:mh,ContactRound:nn,ContactRoundIcon:nn,Container:fh,ContainerIcon:fh,Contrast:vh,ContrastIcon:vh,Cookie:gh,CookieIcon:gh,CookingPot:Mh,CookingPotIcon:Mh,Copy:wh,CopyCheck:xh,CopyCheckIcon:xh,CopyIcon:wh,CopyMinus:_h,CopyMinusIcon:_h,CopyPlus:Lh,CopyPlusIcon:Lh,CopySlash:Ih,CopySlashIcon:Ih,CopyX:bh,CopyXIcon:bh,Copyleft:Ch,CopyleftIcon:Ch,Copyright:Nh,CopyrightIcon:Nh,CornerDownLeft:Sh,CornerDownLeftIcon:Sh,CornerDownRight:jh,CornerDownRightIcon:jh,CornerLeftDown:$h,CornerLeftDownIcon:$h,CornerLeftUp:qh,CornerLeftUpIcon:qh,CornerRightDown:Ah,CornerRightDownIcon:Ah,CornerRightUp:zh,CornerRightUpIcon:zh,CornerUpLeft:Vh,CornerUpLeftIcon:Vh,CornerUpRight:Ph,CornerUpRightIcon:Ph,Cpu:Th,CpuIcon:Th,CreativeCommons:Hh,CreativeCommonsIcon:Hh,CreditCard:Dh,CreditCardIcon:Dh,Croissant:Bh,CroissantIcon:Bh,Crop:Rh,CropIcon:Rh,Cross:Fh,CrossIcon:Fh,Crosshair:Eh,CrosshairIcon:Eh,Crown:Oh,CrownIcon:Oh,Cuboid:Uh,CuboidIcon:Uh,CupSoda:Wh,CupSodaIcon:Wh,CurlyBraces:ia,CurlyBracesIcon:ia,Currency:Gh,CurrencyIcon:Gh,Cylinder:Kh,CylinderIcon:Kh,Dam:Zh,DamIcon:Zh,Database:Jh,DatabaseBackup:Xh,DatabaseBackupIcon:Xh,DatabaseIcon:Jh,DatabaseZap:Yh,DatabaseZapIcon:Yh,DecimalsArrowLeft:Qh,DecimalsArrowLeftIcon:Qh,DecimalsArrowRight:eu,DecimalsArrowRightIcon:eu,Delete:tu,DeleteIcon:tu,Dessert:au,DessertIcon:au,Diameter:nu,DiameterIcon:nu,Diamond:iu,DiamondIcon:iu,DiamondMinus:ou,DiamondMinusIcon:ou,DiamondPercent:on,DiamondPercentIcon:on,DiamondPlus:cu,DiamondPlusIcon:cu,Dice1:ru,Dice1Icon:ru,Dice2:su,Dice2Icon:su,Dice3:du,Dice3Icon:du,Dice4:lu,Dice4Icon:lu,Dice5:hu,Dice5Icon:hu,Dice6:uu,Dice6Icon:uu,Dices:pu,DicesIcon:pu,Diff:yu,DiffIcon:yu,Disc:gu,Disc2:ku,Disc2Icon:ku,Disc3:mu,Disc3Icon:mu,DiscAlbum:fu,DiscAlbumIcon:fu,DiscIcon:gu,Divide:vu,DivideCircle:Pa,DivideCircleIcon:Pa,DivideIcon:vu,DivideSquare:Ho,DivideSquareIcon:Ho,Dna:Mu,DnaIcon:Mu,DnaOff:xu,DnaOffIcon:xu,Dock:_u,DockIcon:_u,Dog:Lu,DogIcon:Lu,DollarSign:Iu,DollarSignIcon:Iu,Donut:bu,DonutIcon:bu,DoorClosed:Cu,DoorClosedIcon:Cu,DoorClosedLocked:wu,DoorClosedLockedIcon:wu,DoorOpen:Nu,DoorOpenIcon:Nu,Dot:Su,DotIcon:Su,DotSquare:Bo,DotSquareIcon:Bo,Download:$u,DownloadCloud:Ja,DownloadCloudIcon:Ja,DownloadIcon:$u,DraftingCompass:ju,DraftingCompassIcon:ju,Drama:qu,DramaIcon:qu,Dribbble:Au,DribbbleIcon:Au,Drill:zu,DrillIcon:zu,Drone:Vu,DroneIcon:Vu,Droplet:Tu,DropletIcon:Tu,DropletOff:Pu,DropletOffIcon:Pu,Droplets:Hu,DropletsIcon:Hu,Drum:Du,DrumIcon:Du,Drumstick:Bu,DrumstickIcon:Bu,Dumbbell:Ru,DumbbellIcon:Ru,Ear:Eu,EarIcon:Eu,EarOff:Fu,EarOffIcon:Fu,Earth:cn,EarthIcon:cn,EarthLock:Ou,EarthLockIcon:Ou,Eclipse:Uu,EclipseIcon:Uu,Edit:Ge,Edit2:xt,Edit2Icon:xt,Edit3:vt,Edit3Icon:vt,EditIcon:Ge,Egg:Ku,EggFried:Wu,EggFriedIcon:Wu,EggIcon:Ku,EggOff:Gu,EggOffIcon:Gu,Ellipsis:sn,EllipsisIcon:sn,EllipsisVertical:rn,EllipsisVerticalIcon:rn,Equal:Yu,EqualApproximately:Zu,EqualApproximatelyIcon:Zu,EqualIcon:Yu,EqualNot:Xu,EqualNotIcon:Xu,EqualSquare:Do,EqualSquareIcon:Do,Eraser:Ju,EraserIcon:Ju,EthernetPort:Qu,EthernetPortIcon:Qu,Euro:ep,EuroIcon:ep,Expand:ap,ExpandIcon:ap,ExternalLink:tp,ExternalLinkIcon:tp,Eye:j1,EyeClosed:np,EyeClosedIcon:np,EyeIcon:j1,EyeOff:S1,EyeOffIcon:S1,Facebook:op,FacebookIcon:op,Factory:cp,FactoryIcon:cp,Fan:ip,FanIcon:ip,FastForward:rp,FastForwardIcon:rp,Feather:sp,FeatherIcon:sp,Fence:dp,FenceIcon:dp,FerrisWheel:lp,FerrisWheelIcon:lp,Figma:hp,FigmaIcon:hp,File:cy,FileArchive:up,FileArchiveIcon:up,FileAudio:yp,FileAudio2:pp,FileAudio2Icon:pp,FileAudioIcon:yp,FileAxis3D:dn,FileAxis3DIcon:dn,FileAxis3d:dn,FileAxis3dIcon:dn,FileBadge:fp,FileBadge2:kp,FileBadge2Icon:kp,FileBadgeIcon:fp,FileBarChart:ln,FileBarChart2:hn,FileBarChart2Icon:hn,FileBarChartIcon:ln,FileBox:mp,FileBoxIcon:mp,FileChartColumn:hn,FileChartColumnIcon:hn,FileChartColumnIncreasing:ln,FileChartColumnIncreasingIcon:ln,FileChartLine:un,FileChartLineIcon:un,FileChartPie:pn,FileChartPieIcon:pn,FileCheck:vp,FileCheck2:gp,FileCheck2Icon:gp,FileCheckIcon:vp,FileClock:xp,FileClockIcon:xp,FileCode:Mp,FileCode2:_p,FileCode2Icon:_p,FileCodeIcon:Mp,FileCog:yn,FileCog2:yn,FileCog2Icon:yn,FileCogIcon:yn,FileDiff:Lp,FileDiffIcon:Lp,FileDigit:Ip,FileDigitIcon:Ip,FileDown:bp,FileDownIcon:bp,FileEdit:mn,FileEditIcon:mn,FileHeart:wp,FileHeartIcon:wp,FileIcon:cy,FileImage:Cp,FileImageIcon:Cp,FileInput:Np,FileInputIcon:Np,FileJson:jp,FileJson2:Sp,FileJson2Icon:Sp,FileJsonIcon:jp,FileKey:qp,FileKey2:$p,FileKey2Icon:$p,FileKeyIcon:qp,FileLineChart:un,FileLineChartIcon:un,FileLock:zp,FileLock2:Ap,FileLock2Icon:Ap,FileLockIcon:zp,FileMinus:Pp,FileMinus2:Vp,FileMinus2Icon:Vp,FileMinusIcon:Pp,FileMusic:Tp,FileMusicIcon:Tp,FileOutput:Hp,FileOutputIcon:Hp,FilePen:mn,FilePenIcon:mn,FilePenLine:kn,FilePenLineIcon:kn,FilePieChart:pn,FilePieChartIcon:pn,FilePlay:fn,FilePlayIcon:fn,FilePlus:Bp,FilePlus2:Dp,FilePlus2Icon:Dp,FilePlusIcon:Bp,FileQuestion:gn,FileQuestionIcon:gn,FileQuestionMark:gn,FileQuestionMarkIcon:gn,FileScan:Rp,FileScanIcon:Rp,FileSearch:Ep,FileSearch2:Fp,FileSearch2Icon:Fp,FileSearchIcon:Ep,FileSignature:kn,FileSignatureIcon:kn,FileSliders:Op,FileSlidersIcon:Op,FileSpreadsheet:Up,FileSpreadsheetIcon:Up,FileStack:Wp,FileStackIcon:Wp,FileSymlink:Gp,FileSymlinkIcon:Gp,FileTerminal:Kp,FileTerminalIcon:Kp,FileText:Zp,FileTextIcon:Zp,FileType:Yp,FileType2:Xp,FileType2Icon:Xp,FileTypeIcon:Yp,FileUp:Jp,FileUpIcon:Jp,FileUser:Qp,FileUserIcon:Qp,FileVideo:fn,FileVideo2:vn,FileVideo2Icon:vn,FileVideoCamera:vn,FileVideoCameraIcon:vn,FileVideoIcon:fn,FileVolume:ty,FileVolume2:ey,FileVolume2Icon:ey,FileVolumeIcon:ty,FileWarning:ay,FileWarningIcon:ay,FileX:oy,FileX2:ny,FileX2Icon:ny,FileXIcon:oy,Files:iy,FilesIcon:iy,Film:ry,FilmIcon:ry,Filter:At,FilterIcon:At,FilterX:_n,FilterXIcon:_n,Fingerprint:sy,FingerprintIcon:sy,FireExtinguisher:dy,FireExtinguisherIcon:dy,Fish:hy,FishIcon:hy,FishOff:ly,FishOffIcon:ly,FishSymbol:uy,FishSymbolIcon:uy,Flag:my,FlagIcon:my,FlagOff:py,FlagOffIcon:py,FlagTriangleLeft:yy,FlagTriangleLeftIcon:yy,FlagTriangleRight:ky,FlagTriangleRightIcon:ky,Flame:gy,FlameIcon:gy,FlameKindling:fy,FlameKindlingIcon:fy,Flashlight:xy,FlashlightIcon:xy,FlashlightOff:vy,FlashlightOffIcon:vy,FlaskConical:_y,FlaskConicalIcon:_y,FlaskConicalOff:My,FlaskConicalOffIcon:My,FlaskRound:Ly,FlaskRoundIcon:Ly,FlipHorizontal:by,FlipHorizontal2:Iy,FlipHorizontal2Icon:Iy,FlipHorizontalIcon:by,FlipVertical:Cy,FlipVertical2:wy,FlipVertical2Icon:wy,FlipVerticalIcon:Cy,Flower:Sy,Flower2:Ny,Flower2Icon:Ny,FlowerIcon:Sy,Focus:jy,FocusIcon:jy,FoldHorizontal:$y,FoldHorizontalIcon:$y,FoldVertical:qy,FoldVerticalIcon:qy,Folder:$1,FolderArchive:Ay,FolderArchiveIcon:Ay,FolderCheck:zy,FolderCheckIcon:zy,FolderClock:Vy,FolderClockIcon:Vy,FolderClosed:Py,FolderClosedIcon:Py,FolderCode:Ty,FolderCodeIcon:Ty,FolderCog:xn,FolderCog2:xn,FolderCog2Icon:xn,FolderCogIcon:xn,FolderDot:Hy,FolderDotIcon:Hy,FolderDown:Dy,FolderDownIcon:Dy,FolderEdit:Mn,FolderEditIcon:Mn,FolderGit:Ry,FolderGit2:By,FolderGit2Icon:By,FolderGitIcon:Ry,FolderHeart:Fy,FolderHeartIcon:Fy,FolderIcon:$1,FolderInput:Ey,FolderInputIcon:Ey,FolderKanban:Oy,FolderKanbanIcon:Oy,FolderKey:Uy,FolderKeyIcon:Uy,FolderLock:Wy,FolderLockIcon:Wy,FolderMinus:Gy,FolderMinusIcon:Gy,FolderOpen:Zy,FolderOpenDot:Ky,FolderOpenDotIcon:Ky,FolderOpenIcon:Zy,FolderOutput:Xy,FolderOutputIcon:Xy,FolderPen:Mn,FolderPenIcon:Mn,FolderPlus:zc,FolderPlusIcon:zc,FolderRoot:Yy,FolderRootIcon:Yy,FolderSearch:Qy,FolderSearch2:Jy,FolderSearch2Icon:Jy,FolderSearchIcon:Qy,FolderSymlink:e4,FolderSymlinkIcon:e4,FolderSync:t4,FolderSyncIcon:t4,FolderTree:a4,FolderTreeIcon:a4,FolderUp:n4,FolderUpIcon:n4,FolderX:o4,FolderXIcon:o4,Folders:c4,FoldersIcon:c4,Footprints:i4,FootprintsIcon:i4,ForkKnife:wc,ForkKnifeCrossed:bc,ForkKnifeCrossedIcon:bc,ForkKnifeIcon:wc,Forklift:r4,ForkliftIcon:r4,FormInput:no,FormInputIcon:no,Forward:s4,ForwardIcon:s4,Frame:d4,FrameIcon:d4,Framer:l4,FramerIcon:l4,Frown:h4,FrownIcon:h4,Fuel:u4,FuelIcon:u4,Fullscreen:p4,FullscreenIcon:p4,FunctionSquare:Ro,FunctionSquareIcon:Ro,Funnel:At,FunnelIcon:At,FunnelPlus:y4,FunnelPlusIcon:y4,FunnelX:_n,FunnelXIcon:_n,GalleryHorizontal:m4,GalleryHorizontalEnd:k4,GalleryHorizontalEndIcon:k4,GalleryHorizontalIcon:m4,GalleryThumbnails:f4,GalleryThumbnailsIcon:f4,GalleryVertical:v4,GalleryVerticalEnd:g4,GalleryVerticalEndIcon:g4,GalleryVerticalIcon:v4,Gamepad:M4,Gamepad2:x4,Gamepad2Icon:x4,GamepadIcon:M4,GanttChart:ga,GanttChartIcon:ga,GanttChartSquare:yt,GanttChartSquareIcon:yt,Gauge:_4,GaugeCircle:Ta,GaugeCircleIcon:Ta,GaugeIcon:_4,Gavel:L4,GavelIcon:L4,Gem:I4,GemIcon:I4,GeorgianLari:b4,GeorgianLariIcon:b4,Ghost:w4,GhostIcon:w4,Gift:C4,GiftIcon:C4,GitBranch:S4,GitBranchIcon:S4,GitBranchPlus:N4,GitBranchPlusIcon:N4,GitCommit:Ln,GitCommitHorizontal:Ln,GitCommitHorizontalIcon:Ln,GitCommitIcon:Ln,GitCommitVertical:j4,GitCommitVerticalIcon:j4,GitCompare:q4,GitCompareArrows:$4,GitCompareArrowsIcon:$4,GitCompareIcon:q4,GitFork:A4,GitForkIcon:A4,GitGraph:z4,GitGraphIcon:z4,GitMerge:V4,GitMergeIcon:V4,GitPullRequest:R4,GitPullRequestArrow:P4,GitPullRequestArrowIcon:P4,GitPullRequestClosed:T4,GitPullRequestClosedIcon:T4,GitPullRequestCreate:D4,GitPullRequestCreateArrow:H4,GitPullRequestCreateArrowIcon:H4,GitPullRequestCreateIcon:D4,GitPullRequestDraft:B4,GitPullRequestDraftIcon:B4,GitPullRequestIcon:R4,Github:F4,GithubIcon:F4,Gitlab:E4,GitlabIcon:E4,GlassWater:O4,GlassWaterIcon:O4,Glasses:U4,GlassesIcon:U4,Globe:G4,Globe2:cn,Globe2Icon:cn,GlobeIcon:G4,GlobeLock:W4,GlobeLockIcon:W4,Goal:K4,GoalIcon:K4,Gpu:Z4,GpuIcon:Z4,Grab:Nn,GrabIcon:Nn,GraduationCap:X4,GraduationCapIcon:X4,Grape:Y4,GrapeIcon:Y4,Grid:pt,Grid2X2:Cn,Grid2X2Check:In,Grid2X2CheckIcon:In,Grid2X2Icon:Cn,Grid2X2Plus:bn,Grid2X2PlusIcon:bn,Grid2X2X:wn,Grid2X2XIcon:wn,Grid2x2:Cn,Grid2x2Check:In,Grid2x2CheckIcon:In,Grid2x2Icon:Cn,Grid2x2Plus:bn,Grid2x2PlusIcon:bn,Grid2x2X:wn,Grid2x2XIcon:wn,Grid3X3:pt,Grid3X3Icon:pt,Grid3x2:J4,Grid3x2Icon:J4,Grid3x3:pt,Grid3x3Icon:pt,GridIcon:pt,Grip:e5,GripHorizontal:Q4,GripHorizontalIcon:Q4,GripIcon:e5,GripVertical:q1,GripVerticalIcon:q1,Group:t5,GroupIcon:t5,Guitar:a5,GuitarIcon:a5,Ham:n5,HamIcon:n5,Hamburger:o5,HamburgerIcon:o5,Hammer:c5,HammerIcon:c5,Hand:h5,HandCoins:i5,HandCoinsIcon:i5,HandFist:r5,HandFistIcon:r5,HandGrab:Nn,HandGrabIcon:Nn,HandHeart:s5,HandHeartIcon:s5,HandHelping:Sn,HandHelpingIcon:Sn,HandIcon:h5,HandMetal:d5,HandMetalIcon:d5,HandPlatter:l5,HandPlatterIcon:l5,Handbag:u5,HandbagIcon:u5,Handshake:p5,HandshakeIcon:p5,HardDrive:m5,HardDriveDownload:y5,HardDriveDownloadIcon:y5,HardDriveIcon:m5,HardDriveUpload:k5,HardDriveUploadIcon:k5,HardHat:f5,HardHatIcon:f5,Hash:g5,HashIcon:g5,HatGlasses:v5,HatGlassesIcon:v5,Haze:x5,HazeIcon:x5,HdmiPort:M5,HdmiPortIcon:M5,Heading:N5,Heading1:_5,Heading1Icon:_5,Heading2:L5,Heading2Icon:L5,Heading3:I5,Heading3Icon:I5,Heading4:b5,Heading4Icon:b5,Heading5:w5,Heading5Icon:w5,Heading6:C5,Heading6Icon:C5,HeadingIcon:N5,HeadphoneOff:S5,HeadphoneOffIcon:S5,Headphones:j5,HeadphonesIcon:j5,Headset:$5,HeadsetIcon:$5,Heart:H5,HeartCrack:q5,HeartCrackIcon:q5,HeartHandshake:A5,HeartHandshakeIcon:A5,HeartIcon:H5,HeartMinus:z5,HeartMinusIcon:z5,HeartOff:V5,HeartOffIcon:V5,HeartPlus:P5,HeartPlusIcon:P5,HeartPulse:T5,HeartPulseIcon:T5,Heater:D5,HeaterIcon:D5,HelpCircle:ht,HelpCircleIcon:ht,HelpingHand:Sn,HelpingHandIcon:Sn,Hexagon:B5,HexagonIcon:B5,Highlighter:R5,HighlighterIcon:R5,History:F5,HistoryIcon:F5,Home:zt,HomeIcon:zt,Hop:O5,HopIcon:O5,HopOff:E5,HopOffIcon:E5,Hospital:A1,HospitalIcon:A1,Hotel:U5,HotelIcon:U5,Hourglass:W5,HourglassIcon:W5,House:zt,HouseIcon:zt,HousePlug:G5,HousePlugIcon:G5,HousePlus:Z5,HousePlusIcon:Z5,HouseWifi:K5,HouseWifiIcon:K5,IceCream:$n,IceCream2:jn,IceCream2Icon:jn,IceCreamBowl:jn,IceCreamBowlIcon:jn,IceCreamCone:$n,IceCreamConeIcon:$n,IceCreamIcon:$n,Icon:a.Icon,IdCard:Y5,IdCardIcon:Y5,IdCardLanyard:X5,IdCardLanyardIcon:X5,Image:ck,ImageDown:J5,ImageDownIcon:J5,ImageIcon:ck,ImageMinus:Q5,ImageMinusIcon:Q5,ImageOff:ek,ImageOffIcon:ek,ImagePlay:tk,ImagePlayIcon:tk,ImagePlus:ak,ImagePlusIcon:ak,ImageUp:nk,ImageUpIcon:nk,ImageUpscale:ok,ImageUpscaleIcon:ok,Images:ik,ImagesIcon:ik,Import:rk,ImportIcon:rk,Inbox:sk,InboxIcon:sk,Indent:An,IndentDecrease:qn,IndentDecreaseIcon:qn,IndentIcon:An,IndentIncrease:An,IndentIncreaseIcon:An,IndianRupee:dk,IndianRupeeIcon:dk,Infinity:lk,InfinityIcon:lk,Info:hk,InfoIcon:hk,Inspect:Ko,InspectIcon:Ko,InspectionPanel:uk,InspectionPanelIcon:uk,Instagram:pk,InstagramIcon:pk,Italic:yk,ItalicIcon:yk,IterationCcw:kk,IterationCcwIcon:kk,IterationCw:mk,IterationCwIcon:mk,JapaneseYen:gk,JapaneseYenIcon:gk,Joystick:fk,JoystickIcon:fk,Kanban:vk,KanbanIcon:vk,KanbanSquare:Fo,KanbanSquareDashed:Vo,KanbanSquareDashedIcon:Vo,KanbanSquareIcon:Fo,Kayak:xk,KayakIcon:xk,Key:Lk,KeyIcon:Lk,KeyRound:Mk,KeyRoundIcon:Mk,KeySquare:_k,KeySquareIcon:_k,Keyboard:wk,KeyboardIcon:wk,KeyboardMusic:Ik,KeyboardMusicIcon:Ik,KeyboardOff:bk,KeyboardOffIcon:bk,Lamp:qk,LampCeiling:Ck,LampCeilingIcon:Ck,LampDesk:Sk,LampDeskIcon:Sk,LampFloor:Nk,LampFloorIcon:Nk,LampIcon:qk,LampWallDown:jk,LampWallDownIcon:jk,LampWallUp:$k,LampWallUpIcon:$k,LandPlot:Ak,LandPlotIcon:Ak,Landmark:zk,LandmarkIcon:zk,Languages:Vk,LanguagesIcon:Vk,Laptop:Tk,Laptop2:zn,Laptop2Icon:zn,LaptopIcon:Tk,LaptopMinimal:zn,LaptopMinimalCheck:Pk,LaptopMinimalCheckIcon:Pk,LaptopMinimalIcon:zn,Lasso:Dk,LassoIcon:Dk,LassoSelect:Hk,LassoSelectIcon:Hk,Laugh:Bk,LaughIcon:Bk,Layers:Vn,Layers2:Rk,Layers2Icon:Rk,Layers3:Vn,Layers3Icon:Vn,LayersIcon:Vn,Layout:to,LayoutDashboard:Fk,LayoutDashboardIcon:Fk,LayoutGrid:Ek,LayoutGridIcon:Ek,LayoutIcon:to,LayoutList:Ok,LayoutListIcon:Ok,LayoutPanelLeft:Uk,LayoutPanelLeftIcon:Uk,LayoutPanelTop:Wk,LayoutPanelTopIcon:Wk,LayoutTemplate:Gk,LayoutTemplateIcon:Gk,Leaf:Kk,LeafIcon:Kk,LeafyGreen:Xk,LeafyGreenIcon:Xk,Lectern:Zk,LecternIcon:Zk,LetterText:Yk,LetterTextIcon:Yk,Library:Qk,LibraryBig:Jk,LibraryBigIcon:Jk,LibraryIcon:Qk,LibrarySquare:Eo,LibrarySquareIcon:Eo,LifeBuoy:e3,LifeBuoyIcon:e3,Ligature:t3,LigatureIcon:t3,Lightbulb:n3,LightbulbIcon:n3,LightbulbOff:a3,LightbulbOffIcon:a3,LineChart:ka,LineChartIcon:ka,LineSquiggle:o3,LineSquiggleIcon:o3,Link:r3,Link2:c3,Link2Icon:c3,Link2Off:i3,Link2OffIcon:i3,LinkIcon:r3,Linkedin:s3,LinkedinIcon:s3,List:b3,ListCheck:d3,ListCheckIcon:d3,ListChecks:l3,ListChecksIcon:l3,ListCollapse:h3,ListCollapseIcon:h3,ListEnd:u3,ListEndIcon:u3,ListFilter:k3,ListFilterIcon:k3,ListFilterPlus:p3,ListFilterPlusIcon:p3,ListIcon:b3,ListMinus:y3,ListMinusIcon:y3,ListMusic:m3,ListMusicIcon:m3,ListOrdered:f3,ListOrderedIcon:f3,ListPlus:g3,ListPlusIcon:g3,ListRestart:v3,ListRestartIcon:v3,ListStart:x3,ListStartIcon:x3,ListTodo:M3,ListTodoIcon:M3,ListTree:_3,ListTreeIcon:_3,ListVideo:L3,ListVideoIcon:L3,ListX:I3,ListXIcon:I3,Loader:C3,Loader2:Pn,Loader2Icon:Pn,LoaderCircle:Pn,LoaderCircleIcon:Pn,LoaderIcon:C3,LoaderPinwheel:w3,LoaderPinwheelIcon:w3,Locate:j3,LocateFixed:N3,LocateFixedIcon:N3,LocateIcon:j3,LocateOff:S3,LocateOffIcon:S3,LocationEdit:Bn,LocationEditIcon:Bn,Lock:q3,LockIcon:q3,LockKeyhole:$3,LockKeyholeIcon:$3,LockKeyholeOpen:Tn,LockKeyholeOpenIcon:Tn,LockOpen:Hn,LockOpenIcon:Hn,LogIn:A3,LogInIcon:A3,LogOut:z3,LogOutIcon:z3,Logs:V3,LogsIcon:V3,Lollipop:P3,LollipopIcon:P3,LucideAArrowDown:yi,LucideAArrowUp:ki,LucideALargeSmall:mi,LucideAccessibility:L1,LucideActivity:I1,LucideActivitySquare:Vt,LucideAirVent:fi,LucideAirplay:gi,LucideAlarmCheck:Ut,LucideAlarmClock:xi,LucideAlarmClockCheck:Ut,LucideAlarmClockMinus:Wt,LucideAlarmClockOff:vi,LucideAlarmClockPlus:Gt,LucideAlarmMinus:Wt,LucideAlarmPlus:Gt,LucideAlarmSmoke:Mi,LucideAlbum:_i,LucideAlertCircle:Ma,LucideAlertOctagon:On,LucideAlertTriangle:kc,LucideAlignCenter:Ni,LucideAlignCenterHorizontal:Li,LucideAlignCenterVertical:Ii,LucideAlignEndHorizontal:bi,LucideAlignEndVertical:wi,LucideAlignHorizontalDistributeCenter:Ci,LucideAlignHorizontalDistributeEnd:Si,LucideAlignHorizontalDistributeStart:ji,LucideAlignHorizontalJustifyCenter:$i,LucideAlignHorizontalJustifyEnd:qi,LucideAlignHorizontalJustifyStart:Ai,LucideAlignHorizontalSpaceAround:zi,LucideAlignHorizontalSpaceBetween:Pi,LucideAlignJustify:Vi,LucideAlignLeft:Ti,LucideAlignRight:Hi,LucideAlignStartHorizontal:Di,LucideAlignStartVertical:Bi,LucideAlignVerticalDistributeCenter:Fi,LucideAlignVerticalDistributeEnd:Ri,LucideAlignVerticalDistributeStart:Oi,LucideAlignVerticalJustifyCenter:Ei,LucideAlignVerticalJustifyEnd:Ui,LucideAlignVerticalJustifyStart:Wi,LucideAlignVerticalSpaceAround:Ki,LucideAlignVerticalSpaceBetween:Gi,LucideAmbulance:Zi,LucideAmpersand:Xi,LucideAmpersands:Yi,LucideAmphora:Ji,LucideAnchor:Qi,LucideAngry:er,LucideAnnoyed:tr,LucideAntenna:ar,LucideAnvil:nr,LucideAperture:or,LucideAppWindow:ir,LucideAppWindowMac:cr,LucideApple:rr,LucideArchive:lr,LucideArchiveRestore:sr,LucideArchiveX:dr,LucideAreaChart:sa,LucideArmchair:hr,LucideArrowBigDown:pr,LucideArrowBigDownDash:ur,LucideArrowBigLeft:kr,LucideArrowBigLeftDash:yr,LucideArrowBigRight:fr,LucideArrowBigRightDash:mr,LucideArrowBigUp:vr,LucideArrowBigUpDash:gr,LucideArrowDown:e1,LucideArrowDown01:xr,LucideArrowDown10:Mr,LucideArrowDownAZ:Kt,LucideArrowDownAz:Kt,LucideArrowDownCircle:_a,LucideArrowDownFromLine:_r,LucideArrowDownLeft:Lr,LucideArrowDownLeftFromCircle:Ia,LucideArrowDownLeftFromSquare:go,LucideArrowDownLeftSquare:yo,LucideArrowDownNarrowWide:Ir,LucideArrowDownRight:br,LucideArrowDownRightFromCircle:ba,LucideArrowDownRightFromSquare:vo,LucideArrowDownRightSquare:ko,LucideArrowDownSquare:mo,LucideArrowDownToDot:wr,LucideArrowDownToLine:Cr,LucideArrowDownUp:Nr,LucideArrowDownWideNarrow:Zt,LucideArrowDownZA:Xt,LucideArrowDownZa:Xt,LucideArrowLeft:b1,LucideArrowLeftCircle:La,LucideArrowLeftFromLine:Sr,LucideArrowLeftRight:jr,LucideArrowLeftSquare:fo,LucideArrowLeftToLine:$r,LucideArrowRight:Vr,LucideArrowRightCircle:Na,LucideArrowRightFromLine:qr,LucideArrowRightLeft:Ar,LucideArrowRightSquare:_o,LucideArrowRightToLine:zr,LucideArrowUp:t1,LucideArrowUp01:Pr,LucideArrowUp10:Tr,LucideArrowUpAZ:Yt,LucideArrowUpAz:Yt,LucideArrowUpCircle:Sa,LucideArrowUpDown:Hr,LucideArrowUpFromDot:Dr,LucideArrowUpFromLine:Br,LucideArrowUpLeft:Rr,LucideArrowUpLeftFromCircle:wa,LucideArrowUpLeftFromSquare:xo,LucideArrowUpLeftSquare:Lo,LucideArrowUpNarrowWide:Jt,LucideArrowUpRight:Fr,LucideArrowUpRightFromCircle:Ca,LucideArrowUpRightFromSquare:Mo,LucideArrowUpRightSquare:Io,LucideArrowUpSquare:bo,LucideArrowUpToLine:Er,LucideArrowUpWideNarrow:Or,LucideArrowUpZA:Qt,LucideArrowUpZa:Qt,LucideArrowsUpFromLine:Ur,LucideAsterisk:Wr,LucideAsteriskSquare:wo,LucideAtSign:Gr,LucideAtom:Kr,LucideAudioLines:Zr,LucideAudioWaveform:Xr,LucideAward:Yr,LucideAxe:Jr,LucideAxis3D:ea,LucideAxis3d:ea,LucideBaby:Qr,LucideBackpack:es,LucideBadge:ms,LucideBadgeAlert:ts,LucideBadgeCent:as,LucideBadgeCheck:ta,LucideBadgeDollarSign:ns,LucideBadgeEuro:os,LucideBadgeHelp:aa,LucideBadgeIndianRupee:cs,LucideBadgeInfo:is,LucideBadgeJapaneseYen:ss,LucideBadgeMinus:rs,LucideBadgePercent:ds,LucideBadgePlus:ls,LucideBadgePoundSterling:hs,LucideBadgeQuestionMark:aa,LucideBadgeRussianRuble:us,LucideBadgeSwissFranc:ps,LucideBadgeTurkishLira:ys,LucideBadgeX:ks,LucideBaggageClaim:fs,LucideBan:gs,LucideBanana:vs,LucideBandage:xs,LucideBanknote:Is,LucideBanknoteArrowDown:Ms,LucideBanknoteArrowUp:_s,LucideBanknoteX:Ls,LucideBarChart:ma,LucideBarChart2:fa,LucideBarChart3:ya,LucideBarChart4:pa,LucideBarChartBig:ua,LucideBarChartHorizontal:la,LucideBarChartHorizontalBig:da,LucideBarcode:bs,LucideBarrel:ws,LucideBaseline:Cs,LucideBath:Ns,LucideBattery:Vs,LucideBatteryCharging:Ss,LucideBatteryFull:js,LucideBatteryLow:$s,LucideBatteryMedium:qs,LucideBatteryPlus:As,LucideBatteryWarning:zs,LucideBeaker:Ps,LucideBean:Hs,LucideBeanOff:Ts,LucideBed:Rs,LucideBedDouble:Ds,LucideBedSingle:Bs,LucideBeef:Fs,LucideBeer:Os,LucideBeerOff:Es,LucideBell:Xs,LucideBellDot:Us,LucideBellElectric:Ws,LucideBellMinus:Gs,LucideBellOff:Ks,LucideBellPlus:Zs,LucideBellRing:Ys,LucideBetweenHorizonalEnd:na,LucideBetweenHorizonalStart:oa,LucideBetweenHorizontalEnd:na,LucideBetweenHorizontalStart:oa,LucideBetweenVerticalEnd:Qs,LucideBetweenVerticalStart:Js,LucideBicepsFlexed:e2,LucideBike:a2,LucideBinary:t2,LucideBinoculars:n2,LucideBiohazard:o2,LucideBird:c2,LucideBitcoin:i2,LucideBlend:r2,LucideBlinds:s2,LucideBlocks:d2,LucideBluetooth:p2,LucideBluetoothConnected:l2,LucideBluetoothOff:h2,LucideBluetoothSearching:u2,LucideBold:y2,LucideBolt:k2,LucideBomb:m2,LucideBone:f2,LucideBook:R2,LucideBookA:g2,LucideBookAlert:v2,LucideBookAudio:x2,LucideBookCheck:M2,LucideBookCopy:_2,LucideBookDashed:ca,LucideBookDown:L2,LucideBookHeadphones:I2,LucideBookHeart:b2,LucideBookImage:w2,LucideBookKey:C2,LucideBookLock:N2,LucideBookMarked:j2,LucideBookMinus:S2,LucideBookOpen:A2,LucideBookOpenCheck:$2,LucideBookOpenText:q2,LucideBookPlus:z2,LucideBookTemplate:ca,LucideBookText:V2,LucideBookType:P2,LucideBookUp:H2,LucideBookUp2:T2,LucideBookUser:D2,LucideBookX:B2,LucideBookmark:W2,LucideBookmarkCheck:F2,LucideBookmarkMinus:E2,LucideBookmarkPlus:O2,LucideBookmarkX:U2,LucideBoomBox:G2,LucideBot:X2,LucideBotMessageSquare:K2,LucideBotOff:Z2,LucideBottleWine:Y2,LucideBowArrow:J2,LucideBox:Q2,LucideBoxSelect:To,LucideBoxes:ed,LucideBraces:ia,LucideBrackets:td,LucideBrain:od,LucideBrainCircuit:ad,LucideBrainCog:nd,LucideBrickWall:rd,LucideBrickWallFire:cd,LucideBrickWallShield:id,LucideBriefcase:hd,LucideBriefcaseBusiness:sd,LucideBriefcaseConveyorBelt:dd,LucideBriefcaseMedical:ld,LucideBringToFront:ud,LucideBrush:yd,LucideBrushCleaning:pd,LucideBubbles:kd,LucideBug:vd,LucideBugOff:md,LucideBugPlay:fd,LucideBuilding:xd,LucideBuilding2:gd,LucideBus:_d,LucideBusFront:Md,LucideCable:Id,LucideCableCar:Ld,LucideCake:wd,LucideCakeSlice:bd,LucideCalculator:Cd,LucideCalendar:w1,LucideCalendar1:Nd,LucideCalendarArrowDown:Sd,LucideCalendarArrowUp:jd,LucideCalendarCheck:qd,LucideCalendarCheck2:$d,LucideCalendarClock:Ad,LucideCalendarCog:zd,LucideCalendarDays:Vd,LucideCalendarFold:Pd,LucideCalendarHeart:Td,LucideCalendarMinus:Dd,LucideCalendarMinus2:Hd,LucideCalendarOff:Bd,LucideCalendarPlus:Fd,LucideCalendarPlus2:Rd,LucideCalendarRange:Ed,LucideCalendarSearch:Od,LucideCalendarSync:Ud,LucideCalendarX:Gd,LucideCalendarX2:Wd,LucideCamera:Zd,LucideCameraOff:Kd,LucideCandlestickChart:ha,LucideCandy:Jd,LucideCandyCane:Xd,LucideCandyOff:Yd,LucideCannabis:Qd,LucideCaptions:ra,LucideCaptionsOff:e0,LucideCar:n0,LucideCarFront:t0,LucideCarTaxiFront:a0,LucideCaravan:o0,LucideCardSim:c0,LucideCarrot:i0,LucideCaseLower:r0,LucideCaseSensitive:s0,LucideCaseUpper:d0,LucideCassetteTape:l0,LucideCast:h0,LucideCastle:p0,LucideCat:u0,LucideCctv:y0,LucideChartArea:sa,LucideChartBar:la,LucideChartBarBig:da,LucideChartBarDecreasing:k0,LucideChartBarIncreasing:m0,LucideChartBarStacked:f0,LucideChartCandlestick:ha,LucideChartColumn:ya,LucideChartColumnBig:ua,LucideChartColumnDecreasing:g0,LucideChartColumnIncreasing:pa,LucideChartColumnStacked:v0,LucideChartGantt:x0,LucideChartLine:ka,LucideChartNetwork:M0,LucideChartNoAxesColumn:fa,LucideChartNoAxesColumnDecreasing:_0,LucideChartNoAxesColumnIncreasing:ma,LucideChartNoAxesCombined:L0,LucideChartNoAxesGantt:ga,LucideChartPie:va,LucideChartScatter:xa,LucideChartSpline:I0,LucideCheck:C1,LucideCheckCheck:b0,LucideCheckCircle:ja,LucideCheckCircle2:$a,LucideCheckLine:w0,LucideCheckSquare:No,LucideCheckSquare2:So,LucideChefHat:C0,LucideCherry:N0,LucideChevronDown:Ht,LucideChevronDownCircle:qa,LucideChevronDownSquare:jo,LucideChevronFirst:S0,LucideChevronLast:j0,LucideChevronLeft:$0,LucideChevronLeftCircle:Aa,LucideChevronLeftSquare:$o,LucideChevronRight:N1,LucideChevronRightCircle:za,LucideChevronRightSquare:qo,LucideChevronUp:Ac,LucideChevronUpCircle:Va,LucideChevronUpSquare:Ao,LucideChevronsDown:A0,LucideChevronsDownUp:q0,LucideChevronsLeft:V0,LucideChevronsLeftRight:z0,LucideChevronsLeftRightEllipsis:P0,LucideChevronsRight:H0,LucideChevronsRightLeft:T0,LucideChevronsUp:D0,LucideChevronsUpDown:a1,LucideChrome:B0,LucideChurch:R0,LucideCigarette:E0,LucideCigaretteOff:F0,LucideCircle:nl,LucideCircleAlert:Ma,LucideCircleArrowDown:_a,LucideCircleArrowLeft:La,LucideCircleArrowOutDownLeft:Ia,LucideCircleArrowOutDownRight:ba,LucideCircleArrowOutUpLeft:wa,LucideCircleArrowOutUpRight:Ca,LucideCircleArrowRight:Na,LucideCircleArrowUp:Sa,LucideCircleCheck:$a,LucideCircleCheckBig:ja,LucideCircleChevronDown:qa,LucideCircleChevronLeft:Aa,LucideCircleChevronRight:za,LucideCircleChevronUp:Va,LucideCircleDashed:O0,LucideCircleDivide:Pa,LucideCircleDollarSign:W0,LucideCircleDot:G0,LucideCircleDotDashed:U0,LucideCircleEllipsis:K0,LucideCircleEqual:Z0,LucideCircleFadingArrowUp:Y0,LucideCircleFadingPlus:X0,LucideCircleGauge:Ta,LucideCircleHelp:ht,LucideCircleMinus:Ha,LucideCircleOff:J0,LucideCircleParking:Ra,LucideCircleParkingOff:Da,LucideCirclePause:Ba,LucideCirclePercent:Fa,LucideCirclePlay:Ea,LucideCirclePlus:Oa,LucideCirclePoundSterling:Q0,LucideCirclePower:Ua,LucideCircleQuestionMark:ht,LucideCircleSlash:el,LucideCircleSlash2:Wa,LucideCircleSlashed:Wa,LucideCircleSmall:tl,LucideCircleStar:al,LucideCircleStop:Ga,LucideCircleUser:Za,LucideCircleUserRound:Ka,LucideCircleX:qt,LucideCircuitBoard:ol,LucideCitrus:cl,LucideClapperboard:il,LucideClipboard:ml,LucideClipboardCheck:rl,LucideClipboardClock:sl,LucideClipboardCopy:dl,LucideClipboardEdit:Ya,LucideClipboardList:ll,LucideClipboardMinus:hl,LucideClipboardPaste:ul,LucideClipboardPen:Ya,LucideClipboardPenLine:Xa,LucideClipboardPlus:pl,LucideClipboardSignature:Xa,LucideClipboardType:yl,LucideClipboardX:kl,LucideClock:zl,LucideClock1:gl,LucideClock10:fl,LucideClock11:vl,LucideClock12:xl,LucideClock2:Ml,LucideClock3:_l,LucideClock4:Ll,LucideClock5:Il,LucideClock6:bl,LucideClock7:wl,LucideClock8:Cl,LucideClock9:Nl,LucideClockAlert:Sl,LucideClockArrowDown:jl,LucideClockArrowUp:$l,LucideClockFading:ql,LucideClockPlus:Al,LucideClosedCaption:Vl,LucideCloud:Yl,LucideCloudAlert:Pl,LucideCloudCheck:Tl,LucideCloudCog:Hl,LucideCloudDownload:Ja,LucideCloudDrizzle:Dl,LucideCloudFog:Bl,LucideCloudHail:Rl,LucideCloudLightning:Fl,LucideCloudMoon:Ol,LucideCloudMoonRain:El,LucideCloudOff:Ul,LucideCloudRain:Gl,LucideCloudRainWind:Wl,LucideCloudSnow:Kl,LucideCloudSun:Xl,LucideCloudSunRain:Zl,LucideCloudUpload:Qa,LucideCloudy:Jl,LucideClover:Ql,LucideClub:eh,LucideCode:th,LucideCode2:en,LucideCodeSquare:zo,LucideCodeXml:en,LucideCodepen:ah,LucideCodesandbox:nh,LucideCoffee:oh,LucideCog:ch,LucideCoins:ih,LucideColumns:tn,LucideColumns2:tn,LucideColumns3:an,LucideColumns3Cog:ut,LucideColumns4:rh,LucideColumnsSettings:ut,LucideCombine:sh,LucideCommand:dh,LucideCompass:lh,LucideComponent:hh,LucideComputer:uh,LucideConciergeBell:ph,LucideCone:yh,LucideConstruction:kh,LucideContact:mh,LucideContact2:nn,LucideContactRound:nn,LucideContainer:fh,LucideContrast:vh,LucideCookie:gh,LucideCookingPot:Mh,LucideCopy:wh,LucideCopyCheck:xh,LucideCopyMinus:_h,LucideCopyPlus:Lh,LucideCopySlash:Ih,LucideCopyX:bh,LucideCopyleft:Ch,LucideCopyright:Nh,LucideCornerDownLeft:Sh,LucideCornerDownRight:jh,LucideCornerLeftDown:$h,LucideCornerLeftUp:qh,LucideCornerRightDown:Ah,LucideCornerRightUp:zh,LucideCornerUpLeft:Vh,LucideCornerUpRight:Ph,LucideCpu:Th,LucideCreativeCommons:Hh,LucideCreditCard:Dh,LucideCroissant:Bh,LucideCrop:Rh,LucideCross:Fh,LucideCrosshair:Eh,LucideCrown:Oh,LucideCuboid:Uh,LucideCupSoda:Wh,LucideCurlyBraces:ia,LucideCurrency:Gh,LucideCylinder:Kh,LucideDam:Zh,LucideDatabase:Jh,LucideDatabaseBackup:Xh,LucideDatabaseZap:Yh,LucideDecimalsArrowLeft:Qh,LucideDecimalsArrowRight:eu,LucideDelete:tu,LucideDessert:au,LucideDiameter:nu,LucideDiamond:iu,LucideDiamondMinus:ou,LucideDiamondPercent:on,LucideDiamondPlus:cu,LucideDice1:ru,LucideDice2:su,LucideDice3:du,LucideDice4:lu,LucideDice5:hu,LucideDice6:uu,LucideDices:pu,LucideDiff:yu,LucideDisc:gu,LucideDisc2:ku,LucideDisc3:mu,LucideDiscAlbum:fu,LucideDivide:vu,LucideDivideCircle:Pa,LucideDivideSquare:Ho,LucideDna:Mu,LucideDnaOff:xu,LucideDock:_u,LucideDog:Lu,LucideDollarSign:Iu,LucideDonut:bu,LucideDoorClosed:Cu,LucideDoorClosedLocked:wu,LucideDoorOpen:Nu,LucideDot:Su,LucideDotSquare:Bo,LucideDownload:$u,LucideDownloadCloud:Ja,LucideDraftingCompass:ju,LucideDrama:qu,LucideDribbble:Au,LucideDrill:zu,LucideDrone:Vu,LucideDroplet:Tu,LucideDropletOff:Pu,LucideDroplets:Hu,LucideDrum:Du,LucideDrumstick:Bu,LucideDumbbell:Ru,LucideEar:Eu,LucideEarOff:Fu,LucideEarth:cn,LucideEarthLock:Ou,LucideEclipse:Uu,LucideEdit:Ge,LucideEdit2:xt,LucideEdit3:vt,LucideEgg:Ku,LucideEggFried:Wu,LucideEggOff:Gu,LucideEllipsis:sn,LucideEllipsisVertical:rn,LucideEqual:Yu,LucideEqualApproximately:Zu,LucideEqualNot:Xu,LucideEqualSquare:Do,LucideEraser:Ju,LucideEthernetPort:Qu,LucideEuro:ep,LucideExpand:ap,LucideExternalLink:tp,LucideEye:j1,LucideEyeClosed:np,LucideEyeOff:S1,LucideFacebook:op,LucideFactory:cp,LucideFan:ip,LucideFastForward:rp,LucideFeather:sp,LucideFence:dp,LucideFerrisWheel:lp,LucideFigma:hp,LucideFile:cy,LucideFileArchive:up,LucideFileAudio:yp,LucideFileAudio2:pp,LucideFileAxis3D:dn,LucideFileAxis3d:dn,LucideFileBadge:fp,LucideFileBadge2:kp,LucideFileBarChart:ln,LucideFileBarChart2:hn,LucideFileBox:mp,LucideFileChartColumn:hn,LucideFileChartColumnIncreasing:ln,LucideFileChartLine:un,LucideFileChartPie:pn,LucideFileCheck:vp,LucideFileCheck2:gp,LucideFileClock:xp,LucideFileCode:Mp,LucideFileCode2:_p,LucideFileCog:yn,LucideFileCog2:yn,LucideFileDiff:Lp,LucideFileDigit:Ip,LucideFileDown:bp,LucideFileEdit:mn,LucideFileHeart:wp,LucideFileImage:Cp,LucideFileInput:Np,LucideFileJson:jp,LucideFileJson2:Sp,LucideFileKey:qp,LucideFileKey2:$p,LucideFileLineChart:un,LucideFileLock:zp,LucideFileLock2:Ap,LucideFileMinus:Pp,LucideFileMinus2:Vp,LucideFileMusic:Tp,LucideFileOutput:Hp,LucideFilePen:mn,LucideFilePenLine:kn,LucideFilePieChart:pn,LucideFilePlay:fn,LucideFilePlus:Bp,LucideFilePlus2:Dp,LucideFileQuestion:gn,LucideFileQuestionMark:gn,LucideFileScan:Rp,LucideFileSearch:Ep,LucideFileSearch2:Fp,LucideFileSignature:kn,LucideFileSliders:Op,LucideFileSpreadsheet:Up,LucideFileStack:Wp,LucideFileSymlink:Gp,LucideFileTerminal:Kp,LucideFileText:Zp,LucideFileType:Yp,LucideFileType2:Xp,LucideFileUp:Jp,LucideFileUser:Qp,LucideFileVideo:fn,LucideFileVideo2:vn,LucideFileVideoCamera:vn,LucideFileVolume:ty,LucideFileVolume2:ey,LucideFileWarning:ay,LucideFileX:oy,LucideFileX2:ny,LucideFiles:iy,LucideFilm:ry,LucideFilter:At,LucideFilterX:_n,LucideFingerprint:sy,LucideFireExtinguisher:dy,LucideFish:hy,LucideFishOff:ly,LucideFishSymbol:uy,LucideFlag:my,LucideFlagOff:py,LucideFlagTriangleLeft:yy,LucideFlagTriangleRight:ky,LucideFlame:gy,LucideFlameKindling:fy,LucideFlashlight:xy,LucideFlashlightOff:vy,LucideFlaskConical:_y,LucideFlaskConicalOff:My,LucideFlaskRound:Ly,LucideFlipHorizontal:by,LucideFlipHorizontal2:Iy,LucideFlipVertical:Cy,LucideFlipVertical2:wy,LucideFlower:Sy,LucideFlower2:Ny,LucideFocus:jy,LucideFoldHorizontal:$y,LucideFoldVertical:qy,LucideFolder:$1,LucideFolderArchive:Ay,LucideFolderCheck:zy,LucideFolderClock:Vy,LucideFolderClosed:Py,LucideFolderCode:Ty,LucideFolderCog:xn,LucideFolderCog2:xn,LucideFolderDot:Hy,LucideFolderDown:Dy,LucideFolderEdit:Mn,LucideFolderGit:Ry,LucideFolderGit2:By,LucideFolderHeart:Fy,LucideFolderInput:Ey,LucideFolderKanban:Oy,LucideFolderKey:Uy,LucideFolderLock:Wy,LucideFolderMinus:Gy,LucideFolderOpen:Zy,LucideFolderOpenDot:Ky,LucideFolderOutput:Xy,LucideFolderPen:Mn,LucideFolderPlus:zc,LucideFolderRoot:Yy,LucideFolderSearch:Qy,LucideFolderSearch2:Jy,LucideFolderSymlink:e4,LucideFolderSync:t4,LucideFolderTree:a4,LucideFolderUp:n4,LucideFolderX:o4,LucideFolders:c4,LucideFootprints:i4,LucideForkKnife:wc,LucideForkKnifeCrossed:bc,LucideForklift:r4,LucideFormInput:no,LucideForward:s4,LucideFrame:d4,LucideFramer:l4,LucideFrown:h4,LucideFuel:u4,LucideFullscreen:p4,LucideFunctionSquare:Ro,LucideFunnel:At,LucideFunnelPlus:y4,LucideFunnelX:_n,LucideGalleryHorizontal:m4,LucideGalleryHorizontalEnd:k4,LucideGalleryThumbnails:f4,LucideGalleryVertical:v4,LucideGalleryVerticalEnd:g4,LucideGamepad:M4,LucideGamepad2:x4,LucideGanttChart:ga,LucideGanttChartSquare:yt,LucideGauge:_4,LucideGaugeCircle:Ta,LucideGavel:L4,LucideGem:I4,LucideGeorgianLari:b4,LucideGhost:w4,LucideGift:C4,LucideGitBranch:S4,LucideGitBranchPlus:N4,LucideGitCommit:Ln,LucideGitCommitHorizontal:Ln,LucideGitCommitVertical:j4,LucideGitCompare:q4,LucideGitCompareArrows:$4,LucideGitFork:A4,LucideGitGraph:z4,LucideGitMerge:V4,LucideGitPullRequest:R4,LucideGitPullRequestArrow:P4,LucideGitPullRequestClosed:T4,LucideGitPullRequestCreate:D4,LucideGitPullRequestCreateArrow:H4,LucideGitPullRequestDraft:B4,LucideGithub:F4,LucideGitlab:E4,LucideGlassWater:O4,LucideGlasses:U4,LucideGlobe:G4,LucideGlobe2:cn,LucideGlobeLock:W4,LucideGoal:K4,LucideGpu:Z4,LucideGrab:Nn,LucideGraduationCap:X4,LucideGrape:Y4,LucideGrid:pt,LucideGrid2X2:Cn,LucideGrid2X2Check:In,LucideGrid2X2Plus:bn,LucideGrid2X2X:wn,LucideGrid2x2:Cn,LucideGrid2x2Check:In,LucideGrid2x2Plus:bn,LucideGrid2x2X:wn,LucideGrid3X3:pt,LucideGrid3x2:J4,LucideGrid3x3:pt,LucideGrip:e5,LucideGripHorizontal:Q4,LucideGripVertical:q1,LucideGroup:t5,LucideGuitar:a5,LucideHam:n5,LucideHamburger:o5,LucideHammer:c5,LucideHand:h5,LucideHandCoins:i5,LucideHandFist:r5,LucideHandGrab:Nn,LucideHandHeart:s5,LucideHandHelping:Sn,LucideHandMetal:d5,LucideHandPlatter:l5,LucideHandbag:u5,LucideHandshake:p5,LucideHardDrive:m5,LucideHardDriveDownload:y5,LucideHardDriveUpload:k5,LucideHardHat:f5,LucideHash:g5,LucideHatGlasses:v5,LucideHaze:x5,LucideHdmiPort:M5,LucideHeading:N5,LucideHeading1:_5,LucideHeading2:L5,LucideHeading3:I5,LucideHeading4:b5,LucideHeading5:w5,LucideHeading6:C5,LucideHeadphoneOff:S5,LucideHeadphones:j5,LucideHeadset:$5,LucideHeart:H5,LucideHeartCrack:q5,LucideHeartHandshake:A5,LucideHeartMinus:z5,LucideHeartOff:V5,LucideHeartPlus:P5,LucideHeartPulse:T5,LucideHeater:D5,LucideHelpCircle:ht,LucideHelpingHand:Sn,LucideHexagon:B5,LucideHighlighter:R5,LucideHistory:F5,LucideHome:zt,LucideHop:O5,LucideHopOff:E5,LucideHospital:A1,LucideHotel:U5,LucideHourglass:W5,LucideHouse:zt,LucideHousePlug:G5,LucideHousePlus:Z5,LucideHouseWifi:K5,LucideIceCream:$n,LucideIceCream2:jn,LucideIceCreamBowl:jn,LucideIceCreamCone:$n,LucideIdCard:Y5,LucideIdCardLanyard:X5,LucideImage:ck,LucideImageDown:J5,LucideImageMinus:Q5,LucideImageOff:ek,LucideImagePlay:tk,LucideImagePlus:ak,LucideImageUp:nk,LucideImageUpscale:ok,LucideImages:ik,LucideImport:rk,LucideInbox:sk,LucideIndent:An,LucideIndentDecrease:qn,LucideIndentIncrease:An,LucideIndianRupee:dk,LucideInfinity:lk,LucideInfo:hk,LucideInspect:Ko,LucideInspectionPanel:uk,LucideInstagram:pk,LucideItalic:yk,LucideIterationCcw:kk,LucideIterationCw:mk,LucideJapaneseYen:gk,LucideJoystick:fk,LucideKanban:vk,LucideKanbanSquare:Fo,LucideKanbanSquareDashed:Vo,LucideKayak:xk,LucideKey:Lk,LucideKeyRound:Mk,LucideKeySquare:_k,LucideKeyboard:wk,LucideKeyboardMusic:Ik,LucideKeyboardOff:bk,LucideLamp:qk,LucideLampCeiling:Ck,LucideLampDesk:Sk,LucideLampFloor:Nk,LucideLampWallDown:jk,LucideLampWallUp:$k,LucideLandPlot:Ak,LucideLandmark:zk,LucideLanguages:Vk,LucideLaptop:Tk,LucideLaptop2:zn,LucideLaptopMinimal:zn,LucideLaptopMinimalCheck:Pk,LucideLasso:Dk,LucideLassoSelect:Hk,LucideLaugh:Bk,LucideLayers:Vn,LucideLayers2:Rk,LucideLayers3:Vn,LucideLayout:to,LucideLayoutDashboard:Fk,LucideLayoutGrid:Ek,LucideLayoutList:Ok,LucideLayoutPanelLeft:Uk,LucideLayoutPanelTop:Wk,LucideLayoutTemplate:Gk,LucideLeaf:Kk,LucideLeafyGreen:Xk,LucideLectern:Zk,LucideLetterText:Yk,LucideLibrary:Qk,LucideLibraryBig:Jk,LucideLibrarySquare:Eo,LucideLifeBuoy:e3,LucideLigature:t3,LucideLightbulb:n3,LucideLightbulbOff:a3,LucideLineChart:ka,LucideLineSquiggle:o3,LucideLink:r3,LucideLink2:c3,LucideLink2Off:i3,LucideLinkedin:s3,LucideList:b3,LucideListCheck:d3,LucideListChecks:l3,LucideListCollapse:h3,LucideListEnd:u3,LucideListFilter:k3,LucideListFilterPlus:p3,LucideListMinus:y3,LucideListMusic:m3,LucideListOrdered:f3,LucideListPlus:g3,LucideListRestart:v3,LucideListStart:x3,LucideListTodo:M3,LucideListTree:_3,LucideListVideo:L3,LucideListX:I3,LucideLoader:C3,LucideLoader2:Pn,LucideLoaderCircle:Pn,LucideLoaderPinwheel:w3,LucideLocate:j3,LucideLocateFixed:N3,LucideLocateOff:S3,LucideLocationEdit:Bn,LucideLock:q3,LucideLockKeyhole:$3,LucideLockKeyholeOpen:Tn,LucideLockOpen:Hn,LucideLogIn:A3,LucideLogOut:z3,LucideLogs:V3,LucideLollipop:P3,LucideLuggage:T3,LucideMSquare:Oo,LucideMagnet:H3,LucideMail:U3,LucideMailCheck:D3,LucideMailMinus:B3,LucideMailOpen:R3,LucideMailPlus:F3,LucideMailQuestion:Dn,LucideMailQuestionMark:Dn,LucideMailSearch:E3,LucideMailWarning:O3,LucideMailX:W3,LucideMailbox:G3,LucideMails:K3,LucideMap:dm,LucideMapMinus:Z3,LucideMapPin:im,LucideMapPinCheck:X3,LucideMapPinCheckInside:Y3,LucideMapPinHouse:J3,LucideMapPinMinus:em,LucideMapPinMinusInside:Q3,LucideMapPinOff:tm,LucideMapPinPen:Bn,LucideMapPinPlus:nm,LucideMapPinPlusInside:am,LucideMapPinX:cm,LucideMapPinXInside:om,LucideMapPinned:rm,LucideMapPlus:sm,LucideMars:hm,LucideMarsStroke:lm,LucideMartini:um,LucideMaximize:km,LucideMaximize2:pm,LucideMedal:ym,LucideMegaphone:fm,LucideMegaphoneOff:mm,LucideMeh:gm,LucideMemoryStick:vm,LucideMenu:n1,LucideMenuSquare:Uo,LucideMerge:xm,LucideMessageCircle:jm,LucideMessageCircleCode:Mm,LucideMessageCircleDashed:_m,LucideMessageCircleHeart:Lm,LucideMessageCircleMore:Im,LucideMessageCircleOff:bm,LucideMessageCirclePlus:wm,LucideMessageCircleQuestion:Rn,LucideMessageCircleQuestionMark:Rn,LucideMessageCircleReply:Cm,LucideMessageCircleWarning:Nm,LucideMessageCircleX:Sm,LucideMessageSquare:Wm,LucideMessageSquareCode:$m,LucideMessageSquareDashed:qm,LucideMessageSquareDiff:Am,LucideMessageSquareDot:zm,LucideMessageSquareHeart:Vm,LucideMessageSquareLock:Pm,LucideMessageSquareMore:Tm,LucideMessageSquareOff:Hm,LucideMessageSquarePlus:Dm,LucideMessageSquareQuote:Bm,LucideMessageSquareReply:Rm,LucideMessageSquareShare:Fm,LucideMessageSquareText:Em,LucideMessageSquareWarning:Om,LucideMessageSquareX:Um,LucideMessagesSquare:Gm,LucideMic:Zm,LucideMic2:Fn,LucideMicOff:Km,LucideMicVocal:Fn,LucideMicrochip:Xm,LucideMicroscope:Ym,LucideMicrowave:Jm,LucideMilestone:Qm,LucideMilk:t6,LucideMilkOff:e6,LucideMinimize:n6,LucideMinimize2:a6,LucideMinus:o6,LucideMinusCircle:Ha,LucideMinusSquare:Wo,LucideMonitor:f6,LucideMonitorCheck:c6,LucideMonitorCog:i6,LucideMonitorDot:r6,LucideMonitorDown:s6,LucideMonitorOff:d6,LucideMonitorPause:h6,LucideMonitorPlay:l6,LucideMonitorSmartphone:u6,LucideMonitorSpeaker:p6,LucideMonitorStop:y6,LucideMonitorUp:k6,LucideMonitorX:m6,LucideMoon:v6,LucideMoonStar:g6,LucideMoreHorizontal:sn,LucideMoreVertical:rn,LucideMountain:M6,LucideMountainSnow:x6,LucideMouse:C6,LucideMouseOff:_6,LucideMousePointer:b6,LucideMousePointer2:L6,LucideMousePointerBan:I6,LucideMousePointerClick:w6,LucideMousePointerSquareDashed:Po,LucideMove:a.Move,LucideMove3D:En,LucideMove3d:En,LucideMoveDiagonal:S6,LucideMoveDiagonal2:N6,LucideMoveDown:A6,LucideMoveDownLeft:j6,LucideMoveDownRight:$6,LucideMoveHorizontal:q6,LucideMoveLeft:z6,LucideMoveRight:V6,LucideMoveUp:H6,LucideMoveUpLeft:P6,LucideMoveUpRight:T6,LucideMoveVertical:D6,LucideMusic:E6,LucideMusic2:B6,LucideMusic3:R6,LucideMusic4:F6,LucideNavigation:G6,LucideNavigation2:U6,LucideNavigation2Off:O6,LucideNavigationOff:W6,LucideNetwork:K6,LucideNewspaper:Z6,LucideNfc:X6,LucideNonBinary:Y6,LucideNotebook:tf,LucideNotebookPen:J6,LucideNotebookTabs:Q6,LucideNotebookText:ef,LucideNotepadText:nf,LucideNotepadTextDashed:af,LucideNut:cf,LucideNutOff:of,LucideOctagon:sf,LucideOctagonAlert:On,LucideOctagonMinus:rf,LucideOctagonPause:Un,LucideOctagonX:Wn,LucideOmega:df,LucideOption:lf,LucideOrbit:hf,LucideOrigami:uf,LucideOutdent:qn,LucidePackage:xf,LucidePackage2:pf,LucidePackageCheck:yf,LucidePackageMinus:kf,LucidePackageOpen:mf,LucidePackagePlus:ff,LucidePackageSearch:gf,LucidePackageX:vf,LucidePaintBucket:Mf,LucidePaintRoller:_f,LucidePaintbrush:Lf,LucidePaintbrush2:Gn,LucidePaintbrushVertical:Gn,LucidePalette:If,LucidePalmtree:yc,LucidePanda:bf,LucidePanelBottom:Nf,LucidePanelBottomClose:wf,LucidePanelBottomDashed:Kn,LucidePanelBottomInactive:Kn,LucidePanelBottomOpen:Cf,LucidePanelLeft:Jn,LucidePanelLeftClose:Zn,LucidePanelLeftDashed:Xn,LucidePanelLeftInactive:Xn,LucidePanelLeftOpen:Yn,LucidePanelRight:$f,LucidePanelRightClose:Sf,LucidePanelRightDashed:Qn,LucidePanelRightInactive:Qn,LucidePanelRightOpen:jf,LucidePanelTop:zf,LucidePanelTopClose:qf,LucidePanelTopDashed:eo,LucidePanelTopInactive:eo,LucidePanelTopOpen:Af,LucidePanelsLeftBottom:Vf,LucidePanelsLeftRight:an,LucidePanelsRightBottom:Pf,LucidePanelsTopBottom:io,LucidePanelsTopLeft:to,LucidePaperclip:Tf,LucideParentheses:Hf,LucideParkingCircle:Ra,LucideParkingCircleOff:Da,LucideParkingMeter:Df,LucideParkingSquare:Zo,LucideParkingSquareOff:Go,LucidePartyPopper:Bf,LucidePause:Rf,LucidePauseCircle:Ba,LucidePauseOctagon:Un,LucidePawPrint:Ff,LucidePcCase:Ef,LucidePen:xt,LucidePenBox:Ge,LucidePenLine:vt,LucidePenOff:Uf,LucidePenSquare:Ge,LucidePenTool:Of,LucidePencil:o1,LucidePencilLine:Wf,LucidePencilOff:Gf,LucidePencilRuler:Kf,LucidePentagon:Zf,LucidePercent:Xf,LucidePercentCircle:Fa,LucidePercentDiamond:on,LucidePercentSquare:Xo,LucidePersonStanding:Jf,LucidePhilippinePeso:Yf,LucidePhone:o8,LucidePhoneCall:Qf,LucidePhoneForwarded:e8,LucidePhoneIncoming:t8,LucidePhoneMissed:a8,LucidePhoneOff:n8,LucidePhoneOutgoing:c8,LucidePi:i8,LucidePiSquare:Yo,LucidePiano:r8,LucidePickaxe:s8,LucidePictureInPicture:l8,LucidePictureInPicture2:d8,LucidePieChart:va,LucidePiggyBank:h8,LucidePilcrow:p8,LucidePilcrowLeft:u8,LucidePilcrowRight:y8,LucidePilcrowSquare:Jo,LucidePill:m8,LucidePillBottle:k8,LucidePin:g8,LucidePinOff:f8,LucidePipette:v8,LucidePizza:x8,LucidePlane:L8,LucidePlaneLanding:M8,LucidePlaneTakeoff:_8,LucidePlay:I8,LucidePlayCircle:Ea,LucidePlaySquare:Qo,LucidePlug:w8,LucidePlug2:b8,LucidePlugZap:ao,LucidePlugZap2:ao,LucidePlus:Vc,LucidePlusCircle:Oa,LucidePlusSquare:ec,LucidePocket:N8,LucidePocketKnife:C8,LucidePodcast:S8,LucidePointer:$8,LucidePointerOff:j8,LucidePopcorn:A8,LucidePopsicle:q8,LucidePoundSterling:z8,LucidePower:P8,LucidePowerCircle:Ua,LucidePowerOff:V8,LucidePowerSquare:tc,LucidePresentation:T8,LucidePrinter:D8,LucidePrinterCheck:H8,LucideProjector:B8,LucideProportions:R8,LucidePuzzle:E8,LucidePyramid:F8,LucideQrCode:O8,LucideQuote:U8,LucideRabbit:W8,LucideRadar:G8,LucideRadiation:K8,LucideRadical:Z8,LucideRadio:J8,LucideRadioReceiver:X8,LucideRadioTower:Y8,LucideRadius:Q8,LucideRailSymbol:eg,LucideRainbow:tg,LucideRat:ag,LucideRatio:ng,LucideReceipt:pg,LucideReceiptCent:og,LucideReceiptEuro:ig,LucideReceiptIndianRupee:cg,LucideReceiptJapaneseYen:rg,LucideReceiptPoundSterling:sg,LucideReceiptRussianRuble:dg,LucideReceiptSwissFranc:lg,LucideReceiptText:hg,LucideReceiptTurkishLira:ug,LucideRectangleCircle:yg,LucideRectangleEllipsis:no,LucideRectangleGoggles:kg,LucideRectangleHorizontal:mg,LucideRectangleVertical:fg,LucideRecycle:gg,LucideRedo:Mg,LucideRedo2:vg,LucideRedoDot:xg,LucideRefreshCcw:Lg,LucideRefreshCcwDot:_g,LucideRefreshCw:bg,LucideRefreshCwOff:Ig,LucideRefrigerator:wg,LucideRegex:Cg,LucideRemoveFormatting:Ng,LucideRepeat:$g,LucideRepeat1:Sg,LucideRepeat2:jg,LucideReplace:Ag,LucideReplaceAll:qg,LucideReply:Pg,LucideReplyAll:zg,LucideRewind:Vg,LucideRibbon:Tg,LucideRocket:Hg,LucideRockingChair:Rg,LucideRollerCoaster:Dg,LucideRose:Bg,LucideRotate3D:oo,LucideRotate3d:oo,LucideRotateCcw:Og,LucideRotateCcwKey:Fg,LucideRotateCcwSquare:Eg,LucideRotateCw:Wg,LucideRotateCwSquare:Ug,LucideRoute:Kg,LucideRouteOff:Gg,LucideRouter:Zg,LucideRows:co,LucideRows2:co,LucideRows3:io,LucideRows4:Xg,LucideRss:Yg,LucideRuler:Qg,LucideRulerDimensionLine:Jg,LucideRussianRuble:e7,LucideSailboat:t7,LucideSalad:a7,LucideSandwich:n7,LucideSatellite:c7,LucideSatelliteDish:o7,LucideSaudiRiyal:i7,LucideSave:l7,LucideSaveAll:r7,LucideSaveOff:s7,LucideScale:d7,LucideScale3D:ro,LucideScale3d:ro,LucideScaling:h7,LucideScan:x7,LucideScanBarcode:u7,LucideScanEye:p7,LucideScanFace:y7,LucideScanHeart:k7,LucideScanLine:m7,LucideScanQrCode:f7,LucideScanSearch:g7,LucideScanText:v7,LucideScatterChart:xa,LucideSchool:M7,LucideSchool2:fc,LucideScissors:L7,LucideScissorsLineDashed:_7,LucideScissorsSquare:ac,LucideScissorsSquareDashedBottom:Co,LucideScreenShare:I7,LucideScreenShareOff:b7,LucideScroll:C7,LucideScrollText:w7,LucideSearch:z1,LucideSearchCheck:N7,LucideSearchCode:S7,LucideSearchSlash:j7,LucideSearchX:$7,LucideSection:q7,LucideSend:z7,LucideSendHorizonal:so,LucideSendHorizontal:so,LucideSendToBack:A7,LucideSeparatorHorizontal:V7,LucideSeparatorVertical:P7,LucideServer:B7,LucideServerCog:T7,LucideServerCrash:D7,LucideServerOff:H7,LucideSettings:F7,LucideSettings2:R7,LucideShapes:E7,LucideShare:U7,LucideShare2:O7,LucideSheet:W7,LucideShell:G7,LucideShield:nv,LucideShieldAlert:K7,LucideShieldBan:Z7,LucideShieldCheck:X7,LucideShieldClose:ho,LucideShieldEllipsis:Y7,LucideShieldHalf:J7,LucideShieldMinus:ev,LucideShieldOff:Q7,LucideShieldPlus:tv,LucideShieldQuestion:lo,LucideShieldQuestionMark:lo,LucideShieldUser:av,LucideShieldX:ho,LucideShip:cv,LucideShipWheel:ov,LucideShirt:iv,LucideShoppingBag:rv,LucideShoppingBasket:sv,LucideShoppingCart:dv,LucideShovel:lv,LucideShowerHead:hv,LucideShredder:uv,LucideShrimp:pv,LucideShrink:yv,LucideShrub:kv,LucideShuffle:fv,LucideSidebar:Jn,LucideSidebarClose:Zn,LucideSidebarOpen:Yn,LucideSigma:mv,LucideSigmaSquare:nc,LucideSignal:_v,LucideSignalHigh:gv,LucideSignalLow:vv,LucideSignalMedium:xv,LucideSignalZero:Mv,LucideSignature:Lv,LucideSignpost:bv,LucideSignpostBig:Iv,LucideSiren:wv,LucideSkipBack:Cv,LucideSkipForward:Nv,LucideSkull:Sv,LucideSlack:jv,LucideSlash:$v,LucideSlashSquare:oc,LucideSlice:qv,LucideSliders:uo,LucideSlidersHorizontal:Av,LucideSlidersVertical:uo,LucideSmartphone:Pv,LucideSmartphoneCharging:zv,LucideSmartphoneNfc:Vv,LucideSmile:Hv,LucideSmilePlus:Tv,LucideSnail:Dv,LucideSnowflake:Bv,LucideSoapDispenserDroplet:Rv,LucideSofa:Fv,LucideSortAsc:Jt,LucideSortDesc:Zt,LucideSoup:Ev,LucideSpace:Ov,LucideSpade:Uv,LucideSparkle:Wv,LucideSparkles:po,LucideSpeaker:Gv,LucideSpeech:Kv,LucideSpellCheck:Xv,LucideSpellCheck2:Zv,LucideSpline:Jv,LucideSplinePointer:Yv,LucideSplit:Qv,LucideSplitSquareHorizontal:cc,LucideSplitSquareVertical:ic,LucideSpool:e9,LucideSpotlight:t9,LucideSprayCan:a9,LucideSprout:n9,LucideSquare:y9,LucideSquareActivity:Vt,LucideSquareArrowDown:mo,LucideSquareArrowDownLeft:yo,LucideSquareArrowDownRight:ko,LucideSquareArrowLeft:fo,LucideSquareArrowOutDownLeft:go,LucideSquareArrowOutDownRight:vo,LucideSquareArrowOutUpLeft:xo,LucideSquareArrowOutUpRight:Mo,LucideSquareArrowRight:_o,LucideSquareArrowUp:bo,LucideSquareArrowUpLeft:Lo,LucideSquareArrowUpRight:Io,LucideSquareAsterisk:wo,LucideSquareBottomDashedScissors:Co,LucideSquareChartGantt:yt,LucideSquareCheck:So,LucideSquareCheckBig:No,LucideSquareChevronDown:jo,LucideSquareChevronLeft:$o,LucideSquareChevronRight:qo,LucideSquareChevronUp:Ao,LucideSquareCode:zo,LucideSquareDashed:To,LucideSquareDashedBottom:c9,LucideSquareDashedBottomCode:o9,LucideSquareDashedKanban:Vo,LucideSquareDashedMousePointer:Po,LucideSquareDashedTopSolid:i9,LucideSquareDivide:Ho,LucideSquareDot:Bo,LucideSquareEqual:Do,LucideSquareFunction:Ro,LucideSquareGanttChart:yt,LucideSquareKanban:Fo,LucideSquareLibrary:Eo,LucideSquareM:Oo,LucideSquareMenu:Uo,LucideSquareMinus:Wo,LucideSquareMousePointer:Ko,LucideSquareParking:Zo,LucideSquareParkingOff:Go,LucideSquarePause:r9,LucideSquarePen:Ge,LucideSquarePercent:Xo,LucideSquarePi:Yo,LucideSquarePilcrow:Jo,LucideSquarePlay:Qo,LucideSquarePlus:ec,LucideSquarePower:tc,LucideSquareRadical:s9,LucideSquareRoundCorner:d9,LucideSquareScissors:ac,LucideSquareSigma:nc,LucideSquareSlash:oc,LucideSquareSplitHorizontal:cc,LucideSquareSplitVertical:ic,LucideSquareSquare:l9,LucideSquareStack:h9,LucideSquareStar:u9,LucideSquareStop:p9,LucideSquareTerminal:rc,LucideSquareUser:dc,LucideSquareUserRound:sc,LucideSquareX:lc,LucideSquaresExclude:k9,LucideSquaresIntersect:m9,LucideSquaresSubtract:f9,LucideSquaresUnite:g9,LucideSquircle:x9,LucideSquircleDashed:v9,LucideSquirrel:M9,LucideStamp:_9,LucideStar:w9,LucideStarHalf:L9,LucideStarOff:I9,LucideStars:po,LucideStepBack:b9,LucideStepForward:C9,LucideStethoscope:N9,LucideSticker:S9,LucideStickyNote:j9,LucideStopCircle:Ga,LucideStore:$9,LucideStretchHorizontal:q9,LucideStretchVertical:A9,LucideStrikethrough:z9,LucideSubscript:V9,LucideSubtitles:ra,LucideSun:R9,LucideSunDim:P9,LucideSunMedium:T9,LucideSunMoon:H9,LucideSunSnow:D9,LucideSunrise:B9,LucideSunset:F9,LucideSuperscript:E9,LucideSwatchBook:O9,LucideSwissFranc:U9,LucideSwitchCamera:W9,LucideSword:G9,LucideSwords:Z9,LucideSyringe:K9,LucideTable:nx,LucideTable2:X9,LucideTableCellsMerge:Y9,LucideTableCellsSplit:J9,LucideTableColumnsSplit:Q9,LucideTableConfig:ut,LucideTableOfContents:ex,LucideTableProperties:tx,LucideTableRowsSplit:ax,LucideTablet:cx,LucideTabletSmartphone:ox,LucideTablets:ix,LucideTag:rx,LucideTags:sx,LucideTally1:dx,LucideTally2:lx,LucideTally3:hx,LucideTally4:ux,LucideTally5:px,LucideTangent:yx,LucideTarget:kx,LucideTelescope:mx,LucideTent:gx,LucideTentTree:fx,LucideTerminal:vx,LucideTerminalSquare:rc,LucideTestTube:xx,LucideTestTube2:hc,LucideTestTubeDiagonal:hc,LucideTestTubes:Mx,LucideText:wx,LucideTextCursor:Lx,LucideTextCursorInput:_x,LucideTextQuote:Ix,LucideTextSearch:bx,LucideTextSelect:uc,LucideTextSelection:uc,LucideTheater:Cx,LucideThermometer:$x,LucideThermometerSnowflake:Nx,LucideThermometerSun:Sx,LucideThumbsDown:jx,LucideThumbsUp:qx,LucideTicket:Dx,LucideTicketCheck:Ax,LucideTicketMinus:zx,LucideTicketPercent:Vx,LucideTicketPlus:Px,LucideTicketSlash:Tx,LucideTicketX:Hx,LucideTickets:Rx,LucideTicketsPlane:Bx,LucideTimer:Ox,LucideTimerOff:Fx,LucideTimerReset:Ex,LucideToggleLeft:Ux,LucideToggleRight:Wx,LucideToilet:Gx,LucideToolCase:Kx,LucideTornado:Xx,LucideTorus:Zx,LucideTouchpad:Jx,LucideTouchpadOff:Yx,LucideTowerControl:eM,LucideToyBrick:Qx,LucideTractor:tM,LucideTrafficCone:aM,LucideTrain:pc,LucideTrainFront:oM,LucideTrainFrontTunnel:nM,LucideTrainTrack:cM,LucideTramFront:pc,LucideTransgender:iM,LucideTrash:rM,LucideTrash2:kt,LucideTreeDeciduous:sM,LucideTreePalm:yc,LucideTreePine:dM,LucideTrees:lM,LucideTrello:hM,LucideTrendingDown:uM,LucideTrendingUp:pM,LucideTrendingUpDown:yM,LucideTriangle:mM,LucideTriangleAlert:kc,LucideTriangleDashed:kM,LucideTriangleRight:fM,LucideTrophy:gM,LucideTruck:xM,LucideTruckElectric:vM,LucideTurkishLira:MM,LucideTurntable:_M,LucideTurtle:LM,LucideTv:bM,LucideTv2:mc,LucideTvMinimal:mc,LucideTvMinimalPlay:IM,LucideTwitch:wM,LucideTwitter:CM,LucideType:SM,LucideTypeOutline:NM,LucideUmbrella:$M,LucideUmbrellaOff:jM,LucideUnderline:qM,LucideUndo:VM,LucideUndo2:AM,LucideUndoDot:zM,LucideUnfoldHorizontal:PM,LucideUnfoldVertical:TM,LucideUngroup:HM,LucideUniversity:fc,LucideUnlink:FM,LucideUnlink2:DM,LucideUnlock:Hn,LucideUnlockKeyhole:Tn,LucideUnplug:BM,LucideUpload:RM,LucideUploadCloud:Qa,LucideUsb:EM,LucideUser:e_,LucideUser2:Lc,LucideUserCheck:OM,LucideUserCheck2:gc,LucideUserCircle:Za,LucideUserCircle2:Ka,LucideUserCog:UM,LucideUserCog2:vc,LucideUserLock:WM,LucideUserMinus:GM,LucideUserMinus2:xc,LucideUserPen:KM,LucideUserPlus:V1,LucideUserPlus2:Mc,LucideUserRound:Lc,LucideUserRoundCheck:gc,LucideUserRoundCog:vc,LucideUserRoundMinus:xc,LucideUserRoundPen:ZM,LucideUserRoundPlus:Mc,LucideUserRoundSearch:XM,LucideUserRoundX:_c,LucideUserSearch:YM,LucideUserSquare:dc,LucideUserSquare2:sc,LucideUserStar:JM,LucideUserX:QM,LucideUserX2:_c,LucideUsers:t_,LucideUsers2:Ic,LucideUsersRound:Ic,LucideUtensils:wc,LucideUtensilsCrossed:bc,LucideUtilityPole:a_,LucideVariable:n_,LucideVault:o_,LucideVectorSquare:c_,LucideVegan:i_,LucideVenetianMask:r_,LucideVenus:h_,LucideVenusAndMars:s_,LucideVerified:ta,LucideVibrate:l_,LucideVibrateOff:d_,LucideVideo:p_,LucideVideoOff:u_,LucideVideotape:y_,LucideView:m_,LucideVoicemail:k_,LucideVolleyball:f_,LucideVolume:L_,LucideVolume1:g_,LucideVolume2:v_,LucideVolumeOff:x_,LucideVolumeX:M_,LucideVote:__,LucideWallet:b_,LucideWallet2:Cc,LucideWalletCards:I_,LucideWalletMinimal:Cc,LucideWallpaper:w_,LucideWand:C_,LucideWand2:Nc,LucideWandSparkles:Nc,LucideWarehouse:N_,LucideWashingMachine:S_,LucideWatch:j_,LucideWaves:q_,LucideWavesLadder:$_,LucideWaypoints:A_,LucideWebcam:z_,LucideWebhook:T_,LucideWebhookOff:V_,LucideWeight:P_,LucideWheat:D_,LucideWheatOff:H_,LucideWholeWord:B_,LucideWifi:K_,LucideWifiCog:R_,LucideWifiHigh:F_,LucideWifiLow:E_,LucideWifiOff:O_,LucideWifiPen:U_,LucideWifiSync:W_,LucideWifiZero:G_,LucideWind:X_,LucideWindArrowDown:Z_,LucideWine:J_,LucideWineOff:Y_,LucideWorkflow:Q_,LucideWorm:eL,LucideWrapText:tL,LucideWrench:aL,LucideX:at,LucideXCircle:qt,LucideXOctagon:Wn,LucideXSquare:lc,LucideYoutube:oL,LucideZap:cL,LucideZapOff:nL,LucideZoomIn:iL,LucideZoomOut:rL,Luggage:T3,LuggageIcon:T3,MSquare:Oo,MSquareIcon:Oo,Magnet:H3,MagnetIcon:H3,Mail:U3,MailCheck:D3,MailCheckIcon:D3,MailIcon:U3,MailMinus:B3,MailMinusIcon:B3,MailOpen:R3,MailOpenIcon:R3,MailPlus:F3,MailPlusIcon:F3,MailQuestion:Dn,MailQuestionIcon:Dn,MailQuestionMark:Dn,MailQuestionMarkIcon:Dn,MailSearch:E3,MailSearchIcon:E3,MailWarning:O3,MailWarningIcon:O3,MailX:W3,MailXIcon:W3,Mailbox:G3,MailboxIcon:G3,Mails:K3,MailsIcon:K3,Map:dm,MapIcon:dm,MapMinus:Z3,MapMinusIcon:Z3,MapPin:im,MapPinCheck:X3,MapPinCheckIcon:X3,MapPinCheckInside:Y3,MapPinCheckInsideIcon:Y3,MapPinHouse:J3,MapPinHouseIcon:J3,MapPinIcon:im,MapPinMinus:em,MapPinMinusIcon:em,MapPinMinusInside:Q3,MapPinMinusInsideIcon:Q3,MapPinOff:tm,MapPinOffIcon:tm,MapPinPen:Bn,MapPinPenIcon:Bn,MapPinPlus:nm,MapPinPlusIcon:nm,MapPinPlusInside:am,MapPinPlusInsideIcon:am,MapPinX:cm,MapPinXIcon:cm,MapPinXInside:om,MapPinXInsideIcon:om,MapPinned:rm,MapPinnedIcon:rm,MapPlus:sm,MapPlusIcon:sm,Mars:hm,MarsIcon:hm,MarsStroke:lm,MarsStrokeIcon:lm,Martini:um,MartiniIcon:um,Maximize:km,Maximize2:pm,Maximize2Icon:pm,MaximizeIcon:km,Medal:ym,MedalIcon:ym,Megaphone:fm,MegaphoneIcon:fm,MegaphoneOff:mm,MegaphoneOffIcon:mm,Meh:gm,MehIcon:gm,MemoryStick:vm,MemoryStickIcon:vm,Menu:n1,MenuIcon:n1,MenuSquare:Uo,MenuSquareIcon:Uo,Merge:xm,MergeIcon:xm,MessageCircle:jm,MessageCircleCode:Mm,MessageCircleCodeIcon:Mm,MessageCircleDashed:_m,MessageCircleDashedIcon:_m,MessageCircleHeart:Lm,MessageCircleHeartIcon:Lm,MessageCircleIcon:jm,MessageCircleMore:Im,MessageCircleMoreIcon:Im,MessageCircleOff:bm,MessageCircleOffIcon:bm,MessageCirclePlus:wm,MessageCirclePlusIcon:wm,MessageCircleQuestion:Rn,MessageCircleQuestionIcon:Rn,MessageCircleQuestionMark:Rn,MessageCircleQuestionMarkIcon:Rn,MessageCircleReply:Cm,MessageCircleReplyIcon:Cm,MessageCircleWarning:Nm,MessageCircleWarningIcon:Nm,MessageCircleX:Sm,MessageCircleXIcon:Sm,MessageSquare:Wm,MessageSquareCode:$m,MessageSquareCodeIcon:$m,MessageSquareDashed:qm,MessageSquareDashedIcon:qm,MessageSquareDiff:Am,MessageSquareDiffIcon:Am,MessageSquareDot:zm,MessageSquareDotIcon:zm,MessageSquareHeart:Vm,MessageSquareHeartIcon:Vm,MessageSquareIcon:Wm,MessageSquareLock:Pm,MessageSquareLockIcon:Pm,MessageSquareMore:Tm,MessageSquareMoreIcon:Tm,MessageSquareOff:Hm,MessageSquareOffIcon:Hm,MessageSquarePlus:Dm,MessageSquarePlusIcon:Dm,MessageSquareQuote:Bm,MessageSquareQuoteIcon:Bm,MessageSquareReply:Rm,MessageSquareReplyIcon:Rm,MessageSquareShare:Fm,MessageSquareShareIcon:Fm,MessageSquareText:Em,MessageSquareTextIcon:Em,MessageSquareWarning:Om,MessageSquareWarningIcon:Om,MessageSquareX:Um,MessageSquareXIcon:Um,MessagesSquare:Gm,MessagesSquareIcon:Gm,Mic:Zm,Mic2:Fn,Mic2Icon:Fn,MicIcon:Zm,MicOff:Km,MicOffIcon:Km,MicVocal:Fn,MicVocalIcon:Fn,Microchip:Xm,MicrochipIcon:Xm,Microscope:Ym,MicroscopeIcon:Ym,Microwave:Jm,MicrowaveIcon:Jm,Milestone:Qm,MilestoneIcon:Qm,Milk:t6,MilkIcon:t6,MilkOff:e6,MilkOffIcon:e6,Minimize:n6,Minimize2:a6,Minimize2Icon:a6,MinimizeIcon:n6,Minus:o6,MinusCircle:Ha,MinusCircleIcon:Ha,MinusIcon:o6,MinusSquare:Wo,MinusSquareIcon:Wo,Monitor:f6,MonitorCheck:c6,MonitorCheckIcon:c6,MonitorCog:i6,MonitorCogIcon:i6,MonitorDot:r6,MonitorDotIcon:r6,MonitorDown:s6,MonitorDownIcon:s6,MonitorIcon:f6,MonitorOff:d6,MonitorOffIcon:d6,MonitorPause:h6,MonitorPauseIcon:h6,MonitorPlay:l6,MonitorPlayIcon:l6,MonitorSmartphone:u6,MonitorSmartphoneIcon:u6,MonitorSpeaker:p6,MonitorSpeakerIcon:p6,MonitorStop:y6,MonitorStopIcon:y6,MonitorUp:k6,MonitorUpIcon:k6,MonitorX:m6,MonitorXIcon:m6,Moon:v6,MoonIcon:v6,MoonStar:g6,MoonStarIcon:g6,MoreHorizontal:sn,MoreHorizontalIcon:sn,MoreVertical:rn,MoreVerticalIcon:rn,Mountain:M6,MountainIcon:M6,MountainSnow:x6,MountainSnowIcon:x6,Mouse:C6,MouseIcon:C6,MouseOff:_6,MouseOffIcon:_6,MousePointer:b6,MousePointer2:L6,MousePointer2Icon:L6,MousePointerBan:I6,MousePointerBanIcon:I6,MousePointerClick:w6,MousePointerClickIcon:w6,MousePointerIcon:b6,MousePointerSquareDashed:Po,MousePointerSquareDashedIcon:Po,Move:a.Move,Move3D:En,Move3DIcon:En,Move3d:En,Move3dIcon:En,MoveDiagonal:S6,MoveDiagonal2:N6,MoveDiagonal2Icon:N6,MoveDiagonalIcon:S6,MoveDown:A6,MoveDownIcon:A6,MoveDownLeft:j6,MoveDownLeftIcon:j6,MoveDownRight:$6,MoveDownRightIcon:$6,MoveHorizontal:q6,MoveHorizontalIcon:q6,MoveIcon:a.Move,MoveLeft:z6,MoveLeftIcon:z6,MoveRight:V6,MoveRightIcon:V6,MoveUp:H6,MoveUpIcon:H6,MoveUpLeft:P6,MoveUpLeftIcon:P6,MoveUpRight:T6,MoveUpRightIcon:T6,MoveVertical:D6,MoveVerticalIcon:D6,Music:E6,Music2:B6,Music2Icon:B6,Music3:R6,Music3Icon:R6,Music4:F6,Music4Icon:F6,MusicIcon:E6,Navigation:G6,Navigation2:U6,Navigation2Icon:U6,Navigation2Off:O6,Navigation2OffIcon:O6,NavigationIcon:G6,NavigationOff:W6,NavigationOffIcon:W6,Network:K6,NetworkIcon:K6,Newspaper:Z6,NewspaperIcon:Z6,Nfc:X6,NfcIcon:X6,NonBinary:Y6,NonBinaryIcon:Y6,Notebook:tf,NotebookIcon:tf,NotebookPen:J6,NotebookPenIcon:J6,NotebookTabs:Q6,NotebookTabsIcon:Q6,NotebookText:ef,NotebookTextIcon:ef,NotepadText:nf,NotepadTextDashed:af,NotepadTextDashedIcon:af,NotepadTextIcon:nf,Nut:cf,NutIcon:cf,NutOff:of,NutOffIcon:of,Octagon:sf,OctagonAlert:On,OctagonAlertIcon:On,OctagonIcon:sf,OctagonMinus:rf,OctagonMinusIcon:rf,OctagonPause:Un,OctagonPauseIcon:Un,OctagonX:Wn,OctagonXIcon:Wn,Omega:df,OmegaIcon:df,Option:lf,OptionIcon:lf,Orbit:hf,OrbitIcon:hf,Origami:uf,OrigamiIcon:uf,Outdent:qn,OutdentIcon:qn,Package:xf,Package2:pf,Package2Icon:pf,PackageCheck:yf,PackageCheckIcon:yf,PackageIcon:xf,PackageMinus:kf,PackageMinusIcon:kf,PackageOpen:mf,PackageOpenIcon:mf,PackagePlus:ff,PackagePlusIcon:ff,PackageSearch:gf,PackageSearchIcon:gf,PackageX:vf,PackageXIcon:vf,PaintBucket:Mf,PaintBucketIcon:Mf,PaintRoller:_f,PaintRollerIcon:_f,Paintbrush:Lf,Paintbrush2:Gn,Paintbrush2Icon:Gn,PaintbrushIcon:Lf,PaintbrushVertical:Gn,PaintbrushVerticalIcon:Gn,Palette:If,PaletteIcon:If,Palmtree:yc,PalmtreeIcon:yc,Panda:bf,PandaIcon:bf,PanelBottom:Nf,PanelBottomClose:wf,PanelBottomCloseIcon:wf,PanelBottomDashed:Kn,PanelBottomDashedIcon:Kn,PanelBottomIcon:Nf,PanelBottomInactive:Kn,PanelBottomInactiveIcon:Kn,PanelBottomOpen:Cf,PanelBottomOpenIcon:Cf,PanelLeft:Jn,PanelLeftClose:Zn,PanelLeftCloseIcon:Zn,PanelLeftDashed:Xn,PanelLeftDashedIcon:Xn,PanelLeftIcon:Jn,PanelLeftInactive:Xn,PanelLeftInactiveIcon:Xn,PanelLeftOpen:Yn,PanelLeftOpenIcon:Yn,PanelRight:$f,PanelRightClose:Sf,PanelRightCloseIcon:Sf,PanelRightDashed:Qn,PanelRightDashedIcon:Qn,PanelRightIcon:$f,PanelRightInactive:Qn,PanelRightInactiveIcon:Qn,PanelRightOpen:jf,PanelRightOpenIcon:jf,PanelTop:zf,PanelTopClose:qf,PanelTopCloseIcon:qf,PanelTopDashed:eo,PanelTopDashedIcon:eo,PanelTopIcon:zf,PanelTopInactive:eo,PanelTopInactiveIcon:eo,PanelTopOpen:Af,PanelTopOpenIcon:Af,PanelsLeftBottom:Vf,PanelsLeftBottomIcon:Vf,PanelsLeftRight:an,PanelsLeftRightIcon:an,PanelsRightBottom:Pf,PanelsRightBottomIcon:Pf,PanelsTopBottom:io,PanelsTopBottomIcon:io,PanelsTopLeft:to,PanelsTopLeftIcon:to,Paperclip:Tf,PaperclipIcon:Tf,Parentheses:Hf,ParenthesesIcon:Hf,ParkingCircle:Ra,ParkingCircleIcon:Ra,ParkingCircleOff:Da,ParkingCircleOffIcon:Da,ParkingMeter:Df,ParkingMeterIcon:Df,ParkingSquare:Zo,ParkingSquareIcon:Zo,ParkingSquareOff:Go,ParkingSquareOffIcon:Go,PartyPopper:Bf,PartyPopperIcon:Bf,Pause:Rf,PauseCircle:Ba,PauseCircleIcon:Ba,PauseIcon:Rf,PauseOctagon:Un,PauseOctagonIcon:Un,PawPrint:Ff,PawPrintIcon:Ff,PcCase:Ef,PcCaseIcon:Ef,Pen:xt,PenBox:Ge,PenBoxIcon:Ge,PenIcon:xt,PenLine:vt,PenLineIcon:vt,PenOff:Uf,PenOffIcon:Uf,PenSquare:Ge,PenSquareIcon:Ge,PenTool:Of,PenToolIcon:Of,Pencil:o1,PencilIcon:o1,PencilLine:Wf,PencilLineIcon:Wf,PencilOff:Gf,PencilOffIcon:Gf,PencilRuler:Kf,PencilRulerIcon:Kf,Pentagon:Zf,PentagonIcon:Zf,Percent:Xf,PercentCircle:Fa,PercentCircleIcon:Fa,PercentDiamond:on,PercentDiamondIcon:on,PercentIcon:Xf,PercentSquare:Xo,PercentSquareIcon:Xo,PersonStanding:Jf,PersonStandingIcon:Jf,PhilippinePeso:Yf,PhilippinePesoIcon:Yf,Phone:o8,PhoneCall:Qf,PhoneCallIcon:Qf,PhoneForwarded:e8,PhoneForwardedIcon:e8,PhoneIcon:o8,PhoneIncoming:t8,PhoneIncomingIcon:t8,PhoneMissed:a8,PhoneMissedIcon:a8,PhoneOff:n8,PhoneOffIcon:n8,PhoneOutgoing:c8,PhoneOutgoingIcon:c8,Pi:i8,PiIcon:i8,PiSquare:Yo,PiSquareIcon:Yo,Piano:r8,PianoIcon:r8,Pickaxe:s8,PickaxeIcon:s8,PictureInPicture:l8,PictureInPicture2:d8,PictureInPicture2Icon:d8,PictureInPictureIcon:l8,PieChart:va,PieChartIcon:va,PiggyBank:h8,PiggyBankIcon:h8,Pilcrow:p8,PilcrowIcon:p8,PilcrowLeft:u8,PilcrowLeftIcon:u8,PilcrowRight:y8,PilcrowRightIcon:y8,PilcrowSquare:Jo,PilcrowSquareIcon:Jo,Pill:m8,PillBottle:k8,PillBottleIcon:k8,PillIcon:m8,Pin:g8,PinIcon:g8,PinOff:f8,PinOffIcon:f8,Pipette:v8,PipetteIcon:v8,Pizza:x8,PizzaIcon:x8,Plane:L8,PlaneIcon:L8,PlaneLanding:M8,PlaneLandingIcon:M8,PlaneTakeoff:_8,PlaneTakeoffIcon:_8,Play:I8,PlayCircle:Ea,PlayCircleIcon:Ea,PlayIcon:I8,PlaySquare:Qo,PlaySquareIcon:Qo,Plug:w8,Plug2:b8,Plug2Icon:b8,PlugIcon:w8,PlugZap:ao,PlugZap2:ao,PlugZap2Icon:ao,PlugZapIcon:ao,Plus:Vc,PlusCircle:Oa,PlusCircleIcon:Oa,PlusIcon:Vc,PlusSquare:ec,PlusSquareIcon:ec,Pocket:N8,PocketIcon:N8,PocketKnife:C8,PocketKnifeIcon:C8,Podcast:S8,PodcastIcon:S8,Pointer:$8,PointerIcon:$8,PointerOff:j8,PointerOffIcon:j8,Popcorn:A8,PopcornIcon:A8,Popsicle:q8,PopsicleIcon:q8,PoundSterling:z8,PoundSterlingIcon:z8,Power:P8,PowerCircle:Ua,PowerCircleIcon:Ua,PowerIcon:P8,PowerOff:V8,PowerOffIcon:V8,PowerSquare:tc,PowerSquareIcon:tc,Presentation:T8,PresentationIcon:T8,Printer:D8,PrinterCheck:H8,PrinterCheckIcon:H8,PrinterIcon:D8,Projector:B8,ProjectorIcon:B8,Proportions:R8,ProportionsIcon:R8,Puzzle:E8,PuzzleIcon:E8,Pyramid:F8,PyramidIcon:F8,QrCode:O8,QrCodeIcon:O8,Quote:U8,QuoteIcon:U8,Rabbit:W8,RabbitIcon:W8,Radar:G8,RadarIcon:G8,Radiation:K8,RadiationIcon:K8,Radical:Z8,RadicalIcon:Z8,Radio:J8,RadioIcon:J8,RadioReceiver:X8,RadioReceiverIcon:X8,RadioTower:Y8,RadioTowerIcon:Y8,Radius:Q8,RadiusIcon:Q8,RailSymbol:eg,RailSymbolIcon:eg,Rainbow:tg,RainbowIcon:tg,Rat:ag,RatIcon:ag,Ratio:ng,RatioIcon:ng,Receipt:pg,ReceiptCent:og,ReceiptCentIcon:og,ReceiptEuro:ig,ReceiptEuroIcon:ig,ReceiptIcon:pg,ReceiptIndianRupee:cg,ReceiptIndianRupeeIcon:cg,ReceiptJapaneseYen:rg,ReceiptJapaneseYenIcon:rg,ReceiptPoundSterling:sg,ReceiptPoundSterlingIcon:sg,ReceiptRussianRuble:dg,ReceiptRussianRubleIcon:dg,ReceiptSwissFranc:lg,ReceiptSwissFrancIcon:lg,ReceiptText:hg,ReceiptTextIcon:hg,ReceiptTurkishLira:ug,ReceiptTurkishLiraIcon:ug,RectangleCircle:yg,RectangleCircleIcon:yg,RectangleEllipsis:no,RectangleEllipsisIcon:no,RectangleGoggles:kg,RectangleGogglesIcon:kg,RectangleHorizontal:mg,RectangleHorizontalIcon:mg,RectangleVertical:fg,RectangleVerticalIcon:fg,Recycle:gg,RecycleIcon:gg,Redo:Mg,Redo2:vg,Redo2Icon:vg,RedoDot:xg,RedoDotIcon:xg,RedoIcon:Mg,RefreshCcw:Lg,RefreshCcwDot:_g,RefreshCcwDotIcon:_g,RefreshCcwIcon:Lg,RefreshCw:bg,RefreshCwIcon:bg,RefreshCwOff:Ig,RefreshCwOffIcon:Ig,Refrigerator:wg,RefrigeratorIcon:wg,Regex:Cg,RegexIcon:Cg,RemoveFormatting:Ng,RemoveFormattingIcon:Ng,Repeat:$g,Repeat1:Sg,Repeat1Icon:Sg,Repeat2:jg,Repeat2Icon:jg,RepeatIcon:$g,Replace:Ag,ReplaceAll:qg,ReplaceAllIcon:qg,ReplaceIcon:Ag,Reply:Pg,ReplyAll:zg,ReplyAllIcon:zg,ReplyIcon:Pg,Rewind:Vg,RewindIcon:Vg,Ribbon:Tg,RibbonIcon:Tg,Rocket:Hg,RocketIcon:Hg,RockingChair:Rg,RockingChairIcon:Rg,RollerCoaster:Dg,RollerCoasterIcon:Dg,Rose:Bg,RoseIcon:Bg,Rotate3D:oo,Rotate3DIcon:oo,Rotate3d:oo,Rotate3dIcon:oo,RotateCcw:Og,RotateCcwIcon:Og,RotateCcwKey:Fg,RotateCcwKeyIcon:Fg,RotateCcwSquare:Eg,RotateCcwSquareIcon:Eg,RotateCw:Wg,RotateCwIcon:Wg,RotateCwSquare:Ug,RotateCwSquareIcon:Ug,Route:Kg,RouteIcon:Kg,RouteOff:Gg,RouteOffIcon:Gg,Router:Zg,RouterIcon:Zg,Rows:co,Rows2:co,Rows2Icon:co,Rows3:io,Rows3Icon:io,Rows4:Xg,Rows4Icon:Xg,RowsIcon:co,Rss:Yg,RssIcon:Yg,Ruler:Qg,RulerDimensionLine:Jg,RulerDimensionLineIcon:Jg,RulerIcon:Qg,RussianRuble:e7,RussianRubleIcon:e7,Sailboat:t7,SailboatIcon:t7,Salad:a7,SaladIcon:a7,Sandwich:n7,SandwichIcon:n7,Satellite:c7,SatelliteDish:o7,SatelliteDishIcon:o7,SatelliteIcon:c7,SaudiRiyal:i7,SaudiRiyalIcon:i7,Save:l7,SaveAll:r7,SaveAllIcon:r7,SaveIcon:l7,SaveOff:s7,SaveOffIcon:s7,Scale:d7,Scale3D:ro,Scale3DIcon:ro,Scale3d:ro,Scale3dIcon:ro,ScaleIcon:d7,Scaling:h7,ScalingIcon:h7,Scan:x7,ScanBarcode:u7,ScanBarcodeIcon:u7,ScanEye:p7,ScanEyeIcon:p7,ScanFace:y7,ScanFaceIcon:y7,ScanHeart:k7,ScanHeartIcon:k7,ScanIcon:x7,ScanLine:m7,ScanLineIcon:m7,ScanQrCode:f7,ScanQrCodeIcon:f7,ScanSearch:g7,ScanSearchIcon:g7,ScanText:v7,ScanTextIcon:v7,ScatterChart:xa,ScatterChartIcon:xa,School:M7,School2:fc,School2Icon:fc,SchoolIcon:M7,Scissors:L7,ScissorsIcon:L7,ScissorsLineDashed:_7,ScissorsLineDashedIcon:_7,ScissorsSquare:ac,ScissorsSquareDashedBottom:Co,ScissorsSquareDashedBottomIcon:Co,ScissorsSquareIcon:ac,ScreenShare:I7,ScreenShareIcon:I7,ScreenShareOff:b7,ScreenShareOffIcon:b7,Scroll:C7,ScrollIcon:C7,ScrollText:w7,ScrollTextIcon:w7,Search:z1,SearchCheck:N7,SearchCheckIcon:N7,SearchCode:S7,SearchCodeIcon:S7,SearchIcon:z1,SearchSlash:j7,SearchSlashIcon:j7,SearchX:$7,SearchXIcon:$7,Section:q7,SectionIcon:q7,Send:z7,SendHorizonal:so,SendHorizonalIcon:so,SendHorizontal:so,SendHorizontalIcon:so,SendIcon:z7,SendToBack:A7,SendToBackIcon:A7,SeparatorHorizontal:V7,SeparatorHorizontalIcon:V7,SeparatorVertical:P7,SeparatorVerticalIcon:P7,Server:B7,ServerCog:T7,ServerCogIcon:T7,ServerCrash:D7,ServerCrashIcon:D7,ServerIcon:B7,ServerOff:H7,ServerOffIcon:H7,Settings:F7,Settings2:R7,Settings2Icon:R7,SettingsIcon:F7,Shapes:E7,ShapesIcon:E7,Share:U7,Share2:O7,Share2Icon:O7,ShareIcon:U7,Sheet:W7,SheetIcon:W7,Shell:G7,ShellIcon:G7,Shield:nv,ShieldAlert:K7,ShieldAlertIcon:K7,ShieldBan:Z7,ShieldBanIcon:Z7,ShieldCheck:X7,ShieldCheckIcon:X7,ShieldClose:ho,ShieldCloseIcon:ho,ShieldEllipsis:Y7,ShieldEllipsisIcon:Y7,ShieldHalf:J7,ShieldHalfIcon:J7,ShieldIcon:nv,ShieldMinus:ev,ShieldMinusIcon:ev,ShieldOff:Q7,ShieldOffIcon:Q7,ShieldPlus:tv,ShieldPlusIcon:tv,ShieldQuestion:lo,ShieldQuestionIcon:lo,ShieldQuestionMark:lo,ShieldQuestionMarkIcon:lo,ShieldUser:av,ShieldUserIcon:av,ShieldX:ho,ShieldXIcon:ho,Ship:cv,ShipIcon:cv,ShipWheel:ov,ShipWheelIcon:ov,Shirt:iv,ShirtIcon:iv,ShoppingBag:rv,ShoppingBagIcon:rv,ShoppingBasket:sv,ShoppingBasketIcon:sv,ShoppingCart:dv,ShoppingCartIcon:dv,Shovel:lv,ShovelIcon:lv,ShowerHead:hv,ShowerHeadIcon:hv,Shredder:uv,ShredderIcon:uv,Shrimp:pv,ShrimpIcon:pv,Shrink:yv,ShrinkIcon:yv,Shrub:kv,ShrubIcon:kv,Shuffle:fv,ShuffleIcon:fv,Sidebar:Jn,SidebarClose:Zn,SidebarCloseIcon:Zn,SidebarIcon:Jn,SidebarOpen:Yn,SidebarOpenIcon:Yn,Sigma:mv,SigmaIcon:mv,SigmaSquare:nc,SigmaSquareIcon:nc,Signal:_v,SignalHigh:gv,SignalHighIcon:gv,SignalIcon:_v,SignalLow:vv,SignalLowIcon:vv,SignalMedium:xv,SignalMediumIcon:xv,SignalZero:Mv,SignalZeroIcon:Mv,Signature:Lv,SignatureIcon:Lv,Signpost:bv,SignpostBig:Iv,SignpostBigIcon:Iv,SignpostIcon:bv,Siren:wv,SirenIcon:wv,SkipBack:Cv,SkipBackIcon:Cv,SkipForward:Nv,SkipForwardIcon:Nv,Skull:Sv,SkullIcon:Sv,Slack:jv,SlackIcon:jv,Slash:$v,SlashIcon:$v,SlashSquare:oc,SlashSquareIcon:oc,Slice:qv,SliceIcon:qv,Sliders:uo,SlidersHorizontal:Av,SlidersHorizontalIcon:Av,SlidersIcon:uo,SlidersVertical:uo,SlidersVerticalIcon:uo,Smartphone:Pv,SmartphoneCharging:zv,SmartphoneChargingIcon:zv,SmartphoneIcon:Pv,SmartphoneNfc:Vv,SmartphoneNfcIcon:Vv,Smile:Hv,SmileIcon:Hv,SmilePlus:Tv,SmilePlusIcon:Tv,Snail:Dv,SnailIcon:Dv,Snowflake:Bv,SnowflakeIcon:Bv,SoapDispenserDroplet:Rv,SoapDispenserDropletIcon:Rv,Sofa:Fv,SofaIcon:Fv,SortAsc:Jt,SortAscIcon:Jt,SortDesc:Zt,SortDescIcon:Zt,Soup:Ev,SoupIcon:Ev,Space:Ov,SpaceIcon:Ov,Spade:Uv,SpadeIcon:Uv,Sparkle:Wv,SparkleIcon:Wv,Sparkles:po,SparklesIcon:po,Speaker:Gv,SpeakerIcon:Gv,Speech:Kv,SpeechIcon:Kv,SpellCheck:Xv,SpellCheck2:Zv,SpellCheck2Icon:Zv,SpellCheckIcon:Xv,Spline:Jv,SplineIcon:Jv,SplinePointer:Yv,SplinePointerIcon:Yv,Split:Qv,SplitIcon:Qv,SplitSquareHorizontal:cc,SplitSquareHorizontalIcon:cc,SplitSquareVertical:ic,SplitSquareVerticalIcon:ic,Spool:e9,SpoolIcon:e9,Spotlight:t9,SpotlightIcon:t9,SprayCan:a9,SprayCanIcon:a9,Sprout:n9,SproutIcon:n9,Square:y9,SquareActivity:Vt,SquareActivityIcon:Vt,SquareArrowDown:mo,SquareArrowDownIcon:mo,SquareArrowDownLeft:yo,SquareArrowDownLeftIcon:yo,SquareArrowDownRight:ko,SquareArrowDownRightIcon:ko,SquareArrowLeft:fo,SquareArrowLeftIcon:fo,SquareArrowOutDownLeft:go,SquareArrowOutDownLeftIcon:go,SquareArrowOutDownRight:vo,SquareArrowOutDownRightIcon:vo,SquareArrowOutUpLeft:xo,SquareArrowOutUpLeftIcon:xo,SquareArrowOutUpRight:Mo,SquareArrowOutUpRightIcon:Mo,SquareArrowRight:_o,SquareArrowRightIcon:_o,SquareArrowUp:bo,SquareArrowUpIcon:bo,SquareArrowUpLeft:Lo,SquareArrowUpLeftIcon:Lo,SquareArrowUpRight:Io,SquareArrowUpRightIcon:Io,SquareAsterisk:wo,SquareAsteriskIcon:wo,SquareBottomDashedScissors:Co,SquareBottomDashedScissorsIcon:Co,SquareChartGantt:yt,SquareChartGanttIcon:yt,SquareCheck:So,SquareCheckBig:No,SquareCheckBigIcon:No,SquareCheckIcon:So,SquareChevronDown:jo,SquareChevronDownIcon:jo,SquareChevronLeft:$o,SquareChevronLeftIcon:$o,SquareChevronRight:qo,SquareChevronRightIcon:qo,SquareChevronUp:Ao,SquareChevronUpIcon:Ao,SquareCode:zo,SquareCodeIcon:zo,SquareDashed:To,SquareDashedBottom:c9,SquareDashedBottomCode:o9,SquareDashedBottomCodeIcon:o9,SquareDashedBottomIcon:c9,SquareDashedIcon:To,SquareDashedKanban:Vo,SquareDashedKanbanIcon:Vo,SquareDashedMousePointer:Po,SquareDashedMousePointerIcon:Po,SquareDashedTopSolid:i9,SquareDashedTopSolidIcon:i9,SquareDivide:Ho,SquareDivideIcon:Ho,SquareDot:Bo,SquareDotIcon:Bo,SquareEqual:Do,SquareEqualIcon:Do,SquareFunction:Ro,SquareFunctionIcon:Ro,SquareGanttChart:yt,SquareGanttChartIcon:yt,SquareIcon:y9,SquareKanban:Fo,SquareKanbanIcon:Fo,SquareLibrary:Eo,SquareLibraryIcon:Eo,SquareM:Oo,SquareMIcon:Oo,SquareMenu:Uo,SquareMenuIcon:Uo,SquareMinus:Wo,SquareMinusIcon:Wo,SquareMousePointer:Ko,SquareMousePointerIcon:Ko,SquareParking:Zo,SquareParkingIcon:Zo,SquareParkingOff:Go,SquareParkingOffIcon:Go,SquarePause:r9,SquarePauseIcon:r9,SquarePen:Ge,SquarePenIcon:Ge,SquarePercent:Xo,SquarePercentIcon:Xo,SquarePi:Yo,SquarePiIcon:Yo,SquarePilcrow:Jo,SquarePilcrowIcon:Jo,SquarePlay:Qo,SquarePlayIcon:Qo,SquarePlus:ec,SquarePlusIcon:ec,SquarePower:tc,SquarePowerIcon:tc,SquareRadical:s9,SquareRadicalIcon:s9,SquareRoundCorner:d9,SquareRoundCornerIcon:d9,SquareScissors:ac,SquareScissorsIcon:ac,SquareSigma:nc,SquareSigmaIcon:nc,SquareSlash:oc,SquareSlashIcon:oc,SquareSplitHorizontal:cc,SquareSplitHorizontalIcon:cc,SquareSplitVertical:ic,SquareSplitVerticalIcon:ic,SquareSquare:l9,SquareSquareIcon:l9,SquareStack:h9,SquareStackIcon:h9,SquareStar:u9,SquareStarIcon:u9,SquareStop:p9,SquareStopIcon:p9,SquareTerminal:rc,SquareTerminalIcon:rc,SquareUser:dc,SquareUserIcon:dc,SquareUserRound:sc,SquareUserRoundIcon:sc,SquareX:lc,SquareXIcon:lc,SquaresExclude:k9,SquaresExcludeIcon:k9,SquaresIntersect:m9,SquaresIntersectIcon:m9,SquaresSubtract:f9,SquaresSubtractIcon:f9,SquaresUnite:g9,SquaresUniteIcon:g9,Squircle:x9,SquircleDashed:v9,SquircleDashedIcon:v9,SquircleIcon:x9,Squirrel:M9,SquirrelIcon:M9,Stamp:_9,StampIcon:_9,Star:w9,StarHalf:L9,StarHalfIcon:L9,StarIcon:w9,StarOff:I9,StarOffIcon:I9,Stars:po,StarsIcon:po,StepBack:b9,StepBackIcon:b9,StepForward:C9,StepForwardIcon:C9,Stethoscope:N9,StethoscopeIcon:N9,Sticker:S9,StickerIcon:S9,StickyNote:j9,StickyNoteIcon:j9,StopCircle:Ga,StopCircleIcon:Ga,Store:$9,StoreIcon:$9,StretchHorizontal:q9,StretchHorizontalIcon:q9,StretchVertical:A9,StretchVerticalIcon:A9,Strikethrough:z9,StrikethroughIcon:z9,Subscript:V9,SubscriptIcon:V9,Subtitles:ra,SubtitlesIcon:ra,Sun:R9,SunDim:P9,SunDimIcon:P9,SunIcon:R9,SunMedium:T9,SunMediumIcon:T9,SunMoon:H9,SunMoonIcon:H9,SunSnow:D9,SunSnowIcon:D9,Sunrise:B9,SunriseIcon:B9,Sunset:F9,SunsetIcon:F9,Superscript:E9,SuperscriptIcon:E9,SwatchBook:O9,SwatchBookIcon:O9,SwissFranc:U9,SwissFrancIcon:U9,SwitchCamera:W9,SwitchCameraIcon:W9,Sword:G9,SwordIcon:G9,Swords:Z9,SwordsIcon:Z9,Syringe:K9,SyringeIcon:K9,Table:nx,Table2:X9,Table2Icon:X9,TableCellsMerge:Y9,TableCellsMergeIcon:Y9,TableCellsSplit:J9,TableCellsSplitIcon:J9,TableColumnsSplit:Q9,TableColumnsSplitIcon:Q9,TableConfig:ut,TableConfigIcon:ut,TableIcon:nx,TableOfContents:ex,TableOfContentsIcon:ex,TableProperties:tx,TablePropertiesIcon:tx,TableRowsSplit:ax,TableRowsSplitIcon:ax,Tablet:cx,TabletIcon:cx,TabletSmartphone:ox,TabletSmartphoneIcon:ox,Tablets:ix,TabletsIcon:ix,Tag:rx,TagIcon:rx,Tags:sx,TagsIcon:sx,Tally1:dx,Tally1Icon:dx,Tally2:lx,Tally2Icon:lx,Tally3:hx,Tally3Icon:hx,Tally4:ux,Tally4Icon:ux,Tally5:px,Tally5Icon:px,Tangent:yx,TangentIcon:yx,Target:kx,TargetIcon:kx,Telescope:mx,TelescopeIcon:mx,Tent:gx,TentIcon:gx,TentTree:fx,TentTreeIcon:fx,Terminal:vx,TerminalIcon:vx,TerminalSquare:rc,TerminalSquareIcon:rc,TestTube:xx,TestTube2:hc,TestTube2Icon:hc,TestTubeDiagonal:hc,TestTubeDiagonalIcon:hc,TestTubeIcon:xx,TestTubes:Mx,TestTubesIcon:Mx,Text:wx,TextCursor:Lx,TextCursorIcon:Lx,TextCursorInput:_x,TextCursorInputIcon:_x,TextIcon:wx,TextQuote:Ix,TextQuoteIcon:Ix,TextSearch:bx,TextSearchIcon:bx,TextSelect:uc,TextSelectIcon:uc,TextSelection:uc,TextSelectionIcon:uc,Theater:Cx,TheaterIcon:Cx,Thermometer:$x,ThermometerIcon:$x,ThermometerSnowflake:Nx,ThermometerSnowflakeIcon:Nx,ThermometerSun:Sx,ThermometerSunIcon:Sx,ThumbsDown:jx,ThumbsDownIcon:jx,ThumbsUp:qx,ThumbsUpIcon:qx,Ticket:Dx,TicketCheck:Ax,TicketCheckIcon:Ax,TicketIcon:Dx,TicketMinus:zx,TicketMinusIcon:zx,TicketPercent:Vx,TicketPercentIcon:Vx,TicketPlus:Px,TicketPlusIcon:Px,TicketSlash:Tx,TicketSlashIcon:Tx,TicketX:Hx,TicketXIcon:Hx,Tickets:Rx,TicketsIcon:Rx,TicketsPlane:Bx,TicketsPlaneIcon:Bx,Timer:Ox,TimerIcon:Ox,TimerOff:Fx,TimerOffIcon:Fx,TimerReset:Ex,TimerResetIcon:Ex,ToggleLeft:Ux,ToggleLeftIcon:Ux,ToggleRight:Wx,ToggleRightIcon:Wx,Toilet:Gx,ToiletIcon:Gx,ToolCase:Kx,ToolCaseIcon:Kx,Tornado:Xx,TornadoIcon:Xx,Torus:Zx,TorusIcon:Zx,Touchpad:Jx,TouchpadIcon:Jx,TouchpadOff:Yx,TouchpadOffIcon:Yx,TowerControl:eM,TowerControlIcon:eM,ToyBrick:Qx,ToyBrickIcon:Qx,Tractor:tM,TractorIcon:tM,TrafficCone:aM,TrafficConeIcon:aM,Train:pc,TrainFront:oM,TrainFrontIcon:oM,TrainFrontTunnel:nM,TrainFrontTunnelIcon:nM,TrainIcon:pc,TrainTrack:cM,TrainTrackIcon:cM,TramFront:pc,TramFrontIcon:pc,Transgender:iM,TransgenderIcon:iM,Trash:rM,Trash2:kt,Trash2Icon:kt,TrashIcon:rM,TreeDeciduous:sM,TreeDeciduousIcon:sM,TreePalm:yc,TreePalmIcon:yc,TreePine:dM,TreePineIcon:dM,Trees:lM,TreesIcon:lM,Trello:hM,TrelloIcon:hM,TrendingDown:uM,TrendingDownIcon:uM,TrendingUp:pM,TrendingUpDown:yM,TrendingUpDownIcon:yM,TrendingUpIcon:pM,Triangle:mM,TriangleAlert:kc,TriangleAlertIcon:kc,TriangleDashed:kM,TriangleDashedIcon:kM,TriangleIcon:mM,TriangleRight:fM,TriangleRightIcon:fM,Trophy:gM,TrophyIcon:gM,Truck:xM,TruckElectric:vM,TruckElectricIcon:vM,TruckIcon:xM,TurkishLira:MM,TurkishLiraIcon:MM,Turntable:_M,TurntableIcon:_M,Turtle:LM,TurtleIcon:LM,Tv:bM,Tv2:mc,Tv2Icon:mc,TvIcon:bM,TvMinimal:mc,TvMinimalIcon:mc,TvMinimalPlay:IM,TvMinimalPlayIcon:IM,Twitch:wM,TwitchIcon:wM,Twitter:CM,TwitterIcon:CM,Type:SM,TypeIcon:SM,TypeOutline:NM,TypeOutlineIcon:NM,Umbrella:$M,UmbrellaIcon:$M,UmbrellaOff:jM,UmbrellaOffIcon:jM,Underline:qM,UnderlineIcon:qM,Undo:VM,Undo2:AM,Undo2Icon:AM,UndoDot:zM,UndoDotIcon:zM,UndoIcon:VM,UnfoldHorizontal:PM,UnfoldHorizontalIcon:PM,UnfoldVertical:TM,UnfoldVerticalIcon:TM,Ungroup:HM,UngroupIcon:HM,University:fc,UniversityIcon:fc,Unlink:FM,Unlink2:DM,Unlink2Icon:DM,UnlinkIcon:FM,Unlock:Hn,UnlockIcon:Hn,UnlockKeyhole:Tn,UnlockKeyholeIcon:Tn,Unplug:BM,UnplugIcon:BM,Upload:RM,UploadCloud:Qa,UploadCloudIcon:Qa,UploadIcon:RM,Usb:EM,UsbIcon:EM,User:e_,User2:Lc,User2Icon:Lc,UserCheck:OM,UserCheck2:gc,UserCheck2Icon:gc,UserCheckIcon:OM,UserCircle:Za,UserCircle2:Ka,UserCircle2Icon:Ka,UserCircleIcon:Za,UserCog:UM,UserCog2:vc,UserCog2Icon:vc,UserCogIcon:UM,UserIcon:e_,UserLock:WM,UserLockIcon:WM,UserMinus:GM,UserMinus2:xc,UserMinus2Icon:xc,UserMinusIcon:GM,UserPen:KM,UserPenIcon:KM,UserPlus:V1,UserPlus2:Mc,UserPlus2Icon:Mc,UserPlusIcon:V1,UserRound:Lc,UserRoundCheck:gc,UserRoundCheckIcon:gc,UserRoundCog:vc,UserRoundCogIcon:vc,UserRoundIcon:Lc,UserRoundMinus:xc,UserRoundMinusIcon:xc,UserRoundPen:ZM,UserRoundPenIcon:ZM,UserRoundPlus:Mc,UserRoundPlusIcon:Mc,UserRoundSearch:XM,UserRoundSearchIcon:XM,UserRoundX:_c,UserRoundXIcon:_c,UserSearch:YM,UserSearchIcon:YM,UserSquare:dc,UserSquare2:sc,UserSquare2Icon:sc,UserSquareIcon:dc,UserStar:JM,UserStarIcon:JM,UserX:QM,UserX2:_c,UserX2Icon:_c,UserXIcon:QM,Users:t_,Users2:Ic,Users2Icon:Ic,UsersIcon:t_,UsersRound:Ic,UsersRoundIcon:Ic,Utensils:wc,UtensilsCrossed:bc,UtensilsCrossedIcon:bc,UtensilsIcon:wc,UtilityPole:a_,UtilityPoleIcon:a_,Variable:n_,VariableIcon:n_,Vault:o_,VaultIcon:o_,VectorSquare:c_,VectorSquareIcon:c_,Vegan:i_,VeganIcon:i_,VenetianMask:r_,VenetianMaskIcon:r_,Venus:h_,VenusAndMars:s_,VenusAndMarsIcon:s_,VenusIcon:h_,Verified:ta,VerifiedIcon:ta,Vibrate:l_,VibrateIcon:l_,VibrateOff:d_,VibrateOffIcon:d_,Video:p_,VideoIcon:p_,VideoOff:u_,VideoOffIcon:u_,Videotape:y_,VideotapeIcon:y_,View:m_,ViewIcon:m_,Voicemail:k_,VoicemailIcon:k_,Volleyball:f_,VolleyballIcon:f_,Volume:L_,Volume1:g_,Volume1Icon:g_,Volume2:v_,Volume2Icon:v_,VolumeIcon:L_,VolumeOff:x_,VolumeOffIcon:x_,VolumeX:M_,VolumeXIcon:M_,Vote:__,VoteIcon:__,Wallet:b_,Wallet2:Cc,Wallet2Icon:Cc,WalletCards:I_,WalletCardsIcon:I_,WalletIcon:b_,WalletMinimal:Cc,WalletMinimalIcon:Cc,Wallpaper:w_,WallpaperIcon:w_,Wand:C_,Wand2:Nc,Wand2Icon:Nc,WandIcon:C_,WandSparkles:Nc,WandSparklesIcon:Nc,Warehouse:N_,WarehouseIcon:N_,WashingMachine:S_,WashingMachineIcon:S_,Watch:j_,WatchIcon:j_,Waves:q_,WavesIcon:q_,WavesLadder:$_,WavesLadderIcon:$_,Waypoints:A_,WaypointsIcon:A_,Webcam:z_,WebcamIcon:z_,Webhook:T_,WebhookIcon:T_,WebhookOff:V_,WebhookOffIcon:V_,Weight:P_,WeightIcon:P_,Wheat:D_,WheatIcon:D_,WheatOff:H_,WheatOffIcon:H_,WholeWord:B_,WholeWordIcon:B_,Wifi:K_,WifiCog:R_,WifiCogIcon:R_,WifiHigh:F_,WifiHighIcon:F_,WifiIcon:K_,WifiLow:E_,WifiLowIcon:E_,WifiOff:O_,WifiOffIcon:O_,WifiPen:U_,WifiPenIcon:U_,WifiSync:W_,WifiSyncIcon:W_,WifiZero:G_,WifiZeroIcon:G_,Wind:X_,WindArrowDown:Z_,WindArrowDownIcon:Z_,WindIcon:X_,Wine:J_,WineIcon:J_,WineOff:Y_,WineOffIcon:Y_,Workflow:Q_,WorkflowIcon:Q_,Worm:eL,WormIcon:eL,WrapText:tL,WrapTextIcon:tL,Wrench:aL,WrenchIcon:aL,X:at,XCircle:qt,XCircleIcon:qt,XIcon:at,XOctagon:Wn,XOctagonIcon:Wn,XSquare:lc,XSquareIcon:lc,Youtube:oL,YoutubeIcon:oL,Zap:cL,ZapIcon:cL,ZapOff:nL,ZapOffIcon:nL,ZoomIn:iL,ZoomInIcon:iL,ZoomOut:rL,ZoomOutIcon:rL,createLucideIcon:a.createLucideIcon,icons:W2e},Symbol.toStringTag,{value:"Module"})),G2e=({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(Gb,{...f})}),o.jsxs("div",{className:"progress-row-double",children:[o.jsx("div",{className:"progress-item",children:o.jsx(Wj,{...d})}),o.jsx("div",{className:"progress-item",children:o.jsx(Gb,{...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}})})]})},Gj=k.createContext(void 0),ft=()=>{const e=k.useContext(Gj);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},K2e=({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(Gj.Provider,{value:{activeNav:n,setActiveNav:c,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},Kj=({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 S=Array.isArray(_.options)?_.options:[],j=S.some(q=>q.code===_.value)?S:[{code:_.value??"",label:String(_.value??"")},...S];return o.jsx("div",{className:"dropdown-language",children:o.jsx("select",{name:_.name??"language",className:"language-select",value:_.value??"",onChange:q=>{const H=q.target.value;try{_.onChange(H)}catch(B){console.error("select onChange error",B)}},children:j.map(q=>o.jsx("option",{value:q.code,children:q.label},q.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))]})]})},Zj=({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=q=>{const H=[];return k.Children.forEach(q,B=>{Array.isArray(B)?H.push(...L(B)):k.isValidElement(B)&&H.push(B)}),H},N=L(e).filter(q=>k.isValidElement(q)).map(q=>{let H="";const B=q.props;return H=[B.xs?`grid-xs-${B.xs}`:"",B.sm?`grid-sm-${B.sm}`:"",B.md?`grid-md-${B.md}`:"",B.lg?`grid-lg-${B.lg}`:"",B.xl?`grid-xl-${B.xl}`:"",B.className?B.className:""].join(" ").trim(),{node:q,classes:H}});let j=N;g&&g.length>0&&(j=N.map((q,H)=>({...q,node:N[g[H]]?.node??q.node}))),I(j)},[e]);const b=(L,S)=>{L.stopPropagation(),L.dataTransfer.setData("dragIndex",S.toString()),L.dataTransfer.setData("parentKey",p.toString())},w=L=>{L.preventDefault(),L.stopPropagation()},C=(L,S)=>{L.preventDefault();const N=Number(L.dataTransfer.getData("dragIndex")),j=Number(L.dataTransfer.getData("parentKey"));if(t&&j!==p)return;const q=[...v];let H=-1,B=-1;if(q.forEach((z,$)=>{if(k.isValidElement(z.node)){const D=z.node.props;D.uniqueKey===S&&(H=$),D.uniqueKey===N&&(B=$)}}),H===-1||B===-1)return;const A=q[B].node;q[B]={...q[B],node:q[H].node},q[H]={...q[H],node:A},I(q),typeof m=="function"&&m(B,H)},_=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:S=>b(S,L.node?.props?.uniqueKey),onDragOver:S=>w(S),onDrop:S=>C(S,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})};Zj.displayName="Grid";const IL=({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"})},Kb=({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:X(d,e),...l,children:t}):o.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:X(d,e),role:c?"button":"presentation",tabIndex:c?0:-1,...l,children:t})},Xj=({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(Kb,{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(Kb,{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))})})},Yj=k.createContext(void 0),Z2e=({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(Yj.Provider,{value:{themeName:n,setTheme:i},children:e})},Jj=()=>{const e=k.useContext(Yj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},bL=()=>{const{themeName:e,setTheme:t}=Jj(),n=k.useCallback(c=>{t(c)},[t]);return{currentTheme:e,switchTheme:n}},K1=({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:X(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})]})]})},Zb=({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}=bL(),[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(K1,{leftIcon:n,rightIcon:c,checked:p,onToggle:y,colors:i,size:r,a11yConfig:s})},X2e=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"})),_C=k.memo(X2e),Qj=k.createContext(void 0),Y2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("isDraggable");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("isDraggable",String(t))},[t]);const c=i=>{n(i)};return o.jsx(Qj.Provider,{value:{isDraggable:t,switchDraggable:c},children:e})},e$=()=>{const e=k.useContext(Qj);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},pL=({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}=e$(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return o.jsx(K1,{leftIcon:e||o.jsx(_C,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(_C,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:c,a11yConfig:i})},J2e=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"})),LC=k.memo(J2e),t$=k.createContext(void 0),Q2e=({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(t$.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:c},children:e})},a$=()=>{const e=k.useContext(t$);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},yL=({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}=a$(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return o.jsx(K1,{leftIcon:e||o.jsx(LC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(LC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:c,a11yConfig:i})},n$=k.createContext(void 0),ede=({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(n$.Provider,{value:{showData:t,switchShowData:c},children:e})},o$=()=>{const e=k.useContext(n$);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},tde=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"})),IC=k.memo(tde),kL=({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}=o$(),[r,s]=k.useState(!1);return k.useEffect(()=>{s(!0)},[]),r?o.jsx(K1,{checked:c,onToggle:d=>i(d),size:e,leftIcon:o.jsx(IC,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:o.jsx(IC,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t,a11yConfig:n}):null},ade=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"})),c$=k.memo(ade);function Xb({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(c$,{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 nde=({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(IL,{imagePath:e})}),o.jsx(Xj,{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(pL,{}),m&&o.jsx(kL,{}),x&&o.jsx(yL,{}),o.jsx(Zb,{}),M&&o.jsx(Xb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),o.jsx(Kj,{categories:c?.categories,buttonContent:c?.buttonContent,topContent:o.jsxs("div",{className:"dropdown-switchers",children:[g&&o.jsx(pL,{}),m&&o.jsx(kL,{}),x&&o.jsx(yL,{}),o.jsx(Zb,{}),M&&o.jsx(Xb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},i$=({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:X(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})]})},Pc=e=>typeof e=="number"?`${e}px`:e,ode=({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:S,exitLabelA11yConfig:N})=>{const j=X(_),q=X(L,L?.titleKey?void 0:e),H=X(S,S?.titleKey?void 0:c),B=X(N,N?.titleKey?void 0:r);return o.jsxs(cde,{$width:I,$borderColor:v,className:b,onClick:w,role:w?"button":"group","aria-label":C||e,title:j,tabIndex:w?0:void 0,onKeyDown:A=>w&&A.key==="Enter"&&w(),children:[o.jsxs(ide,{$bgColor:n,$borderColor:v,children:[e&&o.jsx(sde,{$color:t,$fontSize:f,$fontWeight:g,$lineHeight:m,$minHeight:x,title:q,children:e}),(i||s)&&o.jsxs(dde,{children:[i&&o.jsxs(bC,{children:[o.jsx(wC,{$color:d,$fontSize:l,$fontWeight:h,$lineHeight:u,title:H,children:c}),o.jsx(CC,{$color:p,children:i})]}),s&&o.jsxs(bC,{children:[o.jsx(wC,{$color:d,$fontSize:l,$fontWeight:h,$lineHeight:u,title:B,children:r}),o.jsx(CC,{$color:p,children:s})]})]}),o.jsx(rde,{$bgColor:n})]}),y.length>0&&o.jsx(lde,{$bgColor:M,children:y.map((A,z)=>o.jsxs(hde,{title:X(A.a11yConfig),children:[A.icon&&o.jsx(ude,{"aria-hidden":"true",children:A.icon}),o.jsx(pde,{$fontSize:f,$fontWeight:g,$lineHeight:m,children:A.text})]},z))})]})},cde=E.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=>Pc(e.$lineHeight)};
8235
- `,r$=({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(Kj,{logo:"BarChart",position:"right",categories:c})})]}),yde=({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=X(m,m?.titleKey?void 0:t);return o.jsxs(kde,{$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:_=>f&&_.key==="Enter"&&f(),children:[o.jsxs(mde,{children:[e&&o.jsx(fde,{"aria-hidden":"true",children:e}),o.jsx(gde,{$color:n,$fontSize:c,$fontWeight:i,children:t})]}),r&&o.jsx(vde,{$color:s,$fontSize:d,$fontWeight:l,children:r})]})},mL=e=>typeof e=="number"?`${e}px`:e,kde=E.div`
8235
+ `,r$=({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(Kj,{logo:"BarChart",position:"right",categories:c})})]}),yde=({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=X(m,m?.titleKey?void 0:t);return o.jsxs(kde,{$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(mde,{children:[e&&o.jsx(fde,{"aria-hidden":"true",children:e}),o.jsx(gde,{$color:n,$fontSize:c,$fontWeight:i,children:t})]}),r&&o.jsx(vde,{$color:s,$fontSize:d,$fontWeight:l,children:r})]})},mL=e=>typeof e=="number"?`${e}px`:e,kde=E.div`
8236
8236
  position: relative;
8237
8237
  display: flex;
8238
8238
  flex-direction: column;
@@ -8261,7 +8261,7 @@
8261
8261
  font-size: ${e=>mL(e.$fontSize)};
8262
8262
  font-weight: ${e=>e.$fontWeight};
8263
8263
  color: ${e=>e.$color};
8264
- `,xde=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:c})=>{const{activeSubNav:i}=ft();return o.jsx(r$,{style:n,item:c,children:e?.map(r=>o.jsx(i$,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i,a11yConfig:r.a11yConfig},r.id))})},s$=({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})]})]})},Lw=k.createContext({});function Bt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const Iw=typeof window<"u",bw=Iw?k.useLayoutEffect:k.useEffect,wL=k.createContext(null);function ww(e,t){e.indexOf(t)===-1&&e.push(t)}function Cw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Mde([...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 Yb(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(Yb(t,n))},st=(e,t,n)=>{if(!e)throw new Error(Yb(t,n))});const It={},d$=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function l$(e){return typeof e=="object"&&e!==null}const h$=e=>/^0[^.\s]+$/u.test(e);function Nw(e){let t;return()=>(t===void 0&&(t=e()),t)}const nt=e=>e,_de=(e,t)=>n=>t(e(n)),Z1=(...e)=>e.reduce(_de),F1=(e,t,n)=>{const c=t-e;return c===0?1:(n-e)/c};class Sw{constructor(){this.subscriptions=[]}add(t){return ww(this.subscriptions,t),()=>Cw(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 u$(e,t){return t?e*(1e3/t):0}const NC=new Set;function jw(e,t,n){e||NC.has(t)||(console.warn(Yb(t,n)),NC.add(t))}const p$=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Lde=1e-7,Ide=12;function bde(e,t,n,c,i){let r,s,d=0;do s=t+(n-t)/2,r=p$(s,c,i)-e,r>0?n=s:t=s;while(Math.abs(r)>Lde&&++d<Ide);return s}function X1(e,t,n,c){if(e===t&&n===c)return nt;const i=r=>bde(r,0,1,e,n);return r=>r===0||r===1?r:p$(i(r),t,c)}const y$=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,k$=e=>t=>1-e(1-t),m$=X1(.33,1.53,.69,.99),$w=k$(m$),f$=y$($w),g$=e=>(e*=2)<1?.5*$w(e):.5*(2-Math.pow(2,-10*(e-1))),qw=e=>1-Math.sin(Math.acos(e)),v$=k$(qw),x$=y$(qw),wde=X1(.42,0,1,1),Cde=X1(0,0,.58,1),M$=X1(.42,0,.58,1),Nde=e=>Array.isArray(e)&&typeof e[0]!="number",_$=e=>Array.isArray(e)&&typeof e[0]=="number",SC={linear:nt,easeIn:wde,easeInOut:M$,easeOut:Cde,circIn:qw,circInOut:x$,circOut:v$,backIn:$w,backInOut:f$,backOut:m$,anticipate:g$},Sde=e=>typeof e=="string",jC=e=>{if(_$(e)){st(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,c,i]=e;return X1(t,n,c,i)}else if(Sde(e))return st(SC[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),SC[e];return e},ci=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function jde(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 $de=40;function L$(e,t){let n=!1,c=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=ci.reduce((I,b)=>(I[b]=jde(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,$de),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:ci.reduce((I,b)=>{const w=s[b];return I[b]=(C,M=!1,L=!1)=>(n||x(),w.schedule(C,M,L)),I},{}),cancel:I=>{for(let b=0;b<ci.length;b++)s[ci[b]].cancel(I)},state:i,steps:s}}const{schedule:fe,cancel:bt,state:qe,steps:ZL}=L$(typeof requestAnimationFrame<"u"?requestAnimationFrame:nt,!0);let sL;function qde(){sL=void 0}const We={now:()=>(sL===void 0&&We.set(qe.isProcessing||It.useManualTiming?qe.timestamp:performance.now()),sL),set:e=>{sL=e,queueMicrotask(qde)}},I$=e=>t=>typeof t=="string"&&t.startsWith(e),Aw=I$("--"),Ade=I$("var(--"),zw=e=>Ade(e)?zde.test(e.split("/*")[0].trim()):!1,zde=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,s1={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},E1={...s1,transform:e=>Lt(0,1,e)},ii={...s1,default:1},P1=e=>Math.round(e*1e5)/1e5,Vw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Vde(e){return e==null}const Pde=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Pw=(e,t)=>n=>!!(typeof n=="string"&&Pde.test(n)&&n.startsWith(e)||t&&!Vde(n)&&Object.prototype.hasOwnProperty.call(n,t)),b$=(e,t,n)=>c=>{if(typeof c!="string")return c;const[i,r,s,d]=c.match(Vw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},Tde=e=>Lt(0,255,e),XL={...s1,transform:e=>Math.round(Tde(e))},jc={test:Pw("rgb","red"),parse:b$("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:c=1})=>"rgba("+XL.transform(e)+", "+XL.transform(t)+", "+XL.transform(n)+", "+P1(E1.transform(c))+")"};function Hde(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 Jb={test:Pw("#"),parse:Hde,transform:jc.transform},Y1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),$t=Y1("deg"),mt=Y1("%"),Q=Y1("px"),Dde=Y1("vh"),Bde=Y1("vw"),$C={...mt,parse:e=>mt.parse(e)/100,transform:e=>mt.transform(e*100)},Kc={test:Pw("hsl","hue"),parse:b$("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:c=1})=>"hsla("+Math.round(e)+", "+mt.transform(P1(t))+", "+mt.transform(P1(n))+", "+P1(E1.transform(c))+")"},be={test:e=>jc.test(e)||Jb.test(e)||Kc.test(e),parse:e=>jc.test(e)?jc.parse(e):Kc.test(e)?Kc.parse(e):Jb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?jc.transform(e):Kc.transform(e),getAnimatableNone:e=>{const t=be.parse(e);return t.alpha=0,be.transform(t)}},Rde=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Fde(e){return isNaN(e)&&typeof e=="string"&&(e.match(Vw)?.length||0)+(e.match(Rde)?.length||0)>0}const w$="number",C$="color",Ede="var",Ode="var(",qC="${}",Ude=/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 O1(e){const t=e.toString(),n=[],c={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(Ude,l=>(be.test(l)?(c.color.push(r),i.push(C$),n.push(be.parse(l))):l.startsWith(Ode)?(c.var.push(r),i.push(Ede),n.push(l)):(c.number.push(r),i.push(w$),n.push(parseFloat(l))),++r,qC)).split(qC);return{values:n,split:d,indexes:c,types:i}}function N$(e){return O1(e).values}function S$(e){const{split:t,types:n}=O1(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===w$?r+=P1(i[s]):d===C$?r+=be.transform(i[s]):r+=i[s]}return r}}const Wde=e=>typeof e=="number"?0:be.test(e)?be.getAnimatableNone(e):e;function Gde(e){const t=N$(e);return S$(e)(t.map(Wde))}const Dt={test:Fde,parse:N$,createTransformer:S$,getAnimatableNone:Gde};function YL(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 Kde({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=YL(l,d,e+1/3),r=YL(l,d,e),s=YL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:c}}function fL(e,t){return n=>n>0?t:e}const ge=(e,t,n)=>e+(t-e)*n,JL=(e,t,n)=>{const c=e*e,i=n*(t*t-c)+c;return i<0?0:Math.sqrt(i)},Zde=[Jb,jc,Kc],Xde=e=>Zde.find(t=>t.test(e));function AC(e){const t=Xde(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=Kde(n)),n}const zC=(e,t)=>{const n=AC(e),c=AC(t);if(!n||!c)return fL(e,t);const i={...n};return r=>(i.red=JL(n.red,c.red,r),i.green=JL(n.green,c.green,r),i.blue=JL(n.blue,c.blue,r),i.alpha=ge(n.alpha,c.alpha,r),jc.transform(i))},Qb=new Set(["none","hidden"]);function Yde(e,t){return Qb.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Jde(e,t){return n=>ge(e,t,n)}function Tw(e){return typeof e=="number"?Jde:typeof e=="string"?zw(e)?fL:be.test(e)?zC:t0e:Array.isArray(e)?j$:typeof e=="object"?be.test(e)?zC:Qde:fL}function j$(e,t){const n=[...e],c=n.length,i=e.map((r,s)=>Tw(r)(r,t[s]));return r=>{for(let s=0;s<c;s++)n[s]=i[s](r);return n}}function Qde(e,t){const n={...e,...t},c={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(c[i]=Tw(e[i])(e[i],t[i]));return i=>{for(const r in c)n[r]=c[r](i);return n}}function e0e(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 t0e=(e,t)=>{const n=Dt.createTransformer(t),c=O1(e),i=O1(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?Qb.has(e)&&!i.values.length||Qb.has(t)&&!c.values.length?Yde(e,t):Z1(j$(e0e(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"),fL(e,t))};function $$(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ge(e,t,n):Tw(e)(e,t)}const a0e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>fe.update(t,n),stop:()=>bt(t),now:()=>qe.isProcessing?qe.timestamp:We.now()}},q$=(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)})`},gL=2e4;function Hw(e){let t=0;const n=50;let c=e.next(t);for(;!c.done&&t<gL;)t+=n,c=e.next(t);return t>=gL?1/0:t}function n0e(e,t=100,n){const c=n({...e,keyframes:[0,t]}),i=Math.min(Hw(c),gL);return{type:"keyframes",ease:r=>c.next(i*r).value/t,duration:tt(i)}}const o0e=5;function A$(e,t,n){const c=Math.max(t-o0e,0);return u$(n-e(c),t-c)}const _e={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},QL=.001;function c0e({duration:e=_e.duration,bounce:t=_e.bounce,velocity:n=_e.velocity,mass:c=_e.mass}){let i,r;r1(e<=rt(_e.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=Lt(_e.minDamping,_e.maxDamping,s),e=Lt(_e.minDuration,_e.maxDuration,tt(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,f=ew(h,s),g=Math.exp(-p);return QL-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=ew(Math.pow(h,2),s);return(-i(h)+QL>0?-1:1)*((y-f)*g)/m}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-QL+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=r0e(i,r,d);if(e=rt(e),isNaN(l))return{stiffness:_e.stiffness,damping:_e.damping,duration:e};{const h=Math.pow(l,2)*c;return{stiffness:h,damping:s*2*Math.sqrt(c*h),duration:e}}}const i0e=12;function r0e(e,t,n){let c=n;for(let i=1;i<i0e;i++)c=c-e(c)/t(c);return c}function ew(e,t){return e*Math.sqrt(1-t*t)}const s0e=["duration","bounce"],d0e=["stiffness","damping","mass"];function VC(e,t){return t.some(n=>e[n]!==void 0)}function l0e(e){let t={velocity:_e.velocity,stiffness:_e.stiffness,damping:_e.damping,mass:_e.mass,isResolvedFromDuration:!1,...e};if(!VC(e,d0e)&&VC(e,s0e))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:_e.mass,stiffness:i,damping:r}}else{const n=c0e(e);t={...t,...n,mass:_e.mass},t.isResolvedFromDuration=!0}return t}function vL(e=_e.visualDuration,t=_e.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}=l0e({...n,velocity:-tt(n.velocity||0)}),g=y||0,m=h/(2*Math.sqrt(l*u)),x=s-r,_=tt(Math.sqrt(l/u)),v=Math.abs(x)<5;c||(c=v?_e.restSpeed.granular:_e.restSpeed.default),i||(i=v?_e.restDelta.granular:_e.restDelta.default);let I;if(m<1){const w=ew(_,m);I=C=>{const M=Math.exp(-m*_*C);return s-M*((g+m*_*x)/w*Math.sin(w*C)+x*Math.cos(w*C))}}else if(m===1)I=w=>s-Math.exp(-_*w)*(x+(g+_*x)*w);else{const w=_*Math.sqrt(m*m-1);I=C=>{const M=Math.exp(-m*_*C),L=Math.min(w*C,300);return s-M*((g+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 M=w===0?g:0;m<1&&(M=w===0?rt(g):A$(I,w,C));const L=Math.abs(M)<=c,j=Math.abs(s-C)<=i;d.done=L&&j}return d.value=d.done?s:C,d},toString:()=>{const w=Math.min(Hw(b),gL),C=q$(M=>b.next(w*M).value,w,30);return w+"ms "+C},toTransition:()=>{}};return b}vL.applyToOptions=e=>{const t=n0e(e,100,vL);return e.ease=t.ease,e.duration=rt(t.duration),e.type="keyframes",e};function tw({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,_=s===void 0?x:s(x);_!==x&&(m=_-p);const v=L=>-m*Math.exp(-L/c),I=L=>_+v(L),b=L=>{const j=v(L),N=I(L);y.done=Math.abs(j)<=h,y.value=y.done?_:N};let w,C;const M=L=>{f(y.value)&&(w=L,C=vL({keyframes:[y.value,g(y.value)],velocity:A$(I,L,y.value),damping:i,stiffness:r,restDelta:h,restSpeed:u}))};return M(0),{calculatedDuration:null,next:L=>{let j=!1;return!C&&w===void 0&&(j=!0,b(L),M(L)),w!==void 0&&L>=w?C.next(L-w):(!j&&b(L),y)}}}function h0e(e,t,n){const c=[],i=n||It.mix||$$,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=Z1(l,d)}c.push(d)}return c}function z$(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=h0e(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=F1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(Lt(e[0],e[r-1],u)):h}function u0e(e,t){const n=e[e.length-1];for(let c=1;c<=t;c++){const i=F1(0,t,c);e.push(ge(n,1,i))}}function p0e(e){const t=[0];return u0e(t,e.length-1),t}function y0e(e,t){return e.map(n=>n*t)}function k0e(e,t){return e.map(()=>t||M$).splice(0,e.length-1)}function Zc({duration:e=300,keyframes:t,times:n,ease:c="easeInOut"}){const i=Nde(c)?c.map(jC):jC(c),r={done:!1,value:t[0]},s=y0e(n&&n.length===t.length?n:p0e(t),e),d=z$(s,t,{ease:Array.isArray(i)?i:k0e(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const m0e=e=>e!==null;function Dw(e,{repeat:t,repeatType:n="loop"},c,i=1){const r=e.filter(m0e),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||c===void 0?r[d]:c}const f0e={decay:tw,inertia:tw,tween:Zc,keyframes:Zc,spring:vL};function V$(e){typeof e.type=="string"&&(e.type=f0e[e.type])}class Bw{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 g0e=e=>e/100;class Rw extends Bw{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;V$(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=Z1(g0e,$$(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=Hw(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 _=this.currentTime-h*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?_<0:_>i;this.currentTime=Math.max(_,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 M=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return M&&g!==tw&&(w.value=Dw(u,this.options,x,this.speed)),m&&m(w.value),M&&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=a0e,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 v0e(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const $c=e=>e*180/Math.PI,aw=e=>{const t=$c(Math.atan2(e[1],e[0]));return nw(t)},x0e={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:aw,rotateZ:aw,skewX:e=>$c(Math.atan(e[1])),skewY:e=>$c(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},nw=e=>(e=e%360,e<0&&(e+=360),e),PC=aw,TC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),HC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),M0e={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:TC,scaleY:HC,scale:e=>(TC(e)+HC(e))/2,rotateX:e=>nw($c(Math.atan2(e[6],e[5]))),rotateY:e=>nw($c(Math.atan2(-e[2],e[0]))),rotateZ:PC,rotate:PC,skewX:e=>$c(Math.atan(e[4])),skewY:e=>$c(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ow(e){return e.includes("scale")?1:0}function cw(e,t){if(!e||e==="none")return ow(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let c,i;if(n)c=M0e,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);c=x0e,i=d}if(!i)return ow(t);const r=c[t],s=i[1].split(",").map(L0e);return typeof r=="function"?r(s):s[r]}const _0e=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return cw(n,t)};function L0e(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),DC=e=>e===s1||e===Q,I0e=new Set(["x","y","z"]),b0e=d1.filter(e=>!I0e.has(e));function w0e(e){const t=[];return b0e.forEach(n=>{const c=e.getValue(n);c!==void 0&&(t.push([n,c.get()]),c.set(n.startsWith("scale")?1:0))}),t}const Tc={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})=>cw(t,"x"),y:(e,{transform:t})=>cw(t,"y")};Tc.translateX=Tc.x;Tc.translateY=Tc.y;const Hc=new Set;let iw=!1,rw=!1,sw=!1;function P$(){if(rw){const e=Array.from(Hc).filter(c=>c.needsMeasurement),t=new Set(e.map(c=>c.element)),n=new Map;t.forEach(c=>{const i=w0e(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)})}rw=!1,iw=!1,Hc.forEach(e=>e.complete(sw)),Hc.clear()}function T$(){Hc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(rw=!0)})}function C0e(){sw=!0,T$(),P$(),sw=!1}class Fw{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?(Hc.add(this),iw||(iw=!0,fe.read(T$),fe.resolveKeyframes(P$))):(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])}v0e(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Hc.delete(this)}cancel(){this.state==="scheduled"&&(Hc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const N0e=e=>e.startsWith("--");function S0e(e,t,n){N0e(t)?e.style.setProperty(t,n):e.style[t]=n}const j0e=Nw(()=>window.ScrollTimeline!==void 0),$0e={};function q0e(e,t){const n=Nw(e);return()=>$0e[t]??n()}const H$=q0e(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),x1=([e,t,n,c])=>`cubic-bezier(${e}, ${t}, ${n}, ${c})`,BC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:x1([0,.65,.55,1]),circOut:x1([.55,0,1,.45]),backIn:x1([.31,.01,.66,-.59]),backOut:x1([.33,1.53,.69,.99])};function D$(e,t){if(e)return typeof e=="function"?H$()?q$(e,t):"ease-out":_$(e)?x1(e):Array.isArray(e)?e.map(n=>D$(n,t)||BC.easeOut):BC[e]}function A0e(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=D$(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 B$(e){return typeof e=="function"&&"applyToOptions"in e}function z0e({type:e,...t}){return B$(e)&&H$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class V0e extends Bw{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=z0e(t);this.animation=A0e(n,c,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=Dw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):S0e(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&&j0e()?(this.animation.timeline=t,nt):n(this)}}const R$={anticipate:g$,backInOut:f$,circInOut:x$};function P0e(e){return e in R$}function T0e(e){typeof e.ease=="string"&&P0e(e.ease)&&(e.ease=R$[e.ease])}const RC=10;class H0e extends V0e{constructor(t){T0e(t),V$(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 Rw({...s,autoplay:!1}),l=rt(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-RC).value,d.sample(l).value,RC),d.stop()}}const FC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Dt.test(e)||e==="0")&&!e.startsWith("url("));function D0e(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 B0e(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=FC(i,t),d=FC(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:D0e(e)||(n==="spring"||B$(n))&&c}function dw(e){e.duration=0,e.type="keyframes"}const R0e=new Set(["opacity","clipPath","filter","transform"]),F0e=Nw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function E0e(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 F0e()&&n&&R0e.has(n)&&(n!=="transform"||!h)&&!l&&!c&&i!=="mirror"&&r!==0&&s!=="inertia"}const O0e=40;class U0e extends Bw{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||Fw;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(),B0e(t,r,s,d)||((It.instantAnimations||!l)&&u?.(Dw(t,c,n)),t[0]=t[t.length-1],dw(c),c.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>O0e?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...c,keyframes:t},f=!h&&E0e(y)?new H0e({...y,element:y.motionValue.owner.current}):new Rw(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(),C0e()),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 W0e=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function G0e(e){const t=W0e.exec(e);if(!t)return[,];const[,n,c,i]=t;return[`--${n??c}`,i]}const K0e=4;function F$(e,t,n=1){st(n<=K0e,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[c,i]=G0e(e);if(!c)return;const r=window.getComputedStyle(t).getPropertyValue(c);if(r){const s=r.trim();return d$(s)?parseFloat(s):s}return zw(i)?F$(i,t,n+1):i}function Ew(e,t){return e?.[t]??e?.default??e}const E$=new Set(["width","height","top","left","right","bottom",...d1]),Z0e={test:e=>e==="auto",parse:e=>e},O$=e=>t=>t.test(e),U$=[s1,Q,mt,$t,Bde,Dde,Z0e],EC=e=>U$.find(O$(e));function X0e(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||h$(e):!0}const Y0e=new Set(["brightness","contrast","saturate","opacity"]);function J0e(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[c]=n.match(Vw)||[];if(!c)return e;const i=n.replace(c,"");let r=Y0e.has(t)?1:0;return c!==n&&(r*=100),t+"("+r+i+")"}const Q0e=/\b([a-z-]*)\(.*?\)/gu,lw={...Dt,getAnimatableNone:e=>{const t=e.match(Q0e);return t?t.map(J0e).join(" "):e}},OC={...s1,transform:Math.round},ele={rotate:$t,rotateX:$t,rotateY:$t,rotateZ:$t,scale:ii,scaleX:ii,scaleY:ii,scaleZ:ii,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:E1,originX:$C,originY:$C,originZ:Q},Ow={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,...ele,zIndex:OC,fillOpacity:E1,strokeOpacity:E1,numOctaves:OC},tle={...Ow,color:be,backgroundColor:be,outlineColor:be,fill:be,stroke:be,borderColor:be,borderTopColor:be,borderRightColor:be,borderBottomColor:be,borderLeftColor:be,filter:lw,WebkitFilter:lw},W$=e=>tle[e];function G$(e,t){let n=W$(e);return n!==lw&&(n=Dt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ale=new Set(["auto","none","0"]);function nle(e,t,n){let c=0,i;for(;c<e.length&&!i;){const r=e[c];typeof r=="string"&&!ale.has(r)&&O1(r).values.length&&(i=e[c]),c++}if(i&&n)for(const r of t)e[r]=G$(n,i)}class ole extends Fw{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(),zw(h))){const u=F$(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!E$.has(c)||t.length!==2)return;const[i,r]=t,s=EC(i),d=EC(r);if(s!==d)if(DC(s)&&DC(d))for(let l=0;l<t.length;l++){const h=t[l];typeof h=="string"&&(t[l]=parseFloat(h))}else Tc[c]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,c=[];for(let i=0;i<t.length;i++)(t[i]===null||X0e(t[i]))&&c.push(i);c.length&&nle(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=Tc[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]=Tc[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 cle(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 K$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Z$(e){return l$(e)&&"offsetHeight"in e}const UC=30,ile=e=>!isNaN(parseFloat(e)),T1={current:void 0};class rle{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=ile(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&jw(!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 Sw);const c=this.events[t].add(n);return t==="change"?()=>{c(),fe.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 T1.current&&T1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=We.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>UC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,UC);return u$(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 Dc(e,t){return new rle(e,t)}const{schedule:Uw}=L$(queueMicrotask,!1),it={x:!1,y:!1};function X$(){return it.x||it.y}function sle(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 Y$(e,t){const n=cle(e),c=new AbortController,i={passive:!0,...t,signal:c.signal};return[n,i,()=>c.abort()]}function WC(e){return!(e.pointerType==="touch"||X$())}function dle(e,t,n={}){const[c,i,r]=Y$(e,n),s=d=>{if(!WC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{WC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return c.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const J$=(e,t)=>t?e===t?!0:J$(e,t.parentElement):!1,Ww=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,lle=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function hle(e){return lle.has(e.tagName)||e.tabIndex!==-1}const dL=new WeakSet;function GC(e){return t=>{t.key==="Enter"&&e(t)}}function eI(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const ule=(e,t)=>{const n=e.currentTarget;if(!n)return;const c=GC(()=>{if(dL.has(n))return;eI(n,"down");const i=GC(()=>{eI(n,"up")}),r=()=>eI(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 KC(e){return Ww(e)&&!X$()}function ple(e,t,n={}){const[c,i,r]=Y$(e,n),s=d=>{const l=d.currentTarget;if(!KC(d))return;dL.add(l);const h=t(l,d),u=(f,g)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),dL.has(l)&&dL.delete(l),KC(f)&&typeof h=="function"&&h(f,{success:g})},p=f=>{u(f,l===window||l===document||n.useGlobalTarget||J$(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),Z$(d)&&(d.addEventListener("focus",h=>ule(h,i)),!hle(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function Q$(e){return l$(e)&&"ownerSVGElement"in e}function yle(e){return Q$(e)&&e.tagName==="svg"}function kle(...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=z$(i,r,s);return t?d(c):d}const Ae=e=>!!(e&&e.getVelocity),mle=[...U$,be,Dt],fle=e=>mle.find(O$(e)),CL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ZC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function gle(...e){return t=>{let n=!1;const c=e.map(i=>{const r=ZC(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():ZC(e[i],null)}}}}function vle(...e){return te.useCallback(gle(...e),e)}class xle extends te.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const c=n.offsetParent,i=Z$(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 Mle({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(CL),l=vle(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
+ `,xde=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:c})=>{const{activeSubNav:i}=ft();return o.jsx(r$,{style:n,item:c,children:e?.map(r=>o.jsx(i$,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i,a11yConfig:r.a11yConfig},r.id))})},s$=({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})]})]})},Lw=k.createContext({});function Bt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const Iw=typeof window<"u",bw=Iw?k.useLayoutEffect:k.useEffect,wL=k.createContext(null);function ww(e,t){e.indexOf(t)===-1&&e.push(t)}function Cw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Mde([...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 Yb(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(Yb(t,n))},st=(e,t,n)=>{if(!e)throw new Error(Yb(t,n))});const It={},d$=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function l$(e){return typeof e=="object"&&e!==null}const h$=e=>/^0[^.\s]+$/u.test(e);function Nw(e){let t;return()=>(t===void 0&&(t=e()),t)}const nt=e=>e,_de=(e,t)=>n=>t(e(n)),Z1=(...e)=>e.reduce(_de),F1=(e,t,n)=>{const c=t-e;return c===0?1:(n-e)/c};class Sw{constructor(){this.subscriptions=[]}add(t){return ww(this.subscriptions,t),()=>Cw(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 u$(e,t){return t?e*(1e3/t):0}const NC=new Set;function jw(e,t,n){e||NC.has(t)||(console.warn(Yb(t,n)),NC.add(t))}const p$=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Lde=1e-7,Ide=12;function bde(e,t,n,c,i){let r,s,d=0;do s=t+(n-t)/2,r=p$(s,c,i)-e,r>0?n=s:t=s;while(Math.abs(r)>Lde&&++d<Ide);return s}function X1(e,t,n,c){if(e===t&&n===c)return nt;const i=r=>bde(r,0,1,e,n);return r=>r===0||r===1?r:p$(i(r),t,c)}const y$=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,k$=e=>t=>1-e(1-t),m$=X1(.33,1.53,.69,.99),$w=k$(m$),f$=y$($w),g$=e=>(e*=2)<1?.5*$w(e):.5*(2-Math.pow(2,-10*(e-1))),qw=e=>1-Math.sin(Math.acos(e)),v$=k$(qw),x$=y$(qw),wde=X1(.42,0,1,1),Cde=X1(0,0,.58,1),M$=X1(.42,0,.58,1),Nde=e=>Array.isArray(e)&&typeof e[0]!="number",_$=e=>Array.isArray(e)&&typeof e[0]=="number",SC={linear:nt,easeIn:wde,easeInOut:M$,easeOut:Cde,circIn:qw,circInOut:x$,circOut:v$,backIn:$w,backInOut:f$,backOut:m$,anticipate:g$},Sde=e=>typeof e=="string",jC=e=>{if(_$(e)){st(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,c,i]=e;return X1(t,n,c,i)}else if(Sde(e))return st(SC[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),SC[e];return e},ci=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function jde(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 $de=40;function L$(e,t){let n=!1,c=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=ci.reduce((I,b)=>(I[b]=jde(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,$de),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:ci.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<ci.length;b++)s[ci[b]].cancel(I)},state:i,steps:s}}const{schedule:fe,cancel:bt,state:qe,steps:ZL}=L$(typeof requestAnimationFrame<"u"?requestAnimationFrame:nt,!0);let sL;function qde(){sL=void 0}const We={now:()=>(sL===void 0&&We.set(qe.isProcessing||It.useManualTiming?qe.timestamp:performance.now()),sL),set:e=>{sL=e,queueMicrotask(qde)}},I$=e=>t=>typeof t=="string"&&t.startsWith(e),Aw=I$("--"),Ade=I$("var(--"),zw=e=>Ade(e)?zde.test(e.split("/*")[0].trim()):!1,zde=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,s1={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},E1={...s1,transform:e=>Lt(0,1,e)},ii={...s1,default:1},P1=e=>Math.round(e*1e5)/1e5,Vw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Vde(e){return e==null}const Pde=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Pw=(e,t)=>n=>!!(typeof n=="string"&&Pde.test(n)&&n.startsWith(e)||t&&!Vde(n)&&Object.prototype.hasOwnProperty.call(n,t)),b$=(e,t,n)=>c=>{if(typeof c!="string")return c;const[i,r,s,d]=c.match(Vw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},Tde=e=>Lt(0,255,e),XL={...s1,transform:e=>Math.round(Tde(e))},jc={test:Pw("rgb","red"),parse:b$("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:c=1})=>"rgba("+XL.transform(e)+", "+XL.transform(t)+", "+XL.transform(n)+", "+P1(E1.transform(c))+")"};function Hde(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 Jb={test:Pw("#"),parse:Hde,transform:jc.transform},Y1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),$t=Y1("deg"),mt=Y1("%"),Q=Y1("px"),Dde=Y1("vh"),Bde=Y1("vw"),$C={...mt,parse:e=>mt.parse(e)/100,transform:e=>mt.transform(e*100)},Kc={test:Pw("hsl","hue"),parse:b$("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:c=1})=>"hsla("+Math.round(e)+", "+mt.transform(P1(t))+", "+mt.transform(P1(n))+", "+P1(E1.transform(c))+")"},be={test:e=>jc.test(e)||Jb.test(e)||Kc.test(e),parse:e=>jc.test(e)?jc.parse(e):Kc.test(e)?Kc.parse(e):Jb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?jc.transform(e):Kc.transform(e),getAnimatableNone:e=>{const t=be.parse(e);return t.alpha=0,be.transform(t)}},Rde=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Fde(e){return isNaN(e)&&typeof e=="string"&&(e.match(Vw)?.length||0)+(e.match(Rde)?.length||0)>0}const w$="number",C$="color",Ede="var",Ode="var(",qC="${}",Ude=/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 O1(e){const t=e.toString(),n=[],c={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(Ude,l=>(be.test(l)?(c.color.push(r),i.push(C$),n.push(be.parse(l))):l.startsWith(Ode)?(c.var.push(r),i.push(Ede),n.push(l)):(c.number.push(r),i.push(w$),n.push(parseFloat(l))),++r,qC)).split(qC);return{values:n,split:d,indexes:c,types:i}}function N$(e){return O1(e).values}function S$(e){const{split:t,types:n}=O1(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===w$?r+=P1(i[s]):d===C$?r+=be.transform(i[s]):r+=i[s]}return r}}const Wde=e=>typeof e=="number"?0:be.test(e)?be.getAnimatableNone(e):e;function Gde(e){const t=N$(e);return S$(e)(t.map(Wde))}const Dt={test:Fde,parse:N$,createTransformer:S$,getAnimatableNone:Gde};function YL(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 Kde({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=YL(l,d,e+1/3),r=YL(l,d,e),s=YL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:c}}function fL(e,t){return n=>n>0?t:e}const ge=(e,t,n)=>e+(t-e)*n,JL=(e,t,n)=>{const c=e*e,i=n*(t*t-c)+c;return i<0?0:Math.sqrt(i)},Zde=[Jb,jc,Kc],Xde=e=>Zde.find(t=>t.test(e));function AC(e){const t=Xde(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=Kde(n)),n}const zC=(e,t)=>{const n=AC(e),c=AC(t);if(!n||!c)return fL(e,t);const i={...n};return r=>(i.red=JL(n.red,c.red,r),i.green=JL(n.green,c.green,r),i.blue=JL(n.blue,c.blue,r),i.alpha=ge(n.alpha,c.alpha,r),jc.transform(i))},Qb=new Set(["none","hidden"]);function Yde(e,t){return Qb.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Jde(e,t){return n=>ge(e,t,n)}function Tw(e){return typeof e=="number"?Jde:typeof e=="string"?zw(e)?fL:be.test(e)?zC:t0e:Array.isArray(e)?j$:typeof e=="object"?be.test(e)?zC:Qde:fL}function j$(e,t){const n=[...e],c=n.length,i=e.map((r,s)=>Tw(r)(r,t[s]));return r=>{for(let s=0;s<c;s++)n[s]=i[s](r);return n}}function Qde(e,t){const n={...e,...t},c={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(c[i]=Tw(e[i])(e[i],t[i]));return i=>{for(const r in c)n[r]=c[r](i);return n}}function e0e(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 t0e=(e,t)=>{const n=Dt.createTransformer(t),c=O1(e),i=O1(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?Qb.has(e)&&!i.values.length||Qb.has(t)&&!c.values.length?Yde(e,t):Z1(j$(e0e(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"),fL(e,t))};function $$(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ge(e,t,n):Tw(e)(e,t)}const a0e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>fe.update(t,n),stop:()=>bt(t),now:()=>qe.isProcessing?qe.timestamp:We.now()}},q$=(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)})`},gL=2e4;function Hw(e){let t=0;const n=50;let c=e.next(t);for(;!c.done&&t<gL;)t+=n,c=e.next(t);return t>=gL?1/0:t}function n0e(e,t=100,n){const c=n({...e,keyframes:[0,t]}),i=Math.min(Hw(c),gL);return{type:"keyframes",ease:r=>c.next(i*r).value/t,duration:tt(i)}}const o0e=5;function A$(e,t,n){const c=Math.max(t-o0e,0);return u$(n-e(c),t-c)}const _e={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},QL=.001;function c0e({duration:e=_e.duration,bounce:t=_e.bounce,velocity:n=_e.velocity,mass:c=_e.mass}){let i,r;r1(e<=rt(_e.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=Lt(_e.minDamping,_e.maxDamping,s),e=Lt(_e.minDuration,_e.maxDuration,tt(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,f=ew(h,s),g=Math.exp(-p);return QL-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=ew(Math.pow(h,2),s);return(-i(h)+QL>0?-1:1)*((y-f)*g)/m}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-QL+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=r0e(i,r,d);if(e=rt(e),isNaN(l))return{stiffness:_e.stiffness,damping:_e.damping,duration:e};{const h=Math.pow(l,2)*c;return{stiffness:h,damping:s*2*Math.sqrt(c*h),duration:e}}}const i0e=12;function r0e(e,t,n){let c=n;for(let i=1;i<i0e;i++)c=c-e(c)/t(c);return c}function ew(e,t){return e*Math.sqrt(1-t*t)}const s0e=["duration","bounce"],d0e=["stiffness","damping","mass"];function VC(e,t){return t.some(n=>e[n]!==void 0)}function l0e(e){let t={velocity:_e.velocity,stiffness:_e.stiffness,damping:_e.damping,mass:_e.mass,isResolvedFromDuration:!1,...e};if(!VC(e,d0e)&&VC(e,s0e))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:_e.mass,stiffness:i,damping:r}}else{const n=c0e(e);t={...t,...n,mass:_e.mass},t.isResolvedFromDuration=!0}return t}function vL(e=_e.visualDuration,t=_e.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}=l0e({...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?_e.restSpeed.granular:_e.restSpeed.default),i||(i=v?_e.restDelta.granular:_e.restDelta.default);let I;if(m<1){const w=ew(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):A$(I,w,C));const L=Math.abs(_)<=c,S=Math.abs(s-C)<=i;d.done=L&&S}return d.value=d.done?s:C,d},toString:()=>{const w=Math.min(Hw(b),gL),C=q$(_=>b.next(w*_).value,w,30);return w+"ms "+C},toTransition:()=>{}};return b}vL.applyToOptions=e=>{const t=n0e(e,100,vL);return e.ease=t.ease,e.duration=rt(t.duration),e.type="keyframes",e};function tw({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 S=v(L),N=I(L);y.done=Math.abs(S)<=h,y.value=y.done?M:N};let w,C;const _=L=>{f(y.value)&&(w=L,C=vL({keyframes:[y.value,g(y.value)],velocity:A$(I,L,y.value),damping:i,stiffness:r,restDelta:h,restSpeed:u}))};return _(0),{calculatedDuration:null,next:L=>{let S=!1;return!C&&w===void 0&&(S=!0,b(L),_(L)),w!==void 0&&L>=w?C.next(L-w):(!S&&b(L),y)}}}function h0e(e,t,n){const c=[],i=n||It.mix||$$,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=Z1(l,d)}c.push(d)}return c}function z$(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=h0e(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=F1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(Lt(e[0],e[r-1],u)):h}function u0e(e,t){const n=e[e.length-1];for(let c=1;c<=t;c++){const i=F1(0,t,c);e.push(ge(n,1,i))}}function p0e(e){const t=[0];return u0e(t,e.length-1),t}function y0e(e,t){return e.map(n=>n*t)}function k0e(e,t){return e.map(()=>t||M$).splice(0,e.length-1)}function Zc({duration:e=300,keyframes:t,times:n,ease:c="easeInOut"}){const i=Nde(c)?c.map(jC):jC(c),r={done:!1,value:t[0]},s=y0e(n&&n.length===t.length?n:p0e(t),e),d=z$(s,t,{ease:Array.isArray(i)?i:k0e(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const m0e=e=>e!==null;function Dw(e,{repeat:t,repeatType:n="loop"},c,i=1){const r=e.filter(m0e),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||c===void 0?r[d]:c}const f0e={decay:tw,inertia:tw,tween:Zc,keyframes:Zc,spring:vL};function V$(e){typeof e.type=="string"&&(e.type=f0e[e.type])}class Bw{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 g0e=e=>e/100;class Rw extends Bw{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;V$(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=Z1(g0e,$$(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=Hw(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 S=Math.floor(L),N=L%1;!N&&L>=1&&(N=1),N===1&&S--,S=Math.min(S,p+1),!!(S%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!==tw&&(w.value=Dw(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=a0e,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 v0e(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const $c=e=>e*180/Math.PI,aw=e=>{const t=$c(Math.atan2(e[1],e[0]));return nw(t)},x0e={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:aw,rotateZ:aw,skewX:e=>$c(Math.atan(e[1])),skewY:e=>$c(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},nw=e=>(e=e%360,e<0&&(e+=360),e),PC=aw,TC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),HC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),M0e={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:TC,scaleY:HC,scale:e=>(TC(e)+HC(e))/2,rotateX:e=>nw($c(Math.atan2(e[6],e[5]))),rotateY:e=>nw($c(Math.atan2(-e[2],e[0]))),rotateZ:PC,rotate:PC,skewX:e=>$c(Math.atan(e[4])),skewY:e=>$c(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ow(e){return e.includes("scale")?1:0}function cw(e,t){if(!e||e==="none")return ow(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let c,i;if(n)c=M0e,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);c=x0e,i=d}if(!i)return ow(t);const r=c[t],s=i[1].split(",").map(L0e);return typeof r=="function"?r(s):s[r]}const _0e=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return cw(n,t)};function L0e(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),DC=e=>e===s1||e===Q,I0e=new Set(["x","y","z"]),b0e=d1.filter(e=>!I0e.has(e));function w0e(e){const t=[];return b0e.forEach(n=>{const c=e.getValue(n);c!==void 0&&(t.push([n,c.get()]),c.set(n.startsWith("scale")?1:0))}),t}const Tc={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})=>cw(t,"x"),y:(e,{transform:t})=>cw(t,"y")};Tc.translateX=Tc.x;Tc.translateY=Tc.y;const Hc=new Set;let iw=!1,rw=!1,sw=!1;function P$(){if(rw){const e=Array.from(Hc).filter(c=>c.needsMeasurement),t=new Set(e.map(c=>c.element)),n=new Map;t.forEach(c=>{const i=w0e(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)})}rw=!1,iw=!1,Hc.forEach(e=>e.complete(sw)),Hc.clear()}function T$(){Hc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(rw=!0)})}function C0e(){sw=!0,T$(),P$(),sw=!1}class Fw{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?(Hc.add(this),iw||(iw=!0,fe.read(T$),fe.resolveKeyframes(P$))):(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])}v0e(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Hc.delete(this)}cancel(){this.state==="scheduled"&&(Hc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const N0e=e=>e.startsWith("--");function S0e(e,t,n){N0e(t)?e.style.setProperty(t,n):e.style[t]=n}const j0e=Nw(()=>window.ScrollTimeline!==void 0),$0e={};function q0e(e,t){const n=Nw(e);return()=>$0e[t]??n()}const H$=q0e(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),x1=([e,t,n,c])=>`cubic-bezier(${e}, ${t}, ${n}, ${c})`,BC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:x1([0,.65,.55,1]),circOut:x1([.55,0,1,.45]),backIn:x1([.31,.01,.66,-.59]),backOut:x1([.33,1.53,.69,.99])};function D$(e,t){if(e)return typeof e=="function"?H$()?q$(e,t):"ease-out":_$(e)?x1(e):Array.isArray(e)?e.map(n=>D$(n,t)||BC.easeOut):BC[e]}function A0e(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=D$(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 B$(e){return typeof e=="function"&&"applyToOptions"in e}function z0e({type:e,...t}){return B$(e)&&H$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class V0e extends Bw{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=z0e(t);this.animation=A0e(n,c,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=Dw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):S0e(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&&j0e()?(this.animation.timeline=t,nt):n(this)}}const R$={anticipate:g$,backInOut:f$,circInOut:x$};function P0e(e){return e in R$}function T0e(e){typeof e.ease=="string"&&P0e(e.ease)&&(e.ease=R$[e.ease])}const RC=10;class H0e extends V0e{constructor(t){T0e(t),V$(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 Rw({...s,autoplay:!1}),l=rt(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-RC).value,d.sample(l).value,RC),d.stop()}}const FC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Dt.test(e)||e==="0")&&!e.startsWith("url("));function D0e(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 B0e(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=FC(i,t),d=FC(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:D0e(e)||(n==="spring"||B$(n))&&c}function dw(e){e.duration=0,e.type="keyframes"}const R0e=new Set(["opacity","clipPath","filter","transform"]),F0e=Nw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function E0e(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 F0e()&&n&&R0e.has(n)&&(n!=="transform"||!h)&&!l&&!c&&i!=="mirror"&&r!==0&&s!=="inertia"}const O0e=40;class U0e extends Bw{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||Fw;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(),B0e(t,r,s,d)||((It.instantAnimations||!l)&&u?.(Dw(t,c,n)),t[0]=t[t.length-1],dw(c),c.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>O0e?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...c,keyframes:t},f=!h&&E0e(y)?new H0e({...y,element:y.motionValue.owner.current}):new Rw(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(),C0e()),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 W0e=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function G0e(e){const t=W0e.exec(e);if(!t)return[,];const[,n,c,i]=t;return[`--${n??c}`,i]}const K0e=4;function F$(e,t,n=1){st(n<=K0e,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[c,i]=G0e(e);if(!c)return;const r=window.getComputedStyle(t).getPropertyValue(c);if(r){const s=r.trim();return d$(s)?parseFloat(s):s}return zw(i)?F$(i,t,n+1):i}function Ew(e,t){return e?.[t]??e?.default??e}const E$=new Set(["width","height","top","left","right","bottom",...d1]),Z0e={test:e=>e==="auto",parse:e=>e},O$=e=>t=>t.test(e),U$=[s1,Q,mt,$t,Bde,Dde,Z0e],EC=e=>U$.find(O$(e));function X0e(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||h$(e):!0}const Y0e=new Set(["brightness","contrast","saturate","opacity"]);function J0e(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[c]=n.match(Vw)||[];if(!c)return e;const i=n.replace(c,"");let r=Y0e.has(t)?1:0;return c!==n&&(r*=100),t+"("+r+i+")"}const Q0e=/\b([a-z-]*)\(.*?\)/gu,lw={...Dt,getAnimatableNone:e=>{const t=e.match(Q0e);return t?t.map(J0e).join(" "):e}},OC={...s1,transform:Math.round},ele={rotate:$t,rotateX:$t,rotateY:$t,rotateZ:$t,scale:ii,scaleX:ii,scaleY:ii,scaleZ:ii,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:E1,originX:$C,originY:$C,originZ:Q},Ow={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,...ele,zIndex:OC,fillOpacity:E1,strokeOpacity:E1,numOctaves:OC},tle={...Ow,color:be,backgroundColor:be,outlineColor:be,fill:be,stroke:be,borderColor:be,borderTopColor:be,borderRightColor:be,borderBottomColor:be,borderLeftColor:be,filter:lw,WebkitFilter:lw},W$=e=>tle[e];function G$(e,t){let n=W$(e);return n!==lw&&(n=Dt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ale=new Set(["auto","none","0"]);function nle(e,t,n){let c=0,i;for(;c<e.length&&!i;){const r=e[c];typeof r=="string"&&!ale.has(r)&&O1(r).values.length&&(i=e[c]),c++}if(i&&n)for(const r of t)e[r]=G$(n,i)}class ole extends Fw{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(),zw(h))){const u=F$(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!E$.has(c)||t.length!==2)return;const[i,r]=t,s=EC(i),d=EC(r);if(s!==d)if(DC(s)&&DC(d))for(let l=0;l<t.length;l++){const h=t[l];typeof h=="string"&&(t[l]=parseFloat(h))}else Tc[c]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,c=[];for(let i=0;i<t.length;i++)(t[i]===null||X0e(t[i]))&&c.push(i);c.length&&nle(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=Tc[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]=Tc[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 cle(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 K$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Z$(e){return l$(e)&&"offsetHeight"in e}const UC=30,ile=e=>!isNaN(parseFloat(e)),T1={current:void 0};class rle{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=ile(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&jw(!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 Sw);const c=this.events[t].add(n);return t==="change"?()=>{c(),fe.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 T1.current&&T1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=We.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>UC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,UC);return u$(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 Dc(e,t){return new rle(e,t)}const{schedule:Uw}=L$(queueMicrotask,!1),it={x:!1,y:!1};function X$(){return it.x||it.y}function sle(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 Y$(e,t){const n=cle(e),c=new AbortController,i={passive:!0,...t,signal:c.signal};return[n,i,()=>c.abort()]}function WC(e){return!(e.pointerType==="touch"||X$())}function dle(e,t,n={}){const[c,i,r]=Y$(e,n),s=d=>{if(!WC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{WC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return c.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const J$=(e,t)=>t?e===t?!0:J$(e,t.parentElement):!1,Ww=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,lle=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function hle(e){return lle.has(e.tagName)||e.tabIndex!==-1}const dL=new WeakSet;function GC(e){return t=>{t.key==="Enter"&&e(t)}}function eI(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const ule=(e,t)=>{const n=e.currentTarget;if(!n)return;const c=GC(()=>{if(dL.has(n))return;eI(n,"down");const i=GC(()=>{eI(n,"up")}),r=()=>eI(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 KC(e){return Ww(e)&&!X$()}function ple(e,t,n={}){const[c,i,r]=Y$(e,n),s=d=>{const l=d.currentTarget;if(!KC(d))return;dL.add(l);const h=t(l,d),u=(f,g)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),dL.has(l)&&dL.delete(l),KC(f)&&typeof h=="function"&&h(f,{success:g})},p=f=>{u(f,l===window||l===document||n.useGlobalTarget||J$(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),Z$(d)&&(d.addEventListener("focus",h=>ule(h,i)),!hle(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function Q$(e){return l$(e)&&"ownerSVGElement"in e}function yle(e){return Q$(e)&&e.tagName==="svg"}function kle(...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=z$(i,r,s);return t?d(c):d}const Ae=e=>!!(e&&e.getVelocity),mle=[...U$,be,Dt],fle=e=>mle.find(O$(e)),CL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ZC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function gle(...e){return t=>{let n=!1;const c=e.map(i=>{const r=ZC(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():ZC(e[i],null)}}}}function vle(...e){return te.useCallback(gle(...e),e)}class xle extends te.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const c=n.offsetParent,i=Z$(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 Mle({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(CL),l=vle(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(xle,{isPresent:t,childRef:r,sizeRef:s,children:te.cloneElement(e,{ref:l})})}const _le=({children:e,initial:t,isPresent:n,onExitComplete:c,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=Bt(Lle),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(Mle,{isPresent:n,anchorX:d,root:l,children:e})),o.jsx(wL.Provider,{value:y,children:e})};function Lle(){return new Map}function eq(e=!0){const t=k.useContext(wL);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 ri=e=>e.key||"";function XC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const Ile=({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]=eq(s),p=k.useMemo(()=>XC(e),[e]),y=s&&!h?[]:p.map(ri),f=k.useRef(!0),g=k.useRef(p),m=Bt(()=>new Map),[x,_]=k.useState(p),[v,I]=k.useState(p);bw(()=>{f.current=!1,g.current=p;for(let C=0;C<v.length;C++){const M=ri(v[C]);y.includes(M)?m.delete(M):m.get(M)!==!0&&m.set(M,!1)}},[v,y.length,y.join("-")]);const b=[];if(p!==x){let C=[...p];for(let M=0;M<v.length;M++){const L=v[M],j=ri(L);y.includes(j)||(C.splice(M,0,L),b.push(L))}return r==="wait"&&b.length&&(C=b),I(XC(C)),_(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(Lw);return o.jsx(o.Fragment,{children:v.map(C=>{const M=ri(C),L=s&&!h?!1:p===v||y.includes(M),j=()=>{if(m.has(M))m.set(M,!0);else return;let N=!0;m.forEach(S=>{S||(N=!1)}),N&&(w?.(),I(g.current),s&&u?.(),c&&c())};return o.jsx(_le,{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},M)})})},tq=k.createContext({strict:!1}),YC={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 YC)i1[e]={isEnabled:t=>YC[e].some(n=>!!t[n])};function ble(e){for(const t in e)i1[t]={...i1[t],...e[t]}}const wle=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 xL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||wle.has(e)}let aq=e=>!xL(e);function Cle(e){typeof e=="function"&&(aq=t=>t.startsWith("on")?!xL(t):e(t))}try{Cle(require("@emotion/is-prop-valid").default)}catch{}function Nle(e,t,n){const c={};for(const i in e)i==="values"&&typeof e.values=="object"||(aq(i)||n===!0&&xL(i)||!t&&!xL(i)||e.draggable&&i.startsWith("onDrag"))&&(c[i]=e[i]);return c}const NL=k.createContext({});function SL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function U1(e){return typeof e=="string"||Array.isArray(e)}const Gw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Kw=["initial",...Gw];function jL(e){return SL(e.animate)||Kw.some(t=>U1(e[t]))}function nq(e){return!!(jL(e)||e.variants)}function Sle(e,t){if(jL(e)){const{initial:n,animate:c}=e;return{initial:n===!1||U1(n)?n:void 0,animate:U1(c)?c:void 0}}return e.inherit!==!1?t:{}}function jle(e){const{initial:t,animate:n}=Sle(e,k.useContext(NL));return k.useMemo(()=>({initial:t,animate:n}),[JC(t),JC(n)])}function JC(e){return Array.isArray(e)?e.join(" "):e}const W1={};function $le(e){for(const t in e)W1[t]=e[t],Aw(t)&&(W1[t].isCSSVariable=!0)}function oq(e,{layout:t,layoutId:n}){return l1.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!W1[e]||e==="opacity")}const qle={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ale=d1.length;function zle(e,t,n){let c="",i=!0;for(let r=0;r<Ale;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=K$(d,Ow[s]);if(!l){i=!1;const u=qle[s]||s;c+=`${u}(${h}) `}n&&(t[s]=h)}}return c=c.trim(),n?c=n(t,i?"":c):i&&(c="none"),c}function Zw(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(Aw(l)){i[l]=h;continue}else{const u=K$(h,Ow[l]);l.startsWith("origin")?(d=!0,r[l]=u):c[l]=u}}if(t.transform||(s||n?c.transform=zle(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 Xw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function cq(e,t,n){for(const c in t)!Ae(t[c])&&!oq(c,n)&&(e[c]=t[c])}function Vle({transformTemplate:e},t){return k.useMemo(()=>{const n=Xw();return Zw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Ple(e,t){const n=e.style||{},c={};return cq(c,n,e),Object.assign(c,Vle(e,t)),c}function Tle(e,t){const n={},c=Ple(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 Hle={offset:"stroke-dashoffset",array:"stroke-dasharray"},Dle={offset:"strokeDashoffset",array:"strokeDasharray"};function Ble(e,t,n=1,c=0,i=!0){e.pathLength=1;const r=i?Hle:Dle;e[r.offset]=Q.transform(-c);const s=Q.transform(t),d=Q.transform(n);e[r.array]=`${s} ${d}`}function iq(e,{attrX:t,attrY:n,attrScale:c,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if(Zw(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&&Ble(p,i,r,s,!1)}const rq=()=>({...Xw(),attrs:{}}),sq=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Rle(e,t,n,c){const i=k.useMemo(()=>{const r=rq();return iq(r,t,sq(c),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};cq(r,e.style,e),i.style={...r,...i.style}}return i}const Fle=["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 Yw(e){return typeof e!="string"||e.includes("-")?!1:!!(Fle.indexOf(e)>-1||/[A-Z]/u.test(e))}function Ele(e,t,n,{latestValues:c},i,r=!1){const d=(Yw(e)?Rle:Tle)(t,c,i,e),l=Nle(t,typeof e=="string",r),h=e!==k.Fragment?{...l,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>Ae(u)?u.get():u,[u]);return k.createElement(e,{...h,children:p})}function QC(e){const t=[{},{}];return e?.values.forEach((n,c)=>{t[0][c]=n.get(),t[1][c]=n.getVelocity()}),t}function Jw(e,t,n,c){if(typeof t=="function"){const[i,r]=QC(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]=QC(c);t=t(n!==void 0?n:e.custom,i,r)}return t}function lL(e){return Ae(e)?e.get():e}function Ole({scrapeMotionValuesFromProps:e,createRenderState:t},n,c,i){return{latestValues:Ule(n,c,i,e),renderState:t()}}function Ule(e,t,n,c){const i={},r=c(e,{});for(const y in r)i[y]=lL(r[y]);let{initial:s,animate:d}=e;const l=jL(e),h=nq(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"&&!SL(p)){const y=Array.isArray(p)?p:[p];for(let f=0;f<y.length;f++){const g=Jw(e,y[f]);if(g){const{transitionEnd:m,transition:x,..._}=g;for(const v in _){let I=_[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 dq=e=>(t,n)=>{const c=k.useContext(NL),i=k.useContext(wL),r=()=>Ole(e,t,c,i);return n?r():Bt(r)};function Qw(e,t,n){const{style:c}=e,i={};for(const r in c)(Ae(c[r])||t.style&&Ae(t.style[r])||oq(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=c[r]);return i}const Wle=dq({scrapeMotionValuesFromProps:Qw,createRenderState:Xw});function lq(e,t,n){const c=Qw(e,t,n);for(const i in e)if(Ae(e[i])||Ae(t[i])){const r=d1.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;c[r]=e[i]}return c}const Gle=dq({scrapeMotionValuesFromProps:lq,createRenderState:rq}),Kle=Symbol.for("motionComponentSymbol");function Xc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Zle(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 eC=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Xle="framerAppearId",hq="data-"+eC(Xle),uq=k.createContext({});function Yle(e,t,n,c,i){const{visualElement:r}=k.useContext(NL),s=k.useContext(tq),d=k.useContext(wL),l=k.useContext(CL).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(uq);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&Jle(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const f=n[hq],g=k.useRef(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return bw(()=>{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 Jle(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:pq(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 pq(e){if(e)return e.options.allowProjection!==!1?e.projection:pq(e.parent)}function tI(e,{forwardMotionProps:t=!1}={},n,c){n&&ble(n);const i=Yw(e)?Gle:Wle;function r(d,l){let h;const u={...k.useContext(CL),...d,layoutId:Qle(d)},{isStatic:p}=u,y=jle(d),f=i(d,p);if(!p&&Iw){ehe(u,n);const g=the(u);h=g.MeasureLayout,y.visualElement=Yle(e,f,u,c,g.ProjectionNode)}return o.jsxs(NL.Provider,{value:y,children:[h&&y.visualElement?o.jsx(h,{visualElement:y.visualElement,...u}):null,Ele(e,d,Zle(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[Kle]=e,s}function Qle({layoutId:e}){const t=k.useContext(Lw).id;return t&&e!==void 0?t+"-"+e:e}function ehe(e,t){const n=k.useContext(tq).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 the(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 ahe(e,t){if(typeof Proxy>"u")return tI;const n=new Map,c=(r,s)=>tI(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&jw(!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,tI(s,void 0,e,t)),n.get(s))})}function yq({top:e,left:t,right:n,bottom:c}){return{x:{min:t,max:n},y:{min:e,max:c}}}function nhe({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function ohe(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 aI(e){return e===void 0||e===1}function hw({scale:e,scaleX:t,scaleY:n}){return!aI(e)||!aI(t)||!aI(n)}function Sc(e){return hw(e)||kq(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function kq(e){return eN(e.x)||eN(e.y)}function eN(e){return e&&e!=="0%"}function ML(e,t,n){const c=e-n,i=t*c;return n+i}function tN(e,t,n,c,i){return i!==void 0&&(e=ML(e,i,c)),ML(e,n,c)+t}function uw(e,t=0,n=1,c,i){e.min=tN(e.min,t,n,c,i),e.max=tN(e.max,t,n,c,i)}function mq(e,{x:t,y:n}){uw(e.x,t.translate,t.scale,t.originPoint),uw(e.y,n.translate,n.scale,n.originPoint)}const aN=.999999999999,nN=1.0000000000001;function che(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,mq(e,s)),c&&Sc(r.latestValues)&&Jc(e,r.latestValues))}t.x<nN&&t.x>aN&&(t.x=1),t.y<nN&&t.y>aN&&(t.y=1)}function Yc(e,t){e.min=e.min+t,e.max=e.max+t}function oN(e,t,n,c,i=.5){const r=ge(e.min,e.max,i);uw(e,t,n,r,c)}function Jc(e,t){oN(e.x,t.x,t.scaleX,t.scale,t.originX),oN(e.y,t.y,t.scaleY,t.scale,t.originY)}function fq(e,t){return yq(ohe(e.getBoundingClientRect(),t))}function ihe(e,t,n){const c=fq(e,n),{scroll:i}=t;return i&&(Yc(c.x,i.offset.x),Yc(c.y,i.offset.y)),c}const cN=()=>({translate:0,scale:1,origin:0,originPoint:0}),Qc=()=>({x:cN(),y:cN()}),iN=()=>({min:0,max:0}),Ie=()=>({x:iN(),y:iN()}),pw={current:null},gq={current:!1};function rhe(){if(gq.current=!0,!!Iw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>pw.current=e.matches;e.addEventListener("change",t),t()}else pw.current=!1}const she=new WeakMap;function dhe(e,t,n){for(const c in t){const i=t[c],r=n[c];if(Ae(i))e.addValue(c,i);else if(Ae(r))e.addValue(c,Dc(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,Dc(s!==void 0?s:i,{owner:e}))}}for(const c in n)t[c]===void 0&&e.removeValue(c);return t}const rN=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class lhe{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=Fw,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,fe.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=jL(n),this.isVariantNode=nq(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&&Ae(f)&&f.set(l[y])}}mount(t){this.current=t,she.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)),gq.current||rhe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:pw.current,process.env.NODE_ENV!=="production"&&jw(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&&fe.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):Ie()}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<rN.length;c++){const i=rN[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=dhe(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=Dc(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"&&(d$(c)||h$(c))?c=parseFloat(c):!fle(c)&&Dt.test(n)&&(c=G$(t,n)),this.setBaseTarget(t,Ae(c)?c.get():c)),Ae(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=Jw(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&&!Ae(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 Sw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Uw.render(this.render)}}class vq extends lhe{constructor(){super(...arguments),this.KeyframeResolver=ole}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;Ae(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function xq(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 hhe(e){return window.getComputedStyle(e)}class uhe extends vq{constructor(){super(...arguments),this.type="html",this.renderInstance=xq}readValueFromInstance(t,n){if(l1.has(n))return this.projection?.isProjecting?ow(n):_0e(t,n);{const c=hhe(t),i=(Aw(n)?c.getPropertyValue(n):c[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return fq(t,n)}build(t,n,c){Zw(t,n,c.transformTemplate)}scrapeMotionValuesFromProps(t,n,c){return Qw(t,n,c)}}const Mq=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 phe(e,t,n,c){xq(e,t,void 0,c);for(const i in t.attrs)e.setAttribute(Mq.has(i)?i:eC(i),t.attrs[i])}class yhe extends vq{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ie}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(l1.has(n)){const c=W$(n);return c&&c.default||0}return n=Mq.has(n)?n:eC(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,c){return lq(t,n,c)}build(t,n,c){iq(t,n,this.isSVGTag,c.transformTemplate,c.style)}renderInstance(t,n,c,i){phe(t,n,c,i)}mount(t){this.isSVGTag=sq(t.tagName),super.mount(t)}}const khe=(e,t)=>Yw(e)?new yhe(t):new uhe(t,{allowProjection:e!==k.Fragment});function c1(e,t,n){const c=e.getProps();return Jw(c,t,n!==void 0?n:c.custom,e)}const yw=e=>Array.isArray(e);function mhe(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Dc(n))}function fhe(e){return yw(e)?e[e.length-1]||0:e}function ghe(e,t){const n=c1(e,t);let{transitionEnd:c={},transition:i={},...r}=n||{};r={...r,...c};for(const s in r){const d=fhe(r[s]);mhe(e,s,d)}}function vhe(e){return!!(Ae(e)&&e.add)}function kw(e,t){const n=e.getValue("willChange");if(vhe(n))return n.add(t);if(!n&&It.WillChange){const c=new It.WillChange("auto");e.addValue("willChange",c),c.add(t)}}function _q(e){return e.props[hq]}const xhe=e=>e!==null;function Mhe(e,{repeat:t,repeatType:n="loop"},c){const i=e.filter(xhe),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const _he={type:"spring",stiffness:500,damping:25,restSpeed:10},Lhe=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Ihe={type:"keyframes",duration:.8},bhe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},whe=(e,{keyframes:t})=>t.length>2?Ihe:l1.has(e)?e.startsWith("scale")?Lhe(t[1]):_he:bhe;function Che({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 tC=(e,t,n,c={},i,r)=>s=>{const d=Ew(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};Che(d)||Object.assign(u,whe(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)&&(dw(u),u.delay===0&&(p=!0)),(It.instantAnimations||It.skipAnimations)&&(p=!0,dw(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=Mhe(u.keyframes,d);if(y!==void 0){fe.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new Rw(u):new U0e(u)};function Nhe({protectedKeys:e,needsAnimating:t},n){const c=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,c}function Lq(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&&Nhe(h,u))continue;const f={delay:n,...Ew(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 _=_q(e);if(_){const v=window.MotionHandoffAnimation(_,u,fe);v!==null&&(f.startTime=v,m=!0)}}kw(e,u),p.start(tC(u,p,y,e.shouldReduceMotion&&E$.has(u)?{type:!1}:f,e,m));const x=p.animation;x&&l.push(x)}return s&&Promise.all(l).then(()=>{fe.update(()=>{s&&ghe(e,s)})}),l}function Iq(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 mw(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(Lq(e,c,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return She(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 She(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(mw(l,t,{...s,delay:n+(typeof c=="function"?0:c)+Iq(e.variantChildren,l,c,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function jhe(e,t,n={}){e.notify("AnimationStart",t);let c;if(Array.isArray(t)){const i=t.map(r=>mw(e,r,n));c=Promise.all(i)}else if(typeof t=="string")c=mw(e,t,n);else{const i=typeof t=="function"?c1(e,t,n.custom):t;c=Promise.all(Lq(e,i,n))}return c.then(()=>{e.notify("AnimationComplete",t)})}function bq(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 $he=Kw.length;function wq(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?wq(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<$he;n++){const c=Kw[n],i=e.props[c];(U1(i)||i===!1)&&(t[c]=i)}return t}const qhe=[...Gw].reverse(),Ahe=Gw.length;function zhe(e){return t=>Promise.all(t.map(({animation:n,options:c})=>jhe(e,n,c)))}function Vhe(e){let t=zhe(e),n=sN(),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=wq(e.parent)||{},p=[],y=new Set;let f={},g=1/0;for(let x=0;x<Ahe;x++){const _=qhe[x],v=n[_],I=h[_]!==void 0?h[_]:u[_],b=U1(I),w=_===l?v.isActive:null;w===!1&&(g=x);let C=I===u[_]&&I!==h[_]&&b;if(C&&c&&e.manuallyAnimateOnMount&&(C=!1),v.protectedKeys={...f},!v.isActive&&w===null||!I&&!v.prevProp||SL(I)||typeof I=="boolean")continue;const M=Phe(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(_),{});w===!1&&(S={});const{prevResolvedValues:q={}}=v,B={...q,...S},H=$=>{L=!0,y.has($)&&(j=!0,y.delete($)),v.needsAnimating[$]=!0;const D=e.getValue($);D&&(D.liveStyle=!1)};for(const $ in B){const D=S[$],R=q[$];if(f.hasOwnProperty($))continue;let V=!1;yw(D)&&yw(R)?V=!bq(D,R):V=D!==R,V?D!=null?H($):y.add($):D!==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 z=C&&M;L&&(!z||j)&&p.push(...N.map($=>{const D={type:_};if(typeof $=="string"&&c&&!z&&e.manuallyAnimateOnMount&&e.parent){const{parent:R}=e,V=c1(R,$);if(R.enteringChildren&&V){const{delayChildren:O}=V.transition||{};D.delay=Iq(R.enteringChildren,e,O)}}return{animation:$,options:D}}))}if(y.size){const x={};if(typeof h.initial!="boolean"){const _=c1(e,Array.isArray(h.initial)?h.initial[0]:h.initial);_&&_.transition&&(x.transition=_.transition)}y.forEach(_=>{const v=e.getBaseTarget(_),I=e.getValue(_);I&&(I.liveStyle=!0),x[_]=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=sN()}}}function Phe(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!bq(t,e):!1}function Ot(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function sN(){return{animate:Ot(!0),whileInView:Ot(),whileHover:Ot(),whileTap:Ot(),whileDrag:Ot(),whileFocus:Ot(),exit:Ot()}}class Rt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class The extends Rt{constructor(t){super(t),t.animationState||(t.animationState=Vhe(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();SL(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 Hhe=0;class Dhe extends Rt{constructor(){super(...arguments),this.id=Hhe++}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 Bhe={animation:{Feature:The},exit:{Feature:Dhe}};function G1(e,t,n,c={passive:!0}){return e.addEventListener(t,n,c),()=>e.removeEventListener(t,n)}function J1(e){return{point:{x:e.pageX,y:e.pageY}}}const Rhe=e=>t=>Ww(t)&&e(t,J1(t));function H1(e,t,n,c){return G1(e,t,Rhe(n),c)}const Cq=1e-4,Fhe=1-Cq,Ehe=1+Cq,Nq=.01,Ohe=0-Nq,Uhe=0+Nq;function Re(e){return e.max-e.min}function Whe(e,t,n){return Math.abs(e-t)<=n}function dN(e,t,n,c=.5){e.origin=c,e.originPoint=ge(t.min,t.max,e.origin),e.scale=Re(n)/Re(t),e.translate=ge(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Fhe&&e.scale<=Ehe||isNaN(e.scale))&&(e.scale=1),(e.translate>=Ohe&&e.translate<=Uhe||isNaN(e.translate))&&(e.translate=0)}function D1(e,t,n,c){dN(e.x,t.x,n.x,c?c.originX:void 0),dN(e.y,t.y,n.y,c?c.originY:void 0)}function lN(e,t,n){e.min=n.min+t.min,e.max=e.min+Re(t)}function Ghe(e,t,n){lN(e.x,t.x,n.x),lN(e.y,t.y,n.y)}function hN(e,t,n){e.min=t.min-n.min,e.max=e.min+Re(t)}function B1(e,t,n){hN(e.x,t.x,n.x),hN(e.y,t.y,n.y)}function et(e){return[e("x"),e("y")]}const Sq=({current:e})=>e?e.ownerDocument.defaultView:null,uN=(e,t)=>Math.abs(e-t);function Khe(e,t){const n=uN(e.x,t.x),c=uN(e.y,t.y);return Math.sqrt(n**2+c**2)}class jq{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=oI(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,g=Khe(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!f&&!g)return;const{point:m}=y,{timestamp:x}=qe;this.history.push({...m,timestamp:x});const{onStart:_,onMove:v}=this.handlers;f||(_&&_(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,y)},this.handlePointerMove=(y,f)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=nI(f,this.transformPagePoint),fe.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 _=oI(y.type==="pointercancel"?this.lastMoveEventInfo:nI(f,this.transformPagePoint),this.history);this.startEvent&&g&&g(y,_),m&&m(y,_)},!Ww(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=c,this.distanceThreshold=s,this.contextWindow=i||window;const d=J1(t),l=nI(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=qe;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,oI(l,this.history)),this.removeListeners=Z1(H1(this.contextWindow,"pointermove",this.handlePointerMove),H1(this.contextWindow,"pointerup",this.handlePointerUp),H1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),bt(this.updatePoint)}}function nI(e,t){return t?{point:t(e.point)}:e}function pN(e,t){return{x:e.x-t.x,y:e.y-t.y}}function oI({point:e},t){return{point:e,delta:pN(e,$q(t)),offset:pN(e,Zhe(t)),velocity:Xhe(t,.1)}}function Zhe(e){return e[0]}function $q(e){return e[e.length-1]}function Xhe(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,c=null;const i=$q(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 Yhe(e,{min:t,max:n},c){return t!==void 0&&e<t?e=c?ge(t,e,c.min):Math.max(e,t):n!==void 0&&e>n&&(e=c?ge(n,e,c.max):Math.min(e,n)),e}function yN(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 Jhe(e,{top:t,left:n,bottom:c,right:i}){return{x:yN(e.x,n,i),y:yN(e.y,t,c)}}function kN(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 Qhe(e,t){return{x:kN(e.x,t.x),y:kN(e.y,t.y)}}function eue(e,t){let n=.5;const c=Re(e),i=Re(t);return i>c?n=F1(t.min,t.max-c,e.min):c>i&&(n=F1(e.min,e.max-i,t.min)),Lt(0,1,n)}function tue(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 fw=.35;function aue(e=fw){return e===!1?e=0:e===!0&&(e=fw),{x:mN(e,"left","right"),y:mN(e,"top","bottom")}}function mN(e,t,n){return{min:fN(e,t),max:fN(e,n)}}function fN(e,t){return typeof e=="number"?e:e[t]||0}const nue=new WeakMap;class oue{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=Ie(),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(J1(p).point)},s=(p,y)=>{const{drag:f,dragPropagation:g,onDragStart:m}=this.getProps();if(f&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=sle(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(_=>{let v=this.getAxisMotionValue(_).get()||0;if(mt.test(v)){const{projection:I}=this.visualElement;if(I&&I.layout){const b=I.layout.layoutBox[_];b&&(v=Re(b)*(parseFloat(v)/100))}}this.originPoint[_]=v}),m&&fe.postRender(()=>m(p,y)),kw(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:_}=y;if(g&&this.currentDirection===null){this.currentDirection=cue(_),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",y.point,_),this.updateAxis("y",y.point,_),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 jq(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:c,contextWindow:Sq(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&&fe.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||!si(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+c[t];this.constraints&&this.constraints[t]&&(s=Yhe(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=Jhe(c.layoutBox,t):this.constraints=!1,this.elastic=aue(n),i!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&et(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=tue(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=ihe(c,i.root,this.visualElement.getTransformPagePoint());let s=Qhe(i.layout.layoutBox,r);if(n){const d=n(nhe(s));this.hasMutatedConstraints=!!d,d&&(s=yq(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(!si(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 kw(this.visualElement,t),c.start(tC(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(!si(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]-ge(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]=eue({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(!si(s,t,null))return;const d=this.getAxisMotionValue(s),{min:l,max:h}=this.constraints[s];d.set(ge(l,h,i[s]))})}addListeners(){if(!this.visualElement.current)return;nue.set(this.visualElement,this);const t=this.visualElement.current,n=H1(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()),fe.read(c);const s=G1(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=fw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:c,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function si(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function cue(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class iue extends Rt{constructor(t){super(t),this.removeGroupControls=nt,this.removeListeners=nt,this.controls=new oue(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 gN=e=>(t,n)=>{e&&fe.postRender(()=>e(t,n))};class rue extends Rt{constructor(){super(...arguments),this.removePointerDownListener=nt}onPointerDown(t){this.session=new jq(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Sq(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:c,onPanEnd:i}=this.node.getProps();return{onSessionStart:gN(t),onStart:gN(n),onMove:c,onEnd:(r,s)=>{delete this.session,i&&fe.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=H1(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 hL={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function vN(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const k1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Q.test(e))e=parseFloat(e);else return e;const n=vN(e,t.target.x),c=vN(e,t.target.y);return`${n}% ${c}%`}},sue={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=ge(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 cI=!1;class due extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c,layoutId:i}=this.props,{projection:r}=t;$le(lue),r&&(n.group&&n.group.add(r),c&&c.register&&i&&c.register(r),cI&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),hL.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:c,drag:i,isPresent:r}=this.props,{projection:s}=c;return s&&(s.isPresent=r,cI=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||fe.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Uw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c}=this.props,{projection:i}=t;cI=!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 qq(e){const[t,n]=eq(),c=k.useContext(Lw);return o.jsx(due,{...e,layoutGroup:c,switchLayoutGroup:k.useContext(uq),isPresent:t,safeToRemove:n})}const lue={borderRadius:{...k1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:k1,borderTopRightRadius:k1,borderBottomLeftRadius:k1,borderBottomRightRadius:k1,boxShadow:sue};function hue(e,t,n){const c=Ae(e)?e:Dc(e);return c.start(tC("",c,t,n)),c.animation}const uue=(e,t)=>e.depth-t.depth;class pue{constructor(){this.children=[],this.isDirty=!1}add(t){ww(this.children,t),this.isDirty=!0}remove(t){Cw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(uue),this.isDirty=!1,this.children.forEach(t)}}function yue(e,t){const n=We.now(),c=({timestamp:i})=>{const r=i-n;r>=t&&(bt(c),e(r-t))};return fe.setup(c,!0),()=>bt(c)}const Aq=["TopLeft","TopRight","BottomLeft","BottomRight"],kue=Aq.length,xN=e=>typeof e=="string"?parseFloat(e):e,MN=e=>typeof e=="number"||Q.test(e);function mue(e,t,n,c,i,r){i?(e.opacity=ge(0,n.opacity??1,fue(c)),e.opacityExit=ge(t.opacity??1,0,gue(c))):r&&(e.opacity=ge(t.opacity??1,n.opacity??1,c));for(let s=0;s<kue;s++){const d=`border${Aq[s]}Radius`;let l=_N(t,d),h=_N(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||MN(l)===MN(h)?(e[d]=Math.max(ge(xN(l),xN(h),c),0),(mt.test(h)||mt.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=ge(t.rotate||0,n.rotate||0,c))}function _N(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const fue=zq(0,.5,v$),gue=zq(.5,.95,nt);function zq(e,t,n){return c=>c<e?0:c>t?1:n(F1(e,t,c))}function LN(e,t){e.min=t.min,e.max=t.max}function Xe(e,t){LN(e.x,t.x),LN(e.y,t.y)}function IN(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function bN(e,t,n,c,i){return e-=t,e=ML(e,1/n,c),i!==void 0&&(e=ML(e,1/i,c)),e}function vue(e,t=0,n=1,c=.5,i,r=e,s=e){if(mt.test(t)&&(t=parseFloat(t),t=ge(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=ge(r.min,r.max,c);e===r&&(d-=t),e.min=bN(e.min,t,n,d,i),e.max=bN(e.max,t,n,d,i)}function wN(e,t,[n,c,i],r,s){vue(e,t[n],t[c],t[i],t.scale,r,s)}const xue=["x","scaleX","originX"],Mue=["y","scaleY","originY"];function CN(e,t,n,c){wN(e.x,t,xue,n?n.x:void 0,c?c.x:void 0),wN(e.y,t,Mue,n?n.y:void 0,c?c.y:void 0)}function NN(e){return e.translate===0&&e.scale===1}function Vq(e){return NN(e.x)&&NN(e.y)}function SN(e,t){return e.min===t.min&&e.max===t.max}function _ue(e,t){return SN(e.x,t.x)&&SN(e.y,t.y)}function jN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Pq(e,t){return jN(e.x,t.x)&&jN(e.y,t.y)}function $N(e){return Re(e.x)/Re(e.y)}function qN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Lue{constructor(){this.members=[]}add(t){ww(this.members,t),t.scheduleRender()}remove(t){if(Cw(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 Iue(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 iI=["","X","Y","Z"],bue=1e3;let wue=0;function rI(e,t,n,c){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),c&&(c[e]=0))}function Tq(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=_q(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",fe,!(i||r))}const{parent:c}=e;c&&!c.hasCheckedOptimisedAppear&&Tq(c)}function Hq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:c,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=wue++,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(Sue),this.nodes.forEach(Aue),this.nodes.forEach(zue),this.nodes.forEach(jue)},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 pue)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Sw),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=Q$(s)&&!yle(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;fe.read(()=>{p=window.innerWidth}),e(s,()=>{const f=window.innerWidth;f!==p&&(p=f,this.root.updateBlockedByResize=!0,u&&u(),u=yue(y,250),hL.hasAnimatedSinceResize&&(hL.hasAnimatedSinceResize=!1,this.nodes.forEach(VN)))})}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()||Due,{onLayoutAnimationStart:m,onLayoutAnimationComplete:x}=h.getProps(),_=!this.targetLayout||!Pq(this.targetLayout,f),v=!p&&y;if(this.options.layoutRoot||this.resumeFrom||v||p&&(_||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const I={...Ew(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||VN(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(Vue),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&&Tq(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(AN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(zN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(que),this.nodes.forEach(Cue),this.nodes.forEach(Nue)):this.nodes.forEach(zN),this.clearAllSnapshots();const d=We.now();qe.delta=Lt(0,1e3/60,d-qe.timestamp),qe.timestamp=d,qe.isProcessing=!0,ZL.update.process(qe),ZL.preRender.process(qe),ZL.render.process(qe),qe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Uw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach($ue),this.sharedNodes.forEach(Pue)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,fe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){fe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Re(this.snapshot.measuredBox.x)&&!Re(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=Ie(),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&&!Vq(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||Sc(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)),Bue(l),{animationId:this.root.animationId,measuredBox:d,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return Ie();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Rue))){const{scroll:h}=this.root;h&&(Yc(d.x,h.offset.x),Yc(d.y,h.offset.y))}return d}removeElementScroll(s){const d=Ie();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=Ie();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}),Sc(u.latestValues)&&Jc(l,u.latestValues)}return Sc(this.latestValues)&&Jc(l,this.latestValues),l}removeTransform(s){const d=Ie();Xe(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!Sc(h.latestValues))continue;hw(h.latestValues)&&h.updateSnapshot();const u=Ie(),p=h.measurePageBox();Xe(u,p),CN(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return Sc(this.latestValues)&&CN(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!==qe.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=qe.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ie(),this.relativeTargetOrigin=Ie(),B1(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=Ie(),this.targetWithTransforms=Ie()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Ghe(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Xe(this.target,this.layout.layoutBox),mq(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=Ie(),this.relativeTargetOrigin=Ie(),B1(this.relativeTargetOrigin,this.target,y.target),Xe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||hw(this.parent.latestValues)||kq(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===qe.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;che(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=Ie());const{target:f}=s;if(!f){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(IN(this.prevProjectionDelta.x,this.projectionDelta.x),IN(this.prevProjectionDelta.y,this.projectionDelta.y)),D1(this.projectionDelta,this.layoutCorrected,f,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!qN(this.projectionDelta.x,this.prevProjectionDelta.x)||!qN(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=Ie(),f=l?l.source:void 0,g=this.layout?this.layout.source:void 0,m=f!==g,x=this.getStack(),_=!x||x.members.length<=1,v=!!(m&&!_&&this.options.crossfade===!0&&!this.path.some(Hue));this.animationProgress=0;let I;this.mixTargetDelta=b=>{const w=b/1e3;PN(p.x,s.x,w),PN(p.y,s.y,w),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(B1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Tue(this.relativeTarget,this.relativeTargetOrigin,y,w),I&&_ue(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=Ie()),Xe(I,this.relativeTarget)),m&&(this.animationValues=u,mue(u,h,this.latestValues,w,v,_)),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=fe.update(()=>{hL.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Dc(0)),this.currentAnimation=hue(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(bue),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&&Dq(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||Ie();const p=Re(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+p;const y=Re(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+y}Xe(d,l),Jc(d,u),D1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Lue),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&&rI("z",s,h,this.animationValues);for(let u=0;u<iI.length;u++)rI(`rotate${iI[u]}`,s,h,this.animationValues),rI(`skew${iI[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=lL(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=lL(d?.pointerEvents)||""),this.hasProjected&&!Sc(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=Iue(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 W1){if(u[g]===void 0)continue;const{correct:m,applyTo:x,isCSSVariable:_}=W1[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 _?this.options.visualElement.renderState.vars[g]=v:s[g]=v}this.options.layoutId&&(s.pointerEvents=h===this?lL(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(AN),this.root.sharedNodes.clear()}}}function Cue(e){e.updateLayout()}function Nue(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=Re(p);p.min=n[u].min,p.max=p.min+y}):Dq(i,t.layoutBox,n)&&et(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Re(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();D1(s,n,t.layoutBox);const d=Qc();r?D1(d,e.applyTransform(c,!0),t.measuredBox):D1(d,n,t.layoutBox);const l=!Vq(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=Ie();B1(f,t.layoutBox,p.layoutBox);const g=Ie();B1(g,n,y.layoutBox),Pq(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 Sue(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 jue(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function $ue(e){e.clearSnapshot()}function AN(e){e.clearMeasurements()}function zN(e){e.isLayoutDirty=!1}function que(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function VN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Aue(e){e.resolveTargetDelta()}function zue(e){e.calcProjection()}function Vue(e){e.resetSkewAndRotation()}function Pue(e){e.removeLeadSnapshot()}function PN(e,t,n){e.translate=ge(t.translate,0,n),e.scale=ge(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function TN(e,t,n,c){e.min=ge(t.min,n.min,c),e.max=ge(t.max,n.max,c)}function Tue(e,t,n,c){TN(e.x,t.x,n.x,c),TN(e.y,t.y,n.y,c)}function Hue(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Due={duration:.45,ease:[.4,0,.1,1]},HN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),DN=HN("applewebkit/")&&!HN("chrome/")?Math.round:nt;function BN(e){e.min=DN(e.min),e.max=DN(e.max)}function Bue(e){BN(e.x),BN(e.y)}function Dq(e,t,n){return e==="position"||e==="preserve-aspect"&&!Whe($N(t),$N(n),.2)}function Rue(e){return e!==e.root&&e.scroll?.wasRoot}const Fue=Hq({attachResizeListener:(e,t)=>G1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),sI={current:void 0},Bq=Hq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!sI.current){const e=new Fue({});e.mount(window),e.setOptions({layoutScroll:!0}),sI.current=e}return sI.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Eue={pan:{Feature:rue},drag:{Feature:iue,ProjectionNode:Bq,MeasureLayout:qq}};function RN(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&&fe.postRender(()=>r(t,J1(t)))}class Oue extends Rt{mount(){const{current:t}=this.node;t&&(this.unmount=dle(t,(n,c)=>(RN(this.node,c,"Start"),i=>RN(this.node,i,"End"))))}unmount(){}}class Uue 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=Z1(G1(this.node.current,"focus",()=>this.onFocus()),G1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function FN(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&&fe.postRender(()=>r(t,J1(t)))}class Wue extends Rt{mount(){const{current:t}=this.node;t&&(this.unmount=ple(t,(n,c)=>(FN(this.node,c,"Start"),(i,{success:r})=>FN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const gw=new WeakMap,dI=new WeakMap,Gue=e=>{const t=gw.get(e.target);t&&t(e)},Kue=e=>{e.forEach(Gue)};function Zue({root:e,...t}){const n=e||document;dI.has(n)||dI.set(n,{});const c=dI.get(n),i=JSON.stringify(t);return c[i]||(c[i]=new IntersectionObserver(Kue,{root:e,...t})),c[i]}function Xue(e,t,n){const c=Zue(t);return gw.set(e,n),c.observe(e),()=>{gw.delete(e),c.unobserve(e)}}const Yue={some:0,all:1};class Jue 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:Yue[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 Xue(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(Que(t,n))&&this.startObserver()}unmount(){}}function Que({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const epe={inView:{Feature:Jue},tap:{Feature:Wue},focus:{Feature:Uue},hover:{Feature:Oue}},tpe={layout:{ProjectionNode:Bq,MeasureLayout:qq}},ape={...Bhe,...epe,...Eue,...tpe},aC=ahe(ape,khe);function Rq(e){const t=Bt(()=>Dc(e)),{isStatic:n}=k.useContext(CL);if(n){const[,c]=k.useState(e);k.useEffect(()=>t.on("change",c),[])}return t}function Fq(e,t){const n=Rq(t()),c=()=>n.set(t());return c(),bw(()=>{const i=()=>fe.preRender(c,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),bt(c)}}),n}function npe(e){T1.current=[],e();const t=Fq(T1.current,e);return T1.current=void 0,t}function ope(e,t,n,c){if(typeof e=="function")return npe(e);const i=typeof t=="function"?t:kle(t,n,c);return Array.isArray(e)?EN(e,i):EN([e],([r])=>i(r))}function EN(e,t){const n=Bt(()=>[]);return Fq(e,()=>{n.length=0;const c=e.length;for(let i=0;i<c;i++)n[i]=e[i].get();return t(n)})}class cpe{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 ipe=()=>new cpe;function rpe(){return Bt(ipe)}const Eq=k.createContext(null);function spe(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=ge(l.min,l.max,.5);return r===1&&d.layout.max+n>h||r===-1&&d.layout.min+n<h?Mde(e,i,i+r):e}function dpe({children:e,as:t="ul",axis:n="y",onReorder:c,values:i,...r},s){const d=Bt(()=>aC[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(upe)},updateOrder:(p,y,f)=>{if(h.current)return;const g=spe(l,p,y,f);l!==g&&(h.current=!0,c(g.map(hpe).filter(m=>i.indexOf(m)!==-1)))}};return k.useEffect(()=>{h.current=!1}),o.jsx(d,{...r,ref:s,ignoreStrict:!0,children:o.jsx(Eq.Provider,{value:u,children:e})})}const lpe=k.forwardRef(dpe);function hpe(e){return e.value}function upe(e,t){return e.layout.min-t.layout.min}function ON(e,t=0){return Ae(e)?e:Rq(t)}function ppe({children:e,style:t={},value:n,as:c="li",onDrag:i,layout:r=!0,...s},d){const l=Bt(()=>aC[c]),h=k.useContext(Eq),u={x:ON(t.x),y:ON(t.y)},p=ope([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:_}=x;_[y]&&g(n,u[y].get(),_[y]),i&&i(m,x)},onLayoutMeasure:m=>f(n,m),ref:d,ignoreStrict:!0,children:e})}const ype=k.forwardRef(ppe),_L=[o.jsx(V1,{size:18}),o.jsx(zt,{size:18}),o.jsx(A1,{size:18}),o.jsx(Vt,{size:18}),o.jsx(I1,{size:18}),o.jsx(L1,{size:18})],kpe=({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=_L[u%_L.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.padStart(3,"0");h.text=`${y} / ${_}${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(lpe,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>o.jsx(mpe,{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 mpe({value:e,index:t}){const n=rpe(),c=_L[t%_L.length]??null;return o.jsx(ype,{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(s$,{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 fpe(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 gpe(e){return!e||typeof e=="string"&&e.trim()===""}function vpe(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function xpe(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function Mpe(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 _pe(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 Lpe(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 Ipe(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 LL(e,t){const n=fpe(e,t);if(n)return n;if(gpe(e))return{isValid:!0};const c=e.toString();switch(t.type){case"email":{const r=vpe(c);if(r)return r;break}case"url":{const r=xpe(c);if(r)return r;break}case"number":{const r=Mpe(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=_pe(e,t);if(r)return r;break}case"file":{const r=Lpe(e,t);if(r)return r;break}}const i=Ipe(c,t);return i||{isValid:!0}}function Oq(e,t){const n={};let c=!0;for(const i of t){const r=LL(e[i.name],i);r.isValid||(n[i.name]=r.error,c=!1)}return{isValid:c,errors:n}}const bpe="_formContainer_14ads_1",wpe="_headerLine_14ads_17",Cpe="_formTitle_14ads_25",Npe="_formDescription_14ads_30",Spe="_sectionTitle_14ads_37",jpe="_sectionHelp_14ads_44",$pe="_fieldHelp_14ads_50",qpe="_gridContainer_14ads_58",Ape="_fieldGridItem_14ads_70",zpe="_sectionFull_14ads_105",Vpe="_formFooter_14ads_110",Ppe="_footerLeft_14ads_118",Tpe="_footerRight_14ads_119",Hpe="_cancelLink_14ads_125",Dpe="_submitButton_14ads_136",Bpe="_fieldLabel_14ads_148",Rpe="_inputWrapper_14ads_163",Fpe="_inputInner_14ads_187",Epe="_hasPrefix_14ads_196",Ope="_inputBase_14ads_196",Upe="_iconPrefix_14ads_292",Wpe="_iconSuffix_14ads_293",Gpe="_passwordToggle_14ads_319",Kpe="_fieldError_14ads_365",Zpe="_fieldInvalid_14ads_372",me={formContainer:bpe,headerLine:wpe,formTitle:Cpe,formDescription:Npe,sectionTitle:Spe,sectionHelp:jpe,fieldHelp:$pe,gridContainer:qpe,fieldGridItem:Ape,sectionFull:zpe,formFooter:Vpe,footerLeft:Ppe,footerRight:Tpe,cancelLink:Hpe,submitButton:Dpe,fieldLabel:Bpe,inputWrapper:Rpe,inputInner:Fpe,hasPrefix:Epe,inputBase:Ope,iconPrefix:Upe,iconSuffix:Wpe,passwordToggle:Gpe,fieldError:Kpe,fieldInvalid:Zpe},Uq=({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:me.inputWrapper,children:[o.jsx("label",{className:`${me.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),o.jsxs("div",{className:`${me.inputInner} ${p&&y==="prefix"?me.hasPrefix:""}`,children:[p&&y==="prefix"&&o.jsx("span",{className:me.iconPrefix,children:o.jsx(p,{size:16})}),o.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${me.inputBase} ${i?me.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:me.passwordToggle,onClick:()=>d(g=>!g),children:s?o.jsx(S1,{size:16}):o.jsx(j1,{size:16})}),p&&y==="suffix"&&!l&&o.jsx("span",{className:me.iconSuffix,children:o.jsx(p,{size:16})})]}),r&&i&&o.jsx("span",{className:me.fieldError,children:i})]})},Xpe="_fieldGroup_yb3zi_7",Ype="_fieldLabel_yb3zi_11",Jpe="_required_yb3zi_17",Qpe="_fieldInput_yb3zi_22",eye="_fieldInvalid_yb3zi_40",tye="_fieldValid_yb3zi_44",aye="_fieldError_yb3zi_48",nye="_radioGroup_yb3zi_57",Pt={fieldGroup:Xpe,fieldLabel:Ype,required:Jpe,fieldInput:Qpe,fieldInvalid:eye,fieldValid:tye,fieldError:aye,radioGroup:nye},$L=({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})]})},Wq=({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($L,{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})})},oye="_wrapper_117u4_1",cye="_wrapperInvalid_117u4_15",iye="_nativeSelect_117u4_19",rye="_display_117u4_30",sye="_topLabel_117u4_37",dye="_valueLine_117u4_45",lye="_valuePlaceholder_117u4_53",hye="_valueActive_117u4_57",uye="_caret_117u4_61",pye="_error_117u4_75",yye="_optionStyle_117u4_89",Ye={wrapper:oye,wrapperInvalid:cye,nativeSelect:iye,display:rye,topLabel:sye,valueLine:dye,valuePlaceholder:lye,valueActive:hye,caret:uye,error:pye,optionStyle:yye},nC=({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})]})},Gq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx($L,{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})]})}),Kq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx($L,{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))})}),kye="_fileInputContainer_r2guc_3",mye="_customFileInput_r2guc_8",fye="_fileInputLabel_r2guc_12",gye="_dragOver_r2guc_39",vye="_uploadIcon_r2guc_44",xye="_uploadText_r2guc_50",Mye="_uploadHint_r2guc_56",_ye="_fileList_r2guc_60",Lye="_fileListTitle_r2guc_69",Iye="_fileItem_r2guc_80",bye="_fileIcon_r2guc_96",wye="_fileName_r2guc_102",Cye="_fileSize_r2guc_108",Nye="_removeButton_r2guc_114",Sye="_errorText_r2guc_129",Pe={fileInputContainer:kye,customFileInput:mye,fileInputLabel:fye,dragOver:gye,uploadIcon:vye,uploadText:xye,uploadHint:Mye,fileList:_ye,fileListTitle:Lye,fileItem:Iye,fileIcon:bye,fileName:wye,fileSize:Cye,removeButton:Nye,errorText:Sye},Zq=({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 _=Array.from(t);_.splice(x,1);const v=new DataTransfer;_.forEach(I=>v.items.add(I)),n(v.files)},m=x=>{if(x===0)return"0 Bytes";const _=1024,v=["Bytes","KB","MB","GB"],I=Math.floor(Math.log(x)/Math.log(_));return parseFloat((x/Math.pow(_,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,_)=>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(_)},"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"})]})})]},_))})]}),r&&i&&o.jsx("div",{className:Pe.errorText,children:i})]})},jye="_container_ecah4_2",$ye="_label_ecah4_6",qye="_requiredIndicator_ecah4_13",Aye="_input_ecah4_18",zye="_inputError_ecah4_49",Vye="_errorMessage_ecah4_58",Wc={container:jye,label:$ye,requiredIndicator:qye,input:Aye,inputError:zye,errorMessage:Vye},Xq=({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})]})},Pye="_rangeContainer_cyqk3_3",Tye={rangeContainer:Pye},Yq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:`mb-3 ${Tye.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})]}),Hye="_colorPickerContainer_1wxgj_2",Dye="_colorInput_1wxgj_19",Bye="_colorValue_1wxgj_39",lI={colorPickerContainer:Hye,colorInput:Dye,colorValue:Bye},Jq=({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:lI.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:lI.colorInput}),o.jsx("span",{className:lI.colorValue,children:t})]}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),Qq=({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(Zq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(s.includes(e.type))return o.jsx(Xq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="range")return o.jsx(Yq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="color")return o.jsx(Jq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});switch(e.type){case"textarea":return o.jsx(Wq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"select":return o.jsx(nC,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"checkbox":return o.jsx(Gq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"radio":return o.jsx(Kq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});default:return o.jsx(Uq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})}};var hI,UN;function Rye(){if(UN)return hI;UN=1;function e(){this.__data__=[],this.size=0}return hI=e,hI}var uI,WN;function eA(){if(WN)return uI;WN=1;function e(t,n){return t===n||t!==t&&n!==n}return uI=e,uI}var pI,GN;function qL(){if(GN)return pI;GN=1;var e=eA();function t(n,c){for(var i=n.length;i--;)if(e(n[i][0],c))return i;return-1}return pI=t,pI}var yI,KN;function Fye(){if(KN)return yI;KN=1;var e=qL(),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 yI=c,yI}var kI,ZN;function Eye(){if(ZN)return kI;ZN=1;var e=qL();function t(n){var c=this.__data__,i=e(c,n);return i<0?void 0:c[i][1]}return kI=t,kI}var mI,XN;function Oye(){if(XN)return mI;XN=1;var e=qL();function t(n){return e(this.__data__,n)>-1}return mI=t,mI}var fI,YN;function Uye(){if(YN)return fI;YN=1;var e=qL();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 fI=t,fI}var gI,JN;function AL(){if(JN)return gI;JN=1;var e=Rye(),t=Fye(),n=Eye(),c=Oye(),i=Uye();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,gI=r,gI}var vI,QN;function Wye(){if(QN)return vI;QN=1;var e=AL();function t(){this.__data__=new e,this.size=0}return vI=t,vI}var xI,eS;function Gye(){if(eS)return xI;eS=1;function e(t){var n=this.__data__,c=n.delete(t);return this.size=n.size,c}return xI=e,xI}var MI,tS;function Kye(){if(tS)return MI;tS=1;function e(t){return this.__data__.get(t)}return MI=e,MI}var _I,aS;function Zye(){if(aS)return _I;aS=1;function e(t){return this.__data__.has(t)}return _I=e,_I}var LI,nS;function tA(){if(nS)return LI;nS=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return LI=e,LI}var II,oS;function wt(){if(oS)return II;oS=1;var e=tA(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return II=n,II}var bI,cS;function oC(){if(cS)return bI;cS=1;var e=wt(),t=e.Symbol;return bI=t,bI}var wI,iS;function Xye(){if(iS)return wI;iS=1;var e=oC(),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 wI=r,wI}var CI,rS;function Yye(){if(rS)return CI;rS=1;var e=Object.prototype,t=e.toString;function n(c){return t.call(c)}return CI=n,CI}var NI,sS;function zL(){if(sS)return NI;sS=1;var e=oC(),t=Xye(),n=Yye(),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 NI=s,NI}var SI,dS;function aA(){if(dS)return SI;dS=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return SI=e,SI}var jI,lS;function nA(){if(lS)return jI;lS=1;var e=zL(),t=aA(),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 jI=s,jI}var $I,hS;function Jye(){if(hS)return $I;hS=1;var e=wt(),t=e["__core-js_shared__"];return $I=t,$I}var qI,uS;function Qye(){if(uS)return qI;uS=1;var e=Jye(),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 qI=n,qI}var AI,pS;function oA(){if(pS)return AI;pS=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 AI=n,AI}var zI,yS;function e4e(){if(yS)return zI;yS=1;var e=nA(),t=Qye(),n=aA(),c=oA(),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 zI=p,zI}var VI,kS;function t4e(){if(kS)return VI;kS=1;function e(t,n){return t?.[n]}return VI=e,VI}var PI,mS;function h1(){if(mS)return PI;mS=1;var e=e4e(),t=t4e();function n(c,i){var r=t(c,i);return e(r)?r:void 0}return PI=n,PI}var TI,fS;function cC(){if(fS)return TI;fS=1;var e=h1(),t=wt(),n=e(t,"Map");return TI=n,TI}var HI,gS;function VL(){if(gS)return HI;gS=1;var e=h1(),t=e(Object,"create");return HI=t,HI}var DI,vS;function a4e(){if(vS)return DI;vS=1;var e=VL();function t(){this.__data__=e?e(null):{},this.size=0}return DI=t,DI}var BI,xS;function n4e(){if(xS)return BI;xS=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return BI=e,BI}var RI,MS;function o4e(){if(MS)return RI;MS=1;var e=VL(),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 RI=i,RI}var FI,_S;function c4e(){if(_S)return FI;_S=1;var e=VL(),t=Object.prototype,n=t.hasOwnProperty;function c(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return FI=c,FI}var EI,LS;function i4e(){if(LS)return EI;LS=1;var e=VL(),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 EI=n,EI}var OI,IS;function r4e(){if(IS)return OI;IS=1;var e=a4e(),t=n4e(),n=o4e(),c=c4e(),i=i4e();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,OI=r,OI}var UI,bS;function s4e(){if(bS)return UI;bS=1;var e=r4e(),t=AL(),n=cC();function c(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return UI=c,UI}var WI,wS;function d4e(){if(wS)return WI;wS=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return WI=e,WI}var GI,CS;function PL(){if(CS)return GI;CS=1;var e=d4e();function t(n,c){var i=n.__data__;return e(c)?i[typeof c=="string"?"string":"hash"]:i.map}return GI=t,GI}var KI,NS;function l4e(){if(NS)return KI;NS=1;var e=PL();function t(n){var c=e(this,n).delete(n);return this.size-=c?1:0,c}return KI=t,KI}var ZI,SS;function h4e(){if(SS)return ZI;SS=1;var e=PL();function t(n){return e(this,n).get(n)}return ZI=t,ZI}var XI,jS;function u4e(){if(jS)return XI;jS=1;var e=PL();function t(n){return e(this,n).has(n)}return XI=t,XI}var YI,$S;function p4e(){if($S)return YI;$S=1;var e=PL();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 YI=t,YI}var JI,qS;function cA(){if(qS)return JI;qS=1;var e=s4e(),t=l4e(),n=h4e(),c=u4e(),i=p4e();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,JI=r,JI}var QI,AS;function y4e(){if(AS)return QI;AS=1;var e=AL(),t=cC(),n=cA(),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 QI=i,QI}var eb,zS;function k4e(){if(zS)return eb;zS=1;var e=AL(),t=Wye(),n=Gye(),c=Kye(),i=Zye(),r=y4e();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,eb=s,eb}var tb,VS;function m4e(){if(VS)return tb;VS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return tb=t,tb}var ab,PS;function f4e(){if(PS)return ab;PS=1;function e(t){return this.__data__.has(t)}return ab=e,ab}var nb,TS;function g4e(){if(TS)return nb;TS=1;var e=cA(),t=m4e(),n=f4e();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,nb=c,nb}var ob,HS;function v4e(){if(HS)return ob;HS=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 ob=e,ob}var cb,DS;function x4e(){if(DS)return cb;DS=1;function e(t,n){return t.has(n)}return cb=e,cb}var ib,BS;function iA(){if(BS)return ib;BS=1;var e=g4e(),t=v4e(),n=x4e(),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 _=-1,v=!0,I=l&i?new e:void 0;for(p.set(s,d),p.set(d,s);++_<f;){var b=s[_],w=d[_];if(h)var C=y?h(w,b,_,d,s,p):h(b,w,_,s,d,p);if(C!==void 0){if(C)continue;v=!1;break}if(I){if(!t(d,function(M,L){if(!n(I,L)&&(b===M||u(b,M,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 ib=r,ib}var rb,RS;function M4e(){if(RS)return rb;RS=1;var e=wt(),t=e.Uint8Array;return rb=t,rb}var sb,FS;function _4e(){if(FS)return sb;FS=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i,r){c[++n]=[r,i]}),c}return sb=e,sb}var db,ES;function L4e(){if(ES)return db;ES=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i){c[++n]=i}),c}return db=e,db}var lb,OS;function I4e(){if(OS)return lb;OS=1;var e=oC(),t=M4e(),n=eA(),c=iA(),i=_4e(),r=L4e(),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]",_="[object ArrayBuffer]",v="[object DataView]",I=e?e.prototype:void 0,b=I?I.valueOf:void 0;function w(C,M,L,j,N,S,q){switch(L){case v:if(C.byteLength!=M.byteLength||C.byteOffset!=M.byteOffset)return!1;C=C.buffer,M=M.buffer;case _:return!(C.byteLength!=M.byteLength||!S(new t(C),new t(M)));case l:case h:case y:return n(+C,+M);case u:return C.name==M.name&&C.message==M.message;case f:case m:return C==M+"";case p:var B=i;case g:var H=j&s;if(B||(B=r),C.size!=M.size&&!H)return!1;var z=q.get(C);if(z)return z==M;j|=d,q.set(C,M);var A=c(B(C),B(M),j,N,S,q);return q.delete(C),A;case x:if(b)return b.call(C)==b.call(M)}return!1}return lb=w,lb}var hb,US;function b4e(){if(US)return hb;US=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 hb=e,hb}var ub,WS;function iC(){if(WS)return ub;WS=1;var e=Array.isArray;return ub=e,ub}var pb,GS;function w4e(){if(GS)return pb;GS=1;var e=b4e(),t=iC();function n(c,i,r){var s=i(c);return t(c)?s:e(s,r(c))}return pb=n,pb}var yb,KS;function C4e(){if(KS)return yb;KS=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 yb=e,yb}var kb,ZS;function N4e(){if(ZS)return kb;ZS=1;function e(){return[]}return kb=e,kb}var mb,XS;function S4e(){if(XS)return mb;XS=1;var e=C4e(),t=N4e(),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 mb=r,mb}var fb,YS;function j4e(){if(YS)return fb;YS=1;function e(t,n){for(var c=-1,i=Array(t);++c<t;)i[c]=n(c);return i}return fb=e,fb}var gb,JS;function TL(){if(JS)return gb;JS=1;function e(t){return t!=null&&typeof t=="object"}return gb=e,gb}var vb,QS;function $4e(){if(QS)return vb;QS=1;var e=zL(),t=TL(),n="[object Arguments]";function c(i){return t(i)&&e(i)==n}return vb=c,vb}var xb,ej;function q4e(){if(ej)return xb;ej=1;var e=$4e(),t=TL(),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 xb=r,xb}var M1={exports:{}},Mb,tj;function A4e(){if(tj)return Mb;tj=1;function e(){return!1}return Mb=e,Mb}M1.exports;var aj;function rA(){return aj||(aj=1,function(e,t){var n=wt(),c=A4e(),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}(M1,M1.exports)),M1.exports}var _b,nj;function z4e(){if(nj)return _b;nj=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 _b=n,_b}var Lb,oj;function sA(){if(oj)return Lb;oj=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return Lb=t,Lb}var Ib,cj;function V4e(){if(cj)return Ib;cj=1;var e=zL(),t=sA(),n=TL(),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]",_="[object DataView]",v="[object Float32Array]",I="[object Float64Array]",b="[object Int8Array]",w="[object Int16Array]",C="[object Int32Array]",M="[object Uint8Array]",L="[object Uint8ClampedArray]",j="[object Uint16Array]",N="[object Uint32Array]",S={};S[v]=S[I]=S[b]=S[w]=S[C]=S[M]=S[L]=S[j]=S[N]=!0,S[c]=S[i]=S[x]=S[r]=S[_]=S[s]=S[d]=S[l]=S[h]=S[u]=S[p]=S[y]=S[f]=S[g]=S[m]=!1;function q(B){return n(B)&&t(B.length)&&!!S[e(B)]}return Ib=q,Ib}var bb,ij;function P4e(){if(ij)return bb;ij=1;function e(t){return function(n){return t(n)}}return bb=e,bb}var _1={exports:{}};_1.exports;var rj;function T4e(){return rj||(rj=1,function(e,t){var n=tA(),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}(_1,_1.exports)),_1.exports}var wb,sj;function dA(){if(sj)return wb;sj=1;var e=V4e(),t=P4e(),n=T4e(),c=n&&n.isTypedArray,i=c?t(c):e;return wb=i,wb}var Cb,dj;function H4e(){if(dj)return Cb;dj=1;var e=j4e(),t=q4e(),n=iC(),c=rA(),i=z4e(),r=dA(),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):[],_=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,_)))&&x.push(v);return x}return Cb=l,Cb}var Nb,lj;function D4e(){if(lj)return Nb;lj=1;var e=Object.prototype;function t(n){var c=n&&n.constructor,i=typeof c=="function"&&c.prototype||e;return n===i}return Nb=t,Nb}var Sb,hj;function B4e(){if(hj)return Sb;hj=1;function e(t,n){return function(c){return t(n(c))}}return Sb=e,Sb}var jb,uj;function R4e(){if(uj)return jb;uj=1;var e=B4e(),t=e(Object.keys,Object);return jb=t,jb}var $b,pj;function F4e(){if(pj)return $b;pj=1;var e=D4e(),t=R4e(),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 $b=i,$b}var qb,yj;function E4e(){if(yj)return qb;yj=1;var e=nA(),t=sA();function n(c){return c!=null&&t(c.length)&&!e(c)}return qb=n,qb}var Ab,kj;function O4e(){if(kj)return Ab;kj=1;var e=H4e(),t=F4e(),n=E4e();function c(i){return n(i)?e(i):t(i)}return Ab=c,Ab}var zb,mj;function U4e(){if(mj)return zb;mj=1;var e=w4e(),t=S4e(),n=O4e();function c(i){return e(i,n,t)}return zb=c,zb}var Vb,fj;function W4e(){if(fj)return Vb;fj=1;var e=U4e(),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 _=y[x];if(!(p?_ in s:c.call(s,_)))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;){_=y[x];var C=r[_],M=s[_];if(l)var L=p?l(M,C,_,s,r,u):l(C,M,_,r,s,u);if(!(L===void 0?C===M||h(C,M,d,l,u):L)){b=!1;break}w||(w=_=="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 Vb=i,Vb}var Pb,gj;function G4e(){if(gj)return Pb;gj=1;var e=h1(),t=wt(),n=e(t,"DataView");return Pb=n,Pb}var Tb,vj;function K4e(){if(vj)return Tb;vj=1;var e=h1(),t=wt(),n=e(t,"Promise");return Tb=n,Tb}var Hb,xj;function Z4e(){if(xj)return Hb;xj=1;var e=h1(),t=wt(),n=e(t,"Set");return Hb=n,Hb}var Db,Mj;function X4e(){if(Mj)return Db;Mj=1;var e=h1(),t=wt(),n=e(t,"WeakMap");return Db=n,Db}var Bb,_j;function Y4e(){if(_j)return Bb;_j=1;var e=G4e(),t=cC(),n=K4e(),c=Z4e(),i=X4e(),r=zL(),s=oA(),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),_=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 _:return p}return b}),Bb=v,Bb}var Rb,Lj;function J4e(){if(Lj)return Rb;Lj=1;var e=k4e(),t=iA(),n=I4e(),c=W4e(),i=Y4e(),r=iC(),s=rA(),d=dA(),l=1,h="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,f=y.hasOwnProperty;function g(m,x,_,v,I,b){var w=r(m),C=r(x),M=w?u:i(m),L=C?u:i(x);M=M==h?p:M,L=L==h?p:L;var j=M==p,N=L==p,S=M==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,_,v,I,b):n(m,x,M,_,v,I,b);if(!(_&l)){var q=j&&f.call(m,"__wrapped__"),B=N&&f.call(x,"__wrapped__");if(q||B){var H=q?m.value():m,z=B?x.value():x;return b||(b=new e),I(H,z,_,v,b)}}return S?(b||(b=new e),c(m,x,_,v,I,b)):!1}return Rb=g,Rb}var Fb,Ij;function Q4e(){if(Ij)return Fb;Ij=1;var e=J4e(),t=TL();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 Fb=n,Fb}var Eb,bj;function e5e(){if(bj)return Eb;bj=1;var e=Q4e();function t(n,c){return e(n,c)}return Eb=t,Eb}var t5e=e5e();const a5e=a.getDefaultExportFromCjs(t5e),n5e=({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),_=k.useRef(t);k.useEffect(()=>{a5e(_.current,t)||(u(t),_.current=t)},[t]);const v=(L,j)=>{const N={...h,[L]:j};if(u(N),f[L]){const S=e.fields.find(q=>q.name===L);if(S){const q=LL(j,S);y(B=>({...B,[L]:q.isValid?"":q.error}))}}},I=L=>{if(!f[L]){g(N=>({...N,[L]:!0}));const j=e.fields.find(N=>N.name===L);if(j){const N=LL(h[L],j);y(S=>({...S,[L]:N.isValid?"":N.error}))}}},b=async L=>{L.preventDefault(),x(!0);const j=e.fields.reduce((S,q)=>(q.type!=="section"&&(S[q.name]=!0),S),{});g(j);const N=Oq(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(q=>({...q,__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,M=e.columns&&e.columns>0?Math.floor(e.columns):12;return o.jsxs("div",{className:me.formContainer,children:[o.jsx("div",{className:me.headerLine,children:o.jsx("h2",{className:me.formTitle,children:e.title})}),e.description&&o.jsx("p",{className:me.formDescription,children:e.description}),p.__global&&o.jsx("div",{className:`alert alert-danger ${me.globalError}`,children:p.__global}),o.jsxs("form",{onSubmit:b,children:[o.jsx("div",{className:me.gridContainer,style:{gridTemplateColumns:`repeat(${M}, minmax(0, 1fr))`},children:e.fields.map(L=>{if(L.type==="section")return o.jsxs("div",{className:me.sectionFull,children:[o.jsx("h5",{className:me.sectionTitle,children:L.label}),L.help&&o.jsx("p",{className:me.sectionHelp,children:L.help})]},L.name);const N={gridColumn:`span ${Math.max(1,Math.min(M,L.gridCol??M))}`};return o.jsxs("div",{className:me.fieldGridItem,style:N,children:[o.jsx(Qq,{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:me.fieldHelp,children:L.help})]},L.name)})}),o.jsxs("div",{className:me.formFooter,children:[o.jsx("div",{className:me.footerLeft,children:s&&o.jsxs("button",{type:"button",className:me.cancelLink,onClick:s,children:[w&&o.jsx(w,{size:16,className:"me-2"})," ",d]})}),o.jsx("div",{className:me.footerRight,children:o.jsx(uL,{type:"submit",variant:"primary",size:"md",className:me.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 o5e(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const wj=new Map,vw=({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=wj.get(e);u||(u=fetch(e).then(m=>{if(!m.ok)throw new Error(`Failed to load ${e}`);return m.text()}),wj.set(e,u));let p=await u;const y=t?.width||`${n}px`,f=t?.height||`${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||`${n}px`,u=t?.height||`${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},c5e="_container_1gljv_85",i5e="_tableWrapper_1gljv_111",r5e="_tableControls_1gljv_117",s5e="_controlsRight_1gljv_128",d5e="_limitedRows_1gljv_151",l5e="_table_1gljv_111",h5e="_headerCell_1gljv_206",u5e="_headerContent_1gljv_220",p5e="_headerWords_1gljv_229",y5e="_headerWord_1gljv_229",k5e="_cellContent_1gljv_276",m5e="_alignLeft_1gljv_286",f5e="_alignCenter_1gljv_290",g5e="_alignRight_1gljv_294",v5e="_tableCell_1gljv_298",x5e="_tableRow_1gljv_308",M5e="_emptyRow_1gljv_385",_5e="_toggleFiltersButton_1gljv_393",L5e="_toggleSortButton_1gljv_394",I5e="_buttonTextCompact_1gljv_415",b5e="_uppercaseSmall_1gljv_450",w5e="_filtersPanel_1gljv_463",C5e="_filtersPanelInline_1gljv_481",N5e="_filtersPanelHorizontal_1gljv_492",S5e="_filtersRow_1gljv_492",j5e="_filtersActionsHorizontal_1gljv_525",$5e="_filterItemInline_1gljv_542",q5e="_filterLabel_1gljv_571",A5e="_filterInput_1gljv_576",z5e="_filterSelect_1gljv_577",V5e="_operatorSelect_1gljv_578",P5e="_operatorInput_1gljv_579",T5e="_activeFilterTag_1gljv_597",H5e="_actionsGroup_1gljv_609",D5e="_applyButton_1gljv_615",B5e="_cancelButton_1gljv_625",R5e="_columnSorterContainer_1gljv_649",F5e="_sorterControls_1gljv_654",E5e="_sortDropdownWrapper_1gljv_659",O5e="_sortDropdown_1gljv_659",U5e="_sortDropdownHeader_1gljv_679",W5e="_closeButton_1gljv_688",G5e="_sortDropdownContent_1gljv_703",K5e="_sortDropdownItem_1gljv_709",Z5e="_sortDirectionButtons_1gljv_734",X5e="_sortDirectionButton_1gljv_734",Y5e="_activeSort_1gljv_757",J5e="_sortActions_1gljv_764",Q5e="_paginationButton_1gljv_842",eke="_pageSizeSelect_1gljv_844",tke="_topPagination_1gljv_853",ake="_paginationContainer_1gljv_861",nke="_leftGroup_1gljv_874",oke="_pageSizeControls_1gljv_882",cke="_paginationInfo_1gljv_908",ike="_paginationControls_1gljv_916",rke="_disabledButton_1gljv_947",ske="_activeButton_1gljv_952",dke="_navigationButton_1gljv_962",lke="_operatorFilterContainer_1gljv_1010",hke="_rangeSeparator_1gljv_1016",uke="_activeFiltersSection_1gljv_1179",pke="_activeFiltersRow_1gljv_1184",yke="_activeFiltersList_1gljv_1192",kke="_clearAllButton_1gljv_1200",mke="_removeFilterButton_1gljv_1221",fke="_sortIndicator_1gljv_1272",gke="_active_1gljv_349",vke="_clearSortButton_1gljv_1371",xke="_loaderSpinner_1gljv_2743",Mke="_loaderSpinnerSmall_1gljv_2755",_ke="_paginationLoading_1gljv_2772",Lke="_loadingButton_1gljv_2780",Ike="_loadingIndicator_1gljv_2791",T={container:c5e,tableWrapper:i5e,tableControls:r5e,controlsRight:s5e,limitedRows:d5e,table:l5e,headerCell:h5e,headerContent:u5e,headerWords:p5e,headerWord:y5e,cellContent:k5e,alignLeft:m5e,alignCenter:f5e,alignRight:g5e,tableCell:v5e,tableRow:x5e,emptyRow:M5e,toggleFiltersButton:_5e,toggleSortButton:L5e,buttonTextCompact:I5e,uppercaseSmall:b5e,filtersPanel:w5e,filtersPanelInline:C5e,filtersPanelHorizontal:N5e,filtersRow:S5e,filtersActionsHorizontal:j5e,filterItemInline:$5e,filterLabel:q5e,filterInput:A5e,filterSelect:z5e,operatorSelect:V5e,operatorInput:P5e,activeFilterTag:T5e,actionsGroup:H5e,applyButton:D5e,cancelButton:B5e,columnSorterContainer:R5e,sorterControls:F5e,sortDropdownWrapper:E5e,sortDropdown:O5e,sortDropdownHeader:U5e,closeButton:W5e,sortDropdownContent:G5e,sortDropdownItem:K5e,sortDirectionButtons:Z5e,sortDirectionButton:X5e,activeSort:Y5e,sortActions:J5e,paginationButton:Q5e,pageSizeSelect:eke,topPagination:tke,paginationContainer:ake,leftGroup:nke,pageSizeControls:oke,paginationInfo:cke,paginationControls:ike,disabledButton:rke,activeButton:ske,navigationButton:dke,operatorFilterContainer:lke,rangeSeparator:hke,activeFiltersSection:uke,activeFiltersRow:pke,activeFiltersList:yke,clearAllButton:kke,removeFilterButton:mke,sortIndicator:fke,active:gke,clearSortButton:vke,loaderSpinner:xke,loaderSpinnerSmall:Mke,paginationLoading:_ke,loadingButton:Lke,loadingIndicator:Ike},bke=({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:T.filterSelect,children:[o.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),o.jsx("option",{value:"true",children:"Oui"}),o.jsx("option",{value:"false",children:"Non"})]}),wke=({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:T.filterInput}),Cke=({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:T.filterMultiSelect,children:i.map((d,l)=>o.jsx("option",{value:String(d.value),children:d.label},l))})},Cj=({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:T.filterInput})},Nke=({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:T.filterInput,children:[o.jsx("option",{value:"",children:"Select..."}),i.map(h=>o.jsx("option",{value:h.value,children:h.label},h.value))]})},Ske=({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:T.filterInput})},jke=({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:T.operatorFilterContainer,children:[o.jsxs("select",{value:i,onChange:l,disabled:c,className:T.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:T.operatorInput})]})},$ke=({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:T.dateRangeContainer,children:[o.jsx("input",{type:"date",value:c.start||"",onChange:i,disabled:n,className:T.filterInput}),o.jsx("span",{className:T.rangeSeparator,children:"→"}),o.jsx("input",{type:"date",value:c.end||"",onChange:r,disabled:n,className:T.filterInput})]})},qke=({config:e,value:t,onChange:n,disabled:c})=>{switch(e.type){case"text":case"search":return o.jsx(Ske,{config:e,value:t,onChange:n,disabled:c});case"number":return o.jsx(Cj,{config:e,value:t,onChange:n,disabled:c});case"range":return o.jsx(Cj,{config:e,value:t,onChange:n,disabled:c});case"select":return o.jsx(Nke,{config:e,value:t,onChange:n,disabled:c});case"operator":return o.jsx(jke,{config:e,value:t,onChange:n,disabled:c});case"multiselect":return o.jsx(Cke,{config:e,value:t,onChange:n,disabled:c});case"date":return o.jsx(wke,{config:e,value:t,onChange:n,disabled:c});case"daterange":return o.jsx($ke,{config:e,value:t??{start:"",end:""},onChange:n,disabled:c});case"boolean":return o.jsx(bke,{config:e,value:t,onChange:n,disabled:c});default:return o.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},lA=({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,_]of Object.entries(m)){const v=e.find(w=>w.id===x);if(!v)continue;let I=_;try{typeof _=="function"&&(I=await _(m)),typeof v.executeOnApply=="function"&&(I=await v.executeOnApply(I,m))}catch{continue}if(v.type==="daterange"){const w=I?.start??"",C=I?.end??"",M=typeof w=="string"?w.trim()==="":!w,L=typeof C=="string"?C.trim()==="":!C;if(M&&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}},Ake=(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 hA(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(_=>{const v=x.data[_.id];return v==null?!1:String(v).toLowerCase().includes(l)}))),s.length>0&&(m=m.filter(x=>s.every(_=>{try{const v=x.data[_.id];return Ake(v,_)}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,_)=>{const v=x.data[m],I=_.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 uA=({value:e})=>e,pA=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),yA=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),kA=({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)},mA=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},fA=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),gA=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),vA=({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"})),xw={renderers:{text:uA,email:pA,link:yA,badge:kA,date:mA,number:fA,currency:gA,image:vA},icons:{sortAsc:k.createElement(Ac,{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})}},zke=(e,t)=>{xw.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),xw.renderers[e]=t},Vke=({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,_]=k.useState(!1),v=typeof s=="boolean"?s:x,{appliedFilters:I,tempFilters:b,updateFilter:w,applyFilters:C,clearAllFilters:M}=lA({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 z=L.current.getBoundingClientRect().height;h?.(z)}else h?.(0)},[v,e,b,h]);const N=()=>{typeof s=="boolean"?d?.(!s):_(z=>{const A=!z;return d?.(A),A})},S=()=>e.map(z=>{const A=b?.[z.id];return A==null||typeof A=="string"&&A.trim()===""?null:{id:z.id,label:z.label,value:A}}).filter(Boolean),q=async()=>{let z;try{z=await C()}catch{z=void 0}let A=[];z&&Array.isArray(z)&&z.length>0?A=z:I&&I.length>0?A=I:A=S(),n?.(A),c?.(A)},B=()=>{d?.(!1),typeof s!="boolean"&&_(!1)},H=()=>{M(),n?.([]),c?.([])};return k.useEffect(()=>{const z=$=>{v&&j.current&&(j.current.contains($.target)||(d?.(!1),typeof s!="boolean"&&_(!1)))},A=$=>{$.key==="Escape"&&v&&(d?.(!1),typeof s!="boolean"&&_(!1))};return v&&(document.addEventListener("pointerdown",z),document.addEventListener("keydown",A)),()=>{document.removeEventListener("pointerdown",z),document.removeEventListener("keydown",A)}},[v,s,d]),o.jsxs("div",{className:T.advancedFiltersContainer,ref:j,children:[o.jsxs("button",{className:`${T.toggleFiltersButton} ${I.length>0?T.active:""} ${v?T.toggleFiltersButtonOpen:""} ${m?T.loadingButton:""}`,onClick:N,"aria-expanded":v,"aria-controls":"advanced-filters-panel",type:"button",disabled:m,children:[m?o.jsx("span",{className:T.loaderSpinnerSmall}):o.jsx(At,{size:14}),o.jsx("span",{className:T.buttonTextCompact,children:u}),I.length>0&&!m&&o.jsx("span",{className:T.filterCountBadge,"aria-hidden":!0,children:I.length}),m&&o.jsx("span",{className:T.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),v&&o.jsxs("div",{id:"advanced-filters-panel",ref:L,className:`${T.filtersPanel} ${l==="top"?`${T.filtersPanelInline} ${T.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[o.jsx("div",{className:T.filtersRow,children:e.map(z=>o.jsxs("div",{className:`${T.filterItem} ${T.filterItemInline}`,children:[o.jsxs("label",{className:T.filterLabel,children:[z.label,z.required&&o.jsx("span",{className:T.required,children:"*"})]}),o.jsx(qke,{config:z,value:b[z.id],onChange:A=>w(z.id,A),disabled:z.disabled})]},z.id))}),o.jsxs("div",{className:T.filtersActionsHorizontal,children:[o.jsx("div",{className:T.activeFiltersSection,children:I.length>0&&o.jsxs("div",{className:T.activeFiltersRow,children:[o.jsx("span",{className:T.activeLabelCompact,children:"Actifs :"}),o.jsx("div",{className:T.activeFiltersList,children:I.map(z=>o.jsxs("div",{className:T.activeFilterTag,children:[z.label??z.id,o.jsx("button",{className:T.removeFilterButton,onClick:()=>w(z.id,void 0),"aria-label":`Supprimer ${z.id}`,type:"button",children:"×"})]},z.id))}),o.jsxs("button",{className:T.clearAllButton,onClick:H,type:"button",children:[o.jsx(at,{size:12})," ",f]})]})}),o.jsxs("div",{className:T.actionsGroup,children:[o.jsx("button",{className:T.cancelButton,onClick:B,type:"button",disabled:m,children:y}),o.jsx("button",{className:`${T.applyButton} ${m?T.loadingButton:""}`,onClick:q,type:"button",disabled:g||m,"aria-disabled":g||m,children:m?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:T.loaderSpinnerSmall}),o.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},Nj=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},Pke=({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 _=x.target;_&&!l.current.contains(_)&&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:T.columnSorterContainer,ref:l,children:o.jsx("div",{className:T.sorterControls,children:d.length>0&&o.jsxs("div",{className:T.sortDropdownWrapper,ref:l,children:[o.jsxs("button",{className:`${T.toggleSortButton} ${r?T.toggleSortButtonOpen:""} ${h?T.active:""} ${i?T.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?o.jsx("span",{className:T.loaderSpinnerSmall}):o.jsx(a1,{size:14}),o.jsx("span",{className:`${T.buttonTextCompact} ${Nj(c)?T.uppercaseSmall:""}`,children:c}),h&&!i&&o.jsx("div",{className:T.sortIndicator,children:t?.direction==="asc"?o.jsx(Ac,{size:12}):o.jsx(Ht,{size:12})})]}),r&&o.jsxs("div",{className:`${T.sortDropdown} ${T.sortDropdownInline}`,role:"menu",children:[o.jsxs("div",{className:T.sortDropdownHeader,children:[o.jsx("span",{children:"Trier par:"}),o.jsx("button",{className:T.closeButton,onClick:f,"aria-label":"Fermer",type:"button",children:o.jsx(at,{size:16})})]}),o.jsx("div",{className:T.sortDropdownContent,children:d.map(g=>{const m=String(g.label??g.id),x=Nj(m);return o.jsxs("div",{className:T.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:_=>{_.key==="Enter"&&u(g.id,"asc")},children:[o.jsx("span",{className:`${T.columnSorterLabel} ${x?T.uppercaseSmall:""}`,title:m,"aria-label":m,children:m}),o.jsxs("div",{className:T.sortDirectionButtons,children:[o.jsx("button",{className:`${T.sortDirectionButton} ${t?.key===g.id&&t?.direction==="asc"?T.activeSort:""}`,onClick:()=>u(g.id,"asc"),title:"Trier par ordre croissant",type:"button",children:o.jsx(Ac,{size:12})}),o.jsx("button",{className:`${T.sortDirectionButton} ${t?.key===g.id&&t?.direction==="desc"?T.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:T.sortActions,children:o.jsxs("button",{className:T.clearSortButton,onClick:p,type:"button",children:[o.jsx(qt,{size:14}),o.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},Tke=({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 _=Math.max(1,h-Math.floor(2.5)),v=_+5-1;v>l&&(v=l,_=Math.max(1,v-5+1));for(let I=_;I<=v;I++)m.push(I);return m};return o.jsxs("div",{className:T.paginationContainer,role:"navigation","aria-label":"Pagination",children:[o.jsx("div",{className:T.leftGroup,children:s&&o.jsx("div",{className:T.pageSizeControls,children:o.jsx("select",{value:n,onChange:m=>s(Number(m.target.value)),className:T.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:T.paginationInfo,"aria-live":"polite",children:d?o.jsxs("span",{className:T.paginationLoading,children:[o.jsx("span",{className:T.loaderSpinner}),o.jsx("span",{children:"Chargement..."})]}):`${y}-${f} ${i}`}),o.jsxs("div",{className:T.paginationControls,children:[o.jsx("button",{onClick:u,disabled:h===1||d,className:`${T.paginationButton} ${T.navigationButton} ${h===1?T.disabledButton:""} ${d?T.loadingButton:""}`,"aria-label":"Page précédente",children:d&&h>1?o.jsx("span",{className:T.loaderSpinnerSmall}):"«"}),g().map(m=>o.jsx("button",{onClick:()=>r(m),disabled:d,"aria-current":h===m?"page":void 0,className:`${T.paginationButton} ${h===m?T.activeButton:""} ${d?T.loadingButton:""}`,children:d&&h===m?o.jsx("span",{className:T.loaderSpinnerSmall}):m},m)),o.jsx("button",{onClick:p,disabled:d||h>=l,className:`${T.paginationButton} ${T.navigationButton} ${d?T.loadingButton:""} ${h>=l?T.disabledButton:""}`,"aria-label":"Page suivante",children:d?o.jsx("span",{className:T.loaderSpinnerSmall}):"»"})]})]})},Hke=(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)},Dke=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},Bke=({columns:e})=>o.jsx("thead",{className:T.tableHeader,children:o.jsx("tr",{children:e.map((t,n)=>{const c=t.align==="right"?T.alignRight:t.align==="left"?T.alignLeft:T.alignCenter,i=t.preserveHeaderCase===!0,r=Hke(String(t.label??""),i),s=Dke(r),d=s?r.split(/\s+/):[];return o.jsx("th",{className:`${T.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:T.headerContent,children:s?o.jsx("div",{className:T.headerWords,children:d.map((l,h)=>o.jsx("span",{className:T.headerWord,children:l},h))}):o.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),Rke=({value:e,row:t,column:n})=>{const c=n.align==="right"?T.alignRight:n.align==="left"?T.alignLeft:T.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return o.jsx("td",{className:`${T.tableCell} ${c}`,style:{width:n.width??void 0},children:o.jsx("div",{className:T.cellContent,children:i})})},Fke=({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:`${T.tableRow} ${c?T.clickableRow:""}`,onClick:()=>c?.(e,i),style:u,children:n.map(p=>o.jsx(Rke,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},Eke=({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:T.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):o.jsx("tbody",{children:e.map((s,d)=>o.jsx(Fke,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:c+d-1,getRowStyle:r},s.id))}),xA=({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:_="items",advancedFiltersLabel:v="Advanced-Filters",advancedFiltersActiveLabel:I,sortLabel:b="Sort",applyLabel:w="Apply",cancelLabel:C="Cancel",clearLabel:M="Clear",applyDisabled:L=!1,paginationLoading:j=!1,filtersLoading:N=!1,sortLoading:S=!1,totalCount:q=null})=>{const[B,H]=k.useState({key:null,direction:"asc"}),[z,A]=k.useState(n.currentPage??1),[$,D]=k.useState(n.pageSize??10),[R,V]=k.useState(!1),O=k.useRef(null),[J,F]=k.useState([]),K=p?d:J,pe=p?[]:J;k.useEffect(()=>{const le=n.currentPage??1,Ct=n.pageSize??10;le!==z&&A(le),Ct!==$&&D(Ct)},[n.currentPage,n.pageSize]);const{paginatedData:oe,sortedData:ve,totalPages:ie,startIndex:ae}=hA(t,e,i,B,z,$,pe),ne=ve.length,se=typeof q=="number"&&q>=0?q:ne;let ue=ie;typeof q=="number"&&q>=0&&(ue=Math.max(1,Math.ceil(q/$)));const ye=ne>10;k.useEffect(()=>{const le=Math.max(1,Math.floor(ue));z>le&&A(le),z<1&&A(1)},[ue]);const W=le=>{p||F(le),l?.(le),A(1),x?.(1)},Y=le=>{p||F(le),h?.(le),A(1),x?.(1),O.current&&O.current.style.setProperty("--filters-panel-height","0px")},ce=le=>{x?.(le),A(le)},Se=le=>{D(le),A(1),m?.(le),x?.(1)},ze=le=>{O.current&&O.current.style.setProperty("--filters-panel-height",`${Math.round(le)}px`)},xe=le=>{H(le),u?.(le)},He=le=>{V(le),!le&&O.current&&O.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(K?.length??0)>0&&V(!0)},[K]),k.useEffect(()=>{s.length>0&&K.length>0&&V(!0)},[s.length,K.length]);const je=(K?.length??0)>0&&I?I:v;return o.jsxs("div",{ref:O,className:`${T.container} ${r} ${R?T.filtersOpen:""}`,style:{background:g,"--row-height":"48px","--header-height":"56px"},children:[o.jsx("div",{className:T.tableControls,children:o.jsxs("div",{className:T.controlsRight,children:[o.jsx(Pke,{columns:e,onSort:xe,label:b,sortConfig:B,loading:S}),s.length>0&&o.jsx(Vke,{filters:s,externalFilters:K,onFiltersChange:W,onApply:Y,isControlled:p,debounceTimeout:y,expanded:R,onToggle:He,panelPlacement:"top",onPanelHeightChange:ze,label:je,applyLabel:w,cancelLabel:C,clearLabel:M,applyDisabled:L,loading:N})]})}),o.jsx("div",{className:T.topPagination,children:o.jsx(Tke,{currentPage:z,totalPages:ue,pageSize:$,totalItems:se,itemLabel:_,onPageChange:ce,onPageSizeChange:Se,loading:j})}),o.jsx("div",{className:`${T.tableWrapper} ${ye?T.limitedRows:""}`,"data-table-wrapper":!0,children:o.jsxs("table",{className:T.table,children:[o.jsx(Bke,{columns:e}),o.jsx(Eke,{data:oe,columns:e,onRowClick:c,startIndex:ae,getRowStyle:f,searchTerm:i})]})})]})};function Oke(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(xA,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const Uke=({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(Wke,{className:s,children:[o.jsxs(Gke,{children:[l,"-",h," ",r," ",n," ",u]}),o.jsx(Kke,{}),d>1&&o.jsxs(Zke,{children:[o.jsx(di,{onClick:()=>c(1),disabled:e===1,title:"Première page",children:"<<"}),o.jsx(di,{onClick:()=>c(e-1),disabled:e===1,title:"Page précédente",children:"<"}),g.map(m=>o.jsx(Xke,{$active:m===e,onClick:()=>c(m),children:m},m)),o.jsx(di,{onClick:()=>c(e+1),disabled:e===d,title:"Page suivante",children:">"}),o.jsx(di,{onClick:()=>c(d),disabled:e===d,title:"Dernière page",children:">>"})]})]})},Wke=E.div`
8272
+ `),()=>{x.contains(m)&&x.removeChild(m)}},[t]),o.jsx(xle,{isPresent:t,childRef:r,sizeRef:s,children:te.cloneElement(e,{ref:l})})}const _le=({children:e,initial:t,isPresent:n,onExitComplete:c,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=Bt(Lle),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(Mle,{isPresent:n,anchorX:d,root:l,children:e})),o.jsx(wL.Provider,{value:y,children:e})};function Lle(){return new Map}function eq(e=!0){const t=k.useContext(wL);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 ri=e=>e.key||"";function XC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const Ile=({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]=eq(s),p=k.useMemo(()=>XC(e),[e]),y=s&&!h?[]:p.map(ri),f=k.useRef(!0),g=k.useRef(p),m=Bt(()=>new Map),[x,M]=k.useState(p),[v,I]=k.useState(p);bw(()=>{f.current=!1,g.current=p;for(let C=0;C<v.length;C++){const _=ri(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[_],S=ri(L);y.includes(S)||(C.splice(_,0,L),b.push(L))}return r==="wait"&&b.length&&(C=b),I(XC(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(Lw);return o.jsx(o.Fragment,{children:v.map(C=>{const _=ri(C),L=s&&!h?!1:p===v||y.includes(_),S=()=>{if(m.has(_))m.set(_,!0);else return;let N=!0;m.forEach(j=>{j||(N=!1)}),N&&(w?.(),I(g.current),s&&u?.(),c&&c())};return o.jsx(_le,{isPresent:L,initial:!f.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:l,onExitComplete:L?void 0:S,anchorX:d,children:C},_)})})},tq=k.createContext({strict:!1}),YC={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 YC)i1[e]={isEnabled:t=>YC[e].some(n=>!!t[n])};function ble(e){for(const t in e)i1[t]={...i1[t],...e[t]}}const wle=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 xL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||wle.has(e)}let aq=e=>!xL(e);function Cle(e){typeof e=="function"&&(aq=t=>t.startsWith("on")?!xL(t):e(t))}try{Cle(require("@emotion/is-prop-valid").default)}catch{}function Nle(e,t,n){const c={};for(const i in e)i==="values"&&typeof e.values=="object"||(aq(i)||n===!0&&xL(i)||!t&&!xL(i)||e.draggable&&i.startsWith("onDrag"))&&(c[i]=e[i]);return c}const NL=k.createContext({});function SL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function U1(e){return typeof e=="string"||Array.isArray(e)}const Gw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Kw=["initial",...Gw];function jL(e){return SL(e.animate)||Kw.some(t=>U1(e[t]))}function nq(e){return!!(jL(e)||e.variants)}function Sle(e,t){if(jL(e)){const{initial:n,animate:c}=e;return{initial:n===!1||U1(n)?n:void 0,animate:U1(c)?c:void 0}}return e.inherit!==!1?t:{}}function jle(e){const{initial:t,animate:n}=Sle(e,k.useContext(NL));return k.useMemo(()=>({initial:t,animate:n}),[JC(t),JC(n)])}function JC(e){return Array.isArray(e)?e.join(" "):e}const W1={};function $le(e){for(const t in e)W1[t]=e[t],Aw(t)&&(W1[t].isCSSVariable=!0)}function oq(e,{layout:t,layoutId:n}){return l1.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!W1[e]||e==="opacity")}const qle={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ale=d1.length;function zle(e,t,n){let c="",i=!0;for(let r=0;r<Ale;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=K$(d,Ow[s]);if(!l){i=!1;const u=qle[s]||s;c+=`${u}(${h}) `}n&&(t[s]=h)}}return c=c.trim(),n?c=n(t,i?"":c):i&&(c="none"),c}function Zw(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(Aw(l)){i[l]=h;continue}else{const u=K$(h,Ow[l]);l.startsWith("origin")?(d=!0,r[l]=u):c[l]=u}}if(t.transform||(s||n?c.transform=zle(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 Xw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function cq(e,t,n){for(const c in t)!Ae(t[c])&&!oq(c,n)&&(e[c]=t[c])}function Vle({transformTemplate:e},t){return k.useMemo(()=>{const n=Xw();return Zw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Ple(e,t){const n=e.style||{},c={};return cq(c,n,e),Object.assign(c,Vle(e,t)),c}function Tle(e,t){const n={},c=Ple(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 Hle={offset:"stroke-dashoffset",array:"stroke-dasharray"},Dle={offset:"strokeDashoffset",array:"strokeDasharray"};function Ble(e,t,n=1,c=0,i=!0){e.pathLength=1;const r=i?Hle:Dle;e[r.offset]=Q.transform(-c);const s=Q.transform(t),d=Q.transform(n);e[r.array]=`${s} ${d}`}function iq(e,{attrX:t,attrY:n,attrScale:c,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if(Zw(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&&Ble(p,i,r,s,!1)}const rq=()=>({...Xw(),attrs:{}}),sq=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Rle(e,t,n,c){const i=k.useMemo(()=>{const r=rq();return iq(r,t,sq(c),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};cq(r,e.style,e),i.style={...r,...i.style}}return i}const Fle=["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 Yw(e){return typeof e!="string"||e.includes("-")?!1:!!(Fle.indexOf(e)>-1||/[A-Z]/u.test(e))}function Ele(e,t,n,{latestValues:c},i,r=!1){const d=(Yw(e)?Rle:Tle)(t,c,i,e),l=Nle(t,typeof e=="string",r),h=e!==k.Fragment?{...l,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>Ae(u)?u.get():u,[u]);return k.createElement(e,{...h,children:p})}function QC(e){const t=[{},{}];return e?.values.forEach((n,c)=>{t[0][c]=n.get(),t[1][c]=n.getVelocity()}),t}function Jw(e,t,n,c){if(typeof t=="function"){const[i,r]=QC(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]=QC(c);t=t(n!==void 0?n:e.custom,i,r)}return t}function lL(e){return Ae(e)?e.get():e}function Ole({scrapeMotionValuesFromProps:e,createRenderState:t},n,c,i){return{latestValues:Ule(n,c,i,e),renderState:t()}}function Ule(e,t,n,c){const i={},r=c(e,{});for(const y in r)i[y]=lL(r[y]);let{initial:s,animate:d}=e;const l=jL(e),h=nq(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"&&!SL(p)){const y=Array.isArray(p)?p:[p];for(let f=0;f<y.length;f++){const g=Jw(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 dq=e=>(t,n)=>{const c=k.useContext(NL),i=k.useContext(wL),r=()=>Ole(e,t,c,i);return n?r():Bt(r)};function Qw(e,t,n){const{style:c}=e,i={};for(const r in c)(Ae(c[r])||t.style&&Ae(t.style[r])||oq(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=c[r]);return i}const Wle=dq({scrapeMotionValuesFromProps:Qw,createRenderState:Xw});function lq(e,t,n){const c=Qw(e,t,n);for(const i in e)if(Ae(e[i])||Ae(t[i])){const r=d1.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;c[r]=e[i]}return c}const Gle=dq({scrapeMotionValuesFromProps:lq,createRenderState:rq}),Kle=Symbol.for("motionComponentSymbol");function Xc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Zle(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 eC=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Xle="framerAppearId",hq="data-"+eC(Xle),uq=k.createContext({});function Yle(e,t,n,c,i){const{visualElement:r}=k.useContext(NL),s=k.useContext(tq),d=k.useContext(wL),l=k.useContext(CL).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(uq);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&Jle(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const f=n[hq],g=k.useRef(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return bw(()=>{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 Jle(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:pq(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 pq(e){if(e)return e.options.allowProjection!==!1?e.projection:pq(e.parent)}function tI(e,{forwardMotionProps:t=!1}={},n,c){n&&ble(n);const i=Yw(e)?Gle:Wle;function r(d,l){let h;const u={...k.useContext(CL),...d,layoutId:Qle(d)},{isStatic:p}=u,y=jle(d),f=i(d,p);if(!p&&Iw){ehe(u,n);const g=the(u);h=g.MeasureLayout,y.visualElement=Yle(e,f,u,c,g.ProjectionNode)}return o.jsxs(NL.Provider,{value:y,children:[h&&y.visualElement?o.jsx(h,{visualElement:y.visualElement,...u}):null,Ele(e,d,Zle(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[Kle]=e,s}function Qle({layoutId:e}){const t=k.useContext(Lw).id;return t&&e!==void 0?t+"-"+e:e}function ehe(e,t){const n=k.useContext(tq).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 the(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 ahe(e,t){if(typeof Proxy>"u")return tI;const n=new Map,c=(r,s)=>tI(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&jw(!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,tI(s,void 0,e,t)),n.get(s))})}function yq({top:e,left:t,right:n,bottom:c}){return{x:{min:t,max:n},y:{min:e,max:c}}}function nhe({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function ohe(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 aI(e){return e===void 0||e===1}function hw({scale:e,scaleX:t,scaleY:n}){return!aI(e)||!aI(t)||!aI(n)}function Sc(e){return hw(e)||kq(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function kq(e){return eN(e.x)||eN(e.y)}function eN(e){return e&&e!=="0%"}function ML(e,t,n){const c=e-n,i=t*c;return n+i}function tN(e,t,n,c,i){return i!==void 0&&(e=ML(e,i,c)),ML(e,n,c)+t}function uw(e,t=0,n=1,c,i){e.min=tN(e.min,t,n,c,i),e.max=tN(e.max,t,n,c,i)}function mq(e,{x:t,y:n}){uw(e.x,t.translate,t.scale,t.originPoint),uw(e.y,n.translate,n.scale,n.originPoint)}const aN=.999999999999,nN=1.0000000000001;function che(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,mq(e,s)),c&&Sc(r.latestValues)&&Jc(e,r.latestValues))}t.x<nN&&t.x>aN&&(t.x=1),t.y<nN&&t.y>aN&&(t.y=1)}function Yc(e,t){e.min=e.min+t,e.max=e.max+t}function oN(e,t,n,c,i=.5){const r=ge(e.min,e.max,i);uw(e,t,n,r,c)}function Jc(e,t){oN(e.x,t.x,t.scaleX,t.scale,t.originX),oN(e.y,t.y,t.scaleY,t.scale,t.originY)}function fq(e,t){return yq(ohe(e.getBoundingClientRect(),t))}function ihe(e,t,n){const c=fq(e,n),{scroll:i}=t;return i&&(Yc(c.x,i.offset.x),Yc(c.y,i.offset.y)),c}const cN=()=>({translate:0,scale:1,origin:0,originPoint:0}),Qc=()=>({x:cN(),y:cN()}),iN=()=>({min:0,max:0}),Ie=()=>({x:iN(),y:iN()}),pw={current:null},gq={current:!1};function rhe(){if(gq.current=!0,!!Iw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>pw.current=e.matches;e.addEventListener("change",t),t()}else pw.current=!1}const she=new WeakMap;function dhe(e,t,n){for(const c in t){const i=t[c],r=n[c];if(Ae(i))e.addValue(c,i);else if(Ae(r))e.addValue(c,Dc(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,Dc(s!==void 0?s:i,{owner:e}))}}for(const c in n)t[c]===void 0&&e.removeValue(c);return t}const rN=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class lhe{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=Fw,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,fe.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=jL(n),this.isVariantNode=nq(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&&Ae(f)&&f.set(l[y])}}mount(t){this.current=t,she.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)),gq.current||rhe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:pw.current,process.env.NODE_ENV!=="production"&&jw(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&&fe.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):Ie()}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<rN.length;c++){const i=rN[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=dhe(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=Dc(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"&&(d$(c)||h$(c))?c=parseFloat(c):!fle(c)&&Dt.test(n)&&(c=G$(t,n)),this.setBaseTarget(t,Ae(c)?c.get():c)),Ae(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=Jw(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&&!Ae(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 Sw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Uw.render(this.render)}}class vq extends lhe{constructor(){super(...arguments),this.KeyframeResolver=ole}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;Ae(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function xq(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 hhe(e){return window.getComputedStyle(e)}class uhe extends vq{constructor(){super(...arguments),this.type="html",this.renderInstance=xq}readValueFromInstance(t,n){if(l1.has(n))return this.projection?.isProjecting?ow(n):_0e(t,n);{const c=hhe(t),i=(Aw(n)?c.getPropertyValue(n):c[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return fq(t,n)}build(t,n,c){Zw(t,n,c.transformTemplate)}scrapeMotionValuesFromProps(t,n,c){return Qw(t,n,c)}}const Mq=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 phe(e,t,n,c){xq(e,t,void 0,c);for(const i in t.attrs)e.setAttribute(Mq.has(i)?i:eC(i),t.attrs[i])}class yhe extends vq{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ie}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(l1.has(n)){const c=W$(n);return c&&c.default||0}return n=Mq.has(n)?n:eC(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,c){return lq(t,n,c)}build(t,n,c){iq(t,n,this.isSVGTag,c.transformTemplate,c.style)}renderInstance(t,n,c,i){phe(t,n,c,i)}mount(t){this.isSVGTag=sq(t.tagName),super.mount(t)}}const khe=(e,t)=>Yw(e)?new yhe(t):new uhe(t,{allowProjection:e!==k.Fragment});function c1(e,t,n){const c=e.getProps();return Jw(c,t,n!==void 0?n:c.custom,e)}const yw=e=>Array.isArray(e);function mhe(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Dc(n))}function fhe(e){return yw(e)?e[e.length-1]||0:e}function ghe(e,t){const n=c1(e,t);let{transitionEnd:c={},transition:i={},...r}=n||{};r={...r,...c};for(const s in r){const d=fhe(r[s]);mhe(e,s,d)}}function vhe(e){return!!(Ae(e)&&e.add)}function kw(e,t){const n=e.getValue("willChange");if(vhe(n))return n.add(t);if(!n&&It.WillChange){const c=new It.WillChange("auto");e.addValue("willChange",c),c.add(t)}}function _q(e){return e.props[hq]}const xhe=e=>e!==null;function Mhe(e,{repeat:t,repeatType:n="loop"},c){const i=e.filter(xhe),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const _he={type:"spring",stiffness:500,damping:25,restSpeed:10},Lhe=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Ihe={type:"keyframes",duration:.8},bhe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},whe=(e,{keyframes:t})=>t.length>2?Ihe:l1.has(e)?e.startsWith("scale")?Lhe(t[1]):_he:bhe;function Che({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 tC=(e,t,n,c={},i,r)=>s=>{const d=Ew(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};Che(d)||Object.assign(u,whe(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)&&(dw(u),u.delay===0&&(p=!0)),(It.instantAnimations||It.skipAnimations)&&(p=!0,dw(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=Mhe(u.keyframes,d);if(y!==void 0){fe.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new Rw(u):new U0e(u)};function Nhe({protectedKeys:e,needsAnimating:t},n){const c=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,c}function Lq(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&&Nhe(h,u))continue;const f={delay:n,...Ew(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=_q(e);if(M){const v=window.MotionHandoffAnimation(M,u,fe);v!==null&&(f.startTime=v,m=!0)}}kw(e,u),p.start(tC(u,p,y,e.shouldReduceMotion&&E$.has(u)?{type:!1}:f,e,m));const x=p.animation;x&&l.push(x)}return s&&Promise.all(l).then(()=>{fe.update(()=>{s&&ghe(e,s)})}),l}function Iq(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 mw(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(Lq(e,c,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return She(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 She(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(mw(l,t,{...s,delay:n+(typeof c=="function"?0:c)+Iq(e.variantChildren,l,c,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function jhe(e,t,n={}){e.notify("AnimationStart",t);let c;if(Array.isArray(t)){const i=t.map(r=>mw(e,r,n));c=Promise.all(i)}else if(typeof t=="string")c=mw(e,t,n);else{const i=typeof t=="function"?c1(e,t,n.custom):t;c=Promise.all(Lq(e,i,n))}return c.then(()=>{e.notify("AnimationComplete",t)})}function bq(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 $he=Kw.length;function wq(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?wq(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<$he;n++){const c=Kw[n],i=e.props[c];(U1(i)||i===!1)&&(t[c]=i)}return t}const qhe=[...Gw].reverse(),Ahe=Gw.length;function zhe(e){return t=>Promise.all(t.map(({animation:n,options:c})=>jhe(e,n,c)))}function Vhe(e){let t=zhe(e),n=sN(),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=wq(e.parent)||{},p=[],y=new Set;let f={},g=1/0;for(let x=0;x<Ahe;x++){const M=qhe[x],v=n[M],I=h[M]!==void 0?h[M]:u[M],b=U1(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||SL(I)||typeof I=="boolean")continue;const _=Phe(v.prevProp,I);let L=_||M===l&&v.isActive&&!C&&b||x>g&&b,S=!1;const N=Array.isArray(I)?I:[I];let j=N.reduce(i(M),{});w===!1&&(j={});const{prevResolvedValues:q={}}=v,H={...q,...j},B=$=>{L=!0,y.has($)&&(S=!0,y.delete($)),v.needsAnimating[$]=!0;const D=e.getValue($);D&&(D.liveStyle=!1)};for(const $ in H){const D=j[$],R=q[$];if(f.hasOwnProperty($))continue;let V=!1;yw(D)&&yw(R)?V=!bq(D,R):V=D!==R,V?D!=null?B($):y.add($):D!==void 0&&y.has($)?B($):v.protectedKeys[$]=!0}v.prevProp=I,v.prevResolvedValues=j,v.isActive&&(f={...f,...j}),c&&e.blockInitialAnimation&&(L=!1);const A=C&&_;L&&(!A||S)&&p.push(...N.map($=>{const D={type:M};if(typeof $=="string"&&c&&!A&&e.manuallyAnimateOnMount&&e.parent){const{parent:R}=e,V=c1(R,$);if(R.enteringChildren&&V){const{delayChildren:O}=V.transition||{};D.delay=Iq(R.enteringChildren,e,O)}}return{animation:$,options:D}}))}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=sN()}}}function Phe(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!bq(t,e):!1}function Ot(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function sN(){return{animate:Ot(!0),whileInView:Ot(),whileHover:Ot(),whileTap:Ot(),whileDrag:Ot(),whileFocus:Ot(),exit:Ot()}}class Rt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class The extends Rt{constructor(t){super(t),t.animationState||(t.animationState=Vhe(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();SL(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 Hhe=0;class Dhe extends Rt{constructor(){super(...arguments),this.id=Hhe++}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 Bhe={animation:{Feature:The},exit:{Feature:Dhe}};function G1(e,t,n,c={passive:!0}){return e.addEventListener(t,n,c),()=>e.removeEventListener(t,n)}function J1(e){return{point:{x:e.pageX,y:e.pageY}}}const Rhe=e=>t=>Ww(t)&&e(t,J1(t));function H1(e,t,n,c){return G1(e,t,Rhe(n),c)}const Cq=1e-4,Fhe=1-Cq,Ehe=1+Cq,Nq=.01,Ohe=0-Nq,Uhe=0+Nq;function Re(e){return e.max-e.min}function Whe(e,t,n){return Math.abs(e-t)<=n}function dN(e,t,n,c=.5){e.origin=c,e.originPoint=ge(t.min,t.max,e.origin),e.scale=Re(n)/Re(t),e.translate=ge(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Fhe&&e.scale<=Ehe||isNaN(e.scale))&&(e.scale=1),(e.translate>=Ohe&&e.translate<=Uhe||isNaN(e.translate))&&(e.translate=0)}function D1(e,t,n,c){dN(e.x,t.x,n.x,c?c.originX:void 0),dN(e.y,t.y,n.y,c?c.originY:void 0)}function lN(e,t,n){e.min=n.min+t.min,e.max=e.min+Re(t)}function Ghe(e,t,n){lN(e.x,t.x,n.x),lN(e.y,t.y,n.y)}function hN(e,t,n){e.min=t.min-n.min,e.max=e.min+Re(t)}function B1(e,t,n){hN(e.x,t.x,n.x),hN(e.y,t.y,n.y)}function et(e){return[e("x"),e("y")]}const Sq=({current:e})=>e?e.ownerDocument.defaultView:null,uN=(e,t)=>Math.abs(e-t);function Khe(e,t){const n=uN(e.x,t.x),c=uN(e.y,t.y);return Math.sqrt(n**2+c**2)}class jq{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=oI(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,g=Khe(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!f&&!g)return;const{point:m}=y,{timestamp:x}=qe;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=nI(f,this.transformPagePoint),fe.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=oI(y.type==="pointercancel"?this.lastMoveEventInfo:nI(f,this.transformPagePoint),this.history);this.startEvent&&g&&g(y,M),m&&m(y,M)},!Ww(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=c,this.distanceThreshold=s,this.contextWindow=i||window;const d=J1(t),l=nI(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=qe;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,oI(l,this.history)),this.removeListeners=Z1(H1(this.contextWindow,"pointermove",this.handlePointerMove),H1(this.contextWindow,"pointerup",this.handlePointerUp),H1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),bt(this.updatePoint)}}function nI(e,t){return t?{point:t(e.point)}:e}function pN(e,t){return{x:e.x-t.x,y:e.y-t.y}}function oI({point:e},t){return{point:e,delta:pN(e,$q(t)),offset:pN(e,Zhe(t)),velocity:Xhe(t,.1)}}function Zhe(e){return e[0]}function $q(e){return e[e.length-1]}function Xhe(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,c=null;const i=$q(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 Yhe(e,{min:t,max:n},c){return t!==void 0&&e<t?e=c?ge(t,e,c.min):Math.max(e,t):n!==void 0&&e>n&&(e=c?ge(n,e,c.max):Math.min(e,n)),e}function yN(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 Jhe(e,{top:t,left:n,bottom:c,right:i}){return{x:yN(e.x,n,i),y:yN(e.y,t,c)}}function kN(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 Qhe(e,t){return{x:kN(e.x,t.x),y:kN(e.y,t.y)}}function eue(e,t){let n=.5;const c=Re(e),i=Re(t);return i>c?n=F1(t.min,t.max-c,e.min):c>i&&(n=F1(e.min,e.max-i,t.min)),Lt(0,1,n)}function tue(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 fw=.35;function aue(e=fw){return e===!1?e=0:e===!0&&(e=fw),{x:mN(e,"left","right"),y:mN(e,"top","bottom")}}function mN(e,t,n){return{min:fN(e,t),max:fN(e,n)}}function fN(e,t){return typeof e=="number"?e:e[t]||0}const nue=new WeakMap;class oue{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=Ie(),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(J1(p).point)},s=(p,y)=>{const{drag:f,dragPropagation:g,onDragStart:m}=this.getProps();if(f&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=sle(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=Re(b)*(parseFloat(v)/100))}}this.originPoint[M]=v}),m&&fe.postRender(()=>m(p,y)),kw(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=cue(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 jq(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:c,contextWindow:Sq(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&&fe.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||!si(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+c[t];this.constraints&&this.constraints[t]&&(s=Yhe(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=Jhe(c.layoutBox,t):this.constraints=!1,this.elastic=aue(n),i!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&et(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=tue(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=ihe(c,i.root,this.visualElement.getTransformPagePoint());let s=Qhe(i.layout.layoutBox,r);if(n){const d=n(nhe(s));this.hasMutatedConstraints=!!d,d&&(s=yq(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(!si(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 kw(this.visualElement,t),c.start(tC(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(!si(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]-ge(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]=eue({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(!si(s,t,null))return;const d=this.getAxisMotionValue(s),{min:l,max:h}=this.constraints[s];d.set(ge(l,h,i[s]))})}addListeners(){if(!this.visualElement.current)return;nue.set(this.visualElement,this);const t=this.visualElement.current,n=H1(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()),fe.read(c);const s=G1(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=fw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:c,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function si(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function cue(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class iue extends Rt{constructor(t){super(t),this.removeGroupControls=nt,this.removeListeners=nt,this.controls=new oue(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 gN=e=>(t,n)=>{e&&fe.postRender(()=>e(t,n))};class rue extends Rt{constructor(){super(...arguments),this.removePointerDownListener=nt}onPointerDown(t){this.session=new jq(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Sq(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:c,onPanEnd:i}=this.node.getProps();return{onSessionStart:gN(t),onStart:gN(n),onMove:c,onEnd:(r,s)=>{delete this.session,i&&fe.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=H1(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 hL={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function vN(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const k1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Q.test(e))e=parseFloat(e);else return e;const n=vN(e,t.target.x),c=vN(e,t.target.y);return`${n}% ${c}%`}},sue={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=ge(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 cI=!1;class due extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c,layoutId:i}=this.props,{projection:r}=t;$le(lue),r&&(n.group&&n.group.add(r),c&&c.register&&i&&c.register(r),cI&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),hL.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:c,drag:i,isPresent:r}=this.props,{projection:s}=c;return s&&(s.isPresent=r,cI=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||fe.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Uw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c}=this.props,{projection:i}=t;cI=!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 qq(e){const[t,n]=eq(),c=k.useContext(Lw);return o.jsx(due,{...e,layoutGroup:c,switchLayoutGroup:k.useContext(uq),isPresent:t,safeToRemove:n})}const lue={borderRadius:{...k1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:k1,borderTopRightRadius:k1,borderBottomLeftRadius:k1,borderBottomRightRadius:k1,boxShadow:sue};function hue(e,t,n){const c=Ae(e)?e:Dc(e);return c.start(tC("",c,t,n)),c.animation}const uue=(e,t)=>e.depth-t.depth;class pue{constructor(){this.children=[],this.isDirty=!1}add(t){ww(this.children,t),this.isDirty=!0}remove(t){Cw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(uue),this.isDirty=!1,this.children.forEach(t)}}function yue(e,t){const n=We.now(),c=({timestamp:i})=>{const r=i-n;r>=t&&(bt(c),e(r-t))};return fe.setup(c,!0),()=>bt(c)}const Aq=["TopLeft","TopRight","BottomLeft","BottomRight"],kue=Aq.length,xN=e=>typeof e=="string"?parseFloat(e):e,MN=e=>typeof e=="number"||Q.test(e);function mue(e,t,n,c,i,r){i?(e.opacity=ge(0,n.opacity??1,fue(c)),e.opacityExit=ge(t.opacity??1,0,gue(c))):r&&(e.opacity=ge(t.opacity??1,n.opacity??1,c));for(let s=0;s<kue;s++){const d=`border${Aq[s]}Radius`;let l=_N(t,d),h=_N(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||MN(l)===MN(h)?(e[d]=Math.max(ge(xN(l),xN(h),c),0),(mt.test(h)||mt.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=ge(t.rotate||0,n.rotate||0,c))}function _N(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const fue=zq(0,.5,v$),gue=zq(.5,.95,nt);function zq(e,t,n){return c=>c<e?0:c>t?1:n(F1(e,t,c))}function LN(e,t){e.min=t.min,e.max=t.max}function Xe(e,t){LN(e.x,t.x),LN(e.y,t.y)}function IN(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function bN(e,t,n,c,i){return e-=t,e=ML(e,1/n,c),i!==void 0&&(e=ML(e,1/i,c)),e}function vue(e,t=0,n=1,c=.5,i,r=e,s=e){if(mt.test(t)&&(t=parseFloat(t),t=ge(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=ge(r.min,r.max,c);e===r&&(d-=t),e.min=bN(e.min,t,n,d,i),e.max=bN(e.max,t,n,d,i)}function wN(e,t,[n,c,i],r,s){vue(e,t[n],t[c],t[i],t.scale,r,s)}const xue=["x","scaleX","originX"],Mue=["y","scaleY","originY"];function CN(e,t,n,c){wN(e.x,t,xue,n?n.x:void 0,c?c.x:void 0),wN(e.y,t,Mue,n?n.y:void 0,c?c.y:void 0)}function NN(e){return e.translate===0&&e.scale===1}function Vq(e){return NN(e.x)&&NN(e.y)}function SN(e,t){return e.min===t.min&&e.max===t.max}function _ue(e,t){return SN(e.x,t.x)&&SN(e.y,t.y)}function jN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Pq(e,t){return jN(e.x,t.x)&&jN(e.y,t.y)}function $N(e){return Re(e.x)/Re(e.y)}function qN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Lue{constructor(){this.members=[]}add(t){ww(this.members,t),t.scheduleRender()}remove(t){if(Cw(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 Iue(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 iI=["","X","Y","Z"],bue=1e3;let wue=0;function rI(e,t,n,c){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),c&&(c[e]=0))}function Tq(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=_q(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",fe,!(i||r))}const{parent:c}=e;c&&!c.hasCheckedOptimisedAppear&&Tq(c)}function Hq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:c,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=wue++,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(Sue),this.nodes.forEach(Aue),this.nodes.forEach(zue),this.nodes.forEach(jue)},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 pue)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Sw),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=Q$(s)&&!yle(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;fe.read(()=>{p=window.innerWidth}),e(s,()=>{const f=window.innerWidth;f!==p&&(p=f,this.root.updateBlockedByResize=!0,u&&u(),u=yue(y,250),hL.hasAnimatedSinceResize&&(hL.hasAnimatedSinceResize=!1,this.nodes.forEach(VN)))})}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()||Due,{onLayoutAnimationStart:m,onLayoutAnimationComplete:x}=h.getProps(),M=!this.targetLayout||!Pq(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={...Ew(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||VN(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(Vue),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&&Tq(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(AN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(zN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(que),this.nodes.forEach(Cue),this.nodes.forEach(Nue)):this.nodes.forEach(zN),this.clearAllSnapshots();const d=We.now();qe.delta=Lt(0,1e3/60,d-qe.timestamp),qe.timestamp=d,qe.isProcessing=!0,ZL.update.process(qe),ZL.preRender.process(qe),ZL.render.process(qe),qe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Uw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach($ue),this.sharedNodes.forEach(Pue)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,fe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){fe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Re(this.snapshot.measuredBox.x)&&!Re(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=Ie(),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&&!Vq(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||Sc(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)),Bue(l),{animationId:this.root.animationId,measuredBox:d,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return Ie();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Rue))){const{scroll:h}=this.root;h&&(Yc(d.x,h.offset.x),Yc(d.y,h.offset.y))}return d}removeElementScroll(s){const d=Ie();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=Ie();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}),Sc(u.latestValues)&&Jc(l,u.latestValues)}return Sc(this.latestValues)&&Jc(l,this.latestValues),l}removeTransform(s){const d=Ie();Xe(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!Sc(h.latestValues))continue;hw(h.latestValues)&&h.updateSnapshot();const u=Ie(),p=h.measurePageBox();Xe(u,p),CN(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return Sc(this.latestValues)&&CN(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!==qe.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=qe.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ie(),this.relativeTargetOrigin=Ie(),B1(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=Ie(),this.targetWithTransforms=Ie()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Ghe(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Xe(this.target,this.layout.layoutBox),mq(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=Ie(),this.relativeTargetOrigin=Ie(),B1(this.relativeTargetOrigin,this.target,y.target),Xe(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||hw(this.parent.latestValues)||kq(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===qe.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;che(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=Ie());const{target:f}=s;if(!f){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(IN(this.prevProjectionDelta.x,this.projectionDelta.x),IN(this.prevProjectionDelta.y,this.projectionDelta.y)),D1(this.projectionDelta,this.layoutCorrected,f,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!qN(this.projectionDelta.x,this.prevProjectionDelta.x)||!qN(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=Ie(),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(Hue));this.animationProgress=0;let I;this.mixTargetDelta=b=>{const w=b/1e3;PN(p.x,s.x,w),PN(p.y,s.y,w),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(B1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Tue(this.relativeTarget,this.relativeTargetOrigin,y,w),I&&_ue(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=Ie()),Xe(I,this.relativeTarget)),m&&(this.animationValues=u,mue(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=fe.update(()=>{hL.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Dc(0)),this.currentAnimation=hue(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(bue),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&&Dq(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||Ie();const p=Re(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+p;const y=Re(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+y}Xe(d,l),Jc(d,u),D1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Lue),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&&rI("z",s,h,this.animationValues);for(let u=0;u<iI.length;u++)rI(`rotate${iI[u]}`,s,h,this.animationValues),rI(`skew${iI[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=lL(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=lL(d?.pointerEvents)||""),this.hasProjected&&!Sc(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=Iue(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 W1){if(u[g]===void 0)continue;const{correct:m,applyTo:x,isCSSVariable:M}=W1[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?lL(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(AN),this.root.sharedNodes.clear()}}}function Cue(e){e.updateLayout()}function Nue(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=Re(p);p.min=n[u].min,p.max=p.min+y}):Dq(i,t.layoutBox,n)&&et(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Re(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();D1(s,n,t.layoutBox);const d=Qc();r?D1(d,e.applyTransform(c,!0),t.measuredBox):D1(d,n,t.layoutBox);const l=!Vq(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=Ie();B1(f,t.layoutBox,p.layoutBox);const g=Ie();B1(g,n,y.layoutBox),Pq(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 Sue(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 jue(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function $ue(e){e.clearSnapshot()}function AN(e){e.clearMeasurements()}function zN(e){e.isLayoutDirty=!1}function que(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function VN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Aue(e){e.resolveTargetDelta()}function zue(e){e.calcProjection()}function Vue(e){e.resetSkewAndRotation()}function Pue(e){e.removeLeadSnapshot()}function PN(e,t,n){e.translate=ge(t.translate,0,n),e.scale=ge(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function TN(e,t,n,c){e.min=ge(t.min,n.min,c),e.max=ge(t.max,n.max,c)}function Tue(e,t,n,c){TN(e.x,t.x,n.x,c),TN(e.y,t.y,n.y,c)}function Hue(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Due={duration:.45,ease:[.4,0,.1,1]},HN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),DN=HN("applewebkit/")&&!HN("chrome/")?Math.round:nt;function BN(e){e.min=DN(e.min),e.max=DN(e.max)}function Bue(e){BN(e.x),BN(e.y)}function Dq(e,t,n){return e==="position"||e==="preserve-aspect"&&!Whe($N(t),$N(n),.2)}function Rue(e){return e!==e.root&&e.scroll?.wasRoot}const Fue=Hq({attachResizeListener:(e,t)=>G1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),sI={current:void 0},Bq=Hq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!sI.current){const e=new Fue({});e.mount(window),e.setOptions({layoutScroll:!0}),sI.current=e}return sI.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Eue={pan:{Feature:rue},drag:{Feature:iue,ProjectionNode:Bq,MeasureLayout:qq}};function RN(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&&fe.postRender(()=>r(t,J1(t)))}class Oue extends Rt{mount(){const{current:t}=this.node;t&&(this.unmount=dle(t,(n,c)=>(RN(this.node,c,"Start"),i=>RN(this.node,i,"End"))))}unmount(){}}class Uue 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=Z1(G1(this.node.current,"focus",()=>this.onFocus()),G1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function FN(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&&fe.postRender(()=>r(t,J1(t)))}class Wue extends Rt{mount(){const{current:t}=this.node;t&&(this.unmount=ple(t,(n,c)=>(FN(this.node,c,"Start"),(i,{success:r})=>FN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const gw=new WeakMap,dI=new WeakMap,Gue=e=>{const t=gw.get(e.target);t&&t(e)},Kue=e=>{e.forEach(Gue)};function Zue({root:e,...t}){const n=e||document;dI.has(n)||dI.set(n,{});const c=dI.get(n),i=JSON.stringify(t);return c[i]||(c[i]=new IntersectionObserver(Kue,{root:e,...t})),c[i]}function Xue(e,t,n){const c=Zue(t);return gw.set(e,n),c.observe(e),()=>{gw.delete(e),c.unobserve(e)}}const Yue={some:0,all:1};class Jue 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:Yue[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 Xue(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(Que(t,n))&&this.startObserver()}unmount(){}}function Que({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const epe={inView:{Feature:Jue},tap:{Feature:Wue},focus:{Feature:Uue},hover:{Feature:Oue}},tpe={layout:{ProjectionNode:Bq,MeasureLayout:qq}},ape={...Bhe,...epe,...Eue,...tpe},aC=ahe(ape,khe);function Rq(e){const t=Bt(()=>Dc(e)),{isStatic:n}=k.useContext(CL);if(n){const[,c]=k.useState(e);k.useEffect(()=>t.on("change",c),[])}return t}function Fq(e,t){const n=Rq(t()),c=()=>n.set(t());return c(),bw(()=>{const i=()=>fe.preRender(c,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),bt(c)}}),n}function npe(e){T1.current=[],e();const t=Fq(T1.current,e);return T1.current=void 0,t}function ope(e,t,n,c){if(typeof e=="function")return npe(e);const i=typeof t=="function"?t:kle(t,n,c);return Array.isArray(e)?EN(e,i):EN([e],([r])=>i(r))}function EN(e,t){const n=Bt(()=>[]);return Fq(e,()=>{n.length=0;const c=e.length;for(let i=0;i<c;i++)n[i]=e[i].get();return t(n)})}class cpe{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 ipe=()=>new cpe;function rpe(){return Bt(ipe)}const Eq=k.createContext(null);function spe(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=ge(l.min,l.max,.5);return r===1&&d.layout.max+n>h||r===-1&&d.layout.min+n<h?Mde(e,i,i+r):e}function dpe({children:e,as:t="ul",axis:n="y",onReorder:c,values:i,...r},s){const d=Bt(()=>aC[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(upe)},updateOrder:(p,y,f)=>{if(h.current)return;const g=spe(l,p,y,f);l!==g&&(h.current=!0,c(g.map(hpe).filter(m=>i.indexOf(m)!==-1)))}};return k.useEffect(()=>{h.current=!1}),o.jsx(d,{...r,ref:s,ignoreStrict:!0,children:o.jsx(Eq.Provider,{value:u,children:e})})}const lpe=k.forwardRef(dpe);function hpe(e){return e.value}function upe(e,t){return e.layout.min-t.layout.min}function ON(e,t=0){return Ae(e)?e:Rq(t)}function ppe({children:e,style:t={},value:n,as:c="li",onDrag:i,layout:r=!0,...s},d){const l=Bt(()=>aC[c]),h=k.useContext(Eq),u={x:ON(t.x),y:ON(t.y)},p=ope([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 ype=k.forwardRef(ppe),_L=[o.jsx(V1,{size:18}),o.jsx(zt,{size:18}),o.jsx(A1,{size:18}),o.jsx(Vt,{size:18}),o.jsx(I1,{size:18}),o.jsx(L1,{size:18})],kpe=({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=_L[u%_L.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(lpe,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>o.jsx(mpe,{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 mpe({value:e,index:t}){const n=rpe(),c=_L[t%_L.length]??null;return o.jsx(ype,{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(s$,{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 fpe(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 gpe(e){return!e||typeof e=="string"&&e.trim()===""}function vpe(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function xpe(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function Mpe(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 _pe(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 Lpe(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 Ipe(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 LL(e,t){const n=fpe(e,t);if(n)return n;if(gpe(e))return{isValid:!0};const c=e.toString();switch(t.type){case"email":{const r=vpe(c);if(r)return r;break}case"url":{const r=xpe(c);if(r)return r;break}case"number":{const r=Mpe(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=_pe(e,t);if(r)return r;break}case"file":{const r=Lpe(e,t);if(r)return r;break}}const i=Ipe(c,t);return i||{isValid:!0}}function Oq(e,t){const n={};let c=!0;for(const i of t){const r=LL(e[i.name],i);r.isValid||(n[i.name]=r.error,c=!1)}return{isValid:c,errors:n}}const bpe="_formContainer_14ads_1",wpe="_headerLine_14ads_17",Cpe="_formTitle_14ads_25",Npe="_formDescription_14ads_30",Spe="_sectionTitle_14ads_37",jpe="_sectionHelp_14ads_44",$pe="_fieldHelp_14ads_50",qpe="_gridContainer_14ads_58",Ape="_fieldGridItem_14ads_70",zpe="_sectionFull_14ads_105",Vpe="_formFooter_14ads_110",Ppe="_footerLeft_14ads_118",Tpe="_footerRight_14ads_119",Hpe="_cancelLink_14ads_125",Dpe="_submitButton_14ads_136",Bpe="_fieldLabel_14ads_148",Rpe="_inputWrapper_14ads_163",Fpe="_inputInner_14ads_187",Epe="_hasPrefix_14ads_196",Ope="_inputBase_14ads_196",Upe="_iconPrefix_14ads_292",Wpe="_iconSuffix_14ads_293",Gpe="_passwordToggle_14ads_319",Kpe="_fieldError_14ads_365",Zpe="_fieldInvalid_14ads_372",me={formContainer:bpe,headerLine:wpe,formTitle:Cpe,formDescription:Npe,sectionTitle:Spe,sectionHelp:jpe,fieldHelp:$pe,gridContainer:qpe,fieldGridItem:Ape,sectionFull:zpe,formFooter:Vpe,footerLeft:Ppe,footerRight:Tpe,cancelLink:Hpe,submitButton:Dpe,fieldLabel:Bpe,inputWrapper:Rpe,inputInner:Fpe,hasPrefix:Epe,inputBase:Ope,iconPrefix:Upe,iconSuffix:Wpe,passwordToggle:Gpe,fieldError:Kpe,fieldInvalid:Zpe},Uq=({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:me.inputWrapper,children:[o.jsx("label",{className:`${me.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),o.jsxs("div",{className:`${me.inputInner} ${p&&y==="prefix"?me.hasPrefix:""}`,children:[p&&y==="prefix"&&o.jsx("span",{className:me.iconPrefix,children:o.jsx(p,{size:16})}),o.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${me.inputBase} ${i?me.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:me.passwordToggle,onClick:()=>d(g=>!g),children:s?o.jsx(S1,{size:16}):o.jsx(j1,{size:16})}),p&&y==="suffix"&&!l&&o.jsx("span",{className:me.iconSuffix,children:o.jsx(p,{size:16})})]}),r&&i&&o.jsx("span",{className:me.fieldError,children:i})]})},Xpe="_fieldGroup_yb3zi_7",Ype="_fieldLabel_yb3zi_11",Jpe="_required_yb3zi_17",Qpe="_fieldInput_yb3zi_22",eye="_fieldInvalid_yb3zi_40",tye="_fieldValid_yb3zi_44",aye="_fieldError_yb3zi_48",nye="_radioGroup_yb3zi_57",Pt={fieldGroup:Xpe,fieldLabel:Ype,required:Jpe,fieldInput:Qpe,fieldInvalid:eye,fieldValid:tye,fieldError:aye,radioGroup:nye},$L=({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})]})},Wq=({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($L,{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})})},oye="_wrapper_117u4_1",cye="_wrapperInvalid_117u4_15",iye="_nativeSelect_117u4_19",rye="_display_117u4_30",sye="_topLabel_117u4_37",dye="_valueLine_117u4_45",lye="_valuePlaceholder_117u4_53",hye="_valueActive_117u4_57",uye="_caret_117u4_61",pye="_error_117u4_75",yye="_optionStyle_117u4_89",Ye={wrapper:oye,wrapperInvalid:cye,nativeSelect:iye,display:rye,topLabel:sye,valueLine:dye,valuePlaceholder:lye,valueActive:hye,caret:uye,error:pye,optionStyle:yye},nC=({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})]})},Gq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx($L,{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})]})}),Kq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx($L,{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))})}),kye="_fileInputContainer_r2guc_3",mye="_customFileInput_r2guc_8",fye="_fileInputLabel_r2guc_12",gye="_dragOver_r2guc_39",vye="_uploadIcon_r2guc_44",xye="_uploadText_r2guc_50",Mye="_uploadHint_r2guc_56",_ye="_fileList_r2guc_60",Lye="_fileListTitle_r2guc_69",Iye="_fileItem_r2guc_80",bye="_fileIcon_r2guc_96",wye="_fileName_r2guc_102",Cye="_fileSize_r2guc_108",Nye="_removeButton_r2guc_114",Sye="_errorText_r2guc_129",Pe={fileInputContainer:kye,customFileInput:mye,fileInputLabel:fye,dragOver:gye,uploadIcon:vye,uploadText:xye,uploadHint:Mye,fileList:_ye,fileListTitle:Lye,fileItem:Iye,fileIcon:bye,fileName:wye,fileSize:Cye,removeButton:Nye,errorText:Sye},Zq=({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})]})},jye="_container_ecah4_2",$ye="_label_ecah4_6",qye="_requiredIndicator_ecah4_13",Aye="_input_ecah4_18",zye="_inputError_ecah4_49",Vye="_errorMessage_ecah4_58",Wc={container:jye,label:$ye,requiredIndicator:qye,input:Aye,inputError:zye,errorMessage:Vye},Xq=({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})]})},Pye="_rangeContainer_cyqk3_3",Tye={rangeContainer:Pye},Yq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:`mb-3 ${Tye.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})]}),Hye="_colorPickerContainer_1wxgj_2",Dye="_colorInput_1wxgj_19",Bye="_colorValue_1wxgj_39",lI={colorPickerContainer:Hye,colorInput:Dye,colorValue:Bye},Jq=({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:lI.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:lI.colorInput}),o.jsx("span",{className:lI.colorValue,children:t})]}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),Qq=({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(Zq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(s.includes(e.type))return o.jsx(Xq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="range")return o.jsx(Yq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="color")return o.jsx(Jq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});switch(e.type){case"textarea":return o.jsx(Wq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"select":return o.jsx(nC,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"checkbox":return o.jsx(Gq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"radio":return o.jsx(Kq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});default:return o.jsx(Uq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})}};var hI,UN;function Rye(){if(UN)return hI;UN=1;function e(){this.__data__=[],this.size=0}return hI=e,hI}var uI,WN;function eA(){if(WN)return uI;WN=1;function e(t,n){return t===n||t!==t&&n!==n}return uI=e,uI}var pI,GN;function qL(){if(GN)return pI;GN=1;var e=eA();function t(n,c){for(var i=n.length;i--;)if(e(n[i][0],c))return i;return-1}return pI=t,pI}var yI,KN;function Fye(){if(KN)return yI;KN=1;var e=qL(),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 yI=c,yI}var kI,ZN;function Eye(){if(ZN)return kI;ZN=1;var e=qL();function t(n){var c=this.__data__,i=e(c,n);return i<0?void 0:c[i][1]}return kI=t,kI}var mI,XN;function Oye(){if(XN)return mI;XN=1;var e=qL();function t(n){return e(this.__data__,n)>-1}return mI=t,mI}var fI,YN;function Uye(){if(YN)return fI;YN=1;var e=qL();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 fI=t,fI}var gI,JN;function AL(){if(JN)return gI;JN=1;var e=Rye(),t=Fye(),n=Eye(),c=Oye(),i=Uye();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,gI=r,gI}var vI,QN;function Wye(){if(QN)return vI;QN=1;var e=AL();function t(){this.__data__=new e,this.size=0}return vI=t,vI}var xI,eS;function Gye(){if(eS)return xI;eS=1;function e(t){var n=this.__data__,c=n.delete(t);return this.size=n.size,c}return xI=e,xI}var MI,tS;function Kye(){if(tS)return MI;tS=1;function e(t){return this.__data__.get(t)}return MI=e,MI}var _I,aS;function Zye(){if(aS)return _I;aS=1;function e(t){return this.__data__.has(t)}return _I=e,_I}var LI,nS;function tA(){if(nS)return LI;nS=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return LI=e,LI}var II,oS;function wt(){if(oS)return II;oS=1;var e=tA(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return II=n,II}var bI,cS;function oC(){if(cS)return bI;cS=1;var e=wt(),t=e.Symbol;return bI=t,bI}var wI,iS;function Xye(){if(iS)return wI;iS=1;var e=oC(),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 wI=r,wI}var CI,rS;function Yye(){if(rS)return CI;rS=1;var e=Object.prototype,t=e.toString;function n(c){return t.call(c)}return CI=n,CI}var NI,sS;function zL(){if(sS)return NI;sS=1;var e=oC(),t=Xye(),n=Yye(),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 NI=s,NI}var SI,dS;function aA(){if(dS)return SI;dS=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return SI=e,SI}var jI,lS;function nA(){if(lS)return jI;lS=1;var e=zL(),t=aA(),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 jI=s,jI}var $I,hS;function Jye(){if(hS)return $I;hS=1;var e=wt(),t=e["__core-js_shared__"];return $I=t,$I}var qI,uS;function Qye(){if(uS)return qI;uS=1;var e=Jye(),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 qI=n,qI}var AI,pS;function oA(){if(pS)return AI;pS=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 AI=n,AI}var zI,yS;function e4e(){if(yS)return zI;yS=1;var e=nA(),t=Qye(),n=aA(),c=oA(),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 zI=p,zI}var VI,kS;function t4e(){if(kS)return VI;kS=1;function e(t,n){return t?.[n]}return VI=e,VI}var PI,mS;function h1(){if(mS)return PI;mS=1;var e=e4e(),t=t4e();function n(c,i){var r=t(c,i);return e(r)?r:void 0}return PI=n,PI}var TI,fS;function cC(){if(fS)return TI;fS=1;var e=h1(),t=wt(),n=e(t,"Map");return TI=n,TI}var HI,gS;function VL(){if(gS)return HI;gS=1;var e=h1(),t=e(Object,"create");return HI=t,HI}var DI,vS;function a4e(){if(vS)return DI;vS=1;var e=VL();function t(){this.__data__=e?e(null):{},this.size=0}return DI=t,DI}var BI,xS;function n4e(){if(xS)return BI;xS=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return BI=e,BI}var RI,MS;function o4e(){if(MS)return RI;MS=1;var e=VL(),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 RI=i,RI}var FI,_S;function c4e(){if(_S)return FI;_S=1;var e=VL(),t=Object.prototype,n=t.hasOwnProperty;function c(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return FI=c,FI}var EI,LS;function i4e(){if(LS)return EI;LS=1;var e=VL(),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 EI=n,EI}var OI,IS;function r4e(){if(IS)return OI;IS=1;var e=a4e(),t=n4e(),n=o4e(),c=c4e(),i=i4e();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,OI=r,OI}var UI,bS;function s4e(){if(bS)return UI;bS=1;var e=r4e(),t=AL(),n=cC();function c(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return UI=c,UI}var WI,wS;function d4e(){if(wS)return WI;wS=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return WI=e,WI}var GI,CS;function PL(){if(CS)return GI;CS=1;var e=d4e();function t(n,c){var i=n.__data__;return e(c)?i[typeof c=="string"?"string":"hash"]:i.map}return GI=t,GI}var KI,NS;function l4e(){if(NS)return KI;NS=1;var e=PL();function t(n){var c=e(this,n).delete(n);return this.size-=c?1:0,c}return KI=t,KI}var ZI,SS;function h4e(){if(SS)return ZI;SS=1;var e=PL();function t(n){return e(this,n).get(n)}return ZI=t,ZI}var XI,jS;function u4e(){if(jS)return XI;jS=1;var e=PL();function t(n){return e(this,n).has(n)}return XI=t,XI}var YI,$S;function p4e(){if($S)return YI;$S=1;var e=PL();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 YI=t,YI}var JI,qS;function cA(){if(qS)return JI;qS=1;var e=s4e(),t=l4e(),n=h4e(),c=u4e(),i=p4e();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,JI=r,JI}var QI,AS;function y4e(){if(AS)return QI;AS=1;var e=AL(),t=cC(),n=cA(),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 QI=i,QI}var eb,zS;function k4e(){if(zS)return eb;zS=1;var e=AL(),t=Wye(),n=Gye(),c=Kye(),i=Zye(),r=y4e();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,eb=s,eb}var tb,VS;function m4e(){if(VS)return tb;VS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return tb=t,tb}var ab,PS;function f4e(){if(PS)return ab;PS=1;function e(t){return this.__data__.has(t)}return ab=e,ab}var nb,TS;function g4e(){if(TS)return nb;TS=1;var e=cA(),t=m4e(),n=f4e();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,nb=c,nb}var ob,HS;function v4e(){if(HS)return ob;HS=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 ob=e,ob}var cb,DS;function x4e(){if(DS)return cb;DS=1;function e(t,n){return t.has(n)}return cb=e,cb}var ib,BS;function iA(){if(BS)return ib;BS=1;var e=g4e(),t=v4e(),n=x4e(),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 ib=r,ib}var rb,RS;function M4e(){if(RS)return rb;RS=1;var e=wt(),t=e.Uint8Array;return rb=t,rb}var sb,FS;function _4e(){if(FS)return sb;FS=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i,r){c[++n]=[r,i]}),c}return sb=e,sb}var db,ES;function L4e(){if(ES)return db;ES=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i){c[++n]=i}),c}return db=e,db}var lb,OS;function I4e(){if(OS)return lb;OS=1;var e=oC(),t=M4e(),n=eA(),c=iA(),i=_4e(),r=L4e(),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,S,N,j,q){switch(L){case v:if(C.byteLength!=_.byteLength||C.byteOffset!=_.byteOffset)return!1;C=C.buffer,_=_.buffer;case M:return!(C.byteLength!=_.byteLength||!j(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 H=i;case g:var B=S&s;if(H||(H=r),C.size!=_.size&&!B)return!1;var A=q.get(C);if(A)return A==_;S|=d,q.set(C,_);var z=c(H(C),H(_),S,N,j,q);return q.delete(C),z;case x:if(b)return b.call(C)==b.call(_)}return!1}return lb=w,lb}var hb,US;function b4e(){if(US)return hb;US=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 hb=e,hb}var ub,WS;function iC(){if(WS)return ub;WS=1;var e=Array.isArray;return ub=e,ub}var pb,GS;function w4e(){if(GS)return pb;GS=1;var e=b4e(),t=iC();function n(c,i,r){var s=i(c);return t(c)?s:e(s,r(c))}return pb=n,pb}var yb,KS;function C4e(){if(KS)return yb;KS=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 yb=e,yb}var kb,ZS;function N4e(){if(ZS)return kb;ZS=1;function e(){return[]}return kb=e,kb}var mb,XS;function S4e(){if(XS)return mb;XS=1;var e=C4e(),t=N4e(),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 mb=r,mb}var fb,YS;function j4e(){if(YS)return fb;YS=1;function e(t,n){for(var c=-1,i=Array(t);++c<t;)i[c]=n(c);return i}return fb=e,fb}var gb,JS;function TL(){if(JS)return gb;JS=1;function e(t){return t!=null&&typeof t=="object"}return gb=e,gb}var vb,QS;function $4e(){if(QS)return vb;QS=1;var e=zL(),t=TL(),n="[object Arguments]";function c(i){return t(i)&&e(i)==n}return vb=c,vb}var xb,ej;function q4e(){if(ej)return xb;ej=1;var e=$4e(),t=TL(),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 xb=r,xb}var M1={exports:{}},Mb,tj;function A4e(){if(tj)return Mb;tj=1;function e(){return!1}return Mb=e,Mb}M1.exports;var aj;function rA(){return aj||(aj=1,function(e,t){var n=wt(),c=A4e(),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}(M1,M1.exports)),M1.exports}var _b,nj;function z4e(){if(nj)return _b;nj=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 _b=n,_b}var Lb,oj;function sA(){if(oj)return Lb;oj=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return Lb=t,Lb}var Ib,cj;function V4e(){if(cj)return Ib;cj=1;var e=zL(),t=sA(),n=TL(),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]",S="[object Uint16Array]",N="[object Uint32Array]",j={};j[v]=j[I]=j[b]=j[w]=j[C]=j[_]=j[L]=j[S]=j[N]=!0,j[c]=j[i]=j[x]=j[r]=j[M]=j[s]=j[d]=j[l]=j[h]=j[u]=j[p]=j[y]=j[f]=j[g]=j[m]=!1;function q(H){return n(H)&&t(H.length)&&!!j[e(H)]}return Ib=q,Ib}var bb,ij;function P4e(){if(ij)return bb;ij=1;function e(t){return function(n){return t(n)}}return bb=e,bb}var _1={exports:{}};_1.exports;var rj;function T4e(){return rj||(rj=1,function(e,t){var n=tA(),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}(_1,_1.exports)),_1.exports}var wb,sj;function dA(){if(sj)return wb;sj=1;var e=V4e(),t=P4e(),n=T4e(),c=n&&n.isTypedArray,i=c?t(c):e;return wb=i,wb}var Cb,dj;function H4e(){if(dj)return Cb;dj=1;var e=j4e(),t=q4e(),n=iC(),c=rA(),i=z4e(),r=dA(),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 Cb=l,Cb}var Nb,lj;function D4e(){if(lj)return Nb;lj=1;var e=Object.prototype;function t(n){var c=n&&n.constructor,i=typeof c=="function"&&c.prototype||e;return n===i}return Nb=t,Nb}var Sb,hj;function B4e(){if(hj)return Sb;hj=1;function e(t,n){return function(c){return t(n(c))}}return Sb=e,Sb}var jb,uj;function R4e(){if(uj)return jb;uj=1;var e=B4e(),t=e(Object.keys,Object);return jb=t,jb}var $b,pj;function F4e(){if(pj)return $b;pj=1;var e=D4e(),t=R4e(),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 $b=i,$b}var qb,yj;function E4e(){if(yj)return qb;yj=1;var e=nA(),t=sA();function n(c){return c!=null&&t(c.length)&&!e(c)}return qb=n,qb}var Ab,kj;function O4e(){if(kj)return Ab;kj=1;var e=H4e(),t=F4e(),n=E4e();function c(i){return n(i)?e(i):t(i)}return Ab=c,Ab}var zb,mj;function U4e(){if(mj)return zb;mj=1;var e=w4e(),t=S4e(),n=O4e();function c(i){return e(i,n,t)}return zb=c,zb}var Vb,fj;function W4e(){if(fj)return Vb;fj=1;var e=U4e(),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 S=r.constructor,N=s.constructor;S!=N&&"constructor"in r&&"constructor"in s&&!(typeof S=="function"&&S instanceof S&&typeof N=="function"&&N instanceof N)&&(b=!1)}return u.delete(r),u.delete(s),b}return Vb=i,Vb}var Pb,gj;function G4e(){if(gj)return Pb;gj=1;var e=h1(),t=wt(),n=e(t,"DataView");return Pb=n,Pb}var Tb,vj;function K4e(){if(vj)return Tb;vj=1;var e=h1(),t=wt(),n=e(t,"Promise");return Tb=n,Tb}var Hb,xj;function Z4e(){if(xj)return Hb;xj=1;var e=h1(),t=wt(),n=e(t,"Set");return Hb=n,Hb}var Db,Mj;function X4e(){if(Mj)return Db;Mj=1;var e=h1(),t=wt(),n=e(t,"WeakMap");return Db=n,Db}var Bb,_j;function Y4e(){if(_j)return Bb;_j=1;var e=G4e(),t=cC(),n=K4e(),c=Z4e(),i=X4e(),r=zL(),s=oA(),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}),Bb=v,Bb}var Rb,Lj;function J4e(){if(Lj)return Rb;Lj=1;var e=k4e(),t=iA(),n=I4e(),c=W4e(),i=Y4e(),r=iC(),s=rA(),d=dA(),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 S=_==p,N=L==p,j=_==L;if(j&&s(m)){if(!s(x))return!1;w=!0,S=!1}if(j&&!S)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 q=S&&f.call(m,"__wrapped__"),H=N&&f.call(x,"__wrapped__");if(q||H){var B=q?m.value():m,A=H?x.value():x;return b||(b=new e),I(B,A,M,v,b)}}return j?(b||(b=new e),c(m,x,M,v,I,b)):!1}return Rb=g,Rb}var Fb,Ij;function Q4e(){if(Ij)return Fb;Ij=1;var e=J4e(),t=TL();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 Fb=n,Fb}var Eb,bj;function e5e(){if(bj)return Eb;bj=1;var e=Q4e();function t(n,c){return e(n,c)}return Eb=t,Eb}var t5e=e5e();const a5e=a.getDefaultExportFromCjs(t5e),n5e=({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(()=>{a5e(M.current,t)||(u(t),M.current=t)},[t]);const v=(L,S)=>{const N={...h,[L]:S};if(u(N),f[L]){const j=e.fields.find(q=>q.name===L);if(j){const q=LL(S,j);y(H=>({...H,[L]:q.isValid?"":q.error}))}}},I=L=>{if(!f[L]){g(N=>({...N,[L]:!0}));const S=e.fields.find(N=>N.name===L);if(S){const N=LL(h[L],S);y(j=>({...j,[L]:N.isValid?"":N.error}))}}},b=async L=>{L.preventDefault(),x(!0);const S=e.fields.reduce((j,q)=>(q.type!=="section"&&(j[q.name]=!0),j),{});g(S);const N=Oq(h,e.fields.filter(j=>j.type!=="section"));if(y(N.errors),N.isValid)try{await n(h)}catch(j){console.error("Erreur lors de la soumission:",j),y(q=>({...q,__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:me.formContainer,children:[o.jsx("div",{className:me.headerLine,children:o.jsx("h2",{className:me.formTitle,children:e.title})}),e.description&&o.jsx("p",{className:me.formDescription,children:e.description}),p.__global&&o.jsx("div",{className:`alert alert-danger ${me.globalError}`,children:p.__global}),o.jsxs("form",{onSubmit:b,children:[o.jsx("div",{className:me.gridContainer,style:{gridTemplateColumns:`repeat(${_}, minmax(0, 1fr))`},children:e.fields.map(L=>{if(L.type==="section")return o.jsxs("div",{className:me.sectionFull,children:[o.jsx("h5",{className:me.sectionTitle,children:L.label}),L.help&&o.jsx("p",{className:me.sectionHelp,children:L.help})]},L.name);const N={gridColumn:`span ${Math.max(1,Math.min(_,L.gridCol??_))}`};return o.jsxs("div",{className:me.fieldGridItem,style:N,children:[o.jsx(Qq,{field:L,value:h[L.name],onChange:j=>v(L.name,j),onBlur:()=>I(L.name),error:p[L.name],touched:f[L.name]}),L.help&&o.jsx("small",{className:me.fieldHelp,children:L.help})]},L.name)})}),o.jsxs("div",{className:me.formFooter,children:[o.jsx("div",{className:me.footerLeft,children:s&&o.jsxs("button",{type:"button",className:me.cancelLink,onClick:s,children:[w&&o.jsx(w,{size:16,className:"me-2"})," ",d]})}),o.jsx("div",{className:me.footerRight,children:o.jsx(uL,{type:"submit",variant:"primary",size:"md",className:me.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 o5e(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const wj=new Map,vw=({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=wj.get(e);u||(u=fetch(e).then(m=>{if(!m.ok)throw new Error(`Failed to load ${e}`);return m.text()}),wj.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},c5e="_container_1gljv_85",i5e="_tableWrapper_1gljv_111",r5e="_tableControls_1gljv_117",s5e="_controlsRight_1gljv_128",d5e="_limitedRows_1gljv_151",l5e="_table_1gljv_111",h5e="_headerCell_1gljv_206",u5e="_headerContent_1gljv_220",p5e="_headerWords_1gljv_229",y5e="_headerWord_1gljv_229",k5e="_cellContent_1gljv_276",m5e="_alignLeft_1gljv_286",f5e="_alignCenter_1gljv_290",g5e="_alignRight_1gljv_294",v5e="_tableCell_1gljv_298",x5e="_tableRow_1gljv_308",M5e="_emptyRow_1gljv_385",_5e="_toggleFiltersButton_1gljv_393",L5e="_toggleSortButton_1gljv_394",I5e="_buttonTextCompact_1gljv_415",b5e="_uppercaseSmall_1gljv_450",w5e="_filtersPanel_1gljv_463",C5e="_filtersPanelInline_1gljv_481",N5e="_filtersPanelHorizontal_1gljv_492",S5e="_filtersRow_1gljv_492",j5e="_filtersActionsHorizontal_1gljv_525",$5e="_filterItemInline_1gljv_542",q5e="_filterLabel_1gljv_571",A5e="_filterInput_1gljv_576",z5e="_filterSelect_1gljv_577",V5e="_operatorSelect_1gljv_578",P5e="_operatorInput_1gljv_579",T5e="_activeFilterTag_1gljv_597",H5e="_actionsGroup_1gljv_609",D5e="_applyButton_1gljv_615",B5e="_cancelButton_1gljv_625",R5e="_columnSorterContainer_1gljv_649",F5e="_sorterControls_1gljv_654",E5e="_sortDropdownWrapper_1gljv_659",O5e="_sortDropdown_1gljv_659",U5e="_sortDropdownHeader_1gljv_679",W5e="_closeButton_1gljv_688",G5e="_sortDropdownContent_1gljv_703",K5e="_sortDropdownItem_1gljv_709",Z5e="_sortDirectionButtons_1gljv_734",X5e="_sortDirectionButton_1gljv_734",Y5e="_activeSort_1gljv_757",J5e="_sortActions_1gljv_764",Q5e="_paginationButton_1gljv_842",eke="_pageSizeSelect_1gljv_844",tke="_topPagination_1gljv_853",ake="_paginationContainer_1gljv_861",nke="_leftGroup_1gljv_874",oke="_pageSizeControls_1gljv_882",cke="_paginationInfo_1gljv_908",ike="_paginationControls_1gljv_916",rke="_disabledButton_1gljv_947",ske="_activeButton_1gljv_952",dke="_navigationButton_1gljv_962",lke="_operatorFilterContainer_1gljv_1010",hke="_rangeSeparator_1gljv_1016",uke="_activeFiltersSection_1gljv_1179",pke="_activeFiltersRow_1gljv_1184",yke="_activeFiltersList_1gljv_1192",kke="_clearAllButton_1gljv_1200",mke="_removeFilterButton_1gljv_1221",fke="_sortIndicator_1gljv_1272",gke="_active_1gljv_349",vke="_clearSortButton_1gljv_1371",xke="_loaderSpinner_1gljv_2743",Mke="_loaderSpinnerSmall_1gljv_2755",_ke="_paginationLoading_1gljv_2772",Lke="_loadingButton_1gljv_2780",Ike="_loadingIndicator_1gljv_2791",T={container:c5e,tableWrapper:i5e,tableControls:r5e,controlsRight:s5e,limitedRows:d5e,table:l5e,headerCell:h5e,headerContent:u5e,headerWords:p5e,headerWord:y5e,cellContent:k5e,alignLeft:m5e,alignCenter:f5e,alignRight:g5e,tableCell:v5e,tableRow:x5e,emptyRow:M5e,toggleFiltersButton:_5e,toggleSortButton:L5e,buttonTextCompact:I5e,uppercaseSmall:b5e,filtersPanel:w5e,filtersPanelInline:C5e,filtersPanelHorizontal:N5e,filtersRow:S5e,filtersActionsHorizontal:j5e,filterItemInline:$5e,filterLabel:q5e,filterInput:A5e,filterSelect:z5e,operatorSelect:V5e,operatorInput:P5e,activeFilterTag:T5e,actionsGroup:H5e,applyButton:D5e,cancelButton:B5e,columnSorterContainer:R5e,sorterControls:F5e,sortDropdownWrapper:E5e,sortDropdown:O5e,sortDropdownHeader:U5e,closeButton:W5e,sortDropdownContent:G5e,sortDropdownItem:K5e,sortDirectionButtons:Z5e,sortDirectionButton:X5e,activeSort:Y5e,sortActions:J5e,paginationButton:Q5e,pageSizeSelect:eke,topPagination:tke,paginationContainer:ake,leftGroup:nke,pageSizeControls:oke,paginationInfo:cke,paginationControls:ike,disabledButton:rke,activeButton:ske,navigationButton:dke,operatorFilterContainer:lke,rangeSeparator:hke,activeFiltersSection:uke,activeFiltersRow:pke,activeFiltersList:yke,clearAllButton:kke,removeFilterButton:mke,sortIndicator:fke,active:gke,clearSortButton:vke,loaderSpinner:xke,loaderSpinnerSmall:Mke,paginationLoading:_ke,loadingButton:Lke,loadingIndicator:Ike},bke=({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:T.filterSelect,children:[o.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),o.jsx("option",{value:"true",children:"Oui"}),o.jsx("option",{value:"false",children:"Non"})]}),wke=({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:T.filterInput}),Cke=({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:T.filterMultiSelect,children:i.map((d,l)=>o.jsx("option",{value:String(d.value),children:d.label},l))})},Cj=({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:T.filterInput})},Nke=({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:T.filterInput,children:[o.jsx("option",{value:"",children:"Select..."}),i.map(h=>o.jsx("option",{value:h.value,children:h.label},h.value))]})},Ske=({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:T.filterInput})},jke=({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:T.operatorFilterContainer,children:[o.jsxs("select",{value:i,onChange:l,disabled:c,className:T.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:T.operatorInput})]})},$ke=({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:T.dateRangeContainer,children:[o.jsx("input",{type:"date",value:c.start||"",onChange:i,disabled:n,className:T.filterInput}),o.jsx("span",{className:T.rangeSeparator,children:"→"}),o.jsx("input",{type:"date",value:c.end||"",onChange:r,disabled:n,className:T.filterInput})]})},qke=({config:e,value:t,onChange:n,disabled:c})=>{switch(e.type){case"text":case"search":return o.jsx(Ske,{config:e,value:t,onChange:n,disabled:c});case"number":return o.jsx(Cj,{config:e,value:t,onChange:n,disabled:c});case"range":return o.jsx(Cj,{config:e,value:t,onChange:n,disabled:c});case"select":return o.jsx(Nke,{config:e,value:t,onChange:n,disabled:c});case"operator":return o.jsx(jke,{config:e,value:t,onChange:n,disabled:c});case"multiselect":return o.jsx(Cke,{config:e,value:t,onChange:n,disabled:c});case"date":return o.jsx(wke,{config:e,value:t,onChange:n,disabled:c});case"daterange":return o.jsx($ke,{config:e,value:t??{start:"",end:""},onChange:n,disabled:c});case"boolean":return o.jsx(bke,{config:e,value:t,onChange:n,disabled:c});default:return o.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},lA=({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}},Ake=(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 hA(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 Ake(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 uA=({value:e})=>e,pA=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),yA=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),kA=({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)},mA=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},fA=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),gA=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),vA=({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"})),xw={renderers:{text:uA,email:pA,link:yA,badge:kA,date:mA,number:fA,currency:gA,image:vA},icons:{sortAsc:k.createElement(Ac,{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})}},zke=(e,t)=>{xw.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),xw.renderers[e]=t},Vke=({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:_}=lA({filters:e,externalFilters:t,onFiltersChange:n,onApply:c,isControlled:i}),L=k.useRef(null),S=k.useRef(null);k.useEffect(()=>{if(v&&L.current){const A=L.current.getBoundingClientRect().height;h?.(A)}else h?.(0)},[v,e,b,h]);const N=()=>{typeof s=="boolean"?d?.(!s):M(A=>{const z=!A;return d?.(z),z})},j=()=>e.map(A=>{const z=b?.[A.id];return z==null||typeof z=="string"&&z.trim()===""?null:{id:A.id,label:A.label,value:z}}).filter(Boolean),q=async()=>{let A;try{A=await C()}catch{A=void 0}let z=[];A&&Array.isArray(A)&&A.length>0?z=A:I&&I.length>0?z=I:z=j(),n?.(z),c?.(z)},H=()=>{d?.(!1),typeof s!="boolean"&&M(!1)},B=()=>{_(),n?.([]),c?.([])};return k.useEffect(()=>{const A=$=>{v&&S.current&&(S.current.contains($.target)||(d?.(!1),typeof s!="boolean"&&M(!1)))},z=$=>{$.key==="Escape"&&v&&(d?.(!1),typeof s!="boolean"&&M(!1))};return v&&(document.addEventListener("pointerdown",A),document.addEventListener("keydown",z)),()=>{document.removeEventListener("pointerdown",A),document.removeEventListener("keydown",z)}},[v,s,d]),o.jsxs("div",{className:T.advancedFiltersContainer,ref:S,children:[o.jsxs("button",{className:`${T.toggleFiltersButton} ${I.length>0?T.active:""} ${v?T.toggleFiltersButtonOpen:""} ${m?T.loadingButton:""}`,onClick:N,"aria-expanded":v,"aria-controls":"advanced-filters-panel",type:"button",disabled:m,children:[m?o.jsx("span",{className:T.loaderSpinnerSmall}):o.jsx(At,{size:14}),o.jsx("span",{className:T.buttonTextCompact,children:u}),I.length>0&&!m&&o.jsx("span",{className:T.filterCountBadge,"aria-hidden":!0,children:I.length}),m&&o.jsx("span",{className:T.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),v&&o.jsxs("div",{id:"advanced-filters-panel",ref:L,className:`${T.filtersPanel} ${l==="top"?`${T.filtersPanelInline} ${T.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[o.jsx("div",{className:T.filtersRow,children:e.map(A=>o.jsxs("div",{className:`${T.filterItem} ${T.filterItemInline}`,children:[o.jsxs("label",{className:T.filterLabel,children:[A.label,A.required&&o.jsx("span",{className:T.required,children:"*"})]}),o.jsx(qke,{config:A,value:b[A.id],onChange:z=>w(A.id,z),disabled:A.disabled})]},A.id))}),o.jsxs("div",{className:T.filtersActionsHorizontal,children:[o.jsx("div",{className:T.activeFiltersSection,children:I.length>0&&o.jsxs("div",{className:T.activeFiltersRow,children:[o.jsx("span",{className:T.activeLabelCompact,children:"Actifs :"}),o.jsx("div",{className:T.activeFiltersList,children:I.map(A=>o.jsxs("div",{className:T.activeFilterTag,children:[A.label??A.id,o.jsx("button",{className:T.removeFilterButton,onClick:()=>w(A.id,void 0),"aria-label":`Supprimer ${A.id}`,type:"button",children:"×"})]},A.id))}),o.jsxs("button",{className:T.clearAllButton,onClick:B,type:"button",children:[o.jsx(at,{size:12})," ",f]})]})}),o.jsxs("div",{className:T.actionsGroup,children:[o.jsx("button",{className:T.cancelButton,onClick:H,type:"button",disabled:m,children:y}),o.jsx("button",{className:`${T.applyButton} ${m?T.loadingButton:""}`,onClick:q,type:"button",disabled:g||m,"aria-disabled":g||m,children:m?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:T.loaderSpinnerSmall}),o.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},Nj=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},Pke=({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:T.columnSorterContainer,ref:l,children:o.jsx("div",{className:T.sorterControls,children:d.length>0&&o.jsxs("div",{className:T.sortDropdownWrapper,ref:l,children:[o.jsxs("button",{className:`${T.toggleSortButton} ${r?T.toggleSortButtonOpen:""} ${h?T.active:""} ${i?T.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?o.jsx("span",{className:T.loaderSpinnerSmall}):o.jsx(a1,{size:14}),o.jsx("span",{className:`${T.buttonTextCompact} ${Nj(c)?T.uppercaseSmall:""}`,children:c}),h&&!i&&o.jsx("div",{className:T.sortIndicator,children:t?.direction==="asc"?o.jsx(Ac,{size:12}):o.jsx(Ht,{size:12})})]}),r&&o.jsxs("div",{className:`${T.sortDropdown} ${T.sortDropdownInline}`,role:"menu",children:[o.jsxs("div",{className:T.sortDropdownHeader,children:[o.jsx("span",{children:"Trier par:"}),o.jsx("button",{className:T.closeButton,onClick:f,"aria-label":"Fermer",type:"button",children:o.jsx(at,{size:16})})]}),o.jsx("div",{className:T.sortDropdownContent,children:d.map(g=>{const m=String(g.label??g.id),x=Nj(m);return o.jsxs("div",{className:T.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:M=>{M.key==="Enter"&&u(g.id,"asc")},children:[o.jsx("span",{className:`${T.columnSorterLabel} ${x?T.uppercaseSmall:""}`,title:m,"aria-label":m,children:m}),o.jsxs("div",{className:T.sortDirectionButtons,children:[o.jsx("button",{className:`${T.sortDirectionButton} ${t?.key===g.id&&t?.direction==="asc"?T.activeSort:""}`,onClick:()=>u(g.id,"asc"),title:"Trier par ordre croissant",type:"button",children:o.jsx(Ac,{size:12})}),o.jsx("button",{className:`${T.sortDirectionButton} ${t?.key===g.id&&t?.direction==="desc"?T.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:T.sortActions,children:o.jsxs("button",{className:T.clearSortButton,onClick:p,type:"button",children:[o.jsx(qt,{size:14}),o.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},Tke=({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:T.paginationContainer,role:"navigation","aria-label":"Pagination",children:[o.jsx("div",{className:T.leftGroup,children:s&&o.jsx("div",{className:T.pageSizeControls,children:o.jsx("select",{value:n,onChange:m=>s(Number(m.target.value)),className:T.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:T.paginationInfo,"aria-live":"polite",children:d?o.jsxs("span",{className:T.paginationLoading,children:[o.jsx("span",{className:T.loaderSpinner}),o.jsx("span",{children:"Chargement..."})]}):`${y}-${f} ${i}`}),o.jsxs("div",{className:T.paginationControls,children:[o.jsx("button",{onClick:u,disabled:h===1||d,className:`${T.paginationButton} ${T.navigationButton} ${h===1?T.disabledButton:""} ${d?T.loadingButton:""}`,"aria-label":"Page précédente",children:d&&h>1?o.jsx("span",{className:T.loaderSpinnerSmall}):"«"}),g().map(m=>o.jsx("button",{onClick:()=>r(m),disabled:d,"aria-current":h===m?"page":void 0,className:`${T.paginationButton} ${h===m?T.activeButton:""} ${d?T.loadingButton:""}`,children:d&&h===m?o.jsx("span",{className:T.loaderSpinnerSmall}):m},m)),o.jsx("button",{onClick:p,disabled:d||h>=l,className:`${T.paginationButton} ${T.navigationButton} ${d?T.loadingButton:""} ${h>=l?T.disabledButton:""}`,"aria-label":"Page suivante",children:d?o.jsx("span",{className:T.loaderSpinnerSmall}):"»"})]})]})},Hke=(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)},Dke=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},Bke=({columns:e})=>o.jsx("thead",{className:T.tableHeader,children:o.jsx("tr",{children:e.map((t,n)=>{const c=t.align==="right"?T.alignRight:t.align==="left"?T.alignLeft:T.alignCenter,i=t.preserveHeaderCase===!0,r=Hke(String(t.label??""),i),s=Dke(r),d=s?r.split(/\s+/):[];return o.jsx("th",{className:`${T.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:T.headerContent,children:s?o.jsx("div",{className:T.headerWords,children:d.map((l,h)=>o.jsx("span",{className:T.headerWord,children:l},h))}):o.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),Rke=({value:e,row:t,column:n})=>{const c=n.align==="right"?T.alignRight:n.align==="left"?T.alignLeft:T.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return o.jsx("td",{className:`${T.tableCell} ${c}`,style:{width:n.width??void 0},children:o.jsx("div",{className:T.cellContent,children:i})})},Fke=({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:`${T.tableRow} ${c?T.clickableRow:""}`,onClick:()=>c?.(e,i),style:u,children:n.map(p=>o.jsx(Rke,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},Eke=({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:T.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):o.jsx("tbody",{children:e.map((s,d)=>o.jsx(Fke,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:c+d-1,getRowStyle:r},s.id))}),xA=({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:S=!1,filtersLoading:N=!1,sortLoading:j=!1,totalCount:q=null})=>{const[H,B]=k.useState({key:null,direction:"asc"}),[A,z]=k.useState(n.currentPage??1),[$,D]=k.useState(n.pageSize??10),[R,V]=k.useState(!1),O=k.useRef(null),[J,F]=k.useState([]),K=p?d:J,pe=p?[]:J;k.useEffect(()=>{const le=n.currentPage??1,Ct=n.pageSize??10;le!==A&&z(le),Ct!==$&&D(Ct)},[n.currentPage,n.pageSize]);const{paginatedData:oe,sortedData:ve,totalPages:ie,startIndex:ae}=hA(t,e,i,H,A,$,pe),ne=ve.length,se=typeof q=="number"&&q>=0?q:ne;let ue=ie;typeof q=="number"&&q>=0&&(ue=Math.max(1,Math.ceil(q/$)));const ye=ne>10;k.useEffect(()=>{const le=Math.max(1,Math.floor(ue));A>le&&z(le),A<1&&z(1)},[ue]);const U=le=>{p||F(le),l?.(le),z(1),x?.(1)},Y=le=>{p||F(le),h?.(le),z(1),x?.(1),O.current&&O.current.style.setProperty("--filters-panel-height","0px")},ce=le=>{x?.(le),z(le)},Se=le=>{D(le),z(1),m?.(le),x?.(1)},ze=le=>{O.current&&O.current.style.setProperty("--filters-panel-height",`${Math.round(le)}px`)},xe=le=>{B(le),u?.(le)},He=le=>{V(le),!le&&O.current&&O.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(K?.length??0)>0&&V(!0)},[K]),k.useEffect(()=>{s.length>0&&K.length>0&&V(!0)},[s.length,K.length]);const je=(K?.length??0)>0&&I?I:v;return o.jsxs("div",{ref:O,className:`${T.container} ${r} ${R?T.filtersOpen:""}`,style:{background:g,"--row-height":"48px","--header-height":"56px"},children:[o.jsx("div",{className:T.tableControls,children:o.jsxs("div",{className:T.controlsRight,children:[o.jsx(Pke,{columns:e,onSort:xe,label:b,sortConfig:H,loading:j}),s.length>0&&o.jsx(Vke,{filters:s,externalFilters:K,onFiltersChange:U,onApply:Y,isControlled:p,debounceTimeout:y,expanded:R,onToggle:He,panelPlacement:"top",onPanelHeightChange:ze,label:je,applyLabel:w,cancelLabel:C,clearLabel:_,applyDisabled:L,loading:N})]})}),o.jsx("div",{className:T.topPagination,children:o.jsx(Tke,{currentPage:A,totalPages:ue,pageSize:$,totalItems:se,itemLabel:M,onPageChange:ce,onPageSizeChange:Se,loading:S})}),o.jsx("div",{className:`${T.tableWrapper} ${ye?T.limitedRows:""}`,"data-table-wrapper":!0,children:o.jsxs("table",{className:T.table,children:[o.jsx(Bke,{columns:e}),o.jsx(Eke,{data:oe,columns:e,onRowClick:c,startIndex:ae,getRowStyle:f,searchTerm:i})]})})]})};function Oke(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(xA,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const Uke=({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(Wke,{className:s,children:[o.jsxs(Gke,{children:[l,"-",h," ",r," ",n," ",u]}),o.jsx(Kke,{}),d>1&&o.jsxs(Zke,{children:[o.jsx(di,{onClick:()=>c(1),disabled:e===1,title:"Première page",children:"<<"}),o.jsx(di,{onClick:()=>c(e-1),disabled:e===1,title:"Page précédente",children:"<"}),g.map(m=>o.jsx(Xke,{$active:m===e,onClick:()=>c(m),children:m},m)),o.jsx(di,{onClick:()=>c(e+1),disabled:e===d,title:"Page suivante",children:">"}),o.jsx(di,{onClick:()=>c(d),disabled:e===d,title:"Dernière page",children:">>"})]})]})},Wke=E.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
- `,Yke="_mpRoot_31595_1",Jke="_mpHeader_31595_22",Qke="_mpTitle_31595_31",e3e="_mpList_31595_35",t3e="_mpVertical_31595_41",a3e="_mpHorizontal_31595_46",n3e="_mpItem_31595_55",o3e="_mpClickable_31595_95",c3e="_mpLeft_31595_117",i3e="_mpIcon_31595_125",r3e="_mpMeta_31595_140",s3e="_mpLabel_31595_145",d3e="_mpDate_31595_154",l3e="_mpRight_31595_160",h3e="_mpValue_31595_168",u3e="_mpHint_31595_176",p3e="_mpBadge_31595_180",y3e="_mpBadgeTop_31595_199",k3e="_mpBadgeSub_31595_206",m3e="_mpBadgeSmall_31595_213",f3e="_mpPill_31595_229",g3e="_mpRounded_31595_232",v3e="_mpCompact_31595_236",x3e="_compactItemWrapper_31595_252",M3e="_mpSummaryRoot_31595_265",_3e="_mpSummaryInner_31595_269",L3e="_mpSummaryFlex_31595_284",I3e="_mpSummaryCardWrapperHorizontal_31595_292",b3e="_mpSummaryCardWrapper_31595_292",w3e="_mpSummaryCardHorizontal_31595_303",C3e="_mpSummaryCard_31595_292",N3e="_mpSummaryValue_31595_321",S3e="_mpSummaryLabel_31595_327",j3e="_mpSummaryBadge_31595_338",$3e="_mpSummaryBadgeSub_31595_357",q3e="_mpEmpty_31595_365",A3e="_mpSummaryVertical_31595_372",z3e="_mpIconSquare_31595_380",ee={mpRoot:Yke,mpHeader:Jke,mpTitle:Qke,mpList:e3e,mpVertical:t3e,mpHorizontal:a3e,mpItem:n3e,mpClickable:o3e,mpLeft:c3e,mpIcon:i3e,mpMeta:r3e,mpLabel:s3e,mpDate:d3e,mpRight:l3e,mpValue:h3e,mpHint:u3e,mpBadge:p3e,mpBadgeTop:y3e,mpBadgeSub:k3e,mpBadgeSmall:m3e,mpPill:f3e,mpRounded:g3e,mpCompact:v3e,compactItemWrapper:x3e,mpSummaryRoot:M3e,mpSummaryInner:_3e,mpSummaryFlex:L3e,mpSummaryCardWrapperHorizontal:I3e,mpSummaryCardWrapper:b3e,mpSummaryCardHorizontal:w3e,mpSummaryCard:C3e,mpSummaryValue:N3e,mpSummaryLabel:S3e,mpSummaryBadge:j3e,mpSummaryBadgeSub:$3e,mpEmpty:q3e,mpSummaryVertical:A3e,mpIconSquare:z3e},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})`},V3e=({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]})]})},P3e=k.memo(V3e),Sj=({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})]}),jj=(e,t=1)=>{try{return Tt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},T3e=({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??jj("#7c3aed",.12),border:`1px solid ${jj(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),H3e=({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})]})]}),$j=(e,t=1)=>{try{return Tt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},qj=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:$j("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:$j("#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]})]}),Aj=(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}},D3e=e=>{switch(e){case"image":return t=>k.createElement(T3e,{item:t});case"pertinence":return t=>k.createElement(H3e,{item:t});case"alternateHorizontal":return t=>Aj(qj,t);case"compact":return t=>Aj(qj,t);case"summary":return;case"default":default:return}},MA=({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})]})},B3e=["transparent","transparent","transparent","transparent"],R3e=["transparent","transparent","transparent","transparent"],F3e=["#059669","#2563eb","#b45309","#7c3aed"],E3e=(e,t=1)=>{try{return Tt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},_A=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=B3e,summaryBorderColors:m=R3e,summaryValueColors:x=F3e,preset:_,background:v}=e,{itemsContainerStyle:I,itemsContainerClassName:b,summaryGridColumns:w,compactItemWidth:C,compactItemHeight:M,compactItemStyle:L,summaryCardWidth:j,summaryCardHeight:N,summaryCardStyle:S}=e,q=n==="vertical",B={"--mp-accent":r,"--mp-accent-soft":E3e(r,.08),"--mp-bg-primary":v},H=[ee.mpRoot,q?ee.mpVertical:ee.mpHorizontal,s?ee.mpCompact:"",f?ee.mpSummaryRoot:"",c!=="auto"?c==="vertical"?ee.mpOrientationVertical:ee.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),z=k.useMemo(()=>y||(D3e(_)??void 0),[y,_]);if(f){const A=c==="horizontal"?ee.mpSummaryFlex:ee.mpSummaryVertical,D={...(w?{display:"grid",gridTemplateColumns:`repeat(${w}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...I??{}};return o.jsxs("div",{className:H,style:B,"aria-busy":u,children:[d&&o.jsx(Sj,{title:d}),o.jsx("div",{className:ee.mpSummaryInner,children:o.jsx("div",{className:`${A} ${b??""}`,style:D,children:t.length===0?o.jsx("div",{className:ee.mpEmpty,children:p}):t.map((R,V)=>{const O=R.bgColor??g[V%g.length],J=R.borderColor??m[V%m.length],F=R.valueColor??x[V%x.length];return z?o.jsx("div",{className:c==="horizontal"?ee.mpSummaryCardWrapperHorizontal:ee.mpSummaryCardWrapper,style:{width:j??void 0,height:N??void 0,...S??{}},children:z(R,V)},R.id):o.jsx(MA,{item:R,orientation:c==="horizontal"?"horizontal":"vertical",bg:O,border:J,valueColor:F,onClick:l,width:j??void 0,height:N??void 0,extraStyle:S},R.id)})})})]})}return o.jsxs("div",{className:H,style:B,"aria-busy":u,children:[d&&o.jsx(Sj,{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(A=>{const $=s?{width:C??void 0,height:M??void 0,boxSizing:"border-box",...L??{}}:void 0;return o.jsx("div",{className:s?ee.compactItemWrapper:void 0,style:$,children:o.jsx(P3e,{item:A,shape:i,onItemClick:l,color:r,renderItem:z?D=>z(D,t.indexOf(D)):void 0})},A.id)})})]})};k.memo(_A);const O3e=({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),_=x?r:void 0,v=_?.icon?_t[_.icon]:void 0,I=28,b=_?.iconSize??I,w=["chart-container",`variant-${u}`,p?"with-border":"",d].filter(Boolean).join(" "),C=c.contentBackground??void 0,M=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:M,...s},children:[o.jsxs("div",{className:"chart-header",children:[o.jsxs("div",{title:X(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&&_?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:_.iconColor??"currentColor",size:typeof b=="number"?b:parseInt(String(b),10)||I})}),_.text&&o.jsx("div",{className:"placeholder-text",children:_.text}),_.subtext&&o.jsx("div",{className:"placeholder-subtext",children:_.subtext})]}):o.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:r}))})]})},rC=({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 _=c||y?.icon,v=typeof _=="string",I=v?_t[_]:null,b=v?null:_;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:X(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:"✕"})]})},LA=k.createContext(null),U3e=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,W3e=({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=k.useRef(null),u=k.useRef(n);k.useEffect(()=>()=>{d.current.forEach(M=>window.clearTimeout(M)),d.current.clear()},[]);const p=(M,L)=>{const j=L===void 0||L===0?t:L;if(j===-1)return;const N=window.setTimeout(()=>{g(M)},j);d.current.set(M,N)},y=M=>{const L=d.current.get(M);L&&(window.clearTimeout(L),d.current.delete(M))},f=M=>{const L=U3e(),j={...M,id:L,createdAt:Date.now()};return s(N=>{const S=[j,...N],q=u.current;return typeof q=="number"&&q>=0&&S.length>q?(S.slice(q).forEach(H=>y(H.id)),S.slice(0,q)):S}),p(L,M.duration),L},g=M=>{y(M),s(L=>L.filter(j=>j.id!==M))},m=(M,L)=>{s(j=>j.map(N=>N.id===M?{...N,...L}:N))},x=()=>{d.current.forEach(M=>window.clearTimeout(M)),d.current.clear(),s([])},_=M=>{h.current=M},v=()=>r.slice(),I=k.useMemo(()=>({showAlert:f,dismissAlert:g,updateAlert:m,clearAlerts:x,setContainerRef:_,getAlertsSnapshot:v}),[r]),b=h.current,w=o.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,display:"flex",flexDirection:"column",alignItems:"center",pointerEvents:"none",zIndex:10001,padding:"8px 4px"},children:o.jsx(Ile,{mode:"popLayout",children:r.map(M=>o.jsx(aC.div,{initial:{opacity:0,y:-10,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.98},transition:{type:"spring",damping:25,stiffness:300},style:{width:"100%",pointerEvents:"auto",boxShadow:"0 6px 20px rgba(0, 0, 0, 0.12)",borderRadius:"8px",marginBottom:"6px",backgroundColor:M.background||M.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:o.jsx(rC,{id:M.id,text:M.text,subtext:M.subtext,icon:M.icon,background:"transparent",colorTextPrimary:M.colorTextPrimary,colorTextSub:M.colorTextSub,model:M.model,onClose:()=>g(M.id),size:"100%",style:{boxShadow:"none"}})},M.id))})}),C=o.jsx("div",{ref:M=>{h.current||(l.current=M)},className:c,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:w});return o.jsxs(LA.Provider,{value:I,children:[b?_w.createPortal(w,b):C,e]})},G3e=()=>{const e=k.useContext(LA);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},K3e={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"}},Z3e="_container_18zbo_1",X3e="_icon_18zbo_9",Y3e="_selectWrapper_18zbo_23",Ob={container:Z3e,icon:X3e,selectWrapper:Y3e},J3e=({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:Ob.container,children:[o.jsxs("div",{className:Ob.icon,children:[o.jsx(w1,{size:18}),o.jsx("p",{children:c})]}),o.jsx("div",{className:Ob.selectWrapper,children:o.jsx(nC,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},Q3e=250,eme=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),_=k.useRef(null),v=k.useRef(null),I=k.useRef(null),b=k.useRef(null);k.useEffect(()=>{const M=_.current;if(!M)return;const L=M.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 M=v.current;b.current&&(window.clearTimeout(b.current),b.current=null);const L=j=>{if(j.target===M&&!(j.propertyName!=="transform"&&j.propertyName!=="opacity"))if(f){x(!0),i?.();try{M?.focus()}catch{}}else{s?.();try{I.current?.focus()}catch{}}};return M&&(M.addEventListener("transitionend",L),b.current=window.setTimeout(()=>{if(f){x(!0),i?.();try{M?.focus()}catch{}}else{s?.();try{I.current?.focus()}catch{}}},Q3e+60)),f&&(I.current=document.activeElement),()=>{M&&M.removeEventListener("transitionend",L),b.current&&(window.clearTimeout(b.current),b.current=null)}},[f,i,s]),k.useEffect(()=>{const M=L=>{L.key==="Escape"&&f&&(r?.(),x(!1),g(!1))};return window.addEventListener("keydown",M),()=>window.removeEventListener("keydown",M)},[f,r]);const w=()=>{u&&(r?.(),x(!1),g(!1))},C=typeof n=="number"?`${n}px`:n;return o.jsxs("div",{ref:_,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 tme(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 ame="_container_1pfsp_1",nme="_title_1pfsp_8",zj={container:ame,title:nme},ome=({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:`${zj.container} ${c}`,style:r,children:o.jsx("h2",{className:zj.title,children:e})})},cme="_modalOverlay_1878x_1",ime="_modalContainer_1878x_16",rme="_modalTitle_1878x_29",sme="_modalInput_1878x_38",dme="_modalTextarea_1878x_39",lme="_modalActions_1878x_70",hme="_cancelBtn_1878x_77",ume="_saveBtn_1878x_99",pme="_inputError_1878x_141",yme="_inlineAlert_1878x_146",ct={modalOverlay:cme,modalContainer:ime,modalTitle:rme,modalInput:sme,modalTextarea:dme,modalActions:lme,cancelBtn:hme,saveBtn:ume,inputError:pme,inlineAlert:yme},Bc=({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,_]=k.useState(!1),v=k.useRef(null);if(k.useEffect(()=>{if(!e)return;const M={};for(const L of i)M[L.name]=Object.prototype.hasOwnProperty.call(r,L.name)?r[L.name]:"";return y(M),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?(_(!0),v.current&&(window.clearTimeout(v.current),v.current=null),v.current=window.setTimeout(()=>{_(!1),v.current=null},3e3)):(_(!1),v.current&&(window.clearTimeout(v.current),v.current=null))},[s,e]),!e)return null;const I=(M,L)=>{y(j=>({...j,[M]:L})),l&&l(M,L)},b=async()=>{if(!Object.values(p).some(M=>M===""||M===void 0))try{m(!0);const M=await n(p);if(typeof M=="string"&&M==="duplicate-same"){m(!1);return}y({}),m(!1),t()}catch(M){console.error("AddItemModal onSave error:",M),m(!1),t()}},w=M=>{M.target===M.currentTarget&&t()},C=M=>M.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((M,L)=>{const j=p[M.name]??"",N=L===0&&!!s,S={name:M.name,placeholder:M.placeholder||M.label,value:String(j),onChange:q=>I(M.name,q.target.value),className:M.type==="textarea"?`${ct.modalTextarea} ${N?ct.inputError:""}`:`${ct.modalInput} ${N?ct.inputError:""}`,tabIndex:0,disabled:g};return L===0&&(S.ref=q=>{f.current=q}),o.jsxs("div",{style:{marginBottom:8},children:[M.type==="textarea"?o.jsx("textarea",{rows:M.rows||4,...S}):o.jsx("input",{type:M.type||"text",...S}),L===0&&x&&s&&o.jsx("div",{style:{marginTop:8},children:o.jsx(rC,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>_(!1),className:ct.inlineAlert})})]},M.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})]})]})})},kme=({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:X(c,e),children:e}),o.jsxs("p",{children:[t," clés"]})]}),o.jsxs("button",{onClick:()=>r(!0),className:"add-key-button",children:[o.jsx(Vc,{className:"add-key-icon"}),"Clé"]}),o.jsx(Bc,{isOpen:i,title:"Ajouter une clé",onClose:()=>r(!1),onSave:s,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},mme=({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=M.code?.trim()||M.id?.trim(),j=M.title?.trim(),N=L||j||String(Date.now()),S=j||L||`Module ${N}`;c({id:N,title:S,subtitle:"",translations:{}})}x()},v=(M,L)=>{M.stopPropagation(),u(L)},I=()=>u(null),b=M=>{if(!h){I();return}const L={...h,title:M.title||h.title,subtitle:""};t&&t(L),I()},w=(M,L)=>{M.stopPropagation(),n&&n(L)},C=M=>{y(M.id),i&&i(M)};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(zc,{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(M=>{const L=Object.keys(M.translations||{}).length,j=L>0||M.id===p;return o.jsxs("div",{className:`module-item ${M.id===p?"selected":""}`,onClick:()=>C(M),role:"button",tabIndex:0,onKeyDown:N=>{N.key==="Enter"&&C(M)},children:[o.jsxs("div",{className:"module-left",children:[o.jsx($1,{size:16,className:"item-folder"}),o.jsxs("div",{className:"module-info",children:[o.jsxs("div",{className:"module-title",children:[M.title,j&&o.jsxs("span",{className:"count",children:[" ",L," "]})]}),M.subtitle?o.jsx("div",{className:"module-subtitle",children:M.subtitle}):null]})]}),o.jsxs("div",{className:"module-actions",children:[t&&o.jsx(o1,{onClick:N=>v(N,M),color:"#777",size:16}),n&&o.jsx(kt,{onClick:N=>w(N,M.id),color:"#777",size:16})]})]},M.id)})}),o.jsx(Bc,{isOpen:d,onClose:x,onSave:_,title:s||"Ajouter un module",fields:r&&r.length?r.map(M=>({name:M.name,label:M.label,type:M.type,placeholder:M.placeholder,rows:M.rows})):[{name:"title",label:"Titre",placeholder:"Titre du module"}]}),h&&o.jsx(Bc,{isOpen:!!h,onClose:I,onSave:b,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},IA=({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:X(r,e),children:[o.jsx("div",{className:"search-icon-wrapper",children:o.jsx(z1,{className:"search-icon",color:i})}),o.jsx("input",{type:"text",placeholder:e,value:t,onChange:d=>n?.(d.target.value),className:`search-input ${s}`})]}),fme=({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,_]=k.useState(""),[v,I]=k.useState(""),[b,w]=k.useState(!1),[C,M]=k.useState(!1),[L,j]=k.useState(null),[N,S]=k.useState(!1),q=t.map(V=>V.language),B=n.filter(V=>!q.includes(V.code)),H=()=>{y&&v.trim()&&(d?.(e,y,v.trim()),f(""),I(""),p(!1))},z=(V,O)=>{m(V),_(O)},A=V=>{r?.(e,V,x),m(null),_("")},$=()=>{m(null),_("")},D=async V=>{const O=V.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=(V,O)=>{if(V!=="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:()=>M(!C),title:C?"Déplier":"Replier",children:C?o.jsx(N1,{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:V=>{V.stopPropagation(),w(!0)},title:"Renommer la clé",children:o.jsx(vt,{className:"action-icon"})}),o.jsx("button",{onClick:V=>{V.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(V=>o.jsxs("div",{className:"translation-row",children:[o.jsx("div",{className:"language-code",children:V.language}),o.jsx("div",{className:"translation-content",children:g===V.language?o.jsxs(o.Fragment,{children:[o.jsx("input",{type:"text",value:x,onChange:O=>_(O.target.value),className:"edit-input",autoFocus:!0,onKeyDown:O=>{O.key==="Enter"&&A(V.language),O.key==="Escape"&&$()}}),o.jsx("button",{onClick:()=>A(V.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:V.value,children:V.value}),o.jsx("button",{onClick:()=>z(V.language,V.value),className:"edit-button",title:"Éditer la traduction",children:o.jsx(vt,{className:"action-icon"})}),o.jsx("button",{onClick:()=>s?.(e,V.language),className:"delete-translation-button",title:"Supprimer la traduction",children:o.jsx(at,{className:"action-icon"})})]})})]},V.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:V=>f(V.target.value),className:"language-select",children:[o.jsx("option",{value:"",children:"Sélectionnez la langue"}),B.map(V=>o.jsxs("option",{value:V.code,children:[V.name," (",V.code,")"]},V.code))]})}),y&&o.jsx("input",{type:"text",value:v,onChange:V=>I(V.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:V=>{V.key==="Enter"&&H(),V.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:B.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(Bc,{isOpen:b,onClose:()=>{w(!1),j(null),S(!1)},onSave:D,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})]})},gme="_wrapper_1wvht_1",vme="_leftGroup_1wvht_12",xme="_filterButton_1wvht_21",Mme="_open_1wvht_42",_me="_filterIcon_1wvht_42",Lme="_infoText_1wvht_58",Ime="_pickerContainer_1wvht_66",bme="_srOnly_1wvht_79",wme="_pickerLabel_1wvht_91",Cme="_datetime_1wvht_98",Nme="_rightGroup_1wvht_107",Sme="_searchInputWrap_1wvht_116",jme="_searchInput_1wvht_116",$me="_searchIcon_1wvht_152",Ee={wrapper:gme,leftGroup:vme,filterButton:xme,open:Mme,filterIcon:_me,infoText:Lme,pickerContainer:Ime,srOnly:bme,pickerLabel:wme,datetime:Cme,rightGroup:Nme,searchInputWrap:Sme,searchInput:jme,searchIcon:$me};function qme({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 Ame=({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"),_=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&&!_?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[M,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(M,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)})})]})},zme=({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[_,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:_})}),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)})})]})},Vme=({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)})})]})},Pme=({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}))}),Tme=({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}))}),Hme="_overlay_3x4or_2",Dme="_fadeIn_3x4or_1",Bme="_popup_3x4or_17",Rme="_slideUp_3x4or_1",Fme="_header_3x4or_28",Eme="_body_3x4or_40",Ome="_footer_3x4or_51",Ume="_cancelButton_3x4or_59",Wme="_confirmButton_3x4or_77",Gme="_warning_3x4or_97",Kme="_danger_3x4or_106",Zme="_info_3x4or_115",St={overlay:Hme,fadeIn:Dme,popup:Bme,slideUp:Rme,header:Fme,body:Eme,footer:Ome,cancelButton:Ume,confirmButton:Wme,warning:Gme,danger:Kme,info:Zme},Xme=({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})]})]})})},Yme=()=>{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}},Jme="_container_145xs_1",Qme="_selectButton_145xs_7",e6e="_disabled_145xs_22",t6e="_error_145xs_39",a6e="_outline_145xs_52",n6e="_filled_145xs_58",o6e="_sm_145xs_67",c6e="_md_145xs_73",i6e="_lg_145xs_79",r6e="_buttonContent_145xs_85",s6e="_label_145xs_93",d6e="_placeholder_145xs_103",l6e="_iconsContainer_145xs_108",h6e="_loadingSpinner_145xs_115",u6e="_spin_145xs_1",p6e="_arrowIcon_145xs_133",y6e="_arrowIconOpen_145xs_141",k6e="_dropdown_145xs_146",m6e="_dropdownIn_145xs_1",f6e="_searchContainer_145xs_173",g6e="_searchInputWrapper_145xs_179",v6e="_searchIcon_145xs_185",x6e="_searchInput_145xs_179",M6e="_optionsList_145xs_210",_6e="_noResults_145xs_235",L6e="_option_145xs_210",I6e="_optionHighlighted_145xs_265",b6e="_optionSelected_145xs_270",w6e="_optionDisabled_145xs_281",C6e="_optionLabel_145xs_287",N6e="_checkIcon_145xs_295",S6e="_widthFull_145xs_303",j6e="_width64_145xs_306",$6e="_width80_145xs_309",q6e="_width96_145xs_312",de={container:Jme,selectButton:Qme,disabled:e6e,error:t6e,default:"_default_145xs_48",outline:a6e,filled:n6e,sm:o6e,md:c6e,lg:i6e,buttonContent:r6e,label:s6e,placeholder:d6e,iconsContainer:l6e,loadingSpinner:h6e,spin:u6e,arrowIcon:p6e,arrowIconOpen:y6e,dropdown:k6e,dropdownIn:m6e,searchContainer:f6e,searchInputWrapper:g6e,searchIcon:v6e,searchInput:x6e,optionsList:M6e,noResults:_6e,option:L6e,optionHighlighted:I6e,optionSelected:b6e,optionDisabled:w6e,optionLabel:C6e,checkIcon:N6e,widthFull:S6e,width64:j6e,width80:$6e,width96:q6e},li=4,Vj=8,A6e=({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,_]=k.useState(0),[v,I]=k.useState({top:0,left:0,width:0}),[b,w]=k.useState("bottom"),[C,M]=k.useState(null),L=k.useRef(null),j=k.useRef(null),N=k.useRef(null),S=k.useMemo(()=>g?e.filter(F=>F.label.toLowerCase().includes(g.toLowerCase())):e,[e,g]),q=e.find(F=>F.value===t),B=k.useCallback(()=>{if(L.current){const F=L.current.getBoundingClientRect();I({top:F.top,left:F.left,width:F.width})}},[]),H=k.useCallback(()=>{if(!L.current)return;const F=L.current.getBoundingClientRect(),K=F.top-li-Vj,pe=window.innerHeight-F.bottom-li-Vj;let oe;p!=="auto"?oe=p:oe=(j.current?.scrollHeight??0)<=pe?"bottom":K>pe?"top":"bottom",w(ve=>ve===oe?ve:oe),M(Math.max(oe==="bottom"?pe:K,0))},[p]),z=k.useCallback(()=>{B(),H()},[B,H]);k.useEffect(()=>(y&&(z(),window.addEventListener("scroll",z,!0),window.addEventListener("resize",z)),()=>{window.removeEventListener("scroll",z,!0),window.removeEventListener("resize",z)}),[y,z]),k.useLayoutEffect(()=>{y&&H()},[y,H]),k.useEffect(()=>{const F=K=>{L.current&&!L.current.contains(K.target)&&j.current&&!j.current.contains(K.target)&&(f(!1),m(""))};return document.addEventListener("mousedown",F),()=>document.removeEventListener("mousedown",F)},[]),k.useEffect(()=>{_(0)},[S]);const A=F=>{F.disabled||(n?.(F.value,F),f(!1),m(""))},$=F=>{m(F.target.value),y||f(!0)},D=F=>{if(!y){(F.key==="ArrowDown"||F.key==="Enter")&&f(!0);return}switch(F.key){case"ArrowDown":F.preventDefault(),_(K=>K<S.length-1?K+1:K);break;case"ArrowUp":F.preventDefault(),_(K=>K>0?K-1:K);break;case"Enter":F.preventDefault(),S[x]&&A(S[x]);break;case"Escape":f(!1),m("");break}},R=()=>[de.selectButton,de[l],de[h],i?de.disabled:"",s?de.error:"",d].filter(Boolean).join(" "),V=()=>{switch(u){case"w-64":return de.width64;case"w-80":return de.width80;case"w-96":return de.width96;default:return de.widthFull}},O=(F,K)=>[de.option,K===x?de.optionHighlighted:"",F.value===t?de.optionSelected:"",F.disabled?de.optionDisabled:""].filter(Boolean).join(" "),J={position:"fixed",top:b==="bottom"?v.top+(L.current?.offsetHeight||0)+li:"auto",bottom:b==="top"?window.innerHeight-v.top+li:"auto",left:v.left,width:v.width,maxHeight:C!=null?`${C}px`:void 0,zIndex:9999};return o.jsxs("div",{className:`${de.container} ${V()}`,children:[o.jsx("button",{ref:L,className:R(),onClick:()=>!i&&f(!y),onKeyDown:D,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":y,disabled:i,children:o.jsxs("div",{className:de.buttonContent,children:[o.jsx("span",{className:`${de.label} ${q?"":de.placeholder}`,children:q?q.label:c}),o.jsxs("div",{className:de.iconsContainer,children:[r&&o.jsx("div",{className:de.loadingSpinner}),o.jsx("svg",{className:`${de.arrowIcon} ${y?de.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&&_w.createPortal(o.jsxs("div",{className:`${de.dropdown} ${V()}`,style:J,ref:j,children:[o.jsx("div",{className:de.searchContainer,children:o.jsxs("div",{className:de.searchInputWrapper,children:[o.jsx("svg",{className:de.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:de.searchInput,autoFocus:!0})]})}),o.jsx("div",{className:de.optionsList,children:S.length===0?o.jsx("div",{className:de.noResults,children:"Aucun résultat trouvé"}):o.jsx("ul",{role:"listbox",children:S.map((F,K)=>o.jsx("li",{className:O(F,K),onClick:()=>A(F),onMouseEnter:()=>_(K),role:"option","aria-selected":F.value===t,"aria-disabled":F.disabled,children:o.jsxs("div",{className:de.buttonContent,children:[o.jsx("span",{className:de.optionLabel,title:F.label,children:F.label}),F.value===t&&o.jsx("svg",{className:de.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"})})]})},F.value))})})]}),document.body)]})},z6e="_container_uq7pt_1",V6e="_item_uq7pt_7",P6e="_mainValue_uq7pt_13",T6e="_label_uq7pt_17",H6e="_subValue_uq7pt_22",D6e="_subValueWrapper_uq7pt_27",B6e="_subSeparator_uq7pt_32",Je={container:z6e,item:V6e,mainValue:P6e,label:T6e,subValue:H6e,subValueWrapper:D6e,subSeparator:B6e},R6e=({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))]})},F6e="_encours_16ist_1",E6e="_header_16ist_19",O6e="_iconWrap_16ist_27",U6e="_title_16ist_36",W6e="_items_16ist_47",G6e="_spaceEvenly_16ist_56",K6e="_item_16ist_47",Z6e="_valueContainer_16ist_86",X6e="_value_16ist_86",Y6e="_label_16ist_108",lt={encours:F6e,header:E6e,iconWrap:O6e,title:U6e,items:W6e,spaceEvenly:G6e,item:K6e,valueContainer:Z6e,value:X6e,label:Y6e},qc=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function J6e(e,t){const n={},c={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=qc(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=qc(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=qc(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(c.fontSize=qc(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?c.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(c.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:c}}function Q6e(){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 efe(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:_,ariaLabel:v}=e,I=r?_t[r]:void 0,b={background:g,width:qc(m),...f},w={};n&&(w.color=n),c!==void 0&&(w.fontSize=qc(c)),i!==void 0&&(w.fontWeight=i);const C={};return d&&(C.color=d),o.jsxs("section",{className:`${lt.encours} ${_??""}`,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(Q6e,{})}),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((M,L)=>{const{valueStyle:j,labelStyle:N}=J6e(M,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return o.jsx("div",{className:lt.item,role:"listitem",style:{...M.background?{background:M.background}:{},...M.width?{width:qc(M.width)}:{}},children:o.jsxs("div",{className:lt.valueContainer,children:[o.jsx("div",{className:lt.value,style:j,children:M.value}),M.label&&o.jsx("div",{className:lt.label,style:N,children:M.label})]})},`${String(M.label??M.value)}-${L}`)})})]})}const tfe=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"})),afe=k.memo(tfe),nfe=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"})),ofe=k.memo(nfe),cfe=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"})),ife=k.memo(cfe),rfe=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"})),sfe=k.memo(rfe),dfe=({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 _=(b,w)=>{w<4||g(C=>C.map(M=>M.component_key===b?{...M,visible:!M.visible}:M))},v=()=>{t(f),y(!1)},I=X(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(c$,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),p?o.jsx(ofe,{width:d,height:d,fill:l?.icon||"currentColor"}):o.jsx(afe,{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:()=>_(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(ife,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):o.jsx(sfe,{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})})]})]})},lfe="_container_zhny9_1",hfe="_card_zhny9_15",ufe="_footer_zhny9_33",pfe="_noPaddingMobile_zhny9_51",hi={container:lfe,card:hfe,footer:ufe,noPaddingMobile:pfe},yfe="_board_95t8m_1",kfe="_clickable_95t8m_21",mfe="_sideBar_95t8m_26",ffe="_boardContent_95t8m_32",gfe="_orange_95t8m_40",vfe="_red_95t8m_44",xfe="_green_95t8m_48",Mfe="_grey_95t8m_52",_fe="_lightGrey_95t8m_56",Lfe="_big_95t8m_61",Ife="_medium_95t8m_66",bfe="_headerRow_95t8m_70",wfe="_iconWrapper_95t8m_75",Cfe="_headerTitle_95t8m_80",Nfe="_valueArea_95t8m_89",Sfe="_titleWhite_95t8m_99",jfe="_titleBlack_95t8m_103",$fe="_valueWhite_95t8m_108",qfe="_valueBlack_95t8m_112",Afe="_valueBlue_95t8m_116",zfe="_bars_95t8m_121",Vfe="_bar_95t8m_121",Pfe="_barDark_95t8m_135",Tfe="_barDim_95t8m_139",Hfe="_predictionSection_95t8m_143",Dfe="_predictionHeader_95t8m_155",Bfe="_predictionBody_95t8m_162",Rfe="_hasPrediction_95t8m_170",Te={board:yfe,clickable:kfe,sideBar:mfe,boardContent:ffe,orange:gfe,red:vfe,green:xfe,grey:Mfe,lightGrey:_fe,big:Lfe,medium:Ife,headerRow:bfe,iconWrapper:wfe,headerTitle:Cfe,valueArea:Nfe,titleWhite:Sfe,titleBlack:jfe,valueWhite:$fe,valueBlack:qfe,valueBlue:Afe,bars:zfe,bar:Vfe,barDark:Pfe,barDim:Tfe,predictionSection:Hfe,predictionHeader:Dfe,predictionBody:Bfe,hasPrediction:Rfe},Ffe=({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:_,valueFontWeight:v,barColor:I,justifyContent:b="space-between",alignItems:w="flex-start",cardGap:C="",onClick:M,iconColor:L,titleKey:j,predictionValue:N,predictionLabel:S})=>{const q=r!=="none",B=r==="endingDark",{padding:H,...z}=y||{},A=h===void 0&&u===void 0&&i===void 0&&Object.keys(z).length===0?void 0:{...h!==void 0?{width:h}:{},...u!==void 0?{height:u}:{},...i!==void 0?{backgroundColor:i}:{},...z},$=`${Te.board} ${Te[d]} ${N!==void 0?Te.hasPrediction:""} ${p}`;return o.jsxs("div",{className:$,onClick:M,style:l!==void 0?{...A,"--ds-value-scale":l}:A,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:X(e,j),"aria-label":e?.description,style:{color:f,...m?{fontSize:m}:{},...x?{fontWeight:x}:{}},children:n})}),q?o.jsx(Ffe,{endingDark:B,lightCount:s}):null]}),o.jsx("div",{className:Te.valueArea,style:{color:g,..._?{fontSize:_}:{},...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})]})]})},Efe="_wrapper_1ydle_10",Ofe="_hosp_1ydle_19",Ufe="_headerRow_1ydle_54",Wfe="_iconWrapper_1ydle_61",Gfe="_headerTitle_1ydle_67",Kfe="_hospValue_1ydle_76",Zfe="_side_1ydle_88",Xfe="_mini_1ydle_100",Yfe="_miniLabel_1ydle_131",Jfe="_miniValue_1ydle_140",Qfe="_miniBars_1ydle_150",e8e="_bars_1ydle_155",t8e="_bar_1ydle_155",a8e="_barDark_1ydle_169",n8e="_barDim_1ydle_173",Be={wrapper:Efe,hosp:Ofe,headerRow:Ufe,iconWrapper:Wfe,headerTitle:Gfe,hospValue:Kfe,side:Zfe,mini:Xfe,miniLabel:Yfe,miniValue:Jfe,miniBars:Qfe,bars:e8e,bar:t8e,barDark:a8e,barDim:n8e},o8e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${Be.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${Be.bar} ${r<c?"":e?Be.barDark:Be.barDim}`},r))})},bA=({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:`${Be.wrapper} ${n} data-four-boards`,style:l,children:[o.jsxs("div",{className:`${Be.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:X(e.a11yConfig,e.titleKey),children:[o.jsxs("div",{className:Be.headerRow,children:[o.jsxs("div",{className:`${Be.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&o.jsx("span",{style:{color:e.iconColor},children:e.iconName}),o.jsx("span",{className:Be.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},title:X(e.a11yConfig,e.titleKey),children:e.label})]}),s?o.jsx(o8e,{endingDark:d,lightCount:e.lightBars??5}):null]}),o.jsx("div",{className:Be.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:Be.side,children:t.map((h,u)=>o.jsxs("div",{className:`${Be.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:X(h.a11yConfig,h.titleKey),children:[o.jsxs("span",{className:Be.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:X(h.a11yConfig,h.titleKey),children:[h.iconName&&o.jsx("span",{style:{color:h.iconColor},children:h.iconName}),h.label]}),o.jsx("span",{className:`${Be.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:Be.miniBars})]},h.id??`${h.label}-${u}`))})]})},c8e=({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],_=e.slice(2,5);return o.jsxs("div",{style:g,className:`${hi.container} ${y?hi.noPaddingMobile:""} ${s}`,children:[o.jsxs("div",{className:hi.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&&_.length>0?o.jsx(bA,{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:_.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&&_.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:hi.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})})})}),r8e=({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 _=(y.top??20)+(y.bottom??40)+e.length*(s+20),v=Math.max(_,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=M=>g?g(M):M?.toString()||"",w=M=>f&&m==="value"?f(M):M==null||M===""?"":m==="percentage"?`${M}%`:M.toString(),C=(M,L,j)=>{if(typeof M!="number")return M;const N=f?f(M):M.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})})]})})})},s8e="_menu_10i6j_1",d8e="_menuRow_10i6j_18",l8e="_separator_10i6j_33",h8e="_rowLabel_10i6j_39",u8e="_rowLeadingIcon_10i6j_47",p8e="_rowIcon_10i6j_54",Gc={menu:s8e,menuRow:d8e,separator:l8e,rowLabel:h8e,rowLeadingIcon:u8e,rowIcon:p8e},y8e=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)})})}),wA=({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:_="#f1f4f5",dropdownMenuItems:v,dropdownMenuStyle:I,dropdownMenuOffset:b,statusDotColor:w,a11yConfig:C,style:M,className:L=""})=>{const{user:j}=ft(),N=e||j,{currentTheme:S,switchTheme:q}=bL(),B=k.useRef(null),H=k.useRef(null),[z,A]=k.useState(!1),[$,D]=k.useState({}),R=k.useMemo(()=>{const ae=[],ne=({variant:ue})=>ue==="sun"?o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("circle",{cx:"12",cy:"12",r:"4"})}):o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})});i&&(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 se=S==="dark";return ae.push({id:"theme",type:"action",label:se?"Mode clair":"Mode sombre",icon:o.jsx(ne,{variant:se?"sun":"moon"}),onClick:()=>{q(se?"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,q]),V=v??R,O=()=>{if(!B.current){A(ae=>!ae);return}if(!z){const ae=B.current.getBoundingClientRect(),ne=window.innerWidth,se=window.innerHeight,ue=200,ye=200,W=4,Y=b?.x??0,ce=b?.y??0,ze=ne-ae.right>=ue+W;D(ze?{top:ae.bottom-ye+ce,left:ae.right+W+Y}:{bottom:se-ae.top+ce,left:ae.left+Y})}A(ae=>!ae)};if(k.useEffect(()=>{if(!z||!B.current)return;const ae=()=>{const ne=B.current.getBoundingClientRect(),se=window.innerWidth,ue=window.innerHeight,ye=200,W=200,Y=4,ce=b?.x??0,Se=b?.y??0,xe=se-ne.right>=ye+Y;D(xe?{top:ne.bottom-W+Se,left:ne.right+Y+ce}:{bottom:ue-ne.top+Se,left:ne.left+ce})};return window.addEventListener("resize",ae),window.addEventListener("orientationchange",ae),()=>{window.removeEventListener("resize",ae),window.removeEventListener("orientationchange",ae)}},[z,b]),k.useEffect(()=>{if(!z||!B.current||!H.current)return;const ae=()=>{const se=B.current.getBoundingClientRect(),ue=H.current.getBoundingClientRect(),ye=b?.x??0,W=b?.y??0;D(Y=>Y.left!==void 0&&Y.top!==void 0&&Y.left>=se.right-1?{top:se.bottom-ue.height+W,left:Y.left+ye}:Y)},ne=requestAnimationFrame(()=>{setTimeout(ae,0)});return()=>cancelAnimationFrame(ne)},[z,b]),!N)return null;const J=N,F=parseInt(h,10)||40,K=`${F*.375}px`,pe=`${F*1.375}px`,oe=`${F*.2}px`,ve=`${F*.6}px`,ie=()=>{const ae=parseInt(h,10)||40,ne=Math.max(8,ae*.34375),se=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:_,overflow:"hidden",userSelect:"none"},children:[o.jsx("div",{style:{width:K,height:K,borderRadius:"50%",backgroundColor:x,position:"absolute",top:oe,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),o.jsx("div",{style:{width:pe,height:pe,borderRadius:"50%",backgroundColor:x,position:"absolute",top:ve,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),w&&o.jsx("div",{style:{position:"absolute",bottom:se,right:se,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:B,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",...M},onClick:O,title:X(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(ie,{})})}),o.jsx(y8e,{ref:H,isVisible:z,onClose:()=>A(!1),items:V,style:I,position:$})]})},k8e="_navItem_16uqf_1",m8e="_label_16uqf_14",f8e="_icon_16uqf_26",m1={navItem:k8e,label:m8e,icon:f8e},sC=({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:_="12px",disabled:v=!1,disabledColor:I,a11yConfig:b})=>{const w=()=>{v||n?.()},C=o.jsxs(o.Fragment,{children:[r&&o.jsx("span",{className:m1.icon,style:{marginRight:g?0:_},children:r}),!g&&o.jsx("span",{className:m1.label,children:e})]}),M=()=>{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:`${m1.navItem} ${i?m1.active:""} ${d} ${v?m1.disabled:""}`,style:{padding:m,color:i?u:v?I||"#999":h,borderLeft:i?`${x} solid ${l}`:`${x} solid transparent`,backgroundColor:M(),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:X(b,t),children:C}):o.jsx("div",{...L,role:n?"button":void 0,tabIndex:n&&!v?0:void 0,title:X(b,t),children:C})},g8e="_navbar_y5tex_1",v8e="_topSection_y5tex_9",x8e="_logoContainer_y5tex_14",M8e="_collapseToggle_y5tex_20",_8e="_collapsedRail_y5tex_37",L8e="_collapsedToggle_y5tex_44",I8e="_sectionsContainer_y5tex_67",b8e="_sectionTitle_y5tex_73",w8e="_sectionItems_y5tex_78",C8e="_bottomSection_y5tex_83",N8e="_versionContainer_y5tex_102",Qe={navbar:g8e,topSection:v8e,logoContainer:x8e,collapseToggle:M8e,collapsedRail:_8e,collapsedToggle:L8e,sectionsContainer:I8e,sectionTitle:b8e,sectionItems:w8e,bottomSection:C8e,versionContainer:N8e},S8e=({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:_,sectionTitlePadding:v="16px",sectionTitleFontSize:I="11px",sectionTitleColor:b="#999",sectionTitleWeight:w="500",versionFontSize:C="12px",versionFontWeight:M="400",versionColor:L="#999",userInfoProps:j,style:N,className:S="",width:q="280px",showLogo:B=!0,versionA11yConfig:H,displayNone:z=!1,showCollapseToggle:A=!1,collapsed:$=!1,onCollapseToggle:D,collapseToggleLabel:R="Toggle sidebar",collapseToggleIconPath:V="/icon/dock_to_left.svg"})=>{const O=ft(),J=O.activeNav,F=O.setActiveNav,K=O.user,pe=j.user||K;return A&&$?o.jsx("div",{className:`${Qe.collapsedRail} ${S}`,style:{display:z?"none":"flex"},children:o.jsx("button",{type:"button",className:Qe.collapsedToggle,onClick:D,"aria-label":R,children:o.jsx(vw,{path:V,width:18,height:18})})}):o.jsxs("div",{className:`${Qe.navbar} ${S}`,style:{width:q,backgroundColor:s,padding:c,display:z?"none":"flex",...N},children:[o.jsxs("div",{className:Qe.topSection,style:{gap:t},children:[B&&o.jsxs("div",{className:Qe.logoContainer,children:[o.jsx(IL,{...e}),A&&o.jsx("button",{type:"button",className:Qe.collapseToggle,onClick:D,"aria-label":R,children:o.jsx(vw,{path:V,width:20,height:20})})]}),o.jsx("div",{className:Qe.sectionsContainer,style:{gap:i},children:n.map((oe,ve)=>o.jsxs("div",{className:Qe.section,children:[oe.title&&o.jsx("div",{className:Qe.sectionTitle,title:X(oe.a11yConfig,oe.titleKey),style:{fontSize:I,color:b,padding:v,fontWeight:w,border:"4px solid transparent",...u},children:oe.title}),o.jsx("div",{className:Qe.sectionItems,style:{gap:r},children:oe.items.map(ie=>o.jsx(sC,{...ie,isActive:ie.isActive===null?ie.isActive:J===ie.id,onClick:()=>{ie.onClick&&ie.onClick(),ie.isActive==null&&F(ie.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:f,iconGap:g,fontSize:m,fontWeight:x,color:_,style:p},ie.id))})]},ve))})]}),o.jsxs("div",{className:Qe.bottomSection,style:{gap:t},children:[o.jsx(wA,{...j,user:pe}),h&&o.jsx("div",{className:Qe.versionContainer,title:X(H,h),style:{fontSize:C,fontWeight:M,color:L},children:h})]})]})},j8e="_container_4qege_1",$8e="_titleContainer_4qege_10",q8e="_title_4qege_10",A8e="_inlineToggleContainer_4qege_24",z8e="_rightContentContainer_4qege_30",f1={container:j8e,titleContainer:$8e,title:q8e,inlineToggleContainer:A8e,rightContentContainer:z8e},V8e=({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=_=>_,rightContent:m,inlineToggle:x})=>{const{activeNav:_}=ft(),v=y.find(b=>b.id===_)||f?.find(b=>b.id===_),I=v?g(v.label):_||"";return I?o.jsxs("div",{className:`${f1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[o.jsxs("div",{className:f1.titleContainer,children:[o.jsx("div",{className:f1.title,style:{fontSize:n,fontWeight:c,color:i},children:I}),x&&o.jsx("div",{className:f1.inlineToggleContainer,children:x})]}),m&&o.jsx("div",{className:f1.rightContentContainer,children:m})]}):null},P8e="_navItem_1hg26_1",T8e="_navItemIcon_1hg26_21",H8e="_navItemLabel_1hg26_29",D8e="_navItemCount_1hg26_36",B8e="_navItemIndicator_1hg26_49",g1={navItem:P8e,navItemIcon:T8e,navItemLabel:H8e,navItemCount:D8e,navItemIndicator:B8e},CA=({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:_="#00aec7",indicatorHeight:v="3px",padding:I="8px 4px",fontSize:b="14px",fontWeight:w="500",gap:C="8px",style:M,className:L="",disabled:j=!1,onNavigate:N})=>{const S=()=>{j||(c?.(),i&&(N?N(i):window.location.href=i))};return o.jsxs("div",{className:`${g1.navItem} ${L}`,onClick:S,title:X(e,r),style:{gap:C,padding:I,color:n?l:h,backgroundColor:n?u:"transparent",fontSize:b,fontWeight:w,...M},children:[s&&o.jsx("span",{className:g1.navItemIcon,children:s}),o.jsx("span",{className:g1.navItemLabel,children:t}),d!==void 0&&o.jsx("span",{className:g1.navItemCount,style:{backgroundColor:p,color:y,borderRadius:f,padding:g,fontSize:m,fontWeight:x},children:d}),n&&!j&&o.jsx("div",{className:g1.navItemIndicator,style:{height:v,backgroundColor:_}})]})},R8e="_container_13hsa_1",F8e="_groupHeader_13hsa_8",E8e="_groupHeaderLeft_13hsa_18",O8e="_groupIcon_13hsa_23",U8e="_dropdown_13hsa_29",W8e="_item_13hsa_42",G8e="_itemIcon_13hsa_65",K8e="_chevron_13hsa_72",Z8e="_chevronOpen_13hsa_79",gt={container:R8e,groupHeader:F8e,groupHeaderLeft:E8e,groupIcon:O8e,dropdown:U8e,item:W8e,itemIcon:G8e,chevron:K8e,chevronOpen:Z8e},X8e=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"})),R1=k.memo(X8e),NA=({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:_="#555555",activeIconColor:v="var(--color-primary)",headerIconColor:I="var(--color-text)",chevronColor:b="var(--color-text)",iconSize:w=22,headerPadding:C="14px 20px",itemPadding:M="14px 20px",iconGap:L=14,borderRadius:j=0})=>{const[N,S]=k.useState(""),q=k.useRef(null);k.useEffect(()=>{const H=z=>{q.current&&!q.current.contains(z.target)&&S("")};return document.addEventListener("mousedown",H),()=>document.removeEventListener("mousedown",H)},[]);const B={backgroundColor:r,color:s,borderRadius:j,...c};return o.jsx("nav",{ref:q,className:[gt.container,i].filter(Boolean).join(" "),style:B,children:e.map(H=>{const z=N===H.id,A={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:A,onClick:()=>S(z?"":H.id),role:"button","aria-expanded":z,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,z?gt.chevronOpen:""].join(" "),style:{color:b},children:o.jsx(R1,{width:18,height:18})})]}),z&&o.jsx("div",{className:gt.dropdown,style:$,children:H.items.map(D=>{const R=D.id===t,V={padding:M,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:V,onClick:()=>{n?.(H.id,D.id),S("")},role:"menuitem",onMouseEnter:O=>{R||(O.currentTarget.style.backgroundColor=y)},children:[D.icon&&o.jsx("span",{className:gt.itemIcon,style:{color:R?v:_,width:w,height:w},children:D.icon}),o.jsx("span",{children:D.label})]},D.id)})})]},H.id)})})},Y8e="_subheaderContent_1glo8_1",J8e="_navContainer_1glo8_11",Q8e="_rightContent_1glo8_45",Ub={subheaderContent:Y8e,navContainer:J8e,rightContent:Q8e},ege=({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:_=!1,showData:v=!1,className:I="",style:b,countBackgroundColor:w,countColor:C,countBorderRadius:M,countPadding:L,countFontSize:j,countFontWeight:N,navContainerClassName:S,navContainerStyle:q,rightContentClassName:B,rightContentStyle:H,rightActions:z,activeSwitcherColor:A,inactiveSwitcherColor:$,isMobile:D=!1,onNavigate:R})=>{const{activeSubNav:V,setActiveSubNav:O,navCounts:J,activeNav:F}=ft();if(D){const K=e.find(oe=>oe.id===V)||e[0],pe=[{id:"current-group",label:K?.label||F?.toUpperCase()||"MENU",icon:K?.icon,items:e.map(oe=>({id:oe.id,label:oe.label,icon:oe.icon}))}];return o.jsx("div",{className:I,style:b,children:o.jsx(NA,{groups:pe,activeItemId:V,onItemClick:(oe,ve)=>{const ie=e.find(ae=>ae.id===ve);ie&&(ie.onClick&&ie.onClick(),ie.href&&(R?R(ie.href):ie.onNavigate?ie.onNavigate(ie.href):window.location.href=ie.href),O(ve))},headerBgColor:t})})}return o.jsxs("div",{className:`${Ub.subheaderContent} ${I}`,style:{backgroundColor:t,padding:n,margin:c,width:i,height:r,border:s,borderBottom:d,...b},children:[o.jsx("div",{className:`${Ub.navContainer} ${S||""}`,style:{gap:l,...q},children:e.map(K=>{const pe=K.count!==void 0?K.count:J[K.id],oe=V===K.id||K.isActive;return o.jsx(CA,{...K,onNavigate:R||K.onNavigate,count:pe,isActive:oe,onClick:()=>{K.onClick&&K.onClick(),O(K.id)},activeColor:f,inactiveColor:g,countBackgroundColor:w,countColor:C,countBorderRadius:M,countPadding:L,countFontSize:j,countFontWeight:N,indicatorColor:f,indicatorHeight:m,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:K.style},K.id)})}),o.jsxs("div",{className:`${Ub.rightContent} ${B||""}`,style:{gap:h,...H},children:[x&&o.jsx(pL,{size:20,colors:{bg:A,activeBg:$,icon:"#1C1B1F",icon2:"#FFFFFF"}}),_&&o.jsx(yL,{size:20,colors:{bg:A,activeBg:$,icon:"#1C1B1F",icon2:"#FFFFFF"}}),v&&o.jsx(kL,{size:20,colors:{bg:A,activeBg:$,icon:"#1C1B1F",icon2:"#FFFFFF"}}),z]})]})},tge=({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}=bL(),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"})]})})},age=({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}},nge=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"})),oge=k.memo(nge),cge=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(cge),rge=({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:X(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(oge,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),sge=({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)})}),dge=({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})},_=k.useMemo(()=>{if(y<=6)return Array.from({length:y},(q,B)=>B+1);const C=Math.max(f-1,1),M=Math.min(f+1,y),L=C>2,j=M<y-2,N=1,S=y;if(!L&&j)return[...Array.from({length:5},(H,z)=>z+1),"...",y];if(L&&!j){const B=Array.from({length:5},(H,z)=>y-5+z+1);return[N,"...",...B]}if(L&&j){const q=Array.from({length:M-C+1},(B,H)=>C+H);return[N,"...",...q,"...",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:"<"}),(_||[]).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"})})]})},SA=({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:_,rowStyle:v,onRowClick:I,rowClassName:b,titleKey:w,removeLabelSpan:C=!1,a11yConfig:M,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(D=>{D[0].isIntersecting&&y()},{threshold:.1});return S.current&&$.observe(S.current),()=>$.disconnect()},[f,y,g,n]);const{tableState:q,handleSort:B}=age({initialSortBy:null,onSortChange:r}),H=(m?.sortBy!==void 0?m.sortBy:q.sortBy)??void 0,z=m?.sortOrder!==void 0?m.sortOrder:q.sortOrder,A=$=>{const D=H,R=z;let V="asc";D===$&&(V=R==="asc"?"desc":"asc"),m?.sortBy!==void 0?r($,V):B($)};return o.jsxs("div",{className:`table-container ${x||""}`,style:_,title:X(M,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(rge,{columns:t,sortBy:H,sortOrder:z,onSort:A,removeLabelSpan:C}),o.jsx(sge,{data:e,columns:t.map($=>({...$,render:$.render?D=>$.render(D,{}):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(dge,{state:c,onPaginationChange:i,text:N,onLoadMore:y,infiniteScroll:f,hasMore:g,isLoading:n,pageSizeOptions:j})]})},lge="_datePickerContainer_1gx2l_3",hge="_label_1gx2l_16",uge="_displayNode_1gx2l_23",pge="_datePickerButton_1gx2l_30",yge="_datePickerButtonDisabled_1gx2l_50",kge="_datePickerButtonOpen_1gx2l_59",mge="_datePickerLabel_1gx2l_68",fge="_placeholder_1gx2l_79",gge="_trailingIcons_1gx2l_83",vge="_chevron_1gx2l_89",xge="_clearButton_1gx2l_97",Mge="_errorMessage_1gx2l_114",_ge="_dropdown_1gx2l_119",Lge="_calendarHeader_1gx2l_143",Ige="_navButton_1gx2l_152",bge="_headerSelectors_1gx2l_171",wge="_monthSelector_1gx2l_179",Cge="_yearSelector_1gx2l_180",Nge="_selectorButton_1gx2l_184",Sge="_selectorChevron_1gx2l_201",jge="_selectorChevronOpen_1gx2l_206",$ge="_monthDropdown_1gx2l_210",qge="_yearDropdown_1gx2l_211",Age="_monthItem_1gx2l_231",zge="_yearItem_1gx2l_232",Vge="_monthItemSelected_1gx2l_254",Pge="_yearItemSelected_1gx2l_255",Tge="_weekdays_1gx2l_259",Hge="_weekday_1gx2l_259",Dge="_calendarGrid_1gx2l_275",Bge="_dateCell_1gx2l_284",Rge="_dateCellSelected_1gx2l_307",Fge="_dateCellOtherMonth_1gx2l_311",Ege="_dateCellOtherMonthSelected_1gx2l_315",Oge="_calendarFooter_1gx2l_319",Uge="_cancelButton_1gx2l_327",Wge="_applyButton_1gx2l_328",Gge="_timePickerContainer_1gx2l_372",Kge="_timeGroup_1gx2l_381",Zge="_timeLabel_1gx2l_388",Xge="_timeInputWrapper_1gx2l_394",Yge="_timeInput_1gx2l_394",Jge="_timeSeparator_1gx2l_422",Z={datePickerContainer:lge,label:hge,displayNode:uge,datePickerButton:pge,datePickerButtonDisabled:yge,datePickerButtonOpen:kge,datePickerLabel:mge,placeholder:fge,trailingIcons:gge,chevron:vge,clearButton:xge,errorMessage:Mge,dropdown:_ge,calendarHeader:Lge,navButton:Ige,headerSelectors:bge,monthSelector:wge,yearSelector:Cge,selectorButton:Nge,selectorChevron:Sge,selectorChevronOpen:jge,monthDropdown:$ge,yearDropdown:qge,monthItem:Age,yearItem:zge,monthItemSelected:Vge,yearItemSelected:Pge,weekdays:Tge,weekday:Hge,calendarGrid:Dge,dateCell:Bge,dateCellSelected:Rge,dateCellOtherMonth:Fge,dateCellOtherMonthSelected:Ege,calendarFooter:Oge,cancelButton:Uge,applyButton:Wge,timePickerContainer:Gge,timeGroup:Kge,timeLabel:Zge,timeInputWrapper:Xge,timeInput:Yge,timeSeparator:Jge},Qge=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"})),e7e=k.memo(Qge),Pj=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],t7e=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],Mw=({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:_="400",buttonBgColor:v,buttonBorderColor:I,buttonTextColor:b,dropdownBgColor:w="#ffffff",itemHoverColor:C,selectedItemBgColor:M,iconColor:L,errorColor:j,labelColor:N,placeholderColor:S,borderRadius:q="var(--radius-content)",borderWidth:B="0.0625rem",boxShadow:H="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:z="0.2s",transitionTiming:A="ease",dateCellSize:$="2.5rem",headerTextColor:D="#6c757d",weekdayTextColor:R="#6c757d",currentMonthDateColor:V="#212529",otherMonthDateColor:O="#adb5bd",selectedDateBgColor:J="#00A6D9",selectedDateTextColor:F="#ffffff",cancelButtonBgColor:K="#e9ecef",cancelButtonTextColor:pe="#212529",applyButtonBgColor:oe="#00A6D9",applyButtonTextColor:ve="#ffffff",width:ie,displayNode:ae=void 0,displayMode:ne="auto",displayNodeAriaLabel:se,dropdownPosition:ue="auto",dropdownAlignment:ye="right",dropdownWidth:W,withBorder:Y=!1,icon:ce,precision:Se="day",horizontalTimePicker:ze=!1,hoursLabel:xe="Heures",minutesLabel:He="Minutes",lowerLimit:we=null,upperLimit:je=null,outOfLimitsMessage:le="La date/heure choisie est hors des limites autorisées",months:Ct,weekdays:HL,cancelText:Le="Annuler",applyText:Ft="Appliquer",prevMonthAriaLabel:AA="Mois précédent",nextMonthAriaLabel:zA="Mois suivant",calendarAriaLabel:VA="Sélecteur de date",openedAriaLabel:PA="Ouvrir le sélecteur de date",selectedDateAriaLabel:TA="Date sélectionnée: ",rotateIcon:HA=!0,clearable:DA=!1,clearAriaLabel:BA="Effacer la date"})=>{const Nt=P=>{if(P instanceof Date)return isNaN(P.getTime())?null:P;if(typeof P=="string"&&P){const G=new Date(P);return isNaN(G.getTime())?null:G}return null},[Ke,Et]=k.useState(!1),[u1,RA]=k.useState({top:0,left:0,width:0}),[dC,FA]=k.useState("bottom"),[lC,EA]=k.useState(null),[he,p1]=k.useState(Nt(e)||new Date),[y1,DL]=k.useState(Nt(e)),[Q1,BL]=k.useState(Nt(e)?.getHours()??0),[ei,RL]=k.useState(Nt(e)?.getMinutes()??0),[FL,Rc]=k.useState(!1),[EL,Fc]=k.useState(!1),OL=k.useRef(null),Ec=k.useRef(null),hC=k.useRef(null),UL=k.useRef(null),WL=k.useRef(null),uC=k.useRef(Nt(e)?.getTime());k.useEffect(()=>{const P=Nt(e),G=P?.getTime();G!==uC.current&&(uC.current=G,DL(P),P&&(p1(P),BL(P.getHours()),RL(P.getMinutes())))},[e]);const pC=k.useCallback(()=>{if(Ec.current){const P=Ec.current.getBoundingClientRect();RA({top:P.top,left:P.left,width:P.width})}},[]),yC=8,ti=k.useCallback(()=>{if(!Ec.current)return;const P=Ec.current.getBoundingClientRect(),G=(parseFloat(m.replace("rem",""))||0)*16,Me=P.top-G-yC,De=window.innerHeight-P.bottom-G-yC;let Ve;if(ue!=="auto")Ve=ue;else{const Fe=hC.current?.scrollHeight??0;Ve=Fe<=De?"bottom":Fe<=Me||Me>De?"top":"bottom"}FA(Fe=>Fe===Ve?Fe:Ve),EA(Math.max(Ve==="bottom"?De:Me,0))},[ue,m]),Oc=k.useCallback(()=>{pC(),ti()},[pC,ti]);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&&ti()},[Ke,ti]),k.useEffect(()=>{const P=G=>{if(OL.current&&!OL.current.contains(G.target)){const Me=document.getElementById("datepicker-dropdown");if(Me&&Me.contains(G.target))return;Et(!1),Rc(!1),Fc(!1)}UL.current&&!UL.current.contains(G.target)&&Rc(!1),WL.current&&!WL.current.contains(G.target)&&Fc(!1)};return document.addEventListener("mousedown",P),()=>document.removeEventListener("mousedown",P)},[]);const kC=P=>new Date(P.getFullYear(),P.getMonth()+1,0).getDate(),OA=P=>{const G=new Date(P.getFullYear(),P.getMonth(),1).getDay();return G===0?6:G-1},UA=()=>{const P=[],G=OA(he),Me=kC(he),De=new Date(he.getFullYear(),he.getMonth()-1,1),Ve=kC(De);for(let Ce=G-1;Ce>=0;Ce--)P.push(new Date(he.getFullYear(),he.getMonth()-1,Ve-Ce));for(let Ce=1;Ce<=Me;Ce++)P.push(new Date(he.getFullYear(),he.getMonth(),Ce));const Fe=42-P.length;for(let Ce=1;Ce<=Fe;Ce++)P.push(new Date(he.getFullYear(),he.getMonth()+1,Ce));return P},WA=(P,G)=>!P||!G?!1:P.getDate()===G.getDate()&&P.getMonth()===G.getMonth()&&P.getFullYear()===G.getFullYear(),GA=P=>P.getMonth()===he.getMonth()&&P.getFullYear()===he.getFullYear(),ai=P=>new Date(P.getFullYear(),P.getMonth(),P.getDate()).getTime(),mC=P=>!(we&&ai(P)<ai(we)||je&&ai(P)>ai(je)),fC=y1?(()=>{const P=new Date(y1);return P.setHours(Q1),P.setMinutes(ei),P})():null,Uc=fC?!mC(fC):!1,ni=new Date(he.getFullYear(),he.getMonth()-1,1),oi=new Date(he.getFullYear(),he.getMonth()+1,1),GL=!!(we&&(ni.getFullYear()<we.getFullYear()||ni.getFullYear()===we.getFullYear()&&ni.getMonth()<we.getMonth())),KL=!!(je&&(oi.getFullYear()>je.getFullYear()||oi.getFullYear()===je.getFullYear()&&oi.getMonth()>je.getMonth())),KA=()=>{GL||p1(ni)},ZA=()=>{KL||p1(oi)},XA=P=>{if(!s){const G=new Date(P);G.setHours(Q1),G.setMinutes(ei),DL(G)}},YA=()=>{if(!s){if(y1){const P=new Date(y1);if(P.setHours(Q1),P.setMinutes(ei),!mC(P))return;t(P)}else t(null);Et(!1)}},JA=()=>{const P=Nt(e);DL(P),P&&(BL(P.getHours()),RL(P.getMinutes())),Et(!1)},QA=P=>{p1(new Date(he.getFullYear(),P,1)),Rc(!1)},ez=P=>{p1(new Date(P,he.getMonth(),1)),Fc(!1)},tz=()=>{const P=he.getFullYear(),G=we?we.getFullYear():P-10,Me=je?je.getFullYear():P+10,De=[];for(let Ve=G;Ve<=Me;Ve++)De.push(Ve);return De},az=P=>{const G=he.getFullYear();return!!(we&&(G<we.getFullYear()||G===we.getFullYear()&&P<we.getMonth())||je&&(G>je.getFullYear()||G===je.getFullYear()&&P>je.getMonth()))},nz=P=>{if(!s)switch(P.key){case"Enter":case" ":P.preventDefault(),Et(!Ke);break;case"Escape":Et(!1),Rc(!1),Fc(!1);break;case"Tab":Ke&&(Et(!1),Rc(!1),Fc(!1));break}},oz={width:ie||(r?"100%":"auto"),fontSize:p,fontWeight:_},cz={height:l,padding:h,backgroundColor:v||"#ffffff",border:Y?void 0:"none",borderColor:d?j||"#dc3545":I||"#dee2e6",color:b||"#212529",borderRadius:q,borderWidth:B,fontWeight:_,transition:`all ${z} ${A}`},iz=ze?{flexDirection:"column",borderTop:"none",borderLeft:"1px solid #eee"}:{},rz=ze?{flex:1,minWidth:0}:void 0,sz=ze?{display:"flex",flexDirection:"row",alignItems:"stretch"}:void 0,dz={backgroundColor:w||"#ffffff",maxHeight:u==="auto"?lC!=null?`${lC}px`:void 0:u,overflowY:"auto",borderRadius:q,borderWidth:B,boxShadow:H,transition:`opacity ${z} ${A}, transform ${z} ${A}`,position:"fixed",top:dC==="bottom"?u1.top+(Ec.current?.offsetHeight||0)+parseFloat(m.replace("rem",""))*16:"auto",bottom:dC==="top"?window.innerHeight-u1.top+parseFloat(m.replace("rem",""))*16:"auto",left:ye==="left"?u1.left:"auto",right:ye==="right"?window.innerWidth-(u1.left+u1.width):"auto",width:W||"30vw",minWidth:W?void 0:0,zIndex:10001},gC={width:y,height:y,color:L||"#6c757d","--icon-rotation":HA&&Ke?"rotate(180deg)":"rotate(0deg)"},lz={color:N||"#212529",marginBottom:f,fontWeight:_},hz={color:S||"#6c757d"},uz={color:j||"#dc3545",marginTop:g},pz=UA(),ot=Nt(e),vC=P=>`${P.getDate().toString().padStart(2,"0")}/${(P.getMonth()+1).toString().padStart(2,"0")}/${P.getFullYear()}`,xC=ot?Se==="minutes"?`${vC(ot)} ${ot.getHours().toString().padStart(2,"0")}:${ot.getMinutes().toString().padStart(2,"0")}`:vC(ot):"",MC=!!ae&&(ne==="icon"||ne==="auto"&&!ot),yz=DA&&!MC&&!!ot&&!s,kz={width:"0.875rem",height:"0.875rem",color:L||"#6c757d"},mz=se||(ot?`${TA}${xC}`:PA);return o.jsxs("div",{className:`${Z.datePickerContainer} ${i}`,ref:OL,style:oz,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&o.jsx("label",{className:Z.label,style:lz,children:n}),o.jsxs("button",{ref:Ec,type:"button",onClick:()=>!s&&Et(!Ke),onKeyDown:nz,className:`
8336
+ `,Yke="_mpRoot_31595_1",Jke="_mpHeader_31595_22",Qke="_mpTitle_31595_31",e3e="_mpList_31595_35",t3e="_mpVertical_31595_41",a3e="_mpHorizontal_31595_46",n3e="_mpItem_31595_55",o3e="_mpClickable_31595_95",c3e="_mpLeft_31595_117",i3e="_mpIcon_31595_125",r3e="_mpMeta_31595_140",s3e="_mpLabel_31595_145",d3e="_mpDate_31595_154",l3e="_mpRight_31595_160",h3e="_mpValue_31595_168",u3e="_mpHint_31595_176",p3e="_mpBadge_31595_180",y3e="_mpBadgeTop_31595_199",k3e="_mpBadgeSub_31595_206",m3e="_mpBadgeSmall_31595_213",f3e="_mpPill_31595_229",g3e="_mpRounded_31595_232",v3e="_mpCompact_31595_236",x3e="_compactItemWrapper_31595_252",M3e="_mpSummaryRoot_31595_265",_3e="_mpSummaryInner_31595_269",L3e="_mpSummaryFlex_31595_284",I3e="_mpSummaryCardWrapperHorizontal_31595_292",b3e="_mpSummaryCardWrapper_31595_292",w3e="_mpSummaryCardHorizontal_31595_303",C3e="_mpSummaryCard_31595_292",N3e="_mpSummaryValue_31595_321",S3e="_mpSummaryLabel_31595_327",j3e="_mpSummaryBadge_31595_338",$3e="_mpSummaryBadgeSub_31595_357",q3e="_mpEmpty_31595_365",A3e="_mpSummaryVertical_31595_372",z3e="_mpIconSquare_31595_380",ee={mpRoot:Yke,mpHeader:Jke,mpTitle:Qke,mpList:e3e,mpVertical:t3e,mpHorizontal:a3e,mpItem:n3e,mpClickable:o3e,mpLeft:c3e,mpIcon:i3e,mpMeta:r3e,mpLabel:s3e,mpDate:d3e,mpRight:l3e,mpValue:h3e,mpHint:u3e,mpBadge:p3e,mpBadgeTop:y3e,mpBadgeSub:k3e,mpBadgeSmall:m3e,mpPill:f3e,mpRounded:g3e,mpCompact:v3e,compactItemWrapper:x3e,mpSummaryRoot:M3e,mpSummaryInner:_3e,mpSummaryFlex:L3e,mpSummaryCardWrapperHorizontal:I3e,mpSummaryCardWrapper:b3e,mpSummaryCardHorizontal:w3e,mpSummaryCard:C3e,mpSummaryValue:N3e,mpSummaryLabel:S3e,mpSummaryBadge:j3e,mpSummaryBadgeSub:$3e,mpEmpty:q3e,mpSummaryVertical:A3e,mpIconSquare:z3e},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})`},V3e=({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]})]})},P3e=k.memo(V3e),Sj=({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})]}),jj=(e,t=1)=>{try{return Tt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},T3e=({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??jj("#7c3aed",.12),border:`1px solid ${jj(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),H3e=({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})]})]}),$j=(e,t=1)=>{try{return Tt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},qj=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:$j("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:$j("#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]})]}),Aj=(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}},D3e=e=>{switch(e){case"image":return t=>k.createElement(T3e,{item:t});case"pertinence":return t=>k.createElement(H3e,{item:t});case"alternateHorizontal":return t=>Aj(qj,t);case"compact":return t=>Aj(qj,t);case"summary":return;case"default":default:return}},MA=({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})]})},B3e=["transparent","transparent","transparent","transparent"],R3e=["transparent","transparent","transparent","transparent"],F3e=["#059669","#2563eb","#b45309","#7c3aed"],E3e=(e,t=1)=>{try{return Tt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},_A=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=B3e,summaryBorderColors:m=R3e,summaryValueColors:x=F3e,preset:M,background:v}=e,{itemsContainerStyle:I,itemsContainerClassName:b,summaryGridColumns:w,compactItemWidth:C,compactItemHeight:_,compactItemStyle:L,summaryCardWidth:S,summaryCardHeight:N,summaryCardStyle:j}=e,q=n==="vertical",H={"--mp-accent":r,"--mp-accent-soft":E3e(r,.08),"--mp-bg-primary":v},B=[ee.mpRoot,q?ee.mpVertical:ee.mpHorizontal,s?ee.mpCompact:"",f?ee.mpSummaryRoot:"",c!=="auto"?c==="vertical"?ee.mpOrientationVertical:ee.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),A=k.useMemo(()=>y||(D3e(M)??void 0),[y,M]);if(f){const z=c==="horizontal"?ee.mpSummaryFlex:ee.mpSummaryVertical,D={...(w?{display:"grid",gridTemplateColumns:`repeat(${w}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...I??{}};return o.jsxs("div",{className:B,style:H,"aria-busy":u,children:[d&&o.jsx(Sj,{title:d}),o.jsx("div",{className:ee.mpSummaryInner,children:o.jsx("div",{className:`${z} ${b??""}`,style:D,children:t.length===0?o.jsx("div",{className:ee.mpEmpty,children:p}):t.map((R,V)=>{const O=R.bgColor??g[V%g.length],J=R.borderColor??m[V%m.length],F=R.valueColor??x[V%x.length];return A?o.jsx("div",{className:c==="horizontal"?ee.mpSummaryCardWrapperHorizontal:ee.mpSummaryCardWrapper,style:{width:S??void 0,height:N??void 0,...j??{}},children:A(R,V)},R.id):o.jsx(MA,{item:R,orientation:c==="horizontal"?"horizontal":"vertical",bg:O,border:J,valueColor:F,onClick:l,width:S??void 0,height:N??void 0,extraStyle:j},R.id)})})})]})}return o.jsxs("div",{className:B,style:H,"aria-busy":u,children:[d&&o.jsx(Sj,{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(z=>{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(P3e,{item:z,shape:i,onItemClick:l,color:r,renderItem:A?D=>A(D,t.indexOf(D)):void 0})},z.id)})})]})};k.memo(_A);const O3e=({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:X(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}))})]})},rC=({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:X(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:"✕"})]})},LA=k.createContext(null),U3e=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,W3e=({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=k.useRef(n);k.useEffect(()=>()=>{d.current.forEach(L=>window.clearTimeout(L)),d.current.clear()},[]);const y=(L,S)=>{const N=S===void 0||S===0?t:S;if(N===-1)return;const j=window.setTimeout(()=>{m(L)},N);d.current.set(L,j)},f=L=>{const S=d.current.get(L);S&&(window.clearTimeout(S),d.current.delete(L))},g=L=>{const S=U3e(),N={...L,id:S,createdAt:Date.now()};return s(j=>{const q=[N,...j],H=p.current;return typeof H=="number"&&H>=0&&q.length>H?(q.slice(H).forEach(A=>f(A.id)),q.slice(0,H)):q}),y(S,L.duration),S},m=L=>{f(L),s(S=>S.filter(N=>N.id!==L))},x=(L,S)=>{s(N=>N.map(j=>j.id===L?{...j,...S}:j))},M=()=>{d.current.forEach(L=>window.clearTimeout(L)),d.current.clear(),s([])},v=L=>{L&&window.getComputedStyle(L).position==="static"&&(L.style.position="relative"),u(S=>S===L?S:L)},I=()=>r.slice(),b=k.useMemo(()=>({showAlert:g,dismissAlert:m,updateAlert:x,clearAlerts:M,setContainerRef:v,getAlertsSnapshot:I}),[r]),w=h,C=o.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,display:"flex",flexDirection:"column",alignItems:"center",pointerEvents:"none",zIndex:10001,padding:"8px 4px"},children:o.jsx(Ile,{mode:"popLayout",children:r.map(L=>o.jsx(aC.div,{initial:{opacity:0,y:-10,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.98},transition:{type:"spring",damping:25,stiffness:300},style:{width:"100%",pointerEvents:"auto",boxShadow:"0 6px 20px rgba(0, 0, 0, 0.12)",borderRadius:"8px",marginBottom:"6px",backgroundColor:L.background||L.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:o.jsx(rC,{id:L.id,text:L.text,subtext:L.subtext,icon:L.icon,background:"transparent",colorTextPrimary:L.colorTextPrimary,colorTextSub:L.colorTextSub,model:L.model,onClose:()=>m(L.id),size:"100%",style:{boxShadow:"none"}})},L.id))})}),_=o.jsx("div",{ref:L=>{h||(l.current=L)},className:c,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:C});return o.jsxs(LA.Provider,{value:b,children:[w?_w.createPortal(C,w):_,e]})},G3e=()=>{const e=k.useContext(LA);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},K3e={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"}},Z3e="_container_18zbo_1",X3e="_icon_18zbo_9",Y3e="_selectWrapper_18zbo_23",Ob={container:Z3e,icon:X3e,selectWrapper:Y3e},J3e=({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:Ob.container,children:[o.jsxs("div",{className:Ob.icon,children:[o.jsx(w1,{size:18}),o.jsx("p",{children:c})]}),o.jsx("div",{className:Ob.selectWrapper,children:o.jsx(nC,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},Q3e=250,eme=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=S=>{if(S.target===_&&!(S.propertyName!=="transform"&&S.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{}}},Q3e+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 tme(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 ame="_container_1pfsp_1",nme="_title_1pfsp_8",zj={container:ame,title:nme},ome=({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:`${zj.container} ${c}`,style:r,children:o.jsx("h2",{className:zj.title,children:e})})},cme="_modalOverlay_1878x_1",ime="_modalContainer_1878x_16",rme="_modalTitle_1878x_29",sme="_modalInput_1878x_38",dme="_modalTextarea_1878x_39",lme="_modalActions_1878x_70",hme="_cancelBtn_1878x_77",ume="_saveBtn_1878x_99",pme="_inputError_1878x_141",yme="_inlineAlert_1878x_146",ct={modalOverlay:cme,modalContainer:ime,modalTitle:rme,modalInput:sme,modalTextarea:dme,modalActions:lme,cancelBtn:hme,saveBtn:ume,inputError:pme,inlineAlert:yme},Bc=({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 S=String(L.value??"").length;L.setSelectionRange(S,S)}}),()=>{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(S=>({...S,[_]: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 S=p[_.name]??"",N=L===0&&!!s,j={name:_.name,placeholder:_.placeholder||_.label,value:String(S),onChange:q=>I(_.name,q.target.value),className:_.type==="textarea"?`${ct.modalTextarea} ${N?ct.inputError:""}`:`${ct.modalInput} ${N?ct.inputError:""}`,tabIndex:0,disabled:g};return L===0&&(j.ref=q=>{f.current=q}),o.jsxs("div",{style:{marginBottom:8},children:[_.type==="textarea"?o.jsx("textarea",{rows:_.rows||4,...j}):o.jsx("input",{type:_.type||"text",...j}),L===0&&x&&s&&o.jsx("div",{style:{marginTop:8},children:o.jsx(rC,{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})]})]})})},kme=({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:X(c,e),children:e}),o.jsxs("p",{children:[t," clés"]})]}),o.jsxs("button",{onClick:()=>r(!0),className:"add-key-button",children:[o.jsx(Vc,{className:"add-key-icon"}),"Clé"]}),o.jsx(Bc,{isOpen:i,title:"Ajouter une clé",onClose:()=>r(!1),onSave:s,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},mme=({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(),S=_.title?.trim(),N=L||S||String(Date.now()),j=S||L||`Module ${N}`;c({id:N,title:j,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(zc,{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,S=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($1,{size:16,className:"item-folder"}),o.jsxs("div",{className:"module-info",children:[o.jsxs("div",{className:"module-title",children:[_.title,S&&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(Bc,{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(Bc,{isOpen:!!h,onClose:I,onSave:b,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},IA=({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:X(r,e),children:[o.jsx("div",{className:"search-icon-wrapper",children:o.jsx(z1,{className:"search-icon",color:i})}),o.jsx("input",{type:"text",placeholder:e,value:t,onChange:d=>n?.(d.target.value),className:`search-input ${s}`})]}),fme=({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,S]=k.useState(null),[N,j]=k.useState(!1),q=t.map(V=>V.language),H=n.filter(V=>!q.includes(V.code)),B=()=>{y&&v.trim()&&(d?.(e,y,v.trim()),f(""),I(""),p(!1))},A=(V,O)=>{m(V),M(O)},z=V=>{r?.(e,V,x),m(null),M("")},$=()=>{m(null),M("")},D=async V=>{const O=V.name?.trim();if(O){if(S(null),j(!1),O===e||!i)return w(!1),"ok";try{const J=await i(e,O);if(typeof J=="string"&&J==="ok")w(!1),S(null);else{if(typeof J=="string"&&J==="duplicate-same")return S("Une clé existe déjà dans ce module."),j(!0),"duplicate-same";if(typeof J=="string"&&J==="duplicate-other")return w(!1),S(null),"duplicate-other";w(!1)}}catch(J){console.error("Erreur handleRenameSave:",J),S("Erreur lors du renommage.")}}},R=(V,O)=>{if(V!=="name")return;const J=O.trim();S(null),j(!1),J&&typeof h=="function"&&(h(J,e)?(S("Une clé existe déjà dans ce module."),j(!0)):(S(null),j(!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(N1,{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:V=>{V.stopPropagation(),w(!0)},title:"Renommer la clé",children:o.jsx(vt,{className:"action-icon"})}),o.jsx("button",{onClick:V=>{V.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(V=>o.jsxs("div",{className:"translation-row",children:[o.jsx("div",{className:"language-code",children:V.language}),o.jsx("div",{className:"translation-content",children:g===V.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"&&z(V.language),O.key==="Escape"&&$()}}),o.jsx("button",{onClick:()=>z(V.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:V.value,children:V.value}),o.jsx("button",{onClick:()=>A(V.language,V.value),className:"edit-button",title:"Éditer la traduction",children:o.jsx(vt,{className:"action-icon"})}),o.jsx("button",{onClick:()=>s?.(e,V.language),className:"delete-translation-button",title:"Supprimer la traduction",children:o.jsx(at,{className:"action-icon"})})]})})]},V.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:V=>f(V.target.value),className:"language-select",children:[o.jsx("option",{value:"",children:"Sélectionnez la langue"}),H.map(V=>o.jsxs("option",{value:V.code,children:[V.name," (",V.code,")"]},V.code))]})}),y&&o.jsx("input",{type:"text",value:v,onChange:V=>I(V.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:V=>{V.key==="Enter"&&B(),V.key==="Escape"&&(p(!1),f(""),I(""))}}),o.jsx("button",{onClick:B,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:H.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(Bc,{isOpen:b,onClose:()=>{w(!1),S(null),j(!1)},onSave:D,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})]})},gme="_wrapper_1wvht_1",vme="_leftGroup_1wvht_12",xme="_filterButton_1wvht_21",Mme="_open_1wvht_42",_me="_filterIcon_1wvht_42",Lme="_infoText_1wvht_58",Ime="_pickerContainer_1wvht_66",bme="_srOnly_1wvht_79",wme="_pickerLabel_1wvht_91",Cme="_datetime_1wvht_98",Nme="_rightGroup_1wvht_107",Sme="_searchInputWrap_1wvht_116",jme="_searchInput_1wvht_116",$me="_searchIcon_1wvht_152",Ee={wrapper:gme,leftGroup:vme,filterButton:xme,open:Mme,filterIcon:_me,infoText:Lme,pickerContainer:Ime,srOnly:bme,pickerLabel:wme,datetime:Cme,rightGroup:Nme,searchInputWrap:Sme,searchInput:jme,searchIcon:$me};function qme({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 Ame=({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)})})]})},zme=({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)})})]})},Vme=({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)})})]})},Pme=({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}))}),Tme=({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}))}),Hme="_overlay_3x4or_2",Dme="_fadeIn_3x4or_1",Bme="_popup_3x4or_17",Rme="_slideUp_3x4or_1",Fme="_header_3x4or_28",Eme="_body_3x4or_40",Ome="_footer_3x4or_51",Ume="_cancelButton_3x4or_59",Wme="_confirmButton_3x4or_77",Gme="_warning_3x4or_97",Kme="_danger_3x4or_106",Zme="_info_3x4or_115",St={overlay:Hme,fadeIn:Dme,popup:Bme,slideUp:Rme,header:Fme,body:Eme,footer:Ome,cancelButton:Ume,confirmButton:Wme,warning:Gme,danger:Kme,info:Zme},Xme=({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})]})]})})},Yme=()=>{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}},Jme="_container_145xs_1",Qme="_selectButton_145xs_7",e6e="_disabled_145xs_22",t6e="_error_145xs_39",a6e="_outline_145xs_52",n6e="_filled_145xs_58",o6e="_sm_145xs_67",c6e="_md_145xs_73",i6e="_lg_145xs_79",r6e="_buttonContent_145xs_85",s6e="_label_145xs_93",d6e="_placeholder_145xs_103",l6e="_iconsContainer_145xs_108",h6e="_loadingSpinner_145xs_115",u6e="_spin_145xs_1",p6e="_arrowIcon_145xs_133",y6e="_arrowIconOpen_145xs_141",k6e="_dropdown_145xs_146",m6e="_dropdownIn_145xs_1",f6e="_searchContainer_145xs_173",g6e="_searchInputWrapper_145xs_179",v6e="_searchIcon_145xs_185",x6e="_searchInput_145xs_179",M6e="_optionsList_145xs_210",_6e="_noResults_145xs_235",L6e="_option_145xs_210",I6e="_optionHighlighted_145xs_265",b6e="_optionSelected_145xs_270",w6e="_optionDisabled_145xs_281",C6e="_optionLabel_145xs_287",N6e="_checkIcon_145xs_295",S6e="_widthFull_145xs_303",j6e="_width64_145xs_306",$6e="_width80_145xs_309",q6e="_width96_145xs_312",de={container:Jme,selectButton:Qme,disabled:e6e,error:t6e,default:"_default_145xs_48",outline:a6e,filled:n6e,sm:o6e,md:c6e,lg:i6e,buttonContent:r6e,label:s6e,placeholder:d6e,iconsContainer:l6e,loadingSpinner:h6e,spin:u6e,arrowIcon:p6e,arrowIconOpen:y6e,dropdown:k6e,dropdownIn:m6e,searchContainer:f6e,searchInputWrapper:g6e,searchIcon:v6e,searchInput:x6e,optionsList:M6e,noResults:_6e,option:L6e,optionHighlighted:I6e,optionSelected:b6e,optionDisabled:w6e,optionLabel:C6e,checkIcon:N6e,widthFull:S6e,width64:j6e,width80:$6e,width96:q6e},li=4,Vj=8,A6e=({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),S=k.useRef(null),N=k.useRef(null),j=k.useMemo(()=>g?e.filter(F=>F.label.toLowerCase().includes(g.toLowerCase())):e,[e,g]),q=e.find(F=>F.value===t),H=k.useCallback(()=>{if(L.current){const F=L.current.getBoundingClientRect();I({top:F.top,left:F.left,width:F.width})}},[]),B=k.useCallback(()=>{if(!L.current)return;const F=L.current.getBoundingClientRect(),K=F.top-li-Vj,pe=window.innerHeight-F.bottom-li-Vj;let oe;p!=="auto"?oe=p:oe=(S.current?.scrollHeight??0)<=pe?"bottom":K>pe?"top":"bottom",w(ve=>ve===oe?ve:oe),_(Math.max(oe==="bottom"?pe:K,0))},[p]),A=k.useCallback(()=>{H(),B()},[H,B]);k.useEffect(()=>(y&&(A(),window.addEventListener("scroll",A,!0),window.addEventListener("resize",A)),()=>{window.removeEventListener("scroll",A,!0),window.removeEventListener("resize",A)}),[y,A]),k.useLayoutEffect(()=>{y&&B()},[y,B]),k.useEffect(()=>{const F=K=>{L.current&&!L.current.contains(K.target)&&S.current&&!S.current.contains(K.target)&&(f(!1),m(""))};return document.addEventListener("mousedown",F),()=>document.removeEventListener("mousedown",F)},[]),k.useEffect(()=>{M(0)},[j]);const z=F=>{F.disabled||(n?.(F.value,F),f(!1),m(""))},$=F=>{m(F.target.value),y||f(!0)},D=F=>{if(!y){(F.key==="ArrowDown"||F.key==="Enter")&&f(!0);return}switch(F.key){case"ArrowDown":F.preventDefault(),M(K=>K<j.length-1?K+1:K);break;case"ArrowUp":F.preventDefault(),M(K=>K>0?K-1:K);break;case"Enter":F.preventDefault(),j[x]&&z(j[x]);break;case"Escape":f(!1),m("");break}},R=()=>[de.selectButton,de[l],de[h],i?de.disabled:"",s?de.error:"",d].filter(Boolean).join(" "),V=()=>{switch(u){case"w-64":return de.width64;case"w-80":return de.width80;case"w-96":return de.width96;default:return de.widthFull}},O=(F,K)=>[de.option,K===x?de.optionHighlighted:"",F.value===t?de.optionSelected:"",F.disabled?de.optionDisabled:""].filter(Boolean).join(" "),J={position:"fixed",top:b==="bottom"?v.top+(L.current?.offsetHeight||0)+li:"auto",bottom:b==="top"?window.innerHeight-v.top+li:"auto",left:v.left,width:v.width,maxHeight:C!=null?`${C}px`:void 0,zIndex:9999};return o.jsxs("div",{className:`${de.container} ${V()}`,children:[o.jsx("button",{ref:L,className:R(),onClick:()=>!i&&f(!y),onKeyDown:D,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":y,disabled:i,children:o.jsxs("div",{className:de.buttonContent,children:[o.jsx("span",{className:`${de.label} ${q?"":de.placeholder}`,children:q?q.label:c}),o.jsxs("div",{className:de.iconsContainer,children:[r&&o.jsx("div",{className:de.loadingSpinner}),o.jsx("svg",{className:`${de.arrowIcon} ${y?de.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&&_w.createPortal(o.jsxs("div",{className:`${de.dropdown} ${V()}`,style:J,ref:S,children:[o.jsx("div",{className:de.searchContainer,children:o.jsxs("div",{className:de.searchInputWrapper,children:[o.jsx("svg",{className:de.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:de.searchInput,autoFocus:!0})]})}),o.jsx("div",{className:de.optionsList,children:j.length===0?o.jsx("div",{className:de.noResults,children:"Aucun résultat trouvé"}):o.jsx("ul",{role:"listbox",children:j.map((F,K)=>o.jsx("li",{className:O(F,K),onClick:()=>z(F),onMouseEnter:()=>M(K),role:"option","aria-selected":F.value===t,"aria-disabled":F.disabled,children:o.jsxs("div",{className:de.buttonContent,children:[o.jsx("span",{className:de.optionLabel,title:F.label,children:F.label}),F.value===t&&o.jsx("svg",{className:de.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"})})]})},F.value))})})]}),document.body)]})},z6e="_container_uq7pt_1",V6e="_item_uq7pt_7",P6e="_mainValue_uq7pt_13",T6e="_label_uq7pt_17",H6e="_subValue_uq7pt_22",D6e="_subValueWrapper_uq7pt_27",B6e="_subSeparator_uq7pt_32",Je={container:z6e,item:V6e,mainValue:P6e,label:T6e,subValue:H6e,subValueWrapper:D6e,subSeparator:B6e},R6e=({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))]})},F6e="_encours_16ist_1",E6e="_header_16ist_19",O6e="_iconWrap_16ist_27",U6e="_title_16ist_36",W6e="_items_16ist_47",G6e="_spaceEvenly_16ist_56",K6e="_item_16ist_47",Z6e="_valueContainer_16ist_86",X6e="_value_16ist_86",Y6e="_label_16ist_108",lt={encours:F6e,header:E6e,iconWrap:O6e,title:U6e,items:W6e,spaceEvenly:G6e,item:K6e,valueContainer:Z6e,value:X6e,label:Y6e},qc=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function J6e(e,t){const n={},c={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=qc(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=qc(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=qc(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(c.fontSize=qc(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?c.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(c.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:c}}function Q6e(){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 efe(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:qc(m),...f},w={};n&&(w.color=n),c!==void 0&&(w.fontSize=qc(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(Q6e,{})}),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:S,labelStyle:N}=J6e(_,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return o.jsx("div",{className:lt.item,role:"listitem",style:{..._.background?{background:_.background}:{},..._.width?{width:qc(_.width)}:{}},children:o.jsxs("div",{className:lt.valueContainer,children:[o.jsx("div",{className:lt.value,style:S,children:_.value}),_.label&&o.jsx("div",{className:lt.label,style:N,children:_.label})]})},`${String(_.label??_.value)}-${L}`)})})]})}const tfe=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"})),afe=k.memo(tfe),nfe=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"})),ofe=k.memo(nfe),cfe=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"})),ife=k.memo(cfe),rfe=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"})),sfe=k.memo(rfe),dfe=({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=X(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(c$,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),p?o.jsx(ofe,{width:d,height:d,fill:l?.icon||"currentColor"}):o.jsx(afe,{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(ife,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):o.jsx(sfe,{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})})]})]})},lfe="_container_zhny9_1",hfe="_card_zhny9_15",ufe="_footer_zhny9_33",pfe="_noPaddingMobile_zhny9_51",hi={container:lfe,card:hfe,footer:ufe,noPaddingMobile:pfe},yfe="_board_95t8m_1",kfe="_clickable_95t8m_21",mfe="_sideBar_95t8m_26",ffe="_boardContent_95t8m_32",gfe="_orange_95t8m_40",vfe="_red_95t8m_44",xfe="_green_95t8m_48",Mfe="_grey_95t8m_52",_fe="_lightGrey_95t8m_56",Lfe="_big_95t8m_61",Ife="_medium_95t8m_66",bfe="_headerRow_95t8m_70",wfe="_iconWrapper_95t8m_75",Cfe="_headerTitle_95t8m_80",Nfe="_valueArea_95t8m_89",Sfe="_titleWhite_95t8m_99",jfe="_titleBlack_95t8m_103",$fe="_valueWhite_95t8m_108",qfe="_valueBlack_95t8m_112",Afe="_valueBlue_95t8m_116",zfe="_bars_95t8m_121",Vfe="_bar_95t8m_121",Pfe="_barDark_95t8m_135",Tfe="_barDim_95t8m_139",Hfe="_predictionSection_95t8m_143",Dfe="_predictionHeader_95t8m_155",Bfe="_predictionBody_95t8m_162",Rfe="_hasPrediction_95t8m_170",Te={board:yfe,clickable:kfe,sideBar:mfe,boardContent:ffe,orange:gfe,red:vfe,green:xfe,grey:Mfe,lightGrey:_fe,big:Lfe,medium:Ife,headerRow:bfe,iconWrapper:wfe,headerTitle:Cfe,valueArea:Nfe,titleWhite:Sfe,titleBlack:jfe,valueWhite:$fe,valueBlack:qfe,valueBlue:Afe,bars:zfe,bar:Vfe,barDark:Pfe,barDim:Tfe,predictionSection:Hfe,predictionHeader:Dfe,predictionBody:Bfe,hasPrediction:Rfe},Ffe=({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:S,predictionValue:N,predictionLabel:j})=>{const q=r!=="none",H=r==="endingDark",{padding:B,...A}=y||{},z=h===void 0&&u===void 0&&i===void 0&&Object.keys(A).length===0?void 0:{...h!==void 0?{width:h}:{},...u!==void 0?{height:u}:{},...i!==void 0?{backgroundColor:i}:{},...A},$=`${Te.board} ${Te[d]} ${N!==void 0?Te.hasPrediction:""} ${p}`;return o.jsxs("div",{className:$,onClick:_,style:l!==void 0?{...z,"--ds-value-scale":l}:z,children:[I&&o.jsx("div",{className:Te.sideBar,style:{backgroundColor:I}}),o.jsxs("div",{className:Te.boardContent,style:{padding:B,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:X(e,S),"aria-label":e?.description,style:{color:f,...m?{fontSize:m}:{},...x?{fontWeight:x}:{}},children:n})}),q?o.jsx(Ffe,{endingDark:H,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:j??"PRED."}),o.jsx("div",{className:Te.predictionBody,children:N})]})]})},Efe="_wrapper_1ydle_10",Ofe="_hosp_1ydle_19",Ufe="_headerRow_1ydle_54",Wfe="_iconWrapper_1ydle_61",Gfe="_headerTitle_1ydle_67",Kfe="_hospValue_1ydle_76",Zfe="_side_1ydle_88",Xfe="_mini_1ydle_100",Yfe="_miniLabel_1ydle_131",Jfe="_miniValue_1ydle_140",Qfe="_miniBars_1ydle_150",e8e="_bars_1ydle_155",t8e="_bar_1ydle_155",a8e="_barDark_1ydle_169",n8e="_barDim_1ydle_173",Be={wrapper:Efe,hosp:Ofe,headerRow:Ufe,iconWrapper:Wfe,headerTitle:Gfe,hospValue:Kfe,side:Zfe,mini:Xfe,miniLabel:Yfe,miniValue:Jfe,miniBars:Qfe,bars:e8e,bar:t8e,barDark:a8e,barDim:n8e},o8e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${Be.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${Be.bar} ${r<c?"":e?Be.barDark:Be.barDim}`},r))})},bA=({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:`${Be.wrapper} ${n} data-four-boards`,style:l,children:[o.jsxs("div",{className:`${Be.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:X(e.a11yConfig,e.titleKey),children:[o.jsxs("div",{className:Be.headerRow,children:[o.jsxs("div",{className:`${Be.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&o.jsx("span",{style:{color:e.iconColor},children:e.iconName}),o.jsx("span",{className:Be.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},title:X(e.a11yConfig,e.titleKey),children:e.label})]}),s?o.jsx(o8e,{endingDark:d,lightCount:e.lightBars??5}):null]}),o.jsx("div",{className:Be.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:Be.side,children:t.map((h,u)=>o.jsxs("div",{className:`${Be.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:X(h.a11yConfig,h.titleKey),children:[o.jsxs("span",{className:Be.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:X(h.a11yConfig,h.titleKey),children:[h.iconName&&o.jsx("span",{style:{color:h.iconColor},children:h.iconName}),h.label]}),o.jsx("span",{className:`${Be.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:Be.miniBars})]},h.id??`${h.label}-${u}`))})]})},c8e=({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:`${hi.container} ${y?hi.noPaddingMobile:""} ${s}`,children:[o.jsxs("div",{className:hi.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(bA,{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:hi.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})})})}),r8e=({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(j=>(j.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,S)=>{if(typeof _!="number")return _;const N=f?f(_):_.toString(),j=S?.payload?.percentage;return typeof j=="number"&&Number.isFinite(j)&&m==="percentage"?`${N} (${j.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})})]})})})},s8e="_menu_10i6j_1",d8e="_menuRow_10i6j_18",l8e="_separator_10i6j_33",h8e="_rowLabel_10i6j_39",u8e="_rowLeadingIcon_10i6j_47",p8e="_rowIcon_10i6j_54",Gc={menu:s8e,menuRow:d8e,separator:l8e,rowLabel:h8e,rowLeadingIcon:u8e,rowIcon:p8e},y8e=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)})})}),wA=({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:S}=ft(),N=e||S,{currentTheme:j,switchTheme:q}=bL(),H=k.useRef(null),B=k.useRef(null),[A,z]=k.useState(!1),[$,D]=k.useState({}),R=k.useMemo(()=>{const ae=[],ne=({variant:ue})=>ue==="sun"?o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("circle",{cx:"12",cy:"12",r:"4"})}):o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})});i&&(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 se=j==="dark";return ae.push({id:"theme",type:"action",label:se?"Mode clair":"Mode sombre",icon:o.jsx(ne,{variant:se?"sun":"moon"}),onClick:()=>{q(se?"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},[j,t,n,c,i,r,q]),V=v??R,O=()=>{if(!H.current){z(ae=>!ae);return}if(!A){const ae=H.current.getBoundingClientRect(),ne=window.innerWidth,se=window.innerHeight,ue=200,ye=200,U=4,Y=b?.x??0,ce=b?.y??0,ze=ne-ae.right>=ue+U;D(ze?{top:ae.bottom-ye+ce,left:ae.right+U+Y}:{bottom:se-ae.top+ce,left:ae.left+Y})}z(ae=>!ae)};if(k.useEffect(()=>{if(!A||!H.current)return;const ae=()=>{const ne=H.current.getBoundingClientRect(),se=window.innerWidth,ue=window.innerHeight,ye=200,U=200,Y=4,ce=b?.x??0,Se=b?.y??0,xe=se-ne.right>=ye+Y;D(xe?{top:ne.bottom-U+Se,left:ne.right+Y+ce}:{bottom:ue-ne.top+Se,left:ne.left+ce})};return window.addEventListener("resize",ae),window.addEventListener("orientationchange",ae),()=>{window.removeEventListener("resize",ae),window.removeEventListener("orientationchange",ae)}},[A,b]),k.useEffect(()=>{if(!A||!H.current||!B.current)return;const ae=()=>{const se=H.current.getBoundingClientRect(),ue=B.current.getBoundingClientRect(),ye=b?.x??0,U=b?.y??0;D(Y=>Y.left!==void 0&&Y.top!==void 0&&Y.left>=se.right-1?{top:se.bottom-ue.height+U,left:Y.left+ye}:Y)},ne=requestAnimationFrame(()=>{setTimeout(ae,0)});return()=>cancelAnimationFrame(ne)},[A,b]),!N)return null;const J=N,F=parseInt(h,10)||40,K=`${F*.375}px`,pe=`${F*1.375}px`,oe=`${F*.2}px`,ve=`${F*.6}px`,ie=()=>{const ae=parseInt(h,10)||40,ne=Math.max(8,ae*.34375),se=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:K,height:K,borderRadius:"50%",backgroundColor:x,position:"absolute",top:oe,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),o.jsx("div",{style:{width:pe,height:pe,borderRadius:"50%",backgroundColor:x,position:"absolute",top:ve,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),w&&o.jsx("div",{style:{position:"absolute",bottom:se,right:se,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:H,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:X(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(ie,{})})}),o.jsx(y8e,{ref:B,isVisible:A,onClose:()=>z(!1),items:V,style:I,position:$})]})},k8e="_navItem_16uqf_1",m8e="_label_16uqf_14",f8e="_icon_16uqf_26",m1={navItem:k8e,label:m8e,icon:f8e},sC=({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:m1.icon,style:{marginRight:g?0:M},children:r}),!g&&o.jsx("span",{className:m1.label,children:e})]}),_=()=>{if(!i)return"transparent";const S=N=>{const j=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(N);return j?{r:parseInt(j[1],16),g:parseInt(j[2],16),b:parseInt(j[3],16)}:null};if(l.startsWith("#")){const N=S(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:`${m1.navItem} ${i?m1.active:""} ${d} ${v?m1.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:X(b,t),children:C}):o.jsx("div",{...L,role:n?"button":void 0,tabIndex:n&&!v?0:void 0,title:X(b,t),children:C})},g8e="_navbar_y5tex_1",v8e="_topSection_y5tex_9",x8e="_logoContainer_y5tex_14",M8e="_collapseToggle_y5tex_20",_8e="_collapsedRail_y5tex_37",L8e="_collapsedToggle_y5tex_44",I8e="_sectionsContainer_y5tex_67",b8e="_sectionTitle_y5tex_73",w8e="_sectionItems_y5tex_78",C8e="_bottomSection_y5tex_83",N8e="_versionContainer_y5tex_102",Qe={navbar:g8e,topSection:v8e,logoContainer:x8e,collapseToggle:M8e,collapsedRail:_8e,collapsedToggle:L8e,sectionsContainer:I8e,sectionTitle:b8e,sectionItems:w8e,bottomSection:C8e,versionContainer:N8e},S8e=({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:S,style:N,className:j="",width:q="280px",showLogo:H=!0,versionA11yConfig:B,displayNone:A=!1,showCollapseToggle:z=!1,collapsed:$=!1,onCollapseToggle:D,collapseToggleLabel:R="Toggle sidebar",collapseToggleIconPath:V="/icon/dock_to_left.svg"})=>{const O=ft(),J=O.activeNav,F=O.setActiveNav,K=O.user,pe=S.user||K;return z&&$?o.jsx("div",{className:`${Qe.collapsedRail} ${j}`,style:{display:A?"none":"flex"},children:o.jsx("button",{type:"button",className:Qe.collapsedToggle,onClick:D,"aria-label":R,children:o.jsx(vw,{path:V,width:18,height:18})})}):o.jsxs("div",{className:`${Qe.navbar} ${j}`,style:{width:q,backgroundColor:s,padding:c,display:A?"none":"flex",...N},children:[o.jsxs("div",{className:Qe.topSection,style:{gap:t},children:[H&&o.jsxs("div",{className:Qe.logoContainer,children:[o.jsx(IL,{...e}),z&&o.jsx("button",{type:"button",className:Qe.collapseToggle,onClick:D,"aria-label":R,children:o.jsx(vw,{path:V,width:20,height:20})})]}),o.jsx("div",{className:Qe.sectionsContainer,style:{gap:i},children:n.map((oe,ve)=>o.jsxs("div",{className:Qe.section,children:[oe.title&&o.jsx("div",{className:Qe.sectionTitle,title:X(oe.a11yConfig,oe.titleKey),style:{fontSize:I,color:b,padding:v,fontWeight:w,border:"4px solid transparent",...u},children:oe.title}),o.jsx("div",{className:Qe.sectionItems,style:{gap:r},children:oe.items.map(ie=>o.jsx(sC,{...ie,isActive:ie.isActive===null?ie.isActive:J===ie.id,onClick:()=>{ie.onClick&&ie.onClick(),ie.isActive==null&&F(ie.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:f,iconGap:g,fontSize:m,fontWeight:x,color:M,style:p},ie.id))})]},ve))})]}),o.jsxs("div",{className:Qe.bottomSection,style:{gap:t},children:[o.jsx(wA,{...S,user:pe}),h&&o.jsx("div",{className:Qe.versionContainer,title:X(B,h),style:{fontSize:C,fontWeight:_,color:L},children:h})]})]})},j8e="_container_4qege_1",$8e="_titleContainer_4qege_10",q8e="_title_4qege_10",A8e="_inlineToggleContainer_4qege_24",z8e="_rightContentContainer_4qege_30",f1={container:j8e,titleContainer:$8e,title:q8e,inlineToggleContainer:A8e,rightContentContainer:z8e},V8e=({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:`${f1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[o.jsxs("div",{className:f1.titleContainer,children:[o.jsx("div",{className:f1.title,style:{fontSize:n,fontWeight:c,color:i},children:I}),x&&o.jsx("div",{className:f1.inlineToggleContainer,children:x})]}),m&&o.jsx("div",{className:f1.rightContentContainer,children:m})]}):null},P8e="_navItem_1hg26_1",T8e="_navItemIcon_1hg26_21",H8e="_navItemLabel_1hg26_29",D8e="_navItemCount_1hg26_36",B8e="_navItemIndicator_1hg26_49",g1={navItem:P8e,navItemIcon:T8e,navItemLabel:H8e,navItemCount:D8e,navItemIndicator:B8e},CA=({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:S=!1,onNavigate:N})=>{const j=()=>{S||(c?.(),i&&(N?N(i):window.location.href=i))};return o.jsxs("div",{className:`${g1.navItem} ${L}`,onClick:j,title:X(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:g1.navItemIcon,children:s}),o.jsx("span",{className:g1.navItemLabel,children:t}),d!==void 0&&o.jsx("span",{className:g1.navItemCount,style:{backgroundColor:p,color:y,borderRadius:f,padding:g,fontSize:m,fontWeight:x},children:d}),n&&!S&&o.jsx("div",{className:g1.navItemIndicator,style:{height:v,backgroundColor:M}})]})},R8e="_container_13hsa_1",F8e="_groupHeader_13hsa_8",E8e="_groupHeaderLeft_13hsa_18",O8e="_groupIcon_13hsa_23",U8e="_dropdown_13hsa_29",W8e="_item_13hsa_42",G8e="_itemIcon_13hsa_65",K8e="_chevron_13hsa_72",Z8e="_chevronOpen_13hsa_79",gt={container:R8e,groupHeader:F8e,groupHeaderLeft:E8e,groupIcon:O8e,dropdown:U8e,item:W8e,itemIcon:G8e,chevron:K8e,chevronOpen:Z8e},X8e=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"})),R1=k.memo(X8e),NA=({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:S=0})=>{const[N,j]=k.useState(""),q=k.useRef(null);k.useEffect(()=>{const B=A=>{q.current&&!q.current.contains(A.target)&&j("")};return document.addEventListener("mousedown",B),()=>document.removeEventListener("mousedown",B)},[]);const H={backgroundColor:r,color:s,borderRadius:S,...c};return o.jsx("nav",{ref:q,className:[gt.container,i].filter(Boolean).join(" "),style:H,children:e.map(B=>{const A=N===B.id,z={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:z,onClick:()=>j(A?"":B.id),role:"button","aria-expanded":A,children:[o.jsxs("div",{className:gt.groupHeaderLeft,style:{gap:L},children:[B.icon&&o.jsx("span",{className:gt.groupIcon,style:{color:I,width:w,height:w},children:B.icon}),o.jsx("span",{children:B.label})]}),o.jsx("span",{className:[gt.chevron,A?gt.chevronOpen:""].join(" "),style:{color:b},children:o.jsx(R1,{width:18,height:18})})]}),A&&o.jsx("div",{className:gt.dropdown,style:$,children:B.items.map(D=>{const R=D.id===t,V={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:V,onClick:()=>{n?.(B.id,D.id),j("")},role:"menuitem",onMouseEnter:O=>{R||(O.currentTarget.style.backgroundColor=y)},children:[D.icon&&o.jsx("span",{className:gt.itemIcon,style:{color:R?v:M,width:w,height:w},children:D.icon}),o.jsx("span",{children:D.label})]},D.id)})})]},B.id)})})},Y8e="_subheaderContent_1glo8_1",J8e="_navContainer_1glo8_11",Q8e="_rightContent_1glo8_45",Ub={subheaderContent:Y8e,navContainer:J8e,rightContent:Q8e},ege=({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:S,countFontWeight:N,navContainerClassName:j,navContainerStyle:q,rightContentClassName:H,rightContentStyle:B,rightActions:A,activeSwitcherColor:z,inactiveSwitcherColor:$,isMobile:D=!1,onNavigate:R})=>{const{activeSubNav:V,setActiveSubNav:O,navCounts:J,activeNav:F}=ft();if(D){const K=e.find(oe=>oe.id===V)||e[0],pe=[{id:"current-group",label:K?.label||F?.toUpperCase()||"MENU",icon:K?.icon,items:e.map(oe=>({id:oe.id,label:oe.label,icon:oe.icon}))}];return o.jsx("div",{className:I,style:b,children:o.jsx(NA,{groups:pe,activeItemId:V,onItemClick:(oe,ve)=>{const ie=e.find(ae=>ae.id===ve);ie&&(ie.onClick&&ie.onClick(),ie.href&&(R?R(ie.href):ie.onNavigate?ie.onNavigate(ie.href):window.location.href=ie.href),O(ve))},headerBgColor:t})})}return o.jsxs("div",{className:`${Ub.subheaderContent} ${I}`,style:{backgroundColor:t,padding:n,margin:c,width:i,height:r,border:s,borderBottom:d,...b},children:[o.jsx("div",{className:`${Ub.navContainer} ${j||""}`,style:{gap:l,...q},children:e.map(K=>{const pe=K.count!==void 0?K.count:J[K.id],oe=V===K.id||K.isActive;return o.jsx(CA,{...K,onNavigate:R||K.onNavigate,count:pe,isActive:oe,onClick:()=>{K.onClick&&K.onClick(),O(K.id)},activeColor:f,inactiveColor:g,countBackgroundColor:w,countColor:C,countBorderRadius:_,countPadding:L,countFontSize:S,countFontWeight:N,indicatorColor:f,indicatorHeight:m,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:K.style},K.id)})}),o.jsxs("div",{className:`${Ub.rightContent} ${H||""}`,style:{gap:h,...B},children:[x&&o.jsx(pL,{size:20,colors:{bg:z,activeBg:$,icon:"#1C1B1F",icon2:"#FFFFFF"}}),M&&o.jsx(yL,{size:20,colors:{bg:z,activeBg:$,icon:"#1C1B1F",icon2:"#FFFFFF"}}),v&&o.jsx(kL,{size:20,colors:{bg:z,activeBg:$,icon:"#1C1B1F",icon2:"#FFFFFF"}}),A]})]})},tge=({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}=bL(),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"})]})})},age=({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}},nge=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"})),oge=k.memo(nge),cge=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(cge),rge=({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:X(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(oge,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),sge=({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)})}),dge=({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},(q,H)=>H+1);const C=Math.max(f-1,1),_=Math.min(f+1,y),L=C>2,S=_<y-2,N=1,j=y;if(!L&&S)return[...Array.from({length:5},(B,A)=>A+1),"...",y];if(L&&!S){const H=Array.from({length:5},(B,A)=>y-5+A+1);return[N,"...",...H]}if(L&&S){const q=Array.from({length:_-C+1},(H,B)=>C+B);return[N,"...",...q,"...",j]}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"})})]})},SA=({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:S})=>{const N=k.useMemo(()=>({...p}),[p]),j=k.useRef(null);k.useEffect(()=>{if(!f||!y||!g||n)return;const $=new IntersectionObserver(D=>{D[0].isIntersecting&&y()},{threshold:.1});return j.current&&$.observe(j.current),()=>$.disconnect()},[f,y,g,n]);const{tableState:q,handleSort:H}=age({initialSortBy:null,onSortChange:r}),B=(m?.sortBy!==void 0?m.sortBy:q.sortBy)??void 0,A=m?.sortOrder!==void 0?m.sortOrder:q.sortOrder,z=$=>{const D=B,R=A;let V="asc";D===$&&(V=R==="asc"?"desc":"asc"),m?.sortBy!==void 0?r($,V):H($)};return o.jsxs("div",{className:`table-container ${x||""}`,style:M,title:X(_,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(rge,{columns:t,sortBy:B,sortOrder:A,onSort:z,removeLabelSpan:C}),o.jsx(sge,{data:e,columns:t.map($=>({...$,render:$.render?D=>$.render(D,{}):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:j,style:{height:20,margin:10}})]})]}),o.jsx(dge,{state:c,onPaginationChange:i,text:N,onLoadMore:y,infiniteScroll:f,hasMore:g,isLoading:n,pageSizeOptions:S})]})},lge="_datePickerContainer_1gx2l_3",hge="_label_1gx2l_16",uge="_displayNode_1gx2l_23",pge="_datePickerButton_1gx2l_30",yge="_datePickerButtonDisabled_1gx2l_50",kge="_datePickerButtonOpen_1gx2l_59",mge="_datePickerLabel_1gx2l_68",fge="_placeholder_1gx2l_79",gge="_trailingIcons_1gx2l_83",vge="_chevron_1gx2l_89",xge="_clearButton_1gx2l_97",Mge="_errorMessage_1gx2l_114",_ge="_dropdown_1gx2l_119",Lge="_calendarHeader_1gx2l_143",Ige="_navButton_1gx2l_152",bge="_headerSelectors_1gx2l_171",wge="_monthSelector_1gx2l_179",Cge="_yearSelector_1gx2l_180",Nge="_selectorButton_1gx2l_184",Sge="_selectorChevron_1gx2l_201",jge="_selectorChevronOpen_1gx2l_206",$ge="_monthDropdown_1gx2l_210",qge="_yearDropdown_1gx2l_211",Age="_monthItem_1gx2l_231",zge="_yearItem_1gx2l_232",Vge="_monthItemSelected_1gx2l_254",Pge="_yearItemSelected_1gx2l_255",Tge="_weekdays_1gx2l_259",Hge="_weekday_1gx2l_259",Dge="_calendarGrid_1gx2l_275",Bge="_dateCell_1gx2l_284",Rge="_dateCellSelected_1gx2l_307",Fge="_dateCellOtherMonth_1gx2l_311",Ege="_dateCellOtherMonthSelected_1gx2l_315",Oge="_calendarFooter_1gx2l_319",Uge="_cancelButton_1gx2l_327",Wge="_applyButton_1gx2l_328",Gge="_timePickerContainer_1gx2l_372",Kge="_timeGroup_1gx2l_381",Zge="_timeLabel_1gx2l_388",Xge="_timeInputWrapper_1gx2l_394",Yge="_timeInput_1gx2l_394",Jge="_timeSeparator_1gx2l_422",Z={datePickerContainer:lge,label:hge,displayNode:uge,datePickerButton:pge,datePickerButtonDisabled:yge,datePickerButtonOpen:kge,datePickerLabel:mge,placeholder:fge,trailingIcons:gge,chevron:vge,clearButton:xge,errorMessage:Mge,dropdown:_ge,calendarHeader:Lge,navButton:Ige,headerSelectors:bge,monthSelector:wge,yearSelector:Cge,selectorButton:Nge,selectorChevron:Sge,selectorChevronOpen:jge,monthDropdown:$ge,yearDropdown:qge,monthItem:Age,yearItem:zge,monthItemSelected:Vge,yearItemSelected:Pge,weekdays:Tge,weekday:Hge,calendarGrid:Dge,dateCell:Bge,dateCellSelected:Rge,dateCellOtherMonth:Fge,dateCellOtherMonthSelected:Ege,calendarFooter:Oge,cancelButton:Uge,applyButton:Wge,timePickerContainer:Gge,timeGroup:Kge,timeLabel:Zge,timeInputWrapper:Xge,timeInput:Yge,timeSeparator:Jge},Qge=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"})),e7e=k.memo(Qge),Pj=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],t7e=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],Mw=({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="#ffffff",itemHoverColor:C,selectedItemBgColor:_,iconColor:L,errorColor:S,labelColor:N,placeholderColor:j,borderRadius:q="var(--radius-content)",borderWidth:H="0.0625rem",boxShadow:B="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:A="0.2s",transitionTiming:z="ease",dateCellSize:$="2.5rem",headerTextColor:D="#6c757d",weekdayTextColor:R="#6c757d",currentMonthDateColor:V="#212529",otherMonthDateColor:O="#adb5bd",selectedDateBgColor:J="#00A6D9",selectedDateTextColor:F="#ffffff",cancelButtonBgColor:K="#e9ecef",cancelButtonTextColor:pe="#212529",applyButtonBgColor:oe="#00A6D9",applyButtonTextColor:ve="#ffffff",width:ie,displayNode:ae=void 0,displayMode:ne="auto",displayNodeAriaLabel:se,dropdownPosition:ue="auto",dropdownAlignment:ye="right",dropdownWidth:U,withBorder:Y=!1,icon:ce,precision:Se="day",horizontalTimePicker:ze=!1,hoursLabel:xe="Heures",minutesLabel:He="Minutes",lowerLimit:we=null,upperLimit:je=null,outOfLimitsMessage:le="La date/heure choisie est hors des limites autorisées",months:Ct,weekdays:HL,cancelText:Le="Annuler",applyText:Ft="Appliquer",prevMonthAriaLabel:AA="Mois précédent",nextMonthAriaLabel:zA="Mois suivant",calendarAriaLabel:VA="Sélecteur de date",openedAriaLabel:PA="Ouvrir le sélecteur de date",selectedDateAriaLabel:TA="Date sélectionnée: ",rotateIcon:HA=!0,clearable:DA=!1,clearAriaLabel:BA="Effacer la date"})=>{const Nt=P=>{if(P instanceof Date)return isNaN(P.getTime())?null:P;if(typeof P=="string"&&P){const G=new Date(P);return isNaN(G.getTime())?null:G}return null},[Ke,Et]=k.useState(!1),[u1,RA]=k.useState({top:0,left:0,width:0}),[dC,FA]=k.useState("bottom"),[lC,EA]=k.useState(null),[he,p1]=k.useState(Nt(e)||new Date),[y1,DL]=k.useState(Nt(e)),[Q1,BL]=k.useState(Nt(e)?.getHours()??0),[ei,RL]=k.useState(Nt(e)?.getMinutes()??0),[FL,Rc]=k.useState(!1),[EL,Fc]=k.useState(!1),OL=k.useRef(null),Ec=k.useRef(null),hC=k.useRef(null),UL=k.useRef(null),WL=k.useRef(null),uC=k.useRef(Nt(e)?.getTime());k.useEffect(()=>{const P=Nt(e),G=P?.getTime();G!==uC.current&&(uC.current=G,DL(P),P&&(p1(P),BL(P.getHours()),RL(P.getMinutes())))},[e]);const pC=k.useCallback(()=>{if(Ec.current){const P=Ec.current.getBoundingClientRect();RA({top:P.top,left:P.left,width:P.width})}},[]),yC=8,ti=k.useCallback(()=>{if(!Ec.current)return;const P=Ec.current.getBoundingClientRect(),G=(parseFloat(m.replace("rem",""))||0)*16,Me=P.top-G-yC,De=window.innerHeight-P.bottom-G-yC;let Ve;if(ue!=="auto")Ve=ue;else{const Fe=hC.current?.scrollHeight??0;Ve=Fe<=De?"bottom":Fe<=Me||Me>De?"top":"bottom"}FA(Fe=>Fe===Ve?Fe:Ve),EA(Math.max(Ve==="bottom"?De:Me,0))},[ue,m]),Oc=k.useCallback(()=>{pC(),ti()},[pC,ti]);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&&ti()},[Ke,ti]),k.useEffect(()=>{const P=G=>{if(OL.current&&!OL.current.contains(G.target)){const Me=document.getElementById("datepicker-dropdown");if(Me&&Me.contains(G.target))return;Et(!1),Rc(!1),Fc(!1)}UL.current&&!UL.current.contains(G.target)&&Rc(!1),WL.current&&!WL.current.contains(G.target)&&Fc(!1)};return document.addEventListener("mousedown",P),()=>document.removeEventListener("mousedown",P)},[]);const kC=P=>new Date(P.getFullYear(),P.getMonth()+1,0).getDate(),OA=P=>{const G=new Date(P.getFullYear(),P.getMonth(),1).getDay();return G===0?6:G-1},UA=()=>{const P=[],G=OA(he),Me=kC(he),De=new Date(he.getFullYear(),he.getMonth()-1,1),Ve=kC(De);for(let Ce=G-1;Ce>=0;Ce--)P.push(new Date(he.getFullYear(),he.getMonth()-1,Ve-Ce));for(let Ce=1;Ce<=Me;Ce++)P.push(new Date(he.getFullYear(),he.getMonth(),Ce));const Fe=42-P.length;for(let Ce=1;Ce<=Fe;Ce++)P.push(new Date(he.getFullYear(),he.getMonth()+1,Ce));return P},WA=(P,G)=>!P||!G?!1:P.getDate()===G.getDate()&&P.getMonth()===G.getMonth()&&P.getFullYear()===G.getFullYear(),GA=P=>P.getMonth()===he.getMonth()&&P.getFullYear()===he.getFullYear(),ai=P=>new Date(P.getFullYear(),P.getMonth(),P.getDate()).getTime(),mC=P=>!(we&&ai(P)<ai(we)||je&&ai(P)>ai(je)),fC=y1?(()=>{const P=new Date(y1);return P.setHours(Q1),P.setMinutes(ei),P})():null,Uc=fC?!mC(fC):!1,ni=new Date(he.getFullYear(),he.getMonth()-1,1),oi=new Date(he.getFullYear(),he.getMonth()+1,1),GL=!!(we&&(ni.getFullYear()<we.getFullYear()||ni.getFullYear()===we.getFullYear()&&ni.getMonth()<we.getMonth())),KL=!!(je&&(oi.getFullYear()>je.getFullYear()||oi.getFullYear()===je.getFullYear()&&oi.getMonth()>je.getMonth())),KA=()=>{GL||p1(ni)},ZA=()=>{KL||p1(oi)},XA=P=>{if(!s){const G=new Date(P);G.setHours(Q1),G.setMinutes(ei),DL(G)}},YA=()=>{if(!s){if(y1){const P=new Date(y1);if(P.setHours(Q1),P.setMinutes(ei),!mC(P))return;t(P)}else t(null);Et(!1)}},JA=()=>{const P=Nt(e);DL(P),P&&(BL(P.getHours()),RL(P.getMinutes())),Et(!1)},QA=P=>{p1(new Date(he.getFullYear(),P,1)),Rc(!1)},ez=P=>{p1(new Date(P,he.getMonth(),1)),Fc(!1)},tz=()=>{const P=he.getFullYear(),G=we?we.getFullYear():P-10,Me=je?je.getFullYear():P+10,De=[];for(let Ve=G;Ve<=Me;Ve++)De.push(Ve);return De},az=P=>{const G=he.getFullYear();return!!(we&&(G<we.getFullYear()||G===we.getFullYear()&&P<we.getMonth())||je&&(G>je.getFullYear()||G===je.getFullYear()&&P>je.getMonth()))},nz=P=>{if(!s)switch(P.key){case"Enter":case" ":P.preventDefault(),Et(!Ke);break;case"Escape":Et(!1),Rc(!1),Fc(!1);break;case"Tab":Ke&&(Et(!1),Rc(!1),Fc(!1));break}},oz={width:ie||(r?"100%":"auto"),fontSize:p,fontWeight:M},cz={height:l,padding:h,backgroundColor:v||"#ffffff",border:Y?void 0:"none",borderColor:d?S||"#dc3545":I||"#dee2e6",color:b||"#212529",borderRadius:q,borderWidth:H,fontWeight:M,transition:`all ${A} ${z}`},iz=ze?{flexDirection:"column",borderTop:"none",borderLeft:"1px solid #eee"}:{},rz=ze?{flex:1,minWidth:0}:void 0,sz=ze?{display:"flex",flexDirection:"row",alignItems:"stretch"}:void 0,dz={backgroundColor:w||"#ffffff",maxHeight:u==="auto"?lC!=null?`${lC}px`:void 0:u,overflowY:"auto",borderRadius:q,borderWidth:H,boxShadow:B,transition:`opacity ${A} ${z}, transform ${A} ${z}`,position:"fixed",top:dC==="bottom"?u1.top+(Ec.current?.offsetHeight||0)+parseFloat(m.replace("rem",""))*16:"auto",bottom:dC==="top"?window.innerHeight-u1.top+parseFloat(m.replace("rem",""))*16:"auto",left:ye==="left"?u1.left:"auto",right:ye==="right"?window.innerWidth-(u1.left+u1.width):"auto",width:U||"30vw",minWidth:U?void 0:0,zIndex:10001},gC={width:y,height:y,color:L||"#6c757d","--icon-rotation":HA&&Ke?"rotate(180deg)":"rotate(0deg)"},lz={color:N||"#212529",marginBottom:f,fontWeight:M},hz={color:j||"#6c757d"},uz={color:S||"#dc3545",marginTop:g},pz=UA(),ot=Nt(e),vC=P=>`${P.getDate().toString().padStart(2,"0")}/${(P.getMonth()+1).toString().padStart(2,"0")}/${P.getFullYear()}`,xC=ot?Se==="minutes"?`${vC(ot)} ${ot.getHours().toString().padStart(2,"0")}:${ot.getMinutes().toString().padStart(2,"0")}`:vC(ot):"",MC=!!ae&&(ne==="icon"||ne==="auto"&&!ot),yz=DA&&!MC&&!!ot&&!s,kz={width:"0.875rem",height:"0.875rem",color:L||"#6c757d"},mz=se||(ot?`${TA}${xC}`:PA);return o.jsxs("div",{className:`${Z.datePickerContainer} ${i}`,ref:OL,style:oz,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&o.jsx("label",{className:Z.label,style:lz,children:n}),o.jsxs("button",{ref:Ec,type:"button",onClick:()=>!s&&Et(!Ke),onKeyDown:nz,className:`
8337
8337
  ${Z.datePickerButton}
8338
8338
  ${Ke?Z.datePickerButtonOpen:""}
8339
8339
  ${s?Z.datePickerButtonDisabled:""}
8340
- `,style:cz,disabled:s,"aria-expanded":Ke,"aria-haspopup":"dialog","aria-label":mz,"aria-labelledby":n?`${n}-label`:void 0,children:[MC?o.jsx("span",{className:Z.displayNode,"aria-hidden":!0,children:ae}):o.jsx("span",{className:`${Z.datePickerLabel} ${ot?"":Z.placeholder}`,style:ot?void 0:hz,children:ot?xC:c}),o.jsxs("span",{className:Z.trailingIcons,children:[yz&&o.jsx("span",{role:"button",tabIndex:0,className:Z.clearButton,"aria-label":BA,onClick:P=>{P.stopPropagation(),t(null)},onKeyDown:P=>{(P.key==="Enter"||P.key===" ")&&(P.preventDefault(),P.stopPropagation(),t(null))},children:o.jsx(e7e,{fill:"var(--color-text)",style:kz})}),ce?o.jsx("span",{className:Z.chevron,style:gC,children:ce}):o.jsx(R1,{fill:"var(--color-text)",className:`${Z.chevron} ${Ke?Z.chevronOpen:""}`,style:gC})]})]}),d&&o.jsx("div",{className:Z.errorMessage,style:uz,children:d}),Ke&&!s&&_w.createPortal(o.jsxs("div",{id:"datepicker-dropdown",ref:hC,className:Z.dropdown,style:dz,role:"dialog","aria-label":VA,children:[o.jsxs("div",{style:sz,children:[o.jsxs("div",{style:rz,children:[o.jsxs("div",{className:Z.calendarHeader,children:[o.jsx("button",{type:"button",className:Z.navButton,onClick:KA,"aria-label":AA,disabled:GL,style:GL?{opacity:.3,cursor:"not-allowed"}:void 0,children:"‹"}),o.jsxs("div",{className:Z.headerSelectors,children:[o.jsxs("div",{className:Z.monthSelector,ref:UL,children:[o.jsxs("button",{type:"button",className:Z.selectorButton,onClick:()=>Rc(!FL),style:{color:D,"--hover-color":C},children:[(Ct||Pj)[he.getMonth()],o.jsx(R1,{fill:"var(--color-text)",className:`${Z.selectorChevron} ${FL?Z.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),FL&&o.jsx("div",{className:Z.monthDropdown,children:(Ct||Pj).map((P,G)=>{const Me=az(G);return o.jsx("button",{type:"button",disabled:Me,className:`${Z.monthItem} ${he.getMonth()===G?Z.monthItemSelected:""}`,onClick:()=>!Me&&QA(G),style:{padding:x,backgroundColor:he.getMonth()===G?M||"#e7f1ff":w,opacity:Me?.3:1,cursor:Me?"not-allowed":"pointer"},onMouseEnter:De=>{C&&he.getMonth()!==G&&!Me&&(De.currentTarget.style.backgroundColor=C)},onMouseLeave:De=>{C&&(De.currentTarget.style.backgroundColor=he.getMonth()===G?M||"#e7f1ff":w)},children:P},G)})})]}),o.jsxs("div",{className:Z.yearSelector,ref:WL,children:[o.jsxs("button",{type:"button",className:Z.selectorButton,onClick:()=>Fc(!EL),style:{color:D,"--hover-color":C},children:[he.getFullYear(),o.jsx(R1,{fill:"var(--color-text)",className:`${Z.selectorChevron} ${EL?Z.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),EL&&o.jsx("div",{className:Z.yearDropdown,children:tz().map(P=>o.jsx("button",{type:"button",className:`${Z.yearItem} ${he.getFullYear()===P?Z.yearItemSelected:""}`,onClick:()=>ez(P),style:{padding:x,backgroundColor:he.getFullYear()===P?M||"#e7f1ff":w},onMouseEnter:G=>{C&&he.getFullYear()!==P&&(G.currentTarget.style.backgroundColor=C)},onMouseLeave:G=>{C&&(G.currentTarget.style.backgroundColor=he.getFullYear()===P?M||"#e7f1ff":w)},children:P},P))})]})]}),o.jsx("button",{type:"button",className:Z.navButton,onClick:ZA,"aria-label":zA,disabled:KL,style:KL?{opacity:.3,cursor:"not-allowed"}:void 0,children:"›"})]}),o.jsx("div",{className:Z.weekdays,children:(HL||t7e).map(P=>o.jsx("div",{className:Z.weekday,style:{color:R},children:P},P))}),o.jsx("div",{className:Z.calendarGrid,children:pz.map((P,G)=>{if(!P)return null;const Me=WA(P,y1),De=GA(P),Ve=Ce=>new Date(Ce.getFullYear(),Ce.getMonth(),Ce.getDate()).getTime(),Fe=!!(we&&Ve(P)<Ve(we)||je&&Ve(P)>Ve(je));return o.jsx("button",{type:"button",className:`${Z.dateCell} ${Me?Z.dateCellSelected:""} ${Me?Z.dateCellOtherMonthSelected:""} ${De?"":Z.dateCellOtherMonth} ${Fe?Z.dateCellDisabled:""}`,onClick:()=>!Fe&&XA(P),disabled:Fe,style:{width:$,height:$,color:Me?F:De?V:O,backgroundColor:Me?J:"transparent",opacity:Fe?.4:1,cursor:Fe?"not-allowed":"pointer"},onMouseEnter:Ce=>{!Me&&!Fe&&C&&(Ce.currentTarget.style.backgroundColor=C)},onMouseLeave:Ce=>{Me||(Ce.currentTarget.style.backgroundColor="transparent")},children:P.getDate()},G)})})]}),Se==="minutes"&&o.jsxs("div",{className:Z.timePickerContainer,style:iz,children:[o.jsxs("div",{className:Z.timeGroup,children:[o.jsx("span",{className:Z.timeLabel,children:xe}),o.jsx("div",{className:Z.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"23",value:Q1,onChange:P=>{const G=parseInt(P.target.value);!isNaN(G)&&G>=0&&G<=23&&BL(G)},className:Z.timeInput,style:Uc?{borderColor:"#dc2626",color:"#dc2626"}:void 0})})]}),!ze&&o.jsx("span",{className:Z.timeSeparator,children:":"}),o.jsxs("div",{className:Z.timeGroup,children:[o.jsx("span",{className:Z.timeLabel,children:He}),o.jsx("div",{className:Z.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"59",value:ei,onChange:P=>{const G=parseInt(P.target.value);!isNaN(G)&&G>=0&&G<=59&&RL(G)},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:le}),o.jsxs("div",{className:Z.calendarFooter,children:[o.jsx("button",{type:"button",className:Z.cancelButton,onClick:JA,style:{backgroundColor:K,color:pe,borderRadius:q,padding:x},children:Le}),o.jsx("button",{type:"button",className:Z.applyButton,onClick:YA,disabled:Uc,style:{backgroundColor:oe,color:ve,borderRadius:q,padding:x,opacity:Uc?.5:1,cursor:Uc?"not-allowed":"pointer"},children:Ft})]})]}),document.body)]})},a7e="_selectContainer_1ptm9_1",n7e="_label_1ptm9_15",o7e="_selectButton_1ptm9_23",c7e="_selectButtonDisabled_1ptm9_43",i7e="_selectButtonOpen_1ptm9_48",r7e="_selectButtonContent_1ptm9_58",s7e="_selectIcon_1ptm9_66",d7e="_selectLabel_1ptm9_72",l7e="_placeholder_1ptm9_79",h7e="_chevron_1ptm9_84",u7e="_errorMessage_1ptm9_93",p7e="_dropdown_1ptm9_99",y7e="_dropdownContent_1ptm9_123",k7e="_item_1ptm9_129",m7e="_itemSelected_1ptm9_151",f7e="_itemContent_1ptm9_155",g7e="_itemIcon_1ptm9_162",v7e="_itemLabel_1ptm9_168",Ne={selectContainer:a7e,label:n7e,selectButton:o7e,selectButtonDisabled:c7e,selectButtonOpen:i7e,selectButtonContent:r7e,selectIcon:s7e,selectLabel:d7e,placeholder:l7e,chevron:h7e,errorMessage:u7e,dropdown:p7e,dropdownContent:y7e,item:k7e,itemSelected:m7e,itemContent:f7e,itemIcon:g7e,itemLabel:v7e},jA=({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:_="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:M,itemHoverColor:L,selectedItemBgColor:j,iconColor:N,errorColor:S,labelColor:q,placeholderColor:B,border:H,borderRadius:z="var(--select-border-radius, 0.5rem)",borderWidth:A="var(--select-border-width, 0.0625rem)",boxShadow:$="var(--select-box-shadow, 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1))",transitionDuration:D="var(--select-transition-duration, 0.2s)",transitionTiming:R="var(--select-transition-timing, ease)",scrollbarWidth:V="var(--select-scrollbar-width, 0.375rem)",scrollbarTrackColor:O="var(--select-scrollbar-track-color, #f1f1f1)",scrollbarThumbColor:J="var(--select-scrollbar-thumb-color, #c1c1c1)",width:F,minWidth:K,dropdownPosition:pe="bottom",dropdownAlignment:oe="right",dropdownWidth:ve,a11yConfig:ie,titleKey:ae})=>{const[ne,se]=k.useState(!1),ue=k.useRef(null),ye=e.find(Le=>Le.value===t);k.useEffect(()=>{const Le=Ft=>{ue.current&&!ue.current.contains(Ft.target)&&se(!1)};return document.addEventListener("mousedown",Le),()=>document.removeEventListener("mousedown",Le)},[]);const W=Le=>{d||(n(Le),se(!1))},Y=Le=>{if(!d)switch(Le.key){case"Enter":case" ":Le.preventDefault(),se(!ne);break;case"Escape":se(!1);break;case"Tab":ne&&se(!1);break}},ce={width:F||(s?"100%":"auto"),minWidth:K,fontSize:y},Se={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:z,borderWidth:A,transition:`all ${D} ${R}`,fontWeight:f},ze={backgroundColor:M||"var(--select-dropdown-bg-color, #ffffff)",maxHeight:p,borderRadius:z,borderWidth:A,boxShadow:$,transition:`opacity ${D} ${R}, transform ${D} ${R}`,position:"absolute",top:pe==="bottom"?"100%":"auto",bottom:pe==="top"?"100%":"auto",left:oe==="left"?0:"auto",right:oe==="right"?0:"auto",width:ve||(s?"100%":"auto"),marginTop:pe==="bottom"?_:0,marginBottom:pe==="top"?_:0,zIndex:1001},xe={width:g,height:g,color:N||"var(--select-icon-color, #6c757d)","--icon-rotation":ne?"rotate(180deg)":"rotate(0deg)"},He={color:q||"var(--select-label-color, #212529)",marginBottom:m},we={color:B||"var(--select-placeholder-color, #6c757d)"},je={color:S||"var(--select-error-color, #dc3545)",marginTop:x},le={padding:v,transition:`background-color ${D} ${R}`,fontWeight:f},Ct={gap:I},HL={"--scrollbar-width":V,"--scrollbar-track-color":O,"--scrollbar-thumb-color":J};return o.jsxs("div",{className:`${Ne.selectContainer} ${r}`,ref:ue,style:ce,"data-fullwidth":s,"data-disabled":d,"data-error":!!l,title:X(ie,ae),children:[c&&o.jsx("label",{className:Ne.label,style:He,children:c}),o.jsxs("button",{type:"button",onClick:()=>!d&&se(!ne),onKeyDown:Y,className:`
8340
+ `,style:cz,disabled:s,"aria-expanded":Ke,"aria-haspopup":"dialog","aria-label":mz,"aria-labelledby":n?`${n}-label`:void 0,children:[MC?o.jsx("span",{className:Z.displayNode,"aria-hidden":!0,children:ae}):o.jsx("span",{className:`${Z.datePickerLabel} ${ot?"":Z.placeholder}`,style:ot?void 0:hz,children:ot?xC:c}),o.jsxs("span",{className:Z.trailingIcons,children:[yz&&o.jsx("span",{role:"button",tabIndex:0,className:Z.clearButton,"aria-label":BA,onClick:P=>{P.stopPropagation(),t(null)},onKeyDown:P=>{(P.key==="Enter"||P.key===" ")&&(P.preventDefault(),P.stopPropagation(),t(null))},children:o.jsx(e7e,{fill:"var(--color-text)",style:kz})}),ce?o.jsx("span",{className:Z.chevron,style:gC,children:ce}):o.jsx(R1,{fill:"var(--color-text)",className:`${Z.chevron} ${Ke?Z.chevronOpen:""}`,style:gC})]})]}),d&&o.jsx("div",{className:Z.errorMessage,style:uz,children:d}),Ke&&!s&&_w.createPortal(o.jsxs("div",{id:"datepicker-dropdown",ref:hC,className:Z.dropdown,style:dz,role:"dialog","aria-label":VA,children:[o.jsxs("div",{style:sz,children:[o.jsxs("div",{style:rz,children:[o.jsxs("div",{className:Z.calendarHeader,children:[o.jsx("button",{type:"button",className:Z.navButton,onClick:KA,"aria-label":AA,disabled:GL,style:GL?{opacity:.3,cursor:"not-allowed"}:void 0,children:"‹"}),o.jsxs("div",{className:Z.headerSelectors,children:[o.jsxs("div",{className:Z.monthSelector,ref:UL,children:[o.jsxs("button",{type:"button",className:Z.selectorButton,onClick:()=>Rc(!FL),style:{color:D,"--hover-color":C},children:[(Ct||Pj)[he.getMonth()],o.jsx(R1,{fill:"var(--color-text)",className:`${Z.selectorChevron} ${FL?Z.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),FL&&o.jsx("div",{className:Z.monthDropdown,children:(Ct||Pj).map((P,G)=>{const Me=az(G);return o.jsx("button",{type:"button",disabled:Me,className:`${Z.monthItem} ${he.getMonth()===G?Z.monthItemSelected:""}`,onClick:()=>!Me&&QA(G),style:{padding:x,backgroundColor:he.getMonth()===G?_||"#e7f1ff":w,opacity:Me?.3:1,cursor:Me?"not-allowed":"pointer"},onMouseEnter:De=>{C&&he.getMonth()!==G&&!Me&&(De.currentTarget.style.backgroundColor=C)},onMouseLeave:De=>{C&&(De.currentTarget.style.backgroundColor=he.getMonth()===G?_||"#e7f1ff":w)},children:P},G)})})]}),o.jsxs("div",{className:Z.yearSelector,ref:WL,children:[o.jsxs("button",{type:"button",className:Z.selectorButton,onClick:()=>Fc(!EL),style:{color:D,"--hover-color":C},children:[he.getFullYear(),o.jsx(R1,{fill:"var(--color-text)",className:`${Z.selectorChevron} ${EL?Z.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),EL&&o.jsx("div",{className:Z.yearDropdown,children:tz().map(P=>o.jsx("button",{type:"button",className:`${Z.yearItem} ${he.getFullYear()===P?Z.yearItemSelected:""}`,onClick:()=>ez(P),style:{padding:x,backgroundColor:he.getFullYear()===P?_||"#e7f1ff":w},onMouseEnter:G=>{C&&he.getFullYear()!==P&&(G.currentTarget.style.backgroundColor=C)},onMouseLeave:G=>{C&&(G.currentTarget.style.backgroundColor=he.getFullYear()===P?_||"#e7f1ff":w)},children:P},P))})]})]}),o.jsx("button",{type:"button",className:Z.navButton,onClick:ZA,"aria-label":zA,disabled:KL,style:KL?{opacity:.3,cursor:"not-allowed"}:void 0,children:"›"})]}),o.jsx("div",{className:Z.weekdays,children:(HL||t7e).map(P=>o.jsx("div",{className:Z.weekday,style:{color:R},children:P},P))}),o.jsx("div",{className:Z.calendarGrid,children:pz.map((P,G)=>{if(!P)return null;const Me=WA(P,y1),De=GA(P),Ve=Ce=>new Date(Ce.getFullYear(),Ce.getMonth(),Ce.getDate()).getTime(),Fe=!!(we&&Ve(P)<Ve(we)||je&&Ve(P)>Ve(je));return o.jsx("button",{type:"button",className:`${Z.dateCell} ${Me?Z.dateCellSelected:""} ${Me?Z.dateCellOtherMonthSelected:""} ${De?"":Z.dateCellOtherMonth} ${Fe?Z.dateCellDisabled:""}`,onClick:()=>!Fe&&XA(P),disabled:Fe,style:{width:$,height:$,color:Me?F:De?V:O,backgroundColor:Me?J:"transparent",opacity:Fe?.4:1,cursor:Fe?"not-allowed":"pointer"},onMouseEnter:Ce=>{!Me&&!Fe&&C&&(Ce.currentTarget.style.backgroundColor=C)},onMouseLeave:Ce=>{Me||(Ce.currentTarget.style.backgroundColor="transparent")},children:P.getDate()},G)})})]}),Se==="minutes"&&o.jsxs("div",{className:Z.timePickerContainer,style:iz,children:[o.jsxs("div",{className:Z.timeGroup,children:[o.jsx("span",{className:Z.timeLabel,children:xe}),o.jsx("div",{className:Z.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"23",value:Q1,onChange:P=>{const G=parseInt(P.target.value);!isNaN(G)&&G>=0&&G<=23&&BL(G)},className:Z.timeInput,style:Uc?{borderColor:"#dc2626",color:"#dc2626"}:void 0})})]}),!ze&&o.jsx("span",{className:Z.timeSeparator,children:":"}),o.jsxs("div",{className:Z.timeGroup,children:[o.jsx("span",{className:Z.timeLabel,children:He}),o.jsx("div",{className:Z.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"59",value:ei,onChange:P=>{const G=parseInt(P.target.value);!isNaN(G)&&G>=0&&G<=59&&RL(G)},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:le}),o.jsxs("div",{className:Z.calendarFooter,children:[o.jsx("button",{type:"button",className:Z.cancelButton,onClick:JA,style:{backgroundColor:K,color:pe,borderRadius:q,padding:x},children:Le}),o.jsx("button",{type:"button",className:Z.applyButton,onClick:YA,disabled:Uc,style:{backgroundColor:oe,color:ve,borderRadius:q,padding:x,opacity:Uc?.5:1,cursor:Uc?"not-allowed":"pointer"},children:Ft})]})]}),document.body)]})},a7e="_selectContainer_1ptm9_1",n7e="_label_1ptm9_15",o7e="_selectButton_1ptm9_23",c7e="_selectButtonDisabled_1ptm9_43",i7e="_selectButtonOpen_1ptm9_48",r7e="_selectButtonContent_1ptm9_58",s7e="_selectIcon_1ptm9_66",d7e="_selectLabel_1ptm9_72",l7e="_placeholder_1ptm9_79",h7e="_chevron_1ptm9_84",u7e="_errorMessage_1ptm9_93",p7e="_dropdown_1ptm9_99",y7e="_dropdownContent_1ptm9_123",k7e="_item_1ptm9_129",m7e="_itemSelected_1ptm9_151",f7e="_itemContent_1ptm9_155",g7e="_itemIcon_1ptm9_162",v7e="_itemLabel_1ptm9_168",Ne={selectContainer:a7e,label:n7e,selectButton:o7e,selectButtonDisabled:c7e,selectButtonOpen:i7e,selectButtonContent:r7e,selectIcon:s7e,selectLabel:d7e,placeholder:l7e,chevron:h7e,errorMessage:u7e,dropdown:p7e,dropdownContent:y7e,item:k7e,itemSelected:m7e,itemContent:f7e,itemIcon:g7e,itemLabel:v7e},jA=({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:S,iconColor:N,errorColor:j,labelColor:q,placeholderColor:H,border:B,borderRadius:A="var(--select-border-radius, 0.5rem)",borderWidth:z="var(--select-border-width, 0.0625rem)",boxShadow:$="var(--select-box-shadow, 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1))",transitionDuration:D="var(--select-transition-duration, 0.2s)",transitionTiming:R="var(--select-transition-timing, ease)",scrollbarWidth:V="var(--select-scrollbar-width, 0.375rem)",scrollbarTrackColor:O="var(--select-scrollbar-track-color, #f1f1f1)",scrollbarThumbColor:J="var(--select-scrollbar-thumb-color, #c1c1c1)",width:F,minWidth:K,dropdownPosition:pe="bottom",dropdownAlignment:oe="right",dropdownWidth:ve,a11yConfig:ie,titleKey:ae})=>{const[ne,se]=k.useState(!1),ue=k.useRef(null),ye=e.find(Le=>Le.value===t);k.useEffect(()=>{const Le=Ft=>{ue.current&&!ue.current.contains(Ft.target)&&se(!1)};return document.addEventListener("mousedown",Le),()=>document.removeEventListener("mousedown",Le)},[]);const U=Le=>{d||(n(Le),se(!1))},Y=Le=>{if(!d)switch(Le.key){case"Enter":case" ":Le.preventDefault(),se(!ne);break;case"Escape":se(!1);break;case"Tab":ne&&se(!1);break}},ce={width:F||(s?"100%":"auto"),minWidth:K,fontSize:y},Se={height:h,padding:u,backgroundColor:b||"var(--select-button-bg-color, #ffffff)",border:B,borderColor:l?j||"var(--select-error-color, #dc3545)":w||"var(--select-button-border-color, #dee2e6)",color:C||"var(--select-button-text-color, #212529)",borderRadius:A,borderWidth:z,transition:`all ${D} ${R}`,fontWeight:f},ze={backgroundColor:_||"var(--select-dropdown-bg-color, #ffffff)",maxHeight:p,borderRadius:A,borderWidth:z,boxShadow:$,transition:`opacity ${D} ${R}, transform ${D} ${R}`,position:"absolute",top:pe==="bottom"?"100%":"auto",bottom:pe==="top"?"100%":"auto",left:oe==="left"?0:"auto",right:oe==="right"?0:"auto",width:ve||(s?"100%":"auto"),marginTop:pe==="bottom"?M:0,marginBottom:pe==="top"?M:0,zIndex:1001},xe={width:g,height:g,color:N||"var(--select-icon-color, #6c757d)","--icon-rotation":ne?"rotate(180deg)":"rotate(0deg)"},He={color:q||"var(--select-label-color, #212529)",marginBottom:m},we={color:H||"var(--select-placeholder-color, #6c757d)"},je={color:j||"var(--select-error-color, #dc3545)",marginTop:x},le={padding:v,transition:`background-color ${D} ${R}`,fontWeight:f},Ct={gap:I},HL={"--scrollbar-width":V,"--scrollbar-track-color":O,"--scrollbar-thumb-color":J};return o.jsxs("div",{className:`${Ne.selectContainer} ${r}`,ref:ue,style:ce,"data-fullwidth":s,"data-disabled":d,"data-error":!!l,title:X(ie,ae),children:[c&&o.jsx("label",{className:Ne.label,style:He,children:c}),o.jsxs("button",{type:"button",onClick:()=>!d&&se(!ne),onKeyDown:Y,className:`
8341
8341
  ${Ne.selectButton}
8342
8342
  ${ne?Ne.selectButtonOpen:""}
8343
8343
  ${d?Ne.selectButtonDisabled:""}
8344
- `,style:Se,disabled:d,"aria-expanded":ne,"aria-haspopup":"listbox","aria-labelledby":c?`${c}-label`:void 0,children:[o.jsxs("div",{className:Ne.selectButtonContent,style:Ct,children:[ye?.icon&&o.jsx("span",{className:Ne.selectIcon,style:xe,children:ye.icon}),o.jsx("span",{className:`${Ne.selectLabel} ${ye?"":Ne.placeholder}`,style:ye?void 0:we,children:ye?ye.label:i})]}),o.jsx(R1,{fill:"var(--color-text)",className:`${Ne.chevron} ${ne?Ne.chevronOpen:""}`,style:xe})]}),l&&o.jsx("div",{className:Ne.errorMessage,style:je,children:l}),ne&&!d&&o.jsx("div",{className:Ne.dropdown,style:ze,role:"listbox","aria-label":c||"Options de sélection",children:o.jsx("div",{className:Ne.dropdownContent,style:HL,children:e.map(Le=>o.jsx("button",{type:"button",onClick:()=>W(Le.value),className:`
8344
+ `,style:Se,disabled:d,"aria-expanded":ne,"aria-haspopup":"listbox","aria-labelledby":c?`${c}-label`:void 0,children:[o.jsxs("div",{className:Ne.selectButtonContent,style:Ct,children:[ye?.icon&&o.jsx("span",{className:Ne.selectIcon,style:xe,children:ye.icon}),o.jsx("span",{className:`${Ne.selectLabel} ${ye?"":Ne.placeholder}`,style:ye?void 0:we,children:ye?ye.label:i})]}),o.jsx(R1,{fill:"var(--color-text)",className:`${Ne.chevron} ${ne?Ne.chevronOpen:""}`,style:xe})]}),l&&o.jsx("div",{className:Ne.errorMessage,style:je,children:l}),ne&&!d&&o.jsx("div",{className:Ne.dropdown,style:ze,role:"listbox","aria-label":c||"Options de sélection",children:o.jsx("div",{className:Ne.dropdownContent,style:HL,children:e.map(Le=>o.jsx("button",{type:"button",onClick:()=>U(Le.value),className:`
8345
8345
  ${Ne.item}
8346
8346
  ${t===Le.value?Ne.itemSelected:""}
8347
- `,style:{...le,backgroundColor:t===Le.value?j||"#F0F4F6":"transparent"},onMouseEnter:Ft=>{L&&(Ft.currentTarget.style.backgroundColor=L)},onMouseLeave:Ft=>{L&&(Ft.currentTarget.style.backgroundColor=t===Le.value?j||"#F0F4F6":"transparent")},role:"option","aria-selected":t===Le.value,children:o.jsxs("div",{className:Ne.itemContent,style:Ct,children:[Le.icon&&o.jsx("span",{className:Ne.itemIcon,style:xe,children:Le.icon}),o.jsx("span",{className:Ne.itemLabel,children:Le.label})]})},Le.value))})})]})},x7e="_filterBar_1hlqe_3",M7e="_label_1hlqe_11",Tj={filterBar:x7e,label:M7e},_7e=({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:_="1rem",startDateWidth:v,endDateWidth:I,selectWidth:b,datePickerProps:w={},selectProps:C={},rightContent:M,extraContent:L})=>{const j={fontSize:g,fontWeight:m,color:x,marginRight:_},N={gap:f};return o.jsxs("div",{className:`${Tj.filterBar} ${p}`,style:N,children:[e&&o.jsx("span",{className:Tj.label,style:j,children:e}),o.jsx(Mw,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:v,...w}),o.jsx(Mw,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:I,...w}),o.jsx(jA,{items:d,value:c,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:b,...C}),L,M&&o.jsx("div",{style:{marginLeft:"auto"},children:M})]})},L7e="_container_1x6mq_16",I7e="_disabled_1x6mq_26",b7e="_predStyle_1x6mq_32",w7e="_realStyle_1x6mq_36",C7e="_predGap_1x6mq_40",N7e="_realGap_1x6mq_44",S7e="_big_1x6mq_49",j7e="_medium_1x6mq_53",$7e="_iconWrapper_1x6mq_58",q7e="_predRelative_1x6mq_68",A7e="_realRelative_1x6mq_72",z7e="_iconImg_1x6mq_76",V7e="_content_1x6mq_84",P7e="_header_1x6mq_93",T7e="_predJustify_1x6mq_99",H7e="_realJustify_1x6mq_103",D7e="_predHeaderLineHeight_1x6mq_116",B7e="_realHeaderLineHeight_1x6mq_120",R7e="_title_1x6mq_129",F7e="_titleBlack_1x6mq_144",E7e="_titleWhite_1x6mq_148",O7e="_subtitle_1x6mq_153",U7e="_valueRowHorizontal_1x6mq_163",W7e="_valueRowVertical_1x6mq_171",G7e="_singleValue_1x6mq_180",K7e="_primaryRow_1x6mq_184",Z7e="_maxBadge_1x6mq_191",X7e="_valuePrimary_1x6mq_203",Y7e="_valuePrimaryBlack_1x6mq_210",J7e="_valuePrimaryWhite_1x6mq_214",Q7e="_valueSlash_1x6mq_219",eve="_valueSecondary_1x6mq_226",tve="_valueSecondaryBlue_1x6mq_232",ave="_valueSecondaryWhite_1x6mq_236",nve="_valueSecondaryBlack_1x6mq_240",ove="_valueStacked_1x6mq_245",cve="_stackedTop_1x6mq_254",ive="_stackedBottom_1x6mq_255",ke={container:L7e,disabled:I7e,predStyle:b7e,realStyle:w7e,predGap:C7e,realGap:N7e,big:S7e,medium:j7e,iconWrapper:$7e,predRelative:q7e,realRelative:A7e,iconImg:z7e,content:V7e,header:P7e,predJustify:T7e,realJustify:H7e,predHeaderLineHeight:D7e,realHeaderLineHeight:B7e,title:R7e,titleBlack:F7e,titleWhite:E7e,subtitle:O7e,valueRowHorizontal:U7e,valueRowVertical:W7e,singleValue:G7e,primaryRow:K7e,maxBadge:Z7e,valuePrimary:X7e,valuePrimaryBlack:Y7e,valuePrimaryWhite:J7e,valueSlash:Q7e,valueSecondary:eve,valueSecondaryBlue:tve,valueSecondaryWhite:ave,valueSecondaryBlack:nve,valueStacked:ove,stackedTop:cve,stackedBottom:ive},rve=({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:_,subtitleFontSize:v,subtitleFontWeight:I,primaryFontSize:b,primaryFontWeight:w,secondaryFontSize:C,secondaryFontWeight:M,backgroundColor:L="#f2f9fc",gap:j="",disabled:N=!1,positionRelative:S="",justifyContent:q="",headerLineHeight:B="",headerMinHeight:H="",contentSpace:z="",titleKey:A,subtitleKey:$,subtitleA11yKey:D,maxBadgeKey:R,maxBadgeA11yKey:V,predictionKey:O,predictionA11yKey:J,realisedKey:F,realisedA11yKey:K})=>{const pe=i!==void 0?i:!!c,oe=`${ke.container} ${ke[d]} ${ke[f]} ${N?ke.disabled:""}`,ve=h==="white"?ke.valuePrimaryWhite:ke.valuePrimaryBlack,ie=h==="blue"?ke.valueSecondaryBlue:h==="white"?ke.valueSecondaryWhite:ke.valueSecondaryBlack,ae=W=>W===void 0?void 0:typeof W=="number"?`${W}px`:W,ne=W=>W===void 0?void 0:W,se=g==="vertical",ue=s!=null&&s!==""&&s!=="-"&&s!=="—",ye=se?ke.valueRowVertical:ke.valueRowHorizontal;return o.jsxs("div",{className:`${oe} ${y}`,style:{backgroundColor:L},children:[t&&o.jsx("div",{className:`${ke.iconWrapper} ${ke[S]}`,children:t}),o.jsxs("div",{className:`${ke.content} ${ke[j]} ${ue?"":ke.singleValue} content-indicator-v2`,style:{justifyContent:z},children:[o.jsx("div",{className:`${ke.header} ${ke[q]} ${ke[B]} header-indicator-v2`,style:{minHeight:H},children:o.jsx("h6",{className:`${ke.title}`,style:{fontSize:ae(x),fontWeight:ne(_),color:l},title:X(e,A),children:n})}),pe&&c?o.jsx("div",{className:"subtitle-container",children:o.jsx("span",{className:ke.subtitle,style:{fontSize:ae(v),fontWeight:ne(I)},title:X(e,$,D),children:c})}):null,o.jsxs("div",{className:`${ye} count-indicator-v2`,children:[o.jsxs("div",{className:ke.primaryRow,children:[m&&o.jsx("span",{className:`${ke.maxBadge} max-badge-indicator-v2`,title:X(e,R,V),children:"MAX"}),o.jsx("span",{className:`${ke.valuePrimary} ${ve}`,style:{fontSize:ae(b||(!ue&&se?"1.75rem":void 0)),fontWeight:ne(w),color:u||void 0},title:X(e,F,K),children:r})]}),ue&&o.jsxs(o.Fragment,{children:[!se&&o.jsx("span",{className:ke.valueSlash,style:{fontSize:ae(C),fontWeight:ne(M)},children:"/"}),o.jsx("span",{className:`${ke.valueSecondary} ${ie}`,style:{fontSize:ae(C),fontWeight:ne(M),color:p||void 0},title:X(e,O,J),children:s})]})]})]})]})},sve="_banner_f10in_2",dve="_iep_f10in_14",lve="_groupSmall_f10in_24",hve="_genre_f10in_34",uve="_gravite_f10in_42",pve="_orientationContainer_f10in_48",yve="_service_f10in_61",kve="_roomBedContainer_f10in_71",mve="_room_f10in_71",fve="_bed_f10in_87",gve="_bedUf_f10in_92",vve="_statusContainer_f10in_97",xve="_status_f10in_97",Mve="_centeredWarn_f10in_124",Oe={banner:sve,iep:dve,groupSmall:lve,genre:hve,gravite:uve,orientationContainer:pve,service:yve,roomBedContainer:kve,room:mve,bed:fve,bedUf:gve,statusContainer:vve,status:xve,centeredWarn:Mve},_ve=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"}))),Hj=k.memo(_ve),Lve=({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:_,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(Hj,{color:v,width:20,height:20,style:{marginRight:"6px"}}),o.jsx("span",{style:{color:v,fontSize:"12px",fontWeight:600},children:_})]}),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(Hj,{color:v,width:12,height:12,style:{marginRight:"4px"}}),o.jsx("span",{children:_})]})]})]}),Ive=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"})),bve=k.memo(Ive),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:"m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231z"})),$A=k.memo(wve),Cve=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"})),Nve=k.memo(Cve),Sve="_overlay_1uxex_1",jve="_container_1uxex_11",$ve="_fullscreen_1uxex_24",qve="_header_1uxex_30",Ave="_headerActions_1uxex_42",zve="_iconButton_1uxex_47",Vve="_body_1uxex_58",Pve="_sidebar_1uxex_65",Tve="_content_1uxex_91",Hve="_contentHeader_1uxex_98",Dve="_childrenWrapper_1uxex_114",Bve="_footer_1uxex_138",Rve="_baseButton_1uxex_146",Fve="_noOverlay_1uxex_160",Eve="_contained_1uxex_168",$e={overlay:Sve,container:jve,fullscreen:$ve,header:qve,headerActions:Ave,iconButton:zve,body:Vve,sidebar:Pve,content:Tve,contentHeader:Hve,childrenWrapper:Dve,footer:Bve,baseButton:Rve,noOverlay:Fve,contained:Eve},Ove=({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:_="Supprimer",width:v="75%",maxWidth:I="none",height:b="85%",maxHeight:w="85%",borderRadius:C="0.5rem",childrenPadding:M="1rem",overflow:L="auto",contentHeaderAction:j,contentFooterAction:N,footerOverride:S,hideFooter:q=!1,hideOverlay:B=!1,position:H,a11yConfig:z})=>{const[A,$]=k.useState(!1),D=k.useRef(null);if(k.useEffect(()=>{if(!r||!B)return;const V=O=>{(O.type==="scroll"||O.type==="wheel"||O.type==="touchmove"||D.current&&!D.current.contains(O.target))&&s()};return document.addEventListener("mousedown",V),document.addEventListener("scroll",V,!0),document.addEventListener("wheel",V,{passive:!0,capture:!0}),document.addEventListener("touchmove",V,{passive:!0,capture:!0}),()=>{document.removeEventListener("mousedown",V),document.removeEventListener("scroll",V,!0),document.removeEventListener("wheel",V,!0),document.removeEventListener("touchmove",V,!0)}},[r,B,s]),!r)return null;const R=(V,O=!1)=>o.jsx(uL,{onClick:V.disabled?void 0:V.onClick,className:$e.baseButton,disabled:V.disabled,style:{background:V.backgroundColor??(O?"#008FBB":"#ffffff"),color:V.textColor??(O?"#ffffff":"#374151"),border:V.borderColor||O?"none":void 0,cursor:V.disabled?V.cursor??"not-allowed":V.cursor??"pointer",filter:V.disabled?V.filter??"grayscale(0.5)":V.filter??"none",opacity:V.disabled?.65:1},title:X(V.a11yConfig,V.text),children:V.text});return o.jsx("div",{className:B?$e.noOverlay:$e.overlay,onClick:s,children:o.jsxs("div",{ref:D,className:`${$e.container} ${A?$e.fullscreen:""} ${B?$e.contained:""}`,onClick:V=>V.stopPropagation(),style:{width:A?"100%":v,maxWidth:A?"none":I,height:A?"100%":b,maxHeight:A?"100%":w,borderRadius:A?"0":C,overflow:L,...H||{}},children:[!g&&o.jsxs("header",{className:$e.header,style:{backgroundColor:n},children:[o.jsx("h2",{style:{fontSize:c,fontWeight:i,color:t},title:X(z,e),children:e}),o.jsxs("div",{className:$e.headerActions,children:[!f&&o.jsx("button",{onClick:()=>$(!A),className:$e.iconButton,title:A?"Réduire":"Agrandir",children:A?o.jsx(Nve,{width:22,height:22,fill:t}):o.jsx(bve,{width:22,height:22,fill:t})}),o.jsx("button",{onClick:s,className:$e.iconButton,title:"Fermer",children:o.jsx($A,{width:22,height:22,fill:t})})]})]}),o.jsxs("div",{className:$e.body,style:{overflow:L},children:[y&&!m&&o.jsx("aside",{className:$e.sidebar,children:y}),o.jsxs("main",{className:$e.content,style:{backgroundColor:p,overflow:L},children:[u&&o.jsxs("header",{className:$e.contentHeader,style:{backgroundColor:n},children:[o.jsx("span",{style:{color:t},children:u}),j]}),o.jsx("div",{className:$e.childrenWrapper,style:{padding:M,overflow:L},children:h})]})]}),!q&&o.jsx("footer",{className:$e.footer,style:{backgroundColor:n},children:S!==void 0?S:o.jsxs(o.Fragment,{children:[x&&o.jsx(uL,{onClick:x,className:$e.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:_}),N,R(d),R(l,!0)]})})]})})},Uve="_container_1vb1c_1",Wve="_searchWrapper_1vb1c_10",Gve="_navItems_1vb1c_17",Wb={container:Uve,searchWrapper:Wve,navItems:Gve},Kve=({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:`${Wb.container} ${u}`,style:{width:h,backgroundColor:c,color:i},children:[o.jsx("div",{className:Wb.searchWrapper,children:o.jsx(IA,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),o.jsx("div",{className:Wb.navItems,children:e.map(p=>o.jsx(sC,{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))})]}),Zve=({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:_="Annuler",headerLabel:v,headerLabelKey:I,showAddIcon:b=!0,showCount:w=!0,showToggle:C=!1,showActions:M=!0,onToggle:L,a11yConfig:j})=>{const[N,S]=k.useState(!1),[q,B]=k.useState(null),[H,z]=k.useState(null),[A,$]=k.useState(null),[D,R]=k.useState(null),V=()=>{R(W=>W===null?"asc":W==="asc"?"desc":null),L&&L()},O=k.useMemo(()=>D?[...e].sort((W,Y)=>{const ce=W.title.toLowerCase(),Se=Y.title.toLowerCase();return D==="asc"?ce.localeCompare(Se):Se.localeCompare(ce)}):e,[e,D]),J=()=>S(!0),F=()=>S(!1),K=W=>{const Y=W.title?.trim();Y&&c&&c(Y),F()},pe=(W,Y)=>{W.stopPropagation(),B(Y)},oe=()=>B(null),ve=W=>{const Y=W.title?.trim();q&&Y&&r&&r(q,Y),oe()},ie=(W,Y)=>{W.stopPropagation(),s&&s(Y)},ae=(W,Y)=>{W.stopPropagation(),i&&i(Y)},ne=(W,Y)=>{z(Y),W.dataTransfer.effectAllowed="move"},se=(W,Y)=>{H!==null&&(W.preventDefault(),W.dataTransfer.dropEffect="move",Y!==A&&$(Y))},ue=(W,Y)=>{if(W.preventDefault(),H===null||H===Y||!d)return;const ce=[...O],[Se]=ce.splice(H,1);ce.splice(Y,0,Se),R(null),d(ce),z(null),$(null)},ye=()=>{z(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:V,children:[o.jsx("div",{className:"header-label",title:X(j,I),children:v}),D==="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(zc,{size:18,className:"add-view-icon",onClick:J})]}):o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"header-title",title:X(j,h),children:[C&&(D==="asc"?o.jsx(t1,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:V}):o.jsx(e1,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:V})),l," ",w&&`(${O.length})`]}),b&&o.jsx(zc,{size:18,className:"add-view-icon",onClick:J})]})}),o.jsx("div",{className:"module-list",children:O.map((W,Y)=>o.jsxs("div",{className:`module-item ${W.id===t?"selected":""} ${A===Y&&H!==Y?"drag-over":""} ${H===Y?"dragging":""}`,onClick:()=>n&&n(W),draggable:!!d,onDragStart:d?ce=>ne(ce,Y):void 0,onDragOver:d?ce=>se(ce,Y):void 0,onDrop:d?ce=>ue(ce,Y):void 0,onDragEnd:d?ye:void 0,children:[W.icon||o.jsx(q1,{size:18,className:"drag-handle"}),o.jsxs("div",{className:"module-content",title:X(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}),M&&o.jsxs("div",{className:"module-actions",children:[i&&o.jsx(Vc,{size:14,className:"action-icon add",onClick:ce=>ae(ce,W)}),r&&o.jsx(xt,{size:12,className:"action-icon edit",onClick:ce=>pe(ce,W)}),s&&o.jsx(kt,{size:12,className:"action-icon delete",onClick:ce=>ie(ce,W)})]})]},W.id))}),o.jsx(Bc,{isOpen:N,onClose:F,onSave:K,title:u,fields:[{name:"title",label:p,placeholder:y}],confirmText:x,cancelText:_}),q&&o.jsx(Bc,{isOpen:!!q,onClose:oe,onSave:ve,title:f,initialValues:{title:q.title},fields:[{name:"title",label:g,placeholder:m}],confirmText:x,cancelText:_})]})},Xve=({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:X(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})]})]}),Yve=({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:_,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)},M=j=>{j.key==="Enter"&&u?.(I)},L={"--smsb-border-color":x??"var(--color-border, #efefef)","--smsb-hover-background":_??"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:X(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:M})}),o.jsx("div",{className:"module-list",children:y?f:e.length===0?g:e.map((j,N)=>o.jsx(Xve,{mod:j,index:N,total:e.length,isSelected:j.id===t,onSelectModule:n},j.id))})]})},Jve=({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),[_,v]=k.useState(""),[I,b]=k.useState(""),w=k.useMemo(()=>{const A={};return Array.isArray(t)&&t.forEach($=>{$&&$.language&&(A[$.language.toUpperCase()]=$.value)}),A},[t]),C=k.useMemo(()=>n,[n]),M=()=>{l(!1),h!==e&&h.trim()!==""?i&&i(h.trim()):u(e)},L=A=>{A.key==="Enter"?M():A.key==="Escape"&&(u(e),l(!1))},j=A=>{const $=A.toUpperCase();y($),g(w[$]||"")},N=()=>{p&&(c(p,f),y(null),g(""))},S=A=>{A.key==="Enter"?N():A.key==="Escape"&&(y(null),g(""))},q=()=>{x(!0),C.length>0&&v(C[0].toUpperCase()),b("")},B=()=>{_&&I.trim()&&(c(_,I.trim()),x(!1),v(""),b(""))},H=()=>{x(!1),v(""),b("")},z=A=>{A.key==="Enter"?B():A.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:A=>u(A.target.value),onBlur:M,onKeyDown:L,autoFocus:!0}):o.jsx("h3",{className:"header-title",title:X(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(A=>{const $=A.toUpperCase(),D=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:V=>g(V.target.value),onBlur:N,onKeyDown:S,placeholder:"Entrez la traduction...",autoFocus:!0}):o.jsx("div",{className:`translation-value ${D?"":"empty"}`,onClick:()=>j(A),title:"Cliquer pour éditer",children:D||"Cliquer pour ajouter..."})]},A)}),m?o.jsxs("div",{className:"lang-row add-row",children:[o.jsx("select",{className:"lang-select",value:_,onChange:A=>v(A.target.value),children:C.map(A=>o.jsx("option",{value:A.toUpperCase(),children:A.toUpperCase()},A))}),o.jsx("input",{className:"translation-input editing",value:I,onChange:A=>b(A.target.value),onKeyDown:z,placeholder:"Mot",autoFocus:!0}),o.jsxs("div",{className:"add-actions",children:[o.jsx(C1,{size:18,className:"action-icon confirm",onClick:B}),o.jsx(at,{size:18,className:"action-icon cancel",onClick:H})]})]}):C.length>0&&o.jsxs("button",{className:"add-translation-btn",onClick:q,children:[o.jsx(Vc,{size:16}),o.jsx("span",{children:"Ajouter"})]})]})]})},Qve="_overlay_1jz4r_1",e9e="_modal_1jz4r_15",t9e="_body_1jz4r_27",a9e="_footer_1jz4r_46",n9e="_confirmButton_1jz4r_55",o9e="_danger_1jz4r_75",c9e="_cancelButton_1jz4r_83",jt={overlay:Qve,modal:e9e,body:t9e,footer:a9e,confirmButton:n9e,danger:o9e,cancelButton:c9e},i9e=({isOpen:e,message:t,onConfirm:n,onCancel:c,confirmText:i="Confirmer",cancelText:r="Annuler",isDanger:s=!1,hideFooter:d=!1,secondaryConfirmText:l,onSecondaryConfirm:h})=>e?o.jsx("div",{className:jt.overlay,onClick:c,children:o.jsxs("div",{className:jt.modal,onClick:u=>u.stopPropagation(),children:[o.jsx("div",{className:jt.body,children:typeof t=="string"?o.jsx("p",{children:t}):t}),!d&&o.jsxs("div",{className:jt.footer,children:[r&&o.jsx("button",{className:jt.cancelButton,onClick:c,children:r}),l&&h&&o.jsx("button",{className:jt.confirmButton,onClick:h,children:l}),i&&o.jsx("button",{className:`${jt.confirmButton} ${s?jt.danger:""}`,onClick:n,children:i})]})]})}):null,r9e="_card_1ildr_1",s9e="_topIcon_1ildr_17",d9e="_title_1ildr_24",l9e="_text_1ildr_31",h9e="_bottomIcon_1ildr_37",v1={card:r9e,topIcon:s9e,title:d9e,text:l9e,bottomIcon:h9e},u9e=({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:`${v1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},title:X(h,t),children:[e&&o.jsx("div",{className:v1.topIcon,children:e}),o.jsx("h3",{className:v1.title,style:{color:s},children:t}),o.jsx("p",{className:v1.text,style:{color:d},children:n}),c&&o.jsx("div",{className:v1.bottomIcon,children:c})]}),p9e="_container_1bmmf_1",y9e="_disabled_1bmmf_9",k9e="_selectBox_1bmmf_14",m9e="_selectBoxOpen_1bmmf_36",f9e="_tagsContainer_1bmmf_41",g9e="_tagsContainerWrap_1bmmf_51",v9e="_tag_1bmmf_41",x9e="_tagLabel_1bmmf_72",M9e="_removeBtnContainer_1bmmf_78",_9e="_removeBtn_1bmmf_78",L9e="_searchInput_1bmmf_103",I9e="_placeholder_1bmmf_123",b9e="_actions_1bmmf_130",w9e="_clearBtn_1bmmf_137",C9e="_chevron_1bmmf_159",N9e="_chevronOpen_1bmmf_165",S9e="_dropdown_1bmmf_169",j9e="_option_1bmmf_183",$9e="_optionHeader_1bmmf_196",q9e="_noOptions_1bmmf_212",A9e="_overflowBlock_1bmmf_219",z9e="_overflowEllipsis_1bmmf_226",V9e="_overflowBadge_1bmmf_233",P9e="_overflowBadgeWrap_1bmmf_256",T9e="_overflowDropdown_1bmmf_262",H9e="_overflowDropdownItem_1bmmf_278",D9e="_overflowDropdownItemLabel_1bmmf_289",B9e="_overflowDropdownItemRemove_1bmmf_296",re={container:p9e,disabled:y9e,selectBox:k9e,selectBoxOpen:m9e,tagsContainer:f9e,tagsContainerWrap:g9e,tag:v9e,tagLabel:x9e,removeBtnContainer:M9e,removeBtn:_9e,searchInput:L9e,placeholder:I9e,actions:b9e,clearBtn:w9e,chevron:C9e,chevronOpen:N9e,dropdown:S9e,option:j9e,optionHeader:$9e,noOptions:q9e,overflowBlock:A9e,overflowEllipsis:z9e,overflowBadge:V9e,overflowBadgeWrap:P9e,overflowDropdown:T9e,overflowDropdownItem:H9e,overflowDropdownItemLabel:D9e,overflowDropdownItemRemove:B9e},R9e=({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),[_,v]=k.useState(null),[I,b]=k.useState(!1),w=k.useRef([]),C=k.useRef(null),M=k.useMemo(()=>{const $=new Map(e.map(D=>[D.value,D]));return n.map(D=>$.get(D)).filter(D=>D!==void 0)},[e,n]),L=k.useMemo(()=>e.filter($=>!n.includes($.value)),[e,n]),j=k.useMemo(()=>{let $=L;return p&&($=$.filter(D=>D.label.toLowerCase().includes(p.toLowerCase()))),$.filter((D,R)=>{if(!D.isHeader)return!0;for(let V=R+1;V<$.length&&!$[V].isHeader;V++)return!0;return!1})},[L,p]);k.useEffect(()=>{const $=D=>{const R=D.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(M.length===0){v(null),w.current=[];return}M.length>w.current.length&&v(null);const $=()=>{const O=m.current,J=x.current;if(!O||!J)return;const F=J.getBoundingClientRect().width,K=J.querySelector(`.${re.actions}`),pe=K?K.getBoundingClientRect().width:80,oe=56,ve=r?80:0,ie=16,ae=Array.from(O.querySelectorAll(`.${re.tag}`));ae.length===M.length&&(w.current=ae.map(xe=>{const He=xe.getBoundingClientRect(),we=xe.scrollWidth;return Math.max(He.width,we,xe.offsetWidth||0)}));const ne=w.current,se=ne.length>0?ne.reduce((xe,He)=>xe+He,0)/ne.length:120,ue=M.length<=ne.length?ne.slice(0,M.length):[...ne,...Array(M.length-ne.length).fill(se)],ye=4,W=Math.max(0,F-pe-ve-ie);let Y=0,ce=0;for(let xe=0;xe<M.length;xe++){const He=ue[xe]??120;if(Y+He+ye>W)break;Y+=He+ye,ce++}if(ce>=M.length){v(null);return}const Se=Math.max(0,F-oe-pe-ve-ie);Y=0;let ze=0;for(let xe=0;xe<M.length;xe++){const He=ue[xe]??120;if(Y+He+ye>Se)break;Y+=He+ye,ze++}ze<M.length&&ze>0?v(ze):v(null)},D=requestAnimationFrame(()=>{$()}),R=setTimeout($,100),V=new ResizeObserver(()=>{$()});return x.current&&V.observe(x.current),()=>{cancelAnimationFrame(D),clearTimeout(R),V.disconnect()}},[M,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 D=[...M,$];c(D),y(""),v(null),u(!1)},q=$=>{$.preventDefault(),$.stopPropagation(),b(D=>!D)},B=_!=null&&_<M.length?M.slice(_):[],H=($,D)=>{D.stopPropagation();const R=M.filter(V=>V.value!==$);c(R)},z=$=>{$.stopPropagation(),c([])},A=$=>{$.stopPropagation(),h||u(!0)};return o.jsxs("div",{className:`${re.container} ${s} ${d?re.disabled:""}`,ref:f,children:[o.jsxs("div",{ref:x,className:`${re.selectBox} ${h?re.selectBoxOpen:""}`,onClick:N,role:"combobox","aria-expanded":h,"aria-haspopup":"listbox",children:[o.jsxs("div",{className:`${re.tagsContainer} ${l?re.tagsContainerWrap:""}`,ref:m,children:[_!==null&&_>0?M.slice(0,_).map(($,D)=>o.jsxs("div",{className:re.tag,children:[o.jsx("div",{className:re.tagLabel,children:o.jsx("span",{children:$.label})}),o.jsx("div",{className:re.removeBtnContainer,children:o.jsx("button",{type:"button",className:re.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}-${D}`)):M.map(($,D)=>o.jsxs("div",{className:re.tag,children:[o.jsx("div",{className:re.tagLabel,children:o.jsx("span",{children:$.label})}),o.jsx("div",{className:re.removeBtnContainer,children:o.jsx("button",{type:"button",className:re.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}-${D}`)),r?o.jsx("input",{ref:g,type:"text",className:re.searchInput,placeholder:M.length===0?i:"",value:p,onChange:$=>{y($.target.value),h||u(!0)},onClick:A,disabled:d}):M.length===0&&o.jsx("span",{className:re.placeholder,children:i})]}),!l&&_!==null&&_<M.length&&o.jsxs("div",{className:re.overflowBlock,children:[o.jsx("span",{className:re.overflowEllipsis,children:"..."}),o.jsxs("div",{className:re.overflowBadgeWrap,children:[o.jsx("button",{ref:C,type:"button",className:re.overflowBadge,onClick:q,"aria-label":`Afficher ${B.length} éléments cachés`,children:B.length}),I&&B.length>0&&o.jsx("div",{className:re.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:B.map(($,D)=>o.jsxs("div",{className:re.overflowDropdownItem,children:[o.jsx("span",{className:re.overflowDropdownItemLabel,children:$.label}),o.jsx("button",{type:"button",className:re.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}-${D}`))})]})]}),o.jsxs("div",{className:re.actions,children:[M.length>0&&o.jsx("button",{type:"button",className:re.clearBtn,onClick:z,"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:`${re.chevron} ${h?re.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:re.dropdown,role:"listbox",children:j.length>0?j.map(($,D)=>o.jsx("div",{className:`${re.option} ${$.isHeader?re.optionHeader:""}`,onClick:()=>!$.isHeader&&S($),role:"option","aria-selected":!1,children:$.label},`opt-${$.value}-${D}`)):o.jsx("div",{className:re.noOptions,children:t})})]})},F9e="_container_h7jek_1",Dj={container:F9e},E9e=({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 _=String(x.uf).replace(/^0+/,"");return m.has(_)?!1:(m.add(_),!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 _=u.ouvertsRaw>0?parseFloat((u.occupesRaw/u.ouvertsRaw*100).toFixed(2)):u.occupationRate;return{...y,value:`${_.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:Dj.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:Dj.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"}})]})},O9e="_container_1pt6c_1",U9e="_chartContainer_1pt6c_14",W9e="_legend_1pt6c_22",G9e="_legendItem_1pt6c_29",K9e="_leftSection_1pt6c_41",Z9e="_colorIndicator_1pt6c_47",X9e="_label_1pt6c_54",Y9e="_rightSection_1pt6c_60",J9e="_ratio_1pt6c_66",Q9e="_value1_1pt6c_73",exe="_separator_1pt6c_78",txe="_value2_1pt6c_82",axe="_statusIndicator_1pt6c_87",nxe="_inactive_1pt6c_102",Ue={container:O9e,chartContainer:U9e,legend:W9e,legendItem:G9e,leftSection:K9e,colorIndicator:Z9e,label:X9e,rightSection:Y9e,ratio:J9e,value1:Q9e,separator:exe,value2:txe,statusIndicator:axe,inactive:nxe},Bj=Math.PI/180,oxe=({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:_=!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]),M=k.useMemo(()=>e.every(N=>N.value===0),[e]),L=k.useMemo(()=>M?1:C.reduce((N,S)=>N+S.displayValue,0)||1,[M,C]),j=k.useCallback(({cx:N,cy:S,midAngle:q,innerRadius:B,outerRadius:H,value:z})=>{if(z===0||M)return null;const A=B+(H-B)*.5,$=N+A*Math.cos(-q*Bj),D=S+A*Math.sin(-q*Bj),R=Math.round(z/L*100);return o.jsx(a.Text,{x:$,y:D,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${R}%`})},[L,M]);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:M?[{displayValue:1,color:"#A3C2CB"}]:C,cx:"50%",cy:"50%",innerRadius:45,outerRadius:75,paddingAngle:0,dataKey:"displayValue",stroke:"white",strokeWidth:M?0:2,startAngle:90,endAngle:450,labelLine:!1,label:j,isAnimationActive:!1,children:M?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 q=v.has(N.nom);return o.jsxs("div",{className:`${Ue.legendItem} ${!x&&!q?Ue.inactive:""}`,onClick:()=>b(N.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[o.jsxs("div",{className:Ue.leftSection,children:[!_&&o.jsx("div",{className:Ue.colorIndicator,style:{backgroundColor:N.color,opacity:x||q?1:.3}}),o.jsx("span",{className:Ue.label,style:{opacity:x||q?1:.5},children:N.nom})]}),o.jsxs("div",{className:Ue.rightSection,style:{opacity:x||q?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}`)})})]})},cxe="_container_1pc4v_1",ixe="_leftGroup_1pc4v_10",rxe="_iconBtn_1pc4v_16",ui={container:cxe,leftGroup:ixe,iconBtn:rxe},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:"M3 12h18M3 6h18M3 18h18"})),dxe=k.memo(sxe),lxe=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"})),qA=k.memo(lxe),hxe=({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:[ui.container,i].filter(Boolean).join(" "),style:y,children:[o.jsxs("div",{className:ui.leftGroup,children:[o.jsx("button",{className:ui.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??o.jsx(dxe,{width:22,height:22})}),o.jsx(IL,{...t,size:"medium"})]}),o.jsx("button",{className:ui.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??o.jsx(qA,{width:22,height:22})})]})},uxe="_container_24g3e_1",pxe="_iconBtn_24g3e_10",yxe="_title_24g3e_22",pi={container:uxe,iconBtn:pxe,title:yxe},kxe=({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:[pi.container,i].filter(Boolean).join(" "),style:f,children:[o.jsx("button",{className:pi.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??o.jsx($A,{width:22,height:22})}),o.jsx("span",{className:pi.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),o.jsx("button",{className:pi.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??o.jsx(qA,{width:22,height:22})})]})},mxe=({title:e,countLabel:t="UF",actionIcon:n=o.jsx(kt,{size:16}),onAction:c,items:i=[],onItemClick:r,activeColor:s="#0083bb",id:d,children:l})=>{const h=k.useMemo(()=>i.filter(u=>u.active).length,[i]);return o.jsxs(fxe,{id:d,children:[o.jsxs(gxe,{children:[o.jsxs(vxe,{children:[o.jsx(xxe,{children:e}),o.jsxs(Mxe,{children:["(",h," ",t,")"]})]}),c&&o.jsx(_xe,{onClick:c,title:"Action",children:n})]}),o.jsx(Lxe,{children:o.jsx(Ixe,{children:i.map(u=>o.jsx(wxe,{item:u,activeColor:s,onItemClick:r},u.id))})}),l&&o.jsx(Cxe,{children:l})]})},fxe=E.div`
8347
+ `,style:{...le,backgroundColor:t===Le.value?S||"#F0F4F6":"transparent"},onMouseEnter:Ft=>{L&&(Ft.currentTarget.style.backgroundColor=L)},onMouseLeave:Ft=>{L&&(Ft.currentTarget.style.backgroundColor=t===Le.value?S||"#F0F4F6":"transparent")},role:"option","aria-selected":t===Le.value,children:o.jsxs("div",{className:Ne.itemContent,style:Ct,children:[Le.icon&&o.jsx("span",{className:Ne.itemIcon,style:xe,children:Le.icon}),o.jsx("span",{className:Ne.itemLabel,children:Le.label})]})},Le.value))})})]})},x7e="_filterBar_1hlqe_3",M7e="_label_1hlqe_11",Tj={filterBar:x7e,label:M7e},_7e=({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 S={fontSize:g,fontWeight:m,color:x,marginRight:M},N={gap:f};return o.jsxs("div",{className:`${Tj.filterBar} ${p}`,style:N,children:[e&&o.jsx("span",{className:Tj.label,style:S,children:e}),o.jsx(Mw,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:v,...w}),o.jsx(Mw,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:I,...w}),o.jsx(jA,{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:_})]})},L7e="_container_1x6mq_16",I7e="_disabled_1x6mq_26",b7e="_predStyle_1x6mq_32",w7e="_realStyle_1x6mq_36",C7e="_predGap_1x6mq_40",N7e="_realGap_1x6mq_44",S7e="_big_1x6mq_49",j7e="_medium_1x6mq_53",$7e="_iconWrapper_1x6mq_58",q7e="_predRelative_1x6mq_68",A7e="_realRelative_1x6mq_72",z7e="_iconImg_1x6mq_76",V7e="_content_1x6mq_84",P7e="_header_1x6mq_93",T7e="_predJustify_1x6mq_99",H7e="_realJustify_1x6mq_103",D7e="_predHeaderLineHeight_1x6mq_116",B7e="_realHeaderLineHeight_1x6mq_120",R7e="_title_1x6mq_129",F7e="_titleBlack_1x6mq_144",E7e="_titleWhite_1x6mq_148",O7e="_subtitle_1x6mq_153",U7e="_valueRowHorizontal_1x6mq_163",W7e="_valueRowVertical_1x6mq_171",G7e="_singleValue_1x6mq_180",K7e="_primaryRow_1x6mq_184",Z7e="_maxBadge_1x6mq_191",X7e="_valuePrimary_1x6mq_203",Y7e="_valuePrimaryBlack_1x6mq_210",J7e="_valuePrimaryWhite_1x6mq_214",Q7e="_valueSlash_1x6mq_219",eve="_valueSecondary_1x6mq_226",tve="_valueSecondaryBlue_1x6mq_232",ave="_valueSecondaryWhite_1x6mq_236",nve="_valueSecondaryBlack_1x6mq_240",ove="_valueStacked_1x6mq_245",cve="_stackedTop_1x6mq_254",ive="_stackedBottom_1x6mq_255",ke={container:L7e,disabled:I7e,predStyle:b7e,realStyle:w7e,predGap:C7e,realGap:N7e,big:S7e,medium:j7e,iconWrapper:$7e,predRelative:q7e,realRelative:A7e,iconImg:z7e,content:V7e,header:P7e,predJustify:T7e,realJustify:H7e,predHeaderLineHeight:D7e,realHeaderLineHeight:B7e,title:R7e,titleBlack:F7e,titleWhite:E7e,subtitle:O7e,valueRowHorizontal:U7e,valueRowVertical:W7e,singleValue:G7e,primaryRow:K7e,maxBadge:Z7e,valuePrimary:X7e,valuePrimaryBlack:Y7e,valuePrimaryWhite:J7e,valueSlash:Q7e,valueSecondary:eve,valueSecondaryBlue:tve,valueSecondaryWhite:ave,valueSecondaryBlack:nve,valueStacked:ove,stackedTop:cve,stackedBottom:ive},rve=({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:S="",disabled:N=!1,positionRelative:j="",justifyContent:q="",headerLineHeight:H="",headerMinHeight:B="",contentSpace:A="",titleKey:z,subtitleKey:$,subtitleA11yKey:D,maxBadgeKey:R,maxBadgeA11yKey:V,predictionKey:O,predictionA11yKey:J,realisedKey:F,realisedA11yKey:K})=>{const pe=i!==void 0?i:!!c,oe=`${ke.container} ${ke[d]} ${ke[f]} ${N?ke.disabled:""}`,ve=h==="white"?ke.valuePrimaryWhite:ke.valuePrimaryBlack,ie=h==="blue"?ke.valueSecondaryBlue:h==="white"?ke.valueSecondaryWhite:ke.valueSecondaryBlack,ae=U=>U===void 0?void 0:typeof U=="number"?`${U}px`:U,ne=U=>U===void 0?void 0:U,se=g==="vertical",ue=s!=null&&s!==""&&s!=="-"&&s!=="—",ye=se?ke.valueRowVertical:ke.valueRowHorizontal;return o.jsxs("div",{className:`${oe} ${y}`,style:{backgroundColor:L},children:[t&&o.jsx("div",{className:`${ke.iconWrapper} ${ke[j]}`,children:t}),o.jsxs("div",{className:`${ke.content} ${ke[S]} ${ue?"":ke.singleValue} content-indicator-v2`,style:{justifyContent:A},children:[o.jsx("div",{className:`${ke.header} ${ke[q]} ${ke[H]} header-indicator-v2`,style:{minHeight:B},children:o.jsx("h6",{className:`${ke.title}`,style:{fontSize:ae(x),fontWeight:ne(M),color:l},title:X(e,z),children:n})}),pe&&c?o.jsx("div",{className:"subtitle-container",children:o.jsx("span",{className:ke.subtitle,style:{fontSize:ae(v),fontWeight:ne(I)},title:X(e,$,D),children:c})}):null,o.jsxs("div",{className:`${ye} count-indicator-v2`,children:[o.jsxs("div",{className:ke.primaryRow,children:[m&&o.jsx("span",{className:`${ke.maxBadge} max-badge-indicator-v2`,title:X(e,R,V),children:"MAX"}),o.jsx("span",{className:`${ke.valuePrimary} ${ve}`,style:{fontSize:ae(b||(!ue&&se?"1.75rem":void 0)),fontWeight:ne(w),color:u||void 0},title:X(e,F,K),children:r})]}),ue&&o.jsxs(o.Fragment,{children:[!se&&o.jsx("span",{className:ke.valueSlash,style:{fontSize:ae(C),fontWeight:ne(_)},children:"/"}),o.jsx("span",{className:`${ke.valueSecondary} ${ie}`,style:{fontSize:ae(C),fontWeight:ne(_),color:p||void 0},title:X(e,O,J),children:s})]})]})]})]})},sve="_banner_f10in_2",dve="_iep_f10in_14",lve="_groupSmall_f10in_24",hve="_genre_f10in_34",uve="_gravite_f10in_42",pve="_orientationContainer_f10in_48",yve="_service_f10in_61",kve="_roomBedContainer_f10in_71",mve="_room_f10in_71",fve="_bed_f10in_87",gve="_bedUf_f10in_92",vve="_statusContainer_f10in_97",xve="_status_f10in_97",Mve="_centeredWarn_f10in_124",Oe={banner:sve,iep:dve,groupSmall:lve,genre:hve,gravite:uve,orientationContainer:pve,service:yve,roomBedContainer:kve,room:mve,bed:fve,bedUf:gve,statusContainer:vve,status:xve,centeredWarn:Mve},_ve=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"}))),Hj=k.memo(_ve),Lve=({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(Hj,{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(Hj,{color:v,width:12,height:12,style:{marginRight:"4px"}}),o.jsx("span",{children:M})]})]})]}),Ive=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"})),bve=k.memo(Ive),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:"m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231z"})),$A=k.memo(wve),Cve=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"})),Nve=k.memo(Cve),Sve="_overlay_1uxex_1",jve="_container_1uxex_11",$ve="_fullscreen_1uxex_24",qve="_header_1uxex_30",Ave="_headerActions_1uxex_42",zve="_iconButton_1uxex_47",Vve="_body_1uxex_58",Pve="_sidebar_1uxex_65",Tve="_content_1uxex_91",Hve="_contentHeader_1uxex_98",Dve="_childrenWrapper_1uxex_114",Bve="_footer_1uxex_138",Rve="_baseButton_1uxex_146",Fve="_noOverlay_1uxex_160",Eve="_contained_1uxex_168",$e={overlay:Sve,container:jve,fullscreen:$ve,header:qve,headerActions:Ave,iconButton:zve,body:Vve,sidebar:Pve,content:Tve,contentHeader:Hve,childrenWrapper:Dve,footer:Bve,baseButton:Rve,noOverlay:Fve,contained:Eve},Ove=({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:S,contentFooterAction:N,footerOverride:j,hideFooter:q=!1,hideOverlay:H=!1,position:B,a11yConfig:A})=>{const[z,$]=k.useState(!1),D=k.useRef(null);if(k.useEffect(()=>{if(!r||!H)return;const V=O=>{(O.type==="scroll"||O.type==="wheel"||O.type==="touchmove"||D.current&&!D.current.contains(O.target))&&s()};return document.addEventListener("mousedown",V),document.addEventListener("scroll",V,!0),document.addEventListener("wheel",V,{passive:!0,capture:!0}),document.addEventListener("touchmove",V,{passive:!0,capture:!0}),()=>{document.removeEventListener("mousedown",V),document.removeEventListener("scroll",V,!0),document.removeEventListener("wheel",V,!0),document.removeEventListener("touchmove",V,!0)}},[r,H,s]),!r)return null;const R=(V,O=!1)=>o.jsx(uL,{onClick:V.disabled?void 0:V.onClick,className:$e.baseButton,disabled:V.disabled,style:{background:V.backgroundColor??(O?"#008FBB":"#ffffff"),color:V.textColor??(O?"#ffffff":"#374151"),border:V.borderColor||O?"none":void 0,cursor:V.disabled?V.cursor??"not-allowed":V.cursor??"pointer",filter:V.disabled?V.filter??"grayscale(0.5)":V.filter??"none",opacity:V.disabled?.65:1},title:X(V.a11yConfig,V.text),children:V.text});return o.jsx("div",{className:H?$e.noOverlay:$e.overlay,onClick:s,children:o.jsxs("div",{ref:D,className:`${$e.container} ${z?$e.fullscreen:""} ${H?$e.contained:""}`,onClick:V=>V.stopPropagation(),style:{width:z?"100%":v,maxWidth:z?"none":I,height:z?"100%":b,maxHeight:z?"100%":w,borderRadius:z?"0":C,overflow:L,...B||{}},children:[!g&&o.jsxs("header",{className:$e.header,style:{backgroundColor:n},children:[o.jsx("h2",{style:{fontSize:c,fontWeight:i,color:t},title:X(A,e),children:e}),o.jsxs("div",{className:$e.headerActions,children:[!f&&o.jsx("button",{onClick:()=>$(!z),className:$e.iconButton,title:z?"Réduire":"Agrandir",children:z?o.jsx(Nve,{width:22,height:22,fill:t}):o.jsx(bve,{width:22,height:22,fill:t})}),o.jsx("button",{onClick:s,className:$e.iconButton,title:"Fermer",children:o.jsx($A,{width:22,height:22,fill:t})})]})]}),o.jsxs("div",{className:$e.body,style:{overflow:L},children:[y&&!m&&o.jsx("aside",{className:$e.sidebar,children:y}),o.jsxs("main",{className:$e.content,style:{backgroundColor:p,overflow:L},children:[u&&o.jsxs("header",{className:$e.contentHeader,style:{backgroundColor:n},children:[o.jsx("span",{style:{color:t},children:u}),S]}),o.jsx("div",{className:$e.childrenWrapper,style:{padding:_,overflow:L},children:h})]})]}),!q&&o.jsx("footer",{className:$e.footer,style:{backgroundColor:n},children:j!==void 0?j:o.jsxs(o.Fragment,{children:[x&&o.jsx(uL,{onClick:x,className:$e.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:M}),N,R(d),R(l,!0)]})})]})})},Uve="_container_1vb1c_1",Wve="_searchWrapper_1vb1c_10",Gve="_navItems_1vb1c_17",Wb={container:Uve,searchWrapper:Wve,navItems:Gve},Kve=({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:`${Wb.container} ${u}`,style:{width:h,backgroundColor:c,color:i},children:[o.jsx("div",{className:Wb.searchWrapper,children:o.jsx(IA,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),o.jsx("div",{className:Wb.navItems,children:e.map(p=>o.jsx(sC,{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))})]}),Zve=({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:S})=>{const[N,j]=k.useState(!1),[q,H]=k.useState(null),[B,A]=k.useState(null),[z,$]=k.useState(null),[D,R]=k.useState(null),V=()=>{R(U=>U===null?"asc":U==="asc"?"desc":null),L&&L()},O=k.useMemo(()=>D?[...e].sort((U,Y)=>{const ce=U.title.toLowerCase(),Se=Y.title.toLowerCase();return D==="asc"?ce.localeCompare(Se):Se.localeCompare(ce)}):e,[e,D]),J=()=>j(!0),F=()=>j(!1),K=U=>{const Y=U.title?.trim();Y&&c&&c(Y),F()},pe=(U,Y)=>{U.stopPropagation(),H(Y)},oe=()=>H(null),ve=U=>{const Y=U.title?.trim();q&&Y&&r&&r(q,Y),oe()},ie=(U,Y)=>{U.stopPropagation(),s&&s(Y)},ae=(U,Y)=>{U.stopPropagation(),i&&i(Y)},ne=(U,Y)=>{A(Y),U.dataTransfer.effectAllowed="move"},se=(U,Y)=>{B!==null&&(U.preventDefault(),U.dataTransfer.dropEffect="move",Y!==z&&$(Y))},ue=(U,Y)=>{if(U.preventDefault(),B===null||B===Y||!d)return;const ce=[...O],[Se]=ce.splice(B,1);ce.splice(Y,0,Se),R(null),d(ce),A(null),$(null)},ye=()=>{A(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:V,children:[o.jsx("div",{className:"header-label",title:X(S,I),children:v}),D==="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(zc,{size:18,className:"add-view-icon",onClick:J})]}):o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"header-title",title:X(S,h),children:[C&&(D==="asc"?o.jsx(t1,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:V}):o.jsx(e1,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:V})),l," ",w&&`(${O.length})`]}),b&&o.jsx(zc,{size:18,className:"add-view-icon",onClick:J})]})}),o.jsx("div",{className:"module-list",children:O.map((U,Y)=>o.jsxs("div",{className:`module-item ${U.id===t?"selected":""} ${z===Y&&B!==Y?"drag-over":""} ${B===Y?"dragging":""}`,onClick:()=>n&&n(U),draggable:!!d,onDragStart:d?ce=>ne(ce,Y):void 0,onDragOver:d?ce=>se(ce,Y):void 0,onDrop:d?ce=>ue(ce,Y):void 0,onDragEnd:d?ye:void 0,children:[U.icon||o.jsx(q1,{size:18,className:"drag-handle"}),o.jsxs("div",{className:"module-content",title:X(U.a11yConfig,U.titleKey),children:[o.jsx("div",{className:"module-title",children:U.title}),U.subtitle&&o.jsx("div",{className:"module-subtitle",children:U.subtitle})]}),typeof U.count<"u"&&o.jsx("span",{className:"module-count",children:U.count}),_&&o.jsxs("div",{className:"module-actions",children:[i&&o.jsx(Vc,{size:14,className:"action-icon add",onClick:ce=>ae(ce,U)}),r&&o.jsx(xt,{size:12,className:"action-icon edit",onClick:ce=>pe(ce,U)}),s&&o.jsx(kt,{size:12,className:"action-icon delete",onClick:ce=>ie(ce,U)})]})]},U.id))}),o.jsx(Bc,{isOpen:N,onClose:F,onSave:K,title:u,fields:[{name:"title",label:p,placeholder:y}],confirmText:x,cancelText:M}),q&&o.jsx(Bc,{isOpen:!!q,onClose:oe,onSave:ve,title:f,initialValues:{title:q.title},fields:[{name:"title",label:g,placeholder:m}],confirmText:x,cancelText:M})]})},Xve=({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:X(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})]})]}),Yve=({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=S=>{const N=S.target.value;b(N),w.current&&clearTimeout(w.current),w.current=setTimeout(()=>{h?.(N)},p)},_=S=>{S.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:X(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((S,N)=>o.jsx(Xve,{mod:S,index:N,total:e.length,isSelected:S.id===t,onSelectModule:n},S.id))})]})},Jve=({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 z={};return Array.isArray(t)&&t.forEach($=>{$&&$.language&&(z[$.language.toUpperCase()]=$.value)}),z},[t]),C=k.useMemo(()=>n,[n]),_=()=>{l(!1),h!==e&&h.trim()!==""?i&&i(h.trim()):u(e)},L=z=>{z.key==="Enter"?_():z.key==="Escape"&&(u(e),l(!1))},S=z=>{const $=z.toUpperCase();y($),g(w[$]||"")},N=()=>{p&&(c(p,f),y(null),g(""))},j=z=>{z.key==="Enter"?N():z.key==="Escape"&&(y(null),g(""))},q=()=>{x(!0),C.length>0&&v(C[0].toUpperCase()),b("")},H=()=>{M&&I.trim()&&(c(M,I.trim()),x(!1),v(""),b(""))},B=()=>{x(!1),v(""),b("")},A=z=>{z.key==="Enter"?H():z.key==="Escape"&&B()};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:z=>u(z.target.value),onBlur:_,onKeyDown:L,autoFocus:!0}):o.jsx("h3",{className:"header-title",title:X(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(z=>{const $=z.toUpperCase(),D=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:V=>g(V.target.value),onBlur:N,onKeyDown:j,placeholder:"Entrez la traduction...",autoFocus:!0}):o.jsx("div",{className:`translation-value ${D?"":"empty"}`,onClick:()=>S(z),title:"Cliquer pour éditer",children:D||"Cliquer pour ajouter..."})]},z)}),m?o.jsxs("div",{className:"lang-row add-row",children:[o.jsx("select",{className:"lang-select",value:M,onChange:z=>v(z.target.value),children:C.map(z=>o.jsx("option",{value:z.toUpperCase(),children:z.toUpperCase()},z))}),o.jsx("input",{className:"translation-input editing",value:I,onChange:z=>b(z.target.value),onKeyDown:A,placeholder:"Mot",autoFocus:!0}),o.jsxs("div",{className:"add-actions",children:[o.jsx(C1,{size:18,className:"action-icon confirm",onClick:H}),o.jsx(at,{size:18,className:"action-icon cancel",onClick:B})]})]}):C.length>0&&o.jsxs("button",{className:"add-translation-btn",onClick:q,children:[o.jsx(Vc,{size:16}),o.jsx("span",{children:"Ajouter"})]})]})]})},Qve="_overlay_1jz4r_1",e9e="_modal_1jz4r_15",t9e="_body_1jz4r_27",a9e="_footer_1jz4r_46",n9e="_confirmButton_1jz4r_55",o9e="_danger_1jz4r_75",c9e="_cancelButton_1jz4r_83",jt={overlay:Qve,modal:e9e,body:t9e,footer:a9e,confirmButton:n9e,danger:o9e,cancelButton:c9e},i9e=({isOpen:e,message:t,onConfirm:n,onCancel:c,confirmText:i="Confirmer",cancelText:r="Annuler",isDanger:s=!1,hideFooter:d=!1,secondaryConfirmText:l,onSecondaryConfirm:h})=>e?o.jsx("div",{className:jt.overlay,onClick:c,children:o.jsxs("div",{className:jt.modal,onClick:u=>u.stopPropagation(),children:[o.jsx("div",{className:jt.body,children:typeof t=="string"?o.jsx("p",{children:t}):t}),!d&&o.jsxs("div",{className:jt.footer,children:[r&&o.jsx("button",{className:jt.cancelButton,onClick:c,children:r}),l&&h&&o.jsx("button",{className:jt.confirmButton,onClick:h,children:l}),i&&o.jsx("button",{className:`${jt.confirmButton} ${s?jt.danger:""}`,onClick:n,children:i})]})]})}):null,r9e="_card_1ildr_1",s9e="_topIcon_1ildr_17",d9e="_title_1ildr_24",l9e="_text_1ildr_31",h9e="_bottomIcon_1ildr_37",v1={card:r9e,topIcon:s9e,title:d9e,text:l9e,bottomIcon:h9e},u9e=({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:`${v1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},title:X(h,t),children:[e&&o.jsx("div",{className:v1.topIcon,children:e}),o.jsx("h3",{className:v1.title,style:{color:s},children:t}),o.jsx("p",{className:v1.text,style:{color:d},children:n}),c&&o.jsx("div",{className:v1.bottomIcon,children:c})]}),p9e="_container_1bmmf_1",y9e="_disabled_1bmmf_9",k9e="_selectBox_1bmmf_14",m9e="_selectBoxOpen_1bmmf_36",f9e="_tagsContainer_1bmmf_41",g9e="_tagsContainerWrap_1bmmf_51",v9e="_tag_1bmmf_41",x9e="_tagLabel_1bmmf_72",M9e="_removeBtnContainer_1bmmf_78",_9e="_removeBtn_1bmmf_78",L9e="_searchInput_1bmmf_103",I9e="_placeholder_1bmmf_123",b9e="_actions_1bmmf_130",w9e="_clearBtn_1bmmf_137",C9e="_chevron_1bmmf_159",N9e="_chevronOpen_1bmmf_165",S9e="_dropdown_1bmmf_169",j9e="_option_1bmmf_183",$9e="_optionHeader_1bmmf_196",q9e="_noOptions_1bmmf_212",A9e="_overflowBlock_1bmmf_219",z9e="_overflowEllipsis_1bmmf_226",V9e="_overflowBadge_1bmmf_233",P9e="_overflowBadgeWrap_1bmmf_256",T9e="_overflowDropdown_1bmmf_262",H9e="_overflowDropdownItem_1bmmf_278",D9e="_overflowDropdownItemLabel_1bmmf_289",B9e="_overflowDropdownItemRemove_1bmmf_296",re={container:p9e,disabled:y9e,selectBox:k9e,selectBoxOpen:m9e,tagsContainer:f9e,tagsContainerWrap:g9e,tag:v9e,tagLabel:x9e,removeBtnContainer:M9e,removeBtn:_9e,searchInput:L9e,placeholder:I9e,actions:b9e,clearBtn:w9e,chevron:C9e,chevronOpen:N9e,dropdown:S9e,option:j9e,optionHeader:$9e,noOptions:q9e,overflowBlock:A9e,overflowEllipsis:z9e,overflowBadge:V9e,overflowBadgeWrap:P9e,overflowDropdown:T9e,overflowDropdownItem:H9e,overflowDropdownItemLabel:D9e,overflowDropdownItemRemove:B9e},R9e=({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(D=>[D.value,D]));return n.map(D=>$.get(D)).filter(D=>D!==void 0)},[e,n]),L=k.useMemo(()=>e.filter($=>!n.includes($.value)),[e,n]),S=k.useMemo(()=>{let $=L;return p&&($=$.filter(D=>D.label.toLowerCase().includes(p.toLowerCase()))),$.filter((D,R)=>{if(!D.isHeader)return!0;for(let V=R+1;V<$.length&&!$[V].isHeader;V++)return!0;return!1})},[L,p]);k.useEffect(()=>{const $=D=>{const R=D.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 F=J.getBoundingClientRect().width,K=J.querySelector(`.${re.actions}`),pe=K?K.getBoundingClientRect().width:80,oe=56,ve=r?80:0,ie=16,ae=Array.from(O.querySelectorAll(`.${re.tag}`));ae.length===_.length&&(w.current=ae.map(xe=>{const He=xe.getBoundingClientRect(),we=xe.scrollWidth;return Math.max(He.width,we,xe.offsetWidth||0)}));const ne=w.current,se=ne.length>0?ne.reduce((xe,He)=>xe+He,0)/ne.length:120,ue=_.length<=ne.length?ne.slice(0,_.length):[...ne,...Array(_.length-ne.length).fill(se)],ye=4,U=Math.max(0,F-pe-ve-ie);let Y=0,ce=0;for(let xe=0;xe<_.length;xe++){const He=ue[xe]??120;if(Y+He+ye>U)break;Y+=He+ye,ce++}if(ce>=_.length){v(null);return}const Se=Math.max(0,F-oe-pe-ve-ie);Y=0;let ze=0;for(let xe=0;xe<_.length;xe++){const He=ue[xe]??120;if(Y+He+ye>Se)break;Y+=He+ye,ze++}ze<_.length&&ze>0?v(ze):v(null)},D=requestAnimationFrame(()=>{$()}),R=setTimeout($,100),V=new ResizeObserver(()=>{$()});return x.current&&V.observe(x.current),()=>{cancelAnimationFrame(D),clearTimeout(R),V.disconnect()}},[_,r,h,l]);const N=()=>{if(d)return;const $=!h;$&&b(!1),u($),$&&r&&setTimeout(()=>g.current?.focus(),0)},j=$=>{if(n.includes($.value))return;b(!1);const D=[..._,$];c(D),y(""),v(null),u(!1)},q=$=>{$.preventDefault(),$.stopPropagation(),b(D=>!D)},H=M!=null&&M<_.length?_.slice(M):[],B=($,D)=>{D.stopPropagation();const R=_.filter(V=>V.value!==$);c(R)},A=$=>{$.stopPropagation(),c([])},z=$=>{$.stopPropagation(),h||u(!0)};return o.jsxs("div",{className:`${re.container} ${s} ${d?re.disabled:""}`,ref:f,children:[o.jsxs("div",{ref:x,className:`${re.selectBox} ${h?re.selectBoxOpen:""}`,onClick:N,role:"combobox","aria-expanded":h,"aria-haspopup":"listbox",children:[o.jsxs("div",{className:`${re.tagsContainer} ${l?re.tagsContainerWrap:""}`,ref:m,children:[M!==null&&M>0?_.slice(0,M).map(($,D)=>o.jsxs("div",{className:re.tag,children:[o.jsx("div",{className:re.tagLabel,children:o.jsx("span",{children:$.label})}),o.jsx("div",{className:re.removeBtnContainer,children:o.jsx("button",{type:"button",className:re.removeBtn,onClick:R=>B($.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}-${D}`)):_.map(($,D)=>o.jsxs("div",{className:re.tag,children:[o.jsx("div",{className:re.tagLabel,children:o.jsx("span",{children:$.label})}),o.jsx("div",{className:re.removeBtnContainer,children:o.jsx("button",{type:"button",className:re.removeBtn,onClick:R=>B($.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}-${D}`)),r?o.jsx("input",{ref:g,type:"text",className:re.searchInput,placeholder:_.length===0?i:"",value:p,onChange:$=>{y($.target.value),h||u(!0)},onClick:z,disabled:d}):_.length===0&&o.jsx("span",{className:re.placeholder,children:i})]}),!l&&M!==null&&M<_.length&&o.jsxs("div",{className:re.overflowBlock,children:[o.jsx("span",{className:re.overflowEllipsis,children:"..."}),o.jsxs("div",{className:re.overflowBadgeWrap,children:[o.jsx("button",{ref:C,type:"button",className:re.overflowBadge,onClick:q,"aria-label":`Afficher ${H.length} éléments cachés`,children:H.length}),I&&H.length>0&&o.jsx("div",{className:re.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:H.map(($,D)=>o.jsxs("div",{className:re.overflowDropdownItem,children:[o.jsx("span",{className:re.overflowDropdownItemLabel,children:$.label}),o.jsx("button",{type:"button",className:re.overflowDropdownItemRemove,onClick:R=>{R.stopPropagation(),B($.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}-${D}`))})]})]}),o.jsxs("div",{className:re.actions,children:[_.length>0&&o.jsx("button",{type:"button",className:re.clearBtn,onClick:A,"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:`${re.chevron} ${h?re.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:re.dropdown,role:"listbox",children:S.length>0?S.map(($,D)=>o.jsx("div",{className:`${re.option} ${$.isHeader?re.optionHeader:""}`,onClick:()=>!$.isHeader&&j($),role:"option","aria-selected":!1,children:$.label},`opt-${$.value}-${D}`)):o.jsx("div",{className:re.noOptions,children:t})})]})},F9e="_container_h7jek_1",Dj={container:F9e},E9e=({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:Dj.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:Dj.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"}})]})},O9e="_container_1pt6c_1",U9e="_chartContainer_1pt6c_14",W9e="_legend_1pt6c_22",G9e="_legendItem_1pt6c_29",K9e="_leftSection_1pt6c_41",Z9e="_colorIndicator_1pt6c_47",X9e="_label_1pt6c_54",Y9e="_rightSection_1pt6c_60",J9e="_ratio_1pt6c_66",Q9e="_value1_1pt6c_73",exe="_separator_1pt6c_78",txe="_value2_1pt6c_82",axe="_statusIndicator_1pt6c_87",nxe="_inactive_1pt6c_102",Ue={container:O9e,chartContainer:U9e,legend:W9e,legendItem:G9e,leftSection:K9e,colorIndicator:Z9e,label:X9e,rightSection:Y9e,ratio:J9e,value1:Q9e,separator:exe,value2:txe,statusIndicator:axe,inactive:nxe},Bj=Math.PI/180,oxe=({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 j=new Set(v);j.has(N)?j.size>1&&j.delete(N):j.add(N),I(j)},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,j)=>N+j.displayValue,0)||1,[_,C]),S=k.useCallback(({cx:N,cy:j,midAngle:q,innerRadius:H,outerRadius:B,value:A})=>{if(A===0||_)return null;const z=H+(B-H)*.5,$=N+z*Math.cos(-q*Bj),D=j+z*Math.sin(-q*Bj),R=Math.round(A/L*100);return o.jsx(a.Text,{x:$,y:D,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:S,isAnimationActive:!1,children:_?o.jsx(a.Cell,{fill:"#A3C2CB"}):C.map((N,j)=>o.jsx(a.Cell,{fill:N.color},`cell-${j}`))})})})}),o.jsx("div",{className:Ue.legend,children:e.map((N,j)=>{const q=v.has(N.nom);return o.jsxs("div",{className:`${Ue.legendItem} ${!x&&!q?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||q?1:.3}}),o.jsx("span",{className:Ue.label,style:{opacity:x||q?1:.5},children:N.nom})]}),o.jsxs("div",{className:Ue.rightSection,style:{opacity:x||q?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-${j}`)})})]})},cxe="_container_1pc4v_1",ixe="_leftGroup_1pc4v_10",rxe="_iconBtn_1pc4v_16",ui={container:cxe,leftGroup:ixe,iconBtn:rxe},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:"M3 12h18M3 6h18M3 18h18"})),dxe=k.memo(sxe),lxe=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"})),qA=k.memo(lxe),hxe=({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:[ui.container,i].filter(Boolean).join(" "),style:y,children:[o.jsxs("div",{className:ui.leftGroup,children:[o.jsx("button",{className:ui.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??o.jsx(dxe,{width:22,height:22})}),o.jsx(IL,{...t,size:"medium"})]}),o.jsx("button",{className:ui.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??o.jsx(qA,{width:22,height:22})})]})},uxe="_container_24g3e_1",pxe="_iconBtn_24g3e_10",yxe="_title_24g3e_22",pi={container:uxe,iconBtn:pxe,title:yxe},kxe=({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:[pi.container,i].filter(Boolean).join(" "),style:f,children:[o.jsx("button",{className:pi.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??o.jsx($A,{width:22,height:22})}),o.jsx("span",{className:pi.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),o.jsx("button",{className:pi.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??o.jsx(qA,{width:22,height:22})})]})},mxe=({title:e,countLabel:t="UF",actionIcon:n=o.jsx(kt,{size:16}),onAction:c,items:i=[],onItemClick:r,activeColor:s="#0083bb",id:d,children:l})=>{const h=k.useMemo(()=>i.filter(u=>u.active).length,[i]);return o.jsxs(fxe,{id:d,children:[o.jsxs(gxe,{children:[o.jsxs(vxe,{children:[o.jsx(xxe,{children:e}),o.jsxs(Mxe,{children:["(",h," ",t,")"]})]}),c&&o.jsx(_xe,{onClick:c,title:"Action",children:n})]}),o.jsx(Lxe,{children:o.jsx(Ixe,{children:i.map(u=>o.jsx(wxe,{item:u,activeColor:s,onItemClick:r},u.id))})}),l&&o.jsx(Cxe,{children:l})]})},fxe=E.div`
8348
8348
  background: white;
8349
8349
  border: 1px solid #ddd;
8350
8350
  border-radius: 4px;
@@ -8419,7 +8419,7 @@
8419
8419
  padding: 0 15px 15px 15px;
8420
8420
  display: flex;
8421
8421
  justify-content: flex-end;
8422
- `,Nxe=({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:_,a11yConfig:v})=>{const I=n!==t?(e-t)/(n-t)*100:0,b=C=>{i(Number(C.target.value))},w=X(v,r);return o.jsxs(Sxe,{className:s,title:w,$fullWidth:l,children:[r&&o.jsx(jxe,{id:_?void 0:`${r}-label`,children:r}),o.jsx($xe,{type:"range",min:t,max:n,step:c,value:e,onChange:b,disabled:d,"aria-label":x,"aria-labelledby":_||(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})]})},Sxe=E.div`
8422
+ `,Nxe=({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=X(v,r);return o.jsxs(Sxe,{className:s,title:w,$fullWidth:l,children:[r&&o.jsx(jxe,{id:M?void 0:`${r}-label`,children:r}),o.jsx($xe,{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})]})},Sxe=E.div`
8423
8423
  display: flex;
8424
8424
  flex-direction: column;
8425
8425
  gap: 0.5rem;
@@ -8530,7 +8530,7 @@
8530
8530
  &:focus::-webkit-slider-runnable-track {
8531
8531
  outline: none;
8532
8532
  }
8533
- `,qxe=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"}))),Axe=k.memo(qxe),zxe=({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),_=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=>{_.current&&!_.current.contains(S.target)&&x(!1)};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]);const M=()=>{const N=parseInt(I)||0,S=parseInt(w)||0,q=Math.min(p,Math.max(0,N)).toString().padStart(2,"0"),B=Math.min(59,Math.max(0,S)).toString().padStart(2,"0");t(`${q}:${B}`),x(!1)},L=e?typeof e=="string"?e:`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}`:"",j=X(g,n);return o.jsxs(Vxe,{ref:_,$fullWidth:r,title:j,children:[n&&o.jsx(Pxe,{id:f?void 0:`${n}-label`,children:n}),o.jsx(Txe,{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(Hxe,{children:[o.jsx(Dxe,{$isPlaceholder:!L,children:L||c}),o.jsx(Bxe,{})]})}),m&&o.jsxs(Rxe,{$alignment:u,children:[o.jsxs(Fxe,{children:[o.jsxs(Rj,{children:[o.jsx(Fj,{children:l}),o.jsx(Ej,{children:o.jsx(Oj,{type:"number",min:"0",max:p.toString(),$wide:p>99,value:I,onChange:N=>{const S=N.target.value;if(S===""){b("");return}const q=parseInt(S);!isNaN(q)&&q>=0&&q<=p&&b(S)},autoFocus:!0})})]}),o.jsx(Exe,{children:":"}),o.jsxs(Rj,{children:[o.jsx(Fj,{children:h}),o.jsx(Ej,{children:o.jsx(Oj,{type:"number",min:"0",max:"59",value:w,onChange:N=>{const S=N.target.value;if(S===""){C("");return}const q=parseInt(S);!isNaN(q)&&q>=0&&q<=59&&C(S.slice(-2))}})})]})]}),o.jsxs(Oxe,{children:[o.jsx(Uj,{className:"cancel",onClick:()=>x(!1),children:s}),o.jsx(Uj,{className:"apply",onClick:M,children:d})]})]})]})},Vxe=E.div`
8533
+ `,qxe=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"}))),Axe=k.memo(qxe),zxe=({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 j=N.split(":");return{h:j[0].padStart(2,"0"),m:j[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=j=>{M.current&&!M.current.contains(j.target)&&x(!1)};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]);const _=()=>{const N=parseInt(I)||0,j=parseInt(w)||0,q=Math.min(p,Math.max(0,N)).toString().padStart(2,"0"),H=Math.min(59,Math.max(0,j)).toString().padStart(2,"0");t(`${q}:${H}`),x(!1)},L=e?typeof e=="string"?e:`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}`:"",S=X(g,n);return o.jsxs(Vxe,{ref:M,$fullWidth:r,title:S,children:[n&&o.jsx(Pxe,{id:f?void 0:`${n}-label`,children:n}),o.jsx(Txe,{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(Hxe,{children:[o.jsx(Dxe,{$isPlaceholder:!L,children:L||c}),o.jsx(Bxe,{})]})}),m&&o.jsxs(Rxe,{$alignment:u,children:[o.jsxs(Fxe,{children:[o.jsxs(Rj,{children:[o.jsx(Fj,{children:l}),o.jsx(Ej,{children:o.jsx(Oj,{type:"number",min:"0",max:p.toString(),$wide:p>99,value:I,onChange:N=>{const j=N.target.value;if(j===""){b("");return}const q=parseInt(j);!isNaN(q)&&q>=0&&q<=p&&b(j)},autoFocus:!0})})]}),o.jsx(Exe,{children:":"}),o.jsxs(Rj,{children:[o.jsx(Fj,{children:h}),o.jsx(Ej,{children:o.jsx(Oj,{type:"number",min:"0",max:"59",value:w,onChange:N=>{const j=N.target.value;if(j===""){C("");return}const q=parseInt(j);!isNaN(q)&&q>=0&&q<=59&&C(j.slice(-2))}})})]})]}),o.jsxs(Oxe,{children:[o.jsx(Uj,{className:"cancel",onClick:()=>x(!1),children:s}),o.jsx(Uj,{className:"apply",onClick:_,children:d})]})]})]})},Vxe=E.div`
8534
8534
  position: relative;
8535
8535
  display: inline-block;
8536
8536
  max-width: 100%;
@@ -8781,12 +8781,12 @@
8781
8781
  &:hover {
8782
8782
  opacity: 1;
8783
8783
  }
8784
- `,oMe="_patientCard_ynkf7_1",cMe="_notAllowedCursor_ynkf7_16",iMe="_innerPadding_ynkf7_26",rMe="_noFooterMargin_ynkf7_33",sMe="_topArea_ynkf7_37",dMe="_small_ynkf7_46",lMe="_header_ynkf7_59",hMe="_headerLeft_ynkf7_66",uMe="_headerRight_ynkf7_72",pMe="_uf_ynkf7_77",yMe="_rmBadge_ynkf7_85",kMe="_roomBed_ynkf7_100",mMe="_content_ynkf7_107",fMe="_body_ynkf7_119",gMe="_upperBodyContent_ynkf7_137",vMe="_patientInfo_ynkf7_147",xMe="_iep_ynkf7_152",MMe="_name_ynkf7_157",_Me="_birthName_ynkf7_164",LMe="_firstNames_ynkf7_169",IMe="_dobAge_ynkf7_174",bMe="_duration_ynkf7_179",wMe="_comment_ynkf7_185",CMe="_timeline_ynkf7_192",NMe="_destination_ynkf7_196",SMe="_todayReservation_ynkf7_206",jMe="_arrow_ynkf7_227",$Me="_progressBar_ynkf7_232",qMe="_progressFill_ynkf7_242",AMe="_progressDate_ynkf7_252",zMe="_footer_ynkf7_263",VMe="_actionsLeft_ynkf7_272",PMe="_actionsRight_ynkf7_273",TMe="_iconWrap_ynkf7_279",HMe="_centerLabelHuge_ynkf7_298",DMe="_labelYellow_ynkf7_305",BMe="_expectedBottom_ynkf7_324",RMe="_expectedPrefix_ynkf7_332",FMe="_expectedDate_ynkf7_338",EMe="_notesView_ynkf7_359",OMe="_notesHeader_ynkf7_367",UMe="_notesTitle_ynkf7_373",WMe="_notesList_ynkf7_379",GMe="_noteItem_ynkf7_385",KMe="_reservationView_ynkf7_390",ZMe="_reservationNote_ynkf7_402",XMe="_bottomArea_ynkf7_407",YMe="_bottomLeftSymbol_ynkf7_415",U={patientCard:oMe,notAllowedCursor:cMe,innerPadding:iMe,noFooterMargin:rMe,topArea:sMe,small:dMe,header:lMe,headerLeft:hMe,headerRight:uMe,uf:pMe,rmBadge:yMe,roomBed:kMe,content:mMe,body:fMe,upperBodyContent:gMe,patientInfo:vMe,iep:xMe,name:MMe,birthName:_Me,firstNames:LMe,dobAge:IMe,duration:bMe,comment:wMe,timeline:CMe,destination:NMe,todayReservation:SMe,arrow:jMe,progressBar:$Me,progressFill:qMe,progressDate:AMe,footer:zMe,actionsLeft:VMe,actionsRight:PMe,iconWrap:TMe,centerLabelHuge:HMe,labelYellow:DMe,expectedBottom:BMe,expectedPrefix:RMe,expectedDate:FMe,notesView:EMe,notesHeader:OMe,notesTitle:UMe,notesList:WMe,noteItem:GMe,reservationView:KMe,reservationNote:ZMe,bottomArea:XMe,bottomLeftSymbol:YMe},JMe=({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:_=!1,destination:v,progress:I=0,progressTrackColor:b,progressFillColor:w,progressLabel:C,showFooter:M=!1,leftIcons:L=[],rightIcons:j=[],activeView:N="default",notesHeaderTitle:S,notesHeaderIcon:q,notesList:B=[],reservationNote:H,isYellowLabel:z=!1,bottomLeftSymbol:A,cursorNotAllowed:$=!1,rmBadge:D,isReservationToday:R=!1})=>{const V=e==="small",O=`
8785
- ${U.patientCard}
8786
- ${V?U.small:""}
8787
- ${$?U.notAllowedCursor:""}
8784
+ `,oMe="_patientCard_1ed58_1",cMe="_notAllowedCursor_1ed58_18",iMe="_innerPadding_1ed58_28",rMe="_noFooterMargin_1ed58_35",sMe="_topArea_1ed58_39",dMe="_small_1ed58_48",lMe="_header_1ed58_61",hMe="_headerLeft_1ed58_68",uMe="_headerRight_1ed58_74",pMe="_uf_1ed58_79",yMe="_rmBadge_1ed58_87",kMe="_roomBed_1ed58_102",mMe="_content_1ed58_109",fMe="_body_1ed58_121",gMe="_upperBodyContent_1ed58_139",vMe="_patientInfo_1ed58_149",xMe="_iep_1ed58_154",MMe="_name_1ed58_159",_Me="_birthName_1ed58_166",LMe="_firstNames_1ed58_171",IMe="_dobAge_1ed58_176",bMe="_duration_1ed58_181",wMe="_comment_1ed58_187",CMe="_timeline_1ed58_194",NMe="_destination_1ed58_198",SMe="_todayReservation_1ed58_208",jMe="_arrow_1ed58_229",$Me="_progressBar_1ed58_234",qMe="_progressFill_1ed58_244",AMe="_progressDate_1ed58_254",zMe="_footer_1ed58_265",VMe="_iconWrap_1ed58_274",PMe="_centerLabelHuge_1ed58_293",TMe="_labelYellow_1ed58_300",HMe="_expectedBottom_1ed58_319",DMe="_expectedPrefix_1ed58_327",BMe="_expectedDate_1ed58_333",RMe="_notesView_1ed58_354",FMe="_notesHeader_1ed58_362",EMe="_notesTitle_1ed58_368",OMe="_notesList_1ed58_374",UMe="_noteItem_1ed58_380",WMe="_reservationView_1ed58_385",GMe="_reservationNote_1ed58_397",KMe="_bottomArea_1ed58_402",ZMe="_bottomLeftSymbol_1ed58_410",W={patientCard:oMe,notAllowedCursor:cMe,innerPadding:iMe,noFooterMargin:rMe,topArea:sMe,small:dMe,header:lMe,headerLeft:hMe,headerRight:uMe,uf:pMe,rmBadge:yMe,roomBed:kMe,content:mMe,body:fMe,upperBodyContent:gMe,patientInfo:vMe,iep:xMe,name:MMe,birthName:_Me,firstNames:LMe,dobAge:IMe,duration:bMe,comment:wMe,timeline:CMe,destination:NMe,todayReservation:SMe,arrow:jMe,progressBar:$Me,progressFill:qMe,progressDate:AMe,footer:zMe,iconWrap:VMe,centerLabelHuge:PMe,labelYellow:TMe,expectedBottom:HMe,expectedPrefix:DMe,expectedDate:BMe,notesView:RMe,notesHeader:FMe,notesTitle:EMe,notesList:OMe,noteItem:UMe,reservationView:WMe,reservationNote:GMe,bottomArea:KMe,bottomLeftSymbol:ZMe},XMe=({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,showFooter:_=!1,leftIcons:L=[],rightIcons:S=[],activeView:N="default",notesHeaderTitle:j,notesHeaderIcon:q,notesList:H=[],reservationNote:B,isYellowLabel:A=!1,bottomLeftSymbol:z,cursorNotAllowed:$=!1,rmBadge:D,isReservationToday:R=!1})=>{const V=e==="small",O=`
8785
+ ${W.patientCard}
8786
+ ${V?W.small:""}
8787
+ ${$?W.notAllowedCursor:""}
8788
8788
  ${t}
8789
- `.trim();return o.jsx("div",{className:O,style:n,children:o.jsxs("div",{className:U.innerPadding,children:[o.jsxs("div",{className:`${U.topArea} ${M?"":U.noFooterMargin}`,style:c,children:[o.jsx("div",{className:U.header,children:D?o.jsxs(o.Fragment,{children:[o.jsx("div",{className:U.headerLeft,children:o.jsxs("div",{className:U.uf,children:[i,r&&` - ${r}`]})}),o.jsx("div",{className:U.headerRight,children:o.jsx("div",{className:U.rmBadge,children:D})})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{className:U.headerLeft,children:i&&o.jsx("div",{className:U.uf,children:i})}),o.jsx("div",{className:U.headerRight,children:r&&o.jsx("span",{className:U.roomBed,children:r})})]})}),o.jsxs("div",{className:U.content,children:[o.jsxs("div",{className:U.body,children:[N==="default"&&o.jsxs(o.Fragment,{children:[s&&o.jsx("div",{className:`${U.centerLabelHuge} ${z?U.labelYellow:""}`,children:s}),o.jsxs("div",{className:U.upperBodyContent,children:[o.jsxs("div",{className:U.patientInfo,children:[d&&o.jsx("div",{className:U.iep,children:d}),l&&o.jsx("div",{className:U.name,children:l}),h&&o.jsxs("div",{className:U.birthName,children:["(",u?`${u} ${h}`:h,")"]}),p&&o.jsx("div",{className:U.firstNames,children:p}),y&&o.jsx("div",{className:U.dobAge,children:y})]}),f&&o.jsx("div",{className:U.duration,children:f}),g&&o.jsx("div",{className:U.comment,children:g})]}),m&&o.jsxs("div",{className:U.expectedBottom,children:[x&&o.jsx("div",{className:U.expectedPrefix,children:x}),o.jsx("div",{className:U.expectedDate,children:m})]})]}),N==="notes"&&o.jsxs("div",{className:U.notesView,children:[o.jsxs("div",{className:U.notesHeader,children:[q,o.jsx("span",{className:U.notesTitle,children:S})]}),o.jsx("div",{className:U.notesList,children:B.map((J,F)=>o.jsx("div",{className:U.noteItem,children:J},F))})]}),N==="reservation"&&o.jsxs("div",{className:U.reservationView,children:[s&&o.jsx("div",{className:`${U.centerLabelHuge} ${z?U.labelYellow:""}`,children:s}),o.jsx("div",{className:U.upperBodyContent,children:o.jsxs("div",{className:U.patientInfo,children:[d&&o.jsx("div",{className:U.iep,children:d}),l&&o.jsx("div",{className:U.name,children:l}),h&&o.jsxs("div",{className:U.birthName,children:["(",u?`${u} ${h}`:h,")"]}),p&&o.jsx("div",{className:U.firstNames,children:p}),y&&o.jsx("div",{className:U.dobAge,children:y})]})}),H&&o.jsx("div",{className:U.reservationNote,children:H})]})]}),(A||_||v)&&o.jsxs("div",{className:U.bottomArea,children:[A&&o.jsx("div",{className:U.bottomLeftSymbol,children:A}),v&&o.jsxs("div",{className:`${U.destination} ${R?U.todayReservation:""}`,children:[o.jsx("span",{className:U.arrow,children:"→"}),v.prefix&&o.jsx("span",{children:v.prefix}),o.jsx("strong",{children:v.name}),v.suffix&&o.jsx("span",{children:v.suffix})]}),_&&o.jsx("div",{className:U.timeline,children:b&&b!=="transparent"&&o.jsxs("div",{className:U.progressBar,style:{backgroundColor:b},children:[o.jsx("div",{className:U.progressFill,style:{width:`${I}%`,backgroundColor:w}}),C&&o.jsx("span",{className:U.progressDate,children:C})]})})]})]})]}),M&&o.jsxs("div",{className:U.footer,children:[o.jsx("div",{className:U.actionsLeft,children:L.map((J,F)=>o.jsx("div",{className:U.iconWrap,children:J},`left-${F}`))}),o.jsx("div",{className:U.actionsRight,children:j.map((J,F)=>o.jsx("div",{className:U.iconWrap,children:J},`right-${F}`))})]})]})})},QMe=({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:X(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:X(g.a11yConfig,g.labelKey),children:g.label})}),o.jsxs("div",{className:"item-value-col",style:l,children:[o.jsx("div",{className:"item-value",title:X(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))})]})},e_e=({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})},t_e=({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})},a_e=e=>o.jsx(n_e,{...e}),n_e=E.textarea`
8789
+ `.trim();return o.jsx("div",{className:O,style:n,children:o.jsxs("div",{className:W.innerPadding,children:[o.jsxs("div",{className:`${W.topArea} ${_?"":W.noFooterMargin}`,style:c,children:[o.jsx("div",{className:W.header,children:D?o.jsxs(o.Fragment,{children:[o.jsx("div",{className:W.headerLeft,children:o.jsxs("div",{className:W.uf,children:[i,r&&` - ${r}`]})}),o.jsx("div",{className:W.headerRight,children:o.jsx("div",{className:W.rmBadge,children:D})})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{className:W.headerLeft,children:i&&o.jsx("div",{className:W.uf,children:i})}),o.jsx("div",{className:W.headerRight,children:r&&o.jsx("span",{className:W.roomBed,children:r})})]})}),o.jsxs("div",{className:W.content,children:[o.jsxs("div",{className:W.body,children:[N==="default"&&o.jsxs(o.Fragment,{children:[s&&o.jsx("div",{className:`${W.centerLabelHuge} ${A?W.labelYellow:""}`,children:s}),o.jsxs("div",{className:W.upperBodyContent,children:[o.jsxs("div",{className:W.patientInfo,children:[d&&o.jsx("div",{className:W.iep,children:d}),l&&o.jsx("div",{className:W.name,children:l}),h&&o.jsxs("div",{className:W.birthName,children:["(",u?`${u} ${h}`:h,")"]}),p&&o.jsx("div",{className:W.firstNames,children:p}),y&&o.jsx("div",{className:W.dobAge,children:y})]}),f&&o.jsx("div",{className:W.duration,children:f}),g&&o.jsx("div",{className:W.comment,children:g})]}),m&&o.jsxs("div",{className:W.expectedBottom,children:[x&&o.jsx("div",{className:W.expectedPrefix,children:x}),o.jsx("div",{className:W.expectedDate,children:m})]})]}),N==="notes"&&o.jsxs("div",{className:W.notesView,children:[o.jsxs("div",{className:W.notesHeader,children:[q,o.jsx("span",{className:W.notesTitle,children:j})]}),o.jsx("div",{className:W.notesList,children:H.map((J,F)=>o.jsx("div",{className:W.noteItem,children:J},F))})]}),N==="reservation"&&o.jsxs("div",{className:W.reservationView,children:[s&&o.jsx("div",{className:`${W.centerLabelHuge} ${A?W.labelYellow:""}`,children:s}),o.jsx("div",{className:W.upperBodyContent,children:o.jsxs("div",{className:W.patientInfo,children:[d&&o.jsx("div",{className:W.iep,children:d}),l&&o.jsx("div",{className:W.name,children:l}),h&&o.jsxs("div",{className:W.birthName,children:["(",u?`${u} ${h}`:h,")"]}),p&&o.jsx("div",{className:W.firstNames,children:p}),y&&o.jsx("div",{className:W.dobAge,children:y})]})}),B&&o.jsx("div",{className:W.reservationNote,children:B})]})]}),(z||M||v)&&o.jsxs("div",{className:W.bottomArea,children:[z&&o.jsx("div",{className:W.bottomLeftSymbol,children:z}),v&&o.jsxs("div",{className:`${W.destination} ${R?W.todayReservation:""}`,children:[o.jsx("span",{className:W.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:W.timeline,children:b&&b!=="transparent"&&o.jsxs("div",{className:W.progressBar,style:{backgroundColor:b},children:[o.jsx("div",{className:W.progressFill,style:{width:`${I}%`,backgroundColor:w}}),C&&o.jsx("span",{className:W.progressDate,children:C})]})})]})]})]}),_&&o.jsxs("div",{className:W.footer,children:[L.map((J,F)=>o.jsx("div",{className:W.iconWrap,children:J},`left-${F}`)),S.map((J,F)=>o.jsx("div",{className:W.iconWrap,children:J},`right-${F}`))]})]})})},YMe=({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:X(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:X(g.a11yConfig,g.labelKey),children:g.label})}),o.jsxs("div",{className:"item-value-col",style:l,children:[o.jsx("div",{className:"item-value",title:X(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))})]})},JMe=({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})},QMe=({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})},e_e=e=>o.jsx(t_e,{...e}),t_e=E.textarea`
8790
8790
  padding: 0.5rem 0.875rem;
8791
8791
  border: 0.0625rem solid var(--color-border, #dee2e6);
8792
8792
  border-radius: var(--radius-content, 0.5rem);
@@ -8799,4 +8799,4 @@
8799
8799
  opacity: 0.65;
8800
8800
  cursor: not-allowed;
8801
8801
  }
8802
- `;exports.LineChart=a.LineChart;exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=u9e;exports.AddItemModal=Bc;exports.Alert=rC;exports.AlertsProvider=W3e;exports.BadgeList=Wj;exports.BadgeRenderer=kA;exports.Button=uL;exports.ChartContainer=O3e;exports.CheckboxInput=Gq;exports.CircularProgress=Gb;exports.ColorInput=Jq;exports.ComponentVisibilityManager=Xb;exports.ComponentVisibilityToggle=dfe;exports.ConfirmationModal=i9e;exports.ConfirmationPopup=Xme;exports.CounterListBox=zme;exports.CurrencyRenderer=gA;exports.DashboardSummary=R6e;exports.DataBoard=Mt;exports.DataFourBoards=bA;exports.DataListV2=QMe;exports.DateInput=Xq;exports.DatePicker=Mw;exports.DateRenderer=mA;exports.DayStatCard=G2e;exports.DayStatCardV2=c8e;exports.DonutChartRatio=oxe;exports.Draggable=e_e;exports.DraggableProvider=Y2e;exports.DraggableSwitcherButton=pL;exports.Droppable=t_e;exports.DynamicForm=n5e;exports.DynamicIcon=vw;exports.DynamicInput=Qq;exports.EmailRenderer=pA;exports.Encours=efe;exports.EntryControl=qme;exports.FileInput=Zq;exports.FilterBar=_7e;exports.FiltreEtiquette=R9e;exports.FlexRowContainer=Pme;exports.Grid=Zj;exports.Header=nde;exports.HorizontalBarChart=r8e;exports.IconText=i$;exports.ImageRenderer=vA;exports.IndicatorItemV2=rve;exports.InfoBanner=Lve;exports.InputWrapper=$L;exports.LegendFilterProvider=Q2e;exports.LegendFilterSwitcherButton=yL;exports.LinkRenderer=yA;exports.ListContentContainer=Tme;exports.Logo=IL;exports.MetricsPanel=_A;exports.MobileMenuHeader=kxe;exports.MobileNavMenu=NA;exports.MobileTopBar=hxe;exports.ModuleHeader=kme;exports.ModuleSideBar=mme;exports.ModuleSideBarV2=Zve;exports.MovementCard=ode;exports.NavBar=Xj;exports.NavBarV2=S8e;exports.NavItem=Kb;exports.NavItemV2=sC;exports.NavProvider=K2e;exports.NumberRenderer=fA;exports.PaginationBar=Uke;exports.PatientCard=JMe;exports.PatientDetailsPanel=Uxe;exports.PatientInfoCard=Gxe;exports.PeriodSelect=J3e;exports.PopUp=Ove;exports.RadioInput=Kq;exports.RangeInput=Yq;exports.ScrollableHorizontale=r$;exports.SearchBar=IA;exports.SearchableModuleSideBar=Yve;exports.Select=jA;exports.SelectFilter=A6e;exports.SelectInput=nC;exports.SettingNavBar=Kve;exports.ShowDataProvider=ede;exports.ShowDataSwitcherButton=kL;exports.SideComponent=eme;exports.SimpleListBox=Ame;exports.Slider=Nxe;exports.StatusTile=yde;exports.SubHeaderContent=ege;exports.SubHeaderNavItem=CA;exports.SubHeaderTitle=V8e;exports.SubNavBar=xde;exports.SummaryAvailable=E9e;exports.SummaryCard=MA;exports.Switcher=K1;exports.TableLayout=SA;exports.TableauDynamique=xA;exports.TableauDynamiqueSafePagination=Oke;exports.TableauxComponent=SA;exports.TextInput=Uq;exports.TextRenderer=uA;exports.Textarea=a_e;exports.TextareaInput=Wq;exports.ThemeProvider=Z2e;exports.ThemeSwitcher=tge;exports.ThemeSwitcherButton=Zb;exports.TimePicker=zxe;exports.Title=ome;exports.TranslationKey=fme;exports.TranslationKeyV2=Jve;exports.TrendItem=s$;exports.TrendList=kpe;exports.TrendListBox=Vme;exports.UnitGrid=mxe;exports.UserInfo=wA;exports.alertModels=K3e;exports.getA11yTooltip=X;exports.getFormSchema=o5e;exports.hexToRgba=Tt;exports.registerRenderer=zke;exports.tableConfig=xw;exports.useAlerts=G3e;exports.useBodyScrollLock=tme;exports.useConfirmationPopup=Yme;exports.useDraggableSwitcher=e$;exports.useFilters=lA;exports.useLegendFilterSwitcher=a$;exports.useNavigation=ft;exports.useShowDataSwitcher=o$;exports.useTableData=hA;exports.useThemeContext=Jj;exports.useThemeSwitcher=bL;exports.validateField=LL;exports.validateForm=Oq;
8802
+ `;exports.LineChart=a.LineChart;exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=u9e;exports.AddItemModal=Bc;exports.Alert=rC;exports.AlertsProvider=W3e;exports.BadgeList=Wj;exports.BadgeRenderer=kA;exports.Button=uL;exports.ChartContainer=O3e;exports.CheckboxInput=Gq;exports.CircularProgress=Gb;exports.ColorInput=Jq;exports.ComponentVisibilityManager=Xb;exports.ComponentVisibilityToggle=dfe;exports.ConfirmationModal=i9e;exports.ConfirmationPopup=Xme;exports.CounterListBox=zme;exports.CurrencyRenderer=gA;exports.DashboardSummary=R6e;exports.DataBoard=Mt;exports.DataFourBoards=bA;exports.DataListV2=YMe;exports.DateInput=Xq;exports.DatePicker=Mw;exports.DateRenderer=mA;exports.DayStatCard=G2e;exports.DayStatCardV2=c8e;exports.DonutChartRatio=oxe;exports.Draggable=JMe;exports.DraggableProvider=Y2e;exports.DraggableSwitcherButton=pL;exports.Droppable=QMe;exports.DynamicForm=n5e;exports.DynamicIcon=vw;exports.DynamicInput=Qq;exports.EmailRenderer=pA;exports.Encours=efe;exports.EntryControl=qme;exports.FileInput=Zq;exports.FilterBar=_7e;exports.FiltreEtiquette=R9e;exports.FlexRowContainer=Pme;exports.Grid=Zj;exports.Header=nde;exports.HorizontalBarChart=r8e;exports.IconText=i$;exports.ImageRenderer=vA;exports.IndicatorItemV2=rve;exports.InfoBanner=Lve;exports.InputWrapper=$L;exports.LegendFilterProvider=Q2e;exports.LegendFilterSwitcherButton=yL;exports.LinkRenderer=yA;exports.ListContentContainer=Tme;exports.Logo=IL;exports.MetricsPanel=_A;exports.MobileMenuHeader=kxe;exports.MobileNavMenu=NA;exports.MobileTopBar=hxe;exports.ModuleHeader=kme;exports.ModuleSideBar=mme;exports.ModuleSideBarV2=Zve;exports.MovementCard=ode;exports.NavBar=Xj;exports.NavBarV2=S8e;exports.NavItem=Kb;exports.NavItemV2=sC;exports.NavProvider=K2e;exports.NumberRenderer=fA;exports.PaginationBar=Uke;exports.PatientCard=XMe;exports.PatientDetailsPanel=Uxe;exports.PatientInfoCard=Gxe;exports.PeriodSelect=J3e;exports.PopUp=Ove;exports.RadioInput=Kq;exports.RangeInput=Yq;exports.ScrollableHorizontale=r$;exports.SearchBar=IA;exports.SearchableModuleSideBar=Yve;exports.Select=jA;exports.SelectFilter=A6e;exports.SelectInput=nC;exports.SettingNavBar=Kve;exports.ShowDataProvider=ede;exports.ShowDataSwitcherButton=kL;exports.SideComponent=eme;exports.SimpleListBox=Ame;exports.Slider=Nxe;exports.StatusTile=yde;exports.SubHeaderContent=ege;exports.SubHeaderNavItem=CA;exports.SubHeaderTitle=V8e;exports.SubNavBar=xde;exports.SummaryAvailable=E9e;exports.SummaryCard=MA;exports.Switcher=K1;exports.TableLayout=SA;exports.TableauDynamique=xA;exports.TableauDynamiqueSafePagination=Oke;exports.TableauxComponent=SA;exports.TextInput=Uq;exports.TextRenderer=uA;exports.Textarea=e_e;exports.TextareaInput=Wq;exports.ThemeProvider=Z2e;exports.ThemeSwitcher=tge;exports.ThemeSwitcherButton=Zb;exports.TimePicker=zxe;exports.Title=ome;exports.TranslationKey=fme;exports.TranslationKeyV2=Jve;exports.TrendItem=s$;exports.TrendList=kpe;exports.TrendListBox=Vme;exports.UnitGrid=mxe;exports.UserInfo=wA;exports.alertModels=K3e;exports.getA11yTooltip=X;exports.getFormSchema=o5e;exports.hexToRgba=Tt;exports.registerRenderer=zke;exports.tableConfig=xw;exports.useAlerts=G3e;exports.useBodyScrollLock=tme;exports.useConfirmationPopup=Yme;exports.useDraggableSwitcher=e$;exports.useFilters=lA;exports.useLegendFilterSwitcher=a$;exports.useNavigation=ft;exports.useShowDataSwitcher=o$;exports.useTableData=hA;exports.useThemeContext=Jj;exports.useThemeSwitcher=bL;exports.validateField=LL;exports.validateForm=Oq;