@tsiky/components-r19 1.6.21 → 1.6.22
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/components-r19.css +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.js +2078 -2022
- package/dist/src/components/Alert/AlertContext.d.ts.map +1 -1
- package/dist/src/components/PopUp/PopUp.d.ts +2 -0
- package/dist/src/components/PopUp/PopUp.d.ts.map +1 -1
- package/dist/src/components/SelectFilter/SelectFilter.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),k=require("react"),a=require("./SimpleBarChart-BzHNNwd6.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),k=require("react"),a=require("./SimpleBarChart-BzHNNwd6.cjs"),Xw=require("react-dom");function iA(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const K=iA(k),rA="_button_1kuwt_2",sA="_primary_1kuwt_21",dA="_secondary_1kuwt_26",lA="_accent_1kuwt_31",hA="_outline_1kuwt_36",uA="_success_1kuwt_41",pA="_danger_1kuwt_46",yA="_warning_1kuwt_51",kA="_info_1kuwt_56",mA="_sm_1kuwt_62",fA="_md_1kuwt_67",gA="_lg_1kuwt_72",He={button:rA,primary:sA,secondary:dA,accent:lA,outline:hA,success:uA,danger:pA,warning:yA,info:kA,sm:mA,md:fA,lg:gA},Ex=({children:e,variant:t="primary",size:n="md",className:o="",type:i="button",...r})=>{const s={primary:He.primary,secondary:He.secondary,accent:He.accent,outline:He.outline,success:He.success,danger:He.danger,warning:He.warning,info:He.info},d={sm:He.sm,md:He.md,lg:He.lg},l=[He.button,s[t]??"",d[n]??"",o].filter(Boolean).join(" ");return c.jsx("button",{type:i,className:l,...r,children:e})},Lw=({progress:e,size:t,strokeWidth:n,color:o="#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,_=(t-f)/2,M=2*Math.PI*_,x=M/5*(1-.1),C=M-x;return c.jsxs("div",{className:`circular-progress-container ${y}`,children:[c.jsxs("div",{className:"circular-progress",style:{width:t,height:t},children:[c.jsxs("svg",{width:t,height:t,children:[c.jsx("circle",{cx:m,cy:m,r:_-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,b)=>{const L=-90+b*72;return b>=g?null:c.jsx("circle",{cx:m,cy:m,r:_,fill:"transparent",stroke:o,strokeWidth:f,strokeLinecap:"butt",strokeDasharray:`${x} ${C}`,strokeDashoffset:0,transform:`rotate(${L} ${m} ${m})`,style:{transition:"stroke 0.3s ease"}},b)})]}),(s||d)&&c.jsxs("div",{className:"circular-progress-content",style:{color:r},children:[s&&c.jsx("div",{className:"circular-progress-text-top",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-bold)",...u},children:s}),d&&c.jsx("div",{className:"circular-progress-text-bottom",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-medium)",...p},children:d})]})]}),l&&c.jsx("div",{className:"circular-progress-label",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-medium)",color:h||r||"inherit"},children:l})]})},vA="_wrapper_12x8x_1",MA="_list_12x8x_12",_A="_item_12x8x_22",xA="_badge_12x8x_30",LA="_text_12x8x_42",IA="_tooltip_12x8x_49",Qe={wrapper:vA,list:MA,item:_A,badge:xA,text:LA,tooltip:IA};function ej({data:e,style:t,defaultBadgeColor:n="#2E7D32",defaultTextColor:o="#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),_=M=>typeof M=="number"?`${M}px`:M;return c.jsxs("div",{className:Qe.wrapper,style:{width:_(d),background:i,...t,"--gap":_(l)},onContextMenu:g,"aria-label":"liste-badges",children:[c.jsx("ul",{className:Qe.list,children:m.map((M,v)=>c.jsxs("li",{className:Qe.item,children:[c.jsx("span",{className:Qe.badge,style:{backgroundColor:M.badgeColor??n},"aria-hidden":!0}),c.jsx("span",{className:Qe.text,style:{color:M.textColor??o},children:M.text})]},v))}),r&&h&&p&&c.jsx("div",{className:Qe.tooltip,style:{left:p.x+8,top:p.y+8,backgroundColor:i,"--gap":_(l)},role:"dialog","aria-modal":"false",ref:f,children:c.jsx("ul",{className:Qe.list,children:e.map((M,v)=>c.jsxs("li",{className:Qe.item,children:[c.jsx("span",{className:Qe.badge,style:{backgroundColor:M.badgeColor??n}}),c.jsx("span",{className:Qe.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 ht=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:R1,AArrowDownIcon:R1,AArrowUp:F1,AArrowUpIcon:F1,ALargeSmall:E1,ALargeSmallIcon:E1,Accessibility:a1,AccessibilityIcon:a1,Activity:n1,ActivityIcon:n1,ActivitySquare:_t,ActivitySquareIcon:_t,AirVent:O1,AirVentIcon:O1,Airplay:U1,AirplayIcon:U1,AlarmCheck:qt,AlarmCheckIcon:qt,AlarmClock:G1,AlarmClockCheck:qt,AlarmClockCheckIcon:qt,AlarmClockIcon:G1,AlarmClockMinus:At,AlarmClockMinusIcon:At,AlarmClockOff:W1,AlarmClockOffIcon:W1,AlarmClockPlus:zt,AlarmClockPlusIcon:zt,AlarmMinus:At,AlarmMinusIcon:At,AlarmPlus:zt,AlarmPlusIcon:zt,AlarmSmoke:Z1,AlarmSmokeIcon:Z1,Album:K1,AlbumIcon:K1,AlertCircle:sa,AlertCircleIcon:sa,AlertOctagon:$n,AlertOctagonIcon:$n,AlertTriangle:ac,AlertTriangleIcon:ac,AlignCenter:ti,AlignCenterHorizontal:X1,AlignCenterHorizontalIcon:X1,AlignCenterIcon:ti,AlignCenterVertical:Y1,AlignCenterVerticalIcon:Y1,AlignEndHorizontal:J1,AlignEndHorizontalIcon:J1,AlignEndVertical:Q1,AlignEndVerticalIcon:Q1,AlignHorizontalDistributeCenter:ei,AlignHorizontalDistributeCenterIcon:ei,AlignHorizontalDistributeEnd:ai,AlignHorizontalDistributeEndIcon:ai,AlignHorizontalDistributeStart:ni,AlignHorizontalDistributeStartIcon:ni,AlignHorizontalJustifyCenter:oi,AlignHorizontalJustifyCenterIcon:oi,AlignHorizontalJustifyEnd:ci,AlignHorizontalJustifyEndIcon:ci,AlignHorizontalJustifyStart:ii,AlignHorizontalJustifyStartIcon:ii,AlignHorizontalSpaceAround:ri,AlignHorizontalSpaceAroundIcon:ri,AlignHorizontalSpaceBetween:di,AlignHorizontalSpaceBetweenIcon:di,AlignJustify:si,AlignJustifyIcon:si,AlignLeft:li,AlignLeftIcon:li,AlignRight:hi,AlignRightIcon:hi,AlignStartHorizontal:ui,AlignStartHorizontalIcon:ui,AlignStartVertical:pi,AlignStartVerticalIcon:pi,AlignVerticalDistributeCenter:ki,AlignVerticalDistributeCenterIcon:ki,AlignVerticalDistributeEnd:yi,AlignVerticalDistributeEndIcon:yi,AlignVerticalDistributeStart:fi,AlignVerticalDistributeStartIcon:fi,AlignVerticalJustifyCenter:mi,AlignVerticalJustifyCenterIcon:mi,AlignVerticalJustifyEnd:gi,AlignVerticalJustifyEndIcon:gi,AlignVerticalJustifyStart:vi,AlignVerticalJustifyStartIcon:vi,AlignVerticalSpaceAround:_i,AlignVerticalSpaceAroundIcon:_i,AlignVerticalSpaceBetween:Mi,AlignVerticalSpaceBetweenIcon:Mi,Ambulance:xi,AmbulanceIcon:xi,Ampersand:Li,AmpersandIcon:Li,Ampersands:Ii,AmpersandsIcon:Ii,Amphora:wi,AmphoraIcon:wi,Anchor:bi,AnchorIcon:bi,Angry:Ci,AngryIcon:Ci,Annoyed:Ni,AnnoyedIcon:Ni,Antenna:Si,AntennaIcon:Si,Anvil:ji,AnvilIcon:ji,Aperture:$i,ApertureIcon:$i,AppWindow:Ai,AppWindowIcon:Ai,AppWindowMac:qi,AppWindowMacIcon:qi,Apple:zi,AppleIcon:zi,Archive:Ti,ArchiveIcon:Ti,ArchiveRestore:Vi,ArchiveRestoreIcon:Vi,ArchiveX:Pi,ArchiveXIcon:Pi,AreaChart:Kt,AreaChartIcon:Kt,Armchair:Hi,ArmchairIcon:Hi,ArrowBigDown:Bi,ArrowBigDownDash:Di,ArrowBigDownDashIcon:Di,ArrowBigDownIcon:Bi,ArrowBigLeft:Fi,ArrowBigLeftDash:Ri,ArrowBigLeftDashIcon:Ri,ArrowBigLeftIcon:Fi,ArrowBigRight:Oi,ArrowBigRightDash:Ei,ArrowBigRightDashIcon:Ei,ArrowBigRightIcon:Oi,ArrowBigUp:Wi,ArrowBigUpDash:Ui,ArrowBigUpDashIcon:Ui,ArrowBigUpIcon:Wi,ArrowDown:ar,ArrowDown01:Gi,ArrowDown01Icon:Gi,ArrowDown10:Zi,ArrowDown10Icon:Zi,ArrowDownAZ:Vt,ArrowDownAZIcon:Vt,ArrowDownAz:Vt,ArrowDownAzIcon:Vt,ArrowDownCircle:da,ArrowDownCircleIcon:da,ArrowDownFromLine:Ki,ArrowDownFromLineIcon:Ki,ArrowDownIcon:ar,ArrowDownLeft:Xi,ArrowDownLeftFromCircle:ha,ArrowDownLeftFromCircleIcon:ha,ArrowDownLeftFromSquare:oo,ArrowDownLeftFromSquareIcon:oo,ArrowDownLeftIcon:Xi,ArrowDownLeftSquare:eo,ArrowDownLeftSquareIcon:eo,ArrowDownNarrowWide:Yi,ArrowDownNarrowWideIcon:Yi,ArrowDownRight:Ji,ArrowDownRightFromCircle:ua,ArrowDownRightFromCircleIcon:ua,ArrowDownRightFromSquare:co,ArrowDownRightFromSquareIcon:co,ArrowDownRightIcon:Ji,ArrowDownRightSquare:to,ArrowDownRightSquareIcon:to,ArrowDownSquare:ao,ArrowDownSquareIcon:ao,ArrowDownToDot:Qi,ArrowDownToDotIcon:Qi,ArrowDownToLine:er,ArrowDownToLineIcon:er,ArrowDownUp:tr,ArrowDownUpIcon:tr,ArrowDownWideNarrow:Pt,ArrowDownWideNarrowIcon:Pt,ArrowDownZA:Tt,ArrowDownZAIcon:Tt,ArrowDownZa:Tt,ArrowDownZaIcon:Tt,ArrowLeft:ir,ArrowLeftCircle:la,ArrowLeftCircleIcon:la,ArrowLeftFromLine:nr,ArrowLeftFromLineIcon:nr,ArrowLeftIcon:ir,ArrowLeftRight:or,ArrowLeftRightIcon:or,ArrowLeftSquare:no,ArrowLeftSquareIcon:no,ArrowLeftToLine:cr,ArrowLeftToLineIcon:cr,ArrowRight:lr,ArrowRightCircle:ka,ArrowRightCircleIcon:ka,ArrowRightFromLine:rr,ArrowRightFromLineIcon:rr,ArrowRightIcon:lr,ArrowRightLeft:sr,ArrowRightLeftIcon:sr,ArrowRightSquare:so,ArrowRightSquareIcon:so,ArrowRightToLine:dr,ArrowRightToLineIcon:dr,ArrowUp:Mr,ArrowUp01:hr,ArrowUp01Icon:hr,ArrowUp10:ur,ArrowUp10Icon:ur,ArrowUpAZ:Ht,ArrowUpAZIcon:Ht,ArrowUpAz:Ht,ArrowUpAzIcon:Ht,ArrowUpCircle:ma,ArrowUpCircleIcon:ma,ArrowUpDown:pr,ArrowUpDownIcon:pr,ArrowUpFromDot:yr,ArrowUpFromDotIcon:yr,ArrowUpFromLine:kr,ArrowUpFromLineIcon:kr,ArrowUpIcon:Mr,ArrowUpLeft:mr,ArrowUpLeftFromCircle:pa,ArrowUpLeftFromCircleIcon:pa,ArrowUpLeftFromSquare:io,ArrowUpLeftFromSquareIcon:io,ArrowUpLeftIcon:mr,ArrowUpLeftSquare:lo,ArrowUpLeftSquareIcon:lo,ArrowUpNarrowWide:Dt,ArrowUpNarrowWideIcon:Dt,ArrowUpRight:fr,ArrowUpRightFromCircle:ya,ArrowUpRightFromCircleIcon:ya,ArrowUpRightFromSquare:ro,ArrowUpRightFromSquareIcon:ro,ArrowUpRightIcon:fr,ArrowUpRightSquare:ho,ArrowUpRightSquareIcon:ho,ArrowUpSquare:uo,ArrowUpSquareIcon:uo,ArrowUpToLine:gr,ArrowUpToLineIcon:gr,ArrowUpWideNarrow:vr,ArrowUpWideNarrowIcon:vr,ArrowUpZA:Bt,ArrowUpZAIcon:Bt,ArrowUpZa:Bt,ArrowUpZaIcon:Bt,ArrowsUpFromLine:_r,ArrowsUpFromLineIcon:_r,Asterisk:xr,AsteriskIcon:xr,AsteriskSquare:po,AsteriskSquareIcon:po,AtSign:Lr,AtSignIcon:Lr,Atom:Ir,AtomIcon:Ir,AudioLines:wr,AudioLinesIcon:wr,AudioWaveform:br,AudioWaveformIcon:br,Award:Cr,AwardIcon:Cr,Axe:Nr,AxeIcon:Nr,Axis3D:Rt,Axis3DIcon:Rt,Axis3d:Rt,Axis3dIcon:Rt,Baby:Sr,BabyIcon:Sr,Backpack:jr,BackpackIcon:jr,Badge:Wr,BadgeAlert:$r,BadgeAlertIcon:$r,BadgeCent:qr,BadgeCentIcon:qr,BadgeCheck:Ft,BadgeCheckIcon:Ft,BadgeDollarSign:Ar,BadgeDollarSignIcon:Ar,BadgeEuro:zr,BadgeEuroIcon:zr,BadgeHelp:Et,BadgeHelpIcon:Et,BadgeIcon:Wr,BadgeIndianRupee:Vr,BadgeIndianRupeeIcon:Vr,BadgeInfo:Pr,BadgeInfoIcon:Pr,BadgeJapaneseYen:Hr,BadgeJapaneseYenIcon:Hr,BadgeMinus:Tr,BadgeMinusIcon:Tr,BadgePercent:Dr,BadgePercentIcon:Dr,BadgePlus:Br,BadgePlusIcon:Br,BadgePoundSterling:Rr,BadgePoundSterlingIcon:Rr,BadgeQuestionMark:Et,BadgeQuestionMarkIcon:Et,BadgeRussianRuble:Fr,BadgeRussianRubleIcon:Fr,BadgeSwissFranc:Er,BadgeSwissFrancIcon:Er,BadgeTurkishLira:Or,BadgeTurkishLiraIcon:Or,BadgeX:Ur,BadgeXIcon:Ur,BaggageClaim:Gr,BaggageClaimIcon:Gr,Ban:Zr,BanIcon:Zr,Banana:Kr,BananaIcon:Kr,Bandage:Xr,BandageIcon:Xr,Banknote:es,BanknoteArrowDown:Yr,BanknoteArrowDownIcon:Yr,BanknoteArrowUp:Jr,BanknoteArrowUpIcon:Jr,BanknoteIcon:es,BanknoteX:Qr,BanknoteXIcon:Qr,BarChart:na,BarChart2:oa,BarChart2Icon:oa,BarChart3:ta,BarChart3Icon:ta,BarChart4:ea,BarChart4Icon:ea,BarChartBig:Qt,BarChartBigIcon:Qt,BarChartHorizontal:Yt,BarChartHorizontalBig:Xt,BarChartHorizontalBigIcon:Xt,BarChartHorizontalIcon:Yt,BarChartIcon:na,Barcode:ts,BarcodeIcon:ts,Barrel:as,BarrelIcon:as,Baseline:ns,BaselineIcon:ns,Bath:os,BathIcon:os,Battery:hs,BatteryCharging:cs,BatteryChargingIcon:cs,BatteryFull:is,BatteryFullIcon:is,BatteryIcon:hs,BatteryLow:rs,BatteryLowIcon:rs,BatteryMedium:ss,BatteryMediumIcon:ss,BatteryPlus:ds,BatteryPlusIcon:ds,BatteryWarning:ls,BatteryWarningIcon:ls,Beaker:us,BeakerIcon:us,Bean:ys,BeanIcon:ys,BeanOff:ps,BeanOffIcon:ps,Bed:fs,BedDouble:ks,BedDoubleIcon:ks,BedIcon:fs,BedSingle:ms,BedSingleIcon:ms,Beef:gs,BeefIcon:gs,Beer:Ms,BeerIcon:Ms,BeerOff:vs,BeerOffIcon:vs,Bell:bs,BellDot:_s,BellDotIcon:_s,BellElectric:xs,BellElectricIcon:xs,BellIcon:bs,BellMinus:Ls,BellMinusIcon:Ls,BellOff:Is,BellOffIcon:Is,BellPlus:ws,BellPlusIcon:ws,BellRing:Cs,BellRingIcon:Cs,BetweenHorizonalEnd:Ot,BetweenHorizonalEndIcon:Ot,BetweenHorizonalStart:Ut,BetweenHorizonalStartIcon:Ut,BetweenHorizontalEnd:Ot,BetweenHorizontalEndIcon:Ot,BetweenHorizontalStart:Ut,BetweenHorizontalStartIcon:Ut,BetweenVerticalEnd:Ss,BetweenVerticalEndIcon:Ss,BetweenVerticalStart:Ns,BetweenVerticalStartIcon:Ns,BicepsFlexed:js,BicepsFlexedIcon:js,Bike:qs,BikeIcon:qs,Binary:$s,BinaryIcon:$s,Binoculars:As,BinocularsIcon:As,Biohazard:zs,BiohazardIcon:zs,Bird:Vs,BirdIcon:Vs,Bitcoin:Ps,BitcoinIcon:Ps,Blend:Ts,BlendIcon:Ts,Blinds:Hs,BlindsIcon:Hs,Blocks:Ds,BlocksIcon:Ds,Bluetooth:Es,BluetoothConnected:Bs,BluetoothConnectedIcon:Bs,BluetoothIcon:Es,BluetoothOff:Rs,BluetoothOffIcon:Rs,BluetoothSearching:Fs,BluetoothSearchingIcon:Fs,Bold:Os,BoldIcon:Os,Bolt:Us,BoltIcon:Us,Bomb:Ws,BombIcon:Ws,Bone:Gs,BoneIcon:Gs,Book:f2,BookA:Zs,BookAIcon:Zs,BookAlert:Ks,BookAlertIcon:Ks,BookAudio:Xs,BookAudioIcon:Xs,BookCheck:Ys,BookCheckIcon:Ys,BookCopy:Js,BookCopyIcon:Js,BookDashed:Wt,BookDashedIcon:Wt,BookDown:Qs,BookDownIcon:Qs,BookHeadphones:e2,BookHeadphonesIcon:e2,BookHeart:t2,BookHeartIcon:t2,BookIcon:f2,BookImage:a2,BookImageIcon:a2,BookKey:n2,BookKeyIcon:n2,BookLock:o2,BookLockIcon:o2,BookMarked:i2,BookMarkedIcon:i2,BookMinus:c2,BookMinusIcon:c2,BookOpen:d2,BookOpenCheck:r2,BookOpenCheckIcon:r2,BookOpenIcon:d2,BookOpenText:s2,BookOpenTextIcon:s2,BookPlus:l2,BookPlusIcon:l2,BookTemplate:Wt,BookTemplateIcon:Wt,BookText:h2,BookTextIcon:h2,BookType:u2,BookTypeIcon:u2,BookUp:y2,BookUp2:p2,BookUp2Icon:p2,BookUpIcon:y2,BookUser:k2,BookUserIcon:k2,BookX:m2,BookXIcon:m2,Bookmark:x2,BookmarkCheck:g2,BookmarkCheckIcon:g2,BookmarkIcon:x2,BookmarkMinus:v2,BookmarkMinusIcon:v2,BookmarkPlus:M2,BookmarkPlusIcon:M2,BookmarkX:_2,BookmarkXIcon:_2,BoomBox:L2,BoomBoxIcon:L2,Bot:b2,BotIcon:b2,BotMessageSquare:I2,BotMessageSquareIcon:I2,BotOff:w2,BotOffIcon:w2,BottleWine:C2,BottleWineIcon:C2,BowArrow:N2,BowArrowIcon:N2,Box:S2,BoxIcon:S2,BoxSelect:Io,BoxSelectIcon:Io,Boxes:j2,BoxesIcon:j2,Braces:Gt,BracesIcon:Gt,Brackets:$2,BracketsIcon:$2,Brain:z2,BrainCircuit:q2,BrainCircuitIcon:q2,BrainCog:A2,BrainCogIcon:A2,BrainIcon:z2,BrickWall:T2,BrickWallFire:V2,BrickWallFireIcon:V2,BrickWallIcon:T2,BrickWallShield:P2,BrickWallShieldIcon:P2,Briefcase:R2,BriefcaseBusiness:H2,BriefcaseBusinessIcon:H2,BriefcaseConveyorBelt:D2,BriefcaseConveyorBeltIcon:D2,BriefcaseIcon:R2,BriefcaseMedical:B2,BriefcaseMedicalIcon:B2,BringToFront:F2,BringToFrontIcon:F2,Brush:O2,BrushCleaning:E2,BrushCleaningIcon:E2,BrushIcon:O2,Bubbles:U2,BubblesIcon:U2,Bug:K2,BugIcon:K2,BugOff:W2,BugOffIcon:W2,BugPlay:G2,BugPlayIcon:G2,Building:X2,Building2:Z2,Building2Icon:Z2,BuildingIcon:X2,Bus:J2,BusFront:Y2,BusFrontIcon:Y2,BusIcon:J2,Cable:ed,CableCar:Q2,CableCarIcon:Q2,CableIcon:ed,Cake:ad,CakeIcon:ad,CakeSlice:td,CakeSliceIcon:td,Calculator:nd,CalculatorIcon:nd,Calendar:o1,Calendar1:od,Calendar1Icon:od,CalendarArrowDown:cd,CalendarArrowDownIcon:cd,CalendarArrowUp:id,CalendarArrowUpIcon:id,CalendarCheck:sd,CalendarCheck2:rd,CalendarCheck2Icon:rd,CalendarCheckIcon:sd,CalendarClock:dd,CalendarClockIcon:dd,CalendarCog:ld,CalendarCogIcon:ld,CalendarDays:hd,CalendarDaysIcon:hd,CalendarFold:ud,CalendarFoldIcon:ud,CalendarHeart:pd,CalendarHeartIcon:pd,CalendarIcon:o1,CalendarMinus:kd,CalendarMinus2:yd,CalendarMinus2Icon:yd,CalendarMinusIcon:kd,CalendarOff:md,CalendarOffIcon:md,CalendarPlus:gd,CalendarPlus2:fd,CalendarPlus2Icon:fd,CalendarPlusIcon:gd,CalendarRange:vd,CalendarRangeIcon:vd,CalendarSearch:Md,CalendarSearchIcon:Md,CalendarSync:_d,CalendarSyncIcon:_d,CalendarX:Ld,CalendarX2:xd,CalendarX2Icon:xd,CalendarXIcon:Ld,Camera:wd,CameraIcon:wd,CameraOff:Id,CameraOffIcon:Id,CandlestickChart:Jt,CandlestickChartIcon:Jt,Candy:Nd,CandyCane:bd,CandyCaneIcon:bd,CandyIcon:Nd,CandyOff:Cd,CandyOffIcon:Cd,Cannabis:Sd,CannabisIcon:Sd,Captions:Zt,CaptionsIcon:Zt,CaptionsOff:jd,CaptionsOffIcon:jd,Car:Ad,CarFront:$d,CarFrontIcon:$d,CarIcon:Ad,CarTaxiFront:qd,CarTaxiFrontIcon:qd,Caravan:zd,CaravanIcon:zd,CardSim:Vd,CardSimIcon:Vd,Carrot:Pd,CarrotIcon:Pd,CaseLower:Td,CaseLowerIcon:Td,CaseSensitive:Hd,CaseSensitiveIcon:Hd,CaseUpper:Dd,CaseUpperIcon:Dd,CassetteTape:Bd,CassetteTapeIcon:Bd,Cast:Rd,CastIcon:Rd,Castle:Ed,CastleIcon:Ed,Cat:Fd,CatIcon:Fd,Cctv:Od,CctvIcon:Od,ChartArea:Kt,ChartAreaIcon:Kt,ChartBar:Yt,ChartBarBig:Xt,ChartBarBigIcon:Xt,ChartBarDecreasing:Ud,ChartBarDecreasingIcon:Ud,ChartBarIcon:Yt,ChartBarIncreasing:Wd,ChartBarIncreasingIcon:Wd,ChartBarStacked:Gd,ChartBarStackedIcon:Gd,ChartCandlestick:Jt,ChartCandlestickIcon:Jt,ChartColumn:ta,ChartColumnBig:Qt,ChartColumnBigIcon:Qt,ChartColumnDecreasing:Zd,ChartColumnDecreasingIcon:Zd,ChartColumnIcon:ta,ChartColumnIncreasing:ea,ChartColumnIncreasingIcon:ea,ChartColumnStacked:Kd,ChartColumnStackedIcon:Kd,ChartGantt:Xd,ChartGanttIcon:Xd,ChartLine:aa,ChartLineIcon:aa,ChartNetwork:Yd,ChartNetworkIcon:Yd,ChartNoAxesColumn:oa,ChartNoAxesColumnDecreasing:Jd,ChartNoAxesColumnDecreasingIcon:Jd,ChartNoAxesColumnIcon:oa,ChartNoAxesColumnIncreasing:na,ChartNoAxesColumnIncreasingIcon:na,ChartNoAxesCombined:Qd,ChartNoAxesCombinedIcon:Qd,ChartNoAxesGantt:ca,ChartNoAxesGanttIcon:ca,ChartPie:ia,ChartPieIcon:ia,ChartScatter:ra,ChartScatterIcon:ra,ChartSpline:e0,ChartSplineIcon:e0,Check:c1,CheckCheck:t0,CheckCheckIcon:t0,CheckCircle:fa,CheckCircle2:ga,CheckCircle2Icon:ga,CheckCircleIcon:fa,CheckIcon:c1,CheckLine:a0,CheckLineIcon:a0,CheckSquare:ko,CheckSquare2:mo,CheckSquare2Icon:mo,CheckSquareIcon:ko,ChefHat:n0,ChefHatIcon:n0,Cherry:o0,CherryIcon:o0,ChevronDown:wt,ChevronDownCircle:va,ChevronDownCircleIcon:va,ChevronDownIcon:wt,ChevronDownSquare:fo,ChevronDownSquareIcon:fo,ChevronFirst:c0,ChevronFirstIcon:c0,ChevronLast:i0,ChevronLastIcon:i0,ChevronLeft:r0,ChevronLeftCircle:Ma,ChevronLeftCircleIcon:Ma,ChevronLeftIcon:r0,ChevronLeftSquare:go,ChevronLeftSquareIcon:go,ChevronRight:i1,ChevronRightCircle:_a,ChevronRightCircleIcon:_a,ChevronRightIcon:i1,ChevronRightSquare:vo,ChevronRightSquareIcon:vo,ChevronUp:Mc,ChevronUpCircle:xa,ChevronUpCircleIcon:xa,ChevronUpIcon:Mc,ChevronUpSquare:Mo,ChevronUpSquareIcon:Mo,ChevronsDown:d0,ChevronsDownIcon:d0,ChevronsDownUp:s0,ChevronsDownUpIcon:s0,ChevronsLeft:h0,ChevronsLeftIcon:h0,ChevronsLeftRight:l0,ChevronsLeftRightEllipsis:u0,ChevronsLeftRightEllipsisIcon:u0,ChevronsLeftRightIcon:l0,ChevronsRight:y0,ChevronsRightIcon:y0,ChevronsRightLeft:p0,ChevronsRightLeftIcon:p0,ChevronsUp:k0,ChevronsUpDown:Pc,ChevronsUpDownIcon:Pc,ChevronsUpIcon:k0,Chrome:m0,ChromeIcon:m0,Church:f0,ChurchIcon:f0,Cigarette:v0,CigaretteIcon:v0,CigaretteOff:g0,CigaretteOffIcon:g0,Circle:A0,CircleAlert:sa,CircleAlertIcon:sa,CircleArrowDown:da,CircleArrowDownIcon:da,CircleArrowLeft:la,CircleArrowLeftIcon:la,CircleArrowOutDownLeft:ha,CircleArrowOutDownLeftIcon:ha,CircleArrowOutDownRight:ua,CircleArrowOutDownRightIcon:ua,CircleArrowOutUpLeft:pa,CircleArrowOutUpLeftIcon:pa,CircleArrowOutUpRight:ya,CircleArrowOutUpRightIcon:ya,CircleArrowRight:ka,CircleArrowRightIcon:ka,CircleArrowUp:ma,CircleArrowUpIcon:ma,CircleCheck:ga,CircleCheckBig:fa,CircleCheckBigIcon:fa,CircleCheckIcon:ga,CircleChevronDown:va,CircleChevronDownIcon:va,CircleChevronLeft:Ma,CircleChevronLeftIcon:Ma,CircleChevronRight:_a,CircleChevronRightIcon:_a,CircleChevronUp:xa,CircleChevronUpIcon:xa,CircleDashed:M0,CircleDashedIcon:M0,CircleDivide:La,CircleDivideIcon:La,CircleDollarSign:x0,CircleDollarSignIcon:x0,CircleDot:L0,CircleDotDashed:_0,CircleDotDashedIcon:_0,CircleDotIcon:L0,CircleEllipsis:I0,CircleEllipsisIcon:I0,CircleEqual:w0,CircleEqualIcon:w0,CircleFadingArrowUp:C0,CircleFadingArrowUpIcon:C0,CircleFadingPlus:b0,CircleFadingPlusIcon:b0,CircleGauge:Ia,CircleGaugeIcon:Ia,CircleHelp:tt,CircleHelpIcon:tt,CircleIcon:A0,CircleMinus:wa,CircleMinusIcon:wa,CircleOff:N0,CircleOffIcon:N0,CircleParking:Na,CircleParkingIcon:Na,CircleParkingOff:ba,CircleParkingOffIcon:ba,CirclePause:Ca,CirclePauseIcon:Ca,CirclePercent:Sa,CirclePercentIcon:Sa,CirclePlay:ja,CirclePlayIcon:ja,CirclePlus:$a,CirclePlusIcon:$a,CirclePoundSterling:S0,CirclePoundSterlingIcon:S0,CirclePower:qa,CirclePowerIcon:qa,CircleQuestionMark:tt,CircleQuestionMarkIcon:tt,CircleSlash:j0,CircleSlash2:Aa,CircleSlash2Icon:Aa,CircleSlashIcon:j0,CircleSlashed:Aa,CircleSlashedIcon:Aa,CircleSmall:$0,CircleSmallIcon:$0,CircleStar:q0,CircleStarIcon:q0,CircleStop:za,CircleStopIcon:za,CircleUser:Pa,CircleUserIcon:Pa,CircleUserRound:Va,CircleUserRoundIcon:Va,CircleX:gt,CircleXIcon:gt,CircuitBoard:z0,CircuitBoardIcon:z0,Citrus:V0,CitrusIcon:V0,Clapperboard:P0,ClapperboardIcon:P0,Clipboard:W0,ClipboardCheck:T0,ClipboardCheckIcon:T0,ClipboardClock:H0,ClipboardClockIcon:H0,ClipboardCopy:D0,ClipboardCopyIcon:D0,ClipboardEdit:Ha,ClipboardEditIcon:Ha,ClipboardIcon:W0,ClipboardList:B0,ClipboardListIcon:B0,ClipboardMinus:R0,ClipboardMinusIcon:R0,ClipboardPaste:F0,ClipboardPasteIcon:F0,ClipboardPen:Ha,ClipboardPenIcon:Ha,ClipboardPenLine:Ta,ClipboardPenLineIcon:Ta,ClipboardPlus:E0,ClipboardPlusIcon:E0,ClipboardSignature:Ta,ClipboardSignatureIcon:Ta,ClipboardType:O0,ClipboardTypeIcon:O0,ClipboardX:U0,ClipboardXIcon:U0,Clock:ll,Clock1:Z0,Clock10:G0,Clock10Icon:G0,Clock11:K0,Clock11Icon:K0,Clock12:X0,Clock12Icon:X0,Clock1Icon:Z0,Clock2:Y0,Clock2Icon:Y0,Clock3:J0,Clock3Icon:J0,Clock4:Q0,Clock4Icon:Q0,Clock5:el,Clock5Icon:el,Clock6:tl,Clock6Icon:tl,Clock7:al,Clock7Icon:al,Clock8:nl,Clock8Icon:nl,Clock9:ol,Clock9Icon:ol,ClockAlert:cl,ClockAlertIcon:cl,ClockArrowDown:il,ClockArrowDownIcon:il,ClockArrowUp:rl,ClockArrowUpIcon:rl,ClockFading:sl,ClockFadingIcon:sl,ClockIcon:ll,ClockPlus:dl,ClockPlusIcon:dl,ClosedCaption:hl,ClosedCaptionIcon:hl,Cloud:Cl,CloudAlert:ul,CloudAlertIcon:ul,CloudCheck:pl,CloudCheckIcon:pl,CloudCog:yl,CloudCogIcon:yl,CloudDownload:Da,CloudDownloadIcon:Da,CloudDrizzle:kl,CloudDrizzleIcon:kl,CloudFog:ml,CloudFogIcon:ml,CloudHail:fl,CloudHailIcon:fl,CloudIcon:Cl,CloudLightning:gl,CloudLightningIcon:gl,CloudMoon:Ml,CloudMoonIcon:Ml,CloudMoonRain:vl,CloudMoonRainIcon:vl,CloudOff:_l,CloudOffIcon:_l,CloudRain:Ll,CloudRainIcon:Ll,CloudRainWind:xl,CloudRainWindIcon:xl,CloudSnow:Il,CloudSnowIcon:Il,CloudSun:bl,CloudSunIcon:bl,CloudSunRain:wl,CloudSunRainIcon:wl,CloudUpload:Ba,CloudUploadIcon:Ba,Cloudy:Nl,CloudyIcon:Nl,Clover:Sl,CloverIcon:Sl,Club:jl,ClubIcon:jl,Code:$l,Code2:Ra,Code2Icon:Ra,CodeIcon:$l,CodeSquare:_o,CodeSquareIcon:_o,CodeXml:Ra,CodeXmlIcon:Ra,Codepen:ql,CodepenIcon:ql,Codesandbox:Al,CodesandboxIcon:Al,Coffee:zl,CoffeeIcon:zl,Cog:Vl,CogIcon:Vl,Coins:Pl,CoinsIcon:Pl,Columns:Fa,Columns2:Fa,Columns2Icon:Fa,Columns3:Ea,Columns3Cog:at,Columns3CogIcon:at,Columns3Icon:Ea,Columns4:Tl,Columns4Icon:Tl,ColumnsIcon:Fa,ColumnsSettings:at,ColumnsSettingsIcon:at,Combine:Hl,CombineIcon:Hl,Command:Dl,CommandIcon:Dl,Compass:Bl,CompassIcon:Bl,Component:Rl,ComponentIcon:Rl,Computer:Fl,ComputerIcon:Fl,ConciergeBell:El,ConciergeBellIcon:El,Cone:Ol,ConeIcon:Ol,Construction:Ul,ConstructionIcon:Ul,Contact:Wl,Contact2:Oa,Contact2Icon:Oa,ContactIcon:Wl,ContactRound:Oa,ContactRoundIcon:Oa,Container:Gl,ContainerIcon:Gl,Contrast:Kl,ContrastIcon:Kl,Cookie:Zl,CookieIcon:Zl,CookingPot:Yl,CookingPotIcon:Yl,Copy:ah,CopyCheck:Xl,CopyCheckIcon:Xl,CopyIcon:ah,CopyMinus:Jl,CopyMinusIcon:Jl,CopyPlus:Ql,CopyPlusIcon:Ql,CopySlash:eh,CopySlashIcon:eh,CopyX:th,CopyXIcon:th,Copyleft:nh,CopyleftIcon:nh,Copyright:oh,CopyrightIcon:oh,CornerDownLeft:ch,CornerDownLeftIcon:ch,CornerDownRight:ih,CornerDownRightIcon:ih,CornerLeftDown:rh,CornerLeftDownIcon:rh,CornerLeftUp:sh,CornerLeftUpIcon:sh,CornerRightDown:dh,CornerRightDownIcon:dh,CornerRightUp:lh,CornerRightUpIcon:lh,CornerUpLeft:hh,CornerUpLeftIcon:hh,CornerUpRight:uh,CornerUpRightIcon:uh,Cpu:ph,CpuIcon:ph,CreativeCommons:yh,CreativeCommonsIcon:yh,CreditCard:kh,CreditCardIcon:kh,Croissant:mh,CroissantIcon:mh,Crop:fh,CropIcon:fh,Cross:gh,CrossIcon:gh,Crosshair:vh,CrosshairIcon:vh,Crown:Mh,CrownIcon:Mh,Cuboid:_h,CuboidIcon:_h,CupSoda:xh,CupSodaIcon:xh,CurlyBraces:Gt,CurlyBracesIcon:Gt,Currency:Lh,CurrencyIcon:Lh,Cylinder:Ih,CylinderIcon:Ih,Dam:wh,DamIcon:wh,Database:Nh,DatabaseBackup:bh,DatabaseBackupIcon:bh,DatabaseIcon:Nh,DatabaseZap:Ch,DatabaseZapIcon:Ch,DecimalsArrowLeft:Sh,DecimalsArrowLeftIcon:Sh,DecimalsArrowRight:jh,DecimalsArrowRightIcon:jh,Delete:$h,DeleteIcon:$h,Dessert:qh,DessertIcon:qh,Diameter:Ah,DiameterIcon:Ah,Diamond:Ph,DiamondIcon:Ph,DiamondMinus:zh,DiamondMinusIcon:zh,DiamondPercent:Ua,DiamondPercentIcon:Ua,DiamondPlus:Vh,DiamondPlusIcon:Vh,Dice1:Th,Dice1Icon:Th,Dice2:Hh,Dice2Icon:Hh,Dice3:Dh,Dice3Icon:Dh,Dice4:Bh,Dice4Icon:Bh,Dice5:Rh,Dice5Icon:Rh,Dice6:Fh,Dice6Icon:Fh,Dices:Eh,DicesIcon:Eh,Diff:Oh,DiffIcon:Oh,Disc:Zh,Disc2:Uh,Disc2Icon:Uh,Disc3:Wh,Disc3Icon:Wh,DiscAlbum:Gh,DiscAlbumIcon:Gh,DiscIcon:Zh,Divide:Kh,DivideCircle:La,DivideCircleIcon:La,DivideIcon:Kh,DivideSquare:wo,DivideSquareIcon:wo,Dna:Yh,DnaIcon:Yh,DnaOff:Xh,DnaOffIcon:Xh,Dock:Jh,DockIcon:Jh,Dog:Qh,DogIcon:Qh,DollarSign:eu,DollarSignIcon:eu,Donut:tu,DonutIcon:tu,DoorClosed:nu,DoorClosedIcon:nu,DoorClosedLocked:au,DoorClosedLockedIcon:au,DoorOpen:ou,DoorOpenIcon:ou,Dot:cu,DotIcon:cu,DotSquare:Co,DotSquareIcon:Co,Download:ru,DownloadCloud:Da,DownloadCloudIcon:Da,DownloadIcon:ru,DraftingCompass:iu,DraftingCompassIcon:iu,Drama:su,DramaIcon:su,Dribbble:du,DribbbleIcon:du,Drill:lu,DrillIcon:lu,Drone:hu,DroneIcon:hu,Droplet:pu,DropletIcon:pu,DropletOff:uu,DropletOffIcon:uu,Droplets:yu,DropletsIcon:yu,Drum:ku,DrumIcon:ku,Drumstick:mu,DrumstickIcon:mu,Dumbbell:fu,DumbbellIcon:fu,Ear:vu,EarIcon:vu,EarOff:gu,EarOffIcon:gu,Earth:Wa,EarthIcon:Wa,EarthLock:Mu,EarthLockIcon:Mu,Eclipse:_u,EclipseIcon:_u,Edit:Te,Edit2:lt,Edit2Icon:lt,Edit3:dt,Edit3Icon:dt,EditIcon:Te,Egg:Iu,EggFried:xu,EggFriedIcon:xu,EggIcon:Iu,EggOff:Lu,EggOffIcon:Lu,Ellipsis:Za,EllipsisIcon:Za,EllipsisVertical:Ga,EllipsisVerticalIcon:Ga,Equal:Cu,EqualApproximately:wu,EqualApproximatelyIcon:wu,EqualIcon:Cu,EqualNot:bu,EqualNotIcon:bu,EqualSquare:bo,EqualSquareIcon:bo,Eraser:Nu,EraserIcon:Nu,EthernetPort:Su,EthernetPortIcon:Su,Euro:ju,EuroIcon:ju,Expand:qu,ExpandIcon:qu,ExternalLink:$u,ExternalLinkIcon:$u,Eye:s1,EyeClosed:Au,EyeClosedIcon:Au,EyeIcon:s1,EyeOff:r1,EyeOffIcon:r1,Facebook:zu,FacebookIcon:zu,Factory:Vu,FactoryIcon:Vu,Fan:Pu,FanIcon:Pu,FastForward:Tu,FastForwardIcon:Tu,Feather:Hu,FeatherIcon:Hu,Fence:Du,FenceIcon:Du,FerrisWheel:Bu,FerrisWheelIcon:Bu,Figma:Ru,FigmaIcon:Ru,File:Vp,FileArchive:Fu,FileArchiveIcon:Fu,FileAudio:Ou,FileAudio2:Eu,FileAudio2Icon:Eu,FileAudioIcon:Ou,FileAxis3D:Ka,FileAxis3DIcon:Ka,FileAxis3d:Ka,FileAxis3dIcon:Ka,FileBadge:Gu,FileBadge2:Uu,FileBadge2Icon:Uu,FileBadgeIcon:Gu,FileBarChart:Xa,FileBarChart2:Ya,FileBarChart2Icon:Ya,FileBarChartIcon:Xa,FileBox:Wu,FileBoxIcon:Wu,FileChartColumn:Ya,FileChartColumnIcon:Ya,FileChartColumnIncreasing:Xa,FileChartColumnIncreasingIcon:Xa,FileChartLine:Ja,FileChartLineIcon:Ja,FileChartPie:Qa,FileChartPieIcon:Qa,FileCheck:Ku,FileCheck2:Zu,FileCheck2Icon:Zu,FileCheckIcon:Ku,FileClock:Xu,FileClockIcon:Xu,FileCode:Yu,FileCode2:Ju,FileCode2Icon:Ju,FileCodeIcon:Yu,FileCog:en,FileCog2:en,FileCog2Icon:en,FileCogIcon:en,FileDiff:Qu,FileDiffIcon:Qu,FileDigit:ep,FileDigitIcon:ep,FileDown:tp,FileDownIcon:tp,FileEdit:an,FileEditIcon:an,FileHeart:ap,FileHeartIcon:ap,FileIcon:Vp,FileImage:np,FileImageIcon:np,FileInput:op,FileInputIcon:op,FileJson:ip,FileJson2:cp,FileJson2Icon:cp,FileJsonIcon:ip,FileKey:sp,FileKey2:rp,FileKey2Icon:rp,FileKeyIcon:sp,FileLineChart:Ja,FileLineChartIcon:Ja,FileLock:lp,FileLock2:dp,FileLock2Icon:dp,FileLockIcon:lp,FileMinus:up,FileMinus2:hp,FileMinus2Icon:hp,FileMinusIcon:up,FileMusic:pp,FileMusicIcon:pp,FileOutput:yp,FileOutputIcon:yp,FilePen:an,FilePenIcon:an,FilePenLine:tn,FilePenLineIcon:tn,FilePieChart:Qa,FilePieChartIcon:Qa,FilePlay:nn,FilePlayIcon:nn,FilePlus:mp,FilePlus2:kp,FilePlus2Icon:kp,FilePlusIcon:mp,FileQuestion:on,FileQuestionIcon:on,FileQuestionMark:on,FileQuestionMarkIcon:on,FileScan:fp,FileScanIcon:fp,FileSearch:vp,FileSearch2:gp,FileSearch2Icon:gp,FileSearchIcon:vp,FileSignature:tn,FileSignatureIcon:tn,FileSliders:Mp,FileSlidersIcon:Mp,FileSpreadsheet:_p,FileSpreadsheetIcon:_p,FileStack:xp,FileStackIcon:xp,FileSymlink:Lp,FileSymlinkIcon:Lp,FileTerminal:Ip,FileTerminalIcon:Ip,FileText:wp,FileTextIcon:wp,FileType:Cp,FileType2:bp,FileType2Icon:bp,FileTypeIcon:Cp,FileUp:Np,FileUpIcon:Np,FileUser:Sp,FileUserIcon:Sp,FileVideo:nn,FileVideo2:cn,FileVideo2Icon:cn,FileVideoCamera:cn,FileVideoCameraIcon:cn,FileVideoIcon:nn,FileVolume:$p,FileVolume2:jp,FileVolume2Icon:jp,FileVolumeIcon:$p,FileWarning:qp,FileWarningIcon:qp,FileX:zp,FileX2:Ap,FileX2Icon:Ap,FileXIcon:zp,Files:Pp,FilesIcon:Pp,Film:Tp,FilmIcon:Tp,Filter:vt,FilterIcon:vt,FilterX:dn,FilterXIcon:dn,Fingerprint:Hp,FingerprintIcon:Hp,FireExtinguisher:Dp,FireExtinguisherIcon:Dp,Fish:Rp,FishIcon:Rp,FishOff:Bp,FishOffIcon:Bp,FishSymbol:Fp,FishSymbolIcon:Fp,Flag:Wp,FlagIcon:Wp,FlagOff:Ep,FlagOffIcon:Ep,FlagTriangleLeft:Op,FlagTriangleLeftIcon:Op,FlagTriangleRight:Up,FlagTriangleRightIcon:Up,Flame:Zp,FlameIcon:Zp,FlameKindling:Gp,FlameKindlingIcon:Gp,Flashlight:Xp,FlashlightIcon:Xp,FlashlightOff:Kp,FlashlightOffIcon:Kp,FlaskConical:Jp,FlaskConicalIcon:Jp,FlaskConicalOff:Yp,FlaskConicalOffIcon:Yp,FlaskRound:Qp,FlaskRoundIcon:Qp,FlipHorizontal:ty,FlipHorizontal2:ey,FlipHorizontal2Icon:ey,FlipHorizontalIcon:ty,FlipVertical:ny,FlipVertical2:ay,FlipVertical2Icon:ay,FlipVerticalIcon:ny,Flower:cy,Flower2:oy,Flower2Icon:oy,FlowerIcon:cy,Focus:iy,FocusIcon:iy,FoldHorizontal:ry,FoldHorizontalIcon:ry,FoldVertical:sy,FoldVerticalIcon:sy,Folder:d1,FolderArchive:dy,FolderArchiveIcon:dy,FolderCheck:ly,FolderCheckIcon:ly,FolderClock:hy,FolderClockIcon:hy,FolderClosed:uy,FolderClosedIcon:uy,FolderCode:py,FolderCodeIcon:py,FolderCog:rn,FolderCog2:rn,FolderCog2Icon:rn,FolderCogIcon:rn,FolderDot:yy,FolderDotIcon:yy,FolderDown:ky,FolderDownIcon:ky,FolderEdit:sn,FolderEditIcon:sn,FolderGit:fy,FolderGit2:my,FolderGit2Icon:my,FolderGitIcon:fy,FolderHeart:gy,FolderHeartIcon:gy,FolderIcon:d1,FolderInput:vy,FolderInputIcon:vy,FolderKanban:My,FolderKanbanIcon:My,FolderKey:_y,FolderKeyIcon:_y,FolderLock:xy,FolderLockIcon:xy,FolderMinus:Ly,FolderMinusIcon:Ly,FolderOpen:wy,FolderOpenDot:Iy,FolderOpenDotIcon:Iy,FolderOpenIcon:wy,FolderOutput:by,FolderOutputIcon:by,FolderPen:sn,FolderPenIcon:sn,FolderPlus:Tc,FolderPlusIcon:Tc,FolderRoot:Cy,FolderRootIcon:Cy,FolderSearch:Sy,FolderSearch2:Ny,FolderSearch2Icon:Ny,FolderSearchIcon:Sy,FolderSymlink:jy,FolderSymlinkIcon:jy,FolderSync:$y,FolderSyncIcon:$y,FolderTree:qy,FolderTreeIcon:qy,FolderUp:Ay,FolderUpIcon:Ay,FolderX:zy,FolderXIcon:zy,Folders:Vy,FoldersIcon:Vy,Footprints:Py,FootprintsIcon:Py,ForkKnife:pc,ForkKnifeCrossed:uc,ForkKnifeCrossedIcon:uc,ForkKnifeIcon:pc,Forklift:Ty,ForkliftIcon:Ty,FormInput:On,FormInputIcon:On,Forward:Hy,ForwardIcon:Hy,Frame:Dy,FrameIcon:Dy,Framer:By,FramerIcon:By,Frown:Ry,FrownIcon:Ry,Fuel:Fy,FuelIcon:Fy,Fullscreen:Ey,FullscreenIcon:Ey,FunctionSquare:No,FunctionSquareIcon:No,Funnel:vt,FunnelIcon:vt,FunnelPlus:Oy,FunnelPlusIcon:Oy,FunnelX:dn,FunnelXIcon:dn,GalleryHorizontal:Wy,GalleryHorizontalEnd:Uy,GalleryHorizontalEndIcon:Uy,GalleryHorizontalIcon:Wy,GalleryThumbnails:Gy,GalleryThumbnailsIcon:Gy,GalleryVertical:Ky,GalleryVerticalEnd:Zy,GalleryVerticalEndIcon:Zy,GalleryVerticalIcon:Ky,Gamepad:Yy,Gamepad2:Xy,Gamepad2Icon:Xy,GamepadIcon:Yy,GanttChart:ca,GanttChartIcon:ca,GanttChartSquare:ot,GanttChartSquareIcon:ot,Gauge:Jy,GaugeCircle:Ia,GaugeCircleIcon:Ia,GaugeIcon:Jy,Gavel:Qy,GavelIcon:Qy,Gem:e4,GemIcon:e4,GeorgianLari:t4,GeorgianLariIcon:t4,Ghost:a4,GhostIcon:a4,Gift:n4,GiftIcon:n4,GitBranch:c4,GitBranchIcon:c4,GitBranchPlus:o4,GitBranchPlusIcon:o4,GitCommit:ln,GitCommitHorizontal:ln,GitCommitHorizontalIcon:ln,GitCommitIcon:ln,GitCommitVertical:i4,GitCommitVerticalIcon:i4,GitCompare:s4,GitCompareArrows:r4,GitCompareArrowsIcon:r4,GitCompareIcon:s4,GitFork:d4,GitForkIcon:d4,GitGraph:l4,GitGraphIcon:l4,GitMerge:h4,GitMergeIcon:h4,GitPullRequest:f4,GitPullRequestArrow:u4,GitPullRequestArrowIcon:u4,GitPullRequestClosed:p4,GitPullRequestClosedIcon:p4,GitPullRequestCreate:k4,GitPullRequestCreateArrow:y4,GitPullRequestCreateArrowIcon:y4,GitPullRequestCreateIcon:k4,GitPullRequestDraft:m4,GitPullRequestDraftIcon:m4,GitPullRequestIcon:f4,Github:g4,GithubIcon:g4,Gitlab:v4,GitlabIcon:v4,GlassWater:M4,GlassWaterIcon:M4,Glasses:_4,GlassesIcon:_4,Globe:L4,Globe2:Wa,Globe2Icon:Wa,GlobeIcon:L4,GlobeLock:x4,GlobeLockIcon:x4,Goal:I4,GoalIcon:I4,Gpu:w4,GpuIcon:w4,Grab:kn,GrabIcon:kn,GraduationCap:b4,GraduationCapIcon:b4,Grape:C4,GrapeIcon:C4,Grid:nt,Grid2X2:yn,Grid2X2Check:hn,Grid2X2CheckIcon:hn,Grid2X2Icon:yn,Grid2X2Plus:un,Grid2X2PlusIcon:un,Grid2X2X:pn,Grid2X2XIcon:pn,Grid2x2:yn,Grid2x2Check:hn,Grid2x2CheckIcon:hn,Grid2x2Icon:yn,Grid2x2Plus:un,Grid2x2PlusIcon:un,Grid2x2X:pn,Grid2x2XIcon:pn,Grid3X3:nt,Grid3X3Icon:nt,Grid3x2:N4,Grid3x2Icon:N4,Grid3x3:nt,Grid3x3Icon:nt,GridIcon:nt,Grip:j4,GripHorizontal:S4,GripHorizontalIcon:S4,GripIcon:j4,GripVertical:l1,GripVerticalIcon:l1,Group:$4,GroupIcon:$4,Guitar:q4,GuitarIcon:q4,Ham:A4,HamIcon:A4,Hamburger:z4,HamburgerIcon:z4,Hammer:V4,HammerIcon:V4,Hand:R4,HandCoins:P4,HandCoinsIcon:P4,HandFist:T4,HandFistIcon:T4,HandGrab:kn,HandGrabIcon:kn,HandHeart:H4,HandHeartIcon:H4,HandHelping:mn,HandHelpingIcon:mn,HandIcon:R4,HandMetal:D4,HandMetalIcon:D4,HandPlatter:B4,HandPlatterIcon:B4,Handbag:F4,HandbagIcon:F4,Handshake:E4,HandshakeIcon:E4,HardDrive:W4,HardDriveDownload:O4,HardDriveDownloadIcon:O4,HardDriveIcon:W4,HardDriveUpload:U4,HardDriveUploadIcon:U4,HardHat:G4,HardHatIcon:G4,Hash:Z4,HashIcon:Z4,HatGlasses:K4,HatGlassesIcon:K4,Haze:X4,HazeIcon:X4,HdmiPort:Y4,HdmiPortIcon:Y4,Heading:o5,Heading1:J4,Heading1Icon:J4,Heading2:Q4,Heading2Icon:Q4,Heading3:e5,Heading3Icon:e5,Heading4:t5,Heading4Icon:t5,Heading5:a5,Heading5Icon:a5,Heading6:n5,Heading6Icon:n5,HeadingIcon:o5,HeadphoneOff:c5,HeadphoneOffIcon:c5,Headphones:i5,HeadphonesIcon:i5,Headset:r5,HeadsetIcon:r5,Heart:y5,HeartCrack:s5,HeartCrackIcon:s5,HeartHandshake:d5,HeartHandshakeIcon:d5,HeartIcon:y5,HeartMinus:l5,HeartMinusIcon:l5,HeartOff:h5,HeartOffIcon:h5,HeartPlus:u5,HeartPlusIcon:u5,HeartPulse:p5,HeartPulseIcon:p5,Heater:k5,HeaterIcon:k5,HelpCircle:tt,HelpCircleIcon:tt,HelpingHand:mn,HelpingHandIcon:mn,Hexagon:m5,HexagonIcon:m5,Highlighter:f5,HighlighterIcon:f5,History:g5,HistoryIcon:g5,Home:Mt,HomeIcon:Mt,Hop:M5,HopIcon:M5,HopOff:v5,HopOffIcon:v5,Hospital:h1,HospitalIcon:h1,Hotel:_5,HotelIcon:_5,Hourglass:x5,HourglassIcon:x5,House:Mt,HouseIcon:Mt,HousePlug:L5,HousePlugIcon:L5,HousePlus:w5,HousePlusIcon:w5,HouseWifi:I5,HouseWifiIcon:I5,IceCream:gn,IceCream2:fn,IceCream2Icon:fn,IceCreamBowl:fn,IceCreamBowlIcon:fn,IceCreamCone:gn,IceCreamConeIcon:gn,IceCreamIcon:gn,Icon:a.Icon,IdCard:C5,IdCardIcon:C5,IdCardLanyard:b5,IdCardLanyardIcon:b5,Image:V5,ImageDown:N5,ImageDownIcon:N5,ImageIcon:V5,ImageMinus:S5,ImageMinusIcon:S5,ImageOff:j5,ImageOffIcon:j5,ImagePlay:$5,ImagePlayIcon:$5,ImagePlus:q5,ImagePlusIcon:q5,ImageUp:A5,ImageUpIcon:A5,ImageUpscale:z5,ImageUpscaleIcon:z5,Images:P5,ImagesIcon:P5,Import:T5,ImportIcon:T5,Inbox:H5,InboxIcon:H5,Indent:Mn,IndentDecrease:vn,IndentDecreaseIcon:vn,IndentIcon:Mn,IndentIncrease:Mn,IndentIncreaseIcon:Mn,IndianRupee:D5,IndianRupeeIcon:D5,Infinity:B5,InfinityIcon:B5,Info:R5,InfoIcon:R5,Inspect:Vo,InspectIcon:Vo,InspectionPanel:F5,InspectionPanelIcon:F5,Instagram:E5,InstagramIcon:E5,Italic:O5,ItalicIcon:O5,IterationCcw:U5,IterationCcwIcon:U5,IterationCw:W5,IterationCwIcon:W5,JapaneseYen:Z5,JapaneseYenIcon:Z5,Joystick:G5,JoystickIcon:G5,Kanban:K5,KanbanIcon:K5,KanbanSquare:So,KanbanSquareDashed:xo,KanbanSquareDashedIcon:xo,KanbanSquareIcon:So,Kayak:X5,KayakIcon:X5,Key:Q5,KeyIcon:Q5,KeyRound:Y5,KeyRoundIcon:Y5,KeySquare:J5,KeySquareIcon:J5,Keyboard:ak,KeyboardIcon:ak,KeyboardMusic:ek,KeyboardMusicIcon:ek,KeyboardOff:tk,KeyboardOffIcon:tk,Lamp:sk,LampCeiling:nk,LampCeilingIcon:nk,LampDesk:ck,LampDeskIcon:ck,LampFloor:ok,LampFloorIcon:ok,LampIcon:sk,LampWallDown:ik,LampWallDownIcon:ik,LampWallUp:rk,LampWallUpIcon:rk,LandPlot:dk,LandPlotIcon:dk,Landmark:lk,LandmarkIcon:lk,Languages:hk,LanguagesIcon:hk,Laptop:pk,Laptop2:_n,Laptop2Icon:_n,LaptopIcon:pk,LaptopMinimal:_n,LaptopMinimalCheck:uk,LaptopMinimalCheckIcon:uk,LaptopMinimalIcon:_n,Lasso:kk,LassoIcon:kk,LassoSelect:yk,LassoSelectIcon:yk,Laugh:mk,LaughIcon:mk,Layers:xn,Layers2:fk,Layers2Icon:fk,Layers3:xn,Layers3Icon:xn,LayersIcon:xn,Layout:Fn,LayoutDashboard:gk,LayoutDashboardIcon:gk,LayoutGrid:vk,LayoutGridIcon:vk,LayoutIcon:Fn,LayoutList:Mk,LayoutListIcon:Mk,LayoutPanelLeft:_k,LayoutPanelLeftIcon:_k,LayoutPanelTop:xk,LayoutPanelTopIcon:xk,LayoutTemplate:Lk,LayoutTemplateIcon:Lk,Leaf:Ik,LeafIcon:Ik,LeafyGreen:bk,LeafyGreenIcon:bk,Lectern:wk,LecternIcon:wk,LetterText:Ck,LetterTextIcon:Ck,Library:Sk,LibraryBig:Nk,LibraryBigIcon:Nk,LibraryIcon:Sk,LibrarySquare:jo,LibrarySquareIcon:jo,LifeBuoy:jk,LifeBuoyIcon:jk,Ligature:$k,LigatureIcon:$k,Lightbulb:Ak,LightbulbIcon:Ak,LightbulbOff:qk,LightbulbOffIcon:qk,LineChart:aa,LineChartIcon:aa,LineSquiggle:zk,LineSquiggleIcon:zk,Link:Tk,Link2:Vk,Link2Icon:Vk,Link2Off:Pk,Link2OffIcon:Pk,LinkIcon:Tk,Linkedin:Hk,LinkedinIcon:Hk,List:t3,ListCheck:Dk,ListCheckIcon:Dk,ListChecks:Bk,ListChecksIcon:Bk,ListCollapse:Rk,ListCollapseIcon:Rk,ListEnd:Fk,ListEndIcon:Fk,ListFilter:Uk,ListFilterIcon:Uk,ListFilterPlus:Ek,ListFilterPlusIcon:Ek,ListIcon:t3,ListMinus:Ok,ListMinusIcon:Ok,ListMusic:Wk,ListMusicIcon:Wk,ListOrdered:Gk,ListOrderedIcon:Gk,ListPlus:Zk,ListPlusIcon:Zk,ListRestart:Kk,ListRestartIcon:Kk,ListStart:Xk,ListStartIcon:Xk,ListTodo:Yk,ListTodoIcon:Yk,ListTree:Jk,ListTreeIcon:Jk,ListVideo:Qk,ListVideoIcon:Qk,ListX:e3,ListXIcon:e3,Loader:n3,Loader2:Ln,Loader2Icon:Ln,LoaderCircle:Ln,LoaderCircleIcon:Ln,LoaderIcon:n3,LoaderPinwheel:a3,LoaderPinwheelIcon:a3,Locate:i3,LocateFixed:o3,LocateFixedIcon:o3,LocateIcon:i3,LocateOff:c3,LocateOffIcon:c3,LocationEdit:Cn,LocationEditIcon:Cn,Lock:s3,LockIcon:s3,LockKeyhole:r3,LockKeyholeIcon:r3,LockKeyholeOpen:In,LockKeyholeOpenIcon:In,LockOpen:wn,LockOpenIcon:wn,LogIn:d3,LogInIcon:d3,LogOut:l3,LogOutIcon:l3,Logs:h3,LogsIcon:h3,Lollipop:u3,LollipopIcon:u3,LucideAArrowDown:R1,LucideAArrowUp:F1,LucideALargeSmall:E1,LucideAccessibility:a1,LucideActivity:n1,LucideActivitySquare:_t,LucideAirVent:O1,LucideAirplay:U1,LucideAlarmCheck:qt,LucideAlarmClock:G1,LucideAlarmClockCheck:qt,LucideAlarmClockMinus:At,LucideAlarmClockOff:W1,LucideAlarmClockPlus:zt,LucideAlarmMinus:At,LucideAlarmPlus:zt,LucideAlarmSmoke:Z1,LucideAlbum:K1,LucideAlertCircle:sa,LucideAlertOctagon:$n,LucideAlertTriangle:ac,LucideAlignCenter:ti,LucideAlignCenterHorizontal:X1,LucideAlignCenterVertical:Y1,LucideAlignEndHorizontal:J1,LucideAlignEndVertical:Q1,LucideAlignHorizontalDistributeCenter:ei,LucideAlignHorizontalDistributeEnd:ai,LucideAlignHorizontalDistributeStart:ni,LucideAlignHorizontalJustifyCenter:oi,LucideAlignHorizontalJustifyEnd:ci,LucideAlignHorizontalJustifyStart:ii,LucideAlignHorizontalSpaceAround:ri,LucideAlignHorizontalSpaceBetween:di,LucideAlignJustify:si,LucideAlignLeft:li,LucideAlignRight:hi,LucideAlignStartHorizontal:ui,LucideAlignStartVertical:pi,LucideAlignVerticalDistributeCenter:ki,LucideAlignVerticalDistributeEnd:yi,LucideAlignVerticalDistributeStart:fi,LucideAlignVerticalJustifyCenter:mi,LucideAlignVerticalJustifyEnd:gi,LucideAlignVerticalJustifyStart:vi,LucideAlignVerticalSpaceAround:_i,LucideAlignVerticalSpaceBetween:Mi,LucideAmbulance:xi,LucideAmpersand:Li,LucideAmpersands:Ii,LucideAmphora:wi,LucideAnchor:bi,LucideAngry:Ci,LucideAnnoyed:Ni,LucideAntenna:Si,LucideAnvil:ji,LucideAperture:$i,LucideAppWindow:Ai,LucideAppWindowMac:qi,LucideApple:zi,LucideArchive:Ti,LucideArchiveRestore:Vi,LucideArchiveX:Pi,LucideAreaChart:Kt,LucideArmchair:Hi,LucideArrowBigDown:Bi,LucideArrowBigDownDash:Di,LucideArrowBigLeft:Fi,LucideArrowBigLeftDash:Ri,LucideArrowBigRight:Oi,LucideArrowBigRightDash:Ei,LucideArrowBigUp:Wi,LucideArrowBigUpDash:Ui,LucideArrowDown:ar,LucideArrowDown01:Gi,LucideArrowDown10:Zi,LucideArrowDownAZ:Vt,LucideArrowDownAz:Vt,LucideArrowDownCircle:da,LucideArrowDownFromLine:Ki,LucideArrowDownLeft:Xi,LucideArrowDownLeftFromCircle:ha,LucideArrowDownLeftFromSquare:oo,LucideArrowDownLeftSquare:eo,LucideArrowDownNarrowWide:Yi,LucideArrowDownRight:Ji,LucideArrowDownRightFromCircle:ua,LucideArrowDownRightFromSquare:co,LucideArrowDownRightSquare:to,LucideArrowDownSquare:ao,LucideArrowDownToDot:Qi,LucideArrowDownToLine:er,LucideArrowDownUp:tr,LucideArrowDownWideNarrow:Pt,LucideArrowDownZA:Tt,LucideArrowDownZa:Tt,LucideArrowLeft:ir,LucideArrowLeftCircle:la,LucideArrowLeftFromLine:nr,LucideArrowLeftRight:or,LucideArrowLeftSquare:no,LucideArrowLeftToLine:cr,LucideArrowRight:lr,LucideArrowRightCircle:ka,LucideArrowRightFromLine:rr,LucideArrowRightLeft:sr,LucideArrowRightSquare:so,LucideArrowRightToLine:dr,LucideArrowUp:Mr,LucideArrowUp01:hr,LucideArrowUp10:ur,LucideArrowUpAZ:Ht,LucideArrowUpAz:Ht,LucideArrowUpCircle:ma,LucideArrowUpDown:pr,LucideArrowUpFromDot:yr,LucideArrowUpFromLine:kr,LucideArrowUpLeft:mr,LucideArrowUpLeftFromCircle:pa,LucideArrowUpLeftFromSquare:io,LucideArrowUpLeftSquare:lo,LucideArrowUpNarrowWide:Dt,LucideArrowUpRight:fr,LucideArrowUpRightFromCircle:ya,LucideArrowUpRightFromSquare:ro,LucideArrowUpRightSquare:ho,LucideArrowUpSquare:uo,LucideArrowUpToLine:gr,LucideArrowUpWideNarrow:vr,LucideArrowUpZA:Bt,LucideArrowUpZa:Bt,LucideArrowsUpFromLine:_r,LucideAsterisk:xr,LucideAsteriskSquare:po,LucideAtSign:Lr,LucideAtom:Ir,LucideAudioLines:wr,LucideAudioWaveform:br,LucideAward:Cr,LucideAxe:Nr,LucideAxis3D:Rt,LucideAxis3d:Rt,LucideBaby:Sr,LucideBackpack:jr,LucideBadge:Wr,LucideBadgeAlert:$r,LucideBadgeCent:qr,LucideBadgeCheck:Ft,LucideBadgeDollarSign:Ar,LucideBadgeEuro:zr,LucideBadgeHelp:Et,LucideBadgeIndianRupee:Vr,LucideBadgeInfo:Pr,LucideBadgeJapaneseYen:Hr,LucideBadgeMinus:Tr,LucideBadgePercent:Dr,LucideBadgePlus:Br,LucideBadgePoundSterling:Rr,LucideBadgeQuestionMark:Et,LucideBadgeRussianRuble:Fr,LucideBadgeSwissFranc:Er,LucideBadgeTurkishLira:Or,LucideBadgeX:Ur,LucideBaggageClaim:Gr,LucideBan:Zr,LucideBanana:Kr,LucideBandage:Xr,LucideBanknote:es,LucideBanknoteArrowDown:Yr,LucideBanknoteArrowUp:Jr,LucideBanknoteX:Qr,LucideBarChart:na,LucideBarChart2:oa,LucideBarChart3:ta,LucideBarChart4:ea,LucideBarChartBig:Qt,LucideBarChartHorizontal:Yt,LucideBarChartHorizontalBig:Xt,LucideBarcode:ts,LucideBarrel:as,LucideBaseline:ns,LucideBath:os,LucideBattery:hs,LucideBatteryCharging:cs,LucideBatteryFull:is,LucideBatteryLow:rs,LucideBatteryMedium:ss,LucideBatteryPlus:ds,LucideBatteryWarning:ls,LucideBeaker:us,LucideBean:ys,LucideBeanOff:ps,LucideBed:fs,LucideBedDouble:ks,LucideBedSingle:ms,LucideBeef:gs,LucideBeer:Ms,LucideBeerOff:vs,LucideBell:bs,LucideBellDot:_s,LucideBellElectric:xs,LucideBellMinus:Ls,LucideBellOff:Is,LucideBellPlus:ws,LucideBellRing:Cs,LucideBetweenHorizonalEnd:Ot,LucideBetweenHorizonalStart:Ut,LucideBetweenHorizontalEnd:Ot,LucideBetweenHorizontalStart:Ut,LucideBetweenVerticalEnd:Ss,LucideBetweenVerticalStart:Ns,LucideBicepsFlexed:js,LucideBike:qs,LucideBinary:$s,LucideBinoculars:As,LucideBiohazard:zs,LucideBird:Vs,LucideBitcoin:Ps,LucideBlend:Ts,LucideBlinds:Hs,LucideBlocks:Ds,LucideBluetooth:Es,LucideBluetoothConnected:Bs,LucideBluetoothOff:Rs,LucideBluetoothSearching:Fs,LucideBold:Os,LucideBolt:Us,LucideBomb:Ws,LucideBone:Gs,LucideBook:f2,LucideBookA:Zs,LucideBookAlert:Ks,LucideBookAudio:Xs,LucideBookCheck:Ys,LucideBookCopy:Js,LucideBookDashed:Wt,LucideBookDown:Qs,LucideBookHeadphones:e2,LucideBookHeart:t2,LucideBookImage:a2,LucideBookKey:n2,LucideBookLock:o2,LucideBookMarked:i2,LucideBookMinus:c2,LucideBookOpen:d2,LucideBookOpenCheck:r2,LucideBookOpenText:s2,LucideBookPlus:l2,LucideBookTemplate:Wt,LucideBookText:h2,LucideBookType:u2,LucideBookUp:y2,LucideBookUp2:p2,LucideBookUser:k2,LucideBookX:m2,LucideBookmark:x2,LucideBookmarkCheck:g2,LucideBookmarkMinus:v2,LucideBookmarkPlus:M2,LucideBookmarkX:_2,LucideBoomBox:L2,LucideBot:b2,LucideBotMessageSquare:I2,LucideBotOff:w2,LucideBottleWine:C2,LucideBowArrow:N2,LucideBox:S2,LucideBoxSelect:Io,LucideBoxes:j2,LucideBraces:Gt,LucideBrackets:$2,LucideBrain:z2,LucideBrainCircuit:q2,LucideBrainCog:A2,LucideBrickWall:T2,LucideBrickWallFire:V2,LucideBrickWallShield:P2,LucideBriefcase:R2,LucideBriefcaseBusiness:H2,LucideBriefcaseConveyorBelt:D2,LucideBriefcaseMedical:B2,LucideBringToFront:F2,LucideBrush:O2,LucideBrushCleaning:E2,LucideBubbles:U2,LucideBug:K2,LucideBugOff:W2,LucideBugPlay:G2,LucideBuilding:X2,LucideBuilding2:Z2,LucideBus:J2,LucideBusFront:Y2,LucideCable:ed,LucideCableCar:Q2,LucideCake:ad,LucideCakeSlice:td,LucideCalculator:nd,LucideCalendar:o1,LucideCalendar1:od,LucideCalendarArrowDown:cd,LucideCalendarArrowUp:id,LucideCalendarCheck:sd,LucideCalendarCheck2:rd,LucideCalendarClock:dd,LucideCalendarCog:ld,LucideCalendarDays:hd,LucideCalendarFold:ud,LucideCalendarHeart:pd,LucideCalendarMinus:kd,LucideCalendarMinus2:yd,LucideCalendarOff:md,LucideCalendarPlus:gd,LucideCalendarPlus2:fd,LucideCalendarRange:vd,LucideCalendarSearch:Md,LucideCalendarSync:_d,LucideCalendarX:Ld,LucideCalendarX2:xd,LucideCamera:wd,LucideCameraOff:Id,LucideCandlestickChart:Jt,LucideCandy:Nd,LucideCandyCane:bd,LucideCandyOff:Cd,LucideCannabis:Sd,LucideCaptions:Zt,LucideCaptionsOff:jd,LucideCar:Ad,LucideCarFront:$d,LucideCarTaxiFront:qd,LucideCaravan:zd,LucideCardSim:Vd,LucideCarrot:Pd,LucideCaseLower:Td,LucideCaseSensitive:Hd,LucideCaseUpper:Dd,LucideCassetteTape:Bd,LucideCast:Rd,LucideCastle:Ed,LucideCat:Fd,LucideCctv:Od,LucideChartArea:Kt,LucideChartBar:Yt,LucideChartBarBig:Xt,LucideChartBarDecreasing:Ud,LucideChartBarIncreasing:Wd,LucideChartBarStacked:Gd,LucideChartCandlestick:Jt,LucideChartColumn:ta,LucideChartColumnBig:Qt,LucideChartColumnDecreasing:Zd,LucideChartColumnIncreasing:ea,LucideChartColumnStacked:Kd,LucideChartGantt:Xd,LucideChartLine:aa,LucideChartNetwork:Yd,LucideChartNoAxesColumn:oa,LucideChartNoAxesColumnDecreasing:Jd,LucideChartNoAxesColumnIncreasing:na,LucideChartNoAxesCombined:Qd,LucideChartNoAxesGantt:ca,LucideChartPie:ia,LucideChartScatter:ra,LucideChartSpline:e0,LucideCheck:c1,LucideCheckCheck:t0,LucideCheckCircle:fa,LucideCheckCircle2:ga,LucideCheckLine:a0,LucideCheckSquare:ko,LucideCheckSquare2:mo,LucideChefHat:n0,LucideCherry:o0,LucideChevronDown:wt,LucideChevronDownCircle:va,LucideChevronDownSquare:fo,LucideChevronFirst:c0,LucideChevronLast:i0,LucideChevronLeft:r0,LucideChevronLeftCircle:Ma,LucideChevronLeftSquare:go,LucideChevronRight:i1,LucideChevronRightCircle:_a,LucideChevronRightSquare:vo,LucideChevronUp:Mc,LucideChevronUpCircle:xa,LucideChevronUpSquare:Mo,LucideChevronsDown:d0,LucideChevronsDownUp:s0,LucideChevronsLeft:h0,LucideChevronsLeftRight:l0,LucideChevronsLeftRightEllipsis:u0,LucideChevronsRight:y0,LucideChevronsRightLeft:p0,LucideChevronsUp:k0,LucideChevronsUpDown:Pc,LucideChrome:m0,LucideChurch:f0,LucideCigarette:v0,LucideCigaretteOff:g0,LucideCircle:A0,LucideCircleAlert:sa,LucideCircleArrowDown:da,LucideCircleArrowLeft:la,LucideCircleArrowOutDownLeft:ha,LucideCircleArrowOutDownRight:ua,LucideCircleArrowOutUpLeft:pa,LucideCircleArrowOutUpRight:ya,LucideCircleArrowRight:ka,LucideCircleArrowUp:ma,LucideCircleCheck:ga,LucideCircleCheckBig:fa,LucideCircleChevronDown:va,LucideCircleChevronLeft:Ma,LucideCircleChevronRight:_a,LucideCircleChevronUp:xa,LucideCircleDashed:M0,LucideCircleDivide:La,LucideCircleDollarSign:x0,LucideCircleDot:L0,LucideCircleDotDashed:_0,LucideCircleEllipsis:I0,LucideCircleEqual:w0,LucideCircleFadingArrowUp:C0,LucideCircleFadingPlus:b0,LucideCircleGauge:Ia,LucideCircleHelp:tt,LucideCircleMinus:wa,LucideCircleOff:N0,LucideCircleParking:Na,LucideCircleParkingOff:ba,LucideCirclePause:Ca,LucideCirclePercent:Sa,LucideCirclePlay:ja,LucideCirclePlus:$a,LucideCirclePoundSterling:S0,LucideCirclePower:qa,LucideCircleQuestionMark:tt,LucideCircleSlash:j0,LucideCircleSlash2:Aa,LucideCircleSlashed:Aa,LucideCircleSmall:$0,LucideCircleStar:q0,LucideCircleStop:za,LucideCircleUser:Pa,LucideCircleUserRound:Va,LucideCircleX:gt,LucideCircuitBoard:z0,LucideCitrus:V0,LucideClapperboard:P0,LucideClipboard:W0,LucideClipboardCheck:T0,LucideClipboardClock:H0,LucideClipboardCopy:D0,LucideClipboardEdit:Ha,LucideClipboardList:B0,LucideClipboardMinus:R0,LucideClipboardPaste:F0,LucideClipboardPen:Ha,LucideClipboardPenLine:Ta,LucideClipboardPlus:E0,LucideClipboardSignature:Ta,LucideClipboardType:O0,LucideClipboardX:U0,LucideClock:ll,LucideClock1:Z0,LucideClock10:G0,LucideClock11:K0,LucideClock12:X0,LucideClock2:Y0,LucideClock3:J0,LucideClock4:Q0,LucideClock5:el,LucideClock6:tl,LucideClock7:al,LucideClock8:nl,LucideClock9:ol,LucideClockAlert:cl,LucideClockArrowDown:il,LucideClockArrowUp:rl,LucideClockFading:sl,LucideClockPlus:dl,LucideClosedCaption:hl,LucideCloud:Cl,LucideCloudAlert:ul,LucideCloudCheck:pl,LucideCloudCog:yl,LucideCloudDownload:Da,LucideCloudDrizzle:kl,LucideCloudFog:ml,LucideCloudHail:fl,LucideCloudLightning:gl,LucideCloudMoon:Ml,LucideCloudMoonRain:vl,LucideCloudOff:_l,LucideCloudRain:Ll,LucideCloudRainWind:xl,LucideCloudSnow:Il,LucideCloudSun:bl,LucideCloudSunRain:wl,LucideCloudUpload:Ba,LucideCloudy:Nl,LucideClover:Sl,LucideClub:jl,LucideCode:$l,LucideCode2:Ra,LucideCodeSquare:_o,LucideCodeXml:Ra,LucideCodepen:ql,LucideCodesandbox:Al,LucideCoffee:zl,LucideCog:Vl,LucideCoins:Pl,LucideColumns:Fa,LucideColumns2:Fa,LucideColumns3:Ea,LucideColumns3Cog:at,LucideColumns4:Tl,LucideColumnsSettings:at,LucideCombine:Hl,LucideCommand:Dl,LucideCompass:Bl,LucideComponent:Rl,LucideComputer:Fl,LucideConciergeBell:El,LucideCone:Ol,LucideConstruction:Ul,LucideContact:Wl,LucideContact2:Oa,LucideContactRound:Oa,LucideContainer:Gl,LucideContrast:Kl,LucideCookie:Zl,LucideCookingPot:Yl,LucideCopy:ah,LucideCopyCheck:Xl,LucideCopyMinus:Jl,LucideCopyPlus:Ql,LucideCopySlash:eh,LucideCopyX:th,LucideCopyleft:nh,LucideCopyright:oh,LucideCornerDownLeft:ch,LucideCornerDownRight:ih,LucideCornerLeftDown:rh,LucideCornerLeftUp:sh,LucideCornerRightDown:dh,LucideCornerRightUp:lh,LucideCornerUpLeft:hh,LucideCornerUpRight:uh,LucideCpu:ph,LucideCreativeCommons:yh,LucideCreditCard:kh,LucideCroissant:mh,LucideCrop:fh,LucideCross:gh,LucideCrosshair:vh,LucideCrown:Mh,LucideCuboid:_h,LucideCupSoda:xh,LucideCurlyBraces:Gt,LucideCurrency:Lh,LucideCylinder:Ih,LucideDam:wh,LucideDatabase:Nh,LucideDatabaseBackup:bh,LucideDatabaseZap:Ch,LucideDecimalsArrowLeft:Sh,LucideDecimalsArrowRight:jh,LucideDelete:$h,LucideDessert:qh,LucideDiameter:Ah,LucideDiamond:Ph,LucideDiamondMinus:zh,LucideDiamondPercent:Ua,LucideDiamondPlus:Vh,LucideDice1:Th,LucideDice2:Hh,LucideDice3:Dh,LucideDice4:Bh,LucideDice5:Rh,LucideDice6:Fh,LucideDices:Eh,LucideDiff:Oh,LucideDisc:Zh,LucideDisc2:Uh,LucideDisc3:Wh,LucideDiscAlbum:Gh,LucideDivide:Kh,LucideDivideCircle:La,LucideDivideSquare:wo,LucideDna:Yh,LucideDnaOff:Xh,LucideDock:Jh,LucideDog:Qh,LucideDollarSign:eu,LucideDonut:tu,LucideDoorClosed:nu,LucideDoorClosedLocked:au,LucideDoorOpen:ou,LucideDot:cu,LucideDotSquare:Co,LucideDownload:ru,LucideDownloadCloud:Da,LucideDraftingCompass:iu,LucideDrama:su,LucideDribbble:du,LucideDrill:lu,LucideDrone:hu,LucideDroplet:pu,LucideDropletOff:uu,LucideDroplets:yu,LucideDrum:ku,LucideDrumstick:mu,LucideDumbbell:fu,LucideEar:vu,LucideEarOff:gu,LucideEarth:Wa,LucideEarthLock:Mu,LucideEclipse:_u,LucideEdit:Te,LucideEdit2:lt,LucideEdit3:dt,LucideEgg:Iu,LucideEggFried:xu,LucideEggOff:Lu,LucideEllipsis:Za,LucideEllipsisVertical:Ga,LucideEqual:Cu,LucideEqualApproximately:wu,LucideEqualNot:bu,LucideEqualSquare:bo,LucideEraser:Nu,LucideEthernetPort:Su,LucideEuro:ju,LucideExpand:qu,LucideExternalLink:$u,LucideEye:s1,LucideEyeClosed:Au,LucideEyeOff:r1,LucideFacebook:zu,LucideFactory:Vu,LucideFan:Pu,LucideFastForward:Tu,LucideFeather:Hu,LucideFence:Du,LucideFerrisWheel:Bu,LucideFigma:Ru,LucideFile:Vp,LucideFileArchive:Fu,LucideFileAudio:Ou,LucideFileAudio2:Eu,LucideFileAxis3D:Ka,LucideFileAxis3d:Ka,LucideFileBadge:Gu,LucideFileBadge2:Uu,LucideFileBarChart:Xa,LucideFileBarChart2:Ya,LucideFileBox:Wu,LucideFileChartColumn:Ya,LucideFileChartColumnIncreasing:Xa,LucideFileChartLine:Ja,LucideFileChartPie:Qa,LucideFileCheck:Ku,LucideFileCheck2:Zu,LucideFileClock:Xu,LucideFileCode:Yu,LucideFileCode2:Ju,LucideFileCog:en,LucideFileCog2:en,LucideFileDiff:Qu,LucideFileDigit:ep,LucideFileDown:tp,LucideFileEdit:an,LucideFileHeart:ap,LucideFileImage:np,LucideFileInput:op,LucideFileJson:ip,LucideFileJson2:cp,LucideFileKey:sp,LucideFileKey2:rp,LucideFileLineChart:Ja,LucideFileLock:lp,LucideFileLock2:dp,LucideFileMinus:up,LucideFileMinus2:hp,LucideFileMusic:pp,LucideFileOutput:yp,LucideFilePen:an,LucideFilePenLine:tn,LucideFilePieChart:Qa,LucideFilePlay:nn,LucideFilePlus:mp,LucideFilePlus2:kp,LucideFileQuestion:on,LucideFileQuestionMark:on,LucideFileScan:fp,LucideFileSearch:vp,LucideFileSearch2:gp,LucideFileSignature:tn,LucideFileSliders:Mp,LucideFileSpreadsheet:_p,LucideFileStack:xp,LucideFileSymlink:Lp,LucideFileTerminal:Ip,LucideFileText:wp,LucideFileType:Cp,LucideFileType2:bp,LucideFileUp:Np,LucideFileUser:Sp,LucideFileVideo:nn,LucideFileVideo2:cn,LucideFileVideoCamera:cn,LucideFileVolume:$p,LucideFileVolume2:jp,LucideFileWarning:qp,LucideFileX:zp,LucideFileX2:Ap,LucideFiles:Pp,LucideFilm:Tp,LucideFilter:vt,LucideFilterX:dn,LucideFingerprint:Hp,LucideFireExtinguisher:Dp,LucideFish:Rp,LucideFishOff:Bp,LucideFishSymbol:Fp,LucideFlag:Wp,LucideFlagOff:Ep,LucideFlagTriangleLeft:Op,LucideFlagTriangleRight:Up,LucideFlame:Zp,LucideFlameKindling:Gp,LucideFlashlight:Xp,LucideFlashlightOff:Kp,LucideFlaskConical:Jp,LucideFlaskConicalOff:Yp,LucideFlaskRound:Qp,LucideFlipHorizontal:ty,LucideFlipHorizontal2:ey,LucideFlipVertical:ny,LucideFlipVertical2:ay,LucideFlower:cy,LucideFlower2:oy,LucideFocus:iy,LucideFoldHorizontal:ry,LucideFoldVertical:sy,LucideFolder:d1,LucideFolderArchive:dy,LucideFolderCheck:ly,LucideFolderClock:hy,LucideFolderClosed:uy,LucideFolderCode:py,LucideFolderCog:rn,LucideFolderCog2:rn,LucideFolderDot:yy,LucideFolderDown:ky,LucideFolderEdit:sn,LucideFolderGit:fy,LucideFolderGit2:my,LucideFolderHeart:gy,LucideFolderInput:vy,LucideFolderKanban:My,LucideFolderKey:_y,LucideFolderLock:xy,LucideFolderMinus:Ly,LucideFolderOpen:wy,LucideFolderOpenDot:Iy,LucideFolderOutput:by,LucideFolderPen:sn,LucideFolderPlus:Tc,LucideFolderRoot:Cy,LucideFolderSearch:Sy,LucideFolderSearch2:Ny,LucideFolderSymlink:jy,LucideFolderSync:$y,LucideFolderTree:qy,LucideFolderUp:Ay,LucideFolderX:zy,LucideFolders:Vy,LucideFootprints:Py,LucideForkKnife:pc,LucideForkKnifeCrossed:uc,LucideForklift:Ty,LucideFormInput:On,LucideForward:Hy,LucideFrame:Dy,LucideFramer:By,LucideFrown:Ry,LucideFuel:Fy,LucideFullscreen:Ey,LucideFunctionSquare:No,LucideFunnel:vt,LucideFunnelPlus:Oy,LucideFunnelX:dn,LucideGalleryHorizontal:Wy,LucideGalleryHorizontalEnd:Uy,LucideGalleryThumbnails:Gy,LucideGalleryVertical:Ky,LucideGalleryVerticalEnd:Zy,LucideGamepad:Yy,LucideGamepad2:Xy,LucideGanttChart:ca,LucideGanttChartSquare:ot,LucideGauge:Jy,LucideGaugeCircle:Ia,LucideGavel:Qy,LucideGem:e4,LucideGeorgianLari:t4,LucideGhost:a4,LucideGift:n4,LucideGitBranch:c4,LucideGitBranchPlus:o4,LucideGitCommit:ln,LucideGitCommitHorizontal:ln,LucideGitCommitVertical:i4,LucideGitCompare:s4,LucideGitCompareArrows:r4,LucideGitFork:d4,LucideGitGraph:l4,LucideGitMerge:h4,LucideGitPullRequest:f4,LucideGitPullRequestArrow:u4,LucideGitPullRequestClosed:p4,LucideGitPullRequestCreate:k4,LucideGitPullRequestCreateArrow:y4,LucideGitPullRequestDraft:m4,LucideGithub:g4,LucideGitlab:v4,LucideGlassWater:M4,LucideGlasses:_4,LucideGlobe:L4,LucideGlobe2:Wa,LucideGlobeLock:x4,LucideGoal:I4,LucideGpu:w4,LucideGrab:kn,LucideGraduationCap:b4,LucideGrape:C4,LucideGrid:nt,LucideGrid2X2:yn,LucideGrid2X2Check:hn,LucideGrid2X2Plus:un,LucideGrid2X2X:pn,LucideGrid2x2:yn,LucideGrid2x2Check:hn,LucideGrid2x2Plus:un,LucideGrid2x2X:pn,LucideGrid3X3:nt,LucideGrid3x2:N4,LucideGrid3x3:nt,LucideGrip:j4,LucideGripHorizontal:S4,LucideGripVertical:l1,LucideGroup:$4,LucideGuitar:q4,LucideHam:A4,LucideHamburger:z4,LucideHammer:V4,LucideHand:R4,LucideHandCoins:P4,LucideHandFist:T4,LucideHandGrab:kn,LucideHandHeart:H4,LucideHandHelping:mn,LucideHandMetal:D4,LucideHandPlatter:B4,LucideHandbag:F4,LucideHandshake:E4,LucideHardDrive:W4,LucideHardDriveDownload:O4,LucideHardDriveUpload:U4,LucideHardHat:G4,LucideHash:Z4,LucideHatGlasses:K4,LucideHaze:X4,LucideHdmiPort:Y4,LucideHeading:o5,LucideHeading1:J4,LucideHeading2:Q4,LucideHeading3:e5,LucideHeading4:t5,LucideHeading5:a5,LucideHeading6:n5,LucideHeadphoneOff:c5,LucideHeadphones:i5,LucideHeadset:r5,LucideHeart:y5,LucideHeartCrack:s5,LucideHeartHandshake:d5,LucideHeartMinus:l5,LucideHeartOff:h5,LucideHeartPlus:u5,LucideHeartPulse:p5,LucideHeater:k5,LucideHelpCircle:tt,LucideHelpingHand:mn,LucideHexagon:m5,LucideHighlighter:f5,LucideHistory:g5,LucideHome:Mt,LucideHop:M5,LucideHopOff:v5,LucideHospital:h1,LucideHotel:_5,LucideHourglass:x5,LucideHouse:Mt,LucideHousePlug:L5,LucideHousePlus:w5,LucideHouseWifi:I5,LucideIceCream:gn,LucideIceCream2:fn,LucideIceCreamBowl:fn,LucideIceCreamCone:gn,LucideIdCard:C5,LucideIdCardLanyard:b5,LucideImage:V5,LucideImageDown:N5,LucideImageMinus:S5,LucideImageOff:j5,LucideImagePlay:$5,LucideImagePlus:q5,LucideImageUp:A5,LucideImageUpscale:z5,LucideImages:P5,LucideImport:T5,LucideInbox:H5,LucideIndent:Mn,LucideIndentDecrease:vn,LucideIndentIncrease:Mn,LucideIndianRupee:D5,LucideInfinity:B5,LucideInfo:R5,LucideInspect:Vo,LucideInspectionPanel:F5,LucideInstagram:E5,LucideItalic:O5,LucideIterationCcw:U5,LucideIterationCw:W5,LucideJapaneseYen:Z5,LucideJoystick:G5,LucideKanban:K5,LucideKanbanSquare:So,LucideKanbanSquareDashed:xo,LucideKayak:X5,LucideKey:Q5,LucideKeyRound:Y5,LucideKeySquare:J5,LucideKeyboard:ak,LucideKeyboardMusic:ek,LucideKeyboardOff:tk,LucideLamp:sk,LucideLampCeiling:nk,LucideLampDesk:ck,LucideLampFloor:ok,LucideLampWallDown:ik,LucideLampWallUp:rk,LucideLandPlot:dk,LucideLandmark:lk,LucideLanguages:hk,LucideLaptop:pk,LucideLaptop2:_n,LucideLaptopMinimal:_n,LucideLaptopMinimalCheck:uk,LucideLasso:kk,LucideLassoSelect:yk,LucideLaugh:mk,LucideLayers:xn,LucideLayers2:fk,LucideLayers3:xn,LucideLayout:Fn,LucideLayoutDashboard:gk,LucideLayoutGrid:vk,LucideLayoutList:Mk,LucideLayoutPanelLeft:_k,LucideLayoutPanelTop:xk,LucideLayoutTemplate:Lk,LucideLeaf:Ik,LucideLeafyGreen:bk,LucideLectern:wk,LucideLetterText:Ck,LucideLibrary:Sk,LucideLibraryBig:Nk,LucideLibrarySquare:jo,LucideLifeBuoy:jk,LucideLigature:$k,LucideLightbulb:Ak,LucideLightbulbOff:qk,LucideLineChart:aa,LucideLineSquiggle:zk,LucideLink:Tk,LucideLink2:Vk,LucideLink2Off:Pk,LucideLinkedin:Hk,LucideList:t3,LucideListCheck:Dk,LucideListChecks:Bk,LucideListCollapse:Rk,LucideListEnd:Fk,LucideListFilter:Uk,LucideListFilterPlus:Ek,LucideListMinus:Ok,LucideListMusic:Wk,LucideListOrdered:Gk,LucideListPlus:Zk,LucideListRestart:Kk,LucideListStart:Xk,LucideListTodo:Yk,LucideListTree:Jk,LucideListVideo:Qk,LucideListX:e3,LucideLoader:n3,LucideLoader2:Ln,LucideLoaderCircle:Ln,LucideLoaderPinwheel:a3,LucideLocate:i3,LucideLocateFixed:o3,LucideLocateOff:c3,LucideLocationEdit:Cn,LucideLock:s3,LucideLockKeyhole:r3,LucideLockKeyholeOpen:In,LucideLockOpen:wn,LucideLogIn:d3,LucideLogOut:l3,LucideLogs:h3,LucideLollipop:u3,LucideLuggage:p3,LucideMSquare:$o,LucideMagnet:y3,LucideMail:_3,LucideMailCheck:k3,LucideMailMinus:m3,LucideMailOpen:f3,LucideMailPlus:g3,LucideMailQuestion:bn,LucideMailQuestionMark:bn,LucideMailSearch:v3,LucideMailWarning:M3,LucideMailX:x3,LucideMailbox:L3,LucideMails:I3,LucideMap:D3,LucideMapMinus:w3,LucideMapPin:P3,LucideMapPinCheck:b3,LucideMapPinCheckInside:C3,LucideMapPinHouse:N3,LucideMapPinMinus:j3,LucideMapPinMinusInside:S3,LucideMapPinOff:$3,LucideMapPinPen:Cn,LucideMapPinPlus:A3,LucideMapPinPlusInside:q3,LucideMapPinX:V3,LucideMapPinXInside:z3,LucideMapPinned:T3,LucideMapPlus:H3,LucideMars:R3,LucideMarsStroke:B3,LucideMartini:F3,LucideMaximize:U3,LucideMaximize2:E3,LucideMedal:O3,LucideMegaphone:G3,LucideMegaphoneOff:W3,LucideMeh:Z3,LucideMemoryStick:K3,LucideMenu:Hc,LucideMenuSquare:qo,LucideMerge:X3,LucideMessageCircle:im,LucideMessageCircleCode:Y3,LucideMessageCircleDashed:J3,LucideMessageCircleHeart:Q3,LucideMessageCircleMore:em,LucideMessageCircleOff:tm,LucideMessageCirclePlus:am,LucideMessageCircleQuestion:Nn,LucideMessageCircleQuestionMark:Nn,LucideMessageCircleReply:nm,LucideMessageCircleWarning:om,LucideMessageCircleX:cm,LucideMessageSquare:xm,LucideMessageSquareCode:rm,LucideMessageSquareDashed:sm,LucideMessageSquareDiff:dm,LucideMessageSquareDot:lm,LucideMessageSquareHeart:hm,LucideMessageSquareLock:um,LucideMessageSquareMore:pm,LucideMessageSquareOff:ym,LucideMessageSquarePlus:km,LucideMessageSquareQuote:mm,LucideMessageSquareReply:fm,LucideMessageSquareShare:gm,LucideMessageSquareText:vm,LucideMessageSquareWarning:Mm,LucideMessageSquareX:_m,LucideMessagesSquare:Lm,LucideMic:wm,LucideMic2:Sn,LucideMicOff:Im,LucideMicVocal:Sn,LucideMicrochip:bm,LucideMicroscope:Cm,LucideMicrowave:Nm,LucideMilestone:Sm,LucideMilk:$m,LucideMilkOff:jm,LucideMinimize:Am,LucideMinimize2:qm,LucideMinus:zm,LucideMinusCircle:wa,LucideMinusSquare:Ao,LucideMonitor:Gm,LucideMonitorCheck:Vm,LucideMonitorCog:Pm,LucideMonitorDot:Tm,LucideMonitorDown:Hm,LucideMonitorOff:Dm,LucideMonitorPause:Rm,LucideMonitorPlay:Bm,LucideMonitorSmartphone:Fm,LucideMonitorSpeaker:Em,LucideMonitorStop:Om,LucideMonitorUp:Um,LucideMonitorX:Wm,LucideMoon:Km,LucideMoonStar:Zm,LucideMoreHorizontal:Za,LucideMoreVertical:Ga,LucideMountain:Ym,LucideMountainSnow:Xm,LucideMouse:n6,LucideMouseOff:Jm,LucideMousePointer:t6,LucideMousePointer2:Qm,LucideMousePointerBan:e6,LucideMousePointerClick:a6,LucideMousePointerSquareDashed:Lo,LucideMove:a.Move,LucideMove3D:jn,LucideMove3d:jn,LucideMoveDiagonal:c6,LucideMoveDiagonal2:o6,LucideMoveDown:d6,LucideMoveDownLeft:i6,LucideMoveDownRight:r6,LucideMoveHorizontal:s6,LucideMoveLeft:l6,LucideMoveRight:h6,LucideMoveUp:y6,LucideMoveUpLeft:u6,LucideMoveUpRight:p6,LucideMoveVertical:k6,LucideMusic:v6,LucideMusic2:m6,LucideMusic3:f6,LucideMusic4:g6,LucideNavigation:L6,LucideNavigation2:_6,LucideNavigation2Off:M6,LucideNavigationOff:x6,LucideNetwork:I6,LucideNewspaper:w6,LucideNfc:b6,LucideNonBinary:C6,LucideNotebook:$6,LucideNotebookPen:N6,LucideNotebookTabs:S6,LucideNotebookText:j6,LucideNotepadText:A6,LucideNotepadTextDashed:q6,LucideNut:V6,LucideNutOff:z6,LucideOctagon:T6,LucideOctagonAlert:$n,LucideOctagonMinus:P6,LucideOctagonPause:qn,LucideOctagonX:An,LucideOmega:H6,LucideOption:D6,LucideOrbit:B6,LucideOrigami:R6,LucideOutdent:vn,LucidePackage:K6,LucidePackage2:F6,LucidePackageCheck:E6,LucidePackageMinus:O6,LucidePackageOpen:U6,LucidePackagePlus:W6,LucidePackageSearch:G6,LucidePackageX:Z6,LucidePaintBucket:X6,LucidePaintRoller:Y6,LucidePaintbrush:J6,LucidePaintbrush2:zn,LucidePaintbrushVertical:zn,LucidePalette:Q6,LucidePalmtree:tc,LucidePanda:e8,LucidePanelBottom:n8,LucidePanelBottomClose:t8,LucidePanelBottomDashed:Vn,LucidePanelBottomInactive:Vn,LucidePanelBottomOpen:a8,LucidePanelLeft:Dn,LucidePanelLeftClose:Pn,LucidePanelLeftDashed:Tn,LucidePanelLeftInactive:Tn,LucidePanelLeftOpen:Hn,LucidePanelRight:i8,LucidePanelRightClose:o8,LucidePanelRightDashed:Bn,LucidePanelRightInactive:Bn,LucidePanelRightOpen:c8,LucidePanelTop:d8,LucidePanelTopClose:r8,LucidePanelTopDashed:Rn,LucidePanelTopInactive:Rn,LucidePanelTopOpen:s8,LucidePanelsLeftBottom:l8,LucidePanelsLeftRight:Ea,LucidePanelsRightBottom:h8,LucidePanelsTopBottom:Gn,LucidePanelsTopLeft:Fn,LucidePaperclip:u8,LucideParentheses:p8,LucideParkingCircle:Na,LucideParkingCircleOff:ba,LucideParkingMeter:y8,LucideParkingSquare:Po,LucideParkingSquareOff:zo,LucidePartyPopper:k8,LucidePause:m8,LucidePauseCircle:Ca,LucidePauseOctagon:qn,LucidePawPrint:f8,LucidePcCase:g8,LucidePen:lt,LucidePenBox:Te,LucidePenLine:dt,LucidePenOff:M8,LucidePenSquare:Te,LucidePenTool:v8,LucidePencil:u1,LucidePencilLine:_8,LucidePencilOff:x8,LucidePencilRuler:L8,LucidePentagon:I8,LucidePercent:w8,LucidePercentCircle:Sa,LucidePercentDiamond:Ua,LucidePercentSquare:To,LucidePersonStanding:C8,LucidePhilippinePeso:b8,LucidePhone:A8,LucidePhoneCall:N8,LucidePhoneForwarded:S8,LucidePhoneIncoming:j8,LucidePhoneMissed:$8,LucidePhoneOff:q8,LucidePhoneOutgoing:z8,LucidePi:V8,LucidePiSquare:Ho,LucidePiano:P8,LucidePickaxe:T8,LucidePictureInPicture:D8,LucidePictureInPicture2:H8,LucidePieChart:ia,LucidePiggyBank:B8,LucidePilcrow:F8,LucidePilcrowLeft:R8,LucidePilcrowRight:E8,LucidePilcrowSquare:Do,LucidePill:U8,LucidePillBottle:O8,LucidePin:G8,LucidePinOff:W8,LucidePipette:Z8,LucidePizza:K8,LucidePlane:J8,LucidePlaneLanding:X8,LucidePlaneTakeoff:Y8,LucidePlay:Q8,LucidePlayCircle:ja,LucidePlaySquare:Bo,LucidePlug:tf,LucidePlug2:ef,LucidePlugZap:En,LucidePlugZap2:En,LucidePlus:Dc,LucidePlusCircle:$a,LucidePlusSquare:Ro,LucidePocket:nf,LucidePocketKnife:af,LucidePodcast:of,LucidePointer:rf,LucidePointerOff:cf,LucidePopcorn:df,LucidePopsicle:sf,LucidePoundSterling:lf,LucidePower:uf,LucidePowerCircle:qa,LucidePowerOff:hf,LucidePowerSquare:Fo,LucidePresentation:pf,LucidePrinter:kf,LucidePrinterCheck:yf,LucideProjector:mf,LucideProportions:ff,LucidePuzzle:vf,LucidePyramid:gf,LucideQrCode:Mf,LucideQuote:_f,LucideRabbit:xf,LucideRadar:Lf,LucideRadiation:If,LucideRadical:wf,LucideRadio:Nf,LucideRadioReceiver:bf,LucideRadioTower:Cf,LucideRadius:Sf,LucideRailSymbol:jf,LucideRainbow:$f,LucideRat:qf,LucideRatio:Af,LucideReceipt:Ef,LucideReceiptCent:zf,LucideReceiptEuro:Pf,LucideReceiptIndianRupee:Vf,LucideReceiptJapaneseYen:Tf,LucideReceiptPoundSterling:Hf,LucideReceiptRussianRuble:Df,LucideReceiptSwissFranc:Bf,LucideReceiptText:Rf,LucideReceiptTurkishLira:Ff,LucideRectangleCircle:Of,LucideRectangleEllipsis:On,LucideRectangleGoggles:Uf,LucideRectangleHorizontal:Wf,LucideRectangleVertical:Gf,LucideRecycle:Zf,LucideRedo:Yf,LucideRedo2:Kf,LucideRedoDot:Xf,LucideRefreshCcw:Qf,LucideRefreshCcwDot:Jf,LucideRefreshCw:t7,LucideRefreshCwOff:e7,LucideRefrigerator:a7,LucideRegex:n7,LucideRemoveFormatting:o7,LucideRepeat:r7,LucideRepeat1:c7,LucideRepeat2:i7,LucideReplace:d7,LucideReplaceAll:s7,LucideReply:u7,LucideReplyAll:l7,LucideRewind:h7,LucideRibbon:p7,LucideRocket:y7,LucideRockingChair:f7,LucideRollerCoaster:k7,LucideRose:m7,LucideRotate3D:Un,LucideRotate3d:Un,LucideRotateCcw:M7,LucideRotateCcwKey:g7,LucideRotateCcwSquare:v7,LucideRotateCw:x7,LucideRotateCwSquare:_7,LucideRoute:I7,LucideRouteOff:L7,LucideRouter:w7,LucideRows:Wn,LucideRows2:Wn,LucideRows3:Gn,LucideRows4:b7,LucideRss:C7,LucideRuler:S7,LucideRulerDimensionLine:N7,LucideRussianRuble:j7,LucideSailboat:$7,LucideSalad:q7,LucideSandwich:A7,LucideSatellite:V7,LucideSatelliteDish:z7,LucideSaudiRiyal:P7,LucideSave:B7,LucideSaveAll:T7,LucideSaveOff:H7,LucideScale:D7,LucideScale3D:Zn,LucideScale3d:Zn,LucideScaling:R7,LucideScan:X7,LucideScanBarcode:F7,LucideScanEye:E7,LucideScanFace:O7,LucideScanHeart:U7,LucideScanLine:W7,LucideScanQrCode:G7,LucideScanSearch:Z7,LucideScanText:K7,LucideScatterChart:ra,LucideSchool:Y7,LucideSchool2:oc,LucideScissors:Q7,LucideScissorsLineDashed:J7,LucideScissorsSquare:Eo,LucideScissorsSquareDashedBottom:yo,LucideScreenShare:eg,LucideScreenShareOff:tg,LucideScroll:ng,LucideScrollText:ag,LucideSearch:p1,LucideSearchCheck:og,LucideSearchCode:cg,LucideSearchSlash:ig,LucideSearchX:rg,LucideSection:sg,LucideSend:lg,LucideSendHorizonal:Kn,LucideSendHorizontal:Kn,LucideSendToBack:dg,LucideSeparatorHorizontal:hg,LucideSeparatorVertical:ug,LucideServer:mg,LucideServerCog:pg,LucideServerCrash:kg,LucideServerOff:yg,LucideSettings:gg,LucideSettings2:fg,LucideShapes:vg,LucideShare:_g,LucideShare2:Mg,LucideSheet:xg,LucideShell:Lg,LucideShield:Ag,LucideShieldAlert:Ig,LucideShieldBan:wg,LucideShieldCheck:bg,LucideShieldClose:Yn,LucideShieldEllipsis:Cg,LucideShieldHalf:Ng,LucideShieldMinus:jg,LucideShieldOff:Sg,LucideShieldPlus:$g,LucideShieldQuestion:Xn,LucideShieldQuestionMark:Xn,LucideShieldUser:qg,LucideShieldX:Yn,LucideShip:Vg,LucideShipWheel:zg,LucideShirt:Pg,LucideShoppingBag:Tg,LucideShoppingBasket:Hg,LucideShoppingCart:Dg,LucideShovel:Bg,LucideShowerHead:Rg,LucideShredder:Fg,LucideShrimp:Eg,LucideShrink:Og,LucideShrub:Ug,LucideShuffle:Gg,LucideSidebar:Dn,LucideSidebarClose:Pn,LucideSidebarOpen:Hn,LucideSigma:Wg,LucideSigmaSquare:Oo,LucideSignal:Jg,LucideSignalHigh:Zg,LucideSignalLow:Kg,LucideSignalMedium:Xg,LucideSignalZero:Yg,LucideSignature:Qg,LucideSignpost:tv,LucideSignpostBig:ev,LucideSiren:av,LucideSkipBack:nv,LucideSkipForward:ov,LucideSkull:cv,LucideSlack:iv,LucideSlash:rv,LucideSlashSquare:Uo,LucideSlice:sv,LucideSliders:Jn,LucideSlidersHorizontal:dv,LucideSlidersVertical:Jn,LucideSmartphone:uv,LucideSmartphoneCharging:lv,LucideSmartphoneNfc:hv,LucideSmile:yv,LucideSmilePlus:pv,LucideSnail:kv,LucideSnowflake:mv,LucideSoapDispenserDroplet:fv,LucideSofa:gv,LucideSortAsc:Dt,LucideSortDesc:Pt,LucideSoup:vv,LucideSpace:Mv,LucideSpade:_v,LucideSparkle:xv,LucideSparkles:Qn,LucideSpeaker:Lv,LucideSpeech:Iv,LucideSpellCheck:bv,LucideSpellCheck2:wv,LucideSpline:Nv,LucideSplinePointer:Cv,LucideSplit:Sv,LucideSplitSquareHorizontal:Wo,LucideSplitSquareVertical:Go,LucideSpool:jv,LucideSpotlight:$v,LucideSprayCan:qv,LucideSprout:Av,LucideSquare:Ov,LucideSquareActivity:_t,LucideSquareArrowDown:ao,LucideSquareArrowDownLeft:eo,LucideSquareArrowDownRight:to,LucideSquareArrowLeft:no,LucideSquareArrowOutDownLeft:oo,LucideSquareArrowOutDownRight:co,LucideSquareArrowOutUpLeft:io,LucideSquareArrowOutUpRight:ro,LucideSquareArrowRight:so,LucideSquareArrowUp:uo,LucideSquareArrowUpLeft:lo,LucideSquareArrowUpRight:ho,LucideSquareAsterisk:po,LucideSquareBottomDashedScissors:yo,LucideSquareChartGantt:ot,LucideSquareCheck:mo,LucideSquareCheckBig:ko,LucideSquareChevronDown:fo,LucideSquareChevronLeft:go,LucideSquareChevronRight:vo,LucideSquareChevronUp:Mo,LucideSquareCode:_o,LucideSquareDashed:Io,LucideSquareDashedBottom:Vv,LucideSquareDashedBottomCode:zv,LucideSquareDashedKanban:xo,LucideSquareDashedMousePointer:Lo,LucideSquareDashedTopSolid:Pv,LucideSquareDivide:wo,LucideSquareDot:Co,LucideSquareEqual:bo,LucideSquareFunction:No,LucideSquareGanttChart:ot,LucideSquareKanban:So,LucideSquareLibrary:jo,LucideSquareM:$o,LucideSquareMenu:qo,LucideSquareMinus:Ao,LucideSquareMousePointer:Vo,LucideSquareParking:Po,LucideSquareParkingOff:zo,LucideSquarePause:Tv,LucideSquarePen:Te,LucideSquarePercent:To,LucideSquarePi:Ho,LucideSquarePilcrow:Do,LucideSquarePlay:Bo,LucideSquarePlus:Ro,LucideSquarePower:Fo,LucideSquareRadical:Hv,LucideSquareRoundCorner:Dv,LucideSquareScissors:Eo,LucideSquareSigma:Oo,LucideSquareSlash:Uo,LucideSquareSplitHorizontal:Wo,LucideSquareSplitVertical:Go,LucideSquareSquare:Bv,LucideSquareStack:Rv,LucideSquareStar:Fv,LucideSquareStop:Ev,LucideSquareTerminal:Zo,LucideSquareUser:Xo,LucideSquareUserRound:Ko,LucideSquareX:Yo,LucideSquaresExclude:Uv,LucideSquaresIntersect:Wv,LucideSquaresSubtract:Gv,LucideSquaresUnite:Zv,LucideSquircle:Xv,LucideSquircleDashed:Kv,LucideSquirrel:Yv,LucideStamp:Jv,LucideStar:a9,LucideStarHalf:Qv,LucideStarOff:e9,LucideStars:Qn,LucideStepBack:t9,LucideStepForward:n9,LucideStethoscope:o9,LucideSticker:c9,LucideStickyNote:i9,LucideStopCircle:za,LucideStore:r9,LucideStretchHorizontal:s9,LucideStretchVertical:d9,LucideStrikethrough:l9,LucideSubscript:h9,LucideSubtitles:Zt,LucideSun:f9,LucideSunDim:u9,LucideSunMedium:p9,LucideSunMoon:y9,LucideSunSnow:k9,LucideSunrise:m9,LucideSunset:g9,LucideSuperscript:v9,LucideSwatchBook:M9,LucideSwissFranc:_9,LucideSwitchCamera:x9,LucideSword:L9,LucideSwords:w9,LucideSyringe:I9,LucideTable:A9,LucideTable2:b9,LucideTableCellsMerge:C9,LucideTableCellsSplit:N9,LucideTableColumnsSplit:S9,LucideTableConfig:at,LucideTableOfContents:j9,LucideTableProperties:$9,LucideTableRowsSplit:q9,LucideTablet:V9,LucideTabletSmartphone:z9,LucideTablets:P9,LucideTag:T9,LucideTags:H9,LucideTally1:D9,LucideTally2:B9,LucideTally3:R9,LucideTally4:F9,LucideTally5:E9,LucideTangent:O9,LucideTarget:U9,LucideTelescope:W9,LucideTent:Z9,LucideTentTree:G9,LucideTerminal:K9,LucideTerminalSquare:Zo,LucideTestTube:X9,LucideTestTube2:Jo,LucideTestTubeDiagonal:Jo,LucideTestTubes:Y9,LucideText:aM,LucideTextCursor:Q9,LucideTextCursorInput:J9,LucideTextQuote:eM,LucideTextSearch:tM,LucideTextSelect:Qo,LucideTextSelection:Qo,LucideTheater:nM,LucideThermometer:rM,LucideThermometerSnowflake:oM,LucideThermometerSun:cM,LucideThumbsDown:iM,LucideThumbsUp:sM,LucideTicket:kM,LucideTicketCheck:dM,LucideTicketMinus:lM,LucideTicketPercent:hM,LucideTicketPlus:uM,LucideTicketSlash:pM,LucideTicketX:yM,LucideTickets:fM,LucideTicketsPlane:mM,LucideTimer:MM,LucideTimerOff:gM,LucideTimerReset:vM,LucideToggleLeft:_M,LucideToggleRight:xM,LucideToilet:LM,LucideToolCase:IM,LucideTornado:bM,LucideTorus:wM,LucideTouchpad:NM,LucideTouchpadOff:CM,LucideTowerControl:jM,LucideToyBrick:SM,LucideTractor:$M,LucideTrafficCone:qM,LucideTrain:ec,LucideTrainFront:zM,LucideTrainFrontTunnel:AM,LucideTrainTrack:VM,LucideTramFront:ec,LucideTransgender:PM,LucideTrash:TM,LucideTrash2:bt,LucideTreeDeciduous:HM,LucideTreePalm:tc,LucideTreePine:DM,LucideTrees:BM,LucideTrello:RM,LucideTrendingDown:FM,LucideTrendingUp:EM,LucideTrendingUpDown:OM,LucideTriangle:WM,LucideTriangleAlert:ac,LucideTriangleDashed:UM,LucideTriangleRight:GM,LucideTrophy:ZM,LucideTruck:XM,LucideTruckElectric:KM,LucideTurkishLira:YM,LucideTurntable:JM,LucideTurtle:QM,LucideTv:t_,LucideTv2:nc,LucideTvMinimal:nc,LucideTvMinimalPlay:e_,LucideTwitch:a_,LucideTwitter:n_,LucideType:c_,LucideTypeOutline:o_,LucideUmbrella:r_,LucideUmbrellaOff:i_,LucideUnderline:s_,LucideUndo:h_,LucideUndo2:d_,LucideUndoDot:l_,LucideUnfoldHorizontal:u_,LucideUnfoldVertical:p_,LucideUngroup:y_,LucideUniversity:oc,LucideUnlink:g_,LucideUnlink2:k_,LucideUnlock:wn,LucideUnlockKeyhole:In,LucideUnplug:m_,LucideUpload:f_,LucideUploadCloud:Ba,LucideUsb:v_,LucideUser:j_,LucideUser2:lc,LucideUserCheck:M_,LucideUserCheck2:cc,LucideUserCircle:Pa,LucideUserCircle2:Va,LucideUserCog:__,LucideUserCog2:ic,LucideUserLock:x_,LucideUserMinus:L_,LucideUserMinus2:rc,LucideUserPen:I_,LucideUserPlus:y1,LucideUserPlus2:sc,LucideUserRound:lc,LucideUserRoundCheck:cc,LucideUserRoundCog:ic,LucideUserRoundMinus:rc,LucideUserRoundPen:w_,LucideUserRoundPlus:sc,LucideUserRoundSearch:b_,LucideUserRoundX:dc,LucideUserSearch:C_,LucideUserSquare:Xo,LucideUserSquare2:Ko,LucideUserStar:N_,LucideUserX:S_,LucideUserX2:dc,LucideUsers:$_,LucideUsers2:hc,LucideUsersRound:hc,LucideUtensils:pc,LucideUtensilsCrossed:uc,LucideUtilityPole:q_,LucideVariable:A_,LucideVault:z_,LucideVectorSquare:V_,LucideVegan:P_,LucideVenetianMask:T_,LucideVenus:R_,LucideVenusAndMars:H_,LucideVerified:Ft,LucideVibrate:B_,LucideVibrateOff:D_,LucideVideo:E_,LucideVideoOff:F_,LucideVideotape:O_,LucideView:W_,LucideVoicemail:U_,LucideVolleyball:G_,LucideVolume:Q_,LucideVolume1:Z_,LucideVolume2:K_,LucideVolumeOff:X_,LucideVolumeX:Y_,LucideVote:J_,LucideWallet:tx,LucideWallet2:yc,LucideWalletCards:ex,LucideWalletMinimal:yc,LucideWallpaper:ax,LucideWand:nx,LucideWand2:kc,LucideWandSparkles:kc,LucideWarehouse:ox,LucideWashingMachine:cx,LucideWatch:ix,LucideWaves:sx,LucideWavesLadder:rx,LucideWaypoints:dx,LucideWebcam:lx,LucideWebhook:px,LucideWebhookOff:hx,LucideWeight:ux,LucideWheat:kx,LucideWheatOff:yx,LucideWholeWord:mx,LucideWifi:Ix,LucideWifiCog:fx,LucideWifiHigh:gx,LucideWifiLow:vx,LucideWifiOff:Mx,LucideWifiPen:_x,LucideWifiSync:xx,LucideWifiZero:Lx,LucideWind:bx,LucideWindArrowDown:wx,LucideWine:Nx,LucideWineOff:Cx,LucideWorkflow:Sx,LucideWorm:jx,LucideWrapText:$x,LucideWrench:qx,LucideX:Ke,LucideXCircle:gt,LucideXOctagon:An,LucideXSquare:Yo,LucideYoutube:zx,LucideZap:Vx,LucideZapOff:Ax,LucideZoomIn:Px,LucideZoomOut:Tx,Luggage:p3,LuggageIcon:p3,MSquare:$o,MSquareIcon:$o,Magnet:y3,MagnetIcon:y3,Mail:_3,MailCheck:k3,MailCheckIcon:k3,MailIcon:_3,MailMinus:m3,MailMinusIcon:m3,MailOpen:f3,MailOpenIcon:f3,MailPlus:g3,MailPlusIcon:g3,MailQuestion:bn,MailQuestionIcon:bn,MailQuestionMark:bn,MailQuestionMarkIcon:bn,MailSearch:v3,MailSearchIcon:v3,MailWarning:M3,MailWarningIcon:M3,MailX:x3,MailXIcon:x3,Mailbox:L3,MailboxIcon:L3,Mails:I3,MailsIcon:I3,Map:D3,MapIcon:D3,MapMinus:w3,MapMinusIcon:w3,MapPin:P3,MapPinCheck:b3,MapPinCheckIcon:b3,MapPinCheckInside:C3,MapPinCheckInsideIcon:C3,MapPinHouse:N3,MapPinHouseIcon:N3,MapPinIcon:P3,MapPinMinus:j3,MapPinMinusIcon:j3,MapPinMinusInside:S3,MapPinMinusInsideIcon:S3,MapPinOff:$3,MapPinOffIcon:$3,MapPinPen:Cn,MapPinPenIcon:Cn,MapPinPlus:A3,MapPinPlusIcon:A3,MapPinPlusInside:q3,MapPinPlusInsideIcon:q3,MapPinX:V3,MapPinXIcon:V3,MapPinXInside:z3,MapPinXInsideIcon:z3,MapPinned:T3,MapPinnedIcon:T3,MapPlus:H3,MapPlusIcon:H3,Mars:R3,MarsIcon:R3,MarsStroke:B3,MarsStrokeIcon:B3,Martini:F3,MartiniIcon:F3,Maximize:U3,Maximize2:E3,Maximize2Icon:E3,MaximizeIcon:U3,Medal:O3,MedalIcon:O3,Megaphone:G3,MegaphoneIcon:G3,MegaphoneOff:W3,MegaphoneOffIcon:W3,Meh:Z3,MehIcon:Z3,MemoryStick:K3,MemoryStickIcon:K3,Menu:Hc,MenuIcon:Hc,MenuSquare:qo,MenuSquareIcon:qo,Merge:X3,MergeIcon:X3,MessageCircle:im,MessageCircleCode:Y3,MessageCircleCodeIcon:Y3,MessageCircleDashed:J3,MessageCircleDashedIcon:J3,MessageCircleHeart:Q3,MessageCircleHeartIcon:Q3,MessageCircleIcon:im,MessageCircleMore:em,MessageCircleMoreIcon:em,MessageCircleOff:tm,MessageCircleOffIcon:tm,MessageCirclePlus:am,MessageCirclePlusIcon:am,MessageCircleQuestion:Nn,MessageCircleQuestionIcon:Nn,MessageCircleQuestionMark:Nn,MessageCircleQuestionMarkIcon:Nn,MessageCircleReply:nm,MessageCircleReplyIcon:nm,MessageCircleWarning:om,MessageCircleWarningIcon:om,MessageCircleX:cm,MessageCircleXIcon:cm,MessageSquare:xm,MessageSquareCode:rm,MessageSquareCodeIcon:rm,MessageSquareDashed:sm,MessageSquareDashedIcon:sm,MessageSquareDiff:dm,MessageSquareDiffIcon:dm,MessageSquareDot:lm,MessageSquareDotIcon:lm,MessageSquareHeart:hm,MessageSquareHeartIcon:hm,MessageSquareIcon:xm,MessageSquareLock:um,MessageSquareLockIcon:um,MessageSquareMore:pm,MessageSquareMoreIcon:pm,MessageSquareOff:ym,MessageSquareOffIcon:ym,MessageSquarePlus:km,MessageSquarePlusIcon:km,MessageSquareQuote:mm,MessageSquareQuoteIcon:mm,MessageSquareReply:fm,MessageSquareReplyIcon:fm,MessageSquareShare:gm,MessageSquareShareIcon:gm,MessageSquareText:vm,MessageSquareTextIcon:vm,MessageSquareWarning:Mm,MessageSquareWarningIcon:Mm,MessageSquareX:_m,MessageSquareXIcon:_m,MessagesSquare:Lm,MessagesSquareIcon:Lm,Mic:wm,Mic2:Sn,Mic2Icon:Sn,MicIcon:wm,MicOff:Im,MicOffIcon:Im,MicVocal:Sn,MicVocalIcon:Sn,Microchip:bm,MicrochipIcon:bm,Microscope:Cm,MicroscopeIcon:Cm,Microwave:Nm,MicrowaveIcon:Nm,Milestone:Sm,MilestoneIcon:Sm,Milk:$m,MilkIcon:$m,MilkOff:jm,MilkOffIcon:jm,Minimize:Am,Minimize2:qm,Minimize2Icon:qm,MinimizeIcon:Am,Minus:zm,MinusCircle:wa,MinusCircleIcon:wa,MinusIcon:zm,MinusSquare:Ao,MinusSquareIcon:Ao,Monitor:Gm,MonitorCheck:Vm,MonitorCheckIcon:Vm,MonitorCog:Pm,MonitorCogIcon:Pm,MonitorDot:Tm,MonitorDotIcon:Tm,MonitorDown:Hm,MonitorDownIcon:Hm,MonitorIcon:Gm,MonitorOff:Dm,MonitorOffIcon:Dm,MonitorPause:Rm,MonitorPauseIcon:Rm,MonitorPlay:Bm,MonitorPlayIcon:Bm,MonitorSmartphone:Fm,MonitorSmartphoneIcon:Fm,MonitorSpeaker:Em,MonitorSpeakerIcon:Em,MonitorStop:Om,MonitorStopIcon:Om,MonitorUp:Um,MonitorUpIcon:Um,MonitorX:Wm,MonitorXIcon:Wm,Moon:Km,MoonIcon:Km,MoonStar:Zm,MoonStarIcon:Zm,MoreHorizontal:Za,MoreHorizontalIcon:Za,MoreVertical:Ga,MoreVerticalIcon:Ga,Mountain:Ym,MountainIcon:Ym,MountainSnow:Xm,MountainSnowIcon:Xm,Mouse:n6,MouseIcon:n6,MouseOff:Jm,MouseOffIcon:Jm,MousePointer:t6,MousePointer2:Qm,MousePointer2Icon:Qm,MousePointerBan:e6,MousePointerBanIcon:e6,MousePointerClick:a6,MousePointerClickIcon:a6,MousePointerIcon:t6,MousePointerSquareDashed:Lo,MousePointerSquareDashedIcon:Lo,Move:a.Move,Move3D:jn,Move3DIcon:jn,Move3d:jn,Move3dIcon:jn,MoveDiagonal:c6,MoveDiagonal2:o6,MoveDiagonal2Icon:o6,MoveDiagonalIcon:c6,MoveDown:d6,MoveDownIcon:d6,MoveDownLeft:i6,MoveDownLeftIcon:i6,MoveDownRight:r6,MoveDownRightIcon:r6,MoveHorizontal:s6,MoveHorizontalIcon:s6,MoveIcon:a.Move,MoveLeft:l6,MoveLeftIcon:l6,MoveRight:h6,MoveRightIcon:h6,MoveUp:y6,MoveUpIcon:y6,MoveUpLeft:u6,MoveUpLeftIcon:u6,MoveUpRight:p6,MoveUpRightIcon:p6,MoveVertical:k6,MoveVerticalIcon:k6,Music:v6,Music2:m6,Music2Icon:m6,Music3:f6,Music3Icon:f6,Music4:g6,Music4Icon:g6,MusicIcon:v6,Navigation:L6,Navigation2:_6,Navigation2Icon:_6,Navigation2Off:M6,Navigation2OffIcon:M6,NavigationIcon:L6,NavigationOff:x6,NavigationOffIcon:x6,Network:I6,NetworkIcon:I6,Newspaper:w6,NewspaperIcon:w6,Nfc:b6,NfcIcon:b6,NonBinary:C6,NonBinaryIcon:C6,Notebook:$6,NotebookIcon:$6,NotebookPen:N6,NotebookPenIcon:N6,NotebookTabs:S6,NotebookTabsIcon:S6,NotebookText:j6,NotebookTextIcon:j6,NotepadText:A6,NotepadTextDashed:q6,NotepadTextDashedIcon:q6,NotepadTextIcon:A6,Nut:V6,NutIcon:V6,NutOff:z6,NutOffIcon:z6,Octagon:T6,OctagonAlert:$n,OctagonAlertIcon:$n,OctagonIcon:T6,OctagonMinus:P6,OctagonMinusIcon:P6,OctagonPause:qn,OctagonPauseIcon:qn,OctagonX:An,OctagonXIcon:An,Omega:H6,OmegaIcon:H6,Option:D6,OptionIcon:D6,Orbit:B6,OrbitIcon:B6,Origami:R6,OrigamiIcon:R6,Outdent:vn,OutdentIcon:vn,Package:K6,Package2:F6,Package2Icon:F6,PackageCheck:E6,PackageCheckIcon:E6,PackageIcon:K6,PackageMinus:O6,PackageMinusIcon:O6,PackageOpen:U6,PackageOpenIcon:U6,PackagePlus:W6,PackagePlusIcon:W6,PackageSearch:G6,PackageSearchIcon:G6,PackageX:Z6,PackageXIcon:Z6,PaintBucket:X6,PaintBucketIcon:X6,PaintRoller:Y6,PaintRollerIcon:Y6,Paintbrush:J6,Paintbrush2:zn,Paintbrush2Icon:zn,PaintbrushIcon:J6,PaintbrushVertical:zn,PaintbrushVerticalIcon:zn,Palette:Q6,PaletteIcon:Q6,Palmtree:tc,PalmtreeIcon:tc,Panda:e8,PandaIcon:e8,PanelBottom:n8,PanelBottomClose:t8,PanelBottomCloseIcon:t8,PanelBottomDashed:Vn,PanelBottomDashedIcon:Vn,PanelBottomIcon:n8,PanelBottomInactive:Vn,PanelBottomInactiveIcon:Vn,PanelBottomOpen:a8,PanelBottomOpenIcon:a8,PanelLeft:Dn,PanelLeftClose:Pn,PanelLeftCloseIcon:Pn,PanelLeftDashed:Tn,PanelLeftDashedIcon:Tn,PanelLeftIcon:Dn,PanelLeftInactive:Tn,PanelLeftInactiveIcon:Tn,PanelLeftOpen:Hn,PanelLeftOpenIcon:Hn,PanelRight:i8,PanelRightClose:o8,PanelRightCloseIcon:o8,PanelRightDashed:Bn,PanelRightDashedIcon:Bn,PanelRightIcon:i8,PanelRightInactive:Bn,PanelRightInactiveIcon:Bn,PanelRightOpen:c8,PanelRightOpenIcon:c8,PanelTop:d8,PanelTopClose:r8,PanelTopCloseIcon:r8,PanelTopDashed:Rn,PanelTopDashedIcon:Rn,PanelTopIcon:d8,PanelTopInactive:Rn,PanelTopInactiveIcon:Rn,PanelTopOpen:s8,PanelTopOpenIcon:s8,PanelsLeftBottom:l8,PanelsLeftBottomIcon:l8,PanelsLeftRight:Ea,PanelsLeftRightIcon:Ea,PanelsRightBottom:h8,PanelsRightBottomIcon:h8,PanelsTopBottom:Gn,PanelsTopBottomIcon:Gn,PanelsTopLeft:Fn,PanelsTopLeftIcon:Fn,Paperclip:u8,PaperclipIcon:u8,Parentheses:p8,ParenthesesIcon:p8,ParkingCircle:Na,ParkingCircleIcon:Na,ParkingCircleOff:ba,ParkingCircleOffIcon:ba,ParkingMeter:y8,ParkingMeterIcon:y8,ParkingSquare:Po,ParkingSquareIcon:Po,ParkingSquareOff:zo,ParkingSquareOffIcon:zo,PartyPopper:k8,PartyPopperIcon:k8,Pause:m8,PauseCircle:Ca,PauseCircleIcon:Ca,PauseIcon:m8,PauseOctagon:qn,PauseOctagonIcon:qn,PawPrint:f8,PawPrintIcon:f8,PcCase:g8,PcCaseIcon:g8,Pen:lt,PenBox:Te,PenBoxIcon:Te,PenIcon:lt,PenLine:dt,PenLineIcon:dt,PenOff:M8,PenOffIcon:M8,PenSquare:Te,PenSquareIcon:Te,PenTool:v8,PenToolIcon:v8,Pencil:u1,PencilIcon:u1,PencilLine:_8,PencilLineIcon:_8,PencilOff:x8,PencilOffIcon:x8,PencilRuler:L8,PencilRulerIcon:L8,Pentagon:I8,PentagonIcon:I8,Percent:w8,PercentCircle:Sa,PercentCircleIcon:Sa,PercentDiamond:Ua,PercentDiamondIcon:Ua,PercentIcon:w8,PercentSquare:To,PercentSquareIcon:To,PersonStanding:C8,PersonStandingIcon:C8,PhilippinePeso:b8,PhilippinePesoIcon:b8,Phone:A8,PhoneCall:N8,PhoneCallIcon:N8,PhoneForwarded:S8,PhoneForwardedIcon:S8,PhoneIcon:A8,PhoneIncoming:j8,PhoneIncomingIcon:j8,PhoneMissed:$8,PhoneMissedIcon:$8,PhoneOff:q8,PhoneOffIcon:q8,PhoneOutgoing:z8,PhoneOutgoingIcon:z8,Pi:V8,PiIcon:V8,PiSquare:Ho,PiSquareIcon:Ho,Piano:P8,PianoIcon:P8,Pickaxe:T8,PickaxeIcon:T8,PictureInPicture:D8,PictureInPicture2:H8,PictureInPicture2Icon:H8,PictureInPictureIcon:D8,PieChart:ia,PieChartIcon:ia,PiggyBank:B8,PiggyBankIcon:B8,Pilcrow:F8,PilcrowIcon:F8,PilcrowLeft:R8,PilcrowLeftIcon:R8,PilcrowRight:E8,PilcrowRightIcon:E8,PilcrowSquare:Do,PilcrowSquareIcon:Do,Pill:U8,PillBottle:O8,PillBottleIcon:O8,PillIcon:U8,Pin:G8,PinIcon:G8,PinOff:W8,PinOffIcon:W8,Pipette:Z8,PipetteIcon:Z8,Pizza:K8,PizzaIcon:K8,Plane:J8,PlaneIcon:J8,PlaneLanding:X8,PlaneLandingIcon:X8,PlaneTakeoff:Y8,PlaneTakeoffIcon:Y8,Play:Q8,PlayCircle:ja,PlayCircleIcon:ja,PlayIcon:Q8,PlaySquare:Bo,PlaySquareIcon:Bo,Plug:tf,Plug2:ef,Plug2Icon:ef,PlugIcon:tf,PlugZap:En,PlugZap2:En,PlugZap2Icon:En,PlugZapIcon:En,Plus:Dc,PlusCircle:$a,PlusCircleIcon:$a,PlusIcon:Dc,PlusSquare:Ro,PlusSquareIcon:Ro,Pocket:nf,PocketIcon:nf,PocketKnife:af,PocketKnifeIcon:af,Podcast:of,PodcastIcon:of,Pointer:rf,PointerIcon:rf,PointerOff:cf,PointerOffIcon:cf,Popcorn:df,PopcornIcon:df,Popsicle:sf,PopsicleIcon:sf,PoundSterling:lf,PoundSterlingIcon:lf,Power:uf,PowerCircle:qa,PowerCircleIcon:qa,PowerIcon:uf,PowerOff:hf,PowerOffIcon:hf,PowerSquare:Fo,PowerSquareIcon:Fo,Presentation:pf,PresentationIcon:pf,Printer:kf,PrinterCheck:yf,PrinterCheckIcon:yf,PrinterIcon:kf,Projector:mf,ProjectorIcon:mf,Proportions:ff,ProportionsIcon:ff,Puzzle:vf,PuzzleIcon:vf,Pyramid:gf,PyramidIcon:gf,QrCode:Mf,QrCodeIcon:Mf,Quote:_f,QuoteIcon:_f,Rabbit:xf,RabbitIcon:xf,Radar:Lf,RadarIcon:Lf,Radiation:If,RadiationIcon:If,Radical:wf,RadicalIcon:wf,Radio:Nf,RadioIcon:Nf,RadioReceiver:bf,RadioReceiverIcon:bf,RadioTower:Cf,RadioTowerIcon:Cf,Radius:Sf,RadiusIcon:Sf,RailSymbol:jf,RailSymbolIcon:jf,Rainbow:$f,RainbowIcon:$f,Rat:qf,RatIcon:qf,Ratio:Af,RatioIcon:Af,Receipt:Ef,ReceiptCent:zf,ReceiptCentIcon:zf,ReceiptEuro:Pf,ReceiptEuroIcon:Pf,ReceiptIcon:Ef,ReceiptIndianRupee:Vf,ReceiptIndianRupeeIcon:Vf,ReceiptJapaneseYen:Tf,ReceiptJapaneseYenIcon:Tf,ReceiptPoundSterling:Hf,ReceiptPoundSterlingIcon:Hf,ReceiptRussianRuble:Df,ReceiptRussianRubleIcon:Df,ReceiptSwissFranc:Bf,ReceiptSwissFrancIcon:Bf,ReceiptText:Rf,ReceiptTextIcon:Rf,ReceiptTurkishLira:Ff,ReceiptTurkishLiraIcon:Ff,RectangleCircle:Of,RectangleCircleIcon:Of,RectangleEllipsis:On,RectangleEllipsisIcon:On,RectangleGoggles:Uf,RectangleGogglesIcon:Uf,RectangleHorizontal:Wf,RectangleHorizontalIcon:Wf,RectangleVertical:Gf,RectangleVerticalIcon:Gf,Recycle:Zf,RecycleIcon:Zf,Redo:Yf,Redo2:Kf,Redo2Icon:Kf,RedoDot:Xf,RedoDotIcon:Xf,RedoIcon:Yf,RefreshCcw:Qf,RefreshCcwDot:Jf,RefreshCcwDotIcon:Jf,RefreshCcwIcon:Qf,RefreshCw:t7,RefreshCwIcon:t7,RefreshCwOff:e7,RefreshCwOffIcon:e7,Refrigerator:a7,RefrigeratorIcon:a7,Regex:n7,RegexIcon:n7,RemoveFormatting:o7,RemoveFormattingIcon:o7,Repeat:r7,Repeat1:c7,Repeat1Icon:c7,Repeat2:i7,Repeat2Icon:i7,RepeatIcon:r7,Replace:d7,ReplaceAll:s7,ReplaceAllIcon:s7,ReplaceIcon:d7,Reply:u7,ReplyAll:l7,ReplyAllIcon:l7,ReplyIcon:u7,Rewind:h7,RewindIcon:h7,Ribbon:p7,RibbonIcon:p7,Rocket:y7,RocketIcon:y7,RockingChair:f7,RockingChairIcon:f7,RollerCoaster:k7,RollerCoasterIcon:k7,Rose:m7,RoseIcon:m7,Rotate3D:Un,Rotate3DIcon:Un,Rotate3d:Un,Rotate3dIcon:Un,RotateCcw:M7,RotateCcwIcon:M7,RotateCcwKey:g7,RotateCcwKeyIcon:g7,RotateCcwSquare:v7,RotateCcwSquareIcon:v7,RotateCw:x7,RotateCwIcon:x7,RotateCwSquare:_7,RotateCwSquareIcon:_7,Route:I7,RouteIcon:I7,RouteOff:L7,RouteOffIcon:L7,Router:w7,RouterIcon:w7,Rows:Wn,Rows2:Wn,Rows2Icon:Wn,Rows3:Gn,Rows3Icon:Gn,Rows4:b7,Rows4Icon:b7,RowsIcon:Wn,Rss:C7,RssIcon:C7,Ruler:S7,RulerDimensionLine:N7,RulerDimensionLineIcon:N7,RulerIcon:S7,RussianRuble:j7,RussianRubleIcon:j7,Sailboat:$7,SailboatIcon:$7,Salad:q7,SaladIcon:q7,Sandwich:A7,SandwichIcon:A7,Satellite:V7,SatelliteDish:z7,SatelliteDishIcon:z7,SatelliteIcon:V7,SaudiRiyal:P7,SaudiRiyalIcon:P7,Save:B7,SaveAll:T7,SaveAllIcon:T7,SaveIcon:B7,SaveOff:H7,SaveOffIcon:H7,Scale:D7,Scale3D:Zn,Scale3DIcon:Zn,Scale3d:Zn,Scale3dIcon:Zn,ScaleIcon:D7,Scaling:R7,ScalingIcon:R7,Scan:X7,ScanBarcode:F7,ScanBarcodeIcon:F7,ScanEye:E7,ScanEyeIcon:E7,ScanFace:O7,ScanFaceIcon:O7,ScanHeart:U7,ScanHeartIcon:U7,ScanIcon:X7,ScanLine:W7,ScanLineIcon:W7,ScanQrCode:G7,ScanQrCodeIcon:G7,ScanSearch:Z7,ScanSearchIcon:Z7,ScanText:K7,ScanTextIcon:K7,ScatterChart:ra,ScatterChartIcon:ra,School:Y7,School2:oc,School2Icon:oc,SchoolIcon:Y7,Scissors:Q7,ScissorsIcon:Q7,ScissorsLineDashed:J7,ScissorsLineDashedIcon:J7,ScissorsSquare:Eo,ScissorsSquareDashedBottom:yo,ScissorsSquareDashedBottomIcon:yo,ScissorsSquareIcon:Eo,ScreenShare:eg,ScreenShareIcon:eg,ScreenShareOff:tg,ScreenShareOffIcon:tg,Scroll:ng,ScrollIcon:ng,ScrollText:ag,ScrollTextIcon:ag,Search:p1,SearchCheck:og,SearchCheckIcon:og,SearchCode:cg,SearchCodeIcon:cg,SearchIcon:p1,SearchSlash:ig,SearchSlashIcon:ig,SearchX:rg,SearchXIcon:rg,Section:sg,SectionIcon:sg,Send:lg,SendHorizonal:Kn,SendHorizonalIcon:Kn,SendHorizontal:Kn,SendHorizontalIcon:Kn,SendIcon:lg,SendToBack:dg,SendToBackIcon:dg,SeparatorHorizontal:hg,SeparatorHorizontalIcon:hg,SeparatorVertical:ug,SeparatorVerticalIcon:ug,Server:mg,ServerCog:pg,ServerCogIcon:pg,ServerCrash:kg,ServerCrashIcon:kg,ServerIcon:mg,ServerOff:yg,ServerOffIcon:yg,Settings:gg,Settings2:fg,Settings2Icon:fg,SettingsIcon:gg,Shapes:vg,ShapesIcon:vg,Share:_g,Share2:Mg,Share2Icon:Mg,ShareIcon:_g,Sheet:xg,SheetIcon:xg,Shell:Lg,ShellIcon:Lg,Shield:Ag,ShieldAlert:Ig,ShieldAlertIcon:Ig,ShieldBan:wg,ShieldBanIcon:wg,ShieldCheck:bg,ShieldCheckIcon:bg,ShieldClose:Yn,ShieldCloseIcon:Yn,ShieldEllipsis:Cg,ShieldEllipsisIcon:Cg,ShieldHalf:Ng,ShieldHalfIcon:Ng,ShieldIcon:Ag,ShieldMinus:jg,ShieldMinusIcon:jg,ShieldOff:Sg,ShieldOffIcon:Sg,ShieldPlus:$g,ShieldPlusIcon:$g,ShieldQuestion:Xn,ShieldQuestionIcon:Xn,ShieldQuestionMark:Xn,ShieldQuestionMarkIcon:Xn,ShieldUser:qg,ShieldUserIcon:qg,ShieldX:Yn,ShieldXIcon:Yn,Ship:Vg,ShipIcon:Vg,ShipWheel:zg,ShipWheelIcon:zg,Shirt:Pg,ShirtIcon:Pg,ShoppingBag:Tg,ShoppingBagIcon:Tg,ShoppingBasket:Hg,ShoppingBasketIcon:Hg,ShoppingCart:Dg,ShoppingCartIcon:Dg,Shovel:Bg,ShovelIcon:Bg,ShowerHead:Rg,ShowerHeadIcon:Rg,Shredder:Fg,ShredderIcon:Fg,Shrimp:Eg,ShrimpIcon:Eg,Shrink:Og,ShrinkIcon:Og,Shrub:Ug,ShrubIcon:Ug,Shuffle:Gg,ShuffleIcon:Gg,Sidebar:Dn,SidebarClose:Pn,SidebarCloseIcon:Pn,SidebarIcon:Dn,SidebarOpen:Hn,SidebarOpenIcon:Hn,Sigma:Wg,SigmaIcon:Wg,SigmaSquare:Oo,SigmaSquareIcon:Oo,Signal:Jg,SignalHigh:Zg,SignalHighIcon:Zg,SignalIcon:Jg,SignalLow:Kg,SignalLowIcon:Kg,SignalMedium:Xg,SignalMediumIcon:Xg,SignalZero:Yg,SignalZeroIcon:Yg,Signature:Qg,SignatureIcon:Qg,Signpost:tv,SignpostBig:ev,SignpostBigIcon:ev,SignpostIcon:tv,Siren:av,SirenIcon:av,SkipBack:nv,SkipBackIcon:nv,SkipForward:ov,SkipForwardIcon:ov,Skull:cv,SkullIcon:cv,Slack:iv,SlackIcon:iv,Slash:rv,SlashIcon:rv,SlashSquare:Uo,SlashSquareIcon:Uo,Slice:sv,SliceIcon:sv,Sliders:Jn,SlidersHorizontal:dv,SlidersHorizontalIcon:dv,SlidersIcon:Jn,SlidersVertical:Jn,SlidersVerticalIcon:Jn,Smartphone:uv,SmartphoneCharging:lv,SmartphoneChargingIcon:lv,SmartphoneIcon:uv,SmartphoneNfc:hv,SmartphoneNfcIcon:hv,Smile:yv,SmileIcon:yv,SmilePlus:pv,SmilePlusIcon:pv,Snail:kv,SnailIcon:kv,Snowflake:mv,SnowflakeIcon:mv,SoapDispenserDroplet:fv,SoapDispenserDropletIcon:fv,Sofa:gv,SofaIcon:gv,SortAsc:Dt,SortAscIcon:Dt,SortDesc:Pt,SortDescIcon:Pt,Soup:vv,SoupIcon:vv,Space:Mv,SpaceIcon:Mv,Spade:_v,SpadeIcon:_v,Sparkle:xv,SparkleIcon:xv,Sparkles:Qn,SparklesIcon:Qn,Speaker:Lv,SpeakerIcon:Lv,Speech:Iv,SpeechIcon:Iv,SpellCheck:bv,SpellCheck2:wv,SpellCheck2Icon:wv,SpellCheckIcon:bv,Spline:Nv,SplineIcon:Nv,SplinePointer:Cv,SplinePointerIcon:Cv,Split:Sv,SplitIcon:Sv,SplitSquareHorizontal:Wo,SplitSquareHorizontalIcon:Wo,SplitSquareVertical:Go,SplitSquareVerticalIcon:Go,Spool:jv,SpoolIcon:jv,Spotlight:$v,SpotlightIcon:$v,SprayCan:qv,SprayCanIcon:qv,Sprout:Av,SproutIcon:Av,Square:Ov,SquareActivity:_t,SquareActivityIcon:_t,SquareArrowDown:ao,SquareArrowDownIcon:ao,SquareArrowDownLeft:eo,SquareArrowDownLeftIcon:eo,SquareArrowDownRight:to,SquareArrowDownRightIcon:to,SquareArrowLeft:no,SquareArrowLeftIcon:no,SquareArrowOutDownLeft:oo,SquareArrowOutDownLeftIcon:oo,SquareArrowOutDownRight:co,SquareArrowOutDownRightIcon:co,SquareArrowOutUpLeft:io,SquareArrowOutUpLeftIcon:io,SquareArrowOutUpRight:ro,SquareArrowOutUpRightIcon:ro,SquareArrowRight:so,SquareArrowRightIcon:so,SquareArrowUp:uo,SquareArrowUpIcon:uo,SquareArrowUpLeft:lo,SquareArrowUpLeftIcon:lo,SquareArrowUpRight:ho,SquareArrowUpRightIcon:ho,SquareAsterisk:po,SquareAsteriskIcon:po,SquareBottomDashedScissors:yo,SquareBottomDashedScissorsIcon:yo,SquareChartGantt:ot,SquareChartGanttIcon:ot,SquareCheck:mo,SquareCheckBig:ko,SquareCheckBigIcon:ko,SquareCheckIcon:mo,SquareChevronDown:fo,SquareChevronDownIcon:fo,SquareChevronLeft:go,SquareChevronLeftIcon:go,SquareChevronRight:vo,SquareChevronRightIcon:vo,SquareChevronUp:Mo,SquareChevronUpIcon:Mo,SquareCode:_o,SquareCodeIcon:_o,SquareDashed:Io,SquareDashedBottom:Vv,SquareDashedBottomCode:zv,SquareDashedBottomCodeIcon:zv,SquareDashedBottomIcon:Vv,SquareDashedIcon:Io,SquareDashedKanban:xo,SquareDashedKanbanIcon:xo,SquareDashedMousePointer:Lo,SquareDashedMousePointerIcon:Lo,SquareDashedTopSolid:Pv,SquareDashedTopSolidIcon:Pv,SquareDivide:wo,SquareDivideIcon:wo,SquareDot:Co,SquareDotIcon:Co,SquareEqual:bo,SquareEqualIcon:bo,SquareFunction:No,SquareFunctionIcon:No,SquareGanttChart:ot,SquareGanttChartIcon:ot,SquareIcon:Ov,SquareKanban:So,SquareKanbanIcon:So,SquareLibrary:jo,SquareLibraryIcon:jo,SquareM:$o,SquareMIcon:$o,SquareMenu:qo,SquareMenuIcon:qo,SquareMinus:Ao,SquareMinusIcon:Ao,SquareMousePointer:Vo,SquareMousePointerIcon:Vo,SquareParking:Po,SquareParkingIcon:Po,SquareParkingOff:zo,SquareParkingOffIcon:zo,SquarePause:Tv,SquarePauseIcon:Tv,SquarePen:Te,SquarePenIcon:Te,SquarePercent:To,SquarePercentIcon:To,SquarePi:Ho,SquarePiIcon:Ho,SquarePilcrow:Do,SquarePilcrowIcon:Do,SquarePlay:Bo,SquarePlayIcon:Bo,SquarePlus:Ro,SquarePlusIcon:Ro,SquarePower:Fo,SquarePowerIcon:Fo,SquareRadical:Hv,SquareRadicalIcon:Hv,SquareRoundCorner:Dv,SquareRoundCornerIcon:Dv,SquareScissors:Eo,SquareScissorsIcon:Eo,SquareSigma:Oo,SquareSigmaIcon:Oo,SquareSlash:Uo,SquareSlashIcon:Uo,SquareSplitHorizontal:Wo,SquareSplitHorizontalIcon:Wo,SquareSplitVertical:Go,SquareSplitVerticalIcon:Go,SquareSquare:Bv,SquareSquareIcon:Bv,SquareStack:Rv,SquareStackIcon:Rv,SquareStar:Fv,SquareStarIcon:Fv,SquareStop:Ev,SquareStopIcon:Ev,SquareTerminal:Zo,SquareTerminalIcon:Zo,SquareUser:Xo,SquareUserIcon:Xo,SquareUserRound:Ko,SquareUserRoundIcon:Ko,SquareX:Yo,SquareXIcon:Yo,SquaresExclude:Uv,SquaresExcludeIcon:Uv,SquaresIntersect:Wv,SquaresIntersectIcon:Wv,SquaresSubtract:Gv,SquaresSubtractIcon:Gv,SquaresUnite:Zv,SquaresUniteIcon:Zv,Squircle:Xv,SquircleDashed:Kv,SquircleDashedIcon:Kv,SquircleIcon:Xv,Squirrel:Yv,SquirrelIcon:Yv,Stamp:Jv,StampIcon:Jv,Star:a9,StarHalf:Qv,StarHalfIcon:Qv,StarIcon:a9,StarOff:e9,StarOffIcon:e9,Stars:Qn,StarsIcon:Qn,StepBack:t9,StepBackIcon:t9,StepForward:n9,StepForwardIcon:n9,Stethoscope:o9,StethoscopeIcon:o9,Sticker:c9,StickerIcon:c9,StickyNote:i9,StickyNoteIcon:i9,StopCircle:za,StopCircleIcon:za,Store:r9,StoreIcon:r9,StretchHorizontal:s9,StretchHorizontalIcon:s9,StretchVertical:d9,StretchVerticalIcon:d9,Strikethrough:l9,StrikethroughIcon:l9,Subscript:h9,SubscriptIcon:h9,Subtitles:Zt,SubtitlesIcon:Zt,Sun:f9,SunDim:u9,SunDimIcon:u9,SunIcon:f9,SunMedium:p9,SunMediumIcon:p9,SunMoon:y9,SunMoonIcon:y9,SunSnow:k9,SunSnowIcon:k9,Sunrise:m9,SunriseIcon:m9,Sunset:g9,SunsetIcon:g9,Superscript:v9,SuperscriptIcon:v9,SwatchBook:M9,SwatchBookIcon:M9,SwissFranc:_9,SwissFrancIcon:_9,SwitchCamera:x9,SwitchCameraIcon:x9,Sword:L9,SwordIcon:L9,Swords:w9,SwordsIcon:w9,Syringe:I9,SyringeIcon:I9,Table:A9,Table2:b9,Table2Icon:b9,TableCellsMerge:C9,TableCellsMergeIcon:C9,TableCellsSplit:N9,TableCellsSplitIcon:N9,TableColumnsSplit:S9,TableColumnsSplitIcon:S9,TableConfig:at,TableConfigIcon:at,TableIcon:A9,TableOfContents:j9,TableOfContentsIcon:j9,TableProperties:$9,TablePropertiesIcon:$9,TableRowsSplit:q9,TableRowsSplitIcon:q9,Tablet:V9,TabletIcon:V9,TabletSmartphone:z9,TabletSmartphoneIcon:z9,Tablets:P9,TabletsIcon:P9,Tag:T9,TagIcon:T9,Tags:H9,TagsIcon:H9,Tally1:D9,Tally1Icon:D9,Tally2:B9,Tally2Icon:B9,Tally3:R9,Tally3Icon:R9,Tally4:F9,Tally4Icon:F9,Tally5:E9,Tally5Icon:E9,Tangent:O9,TangentIcon:O9,Target:U9,TargetIcon:U9,Telescope:W9,TelescopeIcon:W9,Tent:Z9,TentIcon:Z9,TentTree:G9,TentTreeIcon:G9,Terminal:K9,TerminalIcon:K9,TerminalSquare:Zo,TerminalSquareIcon:Zo,TestTube:X9,TestTube2:Jo,TestTube2Icon:Jo,TestTubeDiagonal:Jo,TestTubeDiagonalIcon:Jo,TestTubeIcon:X9,TestTubes:Y9,TestTubesIcon:Y9,Text:aM,TextCursor:Q9,TextCursorIcon:Q9,TextCursorInput:J9,TextCursorInputIcon:J9,TextIcon:aM,TextQuote:eM,TextQuoteIcon:eM,TextSearch:tM,TextSearchIcon:tM,TextSelect:Qo,TextSelectIcon:Qo,TextSelection:Qo,TextSelectionIcon:Qo,Theater:nM,TheaterIcon:nM,Thermometer:rM,ThermometerIcon:rM,ThermometerSnowflake:oM,ThermometerSnowflakeIcon:oM,ThermometerSun:cM,ThermometerSunIcon:cM,ThumbsDown:iM,ThumbsDownIcon:iM,ThumbsUp:sM,ThumbsUpIcon:sM,Ticket:kM,TicketCheck:dM,TicketCheckIcon:dM,TicketIcon:kM,TicketMinus:lM,TicketMinusIcon:lM,TicketPercent:hM,TicketPercentIcon:hM,TicketPlus:uM,TicketPlusIcon:uM,TicketSlash:pM,TicketSlashIcon:pM,TicketX:yM,TicketXIcon:yM,Tickets:fM,TicketsIcon:fM,TicketsPlane:mM,TicketsPlaneIcon:mM,Timer:MM,TimerIcon:MM,TimerOff:gM,TimerOffIcon:gM,TimerReset:vM,TimerResetIcon:vM,ToggleLeft:_M,ToggleLeftIcon:_M,ToggleRight:xM,ToggleRightIcon:xM,Toilet:LM,ToiletIcon:LM,ToolCase:IM,ToolCaseIcon:IM,Tornado:bM,TornadoIcon:bM,Torus:wM,TorusIcon:wM,Touchpad:NM,TouchpadIcon:NM,TouchpadOff:CM,TouchpadOffIcon:CM,TowerControl:jM,TowerControlIcon:jM,ToyBrick:SM,ToyBrickIcon:SM,Tractor:$M,TractorIcon:$M,TrafficCone:qM,TrafficConeIcon:qM,Train:ec,TrainFront:zM,TrainFrontIcon:zM,TrainFrontTunnel:AM,TrainFrontTunnelIcon:AM,TrainIcon:ec,TrainTrack:VM,TrainTrackIcon:VM,TramFront:ec,TramFrontIcon:ec,Transgender:PM,TransgenderIcon:PM,Trash:TM,Trash2:bt,Trash2Icon:bt,TrashIcon:TM,TreeDeciduous:HM,TreeDeciduousIcon:HM,TreePalm:tc,TreePalmIcon:tc,TreePine:DM,TreePineIcon:DM,Trees:BM,TreesIcon:BM,Trello:RM,TrelloIcon:RM,TrendingDown:FM,TrendingDownIcon:FM,TrendingUp:EM,TrendingUpDown:OM,TrendingUpDownIcon:OM,TrendingUpIcon:EM,Triangle:WM,TriangleAlert:ac,TriangleAlertIcon:ac,TriangleDashed:UM,TriangleDashedIcon:UM,TriangleIcon:WM,TriangleRight:GM,TriangleRightIcon:GM,Trophy:ZM,TrophyIcon:ZM,Truck:XM,TruckElectric:KM,TruckElectricIcon:KM,TruckIcon:XM,TurkishLira:YM,TurkishLiraIcon:YM,Turntable:JM,TurntableIcon:JM,Turtle:QM,TurtleIcon:QM,Tv:t_,Tv2:nc,Tv2Icon:nc,TvIcon:t_,TvMinimal:nc,TvMinimalIcon:nc,TvMinimalPlay:e_,TvMinimalPlayIcon:e_,Twitch:a_,TwitchIcon:a_,Twitter:n_,TwitterIcon:n_,Type:c_,TypeIcon:c_,TypeOutline:o_,TypeOutlineIcon:o_,Umbrella:r_,UmbrellaIcon:r_,UmbrellaOff:i_,UmbrellaOffIcon:i_,Underline:s_,UnderlineIcon:s_,Undo:h_,Undo2:d_,Undo2Icon:d_,UndoDot:l_,UndoDotIcon:l_,UndoIcon:h_,UnfoldHorizontal:u_,UnfoldHorizontalIcon:u_,UnfoldVertical:p_,UnfoldVerticalIcon:p_,Ungroup:y_,UngroupIcon:y_,University:oc,UniversityIcon:oc,Unlink:g_,Unlink2:k_,Unlink2Icon:k_,UnlinkIcon:g_,Unlock:wn,UnlockIcon:wn,UnlockKeyhole:In,UnlockKeyholeIcon:In,Unplug:m_,UnplugIcon:m_,Upload:f_,UploadCloud:Ba,UploadCloudIcon:Ba,UploadIcon:f_,Usb:v_,UsbIcon:v_,User:j_,User2:lc,User2Icon:lc,UserCheck:M_,UserCheck2:cc,UserCheck2Icon:cc,UserCheckIcon:M_,UserCircle:Pa,UserCircle2:Va,UserCircle2Icon:Va,UserCircleIcon:Pa,UserCog:__,UserCog2:ic,UserCog2Icon:ic,UserCogIcon:__,UserIcon:j_,UserLock:x_,UserLockIcon:x_,UserMinus:L_,UserMinus2:rc,UserMinus2Icon:rc,UserMinusIcon:L_,UserPen:I_,UserPenIcon:I_,UserPlus:y1,UserPlus2:sc,UserPlus2Icon:sc,UserPlusIcon:y1,UserRound:lc,UserRoundCheck:cc,UserRoundCheckIcon:cc,UserRoundCog:ic,UserRoundCogIcon:ic,UserRoundIcon:lc,UserRoundMinus:rc,UserRoundMinusIcon:rc,UserRoundPen:w_,UserRoundPenIcon:w_,UserRoundPlus:sc,UserRoundPlusIcon:sc,UserRoundSearch:b_,UserRoundSearchIcon:b_,UserRoundX:dc,UserRoundXIcon:dc,UserSearch:C_,UserSearchIcon:C_,UserSquare:Xo,UserSquare2:Ko,UserSquare2Icon:Ko,UserSquareIcon:Xo,UserStar:N_,UserStarIcon:N_,UserX:S_,UserX2:dc,UserX2Icon:dc,UserXIcon:S_,Users:$_,Users2:hc,Users2Icon:hc,UsersIcon:$_,UsersRound:hc,UsersRoundIcon:hc,Utensils:pc,UtensilsCrossed:uc,UtensilsCrossedIcon:uc,UtensilsIcon:pc,UtilityPole:q_,UtilityPoleIcon:q_,Variable:A_,VariableIcon:A_,Vault:z_,VaultIcon:z_,VectorSquare:V_,VectorSquareIcon:V_,Vegan:P_,VeganIcon:P_,VenetianMask:T_,VenetianMaskIcon:T_,Venus:R_,VenusAndMars:H_,VenusAndMarsIcon:H_,VenusIcon:R_,Verified:Ft,VerifiedIcon:Ft,Vibrate:B_,VibrateIcon:B_,VibrateOff:D_,VibrateOffIcon:D_,Video:E_,VideoIcon:E_,VideoOff:F_,VideoOffIcon:F_,Videotape:O_,VideotapeIcon:O_,View:W_,ViewIcon:W_,Voicemail:U_,VoicemailIcon:U_,Volleyball:G_,VolleyballIcon:G_,Volume:Q_,Volume1:Z_,Volume1Icon:Z_,Volume2:K_,Volume2Icon:K_,VolumeIcon:Q_,VolumeOff:X_,VolumeOffIcon:X_,VolumeX:Y_,VolumeXIcon:Y_,Vote:J_,VoteIcon:J_,Wallet:tx,Wallet2:yc,Wallet2Icon:yc,WalletCards:ex,WalletCardsIcon:ex,WalletIcon:tx,WalletMinimal:yc,WalletMinimalIcon:yc,Wallpaper:ax,WallpaperIcon:ax,Wand:nx,Wand2:kc,Wand2Icon:kc,WandIcon:nx,WandSparkles:kc,WandSparklesIcon:kc,Warehouse:ox,WarehouseIcon:ox,WashingMachine:cx,WashingMachineIcon:cx,Watch:ix,WatchIcon:ix,Waves:sx,WavesIcon:sx,WavesLadder:rx,WavesLadderIcon:rx,Waypoints:dx,WaypointsIcon:dx,Webcam:lx,WebcamIcon:lx,Webhook:px,WebhookIcon:px,WebhookOff:hx,WebhookOffIcon:hx,Weight:ux,WeightIcon:ux,Wheat:kx,WheatIcon:kx,WheatOff:yx,WheatOffIcon:yx,WholeWord:mx,WholeWordIcon:mx,Wifi:Ix,WifiCog:fx,WifiCogIcon:fx,WifiHigh:gx,WifiHighIcon:gx,WifiIcon:Ix,WifiLow:vx,WifiLowIcon:vx,WifiOff:Mx,WifiOffIcon:Mx,WifiPen:_x,WifiPenIcon:_x,WifiSync:xx,WifiSyncIcon:xx,WifiZero:Lx,WifiZeroIcon:Lx,Wind:bx,WindArrowDown:wx,WindArrowDownIcon:wx,WindIcon:bx,Wine:Nx,WineIcon:Nx,WineOff:Cx,WineOffIcon:Cx,Workflow:Sx,WorkflowIcon:Sx,Worm:jx,WormIcon:jx,WrapText:$x,WrapTextIcon:$x,Wrench:qx,WrenchIcon:qx,X:Ke,XCircle:gt,XCircleIcon:gt,XIcon:Ke,XOctagon:An,XOctagonIcon:An,XSquare:Yo,XSquareIcon:Yo,Youtube:zx,YoutubeIcon:zx,Zap:Vx,ZapIcon:Vx,ZapOff:Ax,ZapOffIcon:Ax,ZoomIn:Px,ZoomInIcon:Px,ZoomOut:Tx,ZoomOutIcon:Tx,createLucideIcon:a.createLucideIcon,icons:Vse},Symbol.toStringTag,{value:"Module"})),Pse=({size:e=250,background:t="#fff",headerTop:n,headerBottom:o,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 c.jsxs("div",{style:m,className:`stat-card ${u}`,children:[c.jsxs("div",{className:"stat-card-header",children:[c.jsx("div",{className:"stat-card-header-top",style:i,children:n}),o&&c.jsx("div",{className:"stat-card-header-bottom",style:r,children:o})]}),c.jsxs("div",{className:"stat-card-body",style:{opacity:p?0:1},children:[c.jsx("div",{className:"progress-row-single",children:c.jsx(Lw,{...f})}),c.jsxs("div",{className:"progress-row-double",children:[c.jsx("div",{className:"progress-item",children:c.jsx(ej,{...d})}),c.jsx("div",{className:"progress-item",children:c.jsx(Lw,{...g})})]})]}),p&&c.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:c.jsx(a.Move,{size:32,strokeWidth:1.5,style:{opacity:.8}})})]})},tj=k.createContext(void 0),it=()=>{const e=k.useContext(tj);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},Tse=({children:e,defaultActive:t=""})=>{const[n,o]=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 c.jsx(tj.Provider,{value:{activeNav:n,setActiveNav:o,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},aj=({categories:e,logo:t="Menu",buttonContent:n,position:o="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}=it();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&&o==="auto"&&y.current){const M=y.current.getBoundingClientRect(),v=window.innerWidth/2;u(M.left<v?"left":"right")}},[d,o]);const m=t?ht[t]:null,_=o==="auto"?h:o;return c.jsxs("div",{className:"dropdown",ref:p,children:[c.jsxs("button",{ref:y,type:"button",className:"dropdown-button",onClick:()=>l(M=>!M),"aria-expanded":d,"aria-haspopup":"true",children:[m&&c.jsx(m,{size:20}),n&&c.jsx("span",{className:"button-text",children:n})]}),d&&c.jsxs("div",{className:`dropdown-content ${_}`,children:[s&&c.jsx("div",{className:"dropdown-top-content",children:s}),e?.map((M,v)=>c.jsxs("div",{className:"dropdown-category",children:[M.title&&c.jsx("div",{className:"category-title",children:M.title}),c.jsx("div",{className:"category-items",children:M.items.map((x,C)=>{const w=x.id??x.label,b=f===w||g===w,L=x.select??r;if(x.id==="language"){if(!L||!Array.isArray(L.options)||!L.onChange)return c.jsx("div",{className:"dropdown-language"},C);const S=Array.isArray(L.options)?L.options:[],N=S.some(j=>j.code===L.value)?S:[{code:L.value??"",label:String(L.value??"")},...S];return c.jsx("div",{className:"dropdown-language",children:c.jsx("select",{name:L.name??"language",className:"language-select",value:L.value??"",onChange:j=>{const T=j.target.value;try{L.onChange(T)}catch(D){console.error("select onChange error",D)}},children:N.map(j=>c.jsx("option",{value:j.code,children:j.label},j.code))})},C)}const I={className:`dropdown-item ${b?"active":""}`,onClick:()=>{x.onClick?.(),l(!1)},role:x.type==="button"||!x.href?"button":void 0};return x.type==="button"||!x.href?c.jsx("button",{type:"button",...I,children:x.label},C):c.jsx("a",{...I,href:x.href,children:x.label},C)})})]},v))]})]})},nj=({children:e,container:t=!1,item:n=!1,parent:o=!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:_=!1,displayNone:M=!1})=>{const[v,x]=k.useState([]);k.useEffect(()=>{const I=j=>{const T=[];return k.Children.forEach(j,D=>{Array.isArray(D)?T.push(...I(D)):k.isValidElement(D)&&T.push(D)}),T},q=I(e).filter(j=>k.isValidElement(j)).map(j=>{let T="";const D=j.props;return T=[D.xs?`grid-xs-${D.xs}`:"",D.sm?`grid-sm-${D.sm}`:"",D.md?`grid-md-${D.md}`:"",D.lg?`grid-lg-${D.lg}`:"",D.xl?`grid-xl-${D.xl}`:"",D.className?D.className:""].join(" ").trim(),{node:j,classes:T}});let N=q;g&&g.length>0&&(N=q.map((j,T)=>({...j,node:q[g[T]]?.node??j.node}))),x(N)},[e]);const C=(I,S)=>{I.stopPropagation(),I.dataTransfer.setData("dragIndex",S.toString()),I.dataTransfer.setData("parentKey",p.toString())},w=I=>{I.preventDefault(),I.stopPropagation()},b=(I,S)=>{I.preventDefault();const q=Number(I.dataTransfer.getData("dragIndex")),N=Number(I.dataTransfer.getData("parentKey"));if(t&&N!==p)return;const j=[...v];let T=-1,D=-1;if(j.forEach(($,V)=>{if(k.isValidElement($.node)){const B=$.node.props;B.uniqueKey===S&&(T=V),B.uniqueKey===q&&(D=V)}}),T===-1||D===-1)return;const z=j[D].node;j[D]={...j[D],node:j[T].node},j[T]={...j[T],node:z},x(j),typeof m=="function"&&m(D,T)},L=o?[i?`grid-xs-${i}`:"",r?`grid-sm-${r}`:"",s?`grid-md-${s}`:"",d?`grid-lg-${d}`:"",l?`grid-xl-${l}`:""].join(" "):"";return!o&&f?y={...y,width:`${f}px`}:!o&&!f&&(y={...y,width:"100%"}),y={...y,height:"100%"},t?c.jsx("div",{className:`${u} grid-container ${L}`,style:{"--gap-grid":`${h}rem`,...y},children:v.map(I=>I.node.type?.displayName==="Grid"?_?c.jsx("div",{draggable:!0,onDragStart:S=>C(S,I.node?.props?.uniqueKey),onDragOver:S=>w(S),onDrop:S=>b(S,I.node?.props?.uniqueKey),className:`grid-item grid-item-grabbing ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,style:{cursor:"grab"},children:I.node},I.node?.props?.uniqueKey):c.jsx("div",{className:`grid-item ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,children:I.node},I.node?.props?.uniqueKey):I.node)}):n?c.jsx("div",{className:`${u} grid-item ${L} ${M?"grid-display-none":""}`,style:{gap:`${h}rem`,...y},children:e}):c.jsx(c.Fragment,{children:e})};nj.displayName="Grid";const Xw=({imagePath:e,...t})=>{const[n,o]=k.useState(!1);return k.useEffect(()=>{o(!0)},[]),n?c.jsx("div",{className:`logo logo--${t.size}`,children:c.jsx("a",{href:"/",children:c.jsx("img",{src:e,alt:"Saniia Smart Bed Management",className:"logo-image"})})}):c.jsx("div",{className:"logo logo-placeholder"})},Iw=({id:e,label:t,isActive:n=!1,onClick:o,href:i,highlightColor:r="#008CBA",moduleKey:s="",...d})=>{const{setActiveNav:l}=it(),h=()=>{l(e),o?.(e)};return i?c.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:h,...d,children:t}):c.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:h,role:o?"button":"presentation",tabIndex:o?0:-1,...d,children:t})},oj=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:o={},dropdownPosition:i="auto"})=>{const{activeNav:r}=it(),[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 x=y.current.parentNode?.parentElement?.offsetWidth||0;d(x*.8<y.current.offsetWidth||x<1100)}};return v(),window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)},[]),k.useEffect(()=>{if(l&&i==="auto"&&f.current){const v=f.current.getBoundingClientRect(),x=window.innerWidth/2;p(v.left<x?"left":"right")}},[l,i]),k.useEffect(()=>{if(!l)return;const v=x=>{g.current&&!g.current.contains(x.target)&&f.current&&!f.current.contains(x.target)&&h(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[l]);const m=v=>{t?.(v),h(!1)},_=e.find(v=>v.id===r)||e[0],M=i==="auto"?u:i;return c.jsx("div",{ref:y,children:s?c.jsxs("div",{className:"navbar-mobile",children:[c.jsxs("button",{ref:f,className:"navbar-dropdown-toggle",onClick:()=>h(!l),style:{backgroundColor:n,color:"#fff"},"aria-expanded":l,"aria-haspopup":"true",children:[_.label,c.jsx("span",{className:`dropdown-arrow ${l?"open":""}`})]}),l&&c.jsx("div",{ref:g,className:`navbar-dropdown ${M}`,children:e.map(v=>c.jsx(Iw,{id:v.id,label:v.label,href:v.moduleKey&&o[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&o[v.moduleKey],onClick:m,highlightColor:n},v.id))})]}):c.jsx("nav",{className:"navbar",children:e.map(v=>c.jsx(Iw,{id:v.id,label:v.label,href:v.moduleKey&&o[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&o[v.moduleKey],onClick:m,highlightColor:n},v.id))})})},cj=k.createContext(void 0),Hse=({children:e,initialTheme:t})=>{const[n,o]=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=>{o(r)},[]);return c.jsx(cj.Provider,{value:{themeName:n,setTheme:i},children:e})},ij=()=>{const e=k.useContext(cj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},tL=()=>{const{themeName:e,setTheme:t}=ij(),n=k.useCallback(o=>{t(o)},[t]);return{currentTheme:e,switchTheme:n}},C1=({colors:e={},leftIcon:t,rightIcon:n,checked:o=!1,onToggle:i,size:r=24,className:s="",style:d})=>{const l=()=>i?.(!o),h=u=>{(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),l())};return c.jsxs("div",{role:"switch","aria-checked":o,tabIndex:0,className:`switcher ${o?"switcher-checked":""} ${s}`,style:{"--bg":e.bg||"#1f2937","--active-bg":e.activeBg||"#facc15","--border":e.border||"#fff","--circle":e.circle||"#fff","--icon":e.icon||"#fbbf24","--icon2":e.icon2||e.icon||"#fbbf24","--size":`${r}px`,...d},onClick:l,onKeyDown:h,children:[c.jsx("div",{className:"switcher-circle"}),c.jsxs("div",{className:"switcher-icons",children:[t&&c.jsx("div",{className:"switcher-icon-left",children:t}),n&&c.jsx("div",{className:"switcher-icon-right",children:n})]})]})},ww=({lightTheme:e="light",darkTheme:t="dark",leftIcon:n="Sun",rightIcon:o="Moon",colors:i={bg:"#e5e7eb",activeBg:"#3b82f6",border:"#ffffff",circle:"#ffffff",icon:"#3b82f6",icon2:"#ffffff"},size:r=24})=>{const{currentTheme:s,switchTheme:d}=tL(),[l,h]=k.useState(!1);if(k.useEffect(()=>{h(!0)},[]),!l)return null;const u=s===t,p=y=>{d(y?t:e)};return c.jsx(C1,{leftIcon:n,rightIcon:o,checked:u,onToggle:p,colors:i,size:r})},Dse=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.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"})),Bb=k.memo(Dse),rj=k.createContext(void 0),Bse=({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 o=i=>{n(i)};return c.jsx(rj.Provider,{value:{isDraggable:t,switchDraggable:o},children:e})},sj=()=>{const e=k.useContext(rj);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},Ox=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"var(--color-primary)",border:"transparent",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},size:o=24})=>{const{isDraggable:i,switchDraggable:r}=sj(),[s,d]=k.useState(!1);if(k.useEffect(()=>{d(!0)},[]),!s)return null;const l=h=>{r(h)};return c.jsx(C1,{leftIcon:e||c.jsx(Bb,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Bb,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:i,onToggle:l,colors:n,size:o})},Rse=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.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"})),Rb=k.memo(Rse),dj=k.createContext(void 0),Fse=({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 o=i=>{n(i)};return c.jsx(dj.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:o},children:e})},lj=()=>{const e=k.useContext(dj);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},Ux=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"#ef4444",border:"#ffffff",circle:"#ffffff",icon:"#ef4444",icon2:"#ffffff"},size:o=24})=>{const{disableLegendFilter:i,switchDisableLegendFilter:r}=lj(),[s,d]=k.useState(!1);if(k.useEffect(()=>{d(!0)},[]),!s)return null;const l=h=>{r(h)};return c.jsx(C1,{leftIcon:e||c.jsx(Rb,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Rb,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:i,onToggle:l,colors:n,size:o})},hj=k.createContext(void 0),Ese=({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 o=i=>{n(i)};return c.jsx(hj.Provider,{value:{showData:t,switchShowData:o},children:e})},uj=()=>{const e=k.useContext(hj);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},Ose=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.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"})),Fb=k.memo(Ose),Wx=({size:e=24,colors:t={bg:"var(--color-switcher-background)",activeBg:"#10b981",border:"#ffffff",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"}})=>{const{showData:n,switchShowData:o}=uj(),[i,r]=k.useState(!1);return k.useEffect(()=>{r(!0)},[]),i?c.jsx(C1,{checked:n,onToggle:s=>o(s),size:e,leftIcon:c.jsx(Fb,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:c.jsx(Fb,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t}):null},Use=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.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"})),pj=k.memo(Use);function bw({items:e,onSave:t,loading:n,disabled:o,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(_=>_.component_key===f&&g>3?{..._,visible:!_.visible}:_))},y=()=>{t(h),l(!1)};return c.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[c.jsx("div",{onClick:()=>o||l(f=>!f),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-primary)"},title:s,children:c.jsx(pj,{fill:"currentColor"})}),d&&c.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:[c.jsx("ul",{style:{listStyle:"none",padding:0,margin:0,marginBottom:12},children:h.map((f,g)=>c.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[c.jsx("input",{type:"checkbox",checked:f.visible,disabled:g<4,onChange:()=>p(f.component_key,g),style:{marginRight:8}}),c.jsx("span",{style:{color:g<4?"#6b7280":"#111827"},children:f.label}),g<4&&c.jsx("span",{style:{fontSize:"var(--text-paragraph)",color:"#9ca3af",marginLeft:6}})]},f.component_key))}),c.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 Wse=({logoPath:e,navItems:t,onNavClick:n,dropdownItems:o,headerBg:i,highlightColor:r="#1387C8",moduleConfig:s={},componentVisibilityItems:d=[],onComponentVisibilitySave:l,componentVisibilityLoading:h=!1,componentVisibilitySaveLabel:u,componentVisibilitySavingLabel:p,componentVisibilityButtonTitle:y})=>{const{activeSwitchers:f}=it(),g=f?.draggable===!0,m=f?.showData===!0,_=f?.legendFilter===!0,M=f?.componentVisibility===!0&&d&&d.length>0;return c.jsx("header",{className:"header",style:{backgroundColor:i},children:c.jsxs("div",{className:"header-layout-container",children:[c.jsxs("div",{className:"header-left",children:[c.jsx("a",{href:"/",children:c.jsx(Xw,{imagePath:e})}),c.jsx(oj,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),c.jsxs("div",{className:"header-right",children:[c.jsxs("div",{className:"switcher-container",children:[g&&c.jsx(Ox,{}),m&&c.jsx(Wx,{}),_&&c.jsx(Ux,{}),c.jsx(ww,{}),M&&c.jsx(bw,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),c.jsx(aj,{categories:o?.categories,buttonContent:o?.buttonContent,topContent:c.jsxs("div",{className:"dropdown-switchers",children:[g&&c.jsx(Ox,{}),m&&c.jsx(Wx,{}),_&&c.jsx(Ux,{}),c.jsx(ww,{}),M&&c.jsx(bw,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},yj=({icon:e,text:t,size:n=16,color:o="currentColor",className:i="",active:r=!1,href:s})=>{const d=e?ht[e]:null,l=s?"a":"div";return c.jsxs(l,{className:`icon-text ${r?"icon-text-active":""} ${i}`,style:{color:o},role:"text","aria-label":t,...s?{href:s}:{},children:[d&&c.jsx(d,{size:n,"aria-hidden":"true"}),c.jsx("span",{children:t})]})},kj=({children:e,className:t="",style:n,item:o})=>c.jsxs("div",{className:`scrollable-horizontale ${t}`,style:n,children:[c.jsx("div",{className:"scrollable",children:e}),c.jsx("div",{className:"scrollable-dropdown",children:c.jsx(aj,{logo:"BarChart",position:"right",categories:o})})]}),Gse=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:o})=>{const{activeSubNav:i}=it();return c.jsx(kj,{style:n,item:o,children:e?.map(r=>c.jsx(yj,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i},r.id))})},mj=({title:e,subtitle:t,text:n,background:o="#f9f9f9",titleStyle:i,subtitleStyle:r,textStyle:s,itemStyle:d,icon:l})=>{const[h,u]=n?n.split("/"):[];return c.jsxs("div",{className:"trend-item",style:{background:o,...d},children:[c.jsxs("div",{className:"trend-left",children:[c.jsx("div",{className:"trend-icon",children:l}),c.jsxs("div",{className:"trend-texts",children:[c.jsx("span",{className:"trend-title",style:i,children:e}),t&&c.jsx("span",{className:"trend-subtitle",style:r,children:t})]})]}),c.jsxs("div",{className:"trend-right",style:s,children:[c.jsx("span",{className:"trend-right-left",children:h}),c.jsx("span",{className:"trend-right-separator",children:" / "}),c.jsx("span",{className:"trend-right-right",children:u})]})]})},Yw=k.createContext({});function Nt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const Jw=typeof window<"u",Qw=Jw?k.useLayoutEffect:k.useEffect,aL=k.createContext(null);function eb(e,t){e.indexOf(t)===-1&&e.push(t)}function tb(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Zse([...e],t,n){const o=t<0?e.length+t:t;if(o>=0&&o<e.length){const i=n<0?e.length+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}return e}const ut=(e,t,n)=>n>t?t:n<e?e:n;function Cw(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Fc=()=>{},Ye=()=>{};process.env.NODE_ENV!=="production"&&(Fc=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Cw(t,n))},Ye=(e,t,n)=>{if(!e)throw new Error(Cw(t,n))});const pt={},fj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function gj(e){return typeof e=="object"&&e!==null}const vj=e=>/^0[^.\s]+$/u.test(e);function ab(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ue=e=>e,Kse=(e,t)=>n=>t(e(n)),N1=(...e)=>e.reduce(Kse),M1=(e,t,n)=>{const o=t-e;return o===0?1:(n-e)/o};class nb{constructor(){this.subscriptions=[]}add(t){return eb(this.subscriptions,t),()=>tb(this.subscriptions,t)}notify(t,n,o){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,o);else for(let r=0;r<i;r++){const s=this.subscriptions[r];s&&s(t,n,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Xe=e=>e*1e3,Oe=e=>e/1e3;function Mj(e,t){return t?e*(1e3/t):0}const Eb=new Set;function ob(e,t,n){e||Eb.has(t)||(console.warn(Cw(t,n)),Eb.add(t))}const _j=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Xse=1e-7,Yse=12;function Jse(e,t,n,o,i){let r,s,d=0;do s=t+(n-t)/2,r=_j(s,o,i)-e,r>0?n=s:t=s;while(Math.abs(r)>Xse&&++d<Yse);return s}function S1(e,t,n,o){if(e===t&&n===o)return Ue;const i=r=>Jse(r,0,1,e,n);return r=>r===0||r===1?r:_j(i(r),t,o)}const xj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Lj=e=>t=>1-e(1-t),Ij=S1(.33,1.53,.69,.99),cb=Lj(Ij),wj=xj(cb),bj=e=>(e*=2)<1?.5*cb(e):.5*(2-Math.pow(2,-10*(e-1))),ib=e=>1-Math.sin(Math.acos(e)),Cj=Lj(ib),Nj=xj(ib),Qse=S1(.42,0,1,1),e2e=S1(0,0,.58,1),Sj=S1(.42,0,.58,1),t2e=e=>Array.isArray(e)&&typeof e[0]!="number",jj=e=>Array.isArray(e)&&typeof e[0]=="number",Ob={linear:Ue,easeIn:Qse,easeInOut:Sj,easeOut:e2e,circIn:ib,circInOut:Nj,circOut:Cj,backIn:cb,backInOut:wj,backOut:Ij,anticipate:bj},a2e=e=>typeof e=="string",Ub=e=>{if(jj(e)){Ye(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,o,i]=e;return S1(t,n,o,i)}else if(a2e(e))return Ye(Ob[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Ob[e];return e},V1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function n2e(e,t){let n=new Set,o=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:o;return p&&s.add(u),g.has(u)||g.add(u),u},cancel:u=>{o.delete(u),s.delete(u)},process:u=>{if(d=u,i){r=!0;return}i=!0,[n,o]=[o,n],n.forEach(l),n.clear(),i=!1,r&&(r=!1,h.process(u))}};return h}const o2e=40;function $j(e,t){let n=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=V1.reduce((x,C)=>(x[C]=n2e(r),x),{}),{setup:d,read:l,resolveKeyframes:h,preUpdate:u,update:p,preRender:y,render:f,postRender:g}=s,m=()=>{const x=pt.useManualTiming?i.timestamp:performance.now();n=!1,pt.useManualTiming||(i.delta=o?1e3/60:Math.max(Math.min(x-i.timestamp,o2e),1)),i.timestamp=x,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&&(o=!1,e(m))},_=()=>{n=!0,o=!0,i.isProcessing||e(m)};return{schedule:V1.reduce((x,C)=>{const w=s[C];return x[C]=(b,L=!1,I=!1)=>(n||_(),w.schedule(b,L,I)),x},{}),cancel:x=>{for(let C=0;C<V1.length;C++)s[V1[C]].cancel(x)},state:i,steps:s}}const{schedule:ce,cancel:yt,state:ve,steps:wL}=$j(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ue,!0);let Hx;function c2e(){Hx=void 0}const ze={now:()=>(Hx===void 0&&ze.set(ve.isProcessing||pt.useManualTiming?ve.timestamp:performance.now()),Hx),set:e=>{Hx=e,queueMicrotask(c2e)}},qj=e=>t=>typeof t=="string"&&t.startsWith(e),rb=qj("--"),i2e=qj("var(--"),sb=e=>i2e(e)?r2e.test(e.split("/*")[0].trim()):!1,r2e=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Ec={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},_1={...Ec,transform:e=>ut(0,1,e)},P1={...Ec,default:1},k1=e=>Math.round(e*1e5)/1e5,db=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function s2e(e){return e==null}const d2e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,lb=(e,t)=>n=>!!(typeof n=="string"&&d2e.test(n)&&n.startsWith(e)||t&&!s2e(n)&&Object.prototype.hasOwnProperty.call(n,t)),Aj=(e,t,n)=>o=>{if(typeof o!="string")return o;const[i,r,s,d]=o.match(db);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},l2e=e=>ut(0,255,e),bL={...Ec,transform:e=>Math.round(l2e(e))},fc={test:lb("rgb","red"),parse:Aj("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+bL.transform(e)+", "+bL.transform(t)+", "+bL.transform(n)+", "+k1(_1.transform(o))+")"};function h2e(e){let t="",n="",o="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,o+=o,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}}const Nw={test:lb("#"),parse:h2e,transform:fc.transform},j1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ft=j1("deg"),ct=j1("%"),E=j1("px"),u2e=j1("vh"),p2e=j1("vw"),Wb={...ct,parse:e=>ct.parse(e)/100,transform:e=>ct.transform(e*100)},jc={test:lb("hsl","hue"),parse:Aj("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+ct.transform(k1(t))+", "+ct.transform(k1(n))+", "+k1(_1.transform(o))+")"},pe={test:e=>fc.test(e)||Nw.test(e)||jc.test(e),parse:e=>fc.test(e)?fc.parse(e):jc.test(e)?jc.parse(e):Nw.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?fc.transform(e):jc.transform(e),getAnimatableNone:e=>{const t=pe.parse(e);return t.alpha=0,pe.transform(t)}},y2e=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function k2e(e){return isNaN(e)&&typeof e=="string"&&(e.match(db)?.length||0)+(e.match(y2e)?.length||0)>0}const zj="number",Vj="color",m2e="var",f2e="var(",Gb="${}",g2e=/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 x1(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(g2e,l=>(pe.test(l)?(o.color.push(r),i.push(Vj),n.push(pe.parse(l))):l.startsWith(f2e)?(o.var.push(r),i.push(m2e),n.push(l)):(o.number.push(r),i.push(zj),n.push(parseFloat(l))),++r,Gb)).split(Gb);return{values:n,split:d,indexes:o,types:i}}function Pj(e){return x1(e).values}function Tj(e){const{split:t,types:n}=x1(e),o=t.length;return i=>{let r="";for(let s=0;s<o;s++)if(r+=t[s],i[s]!==void 0){const d=n[s];d===zj?r+=k1(i[s]):d===Vj?r+=pe.transform(i[s]):r+=i[s]}return r}}const v2e=e=>typeof e=="number"?0:pe.test(e)?pe.getAnimatableNone(e):e;function M2e(e){const t=Pj(e);return Tj(e)(t.map(v2e))}const Ct={test:k2e,parse:Pj,createTransformer:Tj,getAnimatableNone:M2e};function CL(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 _2e({hue:e,saturation:t,lightness:n,alpha:o}){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=CL(l,d,e+1/3),r=CL(l,d,e),s=CL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:o}}function Gx(e,t){return n=>n>0?t:e}const ie=(e,t,n)=>e+(t-e)*n,NL=(e,t,n)=>{const o=e*e,i=n*(t*t-o)+o;return i<0?0:Math.sqrt(i)},x2e=[Nw,fc,jc],L2e=e=>x2e.find(t=>t.test(e));function Zb(e){const t=L2e(e);if(Fc(!!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===jc&&(n=_2e(n)),n}const Kb=(e,t)=>{const n=Zb(e),o=Zb(t);if(!n||!o)return Gx(e,t);const i={...n};return r=>(i.red=NL(n.red,o.red,r),i.green=NL(n.green,o.green,r),i.blue=NL(n.blue,o.blue,r),i.alpha=ie(n.alpha,o.alpha,r),fc.transform(i))},Sw=new Set(["none","hidden"]);function I2e(e,t){return Sw.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function w2e(e,t){return n=>ie(e,t,n)}function hb(e){return typeof e=="number"?w2e:typeof e=="string"?sb(e)?Gx:pe.test(e)?Kb:N2e:Array.isArray(e)?Hj:typeof e=="object"?pe.test(e)?Kb:b2e:Gx}function Hj(e,t){const n=[...e],o=n.length,i=e.map((r,s)=>hb(r)(r,t[s]));return r=>{for(let s=0;s<o;s++)n[s]=i[s](r);return n}}function b2e(e,t){const n={...e,...t},o={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(o[i]=hb(e[i])(e[i],t[i]));return i=>{for(const r in o)n[r]=o[r](i);return n}}function C2e(e,t){const n=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const r=t.types[i],s=e.indexes[r][o[r]],d=e.values[s]??0;n[i]=d,o[r]++}return n}const N2e=(e,t)=>{const n=Ct.createTransformer(t),o=x1(e),i=x1(t);return o.indexes.var.length===i.indexes.var.length&&o.indexes.color.length===i.indexes.color.length&&o.indexes.number.length>=i.indexes.number.length?Sw.has(e)&&!i.values.length||Sw.has(t)&&!o.values.length?I2e(e,t):N1(Hj(C2e(o,i),i.values),n):(Fc(!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"),Gx(e,t))};function Dj(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ie(e,t,n):hb(e)(e,t)}const S2e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ce.update(t,n),stop:()=>yt(t),now:()=>ve.isProcessing?ve.timestamp:ze.now()}},Bj=(e,t,n=10)=>{let o="";const i=Math.max(Math.round(t/n),2);for(let r=0;r<i;r++)o+=Math.round(e(r/(i-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},Zx=2e4;function ub(e){let t=0;const n=50;let o=e.next(t);for(;!o.done&&t<Zx;)t+=n,o=e.next(t);return t>=Zx?1/0:t}function j2e(e,t=100,n){const o=n({...e,keyframes:[0,t]}),i=Math.min(ub(o),Zx);return{type:"keyframes",ease:r=>o.next(i*r).value/t,duration:Oe(i)}}const $2e=5;function Rj(e,t,n){const o=Math.max(t-$2e,0);return Mj(n-e(o),t-o)}const de={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},SL=.001;function q2e({duration:e=de.duration,bounce:t=de.bounce,velocity:n=de.velocity,mass:o=de.mass}){let i,r;Fc(e<=Xe(de.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=ut(de.minDamping,de.maxDamping,s),e=ut(de.minDuration,de.maxDuration,Oe(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,f=jw(h,s),g=Math.exp(-p);return SL-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=jw(Math.pow(h,2),s);return(-i(h)+SL>0?-1:1)*((y-f)*g)/m}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-SL+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=z2e(i,r,d);if(e=Xe(e),isNaN(l))return{stiffness:de.stiffness,damping:de.damping,duration:e};{const h=Math.pow(l,2)*o;return{stiffness:h,damping:s*2*Math.sqrt(o*h),duration:e}}}const A2e=12;function z2e(e,t,n){let o=n;for(let i=1;i<A2e;i++)o=o-e(o)/t(o);return o}function jw(e,t){return e*Math.sqrt(1-t*t)}const V2e=["duration","bounce"],P2e=["stiffness","damping","mass"];function Xb(e,t){return t.some(n=>e[n]!==void 0)}function T2e(e){let t={velocity:de.velocity,stiffness:de.stiffness,damping:de.damping,mass:de.mass,isResolvedFromDuration:!1,...e};if(!Xb(e,P2e)&&Xb(e,V2e))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(n*1.2),i=o*o,r=2*ut(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:de.mass,stiffness:i,damping:r}}else{const n=q2e(e);t={...t,...n,mass:de.mass},t.isResolvedFromDuration=!0}return t}function Kx(e=de.visualDuration,t=de.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,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}=T2e({...n,velocity:-Oe(n.velocity||0)}),g=y||0,m=h/(2*Math.sqrt(l*u)),_=s-r,M=Oe(Math.sqrt(l/u)),v=Math.abs(_)<5;o||(o=v?de.restSpeed.granular:de.restSpeed.default),i||(i=v?de.restDelta.granular:de.restDelta.default);let x;if(m<1){const w=jw(M,m);x=b=>{const L=Math.exp(-m*M*b);return s-L*((g+m*M*_)/w*Math.sin(w*b)+_*Math.cos(w*b))}}else if(m===1)x=w=>s-Math.exp(-M*w)*(_+(g+M*_)*w);else{const w=M*Math.sqrt(m*m-1);x=b=>{const L=Math.exp(-m*M*b),I=Math.min(w*b,300);return s-L*((g+m*M*_)*Math.sinh(I)+w*_*Math.cosh(I))/w}}const C={calculatedDuration:f&&p||null,next:w=>{const b=x(w);if(f)d.done=w>=p;else{let L=w===0?g:0;m<1&&(L=w===0?Xe(g):Rj(x,w,b));const I=Math.abs(L)<=o,S=Math.abs(s-b)<=i;d.done=I&&S}return d.value=d.done?s:b,d},toString:()=>{const w=Math.min(ub(C),Zx),b=Bj(L=>C.next(w*L).value,w,30);return w+"ms "+b},toTransition:()=>{}};return C}Kx.applyToOptions=e=>{const t=j2e(e,100,Kx);return e.ease=t.ease,e.duration=Xe(t.duration),e.type="keyframes",e};function $w({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:s,min:d,max:l,restDelta:h=.5,restSpeed:u}){const p=e[0],y={done:!1,value:p},f=I=>d!==void 0&&I<d||l!==void 0&&I>l,g=I=>d===void 0?l:l===void 0||Math.abs(d-I)<Math.abs(l-I)?d:l;let m=n*t;const _=p+m,M=s===void 0?_:s(_);M!==_&&(m=M-p);const v=I=>-m*Math.exp(-I/o),x=I=>M+v(I),C=I=>{const S=v(I),q=x(I);y.done=Math.abs(S)<=h,y.value=y.done?M:q};let w,b;const L=I=>{f(y.value)&&(w=I,b=Kx({keyframes:[y.value,g(y.value)],velocity:Rj(x,I,y.value),damping:i,stiffness:r,restDelta:h,restSpeed:u}))};return L(0),{calculatedDuration:null,next:I=>{let S=!1;return!b&&w===void 0&&(S=!0,C(I),L(I)),w!==void 0&&I>=w?b.next(I-w):(!S&&C(I),y)}}}function H2e(e,t,n){const o=[],i=n||pt.mix||Dj,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]||Ue:t;d=N1(l,d)}o.push(d)}return o}function Fj(e,t,{clamp:n=!0,ease:o,mixer:i}={}){const r=e.length;if(Ye(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=H2e(t,o,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=M1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(ut(e[0],e[r-1],u)):h}function D2e(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const i=M1(0,t,o);e.push(ie(n,1,i))}}function B2e(e){const t=[0];return D2e(t,e.length-1),t}function R2e(e,t){return e.map(n=>n*t)}function F2e(e,t){return e.map(()=>t||Sj).splice(0,e.length-1)}function $c({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const i=t2e(o)?o.map(Ub):Ub(o),r={done:!1,value:t[0]},s=R2e(n&&n.length===t.length?n:B2e(t),e),d=Fj(s,t,{ease:Array.isArray(i)?i:F2e(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const E2e=e=>e!==null;function pb(e,{repeat:t,repeatType:n="loop"},o,i=1){const r=e.filter(E2e),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||o===void 0?r[d]:o}const O2e={decay:$w,inertia:$w,tween:$c,keyframes:$c,spring:Kx};function Ej(e){typeof e.type=="string"&&(e.type=O2e[e.type])}class yb{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 U2e=e=>e/100;class kb extends yb{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!==ze.now()&&this.tick(ze.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;Ej(t);const{type:n=$c,repeat:o=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const l=n||$c;process.env.NODE_ENV!=="production"&&l!==$c&&Ye(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),l!==$c&&typeof d[0]!="number"&&(this.mixKeyframes=N1(U2e,Dj(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=ub(h));const{calculatedDuration:u}=h;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(o+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:o,totalDuration:i,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:d,calculatedDuration:l}=this;if(this.startTime===null)return o.next(0);const{delay:h=0,keyframes:u,repeat:p,repeatType:y,repeatDelay:f,type:g,onUpdate:m,finalKeyframe:_}=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 x=this.currentTime,C=o;if(p){const I=Math.min(this.currentTime,i)/d;let S=Math.floor(I),q=I%1;!q&&I>=1&&(q=1),q===1&&S--,S=Math.min(S,p+1),!!(S%2)&&(y==="reverse"?(q=1-q,f&&(q-=f/d)):y==="mirror"&&(C=s)),x=ut(0,1,q)*d}const w=v?{done:!1,value:u[0]}:C.next(x);r&&(w.value=r(w.value));let{done:b}=w;!v&&l!==null&&(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const L=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return L&&g!==$w&&(w.value=pb(u,this.options,_,this.speed)),m&&m(w.value),L&&this.finish(),w}then(t,n){return this.finished.then(t,n)}get duration(){return Oe(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Oe(t)}get time(){return Oe(this.currentTime)}set time(t){t=Xe(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(ze.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Oe(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=S2e,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=n??o),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(ze.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 W2e(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const gc=e=>e*180/Math.PI,qw=e=>{const t=gc(Math.atan2(e[1],e[0]));return Aw(t)},G2e={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:qw,rotateZ:qw,skewX:e=>gc(Math.atan(e[1])),skewY:e=>gc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Aw=e=>(e=e%360,e<0&&(e+=360),e),Yb=qw,Jb=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Qb=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Z2e={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Jb,scaleY:Qb,scale:e=>(Jb(e)+Qb(e))/2,rotateX:e=>Aw(gc(Math.atan2(e[6],e[5]))),rotateY:e=>Aw(gc(Math.atan2(-e[2],e[0]))),rotateZ:Yb,rotate:Yb,skewX:e=>gc(Math.atan(e[4])),skewY:e=>gc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function zw(e){return e.includes("scale")?1:0}function Vw(e,t){if(!e||e==="none")return zw(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,i;if(n)o=Z2e,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=G2e,i=d}if(!i)return zw(t);const r=o[t],s=i[1].split(",").map(X2e);return typeof r=="function"?r(s):s[r]}const K2e=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Vw(n,t)};function X2e(e){return parseFloat(e.trim())}const Oc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Uc=new Set(Oc),eC=e=>e===Ec||e===E,Y2e=new Set(["x","y","z"]),J2e=Oc.filter(e=>!Y2e.has(e));function Q2e(e){const t=[];return J2e.forEach(n=>{const o=e.getValue(n);o!==void 0&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t}const _c={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})=>Vw(t,"x"),y:(e,{transform:t})=>Vw(t,"y")};_c.translateX=_c.x;_c.translateY=_c.y;const xc=new Set;let Pw=!1,Tw=!1,Hw=!1;function Oj(){if(Tw){const e=Array.from(xc).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),n=new Map;t.forEach(o=>{const i=Q2e(o);i.length&&(n.set(o,i),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const i=n.get(o);i&&i.forEach(([r,s])=>{o.getValue(r)?.set(s)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Tw=!1,Pw=!1,xc.forEach(e=>e.complete(Hw)),xc.clear()}function Uj(){xc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Tw=!0)})}function ede(){Hw=!0,Uj(),Oj(),Hw=!1}class mb{constructor(t,n,o,i,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=o,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(xc.add(this),Pw||(Pw=!0,ce.read(Uj),ce.resolveKeyframes(Oj))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:o,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(o&&n){const d=o.readValue(n,s);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=s),i&&r===void 0&&i.set(t[0])}W2e(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),xc.delete(this)}cancel(){this.state==="scheduled"&&(xc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const tde=e=>e.startsWith("--");function ade(e,t,n){tde(t)?e.style.setProperty(t,n):e.style[t]=n}const nde=ab(()=>window.ScrollTimeline!==void 0),ode={};function cde(e,t){const n=ab(e);return()=>ode[t]??n()}const Wj=cde(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Qc=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,tC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Qc([0,.65,.55,1]),circOut:Qc([.55,0,1,.45]),backIn:Qc([.31,.01,.66,-.59]),backOut:Qc([.33,1.53,.69,.99])};function Gj(e,t){if(e)return typeof e=="function"?Wj()?Bj(e,t):"ease-out":jj(e)?Qc(e):Array.isArray(e)?e.map(n=>Gj(n,t)||tC.easeOut):tC[e]}function ide(e,t,n,{delay:o=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=Gj(d,i);Array.isArray(p)&&(u.easing=p);const y={delay:o,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 Zj(e){return typeof e=="function"&&"applyToOptions"in e}function rde({type:e,...t}){return Zj(e)&&Wj()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class sde extends yb{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:o,keyframes:i,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:d,onComplete:l}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,Ye(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const h=rde(t);this.animation=ide(n,o,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=pb(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):ade(n,o,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 Oe(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Oe(t)}get time(){return Oe(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Xe(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&&nde()?(this.animation.timeline=t,Ue):n(this)}}const Kj={anticipate:bj,backInOut:wj,circInOut:Nj};function dde(e){return e in Kj}function lde(e){typeof e.ease=="string"&&dde(e.ease)&&(e.ease=Kj[e.ease])}const aC=10;class hde extends sde{constructor(t){lde(t),Ej(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:o,onComplete:i,element:r,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const d=new kb({...s,autoplay:!1}),l=Xe(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-aC).value,d.sample(l).value,aC),d.stop()}}const nC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ct.test(e)||e==="0")&&!e.startsWith("url("));function ude(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 pde(e,t,n,o){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],s=nC(i,t),d=nC(r,t);return Fc(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:ude(e)||(n==="spring"||Zj(n))&&o}function Dw(e){e.duration=0,e.type="keyframes"}const yde=new Set(["opacity","clipPath","filter","transform"]),kde=ab(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function mde(e){const{motionValue:t,name:n,repeatDelay:o,repeatType:i,damping:r,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:h}=t.owner.getProps();return kde()&&n&&yde.has(n)&&(n!=="transform"||!h)&&!l&&!o&&i!=="mirror"&&r!==0&&s!=="inertia"}const fde=40;class gde extends yb{constructor({autoplay:t=!0,delay:n=0,type:o="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=ze.now();const y={autoplay:t,delay:n,type:o,repeat:i,repeatDelay:r,repeatType:s,name:l,motionValue:h,element:u,...p},f=u?.KeyframeResolver||mb;this.keyframeResolver=new f(d,(g,m,_)=>this.onKeyframesResolved(g,m,y,!_),l,h,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,o,i){this.keyframeResolver=void 0;const{name:r,type:s,velocity:d,delay:l,isHandoff:h,onUpdate:u}=o;this.resolvedAt=ze.now(),pde(t,r,s,d)||((pt.instantAnimations||!l)&&u?.(pb(t,o,n)),t[0]=t[t.length-1],Dw(o),o.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>fde?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...o,keyframes:t},f=!h&&mde(y)?new hde({...y,element:y.motionValue.owner.current}):new kb(y);f.finished.then(()=>this.notifyFinished()).catch(Ue),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(),ede()),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 vde=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Mde(e){const t=vde.exec(e);if(!t)return[,];const[,n,o,i]=t;return[`--${n??o}`,i]}const _de=4;function Xj(e,t,n=1){Ye(n<=_de,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[o,i]=Mde(e);if(!o)return;const r=window.getComputedStyle(t).getPropertyValue(o);if(r){const s=r.trim();return fj(s)?parseFloat(s):s}return sb(i)?Xj(i,t,n+1):i}function fb(e,t){return e?.[t]??e?.default??e}const Yj=new Set(["width","height","top","left","right","bottom",...Oc]),xde={test:e=>e==="auto",parse:e=>e},Jj=e=>t=>t.test(e),Qj=[Ec,E,ct,ft,p2e,u2e,xde],oC=e=>Qj.find(Jj(e));function Lde(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||vj(e):!0}const Ide=new Set(["brightness","contrast","saturate","opacity"]);function wde(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=n.match(db)||[];if(!o)return e;const i=n.replace(o,"");let r=Ide.has(t)?1:0;return o!==n&&(r*=100),t+"("+r+i+")"}const bde=/\b([a-z-]*)\(.*?\)/gu,Bw={...Ct,getAnimatableNone:e=>{const t=e.match(bde);return t?t.map(wde).join(" "):e}},cC={...Ec,transform:Math.round},Cde={rotate:ft,rotateX:ft,rotateY:ft,rotateZ:ft,scale:P1,scaleX:P1,scaleY:P1,scaleZ:P1,skew:ft,skewX:ft,skewY:ft,distance:E,translateX:E,translateY:E,translateZ:E,x:E,y:E,z:E,perspective:E,transformPerspective:E,opacity:_1,originX:Wb,originY:Wb,originZ:E},gb={borderWidth:E,borderTopWidth:E,borderRightWidth:E,borderBottomWidth:E,borderLeftWidth:E,borderRadius:E,radius:E,borderTopLeftRadius:E,borderTopRightRadius:E,borderBottomRightRadius:E,borderBottomLeftRadius:E,width:E,maxWidth:E,height:E,maxHeight:E,top:E,right:E,bottom:E,left:E,padding:E,paddingTop:E,paddingRight:E,paddingBottom:E,paddingLeft:E,margin:E,marginTop:E,marginRight:E,marginBottom:E,marginLeft:E,backgroundPositionX:E,backgroundPositionY:E,...Cde,zIndex:cC,fillOpacity:_1,strokeOpacity:_1,numOctaves:cC},Nde={...gb,color:pe,backgroundColor:pe,outlineColor:pe,fill:pe,stroke:pe,borderColor:pe,borderTopColor:pe,borderRightColor:pe,borderBottomColor:pe,borderLeftColor:pe,filter:Bw,WebkitFilter:Bw},e$=e=>Nde[e];function t$(e,t){let n=e$(e);return n!==Bw&&(n=Ct),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Sde=new Set(["auto","none","0"]);function jde(e,t,n){let o=0,i;for(;o<e.length&&!i;){const r=e[o];typeof r=="string"&&!Sde.has(r)&&x1(r).values.length&&(i=e[o]),o++}if(i&&n)for(const r of t)e[r]=t$(n,i)}class $de extends mb{constructor(t,n,o,i,r){super(t,n,o,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:o}=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(),sb(h))){const u=Xj(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!Yj.has(o)||t.length!==2)return;const[i,r]=t,s=oC(i),d=oC(r);if(s!==d)if(eC(s)&&eC(d))for(let l=0;l<t.length;l++){const h=t[l];typeof h=="string"&&(t[l]=parseFloat(h))}else _c[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,o=[];for(let i=0;i<t.length;i++)(t[i]===null||Lde(t[i]))&&o.push(i);o.length&&jde(t,o,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=_c[o](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(o,i).jump(i,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:o}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=o.length-1,s=o[r];o[r]=_c[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 qde(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;const i=n?.[e]??o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const a$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function n$(e){return gj(e)&&"offsetHeight"in e}const iC=30,Ade=e=>!isNaN(parseFloat(e)),m1={current:void 0};class zde{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const i=ze.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),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=ze.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Ade(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&ob(!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 nb);const o=this.events[t].add(n);return t==="change"?()=>{o(),ce.read(()=>{this.events.change.getSize()||this.stop()})}:o}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,o){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}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 m1.current&&m1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=ze.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>iC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,iC);return Mj(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 Lc(e,t){return new zde(e,t)}const{schedule:vb}=$j(queueMicrotask,!1),Ze={x:!1,y:!1};function o$(){return Ze.x||Ze.y}function Vde(e){return e==="x"||e==="y"?Ze[e]?null:(Ze[e]=!0,()=>{Ze[e]=!1}):Ze.x||Ze.y?null:(Ze.x=Ze.y=!0,()=>{Ze.x=Ze.y=!1})}function c$(e,t){const n=qde(e),o=new AbortController,i={passive:!0,...t,signal:o.signal};return[n,i,()=>o.abort()]}function rC(e){return!(e.pointerType==="touch"||o$())}function Pde(e,t,n={}){const[o,i,r]=c$(e,n),s=d=>{if(!rC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{rC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return o.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const i$=(e,t)=>t?e===t?!0:i$(e,t.parentElement):!1,Mb=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Tde=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Hde(e){return Tde.has(e.tagName)||e.tabIndex!==-1}const Dx=new WeakSet;function sC(e){return t=>{t.key==="Enter"&&e(t)}}function jL(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Dde=(e,t)=>{const n=e.currentTarget;if(!n)return;const o=sC(()=>{if(Dx.has(n))return;jL(n,"down");const i=sC(()=>{jL(n,"up")}),r=()=>jL(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",o,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",o),t)};function dC(e){return Mb(e)&&!o$()}function Bde(e,t,n={}){const[o,i,r]=c$(e,n),s=d=>{const l=d.currentTarget;if(!dC(d))return;Dx.add(l);const h=t(l,d),u=(f,g)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),Dx.has(l)&&Dx.delete(l),dC(f)&&typeof h=="function"&&h(f,{success:g})},p=f=>{u(f,l===window||l===document||n.useGlobalTarget||i$(l,f.target))},y=f=>{u(f,!1)};window.addEventListener("pointerup",p,i),window.addEventListener("pointercancel",y,i)};return o.forEach(d=>{(n.useGlobalTarget?window:d).addEventListener("pointerdown",s,i),n$(d)&&(d.addEventListener("focus",h=>Dde(h,i)),!Hde(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function r$(e){return gj(e)&&"ownerSVGElement"in e}function Rde(e){return r$(e)&&e.tagName==="svg"}function Fde(...e){const t=!Array.isArray(e[0]),n=t?0:-1,o=e[0+n],i=e[1+n],r=e[2+n],s=e[3+n],d=Fj(i,r,s);return t?d(o):d}const Me=e=>!!(e&&e.getVelocity),Ede=[...Qj,pe,Ct],Ode=e=>Ede.find(Jj(e)),nL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function lC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Ude(...e){return t=>{let n=!1;const o=e.map(i=>{const r=lC(i,t);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let i=0;i<o.length;i++){const r=o[i];typeof r=="function"?r():lC(e[i],null)}}}}function Wde(...e){return K.useCallback(Ude(...e),e)}class Gde extends K.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const o=n.offsetParent,i=n$(o)&&o.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 Zde({children:e,isPresent:t,anchorX:n,root:o}){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(nL),l=Wde(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 _=o??document.head;return _.appendChild(m),m.sheet&&m.sheet.insertRule(`
|
|
8161
|
+
*/const ht=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:R1,AArrowDownIcon:R1,AArrowUp:F1,AArrowUpIcon:F1,ALargeSmall:E1,ALargeSmallIcon:E1,Accessibility:a1,AccessibilityIcon:a1,Activity:n1,ActivityIcon:n1,ActivitySquare:_t,ActivitySquareIcon:_t,AirVent:O1,AirVentIcon:O1,Airplay:U1,AirplayIcon:U1,AlarmCheck:qt,AlarmCheckIcon:qt,AlarmClock:G1,AlarmClockCheck:qt,AlarmClockCheckIcon:qt,AlarmClockIcon:G1,AlarmClockMinus:At,AlarmClockMinusIcon:At,AlarmClockOff:W1,AlarmClockOffIcon:W1,AlarmClockPlus:zt,AlarmClockPlusIcon:zt,AlarmMinus:At,AlarmMinusIcon:At,AlarmPlus:zt,AlarmPlusIcon:zt,AlarmSmoke:Z1,AlarmSmokeIcon:Z1,Album:K1,AlbumIcon:K1,AlertCircle:sa,AlertCircleIcon:sa,AlertOctagon:$n,AlertOctagonIcon:$n,AlertTriangle:ac,AlertTriangleIcon:ac,AlignCenter:ti,AlignCenterHorizontal:X1,AlignCenterHorizontalIcon:X1,AlignCenterIcon:ti,AlignCenterVertical:Y1,AlignCenterVerticalIcon:Y1,AlignEndHorizontal:J1,AlignEndHorizontalIcon:J1,AlignEndVertical:Q1,AlignEndVerticalIcon:Q1,AlignHorizontalDistributeCenter:ei,AlignHorizontalDistributeCenterIcon:ei,AlignHorizontalDistributeEnd:ai,AlignHorizontalDistributeEndIcon:ai,AlignHorizontalDistributeStart:ni,AlignHorizontalDistributeStartIcon:ni,AlignHorizontalJustifyCenter:oi,AlignHorizontalJustifyCenterIcon:oi,AlignHorizontalJustifyEnd:ci,AlignHorizontalJustifyEndIcon:ci,AlignHorizontalJustifyStart:ii,AlignHorizontalJustifyStartIcon:ii,AlignHorizontalSpaceAround:ri,AlignHorizontalSpaceAroundIcon:ri,AlignHorizontalSpaceBetween:di,AlignHorizontalSpaceBetweenIcon:di,AlignJustify:si,AlignJustifyIcon:si,AlignLeft:li,AlignLeftIcon:li,AlignRight:hi,AlignRightIcon:hi,AlignStartHorizontal:ui,AlignStartHorizontalIcon:ui,AlignStartVertical:pi,AlignStartVerticalIcon:pi,AlignVerticalDistributeCenter:ki,AlignVerticalDistributeCenterIcon:ki,AlignVerticalDistributeEnd:yi,AlignVerticalDistributeEndIcon:yi,AlignVerticalDistributeStart:fi,AlignVerticalDistributeStartIcon:fi,AlignVerticalJustifyCenter:mi,AlignVerticalJustifyCenterIcon:mi,AlignVerticalJustifyEnd:gi,AlignVerticalJustifyEndIcon:gi,AlignVerticalJustifyStart:vi,AlignVerticalJustifyStartIcon:vi,AlignVerticalSpaceAround:_i,AlignVerticalSpaceAroundIcon:_i,AlignVerticalSpaceBetween:Mi,AlignVerticalSpaceBetweenIcon:Mi,Ambulance:xi,AmbulanceIcon:xi,Ampersand:Li,AmpersandIcon:Li,Ampersands:Ii,AmpersandsIcon:Ii,Amphora:wi,AmphoraIcon:wi,Anchor:bi,AnchorIcon:bi,Angry:Ci,AngryIcon:Ci,Annoyed:Ni,AnnoyedIcon:Ni,Antenna:Si,AntennaIcon:Si,Anvil:ji,AnvilIcon:ji,Aperture:$i,ApertureIcon:$i,AppWindow:Ai,AppWindowIcon:Ai,AppWindowMac:qi,AppWindowMacIcon:qi,Apple:zi,AppleIcon:zi,Archive:Ti,ArchiveIcon:Ti,ArchiveRestore:Vi,ArchiveRestoreIcon:Vi,ArchiveX:Pi,ArchiveXIcon:Pi,AreaChart:Kt,AreaChartIcon:Kt,Armchair:Hi,ArmchairIcon:Hi,ArrowBigDown:Bi,ArrowBigDownDash:Di,ArrowBigDownDashIcon:Di,ArrowBigDownIcon:Bi,ArrowBigLeft:Fi,ArrowBigLeftDash:Ri,ArrowBigLeftDashIcon:Ri,ArrowBigLeftIcon:Fi,ArrowBigRight:Oi,ArrowBigRightDash:Ei,ArrowBigRightDashIcon:Ei,ArrowBigRightIcon:Oi,ArrowBigUp:Wi,ArrowBigUpDash:Ui,ArrowBigUpDashIcon:Ui,ArrowBigUpIcon:Wi,ArrowDown:ar,ArrowDown01:Gi,ArrowDown01Icon:Gi,ArrowDown10:Zi,ArrowDown10Icon:Zi,ArrowDownAZ:Vt,ArrowDownAZIcon:Vt,ArrowDownAz:Vt,ArrowDownAzIcon:Vt,ArrowDownCircle:da,ArrowDownCircleIcon:da,ArrowDownFromLine:Ki,ArrowDownFromLineIcon:Ki,ArrowDownIcon:ar,ArrowDownLeft:Xi,ArrowDownLeftFromCircle:ha,ArrowDownLeftFromCircleIcon:ha,ArrowDownLeftFromSquare:oo,ArrowDownLeftFromSquareIcon:oo,ArrowDownLeftIcon:Xi,ArrowDownLeftSquare:eo,ArrowDownLeftSquareIcon:eo,ArrowDownNarrowWide:Yi,ArrowDownNarrowWideIcon:Yi,ArrowDownRight:Ji,ArrowDownRightFromCircle:ua,ArrowDownRightFromCircleIcon:ua,ArrowDownRightFromSquare:co,ArrowDownRightFromSquareIcon:co,ArrowDownRightIcon:Ji,ArrowDownRightSquare:to,ArrowDownRightSquareIcon:to,ArrowDownSquare:ao,ArrowDownSquareIcon:ao,ArrowDownToDot:Qi,ArrowDownToDotIcon:Qi,ArrowDownToLine:er,ArrowDownToLineIcon:er,ArrowDownUp:tr,ArrowDownUpIcon:tr,ArrowDownWideNarrow:Pt,ArrowDownWideNarrowIcon:Pt,ArrowDownZA:Tt,ArrowDownZAIcon:Tt,ArrowDownZa:Tt,ArrowDownZaIcon:Tt,ArrowLeft:ir,ArrowLeftCircle:la,ArrowLeftCircleIcon:la,ArrowLeftFromLine:nr,ArrowLeftFromLineIcon:nr,ArrowLeftIcon:ir,ArrowLeftRight:or,ArrowLeftRightIcon:or,ArrowLeftSquare:no,ArrowLeftSquareIcon:no,ArrowLeftToLine:cr,ArrowLeftToLineIcon:cr,ArrowRight:lr,ArrowRightCircle:ka,ArrowRightCircleIcon:ka,ArrowRightFromLine:rr,ArrowRightFromLineIcon:rr,ArrowRightIcon:lr,ArrowRightLeft:sr,ArrowRightLeftIcon:sr,ArrowRightSquare:so,ArrowRightSquareIcon:so,ArrowRightToLine:dr,ArrowRightToLineIcon:dr,ArrowUp:Mr,ArrowUp01:hr,ArrowUp01Icon:hr,ArrowUp10:ur,ArrowUp10Icon:ur,ArrowUpAZ:Ht,ArrowUpAZIcon:Ht,ArrowUpAz:Ht,ArrowUpAzIcon:Ht,ArrowUpCircle:ma,ArrowUpCircleIcon:ma,ArrowUpDown:pr,ArrowUpDownIcon:pr,ArrowUpFromDot:yr,ArrowUpFromDotIcon:yr,ArrowUpFromLine:kr,ArrowUpFromLineIcon:kr,ArrowUpIcon:Mr,ArrowUpLeft:mr,ArrowUpLeftFromCircle:pa,ArrowUpLeftFromCircleIcon:pa,ArrowUpLeftFromSquare:io,ArrowUpLeftFromSquareIcon:io,ArrowUpLeftIcon:mr,ArrowUpLeftSquare:lo,ArrowUpLeftSquareIcon:lo,ArrowUpNarrowWide:Dt,ArrowUpNarrowWideIcon:Dt,ArrowUpRight:fr,ArrowUpRightFromCircle:ya,ArrowUpRightFromCircleIcon:ya,ArrowUpRightFromSquare:ro,ArrowUpRightFromSquareIcon:ro,ArrowUpRightIcon:fr,ArrowUpRightSquare:ho,ArrowUpRightSquareIcon:ho,ArrowUpSquare:uo,ArrowUpSquareIcon:uo,ArrowUpToLine:gr,ArrowUpToLineIcon:gr,ArrowUpWideNarrow:vr,ArrowUpWideNarrowIcon:vr,ArrowUpZA:Bt,ArrowUpZAIcon:Bt,ArrowUpZa:Bt,ArrowUpZaIcon:Bt,ArrowsUpFromLine:_r,ArrowsUpFromLineIcon:_r,Asterisk:xr,AsteriskIcon:xr,AsteriskSquare:po,AsteriskSquareIcon:po,AtSign:Lr,AtSignIcon:Lr,Atom:Ir,AtomIcon:Ir,AudioLines:wr,AudioLinesIcon:wr,AudioWaveform:br,AudioWaveformIcon:br,Award:Cr,AwardIcon:Cr,Axe:Nr,AxeIcon:Nr,Axis3D:Rt,Axis3DIcon:Rt,Axis3d:Rt,Axis3dIcon:Rt,Baby:Sr,BabyIcon:Sr,Backpack:jr,BackpackIcon:jr,Badge:Wr,BadgeAlert:$r,BadgeAlertIcon:$r,BadgeCent:qr,BadgeCentIcon:qr,BadgeCheck:Ft,BadgeCheckIcon:Ft,BadgeDollarSign:Ar,BadgeDollarSignIcon:Ar,BadgeEuro:zr,BadgeEuroIcon:zr,BadgeHelp:Et,BadgeHelpIcon:Et,BadgeIcon:Wr,BadgeIndianRupee:Vr,BadgeIndianRupeeIcon:Vr,BadgeInfo:Pr,BadgeInfoIcon:Pr,BadgeJapaneseYen:Hr,BadgeJapaneseYenIcon:Hr,BadgeMinus:Tr,BadgeMinusIcon:Tr,BadgePercent:Dr,BadgePercentIcon:Dr,BadgePlus:Br,BadgePlusIcon:Br,BadgePoundSterling:Rr,BadgePoundSterlingIcon:Rr,BadgeQuestionMark:Et,BadgeQuestionMarkIcon:Et,BadgeRussianRuble:Fr,BadgeRussianRubleIcon:Fr,BadgeSwissFranc:Er,BadgeSwissFrancIcon:Er,BadgeTurkishLira:Or,BadgeTurkishLiraIcon:Or,BadgeX:Ur,BadgeXIcon:Ur,BaggageClaim:Gr,BaggageClaimIcon:Gr,Ban:Zr,BanIcon:Zr,Banana:Kr,BananaIcon:Kr,Bandage:Xr,BandageIcon:Xr,Banknote:es,BanknoteArrowDown:Yr,BanknoteArrowDownIcon:Yr,BanknoteArrowUp:Jr,BanknoteArrowUpIcon:Jr,BanknoteIcon:es,BanknoteX:Qr,BanknoteXIcon:Qr,BarChart:na,BarChart2:oa,BarChart2Icon:oa,BarChart3:ta,BarChart3Icon:ta,BarChart4:ea,BarChart4Icon:ea,BarChartBig:Qt,BarChartBigIcon:Qt,BarChartHorizontal:Yt,BarChartHorizontalBig:Xt,BarChartHorizontalBigIcon:Xt,BarChartHorizontalIcon:Yt,BarChartIcon:na,Barcode:ts,BarcodeIcon:ts,Barrel:as,BarrelIcon:as,Baseline:ns,BaselineIcon:ns,Bath:os,BathIcon:os,Battery:hs,BatteryCharging:cs,BatteryChargingIcon:cs,BatteryFull:is,BatteryFullIcon:is,BatteryIcon:hs,BatteryLow:rs,BatteryLowIcon:rs,BatteryMedium:ss,BatteryMediumIcon:ss,BatteryPlus:ds,BatteryPlusIcon:ds,BatteryWarning:ls,BatteryWarningIcon:ls,Beaker:us,BeakerIcon:us,Bean:ys,BeanIcon:ys,BeanOff:ps,BeanOffIcon:ps,Bed:fs,BedDouble:ks,BedDoubleIcon:ks,BedIcon:fs,BedSingle:ms,BedSingleIcon:ms,Beef:gs,BeefIcon:gs,Beer:Ms,BeerIcon:Ms,BeerOff:vs,BeerOffIcon:vs,Bell:bs,BellDot:_s,BellDotIcon:_s,BellElectric:xs,BellElectricIcon:xs,BellIcon:bs,BellMinus:Ls,BellMinusIcon:Ls,BellOff:Is,BellOffIcon:Is,BellPlus:ws,BellPlusIcon:ws,BellRing:Cs,BellRingIcon:Cs,BetweenHorizonalEnd:Ot,BetweenHorizonalEndIcon:Ot,BetweenHorizonalStart:Ut,BetweenHorizonalStartIcon:Ut,BetweenHorizontalEnd:Ot,BetweenHorizontalEndIcon:Ot,BetweenHorizontalStart:Ut,BetweenHorizontalStartIcon:Ut,BetweenVerticalEnd:Ss,BetweenVerticalEndIcon:Ss,BetweenVerticalStart:Ns,BetweenVerticalStartIcon:Ns,BicepsFlexed:js,BicepsFlexedIcon:js,Bike:qs,BikeIcon:qs,Binary:$s,BinaryIcon:$s,Binoculars:As,BinocularsIcon:As,Biohazard:zs,BiohazardIcon:zs,Bird:Vs,BirdIcon:Vs,Bitcoin:Ps,BitcoinIcon:Ps,Blend:Ts,BlendIcon:Ts,Blinds:Hs,BlindsIcon:Hs,Blocks:Ds,BlocksIcon:Ds,Bluetooth:Es,BluetoothConnected:Bs,BluetoothConnectedIcon:Bs,BluetoothIcon:Es,BluetoothOff:Rs,BluetoothOffIcon:Rs,BluetoothSearching:Fs,BluetoothSearchingIcon:Fs,Bold:Os,BoldIcon:Os,Bolt:Us,BoltIcon:Us,Bomb:Ws,BombIcon:Ws,Bone:Gs,BoneIcon:Gs,Book:f2,BookA:Zs,BookAIcon:Zs,BookAlert:Ks,BookAlertIcon:Ks,BookAudio:Xs,BookAudioIcon:Xs,BookCheck:Ys,BookCheckIcon:Ys,BookCopy:Js,BookCopyIcon:Js,BookDashed:Wt,BookDashedIcon:Wt,BookDown:Qs,BookDownIcon:Qs,BookHeadphones:e2,BookHeadphonesIcon:e2,BookHeart:t2,BookHeartIcon:t2,BookIcon:f2,BookImage:a2,BookImageIcon:a2,BookKey:n2,BookKeyIcon:n2,BookLock:o2,BookLockIcon:o2,BookMarked:i2,BookMarkedIcon:i2,BookMinus:c2,BookMinusIcon:c2,BookOpen:d2,BookOpenCheck:r2,BookOpenCheckIcon:r2,BookOpenIcon:d2,BookOpenText:s2,BookOpenTextIcon:s2,BookPlus:l2,BookPlusIcon:l2,BookTemplate:Wt,BookTemplateIcon:Wt,BookText:h2,BookTextIcon:h2,BookType:u2,BookTypeIcon:u2,BookUp:y2,BookUp2:p2,BookUp2Icon:p2,BookUpIcon:y2,BookUser:k2,BookUserIcon:k2,BookX:m2,BookXIcon:m2,Bookmark:x2,BookmarkCheck:g2,BookmarkCheckIcon:g2,BookmarkIcon:x2,BookmarkMinus:v2,BookmarkMinusIcon:v2,BookmarkPlus:M2,BookmarkPlusIcon:M2,BookmarkX:_2,BookmarkXIcon:_2,BoomBox:L2,BoomBoxIcon:L2,Bot:b2,BotIcon:b2,BotMessageSquare:I2,BotMessageSquareIcon:I2,BotOff:w2,BotOffIcon:w2,BottleWine:C2,BottleWineIcon:C2,BowArrow:N2,BowArrowIcon:N2,Box:S2,BoxIcon:S2,BoxSelect:Io,BoxSelectIcon:Io,Boxes:j2,BoxesIcon:j2,Braces:Gt,BracesIcon:Gt,Brackets:$2,BracketsIcon:$2,Brain:z2,BrainCircuit:q2,BrainCircuitIcon:q2,BrainCog:A2,BrainCogIcon:A2,BrainIcon:z2,BrickWall:T2,BrickWallFire:V2,BrickWallFireIcon:V2,BrickWallIcon:T2,BrickWallShield:P2,BrickWallShieldIcon:P2,Briefcase:R2,BriefcaseBusiness:H2,BriefcaseBusinessIcon:H2,BriefcaseConveyorBelt:D2,BriefcaseConveyorBeltIcon:D2,BriefcaseIcon:R2,BriefcaseMedical:B2,BriefcaseMedicalIcon:B2,BringToFront:F2,BringToFrontIcon:F2,Brush:O2,BrushCleaning:E2,BrushCleaningIcon:E2,BrushIcon:O2,Bubbles:U2,BubblesIcon:U2,Bug:K2,BugIcon:K2,BugOff:W2,BugOffIcon:W2,BugPlay:G2,BugPlayIcon:G2,Building:X2,Building2:Z2,Building2Icon:Z2,BuildingIcon:X2,Bus:J2,BusFront:Y2,BusFrontIcon:Y2,BusIcon:J2,Cable:ed,CableCar:Q2,CableCarIcon:Q2,CableIcon:ed,Cake:ad,CakeIcon:ad,CakeSlice:td,CakeSliceIcon:td,Calculator:nd,CalculatorIcon:nd,Calendar:o1,Calendar1:od,Calendar1Icon:od,CalendarArrowDown:cd,CalendarArrowDownIcon:cd,CalendarArrowUp:id,CalendarArrowUpIcon:id,CalendarCheck:sd,CalendarCheck2:rd,CalendarCheck2Icon:rd,CalendarCheckIcon:sd,CalendarClock:dd,CalendarClockIcon:dd,CalendarCog:ld,CalendarCogIcon:ld,CalendarDays:hd,CalendarDaysIcon:hd,CalendarFold:ud,CalendarFoldIcon:ud,CalendarHeart:pd,CalendarHeartIcon:pd,CalendarIcon:o1,CalendarMinus:kd,CalendarMinus2:yd,CalendarMinus2Icon:yd,CalendarMinusIcon:kd,CalendarOff:md,CalendarOffIcon:md,CalendarPlus:gd,CalendarPlus2:fd,CalendarPlus2Icon:fd,CalendarPlusIcon:gd,CalendarRange:vd,CalendarRangeIcon:vd,CalendarSearch:Md,CalendarSearchIcon:Md,CalendarSync:_d,CalendarSyncIcon:_d,CalendarX:Ld,CalendarX2:xd,CalendarX2Icon:xd,CalendarXIcon:Ld,Camera:wd,CameraIcon:wd,CameraOff:Id,CameraOffIcon:Id,CandlestickChart:Jt,CandlestickChartIcon:Jt,Candy:Nd,CandyCane:bd,CandyCaneIcon:bd,CandyIcon:Nd,CandyOff:Cd,CandyOffIcon:Cd,Cannabis:Sd,CannabisIcon:Sd,Captions:Zt,CaptionsIcon:Zt,CaptionsOff:jd,CaptionsOffIcon:jd,Car:Ad,CarFront:$d,CarFrontIcon:$d,CarIcon:Ad,CarTaxiFront:qd,CarTaxiFrontIcon:qd,Caravan:zd,CaravanIcon:zd,CardSim:Vd,CardSimIcon:Vd,Carrot:Pd,CarrotIcon:Pd,CaseLower:Td,CaseLowerIcon:Td,CaseSensitive:Hd,CaseSensitiveIcon:Hd,CaseUpper:Dd,CaseUpperIcon:Dd,CassetteTape:Bd,CassetteTapeIcon:Bd,Cast:Rd,CastIcon:Rd,Castle:Ed,CastleIcon:Ed,Cat:Fd,CatIcon:Fd,Cctv:Od,CctvIcon:Od,ChartArea:Kt,ChartAreaIcon:Kt,ChartBar:Yt,ChartBarBig:Xt,ChartBarBigIcon:Xt,ChartBarDecreasing:Ud,ChartBarDecreasingIcon:Ud,ChartBarIcon:Yt,ChartBarIncreasing:Wd,ChartBarIncreasingIcon:Wd,ChartBarStacked:Gd,ChartBarStackedIcon:Gd,ChartCandlestick:Jt,ChartCandlestickIcon:Jt,ChartColumn:ta,ChartColumnBig:Qt,ChartColumnBigIcon:Qt,ChartColumnDecreasing:Zd,ChartColumnDecreasingIcon:Zd,ChartColumnIcon:ta,ChartColumnIncreasing:ea,ChartColumnIncreasingIcon:ea,ChartColumnStacked:Kd,ChartColumnStackedIcon:Kd,ChartGantt:Xd,ChartGanttIcon:Xd,ChartLine:aa,ChartLineIcon:aa,ChartNetwork:Yd,ChartNetworkIcon:Yd,ChartNoAxesColumn:oa,ChartNoAxesColumnDecreasing:Jd,ChartNoAxesColumnDecreasingIcon:Jd,ChartNoAxesColumnIcon:oa,ChartNoAxesColumnIncreasing:na,ChartNoAxesColumnIncreasingIcon:na,ChartNoAxesCombined:Qd,ChartNoAxesCombinedIcon:Qd,ChartNoAxesGantt:ca,ChartNoAxesGanttIcon:ca,ChartPie:ia,ChartPieIcon:ia,ChartScatter:ra,ChartScatterIcon:ra,ChartSpline:e0,ChartSplineIcon:e0,Check:c1,CheckCheck:t0,CheckCheckIcon:t0,CheckCircle:fa,CheckCircle2:ga,CheckCircle2Icon:ga,CheckCircleIcon:fa,CheckIcon:c1,CheckLine:a0,CheckLineIcon:a0,CheckSquare:ko,CheckSquare2:mo,CheckSquare2Icon:mo,CheckSquareIcon:ko,ChefHat:n0,ChefHatIcon:n0,Cherry:o0,CherryIcon:o0,ChevronDown:wt,ChevronDownCircle:va,ChevronDownCircleIcon:va,ChevronDownIcon:wt,ChevronDownSquare:fo,ChevronDownSquareIcon:fo,ChevronFirst:c0,ChevronFirstIcon:c0,ChevronLast:i0,ChevronLastIcon:i0,ChevronLeft:r0,ChevronLeftCircle:Ma,ChevronLeftCircleIcon:Ma,ChevronLeftIcon:r0,ChevronLeftSquare:go,ChevronLeftSquareIcon:go,ChevronRight:i1,ChevronRightCircle:_a,ChevronRightCircleIcon:_a,ChevronRightIcon:i1,ChevronRightSquare:vo,ChevronRightSquareIcon:vo,ChevronUp:Mc,ChevronUpCircle:xa,ChevronUpCircleIcon:xa,ChevronUpIcon:Mc,ChevronUpSquare:Mo,ChevronUpSquareIcon:Mo,ChevronsDown:d0,ChevronsDownIcon:d0,ChevronsDownUp:s0,ChevronsDownUpIcon:s0,ChevronsLeft:h0,ChevronsLeftIcon:h0,ChevronsLeftRight:l0,ChevronsLeftRightEllipsis:u0,ChevronsLeftRightEllipsisIcon:u0,ChevronsLeftRightIcon:l0,ChevronsRight:y0,ChevronsRightIcon:y0,ChevronsRightLeft:p0,ChevronsRightLeftIcon:p0,ChevronsUp:k0,ChevronsUpDown:Pc,ChevronsUpDownIcon:Pc,ChevronsUpIcon:k0,Chrome:m0,ChromeIcon:m0,Church:f0,ChurchIcon:f0,Cigarette:v0,CigaretteIcon:v0,CigaretteOff:g0,CigaretteOffIcon:g0,Circle:A0,CircleAlert:sa,CircleAlertIcon:sa,CircleArrowDown:da,CircleArrowDownIcon:da,CircleArrowLeft:la,CircleArrowLeftIcon:la,CircleArrowOutDownLeft:ha,CircleArrowOutDownLeftIcon:ha,CircleArrowOutDownRight:ua,CircleArrowOutDownRightIcon:ua,CircleArrowOutUpLeft:pa,CircleArrowOutUpLeftIcon:pa,CircleArrowOutUpRight:ya,CircleArrowOutUpRightIcon:ya,CircleArrowRight:ka,CircleArrowRightIcon:ka,CircleArrowUp:ma,CircleArrowUpIcon:ma,CircleCheck:ga,CircleCheckBig:fa,CircleCheckBigIcon:fa,CircleCheckIcon:ga,CircleChevronDown:va,CircleChevronDownIcon:va,CircleChevronLeft:Ma,CircleChevronLeftIcon:Ma,CircleChevronRight:_a,CircleChevronRightIcon:_a,CircleChevronUp:xa,CircleChevronUpIcon:xa,CircleDashed:M0,CircleDashedIcon:M0,CircleDivide:La,CircleDivideIcon:La,CircleDollarSign:x0,CircleDollarSignIcon:x0,CircleDot:L0,CircleDotDashed:_0,CircleDotDashedIcon:_0,CircleDotIcon:L0,CircleEllipsis:I0,CircleEllipsisIcon:I0,CircleEqual:w0,CircleEqualIcon:w0,CircleFadingArrowUp:C0,CircleFadingArrowUpIcon:C0,CircleFadingPlus:b0,CircleFadingPlusIcon:b0,CircleGauge:Ia,CircleGaugeIcon:Ia,CircleHelp:tt,CircleHelpIcon:tt,CircleIcon:A0,CircleMinus:wa,CircleMinusIcon:wa,CircleOff:N0,CircleOffIcon:N0,CircleParking:Na,CircleParkingIcon:Na,CircleParkingOff:ba,CircleParkingOffIcon:ba,CirclePause:Ca,CirclePauseIcon:Ca,CirclePercent:Sa,CirclePercentIcon:Sa,CirclePlay:ja,CirclePlayIcon:ja,CirclePlus:$a,CirclePlusIcon:$a,CirclePoundSterling:S0,CirclePoundSterlingIcon:S0,CirclePower:qa,CirclePowerIcon:qa,CircleQuestionMark:tt,CircleQuestionMarkIcon:tt,CircleSlash:j0,CircleSlash2:Aa,CircleSlash2Icon:Aa,CircleSlashIcon:j0,CircleSlashed:Aa,CircleSlashedIcon:Aa,CircleSmall:$0,CircleSmallIcon:$0,CircleStar:q0,CircleStarIcon:q0,CircleStop:za,CircleStopIcon:za,CircleUser:Pa,CircleUserIcon:Pa,CircleUserRound:Va,CircleUserRoundIcon:Va,CircleX:gt,CircleXIcon:gt,CircuitBoard:z0,CircuitBoardIcon:z0,Citrus:V0,CitrusIcon:V0,Clapperboard:P0,ClapperboardIcon:P0,Clipboard:W0,ClipboardCheck:T0,ClipboardCheckIcon:T0,ClipboardClock:H0,ClipboardClockIcon:H0,ClipboardCopy:D0,ClipboardCopyIcon:D0,ClipboardEdit:Ha,ClipboardEditIcon:Ha,ClipboardIcon:W0,ClipboardList:B0,ClipboardListIcon:B0,ClipboardMinus:R0,ClipboardMinusIcon:R0,ClipboardPaste:F0,ClipboardPasteIcon:F0,ClipboardPen:Ha,ClipboardPenIcon:Ha,ClipboardPenLine:Ta,ClipboardPenLineIcon:Ta,ClipboardPlus:E0,ClipboardPlusIcon:E0,ClipboardSignature:Ta,ClipboardSignatureIcon:Ta,ClipboardType:O0,ClipboardTypeIcon:O0,ClipboardX:U0,ClipboardXIcon:U0,Clock:ll,Clock1:Z0,Clock10:G0,Clock10Icon:G0,Clock11:K0,Clock11Icon:K0,Clock12:X0,Clock12Icon:X0,Clock1Icon:Z0,Clock2:Y0,Clock2Icon:Y0,Clock3:J0,Clock3Icon:J0,Clock4:Q0,Clock4Icon:Q0,Clock5:el,Clock5Icon:el,Clock6:tl,Clock6Icon:tl,Clock7:al,Clock7Icon:al,Clock8:nl,Clock8Icon:nl,Clock9:ol,Clock9Icon:ol,ClockAlert:cl,ClockAlertIcon:cl,ClockArrowDown:il,ClockArrowDownIcon:il,ClockArrowUp:rl,ClockArrowUpIcon:rl,ClockFading:sl,ClockFadingIcon:sl,ClockIcon:ll,ClockPlus:dl,ClockPlusIcon:dl,ClosedCaption:hl,ClosedCaptionIcon:hl,Cloud:Cl,CloudAlert:ul,CloudAlertIcon:ul,CloudCheck:pl,CloudCheckIcon:pl,CloudCog:yl,CloudCogIcon:yl,CloudDownload:Da,CloudDownloadIcon:Da,CloudDrizzle:kl,CloudDrizzleIcon:kl,CloudFog:ml,CloudFogIcon:ml,CloudHail:fl,CloudHailIcon:fl,CloudIcon:Cl,CloudLightning:gl,CloudLightningIcon:gl,CloudMoon:Ml,CloudMoonIcon:Ml,CloudMoonRain:vl,CloudMoonRainIcon:vl,CloudOff:_l,CloudOffIcon:_l,CloudRain:Ll,CloudRainIcon:Ll,CloudRainWind:xl,CloudRainWindIcon:xl,CloudSnow:Il,CloudSnowIcon:Il,CloudSun:bl,CloudSunIcon:bl,CloudSunRain:wl,CloudSunRainIcon:wl,CloudUpload:Ba,CloudUploadIcon:Ba,Cloudy:Nl,CloudyIcon:Nl,Clover:Sl,CloverIcon:Sl,Club:jl,ClubIcon:jl,Code:$l,Code2:Ra,Code2Icon:Ra,CodeIcon:$l,CodeSquare:_o,CodeSquareIcon:_o,CodeXml:Ra,CodeXmlIcon:Ra,Codepen:ql,CodepenIcon:ql,Codesandbox:Al,CodesandboxIcon:Al,Coffee:zl,CoffeeIcon:zl,Cog:Vl,CogIcon:Vl,Coins:Pl,CoinsIcon:Pl,Columns:Fa,Columns2:Fa,Columns2Icon:Fa,Columns3:Ea,Columns3Cog:at,Columns3CogIcon:at,Columns3Icon:Ea,Columns4:Tl,Columns4Icon:Tl,ColumnsIcon:Fa,ColumnsSettings:at,ColumnsSettingsIcon:at,Combine:Hl,CombineIcon:Hl,Command:Dl,CommandIcon:Dl,Compass:Bl,CompassIcon:Bl,Component:Rl,ComponentIcon:Rl,Computer:Fl,ComputerIcon:Fl,ConciergeBell:El,ConciergeBellIcon:El,Cone:Ol,ConeIcon:Ol,Construction:Ul,ConstructionIcon:Ul,Contact:Wl,Contact2:Oa,Contact2Icon:Oa,ContactIcon:Wl,ContactRound:Oa,ContactRoundIcon:Oa,Container:Gl,ContainerIcon:Gl,Contrast:Kl,ContrastIcon:Kl,Cookie:Zl,CookieIcon:Zl,CookingPot:Yl,CookingPotIcon:Yl,Copy:ah,CopyCheck:Xl,CopyCheckIcon:Xl,CopyIcon:ah,CopyMinus:Jl,CopyMinusIcon:Jl,CopyPlus:Ql,CopyPlusIcon:Ql,CopySlash:eh,CopySlashIcon:eh,CopyX:th,CopyXIcon:th,Copyleft:nh,CopyleftIcon:nh,Copyright:oh,CopyrightIcon:oh,CornerDownLeft:ch,CornerDownLeftIcon:ch,CornerDownRight:ih,CornerDownRightIcon:ih,CornerLeftDown:rh,CornerLeftDownIcon:rh,CornerLeftUp:sh,CornerLeftUpIcon:sh,CornerRightDown:dh,CornerRightDownIcon:dh,CornerRightUp:lh,CornerRightUpIcon:lh,CornerUpLeft:hh,CornerUpLeftIcon:hh,CornerUpRight:uh,CornerUpRightIcon:uh,Cpu:ph,CpuIcon:ph,CreativeCommons:yh,CreativeCommonsIcon:yh,CreditCard:kh,CreditCardIcon:kh,Croissant:mh,CroissantIcon:mh,Crop:fh,CropIcon:fh,Cross:gh,CrossIcon:gh,Crosshair:vh,CrosshairIcon:vh,Crown:Mh,CrownIcon:Mh,Cuboid:_h,CuboidIcon:_h,CupSoda:xh,CupSodaIcon:xh,CurlyBraces:Gt,CurlyBracesIcon:Gt,Currency:Lh,CurrencyIcon:Lh,Cylinder:Ih,CylinderIcon:Ih,Dam:wh,DamIcon:wh,Database:Nh,DatabaseBackup:bh,DatabaseBackupIcon:bh,DatabaseIcon:Nh,DatabaseZap:Ch,DatabaseZapIcon:Ch,DecimalsArrowLeft:Sh,DecimalsArrowLeftIcon:Sh,DecimalsArrowRight:jh,DecimalsArrowRightIcon:jh,Delete:$h,DeleteIcon:$h,Dessert:qh,DessertIcon:qh,Diameter:Ah,DiameterIcon:Ah,Diamond:Ph,DiamondIcon:Ph,DiamondMinus:zh,DiamondMinusIcon:zh,DiamondPercent:Ua,DiamondPercentIcon:Ua,DiamondPlus:Vh,DiamondPlusIcon:Vh,Dice1:Th,Dice1Icon:Th,Dice2:Hh,Dice2Icon:Hh,Dice3:Dh,Dice3Icon:Dh,Dice4:Bh,Dice4Icon:Bh,Dice5:Rh,Dice5Icon:Rh,Dice6:Fh,Dice6Icon:Fh,Dices:Eh,DicesIcon:Eh,Diff:Oh,DiffIcon:Oh,Disc:Zh,Disc2:Uh,Disc2Icon:Uh,Disc3:Wh,Disc3Icon:Wh,DiscAlbum:Gh,DiscAlbumIcon:Gh,DiscIcon:Zh,Divide:Kh,DivideCircle:La,DivideCircleIcon:La,DivideIcon:Kh,DivideSquare:wo,DivideSquareIcon:wo,Dna:Yh,DnaIcon:Yh,DnaOff:Xh,DnaOffIcon:Xh,Dock:Jh,DockIcon:Jh,Dog:Qh,DogIcon:Qh,DollarSign:eu,DollarSignIcon:eu,Donut:tu,DonutIcon:tu,DoorClosed:nu,DoorClosedIcon:nu,DoorClosedLocked:au,DoorClosedLockedIcon:au,DoorOpen:ou,DoorOpenIcon:ou,Dot:cu,DotIcon:cu,DotSquare:Co,DotSquareIcon:Co,Download:ru,DownloadCloud:Da,DownloadCloudIcon:Da,DownloadIcon:ru,DraftingCompass:iu,DraftingCompassIcon:iu,Drama:su,DramaIcon:su,Dribbble:du,DribbbleIcon:du,Drill:lu,DrillIcon:lu,Drone:hu,DroneIcon:hu,Droplet:pu,DropletIcon:pu,DropletOff:uu,DropletOffIcon:uu,Droplets:yu,DropletsIcon:yu,Drum:ku,DrumIcon:ku,Drumstick:mu,DrumstickIcon:mu,Dumbbell:fu,DumbbellIcon:fu,Ear:vu,EarIcon:vu,EarOff:gu,EarOffIcon:gu,Earth:Wa,EarthIcon:Wa,EarthLock:Mu,EarthLockIcon:Mu,Eclipse:_u,EclipseIcon:_u,Edit:Te,Edit2:lt,Edit2Icon:lt,Edit3:dt,Edit3Icon:dt,EditIcon:Te,Egg:Iu,EggFried:xu,EggFriedIcon:xu,EggIcon:Iu,EggOff:Lu,EggOffIcon:Lu,Ellipsis:Za,EllipsisIcon:Za,EllipsisVertical:Ga,EllipsisVerticalIcon:Ga,Equal:Cu,EqualApproximately:wu,EqualApproximatelyIcon:wu,EqualIcon:Cu,EqualNot:bu,EqualNotIcon:bu,EqualSquare:bo,EqualSquareIcon:bo,Eraser:Nu,EraserIcon:Nu,EthernetPort:Su,EthernetPortIcon:Su,Euro:ju,EuroIcon:ju,Expand:qu,ExpandIcon:qu,ExternalLink:$u,ExternalLinkIcon:$u,Eye:s1,EyeClosed:Au,EyeClosedIcon:Au,EyeIcon:s1,EyeOff:r1,EyeOffIcon:r1,Facebook:zu,FacebookIcon:zu,Factory:Vu,FactoryIcon:Vu,Fan:Pu,FanIcon:Pu,FastForward:Tu,FastForwardIcon:Tu,Feather:Hu,FeatherIcon:Hu,Fence:Du,FenceIcon:Du,FerrisWheel:Bu,FerrisWheelIcon:Bu,Figma:Ru,FigmaIcon:Ru,File:Vp,FileArchive:Fu,FileArchiveIcon:Fu,FileAudio:Ou,FileAudio2:Eu,FileAudio2Icon:Eu,FileAudioIcon:Ou,FileAxis3D:Ka,FileAxis3DIcon:Ka,FileAxis3d:Ka,FileAxis3dIcon:Ka,FileBadge:Gu,FileBadge2:Uu,FileBadge2Icon:Uu,FileBadgeIcon:Gu,FileBarChart:Xa,FileBarChart2:Ya,FileBarChart2Icon:Ya,FileBarChartIcon:Xa,FileBox:Wu,FileBoxIcon:Wu,FileChartColumn:Ya,FileChartColumnIcon:Ya,FileChartColumnIncreasing:Xa,FileChartColumnIncreasingIcon:Xa,FileChartLine:Ja,FileChartLineIcon:Ja,FileChartPie:Qa,FileChartPieIcon:Qa,FileCheck:Ku,FileCheck2:Zu,FileCheck2Icon:Zu,FileCheckIcon:Ku,FileClock:Xu,FileClockIcon:Xu,FileCode:Yu,FileCode2:Ju,FileCode2Icon:Ju,FileCodeIcon:Yu,FileCog:en,FileCog2:en,FileCog2Icon:en,FileCogIcon:en,FileDiff:Qu,FileDiffIcon:Qu,FileDigit:ep,FileDigitIcon:ep,FileDown:tp,FileDownIcon:tp,FileEdit:an,FileEditIcon:an,FileHeart:ap,FileHeartIcon:ap,FileIcon:Vp,FileImage:np,FileImageIcon:np,FileInput:op,FileInputIcon:op,FileJson:ip,FileJson2:cp,FileJson2Icon:cp,FileJsonIcon:ip,FileKey:sp,FileKey2:rp,FileKey2Icon:rp,FileKeyIcon:sp,FileLineChart:Ja,FileLineChartIcon:Ja,FileLock:lp,FileLock2:dp,FileLock2Icon:dp,FileLockIcon:lp,FileMinus:up,FileMinus2:hp,FileMinus2Icon:hp,FileMinusIcon:up,FileMusic:pp,FileMusicIcon:pp,FileOutput:yp,FileOutputIcon:yp,FilePen:an,FilePenIcon:an,FilePenLine:tn,FilePenLineIcon:tn,FilePieChart:Qa,FilePieChartIcon:Qa,FilePlay:nn,FilePlayIcon:nn,FilePlus:mp,FilePlus2:kp,FilePlus2Icon:kp,FilePlusIcon:mp,FileQuestion:on,FileQuestionIcon:on,FileQuestionMark:on,FileQuestionMarkIcon:on,FileScan:fp,FileScanIcon:fp,FileSearch:vp,FileSearch2:gp,FileSearch2Icon:gp,FileSearchIcon:vp,FileSignature:tn,FileSignatureIcon:tn,FileSliders:Mp,FileSlidersIcon:Mp,FileSpreadsheet:_p,FileSpreadsheetIcon:_p,FileStack:xp,FileStackIcon:xp,FileSymlink:Lp,FileSymlinkIcon:Lp,FileTerminal:Ip,FileTerminalIcon:Ip,FileText:wp,FileTextIcon:wp,FileType:Cp,FileType2:bp,FileType2Icon:bp,FileTypeIcon:Cp,FileUp:Np,FileUpIcon:Np,FileUser:Sp,FileUserIcon:Sp,FileVideo:nn,FileVideo2:cn,FileVideo2Icon:cn,FileVideoCamera:cn,FileVideoCameraIcon:cn,FileVideoIcon:nn,FileVolume:$p,FileVolume2:jp,FileVolume2Icon:jp,FileVolumeIcon:$p,FileWarning:qp,FileWarningIcon:qp,FileX:zp,FileX2:Ap,FileX2Icon:Ap,FileXIcon:zp,Files:Pp,FilesIcon:Pp,Film:Tp,FilmIcon:Tp,Filter:vt,FilterIcon:vt,FilterX:dn,FilterXIcon:dn,Fingerprint:Hp,FingerprintIcon:Hp,FireExtinguisher:Dp,FireExtinguisherIcon:Dp,Fish:Rp,FishIcon:Rp,FishOff:Bp,FishOffIcon:Bp,FishSymbol:Fp,FishSymbolIcon:Fp,Flag:Wp,FlagIcon:Wp,FlagOff:Ep,FlagOffIcon:Ep,FlagTriangleLeft:Op,FlagTriangleLeftIcon:Op,FlagTriangleRight:Up,FlagTriangleRightIcon:Up,Flame:Zp,FlameIcon:Zp,FlameKindling:Gp,FlameKindlingIcon:Gp,Flashlight:Xp,FlashlightIcon:Xp,FlashlightOff:Kp,FlashlightOffIcon:Kp,FlaskConical:Jp,FlaskConicalIcon:Jp,FlaskConicalOff:Yp,FlaskConicalOffIcon:Yp,FlaskRound:Qp,FlaskRoundIcon:Qp,FlipHorizontal:ty,FlipHorizontal2:ey,FlipHorizontal2Icon:ey,FlipHorizontalIcon:ty,FlipVertical:ny,FlipVertical2:ay,FlipVertical2Icon:ay,FlipVerticalIcon:ny,Flower:cy,Flower2:oy,Flower2Icon:oy,FlowerIcon:cy,Focus:iy,FocusIcon:iy,FoldHorizontal:ry,FoldHorizontalIcon:ry,FoldVertical:sy,FoldVerticalIcon:sy,Folder:d1,FolderArchive:dy,FolderArchiveIcon:dy,FolderCheck:ly,FolderCheckIcon:ly,FolderClock:hy,FolderClockIcon:hy,FolderClosed:uy,FolderClosedIcon:uy,FolderCode:py,FolderCodeIcon:py,FolderCog:rn,FolderCog2:rn,FolderCog2Icon:rn,FolderCogIcon:rn,FolderDot:yy,FolderDotIcon:yy,FolderDown:ky,FolderDownIcon:ky,FolderEdit:sn,FolderEditIcon:sn,FolderGit:fy,FolderGit2:my,FolderGit2Icon:my,FolderGitIcon:fy,FolderHeart:gy,FolderHeartIcon:gy,FolderIcon:d1,FolderInput:vy,FolderInputIcon:vy,FolderKanban:My,FolderKanbanIcon:My,FolderKey:_y,FolderKeyIcon:_y,FolderLock:xy,FolderLockIcon:xy,FolderMinus:Ly,FolderMinusIcon:Ly,FolderOpen:wy,FolderOpenDot:Iy,FolderOpenDotIcon:Iy,FolderOpenIcon:wy,FolderOutput:by,FolderOutputIcon:by,FolderPen:sn,FolderPenIcon:sn,FolderPlus:Tc,FolderPlusIcon:Tc,FolderRoot:Cy,FolderRootIcon:Cy,FolderSearch:Sy,FolderSearch2:Ny,FolderSearch2Icon:Ny,FolderSearchIcon:Sy,FolderSymlink:jy,FolderSymlinkIcon:jy,FolderSync:$y,FolderSyncIcon:$y,FolderTree:qy,FolderTreeIcon:qy,FolderUp:Ay,FolderUpIcon:Ay,FolderX:zy,FolderXIcon:zy,Folders:Vy,FoldersIcon:Vy,Footprints:Py,FootprintsIcon:Py,ForkKnife:pc,ForkKnifeCrossed:uc,ForkKnifeCrossedIcon:uc,ForkKnifeIcon:pc,Forklift:Ty,ForkliftIcon:Ty,FormInput:On,FormInputIcon:On,Forward:Hy,ForwardIcon:Hy,Frame:Dy,FrameIcon:Dy,Framer:By,FramerIcon:By,Frown:Ry,FrownIcon:Ry,Fuel:Fy,FuelIcon:Fy,Fullscreen:Ey,FullscreenIcon:Ey,FunctionSquare:No,FunctionSquareIcon:No,Funnel:vt,FunnelIcon:vt,FunnelPlus:Oy,FunnelPlusIcon:Oy,FunnelX:dn,FunnelXIcon:dn,GalleryHorizontal:Wy,GalleryHorizontalEnd:Uy,GalleryHorizontalEndIcon:Uy,GalleryHorizontalIcon:Wy,GalleryThumbnails:Gy,GalleryThumbnailsIcon:Gy,GalleryVertical:Ky,GalleryVerticalEnd:Zy,GalleryVerticalEndIcon:Zy,GalleryVerticalIcon:Ky,Gamepad:Yy,Gamepad2:Xy,Gamepad2Icon:Xy,GamepadIcon:Yy,GanttChart:ca,GanttChartIcon:ca,GanttChartSquare:ot,GanttChartSquareIcon:ot,Gauge:Jy,GaugeCircle:Ia,GaugeCircleIcon:Ia,GaugeIcon:Jy,Gavel:Qy,GavelIcon:Qy,Gem:e4,GemIcon:e4,GeorgianLari:t4,GeorgianLariIcon:t4,Ghost:a4,GhostIcon:a4,Gift:n4,GiftIcon:n4,GitBranch:c4,GitBranchIcon:c4,GitBranchPlus:o4,GitBranchPlusIcon:o4,GitCommit:ln,GitCommitHorizontal:ln,GitCommitHorizontalIcon:ln,GitCommitIcon:ln,GitCommitVertical:i4,GitCommitVerticalIcon:i4,GitCompare:s4,GitCompareArrows:r4,GitCompareArrowsIcon:r4,GitCompareIcon:s4,GitFork:d4,GitForkIcon:d4,GitGraph:l4,GitGraphIcon:l4,GitMerge:h4,GitMergeIcon:h4,GitPullRequest:f4,GitPullRequestArrow:u4,GitPullRequestArrowIcon:u4,GitPullRequestClosed:p4,GitPullRequestClosedIcon:p4,GitPullRequestCreate:k4,GitPullRequestCreateArrow:y4,GitPullRequestCreateArrowIcon:y4,GitPullRequestCreateIcon:k4,GitPullRequestDraft:m4,GitPullRequestDraftIcon:m4,GitPullRequestIcon:f4,Github:g4,GithubIcon:g4,Gitlab:v4,GitlabIcon:v4,GlassWater:M4,GlassWaterIcon:M4,Glasses:_4,GlassesIcon:_4,Globe:L4,Globe2:Wa,Globe2Icon:Wa,GlobeIcon:L4,GlobeLock:x4,GlobeLockIcon:x4,Goal:I4,GoalIcon:I4,Gpu:w4,GpuIcon:w4,Grab:kn,GrabIcon:kn,GraduationCap:b4,GraduationCapIcon:b4,Grape:C4,GrapeIcon:C4,Grid:nt,Grid2X2:yn,Grid2X2Check:hn,Grid2X2CheckIcon:hn,Grid2X2Icon:yn,Grid2X2Plus:un,Grid2X2PlusIcon:un,Grid2X2X:pn,Grid2X2XIcon:pn,Grid2x2:yn,Grid2x2Check:hn,Grid2x2CheckIcon:hn,Grid2x2Icon:yn,Grid2x2Plus:un,Grid2x2PlusIcon:un,Grid2x2X:pn,Grid2x2XIcon:pn,Grid3X3:nt,Grid3X3Icon:nt,Grid3x2:N4,Grid3x2Icon:N4,Grid3x3:nt,Grid3x3Icon:nt,GridIcon:nt,Grip:j4,GripHorizontal:S4,GripHorizontalIcon:S4,GripIcon:j4,GripVertical:l1,GripVerticalIcon:l1,Group:$4,GroupIcon:$4,Guitar:q4,GuitarIcon:q4,Ham:A4,HamIcon:A4,Hamburger:z4,HamburgerIcon:z4,Hammer:V4,HammerIcon:V4,Hand:R4,HandCoins:P4,HandCoinsIcon:P4,HandFist:T4,HandFistIcon:T4,HandGrab:kn,HandGrabIcon:kn,HandHeart:H4,HandHeartIcon:H4,HandHelping:mn,HandHelpingIcon:mn,HandIcon:R4,HandMetal:D4,HandMetalIcon:D4,HandPlatter:B4,HandPlatterIcon:B4,Handbag:F4,HandbagIcon:F4,Handshake:E4,HandshakeIcon:E4,HardDrive:W4,HardDriveDownload:O4,HardDriveDownloadIcon:O4,HardDriveIcon:W4,HardDriveUpload:U4,HardDriveUploadIcon:U4,HardHat:G4,HardHatIcon:G4,Hash:Z4,HashIcon:Z4,HatGlasses:K4,HatGlassesIcon:K4,Haze:X4,HazeIcon:X4,HdmiPort:Y4,HdmiPortIcon:Y4,Heading:o5,Heading1:J4,Heading1Icon:J4,Heading2:Q4,Heading2Icon:Q4,Heading3:e5,Heading3Icon:e5,Heading4:t5,Heading4Icon:t5,Heading5:a5,Heading5Icon:a5,Heading6:n5,Heading6Icon:n5,HeadingIcon:o5,HeadphoneOff:c5,HeadphoneOffIcon:c5,Headphones:i5,HeadphonesIcon:i5,Headset:r5,HeadsetIcon:r5,Heart:y5,HeartCrack:s5,HeartCrackIcon:s5,HeartHandshake:d5,HeartHandshakeIcon:d5,HeartIcon:y5,HeartMinus:l5,HeartMinusIcon:l5,HeartOff:h5,HeartOffIcon:h5,HeartPlus:u5,HeartPlusIcon:u5,HeartPulse:p5,HeartPulseIcon:p5,Heater:k5,HeaterIcon:k5,HelpCircle:tt,HelpCircleIcon:tt,HelpingHand:mn,HelpingHandIcon:mn,Hexagon:m5,HexagonIcon:m5,Highlighter:f5,HighlighterIcon:f5,History:g5,HistoryIcon:g5,Home:Mt,HomeIcon:Mt,Hop:M5,HopIcon:M5,HopOff:v5,HopOffIcon:v5,Hospital:h1,HospitalIcon:h1,Hotel:_5,HotelIcon:_5,Hourglass:x5,HourglassIcon:x5,House:Mt,HouseIcon:Mt,HousePlug:L5,HousePlugIcon:L5,HousePlus:w5,HousePlusIcon:w5,HouseWifi:I5,HouseWifiIcon:I5,IceCream:gn,IceCream2:fn,IceCream2Icon:fn,IceCreamBowl:fn,IceCreamBowlIcon:fn,IceCreamCone:gn,IceCreamConeIcon:gn,IceCreamIcon:gn,Icon:a.Icon,IdCard:C5,IdCardIcon:C5,IdCardLanyard:b5,IdCardLanyardIcon:b5,Image:V5,ImageDown:N5,ImageDownIcon:N5,ImageIcon:V5,ImageMinus:S5,ImageMinusIcon:S5,ImageOff:j5,ImageOffIcon:j5,ImagePlay:$5,ImagePlayIcon:$5,ImagePlus:q5,ImagePlusIcon:q5,ImageUp:A5,ImageUpIcon:A5,ImageUpscale:z5,ImageUpscaleIcon:z5,Images:P5,ImagesIcon:P5,Import:T5,ImportIcon:T5,Inbox:H5,InboxIcon:H5,Indent:Mn,IndentDecrease:vn,IndentDecreaseIcon:vn,IndentIcon:Mn,IndentIncrease:Mn,IndentIncreaseIcon:Mn,IndianRupee:D5,IndianRupeeIcon:D5,Infinity:B5,InfinityIcon:B5,Info:R5,InfoIcon:R5,Inspect:Vo,InspectIcon:Vo,InspectionPanel:F5,InspectionPanelIcon:F5,Instagram:E5,InstagramIcon:E5,Italic:O5,ItalicIcon:O5,IterationCcw:U5,IterationCcwIcon:U5,IterationCw:W5,IterationCwIcon:W5,JapaneseYen:Z5,JapaneseYenIcon:Z5,Joystick:G5,JoystickIcon:G5,Kanban:K5,KanbanIcon:K5,KanbanSquare:So,KanbanSquareDashed:xo,KanbanSquareDashedIcon:xo,KanbanSquareIcon:So,Kayak:X5,KayakIcon:X5,Key:Q5,KeyIcon:Q5,KeyRound:Y5,KeyRoundIcon:Y5,KeySquare:J5,KeySquareIcon:J5,Keyboard:ak,KeyboardIcon:ak,KeyboardMusic:ek,KeyboardMusicIcon:ek,KeyboardOff:tk,KeyboardOffIcon:tk,Lamp:sk,LampCeiling:nk,LampCeilingIcon:nk,LampDesk:ck,LampDeskIcon:ck,LampFloor:ok,LampFloorIcon:ok,LampIcon:sk,LampWallDown:ik,LampWallDownIcon:ik,LampWallUp:rk,LampWallUpIcon:rk,LandPlot:dk,LandPlotIcon:dk,Landmark:lk,LandmarkIcon:lk,Languages:hk,LanguagesIcon:hk,Laptop:pk,Laptop2:_n,Laptop2Icon:_n,LaptopIcon:pk,LaptopMinimal:_n,LaptopMinimalCheck:uk,LaptopMinimalCheckIcon:uk,LaptopMinimalIcon:_n,Lasso:kk,LassoIcon:kk,LassoSelect:yk,LassoSelectIcon:yk,Laugh:mk,LaughIcon:mk,Layers:xn,Layers2:fk,Layers2Icon:fk,Layers3:xn,Layers3Icon:xn,LayersIcon:xn,Layout:Fn,LayoutDashboard:gk,LayoutDashboardIcon:gk,LayoutGrid:vk,LayoutGridIcon:vk,LayoutIcon:Fn,LayoutList:Mk,LayoutListIcon:Mk,LayoutPanelLeft:_k,LayoutPanelLeftIcon:_k,LayoutPanelTop:xk,LayoutPanelTopIcon:xk,LayoutTemplate:Lk,LayoutTemplateIcon:Lk,Leaf:Ik,LeafIcon:Ik,LeafyGreen:bk,LeafyGreenIcon:bk,Lectern:wk,LecternIcon:wk,LetterText:Ck,LetterTextIcon:Ck,Library:Sk,LibraryBig:Nk,LibraryBigIcon:Nk,LibraryIcon:Sk,LibrarySquare:jo,LibrarySquareIcon:jo,LifeBuoy:jk,LifeBuoyIcon:jk,Ligature:$k,LigatureIcon:$k,Lightbulb:Ak,LightbulbIcon:Ak,LightbulbOff:qk,LightbulbOffIcon:qk,LineChart:aa,LineChartIcon:aa,LineSquiggle:zk,LineSquiggleIcon:zk,Link:Tk,Link2:Vk,Link2Icon:Vk,Link2Off:Pk,Link2OffIcon:Pk,LinkIcon:Tk,Linkedin:Hk,LinkedinIcon:Hk,List:t3,ListCheck:Dk,ListCheckIcon:Dk,ListChecks:Bk,ListChecksIcon:Bk,ListCollapse:Rk,ListCollapseIcon:Rk,ListEnd:Fk,ListEndIcon:Fk,ListFilter:Uk,ListFilterIcon:Uk,ListFilterPlus:Ek,ListFilterPlusIcon:Ek,ListIcon:t3,ListMinus:Ok,ListMinusIcon:Ok,ListMusic:Wk,ListMusicIcon:Wk,ListOrdered:Gk,ListOrderedIcon:Gk,ListPlus:Zk,ListPlusIcon:Zk,ListRestart:Kk,ListRestartIcon:Kk,ListStart:Xk,ListStartIcon:Xk,ListTodo:Yk,ListTodoIcon:Yk,ListTree:Jk,ListTreeIcon:Jk,ListVideo:Qk,ListVideoIcon:Qk,ListX:e3,ListXIcon:e3,Loader:n3,Loader2:Ln,Loader2Icon:Ln,LoaderCircle:Ln,LoaderCircleIcon:Ln,LoaderIcon:n3,LoaderPinwheel:a3,LoaderPinwheelIcon:a3,Locate:i3,LocateFixed:o3,LocateFixedIcon:o3,LocateIcon:i3,LocateOff:c3,LocateOffIcon:c3,LocationEdit:Cn,LocationEditIcon:Cn,Lock:s3,LockIcon:s3,LockKeyhole:r3,LockKeyholeIcon:r3,LockKeyholeOpen:In,LockKeyholeOpenIcon:In,LockOpen:wn,LockOpenIcon:wn,LogIn:d3,LogInIcon:d3,LogOut:l3,LogOutIcon:l3,Logs:h3,LogsIcon:h3,Lollipop:u3,LollipopIcon:u3,LucideAArrowDown:R1,LucideAArrowUp:F1,LucideALargeSmall:E1,LucideAccessibility:a1,LucideActivity:n1,LucideActivitySquare:_t,LucideAirVent:O1,LucideAirplay:U1,LucideAlarmCheck:qt,LucideAlarmClock:G1,LucideAlarmClockCheck:qt,LucideAlarmClockMinus:At,LucideAlarmClockOff:W1,LucideAlarmClockPlus:zt,LucideAlarmMinus:At,LucideAlarmPlus:zt,LucideAlarmSmoke:Z1,LucideAlbum:K1,LucideAlertCircle:sa,LucideAlertOctagon:$n,LucideAlertTriangle:ac,LucideAlignCenter:ti,LucideAlignCenterHorizontal:X1,LucideAlignCenterVertical:Y1,LucideAlignEndHorizontal:J1,LucideAlignEndVertical:Q1,LucideAlignHorizontalDistributeCenter:ei,LucideAlignHorizontalDistributeEnd:ai,LucideAlignHorizontalDistributeStart:ni,LucideAlignHorizontalJustifyCenter:oi,LucideAlignHorizontalJustifyEnd:ci,LucideAlignHorizontalJustifyStart:ii,LucideAlignHorizontalSpaceAround:ri,LucideAlignHorizontalSpaceBetween:di,LucideAlignJustify:si,LucideAlignLeft:li,LucideAlignRight:hi,LucideAlignStartHorizontal:ui,LucideAlignStartVertical:pi,LucideAlignVerticalDistributeCenter:ki,LucideAlignVerticalDistributeEnd:yi,LucideAlignVerticalDistributeStart:fi,LucideAlignVerticalJustifyCenter:mi,LucideAlignVerticalJustifyEnd:gi,LucideAlignVerticalJustifyStart:vi,LucideAlignVerticalSpaceAround:_i,LucideAlignVerticalSpaceBetween:Mi,LucideAmbulance:xi,LucideAmpersand:Li,LucideAmpersands:Ii,LucideAmphora:wi,LucideAnchor:bi,LucideAngry:Ci,LucideAnnoyed:Ni,LucideAntenna:Si,LucideAnvil:ji,LucideAperture:$i,LucideAppWindow:Ai,LucideAppWindowMac:qi,LucideApple:zi,LucideArchive:Ti,LucideArchiveRestore:Vi,LucideArchiveX:Pi,LucideAreaChart:Kt,LucideArmchair:Hi,LucideArrowBigDown:Bi,LucideArrowBigDownDash:Di,LucideArrowBigLeft:Fi,LucideArrowBigLeftDash:Ri,LucideArrowBigRight:Oi,LucideArrowBigRightDash:Ei,LucideArrowBigUp:Wi,LucideArrowBigUpDash:Ui,LucideArrowDown:ar,LucideArrowDown01:Gi,LucideArrowDown10:Zi,LucideArrowDownAZ:Vt,LucideArrowDownAz:Vt,LucideArrowDownCircle:da,LucideArrowDownFromLine:Ki,LucideArrowDownLeft:Xi,LucideArrowDownLeftFromCircle:ha,LucideArrowDownLeftFromSquare:oo,LucideArrowDownLeftSquare:eo,LucideArrowDownNarrowWide:Yi,LucideArrowDownRight:Ji,LucideArrowDownRightFromCircle:ua,LucideArrowDownRightFromSquare:co,LucideArrowDownRightSquare:to,LucideArrowDownSquare:ao,LucideArrowDownToDot:Qi,LucideArrowDownToLine:er,LucideArrowDownUp:tr,LucideArrowDownWideNarrow:Pt,LucideArrowDownZA:Tt,LucideArrowDownZa:Tt,LucideArrowLeft:ir,LucideArrowLeftCircle:la,LucideArrowLeftFromLine:nr,LucideArrowLeftRight:or,LucideArrowLeftSquare:no,LucideArrowLeftToLine:cr,LucideArrowRight:lr,LucideArrowRightCircle:ka,LucideArrowRightFromLine:rr,LucideArrowRightLeft:sr,LucideArrowRightSquare:so,LucideArrowRightToLine:dr,LucideArrowUp:Mr,LucideArrowUp01:hr,LucideArrowUp10:ur,LucideArrowUpAZ:Ht,LucideArrowUpAz:Ht,LucideArrowUpCircle:ma,LucideArrowUpDown:pr,LucideArrowUpFromDot:yr,LucideArrowUpFromLine:kr,LucideArrowUpLeft:mr,LucideArrowUpLeftFromCircle:pa,LucideArrowUpLeftFromSquare:io,LucideArrowUpLeftSquare:lo,LucideArrowUpNarrowWide:Dt,LucideArrowUpRight:fr,LucideArrowUpRightFromCircle:ya,LucideArrowUpRightFromSquare:ro,LucideArrowUpRightSquare:ho,LucideArrowUpSquare:uo,LucideArrowUpToLine:gr,LucideArrowUpWideNarrow:vr,LucideArrowUpZA:Bt,LucideArrowUpZa:Bt,LucideArrowsUpFromLine:_r,LucideAsterisk:xr,LucideAsteriskSquare:po,LucideAtSign:Lr,LucideAtom:Ir,LucideAudioLines:wr,LucideAudioWaveform:br,LucideAward:Cr,LucideAxe:Nr,LucideAxis3D:Rt,LucideAxis3d:Rt,LucideBaby:Sr,LucideBackpack:jr,LucideBadge:Wr,LucideBadgeAlert:$r,LucideBadgeCent:qr,LucideBadgeCheck:Ft,LucideBadgeDollarSign:Ar,LucideBadgeEuro:zr,LucideBadgeHelp:Et,LucideBadgeIndianRupee:Vr,LucideBadgeInfo:Pr,LucideBadgeJapaneseYen:Hr,LucideBadgeMinus:Tr,LucideBadgePercent:Dr,LucideBadgePlus:Br,LucideBadgePoundSterling:Rr,LucideBadgeQuestionMark:Et,LucideBadgeRussianRuble:Fr,LucideBadgeSwissFranc:Er,LucideBadgeTurkishLira:Or,LucideBadgeX:Ur,LucideBaggageClaim:Gr,LucideBan:Zr,LucideBanana:Kr,LucideBandage:Xr,LucideBanknote:es,LucideBanknoteArrowDown:Yr,LucideBanknoteArrowUp:Jr,LucideBanknoteX:Qr,LucideBarChart:na,LucideBarChart2:oa,LucideBarChart3:ta,LucideBarChart4:ea,LucideBarChartBig:Qt,LucideBarChartHorizontal:Yt,LucideBarChartHorizontalBig:Xt,LucideBarcode:ts,LucideBarrel:as,LucideBaseline:ns,LucideBath:os,LucideBattery:hs,LucideBatteryCharging:cs,LucideBatteryFull:is,LucideBatteryLow:rs,LucideBatteryMedium:ss,LucideBatteryPlus:ds,LucideBatteryWarning:ls,LucideBeaker:us,LucideBean:ys,LucideBeanOff:ps,LucideBed:fs,LucideBedDouble:ks,LucideBedSingle:ms,LucideBeef:gs,LucideBeer:Ms,LucideBeerOff:vs,LucideBell:bs,LucideBellDot:_s,LucideBellElectric:xs,LucideBellMinus:Ls,LucideBellOff:Is,LucideBellPlus:ws,LucideBellRing:Cs,LucideBetweenHorizonalEnd:Ot,LucideBetweenHorizonalStart:Ut,LucideBetweenHorizontalEnd:Ot,LucideBetweenHorizontalStart:Ut,LucideBetweenVerticalEnd:Ss,LucideBetweenVerticalStart:Ns,LucideBicepsFlexed:js,LucideBike:qs,LucideBinary:$s,LucideBinoculars:As,LucideBiohazard:zs,LucideBird:Vs,LucideBitcoin:Ps,LucideBlend:Ts,LucideBlinds:Hs,LucideBlocks:Ds,LucideBluetooth:Es,LucideBluetoothConnected:Bs,LucideBluetoothOff:Rs,LucideBluetoothSearching:Fs,LucideBold:Os,LucideBolt:Us,LucideBomb:Ws,LucideBone:Gs,LucideBook:f2,LucideBookA:Zs,LucideBookAlert:Ks,LucideBookAudio:Xs,LucideBookCheck:Ys,LucideBookCopy:Js,LucideBookDashed:Wt,LucideBookDown:Qs,LucideBookHeadphones:e2,LucideBookHeart:t2,LucideBookImage:a2,LucideBookKey:n2,LucideBookLock:o2,LucideBookMarked:i2,LucideBookMinus:c2,LucideBookOpen:d2,LucideBookOpenCheck:r2,LucideBookOpenText:s2,LucideBookPlus:l2,LucideBookTemplate:Wt,LucideBookText:h2,LucideBookType:u2,LucideBookUp:y2,LucideBookUp2:p2,LucideBookUser:k2,LucideBookX:m2,LucideBookmark:x2,LucideBookmarkCheck:g2,LucideBookmarkMinus:v2,LucideBookmarkPlus:M2,LucideBookmarkX:_2,LucideBoomBox:L2,LucideBot:b2,LucideBotMessageSquare:I2,LucideBotOff:w2,LucideBottleWine:C2,LucideBowArrow:N2,LucideBox:S2,LucideBoxSelect:Io,LucideBoxes:j2,LucideBraces:Gt,LucideBrackets:$2,LucideBrain:z2,LucideBrainCircuit:q2,LucideBrainCog:A2,LucideBrickWall:T2,LucideBrickWallFire:V2,LucideBrickWallShield:P2,LucideBriefcase:R2,LucideBriefcaseBusiness:H2,LucideBriefcaseConveyorBelt:D2,LucideBriefcaseMedical:B2,LucideBringToFront:F2,LucideBrush:O2,LucideBrushCleaning:E2,LucideBubbles:U2,LucideBug:K2,LucideBugOff:W2,LucideBugPlay:G2,LucideBuilding:X2,LucideBuilding2:Z2,LucideBus:J2,LucideBusFront:Y2,LucideCable:ed,LucideCableCar:Q2,LucideCake:ad,LucideCakeSlice:td,LucideCalculator:nd,LucideCalendar:o1,LucideCalendar1:od,LucideCalendarArrowDown:cd,LucideCalendarArrowUp:id,LucideCalendarCheck:sd,LucideCalendarCheck2:rd,LucideCalendarClock:dd,LucideCalendarCog:ld,LucideCalendarDays:hd,LucideCalendarFold:ud,LucideCalendarHeart:pd,LucideCalendarMinus:kd,LucideCalendarMinus2:yd,LucideCalendarOff:md,LucideCalendarPlus:gd,LucideCalendarPlus2:fd,LucideCalendarRange:vd,LucideCalendarSearch:Md,LucideCalendarSync:_d,LucideCalendarX:Ld,LucideCalendarX2:xd,LucideCamera:wd,LucideCameraOff:Id,LucideCandlestickChart:Jt,LucideCandy:Nd,LucideCandyCane:bd,LucideCandyOff:Cd,LucideCannabis:Sd,LucideCaptions:Zt,LucideCaptionsOff:jd,LucideCar:Ad,LucideCarFront:$d,LucideCarTaxiFront:qd,LucideCaravan:zd,LucideCardSim:Vd,LucideCarrot:Pd,LucideCaseLower:Td,LucideCaseSensitive:Hd,LucideCaseUpper:Dd,LucideCassetteTape:Bd,LucideCast:Rd,LucideCastle:Ed,LucideCat:Fd,LucideCctv:Od,LucideChartArea:Kt,LucideChartBar:Yt,LucideChartBarBig:Xt,LucideChartBarDecreasing:Ud,LucideChartBarIncreasing:Wd,LucideChartBarStacked:Gd,LucideChartCandlestick:Jt,LucideChartColumn:ta,LucideChartColumnBig:Qt,LucideChartColumnDecreasing:Zd,LucideChartColumnIncreasing:ea,LucideChartColumnStacked:Kd,LucideChartGantt:Xd,LucideChartLine:aa,LucideChartNetwork:Yd,LucideChartNoAxesColumn:oa,LucideChartNoAxesColumnDecreasing:Jd,LucideChartNoAxesColumnIncreasing:na,LucideChartNoAxesCombined:Qd,LucideChartNoAxesGantt:ca,LucideChartPie:ia,LucideChartScatter:ra,LucideChartSpline:e0,LucideCheck:c1,LucideCheckCheck:t0,LucideCheckCircle:fa,LucideCheckCircle2:ga,LucideCheckLine:a0,LucideCheckSquare:ko,LucideCheckSquare2:mo,LucideChefHat:n0,LucideCherry:o0,LucideChevronDown:wt,LucideChevronDownCircle:va,LucideChevronDownSquare:fo,LucideChevronFirst:c0,LucideChevronLast:i0,LucideChevronLeft:r0,LucideChevronLeftCircle:Ma,LucideChevronLeftSquare:go,LucideChevronRight:i1,LucideChevronRightCircle:_a,LucideChevronRightSquare:vo,LucideChevronUp:Mc,LucideChevronUpCircle:xa,LucideChevronUpSquare:Mo,LucideChevronsDown:d0,LucideChevronsDownUp:s0,LucideChevronsLeft:h0,LucideChevronsLeftRight:l0,LucideChevronsLeftRightEllipsis:u0,LucideChevronsRight:y0,LucideChevronsRightLeft:p0,LucideChevronsUp:k0,LucideChevronsUpDown:Pc,LucideChrome:m0,LucideChurch:f0,LucideCigarette:v0,LucideCigaretteOff:g0,LucideCircle:A0,LucideCircleAlert:sa,LucideCircleArrowDown:da,LucideCircleArrowLeft:la,LucideCircleArrowOutDownLeft:ha,LucideCircleArrowOutDownRight:ua,LucideCircleArrowOutUpLeft:pa,LucideCircleArrowOutUpRight:ya,LucideCircleArrowRight:ka,LucideCircleArrowUp:ma,LucideCircleCheck:ga,LucideCircleCheckBig:fa,LucideCircleChevronDown:va,LucideCircleChevronLeft:Ma,LucideCircleChevronRight:_a,LucideCircleChevronUp:xa,LucideCircleDashed:M0,LucideCircleDivide:La,LucideCircleDollarSign:x0,LucideCircleDot:L0,LucideCircleDotDashed:_0,LucideCircleEllipsis:I0,LucideCircleEqual:w0,LucideCircleFadingArrowUp:C0,LucideCircleFadingPlus:b0,LucideCircleGauge:Ia,LucideCircleHelp:tt,LucideCircleMinus:wa,LucideCircleOff:N0,LucideCircleParking:Na,LucideCircleParkingOff:ba,LucideCirclePause:Ca,LucideCirclePercent:Sa,LucideCirclePlay:ja,LucideCirclePlus:$a,LucideCirclePoundSterling:S0,LucideCirclePower:qa,LucideCircleQuestionMark:tt,LucideCircleSlash:j0,LucideCircleSlash2:Aa,LucideCircleSlashed:Aa,LucideCircleSmall:$0,LucideCircleStar:q0,LucideCircleStop:za,LucideCircleUser:Pa,LucideCircleUserRound:Va,LucideCircleX:gt,LucideCircuitBoard:z0,LucideCitrus:V0,LucideClapperboard:P0,LucideClipboard:W0,LucideClipboardCheck:T0,LucideClipboardClock:H0,LucideClipboardCopy:D0,LucideClipboardEdit:Ha,LucideClipboardList:B0,LucideClipboardMinus:R0,LucideClipboardPaste:F0,LucideClipboardPen:Ha,LucideClipboardPenLine:Ta,LucideClipboardPlus:E0,LucideClipboardSignature:Ta,LucideClipboardType:O0,LucideClipboardX:U0,LucideClock:ll,LucideClock1:Z0,LucideClock10:G0,LucideClock11:K0,LucideClock12:X0,LucideClock2:Y0,LucideClock3:J0,LucideClock4:Q0,LucideClock5:el,LucideClock6:tl,LucideClock7:al,LucideClock8:nl,LucideClock9:ol,LucideClockAlert:cl,LucideClockArrowDown:il,LucideClockArrowUp:rl,LucideClockFading:sl,LucideClockPlus:dl,LucideClosedCaption:hl,LucideCloud:Cl,LucideCloudAlert:ul,LucideCloudCheck:pl,LucideCloudCog:yl,LucideCloudDownload:Da,LucideCloudDrizzle:kl,LucideCloudFog:ml,LucideCloudHail:fl,LucideCloudLightning:gl,LucideCloudMoon:Ml,LucideCloudMoonRain:vl,LucideCloudOff:_l,LucideCloudRain:Ll,LucideCloudRainWind:xl,LucideCloudSnow:Il,LucideCloudSun:bl,LucideCloudSunRain:wl,LucideCloudUpload:Ba,LucideCloudy:Nl,LucideClover:Sl,LucideClub:jl,LucideCode:$l,LucideCode2:Ra,LucideCodeSquare:_o,LucideCodeXml:Ra,LucideCodepen:ql,LucideCodesandbox:Al,LucideCoffee:zl,LucideCog:Vl,LucideCoins:Pl,LucideColumns:Fa,LucideColumns2:Fa,LucideColumns3:Ea,LucideColumns3Cog:at,LucideColumns4:Tl,LucideColumnsSettings:at,LucideCombine:Hl,LucideCommand:Dl,LucideCompass:Bl,LucideComponent:Rl,LucideComputer:Fl,LucideConciergeBell:El,LucideCone:Ol,LucideConstruction:Ul,LucideContact:Wl,LucideContact2:Oa,LucideContactRound:Oa,LucideContainer:Gl,LucideContrast:Kl,LucideCookie:Zl,LucideCookingPot:Yl,LucideCopy:ah,LucideCopyCheck:Xl,LucideCopyMinus:Jl,LucideCopyPlus:Ql,LucideCopySlash:eh,LucideCopyX:th,LucideCopyleft:nh,LucideCopyright:oh,LucideCornerDownLeft:ch,LucideCornerDownRight:ih,LucideCornerLeftDown:rh,LucideCornerLeftUp:sh,LucideCornerRightDown:dh,LucideCornerRightUp:lh,LucideCornerUpLeft:hh,LucideCornerUpRight:uh,LucideCpu:ph,LucideCreativeCommons:yh,LucideCreditCard:kh,LucideCroissant:mh,LucideCrop:fh,LucideCross:gh,LucideCrosshair:vh,LucideCrown:Mh,LucideCuboid:_h,LucideCupSoda:xh,LucideCurlyBraces:Gt,LucideCurrency:Lh,LucideCylinder:Ih,LucideDam:wh,LucideDatabase:Nh,LucideDatabaseBackup:bh,LucideDatabaseZap:Ch,LucideDecimalsArrowLeft:Sh,LucideDecimalsArrowRight:jh,LucideDelete:$h,LucideDessert:qh,LucideDiameter:Ah,LucideDiamond:Ph,LucideDiamondMinus:zh,LucideDiamondPercent:Ua,LucideDiamondPlus:Vh,LucideDice1:Th,LucideDice2:Hh,LucideDice3:Dh,LucideDice4:Bh,LucideDice5:Rh,LucideDice6:Fh,LucideDices:Eh,LucideDiff:Oh,LucideDisc:Zh,LucideDisc2:Uh,LucideDisc3:Wh,LucideDiscAlbum:Gh,LucideDivide:Kh,LucideDivideCircle:La,LucideDivideSquare:wo,LucideDna:Yh,LucideDnaOff:Xh,LucideDock:Jh,LucideDog:Qh,LucideDollarSign:eu,LucideDonut:tu,LucideDoorClosed:nu,LucideDoorClosedLocked:au,LucideDoorOpen:ou,LucideDot:cu,LucideDotSquare:Co,LucideDownload:ru,LucideDownloadCloud:Da,LucideDraftingCompass:iu,LucideDrama:su,LucideDribbble:du,LucideDrill:lu,LucideDrone:hu,LucideDroplet:pu,LucideDropletOff:uu,LucideDroplets:yu,LucideDrum:ku,LucideDrumstick:mu,LucideDumbbell:fu,LucideEar:vu,LucideEarOff:gu,LucideEarth:Wa,LucideEarthLock:Mu,LucideEclipse:_u,LucideEdit:Te,LucideEdit2:lt,LucideEdit3:dt,LucideEgg:Iu,LucideEggFried:xu,LucideEggOff:Lu,LucideEllipsis:Za,LucideEllipsisVertical:Ga,LucideEqual:Cu,LucideEqualApproximately:wu,LucideEqualNot:bu,LucideEqualSquare:bo,LucideEraser:Nu,LucideEthernetPort:Su,LucideEuro:ju,LucideExpand:qu,LucideExternalLink:$u,LucideEye:s1,LucideEyeClosed:Au,LucideEyeOff:r1,LucideFacebook:zu,LucideFactory:Vu,LucideFan:Pu,LucideFastForward:Tu,LucideFeather:Hu,LucideFence:Du,LucideFerrisWheel:Bu,LucideFigma:Ru,LucideFile:Vp,LucideFileArchive:Fu,LucideFileAudio:Ou,LucideFileAudio2:Eu,LucideFileAxis3D:Ka,LucideFileAxis3d:Ka,LucideFileBadge:Gu,LucideFileBadge2:Uu,LucideFileBarChart:Xa,LucideFileBarChart2:Ya,LucideFileBox:Wu,LucideFileChartColumn:Ya,LucideFileChartColumnIncreasing:Xa,LucideFileChartLine:Ja,LucideFileChartPie:Qa,LucideFileCheck:Ku,LucideFileCheck2:Zu,LucideFileClock:Xu,LucideFileCode:Yu,LucideFileCode2:Ju,LucideFileCog:en,LucideFileCog2:en,LucideFileDiff:Qu,LucideFileDigit:ep,LucideFileDown:tp,LucideFileEdit:an,LucideFileHeart:ap,LucideFileImage:np,LucideFileInput:op,LucideFileJson:ip,LucideFileJson2:cp,LucideFileKey:sp,LucideFileKey2:rp,LucideFileLineChart:Ja,LucideFileLock:lp,LucideFileLock2:dp,LucideFileMinus:up,LucideFileMinus2:hp,LucideFileMusic:pp,LucideFileOutput:yp,LucideFilePen:an,LucideFilePenLine:tn,LucideFilePieChart:Qa,LucideFilePlay:nn,LucideFilePlus:mp,LucideFilePlus2:kp,LucideFileQuestion:on,LucideFileQuestionMark:on,LucideFileScan:fp,LucideFileSearch:vp,LucideFileSearch2:gp,LucideFileSignature:tn,LucideFileSliders:Mp,LucideFileSpreadsheet:_p,LucideFileStack:xp,LucideFileSymlink:Lp,LucideFileTerminal:Ip,LucideFileText:wp,LucideFileType:Cp,LucideFileType2:bp,LucideFileUp:Np,LucideFileUser:Sp,LucideFileVideo:nn,LucideFileVideo2:cn,LucideFileVideoCamera:cn,LucideFileVolume:$p,LucideFileVolume2:jp,LucideFileWarning:qp,LucideFileX:zp,LucideFileX2:Ap,LucideFiles:Pp,LucideFilm:Tp,LucideFilter:vt,LucideFilterX:dn,LucideFingerprint:Hp,LucideFireExtinguisher:Dp,LucideFish:Rp,LucideFishOff:Bp,LucideFishSymbol:Fp,LucideFlag:Wp,LucideFlagOff:Ep,LucideFlagTriangleLeft:Op,LucideFlagTriangleRight:Up,LucideFlame:Zp,LucideFlameKindling:Gp,LucideFlashlight:Xp,LucideFlashlightOff:Kp,LucideFlaskConical:Jp,LucideFlaskConicalOff:Yp,LucideFlaskRound:Qp,LucideFlipHorizontal:ty,LucideFlipHorizontal2:ey,LucideFlipVertical:ny,LucideFlipVertical2:ay,LucideFlower:cy,LucideFlower2:oy,LucideFocus:iy,LucideFoldHorizontal:ry,LucideFoldVertical:sy,LucideFolder:d1,LucideFolderArchive:dy,LucideFolderCheck:ly,LucideFolderClock:hy,LucideFolderClosed:uy,LucideFolderCode:py,LucideFolderCog:rn,LucideFolderCog2:rn,LucideFolderDot:yy,LucideFolderDown:ky,LucideFolderEdit:sn,LucideFolderGit:fy,LucideFolderGit2:my,LucideFolderHeart:gy,LucideFolderInput:vy,LucideFolderKanban:My,LucideFolderKey:_y,LucideFolderLock:xy,LucideFolderMinus:Ly,LucideFolderOpen:wy,LucideFolderOpenDot:Iy,LucideFolderOutput:by,LucideFolderPen:sn,LucideFolderPlus:Tc,LucideFolderRoot:Cy,LucideFolderSearch:Sy,LucideFolderSearch2:Ny,LucideFolderSymlink:jy,LucideFolderSync:$y,LucideFolderTree:qy,LucideFolderUp:Ay,LucideFolderX:zy,LucideFolders:Vy,LucideFootprints:Py,LucideForkKnife:pc,LucideForkKnifeCrossed:uc,LucideForklift:Ty,LucideFormInput:On,LucideForward:Hy,LucideFrame:Dy,LucideFramer:By,LucideFrown:Ry,LucideFuel:Fy,LucideFullscreen:Ey,LucideFunctionSquare:No,LucideFunnel:vt,LucideFunnelPlus:Oy,LucideFunnelX:dn,LucideGalleryHorizontal:Wy,LucideGalleryHorizontalEnd:Uy,LucideGalleryThumbnails:Gy,LucideGalleryVertical:Ky,LucideGalleryVerticalEnd:Zy,LucideGamepad:Yy,LucideGamepad2:Xy,LucideGanttChart:ca,LucideGanttChartSquare:ot,LucideGauge:Jy,LucideGaugeCircle:Ia,LucideGavel:Qy,LucideGem:e4,LucideGeorgianLari:t4,LucideGhost:a4,LucideGift:n4,LucideGitBranch:c4,LucideGitBranchPlus:o4,LucideGitCommit:ln,LucideGitCommitHorizontal:ln,LucideGitCommitVertical:i4,LucideGitCompare:s4,LucideGitCompareArrows:r4,LucideGitFork:d4,LucideGitGraph:l4,LucideGitMerge:h4,LucideGitPullRequest:f4,LucideGitPullRequestArrow:u4,LucideGitPullRequestClosed:p4,LucideGitPullRequestCreate:k4,LucideGitPullRequestCreateArrow:y4,LucideGitPullRequestDraft:m4,LucideGithub:g4,LucideGitlab:v4,LucideGlassWater:M4,LucideGlasses:_4,LucideGlobe:L4,LucideGlobe2:Wa,LucideGlobeLock:x4,LucideGoal:I4,LucideGpu:w4,LucideGrab:kn,LucideGraduationCap:b4,LucideGrape:C4,LucideGrid:nt,LucideGrid2X2:yn,LucideGrid2X2Check:hn,LucideGrid2X2Plus:un,LucideGrid2X2X:pn,LucideGrid2x2:yn,LucideGrid2x2Check:hn,LucideGrid2x2Plus:un,LucideGrid2x2X:pn,LucideGrid3X3:nt,LucideGrid3x2:N4,LucideGrid3x3:nt,LucideGrip:j4,LucideGripHorizontal:S4,LucideGripVertical:l1,LucideGroup:$4,LucideGuitar:q4,LucideHam:A4,LucideHamburger:z4,LucideHammer:V4,LucideHand:R4,LucideHandCoins:P4,LucideHandFist:T4,LucideHandGrab:kn,LucideHandHeart:H4,LucideHandHelping:mn,LucideHandMetal:D4,LucideHandPlatter:B4,LucideHandbag:F4,LucideHandshake:E4,LucideHardDrive:W4,LucideHardDriveDownload:O4,LucideHardDriveUpload:U4,LucideHardHat:G4,LucideHash:Z4,LucideHatGlasses:K4,LucideHaze:X4,LucideHdmiPort:Y4,LucideHeading:o5,LucideHeading1:J4,LucideHeading2:Q4,LucideHeading3:e5,LucideHeading4:t5,LucideHeading5:a5,LucideHeading6:n5,LucideHeadphoneOff:c5,LucideHeadphones:i5,LucideHeadset:r5,LucideHeart:y5,LucideHeartCrack:s5,LucideHeartHandshake:d5,LucideHeartMinus:l5,LucideHeartOff:h5,LucideHeartPlus:u5,LucideHeartPulse:p5,LucideHeater:k5,LucideHelpCircle:tt,LucideHelpingHand:mn,LucideHexagon:m5,LucideHighlighter:f5,LucideHistory:g5,LucideHome:Mt,LucideHop:M5,LucideHopOff:v5,LucideHospital:h1,LucideHotel:_5,LucideHourglass:x5,LucideHouse:Mt,LucideHousePlug:L5,LucideHousePlus:w5,LucideHouseWifi:I5,LucideIceCream:gn,LucideIceCream2:fn,LucideIceCreamBowl:fn,LucideIceCreamCone:gn,LucideIdCard:C5,LucideIdCardLanyard:b5,LucideImage:V5,LucideImageDown:N5,LucideImageMinus:S5,LucideImageOff:j5,LucideImagePlay:$5,LucideImagePlus:q5,LucideImageUp:A5,LucideImageUpscale:z5,LucideImages:P5,LucideImport:T5,LucideInbox:H5,LucideIndent:Mn,LucideIndentDecrease:vn,LucideIndentIncrease:Mn,LucideIndianRupee:D5,LucideInfinity:B5,LucideInfo:R5,LucideInspect:Vo,LucideInspectionPanel:F5,LucideInstagram:E5,LucideItalic:O5,LucideIterationCcw:U5,LucideIterationCw:W5,LucideJapaneseYen:Z5,LucideJoystick:G5,LucideKanban:K5,LucideKanbanSquare:So,LucideKanbanSquareDashed:xo,LucideKayak:X5,LucideKey:Q5,LucideKeyRound:Y5,LucideKeySquare:J5,LucideKeyboard:ak,LucideKeyboardMusic:ek,LucideKeyboardOff:tk,LucideLamp:sk,LucideLampCeiling:nk,LucideLampDesk:ck,LucideLampFloor:ok,LucideLampWallDown:ik,LucideLampWallUp:rk,LucideLandPlot:dk,LucideLandmark:lk,LucideLanguages:hk,LucideLaptop:pk,LucideLaptop2:_n,LucideLaptopMinimal:_n,LucideLaptopMinimalCheck:uk,LucideLasso:kk,LucideLassoSelect:yk,LucideLaugh:mk,LucideLayers:xn,LucideLayers2:fk,LucideLayers3:xn,LucideLayout:Fn,LucideLayoutDashboard:gk,LucideLayoutGrid:vk,LucideLayoutList:Mk,LucideLayoutPanelLeft:_k,LucideLayoutPanelTop:xk,LucideLayoutTemplate:Lk,LucideLeaf:Ik,LucideLeafyGreen:bk,LucideLectern:wk,LucideLetterText:Ck,LucideLibrary:Sk,LucideLibraryBig:Nk,LucideLibrarySquare:jo,LucideLifeBuoy:jk,LucideLigature:$k,LucideLightbulb:Ak,LucideLightbulbOff:qk,LucideLineChart:aa,LucideLineSquiggle:zk,LucideLink:Tk,LucideLink2:Vk,LucideLink2Off:Pk,LucideLinkedin:Hk,LucideList:t3,LucideListCheck:Dk,LucideListChecks:Bk,LucideListCollapse:Rk,LucideListEnd:Fk,LucideListFilter:Uk,LucideListFilterPlus:Ek,LucideListMinus:Ok,LucideListMusic:Wk,LucideListOrdered:Gk,LucideListPlus:Zk,LucideListRestart:Kk,LucideListStart:Xk,LucideListTodo:Yk,LucideListTree:Jk,LucideListVideo:Qk,LucideListX:e3,LucideLoader:n3,LucideLoader2:Ln,LucideLoaderCircle:Ln,LucideLoaderPinwheel:a3,LucideLocate:i3,LucideLocateFixed:o3,LucideLocateOff:c3,LucideLocationEdit:Cn,LucideLock:s3,LucideLockKeyhole:r3,LucideLockKeyholeOpen:In,LucideLockOpen:wn,LucideLogIn:d3,LucideLogOut:l3,LucideLogs:h3,LucideLollipop:u3,LucideLuggage:p3,LucideMSquare:$o,LucideMagnet:y3,LucideMail:_3,LucideMailCheck:k3,LucideMailMinus:m3,LucideMailOpen:f3,LucideMailPlus:g3,LucideMailQuestion:bn,LucideMailQuestionMark:bn,LucideMailSearch:v3,LucideMailWarning:M3,LucideMailX:x3,LucideMailbox:L3,LucideMails:I3,LucideMap:D3,LucideMapMinus:w3,LucideMapPin:P3,LucideMapPinCheck:b3,LucideMapPinCheckInside:C3,LucideMapPinHouse:N3,LucideMapPinMinus:j3,LucideMapPinMinusInside:S3,LucideMapPinOff:$3,LucideMapPinPen:Cn,LucideMapPinPlus:A3,LucideMapPinPlusInside:q3,LucideMapPinX:V3,LucideMapPinXInside:z3,LucideMapPinned:T3,LucideMapPlus:H3,LucideMars:R3,LucideMarsStroke:B3,LucideMartini:F3,LucideMaximize:U3,LucideMaximize2:E3,LucideMedal:O3,LucideMegaphone:G3,LucideMegaphoneOff:W3,LucideMeh:Z3,LucideMemoryStick:K3,LucideMenu:Hc,LucideMenuSquare:qo,LucideMerge:X3,LucideMessageCircle:im,LucideMessageCircleCode:Y3,LucideMessageCircleDashed:J3,LucideMessageCircleHeart:Q3,LucideMessageCircleMore:em,LucideMessageCircleOff:tm,LucideMessageCirclePlus:am,LucideMessageCircleQuestion:Nn,LucideMessageCircleQuestionMark:Nn,LucideMessageCircleReply:nm,LucideMessageCircleWarning:om,LucideMessageCircleX:cm,LucideMessageSquare:xm,LucideMessageSquareCode:rm,LucideMessageSquareDashed:sm,LucideMessageSquareDiff:dm,LucideMessageSquareDot:lm,LucideMessageSquareHeart:hm,LucideMessageSquareLock:um,LucideMessageSquareMore:pm,LucideMessageSquareOff:ym,LucideMessageSquarePlus:km,LucideMessageSquareQuote:mm,LucideMessageSquareReply:fm,LucideMessageSquareShare:gm,LucideMessageSquareText:vm,LucideMessageSquareWarning:Mm,LucideMessageSquareX:_m,LucideMessagesSquare:Lm,LucideMic:wm,LucideMic2:Sn,LucideMicOff:Im,LucideMicVocal:Sn,LucideMicrochip:bm,LucideMicroscope:Cm,LucideMicrowave:Nm,LucideMilestone:Sm,LucideMilk:$m,LucideMilkOff:jm,LucideMinimize:Am,LucideMinimize2:qm,LucideMinus:zm,LucideMinusCircle:wa,LucideMinusSquare:Ao,LucideMonitor:Gm,LucideMonitorCheck:Vm,LucideMonitorCog:Pm,LucideMonitorDot:Tm,LucideMonitorDown:Hm,LucideMonitorOff:Dm,LucideMonitorPause:Rm,LucideMonitorPlay:Bm,LucideMonitorSmartphone:Fm,LucideMonitorSpeaker:Em,LucideMonitorStop:Om,LucideMonitorUp:Um,LucideMonitorX:Wm,LucideMoon:Km,LucideMoonStar:Zm,LucideMoreHorizontal:Za,LucideMoreVertical:Ga,LucideMountain:Ym,LucideMountainSnow:Xm,LucideMouse:n6,LucideMouseOff:Jm,LucideMousePointer:t6,LucideMousePointer2:Qm,LucideMousePointerBan:e6,LucideMousePointerClick:a6,LucideMousePointerSquareDashed:Lo,LucideMove:a.Move,LucideMove3D:jn,LucideMove3d:jn,LucideMoveDiagonal:c6,LucideMoveDiagonal2:o6,LucideMoveDown:d6,LucideMoveDownLeft:i6,LucideMoveDownRight:r6,LucideMoveHorizontal:s6,LucideMoveLeft:l6,LucideMoveRight:h6,LucideMoveUp:y6,LucideMoveUpLeft:u6,LucideMoveUpRight:p6,LucideMoveVertical:k6,LucideMusic:v6,LucideMusic2:m6,LucideMusic3:f6,LucideMusic4:g6,LucideNavigation:L6,LucideNavigation2:_6,LucideNavigation2Off:M6,LucideNavigationOff:x6,LucideNetwork:I6,LucideNewspaper:w6,LucideNfc:b6,LucideNonBinary:C6,LucideNotebook:$6,LucideNotebookPen:N6,LucideNotebookTabs:S6,LucideNotebookText:j6,LucideNotepadText:A6,LucideNotepadTextDashed:q6,LucideNut:V6,LucideNutOff:z6,LucideOctagon:T6,LucideOctagonAlert:$n,LucideOctagonMinus:P6,LucideOctagonPause:qn,LucideOctagonX:An,LucideOmega:H6,LucideOption:D6,LucideOrbit:B6,LucideOrigami:R6,LucideOutdent:vn,LucidePackage:K6,LucidePackage2:F6,LucidePackageCheck:E6,LucidePackageMinus:O6,LucidePackageOpen:U6,LucidePackagePlus:W6,LucidePackageSearch:G6,LucidePackageX:Z6,LucidePaintBucket:X6,LucidePaintRoller:Y6,LucidePaintbrush:J6,LucidePaintbrush2:zn,LucidePaintbrushVertical:zn,LucidePalette:Q6,LucidePalmtree:tc,LucidePanda:e8,LucidePanelBottom:n8,LucidePanelBottomClose:t8,LucidePanelBottomDashed:Vn,LucidePanelBottomInactive:Vn,LucidePanelBottomOpen:a8,LucidePanelLeft:Dn,LucidePanelLeftClose:Pn,LucidePanelLeftDashed:Tn,LucidePanelLeftInactive:Tn,LucidePanelLeftOpen:Hn,LucidePanelRight:i8,LucidePanelRightClose:o8,LucidePanelRightDashed:Bn,LucidePanelRightInactive:Bn,LucidePanelRightOpen:c8,LucidePanelTop:d8,LucidePanelTopClose:r8,LucidePanelTopDashed:Rn,LucidePanelTopInactive:Rn,LucidePanelTopOpen:s8,LucidePanelsLeftBottom:l8,LucidePanelsLeftRight:Ea,LucidePanelsRightBottom:h8,LucidePanelsTopBottom:Gn,LucidePanelsTopLeft:Fn,LucidePaperclip:u8,LucideParentheses:p8,LucideParkingCircle:Na,LucideParkingCircleOff:ba,LucideParkingMeter:y8,LucideParkingSquare:Po,LucideParkingSquareOff:zo,LucidePartyPopper:k8,LucidePause:m8,LucidePauseCircle:Ca,LucidePauseOctagon:qn,LucidePawPrint:f8,LucidePcCase:g8,LucidePen:lt,LucidePenBox:Te,LucidePenLine:dt,LucidePenOff:M8,LucidePenSquare:Te,LucidePenTool:v8,LucidePencil:u1,LucidePencilLine:_8,LucidePencilOff:x8,LucidePencilRuler:L8,LucidePentagon:I8,LucidePercent:w8,LucidePercentCircle:Sa,LucidePercentDiamond:Ua,LucidePercentSquare:To,LucidePersonStanding:C8,LucidePhilippinePeso:b8,LucidePhone:A8,LucidePhoneCall:N8,LucidePhoneForwarded:S8,LucidePhoneIncoming:j8,LucidePhoneMissed:$8,LucidePhoneOff:q8,LucidePhoneOutgoing:z8,LucidePi:V8,LucidePiSquare:Ho,LucidePiano:P8,LucidePickaxe:T8,LucidePictureInPicture:D8,LucidePictureInPicture2:H8,LucidePieChart:ia,LucidePiggyBank:B8,LucidePilcrow:F8,LucidePilcrowLeft:R8,LucidePilcrowRight:E8,LucidePilcrowSquare:Do,LucidePill:U8,LucidePillBottle:O8,LucidePin:G8,LucidePinOff:W8,LucidePipette:Z8,LucidePizza:K8,LucidePlane:J8,LucidePlaneLanding:X8,LucidePlaneTakeoff:Y8,LucidePlay:Q8,LucidePlayCircle:ja,LucidePlaySquare:Bo,LucidePlug:tf,LucidePlug2:ef,LucidePlugZap:En,LucidePlugZap2:En,LucidePlus:Dc,LucidePlusCircle:$a,LucidePlusSquare:Ro,LucidePocket:nf,LucidePocketKnife:af,LucidePodcast:of,LucidePointer:rf,LucidePointerOff:cf,LucidePopcorn:df,LucidePopsicle:sf,LucidePoundSterling:lf,LucidePower:uf,LucidePowerCircle:qa,LucidePowerOff:hf,LucidePowerSquare:Fo,LucidePresentation:pf,LucidePrinter:kf,LucidePrinterCheck:yf,LucideProjector:mf,LucideProportions:ff,LucidePuzzle:vf,LucidePyramid:gf,LucideQrCode:Mf,LucideQuote:_f,LucideRabbit:xf,LucideRadar:Lf,LucideRadiation:If,LucideRadical:wf,LucideRadio:Nf,LucideRadioReceiver:bf,LucideRadioTower:Cf,LucideRadius:Sf,LucideRailSymbol:jf,LucideRainbow:$f,LucideRat:qf,LucideRatio:Af,LucideReceipt:Ef,LucideReceiptCent:zf,LucideReceiptEuro:Pf,LucideReceiptIndianRupee:Vf,LucideReceiptJapaneseYen:Tf,LucideReceiptPoundSterling:Hf,LucideReceiptRussianRuble:Df,LucideReceiptSwissFranc:Bf,LucideReceiptText:Rf,LucideReceiptTurkishLira:Ff,LucideRectangleCircle:Of,LucideRectangleEllipsis:On,LucideRectangleGoggles:Uf,LucideRectangleHorizontal:Wf,LucideRectangleVertical:Gf,LucideRecycle:Zf,LucideRedo:Yf,LucideRedo2:Kf,LucideRedoDot:Xf,LucideRefreshCcw:Qf,LucideRefreshCcwDot:Jf,LucideRefreshCw:t7,LucideRefreshCwOff:e7,LucideRefrigerator:a7,LucideRegex:n7,LucideRemoveFormatting:o7,LucideRepeat:r7,LucideRepeat1:c7,LucideRepeat2:i7,LucideReplace:d7,LucideReplaceAll:s7,LucideReply:u7,LucideReplyAll:l7,LucideRewind:h7,LucideRibbon:p7,LucideRocket:y7,LucideRockingChair:f7,LucideRollerCoaster:k7,LucideRose:m7,LucideRotate3D:Un,LucideRotate3d:Un,LucideRotateCcw:M7,LucideRotateCcwKey:g7,LucideRotateCcwSquare:v7,LucideRotateCw:x7,LucideRotateCwSquare:_7,LucideRoute:I7,LucideRouteOff:L7,LucideRouter:w7,LucideRows:Wn,LucideRows2:Wn,LucideRows3:Gn,LucideRows4:b7,LucideRss:C7,LucideRuler:S7,LucideRulerDimensionLine:N7,LucideRussianRuble:j7,LucideSailboat:$7,LucideSalad:q7,LucideSandwich:A7,LucideSatellite:V7,LucideSatelliteDish:z7,LucideSaudiRiyal:P7,LucideSave:B7,LucideSaveAll:T7,LucideSaveOff:H7,LucideScale:D7,LucideScale3D:Zn,LucideScale3d:Zn,LucideScaling:R7,LucideScan:X7,LucideScanBarcode:F7,LucideScanEye:E7,LucideScanFace:O7,LucideScanHeart:U7,LucideScanLine:W7,LucideScanQrCode:G7,LucideScanSearch:Z7,LucideScanText:K7,LucideScatterChart:ra,LucideSchool:Y7,LucideSchool2:oc,LucideScissors:Q7,LucideScissorsLineDashed:J7,LucideScissorsSquare:Eo,LucideScissorsSquareDashedBottom:yo,LucideScreenShare:eg,LucideScreenShareOff:tg,LucideScroll:ng,LucideScrollText:ag,LucideSearch:p1,LucideSearchCheck:og,LucideSearchCode:cg,LucideSearchSlash:ig,LucideSearchX:rg,LucideSection:sg,LucideSend:lg,LucideSendHorizonal:Kn,LucideSendHorizontal:Kn,LucideSendToBack:dg,LucideSeparatorHorizontal:hg,LucideSeparatorVertical:ug,LucideServer:mg,LucideServerCog:pg,LucideServerCrash:kg,LucideServerOff:yg,LucideSettings:gg,LucideSettings2:fg,LucideShapes:vg,LucideShare:_g,LucideShare2:Mg,LucideSheet:xg,LucideShell:Lg,LucideShield:Ag,LucideShieldAlert:Ig,LucideShieldBan:wg,LucideShieldCheck:bg,LucideShieldClose:Yn,LucideShieldEllipsis:Cg,LucideShieldHalf:Ng,LucideShieldMinus:jg,LucideShieldOff:Sg,LucideShieldPlus:$g,LucideShieldQuestion:Xn,LucideShieldQuestionMark:Xn,LucideShieldUser:qg,LucideShieldX:Yn,LucideShip:Vg,LucideShipWheel:zg,LucideShirt:Pg,LucideShoppingBag:Tg,LucideShoppingBasket:Hg,LucideShoppingCart:Dg,LucideShovel:Bg,LucideShowerHead:Rg,LucideShredder:Fg,LucideShrimp:Eg,LucideShrink:Og,LucideShrub:Ug,LucideShuffle:Gg,LucideSidebar:Dn,LucideSidebarClose:Pn,LucideSidebarOpen:Hn,LucideSigma:Wg,LucideSigmaSquare:Oo,LucideSignal:Jg,LucideSignalHigh:Zg,LucideSignalLow:Kg,LucideSignalMedium:Xg,LucideSignalZero:Yg,LucideSignature:Qg,LucideSignpost:tv,LucideSignpostBig:ev,LucideSiren:av,LucideSkipBack:nv,LucideSkipForward:ov,LucideSkull:cv,LucideSlack:iv,LucideSlash:rv,LucideSlashSquare:Uo,LucideSlice:sv,LucideSliders:Jn,LucideSlidersHorizontal:dv,LucideSlidersVertical:Jn,LucideSmartphone:uv,LucideSmartphoneCharging:lv,LucideSmartphoneNfc:hv,LucideSmile:yv,LucideSmilePlus:pv,LucideSnail:kv,LucideSnowflake:mv,LucideSoapDispenserDroplet:fv,LucideSofa:gv,LucideSortAsc:Dt,LucideSortDesc:Pt,LucideSoup:vv,LucideSpace:Mv,LucideSpade:_v,LucideSparkle:xv,LucideSparkles:Qn,LucideSpeaker:Lv,LucideSpeech:Iv,LucideSpellCheck:bv,LucideSpellCheck2:wv,LucideSpline:Nv,LucideSplinePointer:Cv,LucideSplit:Sv,LucideSplitSquareHorizontal:Wo,LucideSplitSquareVertical:Go,LucideSpool:jv,LucideSpotlight:$v,LucideSprayCan:qv,LucideSprout:Av,LucideSquare:Ov,LucideSquareActivity:_t,LucideSquareArrowDown:ao,LucideSquareArrowDownLeft:eo,LucideSquareArrowDownRight:to,LucideSquareArrowLeft:no,LucideSquareArrowOutDownLeft:oo,LucideSquareArrowOutDownRight:co,LucideSquareArrowOutUpLeft:io,LucideSquareArrowOutUpRight:ro,LucideSquareArrowRight:so,LucideSquareArrowUp:uo,LucideSquareArrowUpLeft:lo,LucideSquareArrowUpRight:ho,LucideSquareAsterisk:po,LucideSquareBottomDashedScissors:yo,LucideSquareChartGantt:ot,LucideSquareCheck:mo,LucideSquareCheckBig:ko,LucideSquareChevronDown:fo,LucideSquareChevronLeft:go,LucideSquareChevronRight:vo,LucideSquareChevronUp:Mo,LucideSquareCode:_o,LucideSquareDashed:Io,LucideSquareDashedBottom:Vv,LucideSquareDashedBottomCode:zv,LucideSquareDashedKanban:xo,LucideSquareDashedMousePointer:Lo,LucideSquareDashedTopSolid:Pv,LucideSquareDivide:wo,LucideSquareDot:Co,LucideSquareEqual:bo,LucideSquareFunction:No,LucideSquareGanttChart:ot,LucideSquareKanban:So,LucideSquareLibrary:jo,LucideSquareM:$o,LucideSquareMenu:qo,LucideSquareMinus:Ao,LucideSquareMousePointer:Vo,LucideSquareParking:Po,LucideSquareParkingOff:zo,LucideSquarePause:Tv,LucideSquarePen:Te,LucideSquarePercent:To,LucideSquarePi:Ho,LucideSquarePilcrow:Do,LucideSquarePlay:Bo,LucideSquarePlus:Ro,LucideSquarePower:Fo,LucideSquareRadical:Hv,LucideSquareRoundCorner:Dv,LucideSquareScissors:Eo,LucideSquareSigma:Oo,LucideSquareSlash:Uo,LucideSquareSplitHorizontal:Wo,LucideSquareSplitVertical:Go,LucideSquareSquare:Bv,LucideSquareStack:Rv,LucideSquareStar:Fv,LucideSquareStop:Ev,LucideSquareTerminal:Zo,LucideSquareUser:Xo,LucideSquareUserRound:Ko,LucideSquareX:Yo,LucideSquaresExclude:Uv,LucideSquaresIntersect:Wv,LucideSquaresSubtract:Gv,LucideSquaresUnite:Zv,LucideSquircle:Xv,LucideSquircleDashed:Kv,LucideSquirrel:Yv,LucideStamp:Jv,LucideStar:a9,LucideStarHalf:Qv,LucideStarOff:e9,LucideStars:Qn,LucideStepBack:t9,LucideStepForward:n9,LucideStethoscope:o9,LucideSticker:c9,LucideStickyNote:i9,LucideStopCircle:za,LucideStore:r9,LucideStretchHorizontal:s9,LucideStretchVertical:d9,LucideStrikethrough:l9,LucideSubscript:h9,LucideSubtitles:Zt,LucideSun:f9,LucideSunDim:u9,LucideSunMedium:p9,LucideSunMoon:y9,LucideSunSnow:k9,LucideSunrise:m9,LucideSunset:g9,LucideSuperscript:v9,LucideSwatchBook:M9,LucideSwissFranc:_9,LucideSwitchCamera:x9,LucideSword:L9,LucideSwords:w9,LucideSyringe:I9,LucideTable:A9,LucideTable2:b9,LucideTableCellsMerge:C9,LucideTableCellsSplit:N9,LucideTableColumnsSplit:S9,LucideTableConfig:at,LucideTableOfContents:j9,LucideTableProperties:$9,LucideTableRowsSplit:q9,LucideTablet:V9,LucideTabletSmartphone:z9,LucideTablets:P9,LucideTag:T9,LucideTags:H9,LucideTally1:D9,LucideTally2:B9,LucideTally3:R9,LucideTally4:F9,LucideTally5:E9,LucideTangent:O9,LucideTarget:U9,LucideTelescope:W9,LucideTent:Z9,LucideTentTree:G9,LucideTerminal:K9,LucideTerminalSquare:Zo,LucideTestTube:X9,LucideTestTube2:Jo,LucideTestTubeDiagonal:Jo,LucideTestTubes:Y9,LucideText:aM,LucideTextCursor:Q9,LucideTextCursorInput:J9,LucideTextQuote:eM,LucideTextSearch:tM,LucideTextSelect:Qo,LucideTextSelection:Qo,LucideTheater:nM,LucideThermometer:rM,LucideThermometerSnowflake:oM,LucideThermometerSun:cM,LucideThumbsDown:iM,LucideThumbsUp:sM,LucideTicket:kM,LucideTicketCheck:dM,LucideTicketMinus:lM,LucideTicketPercent:hM,LucideTicketPlus:uM,LucideTicketSlash:pM,LucideTicketX:yM,LucideTickets:fM,LucideTicketsPlane:mM,LucideTimer:MM,LucideTimerOff:gM,LucideTimerReset:vM,LucideToggleLeft:_M,LucideToggleRight:xM,LucideToilet:LM,LucideToolCase:IM,LucideTornado:bM,LucideTorus:wM,LucideTouchpad:NM,LucideTouchpadOff:CM,LucideTowerControl:jM,LucideToyBrick:SM,LucideTractor:$M,LucideTrafficCone:qM,LucideTrain:ec,LucideTrainFront:zM,LucideTrainFrontTunnel:AM,LucideTrainTrack:VM,LucideTramFront:ec,LucideTransgender:PM,LucideTrash:TM,LucideTrash2:bt,LucideTreeDeciduous:HM,LucideTreePalm:tc,LucideTreePine:DM,LucideTrees:BM,LucideTrello:RM,LucideTrendingDown:FM,LucideTrendingUp:EM,LucideTrendingUpDown:OM,LucideTriangle:WM,LucideTriangleAlert:ac,LucideTriangleDashed:UM,LucideTriangleRight:GM,LucideTrophy:ZM,LucideTruck:XM,LucideTruckElectric:KM,LucideTurkishLira:YM,LucideTurntable:JM,LucideTurtle:QM,LucideTv:t_,LucideTv2:nc,LucideTvMinimal:nc,LucideTvMinimalPlay:e_,LucideTwitch:a_,LucideTwitter:n_,LucideType:c_,LucideTypeOutline:o_,LucideUmbrella:r_,LucideUmbrellaOff:i_,LucideUnderline:s_,LucideUndo:h_,LucideUndo2:d_,LucideUndoDot:l_,LucideUnfoldHorizontal:u_,LucideUnfoldVertical:p_,LucideUngroup:y_,LucideUniversity:oc,LucideUnlink:g_,LucideUnlink2:k_,LucideUnlock:wn,LucideUnlockKeyhole:In,LucideUnplug:m_,LucideUpload:f_,LucideUploadCloud:Ba,LucideUsb:v_,LucideUser:j_,LucideUser2:lc,LucideUserCheck:M_,LucideUserCheck2:cc,LucideUserCircle:Pa,LucideUserCircle2:Va,LucideUserCog:__,LucideUserCog2:ic,LucideUserLock:x_,LucideUserMinus:L_,LucideUserMinus2:rc,LucideUserPen:I_,LucideUserPlus:y1,LucideUserPlus2:sc,LucideUserRound:lc,LucideUserRoundCheck:cc,LucideUserRoundCog:ic,LucideUserRoundMinus:rc,LucideUserRoundPen:w_,LucideUserRoundPlus:sc,LucideUserRoundSearch:b_,LucideUserRoundX:dc,LucideUserSearch:C_,LucideUserSquare:Xo,LucideUserSquare2:Ko,LucideUserStar:N_,LucideUserX:S_,LucideUserX2:dc,LucideUsers:$_,LucideUsers2:hc,LucideUsersRound:hc,LucideUtensils:pc,LucideUtensilsCrossed:uc,LucideUtilityPole:q_,LucideVariable:A_,LucideVault:z_,LucideVectorSquare:V_,LucideVegan:P_,LucideVenetianMask:T_,LucideVenus:R_,LucideVenusAndMars:H_,LucideVerified:Ft,LucideVibrate:B_,LucideVibrateOff:D_,LucideVideo:E_,LucideVideoOff:F_,LucideVideotape:O_,LucideView:W_,LucideVoicemail:U_,LucideVolleyball:G_,LucideVolume:Q_,LucideVolume1:Z_,LucideVolume2:K_,LucideVolumeOff:X_,LucideVolumeX:Y_,LucideVote:J_,LucideWallet:tx,LucideWallet2:yc,LucideWalletCards:ex,LucideWalletMinimal:yc,LucideWallpaper:ax,LucideWand:nx,LucideWand2:kc,LucideWandSparkles:kc,LucideWarehouse:ox,LucideWashingMachine:cx,LucideWatch:ix,LucideWaves:sx,LucideWavesLadder:rx,LucideWaypoints:dx,LucideWebcam:lx,LucideWebhook:px,LucideWebhookOff:hx,LucideWeight:ux,LucideWheat:kx,LucideWheatOff:yx,LucideWholeWord:mx,LucideWifi:Ix,LucideWifiCog:fx,LucideWifiHigh:gx,LucideWifiLow:vx,LucideWifiOff:Mx,LucideWifiPen:_x,LucideWifiSync:xx,LucideWifiZero:Lx,LucideWind:bx,LucideWindArrowDown:wx,LucideWine:Nx,LucideWineOff:Cx,LucideWorkflow:Sx,LucideWorm:jx,LucideWrapText:$x,LucideWrench:qx,LucideX:Ke,LucideXCircle:gt,LucideXOctagon:An,LucideXSquare:Yo,LucideYoutube:zx,LucideZap:Vx,LucideZapOff:Ax,LucideZoomIn:Px,LucideZoomOut:Tx,Luggage:p3,LuggageIcon:p3,MSquare:$o,MSquareIcon:$o,Magnet:y3,MagnetIcon:y3,Mail:_3,MailCheck:k3,MailCheckIcon:k3,MailIcon:_3,MailMinus:m3,MailMinusIcon:m3,MailOpen:f3,MailOpenIcon:f3,MailPlus:g3,MailPlusIcon:g3,MailQuestion:bn,MailQuestionIcon:bn,MailQuestionMark:bn,MailQuestionMarkIcon:bn,MailSearch:v3,MailSearchIcon:v3,MailWarning:M3,MailWarningIcon:M3,MailX:x3,MailXIcon:x3,Mailbox:L3,MailboxIcon:L3,Mails:I3,MailsIcon:I3,Map:D3,MapIcon:D3,MapMinus:w3,MapMinusIcon:w3,MapPin:P3,MapPinCheck:b3,MapPinCheckIcon:b3,MapPinCheckInside:C3,MapPinCheckInsideIcon:C3,MapPinHouse:N3,MapPinHouseIcon:N3,MapPinIcon:P3,MapPinMinus:j3,MapPinMinusIcon:j3,MapPinMinusInside:S3,MapPinMinusInsideIcon:S3,MapPinOff:$3,MapPinOffIcon:$3,MapPinPen:Cn,MapPinPenIcon:Cn,MapPinPlus:A3,MapPinPlusIcon:A3,MapPinPlusInside:q3,MapPinPlusInsideIcon:q3,MapPinX:V3,MapPinXIcon:V3,MapPinXInside:z3,MapPinXInsideIcon:z3,MapPinned:T3,MapPinnedIcon:T3,MapPlus:H3,MapPlusIcon:H3,Mars:R3,MarsIcon:R3,MarsStroke:B3,MarsStrokeIcon:B3,Martini:F3,MartiniIcon:F3,Maximize:U3,Maximize2:E3,Maximize2Icon:E3,MaximizeIcon:U3,Medal:O3,MedalIcon:O3,Megaphone:G3,MegaphoneIcon:G3,MegaphoneOff:W3,MegaphoneOffIcon:W3,Meh:Z3,MehIcon:Z3,MemoryStick:K3,MemoryStickIcon:K3,Menu:Hc,MenuIcon:Hc,MenuSquare:qo,MenuSquareIcon:qo,Merge:X3,MergeIcon:X3,MessageCircle:im,MessageCircleCode:Y3,MessageCircleCodeIcon:Y3,MessageCircleDashed:J3,MessageCircleDashedIcon:J3,MessageCircleHeart:Q3,MessageCircleHeartIcon:Q3,MessageCircleIcon:im,MessageCircleMore:em,MessageCircleMoreIcon:em,MessageCircleOff:tm,MessageCircleOffIcon:tm,MessageCirclePlus:am,MessageCirclePlusIcon:am,MessageCircleQuestion:Nn,MessageCircleQuestionIcon:Nn,MessageCircleQuestionMark:Nn,MessageCircleQuestionMarkIcon:Nn,MessageCircleReply:nm,MessageCircleReplyIcon:nm,MessageCircleWarning:om,MessageCircleWarningIcon:om,MessageCircleX:cm,MessageCircleXIcon:cm,MessageSquare:xm,MessageSquareCode:rm,MessageSquareCodeIcon:rm,MessageSquareDashed:sm,MessageSquareDashedIcon:sm,MessageSquareDiff:dm,MessageSquareDiffIcon:dm,MessageSquareDot:lm,MessageSquareDotIcon:lm,MessageSquareHeart:hm,MessageSquareHeartIcon:hm,MessageSquareIcon:xm,MessageSquareLock:um,MessageSquareLockIcon:um,MessageSquareMore:pm,MessageSquareMoreIcon:pm,MessageSquareOff:ym,MessageSquareOffIcon:ym,MessageSquarePlus:km,MessageSquarePlusIcon:km,MessageSquareQuote:mm,MessageSquareQuoteIcon:mm,MessageSquareReply:fm,MessageSquareReplyIcon:fm,MessageSquareShare:gm,MessageSquareShareIcon:gm,MessageSquareText:vm,MessageSquareTextIcon:vm,MessageSquareWarning:Mm,MessageSquareWarningIcon:Mm,MessageSquareX:_m,MessageSquareXIcon:_m,MessagesSquare:Lm,MessagesSquareIcon:Lm,Mic:wm,Mic2:Sn,Mic2Icon:Sn,MicIcon:wm,MicOff:Im,MicOffIcon:Im,MicVocal:Sn,MicVocalIcon:Sn,Microchip:bm,MicrochipIcon:bm,Microscope:Cm,MicroscopeIcon:Cm,Microwave:Nm,MicrowaveIcon:Nm,Milestone:Sm,MilestoneIcon:Sm,Milk:$m,MilkIcon:$m,MilkOff:jm,MilkOffIcon:jm,Minimize:Am,Minimize2:qm,Minimize2Icon:qm,MinimizeIcon:Am,Minus:zm,MinusCircle:wa,MinusCircleIcon:wa,MinusIcon:zm,MinusSquare:Ao,MinusSquareIcon:Ao,Monitor:Gm,MonitorCheck:Vm,MonitorCheckIcon:Vm,MonitorCog:Pm,MonitorCogIcon:Pm,MonitorDot:Tm,MonitorDotIcon:Tm,MonitorDown:Hm,MonitorDownIcon:Hm,MonitorIcon:Gm,MonitorOff:Dm,MonitorOffIcon:Dm,MonitorPause:Rm,MonitorPauseIcon:Rm,MonitorPlay:Bm,MonitorPlayIcon:Bm,MonitorSmartphone:Fm,MonitorSmartphoneIcon:Fm,MonitorSpeaker:Em,MonitorSpeakerIcon:Em,MonitorStop:Om,MonitorStopIcon:Om,MonitorUp:Um,MonitorUpIcon:Um,MonitorX:Wm,MonitorXIcon:Wm,Moon:Km,MoonIcon:Km,MoonStar:Zm,MoonStarIcon:Zm,MoreHorizontal:Za,MoreHorizontalIcon:Za,MoreVertical:Ga,MoreVerticalIcon:Ga,Mountain:Ym,MountainIcon:Ym,MountainSnow:Xm,MountainSnowIcon:Xm,Mouse:n6,MouseIcon:n6,MouseOff:Jm,MouseOffIcon:Jm,MousePointer:t6,MousePointer2:Qm,MousePointer2Icon:Qm,MousePointerBan:e6,MousePointerBanIcon:e6,MousePointerClick:a6,MousePointerClickIcon:a6,MousePointerIcon:t6,MousePointerSquareDashed:Lo,MousePointerSquareDashedIcon:Lo,Move:a.Move,Move3D:jn,Move3DIcon:jn,Move3d:jn,Move3dIcon:jn,MoveDiagonal:c6,MoveDiagonal2:o6,MoveDiagonal2Icon:o6,MoveDiagonalIcon:c6,MoveDown:d6,MoveDownIcon:d6,MoveDownLeft:i6,MoveDownLeftIcon:i6,MoveDownRight:r6,MoveDownRightIcon:r6,MoveHorizontal:s6,MoveHorizontalIcon:s6,MoveIcon:a.Move,MoveLeft:l6,MoveLeftIcon:l6,MoveRight:h6,MoveRightIcon:h6,MoveUp:y6,MoveUpIcon:y6,MoveUpLeft:u6,MoveUpLeftIcon:u6,MoveUpRight:p6,MoveUpRightIcon:p6,MoveVertical:k6,MoveVerticalIcon:k6,Music:v6,Music2:m6,Music2Icon:m6,Music3:f6,Music3Icon:f6,Music4:g6,Music4Icon:g6,MusicIcon:v6,Navigation:L6,Navigation2:_6,Navigation2Icon:_6,Navigation2Off:M6,Navigation2OffIcon:M6,NavigationIcon:L6,NavigationOff:x6,NavigationOffIcon:x6,Network:I6,NetworkIcon:I6,Newspaper:w6,NewspaperIcon:w6,Nfc:b6,NfcIcon:b6,NonBinary:C6,NonBinaryIcon:C6,Notebook:$6,NotebookIcon:$6,NotebookPen:N6,NotebookPenIcon:N6,NotebookTabs:S6,NotebookTabsIcon:S6,NotebookText:j6,NotebookTextIcon:j6,NotepadText:A6,NotepadTextDashed:q6,NotepadTextDashedIcon:q6,NotepadTextIcon:A6,Nut:V6,NutIcon:V6,NutOff:z6,NutOffIcon:z6,Octagon:T6,OctagonAlert:$n,OctagonAlertIcon:$n,OctagonIcon:T6,OctagonMinus:P6,OctagonMinusIcon:P6,OctagonPause:qn,OctagonPauseIcon:qn,OctagonX:An,OctagonXIcon:An,Omega:H6,OmegaIcon:H6,Option:D6,OptionIcon:D6,Orbit:B6,OrbitIcon:B6,Origami:R6,OrigamiIcon:R6,Outdent:vn,OutdentIcon:vn,Package:K6,Package2:F6,Package2Icon:F6,PackageCheck:E6,PackageCheckIcon:E6,PackageIcon:K6,PackageMinus:O6,PackageMinusIcon:O6,PackageOpen:U6,PackageOpenIcon:U6,PackagePlus:W6,PackagePlusIcon:W6,PackageSearch:G6,PackageSearchIcon:G6,PackageX:Z6,PackageXIcon:Z6,PaintBucket:X6,PaintBucketIcon:X6,PaintRoller:Y6,PaintRollerIcon:Y6,Paintbrush:J6,Paintbrush2:zn,Paintbrush2Icon:zn,PaintbrushIcon:J6,PaintbrushVertical:zn,PaintbrushVerticalIcon:zn,Palette:Q6,PaletteIcon:Q6,Palmtree:tc,PalmtreeIcon:tc,Panda:e8,PandaIcon:e8,PanelBottom:n8,PanelBottomClose:t8,PanelBottomCloseIcon:t8,PanelBottomDashed:Vn,PanelBottomDashedIcon:Vn,PanelBottomIcon:n8,PanelBottomInactive:Vn,PanelBottomInactiveIcon:Vn,PanelBottomOpen:a8,PanelBottomOpenIcon:a8,PanelLeft:Dn,PanelLeftClose:Pn,PanelLeftCloseIcon:Pn,PanelLeftDashed:Tn,PanelLeftDashedIcon:Tn,PanelLeftIcon:Dn,PanelLeftInactive:Tn,PanelLeftInactiveIcon:Tn,PanelLeftOpen:Hn,PanelLeftOpenIcon:Hn,PanelRight:i8,PanelRightClose:o8,PanelRightCloseIcon:o8,PanelRightDashed:Bn,PanelRightDashedIcon:Bn,PanelRightIcon:i8,PanelRightInactive:Bn,PanelRightInactiveIcon:Bn,PanelRightOpen:c8,PanelRightOpenIcon:c8,PanelTop:d8,PanelTopClose:r8,PanelTopCloseIcon:r8,PanelTopDashed:Rn,PanelTopDashedIcon:Rn,PanelTopIcon:d8,PanelTopInactive:Rn,PanelTopInactiveIcon:Rn,PanelTopOpen:s8,PanelTopOpenIcon:s8,PanelsLeftBottom:l8,PanelsLeftBottomIcon:l8,PanelsLeftRight:Ea,PanelsLeftRightIcon:Ea,PanelsRightBottom:h8,PanelsRightBottomIcon:h8,PanelsTopBottom:Gn,PanelsTopBottomIcon:Gn,PanelsTopLeft:Fn,PanelsTopLeftIcon:Fn,Paperclip:u8,PaperclipIcon:u8,Parentheses:p8,ParenthesesIcon:p8,ParkingCircle:Na,ParkingCircleIcon:Na,ParkingCircleOff:ba,ParkingCircleOffIcon:ba,ParkingMeter:y8,ParkingMeterIcon:y8,ParkingSquare:Po,ParkingSquareIcon:Po,ParkingSquareOff:zo,ParkingSquareOffIcon:zo,PartyPopper:k8,PartyPopperIcon:k8,Pause:m8,PauseCircle:Ca,PauseCircleIcon:Ca,PauseIcon:m8,PauseOctagon:qn,PauseOctagonIcon:qn,PawPrint:f8,PawPrintIcon:f8,PcCase:g8,PcCaseIcon:g8,Pen:lt,PenBox:Te,PenBoxIcon:Te,PenIcon:lt,PenLine:dt,PenLineIcon:dt,PenOff:M8,PenOffIcon:M8,PenSquare:Te,PenSquareIcon:Te,PenTool:v8,PenToolIcon:v8,Pencil:u1,PencilIcon:u1,PencilLine:_8,PencilLineIcon:_8,PencilOff:x8,PencilOffIcon:x8,PencilRuler:L8,PencilRulerIcon:L8,Pentagon:I8,PentagonIcon:I8,Percent:w8,PercentCircle:Sa,PercentCircleIcon:Sa,PercentDiamond:Ua,PercentDiamondIcon:Ua,PercentIcon:w8,PercentSquare:To,PercentSquareIcon:To,PersonStanding:C8,PersonStandingIcon:C8,PhilippinePeso:b8,PhilippinePesoIcon:b8,Phone:A8,PhoneCall:N8,PhoneCallIcon:N8,PhoneForwarded:S8,PhoneForwardedIcon:S8,PhoneIcon:A8,PhoneIncoming:j8,PhoneIncomingIcon:j8,PhoneMissed:$8,PhoneMissedIcon:$8,PhoneOff:q8,PhoneOffIcon:q8,PhoneOutgoing:z8,PhoneOutgoingIcon:z8,Pi:V8,PiIcon:V8,PiSquare:Ho,PiSquareIcon:Ho,Piano:P8,PianoIcon:P8,Pickaxe:T8,PickaxeIcon:T8,PictureInPicture:D8,PictureInPicture2:H8,PictureInPicture2Icon:H8,PictureInPictureIcon:D8,PieChart:ia,PieChartIcon:ia,PiggyBank:B8,PiggyBankIcon:B8,Pilcrow:F8,PilcrowIcon:F8,PilcrowLeft:R8,PilcrowLeftIcon:R8,PilcrowRight:E8,PilcrowRightIcon:E8,PilcrowSquare:Do,PilcrowSquareIcon:Do,Pill:U8,PillBottle:O8,PillBottleIcon:O8,PillIcon:U8,Pin:G8,PinIcon:G8,PinOff:W8,PinOffIcon:W8,Pipette:Z8,PipetteIcon:Z8,Pizza:K8,PizzaIcon:K8,Plane:J8,PlaneIcon:J8,PlaneLanding:X8,PlaneLandingIcon:X8,PlaneTakeoff:Y8,PlaneTakeoffIcon:Y8,Play:Q8,PlayCircle:ja,PlayCircleIcon:ja,PlayIcon:Q8,PlaySquare:Bo,PlaySquareIcon:Bo,Plug:tf,Plug2:ef,Plug2Icon:ef,PlugIcon:tf,PlugZap:En,PlugZap2:En,PlugZap2Icon:En,PlugZapIcon:En,Plus:Dc,PlusCircle:$a,PlusCircleIcon:$a,PlusIcon:Dc,PlusSquare:Ro,PlusSquareIcon:Ro,Pocket:nf,PocketIcon:nf,PocketKnife:af,PocketKnifeIcon:af,Podcast:of,PodcastIcon:of,Pointer:rf,PointerIcon:rf,PointerOff:cf,PointerOffIcon:cf,Popcorn:df,PopcornIcon:df,Popsicle:sf,PopsicleIcon:sf,PoundSterling:lf,PoundSterlingIcon:lf,Power:uf,PowerCircle:qa,PowerCircleIcon:qa,PowerIcon:uf,PowerOff:hf,PowerOffIcon:hf,PowerSquare:Fo,PowerSquareIcon:Fo,Presentation:pf,PresentationIcon:pf,Printer:kf,PrinterCheck:yf,PrinterCheckIcon:yf,PrinterIcon:kf,Projector:mf,ProjectorIcon:mf,Proportions:ff,ProportionsIcon:ff,Puzzle:vf,PuzzleIcon:vf,Pyramid:gf,PyramidIcon:gf,QrCode:Mf,QrCodeIcon:Mf,Quote:_f,QuoteIcon:_f,Rabbit:xf,RabbitIcon:xf,Radar:Lf,RadarIcon:Lf,Radiation:If,RadiationIcon:If,Radical:wf,RadicalIcon:wf,Radio:Nf,RadioIcon:Nf,RadioReceiver:bf,RadioReceiverIcon:bf,RadioTower:Cf,RadioTowerIcon:Cf,Radius:Sf,RadiusIcon:Sf,RailSymbol:jf,RailSymbolIcon:jf,Rainbow:$f,RainbowIcon:$f,Rat:qf,RatIcon:qf,Ratio:Af,RatioIcon:Af,Receipt:Ef,ReceiptCent:zf,ReceiptCentIcon:zf,ReceiptEuro:Pf,ReceiptEuroIcon:Pf,ReceiptIcon:Ef,ReceiptIndianRupee:Vf,ReceiptIndianRupeeIcon:Vf,ReceiptJapaneseYen:Tf,ReceiptJapaneseYenIcon:Tf,ReceiptPoundSterling:Hf,ReceiptPoundSterlingIcon:Hf,ReceiptRussianRuble:Df,ReceiptRussianRubleIcon:Df,ReceiptSwissFranc:Bf,ReceiptSwissFrancIcon:Bf,ReceiptText:Rf,ReceiptTextIcon:Rf,ReceiptTurkishLira:Ff,ReceiptTurkishLiraIcon:Ff,RectangleCircle:Of,RectangleCircleIcon:Of,RectangleEllipsis:On,RectangleEllipsisIcon:On,RectangleGoggles:Uf,RectangleGogglesIcon:Uf,RectangleHorizontal:Wf,RectangleHorizontalIcon:Wf,RectangleVertical:Gf,RectangleVerticalIcon:Gf,Recycle:Zf,RecycleIcon:Zf,Redo:Yf,Redo2:Kf,Redo2Icon:Kf,RedoDot:Xf,RedoDotIcon:Xf,RedoIcon:Yf,RefreshCcw:Qf,RefreshCcwDot:Jf,RefreshCcwDotIcon:Jf,RefreshCcwIcon:Qf,RefreshCw:t7,RefreshCwIcon:t7,RefreshCwOff:e7,RefreshCwOffIcon:e7,Refrigerator:a7,RefrigeratorIcon:a7,Regex:n7,RegexIcon:n7,RemoveFormatting:o7,RemoveFormattingIcon:o7,Repeat:r7,Repeat1:c7,Repeat1Icon:c7,Repeat2:i7,Repeat2Icon:i7,RepeatIcon:r7,Replace:d7,ReplaceAll:s7,ReplaceAllIcon:s7,ReplaceIcon:d7,Reply:u7,ReplyAll:l7,ReplyAllIcon:l7,ReplyIcon:u7,Rewind:h7,RewindIcon:h7,Ribbon:p7,RibbonIcon:p7,Rocket:y7,RocketIcon:y7,RockingChair:f7,RockingChairIcon:f7,RollerCoaster:k7,RollerCoasterIcon:k7,Rose:m7,RoseIcon:m7,Rotate3D:Un,Rotate3DIcon:Un,Rotate3d:Un,Rotate3dIcon:Un,RotateCcw:M7,RotateCcwIcon:M7,RotateCcwKey:g7,RotateCcwKeyIcon:g7,RotateCcwSquare:v7,RotateCcwSquareIcon:v7,RotateCw:x7,RotateCwIcon:x7,RotateCwSquare:_7,RotateCwSquareIcon:_7,Route:I7,RouteIcon:I7,RouteOff:L7,RouteOffIcon:L7,Router:w7,RouterIcon:w7,Rows:Wn,Rows2:Wn,Rows2Icon:Wn,Rows3:Gn,Rows3Icon:Gn,Rows4:b7,Rows4Icon:b7,RowsIcon:Wn,Rss:C7,RssIcon:C7,Ruler:S7,RulerDimensionLine:N7,RulerDimensionLineIcon:N7,RulerIcon:S7,RussianRuble:j7,RussianRubleIcon:j7,Sailboat:$7,SailboatIcon:$7,Salad:q7,SaladIcon:q7,Sandwich:A7,SandwichIcon:A7,Satellite:V7,SatelliteDish:z7,SatelliteDishIcon:z7,SatelliteIcon:V7,SaudiRiyal:P7,SaudiRiyalIcon:P7,Save:B7,SaveAll:T7,SaveAllIcon:T7,SaveIcon:B7,SaveOff:H7,SaveOffIcon:H7,Scale:D7,Scale3D:Zn,Scale3DIcon:Zn,Scale3d:Zn,Scale3dIcon:Zn,ScaleIcon:D7,Scaling:R7,ScalingIcon:R7,Scan:X7,ScanBarcode:F7,ScanBarcodeIcon:F7,ScanEye:E7,ScanEyeIcon:E7,ScanFace:O7,ScanFaceIcon:O7,ScanHeart:U7,ScanHeartIcon:U7,ScanIcon:X7,ScanLine:W7,ScanLineIcon:W7,ScanQrCode:G7,ScanQrCodeIcon:G7,ScanSearch:Z7,ScanSearchIcon:Z7,ScanText:K7,ScanTextIcon:K7,ScatterChart:ra,ScatterChartIcon:ra,School:Y7,School2:oc,School2Icon:oc,SchoolIcon:Y7,Scissors:Q7,ScissorsIcon:Q7,ScissorsLineDashed:J7,ScissorsLineDashedIcon:J7,ScissorsSquare:Eo,ScissorsSquareDashedBottom:yo,ScissorsSquareDashedBottomIcon:yo,ScissorsSquareIcon:Eo,ScreenShare:eg,ScreenShareIcon:eg,ScreenShareOff:tg,ScreenShareOffIcon:tg,Scroll:ng,ScrollIcon:ng,ScrollText:ag,ScrollTextIcon:ag,Search:p1,SearchCheck:og,SearchCheckIcon:og,SearchCode:cg,SearchCodeIcon:cg,SearchIcon:p1,SearchSlash:ig,SearchSlashIcon:ig,SearchX:rg,SearchXIcon:rg,Section:sg,SectionIcon:sg,Send:lg,SendHorizonal:Kn,SendHorizonalIcon:Kn,SendHorizontal:Kn,SendHorizontalIcon:Kn,SendIcon:lg,SendToBack:dg,SendToBackIcon:dg,SeparatorHorizontal:hg,SeparatorHorizontalIcon:hg,SeparatorVertical:ug,SeparatorVerticalIcon:ug,Server:mg,ServerCog:pg,ServerCogIcon:pg,ServerCrash:kg,ServerCrashIcon:kg,ServerIcon:mg,ServerOff:yg,ServerOffIcon:yg,Settings:gg,Settings2:fg,Settings2Icon:fg,SettingsIcon:gg,Shapes:vg,ShapesIcon:vg,Share:_g,Share2:Mg,Share2Icon:Mg,ShareIcon:_g,Sheet:xg,SheetIcon:xg,Shell:Lg,ShellIcon:Lg,Shield:Ag,ShieldAlert:Ig,ShieldAlertIcon:Ig,ShieldBan:wg,ShieldBanIcon:wg,ShieldCheck:bg,ShieldCheckIcon:bg,ShieldClose:Yn,ShieldCloseIcon:Yn,ShieldEllipsis:Cg,ShieldEllipsisIcon:Cg,ShieldHalf:Ng,ShieldHalfIcon:Ng,ShieldIcon:Ag,ShieldMinus:jg,ShieldMinusIcon:jg,ShieldOff:Sg,ShieldOffIcon:Sg,ShieldPlus:$g,ShieldPlusIcon:$g,ShieldQuestion:Xn,ShieldQuestionIcon:Xn,ShieldQuestionMark:Xn,ShieldQuestionMarkIcon:Xn,ShieldUser:qg,ShieldUserIcon:qg,ShieldX:Yn,ShieldXIcon:Yn,Ship:Vg,ShipIcon:Vg,ShipWheel:zg,ShipWheelIcon:zg,Shirt:Pg,ShirtIcon:Pg,ShoppingBag:Tg,ShoppingBagIcon:Tg,ShoppingBasket:Hg,ShoppingBasketIcon:Hg,ShoppingCart:Dg,ShoppingCartIcon:Dg,Shovel:Bg,ShovelIcon:Bg,ShowerHead:Rg,ShowerHeadIcon:Rg,Shredder:Fg,ShredderIcon:Fg,Shrimp:Eg,ShrimpIcon:Eg,Shrink:Og,ShrinkIcon:Og,Shrub:Ug,ShrubIcon:Ug,Shuffle:Gg,ShuffleIcon:Gg,Sidebar:Dn,SidebarClose:Pn,SidebarCloseIcon:Pn,SidebarIcon:Dn,SidebarOpen:Hn,SidebarOpenIcon:Hn,Sigma:Wg,SigmaIcon:Wg,SigmaSquare:Oo,SigmaSquareIcon:Oo,Signal:Jg,SignalHigh:Zg,SignalHighIcon:Zg,SignalIcon:Jg,SignalLow:Kg,SignalLowIcon:Kg,SignalMedium:Xg,SignalMediumIcon:Xg,SignalZero:Yg,SignalZeroIcon:Yg,Signature:Qg,SignatureIcon:Qg,Signpost:tv,SignpostBig:ev,SignpostBigIcon:ev,SignpostIcon:tv,Siren:av,SirenIcon:av,SkipBack:nv,SkipBackIcon:nv,SkipForward:ov,SkipForwardIcon:ov,Skull:cv,SkullIcon:cv,Slack:iv,SlackIcon:iv,Slash:rv,SlashIcon:rv,SlashSquare:Uo,SlashSquareIcon:Uo,Slice:sv,SliceIcon:sv,Sliders:Jn,SlidersHorizontal:dv,SlidersHorizontalIcon:dv,SlidersIcon:Jn,SlidersVertical:Jn,SlidersVerticalIcon:Jn,Smartphone:uv,SmartphoneCharging:lv,SmartphoneChargingIcon:lv,SmartphoneIcon:uv,SmartphoneNfc:hv,SmartphoneNfcIcon:hv,Smile:yv,SmileIcon:yv,SmilePlus:pv,SmilePlusIcon:pv,Snail:kv,SnailIcon:kv,Snowflake:mv,SnowflakeIcon:mv,SoapDispenserDroplet:fv,SoapDispenserDropletIcon:fv,Sofa:gv,SofaIcon:gv,SortAsc:Dt,SortAscIcon:Dt,SortDesc:Pt,SortDescIcon:Pt,Soup:vv,SoupIcon:vv,Space:Mv,SpaceIcon:Mv,Spade:_v,SpadeIcon:_v,Sparkle:xv,SparkleIcon:xv,Sparkles:Qn,SparklesIcon:Qn,Speaker:Lv,SpeakerIcon:Lv,Speech:Iv,SpeechIcon:Iv,SpellCheck:bv,SpellCheck2:wv,SpellCheck2Icon:wv,SpellCheckIcon:bv,Spline:Nv,SplineIcon:Nv,SplinePointer:Cv,SplinePointerIcon:Cv,Split:Sv,SplitIcon:Sv,SplitSquareHorizontal:Wo,SplitSquareHorizontalIcon:Wo,SplitSquareVertical:Go,SplitSquareVerticalIcon:Go,Spool:jv,SpoolIcon:jv,Spotlight:$v,SpotlightIcon:$v,SprayCan:qv,SprayCanIcon:qv,Sprout:Av,SproutIcon:Av,Square:Ov,SquareActivity:_t,SquareActivityIcon:_t,SquareArrowDown:ao,SquareArrowDownIcon:ao,SquareArrowDownLeft:eo,SquareArrowDownLeftIcon:eo,SquareArrowDownRight:to,SquareArrowDownRightIcon:to,SquareArrowLeft:no,SquareArrowLeftIcon:no,SquareArrowOutDownLeft:oo,SquareArrowOutDownLeftIcon:oo,SquareArrowOutDownRight:co,SquareArrowOutDownRightIcon:co,SquareArrowOutUpLeft:io,SquareArrowOutUpLeftIcon:io,SquareArrowOutUpRight:ro,SquareArrowOutUpRightIcon:ro,SquareArrowRight:so,SquareArrowRightIcon:so,SquareArrowUp:uo,SquareArrowUpIcon:uo,SquareArrowUpLeft:lo,SquareArrowUpLeftIcon:lo,SquareArrowUpRight:ho,SquareArrowUpRightIcon:ho,SquareAsterisk:po,SquareAsteriskIcon:po,SquareBottomDashedScissors:yo,SquareBottomDashedScissorsIcon:yo,SquareChartGantt:ot,SquareChartGanttIcon:ot,SquareCheck:mo,SquareCheckBig:ko,SquareCheckBigIcon:ko,SquareCheckIcon:mo,SquareChevronDown:fo,SquareChevronDownIcon:fo,SquareChevronLeft:go,SquareChevronLeftIcon:go,SquareChevronRight:vo,SquareChevronRightIcon:vo,SquareChevronUp:Mo,SquareChevronUpIcon:Mo,SquareCode:_o,SquareCodeIcon:_o,SquareDashed:Io,SquareDashedBottom:Vv,SquareDashedBottomCode:zv,SquareDashedBottomCodeIcon:zv,SquareDashedBottomIcon:Vv,SquareDashedIcon:Io,SquareDashedKanban:xo,SquareDashedKanbanIcon:xo,SquareDashedMousePointer:Lo,SquareDashedMousePointerIcon:Lo,SquareDashedTopSolid:Pv,SquareDashedTopSolidIcon:Pv,SquareDivide:wo,SquareDivideIcon:wo,SquareDot:Co,SquareDotIcon:Co,SquareEqual:bo,SquareEqualIcon:bo,SquareFunction:No,SquareFunctionIcon:No,SquareGanttChart:ot,SquareGanttChartIcon:ot,SquareIcon:Ov,SquareKanban:So,SquareKanbanIcon:So,SquareLibrary:jo,SquareLibraryIcon:jo,SquareM:$o,SquareMIcon:$o,SquareMenu:qo,SquareMenuIcon:qo,SquareMinus:Ao,SquareMinusIcon:Ao,SquareMousePointer:Vo,SquareMousePointerIcon:Vo,SquareParking:Po,SquareParkingIcon:Po,SquareParkingOff:zo,SquareParkingOffIcon:zo,SquarePause:Tv,SquarePauseIcon:Tv,SquarePen:Te,SquarePenIcon:Te,SquarePercent:To,SquarePercentIcon:To,SquarePi:Ho,SquarePiIcon:Ho,SquarePilcrow:Do,SquarePilcrowIcon:Do,SquarePlay:Bo,SquarePlayIcon:Bo,SquarePlus:Ro,SquarePlusIcon:Ro,SquarePower:Fo,SquarePowerIcon:Fo,SquareRadical:Hv,SquareRadicalIcon:Hv,SquareRoundCorner:Dv,SquareRoundCornerIcon:Dv,SquareScissors:Eo,SquareScissorsIcon:Eo,SquareSigma:Oo,SquareSigmaIcon:Oo,SquareSlash:Uo,SquareSlashIcon:Uo,SquareSplitHorizontal:Wo,SquareSplitHorizontalIcon:Wo,SquareSplitVertical:Go,SquareSplitVerticalIcon:Go,SquareSquare:Bv,SquareSquareIcon:Bv,SquareStack:Rv,SquareStackIcon:Rv,SquareStar:Fv,SquareStarIcon:Fv,SquareStop:Ev,SquareStopIcon:Ev,SquareTerminal:Zo,SquareTerminalIcon:Zo,SquareUser:Xo,SquareUserIcon:Xo,SquareUserRound:Ko,SquareUserRoundIcon:Ko,SquareX:Yo,SquareXIcon:Yo,SquaresExclude:Uv,SquaresExcludeIcon:Uv,SquaresIntersect:Wv,SquaresIntersectIcon:Wv,SquaresSubtract:Gv,SquaresSubtractIcon:Gv,SquaresUnite:Zv,SquaresUniteIcon:Zv,Squircle:Xv,SquircleDashed:Kv,SquircleDashedIcon:Kv,SquircleIcon:Xv,Squirrel:Yv,SquirrelIcon:Yv,Stamp:Jv,StampIcon:Jv,Star:a9,StarHalf:Qv,StarHalfIcon:Qv,StarIcon:a9,StarOff:e9,StarOffIcon:e9,Stars:Qn,StarsIcon:Qn,StepBack:t9,StepBackIcon:t9,StepForward:n9,StepForwardIcon:n9,Stethoscope:o9,StethoscopeIcon:o9,Sticker:c9,StickerIcon:c9,StickyNote:i9,StickyNoteIcon:i9,StopCircle:za,StopCircleIcon:za,Store:r9,StoreIcon:r9,StretchHorizontal:s9,StretchHorizontalIcon:s9,StretchVertical:d9,StretchVerticalIcon:d9,Strikethrough:l9,StrikethroughIcon:l9,Subscript:h9,SubscriptIcon:h9,Subtitles:Zt,SubtitlesIcon:Zt,Sun:f9,SunDim:u9,SunDimIcon:u9,SunIcon:f9,SunMedium:p9,SunMediumIcon:p9,SunMoon:y9,SunMoonIcon:y9,SunSnow:k9,SunSnowIcon:k9,Sunrise:m9,SunriseIcon:m9,Sunset:g9,SunsetIcon:g9,Superscript:v9,SuperscriptIcon:v9,SwatchBook:M9,SwatchBookIcon:M9,SwissFranc:_9,SwissFrancIcon:_9,SwitchCamera:x9,SwitchCameraIcon:x9,Sword:L9,SwordIcon:L9,Swords:w9,SwordsIcon:w9,Syringe:I9,SyringeIcon:I9,Table:A9,Table2:b9,Table2Icon:b9,TableCellsMerge:C9,TableCellsMergeIcon:C9,TableCellsSplit:N9,TableCellsSplitIcon:N9,TableColumnsSplit:S9,TableColumnsSplitIcon:S9,TableConfig:at,TableConfigIcon:at,TableIcon:A9,TableOfContents:j9,TableOfContentsIcon:j9,TableProperties:$9,TablePropertiesIcon:$9,TableRowsSplit:q9,TableRowsSplitIcon:q9,Tablet:V9,TabletIcon:V9,TabletSmartphone:z9,TabletSmartphoneIcon:z9,Tablets:P9,TabletsIcon:P9,Tag:T9,TagIcon:T9,Tags:H9,TagsIcon:H9,Tally1:D9,Tally1Icon:D9,Tally2:B9,Tally2Icon:B9,Tally3:R9,Tally3Icon:R9,Tally4:F9,Tally4Icon:F9,Tally5:E9,Tally5Icon:E9,Tangent:O9,TangentIcon:O9,Target:U9,TargetIcon:U9,Telescope:W9,TelescopeIcon:W9,Tent:Z9,TentIcon:Z9,TentTree:G9,TentTreeIcon:G9,Terminal:K9,TerminalIcon:K9,TerminalSquare:Zo,TerminalSquareIcon:Zo,TestTube:X9,TestTube2:Jo,TestTube2Icon:Jo,TestTubeDiagonal:Jo,TestTubeDiagonalIcon:Jo,TestTubeIcon:X9,TestTubes:Y9,TestTubesIcon:Y9,Text:aM,TextCursor:Q9,TextCursorIcon:Q9,TextCursorInput:J9,TextCursorInputIcon:J9,TextIcon:aM,TextQuote:eM,TextQuoteIcon:eM,TextSearch:tM,TextSearchIcon:tM,TextSelect:Qo,TextSelectIcon:Qo,TextSelection:Qo,TextSelectionIcon:Qo,Theater:nM,TheaterIcon:nM,Thermometer:rM,ThermometerIcon:rM,ThermometerSnowflake:oM,ThermometerSnowflakeIcon:oM,ThermometerSun:cM,ThermometerSunIcon:cM,ThumbsDown:iM,ThumbsDownIcon:iM,ThumbsUp:sM,ThumbsUpIcon:sM,Ticket:kM,TicketCheck:dM,TicketCheckIcon:dM,TicketIcon:kM,TicketMinus:lM,TicketMinusIcon:lM,TicketPercent:hM,TicketPercentIcon:hM,TicketPlus:uM,TicketPlusIcon:uM,TicketSlash:pM,TicketSlashIcon:pM,TicketX:yM,TicketXIcon:yM,Tickets:fM,TicketsIcon:fM,TicketsPlane:mM,TicketsPlaneIcon:mM,Timer:MM,TimerIcon:MM,TimerOff:gM,TimerOffIcon:gM,TimerReset:vM,TimerResetIcon:vM,ToggleLeft:_M,ToggleLeftIcon:_M,ToggleRight:xM,ToggleRightIcon:xM,Toilet:LM,ToiletIcon:LM,ToolCase:IM,ToolCaseIcon:IM,Tornado:bM,TornadoIcon:bM,Torus:wM,TorusIcon:wM,Touchpad:NM,TouchpadIcon:NM,TouchpadOff:CM,TouchpadOffIcon:CM,TowerControl:jM,TowerControlIcon:jM,ToyBrick:SM,ToyBrickIcon:SM,Tractor:$M,TractorIcon:$M,TrafficCone:qM,TrafficConeIcon:qM,Train:ec,TrainFront:zM,TrainFrontIcon:zM,TrainFrontTunnel:AM,TrainFrontTunnelIcon:AM,TrainIcon:ec,TrainTrack:VM,TrainTrackIcon:VM,TramFront:ec,TramFrontIcon:ec,Transgender:PM,TransgenderIcon:PM,Trash:TM,Trash2:bt,Trash2Icon:bt,TrashIcon:TM,TreeDeciduous:HM,TreeDeciduousIcon:HM,TreePalm:tc,TreePalmIcon:tc,TreePine:DM,TreePineIcon:DM,Trees:BM,TreesIcon:BM,Trello:RM,TrelloIcon:RM,TrendingDown:FM,TrendingDownIcon:FM,TrendingUp:EM,TrendingUpDown:OM,TrendingUpDownIcon:OM,TrendingUpIcon:EM,Triangle:WM,TriangleAlert:ac,TriangleAlertIcon:ac,TriangleDashed:UM,TriangleDashedIcon:UM,TriangleIcon:WM,TriangleRight:GM,TriangleRightIcon:GM,Trophy:ZM,TrophyIcon:ZM,Truck:XM,TruckElectric:KM,TruckElectricIcon:KM,TruckIcon:XM,TurkishLira:YM,TurkishLiraIcon:YM,Turntable:JM,TurntableIcon:JM,Turtle:QM,TurtleIcon:QM,Tv:t_,Tv2:nc,Tv2Icon:nc,TvIcon:t_,TvMinimal:nc,TvMinimalIcon:nc,TvMinimalPlay:e_,TvMinimalPlayIcon:e_,Twitch:a_,TwitchIcon:a_,Twitter:n_,TwitterIcon:n_,Type:c_,TypeIcon:c_,TypeOutline:o_,TypeOutlineIcon:o_,Umbrella:r_,UmbrellaIcon:r_,UmbrellaOff:i_,UmbrellaOffIcon:i_,Underline:s_,UnderlineIcon:s_,Undo:h_,Undo2:d_,Undo2Icon:d_,UndoDot:l_,UndoDotIcon:l_,UndoIcon:h_,UnfoldHorizontal:u_,UnfoldHorizontalIcon:u_,UnfoldVertical:p_,UnfoldVerticalIcon:p_,Ungroup:y_,UngroupIcon:y_,University:oc,UniversityIcon:oc,Unlink:g_,Unlink2:k_,Unlink2Icon:k_,UnlinkIcon:g_,Unlock:wn,UnlockIcon:wn,UnlockKeyhole:In,UnlockKeyholeIcon:In,Unplug:m_,UnplugIcon:m_,Upload:f_,UploadCloud:Ba,UploadCloudIcon:Ba,UploadIcon:f_,Usb:v_,UsbIcon:v_,User:j_,User2:lc,User2Icon:lc,UserCheck:M_,UserCheck2:cc,UserCheck2Icon:cc,UserCheckIcon:M_,UserCircle:Pa,UserCircle2:Va,UserCircle2Icon:Va,UserCircleIcon:Pa,UserCog:__,UserCog2:ic,UserCog2Icon:ic,UserCogIcon:__,UserIcon:j_,UserLock:x_,UserLockIcon:x_,UserMinus:L_,UserMinus2:rc,UserMinus2Icon:rc,UserMinusIcon:L_,UserPen:I_,UserPenIcon:I_,UserPlus:y1,UserPlus2:sc,UserPlus2Icon:sc,UserPlusIcon:y1,UserRound:lc,UserRoundCheck:cc,UserRoundCheckIcon:cc,UserRoundCog:ic,UserRoundCogIcon:ic,UserRoundIcon:lc,UserRoundMinus:rc,UserRoundMinusIcon:rc,UserRoundPen:w_,UserRoundPenIcon:w_,UserRoundPlus:sc,UserRoundPlusIcon:sc,UserRoundSearch:b_,UserRoundSearchIcon:b_,UserRoundX:dc,UserRoundXIcon:dc,UserSearch:C_,UserSearchIcon:C_,UserSquare:Xo,UserSquare2:Ko,UserSquare2Icon:Ko,UserSquareIcon:Xo,UserStar:N_,UserStarIcon:N_,UserX:S_,UserX2:dc,UserX2Icon:dc,UserXIcon:S_,Users:$_,Users2:hc,Users2Icon:hc,UsersIcon:$_,UsersRound:hc,UsersRoundIcon:hc,Utensils:pc,UtensilsCrossed:uc,UtensilsCrossedIcon:uc,UtensilsIcon:pc,UtilityPole:q_,UtilityPoleIcon:q_,Variable:A_,VariableIcon:A_,Vault:z_,VaultIcon:z_,VectorSquare:V_,VectorSquareIcon:V_,Vegan:P_,VeganIcon:P_,VenetianMask:T_,VenetianMaskIcon:T_,Venus:R_,VenusAndMars:H_,VenusAndMarsIcon:H_,VenusIcon:R_,Verified:Ft,VerifiedIcon:Ft,Vibrate:B_,VibrateIcon:B_,VibrateOff:D_,VibrateOffIcon:D_,Video:E_,VideoIcon:E_,VideoOff:F_,VideoOffIcon:F_,Videotape:O_,VideotapeIcon:O_,View:W_,ViewIcon:W_,Voicemail:U_,VoicemailIcon:U_,Volleyball:G_,VolleyballIcon:G_,Volume:Q_,Volume1:Z_,Volume1Icon:Z_,Volume2:K_,Volume2Icon:K_,VolumeIcon:Q_,VolumeOff:X_,VolumeOffIcon:X_,VolumeX:Y_,VolumeXIcon:Y_,Vote:J_,VoteIcon:J_,Wallet:tx,Wallet2:yc,Wallet2Icon:yc,WalletCards:ex,WalletCardsIcon:ex,WalletIcon:tx,WalletMinimal:yc,WalletMinimalIcon:yc,Wallpaper:ax,WallpaperIcon:ax,Wand:nx,Wand2:kc,Wand2Icon:kc,WandIcon:nx,WandSparkles:kc,WandSparklesIcon:kc,Warehouse:ox,WarehouseIcon:ox,WashingMachine:cx,WashingMachineIcon:cx,Watch:ix,WatchIcon:ix,Waves:sx,WavesIcon:sx,WavesLadder:rx,WavesLadderIcon:rx,Waypoints:dx,WaypointsIcon:dx,Webcam:lx,WebcamIcon:lx,Webhook:px,WebhookIcon:px,WebhookOff:hx,WebhookOffIcon:hx,Weight:ux,WeightIcon:ux,Wheat:kx,WheatIcon:kx,WheatOff:yx,WheatOffIcon:yx,WholeWord:mx,WholeWordIcon:mx,Wifi:Ix,WifiCog:fx,WifiCogIcon:fx,WifiHigh:gx,WifiHighIcon:gx,WifiIcon:Ix,WifiLow:vx,WifiLowIcon:vx,WifiOff:Mx,WifiOffIcon:Mx,WifiPen:_x,WifiPenIcon:_x,WifiSync:xx,WifiSyncIcon:xx,WifiZero:Lx,WifiZeroIcon:Lx,Wind:bx,WindArrowDown:wx,WindArrowDownIcon:wx,WindIcon:bx,Wine:Nx,WineIcon:Nx,WineOff:Cx,WineOffIcon:Cx,Workflow:Sx,WorkflowIcon:Sx,Worm:jx,WormIcon:jx,WrapText:$x,WrapTextIcon:$x,Wrench:qx,WrenchIcon:qx,X:Ke,XCircle:gt,XCircleIcon:gt,XIcon:Ke,XOctagon:An,XOctagonIcon:An,XSquare:Yo,XSquareIcon:Yo,Youtube:zx,YoutubeIcon:zx,Zap:Vx,ZapIcon:Vx,ZapOff:Ax,ZapOffIcon:Ax,ZoomIn:Px,ZoomInIcon:Px,ZoomOut:Tx,ZoomOutIcon:Tx,createLucideIcon:a.createLucideIcon,icons:Vse},Symbol.toStringTag,{value:"Module"})),Pse=({size:e=250,background:t="#fff",headerTop:n,headerBottom:o,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 c.jsxs("div",{style:m,className:`stat-card ${u}`,children:[c.jsxs("div",{className:"stat-card-header",children:[c.jsx("div",{className:"stat-card-header-top",style:i,children:n}),o&&c.jsx("div",{className:"stat-card-header-bottom",style:r,children:o})]}),c.jsxs("div",{className:"stat-card-body",style:{opacity:p?0:1},children:[c.jsx("div",{className:"progress-row-single",children:c.jsx(Lw,{...f})}),c.jsxs("div",{className:"progress-row-double",children:[c.jsx("div",{className:"progress-item",children:c.jsx(ej,{...d})}),c.jsx("div",{className:"progress-item",children:c.jsx(Lw,{...g})})]})]}),p&&c.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:c.jsx(a.Move,{size:32,strokeWidth:1.5,style:{opacity:.8}})})]})},tj=k.createContext(void 0),it=()=>{const e=k.useContext(tj);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},Tse=({children:e,defaultActive:t=""})=>{const[n,o]=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 c.jsx(tj.Provider,{value:{activeNav:n,setActiveNav:o,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},aj=({categories:e,logo:t="Menu",buttonContent:n,position:o="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}=it();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&&o==="auto"&&y.current){const M=y.current.getBoundingClientRect(),v=window.innerWidth/2;u(M.left<v?"left":"right")}},[d,o]);const m=t?ht[t]:null,_=o==="auto"?h:o;return c.jsxs("div",{className:"dropdown",ref:p,children:[c.jsxs("button",{ref:y,type:"button",className:"dropdown-button",onClick:()=>l(M=>!M),"aria-expanded":d,"aria-haspopup":"true",children:[m&&c.jsx(m,{size:20}),n&&c.jsx("span",{className:"button-text",children:n})]}),d&&c.jsxs("div",{className:`dropdown-content ${_}`,children:[s&&c.jsx("div",{className:"dropdown-top-content",children:s}),e?.map((M,v)=>c.jsxs("div",{className:"dropdown-category",children:[M.title&&c.jsx("div",{className:"category-title",children:M.title}),c.jsx("div",{className:"category-items",children:M.items.map((x,C)=>{const w=x.id??x.label,b=f===w||g===w,L=x.select??r;if(x.id==="language"){if(!L||!Array.isArray(L.options)||!L.onChange)return c.jsx("div",{className:"dropdown-language"},C);const S=Array.isArray(L.options)?L.options:[],q=S.some(A=>A.code===L.value)?S:[{code:L.value??"",label:String(L.value??"")},...S];return c.jsx("div",{className:"dropdown-language",children:c.jsx("select",{name:L.name??"language",className:"language-select",value:L.value??"",onChange:A=>{const P=A.target.value;try{L.onChange(P)}catch(H){console.error("select onChange error",H)}},children:q.map(A=>c.jsx("option",{value:A.code,children:A.label},A.code))})},C)}const I={className:`dropdown-item ${b?"active":""}`,onClick:()=>{x.onClick?.(),l(!1)},role:x.type==="button"||!x.href?"button":void 0};return x.type==="button"||!x.href?c.jsx("button",{type:"button",...I,children:x.label},C):c.jsx("a",{...I,href:x.href,children:x.label},C)})})]},v))]})]})},nj=({children:e,container:t=!1,item:n=!1,parent:o=!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:_=!1,displayNone:M=!1})=>{const[v,x]=k.useState([]);k.useEffect(()=>{const I=A=>{const P=[];return k.Children.forEach(A,H=>{Array.isArray(H)?P.push(...I(H)):k.isValidElement(H)&&P.push(H)}),P},j=I(e).filter(A=>k.isValidElement(A)).map(A=>{let P="";const H=A.props;return P=[H.xs?`grid-xs-${H.xs}`:"",H.sm?`grid-sm-${H.sm}`:"",H.md?`grid-md-${H.md}`:"",H.lg?`grid-lg-${H.lg}`:"",H.xl?`grid-xl-${H.xl}`:"",H.className?H.className:""].join(" ").trim(),{node:A,classes:P}});let q=j;g&&g.length>0&&(q=j.map((A,P)=>({...A,node:j[g[P]]?.node??A.node}))),x(q)},[e]);const C=(I,S)=>{I.stopPropagation(),I.dataTransfer.setData("dragIndex",S.toString()),I.dataTransfer.setData("parentKey",p.toString())},w=I=>{I.preventDefault(),I.stopPropagation()},b=(I,S)=>{I.preventDefault();const j=Number(I.dataTransfer.getData("dragIndex")),q=Number(I.dataTransfer.getData("parentKey"));if(t&&q!==p)return;const A=[...v];let P=-1,H=-1;if(A.forEach((N,V)=>{if(k.isValidElement(N.node)){const B=N.node.props;B.uniqueKey===S&&(P=V),B.uniqueKey===j&&(H=V)}}),P===-1||H===-1)return;const z=A[H].node;A[H]={...A[H],node:A[P].node},A[P]={...A[P],node:z},x(A),typeof m=="function"&&m(H,P)},L=o?[i?`grid-xs-${i}`:"",r?`grid-sm-${r}`:"",s?`grid-md-${s}`:"",d?`grid-lg-${d}`:"",l?`grid-xl-${l}`:""].join(" "):"";return!o&&f?y={...y,width:`${f}px`}:!o&&!f&&(y={...y,width:"100%"}),y={...y,height:"100%"},t?c.jsx("div",{className:`${u} grid-container ${L}`,style:{"--gap-grid":`${h}rem`,...y},children:v.map(I=>I.node.type?.displayName==="Grid"?_?c.jsx("div",{draggable:!0,onDragStart:S=>C(S,I.node?.props?.uniqueKey),onDragOver:S=>w(S),onDrop:S=>b(S,I.node?.props?.uniqueKey),className:`grid-item grid-item-grabbing ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,style:{cursor:"grab"},children:I.node},I.node?.props?.uniqueKey):c.jsx("div",{className:`grid-item ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,children:I.node},I.node?.props?.uniqueKey):I.node)}):n?c.jsx("div",{className:`${u} grid-item ${L} ${M?"grid-display-none":""}`,style:{gap:`${h}rem`,...y},children:e}):c.jsx(c.Fragment,{children:e})};nj.displayName="Grid";const Yw=({imagePath:e,...t})=>{const[n,o]=k.useState(!1);return k.useEffect(()=>{o(!0)},[]),n?c.jsx("div",{className:`logo logo--${t.size}`,children:c.jsx("a",{href:"/",children:c.jsx("img",{src:e,alt:"Saniia Smart Bed Management",className:"logo-image"})})}):c.jsx("div",{className:"logo logo-placeholder"})},Iw=({id:e,label:t,isActive:n=!1,onClick:o,href:i,highlightColor:r="#008CBA",moduleKey:s="",...d})=>{const{setActiveNav:l}=it(),h=()=>{l(e),o?.(e)};return i?c.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:h,...d,children:t}):c.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:h,role:o?"button":"presentation",tabIndex:o?0:-1,...d,children:t})},oj=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:o={},dropdownPosition:i="auto"})=>{const{activeNav:r}=it(),[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 x=y.current.parentNode?.parentElement?.offsetWidth||0;d(x*.8<y.current.offsetWidth||x<1100)}};return v(),window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)},[]),k.useEffect(()=>{if(l&&i==="auto"&&f.current){const v=f.current.getBoundingClientRect(),x=window.innerWidth/2;p(v.left<x?"left":"right")}},[l,i]),k.useEffect(()=>{if(!l)return;const v=x=>{g.current&&!g.current.contains(x.target)&&f.current&&!f.current.contains(x.target)&&h(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[l]);const m=v=>{t?.(v),h(!1)},_=e.find(v=>v.id===r)||e[0],M=i==="auto"?u:i;return c.jsx("div",{ref:y,children:s?c.jsxs("div",{className:"navbar-mobile",children:[c.jsxs("button",{ref:f,className:"navbar-dropdown-toggle",onClick:()=>h(!l),style:{backgroundColor:n,color:"#fff"},"aria-expanded":l,"aria-haspopup":"true",children:[_.label,c.jsx("span",{className:`dropdown-arrow ${l?"open":""}`})]}),l&&c.jsx("div",{ref:g,className:`navbar-dropdown ${M}`,children:e.map(v=>c.jsx(Iw,{id:v.id,label:v.label,href:v.moduleKey&&o[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&o[v.moduleKey],onClick:m,highlightColor:n},v.id))})]}):c.jsx("nav",{className:"navbar",children:e.map(v=>c.jsx(Iw,{id:v.id,label:v.label,href:v.moduleKey&&o[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&o[v.moduleKey],onClick:m,highlightColor:n},v.id))})})},cj=k.createContext(void 0),Hse=({children:e,initialTheme:t})=>{const[n,o]=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=>{o(r)},[]);return c.jsx(cj.Provider,{value:{themeName:n,setTheme:i},children:e})},ij=()=>{const e=k.useContext(cj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},tL=()=>{const{themeName:e,setTheme:t}=ij(),n=k.useCallback(o=>{t(o)},[t]);return{currentTheme:e,switchTheme:n}},C1=({colors:e={},leftIcon:t,rightIcon:n,checked:o=!1,onToggle:i,size:r=24,className:s="",style:d})=>{const l=()=>i?.(!o),h=u=>{(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),l())};return c.jsxs("div",{role:"switch","aria-checked":o,tabIndex:0,className:`switcher ${o?"switcher-checked":""} ${s}`,style:{"--bg":e.bg||"#1f2937","--active-bg":e.activeBg||"#facc15","--border":e.border||"#fff","--circle":e.circle||"#fff","--icon":e.icon||"#fbbf24","--icon2":e.icon2||e.icon||"#fbbf24","--size":`${r}px`,...d},onClick:l,onKeyDown:h,children:[c.jsx("div",{className:"switcher-circle"}),c.jsxs("div",{className:"switcher-icons",children:[t&&c.jsx("div",{className:"switcher-icon-left",children:t}),n&&c.jsx("div",{className:"switcher-icon-right",children:n})]})]})},ww=({lightTheme:e="light",darkTheme:t="dark",leftIcon:n="Sun",rightIcon:o="Moon",colors:i={bg:"#e5e7eb",activeBg:"#3b82f6",border:"#ffffff",circle:"#ffffff",icon:"#3b82f6",icon2:"#ffffff"},size:r=24})=>{const{currentTheme:s,switchTheme:d}=tL(),[l,h]=k.useState(!1);if(k.useEffect(()=>{h(!0)},[]),!l)return null;const u=s===t,p=y=>{d(y?t:e)};return c.jsx(C1,{leftIcon:n,rightIcon:o,checked:u,onToggle:p,colors:i,size:r})},Dse=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.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"})),Rb=k.memo(Dse),rj=k.createContext(void 0),Bse=({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 o=i=>{n(i)};return c.jsx(rj.Provider,{value:{isDraggable:t,switchDraggable:o},children:e})},sj=()=>{const e=k.useContext(rj);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},Ox=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"var(--color-primary)",border:"transparent",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},size:o=24})=>{const{isDraggable:i,switchDraggable:r}=sj(),[s,d]=k.useState(!1);if(k.useEffect(()=>{d(!0)},[]),!s)return null;const l=h=>{r(h)};return c.jsx(C1,{leftIcon:e||c.jsx(Rb,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Rb,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:i,onToggle:l,colors:n,size:o})},Rse=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.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"})),Fb=k.memo(Rse),dj=k.createContext(void 0),Fse=({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 o=i=>{n(i)};return c.jsx(dj.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:o},children:e})},lj=()=>{const e=k.useContext(dj);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},Ux=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"#ef4444",border:"#ffffff",circle:"#ffffff",icon:"#ef4444",icon2:"#ffffff"},size:o=24})=>{const{disableLegendFilter:i,switchDisableLegendFilter:r}=lj(),[s,d]=k.useState(!1);if(k.useEffect(()=>{d(!0)},[]),!s)return null;const l=h=>{r(h)};return c.jsx(C1,{leftIcon:e||c.jsx(Fb,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Fb,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:i,onToggle:l,colors:n,size:o})},hj=k.createContext(void 0),Ese=({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 o=i=>{n(i)};return c.jsx(hj.Provider,{value:{showData:t,switchShowData:o},children:e})},uj=()=>{const e=k.useContext(hj);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},Ose=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.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"})),Eb=k.memo(Ose),Wx=({size:e=24,colors:t={bg:"var(--color-switcher-background)",activeBg:"#10b981",border:"#ffffff",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"}})=>{const{showData:n,switchShowData:o}=uj(),[i,r]=k.useState(!1);return k.useEffect(()=>{r(!0)},[]),i?c.jsx(C1,{checked:n,onToggle:s=>o(s),size:e,leftIcon:c.jsx(Eb,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:c.jsx(Eb,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t}):null},Use=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.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"})),pj=k.memo(Use);function bw({items:e,onSave:t,loading:n,disabled:o,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(_=>_.component_key===f&&g>3?{..._,visible:!_.visible}:_))},y=()=>{t(h),l(!1)};return c.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[c.jsx("div",{onClick:()=>o||l(f=>!f),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-primary)"},title:s,children:c.jsx(pj,{fill:"currentColor"})}),d&&c.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:[c.jsx("ul",{style:{listStyle:"none",padding:0,margin:0,marginBottom:12},children:h.map((f,g)=>c.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[c.jsx("input",{type:"checkbox",checked:f.visible,disabled:g<4,onChange:()=>p(f.component_key,g),style:{marginRight:8}}),c.jsx("span",{style:{color:g<4?"#6b7280":"#111827"},children:f.label}),g<4&&c.jsx("span",{style:{fontSize:"var(--text-paragraph)",color:"#9ca3af",marginLeft:6}})]},f.component_key))}),c.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 Wse=({logoPath:e,navItems:t,onNavClick:n,dropdownItems:o,headerBg:i,highlightColor:r="#1387C8",moduleConfig:s={},componentVisibilityItems:d=[],onComponentVisibilitySave:l,componentVisibilityLoading:h=!1,componentVisibilitySaveLabel:u,componentVisibilitySavingLabel:p,componentVisibilityButtonTitle:y})=>{const{activeSwitchers:f}=it(),g=f?.draggable===!0,m=f?.showData===!0,_=f?.legendFilter===!0,M=f?.componentVisibility===!0&&d&&d.length>0;return c.jsx("header",{className:"header",style:{backgroundColor:i},children:c.jsxs("div",{className:"header-layout-container",children:[c.jsxs("div",{className:"header-left",children:[c.jsx("a",{href:"/",children:c.jsx(Yw,{imagePath:e})}),c.jsx(oj,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),c.jsxs("div",{className:"header-right",children:[c.jsxs("div",{className:"switcher-container",children:[g&&c.jsx(Ox,{}),m&&c.jsx(Wx,{}),_&&c.jsx(Ux,{}),c.jsx(ww,{}),M&&c.jsx(bw,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),c.jsx(aj,{categories:o?.categories,buttonContent:o?.buttonContent,topContent:c.jsxs("div",{className:"dropdown-switchers",children:[g&&c.jsx(Ox,{}),m&&c.jsx(Wx,{}),_&&c.jsx(Ux,{}),c.jsx(ww,{}),M&&c.jsx(bw,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},yj=({icon:e,text:t,size:n=16,color:o="currentColor",className:i="",active:r=!1,href:s})=>{const d=e?ht[e]:null,l=s?"a":"div";return c.jsxs(l,{className:`icon-text ${r?"icon-text-active":""} ${i}`,style:{color:o},role:"text","aria-label":t,...s?{href:s}:{},children:[d&&c.jsx(d,{size:n,"aria-hidden":"true"}),c.jsx("span",{children:t})]})},kj=({children:e,className:t="",style:n,item:o})=>c.jsxs("div",{className:`scrollable-horizontale ${t}`,style:n,children:[c.jsx("div",{className:"scrollable",children:e}),c.jsx("div",{className:"scrollable-dropdown",children:c.jsx(aj,{logo:"BarChart",position:"right",categories:o})})]}),Gse=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:o})=>{const{activeSubNav:i}=it();return c.jsx(kj,{style:n,item:o,children:e?.map(r=>c.jsx(yj,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i},r.id))})},mj=({title:e,subtitle:t,text:n,background:o="#f9f9f9",titleStyle:i,subtitleStyle:r,textStyle:s,itemStyle:d,icon:l})=>{const[h,u]=n?n.split("/"):[];return c.jsxs("div",{className:"trend-item",style:{background:o,...d},children:[c.jsxs("div",{className:"trend-left",children:[c.jsx("div",{className:"trend-icon",children:l}),c.jsxs("div",{className:"trend-texts",children:[c.jsx("span",{className:"trend-title",style:i,children:e}),t&&c.jsx("span",{className:"trend-subtitle",style:r,children:t})]})]}),c.jsxs("div",{className:"trend-right",style:s,children:[c.jsx("span",{className:"trend-right-left",children:h}),c.jsx("span",{className:"trend-right-separator",children:" / "}),c.jsx("span",{className:"trend-right-right",children:u})]})]})},Jw=k.createContext({});function Nt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const Qw=typeof window<"u",eb=Qw?k.useLayoutEffect:k.useEffect,aL=k.createContext(null);function tb(e,t){e.indexOf(t)===-1&&e.push(t)}function ab(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Zse([...e],t,n){const o=t<0?e.length+t:t;if(o>=0&&o<e.length){const i=n<0?e.length+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}return e}const ut=(e,t,n)=>n>t?t:n<e?e:n;function Cw(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Fc=()=>{},Ye=()=>{};process.env.NODE_ENV!=="production"&&(Fc=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Cw(t,n))},Ye=(e,t,n)=>{if(!e)throw new Error(Cw(t,n))});const pt={},fj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function gj(e){return typeof e=="object"&&e!==null}const vj=e=>/^0[^.\s]+$/u.test(e);function nb(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ue=e=>e,Kse=(e,t)=>n=>t(e(n)),N1=(...e)=>e.reduce(Kse),M1=(e,t,n)=>{const o=t-e;return o===0?1:(n-e)/o};class ob{constructor(){this.subscriptions=[]}add(t){return tb(this.subscriptions,t),()=>ab(this.subscriptions,t)}notify(t,n,o){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,o);else for(let r=0;r<i;r++){const s=this.subscriptions[r];s&&s(t,n,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Xe=e=>e*1e3,Oe=e=>e/1e3;function Mj(e,t){return t?e*(1e3/t):0}const Ob=new Set;function cb(e,t,n){e||Ob.has(t)||(console.warn(Cw(t,n)),Ob.add(t))}const _j=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Xse=1e-7,Yse=12;function Jse(e,t,n,o,i){let r,s,d=0;do s=t+(n-t)/2,r=_j(s,o,i)-e,r>0?n=s:t=s;while(Math.abs(r)>Xse&&++d<Yse);return s}function S1(e,t,n,o){if(e===t&&n===o)return Ue;const i=r=>Jse(r,0,1,e,n);return r=>r===0||r===1?r:_j(i(r),t,o)}const xj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Lj=e=>t=>1-e(1-t),Ij=S1(.33,1.53,.69,.99),ib=Lj(Ij),wj=xj(ib),bj=e=>(e*=2)<1?.5*ib(e):.5*(2-Math.pow(2,-10*(e-1))),rb=e=>1-Math.sin(Math.acos(e)),Cj=Lj(rb),Nj=xj(rb),Qse=S1(.42,0,1,1),e2e=S1(0,0,.58,1),Sj=S1(.42,0,.58,1),t2e=e=>Array.isArray(e)&&typeof e[0]!="number",jj=e=>Array.isArray(e)&&typeof e[0]=="number",Ub={linear:Ue,easeIn:Qse,easeInOut:Sj,easeOut:e2e,circIn:rb,circInOut:Nj,circOut:Cj,backIn:ib,backInOut:wj,backOut:Ij,anticipate:bj},a2e=e=>typeof e=="string",Wb=e=>{if(jj(e)){Ye(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,o,i]=e;return S1(t,n,o,i)}else if(a2e(e))return Ye(Ub[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Ub[e];return e},V1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function n2e(e,t){let n=new Set,o=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:o;return p&&s.add(u),g.has(u)||g.add(u),u},cancel:u=>{o.delete(u),s.delete(u)},process:u=>{if(d=u,i){r=!0;return}i=!0,[n,o]=[o,n],n.forEach(l),n.clear(),i=!1,r&&(r=!1,h.process(u))}};return h}const o2e=40;function $j(e,t){let n=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=V1.reduce((x,C)=>(x[C]=n2e(r),x),{}),{setup:d,read:l,resolveKeyframes:h,preUpdate:u,update:p,preRender:y,render:f,postRender:g}=s,m=()=>{const x=pt.useManualTiming?i.timestamp:performance.now();n=!1,pt.useManualTiming||(i.delta=o?1e3/60:Math.max(Math.min(x-i.timestamp,o2e),1)),i.timestamp=x,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&&(o=!1,e(m))},_=()=>{n=!0,o=!0,i.isProcessing||e(m)};return{schedule:V1.reduce((x,C)=>{const w=s[C];return x[C]=(b,L=!1,I=!1)=>(n||_(),w.schedule(b,L,I)),x},{}),cancel:x=>{for(let C=0;C<V1.length;C++)s[V1[C]].cancel(x)},state:i,steps:s}}const{schedule:ce,cancel:yt,state:ve,steps:wL}=$j(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ue,!0);let Hx;function c2e(){Hx=void 0}const ze={now:()=>(Hx===void 0&&ze.set(ve.isProcessing||pt.useManualTiming?ve.timestamp:performance.now()),Hx),set:e=>{Hx=e,queueMicrotask(c2e)}},qj=e=>t=>typeof t=="string"&&t.startsWith(e),sb=qj("--"),i2e=qj("var(--"),db=e=>i2e(e)?r2e.test(e.split("/*")[0].trim()):!1,r2e=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Ec={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},_1={...Ec,transform:e=>ut(0,1,e)},P1={...Ec,default:1},k1=e=>Math.round(e*1e5)/1e5,lb=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function s2e(e){return e==null}const d2e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,hb=(e,t)=>n=>!!(typeof n=="string"&&d2e.test(n)&&n.startsWith(e)||t&&!s2e(n)&&Object.prototype.hasOwnProperty.call(n,t)),Aj=(e,t,n)=>o=>{if(typeof o!="string")return o;const[i,r,s,d]=o.match(lb);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},l2e=e=>ut(0,255,e),bL={...Ec,transform:e=>Math.round(l2e(e))},fc={test:hb("rgb","red"),parse:Aj("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+bL.transform(e)+", "+bL.transform(t)+", "+bL.transform(n)+", "+k1(_1.transform(o))+")"};function h2e(e){let t="",n="",o="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,o+=o,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}}const Nw={test:hb("#"),parse:h2e,transform:fc.transform},j1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ft=j1("deg"),ct=j1("%"),E=j1("px"),u2e=j1("vh"),p2e=j1("vw"),Gb={...ct,parse:e=>ct.parse(e)/100,transform:e=>ct.transform(e*100)},jc={test:hb("hsl","hue"),parse:Aj("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+ct.transform(k1(t))+", "+ct.transform(k1(n))+", "+k1(_1.transform(o))+")"},pe={test:e=>fc.test(e)||Nw.test(e)||jc.test(e),parse:e=>fc.test(e)?fc.parse(e):jc.test(e)?jc.parse(e):Nw.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?fc.transform(e):jc.transform(e),getAnimatableNone:e=>{const t=pe.parse(e);return t.alpha=0,pe.transform(t)}},y2e=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function k2e(e){return isNaN(e)&&typeof e=="string"&&(e.match(lb)?.length||0)+(e.match(y2e)?.length||0)>0}const zj="number",Vj="color",m2e="var",f2e="var(",Zb="${}",g2e=/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 x1(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(g2e,l=>(pe.test(l)?(o.color.push(r),i.push(Vj),n.push(pe.parse(l))):l.startsWith(f2e)?(o.var.push(r),i.push(m2e),n.push(l)):(o.number.push(r),i.push(zj),n.push(parseFloat(l))),++r,Zb)).split(Zb);return{values:n,split:d,indexes:o,types:i}}function Pj(e){return x1(e).values}function Tj(e){const{split:t,types:n}=x1(e),o=t.length;return i=>{let r="";for(let s=0;s<o;s++)if(r+=t[s],i[s]!==void 0){const d=n[s];d===zj?r+=k1(i[s]):d===Vj?r+=pe.transform(i[s]):r+=i[s]}return r}}const v2e=e=>typeof e=="number"?0:pe.test(e)?pe.getAnimatableNone(e):e;function M2e(e){const t=Pj(e);return Tj(e)(t.map(v2e))}const Ct={test:k2e,parse:Pj,createTransformer:Tj,getAnimatableNone:M2e};function CL(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 _2e({hue:e,saturation:t,lightness:n,alpha:o}){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=CL(l,d,e+1/3),r=CL(l,d,e),s=CL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:o}}function Gx(e,t){return n=>n>0?t:e}const ie=(e,t,n)=>e+(t-e)*n,NL=(e,t,n)=>{const o=e*e,i=n*(t*t-o)+o;return i<0?0:Math.sqrt(i)},x2e=[Nw,fc,jc],L2e=e=>x2e.find(t=>t.test(e));function Kb(e){const t=L2e(e);if(Fc(!!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===jc&&(n=_2e(n)),n}const Xb=(e,t)=>{const n=Kb(e),o=Kb(t);if(!n||!o)return Gx(e,t);const i={...n};return r=>(i.red=NL(n.red,o.red,r),i.green=NL(n.green,o.green,r),i.blue=NL(n.blue,o.blue,r),i.alpha=ie(n.alpha,o.alpha,r),fc.transform(i))},Sw=new Set(["none","hidden"]);function I2e(e,t){return Sw.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function w2e(e,t){return n=>ie(e,t,n)}function ub(e){return typeof e=="number"?w2e:typeof e=="string"?db(e)?Gx:pe.test(e)?Xb:N2e:Array.isArray(e)?Hj:typeof e=="object"?pe.test(e)?Xb:b2e:Gx}function Hj(e,t){const n=[...e],o=n.length,i=e.map((r,s)=>ub(r)(r,t[s]));return r=>{for(let s=0;s<o;s++)n[s]=i[s](r);return n}}function b2e(e,t){const n={...e,...t},o={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(o[i]=ub(e[i])(e[i],t[i]));return i=>{for(const r in o)n[r]=o[r](i);return n}}function C2e(e,t){const n=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const r=t.types[i],s=e.indexes[r][o[r]],d=e.values[s]??0;n[i]=d,o[r]++}return n}const N2e=(e,t)=>{const n=Ct.createTransformer(t),o=x1(e),i=x1(t);return o.indexes.var.length===i.indexes.var.length&&o.indexes.color.length===i.indexes.color.length&&o.indexes.number.length>=i.indexes.number.length?Sw.has(e)&&!i.values.length||Sw.has(t)&&!o.values.length?I2e(e,t):N1(Hj(C2e(o,i),i.values),n):(Fc(!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"),Gx(e,t))};function Dj(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ie(e,t,n):ub(e)(e,t)}const S2e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ce.update(t,n),stop:()=>yt(t),now:()=>ve.isProcessing?ve.timestamp:ze.now()}},Bj=(e,t,n=10)=>{let o="";const i=Math.max(Math.round(t/n),2);for(let r=0;r<i;r++)o+=Math.round(e(r/(i-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},Zx=2e4;function pb(e){let t=0;const n=50;let o=e.next(t);for(;!o.done&&t<Zx;)t+=n,o=e.next(t);return t>=Zx?1/0:t}function j2e(e,t=100,n){const o=n({...e,keyframes:[0,t]}),i=Math.min(pb(o),Zx);return{type:"keyframes",ease:r=>o.next(i*r).value/t,duration:Oe(i)}}const $2e=5;function Rj(e,t,n){const o=Math.max(t-$2e,0);return Mj(n-e(o),t-o)}const de={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},SL=.001;function q2e({duration:e=de.duration,bounce:t=de.bounce,velocity:n=de.velocity,mass:o=de.mass}){let i,r;Fc(e<=Xe(de.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=ut(de.minDamping,de.maxDamping,s),e=ut(de.minDuration,de.maxDuration,Oe(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,f=jw(h,s),g=Math.exp(-p);return SL-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=jw(Math.pow(h,2),s);return(-i(h)+SL>0?-1:1)*((y-f)*g)/m}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-SL+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=z2e(i,r,d);if(e=Xe(e),isNaN(l))return{stiffness:de.stiffness,damping:de.damping,duration:e};{const h=Math.pow(l,2)*o;return{stiffness:h,damping:s*2*Math.sqrt(o*h),duration:e}}}const A2e=12;function z2e(e,t,n){let o=n;for(let i=1;i<A2e;i++)o=o-e(o)/t(o);return o}function jw(e,t){return e*Math.sqrt(1-t*t)}const V2e=["duration","bounce"],P2e=["stiffness","damping","mass"];function Yb(e,t){return t.some(n=>e[n]!==void 0)}function T2e(e){let t={velocity:de.velocity,stiffness:de.stiffness,damping:de.damping,mass:de.mass,isResolvedFromDuration:!1,...e};if(!Yb(e,P2e)&&Yb(e,V2e))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(n*1.2),i=o*o,r=2*ut(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:de.mass,stiffness:i,damping:r}}else{const n=q2e(e);t={...t,...n,mass:de.mass},t.isResolvedFromDuration=!0}return t}function Kx(e=de.visualDuration,t=de.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,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}=T2e({...n,velocity:-Oe(n.velocity||0)}),g=y||0,m=h/(2*Math.sqrt(l*u)),_=s-r,M=Oe(Math.sqrt(l/u)),v=Math.abs(_)<5;o||(o=v?de.restSpeed.granular:de.restSpeed.default),i||(i=v?de.restDelta.granular:de.restDelta.default);let x;if(m<1){const w=jw(M,m);x=b=>{const L=Math.exp(-m*M*b);return s-L*((g+m*M*_)/w*Math.sin(w*b)+_*Math.cos(w*b))}}else if(m===1)x=w=>s-Math.exp(-M*w)*(_+(g+M*_)*w);else{const w=M*Math.sqrt(m*m-1);x=b=>{const L=Math.exp(-m*M*b),I=Math.min(w*b,300);return s-L*((g+m*M*_)*Math.sinh(I)+w*_*Math.cosh(I))/w}}const C={calculatedDuration:f&&p||null,next:w=>{const b=x(w);if(f)d.done=w>=p;else{let L=w===0?g:0;m<1&&(L=w===0?Xe(g):Rj(x,w,b));const I=Math.abs(L)<=o,S=Math.abs(s-b)<=i;d.done=I&&S}return d.value=d.done?s:b,d},toString:()=>{const w=Math.min(pb(C),Zx),b=Bj(L=>C.next(w*L).value,w,30);return w+"ms "+b},toTransition:()=>{}};return C}Kx.applyToOptions=e=>{const t=j2e(e,100,Kx);return e.ease=t.ease,e.duration=Xe(t.duration),e.type="keyframes",e};function $w({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:s,min:d,max:l,restDelta:h=.5,restSpeed:u}){const p=e[0],y={done:!1,value:p},f=I=>d!==void 0&&I<d||l!==void 0&&I>l,g=I=>d===void 0?l:l===void 0||Math.abs(d-I)<Math.abs(l-I)?d:l;let m=n*t;const _=p+m,M=s===void 0?_:s(_);M!==_&&(m=M-p);const v=I=>-m*Math.exp(-I/o),x=I=>M+v(I),C=I=>{const S=v(I),j=x(I);y.done=Math.abs(S)<=h,y.value=y.done?M:j};let w,b;const L=I=>{f(y.value)&&(w=I,b=Kx({keyframes:[y.value,g(y.value)],velocity:Rj(x,I,y.value),damping:i,stiffness:r,restDelta:h,restSpeed:u}))};return L(0),{calculatedDuration:null,next:I=>{let S=!1;return!b&&w===void 0&&(S=!0,C(I),L(I)),w!==void 0&&I>=w?b.next(I-w):(!S&&C(I),y)}}}function H2e(e,t,n){const o=[],i=n||pt.mix||Dj,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]||Ue:t;d=N1(l,d)}o.push(d)}return o}function Fj(e,t,{clamp:n=!0,ease:o,mixer:i}={}){const r=e.length;if(Ye(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=H2e(t,o,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=M1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(ut(e[0],e[r-1],u)):h}function D2e(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const i=M1(0,t,o);e.push(ie(n,1,i))}}function B2e(e){const t=[0];return D2e(t,e.length-1),t}function R2e(e,t){return e.map(n=>n*t)}function F2e(e,t){return e.map(()=>t||Sj).splice(0,e.length-1)}function $c({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const i=t2e(o)?o.map(Wb):Wb(o),r={done:!1,value:t[0]},s=R2e(n&&n.length===t.length?n:B2e(t),e),d=Fj(s,t,{ease:Array.isArray(i)?i:F2e(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const E2e=e=>e!==null;function yb(e,{repeat:t,repeatType:n="loop"},o,i=1){const r=e.filter(E2e),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||o===void 0?r[d]:o}const O2e={decay:$w,inertia:$w,tween:$c,keyframes:$c,spring:Kx};function Ej(e){typeof e.type=="string"&&(e.type=O2e[e.type])}class kb{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 U2e=e=>e/100;class mb extends kb{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!==ze.now()&&this.tick(ze.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;Ej(t);const{type:n=$c,repeat:o=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const l=n||$c;process.env.NODE_ENV!=="production"&&l!==$c&&Ye(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),l!==$c&&typeof d[0]!="number"&&(this.mixKeyframes=N1(U2e,Dj(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=pb(h));const{calculatedDuration:u}=h;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(o+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:o,totalDuration:i,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:d,calculatedDuration:l}=this;if(this.startTime===null)return o.next(0);const{delay:h=0,keyframes:u,repeat:p,repeatType:y,repeatDelay:f,type:g,onUpdate:m,finalKeyframe:_}=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 x=this.currentTime,C=o;if(p){const I=Math.min(this.currentTime,i)/d;let S=Math.floor(I),j=I%1;!j&&I>=1&&(j=1),j===1&&S--,S=Math.min(S,p+1),!!(S%2)&&(y==="reverse"?(j=1-j,f&&(j-=f/d)):y==="mirror"&&(C=s)),x=ut(0,1,j)*d}const w=v?{done:!1,value:u[0]}:C.next(x);r&&(w.value=r(w.value));let{done:b}=w;!v&&l!==null&&(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const L=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return L&&g!==$w&&(w.value=yb(u,this.options,_,this.speed)),m&&m(w.value),L&&this.finish(),w}then(t,n){return this.finished.then(t,n)}get duration(){return Oe(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Oe(t)}get time(){return Oe(this.currentTime)}set time(t){t=Xe(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(ze.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Oe(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=S2e,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=n??o),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(ze.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 W2e(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const gc=e=>e*180/Math.PI,qw=e=>{const t=gc(Math.atan2(e[1],e[0]));return Aw(t)},G2e={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:qw,rotateZ:qw,skewX:e=>gc(Math.atan(e[1])),skewY:e=>gc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Aw=e=>(e=e%360,e<0&&(e+=360),e),Jb=qw,Qb=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),eC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Z2e={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Qb,scaleY:eC,scale:e=>(Qb(e)+eC(e))/2,rotateX:e=>Aw(gc(Math.atan2(e[6],e[5]))),rotateY:e=>Aw(gc(Math.atan2(-e[2],e[0]))),rotateZ:Jb,rotate:Jb,skewX:e=>gc(Math.atan(e[4])),skewY:e=>gc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function zw(e){return e.includes("scale")?1:0}function Vw(e,t){if(!e||e==="none")return zw(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,i;if(n)o=Z2e,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=G2e,i=d}if(!i)return zw(t);const r=o[t],s=i[1].split(",").map(X2e);return typeof r=="function"?r(s):s[r]}const K2e=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Vw(n,t)};function X2e(e){return parseFloat(e.trim())}const Oc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Uc=new Set(Oc),tC=e=>e===Ec||e===E,Y2e=new Set(["x","y","z"]),J2e=Oc.filter(e=>!Y2e.has(e));function Q2e(e){const t=[];return J2e.forEach(n=>{const o=e.getValue(n);o!==void 0&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t}const _c={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})=>Vw(t,"x"),y:(e,{transform:t})=>Vw(t,"y")};_c.translateX=_c.x;_c.translateY=_c.y;const xc=new Set;let Pw=!1,Tw=!1,Hw=!1;function Oj(){if(Tw){const e=Array.from(xc).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),n=new Map;t.forEach(o=>{const i=Q2e(o);i.length&&(n.set(o,i),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const i=n.get(o);i&&i.forEach(([r,s])=>{o.getValue(r)?.set(s)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Tw=!1,Pw=!1,xc.forEach(e=>e.complete(Hw)),xc.clear()}function Uj(){xc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Tw=!0)})}function ede(){Hw=!0,Uj(),Oj(),Hw=!1}class fb{constructor(t,n,o,i,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=o,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(xc.add(this),Pw||(Pw=!0,ce.read(Uj),ce.resolveKeyframes(Oj))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:o,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(o&&n){const d=o.readValue(n,s);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=s),i&&r===void 0&&i.set(t[0])}W2e(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),xc.delete(this)}cancel(){this.state==="scheduled"&&(xc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const tde=e=>e.startsWith("--");function ade(e,t,n){tde(t)?e.style.setProperty(t,n):e.style[t]=n}const nde=nb(()=>window.ScrollTimeline!==void 0),ode={};function cde(e,t){const n=nb(e);return()=>ode[t]??n()}const Wj=cde(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Qc=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,aC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Qc([0,.65,.55,1]),circOut:Qc([.55,0,1,.45]),backIn:Qc([.31,.01,.66,-.59]),backOut:Qc([.33,1.53,.69,.99])};function Gj(e,t){if(e)return typeof e=="function"?Wj()?Bj(e,t):"ease-out":jj(e)?Qc(e):Array.isArray(e)?e.map(n=>Gj(n,t)||aC.easeOut):aC[e]}function ide(e,t,n,{delay:o=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=Gj(d,i);Array.isArray(p)&&(u.easing=p);const y={delay:o,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 Zj(e){return typeof e=="function"&&"applyToOptions"in e}function rde({type:e,...t}){return Zj(e)&&Wj()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class sde extends kb{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:o,keyframes:i,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:d,onComplete:l}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,Ye(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const h=rde(t);this.animation=ide(n,o,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=yb(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):ade(n,o,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 Oe(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Oe(t)}get time(){return Oe(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Xe(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&&nde()?(this.animation.timeline=t,Ue):n(this)}}const Kj={anticipate:bj,backInOut:wj,circInOut:Nj};function dde(e){return e in Kj}function lde(e){typeof e.ease=="string"&&dde(e.ease)&&(e.ease=Kj[e.ease])}const nC=10;class hde extends sde{constructor(t){lde(t),Ej(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:o,onComplete:i,element:r,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const d=new mb({...s,autoplay:!1}),l=Xe(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-nC).value,d.sample(l).value,nC),d.stop()}}const oC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ct.test(e)||e==="0")&&!e.startsWith("url("));function ude(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 pde(e,t,n,o){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],s=oC(i,t),d=oC(r,t);return Fc(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:ude(e)||(n==="spring"||Zj(n))&&o}function Dw(e){e.duration=0,e.type="keyframes"}const yde=new Set(["opacity","clipPath","filter","transform"]),kde=nb(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function mde(e){const{motionValue:t,name:n,repeatDelay:o,repeatType:i,damping:r,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:h}=t.owner.getProps();return kde()&&n&&yde.has(n)&&(n!=="transform"||!h)&&!l&&!o&&i!=="mirror"&&r!==0&&s!=="inertia"}const fde=40;class gde extends kb{constructor({autoplay:t=!0,delay:n=0,type:o="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=ze.now();const y={autoplay:t,delay:n,type:o,repeat:i,repeatDelay:r,repeatType:s,name:l,motionValue:h,element:u,...p},f=u?.KeyframeResolver||fb;this.keyframeResolver=new f(d,(g,m,_)=>this.onKeyframesResolved(g,m,y,!_),l,h,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,o,i){this.keyframeResolver=void 0;const{name:r,type:s,velocity:d,delay:l,isHandoff:h,onUpdate:u}=o;this.resolvedAt=ze.now(),pde(t,r,s,d)||((pt.instantAnimations||!l)&&u?.(yb(t,o,n)),t[0]=t[t.length-1],Dw(o),o.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>fde?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...o,keyframes:t},f=!h&&mde(y)?new hde({...y,element:y.motionValue.owner.current}):new mb(y);f.finished.then(()=>this.notifyFinished()).catch(Ue),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(),ede()),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 vde=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Mde(e){const t=vde.exec(e);if(!t)return[,];const[,n,o,i]=t;return[`--${n??o}`,i]}const _de=4;function Xj(e,t,n=1){Ye(n<=_de,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[o,i]=Mde(e);if(!o)return;const r=window.getComputedStyle(t).getPropertyValue(o);if(r){const s=r.trim();return fj(s)?parseFloat(s):s}return db(i)?Xj(i,t,n+1):i}function gb(e,t){return e?.[t]??e?.default??e}const Yj=new Set(["width","height","top","left","right","bottom",...Oc]),xde={test:e=>e==="auto",parse:e=>e},Jj=e=>t=>t.test(e),Qj=[Ec,E,ct,ft,p2e,u2e,xde],cC=e=>Qj.find(Jj(e));function Lde(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||vj(e):!0}const Ide=new Set(["brightness","contrast","saturate","opacity"]);function wde(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=n.match(lb)||[];if(!o)return e;const i=n.replace(o,"");let r=Ide.has(t)?1:0;return o!==n&&(r*=100),t+"("+r+i+")"}const bde=/\b([a-z-]*)\(.*?\)/gu,Bw={...Ct,getAnimatableNone:e=>{const t=e.match(bde);return t?t.map(wde).join(" "):e}},iC={...Ec,transform:Math.round},Cde={rotate:ft,rotateX:ft,rotateY:ft,rotateZ:ft,scale:P1,scaleX:P1,scaleY:P1,scaleZ:P1,skew:ft,skewX:ft,skewY:ft,distance:E,translateX:E,translateY:E,translateZ:E,x:E,y:E,z:E,perspective:E,transformPerspective:E,opacity:_1,originX:Gb,originY:Gb,originZ:E},vb={borderWidth:E,borderTopWidth:E,borderRightWidth:E,borderBottomWidth:E,borderLeftWidth:E,borderRadius:E,radius:E,borderTopLeftRadius:E,borderTopRightRadius:E,borderBottomRightRadius:E,borderBottomLeftRadius:E,width:E,maxWidth:E,height:E,maxHeight:E,top:E,right:E,bottom:E,left:E,padding:E,paddingTop:E,paddingRight:E,paddingBottom:E,paddingLeft:E,margin:E,marginTop:E,marginRight:E,marginBottom:E,marginLeft:E,backgroundPositionX:E,backgroundPositionY:E,...Cde,zIndex:iC,fillOpacity:_1,strokeOpacity:_1,numOctaves:iC},Nde={...vb,color:pe,backgroundColor:pe,outlineColor:pe,fill:pe,stroke:pe,borderColor:pe,borderTopColor:pe,borderRightColor:pe,borderBottomColor:pe,borderLeftColor:pe,filter:Bw,WebkitFilter:Bw},e$=e=>Nde[e];function t$(e,t){let n=e$(e);return n!==Bw&&(n=Ct),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Sde=new Set(["auto","none","0"]);function jde(e,t,n){let o=0,i;for(;o<e.length&&!i;){const r=e[o];typeof r=="string"&&!Sde.has(r)&&x1(r).values.length&&(i=e[o]),o++}if(i&&n)for(const r of t)e[r]=t$(n,i)}class $de extends fb{constructor(t,n,o,i,r){super(t,n,o,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:o}=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(),db(h))){const u=Xj(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!Yj.has(o)||t.length!==2)return;const[i,r]=t,s=cC(i),d=cC(r);if(s!==d)if(tC(s)&&tC(d))for(let l=0;l<t.length;l++){const h=t[l];typeof h=="string"&&(t[l]=parseFloat(h))}else _c[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,o=[];for(let i=0;i<t.length;i++)(t[i]===null||Lde(t[i]))&&o.push(i);o.length&&jde(t,o,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=_c[o](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(o,i).jump(i,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:o}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=o.length-1,s=o[r];o[r]=_c[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 qde(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;const i=n?.[e]??o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const a$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function n$(e){return gj(e)&&"offsetHeight"in e}const rC=30,Ade=e=>!isNaN(parseFloat(e)),m1={current:void 0};class zde{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const i=ze.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),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=ze.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Ade(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&cb(!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 ob);const o=this.events[t].add(n);return t==="change"?()=>{o(),ce.read(()=>{this.events.change.getSize()||this.stop()})}:o}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,o){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}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 m1.current&&m1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=ze.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>rC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,rC);return Mj(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 Lc(e,t){return new zde(e,t)}const{schedule:Mb}=$j(queueMicrotask,!1),Ze={x:!1,y:!1};function o$(){return Ze.x||Ze.y}function Vde(e){return e==="x"||e==="y"?Ze[e]?null:(Ze[e]=!0,()=>{Ze[e]=!1}):Ze.x||Ze.y?null:(Ze.x=Ze.y=!0,()=>{Ze.x=Ze.y=!1})}function c$(e,t){const n=qde(e),o=new AbortController,i={passive:!0,...t,signal:o.signal};return[n,i,()=>o.abort()]}function sC(e){return!(e.pointerType==="touch"||o$())}function Pde(e,t,n={}){const[o,i,r]=c$(e,n),s=d=>{if(!sC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{sC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return o.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const i$=(e,t)=>t?e===t?!0:i$(e,t.parentElement):!1,_b=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Tde=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Hde(e){return Tde.has(e.tagName)||e.tabIndex!==-1}const Dx=new WeakSet;function dC(e){return t=>{t.key==="Enter"&&e(t)}}function jL(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Dde=(e,t)=>{const n=e.currentTarget;if(!n)return;const o=dC(()=>{if(Dx.has(n))return;jL(n,"down");const i=dC(()=>{jL(n,"up")}),r=()=>jL(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",o,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",o),t)};function lC(e){return _b(e)&&!o$()}function Bde(e,t,n={}){const[o,i,r]=c$(e,n),s=d=>{const l=d.currentTarget;if(!lC(d))return;Dx.add(l);const h=t(l,d),u=(f,g)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),Dx.has(l)&&Dx.delete(l),lC(f)&&typeof h=="function"&&h(f,{success:g})},p=f=>{u(f,l===window||l===document||n.useGlobalTarget||i$(l,f.target))},y=f=>{u(f,!1)};window.addEventListener("pointerup",p,i),window.addEventListener("pointercancel",y,i)};return o.forEach(d=>{(n.useGlobalTarget?window:d).addEventListener("pointerdown",s,i),n$(d)&&(d.addEventListener("focus",h=>Dde(h,i)),!Hde(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function r$(e){return gj(e)&&"ownerSVGElement"in e}function Rde(e){return r$(e)&&e.tagName==="svg"}function Fde(...e){const t=!Array.isArray(e[0]),n=t?0:-1,o=e[0+n],i=e[1+n],r=e[2+n],s=e[3+n],d=Fj(i,r,s);return t?d(o):d}const Me=e=>!!(e&&e.getVelocity),Ede=[...Qj,pe,Ct],Ode=e=>Ede.find(Jj(e)),nL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function hC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Ude(...e){return t=>{let n=!1;const o=e.map(i=>{const r=hC(i,t);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let i=0;i<o.length;i++){const r=o[i];typeof r=="function"?r():hC(e[i],null)}}}}function Wde(...e){return K.useCallback(Ude(...e),e)}class Gde extends K.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const o=n.offsetParent,i=n$(o)&&o.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 Zde({children:e,isPresent:t,anchorX:n,root:o}){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(nL),l=Wde(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 _=o??document.head;return _.appendChild(m),m.sheet&&m.sheet.insertRule(`
|
|
8162
8162
|
[data-motion-pop-id="${i}"] {
|
|
8163
8163
|
position: absolute !important;
|
|
8164
8164
|
width: ${h}px !important;
|
|
@@ -8166,15 +8166,15 @@
|
|
|
8166
8166
|
${g}px !important;
|
|
8167
8167
|
top: ${p}px !important;
|
|
8168
8168
|
}
|
|
8169
|
-
`),()=>{_.contains(m)&&_.removeChild(m)}},[t]),c.jsx(Gde,{isPresent:t,childRef:r,sizeRef:s,children:K.cloneElement(e,{ref:l})})}const Kde=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=Nt(Xde),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;o&&o()},register:f=>(h.set(f,!1),()=>h.delete(f))}),[n,h,o]);return r&&p&&(y={...y}),k.useMemo(()=>{h.forEach((f,g)=>h.set(g,!1))},[n]),K.useEffect(()=>{!n&&!h.size&&o&&o()},[n]),s==="popLayout"&&(e=c.jsx(Zde,{isPresent:n,anchorX:d,root:l,children:e})),c.jsx(aL.Provider,{value:y,children:e})};function Xde(){return new Map}function s$(e=!0){const t=k.useContext(aL);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:o,register:i}=t,r=k.useId();k.useEffect(()=>{if(e)return i(r)},[e]);const s=k.useCallback(()=>e&&o&&o(r),[r,o,e]);return!n&&o?[!1,s]:[!0]}const T1=e=>e.key||"";function hC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const Yde=({children:e,custom:t,initial:n=!0,onExitComplete:o,presenceAffectsLayout:i=!0,mode:r="sync",propagate:s=!1,anchorX:d="left",root:l})=>{const[h,u]=s$(s),p=k.useMemo(()=>hC(e),[e]),y=s&&!h?[]:p.map(T1),f=k.useRef(!0),g=k.useRef(p),m=Nt(()=>new Map),[_,M]=k.useState(p),[v,x]=k.useState(p);Qw(()=>{f.current=!1,g.current=p;for(let b=0;b<v.length;b++){const L=T1(v[b]);y.includes(L)?m.delete(L):m.get(L)!==!0&&m.set(L,!1)}},[v,y.length,y.join("-")]);const C=[];if(p!==_){let b=[...p];for(let L=0;L<v.length;L++){const I=v[L],S=T1(I);y.includes(S)||(b.splice(L,0,I),C.push(I))}return r==="wait"&&C.length&&(b=C),x(hC(b)),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(Yw);return c.jsx(c.Fragment,{children:v.map(b=>{const L=T1(b),I=s&&!h?!1:p===v||y.includes(L),S=()=>{if(m.has(L))m.set(L,!0);else return;let q=!0;m.forEach(N=>{N||(q=!1)}),q&&(w?.(),x(g.current),s&&u?.(),o&&o())};return c.jsx(Kde,{isPresent:I,initial:!f.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:l,onExitComplete:I?void 0:S,anchorX:d,children:b},L)})})},d$=k.createContext({strict:!1}),uC={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"]},Rc={};for(const e in uC)Rc[e]={isEnabled:t=>uC[e].some(n=>!!t[n])};function Jde(e){for(const t in e)Rc[t]={...Rc[t],...e[t]}}const Qde=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 Xx(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Qde.has(e)}let l$=e=>!Xx(e);function e0e(e){typeof e=="function"&&(l$=t=>t.startsWith("on")?!Xx(t):e(t))}try{e0e(require("@emotion/is-prop-valid").default)}catch{}function t0e(e,t,n){const o={};for(const i in e)i==="values"&&typeof e.values=="object"||(l$(i)||n===!0&&Xx(i)||!t&&!Xx(i)||e.draggable&&i.startsWith("onDrag"))&&(o[i]=e[i]);return o}const oL=k.createContext({});function cL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function L1(e){return typeof e=="string"||Array.isArray(e)}const _b=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],xb=["initial",..._b];function iL(e){return cL(e.animate)||xb.some(t=>L1(e[t]))}function h$(e){return!!(iL(e)||e.variants)}function a0e(e,t){if(iL(e)){const{initial:n,animate:o}=e;return{initial:n===!1||L1(n)?n:void 0,animate:L1(o)?o:void 0}}return e.inherit!==!1?t:{}}function n0e(e){const{initial:t,animate:n}=a0e(e,k.useContext(oL));return k.useMemo(()=>({initial:t,animate:n}),[pC(t),pC(n)])}function pC(e){return Array.isArray(e)?e.join(" "):e}const I1={};function o0e(e){for(const t in e)I1[t]=e[t],rb(t)&&(I1[t].isCSSVariable=!0)}function u$(e,{layout:t,layoutId:n}){return Uc.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!I1[e]||e==="opacity")}const c0e={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},i0e=Oc.length;function r0e(e,t,n){let o="",i=!0;for(let r=0;r<i0e;r++){const s=Oc[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=a$(d,gb[s]);if(!l){i=!1;const u=c0e[s]||s;o+=`${u}(${h}) `}n&&(t[s]=h)}}return o=o.trim(),n?o=n(t,i?"":o):i&&(o="none"),o}function Lb(e,t,n){const{style:o,vars:i,transformOrigin:r}=e;let s=!1,d=!1;for(const l in t){const h=t[l];if(Uc.has(l)){s=!0;continue}else if(rb(l)){i[l]=h;continue}else{const u=a$(h,gb[l]);l.startsWith("origin")?(d=!0,r[l]=u):o[l]=u}}if(t.transform||(s||n?o.transform=r0e(t,e.transform,n):o.transform&&(o.transform="none")),d){const{originX:l="50%",originY:h="50%",originZ:u=0}=r;o.transformOrigin=`${l} ${h} ${u}`}}const Ib=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function p$(e,t,n){for(const o in t)!Me(t[o])&&!u$(o,n)&&(e[o]=t[o])}function s0e({transformTemplate:e},t){return k.useMemo(()=>{const n=Ib();return Lb(n,t,e),Object.assign({},n.vars,n.style)},[t])}function d0e(e,t){const n=e.style||{},o={};return p$(o,n,e),Object.assign(o,s0e(e,t)),o}function l0e(e,t){const n={},o=d0e(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.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=o,n}const h0e={offset:"stroke-dashoffset",array:"stroke-dasharray"},u0e={offset:"strokeDashoffset",array:"strokeDasharray"};function p0e(e,t,n=1,o=0,i=!0){e.pathLength=1;const r=i?h0e:u0e;e[r.offset]=E.transform(-o);const s=E.transform(t),d=E.transform(n);e[r.array]=`${s} ${d}`}function y$(e,{attrX:t,attrY:n,attrScale:o,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if(Lb(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),o!==void 0&&(p.scale=o),i!==void 0&&p0e(p,i,r,s,!1)}const k$=()=>({...Ib(),attrs:{}}),m$=e=>typeof e=="string"&&e.toLowerCase()==="svg";function y0e(e,t,n,o){const i=k.useMemo(()=>{const r=k$();return y$(r,t,m$(o),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};p$(r,e.style,e),i.style={...r,...i.style}}return i}const k0e=["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 wb(e){return typeof e!="string"||e.includes("-")?!1:!!(k0e.indexOf(e)>-1||/[A-Z]/u.test(e))}function m0e(e,t,n,{latestValues:o},i,r=!1){const d=(wb(e)?y0e:l0e)(t,o,i,e),l=t0e(t,typeof e=="string",r),h=e!==k.Fragment?{...l,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>Me(u)?u.get():u,[u]);return k.createElement(e,{...h,children:p})}function yC(e){const t=[{},{}];return e?.values.forEach((n,o)=>{t[0][o]=n.get(),t[1][o]=n.getVelocity()}),t}function bb(e,t,n,o){if(typeof t=="function"){const[i,r]=yC(o);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]=yC(o);t=t(n!==void 0?n:e.custom,i,r)}return t}function Bx(e){return Me(e)?e.get():e}function f0e({scrapeMotionValuesFromProps:e,createRenderState:t},n,o,i){return{latestValues:g0e(n,o,i,e),renderState:t()}}function g0e(e,t,n,o){const i={},r=o(e,{});for(const y in r)i[y]=Bx(r[y]);let{initial:s,animate:d}=e;const l=iL(e),h=h$(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"&&!cL(p)){const y=Array.isArray(p)?p:[p];for(let f=0;f<y.length;f++){const g=bb(e,y[f]);if(g){const{transitionEnd:m,transition:_,...M}=g;for(const v in M){let x=M[v];if(Array.isArray(x)){const C=u?x.length-1:0;x=x[C]}x!==null&&(i[v]=x)}for(const v in m)i[v]=m[v]}}}return i}const f$=e=>(t,n)=>{const o=k.useContext(oL),i=k.useContext(aL),r=()=>f0e(e,t,o,i);return n?r():Nt(r)};function Cb(e,t,n){const{style:o}=e,i={};for(const r in o)(Me(o[r])||t.style&&Me(t.style[r])||u$(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=o[r]);return i}const v0e=f$({scrapeMotionValuesFromProps:Cb,createRenderState:Ib});function g$(e,t,n){const o=Cb(e,t,n);for(const i in e)if(Me(e[i])||Me(t[i])){const r=Oc.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;o[r]=e[i]}return o}const M0e=f$({scrapeMotionValuesFromProps:g$,createRenderState:k$}),_0e=Symbol.for("motionComponentSymbol");function qc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function x0e(e,t,n){return k.useCallback(o=>{o&&e.onMount&&e.onMount(o),t&&(o?t.mount(o):t.unmount()),n&&(typeof n=="function"?n(o):qc(n)&&(n.current=o))},[t])}const Nb=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),L0e="framerAppearId",v$="data-"+Nb(L0e),M$=k.createContext({});function I0e(e,t,n,o,i){const{visualElement:r}=k.useContext(oL),s=k.useContext(d$),d=k.useContext(aL),l=k.useContext(nL).reducedMotion,h=k.useRef(null);o=o||s.renderer,!h.current&&o&&(h.current=o(e,{visualState:t,parent:r,props:n,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:l}));const u=h.current,p=k.useContext(M$);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&w0e(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const f=n[v$],g=k.useRef(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return Qw(()=>{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 w0e(e,t,n,o){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:_$(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&qc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:o,crossfade:u,layoutScroll:l,layoutRoot:h})}function _$(e){if(e)return e.options.allowProjection!==!1?e.projection:_$(e.parent)}function $L(e,{forwardMotionProps:t=!1}={},n,o){n&&Jde(n);const i=wb(e)?M0e:v0e;function r(d,l){let h;const u={...k.useContext(nL),...d,layoutId:b0e(d)},{isStatic:p}=u,y=n0e(d),f=i(d,p);if(!p&&Jw){C0e(u,n);const g=N0e(u);h=g.MeasureLayout,y.visualElement=I0e(e,f,u,o,g.ProjectionNode)}return c.jsxs(oL.Provider,{value:y,children:[h&&y.visualElement?c.jsx(h,{visualElement:y.visualElement,...u}):null,m0e(e,d,x0e(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[_0e]=e,s}function b0e({layoutId:e}){const t=k.useContext(Yw).id;return t&&e!==void 0?t+"-"+e:e}function C0e(e,t){const n=k.useContext(d$).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const o="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Fc(!1,o,"lazy-strict-mode"):Ye(!1,o,"lazy-strict-mode")}}function N0e(e){const{drag:t,layout:n}=Rc;if(!t&&!n)return{};const o={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function S0e(e,t){if(typeof Proxy>"u")return $L;const n=new Map,o=(r,s)=>$L(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&ob(!1,"motion() is deprecated. Use motion.create() instead."),o(r,s));return new Proxy(i,{get:(r,s)=>s==="create"?o:(n.has(s)||n.set(s,$L(s,void 0,e,t)),n.get(s))})}function x$({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function j0e({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function $0e(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}function qL(e){return e===void 0||e===1}function Rw({scale:e,scaleX:t,scaleY:n}){return!qL(e)||!qL(t)||!qL(n)}function mc(e){return Rw(e)||L$(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function L$(e){return kC(e.x)||kC(e.y)}function kC(e){return e&&e!=="0%"}function Yx(e,t,n){const o=e-n,i=t*o;return n+i}function mC(e,t,n,o,i){return i!==void 0&&(e=Yx(e,i,o)),Yx(e,n,o)+t}function Fw(e,t=0,n=1,o,i){e.min=mC(e.min,t,n,o,i),e.max=mC(e.max,t,n,o,i)}function I$(e,{x:t,y:n}){Fw(e.x,t.translate,t.scale,t.originPoint),Fw(e.y,n.translate,n.scale,n.originPoint)}const fC=.999999999999,gC=1.0000000000001;function q0e(e,t,n,o=!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"||(o&&r.options.layoutScroll&&r.scroll&&r!==r.root&&zc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,I$(e,s)),o&&mc(r.latestValues)&&zc(e,r.latestValues))}t.x<gC&&t.x>fC&&(t.x=1),t.y<gC&&t.y>fC&&(t.y=1)}function Ac(e,t){e.min=e.min+t,e.max=e.max+t}function vC(e,t,n,o,i=.5){const r=ie(e.min,e.max,i);Fw(e,t,n,r,o)}function zc(e,t){vC(e.x,t.x,t.scaleX,t.scale,t.originX),vC(e.y,t.y,t.scaleY,t.scale,t.originY)}function w$(e,t){return x$($0e(e.getBoundingClientRect(),t))}function A0e(e,t,n){const o=w$(e,n),{scroll:i}=t;return i&&(Ac(o.x,i.offset.x),Ac(o.y,i.offset.y)),o}const MC=()=>({translate:0,scale:1,origin:0,originPoint:0}),Vc=()=>({x:MC(),y:MC()}),_C=()=>({min:0,max:0}),he=()=>({x:_C(),y:_C()}),Ew={current:null},b$={current:!1};function z0e(){if(b$.current=!0,!!Jw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ew.current=e.matches;e.addEventListener("change",t),t()}else Ew.current=!1}const V0e=new WeakMap;function P0e(e,t,n){for(const o in t){const i=t[o],r=n[o];if(Me(i))e.addValue(o,i);else if(Me(r))e.addValue(o,Lc(i,{owner:e}));else if(r!==i)if(e.hasValue(o)){const s=e.getValue(o);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(o);e.addValue(o,Lc(s!==void 0?s:i,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const xC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class T0e{scrapeMotionValuesFromProps(t,n,o){return{}}constructor({parent:t,props:n,presenceContext:o,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=mb,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=ze.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,ce.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=o,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=d,this.blockInitialAnimation=!!r,this.isControllingVariants=iL(n),this.isVariantNode=h$(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&&Me(f)&&f.set(l[y])}}mount(t){this.current=t,V0e.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,o)=>this.bindToMotionValue(o,n)),b$.current||z0e(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ew.current,process.env.NODE_ENV!=="production"&&ob(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(),yt(this.notifyUpdate),yt(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 o=Uc.has(t);o&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ce.preRender(this.notifyUpdate),o&&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 Rc){const n=Rc[t];if(!n)continue;const{isEnabled:o,Feature:i}=n;if(!this.features[t]&&i&&o(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):he()}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 o=0;o<xC.length;o++){const i=xC[o];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=P0e(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 o=this.values.get(t);n!==o&&(o&&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 o=this.values.get(t);return o===void 0&&n!==void 0&&(o=Lc(n===null?void 0:n,{owner:this}),this.addValue(t,o)),o}readValue(t,n){let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(fj(o)||vj(o))?o=parseFloat(o):!Ode(o)&&Ct.test(n)&&(o=t$(t,n)),this.setBaseTarget(t,Me(o)?o.get():o)),Me(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let o;if(typeof n=="string"||typeof n=="object"){const r=bb(this.props,n,this.presenceContext?.custom);r&&(o=r[t])}if(n&&o!==void 0)return o;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Me(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new nb),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){vb.render(this.render)}}class C$ extends T0e{constructor(){super(...arguments),this.KeyframeResolver=$de}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:o}){delete n[t],delete o[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Me(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function N$(e,{style:t,vars:n},o,i){const r=e.style;let s;for(s in t)r[s]=t[s];i?.applyProjectionStyles(r,o);for(s in n)r.setProperty(s,n[s])}function H0e(e){return window.getComputedStyle(e)}class D0e extends C${constructor(){super(...arguments),this.type="html",this.renderInstance=N$}readValueFromInstance(t,n){if(Uc.has(n))return this.projection?.isProjecting?zw(n):K2e(t,n);{const o=H0e(t),i=(rb(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return w$(t,n)}build(t,n,o){Lb(t,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,n,o){return Cb(t,n,o)}}const S$=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 B0e(e,t,n,o){N$(e,t,void 0,o);for(const i in t.attrs)e.setAttribute(S$.has(i)?i:Nb(i),t.attrs[i])}class R0e extends C${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=he}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Uc.has(n)){const o=e$(n);return o&&o.default||0}return n=S$.has(n)?n:Nb(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,o){return g$(t,n,o)}build(t,n,o){y$(t,n,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,n,o,i){B0e(t,n,o,i)}mount(t){this.isSVGTag=m$(t.tagName),super.mount(t)}}const F0e=(e,t)=>wb(e)?new R0e(t):new D0e(t,{allowProjection:e!==k.Fragment});function Bc(e,t,n){const o=e.getProps();return bb(o,t,n!==void 0?n:o.custom,e)}const Ow=e=>Array.isArray(e);function E0e(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Lc(n))}function O0e(e){return Ow(e)?e[e.length-1]||0:e}function U0e(e,t){const n=Bc(e,t);let{transitionEnd:o={},transition:i={},...r}=n||{};r={...r,...o};for(const s in r){const d=O0e(r[s]);E0e(e,s,d)}}function W0e(e){return!!(Me(e)&&e.add)}function Uw(e,t){const n=e.getValue("willChange");if(W0e(n))return n.add(t);if(!n&&pt.WillChange){const o=new pt.WillChange("auto");e.addValue("willChange",o),o.add(t)}}function j$(e){return e.props[v$]}const G0e=e=>e!==null;function Z0e(e,{repeat:t,repeatType:n="loop"},o){const i=e.filter(G0e),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const K0e={type:"spring",stiffness:500,damping:25,restSpeed:10},X0e=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Y0e={type:"keyframes",duration:.8},J0e={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Q0e=(e,{keyframes:t})=>t.length>2?Y0e:Uc.has(e)?e.startsWith("scale")?X0e(t[1]):K0e:J0e;function ele({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:d,from:l,elapsed:h,...u}){return!!Object.keys(u).length}const Sb=(e,t,n,o={},i,r)=>s=>{const d=fb(o,e)||{},l=d.delay||o.delay||0;let{elapsed:h=0}=o;h=h-Xe(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};ele(d)||Object.assign(u,Q0e(e,u)),u.duration&&(u.duration=Xe(u.duration)),u.repeatDelay&&(u.repeatDelay=Xe(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)),(pt.instantAnimations||pt.skipAnimations)&&(p=!0,Dw(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=Z0e(u.keyframes,d);if(y!==void 0){ce.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new kb(u):new gde(u)};function tle({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,o}function $$(e,t,{delay:n=0,transitionOverride:o,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...d}=t;o&&(r=o);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&&tle(h,u))continue;const f={delay:n,...fb(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=j$(e);if(M){const v=window.MotionHandoffAnimation(M,u,ce);v!==null&&(f.startTime=v,m=!0)}}Uw(e,u),p.start(Sb(u,p,y,e.shouldReduceMotion&&Yj.has(u)?{type:!1}:f,e,m));const _=p.animation;_&&l.push(_)}return s&&Promise.all(l).then(()=>{ce.update(()=>{s&&U0e(e,s)})}),l}function q$(e,t,n,o=0,i=1){const r=Array.from(e).sort((h,u)=>h.sortNodePosition(u)).indexOf(t),s=e.size,d=(s-1)*o;return typeof n=="function"?n(r,s):i===1?r*o:d-r*o}function Ww(e,t,n={}){const o=Bc(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const r=o?()=>Promise.all($$(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return ale(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 ale(e,t,n=0,o=0,i=0,r=1,s){const d=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),d.push(Ww(l,t,{...s,delay:n+(typeof o=="function"?0:o)+q$(e.variantChildren,l,o,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function nle(e,t,n={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){const i=t.map(r=>Ww(e,r,n));o=Promise.all(i)}else if(typeof t=="string")o=Ww(e,t,n);else{const i=typeof t=="function"?Bc(e,t,n.custom):t;o=Promise.all($$(e,i,n))}return o.then(()=>{e.notify("AnimationComplete",t)})}function A$(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(t[o]!==e[o])return!1;return!0}const ole=xb.length;function z$(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?z$(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<ole;n++){const o=xb[n],i=e.props[o];(L1(i)||i===!1)&&(t[o]=i)}return t}const cle=[..._b].reverse(),ile=_b.length;function rle(e){return t=>Promise.all(t.map(({animation:n,options:o})=>nle(e,n,o)))}function sle(e){let t=rle(e),n=LC(),o=!0;const i=l=>(h,u)=>{const p=Bc(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=z$(e.parent)||{},p=[],y=new Set;let f={},g=1/0;for(let _=0;_<ile;_++){const M=cle[_],v=n[M],x=h[M]!==void 0?h[M]:u[M],C=L1(x),w=M===l?v.isActive:null;w===!1&&(g=_);let b=x===u[M]&&x!==h[M]&&C;if(b&&o&&e.manuallyAnimateOnMount&&(b=!1),v.protectedKeys={...f},!v.isActive&&w===null||!x&&!v.prevProp||cL(x)||typeof x=="boolean")continue;const L=dle(v.prevProp,x);let I=L||M===l&&v.isActive&&!b&&C||_>g&&C,S=!1;const q=Array.isArray(x)?x:[x];let N=q.reduce(i(M),{});w===!1&&(N={});const{prevResolvedValues:j={}}=v,T={...j,...N},D=V=>{I=!0,y.has(V)&&(S=!0,y.delete(V)),v.needsAnimating[V]=!0;const B=e.getValue(V);B&&(B.liveStyle=!1)};for(const V in T){const B=N[V],W=j[V];if(f.hasOwnProperty(V))continue;let H=!1;Ow(B)&&Ow(W)?H=!A$(B,W):H=B!==W,H?B!=null?D(V):y.add(V):B!==void 0&&y.has(V)?D(V):v.protectedKeys[V]=!0}v.prevProp=x,v.prevResolvedValues=N,v.isActive&&(f={...f,...N}),o&&e.blockInitialAnimation&&(I=!1);const z=b&&L;I&&(!z||S)&&p.push(...q.map(V=>{const B={type:M};if(typeof V=="string"&&o&&!z&&e.manuallyAnimateOnMount&&e.parent){const{parent:W}=e,H=Bc(W,V);if(W.enteringChildren&&H){const{delayChildren:R}=H.transition||{};B.delay=q$(W.enteringChildren,e,R)}}return{animation:V,options:B}}))}if(y.size){const _={};if(typeof h.initial!="boolean"){const M=Bc(e,Array.isArray(h.initial)?h.initial[0]:h.initial);M&&M.transition&&(_.transition=M.transition)}y.forEach(M=>{const v=e.getBaseTarget(M),x=e.getValue(M);x&&(x.liveStyle=!0),_[M]=v??null}),p.push({animation:_})}let m=!!p.length;return o&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(m=!1),o=!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=LC()}}}function dle(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!A$(t,e):!1}function jt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function LC(){return{animate:jt(!0),whileInView:jt(),whileHover:jt(),whileTap:jt(),whileDrag:jt(),whileFocus:jt(),exit:jt()}}class St{constructor(t){this.isMounted=!1,this.node=t}update(){}}class lle extends St{constructor(t){super(t),t.animationState||(t.animationState=sle(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();cL(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 hle=0;class ule extends St{constructor(){super(...arguments),this.id=hle++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)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 ple={animation:{Feature:lle},exit:{Feature:ule}};function w1(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}function $1(e){return{point:{x:e.pageX,y:e.pageY}}}const yle=e=>t=>Mb(t)&&e(t,$1(t));function f1(e,t,n,o){return w1(e,t,yle(n),o)}const V$=1e-4,kle=1-V$,mle=1+V$,P$=.01,fle=0-P$,gle=0+P$;function Se(e){return e.max-e.min}function vle(e,t,n){return Math.abs(e-t)<=n}function IC(e,t,n,o=.5){e.origin=o,e.originPoint=ie(t.min,t.max,e.origin),e.scale=Se(n)/Se(t),e.translate=ie(n.min,n.max,e.origin)-e.originPoint,(e.scale>=kle&&e.scale<=mle||isNaN(e.scale))&&(e.scale=1),(e.translate>=fle&&e.translate<=gle||isNaN(e.translate))&&(e.translate=0)}function g1(e,t,n,o){IC(e.x,t.x,n.x,o?o.originX:void 0),IC(e.y,t.y,n.y,o?o.originY:void 0)}function wC(e,t,n){e.min=n.min+t.min,e.max=e.min+Se(t)}function Mle(e,t,n){wC(e.x,t.x,n.x),wC(e.y,t.y,n.y)}function bC(e,t,n){e.min=t.min-n.min,e.max=e.min+Se(t)}function v1(e,t,n){bC(e.x,t.x,n.x),bC(e.y,t.y,n.y)}function Fe(e){return[e("x"),e("y")]}const T$=({current:e})=>e?e.ownerDocument.defaultView:null,CC=(e,t)=>Math.abs(e-t);function _le(e,t){const n=CC(e.x,t.x),o=CC(e.y,t.y);return Math.sqrt(n**2+o**2)}class H${constructor(t,n,{transformPagePoint:o,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=zL(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,g=_le(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!f&&!g)return;const{point:m}=y,{timestamp:_}=ve;this.history.push({...m,timestamp:_});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=AL(f,this.transformPagePoint),ce.update(this.updatePoint,!0)},this.handlePointerUp=(y,f)=>{this.end();const{onEnd:g,onSessionEnd:m,resumeAnimation:_}=this.handlers;if(this.dragSnapToOrigin&&_&&_(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const M=zL(y.type==="pointercancel"?this.lastMoveEventInfo:AL(f,this.transformPagePoint),this.history);this.startEvent&&g&&g(y,M),m&&m(y,M)},!Mb(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=o,this.distanceThreshold=s,this.contextWindow=i||window;const d=$1(t),l=AL(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=ve;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,zL(l,this.history)),this.removeListeners=N1(f1(this.contextWindow,"pointermove",this.handlePointerMove),f1(this.contextWindow,"pointerup",this.handlePointerUp),f1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),yt(this.updatePoint)}}function AL(e,t){return t?{point:t(e.point)}:e}function NC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function zL({point:e},t){return{point:e,delta:NC(e,D$(t)),offset:NC(e,xle(t)),velocity:Lle(t,.1)}}function xle(e){return e[0]}function D$(e){return e[e.length-1]}function Lle(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const i=D$(e);for(;n>=0&&(o=e[n],!(i.timestamp-o.timestamp>Xe(t)));)n--;if(!o)return{x:0,y:0};const r=Oe(i.timestamp-o.timestamp);if(r===0)return{x:0,y:0};const s={x:(i.x-o.x)/r,y:(i.y-o.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Ile(e,{min:t,max:n},o){return t!==void 0&&e<t?e=o?ie(t,e,o.min):Math.max(e,t):n!==void 0&&e>n&&(e=o?ie(n,e,o.max):Math.min(e,n)),e}function SC(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 wle(e,{top:t,left:n,bottom:o,right:i}){return{x:SC(e.x,n,i),y:SC(e.y,t,o)}}function jC(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}function ble(e,t){return{x:jC(e.x,t.x),y:jC(e.y,t.y)}}function Cle(e,t){let n=.5;const o=Se(e),i=Se(t);return i>o?n=M1(t.min,t.max-o,e.min):o>i&&(n=M1(e.min,e.max-i,t.min)),ut(0,1,n)}function Nle(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 Gw=.35;function Sle(e=Gw){return e===!1?e=0:e===!0&&(e=Gw),{x:$C(e,"left","right"),y:$C(e,"top","bottom")}}function $C(e,t,n){return{min:qC(e,t),max:qC(e,n)}}function qC(e,t){return typeof e=="number"?e:e[t]||0}const jle=new WeakMap;class $le{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=he(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:o}={}){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($1(p).point)},s=(p,y)=>{const{drag:f,dragPropagation:g,onDragStart:m}=this.getProps();if(f&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Vde(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),Fe(M=>{let v=this.getAxisMotionValue(M).get()||0;if(ct.test(v)){const{projection:x}=this.visualElement;if(x&&x.layout){const C=x.layout.layoutBox[M];C&&(v=Se(C)*(parseFloat(v)/100))}}this.originPoint[M]=v}),m&&ce.postRender(()=>m(p,y)),Uw(this.visualElement,"transform");const{animationState:_}=this.visualElement;_&&_.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:f,dragDirectionLock:g,onDirectionLock:m,onDrag:_}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:M}=y;if(g&&this.currentDirection===null){this.currentDirection=qle(M),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",y.point,M),this.updateAxis("y",y.point,M),this.visualElement.render(),_&&_(p,y)},l=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>Fe(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new H$(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:o,contextWindow:T$(this.visualElement)})}stop(t,n){const o=t||this.latestPointerEvent,i=n||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!o)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:d}=this.getProps();d&&ce.postRender(()=>d(o,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:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,o){const{drag:i}=this.getProps();if(!o||!H1(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(s=Ile(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&qc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=wle(o.layoutBox,t):this.constraints=!1,this.elastic=Sle(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Fe(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Nle(o.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!qc(t))return!1;const o=t.current;Ye(o!==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=A0e(o,i.root,this.visualElement.getTransformPagePoint());let s=ble(i.layout.layoutBox,r);if(n){const d=n(j0e(s));this.hasMutatedConstraints=!!d,d&&(s=x$(d))}return s}startAnimation(t){const{drag:n,dragMomentum:o,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),l=this.constraints||{},h=Fe(u=>{if(!H1(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:o?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 o=this.getAxisMotionValue(t);return Uw(this.visualElement,t),o.start(Sb(t,o,0,n,this.visualElement,!1))}stopAnimation(){Fe(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Fe(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,o=this.visualElement.getProps(),i=o[n];return i||this.visualElement.getValue(t,(o.initial?o.initial[t]:void 0)||0)}snapToCursor(t){Fe(n=>{const{drag:o}=this.getProps();if(!H1(n,o,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]-ie(s,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!qc(n)||!o||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Fe(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const l=d.get();i[s]=Cle({min:l,max:l},this.constraints[s])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Fe(s=>{if(!H1(s,t,null))return;const d=this.getAxisMotionValue(s),{min:l,max:h}=this.constraints[s];d.set(ie(l,h,i[s]))})}addListeners(){if(!this.visualElement.current)return;jle.set(this.visualElement,this);const t=this.visualElement.current,n=f1(t,"pointerdown",l=>{const{drag:h,dragListener:u=!0}=this.getProps();h&&u&&this.start(l)}),o=()=>{const{dragConstraints:l}=this.getProps();qc(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",o);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ce.read(o);const s=w1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:h})=>{this.isDragging&&h&&(Fe(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:o=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=Gw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function H1(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function qle(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Ale extends St{constructor(t){super(t),this.removeGroupControls=Ue,this.removeListeners=Ue,this.controls=new $le(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ue}unmount(){this.removeGroupControls(),this.removeListeners()}}const AC=e=>(t,n)=>{e&&ce.postRender(()=>e(t,n))};class zle extends St{constructor(){super(...arguments),this.removePointerDownListener=Ue}onPointerDown(t){this.session=new H$(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:T$(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:o,onPanEnd:i}=this.node.getProps();return{onSessionStart:AC(t),onStart:AC(n),onMove:o,onEnd:(r,s)=>{delete this.session,i&&ce.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=f1(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 Rx={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function zC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Kc={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(E.test(e))e=parseFloat(e);else return e;const n=zC(e,t.target.x),o=zC(e,t.target.y);return`${n}% ${o}%`}},Vle={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,i=Ct.parse(e);if(i.length>5)return o;const r=Ct.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=ie(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 VL=!1;class Ple extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o,layoutId:i}=this.props,{projection:r}=t;o0e(Tle),r&&(n.group&&n.group.add(r),o&&o.register&&i&&o.register(r),VL&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Rx.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:o,drag:i,isPresent:r}=this.props,{projection:s}=o;return s&&(s.isPresent=r,VL=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||ce.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),vb.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o}=this.props,{projection:i}=t;VL=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),o&&o.deregister&&o.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function B$(e){const[t,n]=s$(),o=k.useContext(Yw);return c.jsx(Ple,{...e,layoutGroup:o,switchLayoutGroup:k.useContext(M$),isPresent:t,safeToRemove:n})}const Tle={borderRadius:{...Kc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Kc,borderTopRightRadius:Kc,borderBottomLeftRadius:Kc,borderBottomRightRadius:Kc,boxShadow:Vle};function Hle(e,t,n){const o=Me(e)?e:Lc(e);return o.start(Sb("",o,t,n)),o.animation}const Dle=(e,t)=>e.depth-t.depth;class Ble{constructor(){this.children=[],this.isDirty=!1}add(t){eb(this.children,t),this.isDirty=!0}remove(t){tb(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Dle),this.isDirty=!1,this.children.forEach(t)}}function Rle(e,t){const n=ze.now(),o=({timestamp:i})=>{const r=i-n;r>=t&&(yt(o),e(r-t))};return ce.setup(o,!0),()=>yt(o)}const R$=["TopLeft","TopRight","BottomLeft","BottomRight"],Fle=R$.length,VC=e=>typeof e=="string"?parseFloat(e):e,PC=e=>typeof e=="number"||E.test(e);function Ele(e,t,n,o,i,r){i?(e.opacity=ie(0,n.opacity??1,Ole(o)),e.opacityExit=ie(t.opacity??1,0,Ule(o))):r&&(e.opacity=ie(t.opacity??1,n.opacity??1,o));for(let s=0;s<Fle;s++){const d=`border${R$[s]}Radius`;let l=TC(t,d),h=TC(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||PC(l)===PC(h)?(e[d]=Math.max(ie(VC(l),VC(h),o),0),(ct.test(h)||ct.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=ie(t.rotate||0,n.rotate||0,o))}function TC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Ole=F$(0,.5,Cj),Ule=F$(.5,.95,Ue);function F$(e,t,n){return o=>o<e?0:o>t?1:n(M1(e,t,o))}function HC(e,t){e.min=t.min,e.max=t.max}function De(e,t){HC(e.x,t.x),HC(e.y,t.y)}function DC(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function BC(e,t,n,o,i){return e-=t,e=Yx(e,1/n,o),i!==void 0&&(e=Yx(e,1/i,o)),e}function Wle(e,t=0,n=1,o=.5,i,r=e,s=e){if(ct.test(t)&&(t=parseFloat(t),t=ie(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=ie(r.min,r.max,o);e===r&&(d-=t),e.min=BC(e.min,t,n,d,i),e.max=BC(e.max,t,n,d,i)}function RC(e,t,[n,o,i],r,s){Wle(e,t[n],t[o],t[i],t.scale,r,s)}const Gle=["x","scaleX","originX"],Zle=["y","scaleY","originY"];function FC(e,t,n,o){RC(e.x,t,Gle,n?n.x:void 0,o?o.x:void 0),RC(e.y,t,Zle,n?n.y:void 0,o?o.y:void 0)}function EC(e){return e.translate===0&&e.scale===1}function E$(e){return EC(e.x)&&EC(e.y)}function OC(e,t){return e.min===t.min&&e.max===t.max}function Kle(e,t){return OC(e.x,t.x)&&OC(e.y,t.y)}function UC(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function O$(e,t){return UC(e.x,t.x)&&UC(e.y,t.y)}function WC(e){return Se(e.x)/Se(e.y)}function GC(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Xle{constructor(){this.members=[]}add(t){eb(this.members,t),t.scheduleRender()}remove(t){if(tb(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 o;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){o=r;break}}return o?(this.promote(o),!0):!1}promote(t,n){const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,n&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:o}=t;n.onExitComplete&&n.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Yle(e,t,n){let o="";const i=e.x.translate/t.x,r=e.y.translate/t.y,s=n?.z||0;if((i||r||s)&&(o=`translate3d(${i}px, ${r}px, ${s}px) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:h,rotate:u,rotateX:p,rotateY:y,skewX:f,skewY:g}=n;h&&(o=`perspective(${h}px) ${o}`),u&&(o+=`rotate(${u}deg) `),p&&(o+=`rotateX(${p}deg) `),y&&(o+=`rotateY(${y}deg) `),f&&(o+=`skewX(${f}deg) `),g&&(o+=`skewY(${g}deg) `)}const d=e.x.scale*t.x,l=e.y.scale*t.y;return(d!==1||l!==1)&&(o+=`scale(${d}, ${l})`),o||"none"}const PL=["","X","Y","Z"],Jle=1e3;let Qle=0;function TL(e,t,n,o){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),o&&(o[e]=0))}function U$(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=j$(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ce,!(i||r))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&U$(o)}function W$({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=Qle++,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(ahe),this.nodes.forEach(ihe),this.nodes.forEach(rhe),this.nodes.forEach(nhe)},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 Ble)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new nb),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=r$(s)&&!Rde(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;ce.read(()=>{p=window.innerWidth}),e(s,()=>{const f=window.innerWidth;f!==p&&(p=f,this.root.updateBlockedByResize=!0,u&&u(),u=Rle(y,250),Rx.hasAnimatedSinceResize&&(Rx.hasAnimatedSinceResize=!1,this.nodes.forEach(XC)))})}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()||uhe,{onLayoutAnimationStart:m,onLayoutAnimationComplete:_}=h.getProps(),M=!this.targetLayout||!O$(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 x={...fb(g,"layout"),onPlay:m,onComplete:_};(h.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x),this.setAnimationOrigin(u,v)}else p||XC(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(),yt(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(she),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&&U$(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(ZC);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(KC);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(che),this.nodes.forEach(ehe),this.nodes.forEach(the)):this.nodes.forEach(KC),this.clearAllSnapshots();const d=ze.now();ve.delta=ut(0,1e3/60,d-ve.timestamp),ve.timestamp=d,ve.isProcessing=!0,wL.update.process(ve),wL.preRender.process(ve),wL.render.process(ve),ve.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,vb.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ohe),this.sharedNodes.forEach(dhe)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ce.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ce.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Se(this.snapshot.measuredBox.x)&&!Se(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=he(),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=o(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&&!E$(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||mc(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)),phe(l),{animationId:this.root.animationId,measuredBox:d,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return he();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(yhe))){const{scroll:h}=this.root;h&&(Ac(d.x,h.offset.x),Ac(d.y,h.offset.y))}return d}removeElementScroll(s){const d=he();if(De(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&&De(d,s),Ac(d.x,u.offset.x),Ac(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const l=he();De(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&&zc(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),mc(u.latestValues)&&zc(l,u.latestValues)}return mc(this.latestValues)&&zc(l,this.latestValues),l}removeTransform(s){const d=he();De(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!mc(h.latestValues))continue;Rw(h.latestValues)&&h.updateSnapshot();const u=he(),p=h.measurePageBox();De(u,p),FC(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return mc(this.latestValues)&&FC(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!==ve.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=ve.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=he(),this.relativeTargetOrigin=he(),v1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),De(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=he(),this.targetWithTransforms=he()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Mle(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):De(this.target,this.layout.layoutBox),I$(this.target,this.targetDelta)):De(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=he(),this.relativeTargetOrigin=he(),v1(this.relativeTargetOrigin,this.target,y.target),De(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Rw(this.parent.latestValues)||L$(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===ve.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;De(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;q0e(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=he());const{target:f}=s;if(!f){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(DC(this.prevProjectionDelta.x,this.projectionDelta.x),DC(this.prevProjectionDelta.y,this.projectionDelta.y)),g1(this.projectionDelta,this.layoutCorrected,f,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!GC(this.projectionDelta.x,this.prevProjectionDelta.x)||!GC(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=Vc(),this.projectionDelta=Vc(),this.projectionDeltaWithTransform=Vc()}setAnimationOrigin(s,d=!1){const l=this.snapshot,h=l?l.latestValues:{},u={...this.latestValues},p=Vc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=he(),f=l?l.source:void 0,g=this.layout?this.layout.source:void 0,m=f!==g,_=this.getStack(),M=!_||_.members.length<=1,v=!!(m&&!M&&this.options.crossfade===!0&&!this.path.some(hhe));this.animationProgress=0;let x;this.mixTargetDelta=C=>{const w=C/1e3;YC(p.x,s.x,w),YC(p.y,s.y,w),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(v1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),lhe(this.relativeTarget,this.relativeTargetOrigin,y,w),x&&Kle(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=he()),De(x,this.relativeTarget)),m&&(this.animationValues=u,Ele(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&&(yt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ce.update(()=>{Rx.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Lc(0)),this.currentAnimation=Hle(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(Jle),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&&G$(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||he();const p=Se(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+p;const y=Se(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+y}De(d,l),zc(d,u),g1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Xle),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&&TL("z",s,h,this.animationValues);for(let u=0;u<PL.length;u++)TL(`rotate${PL[u]}`,s,h,this.animationValues),TL(`skew${PL[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=Bx(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=Bx(d?.pointerEvents)||""),this.hasProjected&&!mc(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=Yle(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 I1){if(u[g]===void 0)continue;const{correct:m,applyTo:_,isCSSVariable:M}=I1[g],v=p==="none"?u[g]:m(u[g],h);if(_){const x=_.length;for(let C=0;C<x;C++)s[_[C]]=v}else M?this.options.visualElement.renderState.vars[g]=v:s[g]=v}this.options.layoutId&&(s.pointerEvents=h===this?Bx(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(ZC),this.root.sharedNodes.clear()}}}function ehe(e){e.updateLayout()}function the(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:i}=e.options,r=t.source!==e.layout.source;i==="size"?Fe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Se(p);p.min=n[u].min,p.max=p.min+y}):G$(i,t.layoutBox,n)&&Fe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Se(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=Vc();g1(s,n,t.layoutBox);const d=Vc();r?g1(d,e.applyTransform(o,!0),t.measuredBox):g1(d,n,t.layoutBox);const l=!E$(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=he();v1(f,t.layoutBox,p.layoutBox);const g=he();v1(g,n,y.layoutBox),O$(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 ahe(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 nhe(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ohe(e){e.clearSnapshot()}function ZC(e){e.clearMeasurements()}function KC(e){e.isLayoutDirty=!1}function che(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function XC(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ihe(e){e.resolveTargetDelta()}function rhe(e){e.calcProjection()}function she(e){e.resetSkewAndRotation()}function dhe(e){e.removeLeadSnapshot()}function YC(e,t,n){e.translate=ie(t.translate,0,n),e.scale=ie(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function JC(e,t,n,o){e.min=ie(t.min,n.min,o),e.max=ie(t.max,n.max,o)}function lhe(e,t,n,o){JC(e.x,t.x,n.x,o),JC(e.y,t.y,n.y,o)}function hhe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const uhe={duration:.45,ease:[.4,0,.1,1]},QC=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),eN=QC("applewebkit/")&&!QC("chrome/")?Math.round:Ue;function tN(e){e.min=eN(e.min),e.max=eN(e.max)}function phe(e){tN(e.x),tN(e.y)}function G$(e,t,n){return e==="position"||e==="preserve-aspect"&&!vle(WC(t),WC(n),.2)}function yhe(e){return e!==e.root&&e.scroll?.wasRoot}const khe=W$({attachResizeListener:(e,t)=>w1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),HL={current:void 0},Z$=W$({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!HL.current){const e=new khe({});e.mount(window),e.setOptions({layoutScroll:!0}),HL.current=e}return HL.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),mhe={pan:{Feature:zle},drag:{Feature:Ale,ProjectionNode:Z$,MeasureLayout:B$}};function aN(e,t,n){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=o[i];r&&ce.postRender(()=>r(t,$1(t)))}class fhe extends St{mount(){const{current:t}=this.node;t&&(this.unmount=Pde(t,(n,o)=>(aN(this.node,o,"Start"),i=>aN(this.node,i,"End"))))}unmount(){}}class ghe extends St{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=N1(w1(this.node.current,"focus",()=>this.onFocus()),w1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function nN(e,t,n){const{props:o}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=o[i];r&&ce.postRender(()=>r(t,$1(t)))}class vhe extends St{mount(){const{current:t}=this.node;t&&(this.unmount=Bde(t,(n,o)=>(nN(this.node,o,"Start"),(i,{success:r})=>nN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Zw=new WeakMap,DL=new WeakMap,Mhe=e=>{const t=Zw.get(e.target);t&&t(e)},_he=e=>{e.forEach(Mhe)};function xhe({root:e,...t}){const n=e||document;DL.has(n)||DL.set(n,{});const o=DL.get(n),i=JSON.stringify(t);return o[i]||(o[i]=new IntersectionObserver(_he,{root:e,...t})),o[i]}function Lhe(e,t,n){const o=xhe(t);return Zw.set(e,n),o.observe(e),()=>{Zw.delete(e),o.unobserve(e)}}const Ihe={some:0,all:1};class whe extends St{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:o,amount:i="some",once:r}=t,s={root:n?n.current:void 0,rootMargin:o,threshold:typeof i=="number"?i:Ihe[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 Lhe(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(bhe(t,n))&&this.startObserver()}unmount(){}}function bhe({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Che={inView:{Feature:whe},tap:{Feature:vhe},focus:{Feature:ghe},hover:{Feature:fhe}},Nhe={layout:{ProjectionNode:Z$,MeasureLayout:B$}},She={...ple,...Che,...mhe,...Nhe},jb=S0e(She,F0e);function K$(e){const t=Nt(()=>Lc(e)),{isStatic:n}=k.useContext(nL);if(n){const[,o]=k.useState(e);k.useEffect(()=>t.on("change",o),[])}return t}function X$(e,t){const n=K$(t()),o=()=>n.set(t());return o(),Qw(()=>{const i=()=>ce.preRender(o,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),yt(o)}}),n}function jhe(e){m1.current=[],e();const t=X$(m1.current,e);return m1.current=void 0,t}function $he(e,t,n,o){if(typeof e=="function")return jhe(e);const i=typeof t=="function"?t:Fde(t,n,o);return Array.isArray(e)?oN(e,i):oN([e],([r])=>i(r))}function oN(e,t){const n=Nt(()=>[]);return X$(e,()=>{n.length=0;const o=e.length;for(let i=0;i<o;i++)n[i]=e[i].get();return t(n)})}class qhe{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(o=>{o.start(t.nativeEvent||t,n)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const Ahe=()=>new qhe;function zhe(){return Nt(Ahe)}const Y$=k.createContext(null);function Vhe(e,t,n,o){if(!o)return e;const i=e.findIndex(u=>u.value===t);if(i===-1)return e;const r=o>0?1:-1,s=e[i+r];if(!s)return e;const d=e[i],l=s.layout,h=ie(l.min,l.max,.5);return r===1&&d.layout.max+n>h||r===-1&&d.layout.min+n<h?Zse(e,i,i+r):e}function Phe({children:e,as:t="ul",axis:n="y",onReorder:o,values:i,...r},s){const d=Nt(()=>jb[t]),l=[],h=k.useRef(!1);Ye(!!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(Dhe)},updateOrder:(p,y,f)=>{if(h.current)return;const g=Vhe(l,p,y,f);l!==g&&(h.current=!0,o(g.map(Hhe).filter(m=>i.indexOf(m)!==-1)))}};return k.useEffect(()=>{h.current=!1}),c.jsx(d,{...r,ref:s,ignoreStrict:!0,children:c.jsx(Y$.Provider,{value:u,children:e})})}const The=k.forwardRef(Phe);function Hhe(e){return e.value}function Dhe(e,t){return e.layout.min-t.layout.min}function cN(e,t=0){return Me(e)?e:K$(t)}function Bhe({children:e,style:t={},value:n,as:o="li",onDrag:i,layout:r=!0,...s},d){const l=Nt(()=>jb[o]),h=k.useContext(Y$),u={x:cN(t.x),y:cN(t.y)},p=$he([u.x,u.y],([m,_])=>m||_?1:"unset");Ye(!!h,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:f,updateOrder:g}=h;return c.jsx(l,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(m,_)=>{const{velocity:M}=_;M[y]&&g(n,u[y].get(),M[y]),i&&i(m,_)},onLayoutMeasure:m=>f(n,m),ref:d,ignoreStrict:!0,children:e})}const Rhe=k.forwardRef(Bhe),Jx=[c.jsx(y1,{size:18}),c.jsx(Mt,{size:18}),c.jsx(h1,{size:18}),c.jsx(_t,{size:18}),c.jsx(n1,{size:18}),c.jsx(a1,{size:18})],Fhe=({items:e,onReorder:t,draggable:n=!1,className:o,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=Jx[u%Jx.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],_=g[2]??"",M=m.padStart(3,"0");h.text=`${y} / ${M}${_}`}}}),l(e)):l([])},[e]),c.jsxs("div",{className:`trend-list ${o??""}`,draggable:n,style:{position:"relative"},children:[c.jsx("div",{className:"trend-header",style:r,children:i??"Trend"}),c.jsx("div",{className:"trend-list-body",style:{opacity:n?0:1},children:c.jsx(The,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>c.jsx(Ehe,{value:h,index:u,itemsDraggable:s},String(h.id)))})}),n&&c.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:c.jsx(a.Move,{size:48,strokeWidth:1.5,style:{opacity:.8}})})]})};function Ehe({value:e,index:t}){const n=zhe(),o=Jx[t%Jx.length]??null;return c.jsx(Rhe,{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:c.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[c.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:c.jsx("svg",{width:"25",height:"25",viewBox:"0 0 24 24","aria-hidden":!0,children:c.jsxs("g",{fill:"currentColor",children:[c.jsx("circle",{cx:"8",cy:"6",r:"2"}),c.jsx("circle",{cx:"16",cy:"6",r:"2"}),c.jsx("circle",{cx:"8",cy:"12",r:"2"}),c.jsx("circle",{cx:"16",cy:"12",r:"2"}),c.jsx("circle",{cx:"8",cy:"18",r:"2"}),c.jsx("circle",{cx:"16",cy:"18",r:"2"})]})})}),c.jsx("div",{style:{flex:1},children:c.jsx(mj,{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??o})})]})})}function Ohe(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 Uhe(e){return!e||typeof e=="string"&&e.trim()===""}function Whe(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function Ghe(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function Zhe(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 Khe(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 Xhe(e,t){if(t.validation?.acceptedTypes){const n=t.validation.acceptedTypes.split(","),o=e.type;if(!n.some(i=>o.match(i.replace("*",".*"))))return{isValid:!1,error:`Type de fichier non supporté: ${o}`}}return t.validation?.maxFileSize&&e.size>t.validation.maxFileSize?{isValid:!1,error:`Fichier trop volumineux (max ${t.validation.maxFileSize/1048576}MB)`}:null}function Yhe(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 Qx(e,t){const n=Ohe(e,t);if(n)return n;if(Uhe(e))return{isValid:!0};const o=e.toString();switch(t.type){case"email":{const r=Whe(o);if(r)return r;break}case"url":{const r=Ghe(o);if(r)return r;break}case"number":{const r=Zhe(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=Khe(e,t);if(r)return r;break}case"file":{const r=Xhe(e,t);if(r)return r;break}}const i=Yhe(o,t);return i||{isValid:!0}}function J$(e,t){const n={};let o=!0;for(const i of t){const r=Qx(e[i.name],i);r.isValid||(n[i.name]=r.error,o=!1)}return{isValid:o,errors:n}}const Jhe="_formContainer_14ads_1",Qhe="_headerLine_14ads_17",eue="_formTitle_14ads_25",tue="_formDescription_14ads_30",aue="_sectionTitle_14ads_37",nue="_sectionHelp_14ads_44",oue="_fieldHelp_14ads_50",cue="_gridContainer_14ads_58",iue="_fieldGridItem_14ads_70",rue="_sectionFull_14ads_105",sue="_formFooter_14ads_110",due="_footerLeft_14ads_118",lue="_footerRight_14ads_119",hue="_cancelLink_14ads_125",uue="_submitButton_14ads_136",pue="_fieldLabel_14ads_148",yue="_inputWrapper_14ads_163",kue="_inputInner_14ads_187",mue="_hasPrefix_14ads_196",fue="_inputBase_14ads_196",gue="_iconPrefix_14ads_292",vue="_iconSuffix_14ads_293",Mue="_passwordToggle_14ads_319",_ue="_fieldError_14ads_365",xue="_fieldInvalid_14ads_372",oe={formContainer:Jhe,headerLine:Qhe,formTitle:eue,formDescription:tue,sectionTitle:aue,sectionHelp:nue,fieldHelp:oue,gridContainer:cue,fieldGridItem:iue,sectionFull:rue,formFooter:sue,footerLeft:due,footerRight:lue,cancelLink:hue,submitButton:uue,fieldLabel:pue,inputWrapper:yue,inputInner:kue,hasPrefix:mue,inputBase:fue,iconPrefix:gue,iconSuffix:vue,passwordToggle:Mue,fieldError:_ue,fieldInvalid:xue},Q$=({field:e,value:t,onChange:n,onBlur:o,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?ht[e.attributes.icon]:null),y=e.attributes?.iconPosition??"suffix",f=g=>{n(g.target.value)};return c.jsxs("div",{className:oe.inputWrapper,children:[c.jsx("label",{className:`${oe.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),c.jsxs("div",{className:`${oe.inputInner} ${p&&y==="prefix"?oe.hasPrefix:""}`,children:[p&&y==="prefix"&&c.jsx("span",{className:oe.iconPrefix,children:c.jsx(p,{size:16})}),c.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${oe.inputBase} ${i?oe.fieldInvalid:""}`,value:t??"",onChange:f,onBlur:o,disabled:!!e.disabled,"aria-invalid":!!i,"aria-describedby":e.help?`${e.name}-help`:void 0}),l&&h&&c.jsx("button",{type:"button","aria-label":s?"Masquer le mot de passe":"Afficher le mot de passe",className:oe.passwordToggle,onClick:()=>d(g=>!g),children:s?c.jsx(r1,{size:16}):c.jsx(s1,{size:16})}),p&&y==="suffix"&&!l&&c.jsx("span",{className:oe.iconSuffix,children:c.jsx(p,{size:16})})]}),r&&i&&c.jsx("span",{className:oe.fieldError,children:i})]})},Lue="_fieldGroup_yb3zi_7",Iue="_fieldLabel_yb3zi_11",wue="_required_yb3zi_17",bue="_fieldInput_yb3zi_22",Cue="_fieldInvalid_yb3zi_40",Nue="_fieldValid_yb3zi_44",Sue="_fieldError_yb3zi_48",jue="_radioGroup_yb3zi_57",Lt={fieldGroup:Lue,fieldLabel:Iue,required:wue,fieldInput:bue,fieldInvalid:Cue,fieldValid:Nue,fieldError:Sue,radioGroup:jue},rL=({field:e,children:t,error:n,touched:o})=>{const i=o&&n;return c.jsxs("div",{className:Lt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&c.jsx("label",{className:`${Lt.fieldLabel} ${e.required?Lt.required:""}`,children:e.label}),t,i&&c.jsx("span",{className:Lt.fieldError,children:n})]})},eq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,l=["form-control",Lt.fieldInput,s?Lt.fieldInvalid:"",d?Lt.fieldValid:""].filter(Boolean).join(" ");return c.jsx(rL,{field:e,error:i,touched:r,children:c.jsx("textarea",{className:l,placeholder:e.placeholder,value:t||"",onChange:h=>n(h.target.value),onBlur:o,rows:4})})},$ue="_wrapper_117u4_1",que="_wrapperInvalid_117u4_15",Aue="_nativeSelect_117u4_19",zue="_display_117u4_30",Vue="_topLabel_117u4_37",Pue="_valueLine_117u4_45",Tue="_valuePlaceholder_117u4_53",Hue="_valueActive_117u4_57",Due="_caret_117u4_61",Bue="_error_117u4_75",Rue="_optionStyle_117u4_89",Be={wrapper:$ue,wrapperInvalid:que,nativeSelect:Aue,display:zue,topLabel:Vue,valueLine:Pue,valuePlaceholder:Tue,valueActive:Hue,caret:Due,error:Bue,optionStyle:Rue},$b=({field:e,value:t,onChange:n,onBlur:o,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 c.jsxs("div",{className:`${Be.wrapper} ${s?Be.wrapperInvalid:""} ${t?Be.wrapperHasValue:""}`,children:[c.jsxs("select",{id:e.name,name:e.name,className:Be.nativeSelect,value:t??"",onChange:u=>n(u.target.value),onBlur:o,"aria-invalid":s,"aria-label":d,children:[c.jsx("option",{value:"",disabled:!0,hidden:!0,children:l||`Sélectionnez ${d?.toLowerCase()||""}`}),e.options?.map((u,p)=>c.jsx("option",{value:u.value,className:Be.optionStyle,children:u.label},p))]}),c.jsxs("div",{className:Be.display,children:[d&&c.jsx("span",{className:Be.topLabel,children:d}),c.jsx("span",{className:`${Be.valueLine} ${t?Be.valueActive:Be.valuePlaceholder}`,children:t?h:l}),c.jsx("span",{className:Be.caret,"aria-hidden":"true"})]}),s&&c.jsx("span",{className:Be.error,children:i})]})},tq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(rL,{field:e,error:i,touched:r,children:c.jsxs("div",{className:"form-check",children:[c.jsx("input",{type:"checkbox",className:"form-check-input",id:e.name,checked:!!t,onChange:s=>n(s.target.checked),onBlur:o}),c.jsx("label",{className:"form-check-label",htmlFor:e.name,children:e.label})]})}),aq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(rL,{field:e,error:i,touched:r,children:c.jsx("div",{className:Lt.radioGroup,children:e.options?.map(s=>c.jsxs("div",{className:"form-check",children:[c.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:o}),c.jsx("label",{className:"form-check-label",htmlFor:`${e.name}-${s.value}`,children:s.label})]},s.value))})}),Fue="_fileInputContainer_r2guc_3",Eue="_customFileInput_r2guc_8",Oue="_fileInputLabel_r2guc_12",Uue="_dragOver_r2guc_39",Wue="_uploadIcon_r2guc_44",Gue="_uploadText_r2guc_50",Zue="_uploadHint_r2guc_56",Kue="_fileList_r2guc_60",Xue="_fileListTitle_r2guc_69",Yue="_fileItem_r2guc_80",Jue="_fileIcon_r2guc_96",Que="_fileName_r2guc_102",epe="_fileSize_r2guc_108",tpe="_removeButton_r2guc_114",ape="_errorText_r2guc_129",xe={fileInputContainer:Fue,customFileInput:Eue,fileInputLabel:Oue,dragOver:Uue,uploadIcon:Wue,uploadText:Gue,uploadHint:Zue,fileList:Kue,fileListTitle:Xue,fileItem:Yue,fileIcon:Jue,fileName:Que,fileSize:epe,removeButton:tpe,errorText:ape},nq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=k.useRef(null),[d,l]=k.useState(!1),h=_=>{n(_.target.files)},u=()=>{s.current&&s.current.click()},p=_=>{_.preventDefault(),l(!0)},y=()=>{l(!1)},f=_=>{_.preventDefault(),l(!1),_.dataTransfer.files&&_.dataTransfer.files.length>0&&n(_.dataTransfer.files)},g=_=>{if(!t)return;const M=Array.from(t);M.splice(_,1);const v=new DataTransfer;M.forEach(x=>v.items.add(x)),n(v.files)},m=_=>{if(_===0)return"0 Bytes";const M=1024,v=["Bytes","KB","MB","GB"],x=Math.floor(Math.log(_)/Math.log(M));return parseFloat((_/Math.pow(M,x)).toFixed(2))+" "+v[x]};return c.jsxs("div",{className:`${xe.fileInputContainer} ${r&&i?xe.hasError:""}`,children:[c.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&c.jsx("span",{className:"text-danger",children:" *"})]}),c.jsx("input",{type:"file",id:e.name,name:e.name,multiple:e.attributes?.multiple||!1,accept:e.attributes?.accept,onChange:h,onBlur:o,ref:s,className:xe.customFileInput}),c.jsxs("label",{htmlFor:e.name,className:`${xe.fileInputLabel} ${d?xe.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:f,onClick:u,tabIndex:0,children:[c.jsx("div",{className:xe.uploadIcon,children:c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor",viewBox:"0 0 16 16",children:[c.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"}),c.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"})]})}),c.jsx("div",{className:xe.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),c.jsxs("div",{className:xe.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&c.jsxs("div",{className:xe.fileList,children:[c.jsx("div",{className:xe.fileListTitle,children:"Fichiers sélectionnés:"}),c.jsx("ul",{children:Array.from(t).map((_,M)=>c.jsxs("li",{className:xe.fileItem,children:[c.jsx("div",{className:xe.fileIcon,children:c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:c.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"})})}),c.jsx("div",{className:xe.fileName,children:_.name}),c.jsx("div",{className:xe.fileSize,children:m(_.size)}),c.jsx("button",{type:"button",className:xe.removeButton,onClick:v=>{v.stopPropagation(),g(M)},"aria-label":`Supprimer ${_.name}`,children:c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:[c.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"}),c.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&&c.jsx("div",{className:xe.errorText,children:i})]})},npe="_container_ecah4_2",ope="_label_ecah4_6",cpe="_requiredIndicator_ecah4_13",ipe="_input_ecah4_18",rpe="_inputError_ecah4_49",spe="_errorMessage_ecah4_58",Nc={container:npe,label:ope,requiredIndicator:cpe,input:ipe,inputError:rpe,errorMessage:spe},oq=({field:e,value:t,onChange:n,onBlur:o,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 c.jsxs("div",{className:Nc.container,children:[c.jsxs("label",{htmlFor:e.name,className:Nc.label,style:{color:s},children:[e.label,e.required&&c.jsx("span",{className:Nc.requiredIndicator,children:"*"})]}),c.jsx("input",{type:l,id:e.name,name:e.name,value:t||"",onChange:h=>n(h.target.value),onBlur:o,className:`${Nc.input} ${r&&i?Nc.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&&c.jsx("div",{className:Nc.errorMessage,children:i})]})},dpe="_rangeContainer_cyqk3_3",lpe={rangeContainer:dpe},cq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsxs("div",{className:`mb-3 ${lpe.rangeContainer}`,children:[c.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,": ",t,e.required&&c.jsx("span",{className:"text-danger",children:" *"})]}),c.jsx("input",{type:"range",id:e.name,name:e.name,value:t||0,onChange:s=>n(s.target.value),onBlur:o,className:`form-range ${r&&i?"is-invalid":""}`,min:e.validation?.min||0,max:e.validation?.max||100,step:e.attributes?.step||1}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),hpe="_colorPickerContainer_1wxgj_2",upe="_colorInput_1wxgj_19",ppe="_colorValue_1wxgj_39",BL={colorPickerContainer:hpe,colorInput:upe,colorValue:ppe},iq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsxs("div",{className:"mb-3",children:[c.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&c.jsx("span",{className:"text-danger",children:" *"})]}),c.jsxs("div",{className:BL.colorPickerContainer,children:[c.jsx("input",{type:"color",id:e.name,name:e.name,value:t||"#000000",onChange:s=>n(s.target.value),onBlur:o,className:BL.colorInput}),c.jsx("span",{className:BL.colorValue,children:t})]}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),rq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=["date","month","week","time","datetime-local"];if(e.type==="file")return c.jsx(nq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(s.includes(e.type))return c.jsx(oq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="range")return c.jsx(cq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="color")return c.jsx(iq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});switch(e.type){case"textarea":return c.jsx(eq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"select":return c.jsx($b,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"checkbox":return c.jsx(tq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"radio":return c.jsx(aq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});default:return c.jsx(Q$,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})}};var RL,iN;function ype(){if(iN)return RL;iN=1;function e(){this.__data__=[],this.size=0}return RL=e,RL}var FL,rN;function sq(){if(rN)return FL;rN=1;function e(t,n){return t===n||t!==t&&n!==n}return FL=e,FL}var EL,sN;function sL(){if(sN)return EL;sN=1;var e=sq();function t(n,o){for(var i=n.length;i--;)if(e(n[i][0],o))return i;return-1}return EL=t,EL}var OL,dN;function kpe(){if(dN)return OL;dN=1;var e=sL(),t=Array.prototype,n=t.splice;function o(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 OL=o,OL}var UL,lN;function mpe(){if(lN)return UL;lN=1;var e=sL();function t(n){var o=this.__data__,i=e(o,n);return i<0?void 0:o[i][1]}return UL=t,UL}var WL,hN;function fpe(){if(hN)return WL;hN=1;var e=sL();function t(n){return e(this.__data__,n)>-1}return WL=t,WL}var GL,uN;function gpe(){if(uN)return GL;uN=1;var e=sL();function t(n,o){var i=this.__data__,r=e(i,n);return r<0?(++this.size,i.push([n,o])):i[r][1]=o,this}return GL=t,GL}var ZL,pN;function dL(){if(pN)return ZL;pN=1;var e=ype(),t=kpe(),n=mpe(),o=fpe(),i=gpe();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=o,r.prototype.set=i,ZL=r,ZL}var KL,yN;function vpe(){if(yN)return KL;yN=1;var e=dL();function t(){this.__data__=new e,this.size=0}return KL=t,KL}var XL,kN;function Mpe(){if(kN)return XL;kN=1;function e(t){var n=this.__data__,o=n.delete(t);return this.size=n.size,o}return XL=e,XL}var YL,mN;function _pe(){if(mN)return YL;mN=1;function e(t){return this.__data__.get(t)}return YL=e,YL}var JL,fN;function xpe(){if(fN)return JL;fN=1;function e(t){return this.__data__.has(t)}return JL=e,JL}var QL,gN;function dq(){if(gN)return QL;gN=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return QL=e,QL}var eI,vN;function kt(){if(vN)return eI;vN=1;var e=dq(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return eI=n,eI}var tI,MN;function qb(){if(MN)return tI;MN=1;var e=kt(),t=e.Symbol;return tI=t,tI}var aI,_N;function Lpe(){if(_N)return aI;_N=1;var e=qb(),t=Object.prototype,n=t.hasOwnProperty,o=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=o.call(s);return h&&(d?s[i]=l:delete s[i]),u}return aI=r,aI}var nI,xN;function Ipe(){if(xN)return nI;xN=1;var e=Object.prototype,t=e.toString;function n(o){return t.call(o)}return nI=n,nI}var oI,LN;function lL(){if(LN)return oI;LN=1;var e=qb(),t=Lpe(),n=Ipe(),o="[object Null]",i="[object Undefined]",r=e?e.toStringTag:void 0;function s(d){return d==null?d===void 0?i:o:r&&r in Object(d)?t(d):n(d)}return oI=s,oI}var cI,IN;function lq(){if(IN)return cI;IN=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return cI=e,cI}var iI,wN;function hq(){if(wN)return iI;wN=1;var e=lL(),t=lq(),n="[object AsyncFunction]",o="[object Function]",i="[object GeneratorFunction]",r="[object Proxy]";function s(d){if(!t(d))return!1;var l=e(d);return l==o||l==i||l==n||l==r}return iI=s,iI}var rI,bN;function wpe(){if(bN)return rI;bN=1;var e=kt(),t=e["__core-js_shared__"];return rI=t,rI}var sI,CN;function bpe(){if(CN)return sI;CN=1;var e=wpe(),t=function(){var o=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function n(o){return!!t&&t in o}return sI=n,sI}var dI,NN;function uq(){if(NN)return dI;NN=1;var e=Function.prototype,t=e.toString;function n(o){if(o!=null){try{return t.call(o)}catch{}try{return o+""}catch{}}return""}return dI=n,dI}var lI,SN;function Cpe(){if(SN)return lI;SN=1;var e=hq(),t=bpe(),n=lq(),o=uq(),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(o(y))}return lI=p,lI}var hI,jN;function Npe(){if(jN)return hI;jN=1;function e(t,n){return t?.[n]}return hI=e,hI}var uI,$N;function Wc(){if($N)return uI;$N=1;var e=Cpe(),t=Npe();function n(o,i){var r=t(o,i);return e(r)?r:void 0}return uI=n,uI}var pI,qN;function Ab(){if(qN)return pI;qN=1;var e=Wc(),t=kt(),n=e(t,"Map");return pI=n,pI}var yI,AN;function hL(){if(AN)return yI;AN=1;var e=Wc(),t=e(Object,"create");return yI=t,yI}var kI,zN;function Spe(){if(zN)return kI;zN=1;var e=hL();function t(){this.__data__=e?e(null):{},this.size=0}return kI=t,kI}var mI,VN;function jpe(){if(VN)return mI;VN=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return mI=e,mI}var fI,PN;function $pe(){if(PN)return fI;PN=1;var e=hL(),t="__lodash_hash_undefined__",n=Object.prototype,o=n.hasOwnProperty;function i(r){var s=this.__data__;if(e){var d=s[r];return d===t?void 0:d}return o.call(s,r)?s[r]:void 0}return fI=i,fI}var gI,TN;function qpe(){if(TN)return gI;TN=1;var e=hL(),t=Object.prototype,n=t.hasOwnProperty;function o(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return gI=o,gI}var vI,HN;function Ape(){if(HN)return vI;HN=1;var e=hL(),t="__lodash_hash_undefined__";function n(o,i){var r=this.__data__;return this.size+=this.has(o)?0:1,r[o]=e&&i===void 0?t:i,this}return vI=n,vI}var MI,DN;function zpe(){if(DN)return MI;DN=1;var e=Spe(),t=jpe(),n=$pe(),o=qpe(),i=Ape();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=o,r.prototype.set=i,MI=r,MI}var _I,BN;function Vpe(){if(BN)return _I;BN=1;var e=zpe(),t=dL(),n=Ab();function o(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return _I=o,_I}var xI,RN;function Ppe(){if(RN)return xI;RN=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return xI=e,xI}var LI,FN;function uL(){if(FN)return LI;FN=1;var e=Ppe();function t(n,o){var i=n.__data__;return e(o)?i[typeof o=="string"?"string":"hash"]:i.map}return LI=t,LI}var II,EN;function Tpe(){if(EN)return II;EN=1;var e=uL();function t(n){var o=e(this,n).delete(n);return this.size-=o?1:0,o}return II=t,II}var wI,ON;function Hpe(){if(ON)return wI;ON=1;var e=uL();function t(n){return e(this,n).get(n)}return wI=t,wI}var bI,UN;function Dpe(){if(UN)return bI;UN=1;var e=uL();function t(n){return e(this,n).has(n)}return bI=t,bI}var CI,WN;function Bpe(){if(WN)return CI;WN=1;var e=uL();function t(n,o){var i=e(this,n),r=i.size;return i.set(n,o),this.size+=i.size==r?0:1,this}return CI=t,CI}var NI,GN;function pq(){if(GN)return NI;GN=1;var e=Vpe(),t=Tpe(),n=Hpe(),o=Dpe(),i=Bpe();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=o,r.prototype.set=i,NI=r,NI}var SI,ZN;function Rpe(){if(ZN)return SI;ZN=1;var e=dL(),t=Ab(),n=pq(),o=200;function i(r,s){var d=this.__data__;if(d instanceof e){var l=d.__data__;if(!t||l.length<o-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 SI=i,SI}var jI,KN;function Fpe(){if(KN)return jI;KN=1;var e=dL(),t=vpe(),n=Mpe(),o=_pe(),i=xpe(),r=Rpe();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=o,s.prototype.has=i,s.prototype.set=r,jI=s,jI}var $I,XN;function Epe(){if(XN)return $I;XN=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return $I=t,$I}var qI,YN;function Ope(){if(YN)return qI;YN=1;function e(t){return this.__data__.has(t)}return qI=e,qI}var AI,JN;function Upe(){if(JN)return AI;JN=1;var e=pq(),t=Epe(),n=Ope();function o(i){var r=-1,s=i==null?0:i.length;for(this.__data__=new e;++r<s;)this.add(i[r])}return o.prototype.add=o.prototype.push=t,o.prototype.has=n,AI=o,AI}var zI,QN;function Wpe(){if(QN)return zI;QN=1;function e(t,n){for(var o=-1,i=t==null?0:t.length;++o<i;)if(n(t[o],o,t))return!0;return!1}return zI=e,zI}var VI,eS;function Gpe(){if(eS)return VI;eS=1;function e(t,n){return t.has(n)}return VI=e,VI}var PI,tS;function yq(){if(tS)return PI;tS=1;var e=Upe(),t=Wpe(),n=Gpe(),o=1,i=2;function r(s,d,l,h,u,p){var y=l&o,f=s.length,g=d.length;if(f!=g&&!(y&&g>f))return!1;var m=p.get(s),_=p.get(d);if(m&&_)return m==d&&_==s;var M=-1,v=!0,x=l&i?new e:void 0;for(p.set(s,d),p.set(d,s);++M<f;){var C=s[M],w=d[M];if(h)var b=y?h(w,C,M,d,s,p):h(C,w,M,s,d,p);if(b!==void 0){if(b)continue;v=!1;break}if(x){if(!t(d,function(L,I){if(!n(x,I)&&(C===L||u(C,L,l,h,p)))return x.push(I)})){v=!1;break}}else if(!(C===w||u(C,w,l,h,p))){v=!1;break}}return p.delete(s),p.delete(d),v}return PI=r,PI}var TI,aS;function Zpe(){if(aS)return TI;aS=1;var e=kt(),t=e.Uint8Array;return TI=t,TI}var HI,nS;function Kpe(){if(nS)return HI;nS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i,r){o[++n]=[r,i]}),o}return HI=e,HI}var DI,oS;function Xpe(){if(oS)return DI;oS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i){o[++n]=i}),o}return DI=e,DI}var BI,cS;function Ype(){if(cS)return BI;cS=1;var e=qb(),t=Zpe(),n=sq(),o=yq(),i=Kpe(),r=Xpe(),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]",_="[object Symbol]",M="[object ArrayBuffer]",v="[object DataView]",x=e?e.prototype:void 0,C=x?x.valueOf:void 0;function w(b,L,I,S,q,N,j){switch(I){case v:if(b.byteLength!=L.byteLength||b.byteOffset!=L.byteOffset)return!1;b=b.buffer,L=L.buffer;case M:return!(b.byteLength!=L.byteLength||!N(new t(b),new t(L)));case l:case h:case y:return n(+b,+L);case u:return b.name==L.name&&b.message==L.message;case f:case m:return b==L+"";case p:var T=i;case g:var D=S&s;if(T||(T=r),b.size!=L.size&&!D)return!1;var z=j.get(b);if(z)return z==L;S|=d,j.set(b,L);var $=o(T(b),T(L),S,q,N,j);return j.delete(b),$;case _:if(C)return C.call(b)==C.call(L)}return!1}return BI=w,BI}var RI,iS;function Jpe(){if(iS)return RI;iS=1;function e(t,n){for(var o=-1,i=n.length,r=t.length;++o<i;)t[r+o]=n[o];return t}return RI=e,RI}var FI,rS;function zb(){if(rS)return FI;rS=1;var e=Array.isArray;return FI=e,FI}var EI,sS;function Qpe(){if(sS)return EI;sS=1;var e=Jpe(),t=zb();function n(o,i,r){var s=i(o);return t(o)?s:e(s,r(o))}return EI=n,EI}var OI,dS;function eye(){if(dS)return OI;dS=1;function e(t,n){for(var o=-1,i=t==null?0:t.length,r=0,s=[];++o<i;){var d=t[o];n(d,o,t)&&(s[r++]=d)}return s}return OI=e,OI}var UI,lS;function tye(){if(lS)return UI;lS=1;function e(){return[]}return UI=e,UI}var WI,hS;function aye(){if(hS)return WI;hS=1;var e=eye(),t=tye(),n=Object.prototype,o=n.propertyIsEnumerable,i=Object.getOwnPropertySymbols,r=i?function(s){return s==null?[]:(s=Object(s),e(i(s),function(d){return o.call(s,d)}))}:t;return WI=r,WI}var GI,uS;function nye(){if(uS)return GI;uS=1;function e(t,n){for(var o=-1,i=Array(t);++o<t;)i[o]=n(o);return i}return GI=e,GI}var ZI,pS;function pL(){if(pS)return ZI;pS=1;function e(t){return t!=null&&typeof t=="object"}return ZI=e,ZI}var KI,yS;function oye(){if(yS)return KI;yS=1;var e=lL(),t=pL(),n="[object Arguments]";function o(i){return t(i)&&e(i)==n}return KI=o,KI}var XI,kS;function cye(){if(kS)return XI;kS=1;var e=oye(),t=pL(),n=Object.prototype,o=n.hasOwnProperty,i=n.propertyIsEnumerable,r=e(function(){return arguments}())?e:function(s){return t(s)&&o.call(s,"callee")&&!i.call(s,"callee")};return XI=r,XI}var e1={exports:{}},YI,mS;function iye(){if(mS)return YI;mS=1;function e(){return!1}return YI=e,YI}e1.exports;var fS;function kq(){return fS||(fS=1,function(e,t){var n=kt(),o=iye(),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||o;e.exports=h}(e1,e1.exports)),e1.exports}var JI,gS;function rye(){if(gS)return JI;gS=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(o,i){var r=typeof o;return i=i??e,!!i&&(r=="number"||r!="symbol"&&t.test(o))&&o>-1&&o%1==0&&o<i}return JI=n,JI}var QI,vS;function mq(){if(vS)return QI;vS=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return QI=t,QI}var ew,MS;function sye(){if(MS)return ew;MS=1;var e=lL(),t=mq(),n=pL(),o="[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]",_="[object ArrayBuffer]",M="[object DataView]",v="[object Float32Array]",x="[object Float64Array]",C="[object Int8Array]",w="[object Int16Array]",b="[object Int32Array]",L="[object Uint8Array]",I="[object Uint8ClampedArray]",S="[object Uint16Array]",q="[object Uint32Array]",N={};N[v]=N[x]=N[C]=N[w]=N[b]=N[L]=N[I]=N[S]=N[q]=!0,N[o]=N[i]=N[_]=N[r]=N[M]=N[s]=N[d]=N[l]=N[h]=N[u]=N[p]=N[y]=N[f]=N[g]=N[m]=!1;function j(T){return n(T)&&t(T.length)&&!!N[e(T)]}return ew=j,ew}var tw,_S;function dye(){if(_S)return tw;_S=1;function e(t){return function(n){return t(n)}}return tw=e,tw}var t1={exports:{}};t1.exports;var xS;function lye(){return xS||(xS=1,function(e,t){var n=dq(),o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,r=i&&i.exports===o,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}(t1,t1.exports)),t1.exports}var aw,LS;function fq(){if(LS)return aw;LS=1;var e=sye(),t=dye(),n=lye(),o=n&&n.isTypedArray,i=o?t(o):e;return aw=i,aw}var nw,IS;function hye(){if(IS)return nw;IS=1;var e=nye(),t=cye(),n=zb(),o=kq(),i=rye(),r=fq(),s=Object.prototype,d=s.hasOwnProperty;function l(h,u){var p=n(h),y=!p&&t(h),f=!p&&!y&&o(h),g=!p&&!y&&!f&&r(h),m=p||y||f||g,_=m?e(h.length,String):[],M=_.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)))&&_.push(v);return _}return nw=l,nw}var ow,wS;function uye(){if(wS)return ow;wS=1;var e=Object.prototype;function t(n){var o=n&&n.constructor,i=typeof o=="function"&&o.prototype||e;return n===i}return ow=t,ow}var cw,bS;function pye(){if(bS)return cw;bS=1;function e(t,n){return function(o){return t(n(o))}}return cw=e,cw}var iw,CS;function yye(){if(CS)return iw;CS=1;var e=pye(),t=e(Object.keys,Object);return iw=t,iw}var rw,NS;function kye(){if(NS)return rw;NS=1;var e=uye(),t=yye(),n=Object.prototype,o=n.hasOwnProperty;function i(r){if(!e(r))return t(r);var s=[];for(var d in Object(r))o.call(r,d)&&d!="constructor"&&s.push(d);return s}return rw=i,rw}var sw,SS;function mye(){if(SS)return sw;SS=1;var e=hq(),t=mq();function n(o){return o!=null&&t(o.length)&&!e(o)}return sw=n,sw}var dw,jS;function fye(){if(jS)return dw;jS=1;var e=hye(),t=kye(),n=mye();function o(i){return n(i)?e(i):t(i)}return dw=o,dw}var lw,$S;function gye(){if($S)return lw;$S=1;var e=Qpe(),t=aye(),n=fye();function o(i){return e(i,n,t)}return lw=o,lw}var hw,qS;function vye(){if(qS)return hw;qS=1;var e=gye(),t=1,n=Object.prototype,o=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 _=f;_--;){var M=y[_];if(!(p?M in s:o.call(s,M)))return!1}var v=u.get(r),x=u.get(s);if(v&&x)return v==s&&x==r;var C=!0;u.set(r,s),u.set(s,r);for(var w=p;++_<f;){M=y[_];var b=r[M],L=s[M];if(l)var I=p?l(L,b,M,s,r,u):l(b,L,M,r,s,u);if(!(I===void 0?b===L||h(b,L,d,l,u):I)){C=!1;break}w||(w=M=="constructor")}if(C&&!w){var S=r.constructor,q=s.constructor;S!=q&&"constructor"in r&&"constructor"in s&&!(typeof S=="function"&&S instanceof S&&typeof q=="function"&&q instanceof q)&&(C=!1)}return u.delete(r),u.delete(s),C}return hw=i,hw}var uw,AS;function Mye(){if(AS)return uw;AS=1;var e=Wc(),t=kt(),n=e(t,"DataView");return uw=n,uw}var pw,zS;function _ye(){if(zS)return pw;zS=1;var e=Wc(),t=kt(),n=e(t,"Promise");return pw=n,pw}var yw,VS;function xye(){if(VS)return yw;VS=1;var e=Wc(),t=kt(),n=e(t,"Set");return yw=n,yw}var kw,PS;function Lye(){if(PS)return kw;PS=1;var e=Wc(),t=kt(),n=e(t,"WeakMap");return kw=n,kw}var mw,TS;function Iye(){if(TS)return mw;TS=1;var e=Mye(),t=Ab(),n=_ye(),o=xye(),i=Lye(),r=lL(),s=uq(),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),_=s(o),M=s(i),v=r;return(e&&v(new e(new ArrayBuffer(1)))!=y||t&&v(new t)!=d||n&&v(n.resolve())!=h||o&&v(new o)!=u||i&&v(new i)!=p)&&(v=function(x){var C=r(x),w=C==l?x.constructor:void 0,b=w?s(w):"";if(b)switch(b){case f:return y;case g:return d;case m:return h;case _:return u;case M:return p}return C}),mw=v,mw}var fw,HS;function wye(){if(HS)return fw;HS=1;var e=Fpe(),t=yq(),n=Ype(),o=vye(),i=Iye(),r=zb(),s=kq(),d=fq(),l=1,h="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,f=y.hasOwnProperty;function g(m,_,M,v,x,C){var w=r(m),b=r(_),L=w?u:i(m),I=b?u:i(_);L=L==h?p:L,I=I==h?p:I;var S=L==p,q=I==p,N=L==I;if(N&&s(m)){if(!s(_))return!1;w=!0,S=!1}if(N&&!S)return C||(C=new e),w||d(m)?t(m,_,M,v,x,C):n(m,_,L,M,v,x,C);if(!(M&l)){var j=S&&f.call(m,"__wrapped__"),T=q&&f.call(_,"__wrapped__");if(j||T){var D=j?m.value():m,z=T?_.value():_;return C||(C=new e),x(D,z,M,v,C)}}return N?(C||(C=new e),o(m,_,M,v,x,C)):!1}return fw=g,fw}var gw,DS;function bye(){if(DS)return gw;DS=1;var e=wye(),t=pL();function n(o,i,r,s,d){return o===i?!0:o==null||i==null||!t(o)&&!t(i)?o!==o&&i!==i:e(o,i,r,s,n,d)}return gw=n,gw}var vw,BS;function Cye(){if(BS)return vw;BS=1;var e=bye();function t(n,o){return e(n,o)}return vw=t,vw}var Nye=Cye();const Sye=a.getDefaultExportFromCjs(Nye),jye=({schema:e,initialData:t={},onSubmit:n,submitLabel:o,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,_]=k.useState(!1),M=k.useRef(t);k.useEffect(()=>{Sye(M.current,t)||(u(t),M.current=t)},[t]);const v=(I,S)=>{const q={...h,[I]:S};if(u(q),f[I]){const N=e.fields.find(j=>j.name===I);if(N){const j=Qx(S,N);y(T=>({...T,[I]:j.isValid?"":j.error}))}}},x=I=>{if(!f[I]){g(q=>({...q,[I]:!0}));const S=e.fields.find(q=>q.name===I);if(S){const q=Qx(h[I],S);y(N=>({...N,[I]:q.isValid?"":q.error}))}}},C=async I=>{I.preventDefault(),_(!0);const S=e.fields.reduce((N,j)=>(j.type!=="section"&&(N[j.name]=!0),N),{});g(S);const q=J$(h,e.fields.filter(N=>N.type!=="section"));if(y(q.errors),q.isValid)try{await n(h)}catch(N){console.error("Erreur lors de la soumission:",N),y(j=>({...j,__global:"Une erreur est survenue lors de la soumission"}))}_(!1)},w=l?ht[l]:null,b=i&&ht[i]||e.submitIcon&&ht[e.submitIcon]||null,L=e.columns&&e.columns>0?Math.floor(e.columns):12;return c.jsxs("div",{className:oe.formContainer,children:[c.jsx("div",{className:oe.headerLine,children:c.jsx("h2",{className:oe.formTitle,children:e.title})}),e.description&&c.jsx("p",{className:oe.formDescription,children:e.description}),p.__global&&c.jsx("div",{className:`alert alert-danger ${oe.globalError}`,children:p.__global}),c.jsxs("form",{onSubmit:C,children:[c.jsx("div",{className:oe.gridContainer,style:{gridTemplateColumns:`repeat(${L}, minmax(0, 1fr))`},children:e.fields.map(I=>{if(I.type==="section")return c.jsxs("div",{className:oe.sectionFull,children:[c.jsx("h5",{className:oe.sectionTitle,children:I.label}),I.help&&c.jsx("p",{className:oe.sectionHelp,children:I.help})]},I.name);const q={gridColumn:`span ${Math.max(1,Math.min(L,I.gridCol??L))}`};return c.jsxs("div",{className:oe.fieldGridItem,style:q,children:[c.jsx(rq,{field:I,value:h[I.name],onChange:N=>v(I.name,N),onBlur:()=>x(I.name),error:p[I.name],touched:f[I.name]}),I.help&&c.jsx("small",{className:oe.fieldHelp,children:I.help})]},I.name)})}),c.jsxs("div",{className:oe.formFooter,children:[c.jsx("div",{className:oe.footerLeft,children:s&&c.jsxs("button",{type:"button",className:oe.cancelLink,onClick:s,children:[w&&c.jsx(w,{size:16,className:"me-2"})," ",d]})}),c.jsx("div",{className:oe.footerRight,children:c.jsx(Ex,{type:"submit",variant:"primary",size:"md",className:oe.submitButton,disabled:m,children:m?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status"}),"Validation..."]}):c.jsxs(c.Fragment,{children:[b&&(r==="left"||e.submitIconPosition==="left")&&c.jsx(b,{size:16,className:"me-2"}),o||e.submitText||"Valider",b&&(r==="right"||e.submitIconPosition==="right")&&c.jsx(b,{size:16,className:"ms-2"})]})})})]})]})]})};function $ye(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const qye="_container_1gljv_85",Aye="_tableWrapper_1gljv_111",zye="_tableControls_1gljv_117",Vye="_controlsRight_1gljv_128",Pye="_limitedRows_1gljv_151",Tye="_table_1gljv_111",Hye="_headerCell_1gljv_206",Dye="_headerContent_1gljv_220",Bye="_headerWords_1gljv_229",Rye="_headerWord_1gljv_229",Fye="_cellContent_1gljv_276",Eye="_alignLeft_1gljv_286",Oye="_alignCenter_1gljv_290",Uye="_alignRight_1gljv_294",Wye="_tableCell_1gljv_298",Gye="_tableRow_1gljv_308",Zye="_emptyRow_1gljv_385",Kye="_toggleFiltersButton_1gljv_393",Xye="_toggleSortButton_1gljv_394",Yye="_buttonTextCompact_1gljv_415",Jye="_uppercaseSmall_1gljv_450",Qye="_filtersPanel_1gljv_463",e4e="_filtersPanelInline_1gljv_481",t4e="_filtersPanelHorizontal_1gljv_492",a4e="_filtersRow_1gljv_492",n4e="_filtersActionsHorizontal_1gljv_525",o4e="_filterItemInline_1gljv_542",c4e="_filterLabel_1gljv_571",i4e="_filterInput_1gljv_576",r4e="_filterSelect_1gljv_577",s4e="_operatorSelect_1gljv_578",d4e="_operatorInput_1gljv_579",l4e="_activeFilterTag_1gljv_597",h4e="_actionsGroup_1gljv_609",u4e="_applyButton_1gljv_615",p4e="_cancelButton_1gljv_625",y4e="_columnSorterContainer_1gljv_649",k4e="_sorterControls_1gljv_654",m4e="_sortDropdownWrapper_1gljv_659",f4e="_sortDropdown_1gljv_659",g4e="_sortDropdownHeader_1gljv_679",v4e="_closeButton_1gljv_688",M4e="_sortDropdownContent_1gljv_703",_4e="_sortDropdownItem_1gljv_709",x4e="_sortDirectionButtons_1gljv_734",L4e="_sortDirectionButton_1gljv_734",I4e="_activeSort_1gljv_757",w4e="_sortActions_1gljv_764",b4e="_paginationButton_1gljv_842",C4e="_pageSizeSelect_1gljv_844",N4e="_topPagination_1gljv_853",S4e="_paginationContainer_1gljv_861",j4e="_leftGroup_1gljv_874",$4e="_pageSizeControls_1gljv_882",q4e="_paginationInfo_1gljv_908",A4e="_paginationControls_1gljv_916",z4e="_disabledButton_1gljv_947",V4e="_activeButton_1gljv_952",P4e="_navigationButton_1gljv_962",T4e="_operatorFilterContainer_1gljv_1010",H4e="_rangeSeparator_1gljv_1016",D4e="_activeFiltersSection_1gljv_1179",B4e="_activeFiltersRow_1gljv_1184",R4e="_activeFiltersList_1gljv_1192",F4e="_clearAllButton_1gljv_1200",E4e="_removeFilterButton_1gljv_1221",O4e="_sortIndicator_1gljv_1272",U4e="_active_1gljv_349",W4e="_clearSortButton_1gljv_1371",G4e="_loaderSpinner_1gljv_2743",Z4e="_loaderSpinnerSmall_1gljv_2755",K4e="_paginationLoading_1gljv_2772",X4e="_loadingButton_1gljv_2780",Y4e="_loadingIndicator_1gljv_2791",A={container:qye,tableWrapper:Aye,tableControls:zye,controlsRight:Vye,limitedRows:Pye,table:Tye,headerCell:Hye,headerContent:Dye,headerWords:Bye,headerWord:Rye,cellContent:Fye,alignLeft:Eye,alignCenter:Oye,alignRight:Uye,tableCell:Wye,tableRow:Gye,emptyRow:Zye,toggleFiltersButton:Kye,toggleSortButton:Xye,buttonTextCompact:Yye,uppercaseSmall:Jye,filtersPanel:Qye,filtersPanelInline:e4e,filtersPanelHorizontal:t4e,filtersRow:a4e,filtersActionsHorizontal:n4e,filterItemInline:o4e,filterLabel:c4e,filterInput:i4e,filterSelect:r4e,operatorSelect:s4e,operatorInput:d4e,activeFilterTag:l4e,actionsGroup:h4e,applyButton:u4e,cancelButton:p4e,columnSorterContainer:y4e,sorterControls:k4e,sortDropdownWrapper:m4e,sortDropdown:f4e,sortDropdownHeader:g4e,closeButton:v4e,sortDropdownContent:M4e,sortDropdownItem:_4e,sortDirectionButtons:x4e,sortDirectionButton:L4e,activeSort:I4e,sortActions:w4e,paginationButton:b4e,pageSizeSelect:C4e,topPagination:N4e,paginationContainer:S4e,leftGroup:j4e,pageSizeControls:$4e,paginationInfo:q4e,paginationControls:A4e,disabledButton:z4e,activeButton:V4e,navigationButton:P4e,operatorFilterContainer:T4e,rangeSeparator:H4e,activeFiltersSection:D4e,activeFiltersRow:B4e,activeFiltersList:R4e,clearAllButton:F4e,removeFilterButton:E4e,sortIndicator:O4e,active:U4e,clearSortButton:W4e,loaderSpinner:G4e,loaderSpinnerSmall:Z4e,paginationLoading:K4e,loadingButton:X4e,loadingIndicator:Y4e},J4e=({config:e,value:t,onChange:n,disabled:o})=>c.jsxs("select",{value:t===""?"":String(t),onChange:i=>n(i.target.value===""?"":i.target.value==="true"),disabled:o,className:A.filterSelect,children:[c.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),c.jsx("option",{value:"true",children:"Oui"}),c.jsx("option",{value:"false",children:"Non"})]}),Q4e=({config:e,value:t,onChange:n,disabled:o})=>c.jsx("input",{type:"date",value:t||"",onChange:i=>n(i.target.value),placeholder:`Filtrer ${e.label}...`,disabled:o,className:A.filterInput}),e5e=({config:e,value:t,onChange:n,disabled:o})=>{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 c.jsx("select",{multiple:!0,value:t.map(String),onChange:s,disabled:o,className:A.filterMultiSelect,children:i.map((d,l)=>c.jsx("option",{value:String(d.value),children:d.label},l))})},RS=({config:e,value:t,onChange:n,disabled:o})=>{const[i,r]=k.useState(t||""),s=d=>{const l=d.target.value===""?"":Number(d.target.value);r(l),n(l)};return c.jsx("input",{type:"number",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:o,className:A.filterInput})},t5e=({config:e,value:t,onChange:n,disabled:o=!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?c.jsx("div",{children:"Chargement..."}):c.jsxs("select",{value:String(t||""),onChange:l,disabled:o,className:A.filterInput,children:[c.jsx("option",{value:"",children:"Select..."}),i.map(h=>c.jsx("option",{value:h.value,children:h.label},h.value))]})},a5e=({config:e,value:t,onChange:n,disabled:o=!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 c.jsx("input",{type:"text",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:o,className:A.filterInput})},n5e=({config:e,value:t,onChange:n,disabled:o=!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 c.jsxs("div",{className:A.operatorFilterContainer,children:[c.jsxs("select",{value:i,onChange:l,disabled:o,className:A.operatorSelect,children:[c.jsx("option",{value:"",children:"Sélectionner un opérateur"}),e.operators.map(u=>c.jsx("option",{value:String(u.value),children:u.label},String(u.value)))]}),c.jsx("input",{type:"text",value:s,onChange:h,placeholder:"Valeur",disabled:o||!i,className:A.operatorInput})]})},o5e=({value:e,onChange:t,disabled:n})=>{const o=e||{},i=s=>{t({...o,start:s.target.value})},r=s=>{t({...o,end:s.target.value})};return c.jsxs("div",{className:A.dateRangeContainer,children:[c.jsx("input",{type:"date",value:o.start||"",onChange:i,disabled:n,className:A.filterInput}),c.jsx("span",{className:A.rangeSeparator,children:"→"}),c.jsx("input",{type:"date",value:o.end||"",onChange:r,disabled:n,className:A.filterInput})]})},c5e=({config:e,value:t,onChange:n,disabled:o})=>{switch(e.type){case"text":case"search":return c.jsx(a5e,{config:e,value:t,onChange:n,disabled:o});case"number":return c.jsx(RS,{config:e,value:t,onChange:n,disabled:o});case"range":return c.jsx(RS,{config:e,value:t,onChange:n,disabled:o});case"select":return c.jsx(t5e,{config:e,value:t,onChange:n,disabled:o});case"operator":return c.jsx(n5e,{config:e,value:t,onChange:n,disabled:o});case"multiselect":return c.jsx(e5e,{config:e,value:t,onChange:n,disabled:o});case"date":return c.jsx(Q4e,{config:e,value:t,onChange:n,disabled:o});case"daterange":return c.jsx(o5e,{config:e,value:t??{start:"",end:""},onChange:n,disabled:o});case"boolean":return c.jsx(J4e,{config:e,value:t,onChange:n,disabled:o});default:return c.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},gq=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:o,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(_=>({..._,[g]:m}))},[]),p=k.useCallback(async()=>{const g=[],m={...d};for(const[_,M]of Object.entries(m)){const v=e.find(w=>w.id===_);if(!v)continue;let x=M;try{typeof M=="function"&&(x=await M(m)),typeof v.executeOnApply=="function"&&(x=await v.executeOnApply(x,m))}catch{continue}if(v.type==="daterange"){const w=x?.start??"",b=x?.end??"",L=typeof w=="string"?w.trim()==="":!w,I=typeof b=="string"?b.trim()==="":!b;if(L&&I)continue}x==null||typeof x=="string"&&x.trim()===""||Array.isArray(x)&&x.length===0||typeof x=="object"&&!Array.isArray(x)&&Object.keys(x).length===0||g.push({id:_,type:v.type,value:x,label:v.label})}return i?n?.(g):(s(g),o?.(g)),g},[d,e,i,n,o]),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([]),o?.([]))},[e,i,n,o]);return{appliedFilters:h,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:f}},i5e=(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(o=>String(o)).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 o=n;if(!o.start||!o.end)return!1;const i=o.start,r=o.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(o){return console.error("Error processing daterange filter:",o),!1}case"operator":if(typeof n=="object"&&n!==null){const o=n;if(!("operator"in o)||!("value"in o))return!1;const{operator:i,value:r}=o,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 vq(e,t,n="",o={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(_=>t.some(M=>{const v=_.data[M.id];return v==null?!1:String(v).toLowerCase().includes(l)}))),s.length>0&&(m=m.filter(_=>s.every(M=>{try{const v=_.data[M.id];return i5e(v,M)}catch(v){return console.error("Error applying filter:",v),!1}}))),m},[e,t,l,s]),u=k.useMemo(()=>{if(!o?.key)return h;const m=o.key;return[...h].sort((_,M)=>{const v=_.data[m],x=M.data[m];if(v==null)return 1;if(x==null)return-1;if(typeof v=="number"&&typeof x=="number")return o.direction==="desc"?x-v:v-x;if(v instanceof Date&&x instanceof Date){const w=v.getTime()-x.getTime();return o.direction==="desc"?-w:w}const C=String(v).localeCompare(String(x),void 0,{numeric:!0,sensitivity:"base"});return o.direction==="desc"?-C:C})},[h,o]),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 Mq=({value:e})=>e,_q=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),xq=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),Lq=({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",o=typeof e=="object"?e.text:e,i=t[n]||t.default;return k.createElement("span",{className:`badge ${i}`},o)},Iq=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},wq=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),bq=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),Cq=({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"})),Kw={renderers:{text:Mq,email:_q,link:xq,badge:Lq,date:Iq,number:wq,currency:bq,image:Cq},icons:{sortAsc:k.createElement(Mc,{className:"sort-icon active",size:14}),sortDesc:k.createElement(wt,{className:"sort-icon active",size:14}),sortDefault:k.createElement(Pc,{className:"sort-icon",size:14})}},r5e=(e,t)=>{Kw.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),Kw.renderers[e]=t},s5e=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:o,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[_,M]=k.useState(!1),v=typeof s=="boolean"?s:_,{appliedFilters:x,tempFilters:C,updateFilter:w,applyFilters:b,clearAllFilters:L}=gq({filters:e,externalFilters:t,onFiltersChange:n,onApply:o,isControlled:i}),I=k.useRef(null),S=k.useRef(null);k.useEffect(()=>{if(v&&I.current){const z=I.current.getBoundingClientRect().height;h?.(z)}else h?.(0)},[v,e,C,h]);const q=()=>{typeof s=="boolean"?d?.(!s):M(z=>{const $=!z;return d?.($),$})},N=()=>e.map(z=>{const $=C?.[z.id];return $==null||typeof $=="string"&&$.trim()===""?null:{id:z.id,label:z.label,value:$}}).filter(Boolean),j=async()=>{let z;try{z=await b()}catch{z=void 0}let $=[];z&&Array.isArray(z)&&z.length>0?$=z:x&&x.length>0?$=x:$=N(),n?.($),o?.($)},T=()=>{d?.(!1),typeof s!="boolean"&&M(!1)},D=()=>{L(),n?.([]),o?.([])};return k.useEffect(()=>{const z=V=>{v&&S.current&&(S.current.contains(V.target)||(d?.(!1),typeof s!="boolean"&&M(!1)))},$=V=>{V.key==="Escape"&&v&&(d?.(!1),typeof s!="boolean"&&M(!1))};return v&&(document.addEventListener("pointerdown",z),document.addEventListener("keydown",$)),()=>{document.removeEventListener("pointerdown",z),document.removeEventListener("keydown",$)}},[v,s,d]),c.jsxs("div",{className:A.advancedFiltersContainer,ref:S,children:[c.jsxs("button",{className:`${A.toggleFiltersButton} ${x.length>0?A.active:""} ${v?A.toggleFiltersButtonOpen:""} ${m?A.loadingButton:""}`,onClick:q,"aria-expanded":v,"aria-controls":"advanced-filters-panel",type:"button",disabled:m,children:[m?c.jsx("span",{className:A.loaderSpinnerSmall}):c.jsx(vt,{size:14}),c.jsx("span",{className:A.buttonTextCompact,children:u}),x.length>0&&!m&&c.jsx("span",{className:A.filterCountBadge,"aria-hidden":!0,children:x.length}),m&&c.jsx("span",{className:A.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),v&&c.jsxs("div",{id:"advanced-filters-panel",ref:I,className:`${A.filtersPanel} ${l==="top"?`${A.filtersPanelInline} ${A.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[c.jsx("div",{className:A.filtersRow,children:e.map(z=>c.jsxs("div",{className:`${A.filterItem} ${A.filterItemInline}`,children:[c.jsxs("label",{className:A.filterLabel,children:[z.label,z.required&&c.jsx("span",{className:A.required,children:"*"})]}),c.jsx(c5e,{config:z,value:C[z.id],onChange:$=>w(z.id,$),disabled:z.disabled})]},z.id))}),c.jsxs("div",{className:A.filtersActionsHorizontal,children:[c.jsx("div",{className:A.activeFiltersSection,children:x.length>0&&c.jsxs("div",{className:A.activeFiltersRow,children:[c.jsx("span",{className:A.activeLabelCompact,children:"Actifs :"}),c.jsx("div",{className:A.activeFiltersList,children:x.map(z=>c.jsxs("div",{className:A.activeFilterTag,children:[z.label??z.id,c.jsx("button",{className:A.removeFilterButton,onClick:()=>w(z.id,void 0),"aria-label":`Supprimer ${z.id}`,type:"button",children:"×"})]},z.id))}),c.jsxs("button",{className:A.clearAllButton,onClick:D,type:"button",children:[c.jsx(Ke,{size:12})," ",f]})]})}),c.jsxs("div",{className:A.actionsGroup,children:[c.jsx("button",{className:A.cancelButton,onClick:T,type:"button",disabled:m,children:y}),c.jsx("button",{className:`${A.applyButton} ${m?A.loadingButton:""}`,onClick:j,type:"button",disabled:g||m,"aria-disabled":g||m,children:m?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:A.loaderSpinnerSmall}),c.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},FS=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},d5e=({columns:e,sortConfig:t,onSort:n,label:o="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=_=>{if(!l.current)return;const M=_.target;M&&!l.current.contains(M)&&s(!1)},m=_=>{_.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]),c.jsx("div",{className:A.columnSorterContainer,ref:l,children:c.jsx("div",{className:A.sorterControls,children:d.length>0&&c.jsxs("div",{className:A.sortDropdownWrapper,ref:l,children:[c.jsxs("button",{className:`${A.toggleSortButton} ${r?A.toggleSortButtonOpen:""} ${h?A.active:""} ${i?A.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?c.jsx("span",{className:A.loaderSpinnerSmall}):c.jsx(Pc,{size:14}),c.jsx("span",{className:`${A.buttonTextCompact} ${FS(o)?A.uppercaseSmall:""}`,children:o}),h&&!i&&c.jsx("div",{className:A.sortIndicator,children:t?.direction==="asc"?c.jsx(Mc,{size:12}):c.jsx(wt,{size:12})})]}),r&&c.jsxs("div",{className:`${A.sortDropdown} ${A.sortDropdownInline}`,role:"menu",children:[c.jsxs("div",{className:A.sortDropdownHeader,children:[c.jsx("span",{children:"Trier par:"}),c.jsx("button",{className:A.closeButton,onClick:f,"aria-label":"Fermer",type:"button",children:c.jsx(Ke,{size:16})})]}),c.jsx("div",{className:A.sortDropdownContent,children:d.map(g=>{const m=String(g.label??g.id),_=FS(m);return c.jsxs("div",{className:A.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:M=>{M.key==="Enter"&&u(g.id,"asc")},children:[c.jsx("span",{className:`${A.columnSorterLabel} ${_?A.uppercaseSmall:""}`,title:m,"aria-label":m,children:m}),c.jsxs("div",{className:A.sortDirectionButtons,children:[c.jsx("button",{className:`${A.sortDirectionButton} ${t?.key===g.id&&t?.direction==="asc"?A.activeSort:""}`,onClick:()=>u(g.id,"asc"),title:"Trier par ordre croissant",type:"button",children:c.jsx(Mc,{size:12})}),c.jsx("button",{className:`${A.sortDirectionButton} ${t?.key===g.id&&t?.direction==="desc"?A.activeSort:""}`,onClick:()=>u(g.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:c.jsx(wt,{size:12})})]})]},g.id)})}),h&&c.jsx("div",{className:A.sortActions,children:c.jsxs("button",{className:A.clearSortButton,onClick:p,type:"button",children:[c.jsx(gt,{size:14}),c.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},l5e=({currentPage:e,totalPages:t,pageSize:n,totalItems:o,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=o>0?(h-1)*n+1:0,f=o>0?Math.min(h*n,o):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 x=M;x<=v;x++)m.push(x);return m};return c.jsxs("div",{className:A.paginationContainer,role:"navigation","aria-label":"Pagination",children:[c.jsx("div",{className:A.leftGroup,children:s&&c.jsx("div",{className:A.pageSizeControls,children:c.jsx("select",{value:n,onChange:m=>s(Number(m.target.value)),className:A.pageSizeSelect,"aria-label":"Taille de page",disabled:d,children:[10,20,30].map(m=>c.jsx("option",{value:m,children:m},m))})})}),c.jsx("div",{className:A.paginationInfo,"aria-live":"polite",children:d?c.jsxs("span",{className:A.paginationLoading,children:[c.jsx("span",{className:A.loaderSpinner}),c.jsx("span",{children:"Chargement..."})]}):`${y}-${f} ${i}`}),c.jsxs("div",{className:A.paginationControls,children:[c.jsx("button",{onClick:u,disabled:h===1||d,className:`${A.paginationButton} ${A.navigationButton} ${h===1?A.disabledButton:""} ${d?A.loadingButton:""}`,"aria-label":"Page précédente",children:d&&h>1?c.jsx("span",{className:A.loaderSpinnerSmall}):"«"}),g().map(m=>c.jsx("button",{onClick:()=>r(m),disabled:d,"aria-current":h===m?"page":void 0,className:`${A.paginationButton} ${h===m?A.activeButton:""} ${d?A.loadingButton:""}`,children:d&&h===m?c.jsx("span",{className:A.loaderSpinnerSmall}):m},m)),c.jsx("button",{onClick:p,disabled:d||h>=l,className:`${A.paginationButton} ${A.navigationButton} ${d?A.loadingButton:""} ${h>=l?A.disabledButton:""}`,"aria-label":"Page suivante",children:d?c.jsx("span",{className:A.loaderSpinnerSmall}):"»"})]})]})},h5e=(e,t)=>{if(!e)return"";if(t)return e;const n=String(e).trim();if(!n)return n;const o=n.toLowerCase();return o.charAt(0).toUpperCase()+o.slice(1)},u5e=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},p5e=({columns:e})=>c.jsx("thead",{className:A.tableHeader,children:c.jsx("tr",{children:e.map((t,n)=>{const o=t.align==="right"?A.alignRight:t.align==="left"?A.alignLeft:A.alignCenter,i=t.preserveHeaderCase===!0,r=h5e(String(t.label??""),i),s=u5e(r),d=s?r.split(/\s+/):[];return c.jsx("th",{className:`${A.headerCell} ${o}`,style:{width:t.width??void 0},"data-preserve":i?"true":"false",children:c.jsx("div",{className:A.headerContent,children:s?c.jsx("div",{className:A.headerWords,children:d.map((l,h)=>c.jsx("span",{className:A.headerWord,children:l},h))}):c.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),y5e=({value:e,row:t,column:n})=>{const o=n.align==="right"?A.alignRight:n.align==="left"?A.alignLeft:A.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return c.jsx("td",{className:`${A.tableCell} ${o}`,style:{width:n.width??void 0},children:c.jsx("div",{className:A.cellContent,children:i})})},k5e=({row:e,rowId:t,columns:n,onRowClick:o,index:i,getRowStyle:r})=>{const s=r?r(e):{},{backgroundColor:d,accentColor:l,...h}=s||{},u={backgroundColor:d,...h,"--row-accent":l??"transparent"};return c.jsx("tr",{className:`${A.tableRow} ${o?A.clickableRow:""}`,onClick:()=>o?.(e,i),style:u,children:n.map(p=>c.jsx(y5e,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},m5e=({data:e,columns:t,onRowClick:n,startIndex:o,searchTerm:i,getRowStyle:r})=>e.length===0?c.jsx("tbody",{children:c.jsx("tr",{children:c.jsx("td",{colSpan:t.length,className:A.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):c.jsx("tbody",{children:e.map((s,d)=>c.jsx(k5e,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:o+d-1,getRowStyle:r},s.id))}),Nq=({columns:e=[],data:t=[],pagination:n={pageSize:10,currentPage:1},onRowClick:o,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:_,itemLabel:M="items",advancedFiltersLabel:v="Advanced-Filters",advancedFiltersActiveLabel:x,sortLabel:C="Sort",applyLabel:w="Apply",cancelLabel:b="Cancel",clearLabel:L="Clear",applyDisabled:I=!1,paginationLoading:S=!1,filtersLoading:q=!1,sortLoading:N=!1,totalCount:j=null})=>{const[T,D]=k.useState({key:null,direction:"asc"}),[z,$]=k.useState(n.currentPage??1),[V,B]=k.useState(n.pageSize??10),[W,H]=k.useState(!1),R=k.useRef(null),[Y,ae]=k.useState([]),me=p?d:Y,rt=p?[]:Y;k.useEffect(()=>{const G=n.currentPage??1,q1=n.pageSize??10;G!==z&&$(G),q1!==V&&B(q1)},[n.currentPage,n.pageSize]);const{paginatedData:fe,sortedData:Ie,totalPages:Z,startIndex:X}=vq(t,e,i,T,z,V,rt),re=Ie.length,_e=typeof j=="number"&&j>=0?j:re;let ue=Z;typeof j=="number"&&j>=0&&(ue=Math.max(1,Math.ceil(j/V)));const we=re>10;k.useEffect(()=>{const G=Math.max(1,Math.floor(ue));z>G&&$(G),z<1&&$(1)},[ue]);const se=G=>{p||ae(G),l?.(G),$(1),_?.(1)},ge=G=>{p||ae(G),h?.(G),$(1),_?.(1),R.current&&R.current.style.setProperty("--filters-panel-height","0px")},Ve=G=>{_?.(G),$(G)},je=G=>{B(G),$(1),m?.(G),_?.(1)},le=G=>{R.current&&R.current.style.setProperty("--filters-panel-height",`${Math.round(G)}px`)},be=G=>{D(G),u?.(G)},$e=G=>{H(G),!G&&R.current&&R.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(me?.length??0)>0&&H(!0)},[me]),k.useEffect(()=>{s.length>0&&me.length>0&&H(!0)},[s.length,me.length]);const Q=(me?.length??0)>0&&x?x:v;return c.jsxs("div",{ref:R,className:`${A.container} ${r} ${W?A.filtersOpen:""}`,style:{background:g,"--row-height":"48px","--header-height":"56px"},children:[c.jsx("div",{className:A.tableControls,children:c.jsxs("div",{className:A.controlsRight,children:[c.jsx(d5e,{columns:e,onSort:be,label:C,sortConfig:T,loading:N}),s.length>0&&c.jsx(s5e,{filters:s,externalFilters:me,onFiltersChange:se,onApply:ge,isControlled:p,debounceTimeout:y,expanded:W,onToggle:$e,panelPlacement:"top",onPanelHeightChange:le,label:Q,applyLabel:w,cancelLabel:b,clearLabel:L,applyDisabled:I,loading:q})]})}),c.jsx("div",{className:A.topPagination,children:c.jsx(l5e,{currentPage:z,totalPages:ue,pageSize:V,totalItems:_e,itemLabel:M,onPageChange:Ve,onPageSizeChange:je,loading:S})}),c.jsx("div",{className:`${A.tableWrapper} ${we?A.limitedRows:""}`,"data-table-wrapper":!0,children:c.jsxs("table",{className:A.table,children:[c.jsx(p5e,{columns:e}),c.jsx(m5e,{data:fe,columns:e,onRowClick:o,startIndex:X,getRowStyle:f,searchTerm:i})]})})]})};function f5e(e){const{pagination:t,totalCount:n,onPageChange:o,...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||o?.(p))};return c.jsx(Nq,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const g5e="_mpRoot_31595_1",v5e="_mpHeader_31595_22",M5e="_mpTitle_31595_31",_5e="_mpList_31595_35",x5e="_mpVertical_31595_41",L5e="_mpHorizontal_31595_46",I5e="_mpItem_31595_55",w5e="_mpClickable_31595_95",b5e="_mpLeft_31595_117",C5e="_mpIcon_31595_125",N5e="_mpMeta_31595_140",S5e="_mpLabel_31595_145",j5e="_mpDate_31595_154",$5e="_mpRight_31595_160",q5e="_mpValue_31595_168",A5e="_mpHint_31595_176",z5e="_mpBadge_31595_180",V5e="_mpBadgeTop_31595_199",P5e="_mpBadgeSub_31595_206",T5e="_mpBadgeSmall_31595_213",H5e="_mpPill_31595_229",D5e="_mpRounded_31595_232",B5e="_mpCompact_31595_236",R5e="_compactItemWrapper_31595_252",F5e="_mpSummaryRoot_31595_265",E5e="_mpSummaryInner_31595_269",O5e="_mpSummaryFlex_31595_284",U5e="_mpSummaryCardWrapperHorizontal_31595_292",W5e="_mpSummaryCardWrapper_31595_292",G5e="_mpSummaryCardHorizontal_31595_303",Z5e="_mpSummaryCard_31595_292",K5e="_mpSummaryValue_31595_321",X5e="_mpSummaryLabel_31595_327",Y5e="_mpSummaryBadge_31595_338",J5e="_mpSummaryBadgeSub_31595_357",Q5e="_mpEmpty_31595_365",eke="_mpSummaryVertical_31595_372",tke="_mpIconSquare_31595_380",O={mpRoot:g5e,mpHeader:v5e,mpTitle:M5e,mpList:_5e,mpVertical:x5e,mpHorizontal:L5e,mpItem:I5e,mpClickable:w5e,mpLeft:b5e,mpIcon:C5e,mpMeta:N5e,mpLabel:S5e,mpDate:j5e,mpRight:$5e,mpValue:q5e,mpHint:A5e,mpBadge:z5e,mpBadgeTop:V5e,mpBadgeSub:P5e,mpBadgeSmall:T5e,mpPill:H5e,mpRounded:D5e,mpCompact:B5e,compactItemWrapper:R5e,mpSummaryRoot:F5e,mpSummaryInner:E5e,mpSummaryFlex:O5e,mpSummaryCardWrapperHorizontal:U5e,mpSummaryCardWrapper:W5e,mpSummaryCardHorizontal:G5e,mpSummaryCard:Z5e,mpSummaryValue:K5e,mpSummaryLabel:X5e,mpSummaryBadge:Y5e,mpSummaryBadgeSub:J5e,mpEmpty:Q5e,mpSummaryVertical:eke,mpIconSquare:tke},It=(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 o=n.replace("#","").toLowerCase();if(o.length===3&&(o=o.split("").map(d=>d+d).join("")),!/^[0-9a-f]{6}$/i.test(o))return`rgba(124, 58, 237, ${t})`;const i=parseInt(o.slice(0,2),16),r=parseInt(o.slice(2,4),16),s=parseInt(o.slice(4,6),16);return`rgba(${i}, ${r}, ${s}, ${t})`},ake=({item:e,shape:t,onItemClick:n,color:o,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[O.mpItem,t==="pill"?O.mpPill:O.mpRounded,n?O.mpClickable:""].filter(Boolean).join(" ");if(i)return c.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 c.jsxs(d,{...l,children:[c.jsxs("div",{className:O.mpLeft,children:[h?c.jsx("div",{className:O.mpIconSquare,style:{background:u??It(p??o??"#7c3aed",1),border:`1px solid ${It(p??o??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(h,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?c.jsx("div",{className:O.mpIcon,children:e.icon}):null,c.jsxs("div",{className:O.mpMeta,children:[c.jsx("div",{className:O.mpLabel,children:e.label}),e.subLabel&&c.jsx("div",{className:O.mpDate,children:e.subLabel}),e.date&&c.jsx("div",{className:O.mpDate,children:e.date})]})]}),c.jsxs("div",{className:O.mpRight,children:[c.jsx("div",{className:O.mpValue,style:{color:e.valueColor??o??void 0},children:e.value}),e.badge?c.jsxs("div",{className:[O.mpBadge,e.badge.small?O.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??It(e.badge.color||o||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":It(e.badge.color||o||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[c.jsx("div",{className:O.mpBadgeTop,children:e.badge.text}),e.badge.subText&&c.jsx("div",{className:O.mpBadgeSub,children:e.badge.subText})]}):e.hint?c.jsx("div",{className:O.mpHint,children:e.hint}):null]})]})},nke=k.memo(ake),ES=({title:e,right:t})=>!e&&!t?null:c.jsxs("div",{className:O.mpHeader,children:[c.jsx("div",{className:O.mpTitle,children:e}),c.jsx("div",{children:t})]}),OS=(e,t=1)=>{try{return It(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},oke=({item:e})=>c.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:[c.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[c.jsx("div",{style:{fontSize:13,fontWeight:700,color:"#475569"},children:e.label}),c.jsx("div",{style:{fontSize:26,fontWeight:900,color:"#0f172a",lineHeight:1},children:e.value})]}),c.jsx("div",{title:String(e.label),style:{display:"flex",alignItems:"center",justifyContent:"center",width:48,height:48,borderRadius:10,background:e.iconSquareBg??OS("#7c3aed",.12),border:`1px solid ${OS(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),cke=({item:e,bg:t,onClick:n,width:o,height:i,extraStyle:r})=>c.jsxs("div",{className:O.mpSummaryCard,style:{background:t,width:o??void 0,height:i??void 0,...r??{}},role:n?"button":"group",tabIndex:n?0:-1,onClick:()=>n?.(e),children:[c.jsx("div",{className:O.mpSummaryLabel,children:e.label}),c.jsx("div",{className:O.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&c.jsxs("div",{className:O.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:O.mpSummaryBadgeSub,children:e.badge.subText})]})]}),US=(e,t=1)=>{try{return It(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},WS=e=>c.jsxs("div",{style:{display:"grid",gridTemplateRows:"auto 1fr",width:"100%",gap:8,alignItems:"center",boxSizing:"border-box",minWidth:0},children:[c.jsxs("div",{style:{display:"flex",justifyContent:"space-between-left",alignItems:"baseline",gap:10,width:"100%"},children:[c.jsx("div",{style:{fontWeight:700,fontSize:"clamp(14px, 1.2vw, 16px)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0},children:e.label}),e.subLabel?c.jsx("div",{style:{fontSize:"clamp(13px, 1.1vw, 15px)",fontWeight:600,whiteSpace:"nowrap"},children:e.subLabel}):null]}),c.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:15,width:"100%"},children:[c.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?c.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"8px 12px",borderRadius:10,backgroundColor:e.badge.bg?e.badge.bg:US("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:US("#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:[c.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?c.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]})]}),GS=(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}},ike=e=>{switch(e){case"image":return t=>k.createElement(oke,{item:t});case"pertinence":return t=>k.createElement(cke,{item:t});case"alternateHorizontal":return t=>GS(WS,t);case"compact":return t=>GS(WS,t);case"summary":return;case"default":default:return}},Sq=({item:e,orientation:t,bg:n,border:o,valueColor:i,onClick:r,width:s,height:d,extraStyle:l})=>{const u=t==="horizontal"?O.mpSummaryCardHorizontal:O.mpSummaryCard;return c.jsxs("div",{className:u,style:{background:n,border:`1px solid ${o}`,width:s??void 0,height:d??void 0,...l??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&c.jsxs("div",{className:O.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:O.mpSummaryBadgeSub,children:e.badge.subText})]}),c.jsx("div",{className:O.mpSummaryValue,style:{color:i},children:e.value}),c.jsx("div",{className:O.mpSummaryLabel,children:e.label})]})},rke=["transparent","transparent","transparent","transparent"],ske=["transparent","transparent","transparent","transparent"],dke=["#059669","#2563eb","#b45309","#7c3aed"],lke=(e,t=1)=>{try{return It(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},jq=e=>{const{items:t=[],layout:n="vertical",orientation:o="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=rke,summaryBorderColors:m=ske,summaryValueColors:_=dke,preset:M,background:v}=e,{itemsContainerStyle:x,itemsContainerClassName:C,summaryGridColumns:w,compactItemWidth:b,compactItemHeight:L,compactItemStyle:I,summaryCardWidth:S,summaryCardHeight:q,summaryCardStyle:N}=e,j=n==="vertical",T={"--mp-accent":r,"--mp-accent-soft":lke(r,.08),"--mp-bg-primary":v},D=[O.mpRoot,j?O.mpVertical:O.mpHorizontal,s?O.mpCompact:"",f?O.mpSummaryRoot:"",o!=="auto"?o==="vertical"?O.mpOrientationVertical:O.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),z=k.useMemo(()=>y||(ike(M)??void 0),[y,M]);if(f){const $=o==="horizontal"?O.mpSummaryFlex:O.mpSummaryVertical,B={...(w?{display:"grid",gridTemplateColumns:`repeat(${w}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...x??{}};return c.jsxs("div",{className:D,style:T,"aria-busy":u,children:[d&&c.jsx(ES,{title:d}),c.jsx("div",{className:O.mpSummaryInner,children:c.jsx("div",{className:`${$} ${C??""}`,style:B,children:t.length===0?c.jsx("div",{className:O.mpEmpty,children:p}):t.map((W,H)=>{const R=W.bgColor??g[H%g.length],Y=W.borderColor??m[H%m.length],ae=W.valueColor??_[H%_.length];return z?c.jsx("div",{className:o==="horizontal"?O.mpSummaryCardWrapperHorizontal:O.mpSummaryCardWrapper,style:{width:S??void 0,height:q??void 0,...N??{}},children:z(W,H)},W.id):c.jsx(Sq,{item:W,orientation:o==="horizontal"?"horizontal":"vertical",bg:R,border:Y,valueColor:ae,onClick:l,width:S??void 0,height:q??void 0,extraStyle:N},W.id)})})})]})}return c.jsxs("div",{className:D,style:T,"aria-busy":u,children:[d&&c.jsx(ES,{title:d}),c.jsx("div",{className:O.mpList,style:x,children:u?c.jsx("div",{className:O.mpEmpty,children:"Chargement…"}):t.length===0?c.jsx("div",{className:O.mpEmpty,children:p}):t.map($=>{const V=s?{width:b??void 0,height:L??void 0,boxSizing:"border-box",...I??{}}:void 0;return c.jsx("div",{className:s?O.compactItemWrapper:void 0,style:V,children:c.jsx(nke,{item:$,shape:i,onItemClick:l,color:r,renderItem:z?B=>z(B,t.indexOf(B)):void 0})},$.id)})})]})};k.memo(jq);const hke=({width:e,height:t,colors:n={text:"#0b1220",background:"#fff",contentBackground:"#efeff0"},titles:o={},placeholder:i="Loading Chart",style:r,className:s="",children:d,padding:l="1rem",variant:h="default",showBorder:u=!1})=>{const p=e?typeof e=="number"?`${e}px`:e:void 0,y=t?typeof t=="number"?`${t}px`:t:void 0,f=i&&typeof i=="object"&&!k.isValidElement(i)&&("text"in i||"subtext"in i||"icon"in i||"background"in i||"iconSize"in i),g=f?i:void 0,m=g?.icon?ht[g.icon]:void 0,_=28,M=g?.iconSize??_,v=["chart-container",`variant-${h}`,u?"with-border":"",s].filter(Boolean).join(" "),x=n.contentBackground??void 0,C=typeof l=="number"?`${l}px`:l;return c.jsxs("div",{className:v,style:{width:p,height:y,color:n.text,background:n.background,display:"flex",flexDirection:"column",boxSizing:"border-box",padding:C,...r},children:[c.jsxs("div",{className:"chart-header",children:[c.jsxs("div",{className:"chart-title-left",style:{display:"flex",alignItems:"center",gap:"8px"},children:[o.left,o.leftSubtitle&&c.jsx("div",{className:"chart-subtitle-left",children:o.leftSubtitle})]}),c.jsx("div",{className:"chart-title-right",children:o.right})]}),c.jsx("div",{className:"chart-content",style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",background:x},children:d||(f&&g?c.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[m&&c.jsx("div",{className:"placeholder-icon",style:{width:M,height:M},children:c.jsx(m,{color:g.iconColor??"currentColor",size:typeof M=="number"?M:parseInt(String(M),10)||_})}),g.text&&c.jsx("div",{className:"placeholder-text",children:g.text}),g.subtext&&c.jsx("div",{className:"placeholder-subtext",children:g.subtext})]}):c.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:i}))})]})},Vb=({id:e,size:t="100%",background:n,icon:o,text:i,subtext:r,onClose:s,onClick:d,style:l,className:h="",colorTextPrimary:u,colorTextSub:p,model:y})=>{const f=o||y?.icon?ht[o||y?.icon]:null;return c.jsxs("div",{id:e,className:`alert ${h}`,style:{width:typeof t=="number"?`${t}px`:t,background:n||y?.background,pointerEvents:"auto",...l},role:"alert",onClick:d,children:[f&&c.jsx(f,{className:"alert-icon",size:20,color:u||y?.colorTextPrimary}),c.jsxs("div",{className:"alert-content",children:[c.jsx("span",{className:"alert-text",style:{color:u||y?.colorTextPrimary},children:i}),r&&c.jsx("span",{className:"alert-subtext",style:{color:p||y?.colorTextSub},children:r})]}),s&&c.jsx("button",{className:"alert-close",onClick:s,"aria-label":"Fermer",children:"✕"})]})},$q=k.createContext(null),uke=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,pke=({children:e,defaultDuration:t=4e3,maxAlerts:n,containerClassName:o,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(L=>window.clearTimeout(L)),d.current.clear()},[]);const p=(L,I)=>{const S=I===void 0||I===0?t:I;if(S===-1)return;const q=window.setTimeout(()=>{g(L)},S);d.current.set(L,q)},y=L=>{const I=d.current.get(L);I&&(window.clearTimeout(I),d.current.delete(L))},f=L=>{const I=uke(),S={...L,id:I,createdAt:Date.now()};return s(q=>{const N=[S,...q],j=u.current;return typeof j=="number"&&j>=0&&N.length>j?(N.slice(j).forEach(D=>y(D.id)),N.slice(0,j)):N}),p(I,L.duration),I},g=L=>{y(L),s(I=>I.filter(S=>S.id!==L))},m=(L,I)=>{s(S=>S.map(q=>q.id===L?{...q,...I}:q))},_=()=>{d.current.forEach(L=>window.clearTimeout(L)),d.current.clear(),s([])},M=L=>{h.current=L},v=()=>r.slice(),x=k.useMemo(()=>({showAlert:f,dismissAlert:g,updateAlert:m,clearAlerts:_,setContainerRef:M,getAlertsSnapshot:v}),[r]),C=h.current,w=c.jsx(Yde,{mode:"popLayout",children:r.map(L=>c.jsx(jb.div,{initial:{opacity:0,y:-50},animate:{opacity:1,y:0},exit:{opacity:0,y:-50},transition:{type:"tween",ease:[.4,0,.2,1],duration:.5},style:{width:"100%"},children:c.jsx(Vb,{id:L.id,text:L.text,subtext:L.subtext,icon:L.icon,background:L.background,colorTextPrimary:L.colorTextPrimary,colorTextSub:L.colorTextSub,model:L.model,onClose:()=>g(L.id),size:"100%"})},L.id))}),b=c.jsx("div",{ref:L=>{h.current||(l.current=L)},className:o,style:{width:"100%",display:"flex",flexDirection:"column",gap:5,...r.length&&{padding:"20px"},...i},"aria-live":"polite",children:w});return c.jsxs($q.Provider,{value:x,children:[C?QS.createPortal(w,C):b,e]})},yke=()=>{const e=k.useContext($q);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},kke={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"}},mke="_container_18zbo_1",fke="_icon_18zbo_9",gke="_selectWrapper_18zbo_23",Mw={container:mke,icon:fke,selectWrapper:gke},vke=({options:e,defaultValue:t,onChange:n,label:o})=>{const[i,r]=k.useState(t||e[0]?.value||""),s=d=>{r(d),n?.(d)};return c.jsxs("div",{className:Mw.container,children:[c.jsxs("div",{className:Mw.icon,children:[c.jsx(o1,{size:18}),c.jsx("p",{children:o})]}),c.jsx("div",{className:Mw.selectWrapper,children:c.jsx($b,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},Mke=250,_ke=k.forwardRef(({title:e,subtitle:t,size:n="420px",beforeOpen:o,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,_]=k.useState(!1),M=k.useRef(null),v=k.useRef(null),x=k.useRef(null),C=k.useRef(null);k.useEffect(()=>{const L=M.current;if(!L)return;const I=L.parentElement;return I?(window.getComputedStyle(I).position==="static"&&(I.setAttribute("data-scp-prev-position",I.style.position??""),I.style.position="relative",I.setAttribute("data-scp-position-changed","true")),()=>{if(I.getAttribute("data-scp-position-changed")==="true"){const q=I.getAttribute("data-scp-prev-position")??"";I.style.position=q,I.removeAttribute("data-scp-position-changed"),I.removeAttribute("data-scp-prev-position")}}):void 0},[]),k.useImperativeHandle(y,()=>({open:()=>{f||(o?.(),_(!1),g(!0))},close:()=>{f&&(r?.(),_(!1),g(!1))},toggle:()=>{f?(r?.(),_(!1),g(!1)):(o?.(),_(!1),g(!0))}}),[f,o,r]),k.useEffect(()=>{const L=v.current;C.current&&(window.clearTimeout(C.current),C.current=null);const I=S=>{if(S.target===L&&!(S.propertyName!=="transform"&&S.propertyName!=="opacity"))if(f){_(!0),i?.();try{L?.focus()}catch{}}else{s?.();try{x.current?.focus()}catch{}}};return L&&(L.addEventListener("transitionend",I),C.current=window.setTimeout(()=>{if(f){_(!0),i?.();try{L?.focus()}catch{}}else{s?.();try{x.current?.focus()}catch{}}},Mke+60)),f&&(x.current=document.activeElement),()=>{L&&L.removeEventListener("transitionend",I),C.current&&(window.clearTimeout(C.current),C.current=null)}},[f,i,s]),k.useEffect(()=>{const L=I=>{I.key==="Escape"&&f&&(r?.(),_(!1),g(!1))};return window.addEventListener("keydown",L),()=>window.removeEventListener("keydown",L)},[f,r]);const w=()=>{u&&(r?.(),_(!1),g(!1))},b=typeof n=="number"?`${n}px`:n;return c.jsxs("div",{ref:M,className:`scp-inline-root ${f?"open":""}`,"aria-hidden":!f,children:[c.jsx("div",{className:`scp-overlay ${f?"visible":""}`,onMouseDown:w,role:"presentation"}),c.jsxs("aside",{className:`scp-panel ${f?"in":"out"} ${m?"interactive":""} ${l}`,style:{width:b,...d},ref:v,tabIndex:-1,role:"dialog","aria-label":e,children:[c.jsxs("div",{className:"scp-header",children:[c.jsxs("div",{children:[c.jsx("h3",{className:"scp-title",children:e}),t&&c.jsx("div",{className:"scp-subtitle",children:t})]}),p&&c.jsx("button",{className:"scp-close","aria-label":"Close",onClick:()=>{r?.(),_(!1),g(!1)},children:c.jsx(Ke,{size:18})})]}),c.jsx("div",{className:"scp-body",children:h})]})]})});function xke(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 Lke="_container_1pfsp_1",Ike="_title_1pfsp_8",ZS={container:Lke,title:Ike},wke=({title:e,fontSize:t,barColor:n,className:o="",style:i={}})=>{const r={...i,"--title-font-size":t,"--bar-color":n};return c.jsx("div",{className:`${ZS.container} ${o}`,style:r,children:c.jsx("h2",{className:ZS.title,children:e})})},bke="_modalOverlay_1dmfp_1",Cke="_modalContainer_1dmfp_16",Nke="_modalTitle_1dmfp_29",Ske="_modalInput_1dmfp_38",jke="_modalTextarea_1dmfp_39",$ke="_modalActions_1dmfp_71",qke="_cancelBtn_1dmfp_78",Ake="_saveBtn_1dmfp_100",zke="_inputError_1dmfp_148",Vke="_inlineAlert_1dmfp_153",Ge={modalOverlay:bke,modalContainer:Cke,modalTitle:Nke,modalInput:Ske,modalTextarea:jke,modalActions:$ke,cancelBtn:qke,saveBtn:Ake,inputError:zke,inlineAlert:Vke},Ic=({isOpen:e,onClose:t,onSave:n,title:o="Ajouter un élément",fields:i,initialValues:r={},errorMessage:s="",disableSave:d,onFieldChange:l})=>{const[h,u]=k.useState({}),p=k.useRef(null),[y,f]=k.useState(!1),[g,m]=k.useState(!1),_=k.useRef(null);if(k.useEffect(()=>{if(!e)return;const w={};for(const b of i)w[b.name]=Object.prototype.hasOwnProperty.call(r,b.name)?r[b.name]:"";return u(w),requestAnimationFrame(()=>{p.current?.focus();const b=p.current;if(b&&typeof b.selectionStart=="number"){const L=String(b.value??"").length;b.setSelectionRange(L,L)}}),()=>{_.current&&(window.clearTimeout(_.current),_.current=null)}},[e]),k.useEffect(()=>{s&&e?(m(!0),_.current&&(window.clearTimeout(_.current),_.current=null),_.current=window.setTimeout(()=>{m(!1),_.current=null},3e3)):(m(!1),_.current&&(window.clearTimeout(_.current),_.current=null))},[s,e]),!e)return null;const M=(w,b)=>{u(L=>({...L,[w]:b})),l&&l(w,b)},v=async()=>{if(!Object.values(h).some(w=>w===""||w===void 0))try{f(!0);const w=await n(h);if(typeof w=="string"&&w==="duplicate-same"){f(!1);return}u({}),f(!1),t()}catch(w){console.error("AddItemModal onSave error:",w),f(!1),t()}},x=w=>{w.target===w.currentTarget&&t()},C=w=>w.stopPropagation();return c.jsx("div",{className:Ge.modalOverlay,onMouseDown:x,role:"dialog","aria-modal":"true",children:c.jsxs("div",{className:Ge.modalContainer,onMouseDown:C,onClick:C,children:[c.jsx("h2",{className:Ge.modalTitle,children:o}),i.map((w,b)=>{const L=h[w.name]??"",I=b===0&&!!s,S={name:w.name,placeholder:w.placeholder||w.label,value:String(L),onChange:q=>M(w.name,q.target.value),className:w.type==="textarea"?`${Ge.modalTextarea} ${I?Ge.inputError:""}`:`${Ge.modalInput} ${I?Ge.inputError:""}`,tabIndex:0,disabled:y};return b===0&&(S.ref=q=>{p.current=q}),c.jsxs("div",{style:{marginBottom:8},children:[w.type==="textarea"?c.jsx("textarea",{rows:w.rows||4,...S}):c.jsx("input",{type:w.type||"text",...S}),b===0&&g&&s&&c.jsx("div",{style:{marginTop:8},children:c.jsx(Vb,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>m(!1),className:Ge.inlineAlert})})]},w.name)}),c.jsxs("div",{className:Ge.modalActions,children:[c.jsx("button",{className:Ge.cancelBtn,onClick:t,type:"button",disabled:y,children:"Annuler"}),c.jsx("button",{className:Ge.saveBtn,onClick:v,type:"button",disabled:y||!!d,children:y?"En cours...":"Valider"})]})]})})},Pke=({title:e,keyCount:t,onAddKey:n})=>{const[o,i]=k.useState(!1),r=s=>{const d=s.key;n&&d&&n(d)};return c.jsxs("div",{className:"header-container",children:[c.jsxs("div",{className:"header-info",children:[c.jsx("h1",{children:e}),c.jsxs("p",{children:[t," clés"]})]}),c.jsxs("button",{onClick:()=>i(!0),className:"add-key-button",children:[c.jsx(Dc,{className:"add-key-icon"}),"Clé"]}),c.jsx(Ic,{isOpen:o,title:"Ajouter une clé",onClose:()=>i(!1),onSave:r,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},Tke=({modules:e,onEdit:t,onDelete:n,onAddModule:o,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),_=()=>l(!1),M=L=>{if(o){const I=L.code?.trim()||L.id?.trim(),S=L.title?.trim(),q=I||S||String(Date.now()),N=S||I||`Module ${q}`;o({id:q,title:N,subtitle:"",translations:{}})}_()},v=(L,I)=>{L.stopPropagation(),u(I)},x=()=>u(null),C=L=>{if(!h){x();return}const I={...h,title:L.title||h.title,subtitle:""};t&&t(I),x()},w=(L,I)=>{L.stopPropagation(),n&&n(I)},b=L=>{y(L.id),i&&i(L)};return f?c.jsx("div",{className:"module-sidebar collapsed",children:c.jsx(Hc,{size:20,className:"menu-toggle",onClick:()=>g(!1)})}):c.jsxs("div",{className:"module-sidebar",children:[c.jsxs("div",{className:"sidebar-header",children:[c.jsxs("span",{className:"header-text",children:["Modules (",e.length,")"]}),c.jsxs("div",{className:"header-actions",children:[c.jsx(Tc,{size:18,className:"header-folder",onClick:m}),c.jsx(Hc,{size:18,className:"header-menu",onClick:()=>g(!0)})]})]}),c.jsx("hr",{className:"divider"}),c.jsx("div",{className:"module-list",children:e.map(L=>{const I=Object.keys(L.translations||{}).length,S=I>0||L.id===p;return c.jsxs("div",{className:`module-item ${L.id===p?"selected":""}`,onClick:()=>b(L),role:"button",tabIndex:0,onKeyDown:q=>{q.key==="Enter"&&b(L)},children:[c.jsxs("div",{className:"module-left",children:[c.jsx(d1,{size:16,className:"item-folder"}),c.jsxs("div",{className:"module-info",children:[c.jsxs("div",{className:"module-title",children:[L.title,S&&c.jsxs("span",{className:"count",children:[" ",I," "]})]}),L.subtitle?c.jsx("div",{className:"module-subtitle",children:L.subtitle}):null]})]}),c.jsxs("div",{className:"module-actions",children:[t&&c.jsx(u1,{onClick:q=>v(q,L),color:"#777",size:16}),n&&c.jsx(bt,{onClick:q=>w(q,L.id),color:"#777",size:16})]})]},L.id)})}),c.jsx(Ic,{isOpen:d,onClose:_,onSave:M,title:s||"Ajouter un module",fields:r&&r.length?r.map(L=>({name:L.name,label:L.label,type:L.type,placeholder:L.placeholder,rows:L.rows})):[{name:"title",label:"Titre",placeholder:"Titre du module"}]}),h&&c.jsx(Ic,{isOpen:!!h,onClose:x,onSave:C,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},qq=({placeholder:e="Rechercher une clé ou traduction...",value:t="",onChange:n,iconPosition:o="left",iconColor:i="#9ca3af"})=>c.jsxs("div",{className:`search-container icon-${o}`,children:[c.jsx("div",{className:"search-icon-wrapper",children:c.jsx(p1,{className:"search-icon",color:i})}),c.jsx("input",{type:"text",placeholder:e,value:t,onChange:r=>n?.(r.target.value),className:"search-input"})]}),Hke=({keyName:e,translations:t,availableLanguages:n,onDeleteKey:o,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),[_,M]=k.useState(""),[v,x]=k.useState(""),[C,w]=k.useState(!1),[b,L]=k.useState(!1),[I,S]=k.useState(null),[q,N]=k.useState(!1),j=t.map(H=>H.language),T=n.filter(H=>!j.includes(H.code)),D=()=>{y&&v.trim()&&(d?.(e,y,v.trim()),f(""),x(""),p(!1))},z=(H,R)=>{m(H),M(R)},$=H=>{r?.(e,H,_),m(null),M("")},V=()=>{m(null),M("")},B=async H=>{const R=H.name?.trim();if(R){if(S(null),N(!1),R===e||!i)return w(!1),"ok";try{const Y=await i(e,R);if(typeof Y=="string"&&Y==="ok")w(!1),S(null);else{if(typeof Y=="string"&&Y==="duplicate-same")return S("Une clé existe déjà dans ce module."),N(!0),"duplicate-same";if(typeof Y=="string"&&Y==="duplicate-other")return w(!1),S(null),"duplicate-other";w(!1)}}catch(Y){console.error("Erreur handleRenameSave:",Y),S("Erreur lors du renommage.")}}},W=(H,R)=>{if(H!=="name")return;const Y=R.trim();S(null),N(!1),Y&&typeof h=="function"&&(h(Y,e)?(S("Une clé existe déjà dans ce module."),N(!0)):(S(null),N(!1)))};return c.jsxs("div",{className:`translation-key ${b?"collapsed":"expanded"} ${l?"draggable":""}`,children:[c.jsxs("div",{className:"card-header",children:[c.jsxs("div",{className:"header-left",children:[c.jsx("button",{className:"collapse-button",onClick:()=>L(!b),title:b?"Déplier":"Replier",children:b?c.jsx(i1,{className:"collapse-icon"}):c.jsx(wt,{className:"collapse-icon"})}),c.jsx("h3",{className:"card-title",title:e,children:e})]}),c.jsxs("div",{className:"header-actions",children:[c.jsx("button",{className:"action-button",onClick:H=>{H.stopPropagation(),w(!0)},title:"Renommer la clé",children:c.jsx(dt,{className:"action-icon"})}),c.jsx("button",{onClick:H=>{H.stopPropagation(),o?.(e)},className:"action-button delete",title:"Supprimer la clé",children:c.jsx(bt,{className:"action-icon"})})]})]}),c.jsx("div",{className:`translations-container ${b?"":"expanded"}`,children:!l&&c.jsxs(c.Fragment,{children:[t.map(H=>c.jsxs("div",{className:"translation-row",children:[c.jsx("div",{className:"language-code",children:H.language}),c.jsx("div",{className:"translation-content",children:g===H.language?c.jsxs(c.Fragment,{children:[c.jsx("input",{type:"text",value:_,onChange:R=>M(R.target.value),className:"edit-input",autoFocus:!0,onKeyDown:R=>{R.key==="Enter"&&$(H.language),R.key==="Escape"&&V()}}),c.jsx("button",{onClick:()=>$(H.language),className:"save-button",disabled:!_.trim(),children:"Enregistrer"}),c.jsx("button",{onClick:V,className:"cancel-button",children:c.jsx(Ke,{className:"action-icon"})})]}):c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"translation-text",title:H.value,children:H.value}),c.jsx("button",{onClick:()=>z(H.language,H.value),className:"edit-button",title:"Éditer la traduction",children:c.jsx(dt,{className:"action-icon"})}),c.jsx("button",{onClick:()=>s?.(e,H.language),className:"delete-translation-button",title:"Supprimer la traduction",children:c.jsx(Ke,{className:"action-icon"})})]})})]},H.language)),u?c.jsxs("div",{className:"add-language-row",children:[c.jsx("div",{className:"language-code",children:"+"}),c.jsxs("div",{className:"add-language-content",children:[c.jsx("div",{className:"language-select-container",children:c.jsxs("select",{value:y,onChange:H=>f(H.target.value),className:"language-select",children:[c.jsx("option",{value:"",children:"Sélectionnez la langue"}),T.map(H=>c.jsxs("option",{value:H.code,children:[H.name," (",H.code,")"]},H.code))]})}),y&&c.jsx("input",{type:"text",value:v,onChange:H=>x(H.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:H=>{H.key==="Enter"&&D(),H.key==="Escape"&&(p(!1),f(""),x(""))}}),c.jsx("button",{onClick:D,disabled:!y||!v.trim(),className:"save-button",children:"Ajouter"}),c.jsx("button",{onClick:()=>{p(!1),f(""),x("")},className:"cancel-button",children:c.jsx(Ke,{className:"action-icon"})})]})]}):c.jsxs("button",{onClick:()=>p(!0),className:"show-add-button",disabled:T.length===0,children:[c.jsx("span",{className:"plus-icon",children:"+"}),"Ajouter une langue"]})]})}),l&&c.jsxs("div",{className:"drag-overlay",children:[c.jsx(a.Move,{size:24,strokeWidth:1.5}),c.jsx("span",{children:"Glisser pour réorganiser"})]}),c.jsx(Ic,{isOpen:C,onClose:()=>{w(!1),S(null),N(!1)},onSave:B,onFieldChange:W,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:I||"",disableSave:q})]})},Dke="_wrapper_1wvht_1",Bke="_leftGroup_1wvht_12",Rke="_filterButton_1wvht_21",Fke="_open_1wvht_42",Eke="_filterIcon_1wvht_42",Oke="_infoText_1wvht_58",Uke="_pickerContainer_1wvht_66",Wke="_srOnly_1wvht_79",Gke="_pickerLabel_1wvht_91",Zke="_datetime_1wvht_98",Kke="_rightGroup_1wvht_107",Xke="_searchInputWrap_1wvht_116",Yke="_searchInput_1wvht_116",Jke="_searchIcon_1wvht_152",qe={wrapper:Dke,leftGroup:Bke,filterButton:Rke,open:Fke,filterIcon:Eke,infoText:Oke,pickerContainer:Uke,srOnly:Wke,pickerLabel:Gke,datetime:Zke,rightGroup:Kke,searchInputWrap:Xke,searchInput:Yke,searchIcon:Jke};function Qke({onDateChange:e,onSearch:t,initialDate:n}){const[o,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 c.jsxs("div",{className:qe.wrapper,ref:d,children:[c.jsxs("div",{className:qe.leftGroup,children:[c.jsxs("button",{type:"button",className:`${qe.filterButton} ${o?qe.open:""}`,onClick:l,"aria-expanded":o,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[c.jsx("span",{children:"Entry time"}),c.jsx("svg",{className:qe.filterIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"14",height:"14","aria-hidden":!0,children:c.jsx("path",{fill:"currentColor",d:"M10 18h4v-2h-4v2zm-7-8v2h18V10H3zm3-6v2h12V4H6z"})})]}),c.jsx("div",{className:qe.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),o&&c.jsxs("div",{className:qe.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[c.jsx("label",{className:qe.pickerLabel,htmlFor:"entry-datetime",children:c.jsx("span",{className:qe.srOnly,children:"Choisir la date et l’heure"})}),c.jsx("input",{id:"entry-datetime",className:qe.datetime,type:"datetime-local",value:r,onChange:h,"aria-label":"Date et heure d’entrée"})]})]}),c.jsx("div",{className:qe.rightGroup,children:c.jsxs("div",{className:qe.searchInputWrap,children:[c.jsx("input",{className:qe.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),c.jsx("svg",{className:qe.searchIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16","aria-hidden":!0,children:c.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 e3e=({className:e="",style:t={},title:n,titleClassName:o="",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,_=g.every(C=>typeof C=="string"),M=g.some(C=>Array.isArray(C)),v=(C,w,b)=>d?d(C,w,b):c.jsx("span",{className:"slb-cell-text",children:C}),x=f?{"--col-gap":f}:void 0;return m?c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{...i,background:h??void 0,color:u??void 0},children:n}),c.jsx("div",{className:"slb-empty",children:y??null})]}):_&&!M?c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{background:h??void 0,color:u??void 0},children:n}),c.jsx("ul",{className:"slb-list",children:g.map((C,w)=>c.jsx("li",{className:`slb-item ${s[w]||""}`,style:{background:p??void 0},children:v(C,w,0)},w))})]}):c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{background:h??void 0,color:u??void 0},children:n}),c.jsx("div",{className:"slb-grid",style:x,children:g.map((C,w)=>{const b=s[w]||"";if(Array.isArray(C)){const[L,I]=C;return c.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[c.jsx("div",{className:"slb-grid-left",children:v(L,w,0)}),c.jsx("div",{className:"slb-grid-right",children:v(I,w,1)})]},w)}return c.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[c.jsx("div",{className:"slb-grid-left",children:v(C,w,0)}),c.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},w)})})]})},t3e=({className:e="",style:t={},title:n,titleColor:o,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 c.jsxs("div",{className:`clb-root ${e}`,style:{...t},children:[n&&c.jsx("div",{className:"clb-title",style:o?{color:o}:void 0,children:n}),c.jsx("div",{className:"clb-grid",style:f,children:i.map((g,m)=>{const _=u[m]||"";if(Array.isArray(g)){const[M,v]=g,x=s[m]||r;return c.jsxs("div",{className:`clb-row ${_}`,style:{background:h??void 0},children:[c.jsx("div",{className:"clb-badge-col",children:c.jsx("div",{className:"counter-badge",style:{background:x,padding:d,width:l,minWidth:l},children:M})}),c.jsx("div",{className:"clb-text",children:v})]},m)}return y?c.jsxs("div",{className:`clb-row ${_}`,style:{background:h??void 0},children:[c.jsx("div",{className:"clb-badge-col clb-empty-badge"}),c.jsx("div",{className:"clb-text",children:g})]},m):c.jsx("div",{className:`clb-fullrow ${_}`,style:{background:h??void 0},children:c.jsx("span",{children:g})},m)})})]})},a3e=({className:e="",style:t={},title:n,items:o=[],titleBg:i,titleColor:r,itemBg:s,lineClasses:d={},renderTrendIcon:l,colGap:h="1rem"})=>{const u=h?{"--col-gap":h}:void 0;return c.jsxs("div",{className:`tlb-root ${e}`,style:{...t,background:s??void 0},children:[n&&c.jsx("div",{className:"tlb-title",style:{background:i??void 0,color:r??void 0},children:n}),c.jsx("div",{className:"tlb-grid",style:u,children:o.map((p,y)=>{const f=d[y]||"";return c.jsxs("div",{className:`tlb-row ${f}`,style:{background:s??void 0},children:[c.jsx("div",{className:"tlb-label",children:p.label}),c.jsxs("div",{className:"tlb-value-group",children:[c.jsx("div",{className:"tlb-icon-col",children:l?l(p):p.icon??null}),c.jsxs("div",{className:"tlb-value-wrap",children:[c.jsx("div",{className:"tlb-value",children:p.value}),typeof p.delta<"u"&&c.jsx("div",{className:`tlb-delta ${p.delta>0?"positive":p.delta<0?"negative":"neutral"}`,children:p.deltaLabel??String(p.delta)})]})]})]},y)})})]})},n3e=({className:e="",style:t={},children:n,gap:o="1rem"})=>c.jsx("div",{className:`frc-root ${e}`,style:{...t,"--frc-gap":o},children:k.Children.map(n,i=>c.jsx("div",{className:"frc-item",children:i}))}),o3e=({className:e="",style:t={},children:n,gap:o="1rem",background:i="#D9EEF5"})=>c.jsx("div",{className:`lcc-root ${e}`,style:{background:i,...t,"--lcc-gap":o},children:k.Children.map(n,r=>c.jsx("div",{className:"lcc-cell",children:r}))}),c3e="_overlay_i1ay5_2",i3e="_fadeIn_i1ay5_1",r3e="_popup_i1ay5_17",s3e="_slideUp_i1ay5_1",d3e="_header_i1ay5_28",l3e="_body_i1ay5_40",h3e="_footer_i1ay5_51",u3e="_cancelButton_i1ay5_59",p3e="_confirmButton_i1ay5_77",y3e="_warning_i1ay5_97",k3e="_danger_i1ay5_106",m3e="_info_i1ay5_115",mt={overlay:c3e,fadeIn:i3e,popup:r3e,slideUp:s3e,header:d3e,body:l3e,footer:h3e,cancelButton:u3e,confirmButton:p3e,warning:y3e,danger:k3e,info:m3e},f3e=({isOpen:e,title:t,message:n,onConfirm:o,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&&o()};return c.jsx("div",{className:mt.overlay,onClick:l,onKeyDown:h,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:c.jsxs("div",{className:`${mt.popup} ${mt[d]}`,children:[c.jsx("div",{className:mt.header,children:c.jsx("h3",{id:"confirmation-title",children:t})}),c.jsx("div",{className:mt.body,children:c.jsx("p",{id:"confirmation-message",children:n})}),c.jsxs("div",{className:mt.footer,children:[c.jsx("button",{className:mt.cancelButton,onClick:i,type:"button",children:s}),c.jsx("button",{className:mt.confirmButton,onClick:o,type:"button",autoFocus:!0,children:r})]})]})})},g3e=()=>{const[e,t]=k.useState({isOpen:!1,title:"",message:"",onConfirm:null}),n=k.useCallback((r,s,d)=>{t({isOpen:!0,title:r,message:s,onConfirm:d})},[]),o=k.useCallback(()=>{t(r=>({...r,isOpen:!1,onConfirm:null}))},[]),i=k.useCallback(()=>{e.onConfirm?.(),o()},[e.onConfirm,o]);return{isOpen:e.isOpen,title:e.title,message:e.message,showConfirmation:n,hideConfirmation:o,handleConfirm:i}},v3e="_container_ciuhs_1",M3e="_selectButton_ciuhs_11",_3e="_disabled_ciuhs_37",x3e="_error_ciuhs_57",L3e="_outline_ciuhs_85",I3e="_filled_ciuhs_105",w3e="_sm_ciuhs_123",b3e="_md_ciuhs_133",C3e="_lg_ciuhs_143",N3e="_buttonContent_ciuhs_153",S3e="_label_ciuhs_167",j3e="_placeholder_ciuhs_183",$3e="_iconsContainer_ciuhs_191",q3e="_loadingSpinner_ciuhs_207",A3e="_spin_ciuhs_1",z3e="_arrowIcon_ciuhs_247",V3e="_arrowIconOpen_ciuhs_263",P3e="_dropdown_ciuhs_271",T3e="_searchContainer_ciuhs_301",H3e="_searchInput_ciuhs_309",D3e="_optionsList_ciuhs_357",B3e="_noResults_ciuhs_367",R3e="_option_ciuhs_357",F3e="_optionHighlighted_ciuhs_411",E3e="_optionSelected_ciuhs_421",O3e="_optionDisabled_ciuhs_433",U3e="_optionLabel_ciuhs_443",W3e="_checkIcon_ciuhs_457",G3e="_widthFull_ciuhs_473",Z3e="_width64_ciuhs_481",K3e="_width80_ciuhs_489",X3e="_width96_ciuhs_497",te={container:v3e,selectButton:M3e,disabled:_3e,error:x3e,default:"_default_ciuhs_75",outline:L3e,filled:I3e,sm:w3e,md:b3e,lg:C3e,buttonContent:N3e,label:S3e,placeholder:j3e,iconsContainer:$3e,loadingSpinner:q3e,spin:A3e,arrowIcon:z3e,arrowIconOpen:V3e,dropdown:P3e,searchContainer:T3e,searchInput:H3e,optionsList:D3e,noResults:B3e,option:R3e,optionHighlighted:F3e,optionSelected:E3e,optionDisabled:O3e,optionLabel:U3e,checkIcon:W3e,widthFull:G3e,width64:Z3e,width80:K3e,width96:X3e},Y3e=({options:e,value:t,onChange:n,placeholder:o="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"})=>{const[p,y]=k.useState(!1),[f,g]=k.useState(""),[m,_]=k.useState(0),M=k.useRef(null),v=k.useRef(null),x=k.useMemo(()=>f?e.filter(N=>N.label.toLowerCase().includes(f.toLowerCase())):e,[e,f]),C=e.find(N=>N.value===t);k.useEffect(()=>{const N=j=>{v.current&&!v.current.contains(j.target)&&(y(!1),g(""))};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]),k.useEffect(()=>{_(0)},[x]);const w=N=>{N.disabled||(n?.(N.value,N),y(!1),g(""))},b=N=>{g(N.target.value),p||y(!0)},L=N=>{if(!p){(N.key==="ArrowDown"||N.key==="Enter")&&y(!0);return}switch(N.key){case"ArrowDown":N.preventDefault(),_(j=>j<x.length-1?j+1:j);break;case"ArrowUp":N.preventDefault(),_(j=>j>0?j-1:j);break;case"Enter":N.preventDefault(),x[m]&&w(x[m]);break;case"Escape":y(!1),g("");break}},I=()=>[te.selectButton,te[l],te[h],i?te.disabled:"",s?te.error:"",d].filter(Boolean).join(" "),S=()=>{switch(u){case"w-64":return te.width64;case"w-80":return te.width80;case"w-96":return te.width96;default:return te.widthFull}},q=(N,j)=>[te.option,j===m?te.optionHighlighted:"",N.value===t?te.optionSelected:"",N.disabled?te.optionDisabled:""].filter(Boolean).join(" ");return c.jsxs("div",{className:`${te.container} ${S()}`,ref:v,children:[c.jsx("button",{className:I(),onClick:()=>!i&&y(!p),onKeyDown:L,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":p,disabled:i,children:c.jsxs("div",{className:te.buttonContent,children:[c.jsx("span",{className:`${te.label} ${C?"":te.placeholder}`,children:C?C.label:o}),c.jsxs("div",{className:te.iconsContainer,children:[r&&c.jsx("div",{className:te.loadingSpinner}),c.jsx("svg",{className:`${te.arrowIcon} ${p?te.arrowIconOpen:""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})]})}),p&&c.jsxs("div",{className:`${te.dropdown} ${S()}`,children:[c.jsx("div",{className:te.searchContainer,children:c.jsx("input",{id:"search",ref:M,type:"text",value:f,onChange:b,placeholder:"Rechercher...",className:te.searchInput,autoFocus:!0})}),c.jsx("div",{className:te.optionsList,children:x.length===0?c.jsx("div",{className:te.noResults,children:"Aucun résultat trouvé"}):c.jsx("ul",{role:"listbox",children:x.map((N,j)=>c.jsx("li",{className:q(N,j),onClick:()=>w(N),onMouseEnter:()=>_(j),role:"option","aria-selected":N.value===t,"aria-disabled":N.disabled,children:c.jsxs("div",{className:te.buttonContent,children:[c.jsx("span",{className:te.optionLabel,title:N.label,children:N.label}),N.value===t&&c.jsx("svg",{className:te.checkIcon,fill:"currentColor",viewBox:"0 0 20 20",children:c.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"})})]})},N.value))})})]})]})},J3e="_container_uq7pt_1",Q3e="_item_uq7pt_7",eme="_mainValue_uq7pt_13",tme="_label_uq7pt_17",ame="_subValue_uq7pt_22",nme="_subValueWrapper_uq7pt_27",ome="_subSeparator_uq7pt_32",Re={container:J3e,item:Q3e,mainValue:eme,label:tme,subValue:ame,subValueWrapper:nme,subSeparator:ome},cme=({dms:e,stats:t=[],itemWidth:n="120px",valueFontSize:o="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(_=>_.trim());return c.jsxs("span",{className:Re.subValueWrapper,children:[c.jsx("span",{className:Re.subLeft,style:{color:y},children:g}),c.jsx("span",{className:Re.subSeparator,children:" / "}),c.jsx("span",{className:Re.subRight,style:{color:f},children:m})]})};return c.jsxs("div",{className:Re.container,style:{backgroundColor:d},children:[e&&c.jsxs("div",{className:Re.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:Re.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:e}),c.jsx("div",{className:Re.label,style:{color:l},children:"DMS"})]}),t.map((p,y)=>c.jsxs("div",{className:Re.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:Re.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:p.value}),c.jsx("div",{className:Re.label,style:{color:l},children:p.label}),c.jsx("div",{className:Re.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},ime="_encours_16ist_1",rme="_header_16ist_19",sme="_iconWrap_16ist_27",dme="_title_16ist_36",lme="_items_16ist_47",hme="_spaceEvenly_16ist_56",ume="_item_16ist_47",pme="_valueContainer_16ist_86",yme="_value_16ist_86",kme="_label_16ist_108",et={encours:ime,header:rme,iconWrap:sme,title:dme,items:lme,spaceEvenly:hme,item:ume,valueContainer:pme,value:yme,label:kme},vc=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function mme(e,t){const n={},o={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=vc(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=vc(t.defaultValueFontSize)),e.valueFontWeight!==void 0?n.fontWeight=e.valueFontWeight:t.defaultValueFontWeight!==void 0&&(n.fontWeight=t.defaultValueFontWeight),e.labelColor&&(o.color=e.labelColor),e.labelFontSize!==void 0?o.fontSize=vc(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(o.fontSize=vc(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?o.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(o.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:o}}function fme(){return c.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[c.jsx("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"1.4"}),c.jsx("path",{d:"M8 12h8",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})]})}function gme(e){const{title:t,titleColor:n,titleFontSize:o,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:_,className:M,ariaLabel:v}=e,x=r?ht[r]:void 0,C={background:g,width:vc(m),...f},w={};n&&(w.color=n),o!==void 0&&(w.fontSize=vc(o)),i!==void 0&&(w.fontWeight=i);const b={};return d&&(b.color=d),c.jsxs("section",{className:`${et.encours} ${M??""}`,style:C,"aria-label":v??t,children:[c.jsxs("div",{className:et.header,children:[c.jsx("div",{className:et.iconWrap,"aria-hidden":!0,style:b,children:x?c.jsx(x,{size:typeof s=="number"?s:void 0}):c.jsx(fme,{})}),c.jsx("div",{className:et.title,style:w,children:t})]}),c.jsx("div",{className:`${et.items} ${_===void 0?et.spaceEvenly:""}`,role:"list",style:_!==void 0?{gap:`${_}px`}:{},children:y.map((L,I)=>{const{valueStyle:S,labelStyle:q}=mme(L,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return c.jsx("div",{className:et.item,role:"listitem",style:{...L.background?{background:L.background}:{},...L.width?{width:vc(L.width)}:{}},children:c.jsxs("div",{className:et.valueContainer,children:[c.jsx("div",{className:et.value,style:S,children:L.value}),L.label&&c.jsx("div",{className:et.label,style:q,children:L.label})]})},`${String(L.label??L.value)}-${I}`)})})]})}const vme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M480-360 280-559h400z"})),Mme=k.memo(vme),_me=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"m280-400 200-201 200 201z"})),xme=k.memo(_me),Lme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},K.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"})),Ime=k.memo(Lme),wme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},K.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"})),bme=k.memo(wme),Cme=({items:e,onSave:t,loading:n,disabled:o,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})=>{const[u,p]=k.useState(!1),[y,f]=k.useState(e),[g,m]=k.useState(!1);if(k.useEffect(()=>{m(!0)},[]),k.useEffect(()=>{f(e)},[e]),!g)return null;const _=(v,x)=>{x<4||f(C=>C.map(w=>w.component_key===v?{...w,visible:!w.visible}:w))},M=()=>{t(y),p(!1)};return c.jsxs("div",{style:{position:"relative",display:"inline-block",...h},children:[c.jsxs("div",{onClick:()=>{o||p(!u)},style:{display:"flex",alignItems:"center",cursor:o?"not-allowed":"pointer",borderRadius:4,transition:"background 0.2s"},title:s,children:[c.jsx(pj,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),u?c.jsx(xme,{width:d,height:d,fill:l?.icon||"currentColor"}):c.jsx(Mme,{width:d,height:d,fill:l?.icon||"currentColor"})]}),u&&c.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:[c.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:y.map((v,x)=>c.jsxs(k.Fragment,{children:[c.jsxs("li",{onClick:()=>_(v.component_key,x),style:{display:"flex",alignItems:"center",padding:"0.5rem",cursor:x<4?"not-allowed":"pointer",transition:"background 0.2s"},onMouseEnter:C=>{x>=4&&(C.currentTarget.style.background="#F9FAFB")},onMouseLeave:C=>{x>=4&&(C.currentTarget.style.background="transparent")},children:[c.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:v.visible?c.jsx(Ime,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):c.jsx(bme,{width:20,height:20,fill:"#D1D5DB"})}),c.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children:v.label})]}),x===3&&c.jsx("div",{style:{height:1,background:"#E5E7EB",margin:"4px 0"}})]},v.component_key))}),c.jsx("div",{style:{padding:"12px 16px 0 16px",display:"flex",justifyContent:"flex-end"},children:c.jsx("button",{type:"button",onClick:M,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})})]})]})},Nme="_container_zhny9_1",Sme="_card_zhny9_15",jme="_footer_zhny9_33",$me="_noPaddingMobile_zhny9_51",D1={container:Nme,card:Sme,footer:jme,noPaddingMobile:$me},qme="_board_1tbkr_1",Ame="_clickable_1tbkr_21",zme="_sideBar_1tbkr_26",Vme="_boardContent_1tbkr_32",Pme="_orange_1tbkr_40",Tme="_red_1tbkr_44",Hme="_green_1tbkr_48",Dme="_grey_1tbkr_52",Bme="_lightGrey_1tbkr_56",Rme="_big_1tbkr_61",Fme="_medium_1tbkr_66",Eme="_headerRow_1tbkr_70",Ome="_iconWrapper_1tbkr_75",Ume="_headerTitle_1tbkr_80",Wme="_valueArea_1tbkr_89",Gme="_titleWhite_1tbkr_99",Zme="_titleBlack_1tbkr_103",Kme="_valueWhite_1tbkr_108",Xme="_valueBlack_1tbkr_112",Yme="_valueBlue_1tbkr_116",Jme="_bars_1tbkr_121",Qme="_bar_1tbkr_121",e6e="_barDark_1tbkr_135",t6e="_barDim_1tbkr_139",Ee={board:qme,clickable:Ame,sideBar:zme,boardContent:Vme,orange:Pme,red:Tme,green:Hme,grey:Dme,lightGrey:Bme,big:Rme,medium:Fme,headerRow:Eme,iconWrapper:Ome,headerTitle:Ume,valueArea:Wme,titleWhite:Gme,titleBlack:Zme,valueWhite:Kme,valueBlack:Xme,valueBlue:Yme,bars:Jme,bar:Qme,barDark:e6e,barDim:t6e},a6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${Ee.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${Ee.bar} ${r<o?"":e?Ee.barDark:Ee.barDim}`},r))})},xt=({iconName:e,label:t,value:n,backgroundColor:o="green",bars:i,lightBars:r=5,size:s="big",valueScale:d,width:l,height:h,className:u="",style:p,titleColor:y="white",valueColor:f="white",titleFontSize:g,titleFontWeight:m,valueFontSize:_,valueFontWeight:M,barColor:v,justifyContent:x="space-between",alignItems:C="flex-start",cardGap:w="",onClick:b,iconColor:L})=>{const I=i!=="none",S=i==="endingDark",{padding:q,...N}=p||{},j=l===void 0&&h===void 0&&o===void 0&&Object.keys(N).length===0?void 0:{...l!==void 0?{width:l}:{},...h!==void 0?{height:h}:{},...o!==void 0?{backgroundColor:o}:{},...N},T=`${Ee.board} ${Ee[s]} ${u}`;return c.jsxs("div",{className:T,onClick:b,style:d!==void 0?{...j,"--ds-value-scale":d}:j,children:[v&&c.jsx("div",{className:Ee.sideBar,style:{backgroundColor:v}}),c.jsxs("div",{className:Ee.boardContent,style:{padding:q,gap:w},children:[c.jsxs("div",{className:Ee.headerRow,style:{justifyContent:x,alignItems:C},children:[e&&c.jsx("div",{className:Ee.iconWrapper,style:{color:L},children:e}),c.jsx("div",{className:`${Ee.headerTitle} header-title-data-board`,children:c.jsx("span",{style:{color:y,...g?{fontSize:g}:{},...m?{fontWeight:m}:{}},children:t})}),I?c.jsx(a6e,{endingDark:S,lightCount:r}):null]}),c.jsx("div",{className:Ee.valueArea,style:{color:f,..._?{fontSize:_}:{},...M?{fontWeight:M}:{}},children:n})]})]})},n6e="_wrapper_1a4mv_19",o6e="_hosp_1a4mv_37",c6e="_headerRow_1a4mv_107",i6e="_iconWrapper_1a4mv_121",r6e="_headerTitle_1a4mv_133",s6e="_hospValue_1a4mv_151",d6e="_side_1a4mv_175",l6e="_mini_1a4mv_199",h6e="_miniLabel_1a4mv_267",u6e="_miniValue_1a4mv_285",p6e="_miniBars_1a4mv_305",y6e="_bars_1a4mv_315",k6e="_bar_1a4mv_315",m6e="_barDark_1a4mv_343",f6e="_barDim_1a4mv_351",Ne={wrapper:n6e,hosp:o6e,headerRow:c6e,iconWrapper:i6e,headerTitle:r6e,hospValue:s6e,side:d6e,mini:l6e,miniLabel:h6e,miniValue:u6e,miniBars:p6e,bars:y6e,bar:k6e,barDark:m6e,barDim:f6e},g6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${Ne.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${Ne.bar} ${r<o?"":e?Ne.barDark:Ne.barDim}`},r))})},Aq=({left:e,right:t,className:n="",style:o})=>{const i=e.bars??"endingDark",r=i!=="none",s=i==="endingDark";return c.jsxs("div",{className:`${Ne.wrapper} ${n} data-four-boards`,style:o,children:[c.jsxs("div",{className:`${Ne.hosp} ${e.className||""}`,onClick:e.onClick,style:{...e.width?{width:e.width}:{},...e.height?{height:e.height}:{},...e.backgroundColor?{backgroundColor:e.backgroundColor}:{},...e.style||{}},children:[c.jsxs("div",{className:Ne.headerRow,children:[c.jsxs("div",{className:`${Ne.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&c.jsx("span",{style:{color:e.iconColor},children:e.iconName}),c.jsx("span",{className:Ne.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},children:e.label})]}),r?c.jsx(g6e,{endingDark:s,lightCount:e.lightBars??5}):null]}),c.jsx("div",{className:Ne.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})]}),c.jsx("div",{className:Ne.side,children:t.map((d,l)=>c.jsxs("div",{className:`${Ne.mini} ${d.className||""} icon-wrapper-data-four-boards`,onClick:d.onClick,style:{...d.width?{width:d.width}:{},...d.height?{height:d.height}:{},...d.backgroundColor?{backgroundColor:d.backgroundColor}:{},...d.style||{}},children:[c.jsxs("span",{className:Ne.miniLabel,style:{color:d.titleColor||"white",textAlign:"right",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",...d.titleFontSize?{fontSize:d.titleFontSize}:{},...d.titleFontWeight?{fontWeight:d.titleFontWeight}:{}},children:[d.iconName&&c.jsx("span",{style:{color:d.iconColor,marginRight:"4px"},children:d.iconName}),d.label]}),c.jsx("span",{className:`${Ne.miniValue} mini-value-data-four-boards`,style:{color:d.valueColor||"white",textAlign:"right",...d.valueScale!==void 0?{"--ds-value-scale":d.valueScale}:{},...d.valueFontSize?{fontSize:d.valueFontSize}:{},...d.valueFontWeight?{fontWeight:d.valueFontWeight}:{}},children:d.value}),c.jsx("div",{className:Ne.miniBars})]},d.id??`${d.label}-${l}`))})]})},v6e=({items:e,footerLabel:t,width:n,height:o,size:i=320,style:r,className:s="",backgroundColor:d,titleFontSize:l,titleFontWeight:h,valueFontSize:u,valueFontWeight:p,noPaddingLeftRight:y=!1})=>{const f={width:n??i,height:o,backgroundColor:d??"var(--ds-navy)",...r},g=e[0],m=e[1],_=e.slice(2,5);return c.jsxs("div",{style:f,className:`${D1.container} ${y?D1.noPaddingMobile:""} ${s}`,children:[c.jsxs("div",{className:D1.card,children:[g?c.jsx(xt,{label:g.label,value:g.value,backgroundColor:g.backgroundColor,bars:g.bars,lightBars:g.lightBars,size:g.size??"big",valueScale:g.valueScale,width:g.width,height:g.height,titleColor:"white",valueColor:"white",titleFontSize:g.titleFontSize??l,titleFontWeight:g.titleFontWeight??h,valueFontSize:g.valueFontSize??u,valueFontWeight:g.valueFontWeight??p}):null,m&&_.length>0?c.jsx(Aq,{left:{id:m.id,label:m.label,value:m.value,backgroundColor:m.backgroundColor,bars:m.bars,lightBars:m.lightBars,valueScale:m.valueScale,width:m.width,height:m.height,titleFontSize:m.titleFontSize??l,titleFontWeight:m.titleFontWeight??h,valueFontSize:m.valueFontSize??u,valueFontWeight:m.valueFontWeight??p},right:_.map(M=>({id:M.id,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,valueScale:M.valueScale,width:M.width,height:M.height,titleFontSize:M.titleFontSize??l,titleFontWeight:M.titleFontWeight??h,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p}))}):m&&_.length===0?c.jsx(xt,{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}):null]}),t&&c.jsx("div",{className:D1.footer,children:t})]})},M6e=({data:e,height:t=360,barColor:n="#0284C7",tooltipEnabled:o=!0,backgroundColor:i="#ffffff",legendTextColor:r="#000",barHeight:s=100,yAxisWidth:d=240,fontSize:l="12px",fontWeight:h="400"})=>c.jsx("div",{style:{backgroundColor:i},children:c.jsx(a.ResponsiveContainer,{width:"100%",height:t,children:c.jsxs(a.BarChart,{data:e,layout:"vertical",children:[c.jsx(a.CartesianGrid,{stroke:"#E5E7EB",vertical:!1}),c.jsx(a.XAxis,{type:"number",axisLine:!1,tickLine:!1,fontSize:l,fontWeight:h,stroke:r}),c.jsx(a.YAxis,{type:"category",dataKey:"label",stroke:r,axisLine:!1,tickLine:!1,width:d,interval:0,fontSize:l,fontWeight:h}),o&&c.jsx(a.Tooltip,{}),c.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s})]})})}),_6e="_menu_10i6j_1",x6e="_menuRow_10i6j_18",L6e="_separator_10i6j_33",I6e="_rowLabel_10i6j_39",w6e="_rowLeadingIcon_10i6j_47",b6e="_rowIcon_10i6j_54",Sc={menu:_6e,menuRow:x6e,separator:L6e,rowLabel:I6e,rowLeadingIcon:w6e,rowIcon:b6e},C6e=k.forwardRef(function({isVisible:t,onClose:n,items:o,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 c.jsx("div",{ref:h,role:"menu",className:Sc.menu,style:p,children:o.map(y=>{if(y.type==="separator")return c.jsx("hr",{className:Sc.separator},y.id);const f=y,g=f.color?{color:f.color}:{},m=f.closeOnClick!==!1;return c.jsxs("button",{role:"menuitem",className:Sc.menuRow,style:g,onClick:()=>{f.onClick?.(),m&&n?.()},children:[c.jsxs("span",{className:Sc.rowLabel,children:[f.leadingIcon&&c.jsx("span",{className:Sc.rowLeadingIcon,children:f.leadingIcon}),c.jsx("span",{children:f.label})]}),f.icon&&c.jsx("span",{className:Sc.rowIcon,children:f.icon})]},f.id)})})}),zq=({user:e,logoutHref:t,logoutTarget:n="_self",onLogout:o,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:_="#5b8fb9",backgroundColorAvatar:M="#f1f4f5",dropdownMenuItems:v,dropdownMenuStyle:x,dropdownMenuOffset:C,statusDotColor:w,style:b,className:L=""})=>{const{user:I}=it(),S=e||I,{currentTheme:q,switchTheme:N}=tL(),j=k.useRef(null),T=k.useRef(null),[D,z]=k.useState(!1),[$,V]=k.useState({}),B=k.useMemo(()=>{const Z=[],X=({variant:_e})=>_e==="sun"?c.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:c.jsx("circle",{cx:"12",cy:"12",r:"4"})}):c.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:c.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})});i&&(Z.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),Z.push({id:"sep-profile",type:"separator"}));const re=q==="dark";return Z.push({id:"theme",type:"action",label:re?"Mode clair":"Mode sombre",icon:c.jsx(X,{variant:re?"sun":"moon"}),onClick:()=>{N(re?"light":"dark")}}),(t||o)&&(Z.push({id:"sep-theme",type:"separator"}),Z.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}o?.()}})),Z},[q,t,n,o,i,r,N]),W=v??B,H=()=>{if(!j.current){z(Z=>!Z);return}if(!D){const Z=j.current.getBoundingClientRect(),X=window.innerWidth,re=window.innerHeight,_e=200,ue=200,we=4,se=C?.x??0,ge=C?.y??0,je=X-Z.right>=_e+we;V(je?{top:Z.bottom-ue+ge,left:Z.right+we+se}:{bottom:re-Z.top+ge,left:Z.left+se})}z(Z=>!Z)};if(k.useEffect(()=>{if(!D||!j.current)return;const Z=()=>{const X=j.current.getBoundingClientRect(),re=window.innerWidth,_e=window.innerHeight,ue=200,we=200,se=4,ge=C?.x??0,Ve=C?.y??0,le=re-X.right>=ue+se;V(le?{top:X.bottom-we+Ve,left:X.right+se+ge}:{bottom:_e-X.top+Ve,left:X.left+ge})};return window.addEventListener("resize",Z),window.addEventListener("orientationchange",Z),()=>{window.removeEventListener("resize",Z),window.removeEventListener("orientationchange",Z)}},[D,C]),k.useEffect(()=>{if(!D||!j.current||!T.current)return;const Z=()=>{const re=j.current.getBoundingClientRect(),_e=T.current.getBoundingClientRect(),ue=C?.x??0,we=C?.y??0;V(se=>se.left!==void 0&&se.top!==void 0&&se.left>=re.right-1?{top:re.bottom-_e.height+we,left:se.left+ue}:se)},X=requestAnimationFrame(()=>{setTimeout(Z,0)});return()=>cancelAnimationFrame(X)},[D,C]),!S)return null;const R=S,Y=parseInt(h,10)||40,ae=`${Y*.375}px`,me=`${Y*1.375}px`,rt=`${Y*.2}px`,fe=`${Y*.6}px`,Ie=()=>{const Z=parseInt(h,10)||40,X=Math.max(8,Z*.34375),re=Math.max(2,Z*.05);return c.jsxs(c.Fragment,{children:[c.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[R.image?c.jsx("img",{src:R.image,alt:`${R.prenom} ${R.nom}`,style:{width:h,height:h,borderRadius:"50%",objectFit:"cover",userSelect:"none"}}):c.jsxs("div",{style:{width:h,height:h,position:"relative",borderRadius:"50%",backgroundColor:M,overflow:"hidden",userSelect:"none"},children:[c.jsx("div",{style:{width:ae,height:ae,borderRadius:"50%",backgroundColor:_,position:"absolute",top:rt,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),c.jsx("div",{style:{width:me,height:me,borderRadius:"50%",backgroundColor:_,position:"absolute",top:fe,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),w&&c.jsx("div",{style:{position:"absolute",bottom:re,right:re,width:`${X}px`,height:`${X}px`,borderRadius:"50%",backgroundColor:w,border:"2px solid white",zIndex:10}})]}),c.jsxs("div",{style:{display:"flex",flexDirection:"column",minWidth:0,flex:1},children:[c.jsx("span",{style:{fontWeight:f,fontSize:y,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:R.email,children:R.email}),c.jsx("span",{style:{color:l,fontSize:g,fontWeight:m,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:R.role,children:R.role})]})]})};return c.jsxs(c.Fragment,{children:[c.jsx("div",{ref:j,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",...b},onClick:H,role:"button",tabIndex:0,children:c.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:c.jsx(Ie,{})})}),c.jsx(C6e,{ref:T,isVisible:D,onClose:()=>z(!1),items:W,style:x,position:$})]})},N6e="_navItem_1c3kb_1",S6e="_icon_1c3kb_19",B1={navItem:N6e,icon:S6e},Pb=({label:e,onClick:t,href:n,isActive:o,icon:i,style:r,className:s="",highlightColor:d="#00aec7",color:l="#333",activeColor:h="#00aec7",highlightBackgroundColor:u="rgba(0, 0, 0, 0.05)",fontSize:p="15px",fontWeight:y="500",sidebarCollapsed:f=!1,padding:g="10px 16px",borderWidth:m="4px",iconGap:_="12px",disabled:M=!1,disabledColor:v})=>{const x=()=>{M||t?.()},C=c.jsxs(c.Fragment,{children:[i&&c.jsx("span",{className:B1.icon,style:{marginRight:f?0:_},children:i}),!f&&c.jsx("span",{children:e})]}),w=()=>{if(!o)return"transparent";const L=I=>{const S=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(I);return S?{r:parseInt(S[1],16),g:parseInt(S[2],16),b:parseInt(S[3],16)}:null};if(d.startsWith("#")){const I=L(d);if(I)return`rgba(${I.r}, ${I.g}, ${I.b}, 0.08)`}else if(d.startsWith("rgb")){const I=d.match(/\d+/g);if(I&&I.length>=3)return`rgba(${I[0]}, ${I[1]}, ${I[2]}, 0.08)`}return u},b={onClick:x,className:`${B1.navItem} ${o?B1.active:""} ${s} ${M?B1.disabled:""}`,style:{padding:g,color:o?h:M?v||"#999":l,borderLeft:o?`${m} solid ${d}`:`${m} solid transparent`,backgroundColor:w(),fontSize:p,fontWeight:y,cursor:M?"not-allowed":"pointer",textDecoration:"none",...r},"aria-disabled":M};return n&&!M?c.jsx("a",{href:n,...b,children:C}):c.jsx("div",{...b,role:t?"button":void 0,tabIndex:t&&!M?0:void 0,children:C})},j6e="_navbar_18gev_1",$6e="_topSection_18gev_9",q6e="_sectionsContainer_18gev_14",A6e="_sectionTitle_18gev_20",z6e="_sectionItems_18gev_25",V6e="_bottomSection_18gev_30",P6e="_versionContainer_18gev_49",st={navbar:j6e,topSection:$6e,sectionsContainer:q6e,sectionTitle:A6e,sectionItems:z6e,bottomSection:V6e,versionContainer:P6e},T6e=({logoProps:e,logoSpacing:t,navItems:n,padding:o="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:_="500",navItemColor:M,sectionTitlePadding:v="16px",sectionTitleFontSize:x="11px",sectionTitleColor:C="#999",sectionTitleWeight:w="500",versionFontSize:b="12px",versionFontWeight:L="400",versionColor:I="#999",userInfoProps:S,style:q,className:N="",width:j="280px"})=>{const T=it(),D=T.activeNav,z=T.setActiveNav,$=T.user,V=S.user||$;return c.jsxs("div",{className:`${st.navbar} ${N}`,style:{width:j,backgroundColor:s,padding:o,...q},children:[c.jsxs("div",{className:st.topSection,style:{gap:t},children:[c.jsx("div",{className:st.logoContainer,children:c.jsx(Xw,{...e})}),c.jsx("div",{className:st.sectionsContainer,style:{gap:i},children:n.map((B,W)=>c.jsxs("div",{className:st.section,children:[B.title&&c.jsx("div",{className:st.sectionTitle,style:{fontSize:x,color:C,padding:v,fontWeight:w,border:"4px solid transparent",...u},children:B.title}),c.jsx("div",{className:st.sectionItems,style:{gap:r},children:B.items.map(H=>c.jsx(Pb,{...H,isActive:H.isActive===null?H.isActive:D===H.id,onClick:()=>{H.onClick&&H.onClick(),H.isActive==null&&z(H.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:f,iconGap:g,fontSize:m,fontWeight:_,color:M,style:p},H.id))})]},W))})]}),c.jsxs("div",{className:st.bottomSection,style:{gap:t},children:[c.jsx(zq,{...S,user:V}),h&&c.jsx("div",{className:st.versionContainer,style:{fontSize:b,fontWeight:L,color:I},children:h})]})]})},H6e="_container_4qege_1",D6e="_titleContainer_4qege_10",B6e="_title_4qege_10",R6e="_inlineToggleContainer_4qege_24",F6e="_rightContentContainer_4qege_30",Xc={container:H6e,titleContainer:D6e,title:B6e,inlineToggleContainer:R6e,rightContentContainer:F6e},E6e=({className:e="",style:t,fontSize:n="20px",fontWeight:o="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,navItems:y,formatTitle:f=_=>_,rightContent:g,inlineToggle:m})=>{const{activeNav:_}=it(),M=y.find(x=>x.id===_),v=f(M?M.label:_);return v?c.jsxs("div",{className:`${Xc.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[c.jsxs("div",{className:Xc.titleContainer,children:[c.jsx("div",{className:Xc.title,style:{fontSize:n,fontWeight:o,color:i},children:v}),m&&c.jsx("div",{className:Xc.inlineToggleContainer,children:m})]}),g&&c.jsx("div",{className:Xc.rightContentContainer,children:g})]}):null},O6e="_navItem_1hg26_1",U6e="_navItemIcon_1hg26_21",W6e="_navItemLabel_1hg26_29",G6e="_navItemCount_1hg26_36",Z6e="_navItemIndicator_1hg26_49",Yc={navItem:O6e,navItemIcon:U6e,navItemLabel:W6e,navItemCount:G6e,navItemIndicator:Z6e},Vq=({label:e,isActive:t,onClick:n,href:o,icon:i,count:r,activeColor:s="#00aec7",inactiveColor:d="#666",activeBackgroundColor:l="transparent",countBackgroundColor:h,countColor:u="#fff",countBorderRadius:p="10px",countPadding:y="2px 6px",countFontSize:f="12px",countFontWeight:g="500",indicatorColor:m="#00aec7",indicatorHeight:_="3px",padding:M="8px 4px",fontSize:v="14px",fontWeight:x="500",gap:C="8px",style:w,className:b="",disabled:L=!1})=>{const I=()=>{L||(n?.(),o&&(window.location.href=o))};return c.jsxs("div",{className:`${Yc.navItem} ${b}`,onClick:I,style:{gap:C,padding:M,color:t?s:d,backgroundColor:t?l:"transparent",fontSize:v,fontWeight:x,...w},children:[i&&c.jsx("span",{className:Yc.navItemIcon,children:i}),c.jsx("span",{className:Yc.navItemLabel,children:e}),r!==void 0&&c.jsx("span",{className:Yc.navItemCount,style:{backgroundColor:h,color:u,borderRadius:p,padding:y,fontSize:f,fontWeight:g},children:r}),t&&!L&&c.jsx("div",{className:Yc.navItemIndicator,style:{height:_,backgroundColor:m}})]})},K6e="_subheaderContent_1glo8_1",X6e="_navContainer_1glo8_11",Y6e="_rightContent_1glo8_45",_w={subheaderContent:K6e,navContainer:X6e,rightContent:Y6e},J6e=({subNavItems:e,backgroundColor:t="transparent",padding:n="0",margin:o,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:_=!1,showLegend:M=!1,showData:v=!1,className:x="",style:C,countBackgroundColor:w,countColor:b,countBorderRadius:L,countPadding:I,countFontSize:S,countFontWeight:q,navContainerClassName:N,navContainerStyle:j,rightContentClassName:T,rightContentStyle:D,rightActions:z,activeSwitcherColor:$,inactiveSwitcherColor:V})=>{const{activeSubNav:B,setActiveSubNav:W,navCounts:H}=it();return c.jsxs("div",{className:`${_w.subheaderContent} ${x}`,style:{backgroundColor:t,padding:n,margin:o,width:i,height:r,border:s,borderBottom:d,...C},children:[c.jsx("div",{className:`${_w.navContainer} ${N||""}`,style:{gap:l,...j},children:e.map(R=>{const Y=R.count!==void 0?R.count:H[R.id],ae=B===R.id||R.isActive;return c.jsx(Vq,{...R,count:Y,isActive:ae,onClick:()=>{R.onClick&&R.onClick(),W(R.id)},activeColor:f,inactiveColor:g,countBackgroundColor:w,countColor:b,countBorderRadius:L,countPadding:I,countFontSize:S,countFontWeight:q,indicatorColor:f,indicatorHeight:m,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:R.style},R.id)})}),c.jsxs("div",{className:`${_w.rightContent} ${T||""}`,style:{gap:h,...D},children:[_&&c.jsx(Ox,{size:20,colors:{bg:$,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),M&&c.jsx(Ux,{size:20,colors:{bg:$,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),v&&c.jsx(Wx,{size:20,colors:{bg:$,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),z]})]})},Q6e=({onSwitch:e,size:t="20px",lightIconColor:n="#666",darkIconColor:o="#fff",backgroundColor:i="transparent",padding:r="8px",borderRadius:s="50%",style:d,className:l=""})=>{const[h,u]=k.useState(!1),{currentTheme:p,switchTheme:y}=tL(),f=p!="dark",g=()=>{y(f?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!h||!p?c.jsx(c.Fragment,{}):c.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?c.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}):c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[c.jsx("circle",{cx:"12",cy:"12",r:"5"}),c.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),c.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),c.jsx("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),c.jsx("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),c.jsx("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),c.jsx("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),c.jsx("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),c.jsx("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})})},e8e=({initialSortBy:e=null,initialSortOrder:t="asc",onSortChange:n})=>{const[o,i]=k.useState({sortBy:e,sortOrder:t,filters:{}}),r=k.useCallback(s=>{let d="asc";o.sortBy===s&&(d=o.sortOrder==="asc"?"desc":"asc");const l={...o,sortBy:s,sortOrder:d};i(l),n(s,d)},[o,n]);return{tableState:o,handleSort:r}},t8e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),a8e=k.memo(t8e),n8e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),o8e=k.memo(n8e),c8e=({columns:e,sortBy:t,sortOrder:n,onSort:o,removeLabelSpan:i=!1})=>c.jsx("thead",{children:c.jsx("tr",{children:e.map((r,s)=>{const d=t===r.key,l=!!r.sortable;return c.jsx("th",{className:`${r.className||""}${l?" sortable":""}`,style:{width:r.width,textAlign:r.align||"left"},onClick:()=>l&&o(String(r.key)),children:c.jsxs("div",{className:`th-content ${r.align?`align-${r.align}`:""}`,children:[i?r.label:c.jsx("span",{children:r.label}),l&&c.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?c.jsx(o8e,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):c.jsx(a8e,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),i8e=({data:e,columns:t,rowKey:n,onRowClick:o,isLoading:i,text:r,rowStyle:s,rowClassName:d})=>!e.length&&!i?c.jsx("tbody",{children:c.jsx("tr",{children:c.jsx("td",{colSpan:t.length,style:{textAlign:"center",padding:"32px"},children:c.jsx("span",{style:{color:"var(--table-text-muted)"},children:r?.noData||"Aucune donnée disponible"})})})}):c.jsx("tbody",{children:e.map((l,h)=>{const u=l[n],p=typeof u=="string"||typeof u=="number"?u:h;return c.jsx("tr",{onClick:()=>o&&o(l),style:{cursor:o?"pointer":"default",...s?s(l):{}},className:d?d(l,h):"",children:t.map((y,f)=>c.jsx("td",{style:{width:y.width,textAlign:y.align||"left"},className:y.className,children:y.render?y.render(l):l[y.key]},`${String(y.key)}-${f}`))},p)})}),r8e=({state:e,onPaginationChange:t,onLoadMore:n,infiniteScroll:o,hasMore:i,text:r,isLoading:s})=>{const{page:d,pageSize:l,total:h}=e,u=l===-1?h:l,p=Math.ceil(h/u)||1,y=Math.min(Math.max(1,d),p),f=h===0?0:(y-1)*u+1,g=Math.min(y*u,h),m=M=>{t({page:M})},_=k.useMemo(()=>{if(p<=6)return Array.from({length:p},(S,q)=>q+1);const x=Math.max(y-1,1),C=Math.min(y+1,p),w=x>2,b=C<p-2,L=1,I=p;if(!w&&b)return[...Array.from({length:5},(N,j)=>j+1),"...",p];if(w&&!b){const q=Array.from({length:5},(N,j)=>p-5+j+1);return[L,"...",...q]}if(w&&b){const S=Array.from({length:C-x+1},(q,N)=>x+N);return[L,"...",...S,"...",I]}return[]},[y,p]);return c.jsxs("div",{className:"table-pagination",children:[c.jsx("div",{className:"pagination-summary",children:h>0?c.jsx("span",{children:r?.itemsRange?r.itemsRange(f,g,h):c.jsxs(c.Fragment,{children:[c.jsxs("b",{children:[f,"–",g]})," ","sur ",c.jsx("b",{children:h.toLocaleString()})," éléments"]})}):c.jsx("span",{children:r?.noResults||"0 résultats"})}),c.jsx("div",{className:"pagination-spacer"}),!o&&l!==-1&&p>1&&c.jsxs("div",{className:"pagination-controls",children:[c.jsx("button",{className:"pagination-btn",onClick:()=>m(1),disabled:y===1,title:r?.first||"Premier",children:"<<"}),c.jsx("button",{className:"pagination-btn",onClick:()=>m(y-1),disabled:y===1,title:r?.previous||"Précédent",children:"<"}),(_||[]).map((M,v)=>M==="..."?c.jsx("span",{style:{padding:"0 4px",color:"var(--table-text-muted)"},children:"..."},v):c.jsx("button",{className:`pagination-btn ${M===y?"active":""}`,onClick:()=>m(M),children:M},v)),c.jsx("button",{className:"pagination-btn",onClick:()=>m(y+1),disabled:y===p,title:r?.next||"Suivant",children:">"}),c.jsx("button",{className:"pagination-btn",onClick:()=>m(p),disabled:y===p,title:r?.last||"Dernier",children:">>"})]}),!o&&n&&i&&c.jsx("div",{className:"pagination-load-more",children:c.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"})})]})},Pq=({data:e,columns:t,isLoading:n,pagination:o,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:_,style:M,rowStyle:v,onRowClick:x,rowClassName:C,removeLabelSpan:w=!1})=>{const b=k.useMemo(()=>({...p}),[p]),L=k.useRef(null);k.useEffect(()=>{if(!f||!y||!g||n)return;const T=new IntersectionObserver(D=>{D[0].isIntersecting&&y()},{threshold:.1});return L.current&&T.observe(L.current),()=>T.disconnect()},[f,y,g,n]);const{tableState:I,handleSort:S}=e8e({initialSortBy:null,onSortChange:r}),q=(m?.sortBy!==void 0?m.sortBy:I.sortBy)??void 0,N=m?.sortOrder!==void 0?m.sortOrder:I.sortOrder,j=T=>{const D=q,z=N;let $="asc";D===T&&($=z==="asc"?"desc":"asc"),m?.sortBy!==void 0?r(T,$):S(T)};return c.jsxs("div",{className:`table-container ${_||""}`,style:M,children:[c.jsxs("div",{className:"table-frame",style:{height:h??void 0,minHeight:u??void 0},children:[n&&c.jsx("div",{className:"table-loader-overlay",children:c.jsx("div",{className:"spinner",style:{width:d,height:d,borderTopColor:"var(--table-primary)"}})}),c.jsxs("div",{className:`table-wrapper ${l?"sticky-header":""}`,children:[c.jsxs("table",{className:"data-table",children:[c.jsx(c8e,{columns:t,sortBy:q,sortOrder:N,onSort:j,removeLabelSpan:w}),c.jsx(i8e,{data:e,columns:t.map(T=>({...T,render:T.render?D=>T.render(D,{}):void 0})),rowKey:s,onRowClick:x,isLoading:n,text:b,rowStyle:typeof v=="function"?v:v?()=>v:void 0,rowClassName:C})]}),f&&c.jsx("div",{ref:L,style:{height:20,margin:10}})]})]}),c.jsx(r8e,{state:o,onPaginationChange:i,text:b,onLoadMore:y,infiniteScroll:f,hasMore:g,isLoading:n})]})},s8e="_datePickerContainer_cf6w1_3",d8e="_label_cf6w1_16",l8e="_displayNode_cf6w1_23",h8e="_datePickerButton_cf6w1_30",u8e="_datePickerButtonDisabled_cf6w1_50",p8e="_datePickerButtonOpen_cf6w1_59",y8e="_datePickerLabel_cf6w1_68",k8e="_placeholder_cf6w1_78",m8e="_chevron_cf6w1_82",f8e="_errorMessage_cf6w1_90",g8e="_dropdown_cf6w1_95",v8e="_calendarHeader_cf6w1_119",M8e="_navButton_cf6w1_128",_8e="_headerSelectors_cf6w1_147",x8e="_monthSelector_cf6w1_155",L8e="_yearSelector_cf6w1_156",I8e="_selectorButton_cf6w1_160",w8e="_selectorChevron_cf6w1_177",b8e="_selectorChevronOpen_cf6w1_182",C8e="_monthDropdown_cf6w1_186",N8e="_yearDropdown_cf6w1_187",S8e="_monthItem_cf6w1_207",j8e="_yearItem_cf6w1_208",$8e="_monthItemSelected_cf6w1_230",q8e="_yearItemSelected_cf6w1_231",A8e="_weekdays_cf6w1_235",z8e="_weekday_cf6w1_235",V8e="_calendarGrid_cf6w1_251",P8e="_dateCell_cf6w1_259",T8e="_dateCellSelected_cf6w1_282",H8e="_dateCellOtherMonth_cf6w1_286",D8e="_dateCellOtherMonthSelected_cf6w1_290",B8e="_calendarFooter_cf6w1_294",R8e="_cancelButton_cf6w1_302",F8e="_applyButton_cf6w1_303",E8e="_timePickerContainer_cf6w1_347",O8e="_timeGroup_cf6w1_356",U8e="_timeLabel_cf6w1_363",W8e="_timeInputWrapper_cf6w1_369",G8e="_timeInput_cf6w1_369",Z8e="_timeSeparator_cf6w1_397",F={datePickerContainer:s8e,label:d8e,displayNode:l8e,datePickerButton:h8e,datePickerButtonDisabled:u8e,datePickerButtonOpen:p8e,datePickerLabel:y8e,placeholder:k8e,chevron:m8e,errorMessage:f8e,dropdown:g8e,calendarHeader:v8e,navButton:M8e,headerSelectors:_8e,monthSelector:x8e,yearSelector:L8e,selectorButton:I8e,selectorChevron:w8e,selectorChevronOpen:b8e,monthDropdown:C8e,yearDropdown:N8e,monthItem:S8e,yearItem:j8e,monthItemSelected:$8e,yearItemSelected:q8e,weekdays:A8e,weekday:z8e,calendarGrid:V8e,dateCell:P8e,dateCellSelected:T8e,dateCellOtherMonth:H8e,dateCellOtherMonthSelected:D8e,calendarFooter:B8e,cancelButton:R8e,applyButton:F8e,timePickerContainer:E8e,timeGroup:O8e,timeLabel:U8e,timeInputWrapper:W8e,timeInput:G8e,timeSeparator:Z8e},K8e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#e3e3e3",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M480-344 240-584l56-56 184 184 184-184 56 56z"})),Fx=k.memo(K8e),KS=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],X8e=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],b1=({value:e,onChange:t,label:n,placeholder:o="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:_="0.5rem 0.75rem",fontWeight:M="400",buttonBgColor:v,buttonBorderColor:x,buttonTextColor:C,dropdownBgColor:w="#ffffff",itemHoverColor:b,selectedItemBgColor:L,iconColor:I,errorColor:S,labelColor:q,placeholderColor:N,borderRadius:j="var(--radius-content)",borderWidth:T="0.0625rem",boxShadow:D="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:z="0.2s",transitionTiming:$="ease",dateCellSize:V="2.5rem",headerTextColor:B="#6c757d",weekdayTextColor:W="#6c757d",currentMonthDateColor:H="#212529",otherMonthDateColor:R="#adb5bd",selectedDateBgColor:Y="#00A6D9",selectedDateTextColor:ae="#ffffff",cancelButtonBgColor:me="#e9ecef",cancelButtonTextColor:rt="#212529",applyButtonBgColor:fe="#00A6D9",applyButtonTextColor:Ie="#ffffff",width:Z,displayNode:X=void 0,displayMode:re="auto",displayNodeAriaLabel:_e,dropdownPosition:ue="bottom",dropdownAlignment:we="right",dropdownWidth:se,withBorder:ge=!1,icon:Ve,precision:je="day",hoursLabel:le="Heures",minutesLabel:be="Minutes"})=>{const $e=P=>{if(P instanceof Date)return isNaN(P.getTime())?null:P;if(typeof P=="string"&&P){const U=new Date(P);return isNaN(U.getTime())?null:U}return null},[Pe,Q]=k.useState(!1),[G,q1]=k.useState({top:0,left:0,width:0}),[ee,Gc]=k.useState($e(e)||new Date),[yL,kL]=k.useState($e(e)),[mL,fL]=k.useState($e(e)?.getHours()??0),[gL,vL]=k.useState($e(e)?.getMinutes()??0),[ML,wc]=k.useState(!1),[_L,bc]=k.useState(!1),xL=k.useRef(null),A1=k.useRef(null),LL=k.useRef(null),IL=k.useRef(null);k.useEffect(()=>{const P=$e(e);kL(P),P&&(Gc(P),fL(P.getHours()),vL(P.getMinutes()))},[e]);const Cc=k.useCallback(()=>{if(A1.current){const P=A1.current.getBoundingClientRect();q1({top:P.top,left:P.left,width:P.width})}},[]);k.useEffect(()=>(Pe&&(Cc(),window.addEventListener("scroll",Cc,!0),window.addEventListener("resize",Cc)),()=>{window.removeEventListener("scroll",Cc,!0),window.removeEventListener("resize",Cc)}),[Pe,Cc]),k.useEffect(()=>{const P=U=>{if(xL.current&&!xL.current.contains(U.target)){const ye=document.getElementById("datepicker-dropdown");if(ye&&ye.contains(U.target))return;Q(!1),wc(!1),bc(!1)}LL.current&&!LL.current.contains(U.target)&&wc(!1),IL.current&&!IL.current.contains(U.target)&&bc(!1)};return document.addEventListener("mousedown",P),()=>document.removeEventListener("mousedown",P)},[]);const Tb=P=>new Date(P.getFullYear(),P.getMonth()+1,0).getDate(),Tq=P=>{const U=new Date(P.getFullYear(),P.getMonth(),1).getDay();return U===0?6:U-1},Hq=()=>{const P=[],U=Tq(ee),ye=Tb(ee),z1=new Date(ee.getFullYear(),ee.getMonth()-1,1),Zc=Tb(z1);for(let We=U-1;We>=0;We--)P.push(new Date(ee.getFullYear(),ee.getMonth()-1,Zc-We));for(let We=1;We<=ye;We++)P.push(new Date(ee.getFullYear(),ee.getMonth(),We));const cA=42-P.length;for(let We=1;We<=cA;We++)P.push(new Date(ee.getFullYear(),ee.getMonth()+1,We));return P},Dq=(P,U)=>!P||!U?!1:P.getDate()===U.getDate()&&P.getMonth()===U.getMonth()&&P.getFullYear()===U.getFullYear(),Bq=P=>P.getMonth()===ee.getMonth()&&P.getFullYear()===ee.getFullYear(),Rq=()=>{Gc(new Date(ee.getFullYear(),ee.getMonth()-1,1))},Fq=()=>{Gc(new Date(ee.getFullYear(),ee.getMonth()+1,1))},Eq=P=>{if(!s){const U=new Date(P);U.setHours(mL),U.setMinutes(gL),kL(U)}},Oq=()=>{if(!s){if(yL){const P=new Date(yL);P.setHours(mL),P.setMinutes(gL),t(P)}else t(null);Q(!1)}},Uq=()=>{const P=$e(e);kL(P),P&&(fL(P.getHours()),vL(P.getMinutes())),Q(!1)},Wq=P=>{Gc(new Date(ee.getFullYear(),P,1)),wc(!1)},Gq=P=>{Gc(new Date(P,ee.getMonth(),1)),bc(!1)},Zq=()=>{const P=ee.getFullYear(),U=[];for(let ye=P-10;ye<=P+10;ye++)U.push(ye);return U},Kq=P=>{if(!s)switch(P.key){case"Enter":case" ":P.preventDefault(),Q(!Pe);break;case"Escape":Q(!1),wc(!1),bc(!1);break;case"Tab":Pe&&(Q(!1),wc(!1),bc(!1));break}},Xq={width:Z||(r?"100%":"auto"),fontSize:p,fontWeight:M},Yq={height:l,padding:h,backgroundColor:v||"#ffffff",border:ge?void 0:"none",borderColor:d?S||"#dc3545":x||"#dee2e6",color:C||"#212529",borderRadius:j,borderWidth:T,fontWeight:M,transition:`all ${z} ${$}`},Jq={backgroundColor:w||"#ffffff",maxHeight:u,borderRadius:j,borderWidth:T,boxShadow:D,transition:`opacity ${z} ${$}, transform ${z} ${$}`,position:"fixed",top:ue==="bottom"?G.top+(A1.current?.offsetHeight||0)+parseFloat(m.replace("rem",""))*16:"auto",bottom:ue==="top"?window.innerHeight-G.top+parseFloat(m.replace("rem",""))*16:"auto",left:we==="left"?G.left:"auto",right:we==="right"?window.innerWidth-(G.left+G.width):"auto",width:se||(r?G.width:"auto"),zIndex:10001},Hb={width:y,height:y,color:I||"#6c757d","--icon-rotation":Pe?"rotate(180deg)":"rotate(0deg)"},Qq={color:q||"#212529",marginBottom:f,fontWeight:M},eA={color:N||"#6c757d"},tA={color:S||"#dc3545",marginTop:g},aA=Hq(),Je=$e(e),Db=Je?je==="minutes"?`${Je.toLocaleDateString("fr-FR")} ${Je.getHours().toString().padStart(2,"0")}:${Je.getMinutes().toString().padStart(2,"0")}`:Je.toLocaleDateString("fr-FR"):"",nA=!!X&&(re==="icon"||re==="auto"&&!Je),oA=_e||(Je?`Date sélectionnée: ${Db}`:"Ouvrir le sélecteur de date");return c.jsxs("div",{className:`${F.datePickerContainer} ${i}`,ref:xL,style:Xq,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&c.jsx("label",{className:F.label,style:Qq,children:n}),c.jsxs("button",{ref:A1,type:"button",onClick:()=>!s&&Q(!Pe),onKeyDown:Kq,className:`
|
|
8169
|
+
`),()=>{_.contains(m)&&_.removeChild(m)}},[t]),c.jsx(Gde,{isPresent:t,childRef:r,sizeRef:s,children:K.cloneElement(e,{ref:l})})}const Kde=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=Nt(Xde),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;o&&o()},register:f=>(h.set(f,!1),()=>h.delete(f))}),[n,h,o]);return r&&p&&(y={...y}),k.useMemo(()=>{h.forEach((f,g)=>h.set(g,!1))},[n]),K.useEffect(()=>{!n&&!h.size&&o&&o()},[n]),s==="popLayout"&&(e=c.jsx(Zde,{isPresent:n,anchorX:d,root:l,children:e})),c.jsx(aL.Provider,{value:y,children:e})};function Xde(){return new Map}function s$(e=!0){const t=k.useContext(aL);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:o,register:i}=t,r=k.useId();k.useEffect(()=>{if(e)return i(r)},[e]);const s=k.useCallback(()=>e&&o&&o(r),[r,o,e]);return!n&&o?[!1,s]:[!0]}const T1=e=>e.key||"";function uC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const Yde=({children:e,custom:t,initial:n=!0,onExitComplete:o,presenceAffectsLayout:i=!0,mode:r="sync",propagate:s=!1,anchorX:d="left",root:l})=>{const[h,u]=s$(s),p=k.useMemo(()=>uC(e),[e]),y=s&&!h?[]:p.map(T1),f=k.useRef(!0),g=k.useRef(p),m=Nt(()=>new Map),[_,M]=k.useState(p),[v,x]=k.useState(p);eb(()=>{f.current=!1,g.current=p;for(let b=0;b<v.length;b++){const L=T1(v[b]);y.includes(L)?m.delete(L):m.get(L)!==!0&&m.set(L,!1)}},[v,y.length,y.join("-")]);const C=[];if(p!==_){let b=[...p];for(let L=0;L<v.length;L++){const I=v[L],S=T1(I);y.includes(S)||(b.splice(L,0,I),C.push(I))}return r==="wait"&&C.length&&(b=C),x(uC(b)),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(Jw);return c.jsx(c.Fragment,{children:v.map(b=>{const L=T1(b),I=s&&!h?!1:p===v||y.includes(L),S=()=>{if(m.has(L))m.set(L,!0);else return;let j=!0;m.forEach(q=>{q||(j=!1)}),j&&(w?.(),x(g.current),s&&u?.(),o&&o())};return c.jsx(Kde,{isPresent:I,initial:!f.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:l,onExitComplete:I?void 0:S,anchorX:d,children:b},L)})})},d$=k.createContext({strict:!1}),pC={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"]},Rc={};for(const e in pC)Rc[e]={isEnabled:t=>pC[e].some(n=>!!t[n])};function Jde(e){for(const t in e)Rc[t]={...Rc[t],...e[t]}}const Qde=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 Xx(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Qde.has(e)}let l$=e=>!Xx(e);function e0e(e){typeof e=="function"&&(l$=t=>t.startsWith("on")?!Xx(t):e(t))}try{e0e(require("@emotion/is-prop-valid").default)}catch{}function t0e(e,t,n){const o={};for(const i in e)i==="values"&&typeof e.values=="object"||(l$(i)||n===!0&&Xx(i)||!t&&!Xx(i)||e.draggable&&i.startsWith("onDrag"))&&(o[i]=e[i]);return o}const oL=k.createContext({});function cL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function L1(e){return typeof e=="string"||Array.isArray(e)}const xb=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Lb=["initial",...xb];function iL(e){return cL(e.animate)||Lb.some(t=>L1(e[t]))}function h$(e){return!!(iL(e)||e.variants)}function a0e(e,t){if(iL(e)){const{initial:n,animate:o}=e;return{initial:n===!1||L1(n)?n:void 0,animate:L1(o)?o:void 0}}return e.inherit!==!1?t:{}}function n0e(e){const{initial:t,animate:n}=a0e(e,k.useContext(oL));return k.useMemo(()=>({initial:t,animate:n}),[yC(t),yC(n)])}function yC(e){return Array.isArray(e)?e.join(" "):e}const I1={};function o0e(e){for(const t in e)I1[t]=e[t],sb(t)&&(I1[t].isCSSVariable=!0)}function u$(e,{layout:t,layoutId:n}){return Uc.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!I1[e]||e==="opacity")}const c0e={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},i0e=Oc.length;function r0e(e,t,n){let o="",i=!0;for(let r=0;r<i0e;r++){const s=Oc[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=a$(d,vb[s]);if(!l){i=!1;const u=c0e[s]||s;o+=`${u}(${h}) `}n&&(t[s]=h)}}return o=o.trim(),n?o=n(t,i?"":o):i&&(o="none"),o}function Ib(e,t,n){const{style:o,vars:i,transformOrigin:r}=e;let s=!1,d=!1;for(const l in t){const h=t[l];if(Uc.has(l)){s=!0;continue}else if(sb(l)){i[l]=h;continue}else{const u=a$(h,vb[l]);l.startsWith("origin")?(d=!0,r[l]=u):o[l]=u}}if(t.transform||(s||n?o.transform=r0e(t,e.transform,n):o.transform&&(o.transform="none")),d){const{originX:l="50%",originY:h="50%",originZ:u=0}=r;o.transformOrigin=`${l} ${h} ${u}`}}const wb=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function p$(e,t,n){for(const o in t)!Me(t[o])&&!u$(o,n)&&(e[o]=t[o])}function s0e({transformTemplate:e},t){return k.useMemo(()=>{const n=wb();return Ib(n,t,e),Object.assign({},n.vars,n.style)},[t])}function d0e(e,t){const n=e.style||{},o={};return p$(o,n,e),Object.assign(o,s0e(e,t)),o}function l0e(e,t){const n={},o=d0e(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.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=o,n}const h0e={offset:"stroke-dashoffset",array:"stroke-dasharray"},u0e={offset:"strokeDashoffset",array:"strokeDasharray"};function p0e(e,t,n=1,o=0,i=!0){e.pathLength=1;const r=i?h0e:u0e;e[r.offset]=E.transform(-o);const s=E.transform(t),d=E.transform(n);e[r.array]=`${s} ${d}`}function y$(e,{attrX:t,attrY:n,attrScale:o,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if(Ib(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),o!==void 0&&(p.scale=o),i!==void 0&&p0e(p,i,r,s,!1)}const k$=()=>({...wb(),attrs:{}}),m$=e=>typeof e=="string"&&e.toLowerCase()==="svg";function y0e(e,t,n,o){const i=k.useMemo(()=>{const r=k$();return y$(r,t,m$(o),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};p$(r,e.style,e),i.style={...r,...i.style}}return i}const k0e=["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 bb(e){return typeof e!="string"||e.includes("-")?!1:!!(k0e.indexOf(e)>-1||/[A-Z]/u.test(e))}function m0e(e,t,n,{latestValues:o},i,r=!1){const d=(bb(e)?y0e:l0e)(t,o,i,e),l=t0e(t,typeof e=="string",r),h=e!==k.Fragment?{...l,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>Me(u)?u.get():u,[u]);return k.createElement(e,{...h,children:p})}function kC(e){const t=[{},{}];return e?.values.forEach((n,o)=>{t[0][o]=n.get(),t[1][o]=n.getVelocity()}),t}function Cb(e,t,n,o){if(typeof t=="function"){const[i,r]=kC(o);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]=kC(o);t=t(n!==void 0?n:e.custom,i,r)}return t}function Bx(e){return Me(e)?e.get():e}function f0e({scrapeMotionValuesFromProps:e,createRenderState:t},n,o,i){return{latestValues:g0e(n,o,i,e),renderState:t()}}function g0e(e,t,n,o){const i={},r=o(e,{});for(const y in r)i[y]=Bx(r[y]);let{initial:s,animate:d}=e;const l=iL(e),h=h$(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"&&!cL(p)){const y=Array.isArray(p)?p:[p];for(let f=0;f<y.length;f++){const g=Cb(e,y[f]);if(g){const{transitionEnd:m,transition:_,...M}=g;for(const v in M){let x=M[v];if(Array.isArray(x)){const C=u?x.length-1:0;x=x[C]}x!==null&&(i[v]=x)}for(const v in m)i[v]=m[v]}}}return i}const f$=e=>(t,n)=>{const o=k.useContext(oL),i=k.useContext(aL),r=()=>f0e(e,t,o,i);return n?r():Nt(r)};function Nb(e,t,n){const{style:o}=e,i={};for(const r in o)(Me(o[r])||t.style&&Me(t.style[r])||u$(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=o[r]);return i}const v0e=f$({scrapeMotionValuesFromProps:Nb,createRenderState:wb});function g$(e,t,n){const o=Nb(e,t,n);for(const i in e)if(Me(e[i])||Me(t[i])){const r=Oc.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;o[r]=e[i]}return o}const M0e=f$({scrapeMotionValuesFromProps:g$,createRenderState:k$}),_0e=Symbol.for("motionComponentSymbol");function qc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function x0e(e,t,n){return k.useCallback(o=>{o&&e.onMount&&e.onMount(o),t&&(o?t.mount(o):t.unmount()),n&&(typeof n=="function"?n(o):qc(n)&&(n.current=o))},[t])}const Sb=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),L0e="framerAppearId",v$="data-"+Sb(L0e),M$=k.createContext({});function I0e(e,t,n,o,i){const{visualElement:r}=k.useContext(oL),s=k.useContext(d$),d=k.useContext(aL),l=k.useContext(nL).reducedMotion,h=k.useRef(null);o=o||s.renderer,!h.current&&o&&(h.current=o(e,{visualState:t,parent:r,props:n,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:l}));const u=h.current,p=k.useContext(M$);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&w0e(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const f=n[v$],g=k.useRef(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return eb(()=>{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 w0e(e,t,n,o){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:_$(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&qc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:o,crossfade:u,layoutScroll:l,layoutRoot:h})}function _$(e){if(e)return e.options.allowProjection!==!1?e.projection:_$(e.parent)}function $L(e,{forwardMotionProps:t=!1}={},n,o){n&&Jde(n);const i=bb(e)?M0e:v0e;function r(d,l){let h;const u={...k.useContext(nL),...d,layoutId:b0e(d)},{isStatic:p}=u,y=n0e(d),f=i(d,p);if(!p&&Qw){C0e(u,n);const g=N0e(u);h=g.MeasureLayout,y.visualElement=I0e(e,f,u,o,g.ProjectionNode)}return c.jsxs(oL.Provider,{value:y,children:[h&&y.visualElement?c.jsx(h,{visualElement:y.visualElement,...u}):null,m0e(e,d,x0e(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[_0e]=e,s}function b0e({layoutId:e}){const t=k.useContext(Jw).id;return t&&e!==void 0?t+"-"+e:e}function C0e(e,t){const n=k.useContext(d$).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const o="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Fc(!1,o,"lazy-strict-mode"):Ye(!1,o,"lazy-strict-mode")}}function N0e(e){const{drag:t,layout:n}=Rc;if(!t&&!n)return{};const o={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function S0e(e,t){if(typeof Proxy>"u")return $L;const n=new Map,o=(r,s)=>$L(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&cb(!1,"motion() is deprecated. Use motion.create() instead."),o(r,s));return new Proxy(i,{get:(r,s)=>s==="create"?o:(n.has(s)||n.set(s,$L(s,void 0,e,t)),n.get(s))})}function x$({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function j0e({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function $0e(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}function qL(e){return e===void 0||e===1}function Rw({scale:e,scaleX:t,scaleY:n}){return!qL(e)||!qL(t)||!qL(n)}function mc(e){return Rw(e)||L$(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function L$(e){return mC(e.x)||mC(e.y)}function mC(e){return e&&e!=="0%"}function Yx(e,t,n){const o=e-n,i=t*o;return n+i}function fC(e,t,n,o,i){return i!==void 0&&(e=Yx(e,i,o)),Yx(e,n,o)+t}function Fw(e,t=0,n=1,o,i){e.min=fC(e.min,t,n,o,i),e.max=fC(e.max,t,n,o,i)}function I$(e,{x:t,y:n}){Fw(e.x,t.translate,t.scale,t.originPoint),Fw(e.y,n.translate,n.scale,n.originPoint)}const gC=.999999999999,vC=1.0000000000001;function q0e(e,t,n,o=!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"||(o&&r.options.layoutScroll&&r.scroll&&r!==r.root&&zc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,I$(e,s)),o&&mc(r.latestValues)&&zc(e,r.latestValues))}t.x<vC&&t.x>gC&&(t.x=1),t.y<vC&&t.y>gC&&(t.y=1)}function Ac(e,t){e.min=e.min+t,e.max=e.max+t}function MC(e,t,n,o,i=.5){const r=ie(e.min,e.max,i);Fw(e,t,n,r,o)}function zc(e,t){MC(e.x,t.x,t.scaleX,t.scale,t.originX),MC(e.y,t.y,t.scaleY,t.scale,t.originY)}function w$(e,t){return x$($0e(e.getBoundingClientRect(),t))}function A0e(e,t,n){const o=w$(e,n),{scroll:i}=t;return i&&(Ac(o.x,i.offset.x),Ac(o.y,i.offset.y)),o}const _C=()=>({translate:0,scale:1,origin:0,originPoint:0}),Vc=()=>({x:_C(),y:_C()}),xC=()=>({min:0,max:0}),he=()=>({x:xC(),y:xC()}),Ew={current:null},b$={current:!1};function z0e(){if(b$.current=!0,!!Qw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ew.current=e.matches;e.addEventListener("change",t),t()}else Ew.current=!1}const V0e=new WeakMap;function P0e(e,t,n){for(const o in t){const i=t[o],r=n[o];if(Me(i))e.addValue(o,i);else if(Me(r))e.addValue(o,Lc(i,{owner:e}));else if(r!==i)if(e.hasValue(o)){const s=e.getValue(o);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(o);e.addValue(o,Lc(s!==void 0?s:i,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const LC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class T0e{scrapeMotionValuesFromProps(t,n,o){return{}}constructor({parent:t,props:n,presenceContext:o,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=fb,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=ze.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,ce.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=o,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=d,this.blockInitialAnimation=!!r,this.isControllingVariants=iL(n),this.isVariantNode=h$(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&&Me(f)&&f.set(l[y])}}mount(t){this.current=t,V0e.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,o)=>this.bindToMotionValue(o,n)),b$.current||z0e(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ew.current,process.env.NODE_ENV!=="production"&&cb(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(),yt(this.notifyUpdate),yt(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 o=Uc.has(t);o&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ce.preRender(this.notifyUpdate),o&&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 Rc){const n=Rc[t];if(!n)continue;const{isEnabled:o,Feature:i}=n;if(!this.features[t]&&i&&o(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):he()}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 o=0;o<LC.length;o++){const i=LC[o];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=P0e(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 o=this.values.get(t);n!==o&&(o&&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 o=this.values.get(t);return o===void 0&&n!==void 0&&(o=Lc(n===null?void 0:n,{owner:this}),this.addValue(t,o)),o}readValue(t,n){let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(fj(o)||vj(o))?o=parseFloat(o):!Ode(o)&&Ct.test(n)&&(o=t$(t,n)),this.setBaseTarget(t,Me(o)?o.get():o)),Me(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let o;if(typeof n=="string"||typeof n=="object"){const r=Cb(this.props,n,this.presenceContext?.custom);r&&(o=r[t])}if(n&&o!==void 0)return o;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Me(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new ob),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Mb.render(this.render)}}class C$ extends T0e{constructor(){super(...arguments),this.KeyframeResolver=$de}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:o}){delete n[t],delete o[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Me(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function N$(e,{style:t,vars:n},o,i){const r=e.style;let s;for(s in t)r[s]=t[s];i?.applyProjectionStyles(r,o);for(s in n)r.setProperty(s,n[s])}function H0e(e){return window.getComputedStyle(e)}class D0e extends C${constructor(){super(...arguments),this.type="html",this.renderInstance=N$}readValueFromInstance(t,n){if(Uc.has(n))return this.projection?.isProjecting?zw(n):K2e(t,n);{const o=H0e(t),i=(sb(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return w$(t,n)}build(t,n,o){Ib(t,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,n,o){return Nb(t,n,o)}}const S$=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 B0e(e,t,n,o){N$(e,t,void 0,o);for(const i in t.attrs)e.setAttribute(S$.has(i)?i:Sb(i),t.attrs[i])}class R0e extends C${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=he}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Uc.has(n)){const o=e$(n);return o&&o.default||0}return n=S$.has(n)?n:Sb(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,o){return g$(t,n,o)}build(t,n,o){y$(t,n,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,n,o,i){B0e(t,n,o,i)}mount(t){this.isSVGTag=m$(t.tagName),super.mount(t)}}const F0e=(e,t)=>bb(e)?new R0e(t):new D0e(t,{allowProjection:e!==k.Fragment});function Bc(e,t,n){const o=e.getProps();return Cb(o,t,n!==void 0?n:o.custom,e)}const Ow=e=>Array.isArray(e);function E0e(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Lc(n))}function O0e(e){return Ow(e)?e[e.length-1]||0:e}function U0e(e,t){const n=Bc(e,t);let{transitionEnd:o={},transition:i={},...r}=n||{};r={...r,...o};for(const s in r){const d=O0e(r[s]);E0e(e,s,d)}}function W0e(e){return!!(Me(e)&&e.add)}function Uw(e,t){const n=e.getValue("willChange");if(W0e(n))return n.add(t);if(!n&&pt.WillChange){const o=new pt.WillChange("auto");e.addValue("willChange",o),o.add(t)}}function j$(e){return e.props[v$]}const G0e=e=>e!==null;function Z0e(e,{repeat:t,repeatType:n="loop"},o){const i=e.filter(G0e),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const K0e={type:"spring",stiffness:500,damping:25,restSpeed:10},X0e=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Y0e={type:"keyframes",duration:.8},J0e={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Q0e=(e,{keyframes:t})=>t.length>2?Y0e:Uc.has(e)?e.startsWith("scale")?X0e(t[1]):K0e:J0e;function ele({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:d,from:l,elapsed:h,...u}){return!!Object.keys(u).length}const jb=(e,t,n,o={},i,r)=>s=>{const d=gb(o,e)||{},l=d.delay||o.delay||0;let{elapsed:h=0}=o;h=h-Xe(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};ele(d)||Object.assign(u,Q0e(e,u)),u.duration&&(u.duration=Xe(u.duration)),u.repeatDelay&&(u.repeatDelay=Xe(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)),(pt.instantAnimations||pt.skipAnimations)&&(p=!0,Dw(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=Z0e(u.keyframes,d);if(y!==void 0){ce.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new mb(u):new gde(u)};function tle({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,o}function $$(e,t,{delay:n=0,transitionOverride:o,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...d}=t;o&&(r=o);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&&tle(h,u))continue;const f={delay:n,...gb(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=j$(e);if(M){const v=window.MotionHandoffAnimation(M,u,ce);v!==null&&(f.startTime=v,m=!0)}}Uw(e,u),p.start(jb(u,p,y,e.shouldReduceMotion&&Yj.has(u)?{type:!1}:f,e,m));const _=p.animation;_&&l.push(_)}return s&&Promise.all(l).then(()=>{ce.update(()=>{s&&U0e(e,s)})}),l}function q$(e,t,n,o=0,i=1){const r=Array.from(e).sort((h,u)=>h.sortNodePosition(u)).indexOf(t),s=e.size,d=(s-1)*o;return typeof n=="function"?n(r,s):i===1?r*o:d-r*o}function Ww(e,t,n={}){const o=Bc(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const r=o?()=>Promise.all($$(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return ale(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 ale(e,t,n=0,o=0,i=0,r=1,s){const d=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),d.push(Ww(l,t,{...s,delay:n+(typeof o=="function"?0:o)+q$(e.variantChildren,l,o,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function nle(e,t,n={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){const i=t.map(r=>Ww(e,r,n));o=Promise.all(i)}else if(typeof t=="string")o=Ww(e,t,n);else{const i=typeof t=="function"?Bc(e,t,n.custom):t;o=Promise.all($$(e,i,n))}return o.then(()=>{e.notify("AnimationComplete",t)})}function A$(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(t[o]!==e[o])return!1;return!0}const ole=Lb.length;function z$(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?z$(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<ole;n++){const o=Lb[n],i=e.props[o];(L1(i)||i===!1)&&(t[o]=i)}return t}const cle=[...xb].reverse(),ile=xb.length;function rle(e){return t=>Promise.all(t.map(({animation:n,options:o})=>nle(e,n,o)))}function sle(e){let t=rle(e),n=IC(),o=!0;const i=l=>(h,u)=>{const p=Bc(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=z$(e.parent)||{},p=[],y=new Set;let f={},g=1/0;for(let _=0;_<ile;_++){const M=cle[_],v=n[M],x=h[M]!==void 0?h[M]:u[M],C=L1(x),w=M===l?v.isActive:null;w===!1&&(g=_);let b=x===u[M]&&x!==h[M]&&C;if(b&&o&&e.manuallyAnimateOnMount&&(b=!1),v.protectedKeys={...f},!v.isActive&&w===null||!x&&!v.prevProp||cL(x)||typeof x=="boolean")continue;const L=dle(v.prevProp,x);let I=L||M===l&&v.isActive&&!b&&C||_>g&&C,S=!1;const j=Array.isArray(x)?x:[x];let q=j.reduce(i(M),{});w===!1&&(q={});const{prevResolvedValues:A={}}=v,P={...A,...q},H=V=>{I=!0,y.has(V)&&(S=!0,y.delete(V)),v.needsAnimating[V]=!0;const B=e.getValue(V);B&&(B.liveStyle=!1)};for(const V in P){const B=q[V],W=A[V];if(f.hasOwnProperty(V))continue;let D=!1;Ow(B)&&Ow(W)?D=!A$(B,W):D=B!==W,D?B!=null?H(V):y.add(V):B!==void 0&&y.has(V)?H(V):v.protectedKeys[V]=!0}v.prevProp=x,v.prevResolvedValues=q,v.isActive&&(f={...f,...q}),o&&e.blockInitialAnimation&&(I=!1);const z=b&&L;I&&(!z||S)&&p.push(...j.map(V=>{const B={type:M};if(typeof V=="string"&&o&&!z&&e.manuallyAnimateOnMount&&e.parent){const{parent:W}=e,D=Bc(W,V);if(W.enteringChildren&&D){const{delayChildren:R}=D.transition||{};B.delay=q$(W.enteringChildren,e,R)}}return{animation:V,options:B}}))}if(y.size){const _={};if(typeof h.initial!="boolean"){const M=Bc(e,Array.isArray(h.initial)?h.initial[0]:h.initial);M&&M.transition&&(_.transition=M.transition)}y.forEach(M=>{const v=e.getBaseTarget(M),x=e.getValue(M);x&&(x.liveStyle=!0),_[M]=v??null}),p.push({animation:_})}let m=!!p.length;return o&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(m=!1),o=!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=IC()}}}function dle(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!A$(t,e):!1}function jt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function IC(){return{animate:jt(!0),whileInView:jt(),whileHover:jt(),whileTap:jt(),whileDrag:jt(),whileFocus:jt(),exit:jt()}}class St{constructor(t){this.isMounted=!1,this.node=t}update(){}}class lle extends St{constructor(t){super(t),t.animationState||(t.animationState=sle(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();cL(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 hle=0;class ule extends St{constructor(){super(...arguments),this.id=hle++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)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 ple={animation:{Feature:lle},exit:{Feature:ule}};function w1(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}function $1(e){return{point:{x:e.pageX,y:e.pageY}}}const yle=e=>t=>_b(t)&&e(t,$1(t));function f1(e,t,n,o){return w1(e,t,yle(n),o)}const V$=1e-4,kle=1-V$,mle=1+V$,P$=.01,fle=0-P$,gle=0+P$;function Se(e){return e.max-e.min}function vle(e,t,n){return Math.abs(e-t)<=n}function wC(e,t,n,o=.5){e.origin=o,e.originPoint=ie(t.min,t.max,e.origin),e.scale=Se(n)/Se(t),e.translate=ie(n.min,n.max,e.origin)-e.originPoint,(e.scale>=kle&&e.scale<=mle||isNaN(e.scale))&&(e.scale=1),(e.translate>=fle&&e.translate<=gle||isNaN(e.translate))&&(e.translate=0)}function g1(e,t,n,o){wC(e.x,t.x,n.x,o?o.originX:void 0),wC(e.y,t.y,n.y,o?o.originY:void 0)}function bC(e,t,n){e.min=n.min+t.min,e.max=e.min+Se(t)}function Mle(e,t,n){bC(e.x,t.x,n.x),bC(e.y,t.y,n.y)}function CC(e,t,n){e.min=t.min-n.min,e.max=e.min+Se(t)}function v1(e,t,n){CC(e.x,t.x,n.x),CC(e.y,t.y,n.y)}function Fe(e){return[e("x"),e("y")]}const T$=({current:e})=>e?e.ownerDocument.defaultView:null,NC=(e,t)=>Math.abs(e-t);function _le(e,t){const n=NC(e.x,t.x),o=NC(e.y,t.y);return Math.sqrt(n**2+o**2)}class H${constructor(t,n,{transformPagePoint:o,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=zL(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,g=_le(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!f&&!g)return;const{point:m}=y,{timestamp:_}=ve;this.history.push({...m,timestamp:_});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=AL(f,this.transformPagePoint),ce.update(this.updatePoint,!0)},this.handlePointerUp=(y,f)=>{this.end();const{onEnd:g,onSessionEnd:m,resumeAnimation:_}=this.handlers;if(this.dragSnapToOrigin&&_&&_(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const M=zL(y.type==="pointercancel"?this.lastMoveEventInfo:AL(f,this.transformPagePoint),this.history);this.startEvent&&g&&g(y,M),m&&m(y,M)},!_b(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=o,this.distanceThreshold=s,this.contextWindow=i||window;const d=$1(t),l=AL(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=ve;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,zL(l,this.history)),this.removeListeners=N1(f1(this.contextWindow,"pointermove",this.handlePointerMove),f1(this.contextWindow,"pointerup",this.handlePointerUp),f1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),yt(this.updatePoint)}}function AL(e,t){return t?{point:t(e.point)}:e}function SC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function zL({point:e},t){return{point:e,delta:SC(e,D$(t)),offset:SC(e,xle(t)),velocity:Lle(t,.1)}}function xle(e){return e[0]}function D$(e){return e[e.length-1]}function Lle(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const i=D$(e);for(;n>=0&&(o=e[n],!(i.timestamp-o.timestamp>Xe(t)));)n--;if(!o)return{x:0,y:0};const r=Oe(i.timestamp-o.timestamp);if(r===0)return{x:0,y:0};const s={x:(i.x-o.x)/r,y:(i.y-o.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Ile(e,{min:t,max:n},o){return t!==void 0&&e<t?e=o?ie(t,e,o.min):Math.max(e,t):n!==void 0&&e>n&&(e=o?ie(n,e,o.max):Math.min(e,n)),e}function jC(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 wle(e,{top:t,left:n,bottom:o,right:i}){return{x:jC(e.x,n,i),y:jC(e.y,t,o)}}function $C(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}function ble(e,t){return{x:$C(e.x,t.x),y:$C(e.y,t.y)}}function Cle(e,t){let n=.5;const o=Se(e),i=Se(t);return i>o?n=M1(t.min,t.max-o,e.min):o>i&&(n=M1(e.min,e.max-i,t.min)),ut(0,1,n)}function Nle(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 Gw=.35;function Sle(e=Gw){return e===!1?e=0:e===!0&&(e=Gw),{x:qC(e,"left","right"),y:qC(e,"top","bottom")}}function qC(e,t,n){return{min:AC(e,t),max:AC(e,n)}}function AC(e,t){return typeof e=="number"?e:e[t]||0}const jle=new WeakMap;class $le{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=he(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:o}={}){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($1(p).point)},s=(p,y)=>{const{drag:f,dragPropagation:g,onDragStart:m}=this.getProps();if(f&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Vde(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),Fe(M=>{let v=this.getAxisMotionValue(M).get()||0;if(ct.test(v)){const{projection:x}=this.visualElement;if(x&&x.layout){const C=x.layout.layoutBox[M];C&&(v=Se(C)*(parseFloat(v)/100))}}this.originPoint[M]=v}),m&&ce.postRender(()=>m(p,y)),Uw(this.visualElement,"transform");const{animationState:_}=this.visualElement;_&&_.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:f,dragDirectionLock:g,onDirectionLock:m,onDrag:_}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:M}=y;if(g&&this.currentDirection===null){this.currentDirection=qle(M),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",y.point,M),this.updateAxis("y",y.point,M),this.visualElement.render(),_&&_(p,y)},l=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>Fe(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new H$(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:o,contextWindow:T$(this.visualElement)})}stop(t,n){const o=t||this.latestPointerEvent,i=n||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!o)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:d}=this.getProps();d&&ce.postRender(()=>d(o,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:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,o){const{drag:i}=this.getProps();if(!o||!H1(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(s=Ile(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&qc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=wle(o.layoutBox,t):this.constraints=!1,this.elastic=Sle(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Fe(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Nle(o.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!qc(t))return!1;const o=t.current;Ye(o!==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=A0e(o,i.root,this.visualElement.getTransformPagePoint());let s=ble(i.layout.layoutBox,r);if(n){const d=n(j0e(s));this.hasMutatedConstraints=!!d,d&&(s=x$(d))}return s}startAnimation(t){const{drag:n,dragMomentum:o,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),l=this.constraints||{},h=Fe(u=>{if(!H1(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:o?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 o=this.getAxisMotionValue(t);return Uw(this.visualElement,t),o.start(jb(t,o,0,n,this.visualElement,!1))}stopAnimation(){Fe(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Fe(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,o=this.visualElement.getProps(),i=o[n];return i||this.visualElement.getValue(t,(o.initial?o.initial[t]:void 0)||0)}snapToCursor(t){Fe(n=>{const{drag:o}=this.getProps();if(!H1(n,o,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]-ie(s,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!qc(n)||!o||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Fe(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const l=d.get();i[s]=Cle({min:l,max:l},this.constraints[s])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Fe(s=>{if(!H1(s,t,null))return;const d=this.getAxisMotionValue(s),{min:l,max:h}=this.constraints[s];d.set(ie(l,h,i[s]))})}addListeners(){if(!this.visualElement.current)return;jle.set(this.visualElement,this);const t=this.visualElement.current,n=f1(t,"pointerdown",l=>{const{drag:h,dragListener:u=!0}=this.getProps();h&&u&&this.start(l)}),o=()=>{const{dragConstraints:l}=this.getProps();qc(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",o);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ce.read(o);const s=w1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:h})=>{this.isDragging&&h&&(Fe(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:o=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=Gw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function H1(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function qle(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Ale extends St{constructor(t){super(t),this.removeGroupControls=Ue,this.removeListeners=Ue,this.controls=new $le(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ue}unmount(){this.removeGroupControls(),this.removeListeners()}}const zC=e=>(t,n)=>{e&&ce.postRender(()=>e(t,n))};class zle extends St{constructor(){super(...arguments),this.removePointerDownListener=Ue}onPointerDown(t){this.session=new H$(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:T$(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:o,onPanEnd:i}=this.node.getProps();return{onSessionStart:zC(t),onStart:zC(n),onMove:o,onEnd:(r,s)=>{delete this.session,i&&ce.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=f1(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 Rx={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function VC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Kc={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(E.test(e))e=parseFloat(e);else return e;const n=VC(e,t.target.x),o=VC(e,t.target.y);return`${n}% ${o}%`}},Vle={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,i=Ct.parse(e);if(i.length>5)return o;const r=Ct.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=ie(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 VL=!1;class Ple extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o,layoutId:i}=this.props,{projection:r}=t;o0e(Tle),r&&(n.group&&n.group.add(r),o&&o.register&&i&&o.register(r),VL&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Rx.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:o,drag:i,isPresent:r}=this.props,{projection:s}=o;return s&&(s.isPresent=r,VL=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||ce.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Mb.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o}=this.props,{projection:i}=t;VL=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),o&&o.deregister&&o.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function B$(e){const[t,n]=s$(),o=k.useContext(Jw);return c.jsx(Ple,{...e,layoutGroup:o,switchLayoutGroup:k.useContext(M$),isPresent:t,safeToRemove:n})}const Tle={borderRadius:{...Kc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Kc,borderTopRightRadius:Kc,borderBottomLeftRadius:Kc,borderBottomRightRadius:Kc,boxShadow:Vle};function Hle(e,t,n){const o=Me(e)?e:Lc(e);return o.start(jb("",o,t,n)),o.animation}const Dle=(e,t)=>e.depth-t.depth;class Ble{constructor(){this.children=[],this.isDirty=!1}add(t){tb(this.children,t),this.isDirty=!0}remove(t){ab(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Dle),this.isDirty=!1,this.children.forEach(t)}}function Rle(e,t){const n=ze.now(),o=({timestamp:i})=>{const r=i-n;r>=t&&(yt(o),e(r-t))};return ce.setup(o,!0),()=>yt(o)}const R$=["TopLeft","TopRight","BottomLeft","BottomRight"],Fle=R$.length,PC=e=>typeof e=="string"?parseFloat(e):e,TC=e=>typeof e=="number"||E.test(e);function Ele(e,t,n,o,i,r){i?(e.opacity=ie(0,n.opacity??1,Ole(o)),e.opacityExit=ie(t.opacity??1,0,Ule(o))):r&&(e.opacity=ie(t.opacity??1,n.opacity??1,o));for(let s=0;s<Fle;s++){const d=`border${R$[s]}Radius`;let l=HC(t,d),h=HC(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||TC(l)===TC(h)?(e[d]=Math.max(ie(PC(l),PC(h),o),0),(ct.test(h)||ct.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=ie(t.rotate||0,n.rotate||0,o))}function HC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Ole=F$(0,.5,Cj),Ule=F$(.5,.95,Ue);function F$(e,t,n){return o=>o<e?0:o>t?1:n(M1(e,t,o))}function DC(e,t){e.min=t.min,e.max=t.max}function De(e,t){DC(e.x,t.x),DC(e.y,t.y)}function BC(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function RC(e,t,n,o,i){return e-=t,e=Yx(e,1/n,o),i!==void 0&&(e=Yx(e,1/i,o)),e}function Wle(e,t=0,n=1,o=.5,i,r=e,s=e){if(ct.test(t)&&(t=parseFloat(t),t=ie(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=ie(r.min,r.max,o);e===r&&(d-=t),e.min=RC(e.min,t,n,d,i),e.max=RC(e.max,t,n,d,i)}function FC(e,t,[n,o,i],r,s){Wle(e,t[n],t[o],t[i],t.scale,r,s)}const Gle=["x","scaleX","originX"],Zle=["y","scaleY","originY"];function EC(e,t,n,o){FC(e.x,t,Gle,n?n.x:void 0,o?o.x:void 0),FC(e.y,t,Zle,n?n.y:void 0,o?o.y:void 0)}function OC(e){return e.translate===0&&e.scale===1}function E$(e){return OC(e.x)&&OC(e.y)}function UC(e,t){return e.min===t.min&&e.max===t.max}function Kle(e,t){return UC(e.x,t.x)&&UC(e.y,t.y)}function WC(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function O$(e,t){return WC(e.x,t.x)&&WC(e.y,t.y)}function GC(e){return Se(e.x)/Se(e.y)}function ZC(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Xle{constructor(){this.members=[]}add(t){tb(this.members,t),t.scheduleRender()}remove(t){if(ab(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 o;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){o=r;break}}return o?(this.promote(o),!0):!1}promote(t,n){const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,n&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:o}=t;n.onExitComplete&&n.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Yle(e,t,n){let o="";const i=e.x.translate/t.x,r=e.y.translate/t.y,s=n?.z||0;if((i||r||s)&&(o=`translate3d(${i}px, ${r}px, ${s}px) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:h,rotate:u,rotateX:p,rotateY:y,skewX:f,skewY:g}=n;h&&(o=`perspective(${h}px) ${o}`),u&&(o+=`rotate(${u}deg) `),p&&(o+=`rotateX(${p}deg) `),y&&(o+=`rotateY(${y}deg) `),f&&(o+=`skewX(${f}deg) `),g&&(o+=`skewY(${g}deg) `)}const d=e.x.scale*t.x,l=e.y.scale*t.y;return(d!==1||l!==1)&&(o+=`scale(${d}, ${l})`),o||"none"}const PL=["","X","Y","Z"],Jle=1e3;let Qle=0;function TL(e,t,n,o){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),o&&(o[e]=0))}function U$(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=j$(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ce,!(i||r))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&U$(o)}function W$({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=Qle++,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(ahe),this.nodes.forEach(ihe),this.nodes.forEach(rhe),this.nodes.forEach(nhe)},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 Ble)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new ob),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=r$(s)&&!Rde(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;ce.read(()=>{p=window.innerWidth}),e(s,()=>{const f=window.innerWidth;f!==p&&(p=f,this.root.updateBlockedByResize=!0,u&&u(),u=Rle(y,250),Rx.hasAnimatedSinceResize&&(Rx.hasAnimatedSinceResize=!1,this.nodes.forEach(YC)))})}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()||uhe,{onLayoutAnimationStart:m,onLayoutAnimationComplete:_}=h.getProps(),M=!this.targetLayout||!O$(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 x={...gb(g,"layout"),onPlay:m,onComplete:_};(h.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x),this.setAnimationOrigin(u,v)}else p||YC(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(),yt(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(she),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&&U$(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(KC);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(XC);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(che),this.nodes.forEach(ehe),this.nodes.forEach(the)):this.nodes.forEach(XC),this.clearAllSnapshots();const d=ze.now();ve.delta=ut(0,1e3/60,d-ve.timestamp),ve.timestamp=d,ve.isProcessing=!0,wL.update.process(ve),wL.preRender.process(ve),wL.render.process(ve),ve.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Mb.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ohe),this.sharedNodes.forEach(dhe)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ce.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ce.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Se(this.snapshot.measuredBox.x)&&!Se(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=he(),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=o(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&&!E$(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||mc(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)),phe(l),{animationId:this.root.animationId,measuredBox:d,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return he();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(yhe))){const{scroll:h}=this.root;h&&(Ac(d.x,h.offset.x),Ac(d.y,h.offset.y))}return d}removeElementScroll(s){const d=he();if(De(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&&De(d,s),Ac(d.x,u.offset.x),Ac(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const l=he();De(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&&zc(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),mc(u.latestValues)&&zc(l,u.latestValues)}return mc(this.latestValues)&&zc(l,this.latestValues),l}removeTransform(s){const d=he();De(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!mc(h.latestValues))continue;Rw(h.latestValues)&&h.updateSnapshot();const u=he(),p=h.measurePageBox();De(u,p),EC(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return mc(this.latestValues)&&EC(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!==ve.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=ve.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=he(),this.relativeTargetOrigin=he(),v1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),De(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=he(),this.targetWithTransforms=he()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Mle(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):De(this.target,this.layout.layoutBox),I$(this.target,this.targetDelta)):De(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=he(),this.relativeTargetOrigin=he(),v1(this.relativeTargetOrigin,this.target,y.target),De(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Rw(this.parent.latestValues)||L$(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===ve.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;De(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;q0e(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=he());const{target:f}=s;if(!f){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(BC(this.prevProjectionDelta.x,this.projectionDelta.x),BC(this.prevProjectionDelta.y,this.projectionDelta.y)),g1(this.projectionDelta,this.layoutCorrected,f,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!ZC(this.projectionDelta.x,this.prevProjectionDelta.x)||!ZC(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=Vc(),this.projectionDelta=Vc(),this.projectionDeltaWithTransform=Vc()}setAnimationOrigin(s,d=!1){const l=this.snapshot,h=l?l.latestValues:{},u={...this.latestValues},p=Vc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=he(),f=l?l.source:void 0,g=this.layout?this.layout.source:void 0,m=f!==g,_=this.getStack(),M=!_||_.members.length<=1,v=!!(m&&!M&&this.options.crossfade===!0&&!this.path.some(hhe));this.animationProgress=0;let x;this.mixTargetDelta=C=>{const w=C/1e3;JC(p.x,s.x,w),JC(p.y,s.y,w),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(v1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),lhe(this.relativeTarget,this.relativeTargetOrigin,y,w),x&&Kle(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=he()),De(x,this.relativeTarget)),m&&(this.animationValues=u,Ele(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&&(yt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ce.update(()=>{Rx.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Lc(0)),this.currentAnimation=Hle(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(Jle),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&&G$(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||he();const p=Se(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+p;const y=Se(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+y}De(d,l),zc(d,u),g1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Xle),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&&TL("z",s,h,this.animationValues);for(let u=0;u<PL.length;u++)TL(`rotate${PL[u]}`,s,h,this.animationValues),TL(`skew${PL[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=Bx(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=Bx(d?.pointerEvents)||""),this.hasProjected&&!mc(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=Yle(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 I1){if(u[g]===void 0)continue;const{correct:m,applyTo:_,isCSSVariable:M}=I1[g],v=p==="none"?u[g]:m(u[g],h);if(_){const x=_.length;for(let C=0;C<x;C++)s[_[C]]=v}else M?this.options.visualElement.renderState.vars[g]=v:s[g]=v}this.options.layoutId&&(s.pointerEvents=h===this?Bx(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(KC),this.root.sharedNodes.clear()}}}function ehe(e){e.updateLayout()}function the(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:i}=e.options,r=t.source!==e.layout.source;i==="size"?Fe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Se(p);p.min=n[u].min,p.max=p.min+y}):G$(i,t.layoutBox,n)&&Fe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Se(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=Vc();g1(s,n,t.layoutBox);const d=Vc();r?g1(d,e.applyTransform(o,!0),t.measuredBox):g1(d,n,t.layoutBox);const l=!E$(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=he();v1(f,t.layoutBox,p.layoutBox);const g=he();v1(g,n,y.layoutBox),O$(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 ahe(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 nhe(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ohe(e){e.clearSnapshot()}function KC(e){e.clearMeasurements()}function XC(e){e.isLayoutDirty=!1}function che(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function YC(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ihe(e){e.resolveTargetDelta()}function rhe(e){e.calcProjection()}function she(e){e.resetSkewAndRotation()}function dhe(e){e.removeLeadSnapshot()}function JC(e,t,n){e.translate=ie(t.translate,0,n),e.scale=ie(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function QC(e,t,n,o){e.min=ie(t.min,n.min,o),e.max=ie(t.max,n.max,o)}function lhe(e,t,n,o){QC(e.x,t.x,n.x,o),QC(e.y,t.y,n.y,o)}function hhe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const uhe={duration:.45,ease:[.4,0,.1,1]},eN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),tN=eN("applewebkit/")&&!eN("chrome/")?Math.round:Ue;function aN(e){e.min=tN(e.min),e.max=tN(e.max)}function phe(e){aN(e.x),aN(e.y)}function G$(e,t,n){return e==="position"||e==="preserve-aspect"&&!vle(GC(t),GC(n),.2)}function yhe(e){return e!==e.root&&e.scroll?.wasRoot}const khe=W$({attachResizeListener:(e,t)=>w1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),HL={current:void 0},Z$=W$({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!HL.current){const e=new khe({});e.mount(window),e.setOptions({layoutScroll:!0}),HL.current=e}return HL.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),mhe={pan:{Feature:zle},drag:{Feature:Ale,ProjectionNode:Z$,MeasureLayout:B$}};function nN(e,t,n){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=o[i];r&&ce.postRender(()=>r(t,$1(t)))}class fhe extends St{mount(){const{current:t}=this.node;t&&(this.unmount=Pde(t,(n,o)=>(nN(this.node,o,"Start"),i=>nN(this.node,i,"End"))))}unmount(){}}class ghe extends St{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=N1(w1(this.node.current,"focus",()=>this.onFocus()),w1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function oN(e,t,n){const{props:o}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=o[i];r&&ce.postRender(()=>r(t,$1(t)))}class vhe extends St{mount(){const{current:t}=this.node;t&&(this.unmount=Bde(t,(n,o)=>(oN(this.node,o,"Start"),(i,{success:r})=>oN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Zw=new WeakMap,DL=new WeakMap,Mhe=e=>{const t=Zw.get(e.target);t&&t(e)},_he=e=>{e.forEach(Mhe)};function xhe({root:e,...t}){const n=e||document;DL.has(n)||DL.set(n,{});const o=DL.get(n),i=JSON.stringify(t);return o[i]||(o[i]=new IntersectionObserver(_he,{root:e,...t})),o[i]}function Lhe(e,t,n){const o=xhe(t);return Zw.set(e,n),o.observe(e),()=>{Zw.delete(e),o.unobserve(e)}}const Ihe={some:0,all:1};class whe extends St{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:o,amount:i="some",once:r}=t,s={root:n?n.current:void 0,rootMargin:o,threshold:typeof i=="number"?i:Ihe[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 Lhe(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(bhe(t,n))&&this.startObserver()}unmount(){}}function bhe({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Che={inView:{Feature:whe},tap:{Feature:vhe},focus:{Feature:ghe},hover:{Feature:fhe}},Nhe={layout:{ProjectionNode:Z$,MeasureLayout:B$}},She={...ple,...Che,...mhe,...Nhe},$b=S0e(She,F0e);function K$(e){const t=Nt(()=>Lc(e)),{isStatic:n}=k.useContext(nL);if(n){const[,o]=k.useState(e);k.useEffect(()=>t.on("change",o),[])}return t}function X$(e,t){const n=K$(t()),o=()=>n.set(t());return o(),eb(()=>{const i=()=>ce.preRender(o,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),yt(o)}}),n}function jhe(e){m1.current=[],e();const t=X$(m1.current,e);return m1.current=void 0,t}function $he(e,t,n,o){if(typeof e=="function")return jhe(e);const i=typeof t=="function"?t:Fde(t,n,o);return Array.isArray(e)?cN(e,i):cN([e],([r])=>i(r))}function cN(e,t){const n=Nt(()=>[]);return X$(e,()=>{n.length=0;const o=e.length;for(let i=0;i<o;i++)n[i]=e[i].get();return t(n)})}class qhe{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(o=>{o.start(t.nativeEvent||t,n)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const Ahe=()=>new qhe;function zhe(){return Nt(Ahe)}const Y$=k.createContext(null);function Vhe(e,t,n,o){if(!o)return e;const i=e.findIndex(u=>u.value===t);if(i===-1)return e;const r=o>0?1:-1,s=e[i+r];if(!s)return e;const d=e[i],l=s.layout,h=ie(l.min,l.max,.5);return r===1&&d.layout.max+n>h||r===-1&&d.layout.min+n<h?Zse(e,i,i+r):e}function Phe({children:e,as:t="ul",axis:n="y",onReorder:o,values:i,...r},s){const d=Nt(()=>$b[t]),l=[],h=k.useRef(!1);Ye(!!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(Dhe)},updateOrder:(p,y,f)=>{if(h.current)return;const g=Vhe(l,p,y,f);l!==g&&(h.current=!0,o(g.map(Hhe).filter(m=>i.indexOf(m)!==-1)))}};return k.useEffect(()=>{h.current=!1}),c.jsx(d,{...r,ref:s,ignoreStrict:!0,children:c.jsx(Y$.Provider,{value:u,children:e})})}const The=k.forwardRef(Phe);function Hhe(e){return e.value}function Dhe(e,t){return e.layout.min-t.layout.min}function iN(e,t=0){return Me(e)?e:K$(t)}function Bhe({children:e,style:t={},value:n,as:o="li",onDrag:i,layout:r=!0,...s},d){const l=Nt(()=>$b[o]),h=k.useContext(Y$),u={x:iN(t.x),y:iN(t.y)},p=$he([u.x,u.y],([m,_])=>m||_?1:"unset");Ye(!!h,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:f,updateOrder:g}=h;return c.jsx(l,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(m,_)=>{const{velocity:M}=_;M[y]&&g(n,u[y].get(),M[y]),i&&i(m,_)},onLayoutMeasure:m=>f(n,m),ref:d,ignoreStrict:!0,children:e})}const Rhe=k.forwardRef(Bhe),Jx=[c.jsx(y1,{size:18}),c.jsx(Mt,{size:18}),c.jsx(h1,{size:18}),c.jsx(_t,{size:18}),c.jsx(n1,{size:18}),c.jsx(a1,{size:18})],Fhe=({items:e,onReorder:t,draggable:n=!1,className:o,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=Jx[u%Jx.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],_=g[2]??"",M=m.padStart(3,"0");h.text=`${y} / ${M}${_}`}}}),l(e)):l([])},[e]),c.jsxs("div",{className:`trend-list ${o??""}`,draggable:n,style:{position:"relative"},children:[c.jsx("div",{className:"trend-header",style:r,children:i??"Trend"}),c.jsx("div",{className:"trend-list-body",style:{opacity:n?0:1},children:c.jsx(The,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>c.jsx(Ehe,{value:h,index:u,itemsDraggable:s},String(h.id)))})}),n&&c.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:c.jsx(a.Move,{size:48,strokeWidth:1.5,style:{opacity:.8}})})]})};function Ehe({value:e,index:t}){const n=zhe(),o=Jx[t%Jx.length]??null;return c.jsx(Rhe,{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:c.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[c.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:c.jsx("svg",{width:"25",height:"25",viewBox:"0 0 24 24","aria-hidden":!0,children:c.jsxs("g",{fill:"currentColor",children:[c.jsx("circle",{cx:"8",cy:"6",r:"2"}),c.jsx("circle",{cx:"16",cy:"6",r:"2"}),c.jsx("circle",{cx:"8",cy:"12",r:"2"}),c.jsx("circle",{cx:"16",cy:"12",r:"2"}),c.jsx("circle",{cx:"8",cy:"18",r:"2"}),c.jsx("circle",{cx:"16",cy:"18",r:"2"})]})})}),c.jsx("div",{style:{flex:1},children:c.jsx(mj,{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??o})})]})})}function Ohe(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 Uhe(e){return!e||typeof e=="string"&&e.trim()===""}function Whe(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function Ghe(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function Zhe(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 Khe(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 Xhe(e,t){if(t.validation?.acceptedTypes){const n=t.validation.acceptedTypes.split(","),o=e.type;if(!n.some(i=>o.match(i.replace("*",".*"))))return{isValid:!1,error:`Type de fichier non supporté: ${o}`}}return t.validation?.maxFileSize&&e.size>t.validation.maxFileSize?{isValid:!1,error:`Fichier trop volumineux (max ${t.validation.maxFileSize/1048576}MB)`}:null}function Yhe(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 Qx(e,t){const n=Ohe(e,t);if(n)return n;if(Uhe(e))return{isValid:!0};const o=e.toString();switch(t.type){case"email":{const r=Whe(o);if(r)return r;break}case"url":{const r=Ghe(o);if(r)return r;break}case"number":{const r=Zhe(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=Khe(e,t);if(r)return r;break}case"file":{const r=Xhe(e,t);if(r)return r;break}}const i=Yhe(o,t);return i||{isValid:!0}}function J$(e,t){const n={};let o=!0;for(const i of t){const r=Qx(e[i.name],i);r.isValid||(n[i.name]=r.error,o=!1)}return{isValid:o,errors:n}}const Jhe="_formContainer_14ads_1",Qhe="_headerLine_14ads_17",eue="_formTitle_14ads_25",tue="_formDescription_14ads_30",aue="_sectionTitle_14ads_37",nue="_sectionHelp_14ads_44",oue="_fieldHelp_14ads_50",cue="_gridContainer_14ads_58",iue="_fieldGridItem_14ads_70",rue="_sectionFull_14ads_105",sue="_formFooter_14ads_110",due="_footerLeft_14ads_118",lue="_footerRight_14ads_119",hue="_cancelLink_14ads_125",uue="_submitButton_14ads_136",pue="_fieldLabel_14ads_148",yue="_inputWrapper_14ads_163",kue="_inputInner_14ads_187",mue="_hasPrefix_14ads_196",fue="_inputBase_14ads_196",gue="_iconPrefix_14ads_292",vue="_iconSuffix_14ads_293",Mue="_passwordToggle_14ads_319",_ue="_fieldError_14ads_365",xue="_fieldInvalid_14ads_372",oe={formContainer:Jhe,headerLine:Qhe,formTitle:eue,formDescription:tue,sectionTitle:aue,sectionHelp:nue,fieldHelp:oue,gridContainer:cue,fieldGridItem:iue,sectionFull:rue,formFooter:sue,footerLeft:due,footerRight:lue,cancelLink:hue,submitButton:uue,fieldLabel:pue,inputWrapper:yue,inputInner:kue,hasPrefix:mue,inputBase:fue,iconPrefix:gue,iconSuffix:vue,passwordToggle:Mue,fieldError:_ue,fieldInvalid:xue},Q$=({field:e,value:t,onChange:n,onBlur:o,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?ht[e.attributes.icon]:null),y=e.attributes?.iconPosition??"suffix",f=g=>{n(g.target.value)};return c.jsxs("div",{className:oe.inputWrapper,children:[c.jsx("label",{className:`${oe.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),c.jsxs("div",{className:`${oe.inputInner} ${p&&y==="prefix"?oe.hasPrefix:""}`,children:[p&&y==="prefix"&&c.jsx("span",{className:oe.iconPrefix,children:c.jsx(p,{size:16})}),c.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${oe.inputBase} ${i?oe.fieldInvalid:""}`,value:t??"",onChange:f,onBlur:o,disabled:!!e.disabled,"aria-invalid":!!i,"aria-describedby":e.help?`${e.name}-help`:void 0}),l&&h&&c.jsx("button",{type:"button","aria-label":s?"Masquer le mot de passe":"Afficher le mot de passe",className:oe.passwordToggle,onClick:()=>d(g=>!g),children:s?c.jsx(r1,{size:16}):c.jsx(s1,{size:16})}),p&&y==="suffix"&&!l&&c.jsx("span",{className:oe.iconSuffix,children:c.jsx(p,{size:16})})]}),r&&i&&c.jsx("span",{className:oe.fieldError,children:i})]})},Lue="_fieldGroup_yb3zi_7",Iue="_fieldLabel_yb3zi_11",wue="_required_yb3zi_17",bue="_fieldInput_yb3zi_22",Cue="_fieldInvalid_yb3zi_40",Nue="_fieldValid_yb3zi_44",Sue="_fieldError_yb3zi_48",jue="_radioGroup_yb3zi_57",Lt={fieldGroup:Lue,fieldLabel:Iue,required:wue,fieldInput:bue,fieldInvalid:Cue,fieldValid:Nue,fieldError:Sue,radioGroup:jue},rL=({field:e,children:t,error:n,touched:o})=>{const i=o&&n;return c.jsxs("div",{className:Lt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&c.jsx("label",{className:`${Lt.fieldLabel} ${e.required?Lt.required:""}`,children:e.label}),t,i&&c.jsx("span",{className:Lt.fieldError,children:n})]})},eq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,l=["form-control",Lt.fieldInput,s?Lt.fieldInvalid:"",d?Lt.fieldValid:""].filter(Boolean).join(" ");return c.jsx(rL,{field:e,error:i,touched:r,children:c.jsx("textarea",{className:l,placeholder:e.placeholder,value:t||"",onChange:h=>n(h.target.value),onBlur:o,rows:4})})},$ue="_wrapper_117u4_1",que="_wrapperInvalid_117u4_15",Aue="_nativeSelect_117u4_19",zue="_display_117u4_30",Vue="_topLabel_117u4_37",Pue="_valueLine_117u4_45",Tue="_valuePlaceholder_117u4_53",Hue="_valueActive_117u4_57",Due="_caret_117u4_61",Bue="_error_117u4_75",Rue="_optionStyle_117u4_89",Be={wrapper:$ue,wrapperInvalid:que,nativeSelect:Aue,display:zue,topLabel:Vue,valueLine:Pue,valuePlaceholder:Tue,valueActive:Hue,caret:Due,error:Bue,optionStyle:Rue},qb=({field:e,value:t,onChange:n,onBlur:o,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 c.jsxs("div",{className:`${Be.wrapper} ${s?Be.wrapperInvalid:""} ${t?Be.wrapperHasValue:""}`,children:[c.jsxs("select",{id:e.name,name:e.name,className:Be.nativeSelect,value:t??"",onChange:u=>n(u.target.value),onBlur:o,"aria-invalid":s,"aria-label":d,children:[c.jsx("option",{value:"",disabled:!0,hidden:!0,children:l||`Sélectionnez ${d?.toLowerCase()||""}`}),e.options?.map((u,p)=>c.jsx("option",{value:u.value,className:Be.optionStyle,children:u.label},p))]}),c.jsxs("div",{className:Be.display,children:[d&&c.jsx("span",{className:Be.topLabel,children:d}),c.jsx("span",{className:`${Be.valueLine} ${t?Be.valueActive:Be.valuePlaceholder}`,children:t?h:l}),c.jsx("span",{className:Be.caret,"aria-hidden":"true"})]}),s&&c.jsx("span",{className:Be.error,children:i})]})},tq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(rL,{field:e,error:i,touched:r,children:c.jsxs("div",{className:"form-check",children:[c.jsx("input",{type:"checkbox",className:"form-check-input",id:e.name,checked:!!t,onChange:s=>n(s.target.checked),onBlur:o}),c.jsx("label",{className:"form-check-label",htmlFor:e.name,children:e.label})]})}),aq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(rL,{field:e,error:i,touched:r,children:c.jsx("div",{className:Lt.radioGroup,children:e.options?.map(s=>c.jsxs("div",{className:"form-check",children:[c.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:o}),c.jsx("label",{className:"form-check-label",htmlFor:`${e.name}-${s.value}`,children:s.label})]},s.value))})}),Fue="_fileInputContainer_r2guc_3",Eue="_customFileInput_r2guc_8",Oue="_fileInputLabel_r2guc_12",Uue="_dragOver_r2guc_39",Wue="_uploadIcon_r2guc_44",Gue="_uploadText_r2guc_50",Zue="_uploadHint_r2guc_56",Kue="_fileList_r2guc_60",Xue="_fileListTitle_r2guc_69",Yue="_fileItem_r2guc_80",Jue="_fileIcon_r2guc_96",Que="_fileName_r2guc_102",epe="_fileSize_r2guc_108",tpe="_removeButton_r2guc_114",ape="_errorText_r2guc_129",xe={fileInputContainer:Fue,customFileInput:Eue,fileInputLabel:Oue,dragOver:Uue,uploadIcon:Wue,uploadText:Gue,uploadHint:Zue,fileList:Kue,fileListTitle:Xue,fileItem:Yue,fileIcon:Jue,fileName:Que,fileSize:epe,removeButton:tpe,errorText:ape},nq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=k.useRef(null),[d,l]=k.useState(!1),h=_=>{n(_.target.files)},u=()=>{s.current&&s.current.click()},p=_=>{_.preventDefault(),l(!0)},y=()=>{l(!1)},f=_=>{_.preventDefault(),l(!1),_.dataTransfer.files&&_.dataTransfer.files.length>0&&n(_.dataTransfer.files)},g=_=>{if(!t)return;const M=Array.from(t);M.splice(_,1);const v=new DataTransfer;M.forEach(x=>v.items.add(x)),n(v.files)},m=_=>{if(_===0)return"0 Bytes";const M=1024,v=["Bytes","KB","MB","GB"],x=Math.floor(Math.log(_)/Math.log(M));return parseFloat((_/Math.pow(M,x)).toFixed(2))+" "+v[x]};return c.jsxs("div",{className:`${xe.fileInputContainer} ${r&&i?xe.hasError:""}`,children:[c.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&c.jsx("span",{className:"text-danger",children:" *"})]}),c.jsx("input",{type:"file",id:e.name,name:e.name,multiple:e.attributes?.multiple||!1,accept:e.attributes?.accept,onChange:h,onBlur:o,ref:s,className:xe.customFileInput}),c.jsxs("label",{htmlFor:e.name,className:`${xe.fileInputLabel} ${d?xe.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:f,onClick:u,tabIndex:0,children:[c.jsx("div",{className:xe.uploadIcon,children:c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor",viewBox:"0 0 16 16",children:[c.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"}),c.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"})]})}),c.jsx("div",{className:xe.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),c.jsxs("div",{className:xe.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&c.jsxs("div",{className:xe.fileList,children:[c.jsx("div",{className:xe.fileListTitle,children:"Fichiers sélectionnés:"}),c.jsx("ul",{children:Array.from(t).map((_,M)=>c.jsxs("li",{className:xe.fileItem,children:[c.jsx("div",{className:xe.fileIcon,children:c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:c.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"})})}),c.jsx("div",{className:xe.fileName,children:_.name}),c.jsx("div",{className:xe.fileSize,children:m(_.size)}),c.jsx("button",{type:"button",className:xe.removeButton,onClick:v=>{v.stopPropagation(),g(M)},"aria-label":`Supprimer ${_.name}`,children:c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:[c.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"}),c.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&&c.jsx("div",{className:xe.errorText,children:i})]})},npe="_container_ecah4_2",ope="_label_ecah4_6",cpe="_requiredIndicator_ecah4_13",ipe="_input_ecah4_18",rpe="_inputError_ecah4_49",spe="_errorMessage_ecah4_58",Nc={container:npe,label:ope,requiredIndicator:cpe,input:ipe,inputError:rpe,errorMessage:spe},oq=({field:e,value:t,onChange:n,onBlur:o,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 c.jsxs("div",{className:Nc.container,children:[c.jsxs("label",{htmlFor:e.name,className:Nc.label,style:{color:s},children:[e.label,e.required&&c.jsx("span",{className:Nc.requiredIndicator,children:"*"})]}),c.jsx("input",{type:l,id:e.name,name:e.name,value:t||"",onChange:h=>n(h.target.value),onBlur:o,className:`${Nc.input} ${r&&i?Nc.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&&c.jsx("div",{className:Nc.errorMessage,children:i})]})},dpe="_rangeContainer_cyqk3_3",lpe={rangeContainer:dpe},cq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsxs("div",{className:`mb-3 ${lpe.rangeContainer}`,children:[c.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,": ",t,e.required&&c.jsx("span",{className:"text-danger",children:" *"})]}),c.jsx("input",{type:"range",id:e.name,name:e.name,value:t||0,onChange:s=>n(s.target.value),onBlur:o,className:`form-range ${r&&i?"is-invalid":""}`,min:e.validation?.min||0,max:e.validation?.max||100,step:e.attributes?.step||1}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),hpe="_colorPickerContainer_1wxgj_2",upe="_colorInput_1wxgj_19",ppe="_colorValue_1wxgj_39",BL={colorPickerContainer:hpe,colorInput:upe,colorValue:ppe},iq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsxs("div",{className:"mb-3",children:[c.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&c.jsx("span",{className:"text-danger",children:" *"})]}),c.jsxs("div",{className:BL.colorPickerContainer,children:[c.jsx("input",{type:"color",id:e.name,name:e.name,value:t||"#000000",onChange:s=>n(s.target.value),onBlur:o,className:BL.colorInput}),c.jsx("span",{className:BL.colorValue,children:t})]}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),rq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=["date","month","week","time","datetime-local"];if(e.type==="file")return c.jsx(nq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(s.includes(e.type))return c.jsx(oq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="range")return c.jsx(cq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="color")return c.jsx(iq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});switch(e.type){case"textarea":return c.jsx(eq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"select":return c.jsx(qb,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"checkbox":return c.jsx(tq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"radio":return c.jsx(aq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});default:return c.jsx(Q$,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})}};var RL,rN;function ype(){if(rN)return RL;rN=1;function e(){this.__data__=[],this.size=0}return RL=e,RL}var FL,sN;function sq(){if(sN)return FL;sN=1;function e(t,n){return t===n||t!==t&&n!==n}return FL=e,FL}var EL,dN;function sL(){if(dN)return EL;dN=1;var e=sq();function t(n,o){for(var i=n.length;i--;)if(e(n[i][0],o))return i;return-1}return EL=t,EL}var OL,lN;function kpe(){if(lN)return OL;lN=1;var e=sL(),t=Array.prototype,n=t.splice;function o(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 OL=o,OL}var UL,hN;function mpe(){if(hN)return UL;hN=1;var e=sL();function t(n){var o=this.__data__,i=e(o,n);return i<0?void 0:o[i][1]}return UL=t,UL}var WL,uN;function fpe(){if(uN)return WL;uN=1;var e=sL();function t(n){return e(this.__data__,n)>-1}return WL=t,WL}var GL,pN;function gpe(){if(pN)return GL;pN=1;var e=sL();function t(n,o){var i=this.__data__,r=e(i,n);return r<0?(++this.size,i.push([n,o])):i[r][1]=o,this}return GL=t,GL}var ZL,yN;function dL(){if(yN)return ZL;yN=1;var e=ype(),t=kpe(),n=mpe(),o=fpe(),i=gpe();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=o,r.prototype.set=i,ZL=r,ZL}var KL,kN;function vpe(){if(kN)return KL;kN=1;var e=dL();function t(){this.__data__=new e,this.size=0}return KL=t,KL}var XL,mN;function Mpe(){if(mN)return XL;mN=1;function e(t){var n=this.__data__,o=n.delete(t);return this.size=n.size,o}return XL=e,XL}var YL,fN;function _pe(){if(fN)return YL;fN=1;function e(t){return this.__data__.get(t)}return YL=e,YL}var JL,gN;function xpe(){if(gN)return JL;gN=1;function e(t){return this.__data__.has(t)}return JL=e,JL}var QL,vN;function dq(){if(vN)return QL;vN=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return QL=e,QL}var eI,MN;function kt(){if(MN)return eI;MN=1;var e=dq(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return eI=n,eI}var tI,_N;function Ab(){if(_N)return tI;_N=1;var e=kt(),t=e.Symbol;return tI=t,tI}var aI,xN;function Lpe(){if(xN)return aI;xN=1;var e=Ab(),t=Object.prototype,n=t.hasOwnProperty,o=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=o.call(s);return h&&(d?s[i]=l:delete s[i]),u}return aI=r,aI}var nI,LN;function Ipe(){if(LN)return nI;LN=1;var e=Object.prototype,t=e.toString;function n(o){return t.call(o)}return nI=n,nI}var oI,IN;function lL(){if(IN)return oI;IN=1;var e=Ab(),t=Lpe(),n=Ipe(),o="[object Null]",i="[object Undefined]",r=e?e.toStringTag:void 0;function s(d){return d==null?d===void 0?i:o:r&&r in Object(d)?t(d):n(d)}return oI=s,oI}var cI,wN;function lq(){if(wN)return cI;wN=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return cI=e,cI}var iI,bN;function hq(){if(bN)return iI;bN=1;var e=lL(),t=lq(),n="[object AsyncFunction]",o="[object Function]",i="[object GeneratorFunction]",r="[object Proxy]";function s(d){if(!t(d))return!1;var l=e(d);return l==o||l==i||l==n||l==r}return iI=s,iI}var rI,CN;function wpe(){if(CN)return rI;CN=1;var e=kt(),t=e["__core-js_shared__"];return rI=t,rI}var sI,NN;function bpe(){if(NN)return sI;NN=1;var e=wpe(),t=function(){var o=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function n(o){return!!t&&t in o}return sI=n,sI}var dI,SN;function uq(){if(SN)return dI;SN=1;var e=Function.prototype,t=e.toString;function n(o){if(o!=null){try{return t.call(o)}catch{}try{return o+""}catch{}}return""}return dI=n,dI}var lI,jN;function Cpe(){if(jN)return lI;jN=1;var e=hq(),t=bpe(),n=lq(),o=uq(),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(o(y))}return lI=p,lI}var hI,$N;function Npe(){if($N)return hI;$N=1;function e(t,n){return t?.[n]}return hI=e,hI}var uI,qN;function Wc(){if(qN)return uI;qN=1;var e=Cpe(),t=Npe();function n(o,i){var r=t(o,i);return e(r)?r:void 0}return uI=n,uI}var pI,AN;function zb(){if(AN)return pI;AN=1;var e=Wc(),t=kt(),n=e(t,"Map");return pI=n,pI}var yI,zN;function hL(){if(zN)return yI;zN=1;var e=Wc(),t=e(Object,"create");return yI=t,yI}var kI,VN;function Spe(){if(VN)return kI;VN=1;var e=hL();function t(){this.__data__=e?e(null):{},this.size=0}return kI=t,kI}var mI,PN;function jpe(){if(PN)return mI;PN=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return mI=e,mI}var fI,TN;function $pe(){if(TN)return fI;TN=1;var e=hL(),t="__lodash_hash_undefined__",n=Object.prototype,o=n.hasOwnProperty;function i(r){var s=this.__data__;if(e){var d=s[r];return d===t?void 0:d}return o.call(s,r)?s[r]:void 0}return fI=i,fI}var gI,HN;function qpe(){if(HN)return gI;HN=1;var e=hL(),t=Object.prototype,n=t.hasOwnProperty;function o(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return gI=o,gI}var vI,DN;function Ape(){if(DN)return vI;DN=1;var e=hL(),t="__lodash_hash_undefined__";function n(o,i){var r=this.__data__;return this.size+=this.has(o)?0:1,r[o]=e&&i===void 0?t:i,this}return vI=n,vI}var MI,BN;function zpe(){if(BN)return MI;BN=1;var e=Spe(),t=jpe(),n=$pe(),o=qpe(),i=Ape();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=o,r.prototype.set=i,MI=r,MI}var _I,RN;function Vpe(){if(RN)return _I;RN=1;var e=zpe(),t=dL(),n=zb();function o(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return _I=o,_I}var xI,FN;function Ppe(){if(FN)return xI;FN=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return xI=e,xI}var LI,EN;function uL(){if(EN)return LI;EN=1;var e=Ppe();function t(n,o){var i=n.__data__;return e(o)?i[typeof o=="string"?"string":"hash"]:i.map}return LI=t,LI}var II,ON;function Tpe(){if(ON)return II;ON=1;var e=uL();function t(n){var o=e(this,n).delete(n);return this.size-=o?1:0,o}return II=t,II}var wI,UN;function Hpe(){if(UN)return wI;UN=1;var e=uL();function t(n){return e(this,n).get(n)}return wI=t,wI}var bI,WN;function Dpe(){if(WN)return bI;WN=1;var e=uL();function t(n){return e(this,n).has(n)}return bI=t,bI}var CI,GN;function Bpe(){if(GN)return CI;GN=1;var e=uL();function t(n,o){var i=e(this,n),r=i.size;return i.set(n,o),this.size+=i.size==r?0:1,this}return CI=t,CI}var NI,ZN;function pq(){if(ZN)return NI;ZN=1;var e=Vpe(),t=Tpe(),n=Hpe(),o=Dpe(),i=Bpe();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=o,r.prototype.set=i,NI=r,NI}var SI,KN;function Rpe(){if(KN)return SI;KN=1;var e=dL(),t=zb(),n=pq(),o=200;function i(r,s){var d=this.__data__;if(d instanceof e){var l=d.__data__;if(!t||l.length<o-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 SI=i,SI}var jI,XN;function Fpe(){if(XN)return jI;XN=1;var e=dL(),t=vpe(),n=Mpe(),o=_pe(),i=xpe(),r=Rpe();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=o,s.prototype.has=i,s.prototype.set=r,jI=s,jI}var $I,YN;function Epe(){if(YN)return $I;YN=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return $I=t,$I}var qI,JN;function Ope(){if(JN)return qI;JN=1;function e(t){return this.__data__.has(t)}return qI=e,qI}var AI,QN;function Upe(){if(QN)return AI;QN=1;var e=pq(),t=Epe(),n=Ope();function o(i){var r=-1,s=i==null?0:i.length;for(this.__data__=new e;++r<s;)this.add(i[r])}return o.prototype.add=o.prototype.push=t,o.prototype.has=n,AI=o,AI}var zI,eS;function Wpe(){if(eS)return zI;eS=1;function e(t,n){for(var o=-1,i=t==null?0:t.length;++o<i;)if(n(t[o],o,t))return!0;return!1}return zI=e,zI}var VI,tS;function Gpe(){if(tS)return VI;tS=1;function e(t,n){return t.has(n)}return VI=e,VI}var PI,aS;function yq(){if(aS)return PI;aS=1;var e=Upe(),t=Wpe(),n=Gpe(),o=1,i=2;function r(s,d,l,h,u,p){var y=l&o,f=s.length,g=d.length;if(f!=g&&!(y&&g>f))return!1;var m=p.get(s),_=p.get(d);if(m&&_)return m==d&&_==s;var M=-1,v=!0,x=l&i?new e:void 0;for(p.set(s,d),p.set(d,s);++M<f;){var C=s[M],w=d[M];if(h)var b=y?h(w,C,M,d,s,p):h(C,w,M,s,d,p);if(b!==void 0){if(b)continue;v=!1;break}if(x){if(!t(d,function(L,I){if(!n(x,I)&&(C===L||u(C,L,l,h,p)))return x.push(I)})){v=!1;break}}else if(!(C===w||u(C,w,l,h,p))){v=!1;break}}return p.delete(s),p.delete(d),v}return PI=r,PI}var TI,nS;function Zpe(){if(nS)return TI;nS=1;var e=kt(),t=e.Uint8Array;return TI=t,TI}var HI,oS;function Kpe(){if(oS)return HI;oS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i,r){o[++n]=[r,i]}),o}return HI=e,HI}var DI,cS;function Xpe(){if(cS)return DI;cS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i){o[++n]=i}),o}return DI=e,DI}var BI,iS;function Ype(){if(iS)return BI;iS=1;var e=Ab(),t=Zpe(),n=sq(),o=yq(),i=Kpe(),r=Xpe(),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]",_="[object Symbol]",M="[object ArrayBuffer]",v="[object DataView]",x=e?e.prototype:void 0,C=x?x.valueOf:void 0;function w(b,L,I,S,j,q,A){switch(I){case v:if(b.byteLength!=L.byteLength||b.byteOffset!=L.byteOffset)return!1;b=b.buffer,L=L.buffer;case M:return!(b.byteLength!=L.byteLength||!q(new t(b),new t(L)));case l:case h:case y:return n(+b,+L);case u:return b.name==L.name&&b.message==L.message;case f:case m:return b==L+"";case p:var P=i;case g:var H=S&s;if(P||(P=r),b.size!=L.size&&!H)return!1;var z=A.get(b);if(z)return z==L;S|=d,A.set(b,L);var N=o(P(b),P(L),S,j,q,A);return A.delete(b),N;case _:if(C)return C.call(b)==C.call(L)}return!1}return BI=w,BI}var RI,rS;function Jpe(){if(rS)return RI;rS=1;function e(t,n){for(var o=-1,i=n.length,r=t.length;++o<i;)t[r+o]=n[o];return t}return RI=e,RI}var FI,sS;function Vb(){if(sS)return FI;sS=1;var e=Array.isArray;return FI=e,FI}var EI,dS;function Qpe(){if(dS)return EI;dS=1;var e=Jpe(),t=Vb();function n(o,i,r){var s=i(o);return t(o)?s:e(s,r(o))}return EI=n,EI}var OI,lS;function eye(){if(lS)return OI;lS=1;function e(t,n){for(var o=-1,i=t==null?0:t.length,r=0,s=[];++o<i;){var d=t[o];n(d,o,t)&&(s[r++]=d)}return s}return OI=e,OI}var UI,hS;function tye(){if(hS)return UI;hS=1;function e(){return[]}return UI=e,UI}var WI,uS;function aye(){if(uS)return WI;uS=1;var e=eye(),t=tye(),n=Object.prototype,o=n.propertyIsEnumerable,i=Object.getOwnPropertySymbols,r=i?function(s){return s==null?[]:(s=Object(s),e(i(s),function(d){return o.call(s,d)}))}:t;return WI=r,WI}var GI,pS;function nye(){if(pS)return GI;pS=1;function e(t,n){for(var o=-1,i=Array(t);++o<t;)i[o]=n(o);return i}return GI=e,GI}var ZI,yS;function pL(){if(yS)return ZI;yS=1;function e(t){return t!=null&&typeof t=="object"}return ZI=e,ZI}var KI,kS;function oye(){if(kS)return KI;kS=1;var e=lL(),t=pL(),n="[object Arguments]";function o(i){return t(i)&&e(i)==n}return KI=o,KI}var XI,mS;function cye(){if(mS)return XI;mS=1;var e=oye(),t=pL(),n=Object.prototype,o=n.hasOwnProperty,i=n.propertyIsEnumerable,r=e(function(){return arguments}())?e:function(s){return t(s)&&o.call(s,"callee")&&!i.call(s,"callee")};return XI=r,XI}var e1={exports:{}},YI,fS;function iye(){if(fS)return YI;fS=1;function e(){return!1}return YI=e,YI}e1.exports;var gS;function kq(){return gS||(gS=1,function(e,t){var n=kt(),o=iye(),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||o;e.exports=h}(e1,e1.exports)),e1.exports}var JI,vS;function rye(){if(vS)return JI;vS=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(o,i){var r=typeof o;return i=i??e,!!i&&(r=="number"||r!="symbol"&&t.test(o))&&o>-1&&o%1==0&&o<i}return JI=n,JI}var QI,MS;function mq(){if(MS)return QI;MS=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return QI=t,QI}var ew,_S;function sye(){if(_S)return ew;_S=1;var e=lL(),t=mq(),n=pL(),o="[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]",_="[object ArrayBuffer]",M="[object DataView]",v="[object Float32Array]",x="[object Float64Array]",C="[object Int8Array]",w="[object Int16Array]",b="[object Int32Array]",L="[object Uint8Array]",I="[object Uint8ClampedArray]",S="[object Uint16Array]",j="[object Uint32Array]",q={};q[v]=q[x]=q[C]=q[w]=q[b]=q[L]=q[I]=q[S]=q[j]=!0,q[o]=q[i]=q[_]=q[r]=q[M]=q[s]=q[d]=q[l]=q[h]=q[u]=q[p]=q[y]=q[f]=q[g]=q[m]=!1;function A(P){return n(P)&&t(P.length)&&!!q[e(P)]}return ew=A,ew}var tw,xS;function dye(){if(xS)return tw;xS=1;function e(t){return function(n){return t(n)}}return tw=e,tw}var t1={exports:{}};t1.exports;var LS;function lye(){return LS||(LS=1,function(e,t){var n=dq(),o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,r=i&&i.exports===o,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}(t1,t1.exports)),t1.exports}var aw,IS;function fq(){if(IS)return aw;IS=1;var e=sye(),t=dye(),n=lye(),o=n&&n.isTypedArray,i=o?t(o):e;return aw=i,aw}var nw,wS;function hye(){if(wS)return nw;wS=1;var e=nye(),t=cye(),n=Vb(),o=kq(),i=rye(),r=fq(),s=Object.prototype,d=s.hasOwnProperty;function l(h,u){var p=n(h),y=!p&&t(h),f=!p&&!y&&o(h),g=!p&&!y&&!f&&r(h),m=p||y||f||g,_=m?e(h.length,String):[],M=_.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)))&&_.push(v);return _}return nw=l,nw}var ow,bS;function uye(){if(bS)return ow;bS=1;var e=Object.prototype;function t(n){var o=n&&n.constructor,i=typeof o=="function"&&o.prototype||e;return n===i}return ow=t,ow}var cw,CS;function pye(){if(CS)return cw;CS=1;function e(t,n){return function(o){return t(n(o))}}return cw=e,cw}var iw,NS;function yye(){if(NS)return iw;NS=1;var e=pye(),t=e(Object.keys,Object);return iw=t,iw}var rw,SS;function kye(){if(SS)return rw;SS=1;var e=uye(),t=yye(),n=Object.prototype,o=n.hasOwnProperty;function i(r){if(!e(r))return t(r);var s=[];for(var d in Object(r))o.call(r,d)&&d!="constructor"&&s.push(d);return s}return rw=i,rw}var sw,jS;function mye(){if(jS)return sw;jS=1;var e=hq(),t=mq();function n(o){return o!=null&&t(o.length)&&!e(o)}return sw=n,sw}var dw,$S;function fye(){if($S)return dw;$S=1;var e=hye(),t=kye(),n=mye();function o(i){return n(i)?e(i):t(i)}return dw=o,dw}var lw,qS;function gye(){if(qS)return lw;qS=1;var e=Qpe(),t=aye(),n=fye();function o(i){return e(i,n,t)}return lw=o,lw}var hw,AS;function vye(){if(AS)return hw;AS=1;var e=gye(),t=1,n=Object.prototype,o=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 _=f;_--;){var M=y[_];if(!(p?M in s:o.call(s,M)))return!1}var v=u.get(r),x=u.get(s);if(v&&x)return v==s&&x==r;var C=!0;u.set(r,s),u.set(s,r);for(var w=p;++_<f;){M=y[_];var b=r[M],L=s[M];if(l)var I=p?l(L,b,M,s,r,u):l(b,L,M,r,s,u);if(!(I===void 0?b===L||h(b,L,d,l,u):I)){C=!1;break}w||(w=M=="constructor")}if(C&&!w){var S=r.constructor,j=s.constructor;S!=j&&"constructor"in r&&"constructor"in s&&!(typeof S=="function"&&S instanceof S&&typeof j=="function"&&j instanceof j)&&(C=!1)}return u.delete(r),u.delete(s),C}return hw=i,hw}var uw,zS;function Mye(){if(zS)return uw;zS=1;var e=Wc(),t=kt(),n=e(t,"DataView");return uw=n,uw}var pw,VS;function _ye(){if(VS)return pw;VS=1;var e=Wc(),t=kt(),n=e(t,"Promise");return pw=n,pw}var yw,PS;function xye(){if(PS)return yw;PS=1;var e=Wc(),t=kt(),n=e(t,"Set");return yw=n,yw}var kw,TS;function Lye(){if(TS)return kw;TS=1;var e=Wc(),t=kt(),n=e(t,"WeakMap");return kw=n,kw}var mw,HS;function Iye(){if(HS)return mw;HS=1;var e=Mye(),t=zb(),n=_ye(),o=xye(),i=Lye(),r=lL(),s=uq(),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),_=s(o),M=s(i),v=r;return(e&&v(new e(new ArrayBuffer(1)))!=y||t&&v(new t)!=d||n&&v(n.resolve())!=h||o&&v(new o)!=u||i&&v(new i)!=p)&&(v=function(x){var C=r(x),w=C==l?x.constructor:void 0,b=w?s(w):"";if(b)switch(b){case f:return y;case g:return d;case m:return h;case _:return u;case M:return p}return C}),mw=v,mw}var fw,DS;function wye(){if(DS)return fw;DS=1;var e=Fpe(),t=yq(),n=Ype(),o=vye(),i=Iye(),r=Vb(),s=kq(),d=fq(),l=1,h="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,f=y.hasOwnProperty;function g(m,_,M,v,x,C){var w=r(m),b=r(_),L=w?u:i(m),I=b?u:i(_);L=L==h?p:L,I=I==h?p:I;var S=L==p,j=I==p,q=L==I;if(q&&s(m)){if(!s(_))return!1;w=!0,S=!1}if(q&&!S)return C||(C=new e),w||d(m)?t(m,_,M,v,x,C):n(m,_,L,M,v,x,C);if(!(M&l)){var A=S&&f.call(m,"__wrapped__"),P=j&&f.call(_,"__wrapped__");if(A||P){var H=A?m.value():m,z=P?_.value():_;return C||(C=new e),x(H,z,M,v,C)}}return q?(C||(C=new e),o(m,_,M,v,x,C)):!1}return fw=g,fw}var gw,BS;function bye(){if(BS)return gw;BS=1;var e=wye(),t=pL();function n(o,i,r,s,d){return o===i?!0:o==null||i==null||!t(o)&&!t(i)?o!==o&&i!==i:e(o,i,r,s,n,d)}return gw=n,gw}var vw,RS;function Cye(){if(RS)return vw;RS=1;var e=bye();function t(n,o){return e(n,o)}return vw=t,vw}var Nye=Cye();const Sye=a.getDefaultExportFromCjs(Nye),jye=({schema:e,initialData:t={},onSubmit:n,submitLabel:o,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,_]=k.useState(!1),M=k.useRef(t);k.useEffect(()=>{Sye(M.current,t)||(u(t),M.current=t)},[t]);const v=(I,S)=>{const j={...h,[I]:S};if(u(j),f[I]){const q=e.fields.find(A=>A.name===I);if(q){const A=Qx(S,q);y(P=>({...P,[I]:A.isValid?"":A.error}))}}},x=I=>{if(!f[I]){g(j=>({...j,[I]:!0}));const S=e.fields.find(j=>j.name===I);if(S){const j=Qx(h[I],S);y(q=>({...q,[I]:j.isValid?"":j.error}))}}},C=async I=>{I.preventDefault(),_(!0);const S=e.fields.reduce((q,A)=>(A.type!=="section"&&(q[A.name]=!0),q),{});g(S);const j=J$(h,e.fields.filter(q=>q.type!=="section"));if(y(j.errors),j.isValid)try{await n(h)}catch(q){console.error("Erreur lors de la soumission:",q),y(A=>({...A,__global:"Une erreur est survenue lors de la soumission"}))}_(!1)},w=l?ht[l]:null,b=i&&ht[i]||e.submitIcon&&ht[e.submitIcon]||null,L=e.columns&&e.columns>0?Math.floor(e.columns):12;return c.jsxs("div",{className:oe.formContainer,children:[c.jsx("div",{className:oe.headerLine,children:c.jsx("h2",{className:oe.formTitle,children:e.title})}),e.description&&c.jsx("p",{className:oe.formDescription,children:e.description}),p.__global&&c.jsx("div",{className:`alert alert-danger ${oe.globalError}`,children:p.__global}),c.jsxs("form",{onSubmit:C,children:[c.jsx("div",{className:oe.gridContainer,style:{gridTemplateColumns:`repeat(${L}, minmax(0, 1fr))`},children:e.fields.map(I=>{if(I.type==="section")return c.jsxs("div",{className:oe.sectionFull,children:[c.jsx("h5",{className:oe.sectionTitle,children:I.label}),I.help&&c.jsx("p",{className:oe.sectionHelp,children:I.help})]},I.name);const j={gridColumn:`span ${Math.max(1,Math.min(L,I.gridCol??L))}`};return c.jsxs("div",{className:oe.fieldGridItem,style:j,children:[c.jsx(rq,{field:I,value:h[I.name],onChange:q=>v(I.name,q),onBlur:()=>x(I.name),error:p[I.name],touched:f[I.name]}),I.help&&c.jsx("small",{className:oe.fieldHelp,children:I.help})]},I.name)})}),c.jsxs("div",{className:oe.formFooter,children:[c.jsx("div",{className:oe.footerLeft,children:s&&c.jsxs("button",{type:"button",className:oe.cancelLink,onClick:s,children:[w&&c.jsx(w,{size:16,className:"me-2"})," ",d]})}),c.jsx("div",{className:oe.footerRight,children:c.jsx(Ex,{type:"submit",variant:"primary",size:"md",className:oe.submitButton,disabled:m,children:m?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status"}),"Validation..."]}):c.jsxs(c.Fragment,{children:[b&&(r==="left"||e.submitIconPosition==="left")&&c.jsx(b,{size:16,className:"me-2"}),o||e.submitText||"Valider",b&&(r==="right"||e.submitIconPosition==="right")&&c.jsx(b,{size:16,className:"ms-2"})]})})})]})]})]})};function $ye(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const qye="_container_1gljv_85",Aye="_tableWrapper_1gljv_111",zye="_tableControls_1gljv_117",Vye="_controlsRight_1gljv_128",Pye="_limitedRows_1gljv_151",Tye="_table_1gljv_111",Hye="_headerCell_1gljv_206",Dye="_headerContent_1gljv_220",Bye="_headerWords_1gljv_229",Rye="_headerWord_1gljv_229",Fye="_cellContent_1gljv_276",Eye="_alignLeft_1gljv_286",Oye="_alignCenter_1gljv_290",Uye="_alignRight_1gljv_294",Wye="_tableCell_1gljv_298",Gye="_tableRow_1gljv_308",Zye="_emptyRow_1gljv_385",Kye="_toggleFiltersButton_1gljv_393",Xye="_toggleSortButton_1gljv_394",Yye="_buttonTextCompact_1gljv_415",Jye="_uppercaseSmall_1gljv_450",Qye="_filtersPanel_1gljv_463",e4e="_filtersPanelInline_1gljv_481",t4e="_filtersPanelHorizontal_1gljv_492",a4e="_filtersRow_1gljv_492",n4e="_filtersActionsHorizontal_1gljv_525",o4e="_filterItemInline_1gljv_542",c4e="_filterLabel_1gljv_571",i4e="_filterInput_1gljv_576",r4e="_filterSelect_1gljv_577",s4e="_operatorSelect_1gljv_578",d4e="_operatorInput_1gljv_579",l4e="_activeFilterTag_1gljv_597",h4e="_actionsGroup_1gljv_609",u4e="_applyButton_1gljv_615",p4e="_cancelButton_1gljv_625",y4e="_columnSorterContainer_1gljv_649",k4e="_sorterControls_1gljv_654",m4e="_sortDropdownWrapper_1gljv_659",f4e="_sortDropdown_1gljv_659",g4e="_sortDropdownHeader_1gljv_679",v4e="_closeButton_1gljv_688",M4e="_sortDropdownContent_1gljv_703",_4e="_sortDropdownItem_1gljv_709",x4e="_sortDirectionButtons_1gljv_734",L4e="_sortDirectionButton_1gljv_734",I4e="_activeSort_1gljv_757",w4e="_sortActions_1gljv_764",b4e="_paginationButton_1gljv_842",C4e="_pageSizeSelect_1gljv_844",N4e="_topPagination_1gljv_853",S4e="_paginationContainer_1gljv_861",j4e="_leftGroup_1gljv_874",$4e="_pageSizeControls_1gljv_882",q4e="_paginationInfo_1gljv_908",A4e="_paginationControls_1gljv_916",z4e="_disabledButton_1gljv_947",V4e="_activeButton_1gljv_952",P4e="_navigationButton_1gljv_962",T4e="_operatorFilterContainer_1gljv_1010",H4e="_rangeSeparator_1gljv_1016",D4e="_activeFiltersSection_1gljv_1179",B4e="_activeFiltersRow_1gljv_1184",R4e="_activeFiltersList_1gljv_1192",F4e="_clearAllButton_1gljv_1200",E4e="_removeFilterButton_1gljv_1221",O4e="_sortIndicator_1gljv_1272",U4e="_active_1gljv_349",W4e="_clearSortButton_1gljv_1371",G4e="_loaderSpinner_1gljv_2743",Z4e="_loaderSpinnerSmall_1gljv_2755",K4e="_paginationLoading_1gljv_2772",X4e="_loadingButton_1gljv_2780",Y4e="_loadingIndicator_1gljv_2791",$={container:qye,tableWrapper:Aye,tableControls:zye,controlsRight:Vye,limitedRows:Pye,table:Tye,headerCell:Hye,headerContent:Dye,headerWords:Bye,headerWord:Rye,cellContent:Fye,alignLeft:Eye,alignCenter:Oye,alignRight:Uye,tableCell:Wye,tableRow:Gye,emptyRow:Zye,toggleFiltersButton:Kye,toggleSortButton:Xye,buttonTextCompact:Yye,uppercaseSmall:Jye,filtersPanel:Qye,filtersPanelInline:e4e,filtersPanelHorizontal:t4e,filtersRow:a4e,filtersActionsHorizontal:n4e,filterItemInline:o4e,filterLabel:c4e,filterInput:i4e,filterSelect:r4e,operatorSelect:s4e,operatorInput:d4e,activeFilterTag:l4e,actionsGroup:h4e,applyButton:u4e,cancelButton:p4e,columnSorterContainer:y4e,sorterControls:k4e,sortDropdownWrapper:m4e,sortDropdown:f4e,sortDropdownHeader:g4e,closeButton:v4e,sortDropdownContent:M4e,sortDropdownItem:_4e,sortDirectionButtons:x4e,sortDirectionButton:L4e,activeSort:I4e,sortActions:w4e,paginationButton:b4e,pageSizeSelect:C4e,topPagination:N4e,paginationContainer:S4e,leftGroup:j4e,pageSizeControls:$4e,paginationInfo:q4e,paginationControls:A4e,disabledButton:z4e,activeButton:V4e,navigationButton:P4e,operatorFilterContainer:T4e,rangeSeparator:H4e,activeFiltersSection:D4e,activeFiltersRow:B4e,activeFiltersList:R4e,clearAllButton:F4e,removeFilterButton:E4e,sortIndicator:O4e,active:U4e,clearSortButton:W4e,loaderSpinner:G4e,loaderSpinnerSmall:Z4e,paginationLoading:K4e,loadingButton:X4e,loadingIndicator:Y4e},J4e=({config:e,value:t,onChange:n,disabled:o})=>c.jsxs("select",{value:t===""?"":String(t),onChange:i=>n(i.target.value===""?"":i.target.value==="true"),disabled:o,className:$.filterSelect,children:[c.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),c.jsx("option",{value:"true",children:"Oui"}),c.jsx("option",{value:"false",children:"Non"})]}),Q4e=({config:e,value:t,onChange:n,disabled:o})=>c.jsx("input",{type:"date",value:t||"",onChange:i=>n(i.target.value),placeholder:`Filtrer ${e.label}...`,disabled:o,className:$.filterInput}),e5e=({config:e,value:t,onChange:n,disabled:o})=>{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 c.jsx("select",{multiple:!0,value:t.map(String),onChange:s,disabled:o,className:$.filterMultiSelect,children:i.map((d,l)=>c.jsx("option",{value:String(d.value),children:d.label},l))})},FS=({config:e,value:t,onChange:n,disabled:o})=>{const[i,r]=k.useState(t||""),s=d=>{const l=d.target.value===""?"":Number(d.target.value);r(l),n(l)};return c.jsx("input",{type:"number",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:o,className:$.filterInput})},t5e=({config:e,value:t,onChange:n,disabled:o=!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?c.jsx("div",{children:"Chargement..."}):c.jsxs("select",{value:String(t||""),onChange:l,disabled:o,className:$.filterInput,children:[c.jsx("option",{value:"",children:"Select..."}),i.map(h=>c.jsx("option",{value:h.value,children:h.label},h.value))]})},a5e=({config:e,value:t,onChange:n,disabled:o=!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 c.jsx("input",{type:"text",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:o,className:$.filterInput})},n5e=({config:e,value:t,onChange:n,disabled:o=!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 c.jsxs("div",{className:$.operatorFilterContainer,children:[c.jsxs("select",{value:i,onChange:l,disabled:o,className:$.operatorSelect,children:[c.jsx("option",{value:"",children:"Sélectionner un opérateur"}),e.operators.map(u=>c.jsx("option",{value:String(u.value),children:u.label},String(u.value)))]}),c.jsx("input",{type:"text",value:s,onChange:h,placeholder:"Valeur",disabled:o||!i,className:$.operatorInput})]})},o5e=({value:e,onChange:t,disabled:n})=>{const o=e||{},i=s=>{t({...o,start:s.target.value})},r=s=>{t({...o,end:s.target.value})};return c.jsxs("div",{className:$.dateRangeContainer,children:[c.jsx("input",{type:"date",value:o.start||"",onChange:i,disabled:n,className:$.filterInput}),c.jsx("span",{className:$.rangeSeparator,children:"→"}),c.jsx("input",{type:"date",value:o.end||"",onChange:r,disabled:n,className:$.filterInput})]})},c5e=({config:e,value:t,onChange:n,disabled:o})=>{switch(e.type){case"text":case"search":return c.jsx(a5e,{config:e,value:t,onChange:n,disabled:o});case"number":return c.jsx(FS,{config:e,value:t,onChange:n,disabled:o});case"range":return c.jsx(FS,{config:e,value:t,onChange:n,disabled:o});case"select":return c.jsx(t5e,{config:e,value:t,onChange:n,disabled:o});case"operator":return c.jsx(n5e,{config:e,value:t,onChange:n,disabled:o});case"multiselect":return c.jsx(e5e,{config:e,value:t,onChange:n,disabled:o});case"date":return c.jsx(Q4e,{config:e,value:t,onChange:n,disabled:o});case"daterange":return c.jsx(o5e,{config:e,value:t??{start:"",end:""},onChange:n,disabled:o});case"boolean":return c.jsx(J4e,{config:e,value:t,onChange:n,disabled:o});default:return c.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},gq=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:o,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(_=>({..._,[g]:m}))},[]),p=k.useCallback(async()=>{const g=[],m={...d};for(const[_,M]of Object.entries(m)){const v=e.find(w=>w.id===_);if(!v)continue;let x=M;try{typeof M=="function"&&(x=await M(m)),typeof v.executeOnApply=="function"&&(x=await v.executeOnApply(x,m))}catch{continue}if(v.type==="daterange"){const w=x?.start??"",b=x?.end??"",L=typeof w=="string"?w.trim()==="":!w,I=typeof b=="string"?b.trim()==="":!b;if(L&&I)continue}x==null||typeof x=="string"&&x.trim()===""||Array.isArray(x)&&x.length===0||typeof x=="object"&&!Array.isArray(x)&&Object.keys(x).length===0||g.push({id:_,type:v.type,value:x,label:v.label})}return i?n?.(g):(s(g),o?.(g)),g},[d,e,i,n,o]),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([]),o?.([]))},[e,i,n,o]);return{appliedFilters:h,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:f}},i5e=(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(o=>String(o)).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 o=n;if(!o.start||!o.end)return!1;const i=o.start,r=o.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(o){return console.error("Error processing daterange filter:",o),!1}case"operator":if(typeof n=="object"&&n!==null){const o=n;if(!("operator"in o)||!("value"in o))return!1;const{operator:i,value:r}=o,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 vq(e,t,n="",o={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(_=>t.some(M=>{const v=_.data[M.id];return v==null?!1:String(v).toLowerCase().includes(l)}))),s.length>0&&(m=m.filter(_=>s.every(M=>{try{const v=_.data[M.id];return i5e(v,M)}catch(v){return console.error("Error applying filter:",v),!1}}))),m},[e,t,l,s]),u=k.useMemo(()=>{if(!o?.key)return h;const m=o.key;return[...h].sort((_,M)=>{const v=_.data[m],x=M.data[m];if(v==null)return 1;if(x==null)return-1;if(typeof v=="number"&&typeof x=="number")return o.direction==="desc"?x-v:v-x;if(v instanceof Date&&x instanceof Date){const w=v.getTime()-x.getTime();return o.direction==="desc"?-w:w}const C=String(v).localeCompare(String(x),void 0,{numeric:!0,sensitivity:"base"});return o.direction==="desc"?-C:C})},[h,o]),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 Mq=({value:e})=>e,_q=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),xq=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),Lq=({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",o=typeof e=="object"?e.text:e,i=t[n]||t.default;return k.createElement("span",{className:`badge ${i}`},o)},Iq=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},wq=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),bq=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),Cq=({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"})),Kw={renderers:{text:Mq,email:_q,link:xq,badge:Lq,date:Iq,number:wq,currency:bq,image:Cq},icons:{sortAsc:k.createElement(Mc,{className:"sort-icon active",size:14}),sortDesc:k.createElement(wt,{className:"sort-icon active",size:14}),sortDefault:k.createElement(Pc,{className:"sort-icon",size:14})}},r5e=(e,t)=>{Kw.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),Kw.renderers[e]=t},s5e=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:o,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[_,M]=k.useState(!1),v=typeof s=="boolean"?s:_,{appliedFilters:x,tempFilters:C,updateFilter:w,applyFilters:b,clearAllFilters:L}=gq({filters:e,externalFilters:t,onFiltersChange:n,onApply:o,isControlled:i}),I=k.useRef(null),S=k.useRef(null);k.useEffect(()=>{if(v&&I.current){const z=I.current.getBoundingClientRect().height;h?.(z)}else h?.(0)},[v,e,C,h]);const j=()=>{typeof s=="boolean"?d?.(!s):M(z=>{const N=!z;return d?.(N),N})},q=()=>e.map(z=>{const N=C?.[z.id];return N==null||typeof N=="string"&&N.trim()===""?null:{id:z.id,label:z.label,value:N}}).filter(Boolean),A=async()=>{let z;try{z=await b()}catch{z=void 0}let N=[];z&&Array.isArray(z)&&z.length>0?N=z:x&&x.length>0?N=x:N=q(),n?.(N),o?.(N)},P=()=>{d?.(!1),typeof s!="boolean"&&M(!1)},H=()=>{L(),n?.([]),o?.([])};return k.useEffect(()=>{const z=V=>{v&&S.current&&(S.current.contains(V.target)||(d?.(!1),typeof s!="boolean"&&M(!1)))},N=V=>{V.key==="Escape"&&v&&(d?.(!1),typeof s!="boolean"&&M(!1))};return v&&(document.addEventListener("pointerdown",z),document.addEventListener("keydown",N)),()=>{document.removeEventListener("pointerdown",z),document.removeEventListener("keydown",N)}},[v,s,d]),c.jsxs("div",{className:$.advancedFiltersContainer,ref:S,children:[c.jsxs("button",{className:`${$.toggleFiltersButton} ${x.length>0?$.active:""} ${v?$.toggleFiltersButtonOpen:""} ${m?$.loadingButton:""}`,onClick:j,"aria-expanded":v,"aria-controls":"advanced-filters-panel",type:"button",disabled:m,children:[m?c.jsx("span",{className:$.loaderSpinnerSmall}):c.jsx(vt,{size:14}),c.jsx("span",{className:$.buttonTextCompact,children:u}),x.length>0&&!m&&c.jsx("span",{className:$.filterCountBadge,"aria-hidden":!0,children:x.length}),m&&c.jsx("span",{className:$.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),v&&c.jsxs("div",{id:"advanced-filters-panel",ref:I,className:`${$.filtersPanel} ${l==="top"?`${$.filtersPanelInline} ${$.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[c.jsx("div",{className:$.filtersRow,children:e.map(z=>c.jsxs("div",{className:`${$.filterItem} ${$.filterItemInline}`,children:[c.jsxs("label",{className:$.filterLabel,children:[z.label,z.required&&c.jsx("span",{className:$.required,children:"*"})]}),c.jsx(c5e,{config:z,value:C[z.id],onChange:N=>w(z.id,N),disabled:z.disabled})]},z.id))}),c.jsxs("div",{className:$.filtersActionsHorizontal,children:[c.jsx("div",{className:$.activeFiltersSection,children:x.length>0&&c.jsxs("div",{className:$.activeFiltersRow,children:[c.jsx("span",{className:$.activeLabelCompact,children:"Actifs :"}),c.jsx("div",{className:$.activeFiltersList,children:x.map(z=>c.jsxs("div",{className:$.activeFilterTag,children:[z.label??z.id,c.jsx("button",{className:$.removeFilterButton,onClick:()=>w(z.id,void 0),"aria-label":`Supprimer ${z.id}`,type:"button",children:"×"})]},z.id))}),c.jsxs("button",{className:$.clearAllButton,onClick:H,type:"button",children:[c.jsx(Ke,{size:12})," ",f]})]})}),c.jsxs("div",{className:$.actionsGroup,children:[c.jsx("button",{className:$.cancelButton,onClick:P,type:"button",disabled:m,children:y}),c.jsx("button",{className:`${$.applyButton} ${m?$.loadingButton:""}`,onClick:A,type:"button",disabled:g||m,"aria-disabled":g||m,children:m?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:$.loaderSpinnerSmall}),c.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},ES=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},d5e=({columns:e,sortConfig:t,onSort:n,label:o="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=_=>{if(!l.current)return;const M=_.target;M&&!l.current.contains(M)&&s(!1)},m=_=>{_.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]),c.jsx("div",{className:$.columnSorterContainer,ref:l,children:c.jsx("div",{className:$.sorterControls,children:d.length>0&&c.jsxs("div",{className:$.sortDropdownWrapper,ref:l,children:[c.jsxs("button",{className:`${$.toggleSortButton} ${r?$.toggleSortButtonOpen:""} ${h?$.active:""} ${i?$.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?c.jsx("span",{className:$.loaderSpinnerSmall}):c.jsx(Pc,{size:14}),c.jsx("span",{className:`${$.buttonTextCompact} ${ES(o)?$.uppercaseSmall:""}`,children:o}),h&&!i&&c.jsx("div",{className:$.sortIndicator,children:t?.direction==="asc"?c.jsx(Mc,{size:12}):c.jsx(wt,{size:12})})]}),r&&c.jsxs("div",{className:`${$.sortDropdown} ${$.sortDropdownInline}`,role:"menu",children:[c.jsxs("div",{className:$.sortDropdownHeader,children:[c.jsx("span",{children:"Trier par:"}),c.jsx("button",{className:$.closeButton,onClick:f,"aria-label":"Fermer",type:"button",children:c.jsx(Ke,{size:16})})]}),c.jsx("div",{className:$.sortDropdownContent,children:d.map(g=>{const m=String(g.label??g.id),_=ES(m);return c.jsxs("div",{className:$.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:M=>{M.key==="Enter"&&u(g.id,"asc")},children:[c.jsx("span",{className:`${$.columnSorterLabel} ${_?$.uppercaseSmall:""}`,title:m,"aria-label":m,children:m}),c.jsxs("div",{className:$.sortDirectionButtons,children:[c.jsx("button",{className:`${$.sortDirectionButton} ${t?.key===g.id&&t?.direction==="asc"?$.activeSort:""}`,onClick:()=>u(g.id,"asc"),title:"Trier par ordre croissant",type:"button",children:c.jsx(Mc,{size:12})}),c.jsx("button",{className:`${$.sortDirectionButton} ${t?.key===g.id&&t?.direction==="desc"?$.activeSort:""}`,onClick:()=>u(g.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:c.jsx(wt,{size:12})})]})]},g.id)})}),h&&c.jsx("div",{className:$.sortActions,children:c.jsxs("button",{className:$.clearSortButton,onClick:p,type:"button",children:[c.jsx(gt,{size:14}),c.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},l5e=({currentPage:e,totalPages:t,pageSize:n,totalItems:o,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=o>0?(h-1)*n+1:0,f=o>0?Math.min(h*n,o):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 x=M;x<=v;x++)m.push(x);return m};return c.jsxs("div",{className:$.paginationContainer,role:"navigation","aria-label":"Pagination",children:[c.jsx("div",{className:$.leftGroup,children:s&&c.jsx("div",{className:$.pageSizeControls,children:c.jsx("select",{value:n,onChange:m=>s(Number(m.target.value)),className:$.pageSizeSelect,"aria-label":"Taille de page",disabled:d,children:[10,20,30].map(m=>c.jsx("option",{value:m,children:m},m))})})}),c.jsx("div",{className:$.paginationInfo,"aria-live":"polite",children:d?c.jsxs("span",{className:$.paginationLoading,children:[c.jsx("span",{className:$.loaderSpinner}),c.jsx("span",{children:"Chargement..."})]}):`${y}-${f} ${i}`}),c.jsxs("div",{className:$.paginationControls,children:[c.jsx("button",{onClick:u,disabled:h===1||d,className:`${$.paginationButton} ${$.navigationButton} ${h===1?$.disabledButton:""} ${d?$.loadingButton:""}`,"aria-label":"Page précédente",children:d&&h>1?c.jsx("span",{className:$.loaderSpinnerSmall}):"«"}),g().map(m=>c.jsx("button",{onClick:()=>r(m),disabled:d,"aria-current":h===m?"page":void 0,className:`${$.paginationButton} ${h===m?$.activeButton:""} ${d?$.loadingButton:""}`,children:d&&h===m?c.jsx("span",{className:$.loaderSpinnerSmall}):m},m)),c.jsx("button",{onClick:p,disabled:d||h>=l,className:`${$.paginationButton} ${$.navigationButton} ${d?$.loadingButton:""} ${h>=l?$.disabledButton:""}`,"aria-label":"Page suivante",children:d?c.jsx("span",{className:$.loaderSpinnerSmall}):"»"})]})]})},h5e=(e,t)=>{if(!e)return"";if(t)return e;const n=String(e).trim();if(!n)return n;const o=n.toLowerCase();return o.charAt(0).toUpperCase()+o.slice(1)},u5e=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},p5e=({columns:e})=>c.jsx("thead",{className:$.tableHeader,children:c.jsx("tr",{children:e.map((t,n)=>{const o=t.align==="right"?$.alignRight:t.align==="left"?$.alignLeft:$.alignCenter,i=t.preserveHeaderCase===!0,r=h5e(String(t.label??""),i),s=u5e(r),d=s?r.split(/\s+/):[];return c.jsx("th",{className:`${$.headerCell} ${o}`,style:{width:t.width??void 0},"data-preserve":i?"true":"false",children:c.jsx("div",{className:$.headerContent,children:s?c.jsx("div",{className:$.headerWords,children:d.map((l,h)=>c.jsx("span",{className:$.headerWord,children:l},h))}):c.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),y5e=({value:e,row:t,column:n})=>{const o=n.align==="right"?$.alignRight:n.align==="left"?$.alignLeft:$.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return c.jsx("td",{className:`${$.tableCell} ${o}`,style:{width:n.width??void 0},children:c.jsx("div",{className:$.cellContent,children:i})})},k5e=({row:e,rowId:t,columns:n,onRowClick:o,index:i,getRowStyle:r})=>{const s=r?r(e):{},{backgroundColor:d,accentColor:l,...h}=s||{},u={backgroundColor:d,...h,"--row-accent":l??"transparent"};return c.jsx("tr",{className:`${$.tableRow} ${o?$.clickableRow:""}`,onClick:()=>o?.(e,i),style:u,children:n.map(p=>c.jsx(y5e,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},m5e=({data:e,columns:t,onRowClick:n,startIndex:o,searchTerm:i,getRowStyle:r})=>e.length===0?c.jsx("tbody",{children:c.jsx("tr",{children:c.jsx("td",{colSpan:t.length,className:$.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):c.jsx("tbody",{children:e.map((s,d)=>c.jsx(k5e,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:o+d-1,getRowStyle:r},s.id))}),Nq=({columns:e=[],data:t=[],pagination:n={pageSize:10,currentPage:1},onRowClick:o,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:_,itemLabel:M="items",advancedFiltersLabel:v="Advanced-Filters",advancedFiltersActiveLabel:x,sortLabel:C="Sort",applyLabel:w="Apply",cancelLabel:b="Cancel",clearLabel:L="Clear",applyDisabled:I=!1,paginationLoading:S=!1,filtersLoading:j=!1,sortLoading:q=!1,totalCount:A=null})=>{const[P,H]=k.useState({key:null,direction:"asc"}),[z,N]=k.useState(n.currentPage??1),[V,B]=k.useState(n.pageSize??10),[W,D]=k.useState(!1),R=k.useRef(null),[Y,ae]=k.useState([]),me=p?d:Y,rt=p?[]:Y;k.useEffect(()=>{const G=n.currentPage??1,q1=n.pageSize??10;G!==z&&N(G),q1!==V&&B(q1)},[n.currentPage,n.pageSize]);const{paginatedData:fe,sortedData:Ie,totalPages:Z,startIndex:X}=vq(t,e,i,P,z,V,rt),re=Ie.length,_e=typeof A=="number"&&A>=0?A:re;let ue=Z;typeof A=="number"&&A>=0&&(ue=Math.max(1,Math.ceil(A/V)));const we=re>10;k.useEffect(()=>{const G=Math.max(1,Math.floor(ue));z>G&&N(G),z<1&&N(1)},[ue]);const se=G=>{p||ae(G),l?.(G),N(1),_?.(1)},ge=G=>{p||ae(G),h?.(G),N(1),_?.(1),R.current&&R.current.style.setProperty("--filters-panel-height","0px")},Ve=G=>{_?.(G),N(G)},je=G=>{B(G),N(1),m?.(G),_?.(1)},le=G=>{R.current&&R.current.style.setProperty("--filters-panel-height",`${Math.round(G)}px`)},be=G=>{H(G),u?.(G)},$e=G=>{D(G),!G&&R.current&&R.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(me?.length??0)>0&&D(!0)},[me]),k.useEffect(()=>{s.length>0&&me.length>0&&D(!0)},[s.length,me.length]);const Q=(me?.length??0)>0&&x?x:v;return c.jsxs("div",{ref:R,className:`${$.container} ${r} ${W?$.filtersOpen:""}`,style:{background:g,"--row-height":"48px","--header-height":"56px"},children:[c.jsx("div",{className:$.tableControls,children:c.jsxs("div",{className:$.controlsRight,children:[c.jsx(d5e,{columns:e,onSort:be,label:C,sortConfig:P,loading:q}),s.length>0&&c.jsx(s5e,{filters:s,externalFilters:me,onFiltersChange:se,onApply:ge,isControlled:p,debounceTimeout:y,expanded:W,onToggle:$e,panelPlacement:"top",onPanelHeightChange:le,label:Q,applyLabel:w,cancelLabel:b,clearLabel:L,applyDisabled:I,loading:j})]})}),c.jsx("div",{className:$.topPagination,children:c.jsx(l5e,{currentPage:z,totalPages:ue,pageSize:V,totalItems:_e,itemLabel:M,onPageChange:Ve,onPageSizeChange:je,loading:S})}),c.jsx("div",{className:`${$.tableWrapper} ${we?$.limitedRows:""}`,"data-table-wrapper":!0,children:c.jsxs("table",{className:$.table,children:[c.jsx(p5e,{columns:e}),c.jsx(m5e,{data:fe,columns:e,onRowClick:o,startIndex:X,getRowStyle:f,searchTerm:i})]})})]})};function f5e(e){const{pagination:t,totalCount:n,onPageChange:o,...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||o?.(p))};return c.jsx(Nq,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const g5e="_mpRoot_31595_1",v5e="_mpHeader_31595_22",M5e="_mpTitle_31595_31",_5e="_mpList_31595_35",x5e="_mpVertical_31595_41",L5e="_mpHorizontal_31595_46",I5e="_mpItem_31595_55",w5e="_mpClickable_31595_95",b5e="_mpLeft_31595_117",C5e="_mpIcon_31595_125",N5e="_mpMeta_31595_140",S5e="_mpLabel_31595_145",j5e="_mpDate_31595_154",$5e="_mpRight_31595_160",q5e="_mpValue_31595_168",A5e="_mpHint_31595_176",z5e="_mpBadge_31595_180",V5e="_mpBadgeTop_31595_199",P5e="_mpBadgeSub_31595_206",T5e="_mpBadgeSmall_31595_213",H5e="_mpPill_31595_229",D5e="_mpRounded_31595_232",B5e="_mpCompact_31595_236",R5e="_compactItemWrapper_31595_252",F5e="_mpSummaryRoot_31595_265",E5e="_mpSummaryInner_31595_269",O5e="_mpSummaryFlex_31595_284",U5e="_mpSummaryCardWrapperHorizontal_31595_292",W5e="_mpSummaryCardWrapper_31595_292",G5e="_mpSummaryCardHorizontal_31595_303",Z5e="_mpSummaryCard_31595_292",K5e="_mpSummaryValue_31595_321",X5e="_mpSummaryLabel_31595_327",Y5e="_mpSummaryBadge_31595_338",J5e="_mpSummaryBadgeSub_31595_357",Q5e="_mpEmpty_31595_365",eke="_mpSummaryVertical_31595_372",tke="_mpIconSquare_31595_380",O={mpRoot:g5e,mpHeader:v5e,mpTitle:M5e,mpList:_5e,mpVertical:x5e,mpHorizontal:L5e,mpItem:I5e,mpClickable:w5e,mpLeft:b5e,mpIcon:C5e,mpMeta:N5e,mpLabel:S5e,mpDate:j5e,mpRight:$5e,mpValue:q5e,mpHint:A5e,mpBadge:z5e,mpBadgeTop:V5e,mpBadgeSub:P5e,mpBadgeSmall:T5e,mpPill:H5e,mpRounded:D5e,mpCompact:B5e,compactItemWrapper:R5e,mpSummaryRoot:F5e,mpSummaryInner:E5e,mpSummaryFlex:O5e,mpSummaryCardWrapperHorizontal:U5e,mpSummaryCardWrapper:W5e,mpSummaryCardHorizontal:G5e,mpSummaryCard:Z5e,mpSummaryValue:K5e,mpSummaryLabel:X5e,mpSummaryBadge:Y5e,mpSummaryBadgeSub:J5e,mpEmpty:Q5e,mpSummaryVertical:eke,mpIconSquare:tke},It=(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 o=n.replace("#","").toLowerCase();if(o.length===3&&(o=o.split("").map(d=>d+d).join("")),!/^[0-9a-f]{6}$/i.test(o))return`rgba(124, 58, 237, ${t})`;const i=parseInt(o.slice(0,2),16),r=parseInt(o.slice(2,4),16),s=parseInt(o.slice(4,6),16);return`rgba(${i}, ${r}, ${s}, ${t})`},ake=({item:e,shape:t,onItemClick:n,color:o,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[O.mpItem,t==="pill"?O.mpPill:O.mpRounded,n?O.mpClickable:""].filter(Boolean).join(" ");if(i)return c.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 c.jsxs(d,{...l,children:[c.jsxs("div",{className:O.mpLeft,children:[h?c.jsx("div",{className:O.mpIconSquare,style:{background:u??It(p??o??"#7c3aed",1),border:`1px solid ${It(p??o??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(h,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?c.jsx("div",{className:O.mpIcon,children:e.icon}):null,c.jsxs("div",{className:O.mpMeta,children:[c.jsx("div",{className:O.mpLabel,children:e.label}),e.subLabel&&c.jsx("div",{className:O.mpDate,children:e.subLabel}),e.date&&c.jsx("div",{className:O.mpDate,children:e.date})]})]}),c.jsxs("div",{className:O.mpRight,children:[c.jsx("div",{className:O.mpValue,style:{color:e.valueColor??o??void 0},children:e.value}),e.badge?c.jsxs("div",{className:[O.mpBadge,e.badge.small?O.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??It(e.badge.color||o||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":It(e.badge.color||o||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[c.jsx("div",{className:O.mpBadgeTop,children:e.badge.text}),e.badge.subText&&c.jsx("div",{className:O.mpBadgeSub,children:e.badge.subText})]}):e.hint?c.jsx("div",{className:O.mpHint,children:e.hint}):null]})]})},nke=k.memo(ake),OS=({title:e,right:t})=>!e&&!t?null:c.jsxs("div",{className:O.mpHeader,children:[c.jsx("div",{className:O.mpTitle,children:e}),c.jsx("div",{children:t})]}),US=(e,t=1)=>{try{return It(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},oke=({item:e})=>c.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:[c.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[c.jsx("div",{style:{fontSize:13,fontWeight:700,color:"#475569"},children:e.label}),c.jsx("div",{style:{fontSize:26,fontWeight:900,color:"#0f172a",lineHeight:1},children:e.value})]}),c.jsx("div",{title:String(e.label),style:{display:"flex",alignItems:"center",justifyContent:"center",width:48,height:48,borderRadius:10,background:e.iconSquareBg??US("#7c3aed",.12),border:`1px solid ${US(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),cke=({item:e,bg:t,onClick:n,width:o,height:i,extraStyle:r})=>c.jsxs("div",{className:O.mpSummaryCard,style:{background:t,width:o??void 0,height:i??void 0,...r??{}},role:n?"button":"group",tabIndex:n?0:-1,onClick:()=>n?.(e),children:[c.jsx("div",{className:O.mpSummaryLabel,children:e.label}),c.jsx("div",{className:O.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&c.jsxs("div",{className:O.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:O.mpSummaryBadgeSub,children:e.badge.subText})]})]}),WS=(e,t=1)=>{try{return It(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},GS=e=>c.jsxs("div",{style:{display:"grid",gridTemplateRows:"auto 1fr",width:"100%",gap:8,alignItems:"center",boxSizing:"border-box",minWidth:0},children:[c.jsxs("div",{style:{display:"flex",justifyContent:"space-between-left",alignItems:"baseline",gap:10,width:"100%"},children:[c.jsx("div",{style:{fontWeight:700,fontSize:"clamp(14px, 1.2vw, 16px)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0},children:e.label}),e.subLabel?c.jsx("div",{style:{fontSize:"clamp(13px, 1.1vw, 15px)",fontWeight:600,whiteSpace:"nowrap"},children:e.subLabel}):null]}),c.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:15,width:"100%"},children:[c.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?c.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"8px 12px",borderRadius:10,backgroundColor:e.badge.bg?e.badge.bg:WS("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:WS("#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:[c.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?c.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]})]}),ZS=(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}},ike=e=>{switch(e){case"image":return t=>k.createElement(oke,{item:t});case"pertinence":return t=>k.createElement(cke,{item:t});case"alternateHorizontal":return t=>ZS(GS,t);case"compact":return t=>ZS(GS,t);case"summary":return;case"default":default:return}},Sq=({item:e,orientation:t,bg:n,border:o,valueColor:i,onClick:r,width:s,height:d,extraStyle:l})=>{const u=t==="horizontal"?O.mpSummaryCardHorizontal:O.mpSummaryCard;return c.jsxs("div",{className:u,style:{background:n,border:`1px solid ${o}`,width:s??void 0,height:d??void 0,...l??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&c.jsxs("div",{className:O.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:O.mpSummaryBadgeSub,children:e.badge.subText})]}),c.jsx("div",{className:O.mpSummaryValue,style:{color:i},children:e.value}),c.jsx("div",{className:O.mpSummaryLabel,children:e.label})]})},rke=["transparent","transparent","transparent","transparent"],ske=["transparent","transparent","transparent","transparent"],dke=["#059669","#2563eb","#b45309","#7c3aed"],lke=(e,t=1)=>{try{return It(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},jq=e=>{const{items:t=[],layout:n="vertical",orientation:o="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=rke,summaryBorderColors:m=ske,summaryValueColors:_=dke,preset:M,background:v}=e,{itemsContainerStyle:x,itemsContainerClassName:C,summaryGridColumns:w,compactItemWidth:b,compactItemHeight:L,compactItemStyle:I,summaryCardWidth:S,summaryCardHeight:j,summaryCardStyle:q}=e,A=n==="vertical",P={"--mp-accent":r,"--mp-accent-soft":lke(r,.08),"--mp-bg-primary":v},H=[O.mpRoot,A?O.mpVertical:O.mpHorizontal,s?O.mpCompact:"",f?O.mpSummaryRoot:"",o!=="auto"?o==="vertical"?O.mpOrientationVertical:O.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),z=k.useMemo(()=>y||(ike(M)??void 0),[y,M]);if(f){const N=o==="horizontal"?O.mpSummaryFlex:O.mpSummaryVertical,B={...(w?{display:"grid",gridTemplateColumns:`repeat(${w}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...x??{}};return c.jsxs("div",{className:H,style:P,"aria-busy":u,children:[d&&c.jsx(OS,{title:d}),c.jsx("div",{className:O.mpSummaryInner,children:c.jsx("div",{className:`${N} ${C??""}`,style:B,children:t.length===0?c.jsx("div",{className:O.mpEmpty,children:p}):t.map((W,D)=>{const R=W.bgColor??g[D%g.length],Y=W.borderColor??m[D%m.length],ae=W.valueColor??_[D%_.length];return z?c.jsx("div",{className:o==="horizontal"?O.mpSummaryCardWrapperHorizontal:O.mpSummaryCardWrapper,style:{width:S??void 0,height:j??void 0,...q??{}},children:z(W,D)},W.id):c.jsx(Sq,{item:W,orientation:o==="horizontal"?"horizontal":"vertical",bg:R,border:Y,valueColor:ae,onClick:l,width:S??void 0,height:j??void 0,extraStyle:q},W.id)})})})]})}return c.jsxs("div",{className:H,style:P,"aria-busy":u,children:[d&&c.jsx(OS,{title:d}),c.jsx("div",{className:O.mpList,style:x,children:u?c.jsx("div",{className:O.mpEmpty,children:"Chargement…"}):t.length===0?c.jsx("div",{className:O.mpEmpty,children:p}):t.map(N=>{const V=s?{width:b??void 0,height:L??void 0,boxSizing:"border-box",...I??{}}:void 0;return c.jsx("div",{className:s?O.compactItemWrapper:void 0,style:V,children:c.jsx(nke,{item:N,shape:i,onItemClick:l,color:r,renderItem:z?B=>z(B,t.indexOf(B)):void 0})},N.id)})})]})};k.memo(jq);const hke=({width:e,height:t,colors:n={text:"#0b1220",background:"#fff",contentBackground:"#efeff0"},titles:o={},placeholder:i="Loading Chart",style:r,className:s="",children:d,padding:l="1rem",variant:h="default",showBorder:u=!1})=>{const p=e?typeof e=="number"?`${e}px`:e:void 0,y=t?typeof t=="number"?`${t}px`:t:void 0,f=i&&typeof i=="object"&&!k.isValidElement(i)&&("text"in i||"subtext"in i||"icon"in i||"background"in i||"iconSize"in i),g=f?i:void 0,m=g?.icon?ht[g.icon]:void 0,_=28,M=g?.iconSize??_,v=["chart-container",`variant-${h}`,u?"with-border":"",s].filter(Boolean).join(" "),x=n.contentBackground??void 0,C=typeof l=="number"?`${l}px`:l;return c.jsxs("div",{className:v,style:{width:p,height:y,color:n.text,background:n.background,display:"flex",flexDirection:"column",boxSizing:"border-box",padding:C,...r},children:[c.jsxs("div",{className:"chart-header",children:[c.jsxs("div",{className:"chart-title-left",style:{display:"flex",alignItems:"center",gap:"8px"},children:[o.left,o.leftSubtitle&&c.jsx("div",{className:"chart-subtitle-left",children:o.leftSubtitle})]}),c.jsx("div",{className:"chart-title-right",children:o.right})]}),c.jsx("div",{className:"chart-content",style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",background:x},children:d||(f&&g?c.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[m&&c.jsx("div",{className:"placeholder-icon",style:{width:M,height:M},children:c.jsx(m,{color:g.iconColor??"currentColor",size:typeof M=="number"?M:parseInt(String(M),10)||_})}),g.text&&c.jsx("div",{className:"placeholder-text",children:g.text}),g.subtext&&c.jsx("div",{className:"placeholder-subtext",children:g.subtext})]}):c.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:i}))})]})},Pb=({id:e,size:t="100%",background:n,icon:o,text:i,subtext:r,onClose:s,onClick:d,style:l,className:h="",colorTextPrimary:u,colorTextSub:p,model:y})=>{const f=o||y?.icon?ht[o||y?.icon]:null;return c.jsxs("div",{id:e,className:`alert ${h}`,style:{width:typeof t=="number"?`${t}px`:t,background:n||y?.background,pointerEvents:"auto",...l},role:"alert",onClick:d,children:[f&&c.jsx(f,{className:"alert-icon",size:20,color:u||y?.colorTextPrimary}),c.jsxs("div",{className:"alert-content",children:[c.jsx("span",{className:"alert-text",style:{color:u||y?.colorTextPrimary},children:i}),r&&c.jsx("span",{className:"alert-subtext",style:{color:p||y?.colorTextSub},children:r})]}),s&&c.jsx("button",{className:"alert-close",onClick:s,"aria-label":"Fermer",children:"✕"})]})},$q=k.createContext(null),uke=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,pke=({children:e,defaultDuration:t=4e3,maxAlerts:n,containerClassName:o,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(L=>window.clearTimeout(L)),d.current.clear()},[]);const p=(L,I)=>{const S=I===void 0||I===0?t:I;if(S===-1)return;const j=window.setTimeout(()=>{g(L)},S);d.current.set(L,j)},y=L=>{const I=d.current.get(L);I&&(window.clearTimeout(I),d.current.delete(L))},f=L=>{const I=uke(),S={...L,id:I,createdAt:Date.now()};return s(j=>{const q=[S,...j],A=u.current;return typeof A=="number"&&A>=0&&q.length>A?(q.slice(A).forEach(H=>y(H.id)),q.slice(0,A)):q}),p(I,L.duration),I},g=L=>{y(L),s(I=>I.filter(S=>S.id!==L))},m=(L,I)=>{s(S=>S.map(j=>j.id===L?{...j,...I}:j))},_=()=>{d.current.forEach(L=>window.clearTimeout(L)),d.current.clear(),s([])},M=L=>{h.current=L},v=()=>r.slice(),x=k.useMemo(()=>({showAlert:f,dismissAlert:g,updateAlert:m,clearAlerts:_,setContainerRef:M,getAlertsSnapshot:v}),[r]),C=h.current,w=c.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:c.jsx(Yde,{mode:"popLayout",children:r.map(L=>c.jsx($b.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:c.jsx(Pb,{id:L.id,text:L.text,subtext:L.subtext,icon:L.icon,background:"transparent",colorTextPrimary:L.colorTextPrimary,colorTextSub:L.colorTextSub,model:L.model,onClose:()=>g(L.id),size:"100%",style:{boxShadow:"none"}})},L.id))})}),b=c.jsx("div",{ref:L=>{h.current||(l.current=L)},className:o,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:w});return c.jsxs($q.Provider,{value:x,children:[C?Xw.createPortal(w,C):b,e]})},yke=()=>{const e=k.useContext($q);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},kke={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"}},mke="_container_18zbo_1",fke="_icon_18zbo_9",gke="_selectWrapper_18zbo_23",Mw={container:mke,icon:fke,selectWrapper:gke},vke=({options:e,defaultValue:t,onChange:n,label:o})=>{const[i,r]=k.useState(t||e[0]?.value||""),s=d=>{r(d),n?.(d)};return c.jsxs("div",{className:Mw.container,children:[c.jsxs("div",{className:Mw.icon,children:[c.jsx(o1,{size:18}),c.jsx("p",{children:o})]}),c.jsx("div",{className:Mw.selectWrapper,children:c.jsx(qb,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},Mke=250,_ke=k.forwardRef(({title:e,subtitle:t,size:n="420px",beforeOpen:o,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,_]=k.useState(!1),M=k.useRef(null),v=k.useRef(null),x=k.useRef(null),C=k.useRef(null);k.useEffect(()=>{const L=M.current;if(!L)return;const I=L.parentElement;return I?(window.getComputedStyle(I).position==="static"&&(I.setAttribute("data-scp-prev-position",I.style.position??""),I.style.position="relative",I.setAttribute("data-scp-position-changed","true")),()=>{if(I.getAttribute("data-scp-position-changed")==="true"){const j=I.getAttribute("data-scp-prev-position")??"";I.style.position=j,I.removeAttribute("data-scp-position-changed"),I.removeAttribute("data-scp-prev-position")}}):void 0},[]),k.useImperativeHandle(y,()=>({open:()=>{f||(o?.(),_(!1),g(!0))},close:()=>{f&&(r?.(),_(!1),g(!1))},toggle:()=>{f?(r?.(),_(!1),g(!1)):(o?.(),_(!1),g(!0))}}),[f,o,r]),k.useEffect(()=>{const L=v.current;C.current&&(window.clearTimeout(C.current),C.current=null);const I=S=>{if(S.target===L&&!(S.propertyName!=="transform"&&S.propertyName!=="opacity"))if(f){_(!0),i?.();try{L?.focus()}catch{}}else{s?.();try{x.current?.focus()}catch{}}};return L&&(L.addEventListener("transitionend",I),C.current=window.setTimeout(()=>{if(f){_(!0),i?.();try{L?.focus()}catch{}}else{s?.();try{x.current?.focus()}catch{}}},Mke+60)),f&&(x.current=document.activeElement),()=>{L&&L.removeEventListener("transitionend",I),C.current&&(window.clearTimeout(C.current),C.current=null)}},[f,i,s]),k.useEffect(()=>{const L=I=>{I.key==="Escape"&&f&&(r?.(),_(!1),g(!1))};return window.addEventListener("keydown",L),()=>window.removeEventListener("keydown",L)},[f,r]);const w=()=>{u&&(r?.(),_(!1),g(!1))},b=typeof n=="number"?`${n}px`:n;return c.jsxs("div",{ref:M,className:`scp-inline-root ${f?"open":""}`,"aria-hidden":!f,children:[c.jsx("div",{className:`scp-overlay ${f?"visible":""}`,onMouseDown:w,role:"presentation"}),c.jsxs("aside",{className:`scp-panel ${f?"in":"out"} ${m?"interactive":""} ${l}`,style:{width:b,...d},ref:v,tabIndex:-1,role:"dialog","aria-label":e,children:[c.jsxs("div",{className:"scp-header",children:[c.jsxs("div",{children:[c.jsx("h3",{className:"scp-title",children:e}),t&&c.jsx("div",{className:"scp-subtitle",children:t})]}),p&&c.jsx("button",{className:"scp-close","aria-label":"Close",onClick:()=>{r?.(),_(!1),g(!1)},children:c.jsx(Ke,{size:18})})]}),c.jsx("div",{className:"scp-body",children:h})]})]})});function xke(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 Lke="_container_1pfsp_1",Ike="_title_1pfsp_8",KS={container:Lke,title:Ike},wke=({title:e,fontSize:t,barColor:n,className:o="",style:i={}})=>{const r={...i,"--title-font-size":t,"--bar-color":n};return c.jsx("div",{className:`${KS.container} ${o}`,style:r,children:c.jsx("h2",{className:KS.title,children:e})})},bke="_modalOverlay_1dmfp_1",Cke="_modalContainer_1dmfp_16",Nke="_modalTitle_1dmfp_29",Ske="_modalInput_1dmfp_38",jke="_modalTextarea_1dmfp_39",$ke="_modalActions_1dmfp_71",qke="_cancelBtn_1dmfp_78",Ake="_saveBtn_1dmfp_100",zke="_inputError_1dmfp_148",Vke="_inlineAlert_1dmfp_153",Ge={modalOverlay:bke,modalContainer:Cke,modalTitle:Nke,modalInput:Ske,modalTextarea:jke,modalActions:$ke,cancelBtn:qke,saveBtn:Ake,inputError:zke,inlineAlert:Vke},Ic=({isOpen:e,onClose:t,onSave:n,title:o="Ajouter un élément",fields:i,initialValues:r={},errorMessage:s="",disableSave:d,onFieldChange:l})=>{const[h,u]=k.useState({}),p=k.useRef(null),[y,f]=k.useState(!1),[g,m]=k.useState(!1),_=k.useRef(null);if(k.useEffect(()=>{if(!e)return;const w={};for(const b of i)w[b.name]=Object.prototype.hasOwnProperty.call(r,b.name)?r[b.name]:"";return u(w),requestAnimationFrame(()=>{p.current?.focus();const b=p.current;if(b&&typeof b.selectionStart=="number"){const L=String(b.value??"").length;b.setSelectionRange(L,L)}}),()=>{_.current&&(window.clearTimeout(_.current),_.current=null)}},[e]),k.useEffect(()=>{s&&e?(m(!0),_.current&&(window.clearTimeout(_.current),_.current=null),_.current=window.setTimeout(()=>{m(!1),_.current=null},3e3)):(m(!1),_.current&&(window.clearTimeout(_.current),_.current=null))},[s,e]),!e)return null;const M=(w,b)=>{u(L=>({...L,[w]:b})),l&&l(w,b)},v=async()=>{if(!Object.values(h).some(w=>w===""||w===void 0))try{f(!0);const w=await n(h);if(typeof w=="string"&&w==="duplicate-same"){f(!1);return}u({}),f(!1),t()}catch(w){console.error("AddItemModal onSave error:",w),f(!1),t()}},x=w=>{w.target===w.currentTarget&&t()},C=w=>w.stopPropagation();return c.jsx("div",{className:Ge.modalOverlay,onMouseDown:x,role:"dialog","aria-modal":"true",children:c.jsxs("div",{className:Ge.modalContainer,onMouseDown:C,onClick:C,children:[c.jsx("h2",{className:Ge.modalTitle,children:o}),i.map((w,b)=>{const L=h[w.name]??"",I=b===0&&!!s,S={name:w.name,placeholder:w.placeholder||w.label,value:String(L),onChange:j=>M(w.name,j.target.value),className:w.type==="textarea"?`${Ge.modalTextarea} ${I?Ge.inputError:""}`:`${Ge.modalInput} ${I?Ge.inputError:""}`,tabIndex:0,disabled:y};return b===0&&(S.ref=j=>{p.current=j}),c.jsxs("div",{style:{marginBottom:8},children:[w.type==="textarea"?c.jsx("textarea",{rows:w.rows||4,...S}):c.jsx("input",{type:w.type||"text",...S}),b===0&&g&&s&&c.jsx("div",{style:{marginTop:8},children:c.jsx(Pb,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>m(!1),className:Ge.inlineAlert})})]},w.name)}),c.jsxs("div",{className:Ge.modalActions,children:[c.jsx("button",{className:Ge.cancelBtn,onClick:t,type:"button",disabled:y,children:"Annuler"}),c.jsx("button",{className:Ge.saveBtn,onClick:v,type:"button",disabled:y||!!d,children:y?"En cours...":"Valider"})]})]})})},Pke=({title:e,keyCount:t,onAddKey:n})=>{const[o,i]=k.useState(!1),r=s=>{const d=s.key;n&&d&&n(d)};return c.jsxs("div",{className:"header-container",children:[c.jsxs("div",{className:"header-info",children:[c.jsx("h1",{children:e}),c.jsxs("p",{children:[t," clés"]})]}),c.jsxs("button",{onClick:()=>i(!0),className:"add-key-button",children:[c.jsx(Dc,{className:"add-key-icon"}),"Clé"]}),c.jsx(Ic,{isOpen:o,title:"Ajouter une clé",onClose:()=>i(!1),onSave:r,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},Tke=({modules:e,onEdit:t,onDelete:n,onAddModule:o,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),_=()=>l(!1),M=L=>{if(o){const I=L.code?.trim()||L.id?.trim(),S=L.title?.trim(),j=I||S||String(Date.now()),q=S||I||`Module ${j}`;o({id:j,title:q,subtitle:"",translations:{}})}_()},v=(L,I)=>{L.stopPropagation(),u(I)},x=()=>u(null),C=L=>{if(!h){x();return}const I={...h,title:L.title||h.title,subtitle:""};t&&t(I),x()},w=(L,I)=>{L.stopPropagation(),n&&n(I)},b=L=>{y(L.id),i&&i(L)};return f?c.jsx("div",{className:"module-sidebar collapsed",children:c.jsx(Hc,{size:20,className:"menu-toggle",onClick:()=>g(!1)})}):c.jsxs("div",{className:"module-sidebar",children:[c.jsxs("div",{className:"sidebar-header",children:[c.jsxs("span",{className:"header-text",children:["Modules (",e.length,")"]}),c.jsxs("div",{className:"header-actions",children:[c.jsx(Tc,{size:18,className:"header-folder",onClick:m}),c.jsx(Hc,{size:18,className:"header-menu",onClick:()=>g(!0)})]})]}),c.jsx("hr",{className:"divider"}),c.jsx("div",{className:"module-list",children:e.map(L=>{const I=Object.keys(L.translations||{}).length,S=I>0||L.id===p;return c.jsxs("div",{className:`module-item ${L.id===p?"selected":""}`,onClick:()=>b(L),role:"button",tabIndex:0,onKeyDown:j=>{j.key==="Enter"&&b(L)},children:[c.jsxs("div",{className:"module-left",children:[c.jsx(d1,{size:16,className:"item-folder"}),c.jsxs("div",{className:"module-info",children:[c.jsxs("div",{className:"module-title",children:[L.title,S&&c.jsxs("span",{className:"count",children:[" ",I," "]})]}),L.subtitle?c.jsx("div",{className:"module-subtitle",children:L.subtitle}):null]})]}),c.jsxs("div",{className:"module-actions",children:[t&&c.jsx(u1,{onClick:j=>v(j,L),color:"#777",size:16}),n&&c.jsx(bt,{onClick:j=>w(j,L.id),color:"#777",size:16})]})]},L.id)})}),c.jsx(Ic,{isOpen:d,onClose:_,onSave:M,title:s||"Ajouter un module",fields:r&&r.length?r.map(L=>({name:L.name,label:L.label,type:L.type,placeholder:L.placeholder,rows:L.rows})):[{name:"title",label:"Titre",placeholder:"Titre du module"}]}),h&&c.jsx(Ic,{isOpen:!!h,onClose:x,onSave:C,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},qq=({placeholder:e="Rechercher une clé ou traduction...",value:t="",onChange:n,iconPosition:o="left",iconColor:i="#9ca3af"})=>c.jsxs("div",{className:`search-container icon-${o}`,children:[c.jsx("div",{className:"search-icon-wrapper",children:c.jsx(p1,{className:"search-icon",color:i})}),c.jsx("input",{type:"text",placeholder:e,value:t,onChange:r=>n?.(r.target.value),className:"search-input"})]}),Hke=({keyName:e,translations:t,availableLanguages:n,onDeleteKey:o,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),[_,M]=k.useState(""),[v,x]=k.useState(""),[C,w]=k.useState(!1),[b,L]=k.useState(!1),[I,S]=k.useState(null),[j,q]=k.useState(!1),A=t.map(D=>D.language),P=n.filter(D=>!A.includes(D.code)),H=()=>{y&&v.trim()&&(d?.(e,y,v.trim()),f(""),x(""),p(!1))},z=(D,R)=>{m(D),M(R)},N=D=>{r?.(e,D,_),m(null),M("")},V=()=>{m(null),M("")},B=async D=>{const R=D.name?.trim();if(R){if(S(null),q(!1),R===e||!i)return w(!1),"ok";try{const Y=await i(e,R);if(typeof Y=="string"&&Y==="ok")w(!1),S(null);else{if(typeof Y=="string"&&Y==="duplicate-same")return S("Une clé existe déjà dans ce module."),q(!0),"duplicate-same";if(typeof Y=="string"&&Y==="duplicate-other")return w(!1),S(null),"duplicate-other";w(!1)}}catch(Y){console.error("Erreur handleRenameSave:",Y),S("Erreur lors du renommage.")}}},W=(D,R)=>{if(D!=="name")return;const Y=R.trim();S(null),q(!1),Y&&typeof h=="function"&&(h(Y,e)?(S("Une clé existe déjà dans ce module."),q(!0)):(S(null),q(!1)))};return c.jsxs("div",{className:`translation-key ${b?"collapsed":"expanded"} ${l?"draggable":""}`,children:[c.jsxs("div",{className:"card-header",children:[c.jsxs("div",{className:"header-left",children:[c.jsx("button",{className:"collapse-button",onClick:()=>L(!b),title:b?"Déplier":"Replier",children:b?c.jsx(i1,{className:"collapse-icon"}):c.jsx(wt,{className:"collapse-icon"})}),c.jsx("h3",{className:"card-title",title:e,children:e})]}),c.jsxs("div",{className:"header-actions",children:[c.jsx("button",{className:"action-button",onClick:D=>{D.stopPropagation(),w(!0)},title:"Renommer la clé",children:c.jsx(dt,{className:"action-icon"})}),c.jsx("button",{onClick:D=>{D.stopPropagation(),o?.(e)},className:"action-button delete",title:"Supprimer la clé",children:c.jsx(bt,{className:"action-icon"})})]})]}),c.jsx("div",{className:`translations-container ${b?"":"expanded"}`,children:!l&&c.jsxs(c.Fragment,{children:[t.map(D=>c.jsxs("div",{className:"translation-row",children:[c.jsx("div",{className:"language-code",children:D.language}),c.jsx("div",{className:"translation-content",children:g===D.language?c.jsxs(c.Fragment,{children:[c.jsx("input",{type:"text",value:_,onChange:R=>M(R.target.value),className:"edit-input",autoFocus:!0,onKeyDown:R=>{R.key==="Enter"&&N(D.language),R.key==="Escape"&&V()}}),c.jsx("button",{onClick:()=>N(D.language),className:"save-button",disabled:!_.trim(),children:"Enregistrer"}),c.jsx("button",{onClick:V,className:"cancel-button",children:c.jsx(Ke,{className:"action-icon"})})]}):c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"translation-text",title:D.value,children:D.value}),c.jsx("button",{onClick:()=>z(D.language,D.value),className:"edit-button",title:"Éditer la traduction",children:c.jsx(dt,{className:"action-icon"})}),c.jsx("button",{onClick:()=>s?.(e,D.language),className:"delete-translation-button",title:"Supprimer la traduction",children:c.jsx(Ke,{className:"action-icon"})})]})})]},D.language)),u?c.jsxs("div",{className:"add-language-row",children:[c.jsx("div",{className:"language-code",children:"+"}),c.jsxs("div",{className:"add-language-content",children:[c.jsx("div",{className:"language-select-container",children:c.jsxs("select",{value:y,onChange:D=>f(D.target.value),className:"language-select",children:[c.jsx("option",{value:"",children:"Sélectionnez la langue"}),P.map(D=>c.jsxs("option",{value:D.code,children:[D.name," (",D.code,")"]},D.code))]})}),y&&c.jsx("input",{type:"text",value:v,onChange:D=>x(D.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:D=>{D.key==="Enter"&&H(),D.key==="Escape"&&(p(!1),f(""),x(""))}}),c.jsx("button",{onClick:H,disabled:!y||!v.trim(),className:"save-button",children:"Ajouter"}),c.jsx("button",{onClick:()=>{p(!1),f(""),x("")},className:"cancel-button",children:c.jsx(Ke,{className:"action-icon"})})]})]}):c.jsxs("button",{onClick:()=>p(!0),className:"show-add-button",disabled:P.length===0,children:[c.jsx("span",{className:"plus-icon",children:"+"}),"Ajouter une langue"]})]})}),l&&c.jsxs("div",{className:"drag-overlay",children:[c.jsx(a.Move,{size:24,strokeWidth:1.5}),c.jsx("span",{children:"Glisser pour réorganiser"})]}),c.jsx(Ic,{isOpen:C,onClose:()=>{w(!1),S(null),q(!1)},onSave:B,onFieldChange:W,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:I||"",disableSave:j})]})},Dke="_wrapper_1wvht_1",Bke="_leftGroup_1wvht_12",Rke="_filterButton_1wvht_21",Fke="_open_1wvht_42",Eke="_filterIcon_1wvht_42",Oke="_infoText_1wvht_58",Uke="_pickerContainer_1wvht_66",Wke="_srOnly_1wvht_79",Gke="_pickerLabel_1wvht_91",Zke="_datetime_1wvht_98",Kke="_rightGroup_1wvht_107",Xke="_searchInputWrap_1wvht_116",Yke="_searchInput_1wvht_116",Jke="_searchIcon_1wvht_152",qe={wrapper:Dke,leftGroup:Bke,filterButton:Rke,open:Fke,filterIcon:Eke,infoText:Oke,pickerContainer:Uke,srOnly:Wke,pickerLabel:Gke,datetime:Zke,rightGroup:Kke,searchInputWrap:Xke,searchInput:Yke,searchIcon:Jke};function Qke({onDateChange:e,onSearch:t,initialDate:n}){const[o,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 c.jsxs("div",{className:qe.wrapper,ref:d,children:[c.jsxs("div",{className:qe.leftGroup,children:[c.jsxs("button",{type:"button",className:`${qe.filterButton} ${o?qe.open:""}`,onClick:l,"aria-expanded":o,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[c.jsx("span",{children:"Entry time"}),c.jsx("svg",{className:qe.filterIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"14",height:"14","aria-hidden":!0,children:c.jsx("path",{fill:"currentColor",d:"M10 18h4v-2h-4v2zm-7-8v2h18V10H3zm3-6v2h12V4H6z"})})]}),c.jsx("div",{className:qe.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),o&&c.jsxs("div",{className:qe.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[c.jsx("label",{className:qe.pickerLabel,htmlFor:"entry-datetime",children:c.jsx("span",{className:qe.srOnly,children:"Choisir la date et l’heure"})}),c.jsx("input",{id:"entry-datetime",className:qe.datetime,type:"datetime-local",value:r,onChange:h,"aria-label":"Date et heure d’entrée"})]})]}),c.jsx("div",{className:qe.rightGroup,children:c.jsxs("div",{className:qe.searchInputWrap,children:[c.jsx("input",{className:qe.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),c.jsx("svg",{className:qe.searchIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16","aria-hidden":!0,children:c.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 e3e=({className:e="",style:t={},title:n,titleClassName:o="",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,_=g.every(C=>typeof C=="string"),M=g.some(C=>Array.isArray(C)),v=(C,w,b)=>d?d(C,w,b):c.jsx("span",{className:"slb-cell-text",children:C}),x=f?{"--col-gap":f}:void 0;return m?c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{...i,background:h??void 0,color:u??void 0},children:n}),c.jsx("div",{className:"slb-empty",children:y??null})]}):_&&!M?c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{background:h??void 0,color:u??void 0},children:n}),c.jsx("ul",{className:"slb-list",children:g.map((C,w)=>c.jsx("li",{className:`slb-item ${s[w]||""}`,style:{background:p??void 0},children:v(C,w,0)},w))})]}):c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{background:h??void 0,color:u??void 0},children:n}),c.jsx("div",{className:"slb-grid",style:x,children:g.map((C,w)=>{const b=s[w]||"";if(Array.isArray(C)){const[L,I]=C;return c.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[c.jsx("div",{className:"slb-grid-left",children:v(L,w,0)}),c.jsx("div",{className:"slb-grid-right",children:v(I,w,1)})]},w)}return c.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[c.jsx("div",{className:"slb-grid-left",children:v(C,w,0)}),c.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},w)})})]})},t3e=({className:e="",style:t={},title:n,titleColor:o,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 c.jsxs("div",{className:`clb-root ${e}`,style:{...t},children:[n&&c.jsx("div",{className:"clb-title",style:o?{color:o}:void 0,children:n}),c.jsx("div",{className:"clb-grid",style:f,children:i.map((g,m)=>{const _=u[m]||"";if(Array.isArray(g)){const[M,v]=g,x=s[m]||r;return c.jsxs("div",{className:`clb-row ${_}`,style:{background:h??void 0},children:[c.jsx("div",{className:"clb-badge-col",children:c.jsx("div",{className:"counter-badge",style:{background:x,padding:d,width:l,minWidth:l},children:M})}),c.jsx("div",{className:"clb-text",children:v})]},m)}return y?c.jsxs("div",{className:`clb-row ${_}`,style:{background:h??void 0},children:[c.jsx("div",{className:"clb-badge-col clb-empty-badge"}),c.jsx("div",{className:"clb-text",children:g})]},m):c.jsx("div",{className:`clb-fullrow ${_}`,style:{background:h??void 0},children:c.jsx("span",{children:g})},m)})})]})},a3e=({className:e="",style:t={},title:n,items:o=[],titleBg:i,titleColor:r,itemBg:s,lineClasses:d={},renderTrendIcon:l,colGap:h="1rem"})=>{const u=h?{"--col-gap":h}:void 0;return c.jsxs("div",{className:`tlb-root ${e}`,style:{...t,background:s??void 0},children:[n&&c.jsx("div",{className:"tlb-title",style:{background:i??void 0,color:r??void 0},children:n}),c.jsx("div",{className:"tlb-grid",style:u,children:o.map((p,y)=>{const f=d[y]||"";return c.jsxs("div",{className:`tlb-row ${f}`,style:{background:s??void 0},children:[c.jsx("div",{className:"tlb-label",children:p.label}),c.jsxs("div",{className:"tlb-value-group",children:[c.jsx("div",{className:"tlb-icon-col",children:l?l(p):p.icon??null}),c.jsxs("div",{className:"tlb-value-wrap",children:[c.jsx("div",{className:"tlb-value",children:p.value}),typeof p.delta<"u"&&c.jsx("div",{className:`tlb-delta ${p.delta>0?"positive":p.delta<0?"negative":"neutral"}`,children:p.deltaLabel??String(p.delta)})]})]})]},y)})})]})},n3e=({className:e="",style:t={},children:n,gap:o="1rem"})=>c.jsx("div",{className:`frc-root ${e}`,style:{...t,"--frc-gap":o},children:k.Children.map(n,i=>c.jsx("div",{className:"frc-item",children:i}))}),o3e=({className:e="",style:t={},children:n,gap:o="1rem",background:i="#D9EEF5"})=>c.jsx("div",{className:`lcc-root ${e}`,style:{background:i,...t,"--lcc-gap":o},children:k.Children.map(n,r=>c.jsx("div",{className:"lcc-cell",children:r}))}),c3e="_overlay_i1ay5_2",i3e="_fadeIn_i1ay5_1",r3e="_popup_i1ay5_17",s3e="_slideUp_i1ay5_1",d3e="_header_i1ay5_28",l3e="_body_i1ay5_40",h3e="_footer_i1ay5_51",u3e="_cancelButton_i1ay5_59",p3e="_confirmButton_i1ay5_77",y3e="_warning_i1ay5_97",k3e="_danger_i1ay5_106",m3e="_info_i1ay5_115",mt={overlay:c3e,fadeIn:i3e,popup:r3e,slideUp:s3e,header:d3e,body:l3e,footer:h3e,cancelButton:u3e,confirmButton:p3e,warning:y3e,danger:k3e,info:m3e},f3e=({isOpen:e,title:t,message:n,onConfirm:o,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&&o()};return c.jsx("div",{className:mt.overlay,onClick:l,onKeyDown:h,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:c.jsxs("div",{className:`${mt.popup} ${mt[d]}`,children:[c.jsx("div",{className:mt.header,children:c.jsx("h3",{id:"confirmation-title",children:t})}),c.jsx("div",{className:mt.body,children:c.jsx("p",{id:"confirmation-message",children:n})}),c.jsxs("div",{className:mt.footer,children:[c.jsx("button",{className:mt.cancelButton,onClick:i,type:"button",children:s}),c.jsx("button",{className:mt.confirmButton,onClick:o,type:"button",autoFocus:!0,children:r})]})]})})},g3e=()=>{const[e,t]=k.useState({isOpen:!1,title:"",message:"",onConfirm:null}),n=k.useCallback((r,s,d)=>{t({isOpen:!0,title:r,message:s,onConfirm:d})},[]),o=k.useCallback(()=>{t(r=>({...r,isOpen:!1,onConfirm:null}))},[]),i=k.useCallback(()=>{e.onConfirm?.(),o()},[e.onConfirm,o]);return{isOpen:e.isOpen,title:e.title,message:e.message,showConfirmation:n,hideConfirmation:o,handleConfirm:i}},v3e="_container_m5wpl_1",M3e="_selectButton_m5wpl_11",_3e="_disabled_m5wpl_37",x3e="_error_m5wpl_57",L3e="_outline_m5wpl_85",I3e="_filled_m5wpl_105",w3e="_sm_m5wpl_115",b3e="_md_m5wpl_125",C3e="_lg_m5wpl_135",N3e="_buttonContent_m5wpl_145",S3e="_label_m5wpl_159",j3e="_placeholder_m5wpl_173",$3e="_iconsContainer_m5wpl_181",q3e="_loadingSpinner_m5wpl_197",A3e="_spin_m5wpl_1",z3e="_arrowIcon_m5wpl_237",V3e="_arrowIconOpen_m5wpl_253",P3e="_dropdown_m5wpl_261",T3e="_searchContainer_m5wpl_291",H3e="_searchInput_m5wpl_299",D3e="_optionsList_m5wpl_345",B3e="_noResults_m5wpl_389",R3e="_option_m5wpl_345",F3e="_optionHighlighted_m5wpl_433",E3e="_optionSelected_m5wpl_443",O3e="_optionDisabled_m5wpl_455",U3e="_optionLabel_m5wpl_465",W3e="_checkIcon_m5wpl_479",G3e="_widthFull_m5wpl_495",Z3e="_width64_m5wpl_503",K3e="_width80_m5wpl_511",X3e="_width96_m5wpl_519",te={container:v3e,selectButton:M3e,disabled:_3e,error:x3e,default:"_default_m5wpl_75",outline:L3e,filled:I3e,sm:w3e,md:b3e,lg:C3e,buttonContent:N3e,label:S3e,placeholder:j3e,iconsContainer:$3e,loadingSpinner:q3e,spin:A3e,arrowIcon:z3e,arrowIconOpen:V3e,dropdown:P3e,searchContainer:T3e,searchInput:H3e,optionsList:D3e,noResults:B3e,option:R3e,optionHighlighted:F3e,optionSelected:E3e,optionDisabled:O3e,optionLabel:U3e,checkIcon:W3e,widthFull:G3e,width64:Z3e,width80:K3e,width96:X3e},Y3e=({options:e,value:t,onChange:n,placeholder:o="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"})=>{const[p,y]=k.useState(!1),[f,g]=k.useState(""),[m,_]=k.useState(0),[M,v]=k.useState({top:0,left:0,width:0}),x=k.useRef(null),C=k.useRef(null),w=k.useRef(null),b=k.useMemo(()=>f?e.filter(N=>N.label.toLowerCase().includes(f.toLowerCase())):e,[e,f]),L=e.find(N=>N.value===t),I=k.useCallback(()=>{if(x.current){const N=x.current.getBoundingClientRect();v({top:N.top,left:N.left,width:N.width})}},[]);k.useEffect(()=>(p&&(I(),window.addEventListener("scroll",I,!0),window.addEventListener("resize",I)),()=>{window.removeEventListener("scroll",I,!0),window.removeEventListener("resize",I)}),[p,I]),k.useEffect(()=>{const N=V=>{x.current&&!x.current.contains(V.target)&&C.current&&!C.current.contains(V.target)&&(y(!1),g(""))};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]),k.useEffect(()=>{_(0)},[b]);const S=N=>{N.disabled||(n?.(N.value,N),y(!1),g(""))},j=N=>{g(N.target.value),p||y(!0)},q=N=>{if(!p){(N.key==="ArrowDown"||N.key==="Enter")&&y(!0);return}switch(N.key){case"ArrowDown":N.preventDefault(),_(V=>V<b.length-1?V+1:V);break;case"ArrowUp":N.preventDefault(),_(V=>V>0?V-1:V);break;case"Enter":N.preventDefault(),b[m]&&S(b[m]);break;case"Escape":y(!1),g("");break}},A=()=>[te.selectButton,te[l],te[h],i?te.disabled:"",s?te.error:"",d].filter(Boolean).join(" "),P=()=>{switch(u){case"w-64":return te.width64;case"w-80":return te.width80;case"w-96":return te.width96;default:return te.widthFull}},H=(N,V)=>[te.option,V===m?te.optionHighlighted:"",N.value===t?te.optionSelected:"",N.disabled?te.optionDisabled:""].filter(Boolean).join(" "),z={position:"fixed",top:M.top+(x.current?.offsetHeight||0)+4,left:M.left,width:M.width,zIndex:9999};return c.jsxs("div",{className:`${te.container} ${P()}`,children:[c.jsx("button",{ref:x,className:A(),onClick:()=>!i&&y(!p),onKeyDown:q,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":p,disabled:i,children:c.jsxs("div",{className:te.buttonContent,children:[c.jsx("span",{className:`${te.label} ${L?"":te.placeholder}`,children:L?L.label:o}),c.jsxs("div",{className:te.iconsContainer,children:[r&&c.jsx("div",{className:te.loadingSpinner}),c.jsx("svg",{className:`${te.arrowIcon} ${p?te.arrowIconOpen:""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})]})}),p&&Xw.createPortal(c.jsxs("div",{className:`${te.dropdown} ${P()}`,style:z,ref:C,children:[c.jsx("div",{className:te.searchContainer,children:c.jsx("input",{ref:w,type:"text",value:f,onChange:j,placeholder:"Rechercher...",className:te.searchInput,autoFocus:!0})}),c.jsx("div",{className:te.optionsList,children:b.length===0?c.jsx("div",{className:te.noResults,children:"Aucun résultat trouvé"}):c.jsx("ul",{role:"listbox",children:b.map((N,V)=>c.jsx("li",{className:H(N,V),onClick:()=>S(N),onMouseEnter:()=>_(V),role:"option","aria-selected":N.value===t,"aria-disabled":N.disabled,children:c.jsxs("div",{className:te.buttonContent,children:[c.jsx("span",{className:te.optionLabel,title:N.label,children:N.label}),N.value===t&&c.jsx("svg",{className:te.checkIcon,fill:"currentColor",viewBox:"0 0 20 20",children:c.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"})})]})},N.value))})})]}),document.body)]})},J3e="_container_uq7pt_1",Q3e="_item_uq7pt_7",eme="_mainValue_uq7pt_13",tme="_label_uq7pt_17",ame="_subValue_uq7pt_22",nme="_subValueWrapper_uq7pt_27",ome="_subSeparator_uq7pt_32",Re={container:J3e,item:Q3e,mainValue:eme,label:tme,subValue:ame,subValueWrapper:nme,subSeparator:ome},cme=({dms:e,stats:t=[],itemWidth:n="120px",valueFontSize:o="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(_=>_.trim());return c.jsxs("span",{className:Re.subValueWrapper,children:[c.jsx("span",{className:Re.subLeft,style:{color:y},children:g}),c.jsx("span",{className:Re.subSeparator,children:" / "}),c.jsx("span",{className:Re.subRight,style:{color:f},children:m})]})};return c.jsxs("div",{className:Re.container,style:{backgroundColor:d},children:[e&&c.jsxs("div",{className:Re.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:Re.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:e}),c.jsx("div",{className:Re.label,style:{color:l},children:"DMS"})]}),t.map((p,y)=>c.jsxs("div",{className:Re.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:Re.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:p.value}),c.jsx("div",{className:Re.label,style:{color:l},children:p.label}),c.jsx("div",{className:Re.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},ime="_encours_16ist_1",rme="_header_16ist_19",sme="_iconWrap_16ist_27",dme="_title_16ist_36",lme="_items_16ist_47",hme="_spaceEvenly_16ist_56",ume="_item_16ist_47",pme="_valueContainer_16ist_86",yme="_value_16ist_86",kme="_label_16ist_108",et={encours:ime,header:rme,iconWrap:sme,title:dme,items:lme,spaceEvenly:hme,item:ume,valueContainer:pme,value:yme,label:kme},vc=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function mme(e,t){const n={},o={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=vc(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=vc(t.defaultValueFontSize)),e.valueFontWeight!==void 0?n.fontWeight=e.valueFontWeight:t.defaultValueFontWeight!==void 0&&(n.fontWeight=t.defaultValueFontWeight),e.labelColor&&(o.color=e.labelColor),e.labelFontSize!==void 0?o.fontSize=vc(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(o.fontSize=vc(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?o.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(o.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:o}}function fme(){return c.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[c.jsx("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"1.4"}),c.jsx("path",{d:"M8 12h8",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})]})}function gme(e){const{title:t,titleColor:n,titleFontSize:o,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:_,className:M,ariaLabel:v}=e,x=r?ht[r]:void 0,C={background:g,width:vc(m),...f},w={};n&&(w.color=n),o!==void 0&&(w.fontSize=vc(o)),i!==void 0&&(w.fontWeight=i);const b={};return d&&(b.color=d),c.jsxs("section",{className:`${et.encours} ${M??""}`,style:C,"aria-label":v??t,children:[c.jsxs("div",{className:et.header,children:[c.jsx("div",{className:et.iconWrap,"aria-hidden":!0,style:b,children:x?c.jsx(x,{size:typeof s=="number"?s:void 0}):c.jsx(fme,{})}),c.jsx("div",{className:et.title,style:w,children:t})]}),c.jsx("div",{className:`${et.items} ${_===void 0?et.spaceEvenly:""}`,role:"list",style:_!==void 0?{gap:`${_}px`}:{},children:y.map((L,I)=>{const{valueStyle:S,labelStyle:j}=mme(L,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return c.jsx("div",{className:et.item,role:"listitem",style:{...L.background?{background:L.background}:{},...L.width?{width:vc(L.width)}:{}},children:c.jsxs("div",{className:et.valueContainer,children:[c.jsx("div",{className:et.value,style:S,children:L.value}),L.label&&c.jsx("div",{className:et.label,style:j,children:L.label})]})},`${String(L.label??L.value)}-${I}`)})})]})}const vme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M480-360 280-559h400z"})),Mme=k.memo(vme),_me=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"m280-400 200-201 200 201z"})),xme=k.memo(_me),Lme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},K.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"})),Ime=k.memo(Lme),wme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},K.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"})),bme=k.memo(wme),Cme=({items:e,onSave:t,loading:n,disabled:o,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})=>{const[u,p]=k.useState(!1),[y,f]=k.useState(e),[g,m]=k.useState(!1);if(k.useEffect(()=>{m(!0)},[]),k.useEffect(()=>{f(e)},[e]),!g)return null;const _=(v,x)=>{x<4||f(C=>C.map(w=>w.component_key===v?{...w,visible:!w.visible}:w))},M=()=>{t(y),p(!1)};return c.jsxs("div",{style:{position:"relative",display:"inline-block",...h},children:[c.jsxs("div",{onClick:()=>{o||p(!u)},style:{display:"flex",alignItems:"center",cursor:o?"not-allowed":"pointer",borderRadius:4,transition:"background 0.2s"},title:s,children:[c.jsx(pj,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),u?c.jsx(xme,{width:d,height:d,fill:l?.icon||"currentColor"}):c.jsx(Mme,{width:d,height:d,fill:l?.icon||"currentColor"})]}),u&&c.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:[c.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:y.map((v,x)=>c.jsxs(k.Fragment,{children:[c.jsxs("li",{onClick:()=>_(v.component_key,x),style:{display:"flex",alignItems:"center",padding:"0.5rem",cursor:x<4?"not-allowed":"pointer",transition:"background 0.2s"},onMouseEnter:C=>{x>=4&&(C.currentTarget.style.background="#F9FAFB")},onMouseLeave:C=>{x>=4&&(C.currentTarget.style.background="transparent")},children:[c.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:v.visible?c.jsx(Ime,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):c.jsx(bme,{width:20,height:20,fill:"#D1D5DB"})}),c.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children:v.label})]}),x===3&&c.jsx("div",{style:{height:1,background:"#E5E7EB",margin:"4px 0"}})]},v.component_key))}),c.jsx("div",{style:{padding:"12px 16px 0 16px",display:"flex",justifyContent:"flex-end"},children:c.jsx("button",{type:"button",onClick:M,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})})]})]})},Nme="_container_zhny9_1",Sme="_card_zhny9_15",jme="_footer_zhny9_33",$me="_noPaddingMobile_zhny9_51",D1={container:Nme,card:Sme,footer:jme,noPaddingMobile:$me},qme="_board_1tbkr_1",Ame="_clickable_1tbkr_21",zme="_sideBar_1tbkr_26",Vme="_boardContent_1tbkr_32",Pme="_orange_1tbkr_40",Tme="_red_1tbkr_44",Hme="_green_1tbkr_48",Dme="_grey_1tbkr_52",Bme="_lightGrey_1tbkr_56",Rme="_big_1tbkr_61",Fme="_medium_1tbkr_66",Eme="_headerRow_1tbkr_70",Ome="_iconWrapper_1tbkr_75",Ume="_headerTitle_1tbkr_80",Wme="_valueArea_1tbkr_89",Gme="_titleWhite_1tbkr_99",Zme="_titleBlack_1tbkr_103",Kme="_valueWhite_1tbkr_108",Xme="_valueBlack_1tbkr_112",Yme="_valueBlue_1tbkr_116",Jme="_bars_1tbkr_121",Qme="_bar_1tbkr_121",e6e="_barDark_1tbkr_135",t6e="_barDim_1tbkr_139",Ee={board:qme,clickable:Ame,sideBar:zme,boardContent:Vme,orange:Pme,red:Tme,green:Hme,grey:Dme,lightGrey:Bme,big:Rme,medium:Fme,headerRow:Eme,iconWrapper:Ome,headerTitle:Ume,valueArea:Wme,titleWhite:Gme,titleBlack:Zme,valueWhite:Kme,valueBlack:Xme,valueBlue:Yme,bars:Jme,bar:Qme,barDark:e6e,barDim:t6e},a6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${Ee.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${Ee.bar} ${r<o?"":e?Ee.barDark:Ee.barDim}`},r))})},xt=({iconName:e,label:t,value:n,backgroundColor:o="green",bars:i,lightBars:r=5,size:s="big",valueScale:d,width:l,height:h,className:u="",style:p,titleColor:y="white",valueColor:f="white",titleFontSize:g,titleFontWeight:m,valueFontSize:_,valueFontWeight:M,barColor:v,justifyContent:x="space-between",alignItems:C="flex-start",cardGap:w="",onClick:b,iconColor:L})=>{const I=i!=="none",S=i==="endingDark",{padding:j,...q}=p||{},A=l===void 0&&h===void 0&&o===void 0&&Object.keys(q).length===0?void 0:{...l!==void 0?{width:l}:{},...h!==void 0?{height:h}:{},...o!==void 0?{backgroundColor:o}:{},...q},P=`${Ee.board} ${Ee[s]} ${u}`;return c.jsxs("div",{className:P,onClick:b,style:d!==void 0?{...A,"--ds-value-scale":d}:A,children:[v&&c.jsx("div",{className:Ee.sideBar,style:{backgroundColor:v}}),c.jsxs("div",{className:Ee.boardContent,style:{padding:j,gap:w},children:[c.jsxs("div",{className:Ee.headerRow,style:{justifyContent:x,alignItems:C},children:[e&&c.jsx("div",{className:Ee.iconWrapper,style:{color:L},children:e}),c.jsx("div",{className:`${Ee.headerTitle} header-title-data-board`,children:c.jsx("span",{style:{color:y,...g?{fontSize:g}:{},...m?{fontWeight:m}:{}},children:t})}),I?c.jsx(a6e,{endingDark:S,lightCount:r}):null]}),c.jsx("div",{className:Ee.valueArea,style:{color:f,..._?{fontSize:_}:{},...M?{fontWeight:M}:{}},children:n})]})]})},n6e="_wrapper_tldrb_10",o6e="_hosp_tldrb_19",c6e="_headerRow_tldrb_54",i6e="_iconWrapper_tldrb_61",r6e="_headerTitle_tldrb_67",s6e="_hospValue_tldrb_76",d6e="_side_tldrb_88",l6e="_mini_tldrb_100",h6e="_miniLabel_tldrb_134",u6e="_miniValue_tldrb_143",p6e="_miniBars_tldrb_153",y6e="_bars_tldrb_158",k6e="_bar_tldrb_158",m6e="_barDark_tldrb_172",f6e="_barDim_tldrb_176",Ne={wrapper:n6e,hosp:o6e,headerRow:c6e,iconWrapper:i6e,headerTitle:r6e,hospValue:s6e,side:d6e,mini:l6e,miniLabel:h6e,miniValue:u6e,miniBars:p6e,bars:y6e,bar:k6e,barDark:m6e,barDim:f6e},g6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${Ne.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${Ne.bar} ${r<o?"":e?Ne.barDark:Ne.barDim}`},r))})},Aq=({left:e,right:t,className:n="",style:o})=>{const i=e.bars??"endingDark",r=i!=="none",s=i==="endingDark";return c.jsxs("div",{className:`${Ne.wrapper} ${n} data-four-boards`,style:o,children:[c.jsxs("div",{className:`${Ne.hosp} ${e.className||""}`,onClick:e.onClick,style:{...e.width?{width:e.width}:{},...e.height?{height:e.height}:{},...e.backgroundColor?{backgroundColor:e.backgroundColor}:{},...e.style||{}},children:[c.jsxs("div",{className:Ne.headerRow,children:[c.jsxs("div",{className:`${Ne.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&c.jsx("span",{style:{color:e.iconColor},children:e.iconName}),c.jsx("span",{className:Ne.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},children:e.label})]}),r?c.jsx(g6e,{endingDark:s,lightCount:e.lightBars??5}):null]}),c.jsx("div",{className:Ne.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})]}),c.jsx("div",{className:Ne.side,children:t.map((d,l)=>c.jsxs("div",{className:`${Ne.mini} ${d.className||""} icon-wrapper-data-four-boards`,onClick:d.onClick,style:{...d.width?{width:d.width}:{},...d.height?{height:d.height}:{},...d.backgroundColor?{backgroundColor:d.backgroundColor}:{},...d.style||{}},children:[c.jsxs("span",{className:Ne.miniLabel,style:{color:d.titleColor||"white",textAlign:"right",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",...d.titleFontSize?{fontSize:d.titleFontSize}:{},...d.titleFontWeight?{fontWeight:d.titleFontWeight}:{}},children:[d.iconName&&c.jsx("span",{style:{color:d.iconColor,marginRight:"4px"},children:d.iconName}),d.label]}),c.jsx("span",{className:`${Ne.miniValue} mini-value-data-four-boards`,style:{color:d.valueColor||"white",textAlign:"right",...d.valueScale!==void 0?{"--ds-value-scale":d.valueScale}:{},...d.valueFontSize?{fontSize:d.valueFontSize}:{},...d.valueFontWeight?{fontWeight:d.valueFontWeight}:{}},children:d.value}),c.jsx("div",{className:Ne.miniBars})]},d.id??`${d.label}-${l}`))})]})},v6e=({items:e,footerLabel:t,width:n,height:o,size:i=320,style:r,className:s="",backgroundColor:d,titleFontSize:l,titleFontWeight:h,valueFontSize:u,valueFontWeight:p,noPaddingLeftRight:y=!1})=>{const f={width:n??i,height:o,backgroundColor:d??"var(--ds-navy)",...r},g=e[0],m=e[1],_=e.slice(2,5);return c.jsxs("div",{style:f,className:`${D1.container} ${y?D1.noPaddingMobile:""} ${s}`,children:[c.jsxs("div",{className:D1.card,children:[g?c.jsx(xt,{label:g.label,value:g.value,backgroundColor:g.backgroundColor,bars:g.bars,lightBars:g.lightBars,size:g.size??"big",valueScale:g.valueScale,width:g.width,height:g.height,titleColor:"white",valueColor:"white",titleFontSize:g.titleFontSize??l,titleFontWeight:g.titleFontWeight??h,valueFontSize:g.valueFontSize??u,valueFontWeight:g.valueFontWeight??p}):null,m&&_.length>0?c.jsx(Aq,{left:{id:m.id,label:m.label,value:m.value,backgroundColor:m.backgroundColor,bars:m.bars,lightBars:m.lightBars,valueScale:m.valueScale,width:m.width,height:m.height,titleFontSize:m.titleFontSize??l,titleFontWeight:m.titleFontWeight??h,valueFontSize:m.valueFontSize??u,valueFontWeight:m.valueFontWeight??p},right:_.map(M=>({id:M.id,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,valueScale:M.valueScale,width:M.width,height:M.height,titleFontSize:M.titleFontSize??l,titleFontWeight:M.titleFontWeight??h,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p}))}):m&&_.length===0?c.jsx(xt,{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}):null]}),t&&c.jsx("div",{className:D1.footer,children:t})]})},M6e=({data:e,height:t=360,barColor:n="#0284C7",tooltipEnabled:o=!0,backgroundColor:i="#ffffff",legendTextColor:r="#000",barHeight:s=100,yAxisWidth:d=240,fontSize:l="12px",fontWeight:h="400"})=>c.jsx("div",{style:{backgroundColor:i},children:c.jsx(a.ResponsiveContainer,{width:"100%",height:t,children:c.jsxs(a.BarChart,{data:e,layout:"vertical",children:[c.jsx(a.CartesianGrid,{stroke:"#E5E7EB",vertical:!1}),c.jsx(a.XAxis,{type:"number",axisLine:!1,tickLine:!1,fontSize:l,fontWeight:h,stroke:r}),c.jsx(a.YAxis,{type:"category",dataKey:"label",stroke:r,axisLine:!1,tickLine:!1,width:d,interval:0,fontSize:l,fontWeight:h}),o&&c.jsx(a.Tooltip,{}),c.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s})]})})}),_6e="_menu_10i6j_1",x6e="_menuRow_10i6j_18",L6e="_separator_10i6j_33",I6e="_rowLabel_10i6j_39",w6e="_rowLeadingIcon_10i6j_47",b6e="_rowIcon_10i6j_54",Sc={menu:_6e,menuRow:x6e,separator:L6e,rowLabel:I6e,rowLeadingIcon:w6e,rowIcon:b6e},C6e=k.forwardRef(function({isVisible:t,onClose:n,items:o,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 c.jsx("div",{ref:h,role:"menu",className:Sc.menu,style:p,children:o.map(y=>{if(y.type==="separator")return c.jsx("hr",{className:Sc.separator},y.id);const f=y,g=f.color?{color:f.color}:{},m=f.closeOnClick!==!1;return c.jsxs("button",{role:"menuitem",className:Sc.menuRow,style:g,onClick:()=>{f.onClick?.(),m&&n?.()},children:[c.jsxs("span",{className:Sc.rowLabel,children:[f.leadingIcon&&c.jsx("span",{className:Sc.rowLeadingIcon,children:f.leadingIcon}),c.jsx("span",{children:f.label})]}),f.icon&&c.jsx("span",{className:Sc.rowIcon,children:f.icon})]},f.id)})})}),zq=({user:e,logoutHref:t,logoutTarget:n="_self",onLogout:o,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:_="#5b8fb9",backgroundColorAvatar:M="#f1f4f5",dropdownMenuItems:v,dropdownMenuStyle:x,dropdownMenuOffset:C,statusDotColor:w,style:b,className:L=""})=>{const{user:I}=it(),S=e||I,{currentTheme:j,switchTheme:q}=tL(),A=k.useRef(null),P=k.useRef(null),[H,z]=k.useState(!1),[N,V]=k.useState({}),B=k.useMemo(()=>{const Z=[],X=({variant:_e})=>_e==="sun"?c.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:c.jsx("circle",{cx:"12",cy:"12",r:"4"})}):c.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:c.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})});i&&(Z.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),Z.push({id:"sep-profile",type:"separator"}));const re=j==="dark";return Z.push({id:"theme",type:"action",label:re?"Mode clair":"Mode sombre",icon:c.jsx(X,{variant:re?"sun":"moon"}),onClick:()=>{q(re?"light":"dark")}}),(t||o)&&(Z.push({id:"sep-theme",type:"separator"}),Z.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}o?.()}})),Z},[j,t,n,o,i,r,q]),W=v??B,D=()=>{if(!A.current){z(Z=>!Z);return}if(!H){const Z=A.current.getBoundingClientRect(),X=window.innerWidth,re=window.innerHeight,_e=200,ue=200,we=4,se=C?.x??0,ge=C?.y??0,je=X-Z.right>=_e+we;V(je?{top:Z.bottom-ue+ge,left:Z.right+we+se}:{bottom:re-Z.top+ge,left:Z.left+se})}z(Z=>!Z)};if(k.useEffect(()=>{if(!H||!A.current)return;const Z=()=>{const X=A.current.getBoundingClientRect(),re=window.innerWidth,_e=window.innerHeight,ue=200,we=200,se=4,ge=C?.x??0,Ve=C?.y??0,le=re-X.right>=ue+se;V(le?{top:X.bottom-we+Ve,left:X.right+se+ge}:{bottom:_e-X.top+Ve,left:X.left+ge})};return window.addEventListener("resize",Z),window.addEventListener("orientationchange",Z),()=>{window.removeEventListener("resize",Z),window.removeEventListener("orientationchange",Z)}},[H,C]),k.useEffect(()=>{if(!H||!A.current||!P.current)return;const Z=()=>{const re=A.current.getBoundingClientRect(),_e=P.current.getBoundingClientRect(),ue=C?.x??0,we=C?.y??0;V(se=>se.left!==void 0&&se.top!==void 0&&se.left>=re.right-1?{top:re.bottom-_e.height+we,left:se.left+ue}:se)},X=requestAnimationFrame(()=>{setTimeout(Z,0)});return()=>cancelAnimationFrame(X)},[H,C]),!S)return null;const R=S,Y=parseInt(h,10)||40,ae=`${Y*.375}px`,me=`${Y*1.375}px`,rt=`${Y*.2}px`,fe=`${Y*.6}px`,Ie=()=>{const Z=parseInt(h,10)||40,X=Math.max(8,Z*.34375),re=Math.max(2,Z*.05);return c.jsxs(c.Fragment,{children:[c.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[R.image?c.jsx("img",{src:R.image,alt:`${R.prenom} ${R.nom}`,style:{width:h,height:h,borderRadius:"50%",objectFit:"cover",userSelect:"none"}}):c.jsxs("div",{style:{width:h,height:h,position:"relative",borderRadius:"50%",backgroundColor:M,overflow:"hidden",userSelect:"none"},children:[c.jsx("div",{style:{width:ae,height:ae,borderRadius:"50%",backgroundColor:_,position:"absolute",top:rt,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),c.jsx("div",{style:{width:me,height:me,borderRadius:"50%",backgroundColor:_,position:"absolute",top:fe,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),w&&c.jsx("div",{style:{position:"absolute",bottom:re,right:re,width:`${X}px`,height:`${X}px`,borderRadius:"50%",backgroundColor:w,border:"2px solid white",zIndex:10}})]}),c.jsxs("div",{style:{display:"flex",flexDirection:"column",minWidth:0,flex:1},children:[c.jsx("span",{style:{fontWeight:f,fontSize:y,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:R.email,children:R.email}),c.jsx("span",{style:{color:l,fontSize:g,fontWeight:m,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:R.role,children:R.role})]})]})};return c.jsxs(c.Fragment,{children:[c.jsx("div",{ref:A,className:`user-info ${L}`,style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:u,backgroundColor:s,gap:p,color:d,width:"100%",boxSizing:"border-box",cursor:"pointer",userSelect:"none",...b},onClick:D,role:"button",tabIndex:0,children:c.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:c.jsx(Ie,{})})}),c.jsx(C6e,{ref:P,isVisible:H,onClose:()=>z(!1),items:W,style:x,position:N})]})},N6e="_navItem_1c3kb_1",S6e="_icon_1c3kb_19",B1={navItem:N6e,icon:S6e},Tb=({label:e,onClick:t,href:n,isActive:o,icon:i,style:r,className:s="",highlightColor:d="#00aec7",color:l="#333",activeColor:h="#00aec7",highlightBackgroundColor:u="rgba(0, 0, 0, 0.05)",fontSize:p="15px",fontWeight:y="500",sidebarCollapsed:f=!1,padding:g="10px 16px",borderWidth:m="4px",iconGap:_="12px",disabled:M=!1,disabledColor:v})=>{const x=()=>{M||t?.()},C=c.jsxs(c.Fragment,{children:[i&&c.jsx("span",{className:B1.icon,style:{marginRight:f?0:_},children:i}),!f&&c.jsx("span",{children:e})]}),w=()=>{if(!o)return"transparent";const L=I=>{const S=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(I);return S?{r:parseInt(S[1],16),g:parseInt(S[2],16),b:parseInt(S[3],16)}:null};if(d.startsWith("#")){const I=L(d);if(I)return`rgba(${I.r}, ${I.g}, ${I.b}, 0.08)`}else if(d.startsWith("rgb")){const I=d.match(/\d+/g);if(I&&I.length>=3)return`rgba(${I[0]}, ${I[1]}, ${I[2]}, 0.08)`}return u},b={onClick:x,className:`${B1.navItem} ${o?B1.active:""} ${s} ${M?B1.disabled:""}`,style:{padding:g,color:o?h:M?v||"#999":l,borderLeft:o?`${m} solid ${d}`:`${m} solid transparent`,backgroundColor:w(),fontSize:p,fontWeight:y,cursor:M?"not-allowed":"pointer",textDecoration:"none",...r},"aria-disabled":M};return n&&!M?c.jsx("a",{href:n,...b,children:C}):c.jsx("div",{...b,role:t?"button":void 0,tabIndex:t&&!M?0:void 0,children:C})},j6e="_navbar_18gev_1",$6e="_topSection_18gev_9",q6e="_sectionsContainer_18gev_14",A6e="_sectionTitle_18gev_20",z6e="_sectionItems_18gev_25",V6e="_bottomSection_18gev_30",P6e="_versionContainer_18gev_49",st={navbar:j6e,topSection:$6e,sectionsContainer:q6e,sectionTitle:A6e,sectionItems:z6e,bottomSection:V6e,versionContainer:P6e},T6e=({logoProps:e,logoSpacing:t,navItems:n,padding:o="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:_="500",navItemColor:M,sectionTitlePadding:v="16px",sectionTitleFontSize:x="11px",sectionTitleColor:C="#999",sectionTitleWeight:w="500",versionFontSize:b="12px",versionFontWeight:L="400",versionColor:I="#999",userInfoProps:S,style:j,className:q="",width:A="280px"})=>{const P=it(),H=P.activeNav,z=P.setActiveNav,N=P.user,V=S.user||N;return c.jsxs("div",{className:`${st.navbar} ${q}`,style:{width:A,backgroundColor:s,padding:o,...j},children:[c.jsxs("div",{className:st.topSection,style:{gap:t},children:[c.jsx("div",{className:st.logoContainer,children:c.jsx(Yw,{...e})}),c.jsx("div",{className:st.sectionsContainer,style:{gap:i},children:n.map((B,W)=>c.jsxs("div",{className:st.section,children:[B.title&&c.jsx("div",{className:st.sectionTitle,style:{fontSize:x,color:C,padding:v,fontWeight:w,border:"4px solid transparent",...u},children:B.title}),c.jsx("div",{className:st.sectionItems,style:{gap:r},children:B.items.map(D=>c.jsx(Tb,{...D,isActive:D.isActive===null?D.isActive:H===D.id,onClick:()=>{D.onClick&&D.onClick(),D.isActive==null&&z(D.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:f,iconGap:g,fontSize:m,fontWeight:_,color:M,style:p},D.id))})]},W))})]}),c.jsxs("div",{className:st.bottomSection,style:{gap:t},children:[c.jsx(zq,{...S,user:V}),h&&c.jsx("div",{className:st.versionContainer,style:{fontSize:b,fontWeight:L,color:I},children:h})]})]})},H6e="_container_4qege_1",D6e="_titleContainer_4qege_10",B6e="_title_4qege_10",R6e="_inlineToggleContainer_4qege_24",F6e="_rightContentContainer_4qege_30",Xc={container:H6e,titleContainer:D6e,title:B6e,inlineToggleContainer:R6e,rightContentContainer:F6e},E6e=({className:e="",style:t,fontSize:n="20px",fontWeight:o="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,navItems:y,formatTitle:f=_=>_,rightContent:g,inlineToggle:m})=>{const{activeNav:_}=it(),M=y.find(x=>x.id===_),v=f(M?M.label:_);return v?c.jsxs("div",{className:`${Xc.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[c.jsxs("div",{className:Xc.titleContainer,children:[c.jsx("div",{className:Xc.title,style:{fontSize:n,fontWeight:o,color:i},children:v}),m&&c.jsx("div",{className:Xc.inlineToggleContainer,children:m})]}),g&&c.jsx("div",{className:Xc.rightContentContainer,children:g})]}):null},O6e="_navItem_1hg26_1",U6e="_navItemIcon_1hg26_21",W6e="_navItemLabel_1hg26_29",G6e="_navItemCount_1hg26_36",Z6e="_navItemIndicator_1hg26_49",Yc={navItem:O6e,navItemIcon:U6e,navItemLabel:W6e,navItemCount:G6e,navItemIndicator:Z6e},Vq=({label:e,isActive:t,onClick:n,href:o,icon:i,count:r,activeColor:s="#00aec7",inactiveColor:d="#666",activeBackgroundColor:l="transparent",countBackgroundColor:h,countColor:u="#fff",countBorderRadius:p="10px",countPadding:y="2px 6px",countFontSize:f="12px",countFontWeight:g="500",indicatorColor:m="#00aec7",indicatorHeight:_="3px",padding:M="8px 4px",fontSize:v="14px",fontWeight:x="500",gap:C="8px",style:w,className:b="",disabled:L=!1})=>{const I=()=>{L||(n?.(),o&&(window.location.href=o))};return c.jsxs("div",{className:`${Yc.navItem} ${b}`,onClick:I,style:{gap:C,padding:M,color:t?s:d,backgroundColor:t?l:"transparent",fontSize:v,fontWeight:x,...w},children:[i&&c.jsx("span",{className:Yc.navItemIcon,children:i}),c.jsx("span",{className:Yc.navItemLabel,children:e}),r!==void 0&&c.jsx("span",{className:Yc.navItemCount,style:{backgroundColor:h,color:u,borderRadius:p,padding:y,fontSize:f,fontWeight:g},children:r}),t&&!L&&c.jsx("div",{className:Yc.navItemIndicator,style:{height:_,backgroundColor:m}})]})},K6e="_subheaderContent_1glo8_1",X6e="_navContainer_1glo8_11",Y6e="_rightContent_1glo8_45",_w={subheaderContent:K6e,navContainer:X6e,rightContent:Y6e},J6e=({subNavItems:e,backgroundColor:t="transparent",padding:n="0",margin:o,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:_=!1,showLegend:M=!1,showData:v=!1,className:x="",style:C,countBackgroundColor:w,countColor:b,countBorderRadius:L,countPadding:I,countFontSize:S,countFontWeight:j,navContainerClassName:q,navContainerStyle:A,rightContentClassName:P,rightContentStyle:H,rightActions:z,activeSwitcherColor:N,inactiveSwitcherColor:V})=>{const{activeSubNav:B,setActiveSubNav:W,navCounts:D}=it();return c.jsxs("div",{className:`${_w.subheaderContent} ${x}`,style:{backgroundColor:t,padding:n,margin:o,width:i,height:r,border:s,borderBottom:d,...C},children:[c.jsx("div",{className:`${_w.navContainer} ${q||""}`,style:{gap:l,...A},children:e.map(R=>{const Y=R.count!==void 0?R.count:D[R.id],ae=B===R.id||R.isActive;return c.jsx(Vq,{...R,count:Y,isActive:ae,onClick:()=>{R.onClick&&R.onClick(),W(R.id)},activeColor:f,inactiveColor:g,countBackgroundColor:w,countColor:b,countBorderRadius:L,countPadding:I,countFontSize:S,countFontWeight:j,indicatorColor:f,indicatorHeight:m,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:R.style},R.id)})}),c.jsxs("div",{className:`${_w.rightContent} ${P||""}`,style:{gap:h,...H},children:[_&&c.jsx(Ox,{size:20,colors:{bg:N,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),M&&c.jsx(Ux,{size:20,colors:{bg:N,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),v&&c.jsx(Wx,{size:20,colors:{bg:N,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),z]})]})},Q6e=({onSwitch:e,size:t="20px",lightIconColor:n="#666",darkIconColor:o="#fff",backgroundColor:i="transparent",padding:r="8px",borderRadius:s="50%",style:d,className:l=""})=>{const[h,u]=k.useState(!1),{currentTheme:p,switchTheme:y}=tL(),f=p!="dark",g=()=>{y(f?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!h||!p?c.jsx(c.Fragment,{}):c.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?c.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}):c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[c.jsx("circle",{cx:"12",cy:"12",r:"5"}),c.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),c.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),c.jsx("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),c.jsx("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),c.jsx("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),c.jsx("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),c.jsx("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),c.jsx("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})})},e8e=({initialSortBy:e=null,initialSortOrder:t="asc",onSortChange:n})=>{const[o,i]=k.useState({sortBy:e,sortOrder:t,filters:{}}),r=k.useCallback(s=>{let d="asc";o.sortBy===s&&(d=o.sortOrder==="asc"?"desc":"asc");const l={...o,sortBy:s,sortOrder:d};i(l),n(s,d)},[o,n]);return{tableState:o,handleSort:r}},t8e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),a8e=k.memo(t8e),n8e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),o8e=k.memo(n8e),c8e=({columns:e,sortBy:t,sortOrder:n,onSort:o,removeLabelSpan:i=!1})=>c.jsx("thead",{children:c.jsx("tr",{children:e.map((r,s)=>{const d=t===r.key,l=!!r.sortable;return c.jsx("th",{className:`${r.className||""}${l?" sortable":""}`,style:{width:r.width,textAlign:r.align||"left"},onClick:()=>l&&o(String(r.key)),children:c.jsxs("div",{className:`th-content ${r.align?`align-${r.align}`:""}`,children:[i?r.label:c.jsx("span",{children:r.label}),l&&c.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?c.jsx(o8e,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):c.jsx(a8e,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),i8e=({data:e,columns:t,rowKey:n,onRowClick:o,isLoading:i,text:r,rowStyle:s,rowClassName:d})=>!e.length&&!i?c.jsx("tbody",{children:c.jsx("tr",{children:c.jsx("td",{colSpan:t.length,style:{textAlign:"center",padding:"32px"},children:c.jsx("span",{style:{color:"var(--table-text-muted)"},children:r?.noData||"Aucune donnée disponible"})})})}):c.jsx("tbody",{children:e.map((l,h)=>{const u=l[n],p=typeof u=="string"||typeof u=="number"?u:h;return c.jsx("tr",{onClick:()=>o&&o(l),style:{cursor:o?"pointer":"default",...s?s(l):{}},className:d?d(l,h):"",children:t.map((y,f)=>c.jsx("td",{style:{width:y.width,textAlign:y.align||"left"},className:y.className,children:y.render?y.render(l):l[y.key]},`${String(y.key)}-${f}`))},p)})}),r8e=({state:e,onPaginationChange:t,onLoadMore:n,infiniteScroll:o,hasMore:i,text:r,isLoading:s})=>{const{page:d,pageSize:l,total:h}=e,u=l===-1?h:l,p=Math.ceil(h/u)||1,y=Math.min(Math.max(1,d),p),f=h===0?0:(y-1)*u+1,g=Math.min(y*u,h),m=M=>{t({page:M})},_=k.useMemo(()=>{if(p<=6)return Array.from({length:p},(S,j)=>j+1);const x=Math.max(y-1,1),C=Math.min(y+1,p),w=x>2,b=C<p-2,L=1,I=p;if(!w&&b)return[...Array.from({length:5},(q,A)=>A+1),"...",p];if(w&&!b){const j=Array.from({length:5},(q,A)=>p-5+A+1);return[L,"...",...j]}if(w&&b){const S=Array.from({length:C-x+1},(j,q)=>x+q);return[L,"...",...S,"...",I]}return[]},[y,p]);return c.jsxs("div",{className:"table-pagination",children:[c.jsx("div",{className:"pagination-summary",children:h>0?c.jsx("span",{children:r?.itemsRange?r.itemsRange(f,g,h):c.jsxs(c.Fragment,{children:[c.jsxs("b",{children:[f,"–",g]})," ","sur ",c.jsx("b",{children:h.toLocaleString()})," éléments"]})}):c.jsx("span",{children:r?.noResults||"0 résultats"})}),c.jsx("div",{className:"pagination-spacer"}),!o&&l!==-1&&p>1&&c.jsxs("div",{className:"pagination-controls",children:[c.jsx("button",{className:"pagination-btn",onClick:()=>m(1),disabled:y===1,title:r?.first||"Premier",children:"<<"}),c.jsx("button",{className:"pagination-btn",onClick:()=>m(y-1),disabled:y===1,title:r?.previous||"Précédent",children:"<"}),(_||[]).map((M,v)=>M==="..."?c.jsx("span",{style:{padding:"0 4px",color:"var(--table-text-muted)"},children:"..."},v):c.jsx("button",{className:`pagination-btn ${M===y?"active":""}`,onClick:()=>m(M),children:M},v)),c.jsx("button",{className:"pagination-btn",onClick:()=>m(y+1),disabled:y===p,title:r?.next||"Suivant",children:">"}),c.jsx("button",{className:"pagination-btn",onClick:()=>m(p),disabled:y===p,title:r?.last||"Dernier",children:">>"})]}),!o&&n&&i&&c.jsx("div",{className:"pagination-load-more",children:c.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"})})]})},Pq=({data:e,columns:t,isLoading:n,pagination:o,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:_,style:M,rowStyle:v,onRowClick:x,rowClassName:C,removeLabelSpan:w=!1})=>{const b=k.useMemo(()=>({...p}),[p]),L=k.useRef(null);k.useEffect(()=>{if(!f||!y||!g||n)return;const P=new IntersectionObserver(H=>{H[0].isIntersecting&&y()},{threshold:.1});return L.current&&P.observe(L.current),()=>P.disconnect()},[f,y,g,n]);const{tableState:I,handleSort:S}=e8e({initialSortBy:null,onSortChange:r}),j=(m?.sortBy!==void 0?m.sortBy:I.sortBy)??void 0,q=m?.sortOrder!==void 0?m.sortOrder:I.sortOrder,A=P=>{const H=j,z=q;let N="asc";H===P&&(N=z==="asc"?"desc":"asc"),m?.sortBy!==void 0?r(P,N):S(P)};return c.jsxs("div",{className:`table-container ${_||""}`,style:M,children:[c.jsxs("div",{className:"table-frame",style:{height:h??void 0,minHeight:u??void 0},children:[n&&c.jsx("div",{className:"table-loader-overlay",children:c.jsx("div",{className:"spinner",style:{width:d,height:d,borderTopColor:"var(--table-primary)"}})}),c.jsxs("div",{className:`table-wrapper ${l?"sticky-header":""}`,children:[c.jsxs("table",{className:"data-table",children:[c.jsx(c8e,{columns:t,sortBy:j,sortOrder:q,onSort:A,removeLabelSpan:w}),c.jsx(i8e,{data:e,columns:t.map(P=>({...P,render:P.render?H=>P.render(H,{}):void 0})),rowKey:s,onRowClick:x,isLoading:n,text:b,rowStyle:typeof v=="function"?v:v?()=>v:void 0,rowClassName:C})]}),f&&c.jsx("div",{ref:L,style:{height:20,margin:10}})]})]}),c.jsx(r8e,{state:o,onPaginationChange:i,text:b,onLoadMore:y,infiniteScroll:f,hasMore:g,isLoading:n})]})},s8e="_datePickerContainer_cf6w1_3",d8e="_label_cf6w1_16",l8e="_displayNode_cf6w1_23",h8e="_datePickerButton_cf6w1_30",u8e="_datePickerButtonDisabled_cf6w1_50",p8e="_datePickerButtonOpen_cf6w1_59",y8e="_datePickerLabel_cf6w1_68",k8e="_placeholder_cf6w1_78",m8e="_chevron_cf6w1_82",f8e="_errorMessage_cf6w1_90",g8e="_dropdown_cf6w1_95",v8e="_calendarHeader_cf6w1_119",M8e="_navButton_cf6w1_128",_8e="_headerSelectors_cf6w1_147",x8e="_monthSelector_cf6w1_155",L8e="_yearSelector_cf6w1_156",I8e="_selectorButton_cf6w1_160",w8e="_selectorChevron_cf6w1_177",b8e="_selectorChevronOpen_cf6w1_182",C8e="_monthDropdown_cf6w1_186",N8e="_yearDropdown_cf6w1_187",S8e="_monthItem_cf6w1_207",j8e="_yearItem_cf6w1_208",$8e="_monthItemSelected_cf6w1_230",q8e="_yearItemSelected_cf6w1_231",A8e="_weekdays_cf6w1_235",z8e="_weekday_cf6w1_235",V8e="_calendarGrid_cf6w1_251",P8e="_dateCell_cf6w1_259",T8e="_dateCellSelected_cf6w1_282",H8e="_dateCellOtherMonth_cf6w1_286",D8e="_dateCellOtherMonthSelected_cf6w1_290",B8e="_calendarFooter_cf6w1_294",R8e="_cancelButton_cf6w1_302",F8e="_applyButton_cf6w1_303",E8e="_timePickerContainer_cf6w1_347",O8e="_timeGroup_cf6w1_356",U8e="_timeLabel_cf6w1_363",W8e="_timeInputWrapper_cf6w1_369",G8e="_timeInput_cf6w1_369",Z8e="_timeSeparator_cf6w1_397",F={datePickerContainer:s8e,label:d8e,displayNode:l8e,datePickerButton:h8e,datePickerButtonDisabled:u8e,datePickerButtonOpen:p8e,datePickerLabel:y8e,placeholder:k8e,chevron:m8e,errorMessage:f8e,dropdown:g8e,calendarHeader:v8e,navButton:M8e,headerSelectors:_8e,monthSelector:x8e,yearSelector:L8e,selectorButton:I8e,selectorChevron:w8e,selectorChevronOpen:b8e,monthDropdown:C8e,yearDropdown:N8e,monthItem:S8e,yearItem:j8e,monthItemSelected:$8e,yearItemSelected:q8e,weekdays:A8e,weekday:z8e,calendarGrid:V8e,dateCell:P8e,dateCellSelected:T8e,dateCellOtherMonth:H8e,dateCellOtherMonthSelected:D8e,calendarFooter:B8e,cancelButton:R8e,applyButton:F8e,timePickerContainer:E8e,timeGroup:O8e,timeLabel:U8e,timeInputWrapper:W8e,timeInput:G8e,timeSeparator:Z8e},K8e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#e3e3e3",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M480-344 240-584l56-56 184 184 184-184 56 56z"})),Fx=k.memo(K8e),XS=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],X8e=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],b1=({value:e,onChange:t,label:n,placeholder:o="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:_="0.5rem 0.75rem",fontWeight:M="400",buttonBgColor:v,buttonBorderColor:x,buttonTextColor:C,dropdownBgColor:w="#ffffff",itemHoverColor:b,selectedItemBgColor:L,iconColor:I,errorColor:S,labelColor:j,placeholderColor:q,borderRadius:A="var(--radius-content)",borderWidth:P="0.0625rem",boxShadow:H="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:z="0.2s",transitionTiming:N="ease",dateCellSize:V="2.5rem",headerTextColor:B="#6c757d",weekdayTextColor:W="#6c757d",currentMonthDateColor:D="#212529",otherMonthDateColor:R="#adb5bd",selectedDateBgColor:Y="#00A6D9",selectedDateTextColor:ae="#ffffff",cancelButtonBgColor:me="#e9ecef",cancelButtonTextColor:rt="#212529",applyButtonBgColor:fe="#00A6D9",applyButtonTextColor:Ie="#ffffff",width:Z,displayNode:X=void 0,displayMode:re="auto",displayNodeAriaLabel:_e,dropdownPosition:ue="bottom",dropdownAlignment:we="right",dropdownWidth:se,withBorder:ge=!1,icon:Ve,precision:je="day",hoursLabel:le="Heures",minutesLabel:be="Minutes"})=>{const $e=T=>{if(T instanceof Date)return isNaN(T.getTime())?null:T;if(typeof T=="string"&&T){const U=new Date(T);return isNaN(U.getTime())?null:U}return null},[Pe,Q]=k.useState(!1),[G,q1]=k.useState({top:0,left:0,width:0}),[ee,Gc]=k.useState($e(e)||new Date),[yL,kL]=k.useState($e(e)),[mL,fL]=k.useState($e(e)?.getHours()??0),[gL,vL]=k.useState($e(e)?.getMinutes()??0),[ML,wc]=k.useState(!1),[_L,bc]=k.useState(!1),xL=k.useRef(null),A1=k.useRef(null),LL=k.useRef(null),IL=k.useRef(null);k.useEffect(()=>{const T=$e(e);kL(T),T&&(Gc(T),fL(T.getHours()),vL(T.getMinutes()))},[e]);const Cc=k.useCallback(()=>{if(A1.current){const T=A1.current.getBoundingClientRect();q1({top:T.top,left:T.left,width:T.width})}},[]);k.useEffect(()=>(Pe&&(Cc(),window.addEventListener("scroll",Cc,!0),window.addEventListener("resize",Cc)),()=>{window.removeEventListener("scroll",Cc,!0),window.removeEventListener("resize",Cc)}),[Pe,Cc]),k.useEffect(()=>{const T=U=>{if(xL.current&&!xL.current.contains(U.target)){const ye=document.getElementById("datepicker-dropdown");if(ye&&ye.contains(U.target))return;Q(!1),wc(!1),bc(!1)}LL.current&&!LL.current.contains(U.target)&&wc(!1),IL.current&&!IL.current.contains(U.target)&&bc(!1)};return document.addEventListener("mousedown",T),()=>document.removeEventListener("mousedown",T)},[]);const Hb=T=>new Date(T.getFullYear(),T.getMonth()+1,0).getDate(),Tq=T=>{const U=new Date(T.getFullYear(),T.getMonth(),1).getDay();return U===0?6:U-1},Hq=()=>{const T=[],U=Tq(ee),ye=Hb(ee),z1=new Date(ee.getFullYear(),ee.getMonth()-1,1),Zc=Hb(z1);for(let We=U-1;We>=0;We--)T.push(new Date(ee.getFullYear(),ee.getMonth()-1,Zc-We));for(let We=1;We<=ye;We++)T.push(new Date(ee.getFullYear(),ee.getMonth(),We));const cA=42-T.length;for(let We=1;We<=cA;We++)T.push(new Date(ee.getFullYear(),ee.getMonth()+1,We));return T},Dq=(T,U)=>!T||!U?!1:T.getDate()===U.getDate()&&T.getMonth()===U.getMonth()&&T.getFullYear()===U.getFullYear(),Bq=T=>T.getMonth()===ee.getMonth()&&T.getFullYear()===ee.getFullYear(),Rq=()=>{Gc(new Date(ee.getFullYear(),ee.getMonth()-1,1))},Fq=()=>{Gc(new Date(ee.getFullYear(),ee.getMonth()+1,1))},Eq=T=>{if(!s){const U=new Date(T);U.setHours(mL),U.setMinutes(gL),kL(U)}},Oq=()=>{if(!s){if(yL){const T=new Date(yL);T.setHours(mL),T.setMinutes(gL),t(T)}else t(null);Q(!1)}},Uq=()=>{const T=$e(e);kL(T),T&&(fL(T.getHours()),vL(T.getMinutes())),Q(!1)},Wq=T=>{Gc(new Date(ee.getFullYear(),T,1)),wc(!1)},Gq=T=>{Gc(new Date(T,ee.getMonth(),1)),bc(!1)},Zq=()=>{const T=ee.getFullYear(),U=[];for(let ye=T-10;ye<=T+10;ye++)U.push(ye);return U},Kq=T=>{if(!s)switch(T.key){case"Enter":case" ":T.preventDefault(),Q(!Pe);break;case"Escape":Q(!1),wc(!1),bc(!1);break;case"Tab":Pe&&(Q(!1),wc(!1),bc(!1));break}},Xq={width:Z||(r?"100%":"auto"),fontSize:p,fontWeight:M},Yq={height:l,padding:h,backgroundColor:v||"#ffffff",border:ge?void 0:"none",borderColor:d?S||"#dc3545":x||"#dee2e6",color:C||"#212529",borderRadius:A,borderWidth:P,fontWeight:M,transition:`all ${z} ${N}`},Jq={backgroundColor:w||"#ffffff",maxHeight:u,borderRadius:A,borderWidth:P,boxShadow:H,transition:`opacity ${z} ${N}, transform ${z} ${N}`,position:"fixed",top:ue==="bottom"?G.top+(A1.current?.offsetHeight||0)+parseFloat(m.replace("rem",""))*16:"auto",bottom:ue==="top"?window.innerHeight-G.top+parseFloat(m.replace("rem",""))*16:"auto",left:we==="left"?G.left:"auto",right:we==="right"?window.innerWidth-(G.left+G.width):"auto",width:se||(r?G.width:"auto"),zIndex:10001},Db={width:y,height:y,color:I||"#6c757d","--icon-rotation":Pe?"rotate(180deg)":"rotate(0deg)"},Qq={color:j||"#212529",marginBottom:f,fontWeight:M},eA={color:q||"#6c757d"},tA={color:S||"#dc3545",marginTop:g},aA=Hq(),Je=$e(e),Bb=Je?je==="minutes"?`${Je.toLocaleDateString("fr-FR")} ${Je.getHours().toString().padStart(2,"0")}:${Je.getMinutes().toString().padStart(2,"0")}`:Je.toLocaleDateString("fr-FR"):"",nA=!!X&&(re==="icon"||re==="auto"&&!Je),oA=_e||(Je?`Date sélectionnée: ${Bb}`:"Ouvrir le sélecteur de date");return c.jsxs("div",{className:`${F.datePickerContainer} ${i}`,ref:xL,style:Xq,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&c.jsx("label",{className:F.label,style:Qq,children:n}),c.jsxs("button",{ref:A1,type:"button",onClick:()=>!s&&Q(!Pe),onKeyDown:Kq,className:`
|
|
8170
8170
|
${F.datePickerButton}
|
|
8171
8171
|
${Pe?F.datePickerButtonOpen:""}
|
|
8172
8172
|
${s?F.datePickerButtonDisabled:""}
|
|
8173
|
-
`,style:Yq,disabled:s,"aria-expanded":Pe,"aria-haspopup":"dialog","aria-label":oA,"aria-labelledby":n?`${n}-label`:void 0,children:[nA?c.jsx("span",{className:F.displayNode,"aria-hidden":!0,children:X}):c.jsx("span",{className:`${F.datePickerLabel} ${Je?"":F.placeholder}`,style:Je?void 0:eA,children:Je?
|
|
8173
|
+
`,style:Yq,disabled:s,"aria-expanded":Pe,"aria-haspopup":"dialog","aria-label":oA,"aria-labelledby":n?`${n}-label`:void 0,children:[nA?c.jsx("span",{className:F.displayNode,"aria-hidden":!0,children:X}):c.jsx("span",{className:`${F.datePickerLabel} ${Je?"":F.placeholder}`,style:Je?void 0:eA,children:Je?Bb:o}),Ve?c.jsx("span",{className:F.chevron,style:Db,children:Ve}):c.jsx(Fx,{fill:"var(--color-text)",className:`${F.chevron} ${Pe?F.chevronOpen:""}`,style:Db})]}),d&&c.jsx("div",{className:F.errorMessage,style:tA,children:d}),Pe&&!s&&Xw.createPortal(c.jsxs("div",{id:"datepicker-dropdown",className:F.dropdown,style:Jq,role:"dialog","aria-label":"Sélecteur de date",children:[c.jsxs("div",{className:F.calendarHeader,children:[c.jsx("button",{type:"button",className:F.navButton,onClick:Rq,"aria-label":"Mois précédent",children:"‹"}),c.jsxs("div",{className:F.headerSelectors,children:[c.jsxs("div",{className:F.monthSelector,ref:LL,children:[c.jsxs("button",{type:"button",className:F.selectorButton,onClick:()=>wc(!ML),style:{color:B,"--hover-color":b},children:[XS[ee.getMonth()],c.jsx(Fx,{fill:"var(--color-text)",className:`${F.selectorChevron} ${ML?F.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),ML&&c.jsx("div",{className:F.monthDropdown,children:XS.map((T,U)=>c.jsx("button",{type:"button",className:`${F.monthItem} ${ee.getMonth()===U?F.monthItemSelected:""}`,onClick:()=>Wq(U),style:{padding:_,backgroundColor:ee.getMonth()===U?L||"#e7f1ff":w},onMouseEnter:ye=>{b&&ee.getMonth()!==U&&(ye.currentTarget.style.backgroundColor=b)},onMouseLeave:ye=>{b&&(ye.currentTarget.style.backgroundColor=ee.getMonth()===U?L||"#e7f1ff":w)},children:T},U))})]}),c.jsxs("div",{className:F.yearSelector,ref:IL,children:[c.jsxs("button",{type:"button",className:F.selectorButton,onClick:()=>bc(!_L),style:{color:B,"--hover-color":b},children:[ee.getFullYear(),c.jsx(Fx,{fill:"var(--color-text)",className:`${F.selectorChevron} ${_L?F.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),_L&&c.jsx("div",{className:F.yearDropdown,children:Zq().map(T=>c.jsx("button",{type:"button",className:`${F.yearItem} ${ee.getFullYear()===T?F.yearItemSelected:""}`,onClick:()=>Gq(T),style:{padding:_,backgroundColor:ee.getFullYear()===T?L||"#e7f1ff":w},onMouseEnter:U=>{b&&ee.getFullYear()!==T&&(U.currentTarget.style.backgroundColor=b)},onMouseLeave:U=>{b&&(U.currentTarget.style.backgroundColor=ee.getFullYear()===T?L||"#e7f1ff":w)},children:T},T))})]})]}),c.jsx("button",{type:"button",className:F.navButton,onClick:Fq,"aria-label":"Mois suivant",children:"›"})]}),c.jsx("div",{className:F.weekdays,children:X8e.map(T=>c.jsx("div",{className:F.weekday,style:{color:W},children:T},T))}),c.jsx("div",{className:F.calendarGrid,children:aA.map((T,U)=>{if(!T)return null;const ye=Dq(T,yL),z1=Bq(T);return c.jsx("button",{type:"button",className:`${F.dateCell} ${ye?F.dateCellSelected:""} ${ye?F.dateCellOtherMonthSelected:""} ${z1?"":F.dateCellOtherMonth}`,onClick:()=>Eq(T),style:{width:V,height:V,color:ye?ae:z1?D:R,backgroundColor:ye?Y:"transparent"},onMouseEnter:Zc=>{!ye&&b&&(Zc.currentTarget.style.backgroundColor=b)},onMouseLeave:Zc=>{ye||(Zc.currentTarget.style.backgroundColor="transparent")},children:T.getDate()},U)})}),je==="minutes"&&c.jsxs("div",{className:F.timePickerContainer,children:[c.jsxs("div",{className:F.timeGroup,children:[c.jsx("span",{className:F.timeLabel,children:le}),c.jsx("div",{className:F.timeInputWrapper,children:c.jsx("input",{type:"number",min:"0",max:"23",value:mL,onChange:T=>{const U=parseInt(T.target.value);!isNaN(U)&&U>=0&&U<=23&&fL(U)},className:F.timeInput})})]}),c.jsx("span",{className:F.timeSeparator,children:":"}),c.jsxs("div",{className:F.timeGroup,children:[c.jsx("span",{className:F.timeLabel,children:be}),c.jsx("div",{className:F.timeInputWrapper,children:c.jsx("input",{type:"number",min:"0",max:"59",value:gL,onChange:T=>{const U=parseInt(T.target.value);!isNaN(U)&&U>=0&&U<=59&&vL(U)},className:F.timeInput})})]})]}),c.jsxs("div",{className:F.calendarFooter,children:[c.jsx("button",{type:"button",className:F.cancelButton,onClick:Uq,style:{backgroundColor:me,color:rt,borderRadius:A,padding:_},children:"Annuler"}),c.jsx("button",{type:"button",className:F.applyButton,onClick:Oq,style:{backgroundColor:fe,color:Ie,borderRadius:A,padding:_},children:"Appliquer"})]})]}),document.body)]})},Y8e="_selectContainer_1ptm9_1",J8e="_label_1ptm9_15",Q8e="_selectButton_1ptm9_23",efe="_selectButtonDisabled_1ptm9_43",tfe="_selectButtonOpen_1ptm9_48",afe="_selectButtonContent_1ptm9_58",nfe="_selectIcon_1ptm9_66",ofe="_selectLabel_1ptm9_72",cfe="_placeholder_1ptm9_79",ife="_chevron_1ptm9_84",rfe="_errorMessage_1ptm9_93",sfe="_dropdown_1ptm9_99",dfe="_dropdownContent_1ptm9_123",lfe="_item_1ptm9_129",hfe="_itemSelected_1ptm9_151",ufe="_itemContent_1ptm9_155",pfe="_itemIcon_1ptm9_162",yfe="_itemLabel_1ptm9_168",ke={selectContainer:Y8e,label:J8e,selectButton:Q8e,selectButtonDisabled:efe,selectButtonOpen:tfe,selectButtonContent:afe,selectIcon:nfe,selectLabel:ofe,placeholder:cfe,chevron:ife,errorMessage:rfe,dropdown:sfe,dropdownContent:dfe,item:lfe,itemSelected:hfe,itemContent:ufe,itemIcon:pfe,itemLabel:yfe},eL=({items:e,value:t,onChange:n,label:o,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)",iconSize:f="var(--select-icon-size, 1.5rem)",labelMarginBottom:g="var(--select-label-margin-bottom, 0.5rem)",errorMarginTop:m="var(--select-error-margin-top, 0.25rem)",dropdownMarginTop:_="var(--select-dropdown-margin-top, 0.25rem)",itemPadding:M="var(--select-item-padding, 0.5rem 0.75rem)",gap:v="var(--select-gap, 0.5rem)",buttonBgColor:x,buttonBorderColor:C,buttonTextColor:w,dropdownBgColor:b,itemHoverColor:L,selectedItemBgColor:I,iconColor:S,errorColor:j,labelColor:q,placeholderColor:A,border:P,borderRadius:H="var(--select-border-radius, 0.5rem)",borderWidth:z="var(--select-border-width, 0.0625rem)",boxShadow:N="var(--select-box-shadow, 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1))",transitionDuration:V="var(--select-transition-duration, 0.2s)",transitionTiming:B="var(--select-transition-timing, ease)",scrollbarWidth:W="var(--select-scrollbar-width, 0.375rem)",scrollbarTrackColor:D="var(--select-scrollbar-track-color, #f1f1f1)",scrollbarThumbColor:R="var(--select-scrollbar-thumb-color, #c1c1c1)",width:Y,dropdownPosition:ae="bottom",dropdownAlignment:me="right",dropdownWidth:rt})=>{const[fe,Ie]=k.useState(!1),Z=k.useRef(null),X=e.find(Q=>Q.value===t);k.useEffect(()=>{const Q=G=>{Z.current&&!Z.current.contains(G.target)&&Ie(!1)};return document.addEventListener("mousedown",Q),()=>document.removeEventListener("mousedown",Q)},[]);const re=Q=>{d||(n(Q),Ie(!1))},_e=Q=>{if(!d)switch(Q.key){case"Enter":case" ":Q.preventDefault(),Ie(!fe);break;case"Escape":Ie(!1);break;case"Tab":fe&&Ie(!1);break}},ue={width:Y||(s?"100%":"auto"),fontSize:y},we={height:h,padding:u,backgroundColor:x||"var(--select-button-bg-color, #ffffff)",border:P,borderColor:l?j||"var(--select-error-color, #dc3545)":C||"var(--select-button-border-color, #dee2e6)",color:w||"var(--select-button-text-color, #212529)",borderRadius:H,borderWidth:z,transition:`all ${V} ${B}`},se={backgroundColor:b||"var(--select-dropdown-bg-color, #ffffff)",maxHeight:p,borderRadius:H,borderWidth:z,boxShadow:N,transition:`opacity ${V} ${B}, transform ${V} ${B}`,position:"absolute",top:ae==="bottom"?"100%":"auto",bottom:ae==="top"?"100%":"auto",left:me==="left"?0:"auto",right:me==="right"?0:"auto",width:rt||(s?"100%":"auto"),marginTop:ae==="bottom"?_:0,marginBottom:ae==="top"?_:0,zIndex:1001},ge={width:f,height:f,color:S||"var(--select-icon-color, #6c757d)","--icon-rotation":fe?"rotate(180deg)":"rotate(0deg)"},Ve={color:q||"var(--select-label-color, #212529)",marginBottom:g},je={color:A||"var(--select-placeholder-color, #6c757d)"},le={color:j||"var(--select-error-color, #dc3545)",marginTop:m},be={padding:M,transition:`background-color ${V} ${B}`},$e={gap:v},Pe={"--scrollbar-width":W,"--scrollbar-track-color":D,"--scrollbar-thumb-color":R};return c.jsxs("div",{className:`${ke.selectContainer} ${r}`,ref:Z,style:ue,"data-fullwidth":s,"data-disabled":d,"data-error":!!l,children:[o&&c.jsx("label",{className:ke.label,style:Ve,children:o}),c.jsxs("button",{type:"button",onClick:()=>!d&&Ie(!fe),onKeyDown:_e,className:`
|
|
8174
8174
|
${ke.selectButton}
|
|
8175
8175
|
${fe?ke.selectButtonOpen:""}
|
|
8176
8176
|
${d?ke.selectButtonDisabled:""}
|
|
8177
8177
|
`,style:we,disabled:d,"aria-expanded":fe,"aria-haspopup":"listbox","aria-labelledby":o?`${o}-label`:void 0,children:[c.jsxs("div",{className:ke.selectButtonContent,style:$e,children:[X?.icon&&c.jsx("span",{className:ke.selectIcon,style:ge,children:X.icon}),c.jsx("span",{className:`${ke.selectLabel} ${X?"":ke.placeholder}`,style:X?void 0:je,children:X?X.label:i})]}),c.jsx(Fx,{fill:"var(--color-text)",className:`${ke.chevron} ${fe?ke.chevronOpen:""}`,style:ge})]}),l&&c.jsx("div",{className:ke.errorMessage,style:le,children:l}),fe&&!d&&c.jsx("div",{className:ke.dropdown,style:se,role:"listbox","aria-label":o||"Options de sélection",children:c.jsx("div",{className:ke.dropdownContent,style:Pe,children:e.map(Q=>c.jsx("button",{type:"button",onClick:()=>re(Q.value),className:`
|
|
8178
8178
|
${ke.item}
|
|
8179
8179
|
${t===Q.value?ke.itemSelected:""}
|
|
8180
|
-
`,style:{...be,backgroundColor:t===Q.value?I||"#F0F4F6":"transparent"},onMouseEnter:G=>{L&&(G.currentTarget.style.backgroundColor=L)},onMouseLeave:G=>{L&&(G.currentTarget.style.backgroundColor=t===Q.value?I||"#F0F4F6":"transparent")},role:"option","aria-selected":t===Q.value,children:c.jsxs("div",{className:ke.itemContent,style:$e,children:[Q.icon&&c.jsx("span",{className:ke.itemIcon,style:ge,children:Q.icon}),c.jsx("span",{className:ke.itemLabel,children:Q.label})]})},Q.value))})})]})},kfe="_filterBar_1hlqe_3",mfe="_label_1hlqe_11",XS={filterBar:kfe,label:mfe},ffe=({label:e="Filtres",startDate:t,endDate:n,granularity:o,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:_="#212529",labelMarginRight:M="1rem",startDateWidth:v,endDateWidth:x,selectWidth:C,datePickerProps:w={},selectProps:b={},rightContent:L,extraContent:I})=>{const S={fontSize:g,fontWeight:m,color:_,marginRight:M},q={gap:f};return c.jsxs("div",{className:`${XS.filterBar} ${p}`,style:q,children:[e&&c.jsx("span",{className:XS.label,style:S,children:e}),c.jsx(b1,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:v,...w}),c.jsx(b1,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:x,...w}),c.jsx(eL,{items:d,value:o,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:C,...b}),I,L&&c.jsx("div",{style:{marginLeft:"auto"},children:L})]})},gfe="_container_1h28m_31",vfe="_disabled_1h28m_51",Mfe="_predStyle_1h28m_63",_fe="_realStyle_1h28m_71",xfe="_predGap_1h28m_79",Lfe="_realGap_1h28m_87",Ife="_big_1h28m_97",wfe="_medium_1h28m_105",bfe="_iconWrapper_1h28m_115",Cfe="_predRelative_1h28m_135",Nfe="_realRelative_1h28m_143",Sfe="_iconImg_1h28m_151",jfe="_content_1h28m_167",$fe="_header_1h28m_185",qfe="_predJustify_1h28m_197",Afe="_realJustify_1h28m_205",zfe="_predHeaderLineHeight_1h28m_231",Vfe="_realHeaderLineHeight_1h28m_239",Pfe="_title_1h28m_257",Tfe="_titleBlack_1h28m_287",Hfe="_titleWhite_1h28m_295",Dfe="_subtitle_1h28m_305",Bfe="_valueRowHorizontal_1h28m_325",Rfe="_valueRowVertical_1h28m_341",Ffe="_singleValue_1h28m_359",Efe="_primaryRow_1h28m_367",Ofe="_maxBadge_1h28m_381",Ufe="_valuePrimary_1h28m_405",Wfe="_valuePrimaryBlack_1h28m_419",Gfe="_valuePrimaryWhite_1h28m_427",Zfe="_valueSlash_1h28m_437",Kfe="_valueSecondary_1h28m_451",Xfe="_valueSecondaryBlue_1h28m_463",Yfe="_valueSecondaryWhite_1h28m_471",Jfe="_valueSecondaryBlack_1h28m_479",Qfe="_valueStacked_1h28m_489",e7e="_stackedTop_1h28m_507",t7e="_stackedBottom_1h28m_509",ne={container:gfe,disabled:vfe,predStyle:Mfe,realStyle:_fe,predGap:xfe,realGap:Lfe,big:Ife,medium:wfe,iconWrapper:bfe,predRelative:Cfe,realRelative:Nfe,iconImg:Sfe,content:jfe,header:$fe,predJustify:qfe,realJustify:Afe,predHeaderLineHeight:zfe,realHeaderLineHeight:Vfe,title:Pfe,titleBlack:Tfe,titleWhite:Hfe,subtitle:Dfe,valueRowHorizontal:Bfe,valueRowVertical:Rfe,singleValue:Ffe,primaryRow:Efe,maxBadge:Ofe,valuePrimary:Ufe,valuePrimaryBlack:Wfe,valuePrimaryWhite:Gfe,valueSlash:Zfe,valueSecondary:Kfe,valueSecondaryBlue:Xfe,valueSecondaryWhite:Yfe,valueSecondaryBlack:Jfe,valueStacked:Qfe,stackedTop:e7e,stackedBottom:t7e},a7e=({iconName:e,title:t,subtitle:n,showSubtitle:o,realised:i="-",prediction:r="-",size:s="big",titleColor:d="black",valueColor:l="blue",realValueColor:h,className:u="",style:p="",variant:y="horizontal",showMax:f=!1,titleFontSize:g,titleFontWeight:m,subtitleFontSize:_,subtitleFontWeight:M,primaryFontSize:v,primaryFontWeight:x,secondaryFontSize:C,secondaryFontWeight:w,backgroundColor:b="#f2f9fc",gap:L="",disabled:I=!1,positionRelative:S="",justifyContent:q="",headerLineHeight:N="",headerMinHeight:j="",contentSpace:T=""})=>{const D=o!==void 0?o:!!n,z=`${ne.container} ${ne[s]} ${ne[p]} ${I?ne.disabled:""}`,$=l==="white"?ne.valuePrimaryWhite:ne.valuePrimaryBlack,V=l==="blue"?ne.valueSecondaryBlue:l==="white"?ne.valueSecondaryWhite:ne.valueSecondaryBlack,B=ae=>ae===void 0?void 0:typeof ae=="number"?`${ae}px`:ae,W=ae=>ae===void 0?void 0:ae,H=y==="vertical",R=r!=null&&r!==""&&r!=="-"&&r!=="—",Y=H?ne.valueRowVertical:ne.valueRowHorizontal;return c.jsxs("div",{className:`${z} ${u}`,style:{backgroundColor:b},children:[e&&c.jsx("div",{className:`${ne.iconWrapper} ${ne[S]}`,children:e}),c.jsxs("div",{className:`${ne.content} ${ne[L]} ${R?"":ne.singleValue} content-indicator-v2`,style:{justifyContent:T},children:[c.jsx("div",{className:`${ne.header} ${ne[q]} ${ne[N]} header-indicator-v2`,style:{minHeight:j},children:c.jsx("h6",{className:`${ne.title}`,style:{fontSize:B(g),fontWeight:W(m),color:d},children:t})}),D&&n?c.jsx("div",{className:"subtitle-container",children:c.jsx("span",{className:ne.subtitle,style:{fontSize:B(_),fontWeight:W(M)},children:n})}):null,c.jsxs("div",{className:`${Y} count-indicator-v2`,children:[c.jsxs("div",{className:ne.primaryRow,children:[f&&c.jsx("span",{className:`${ne.maxBadge} max-badge-indicator-v2`,children:"MAX"}),c.jsx("span",{className:`${ne.valuePrimary} ${$}`,style:{fontSize:B(v||(!R&&H?"1.75rem":void 0)),fontWeight:W(x),color:h||void 0},children:i})]}),R&&c.jsxs(c.Fragment,{children:[!H&&c.jsx("span",{className:ne.valueSlash,style:{fontSize:B(C),fontWeight:W(w)},children:"/"}),c.jsx("span",{className:`${ne.valueSecondary} ${V}`,style:{fontSize:B(C),fontWeight:W(w)},children:r})]})]})]})]})},n7e="_banner_f10in_2",o7e="_iep_f10in_14",c7e="_groupSmall_f10in_24",i7e="_genre_f10in_34",r7e="_gravite_f10in_42",s7e="_orientationContainer_f10in_48",d7e="_service_f10in_61",l7e="_roomBedContainer_f10in_71",h7e="_room_f10in_71",u7e="_bed_f10in_87",p7e="_bedUf_f10in_92",y7e="_statusContainer_f10in_97",k7e="_status_f10in_97",m7e="_centeredWarn_f10in_124",Ae={banner:n7e,iep:o7e,groupSmall:c7e,genre:i7e,gravite:r7e,orientationContainer:s7e,service:d7e,roomBedContainer:l7e,room:h7e,bed:u7e,bedUf:p7e,statusContainer:y7e,status:k7e,centeredWarn:m7e},f7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},K.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},K.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),K.createElement("g",{mask:"url(#a)"},K.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"}))),YS=k.memo(f7e),g7e=({patient:e,genre:t,gravite:n,bed:o,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:_=!1,warnMessage:M,warnColor:v="#F94134"})=>c.jsxs("div",{className:Ae.banner,style:{backgroundColor:l,...m},children:[c.jsxs("div",{className:Ae.iep,children:[c.jsx("div",{style:{color:u},children:e.iep??"--"}),c.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(/^./,x=>x.toUpperCase()),".(",e.age,")"]})]}),c.jsxs("div",{className:Ae.groupSmall,children:[c.jsx("span",{className:`${Ae.genre} genre-info-banner`,style:{color:"#ffffff",background:f,fontSize:g},children:t??"--"}),c.jsx("span",{className:`${Ae.gravite} gravite-info-banner`,children:n??"--"})]}),c.jsx("div",{className:Ae.orientationContainer,children:c.jsx("div",{className:Ae.service,style:{color:h},children:s??"--"})}),c.jsxs("div",{className:Ae.roomBedContainer,children:[i&&c.jsx("span",{className:Ae.bedUf,children:i}),c.jsx("span",{className:Ae.room,children:r??"--"}),c.jsx("span",{className:Ae.bed,children:o??"--"})]}),c.jsxs("div",{className:Ae.statusContainer,children:[d?c.jsx("div",{className:`${Ae.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):_&&c.jsxs("div",{className:Ae.centeredWarn,style:{textTransform:"uppercase"},children:[c.jsx(YS,{color:v,width:20,height:20,style:{marginRight:"6px"}}),c.jsx("span",{style:{color:v,fontSize:"12px",fontWeight:600},children:M})]}),d&&_&&c.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:v,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[c.jsx(YS,{color:v,width:12,height:12,style:{marginRight:"4px"}}),c.jsx("span",{children:M})]})]})]}),v7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),M7e=k.memo(v7e),_7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.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"})),x7e=k.memo(_7e),L7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),I7e=k.memo(L7e),w7e="_overlay_17mx6_1",b7e="_container_17mx6_21",C7e="_fullscreen_17mx6_45",N7e="_header_17mx6_57",S7e="_headerActions_17mx6_81",j7e="_iconButton_17mx6_91",$7e="_body_17mx6_113",q7e="_sidebar_17mx6_127",A7e="_content_17mx6_141",z7e="_contentHeader_17mx6_155",V7e="_childrenWrapper_17mx6_187",P7e="_footer_17mx6_201",T7e="_baseButton_17mx6_217",Ce={overlay:w7e,container:b7e,fullscreen:C7e,header:N7e,headerActions:S7e,iconButton:j7e,body:$7e,sidebar:q7e,content:A7e,contentHeader:z7e,childrenWrapper:V7e,footer:P7e,baseButton:T7e},H7e=({headerText:e,headerTextColor:t="var(--color-text)",backgroundColor:n="var(--color-background)",headerFontSize:o="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:_,width:M="75%",maxWidth:v="none",maxHeight:x="85%",borderRadius:C="0.5rem",childrenPadding:w="1rem",overflow:b="auto",contentHeaderAction:L})=>{const[I,S]=k.useState(!1);if(!r)return null;const q=(N,j=!1)=>c.jsx(Ex,{onClick:N.onClick,className:Ce.baseButton,style:{background:N.backgroundColor??(j?"#008FBB":"#ffffff"),color:N.textColor??(j?"#ffffff":"#374151"),border:N.borderColor||j?"none":void 0},children:N.text});return c.jsx("div",{className:Ce.overlay,children:c.jsxs("div",{className:`${Ce.container} ${I?Ce.fullscreen:""}`,style:{width:I?"100%":M,maxWidth:I?"none":v,maxHeight:I?"100%":x,borderRadius:I?"0":C,overflow:b},children:[!g&&c.jsxs("header",{className:Ce.header,style:{backgroundColor:n},children:[c.jsx("h2",{style:{fontSize:o,fontWeight:i,color:t},children:e}),c.jsxs("div",{className:Ce.headerActions,children:[!f&&c.jsx("button",{onClick:()=>S(!I),className:Ce.iconButton,title:I?"Réduire":"Agrandir",children:I?c.jsx(I7e,{width:22,height:22,fill:t}):c.jsx(M7e,{width:22,height:22,fill:t})}),c.jsx("button",{onClick:s,className:Ce.iconButton,title:"Fermer",children:c.jsx(x7e,{width:22,height:22,fill:t})})]})]}),c.jsxs("div",{className:Ce.body,style:{overflow:b},children:[y&&!m&&c.jsx("aside",{className:Ce.sidebar,children:y}),c.jsxs("main",{className:Ce.content,style:{backgroundColor:p,overflow:b},children:[u&&c.jsxs("header",{className:Ce.contentHeader,style:{backgroundColor:n},children:[c.jsx("span",{style:{color:t},children:u}),L]}),c.jsx("div",{className:Ce.childrenWrapper,style:{padding:w,overflow:b},children:h})]})]}),c.jsxs("footer",{className:Ce.footer,style:{backgroundColor:n},children:[_&&c.jsx(Ex,{onClick:_,className:Ce.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:"Supprimer"}),q(d),q(l,!0)]})]})})},D7e="_container_18g5o_1",B7e="_searchWrapper_18g5o_19",R7e="_navItems_18g5o_33",xw={container:D7e,searchWrapper:B7e,navItems:R7e},F7e=({items:e,activeId:t,activeColor:n="#00aec7",backgroundColor:o="#fff",textColor:i="#000",onItemClick:r,searchValue:s="",onSearchChange:d,searchPlaceholder:l="Rechercher",width:h="100%",className:u=""})=>c.jsxs("div",{className:`${xw.container} ${u}`,style:{width:h,backgroundColor:o,color:i},children:[c.jsx("div",{className:xw.searchWrapper,children:c.jsx(qq,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),c.jsx("div",{className:xw.navItems,children:e.map(p=>c.jsx(Pb,{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))})]}),E7e=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:o,onEditModule:i,onDeleteModule:r,title:s="Modules"})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(null),p=()=>l(!0),y=()=>l(!1),f=v=>{const x=v.title?.trim();x&&o&&o(x),y()},g=(v,x)=>{v.stopPropagation(),u(x)},m=()=>u(null),_=v=>{const x=v.title?.trim();h&&x&&i&&i(h,x),m()},M=(v,x)=>{v.stopPropagation(),r&&r(x)};return c.jsxs("div",{className:"module-sidebar-v2",children:[c.jsxs("div",{className:"sidebar-header",children:[c.jsxs("div",{className:"header-title",children:[s," (",e.length,")"]}),c.jsx(Tc,{size:18,className:"add-view-icon",onClick:p})]}),c.jsx("div",{className:"module-list",children:e.map(v=>c.jsxs("div",{className:`module-item ${v.id===t?"selected":""}`,onClick:()=>n&&n(v),children:[v.icon||c.jsx(l1,{size:14,className:"drag-handle"}),c.jsxs("div",{className:"module-content",children:[c.jsx("div",{className:"module-title",children:v.title}),v.subtitle&&c.jsx("div",{className:"module-subtitle",children:v.subtitle})]}),typeof v.count<"u"&&c.jsx("span",{className:"module-count",children:v.count}),c.jsxs("div",{className:"module-actions",children:[c.jsx(lt,{size:12,className:"action-icon edit",onClick:x=>g(x,v)}),c.jsx(bt,{size:12,className:"action-icon delete",onClick:x=>M(x,v)})]})]},v.id))}),c.jsx(Ic,{isOpen:d,onClose:y,onSave:f,title:"Ajouter un module",fields:[{name:"title",label:"Titre",placeholder:"Nom du module"}]}),h&&c.jsx(Ic,{isOpen:!!h,onClose:m,onSave:_,title:"Renommer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Nom du module"}]})]})},O7e=({keyName:e,translations:t,availableLanguages:n,onChange:o,onRename:i,onDelete:r})=>{const[s,d]=k.useState(!1),[l,h]=k.useState(e),[u,p]=k.useState(null),[y,f]=k.useState(""),[g,m]=k.useState(!1),[_,M]=k.useState(""),[v,x]=k.useState(""),C=k.useMemo(()=>{const z={};return Array.isArray(t)&&t.forEach($=>{$&&$.language&&(z[$.language.toUpperCase()]=$.value)}),z},[t]),w=k.useMemo(()=>n,[n]),b=()=>{d(!1),l!==e&&l.trim()!==""?i&&i(l.trim()):h(e)},L=z=>{z.key==="Enter"?b():z.key==="Escape"&&(h(e),d(!1))},I=z=>{const $=z.toUpperCase();p($),f(C[$]||"")},S=()=>{u&&(o(u,y),p(null),f(""))},q=z=>{z.key==="Enter"?S():z.key==="Escape"&&(p(null),f(""))},N=()=>{m(!0),w.length>0&&M(w[0].toUpperCase()),x("")},j=()=>{_&&v.trim()&&(o(_,v.trim()),m(!1),M(""),x(""))},T=()=>{m(!1),M(""),x("")},D=z=>{z.key==="Enter"?j():z.key==="Escape"&&T()};return c.jsxs("div",{className:"translation-key-v2",children:[c.jsxs("div",{className:"header",children:[s?c.jsx("input",{className:"key-name-input",value:l,onChange:z=>h(z.target.value),onBlur:b,onKeyDown:L,autoFocus:!0}):c.jsx("h3",{className:"header-title",children:e}),c.jsxs("div",{className:"header-actions",children:[c.jsx(lt,{size:16,className:"action-icon edit",onClick:()=>d(!0)}),c.jsx(bt,{size:16,className:"action-icon delete",onClick:r})]})]}),c.jsxs("div",{className:"translations-list",children:[n.map(z=>{const $=z.toUpperCase(),V=C[$]||"",B=u===$;return c.jsxs("div",{className:"lang-row",children:[c.jsx("div",{className:"lang-label",children:$}),B?c.jsx("input",{className:"translation-input editing",value:y,onChange:W=>f(W.target.value),onBlur:S,onKeyDown:q,placeholder:"Entrez la traduction...",autoFocus:!0}):c.jsx("div",{className:`translation-value ${V?"":"empty"}`,onClick:()=>I(z),title:"Cliquer pour éditer",children:V||"Cliquer pour ajouter..."})]},z)}),g?c.jsxs("div",{className:"lang-row add-row",children:[c.jsx("select",{className:"lang-select",value:_,onChange:z=>M(z.target.value),children:w.map(z=>c.jsx("option",{value:z.toUpperCase(),children:z.toUpperCase()},z))}),c.jsx("input",{className:"translation-input editing",value:v,onChange:z=>x(z.target.value),onKeyDown:D,placeholder:"Mot",autoFocus:!0}),c.jsxs("div",{className:"add-actions",children:[c.jsx(c1,{size:18,className:"action-icon confirm",onClick:j}),c.jsx(Ke,{size:18,className:"action-icon cancel",onClick:T})]})]}):w.length>0&&c.jsxs("button",{className:"add-translation-btn",onClick:N,children:[c.jsx(Dc,{size:16}),c.jsx("span",{children:"Ajouter"})]})]})]})},U7e="_overlay_1jz4r_1",W7e="_modal_1jz4r_15",G7e="_body_1jz4r_27",Z7e="_footer_1jz4r_46",K7e="_confirmButton_1jz4r_55",X7e="_danger_1jz4r_75",Y7e="_cancelButton_1jz4r_83",$t={overlay:U7e,modal:W7e,body:G7e,footer:Z7e,confirmButton:K7e,danger:X7e,cancelButton:Y7e},J7e=({isOpen:e,message:t,onConfirm:n,onCancel:o,confirmText:i="Confirmer",cancelText:r="Annuler",isDanger:s=!1,hideFooter:d=!1})=>e?c.jsx("div",{className:$t.overlay,onClick:o,children:c.jsxs("div",{className:$t.modal,onClick:l=>l.stopPropagation(),children:[c.jsx("div",{className:$t.body,children:typeof t=="string"?c.jsx("p",{children:t}):t}),!d&&c.jsxs("div",{className:$t.footer,children:[c.jsx("button",{className:`${$t.confirmButton} ${s?$t.danger:""}`,onClick:n,children:i}),c.jsx("button",{className:$t.cancelButton,onClick:o,children:r})]})]})}):null,Q7e="_card_1ildr_1",ege="_topIcon_1ildr_17",tge="_title_1ildr_24",age="_text_1ildr_31",nge="_bottomIcon_1ildr_37",Jc={card:Q7e,topIcon:ege,title:tge,text:age,bottomIcon:nge},oge=({topIcon:e,title:t,text:n,bottomIcon:o,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:l="#fff"})=>c.jsxs("div",{className:`${Jc.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},children:[e&&c.jsx("div",{className:Jc.topIcon,children:e}),c.jsx("h3",{className:Jc.title,style:{color:s},children:t}),c.jsx("p",{className:Jc.text,style:{color:d},children:n}),o&&c.jsx("div",{className:Jc.bottomIcon,children:o})]}),cge=[{label:"Mobile",value:"Mobile"},{label:"WebApp",value:"WebApp"}],ige=[{label:"Annonce",value:"Annonce"},{label:"New",value:"New"},{label:"Urgences",value:"Urgences"}],JS={interfaces:cge,screens:ige},rge="_container_eem5s_1",sge="_fieldGroup_eem5s_5",dge="_label_eem5s_9",lge="_input_eem5s_16",hge="_textarea_eem5s_30",uge="_row_eem5s_36",pge="_col_eem5s_42",Le={container:rge,fieldGroup:sge,label:dge,input:lge,textarea:hge,row:uge,col:pge},yge=({initialData:e,onChange:t,texts:n={}})=>{const[o,i]=k.useState({title:"",message:"",target_interface:"Mobile",target_screen:"Annonce",published_at:new Date,expired_at:null});k.useEffect(()=>{e&&i({...e,published_at:e.published_at?new Date(e.published_at):new Date,expired_at:e.expired_at?new Date(e.expired_at):null})},[e]);const r=(s,d)=>{const l={...o,[s]:d};i(l),t(l)};return c.jsxs("div",{className:Le.container,children:[c.jsxs("div",{className:Le.fieldGroup,children:[c.jsx("label",{className:Le.label,children:n.titleLabel}),c.jsx("input",{className:Le.input,type:"text",value:o.title,onChange:s=>r("title",s.target.value),placeholder:n.titlePlaceholder,required:!0})]}),c.jsxs("div",{className:Le.fieldGroup,children:[c.jsx("label",{className:Le.label,children:n.messageLabel}),c.jsx("textarea",{className:`${Le.input} ${Le.textarea}`,value:o.message,onChange:s=>r("message",s.target.value),placeholder:n.messagePlaceholder,required:!0})]}),c.jsxs("div",{className:Le.row,children:[c.jsx("div",{className:Le.col,children:c.jsx(eL,{label:n.interfaceLabel,items:JS.interfaces,value:o.target_interface,onChange:s=>r("target_interface",s),dropdownPosition:"bottom",fontSize:"0.75rem",borderRadius:"0.25rem",required:!0})}),c.jsx("div",{className:Le.col,children:c.jsx(eL,{label:n.screenLabel,items:JS.screens,value:o.target_screen,onChange:s=>r("target_screen",s),dropdownPosition:"bottom",fontSize:"0.75rem",borderRadius:"0.25rem",required:!0})})]}),c.jsxs("div",{className:Le.row,children:[c.jsxs("div",{className:Le.col,children:[c.jsx("label",{className:Le.label,children:n.publishedAtLabel}),c.jsx("div",{style:{width:"100%"},children:c.jsx(b1,{value:o.published_at,fontSize:"0.75rem",withBorder:!0,onChange:s=>r("published_at",s),placeholder:n.publishedAtPlaceholder,dropdownPosition:"top",dropdownWidth:"auto"})})]}),c.jsxs("div",{className:Le.col,children:[c.jsx("label",{className:Le.label,children:n.expiredAtLabel}),c.jsx("div",{style:{width:"100%"},children:c.jsx(b1,{value:o.expired_at,fontSize:"0.75rem",withBorder:!0,onChange:s=>r("expired_at",s),placeholder:n.expiredAtPlaceholder,dropdownPosition:"top",dropdownWidth:"auto"})})]})]})]})},kge="_container_1ry38_1",mge="_disabled_1ry38_9",fge="_selectBox_1ry38_14",gge="_selectBoxOpen_1ry38_36",vge="_tagsContainer_1ry38_41",Mge="_tag_1ry38_41",_ge="_tagLabel_1ry38_66",xge="_removeBtnContainer_1ry38_72",Lge="_removeBtn_1ry38_72",Ige="_searchInput_1ry38_97",wge="_placeholder_1ry38_117",bge="_actions_1ry38_124",Cge="_clearBtn_1ry38_131",Nge="_chevron_1ry38_153",Sge="_chevronOpen_1ry38_159",jge="_dropdown_1ry38_163",$ge="_option_1ry38_177",qge="_noOptions_1ry38_189",Age="_overflowBlock_1ry38_196",zge="_overflowEllipsis_1ry38_203",Vge="_overflowBadge_1ry38_210",Pge="_overflowBadgeWrap_1ry38_233",Tge="_overflowDropdown_1ry38_239",Hge="_overflowDropdownItem_1ry38_255",Dge="_overflowDropdownItemLabel_1ry38_266",Bge="_overflowDropdownItemRemove_1ry38_273",J={container:kge,disabled:mge,selectBox:fge,selectBoxOpen:gge,tagsContainer:vge,tag:Mge,tagLabel:_ge,removeBtnContainer:xge,removeBtn:Lge,searchInput:Ige,placeholder:wge,actions:bge,clearBtn:Cge,chevron:Nge,chevronOpen:Sge,dropdown:jge,option:$ge,noOptions:qge,overflowBlock:Age,overflowEllipsis:zge,overflowBadge:Vge,overflowBadgeWrap:Pge,overflowDropdown:Tge,overflowDropdownItem:Hge,overflowDropdownItemLabel:Dge,overflowDropdownItemRemove:Bge},Rge=({options:e,noOptionsMessage:t="",value:n,onChange:o,placeholder:i="Sélectionner...",isSearchable:r=!0,className:s="",disabled:d=!1})=>{const[l,h]=k.useState(!1),[u,p]=k.useState(""),y=k.useRef(null),f=k.useRef(null),g=k.useRef(null),m=k.useRef(null),[_,M]=k.useState(null),[v,x]=k.useState(!1),C=k.useRef([]),w=k.useRef(null),b=k.useMemo(()=>{const $=new Map(e.map(V=>[V.value,V]));return n.map(V=>$.get(V)).filter(V=>V!==void 0)},[e,n]),L=k.useMemo(()=>e.filter($=>!n.includes($.value)),[e,n]),I=k.useMemo(()=>{let $=L;return u&&($=$.filter(V=>V.label.toLowerCase().includes(u.toLowerCase()))),$},[L,u]);k.useEffect(()=>{const $=V=>{const B=V.target;y.current&&!y.current.contains(B)&&(h(!1),p(""),M(null),x(!1))};return document.addEventListener("mousedown",$),()=>document.removeEventListener("mousedown",$)},[]),k.useEffect(()=>{if(b.length===0){M(null),C.current=[];return}b.length>C.current.length&&M(null);const $=()=>{const H=g.current,R=m.current;if(!H||!R)return;const Y=R.getBoundingClientRect().width,ae=R.querySelector(`.${J.actions}`),me=ae?ae.getBoundingClientRect().width:80,rt=56,fe=r?80:0,Ie=16,Z=Array.from(H.querySelectorAll(`.${J.tag}`));Z.length===b.length&&(C.current=Z.map(le=>{const be=le.getBoundingClientRect(),$e=le.scrollWidth;return Math.max(be.width,$e,le.offsetWidth||0)}));const X=C.current,re=X.length>0?X.reduce((le,be)=>le+be,0)/X.length:120,_e=b.length<=X.length?X.slice(0,b.length):[...X,...Array(b.length-X.length).fill(re)],ue=4,we=Math.max(0,Y-me-fe-Ie);let se=0,ge=0;for(let le=0;le<b.length;le++){const be=_e[le]??120;if(se+be+ue>we)break;se+=be+ue,ge++}if(ge>=b.length){M(null);return}const Ve=Math.max(0,Y-rt-me-fe-Ie);se=0;let je=0;for(let le=0;le<b.length;le++){const be=_e[le]??120;if(se+be+ue>Ve)break;se+=be+ue,je++}je<b.length&&je>0?M(je):M(null)},V=requestAnimationFrame(()=>{$()}),B=setTimeout($,100),W=new ResizeObserver(()=>{$()});return m.current&&W.observe(m.current),()=>{cancelAnimationFrame(V),clearTimeout(B),W.disconnect()}},[b,r,l]);const S=()=>{if(d)return;const $=!l;$&&x(!1),h($),$&&r&&setTimeout(()=>f.current?.focus(),0)},q=$=>{if(n.includes($.value))return;x(!1);const V=[...b,$];o(V),p(""),M(null),h(!1)},N=$=>{$.preventDefault(),$.stopPropagation(),x(V=>!V)},j=_!=null&&_<b.length?b.slice(_):[],T=($,V)=>{V.stopPropagation();const B=b.filter(W=>W.value!==$);o(B)},D=$=>{$.stopPropagation(),o([])},z=$=>{$.stopPropagation(),l||h(!0)};return c.jsxs("div",{className:`${J.container} ${s} ${d?J.disabled:""}`,ref:y,children:[c.jsxs("div",{ref:m,className:`${J.selectBox} ${l?J.selectBoxOpen:""}`,onClick:S,role:"combobox","aria-expanded":l,"aria-haspopup":"listbox",children:[c.jsxs("div",{className:J.tagsContainer,ref:g,children:[_!==null&&_>0?b.slice(0,_).map(($,V)=>c.jsxs("div",{className:J.tag,children:[c.jsx("div",{className:J.tagLabel,children:c.jsx("span",{children:$.label})}),c.jsx("div",{className:J.removeBtnContainer,children:c.jsx("button",{type:"button",className:J.removeBtn,onClick:B=>T($.value,B),"aria-label":`Supprimer ${$.label}`,children:c.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:c.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}-${V}`)):b.map(($,V)=>c.jsxs("div",{className:J.tag,children:[c.jsx("div",{className:J.tagLabel,children:c.jsx("span",{children:$.label})}),c.jsx("div",{className:J.removeBtnContainer,children:c.jsx("button",{type:"button",className:J.removeBtn,onClick:B=>T($.value,B),"aria-label":`Supprimer ${$.label}`,children:c.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:c.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}-${V}`)),r?c.jsx("input",{ref:f,type:"text",className:J.searchInput,placeholder:b.length===0?i:"",value:u,onChange:$=>{p($.target.value),l||h(!0)},onClick:z,disabled:d}):b.length===0&&c.jsx("span",{className:J.placeholder,children:i})]}),_!==null&&_<b.length&&c.jsxs("div",{className:J.overflowBlock,children:[c.jsx("span",{className:J.overflowEllipsis,children:"..."}),c.jsxs("div",{className:J.overflowBadgeWrap,children:[c.jsx("button",{ref:w,type:"button",className:J.overflowBadge,onClick:N,"aria-label":`Afficher ${j.length} éléments cachés`,children:j.length}),v&&j.length>0&&c.jsx("div",{className:J.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:j.map(($,V)=>c.jsxs("div",{className:J.overflowDropdownItem,children:[c.jsx("span",{className:J.overflowDropdownItemLabel,children:$.label}),c.jsx("button",{type:"button",className:J.overflowDropdownItemRemove,onClick:B=>{B.stopPropagation(),T($.value,B)},"aria-label":`Supprimer ${$.label}`,children:c.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:c.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}-${V}`))})]})]}),c.jsxs("div",{className:J.actions,children:[b.length>0&&c.jsx("button",{type:"button",className:J.clearBtn,onClick:D,"aria-label":"Effacer tout",children:c.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:c.jsx("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),c.jsx("svg",{className:`${J.chevron} ${l?J.chevronOpen:""}`,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M6 9l6 6 6-6"})})]})]}),l&&!d&&c.jsx("div",{className:J.dropdown,role:"listbox",children:I.length>0?I.map(($,V)=>c.jsx("div",{className:J.option,onClick:()=>q($),role:"option","aria-selected":!1,children:$.label},`opt-${$.value}-${V}`)):c.jsx("div",{className:J.noOptions,children:t})})]})},Fge="_container_h7jek_1",Ege={container:Fge},Oge=({labels:e=[],data:t=[],selectedUfs:n=[],icons:o=[],lastCardTextColor:i="black",boardColors:r={}})=>{const s=k.useMemo(()=>{const h=n.length===0?t:t.filter(p=>p&&n.includes(p.uf)),u=new Set;return h.filter(p=>!p||!p.uf||u.has(p.uf)?!1:(u.add(p.uf),!0))},[t,n]),d=k.useMemo(()=>s.reduce((h,u)=>({disponibles:h.disponibles+(u.totalAvailable??u.disponibles??0),homme:h.homme+(u.availableMen??u.disponibleHomme??0),femme:h.femme+(u.availableWomen??u.disponibleFemme??0),indifferencie:h.indifferencie+(u.availableIndifferentSex??u.indifferences??0),sorties:h.sorties+(u.outToday??u.sortie24??0)}),{disponibles:0,homme:0,femme:0,indifferencie:0,sorties:0}),[s]),l=h=>r.disponibles?r.disponibles:h>3?"#35994E":h>=1?"#EF6C00":"#C62828";return c.jsxs("div",{className:Ege.container,children:[c.jsx(xt,{label:e[0],value:d.disponibles.toLocaleString("fr-FR"),iconName:o[0],backgroundColor:l(d.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"}}),c.jsx(xt,{label:e[1],value:d.homme.toLocaleString("fr-FR"),iconName:o[1],backgroundColor:r.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"}}),c.jsx(xt,{label:e[2],value:d.femme.toLocaleString("fr-FR"),iconName:o[2],backgroundColor:r.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"}}),c.jsx(xt,{label:e[3],value:d.indifferencie.toLocaleString("fr-FR"),iconName:o[3],backgroundColor:r.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"}}),c.jsx(xt,{label:e[4],value:d.sorties.toLocaleString("fr-FR"),iconName:o[4],backgroundColor:r.sorties??"#F2F9FC",valueFontSize:"3rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:i,valueColor:i,titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}})]})},Uge=({message:e,icon:t,className:n,style:o,fontSize:i,fontWeight:r,color:s,backgroundColor:d="#f44336",onClick:l})=>c.jsxs("div",{className:n,onClick:l,style:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderRadius:"6px",backgroundColor:d,color:s,fontSize:i,fontWeight:r,cursor:l?"pointer":"default",...o},children:[t&&c.jsx("span",{style:{display:"flex",alignItems:"center",color:s},children:t}),c.jsx("span",{children:e})]});exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=oge;exports.AddItemModal=Ic;exports.Alert=Vb;exports.AlertMessage=Uge;exports.AlertsProvider=pke;exports.AnnouncementForm=yge;exports.BadgeList=ej;exports.BadgeRenderer=Lq;exports.Button=Ex;exports.ChartContainer=hke;exports.CheckboxInput=tq;exports.CircularProgress=Lw;exports.ColorInput=iq;exports.ComponentVisibilityManager=bw;exports.ComponentVisibilityToggle=Cme;exports.ConfirmationModal=J7e;exports.ConfirmationPopup=f3e;exports.CounterListBox=t3e;exports.CurrencyRenderer=bq;exports.DashboardSummary=cme;exports.DataBoard=xt;exports.DataFourBoards=Aq;exports.DateInput=oq;exports.DatePicker=b1;exports.DateRenderer=Iq;exports.DayStatCard=Pse;exports.DayStatCardV2=v6e;exports.DraggableProvider=Bse;exports.DraggableSwitcherButton=Ox;exports.DynamicForm=jye;exports.DynamicInput=rq;exports.EmailRenderer=_q;exports.Encours=gme;exports.EntryControl=Qke;exports.FileInput=nq;exports.FilterBar=ffe;exports.FiltreEtiquette=Rge;exports.FlexRowContainer=n3e;exports.Grid=nj;exports.Header=Wse;exports.HorizontalBarChart=M6e;exports.IconText=yj;exports.ImageRenderer=Cq;exports.IndicatorItemV2=a7e;exports.InfoBanner=g7e;exports.InputWrapper=rL;exports.LegendFilterProvider=Fse;exports.LegendFilterSwitcherButton=Ux;exports.LinkRenderer=xq;exports.ListContentContainer=o3e;exports.Logo=Xw;exports.MetricsPanel=jq;exports.ModuleHeader=Pke;exports.ModuleSideBar=Tke;exports.ModuleSideBarV2=E7e;exports.NavBar=oj;exports.NavBarV2=T6e;exports.NavItem=Iw;exports.NavItemV2=Pb;exports.NavProvider=Tse;exports.NumberRenderer=wq;exports.PeriodSelect=vke;exports.PopUp=H7e;exports.RadioInput=aq;exports.RangeInput=cq;exports.ScrollableHorizontale=kj;exports.SearchBar=qq;exports.Select=eL;exports.SelectFilter=Y3e;exports.SelectInput=$b;exports.SettingNavBar=F7e;exports.ShowDataProvider=Ese;exports.ShowDataSwitcherButton=Wx;exports.SideComponent=_ke;exports.SimpleListBox=e3e;exports.SubHeaderContent=J6e;exports.SubHeaderNavItem=Vq;exports.SubHeaderTitle=E6e;exports.SubNavBar=Gse;exports.SummaryAvailable=Oge;exports.SummaryCard=Sq;exports.Switcher=C1;exports.TableLayout=Pq;exports.TableauDynamique=Nq;exports.TableauDynamiqueSafePagination=f5e;exports.TableauxComponent=Pq;exports.TextInput=Q$;exports.TextRenderer=Mq;exports.TextareaInput=eq;exports.ThemeProvider=Hse;exports.ThemeSwitcher=Q6e;exports.ThemeSwitcherButton=ww;exports.Title=wke;exports.TranslationKey=Hke;exports.TranslationKeyV2=O7e;exports.TrendItem=mj;exports.TrendList=Fhe;exports.TrendListBox=a3e;exports.UserInfo=zq;exports.alertModels=kke;exports.getFormSchema=$ye;exports.hexToRgba=It;exports.registerRenderer=r5e;exports.tableConfig=Kw;exports.useAlerts=yke;exports.useBodyScrollLock=xke;exports.useConfirmationPopup=g3e;exports.useDraggableSwitcher=sj;exports.useFilters=gq;exports.useLegendFilterSwitcher=lj;exports.useNavigation=it;exports.useShowDataSwitcher=uj;exports.useTableData=vq;exports.useThemeContext=ij;exports.useThemeSwitcher=tL;exports.validateField=Qx;exports.validateForm=J$;
|
|
8180
|
+
`,style:{...be,backgroundColor:t===Q.value?I||"#F0F4F6":"transparent"},onMouseEnter:G=>{L&&(G.currentTarget.style.backgroundColor=L)},onMouseLeave:G=>{L&&(G.currentTarget.style.backgroundColor=t===Q.value?I||"#F0F4F6":"transparent")},role:"option","aria-selected":t===Q.value,children:c.jsxs("div",{className:ke.itemContent,style:$e,children:[Q.icon&&c.jsx("span",{className:ke.itemIcon,style:ge,children:Q.icon}),c.jsx("span",{className:ke.itemLabel,children:Q.label})]})},Q.value))})})]})},kfe="_filterBar_1hlqe_3",mfe="_label_1hlqe_11",YS={filterBar:kfe,label:mfe},ffe=({label:e="Filtres",startDate:t,endDate:n,granularity:o,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:_="#212529",labelMarginRight:M="1rem",startDateWidth:v,endDateWidth:x,selectWidth:C,datePickerProps:w={},selectProps:b={},rightContent:L,extraContent:I})=>{const S={fontSize:g,fontWeight:m,color:_,marginRight:M},j={gap:f};return c.jsxs("div",{className:`${YS.filterBar} ${p}`,style:j,children:[e&&c.jsx("span",{className:YS.label,style:S,children:e}),c.jsx(b1,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:v,...w}),c.jsx(b1,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:x,...w}),c.jsx(eL,{items:d,value:o,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:C,...b}),I,L&&c.jsx("div",{style:{marginLeft:"auto"},children:L})]})},gfe="_container_1x6mq_16",vfe="_disabled_1x6mq_26",Mfe="_predStyle_1x6mq_32",_fe="_realStyle_1x6mq_36",xfe="_predGap_1x6mq_40",Lfe="_realGap_1x6mq_44",Ife="_big_1x6mq_49",wfe="_medium_1x6mq_53",bfe="_iconWrapper_1x6mq_58",Cfe="_predRelative_1x6mq_68",Nfe="_realRelative_1x6mq_72",Sfe="_iconImg_1x6mq_76",jfe="_content_1x6mq_84",$fe="_header_1x6mq_93",qfe="_predJustify_1x6mq_99",Afe="_realJustify_1x6mq_103",zfe="_predHeaderLineHeight_1x6mq_116",Vfe="_realHeaderLineHeight_1x6mq_120",Pfe="_title_1x6mq_129",Tfe="_titleBlack_1x6mq_144",Hfe="_titleWhite_1x6mq_148",Dfe="_subtitle_1x6mq_153",Bfe="_valueRowHorizontal_1x6mq_163",Rfe="_valueRowVertical_1x6mq_171",Ffe="_singleValue_1x6mq_180",Efe="_primaryRow_1x6mq_184",Ofe="_maxBadge_1x6mq_191",Ufe="_valuePrimary_1x6mq_203",Wfe="_valuePrimaryBlack_1x6mq_210",Gfe="_valuePrimaryWhite_1x6mq_214",Zfe="_valueSlash_1x6mq_219",Kfe="_valueSecondary_1x6mq_226",Xfe="_valueSecondaryBlue_1x6mq_232",Yfe="_valueSecondaryWhite_1x6mq_236",Jfe="_valueSecondaryBlack_1x6mq_240",Qfe="_valueStacked_1x6mq_245",e7e="_stackedTop_1x6mq_254",t7e="_stackedBottom_1x6mq_255",ne={container:gfe,disabled:vfe,predStyle:Mfe,realStyle:_fe,predGap:xfe,realGap:Lfe,big:Ife,medium:wfe,iconWrapper:bfe,predRelative:Cfe,realRelative:Nfe,iconImg:Sfe,content:jfe,header:$fe,predJustify:qfe,realJustify:Afe,predHeaderLineHeight:zfe,realHeaderLineHeight:Vfe,title:Pfe,titleBlack:Tfe,titleWhite:Hfe,subtitle:Dfe,valueRowHorizontal:Bfe,valueRowVertical:Rfe,singleValue:Ffe,primaryRow:Efe,maxBadge:Ofe,valuePrimary:Ufe,valuePrimaryBlack:Wfe,valuePrimaryWhite:Gfe,valueSlash:Zfe,valueSecondary:Kfe,valueSecondaryBlue:Xfe,valueSecondaryWhite:Yfe,valueSecondaryBlack:Jfe,valueStacked:Qfe,stackedTop:e7e,stackedBottom:t7e},a7e=({iconName:e,title:t,subtitle:n,showSubtitle:o,realised:i="-",prediction:r="-",size:s="big",titleColor:d="black",valueColor:l="blue",realValueColor:h,className:u="",style:p="",variant:y="horizontal",showMax:f=!1,titleFontSize:g,titleFontWeight:m,subtitleFontSize:_,subtitleFontWeight:M,primaryFontSize:v,primaryFontWeight:x,secondaryFontSize:C,secondaryFontWeight:w,backgroundColor:b="#f2f9fc",gap:L="",disabled:I=!1,positionRelative:S="",justifyContent:j="",headerLineHeight:q="",headerMinHeight:A="",contentSpace:P=""})=>{const H=o!==void 0?o:!!n,z=`${ne.container} ${ne[s]} ${ne[p]} ${I?ne.disabled:""}`,N=l==="white"?ne.valuePrimaryWhite:ne.valuePrimaryBlack,V=l==="blue"?ne.valueSecondaryBlue:l==="white"?ne.valueSecondaryWhite:ne.valueSecondaryBlack,B=ae=>ae===void 0?void 0:typeof ae=="number"?`${ae}px`:ae,W=ae=>ae===void 0?void 0:ae,D=y==="vertical",R=r!=null&&r!==""&&r!=="-"&&r!=="—",Y=D?ne.valueRowVertical:ne.valueRowHorizontal;return c.jsxs("div",{className:`${z} ${u}`,style:{backgroundColor:b},children:[e&&c.jsx("div",{className:`${ne.iconWrapper} ${ne[S]}`,children:e}),c.jsxs("div",{className:`${ne.content} ${ne[L]} ${R?"":ne.singleValue} content-indicator-v2`,style:{justifyContent:P},children:[c.jsx("div",{className:`${ne.header} ${ne[j]} ${ne[q]} header-indicator-v2`,style:{minHeight:A},children:c.jsx("h6",{className:`${ne.title}`,style:{fontSize:B(g),fontWeight:W(m),color:d},children:t})}),H&&n?c.jsx("div",{className:"subtitle-container",children:c.jsx("span",{className:ne.subtitle,style:{fontSize:B(_),fontWeight:W(M)},children:n})}):null,c.jsxs("div",{className:`${Y} count-indicator-v2`,children:[c.jsxs("div",{className:ne.primaryRow,children:[f&&c.jsx("span",{className:`${ne.maxBadge} max-badge-indicator-v2`,children:"MAX"}),c.jsx("span",{className:`${ne.valuePrimary} ${N}`,style:{fontSize:B(v||(!R&&D?"1.75rem":void 0)),fontWeight:W(x),color:h||void 0},children:i})]}),R&&c.jsxs(c.Fragment,{children:[!D&&c.jsx("span",{className:ne.valueSlash,style:{fontSize:B(C),fontWeight:W(w)},children:"/"}),c.jsx("span",{className:`${ne.valueSecondary} ${V}`,style:{fontSize:B(C),fontWeight:W(w)},children:r})]})]})]})]})},n7e="_banner_f10in_2",o7e="_iep_f10in_14",c7e="_groupSmall_f10in_24",i7e="_genre_f10in_34",r7e="_gravite_f10in_42",s7e="_orientationContainer_f10in_48",d7e="_service_f10in_61",l7e="_roomBedContainer_f10in_71",h7e="_room_f10in_71",u7e="_bed_f10in_87",p7e="_bedUf_f10in_92",y7e="_statusContainer_f10in_97",k7e="_status_f10in_97",m7e="_centeredWarn_f10in_124",Ae={banner:n7e,iep:o7e,groupSmall:c7e,genre:i7e,gravite:r7e,orientationContainer:s7e,service:d7e,roomBedContainer:l7e,room:h7e,bed:u7e,bedUf:p7e,statusContainer:y7e,status:k7e,centeredWarn:m7e},f7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},K.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},K.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),K.createElement("g",{mask:"url(#a)"},K.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"}))),JS=k.memo(f7e),g7e=({patient:e,genre:t,gravite:n,bed:o,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:_=!1,warnMessage:M,warnColor:v="#F94134"})=>c.jsxs("div",{className:Ae.banner,style:{backgroundColor:l,...m},children:[c.jsxs("div",{className:Ae.iep,children:[c.jsx("div",{style:{color:u},children:e.iep??"--"}),c.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(/^./,x=>x.toUpperCase()),".(",e.age,")"]})]}),c.jsxs("div",{className:Ae.groupSmall,children:[c.jsx("span",{className:`${Ae.genre} genre-info-banner`,style:{color:"#ffffff",background:f,fontSize:g},children:t??"--"}),c.jsx("span",{className:`${Ae.gravite} gravite-info-banner`,children:n??"--"})]}),c.jsx("div",{className:Ae.orientationContainer,children:c.jsx("div",{className:Ae.service,style:{color:h},children:s??"--"})}),c.jsxs("div",{className:Ae.roomBedContainer,children:[i&&c.jsx("span",{className:Ae.bedUf,children:i}),c.jsx("span",{className:Ae.room,children:r??"--"}),c.jsx("span",{className:Ae.bed,children:o??"--"})]}),c.jsxs("div",{className:Ae.statusContainer,children:[d?c.jsx("div",{className:`${Ae.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):_&&c.jsxs("div",{className:Ae.centeredWarn,style:{textTransform:"uppercase"},children:[c.jsx(JS,{color:v,width:20,height:20,style:{marginRight:"6px"}}),c.jsx("span",{style:{color:v,fontSize:"12px",fontWeight:600},children:M})]}),d&&_&&c.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:v,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[c.jsx(JS,{color:v,width:12,height:12,style:{marginRight:"4px"}}),c.jsx("span",{children:M})]})]})]}),v7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),M7e=k.memo(v7e),_7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.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"})),x7e=k.memo(_7e),L7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),I7e=k.memo(L7e),w7e="_overlay_bd418_1",b7e="_container_bd418_21",C7e="_fullscreen_bd418_45",N7e="_header_bd418_57",S7e="_headerActions_bd418_81",j7e="_iconButton_bd418_91",$7e="_body_bd418_113",q7e="_sidebar_bd418_127",A7e="_content_bd418_175",z7e="_contentHeader_bd418_189",V7e="_childrenWrapper_bd418_221",P7e="_footer_bd418_269",T7e="_baseButton_bd418_285",Ce={overlay:w7e,container:b7e,fullscreen:C7e,header:N7e,headerActions:S7e,iconButton:j7e,body:$7e,sidebar:q7e,content:A7e,contentHeader:z7e,childrenWrapper:V7e,footer:P7e,baseButton:T7e},H7e=({headerText:e,headerTextColor:t="var(--color-text)",backgroundColor:n="var(--color-background)",headerFontSize:o="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:_,width:M="75%",maxWidth:v="none",height:x="85%",maxHeight:C="85%",borderRadius:w="0.5rem",childrenPadding:b="1rem",overflow:L="auto",contentHeaderAction:I,hideFooter:S=!1})=>{const[j,q]=k.useState(!1);if(!r)return null;const A=(P,H=!1)=>c.jsx(Ex,{onClick:P.onClick,className:Ce.baseButton,style:{background:P.backgroundColor??(H?"#008FBB":"#ffffff"),color:P.textColor??(H?"#ffffff":"#374151"),border:P.borderColor||H?"none":void 0},children:P.text});return c.jsx("div",{className:Ce.overlay,onClick:s,children:c.jsxs("div",{className:`${Ce.container} ${j?Ce.fullscreen:""}`,onClick:P=>P.stopPropagation(),style:{width:j?"100%":M,maxWidth:j?"none":v,height:j?"100%":x,maxHeight:j?"100%":C,borderRadius:j?"0":w,overflow:L},children:[!g&&c.jsxs("header",{className:Ce.header,style:{backgroundColor:n},children:[c.jsx("h2",{style:{fontSize:o,fontWeight:i,color:t},children:e}),c.jsxs("div",{className:Ce.headerActions,children:[!f&&c.jsx("button",{onClick:()=>q(!j),className:Ce.iconButton,title:j?"Réduire":"Agrandir",children:j?c.jsx(I7e,{width:22,height:22,fill:t}):c.jsx(M7e,{width:22,height:22,fill:t})}),c.jsx("button",{onClick:s,className:Ce.iconButton,title:"Fermer",children:c.jsx(x7e,{width:22,height:22,fill:t})})]})]}),c.jsxs("div",{className:Ce.body,style:{overflow:L},children:[y&&!m&&c.jsx("aside",{className:Ce.sidebar,children:y}),c.jsxs("main",{className:Ce.content,style:{backgroundColor:p,overflow:L},children:[u&&c.jsxs("header",{className:Ce.contentHeader,style:{backgroundColor:n},children:[c.jsx("span",{style:{color:t},children:u}),I]}),c.jsx("div",{className:Ce.childrenWrapper,style:{padding:b,overflow:L},children:h})]})]}),!S&&c.jsxs("footer",{className:Ce.footer,style:{backgroundColor:n},children:[_&&c.jsx(Ex,{onClick:_,className:Ce.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:"Supprimer"}),A(d),A(l,!0)]})]})})},D7e="_container_1vb1c_1",B7e="_searchWrapper_1vb1c_10",R7e="_navItems_1vb1c_17",xw={container:D7e,searchWrapper:B7e,navItems:R7e},F7e=({items:e,activeId:t,activeColor:n="#00aec7",backgroundColor:o="#fff",textColor:i="#000",onItemClick:r,searchValue:s="",onSearchChange:d,searchPlaceholder:l="Rechercher",width:h="100%",className:u=""})=>c.jsxs("div",{className:`${xw.container} ${u}`,style:{width:h,backgroundColor:o,color:i},children:[c.jsx("div",{className:xw.searchWrapper,children:c.jsx(qq,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),c.jsx("div",{className:xw.navItems,children:e.map(p=>c.jsx(Tb,{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))})]}),E7e=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:o,onEditModule:i,onDeleteModule:r,title:s="Modules"})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(null),p=()=>l(!0),y=()=>l(!1),f=v=>{const x=v.title?.trim();x&&o&&o(x),y()},g=(v,x)=>{v.stopPropagation(),u(x)},m=()=>u(null),_=v=>{const x=v.title?.trim();h&&x&&i&&i(h,x),m()},M=(v,x)=>{v.stopPropagation(),r&&r(x)};return c.jsxs("div",{className:"module-sidebar-v2",children:[c.jsxs("div",{className:"sidebar-header",children:[c.jsxs("div",{className:"header-title",children:[s," (",e.length,")"]}),c.jsx(Tc,{size:18,className:"add-view-icon",onClick:p})]}),c.jsx("div",{className:"module-list",children:e.map(v=>c.jsxs("div",{className:`module-item ${v.id===t?"selected":""}`,onClick:()=>n&&n(v),children:[v.icon||c.jsx(l1,{size:14,className:"drag-handle"}),c.jsxs("div",{className:"module-content",children:[c.jsx("div",{className:"module-title",children:v.title}),v.subtitle&&c.jsx("div",{className:"module-subtitle",children:v.subtitle})]}),typeof v.count<"u"&&c.jsx("span",{className:"module-count",children:v.count}),c.jsxs("div",{className:"module-actions",children:[c.jsx(lt,{size:12,className:"action-icon edit",onClick:x=>g(x,v)}),c.jsx(bt,{size:12,className:"action-icon delete",onClick:x=>M(x,v)})]})]},v.id))}),c.jsx(Ic,{isOpen:d,onClose:y,onSave:f,title:"Ajouter un module",fields:[{name:"title",label:"Titre",placeholder:"Nom du module"}]}),h&&c.jsx(Ic,{isOpen:!!h,onClose:m,onSave:_,title:"Renommer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Nom du module"}]})]})},O7e=({keyName:e,translations:t,availableLanguages:n,onChange:o,onRename:i,onDelete:r})=>{const[s,d]=k.useState(!1),[l,h]=k.useState(e),[u,p]=k.useState(null),[y,f]=k.useState(""),[g,m]=k.useState(!1),[_,M]=k.useState(""),[v,x]=k.useState(""),C=k.useMemo(()=>{const z={};return Array.isArray(t)&&t.forEach(N=>{N&&N.language&&(z[N.language.toUpperCase()]=N.value)}),z},[t]),w=k.useMemo(()=>n,[n]),b=()=>{d(!1),l!==e&&l.trim()!==""?i&&i(l.trim()):h(e)},L=z=>{z.key==="Enter"?b():z.key==="Escape"&&(h(e),d(!1))},I=z=>{const N=z.toUpperCase();p(N),f(C[N]||"")},S=()=>{u&&(o(u,y),p(null),f(""))},j=z=>{z.key==="Enter"?S():z.key==="Escape"&&(p(null),f(""))},q=()=>{m(!0),w.length>0&&M(w[0].toUpperCase()),x("")},A=()=>{_&&v.trim()&&(o(_,v.trim()),m(!1),M(""),x(""))},P=()=>{m(!1),M(""),x("")},H=z=>{z.key==="Enter"?A():z.key==="Escape"&&P()};return c.jsxs("div",{className:"translation-key-v2",children:[c.jsxs("div",{className:"header",children:[s?c.jsx("input",{className:"key-name-input",value:l,onChange:z=>h(z.target.value),onBlur:b,onKeyDown:L,autoFocus:!0}):c.jsx("h3",{className:"header-title",children:e}),c.jsxs("div",{className:"header-actions",children:[c.jsx(lt,{size:16,className:"action-icon edit",onClick:()=>d(!0)}),c.jsx(bt,{size:16,className:"action-icon delete",onClick:r})]})]}),c.jsxs("div",{className:"translations-list",children:[n.map(z=>{const N=z.toUpperCase(),V=C[N]||"",B=u===N;return c.jsxs("div",{className:"lang-row",children:[c.jsx("div",{className:"lang-label",children:N}),B?c.jsx("input",{className:"translation-input editing",value:y,onChange:W=>f(W.target.value),onBlur:S,onKeyDown:j,placeholder:"Entrez la traduction...",autoFocus:!0}):c.jsx("div",{className:`translation-value ${V?"":"empty"}`,onClick:()=>I(z),title:"Cliquer pour éditer",children:V||"Cliquer pour ajouter..."})]},z)}),g?c.jsxs("div",{className:"lang-row add-row",children:[c.jsx("select",{className:"lang-select",value:_,onChange:z=>M(z.target.value),children:w.map(z=>c.jsx("option",{value:z.toUpperCase(),children:z.toUpperCase()},z))}),c.jsx("input",{className:"translation-input editing",value:v,onChange:z=>x(z.target.value),onKeyDown:H,placeholder:"Mot",autoFocus:!0}),c.jsxs("div",{className:"add-actions",children:[c.jsx(c1,{size:18,className:"action-icon confirm",onClick:A}),c.jsx(Ke,{size:18,className:"action-icon cancel",onClick:P})]})]}):w.length>0&&c.jsxs("button",{className:"add-translation-btn",onClick:q,children:[c.jsx(Dc,{size:16}),c.jsx("span",{children:"Ajouter"})]})]})]})},U7e="_overlay_1jz4r_1",W7e="_modal_1jz4r_15",G7e="_body_1jz4r_27",Z7e="_footer_1jz4r_46",K7e="_confirmButton_1jz4r_55",X7e="_danger_1jz4r_75",Y7e="_cancelButton_1jz4r_83",$t={overlay:U7e,modal:W7e,body:G7e,footer:Z7e,confirmButton:K7e,danger:X7e,cancelButton:Y7e},J7e=({isOpen:e,message:t,onConfirm:n,onCancel:o,confirmText:i="Confirmer",cancelText:r="Annuler",isDanger:s=!1,hideFooter:d=!1})=>e?c.jsx("div",{className:$t.overlay,onClick:o,children:c.jsxs("div",{className:$t.modal,onClick:l=>l.stopPropagation(),children:[c.jsx("div",{className:$t.body,children:typeof t=="string"?c.jsx("p",{children:t}):t}),!d&&c.jsxs("div",{className:$t.footer,children:[c.jsx("button",{className:`${$t.confirmButton} ${s?$t.danger:""}`,onClick:n,children:i}),c.jsx("button",{className:$t.cancelButton,onClick:o,children:r})]})]})}):null,Q7e="_card_1ildr_1",ege="_topIcon_1ildr_17",tge="_title_1ildr_24",age="_text_1ildr_31",nge="_bottomIcon_1ildr_37",Jc={card:Q7e,topIcon:ege,title:tge,text:age,bottomIcon:nge},oge=({topIcon:e,title:t,text:n,bottomIcon:o,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:l="#fff"})=>c.jsxs("div",{className:`${Jc.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},children:[e&&c.jsx("div",{className:Jc.topIcon,children:e}),c.jsx("h3",{className:Jc.title,style:{color:s},children:t}),c.jsx("p",{className:Jc.text,style:{color:d},children:n}),o&&c.jsx("div",{className:Jc.bottomIcon,children:o})]}),cge=[{label:"Mobile",value:"Mobile"},{label:"WebApp",value:"WebApp"}],ige=[{label:"Annonce",value:"Annonce"},{label:"New",value:"New"},{label:"Urgences",value:"Urgences"}],QS={interfaces:cge,screens:ige},rge="_container_eem5s_1",sge="_fieldGroup_eem5s_5",dge="_label_eem5s_9",lge="_input_eem5s_16",hge="_textarea_eem5s_30",uge="_row_eem5s_36",pge="_col_eem5s_42",Le={container:rge,fieldGroup:sge,label:dge,input:lge,textarea:hge,row:uge,col:pge},yge=({initialData:e,onChange:t,texts:n={}})=>{const[o,i]=k.useState({title:"",message:"",target_interface:"Mobile",target_screen:"Annonce",published_at:new Date,expired_at:null});k.useEffect(()=>{e&&i({...e,published_at:e.published_at?new Date(e.published_at):new Date,expired_at:e.expired_at?new Date(e.expired_at):null})},[e]);const r=(s,d)=>{const l={...o,[s]:d};i(l),t(l)};return c.jsxs("div",{className:Le.container,children:[c.jsxs("div",{className:Le.fieldGroup,children:[c.jsx("label",{className:Le.label,children:n.titleLabel}),c.jsx("input",{className:Le.input,type:"text",value:o.title,onChange:s=>r("title",s.target.value),placeholder:n.titlePlaceholder,required:!0})]}),c.jsxs("div",{className:Le.fieldGroup,children:[c.jsx("label",{className:Le.label,children:n.messageLabel}),c.jsx("textarea",{className:`${Le.input} ${Le.textarea}`,value:o.message,onChange:s=>r("message",s.target.value),placeholder:n.messagePlaceholder,required:!0})]}),c.jsxs("div",{className:Le.row,children:[c.jsx("div",{className:Le.col,children:c.jsx(eL,{label:n.interfaceLabel,items:QS.interfaces,value:o.target_interface,onChange:s=>r("target_interface",s),dropdownPosition:"bottom",fontSize:"0.75rem",borderRadius:"0.25rem",required:!0})}),c.jsx("div",{className:Le.col,children:c.jsx(eL,{label:n.screenLabel,items:QS.screens,value:o.target_screen,onChange:s=>r("target_screen",s),dropdownPosition:"bottom",fontSize:"0.75rem",borderRadius:"0.25rem",required:!0})})]}),c.jsxs("div",{className:Le.row,children:[c.jsxs("div",{className:Le.col,children:[c.jsx("label",{className:Le.label,children:n.publishedAtLabel}),c.jsx("div",{style:{width:"100%"},children:c.jsx(b1,{value:o.published_at,fontSize:"0.75rem",withBorder:!0,onChange:s=>r("published_at",s),placeholder:n.publishedAtPlaceholder,dropdownPosition:"top",dropdownWidth:"auto"})})]}),c.jsxs("div",{className:Le.col,children:[c.jsx("label",{className:Le.label,children:n.expiredAtLabel}),c.jsx("div",{style:{width:"100%"},children:c.jsx(b1,{value:o.expired_at,fontSize:"0.75rem",withBorder:!0,onChange:s=>r("expired_at",s),placeholder:n.expiredAtPlaceholder,dropdownPosition:"top",dropdownWidth:"auto"})})]})]})]})},kge="_container_1ry38_1",mge="_disabled_1ry38_9",fge="_selectBox_1ry38_14",gge="_selectBoxOpen_1ry38_36",vge="_tagsContainer_1ry38_41",Mge="_tag_1ry38_41",_ge="_tagLabel_1ry38_66",xge="_removeBtnContainer_1ry38_72",Lge="_removeBtn_1ry38_72",Ige="_searchInput_1ry38_97",wge="_placeholder_1ry38_117",bge="_actions_1ry38_124",Cge="_clearBtn_1ry38_131",Nge="_chevron_1ry38_153",Sge="_chevronOpen_1ry38_159",jge="_dropdown_1ry38_163",$ge="_option_1ry38_177",qge="_noOptions_1ry38_189",Age="_overflowBlock_1ry38_196",zge="_overflowEllipsis_1ry38_203",Vge="_overflowBadge_1ry38_210",Pge="_overflowBadgeWrap_1ry38_233",Tge="_overflowDropdown_1ry38_239",Hge="_overflowDropdownItem_1ry38_255",Dge="_overflowDropdownItemLabel_1ry38_266",Bge="_overflowDropdownItemRemove_1ry38_273",J={container:kge,disabled:mge,selectBox:fge,selectBoxOpen:gge,tagsContainer:vge,tag:Mge,tagLabel:_ge,removeBtnContainer:xge,removeBtn:Lge,searchInput:Ige,placeholder:wge,actions:bge,clearBtn:Cge,chevron:Nge,chevronOpen:Sge,dropdown:jge,option:$ge,noOptions:qge,overflowBlock:Age,overflowEllipsis:zge,overflowBadge:Vge,overflowBadgeWrap:Pge,overflowDropdown:Tge,overflowDropdownItem:Hge,overflowDropdownItemLabel:Dge,overflowDropdownItemRemove:Bge},Rge=({options:e,noOptionsMessage:t="",value:n,onChange:o,placeholder:i="Sélectionner...",isSearchable:r=!0,className:s="",disabled:d=!1})=>{const[l,h]=k.useState(!1),[u,p]=k.useState(""),y=k.useRef(null),f=k.useRef(null),g=k.useRef(null),m=k.useRef(null),[_,M]=k.useState(null),[v,x]=k.useState(!1),C=k.useRef([]),w=k.useRef(null),b=k.useMemo(()=>{const N=new Map(e.map(V=>[V.value,V]));return n.map(V=>N.get(V)).filter(V=>V!==void 0)},[e,n]),L=k.useMemo(()=>e.filter(N=>!n.includes(N.value)),[e,n]),I=k.useMemo(()=>{let N=L;return u&&(N=N.filter(V=>V.label.toLowerCase().includes(u.toLowerCase()))),N},[L,u]);k.useEffect(()=>{const N=V=>{const B=V.target;y.current&&!y.current.contains(B)&&(h(!1),p(""),M(null),x(!1))};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]),k.useEffect(()=>{if(b.length===0){M(null),C.current=[];return}b.length>C.current.length&&M(null);const N=()=>{const D=g.current,R=m.current;if(!D||!R)return;const Y=R.getBoundingClientRect().width,ae=R.querySelector(`.${J.actions}`),me=ae?ae.getBoundingClientRect().width:80,rt=56,fe=r?80:0,Ie=16,Z=Array.from(D.querySelectorAll(`.${J.tag}`));Z.length===b.length&&(C.current=Z.map(le=>{const be=le.getBoundingClientRect(),$e=le.scrollWidth;return Math.max(be.width,$e,le.offsetWidth||0)}));const X=C.current,re=X.length>0?X.reduce((le,be)=>le+be,0)/X.length:120,_e=b.length<=X.length?X.slice(0,b.length):[...X,...Array(b.length-X.length).fill(re)],ue=4,we=Math.max(0,Y-me-fe-Ie);let se=0,ge=0;for(let le=0;le<b.length;le++){const be=_e[le]??120;if(se+be+ue>we)break;se+=be+ue,ge++}if(ge>=b.length){M(null);return}const Ve=Math.max(0,Y-rt-me-fe-Ie);se=0;let je=0;for(let le=0;le<b.length;le++){const be=_e[le]??120;if(se+be+ue>Ve)break;se+=be+ue,je++}je<b.length&&je>0?M(je):M(null)},V=requestAnimationFrame(()=>{N()}),B=setTimeout(N,100),W=new ResizeObserver(()=>{N()});return m.current&&W.observe(m.current),()=>{cancelAnimationFrame(V),clearTimeout(B),W.disconnect()}},[b,r,l]);const S=()=>{if(d)return;const N=!l;N&&x(!1),h(N),N&&r&&setTimeout(()=>f.current?.focus(),0)},j=N=>{if(n.includes(N.value))return;x(!1);const V=[...b,N];o(V),p(""),M(null),h(!1)},q=N=>{N.preventDefault(),N.stopPropagation(),x(V=>!V)},A=_!=null&&_<b.length?b.slice(_):[],P=(N,V)=>{V.stopPropagation();const B=b.filter(W=>W.value!==N);o(B)},H=N=>{N.stopPropagation(),o([])},z=N=>{N.stopPropagation(),l||h(!0)};return c.jsxs("div",{className:`${J.container} ${s} ${d?J.disabled:""}`,ref:y,children:[c.jsxs("div",{ref:m,className:`${J.selectBox} ${l?J.selectBoxOpen:""}`,onClick:S,role:"combobox","aria-expanded":l,"aria-haspopup":"listbox",children:[c.jsxs("div",{className:J.tagsContainer,ref:g,children:[_!==null&&_>0?b.slice(0,_).map((N,V)=>c.jsxs("div",{className:J.tag,children:[c.jsx("div",{className:J.tagLabel,children:c.jsx("span",{children:N.label})}),c.jsx("div",{className:J.removeBtnContainer,children:c.jsx("button",{type:"button",className:J.removeBtn,onClick:B=>P(N.value,B),"aria-label":`Supprimer ${N.label}`,children:c.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:c.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${N.value}-${V}`)):b.map((N,V)=>c.jsxs("div",{className:J.tag,children:[c.jsx("div",{className:J.tagLabel,children:c.jsx("span",{children:N.label})}),c.jsx("div",{className:J.removeBtnContainer,children:c.jsx("button",{type:"button",className:J.removeBtn,onClick:B=>P(N.value,B),"aria-label":`Supprimer ${N.label}`,children:c.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:c.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${N.value}-${V}`)),r?c.jsx("input",{ref:f,type:"text",className:J.searchInput,placeholder:b.length===0?i:"",value:u,onChange:N=>{p(N.target.value),l||h(!0)},onClick:z,disabled:d}):b.length===0&&c.jsx("span",{className:J.placeholder,children:i})]}),_!==null&&_<b.length&&c.jsxs("div",{className:J.overflowBlock,children:[c.jsx("span",{className:J.overflowEllipsis,children:"..."}),c.jsxs("div",{className:J.overflowBadgeWrap,children:[c.jsx("button",{ref:w,type:"button",className:J.overflowBadge,onClick:q,"aria-label":`Afficher ${A.length} éléments cachés`,children:A.length}),v&&A.length>0&&c.jsx("div",{className:J.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:A.map((N,V)=>c.jsxs("div",{className:J.overflowDropdownItem,children:[c.jsx("span",{className:J.overflowDropdownItemLabel,children:N.label}),c.jsx("button",{type:"button",className:J.overflowDropdownItemRemove,onClick:B=>{B.stopPropagation(),P(N.value,B)},"aria-label":`Supprimer ${N.label}`,children:c.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:c.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]},`hidden-${N.value}-${V}`))})]})]}),c.jsxs("div",{className:J.actions,children:[b.length>0&&c.jsx("button",{type:"button",className:J.clearBtn,onClick:H,"aria-label":"Effacer tout",children:c.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:c.jsx("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),c.jsx("svg",{className:`${J.chevron} ${l?J.chevronOpen:""}`,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M6 9l6 6 6-6"})})]})]}),l&&!d&&c.jsx("div",{className:J.dropdown,role:"listbox",children:I.length>0?I.map((N,V)=>c.jsx("div",{className:J.option,onClick:()=>j(N),role:"option","aria-selected":!1,children:N.label},`opt-${N.value}-${V}`)):c.jsx("div",{className:J.noOptions,children:t})})]})},Fge="_container_h7jek_1",Ege={container:Fge},Oge=({labels:e=[],data:t=[],selectedUfs:n=[],icons:o=[],lastCardTextColor:i="black",boardColors:r={}})=>{const s=k.useMemo(()=>{const h=n.length===0?t:t.filter(p=>p&&n.includes(p.uf)),u=new Set;return h.filter(p=>!p||!p.uf||u.has(p.uf)?!1:(u.add(p.uf),!0))},[t,n]),d=k.useMemo(()=>s.reduce((h,u)=>({disponibles:h.disponibles+(u.totalAvailable??u.disponibles??0),homme:h.homme+(u.availableMen??u.disponibleHomme??0),femme:h.femme+(u.availableWomen??u.disponibleFemme??0),indifferencie:h.indifferencie+(u.availableIndifferentSex??u.indifferences??0),sorties:h.sorties+(u.outToday??u.sortie24??0)}),{disponibles:0,homme:0,femme:0,indifferencie:0,sorties:0}),[s]),l=h=>r.disponibles?r.disponibles:h>3?"#35994E":h>=1?"#EF6C00":"#C62828";return c.jsxs("div",{className:Ege.container,children:[c.jsx(xt,{label:e[0],value:d.disponibles.toLocaleString("fr-FR"),iconName:o[0],backgroundColor:l(d.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"}}),c.jsx(xt,{label:e[1],value:d.homme.toLocaleString("fr-FR"),iconName:o[1],backgroundColor:r.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"}}),c.jsx(xt,{label:e[2],value:d.femme.toLocaleString("fr-FR"),iconName:o[2],backgroundColor:r.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"}}),c.jsx(xt,{label:e[3],value:d.indifferencie.toLocaleString("fr-FR"),iconName:o[3],backgroundColor:r.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"}}),c.jsx(xt,{label:e[4],value:d.sorties.toLocaleString("fr-FR"),iconName:o[4],backgroundColor:r.sorties??"#F2F9FC",valueFontSize:"3rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:i,valueColor:i,titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}})]})},Uge=({message:e,icon:t,className:n,style:o,fontSize:i,fontWeight:r,color:s,backgroundColor:d="#f44336",onClick:l})=>c.jsxs("div",{className:n,onClick:l,style:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderRadius:"6px",backgroundColor:d,color:s,fontSize:i,fontWeight:r,cursor:l?"pointer":"default",...o},children:[t&&c.jsx("span",{style:{display:"flex",alignItems:"center",color:s},children:t}),c.jsx("span",{children:e})]});exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=oge;exports.AddItemModal=Ic;exports.Alert=Pb;exports.AlertMessage=Uge;exports.AlertsProvider=pke;exports.AnnouncementForm=yge;exports.BadgeList=ej;exports.BadgeRenderer=Lq;exports.Button=Ex;exports.ChartContainer=hke;exports.CheckboxInput=tq;exports.CircularProgress=Lw;exports.ColorInput=iq;exports.ComponentVisibilityManager=bw;exports.ComponentVisibilityToggle=Cme;exports.ConfirmationModal=J7e;exports.ConfirmationPopup=f3e;exports.CounterListBox=t3e;exports.CurrencyRenderer=bq;exports.DashboardSummary=cme;exports.DataBoard=xt;exports.DataFourBoards=Aq;exports.DateInput=oq;exports.DatePicker=b1;exports.DateRenderer=Iq;exports.DayStatCard=Pse;exports.DayStatCardV2=v6e;exports.DraggableProvider=Bse;exports.DraggableSwitcherButton=Ox;exports.DynamicForm=jye;exports.DynamicInput=rq;exports.EmailRenderer=_q;exports.Encours=gme;exports.EntryControl=Qke;exports.FileInput=nq;exports.FilterBar=ffe;exports.FiltreEtiquette=Rge;exports.FlexRowContainer=n3e;exports.Grid=nj;exports.Header=Wse;exports.HorizontalBarChart=M6e;exports.IconText=yj;exports.ImageRenderer=Cq;exports.IndicatorItemV2=a7e;exports.InfoBanner=g7e;exports.InputWrapper=rL;exports.LegendFilterProvider=Fse;exports.LegendFilterSwitcherButton=Ux;exports.LinkRenderer=xq;exports.ListContentContainer=o3e;exports.Logo=Yw;exports.MetricsPanel=jq;exports.ModuleHeader=Pke;exports.ModuleSideBar=Tke;exports.ModuleSideBarV2=E7e;exports.NavBar=oj;exports.NavBarV2=T6e;exports.NavItem=Iw;exports.NavItemV2=Tb;exports.NavProvider=Tse;exports.NumberRenderer=wq;exports.PeriodSelect=vke;exports.PopUp=H7e;exports.RadioInput=aq;exports.RangeInput=cq;exports.ScrollableHorizontale=kj;exports.SearchBar=qq;exports.Select=eL;exports.SelectFilter=Y3e;exports.SelectInput=qb;exports.SettingNavBar=F7e;exports.ShowDataProvider=Ese;exports.ShowDataSwitcherButton=Wx;exports.SideComponent=_ke;exports.SimpleListBox=e3e;exports.SubHeaderContent=J6e;exports.SubHeaderNavItem=Vq;exports.SubHeaderTitle=E6e;exports.SubNavBar=Gse;exports.SummaryAvailable=Oge;exports.SummaryCard=Sq;exports.Switcher=C1;exports.TableLayout=Pq;exports.TableauDynamique=Nq;exports.TableauDynamiqueSafePagination=f5e;exports.TableauxComponent=Pq;exports.TextInput=Q$;exports.TextRenderer=Mq;exports.TextareaInput=eq;exports.ThemeProvider=Hse;exports.ThemeSwitcher=Q6e;exports.ThemeSwitcherButton=ww;exports.Title=wke;exports.TranslationKey=Hke;exports.TranslationKeyV2=O7e;exports.TrendItem=mj;exports.TrendList=Fhe;exports.TrendListBox=a3e;exports.UserInfo=zq;exports.alertModels=kke;exports.getFormSchema=$ye;exports.hexToRgba=It;exports.registerRenderer=r5e;exports.tableConfig=Kw;exports.useAlerts=yke;exports.useBodyScrollLock=xke;exports.useConfirmationPopup=g3e;exports.useDraggableSwitcher=sj;exports.useFilters=gq;exports.useLegendFilterSwitcher=lj;exports.useNavigation=it;exports.useShowDataSwitcher=uj;exports.useTableData=vq;exports.useThemeContext=ij;exports.useThemeSwitcher=tL;exports.validateField=Qx;exports.validateForm=J$;
|