@tsiky/components-r19 6.1.51 → 6.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +16 -16
- package/dist/index.js +901 -900
- package/dist/src/components/PopUp/PopUp.d.ts +1 -0
- package/dist/src/components/PopUp/PopUp.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -8158,7 +8158,7 @@
|
|
|
8158
8158
|
*
|
|
8159
8159
|
* This source code is licensed under the ISC license.
|
|
8160
8160
|
* See the LICENSE file in the root directory of this source tree.
|
|
8161
|
-
*/const Mt=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:si,AArrowDownIcon:si,AArrowUp:di,AArrowUpIcon:di,ALargeSmall:li,ALargeSmallIcon:li,Accessibility:_1,AccessibilityIcon:_1,Activity:L1,ActivityIcon:L1,ActivitySquare:$t,ActivitySquareIcon:$t,AirVent:hi,AirVentIcon:hi,Airplay:ui,AirplayIcon:ui,AlarmCheck:Ot,AlarmCheckIcon:Ot,AlarmClock:yi,AlarmClockCheck:Ot,AlarmClockCheckIcon:Ot,AlarmClockIcon:yi,AlarmClockMinus:Ut,AlarmClockMinusIcon:Ut,AlarmClockOff:pi,AlarmClockOffIcon:pi,AlarmClockPlus:Wt,AlarmClockPlusIcon:Wt,AlarmMinus:Ut,AlarmMinusIcon:Ut,AlarmPlus:Wt,AlarmPlusIcon:Wt,AlarmSmoke:ki,AlarmSmokeIcon:ki,Album:mi,AlbumIcon:mi,AlertCircle:Ma,AlertCircleIcon:Ma,AlertOctagon:En,AlertOctagonIcon:En,AlertTriangle:yc,AlertTriangleIcon:yc,AlignCenter:_i,AlignCenterHorizontal:fi,AlignCenterHorizontalIcon:fi,AlignCenterIcon:_i,AlignCenterVertical:gi,AlignCenterVerticalIcon:gi,AlignEndHorizontal:vi,AlignEndHorizontalIcon:vi,AlignEndVertical:Mi,AlignEndVerticalIcon:Mi,AlignHorizontalDistributeCenter:xi,AlignHorizontalDistributeCenterIcon:xi,AlignHorizontalDistributeEnd:Li,AlignHorizontalDistributeEndIcon:Li,AlignHorizontalDistributeStart:Ii,AlignHorizontalDistributeStartIcon:Ii,AlignHorizontalJustifyCenter:bi,AlignHorizontalJustifyCenterIcon:bi,AlignHorizontalJustifyEnd:wi,AlignHorizontalJustifyEndIcon:wi,AlignHorizontalJustifyStart:Ci,AlignHorizontalJustifyStartIcon:Ci,AlignHorizontalSpaceAround:Ni,AlignHorizontalSpaceAroundIcon:Ni,AlignHorizontalSpaceBetween:Si,AlignHorizontalSpaceBetweenIcon:Si,AlignJustify:ji,AlignJustifyIcon:ji,AlignLeft:$i,AlignLeftIcon:$i,AlignRight:qi,AlignRightIcon:qi,AlignStartHorizontal:Ai,AlignStartHorizontalIcon:Ai,AlignStartVertical:zi,AlignStartVerticalIcon:zi,AlignVerticalDistributeCenter:Pi,AlignVerticalDistributeCenterIcon:Pi,AlignVerticalDistributeEnd:Vi,AlignVerticalDistributeEndIcon:Vi,AlignVerticalDistributeStart:Hi,AlignVerticalDistributeStartIcon:Hi,AlignVerticalJustifyCenter:Ti,AlignVerticalJustifyCenterIcon:Ti,AlignVerticalJustifyEnd:Di,AlignVerticalJustifyEndIcon:Di,AlignVerticalJustifyStart:Bi,AlignVerticalJustifyStartIcon:Bi,AlignVerticalSpaceAround:Fi,AlignVerticalSpaceAroundIcon:Fi,AlignVerticalSpaceBetween:Ri,AlignVerticalSpaceBetweenIcon:Ri,Ambulance:Ei,AmbulanceIcon:Ei,Ampersand:Oi,AmpersandIcon:Oi,Ampersands:Ui,AmpersandsIcon:Ui,Amphora:Wi,AmphoraIcon:Wi,Anchor:Gi,AnchorIcon:Gi,Angry:Ki,AngryIcon:Ki,Annoyed:Zi,AnnoyedIcon:Zi,Antenna:Xi,AntennaIcon:Xi,Anvil:Yi,AnvilIcon:Yi,Aperture:Ji,ApertureIcon:Ji,AppWindow:er,AppWindowIcon:er,AppWindowMac:Qi,AppWindowMacIcon:Qi,Apple:tr,AppleIcon:tr,Archive:or,ArchiveIcon:or,ArchiveRestore:ar,ArchiveRestoreIcon:ar,ArchiveX:nr,ArchiveXIcon:nr,AreaChart:ra,AreaChartIcon:ra,Armchair:cr,ArmchairIcon:cr,ArrowBigDown:rr,ArrowBigDownDash:ir,ArrowBigDownDashIcon:ir,ArrowBigDownIcon:rr,ArrowBigLeft:dr,ArrowBigLeftDash:sr,ArrowBigLeftDashIcon:sr,ArrowBigLeftIcon:dr,ArrowBigRight:hr,ArrowBigRightDash:lr,ArrowBigRightDashIcon:lr,ArrowBigRightIcon:hr,ArrowBigUp:pr,ArrowBigUpDash:ur,ArrowBigUpDashIcon:ur,ArrowBigUpIcon:pr,ArrowDown:Jc,ArrowDown01:yr,ArrowDown01Icon:yr,ArrowDown10:kr,ArrowDown10Icon:kr,ArrowDownAZ:Gt,ArrowDownAZIcon:Gt,ArrowDownAz:Gt,ArrowDownAzIcon:Gt,ArrowDownCircle:xa,ArrowDownCircleIcon:xa,ArrowDownFromLine:mr,ArrowDownFromLineIcon:mr,ArrowDownIcon:Jc,ArrowDownLeft:fr,ArrowDownLeftFromCircle:La,ArrowDownLeftFromCircleIcon:La,ArrowDownLeftFromSquare:fo,ArrowDownLeftFromSquareIcon:fo,ArrowDownLeftIcon:fr,ArrowDownLeftSquare:po,ArrowDownLeftSquareIcon:po,ArrowDownNarrowWide:gr,ArrowDownNarrowWideIcon:gr,ArrowDownRight:vr,ArrowDownRightFromCircle:Ia,ArrowDownRightFromCircleIcon:Ia,ArrowDownRightFromSquare:go,ArrowDownRightFromSquareIcon:go,ArrowDownRightIcon:vr,ArrowDownRightSquare:yo,ArrowDownRightSquareIcon:yo,ArrowDownSquare:ko,ArrowDownSquareIcon:ko,ArrowDownToDot:Mr,ArrowDownToDotIcon:Mr,ArrowDownToLine:xr,ArrowDownToLineIcon:xr,ArrowDownUp:_r,ArrowDownUpIcon:_r,ArrowDownWideNarrow:Kt,ArrowDownWideNarrowIcon:Kt,ArrowDownZA:Zt,ArrowDownZAIcon:Zt,ArrowDownZa:Zt,ArrowDownZaIcon:Zt,ArrowLeft:I1,ArrowLeftCircle:_a,ArrowLeftCircleIcon:_a,ArrowLeftFromLine:Lr,ArrowLeftFromLineIcon:Lr,ArrowLeftIcon:I1,ArrowLeftRight:Ir,ArrowLeftRightIcon:Ir,ArrowLeftSquare:mo,ArrowLeftSquareIcon:mo,ArrowLeftToLine:br,ArrowLeftToLineIcon:br,ArrowRight:jr,ArrowRightCircle:Ca,ArrowRightCircleIcon:Ca,ArrowRightFromLine:wr,ArrowRightFromLineIcon:wr,ArrowRightIcon:jr,ArrowRightLeft:Cr,ArrowRightLeftIcon:Cr,ArrowRightSquare:xo,ArrowRightSquareIcon:xo,ArrowRightToLine:Nr,ArrowRightToLineIcon:Nr,ArrowUp:Qc,ArrowUp01:Sr,ArrowUp01Icon:Sr,ArrowUp10:$r,ArrowUp10Icon:$r,ArrowUpAZ:Xt,ArrowUpAZIcon:Xt,ArrowUpAz:Xt,ArrowUpAzIcon:Xt,ArrowUpCircle:Na,ArrowUpCircleIcon:Na,ArrowUpDown:qr,ArrowUpDownIcon:qr,ArrowUpFromDot:Ar,ArrowUpFromDotIcon:Ar,ArrowUpFromLine:zr,ArrowUpFromLineIcon:zr,ArrowUpIcon:Qc,ArrowUpLeft:Vr,ArrowUpLeftFromCircle:ba,ArrowUpLeftFromCircleIcon:ba,ArrowUpLeftFromSquare:vo,ArrowUpLeftFromSquareIcon:vo,ArrowUpLeftIcon:Vr,ArrowUpLeftSquare:_o,ArrowUpLeftSquareIcon:_o,ArrowUpNarrowWide:Yt,ArrowUpNarrowWideIcon:Yt,ArrowUpRight:Pr,ArrowUpRightFromCircle:wa,ArrowUpRightFromCircleIcon:wa,ArrowUpRightFromSquare:Mo,ArrowUpRightFromSquareIcon:Mo,ArrowUpRightIcon:Pr,ArrowUpRightSquare:Lo,ArrowUpRightSquareIcon:Lo,ArrowUpSquare:Io,ArrowUpSquareIcon:Io,ArrowUpToLine:Tr,ArrowUpToLineIcon:Tr,ArrowUpWideNarrow:Hr,ArrowUpWideNarrowIcon:Hr,ArrowUpZA:Jt,ArrowUpZAIcon:Jt,ArrowUpZa:Jt,ArrowUpZaIcon:Jt,ArrowsUpFromLine:Dr,ArrowsUpFromLineIcon:Dr,Asterisk:Br,AsteriskIcon:Br,AsteriskSquare:bo,AsteriskSquareIcon:bo,AtSign:Rr,AtSignIcon:Rr,Atom:Fr,AtomIcon:Fr,AudioLines:Er,AudioLinesIcon:Er,AudioWaveform:Or,AudioWaveformIcon:Or,Award:Ur,AwardIcon:Ur,Axe:Wr,AxeIcon:Wr,Axis3D:Qt,Axis3DIcon:Qt,Axis3d:Qt,Axis3dIcon:Qt,Baby:Gr,BabyIcon:Gr,Backpack:Kr,BackpackIcon:Kr,Badge:ls,BadgeAlert:Zr,BadgeAlertIcon:Zr,BadgeCent:Xr,BadgeCentIcon:Xr,BadgeCheck:ea,BadgeCheckIcon:ea,BadgeDollarSign:Yr,BadgeDollarSignIcon:Yr,BadgeEuro:Jr,BadgeEuroIcon:Jr,BadgeHelp:ta,BadgeHelpIcon:ta,BadgeIcon:ls,BadgeIndianRupee:Qr,BadgeIndianRupeeIcon:Qr,BadgeInfo:es,BadgeInfoIcon:es,BadgeJapaneseYen:as,BadgeJapaneseYenIcon:as,BadgeMinus:ts,BadgeMinusIcon:ts,BadgePercent:ns,BadgePercentIcon:ns,BadgePlus:os,BadgePlusIcon:os,BadgePoundSterling:cs,BadgePoundSterlingIcon:cs,BadgeQuestionMark:ta,BadgeQuestionMarkIcon:ta,BadgeRussianRuble:is,BadgeRussianRubleIcon:is,BadgeSwissFranc:rs,BadgeSwissFrancIcon:rs,BadgeTurkishLira:ss,BadgeTurkishLiraIcon:ss,BadgeX:ds,BadgeXIcon:ds,BaggageClaim:hs,BaggageClaimIcon:hs,Ban:us,BanIcon:us,Banana:ps,BananaIcon:ps,Bandage:ys,BandageIcon:ys,Banknote:gs,BanknoteArrowDown:ks,BanknoteArrowDownIcon:ks,BanknoteArrowUp:ms,BanknoteArrowUpIcon:ms,BanknoteIcon:gs,BanknoteX:fs,BanknoteXIcon:fs,BarChart:ka,BarChart2:ma,BarChart2Icon:ma,BarChart3:pa,BarChart3Icon:pa,BarChart4:ua,BarChart4Icon:ua,BarChartBig:ha,BarChartBigIcon:ha,BarChartHorizontal:da,BarChartHorizontalBig:sa,BarChartHorizontalBigIcon:sa,BarChartHorizontalIcon:da,BarChartIcon:ka,Barcode:vs,BarcodeIcon:vs,Barrel:Ms,BarrelIcon:Ms,Baseline:xs,BaselineIcon:xs,Bath:_s,BathIcon:_s,Battery:js,BatteryCharging:Ls,BatteryChargingIcon:Ls,BatteryFull:Is,BatteryFullIcon:Is,BatteryIcon:js,BatteryLow:bs,BatteryLowIcon:bs,BatteryMedium:ws,BatteryMediumIcon:ws,BatteryPlus:Cs,BatteryPlusIcon:Cs,BatteryWarning:Ns,BatteryWarningIcon:Ns,Beaker:Ss,BeakerIcon:Ss,Bean:qs,BeanIcon:qs,BeanOff:$s,BeanOffIcon:$s,Bed:Vs,BedDouble:As,BedDoubleIcon:As,BedIcon:Vs,BedSingle:zs,BedSingleIcon:zs,Beef:Ps,BeefIcon:Ps,Beer:Hs,BeerIcon:Hs,BeerOff:Ts,BeerOffIcon:Ts,Bell:Os,BellDot:Ds,BellDotIcon:Ds,BellElectric:Bs,BellElectricIcon:Bs,BellIcon:Os,BellMinus:Rs,BellMinusIcon:Rs,BellOff:Fs,BellOffIcon:Fs,BellPlus:Es,BellPlusIcon:Es,BellRing:Us,BellRingIcon:Us,BetweenHorizonalEnd:aa,BetweenHorizonalEndIcon:aa,BetweenHorizonalStart:na,BetweenHorizonalStartIcon:na,BetweenHorizontalEnd:aa,BetweenHorizontalEndIcon:aa,BetweenHorizontalStart:na,BetweenHorizontalStartIcon:na,BetweenVerticalEnd:Gs,BetweenVerticalEndIcon:Gs,BetweenVerticalStart:Ws,BetweenVerticalStartIcon:Ws,BicepsFlexed:Ks,BicepsFlexedIcon:Ks,Bike:Xs,BikeIcon:Xs,Binary:Zs,BinaryIcon:Zs,Binoculars:Ys,BinocularsIcon:Ys,Biohazard:Js,BiohazardIcon:Js,Bird:Qs,BirdIcon:Qs,Bitcoin:e2,BitcoinIcon:e2,Blend:t2,BlendIcon:t2,Blinds:a2,BlindsIcon:a2,Blocks:n2,BlocksIcon:n2,Bluetooth:r2,BluetoothConnected:o2,BluetoothConnectedIcon:o2,BluetoothIcon:r2,BluetoothOff:c2,BluetoothOffIcon:c2,BluetoothSearching:i2,BluetoothSearchingIcon:i2,Bold:s2,BoldIcon:s2,Bolt:d2,BoltIcon:d2,Bomb:l2,BombIcon:l2,Bone:h2,BoneIcon:h2,Book:V2,BookA:u2,BookAIcon:u2,BookAlert:p2,BookAlertIcon:p2,BookAudio:y2,BookAudioIcon:y2,BookCheck:k2,BookCheckIcon:k2,BookCopy:m2,BookCopyIcon:m2,BookDashed:oa,BookDashedIcon:oa,BookDown:f2,BookDownIcon:f2,BookHeadphones:g2,BookHeadphonesIcon:g2,BookHeart:v2,BookHeartIcon:v2,BookIcon:V2,BookImage:M2,BookImageIcon:M2,BookKey:x2,BookKeyIcon:x2,BookLock:_2,BookLockIcon:_2,BookMarked:I2,BookMarkedIcon:I2,BookMinus:L2,BookMinusIcon:L2,BookOpen:C2,BookOpenCheck:b2,BookOpenCheckIcon:b2,BookOpenIcon:C2,BookOpenText:w2,BookOpenTextIcon:w2,BookPlus:N2,BookPlusIcon:N2,BookTemplate:oa,BookTemplateIcon:oa,BookText:j2,BookTextIcon:j2,BookType:S2,BookTypeIcon:S2,BookUp:q2,BookUp2:$2,BookUp2Icon:$2,BookUpIcon:q2,BookUser:A2,BookUserIcon:A2,BookX:z2,BookXIcon:z2,Bookmark:B2,BookmarkCheck:P2,BookmarkCheckIcon:P2,BookmarkIcon:B2,BookmarkMinus:T2,BookmarkMinusIcon:T2,BookmarkPlus:H2,BookmarkPlusIcon:H2,BookmarkX:D2,BookmarkXIcon:D2,BoomBox:R2,BoomBoxIcon:R2,Bot:O2,BotIcon:O2,BotMessageSquare:F2,BotMessageSquareIcon:F2,BotOff:E2,BotOffIcon:E2,BottleWine:U2,BottleWineIcon:U2,BowArrow:W2,BowArrowIcon:W2,Box:G2,BoxIcon:G2,BoxSelect:Po,BoxSelectIcon:Po,Boxes:K2,BoxesIcon:K2,Braces:ca,BracesIcon:ca,Brackets:Z2,BracketsIcon:Z2,Brain:J2,BrainCircuit:X2,BrainCircuitIcon:X2,BrainCog:Y2,BrainCogIcon:Y2,BrainIcon:J2,BrickWall:td,BrickWallFire:Q2,BrickWallFireIcon:Q2,BrickWallIcon:td,BrickWallShield:ed,BrickWallShieldIcon:ed,Briefcase:cd,BriefcaseBusiness:ad,BriefcaseBusinessIcon:ad,BriefcaseConveyorBelt:nd,BriefcaseConveyorBeltIcon:nd,BriefcaseIcon:cd,BriefcaseMedical:od,BriefcaseMedicalIcon:od,BringToFront:id,BringToFrontIcon:id,Brush:sd,BrushCleaning:rd,BrushCleaningIcon:rd,BrushIcon:sd,Bubbles:dd,BubblesIcon:dd,Bug:pd,BugIcon:pd,BugOff:ld,BugOffIcon:ld,BugPlay:hd,BugPlayIcon:hd,Building:yd,Building2:ud,Building2Icon:ud,BuildingIcon:yd,Bus:md,BusFront:kd,BusFrontIcon:kd,BusIcon:md,Cable:gd,CableCar:fd,CableCarIcon:fd,CableIcon:gd,Cake:Md,CakeIcon:Md,CakeSlice:vd,CakeSliceIcon:vd,Calculator:xd,CalculatorIcon:xd,Calendar:b1,Calendar1:_d,Calendar1Icon:_d,CalendarArrowDown:Ld,CalendarArrowDownIcon:Ld,CalendarArrowUp:Id,CalendarArrowUpIcon:Id,CalendarCheck:wd,CalendarCheck2:bd,CalendarCheck2Icon:bd,CalendarCheckIcon:wd,CalendarClock:Cd,CalendarClockIcon:Cd,CalendarCog:Nd,CalendarCogIcon:Nd,CalendarDays:jd,CalendarDaysIcon:jd,CalendarFold:Sd,CalendarFoldIcon:Sd,CalendarHeart:$d,CalendarHeartIcon:$d,CalendarIcon:b1,CalendarMinus:Ad,CalendarMinus2:qd,CalendarMinus2Icon:qd,CalendarMinusIcon:Ad,CalendarOff:zd,CalendarOffIcon:zd,CalendarPlus:Pd,CalendarPlus2:Vd,CalendarPlus2Icon:Vd,CalendarPlusIcon:Pd,CalendarRange:Td,CalendarRangeIcon:Td,CalendarSearch:Hd,CalendarSearchIcon:Hd,CalendarSync:Dd,CalendarSyncIcon:Dd,CalendarX:Rd,CalendarX2:Bd,CalendarX2Icon:Bd,CalendarXIcon:Rd,Camera:Ed,CameraIcon:Ed,CameraOff:Fd,CameraOffIcon:Fd,CandlestickChart:la,CandlestickChartIcon:la,Candy:Wd,CandyCane:Od,CandyCaneIcon:Od,CandyIcon:Wd,CandyOff:Ud,CandyOffIcon:Ud,Cannabis:Gd,CannabisIcon:Gd,Captions:ia,CaptionsIcon:ia,CaptionsOff:Kd,CaptionsOffIcon:Kd,Car:Yd,CarFront:Zd,CarFrontIcon:Zd,CarIcon:Yd,CarTaxiFront:Xd,CarTaxiFrontIcon:Xd,Caravan:Jd,CaravanIcon:Jd,CardSim:Qd,CardSimIcon:Qd,Carrot:e0,CarrotIcon:e0,CaseLower:t0,CaseLowerIcon:t0,CaseSensitive:a0,CaseSensitiveIcon:a0,CaseUpper:n0,CaseUpperIcon:n0,CassetteTape:o0,CassetteTapeIcon:o0,Cast:c0,CastIcon:c0,Castle:r0,CastleIcon:r0,Cat:i0,CatIcon:i0,Cctv:s0,CctvIcon:s0,ChartArea:ra,ChartAreaIcon:ra,ChartBar:da,ChartBarBig:sa,ChartBarBigIcon:sa,ChartBarDecreasing:d0,ChartBarDecreasingIcon:d0,ChartBarIcon:da,ChartBarIncreasing:l0,ChartBarIncreasingIcon:l0,ChartBarStacked:h0,ChartBarStackedIcon:h0,ChartCandlestick:la,ChartCandlestickIcon:la,ChartColumn:pa,ChartColumnBig:ha,ChartColumnBigIcon:ha,ChartColumnDecreasing:u0,ChartColumnDecreasingIcon:u0,ChartColumnIcon:pa,ChartColumnIncreasing:ua,ChartColumnIncreasingIcon:ua,ChartColumnStacked:p0,ChartColumnStackedIcon:p0,ChartGantt:y0,ChartGanttIcon:y0,ChartLine:ya,ChartLineIcon:ya,ChartNetwork:k0,ChartNetworkIcon:k0,ChartNoAxesColumn:ma,ChartNoAxesColumnDecreasing:m0,ChartNoAxesColumnDecreasingIcon:m0,ChartNoAxesColumnIcon:ma,ChartNoAxesColumnIncreasing:ka,ChartNoAxesColumnIncreasingIcon:ka,ChartNoAxesCombined:f0,ChartNoAxesCombinedIcon:f0,ChartNoAxesGantt:fa,ChartNoAxesGanttIcon:fa,ChartPie:ga,ChartPieIcon:ga,ChartScatter:va,ChartScatterIcon:va,ChartSpline:g0,ChartSplineIcon:g0,Check:w1,CheckCheck:v0,CheckCheckIcon:v0,CheckCircle:ja,CheckCircle2:Sa,CheckCircle2Icon:Sa,CheckCircleIcon:ja,CheckIcon:w1,CheckLine:M0,CheckLineIcon:M0,CheckSquare:Co,CheckSquare2:No,CheckSquare2Icon:No,CheckSquareIcon:Co,ChefHat:x0,ChefHatIcon:x0,Cherry:_0,CherryIcon:_0,ChevronDown:zt,ChevronDownCircle:$a,ChevronDownCircleIcon:$a,ChevronDownIcon:zt,ChevronDownSquare:jo,ChevronDownSquareIcon:jo,ChevronFirst:L0,ChevronFirstIcon:L0,ChevronLast:I0,ChevronLastIcon:I0,ChevronLeft:b0,ChevronLeftCircle:qa,ChevronLeftCircleIcon:qa,ChevronLeftIcon:b0,ChevronLeftSquare:So,ChevronLeftSquareIcon:So,ChevronRight:C1,ChevronRightCircle:Aa,ChevronRightCircleIcon:Aa,ChevronRightIcon:C1,ChevronRightSquare:$o,ChevronRightSquareIcon:$o,ChevronUp:qc,ChevronUpCircle:za,ChevronUpCircleIcon:za,ChevronUpIcon:qc,ChevronUpSquare:qo,ChevronUpSquareIcon:qo,ChevronsDown:C0,ChevronsDownIcon:C0,ChevronsDownUp:w0,ChevronsDownUpIcon:w0,ChevronsLeft:j0,ChevronsLeftIcon:j0,ChevronsLeftRight:N0,ChevronsLeftRightEllipsis:S0,ChevronsLeftRightEllipsisIcon:S0,ChevronsLeftRightIcon:N0,ChevronsRight:q0,ChevronsRightIcon:q0,ChevronsRightLeft:$0,ChevronsRightLeftIcon:$0,ChevronsUp:A0,ChevronsUpDown:e1,ChevronsUpDownIcon:e1,ChevronsUpIcon:A0,Chrome:z0,ChromeIcon:z0,Church:V0,ChurchIcon:V0,Cigarette:T0,CigaretteIcon:T0,CigaretteOff:P0,CigaretteOffIcon:P0,Circle:Y0,CircleAlert:Ma,CircleAlertIcon:Ma,CircleArrowDown:xa,CircleArrowDownIcon:xa,CircleArrowLeft:_a,CircleArrowLeftIcon:_a,CircleArrowOutDownLeft:La,CircleArrowOutDownLeftIcon:La,CircleArrowOutDownRight:Ia,CircleArrowOutDownRightIcon:Ia,CircleArrowOutUpLeft:ba,CircleArrowOutUpLeftIcon:ba,CircleArrowOutUpRight:wa,CircleArrowOutUpRightIcon:wa,CircleArrowRight:Ca,CircleArrowRightIcon:Ca,CircleArrowUp:Na,CircleArrowUpIcon:Na,CircleCheck:Sa,CircleCheckBig:ja,CircleCheckBigIcon:ja,CircleCheckIcon:Sa,CircleChevronDown:$a,CircleChevronDownIcon:$a,CircleChevronLeft:qa,CircleChevronLeftIcon:qa,CircleChevronRight:Aa,CircleChevronRightIcon:Aa,CircleChevronUp:za,CircleChevronUpIcon:za,CircleDashed:H0,CircleDashedIcon:H0,CircleDivide:Va,CircleDivideIcon:Va,CircleDollarSign:B0,CircleDollarSignIcon:B0,CircleDot:R0,CircleDotDashed:D0,CircleDotDashedIcon:D0,CircleDotIcon:R0,CircleEllipsis:F0,CircleEllipsisIcon:F0,CircleEqual:E0,CircleEqualIcon:E0,CircleFadingArrowUp:U0,CircleFadingArrowUpIcon:U0,CircleFadingPlus:O0,CircleFadingPlusIcon:O0,CircleGauge:Pa,CircleGaugeIcon:Pa,CircleHelp:it,CircleHelpIcon:it,CircleIcon:Y0,CircleMinus:Ta,CircleMinusIcon:Ta,CircleOff:W0,CircleOffIcon:W0,CircleParking:Ba,CircleParkingIcon:Ba,CircleParkingOff:Ha,CircleParkingOffIcon:Ha,CirclePause:Da,CirclePauseIcon:Da,CirclePercent:Ra,CirclePercentIcon:Ra,CirclePlay:Fa,CirclePlayIcon:Fa,CirclePlus:Ea,CirclePlusIcon:Ea,CirclePoundSterling:G0,CirclePoundSterlingIcon:G0,CirclePower:Oa,CirclePowerIcon:Oa,CircleQuestionMark:it,CircleQuestionMarkIcon:it,CircleSlash:K0,CircleSlash2:Ua,CircleSlash2Icon:Ua,CircleSlashIcon:K0,CircleSlashed:Ua,CircleSlashedIcon:Ua,CircleSmall:Z0,CircleSmallIcon:Z0,CircleStar:X0,CircleStarIcon:X0,CircleStop:Wa,CircleStopIcon:Wa,CircleUser:Ka,CircleUserIcon:Ka,CircleUserRound:Ga,CircleUserRoundIcon:Ga,CircleX:Nt,CircleXIcon:Nt,CircuitBoard:J0,CircuitBoardIcon:J0,Citrus:Q0,CitrusIcon:Q0,Clapperboard:el,ClapperboardIcon:el,Clipboard:ll,ClipboardCheck:tl,ClipboardCheckIcon:tl,ClipboardClock:al,ClipboardClockIcon:al,ClipboardCopy:nl,ClipboardCopyIcon:nl,ClipboardEdit:Xa,ClipboardEditIcon:Xa,ClipboardIcon:ll,ClipboardList:ol,ClipboardListIcon:ol,ClipboardMinus:cl,ClipboardMinusIcon:cl,ClipboardPaste:il,ClipboardPasteIcon:il,ClipboardPen:Xa,ClipboardPenIcon:Xa,ClipboardPenLine:Za,ClipboardPenLineIcon:Za,ClipboardPlus:rl,ClipboardPlusIcon:rl,ClipboardSignature:Za,ClipboardSignatureIcon:Za,ClipboardType:sl,ClipboardTypeIcon:sl,ClipboardX:dl,ClipboardXIcon:dl,Clock:Nl,Clock1:ul,Clock10:hl,Clock10Icon:hl,Clock11:pl,Clock11Icon:pl,Clock12:yl,Clock12Icon:yl,Clock1Icon:ul,Clock2:kl,Clock2Icon:kl,Clock3:ml,Clock3Icon:ml,Clock4:fl,Clock4Icon:fl,Clock5:gl,Clock5Icon:gl,Clock6:vl,Clock6Icon:vl,Clock7:Ml,Clock7Icon:Ml,Clock8:xl,Clock8Icon:xl,Clock9:_l,Clock9Icon:_l,ClockAlert:Ll,ClockAlertIcon:Ll,ClockArrowDown:Il,ClockArrowDownIcon:Il,ClockArrowUp:bl,ClockArrowUpIcon:bl,ClockFading:wl,ClockFadingIcon:wl,ClockIcon:Nl,ClockPlus:Cl,ClockPlusIcon:Cl,ClosedCaption:jl,ClosedCaptionIcon:jl,Cloud:Ul,CloudAlert:Sl,CloudAlertIcon:Sl,CloudCheck:$l,CloudCheckIcon:$l,CloudCog:ql,CloudCogIcon:ql,CloudDownload:Ya,CloudDownloadIcon:Ya,CloudDrizzle:Al,CloudDrizzleIcon:Al,CloudFog:zl,CloudFogIcon:zl,CloudHail:Vl,CloudHailIcon:Vl,CloudIcon:Ul,CloudLightning:Pl,CloudLightningIcon:Pl,CloudMoon:Hl,CloudMoonIcon:Hl,CloudMoonRain:Tl,CloudMoonRainIcon:Tl,CloudOff:Dl,CloudOffIcon:Dl,CloudRain:Rl,CloudRainIcon:Rl,CloudRainWind:Bl,CloudRainWindIcon:Bl,CloudSnow:Fl,CloudSnowIcon:Fl,CloudSun:Ol,CloudSunIcon:Ol,CloudSunRain:El,CloudSunRainIcon:El,CloudUpload:Ja,CloudUploadIcon:Ja,Cloudy:Wl,CloudyIcon:Wl,Clover:Gl,CloverIcon:Gl,Club:Kl,ClubIcon:Kl,Code:Zl,Code2:Qa,Code2Icon:Qa,CodeIcon:Zl,CodeSquare:Ao,CodeSquareIcon:Ao,CodeXml:Qa,CodeXmlIcon:Qa,Codepen:Xl,CodepenIcon:Xl,Codesandbox:Yl,CodesandboxIcon:Yl,Coffee:Jl,CoffeeIcon:Jl,Cog:Ql,CogIcon:Ql,Coins:eh,CoinsIcon:eh,Columns:en,Columns2:en,Columns2Icon:en,Columns3:tn,Columns3Cog:rt,Columns3CogIcon:rt,Columns3Icon:tn,Columns4:th,Columns4Icon:th,ColumnsIcon:en,ColumnsSettings:rt,ColumnsSettingsIcon:rt,Combine:ah,CombineIcon:ah,Command:nh,CommandIcon:nh,Compass:oh,CompassIcon:oh,Component:ch,ComponentIcon:ch,Computer:ih,ComputerIcon:ih,ConciergeBell:rh,ConciergeBellIcon:rh,Cone:sh,ConeIcon:sh,Construction:dh,ConstructionIcon:dh,Contact:lh,Contact2:an,Contact2Icon:an,ContactIcon:lh,ContactRound:an,ContactRoundIcon:an,Container:hh,ContainerIcon:hh,Contrast:ph,ContrastIcon:ph,Cookie:uh,CookieIcon:uh,CookingPot:kh,CookingPotIcon:kh,Copy:Mh,CopyCheck:yh,CopyCheckIcon:yh,CopyIcon:Mh,CopyMinus:mh,CopyMinusIcon:mh,CopyPlus:fh,CopyPlusIcon:fh,CopySlash:gh,CopySlashIcon:gh,CopyX:vh,CopyXIcon:vh,Copyleft:xh,CopyleftIcon:xh,Copyright:_h,CopyrightIcon:_h,CornerDownLeft:Lh,CornerDownLeftIcon:Lh,CornerDownRight:Ih,CornerDownRightIcon:Ih,CornerLeftDown:bh,CornerLeftDownIcon:bh,CornerLeftUp:wh,CornerLeftUpIcon:wh,CornerRightDown:Ch,CornerRightDownIcon:Ch,CornerRightUp:Nh,CornerRightUpIcon:Nh,CornerUpLeft:jh,CornerUpLeftIcon:jh,CornerUpRight:Sh,CornerUpRightIcon:Sh,Cpu:$h,CpuIcon:$h,CreativeCommons:qh,CreativeCommonsIcon:qh,CreditCard:Ah,CreditCardIcon:Ah,Croissant:zh,CroissantIcon:zh,Crop:Vh,CropIcon:Vh,Cross:Ph,CrossIcon:Ph,Crosshair:Th,CrosshairIcon:Th,Crown:Hh,CrownIcon:Hh,Cuboid:Dh,CuboidIcon:Dh,CupSoda:Bh,CupSodaIcon:Bh,CurlyBraces:ca,CurlyBracesIcon:ca,Currency:Rh,CurrencyIcon:Rh,Cylinder:Fh,CylinderIcon:Fh,Dam:Eh,DamIcon:Eh,Database:Wh,DatabaseBackup:Oh,DatabaseBackupIcon:Oh,DatabaseIcon:Wh,DatabaseZap:Uh,DatabaseZapIcon:Uh,DecimalsArrowLeft:Gh,DecimalsArrowLeftIcon:Gh,DecimalsArrowRight:Kh,DecimalsArrowRightIcon:Kh,Delete:Zh,DeleteIcon:Zh,Dessert:Xh,DessertIcon:Xh,Diameter:Yh,DiameterIcon:Yh,Diamond:eu,DiamondIcon:eu,DiamondMinus:Jh,DiamondMinusIcon:Jh,DiamondPercent:nn,DiamondPercentIcon:nn,DiamondPlus:Qh,DiamondPlusIcon:Qh,Dice1:tu,Dice1Icon:tu,Dice2:au,Dice2Icon:au,Dice3:nu,Dice3Icon:nu,Dice4:ou,Dice4Icon:ou,Dice5:cu,Dice5Icon:cu,Dice6:iu,Dice6Icon:iu,Dices:ru,DicesIcon:ru,Diff:su,DiffIcon:su,Disc:uu,Disc2:du,Disc2Icon:du,Disc3:lu,Disc3Icon:lu,DiscAlbum:hu,DiscAlbumIcon:hu,DiscIcon:uu,Divide:pu,DivideCircle:Va,DivideCircleIcon:Va,DivideIcon:pu,DivideSquare:To,DivideSquareIcon:To,Dna:ku,DnaIcon:ku,DnaOff:yu,DnaOffIcon:yu,Dock:mu,DockIcon:mu,Dog:fu,DogIcon:fu,DollarSign:gu,DollarSignIcon:gu,Donut:vu,DonutIcon:vu,DoorClosed:xu,DoorClosedIcon:xu,DoorClosedLocked:Mu,DoorClosedLockedIcon:Mu,DoorOpen:_u,DoorOpenIcon:_u,Dot:Lu,DotIcon:Lu,DotSquare:Do,DotSquareIcon:Do,Download:bu,DownloadCloud:Ya,DownloadCloudIcon:Ya,DownloadIcon:bu,DraftingCompass:Iu,DraftingCompassIcon:Iu,Drama:wu,DramaIcon:wu,Dribbble:Cu,DribbbleIcon:Cu,Drill:Nu,DrillIcon:Nu,Drone:ju,DroneIcon:ju,Droplet:$u,DropletIcon:$u,DropletOff:Su,DropletOffIcon:Su,Droplets:qu,DropletsIcon:qu,Drum:Au,DrumIcon:Au,Drumstick:zu,DrumstickIcon:zu,Dumbbell:Vu,DumbbellIcon:Vu,Ear:Tu,EarIcon:Tu,EarOff:Pu,EarOffIcon:Pu,Earth:on,EarthIcon:on,EarthLock:Hu,EarthLockIcon:Hu,Eclipse:Du,EclipseIcon:Du,Edit:Fe,Edit2:gt,Edit2Icon:gt,Edit3:ft,Edit3Icon:ft,EditIcon:Fe,Egg:Fu,EggFried:Bu,EggFriedIcon:Bu,EggIcon:Fu,EggOff:Ru,EggOffIcon:Ru,Ellipsis:rn,EllipsisIcon:rn,EllipsisVertical:cn,EllipsisVerticalIcon:cn,Equal:Uu,EqualApproximately:Eu,EqualApproximatelyIcon:Eu,EqualIcon:Uu,EqualNot:Ou,EqualNotIcon:Ou,EqualSquare:Ho,EqualSquareIcon:Ho,Eraser:Wu,EraserIcon:Wu,EthernetPort:Gu,EthernetPortIcon:Gu,Euro:Ku,EuroIcon:Ku,Expand:Xu,ExpandIcon:Xu,ExternalLink:Zu,ExternalLinkIcon:Zu,Eye:j1,EyeClosed:Yu,EyeClosedIcon:Yu,EyeIcon:j1,EyeOff:N1,EyeOffIcon:N1,Facebook:Ju,FacebookIcon:Ju,Factory:Qu,FactoryIcon:Qu,Fan:ep,FanIcon:ep,FastForward:tp,FastForwardIcon:tp,Feather:ap,FeatherIcon:ap,Fence:np,FenceIcon:np,FerrisWheel:op,FerrisWheelIcon:op,Figma:cp,FigmaIcon:cp,File:Qp,FileArchive:ip,FileArchiveIcon:ip,FileAudio:sp,FileAudio2:rp,FileAudio2Icon:rp,FileAudioIcon:sp,FileAxis3D:sn,FileAxis3DIcon:sn,FileAxis3d:sn,FileAxis3dIcon:sn,FileBadge:hp,FileBadge2:dp,FileBadge2Icon:dp,FileBadgeIcon:hp,FileBarChart:dn,FileBarChart2:ln,FileBarChart2Icon:ln,FileBarChartIcon:dn,FileBox:lp,FileBoxIcon:lp,FileChartColumn:ln,FileChartColumnIcon:ln,FileChartColumnIncreasing:dn,FileChartColumnIncreasingIcon:dn,FileChartLine:hn,FileChartLineIcon:hn,FileChartPie:un,FileChartPieIcon:un,FileCheck:pp,FileCheck2:up,FileCheck2Icon:up,FileCheckIcon:pp,FileClock:yp,FileClockIcon:yp,FileCode:kp,FileCode2:mp,FileCode2Icon:mp,FileCodeIcon:kp,FileCog:pn,FileCog2:pn,FileCog2Icon:pn,FileCogIcon:pn,FileDiff:fp,FileDiffIcon:fp,FileDigit:gp,FileDigitIcon:gp,FileDown:vp,FileDownIcon:vp,FileEdit:kn,FileEditIcon:kn,FileHeart:Mp,FileHeartIcon:Mp,FileIcon:Qp,FileImage:xp,FileImageIcon:xp,FileInput:_p,FileInputIcon:_p,FileJson:Ip,FileJson2:Lp,FileJson2Icon:Lp,FileJsonIcon:Ip,FileKey:wp,FileKey2:bp,FileKey2Icon:bp,FileKeyIcon:wp,FileLineChart:hn,FileLineChartIcon:hn,FileLock:Np,FileLock2:Cp,FileLock2Icon:Cp,FileLockIcon:Np,FileMinus:Sp,FileMinus2:jp,FileMinus2Icon:jp,FileMinusIcon:Sp,FileMusic:$p,FileMusicIcon:$p,FileOutput:qp,FileOutputIcon:qp,FilePen:kn,FilePenIcon:kn,FilePenLine:yn,FilePenLineIcon:yn,FilePieChart:un,FilePieChartIcon:un,FilePlay:mn,FilePlayIcon:mn,FilePlus:zp,FilePlus2:Ap,FilePlus2Icon:Ap,FilePlusIcon:zp,FileQuestion:fn,FileQuestionIcon:fn,FileQuestionMark:fn,FileQuestionMarkIcon:fn,FileScan:Vp,FileScanIcon:Vp,FileSearch:Tp,FileSearch2:Pp,FileSearch2Icon:Pp,FileSearchIcon:Tp,FileSignature:yn,FileSignatureIcon:yn,FileSliders:Hp,FileSlidersIcon:Hp,FileSpreadsheet:Dp,FileSpreadsheetIcon:Dp,FileStack:Bp,FileStackIcon:Bp,FileSymlink:Rp,FileSymlinkIcon:Rp,FileTerminal:Fp,FileTerminalIcon:Fp,FileText:Ep,FileTextIcon:Ep,FileType:Up,FileType2:Op,FileType2Icon:Op,FileTypeIcon:Up,FileUp:Wp,FileUpIcon:Wp,FileUser:Gp,FileUserIcon:Gp,FileVideo:mn,FileVideo2:gn,FileVideo2Icon:gn,FileVideoCamera:gn,FileVideoCameraIcon:gn,FileVideoIcon:mn,FileVolume:Zp,FileVolume2:Kp,FileVolume2Icon:Kp,FileVolumeIcon:Zp,FileWarning:Xp,FileWarningIcon:Xp,FileX:Jp,FileX2:Yp,FileX2Icon:Yp,FileXIcon:Jp,Files:ey,FilesIcon:ey,Film:ty,FilmIcon:ty,Filter:jt,FilterIcon:jt,FilterX:xn,FilterXIcon:xn,Fingerprint:ay,FingerprintIcon:ay,FireExtinguisher:ny,FireExtinguisherIcon:ny,Fish:cy,FishIcon:cy,FishOff:oy,FishOffIcon:oy,FishSymbol:iy,FishSymbolIcon:iy,Flag:ly,FlagIcon:ly,FlagOff:ry,FlagOffIcon:ry,FlagTriangleLeft:sy,FlagTriangleLeftIcon:sy,FlagTriangleRight:dy,FlagTriangleRightIcon:dy,Flame:uy,FlameIcon:uy,FlameKindling:hy,FlameKindlingIcon:hy,Flashlight:yy,FlashlightIcon:yy,FlashlightOff:py,FlashlightOffIcon:py,FlaskConical:my,FlaskConicalIcon:my,FlaskConicalOff:ky,FlaskConicalOffIcon:ky,FlaskRound:fy,FlaskRoundIcon:fy,FlipHorizontal:vy,FlipHorizontal2:gy,FlipHorizontal2Icon:gy,FlipHorizontalIcon:vy,FlipVertical:xy,FlipVertical2:My,FlipVertical2Icon:My,FlipVerticalIcon:xy,Flower:Ly,Flower2:_y,Flower2Icon:_y,FlowerIcon:Ly,Focus:Iy,FocusIcon:Iy,FoldHorizontal:by,FoldHorizontalIcon:by,FoldVertical:wy,FoldVerticalIcon:wy,Folder:S1,FolderArchive:Cy,FolderArchiveIcon:Cy,FolderCheck:Ny,FolderCheckIcon:Ny,FolderClock:jy,FolderClockIcon:jy,FolderClosed:Sy,FolderClosedIcon:Sy,FolderCode:$y,FolderCodeIcon:$y,FolderCog:vn,FolderCog2:vn,FolderCog2Icon:vn,FolderCogIcon:vn,FolderDot:qy,FolderDotIcon:qy,FolderDown:Ay,FolderDownIcon:Ay,FolderEdit:Mn,FolderEditIcon:Mn,FolderGit:Vy,FolderGit2:zy,FolderGit2Icon:zy,FolderGitIcon:Vy,FolderHeart:Py,FolderHeartIcon:Py,FolderIcon:S1,FolderInput:Ty,FolderInputIcon:Ty,FolderKanban:Hy,FolderKanbanIcon:Hy,FolderKey:Dy,FolderKeyIcon:Dy,FolderLock:By,FolderLockIcon:By,FolderMinus:Ry,FolderMinusIcon:Ry,FolderOpen:Ey,FolderOpenDot:Fy,FolderOpenDotIcon:Fy,FolderOpenIcon:Ey,FolderOutput:Oy,FolderOutputIcon:Oy,FolderPen:Mn,FolderPenIcon:Mn,FolderPlus:t1,FolderPlusIcon:t1,FolderRoot:Uy,FolderRootIcon:Uy,FolderSearch:Gy,FolderSearch2:Wy,FolderSearch2Icon:Wy,FolderSearchIcon:Gy,FolderSymlink:Ky,FolderSymlinkIcon:Ky,FolderSync:Zy,FolderSyncIcon:Zy,FolderTree:Xy,FolderTreeIcon:Xy,FolderUp:Yy,FolderUpIcon:Yy,FolderX:Jy,FolderXIcon:Jy,Folders:Qy,FoldersIcon:Qy,Footprints:e4,FootprintsIcon:e4,ForkKnife:bc,ForkKnifeCrossed:Ic,ForkKnifeCrossedIcon:Ic,ForkKnifeIcon:bc,Forklift:t4,ForkliftIcon:t4,FormInput:ao,FormInputIcon:ao,Forward:a4,ForwardIcon:a4,Frame:n4,FrameIcon:n4,Framer:o4,FramerIcon:o4,Frown:c4,FrownIcon:c4,Fuel:i4,FuelIcon:i4,Fullscreen:r4,FullscreenIcon:r4,FunctionSquare:Bo,FunctionSquareIcon:Bo,Funnel:jt,FunnelIcon:jt,FunnelPlus:s4,FunnelPlusIcon:s4,FunnelX:xn,FunnelXIcon:xn,GalleryHorizontal:l4,GalleryHorizontalEnd:d4,GalleryHorizontalEndIcon:d4,GalleryHorizontalIcon:l4,GalleryThumbnails:h4,GalleryThumbnailsIcon:h4,GalleryVertical:p4,GalleryVerticalEnd:u4,GalleryVerticalEndIcon:u4,GalleryVerticalIcon:p4,Gamepad:k4,Gamepad2:y4,Gamepad2Icon:y4,GamepadIcon:k4,GanttChart:fa,GanttChartIcon:fa,GanttChartSquare:dt,GanttChartSquareIcon:dt,Gauge:m4,GaugeCircle:Pa,GaugeCircleIcon:Pa,GaugeIcon:m4,Gavel:f4,GavelIcon:f4,Gem:g4,GemIcon:g4,GeorgianLari:v4,GeorgianLariIcon:v4,Ghost:M4,GhostIcon:M4,Gift:x4,GiftIcon:x4,GitBranch:L4,GitBranchIcon:L4,GitBranchPlus:_4,GitBranchPlusIcon:_4,GitCommit:_n,GitCommitHorizontal:_n,GitCommitHorizontalIcon:_n,GitCommitIcon:_n,GitCommitVertical:I4,GitCommitVerticalIcon:I4,GitCompare:w4,GitCompareArrows:b4,GitCompareArrowsIcon:b4,GitCompareIcon:w4,GitFork:C4,GitForkIcon:C4,GitGraph:N4,GitGraphIcon:N4,GitMerge:j4,GitMergeIcon:j4,GitPullRequest:V4,GitPullRequestArrow:S4,GitPullRequestArrowIcon:S4,GitPullRequestClosed:$4,GitPullRequestClosedIcon:$4,GitPullRequestCreate:A4,GitPullRequestCreateArrow:q4,GitPullRequestCreateArrowIcon:q4,GitPullRequestCreateIcon:A4,GitPullRequestDraft:z4,GitPullRequestDraftIcon:z4,GitPullRequestIcon:V4,Github:P4,GithubIcon:P4,Gitlab:T4,GitlabIcon:T4,GlassWater:H4,GlassWaterIcon:H4,Glasses:D4,GlassesIcon:D4,Globe:R4,Globe2:on,Globe2Icon:on,GlobeIcon:R4,GlobeLock:B4,GlobeLockIcon:B4,Goal:F4,GoalIcon:F4,Gpu:E4,GpuIcon:E4,Grab:Cn,GrabIcon:Cn,GraduationCap:O4,GraduationCapIcon:O4,Grape:U4,GrapeIcon:U4,Grid:st,Grid2X2:wn,Grid2X2Check:Ln,Grid2X2CheckIcon:Ln,Grid2X2Icon:wn,Grid2X2Plus:In,Grid2X2PlusIcon:In,Grid2X2X:bn,Grid2X2XIcon:bn,Grid2x2:wn,Grid2x2Check:Ln,Grid2x2CheckIcon:Ln,Grid2x2Icon:wn,Grid2x2Plus:In,Grid2x2PlusIcon:In,Grid2x2X:bn,Grid2x2XIcon:bn,Grid3X3:st,Grid3X3Icon:st,Grid3x2:W4,Grid3x2Icon:W4,Grid3x3:st,Grid3x3Icon:st,GridIcon:st,Grip:K4,GripHorizontal:G4,GripHorizontalIcon:G4,GripIcon:K4,GripVertical:$1,GripVerticalIcon:$1,Group:Z4,GroupIcon:Z4,Guitar:X4,GuitarIcon:X4,Ham:Y4,HamIcon:Y4,Hamburger:J4,HamburgerIcon:J4,Hammer:Q4,HammerIcon:Q4,Hand:c5,HandCoins:e5,HandCoinsIcon:e5,HandFist:t5,HandFistIcon:t5,HandGrab:Cn,HandGrabIcon:Cn,HandHeart:a5,HandHeartIcon:a5,HandHelping:Nn,HandHelpingIcon:Nn,HandIcon:c5,HandMetal:n5,HandMetalIcon:n5,HandPlatter:o5,HandPlatterIcon:o5,Handbag:i5,HandbagIcon:i5,Handshake:r5,HandshakeIcon:r5,HardDrive:l5,HardDriveDownload:s5,HardDriveDownloadIcon:s5,HardDriveIcon:l5,HardDriveUpload:d5,HardDriveUploadIcon:d5,HardHat:h5,HardHatIcon:h5,Hash:u5,HashIcon:u5,HatGlasses:p5,HatGlassesIcon:p5,Haze:y5,HazeIcon:y5,HdmiPort:k5,HdmiPortIcon:k5,Heading:_5,Heading1:m5,Heading1Icon:m5,Heading2:f5,Heading2Icon:f5,Heading3:g5,Heading3Icon:g5,Heading4:v5,Heading4Icon:v5,Heading5:M5,Heading5Icon:M5,Heading6:x5,Heading6Icon:x5,HeadingIcon:_5,HeadphoneOff:L5,HeadphoneOffIcon:L5,Headphones:I5,HeadphonesIcon:I5,Headset:b5,HeadsetIcon:b5,Heart:q5,HeartCrack:w5,HeartCrackIcon:w5,HeartHandshake:C5,HeartHandshakeIcon:C5,HeartIcon:q5,HeartMinus:N5,HeartMinusIcon:N5,HeartOff:j5,HeartOffIcon:j5,HeartPlus:S5,HeartPlusIcon:S5,HeartPulse:$5,HeartPulseIcon:$5,Heater:A5,HeaterIcon:A5,HelpCircle:it,HelpCircleIcon:it,HelpingHand:Nn,HelpingHandIcon:Nn,Hexagon:z5,HexagonIcon:z5,Highlighter:V5,HighlighterIcon:V5,History:P5,HistoryIcon:P5,Home:St,HomeIcon:St,Hop:H5,HopIcon:H5,HopOff:T5,HopOffIcon:T5,Hospital:q1,HospitalIcon:q1,Hotel:D5,HotelIcon:D5,Hourglass:B5,HourglassIcon:B5,House:St,HouseIcon:St,HousePlug:R5,HousePlugIcon:R5,HousePlus:E5,HousePlusIcon:E5,HouseWifi:F5,HouseWifiIcon:F5,IceCream:Sn,IceCream2:jn,IceCream2Icon:jn,IceCreamBowl:jn,IceCreamBowlIcon:jn,IceCreamCone:Sn,IceCreamConeIcon:Sn,IceCreamIcon:Sn,Icon:a.Icon,IdCard:U5,IdCardIcon:U5,IdCardLanyard:O5,IdCardLanyardIcon:O5,Image:Q5,ImageDown:W5,ImageDownIcon:W5,ImageIcon:Q5,ImageMinus:G5,ImageMinusIcon:G5,ImageOff:K5,ImageOffIcon:K5,ImagePlay:Z5,ImagePlayIcon:Z5,ImagePlus:X5,ImagePlusIcon:X5,ImageUp:Y5,ImageUpIcon:Y5,ImageUpscale:J5,ImageUpscaleIcon:J5,Images:ek,ImagesIcon:ek,Import:tk,ImportIcon:tk,Inbox:ak,InboxIcon:ak,Indent:qn,IndentDecrease:$n,IndentDecreaseIcon:$n,IndentIcon:qn,IndentIncrease:qn,IndentIncreaseIcon:qn,IndianRupee:nk,IndianRupeeIcon:nk,Infinity:ok,InfinityIcon:ok,Info:ck,InfoIcon:ck,Inspect:Go,InspectIcon:Go,InspectionPanel:ik,InspectionPanelIcon:ik,Instagram:rk,InstagramIcon:rk,Italic:sk,ItalicIcon:sk,IterationCcw:dk,IterationCcwIcon:dk,IterationCw:lk,IterationCwIcon:lk,JapaneseYen:uk,JapaneseYenIcon:uk,Joystick:hk,JoystickIcon:hk,Kanban:pk,KanbanIcon:pk,KanbanSquare:Ro,KanbanSquareDashed:zo,KanbanSquareDashedIcon:zo,KanbanSquareIcon:Ro,Kayak:yk,KayakIcon:yk,Key:fk,KeyIcon:fk,KeyRound:kk,KeyRoundIcon:kk,KeySquare:mk,KeySquareIcon:mk,Keyboard:Mk,KeyboardIcon:Mk,KeyboardMusic:gk,KeyboardMusicIcon:gk,KeyboardOff:vk,KeyboardOffIcon:vk,Lamp:wk,LampCeiling:xk,LampCeilingIcon:xk,LampDesk:Lk,LampDeskIcon:Lk,LampFloor:_k,LampFloorIcon:_k,LampIcon:wk,LampWallDown:Ik,LampWallDownIcon:Ik,LampWallUp:bk,LampWallUpIcon:bk,LandPlot:Ck,LandPlotIcon:Ck,Landmark:Nk,LandmarkIcon:Nk,Languages:jk,LanguagesIcon:jk,Laptop:$k,Laptop2:An,Laptop2Icon:An,LaptopIcon:$k,LaptopMinimal:An,LaptopMinimalCheck:Sk,LaptopMinimalCheckIcon:Sk,LaptopMinimalIcon:An,Lasso:Ak,LassoIcon:Ak,LassoSelect:qk,LassoSelectIcon:qk,Laugh:zk,LaughIcon:zk,Layers:zn,Layers2:Vk,Layers2Icon:Vk,Layers3:zn,Layers3Icon:zn,LayersIcon:zn,Layout:eo,LayoutDashboard:Pk,LayoutDashboardIcon:Pk,LayoutGrid:Tk,LayoutGridIcon:Tk,LayoutIcon:eo,LayoutList:Hk,LayoutListIcon:Hk,LayoutPanelLeft:Dk,LayoutPanelLeftIcon:Dk,LayoutPanelTop:Bk,LayoutPanelTopIcon:Bk,LayoutTemplate:Rk,LayoutTemplateIcon:Rk,Leaf:Fk,LeafIcon:Fk,LeafyGreen:Ok,LeafyGreenIcon:Ok,Lectern:Ek,LecternIcon:Ek,LetterText:Uk,LetterTextIcon:Uk,Library:Gk,LibraryBig:Wk,LibraryBigIcon:Wk,LibraryIcon:Gk,LibrarySquare:Fo,LibrarySquareIcon:Fo,LifeBuoy:Kk,LifeBuoyIcon:Kk,Ligature:Zk,LigatureIcon:Zk,Lightbulb:Yk,LightbulbIcon:Yk,LightbulbOff:Xk,LightbulbOffIcon:Xk,LineChart:ya,LineChartIcon:ya,LineSquiggle:Jk,LineSquiggleIcon:Jk,Link:t3,Link2:Qk,Link2Icon:Qk,Link2Off:e3,Link2OffIcon:e3,LinkIcon:t3,Linkedin:a3,LinkedinIcon:a3,List:v3,ListCheck:n3,ListCheckIcon:n3,ListChecks:o3,ListChecksIcon:o3,ListCollapse:c3,ListCollapseIcon:c3,ListEnd:i3,ListEndIcon:i3,ListFilter:d3,ListFilterIcon:d3,ListFilterPlus:r3,ListFilterPlusIcon:r3,ListIcon:v3,ListMinus:s3,ListMinusIcon:s3,ListMusic:l3,ListMusicIcon:l3,ListOrdered:h3,ListOrderedIcon:h3,ListPlus:u3,ListPlusIcon:u3,ListRestart:p3,ListRestartIcon:p3,ListStart:y3,ListStartIcon:y3,ListTodo:k3,ListTodoIcon:k3,ListTree:m3,ListTreeIcon:m3,ListVideo:f3,ListVideoIcon:f3,ListX:g3,ListXIcon:g3,Loader:x3,Loader2:Vn,Loader2Icon:Vn,LoaderCircle:Vn,LoaderCircleIcon:Vn,LoaderIcon:x3,LoaderPinwheel:M3,LoaderPinwheelIcon:M3,Locate:I3,LocateFixed:_3,LocateFixedIcon:_3,LocateIcon:I3,LocateOff:L3,LocateOffIcon:L3,LocationEdit:Dn,LocationEditIcon:Dn,Lock:w3,LockIcon:w3,LockKeyhole:b3,LockKeyholeIcon:b3,LockKeyholeOpen:Pn,LockKeyholeOpenIcon:Pn,LockOpen:Tn,LockOpenIcon:Tn,LogIn:C3,LogInIcon:C3,LogOut:N3,LogOutIcon:N3,Logs:j3,LogsIcon:j3,Lollipop:S3,LollipopIcon:S3,LucideAArrowDown:si,LucideAArrowUp:di,LucideALargeSmall:li,LucideAccessibility:_1,LucideActivity:L1,LucideActivitySquare:$t,LucideAirVent:hi,LucideAirplay:ui,LucideAlarmCheck:Ot,LucideAlarmClock:yi,LucideAlarmClockCheck:Ot,LucideAlarmClockMinus:Ut,LucideAlarmClockOff:pi,LucideAlarmClockPlus:Wt,LucideAlarmMinus:Ut,LucideAlarmPlus:Wt,LucideAlarmSmoke:ki,LucideAlbum:mi,LucideAlertCircle:Ma,LucideAlertOctagon:En,LucideAlertTriangle:yc,LucideAlignCenter:_i,LucideAlignCenterHorizontal:fi,LucideAlignCenterVertical:gi,LucideAlignEndHorizontal:vi,LucideAlignEndVertical:Mi,LucideAlignHorizontalDistributeCenter:xi,LucideAlignHorizontalDistributeEnd:Li,LucideAlignHorizontalDistributeStart:Ii,LucideAlignHorizontalJustifyCenter:bi,LucideAlignHorizontalJustifyEnd:wi,LucideAlignHorizontalJustifyStart:Ci,LucideAlignHorizontalSpaceAround:Ni,LucideAlignHorizontalSpaceBetween:Si,LucideAlignJustify:ji,LucideAlignLeft:$i,LucideAlignRight:qi,LucideAlignStartHorizontal:Ai,LucideAlignStartVertical:zi,LucideAlignVerticalDistributeCenter:Pi,LucideAlignVerticalDistributeEnd:Vi,LucideAlignVerticalDistributeStart:Hi,LucideAlignVerticalJustifyCenter:Ti,LucideAlignVerticalJustifyEnd:Di,LucideAlignVerticalJustifyStart:Bi,LucideAlignVerticalSpaceAround:Fi,LucideAlignVerticalSpaceBetween:Ri,LucideAmbulance:Ei,LucideAmpersand:Oi,LucideAmpersands:Ui,LucideAmphora:Wi,LucideAnchor:Gi,LucideAngry:Ki,LucideAnnoyed:Zi,LucideAntenna:Xi,LucideAnvil:Yi,LucideAperture:Ji,LucideAppWindow:er,LucideAppWindowMac:Qi,LucideApple:tr,LucideArchive:or,LucideArchiveRestore:ar,LucideArchiveX:nr,LucideAreaChart:ra,LucideArmchair:cr,LucideArrowBigDown:rr,LucideArrowBigDownDash:ir,LucideArrowBigLeft:dr,LucideArrowBigLeftDash:sr,LucideArrowBigRight:hr,LucideArrowBigRightDash:lr,LucideArrowBigUp:pr,LucideArrowBigUpDash:ur,LucideArrowDown:Jc,LucideArrowDown01:yr,LucideArrowDown10:kr,LucideArrowDownAZ:Gt,LucideArrowDownAz:Gt,LucideArrowDownCircle:xa,LucideArrowDownFromLine:mr,LucideArrowDownLeft:fr,LucideArrowDownLeftFromCircle:La,LucideArrowDownLeftFromSquare:fo,LucideArrowDownLeftSquare:po,LucideArrowDownNarrowWide:gr,LucideArrowDownRight:vr,LucideArrowDownRightFromCircle:Ia,LucideArrowDownRightFromSquare:go,LucideArrowDownRightSquare:yo,LucideArrowDownSquare:ko,LucideArrowDownToDot:Mr,LucideArrowDownToLine:xr,LucideArrowDownUp:_r,LucideArrowDownWideNarrow:Kt,LucideArrowDownZA:Zt,LucideArrowDownZa:Zt,LucideArrowLeft:I1,LucideArrowLeftCircle:_a,LucideArrowLeftFromLine:Lr,LucideArrowLeftRight:Ir,LucideArrowLeftSquare:mo,LucideArrowLeftToLine:br,LucideArrowRight:jr,LucideArrowRightCircle:Ca,LucideArrowRightFromLine:wr,LucideArrowRightLeft:Cr,LucideArrowRightSquare:xo,LucideArrowRightToLine:Nr,LucideArrowUp:Qc,LucideArrowUp01:Sr,LucideArrowUp10:$r,LucideArrowUpAZ:Xt,LucideArrowUpAz:Xt,LucideArrowUpCircle:Na,LucideArrowUpDown:qr,LucideArrowUpFromDot:Ar,LucideArrowUpFromLine:zr,LucideArrowUpLeft:Vr,LucideArrowUpLeftFromCircle:ba,LucideArrowUpLeftFromSquare:vo,LucideArrowUpLeftSquare:_o,LucideArrowUpNarrowWide:Yt,LucideArrowUpRight:Pr,LucideArrowUpRightFromCircle:wa,LucideArrowUpRightFromSquare:Mo,LucideArrowUpRightSquare:Lo,LucideArrowUpSquare:Io,LucideArrowUpToLine:Tr,LucideArrowUpWideNarrow:Hr,LucideArrowUpZA:Jt,LucideArrowUpZa:Jt,LucideArrowsUpFromLine:Dr,LucideAsterisk:Br,LucideAsteriskSquare:bo,LucideAtSign:Rr,LucideAtom:Fr,LucideAudioLines:Er,LucideAudioWaveform:Or,LucideAward:Ur,LucideAxe:Wr,LucideAxis3D:Qt,LucideAxis3d:Qt,LucideBaby:Gr,LucideBackpack:Kr,LucideBadge:ls,LucideBadgeAlert:Zr,LucideBadgeCent:Xr,LucideBadgeCheck:ea,LucideBadgeDollarSign:Yr,LucideBadgeEuro:Jr,LucideBadgeHelp:ta,LucideBadgeIndianRupee:Qr,LucideBadgeInfo:es,LucideBadgeJapaneseYen:as,LucideBadgeMinus:ts,LucideBadgePercent:ns,LucideBadgePlus:os,LucideBadgePoundSterling:cs,LucideBadgeQuestionMark:ta,LucideBadgeRussianRuble:is,LucideBadgeSwissFranc:rs,LucideBadgeTurkishLira:ss,LucideBadgeX:ds,LucideBaggageClaim:hs,LucideBan:us,LucideBanana:ps,LucideBandage:ys,LucideBanknote:gs,LucideBanknoteArrowDown:ks,LucideBanknoteArrowUp:ms,LucideBanknoteX:fs,LucideBarChart:ka,LucideBarChart2:ma,LucideBarChart3:pa,LucideBarChart4:ua,LucideBarChartBig:ha,LucideBarChartHorizontal:da,LucideBarChartHorizontalBig:sa,LucideBarcode:vs,LucideBarrel:Ms,LucideBaseline:xs,LucideBath:_s,LucideBattery:js,LucideBatteryCharging:Ls,LucideBatteryFull:Is,LucideBatteryLow:bs,LucideBatteryMedium:ws,LucideBatteryPlus:Cs,LucideBatteryWarning:Ns,LucideBeaker:Ss,LucideBean:qs,LucideBeanOff:$s,LucideBed:Vs,LucideBedDouble:As,LucideBedSingle:zs,LucideBeef:Ps,LucideBeer:Hs,LucideBeerOff:Ts,LucideBell:Os,LucideBellDot:Ds,LucideBellElectric:Bs,LucideBellMinus:Rs,LucideBellOff:Fs,LucideBellPlus:Es,LucideBellRing:Us,LucideBetweenHorizonalEnd:aa,LucideBetweenHorizonalStart:na,LucideBetweenHorizontalEnd:aa,LucideBetweenHorizontalStart:na,LucideBetweenVerticalEnd:Gs,LucideBetweenVerticalStart:Ws,LucideBicepsFlexed:Ks,LucideBike:Xs,LucideBinary:Zs,LucideBinoculars:Ys,LucideBiohazard:Js,LucideBird:Qs,LucideBitcoin:e2,LucideBlend:t2,LucideBlinds:a2,LucideBlocks:n2,LucideBluetooth:r2,LucideBluetoothConnected:o2,LucideBluetoothOff:c2,LucideBluetoothSearching:i2,LucideBold:s2,LucideBolt:d2,LucideBomb:l2,LucideBone:h2,LucideBook:V2,LucideBookA:u2,LucideBookAlert:p2,LucideBookAudio:y2,LucideBookCheck:k2,LucideBookCopy:m2,LucideBookDashed:oa,LucideBookDown:f2,LucideBookHeadphones:g2,LucideBookHeart:v2,LucideBookImage:M2,LucideBookKey:x2,LucideBookLock:_2,LucideBookMarked:I2,LucideBookMinus:L2,LucideBookOpen:C2,LucideBookOpenCheck:b2,LucideBookOpenText:w2,LucideBookPlus:N2,LucideBookTemplate:oa,LucideBookText:j2,LucideBookType:S2,LucideBookUp:q2,LucideBookUp2:$2,LucideBookUser:A2,LucideBookX:z2,LucideBookmark:B2,LucideBookmarkCheck:P2,LucideBookmarkMinus:T2,LucideBookmarkPlus:H2,LucideBookmarkX:D2,LucideBoomBox:R2,LucideBot:O2,LucideBotMessageSquare:F2,LucideBotOff:E2,LucideBottleWine:U2,LucideBowArrow:W2,LucideBox:G2,LucideBoxSelect:Po,LucideBoxes:K2,LucideBraces:ca,LucideBrackets:Z2,LucideBrain:J2,LucideBrainCircuit:X2,LucideBrainCog:Y2,LucideBrickWall:td,LucideBrickWallFire:Q2,LucideBrickWallShield:ed,LucideBriefcase:cd,LucideBriefcaseBusiness:ad,LucideBriefcaseConveyorBelt:nd,LucideBriefcaseMedical:od,LucideBringToFront:id,LucideBrush:sd,LucideBrushCleaning:rd,LucideBubbles:dd,LucideBug:pd,LucideBugOff:ld,LucideBugPlay:hd,LucideBuilding:yd,LucideBuilding2:ud,LucideBus:md,LucideBusFront:kd,LucideCable:gd,LucideCableCar:fd,LucideCake:Md,LucideCakeSlice:vd,LucideCalculator:xd,LucideCalendar:b1,LucideCalendar1:_d,LucideCalendarArrowDown:Ld,LucideCalendarArrowUp:Id,LucideCalendarCheck:wd,LucideCalendarCheck2:bd,LucideCalendarClock:Cd,LucideCalendarCog:Nd,LucideCalendarDays:jd,LucideCalendarFold:Sd,LucideCalendarHeart:$d,LucideCalendarMinus:Ad,LucideCalendarMinus2:qd,LucideCalendarOff:zd,LucideCalendarPlus:Pd,LucideCalendarPlus2:Vd,LucideCalendarRange:Td,LucideCalendarSearch:Hd,LucideCalendarSync:Dd,LucideCalendarX:Rd,LucideCalendarX2:Bd,LucideCamera:Ed,LucideCameraOff:Fd,LucideCandlestickChart:la,LucideCandy:Wd,LucideCandyCane:Od,LucideCandyOff:Ud,LucideCannabis:Gd,LucideCaptions:ia,LucideCaptionsOff:Kd,LucideCar:Yd,LucideCarFront:Zd,LucideCarTaxiFront:Xd,LucideCaravan:Jd,LucideCardSim:Qd,LucideCarrot:e0,LucideCaseLower:t0,LucideCaseSensitive:a0,LucideCaseUpper:n0,LucideCassetteTape:o0,LucideCast:c0,LucideCastle:r0,LucideCat:i0,LucideCctv:s0,LucideChartArea:ra,LucideChartBar:da,LucideChartBarBig:sa,LucideChartBarDecreasing:d0,LucideChartBarIncreasing:l0,LucideChartBarStacked:h0,LucideChartCandlestick:la,LucideChartColumn:pa,LucideChartColumnBig:ha,LucideChartColumnDecreasing:u0,LucideChartColumnIncreasing:ua,LucideChartColumnStacked:p0,LucideChartGantt:y0,LucideChartLine:ya,LucideChartNetwork:k0,LucideChartNoAxesColumn:ma,LucideChartNoAxesColumnDecreasing:m0,LucideChartNoAxesColumnIncreasing:ka,LucideChartNoAxesCombined:f0,LucideChartNoAxesGantt:fa,LucideChartPie:ga,LucideChartScatter:va,LucideChartSpline:g0,LucideCheck:w1,LucideCheckCheck:v0,LucideCheckCircle:ja,LucideCheckCircle2:Sa,LucideCheckLine:M0,LucideCheckSquare:Co,LucideCheckSquare2:No,LucideChefHat:x0,LucideCherry:_0,LucideChevronDown:zt,LucideChevronDownCircle:$a,LucideChevronDownSquare:jo,LucideChevronFirst:L0,LucideChevronLast:I0,LucideChevronLeft:b0,LucideChevronLeftCircle:qa,LucideChevronLeftSquare:So,LucideChevronRight:C1,LucideChevronRightCircle:Aa,LucideChevronRightSquare:$o,LucideChevronUp:qc,LucideChevronUpCircle:za,LucideChevronUpSquare:qo,LucideChevronsDown:C0,LucideChevronsDownUp:w0,LucideChevronsLeft:j0,LucideChevronsLeftRight:N0,LucideChevronsLeftRightEllipsis:S0,LucideChevronsRight:q0,LucideChevronsRightLeft:$0,LucideChevronsUp:A0,LucideChevronsUpDown:e1,LucideChrome:z0,LucideChurch:V0,LucideCigarette:T0,LucideCigaretteOff:P0,LucideCircle:Y0,LucideCircleAlert:Ma,LucideCircleArrowDown:xa,LucideCircleArrowLeft:_a,LucideCircleArrowOutDownLeft:La,LucideCircleArrowOutDownRight:Ia,LucideCircleArrowOutUpLeft:ba,LucideCircleArrowOutUpRight:wa,LucideCircleArrowRight:Ca,LucideCircleArrowUp:Na,LucideCircleCheck:Sa,LucideCircleCheckBig:ja,LucideCircleChevronDown:$a,LucideCircleChevronLeft:qa,LucideCircleChevronRight:Aa,LucideCircleChevronUp:za,LucideCircleDashed:H0,LucideCircleDivide:Va,LucideCircleDollarSign:B0,LucideCircleDot:R0,LucideCircleDotDashed:D0,LucideCircleEllipsis:F0,LucideCircleEqual:E0,LucideCircleFadingArrowUp:U0,LucideCircleFadingPlus:O0,LucideCircleGauge:Pa,LucideCircleHelp:it,LucideCircleMinus:Ta,LucideCircleOff:W0,LucideCircleParking:Ba,LucideCircleParkingOff:Ha,LucideCirclePause:Da,LucideCirclePercent:Ra,LucideCirclePlay:Fa,LucideCirclePlus:Ea,LucideCirclePoundSterling:G0,LucideCirclePower:Oa,LucideCircleQuestionMark:it,LucideCircleSlash:K0,LucideCircleSlash2:Ua,LucideCircleSlashed:Ua,LucideCircleSmall:Z0,LucideCircleStar:X0,LucideCircleStop:Wa,LucideCircleUser:Ka,LucideCircleUserRound:Ga,LucideCircleX:Nt,LucideCircuitBoard:J0,LucideCitrus:Q0,LucideClapperboard:el,LucideClipboard:ll,LucideClipboardCheck:tl,LucideClipboardClock:al,LucideClipboardCopy:nl,LucideClipboardEdit:Xa,LucideClipboardList:ol,LucideClipboardMinus:cl,LucideClipboardPaste:il,LucideClipboardPen:Xa,LucideClipboardPenLine:Za,LucideClipboardPlus:rl,LucideClipboardSignature:Za,LucideClipboardType:sl,LucideClipboardX:dl,LucideClock:Nl,LucideClock1:ul,LucideClock10:hl,LucideClock11:pl,LucideClock12:yl,LucideClock2:kl,LucideClock3:ml,LucideClock4:fl,LucideClock5:gl,LucideClock6:vl,LucideClock7:Ml,LucideClock8:xl,LucideClock9:_l,LucideClockAlert:Ll,LucideClockArrowDown:Il,LucideClockArrowUp:bl,LucideClockFading:wl,LucideClockPlus:Cl,LucideClosedCaption:jl,LucideCloud:Ul,LucideCloudAlert:Sl,LucideCloudCheck:$l,LucideCloudCog:ql,LucideCloudDownload:Ya,LucideCloudDrizzle:Al,LucideCloudFog:zl,LucideCloudHail:Vl,LucideCloudLightning:Pl,LucideCloudMoon:Hl,LucideCloudMoonRain:Tl,LucideCloudOff:Dl,LucideCloudRain:Rl,LucideCloudRainWind:Bl,LucideCloudSnow:Fl,LucideCloudSun:Ol,LucideCloudSunRain:El,LucideCloudUpload:Ja,LucideCloudy:Wl,LucideClover:Gl,LucideClub:Kl,LucideCode:Zl,LucideCode2:Qa,LucideCodeSquare:Ao,LucideCodeXml:Qa,LucideCodepen:Xl,LucideCodesandbox:Yl,LucideCoffee:Jl,LucideCog:Ql,LucideCoins:eh,LucideColumns:en,LucideColumns2:en,LucideColumns3:tn,LucideColumns3Cog:rt,LucideColumns4:th,LucideColumnsSettings:rt,LucideCombine:ah,LucideCommand:nh,LucideCompass:oh,LucideComponent:ch,LucideComputer:ih,LucideConciergeBell:rh,LucideCone:sh,LucideConstruction:dh,LucideContact:lh,LucideContact2:an,LucideContactRound:an,LucideContainer:hh,LucideContrast:ph,LucideCookie:uh,LucideCookingPot:kh,LucideCopy:Mh,LucideCopyCheck:yh,LucideCopyMinus:mh,LucideCopyPlus:fh,LucideCopySlash:gh,LucideCopyX:vh,LucideCopyleft:xh,LucideCopyright:_h,LucideCornerDownLeft:Lh,LucideCornerDownRight:Ih,LucideCornerLeftDown:bh,LucideCornerLeftUp:wh,LucideCornerRightDown:Ch,LucideCornerRightUp:Nh,LucideCornerUpLeft:jh,LucideCornerUpRight:Sh,LucideCpu:$h,LucideCreativeCommons:qh,LucideCreditCard:Ah,LucideCroissant:zh,LucideCrop:Vh,LucideCross:Ph,LucideCrosshair:Th,LucideCrown:Hh,LucideCuboid:Dh,LucideCupSoda:Bh,LucideCurlyBraces:ca,LucideCurrency:Rh,LucideCylinder:Fh,LucideDam:Eh,LucideDatabase:Wh,LucideDatabaseBackup:Oh,LucideDatabaseZap:Uh,LucideDecimalsArrowLeft:Gh,LucideDecimalsArrowRight:Kh,LucideDelete:Zh,LucideDessert:Xh,LucideDiameter:Yh,LucideDiamond:eu,LucideDiamondMinus:Jh,LucideDiamondPercent:nn,LucideDiamondPlus:Qh,LucideDice1:tu,LucideDice2:au,LucideDice3:nu,LucideDice4:ou,LucideDice5:cu,LucideDice6:iu,LucideDices:ru,LucideDiff:su,LucideDisc:uu,LucideDisc2:du,LucideDisc3:lu,LucideDiscAlbum:hu,LucideDivide:pu,LucideDivideCircle:Va,LucideDivideSquare:To,LucideDna:ku,LucideDnaOff:yu,LucideDock:mu,LucideDog:fu,LucideDollarSign:gu,LucideDonut:vu,LucideDoorClosed:xu,LucideDoorClosedLocked:Mu,LucideDoorOpen:_u,LucideDot:Lu,LucideDotSquare:Do,LucideDownload:bu,LucideDownloadCloud:Ya,LucideDraftingCompass:Iu,LucideDrama:wu,LucideDribbble:Cu,LucideDrill:Nu,LucideDrone:ju,LucideDroplet:$u,LucideDropletOff:Su,LucideDroplets:qu,LucideDrum:Au,LucideDrumstick:zu,LucideDumbbell:Vu,LucideEar:Tu,LucideEarOff:Pu,LucideEarth:on,LucideEarthLock:Hu,LucideEclipse:Du,LucideEdit:Fe,LucideEdit2:gt,LucideEdit3:ft,LucideEgg:Fu,LucideEggFried:Bu,LucideEggOff:Ru,LucideEllipsis:rn,LucideEllipsisVertical:cn,LucideEqual:Uu,LucideEqualApproximately:Eu,LucideEqualNot:Ou,LucideEqualSquare:Ho,LucideEraser:Wu,LucideEthernetPort:Gu,LucideEuro:Ku,LucideExpand:Xu,LucideExternalLink:Zu,LucideEye:j1,LucideEyeClosed:Yu,LucideEyeOff:N1,LucideFacebook:Ju,LucideFactory:Qu,LucideFan:ep,LucideFastForward:tp,LucideFeather:ap,LucideFence:np,LucideFerrisWheel:op,LucideFigma:cp,LucideFile:Qp,LucideFileArchive:ip,LucideFileAudio:sp,LucideFileAudio2:rp,LucideFileAxis3D:sn,LucideFileAxis3d:sn,LucideFileBadge:hp,LucideFileBadge2:dp,LucideFileBarChart:dn,LucideFileBarChart2:ln,LucideFileBox:lp,LucideFileChartColumn:ln,LucideFileChartColumnIncreasing:dn,LucideFileChartLine:hn,LucideFileChartPie:un,LucideFileCheck:pp,LucideFileCheck2:up,LucideFileClock:yp,LucideFileCode:kp,LucideFileCode2:mp,LucideFileCog:pn,LucideFileCog2:pn,LucideFileDiff:fp,LucideFileDigit:gp,LucideFileDown:vp,LucideFileEdit:kn,LucideFileHeart:Mp,LucideFileImage:xp,LucideFileInput:_p,LucideFileJson:Ip,LucideFileJson2:Lp,LucideFileKey:wp,LucideFileKey2:bp,LucideFileLineChart:hn,LucideFileLock:Np,LucideFileLock2:Cp,LucideFileMinus:Sp,LucideFileMinus2:jp,LucideFileMusic:$p,LucideFileOutput:qp,LucideFilePen:kn,LucideFilePenLine:yn,LucideFilePieChart:un,LucideFilePlay:mn,LucideFilePlus:zp,LucideFilePlus2:Ap,LucideFileQuestion:fn,LucideFileQuestionMark:fn,LucideFileScan:Vp,LucideFileSearch:Tp,LucideFileSearch2:Pp,LucideFileSignature:yn,LucideFileSliders:Hp,LucideFileSpreadsheet:Dp,LucideFileStack:Bp,LucideFileSymlink:Rp,LucideFileTerminal:Fp,LucideFileText:Ep,LucideFileType:Up,LucideFileType2:Op,LucideFileUp:Wp,LucideFileUser:Gp,LucideFileVideo:mn,LucideFileVideo2:gn,LucideFileVideoCamera:gn,LucideFileVolume:Zp,LucideFileVolume2:Kp,LucideFileWarning:Xp,LucideFileX:Jp,LucideFileX2:Yp,LucideFiles:ey,LucideFilm:ty,LucideFilter:jt,LucideFilterX:xn,LucideFingerprint:ay,LucideFireExtinguisher:ny,LucideFish:cy,LucideFishOff:oy,LucideFishSymbol:iy,LucideFlag:ly,LucideFlagOff:ry,LucideFlagTriangleLeft:sy,LucideFlagTriangleRight:dy,LucideFlame:uy,LucideFlameKindling:hy,LucideFlashlight:yy,LucideFlashlightOff:py,LucideFlaskConical:my,LucideFlaskConicalOff:ky,LucideFlaskRound:fy,LucideFlipHorizontal:vy,LucideFlipHorizontal2:gy,LucideFlipVertical:xy,LucideFlipVertical2:My,LucideFlower:Ly,LucideFlower2:_y,LucideFocus:Iy,LucideFoldHorizontal:by,LucideFoldVertical:wy,LucideFolder:S1,LucideFolderArchive:Cy,LucideFolderCheck:Ny,LucideFolderClock:jy,LucideFolderClosed:Sy,LucideFolderCode:$y,LucideFolderCog:vn,LucideFolderCog2:vn,LucideFolderDot:qy,LucideFolderDown:Ay,LucideFolderEdit:Mn,LucideFolderGit:Vy,LucideFolderGit2:zy,LucideFolderHeart:Py,LucideFolderInput:Ty,LucideFolderKanban:Hy,LucideFolderKey:Dy,LucideFolderLock:By,LucideFolderMinus:Ry,LucideFolderOpen:Ey,LucideFolderOpenDot:Fy,LucideFolderOutput:Oy,LucideFolderPen:Mn,LucideFolderPlus:t1,LucideFolderRoot:Uy,LucideFolderSearch:Gy,LucideFolderSearch2:Wy,LucideFolderSymlink:Ky,LucideFolderSync:Zy,LucideFolderTree:Xy,LucideFolderUp:Yy,LucideFolderX:Jy,LucideFolders:Qy,LucideFootprints:e4,LucideForkKnife:bc,LucideForkKnifeCrossed:Ic,LucideForklift:t4,LucideFormInput:ao,LucideForward:a4,LucideFrame:n4,LucideFramer:o4,LucideFrown:c4,LucideFuel:i4,LucideFullscreen:r4,LucideFunctionSquare:Bo,LucideFunnel:jt,LucideFunnelPlus:s4,LucideFunnelX:xn,LucideGalleryHorizontal:l4,LucideGalleryHorizontalEnd:d4,LucideGalleryThumbnails:h4,LucideGalleryVertical:p4,LucideGalleryVerticalEnd:u4,LucideGamepad:k4,LucideGamepad2:y4,LucideGanttChart:fa,LucideGanttChartSquare:dt,LucideGauge:m4,LucideGaugeCircle:Pa,LucideGavel:f4,LucideGem:g4,LucideGeorgianLari:v4,LucideGhost:M4,LucideGift:x4,LucideGitBranch:L4,LucideGitBranchPlus:_4,LucideGitCommit:_n,LucideGitCommitHorizontal:_n,LucideGitCommitVertical:I4,LucideGitCompare:w4,LucideGitCompareArrows:b4,LucideGitFork:C4,LucideGitGraph:N4,LucideGitMerge:j4,LucideGitPullRequest:V4,LucideGitPullRequestArrow:S4,LucideGitPullRequestClosed:$4,LucideGitPullRequestCreate:A4,LucideGitPullRequestCreateArrow:q4,LucideGitPullRequestDraft:z4,LucideGithub:P4,LucideGitlab:T4,LucideGlassWater:H4,LucideGlasses:D4,LucideGlobe:R4,LucideGlobe2:on,LucideGlobeLock:B4,LucideGoal:F4,LucideGpu:E4,LucideGrab:Cn,LucideGraduationCap:O4,LucideGrape:U4,LucideGrid:st,LucideGrid2X2:wn,LucideGrid2X2Check:Ln,LucideGrid2X2Plus:In,LucideGrid2X2X:bn,LucideGrid2x2:wn,LucideGrid2x2Check:Ln,LucideGrid2x2Plus:In,LucideGrid2x2X:bn,LucideGrid3X3:st,LucideGrid3x2:W4,LucideGrid3x3:st,LucideGrip:K4,LucideGripHorizontal:G4,LucideGripVertical:$1,LucideGroup:Z4,LucideGuitar:X4,LucideHam:Y4,LucideHamburger:J4,LucideHammer:Q4,LucideHand:c5,LucideHandCoins:e5,LucideHandFist:t5,LucideHandGrab:Cn,LucideHandHeart:a5,LucideHandHelping:Nn,LucideHandMetal:n5,LucideHandPlatter:o5,LucideHandbag:i5,LucideHandshake:r5,LucideHardDrive:l5,LucideHardDriveDownload:s5,LucideHardDriveUpload:d5,LucideHardHat:h5,LucideHash:u5,LucideHatGlasses:p5,LucideHaze:y5,LucideHdmiPort:k5,LucideHeading:_5,LucideHeading1:m5,LucideHeading2:f5,LucideHeading3:g5,LucideHeading4:v5,LucideHeading5:M5,LucideHeading6:x5,LucideHeadphoneOff:L5,LucideHeadphones:I5,LucideHeadset:b5,LucideHeart:q5,LucideHeartCrack:w5,LucideHeartHandshake:C5,LucideHeartMinus:N5,LucideHeartOff:j5,LucideHeartPlus:S5,LucideHeartPulse:$5,LucideHeater:A5,LucideHelpCircle:it,LucideHelpingHand:Nn,LucideHexagon:z5,LucideHighlighter:V5,LucideHistory:P5,LucideHome:St,LucideHop:H5,LucideHopOff:T5,LucideHospital:q1,LucideHotel:D5,LucideHourglass:B5,LucideHouse:St,LucideHousePlug:R5,LucideHousePlus:E5,LucideHouseWifi:F5,LucideIceCream:Sn,LucideIceCream2:jn,LucideIceCreamBowl:jn,LucideIceCreamCone:Sn,LucideIdCard:U5,LucideIdCardLanyard:O5,LucideImage:Q5,LucideImageDown:W5,LucideImageMinus:G5,LucideImageOff:K5,LucideImagePlay:Z5,LucideImagePlus:X5,LucideImageUp:Y5,LucideImageUpscale:J5,LucideImages:ek,LucideImport:tk,LucideInbox:ak,LucideIndent:qn,LucideIndentDecrease:$n,LucideIndentIncrease:qn,LucideIndianRupee:nk,LucideInfinity:ok,LucideInfo:ck,LucideInspect:Go,LucideInspectionPanel:ik,LucideInstagram:rk,LucideItalic:sk,LucideIterationCcw:dk,LucideIterationCw:lk,LucideJapaneseYen:uk,LucideJoystick:hk,LucideKanban:pk,LucideKanbanSquare:Ro,LucideKanbanSquareDashed:zo,LucideKayak:yk,LucideKey:fk,LucideKeyRound:kk,LucideKeySquare:mk,LucideKeyboard:Mk,LucideKeyboardMusic:gk,LucideKeyboardOff:vk,LucideLamp:wk,LucideLampCeiling:xk,LucideLampDesk:Lk,LucideLampFloor:_k,LucideLampWallDown:Ik,LucideLampWallUp:bk,LucideLandPlot:Ck,LucideLandmark:Nk,LucideLanguages:jk,LucideLaptop:$k,LucideLaptop2:An,LucideLaptopMinimal:An,LucideLaptopMinimalCheck:Sk,LucideLasso:Ak,LucideLassoSelect:qk,LucideLaugh:zk,LucideLayers:zn,LucideLayers2:Vk,LucideLayers3:zn,LucideLayout:eo,LucideLayoutDashboard:Pk,LucideLayoutGrid:Tk,LucideLayoutList:Hk,LucideLayoutPanelLeft:Dk,LucideLayoutPanelTop:Bk,LucideLayoutTemplate:Rk,LucideLeaf:Fk,LucideLeafyGreen:Ok,LucideLectern:Ek,LucideLetterText:Uk,LucideLibrary:Gk,LucideLibraryBig:Wk,LucideLibrarySquare:Fo,LucideLifeBuoy:Kk,LucideLigature:Zk,LucideLightbulb:Yk,LucideLightbulbOff:Xk,LucideLineChart:ya,LucideLineSquiggle:Jk,LucideLink:t3,LucideLink2:Qk,LucideLink2Off:e3,LucideLinkedin:a3,LucideList:v3,LucideListCheck:n3,LucideListChecks:o3,LucideListCollapse:c3,LucideListEnd:i3,LucideListFilter:d3,LucideListFilterPlus:r3,LucideListMinus:s3,LucideListMusic:l3,LucideListOrdered:h3,LucideListPlus:u3,LucideListRestart:p3,LucideListStart:y3,LucideListTodo:k3,LucideListTree:m3,LucideListVideo:f3,LucideListX:g3,LucideLoader:x3,LucideLoader2:Vn,LucideLoaderCircle:Vn,LucideLoaderPinwheel:M3,LucideLocate:I3,LucideLocateFixed:_3,LucideLocateOff:L3,LucideLocationEdit:Dn,LucideLock:w3,LucideLockKeyhole:b3,LucideLockKeyholeOpen:Pn,LucideLockOpen:Tn,LucideLogIn:C3,LucideLogOut:N3,LucideLogs:j3,LucideLollipop:S3,LucideLuggage:$3,LucideMSquare:Eo,LucideMagnet:q3,LucideMail:D3,LucideMailCheck:A3,LucideMailMinus:z3,LucideMailOpen:V3,LucideMailPlus:P3,LucideMailQuestion:Hn,LucideMailQuestionMark:Hn,LucideMailSearch:T3,LucideMailWarning:H3,LucideMailX:B3,LucideMailbox:R3,LucideMails:F3,LucideMap:nm,LucideMapMinus:E3,LucideMapPin:em,LucideMapPinCheck:O3,LucideMapPinCheckInside:U3,LucideMapPinHouse:W3,LucideMapPinMinus:K3,LucideMapPinMinusInside:G3,LucideMapPinOff:Z3,LucideMapPinPen:Dn,LucideMapPinPlus:Y3,LucideMapPinPlusInside:X3,LucideMapPinX:Q3,LucideMapPinXInside:J3,LucideMapPinned:tm,LucideMapPlus:am,LucideMars:cm,LucideMarsStroke:om,LucideMartini:im,LucideMaximize:dm,LucideMaximize2:rm,LucideMedal:sm,LucideMegaphone:hm,LucideMegaphoneOff:lm,LucideMeh:um,LucideMemoryStick:pm,LucideMenu:a1,LucideMenuSquare:Oo,LucideMerge:ym,LucideMessageCircle:Im,LucideMessageCircleCode:km,LucideMessageCircleDashed:mm,LucideMessageCircleHeart:fm,LucideMessageCircleMore:gm,LucideMessageCircleOff:vm,LucideMessageCirclePlus:Mm,LucideMessageCircleQuestion:Bn,LucideMessageCircleQuestionMark:Bn,LucideMessageCircleReply:xm,LucideMessageCircleWarning:_m,LucideMessageCircleX:Lm,LucideMessageSquare:Bm,LucideMessageSquareCode:bm,LucideMessageSquareDashed:wm,LucideMessageSquareDiff:Cm,LucideMessageSquareDot:Nm,LucideMessageSquareHeart:jm,LucideMessageSquareLock:Sm,LucideMessageSquareMore:$m,LucideMessageSquareOff:qm,LucideMessageSquarePlus:Am,LucideMessageSquareQuote:zm,LucideMessageSquareReply:Vm,LucideMessageSquareShare:Pm,LucideMessageSquareText:Tm,LucideMessageSquareWarning:Hm,LucideMessageSquareX:Dm,LucideMessagesSquare:Rm,LucideMic:Em,LucideMic2:Rn,LucideMicOff:Fm,LucideMicVocal:Rn,LucideMicrochip:Om,LucideMicroscope:Um,LucideMicrowave:Wm,LucideMilestone:Gm,LucideMilk:Zm,LucideMilkOff:Km,LucideMinimize:Ym,LucideMinimize2:Xm,LucideMinus:Jm,LucideMinusCircle:Ta,LucideMinusSquare:Uo,LucideMonitor:h6,LucideMonitorCheck:Qm,LucideMonitorCog:e6,LucideMonitorDot:t6,LucideMonitorDown:a6,LucideMonitorOff:n6,LucideMonitorPause:c6,LucideMonitorPlay:o6,LucideMonitorSmartphone:i6,LucideMonitorSpeaker:r6,LucideMonitorStop:s6,LucideMonitorUp:d6,LucideMonitorX:l6,LucideMoon:p6,LucideMoonStar:u6,LucideMoreHorizontal:rn,LucideMoreVertical:cn,LucideMountain:k6,LucideMountainSnow:y6,LucideMouse:x6,LucideMouseOff:m6,LucideMousePointer:v6,LucideMousePointer2:f6,LucideMousePointerBan:g6,LucideMousePointerClick:M6,LucideMousePointerSquareDashed:Vo,LucideMove:a.Move,LucideMove3D:Fn,LucideMove3d:Fn,LucideMoveDiagonal:L6,LucideMoveDiagonal2:_6,LucideMoveDown:C6,LucideMoveDownLeft:I6,LucideMoveDownRight:b6,LucideMoveHorizontal:w6,LucideMoveLeft:N6,LucideMoveRight:j6,LucideMoveUp:q6,LucideMoveUpLeft:S6,LucideMoveUpRight:$6,LucideMoveVertical:A6,LucideMusic:T6,LucideMusic2:z6,LucideMusic3:V6,LucideMusic4:P6,LucideNavigation:R6,LucideNavigation2:D6,LucideNavigation2Off:H6,LucideNavigationOff:B6,LucideNetwork:F6,LucideNewspaper:E6,LucideNfc:O6,LucideNonBinary:U6,LucideNotebook:Z6,LucideNotebookPen:W6,LucideNotebookTabs:G6,LucideNotebookText:K6,LucideNotepadText:Y6,LucideNotepadTextDashed:X6,LucideNut:Q6,LucideNutOff:J6,LucideOctagon:t8,LucideOctagonAlert:En,LucideOctagonMinus:e8,LucideOctagonPause:On,LucideOctagonX:Un,LucideOmega:a8,LucideOption:n8,LucideOrbit:o8,LucideOrigami:c8,LucideOutdent:$n,LucidePackage:p8,LucidePackage2:i8,LucidePackageCheck:r8,LucidePackageMinus:s8,LucidePackageOpen:d8,LucidePackagePlus:l8,LucidePackageSearch:h8,LucidePackageX:u8,LucidePaintBucket:y8,LucidePaintRoller:k8,LucidePaintbrush:m8,LucidePaintbrush2:Wn,LucidePaintbrushVertical:Wn,LucidePalette:f8,LucidePalmtree:pc,LucidePanda:g8,LucidePanelBottom:x8,LucidePanelBottomClose:v8,LucidePanelBottomDashed:Gn,LucidePanelBottomInactive:Gn,LucidePanelBottomOpen:M8,LucidePanelLeft:Yn,LucidePanelLeftClose:Kn,LucidePanelLeftDashed:Zn,LucidePanelLeftInactive:Zn,LucidePanelLeftOpen:Xn,LucidePanelRight:I8,LucidePanelRightClose:_8,LucidePanelRightDashed:Jn,LucidePanelRightInactive:Jn,LucidePanelRightOpen:L8,LucidePanelTop:C8,LucidePanelTopClose:b8,LucidePanelTopDashed:Qn,LucidePanelTopInactive:Qn,LucidePanelTopOpen:w8,LucidePanelsLeftBottom:N8,LucidePanelsLeftRight:tn,LucidePanelsRightBottom:j8,LucidePanelsTopBottom:co,LucidePanelsTopLeft:eo,LucidePaperclip:S8,LucideParentheses:$8,LucideParkingCircle:Ba,LucideParkingCircleOff:Ha,LucideParkingMeter:q8,LucideParkingSquare:Ko,LucideParkingSquareOff:Wo,LucidePartyPopper:A8,LucidePause:z8,LucidePauseCircle:Da,LucidePauseOctagon:On,LucidePawPrint:V8,LucidePcCase:P8,LucidePen:gt,LucidePenBox:Fe,LucidePenLine:ft,LucidePenOff:H8,LucidePenSquare:Fe,LucidePenTool:T8,LucidePencil:n1,LucidePencilLine:D8,LucidePencilOff:B8,LucidePencilRuler:R8,LucidePentagon:F8,LucidePercent:E8,LucidePercentCircle:Ra,LucidePercentDiamond:nn,LucidePercentSquare:Zo,LucidePersonStanding:U8,LucidePhilippinePeso:O8,LucidePhone:Y8,LucidePhoneCall:W8,LucidePhoneForwarded:G8,LucidePhoneIncoming:K8,LucidePhoneMissed:Z8,LucidePhoneOff:X8,LucidePhoneOutgoing:J8,LucidePi:Q8,LucidePiSquare:Xo,LucidePiano:ef,LucidePickaxe:tf,LucidePictureInPicture:nf,LucidePictureInPicture2:af,LucidePieChart:ga,LucidePiggyBank:of,LucidePilcrow:rf,LucidePilcrowLeft:cf,LucidePilcrowRight:sf,LucidePilcrowSquare:Yo,LucidePill:lf,LucidePillBottle:df,LucidePin:uf,LucidePinOff:hf,LucidePipette:pf,LucidePizza:yf,LucidePlane:ff,LucidePlaneLanding:kf,LucidePlaneTakeoff:mf,LucidePlay:gf,LucidePlayCircle:Fa,LucidePlaySquare:Jo,LucidePlug:Mf,LucidePlug2:vf,LucidePlugZap:to,LucidePlugZap2:to,LucidePlus:Ac,LucidePlusCircle:Ea,LucidePlusSquare:Qo,LucidePocket:_f,LucidePocketKnife:xf,LucidePodcast:Lf,LucidePointer:bf,LucidePointerOff:If,LucidePopcorn:Cf,LucidePopsicle:wf,LucidePoundSterling:Nf,LucidePower:Sf,LucidePowerCircle:Oa,LucidePowerOff:jf,LucidePowerSquare:ec,LucidePresentation:$f,LucidePrinter:Af,LucidePrinterCheck:qf,LucideProjector:zf,LucideProportions:Vf,LucidePuzzle:Tf,LucidePyramid:Pf,LucideQrCode:Hf,LucideQuote:Df,LucideRabbit:Bf,LucideRadar:Rf,LucideRadiation:Ff,LucideRadical:Ef,LucideRadio:Wf,LucideRadioReceiver:Of,LucideRadioTower:Uf,LucideRadius:Gf,LucideRailSymbol:Kf,LucideRainbow:Zf,LucideRat:Xf,LucideRatio:Yf,LucideReceipt:rg,LucideReceiptCent:Jf,LucideReceiptEuro:eg,LucideReceiptIndianRupee:Qf,LucideReceiptJapaneseYen:tg,LucideReceiptPoundSterling:ag,LucideReceiptRussianRuble:ng,LucideReceiptSwissFranc:og,LucideReceiptText:cg,LucideReceiptTurkishLira:ig,LucideRectangleCircle:sg,LucideRectangleEllipsis:ao,LucideRectangleGoggles:dg,LucideRectangleHorizontal:lg,LucideRectangleVertical:hg,LucideRecycle:ug,LucideRedo:kg,LucideRedo2:pg,LucideRedoDot:yg,LucideRefreshCcw:fg,LucideRefreshCcwDot:mg,LucideRefreshCw:vg,LucideRefreshCwOff:gg,LucideRefrigerator:Mg,LucideRegex:xg,LucideRemoveFormatting:_g,LucideRepeat:bg,LucideRepeat1:Lg,LucideRepeat2:Ig,LucideReplace:Cg,LucideReplaceAll:wg,LucideReply:Sg,LucideReplyAll:Ng,LucideRewind:jg,LucideRibbon:$g,LucideRocket:qg,LucideRockingChair:Vg,LucideRollerCoaster:Ag,LucideRose:zg,LucideRotate3D:no,LucideRotate3d:no,LucideRotateCcw:Hg,LucideRotateCcwKey:Pg,LucideRotateCcwSquare:Tg,LucideRotateCw:Bg,LucideRotateCwSquare:Dg,LucideRoute:Fg,LucideRouteOff:Rg,LucideRouter:Eg,LucideRows:oo,LucideRows2:oo,LucideRows3:co,LucideRows4:Og,LucideRss:Ug,LucideRuler:Gg,LucideRulerDimensionLine:Wg,LucideRussianRuble:Kg,LucideSailboat:Zg,LucideSalad:Xg,LucideSandwich:Yg,LucideSatellite:Qg,LucideSatelliteDish:Jg,LucideSaudiRiyal:e7,LucideSave:o7,LucideSaveAll:t7,LucideSaveOff:a7,LucideScale:n7,LucideScale3D:io,LucideScale3d:io,LucideScaling:c7,LucideScan:y7,LucideScanBarcode:i7,LucideScanEye:r7,LucideScanFace:s7,LucideScanHeart:d7,LucideScanLine:l7,LucideScanQrCode:h7,LucideScanSearch:u7,LucideScanText:p7,LucideScatterChart:va,LucideSchool:k7,LucideSchool2:mc,LucideScissors:f7,LucideScissorsLineDashed:m7,LucideScissorsSquare:tc,LucideScissorsSquareDashedBottom:wo,LucideScreenShare:g7,LucideScreenShareOff:v7,LucideScroll:x7,LucideScrollText:M7,LucideSearch:A1,LucideSearchCheck:_7,LucideSearchCode:L7,LucideSearchSlash:I7,LucideSearchX:b7,LucideSection:w7,LucideSend:N7,LucideSendHorizonal:ro,LucideSendHorizontal:ro,LucideSendToBack:C7,LucideSeparatorHorizontal:j7,LucideSeparatorVertical:S7,LucideServer:z7,LucideServerCog:$7,LucideServerCrash:A7,LucideServerOff:q7,LucideSettings:P7,LucideSettings2:V7,LucideShapes:T7,LucideShare:D7,LucideShare2:H7,LucideSheet:B7,LucideShell:R7,LucideShield:Y7,LucideShieldAlert:F7,LucideShieldBan:E7,LucideShieldCheck:O7,LucideShieldClose:lo,LucideShieldEllipsis:U7,LucideShieldHalf:W7,LucideShieldMinus:K7,LucideShieldOff:G7,LucideShieldPlus:Z7,LucideShieldQuestion:so,LucideShieldQuestionMark:so,LucideShieldUser:X7,LucideShieldX:lo,LucideShip:Q7,LucideShipWheel:J7,LucideShirt:ev,LucideShoppingBag:tv,LucideShoppingBasket:av,LucideShoppingCart:nv,LucideShovel:ov,LucideShowerHead:cv,LucideShredder:iv,LucideShrimp:rv,LucideShrink:sv,LucideShrub:dv,LucideShuffle:hv,LucideSidebar:Yn,LucideSidebarClose:Kn,LucideSidebarOpen:Xn,LucideSigma:lv,LucideSigmaSquare:ac,LucideSignal:mv,LucideSignalHigh:uv,LucideSignalLow:pv,LucideSignalMedium:yv,LucideSignalZero:kv,LucideSignature:fv,LucideSignpost:vv,LucideSignpostBig:gv,LucideSiren:Mv,LucideSkipBack:xv,LucideSkipForward:_v,LucideSkull:Lv,LucideSlack:Iv,LucideSlash:bv,LucideSlashSquare:nc,LucideSlice:wv,LucideSliders:ho,LucideSlidersHorizontal:Cv,LucideSlidersVertical:ho,LucideSmartphone:Sv,LucideSmartphoneCharging:Nv,LucideSmartphoneNfc:jv,LucideSmile:qv,LucideSmilePlus:$v,LucideSnail:Av,LucideSnowflake:zv,LucideSoapDispenserDroplet:Vv,LucideSofa:Pv,LucideSortAsc:Yt,LucideSortDesc:Kt,LucideSoup:Tv,LucideSpace:Hv,LucideSpade:Dv,LucideSparkle:Bv,LucideSparkles:uo,LucideSpeaker:Rv,LucideSpeech:Fv,LucideSpellCheck:Ov,LucideSpellCheck2:Ev,LucideSpline:Wv,LucideSplinePointer:Uv,LucideSplit:Gv,LucideSplitSquareHorizontal:oc,LucideSplitSquareVertical:cc,LucideSpool:Kv,LucideSpotlight:Zv,LucideSprayCan:Xv,LucideSprout:Yv,LucideSquare:s9,LucideSquareActivity:$t,LucideSquareArrowDown:ko,LucideSquareArrowDownLeft:po,LucideSquareArrowDownRight:yo,LucideSquareArrowLeft:mo,LucideSquareArrowOutDownLeft:fo,LucideSquareArrowOutDownRight:go,LucideSquareArrowOutUpLeft:vo,LucideSquareArrowOutUpRight:Mo,LucideSquareArrowRight:xo,LucideSquareArrowUp:Io,LucideSquareArrowUpLeft:_o,LucideSquareArrowUpRight:Lo,LucideSquareAsterisk:bo,LucideSquareBottomDashedScissors:wo,LucideSquareChartGantt:dt,LucideSquareCheck:No,LucideSquareCheckBig:Co,LucideSquareChevronDown:jo,LucideSquareChevronLeft:So,LucideSquareChevronRight:$o,LucideSquareChevronUp:qo,LucideSquareCode:Ao,LucideSquareDashed:Po,LucideSquareDashedBottom:Qv,LucideSquareDashedBottomCode:Jv,LucideSquareDashedKanban:zo,LucideSquareDashedMousePointer:Vo,LucideSquareDashedTopSolid:e9,LucideSquareDivide:To,LucideSquareDot:Do,LucideSquareEqual:Ho,LucideSquareFunction:Bo,LucideSquareGanttChart:dt,LucideSquareKanban:Ro,LucideSquareLibrary:Fo,LucideSquareM:Eo,LucideSquareMenu:Oo,LucideSquareMinus:Uo,LucideSquareMousePointer:Go,LucideSquareParking:Ko,LucideSquareParkingOff:Wo,LucideSquarePause:t9,LucideSquarePen:Fe,LucideSquarePercent:Zo,LucideSquarePi:Xo,LucideSquarePilcrow:Yo,LucideSquarePlay:Jo,LucideSquarePlus:Qo,LucideSquarePower:ec,LucideSquareRadical:a9,LucideSquareRoundCorner:n9,LucideSquareScissors:tc,LucideSquareSigma:ac,LucideSquareSlash:nc,LucideSquareSplitHorizontal:oc,LucideSquareSplitVertical:cc,LucideSquareSquare:o9,LucideSquareStack:c9,LucideSquareStar:i9,LucideSquareStop:r9,LucideSquareTerminal:ic,LucideSquareUser:sc,LucideSquareUserRound:rc,LucideSquareX:dc,LucideSquaresExclude:d9,LucideSquaresIntersect:l9,LucideSquaresSubtract:h9,LucideSquaresUnite:u9,LucideSquircle:y9,LucideSquircleDashed:p9,LucideSquirrel:k9,LucideStamp:m9,LucideStar:M9,LucideStarHalf:f9,LucideStarOff:g9,LucideStars:uo,LucideStepBack:v9,LucideStepForward:x9,LucideStethoscope:_9,LucideSticker:L9,LucideStickyNote:I9,LucideStopCircle:Wa,LucideStore:b9,LucideStretchHorizontal:w9,LucideStretchVertical:C9,LucideStrikethrough:N9,LucideSubscript:j9,LucideSubtitles:ia,LucideSun:V9,LucideSunDim:S9,LucideSunMedium:$9,LucideSunMoon:q9,LucideSunSnow:A9,LucideSunrise:z9,LucideSunset:P9,LucideSuperscript:T9,LucideSwatchBook:H9,LucideSwissFranc:D9,LucideSwitchCamera:B9,LucideSword:R9,LucideSwords:E9,LucideSyringe:F9,LucideTable:Y9,LucideTable2:O9,LucideTableCellsMerge:U9,LucideTableCellsSplit:W9,LucideTableColumnsSplit:G9,LucideTableConfig:rt,LucideTableOfContents:K9,LucideTableProperties:Z9,LucideTableRowsSplit:X9,LucideTablet:Q9,LucideTabletSmartphone:J9,LucideTablets:eM,LucideTag:tM,LucideTags:aM,LucideTally1:nM,LucideTally2:oM,LucideTally3:cM,LucideTally4:iM,LucideTally5:rM,LucideTangent:sM,LucideTarget:dM,LucideTelescope:lM,LucideTent:uM,LucideTentTree:hM,LucideTerminal:pM,LucideTerminalSquare:ic,LucideTestTube:yM,LucideTestTube2:lc,LucideTestTubeDiagonal:lc,LucideTestTubes:kM,LucideText:MM,LucideTextCursor:fM,LucideTextCursorInput:mM,LucideTextQuote:gM,LucideTextSearch:vM,LucideTextSelect:hc,LucideTextSelection:hc,LucideTheater:xM,LucideThermometer:bM,LucideThermometerSnowflake:_M,LucideThermometerSun:LM,LucideThumbsDown:IM,LucideThumbsUp:wM,LucideTicket:AM,LucideTicketCheck:CM,LucideTicketMinus:NM,LucideTicketPercent:jM,LucideTicketPlus:SM,LucideTicketSlash:$M,LucideTicketX:qM,LucideTickets:VM,LucideTicketsPlane:zM,LucideTimer:HM,LucideTimerOff:PM,LucideTimerReset:TM,LucideToggleLeft:DM,LucideToggleRight:BM,LucideToilet:RM,LucideToolCase:FM,LucideTornado:OM,LucideTorus:EM,LucideTouchpad:WM,LucideTouchpadOff:UM,LucideTowerControl:KM,LucideToyBrick:GM,LucideTractor:ZM,LucideTrafficCone:XM,LucideTrain:uc,LucideTrainFront:JM,LucideTrainFrontTunnel:YM,LucideTrainTrack:QM,LucideTramFront:uc,LucideTransgender:ex,LucideTrash:tx,LucideTrash2:lt,LucideTreeDeciduous:ax,LucideTreePalm:pc,LucideTreePine:nx,LucideTrees:ox,LucideTrello:cx,LucideTrendingDown:ix,LucideTrendingUp:rx,LucideTrendingUpDown:sx,LucideTriangle:lx,LucideTriangleAlert:yc,LucideTriangleDashed:dx,LucideTriangleRight:hx,LucideTrophy:ux,LucideTruck:yx,LucideTruckElectric:px,LucideTurkishLira:kx,LucideTurntable:mx,LucideTurtle:fx,LucideTv:vx,LucideTv2:kc,LucideTvMinimal:kc,LucideTvMinimalPlay:gx,LucideTwitch:Mx,LucideTwitter:xx,LucideType:Lx,LucideTypeOutline:_x,LucideUmbrella:bx,LucideUmbrellaOff:Ix,LucideUnderline:wx,LucideUndo:jx,LucideUndo2:Cx,LucideUndoDot:Nx,LucideUnfoldHorizontal:Sx,LucideUnfoldVertical:$x,LucideUngroup:qx,LucideUniversity:mc,LucideUnlink:Px,LucideUnlink2:Ax,LucideUnlock:Tn,LucideUnlockKeyhole:Pn,LucideUnplug:zx,LucideUpload:Vx,LucideUploadCloud:Ja,LucideUsb:Tx,LucideUser:Kx,LucideUser2:_c,LucideUserCheck:Hx,LucideUserCheck2:fc,LucideUserCircle:Ka,LucideUserCircle2:Ga,LucideUserCog:Dx,LucideUserCog2:gc,LucideUserLock:Bx,LucideUserMinus:Rx,LucideUserMinus2:vc,LucideUserPen:Fx,LucideUserPlus:z1,LucideUserPlus2:Mc,LucideUserRound:_c,LucideUserRoundCheck:fc,LucideUserRoundCog:gc,LucideUserRoundMinus:vc,LucideUserRoundPen:Ex,LucideUserRoundPlus:Mc,LucideUserRoundSearch:Ox,LucideUserRoundX:xc,LucideUserSearch:Ux,LucideUserSquare:sc,LucideUserSquare2:rc,LucideUserStar:Wx,LucideUserX:Gx,LucideUserX2:xc,LucideUsers:Zx,LucideUsers2:Lc,LucideUsersRound:Lc,LucideUtensils:bc,LucideUtensilsCrossed:Ic,LucideUtilityPole:Xx,LucideVariable:Yx,LucideVault:Jx,LucideVectorSquare:Qx,LucideVegan:e_,LucideVenetianMask:t_,LucideVenus:c_,LucideVenusAndMars:a_,LucideVerified:ea,LucideVibrate:o_,LucideVibrateOff:n_,LucideVideo:r_,LucideVideoOff:i_,LucideVideotape:s_,LucideView:l_,LucideVoicemail:d_,LucideVolleyball:h_,LucideVolume:f_,LucideVolume1:u_,LucideVolume2:p_,LucideVolumeOff:y_,LucideVolumeX:k_,LucideVote:m_,LucideWallet:v_,LucideWallet2:wc,LucideWalletCards:g_,LucideWalletMinimal:wc,LucideWallpaper:M_,LucideWand:x_,LucideWand2:Cc,LucideWandSparkles:Cc,LucideWarehouse:__,LucideWashingMachine:L_,LucideWatch:I_,LucideWaves:w_,LucideWavesLadder:b_,LucideWaypoints:C_,LucideWebcam:N_,LucideWebhook:$_,LucideWebhookOff:j_,LucideWeight:S_,LucideWheat:A_,LucideWheatOff:q_,LucideWholeWord:z_,LucideWifi:F_,LucideWifiCog:V_,LucideWifiHigh:P_,LucideWifiLow:T_,LucideWifiOff:H_,LucideWifiPen:D_,LucideWifiSync:B_,LucideWifiZero:R_,LucideWind:O_,LucideWindArrowDown:E_,LucideWine:W_,LucideWineOff:U_,LucideWorkflow:G_,LucideWorm:K_,LucideWrapText:Z_,LucideWrench:X_,LucideX:Xe,LucideXCircle:Nt,LucideXOctagon:Un,LucideXSquare:dc,LucideYoutube:J_,LucideZap:Q_,LucideZapOff:Y_,LucideZoomIn:eL,LucideZoomOut:tL,Luggage:$3,LuggageIcon:$3,MSquare:Eo,MSquareIcon:Eo,Magnet:q3,MagnetIcon:q3,Mail:D3,MailCheck:A3,MailCheckIcon:A3,MailIcon:D3,MailMinus:z3,MailMinusIcon:z3,MailOpen:V3,MailOpenIcon:V3,MailPlus:P3,MailPlusIcon:P3,MailQuestion:Hn,MailQuestionIcon:Hn,MailQuestionMark:Hn,MailQuestionMarkIcon:Hn,MailSearch:T3,MailSearchIcon:T3,MailWarning:H3,MailWarningIcon:H3,MailX:B3,MailXIcon:B3,Mailbox:R3,MailboxIcon:R3,Mails:F3,MailsIcon:F3,Map:nm,MapIcon:nm,MapMinus:E3,MapMinusIcon:E3,MapPin:em,MapPinCheck:O3,MapPinCheckIcon:O3,MapPinCheckInside:U3,MapPinCheckInsideIcon:U3,MapPinHouse:W3,MapPinHouseIcon:W3,MapPinIcon:em,MapPinMinus:K3,MapPinMinusIcon:K3,MapPinMinusInside:G3,MapPinMinusInsideIcon:G3,MapPinOff:Z3,MapPinOffIcon:Z3,MapPinPen:Dn,MapPinPenIcon:Dn,MapPinPlus:Y3,MapPinPlusIcon:Y3,MapPinPlusInside:X3,MapPinPlusInsideIcon:X3,MapPinX:Q3,MapPinXIcon:Q3,MapPinXInside:J3,MapPinXInsideIcon:J3,MapPinned:tm,MapPinnedIcon:tm,MapPlus:am,MapPlusIcon:am,Mars:cm,MarsIcon:cm,MarsStroke:om,MarsStrokeIcon:om,Martini:im,MartiniIcon:im,Maximize:dm,Maximize2:rm,Maximize2Icon:rm,MaximizeIcon:dm,Medal:sm,MedalIcon:sm,Megaphone:hm,MegaphoneIcon:hm,MegaphoneOff:lm,MegaphoneOffIcon:lm,Meh:um,MehIcon:um,MemoryStick:pm,MemoryStickIcon:pm,Menu:a1,MenuIcon:a1,MenuSquare:Oo,MenuSquareIcon:Oo,Merge:ym,MergeIcon:ym,MessageCircle:Im,MessageCircleCode:km,MessageCircleCodeIcon:km,MessageCircleDashed:mm,MessageCircleDashedIcon:mm,MessageCircleHeart:fm,MessageCircleHeartIcon:fm,MessageCircleIcon:Im,MessageCircleMore:gm,MessageCircleMoreIcon:gm,MessageCircleOff:vm,MessageCircleOffIcon:vm,MessageCirclePlus:Mm,MessageCirclePlusIcon:Mm,MessageCircleQuestion:Bn,MessageCircleQuestionIcon:Bn,MessageCircleQuestionMark:Bn,MessageCircleQuestionMarkIcon:Bn,MessageCircleReply:xm,MessageCircleReplyIcon:xm,MessageCircleWarning:_m,MessageCircleWarningIcon:_m,MessageCircleX:Lm,MessageCircleXIcon:Lm,MessageSquare:Bm,MessageSquareCode:bm,MessageSquareCodeIcon:bm,MessageSquareDashed:wm,MessageSquareDashedIcon:wm,MessageSquareDiff:Cm,MessageSquareDiffIcon:Cm,MessageSquareDot:Nm,MessageSquareDotIcon:Nm,MessageSquareHeart:jm,MessageSquareHeartIcon:jm,MessageSquareIcon:Bm,MessageSquareLock:Sm,MessageSquareLockIcon:Sm,MessageSquareMore:$m,MessageSquareMoreIcon:$m,MessageSquareOff:qm,MessageSquareOffIcon:qm,MessageSquarePlus:Am,MessageSquarePlusIcon:Am,MessageSquareQuote:zm,MessageSquareQuoteIcon:zm,MessageSquareReply:Vm,MessageSquareReplyIcon:Vm,MessageSquareShare:Pm,MessageSquareShareIcon:Pm,MessageSquareText:Tm,MessageSquareTextIcon:Tm,MessageSquareWarning:Hm,MessageSquareWarningIcon:Hm,MessageSquareX:Dm,MessageSquareXIcon:Dm,MessagesSquare:Rm,MessagesSquareIcon:Rm,Mic:Em,Mic2:Rn,Mic2Icon:Rn,MicIcon:Em,MicOff:Fm,MicOffIcon:Fm,MicVocal:Rn,MicVocalIcon:Rn,Microchip:Om,MicrochipIcon:Om,Microscope:Um,MicroscopeIcon:Um,Microwave:Wm,MicrowaveIcon:Wm,Milestone:Gm,MilestoneIcon:Gm,Milk:Zm,MilkIcon:Zm,MilkOff:Km,MilkOffIcon:Km,Minimize:Ym,Minimize2:Xm,Minimize2Icon:Xm,MinimizeIcon:Ym,Minus:Jm,MinusCircle:Ta,MinusCircleIcon:Ta,MinusIcon:Jm,MinusSquare:Uo,MinusSquareIcon:Uo,Monitor:h6,MonitorCheck:Qm,MonitorCheckIcon:Qm,MonitorCog:e6,MonitorCogIcon:e6,MonitorDot:t6,MonitorDotIcon:t6,MonitorDown:a6,MonitorDownIcon:a6,MonitorIcon:h6,MonitorOff:n6,MonitorOffIcon:n6,MonitorPause:c6,MonitorPauseIcon:c6,MonitorPlay:o6,MonitorPlayIcon:o6,MonitorSmartphone:i6,MonitorSmartphoneIcon:i6,MonitorSpeaker:r6,MonitorSpeakerIcon:r6,MonitorStop:s6,MonitorStopIcon:s6,MonitorUp:d6,MonitorUpIcon:d6,MonitorX:l6,MonitorXIcon:l6,Moon:p6,MoonIcon:p6,MoonStar:u6,MoonStarIcon:u6,MoreHorizontal:rn,MoreHorizontalIcon:rn,MoreVertical:cn,MoreVerticalIcon:cn,Mountain:k6,MountainIcon:k6,MountainSnow:y6,MountainSnowIcon:y6,Mouse:x6,MouseIcon:x6,MouseOff:m6,MouseOffIcon:m6,MousePointer:v6,MousePointer2:f6,MousePointer2Icon:f6,MousePointerBan:g6,MousePointerBanIcon:g6,MousePointerClick:M6,MousePointerClickIcon:M6,MousePointerIcon:v6,MousePointerSquareDashed:Vo,MousePointerSquareDashedIcon:Vo,Move:a.Move,Move3D:Fn,Move3DIcon:Fn,Move3d:Fn,Move3dIcon:Fn,MoveDiagonal:L6,MoveDiagonal2:_6,MoveDiagonal2Icon:_6,MoveDiagonalIcon:L6,MoveDown:C6,MoveDownIcon:C6,MoveDownLeft:I6,MoveDownLeftIcon:I6,MoveDownRight:b6,MoveDownRightIcon:b6,MoveHorizontal:w6,MoveHorizontalIcon:w6,MoveIcon:a.Move,MoveLeft:N6,MoveLeftIcon:N6,MoveRight:j6,MoveRightIcon:j6,MoveUp:q6,MoveUpIcon:q6,MoveUpLeft:S6,MoveUpLeftIcon:S6,MoveUpRight:$6,MoveUpRightIcon:$6,MoveVertical:A6,MoveVerticalIcon:A6,Music:T6,Music2:z6,Music2Icon:z6,Music3:V6,Music3Icon:V6,Music4:P6,Music4Icon:P6,MusicIcon:T6,Navigation:R6,Navigation2:D6,Navigation2Icon:D6,Navigation2Off:H6,Navigation2OffIcon:H6,NavigationIcon:R6,NavigationOff:B6,NavigationOffIcon:B6,Network:F6,NetworkIcon:F6,Newspaper:E6,NewspaperIcon:E6,Nfc:O6,NfcIcon:O6,NonBinary:U6,NonBinaryIcon:U6,Notebook:Z6,NotebookIcon:Z6,NotebookPen:W6,NotebookPenIcon:W6,NotebookTabs:G6,NotebookTabsIcon:G6,NotebookText:K6,NotebookTextIcon:K6,NotepadText:Y6,NotepadTextDashed:X6,NotepadTextDashedIcon:X6,NotepadTextIcon:Y6,Nut:Q6,NutIcon:Q6,NutOff:J6,NutOffIcon:J6,Octagon:t8,OctagonAlert:En,OctagonAlertIcon:En,OctagonIcon:t8,OctagonMinus:e8,OctagonMinusIcon:e8,OctagonPause:On,OctagonPauseIcon:On,OctagonX:Un,OctagonXIcon:Un,Omega:a8,OmegaIcon:a8,Option:n8,OptionIcon:n8,Orbit:o8,OrbitIcon:o8,Origami:c8,OrigamiIcon:c8,Outdent:$n,OutdentIcon:$n,Package:p8,Package2:i8,Package2Icon:i8,PackageCheck:r8,PackageCheckIcon:r8,PackageIcon:p8,PackageMinus:s8,PackageMinusIcon:s8,PackageOpen:d8,PackageOpenIcon:d8,PackagePlus:l8,PackagePlusIcon:l8,PackageSearch:h8,PackageSearchIcon:h8,PackageX:u8,PackageXIcon:u8,PaintBucket:y8,PaintBucketIcon:y8,PaintRoller:k8,PaintRollerIcon:k8,Paintbrush:m8,Paintbrush2:Wn,Paintbrush2Icon:Wn,PaintbrushIcon:m8,PaintbrushVertical:Wn,PaintbrushVerticalIcon:Wn,Palette:f8,PaletteIcon:f8,Palmtree:pc,PalmtreeIcon:pc,Panda:g8,PandaIcon:g8,PanelBottom:x8,PanelBottomClose:v8,PanelBottomCloseIcon:v8,PanelBottomDashed:Gn,PanelBottomDashedIcon:Gn,PanelBottomIcon:x8,PanelBottomInactive:Gn,PanelBottomInactiveIcon:Gn,PanelBottomOpen:M8,PanelBottomOpenIcon:M8,PanelLeft:Yn,PanelLeftClose:Kn,PanelLeftCloseIcon:Kn,PanelLeftDashed:Zn,PanelLeftDashedIcon:Zn,PanelLeftIcon:Yn,PanelLeftInactive:Zn,PanelLeftInactiveIcon:Zn,PanelLeftOpen:Xn,PanelLeftOpenIcon:Xn,PanelRight:I8,PanelRightClose:_8,PanelRightCloseIcon:_8,PanelRightDashed:Jn,PanelRightDashedIcon:Jn,PanelRightIcon:I8,PanelRightInactive:Jn,PanelRightInactiveIcon:Jn,PanelRightOpen:L8,PanelRightOpenIcon:L8,PanelTop:C8,PanelTopClose:b8,PanelTopCloseIcon:b8,PanelTopDashed:Qn,PanelTopDashedIcon:Qn,PanelTopIcon:C8,PanelTopInactive:Qn,PanelTopInactiveIcon:Qn,PanelTopOpen:w8,PanelTopOpenIcon:w8,PanelsLeftBottom:N8,PanelsLeftBottomIcon:N8,PanelsLeftRight:tn,PanelsLeftRightIcon:tn,PanelsRightBottom:j8,PanelsRightBottomIcon:j8,PanelsTopBottom:co,PanelsTopBottomIcon:co,PanelsTopLeft:eo,PanelsTopLeftIcon:eo,Paperclip:S8,PaperclipIcon:S8,Parentheses:$8,ParenthesesIcon:$8,ParkingCircle:Ba,ParkingCircleIcon:Ba,ParkingCircleOff:Ha,ParkingCircleOffIcon:Ha,ParkingMeter:q8,ParkingMeterIcon:q8,ParkingSquare:Ko,ParkingSquareIcon:Ko,ParkingSquareOff:Wo,ParkingSquareOffIcon:Wo,PartyPopper:A8,PartyPopperIcon:A8,Pause:z8,PauseCircle:Da,PauseCircleIcon:Da,PauseIcon:z8,PauseOctagon:On,PauseOctagonIcon:On,PawPrint:V8,PawPrintIcon:V8,PcCase:P8,PcCaseIcon:P8,Pen:gt,PenBox:Fe,PenBoxIcon:Fe,PenIcon:gt,PenLine:ft,PenLineIcon:ft,PenOff:H8,PenOffIcon:H8,PenSquare:Fe,PenSquareIcon:Fe,PenTool:T8,PenToolIcon:T8,Pencil:n1,PencilIcon:n1,PencilLine:D8,PencilLineIcon:D8,PencilOff:B8,PencilOffIcon:B8,PencilRuler:R8,PencilRulerIcon:R8,Pentagon:F8,PentagonIcon:F8,Percent:E8,PercentCircle:Ra,PercentCircleIcon:Ra,PercentDiamond:nn,PercentDiamondIcon:nn,PercentIcon:E8,PercentSquare:Zo,PercentSquareIcon:Zo,PersonStanding:U8,PersonStandingIcon:U8,PhilippinePeso:O8,PhilippinePesoIcon:O8,Phone:Y8,PhoneCall:W8,PhoneCallIcon:W8,PhoneForwarded:G8,PhoneForwardedIcon:G8,PhoneIcon:Y8,PhoneIncoming:K8,PhoneIncomingIcon:K8,PhoneMissed:Z8,PhoneMissedIcon:Z8,PhoneOff:X8,PhoneOffIcon:X8,PhoneOutgoing:J8,PhoneOutgoingIcon:J8,Pi:Q8,PiIcon:Q8,PiSquare:Xo,PiSquareIcon:Xo,Piano:ef,PianoIcon:ef,Pickaxe:tf,PickaxeIcon:tf,PictureInPicture:nf,PictureInPicture2:af,PictureInPicture2Icon:af,PictureInPictureIcon:nf,PieChart:ga,PieChartIcon:ga,PiggyBank:of,PiggyBankIcon:of,Pilcrow:rf,PilcrowIcon:rf,PilcrowLeft:cf,PilcrowLeftIcon:cf,PilcrowRight:sf,PilcrowRightIcon:sf,PilcrowSquare:Yo,PilcrowSquareIcon:Yo,Pill:lf,PillBottle:df,PillBottleIcon:df,PillIcon:lf,Pin:uf,PinIcon:uf,PinOff:hf,PinOffIcon:hf,Pipette:pf,PipetteIcon:pf,Pizza:yf,PizzaIcon:yf,Plane:ff,PlaneIcon:ff,PlaneLanding:kf,PlaneLandingIcon:kf,PlaneTakeoff:mf,PlaneTakeoffIcon:mf,Play:gf,PlayCircle:Fa,PlayCircleIcon:Fa,PlayIcon:gf,PlaySquare:Jo,PlaySquareIcon:Jo,Plug:Mf,Plug2:vf,Plug2Icon:vf,PlugIcon:Mf,PlugZap:to,PlugZap2:to,PlugZap2Icon:to,PlugZapIcon:to,Plus:Ac,PlusCircle:Ea,PlusCircleIcon:Ea,PlusIcon:Ac,PlusSquare:Qo,PlusSquareIcon:Qo,Pocket:_f,PocketIcon:_f,PocketKnife:xf,PocketKnifeIcon:xf,Podcast:Lf,PodcastIcon:Lf,Pointer:bf,PointerIcon:bf,PointerOff:If,PointerOffIcon:If,Popcorn:Cf,PopcornIcon:Cf,Popsicle:wf,PopsicleIcon:wf,PoundSterling:Nf,PoundSterlingIcon:Nf,Power:Sf,PowerCircle:Oa,PowerCircleIcon:Oa,PowerIcon:Sf,PowerOff:jf,PowerOffIcon:jf,PowerSquare:ec,PowerSquareIcon:ec,Presentation:$f,PresentationIcon:$f,Printer:Af,PrinterCheck:qf,PrinterCheckIcon:qf,PrinterIcon:Af,Projector:zf,ProjectorIcon:zf,Proportions:Vf,ProportionsIcon:Vf,Puzzle:Tf,PuzzleIcon:Tf,Pyramid:Pf,PyramidIcon:Pf,QrCode:Hf,QrCodeIcon:Hf,Quote:Df,QuoteIcon:Df,Rabbit:Bf,RabbitIcon:Bf,Radar:Rf,RadarIcon:Rf,Radiation:Ff,RadiationIcon:Ff,Radical:Ef,RadicalIcon:Ef,Radio:Wf,RadioIcon:Wf,RadioReceiver:Of,RadioReceiverIcon:Of,RadioTower:Uf,RadioTowerIcon:Uf,Radius:Gf,RadiusIcon:Gf,RailSymbol:Kf,RailSymbolIcon:Kf,Rainbow:Zf,RainbowIcon:Zf,Rat:Xf,RatIcon:Xf,Ratio:Yf,RatioIcon:Yf,Receipt:rg,ReceiptCent:Jf,ReceiptCentIcon:Jf,ReceiptEuro:eg,ReceiptEuroIcon:eg,ReceiptIcon:rg,ReceiptIndianRupee:Qf,ReceiptIndianRupeeIcon:Qf,ReceiptJapaneseYen:tg,ReceiptJapaneseYenIcon:tg,ReceiptPoundSterling:ag,ReceiptPoundSterlingIcon:ag,ReceiptRussianRuble:ng,ReceiptRussianRubleIcon:ng,ReceiptSwissFranc:og,ReceiptSwissFrancIcon:og,ReceiptText:cg,ReceiptTextIcon:cg,ReceiptTurkishLira:ig,ReceiptTurkishLiraIcon:ig,RectangleCircle:sg,RectangleCircleIcon:sg,RectangleEllipsis:ao,RectangleEllipsisIcon:ao,RectangleGoggles:dg,RectangleGogglesIcon:dg,RectangleHorizontal:lg,RectangleHorizontalIcon:lg,RectangleVertical:hg,RectangleVerticalIcon:hg,Recycle:ug,RecycleIcon:ug,Redo:kg,Redo2:pg,Redo2Icon:pg,RedoDot:yg,RedoDotIcon:yg,RedoIcon:kg,RefreshCcw:fg,RefreshCcwDot:mg,RefreshCcwDotIcon:mg,RefreshCcwIcon:fg,RefreshCw:vg,RefreshCwIcon:vg,RefreshCwOff:gg,RefreshCwOffIcon:gg,Refrigerator:Mg,RefrigeratorIcon:Mg,Regex:xg,RegexIcon:xg,RemoveFormatting:_g,RemoveFormattingIcon:_g,Repeat:bg,Repeat1:Lg,Repeat1Icon:Lg,Repeat2:Ig,Repeat2Icon:Ig,RepeatIcon:bg,Replace:Cg,ReplaceAll:wg,ReplaceAllIcon:wg,ReplaceIcon:Cg,Reply:Sg,ReplyAll:Ng,ReplyAllIcon:Ng,ReplyIcon:Sg,Rewind:jg,RewindIcon:jg,Ribbon:$g,RibbonIcon:$g,Rocket:qg,RocketIcon:qg,RockingChair:Vg,RockingChairIcon:Vg,RollerCoaster:Ag,RollerCoasterIcon:Ag,Rose:zg,RoseIcon:zg,Rotate3D:no,Rotate3DIcon:no,Rotate3d:no,Rotate3dIcon:no,RotateCcw:Hg,RotateCcwIcon:Hg,RotateCcwKey:Pg,RotateCcwKeyIcon:Pg,RotateCcwSquare:Tg,RotateCcwSquareIcon:Tg,RotateCw:Bg,RotateCwIcon:Bg,RotateCwSquare:Dg,RotateCwSquareIcon:Dg,Route:Fg,RouteIcon:Fg,RouteOff:Rg,RouteOffIcon:Rg,Router:Eg,RouterIcon:Eg,Rows:oo,Rows2:oo,Rows2Icon:oo,Rows3:co,Rows3Icon:co,Rows4:Og,Rows4Icon:Og,RowsIcon:oo,Rss:Ug,RssIcon:Ug,Ruler:Gg,RulerDimensionLine:Wg,RulerDimensionLineIcon:Wg,RulerIcon:Gg,RussianRuble:Kg,RussianRubleIcon:Kg,Sailboat:Zg,SailboatIcon:Zg,Salad:Xg,SaladIcon:Xg,Sandwich:Yg,SandwichIcon:Yg,Satellite:Qg,SatelliteDish:Jg,SatelliteDishIcon:Jg,SatelliteIcon:Qg,SaudiRiyal:e7,SaudiRiyalIcon:e7,Save:o7,SaveAll:t7,SaveAllIcon:t7,SaveIcon:o7,SaveOff:a7,SaveOffIcon:a7,Scale:n7,Scale3D:io,Scale3DIcon:io,Scale3d:io,Scale3dIcon:io,ScaleIcon:n7,Scaling:c7,ScalingIcon:c7,Scan:y7,ScanBarcode:i7,ScanBarcodeIcon:i7,ScanEye:r7,ScanEyeIcon:r7,ScanFace:s7,ScanFaceIcon:s7,ScanHeart:d7,ScanHeartIcon:d7,ScanIcon:y7,ScanLine:l7,ScanLineIcon:l7,ScanQrCode:h7,ScanQrCodeIcon:h7,ScanSearch:u7,ScanSearchIcon:u7,ScanText:p7,ScanTextIcon:p7,ScatterChart:va,ScatterChartIcon:va,School:k7,School2:mc,School2Icon:mc,SchoolIcon:k7,Scissors:f7,ScissorsIcon:f7,ScissorsLineDashed:m7,ScissorsLineDashedIcon:m7,ScissorsSquare:tc,ScissorsSquareDashedBottom:wo,ScissorsSquareDashedBottomIcon:wo,ScissorsSquareIcon:tc,ScreenShare:g7,ScreenShareIcon:g7,ScreenShareOff:v7,ScreenShareOffIcon:v7,Scroll:x7,ScrollIcon:x7,ScrollText:M7,ScrollTextIcon:M7,Search:A1,SearchCheck:_7,SearchCheckIcon:_7,SearchCode:L7,SearchCodeIcon:L7,SearchIcon:A1,SearchSlash:I7,SearchSlashIcon:I7,SearchX:b7,SearchXIcon:b7,Section:w7,SectionIcon:w7,Send:N7,SendHorizonal:ro,SendHorizonalIcon:ro,SendHorizontal:ro,SendHorizontalIcon:ro,SendIcon:N7,SendToBack:C7,SendToBackIcon:C7,SeparatorHorizontal:j7,SeparatorHorizontalIcon:j7,SeparatorVertical:S7,SeparatorVerticalIcon:S7,Server:z7,ServerCog:$7,ServerCogIcon:$7,ServerCrash:A7,ServerCrashIcon:A7,ServerIcon:z7,ServerOff:q7,ServerOffIcon:q7,Settings:P7,Settings2:V7,Settings2Icon:V7,SettingsIcon:P7,Shapes:T7,ShapesIcon:T7,Share:D7,Share2:H7,Share2Icon:H7,ShareIcon:D7,Sheet:B7,SheetIcon:B7,Shell:R7,ShellIcon:R7,Shield:Y7,ShieldAlert:F7,ShieldAlertIcon:F7,ShieldBan:E7,ShieldBanIcon:E7,ShieldCheck:O7,ShieldCheckIcon:O7,ShieldClose:lo,ShieldCloseIcon:lo,ShieldEllipsis:U7,ShieldEllipsisIcon:U7,ShieldHalf:W7,ShieldHalfIcon:W7,ShieldIcon:Y7,ShieldMinus:K7,ShieldMinusIcon:K7,ShieldOff:G7,ShieldOffIcon:G7,ShieldPlus:Z7,ShieldPlusIcon:Z7,ShieldQuestion:so,ShieldQuestionIcon:so,ShieldQuestionMark:so,ShieldQuestionMarkIcon:so,ShieldUser:X7,ShieldUserIcon:X7,ShieldX:lo,ShieldXIcon:lo,Ship:Q7,ShipIcon:Q7,ShipWheel:J7,ShipWheelIcon:J7,Shirt:ev,ShirtIcon:ev,ShoppingBag:tv,ShoppingBagIcon:tv,ShoppingBasket:av,ShoppingBasketIcon:av,ShoppingCart:nv,ShoppingCartIcon:nv,Shovel:ov,ShovelIcon:ov,ShowerHead:cv,ShowerHeadIcon:cv,Shredder:iv,ShredderIcon:iv,Shrimp:rv,ShrimpIcon:rv,Shrink:sv,ShrinkIcon:sv,Shrub:dv,ShrubIcon:dv,Shuffle:hv,ShuffleIcon:hv,Sidebar:Yn,SidebarClose:Kn,SidebarCloseIcon:Kn,SidebarIcon:Yn,SidebarOpen:Xn,SidebarOpenIcon:Xn,Sigma:lv,SigmaIcon:lv,SigmaSquare:ac,SigmaSquareIcon:ac,Signal:mv,SignalHigh:uv,SignalHighIcon:uv,SignalIcon:mv,SignalLow:pv,SignalLowIcon:pv,SignalMedium:yv,SignalMediumIcon:yv,SignalZero:kv,SignalZeroIcon:kv,Signature:fv,SignatureIcon:fv,Signpost:vv,SignpostBig:gv,SignpostBigIcon:gv,SignpostIcon:vv,Siren:Mv,SirenIcon:Mv,SkipBack:xv,SkipBackIcon:xv,SkipForward:_v,SkipForwardIcon:_v,Skull:Lv,SkullIcon:Lv,Slack:Iv,SlackIcon:Iv,Slash:bv,SlashIcon:bv,SlashSquare:nc,SlashSquareIcon:nc,Slice:wv,SliceIcon:wv,Sliders:ho,SlidersHorizontal:Cv,SlidersHorizontalIcon:Cv,SlidersIcon:ho,SlidersVertical:ho,SlidersVerticalIcon:ho,Smartphone:Sv,SmartphoneCharging:Nv,SmartphoneChargingIcon:Nv,SmartphoneIcon:Sv,SmartphoneNfc:jv,SmartphoneNfcIcon:jv,Smile:qv,SmileIcon:qv,SmilePlus:$v,SmilePlusIcon:$v,Snail:Av,SnailIcon:Av,Snowflake:zv,SnowflakeIcon:zv,SoapDispenserDroplet:Vv,SoapDispenserDropletIcon:Vv,Sofa:Pv,SofaIcon:Pv,SortAsc:Yt,SortAscIcon:Yt,SortDesc:Kt,SortDescIcon:Kt,Soup:Tv,SoupIcon:Tv,Space:Hv,SpaceIcon:Hv,Spade:Dv,SpadeIcon:Dv,Sparkle:Bv,SparkleIcon:Bv,Sparkles:uo,SparklesIcon:uo,Speaker:Rv,SpeakerIcon:Rv,Speech:Fv,SpeechIcon:Fv,SpellCheck:Ov,SpellCheck2:Ev,SpellCheck2Icon:Ev,SpellCheckIcon:Ov,Spline:Wv,SplineIcon:Wv,SplinePointer:Uv,SplinePointerIcon:Uv,Split:Gv,SplitIcon:Gv,SplitSquareHorizontal:oc,SplitSquareHorizontalIcon:oc,SplitSquareVertical:cc,SplitSquareVerticalIcon:cc,Spool:Kv,SpoolIcon:Kv,Spotlight:Zv,SpotlightIcon:Zv,SprayCan:Xv,SprayCanIcon:Xv,Sprout:Yv,SproutIcon:Yv,Square:s9,SquareActivity:$t,SquareActivityIcon:$t,SquareArrowDown:ko,SquareArrowDownIcon:ko,SquareArrowDownLeft:po,SquareArrowDownLeftIcon:po,SquareArrowDownRight:yo,SquareArrowDownRightIcon:yo,SquareArrowLeft:mo,SquareArrowLeftIcon:mo,SquareArrowOutDownLeft:fo,SquareArrowOutDownLeftIcon:fo,SquareArrowOutDownRight:go,SquareArrowOutDownRightIcon:go,SquareArrowOutUpLeft:vo,SquareArrowOutUpLeftIcon:vo,SquareArrowOutUpRight:Mo,SquareArrowOutUpRightIcon:Mo,SquareArrowRight:xo,SquareArrowRightIcon:xo,SquareArrowUp:Io,SquareArrowUpIcon:Io,SquareArrowUpLeft:_o,SquareArrowUpLeftIcon:_o,SquareArrowUpRight:Lo,SquareArrowUpRightIcon:Lo,SquareAsterisk:bo,SquareAsteriskIcon:bo,SquareBottomDashedScissors:wo,SquareBottomDashedScissorsIcon:wo,SquareChartGantt:dt,SquareChartGanttIcon:dt,SquareCheck:No,SquareCheckBig:Co,SquareCheckBigIcon:Co,SquareCheckIcon:No,SquareChevronDown:jo,SquareChevronDownIcon:jo,SquareChevronLeft:So,SquareChevronLeftIcon:So,SquareChevronRight:$o,SquareChevronRightIcon:$o,SquareChevronUp:qo,SquareChevronUpIcon:qo,SquareCode:Ao,SquareCodeIcon:Ao,SquareDashed:Po,SquareDashedBottom:Qv,SquareDashedBottomCode:Jv,SquareDashedBottomCodeIcon:Jv,SquareDashedBottomIcon:Qv,SquareDashedIcon:Po,SquareDashedKanban:zo,SquareDashedKanbanIcon:zo,SquareDashedMousePointer:Vo,SquareDashedMousePointerIcon:Vo,SquareDashedTopSolid:e9,SquareDashedTopSolidIcon:e9,SquareDivide:To,SquareDivideIcon:To,SquareDot:Do,SquareDotIcon:Do,SquareEqual:Ho,SquareEqualIcon:Ho,SquareFunction:Bo,SquareFunctionIcon:Bo,SquareGanttChart:dt,SquareGanttChartIcon:dt,SquareIcon:s9,SquareKanban:Ro,SquareKanbanIcon:Ro,SquareLibrary:Fo,SquareLibraryIcon:Fo,SquareM:Eo,SquareMIcon:Eo,SquareMenu:Oo,SquareMenuIcon:Oo,SquareMinus:Uo,SquareMinusIcon:Uo,SquareMousePointer:Go,SquareMousePointerIcon:Go,SquareParking:Ko,SquareParkingIcon:Ko,SquareParkingOff:Wo,SquareParkingOffIcon:Wo,SquarePause:t9,SquarePauseIcon:t9,SquarePen:Fe,SquarePenIcon:Fe,SquarePercent:Zo,SquarePercentIcon:Zo,SquarePi:Xo,SquarePiIcon:Xo,SquarePilcrow:Yo,SquarePilcrowIcon:Yo,SquarePlay:Jo,SquarePlayIcon:Jo,SquarePlus:Qo,SquarePlusIcon:Qo,SquarePower:ec,SquarePowerIcon:ec,SquareRadical:a9,SquareRadicalIcon:a9,SquareRoundCorner:n9,SquareRoundCornerIcon:n9,SquareScissors:tc,SquareScissorsIcon:tc,SquareSigma:ac,SquareSigmaIcon:ac,SquareSlash:nc,SquareSlashIcon:nc,SquareSplitHorizontal:oc,SquareSplitHorizontalIcon:oc,SquareSplitVertical:cc,SquareSplitVerticalIcon:cc,SquareSquare:o9,SquareSquareIcon:o9,SquareStack:c9,SquareStackIcon:c9,SquareStar:i9,SquareStarIcon:i9,SquareStop:r9,SquareStopIcon:r9,SquareTerminal:ic,SquareTerminalIcon:ic,SquareUser:sc,SquareUserIcon:sc,SquareUserRound:rc,SquareUserRoundIcon:rc,SquareX:dc,SquareXIcon:dc,SquaresExclude:d9,SquaresExcludeIcon:d9,SquaresIntersect:l9,SquaresIntersectIcon:l9,SquaresSubtract:h9,SquaresSubtractIcon:h9,SquaresUnite:u9,SquaresUniteIcon:u9,Squircle:y9,SquircleDashed:p9,SquircleDashedIcon:p9,SquircleIcon:y9,Squirrel:k9,SquirrelIcon:k9,Stamp:m9,StampIcon:m9,Star:M9,StarHalf:f9,StarHalfIcon:f9,StarIcon:M9,StarOff:g9,StarOffIcon:g9,Stars:uo,StarsIcon:uo,StepBack:v9,StepBackIcon:v9,StepForward:x9,StepForwardIcon:x9,Stethoscope:_9,StethoscopeIcon:_9,Sticker:L9,StickerIcon:L9,StickyNote:I9,StickyNoteIcon:I9,StopCircle:Wa,StopCircleIcon:Wa,Store:b9,StoreIcon:b9,StretchHorizontal:w9,StretchHorizontalIcon:w9,StretchVertical:C9,StretchVerticalIcon:C9,Strikethrough:N9,StrikethroughIcon:N9,Subscript:j9,SubscriptIcon:j9,Subtitles:ia,SubtitlesIcon:ia,Sun:V9,SunDim:S9,SunDimIcon:S9,SunIcon:V9,SunMedium:$9,SunMediumIcon:$9,SunMoon:q9,SunMoonIcon:q9,SunSnow:A9,SunSnowIcon:A9,Sunrise:z9,SunriseIcon:z9,Sunset:P9,SunsetIcon:P9,Superscript:T9,SuperscriptIcon:T9,SwatchBook:H9,SwatchBookIcon:H9,SwissFranc:D9,SwissFrancIcon:D9,SwitchCamera:B9,SwitchCameraIcon:B9,Sword:R9,SwordIcon:R9,Swords:E9,SwordsIcon:E9,Syringe:F9,SyringeIcon:F9,Table:Y9,Table2:O9,Table2Icon:O9,TableCellsMerge:U9,TableCellsMergeIcon:U9,TableCellsSplit:W9,TableCellsSplitIcon:W9,TableColumnsSplit:G9,TableColumnsSplitIcon:G9,TableConfig:rt,TableConfigIcon:rt,TableIcon:Y9,TableOfContents:K9,TableOfContentsIcon:K9,TableProperties:Z9,TablePropertiesIcon:Z9,TableRowsSplit:X9,TableRowsSplitIcon:X9,Tablet:Q9,TabletIcon:Q9,TabletSmartphone:J9,TabletSmartphoneIcon:J9,Tablets:eM,TabletsIcon:eM,Tag:tM,TagIcon:tM,Tags:aM,TagsIcon:aM,Tally1:nM,Tally1Icon:nM,Tally2:oM,Tally2Icon:oM,Tally3:cM,Tally3Icon:cM,Tally4:iM,Tally4Icon:iM,Tally5:rM,Tally5Icon:rM,Tangent:sM,TangentIcon:sM,Target:dM,TargetIcon:dM,Telescope:lM,TelescopeIcon:lM,Tent:uM,TentIcon:uM,TentTree:hM,TentTreeIcon:hM,Terminal:pM,TerminalIcon:pM,TerminalSquare:ic,TerminalSquareIcon:ic,TestTube:yM,TestTube2:lc,TestTube2Icon:lc,TestTubeDiagonal:lc,TestTubeDiagonalIcon:lc,TestTubeIcon:yM,TestTubes:kM,TestTubesIcon:kM,Text:MM,TextCursor:fM,TextCursorIcon:fM,TextCursorInput:mM,TextCursorInputIcon:mM,TextIcon:MM,TextQuote:gM,TextQuoteIcon:gM,TextSearch:vM,TextSearchIcon:vM,TextSelect:hc,TextSelectIcon:hc,TextSelection:hc,TextSelectionIcon:hc,Theater:xM,TheaterIcon:xM,Thermometer:bM,ThermometerIcon:bM,ThermometerSnowflake:_M,ThermometerSnowflakeIcon:_M,ThermometerSun:LM,ThermometerSunIcon:LM,ThumbsDown:IM,ThumbsDownIcon:IM,ThumbsUp:wM,ThumbsUpIcon:wM,Ticket:AM,TicketCheck:CM,TicketCheckIcon:CM,TicketIcon:AM,TicketMinus:NM,TicketMinusIcon:NM,TicketPercent:jM,TicketPercentIcon:jM,TicketPlus:SM,TicketPlusIcon:SM,TicketSlash:$M,TicketSlashIcon:$M,TicketX:qM,TicketXIcon:qM,Tickets:VM,TicketsIcon:VM,TicketsPlane:zM,TicketsPlaneIcon:zM,Timer:HM,TimerIcon:HM,TimerOff:PM,TimerOffIcon:PM,TimerReset:TM,TimerResetIcon:TM,ToggleLeft:DM,ToggleLeftIcon:DM,ToggleRight:BM,ToggleRightIcon:BM,Toilet:RM,ToiletIcon:RM,ToolCase:FM,ToolCaseIcon:FM,Tornado:OM,TornadoIcon:OM,Torus:EM,TorusIcon:EM,Touchpad:WM,TouchpadIcon:WM,TouchpadOff:UM,TouchpadOffIcon:UM,TowerControl:KM,TowerControlIcon:KM,ToyBrick:GM,ToyBrickIcon:GM,Tractor:ZM,TractorIcon:ZM,TrafficCone:XM,TrafficConeIcon:XM,Train:uc,TrainFront:JM,TrainFrontIcon:JM,TrainFrontTunnel:YM,TrainFrontTunnelIcon:YM,TrainIcon:uc,TrainTrack:QM,TrainTrackIcon:QM,TramFront:uc,TramFrontIcon:uc,Transgender:ex,TransgenderIcon:ex,Trash:tx,Trash2:lt,Trash2Icon:lt,TrashIcon:tx,TreeDeciduous:ax,TreeDeciduousIcon:ax,TreePalm:pc,TreePalmIcon:pc,TreePine:nx,TreePineIcon:nx,Trees:ox,TreesIcon:ox,Trello:cx,TrelloIcon:cx,TrendingDown:ix,TrendingDownIcon:ix,TrendingUp:rx,TrendingUpDown:sx,TrendingUpDownIcon:sx,TrendingUpIcon:rx,Triangle:lx,TriangleAlert:yc,TriangleAlertIcon:yc,TriangleDashed:dx,TriangleDashedIcon:dx,TriangleIcon:lx,TriangleRight:hx,TriangleRightIcon:hx,Trophy:ux,TrophyIcon:ux,Truck:yx,TruckElectric:px,TruckElectricIcon:px,TruckIcon:yx,TurkishLira:kx,TurkishLiraIcon:kx,Turntable:mx,TurntableIcon:mx,Turtle:fx,TurtleIcon:fx,Tv:vx,Tv2:kc,Tv2Icon:kc,TvIcon:vx,TvMinimal:kc,TvMinimalIcon:kc,TvMinimalPlay:gx,TvMinimalPlayIcon:gx,Twitch:Mx,TwitchIcon:Mx,Twitter:xx,TwitterIcon:xx,Type:Lx,TypeIcon:Lx,TypeOutline:_x,TypeOutlineIcon:_x,Umbrella:bx,UmbrellaIcon:bx,UmbrellaOff:Ix,UmbrellaOffIcon:Ix,Underline:wx,UnderlineIcon:wx,Undo:jx,Undo2:Cx,Undo2Icon:Cx,UndoDot:Nx,UndoDotIcon:Nx,UndoIcon:jx,UnfoldHorizontal:Sx,UnfoldHorizontalIcon:Sx,UnfoldVertical:$x,UnfoldVerticalIcon:$x,Ungroup:qx,UngroupIcon:qx,University:mc,UniversityIcon:mc,Unlink:Px,Unlink2:Ax,Unlink2Icon:Ax,UnlinkIcon:Px,Unlock:Tn,UnlockIcon:Tn,UnlockKeyhole:Pn,UnlockKeyholeIcon:Pn,Unplug:zx,UnplugIcon:zx,Upload:Vx,UploadCloud:Ja,UploadCloudIcon:Ja,UploadIcon:Vx,Usb:Tx,UsbIcon:Tx,User:Kx,User2:_c,User2Icon:_c,UserCheck:Hx,UserCheck2:fc,UserCheck2Icon:fc,UserCheckIcon:Hx,UserCircle:Ka,UserCircle2:Ga,UserCircle2Icon:Ga,UserCircleIcon:Ka,UserCog:Dx,UserCog2:gc,UserCog2Icon:gc,UserCogIcon:Dx,UserIcon:Kx,UserLock:Bx,UserLockIcon:Bx,UserMinus:Rx,UserMinus2:vc,UserMinus2Icon:vc,UserMinusIcon:Rx,UserPen:Fx,UserPenIcon:Fx,UserPlus:z1,UserPlus2:Mc,UserPlus2Icon:Mc,UserPlusIcon:z1,UserRound:_c,UserRoundCheck:fc,UserRoundCheckIcon:fc,UserRoundCog:gc,UserRoundCogIcon:gc,UserRoundIcon:_c,UserRoundMinus:vc,UserRoundMinusIcon:vc,UserRoundPen:Ex,UserRoundPenIcon:Ex,UserRoundPlus:Mc,UserRoundPlusIcon:Mc,UserRoundSearch:Ox,UserRoundSearchIcon:Ox,UserRoundX:xc,UserRoundXIcon:xc,UserSearch:Ux,UserSearchIcon:Ux,UserSquare:sc,UserSquare2:rc,UserSquare2Icon:rc,UserSquareIcon:sc,UserStar:Wx,UserStarIcon:Wx,UserX:Gx,UserX2:xc,UserX2Icon:xc,UserXIcon:Gx,Users:Zx,Users2:Lc,Users2Icon:Lc,UsersIcon:Zx,UsersRound:Lc,UsersRoundIcon:Lc,Utensils:bc,UtensilsCrossed:Ic,UtensilsCrossedIcon:Ic,UtensilsIcon:bc,UtilityPole:Xx,UtilityPoleIcon:Xx,Variable:Yx,VariableIcon:Yx,Vault:Jx,VaultIcon:Jx,VectorSquare:Qx,VectorSquareIcon:Qx,Vegan:e_,VeganIcon:e_,VenetianMask:t_,VenetianMaskIcon:t_,Venus:c_,VenusAndMars:a_,VenusAndMarsIcon:a_,VenusIcon:c_,Verified:ea,VerifiedIcon:ea,Vibrate:o_,VibrateIcon:o_,VibrateOff:n_,VibrateOffIcon:n_,Video:r_,VideoIcon:r_,VideoOff:i_,VideoOffIcon:i_,Videotape:s_,VideotapeIcon:s_,View:l_,ViewIcon:l_,Voicemail:d_,VoicemailIcon:d_,Volleyball:h_,VolleyballIcon:h_,Volume:f_,Volume1:u_,Volume1Icon:u_,Volume2:p_,Volume2Icon:p_,VolumeIcon:f_,VolumeOff:y_,VolumeOffIcon:y_,VolumeX:k_,VolumeXIcon:k_,Vote:m_,VoteIcon:m_,Wallet:v_,Wallet2:wc,Wallet2Icon:wc,WalletCards:g_,WalletCardsIcon:g_,WalletIcon:v_,WalletMinimal:wc,WalletMinimalIcon:wc,Wallpaper:M_,WallpaperIcon:M_,Wand:x_,Wand2:Cc,Wand2Icon:Cc,WandIcon:x_,WandSparkles:Cc,WandSparklesIcon:Cc,Warehouse:__,WarehouseIcon:__,WashingMachine:L_,WashingMachineIcon:L_,Watch:I_,WatchIcon:I_,Waves:w_,WavesIcon:w_,WavesLadder:b_,WavesLadderIcon:b_,Waypoints:C_,WaypointsIcon:C_,Webcam:N_,WebcamIcon:N_,Webhook:$_,WebhookIcon:$_,WebhookOff:j_,WebhookOffIcon:j_,Weight:S_,WeightIcon:S_,Wheat:A_,WheatIcon:A_,WheatOff:q_,WheatOffIcon:q_,WholeWord:z_,WholeWordIcon:z_,Wifi:F_,WifiCog:V_,WifiCogIcon:V_,WifiHigh:P_,WifiHighIcon:P_,WifiIcon:F_,WifiLow:T_,WifiLowIcon:T_,WifiOff:H_,WifiOffIcon:H_,WifiPen:D_,WifiPenIcon:D_,WifiSync:B_,WifiSyncIcon:B_,WifiZero:R_,WifiZeroIcon:R_,Wind:O_,WindArrowDown:E_,WindArrowDownIcon:E_,WindIcon:O_,Wine:W_,WineIcon:W_,WineOff:U_,WineOffIcon:U_,Workflow:G_,WorkflowIcon:G_,Worm:K_,WormIcon:K_,WrapText:Z_,WrapTextIcon:Z_,Wrench:X_,WrenchIcon:X_,X:Xe,XCircle:Nt,XCircleIcon:Nt,XIcon:Xe,XOctagon:Un,XOctagonIcon:Un,XSquare:dc,XSquareIcon:dc,Youtube:J_,YoutubeIcon:J_,Zap:Q_,ZapIcon:Q_,ZapOff:Y_,ZapOffIcon:Y_,ZoomIn:eL,ZoomInIcon:eL,ZoomOut:tL,ZoomOutIcon:tL,createLucideIcon:a.createLucideIcon,icons:x2e},Symbol.toStringTag,{value:"Module"})),_2e=({size:e=250,background:t="#fff",headerTop:n,headerBottom:c,headerTopStyle:i,headerBottomStyle:r,progress1:s,badgeList:d,progress3:h,style:l,className:u="",draggable:p=!1})=>{const y=e!==void 0?e:250,g=e?{size:e*.5,...s}:s,f=e?{size:e*.4,...h}:h,m={background:t,position:"relative",...l,...y&&{width:y}};return o.jsxs("div",{style:m,className:`stat-card ${u}`,children:[o.jsxs("div",{className:"stat-card-header",children:[o.jsx("div",{className:"stat-card-header-top",style:i,children:n}),c&&o.jsx("div",{className:"stat-card-header-bottom",style:r,children:c})]}),o.jsxs("div",{className:"stat-card-body",style:{opacity:p?0:1},children:[o.jsx("div",{className:"progress-row-single",children:o.jsx(Hb,{...g})}),o.jsxs("div",{className:"progress-row-double",children:[o.jsx("div",{className:"progress-item",children:o.jsx($S,{...d})}),o.jsx("div",{className:"progress-item",children:o.jsx(Hb,{...f})})]})]}),p&&o.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:o.jsx(a.Move,{size:32,strokeWidth:1.5,style:{opacity:.8}})})]})},qS=k.createContext(void 0),ut=()=>{const e=k.useContext(qS);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},L2e=({children:e,defaultActive:t=""})=>{const[n,c]=k.useState(t),[i,r]=k.useState(t),[s,d]=k.useState(void 0),[h,l]=k.useState(void 0),[u,p]=k.useState({}),y=(g,f)=>{p(m=>({...m,[g]:f}))};return o.jsx(qS.Provider,{value:{activeNav:n,setActiveNav:c,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:h,setUser:l,navCounts:u,setNavCount:y},children:e})},AS=({categories:e,logo:t="Menu",buttonContent:n,position:c="auto",closeOnClickOutside:i=!0,select:r,topContent:s})=>{const[d,h]=k.useState(!1),[l,u]=k.useState("right"),p=k.useRef(null),y=k.useRef(null),{activeNav:g,activeSubNav:f}=ut();k.useEffect(()=>{if(!i)return;const x=v=>{p.current&&!p.current.contains(v.target)&&h(!1)};return document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)},[i]),k.useEffect(()=>{if(d&&c==="auto"&&y.current){const x=y.current.getBoundingClientRect(),v=window.innerWidth/2;u(x.left<v?"left":"right")}},[d,c]);const m=t?Mt[t]:null,M=c==="auto"?l:c;return o.jsxs("div",{className:"dropdown",ref:p,children:[o.jsxs("button",{ref:y,type:"button",className:"dropdown-button",onClick:()=>h(x=>!x),"aria-expanded":d,"aria-haspopup":"true",children:[m&&o.jsx(m,{size:20}),n&&o.jsx("span",{className:"button-text",children:n})]}),d&&o.jsxs("div",{className:`dropdown-content ${M}`,children:[s&&o.jsx("div",{className:"dropdown-top-content",children:s}),e?.map((x,v)=>o.jsxs("div",{className:"dropdown-category",children:[x.title&&o.jsx("div",{className:"category-title",children:x.title}),o.jsx("div",{className:"category-items",children:x.items.map((L,w)=>{const C=L.id??L.label,b=g===C||f===C,_=L.select??r;if(L.id==="language"){if(!_||!Array.isArray(_.options)||!_.onChange)return o.jsx("div",{className:"dropdown-language"},w);const S=Array.isArray(_.options)?_.options:[],j=S.some(A=>A.code===_.value)?S:[{code:_.value??"",label:String(_.value??"")},...S];return o.jsx("div",{className:"dropdown-language",children:o.jsx("select",{name:_.name??"language",className:"language-select",value:_.value??"",onChange:A=>{const R=A.target.value;try{_.onChange(R)}catch(T){console.error("select onChange error",T)}},children:j.map(A=>o.jsx("option",{value:A.code,children:A.label},A.code))})},w)}const I={className:`dropdown-item ${b?"active":""}`,onClick:()=>{L.onClick?.(),h(!1)},role:L.type==="button"||!L.href?"button":void 0};return L.type==="button"||!L.href?o.jsx("button",{type:"button",...I,children:L.label},w):o.jsx("a",{...I,href:L.href,children:L.label},w)})})]},v))]})]})},zS=({children:e,container:t=!1,item:n=!1,parent:c=!1,xs:i,sm:r,md:s,lg:d,xl:h,spacing:l=0,className:u="",uniqueKey:p=0,style:y={},width:g,order:f,onSwap:m,draggable:M=!1,displayNone:x=!1})=>{const[v,L]=k.useState([]);k.useEffect(()=>{const I=A=>{const R=[];return k.Children.forEach(A,T=>{Array.isArray(T)?R.push(...I(T)):k.isValidElement(T)&&R.push(T)}),R},N=I(e).filter(A=>k.isValidElement(A)).map(A=>{let R="";const T=A.props;return R=[T.xs?`grid-xs-${T.xs}`:"",T.sm?`grid-sm-${T.sm}`:"",T.md?`grid-md-${T.md}`:"",T.lg?`grid-lg-${T.lg}`:"",T.xl?`grid-xl-${T.xl}`:"",T.className?T.className:""].join(" ").trim(),{node:A,classes:R}});let j=N;f&&f.length>0&&(j=N.map((A,R)=>({...A,node:N[f[R]]?.node??A.node}))),L(j)},[e]);const w=(I,S)=>{I.stopPropagation(),I.dataTransfer.setData("dragIndex",S.toString()),I.dataTransfer.setData("parentKey",p.toString())},C=I=>{I.preventDefault(),I.stopPropagation()},b=(I,S)=>{I.preventDefault();const N=Number(I.dataTransfer.getData("dragIndex")),j=Number(I.dataTransfer.getData("parentKey"));if(t&&j!==p)return;const A=[...v];let R=-1,T=-1;if(A.forEach(($,q)=>{if(k.isValidElement($.node)){const P=$.node.props;P.uniqueKey===S&&(R=q),P.uniqueKey===N&&(T=q)}}),R===-1||T===-1)return;const V=A[T].node;A[T]={...A[T],node:A[R].node},A[R]={...A[R],node:V},L(A),typeof m=="function"&&m(T,R)},_=c?[i?`grid-xs-${i}`:"",r?`grid-sm-${r}`:"",s?`grid-md-${s}`:"",d?`grid-lg-${d}`:"",h?`grid-xl-${h}`:""].join(" "):"";return!c&&g?y={...y,width:`${g}px`}:!c&&!g&&(y={...y,width:"100%"}),y={...y,height:"100%"},t?o.jsx("div",{className:`${u} grid-container ${_}`,style:{"--gap-grid":`${l}rem`,...y},children:v.map(I=>I.node.type?.displayName==="Grid"?M?o.jsx("div",{draggable:!0,onDragStart:S=>w(S,I.node?.props?.uniqueKey),onDragOver:S=>C(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):o.jsx("div",{className:`grid-item ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,children:I.node},I.node?.props?.uniqueKey):I.node)}):n?o.jsx("div",{className:`${u} grid-item ${_} ${x?"grid-display-none":""}`,style:{gap:`${l}rem`,...y},children:e}):o.jsx(o.Fragment,{children:e})};zS.displayName="Grid";const fL=({imagePath:e,...t})=>{const[n,c]=k.useState(!1);return k.useEffect(()=>{c(!0)},[]),n?o.jsx("div",{className:`logo logo--${t.size}`,children:o.jsx("a",{href:"/",children:o.jsx("img",{src:e,alt:"Saniia Smart Bed Management",className:"logo-image"})})}):o.jsx("div",{className:"logo logo-placeholder"})},Db=({id:e,label:t,isActive:n=!1,onClick:c,href:i,highlightColor:r="#008CBA",moduleKey:s="",a11yConfig:d,...h})=>{const{setActiveNav:l}=ut(),u=()=>{l(e),c?.(e)};return i?o.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Q(d,e),...h,children:t}):o.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Q(d,e),role:c?"button":"presentation",tabIndex:c?0:-1,...h,children:t})},VS=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:c={},dropdownPosition:i="auto"})=>{const{activeNav:r}=ut(),[s,d]=k.useState(!0),[h,l]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),g=k.useRef(null),f=k.useRef(null);k.useEffect(()=>{const v=()=>{if(y.current&&y.current.parentElement){const L=y.current.parentNode?.parentElement?.offsetWidth||0;d(L*.8<y.current.offsetWidth||L<1100)}};return v(),window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)},[]),k.useEffect(()=>{if(h&&i==="auto"&&g.current){const v=g.current.getBoundingClientRect(),L=window.innerWidth/2;p(v.left<L?"left":"right")}},[h,i]),k.useEffect(()=>{if(!h)return;const v=L=>{f.current&&!f.current.contains(L.target)&&g.current&&!g.current.contains(L.target)&&l(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[h]);const m=v=>{t?.(v),l(!1)},M=e.find(v=>v.id===r)||e[0],x=i==="auto"?u:i;return o.jsx("div",{ref:y,children:s?o.jsxs("div",{className:"navbar-mobile",children:[o.jsxs("button",{ref:g,className:"navbar-dropdown-toggle",onClick:()=>l(!h),style:{backgroundColor:n,color:"#fff"},"aria-expanded":h,"aria-haspopup":"true",children:[M.label,o.jsx("span",{className:`dropdown-arrow ${h?"open":""}`})]}),h&&o.jsx("div",{ref:f,className:`navbar-dropdown ${x}`,children:e.map(v=>o.jsx(Db,{id:v.id,label:v.label,href:v.moduleKey&&c[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&c[v.moduleKey],onClick:m,highlightColor:n},v.id))})]}):o.jsx("nav",{className:"navbar",children:e.map(v=>o.jsx(Db,{id:v.id,label:v.label,href:v.moduleKey&&c[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&c[v.moduleKey],onClick:m,highlightColor:n},v.id))})})},PS=k.createContext(void 0),I2e=({children:e,initialTheme:t})=>{const[n,c]=k.useState(()=>{if(typeof window<"u")try{return localStorage.getItem("app-theme")||t}catch(r){return console.error("Error reading theme from localStorage:",r),t}return t});k.useEffect(()=>{const r=document.documentElement;if(r.removeAttribute("data-theme"),n&&n!=="default"&&r.setAttribute("data-theme",n),typeof window<"u")try{localStorage.setItem("app-theme",n)}catch(s){console.error("Error saving theme to localStorage:",s)}},[n]);const i=k.useCallback(r=>{c(r)},[]);return o.jsx(PS.Provider,{value:{themeName:n,setTheme:i},children:e})},TS=()=>{const e=k.useContext(PS);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},gL=()=>{const{themeName:e,setTheme:t}=TS(),n=k.useCallback(c=>{t(c)},[t]);return{currentTheme:e,switchTheme:n}},G1=({colors:e={},leftIcon:t,rightIcon:n,checked:c=!1,onToggle:i,size:r=24,className:s="",style:d,a11yConfig:h})=>{const l=()=>i?.(!c),u=p=>{(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),l())};return o.jsxs("div",{role:"switch","aria-checked":c,tabIndex:0,title:Q(h),className:`switcher ${c?"switcher-checked":""} ${s}`,style:{"--bg":e.bg||"#1f2937","--active-bg":e.activeBg||"#facc15","--border":e.border||"#fff","--circle":e.circle||"#fff","--icon":e.icon||"#fbbf24","--icon2":e.icon2||e.icon||"#fbbf24","--size":`${r}px`,...d},onClick:l,onKeyDown:u,children:[o.jsx("div",{className:"switcher-circle"}),o.jsxs("div",{className:"switcher-icons",children:[t&&o.jsx("div",{className:"switcher-icon-left",children:t}),n&&o.jsx("div",{className:"switcher-icon-right",children:n})]})]})},Bb=({lightTheme:e="light",darkTheme:t="dark",leftIcon:n="Sun",rightIcon:c="Moon",colors:i={bg:"#e5e7eb",activeBg:"#3b82f6",border:"#ffffff",circle:"#ffffff",icon:"#3b82f6",icon2:"#ffffff"},size:r=24,a11yConfig:s})=>{const{currentTheme:d,switchTheme:h}=gL(),[l,u]=k.useState(!1);if(k.useEffect(()=>{u(!0)},[]),!l)return null;const p=d===t,y=g=>{h(g?t:e)};return o.jsx(G1,{leftIcon:n,rightIcon:c,checked:p,onToggle:y,colors:i,size:r,a11yConfig:s})},b2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z"})),hC=k.memo(b2e),HS=k.createContext(void 0),w2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("isDraggable");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("isDraggable",String(t))},[t]);const c=i=>{n(i)};return o.jsx(HS.Provider,{value:{isDraggable:t,switchDraggable:c},children:e})},DS=()=>{const e=k.useContext(HS);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},rL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"var(--color-primary)",border:"transparent",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},size:c=24,a11yConfig:i})=>{const{isDraggable:r,switchDraggable:s}=DS(),[d,h]=k.useState(!1);if(k.useEffect(()=>{h(!0)},[]),!d)return null;const l=u=>{s(u)};return o.jsx(G1,{leftIcon:e||o.jsx(hC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(hC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:l,colors:n,size:c,a11yConfig:i})},C2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z"})),uC=k.memo(C2e),BS=k.createContext(void 0),N2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("disableLegendFilter");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("disableLegendFilter",String(t))},[t]);const c=i=>{n(i)};return o.jsx(BS.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:c},children:e})},RS=()=>{const e=k.useContext(BS);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},sL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"#ef4444",border:"#ffffff",circle:"#ffffff",icon:"#ef4444",icon2:"#ffffff"},size:c=24,a11yConfig:i})=>{const{disableLegendFilter:r,switchDisableLegendFilter:s}=RS(),[d,h]=k.useState(!1);if(k.useEffect(()=>{h(!0)},[]),!d)return null;const l=u=>{s(u)};return o.jsx(G1,{leftIcon:e||o.jsx(uC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(uC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:l,colors:n,size:c,a11yConfig:i})},FS=k.createContext(void 0),j2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("showData");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("showData",String(t))},[t]);const c=i=>{n(i)};return o.jsx(FS.Provider,{value:{showData:t,switchShowData:c},children:e})},ES=()=>{const e=k.useContext(FS);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},S2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M600.5-379.5Q650-429 650-500t-49.5-120.5T480-670t-120.5 49.5T310-500t49.5 120.5T480-330t120.5-49.5m-200-41Q368-453 368-500t32.5-79.5T480-612t79.5 32.5T592-500t-32.5 79.5T480-388t-79.5-32.5M216-283Q98-366 40-500q58-134 176-217t264-83 264 83 176 217q-58 134-176 217t-264 83-264-83m486.5-42.5Q804-391 857-500q-53-109-154.5-174.5T480-740t-222.5 65.5T102-500q54 109 155.5 174.5T480-260t222.5-65.5"})),pC=k.memo(S2e),dL=({size:e=24,colors:t={bg:"var(--color-switcher-background)",activeBg:"#10b981",border:"#ffffff",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},a11yConfig:n})=>{const{showData:c,switchShowData:i}=ES(),[r,s]=k.useState(!1);return k.useEffect(()=>{s(!0)},[]),r?o.jsx(G1,{checked:c,onToggle:d=>i(d),size:e,leftIcon:o.jsx(pC,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:o.jsx(pC,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t,a11yConfig:n}):null},$2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M284-277h60v-205h-60zm332 0h60v-420h-60zm-166 0h60v-118h-60zm0-205h60v-60h-60zM180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v600q0 24-18 42t-42 18zm0-60h600v-600H180zm0-600v600z"})),OS=k.memo($2e);function Rb({items:e,onSave:t,loading:n,disabled:c,saveLabel:i,savingLabel:r,buttonTitle:s}){const[d,h]=k.useState(!1),[l,u]=k.useState(e);k.useEffect(()=>{u(e)},[e]);const p=(g,f)=>{u(m=>m.map(M=>M.component_key===g&&f>3?{...M,visible:!M.visible}:M))},y=()=>{t(l),h(!1)};return o.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[o.jsx("div",{onClick:()=>c||h(g=>!g),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-primary)"},title:s,children:o.jsx(OS,{fill:"currentColor"})}),d&&o.jsxs("div",{style:{position:"absolute",top:"110%",right:0,minWidth:220,background:"#fff",border:"1px solid var(--color-border)",borderRadius:8,boxShadow:"0 4px 16px rgba(0,0,0,0.08)",zIndex:1e3,padding:12},children:[o.jsx("ul",{style:{listStyle:"none",padding:0,margin:0,marginBottom:12},children:l.map((g,f)=>o.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[o.jsx("input",{type:"checkbox",checked:g.visible,disabled:f<4,onChange:()=>p(g.component_key,f),style:{marginRight:8}}),o.jsx("span",{style:{color:f<4?"#6b7280":"#111827"},children:g.label}),f<4&&o.jsx("span",{style:{fontSize:"var(--text-paragraph)",color:"#9ca3af",marginLeft:6}})]},g.component_key))}),o.jsx("button",{type:"button",onClick:y,disabled:n,style:{padding:"6px 18px",borderRadius:6,border:"none",background:"var(--color-primary)",color:"#fff",fontWeight:600,cursor:"pointer"},children:n?r:i})]})]})}const q2e=({logoPath:e,navItems:t,onNavClick:n,dropdownItems:c,headerBg:i,highlightColor:r="#1387C8",moduleConfig:s={},componentVisibilityItems:d=[],onComponentVisibilitySave:h,componentVisibilityLoading:l=!1,componentVisibilitySaveLabel:u,componentVisibilitySavingLabel:p,componentVisibilityButtonTitle:y})=>{const{activeSwitchers:g}=ut(),f=g?.draggable===!0,m=g?.showData===!0,M=g?.legendFilter===!0,x=g?.componentVisibility===!0&&d&&d.length>0;return o.jsx("header",{className:"header",style:{backgroundColor:i},children:o.jsxs("div",{className:"header-layout-container",children:[o.jsxs("div",{className:"header-left",children:[o.jsx("a",{href:"/",children:o.jsx(fL,{imagePath:e})}),o.jsx(VS,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),o.jsxs("div",{className:"header-right",children:[o.jsxs("div",{className:"switcher-container",children:[f&&o.jsx(rL,{}),m&&o.jsx(dL,{}),M&&o.jsx(sL,{}),o.jsx(Bb,{}),x&&o.jsx(Rb,{items:d,onSave:h||(()=>{}),loading:l,saveLabel:u,savingLabel:p,buttonTitle:y})]}),o.jsx(AS,{categories:c?.categories,buttonContent:c?.buttonContent,topContent:o.jsxs("div",{className:"dropdown-switchers",children:[f&&o.jsx(rL,{}),m&&o.jsx(dL,{}),M&&o.jsx(sL,{}),o.jsx(Bb,{}),x&&o.jsx(Rb,{items:d,onSave:h||(()=>{}),loading:l,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},US=({icon:e,text:t,size:n=16,color:c="currentColor",className:i="",active:r=!1,href:s,a11yConfig:d})=>{const h=e?Mt[e]:null,l=s?"a":"div";return o.jsxs(l,{className:`icon-text ${r?"icon-text-active":""} ${i}`,style:{color:c},title:Q(d,t),role:"text","aria-label":t,...s?{href:s}:{},children:[h&&o.jsx(h,{size:n,"aria-hidden":"true"}),o.jsx("span",{children:t})]})},WS=({children:e,className:t="",style:n,item:c})=>o.jsxs("div",{className:`scrollable-horizontale ${t}`,style:n,children:[o.jsx("div",{className:"scrollable",children:e}),o.jsx("div",{className:"scrollable-dropdown",children:o.jsx(AS,{logo:"BarChart",position:"right",categories:c})})]}),A2e=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:c})=>{const{activeSubNav:i}=ut();return o.jsx(WS,{style:n,item:c,children:e?.map(r=>o.jsx(US,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i,a11yConfig:r.a11yConfig},r.id))})},GS=({title:e,subtitle:t,text:n,background:c="#f9f9f9",titleStyle:i,subtitleStyle:r,textStyle:s,itemStyle:d,icon:h})=>{const[l,u]=n?n.split("/"):[];return o.jsxs("div",{className:"trend-item",style:{background:c,...d},children:[o.jsxs("div",{className:"trend-left",children:[o.jsx("div",{className:"trend-icon",children:h}),o.jsxs("div",{className:"trend-texts",children:[o.jsx("span",{className:"trend-title",style:i,children:e}),t&&o.jsx("span",{className:"trend-subtitle",style:r,children:t})]})]}),o.jsxs("div",{className:"trend-right",style:s,children:[o.jsx("span",{className:"trend-right-left",children:l}),o.jsx("span",{className:"trend-right-separator",children:" / "}),o.jsx("span",{className:"trend-right-right",children:u})]})]})},pw=k.createContext({});function Pt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const yw=typeof window<"u",kw=yw?k.useLayoutEffect:k.useEffect,vL=k.createContext(null);function mw(e,t){e.indexOf(t)===-1&&e.push(t)}function fw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function z2e([...e],t,n){const c=t<0?e.length+t:t;if(c>=0&&c<e.length){const i=n<0?e.length+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}return e}const xt=(e,t,n)=>n>t?t:n<e?e:n;function Fb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let i1=()=>{},at=()=>{};process.env.NODE_ENV!=="production"&&(i1=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Fb(t,n))},at=(e,t,n)=>{if(!e)throw new Error(Fb(t,n))});const _t={},KS=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function ZS(e){return typeof e=="object"&&e!==null}const XS=e=>/^0[^.\s]+$/u.test(e);function gw(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ye=e=>e,V2e=(e,t)=>n=>t(e(n)),K1=(...e)=>e.reduce(V2e),R1=(e,t,n)=>{const c=t-e;return c===0?1:(n-e)/c};class vw{constructor(){this.subscriptions=[]}add(t){return mw(this.subscriptions,t),()=>fw(this.subscriptions,t)}notify(t,n,c){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,c);else for(let r=0;r<i;r++){const s=this.subscriptions[r];s&&s(t,n,c)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const tt=e=>e*1e3,Ze=e=>e/1e3;function YS(e,t){return t?e*(1e3/t):0}const yC=new Set;function Mw(e,t,n){e||yC.has(t)||(console.warn(Fb(t,n)),yC.add(t))}const JS=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,P2e=1e-7,T2e=12;function H2e(e,t,n,c,i){let r,s,d=0;do s=t+(n-t)/2,r=JS(s,c,i)-e,r>0?n=s:t=s;while(Math.abs(r)>P2e&&++d<T2e);return s}function Z1(e,t,n,c){if(e===t&&n===c)return Ye;const i=r=>H2e(r,0,1,e,n);return r=>r===0||r===1?r:JS(i(r),t,c)}const QS=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,e$=e=>t=>1-e(1-t),t$=Z1(.33,1.53,.69,.99),xw=e$(t$),a$=QS(xw),n$=e=>(e*=2)<1?.5*xw(e):.5*(2-Math.pow(2,-10*(e-1))),_w=e=>1-Math.sin(Math.acos(e)),o$=e$(_w),c$=QS(_w),D2e=Z1(.42,0,1,1),B2e=Z1(0,0,.58,1),i$=Z1(.42,0,.58,1),R2e=e=>Array.isArray(e)&&typeof e[0]!="number",r$=e=>Array.isArray(e)&&typeof e[0]=="number",kC={linear:Ye,easeIn:D2e,easeInOut:i$,easeOut:B2e,circIn:_w,circInOut:c$,circOut:o$,backIn:xw,backInOut:a$,backOut:t$,anticipate:n$},F2e=e=>typeof e=="string",mC=e=>{if(r$(e)){at(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,c,i]=e;return Z1(t,n,c,i)}else if(F2e(e))return at(kC[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),kC[e];return e},ti=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function E2e(e,t){let n=new Set,c=new Set,i=!1,r=!1;const s=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function h(u){s.has(u)&&(l.schedule(u),e()),u(d)}const l={schedule:(u,p=!1,y=!1)=>{const f=y&&i?n:c;return p&&s.add(u),f.has(u)||f.add(u),u},cancel:u=>{c.delete(u),s.delete(u)},process:u=>{if(d=u,i){r=!0;return}i=!0,[n,c]=[c,n],n.forEach(h),n.clear(),i=!1,r&&(r=!1,l.process(u))}};return l}const O2e=40;function s$(e,t){let n=!1,c=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=ti.reduce((L,w)=>(L[w]=E2e(r),L),{}),{setup:d,read:h,resolveKeyframes:l,preUpdate:u,update:p,preRender:y,render:g,postRender:f}=s,m=()=>{const L=_t.useManualTiming?i.timestamp:performance.now();n=!1,_t.useManualTiming||(i.delta=c?1e3/60:Math.max(Math.min(L-i.timestamp,O2e),1)),i.timestamp=L,i.isProcessing=!0,d.process(i),h.process(i),l.process(i),u.process(i),p.process(i),y.process(i),g.process(i),f.process(i),i.isProcessing=!1,n&&t&&(c=!1,e(m))},M=()=>{n=!0,c=!0,i.isProcessing||e(m)};return{schedule:ti.reduce((L,w)=>{const C=s[w];return L[w]=(b,_=!1,I=!1)=>(n||M(),C.schedule(b,_,I)),L},{}),cancel:L=>{for(let w=0;w<ti.length;w++)s[ti[w]].cancel(L)},state:i,steps:s}}const{schedule:ke,cancel:Lt,state:$e,steps:BL}=s$(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ye,!0);let aL;function U2e(){aL=void 0}const Be={now:()=>(aL===void 0&&Be.set($e.isProcessing||_t.useManualTiming?$e.timestamp:performance.now()),aL),set:e=>{aL=e,queueMicrotask(U2e)}},d$=e=>t=>typeof t=="string"&&t.startsWith(e),Lw=d$("--"),W2e=d$("var(--"),Iw=e=>W2e(e)?G2e.test(e.split("/*")[0].trim()):!1,G2e=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,r1={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},F1={...r1,transform:e=>xt(0,1,e)},ai={...r1,default:1},V1=e=>Math.round(e*1e5)/1e5,bw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function K2e(e){return e==null}const Z2e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ww=(e,t)=>n=>!!(typeof n=="string"&&Z2e.test(n)&&n.startsWith(e)||t&&!K2e(n)&&Object.prototype.hasOwnProperty.call(n,t)),l$=(e,t,n)=>c=>{if(typeof c!="string")return c;const[i,r,s,d]=c.match(bw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},X2e=e=>xt(0,255,e),RL={...r1,transform:e=>Math.round(X2e(e))},jc={test:ww("rgb","red"),parse:l$("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:c=1})=>"rgba("+RL.transform(e)+", "+RL.transform(t)+", "+RL.transform(n)+", "+V1(F1.transform(c))+")"};function Y2e(e){let t="",n="",c="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),c=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),c=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,c+=c,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(c,16),alpha:i?parseInt(i,16)/255:1}}const Eb={test:ww("#"),parse:Y2e,transform:jc.transform},X1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ct=X1("deg"),ht=X1("%"),Z=X1("px"),J2e=X1("vh"),Q2e=X1("vw"),fC={...ht,parse:e=>ht.parse(e)/100,transform:e=>ht.transform(e*100)},Wc={test:ww("hsl","hue"),parse:l$("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:c=1})=>"hsla("+Math.round(e)+", "+ht.transform(V1(t))+", "+ht.transform(V1(n))+", "+V1(F1.transform(c))+")"},Ie={test:e=>jc.test(e)||Eb.test(e)||Wc.test(e),parse:e=>jc.test(e)?jc.parse(e):Wc.test(e)?Wc.parse(e):Eb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?jc.transform(e):Wc.transform(e),getAnimatableNone:e=>{const t=Ie.parse(e);return t.alpha=0,Ie.transform(t)}},ede=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function tde(e){return isNaN(e)&&typeof e=="string"&&(e.match(bw)?.length||0)+(e.match(ede)?.length||0)>0}const h$="number",u$="color",ade="var",nde="var(",gC="${}",ode=/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 E1(e){const t=e.toString(),n=[],c={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(ode,h=>(Ie.test(h)?(c.color.push(r),i.push(u$),n.push(Ie.parse(h))):h.startsWith(nde)?(c.var.push(r),i.push(ade),n.push(h)):(c.number.push(r),i.push(h$),n.push(parseFloat(h))),++r,gC)).split(gC);return{values:n,split:d,indexes:c,types:i}}function p$(e){return E1(e).values}function y$(e){const{split:t,types:n}=E1(e),c=t.length;return i=>{let r="";for(let s=0;s<c;s++)if(r+=t[s],i[s]!==void 0){const d=n[s];d===h$?r+=V1(i[s]):d===u$?r+=Ie.transform(i[s]):r+=i[s]}return r}}const cde=e=>typeof e=="number"?0:Ie.test(e)?Ie.getAnimatableNone(e):e;function ide(e){const t=p$(e);return y$(e)(t.map(cde))}const Vt={test:tde,parse:p$,createTransformer:y$,getAnimatableNone:ide};function FL(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 rde({hue:e,saturation:t,lightness:n,alpha:c}){e/=360,t/=100,n/=100;let i=0,r=0,s=0;if(!t)i=r=s=n;else{const d=n<.5?n*(1+t):n+t-n*t,h=2*n-d;i=FL(h,d,e+1/3),r=FL(h,d,e),s=FL(h,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:c}}function lL(e,t){return n=>n>0?t:e}const fe=(e,t,n)=>e+(t-e)*n,EL=(e,t,n)=>{const c=e*e,i=n*(t*t-c)+c;return i<0?0:Math.sqrt(i)},sde=[Eb,jc,Wc],dde=e=>sde.find(t=>t.test(e));function vC(e){const t=dde(e);if(i1(!!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===Wc&&(n=rde(n)),n}const MC=(e,t)=>{const n=vC(e),c=vC(t);if(!n||!c)return lL(e,t);const i={...n};return r=>(i.red=EL(n.red,c.red,r),i.green=EL(n.green,c.green,r),i.blue=EL(n.blue,c.blue,r),i.alpha=fe(n.alpha,c.alpha,r),jc.transform(i))},Ob=new Set(["none","hidden"]);function lde(e,t){return Ob.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function hde(e,t){return n=>fe(e,t,n)}function Cw(e){return typeof e=="number"?hde:typeof e=="string"?Iw(e)?lL:Ie.test(e)?MC:yde:Array.isArray(e)?k$:typeof e=="object"?Ie.test(e)?MC:ude:lL}function k$(e,t){const n=[...e],c=n.length,i=e.map((r,s)=>Cw(r)(r,t[s]));return r=>{for(let s=0;s<c;s++)n[s]=i[s](r);return n}}function ude(e,t){const n={...e,...t},c={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(c[i]=Cw(e[i])(e[i],t[i]));return i=>{for(const r in c)n[r]=c[r](i);return n}}function pde(e,t){const n=[],c={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const r=t.types[i],s=e.indexes[r][c[r]],d=e.values[s]??0;n[i]=d,c[r]++}return n}const yde=(e,t)=>{const n=Vt.createTransformer(t),c=E1(e),i=E1(t);return c.indexes.var.length===i.indexes.var.length&&c.indexes.color.length===i.indexes.color.length&&c.indexes.number.length>=i.indexes.number.length?Ob.has(e)&&!i.values.length||Ob.has(t)&&!c.values.length?lde(e,t):K1(k$(pde(c,i),i.values),n):(i1(!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"),lL(e,t))};function m$(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?fe(e,t,n):Cw(e)(e,t)}const kde=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ke.update(t,n),stop:()=>Lt(t),now:()=>$e.isProcessing?$e.timestamp:Be.now()}},f$=(e,t,n=10)=>{let c="";const i=Math.max(Math.round(t/n),2);for(let r=0;r<i;r++)c+=Math.round(e(r/(i-1))*1e4)/1e4+", ";return`linear(${c.substring(0,c.length-2)})`},hL=2e4;function Nw(e){let t=0;const n=50;let c=e.next(t);for(;!c.done&&t<hL;)t+=n,c=e.next(t);return t>=hL?1/0:t}function mde(e,t=100,n){const c=n({...e,keyframes:[0,t]}),i=Math.min(Nw(c),hL);return{type:"keyframes",ease:r=>c.next(i*r).value/t,duration:Ze(i)}}const fde=5;function g$(e,t,n){const c=Math.max(t-fde,0);return YS(n-e(c),t-c)}const ve={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},OL=.001;function gde({duration:e=ve.duration,bounce:t=ve.bounce,velocity:n=ve.velocity,mass:c=ve.mass}){let i,r;i1(e<=tt(ve.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=xt(ve.minDamping,ve.maxDamping,s),e=xt(ve.minDuration,ve.maxDuration,Ze(e)),s<1?(i=l=>{const u=l*s,p=u*e,y=u-n,g=Ub(l,s),f=Math.exp(-p);return OL-y/g*f},r=l=>{const p=l*s*e,y=p*n+n,g=Math.pow(s,2)*Math.pow(l,2)*e,f=Math.exp(-p),m=Ub(Math.pow(l,2),s);return(-i(l)+OL>0?-1:1)*((y-g)*f)/m}):(i=l=>{const u=Math.exp(-l*e),p=(l-n)*e+1;return-OL+u*p},r=l=>{const u=Math.exp(-l*e),p=(n-l)*(e*e);return u*p});const d=5/e,h=Mde(i,r,d);if(e=tt(e),isNaN(h))return{stiffness:ve.stiffness,damping:ve.damping,duration:e};{const l=Math.pow(h,2)*c;return{stiffness:l,damping:s*2*Math.sqrt(c*l),duration:e}}}const vde=12;function Mde(e,t,n){let c=n;for(let i=1;i<vde;i++)c=c-e(c)/t(c);return c}function Ub(e,t){return e*Math.sqrt(1-t*t)}const xde=["duration","bounce"],_de=["stiffness","damping","mass"];function xC(e,t){return t.some(n=>e[n]!==void 0)}function Lde(e){let t={velocity:ve.velocity,stiffness:ve.stiffness,damping:ve.damping,mass:ve.mass,isResolvedFromDuration:!1,...e};if(!xC(e,_de)&&xC(e,xde))if(e.visualDuration){const n=e.visualDuration,c=2*Math.PI/(n*1.2),i=c*c,r=2*xt(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ve.mass,stiffness:i,damping:r}}else{const n=gde(e);t={...t,...n,mass:ve.mass},t.isResolvedFromDuration=!0}return t}function uL(e=ve.visualDuration,t=ve.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:c,restDelta:i}=n;const r=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],d={done:!1,value:r},{stiffness:h,damping:l,mass:u,duration:p,velocity:y,isResolvedFromDuration:g}=Lde({...n,velocity:-Ze(n.velocity||0)}),f=y||0,m=l/(2*Math.sqrt(h*u)),M=s-r,x=Ze(Math.sqrt(h/u)),v=Math.abs(M)<5;c||(c=v?ve.restSpeed.granular:ve.restSpeed.default),i||(i=v?ve.restDelta.granular:ve.restDelta.default);let L;if(m<1){const C=Ub(x,m);L=b=>{const _=Math.exp(-m*x*b);return s-_*((f+m*x*M)/C*Math.sin(C*b)+M*Math.cos(C*b))}}else if(m===1)L=C=>s-Math.exp(-x*C)*(M+(f+x*M)*C);else{const C=x*Math.sqrt(m*m-1);L=b=>{const _=Math.exp(-m*x*b),I=Math.min(C*b,300);return s-_*((f+m*x*M)*Math.sinh(I)+C*M*Math.cosh(I))/C}}const w={calculatedDuration:g&&p||null,next:C=>{const b=L(C);if(g)d.done=C>=p;else{let _=C===0?f:0;m<1&&(_=C===0?tt(f):g$(L,C,b));const I=Math.abs(_)<=c,S=Math.abs(s-b)<=i;d.done=I&&S}return d.value=d.done?s:b,d},toString:()=>{const C=Math.min(Nw(w),hL),b=f$(_=>w.next(C*_).value,C,30);return C+"ms "+b},toTransition:()=>{}};return w}uL.applyToOptions=e=>{const t=mde(e,100,uL);return e.ease=t.ease,e.duration=tt(t.duration),e.type="keyframes",e};function Wb({keyframes:e,velocity:t=0,power:n=.8,timeConstant:c=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:s,min:d,max:h,restDelta:l=.5,restSpeed:u}){const p=e[0],y={done:!1,value:p},g=I=>d!==void 0&&I<d||h!==void 0&&I>h,f=I=>d===void 0?h:h===void 0||Math.abs(d-I)<Math.abs(h-I)?d:h;let m=n*t;const M=p+m,x=s===void 0?M:s(M);x!==M&&(m=x-p);const v=I=>-m*Math.exp(-I/c),L=I=>x+v(I),w=I=>{const S=v(I),N=L(I);y.done=Math.abs(S)<=l,y.value=y.done?x:N};let C,b;const _=I=>{g(y.value)&&(C=I,b=uL({keyframes:[y.value,f(y.value)],velocity:g$(L,I,y.value),damping:i,stiffness:r,restDelta:l,restSpeed:u}))};return _(0),{calculatedDuration:null,next:I=>{let S=!1;return!b&&C===void 0&&(S=!0,w(I),_(I)),C!==void 0&&I>=C?b.next(I-C):(!S&&w(I),y)}}}function Ide(e,t,n){const c=[],i=n||_t.mix||m$,r=e.length-1;for(let s=0;s<r;s++){let d=i(e[s],e[s+1]);if(t){const h=Array.isArray(t)?t[s]||Ye:t;d=K1(h,d)}c.push(d)}return c}function v$(e,t,{clamp:n=!0,ease:c,mixer:i}={}){const r=e.length;if(at(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=Ide(t,c,i),h=d.length,l=u=>{if(s&&u<e[0])return t[0];let p=0;if(h>1)for(;p<e.length-2&&!(u<e[p+1]);p++);const y=R1(e[p],e[p+1],u);return d[p](y)};return n?u=>l(xt(e[0],e[r-1],u)):l}function bde(e,t){const n=e[e.length-1];for(let c=1;c<=t;c++){const i=R1(0,t,c);e.push(fe(n,1,i))}}function wde(e){const t=[0];return bde(t,e.length-1),t}function Cde(e,t){return e.map(n=>n*t)}function Nde(e,t){return e.map(()=>t||i$).splice(0,e.length-1)}function Gc({duration:e=300,keyframes:t,times:n,ease:c="easeInOut"}){const i=R2e(c)?c.map(mC):mC(c),r={done:!1,value:t[0]},s=Cde(n&&n.length===t.length?n:wde(t),e),d=v$(s,t,{ease:Array.isArray(i)?i:Nde(t,i)});return{calculatedDuration:e,next:h=>(r.value=d(h),r.done=h>=e,r)}}const jde=e=>e!==null;function jw(e,{repeat:t,repeatType:n="loop"},c,i=1){const r=e.filter(jde),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||c===void 0?r[d]:c}const Sde={decay:Wb,inertia:Wb,tween:Gc,keyframes:Gc,spring:uL};function M$(e){typeof e.type=="string"&&(e.type=Sde[e.type])}class Sw{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 $de=e=>e/100;class $w extends Sw{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!==Be.now()&&this.tick(Be.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;M$(t);const{type:n=Gc,repeat:c=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const h=n||Gc;process.env.NODE_ENV!=="production"&&h!==Gc&&at(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),h!==Gc&&typeof d[0]!="number"&&(this.mixKeyframes=K1($de,m$(d[0],d[1])),d=[0,100]);const l=h({...t,keyframes:d});r==="mirror"&&(this.mirroredGenerator=h({...t,keyframes:[...d].reverse(),velocity:-s})),l.calculatedDuration===null&&(l.calculatedDuration=Nw(l));const{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(c+1)-i,this.generator=l}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:c,totalDuration:i,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:d,calculatedDuration:h}=this;if(this.startTime===null)return c.next(0);const{delay:l=0,keyframes:u,repeat:p,repeatType:y,repeatDelay:g,type:f,onUpdate:m,finalKeyframe:M}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const x=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?x<0:x>i;this.currentTime=Math.max(x,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let L=this.currentTime,w=c;if(p){const I=Math.min(this.currentTime,i)/d;let S=Math.floor(I),N=I%1;!N&&I>=1&&(N=1),N===1&&S--,S=Math.min(S,p+1),!!(S%2)&&(y==="reverse"?(N=1-N,g&&(N-=g/d)):y==="mirror"&&(w=s)),L=xt(0,1,N)*d}const C=v?{done:!1,value:u[0]}:w.next(L);r&&(C.value=r(C.value));let{done:b}=C;!v&&h!==null&&(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return _&&f!==Wb&&(C.value=jw(u,this.options,M,this.speed)),m&&m(C.value),_&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return Ze(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ze(t)}get time(){return Ze(this.currentTime)}set time(t){t=tt(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(Be.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Ze(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=kde,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const c=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=c):this.holdTime!==null?this.startTime=c-this.holdTime:this.startTime||(this.startTime=n??c),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Be.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 qde(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Sc=e=>e*180/Math.PI,Gb=e=>{const t=Sc(Math.atan2(e[1],e[0]));return Kb(t)},Ade={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Gb,rotateZ:Gb,skewX:e=>Sc(Math.atan(e[1])),skewY:e=>Sc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Kb=e=>(e=e%360,e<0&&(e+=360),e),_C=Gb,LC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),IC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),zde={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:LC,scaleY:IC,scale:e=>(LC(e)+IC(e))/2,rotateX:e=>Kb(Sc(Math.atan2(e[6],e[5]))),rotateY:e=>Kb(Sc(Math.atan2(-e[2],e[0]))),rotateZ:_C,rotate:_C,skewX:e=>Sc(Math.atan(e[4])),skewY:e=>Sc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Zb(e){return e.includes("scale")?1:0}function Xb(e,t){if(!e||e==="none")return Zb(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let c,i;if(n)c=zde,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);c=Ade,i=d}if(!i)return Zb(t);const r=c[t],s=i[1].split(",").map(Pde);return typeof r=="function"?r(s):s[r]}const Vde=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Xb(n,t)};function Pde(e){return parseFloat(e.trim())}const s1=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],d1=new Set(s1),bC=e=>e===r1||e===Z,Tde=new Set(["x","y","z"]),Hde=s1.filter(e=>!Tde.has(e));function Dde(e){const t=[];return Hde.forEach(n=>{const c=e.getValue(n);c!==void 0&&(t.push([n,c.get()]),c.set(n.startsWith("scale")?1:0))}),t}const zc={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})=>Xb(t,"x"),y:(e,{transform:t})=>Xb(t,"y")};zc.translateX=zc.x;zc.translateY=zc.y;const Vc=new Set;let Yb=!1,Jb=!1,Qb=!1;function x$(){if(Jb){const e=Array.from(Vc).filter(c=>c.needsMeasurement),t=new Set(e.map(c=>c.element)),n=new Map;t.forEach(c=>{const i=Dde(c);i.length&&(n.set(c,i),c.render())}),e.forEach(c=>c.measureInitialState()),t.forEach(c=>{c.render();const i=n.get(c);i&&i.forEach(([r,s])=>{c.getValue(r)?.set(s)})}),e.forEach(c=>c.measureEndState()),e.forEach(c=>{c.suspendedScrollY!==void 0&&window.scrollTo(0,c.suspendedScrollY)})}Jb=!1,Yb=!1,Vc.forEach(e=>e.complete(Qb)),Vc.clear()}function _$(){Vc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Jb=!0)})}function Bde(){Qb=!0,_$(),x$(),Qb=!1}class qw{constructor(t,n,c,i,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=c,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Vc.add(this),Yb||(Yb=!0,ke.read(_$),ke.resolveKeyframes(x$))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:c,motionValue:i}=this;if(t[0]===null){const r=i?.get(),s=t[t.length-1];if(r!==void 0)t[0]=r;else if(c&&n){const d=c.readValue(n,s);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=s),i&&r===void 0&&i.set(t[0])}qde(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Vc.delete(this)}cancel(){this.state==="scheduled"&&(Vc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Rde=e=>e.startsWith("--");function Fde(e,t,n){Rde(t)?e.style.setProperty(t,n):e.style[t]=n}const Ede=gw(()=>window.ScrollTimeline!==void 0),Ode={};function Ude(e,t){const n=gw(e);return()=>Ode[t]??n()}const L$=Ude(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),v1=([e,t,n,c])=>`cubic-bezier(${e}, ${t}, ${n}, ${c})`,wC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:v1([0,.65,.55,1]),circOut:v1([.55,0,1,.45]),backIn:v1([.31,.01,.66,-.59]),backOut:v1([.33,1.53,.69,.99])};function I$(e,t){if(e)return typeof e=="function"?L$()?f$(e,t):"ease-out":r$(e)?v1(e):Array.isArray(e)?e.map(n=>I$(n,t)||wC.easeOut):wC[e]}function Wde(e,t,n,{delay:c=0,duration:i=300,repeat:r=0,repeatType:s="loop",ease:d="easeOut",times:h}={},l=void 0){const u={[t]:n};h&&(u.offset=h);const p=I$(d,i);Array.isArray(p)&&(u.easing=p);const y={delay:c,duration:i,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:r+1,direction:s==="reverse"?"alternate":"normal"};return l&&(y.pseudoElement=l),e.animate(u,y)}function b$(e){return typeof e=="function"&&"applyToOptions"in e}function Gde({type:e,...t}){return b$(e)&&L$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Kde extends Sw{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:c,keyframes:i,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:d,onComplete:h}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,at(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const l=Gde(t);this.animation=Wde(n,c,i,l,r),l.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=jw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):Fde(n,c,u),this.animation.cancel()}h?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Ze(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ze(t)}get time(){return Ze(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=tt(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&&Ede()?(this.animation.timeline=t,Ye):n(this)}}const w$={anticipate:n$,backInOut:a$,circInOut:c$};function Zde(e){return e in w$}function Xde(e){typeof e.ease=="string"&&Zde(e.ease)&&(e.ease=w$[e.ease])}const CC=10;class Yde extends Kde{constructor(t){Xde(t),M$(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:c,onComplete:i,element:r,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const d=new $w({...s,autoplay:!1}),h=tt(this.finishedTime??this.time);n.setWithVelocity(d.sample(h-CC).value,d.sample(h).value,CC),d.stop()}}const NC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Vt.test(e)||e==="0")&&!e.startsWith("url("));function Jde(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 Qde(e,t,n,c){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],s=NC(i,t),d=NC(r,t);return i1(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:Jde(e)||(n==="spring"||b$(n))&&c}function ew(e){e.duration=0,e.type="keyframes"}const e0e=new Set(["opacity","clipPath","filter","transform"]),t0e=gw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function a0e(e){const{motionValue:t,name:n,repeatDelay:c,repeatType:i,damping:r,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:l}=t.owner.getProps();return t0e()&&n&&e0e.has(n)&&(n!=="transform"||!l)&&!h&&!c&&i!=="mirror"&&r!==0&&s!=="inertia"}const n0e=40;class o0e extends Sw{constructor({autoplay:t=!0,delay:n=0,type:c="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",keyframes:d,name:h,motionValue:l,element:u,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Be.now();const y={autoplay:t,delay:n,type:c,repeat:i,repeatDelay:r,repeatType:s,name:h,motionValue:l,element:u,...p},g=u?.KeyframeResolver||qw;this.keyframeResolver=new g(d,(f,m,M)=>this.onKeyframesResolved(f,m,y,!M),h,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,c,i){this.keyframeResolver=void 0;const{name:r,type:s,velocity:d,delay:h,isHandoff:l,onUpdate:u}=c;this.resolvedAt=Be.now(),Qde(t,r,s,d)||((_t.instantAnimations||!h)&&u?.(jw(t,c,n)),t[0]=t[t.length-1],ew(c),c.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>n0e?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...c,keyframes:t},g=!l&&a0e(y)?new Yde({...y,element:y.motionValue.owner.current}):new $w(y);g.finished.then(()=>this.notifyFinished()).catch(Ye),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}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(),Bde()),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 c0e=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function i0e(e){const t=c0e.exec(e);if(!t)return[,];const[,n,c,i]=t;return[`--${n??c}`,i]}const r0e=4;function C$(e,t,n=1){at(n<=r0e,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[c,i]=i0e(e);if(!c)return;const r=window.getComputedStyle(t).getPropertyValue(c);if(r){const s=r.trim();return KS(s)?parseFloat(s):s}return Iw(i)?C$(i,t,n+1):i}function Aw(e,t){return e?.[t]??e?.default??e}const N$=new Set(["width","height","top","left","right","bottom",...s1]),s0e={test:e=>e==="auto",parse:e=>e},j$=e=>t=>t.test(e),S$=[r1,Z,ht,Ct,Q2e,J2e,s0e],jC=e=>S$.find(j$(e));function d0e(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||XS(e):!0}const l0e=new Set(["brightness","contrast","saturate","opacity"]);function h0e(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[c]=n.match(bw)||[];if(!c)return e;const i=n.replace(c,"");let r=l0e.has(t)?1:0;return c!==n&&(r*=100),t+"("+r+i+")"}const u0e=/\b([a-z-]*)\(.*?\)/gu,tw={...Vt,getAnimatableNone:e=>{const t=e.match(u0e);return t?t.map(h0e).join(" "):e}},SC={...r1,transform:Math.round},p0e={rotate:Ct,rotateX:Ct,rotateY:Ct,rotateZ:Ct,scale:ai,scaleX:ai,scaleY:ai,scaleZ:ai,skew:Ct,skewX:Ct,skewY:Ct,distance:Z,translateX:Z,translateY:Z,translateZ:Z,x:Z,y:Z,z:Z,perspective:Z,transformPerspective:Z,opacity:F1,originX:fC,originY:fC,originZ:Z},zw={borderWidth:Z,borderTopWidth:Z,borderRightWidth:Z,borderBottomWidth:Z,borderLeftWidth:Z,borderRadius:Z,radius:Z,borderTopLeftRadius:Z,borderTopRightRadius:Z,borderBottomRightRadius:Z,borderBottomLeftRadius:Z,width:Z,maxWidth:Z,height:Z,maxHeight:Z,top:Z,right:Z,bottom:Z,left:Z,padding:Z,paddingTop:Z,paddingRight:Z,paddingBottom:Z,paddingLeft:Z,margin:Z,marginTop:Z,marginRight:Z,marginBottom:Z,marginLeft:Z,backgroundPositionX:Z,backgroundPositionY:Z,...p0e,zIndex:SC,fillOpacity:F1,strokeOpacity:F1,numOctaves:SC},y0e={...zw,color:Ie,backgroundColor:Ie,outlineColor:Ie,fill:Ie,stroke:Ie,borderColor:Ie,borderTopColor:Ie,borderRightColor:Ie,borderBottomColor:Ie,borderLeftColor:Ie,filter:tw,WebkitFilter:tw},$$=e=>y0e[e];function q$(e,t){let n=$$(e);return n!==tw&&(n=Vt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const k0e=new Set(["auto","none","0"]);function m0e(e,t,n){let c=0,i;for(;c<e.length&&!i;){const r=e[c];typeof r=="string"&&!k0e.has(r)&&E1(r).values.length&&(i=e[c]),c++}if(i&&n)for(const r of t)e[r]=q$(n,i)}class f0e extends qw{constructor(t,n,c,i,r){super(t,n,c,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:c}=this;if(!n||!n.current)return;super.readKeyframes();for(let h=0;h<t.length;h++){let l=t[h];if(typeof l=="string"&&(l=l.trim(),Iw(l))){const u=C$(l,n.current);u!==void 0&&(t[h]=u),h===t.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!N$.has(c)||t.length!==2)return;const[i,r]=t,s=jC(i),d=jC(r);if(s!==d)if(bC(s)&&bC(d))for(let h=0;h<t.length;h++){const l=t[h];typeof l=="string"&&(t[h]=parseFloat(l))}else zc[c]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,c=[];for(let i=0;i<t.length;i++)(t[i]===null||d0e(t[i]))&&c.push(i);c.length&&m0e(t,c,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:c}=this;if(!t||!t.current)return;c==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=zc[c](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(c,i).jump(i,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:c}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=c.length-1,s=c[r];c[r]=zc[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([d,h])=>{t.getValue(d).set(h)}),this.resolveNoneKeyframes()}}function g0e(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let c=document;const i=n?.[e]??c.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const A$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function z$(e){return ZS(e)&&"offsetHeight"in e}const $C=30,v0e=e=>!isNaN(parseFloat(e)),P1={current:void 0};class M0e{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=c=>{const i=Be.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(c),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const r of this.dependents)r.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Be.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=v0e(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Mw(!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 vw);const c=this.events[t].add(n);return t==="change"?()=>{c(),ke.read(()=>{this.events.change.getSize()||this.stop()})}:c}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,c){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-c}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return P1.current&&P1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Be.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>$C)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,$C);return YS(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 Pc(e,t){return new M0e(e,t)}const{schedule:Vw}=s$(queueMicrotask,!1),et={x:!1,y:!1};function V$(){return et.x||et.y}function x0e(e){return e==="x"||e==="y"?et[e]?null:(et[e]=!0,()=>{et[e]=!1}):et.x||et.y?null:(et.x=et.y=!0,()=>{et.x=et.y=!1})}function P$(e,t){const n=g0e(e),c=new AbortController,i={passive:!0,...t,signal:c.signal};return[n,i,()=>c.abort()]}function qC(e){return!(e.pointerType==="touch"||V$())}function _0e(e,t,n={}){const[c,i,r]=P$(e,n),s=d=>{if(!qC(d))return;const{target:h}=d,l=t(h,d);if(typeof l!="function"||!h)return;const u=p=>{qC(p)&&(l(p),h.removeEventListener("pointerleave",u))};h.addEventListener("pointerleave",u,i)};return c.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const T$=(e,t)=>t?e===t?!0:T$(e,t.parentElement):!1,Pw=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,L0e=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function I0e(e){return L0e.has(e.tagName)||e.tabIndex!==-1}const nL=new WeakSet;function AC(e){return t=>{t.key==="Enter"&&e(t)}}function UL(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const b0e=(e,t)=>{const n=e.currentTarget;if(!n)return;const c=AC(()=>{if(nL.has(n))return;UL(n,"down");const i=AC(()=>{UL(n,"up")}),r=()=>UL(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",c,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",c),t)};function zC(e){return Pw(e)&&!V$()}function w0e(e,t,n={}){const[c,i,r]=P$(e,n),s=d=>{const h=d.currentTarget;if(!zC(d))return;nL.add(h);const l=t(h,d),u=(g,f)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),nL.has(h)&&nL.delete(h),zC(g)&&typeof l=="function"&&l(g,{success:f})},p=g=>{u(g,h===window||h===document||n.useGlobalTarget||T$(h,g.target))},y=g=>{u(g,!1)};window.addEventListener("pointerup",p,i),window.addEventListener("pointercancel",y,i)};return c.forEach(d=>{(n.useGlobalTarget?window:d).addEventListener("pointerdown",s,i),z$(d)&&(d.addEventListener("focus",l=>b0e(l,i)),!I0e(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function H$(e){return ZS(e)&&"ownerSVGElement"in e}function C0e(e){return H$(e)&&e.tagName==="svg"}function N0e(...e){const t=!Array.isArray(e[0]),n=t?0:-1,c=e[0+n],i=e[1+n],r=e[2+n],s=e[3+n],d=v$(i,r,s);return t?d(c):d}const qe=e=>!!(e&&e.getVelocity),j0e=[...S$,Ie,Vt],S0e=e=>j0e.find(j$(e)),ML=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function VC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function $0e(...e){return t=>{let n=!1;const c=e.map(i=>{const r=VC(i,t);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let i=0;i<c.length;i++){const r=c[i];typeof r=="function"?r():VC(e[i],null)}}}}function q0e(...e){return J.useCallback($0e(...e),e)}class A0e extends J.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const c=n.offsetParent,i=z$(c)&&c.offsetWidth||0,r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft,r.right=i-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function z0e({children:e,isPresent:t,anchorX:n,root:c}){const i=k.useId(),r=k.useRef(null),s=k.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=k.useContext(ML),h=q0e(r,e?.ref);return k.useInsertionEffect(()=>{const{width:l,height:u,top:p,left:y,right:g}=s.current;if(t||!r.current||!l||!u)return;const f=n==="left"?`left: ${y}`:`right: ${g}`;r.current.dataset.motionPopId=i;const m=document.createElement("style");d&&(m.nonce=d);const M=c??document.head;return M.appendChild(m),m.sheet&&m.sheet.insertRule(`
|
|
8161
|
+
*/const Mt=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:si,AArrowDownIcon:si,AArrowUp:di,AArrowUpIcon:di,ALargeSmall:li,ALargeSmallIcon:li,Accessibility:_1,AccessibilityIcon:_1,Activity:L1,ActivityIcon:L1,ActivitySquare:$t,ActivitySquareIcon:$t,AirVent:hi,AirVentIcon:hi,Airplay:ui,AirplayIcon:ui,AlarmCheck:Ot,AlarmCheckIcon:Ot,AlarmClock:yi,AlarmClockCheck:Ot,AlarmClockCheckIcon:Ot,AlarmClockIcon:yi,AlarmClockMinus:Ut,AlarmClockMinusIcon:Ut,AlarmClockOff:pi,AlarmClockOffIcon:pi,AlarmClockPlus:Wt,AlarmClockPlusIcon:Wt,AlarmMinus:Ut,AlarmMinusIcon:Ut,AlarmPlus:Wt,AlarmPlusIcon:Wt,AlarmSmoke:ki,AlarmSmokeIcon:ki,Album:mi,AlbumIcon:mi,AlertCircle:Ma,AlertCircleIcon:Ma,AlertOctagon:En,AlertOctagonIcon:En,AlertTriangle:yc,AlertTriangleIcon:yc,AlignCenter:_i,AlignCenterHorizontal:fi,AlignCenterHorizontalIcon:fi,AlignCenterIcon:_i,AlignCenterVertical:gi,AlignCenterVerticalIcon:gi,AlignEndHorizontal:vi,AlignEndHorizontalIcon:vi,AlignEndVertical:Mi,AlignEndVerticalIcon:Mi,AlignHorizontalDistributeCenter:xi,AlignHorizontalDistributeCenterIcon:xi,AlignHorizontalDistributeEnd:Li,AlignHorizontalDistributeEndIcon:Li,AlignHorizontalDistributeStart:Ii,AlignHorizontalDistributeStartIcon:Ii,AlignHorizontalJustifyCenter:bi,AlignHorizontalJustifyCenterIcon:bi,AlignHorizontalJustifyEnd:wi,AlignHorizontalJustifyEndIcon:wi,AlignHorizontalJustifyStart:Ci,AlignHorizontalJustifyStartIcon:Ci,AlignHorizontalSpaceAround:Ni,AlignHorizontalSpaceAroundIcon:Ni,AlignHorizontalSpaceBetween:Si,AlignHorizontalSpaceBetweenIcon:Si,AlignJustify:ji,AlignJustifyIcon:ji,AlignLeft:$i,AlignLeftIcon:$i,AlignRight:qi,AlignRightIcon:qi,AlignStartHorizontal:Ai,AlignStartHorizontalIcon:Ai,AlignStartVertical:zi,AlignStartVerticalIcon:zi,AlignVerticalDistributeCenter:Pi,AlignVerticalDistributeCenterIcon:Pi,AlignVerticalDistributeEnd:Vi,AlignVerticalDistributeEndIcon:Vi,AlignVerticalDistributeStart:Hi,AlignVerticalDistributeStartIcon:Hi,AlignVerticalJustifyCenter:Ti,AlignVerticalJustifyCenterIcon:Ti,AlignVerticalJustifyEnd:Di,AlignVerticalJustifyEndIcon:Di,AlignVerticalJustifyStart:Bi,AlignVerticalJustifyStartIcon:Bi,AlignVerticalSpaceAround:Fi,AlignVerticalSpaceAroundIcon:Fi,AlignVerticalSpaceBetween:Ri,AlignVerticalSpaceBetweenIcon:Ri,Ambulance:Ei,AmbulanceIcon:Ei,Ampersand:Oi,AmpersandIcon:Oi,Ampersands:Ui,AmpersandsIcon:Ui,Amphora:Wi,AmphoraIcon:Wi,Anchor:Gi,AnchorIcon:Gi,Angry:Ki,AngryIcon:Ki,Annoyed:Zi,AnnoyedIcon:Zi,Antenna:Xi,AntennaIcon:Xi,Anvil:Yi,AnvilIcon:Yi,Aperture:Ji,ApertureIcon:Ji,AppWindow:er,AppWindowIcon:er,AppWindowMac:Qi,AppWindowMacIcon:Qi,Apple:tr,AppleIcon:tr,Archive:or,ArchiveIcon:or,ArchiveRestore:ar,ArchiveRestoreIcon:ar,ArchiveX:nr,ArchiveXIcon:nr,AreaChart:ra,AreaChartIcon:ra,Armchair:cr,ArmchairIcon:cr,ArrowBigDown:rr,ArrowBigDownDash:ir,ArrowBigDownDashIcon:ir,ArrowBigDownIcon:rr,ArrowBigLeft:dr,ArrowBigLeftDash:sr,ArrowBigLeftDashIcon:sr,ArrowBigLeftIcon:dr,ArrowBigRight:hr,ArrowBigRightDash:lr,ArrowBigRightDashIcon:lr,ArrowBigRightIcon:hr,ArrowBigUp:pr,ArrowBigUpDash:ur,ArrowBigUpDashIcon:ur,ArrowBigUpIcon:pr,ArrowDown:Jc,ArrowDown01:yr,ArrowDown01Icon:yr,ArrowDown10:kr,ArrowDown10Icon:kr,ArrowDownAZ:Gt,ArrowDownAZIcon:Gt,ArrowDownAz:Gt,ArrowDownAzIcon:Gt,ArrowDownCircle:xa,ArrowDownCircleIcon:xa,ArrowDownFromLine:mr,ArrowDownFromLineIcon:mr,ArrowDownIcon:Jc,ArrowDownLeft:fr,ArrowDownLeftFromCircle:La,ArrowDownLeftFromCircleIcon:La,ArrowDownLeftFromSquare:fo,ArrowDownLeftFromSquareIcon:fo,ArrowDownLeftIcon:fr,ArrowDownLeftSquare:po,ArrowDownLeftSquareIcon:po,ArrowDownNarrowWide:gr,ArrowDownNarrowWideIcon:gr,ArrowDownRight:vr,ArrowDownRightFromCircle:Ia,ArrowDownRightFromCircleIcon:Ia,ArrowDownRightFromSquare:go,ArrowDownRightFromSquareIcon:go,ArrowDownRightIcon:vr,ArrowDownRightSquare:yo,ArrowDownRightSquareIcon:yo,ArrowDownSquare:ko,ArrowDownSquareIcon:ko,ArrowDownToDot:Mr,ArrowDownToDotIcon:Mr,ArrowDownToLine:xr,ArrowDownToLineIcon:xr,ArrowDownUp:_r,ArrowDownUpIcon:_r,ArrowDownWideNarrow:Kt,ArrowDownWideNarrowIcon:Kt,ArrowDownZA:Zt,ArrowDownZAIcon:Zt,ArrowDownZa:Zt,ArrowDownZaIcon:Zt,ArrowLeft:I1,ArrowLeftCircle:_a,ArrowLeftCircleIcon:_a,ArrowLeftFromLine:Lr,ArrowLeftFromLineIcon:Lr,ArrowLeftIcon:I1,ArrowLeftRight:Ir,ArrowLeftRightIcon:Ir,ArrowLeftSquare:mo,ArrowLeftSquareIcon:mo,ArrowLeftToLine:br,ArrowLeftToLineIcon:br,ArrowRight:jr,ArrowRightCircle:Ca,ArrowRightCircleIcon:Ca,ArrowRightFromLine:wr,ArrowRightFromLineIcon:wr,ArrowRightIcon:jr,ArrowRightLeft:Cr,ArrowRightLeftIcon:Cr,ArrowRightSquare:xo,ArrowRightSquareIcon:xo,ArrowRightToLine:Nr,ArrowRightToLineIcon:Nr,ArrowUp:Qc,ArrowUp01:Sr,ArrowUp01Icon:Sr,ArrowUp10:$r,ArrowUp10Icon:$r,ArrowUpAZ:Xt,ArrowUpAZIcon:Xt,ArrowUpAz:Xt,ArrowUpAzIcon:Xt,ArrowUpCircle:Na,ArrowUpCircleIcon:Na,ArrowUpDown:qr,ArrowUpDownIcon:qr,ArrowUpFromDot:Ar,ArrowUpFromDotIcon:Ar,ArrowUpFromLine:zr,ArrowUpFromLineIcon:zr,ArrowUpIcon:Qc,ArrowUpLeft:Vr,ArrowUpLeftFromCircle:ba,ArrowUpLeftFromCircleIcon:ba,ArrowUpLeftFromSquare:vo,ArrowUpLeftFromSquareIcon:vo,ArrowUpLeftIcon:Vr,ArrowUpLeftSquare:_o,ArrowUpLeftSquareIcon:_o,ArrowUpNarrowWide:Yt,ArrowUpNarrowWideIcon:Yt,ArrowUpRight:Pr,ArrowUpRightFromCircle:wa,ArrowUpRightFromCircleIcon:wa,ArrowUpRightFromSquare:Mo,ArrowUpRightFromSquareIcon:Mo,ArrowUpRightIcon:Pr,ArrowUpRightSquare:Lo,ArrowUpRightSquareIcon:Lo,ArrowUpSquare:Io,ArrowUpSquareIcon:Io,ArrowUpToLine:Tr,ArrowUpToLineIcon:Tr,ArrowUpWideNarrow:Hr,ArrowUpWideNarrowIcon:Hr,ArrowUpZA:Jt,ArrowUpZAIcon:Jt,ArrowUpZa:Jt,ArrowUpZaIcon:Jt,ArrowsUpFromLine:Dr,ArrowsUpFromLineIcon:Dr,Asterisk:Br,AsteriskIcon:Br,AsteriskSquare:bo,AsteriskSquareIcon:bo,AtSign:Rr,AtSignIcon:Rr,Atom:Fr,AtomIcon:Fr,AudioLines:Er,AudioLinesIcon:Er,AudioWaveform:Or,AudioWaveformIcon:Or,Award:Ur,AwardIcon:Ur,Axe:Wr,AxeIcon:Wr,Axis3D:Qt,Axis3DIcon:Qt,Axis3d:Qt,Axis3dIcon:Qt,Baby:Gr,BabyIcon:Gr,Backpack:Kr,BackpackIcon:Kr,Badge:ls,BadgeAlert:Zr,BadgeAlertIcon:Zr,BadgeCent:Xr,BadgeCentIcon:Xr,BadgeCheck:ea,BadgeCheckIcon:ea,BadgeDollarSign:Yr,BadgeDollarSignIcon:Yr,BadgeEuro:Jr,BadgeEuroIcon:Jr,BadgeHelp:ta,BadgeHelpIcon:ta,BadgeIcon:ls,BadgeIndianRupee:Qr,BadgeIndianRupeeIcon:Qr,BadgeInfo:es,BadgeInfoIcon:es,BadgeJapaneseYen:as,BadgeJapaneseYenIcon:as,BadgeMinus:ts,BadgeMinusIcon:ts,BadgePercent:ns,BadgePercentIcon:ns,BadgePlus:os,BadgePlusIcon:os,BadgePoundSterling:cs,BadgePoundSterlingIcon:cs,BadgeQuestionMark:ta,BadgeQuestionMarkIcon:ta,BadgeRussianRuble:is,BadgeRussianRubleIcon:is,BadgeSwissFranc:rs,BadgeSwissFrancIcon:rs,BadgeTurkishLira:ss,BadgeTurkishLiraIcon:ss,BadgeX:ds,BadgeXIcon:ds,BaggageClaim:hs,BaggageClaimIcon:hs,Ban:us,BanIcon:us,Banana:ps,BananaIcon:ps,Bandage:ys,BandageIcon:ys,Banknote:gs,BanknoteArrowDown:ks,BanknoteArrowDownIcon:ks,BanknoteArrowUp:ms,BanknoteArrowUpIcon:ms,BanknoteIcon:gs,BanknoteX:fs,BanknoteXIcon:fs,BarChart:ka,BarChart2:ma,BarChart2Icon:ma,BarChart3:pa,BarChart3Icon:pa,BarChart4:ua,BarChart4Icon:ua,BarChartBig:ha,BarChartBigIcon:ha,BarChartHorizontal:da,BarChartHorizontalBig:sa,BarChartHorizontalBigIcon:sa,BarChartHorizontalIcon:da,BarChartIcon:ka,Barcode:vs,BarcodeIcon:vs,Barrel:Ms,BarrelIcon:Ms,Baseline:xs,BaselineIcon:xs,Bath:_s,BathIcon:_s,Battery:js,BatteryCharging:Ls,BatteryChargingIcon:Ls,BatteryFull:Is,BatteryFullIcon:Is,BatteryIcon:js,BatteryLow:bs,BatteryLowIcon:bs,BatteryMedium:ws,BatteryMediumIcon:ws,BatteryPlus:Cs,BatteryPlusIcon:Cs,BatteryWarning:Ns,BatteryWarningIcon:Ns,Beaker:Ss,BeakerIcon:Ss,Bean:qs,BeanIcon:qs,BeanOff:$s,BeanOffIcon:$s,Bed:Vs,BedDouble:As,BedDoubleIcon:As,BedIcon:Vs,BedSingle:zs,BedSingleIcon:zs,Beef:Ps,BeefIcon:Ps,Beer:Hs,BeerIcon:Hs,BeerOff:Ts,BeerOffIcon:Ts,Bell:Os,BellDot:Ds,BellDotIcon:Ds,BellElectric:Bs,BellElectricIcon:Bs,BellIcon:Os,BellMinus:Rs,BellMinusIcon:Rs,BellOff:Fs,BellOffIcon:Fs,BellPlus:Es,BellPlusIcon:Es,BellRing:Us,BellRingIcon:Us,BetweenHorizonalEnd:aa,BetweenHorizonalEndIcon:aa,BetweenHorizonalStart:na,BetweenHorizonalStartIcon:na,BetweenHorizontalEnd:aa,BetweenHorizontalEndIcon:aa,BetweenHorizontalStart:na,BetweenHorizontalStartIcon:na,BetweenVerticalEnd:Gs,BetweenVerticalEndIcon:Gs,BetweenVerticalStart:Ws,BetweenVerticalStartIcon:Ws,BicepsFlexed:Ks,BicepsFlexedIcon:Ks,Bike:Xs,BikeIcon:Xs,Binary:Zs,BinaryIcon:Zs,Binoculars:Ys,BinocularsIcon:Ys,Biohazard:Js,BiohazardIcon:Js,Bird:Qs,BirdIcon:Qs,Bitcoin:e2,BitcoinIcon:e2,Blend:t2,BlendIcon:t2,Blinds:a2,BlindsIcon:a2,Blocks:n2,BlocksIcon:n2,Bluetooth:r2,BluetoothConnected:o2,BluetoothConnectedIcon:o2,BluetoothIcon:r2,BluetoothOff:c2,BluetoothOffIcon:c2,BluetoothSearching:i2,BluetoothSearchingIcon:i2,Bold:s2,BoldIcon:s2,Bolt:d2,BoltIcon:d2,Bomb:l2,BombIcon:l2,Bone:h2,BoneIcon:h2,Book:V2,BookA:u2,BookAIcon:u2,BookAlert:p2,BookAlertIcon:p2,BookAudio:y2,BookAudioIcon:y2,BookCheck:k2,BookCheckIcon:k2,BookCopy:m2,BookCopyIcon:m2,BookDashed:oa,BookDashedIcon:oa,BookDown:f2,BookDownIcon:f2,BookHeadphones:g2,BookHeadphonesIcon:g2,BookHeart:v2,BookHeartIcon:v2,BookIcon:V2,BookImage:M2,BookImageIcon:M2,BookKey:x2,BookKeyIcon:x2,BookLock:_2,BookLockIcon:_2,BookMarked:I2,BookMarkedIcon:I2,BookMinus:L2,BookMinusIcon:L2,BookOpen:C2,BookOpenCheck:b2,BookOpenCheckIcon:b2,BookOpenIcon:C2,BookOpenText:w2,BookOpenTextIcon:w2,BookPlus:N2,BookPlusIcon:N2,BookTemplate:oa,BookTemplateIcon:oa,BookText:j2,BookTextIcon:j2,BookType:S2,BookTypeIcon:S2,BookUp:q2,BookUp2:$2,BookUp2Icon:$2,BookUpIcon:q2,BookUser:A2,BookUserIcon:A2,BookX:z2,BookXIcon:z2,Bookmark:B2,BookmarkCheck:P2,BookmarkCheckIcon:P2,BookmarkIcon:B2,BookmarkMinus:T2,BookmarkMinusIcon:T2,BookmarkPlus:H2,BookmarkPlusIcon:H2,BookmarkX:D2,BookmarkXIcon:D2,BoomBox:R2,BoomBoxIcon:R2,Bot:O2,BotIcon:O2,BotMessageSquare:F2,BotMessageSquareIcon:F2,BotOff:E2,BotOffIcon:E2,BottleWine:U2,BottleWineIcon:U2,BowArrow:W2,BowArrowIcon:W2,Box:G2,BoxIcon:G2,BoxSelect:Po,BoxSelectIcon:Po,Boxes:K2,BoxesIcon:K2,Braces:ca,BracesIcon:ca,Brackets:Z2,BracketsIcon:Z2,Brain:J2,BrainCircuit:X2,BrainCircuitIcon:X2,BrainCog:Y2,BrainCogIcon:Y2,BrainIcon:J2,BrickWall:td,BrickWallFire:Q2,BrickWallFireIcon:Q2,BrickWallIcon:td,BrickWallShield:ed,BrickWallShieldIcon:ed,Briefcase:cd,BriefcaseBusiness:ad,BriefcaseBusinessIcon:ad,BriefcaseConveyorBelt:nd,BriefcaseConveyorBeltIcon:nd,BriefcaseIcon:cd,BriefcaseMedical:od,BriefcaseMedicalIcon:od,BringToFront:id,BringToFrontIcon:id,Brush:sd,BrushCleaning:rd,BrushCleaningIcon:rd,BrushIcon:sd,Bubbles:dd,BubblesIcon:dd,Bug:pd,BugIcon:pd,BugOff:ld,BugOffIcon:ld,BugPlay:hd,BugPlayIcon:hd,Building:yd,Building2:ud,Building2Icon:ud,BuildingIcon:yd,Bus:md,BusFront:kd,BusFrontIcon:kd,BusIcon:md,Cable:gd,CableCar:fd,CableCarIcon:fd,CableIcon:gd,Cake:Md,CakeIcon:Md,CakeSlice:vd,CakeSliceIcon:vd,Calculator:xd,CalculatorIcon:xd,Calendar:b1,Calendar1:_d,Calendar1Icon:_d,CalendarArrowDown:Ld,CalendarArrowDownIcon:Ld,CalendarArrowUp:Id,CalendarArrowUpIcon:Id,CalendarCheck:wd,CalendarCheck2:bd,CalendarCheck2Icon:bd,CalendarCheckIcon:wd,CalendarClock:Cd,CalendarClockIcon:Cd,CalendarCog:Nd,CalendarCogIcon:Nd,CalendarDays:jd,CalendarDaysIcon:jd,CalendarFold:Sd,CalendarFoldIcon:Sd,CalendarHeart:$d,CalendarHeartIcon:$d,CalendarIcon:b1,CalendarMinus:Ad,CalendarMinus2:qd,CalendarMinus2Icon:qd,CalendarMinusIcon:Ad,CalendarOff:zd,CalendarOffIcon:zd,CalendarPlus:Pd,CalendarPlus2:Vd,CalendarPlus2Icon:Vd,CalendarPlusIcon:Pd,CalendarRange:Td,CalendarRangeIcon:Td,CalendarSearch:Hd,CalendarSearchIcon:Hd,CalendarSync:Dd,CalendarSyncIcon:Dd,CalendarX:Rd,CalendarX2:Bd,CalendarX2Icon:Bd,CalendarXIcon:Rd,Camera:Ed,CameraIcon:Ed,CameraOff:Fd,CameraOffIcon:Fd,CandlestickChart:la,CandlestickChartIcon:la,Candy:Wd,CandyCane:Od,CandyCaneIcon:Od,CandyIcon:Wd,CandyOff:Ud,CandyOffIcon:Ud,Cannabis:Gd,CannabisIcon:Gd,Captions:ia,CaptionsIcon:ia,CaptionsOff:Kd,CaptionsOffIcon:Kd,Car:Yd,CarFront:Zd,CarFrontIcon:Zd,CarIcon:Yd,CarTaxiFront:Xd,CarTaxiFrontIcon:Xd,Caravan:Jd,CaravanIcon:Jd,CardSim:Qd,CardSimIcon:Qd,Carrot:e0,CarrotIcon:e0,CaseLower:t0,CaseLowerIcon:t0,CaseSensitive:a0,CaseSensitiveIcon:a0,CaseUpper:n0,CaseUpperIcon:n0,CassetteTape:o0,CassetteTapeIcon:o0,Cast:c0,CastIcon:c0,Castle:r0,CastleIcon:r0,Cat:i0,CatIcon:i0,Cctv:s0,CctvIcon:s0,ChartArea:ra,ChartAreaIcon:ra,ChartBar:da,ChartBarBig:sa,ChartBarBigIcon:sa,ChartBarDecreasing:d0,ChartBarDecreasingIcon:d0,ChartBarIcon:da,ChartBarIncreasing:l0,ChartBarIncreasingIcon:l0,ChartBarStacked:h0,ChartBarStackedIcon:h0,ChartCandlestick:la,ChartCandlestickIcon:la,ChartColumn:pa,ChartColumnBig:ha,ChartColumnBigIcon:ha,ChartColumnDecreasing:u0,ChartColumnDecreasingIcon:u0,ChartColumnIcon:pa,ChartColumnIncreasing:ua,ChartColumnIncreasingIcon:ua,ChartColumnStacked:p0,ChartColumnStackedIcon:p0,ChartGantt:y0,ChartGanttIcon:y0,ChartLine:ya,ChartLineIcon:ya,ChartNetwork:k0,ChartNetworkIcon:k0,ChartNoAxesColumn:ma,ChartNoAxesColumnDecreasing:m0,ChartNoAxesColumnDecreasingIcon:m0,ChartNoAxesColumnIcon:ma,ChartNoAxesColumnIncreasing:ka,ChartNoAxesColumnIncreasingIcon:ka,ChartNoAxesCombined:f0,ChartNoAxesCombinedIcon:f0,ChartNoAxesGantt:fa,ChartNoAxesGanttIcon:fa,ChartPie:ga,ChartPieIcon:ga,ChartScatter:va,ChartScatterIcon:va,ChartSpline:g0,ChartSplineIcon:g0,Check:w1,CheckCheck:v0,CheckCheckIcon:v0,CheckCircle:ja,CheckCircle2:Sa,CheckCircle2Icon:Sa,CheckCircleIcon:ja,CheckIcon:w1,CheckLine:M0,CheckLineIcon:M0,CheckSquare:Co,CheckSquare2:No,CheckSquare2Icon:No,CheckSquareIcon:Co,ChefHat:x0,ChefHatIcon:x0,Cherry:_0,CherryIcon:_0,ChevronDown:zt,ChevronDownCircle:$a,ChevronDownCircleIcon:$a,ChevronDownIcon:zt,ChevronDownSquare:jo,ChevronDownSquareIcon:jo,ChevronFirst:L0,ChevronFirstIcon:L0,ChevronLast:I0,ChevronLastIcon:I0,ChevronLeft:b0,ChevronLeftCircle:qa,ChevronLeftCircleIcon:qa,ChevronLeftIcon:b0,ChevronLeftSquare:So,ChevronLeftSquareIcon:So,ChevronRight:C1,ChevronRightCircle:Aa,ChevronRightCircleIcon:Aa,ChevronRightIcon:C1,ChevronRightSquare:$o,ChevronRightSquareIcon:$o,ChevronUp:qc,ChevronUpCircle:za,ChevronUpCircleIcon:za,ChevronUpIcon:qc,ChevronUpSquare:qo,ChevronUpSquareIcon:qo,ChevronsDown:C0,ChevronsDownIcon:C0,ChevronsDownUp:w0,ChevronsDownUpIcon:w0,ChevronsLeft:j0,ChevronsLeftIcon:j0,ChevronsLeftRight:N0,ChevronsLeftRightEllipsis:S0,ChevronsLeftRightEllipsisIcon:S0,ChevronsLeftRightIcon:N0,ChevronsRight:q0,ChevronsRightIcon:q0,ChevronsRightLeft:$0,ChevronsRightLeftIcon:$0,ChevronsUp:A0,ChevronsUpDown:e1,ChevronsUpDownIcon:e1,ChevronsUpIcon:A0,Chrome:z0,ChromeIcon:z0,Church:V0,ChurchIcon:V0,Cigarette:T0,CigaretteIcon:T0,CigaretteOff:P0,CigaretteOffIcon:P0,Circle:Y0,CircleAlert:Ma,CircleAlertIcon:Ma,CircleArrowDown:xa,CircleArrowDownIcon:xa,CircleArrowLeft:_a,CircleArrowLeftIcon:_a,CircleArrowOutDownLeft:La,CircleArrowOutDownLeftIcon:La,CircleArrowOutDownRight:Ia,CircleArrowOutDownRightIcon:Ia,CircleArrowOutUpLeft:ba,CircleArrowOutUpLeftIcon:ba,CircleArrowOutUpRight:wa,CircleArrowOutUpRightIcon:wa,CircleArrowRight:Ca,CircleArrowRightIcon:Ca,CircleArrowUp:Na,CircleArrowUpIcon:Na,CircleCheck:Sa,CircleCheckBig:ja,CircleCheckBigIcon:ja,CircleCheckIcon:Sa,CircleChevronDown:$a,CircleChevronDownIcon:$a,CircleChevronLeft:qa,CircleChevronLeftIcon:qa,CircleChevronRight:Aa,CircleChevronRightIcon:Aa,CircleChevronUp:za,CircleChevronUpIcon:za,CircleDashed:H0,CircleDashedIcon:H0,CircleDivide:Va,CircleDivideIcon:Va,CircleDollarSign:B0,CircleDollarSignIcon:B0,CircleDot:R0,CircleDotDashed:D0,CircleDotDashedIcon:D0,CircleDotIcon:R0,CircleEllipsis:F0,CircleEllipsisIcon:F0,CircleEqual:E0,CircleEqualIcon:E0,CircleFadingArrowUp:U0,CircleFadingArrowUpIcon:U0,CircleFadingPlus:O0,CircleFadingPlusIcon:O0,CircleGauge:Pa,CircleGaugeIcon:Pa,CircleHelp:it,CircleHelpIcon:it,CircleIcon:Y0,CircleMinus:Ta,CircleMinusIcon:Ta,CircleOff:W0,CircleOffIcon:W0,CircleParking:Ba,CircleParkingIcon:Ba,CircleParkingOff:Ha,CircleParkingOffIcon:Ha,CirclePause:Da,CirclePauseIcon:Da,CirclePercent:Ra,CirclePercentIcon:Ra,CirclePlay:Fa,CirclePlayIcon:Fa,CirclePlus:Ea,CirclePlusIcon:Ea,CirclePoundSterling:G0,CirclePoundSterlingIcon:G0,CirclePower:Oa,CirclePowerIcon:Oa,CircleQuestionMark:it,CircleQuestionMarkIcon:it,CircleSlash:K0,CircleSlash2:Ua,CircleSlash2Icon:Ua,CircleSlashIcon:K0,CircleSlashed:Ua,CircleSlashedIcon:Ua,CircleSmall:Z0,CircleSmallIcon:Z0,CircleStar:X0,CircleStarIcon:X0,CircleStop:Wa,CircleStopIcon:Wa,CircleUser:Ka,CircleUserIcon:Ka,CircleUserRound:Ga,CircleUserRoundIcon:Ga,CircleX:Nt,CircleXIcon:Nt,CircuitBoard:J0,CircuitBoardIcon:J0,Citrus:Q0,CitrusIcon:Q0,Clapperboard:el,ClapperboardIcon:el,Clipboard:ll,ClipboardCheck:tl,ClipboardCheckIcon:tl,ClipboardClock:al,ClipboardClockIcon:al,ClipboardCopy:nl,ClipboardCopyIcon:nl,ClipboardEdit:Xa,ClipboardEditIcon:Xa,ClipboardIcon:ll,ClipboardList:ol,ClipboardListIcon:ol,ClipboardMinus:cl,ClipboardMinusIcon:cl,ClipboardPaste:il,ClipboardPasteIcon:il,ClipboardPen:Xa,ClipboardPenIcon:Xa,ClipboardPenLine:Za,ClipboardPenLineIcon:Za,ClipboardPlus:rl,ClipboardPlusIcon:rl,ClipboardSignature:Za,ClipboardSignatureIcon:Za,ClipboardType:sl,ClipboardTypeIcon:sl,ClipboardX:dl,ClipboardXIcon:dl,Clock:Nl,Clock1:ul,Clock10:hl,Clock10Icon:hl,Clock11:pl,Clock11Icon:pl,Clock12:yl,Clock12Icon:yl,Clock1Icon:ul,Clock2:kl,Clock2Icon:kl,Clock3:ml,Clock3Icon:ml,Clock4:fl,Clock4Icon:fl,Clock5:gl,Clock5Icon:gl,Clock6:vl,Clock6Icon:vl,Clock7:Ml,Clock7Icon:Ml,Clock8:xl,Clock8Icon:xl,Clock9:_l,Clock9Icon:_l,ClockAlert:Ll,ClockAlertIcon:Ll,ClockArrowDown:Il,ClockArrowDownIcon:Il,ClockArrowUp:bl,ClockArrowUpIcon:bl,ClockFading:wl,ClockFadingIcon:wl,ClockIcon:Nl,ClockPlus:Cl,ClockPlusIcon:Cl,ClosedCaption:jl,ClosedCaptionIcon:jl,Cloud:Ul,CloudAlert:Sl,CloudAlertIcon:Sl,CloudCheck:$l,CloudCheckIcon:$l,CloudCog:ql,CloudCogIcon:ql,CloudDownload:Ya,CloudDownloadIcon:Ya,CloudDrizzle:Al,CloudDrizzleIcon:Al,CloudFog:zl,CloudFogIcon:zl,CloudHail:Vl,CloudHailIcon:Vl,CloudIcon:Ul,CloudLightning:Pl,CloudLightningIcon:Pl,CloudMoon:Hl,CloudMoonIcon:Hl,CloudMoonRain:Tl,CloudMoonRainIcon:Tl,CloudOff:Dl,CloudOffIcon:Dl,CloudRain:Rl,CloudRainIcon:Rl,CloudRainWind:Bl,CloudRainWindIcon:Bl,CloudSnow:Fl,CloudSnowIcon:Fl,CloudSun:Ol,CloudSunIcon:Ol,CloudSunRain:El,CloudSunRainIcon:El,CloudUpload:Ja,CloudUploadIcon:Ja,Cloudy:Wl,CloudyIcon:Wl,Clover:Gl,CloverIcon:Gl,Club:Kl,ClubIcon:Kl,Code:Zl,Code2:Qa,Code2Icon:Qa,CodeIcon:Zl,CodeSquare:Ao,CodeSquareIcon:Ao,CodeXml:Qa,CodeXmlIcon:Qa,Codepen:Xl,CodepenIcon:Xl,Codesandbox:Yl,CodesandboxIcon:Yl,Coffee:Jl,CoffeeIcon:Jl,Cog:Ql,CogIcon:Ql,Coins:eh,CoinsIcon:eh,Columns:en,Columns2:en,Columns2Icon:en,Columns3:tn,Columns3Cog:rt,Columns3CogIcon:rt,Columns3Icon:tn,Columns4:th,Columns4Icon:th,ColumnsIcon:en,ColumnsSettings:rt,ColumnsSettingsIcon:rt,Combine:ah,CombineIcon:ah,Command:nh,CommandIcon:nh,Compass:oh,CompassIcon:oh,Component:ch,ComponentIcon:ch,Computer:ih,ComputerIcon:ih,ConciergeBell:rh,ConciergeBellIcon:rh,Cone:sh,ConeIcon:sh,Construction:dh,ConstructionIcon:dh,Contact:lh,Contact2:an,Contact2Icon:an,ContactIcon:lh,ContactRound:an,ContactRoundIcon:an,Container:hh,ContainerIcon:hh,Contrast:ph,ContrastIcon:ph,Cookie:uh,CookieIcon:uh,CookingPot:kh,CookingPotIcon:kh,Copy:Mh,CopyCheck:yh,CopyCheckIcon:yh,CopyIcon:Mh,CopyMinus:mh,CopyMinusIcon:mh,CopyPlus:fh,CopyPlusIcon:fh,CopySlash:gh,CopySlashIcon:gh,CopyX:vh,CopyXIcon:vh,Copyleft:xh,CopyleftIcon:xh,Copyright:_h,CopyrightIcon:_h,CornerDownLeft:Lh,CornerDownLeftIcon:Lh,CornerDownRight:Ih,CornerDownRightIcon:Ih,CornerLeftDown:bh,CornerLeftDownIcon:bh,CornerLeftUp:wh,CornerLeftUpIcon:wh,CornerRightDown:Ch,CornerRightDownIcon:Ch,CornerRightUp:Nh,CornerRightUpIcon:Nh,CornerUpLeft:jh,CornerUpLeftIcon:jh,CornerUpRight:Sh,CornerUpRightIcon:Sh,Cpu:$h,CpuIcon:$h,CreativeCommons:qh,CreativeCommonsIcon:qh,CreditCard:Ah,CreditCardIcon:Ah,Croissant:zh,CroissantIcon:zh,Crop:Vh,CropIcon:Vh,Cross:Ph,CrossIcon:Ph,Crosshair:Th,CrosshairIcon:Th,Crown:Hh,CrownIcon:Hh,Cuboid:Dh,CuboidIcon:Dh,CupSoda:Bh,CupSodaIcon:Bh,CurlyBraces:ca,CurlyBracesIcon:ca,Currency:Rh,CurrencyIcon:Rh,Cylinder:Fh,CylinderIcon:Fh,Dam:Eh,DamIcon:Eh,Database:Wh,DatabaseBackup:Oh,DatabaseBackupIcon:Oh,DatabaseIcon:Wh,DatabaseZap:Uh,DatabaseZapIcon:Uh,DecimalsArrowLeft:Gh,DecimalsArrowLeftIcon:Gh,DecimalsArrowRight:Kh,DecimalsArrowRightIcon:Kh,Delete:Zh,DeleteIcon:Zh,Dessert:Xh,DessertIcon:Xh,Diameter:Yh,DiameterIcon:Yh,Diamond:eu,DiamondIcon:eu,DiamondMinus:Jh,DiamondMinusIcon:Jh,DiamondPercent:nn,DiamondPercentIcon:nn,DiamondPlus:Qh,DiamondPlusIcon:Qh,Dice1:tu,Dice1Icon:tu,Dice2:au,Dice2Icon:au,Dice3:nu,Dice3Icon:nu,Dice4:ou,Dice4Icon:ou,Dice5:cu,Dice5Icon:cu,Dice6:iu,Dice6Icon:iu,Dices:ru,DicesIcon:ru,Diff:su,DiffIcon:su,Disc:uu,Disc2:du,Disc2Icon:du,Disc3:lu,Disc3Icon:lu,DiscAlbum:hu,DiscAlbumIcon:hu,DiscIcon:uu,Divide:pu,DivideCircle:Va,DivideCircleIcon:Va,DivideIcon:pu,DivideSquare:To,DivideSquareIcon:To,Dna:ku,DnaIcon:ku,DnaOff:yu,DnaOffIcon:yu,Dock:mu,DockIcon:mu,Dog:fu,DogIcon:fu,DollarSign:gu,DollarSignIcon:gu,Donut:vu,DonutIcon:vu,DoorClosed:xu,DoorClosedIcon:xu,DoorClosedLocked:Mu,DoorClosedLockedIcon:Mu,DoorOpen:_u,DoorOpenIcon:_u,Dot:Lu,DotIcon:Lu,DotSquare:Do,DotSquareIcon:Do,Download:bu,DownloadCloud:Ya,DownloadCloudIcon:Ya,DownloadIcon:bu,DraftingCompass:Iu,DraftingCompassIcon:Iu,Drama:wu,DramaIcon:wu,Dribbble:Cu,DribbbleIcon:Cu,Drill:Nu,DrillIcon:Nu,Drone:ju,DroneIcon:ju,Droplet:$u,DropletIcon:$u,DropletOff:Su,DropletOffIcon:Su,Droplets:qu,DropletsIcon:qu,Drum:Au,DrumIcon:Au,Drumstick:zu,DrumstickIcon:zu,Dumbbell:Vu,DumbbellIcon:Vu,Ear:Tu,EarIcon:Tu,EarOff:Pu,EarOffIcon:Pu,Earth:on,EarthIcon:on,EarthLock:Hu,EarthLockIcon:Hu,Eclipse:Du,EclipseIcon:Du,Edit:Fe,Edit2:gt,Edit2Icon:gt,Edit3:ft,Edit3Icon:ft,EditIcon:Fe,Egg:Fu,EggFried:Bu,EggFriedIcon:Bu,EggIcon:Fu,EggOff:Ru,EggOffIcon:Ru,Ellipsis:rn,EllipsisIcon:rn,EllipsisVertical:cn,EllipsisVerticalIcon:cn,Equal:Uu,EqualApproximately:Eu,EqualApproximatelyIcon:Eu,EqualIcon:Uu,EqualNot:Ou,EqualNotIcon:Ou,EqualSquare:Ho,EqualSquareIcon:Ho,Eraser:Wu,EraserIcon:Wu,EthernetPort:Gu,EthernetPortIcon:Gu,Euro:Ku,EuroIcon:Ku,Expand:Xu,ExpandIcon:Xu,ExternalLink:Zu,ExternalLinkIcon:Zu,Eye:j1,EyeClosed:Yu,EyeClosedIcon:Yu,EyeIcon:j1,EyeOff:N1,EyeOffIcon:N1,Facebook:Ju,FacebookIcon:Ju,Factory:Qu,FactoryIcon:Qu,Fan:ep,FanIcon:ep,FastForward:tp,FastForwardIcon:tp,Feather:ap,FeatherIcon:ap,Fence:np,FenceIcon:np,FerrisWheel:op,FerrisWheelIcon:op,Figma:cp,FigmaIcon:cp,File:Qp,FileArchive:ip,FileArchiveIcon:ip,FileAudio:sp,FileAudio2:rp,FileAudio2Icon:rp,FileAudioIcon:sp,FileAxis3D:sn,FileAxis3DIcon:sn,FileAxis3d:sn,FileAxis3dIcon:sn,FileBadge:hp,FileBadge2:dp,FileBadge2Icon:dp,FileBadgeIcon:hp,FileBarChart:dn,FileBarChart2:ln,FileBarChart2Icon:ln,FileBarChartIcon:dn,FileBox:lp,FileBoxIcon:lp,FileChartColumn:ln,FileChartColumnIcon:ln,FileChartColumnIncreasing:dn,FileChartColumnIncreasingIcon:dn,FileChartLine:hn,FileChartLineIcon:hn,FileChartPie:un,FileChartPieIcon:un,FileCheck:pp,FileCheck2:up,FileCheck2Icon:up,FileCheckIcon:pp,FileClock:yp,FileClockIcon:yp,FileCode:kp,FileCode2:mp,FileCode2Icon:mp,FileCodeIcon:kp,FileCog:pn,FileCog2:pn,FileCog2Icon:pn,FileCogIcon:pn,FileDiff:fp,FileDiffIcon:fp,FileDigit:gp,FileDigitIcon:gp,FileDown:vp,FileDownIcon:vp,FileEdit:kn,FileEditIcon:kn,FileHeart:Mp,FileHeartIcon:Mp,FileIcon:Qp,FileImage:xp,FileImageIcon:xp,FileInput:_p,FileInputIcon:_p,FileJson:Ip,FileJson2:Lp,FileJson2Icon:Lp,FileJsonIcon:Ip,FileKey:wp,FileKey2:bp,FileKey2Icon:bp,FileKeyIcon:wp,FileLineChart:hn,FileLineChartIcon:hn,FileLock:Np,FileLock2:Cp,FileLock2Icon:Cp,FileLockIcon:Np,FileMinus:Sp,FileMinus2:jp,FileMinus2Icon:jp,FileMinusIcon:Sp,FileMusic:$p,FileMusicIcon:$p,FileOutput:qp,FileOutputIcon:qp,FilePen:kn,FilePenIcon:kn,FilePenLine:yn,FilePenLineIcon:yn,FilePieChart:un,FilePieChartIcon:un,FilePlay:mn,FilePlayIcon:mn,FilePlus:zp,FilePlus2:Ap,FilePlus2Icon:Ap,FilePlusIcon:zp,FileQuestion:fn,FileQuestionIcon:fn,FileQuestionMark:fn,FileQuestionMarkIcon:fn,FileScan:Vp,FileScanIcon:Vp,FileSearch:Tp,FileSearch2:Pp,FileSearch2Icon:Pp,FileSearchIcon:Tp,FileSignature:yn,FileSignatureIcon:yn,FileSliders:Hp,FileSlidersIcon:Hp,FileSpreadsheet:Dp,FileSpreadsheetIcon:Dp,FileStack:Bp,FileStackIcon:Bp,FileSymlink:Rp,FileSymlinkIcon:Rp,FileTerminal:Fp,FileTerminalIcon:Fp,FileText:Ep,FileTextIcon:Ep,FileType:Up,FileType2:Op,FileType2Icon:Op,FileTypeIcon:Up,FileUp:Wp,FileUpIcon:Wp,FileUser:Gp,FileUserIcon:Gp,FileVideo:mn,FileVideo2:gn,FileVideo2Icon:gn,FileVideoCamera:gn,FileVideoCameraIcon:gn,FileVideoIcon:mn,FileVolume:Zp,FileVolume2:Kp,FileVolume2Icon:Kp,FileVolumeIcon:Zp,FileWarning:Xp,FileWarningIcon:Xp,FileX:Jp,FileX2:Yp,FileX2Icon:Yp,FileXIcon:Jp,Files:ey,FilesIcon:ey,Film:ty,FilmIcon:ty,Filter:jt,FilterIcon:jt,FilterX:xn,FilterXIcon:xn,Fingerprint:ay,FingerprintIcon:ay,FireExtinguisher:ny,FireExtinguisherIcon:ny,Fish:cy,FishIcon:cy,FishOff:oy,FishOffIcon:oy,FishSymbol:iy,FishSymbolIcon:iy,Flag:ly,FlagIcon:ly,FlagOff:ry,FlagOffIcon:ry,FlagTriangleLeft:sy,FlagTriangleLeftIcon:sy,FlagTriangleRight:dy,FlagTriangleRightIcon:dy,Flame:uy,FlameIcon:uy,FlameKindling:hy,FlameKindlingIcon:hy,Flashlight:yy,FlashlightIcon:yy,FlashlightOff:py,FlashlightOffIcon:py,FlaskConical:my,FlaskConicalIcon:my,FlaskConicalOff:ky,FlaskConicalOffIcon:ky,FlaskRound:fy,FlaskRoundIcon:fy,FlipHorizontal:vy,FlipHorizontal2:gy,FlipHorizontal2Icon:gy,FlipHorizontalIcon:vy,FlipVertical:xy,FlipVertical2:My,FlipVertical2Icon:My,FlipVerticalIcon:xy,Flower:Ly,Flower2:_y,Flower2Icon:_y,FlowerIcon:Ly,Focus:Iy,FocusIcon:Iy,FoldHorizontal:by,FoldHorizontalIcon:by,FoldVertical:wy,FoldVerticalIcon:wy,Folder:S1,FolderArchive:Cy,FolderArchiveIcon:Cy,FolderCheck:Ny,FolderCheckIcon:Ny,FolderClock:jy,FolderClockIcon:jy,FolderClosed:Sy,FolderClosedIcon:Sy,FolderCode:$y,FolderCodeIcon:$y,FolderCog:vn,FolderCog2:vn,FolderCog2Icon:vn,FolderCogIcon:vn,FolderDot:qy,FolderDotIcon:qy,FolderDown:Ay,FolderDownIcon:Ay,FolderEdit:Mn,FolderEditIcon:Mn,FolderGit:Vy,FolderGit2:zy,FolderGit2Icon:zy,FolderGitIcon:Vy,FolderHeart:Py,FolderHeartIcon:Py,FolderIcon:S1,FolderInput:Ty,FolderInputIcon:Ty,FolderKanban:Hy,FolderKanbanIcon:Hy,FolderKey:Dy,FolderKeyIcon:Dy,FolderLock:By,FolderLockIcon:By,FolderMinus:Ry,FolderMinusIcon:Ry,FolderOpen:Ey,FolderOpenDot:Fy,FolderOpenDotIcon:Fy,FolderOpenIcon:Ey,FolderOutput:Oy,FolderOutputIcon:Oy,FolderPen:Mn,FolderPenIcon:Mn,FolderPlus:t1,FolderPlusIcon:t1,FolderRoot:Uy,FolderRootIcon:Uy,FolderSearch:Gy,FolderSearch2:Wy,FolderSearch2Icon:Wy,FolderSearchIcon:Gy,FolderSymlink:Ky,FolderSymlinkIcon:Ky,FolderSync:Zy,FolderSyncIcon:Zy,FolderTree:Xy,FolderTreeIcon:Xy,FolderUp:Yy,FolderUpIcon:Yy,FolderX:Jy,FolderXIcon:Jy,Folders:Qy,FoldersIcon:Qy,Footprints:e4,FootprintsIcon:e4,ForkKnife:bc,ForkKnifeCrossed:Ic,ForkKnifeCrossedIcon:Ic,ForkKnifeIcon:bc,Forklift:t4,ForkliftIcon:t4,FormInput:ao,FormInputIcon:ao,Forward:a4,ForwardIcon:a4,Frame:n4,FrameIcon:n4,Framer:o4,FramerIcon:o4,Frown:c4,FrownIcon:c4,Fuel:i4,FuelIcon:i4,Fullscreen:r4,FullscreenIcon:r4,FunctionSquare:Bo,FunctionSquareIcon:Bo,Funnel:jt,FunnelIcon:jt,FunnelPlus:s4,FunnelPlusIcon:s4,FunnelX:xn,FunnelXIcon:xn,GalleryHorizontal:l4,GalleryHorizontalEnd:d4,GalleryHorizontalEndIcon:d4,GalleryHorizontalIcon:l4,GalleryThumbnails:h4,GalleryThumbnailsIcon:h4,GalleryVertical:p4,GalleryVerticalEnd:u4,GalleryVerticalEndIcon:u4,GalleryVerticalIcon:p4,Gamepad:k4,Gamepad2:y4,Gamepad2Icon:y4,GamepadIcon:k4,GanttChart:fa,GanttChartIcon:fa,GanttChartSquare:dt,GanttChartSquareIcon:dt,Gauge:m4,GaugeCircle:Pa,GaugeCircleIcon:Pa,GaugeIcon:m4,Gavel:f4,GavelIcon:f4,Gem:g4,GemIcon:g4,GeorgianLari:v4,GeorgianLariIcon:v4,Ghost:M4,GhostIcon:M4,Gift:x4,GiftIcon:x4,GitBranch:L4,GitBranchIcon:L4,GitBranchPlus:_4,GitBranchPlusIcon:_4,GitCommit:_n,GitCommitHorizontal:_n,GitCommitHorizontalIcon:_n,GitCommitIcon:_n,GitCommitVertical:I4,GitCommitVerticalIcon:I4,GitCompare:w4,GitCompareArrows:b4,GitCompareArrowsIcon:b4,GitCompareIcon:w4,GitFork:C4,GitForkIcon:C4,GitGraph:N4,GitGraphIcon:N4,GitMerge:j4,GitMergeIcon:j4,GitPullRequest:V4,GitPullRequestArrow:S4,GitPullRequestArrowIcon:S4,GitPullRequestClosed:$4,GitPullRequestClosedIcon:$4,GitPullRequestCreate:A4,GitPullRequestCreateArrow:q4,GitPullRequestCreateArrowIcon:q4,GitPullRequestCreateIcon:A4,GitPullRequestDraft:z4,GitPullRequestDraftIcon:z4,GitPullRequestIcon:V4,Github:P4,GithubIcon:P4,Gitlab:T4,GitlabIcon:T4,GlassWater:H4,GlassWaterIcon:H4,Glasses:D4,GlassesIcon:D4,Globe:R4,Globe2:on,Globe2Icon:on,GlobeIcon:R4,GlobeLock:B4,GlobeLockIcon:B4,Goal:F4,GoalIcon:F4,Gpu:E4,GpuIcon:E4,Grab:Cn,GrabIcon:Cn,GraduationCap:O4,GraduationCapIcon:O4,Grape:U4,GrapeIcon:U4,Grid:st,Grid2X2:wn,Grid2X2Check:Ln,Grid2X2CheckIcon:Ln,Grid2X2Icon:wn,Grid2X2Plus:In,Grid2X2PlusIcon:In,Grid2X2X:bn,Grid2X2XIcon:bn,Grid2x2:wn,Grid2x2Check:Ln,Grid2x2CheckIcon:Ln,Grid2x2Icon:wn,Grid2x2Plus:In,Grid2x2PlusIcon:In,Grid2x2X:bn,Grid2x2XIcon:bn,Grid3X3:st,Grid3X3Icon:st,Grid3x2:W4,Grid3x2Icon:W4,Grid3x3:st,Grid3x3Icon:st,GridIcon:st,Grip:K4,GripHorizontal:G4,GripHorizontalIcon:G4,GripIcon:K4,GripVertical:$1,GripVerticalIcon:$1,Group:Z4,GroupIcon:Z4,Guitar:X4,GuitarIcon:X4,Ham:Y4,HamIcon:Y4,Hamburger:J4,HamburgerIcon:J4,Hammer:Q4,HammerIcon:Q4,Hand:c5,HandCoins:e5,HandCoinsIcon:e5,HandFist:t5,HandFistIcon:t5,HandGrab:Cn,HandGrabIcon:Cn,HandHeart:a5,HandHeartIcon:a5,HandHelping:Nn,HandHelpingIcon:Nn,HandIcon:c5,HandMetal:n5,HandMetalIcon:n5,HandPlatter:o5,HandPlatterIcon:o5,Handbag:i5,HandbagIcon:i5,Handshake:r5,HandshakeIcon:r5,HardDrive:l5,HardDriveDownload:s5,HardDriveDownloadIcon:s5,HardDriveIcon:l5,HardDriveUpload:d5,HardDriveUploadIcon:d5,HardHat:h5,HardHatIcon:h5,Hash:u5,HashIcon:u5,HatGlasses:p5,HatGlassesIcon:p5,Haze:y5,HazeIcon:y5,HdmiPort:k5,HdmiPortIcon:k5,Heading:_5,Heading1:m5,Heading1Icon:m5,Heading2:f5,Heading2Icon:f5,Heading3:g5,Heading3Icon:g5,Heading4:v5,Heading4Icon:v5,Heading5:M5,Heading5Icon:M5,Heading6:x5,Heading6Icon:x5,HeadingIcon:_5,HeadphoneOff:L5,HeadphoneOffIcon:L5,Headphones:I5,HeadphonesIcon:I5,Headset:b5,HeadsetIcon:b5,Heart:q5,HeartCrack:w5,HeartCrackIcon:w5,HeartHandshake:C5,HeartHandshakeIcon:C5,HeartIcon:q5,HeartMinus:N5,HeartMinusIcon:N5,HeartOff:j5,HeartOffIcon:j5,HeartPlus:S5,HeartPlusIcon:S5,HeartPulse:$5,HeartPulseIcon:$5,Heater:A5,HeaterIcon:A5,HelpCircle:it,HelpCircleIcon:it,HelpingHand:Nn,HelpingHandIcon:Nn,Hexagon:z5,HexagonIcon:z5,Highlighter:V5,HighlighterIcon:V5,History:P5,HistoryIcon:P5,Home:St,HomeIcon:St,Hop:H5,HopIcon:H5,HopOff:T5,HopOffIcon:T5,Hospital:q1,HospitalIcon:q1,Hotel:D5,HotelIcon:D5,Hourglass:B5,HourglassIcon:B5,House:St,HouseIcon:St,HousePlug:R5,HousePlugIcon:R5,HousePlus:E5,HousePlusIcon:E5,HouseWifi:F5,HouseWifiIcon:F5,IceCream:Sn,IceCream2:jn,IceCream2Icon:jn,IceCreamBowl:jn,IceCreamBowlIcon:jn,IceCreamCone:Sn,IceCreamConeIcon:Sn,IceCreamIcon:Sn,Icon:a.Icon,IdCard:U5,IdCardIcon:U5,IdCardLanyard:O5,IdCardLanyardIcon:O5,Image:Q5,ImageDown:W5,ImageDownIcon:W5,ImageIcon:Q5,ImageMinus:G5,ImageMinusIcon:G5,ImageOff:K5,ImageOffIcon:K5,ImagePlay:Z5,ImagePlayIcon:Z5,ImagePlus:X5,ImagePlusIcon:X5,ImageUp:Y5,ImageUpIcon:Y5,ImageUpscale:J5,ImageUpscaleIcon:J5,Images:ek,ImagesIcon:ek,Import:tk,ImportIcon:tk,Inbox:ak,InboxIcon:ak,Indent:qn,IndentDecrease:$n,IndentDecreaseIcon:$n,IndentIcon:qn,IndentIncrease:qn,IndentIncreaseIcon:qn,IndianRupee:nk,IndianRupeeIcon:nk,Infinity:ok,InfinityIcon:ok,Info:ck,InfoIcon:ck,Inspect:Go,InspectIcon:Go,InspectionPanel:ik,InspectionPanelIcon:ik,Instagram:rk,InstagramIcon:rk,Italic:sk,ItalicIcon:sk,IterationCcw:dk,IterationCcwIcon:dk,IterationCw:lk,IterationCwIcon:lk,JapaneseYen:uk,JapaneseYenIcon:uk,Joystick:hk,JoystickIcon:hk,Kanban:pk,KanbanIcon:pk,KanbanSquare:Ro,KanbanSquareDashed:zo,KanbanSquareDashedIcon:zo,KanbanSquareIcon:Ro,Kayak:yk,KayakIcon:yk,Key:fk,KeyIcon:fk,KeyRound:kk,KeyRoundIcon:kk,KeySquare:mk,KeySquareIcon:mk,Keyboard:Mk,KeyboardIcon:Mk,KeyboardMusic:gk,KeyboardMusicIcon:gk,KeyboardOff:vk,KeyboardOffIcon:vk,Lamp:wk,LampCeiling:xk,LampCeilingIcon:xk,LampDesk:Lk,LampDeskIcon:Lk,LampFloor:_k,LampFloorIcon:_k,LampIcon:wk,LampWallDown:Ik,LampWallDownIcon:Ik,LampWallUp:bk,LampWallUpIcon:bk,LandPlot:Ck,LandPlotIcon:Ck,Landmark:Nk,LandmarkIcon:Nk,Languages:jk,LanguagesIcon:jk,Laptop:$k,Laptop2:An,Laptop2Icon:An,LaptopIcon:$k,LaptopMinimal:An,LaptopMinimalCheck:Sk,LaptopMinimalCheckIcon:Sk,LaptopMinimalIcon:An,Lasso:Ak,LassoIcon:Ak,LassoSelect:qk,LassoSelectIcon:qk,Laugh:zk,LaughIcon:zk,Layers:zn,Layers2:Vk,Layers2Icon:Vk,Layers3:zn,Layers3Icon:zn,LayersIcon:zn,Layout:eo,LayoutDashboard:Pk,LayoutDashboardIcon:Pk,LayoutGrid:Tk,LayoutGridIcon:Tk,LayoutIcon:eo,LayoutList:Hk,LayoutListIcon:Hk,LayoutPanelLeft:Dk,LayoutPanelLeftIcon:Dk,LayoutPanelTop:Bk,LayoutPanelTopIcon:Bk,LayoutTemplate:Rk,LayoutTemplateIcon:Rk,Leaf:Fk,LeafIcon:Fk,LeafyGreen:Ok,LeafyGreenIcon:Ok,Lectern:Ek,LecternIcon:Ek,LetterText:Uk,LetterTextIcon:Uk,Library:Gk,LibraryBig:Wk,LibraryBigIcon:Wk,LibraryIcon:Gk,LibrarySquare:Fo,LibrarySquareIcon:Fo,LifeBuoy:Kk,LifeBuoyIcon:Kk,Ligature:Zk,LigatureIcon:Zk,Lightbulb:Yk,LightbulbIcon:Yk,LightbulbOff:Xk,LightbulbOffIcon:Xk,LineChart:ya,LineChartIcon:ya,LineSquiggle:Jk,LineSquiggleIcon:Jk,Link:t3,Link2:Qk,Link2Icon:Qk,Link2Off:e3,Link2OffIcon:e3,LinkIcon:t3,Linkedin:a3,LinkedinIcon:a3,List:v3,ListCheck:n3,ListCheckIcon:n3,ListChecks:o3,ListChecksIcon:o3,ListCollapse:c3,ListCollapseIcon:c3,ListEnd:i3,ListEndIcon:i3,ListFilter:d3,ListFilterIcon:d3,ListFilterPlus:r3,ListFilterPlusIcon:r3,ListIcon:v3,ListMinus:s3,ListMinusIcon:s3,ListMusic:l3,ListMusicIcon:l3,ListOrdered:h3,ListOrderedIcon:h3,ListPlus:u3,ListPlusIcon:u3,ListRestart:p3,ListRestartIcon:p3,ListStart:y3,ListStartIcon:y3,ListTodo:k3,ListTodoIcon:k3,ListTree:m3,ListTreeIcon:m3,ListVideo:f3,ListVideoIcon:f3,ListX:g3,ListXIcon:g3,Loader:x3,Loader2:Vn,Loader2Icon:Vn,LoaderCircle:Vn,LoaderCircleIcon:Vn,LoaderIcon:x3,LoaderPinwheel:M3,LoaderPinwheelIcon:M3,Locate:I3,LocateFixed:_3,LocateFixedIcon:_3,LocateIcon:I3,LocateOff:L3,LocateOffIcon:L3,LocationEdit:Dn,LocationEditIcon:Dn,Lock:w3,LockIcon:w3,LockKeyhole:b3,LockKeyholeIcon:b3,LockKeyholeOpen:Pn,LockKeyholeOpenIcon:Pn,LockOpen:Tn,LockOpenIcon:Tn,LogIn:C3,LogInIcon:C3,LogOut:N3,LogOutIcon:N3,Logs:j3,LogsIcon:j3,Lollipop:S3,LollipopIcon:S3,LucideAArrowDown:si,LucideAArrowUp:di,LucideALargeSmall:li,LucideAccessibility:_1,LucideActivity:L1,LucideActivitySquare:$t,LucideAirVent:hi,LucideAirplay:ui,LucideAlarmCheck:Ot,LucideAlarmClock:yi,LucideAlarmClockCheck:Ot,LucideAlarmClockMinus:Ut,LucideAlarmClockOff:pi,LucideAlarmClockPlus:Wt,LucideAlarmMinus:Ut,LucideAlarmPlus:Wt,LucideAlarmSmoke:ki,LucideAlbum:mi,LucideAlertCircle:Ma,LucideAlertOctagon:En,LucideAlertTriangle:yc,LucideAlignCenter:_i,LucideAlignCenterHorizontal:fi,LucideAlignCenterVertical:gi,LucideAlignEndHorizontal:vi,LucideAlignEndVertical:Mi,LucideAlignHorizontalDistributeCenter:xi,LucideAlignHorizontalDistributeEnd:Li,LucideAlignHorizontalDistributeStart:Ii,LucideAlignHorizontalJustifyCenter:bi,LucideAlignHorizontalJustifyEnd:wi,LucideAlignHorizontalJustifyStart:Ci,LucideAlignHorizontalSpaceAround:Ni,LucideAlignHorizontalSpaceBetween:Si,LucideAlignJustify:ji,LucideAlignLeft:$i,LucideAlignRight:qi,LucideAlignStartHorizontal:Ai,LucideAlignStartVertical:zi,LucideAlignVerticalDistributeCenter:Pi,LucideAlignVerticalDistributeEnd:Vi,LucideAlignVerticalDistributeStart:Hi,LucideAlignVerticalJustifyCenter:Ti,LucideAlignVerticalJustifyEnd:Di,LucideAlignVerticalJustifyStart:Bi,LucideAlignVerticalSpaceAround:Fi,LucideAlignVerticalSpaceBetween:Ri,LucideAmbulance:Ei,LucideAmpersand:Oi,LucideAmpersands:Ui,LucideAmphora:Wi,LucideAnchor:Gi,LucideAngry:Ki,LucideAnnoyed:Zi,LucideAntenna:Xi,LucideAnvil:Yi,LucideAperture:Ji,LucideAppWindow:er,LucideAppWindowMac:Qi,LucideApple:tr,LucideArchive:or,LucideArchiveRestore:ar,LucideArchiveX:nr,LucideAreaChart:ra,LucideArmchair:cr,LucideArrowBigDown:rr,LucideArrowBigDownDash:ir,LucideArrowBigLeft:dr,LucideArrowBigLeftDash:sr,LucideArrowBigRight:hr,LucideArrowBigRightDash:lr,LucideArrowBigUp:pr,LucideArrowBigUpDash:ur,LucideArrowDown:Jc,LucideArrowDown01:yr,LucideArrowDown10:kr,LucideArrowDownAZ:Gt,LucideArrowDownAz:Gt,LucideArrowDownCircle:xa,LucideArrowDownFromLine:mr,LucideArrowDownLeft:fr,LucideArrowDownLeftFromCircle:La,LucideArrowDownLeftFromSquare:fo,LucideArrowDownLeftSquare:po,LucideArrowDownNarrowWide:gr,LucideArrowDownRight:vr,LucideArrowDownRightFromCircle:Ia,LucideArrowDownRightFromSquare:go,LucideArrowDownRightSquare:yo,LucideArrowDownSquare:ko,LucideArrowDownToDot:Mr,LucideArrowDownToLine:xr,LucideArrowDownUp:_r,LucideArrowDownWideNarrow:Kt,LucideArrowDownZA:Zt,LucideArrowDownZa:Zt,LucideArrowLeft:I1,LucideArrowLeftCircle:_a,LucideArrowLeftFromLine:Lr,LucideArrowLeftRight:Ir,LucideArrowLeftSquare:mo,LucideArrowLeftToLine:br,LucideArrowRight:jr,LucideArrowRightCircle:Ca,LucideArrowRightFromLine:wr,LucideArrowRightLeft:Cr,LucideArrowRightSquare:xo,LucideArrowRightToLine:Nr,LucideArrowUp:Qc,LucideArrowUp01:Sr,LucideArrowUp10:$r,LucideArrowUpAZ:Xt,LucideArrowUpAz:Xt,LucideArrowUpCircle:Na,LucideArrowUpDown:qr,LucideArrowUpFromDot:Ar,LucideArrowUpFromLine:zr,LucideArrowUpLeft:Vr,LucideArrowUpLeftFromCircle:ba,LucideArrowUpLeftFromSquare:vo,LucideArrowUpLeftSquare:_o,LucideArrowUpNarrowWide:Yt,LucideArrowUpRight:Pr,LucideArrowUpRightFromCircle:wa,LucideArrowUpRightFromSquare:Mo,LucideArrowUpRightSquare:Lo,LucideArrowUpSquare:Io,LucideArrowUpToLine:Tr,LucideArrowUpWideNarrow:Hr,LucideArrowUpZA:Jt,LucideArrowUpZa:Jt,LucideArrowsUpFromLine:Dr,LucideAsterisk:Br,LucideAsteriskSquare:bo,LucideAtSign:Rr,LucideAtom:Fr,LucideAudioLines:Er,LucideAudioWaveform:Or,LucideAward:Ur,LucideAxe:Wr,LucideAxis3D:Qt,LucideAxis3d:Qt,LucideBaby:Gr,LucideBackpack:Kr,LucideBadge:ls,LucideBadgeAlert:Zr,LucideBadgeCent:Xr,LucideBadgeCheck:ea,LucideBadgeDollarSign:Yr,LucideBadgeEuro:Jr,LucideBadgeHelp:ta,LucideBadgeIndianRupee:Qr,LucideBadgeInfo:es,LucideBadgeJapaneseYen:as,LucideBadgeMinus:ts,LucideBadgePercent:ns,LucideBadgePlus:os,LucideBadgePoundSterling:cs,LucideBadgeQuestionMark:ta,LucideBadgeRussianRuble:is,LucideBadgeSwissFranc:rs,LucideBadgeTurkishLira:ss,LucideBadgeX:ds,LucideBaggageClaim:hs,LucideBan:us,LucideBanana:ps,LucideBandage:ys,LucideBanknote:gs,LucideBanknoteArrowDown:ks,LucideBanknoteArrowUp:ms,LucideBanknoteX:fs,LucideBarChart:ka,LucideBarChart2:ma,LucideBarChart3:pa,LucideBarChart4:ua,LucideBarChartBig:ha,LucideBarChartHorizontal:da,LucideBarChartHorizontalBig:sa,LucideBarcode:vs,LucideBarrel:Ms,LucideBaseline:xs,LucideBath:_s,LucideBattery:js,LucideBatteryCharging:Ls,LucideBatteryFull:Is,LucideBatteryLow:bs,LucideBatteryMedium:ws,LucideBatteryPlus:Cs,LucideBatteryWarning:Ns,LucideBeaker:Ss,LucideBean:qs,LucideBeanOff:$s,LucideBed:Vs,LucideBedDouble:As,LucideBedSingle:zs,LucideBeef:Ps,LucideBeer:Hs,LucideBeerOff:Ts,LucideBell:Os,LucideBellDot:Ds,LucideBellElectric:Bs,LucideBellMinus:Rs,LucideBellOff:Fs,LucideBellPlus:Es,LucideBellRing:Us,LucideBetweenHorizonalEnd:aa,LucideBetweenHorizonalStart:na,LucideBetweenHorizontalEnd:aa,LucideBetweenHorizontalStart:na,LucideBetweenVerticalEnd:Gs,LucideBetweenVerticalStart:Ws,LucideBicepsFlexed:Ks,LucideBike:Xs,LucideBinary:Zs,LucideBinoculars:Ys,LucideBiohazard:Js,LucideBird:Qs,LucideBitcoin:e2,LucideBlend:t2,LucideBlinds:a2,LucideBlocks:n2,LucideBluetooth:r2,LucideBluetoothConnected:o2,LucideBluetoothOff:c2,LucideBluetoothSearching:i2,LucideBold:s2,LucideBolt:d2,LucideBomb:l2,LucideBone:h2,LucideBook:V2,LucideBookA:u2,LucideBookAlert:p2,LucideBookAudio:y2,LucideBookCheck:k2,LucideBookCopy:m2,LucideBookDashed:oa,LucideBookDown:f2,LucideBookHeadphones:g2,LucideBookHeart:v2,LucideBookImage:M2,LucideBookKey:x2,LucideBookLock:_2,LucideBookMarked:I2,LucideBookMinus:L2,LucideBookOpen:C2,LucideBookOpenCheck:b2,LucideBookOpenText:w2,LucideBookPlus:N2,LucideBookTemplate:oa,LucideBookText:j2,LucideBookType:S2,LucideBookUp:q2,LucideBookUp2:$2,LucideBookUser:A2,LucideBookX:z2,LucideBookmark:B2,LucideBookmarkCheck:P2,LucideBookmarkMinus:T2,LucideBookmarkPlus:H2,LucideBookmarkX:D2,LucideBoomBox:R2,LucideBot:O2,LucideBotMessageSquare:F2,LucideBotOff:E2,LucideBottleWine:U2,LucideBowArrow:W2,LucideBox:G2,LucideBoxSelect:Po,LucideBoxes:K2,LucideBraces:ca,LucideBrackets:Z2,LucideBrain:J2,LucideBrainCircuit:X2,LucideBrainCog:Y2,LucideBrickWall:td,LucideBrickWallFire:Q2,LucideBrickWallShield:ed,LucideBriefcase:cd,LucideBriefcaseBusiness:ad,LucideBriefcaseConveyorBelt:nd,LucideBriefcaseMedical:od,LucideBringToFront:id,LucideBrush:sd,LucideBrushCleaning:rd,LucideBubbles:dd,LucideBug:pd,LucideBugOff:ld,LucideBugPlay:hd,LucideBuilding:yd,LucideBuilding2:ud,LucideBus:md,LucideBusFront:kd,LucideCable:gd,LucideCableCar:fd,LucideCake:Md,LucideCakeSlice:vd,LucideCalculator:xd,LucideCalendar:b1,LucideCalendar1:_d,LucideCalendarArrowDown:Ld,LucideCalendarArrowUp:Id,LucideCalendarCheck:wd,LucideCalendarCheck2:bd,LucideCalendarClock:Cd,LucideCalendarCog:Nd,LucideCalendarDays:jd,LucideCalendarFold:Sd,LucideCalendarHeart:$d,LucideCalendarMinus:Ad,LucideCalendarMinus2:qd,LucideCalendarOff:zd,LucideCalendarPlus:Pd,LucideCalendarPlus2:Vd,LucideCalendarRange:Td,LucideCalendarSearch:Hd,LucideCalendarSync:Dd,LucideCalendarX:Rd,LucideCalendarX2:Bd,LucideCamera:Ed,LucideCameraOff:Fd,LucideCandlestickChart:la,LucideCandy:Wd,LucideCandyCane:Od,LucideCandyOff:Ud,LucideCannabis:Gd,LucideCaptions:ia,LucideCaptionsOff:Kd,LucideCar:Yd,LucideCarFront:Zd,LucideCarTaxiFront:Xd,LucideCaravan:Jd,LucideCardSim:Qd,LucideCarrot:e0,LucideCaseLower:t0,LucideCaseSensitive:a0,LucideCaseUpper:n0,LucideCassetteTape:o0,LucideCast:c0,LucideCastle:r0,LucideCat:i0,LucideCctv:s0,LucideChartArea:ra,LucideChartBar:da,LucideChartBarBig:sa,LucideChartBarDecreasing:d0,LucideChartBarIncreasing:l0,LucideChartBarStacked:h0,LucideChartCandlestick:la,LucideChartColumn:pa,LucideChartColumnBig:ha,LucideChartColumnDecreasing:u0,LucideChartColumnIncreasing:ua,LucideChartColumnStacked:p0,LucideChartGantt:y0,LucideChartLine:ya,LucideChartNetwork:k0,LucideChartNoAxesColumn:ma,LucideChartNoAxesColumnDecreasing:m0,LucideChartNoAxesColumnIncreasing:ka,LucideChartNoAxesCombined:f0,LucideChartNoAxesGantt:fa,LucideChartPie:ga,LucideChartScatter:va,LucideChartSpline:g0,LucideCheck:w1,LucideCheckCheck:v0,LucideCheckCircle:ja,LucideCheckCircle2:Sa,LucideCheckLine:M0,LucideCheckSquare:Co,LucideCheckSquare2:No,LucideChefHat:x0,LucideCherry:_0,LucideChevronDown:zt,LucideChevronDownCircle:$a,LucideChevronDownSquare:jo,LucideChevronFirst:L0,LucideChevronLast:I0,LucideChevronLeft:b0,LucideChevronLeftCircle:qa,LucideChevronLeftSquare:So,LucideChevronRight:C1,LucideChevronRightCircle:Aa,LucideChevronRightSquare:$o,LucideChevronUp:qc,LucideChevronUpCircle:za,LucideChevronUpSquare:qo,LucideChevronsDown:C0,LucideChevronsDownUp:w0,LucideChevronsLeft:j0,LucideChevronsLeftRight:N0,LucideChevronsLeftRightEllipsis:S0,LucideChevronsRight:q0,LucideChevronsRightLeft:$0,LucideChevronsUp:A0,LucideChevronsUpDown:e1,LucideChrome:z0,LucideChurch:V0,LucideCigarette:T0,LucideCigaretteOff:P0,LucideCircle:Y0,LucideCircleAlert:Ma,LucideCircleArrowDown:xa,LucideCircleArrowLeft:_a,LucideCircleArrowOutDownLeft:La,LucideCircleArrowOutDownRight:Ia,LucideCircleArrowOutUpLeft:ba,LucideCircleArrowOutUpRight:wa,LucideCircleArrowRight:Ca,LucideCircleArrowUp:Na,LucideCircleCheck:Sa,LucideCircleCheckBig:ja,LucideCircleChevronDown:$a,LucideCircleChevronLeft:qa,LucideCircleChevronRight:Aa,LucideCircleChevronUp:za,LucideCircleDashed:H0,LucideCircleDivide:Va,LucideCircleDollarSign:B0,LucideCircleDot:R0,LucideCircleDotDashed:D0,LucideCircleEllipsis:F0,LucideCircleEqual:E0,LucideCircleFadingArrowUp:U0,LucideCircleFadingPlus:O0,LucideCircleGauge:Pa,LucideCircleHelp:it,LucideCircleMinus:Ta,LucideCircleOff:W0,LucideCircleParking:Ba,LucideCircleParkingOff:Ha,LucideCirclePause:Da,LucideCirclePercent:Ra,LucideCirclePlay:Fa,LucideCirclePlus:Ea,LucideCirclePoundSterling:G0,LucideCirclePower:Oa,LucideCircleQuestionMark:it,LucideCircleSlash:K0,LucideCircleSlash2:Ua,LucideCircleSlashed:Ua,LucideCircleSmall:Z0,LucideCircleStar:X0,LucideCircleStop:Wa,LucideCircleUser:Ka,LucideCircleUserRound:Ga,LucideCircleX:Nt,LucideCircuitBoard:J0,LucideCitrus:Q0,LucideClapperboard:el,LucideClipboard:ll,LucideClipboardCheck:tl,LucideClipboardClock:al,LucideClipboardCopy:nl,LucideClipboardEdit:Xa,LucideClipboardList:ol,LucideClipboardMinus:cl,LucideClipboardPaste:il,LucideClipboardPen:Xa,LucideClipboardPenLine:Za,LucideClipboardPlus:rl,LucideClipboardSignature:Za,LucideClipboardType:sl,LucideClipboardX:dl,LucideClock:Nl,LucideClock1:ul,LucideClock10:hl,LucideClock11:pl,LucideClock12:yl,LucideClock2:kl,LucideClock3:ml,LucideClock4:fl,LucideClock5:gl,LucideClock6:vl,LucideClock7:Ml,LucideClock8:xl,LucideClock9:_l,LucideClockAlert:Ll,LucideClockArrowDown:Il,LucideClockArrowUp:bl,LucideClockFading:wl,LucideClockPlus:Cl,LucideClosedCaption:jl,LucideCloud:Ul,LucideCloudAlert:Sl,LucideCloudCheck:$l,LucideCloudCog:ql,LucideCloudDownload:Ya,LucideCloudDrizzle:Al,LucideCloudFog:zl,LucideCloudHail:Vl,LucideCloudLightning:Pl,LucideCloudMoon:Hl,LucideCloudMoonRain:Tl,LucideCloudOff:Dl,LucideCloudRain:Rl,LucideCloudRainWind:Bl,LucideCloudSnow:Fl,LucideCloudSun:Ol,LucideCloudSunRain:El,LucideCloudUpload:Ja,LucideCloudy:Wl,LucideClover:Gl,LucideClub:Kl,LucideCode:Zl,LucideCode2:Qa,LucideCodeSquare:Ao,LucideCodeXml:Qa,LucideCodepen:Xl,LucideCodesandbox:Yl,LucideCoffee:Jl,LucideCog:Ql,LucideCoins:eh,LucideColumns:en,LucideColumns2:en,LucideColumns3:tn,LucideColumns3Cog:rt,LucideColumns4:th,LucideColumnsSettings:rt,LucideCombine:ah,LucideCommand:nh,LucideCompass:oh,LucideComponent:ch,LucideComputer:ih,LucideConciergeBell:rh,LucideCone:sh,LucideConstruction:dh,LucideContact:lh,LucideContact2:an,LucideContactRound:an,LucideContainer:hh,LucideContrast:ph,LucideCookie:uh,LucideCookingPot:kh,LucideCopy:Mh,LucideCopyCheck:yh,LucideCopyMinus:mh,LucideCopyPlus:fh,LucideCopySlash:gh,LucideCopyX:vh,LucideCopyleft:xh,LucideCopyright:_h,LucideCornerDownLeft:Lh,LucideCornerDownRight:Ih,LucideCornerLeftDown:bh,LucideCornerLeftUp:wh,LucideCornerRightDown:Ch,LucideCornerRightUp:Nh,LucideCornerUpLeft:jh,LucideCornerUpRight:Sh,LucideCpu:$h,LucideCreativeCommons:qh,LucideCreditCard:Ah,LucideCroissant:zh,LucideCrop:Vh,LucideCross:Ph,LucideCrosshair:Th,LucideCrown:Hh,LucideCuboid:Dh,LucideCupSoda:Bh,LucideCurlyBraces:ca,LucideCurrency:Rh,LucideCylinder:Fh,LucideDam:Eh,LucideDatabase:Wh,LucideDatabaseBackup:Oh,LucideDatabaseZap:Uh,LucideDecimalsArrowLeft:Gh,LucideDecimalsArrowRight:Kh,LucideDelete:Zh,LucideDessert:Xh,LucideDiameter:Yh,LucideDiamond:eu,LucideDiamondMinus:Jh,LucideDiamondPercent:nn,LucideDiamondPlus:Qh,LucideDice1:tu,LucideDice2:au,LucideDice3:nu,LucideDice4:ou,LucideDice5:cu,LucideDice6:iu,LucideDices:ru,LucideDiff:su,LucideDisc:uu,LucideDisc2:du,LucideDisc3:lu,LucideDiscAlbum:hu,LucideDivide:pu,LucideDivideCircle:Va,LucideDivideSquare:To,LucideDna:ku,LucideDnaOff:yu,LucideDock:mu,LucideDog:fu,LucideDollarSign:gu,LucideDonut:vu,LucideDoorClosed:xu,LucideDoorClosedLocked:Mu,LucideDoorOpen:_u,LucideDot:Lu,LucideDotSquare:Do,LucideDownload:bu,LucideDownloadCloud:Ya,LucideDraftingCompass:Iu,LucideDrama:wu,LucideDribbble:Cu,LucideDrill:Nu,LucideDrone:ju,LucideDroplet:$u,LucideDropletOff:Su,LucideDroplets:qu,LucideDrum:Au,LucideDrumstick:zu,LucideDumbbell:Vu,LucideEar:Tu,LucideEarOff:Pu,LucideEarth:on,LucideEarthLock:Hu,LucideEclipse:Du,LucideEdit:Fe,LucideEdit2:gt,LucideEdit3:ft,LucideEgg:Fu,LucideEggFried:Bu,LucideEggOff:Ru,LucideEllipsis:rn,LucideEllipsisVertical:cn,LucideEqual:Uu,LucideEqualApproximately:Eu,LucideEqualNot:Ou,LucideEqualSquare:Ho,LucideEraser:Wu,LucideEthernetPort:Gu,LucideEuro:Ku,LucideExpand:Xu,LucideExternalLink:Zu,LucideEye:j1,LucideEyeClosed:Yu,LucideEyeOff:N1,LucideFacebook:Ju,LucideFactory:Qu,LucideFan:ep,LucideFastForward:tp,LucideFeather:ap,LucideFence:np,LucideFerrisWheel:op,LucideFigma:cp,LucideFile:Qp,LucideFileArchive:ip,LucideFileAudio:sp,LucideFileAudio2:rp,LucideFileAxis3D:sn,LucideFileAxis3d:sn,LucideFileBadge:hp,LucideFileBadge2:dp,LucideFileBarChart:dn,LucideFileBarChart2:ln,LucideFileBox:lp,LucideFileChartColumn:ln,LucideFileChartColumnIncreasing:dn,LucideFileChartLine:hn,LucideFileChartPie:un,LucideFileCheck:pp,LucideFileCheck2:up,LucideFileClock:yp,LucideFileCode:kp,LucideFileCode2:mp,LucideFileCog:pn,LucideFileCog2:pn,LucideFileDiff:fp,LucideFileDigit:gp,LucideFileDown:vp,LucideFileEdit:kn,LucideFileHeart:Mp,LucideFileImage:xp,LucideFileInput:_p,LucideFileJson:Ip,LucideFileJson2:Lp,LucideFileKey:wp,LucideFileKey2:bp,LucideFileLineChart:hn,LucideFileLock:Np,LucideFileLock2:Cp,LucideFileMinus:Sp,LucideFileMinus2:jp,LucideFileMusic:$p,LucideFileOutput:qp,LucideFilePen:kn,LucideFilePenLine:yn,LucideFilePieChart:un,LucideFilePlay:mn,LucideFilePlus:zp,LucideFilePlus2:Ap,LucideFileQuestion:fn,LucideFileQuestionMark:fn,LucideFileScan:Vp,LucideFileSearch:Tp,LucideFileSearch2:Pp,LucideFileSignature:yn,LucideFileSliders:Hp,LucideFileSpreadsheet:Dp,LucideFileStack:Bp,LucideFileSymlink:Rp,LucideFileTerminal:Fp,LucideFileText:Ep,LucideFileType:Up,LucideFileType2:Op,LucideFileUp:Wp,LucideFileUser:Gp,LucideFileVideo:mn,LucideFileVideo2:gn,LucideFileVideoCamera:gn,LucideFileVolume:Zp,LucideFileVolume2:Kp,LucideFileWarning:Xp,LucideFileX:Jp,LucideFileX2:Yp,LucideFiles:ey,LucideFilm:ty,LucideFilter:jt,LucideFilterX:xn,LucideFingerprint:ay,LucideFireExtinguisher:ny,LucideFish:cy,LucideFishOff:oy,LucideFishSymbol:iy,LucideFlag:ly,LucideFlagOff:ry,LucideFlagTriangleLeft:sy,LucideFlagTriangleRight:dy,LucideFlame:uy,LucideFlameKindling:hy,LucideFlashlight:yy,LucideFlashlightOff:py,LucideFlaskConical:my,LucideFlaskConicalOff:ky,LucideFlaskRound:fy,LucideFlipHorizontal:vy,LucideFlipHorizontal2:gy,LucideFlipVertical:xy,LucideFlipVertical2:My,LucideFlower:Ly,LucideFlower2:_y,LucideFocus:Iy,LucideFoldHorizontal:by,LucideFoldVertical:wy,LucideFolder:S1,LucideFolderArchive:Cy,LucideFolderCheck:Ny,LucideFolderClock:jy,LucideFolderClosed:Sy,LucideFolderCode:$y,LucideFolderCog:vn,LucideFolderCog2:vn,LucideFolderDot:qy,LucideFolderDown:Ay,LucideFolderEdit:Mn,LucideFolderGit:Vy,LucideFolderGit2:zy,LucideFolderHeart:Py,LucideFolderInput:Ty,LucideFolderKanban:Hy,LucideFolderKey:Dy,LucideFolderLock:By,LucideFolderMinus:Ry,LucideFolderOpen:Ey,LucideFolderOpenDot:Fy,LucideFolderOutput:Oy,LucideFolderPen:Mn,LucideFolderPlus:t1,LucideFolderRoot:Uy,LucideFolderSearch:Gy,LucideFolderSearch2:Wy,LucideFolderSymlink:Ky,LucideFolderSync:Zy,LucideFolderTree:Xy,LucideFolderUp:Yy,LucideFolderX:Jy,LucideFolders:Qy,LucideFootprints:e4,LucideForkKnife:bc,LucideForkKnifeCrossed:Ic,LucideForklift:t4,LucideFormInput:ao,LucideForward:a4,LucideFrame:n4,LucideFramer:o4,LucideFrown:c4,LucideFuel:i4,LucideFullscreen:r4,LucideFunctionSquare:Bo,LucideFunnel:jt,LucideFunnelPlus:s4,LucideFunnelX:xn,LucideGalleryHorizontal:l4,LucideGalleryHorizontalEnd:d4,LucideGalleryThumbnails:h4,LucideGalleryVertical:p4,LucideGalleryVerticalEnd:u4,LucideGamepad:k4,LucideGamepad2:y4,LucideGanttChart:fa,LucideGanttChartSquare:dt,LucideGauge:m4,LucideGaugeCircle:Pa,LucideGavel:f4,LucideGem:g4,LucideGeorgianLari:v4,LucideGhost:M4,LucideGift:x4,LucideGitBranch:L4,LucideGitBranchPlus:_4,LucideGitCommit:_n,LucideGitCommitHorizontal:_n,LucideGitCommitVertical:I4,LucideGitCompare:w4,LucideGitCompareArrows:b4,LucideGitFork:C4,LucideGitGraph:N4,LucideGitMerge:j4,LucideGitPullRequest:V4,LucideGitPullRequestArrow:S4,LucideGitPullRequestClosed:$4,LucideGitPullRequestCreate:A4,LucideGitPullRequestCreateArrow:q4,LucideGitPullRequestDraft:z4,LucideGithub:P4,LucideGitlab:T4,LucideGlassWater:H4,LucideGlasses:D4,LucideGlobe:R4,LucideGlobe2:on,LucideGlobeLock:B4,LucideGoal:F4,LucideGpu:E4,LucideGrab:Cn,LucideGraduationCap:O4,LucideGrape:U4,LucideGrid:st,LucideGrid2X2:wn,LucideGrid2X2Check:Ln,LucideGrid2X2Plus:In,LucideGrid2X2X:bn,LucideGrid2x2:wn,LucideGrid2x2Check:Ln,LucideGrid2x2Plus:In,LucideGrid2x2X:bn,LucideGrid3X3:st,LucideGrid3x2:W4,LucideGrid3x3:st,LucideGrip:K4,LucideGripHorizontal:G4,LucideGripVertical:$1,LucideGroup:Z4,LucideGuitar:X4,LucideHam:Y4,LucideHamburger:J4,LucideHammer:Q4,LucideHand:c5,LucideHandCoins:e5,LucideHandFist:t5,LucideHandGrab:Cn,LucideHandHeart:a5,LucideHandHelping:Nn,LucideHandMetal:n5,LucideHandPlatter:o5,LucideHandbag:i5,LucideHandshake:r5,LucideHardDrive:l5,LucideHardDriveDownload:s5,LucideHardDriveUpload:d5,LucideHardHat:h5,LucideHash:u5,LucideHatGlasses:p5,LucideHaze:y5,LucideHdmiPort:k5,LucideHeading:_5,LucideHeading1:m5,LucideHeading2:f5,LucideHeading3:g5,LucideHeading4:v5,LucideHeading5:M5,LucideHeading6:x5,LucideHeadphoneOff:L5,LucideHeadphones:I5,LucideHeadset:b5,LucideHeart:q5,LucideHeartCrack:w5,LucideHeartHandshake:C5,LucideHeartMinus:N5,LucideHeartOff:j5,LucideHeartPlus:S5,LucideHeartPulse:$5,LucideHeater:A5,LucideHelpCircle:it,LucideHelpingHand:Nn,LucideHexagon:z5,LucideHighlighter:V5,LucideHistory:P5,LucideHome:St,LucideHop:H5,LucideHopOff:T5,LucideHospital:q1,LucideHotel:D5,LucideHourglass:B5,LucideHouse:St,LucideHousePlug:R5,LucideHousePlus:E5,LucideHouseWifi:F5,LucideIceCream:Sn,LucideIceCream2:jn,LucideIceCreamBowl:jn,LucideIceCreamCone:Sn,LucideIdCard:U5,LucideIdCardLanyard:O5,LucideImage:Q5,LucideImageDown:W5,LucideImageMinus:G5,LucideImageOff:K5,LucideImagePlay:Z5,LucideImagePlus:X5,LucideImageUp:Y5,LucideImageUpscale:J5,LucideImages:ek,LucideImport:tk,LucideInbox:ak,LucideIndent:qn,LucideIndentDecrease:$n,LucideIndentIncrease:qn,LucideIndianRupee:nk,LucideInfinity:ok,LucideInfo:ck,LucideInspect:Go,LucideInspectionPanel:ik,LucideInstagram:rk,LucideItalic:sk,LucideIterationCcw:dk,LucideIterationCw:lk,LucideJapaneseYen:uk,LucideJoystick:hk,LucideKanban:pk,LucideKanbanSquare:Ro,LucideKanbanSquareDashed:zo,LucideKayak:yk,LucideKey:fk,LucideKeyRound:kk,LucideKeySquare:mk,LucideKeyboard:Mk,LucideKeyboardMusic:gk,LucideKeyboardOff:vk,LucideLamp:wk,LucideLampCeiling:xk,LucideLampDesk:Lk,LucideLampFloor:_k,LucideLampWallDown:Ik,LucideLampWallUp:bk,LucideLandPlot:Ck,LucideLandmark:Nk,LucideLanguages:jk,LucideLaptop:$k,LucideLaptop2:An,LucideLaptopMinimal:An,LucideLaptopMinimalCheck:Sk,LucideLasso:Ak,LucideLassoSelect:qk,LucideLaugh:zk,LucideLayers:zn,LucideLayers2:Vk,LucideLayers3:zn,LucideLayout:eo,LucideLayoutDashboard:Pk,LucideLayoutGrid:Tk,LucideLayoutList:Hk,LucideLayoutPanelLeft:Dk,LucideLayoutPanelTop:Bk,LucideLayoutTemplate:Rk,LucideLeaf:Fk,LucideLeafyGreen:Ok,LucideLectern:Ek,LucideLetterText:Uk,LucideLibrary:Gk,LucideLibraryBig:Wk,LucideLibrarySquare:Fo,LucideLifeBuoy:Kk,LucideLigature:Zk,LucideLightbulb:Yk,LucideLightbulbOff:Xk,LucideLineChart:ya,LucideLineSquiggle:Jk,LucideLink:t3,LucideLink2:Qk,LucideLink2Off:e3,LucideLinkedin:a3,LucideList:v3,LucideListCheck:n3,LucideListChecks:o3,LucideListCollapse:c3,LucideListEnd:i3,LucideListFilter:d3,LucideListFilterPlus:r3,LucideListMinus:s3,LucideListMusic:l3,LucideListOrdered:h3,LucideListPlus:u3,LucideListRestart:p3,LucideListStart:y3,LucideListTodo:k3,LucideListTree:m3,LucideListVideo:f3,LucideListX:g3,LucideLoader:x3,LucideLoader2:Vn,LucideLoaderCircle:Vn,LucideLoaderPinwheel:M3,LucideLocate:I3,LucideLocateFixed:_3,LucideLocateOff:L3,LucideLocationEdit:Dn,LucideLock:w3,LucideLockKeyhole:b3,LucideLockKeyholeOpen:Pn,LucideLockOpen:Tn,LucideLogIn:C3,LucideLogOut:N3,LucideLogs:j3,LucideLollipop:S3,LucideLuggage:$3,LucideMSquare:Eo,LucideMagnet:q3,LucideMail:D3,LucideMailCheck:A3,LucideMailMinus:z3,LucideMailOpen:V3,LucideMailPlus:P3,LucideMailQuestion:Hn,LucideMailQuestionMark:Hn,LucideMailSearch:T3,LucideMailWarning:H3,LucideMailX:B3,LucideMailbox:R3,LucideMails:F3,LucideMap:nm,LucideMapMinus:E3,LucideMapPin:em,LucideMapPinCheck:O3,LucideMapPinCheckInside:U3,LucideMapPinHouse:W3,LucideMapPinMinus:K3,LucideMapPinMinusInside:G3,LucideMapPinOff:Z3,LucideMapPinPen:Dn,LucideMapPinPlus:Y3,LucideMapPinPlusInside:X3,LucideMapPinX:Q3,LucideMapPinXInside:J3,LucideMapPinned:tm,LucideMapPlus:am,LucideMars:cm,LucideMarsStroke:om,LucideMartini:im,LucideMaximize:dm,LucideMaximize2:rm,LucideMedal:sm,LucideMegaphone:hm,LucideMegaphoneOff:lm,LucideMeh:um,LucideMemoryStick:pm,LucideMenu:a1,LucideMenuSquare:Oo,LucideMerge:ym,LucideMessageCircle:Im,LucideMessageCircleCode:km,LucideMessageCircleDashed:mm,LucideMessageCircleHeart:fm,LucideMessageCircleMore:gm,LucideMessageCircleOff:vm,LucideMessageCirclePlus:Mm,LucideMessageCircleQuestion:Bn,LucideMessageCircleQuestionMark:Bn,LucideMessageCircleReply:xm,LucideMessageCircleWarning:_m,LucideMessageCircleX:Lm,LucideMessageSquare:Bm,LucideMessageSquareCode:bm,LucideMessageSquareDashed:wm,LucideMessageSquareDiff:Cm,LucideMessageSquareDot:Nm,LucideMessageSquareHeart:jm,LucideMessageSquareLock:Sm,LucideMessageSquareMore:$m,LucideMessageSquareOff:qm,LucideMessageSquarePlus:Am,LucideMessageSquareQuote:zm,LucideMessageSquareReply:Vm,LucideMessageSquareShare:Pm,LucideMessageSquareText:Tm,LucideMessageSquareWarning:Hm,LucideMessageSquareX:Dm,LucideMessagesSquare:Rm,LucideMic:Em,LucideMic2:Rn,LucideMicOff:Fm,LucideMicVocal:Rn,LucideMicrochip:Om,LucideMicroscope:Um,LucideMicrowave:Wm,LucideMilestone:Gm,LucideMilk:Zm,LucideMilkOff:Km,LucideMinimize:Ym,LucideMinimize2:Xm,LucideMinus:Jm,LucideMinusCircle:Ta,LucideMinusSquare:Uo,LucideMonitor:h6,LucideMonitorCheck:Qm,LucideMonitorCog:e6,LucideMonitorDot:t6,LucideMonitorDown:a6,LucideMonitorOff:n6,LucideMonitorPause:c6,LucideMonitorPlay:o6,LucideMonitorSmartphone:i6,LucideMonitorSpeaker:r6,LucideMonitorStop:s6,LucideMonitorUp:d6,LucideMonitorX:l6,LucideMoon:p6,LucideMoonStar:u6,LucideMoreHorizontal:rn,LucideMoreVertical:cn,LucideMountain:k6,LucideMountainSnow:y6,LucideMouse:x6,LucideMouseOff:m6,LucideMousePointer:v6,LucideMousePointer2:f6,LucideMousePointerBan:g6,LucideMousePointerClick:M6,LucideMousePointerSquareDashed:Vo,LucideMove:a.Move,LucideMove3D:Fn,LucideMove3d:Fn,LucideMoveDiagonal:L6,LucideMoveDiagonal2:_6,LucideMoveDown:C6,LucideMoveDownLeft:I6,LucideMoveDownRight:b6,LucideMoveHorizontal:w6,LucideMoveLeft:N6,LucideMoveRight:j6,LucideMoveUp:q6,LucideMoveUpLeft:S6,LucideMoveUpRight:$6,LucideMoveVertical:A6,LucideMusic:T6,LucideMusic2:z6,LucideMusic3:V6,LucideMusic4:P6,LucideNavigation:R6,LucideNavigation2:D6,LucideNavigation2Off:H6,LucideNavigationOff:B6,LucideNetwork:F6,LucideNewspaper:E6,LucideNfc:O6,LucideNonBinary:U6,LucideNotebook:Z6,LucideNotebookPen:W6,LucideNotebookTabs:G6,LucideNotebookText:K6,LucideNotepadText:Y6,LucideNotepadTextDashed:X6,LucideNut:Q6,LucideNutOff:J6,LucideOctagon:t8,LucideOctagonAlert:En,LucideOctagonMinus:e8,LucideOctagonPause:On,LucideOctagonX:Un,LucideOmega:a8,LucideOption:n8,LucideOrbit:o8,LucideOrigami:c8,LucideOutdent:$n,LucidePackage:p8,LucidePackage2:i8,LucidePackageCheck:r8,LucidePackageMinus:s8,LucidePackageOpen:d8,LucidePackagePlus:l8,LucidePackageSearch:h8,LucidePackageX:u8,LucidePaintBucket:y8,LucidePaintRoller:k8,LucidePaintbrush:m8,LucidePaintbrush2:Wn,LucidePaintbrushVertical:Wn,LucidePalette:f8,LucidePalmtree:pc,LucidePanda:g8,LucidePanelBottom:x8,LucidePanelBottomClose:v8,LucidePanelBottomDashed:Gn,LucidePanelBottomInactive:Gn,LucidePanelBottomOpen:M8,LucidePanelLeft:Yn,LucidePanelLeftClose:Kn,LucidePanelLeftDashed:Zn,LucidePanelLeftInactive:Zn,LucidePanelLeftOpen:Xn,LucidePanelRight:I8,LucidePanelRightClose:_8,LucidePanelRightDashed:Jn,LucidePanelRightInactive:Jn,LucidePanelRightOpen:L8,LucidePanelTop:C8,LucidePanelTopClose:b8,LucidePanelTopDashed:Qn,LucidePanelTopInactive:Qn,LucidePanelTopOpen:w8,LucidePanelsLeftBottom:N8,LucidePanelsLeftRight:tn,LucidePanelsRightBottom:j8,LucidePanelsTopBottom:co,LucidePanelsTopLeft:eo,LucidePaperclip:S8,LucideParentheses:$8,LucideParkingCircle:Ba,LucideParkingCircleOff:Ha,LucideParkingMeter:q8,LucideParkingSquare:Ko,LucideParkingSquareOff:Wo,LucidePartyPopper:A8,LucidePause:z8,LucidePauseCircle:Da,LucidePauseOctagon:On,LucidePawPrint:V8,LucidePcCase:P8,LucidePen:gt,LucidePenBox:Fe,LucidePenLine:ft,LucidePenOff:H8,LucidePenSquare:Fe,LucidePenTool:T8,LucidePencil:n1,LucidePencilLine:D8,LucidePencilOff:B8,LucidePencilRuler:R8,LucidePentagon:F8,LucidePercent:E8,LucidePercentCircle:Ra,LucidePercentDiamond:nn,LucidePercentSquare:Zo,LucidePersonStanding:U8,LucidePhilippinePeso:O8,LucidePhone:Y8,LucidePhoneCall:W8,LucidePhoneForwarded:G8,LucidePhoneIncoming:K8,LucidePhoneMissed:Z8,LucidePhoneOff:X8,LucidePhoneOutgoing:J8,LucidePi:Q8,LucidePiSquare:Xo,LucidePiano:ef,LucidePickaxe:tf,LucidePictureInPicture:nf,LucidePictureInPicture2:af,LucidePieChart:ga,LucidePiggyBank:of,LucidePilcrow:rf,LucidePilcrowLeft:cf,LucidePilcrowRight:sf,LucidePilcrowSquare:Yo,LucidePill:lf,LucidePillBottle:df,LucidePin:uf,LucidePinOff:hf,LucidePipette:pf,LucidePizza:yf,LucidePlane:ff,LucidePlaneLanding:kf,LucidePlaneTakeoff:mf,LucidePlay:gf,LucidePlayCircle:Fa,LucidePlaySquare:Jo,LucidePlug:Mf,LucidePlug2:vf,LucidePlugZap:to,LucidePlugZap2:to,LucidePlus:Ac,LucidePlusCircle:Ea,LucidePlusSquare:Qo,LucidePocket:_f,LucidePocketKnife:xf,LucidePodcast:Lf,LucidePointer:bf,LucidePointerOff:If,LucidePopcorn:Cf,LucidePopsicle:wf,LucidePoundSterling:Nf,LucidePower:Sf,LucidePowerCircle:Oa,LucidePowerOff:jf,LucidePowerSquare:ec,LucidePresentation:$f,LucidePrinter:Af,LucidePrinterCheck:qf,LucideProjector:zf,LucideProportions:Vf,LucidePuzzle:Tf,LucidePyramid:Pf,LucideQrCode:Hf,LucideQuote:Df,LucideRabbit:Bf,LucideRadar:Rf,LucideRadiation:Ff,LucideRadical:Ef,LucideRadio:Wf,LucideRadioReceiver:Of,LucideRadioTower:Uf,LucideRadius:Gf,LucideRailSymbol:Kf,LucideRainbow:Zf,LucideRat:Xf,LucideRatio:Yf,LucideReceipt:rg,LucideReceiptCent:Jf,LucideReceiptEuro:eg,LucideReceiptIndianRupee:Qf,LucideReceiptJapaneseYen:tg,LucideReceiptPoundSterling:ag,LucideReceiptRussianRuble:ng,LucideReceiptSwissFranc:og,LucideReceiptText:cg,LucideReceiptTurkishLira:ig,LucideRectangleCircle:sg,LucideRectangleEllipsis:ao,LucideRectangleGoggles:dg,LucideRectangleHorizontal:lg,LucideRectangleVertical:hg,LucideRecycle:ug,LucideRedo:kg,LucideRedo2:pg,LucideRedoDot:yg,LucideRefreshCcw:fg,LucideRefreshCcwDot:mg,LucideRefreshCw:vg,LucideRefreshCwOff:gg,LucideRefrigerator:Mg,LucideRegex:xg,LucideRemoveFormatting:_g,LucideRepeat:bg,LucideRepeat1:Lg,LucideRepeat2:Ig,LucideReplace:Cg,LucideReplaceAll:wg,LucideReply:Sg,LucideReplyAll:Ng,LucideRewind:jg,LucideRibbon:$g,LucideRocket:qg,LucideRockingChair:Vg,LucideRollerCoaster:Ag,LucideRose:zg,LucideRotate3D:no,LucideRotate3d:no,LucideRotateCcw:Hg,LucideRotateCcwKey:Pg,LucideRotateCcwSquare:Tg,LucideRotateCw:Bg,LucideRotateCwSquare:Dg,LucideRoute:Fg,LucideRouteOff:Rg,LucideRouter:Eg,LucideRows:oo,LucideRows2:oo,LucideRows3:co,LucideRows4:Og,LucideRss:Ug,LucideRuler:Gg,LucideRulerDimensionLine:Wg,LucideRussianRuble:Kg,LucideSailboat:Zg,LucideSalad:Xg,LucideSandwich:Yg,LucideSatellite:Qg,LucideSatelliteDish:Jg,LucideSaudiRiyal:e7,LucideSave:o7,LucideSaveAll:t7,LucideSaveOff:a7,LucideScale:n7,LucideScale3D:io,LucideScale3d:io,LucideScaling:c7,LucideScan:y7,LucideScanBarcode:i7,LucideScanEye:r7,LucideScanFace:s7,LucideScanHeart:d7,LucideScanLine:l7,LucideScanQrCode:h7,LucideScanSearch:u7,LucideScanText:p7,LucideScatterChart:va,LucideSchool:k7,LucideSchool2:mc,LucideScissors:f7,LucideScissorsLineDashed:m7,LucideScissorsSquare:tc,LucideScissorsSquareDashedBottom:wo,LucideScreenShare:g7,LucideScreenShareOff:v7,LucideScroll:x7,LucideScrollText:M7,LucideSearch:A1,LucideSearchCheck:_7,LucideSearchCode:L7,LucideSearchSlash:I7,LucideSearchX:b7,LucideSection:w7,LucideSend:N7,LucideSendHorizonal:ro,LucideSendHorizontal:ro,LucideSendToBack:C7,LucideSeparatorHorizontal:j7,LucideSeparatorVertical:S7,LucideServer:z7,LucideServerCog:$7,LucideServerCrash:A7,LucideServerOff:q7,LucideSettings:P7,LucideSettings2:V7,LucideShapes:T7,LucideShare:D7,LucideShare2:H7,LucideSheet:B7,LucideShell:R7,LucideShield:Y7,LucideShieldAlert:F7,LucideShieldBan:E7,LucideShieldCheck:O7,LucideShieldClose:lo,LucideShieldEllipsis:U7,LucideShieldHalf:W7,LucideShieldMinus:K7,LucideShieldOff:G7,LucideShieldPlus:Z7,LucideShieldQuestion:so,LucideShieldQuestionMark:so,LucideShieldUser:X7,LucideShieldX:lo,LucideShip:Q7,LucideShipWheel:J7,LucideShirt:ev,LucideShoppingBag:tv,LucideShoppingBasket:av,LucideShoppingCart:nv,LucideShovel:ov,LucideShowerHead:cv,LucideShredder:iv,LucideShrimp:rv,LucideShrink:sv,LucideShrub:dv,LucideShuffle:hv,LucideSidebar:Yn,LucideSidebarClose:Kn,LucideSidebarOpen:Xn,LucideSigma:lv,LucideSigmaSquare:ac,LucideSignal:mv,LucideSignalHigh:uv,LucideSignalLow:pv,LucideSignalMedium:yv,LucideSignalZero:kv,LucideSignature:fv,LucideSignpost:vv,LucideSignpostBig:gv,LucideSiren:Mv,LucideSkipBack:xv,LucideSkipForward:_v,LucideSkull:Lv,LucideSlack:Iv,LucideSlash:bv,LucideSlashSquare:nc,LucideSlice:wv,LucideSliders:ho,LucideSlidersHorizontal:Cv,LucideSlidersVertical:ho,LucideSmartphone:Sv,LucideSmartphoneCharging:Nv,LucideSmartphoneNfc:jv,LucideSmile:qv,LucideSmilePlus:$v,LucideSnail:Av,LucideSnowflake:zv,LucideSoapDispenserDroplet:Vv,LucideSofa:Pv,LucideSortAsc:Yt,LucideSortDesc:Kt,LucideSoup:Tv,LucideSpace:Hv,LucideSpade:Dv,LucideSparkle:Bv,LucideSparkles:uo,LucideSpeaker:Rv,LucideSpeech:Fv,LucideSpellCheck:Ov,LucideSpellCheck2:Ev,LucideSpline:Wv,LucideSplinePointer:Uv,LucideSplit:Gv,LucideSplitSquareHorizontal:oc,LucideSplitSquareVertical:cc,LucideSpool:Kv,LucideSpotlight:Zv,LucideSprayCan:Xv,LucideSprout:Yv,LucideSquare:s9,LucideSquareActivity:$t,LucideSquareArrowDown:ko,LucideSquareArrowDownLeft:po,LucideSquareArrowDownRight:yo,LucideSquareArrowLeft:mo,LucideSquareArrowOutDownLeft:fo,LucideSquareArrowOutDownRight:go,LucideSquareArrowOutUpLeft:vo,LucideSquareArrowOutUpRight:Mo,LucideSquareArrowRight:xo,LucideSquareArrowUp:Io,LucideSquareArrowUpLeft:_o,LucideSquareArrowUpRight:Lo,LucideSquareAsterisk:bo,LucideSquareBottomDashedScissors:wo,LucideSquareChartGantt:dt,LucideSquareCheck:No,LucideSquareCheckBig:Co,LucideSquareChevronDown:jo,LucideSquareChevronLeft:So,LucideSquareChevronRight:$o,LucideSquareChevronUp:qo,LucideSquareCode:Ao,LucideSquareDashed:Po,LucideSquareDashedBottom:Qv,LucideSquareDashedBottomCode:Jv,LucideSquareDashedKanban:zo,LucideSquareDashedMousePointer:Vo,LucideSquareDashedTopSolid:e9,LucideSquareDivide:To,LucideSquareDot:Do,LucideSquareEqual:Ho,LucideSquareFunction:Bo,LucideSquareGanttChart:dt,LucideSquareKanban:Ro,LucideSquareLibrary:Fo,LucideSquareM:Eo,LucideSquareMenu:Oo,LucideSquareMinus:Uo,LucideSquareMousePointer:Go,LucideSquareParking:Ko,LucideSquareParkingOff:Wo,LucideSquarePause:t9,LucideSquarePen:Fe,LucideSquarePercent:Zo,LucideSquarePi:Xo,LucideSquarePilcrow:Yo,LucideSquarePlay:Jo,LucideSquarePlus:Qo,LucideSquarePower:ec,LucideSquareRadical:a9,LucideSquareRoundCorner:n9,LucideSquareScissors:tc,LucideSquareSigma:ac,LucideSquareSlash:nc,LucideSquareSplitHorizontal:oc,LucideSquareSplitVertical:cc,LucideSquareSquare:o9,LucideSquareStack:c9,LucideSquareStar:i9,LucideSquareStop:r9,LucideSquareTerminal:ic,LucideSquareUser:sc,LucideSquareUserRound:rc,LucideSquareX:dc,LucideSquaresExclude:d9,LucideSquaresIntersect:l9,LucideSquaresSubtract:h9,LucideSquaresUnite:u9,LucideSquircle:y9,LucideSquircleDashed:p9,LucideSquirrel:k9,LucideStamp:m9,LucideStar:M9,LucideStarHalf:f9,LucideStarOff:g9,LucideStars:uo,LucideStepBack:v9,LucideStepForward:x9,LucideStethoscope:_9,LucideSticker:L9,LucideStickyNote:I9,LucideStopCircle:Wa,LucideStore:b9,LucideStretchHorizontal:w9,LucideStretchVertical:C9,LucideStrikethrough:N9,LucideSubscript:j9,LucideSubtitles:ia,LucideSun:V9,LucideSunDim:S9,LucideSunMedium:$9,LucideSunMoon:q9,LucideSunSnow:A9,LucideSunrise:z9,LucideSunset:P9,LucideSuperscript:T9,LucideSwatchBook:H9,LucideSwissFranc:D9,LucideSwitchCamera:B9,LucideSword:R9,LucideSwords:E9,LucideSyringe:F9,LucideTable:Y9,LucideTable2:O9,LucideTableCellsMerge:U9,LucideTableCellsSplit:W9,LucideTableColumnsSplit:G9,LucideTableConfig:rt,LucideTableOfContents:K9,LucideTableProperties:Z9,LucideTableRowsSplit:X9,LucideTablet:Q9,LucideTabletSmartphone:J9,LucideTablets:eM,LucideTag:tM,LucideTags:aM,LucideTally1:nM,LucideTally2:oM,LucideTally3:cM,LucideTally4:iM,LucideTally5:rM,LucideTangent:sM,LucideTarget:dM,LucideTelescope:lM,LucideTent:uM,LucideTentTree:hM,LucideTerminal:pM,LucideTerminalSquare:ic,LucideTestTube:yM,LucideTestTube2:lc,LucideTestTubeDiagonal:lc,LucideTestTubes:kM,LucideText:MM,LucideTextCursor:fM,LucideTextCursorInput:mM,LucideTextQuote:gM,LucideTextSearch:vM,LucideTextSelect:hc,LucideTextSelection:hc,LucideTheater:xM,LucideThermometer:bM,LucideThermometerSnowflake:_M,LucideThermometerSun:LM,LucideThumbsDown:IM,LucideThumbsUp:wM,LucideTicket:AM,LucideTicketCheck:CM,LucideTicketMinus:NM,LucideTicketPercent:jM,LucideTicketPlus:SM,LucideTicketSlash:$M,LucideTicketX:qM,LucideTickets:VM,LucideTicketsPlane:zM,LucideTimer:HM,LucideTimerOff:PM,LucideTimerReset:TM,LucideToggleLeft:DM,LucideToggleRight:BM,LucideToilet:RM,LucideToolCase:FM,LucideTornado:OM,LucideTorus:EM,LucideTouchpad:WM,LucideTouchpadOff:UM,LucideTowerControl:KM,LucideToyBrick:GM,LucideTractor:ZM,LucideTrafficCone:XM,LucideTrain:uc,LucideTrainFront:JM,LucideTrainFrontTunnel:YM,LucideTrainTrack:QM,LucideTramFront:uc,LucideTransgender:ex,LucideTrash:tx,LucideTrash2:lt,LucideTreeDeciduous:ax,LucideTreePalm:pc,LucideTreePine:nx,LucideTrees:ox,LucideTrello:cx,LucideTrendingDown:ix,LucideTrendingUp:rx,LucideTrendingUpDown:sx,LucideTriangle:lx,LucideTriangleAlert:yc,LucideTriangleDashed:dx,LucideTriangleRight:hx,LucideTrophy:ux,LucideTruck:yx,LucideTruckElectric:px,LucideTurkishLira:kx,LucideTurntable:mx,LucideTurtle:fx,LucideTv:vx,LucideTv2:kc,LucideTvMinimal:kc,LucideTvMinimalPlay:gx,LucideTwitch:Mx,LucideTwitter:xx,LucideType:Lx,LucideTypeOutline:_x,LucideUmbrella:bx,LucideUmbrellaOff:Ix,LucideUnderline:wx,LucideUndo:jx,LucideUndo2:Cx,LucideUndoDot:Nx,LucideUnfoldHorizontal:Sx,LucideUnfoldVertical:$x,LucideUngroup:qx,LucideUniversity:mc,LucideUnlink:Px,LucideUnlink2:Ax,LucideUnlock:Tn,LucideUnlockKeyhole:Pn,LucideUnplug:zx,LucideUpload:Vx,LucideUploadCloud:Ja,LucideUsb:Tx,LucideUser:Kx,LucideUser2:_c,LucideUserCheck:Hx,LucideUserCheck2:fc,LucideUserCircle:Ka,LucideUserCircle2:Ga,LucideUserCog:Dx,LucideUserCog2:gc,LucideUserLock:Bx,LucideUserMinus:Rx,LucideUserMinus2:vc,LucideUserPen:Fx,LucideUserPlus:z1,LucideUserPlus2:Mc,LucideUserRound:_c,LucideUserRoundCheck:fc,LucideUserRoundCog:gc,LucideUserRoundMinus:vc,LucideUserRoundPen:Ex,LucideUserRoundPlus:Mc,LucideUserRoundSearch:Ox,LucideUserRoundX:xc,LucideUserSearch:Ux,LucideUserSquare:sc,LucideUserSquare2:rc,LucideUserStar:Wx,LucideUserX:Gx,LucideUserX2:xc,LucideUsers:Zx,LucideUsers2:Lc,LucideUsersRound:Lc,LucideUtensils:bc,LucideUtensilsCrossed:Ic,LucideUtilityPole:Xx,LucideVariable:Yx,LucideVault:Jx,LucideVectorSquare:Qx,LucideVegan:e_,LucideVenetianMask:t_,LucideVenus:c_,LucideVenusAndMars:a_,LucideVerified:ea,LucideVibrate:o_,LucideVibrateOff:n_,LucideVideo:r_,LucideVideoOff:i_,LucideVideotape:s_,LucideView:l_,LucideVoicemail:d_,LucideVolleyball:h_,LucideVolume:f_,LucideVolume1:u_,LucideVolume2:p_,LucideVolumeOff:y_,LucideVolumeX:k_,LucideVote:m_,LucideWallet:v_,LucideWallet2:wc,LucideWalletCards:g_,LucideWalletMinimal:wc,LucideWallpaper:M_,LucideWand:x_,LucideWand2:Cc,LucideWandSparkles:Cc,LucideWarehouse:__,LucideWashingMachine:L_,LucideWatch:I_,LucideWaves:w_,LucideWavesLadder:b_,LucideWaypoints:C_,LucideWebcam:N_,LucideWebhook:$_,LucideWebhookOff:j_,LucideWeight:S_,LucideWheat:A_,LucideWheatOff:q_,LucideWholeWord:z_,LucideWifi:F_,LucideWifiCog:V_,LucideWifiHigh:P_,LucideWifiLow:T_,LucideWifiOff:H_,LucideWifiPen:D_,LucideWifiSync:B_,LucideWifiZero:R_,LucideWind:O_,LucideWindArrowDown:E_,LucideWine:W_,LucideWineOff:U_,LucideWorkflow:G_,LucideWorm:K_,LucideWrapText:Z_,LucideWrench:X_,LucideX:Xe,LucideXCircle:Nt,LucideXOctagon:Un,LucideXSquare:dc,LucideYoutube:J_,LucideZap:Q_,LucideZapOff:Y_,LucideZoomIn:eL,LucideZoomOut:tL,Luggage:$3,LuggageIcon:$3,MSquare:Eo,MSquareIcon:Eo,Magnet:q3,MagnetIcon:q3,Mail:D3,MailCheck:A3,MailCheckIcon:A3,MailIcon:D3,MailMinus:z3,MailMinusIcon:z3,MailOpen:V3,MailOpenIcon:V3,MailPlus:P3,MailPlusIcon:P3,MailQuestion:Hn,MailQuestionIcon:Hn,MailQuestionMark:Hn,MailQuestionMarkIcon:Hn,MailSearch:T3,MailSearchIcon:T3,MailWarning:H3,MailWarningIcon:H3,MailX:B3,MailXIcon:B3,Mailbox:R3,MailboxIcon:R3,Mails:F3,MailsIcon:F3,Map:nm,MapIcon:nm,MapMinus:E3,MapMinusIcon:E3,MapPin:em,MapPinCheck:O3,MapPinCheckIcon:O3,MapPinCheckInside:U3,MapPinCheckInsideIcon:U3,MapPinHouse:W3,MapPinHouseIcon:W3,MapPinIcon:em,MapPinMinus:K3,MapPinMinusIcon:K3,MapPinMinusInside:G3,MapPinMinusInsideIcon:G3,MapPinOff:Z3,MapPinOffIcon:Z3,MapPinPen:Dn,MapPinPenIcon:Dn,MapPinPlus:Y3,MapPinPlusIcon:Y3,MapPinPlusInside:X3,MapPinPlusInsideIcon:X3,MapPinX:Q3,MapPinXIcon:Q3,MapPinXInside:J3,MapPinXInsideIcon:J3,MapPinned:tm,MapPinnedIcon:tm,MapPlus:am,MapPlusIcon:am,Mars:cm,MarsIcon:cm,MarsStroke:om,MarsStrokeIcon:om,Martini:im,MartiniIcon:im,Maximize:dm,Maximize2:rm,Maximize2Icon:rm,MaximizeIcon:dm,Medal:sm,MedalIcon:sm,Megaphone:hm,MegaphoneIcon:hm,MegaphoneOff:lm,MegaphoneOffIcon:lm,Meh:um,MehIcon:um,MemoryStick:pm,MemoryStickIcon:pm,Menu:a1,MenuIcon:a1,MenuSquare:Oo,MenuSquareIcon:Oo,Merge:ym,MergeIcon:ym,MessageCircle:Im,MessageCircleCode:km,MessageCircleCodeIcon:km,MessageCircleDashed:mm,MessageCircleDashedIcon:mm,MessageCircleHeart:fm,MessageCircleHeartIcon:fm,MessageCircleIcon:Im,MessageCircleMore:gm,MessageCircleMoreIcon:gm,MessageCircleOff:vm,MessageCircleOffIcon:vm,MessageCirclePlus:Mm,MessageCirclePlusIcon:Mm,MessageCircleQuestion:Bn,MessageCircleQuestionIcon:Bn,MessageCircleQuestionMark:Bn,MessageCircleQuestionMarkIcon:Bn,MessageCircleReply:xm,MessageCircleReplyIcon:xm,MessageCircleWarning:_m,MessageCircleWarningIcon:_m,MessageCircleX:Lm,MessageCircleXIcon:Lm,MessageSquare:Bm,MessageSquareCode:bm,MessageSquareCodeIcon:bm,MessageSquareDashed:wm,MessageSquareDashedIcon:wm,MessageSquareDiff:Cm,MessageSquareDiffIcon:Cm,MessageSquareDot:Nm,MessageSquareDotIcon:Nm,MessageSquareHeart:jm,MessageSquareHeartIcon:jm,MessageSquareIcon:Bm,MessageSquareLock:Sm,MessageSquareLockIcon:Sm,MessageSquareMore:$m,MessageSquareMoreIcon:$m,MessageSquareOff:qm,MessageSquareOffIcon:qm,MessageSquarePlus:Am,MessageSquarePlusIcon:Am,MessageSquareQuote:zm,MessageSquareQuoteIcon:zm,MessageSquareReply:Vm,MessageSquareReplyIcon:Vm,MessageSquareShare:Pm,MessageSquareShareIcon:Pm,MessageSquareText:Tm,MessageSquareTextIcon:Tm,MessageSquareWarning:Hm,MessageSquareWarningIcon:Hm,MessageSquareX:Dm,MessageSquareXIcon:Dm,MessagesSquare:Rm,MessagesSquareIcon:Rm,Mic:Em,Mic2:Rn,Mic2Icon:Rn,MicIcon:Em,MicOff:Fm,MicOffIcon:Fm,MicVocal:Rn,MicVocalIcon:Rn,Microchip:Om,MicrochipIcon:Om,Microscope:Um,MicroscopeIcon:Um,Microwave:Wm,MicrowaveIcon:Wm,Milestone:Gm,MilestoneIcon:Gm,Milk:Zm,MilkIcon:Zm,MilkOff:Km,MilkOffIcon:Km,Minimize:Ym,Minimize2:Xm,Minimize2Icon:Xm,MinimizeIcon:Ym,Minus:Jm,MinusCircle:Ta,MinusCircleIcon:Ta,MinusIcon:Jm,MinusSquare:Uo,MinusSquareIcon:Uo,Monitor:h6,MonitorCheck:Qm,MonitorCheckIcon:Qm,MonitorCog:e6,MonitorCogIcon:e6,MonitorDot:t6,MonitorDotIcon:t6,MonitorDown:a6,MonitorDownIcon:a6,MonitorIcon:h6,MonitorOff:n6,MonitorOffIcon:n6,MonitorPause:c6,MonitorPauseIcon:c6,MonitorPlay:o6,MonitorPlayIcon:o6,MonitorSmartphone:i6,MonitorSmartphoneIcon:i6,MonitorSpeaker:r6,MonitorSpeakerIcon:r6,MonitorStop:s6,MonitorStopIcon:s6,MonitorUp:d6,MonitorUpIcon:d6,MonitorX:l6,MonitorXIcon:l6,Moon:p6,MoonIcon:p6,MoonStar:u6,MoonStarIcon:u6,MoreHorizontal:rn,MoreHorizontalIcon:rn,MoreVertical:cn,MoreVerticalIcon:cn,Mountain:k6,MountainIcon:k6,MountainSnow:y6,MountainSnowIcon:y6,Mouse:x6,MouseIcon:x6,MouseOff:m6,MouseOffIcon:m6,MousePointer:v6,MousePointer2:f6,MousePointer2Icon:f6,MousePointerBan:g6,MousePointerBanIcon:g6,MousePointerClick:M6,MousePointerClickIcon:M6,MousePointerIcon:v6,MousePointerSquareDashed:Vo,MousePointerSquareDashedIcon:Vo,Move:a.Move,Move3D:Fn,Move3DIcon:Fn,Move3d:Fn,Move3dIcon:Fn,MoveDiagonal:L6,MoveDiagonal2:_6,MoveDiagonal2Icon:_6,MoveDiagonalIcon:L6,MoveDown:C6,MoveDownIcon:C6,MoveDownLeft:I6,MoveDownLeftIcon:I6,MoveDownRight:b6,MoveDownRightIcon:b6,MoveHorizontal:w6,MoveHorizontalIcon:w6,MoveIcon:a.Move,MoveLeft:N6,MoveLeftIcon:N6,MoveRight:j6,MoveRightIcon:j6,MoveUp:q6,MoveUpIcon:q6,MoveUpLeft:S6,MoveUpLeftIcon:S6,MoveUpRight:$6,MoveUpRightIcon:$6,MoveVertical:A6,MoveVerticalIcon:A6,Music:T6,Music2:z6,Music2Icon:z6,Music3:V6,Music3Icon:V6,Music4:P6,Music4Icon:P6,MusicIcon:T6,Navigation:R6,Navigation2:D6,Navigation2Icon:D6,Navigation2Off:H6,Navigation2OffIcon:H6,NavigationIcon:R6,NavigationOff:B6,NavigationOffIcon:B6,Network:F6,NetworkIcon:F6,Newspaper:E6,NewspaperIcon:E6,Nfc:O6,NfcIcon:O6,NonBinary:U6,NonBinaryIcon:U6,Notebook:Z6,NotebookIcon:Z6,NotebookPen:W6,NotebookPenIcon:W6,NotebookTabs:G6,NotebookTabsIcon:G6,NotebookText:K6,NotebookTextIcon:K6,NotepadText:Y6,NotepadTextDashed:X6,NotepadTextDashedIcon:X6,NotepadTextIcon:Y6,Nut:Q6,NutIcon:Q6,NutOff:J6,NutOffIcon:J6,Octagon:t8,OctagonAlert:En,OctagonAlertIcon:En,OctagonIcon:t8,OctagonMinus:e8,OctagonMinusIcon:e8,OctagonPause:On,OctagonPauseIcon:On,OctagonX:Un,OctagonXIcon:Un,Omega:a8,OmegaIcon:a8,Option:n8,OptionIcon:n8,Orbit:o8,OrbitIcon:o8,Origami:c8,OrigamiIcon:c8,Outdent:$n,OutdentIcon:$n,Package:p8,Package2:i8,Package2Icon:i8,PackageCheck:r8,PackageCheckIcon:r8,PackageIcon:p8,PackageMinus:s8,PackageMinusIcon:s8,PackageOpen:d8,PackageOpenIcon:d8,PackagePlus:l8,PackagePlusIcon:l8,PackageSearch:h8,PackageSearchIcon:h8,PackageX:u8,PackageXIcon:u8,PaintBucket:y8,PaintBucketIcon:y8,PaintRoller:k8,PaintRollerIcon:k8,Paintbrush:m8,Paintbrush2:Wn,Paintbrush2Icon:Wn,PaintbrushIcon:m8,PaintbrushVertical:Wn,PaintbrushVerticalIcon:Wn,Palette:f8,PaletteIcon:f8,Palmtree:pc,PalmtreeIcon:pc,Panda:g8,PandaIcon:g8,PanelBottom:x8,PanelBottomClose:v8,PanelBottomCloseIcon:v8,PanelBottomDashed:Gn,PanelBottomDashedIcon:Gn,PanelBottomIcon:x8,PanelBottomInactive:Gn,PanelBottomInactiveIcon:Gn,PanelBottomOpen:M8,PanelBottomOpenIcon:M8,PanelLeft:Yn,PanelLeftClose:Kn,PanelLeftCloseIcon:Kn,PanelLeftDashed:Zn,PanelLeftDashedIcon:Zn,PanelLeftIcon:Yn,PanelLeftInactive:Zn,PanelLeftInactiveIcon:Zn,PanelLeftOpen:Xn,PanelLeftOpenIcon:Xn,PanelRight:I8,PanelRightClose:_8,PanelRightCloseIcon:_8,PanelRightDashed:Jn,PanelRightDashedIcon:Jn,PanelRightIcon:I8,PanelRightInactive:Jn,PanelRightInactiveIcon:Jn,PanelRightOpen:L8,PanelRightOpenIcon:L8,PanelTop:C8,PanelTopClose:b8,PanelTopCloseIcon:b8,PanelTopDashed:Qn,PanelTopDashedIcon:Qn,PanelTopIcon:C8,PanelTopInactive:Qn,PanelTopInactiveIcon:Qn,PanelTopOpen:w8,PanelTopOpenIcon:w8,PanelsLeftBottom:N8,PanelsLeftBottomIcon:N8,PanelsLeftRight:tn,PanelsLeftRightIcon:tn,PanelsRightBottom:j8,PanelsRightBottomIcon:j8,PanelsTopBottom:co,PanelsTopBottomIcon:co,PanelsTopLeft:eo,PanelsTopLeftIcon:eo,Paperclip:S8,PaperclipIcon:S8,Parentheses:$8,ParenthesesIcon:$8,ParkingCircle:Ba,ParkingCircleIcon:Ba,ParkingCircleOff:Ha,ParkingCircleOffIcon:Ha,ParkingMeter:q8,ParkingMeterIcon:q8,ParkingSquare:Ko,ParkingSquareIcon:Ko,ParkingSquareOff:Wo,ParkingSquareOffIcon:Wo,PartyPopper:A8,PartyPopperIcon:A8,Pause:z8,PauseCircle:Da,PauseCircleIcon:Da,PauseIcon:z8,PauseOctagon:On,PauseOctagonIcon:On,PawPrint:V8,PawPrintIcon:V8,PcCase:P8,PcCaseIcon:P8,Pen:gt,PenBox:Fe,PenBoxIcon:Fe,PenIcon:gt,PenLine:ft,PenLineIcon:ft,PenOff:H8,PenOffIcon:H8,PenSquare:Fe,PenSquareIcon:Fe,PenTool:T8,PenToolIcon:T8,Pencil:n1,PencilIcon:n1,PencilLine:D8,PencilLineIcon:D8,PencilOff:B8,PencilOffIcon:B8,PencilRuler:R8,PencilRulerIcon:R8,Pentagon:F8,PentagonIcon:F8,Percent:E8,PercentCircle:Ra,PercentCircleIcon:Ra,PercentDiamond:nn,PercentDiamondIcon:nn,PercentIcon:E8,PercentSquare:Zo,PercentSquareIcon:Zo,PersonStanding:U8,PersonStandingIcon:U8,PhilippinePeso:O8,PhilippinePesoIcon:O8,Phone:Y8,PhoneCall:W8,PhoneCallIcon:W8,PhoneForwarded:G8,PhoneForwardedIcon:G8,PhoneIcon:Y8,PhoneIncoming:K8,PhoneIncomingIcon:K8,PhoneMissed:Z8,PhoneMissedIcon:Z8,PhoneOff:X8,PhoneOffIcon:X8,PhoneOutgoing:J8,PhoneOutgoingIcon:J8,Pi:Q8,PiIcon:Q8,PiSquare:Xo,PiSquareIcon:Xo,Piano:ef,PianoIcon:ef,Pickaxe:tf,PickaxeIcon:tf,PictureInPicture:nf,PictureInPicture2:af,PictureInPicture2Icon:af,PictureInPictureIcon:nf,PieChart:ga,PieChartIcon:ga,PiggyBank:of,PiggyBankIcon:of,Pilcrow:rf,PilcrowIcon:rf,PilcrowLeft:cf,PilcrowLeftIcon:cf,PilcrowRight:sf,PilcrowRightIcon:sf,PilcrowSquare:Yo,PilcrowSquareIcon:Yo,Pill:lf,PillBottle:df,PillBottleIcon:df,PillIcon:lf,Pin:uf,PinIcon:uf,PinOff:hf,PinOffIcon:hf,Pipette:pf,PipetteIcon:pf,Pizza:yf,PizzaIcon:yf,Plane:ff,PlaneIcon:ff,PlaneLanding:kf,PlaneLandingIcon:kf,PlaneTakeoff:mf,PlaneTakeoffIcon:mf,Play:gf,PlayCircle:Fa,PlayCircleIcon:Fa,PlayIcon:gf,PlaySquare:Jo,PlaySquareIcon:Jo,Plug:Mf,Plug2:vf,Plug2Icon:vf,PlugIcon:Mf,PlugZap:to,PlugZap2:to,PlugZap2Icon:to,PlugZapIcon:to,Plus:Ac,PlusCircle:Ea,PlusCircleIcon:Ea,PlusIcon:Ac,PlusSquare:Qo,PlusSquareIcon:Qo,Pocket:_f,PocketIcon:_f,PocketKnife:xf,PocketKnifeIcon:xf,Podcast:Lf,PodcastIcon:Lf,Pointer:bf,PointerIcon:bf,PointerOff:If,PointerOffIcon:If,Popcorn:Cf,PopcornIcon:Cf,Popsicle:wf,PopsicleIcon:wf,PoundSterling:Nf,PoundSterlingIcon:Nf,Power:Sf,PowerCircle:Oa,PowerCircleIcon:Oa,PowerIcon:Sf,PowerOff:jf,PowerOffIcon:jf,PowerSquare:ec,PowerSquareIcon:ec,Presentation:$f,PresentationIcon:$f,Printer:Af,PrinterCheck:qf,PrinterCheckIcon:qf,PrinterIcon:Af,Projector:zf,ProjectorIcon:zf,Proportions:Vf,ProportionsIcon:Vf,Puzzle:Tf,PuzzleIcon:Tf,Pyramid:Pf,PyramidIcon:Pf,QrCode:Hf,QrCodeIcon:Hf,Quote:Df,QuoteIcon:Df,Rabbit:Bf,RabbitIcon:Bf,Radar:Rf,RadarIcon:Rf,Radiation:Ff,RadiationIcon:Ff,Radical:Ef,RadicalIcon:Ef,Radio:Wf,RadioIcon:Wf,RadioReceiver:Of,RadioReceiverIcon:Of,RadioTower:Uf,RadioTowerIcon:Uf,Radius:Gf,RadiusIcon:Gf,RailSymbol:Kf,RailSymbolIcon:Kf,Rainbow:Zf,RainbowIcon:Zf,Rat:Xf,RatIcon:Xf,Ratio:Yf,RatioIcon:Yf,Receipt:rg,ReceiptCent:Jf,ReceiptCentIcon:Jf,ReceiptEuro:eg,ReceiptEuroIcon:eg,ReceiptIcon:rg,ReceiptIndianRupee:Qf,ReceiptIndianRupeeIcon:Qf,ReceiptJapaneseYen:tg,ReceiptJapaneseYenIcon:tg,ReceiptPoundSterling:ag,ReceiptPoundSterlingIcon:ag,ReceiptRussianRuble:ng,ReceiptRussianRubleIcon:ng,ReceiptSwissFranc:og,ReceiptSwissFrancIcon:og,ReceiptText:cg,ReceiptTextIcon:cg,ReceiptTurkishLira:ig,ReceiptTurkishLiraIcon:ig,RectangleCircle:sg,RectangleCircleIcon:sg,RectangleEllipsis:ao,RectangleEllipsisIcon:ao,RectangleGoggles:dg,RectangleGogglesIcon:dg,RectangleHorizontal:lg,RectangleHorizontalIcon:lg,RectangleVertical:hg,RectangleVerticalIcon:hg,Recycle:ug,RecycleIcon:ug,Redo:kg,Redo2:pg,Redo2Icon:pg,RedoDot:yg,RedoDotIcon:yg,RedoIcon:kg,RefreshCcw:fg,RefreshCcwDot:mg,RefreshCcwDotIcon:mg,RefreshCcwIcon:fg,RefreshCw:vg,RefreshCwIcon:vg,RefreshCwOff:gg,RefreshCwOffIcon:gg,Refrigerator:Mg,RefrigeratorIcon:Mg,Regex:xg,RegexIcon:xg,RemoveFormatting:_g,RemoveFormattingIcon:_g,Repeat:bg,Repeat1:Lg,Repeat1Icon:Lg,Repeat2:Ig,Repeat2Icon:Ig,RepeatIcon:bg,Replace:Cg,ReplaceAll:wg,ReplaceAllIcon:wg,ReplaceIcon:Cg,Reply:Sg,ReplyAll:Ng,ReplyAllIcon:Ng,ReplyIcon:Sg,Rewind:jg,RewindIcon:jg,Ribbon:$g,RibbonIcon:$g,Rocket:qg,RocketIcon:qg,RockingChair:Vg,RockingChairIcon:Vg,RollerCoaster:Ag,RollerCoasterIcon:Ag,Rose:zg,RoseIcon:zg,Rotate3D:no,Rotate3DIcon:no,Rotate3d:no,Rotate3dIcon:no,RotateCcw:Hg,RotateCcwIcon:Hg,RotateCcwKey:Pg,RotateCcwKeyIcon:Pg,RotateCcwSquare:Tg,RotateCcwSquareIcon:Tg,RotateCw:Bg,RotateCwIcon:Bg,RotateCwSquare:Dg,RotateCwSquareIcon:Dg,Route:Fg,RouteIcon:Fg,RouteOff:Rg,RouteOffIcon:Rg,Router:Eg,RouterIcon:Eg,Rows:oo,Rows2:oo,Rows2Icon:oo,Rows3:co,Rows3Icon:co,Rows4:Og,Rows4Icon:Og,RowsIcon:oo,Rss:Ug,RssIcon:Ug,Ruler:Gg,RulerDimensionLine:Wg,RulerDimensionLineIcon:Wg,RulerIcon:Gg,RussianRuble:Kg,RussianRubleIcon:Kg,Sailboat:Zg,SailboatIcon:Zg,Salad:Xg,SaladIcon:Xg,Sandwich:Yg,SandwichIcon:Yg,Satellite:Qg,SatelliteDish:Jg,SatelliteDishIcon:Jg,SatelliteIcon:Qg,SaudiRiyal:e7,SaudiRiyalIcon:e7,Save:o7,SaveAll:t7,SaveAllIcon:t7,SaveIcon:o7,SaveOff:a7,SaveOffIcon:a7,Scale:n7,Scale3D:io,Scale3DIcon:io,Scale3d:io,Scale3dIcon:io,ScaleIcon:n7,Scaling:c7,ScalingIcon:c7,Scan:y7,ScanBarcode:i7,ScanBarcodeIcon:i7,ScanEye:r7,ScanEyeIcon:r7,ScanFace:s7,ScanFaceIcon:s7,ScanHeart:d7,ScanHeartIcon:d7,ScanIcon:y7,ScanLine:l7,ScanLineIcon:l7,ScanQrCode:h7,ScanQrCodeIcon:h7,ScanSearch:u7,ScanSearchIcon:u7,ScanText:p7,ScanTextIcon:p7,ScatterChart:va,ScatterChartIcon:va,School:k7,School2:mc,School2Icon:mc,SchoolIcon:k7,Scissors:f7,ScissorsIcon:f7,ScissorsLineDashed:m7,ScissorsLineDashedIcon:m7,ScissorsSquare:tc,ScissorsSquareDashedBottom:wo,ScissorsSquareDashedBottomIcon:wo,ScissorsSquareIcon:tc,ScreenShare:g7,ScreenShareIcon:g7,ScreenShareOff:v7,ScreenShareOffIcon:v7,Scroll:x7,ScrollIcon:x7,ScrollText:M7,ScrollTextIcon:M7,Search:A1,SearchCheck:_7,SearchCheckIcon:_7,SearchCode:L7,SearchCodeIcon:L7,SearchIcon:A1,SearchSlash:I7,SearchSlashIcon:I7,SearchX:b7,SearchXIcon:b7,Section:w7,SectionIcon:w7,Send:N7,SendHorizonal:ro,SendHorizonalIcon:ro,SendHorizontal:ro,SendHorizontalIcon:ro,SendIcon:N7,SendToBack:C7,SendToBackIcon:C7,SeparatorHorizontal:j7,SeparatorHorizontalIcon:j7,SeparatorVertical:S7,SeparatorVerticalIcon:S7,Server:z7,ServerCog:$7,ServerCogIcon:$7,ServerCrash:A7,ServerCrashIcon:A7,ServerIcon:z7,ServerOff:q7,ServerOffIcon:q7,Settings:P7,Settings2:V7,Settings2Icon:V7,SettingsIcon:P7,Shapes:T7,ShapesIcon:T7,Share:D7,Share2:H7,Share2Icon:H7,ShareIcon:D7,Sheet:B7,SheetIcon:B7,Shell:R7,ShellIcon:R7,Shield:Y7,ShieldAlert:F7,ShieldAlertIcon:F7,ShieldBan:E7,ShieldBanIcon:E7,ShieldCheck:O7,ShieldCheckIcon:O7,ShieldClose:lo,ShieldCloseIcon:lo,ShieldEllipsis:U7,ShieldEllipsisIcon:U7,ShieldHalf:W7,ShieldHalfIcon:W7,ShieldIcon:Y7,ShieldMinus:K7,ShieldMinusIcon:K7,ShieldOff:G7,ShieldOffIcon:G7,ShieldPlus:Z7,ShieldPlusIcon:Z7,ShieldQuestion:so,ShieldQuestionIcon:so,ShieldQuestionMark:so,ShieldQuestionMarkIcon:so,ShieldUser:X7,ShieldUserIcon:X7,ShieldX:lo,ShieldXIcon:lo,Ship:Q7,ShipIcon:Q7,ShipWheel:J7,ShipWheelIcon:J7,Shirt:ev,ShirtIcon:ev,ShoppingBag:tv,ShoppingBagIcon:tv,ShoppingBasket:av,ShoppingBasketIcon:av,ShoppingCart:nv,ShoppingCartIcon:nv,Shovel:ov,ShovelIcon:ov,ShowerHead:cv,ShowerHeadIcon:cv,Shredder:iv,ShredderIcon:iv,Shrimp:rv,ShrimpIcon:rv,Shrink:sv,ShrinkIcon:sv,Shrub:dv,ShrubIcon:dv,Shuffle:hv,ShuffleIcon:hv,Sidebar:Yn,SidebarClose:Kn,SidebarCloseIcon:Kn,SidebarIcon:Yn,SidebarOpen:Xn,SidebarOpenIcon:Xn,Sigma:lv,SigmaIcon:lv,SigmaSquare:ac,SigmaSquareIcon:ac,Signal:mv,SignalHigh:uv,SignalHighIcon:uv,SignalIcon:mv,SignalLow:pv,SignalLowIcon:pv,SignalMedium:yv,SignalMediumIcon:yv,SignalZero:kv,SignalZeroIcon:kv,Signature:fv,SignatureIcon:fv,Signpost:vv,SignpostBig:gv,SignpostBigIcon:gv,SignpostIcon:vv,Siren:Mv,SirenIcon:Mv,SkipBack:xv,SkipBackIcon:xv,SkipForward:_v,SkipForwardIcon:_v,Skull:Lv,SkullIcon:Lv,Slack:Iv,SlackIcon:Iv,Slash:bv,SlashIcon:bv,SlashSquare:nc,SlashSquareIcon:nc,Slice:wv,SliceIcon:wv,Sliders:ho,SlidersHorizontal:Cv,SlidersHorizontalIcon:Cv,SlidersIcon:ho,SlidersVertical:ho,SlidersVerticalIcon:ho,Smartphone:Sv,SmartphoneCharging:Nv,SmartphoneChargingIcon:Nv,SmartphoneIcon:Sv,SmartphoneNfc:jv,SmartphoneNfcIcon:jv,Smile:qv,SmileIcon:qv,SmilePlus:$v,SmilePlusIcon:$v,Snail:Av,SnailIcon:Av,Snowflake:zv,SnowflakeIcon:zv,SoapDispenserDroplet:Vv,SoapDispenserDropletIcon:Vv,Sofa:Pv,SofaIcon:Pv,SortAsc:Yt,SortAscIcon:Yt,SortDesc:Kt,SortDescIcon:Kt,Soup:Tv,SoupIcon:Tv,Space:Hv,SpaceIcon:Hv,Spade:Dv,SpadeIcon:Dv,Sparkle:Bv,SparkleIcon:Bv,Sparkles:uo,SparklesIcon:uo,Speaker:Rv,SpeakerIcon:Rv,Speech:Fv,SpeechIcon:Fv,SpellCheck:Ov,SpellCheck2:Ev,SpellCheck2Icon:Ev,SpellCheckIcon:Ov,Spline:Wv,SplineIcon:Wv,SplinePointer:Uv,SplinePointerIcon:Uv,Split:Gv,SplitIcon:Gv,SplitSquareHorizontal:oc,SplitSquareHorizontalIcon:oc,SplitSquareVertical:cc,SplitSquareVerticalIcon:cc,Spool:Kv,SpoolIcon:Kv,Spotlight:Zv,SpotlightIcon:Zv,SprayCan:Xv,SprayCanIcon:Xv,Sprout:Yv,SproutIcon:Yv,Square:s9,SquareActivity:$t,SquareActivityIcon:$t,SquareArrowDown:ko,SquareArrowDownIcon:ko,SquareArrowDownLeft:po,SquareArrowDownLeftIcon:po,SquareArrowDownRight:yo,SquareArrowDownRightIcon:yo,SquareArrowLeft:mo,SquareArrowLeftIcon:mo,SquareArrowOutDownLeft:fo,SquareArrowOutDownLeftIcon:fo,SquareArrowOutDownRight:go,SquareArrowOutDownRightIcon:go,SquareArrowOutUpLeft:vo,SquareArrowOutUpLeftIcon:vo,SquareArrowOutUpRight:Mo,SquareArrowOutUpRightIcon:Mo,SquareArrowRight:xo,SquareArrowRightIcon:xo,SquareArrowUp:Io,SquareArrowUpIcon:Io,SquareArrowUpLeft:_o,SquareArrowUpLeftIcon:_o,SquareArrowUpRight:Lo,SquareArrowUpRightIcon:Lo,SquareAsterisk:bo,SquareAsteriskIcon:bo,SquareBottomDashedScissors:wo,SquareBottomDashedScissorsIcon:wo,SquareChartGantt:dt,SquareChartGanttIcon:dt,SquareCheck:No,SquareCheckBig:Co,SquareCheckBigIcon:Co,SquareCheckIcon:No,SquareChevronDown:jo,SquareChevronDownIcon:jo,SquareChevronLeft:So,SquareChevronLeftIcon:So,SquareChevronRight:$o,SquareChevronRightIcon:$o,SquareChevronUp:qo,SquareChevronUpIcon:qo,SquareCode:Ao,SquareCodeIcon:Ao,SquareDashed:Po,SquareDashedBottom:Qv,SquareDashedBottomCode:Jv,SquareDashedBottomCodeIcon:Jv,SquareDashedBottomIcon:Qv,SquareDashedIcon:Po,SquareDashedKanban:zo,SquareDashedKanbanIcon:zo,SquareDashedMousePointer:Vo,SquareDashedMousePointerIcon:Vo,SquareDashedTopSolid:e9,SquareDashedTopSolidIcon:e9,SquareDivide:To,SquareDivideIcon:To,SquareDot:Do,SquareDotIcon:Do,SquareEqual:Ho,SquareEqualIcon:Ho,SquareFunction:Bo,SquareFunctionIcon:Bo,SquareGanttChart:dt,SquareGanttChartIcon:dt,SquareIcon:s9,SquareKanban:Ro,SquareKanbanIcon:Ro,SquareLibrary:Fo,SquareLibraryIcon:Fo,SquareM:Eo,SquareMIcon:Eo,SquareMenu:Oo,SquareMenuIcon:Oo,SquareMinus:Uo,SquareMinusIcon:Uo,SquareMousePointer:Go,SquareMousePointerIcon:Go,SquareParking:Ko,SquareParkingIcon:Ko,SquareParkingOff:Wo,SquareParkingOffIcon:Wo,SquarePause:t9,SquarePauseIcon:t9,SquarePen:Fe,SquarePenIcon:Fe,SquarePercent:Zo,SquarePercentIcon:Zo,SquarePi:Xo,SquarePiIcon:Xo,SquarePilcrow:Yo,SquarePilcrowIcon:Yo,SquarePlay:Jo,SquarePlayIcon:Jo,SquarePlus:Qo,SquarePlusIcon:Qo,SquarePower:ec,SquarePowerIcon:ec,SquareRadical:a9,SquareRadicalIcon:a9,SquareRoundCorner:n9,SquareRoundCornerIcon:n9,SquareScissors:tc,SquareScissorsIcon:tc,SquareSigma:ac,SquareSigmaIcon:ac,SquareSlash:nc,SquareSlashIcon:nc,SquareSplitHorizontal:oc,SquareSplitHorizontalIcon:oc,SquareSplitVertical:cc,SquareSplitVerticalIcon:cc,SquareSquare:o9,SquareSquareIcon:o9,SquareStack:c9,SquareStackIcon:c9,SquareStar:i9,SquareStarIcon:i9,SquareStop:r9,SquareStopIcon:r9,SquareTerminal:ic,SquareTerminalIcon:ic,SquareUser:sc,SquareUserIcon:sc,SquareUserRound:rc,SquareUserRoundIcon:rc,SquareX:dc,SquareXIcon:dc,SquaresExclude:d9,SquaresExcludeIcon:d9,SquaresIntersect:l9,SquaresIntersectIcon:l9,SquaresSubtract:h9,SquaresSubtractIcon:h9,SquaresUnite:u9,SquaresUniteIcon:u9,Squircle:y9,SquircleDashed:p9,SquircleDashedIcon:p9,SquircleIcon:y9,Squirrel:k9,SquirrelIcon:k9,Stamp:m9,StampIcon:m9,Star:M9,StarHalf:f9,StarHalfIcon:f9,StarIcon:M9,StarOff:g9,StarOffIcon:g9,Stars:uo,StarsIcon:uo,StepBack:v9,StepBackIcon:v9,StepForward:x9,StepForwardIcon:x9,Stethoscope:_9,StethoscopeIcon:_9,Sticker:L9,StickerIcon:L9,StickyNote:I9,StickyNoteIcon:I9,StopCircle:Wa,StopCircleIcon:Wa,Store:b9,StoreIcon:b9,StretchHorizontal:w9,StretchHorizontalIcon:w9,StretchVertical:C9,StretchVerticalIcon:C9,Strikethrough:N9,StrikethroughIcon:N9,Subscript:j9,SubscriptIcon:j9,Subtitles:ia,SubtitlesIcon:ia,Sun:V9,SunDim:S9,SunDimIcon:S9,SunIcon:V9,SunMedium:$9,SunMediumIcon:$9,SunMoon:q9,SunMoonIcon:q9,SunSnow:A9,SunSnowIcon:A9,Sunrise:z9,SunriseIcon:z9,Sunset:P9,SunsetIcon:P9,Superscript:T9,SuperscriptIcon:T9,SwatchBook:H9,SwatchBookIcon:H9,SwissFranc:D9,SwissFrancIcon:D9,SwitchCamera:B9,SwitchCameraIcon:B9,Sword:R9,SwordIcon:R9,Swords:E9,SwordsIcon:E9,Syringe:F9,SyringeIcon:F9,Table:Y9,Table2:O9,Table2Icon:O9,TableCellsMerge:U9,TableCellsMergeIcon:U9,TableCellsSplit:W9,TableCellsSplitIcon:W9,TableColumnsSplit:G9,TableColumnsSplitIcon:G9,TableConfig:rt,TableConfigIcon:rt,TableIcon:Y9,TableOfContents:K9,TableOfContentsIcon:K9,TableProperties:Z9,TablePropertiesIcon:Z9,TableRowsSplit:X9,TableRowsSplitIcon:X9,Tablet:Q9,TabletIcon:Q9,TabletSmartphone:J9,TabletSmartphoneIcon:J9,Tablets:eM,TabletsIcon:eM,Tag:tM,TagIcon:tM,Tags:aM,TagsIcon:aM,Tally1:nM,Tally1Icon:nM,Tally2:oM,Tally2Icon:oM,Tally3:cM,Tally3Icon:cM,Tally4:iM,Tally4Icon:iM,Tally5:rM,Tally5Icon:rM,Tangent:sM,TangentIcon:sM,Target:dM,TargetIcon:dM,Telescope:lM,TelescopeIcon:lM,Tent:uM,TentIcon:uM,TentTree:hM,TentTreeIcon:hM,Terminal:pM,TerminalIcon:pM,TerminalSquare:ic,TerminalSquareIcon:ic,TestTube:yM,TestTube2:lc,TestTube2Icon:lc,TestTubeDiagonal:lc,TestTubeDiagonalIcon:lc,TestTubeIcon:yM,TestTubes:kM,TestTubesIcon:kM,Text:MM,TextCursor:fM,TextCursorIcon:fM,TextCursorInput:mM,TextCursorInputIcon:mM,TextIcon:MM,TextQuote:gM,TextQuoteIcon:gM,TextSearch:vM,TextSearchIcon:vM,TextSelect:hc,TextSelectIcon:hc,TextSelection:hc,TextSelectionIcon:hc,Theater:xM,TheaterIcon:xM,Thermometer:bM,ThermometerIcon:bM,ThermometerSnowflake:_M,ThermometerSnowflakeIcon:_M,ThermometerSun:LM,ThermometerSunIcon:LM,ThumbsDown:IM,ThumbsDownIcon:IM,ThumbsUp:wM,ThumbsUpIcon:wM,Ticket:AM,TicketCheck:CM,TicketCheckIcon:CM,TicketIcon:AM,TicketMinus:NM,TicketMinusIcon:NM,TicketPercent:jM,TicketPercentIcon:jM,TicketPlus:SM,TicketPlusIcon:SM,TicketSlash:$M,TicketSlashIcon:$M,TicketX:qM,TicketXIcon:qM,Tickets:VM,TicketsIcon:VM,TicketsPlane:zM,TicketsPlaneIcon:zM,Timer:HM,TimerIcon:HM,TimerOff:PM,TimerOffIcon:PM,TimerReset:TM,TimerResetIcon:TM,ToggleLeft:DM,ToggleLeftIcon:DM,ToggleRight:BM,ToggleRightIcon:BM,Toilet:RM,ToiletIcon:RM,ToolCase:FM,ToolCaseIcon:FM,Tornado:OM,TornadoIcon:OM,Torus:EM,TorusIcon:EM,Touchpad:WM,TouchpadIcon:WM,TouchpadOff:UM,TouchpadOffIcon:UM,TowerControl:KM,TowerControlIcon:KM,ToyBrick:GM,ToyBrickIcon:GM,Tractor:ZM,TractorIcon:ZM,TrafficCone:XM,TrafficConeIcon:XM,Train:uc,TrainFront:JM,TrainFrontIcon:JM,TrainFrontTunnel:YM,TrainFrontTunnelIcon:YM,TrainIcon:uc,TrainTrack:QM,TrainTrackIcon:QM,TramFront:uc,TramFrontIcon:uc,Transgender:ex,TransgenderIcon:ex,Trash:tx,Trash2:lt,Trash2Icon:lt,TrashIcon:tx,TreeDeciduous:ax,TreeDeciduousIcon:ax,TreePalm:pc,TreePalmIcon:pc,TreePine:nx,TreePineIcon:nx,Trees:ox,TreesIcon:ox,Trello:cx,TrelloIcon:cx,TrendingDown:ix,TrendingDownIcon:ix,TrendingUp:rx,TrendingUpDown:sx,TrendingUpDownIcon:sx,TrendingUpIcon:rx,Triangle:lx,TriangleAlert:yc,TriangleAlertIcon:yc,TriangleDashed:dx,TriangleDashedIcon:dx,TriangleIcon:lx,TriangleRight:hx,TriangleRightIcon:hx,Trophy:ux,TrophyIcon:ux,Truck:yx,TruckElectric:px,TruckElectricIcon:px,TruckIcon:yx,TurkishLira:kx,TurkishLiraIcon:kx,Turntable:mx,TurntableIcon:mx,Turtle:fx,TurtleIcon:fx,Tv:vx,Tv2:kc,Tv2Icon:kc,TvIcon:vx,TvMinimal:kc,TvMinimalIcon:kc,TvMinimalPlay:gx,TvMinimalPlayIcon:gx,Twitch:Mx,TwitchIcon:Mx,Twitter:xx,TwitterIcon:xx,Type:Lx,TypeIcon:Lx,TypeOutline:_x,TypeOutlineIcon:_x,Umbrella:bx,UmbrellaIcon:bx,UmbrellaOff:Ix,UmbrellaOffIcon:Ix,Underline:wx,UnderlineIcon:wx,Undo:jx,Undo2:Cx,Undo2Icon:Cx,UndoDot:Nx,UndoDotIcon:Nx,UndoIcon:jx,UnfoldHorizontal:Sx,UnfoldHorizontalIcon:Sx,UnfoldVertical:$x,UnfoldVerticalIcon:$x,Ungroup:qx,UngroupIcon:qx,University:mc,UniversityIcon:mc,Unlink:Px,Unlink2:Ax,Unlink2Icon:Ax,UnlinkIcon:Px,Unlock:Tn,UnlockIcon:Tn,UnlockKeyhole:Pn,UnlockKeyholeIcon:Pn,Unplug:zx,UnplugIcon:zx,Upload:Vx,UploadCloud:Ja,UploadCloudIcon:Ja,UploadIcon:Vx,Usb:Tx,UsbIcon:Tx,User:Kx,User2:_c,User2Icon:_c,UserCheck:Hx,UserCheck2:fc,UserCheck2Icon:fc,UserCheckIcon:Hx,UserCircle:Ka,UserCircle2:Ga,UserCircle2Icon:Ga,UserCircleIcon:Ka,UserCog:Dx,UserCog2:gc,UserCog2Icon:gc,UserCogIcon:Dx,UserIcon:Kx,UserLock:Bx,UserLockIcon:Bx,UserMinus:Rx,UserMinus2:vc,UserMinus2Icon:vc,UserMinusIcon:Rx,UserPen:Fx,UserPenIcon:Fx,UserPlus:z1,UserPlus2:Mc,UserPlus2Icon:Mc,UserPlusIcon:z1,UserRound:_c,UserRoundCheck:fc,UserRoundCheckIcon:fc,UserRoundCog:gc,UserRoundCogIcon:gc,UserRoundIcon:_c,UserRoundMinus:vc,UserRoundMinusIcon:vc,UserRoundPen:Ex,UserRoundPenIcon:Ex,UserRoundPlus:Mc,UserRoundPlusIcon:Mc,UserRoundSearch:Ox,UserRoundSearchIcon:Ox,UserRoundX:xc,UserRoundXIcon:xc,UserSearch:Ux,UserSearchIcon:Ux,UserSquare:sc,UserSquare2:rc,UserSquare2Icon:rc,UserSquareIcon:sc,UserStar:Wx,UserStarIcon:Wx,UserX:Gx,UserX2:xc,UserX2Icon:xc,UserXIcon:Gx,Users:Zx,Users2:Lc,Users2Icon:Lc,UsersIcon:Zx,UsersRound:Lc,UsersRoundIcon:Lc,Utensils:bc,UtensilsCrossed:Ic,UtensilsCrossedIcon:Ic,UtensilsIcon:bc,UtilityPole:Xx,UtilityPoleIcon:Xx,Variable:Yx,VariableIcon:Yx,Vault:Jx,VaultIcon:Jx,VectorSquare:Qx,VectorSquareIcon:Qx,Vegan:e_,VeganIcon:e_,VenetianMask:t_,VenetianMaskIcon:t_,Venus:c_,VenusAndMars:a_,VenusAndMarsIcon:a_,VenusIcon:c_,Verified:ea,VerifiedIcon:ea,Vibrate:o_,VibrateIcon:o_,VibrateOff:n_,VibrateOffIcon:n_,Video:r_,VideoIcon:r_,VideoOff:i_,VideoOffIcon:i_,Videotape:s_,VideotapeIcon:s_,View:l_,ViewIcon:l_,Voicemail:d_,VoicemailIcon:d_,Volleyball:h_,VolleyballIcon:h_,Volume:f_,Volume1:u_,Volume1Icon:u_,Volume2:p_,Volume2Icon:p_,VolumeIcon:f_,VolumeOff:y_,VolumeOffIcon:y_,VolumeX:k_,VolumeXIcon:k_,Vote:m_,VoteIcon:m_,Wallet:v_,Wallet2:wc,Wallet2Icon:wc,WalletCards:g_,WalletCardsIcon:g_,WalletIcon:v_,WalletMinimal:wc,WalletMinimalIcon:wc,Wallpaper:M_,WallpaperIcon:M_,Wand:x_,Wand2:Cc,Wand2Icon:Cc,WandIcon:x_,WandSparkles:Cc,WandSparklesIcon:Cc,Warehouse:__,WarehouseIcon:__,WashingMachine:L_,WashingMachineIcon:L_,Watch:I_,WatchIcon:I_,Waves:w_,WavesIcon:w_,WavesLadder:b_,WavesLadderIcon:b_,Waypoints:C_,WaypointsIcon:C_,Webcam:N_,WebcamIcon:N_,Webhook:$_,WebhookIcon:$_,WebhookOff:j_,WebhookOffIcon:j_,Weight:S_,WeightIcon:S_,Wheat:A_,WheatIcon:A_,WheatOff:q_,WheatOffIcon:q_,WholeWord:z_,WholeWordIcon:z_,Wifi:F_,WifiCog:V_,WifiCogIcon:V_,WifiHigh:P_,WifiHighIcon:P_,WifiIcon:F_,WifiLow:T_,WifiLowIcon:T_,WifiOff:H_,WifiOffIcon:H_,WifiPen:D_,WifiPenIcon:D_,WifiSync:B_,WifiSyncIcon:B_,WifiZero:R_,WifiZeroIcon:R_,Wind:O_,WindArrowDown:E_,WindArrowDownIcon:E_,WindIcon:O_,Wine:W_,WineIcon:W_,WineOff:U_,WineOffIcon:U_,Workflow:G_,WorkflowIcon:G_,Worm:K_,WormIcon:K_,WrapText:Z_,WrapTextIcon:Z_,Wrench:X_,WrenchIcon:X_,X:Xe,XCircle:Nt,XCircleIcon:Nt,XIcon:Xe,XOctagon:Un,XOctagonIcon:Un,XSquare:dc,XSquareIcon:dc,Youtube:J_,YoutubeIcon:J_,Zap:Q_,ZapIcon:Q_,ZapOff:Y_,ZapOffIcon:Y_,ZoomIn:eL,ZoomInIcon:eL,ZoomOut:tL,ZoomOutIcon:tL,createLucideIcon:a.createLucideIcon,icons:x2e},Symbol.toStringTag,{value:"Module"})),_2e=({size:e=250,background:t="#fff",headerTop:n,headerBottom:c,headerTopStyle:i,headerBottomStyle:r,progress1:s,badgeList:d,progress3:h,style:l,className:u="",draggable:p=!1})=>{const y=e!==void 0?e:250,g=e?{size:e*.5,...s}:s,f=e?{size:e*.4,...h}:h,m={background:t,position:"relative",...l,...y&&{width:y}};return o.jsxs("div",{style:m,className:`stat-card ${u}`,children:[o.jsxs("div",{className:"stat-card-header",children:[o.jsx("div",{className:"stat-card-header-top",style:i,children:n}),c&&o.jsx("div",{className:"stat-card-header-bottom",style:r,children:c})]}),o.jsxs("div",{className:"stat-card-body",style:{opacity:p?0:1},children:[o.jsx("div",{className:"progress-row-single",children:o.jsx(Hb,{...g})}),o.jsxs("div",{className:"progress-row-double",children:[o.jsx("div",{className:"progress-item",children:o.jsx($S,{...d})}),o.jsx("div",{className:"progress-item",children:o.jsx(Hb,{...f})})]})]}),p&&o.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:o.jsx(a.Move,{size:32,strokeWidth:1.5,style:{opacity:.8}})})]})},qS=k.createContext(void 0),ut=()=>{const e=k.useContext(qS);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},L2e=({children:e,defaultActive:t=""})=>{const[n,c]=k.useState(t),[i,r]=k.useState(t),[s,d]=k.useState(void 0),[h,l]=k.useState(void 0),[u,p]=k.useState({}),y=(g,f)=>{p(m=>({...m,[g]:f}))};return o.jsx(qS.Provider,{value:{activeNav:n,setActiveNav:c,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:h,setUser:l,navCounts:u,setNavCount:y},children:e})},AS=({categories:e,logo:t="Menu",buttonContent:n,position:c="auto",closeOnClickOutside:i=!0,select:r,topContent:s})=>{const[d,h]=k.useState(!1),[l,u]=k.useState("right"),p=k.useRef(null),y=k.useRef(null),{activeNav:g,activeSubNav:f}=ut();k.useEffect(()=>{if(!i)return;const x=v=>{p.current&&!p.current.contains(v.target)&&h(!1)};return document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)},[i]),k.useEffect(()=>{if(d&&c==="auto"&&y.current){const x=y.current.getBoundingClientRect(),v=window.innerWidth/2;u(x.left<v?"left":"right")}},[d,c]);const m=t?Mt[t]:null,M=c==="auto"?l:c;return o.jsxs("div",{className:"dropdown",ref:p,children:[o.jsxs("button",{ref:y,type:"button",className:"dropdown-button",onClick:()=>h(x=>!x),"aria-expanded":d,"aria-haspopup":"true",children:[m&&o.jsx(m,{size:20}),n&&o.jsx("span",{className:"button-text",children:n})]}),d&&o.jsxs("div",{className:`dropdown-content ${M}`,children:[s&&o.jsx("div",{className:"dropdown-top-content",children:s}),e?.map((x,v)=>o.jsxs("div",{className:"dropdown-category",children:[x.title&&o.jsx("div",{className:"category-title",children:x.title}),o.jsx("div",{className:"category-items",children:x.items.map((L,w)=>{const C=L.id??L.label,b=g===C||f===C,_=L.select??r;if(L.id==="language"){if(!_||!Array.isArray(_.options)||!_.onChange)return o.jsx("div",{className:"dropdown-language"},w);const $=Array.isArray(_.options)?_.options:[],S=$.some(A=>A.code===_.value)?$:[{code:_.value??"",label:String(_.value??"")},...$];return o.jsx("div",{className:"dropdown-language",children:o.jsx("select",{name:_.name??"language",className:"language-select",value:_.value??"",onChange:A=>{const D=A.target.value;try{_.onChange(D)}catch(H){console.error("select onChange error",H)}},children:S.map(A=>o.jsx("option",{value:A.code,children:A.label},A.code))})},w)}const I={className:`dropdown-item ${b?"active":""}`,onClick:()=>{L.onClick?.(),h(!1)},role:L.type==="button"||!L.href?"button":void 0};return L.type==="button"||!L.href?o.jsx("button",{type:"button",...I,children:L.label},w):o.jsx("a",{...I,href:L.href,children:L.label},w)})})]},v))]})]})},zS=({children:e,container:t=!1,item:n=!1,parent:c=!1,xs:i,sm:r,md:s,lg:d,xl:h,spacing:l=0,className:u="",uniqueKey:p=0,style:y={},width:g,order:f,onSwap:m,draggable:M=!1,displayNone:x=!1})=>{const[v,L]=k.useState([]);k.useEffect(()=>{const I=A=>{const D=[];return k.Children.forEach(A,H=>{Array.isArray(H)?D.push(...I(H)):k.isValidElement(H)&&D.push(H)}),D},N=I(e).filter(A=>k.isValidElement(A)).map(A=>{let D="";const H=A.props;return D=[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:D}});let S=N;f&&f.length>0&&(S=N.map((A,D)=>({...A,node:N[f[D]]?.node??A.node}))),L(S)},[e]);const w=(I,$)=>{I.stopPropagation(),I.dataTransfer.setData("dragIndex",$.toString()),I.dataTransfer.setData("parentKey",p.toString())},C=I=>{I.preventDefault(),I.stopPropagation()},b=(I,$)=>{I.preventDefault();const N=Number(I.dataTransfer.getData("dragIndex")),S=Number(I.dataTransfer.getData("parentKey"));if(t&&S!==p)return;const A=[...v];let D=-1,H=-1;if(A.forEach((j,q)=>{if(k.isValidElement(j.node)){const T=j.node.props;T.uniqueKey===$&&(D=q),T.uniqueKey===N&&(H=q)}}),D===-1||H===-1)return;const P=A[H].node;A[H]={...A[H],node:A[D].node},A[D]={...A[D],node:P},L(A),typeof m=="function"&&m(H,D)},_=c?[i?`grid-xs-${i}`:"",r?`grid-sm-${r}`:"",s?`grid-md-${s}`:"",d?`grid-lg-${d}`:"",h?`grid-xl-${h}`:""].join(" "):"";return!c&&g?y={...y,width:`${g}px`}:!c&&!g&&(y={...y,width:"100%"}),y={...y,height:"100%"},t?o.jsx("div",{className:`${u} grid-container ${_}`,style:{"--gap-grid":`${l}rem`,...y},children:v.map(I=>I.node.type?.displayName==="Grid"?M?o.jsx("div",{draggable:!0,onDragStart:$=>w($,I.node?.props?.uniqueKey),onDragOver:$=>C($),onDrop:$=>b($,I.node?.props?.uniqueKey),className:`grid-item grid-item-grabbing ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,style:{cursor:"grab"},children:I.node},I.node?.props?.uniqueKey):o.jsx("div",{className:`grid-item ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,children:I.node},I.node?.props?.uniqueKey):I.node)}):n?o.jsx("div",{className:`${u} grid-item ${_} ${x?"grid-display-none":""}`,style:{gap:`${l}rem`,...y},children:e}):o.jsx(o.Fragment,{children:e})};zS.displayName="Grid";const fL=({imagePath:e,...t})=>{const[n,c]=k.useState(!1);return k.useEffect(()=>{c(!0)},[]),n?o.jsx("div",{className:`logo logo--${t.size}`,children:o.jsx("a",{href:"/",children:o.jsx("img",{src:e,alt:"Saniia Smart Bed Management",className:"logo-image"})})}):o.jsx("div",{className:"logo logo-placeholder"})},Db=({id:e,label:t,isActive:n=!1,onClick:c,href:i,highlightColor:r="#008CBA",moduleKey:s="",a11yConfig:d,...h})=>{const{setActiveNav:l}=ut(),u=()=>{l(e),c?.(e)};return i?o.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Q(d,e),...h,children:t}):o.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Q(d,e),role:c?"button":"presentation",tabIndex:c?0:-1,...h,children:t})},VS=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:c={},dropdownPosition:i="auto"})=>{const{activeNav:r}=ut(),[s,d]=k.useState(!0),[h,l]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),g=k.useRef(null),f=k.useRef(null);k.useEffect(()=>{const v=()=>{if(y.current&&y.current.parentElement){const L=y.current.parentNode?.parentElement?.offsetWidth||0;d(L*.8<y.current.offsetWidth||L<1100)}};return v(),window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)},[]),k.useEffect(()=>{if(h&&i==="auto"&&g.current){const v=g.current.getBoundingClientRect(),L=window.innerWidth/2;p(v.left<L?"left":"right")}},[h,i]),k.useEffect(()=>{if(!h)return;const v=L=>{f.current&&!f.current.contains(L.target)&&g.current&&!g.current.contains(L.target)&&l(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[h]);const m=v=>{t?.(v),l(!1)},M=e.find(v=>v.id===r)||e[0],x=i==="auto"?u:i;return o.jsx("div",{ref:y,children:s?o.jsxs("div",{className:"navbar-mobile",children:[o.jsxs("button",{ref:g,className:"navbar-dropdown-toggle",onClick:()=>l(!h),style:{backgroundColor:n,color:"#fff"},"aria-expanded":h,"aria-haspopup":"true",children:[M.label,o.jsx("span",{className:`dropdown-arrow ${h?"open":""}`})]}),h&&o.jsx("div",{ref:f,className:`navbar-dropdown ${x}`,children:e.map(v=>o.jsx(Db,{id:v.id,label:v.label,href:v.moduleKey&&c[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&c[v.moduleKey],onClick:m,highlightColor:n},v.id))})]}):o.jsx("nav",{className:"navbar",children:e.map(v=>o.jsx(Db,{id:v.id,label:v.label,href:v.moduleKey&&c[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&c[v.moduleKey],onClick:m,highlightColor:n},v.id))})})},PS=k.createContext(void 0),I2e=({children:e,initialTheme:t})=>{const[n,c]=k.useState(()=>{if(typeof window<"u")try{return localStorage.getItem("app-theme")||t}catch(r){return console.error("Error reading theme from localStorage:",r),t}return t});k.useEffect(()=>{const r=document.documentElement;if(r.removeAttribute("data-theme"),n&&n!=="default"&&r.setAttribute("data-theme",n),typeof window<"u")try{localStorage.setItem("app-theme",n)}catch(s){console.error("Error saving theme to localStorage:",s)}},[n]);const i=k.useCallback(r=>{c(r)},[]);return o.jsx(PS.Provider,{value:{themeName:n,setTheme:i},children:e})},TS=()=>{const e=k.useContext(PS);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},gL=()=>{const{themeName:e,setTheme:t}=TS(),n=k.useCallback(c=>{t(c)},[t]);return{currentTheme:e,switchTheme:n}},G1=({colors:e={},leftIcon:t,rightIcon:n,checked:c=!1,onToggle:i,size:r=24,className:s="",style:d,a11yConfig:h})=>{const l=()=>i?.(!c),u=p=>{(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),l())};return o.jsxs("div",{role:"switch","aria-checked":c,tabIndex:0,title:Q(h),className:`switcher ${c?"switcher-checked":""} ${s}`,style:{"--bg":e.bg||"#1f2937","--active-bg":e.activeBg||"#facc15","--border":e.border||"#fff","--circle":e.circle||"#fff","--icon":e.icon||"#fbbf24","--icon2":e.icon2||e.icon||"#fbbf24","--size":`${r}px`,...d},onClick:l,onKeyDown:u,children:[o.jsx("div",{className:"switcher-circle"}),o.jsxs("div",{className:"switcher-icons",children:[t&&o.jsx("div",{className:"switcher-icon-left",children:t}),n&&o.jsx("div",{className:"switcher-icon-right",children:n})]})]})},Bb=({lightTheme:e="light",darkTheme:t="dark",leftIcon:n="Sun",rightIcon:c="Moon",colors:i={bg:"#e5e7eb",activeBg:"#3b82f6",border:"#ffffff",circle:"#ffffff",icon:"#3b82f6",icon2:"#ffffff"},size:r=24,a11yConfig:s})=>{const{currentTheme:d,switchTheme:h}=gL(),[l,u]=k.useState(!1);if(k.useEffect(()=>{u(!0)},[]),!l)return null;const p=d===t,y=g=>{h(g?t:e)};return o.jsx(G1,{leftIcon:n,rightIcon:c,checked:p,onToggle:y,colors:i,size:r,a11yConfig:s})},b2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z"})),hC=k.memo(b2e),HS=k.createContext(void 0),w2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("isDraggable");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("isDraggable",String(t))},[t]);const c=i=>{n(i)};return o.jsx(HS.Provider,{value:{isDraggable:t,switchDraggable:c},children:e})},DS=()=>{const e=k.useContext(HS);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},rL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"var(--color-primary)",border:"transparent",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},size:c=24,a11yConfig:i})=>{const{isDraggable:r,switchDraggable:s}=DS(),[d,h]=k.useState(!1);if(k.useEffect(()=>{h(!0)},[]),!d)return null;const l=u=>{s(u)};return o.jsx(G1,{leftIcon:e||o.jsx(hC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(hC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:l,colors:n,size:c,a11yConfig:i})},C2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z"})),uC=k.memo(C2e),BS=k.createContext(void 0),N2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("disableLegendFilter");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("disableLegendFilter",String(t))},[t]);const c=i=>{n(i)};return o.jsx(BS.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:c},children:e})},RS=()=>{const e=k.useContext(BS);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},sL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"#ef4444",border:"#ffffff",circle:"#ffffff",icon:"#ef4444",icon2:"#ffffff"},size:c=24,a11yConfig:i})=>{const{disableLegendFilter:r,switchDisableLegendFilter:s}=RS(),[d,h]=k.useState(!1);if(k.useEffect(()=>{h(!0)},[]),!d)return null;const l=u=>{s(u)};return o.jsx(G1,{leftIcon:e||o.jsx(uC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(uC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:l,colors:n,size:c,a11yConfig:i})},FS=k.createContext(void 0),j2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("showData");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("showData",String(t))},[t]);const c=i=>{n(i)};return o.jsx(FS.Provider,{value:{showData:t,switchShowData:c},children:e})},ES=()=>{const e=k.useContext(FS);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},S2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M600.5-379.5Q650-429 650-500t-49.5-120.5T480-670t-120.5 49.5T310-500t49.5 120.5T480-330t120.5-49.5m-200-41Q368-453 368-500t32.5-79.5T480-612t79.5 32.5T592-500t-32.5 79.5T480-388t-79.5-32.5M216-283Q98-366 40-500q58-134 176-217t264-83 264 83 176 217q-58 134-176 217t-264 83-264-83m486.5-42.5Q804-391 857-500q-53-109-154.5-174.5T480-740t-222.5 65.5T102-500q54 109 155.5 174.5T480-260t222.5-65.5"})),pC=k.memo(S2e),dL=({size:e=24,colors:t={bg:"var(--color-switcher-background)",activeBg:"#10b981",border:"#ffffff",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},a11yConfig:n})=>{const{showData:c,switchShowData:i}=ES(),[r,s]=k.useState(!1);return k.useEffect(()=>{s(!0)},[]),r?o.jsx(G1,{checked:c,onToggle:d=>i(d),size:e,leftIcon:o.jsx(pC,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:o.jsx(pC,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t,a11yConfig:n}):null},$2e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M284-277h60v-205h-60zm332 0h60v-420h-60zm-166 0h60v-118h-60zm0-205h60v-60h-60zM180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v600q0 24-18 42t-42 18zm0-60h600v-600H180zm0-600v600z"})),OS=k.memo($2e);function Rb({items:e,onSave:t,loading:n,disabled:c,saveLabel:i,savingLabel:r,buttonTitle:s}){const[d,h]=k.useState(!1),[l,u]=k.useState(e);k.useEffect(()=>{u(e)},[e]);const p=(g,f)=>{u(m=>m.map(M=>M.component_key===g&&f>3?{...M,visible:!M.visible}:M))},y=()=>{t(l),h(!1)};return o.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[o.jsx("div",{onClick:()=>c||h(g=>!g),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-primary)"},title:s,children:o.jsx(OS,{fill:"currentColor"})}),d&&o.jsxs("div",{style:{position:"absolute",top:"110%",right:0,minWidth:220,background:"#fff",border:"1px solid var(--color-border)",borderRadius:8,boxShadow:"0 4px 16px rgba(0,0,0,0.08)",zIndex:1e3,padding:12},children:[o.jsx("ul",{style:{listStyle:"none",padding:0,margin:0,marginBottom:12},children:l.map((g,f)=>o.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[o.jsx("input",{type:"checkbox",checked:g.visible,disabled:f<4,onChange:()=>p(g.component_key,f),style:{marginRight:8}}),o.jsx("span",{style:{color:f<4?"#6b7280":"#111827"},children:g.label}),f<4&&o.jsx("span",{style:{fontSize:"var(--text-paragraph)",color:"#9ca3af",marginLeft:6}})]},g.component_key))}),o.jsx("button",{type:"button",onClick:y,disabled:n,style:{padding:"6px 18px",borderRadius:6,border:"none",background:"var(--color-primary)",color:"#fff",fontWeight:600,cursor:"pointer"},children:n?r:i})]})]})}const q2e=({logoPath:e,navItems:t,onNavClick:n,dropdownItems:c,headerBg:i,highlightColor:r="#1387C8",moduleConfig:s={},componentVisibilityItems:d=[],onComponentVisibilitySave:h,componentVisibilityLoading:l=!1,componentVisibilitySaveLabel:u,componentVisibilitySavingLabel:p,componentVisibilityButtonTitle:y})=>{const{activeSwitchers:g}=ut(),f=g?.draggable===!0,m=g?.showData===!0,M=g?.legendFilter===!0,x=g?.componentVisibility===!0&&d&&d.length>0;return o.jsx("header",{className:"header",style:{backgroundColor:i},children:o.jsxs("div",{className:"header-layout-container",children:[o.jsxs("div",{className:"header-left",children:[o.jsx("a",{href:"/",children:o.jsx(fL,{imagePath:e})}),o.jsx(VS,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),o.jsxs("div",{className:"header-right",children:[o.jsxs("div",{className:"switcher-container",children:[f&&o.jsx(rL,{}),m&&o.jsx(dL,{}),M&&o.jsx(sL,{}),o.jsx(Bb,{}),x&&o.jsx(Rb,{items:d,onSave:h||(()=>{}),loading:l,saveLabel:u,savingLabel:p,buttonTitle:y})]}),o.jsx(AS,{categories:c?.categories,buttonContent:c?.buttonContent,topContent:o.jsxs("div",{className:"dropdown-switchers",children:[f&&o.jsx(rL,{}),m&&o.jsx(dL,{}),M&&o.jsx(sL,{}),o.jsx(Bb,{}),x&&o.jsx(Rb,{items:d,onSave:h||(()=>{}),loading:l,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},US=({icon:e,text:t,size:n=16,color:c="currentColor",className:i="",active:r=!1,href:s,a11yConfig:d})=>{const h=e?Mt[e]:null,l=s?"a":"div";return o.jsxs(l,{className:`icon-text ${r?"icon-text-active":""} ${i}`,style:{color:c},title:Q(d,t),role:"text","aria-label":t,...s?{href:s}:{},children:[h&&o.jsx(h,{size:n,"aria-hidden":"true"}),o.jsx("span",{children:t})]})},WS=({children:e,className:t="",style:n,item:c})=>o.jsxs("div",{className:`scrollable-horizontale ${t}`,style:n,children:[o.jsx("div",{className:"scrollable",children:e}),o.jsx("div",{className:"scrollable-dropdown",children:o.jsx(AS,{logo:"BarChart",position:"right",categories:c})})]}),A2e=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:c})=>{const{activeSubNav:i}=ut();return o.jsx(WS,{style:n,item:c,children:e?.map(r=>o.jsx(US,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i,a11yConfig:r.a11yConfig},r.id))})},GS=({title:e,subtitle:t,text:n,background:c="#f9f9f9",titleStyle:i,subtitleStyle:r,textStyle:s,itemStyle:d,icon:h})=>{const[l,u]=n?n.split("/"):[];return o.jsxs("div",{className:"trend-item",style:{background:c,...d},children:[o.jsxs("div",{className:"trend-left",children:[o.jsx("div",{className:"trend-icon",children:h}),o.jsxs("div",{className:"trend-texts",children:[o.jsx("span",{className:"trend-title",style:i,children:e}),t&&o.jsx("span",{className:"trend-subtitle",style:r,children:t})]})]}),o.jsxs("div",{className:"trend-right",style:s,children:[o.jsx("span",{className:"trend-right-left",children:l}),o.jsx("span",{className:"trend-right-separator",children:" / "}),o.jsx("span",{className:"trend-right-right",children:u})]})]})},pw=k.createContext({});function Pt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const yw=typeof window<"u",kw=yw?k.useLayoutEffect:k.useEffect,vL=k.createContext(null);function mw(e,t){e.indexOf(t)===-1&&e.push(t)}function fw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function z2e([...e],t,n){const c=t<0?e.length+t:t;if(c>=0&&c<e.length){const i=n<0?e.length+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}return e}const xt=(e,t,n)=>n>t?t:n<e?e:n;function Fb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let i1=()=>{},at=()=>{};process.env.NODE_ENV!=="production"&&(i1=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Fb(t,n))},at=(e,t,n)=>{if(!e)throw new Error(Fb(t,n))});const _t={},KS=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function ZS(e){return typeof e=="object"&&e!==null}const XS=e=>/^0[^.\s]+$/u.test(e);function gw(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ye=e=>e,V2e=(e,t)=>n=>t(e(n)),K1=(...e)=>e.reduce(V2e),R1=(e,t,n)=>{const c=t-e;return c===0?1:(n-e)/c};class vw{constructor(){this.subscriptions=[]}add(t){return mw(this.subscriptions,t),()=>fw(this.subscriptions,t)}notify(t,n,c){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,c);else for(let r=0;r<i;r++){const s=this.subscriptions[r];s&&s(t,n,c)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const tt=e=>e*1e3,Ze=e=>e/1e3;function YS(e,t){return t?e*(1e3/t):0}const yC=new Set;function Mw(e,t,n){e||yC.has(t)||(console.warn(Fb(t,n)),yC.add(t))}const JS=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,P2e=1e-7,T2e=12;function H2e(e,t,n,c,i){let r,s,d=0;do s=t+(n-t)/2,r=JS(s,c,i)-e,r>0?n=s:t=s;while(Math.abs(r)>P2e&&++d<T2e);return s}function Z1(e,t,n,c){if(e===t&&n===c)return Ye;const i=r=>H2e(r,0,1,e,n);return r=>r===0||r===1?r:JS(i(r),t,c)}const QS=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,e$=e=>t=>1-e(1-t),t$=Z1(.33,1.53,.69,.99),xw=e$(t$),a$=QS(xw),n$=e=>(e*=2)<1?.5*xw(e):.5*(2-Math.pow(2,-10*(e-1))),_w=e=>1-Math.sin(Math.acos(e)),o$=e$(_w),c$=QS(_w),D2e=Z1(.42,0,1,1),B2e=Z1(0,0,.58,1),i$=Z1(.42,0,.58,1),R2e=e=>Array.isArray(e)&&typeof e[0]!="number",r$=e=>Array.isArray(e)&&typeof e[0]=="number",kC={linear:Ye,easeIn:D2e,easeInOut:i$,easeOut:B2e,circIn:_w,circInOut:c$,circOut:o$,backIn:xw,backInOut:a$,backOut:t$,anticipate:n$},F2e=e=>typeof e=="string",mC=e=>{if(r$(e)){at(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,c,i]=e;return Z1(t,n,c,i)}else if(F2e(e))return at(kC[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),kC[e];return e},ti=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function E2e(e,t){let n=new Set,c=new Set,i=!1,r=!1;const s=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function h(u){s.has(u)&&(l.schedule(u),e()),u(d)}const l={schedule:(u,p=!1,y=!1)=>{const f=y&&i?n:c;return p&&s.add(u),f.has(u)||f.add(u),u},cancel:u=>{c.delete(u),s.delete(u)},process:u=>{if(d=u,i){r=!0;return}i=!0,[n,c]=[c,n],n.forEach(h),n.clear(),i=!1,r&&(r=!1,l.process(u))}};return l}const O2e=40;function s$(e,t){let n=!1,c=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=ti.reduce((L,w)=>(L[w]=E2e(r),L),{}),{setup:d,read:h,resolveKeyframes:l,preUpdate:u,update:p,preRender:y,render:g,postRender:f}=s,m=()=>{const L=_t.useManualTiming?i.timestamp:performance.now();n=!1,_t.useManualTiming||(i.delta=c?1e3/60:Math.max(Math.min(L-i.timestamp,O2e),1)),i.timestamp=L,i.isProcessing=!0,d.process(i),h.process(i),l.process(i),u.process(i),p.process(i),y.process(i),g.process(i),f.process(i),i.isProcessing=!1,n&&t&&(c=!1,e(m))},M=()=>{n=!0,c=!0,i.isProcessing||e(m)};return{schedule:ti.reduce((L,w)=>{const C=s[w];return L[w]=(b,_=!1,I=!1)=>(n||M(),C.schedule(b,_,I)),L},{}),cancel:L=>{for(let w=0;w<ti.length;w++)s[ti[w]].cancel(L)},state:i,steps:s}}const{schedule:ke,cancel:Lt,state:$e,steps:BL}=s$(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ye,!0);let aL;function U2e(){aL=void 0}const Be={now:()=>(aL===void 0&&Be.set($e.isProcessing||_t.useManualTiming?$e.timestamp:performance.now()),aL),set:e=>{aL=e,queueMicrotask(U2e)}},d$=e=>t=>typeof t=="string"&&t.startsWith(e),Lw=d$("--"),W2e=d$("var(--"),Iw=e=>W2e(e)?G2e.test(e.split("/*")[0].trim()):!1,G2e=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,r1={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},F1={...r1,transform:e=>xt(0,1,e)},ai={...r1,default:1},V1=e=>Math.round(e*1e5)/1e5,bw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function K2e(e){return e==null}const Z2e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ww=(e,t)=>n=>!!(typeof n=="string"&&Z2e.test(n)&&n.startsWith(e)||t&&!K2e(n)&&Object.prototype.hasOwnProperty.call(n,t)),l$=(e,t,n)=>c=>{if(typeof c!="string")return c;const[i,r,s,d]=c.match(bw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},X2e=e=>xt(0,255,e),RL={...r1,transform:e=>Math.round(X2e(e))},jc={test:ww("rgb","red"),parse:l$("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:c=1})=>"rgba("+RL.transform(e)+", "+RL.transform(t)+", "+RL.transform(n)+", "+V1(F1.transform(c))+")"};function Y2e(e){let t="",n="",c="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),c=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),c=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,c+=c,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(c,16),alpha:i?parseInt(i,16)/255:1}}const Eb={test:ww("#"),parse:Y2e,transform:jc.transform},X1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ct=X1("deg"),ht=X1("%"),Z=X1("px"),J2e=X1("vh"),Q2e=X1("vw"),fC={...ht,parse:e=>ht.parse(e)/100,transform:e=>ht.transform(e*100)},Wc={test:ww("hsl","hue"),parse:l$("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:c=1})=>"hsla("+Math.round(e)+", "+ht.transform(V1(t))+", "+ht.transform(V1(n))+", "+V1(F1.transform(c))+")"},Ie={test:e=>jc.test(e)||Eb.test(e)||Wc.test(e),parse:e=>jc.test(e)?jc.parse(e):Wc.test(e)?Wc.parse(e):Eb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?jc.transform(e):Wc.transform(e),getAnimatableNone:e=>{const t=Ie.parse(e);return t.alpha=0,Ie.transform(t)}},ede=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function tde(e){return isNaN(e)&&typeof e=="string"&&(e.match(bw)?.length||0)+(e.match(ede)?.length||0)>0}const h$="number",u$="color",ade="var",nde="var(",gC="${}",ode=/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 E1(e){const t=e.toString(),n=[],c={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(ode,h=>(Ie.test(h)?(c.color.push(r),i.push(u$),n.push(Ie.parse(h))):h.startsWith(nde)?(c.var.push(r),i.push(ade),n.push(h)):(c.number.push(r),i.push(h$),n.push(parseFloat(h))),++r,gC)).split(gC);return{values:n,split:d,indexes:c,types:i}}function p$(e){return E1(e).values}function y$(e){const{split:t,types:n}=E1(e),c=t.length;return i=>{let r="";for(let s=0;s<c;s++)if(r+=t[s],i[s]!==void 0){const d=n[s];d===h$?r+=V1(i[s]):d===u$?r+=Ie.transform(i[s]):r+=i[s]}return r}}const cde=e=>typeof e=="number"?0:Ie.test(e)?Ie.getAnimatableNone(e):e;function ide(e){const t=p$(e);return y$(e)(t.map(cde))}const Vt={test:tde,parse:p$,createTransformer:y$,getAnimatableNone:ide};function FL(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 rde({hue:e,saturation:t,lightness:n,alpha:c}){e/=360,t/=100,n/=100;let i=0,r=0,s=0;if(!t)i=r=s=n;else{const d=n<.5?n*(1+t):n+t-n*t,h=2*n-d;i=FL(h,d,e+1/3),r=FL(h,d,e),s=FL(h,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:c}}function lL(e,t){return n=>n>0?t:e}const fe=(e,t,n)=>e+(t-e)*n,EL=(e,t,n)=>{const c=e*e,i=n*(t*t-c)+c;return i<0?0:Math.sqrt(i)},sde=[Eb,jc,Wc],dde=e=>sde.find(t=>t.test(e));function vC(e){const t=dde(e);if(i1(!!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===Wc&&(n=rde(n)),n}const MC=(e,t)=>{const n=vC(e),c=vC(t);if(!n||!c)return lL(e,t);const i={...n};return r=>(i.red=EL(n.red,c.red,r),i.green=EL(n.green,c.green,r),i.blue=EL(n.blue,c.blue,r),i.alpha=fe(n.alpha,c.alpha,r),jc.transform(i))},Ob=new Set(["none","hidden"]);function lde(e,t){return Ob.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function hde(e,t){return n=>fe(e,t,n)}function Cw(e){return typeof e=="number"?hde:typeof e=="string"?Iw(e)?lL:Ie.test(e)?MC:yde:Array.isArray(e)?k$:typeof e=="object"?Ie.test(e)?MC:ude:lL}function k$(e,t){const n=[...e],c=n.length,i=e.map((r,s)=>Cw(r)(r,t[s]));return r=>{for(let s=0;s<c;s++)n[s]=i[s](r);return n}}function ude(e,t){const n={...e,...t},c={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(c[i]=Cw(e[i])(e[i],t[i]));return i=>{for(const r in c)n[r]=c[r](i);return n}}function pde(e,t){const n=[],c={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const r=t.types[i],s=e.indexes[r][c[r]],d=e.values[s]??0;n[i]=d,c[r]++}return n}const yde=(e,t)=>{const n=Vt.createTransformer(t),c=E1(e),i=E1(t);return c.indexes.var.length===i.indexes.var.length&&c.indexes.color.length===i.indexes.color.length&&c.indexes.number.length>=i.indexes.number.length?Ob.has(e)&&!i.values.length||Ob.has(t)&&!c.values.length?lde(e,t):K1(k$(pde(c,i),i.values),n):(i1(!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"),lL(e,t))};function m$(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?fe(e,t,n):Cw(e)(e,t)}const kde=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ke.update(t,n),stop:()=>Lt(t),now:()=>$e.isProcessing?$e.timestamp:Be.now()}},f$=(e,t,n=10)=>{let c="";const i=Math.max(Math.round(t/n),2);for(let r=0;r<i;r++)c+=Math.round(e(r/(i-1))*1e4)/1e4+", ";return`linear(${c.substring(0,c.length-2)})`},hL=2e4;function Nw(e){let t=0;const n=50;let c=e.next(t);for(;!c.done&&t<hL;)t+=n,c=e.next(t);return t>=hL?1/0:t}function mde(e,t=100,n){const c=n({...e,keyframes:[0,t]}),i=Math.min(Nw(c),hL);return{type:"keyframes",ease:r=>c.next(i*r).value/t,duration:Ze(i)}}const fde=5;function g$(e,t,n){const c=Math.max(t-fde,0);return YS(n-e(c),t-c)}const ve={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},OL=.001;function gde({duration:e=ve.duration,bounce:t=ve.bounce,velocity:n=ve.velocity,mass:c=ve.mass}){let i,r;i1(e<=tt(ve.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=xt(ve.minDamping,ve.maxDamping,s),e=xt(ve.minDuration,ve.maxDuration,Ze(e)),s<1?(i=l=>{const u=l*s,p=u*e,y=u-n,g=Ub(l,s),f=Math.exp(-p);return OL-y/g*f},r=l=>{const p=l*s*e,y=p*n+n,g=Math.pow(s,2)*Math.pow(l,2)*e,f=Math.exp(-p),m=Ub(Math.pow(l,2),s);return(-i(l)+OL>0?-1:1)*((y-g)*f)/m}):(i=l=>{const u=Math.exp(-l*e),p=(l-n)*e+1;return-OL+u*p},r=l=>{const u=Math.exp(-l*e),p=(n-l)*(e*e);return u*p});const d=5/e,h=Mde(i,r,d);if(e=tt(e),isNaN(h))return{stiffness:ve.stiffness,damping:ve.damping,duration:e};{const l=Math.pow(h,2)*c;return{stiffness:l,damping:s*2*Math.sqrt(c*l),duration:e}}}const vde=12;function Mde(e,t,n){let c=n;for(let i=1;i<vde;i++)c=c-e(c)/t(c);return c}function Ub(e,t){return e*Math.sqrt(1-t*t)}const xde=["duration","bounce"],_de=["stiffness","damping","mass"];function xC(e,t){return t.some(n=>e[n]!==void 0)}function Lde(e){let t={velocity:ve.velocity,stiffness:ve.stiffness,damping:ve.damping,mass:ve.mass,isResolvedFromDuration:!1,...e};if(!xC(e,_de)&&xC(e,xde))if(e.visualDuration){const n=e.visualDuration,c=2*Math.PI/(n*1.2),i=c*c,r=2*xt(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ve.mass,stiffness:i,damping:r}}else{const n=gde(e);t={...t,...n,mass:ve.mass},t.isResolvedFromDuration=!0}return t}function uL(e=ve.visualDuration,t=ve.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:c,restDelta:i}=n;const r=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],d={done:!1,value:r},{stiffness:h,damping:l,mass:u,duration:p,velocity:y,isResolvedFromDuration:g}=Lde({...n,velocity:-Ze(n.velocity||0)}),f=y||0,m=l/(2*Math.sqrt(h*u)),M=s-r,x=Ze(Math.sqrt(h/u)),v=Math.abs(M)<5;c||(c=v?ve.restSpeed.granular:ve.restSpeed.default),i||(i=v?ve.restDelta.granular:ve.restDelta.default);let L;if(m<1){const C=Ub(x,m);L=b=>{const _=Math.exp(-m*x*b);return s-_*((f+m*x*M)/C*Math.sin(C*b)+M*Math.cos(C*b))}}else if(m===1)L=C=>s-Math.exp(-x*C)*(M+(f+x*M)*C);else{const C=x*Math.sqrt(m*m-1);L=b=>{const _=Math.exp(-m*x*b),I=Math.min(C*b,300);return s-_*((f+m*x*M)*Math.sinh(I)+C*M*Math.cosh(I))/C}}const w={calculatedDuration:g&&p||null,next:C=>{const b=L(C);if(g)d.done=C>=p;else{let _=C===0?f:0;m<1&&(_=C===0?tt(f):g$(L,C,b));const I=Math.abs(_)<=c,$=Math.abs(s-b)<=i;d.done=I&&$}return d.value=d.done?s:b,d},toString:()=>{const C=Math.min(Nw(w),hL),b=f$(_=>w.next(C*_).value,C,30);return C+"ms "+b},toTransition:()=>{}};return w}uL.applyToOptions=e=>{const t=mde(e,100,uL);return e.ease=t.ease,e.duration=tt(t.duration),e.type="keyframes",e};function Wb({keyframes:e,velocity:t=0,power:n=.8,timeConstant:c=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:s,min:d,max:h,restDelta:l=.5,restSpeed:u}){const p=e[0],y={done:!1,value:p},g=I=>d!==void 0&&I<d||h!==void 0&&I>h,f=I=>d===void 0?h:h===void 0||Math.abs(d-I)<Math.abs(h-I)?d:h;let m=n*t;const M=p+m,x=s===void 0?M:s(M);x!==M&&(m=x-p);const v=I=>-m*Math.exp(-I/c),L=I=>x+v(I),w=I=>{const $=v(I),N=L(I);y.done=Math.abs($)<=l,y.value=y.done?x:N};let C,b;const _=I=>{g(y.value)&&(C=I,b=uL({keyframes:[y.value,f(y.value)],velocity:g$(L,I,y.value),damping:i,stiffness:r,restDelta:l,restSpeed:u}))};return _(0),{calculatedDuration:null,next:I=>{let $=!1;return!b&&C===void 0&&($=!0,w(I),_(I)),C!==void 0&&I>=C?b.next(I-C):(!$&&w(I),y)}}}function Ide(e,t,n){const c=[],i=n||_t.mix||m$,r=e.length-1;for(let s=0;s<r;s++){let d=i(e[s],e[s+1]);if(t){const h=Array.isArray(t)?t[s]||Ye:t;d=K1(h,d)}c.push(d)}return c}function v$(e,t,{clamp:n=!0,ease:c,mixer:i}={}){const r=e.length;if(at(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=Ide(t,c,i),h=d.length,l=u=>{if(s&&u<e[0])return t[0];let p=0;if(h>1)for(;p<e.length-2&&!(u<e[p+1]);p++);const y=R1(e[p],e[p+1],u);return d[p](y)};return n?u=>l(xt(e[0],e[r-1],u)):l}function bde(e,t){const n=e[e.length-1];for(let c=1;c<=t;c++){const i=R1(0,t,c);e.push(fe(n,1,i))}}function wde(e){const t=[0];return bde(t,e.length-1),t}function Cde(e,t){return e.map(n=>n*t)}function Nde(e,t){return e.map(()=>t||i$).splice(0,e.length-1)}function Gc({duration:e=300,keyframes:t,times:n,ease:c="easeInOut"}){const i=R2e(c)?c.map(mC):mC(c),r={done:!1,value:t[0]},s=Cde(n&&n.length===t.length?n:wde(t),e),d=v$(s,t,{ease:Array.isArray(i)?i:Nde(t,i)});return{calculatedDuration:e,next:h=>(r.value=d(h),r.done=h>=e,r)}}const jde=e=>e!==null;function jw(e,{repeat:t,repeatType:n="loop"},c,i=1){const r=e.filter(jde),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||c===void 0?r[d]:c}const Sde={decay:Wb,inertia:Wb,tween:Gc,keyframes:Gc,spring:uL};function M$(e){typeof e.type=="string"&&(e.type=Sde[e.type])}class Sw{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 $de=e=>e/100;class $w extends Sw{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!==Be.now()&&this.tick(Be.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;M$(t);const{type:n=Gc,repeat:c=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const h=n||Gc;process.env.NODE_ENV!=="production"&&h!==Gc&&at(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),h!==Gc&&typeof d[0]!="number"&&(this.mixKeyframes=K1($de,m$(d[0],d[1])),d=[0,100]);const l=h({...t,keyframes:d});r==="mirror"&&(this.mirroredGenerator=h({...t,keyframes:[...d].reverse(),velocity:-s})),l.calculatedDuration===null&&(l.calculatedDuration=Nw(l));const{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(c+1)-i,this.generator=l}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:c,totalDuration:i,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:d,calculatedDuration:h}=this;if(this.startTime===null)return c.next(0);const{delay:l=0,keyframes:u,repeat:p,repeatType:y,repeatDelay:g,type:f,onUpdate:m,finalKeyframe:M}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const x=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?x<0:x>i;this.currentTime=Math.max(x,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let L=this.currentTime,w=c;if(p){const I=Math.min(this.currentTime,i)/d;let $=Math.floor(I),N=I%1;!N&&I>=1&&(N=1),N===1&&$--,$=Math.min($,p+1),!!($%2)&&(y==="reverse"?(N=1-N,g&&(N-=g/d)):y==="mirror"&&(w=s)),L=xt(0,1,N)*d}const C=v?{done:!1,value:u[0]}:w.next(L);r&&(C.value=r(C.value));let{done:b}=C;!v&&h!==null&&(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return _&&f!==Wb&&(C.value=jw(u,this.options,M,this.speed)),m&&m(C.value),_&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return Ze(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ze(t)}get time(){return Ze(this.currentTime)}set time(t){t=tt(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(Be.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Ze(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=kde,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const c=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=c):this.holdTime!==null?this.startTime=c-this.holdTime:this.startTime||(this.startTime=n??c),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Be.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 qde(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Sc=e=>e*180/Math.PI,Gb=e=>{const t=Sc(Math.atan2(e[1],e[0]));return Kb(t)},Ade={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Gb,rotateZ:Gb,skewX:e=>Sc(Math.atan(e[1])),skewY:e=>Sc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Kb=e=>(e=e%360,e<0&&(e+=360),e),_C=Gb,LC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),IC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),zde={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:LC,scaleY:IC,scale:e=>(LC(e)+IC(e))/2,rotateX:e=>Kb(Sc(Math.atan2(e[6],e[5]))),rotateY:e=>Kb(Sc(Math.atan2(-e[2],e[0]))),rotateZ:_C,rotate:_C,skewX:e=>Sc(Math.atan(e[4])),skewY:e=>Sc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Zb(e){return e.includes("scale")?1:0}function Xb(e,t){if(!e||e==="none")return Zb(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let c,i;if(n)c=zde,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);c=Ade,i=d}if(!i)return Zb(t);const r=c[t],s=i[1].split(",").map(Pde);return typeof r=="function"?r(s):s[r]}const Vde=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Xb(n,t)};function Pde(e){return parseFloat(e.trim())}const s1=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],d1=new Set(s1),bC=e=>e===r1||e===Z,Tde=new Set(["x","y","z"]),Hde=s1.filter(e=>!Tde.has(e));function Dde(e){const t=[];return Hde.forEach(n=>{const c=e.getValue(n);c!==void 0&&(t.push([n,c.get()]),c.set(n.startsWith("scale")?1:0))}),t}const zc={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})=>Xb(t,"x"),y:(e,{transform:t})=>Xb(t,"y")};zc.translateX=zc.x;zc.translateY=zc.y;const Vc=new Set;let Yb=!1,Jb=!1,Qb=!1;function x$(){if(Jb){const e=Array.from(Vc).filter(c=>c.needsMeasurement),t=new Set(e.map(c=>c.element)),n=new Map;t.forEach(c=>{const i=Dde(c);i.length&&(n.set(c,i),c.render())}),e.forEach(c=>c.measureInitialState()),t.forEach(c=>{c.render();const i=n.get(c);i&&i.forEach(([r,s])=>{c.getValue(r)?.set(s)})}),e.forEach(c=>c.measureEndState()),e.forEach(c=>{c.suspendedScrollY!==void 0&&window.scrollTo(0,c.suspendedScrollY)})}Jb=!1,Yb=!1,Vc.forEach(e=>e.complete(Qb)),Vc.clear()}function _$(){Vc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Jb=!0)})}function Bde(){Qb=!0,_$(),x$(),Qb=!1}class qw{constructor(t,n,c,i,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=c,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Vc.add(this),Yb||(Yb=!0,ke.read(_$),ke.resolveKeyframes(x$))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:c,motionValue:i}=this;if(t[0]===null){const r=i?.get(),s=t[t.length-1];if(r!==void 0)t[0]=r;else if(c&&n){const d=c.readValue(n,s);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=s),i&&r===void 0&&i.set(t[0])}qde(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Vc.delete(this)}cancel(){this.state==="scheduled"&&(Vc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Rde=e=>e.startsWith("--");function Fde(e,t,n){Rde(t)?e.style.setProperty(t,n):e.style[t]=n}const Ede=gw(()=>window.ScrollTimeline!==void 0),Ode={};function Ude(e,t){const n=gw(e);return()=>Ode[t]??n()}const L$=Ude(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),v1=([e,t,n,c])=>`cubic-bezier(${e}, ${t}, ${n}, ${c})`,wC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:v1([0,.65,.55,1]),circOut:v1([.55,0,1,.45]),backIn:v1([.31,.01,.66,-.59]),backOut:v1([.33,1.53,.69,.99])};function I$(e,t){if(e)return typeof e=="function"?L$()?f$(e,t):"ease-out":r$(e)?v1(e):Array.isArray(e)?e.map(n=>I$(n,t)||wC.easeOut):wC[e]}function Wde(e,t,n,{delay:c=0,duration:i=300,repeat:r=0,repeatType:s="loop",ease:d="easeOut",times:h}={},l=void 0){const u={[t]:n};h&&(u.offset=h);const p=I$(d,i);Array.isArray(p)&&(u.easing=p);const y={delay:c,duration:i,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:r+1,direction:s==="reverse"?"alternate":"normal"};return l&&(y.pseudoElement=l),e.animate(u,y)}function b$(e){return typeof e=="function"&&"applyToOptions"in e}function Gde({type:e,...t}){return b$(e)&&L$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Kde extends Sw{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:c,keyframes:i,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:d,onComplete:h}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,at(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const l=Gde(t);this.animation=Wde(n,c,i,l,r),l.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=jw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):Fde(n,c,u),this.animation.cancel()}h?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Ze(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ze(t)}get time(){return Ze(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=tt(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&&Ede()?(this.animation.timeline=t,Ye):n(this)}}const w$={anticipate:n$,backInOut:a$,circInOut:c$};function Zde(e){return e in w$}function Xde(e){typeof e.ease=="string"&&Zde(e.ease)&&(e.ease=w$[e.ease])}const CC=10;class Yde extends Kde{constructor(t){Xde(t),M$(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:c,onComplete:i,element:r,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const d=new $w({...s,autoplay:!1}),h=tt(this.finishedTime??this.time);n.setWithVelocity(d.sample(h-CC).value,d.sample(h).value,CC),d.stop()}}const NC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Vt.test(e)||e==="0")&&!e.startsWith("url("));function Jde(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 Qde(e,t,n,c){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],s=NC(i,t),d=NC(r,t);return i1(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:Jde(e)||(n==="spring"||b$(n))&&c}function ew(e){e.duration=0,e.type="keyframes"}const e0e=new Set(["opacity","clipPath","filter","transform"]),t0e=gw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function a0e(e){const{motionValue:t,name:n,repeatDelay:c,repeatType:i,damping:r,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:l}=t.owner.getProps();return t0e()&&n&&e0e.has(n)&&(n!=="transform"||!l)&&!h&&!c&&i!=="mirror"&&r!==0&&s!=="inertia"}const n0e=40;class o0e extends Sw{constructor({autoplay:t=!0,delay:n=0,type:c="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",keyframes:d,name:h,motionValue:l,element:u,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Be.now();const y={autoplay:t,delay:n,type:c,repeat:i,repeatDelay:r,repeatType:s,name:h,motionValue:l,element:u,...p},g=u?.KeyframeResolver||qw;this.keyframeResolver=new g(d,(f,m,M)=>this.onKeyframesResolved(f,m,y,!M),h,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,c,i){this.keyframeResolver=void 0;const{name:r,type:s,velocity:d,delay:h,isHandoff:l,onUpdate:u}=c;this.resolvedAt=Be.now(),Qde(t,r,s,d)||((_t.instantAnimations||!h)&&u?.(jw(t,c,n)),t[0]=t[t.length-1],ew(c),c.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>n0e?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...c,keyframes:t},g=!l&&a0e(y)?new Yde({...y,element:y.motionValue.owner.current}):new $w(y);g.finished.then(()=>this.notifyFinished()).catch(Ye),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}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(),Bde()),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 c0e=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function i0e(e){const t=c0e.exec(e);if(!t)return[,];const[,n,c,i]=t;return[`--${n??c}`,i]}const r0e=4;function C$(e,t,n=1){at(n<=r0e,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[c,i]=i0e(e);if(!c)return;const r=window.getComputedStyle(t).getPropertyValue(c);if(r){const s=r.trim();return KS(s)?parseFloat(s):s}return Iw(i)?C$(i,t,n+1):i}function Aw(e,t){return e?.[t]??e?.default??e}const N$=new Set(["width","height","top","left","right","bottom",...s1]),s0e={test:e=>e==="auto",parse:e=>e},j$=e=>t=>t.test(e),S$=[r1,Z,ht,Ct,Q2e,J2e,s0e],jC=e=>S$.find(j$(e));function d0e(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||XS(e):!0}const l0e=new Set(["brightness","contrast","saturate","opacity"]);function h0e(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[c]=n.match(bw)||[];if(!c)return e;const i=n.replace(c,"");let r=l0e.has(t)?1:0;return c!==n&&(r*=100),t+"("+r+i+")"}const u0e=/\b([a-z-]*)\(.*?\)/gu,tw={...Vt,getAnimatableNone:e=>{const t=e.match(u0e);return t?t.map(h0e).join(" "):e}},SC={...r1,transform:Math.round},p0e={rotate:Ct,rotateX:Ct,rotateY:Ct,rotateZ:Ct,scale:ai,scaleX:ai,scaleY:ai,scaleZ:ai,skew:Ct,skewX:Ct,skewY:Ct,distance:Z,translateX:Z,translateY:Z,translateZ:Z,x:Z,y:Z,z:Z,perspective:Z,transformPerspective:Z,opacity:F1,originX:fC,originY:fC,originZ:Z},zw={borderWidth:Z,borderTopWidth:Z,borderRightWidth:Z,borderBottomWidth:Z,borderLeftWidth:Z,borderRadius:Z,radius:Z,borderTopLeftRadius:Z,borderTopRightRadius:Z,borderBottomRightRadius:Z,borderBottomLeftRadius:Z,width:Z,maxWidth:Z,height:Z,maxHeight:Z,top:Z,right:Z,bottom:Z,left:Z,padding:Z,paddingTop:Z,paddingRight:Z,paddingBottom:Z,paddingLeft:Z,margin:Z,marginTop:Z,marginRight:Z,marginBottom:Z,marginLeft:Z,backgroundPositionX:Z,backgroundPositionY:Z,...p0e,zIndex:SC,fillOpacity:F1,strokeOpacity:F1,numOctaves:SC},y0e={...zw,color:Ie,backgroundColor:Ie,outlineColor:Ie,fill:Ie,stroke:Ie,borderColor:Ie,borderTopColor:Ie,borderRightColor:Ie,borderBottomColor:Ie,borderLeftColor:Ie,filter:tw,WebkitFilter:tw},$$=e=>y0e[e];function q$(e,t){let n=$$(e);return n!==tw&&(n=Vt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const k0e=new Set(["auto","none","0"]);function m0e(e,t,n){let c=0,i;for(;c<e.length&&!i;){const r=e[c];typeof r=="string"&&!k0e.has(r)&&E1(r).values.length&&(i=e[c]),c++}if(i&&n)for(const r of t)e[r]=q$(n,i)}class f0e extends qw{constructor(t,n,c,i,r){super(t,n,c,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:c}=this;if(!n||!n.current)return;super.readKeyframes();for(let h=0;h<t.length;h++){let l=t[h];if(typeof l=="string"&&(l=l.trim(),Iw(l))){const u=C$(l,n.current);u!==void 0&&(t[h]=u),h===t.length-1&&(this.finalKeyframe=l)}}if(this.resolveNoneKeyframes(),!N$.has(c)||t.length!==2)return;const[i,r]=t,s=jC(i),d=jC(r);if(s!==d)if(bC(s)&&bC(d))for(let h=0;h<t.length;h++){const l=t[h];typeof l=="string"&&(t[h]=parseFloat(l))}else zc[c]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,c=[];for(let i=0;i<t.length;i++)(t[i]===null||d0e(t[i]))&&c.push(i);c.length&&m0e(t,c,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:c}=this;if(!t||!t.current)return;c==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=zc[c](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(c,i).jump(i,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:c}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=c.length-1,s=c[r];c[r]=zc[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([d,h])=>{t.getValue(d).set(h)}),this.resolveNoneKeyframes()}}function g0e(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let c=document;const i=n?.[e]??c.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const A$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function z$(e){return ZS(e)&&"offsetHeight"in e}const $C=30,v0e=e=>!isNaN(parseFloat(e)),P1={current:void 0};class M0e{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=c=>{const i=Be.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(c),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const r of this.dependents)r.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Be.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=v0e(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Mw(!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 vw);const c=this.events[t].add(n);return t==="change"?()=>{c(),ke.read(()=>{this.events.change.getSize()||this.stop()})}:c}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,c){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-c}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return P1.current&&P1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Be.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>$C)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,$C);return YS(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 Pc(e,t){return new M0e(e,t)}const{schedule:Vw}=s$(queueMicrotask,!1),et={x:!1,y:!1};function V$(){return et.x||et.y}function x0e(e){return e==="x"||e==="y"?et[e]?null:(et[e]=!0,()=>{et[e]=!1}):et.x||et.y?null:(et.x=et.y=!0,()=>{et.x=et.y=!1})}function P$(e,t){const n=g0e(e),c=new AbortController,i={passive:!0,...t,signal:c.signal};return[n,i,()=>c.abort()]}function qC(e){return!(e.pointerType==="touch"||V$())}function _0e(e,t,n={}){const[c,i,r]=P$(e,n),s=d=>{if(!qC(d))return;const{target:h}=d,l=t(h,d);if(typeof l!="function"||!h)return;const u=p=>{qC(p)&&(l(p),h.removeEventListener("pointerleave",u))};h.addEventListener("pointerleave",u,i)};return c.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const T$=(e,t)=>t?e===t?!0:T$(e,t.parentElement):!1,Pw=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,L0e=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function I0e(e){return L0e.has(e.tagName)||e.tabIndex!==-1}const nL=new WeakSet;function AC(e){return t=>{t.key==="Enter"&&e(t)}}function UL(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const b0e=(e,t)=>{const n=e.currentTarget;if(!n)return;const c=AC(()=>{if(nL.has(n))return;UL(n,"down");const i=AC(()=>{UL(n,"up")}),r=()=>UL(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",c,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",c),t)};function zC(e){return Pw(e)&&!V$()}function w0e(e,t,n={}){const[c,i,r]=P$(e,n),s=d=>{const h=d.currentTarget;if(!zC(d))return;nL.add(h);const l=t(h,d),u=(g,f)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),nL.has(h)&&nL.delete(h),zC(g)&&typeof l=="function"&&l(g,{success:f})},p=g=>{u(g,h===window||h===document||n.useGlobalTarget||T$(h,g.target))},y=g=>{u(g,!1)};window.addEventListener("pointerup",p,i),window.addEventListener("pointercancel",y,i)};return c.forEach(d=>{(n.useGlobalTarget?window:d).addEventListener("pointerdown",s,i),z$(d)&&(d.addEventListener("focus",l=>b0e(l,i)),!I0e(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function H$(e){return ZS(e)&&"ownerSVGElement"in e}function C0e(e){return H$(e)&&e.tagName==="svg"}function N0e(...e){const t=!Array.isArray(e[0]),n=t?0:-1,c=e[0+n],i=e[1+n],r=e[2+n],s=e[3+n],d=v$(i,r,s);return t?d(c):d}const qe=e=>!!(e&&e.getVelocity),j0e=[...S$,Ie,Vt],S0e=e=>j0e.find(j$(e)),ML=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function VC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function $0e(...e){return t=>{let n=!1;const c=e.map(i=>{const r=VC(i,t);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let i=0;i<c.length;i++){const r=c[i];typeof r=="function"?r():VC(e[i],null)}}}}function q0e(...e){return J.useCallback($0e(...e),e)}class A0e extends J.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const c=n.offsetParent,i=z$(c)&&c.offsetWidth||0,r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft,r.right=i-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function z0e({children:e,isPresent:t,anchorX:n,root:c}){const i=k.useId(),r=k.useRef(null),s=k.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=k.useContext(ML),h=q0e(r,e?.ref);return k.useInsertionEffect(()=>{const{width:l,height:u,top:p,left:y,right:g}=s.current;if(t||!r.current||!l||!u)return;const f=n==="left"?`left: ${y}`:`right: ${g}`;r.current.dataset.motionPopId=i;const m=document.createElement("style");d&&(m.nonce=d);const M=c??document.head;return M.appendChild(m),m.sheet&&m.sheet.insertRule(`
|
|
8162
8162
|
[data-motion-pop-id="${i}"] {
|
|
8163
8163
|
position: absolute !important;
|
|
8164
8164
|
width: ${l}px !important;
|
|
@@ -8166,18 +8166,18 @@
|
|
|
8166
8166
|
${f}px !important;
|
|
8167
8167
|
top: ${p}px !important;
|
|
8168
8168
|
}
|
|
8169
|
-
`),()=>{M.contains(m)&&M.removeChild(m)}},[t]),o.jsx(A0e,{isPresent:t,childRef:r,sizeRef:s,children:J.cloneElement(e,{ref:h})})}const V0e=({children:e,initial:t,isPresent:n,onExitComplete:c,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:h})=>{const l=Pt(P0e),u=k.useId();let p=!0,y=k.useMemo(()=>(p=!1,{id:u,initial:t,isPresent:n,custom:i,onExitComplete:g=>{l.set(g,!0);for(const f of l.values())if(!f)return;c&&c()},register:g=>(l.set(g,!1),()=>l.delete(g))}),[n,l,c]);return r&&p&&(y={...y}),k.useMemo(()=>{l.forEach((g,f)=>l.set(f,!1))},[n]),J.useEffect(()=>{!n&&!l.size&&c&&c()},[n]),s==="popLayout"&&(e=o.jsx(z0e,{isPresent:n,anchorX:d,root:h,children:e})),o.jsx(vL.Provider,{value:y,children:e})};function P0e(){return new Map}function D$(e=!0){const t=k.useContext(vL);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:c,register:i}=t,r=k.useId();k.useEffect(()=>{if(e)return i(r)},[e]);const s=k.useCallback(()=>e&&c&&c(r),[r,c,e]);return!n&&c?[!1,s]:[!0]}const ni=e=>e.key||"";function PC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const T0e=({children:e,custom:t,initial:n=!0,onExitComplete:c,presenceAffectsLayout:i=!0,mode:r="sync",propagate:s=!1,anchorX:d="left",root:h})=>{const[l,u]=D$(s),p=k.useMemo(()=>PC(e),[e]),y=s&&!l?[]:p.map(ni),g=k.useRef(!0),f=k.useRef(p),m=Pt(()=>new Map),[M,x]=k.useState(p),[v,L]=k.useState(p);kw(()=>{g.current=!1,f.current=p;for(let b=0;b<v.length;b++){const _=ni(v[b]);y.includes(_)?m.delete(_):m.get(_)!==!0&&m.set(_,!1)}},[v,y.length,y.join("-")]);const w=[];if(p!==M){let b=[...p];for(let _=0;_<v.length;_++){const I=v[_],S=ni(I);y.includes(S)||(b.splice(_,0,I),w.push(I))}return r==="wait"&&w.length&&(b=w),L(PC(b)),x(p),null}process.env.NODE_ENV!=="production"&&r==="wait"&&v.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:C}=k.useContext(pw);return o.jsx(o.Fragment,{children:v.map(b=>{const _=ni(b),I=s&&!l?!1:p===v||y.includes(_),S=()=>{if(m.has(_))m.set(_,!0);else return;let N=!0;m.forEach(j=>{j||(N=!1)}),N&&(C?.(),L(f.current),s&&u?.(),c&&c())};return o.jsx(V0e,{isPresent:I,initial:!g.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:h,onExitComplete:I?void 0:S,anchorX:d,children:b},_)})})},B$=k.createContext({strict:!1}),TC={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"]},c1={};for(const e in TC)c1[e]={isEnabled:t=>TC[e].some(n=>!!t[n])};function H0e(e){for(const t in e)c1[t]={...c1[t],...e[t]}}const D0e=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 pL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||D0e.has(e)}let R$=e=>!pL(e);function B0e(e){typeof e=="function"&&(R$=t=>t.startsWith("on")?!pL(t):e(t))}try{B0e(require("@emotion/is-prop-valid").default)}catch{}function R0e(e,t,n){const c={};for(const i in e)i==="values"&&typeof e.values=="object"||(R$(i)||n===!0&&pL(i)||!t&&!pL(i)||e.draggable&&i.startsWith("onDrag"))&&(c[i]=e[i]);return c}const xL=k.createContext({});function _L(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function O1(e){return typeof e=="string"||Array.isArray(e)}const Tw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Hw=["initial",...Tw];function LL(e){return _L(e.animate)||Hw.some(t=>O1(e[t]))}function F$(e){return!!(LL(e)||e.variants)}function F0e(e,t){if(LL(e)){const{initial:n,animate:c}=e;return{initial:n===!1||O1(n)?n:void 0,animate:O1(c)?c:void 0}}return e.inherit!==!1?t:{}}function E0e(e){const{initial:t,animate:n}=F0e(e,k.useContext(xL));return k.useMemo(()=>({initial:t,animate:n}),[HC(t),HC(n)])}function HC(e){return Array.isArray(e)?e.join(" "):e}const U1={};function O0e(e){for(const t in e)U1[t]=e[t],Lw(t)&&(U1[t].isCSSVariable=!0)}function E$(e,{layout:t,layoutId:n}){return d1.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!U1[e]||e==="opacity")}const U0e={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},W0e=s1.length;function G0e(e,t,n){let c="",i=!0;for(let r=0;r<W0e;r++){const s=s1[r],d=e[s];if(d===void 0)continue;let h=!0;if(typeof d=="number"?h=d===(s.startsWith("scale")?1:0):h=parseFloat(d)===0,!h||n){const l=A$(d,zw[s]);if(!h){i=!1;const u=U0e[s]||s;c+=`${u}(${l}) `}n&&(t[s]=l)}}return c=c.trim(),n?c=n(t,i?"":c):i&&(c="none"),c}function Dw(e,t,n){const{style:c,vars:i,transformOrigin:r}=e;let s=!1,d=!1;for(const h in t){const l=t[h];if(d1.has(h)){s=!0;continue}else if(Lw(h)){i[h]=l;continue}else{const u=A$(l,zw[h]);h.startsWith("origin")?(d=!0,r[h]=u):c[h]=u}}if(t.transform||(s||n?c.transform=G0e(t,e.transform,n):c.transform&&(c.transform="none")),d){const{originX:h="50%",originY:l="50%",originZ:u=0}=r;c.transformOrigin=`${h} ${l} ${u}`}}const Bw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function O$(e,t,n){for(const c in t)!qe(t[c])&&!E$(c,n)&&(e[c]=t[c])}function K0e({transformTemplate:e},t){return k.useMemo(()=>{const n=Bw();return Dw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Z0e(e,t){const n=e.style||{},c={};return O$(c,n,e),Object.assign(c,K0e(e,t)),c}function X0e(e,t){const n={},c=Z0e(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,c.userSelect=c.WebkitUserSelect=c.WebkitTouchCallout="none",c.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=c,n}const Y0e={offset:"stroke-dashoffset",array:"stroke-dasharray"},J0e={offset:"strokeDashoffset",array:"strokeDasharray"};function Q0e(e,t,n=1,c=0,i=!0){e.pathLength=1;const r=i?Y0e:J0e;e[r.offset]=Z.transform(-c);const s=Z.transform(t),d=Z.transform(n);e[r.array]=`${s} ${d}`}function U$(e,{attrX:t,attrY:n,attrScale:c,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},h,l,u){if(Dw(e,d,l),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:y}=e;p.transform&&(y.transform=p.transform,delete p.transform),(y.transform||p.transformOrigin)&&(y.transformOrigin=p.transformOrigin??"50% 50%",delete p.transformOrigin),y.transform&&(y.transformBox=u?.transformBox??"fill-box",delete p.transformBox),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),c!==void 0&&(p.scale=c),i!==void 0&&Q0e(p,i,r,s,!1)}const W$=()=>({...Bw(),attrs:{}}),G$=e=>typeof e=="string"&&e.toLowerCase()==="svg";function ele(e,t,n,c){const i=k.useMemo(()=>{const r=W$();return U$(r,t,G$(c),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};O$(r,e.style,e),i.style={...r,...i.style}}return i}const tle=["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 Rw(e){return typeof e!="string"||e.includes("-")?!1:!!(tle.indexOf(e)>-1||/[A-Z]/u.test(e))}function ale(e,t,n,{latestValues:c},i,r=!1){const d=(Rw(e)?ele:X0e)(t,c,i,e),h=R0e(t,typeof e=="string",r),l=e!==k.Fragment?{...h,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>qe(u)?u.get():u,[u]);return k.createElement(e,{...l,children:p})}function DC(e){const t=[{},{}];return e?.values.forEach((n,c)=>{t[0][c]=n.get(),t[1][c]=n.getVelocity()}),t}function Fw(e,t,n,c){if(typeof t=="function"){const[i,r]=DC(c);t=t(n!==void 0?n:e.custom,i,r)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,r]=DC(c);t=t(n!==void 0?n:e.custom,i,r)}return t}function oL(e){return qe(e)?e.get():e}function nle({scrapeMotionValuesFromProps:e,createRenderState:t},n,c,i){return{latestValues:ole(n,c,i,e),renderState:t()}}function ole(e,t,n,c){const i={},r=c(e,{});for(const y in r)i[y]=oL(r[y]);let{initial:s,animate:d}=e;const h=LL(e),l=F$(e);t&&l&&!h&&e.inherit!==!1&&(s===void 0&&(s=t.initial),d===void 0&&(d=t.animate));let u=n?n.initial===!1:!1;u=u||s===!1;const p=u?d:s;if(p&&typeof p!="boolean"&&!_L(p)){const y=Array.isArray(p)?p:[p];for(let g=0;g<y.length;g++){const f=Fw(e,y[g]);if(f){const{transitionEnd:m,transition:M,...x}=f;for(const v in x){let L=x[v];if(Array.isArray(L)){const w=u?L.length-1:0;L=L[w]}L!==null&&(i[v]=L)}for(const v in m)i[v]=m[v]}}}return i}const K$=e=>(t,n)=>{const c=k.useContext(xL),i=k.useContext(vL),r=()=>nle(e,t,c,i);return n?r():Pt(r)};function Ew(e,t,n){const{style:c}=e,i={};for(const r in c)(qe(c[r])||t.style&&qe(t.style[r])||E$(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=c[r]);return i}const cle=K$({scrapeMotionValuesFromProps:Ew,createRenderState:Bw});function Z$(e,t,n){const c=Ew(e,t,n);for(const i in e)if(qe(e[i])||qe(t[i])){const r=s1.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;c[r]=e[i]}return c}const ile=K$({scrapeMotionValuesFromProps:Z$,createRenderState:W$}),rle=Symbol.for("motionComponentSymbol");function Kc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function sle(e,t,n){return k.useCallback(c=>{c&&e.onMount&&e.onMount(c),t&&(c?t.mount(c):t.unmount()),n&&(typeof n=="function"?n(c):Kc(n)&&(n.current=c))},[t])}const Ow=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),dle="framerAppearId",X$="data-"+Ow(dle),Y$=k.createContext({});function lle(e,t,n,c,i){const{visualElement:r}=k.useContext(xL),s=k.useContext(B$),d=k.useContext(vL),h=k.useContext(ML).reducedMotion,l=k.useRef(null);c=c||s.renderer,!l.current&&c&&(l.current=c(e,{visualState:t,parent:r,props:n,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:h}));const u=l.current,p=k.useContext(Y$);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&hle(l.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const g=n[X$],f=k.useRef(!!g&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return kw(()=>{u&&(y.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),f.current&&u.animationState&&u.animationState.animateChanges())}),k.useEffect(()=>{u&&(!f.current&&u.animationState&&u.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),f.current=!1),u.enteringChildren=void 0)}),u}function hle(e,t,n,c){const{layoutId:i,layout:r,drag:s,dragConstraints:d,layoutScroll:h,layoutRoot:l,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:J$(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Kc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:c,crossfade:u,layoutScroll:h,layoutRoot:l})}function J$(e){if(e)return e.options.allowProjection!==!1?e.projection:J$(e.parent)}function WL(e,{forwardMotionProps:t=!1}={},n,c){n&&H0e(n);const i=Rw(e)?ile:cle;function r(d,h){let l;const u={...k.useContext(ML),...d,layoutId:ule(d)},{isStatic:p}=u,y=E0e(d),g=i(d,p);if(!p&&yw){ple(u,n);const f=yle(u);l=f.MeasureLayout,y.visualElement=lle(e,g,u,c,f.ProjectionNode)}return o.jsxs(xL.Provider,{value:y,children:[l&&y.visualElement?o.jsx(l,{visualElement:y.visualElement,...u}):null,ale(e,d,sle(g,y.visualElement,h),g,p,t)]})}r.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const s=k.forwardRef(r);return s[rle]=e,s}function ule({layoutId:e}){const t=k.useContext(pw).id;return t&&e!==void 0?t+"-"+e:e}function ple(e,t){const n=k.useContext(B$).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?i1(!1,c,"lazy-strict-mode"):at(!1,c,"lazy-strict-mode")}}function yle(e){const{drag:t,layout:n}=c1;if(!t&&!n)return{};const c={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function kle(e,t){if(typeof Proxy>"u")return WL;const n=new Map,c=(r,s)=>WL(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&Mw(!1,"motion() is deprecated. Use motion.create() instead."),c(r,s));return new Proxy(i,{get:(r,s)=>s==="create"?c:(n.has(s)||n.set(s,WL(s,void 0,e,t)),n.get(s))})}function Q$({top:e,left:t,right:n,bottom:c}){return{x:{min:t,max:n},y:{min:e,max:c}}}function mle({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function fle(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),c=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:c.y,right:c.x}}function GL(e){return e===void 0||e===1}function aw({scale:e,scaleX:t,scaleY:n}){return!GL(e)||!GL(t)||!GL(n)}function Nc(e){return aw(e)||eq(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function eq(e){return BC(e.x)||BC(e.y)}function BC(e){return e&&e!=="0%"}function yL(e,t,n){const c=e-n,i=t*c;return n+i}function RC(e,t,n,c,i){return i!==void 0&&(e=yL(e,i,c)),yL(e,n,c)+t}function nw(e,t=0,n=1,c,i){e.min=RC(e.min,t,n,c,i),e.max=RC(e.max,t,n,c,i)}function tq(e,{x:t,y:n}){nw(e.x,t.translate,t.scale,t.originPoint),nw(e.y,n.translate,n.scale,n.originPoint)}const FC=.999999999999,EC=1.0000000000001;function gle(e,t,n,c=!1){const i=n.length;if(!i)return;t.x=t.y=1;let r,s;for(let d=0;d<i;d++){r=n[d],s=r.projectionDelta;const{visualElement:h}=r.options;h&&h.props.style&&h.props.style.display==="contents"||(c&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Xc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,tq(e,s)),c&&Nc(r.latestValues)&&Xc(e,r.latestValues))}t.x<EC&&t.x>FC&&(t.x=1),t.y<EC&&t.y>FC&&(t.y=1)}function Zc(e,t){e.min=e.min+t,e.max=e.max+t}function OC(e,t,n,c,i=.5){const r=fe(e.min,e.max,i);nw(e,t,n,r,c)}function Xc(e,t){OC(e.x,t.x,t.scaleX,t.scale,t.originX),OC(e.y,t.y,t.scaleY,t.scale,t.originY)}function aq(e,t){return Q$(fle(e.getBoundingClientRect(),t))}function vle(e,t,n){const c=aq(e,n),{scroll:i}=t;return i&&(Zc(c.x,i.offset.x),Zc(c.y,i.offset.y)),c}const UC=()=>({translate:0,scale:1,origin:0,originPoint:0}),Yc=()=>({x:UC(),y:UC()}),WC=()=>({min:0,max:0}),Le=()=>({x:WC(),y:WC()}),ow={current:null},nq={current:!1};function Mle(){if(nq.current=!0,!!yw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ow.current=e.matches;e.addEventListener("change",t),t()}else ow.current=!1}const xle=new WeakMap;function _le(e,t,n){for(const c in t){const i=t[c],r=n[c];if(qe(i))e.addValue(c,i);else if(qe(r))e.addValue(c,Pc(i,{owner:e}));else if(r!==i)if(e.hasValue(c)){const s=e.getValue(c);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(c);e.addValue(c,Pc(s!==void 0?s:i,{owner:e}))}}for(const c in n)t[c]===void 0&&e.removeValue(c);return t}const GC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Lle{scrapeMotionValuesFromProps(t,n,c){return{}}constructor({parent:t,props:n,presenceContext:c,reducedMotionConfig:i,blockInitialAnimation:r,visualState:s},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=qw,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=Be.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,ke.render(this.render,!1,!0))};const{latestValues:h,renderState:l}=s;this.latestValues=h,this.baseTarget={...h},this.initialValues=n.initial?{...h}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=c,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=d,this.blockInitialAnimation=!!r,this.isControllingVariants=LL(n),this.isVariantNode=F$(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 g=p[y];h[y]!==void 0&&qe(g)&&g.set(h[y])}}mount(t){this.current=t,xle.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,c)=>this.bindToMotionValue(c,n)),nq.current||Mle(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ow.current,process.env.NODE_ENV!=="production"&&Mw(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(),Lt(this.notifyUpdate),Lt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const c=d1.has(t);c&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ke.preRender(this.notifyUpdate),c&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),r&&r(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in c1){const n=c1[t];if(!n)continue;const{isEnabled:c,Feature:i}=n;if(!this.features[t]&&i&&c(this.props)&&(this.features[t]=new i(this)),this.features[t]){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Le()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let c=0;c<GC.length;c++){const i=GC[c];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const r="on"+i,s=t[r];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=_le(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const c=this.values.get(t);n!==c&&(c&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let c=this.values.get(t);return c===void 0&&n!==void 0&&(c=Pc(n===null?void 0:n,{owner:this}),this.addValue(t,c)),c}readValue(t,n){let c=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return c!=null&&(typeof c=="string"&&(KS(c)||XS(c))?c=parseFloat(c):!S0e(c)&&Vt.test(n)&&(c=q$(t,n)),this.setBaseTarget(t,qe(c)?c.get():c)),qe(c)?c.get():c}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let c;if(typeof n=="string"||typeof n=="object"){const r=Fw(this.props,n,this.presenceContext?.custom);r&&(c=r[t])}if(n&&c!==void 0)return c;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!qe(i)?i:this.initialValues[t]!==void 0&&c===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new vw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Vw.render(this.render)}}class oq extends Lle{constructor(){super(...arguments),this.KeyframeResolver=f0e}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:c}){delete n[t],delete c[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;qe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function cq(e,{style:t,vars:n},c,i){const r=e.style;let s;for(s in t)r[s]=t[s];i?.applyProjectionStyles(r,c);for(s in n)r.setProperty(s,n[s])}function Ile(e){return window.getComputedStyle(e)}class ble extends oq{constructor(){super(...arguments),this.type="html",this.renderInstance=cq}readValueFromInstance(t,n){if(d1.has(n))return this.projection?.isProjecting?Zb(n):Vde(t,n);{const c=Ile(t),i=(Lw(n)?c.getPropertyValue(n):c[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return aq(t,n)}build(t,n,c){Dw(t,n,c.transformTemplate)}scrapeMotionValuesFromProps(t,n,c){return Ew(t,n,c)}}const iq=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 wle(e,t,n,c){cq(e,t,void 0,c);for(const i in t.attrs)e.setAttribute(iq.has(i)?i:Ow(i),t.attrs[i])}class Cle extends oq{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Le}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(d1.has(n)){const c=$$(n);return c&&c.default||0}return n=iq.has(n)?n:Ow(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,c){return Z$(t,n,c)}build(t,n,c){U$(t,n,this.isSVGTag,c.transformTemplate,c.style)}renderInstance(t,n,c,i){wle(t,n,c,i)}mount(t){this.isSVGTag=G$(t.tagName),super.mount(t)}}const Nle=(e,t)=>Rw(e)?new Cle(t):new ble(t,{allowProjection:e!==k.Fragment});function o1(e,t,n){const c=e.getProps();return Fw(c,t,n!==void 0?n:c.custom,e)}const cw=e=>Array.isArray(e);function jle(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Pc(n))}function Sle(e){return cw(e)?e[e.length-1]||0:e}function $le(e,t){const n=o1(e,t);let{transitionEnd:c={},transition:i={},...r}=n||{};r={...r,...c};for(const s in r){const d=Sle(r[s]);jle(e,s,d)}}function qle(e){return!!(qe(e)&&e.add)}function iw(e,t){const n=e.getValue("willChange");if(qle(n))return n.add(t);if(!n&&_t.WillChange){const c=new _t.WillChange("auto");e.addValue("willChange",c),c.add(t)}}function rq(e){return e.props[X$]}const Ale=e=>e!==null;function zle(e,{repeat:t,repeatType:n="loop"},c){const i=e.filter(Ale),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const Vle={type:"spring",stiffness:500,damping:25,restSpeed:10},Ple=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Tle={type:"keyframes",duration:.8},Hle={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Dle=(e,{keyframes:t})=>t.length>2?Tle:d1.has(e)?e.startsWith("scale")?Ple(t[1]):Vle:Hle;function Ble({when:e,delay:t,delayChildren:n,staggerChildren:c,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:d,from:h,elapsed:l,...u}){return!!Object.keys(u).length}const Uw=(e,t,n,c={},i,r)=>s=>{const d=Aw(c,e)||{},h=d.delay||c.delay||0;let{elapsed:l=0}=c;l=l-tt(h);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-l,onUpdate:y=>{t.set(y),d.onUpdate&&d.onUpdate(y)},onComplete:()=>{s(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:r?void 0:i};Ble(d)||Object.assign(u,Dle(e,u)),u.duration&&(u.duration=tt(u.duration)),u.repeatDelay&&(u.repeatDelay=tt(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(ew(u),u.delay===0&&(p=!0)),(_t.instantAnimations||_t.skipAnimations)&&(p=!0,ew(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=zle(u.keyframes,d);if(y!==void 0){ke.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new $w(u):new o0e(u)};function Rle({protectedKeys:e,needsAnimating:t},n){const c=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,c}function sq(e,t,{delay:n=0,transitionOverride:c,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...d}=t;c&&(r=c);const h=[],l=i&&e.animationState&&e.animationState.getState()[i];for(const u in d){const p=e.getValue(u,e.latestValues[u]??null),y=d[u];if(y===void 0||l&&Rle(l,u))continue;const g={delay:n,...Aw(r||{},u)},f=p.get();if(f!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===f&&!g.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){const x=rq(e);if(x){const v=window.MotionHandoffAnimation(x,u,ke);v!==null&&(g.startTime=v,m=!0)}}iw(e,u),p.start(Uw(u,p,y,e.shouldReduceMotion&&N$.has(u)?{type:!1}:g,e,m));const M=p.animation;M&&h.push(M)}return s&&Promise.all(h).then(()=>{ke.update(()=>{s&&$le(e,s)})}),h}function dq(e,t,n,c=0,i=1){const r=Array.from(e).sort((l,u)=>l.sortNodePosition(u)).indexOf(t),s=e.size,d=(s-1)*c;return typeof n=="function"?n(r,s):i===1?r*c:d-r*c}function rw(e,t,n={}){const c=o1(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=c||{};n.transitionOverride&&(i=n.transitionOverride);const r=c?()=>Promise.all(sq(e,c,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(h=0)=>{const{delayChildren:l=0,staggerChildren:u,staggerDirection:p}=i;return Fle(e,t,h,l,u,p,n)}:()=>Promise.resolve(),{when:d}=i;if(d){const[h,l]=d==="beforeChildren"?[r,s]:[s,r];return h().then(()=>l())}else return Promise.all([r(),s(n.delay)])}function Fle(e,t,n=0,c=0,i=0,r=1,s){const d=[];for(const h of e.variantChildren)h.notify("AnimationStart",t),d.push(rw(h,t,{...s,delay:n+(typeof c=="function"?0:c)+dq(e.variantChildren,h,c,i,r)}).then(()=>h.notify("AnimationComplete",t)));return Promise.all(d)}function Ele(e,t,n={}){e.notify("AnimationStart",t);let c;if(Array.isArray(t)){const i=t.map(r=>rw(e,r,n));c=Promise.all(i)}else if(typeof t=="string")c=rw(e,t,n);else{const i=typeof t=="function"?o1(e,t,n.custom):t;c=Promise.all(sq(e,i,n))}return c.then(()=>{e.notify("AnimationComplete",t)})}function lq(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let c=0;c<n;c++)if(t[c]!==e[c])return!1;return!0}const Ole=Hw.length;function hq(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?hq(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Ole;n++){const c=Hw[n],i=e.props[c];(O1(i)||i===!1)&&(t[c]=i)}return t}const Ule=[...Tw].reverse(),Wle=Tw.length;function Gle(e){return t=>Promise.all(t.map(({animation:n,options:c})=>Ele(e,n,c)))}function Kle(e){let t=Gle(e),n=KC(),c=!0;const i=h=>(l,u)=>{const p=o1(e,u,h==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:g,...f}=p;l={...l,...f,...g}}return l};function r(h){t=h(e)}function s(h){const{props:l}=e,u=hq(e.parent)||{},p=[],y=new Set;let g={},f=1/0;for(let M=0;M<Wle;M++){const x=Ule[M],v=n[x],L=l[x]!==void 0?l[x]:u[x],w=O1(L),C=x===h?v.isActive:null;C===!1&&(f=M);let b=L===u[x]&&L!==l[x]&&w;if(b&&c&&e.manuallyAnimateOnMount&&(b=!1),v.protectedKeys={...g},!v.isActive&&C===null||!L&&!v.prevProp||_L(L)||typeof L=="boolean")continue;const _=Zle(v.prevProp,L);let I=_||x===h&&v.isActive&&!b&&w||M>f&&w,S=!1;const N=Array.isArray(L)?L:[L];let j=N.reduce(i(x),{});C===!1&&(j={});const{prevResolvedValues:A={}}=v,R={...A,...j},T=q=>{I=!0,y.has(q)&&(S=!0,y.delete(q)),v.needsAnimating[q]=!0;const P=e.getValue(q);P&&(P.liveStyle=!1)};for(const q in R){const P=j[q],H=A[q];if(g.hasOwnProperty(q))continue;let D=!1;cw(P)&&cw(H)?D=!lq(P,H):D=P!==H,D?P!=null?T(q):y.add(q):P!==void 0&&y.has(q)?T(q):v.protectedKeys[q]=!0}v.prevProp=L,v.prevResolvedValues=j,v.isActive&&(g={...g,...j}),c&&e.blockInitialAnimation&&(I=!1);const V=b&&_;I&&(!V||S)&&p.push(...N.map(q=>{const P={type:x};if(typeof q=="string"&&c&&!V&&e.manuallyAnimateOnMount&&e.parent){const{parent:H}=e,D=o1(H,q);if(H.enteringChildren&&D){const{delayChildren:E}=D.transition||{};P.delay=dq(H.enteringChildren,e,E)}}return{animation:q,options:P}}))}if(y.size){const M={};if(typeof l.initial!="boolean"){const x=o1(e,Array.isArray(l.initial)?l.initial[0]:l.initial);x&&x.transition&&(M.transition=x.transition)}y.forEach(x=>{const v=e.getBaseTarget(x),L=e.getValue(x);L&&(L.liveStyle=!0),M[x]=v??null}),p.push({animation:M})}let m=!!p.length;return c&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(m=!1),c=!1,m?t(p):Promise.resolve()}function d(h,l){if(n[h].isActive===l)return Promise.resolve();e.variantChildren?.forEach(p=>p.animationState?.setActive(h,l)),n[h].isActive=l;const u=s(h);for(const p in n)n[p].protectedKeys={};return u}return{animateChanges:s,setActive:d,setAnimateFunction:r,getState:()=>n,reset:()=>{n=KC()}}}function Zle(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!lq(t,e):!1}function Et(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function KC(){return{animate:Et(!0),whileInView:Et(),whileHover:Et(),whileTap:Et(),whileDrag:Et(),whileFocus:Et(),exit:Et()}}class Tt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Xle extends Tt{constructor(t){super(t),t.animationState||(t.animationState=Kle(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();_L(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Yle=0;class Jle extends Tt{constructor(){super(...arguments),this.id=Yle++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:c}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===c)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const Qle={animation:{Feature:Xle},exit:{Feature:Jle}};function W1(e,t,n,c={passive:!0}){return e.addEventListener(t,n,c),()=>e.removeEventListener(t,n)}function Y1(e){return{point:{x:e.pageX,y:e.pageY}}}const ehe=e=>t=>Pw(t)&&e(t,Y1(t));function T1(e,t,n,c){return W1(e,t,ehe(n),c)}const uq=1e-4,the=1-uq,ahe=1+uq,pq=.01,nhe=0-pq,ohe=0+pq;function Pe(e){return e.max-e.min}function che(e,t,n){return Math.abs(e-t)<=n}function ZC(e,t,n,c=.5){e.origin=c,e.originPoint=fe(t.min,t.max,e.origin),e.scale=Pe(n)/Pe(t),e.translate=fe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=the&&e.scale<=ahe||isNaN(e.scale))&&(e.scale=1),(e.translate>=nhe&&e.translate<=ohe||isNaN(e.translate))&&(e.translate=0)}function H1(e,t,n,c){ZC(e.x,t.x,n.x,c?c.originX:void 0),ZC(e.y,t.y,n.y,c?c.originY:void 0)}function XC(e,t,n){e.min=n.min+t.min,e.max=e.min+Pe(t)}function ihe(e,t,n){XC(e.x,t.x,n.x),XC(e.y,t.y,n.y)}function YC(e,t,n){e.min=t.min-n.min,e.max=e.min+Pe(t)}function D1(e,t,n){YC(e.x,t.x,n.x),YC(e.y,t.y,n.y)}function Ke(e){return[e("x"),e("y")]}const yq=({current:e})=>e?e.ownerDocument.defaultView:null,JC=(e,t)=>Math.abs(e-t);function rhe(e,t){const n=JC(e.x,t.x),c=JC(e.y,t.y);return Math.sqrt(n**2+c**2)}class kq{constructor(t,n,{transformPagePoint:c,contextWindow:i=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=ZL(this.lastMoveEventInfo,this.history),g=this.startEvent!==null,f=rhe(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!g&&!f)return;const{point:m}=y,{timestamp:M}=$e;this.history.push({...m,timestamp:M});const{onStart:x,onMove:v}=this.handlers;g||(x&&x(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,y)},this.handlePointerMove=(y,g)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=KL(g,this.transformPagePoint),ke.update(this.updatePoint,!0)},this.handlePointerUp=(y,g)=>{this.end();const{onEnd:f,onSessionEnd:m,resumeAnimation:M}=this.handlers;if(this.dragSnapToOrigin&&M&&M(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=ZL(y.type==="pointercancel"?this.lastMoveEventInfo:KL(g,this.transformPagePoint),this.history);this.startEvent&&f&&f(y,x),m&&m(y,x)},!Pw(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=c,this.distanceThreshold=s,this.contextWindow=i||window;const d=Y1(t),h=KL(d,this.transformPagePoint),{point:l}=h,{timestamp:u}=$e;this.history=[{...l,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,ZL(h,this.history)),this.removeListeners=K1(T1(this.contextWindow,"pointermove",this.handlePointerMove),T1(this.contextWindow,"pointerup",this.handlePointerUp),T1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Lt(this.updatePoint)}}function KL(e,t){return t?{point:t(e.point)}:e}function QC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ZL({point:e},t){return{point:e,delta:QC(e,mq(t)),offset:QC(e,she(t)),velocity:dhe(t,.1)}}function she(e){return e[0]}function mq(e){return e[e.length-1]}function dhe(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,c=null;const i=mq(e);for(;n>=0&&(c=e[n],!(i.timestamp-c.timestamp>tt(t)));)n--;if(!c)return{x:0,y:0};const r=Ze(i.timestamp-c.timestamp);if(r===0)return{x:0,y:0};const s={x:(i.x-c.x)/r,y:(i.y-c.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function lhe(e,{min:t,max:n},c){return t!==void 0&&e<t?e=c?fe(t,e,c.min):Math.max(e,t):n!==void 0&&e>n&&(e=c?fe(n,e,c.max):Math.min(e,n)),e}function eN(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 hhe(e,{top:t,left:n,bottom:c,right:i}){return{x:eN(e.x,n,i),y:eN(e.y,t,c)}}function tN(e,t){let n=t.min-e.min,c=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,c]=[c,n]),{min:n,max:c}}function uhe(e,t){return{x:tN(e.x,t.x),y:tN(e.y,t.y)}}function phe(e,t){let n=.5;const c=Pe(e),i=Pe(t);return i>c?n=R1(t.min,t.max-c,e.min):c>i&&(n=R1(e.min,e.max-i,t.min)),xt(0,1,n)}function yhe(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 sw=.35;function khe(e=sw){return e===!1?e=0:e===!0&&(e=sw),{x:aN(e,"left","right"),y:aN(e,"top","bottom")}}function aN(e,t,n){return{min:nN(e,t),max:nN(e,n)}}function nN(e,t){return typeof e=="number"?e:e[t]||0}const mhe=new WeakMap;class fhe{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=Le(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:c}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=p=>{const{dragSnapToOrigin:y}=this.getProps();y?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Y1(p).point)},s=(p,y)=>{const{drag:g,dragPropagation:f,onDragStart:m}=this.getProps();if(g&&!f&&(this.openDragLock&&this.openDragLock(),this.openDragLock=x0e(g),!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),Ke(x=>{let v=this.getAxisMotionValue(x).get()||0;if(ht.test(v)){const{projection:L}=this.visualElement;if(L&&L.layout){const w=L.layout.layoutBox[x];w&&(v=Pe(w)*(parseFloat(v)/100))}}this.originPoint[x]=v}),m&&ke.postRender(()=>m(p,y)),iw(this.visualElement,"transform");const{animationState:M}=this.visualElement;M&&M.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:g,dragDirectionLock:f,onDirectionLock:m,onDrag:M}=this.getProps();if(!g&&!this.openDragLock)return;const{offset:x}=y;if(f&&this.currentDirection===null){this.currentDirection=ghe(x),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",y.point,x),this.updateAxis("y",y.point,x),this.visualElement.render(),M&&M(p,y)},h=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>Ke(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new kq(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:h,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:c,contextWindow:yq(this.visualElement)})}stop(t,n){const c=t||this.latestPointerEvent,i=n||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!c)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:d}=this.getProps();d&&ke.postRender(()=>d(c,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:c}=this.getProps();!c&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,c){const{drag:i}=this.getProps();if(!c||!oi(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+c[t];this.constraints&&this.constraints[t]&&(s=lhe(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&Kc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&c?this.constraints=hhe(c.layoutBox,t):this.constraints=!1,this.elastic=khe(n),i!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&Ke(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=yhe(c.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Kc(t))return!1;const c=t.current;at(c!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=vle(c,i.root,this.visualElement.getTransformPagePoint());let s=uhe(i.layout.layoutBox,r);if(n){const d=n(mle(s));this.hasMutatedConstraints=!!d,d&&(s=Q$(d))}return s}startAnimation(t){const{drag:n,dragMomentum:c,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),h=this.constraints||{},l=Ke(u=>{if(!oi(u,n,this.currentDirection))return;let p=h&&h[u]||{};s&&(p={min:0,max:0});const y=i?200:1e6,g=i?40:1e7,f={type:"inertia",velocity:c?t[u]:0,bounceStiffness:y,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,f)});return Promise.all(l).then(d)}startAxisValueAnimation(t,n){const c=this.getAxisMotionValue(t);return iw(this.visualElement,t),c.start(Uw(t,c,0,n,this.visualElement,!1))}stopAnimation(){Ke(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Ke(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,c=this.visualElement.getProps(),i=c[n];return i||this.visualElement.getValue(t,(c.initial?c.initial[t]:void 0)||0)}snapToCursor(t){Ke(n=>{const{drag:c}=this.getProps();if(!oi(n,c,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:d}=i.layout.layoutBox[n];r.set(t[n]-fe(s,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:c}=this.visualElement;if(!Kc(n)||!c||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Ke(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const h=d.get();i[s]=phe({min:h,max:h},this.constraints[s])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",c.root&&c.root.updateScroll(),c.updateLayout(),this.resolveConstraints(),Ke(s=>{if(!oi(s,t,null))return;const d=this.getAxisMotionValue(s),{min:h,max:l}=this.constraints[s];d.set(fe(h,l,i[s]))})}addListeners(){if(!this.visualElement.current)return;mhe.set(this.visualElement,this);const t=this.visualElement.current,n=T1(t,"pointerdown",h=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(h)}),c=()=>{const{dragConstraints:h}=this.getProps();Kc(h)&&h.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",c);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ke.read(c);const s=W1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:h,hasLayoutChanged:l})=>{this.isDragging&&l&&(Ke(u=>{const p=this.getAxisMotionValue(u);p&&(this.originPoint[u]+=h[u].translate,p.set(p.get()+h[u].translate))}),this.visualElement.render())});return()=>{s(),n(),r(),d&&d()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:c=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=sw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:c,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function oi(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function ghe(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class vhe extends Tt{constructor(t){super(t),this.removeGroupControls=Ye,this.removeListeners=Ye,this.controls=new fhe(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ye}unmount(){this.removeGroupControls(),this.removeListeners()}}const oN=e=>(t,n)=>{e&&ke.postRender(()=>e(t,n))};class Mhe extends Tt{constructor(){super(...arguments),this.removePointerDownListener=Ye}onPointerDown(t){this.session=new kq(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:yq(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:c,onPanEnd:i}=this.node.getProps();return{onSessionStart:oN(t),onStart:oN(n),onMove:c,onEnd:(r,s)=>{delete this.session,i&&ke.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=T1(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 cL={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function cN(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const y1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Z.test(e))e=parseFloat(e);else return e;const n=cN(e,t.target.x),c=cN(e,t.target.y);return`${n}% ${c}%`}},xhe={correct:(e,{treeScale:t,projectionDelta:n})=>{const c=e,i=Vt.parse(e);if(i.length>5)return c;const r=Vt.createTransformer(e),s=typeof i[0]!="number"?1:0,d=n.x.scale*t.x,h=n.y.scale*t.y;i[0+s]/=d,i[1+s]/=h;const l=fe(d,h,.5);return typeof i[2+s]=="number"&&(i[2+s]/=l),typeof i[3+s]=="number"&&(i[3+s]/=l),r(i)}};let XL=!1;class _he extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c,layoutId:i}=this.props,{projection:r}=t;O0e(Lhe),r&&(n.group&&n.group.add(r),c&&c.register&&i&&c.register(r),XL&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),cL.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:c,drag:i,isPresent:r}=this.props,{projection:s}=c;return s&&(s.isPresent=r,XL=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||ke.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Vw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c}=this.props,{projection:i}=t;XL=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),c&&c.deregister&&c.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function fq(e){const[t,n]=D$(),c=k.useContext(pw);return o.jsx(_he,{...e,layoutGroup:c,switchLayoutGroup:k.useContext(Y$),isPresent:t,safeToRemove:n})}const Lhe={borderRadius:{...y1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:y1,borderTopRightRadius:y1,borderBottomLeftRadius:y1,borderBottomRightRadius:y1,boxShadow:xhe};function Ihe(e,t,n){const c=qe(e)?e:Pc(e);return c.start(Uw("",c,t,n)),c.animation}const bhe=(e,t)=>e.depth-t.depth;class whe{constructor(){this.children=[],this.isDirty=!1}add(t){mw(this.children,t),this.isDirty=!0}remove(t){fw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(bhe),this.isDirty=!1,this.children.forEach(t)}}function Che(e,t){const n=Be.now(),c=({timestamp:i})=>{const r=i-n;r>=t&&(Lt(c),e(r-t))};return ke.setup(c,!0),()=>Lt(c)}const gq=["TopLeft","TopRight","BottomLeft","BottomRight"],Nhe=gq.length,iN=e=>typeof e=="string"?parseFloat(e):e,rN=e=>typeof e=="number"||Z.test(e);function jhe(e,t,n,c,i,r){i?(e.opacity=fe(0,n.opacity??1,She(c)),e.opacityExit=fe(t.opacity??1,0,$he(c))):r&&(e.opacity=fe(t.opacity??1,n.opacity??1,c));for(let s=0;s<Nhe;s++){const d=`border${gq[s]}Radius`;let h=sN(t,d),l=sN(n,d);if(h===void 0&&l===void 0)continue;h||(h=0),l||(l=0),h===0||l===0||rN(h)===rN(l)?(e[d]=Math.max(fe(iN(h),iN(l),c),0),(ht.test(l)||ht.test(h))&&(e[d]+="%")):e[d]=l}(t.rotate||n.rotate)&&(e.rotate=fe(t.rotate||0,n.rotate||0,c))}function sN(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const She=vq(0,.5,o$),$he=vq(.5,.95,Ye);function vq(e,t,n){return c=>c<e?0:c>t?1:n(R1(e,t,c))}function dN(e,t){e.min=t.min,e.max=t.max}function Ue(e,t){dN(e.x,t.x),dN(e.y,t.y)}function lN(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function hN(e,t,n,c,i){return e-=t,e=yL(e,1/n,c),i!==void 0&&(e=yL(e,1/i,c)),e}function qhe(e,t=0,n=1,c=.5,i,r=e,s=e){if(ht.test(t)&&(t=parseFloat(t),t=fe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=fe(r.min,r.max,c);e===r&&(d-=t),e.min=hN(e.min,t,n,d,i),e.max=hN(e.max,t,n,d,i)}function uN(e,t,[n,c,i],r,s){qhe(e,t[n],t[c],t[i],t.scale,r,s)}const Ahe=["x","scaleX","originX"],zhe=["y","scaleY","originY"];function pN(e,t,n,c){uN(e.x,t,Ahe,n?n.x:void 0,c?c.x:void 0),uN(e.y,t,zhe,n?n.y:void 0,c?c.y:void 0)}function yN(e){return e.translate===0&&e.scale===1}function Mq(e){return yN(e.x)&&yN(e.y)}function kN(e,t){return e.min===t.min&&e.max===t.max}function Vhe(e,t){return kN(e.x,t.x)&&kN(e.y,t.y)}function mN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function xq(e,t){return mN(e.x,t.x)&&mN(e.y,t.y)}function fN(e){return Pe(e.x)/Pe(e.y)}function gN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Phe{constructor(){this.members=[]}add(t){mw(this.members,t),t.scheduleRender()}remove(t){if(fw(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let c;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){c=r;break}}return c?(this.promote(c),!0):!1}promote(t,n){const c=this.lead;if(t!==c&&(this.prevLead=c,this.lead=t,t.show(),c)){c.instance&&c.scheduleRender(),t.scheduleRender(),t.resumeFrom=c,n&&(t.resumeFrom.preserveOpacity=!0),c.snapshot&&(t.snapshot=c.snapshot,t.snapshot.latestValues=c.animationValues||c.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&c.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:c}=t;n.onExitComplete&&n.onExitComplete(),c&&c.options.onExitComplete&&c.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function The(e,t,n){let c="";const i=e.x.translate/t.x,r=e.y.translate/t.y,s=n?.z||0;if((i||r||s)&&(c=`translate3d(${i}px, ${r}px, ${s}px) `),(t.x!==1||t.y!==1)&&(c+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:l,rotate:u,rotateX:p,rotateY:y,skewX:g,skewY:f}=n;l&&(c=`perspective(${l}px) ${c}`),u&&(c+=`rotate(${u}deg) `),p&&(c+=`rotateX(${p}deg) `),y&&(c+=`rotateY(${y}deg) `),g&&(c+=`skewX(${g}deg) `),f&&(c+=`skewY(${f}deg) `)}const d=e.x.scale*t.x,h=e.y.scale*t.y;return(d!==1||h!==1)&&(c+=`scale(${d}, ${h})`),c||"none"}const YL=["","X","Y","Z"],Hhe=1e3;let Dhe=0;function JL(e,t,n,c){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),c&&(c[e]=0))}function _q(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=rq(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ke,!(i||r))}const{parent:c}=e;c&&!c.hasCheckedOptimisedAppear&&_q(c)}function Lq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:c,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=Dhe++,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(Fhe),this.nodes.forEach(Whe),this.nodes.forEach(Ghe),this.nodes.forEach(Ehe)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let h=0;h<this.path.length;h++)this.path[h].shouldResetTransform=!0;this.root===this&&(this.nodes=new whe)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new vw),this.eventHandlers.get(s).add(d)}notifyListeners(s,...d){const h=this.eventHandlers.get(s);h&&h.notify(...d)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=H$(s)&&!C0e(s),this.instance=s;const{layoutId:d,layout:h,visualElement:l}=this.options;if(l&&!l.current&&l.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(h||d)&&(this.isLayoutDirty=!0),e){let u,p=0;const y=()=>this.root.updateBlockedByResize=!1;ke.read(()=>{p=window.innerWidth}),e(s,()=>{const g=window.innerWidth;g!==p&&(p=g,this.root.updateBlockedByResize=!0,u&&u(),u=Che(y,250),cL.hasAnimatedSinceResize&&(cL.hasAnimatedSinceResize=!1,this.nodes.forEach(xN)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&l&&(d||h)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:p,hasRelativeLayoutChanged:y,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const f=this.options.transition||l.getDefaultTransition()||Jhe,{onLayoutAnimationStart:m,onLayoutAnimationComplete:M}=l.getProps(),x=!this.targetLayout||!xq(this.targetLayout,g),v=!p&&y;if(this.options.layoutRoot||this.resumeFrom||v||p&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const L={...Aw(f,"layout"),onPlay:m,onComplete:M};(l.shouldReduceMotion||this.options.layoutRoot)&&(L.delay=0,L.type=!1),this.startAnimation(L),this.setAnimationOrigin(u,v)}else p||xN(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}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(),Lt(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(Khe),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&&_q(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const p=this.path[u];p.shouldResetTransform=!0,p.updateScroll("snapshot"),p.options.layoutRoot&&p.willUpdate(!1)}const{layoutId:d,layout:h}=this.options;if(d===void 0&&!h)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(vN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(MN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Uhe),this.nodes.forEach(Bhe),this.nodes.forEach(Rhe)):this.nodes.forEach(MN),this.clearAllSnapshots();const d=Be.now();$e.delta=xt(0,1e3/60,d-$e.timestamp),$e.timestamp=d,$e.isProcessing=!0,BL.update.process($e),BL.preRender.process($e),BL.render.process($e),$e.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Vw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Ohe),this.sharedNodes.forEach(Zhe)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ke.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ke.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Pe(this.snapshot.measuredBox.x)&&!Pe(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let h=0;h<this.path.length;h++)this.path[h].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Le(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(d=!1),d&&this.instance){const h=c(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:h,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:h}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!Mq(this.projectionDelta),h=this.getTransformTemplate(),l=h?h(this.latestValues,""):void 0,u=l!==this.prevTransformTemplateValue;s&&this.instance&&(d||Nc(this.latestValues)||u)&&(i(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const d=this.measurePageBox();let h=this.removeElementScroll(d);return s&&(h=this.removeTransform(h)),Qhe(h),{animationId:this.root.animationId,measuredBox:d,layoutBox:h,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return Le();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(eue))){const{scroll:l}=this.root;l&&(Zc(d.x,l.offset.x),Zc(d.y,l.offset.y))}return d}removeElementScroll(s){const d=Le();if(Ue(d,s),this.scroll?.wasRoot)return d;for(let h=0;h<this.path.length;h++){const l=this.path[h],{scroll:u,options:p}=l;l!==this.root&&u&&p.layoutScroll&&(u.wasRoot&&Ue(d,s),Zc(d.x,u.offset.x),Zc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const h=Le();Ue(h,s);for(let l=0;l<this.path.length;l++){const u=this.path[l];!d&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Xc(h,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Nc(u.latestValues)&&Xc(h,u.latestValues)}return Nc(this.latestValues)&&Xc(h,this.latestValues),h}removeTransform(s){const d=Le();Ue(d,s);for(let h=0;h<this.path.length;h++){const l=this.path[h];if(!l.instance||!Nc(l.latestValues))continue;aw(l.latestValues)&&l.updateSnapshot();const u=Le(),p=l.measurePageBox();Ue(u,p),pN(d,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,u)}return Nc(this.latestValues)&&pN(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!==$e.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const h=!!this.resumingFrom||this!==d;if(!(s||h&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:p}=this.options;if(!(!this.layout||!(u||p))){if(this.resolvedRelativeTargetAt=$e.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Le(),this.relativeTargetOrigin=Le(),D1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),Ue(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Le(),this.targetWithTransforms=Le()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ihe(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ue(this.target,this.layout.layoutBox),tq(this.target,this.targetDelta)):Ue(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=Le(),this.relativeTargetOrigin=Le(),D1(this.relativeTargetOrigin,this.target,y.target),Ue(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||aw(this.parent.latestValues)||eq(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const s=this.getLead(),d=!!this.resumingFrom||this!==s;let h=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(h=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(h=!1),this.resolvedRelativeTargetAt===$e.timestamp&&(h=!1),h)return;const{layout:l,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(l||u))return;Ue(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;gle(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=Le());const{target:g}=s;if(!g){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(lN(this.prevProjectionDelta.x,this.projectionDelta.x),lN(this.prevProjectionDelta.y,this.projectionDelta.y)),H1(this.projectionDelta,this.layoutCorrected,g,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!gN(this.projectionDelta.x,this.prevProjectionDelta.x)||!gN(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g))}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=Yc(),this.projectionDelta=Yc(),this.projectionDeltaWithTransform=Yc()}setAnimationOrigin(s,d=!1){const h=this.snapshot,l=h?h.latestValues:{},u={...this.latestValues},p=Yc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=Le(),g=h?h.source:void 0,f=this.layout?this.layout.source:void 0,m=g!==f,M=this.getStack(),x=!M||M.members.length<=1,v=!!(m&&!x&&this.options.crossfade===!0&&!this.path.some(Yhe));this.animationProgress=0;let L;this.mixTargetDelta=w=>{const C=w/1e3;_N(p.x,s.x,C),_N(p.y,s.y,C),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(D1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Xhe(this.relativeTarget,this.relativeTargetOrigin,y,C),L&&Vhe(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=Le()),Ue(L,this.relativeTarget)),m&&(this.animationValues=u,jhe(u,l,this.latestValues,C,v,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Lt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ke.update(()=>{cL.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Pc(0)),this.currentAnimation=Ihe(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(Hhe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:d,target:h,layout:l,latestValues:u}=s;if(!(!d||!h||!l)){if(this!==s&&this.layout&&l&&Iq(this.options.animationType,this.layout.layoutBox,l.layoutBox)){h=this.target||Le();const p=Pe(this.layout.layoutBox.x);h.x.min=s.target.x.min,h.x.max=h.x.min+p;const y=Pe(this.layout.layoutBox.y);h.y.min=s.target.y.min,h.y.max=h.y.min+y}Ue(d,h),Xc(d,u),H1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Phe),this.sharedNodes.get(s).add(d);const l=d.options.initialPromotionConfig;d.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(d):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){const{layoutId:s}=this.options;return s?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:s}=this.options;return s?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:d,preserveFollowOpacity:h}={}){const l=this.getStack();l&&l.promote(this,h),s&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let d=!1;const{latestValues:h}=s;if((h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY)&&(d=!0),!d)return;const l={};h.z&&JL("z",s,l,this.animationValues);for(let u=0;u<YL.length;u++)JL(`rotate${YL[u]}`,s,l,this.animationValues),JL(`skew${YL[u]}`,s,l,this.animationValues);s.render();for(const u in l)s.setStaticValue(u,l[u]),this.animationValues&&(this.animationValues[u]=l[u]);s.scheduleRender()}applyProjectionStyles(s,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const h=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=oL(d?.pointerEvents)||"",s.transform=h?h(this.latestValues,""):"none";return}const l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=oL(d?.pointerEvents)||""),this.hasProjected&&!Nc(this.latestValues)&&(s.transform=h?h({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=l.animationValues||l.latestValues;this.applyTransformsToTarget();let p=The(this.projectionDeltaWithTransform,this.treeScale,u);h&&(p=h(u,p)),s.transform=p;const{x:y,y:g}=this.projectionDelta;s.transformOrigin=`${y.origin*100}% ${g.origin*100}% 0`,l.animationValues?s.opacity=l===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=l===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const f in U1){if(u[f]===void 0)continue;const{correct:m,applyTo:M,isCSSVariable:x}=U1[f],v=p==="none"?u[f]:m(u[f],l);if(M){const L=M.length;for(let w=0;w<L;w++)s[M[w]]=v}else x?this.options.visualElement.renderState.vars[f]=v:s[f]=v}this.options.layoutId&&(s.pointerEvents=l===this?oL(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(vN),this.root.sharedNodes.clear()}}}function Bhe(e){e.updateLayout()}function Rhe(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:c}=e.layout,{animationType:i}=e.options,r=t.source!==e.layout.source;i==="size"?Ke(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Pe(p);p.min=n[u].min,p.max=p.min+y}):Iq(i,t.layoutBox,n)&&Ke(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Pe(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=Yc();H1(s,n,t.layoutBox);const d=Yc();r?H1(d,e.applyTransform(c,!0),t.measuredBox):H1(d,n,t.layoutBox);const h=!Mq(s);let l=!1;if(!e.resumeFrom){const u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:p,layout:y}=u;if(p&&y){const g=Le();D1(g,t.layoutBox,p.layoutBox);const f=Le();D1(f,n,y.layoutBox),xq(g,f)||(l=!0),u.options.layoutRoot&&(e.relativeTarget=f,e.relativeTargetOrigin=g,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:d,layoutDelta:s,hasLayoutChanged:h,hasRelativeLayoutChanged:l})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function Fhe(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 Ehe(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Ohe(e){e.clearSnapshot()}function vN(e){e.clearMeasurements()}function MN(e){e.isLayoutDirty=!1}function Uhe(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function xN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Whe(e){e.resolveTargetDelta()}function Ghe(e){e.calcProjection()}function Khe(e){e.resetSkewAndRotation()}function Zhe(e){e.removeLeadSnapshot()}function _N(e,t,n){e.translate=fe(t.translate,0,n),e.scale=fe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function LN(e,t,n,c){e.min=fe(t.min,n.min,c),e.max=fe(t.max,n.max,c)}function Xhe(e,t,n,c){LN(e.x,t.x,n.x,c),LN(e.y,t.y,n.y,c)}function Yhe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Jhe={duration:.45,ease:[.4,0,.1,1]},IN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),bN=IN("applewebkit/")&&!IN("chrome/")?Math.round:Ye;function wN(e){e.min=bN(e.min),e.max=bN(e.max)}function Qhe(e){wN(e.x),wN(e.y)}function Iq(e,t,n){return e==="position"||e==="preserve-aspect"&&!che(fN(t),fN(n),.2)}function eue(e){return e!==e.root&&e.scroll?.wasRoot}const tue=Lq({attachResizeListener:(e,t)=>W1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),QL={current:void 0},bq=Lq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!QL.current){const e=new tue({});e.mount(window),e.setOptions({layoutScroll:!0}),QL.current=e}return QL.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),aue={pan:{Feature:Mhe},drag:{Feature:vhe,ProjectionNode:bq,MeasureLayout:fq}};function CN(e,t,n){const{props:c}=e;e.animationState&&c.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=c[i];r&&ke.postRender(()=>r(t,Y1(t)))}class nue extends Tt{mount(){const{current:t}=this.node;t&&(this.unmount=_0e(t,(n,c)=>(CN(this.node,c,"Start"),i=>CN(this.node,i,"End"))))}unmount(){}}class oue extends Tt{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=K1(W1(this.node.current,"focus",()=>this.onFocus()),W1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function NN(e,t,n){const{props:c}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&c.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=c[i];r&&ke.postRender(()=>r(t,Y1(t)))}class cue extends Tt{mount(){const{current:t}=this.node;t&&(this.unmount=w0e(t,(n,c)=>(NN(this.node,c,"Start"),(i,{success:r})=>NN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const dw=new WeakMap,eI=new WeakMap,iue=e=>{const t=dw.get(e.target);t&&t(e)},rue=e=>{e.forEach(iue)};function sue({root:e,...t}){const n=e||document;eI.has(n)||eI.set(n,{});const c=eI.get(n),i=JSON.stringify(t);return c[i]||(c[i]=new IntersectionObserver(rue,{root:e,...t})),c[i]}function due(e,t,n){const c=sue(t);return dw.set(e,n),c.observe(e),()=>{dw.delete(e),c.unobserve(e)}}const lue={some:0,all:1};class hue extends Tt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:c,amount:i="some",once:r}=t,s={root:n?n.current:void 0,rootMargin:c,threshold:typeof i=="number"?i:lue[i]},d=h=>{const{isIntersecting:l}=h;if(this.isInView===l||(this.isInView=l,r&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:u,onViewportLeave:p}=this.node.getProps(),y=l?u:p;y&&y(h)};return due(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(uue(t,n))&&this.startObserver()}unmount(){}}function uue({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const pue={inView:{Feature:hue},tap:{Feature:cue},focus:{Feature:oue},hover:{Feature:nue}},yue={layout:{ProjectionNode:bq,MeasureLayout:fq}},kue={...Qle,...pue,...aue,...yue},Ww=kle(kue,Nle);function wq(e){const t=Pt(()=>Pc(e)),{isStatic:n}=k.useContext(ML);if(n){const[,c]=k.useState(e);k.useEffect(()=>t.on("change",c),[])}return t}function Cq(e,t){const n=wq(t()),c=()=>n.set(t());return c(),kw(()=>{const i=()=>ke.preRender(c,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),Lt(c)}}),n}function mue(e){P1.current=[],e();const t=Cq(P1.current,e);return P1.current=void 0,t}function fue(e,t,n,c){if(typeof e=="function")return mue(e);const i=typeof t=="function"?t:N0e(t,n,c);return Array.isArray(e)?jN(e,i):jN([e],([r])=>i(r))}function jN(e,t){const n=Pt(()=>[]);return Cq(e,()=>{n.length=0;const c=e.length;for(let i=0;i<c;i++)n[i]=e[i].get();return t(n)})}class gue{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(c=>{c.start(t.nativeEvent||t,n)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const vue=()=>new gue;function Mue(){return Pt(vue)}const Nq=k.createContext(null);function xue(e,t,n,c){if(!c)return e;const i=e.findIndex(u=>u.value===t);if(i===-1)return e;const r=c>0?1:-1,s=e[i+r];if(!s)return e;const d=e[i],h=s.layout,l=fe(h.min,h.max,.5);return r===1&&d.layout.max+n>l||r===-1&&d.layout.min+n<l?z2e(e,i,i+r):e}function _ue({children:e,as:t="ul",axis:n="y",onReorder:c,values:i,...r},s){const d=Pt(()=>Ww[t]),h=[],l=k.useRef(!1);at(!!i,"Reorder.Group must be provided a values prop","reorder-values");const u={axis:n,registerItem:(p,y)=>{const g=h.findIndex(f=>p===f.value);g!==-1?h[g].layout=y[n]:h.push({value:p,layout:y[n]}),h.sort(bue)},updateOrder:(p,y,g)=>{if(l.current)return;const f=xue(h,p,y,g);h!==f&&(l.current=!0,c(f.map(Iue).filter(m=>i.indexOf(m)!==-1)))}};return k.useEffect(()=>{l.current=!1}),o.jsx(d,{...r,ref:s,ignoreStrict:!0,children:o.jsx(Nq.Provider,{value:u,children:e})})}const Lue=k.forwardRef(_ue);function Iue(e){return e.value}function bue(e,t){return e.layout.min-t.layout.min}function SN(e,t=0){return qe(e)?e:wq(t)}function wue({children:e,style:t={},value:n,as:c="li",onDrag:i,layout:r=!0,...s},d){const h=Pt(()=>Ww[c]),l=k.useContext(Nq),u={x:SN(t.x),y:SN(t.y)},p=fue([u.x,u.y],([m,M])=>m||M?1:"unset");at(!!l,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:g,updateOrder:f}=l;return o.jsx(h,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(m,M)=>{const{velocity:x}=M;x[y]&&f(n,u[y].get(),x[y]),i&&i(m,M)},onLayoutMeasure:m=>g(n,m),ref:d,ignoreStrict:!0,children:e})}const Cue=k.forwardRef(wue),kL=[o.jsx(z1,{size:18}),o.jsx(St,{size:18}),o.jsx(q1,{size:18}),o.jsx($t,{size:18}),o.jsx(L1,{size:18}),o.jsx(_1,{size:18})],Nue=({items:e,onReorder:t,draggable:n=!1,className:c,header:i,headerStyle:r,itemsDraggable:s=!0})=>{const[d,h]=k.useState(e??[]);return k.useEffect(()=>{e&&Array.isArray(e)?(e.forEach((l,u)=>{if(l.icon==null&&(l.icon=kL[u%kL.length]),typeof l.text=="string"&&l.text.includes("/")){const p=String(l.text).split("/"),y=p[0].trim(),f=p.slice(1).join("/").trim().match(/^(\d+)(.*)$/);if(f){const m=f[1],M=f[2]??"",x=m.padStart(3,"0");l.text=`${y} / ${x}${M}`}}}),h(e)):h([])},[e]),o.jsxs("div",{className:`trend-list ${c??""}`,draggable:n,style:{position:"relative"},children:[o.jsx("div",{className:"trend-header",style:r,children:i??"Trend"}),o.jsx("div",{className:"trend-list-body",style:{opacity:n?0:1},children:o.jsx(Lue,{axis:"y",values:d,onReorder:l=>{h(l),t?.(l)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((l,u)=>o.jsx(jue,{value:l,index:u,itemsDraggable:s},String(l.id)))})}),n&&o.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:o.jsx(a.Move,{size:48,strokeWidth:1.5,style:{opacity:.8}})})]})};function jue({value:e,index:t}){const n=Mue(),c=kL[t%kL.length]??null;return o.jsx(Cue,{value:e,dragListener:!1,dragControls:n,style:{listStyle:"none"},onDragStart:()=>{try{document.body.classList.add("is-dragging")}catch{}},onDragEnd:()=>{try{document.body.classList.remove("is-dragging")}catch{}},children:o.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[o.jsx("div",{className:"reorder-handle","aria-hidden":!0,onPointerDown:i=>n.start(i),style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",userSelect:"none"},children:o.jsx("svg",{width:"25",height:"25",viewBox:"0 0 24 24","aria-hidden":!0,children:o.jsxs("g",{fill:"currentColor",children:[o.jsx("circle",{cx:"8",cy:"6",r:"2"}),o.jsx("circle",{cx:"16",cy:"6",r:"2"}),o.jsx("circle",{cx:"8",cy:"12",r:"2"}),o.jsx("circle",{cx:"16",cy:"12",r:"2"}),o.jsx("circle",{cx:"8",cy:"18",r:"2"}),o.jsx("circle",{cx:"16",cy:"18",r:"2"})]})})}),o.jsx("div",{style:{flex:1},children:o.jsx(GS,{title:e.title,subtitle:e.subtitle,text:e.text,background:e.background,titleStyle:e.titleStyle,subtitleStyle:e.subtitleStyle,textStyle:e.textStyle,itemStyle:e.itemStyle,icon:e.icon??c})})]})})}function Sue(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 $ue(e){return!e||typeof e=="string"&&e.trim()===""}function que(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function Aue(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function zue(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 Vue(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 Pue(e,t){if(t.validation?.acceptedTypes){const n=t.validation.acceptedTypes.split(","),c=e.type;if(!n.some(i=>c.match(i.replace("*",".*"))))return{isValid:!1,error:`Type de fichier non supporté: ${c}`}}return t.validation?.maxFileSize&&e.size>t.validation.maxFileSize?{isValid:!1,error:`Fichier trop volumineux (max ${t.validation.maxFileSize/1048576}MB)`}:null}function Tue(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 mL(e,t){const n=Sue(e,t);if(n)return n;if($ue(e))return{isValid:!0};const c=e.toString();switch(t.type){case"email":{const r=que(c);if(r)return r;break}case"url":{const r=Aue(c);if(r)return r;break}case"number":{const r=zue(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=Vue(e,t);if(r)return r;break}case"file":{const r=Pue(e,t);if(r)return r;break}}const i=Tue(c,t);return i||{isValid:!0}}function jq(e,t){const n={};let c=!0;for(const i of t){const r=mL(e[i.name],i);r.isValid||(n[i.name]=r.error,c=!1)}return{isValid:c,errors:n}}const Hue="_formContainer_14ads_1",Due="_headerLine_14ads_17",Bue="_formTitle_14ads_25",Rue="_formDescription_14ads_30",Fue="_sectionTitle_14ads_37",Eue="_sectionHelp_14ads_44",Oue="_fieldHelp_14ads_50",Uue="_gridContainer_14ads_58",Wue="_fieldGridItem_14ads_70",Gue="_sectionFull_14ads_105",Kue="_formFooter_14ads_110",Zue="_footerLeft_14ads_118",Xue="_footerRight_14ads_119",Yue="_cancelLink_14ads_125",Jue="_submitButton_14ads_136",Que="_fieldLabel_14ads_148",epe="_inputWrapper_14ads_163",tpe="_inputInner_14ads_187",ape="_hasPrefix_14ads_196",npe="_inputBase_14ads_196",ope="_iconPrefix_14ads_292",cpe="_iconSuffix_14ads_293",ipe="_passwordToggle_14ads_319",rpe="_fieldError_14ads_365",spe="_fieldInvalid_14ads_372",ye={formContainer:Hue,headerLine:Due,formTitle:Bue,formDescription:Rue,sectionTitle:Fue,sectionHelp:Eue,fieldHelp:Oue,gridContainer:Uue,fieldGridItem:Wue,sectionFull:Gue,formFooter:Kue,footerLeft:Zue,footerRight:Xue,cancelLink:Yue,submitButton:Jue,fieldLabel:Que,inputWrapper:epe,inputInner:tpe,hasPrefix:ape,inputBase:npe,iconPrefix:ope,iconSuffix:cpe,passwordToggle:ipe,fieldError:rpe,fieldInvalid:spe},Sq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const[s,d]=k.useState(!1),h=e.type==="password",l=e.attributes?.showPasswordToggle??!0,u=h?s?"text":"password":e.type,p=e.attributes?.iconComponent??(e.attributes?.icon?Mt[e.attributes.icon]:null),y=e.attributes?.iconPosition??"suffix",g=f=>{n(f.target.value)};return o.jsxs("div",{className:ye.inputWrapper,children:[o.jsx("label",{className:`${ye.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),o.jsxs("div",{className:`${ye.inputInner} ${p&&y==="prefix"?ye.hasPrefix:""}`,children:[p&&y==="prefix"&&o.jsx("span",{className:ye.iconPrefix,children:o.jsx(p,{size:16})}),o.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${ye.inputBase} ${i?ye.fieldInvalid:""}`,value:t??"",onChange:g,onBlur:c,disabled:!!e.disabled,"aria-invalid":!!i,"aria-describedby":e.help?`${e.name}-help`:void 0}),h&&l&&o.jsx("button",{type:"button","aria-label":s?"Masquer le mot de passe":"Afficher le mot de passe",className:ye.passwordToggle,onClick:()=>d(f=>!f),children:s?o.jsx(N1,{size:16}):o.jsx(j1,{size:16})}),p&&y==="suffix"&&!h&&o.jsx("span",{className:ye.iconSuffix,children:o.jsx(p,{size:16})})]}),r&&i&&o.jsx("span",{className:ye.fieldError,children:i})]})},dpe="_fieldGroup_yb3zi_7",lpe="_fieldLabel_yb3zi_11",hpe="_required_yb3zi_17",upe="_fieldInput_yb3zi_22",ppe="_fieldInvalid_yb3zi_40",ype="_fieldValid_yb3zi_44",kpe="_fieldError_yb3zi_48",mpe="_radioGroup_yb3zi_57",qt={fieldGroup:dpe,fieldLabel:lpe,required:hpe,fieldInput:upe,fieldInvalid:ppe,fieldValid:ype,fieldError:kpe,radioGroup:mpe},IL=({field:e,children:t,error:n,touched:c})=>{const i=c&&n;return o.jsxs("div",{className:qt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&o.jsx("label",{className:`${qt.fieldLabel} ${e.required?qt.required:""}`,children:e.label}),t,i&&o.jsx("span",{className:qt.fieldError,children:n})]})},$q=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,h=["form-control",qt.fieldInput,s?qt.fieldInvalid:"",d?qt.fieldValid:""].filter(Boolean).join(" ");return o.jsx(IL,{field:e,error:i,touched:r,children:o.jsx("textarea",{className:h,placeholder:e.placeholder,value:t||"",onChange:l=>n(l.target.value),onBlur:c,rows:4})})},fpe="_wrapper_117u4_1",gpe="_wrapperInvalid_117u4_15",vpe="_nativeSelect_117u4_19",Mpe="_display_117u4_30",xpe="_topLabel_117u4_37",_pe="_valueLine_117u4_45",Lpe="_valuePlaceholder_117u4_53",Ipe="_valueActive_117u4_57",bpe="_caret_117u4_61",wpe="_error_117u4_75",Cpe="_optionStyle_117u4_89",We={wrapper:fpe,wrapperInvalid:gpe,nativeSelect:vpe,display:Mpe,topLabel:xpe,valueLine:_pe,valuePlaceholder:Lpe,valueActive:Ipe,caret:bpe,error:wpe,optionStyle:Cpe},Gw=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=!!(r&&i),d=e.label||"",h=e.placeholder||"",l=e.options?.find(u=>String(u.value)===String(t))?.label??"";return o.jsxs("div",{className:`${We.wrapper} ${s?We.wrapperInvalid:""} ${t?We.wrapperHasValue:""}`,children:[o.jsxs("select",{id:e.name,name:e.name,className:We.nativeSelect,value:t??"",onChange:u=>n(u.target.value),onBlur:c,"aria-invalid":s,"aria-label":d,children:[o.jsx("option",{value:"",disabled:!0,hidden:!0,children:h||`Sélectionnez ${d?.toLowerCase()||""}`}),e.options?.map((u,p)=>o.jsx("option",{value:u.value,className:We.optionStyle,children:u.label},p))]}),o.jsxs("div",{className:We.display,children:[d&&o.jsx("span",{className:We.topLabel,children:d}),o.jsx("span",{className:`${We.valueLine} ${t?We.valueActive:We.valuePlaceholder}`,children:t?l:h}),o.jsx("span",{className:We.caret,"aria-hidden":"true"})]}),s&&o.jsx("span",{className:We.error,children:i})]})},qq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx(IL,{field:e,error:i,touched:r,children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{type:"checkbox",className:"form-check-input",id:e.name,checked:!!t,onChange:s=>n(s.target.checked),onBlur:c}),o.jsx("label",{className:"form-check-label",htmlFor:e.name,children:e.label})]})}),Aq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx(IL,{field:e,error:i,touched:r,children:o.jsx("div",{className:qt.radioGroup,children:e.options?.map(s=>o.jsxs("div",{className:"form-check",children:[o.jsx("input",{type:"radio",className:"form-check-input",id:`${e.name}-${s.value}`,name:e.name,value:s.value,checked:t===s.value,onChange:d=>n(d.target.value),onBlur:c}),o.jsx("label",{className:"form-check-label",htmlFor:`${e.name}-${s.value}`,children:s.label})]},s.value))})}),Npe="_fileInputContainer_r2guc_3",jpe="_customFileInput_r2guc_8",Spe="_fileInputLabel_r2guc_12",$pe="_dragOver_r2guc_39",qpe="_uploadIcon_r2guc_44",Ape="_uploadText_r2guc_50",zpe="_uploadHint_r2guc_56",Vpe="_fileList_r2guc_60",Ppe="_fileListTitle_r2guc_69",Tpe="_fileItem_r2guc_80",Hpe="_fileIcon_r2guc_96",Dpe="_fileName_r2guc_102",Bpe="_fileSize_r2guc_108",Rpe="_removeButton_r2guc_114",Fpe="_errorText_r2guc_129",Ae={fileInputContainer:Npe,customFileInput:jpe,fileInputLabel:Spe,dragOver:$pe,uploadIcon:qpe,uploadText:Ape,uploadHint:zpe,fileList:Vpe,fileListTitle:Ppe,fileItem:Tpe,fileIcon:Hpe,fileName:Dpe,fileSize:Bpe,removeButton:Rpe,errorText:Fpe},zq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=k.useRef(null),[d,h]=k.useState(!1),l=M=>{n(M.target.files)},u=()=>{s.current&&s.current.click()},p=M=>{M.preventDefault(),h(!0)},y=()=>{h(!1)},g=M=>{M.preventDefault(),h(!1),M.dataTransfer.files&&M.dataTransfer.files.length>0&&n(M.dataTransfer.files)},f=M=>{if(!t)return;const x=Array.from(t);x.splice(M,1);const v=new DataTransfer;x.forEach(L=>v.items.add(L)),n(v.files)},m=M=>{if(M===0)return"0 Bytes";const x=1024,v=["Bytes","KB","MB","GB"],L=Math.floor(Math.log(M)/Math.log(x));return parseFloat((M/Math.pow(x,L)).toFixed(2))+" "+v[L]};return o.jsxs("div",{className:`${Ae.fileInputContainer} ${r&&i?Ae.hasError:""}`,children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsx("input",{type:"file",id:e.name,name:e.name,multiple:e.attributes?.multiple||!1,accept:e.attributes?.accept,onChange:l,onBlur:c,ref:s,className:Ae.customFileInput}),o.jsxs("label",{htmlFor:e.name,className:`${Ae.fileInputLabel} ${d?Ae.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:g,onClick:u,tabIndex:0,children:[o.jsx("div",{className:Ae.uploadIcon,children:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor",viewBox:"0 0 16 16",children:[o.jsx("path",{d:"M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"}),o.jsx("path",{d:"M7.646 1.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 2.707V11.5a.5.5 0 0 1-1 0V2.707L5.354 4.854a.5.5 0 1 1-.708-.708l3-3z"})]})}),o.jsx("div",{className:Ae.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),o.jsxs("div",{className:Ae.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&o.jsxs("div",{className:Ae.fileList,children:[o.jsx("div",{className:Ae.fileListTitle,children:"Fichiers sélectionnés:"}),o.jsx("ul",{children:Array.from(t).map((M,x)=>o.jsxs("li",{className:Ae.fileItem,children:[o.jsx("div",{className:Ae.fileIcon,children:o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:o.jsx("path",{d:"M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3z"})})}),o.jsx("div",{className:Ae.fileName,children:M.name}),o.jsx("div",{className:Ae.fileSize,children:m(M.size)}),o.jsx("button",{type:"button",className:Ae.removeButton,onClick:v=>{v.stopPropagation(),f(x)},"aria-label":`Supprimer ${M.name}`,children:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:[o.jsx("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),o.jsx("path",{fillRule:"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})]})})]},x))})]}),r&&i&&o.jsx("div",{className:Ae.errorText,children:i})]})},Epe="_container_ecah4_2",Ope="_label_ecah4_6",Upe="_requiredIndicator_ecah4_13",Wpe="_input_ecah4_18",Gpe="_inputError_ecah4_49",Kpe="_errorMessage_ecah4_58",Oc={container:Epe,label:Ope,requiredIndicator:Upe,input:Wpe,inputError:Gpe,errorMessage:Kpe},Vq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r,labelColor:s="black",backgroundColor:d="white"})=>{const h=e.type==="month"?"month":e.type==="week"?"week":e.type==="time"?"time":e.type==="datetime-local"?"datetime-local":"date";return o.jsxs("div",{className:Oc.container,children:[o.jsxs("label",{htmlFor:e.name,className:Oc.label,style:{color:s},children:[e.label,e.required&&o.jsx("span",{className:Oc.requiredIndicator,children:"*"})]}),o.jsx("input",{type:h,id:e.name,name:e.name,value:t||"",onChange:l=>n(l.target.value),onBlur:c,className:`${Oc.input} ${r&&i?Oc.inputError:""}`,style:{color:s,backgroundColor:d},min:e.validation?.min,max:e.validation?.max,step:e.type==="time"?e.attributes?.step:void 0,disabled:e.disabled}),r&&i&&o.jsx("div",{className:Oc.errorMessage,children:i})]})},Zpe="_rangeContainer_cyqk3_3",Xpe={rangeContainer:Zpe},Pq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:`mb-3 ${Xpe.rangeContainer}`,children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,": ",t,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsx("input",{type:"range",id:e.name,name:e.name,value:t||0,onChange:s=>n(s.target.value),onBlur:c,className:`form-range ${r&&i?"is-invalid":""}`,min:e.validation?.min||0,max:e.validation?.max||100,step:e.attributes?.step||1}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),Ype="_colorPickerContainer_1wxgj_2",Jpe="_colorInput_1wxgj_19",Qpe="_colorValue_1wxgj_39",tI={colorPickerContainer:Ype,colorInput:Jpe,colorValue:Qpe},Tq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:"mb-3",children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsxs("div",{className:tI.colorPickerContainer,children:[o.jsx("input",{type:"color",id:e.name,name:e.name,value:t||"#000000",onChange:s=>n(s.target.value),onBlur:c,className:tI.colorInput}),o.jsx("span",{className:tI.colorValue,children:t})]}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),Hq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=["date","month","week","time","datetime-local"];if(e.type==="file")return o.jsx(zq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(s.includes(e.type))return o.jsx(Vq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="range")return o.jsx(Pq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="color")return o.jsx(Tq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});switch(e.type){case"textarea":return o.jsx($q,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"select":return o.jsx(Gw,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"checkbox":return o.jsx(qq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"radio":return o.jsx(Aq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});default:return o.jsx(Sq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})}};var aI,$N;function eye(){if($N)return aI;$N=1;function e(){this.__data__=[],this.size=0}return aI=e,aI}var nI,qN;function Dq(){if(qN)return nI;qN=1;function e(t,n){return t===n||t!==t&&n!==n}return nI=e,nI}var oI,AN;function bL(){if(AN)return oI;AN=1;var e=Dq();function t(n,c){for(var i=n.length;i--;)if(e(n[i][0],c))return i;return-1}return oI=t,oI}var cI,zN;function tye(){if(zN)return cI;zN=1;var e=bL(),t=Array.prototype,n=t.splice;function c(i){var r=this.__data__,s=e(r,i);if(s<0)return!1;var d=r.length-1;return s==d?r.pop():n.call(r,s,1),--this.size,!0}return cI=c,cI}var iI,VN;function aye(){if(VN)return iI;VN=1;var e=bL();function t(n){var c=this.__data__,i=e(c,n);return i<0?void 0:c[i][1]}return iI=t,iI}var rI,PN;function nye(){if(PN)return rI;PN=1;var e=bL();function t(n){return e(this.__data__,n)>-1}return rI=t,rI}var sI,TN;function oye(){if(TN)return sI;TN=1;var e=bL();function t(n,c){var i=this.__data__,r=e(i,n);return r<0?(++this.size,i.push([n,c])):i[r][1]=c,this}return sI=t,sI}var dI,HN;function wL(){if(HN)return dI;HN=1;var e=eye(),t=tye(),n=aye(),c=nye(),i=oye();function r(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var l=s[d];this.set(l[0],l[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,dI=r,dI}var lI,DN;function cye(){if(DN)return lI;DN=1;var e=wL();function t(){this.__data__=new e,this.size=0}return lI=t,lI}var hI,BN;function iye(){if(BN)return hI;BN=1;function e(t){var n=this.__data__,c=n.delete(t);return this.size=n.size,c}return hI=e,hI}var uI,RN;function rye(){if(RN)return uI;RN=1;function e(t){return this.__data__.get(t)}return uI=e,uI}var pI,FN;function sye(){if(FN)return pI;FN=1;function e(t){return this.__data__.has(t)}return pI=e,pI}var yI,EN;function Bq(){if(EN)return yI;EN=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return yI=e,yI}var kI,ON;function It(){if(ON)return kI;ON=1;var e=Bq(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return kI=n,kI}var mI,UN;function Kw(){if(UN)return mI;UN=1;var e=It(),t=e.Symbol;return mI=t,mI}var fI,WN;function dye(){if(WN)return fI;WN=1;var e=Kw(),t=Object.prototype,n=t.hasOwnProperty,c=t.toString,i=e?e.toStringTag:void 0;function r(s){var d=n.call(s,i),h=s[i];try{s[i]=void 0;var l=!0}catch{}var u=c.call(s);return l&&(d?s[i]=h:delete s[i]),u}return fI=r,fI}var gI,GN;function lye(){if(GN)return gI;GN=1;var e=Object.prototype,t=e.toString;function n(c){return t.call(c)}return gI=n,gI}var vI,KN;function CL(){if(KN)return vI;KN=1;var e=Kw(),t=dye(),n=lye(),c="[object Null]",i="[object Undefined]",r=e?e.toStringTag:void 0;function s(d){return d==null?d===void 0?i:c:r&&r in Object(d)?t(d):n(d)}return vI=s,vI}var MI,ZN;function Rq(){if(ZN)return MI;ZN=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return MI=e,MI}var xI,XN;function Fq(){if(XN)return xI;XN=1;var e=CL(),t=Rq(),n="[object AsyncFunction]",c="[object Function]",i="[object GeneratorFunction]",r="[object Proxy]";function s(d){if(!t(d))return!1;var h=e(d);return h==c||h==i||h==n||h==r}return xI=s,xI}var _I,YN;function hye(){if(YN)return _I;YN=1;var e=It(),t=e["__core-js_shared__"];return _I=t,_I}var LI,JN;function uye(){if(JN)return LI;JN=1;var e=hye(),t=function(){var c=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function n(c){return!!t&&t in c}return LI=n,LI}var II,QN;function Eq(){if(QN)return II;QN=1;var e=Function.prototype,t=e.toString;function n(c){if(c!=null){try{return t.call(c)}catch{}try{return c+""}catch{}}return""}return II=n,II}var bI,ej;function pye(){if(ej)return bI;ej=1;var e=Fq(),t=uye(),n=Rq(),c=Eq(),i=/[\\^$.*+?()[\]{}|]/g,r=/^\[object .+?Constructor\]$/,s=Function.prototype,d=Object.prototype,h=s.toString,l=d.hasOwnProperty,u=RegExp("^"+h.call(l).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(y){if(!n(y)||t(y))return!1;var g=e(y)?u:r;return g.test(c(y))}return bI=p,bI}var wI,tj;function yye(){if(tj)return wI;tj=1;function e(t,n){return t?.[n]}return wI=e,wI}var CI,aj;function l1(){if(aj)return CI;aj=1;var e=pye(),t=yye();function n(c,i){var r=t(c,i);return e(r)?r:void 0}return CI=n,CI}var NI,nj;function Zw(){if(nj)return NI;nj=1;var e=l1(),t=It(),n=e(t,"Map");return NI=n,NI}var jI,oj;function NL(){if(oj)return jI;oj=1;var e=l1(),t=e(Object,"create");return jI=t,jI}var SI,cj;function kye(){if(cj)return SI;cj=1;var e=NL();function t(){this.__data__=e?e(null):{},this.size=0}return SI=t,SI}var $I,ij;function mye(){if(ij)return $I;ij=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return $I=e,$I}var qI,rj;function fye(){if(rj)return qI;rj=1;var e=NL(),t="__lodash_hash_undefined__",n=Object.prototype,c=n.hasOwnProperty;function i(r){var s=this.__data__;if(e){var d=s[r];return d===t?void 0:d}return c.call(s,r)?s[r]:void 0}return qI=i,qI}var AI,sj;function gye(){if(sj)return AI;sj=1;var e=NL(),t=Object.prototype,n=t.hasOwnProperty;function c(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return AI=c,AI}var zI,dj;function vye(){if(dj)return zI;dj=1;var e=NL(),t="__lodash_hash_undefined__";function n(c,i){var r=this.__data__;return this.size+=this.has(c)?0:1,r[c]=e&&i===void 0?t:i,this}return zI=n,zI}var VI,lj;function Mye(){if(lj)return VI;lj=1;var e=kye(),t=mye(),n=fye(),c=gye(),i=vye();function r(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var l=s[d];this.set(l[0],l[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,VI=r,VI}var PI,hj;function xye(){if(hj)return PI;hj=1;var e=Mye(),t=wL(),n=Zw();function c(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return PI=c,PI}var TI,uj;function _ye(){if(uj)return TI;uj=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return TI=e,TI}var HI,pj;function jL(){if(pj)return HI;pj=1;var e=_ye();function t(n,c){var i=n.__data__;return e(c)?i[typeof c=="string"?"string":"hash"]:i.map}return HI=t,HI}var DI,yj;function Lye(){if(yj)return DI;yj=1;var e=jL();function t(n){var c=e(this,n).delete(n);return this.size-=c?1:0,c}return DI=t,DI}var BI,kj;function Iye(){if(kj)return BI;kj=1;var e=jL();function t(n){return e(this,n).get(n)}return BI=t,BI}var RI,mj;function bye(){if(mj)return RI;mj=1;var e=jL();function t(n){return e(this,n).has(n)}return RI=t,RI}var FI,fj;function wye(){if(fj)return FI;fj=1;var e=jL();function t(n,c){var i=e(this,n),r=i.size;return i.set(n,c),this.size+=i.size==r?0:1,this}return FI=t,FI}var EI,gj;function Oq(){if(gj)return EI;gj=1;var e=xye(),t=Lye(),n=Iye(),c=bye(),i=wye();function r(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var l=s[d];this.set(l[0],l[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,EI=r,EI}var OI,vj;function Cye(){if(vj)return OI;vj=1;var e=wL(),t=Zw(),n=Oq(),c=200;function i(r,s){var d=this.__data__;if(d instanceof e){var h=d.__data__;if(!t||h.length<c-1)return h.push([r,s]),this.size=++d.size,this;d=this.__data__=new n(h)}return d.set(r,s),this.size=d.size,this}return OI=i,OI}var UI,Mj;function Nye(){if(Mj)return UI;Mj=1;var e=wL(),t=cye(),n=iye(),c=rye(),i=sye(),r=Cye();function s(d){var h=this.__data__=new e(d);this.size=h.size}return s.prototype.clear=t,s.prototype.delete=n,s.prototype.get=c,s.prototype.has=i,s.prototype.set=r,UI=s,UI}var WI,xj;function jye(){if(xj)return WI;xj=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return WI=t,WI}var GI,_j;function Sye(){if(_j)return GI;_j=1;function e(t){return this.__data__.has(t)}return GI=e,GI}var KI,Lj;function $ye(){if(Lj)return KI;Lj=1;var e=Oq(),t=jye(),n=Sye();function c(i){var r=-1,s=i==null?0:i.length;for(this.__data__=new e;++r<s;)this.add(i[r])}return c.prototype.add=c.prototype.push=t,c.prototype.has=n,KI=c,KI}var ZI,Ij;function qye(){if(Ij)return ZI;Ij=1;function e(t,n){for(var c=-1,i=t==null?0:t.length;++c<i;)if(n(t[c],c,t))return!0;return!1}return ZI=e,ZI}var XI,bj;function Aye(){if(bj)return XI;bj=1;function e(t,n){return t.has(n)}return XI=e,XI}var YI,wj;function Uq(){if(wj)return YI;wj=1;var e=$ye(),t=qye(),n=Aye(),c=1,i=2;function r(s,d,h,l,u,p){var y=h&c,g=s.length,f=d.length;if(g!=f&&!(y&&f>g))return!1;var m=p.get(s),M=p.get(d);if(m&&M)return m==d&&M==s;var x=-1,v=!0,L=h&i?new e:void 0;for(p.set(s,d),p.set(d,s);++x<g;){var w=s[x],C=d[x];if(l)var b=y?l(C,w,x,d,s,p):l(w,C,x,s,d,p);if(b!==void 0){if(b)continue;v=!1;break}if(L){if(!t(d,function(_,I){if(!n(L,I)&&(w===_||u(w,_,h,l,p)))return L.push(I)})){v=!1;break}}else if(!(w===C||u(w,C,h,l,p))){v=!1;break}}return p.delete(s),p.delete(d),v}return YI=r,YI}var JI,Cj;function zye(){if(Cj)return JI;Cj=1;var e=It(),t=e.Uint8Array;return JI=t,JI}var QI,Nj;function Vye(){if(Nj)return QI;Nj=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i,r){c[++n]=[r,i]}),c}return QI=e,QI}var eb,jj;function Pye(){if(jj)return eb;jj=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i){c[++n]=i}),c}return eb=e,eb}var tb,Sj;function Tye(){if(Sj)return tb;Sj=1;var e=Kw(),t=zye(),n=Dq(),c=Uq(),i=Vye(),r=Pye(),s=1,d=2,h="[object Boolean]",l="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",g="[object RegExp]",f="[object Set]",m="[object String]",M="[object Symbol]",x="[object ArrayBuffer]",v="[object DataView]",L=e?e.prototype:void 0,w=L?L.valueOf:void 0;function C(b,_,I,S,N,j,A){switch(I){case v:if(b.byteLength!=_.byteLength||b.byteOffset!=_.byteOffset)return!1;b=b.buffer,_=_.buffer;case x:return!(b.byteLength!=_.byteLength||!j(new t(b),new t(_)));case h:case l:case y:return n(+b,+_);case u:return b.name==_.name&&b.message==_.message;case g:case m:return b==_+"";case p:var R=i;case f:var T=S&s;if(R||(R=r),b.size!=_.size&&!T)return!1;var V=A.get(b);if(V)return V==_;S|=d,A.set(b,_);var $=c(R(b),R(_),S,N,j,A);return A.delete(b),$;case M:if(w)return w.call(b)==w.call(_)}return!1}return tb=C,tb}var ab,$j;function Hye(){if($j)return ab;$j=1;function e(t,n){for(var c=-1,i=n.length,r=t.length;++c<i;)t[r+c]=n[c];return t}return ab=e,ab}var nb,qj;function Xw(){if(qj)return nb;qj=1;var e=Array.isArray;return nb=e,nb}var ob,Aj;function Dye(){if(Aj)return ob;Aj=1;var e=Hye(),t=Xw();function n(c,i,r){var s=i(c);return t(c)?s:e(s,r(c))}return ob=n,ob}var cb,zj;function Bye(){if(zj)return cb;zj=1;function e(t,n){for(var c=-1,i=t==null?0:t.length,r=0,s=[];++c<i;){var d=t[c];n(d,c,t)&&(s[r++]=d)}return s}return cb=e,cb}var ib,Vj;function Rye(){if(Vj)return ib;Vj=1;function e(){return[]}return ib=e,ib}var rb,Pj;function Fye(){if(Pj)return rb;Pj=1;var e=Bye(),t=Rye(),n=Object.prototype,c=n.propertyIsEnumerable,i=Object.getOwnPropertySymbols,r=i?function(s){return s==null?[]:(s=Object(s),e(i(s),function(d){return c.call(s,d)}))}:t;return rb=r,rb}var sb,Tj;function Eye(){if(Tj)return sb;Tj=1;function e(t,n){for(var c=-1,i=Array(t);++c<t;)i[c]=n(c);return i}return sb=e,sb}var db,Hj;function SL(){if(Hj)return db;Hj=1;function e(t){return t!=null&&typeof t=="object"}return db=e,db}var lb,Dj;function Oye(){if(Dj)return lb;Dj=1;var e=CL(),t=SL(),n="[object Arguments]";function c(i){return t(i)&&e(i)==n}return lb=c,lb}var hb,Bj;function Uye(){if(Bj)return hb;Bj=1;var e=Oye(),t=SL(),n=Object.prototype,c=n.hasOwnProperty,i=n.propertyIsEnumerable,r=e(function(){return arguments}())?e:function(s){return t(s)&&c.call(s,"callee")&&!i.call(s,"callee")};return hb=r,hb}var M1={exports:{}},ub,Rj;function Wye(){if(Rj)return ub;Rj=1;function e(){return!1}return ub=e,ub}M1.exports;var Fj;function Wq(){return Fj||(Fj=1,function(e,t){var n=It(),c=Wye(),i=t&&!t.nodeType&&t,r=i&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===i,d=s?n.Buffer:void 0,h=d?d.isBuffer:void 0,l=h||c;e.exports=l}(M1,M1.exports)),M1.exports}var pb,Ej;function Gye(){if(Ej)return pb;Ej=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(c,i){var r=typeof c;return i=i??e,!!i&&(r=="number"||r!="symbol"&&t.test(c))&&c>-1&&c%1==0&&c<i}return pb=n,pb}var yb,Oj;function Gq(){if(Oj)return yb;Oj=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return yb=t,yb}var kb,Uj;function Kye(){if(Uj)return kb;Uj=1;var e=CL(),t=Gq(),n=SL(),c="[object Arguments]",i="[object Array]",r="[object Boolean]",s="[object Date]",d="[object Error]",h="[object Function]",l="[object Map]",u="[object Number]",p="[object Object]",y="[object RegExp]",g="[object Set]",f="[object String]",m="[object WeakMap]",M="[object ArrayBuffer]",x="[object DataView]",v="[object Float32Array]",L="[object Float64Array]",w="[object Int8Array]",C="[object Int16Array]",b="[object Int32Array]",_="[object Uint8Array]",I="[object Uint8ClampedArray]",S="[object Uint16Array]",N="[object Uint32Array]",j={};j[v]=j[L]=j[w]=j[C]=j[b]=j[_]=j[I]=j[S]=j[N]=!0,j[c]=j[i]=j[M]=j[r]=j[x]=j[s]=j[d]=j[h]=j[l]=j[u]=j[p]=j[y]=j[g]=j[f]=j[m]=!1;function A(R){return n(R)&&t(R.length)&&!!j[e(R)]}return kb=A,kb}var mb,Wj;function Zye(){if(Wj)return mb;Wj=1;function e(t){return function(n){return t(n)}}return mb=e,mb}var x1={exports:{}};x1.exports;var Gj;function Xye(){return Gj||(Gj=1,function(e,t){var n=Bq(),c=t&&!t.nodeType&&t,i=c&&!0&&e&&!e.nodeType&&e,r=i&&i.exports===c,s=r&&n.process,d=function(){try{var h=i&&i.require&&i.require("util").types;return h||s&&s.binding&&s.binding("util")}catch{}}();e.exports=d}(x1,x1.exports)),x1.exports}var fb,Kj;function Kq(){if(Kj)return fb;Kj=1;var e=Kye(),t=Zye(),n=Xye(),c=n&&n.isTypedArray,i=c?t(c):e;return fb=i,fb}var gb,Zj;function Yye(){if(Zj)return gb;Zj=1;var e=Eye(),t=Uye(),n=Xw(),c=Wq(),i=Gye(),r=Kq(),s=Object.prototype,d=s.hasOwnProperty;function h(l,u){var p=n(l),y=!p&&t(l),g=!p&&!y&&c(l),f=!p&&!y&&!g&&r(l),m=p||y||g||f,M=m?e(l.length,String):[],x=M.length;for(var v in l)(u||d.call(l,v))&&!(m&&(v=="length"||g&&(v=="offset"||v=="parent")||f&&(v=="buffer"||v=="byteLength"||v=="byteOffset")||i(v,x)))&&M.push(v);return M}return gb=h,gb}var vb,Xj;function Jye(){if(Xj)return vb;Xj=1;var e=Object.prototype;function t(n){var c=n&&n.constructor,i=typeof c=="function"&&c.prototype||e;return n===i}return vb=t,vb}var Mb,Yj;function Qye(){if(Yj)return Mb;Yj=1;function e(t,n){return function(c){return t(n(c))}}return Mb=e,Mb}var xb,Jj;function e4e(){if(Jj)return xb;Jj=1;var e=Qye(),t=e(Object.keys,Object);return xb=t,xb}var _b,Qj;function t4e(){if(Qj)return _b;Qj=1;var e=Jye(),t=e4e(),n=Object.prototype,c=n.hasOwnProperty;function i(r){if(!e(r))return t(r);var s=[];for(var d in Object(r))c.call(r,d)&&d!="constructor"&&s.push(d);return s}return _b=i,_b}var Lb,eS;function a4e(){if(eS)return Lb;eS=1;var e=Fq(),t=Gq();function n(c){return c!=null&&t(c.length)&&!e(c)}return Lb=n,Lb}var Ib,tS;function n4e(){if(tS)return Ib;tS=1;var e=Yye(),t=t4e(),n=a4e();function c(i){return n(i)?e(i):t(i)}return Ib=c,Ib}var bb,aS;function o4e(){if(aS)return bb;aS=1;var e=Dye(),t=Fye(),n=n4e();function c(i){return e(i,n,t)}return bb=c,bb}var wb,nS;function c4e(){if(nS)return wb;nS=1;var e=o4e(),t=1,n=Object.prototype,c=n.hasOwnProperty;function i(r,s,d,h,l,u){var p=d&t,y=e(r),g=y.length,f=e(s),m=f.length;if(g!=m&&!p)return!1;for(var M=g;M--;){var x=y[M];if(!(p?x in s:c.call(s,x)))return!1}var v=u.get(r),L=u.get(s);if(v&&L)return v==s&&L==r;var w=!0;u.set(r,s),u.set(s,r);for(var C=p;++M<g;){x=y[M];var b=r[x],_=s[x];if(h)var I=p?h(_,b,x,s,r,u):h(b,_,x,r,s,u);if(!(I===void 0?b===_||l(b,_,d,h,u):I)){w=!1;break}C||(C=x=="constructor")}if(w&&!C){var S=r.constructor,N=s.constructor;S!=N&&"constructor"in r&&"constructor"in s&&!(typeof S=="function"&&S instanceof S&&typeof N=="function"&&N instanceof N)&&(w=!1)}return u.delete(r),u.delete(s),w}return wb=i,wb}var Cb,oS;function i4e(){if(oS)return Cb;oS=1;var e=l1(),t=It(),n=e(t,"DataView");return Cb=n,Cb}var Nb,cS;function r4e(){if(cS)return Nb;cS=1;var e=l1(),t=It(),n=e(t,"Promise");return Nb=n,Nb}var jb,iS;function s4e(){if(iS)return jb;iS=1;var e=l1(),t=It(),n=e(t,"Set");return jb=n,jb}var Sb,rS;function d4e(){if(rS)return Sb;rS=1;var e=l1(),t=It(),n=e(t,"WeakMap");return Sb=n,Sb}var $b,sS;function l4e(){if(sS)return $b;sS=1;var e=i4e(),t=Zw(),n=r4e(),c=s4e(),i=d4e(),r=CL(),s=Eq(),d="[object Map]",h="[object Object]",l="[object Promise]",u="[object Set]",p="[object WeakMap]",y="[object DataView]",g=s(e),f=s(t),m=s(n),M=s(c),x=s(i),v=r;return(e&&v(new e(new ArrayBuffer(1)))!=y||t&&v(new t)!=d||n&&v(n.resolve())!=l||c&&v(new c)!=u||i&&v(new i)!=p)&&(v=function(L){var w=r(L),C=w==h?L.constructor:void 0,b=C?s(C):"";if(b)switch(b){case g:return y;case f:return d;case m:return l;case M:return u;case x:return p}return w}),$b=v,$b}var qb,dS;function h4e(){if(dS)return qb;dS=1;var e=Nye(),t=Uq(),n=Tye(),c=c4e(),i=l4e(),r=Xw(),s=Wq(),d=Kq(),h=1,l="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,g=y.hasOwnProperty;function f(m,M,x,v,L,w){var C=r(m),b=r(M),_=C?u:i(m),I=b?u:i(M);_=_==l?p:_,I=I==l?p:I;var S=_==p,N=I==p,j=_==I;if(j&&s(m)){if(!s(M))return!1;C=!0,S=!1}if(j&&!S)return w||(w=new e),C||d(m)?t(m,M,x,v,L,w):n(m,M,_,x,v,L,w);if(!(x&h)){var A=S&&g.call(m,"__wrapped__"),R=N&&g.call(M,"__wrapped__");if(A||R){var T=A?m.value():m,V=R?M.value():M;return w||(w=new e),L(T,V,x,v,w)}}return j?(w||(w=new e),c(m,M,x,v,L,w)):!1}return qb=f,qb}var Ab,lS;function u4e(){if(lS)return Ab;lS=1;var e=h4e(),t=SL();function n(c,i,r,s,d){return c===i?!0:c==null||i==null||!t(c)&&!t(i)?c!==c&&i!==i:e(c,i,r,s,n,d)}return Ab=n,Ab}var zb,hS;function p4e(){if(hS)return zb;hS=1;var e=u4e();function t(n,c){return e(n,c)}return zb=t,zb}var y4e=p4e();const k4e=a.getDefaultExportFromCjs(y4e),m4e=({schema:e,initialData:t={},onSubmit:n,submitLabel:c,submitIcon:i,submitIconPosition:r="left",onCancel:s,cancelLabel:d="Retour",cancelIcon:h})=>{const[l,u]=k.useState(t),[p,y]=k.useState({}),[g,f]=k.useState({}),[m,M]=k.useState(!1),x=k.useRef(t);k.useEffect(()=>{k4e(x.current,t)||(u(t),x.current=t)},[t]);const v=(I,S)=>{const N={...l,[I]:S};if(u(N),g[I]){const j=e.fields.find(A=>A.name===I);if(j){const A=mL(S,j);y(R=>({...R,[I]:A.isValid?"":A.error}))}}},L=I=>{if(!g[I]){f(N=>({...N,[I]:!0}));const S=e.fields.find(N=>N.name===I);if(S){const N=mL(l[I],S);y(j=>({...j,[I]:N.isValid?"":N.error}))}}},w=async I=>{I.preventDefault(),M(!0);const S=e.fields.reduce((j,A)=>(A.type!=="section"&&(j[A.name]=!0),j),{});f(S);const N=jq(l,e.fields.filter(j=>j.type!=="section"));if(y(N.errors),N.isValid)try{await n(l)}catch(j){console.error("Erreur lors de la soumission:",j),y(A=>({...A,__global:"Une erreur est survenue lors de la soumission"}))}M(!1)},C=h?Mt[h]:null,b=i&&Mt[i]||e.submitIcon&&Mt[e.submitIcon]||null,_=e.columns&&e.columns>0?Math.floor(e.columns):12;return o.jsxs("div",{className:ye.formContainer,children:[o.jsx("div",{className:ye.headerLine,children:o.jsx("h2",{className:ye.formTitle,children:e.title})}),e.description&&o.jsx("p",{className:ye.formDescription,children:e.description}),p.__global&&o.jsx("div",{className:`alert alert-danger ${ye.globalError}`,children:p.__global}),o.jsxs("form",{onSubmit:w,children:[o.jsx("div",{className:ye.gridContainer,style:{gridTemplateColumns:`repeat(${_}, minmax(0, 1fr))`},children:e.fields.map(I=>{if(I.type==="section")return o.jsxs("div",{className:ye.sectionFull,children:[o.jsx("h5",{className:ye.sectionTitle,children:I.label}),I.help&&o.jsx("p",{className:ye.sectionHelp,children:I.help})]},I.name);const N={gridColumn:`span ${Math.max(1,Math.min(_,I.gridCol??_))}`};return o.jsxs("div",{className:ye.fieldGridItem,style:N,children:[o.jsx(Hq,{field:I,value:l[I.name],onChange:j=>v(I.name,j),onBlur:()=>L(I.name),error:p[I.name],touched:g[I.name]}),I.help&&o.jsx("small",{className:ye.fieldHelp,children:I.help})]},I.name)})}),o.jsxs("div",{className:ye.formFooter,children:[o.jsx("div",{className:ye.footerLeft,children:s&&o.jsxs("button",{type:"button",className:ye.cancelLink,onClick:s,children:[C&&o.jsx(C,{size:16,className:"me-2"})," ",d]})}),o.jsx("div",{className:ye.footerRight,children:o.jsx(iL,{type:"submit",variant:"primary",size:"md",className:ye.submitButton,disabled:m,children:m?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status"}),"Validation..."]}):o.jsxs(o.Fragment,{children:[b&&(r==="left"||e.submitIconPosition==="left")&&o.jsx(b,{size:16,className:"me-2"}),c||e.submitText||"Valider",b&&(r==="right"||e.submitIconPosition==="right")&&o.jsx(b,{size:16,className:"ms-2"})]})})})]})]})]})};function f4e(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const uS=new Map,g4e=({path:e,style:t,width:n=24,height:c=24,keepColors:i=!1,onClick:r})=>{const[s,d]=k.useState("");return k.useEffect(()=>{e&&(async()=>{try{let l=uS.get(e);l||(l=fetch(e).then(f=>{if(!f.ok)throw new Error(`Failed to load ${e}`);return f.text()}),uS.set(e,l));let u=await l;const p=t?.width||`${n}px`,y=t?.height||`${c}px`;i||(u=u.replace(/fill="[^"]*"/g,'fill="currentColor"'),u=u.replace(/fill='[^']*'/g,"fill='currentColor'"));const g=i?`width="${p}" height="${y}"`:`width="${p}" height="${y}" fill="currentColor"`;u=u.replace(/<svg/,`<svg ${g}`),d(u)}catch(l){console.error(`Failed to load icon: ${e}`,l)}})()},[e,t?.width,t?.height,n,c]),s?o.jsx("span",{onClick:r,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:t?.color||"inherit",...t},dangerouslySetInnerHTML:{__html:s}}):null},v4e="_container_1gljv_85",M4e="_tableWrapper_1gljv_111",x4e="_tableControls_1gljv_117",_4e="_controlsRight_1gljv_128",L4e="_limitedRows_1gljv_151",I4e="_table_1gljv_111",b4e="_headerCell_1gljv_206",w4e="_headerContent_1gljv_220",C4e="_headerWords_1gljv_229",N4e="_headerWord_1gljv_229",j4e="_cellContent_1gljv_276",S4e="_alignLeft_1gljv_286",$4e="_alignCenter_1gljv_290",q4e="_alignRight_1gljv_294",A4e="_tableCell_1gljv_298",z4e="_tableRow_1gljv_308",V4e="_emptyRow_1gljv_385",P4e="_toggleFiltersButton_1gljv_393",T4e="_toggleSortButton_1gljv_394",H4e="_buttonTextCompact_1gljv_415",D4e="_uppercaseSmall_1gljv_450",B4e="_filtersPanel_1gljv_463",R4e="_filtersPanelInline_1gljv_481",F4e="_filtersPanelHorizontal_1gljv_492",E4e="_filtersRow_1gljv_492",O4e="_filtersActionsHorizontal_1gljv_525",U4e="_filterItemInline_1gljv_542",W4e="_filterLabel_1gljv_571",G4e="_filterInput_1gljv_576",K4e="_filterSelect_1gljv_577",Z4e="_operatorSelect_1gljv_578",X4e="_operatorInput_1gljv_579",Y4e="_activeFilterTag_1gljv_597",J4e="_actionsGroup_1gljv_609",Q4e="_applyButton_1gljv_615",e5e="_cancelButton_1gljv_625",t5e="_columnSorterContainer_1gljv_649",a5e="_sorterControls_1gljv_654",n5e="_sortDropdownWrapper_1gljv_659",o5e="_sortDropdown_1gljv_659",c5e="_sortDropdownHeader_1gljv_679",i5e="_closeButton_1gljv_688",r5e="_sortDropdownContent_1gljv_703",s5e="_sortDropdownItem_1gljv_709",d5e="_sortDirectionButtons_1gljv_734",l5e="_sortDirectionButton_1gljv_734",h5e="_activeSort_1gljv_757",u5e="_sortActions_1gljv_764",p5e="_paginationButton_1gljv_842",y5e="_pageSizeSelect_1gljv_844",k5e="_topPagination_1gljv_853",m5e="_paginationContainer_1gljv_861",f5e="_leftGroup_1gljv_874",g5e="_pageSizeControls_1gljv_882",v5e="_paginationInfo_1gljv_908",M5e="_paginationControls_1gljv_916",x5e="_disabledButton_1gljv_947",_5e="_activeButton_1gljv_952",L5e="_navigationButton_1gljv_962",I5e="_operatorFilterContainer_1gljv_1010",b5e="_rangeSeparator_1gljv_1016",w5e="_activeFiltersSection_1gljv_1179",C5e="_activeFiltersRow_1gljv_1184",N5e="_activeFiltersList_1gljv_1192",j5e="_clearAllButton_1gljv_1200",S5e="_removeFilterButton_1gljv_1221",$5e="_sortIndicator_1gljv_1272",q5e="_active_1gljv_349",A5e="_clearSortButton_1gljv_1371",z5e="_loaderSpinner_1gljv_2743",V5e="_loaderSpinnerSmall_1gljv_2755",P5e="_paginationLoading_1gljv_2772",T5e="_loadingButton_1gljv_2780",H5e="_loadingIndicator_1gljv_2791",z={container:v4e,tableWrapper:M4e,tableControls:x4e,controlsRight:_4e,limitedRows:L4e,table:I4e,headerCell:b4e,headerContent:w4e,headerWords:C4e,headerWord:N4e,cellContent:j4e,alignLeft:S4e,alignCenter:$4e,alignRight:q4e,tableCell:A4e,tableRow:z4e,emptyRow:V4e,toggleFiltersButton:P4e,toggleSortButton:T4e,buttonTextCompact:H4e,uppercaseSmall:D4e,filtersPanel:B4e,filtersPanelInline:R4e,filtersPanelHorizontal:F4e,filtersRow:E4e,filtersActionsHorizontal:O4e,filterItemInline:U4e,filterLabel:W4e,filterInput:G4e,filterSelect:K4e,operatorSelect:Z4e,operatorInput:X4e,activeFilterTag:Y4e,actionsGroup:J4e,applyButton:Q4e,cancelButton:e5e,columnSorterContainer:t5e,sorterControls:a5e,sortDropdownWrapper:n5e,sortDropdown:o5e,sortDropdownHeader:c5e,closeButton:i5e,sortDropdownContent:r5e,sortDropdownItem:s5e,sortDirectionButtons:d5e,sortDirectionButton:l5e,activeSort:h5e,sortActions:u5e,paginationButton:p5e,pageSizeSelect:y5e,topPagination:k5e,paginationContainer:m5e,leftGroup:f5e,pageSizeControls:g5e,paginationInfo:v5e,paginationControls:M5e,disabledButton:x5e,activeButton:_5e,navigationButton:L5e,operatorFilterContainer:I5e,rangeSeparator:b5e,activeFiltersSection:w5e,activeFiltersRow:C5e,activeFiltersList:N5e,clearAllButton:j5e,removeFilterButton:S5e,sortIndicator:$5e,active:q5e,clearSortButton:A5e,loaderSpinner:z5e,loaderSpinnerSmall:V5e,paginationLoading:P5e,loadingButton:T5e,loadingIndicator:H5e},D5e=({config:e,value:t,onChange:n,disabled:c})=>o.jsxs("select",{value:t===""?"":String(t),onChange:i=>n(i.target.value===""?"":i.target.value==="true"),disabled:c,className:z.filterSelect,children:[o.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),o.jsx("option",{value:"true",children:"Oui"}),o.jsx("option",{value:"false",children:"Non"})]}),B5e=({config:e,value:t,onChange:n,disabled:c})=>o.jsx("input",{type:"date",value:t||"",onChange:i=>n(i.target.value),placeholder:`Filtrer ${e.label}...`,disabled:c,className:z.filterInput}),R5e=({config:e,value:t,onChange:n,disabled:c})=>{const[i,r]=k.useState([]);k.useEffect(()=>{(async()=>{if(e.asyncOptions)try{const h=await e.asyncOptions();r(h??[])}catch(h){console.error("Erreur chargement options MultiSelect:",h),r([])}else r(e.options??[])})()},[e]);const s=d=>{const h=Array.from(d.target.selectedOptions,l=>l.value);n(h)};return o.jsx("select",{multiple:!0,value:t.map(String),onChange:s,disabled:c,className:z.filterMultiSelect,children:i.map((d,h)=>o.jsx("option",{value:String(d.value),children:d.label},h))})},pS=({config:e,value:t,onChange:n,disabled:c})=>{const[i,r]=k.useState(t||""),s=d=>{const h=d.target.value===""?"":Number(d.target.value);r(h),n(h)};return o.jsx("input",{type:"number",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:z.filterInput})},F5e=({config:e,value:t,onChange:n,disabled:c=!1})=>{const[i,r]=k.useState([]),[s,d]=k.useState(!1);k.useEffect(()=>{(async()=>{if(e.asyncOptions){d(!0);try{const u=await e.asyncOptions();r(u)}catch(u){console.error("Error loading options:",u)}finally{d(!1)}}else r(e.options||[])})()},[e]);const h=l=>{const u=l.target.value;n(u)};return s?o.jsx("div",{children:"Chargement..."}):o.jsxs("select",{value:String(t||""),onChange:h,disabled:c,className:z.filterInput,children:[o.jsx("option",{value:"",children:"Select..."}),i.map(l=>o.jsx("option",{value:l.value,children:l.label},l.value))]})},E5e=({config:e,value:t,onChange:n,disabled:c=!1})=>{const[i,r]=k.useState("");k.useEffect(()=>{r(typeof t=="string"?t:String(t||""))},[t]);const s=d=>{const h=d.target.value;r(h),n(h)};return o.jsx("input",{type:"text",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:z.filterInput})},O5e=({config:e,value:t,onChange:n,disabled:c=!1})=>{const[i,r]=k.useState(t?.operator||""),[s,d]=k.useState(t?.value||"");k.useEffect(()=>{i&&s&&n({operator:i,value:s})},[i,s,n]);const h=u=>{r(u.target.value)},l=u=>{d(u.target.value)};return o.jsxs("div",{className:z.operatorFilterContainer,children:[o.jsxs("select",{value:i,onChange:h,disabled:c,className:z.operatorSelect,children:[o.jsx("option",{value:"",children:"Sélectionner un opérateur"}),e.operators.map(u=>o.jsx("option",{value:String(u.value),children:u.label},String(u.value)))]}),o.jsx("input",{type:"text",value:s,onChange:l,placeholder:"Valeur",disabled:c||!i,className:z.operatorInput})]})},U5e=({value:e,onChange:t,disabled:n})=>{const c=e||{},i=s=>{t({...c,start:s.target.value})},r=s=>{t({...c,end:s.target.value})};return o.jsxs("div",{className:z.dateRangeContainer,children:[o.jsx("input",{type:"date",value:c.start||"",onChange:i,disabled:n,className:z.filterInput}),o.jsx("span",{className:z.rangeSeparator,children:"→"}),o.jsx("input",{type:"date",value:c.end||"",onChange:r,disabled:n,className:z.filterInput})]})},W5e=({config:e,value:t,onChange:n,disabled:c})=>{switch(e.type){case"text":case"search":return o.jsx(E5e,{config:e,value:t,onChange:n,disabled:c});case"number":return o.jsx(pS,{config:e,value:t,onChange:n,disabled:c});case"range":return o.jsx(pS,{config:e,value:t,onChange:n,disabled:c});case"select":return o.jsx(F5e,{config:e,value:t,onChange:n,disabled:c});case"operator":return o.jsx(O5e,{config:e,value:t,onChange:n,disabled:c});case"multiselect":return o.jsx(R5e,{config:e,value:t,onChange:n,disabled:c});case"date":return o.jsx(B5e,{config:e,value:t,onChange:n,disabled:c});case"daterange":return o.jsx(U5e,{config:e,value:t??{start:"",end:""},onChange:n,disabled:c});case"boolean":return o.jsx(D5e,{config:e,value:t,onChange:n,disabled:c});default:return o.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},Zq=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,isControlled:i=!1})=>{const[r,s]=k.useState([]),[d,h]=k.useState(()=>{const f={};return e.forEach(m=>{m.type==="daterange"?f[m.id]={start:"",end:""}:f[m.id]=m.defaultValue??""}),f});k.useEffect(()=>{if(!i)return;const f={...d??{}};e.forEach(m=>{m.id in f||(f[m.id]=m.type==="daterange"?{start:"",end:""}:m.defaultValue??"")}),(t||[]).forEach(m=>{!m||!m.id||(f[m.id]=m.value)}),h(f),s(t??[])},[i,JSON.stringify(t||[]),JSON.stringify(e.map(f=>f.id))]);const l=i?t:r,u=k.useCallback((f,m)=>{h(M=>({...M,[f]:m}))},[]),p=k.useCallback(async()=>{const f=[],m={...d};for(const[M,x]of Object.entries(m)){const v=e.find(C=>C.id===M);if(!v)continue;let L=x;try{typeof x=="function"&&(L=await x(m)),typeof v.executeOnApply=="function"&&(L=await v.executeOnApply(L,m))}catch{continue}if(v.type==="daterange"){const C=L?.start??"",b=L?.end??"",_=typeof C=="string"?C.trim()==="":!C,I=typeof b=="string"?b.trim()==="":!b;if(_&&I)continue}L==null||typeof L=="string"&&L.trim()===""||Array.isArray(L)&&L.length===0||typeof L=="object"&&!Array.isArray(L)&&Object.keys(L).length===0||f.push({id:M,type:v.type,value:L,label:v.label})}return i?n?.(f):(s(f),c?.(f)),f},[d,e,i,n,c]),y=k.useCallback(f=>{h(m=>({...m,[f]:void 0})),u(f,void 0)},[u]),g=k.useCallback(()=>{const f={};e.forEach(m=>{m.type==="daterange"?f[m.id]={start:"",end:""}:f[m.id]=m.defaultValue??""}),h(f),i?n?.([]):(s([]),c?.([]))},[e,i,n,c]);return{appliedFilters:l,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:g}},G5e=(e,t)=>{if(e==null)return!1;const n=t.value;if(n==null)return!1;switch(t.type){case"text":case"search":return String(e).toLowerCase().includes(String(n).toLowerCase());case"number":case"range":return Number(e)===Number(n);case"select":case"multiselect":return Array.isArray(n)?n.includes(e)||n.map(c=>String(c)).includes(String(e)):String(e)===String(n);case"boolean":return!!e==!!n;case"date":return new Date(e).getTime()===new Date(String(n)).getTime();case"daterange":try{if(!n||typeof n!="object")return!1;const c=n;if(!c.start||!c.end)return!1;const i=c.start,r=c.end;if(typeof i!="string"||typeof r!="string"||!i.trim()||!r.trim())return!1;const s=new Date(e).getTime(),d=new Date(i).getTime(),h=new Date(r).getTime();return isNaN(s)||isNaN(d)||isNaN(h)?!1:s>=d&&s<=h}catch(c){return console.error("Error processing daterange filter:",c),!1}case"operator":if(typeof n=="object"&&n!==null){const c=n;if(!("operator"in c)||!("value"in c))return!1;const{operator:i,value:r}=c,s=Number(e),d=Number(r);if(isNaN(s)||isNaN(d))return String(e).includes(String(r));switch(i){case"equals":return s===d;case"gt":return s>d;case"lt":return s<d;case"gte":return s>=d;case"lte":return s<=d;default:return String(e).includes(String(r))}}return!1;default:return String(e).toLowerCase().includes(String(n).toLowerCase())}};function Xq(e,t,n="",c={key:null,direction:"asc"},i=1,r=10,s=[]){const d=Math.max(1,r),h=(n||"").trim().toLowerCase(),l=k.useMemo(()=>{let m=e;return h&&(m=m.filter(M=>t.some(x=>{const v=M.data[x.id];return v==null?!1:String(v).toLowerCase().includes(h)}))),s.length>0&&(m=m.filter(M=>s.every(x=>{try{const v=M.data[x.id];return G5e(v,x)}catch(v){return console.error("Error applying filter:",v),!1}}))),m},[e,t,h,s]),u=k.useMemo(()=>{if(!c?.key)return l;const m=c.key;return[...l].sort((M,x)=>{const v=M.data[m],L=x.data[m];if(v==null)return 1;if(L==null)return-1;if(typeof v=="number"&&typeof L=="number")return c.direction==="desc"?L-v:v-L;if(v instanceof Date&&L instanceof Date){const C=v.getTime()-L.getTime();return c.direction==="desc"?-C:C}const w=String(v).localeCompare(String(L),void 0,{numeric:!0,sensitivity:"base"});return c.direction==="desc"?-w:w})},[l,c]),p=u,y=Math.ceil(u.length/d),g=0,f=Math.min(i*d,u.length);return{paginatedData:p,sortedData:u,filteredData:l,totalPages:y,startIndex:g,endIndex:f}}const Yq=({value:e})=>e,Jq=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),Qq=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),eA=({value:e})=>{if(!e)return null;const t={success:"success-badge",warning:"warning-badge",error:"error-badge",info:"info-badge",default:"default-badge"},n=typeof e=="object"?e.type:"default",c=typeof e=="object"?e.text:e,i=t[n]||t.default;return k.createElement("span",{className:`badge ${i}`},c)},tA=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},aA=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),nA=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),oA=({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"})),lw={renderers:{text:Yq,email:Jq,link:Qq,badge:eA,date:tA,number:aA,currency:nA,image:oA},icons:{sortAsc:k.createElement(qc,{className:"sort-icon active",size:14}),sortDesc:k.createElement(zt,{className:"sort-icon active",size:14}),sortDefault:k.createElement(e1,{className:"sort-icon",size:14})}},K5e=(e,t)=>{lw.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),lw.renderers[e]=t},Z5e=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,isControlled:i=!1,debounceTimeout:r=300,expanded:s,onToggle:d,panelPlacement:h="top",onPanelHeightChange:l,label:u="Advanced-Filters",applyLabel:p="Apply",cancelLabel:y="Cancel",clearLabel:g="Clear",applyDisabled:f=!1,loading:m=!1})=>{const[M,x]=k.useState(!1),v=typeof s=="boolean"?s:M,{appliedFilters:L,tempFilters:w,updateFilter:C,applyFilters:b,clearAllFilters:_}=Zq({filters:e,externalFilters:t,onFiltersChange:n,onApply:c,isControlled:i}),I=k.useRef(null),S=k.useRef(null);k.useEffect(()=>{if(v&&I.current){const V=I.current.getBoundingClientRect().height;l?.(V)}else l?.(0)},[v,e,w,l]);const N=()=>{typeof s=="boolean"?d?.(!s):x(V=>{const $=!V;return d?.($),$})},j=()=>e.map(V=>{const $=w?.[V.id];return $==null||typeof $=="string"&&$.trim()===""?null:{id:V.id,label:V.label,value:$}}).filter(Boolean),A=async()=>{let V;try{V=await b()}catch{V=void 0}let $=[];V&&Array.isArray(V)&&V.length>0?$=V:L&&L.length>0?$=L:$=j(),n?.($),c?.($)},R=()=>{d?.(!1),typeof s!="boolean"&&x(!1)},T=()=>{_(),n?.([]),c?.([])};return k.useEffect(()=>{const V=q=>{v&&S.current&&(S.current.contains(q.target)||(d?.(!1),typeof s!="boolean"&&x(!1)))},$=q=>{q.key==="Escape"&&v&&(d?.(!1),typeof s!="boolean"&&x(!1))};return v&&(document.addEventListener("pointerdown",V),document.addEventListener("keydown",$)),()=>{document.removeEventListener("pointerdown",V),document.removeEventListener("keydown",$)}},[v,s,d]),o.jsxs("div",{className:z.advancedFiltersContainer,ref:S,children:[o.jsxs("button",{className:`${z.toggleFiltersButton} ${L.length>0?z.active:""} ${v?z.toggleFiltersButtonOpen:""} ${m?z.loadingButton:""}`,onClick:N,"aria-expanded":v,"aria-controls":"advanced-filters-panel",type:"button",disabled:m,children:[m?o.jsx("span",{className:z.loaderSpinnerSmall}):o.jsx(jt,{size:14}),o.jsx("span",{className:z.buttonTextCompact,children:u}),L.length>0&&!m&&o.jsx("span",{className:z.filterCountBadge,"aria-hidden":!0,children:L.length}),m&&o.jsx("span",{className:z.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),v&&o.jsxs("div",{id:"advanced-filters-panel",ref:I,className:`${z.filtersPanel} ${h==="top"?`${z.filtersPanelInline} ${z.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[o.jsx("div",{className:z.filtersRow,children:e.map(V=>o.jsxs("div",{className:`${z.filterItem} ${z.filterItemInline}`,children:[o.jsxs("label",{className:z.filterLabel,children:[V.label,V.required&&o.jsx("span",{className:z.required,children:"*"})]}),o.jsx(W5e,{config:V,value:w[V.id],onChange:$=>C(V.id,$),disabled:V.disabled})]},V.id))}),o.jsxs("div",{className:z.filtersActionsHorizontal,children:[o.jsx("div",{className:z.activeFiltersSection,children:L.length>0&&o.jsxs("div",{className:z.activeFiltersRow,children:[o.jsx("span",{className:z.activeLabelCompact,children:"Actifs :"}),o.jsx("div",{className:z.activeFiltersList,children:L.map(V=>o.jsxs("div",{className:z.activeFilterTag,children:[V.label??V.id,o.jsx("button",{className:z.removeFilterButton,onClick:()=>C(V.id,void 0),"aria-label":`Supprimer ${V.id}`,type:"button",children:"×"})]},V.id))}),o.jsxs("button",{className:z.clearAllButton,onClick:T,type:"button",children:[o.jsx(Xe,{size:12})," ",g]})]})}),o.jsxs("div",{className:z.actionsGroup,children:[o.jsx("button",{className:z.cancelButton,onClick:R,type:"button",disabled:m,children:y}),o.jsx("button",{className:`${z.applyButton} ${m?z.loadingButton:""}`,onClick:A,type:"button",disabled:f||m,"aria-disabled":f||m,children:m?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:z.loaderSpinnerSmall}),o.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},yS=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},X5e=({columns:e,sortConfig:t,onSort:n,label:c="Sort",loading:i=!1})=>{const[r,s]=k.useState(!1),d=e.filter(f=>f.sortable),h=k.useRef(null),l=t?.key!==null&&t?.key!==void 0,u=(f,m)=>{n({key:f,direction:m}),s(!1)},p=()=>{n({key:null,direction:"asc"}),s(!1)},y=()=>s(f=>!f),g=()=>{s(!1)};return k.useEffect(()=>{if(!r)return;const f=M=>{if(!h.current)return;const x=M.target;x&&!h.current.contains(x)&&s(!1)},m=M=>{M.key==="Escape"&&s(!1)};return document.addEventListener("pointerdown",f),document.addEventListener("keydown",m),()=>{document.removeEventListener("pointerdown",f),document.removeEventListener("keydown",m)}},[r]),k.useEffect(()=>{const f=document.querySelector("[data-table-wrapper]");if(!f)return;const m=f.style.overflow??"";return r?f.style.overflow="hidden":f.style.overflow=m,()=>{f.style.overflow=m}},[r]),o.jsx("div",{className:z.columnSorterContainer,ref:h,children:o.jsx("div",{className:z.sorterControls,children:d.length>0&&o.jsxs("div",{className:z.sortDropdownWrapper,ref:h,children:[o.jsxs("button",{className:`${z.toggleSortButton} ${r?z.toggleSortButtonOpen:""} ${l?z.active:""} ${i?z.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?o.jsx("span",{className:z.loaderSpinnerSmall}):o.jsx(e1,{size:14}),o.jsx("span",{className:`${z.buttonTextCompact} ${yS(c)?z.uppercaseSmall:""}`,children:c}),l&&!i&&o.jsx("div",{className:z.sortIndicator,children:t?.direction==="asc"?o.jsx(qc,{size:12}):o.jsx(zt,{size:12})})]}),r&&o.jsxs("div",{className:`${z.sortDropdown} ${z.sortDropdownInline}`,role:"menu",children:[o.jsxs("div",{className:z.sortDropdownHeader,children:[o.jsx("span",{children:"Trier par:"}),o.jsx("button",{className:z.closeButton,onClick:g,"aria-label":"Fermer",type:"button",children:o.jsx(Xe,{size:16})})]}),o.jsx("div",{className:z.sortDropdownContent,children:d.map(f=>{const m=String(f.label??f.id),M=yS(m);return o.jsxs("div",{className:z.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:x=>{x.key==="Enter"&&u(f.id,"asc")},children:[o.jsx("span",{className:`${z.columnSorterLabel} ${M?z.uppercaseSmall:""}`,title:m,"aria-label":m,children:m}),o.jsxs("div",{className:z.sortDirectionButtons,children:[o.jsx("button",{className:`${z.sortDirectionButton} ${t?.key===f.id&&t?.direction==="asc"?z.activeSort:""}`,onClick:()=>u(f.id,"asc"),title:"Trier par ordre croissant",type:"button",children:o.jsx(qc,{size:12})}),o.jsx("button",{className:`${z.sortDirectionButton} ${t?.key===f.id&&t?.direction==="desc"?z.activeSort:""}`,onClick:()=>u(f.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:o.jsx(zt,{size:12})})]})]},f.id)})}),l&&o.jsx("div",{className:z.sortActions,children:o.jsxs("button",{className:z.clearSortButton,onClick:p,type:"button",children:[o.jsx(Nt,{size:14}),o.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},Y5e=({currentPage:e,totalPages:t,pageSize:n,totalItems:c,itemLabel:i="items",onPageChange:r,onPageSizeChange:s,loading:d=!1})=>{const h=Math.max(1,Math.floor(t)),l=Math.min(Math.max(1,Math.floor(e)),h),u=()=>{l>1&&r(l-1)},p=()=>{if(l<t){const m=l+1;r(m)}},y=c>0?(l-1)*n+1:0,g=c>0?Math.min(l*n,c):0,f=()=>{const m=[];let x=Math.max(1,l-Math.floor(2.5)),v=x+5-1;v>h&&(v=h,x=Math.max(1,v-5+1));for(let L=x;L<=v;L++)m.push(L);return m};return o.jsxs("div",{className:z.paginationContainer,role:"navigation","aria-label":"Pagination",children:[o.jsx("div",{className:z.leftGroup,children:s&&o.jsx("div",{className:z.pageSizeControls,children:o.jsx("select",{value:n,onChange:m=>s(Number(m.target.value)),className:z.pageSizeSelect,"aria-label":"Taille de page",disabled:d,children:[10,20,30].map(m=>o.jsx("option",{value:m,children:m},m))})})}),o.jsx("div",{className:z.paginationInfo,"aria-live":"polite",children:d?o.jsxs("span",{className:z.paginationLoading,children:[o.jsx("span",{className:z.loaderSpinner}),o.jsx("span",{children:"Chargement..."})]}):`${y}-${g} ${i}`}),o.jsxs("div",{className:z.paginationControls,children:[o.jsx("button",{onClick:u,disabled:l===1||d,className:`${z.paginationButton} ${z.navigationButton} ${l===1?z.disabledButton:""} ${d?z.loadingButton:""}`,"aria-label":"Page précédente",children:d&&l>1?o.jsx("span",{className:z.loaderSpinnerSmall}):"«"}),f().map(m=>o.jsx("button",{onClick:()=>r(m),disabled:d,"aria-current":l===m?"page":void 0,className:`${z.paginationButton} ${l===m?z.activeButton:""} ${d?z.loadingButton:""}`,children:d&&l===m?o.jsx("span",{className:z.loaderSpinnerSmall}):m},m)),o.jsx("button",{onClick:p,disabled:d||l>=h,className:`${z.paginationButton} ${z.navigationButton} ${d?z.loadingButton:""} ${l>=h?z.disabledButton:""}`,"aria-label":"Page suivante",children:d?o.jsx("span",{className:z.loaderSpinnerSmall}):"»"})]})]})},J5e=(e,t)=>{if(!e)return"";if(t)return e;const n=String(e).trim();if(!n)return n;const c=n.toLowerCase();return c.charAt(0).toUpperCase()+c.slice(1)},Q5e=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},eke=({columns:e})=>o.jsx("thead",{className:z.tableHeader,children:o.jsx("tr",{children:e.map((t,n)=>{const c=t.align==="right"?z.alignRight:t.align==="left"?z.alignLeft:z.alignCenter,i=t.preserveHeaderCase===!0,r=J5e(String(t.label??""),i),s=Q5e(r),d=s?r.split(/\s+/):[];return o.jsx("th",{className:`${z.headerCell} ${c}`,style:{width:t.width??void 0},"data-preserve":i?"true":"false",title:t.a11yConfig?.mode==="guide"?t.a11yConfig.description:t.a11yConfig?.mode==="key"?t.a11yConfig.key:void 0,children:o.jsx("div",{className:z.headerContent,children:s?o.jsx("div",{className:z.headerWords,children:d.map((h,l)=>o.jsx("span",{className:z.headerWord,children:h},l))}):o.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),tke=({value:e,row:t,column:n})=>{const c=n.align==="right"?z.alignRight:n.align==="left"?z.alignLeft:z.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return o.jsx("td",{className:`${z.tableCell} ${c}`,style:{width:n.width??void 0},children:o.jsx("div",{className:z.cellContent,children:i})})},ake=({row:e,rowId:t,columns:n,onRowClick:c,index:i,getRowStyle:r})=>{const s=r?r(e):{},{backgroundColor:d,accentColor:h,...l}=s||{},u={backgroundColor:d,...l,"--row-accent":h??"transparent"};return o.jsx("tr",{className:`${z.tableRow} ${c?z.clickableRow:""}`,onClick:()=>c?.(e,i),style:u,children:n.map(p=>o.jsx(tke,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},nke=({data:e,columns:t,onRowClick:n,startIndex:c,searchTerm:i,getRowStyle:r})=>e.length===0?o.jsx("tbody",{children:o.jsx("tr",{children:o.jsx("td",{colSpan:t.length,className:z.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):o.jsx("tbody",{children:e.map((s,d)=>o.jsx(ake,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:c+d-1,getRowStyle:r},s.id))}),cA=({columns:e=[],data:t=[],pagination:n={pageSize:10,currentPage:1},onRowClick:c,searchTerm:i="",className:r="",filterConfig:s=[],externalFilters:d=[],onFiltersChange:h,onApplyFilters:l,onSort:u,filtersControlled:p=!1,debounceTimeout:y=300,getRowStyle:g,background:f,onPageSizeChange:m,onPageChange:M,itemLabel:x="items",advancedFiltersLabel:v="Advanced-Filters",advancedFiltersActiveLabel:L,sortLabel:w="Sort",applyLabel:C="Apply",cancelLabel:b="Cancel",clearLabel:_="Clear",applyDisabled:I=!1,paginationLoading:S=!1,filtersLoading:N=!1,sortLoading:j=!1,totalCount:A=null})=>{const[R,T]=k.useState({key:null,direction:"asc"}),[V,$]=k.useState(n.currentPage??1),[q,P]=k.useState(n.pageSize??10),[H,D]=k.useState(!1),E=k.useRef(null),[K,te]=k.useState([]),ne=p?d:K,Me=p?[]:K;k.useEffect(()=>{const se=n.currentPage??1,Ht=n.pageSize??10;se!==V&&$(se),Ht!==q&&P(Ht)},[n.currentPage,n.pageSize]);const{paginatedData:me,sortedData:je,totalPages:he,startIndex:Y}=Xq(t,e,i,R,V,q,Me),ee=je.length,ie=typeof A=="number"&&A>=0?A:ee;let ue=he;typeof A=="number"&&A>=0&&(ue=Math.max(1,Math.ceil(A/q)));const re=ee>10;k.useEffect(()=>{const se=Math.max(1,Math.floor(ue));V>se&&$(se),V<1&&$(1)},[ue]);const W=se=>{p||te(se),h?.(se),$(1),M?.(1)},O=se=>{p||te(se),l?.(se),$(1),M?.(1),E.current&&E.current.style.setProperty("--filters-panel-height","0px")},oe=se=>{M?.(se),$(se)},Ce=se=>{P(se),$(1),m?.(se),M?.(1)},Re=se=>{E.current&&E.current.style.setProperty("--filters-panel-height",`${Math.round(se)}px`)},ge=se=>{T(se),u?.(se)},Ne=se=>{D(se),!se&&E.current&&E.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(ne?.length??0)>0&&D(!0)},[ne]),k.useEffect(()=>{s.length>0&&ne.length>0&&D(!0)},[s.length,ne.length]);const h1=(ne?.length??0)>0&&L?L:v;return o.jsxs("div",{ref:E,className:`${z.container} ${r} ${H?z.filtersOpen:""}`,style:{background:f,"--row-height":"48px","--header-height":"56px"},children:[o.jsx("div",{className:z.tableControls,children:o.jsxs("div",{className:z.controlsRight,children:[o.jsx(X5e,{columns:e,onSort:ge,label:w,sortConfig:R,loading:j}),s.length>0&&o.jsx(Z5e,{filters:s,externalFilters:ne,onFiltersChange:W,onApply:O,isControlled:p,debounceTimeout:y,expanded:H,onToggle:Ne,panelPlacement:"top",onPanelHeightChange:Re,label:h1,applyLabel:C,cancelLabel:b,clearLabel:_,applyDisabled:I,loading:N})]})}),o.jsx("div",{className:z.topPagination,children:o.jsx(Y5e,{currentPage:V,totalPages:ue,pageSize:q,totalItems:ie,itemLabel:x,onPageChange:oe,onPageSizeChange:Ce,loading:S})}),o.jsx("div",{className:`${z.tableWrapper} ${re?z.limitedRows:""}`,"data-table-wrapper":!0,children:o.jsxs("table",{className:z.table,children:[o.jsx(eke,{columns:e}),o.jsx(nke,{data:me,columns:e,onRowClick:c,startIndex:Y,getRowStyle:g,searchTerm:i})]})})]})};function oke(e){const{pagination:t,totalCount:n,onPageChange:c,...i}=e,r=t?.pageSize??20,s=t?.currentPage??1,d=k.useMemo(()=>{if(n===null||typeof n>"u")return null;const p=Number(n);if(!Number.isFinite(p)||p<=0)return 1;const y=Number(r);return!Number.isFinite(y)||y<=0?1:Math.max(1,Math.ceil(p/y))},[n,r]),h=s>1,l=d===null?!1:s<d,u=p=>{typeof p=="number"&&(p<1||p<s&&!h||p>s&&!l||c?.(p))};return o.jsx(cA,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const cke="_mpRoot_31595_1",ike="_mpHeader_31595_22",rke="_mpTitle_31595_31",ske="_mpList_31595_35",dke="_mpVertical_31595_41",lke="_mpHorizontal_31595_46",hke="_mpItem_31595_55",uke="_mpClickable_31595_95",pke="_mpLeft_31595_117",yke="_mpIcon_31595_125",kke="_mpMeta_31595_140",mke="_mpLabel_31595_145",fke="_mpDate_31595_154",gke="_mpRight_31595_160",vke="_mpValue_31595_168",Mke="_mpHint_31595_176",xke="_mpBadge_31595_180",_ke="_mpBadgeTop_31595_199",Lke="_mpBadgeSub_31595_206",Ike="_mpBadgeSmall_31595_213",bke="_mpPill_31595_229",wke="_mpRounded_31595_232",Cke="_mpCompact_31595_236",Nke="_compactItemWrapper_31595_252",jke="_mpSummaryRoot_31595_265",Ske="_mpSummaryInner_31595_269",$ke="_mpSummaryFlex_31595_284",qke="_mpSummaryCardWrapperHorizontal_31595_292",Ake="_mpSummaryCardWrapper_31595_292",zke="_mpSummaryCardHorizontal_31595_303",Vke="_mpSummaryCard_31595_292",Pke="_mpSummaryValue_31595_321",Tke="_mpSummaryLabel_31595_327",Hke="_mpSummaryBadge_31595_338",Dke="_mpSummaryBadgeSub_31595_357",Bke="_mpEmpty_31595_365",Rke="_mpSummaryVertical_31595_372",Fke="_mpIconSquare_31595_380",X={mpRoot:cke,mpHeader:ike,mpTitle:rke,mpList:ske,mpVertical:dke,mpHorizontal:lke,mpItem:hke,mpClickable:uke,mpLeft:pke,mpIcon:yke,mpMeta:kke,mpLabel:mke,mpDate:fke,mpRight:gke,mpValue:vke,mpHint:Mke,mpBadge:xke,mpBadgeTop:_ke,mpBadgeSub:Lke,mpBadgeSmall:Ike,mpPill:bke,mpRounded:wke,mpCompact:Cke,compactItemWrapper:Nke,mpSummaryRoot:jke,mpSummaryInner:Ske,mpSummaryFlex:$ke,mpSummaryCardWrapperHorizontal:qke,mpSummaryCardWrapper:Ake,mpSummaryCardHorizontal:zke,mpSummaryCard:Vke,mpSummaryValue:Pke,mpSummaryLabel:Tke,mpSummaryBadge:Hke,mpSummaryBadgeSub:Dke,mpEmpty:Bke,mpSummaryVertical:Rke,mpIconSquare:Fke},At=(e,t=1)=>{if(!e||typeof e!="string")return`rgba(124, 58, 237, ${t})`;const n=e.trim();if(n.toLowerCase()==="transparent")return"rgba(0,0,0,0)";if(/^rgba?\(/i.test(n))return/^rgba\(/i.test(n)?n.replace(/rgba\(([^)]+),\s*([0-9.]+)\s*\)$/,(d,h)=>`rgba(${h.split(",").map(u=>u.trim()).slice(0,3).join(", ")}, ${t})`):n;let c=n.replace("#","").toLowerCase();if(c.length===3&&(c=c.split("").map(d=>d+d).join("")),!/^[0-9a-f]{6}$/i.test(c))return`rgba(124, 58, 237, ${t})`;const i=parseInt(c.slice(0,2),16),r=parseInt(c.slice(2,4),16),s=parseInt(c.slice(4,6),16);return`rgba(${i}, ${r}, ${s}, ${t})`},Eke=({item:e,shape:t,onItemClick:n,color:c,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[X.mpItem,t==="pill"?X.mpPill:X.mpRounded,n?X.mpClickable:""].filter(Boolean).join(" ");if(i)return o.jsx("div",{className:s,role:n?"button":"group",tabIndex:n?0:-1,onClick:r,onKeyDown:y=>{n&&(y.key==="Enter"||y.key===" ")&&(n(e),y.preventDefault())},"aria-label":n?`Voir les détails de ${e.label}`:void 0,children:i(e)});const d=n?"button":"div",h=n?{onClick:r,className:s,type:"button","aria-label":`Voir les détails de ${e.label}`}:{className:s,role:"group"},l=e.iconComponent,u=e.iconSquareBg,p=e.iconColor;return o.jsxs(d,{...h,children:[o.jsxs("div",{className:X.mpLeft,children:[l?o.jsx("div",{className:X.mpIconSquare,style:{background:u??At(p??c??"#7c3aed",1),border:`1px solid ${At(p??c??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(l,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?o.jsx("div",{className:X.mpIcon,children:e.icon}):null,o.jsxs("div",{className:X.mpMeta,children:[o.jsx("div",{className:X.mpLabel,children:e.label}),e.subLabel&&o.jsx("div",{className:X.mpDate,children:e.subLabel}),e.date&&o.jsx("div",{className:X.mpDate,children:e.date})]})]}),o.jsxs("div",{className:X.mpRight,children:[o.jsx("div",{className:X.mpValue,style:{color:e.valueColor??c??void 0},children:e.value}),e.badge?o.jsxs("div",{className:[X.mpBadge,e.badge.small?X.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??At(e.badge.color||c||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":At(e.badge.color||c||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[o.jsx("div",{className:X.mpBadgeTop,children:e.badge.text}),e.badge.subText&&o.jsx("div",{className:X.mpBadgeSub,children:e.badge.subText})]}):e.hint?o.jsx("div",{className:X.mpHint,children:e.hint}):null]})]})},Oke=k.memo(Eke),kS=({title:e,right:t})=>!e&&!t?null:o.jsxs("div",{className:X.mpHeader,children:[o.jsx("div",{className:X.mpTitle,children:e}),o.jsx("div",{children:t})]}),mS=(e,t=1)=>{try{return At(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Uke=({item:e})=>o.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:14,borderRadius:12,minHeight:88,boxSizing:"border-box",background:e.bgColor??"transparent",border:`1px solid ${e.borderColor??"transparent"}`,boxShadow:"0 4px 10px rgba(15,23,42,0.03)"},children:[o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[o.jsx("div",{style:{fontSize:13,fontWeight:700,color:"#475569"},children:e.label}),o.jsx("div",{style:{fontSize:26,fontWeight:900,color:"#0f172a",lineHeight:1},children:e.value})]}),o.jsx("div",{title:String(e.label),style:{display:"flex",alignItems:"center",justifyContent:"center",width:48,height:48,borderRadius:10,background:e.iconSquareBg??mS("#7c3aed",.12),border:`1px solid ${mS(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),Wke=({item:e,bg:t,onClick:n,width:c,height:i,extraStyle:r})=>o.jsxs("div",{className:X.mpSummaryCard,style:{background:t,width:c??void 0,height:i??void 0,...r??{}},role:n?"button":"group",tabIndex:n?0:-1,onClick:()=>n?.(e),children:[o.jsx("div",{className:X.mpSummaryLabel,children:e.label}),o.jsx("div",{className:X.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&o.jsxs("div",{className:X.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:X.mpSummaryBadgeSub,children:e.badge.subText})]})]}),fS=(e,t=1)=>{try{return At(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},gS=e=>o.jsxs("div",{style:{display:"grid",gridTemplateRows:"auto 1fr",width:"100%",gap:8,alignItems:"center",boxSizing:"border-box",minWidth:0},children:[o.jsxs("div",{style:{display:"flex",justifyContent:"space-between-left",alignItems:"baseline",gap:10,width:"100%"},children:[o.jsx("div",{style:{fontWeight:700,fontSize:"clamp(14px, 1.2vw, 16px)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0},children:e.label}),e.subLabel?o.jsx("div",{style:{fontSize:"clamp(13px, 1.1vw, 15px)",fontWeight:600,whiteSpace:"nowrap"},children:e.subLabel}):null]}),o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:15,width:"100%"},children:[o.jsx("div",{style:{fontWeight:900,fontSize:"clamp(16px, 1.6vw, 20px)",color:e.valueColor,lineHeight:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.value}),e.badge?o.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"8px 12px",borderRadius:10,backgroundColor:e.badge.bg?e.badge.bg:fS("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:fS("#7c3aed",.12)}`,color:e.badge.textColor||"#0f172a",fontWeight:700,fontSize:"clamp(12px, 1.2vw, 14px)",width:"120px",height:"52px",textAlign:"center",boxSizing:"border-box",overflow:"hidden",boxShadow:"0 2px 4px rgba(0,0,0,0.1)",lineHeight:1.2,flexShrink:0},children:[o.jsx("div",{style:{fontSize:14,fontWeight:800,lineHeight:1.2,letterSpacing:"0.02em",width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.badge.text}),e.badge.subText?o.jsx("div",{style:{fontSize:13,marginTop:4,fontWeight:700,letterSpacing:"0.01em",width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.badge.subText}):null]}):null]})]}),vS=(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}},Gke=e=>{switch(e){case"image":return t=>k.createElement(Uke,{item:t});case"pertinence":return t=>k.createElement(Wke,{item:t});case"alternateHorizontal":return t=>vS(gS,t);case"compact":return t=>vS(gS,t);case"summary":return;case"default":default:return}},iA=({item:e,orientation:t,bg:n,border:c,valueColor:i,onClick:r,width:s,height:d,extraStyle:h})=>{const u=t==="horizontal"?X.mpSummaryCardHorizontal:X.mpSummaryCard;return o.jsxs("div",{className:u,style:{background:n,border:`1px solid ${c}`,width:s??void 0,height:d??void 0,...h??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&o.jsxs("div",{className:X.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:X.mpSummaryBadgeSub,children:e.badge.subText})]}),o.jsx("div",{className:X.mpSummaryValue,style:{color:i},children:e.value}),o.jsx("div",{className:X.mpSummaryLabel,children:e.label})]})},Kke=["transparent","transparent","transparent","transparent"],Zke=["transparent","transparent","transparent","transparent"],Xke=["#059669","#2563eb","#b45309","#7c3aed"],Yke=(e,t=1)=>{try{return At(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},rA=e=>{const{items:t=[],layout:n="vertical",orientation:c="auto",shape:i="rounded",color:r="#7c3aed",compact:s=!1,title:d,onItemClick:h,className:l="",loading:u=!1,emptyMessage:p="Aucun élément",renderItem:y,summary:g=!1,summaryBgColors:f=Kke,summaryBorderColors:m=Zke,summaryValueColors:M=Xke,preset:x,background:v}=e,{itemsContainerStyle:L,itemsContainerClassName:w,summaryGridColumns:C,compactItemWidth:b,compactItemHeight:_,compactItemStyle:I,summaryCardWidth:S,summaryCardHeight:N,summaryCardStyle:j}=e,A=n==="vertical",R={"--mp-accent":r,"--mp-accent-soft":Yke(r,.08),"--mp-bg-primary":v},T=[X.mpRoot,A?X.mpVertical:X.mpHorizontal,s?X.mpCompact:"",g?X.mpSummaryRoot:"",c!=="auto"?c==="vertical"?X.mpOrientationVertical:X.mpOrientationHorizontal:"",l].filter(Boolean).join(" "),V=k.useMemo(()=>y||(Gke(x)??void 0),[y,x]);if(g){const $=c==="horizontal"?X.mpSummaryFlex:X.mpSummaryVertical,P={...(C?{display:"grid",gridTemplateColumns:`repeat(${C}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...L??{}};return o.jsxs("div",{className:T,style:R,"aria-busy":u,children:[d&&o.jsx(kS,{title:d}),o.jsx("div",{className:X.mpSummaryInner,children:o.jsx("div",{className:`${$} ${w??""}`,style:P,children:t.length===0?o.jsx("div",{className:X.mpEmpty,children:p}):t.map((H,D)=>{const E=H.bgColor??f[D%f.length],K=H.borderColor??m[D%m.length],te=H.valueColor??M[D%M.length];return V?o.jsx("div",{className:c==="horizontal"?X.mpSummaryCardWrapperHorizontal:X.mpSummaryCardWrapper,style:{width:S??void 0,height:N??void 0,...j??{}},children:V(H,D)},H.id):o.jsx(iA,{item:H,orientation:c==="horizontal"?"horizontal":"vertical",bg:E,border:K,valueColor:te,onClick:h,width:S??void 0,height:N??void 0,extraStyle:j},H.id)})})})]})}return o.jsxs("div",{className:T,style:R,"aria-busy":u,children:[d&&o.jsx(kS,{title:d}),o.jsx("div",{className:X.mpList,style:L,children:u?o.jsx("div",{className:X.mpEmpty,children:"Chargement…"}):t.length===0?o.jsx("div",{className:X.mpEmpty,children:p}):t.map($=>{const q=s?{width:b??void 0,height:_??void 0,boxSizing:"border-box",...I??{}}:void 0;return o.jsx("div",{className:s?X.compactItemWrapper:void 0,style:q,children:o.jsx(Oke,{item:$,shape:i,onItemClick:h,color:r,renderItem:V?P=>V(P,t.indexOf(P)):void 0})},$.id)})})]})};k.memo(rA);const Jke=({a11yConfig:e,width:t,height:n,colors:c={text:"#0b1220",background:"#fff",contentBackground:"#efeff0"},titles:i={},placeholder:r="Loading Chart",style:s,className:d="",children:h,padding:l="1rem",variant:u="default",showBorder:p=!1,titleKey:y,leftTitleKey:g})=>{const f=t?typeof t=="number"?`${t}px`:t:void 0,m=n?typeof n=="number"?`${n}px`:n:void 0,M=r&&typeof r=="object"&&!k.isValidElement(r)&&("text"in r||"subtext"in r||"icon"in r||"background"in r||"iconSize"in r),x=M?r:void 0,v=x?.icon?Mt[x.icon]:void 0,L=28,w=x?.iconSize??L,C=["chart-container",`variant-${u}`,p?"with-border":"",d].filter(Boolean).join(" "),b=c.contentBackground??void 0,_=typeof l=="number"?`${l}px`:l;return o.jsxs("div",{className:C,style:{width:f,height:m,color:c.text,background:c.background,display:"flex",flexDirection:"column",boxSizing:"border-box",padding:_,...s},children:[o.jsxs("div",{className:"chart-header",children:[o.jsxs("div",{title:Q(e,g||y),className:"chart-title-left",style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.left,i.leftSubtitle&&o.jsx("div",{className:"chart-subtitle-left",children:i.leftSubtitle})]}),o.jsx("div",{className:"chart-title-right",children:i.right})]}),o.jsx("div",{className:"chart-content",style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",background:b},children:h||(M&&x?o.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[v&&o.jsx("div",{className:"placeholder-icon",style:{width:w,height:w},children:o.jsx(v,{color:x.iconColor??"currentColor",size:typeof w=="number"?w:parseInt(String(w),10)||L})}),x.text&&o.jsx("div",{className:"placeholder-text",children:x.text}),x.subtext&&o.jsx("div",{className:"placeholder-subtext",children:x.subtext})]}):o.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:r}))})]})},Yw=({id:e,size:t="100%",background:n,icon:c,text:i,subtext:r,onClose:s,onClick:d,style:h,className:l="",colorTextPrimary:u,colorTextSub:p,model:y,fontSize:g,fontWeight:f,a11yConfig:m,titleKey:M})=>{const x=c||y?.icon,v=typeof x=="string",L=v?Mt[x]:null,w=v?null:x;return o.jsxs("div",{id:e,className:`alert ${l}`,style:{width:typeof t=="number"?`${t}px`:t,background:n||y?.background,pointerEvents:"auto",...h},role:"alert",onClick:d,title:Q(m,M),children:[L&&o.jsx(L,{className:"alert-icon",size:20,color:u||y?.colorTextPrimary}),w!=null&&o.jsx("span",{className:"alert-icon",style:{display:"flex",alignItems:"center",color:u||y?.colorTextPrimary,flexShrink:0},children:w}),o.jsxs("div",{className:"alert-content",children:[o.jsx("span",{className:"alert-text",style:{color:u||y?.colorTextPrimary,fontSize:g,fontWeight:f},children:i}),r&&o.jsx("span",{className:"alert-subtext",style:{color:p||y?.colorTextSub},children:r})]}),s&&o.jsx("button",{className:"alert-close",onClick:s,"aria-label":"Fermer",children:"✕"})]})},sA=k.createContext(null),Qke=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,e3e=({children:e,defaultDuration:t=4e3,maxAlerts:n,containerClassName:c,containerStyle:i})=>{const[r,s]=k.useState([]),d=k.useRef(new Map),h=k.useRef(null),l=k.useRef(null),u=k.useRef(n);k.useEffect(()=>()=>{d.current.forEach(_=>window.clearTimeout(_)),d.current.clear()},[]);const p=(_,I)=>{const S=I===void 0||I===0?t:I;if(S===-1)return;const N=window.setTimeout(()=>{f(_)},S);d.current.set(_,N)},y=_=>{const I=d.current.get(_);I&&(window.clearTimeout(I),d.current.delete(_))},g=_=>{const I=Qke(),S={..._,id:I,createdAt:Date.now()};return s(N=>{const j=[S,...N],A=u.current;return typeof A=="number"&&A>=0&&j.length>A?(j.slice(A).forEach(T=>y(T.id)),j.slice(0,A)):j}),p(I,_.duration),I},f=_=>{y(_),s(I=>I.filter(S=>S.id!==_))},m=(_,I)=>{s(S=>S.map(N=>N.id===_?{...N,...I}:N))},M=()=>{d.current.forEach(_=>window.clearTimeout(_)),d.current.clear(),s([])},x=_=>{l.current=_},v=()=>r.slice(),L=k.useMemo(()=>({showAlert:g,dismissAlert:f,updateAlert:m,clearAlerts:M,setContainerRef:x,getAlertsSnapshot:v}),[r]),w=l.current,C=o.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,display:"flex",flexDirection:"column",alignItems:"center",pointerEvents:"none",zIndex:10001,padding:"8px 4px"},children:o.jsx(T0e,{mode:"popLayout",children:r.map(_=>o.jsx(Ww.div,{initial:{opacity:0,y:-10,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.98},transition:{type:"spring",damping:25,stiffness:300},style:{width:"100%",pointerEvents:"auto",boxShadow:"0 6px 20px rgba(0, 0, 0, 0.12)",borderRadius:"8px",marginBottom:"6px",backgroundColor:_.background||_.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:o.jsx(Yw,{id:_.id,text:_.text,subtext:_.subtext,icon:_.icon,background:"transparent",colorTextPrimary:_.colorTextPrimary,colorTextSub:_.colorTextSub,model:_.model,onClose:()=>f(_.id),size:"100%",style:{boxShadow:"none"}})},_.id))})}),b=o.jsx("div",{ref:_=>{l.current||(h.current=_)},className:c,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:C});return o.jsxs(sA.Provider,{value:L,children:[w?uw.createPortal(C,w):b,e]})},t3e=()=>{const e=k.useContext(sA);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},a3e={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"}},n3e="_container_18zbo_1",o3e="_icon_18zbo_9",c3e="_selectWrapper_18zbo_23",Vb={container:n3e,icon:o3e,selectWrapper:c3e},i3e=({options:e,defaultValue:t,onChange:n,label:c})=>{const[i,r]=k.useState(t||e[0]?.value||""),s=d=>{r(d),n?.(d)};return o.jsxs("div",{className:Vb.container,children:[o.jsxs("div",{className:Vb.icon,children:[o.jsx(b1,{size:18}),o.jsx("p",{children:c})]}),o.jsx("div",{className:Vb.selectWrapper,children:o.jsx(Gw,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},r3e=250,s3e=k.forwardRef(({title:e,subtitle:t,size:n="420px",beforeOpen:c,afterOpen:i,beforeClose:r,afterClose:s,style:d,className:h="",children:l,closeOnOverlayClick:u=!0,showCloseButton:p=!0},y)=>{const[g,f]=k.useState(!1),[m,M]=k.useState(!1),x=k.useRef(null),v=k.useRef(null),L=k.useRef(null),w=k.useRef(null);k.useEffect(()=>{const _=x.current;if(!_)return;const I=_.parentElement;return I?(window.getComputedStyle(I).position==="static"&&(I.setAttribute("data-scp-prev-position",I.style.position??""),I.style.position="relative",I.setAttribute("data-scp-position-changed","true")),()=>{if(I.getAttribute("data-scp-position-changed")==="true"){const N=I.getAttribute("data-scp-prev-position")??"";I.style.position=N,I.removeAttribute("data-scp-position-changed"),I.removeAttribute("data-scp-prev-position")}}):void 0},[]),k.useImperativeHandle(y,()=>({open:()=>{g||(c?.(),M(!1),f(!0))},close:()=>{g&&(r?.(),M(!1),f(!1))},toggle:()=>{g?(r?.(),M(!1),f(!1)):(c?.(),M(!1),f(!0))}}),[g,c,r]),k.useEffect(()=>{const _=v.current;w.current&&(window.clearTimeout(w.current),w.current=null);const I=S=>{if(S.target===_&&!(S.propertyName!=="transform"&&S.propertyName!=="opacity"))if(g){M(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}};return _&&(_.addEventListener("transitionend",I),w.current=window.setTimeout(()=>{if(g){M(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}},r3e+60)),g&&(L.current=document.activeElement),()=>{_&&_.removeEventListener("transitionend",I),w.current&&(window.clearTimeout(w.current),w.current=null)}},[g,i,s]),k.useEffect(()=>{const _=I=>{I.key==="Escape"&&g&&(r?.(),M(!1),f(!1))};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[g,r]);const C=()=>{u&&(r?.(),M(!1),f(!1))},b=typeof n=="number"?`${n}px`:n;return o.jsxs("div",{ref:x,className:`scp-inline-root ${g?"open":""}`,"aria-hidden":!g,children:[o.jsx("div",{className:`scp-overlay ${g?"visible":""}`,onMouseDown:C,role:"presentation"}),o.jsxs("aside",{className:`scp-panel ${g?"in":"out"} ${m?"interactive":""} ${h}`,style:{width:b,...d},ref:v,tabIndex:-1,role:"dialog","aria-label":e,children:[o.jsxs("div",{className:"scp-header",children:[o.jsxs("div",{children:[o.jsx("h3",{className:"scp-title",children:e}),t&&o.jsx("div",{className:"scp-subtitle",children:t})]}),p&&o.jsx("button",{className:"scp-close","aria-label":"Close",onClick:()=>{r?.(),M(!1),f(!1)},children:o.jsx(Xe,{size:18})})]}),o.jsx("div",{className:"scp-body",children:l})]})]})});function d3e(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 l3e="_container_1pfsp_1",h3e="_title_1pfsp_8",MS={container:l3e,title:h3e},u3e=({title:e,fontSize:t,barColor:n,className:c="",style:i={}})=>{const r={...i,"--title-font-size":t,"--bar-color":n};return o.jsx("div",{className:`${MS.container} ${c}`,style:r,children:o.jsx("h2",{className:MS.title,children:e})})},p3e="_modalOverlay_1878x_1",y3e="_modalContainer_1878x_16",k3e="_modalTitle_1878x_29",m3e="_modalInput_1878x_38",f3e="_modalTextarea_1878x_39",g3e="_modalActions_1878x_70",v3e="_cancelBtn_1878x_77",M3e="_saveBtn_1878x_99",x3e="_inputError_1878x_141",_3e="_inlineAlert_1878x_146",Qe={modalOverlay:p3e,modalContainer:y3e,modalTitle:k3e,modalInput:m3e,modalTextarea:f3e,modalActions:g3e,cancelBtn:v3e,saveBtn:M3e,inputError:x3e,inlineAlert:_3e},Tc=({isOpen:e,onClose:t,onSave:n,title:c="Ajouter un élément",fields:i,initialValues:r={},errorMessage:s="",disableSave:d,onFieldChange:h,confirmText:l="Valider",cancelText:u="Annuler"})=>{const[p,y]=k.useState({}),g=k.useRef(null),[f,m]=k.useState(!1),[M,x]=k.useState(!1),v=k.useRef(null);if(k.useEffect(()=>{if(!e)return;const _={};for(const I of i)_[I.name]=Object.prototype.hasOwnProperty.call(r,I.name)?r[I.name]:"";return y(_),requestAnimationFrame(()=>{g.current?.focus();const I=g.current;if(I&&typeof I.selectionStart=="number"){const S=String(I.value??"").length;I.setSelectionRange(S,S)}}),()=>{v.current&&(window.clearTimeout(v.current),v.current=null)}},[e]),k.useEffect(()=>{s&&e?(x(!0),v.current&&(window.clearTimeout(v.current),v.current=null),v.current=window.setTimeout(()=>{x(!1),v.current=null},3e3)):(x(!1),v.current&&(window.clearTimeout(v.current),v.current=null))},[s,e]),!e)return null;const L=(_,I)=>{y(S=>({...S,[_]:I})),h&&h(_,I)},w=async()=>{if(!Object.values(p).some(_=>_===""||_===void 0))try{m(!0);const _=await n(p);if(typeof _=="string"&&_==="duplicate-same"){m(!1);return}y({}),m(!1),t()}catch(_){console.error("AddItemModal onSave error:",_),m(!1),t()}},C=_=>{_.target===_.currentTarget&&t()},b=_=>_.stopPropagation();return o.jsx("div",{className:Qe.modalOverlay,onMouseDown:C,role:"dialog","aria-modal":"true",children:o.jsxs("div",{className:Qe.modalContainer,onMouseDown:b,onClick:b,children:[o.jsx("h2",{className:Qe.modalTitle,children:c}),i.map((_,I)=>{const S=p[_.name]??"",N=I===0&&!!s,j={name:_.name,placeholder:_.placeholder||_.label,value:String(S),onChange:A=>L(_.name,A.target.value),className:_.type==="textarea"?`${Qe.modalTextarea} ${N?Qe.inputError:""}`:`${Qe.modalInput} ${N?Qe.inputError:""}`,tabIndex:0,disabled:f};return I===0&&(j.ref=A=>{g.current=A}),o.jsxs("div",{style:{marginBottom:8},children:[_.type==="textarea"?o.jsx("textarea",{rows:_.rows||4,...j}):o.jsx("input",{type:_.type||"text",...j}),I===0&&M&&s&&o.jsx("div",{style:{marginTop:8},children:o.jsx(Yw,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>x(!1),className:Qe.inlineAlert})})]},_.name)}),o.jsxs("div",{className:Qe.modalActions,children:[o.jsx("button",{className:Qe.cancelBtn,onClick:t,type:"button",disabled:f,children:u}),o.jsx("button",{className:Qe.saveBtn,onClick:w,type:"button",disabled:f||!!d,children:f?"En cours...":l})]})]})})},L3e=({title:e,keyCount:t,onAddKey:n,a11yConfig:c})=>{const[i,r]=k.useState(!1),s=d=>{const h=d.key;n&&h&&n(h)};return o.jsxs("div",{className:"header-container",children:[o.jsxs("div",{className:"header-info",children:[o.jsx("h1",{title:Q(c,e),children:e}),o.jsxs("p",{children:[t," clés"]})]}),o.jsxs("button",{onClick:()=>r(!0),className:"add-key-button",children:[o.jsx(Ac,{className:"add-key-icon"}),"Clé"]}),o.jsx(Tc,{isOpen:i,title:"Ajouter une clé",onClose:()=>r(!1),onSave:s,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},I3e=({modules:e,onEdit:t,onDelete:n,onAddModule:c,onSelectModule:i,addModalFields:r,addModalTitle:s})=>{const[d,h]=k.useState(!1),[l,u]=k.useState(null),[p,y]=k.useState(null),[g,f]=k.useState(!1),m=()=>h(!0),M=()=>h(!1),x=_=>{if(c){const I=_.code?.trim()||_.id?.trim(),S=_.title?.trim(),N=I||S||String(Date.now()),j=S||I||`Module ${N}`;c({id:N,title:j,subtitle:"",translations:{}})}M()},v=(_,I)=>{_.stopPropagation(),u(I)},L=()=>u(null),w=_=>{if(!l){L();return}const I={...l,title:_.title||l.title,subtitle:""};t&&t(I),L()},C=(_,I)=>{_.stopPropagation(),n&&n(I)},b=_=>{y(_.id),i&&i(_)};return g?o.jsx("div",{className:"module-sidebar collapsed",children:o.jsx(a1,{size:20,className:"menu-toggle",onClick:()=>f(!1)})}):o.jsxs("div",{className:"module-sidebar",children:[o.jsxs("div",{className:"sidebar-header",children:[o.jsxs("span",{className:"header-text",children:["Modules (",e.length,")"]}),o.jsxs("div",{className:"header-actions",children:[o.jsx(t1,{size:18,className:"header-folder",onClick:m}),o.jsx(a1,{size:18,className:"header-menu",onClick:()=>f(!0)})]})]}),o.jsx("hr",{className:"divider"}),o.jsx("div",{className:"module-list",children:e.map(_=>{const I=Object.keys(_.translations||{}).length,S=I>0||_.id===p;return o.jsxs("div",{className:`module-item ${_.id===p?"selected":""}`,onClick:()=>b(_),role:"button",tabIndex:0,onKeyDown:N=>{N.key==="Enter"&&b(_)},children:[o.jsxs("div",{className:"module-left",children:[o.jsx(S1,{size:16,className:"item-folder"}),o.jsxs("div",{className:"module-info",children:[o.jsxs("div",{className:"module-title",children:[_.title,S&&o.jsxs("span",{className:"count",children:[" ",I," "]})]}),_.subtitle?o.jsx("div",{className:"module-subtitle",children:_.subtitle}):null]})]}),o.jsxs("div",{className:"module-actions",children:[t&&o.jsx(n1,{onClick:N=>v(N,_),color:"#777",size:16}),n&&o.jsx(lt,{onClick:N=>C(N,_.id),color:"#777",size:16})]})]},_.id)})}),o.jsx(Tc,{isOpen:d,onClose:M,onSave:x,title:s||"Ajouter un module",fields:r&&r.length?r.map(_=>({name:_.name,label:_.label,type:_.type,placeholder:_.placeholder,rows:_.rows})):[{name:"title",label:"Titre",placeholder:"Titre du module"}]}),l&&o.jsx(Tc,{isOpen:!!l,onClose:L,onSave:w,title:"Éditer le module",initialValues:{title:l.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},dA=({placeholder:e="Rechercher une clé ou traduction...",value:t="",onChange:n,iconPosition:c="left",iconColor:i="#9ca3af",a11yConfig:r,className:s})=>o.jsxs("div",{className:`search-container icon-${c}`,title:Q(r,e),children:[o.jsx("div",{className:"search-icon-wrapper",children:o.jsx(A1,{className:"search-icon",color:i})}),o.jsx("input",{type:"text",placeholder:e,value:t,onChange:d=>n?.(d.target.value),className:`search-input ${s}`})]}),b3e=({keyName:e,translations:t,availableLanguages:n,onDeleteKey:c,onEditKey:i,onEditTranslation:r,onDeleteTranslation:s,onAddTranslation:d,draggable:h=!1,checkDuplicateLocal:l})=>{const[u,p]=k.useState(!1),[y,g]=k.useState(""),[f,m]=k.useState(null),[M,x]=k.useState(""),[v,L]=k.useState(""),[w,C]=k.useState(!1),[b,_]=k.useState(!1),[I,S]=k.useState(null),[N,j]=k.useState(!1),A=t.map(D=>D.language),R=n.filter(D=>!A.includes(D.code)),T=()=>{y&&v.trim()&&(d?.(e,y,v.trim()),g(""),L(""),p(!1))},V=(D,E)=>{m(D),x(E)},$=D=>{r?.(e,D,M),m(null),x("")},q=()=>{m(null),x("")},P=async D=>{const E=D.name?.trim();if(E){if(S(null),j(!1),E===e||!i)return C(!1),"ok";try{const K=await i(e,E);if(typeof K=="string"&&K==="ok")C(!1),S(null);else{if(typeof K=="string"&&K==="duplicate-same")return S("Une clé existe déjà dans ce module."),j(!0),"duplicate-same";if(typeof K=="string"&&K==="duplicate-other")return C(!1),S(null),"duplicate-other";C(!1)}}catch(K){console.error("Erreur handleRenameSave:",K),S("Erreur lors du renommage.")}}},H=(D,E)=>{if(D!=="name")return;const K=E.trim();S(null),j(!1),K&&typeof l=="function"&&(l(K,e)?(S("Une clé existe déjà dans ce module."),j(!0)):(S(null),j(!1)))};return o.jsxs("div",{className:`translation-key ${b?"collapsed":"expanded"} ${h?"draggable":""}`,children:[o.jsxs("div",{className:"card-header",children:[o.jsxs("div",{className:"header-left",children:[o.jsx("button",{className:"collapse-button",onClick:()=>_(!b),title:b?"Déplier":"Replier",children:b?o.jsx(C1,{className:"collapse-icon"}):o.jsx(zt,{className:"collapse-icon"})}),o.jsx("h3",{className:"card-title",title:e,children:e})]}),o.jsxs("div",{className:"header-actions",children:[o.jsx("button",{className:"action-button",onClick:D=>{D.stopPropagation(),C(!0)},title:"Renommer la clé",children:o.jsx(ft,{className:"action-icon"})}),o.jsx("button",{onClick:D=>{D.stopPropagation(),c?.(e)},className:"action-button delete",title:"Supprimer la clé",children:o.jsx(lt,{className:"action-icon"})})]})]}),o.jsx("div",{className:`translations-container ${b?"":"expanded"}`,children:!h&&o.jsxs(o.Fragment,{children:[t.map(D=>o.jsxs("div",{className:"translation-row",children:[o.jsx("div",{className:"language-code",children:D.language}),o.jsx("div",{className:"translation-content",children:f===D.language?o.jsxs(o.Fragment,{children:[o.jsx("input",{type:"text",value:M,onChange:E=>x(E.target.value),className:"edit-input",autoFocus:!0,onKeyDown:E=>{E.key==="Enter"&&$(D.language),E.key==="Escape"&&q()}}),o.jsx("button",{onClick:()=>$(D.language),className:"save-button",disabled:!M.trim(),children:"Enregistrer"}),o.jsx("button",{onClick:q,className:"cancel-button",children:o.jsx(Xe,{className:"action-icon"})})]}):o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"translation-text",title:D.value,children:D.value}),o.jsx("button",{onClick:()=>V(D.language,D.value),className:"edit-button",title:"Éditer la traduction",children:o.jsx(ft,{className:"action-icon"})}),o.jsx("button",{onClick:()=>s?.(e,D.language),className:"delete-translation-button",title:"Supprimer la traduction",children:o.jsx(Xe,{className:"action-icon"})})]})})]},D.language)),u?o.jsxs("div",{className:"add-language-row",children:[o.jsx("div",{className:"language-code",children:"+"}),o.jsxs("div",{className:"add-language-content",children:[o.jsx("div",{className:"language-select-container",children:o.jsxs("select",{value:y,onChange:D=>g(D.target.value),className:"language-select",children:[o.jsx("option",{value:"",children:"Sélectionnez la langue"}),R.map(D=>o.jsxs("option",{value:D.code,children:[D.name," (",D.code,")"]},D.code))]})}),y&&o.jsx("input",{type:"text",value:v,onChange:D=>L(D.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:D=>{D.key==="Enter"&&T(),D.key==="Escape"&&(p(!1),g(""),L(""))}}),o.jsx("button",{onClick:T,disabled:!y||!v.trim(),className:"save-button",children:"Ajouter"}),o.jsx("button",{onClick:()=>{p(!1),g(""),L("")},className:"cancel-button",children:o.jsx(Xe,{className:"action-icon"})})]})]}):o.jsxs("button",{onClick:()=>p(!0),className:"show-add-button",disabled:R.length===0,children:[o.jsx("span",{className:"plus-icon",children:"+"}),"Ajouter une langue"]})]})}),h&&o.jsxs("div",{className:"drag-overlay",children:[o.jsx(a.Move,{size:24,strokeWidth:1.5}),o.jsx("span",{children:"Glisser pour réorganiser"})]}),o.jsx(Tc,{isOpen:w,onClose:()=>{C(!1),S(null),j(!1)},onSave:P,onFieldChange:H,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:I||"",disableSave:N})]})},w3e="_wrapper_1wvht_1",C3e="_leftGroup_1wvht_12",N3e="_filterButton_1wvht_21",j3e="_open_1wvht_42",S3e="_filterIcon_1wvht_42",$3e="_infoText_1wvht_58",q3e="_pickerContainer_1wvht_66",A3e="_srOnly_1wvht_79",z3e="_pickerLabel_1wvht_91",V3e="_datetime_1wvht_98",P3e="_rightGroup_1wvht_107",T3e="_searchInputWrap_1wvht_116",H3e="_searchInput_1wvht_116",D3e="_searchIcon_1wvht_152",Te={wrapper:w3e,leftGroup:C3e,filterButton:N3e,open:j3e,filterIcon:S3e,infoText:$3e,pickerContainer:q3e,srOnly:A3e,pickerLabel:z3e,datetime:V3e,rightGroup:P3e,searchInputWrap:T3e,searchInput:H3e,searchIcon:D3e};function B3e({onDateChange:e,onSearch:t,initialDate:n}){const[c,i]=k.useState(!1),[r,s]=k.useState(n??""),d=k.useRef(null);k.useEffect(()=>{function p(y){const g=y.target;d.current&&g&&!d.current.contains(g)&&i(!1)}return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),k.useEffect(()=>{n&&s(n)},[n]);const h=()=>i(p=>!p),l=p=>{const y=p.target.value;s(y),e?.(y)},u=p=>{t?.(p.target.value)};return o.jsxs("div",{className:Te.wrapper,ref:d,children:[o.jsxs("div",{className:Te.leftGroup,children:[o.jsxs("button",{type:"button",className:`${Te.filterButton} ${c?Te.open:""}`,onClick:h,"aria-expanded":c,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[o.jsx("span",{children:"Entry time"}),o.jsx("svg",{className:Te.filterIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"14",height:"14","aria-hidden":!0,children:o.jsx("path",{fill:"currentColor",d:"M10 18h4v-2h-4v2zm-7-8v2h18V10H3zm3-6v2h12V4H6z"})})]}),o.jsx("div",{className:Te.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),c&&o.jsxs("div",{className:Te.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[o.jsx("label",{className:Te.pickerLabel,htmlFor:"entry-datetime",children:o.jsx("span",{className:Te.srOnly,children:"Choisir la date et l’heure"})}),o.jsx("input",{id:"entry-datetime",className:Te.datetime,type:"datetime-local",value:r,onChange:l,"aria-label":"Date et heure d’entrée"})]})]}),o.jsx("div",{className:Te.rightGroup,children:o.jsxs("div",{className:Te.searchInputWrap,children:[o.jsx("input",{className:Te.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),o.jsx("svg",{className:Te.searchIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16","aria-hidden":!0,children:o.jsx("path",{fill:"currentColor",d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16a6.471 6.471 0 004.23-1.57l.27.28v.79L20 20.49 21.49 19l-5.99-5zM10 15.5A5.5 5.5 0 1115.5 10 5.5 5.5 0 0110 15.5z"})})]})})]})}const R3e=({className:e="",style:t={},title:n,titleClassName:c="",titleStyle:i,data:r,lineClasses:s={},renderCell:d,bg:h,titleBg:l,titleColor:u,itemBg:p,emptyContent:y,colGap:g="1rem"})=>{const f=Array.isArray(r)?r:[],m=f.length===0,M=f.every(w=>typeof w=="string"),x=f.some(w=>Array.isArray(w)),v=(w,C,b)=>d?d(w,C,b):o.jsx("span",{className:"slb-cell-text",children:w}),L=g?{"--col-gap":g}:void 0;return m?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:h??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{...i,background:l??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-empty",children:y??null})]}):M&&!x?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:h??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:l??void 0,color:u??void 0},children:n}),o.jsx("ul",{className:"slb-list",children:f.map((w,C)=>o.jsx("li",{className:`slb-item ${s[C]||""}`,style:{background:p??void 0},children:v(w,C,0)},C))})]}):o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:h??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:l??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-grid",style:L,children:f.map((w,C)=>{const b=s[C]||"";if(Array.isArray(w)){const[_,I]=w;return o.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[o.jsx("div",{className:"slb-grid-left",children:v(_,C,0)}),o.jsx("div",{className:"slb-grid-right",children:v(I,C,1)})]},C)}return o.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[o.jsx("div",{className:"slb-grid-left",children:v(w,C,0)}),o.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},C)})})]})},F3e=({className:e="",style:t={},title:n,titleColor:c,data:i=[],badgeColor:r="#0ea5e9",badgeColors:s={},badgePadding:d="8px 16px",badgeWidth:h,itemBg:l,lineClasses:u={},colGap:p="1rem"})=>{const y=i.some(f=>Array.isArray(f)),g=p?{"--col-gap":p}:void 0;return o.jsxs("div",{className:`clb-root ${e}`,style:{...t},children:[n&&o.jsx("div",{className:"clb-title",style:c?{color:c}:void 0,children:n}),o.jsx("div",{className:"clb-grid",style:g,children:i.map((f,m)=>{const M=u[m]||"";if(Array.isArray(f)){const[x,v]=f,L=s[m]||r;return o.jsxs("div",{className:`clb-row ${M}`,style:{background:l??void 0},children:[o.jsx("div",{className:"clb-badge-col",children:o.jsx("div",{className:"counter-badge",style:{background:L,padding:d,width:h,minWidth:h},children:x})}),o.jsx("div",{className:"clb-text",children:v})]},m)}return y?o.jsxs("div",{className:`clb-row ${M}`,style:{background:l??void 0},children:[o.jsx("div",{className:"clb-badge-col clb-empty-badge"}),o.jsx("div",{className:"clb-text",children:f})]},m):o.jsx("div",{className:`clb-fullrow ${M}`,style:{background:l??void 0},children:o.jsx("span",{children:f})},m)})})]})},E3e=({className:e="",style:t={},title:n,items:c=[],titleBg:i,titleColor:r,itemBg:s,lineClasses:d={},renderTrendIcon:h,colGap:l="1rem"})=>{const u=l?{"--col-gap":l}:void 0;return o.jsxs("div",{className:`tlb-root ${e}`,style:{...t,background:s??void 0},children:[n&&o.jsx("div",{className:"tlb-title",style:{background:i??void 0,color:r??void 0},children:n}),o.jsx("div",{className:"tlb-grid",style:u,children:c.map((p,y)=>{const g=d[y]||"";return o.jsxs("div",{className:`tlb-row ${g}`,style:{background:s??void 0},children:[o.jsx("div",{className:"tlb-label",children:p.label}),o.jsxs("div",{className:"tlb-value-group",children:[o.jsx("div",{className:"tlb-icon-col",children:h?h(p):p.icon??null}),o.jsxs("div",{className:"tlb-value-wrap",children:[o.jsx("div",{className:"tlb-value",children:p.value}),typeof p.delta<"u"&&o.jsx("div",{className:`tlb-delta ${p.delta>0?"positive":p.delta<0?"negative":"neutral"}`,children:p.deltaLabel??String(p.delta)})]})]})]},y)})})]})},O3e=({className:e="",style:t={},children:n,gap:c="1rem"})=>o.jsx("div",{className:`frc-root ${e}`,style:{...t,"--frc-gap":c},children:k.Children.map(n,i=>o.jsx("div",{className:"frc-item",children:i}))}),U3e=({className:e="",style:t={},children:n,gap:c="1rem",background:i="#D9EEF5"})=>o.jsx("div",{className:`lcc-root ${e}`,style:{background:i,...t,"--lcc-gap":c},children:k.Children.map(n,r=>o.jsx("div",{className:"lcc-cell",children:r}))}),W3e="_overlay_3x4or_2",G3e="_fadeIn_3x4or_1",K3e="_popup_3x4or_17",Z3e="_slideUp_3x4or_1",X3e="_header_3x4or_28",Y3e="_body_3x4or_40",J3e="_footer_3x4or_51",Q3e="_cancelButton_3x4or_59",eme="_confirmButton_3x4or_77",tme="_warning_3x4or_97",ame="_danger_3x4or_106",nme="_info_3x4or_115",bt={overlay:W3e,fadeIn:G3e,popup:K3e,slideUp:Z3e,header:X3e,body:Y3e,footer:J3e,cancelButton:Q3e,confirmButton:eme,warning:tme,danger:ame,info:nme},ome=({isOpen:e,title:t,message:n,onConfirm:c,onCancel:i,confirmText:r="Confirmer",cancelText:s="Annuler",type:d="warning"})=>{if(!e)return null;const h=u=>{u.target===u.currentTarget&&i()},l=u=>{u.key==="Escape"&&i(),u.key==="Enter"&&u.ctrlKey&&c()};return o.jsx("div",{className:bt.overlay,onClick:h,onKeyDown:l,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:o.jsxs("div",{className:`${bt.popup} ${bt[d]}`,children:[o.jsx("div",{className:bt.header,children:o.jsx("h3",{id:"confirmation-title",children:t})}),o.jsx("div",{className:bt.body,children:o.jsx("p",{id:"confirmation-message",children:n})}),o.jsxs("div",{className:bt.footer,children:[o.jsx("button",{className:bt.cancelButton,onClick:i,type:"button",children:s}),o.jsx("button",{className:bt.confirmButton,onClick:c,type:"button",autoFocus:!0,children:r})]})]})})},cme=()=>{const[e,t]=k.useState({isOpen:!1,title:"",message:"",onConfirm:null}),n=k.useCallback((r,s,d)=>{t({isOpen:!0,title:r,message:s,onConfirm:d})},[]),c=k.useCallback(()=>{t(r=>({...r,isOpen:!1,onConfirm:null}))},[]),i=k.useCallback(()=>{e.onConfirm?.(),c()},[e.onConfirm,c]);return{isOpen:e.isOpen,title:e.title,message:e.message,showConfirmation:n,hideConfirmation:c,handleConfirm:i}},ime="_container_1l44m_1",rme="_selectButton_1l44m_7",sme="_disabled_1l44m_22",dme="_error_1l44m_39",lme="_outline_1l44m_52",hme="_filled_1l44m_58",ume="_sm_1l44m_67",pme="_md_1l44m_73",yme="_lg_1l44m_79",kme="_buttonContent_1l44m_85",mme="_label_1l44m_93",fme="_placeholder_1l44m_103",gme="_iconsContainer_1l44m_108",vme="_loadingSpinner_1l44m_115",Mme="_spin_1l44m_1",xme="_arrowIcon_1l44m_133",_me="_arrowIconOpen_1l44m_141",Lme="_dropdown_1l44m_146",Ime="_dropdownIn_1l44m_1",bme="_searchContainer_1l44m_171",wme="_searchInputWrapper_1l44m_177",Cme="_searchIcon_1l44m_183",Nme="_searchInput_1l44m_177",jme="_optionsList_1l44m_208",Sme="_noResults_1l44m_231",$me="_option_1l44m_208",qme="_optionHighlighted_1l44m_261",Ame="_optionSelected_1l44m_266",zme="_optionDisabled_1l44m_277",Vme="_optionLabel_1l44m_283",Pme="_checkIcon_1l44m_291",Tme="_widthFull_1l44m_299",Hme="_width64_1l44m_302",Dme="_width80_1l44m_305",Bme="_width96_1l44m_308",de={container:ime,selectButton:rme,disabled:sme,error:dme,default:"_default_1l44m_48",outline:lme,filled:hme,sm:ume,md:pme,lg:yme,buttonContent:kme,label:mme,placeholder:fme,iconsContainer:gme,loadingSpinner:vme,spin:Mme,arrowIcon:xme,arrowIconOpen:_me,dropdown:Lme,dropdownIn:Ime,searchContainer:bme,searchInputWrapper:wme,searchIcon:Cme,searchInput:Nme,optionsList:jme,noResults:Sme,option:$me,optionHighlighted:qme,optionSelected:Ame,optionDisabled:zme,optionLabel:Vme,checkIcon:Pme,widthFull:Tme,width64:Hme,width80:Dme,width96:Bme},Rme=({options:e,value:t,onChange:n,placeholder:c="Sélectionner une option...",disabled:i=!1,loading:r=!1,error:s=!1,className:d="",size:h="md",variant:l="default",width:u="w-full"})=>{const[p,y]=k.useState(!1),[g,f]=k.useState(""),[m,M]=k.useState(0),[x,v]=k.useState({top:0,left:0,width:0}),L=k.useRef(null),w=k.useRef(null),C=k.useRef(null),b=k.useMemo(()=>g?e.filter($=>$.label.toLowerCase().includes(g.toLowerCase())):e,[e,g]),_=e.find($=>$.value===t),I=k.useCallback(()=>{if(L.current){const $=L.current.getBoundingClientRect();v({top:$.top,left:$.left,width:$.width})}},[]);k.useEffect(()=>(p&&(I(),window.addEventListener("scroll",I,!0),window.addEventListener("resize",I)),()=>{window.removeEventListener("scroll",I,!0),window.removeEventListener("resize",I)}),[p,I]),k.useEffect(()=>{const $=q=>{L.current&&!L.current.contains(q.target)&&w.current&&!w.current.contains(q.target)&&(y(!1),f(""))};return document.addEventListener("mousedown",$),()=>document.removeEventListener("mousedown",$)},[]),k.useEffect(()=>{M(0)},[b]);const S=$=>{$.disabled||(n?.($.value,$),y(!1),f(""))},N=$=>{f($.target.value),p||y(!0)},j=$=>{if(!p){($.key==="ArrowDown"||$.key==="Enter")&&y(!0);return}switch($.key){case"ArrowDown":$.preventDefault(),M(q=>q<b.length-1?q+1:q);break;case"ArrowUp":$.preventDefault(),M(q=>q>0?q-1:q);break;case"Enter":$.preventDefault(),b[m]&&S(b[m]);break;case"Escape":y(!1),f("");break}},A=()=>[de.selectButton,de[h],de[l],i?de.disabled:"",s?de.error:"",d].filter(Boolean).join(" "),R=()=>{switch(u){case"w-64":return de.width64;case"w-80":return de.width80;case"w-96":return de.width96;default:return de.widthFull}},T=($,q)=>[de.option,q===m?de.optionHighlighted:"",$.value===t?de.optionSelected:"",$.disabled?de.optionDisabled:""].filter(Boolean).join(" "),V={position:"fixed",top:x.top+(L.current?.offsetHeight||0)+4,left:x.left,width:x.width,zIndex:9999};return o.jsxs("div",{className:`${de.container} ${R()}`,children:[o.jsx("button",{ref:L,className:A(),onClick:()=>!i&&y(!p),onKeyDown:j,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":p,disabled:i,children:o.jsxs("div",{className:de.buttonContent,children:[o.jsx("span",{className:`${de.label} ${_?"":de.placeholder}`,children:_?_.label:c}),o.jsxs("div",{className:de.iconsContainer,children:[r&&o.jsx("div",{className:de.loadingSpinner}),o.jsx("svg",{className:`${de.arrowIcon} ${p?de.arrowIconOpen:""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})]})}),p&&uw.createPortal(o.jsxs("div",{className:`${de.dropdown} ${R()}`,style:V,ref:w,children:[o.jsx("div",{className:de.searchContainer,children:o.jsxs("div",{className:de.searchInputWrapper,children:[o.jsx("svg",{className:de.searchIcon,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),o.jsx("input",{ref:C,type:"text",value:g,onChange:N,placeholder:"Rechercher...",className:de.searchInput,autoFocus:!0})]})}),o.jsx("div",{className:de.optionsList,children:b.length===0?o.jsx("div",{className:de.noResults,children:"Aucun résultat trouvé"}):o.jsx("ul",{role:"listbox",children:b.map(($,q)=>o.jsx("li",{className:T($,q),onClick:()=>S($),onMouseEnter:()=>M(q),role:"option","aria-selected":$.value===t,"aria-disabled":$.disabled,children:o.jsxs("div",{className:de.buttonContent,children:[o.jsx("span",{className:de.optionLabel,title:$.label,children:$.label}),$.value===t&&o.jsx("svg",{className:de.checkIcon,fill:"currentColor",viewBox:"0 0 20 20",children:o.jsx("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})]})},$.value))})})]}),document.body)]})},Fme="_container_uq7pt_1",Eme="_item_uq7pt_7",Ome="_mainValue_uq7pt_13",Ume="_label_uq7pt_17",Wme="_subValue_uq7pt_22",Gme="_subValueWrapper_uq7pt_27",Kme="_subSeparator_uq7pt_32",Ge={container:Fme,item:Eme,mainValue:Ome,label:Ume,subValue:Wme,subValueWrapper:Gme,subSeparator:Kme},Zme=({dms:e,stats:t=[],itemWidth:n="120px",valueFontSize:c="28px",valueFontWeight:i=700,subFontSize:r="16px",subFontWeight:s=600,backgroundColor:d="#ffffff",labelColor:h="#6b7280",valueColor:l="#000000"})=>{const u=(p,y,g)=>{const[f,m]=p.split("/").map(M=>M.trim());return o.jsxs("span",{className:Ge.subValueWrapper,children:[o.jsx("span",{className:Ge.subLeft,style:{color:y},children:f}),o.jsx("span",{className:Ge.subSeparator,children:" / "}),o.jsx("span",{className:Ge.subRight,style:{color:g},children:m})]})};return o.jsxs("div",{className:Ge.container,style:{backgroundColor:d},children:[e&&o.jsxs("div",{className:Ge.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Ge.mainValue,style:{fontSize:c,fontWeight:i,color:l},children:e}),o.jsx("div",{className:Ge.label,style:{color:h},children:"DMS"})]}),t.map((p,y)=>o.jsxs("div",{className:Ge.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Ge.mainValue,style:{fontSize:c,fontWeight:i,color:l},children:p.value}),o.jsx("div",{className:Ge.label,style:{color:h},children:p.label}),o.jsx("div",{className:Ge.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},Xme="_encours_16ist_1",Yme="_header_16ist_19",Jme="_iconWrap_16ist_27",Qme="_title_16ist_36",e6e="_items_16ist_47",t6e="_spaceEvenly_16ist_56",a6e="_item_16ist_47",n6e="_valueContainer_16ist_86",o6e="_value_16ist_86",c6e="_label_16ist_108",ct={encours:Xme,header:Yme,iconWrap:Jme,title:Qme,items:e6e,spaceEvenly:t6e,item:a6e,valueContainer:n6e,value:o6e,label:c6e},$c=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function i6e(e,t){const n={},c={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=$c(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=$c(t.defaultValueFontSize)),e.valueFontWeight!==void 0?n.fontWeight=e.valueFontWeight:t.defaultValueFontWeight!==void 0&&(n.fontWeight=t.defaultValueFontWeight),e.labelColor&&(c.color=e.labelColor),e.labelFontSize!==void 0?c.fontSize=$c(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(c.fontSize=$c(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?c.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(c.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:c}}function r6e(){return o.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[o.jsx("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"1.4"}),o.jsx("path",{d:"M8 12h8",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})]})}function s6e(e){const{title:t,titleColor:n,titleFontSize:c,titleFontWeight:i,icon:r,iconSize:s=18,iconColor:d,defaultValueFontSize:h,defaultValueFontWeight:l,defaultLabelFontSize:u,defaultLabelFontWeight:p,data:y,style:g,bg:f="#ffffff",width:m,gap:M,className:x,ariaLabel:v}=e,L=r?Mt[r]:void 0,w={background:f,width:$c(m),...g},C={};n&&(C.color=n),c!==void 0&&(C.fontSize=$c(c)),i!==void 0&&(C.fontWeight=i);const b={};return d&&(b.color=d),o.jsxs("section",{className:`${ct.encours} ${x??""}`,style:w,"aria-label":v??t,children:[o.jsxs("div",{className:ct.header,children:[o.jsx("div",{className:ct.iconWrap,"aria-hidden":!0,style:b,children:L?o.jsx(L,{size:typeof s=="number"?s:void 0}):o.jsx(r6e,{})}),o.jsx("div",{className:ct.title,style:C,children:t})]}),o.jsx("div",{className:`${ct.items} ${M===void 0?ct.spaceEvenly:""}`,role:"list",style:M!==void 0?{gap:`${M}px`}:{},children:y.map((_,I)=>{const{valueStyle:S,labelStyle:N}=i6e(_,{defaultValueFontSize:h,defaultValueFontWeight:l,defaultLabelFontSize:u,defaultLabelFontWeight:p});return o.jsx("div",{className:ct.item,role:"listitem",style:{..._.background?{background:_.background}:{},..._.width?{width:$c(_.width)}:{}},children:o.jsxs("div",{className:ct.valueContainer,children:[o.jsx("div",{className:ct.value,style:S,children:_.value}),_.label&&o.jsx("div",{className:ct.label,style:N,children:_.label})]})},`${String(_.label??_.value)}-${I}`)})})]})}const d6e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M480-360 280-559h400z"})),l6e=k.memo(d6e),h6e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"m280-400 200-201 200 201z"})),u6e=k.memo(h6e),p6e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},J.createElement("path",{fill:"#0087BD",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15"})),y6e=k.memo(p6e),k6e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},J.createElement("path",{fill:"#1E2122",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z"})),m6e=k.memo(k6e),f6e=({items:e,onSave:t,loading:n,disabled:c,saveLabel:i,savingLabel:r,buttonTitle:s,size:d=16,colors:h={bg:"#DADADA",activeBg:"var(--color-primary)",circle:"#FFFFFF",icon:"#1C1B1F",icon2:"#FFFFFF"},style:l,a11yConfig:u})=>{const[p,y]=k.useState(!1),[g,f]=k.useState(e),[m,M]=k.useState(!1);if(k.useEffect(()=>{M(!0)},[]),k.useEffect(()=>{f(e)},[e]),!m)return null;const x=(w,C)=>{C<4||f(b=>b.map(_=>_.component_key===w?{..._,visible:!_.visible}:_))},v=()=>{t(g),y(!1)},L=Q(u,s);return o.jsxs("div",{style:{position:"relative",display:"inline-block",...l},children:[o.jsxs("div",{onClick:()=>{c||y(!p)},style:{display:"flex",alignItems:"center",cursor:c?"not-allowed":"pointer",borderRadius:4,transition:"background 0.2s"},title:L,children:[o.jsx(OS,{width:d,height:d,fill:h?.icon||"currentColor",style:{transition:"color 0.2s"}}),p?o.jsx(u6e,{width:d,height:d,fill:h?.icon||"currentColor"}):o.jsx(l6e,{width:d,height:d,fill:h?.icon||"currentColor"})]}),p&&o.jsxs("div",{style:{position:"absolute",top:"120%",right:0,minWidth:260,background:"#fff",borderRadius:"0.25rem",boxShadow:"0px 3px 7px 0px rgba(17, 20, 21, 0.05),0px 14px 14px 0px rgba(17, 20, 21, 0.04),0px 30px 18px 0px rgba(17, 20, 21, 0.03), 0px 54px 22px 0px rgba(17, 20, 21, 0.01),0px 85px 24px 0px rgba(17, 20, 21, 0)",zIndex:235465456,padding:"0 0 0.5rem 0"},children:[o.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:g.map((w,C)=>o.jsxs(k.Fragment,{children:[o.jsxs("li",{onClick:()=>x(w.component_key,C),style:{display:"flex",alignItems:"center",padding:"0.5rem",cursor:C<4?"not-allowed":"pointer",transition:"background 0.2s"},onMouseEnter:b=>{C>=4&&(b.currentTarget.style.background="#F9FAFB")},onMouseLeave:b=>{C>=4&&(b.currentTarget.style.background="transparent")},children:[o.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:w.visible?o.jsx(y6e,{width:20,height:20,fill:h?.activeBg||"var(--color-primary, #008FBB)"}):o.jsx(m6e,{width:20,height:20,fill:"#D1D5DB"})}),o.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children:w.label})]}),C===3&&o.jsx("div",{style:{height:1,background:"#E5E7EB",margin:"4px 0"}})]},w.component_key))}),o.jsx("div",{style:{padding:"12px 16px 0 16px",display:"flex",justifyContent:"flex-end"},children:o.jsx("button",{type:"button",onClick:v,disabled:n,style:{padding:"6px 16px",borderRadius:4,border:"none",background:"var(--color-primary, #008FBB)",color:"#fff",fontSize:"14px",fontWeight:500,cursor:n?"not-allowed":"pointer",transition:"opacity 0.2s",opacity:n?.7:1},children:n?r:i})})]})]})},g6e="_container_zhny9_1",v6e="_card_zhny9_15",M6e="_footer_zhny9_33",x6e="_noPaddingMobile_zhny9_51",ci={container:g6e,card:v6e,footer:M6e,noPaddingMobile:x6e},_6e="_board_95t8m_1",L6e="_clickable_95t8m_21",I6e="_sideBar_95t8m_26",b6e="_boardContent_95t8m_32",w6e="_orange_95t8m_40",C6e="_red_95t8m_44",N6e="_green_95t8m_48",j6e="_grey_95t8m_52",S6e="_lightGrey_95t8m_56",$6e="_big_95t8m_61",q6e="_medium_95t8m_66",A6e="_headerRow_95t8m_70",z6e="_iconWrapper_95t8m_75",V6e="_headerTitle_95t8m_80",P6e="_valueArea_95t8m_89",T6e="_titleWhite_95t8m_99",H6e="_titleBlack_95t8m_103",D6e="_valueWhite_95t8m_108",B6e="_valueBlack_95t8m_112",R6e="_valueBlue_95t8m_116",F6e="_bars_95t8m_121",E6e="_bar_95t8m_121",O6e="_barDark_95t8m_135",U6e="_barDim_95t8m_139",W6e="_predictionSection_95t8m_143",G6e="_predictionHeader_95t8m_155",K6e="_predictionBody_95t8m_162",Z6e="_hasPrediction_95t8m_170",ze={board:_6e,clickable:L6e,sideBar:I6e,boardContent:b6e,orange:w6e,red:C6e,green:N6e,grey:j6e,lightGrey:S6e,big:$6e,medium:q6e,headerRow:A6e,iconWrapper:z6e,headerTitle:V6e,valueArea:P6e,titleWhite:T6e,titleBlack:H6e,valueWhite:D6e,valueBlack:B6e,valueBlue:R6e,bars:F6e,bar:E6e,barDark:O6e,barDim:U6e,predictionSection:W6e,predictionHeader:G6e,predictionBody:K6e,hasPrediction:Z6e},X6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${ze.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${ze.bar} ${r<c?"":e?ze.barDark:ze.barDim}`},r))})},vt=({a11yConfig:e,iconName:t,label:n,value:c,backgroundColor:i="green",bars:r,lightBars:s=5,size:d="big",valueScale:h,width:l,height:u,className:p="",style:y,titleColor:g="white",valueColor:f="white",titleFontSize:m,titleFontWeight:M,valueFontSize:x,valueFontWeight:v,barColor:L,justifyContent:w="space-between",alignItems:C="flex-start",cardGap:b="",onClick:_,iconColor:I,titleKey:S,predictionValue:N,predictionLabel:j})=>{const A=r!=="none",R=r==="endingDark",{padding:T,...V}=y||{},$=l===void 0&&u===void 0&&i===void 0&&Object.keys(V).length===0?void 0:{...l!==void 0?{width:l}:{},...u!==void 0?{height:u}:{},...i!==void 0?{backgroundColor:i}:{},...V},q=`${ze.board} ${ze[d]} ${N!==void 0?ze.hasPrediction:""} ${p}`;return o.jsxs("div",{className:q,onClick:_,style:h!==void 0?{...$,"--ds-value-scale":h}:$,children:[L&&o.jsx("div",{className:ze.sideBar,style:{backgroundColor:L}}),o.jsxs("div",{className:ze.boardContent,style:{padding:T,gap:b},children:[o.jsxs("div",{className:ze.headerRow,style:{justifyContent:w,alignItems:C},children:[t&&o.jsx("div",{className:ze.iconWrapper,style:{color:I},children:t}),o.jsx("div",{className:`${ze.headerTitle} header-title-data-board`,children:o.jsx("span",{title:Q(e,S),"aria-label":e?.description,style:{color:g,...m?{fontSize:m}:{},...M?{fontWeight:M}:{}},children:n})}),A?o.jsx(X6e,{endingDark:R,lightCount:s}):null]}),o.jsx("div",{className:ze.valueArea,style:{color:f,...x?{fontSize:x}:{},...v?{fontWeight:v}:{}},children:c})]}),N!==void 0&&o.jsxs("div",{className:ze.predictionSection,children:[o.jsx("div",{className:ze.predictionHeader,children:j??"PRED."}),o.jsx("div",{className:ze.predictionBody,children:N})]})]})},Y6e="_wrapper_1ydle_10",J6e="_hosp_1ydle_19",Q6e="_headerRow_1ydle_54",e8e="_iconWrapper_1ydle_61",t8e="_headerTitle_1ydle_67",a8e="_hospValue_1ydle_76",n8e="_side_1ydle_88",o8e="_mini_1ydle_100",c8e="_miniLabel_1ydle_131",i8e="_miniValue_1ydle_140",r8e="_miniBars_1ydle_150",s8e="_bars_1ydle_155",d8e="_bar_1ydle_155",l8e="_barDark_1ydle_169",h8e="_barDim_1ydle_173",Ve={wrapper:Y6e,hosp:J6e,headerRow:Q6e,iconWrapper:e8e,headerTitle:t8e,hospValue:a8e,side:n8e,mini:o8e,miniLabel:c8e,miniValue:i8e,miniBars:r8e,bars:s8e,bar:d8e,barDark:l8e,barDim:h8e},u8e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${Ve.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${Ve.bar} ${r<c?"":e?Ve.barDark:Ve.barDim}`},r))})},lA=({left:e,right:t,className:n="",style:c,miniTilesCount:i=3})=>{const r=e.bars??"endingDark",s=r!=="none",d=r==="endingDark",h={...c,"--mini-tiles-count":i};return o.jsxs("div",{className:`${Ve.wrapper} ${n} data-four-boards`,style:h,children:[o.jsxs("div",{className:`${Ve.hosp} ${e.className||""}`,onClick:e.onClick,style:{...e.width?{width:e.width}:{},...e.height?{height:e.height}:{},...e.backgroundColor?{backgroundColor:e.backgroundColor}:{},...e.style||{}},title:Q(e.a11yConfig,e.titleKey),children:[o.jsxs("div",{className:Ve.headerRow,children:[o.jsxs("div",{className:`${Ve.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&o.jsx("span",{style:{color:e.iconColor},children:e.iconName}),o.jsx("span",{className:Ve.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},title:Q(e.a11yConfig,e.titleKey),children:e.label})]}),s?o.jsx(u8e,{endingDark:d,lightCount:e.lightBars??5}):null]}),o.jsx("div",{className:Ve.hospValue,style:{color:e.valueColor||"white",...e.valueScale!==void 0?{"--ds-value-scale":e.valueScale}:{},...e.valueFontSize?{fontSize:e.valueFontSize}:{},...e.valueFontWeight?{fontWeight:e.valueFontWeight}:{}},children:e.value})]}),o.jsx("div",{className:Ve.side,children:t.map((l,u)=>o.jsxs("div",{className:`${Ve.mini} ${l.className||""} icon-wrapper-data-four-boards`,onClick:l.onClick,style:{...l.width?{width:l.width}:{},...l.height?{height:l.height}:{},...l.backgroundColor?{backgroundColor:l.backgroundColor}:{},...l.style||{}},title:Q(l.a11yConfig,l.titleKey),children:[o.jsxs("span",{className:Ve.miniLabel,style:{color:l.titleColor||"white",textAlign:"right",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",...l.titleFontSize?{fontSize:l.titleFontSize}:{},...l.titleFontWeight?{fontWeight:l.titleFontWeight}:{}},title:Q(l.a11yConfig,l.titleKey),children:[l.iconName&&o.jsx("span",{style:{color:l.iconColor},children:l.iconName}),l.label]}),o.jsx("span",{className:`${Ve.miniValue} mini-value-data-four-boards`,style:{color:l.valueColor||"white",textAlign:"right",...l.valueScale!==void 0?{"--ds-value-scale":l.valueScale}:{},...l.valueFontSize?{fontSize:l.valueFontSize}:{},...l.valueFontWeight?{fontWeight:l.valueFontWeight}:{}},children:l.value}),o.jsx("div",{className:Ve.miniBars})]},l.id??`${l.label}-${u}`))})]})},p8e=({items:e,footerLabel:t,width:n,height:c,size:i=320,style:r,className:s="",backgroundColor:d,titleFontSize:h,titleFontWeight:l,valueFontSize:u,valueFontWeight:p,noPaddingLeftRight:y=!1,onItemClick:g})=>{const f={width:n??i,height:c,backgroundColor:d??"var(--ds-navy)",...r},m=e[0],M=e[1],x=e.slice(2,5);return o.jsxs("div",{style:f,className:`${ci.container} ${y?ci.noPaddingMobile:""} ${s}`,children:[o.jsxs("div",{className:ci.card,children:[m?o.jsx(vt,{a11yConfig:m.a11yConfig,label:m.label,value:m.value,backgroundColor:m.backgroundColor,bars:m.bars,lightBars:m.lightBars,size:m.size??"big",valueScale:m.valueScale,width:m.width,height:m.height,titleColor:"white",valueColor:"white",titleFontSize:m.titleFontSize??h,titleFontWeight:m.titleFontWeight??l,valueFontSize:m.valueFontSize??u,valueFontWeight:m.valueFontWeight??p,titleKey:m.titleKey,onClick:v=>g?.(0,v)}):null,M&&x.length>0?o.jsx(lA,{left:{a11yConfig:M.a11yConfig,id:M.id,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,valueScale:M.valueScale,width:M.width,height:M.height,titleFontSize:M.titleFontSize??h,titleFontWeight:M.titleFontWeight??l,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,titleKey:M.titleKey,onClick:v=>g?.(1,v)},right:x.map((v,L)=>({a11yConfig:v.a11yConfig,id:v.id,label:v.label,value:v.value,backgroundColor:v.backgroundColor,bars:v.bars,lightBars:v.lightBars,valueScale:v.valueScale,width:v.width,height:v.height,titleFontSize:v.titleFontSize??h,titleFontWeight:v.titleFontWeight??l,valueFontSize:v.valueFontSize??u,valueFontWeight:v.valueFontWeight??p,titleKey:v.titleKey,onClick:w=>g?.(2+L,w)}))}):M&&x.length===0?o.jsx(vt,{a11yConfig:M.a11yConfig,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,size:M.size??"big",valueScale:M.valueScale,width:M.width,height:M.height,titleColor:"white",valueColor:"white",titleFontSize:M.titleFontSize??h,titleFontWeight:M.titleFontWeight??l,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,onClick:v=>g?.(1,v)}):null]}),t&&o.jsx("div",{className:ci.footer,children:t})]})},y8e=({x:e,y:t,width:n,payload:c,fontSize:i,fontWeight:r,stroke:s})=>o.jsx("g",{transform:`translate(${e},${t})`,children:o.jsx("foreignObject",{x:-n,y:-35,width:n,height:70,style:{overflow:"visible"},children:o.jsx("div",{style:{fontSize:i,fontWeight:r,color:s,lineHeight:"1.2",display:"flex",justifyContent:"flex-end",textAlign:"right",alignItems:"center",height:"100%",width:"100%",paddingRight:"8px",boxSizing:"border-box"},children:o.jsx("span",{style:{overflowWrap:"break-word",whiteSpace:"normal",display:"block",maxWidth:"100%"},children:c.value})})})}),k8e=({data:e,height:t=360,barColor:n="#0284C7",tooltipEnabled:c=!0,backgroundColor:i="transparent",legendTextColor:r="var(--color-text)",barHeight:s=40,yAxisWidth:d=120,fontSize:h="12px",fontWeight:l="400",domain:u,xAxisLabel:p,margin:y={top:20,right:60,bottom:40,left:0},valueFormatter:g,tickFormatter:f,labelDataKey:m="percentage"})=>{const M=(y.top??20)+(y.bottom??40)+e.length*(s+20),x=Math.max(M,t),v=k.useMemo(()=>{if(!e||e.length===0)return d;const _=(parseFloat(h)||12)*.7,S=Math.max(...e.map(N=>(N.label||"").length))*_+16;return Math.min(Math.max(S,40),d)},[e,h,d]),L=b=>f?f(b):b?.toString()||"",w=b=>g&&m==="value"?g(b):b==null||b===""?"":m==="percentage"?`${b}%`:b.toString(),C=(b,_,I)=>{if(typeof b!="number")return b;const S=g?g(b):b.toString(),N=I?.payload?.percentage;return typeof N=="number"&&Number.isFinite(N)&&m==="percentage"?`${S} (${N.toFixed(1)}%)`:S};return o.jsx("div",{style:{backgroundColor:i,width:"100%"},children:o.jsx(a.ResponsiveContainer,{width:"100%",height:x,children:o.jsxs(a.BarChart,{data:e,layout:"vertical",margin:y,children:[o.jsx(a.CartesianGrid,{opacity:.4,stroke:"#E5E7EB",vertical:!1,horizontal:!0}),o.jsx(a.XAxis,{type:"number",domain:u||[0,"auto"],axisLine:!1,tickLine:!1,fontSize:h,fontWeight:l,stroke:r,tickFormatter:L,label:p?{value:p,position:"insideBottom",offset:-10,style:{textAnchor:"middle",fill:r,fontSize:12,fontWeight:"500"}}:void 0}),o.jsx(a.YAxis,{type:"category",dataKey:"label",stroke:r,axisLine:!1,tickLine:!1,width:v,interval:0,fontSize:h,fontWeight:l,tick:o.jsx(y8e,{fontSize:h,fontWeight:l,stroke:r})}),c&&o.jsx(a.Tooltip,{formatter:C,labelStyle:{color:"var(--color-text)"}}),o.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s,children:o.jsx(a.LabelList,{dataKey:m,position:"right",offset:10,formatter:w,fill:r,fontSize:h,fontWeight:l})})]})})})},m8e="_menu_10i6j_1",f8e="_menuRow_10i6j_18",g8e="_separator_10i6j_33",v8e="_rowLabel_10i6j_39",M8e="_rowLeadingIcon_10i6j_47",x8e="_rowIcon_10i6j_54",Uc={menu:m8e,menuRow:f8e,separator:g8e,rowLabel:v8e,rowLeadingIcon:M8e,rowIcon:x8e},_8e=k.forwardRef(function({isVisible:t,onClose:n,items:c,style:i,position:r,bg:s},d){const h=k.useRef(null),l=d||h;if(k.useEffect(()=>{if(!t)return;const y=g=>{l.current&&!l.current.contains(g.target)&&n?.()};return document.addEventListener("mousedown",y),()=>document.removeEventListener("mousedown",y)},[t,n]),!t)return null;const p={...{top:r?.top,left:r?.left,right:r?.right,bottom:r?.bottom},...s&&{backgroundColor:s},...i};return o.jsx("div",{ref:l,role:"menu",className:Uc.menu,style:p,children:c.map(y=>{if(y.type==="separator")return o.jsx("hr",{className:Uc.separator},y.id);const g=y,f=g.color?{color:g.color}:{},m=g.closeOnClick!==!1;return o.jsxs("button",{role:"menuitem",className:Uc.menuRow,style:f,onClick:()=>{g.onClick?.(),m&&n?.()},children:[o.jsxs("span",{className:Uc.rowLabel,children:[g.leadingIcon&&o.jsx("span",{className:Uc.rowLeadingIcon,children:g.leadingIcon}),o.jsx("span",{children:g.label})]}),g.icon&&o.jsx("span",{className:Uc.rowIcon,children:g.icon})]},g.id)})})}),hA=({user:e,logoutHref:t,logoutTarget:n="_self",onLogout:c,profileHref:i,profileLinkTarget:r="_self",backgroundColor:s="transparent",textColor:d="inherit",roleColor:h="#888",avatarSize:l="32px",padding:u="10px",gap:p="12px",emailFontSize:y="14px",emailFontWeight:g=600,roleFontSize:f="12px",roleFontWeight:m,avatarColor:M="#5b8fb9",backgroundColorAvatar:x="#f1f4f5",dropdownMenuItems:v,dropdownMenuStyle:L,dropdownMenuOffset:w,statusDotColor:C,a11yConfig:b,style:_,className:I=""})=>{const{user:S}=ut(),N=e||S,{currentTheme:j,switchTheme:A}=gL(),R=k.useRef(null),T=k.useRef(null),[V,$]=k.useState(!1),[q,P]=k.useState({}),H=k.useMemo(()=>{const Y=[],ee=({variant:ue})=>ue==="sun"?o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("circle",{cx:"12",cy:"12",r:"4"})}):o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})});i&&(Y.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),Y.push({id:"sep-profile",type:"separator"}));const ie=j==="dark";return Y.push({id:"theme",type:"action",label:ie?"Mode clair":"Mode sombre",icon:o.jsx(ee,{variant:ie?"sun":"moon"}),onClick:()=>{A(ie?"light":"dark")}}),(t||c)&&(Y.push({id:"sep-theme",type:"separator"}),Y.push({id:"logout",type:"action",label:"Se déconnecter",danger:!0,onClick:()=>{if(t){if(typeof window>"u")return;n==="_blank"?window.open(t,"_blank","noopener,noreferrer"):window.location.assign(t);return}c?.()}})),Y},[j,t,n,c,i,r,A]),D=v??H,E=()=>{if(!R.current){$(Y=>!Y);return}if(!V){const Y=R.current.getBoundingClientRect(),ee=window.innerWidth,ie=window.innerHeight,ue=200,re=200,W=4,O=w?.x??0,oe=w?.y??0,Re=ee-Y.right>=ue+W;P(Re?{top:Y.bottom-re+oe,left:Y.right+W+O}:{bottom:ie-Y.top+oe,left:Y.left+O})}$(Y=>!Y)};if(k.useEffect(()=>{if(!V||!R.current)return;const Y=()=>{const ee=R.current.getBoundingClientRect(),ie=window.innerWidth,ue=window.innerHeight,re=200,W=200,O=4,oe=w?.x??0,Ce=w?.y??0,ge=ie-ee.right>=re+O;P(ge?{top:ee.bottom-W+Ce,left:ee.right+O+oe}:{bottom:ue-ee.top+Ce,left:ee.left+oe})};return window.addEventListener("resize",Y),window.addEventListener("orientationchange",Y),()=>{window.removeEventListener("resize",Y),window.removeEventListener("orientationchange",Y)}},[V,w]),k.useEffect(()=>{if(!V||!R.current||!T.current)return;const Y=()=>{const ie=R.current.getBoundingClientRect(),ue=T.current.getBoundingClientRect(),re=w?.x??0,W=w?.y??0;P(O=>O.left!==void 0&&O.top!==void 0&&O.left>=ie.right-1?{top:ie.bottom-ue.height+W,left:O.left+re}:O)},ee=requestAnimationFrame(()=>{setTimeout(Y,0)});return()=>cancelAnimationFrame(ee)},[V,w]),!N)return null;const K=N,te=parseInt(l,10)||40,ne=`${te*.375}px`,Me=`${te*1.375}px`,me=`${te*.2}px`,je=`${te*.6}px`,he=()=>{const Y=parseInt(l,10)||40,ee=Math.max(8,Y*.34375),ie=Math.max(2,Y*.05);return o.jsxs(o.Fragment,{children:[o.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[K.image?o.jsx("img",{src:K.image,alt:`${K.prenom} ${K.nom}`,style:{width:l,height:l,borderRadius:"50%",objectFit:"cover",userSelect:"none"}}):o.jsxs("div",{style:{width:l,height:l,position:"relative",borderRadius:"50%",backgroundColor:x,overflow:"hidden",userSelect:"none"},children:[o.jsx("div",{style:{width:ne,height:ne,borderRadius:"50%",backgroundColor:M,position:"absolute",top:me,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),o.jsx("div",{style:{width:Me,height:Me,borderRadius:"50%",backgroundColor:M,position:"absolute",top:je,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),C&&o.jsx("div",{style:{position:"absolute",bottom:ie,right:ie,width:`${ee}px`,height:`${ee}px`,borderRadius:"50%",backgroundColor:C,border:"2px solid white",zIndex:10}})]}),o.jsxs("div",{style:{display:"flex",flexDirection:"column",minWidth:0,flex:1},children:[o.jsx("span",{style:{fontWeight:g,fontSize:y,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:K.email,children:K.email}),o.jsx("span",{style:{color:h,fontSize:f,fontWeight:m,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:K.role,children:K.role})]})]})};return o.jsxs(o.Fragment,{children:[o.jsx("div",{ref:R,className:`user-info ${I}`,style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:u,backgroundColor:s,gap:p,color:d,width:"100%",boxSizing:"border-box",cursor:"pointer",userSelect:"none",..._},onClick:E,title:Q(b,K.role),role:"button",tabIndex:0,children:o.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:o.jsx(he,{})})}),o.jsx(_8e,{ref:T,isVisible:V,onClose:()=>$(!1),items:D,style:L,position:q})]})},L8e="_navItem_16uqf_1",I8e="_label_16uqf_14",b8e="_icon_16uqf_26",k1={navItem:L8e,label:I8e,icon:b8e},Jw=({label:e,labelKey:t,onClick:n,href:c,isActive:i,icon:r,style:s,className:d="",highlightColor:h="#00aec7",color:l="#333",activeColor:u="#00aec7",highlightBackgroundColor:p="rgba(0, 0, 0, 0.05)",fontSize:y="15px",fontWeight:g="500",sidebarCollapsed:f=!1,padding:m="10px 16px",borderWidth:M="4px",iconGap:x="12px",disabled:v=!1,disabledColor:L,a11yConfig:w})=>{const C=()=>{v||n?.()},b=o.jsxs(o.Fragment,{children:[r&&o.jsx("span",{className:k1.icon,style:{marginRight:f?0:x},children:r}),!f&&o.jsx("span",{className:k1.label,children:e})]}),_=()=>{if(!i)return"transparent";const S=N=>{const j=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(N);return j?{r:parseInt(j[1],16),g:parseInt(j[2],16),b:parseInt(j[3],16)}:null};if(h.startsWith("#")){const N=S(h);if(N)return`rgba(${N.r}, ${N.g}, ${N.b}, 0.08)`}else if(h.startsWith("rgb")){const N=h.match(/\d+/g);if(N&&N.length>=3)return`rgba(${N[0]}, ${N[1]}, ${N[2]}, 0.08)`}return p},I={onClick:C,className:`${k1.navItem} ${i?k1.active:""} ${d} ${v?k1.disabled:""}`,style:{padding:m,color:i?u:v?L||"#999":l,borderLeft:i?`${M} solid ${h}`:`${M} solid transparent`,backgroundColor:_(),fontSize:y,fontWeight:g,cursor:v?"not-allowed":"pointer",textDecoration:"none",...s},"aria-disabled":v};return c&&!n&&!v?o.jsx("a",{href:c,...I,title:Q(w,t),children:b}):o.jsx("div",{...I,role:n?"button":void 0,tabIndex:n&&!v?0:void 0,title:Q(w,t),children:b})},w8e="_navbar_agnn2_1",C8e="_topSection_agnn2_9",N8e="_sectionsContainer_agnn2_14",j8e="_sectionTitle_agnn2_20",S8e="_sectionItems_agnn2_25",$8e="_bottomSection_agnn2_30",q8e="_versionContainer_agnn2_49",kt={navbar:w8e,topSection:C8e,sectionsContainer:N8e,sectionTitle:j8e,sectionItems:S8e,bottomSection:$8e,versionContainer:q8e},A8e=({logoProps:e,logoSpacing:t,navItems:n,padding:c="24px 16px",sectionSpacing:i="32px",itemSpacing:r="4px",backgroundColor:s="#fff",highlightColor:d="#00aec7",highlightBackgroundColor:h="rgba(0, 0, 0, 0.05)",version:l,navSectionStyle:u,navLinkStyle:p,navItemPadding:y="10px 16px",navItemBorderWidth:g="4px",navItemIconGap:f="12px",navItemFontSize:m="15px",navItemFontWeight:M="500",navItemColor:x,sectionTitlePadding:v="16px",sectionTitleFontSize:L="11px",sectionTitleColor:w="#999",sectionTitleWeight:C="500",versionFontSize:b="12px",versionFontWeight:_="400",versionColor:I="#999",userInfoProps:S,style:N,className:j="",width:A="280px",showLogo:R=!0,versionA11yConfig:T,displayNone:V=!1})=>{const $=ut(),q=$.activeNav,P=$.setActiveNav,H=$.user,D=S.user||H;return o.jsxs("div",{className:`${kt.navbar} ${j}`,style:{width:A,backgroundColor:s,padding:c,display:V?"none":"flex",...N},children:[o.jsxs("div",{className:kt.topSection,style:{gap:t},children:[R&&o.jsx("div",{className:kt.logoContainer,children:o.jsx(fL,{...e})}),o.jsx("div",{className:kt.sectionsContainer,style:{gap:i},children:n.map((E,K)=>o.jsxs("div",{className:kt.section,children:[E.title&&o.jsx("div",{className:kt.sectionTitle,title:Q(E.a11yConfig,E.titleKey),style:{fontSize:L,color:w,padding:v,fontWeight:C,border:"4px solid transparent",...u},children:E.title}),o.jsx("div",{className:kt.sectionItems,style:{gap:r},children:E.items.map(te=>o.jsx(Jw,{...te,isActive:te.isActive===null?te.isActive:q===te.id,onClick:()=>{te.onClick&&te.onClick(),te.isActive==null&&P(te.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:h,padding:y,borderWidth:g,iconGap:f,fontSize:m,fontWeight:M,color:x,style:p},te.id))})]},K))})]}),o.jsxs("div",{className:kt.bottomSection,style:{gap:t},children:[o.jsx(hA,{...S,user:D}),l&&o.jsx("div",{className:kt.versionContainer,title:Q(T,l),style:{fontSize:b,fontWeight:_,color:I},children:l})]})]})},z8e="_container_4qege_1",V8e="_titleContainer_4qege_10",P8e="_title_4qege_10",T8e="_inlineToggleContainer_4qege_24",H8e="_rightContentContainer_4qege_30",m1={container:z8e,titleContainer:V8e,title:P8e,inlineToggleContainer:T8e,rightContentContainer:H8e},D8e=({className:e="",style:t,fontSize:n="20px",fontWeight:c="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:h,height:l,border:u,borderRadius:p,navItems:y,formatTitle:g=M=>M,rightContent:f,inlineToggle:m})=>{const{activeNav:M}=ut(),x=y.find(L=>L.id===M),v=g(x?x.label:M);return v?o.jsxs("div",{className:`${m1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:h,height:l,border:u,borderRadius:p,...t},children:[o.jsxs("div",{className:m1.titleContainer,children:[o.jsx("div",{className:m1.title,style:{fontSize:n,fontWeight:c,color:i},children:v}),m&&o.jsx("div",{className:m1.inlineToggleContainer,children:m})]}),f&&o.jsx("div",{className:m1.rightContentContainer,children:f})]}):null},B8e="_navItem_1hg26_1",R8e="_navItemIcon_1hg26_21",F8e="_navItemLabel_1hg26_29",E8e="_navItemCount_1hg26_36",O8e="_navItemIndicator_1hg26_49",f1={navItem:B8e,navItemIcon:R8e,navItemLabel:F8e,navItemCount:E8e,navItemIndicator:O8e},uA=({a11yConfig:e,label:t,isActive:n,onClick:c,href:i,labelKey:r,icon:s,count:d,activeColor:h="#00aec7",inactiveColor:l="#666",activeBackgroundColor:u="transparent",countBackgroundColor:p,countColor:y="#fff",countBorderRadius:g="10px",countPadding:f="2px 6px",countFontSize:m="12px",countFontWeight:M="500",indicatorColor:x="#00aec7",indicatorHeight:v="3px",padding:L="8px 4px",fontSize:w="14px",fontWeight:C="500",gap:b="8px",style:_,className:I="",disabled:S=!1,onNavigate:N})=>{const j=()=>{S||(c?.(),i&&(N?N(i):window.location.href=i))};return o.jsxs("div",{className:`${f1.navItem} ${I}`,onClick:j,title:Q(e,r),style:{gap:b,padding:L,color:n?h:l,backgroundColor:n?u:"transparent",fontSize:w,fontWeight:C,..._},children:[s&&o.jsx("span",{className:f1.navItemIcon,children:s}),o.jsx("span",{className:f1.navItemLabel,children:t}),d!==void 0&&o.jsx("span",{className:f1.navItemCount,style:{backgroundColor:p,color:y,borderRadius:g,padding:f,fontSize:m,fontWeight:M},children:d}),n&&!S&&o.jsx("div",{className:f1.navItemIndicator,style:{height:v,backgroundColor:x}})]})},U8e="_container_13hsa_1",W8e="_groupHeader_13hsa_8",G8e="_groupHeaderLeft_13hsa_18",K8e="_groupIcon_13hsa_23",Z8e="_dropdown_13hsa_29",X8e="_item_13hsa_42",Y8e="_itemIcon_13hsa_65",J8e="_chevron_13hsa_72",Q8e="_chevronOpen_13hsa_79",mt={container:U8e,groupHeader:W8e,groupHeaderLeft:G8e,groupIcon:K8e,dropdown:Z8e,item:X8e,itemIcon:Y8e,chevron:J8e,chevronOpen:Q8e},efe=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M480-344 240-584l43-43 197 197 197-197 43 43z"})),B1=k.memo(efe),pA=({groups:e,activeItemId:t,onItemClick:n,style:c,className:i,bgColor:r="transparent",color:s="var(--color-text)",headerBgColor:d="var(--color-indicator)",headerColor:h="var(--color-text)",headerBorderBottomColor:l="var(--color-border)",dropdownBgColor:u="var(--color-background)",itemBgColor:p="transparent",itemHoverBgColor:y="rgba(0,0,0,0.05)",itemColor:g="var(--color-text)",itemActiveColor:f="var(--color-primary)",itemActiveBorderColor:m="var(--color-primary)",itemDividerColor:M="var(--color-border)",iconColor:x="#555555",activeIconColor:v="var(--color-primary)",headerIconColor:L="var(--color-text)",chevronColor:w="var(--color-text)",iconSize:C=22,headerPadding:b="14px 20px",itemPadding:_="14px 20px",iconGap:I=14,borderRadius:S=0})=>{const[N,j]=k.useState(""),A=k.useRef(null);k.useEffect(()=>{const T=V=>{A.current&&!A.current.contains(V.target)&&j("")};return document.addEventListener("mousedown",T),()=>document.removeEventListener("mousedown",T)},[]);const R={backgroundColor:r,color:s,borderRadius:S,...c};return o.jsx("nav",{ref:A,className:[mt.container,i].filter(Boolean).join(" "),style:R,children:e.map(T=>{const V=N===T.id,$={backgroundColor:d,color:h,padding:b,borderBottom:`1px solid ${l}`,gap:I},q={backgroundColor:u};return o.jsxs("div",{children:[o.jsxs("div",{className:mt.groupHeader,style:$,onClick:()=>j(V?"":T.id),role:"button","aria-expanded":V,children:[o.jsxs("div",{className:mt.groupHeaderLeft,style:{gap:I},children:[T.icon&&o.jsx("span",{className:mt.groupIcon,style:{color:L,width:C,height:C},children:T.icon}),o.jsx("span",{children:T.label})]}),o.jsx("span",{className:[mt.chevron,V?mt.chevronOpen:""].join(" "),style:{color:w},children:o.jsx(B1,{width:18,height:18})})]}),V&&o.jsx("div",{className:mt.dropdown,style:q,children:T.items.map(P=>{const H=P.id===t,D={padding:_,gap:I,color:H?f:g,backgroundColor:p,"--item-border-width":H?"4px":"1px","--item-border-color":H?m:M};return o.jsxs("div",{className:mt.item,style:D,onClick:()=>{n?.(T.id,P.id),j("")},role:"menuitem",onMouseEnter:E=>{H||(E.currentTarget.style.backgroundColor=y)},children:[P.icon&&o.jsx("span",{className:mt.itemIcon,style:{color:H?v:x,width:C,height:C},children:P.icon}),o.jsx("span",{children:P.label})]},P.id)})})]},T.id)})})},tfe="_subheaderContent_1glo8_1",afe="_navContainer_1glo8_11",nfe="_rightContent_1glo8_45",Pb={subheaderContent:tfe,navContainer:afe,rightContent:nfe},ofe=({subNavItems:e,backgroundColor:t="transparent",padding:n="0",margin:c,width:i,height:r="auto",border:s,borderBottom:d="none",itemGap:h="24px",actionsGap:l="16px",itemPadding:u="12px 0",itemFontSize:p="14px",itemFontWeight:y="500",activeItemColor:g="#00aec7",inactiveItemColor:f="#5c6975",indicatorHeight:m="3px",showDraggable:M=!1,showLegend:x=!1,showData:v=!1,className:L="",style:w,countBackgroundColor:C,countColor:b,countBorderRadius:_,countPadding:I,countFontSize:S,countFontWeight:N,navContainerClassName:j,navContainerStyle:A,rightContentClassName:R,rightContentStyle:T,rightActions:V,activeSwitcherColor:$,inactiveSwitcherColor:q,isMobile:P=!1,onNavigate:H})=>{const{activeSubNav:D,setActiveSubNav:E,navCounts:K,activeNav:te}=ut();if(P){const ne=e.find(me=>me.id===D)||e[0],Me=[{id:"current-group",label:ne?.label||te?.toUpperCase()||"MENU",icon:ne?.icon,items:e.map(me=>({id:me.id,label:me.label,icon:me.icon}))}];return o.jsx("div",{className:L,style:w,children:o.jsx(pA,{groups:Me,activeItemId:D,onItemClick:(me,je)=>{const he=e.find(Y=>Y.id===je);he&&(he.onClick&&he.onClick(),he.href&&(H?H(he.href):he.onNavigate?he.onNavigate(he.href):window.location.href=he.href),E(je))},headerBgColor:t})})}return o.jsxs("div",{className:`${Pb.subheaderContent} ${L}`,style:{backgroundColor:t,padding:n,margin:c,width:i,height:r,border:s,borderBottom:d,...w},children:[o.jsx("div",{className:`${Pb.navContainer} ${j||""}`,style:{gap:h,...A},children:e.map(ne=>{const Me=ne.count!==void 0?ne.count:K[ne.id],me=D===ne.id||ne.isActive;return o.jsx(uA,{...ne,onNavigate:H||ne.onNavigate,count:Me,isActive:me,onClick:()=>{ne.onClick&&ne.onClick(),E(ne.id)},activeColor:g,inactiveColor:f,countBackgroundColor:C,countColor:b,countBorderRadius:_,countPadding:I,countFontSize:S,countFontWeight:N,indicatorColor:g,indicatorHeight:m,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:ne.style},ne.id)})}),o.jsxs("div",{className:`${Pb.rightContent} ${R||""}`,style:{gap:l,...T},children:[M&&o.jsx(rL,{size:20,colors:{bg:$,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),x&&o.jsx(sL,{size:20,colors:{bg:$,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),v&&o.jsx(dL,{size:20,colors:{bg:$,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),V]})]})},cfe=({onSwitch:e,size:t="20px",lightIconColor:n="#666",darkIconColor:c="#fff",backgroundColor:i="transparent",padding:r="8px",borderRadius:s="50%",style:d,className:h=""})=>{const[l,u]=k.useState(!1),{currentTheme:p,switchTheme:y}=gL(),g=p!="dark",f=()=>{y(g?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!l||!p?o.jsx(o.Fragment,{}):o.jsx("div",{className:`theme-switcher ${h}`,onClick:f,style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:i,padding:r,borderRadius:s,transition:"all 0.3s ease",...d},children:g?o.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}):o.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("circle",{cx:"12",cy:"12",r:"5"}),o.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),o.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),o.jsx("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),o.jsx("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),o.jsx("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),o.jsx("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),o.jsx("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),o.jsx("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})})},ife=({initialSortBy:e=null,initialSortOrder:t="asc",onSortChange:n})=>{const[c,i]=k.useState({sortBy:e,sortOrder:t,filters:{}}),r=k.useCallback(s=>{let d="asc";c.sortBy===s&&(d=c.sortOrder==="asc"?"desc":"asc");const h={...c,sortBy:s,sortOrder:d};i(h),n(s,d)},[c,n]);return{tableState:c,handleSort:r}},rfe=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),sfe=k.memo(rfe),dfe=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),lfe=k.memo(dfe),hfe=({columns:e,sortBy:t,sortOrder:n,onSort:c,removeLabelSpan:i=!1})=>o.jsx("thead",{children:o.jsx("tr",{children:e.map((r,s)=>{const d=t===r.key,h=!!r.sortable;return o.jsx("th",{className:`${r.className||""}${h?" sortable":""}`,style:{width:r.width,textAlign:r.align||"left"},onClick:()=>h&&c(String(r.key)),title:Q(r.a11yConfig,r.titleKey),children:o.jsxs("div",{className:`th-content ${r.align?`align-${r.align}`:""}`,children:[i?r.label:o.jsx("span",{children:r.label}),h&&o.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?o.jsx(lfe,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):o.jsx(sfe,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),ufe=({data:e,columns:t,rowKey:n,onRowClick:c,isLoading:i,text:r,rowStyle:s,rowClassName:d,renderSeparator:h})=>!e.length&&!i?o.jsx("tbody",{children:o.jsx("tr",{children:o.jsx("td",{colSpan:t.length,style:{textAlign:"center",padding:"32px"},children:o.jsx("span",{style:{color:"var(--table-text-muted)"},children:r?.noData||"Aucune donnée disponible"})})})}):o.jsx("tbody",{children:e.map((l,u)=>{const p=l[n],y=typeof p=="string"||typeof p=="number"?p:u,g=h?h(l):null;return o.jsx("tr",{onClick:()=>c&&c(l),style:{cursor:c?"pointer":"default",...s?s(l):{}},className:d?d(l,u):"",children:g?o.jsx("td",{colSpan:t.length,children:g}):t.map((f,m)=>o.jsx("td",{style:{width:f.width,textAlign:f.align||"left"},className:f.className,children:f.render?f.render(l):l[f.key]},`${String(f.key)}-${m}`))},y)})}),pfe=({state:e,onPaginationChange:t,onLoadMore:n,infiniteScroll:c,hasMore:i,text:r,isLoading:s})=>{const{page:d,pageSize:h,total:l}=e,u=h===-1?l:h,p=Math.ceil(l/u)||1,y=Math.min(Math.max(1,d),p),g=l===0?0:(y-1)*u+1,f=Math.min(y*u,l),m=x=>{t({page:x})},M=k.useMemo(()=>{if(p<=6)return Array.from({length:p},(S,N)=>N+1);const L=Math.max(y-1,1),w=Math.min(y+1,p),C=L>2,b=w<p-2,_=1,I=p;if(!C&&b)return[...Array.from({length:5},(j,A)=>A+1),"...",p];if(C&&!b){const N=Array.from({length:5},(j,A)=>p-5+A+1);return[_,"...",...N]}if(C&&b){const S=Array.from({length:w-L+1},(N,j)=>L+j);return[_,"...",...S,"...",I]}return[]},[y,p]);return o.jsxs("div",{className:"table-pagination",children:[o.jsx("div",{className:"pagination-summary",children:l>0?o.jsx("span",{children:r?.itemsRange?r.itemsRange(g,f,l):o.jsxs(o.Fragment,{children:[o.jsxs("b",{children:[g,"–",f]})," ","sur ",o.jsx("b",{children:l.toLocaleString()})," éléments"]})}):o.jsx("span",{children:r?.noResults||"0 résultats"})}),o.jsx("div",{className:"pagination-spacer"}),!c&&h!==-1&&p>1&&o.jsxs("div",{className:"pagination-controls",children:[o.jsx("button",{className:"pagination-btn",onClick:()=>m(1),disabled:y===1,title:r?.first||"Premier",children:"<<"}),o.jsx("button",{className:"pagination-btn",onClick:()=>m(y-1),disabled:y===1,title:r?.previous||"Précédent",children:"<"}),(M||[]).map((x,v)=>x==="..."?o.jsx("span",{style:{padding:"0 4px",color:"var(--table-text-muted)"},children:"..."},v):o.jsx("button",{className:`pagination-btn ${x===y?"active":""}`,onClick:()=>m(x),children:x},v)),o.jsx("button",{className:"pagination-btn",onClick:()=>m(y+1),disabled:y===p,title:r?.next||"Suivant",children:">"}),o.jsx("button",{className:"pagination-btn",onClick:()=>m(p),disabled:y===p,title:r?.last||"Dernier",children:">>"})]}),!c&&n&&i&&o.jsx("div",{className:"pagination-load-more",children:o.jsx("button",{className:"btn-load-more",onClick:n,disabled:s,style:{padding:"8px 16px",backgroundColor:"white",border:"1px solid #ddd",borderRadius:"6px",cursor:s?"wait":"pointer",color:"#555",fontWeight:600},children:s?r?.loading||"Chargement...":r?.loadMore||"Charger plus"})})]})},yA=({data:e,columns:t,isLoading:n,pagination:c,onPaginationChange:i,onSortChange:r,rowKey:s,loaderSize:d=40,stickyHeader:h=!0,height:l,minHeight:u="200px",text:p,onLoadMore:y,infiniteScroll:g,hasMore:f,tableState:m,className:M,style:x,rowStyle:v,onRowClick:L,rowClassName:w,titleKey:C,removeLabelSpan:b=!1,a11yConfig:_,renderSeparator:I})=>{const S=k.useMemo(()=>({...p}),[p]),N=k.useRef(null);k.useEffect(()=>{if(!g||!y||!f||n)return;const $=new IntersectionObserver(q=>{q[0].isIntersecting&&y()},{threshold:.1});return N.current&&$.observe(N.current),()=>$.disconnect()},[g,y,f,n]);const{tableState:j,handleSort:A}=ife({initialSortBy:null,onSortChange:r}),R=(m?.sortBy!==void 0?m.sortBy:j.sortBy)??void 0,T=m?.sortOrder!==void 0?m.sortOrder:j.sortOrder,V=$=>{const q=R,P=T;let H="asc";q===$&&(H=P==="asc"?"desc":"asc"),m?.sortBy!==void 0?r($,H):A($)};return o.jsxs("div",{className:`table-container ${M||""}`,style:x,title:Q(_,C),children:[o.jsxs("div",{className:"table-frame",style:{height:l??void 0,minHeight:u??void 0},children:[n&&o.jsx("div",{className:"table-loader-overlay",children:o.jsx("div",{className:"spinner",style:{width:d,height:d,borderTopColor:"var(--table-primary)"}})}),o.jsxs("div",{className:`table-wrapper ${h?"sticky-header":""}`,children:[o.jsxs("table",{className:"data-table",children:[o.jsx(hfe,{columns:t,sortBy:R,sortOrder:T,onSort:V,removeLabelSpan:b}),o.jsx(ufe,{data:e,columns:t.map($=>({...$,render:$.render?q=>$.render(q,{}):void 0})),rowKey:s,onRowClick:L,isLoading:n,text:S,rowStyle:typeof v=="function"?v:v?()=>v:void 0,rowClassName:w,renderSeparator:I})]}),g&&o.jsx("div",{ref:N,style:{height:20,margin:10}})]})]}),o.jsx(pfe,{state:c,onPaginationChange:i,text:S,onLoadMore:y,infiniteScroll:g,hasMore:f,isLoading:n})]})},yfe="_datePickerContainer_1941b_3",kfe="_label_1941b_16",mfe="_displayNode_1941b_23",ffe="_datePickerButton_1941b_30",gfe="_datePickerButtonDisabled_1941b_50",vfe="_datePickerButtonOpen_1941b_59",Mfe="_datePickerLabel_1941b_68",xfe="_placeholder_1941b_79",_fe="_chevron_1941b_83",Lfe="_errorMessage_1941b_91",Ife="_dropdown_1941b_96",bfe="_calendarHeader_1941b_120",wfe="_navButton_1941b_129",Cfe="_headerSelectors_1941b_148",Nfe="_monthSelector_1941b_156",jfe="_yearSelector_1941b_157",Sfe="_selectorButton_1941b_161",$fe="_selectorChevron_1941b_178",qfe="_selectorChevronOpen_1941b_183",Afe="_monthDropdown_1941b_187",zfe="_yearDropdown_1941b_188",Vfe="_monthItem_1941b_208",Pfe="_yearItem_1941b_209",Tfe="_monthItemSelected_1941b_231",Hfe="_yearItemSelected_1941b_232",Dfe="_weekdays_1941b_236",Bfe="_weekday_1941b_236",Rfe="_calendarGrid_1941b_252",Ffe="_dateCell_1941b_260",Efe="_dateCellSelected_1941b_283",Ofe="_dateCellOtherMonth_1941b_287",Ufe="_dateCellOtherMonthSelected_1941b_291",Wfe="_calendarFooter_1941b_295",Gfe="_cancelButton_1941b_303",Kfe="_applyButton_1941b_304",Zfe="_timePickerContainer_1941b_348",Xfe="_timeGroup_1941b_357",Yfe="_timeLabel_1941b_364",Jfe="_timeInputWrapper_1941b_370",Qfe="_timeInput_1941b_370",ege="_timeSeparator_1941b_398",U={datePickerContainer:yfe,label:kfe,displayNode:mfe,datePickerButton:ffe,datePickerButtonDisabled:gfe,datePickerButtonOpen:vfe,datePickerLabel:Mfe,placeholder:xfe,chevron:_fe,errorMessage:Lfe,dropdown:Ife,calendarHeader:bfe,navButton:wfe,headerSelectors:Cfe,monthSelector:Nfe,yearSelector:jfe,selectorButton:Sfe,selectorChevron:$fe,selectorChevronOpen:qfe,monthDropdown:Afe,yearDropdown:zfe,monthItem:Vfe,yearItem:Pfe,monthItemSelected:Tfe,yearItemSelected:Hfe,weekdays:Dfe,weekday:Bfe,calendarGrid:Rfe,dateCell:Ffe,dateCellSelected:Efe,dateCellOtherMonth:Ofe,dateCellOtherMonthSelected:Ufe,calendarFooter:Wfe,cancelButton:Gfe,applyButton:Kfe,timePickerContainer:Zfe,timeGroup:Xfe,timeLabel:Yfe,timeInputWrapper:Jfe,timeInput:Qfe,timeSeparator:ege},xS=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],tge=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],hw=({value:e,onChange:t,label:n,placeholder:c="Sélectionner une date...",className:i="",fullWidth:r=!0,disabled:s=!1,error:d,buttonHeight:h="2.75rem",buttonPadding:l="0.75rem 1rem 0.75rem 1rem",dropdownMaxHeight:u="auto",fontSize:p="0.875rem",iconSize:y="1.5rem",labelMarginBottom:g="0.5rem",errorMarginTop:f="0.25rem",dropdownMarginTop:m="0.25rem",itemPadding:M="0.5rem 0.75rem",fontWeight:x="400",buttonBgColor:v,buttonBorderColor:L,buttonTextColor:w,dropdownBgColor:C="#ffffff",itemHoverColor:b,selectedItemBgColor:_,iconColor:I,errorColor:S,labelColor:N,placeholderColor:j,borderRadius:A="var(--radius-content)",borderWidth:R="0.0625rem",boxShadow:T="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:V="0.2s",transitionTiming:$="ease",dateCellSize:q="2.5rem",headerTextColor:P="#6c757d",weekdayTextColor:H="#6c757d",currentMonthDateColor:D="#212529",otherMonthDateColor:E="#adb5bd",selectedDateBgColor:K="#00A6D9",selectedDateTextColor:te="#ffffff",cancelButtonBgColor:ne="#e9ecef",cancelButtonTextColor:Me="#212529",applyButtonBgColor:me="#00A6D9",applyButtonTextColor:je="#ffffff",width:he,displayNode:Y=void 0,displayMode:ee="auto",displayNodeAriaLabel:ie,dropdownPosition:ue="bottom",dropdownAlignment:re="right",dropdownWidth:W,withBorder:O=!1,icon:oe,precision:Ce="day",hoursLabel:Re="Heures",minutesLabel:ge="Minutes",lowerLimit:Ne=null,upperLimit:pt=null,outOfLimitsMessage:h1="La date/heure choisie est hors des limites autorisées",months:se,weekdays:Ht,cancelText:$L="Annuler",applyText:_e="Appliquer",prevMonthAriaLabel:Dt="Mois précédent",nextMonthAriaLabel:gA="Mois suivant",calendarAriaLabel:vA="Sélecteur de date",openedAriaLabel:MA="Ouvrir le sélecteur de date",selectedDateAriaLabel:xA="Date sélectionnée: ",locale:Qw="fr-FR",rotateIcon:_A=!0})=>{const Bt=B=>{if(B instanceof Date)return isNaN(B.getTime())?null:B;if(typeof B=="string"&&B){const G=new Date(B);return isNaN(G.getTime())?null:G}return null},[Ee,Rt]=k.useState(!1),[Hc,LA]=k.useState({top:0,left:0,width:0}),[eC,tC]=k.useState(null),[le,u1]=k.useState(Bt(e)||new Date),[p1,qL]=k.useState(Bt(e)),[J1,AL]=k.useState(Bt(e)?.getHours()??0),[Q1,zL]=k.useState(Bt(e)?.getMinutes()??0),[VL,Dc]=k.useState(!1),[PL,Bc]=k.useState(!1),TL=k.useRef(null),Rc=k.useRef(null),aC=k.useRef(null),HL=k.useRef(null),DL=k.useRef(null);k.useEffect(()=>{const B=Bt(e);qL(B),B&&(u1(B),AL(B.getHours()),zL(B.getMinutes()))},[e]);const nC=k.useCallback(()=>{if(Rc.current){const B=Rc.current.getBoundingClientRect();LA({top:B.top,left:B.left,width:B.width})}},[]),oC=8,ei=k.useCallback(()=>{if(!Rc.current)return;const B=Rc.current.getBoundingClientRect(),G=(parseFloat(m.replace("rem",""))||0)*16,xe=aC.current?.scrollHeight??0,Ft=ue==="top"?B.top-G-oC:window.innerHeight-B.bottom-G-oC,yt=xe>0&&xe>Ft?Math.max(Ft,0):null;tC(Je=>Je===yt?Je:yt)},[ue,m]),Fc=k.useCallback(()=>{nC(),ei()},[nC,ei]);k.useEffect(()=>(Ee&&(Fc(),window.addEventListener("scroll",Fc,!0),window.addEventListener("resize",Fc)),()=>{window.removeEventListener("scroll",Fc,!0),window.removeEventListener("resize",Fc)}),[Ee,Fc]),k.useLayoutEffect(()=>{Ee?ei():tC(null)},[Ee,ei]),k.useEffect(()=>{const B=G=>{if(TL.current&&!TL.current.contains(G.target)){const xe=document.getElementById("datepicker-dropdown");if(xe&&xe.contains(G.target))return;Rt(!1),Dc(!1),Bc(!1)}HL.current&&!HL.current.contains(G.target)&&Dc(!1),DL.current&&!DL.current.contains(G.target)&&Bc(!1)};return document.addEventListener("mousedown",B),()=>document.removeEventListener("mousedown",B)},[]);const cC=B=>new Date(B.getFullYear(),B.getMonth()+1,0).getDate(),IA=B=>{const G=new Date(B.getFullYear(),B.getMonth(),1).getDay();return G===0?6:G-1},bA=()=>{const B=[],G=IA(le),xe=cC(le),Ft=new Date(le.getFullYear(),le.getMonth()-1,1),yt=cC(Ft);for(let be=G-1;be>=0;be--)B.push(new Date(le.getFullYear(),le.getMonth()-1,yt-be));for(let be=1;be<=xe;be++)B.push(new Date(le.getFullYear(),le.getMonth(),be));const Je=42-B.length;for(let be=1;be<=Je;be++)B.push(new Date(le.getFullYear(),le.getMonth()+1,be));return B},wA=(B,G)=>!B||!G?!1:B.getDate()===G.getDate()&&B.getMonth()===G.getMonth()&&B.getFullYear()===G.getFullYear(),CA=B=>B.getMonth()===le.getMonth()&&B.getFullYear()===le.getFullYear(),iC=B=>!(Ne&&B<Ne||pt&&B>pt),rC=p1?(()=>{const B=new Date(p1);return B.setHours(J1),B.setMinutes(Q1),B})():null,Ec=rC?!iC(rC):!1,NA=()=>{u1(new Date(le.getFullYear(),le.getMonth()-1,1))},jA=()=>{u1(new Date(le.getFullYear(),le.getMonth()+1,1))},SA=B=>{if(!s){const G=new Date(B);G.setHours(J1),G.setMinutes(Q1),qL(G)}},$A=()=>{if(!s){if(p1){const B=new Date(p1);if(B.setHours(J1),B.setMinutes(Q1),!iC(B))return;t(B)}else t(null);Rt(!1)}},qA=()=>{const B=Bt(e);qL(B),B&&(AL(B.getHours()),zL(B.getMinutes())),Rt(!1)},AA=B=>{u1(new Date(le.getFullYear(),B,1)),Dc(!1)},zA=B=>{u1(new Date(B,le.getMonth(),1)),Bc(!1)},VA=()=>{const B=le.getFullYear(),G=[];for(let xe=B-10;xe<=B+10;xe++)G.push(xe);return G},PA=B=>{if(!s)switch(B.key){case"Enter":case" ":B.preventDefault(),Rt(!Ee);break;case"Escape":Rt(!1),Dc(!1),Bc(!1);break;case"Tab":Ee&&(Rt(!1),Dc(!1),Bc(!1));break}},TA={width:he||(r?"100%":"auto"),fontSize:p,fontWeight:x},HA={height:h,padding:l,backgroundColor:v||"#ffffff",border:O?void 0:"none",borderColor:d?S||"#dc3545":L||"#dee2e6",color:w||"#212529",borderRadius:A,borderWidth:R,fontWeight:x,transition:`all ${V} ${$}`},sC=eC!=null,DA={backgroundColor:C||"#ffffff",maxHeight:sC?`${eC}px`:u,overflowY:sC?"auto":void 0,borderRadius:A,borderWidth:R,boxShadow:T,transition:`opacity ${V} ${$}, transform ${V} ${$}`,position:"fixed",top:ue==="bottom"?Hc.top+(Rc.current?.offsetHeight||0)+parseFloat(m.replace("rem",""))*16:"auto",bottom:ue==="top"?window.innerHeight-Hc.top+parseFloat(m.replace("rem",""))*16:"auto",left:re==="left"?Hc.left:"auto",right:re==="right"?window.innerWidth-(Hc.left+Hc.width):"auto",width:W||(r?Hc.width:"auto"),zIndex:10001},dC={width:y,height:y,color:I||"#6c757d","--icon-rotation":_A&&Ee?"rotate(180deg)":"rotate(0deg)"},BA={color:N||"#212529",marginBottom:g,fontWeight:x},RA={color:j||"#6c757d"},FA={color:S||"#dc3545",marginTop:f},EA=bA(),nt=Bt(e),lC=nt?Ce==="minutes"?`${nt.toLocaleDateString(Qw)} ${nt.getHours().toString().padStart(2,"0")}:${nt.getMinutes().toString().padStart(2,"0")}`:nt.toLocaleDateString(Qw):"",OA=!!Y&&(ee==="icon"||ee==="auto"&&!nt),UA=ie||(nt?`${xA}${lC}`:MA);return o.jsxs("div",{className:`${U.datePickerContainer} ${i}`,ref:TL,style:TA,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&o.jsx("label",{className:U.label,style:BA,children:n}),o.jsxs("button",{ref:Rc,type:"button",onClick:()=>!s&&Rt(!Ee),onKeyDown:PA,className:`
|
|
8169
|
+
`),()=>{M.contains(m)&&M.removeChild(m)}},[t]),o.jsx(A0e,{isPresent:t,childRef:r,sizeRef:s,children:J.cloneElement(e,{ref:h})})}const V0e=({children:e,initial:t,isPresent:n,onExitComplete:c,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:h})=>{const l=Pt(P0e),u=k.useId();let p=!0,y=k.useMemo(()=>(p=!1,{id:u,initial:t,isPresent:n,custom:i,onExitComplete:g=>{l.set(g,!0);for(const f of l.values())if(!f)return;c&&c()},register:g=>(l.set(g,!1),()=>l.delete(g))}),[n,l,c]);return r&&p&&(y={...y}),k.useMemo(()=>{l.forEach((g,f)=>l.set(f,!1))},[n]),J.useEffect(()=>{!n&&!l.size&&c&&c()},[n]),s==="popLayout"&&(e=o.jsx(z0e,{isPresent:n,anchorX:d,root:h,children:e})),o.jsx(vL.Provider,{value:y,children:e})};function P0e(){return new Map}function D$(e=!0){const t=k.useContext(vL);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:c,register:i}=t,r=k.useId();k.useEffect(()=>{if(e)return i(r)},[e]);const s=k.useCallback(()=>e&&c&&c(r),[r,c,e]);return!n&&c?[!1,s]:[!0]}const ni=e=>e.key||"";function PC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const T0e=({children:e,custom:t,initial:n=!0,onExitComplete:c,presenceAffectsLayout:i=!0,mode:r="sync",propagate:s=!1,anchorX:d="left",root:h})=>{const[l,u]=D$(s),p=k.useMemo(()=>PC(e),[e]),y=s&&!l?[]:p.map(ni),g=k.useRef(!0),f=k.useRef(p),m=Pt(()=>new Map),[M,x]=k.useState(p),[v,L]=k.useState(p);kw(()=>{g.current=!1,f.current=p;for(let b=0;b<v.length;b++){const _=ni(v[b]);y.includes(_)?m.delete(_):m.get(_)!==!0&&m.set(_,!1)}},[v,y.length,y.join("-")]);const w=[];if(p!==M){let b=[...p];for(let _=0;_<v.length;_++){const I=v[_],$=ni(I);y.includes($)||(b.splice(_,0,I),w.push(I))}return r==="wait"&&w.length&&(b=w),L(PC(b)),x(p),null}process.env.NODE_ENV!=="production"&&r==="wait"&&v.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:C}=k.useContext(pw);return o.jsx(o.Fragment,{children:v.map(b=>{const _=ni(b),I=s&&!l?!1:p===v||y.includes(_),$=()=>{if(m.has(_))m.set(_,!0);else return;let N=!0;m.forEach(S=>{S||(N=!1)}),N&&(C?.(),L(f.current),s&&u?.(),c&&c())};return o.jsx(V0e,{isPresent:I,initial:!g.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:h,onExitComplete:I?void 0:$,anchorX:d,children:b},_)})})},B$=k.createContext({strict:!1}),TC={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"]},c1={};for(const e in TC)c1[e]={isEnabled:t=>TC[e].some(n=>!!t[n])};function H0e(e){for(const t in e)c1[t]={...c1[t],...e[t]}}const D0e=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 pL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||D0e.has(e)}let R$=e=>!pL(e);function B0e(e){typeof e=="function"&&(R$=t=>t.startsWith("on")?!pL(t):e(t))}try{B0e(require("@emotion/is-prop-valid").default)}catch{}function R0e(e,t,n){const c={};for(const i in e)i==="values"&&typeof e.values=="object"||(R$(i)||n===!0&&pL(i)||!t&&!pL(i)||e.draggable&&i.startsWith("onDrag"))&&(c[i]=e[i]);return c}const xL=k.createContext({});function _L(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function O1(e){return typeof e=="string"||Array.isArray(e)}const Tw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Hw=["initial",...Tw];function LL(e){return _L(e.animate)||Hw.some(t=>O1(e[t]))}function F$(e){return!!(LL(e)||e.variants)}function F0e(e,t){if(LL(e)){const{initial:n,animate:c}=e;return{initial:n===!1||O1(n)?n:void 0,animate:O1(c)?c:void 0}}return e.inherit!==!1?t:{}}function E0e(e){const{initial:t,animate:n}=F0e(e,k.useContext(xL));return k.useMemo(()=>({initial:t,animate:n}),[HC(t),HC(n)])}function HC(e){return Array.isArray(e)?e.join(" "):e}const U1={};function O0e(e){for(const t in e)U1[t]=e[t],Lw(t)&&(U1[t].isCSSVariable=!0)}function E$(e,{layout:t,layoutId:n}){return d1.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!U1[e]||e==="opacity")}const U0e={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},W0e=s1.length;function G0e(e,t,n){let c="",i=!0;for(let r=0;r<W0e;r++){const s=s1[r],d=e[s];if(d===void 0)continue;let h=!0;if(typeof d=="number"?h=d===(s.startsWith("scale")?1:0):h=parseFloat(d)===0,!h||n){const l=A$(d,zw[s]);if(!h){i=!1;const u=U0e[s]||s;c+=`${u}(${l}) `}n&&(t[s]=l)}}return c=c.trim(),n?c=n(t,i?"":c):i&&(c="none"),c}function Dw(e,t,n){const{style:c,vars:i,transformOrigin:r}=e;let s=!1,d=!1;for(const h in t){const l=t[h];if(d1.has(h)){s=!0;continue}else if(Lw(h)){i[h]=l;continue}else{const u=A$(l,zw[h]);h.startsWith("origin")?(d=!0,r[h]=u):c[h]=u}}if(t.transform||(s||n?c.transform=G0e(t,e.transform,n):c.transform&&(c.transform="none")),d){const{originX:h="50%",originY:l="50%",originZ:u=0}=r;c.transformOrigin=`${h} ${l} ${u}`}}const Bw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function O$(e,t,n){for(const c in t)!qe(t[c])&&!E$(c,n)&&(e[c]=t[c])}function K0e({transformTemplate:e},t){return k.useMemo(()=>{const n=Bw();return Dw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Z0e(e,t){const n=e.style||{},c={};return O$(c,n,e),Object.assign(c,K0e(e,t)),c}function X0e(e,t){const n={},c=Z0e(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,c.userSelect=c.WebkitUserSelect=c.WebkitTouchCallout="none",c.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=c,n}const Y0e={offset:"stroke-dashoffset",array:"stroke-dasharray"},J0e={offset:"strokeDashoffset",array:"strokeDasharray"};function Q0e(e,t,n=1,c=0,i=!0){e.pathLength=1;const r=i?Y0e:J0e;e[r.offset]=Z.transform(-c);const s=Z.transform(t),d=Z.transform(n);e[r.array]=`${s} ${d}`}function U$(e,{attrX:t,attrY:n,attrScale:c,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},h,l,u){if(Dw(e,d,l),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:y}=e;p.transform&&(y.transform=p.transform,delete p.transform),(y.transform||p.transformOrigin)&&(y.transformOrigin=p.transformOrigin??"50% 50%",delete p.transformOrigin),y.transform&&(y.transformBox=u?.transformBox??"fill-box",delete p.transformBox),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),c!==void 0&&(p.scale=c),i!==void 0&&Q0e(p,i,r,s,!1)}const W$=()=>({...Bw(),attrs:{}}),G$=e=>typeof e=="string"&&e.toLowerCase()==="svg";function ele(e,t,n,c){const i=k.useMemo(()=>{const r=W$();return U$(r,t,G$(c),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};O$(r,e.style,e),i.style={...r,...i.style}}return i}const tle=["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 Rw(e){return typeof e!="string"||e.includes("-")?!1:!!(tle.indexOf(e)>-1||/[A-Z]/u.test(e))}function ale(e,t,n,{latestValues:c},i,r=!1){const d=(Rw(e)?ele:X0e)(t,c,i,e),h=R0e(t,typeof e=="string",r),l=e!==k.Fragment?{...h,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>qe(u)?u.get():u,[u]);return k.createElement(e,{...l,children:p})}function DC(e){const t=[{},{}];return e?.values.forEach((n,c)=>{t[0][c]=n.get(),t[1][c]=n.getVelocity()}),t}function Fw(e,t,n,c){if(typeof t=="function"){const[i,r]=DC(c);t=t(n!==void 0?n:e.custom,i,r)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,r]=DC(c);t=t(n!==void 0?n:e.custom,i,r)}return t}function oL(e){return qe(e)?e.get():e}function nle({scrapeMotionValuesFromProps:e,createRenderState:t},n,c,i){return{latestValues:ole(n,c,i,e),renderState:t()}}function ole(e,t,n,c){const i={},r=c(e,{});for(const y in r)i[y]=oL(r[y]);let{initial:s,animate:d}=e;const h=LL(e),l=F$(e);t&&l&&!h&&e.inherit!==!1&&(s===void 0&&(s=t.initial),d===void 0&&(d=t.animate));let u=n?n.initial===!1:!1;u=u||s===!1;const p=u?d:s;if(p&&typeof p!="boolean"&&!_L(p)){const y=Array.isArray(p)?p:[p];for(let g=0;g<y.length;g++){const f=Fw(e,y[g]);if(f){const{transitionEnd:m,transition:M,...x}=f;for(const v in x){let L=x[v];if(Array.isArray(L)){const w=u?L.length-1:0;L=L[w]}L!==null&&(i[v]=L)}for(const v in m)i[v]=m[v]}}}return i}const K$=e=>(t,n)=>{const c=k.useContext(xL),i=k.useContext(vL),r=()=>nle(e,t,c,i);return n?r():Pt(r)};function Ew(e,t,n){const{style:c}=e,i={};for(const r in c)(qe(c[r])||t.style&&qe(t.style[r])||E$(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=c[r]);return i}const cle=K$({scrapeMotionValuesFromProps:Ew,createRenderState:Bw});function Z$(e,t,n){const c=Ew(e,t,n);for(const i in e)if(qe(e[i])||qe(t[i])){const r=s1.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;c[r]=e[i]}return c}const ile=K$({scrapeMotionValuesFromProps:Z$,createRenderState:W$}),rle=Symbol.for("motionComponentSymbol");function Kc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function sle(e,t,n){return k.useCallback(c=>{c&&e.onMount&&e.onMount(c),t&&(c?t.mount(c):t.unmount()),n&&(typeof n=="function"?n(c):Kc(n)&&(n.current=c))},[t])}const Ow=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),dle="framerAppearId",X$="data-"+Ow(dle),Y$=k.createContext({});function lle(e,t,n,c,i){const{visualElement:r}=k.useContext(xL),s=k.useContext(B$),d=k.useContext(vL),h=k.useContext(ML).reducedMotion,l=k.useRef(null);c=c||s.renderer,!l.current&&c&&(l.current=c(e,{visualState:t,parent:r,props:n,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:h}));const u=l.current,p=k.useContext(Y$);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&hle(l.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const g=n[X$],f=k.useRef(!!g&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return kw(()=>{u&&(y.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),f.current&&u.animationState&&u.animationState.animateChanges())}),k.useEffect(()=>{u&&(!f.current&&u.animationState&&u.animationState.animateChanges(),f.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),f.current=!1),u.enteringChildren=void 0)}),u}function hle(e,t,n,c){const{layoutId:i,layout:r,drag:s,dragConstraints:d,layoutScroll:h,layoutRoot:l,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:J$(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Kc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:c,crossfade:u,layoutScroll:h,layoutRoot:l})}function J$(e){if(e)return e.options.allowProjection!==!1?e.projection:J$(e.parent)}function WL(e,{forwardMotionProps:t=!1}={},n,c){n&&H0e(n);const i=Rw(e)?ile:cle;function r(d,h){let l;const u={...k.useContext(ML),...d,layoutId:ule(d)},{isStatic:p}=u,y=E0e(d),g=i(d,p);if(!p&&yw){ple(u,n);const f=yle(u);l=f.MeasureLayout,y.visualElement=lle(e,g,u,c,f.ProjectionNode)}return o.jsxs(xL.Provider,{value:y,children:[l&&y.visualElement?o.jsx(l,{visualElement:y.visualElement,...u}):null,ale(e,d,sle(g,y.visualElement,h),g,p,t)]})}r.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const s=k.forwardRef(r);return s[rle]=e,s}function ule({layoutId:e}){const t=k.useContext(pw).id;return t&&e!==void 0?t+"-"+e:e}function ple(e,t){const n=k.useContext(B$).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?i1(!1,c,"lazy-strict-mode"):at(!1,c,"lazy-strict-mode")}}function yle(e){const{drag:t,layout:n}=c1;if(!t&&!n)return{};const c={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function kle(e,t){if(typeof Proxy>"u")return WL;const n=new Map,c=(r,s)=>WL(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&Mw(!1,"motion() is deprecated. Use motion.create() instead."),c(r,s));return new Proxy(i,{get:(r,s)=>s==="create"?c:(n.has(s)||n.set(s,WL(s,void 0,e,t)),n.get(s))})}function Q$({top:e,left:t,right:n,bottom:c}){return{x:{min:t,max:n},y:{min:e,max:c}}}function mle({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function fle(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),c=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:c.y,right:c.x}}function GL(e){return e===void 0||e===1}function aw({scale:e,scaleX:t,scaleY:n}){return!GL(e)||!GL(t)||!GL(n)}function Nc(e){return aw(e)||eq(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function eq(e){return BC(e.x)||BC(e.y)}function BC(e){return e&&e!=="0%"}function yL(e,t,n){const c=e-n,i=t*c;return n+i}function RC(e,t,n,c,i){return i!==void 0&&(e=yL(e,i,c)),yL(e,n,c)+t}function nw(e,t=0,n=1,c,i){e.min=RC(e.min,t,n,c,i),e.max=RC(e.max,t,n,c,i)}function tq(e,{x:t,y:n}){nw(e.x,t.translate,t.scale,t.originPoint),nw(e.y,n.translate,n.scale,n.originPoint)}const FC=.999999999999,EC=1.0000000000001;function gle(e,t,n,c=!1){const i=n.length;if(!i)return;t.x=t.y=1;let r,s;for(let d=0;d<i;d++){r=n[d],s=r.projectionDelta;const{visualElement:h}=r.options;h&&h.props.style&&h.props.style.display==="contents"||(c&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Xc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,tq(e,s)),c&&Nc(r.latestValues)&&Xc(e,r.latestValues))}t.x<EC&&t.x>FC&&(t.x=1),t.y<EC&&t.y>FC&&(t.y=1)}function Zc(e,t){e.min=e.min+t,e.max=e.max+t}function OC(e,t,n,c,i=.5){const r=fe(e.min,e.max,i);nw(e,t,n,r,c)}function Xc(e,t){OC(e.x,t.x,t.scaleX,t.scale,t.originX),OC(e.y,t.y,t.scaleY,t.scale,t.originY)}function aq(e,t){return Q$(fle(e.getBoundingClientRect(),t))}function vle(e,t,n){const c=aq(e,n),{scroll:i}=t;return i&&(Zc(c.x,i.offset.x),Zc(c.y,i.offset.y)),c}const UC=()=>({translate:0,scale:1,origin:0,originPoint:0}),Yc=()=>({x:UC(),y:UC()}),WC=()=>({min:0,max:0}),Le=()=>({x:WC(),y:WC()}),ow={current:null},nq={current:!1};function Mle(){if(nq.current=!0,!!yw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ow.current=e.matches;e.addEventListener("change",t),t()}else ow.current=!1}const xle=new WeakMap;function _le(e,t,n){for(const c in t){const i=t[c],r=n[c];if(qe(i))e.addValue(c,i);else if(qe(r))e.addValue(c,Pc(i,{owner:e}));else if(r!==i)if(e.hasValue(c)){const s=e.getValue(c);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(c);e.addValue(c,Pc(s!==void 0?s:i,{owner:e}))}}for(const c in n)t[c]===void 0&&e.removeValue(c);return t}const GC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Lle{scrapeMotionValuesFromProps(t,n,c){return{}}constructor({parent:t,props:n,presenceContext:c,reducedMotionConfig:i,blockInitialAnimation:r,visualState:s},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=qw,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=Be.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,ke.render(this.render,!1,!0))};const{latestValues:h,renderState:l}=s;this.latestValues=h,this.baseTarget={...h},this.initialValues=n.initial?{...h}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=c,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=d,this.blockInitialAnimation=!!r,this.isControllingVariants=LL(n),this.isVariantNode=F$(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 g=p[y];h[y]!==void 0&&qe(g)&&g.set(h[y])}}mount(t){this.current=t,xle.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,c)=>this.bindToMotionValue(c,n)),nq.current||Mle(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ow.current,process.env.NODE_ENV!=="production"&&Mw(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(),Lt(this.notifyUpdate),Lt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const c=d1.has(t);c&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ke.preRender(this.notifyUpdate),c&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),r&&r(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in c1){const n=c1[t];if(!n)continue;const{isEnabled:c,Feature:i}=n;if(!this.features[t]&&i&&c(this.props)&&(this.features[t]=new i(this)),this.features[t]){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Le()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let c=0;c<GC.length;c++){const i=GC[c];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const r="on"+i,s=t[r];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=_le(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const c=this.values.get(t);n!==c&&(c&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let c=this.values.get(t);return c===void 0&&n!==void 0&&(c=Pc(n===null?void 0:n,{owner:this}),this.addValue(t,c)),c}readValue(t,n){let c=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return c!=null&&(typeof c=="string"&&(KS(c)||XS(c))?c=parseFloat(c):!S0e(c)&&Vt.test(n)&&(c=q$(t,n)),this.setBaseTarget(t,qe(c)?c.get():c)),qe(c)?c.get():c}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let c;if(typeof n=="string"||typeof n=="object"){const r=Fw(this.props,n,this.presenceContext?.custom);r&&(c=r[t])}if(n&&c!==void 0)return c;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!qe(i)?i:this.initialValues[t]!==void 0&&c===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new vw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Vw.render(this.render)}}class oq extends Lle{constructor(){super(...arguments),this.KeyframeResolver=f0e}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:c}){delete n[t],delete c[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;qe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function cq(e,{style:t,vars:n},c,i){const r=e.style;let s;for(s in t)r[s]=t[s];i?.applyProjectionStyles(r,c);for(s in n)r.setProperty(s,n[s])}function Ile(e){return window.getComputedStyle(e)}class ble extends oq{constructor(){super(...arguments),this.type="html",this.renderInstance=cq}readValueFromInstance(t,n){if(d1.has(n))return this.projection?.isProjecting?Zb(n):Vde(t,n);{const c=Ile(t),i=(Lw(n)?c.getPropertyValue(n):c[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return aq(t,n)}build(t,n,c){Dw(t,n,c.transformTemplate)}scrapeMotionValuesFromProps(t,n,c){return Ew(t,n,c)}}const iq=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 wle(e,t,n,c){cq(e,t,void 0,c);for(const i in t.attrs)e.setAttribute(iq.has(i)?i:Ow(i),t.attrs[i])}class Cle extends oq{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Le}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(d1.has(n)){const c=$$(n);return c&&c.default||0}return n=iq.has(n)?n:Ow(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,c){return Z$(t,n,c)}build(t,n,c){U$(t,n,this.isSVGTag,c.transformTemplate,c.style)}renderInstance(t,n,c,i){wle(t,n,c,i)}mount(t){this.isSVGTag=G$(t.tagName),super.mount(t)}}const Nle=(e,t)=>Rw(e)?new Cle(t):new ble(t,{allowProjection:e!==k.Fragment});function o1(e,t,n){const c=e.getProps();return Fw(c,t,n!==void 0?n:c.custom,e)}const cw=e=>Array.isArray(e);function jle(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Pc(n))}function Sle(e){return cw(e)?e[e.length-1]||0:e}function $le(e,t){const n=o1(e,t);let{transitionEnd:c={},transition:i={},...r}=n||{};r={...r,...c};for(const s in r){const d=Sle(r[s]);jle(e,s,d)}}function qle(e){return!!(qe(e)&&e.add)}function iw(e,t){const n=e.getValue("willChange");if(qle(n))return n.add(t);if(!n&&_t.WillChange){const c=new _t.WillChange("auto");e.addValue("willChange",c),c.add(t)}}function rq(e){return e.props[X$]}const Ale=e=>e!==null;function zle(e,{repeat:t,repeatType:n="loop"},c){const i=e.filter(Ale),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const Vle={type:"spring",stiffness:500,damping:25,restSpeed:10},Ple=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Tle={type:"keyframes",duration:.8},Hle={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Dle=(e,{keyframes:t})=>t.length>2?Tle:d1.has(e)?e.startsWith("scale")?Ple(t[1]):Vle:Hle;function Ble({when:e,delay:t,delayChildren:n,staggerChildren:c,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:d,from:h,elapsed:l,...u}){return!!Object.keys(u).length}const Uw=(e,t,n,c={},i,r)=>s=>{const d=Aw(c,e)||{},h=d.delay||c.delay||0;let{elapsed:l=0}=c;l=l-tt(h);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-l,onUpdate:y=>{t.set(y),d.onUpdate&&d.onUpdate(y)},onComplete:()=>{s(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:r?void 0:i};Ble(d)||Object.assign(u,Dle(e,u)),u.duration&&(u.duration=tt(u.duration)),u.repeatDelay&&(u.repeatDelay=tt(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(ew(u),u.delay===0&&(p=!0)),(_t.instantAnimations||_t.skipAnimations)&&(p=!0,ew(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=zle(u.keyframes,d);if(y!==void 0){ke.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new $w(u):new o0e(u)};function Rle({protectedKeys:e,needsAnimating:t},n){const c=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,c}function sq(e,t,{delay:n=0,transitionOverride:c,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...d}=t;c&&(r=c);const h=[],l=i&&e.animationState&&e.animationState.getState()[i];for(const u in d){const p=e.getValue(u,e.latestValues[u]??null),y=d[u];if(y===void 0||l&&Rle(l,u))continue;const g={delay:n,...Aw(r||{},u)},f=p.get();if(f!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===f&&!g.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){const x=rq(e);if(x){const v=window.MotionHandoffAnimation(x,u,ke);v!==null&&(g.startTime=v,m=!0)}}iw(e,u),p.start(Uw(u,p,y,e.shouldReduceMotion&&N$.has(u)?{type:!1}:g,e,m));const M=p.animation;M&&h.push(M)}return s&&Promise.all(h).then(()=>{ke.update(()=>{s&&$le(e,s)})}),h}function dq(e,t,n,c=0,i=1){const r=Array.from(e).sort((l,u)=>l.sortNodePosition(u)).indexOf(t),s=e.size,d=(s-1)*c;return typeof n=="function"?n(r,s):i===1?r*c:d-r*c}function rw(e,t,n={}){const c=o1(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=c||{};n.transitionOverride&&(i=n.transitionOverride);const r=c?()=>Promise.all(sq(e,c,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(h=0)=>{const{delayChildren:l=0,staggerChildren:u,staggerDirection:p}=i;return Fle(e,t,h,l,u,p,n)}:()=>Promise.resolve(),{when:d}=i;if(d){const[h,l]=d==="beforeChildren"?[r,s]:[s,r];return h().then(()=>l())}else return Promise.all([r(),s(n.delay)])}function Fle(e,t,n=0,c=0,i=0,r=1,s){const d=[];for(const h of e.variantChildren)h.notify("AnimationStart",t),d.push(rw(h,t,{...s,delay:n+(typeof c=="function"?0:c)+dq(e.variantChildren,h,c,i,r)}).then(()=>h.notify("AnimationComplete",t)));return Promise.all(d)}function Ele(e,t,n={}){e.notify("AnimationStart",t);let c;if(Array.isArray(t)){const i=t.map(r=>rw(e,r,n));c=Promise.all(i)}else if(typeof t=="string")c=rw(e,t,n);else{const i=typeof t=="function"?o1(e,t,n.custom):t;c=Promise.all(sq(e,i,n))}return c.then(()=>{e.notify("AnimationComplete",t)})}function lq(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let c=0;c<n;c++)if(t[c]!==e[c])return!1;return!0}const Ole=Hw.length;function hq(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?hq(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Ole;n++){const c=Hw[n],i=e.props[c];(O1(i)||i===!1)&&(t[c]=i)}return t}const Ule=[...Tw].reverse(),Wle=Tw.length;function Gle(e){return t=>Promise.all(t.map(({animation:n,options:c})=>Ele(e,n,c)))}function Kle(e){let t=Gle(e),n=KC(),c=!0;const i=h=>(l,u)=>{const p=o1(e,u,h==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:g,...f}=p;l={...l,...f,...g}}return l};function r(h){t=h(e)}function s(h){const{props:l}=e,u=hq(e.parent)||{},p=[],y=new Set;let g={},f=1/0;for(let M=0;M<Wle;M++){const x=Ule[M],v=n[x],L=l[x]!==void 0?l[x]:u[x],w=O1(L),C=x===h?v.isActive:null;C===!1&&(f=M);let b=L===u[x]&&L!==l[x]&&w;if(b&&c&&e.manuallyAnimateOnMount&&(b=!1),v.protectedKeys={...g},!v.isActive&&C===null||!L&&!v.prevProp||_L(L)||typeof L=="boolean")continue;const _=Zle(v.prevProp,L);let I=_||x===h&&v.isActive&&!b&&w||M>f&&w,$=!1;const N=Array.isArray(L)?L:[L];let S=N.reduce(i(x),{});C===!1&&(S={});const{prevResolvedValues:A={}}=v,D={...A,...S},H=q=>{I=!0,y.has(q)&&($=!0,y.delete(q)),v.needsAnimating[q]=!0;const T=e.getValue(q);T&&(T.liveStyle=!1)};for(const q in D){const T=S[q],R=A[q];if(g.hasOwnProperty(q))continue;let z=!1;cw(T)&&cw(R)?z=!lq(T,R):z=T!==R,z?T!=null?H(q):y.add(q):T!==void 0&&y.has(q)?H(q):v.protectedKeys[q]=!0}v.prevProp=L,v.prevResolvedValues=S,v.isActive&&(g={...g,...S}),c&&e.blockInitialAnimation&&(I=!1);const P=b&&_;I&&(!P||$)&&p.push(...N.map(q=>{const T={type:x};if(typeof q=="string"&&c&&!P&&e.manuallyAnimateOnMount&&e.parent){const{parent:R}=e,z=o1(R,q);if(R.enteringChildren&&z){const{delayChildren:F}=z.transition||{};T.delay=dq(R.enteringChildren,e,F)}}return{animation:q,options:T}}))}if(y.size){const M={};if(typeof l.initial!="boolean"){const x=o1(e,Array.isArray(l.initial)?l.initial[0]:l.initial);x&&x.transition&&(M.transition=x.transition)}y.forEach(x=>{const v=e.getBaseTarget(x),L=e.getValue(x);L&&(L.liveStyle=!0),M[x]=v??null}),p.push({animation:M})}let m=!!p.length;return c&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(m=!1),c=!1,m?t(p):Promise.resolve()}function d(h,l){if(n[h].isActive===l)return Promise.resolve();e.variantChildren?.forEach(p=>p.animationState?.setActive(h,l)),n[h].isActive=l;const u=s(h);for(const p in n)n[p].protectedKeys={};return u}return{animateChanges:s,setActive:d,setAnimateFunction:r,getState:()=>n,reset:()=>{n=KC()}}}function Zle(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!lq(t,e):!1}function Et(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function KC(){return{animate:Et(!0),whileInView:Et(),whileHover:Et(),whileTap:Et(),whileDrag:Et(),whileFocus:Et(),exit:Et()}}class Tt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Xle extends Tt{constructor(t){super(t),t.animationState||(t.animationState=Kle(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();_L(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Yle=0;class Jle extends Tt{constructor(){super(...arguments),this.id=Yle++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:c}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===c)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const Qle={animation:{Feature:Xle},exit:{Feature:Jle}};function W1(e,t,n,c={passive:!0}){return e.addEventListener(t,n,c),()=>e.removeEventListener(t,n)}function Y1(e){return{point:{x:e.pageX,y:e.pageY}}}const ehe=e=>t=>Pw(t)&&e(t,Y1(t));function T1(e,t,n,c){return W1(e,t,ehe(n),c)}const uq=1e-4,the=1-uq,ahe=1+uq,pq=.01,nhe=0-pq,ohe=0+pq;function Pe(e){return e.max-e.min}function che(e,t,n){return Math.abs(e-t)<=n}function ZC(e,t,n,c=.5){e.origin=c,e.originPoint=fe(t.min,t.max,e.origin),e.scale=Pe(n)/Pe(t),e.translate=fe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=the&&e.scale<=ahe||isNaN(e.scale))&&(e.scale=1),(e.translate>=nhe&&e.translate<=ohe||isNaN(e.translate))&&(e.translate=0)}function H1(e,t,n,c){ZC(e.x,t.x,n.x,c?c.originX:void 0),ZC(e.y,t.y,n.y,c?c.originY:void 0)}function XC(e,t,n){e.min=n.min+t.min,e.max=e.min+Pe(t)}function ihe(e,t,n){XC(e.x,t.x,n.x),XC(e.y,t.y,n.y)}function YC(e,t,n){e.min=t.min-n.min,e.max=e.min+Pe(t)}function D1(e,t,n){YC(e.x,t.x,n.x),YC(e.y,t.y,n.y)}function Ke(e){return[e("x"),e("y")]}const yq=({current:e})=>e?e.ownerDocument.defaultView:null,JC=(e,t)=>Math.abs(e-t);function rhe(e,t){const n=JC(e.x,t.x),c=JC(e.y,t.y);return Math.sqrt(n**2+c**2)}class kq{constructor(t,n,{transformPagePoint:c,contextWindow:i=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=ZL(this.lastMoveEventInfo,this.history),g=this.startEvent!==null,f=rhe(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!g&&!f)return;const{point:m}=y,{timestamp:M}=$e;this.history.push({...m,timestamp:M});const{onStart:x,onMove:v}=this.handlers;g||(x&&x(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,y)},this.handlePointerMove=(y,g)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=KL(g,this.transformPagePoint),ke.update(this.updatePoint,!0)},this.handlePointerUp=(y,g)=>{this.end();const{onEnd:f,onSessionEnd:m,resumeAnimation:M}=this.handlers;if(this.dragSnapToOrigin&&M&&M(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=ZL(y.type==="pointercancel"?this.lastMoveEventInfo:KL(g,this.transformPagePoint),this.history);this.startEvent&&f&&f(y,x),m&&m(y,x)},!Pw(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=c,this.distanceThreshold=s,this.contextWindow=i||window;const d=Y1(t),h=KL(d,this.transformPagePoint),{point:l}=h,{timestamp:u}=$e;this.history=[{...l,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,ZL(h,this.history)),this.removeListeners=K1(T1(this.contextWindow,"pointermove",this.handlePointerMove),T1(this.contextWindow,"pointerup",this.handlePointerUp),T1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Lt(this.updatePoint)}}function KL(e,t){return t?{point:t(e.point)}:e}function QC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ZL({point:e},t){return{point:e,delta:QC(e,mq(t)),offset:QC(e,she(t)),velocity:dhe(t,.1)}}function she(e){return e[0]}function mq(e){return e[e.length-1]}function dhe(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,c=null;const i=mq(e);for(;n>=0&&(c=e[n],!(i.timestamp-c.timestamp>tt(t)));)n--;if(!c)return{x:0,y:0};const r=Ze(i.timestamp-c.timestamp);if(r===0)return{x:0,y:0};const s={x:(i.x-c.x)/r,y:(i.y-c.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function lhe(e,{min:t,max:n},c){return t!==void 0&&e<t?e=c?fe(t,e,c.min):Math.max(e,t):n!==void 0&&e>n&&(e=c?fe(n,e,c.max):Math.min(e,n)),e}function eN(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 hhe(e,{top:t,left:n,bottom:c,right:i}){return{x:eN(e.x,n,i),y:eN(e.y,t,c)}}function tN(e,t){let n=t.min-e.min,c=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,c]=[c,n]),{min:n,max:c}}function uhe(e,t){return{x:tN(e.x,t.x),y:tN(e.y,t.y)}}function phe(e,t){let n=.5;const c=Pe(e),i=Pe(t);return i>c?n=R1(t.min,t.max-c,e.min):c>i&&(n=R1(e.min,e.max-i,t.min)),xt(0,1,n)}function yhe(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 sw=.35;function khe(e=sw){return e===!1?e=0:e===!0&&(e=sw),{x:aN(e,"left","right"),y:aN(e,"top","bottom")}}function aN(e,t,n){return{min:nN(e,t),max:nN(e,n)}}function nN(e,t){return typeof e=="number"?e:e[t]||0}const mhe=new WeakMap;class fhe{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=Le(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:c}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=p=>{const{dragSnapToOrigin:y}=this.getProps();y?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Y1(p).point)},s=(p,y)=>{const{drag:g,dragPropagation:f,onDragStart:m}=this.getProps();if(g&&!f&&(this.openDragLock&&this.openDragLock(),this.openDragLock=x0e(g),!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),Ke(x=>{let v=this.getAxisMotionValue(x).get()||0;if(ht.test(v)){const{projection:L}=this.visualElement;if(L&&L.layout){const w=L.layout.layoutBox[x];w&&(v=Pe(w)*(parseFloat(v)/100))}}this.originPoint[x]=v}),m&&ke.postRender(()=>m(p,y)),iw(this.visualElement,"transform");const{animationState:M}=this.visualElement;M&&M.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:g,dragDirectionLock:f,onDirectionLock:m,onDrag:M}=this.getProps();if(!g&&!this.openDragLock)return;const{offset:x}=y;if(f&&this.currentDirection===null){this.currentDirection=ghe(x),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",y.point,x),this.updateAxis("y",y.point,x),this.visualElement.render(),M&&M(p,y)},h=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>Ke(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new kq(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:h,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:c,contextWindow:yq(this.visualElement)})}stop(t,n){const c=t||this.latestPointerEvent,i=n||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!c)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:d}=this.getProps();d&&ke.postRender(()=>d(c,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:c}=this.getProps();!c&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,c){const{drag:i}=this.getProps();if(!c||!oi(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+c[t];this.constraints&&this.constraints[t]&&(s=lhe(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&Kc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&c?this.constraints=hhe(c.layoutBox,t):this.constraints=!1,this.elastic=khe(n),i!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&Ke(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=yhe(c.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Kc(t))return!1;const c=t.current;at(c!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=vle(c,i.root,this.visualElement.getTransformPagePoint());let s=uhe(i.layout.layoutBox,r);if(n){const d=n(mle(s));this.hasMutatedConstraints=!!d,d&&(s=Q$(d))}return s}startAnimation(t){const{drag:n,dragMomentum:c,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),h=this.constraints||{},l=Ke(u=>{if(!oi(u,n,this.currentDirection))return;let p=h&&h[u]||{};s&&(p={min:0,max:0});const y=i?200:1e6,g=i?40:1e7,f={type:"inertia",velocity:c?t[u]:0,bounceStiffness:y,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,f)});return Promise.all(l).then(d)}startAxisValueAnimation(t,n){const c=this.getAxisMotionValue(t);return iw(this.visualElement,t),c.start(Uw(t,c,0,n,this.visualElement,!1))}stopAnimation(){Ke(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Ke(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,c=this.visualElement.getProps(),i=c[n];return i||this.visualElement.getValue(t,(c.initial?c.initial[t]:void 0)||0)}snapToCursor(t){Ke(n=>{const{drag:c}=this.getProps();if(!oi(n,c,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:d}=i.layout.layoutBox[n];r.set(t[n]-fe(s,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:c}=this.visualElement;if(!Kc(n)||!c||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Ke(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const h=d.get();i[s]=phe({min:h,max:h},this.constraints[s])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",c.root&&c.root.updateScroll(),c.updateLayout(),this.resolveConstraints(),Ke(s=>{if(!oi(s,t,null))return;const d=this.getAxisMotionValue(s),{min:h,max:l}=this.constraints[s];d.set(fe(h,l,i[s]))})}addListeners(){if(!this.visualElement.current)return;mhe.set(this.visualElement,this);const t=this.visualElement.current,n=T1(t,"pointerdown",h=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(h)}),c=()=>{const{dragConstraints:h}=this.getProps();Kc(h)&&h.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",c);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ke.read(c);const s=W1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:h,hasLayoutChanged:l})=>{this.isDragging&&l&&(Ke(u=>{const p=this.getAxisMotionValue(u);p&&(this.originPoint[u]+=h[u].translate,p.set(p.get()+h[u].translate))}),this.visualElement.render())});return()=>{s(),n(),r(),d&&d()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:c=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=sw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:c,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function oi(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function ghe(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class vhe extends Tt{constructor(t){super(t),this.removeGroupControls=Ye,this.removeListeners=Ye,this.controls=new fhe(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ye}unmount(){this.removeGroupControls(),this.removeListeners()}}const oN=e=>(t,n)=>{e&&ke.postRender(()=>e(t,n))};class Mhe extends Tt{constructor(){super(...arguments),this.removePointerDownListener=Ye}onPointerDown(t){this.session=new kq(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:yq(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:c,onPanEnd:i}=this.node.getProps();return{onSessionStart:oN(t),onStart:oN(n),onMove:c,onEnd:(r,s)=>{delete this.session,i&&ke.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=T1(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 cL={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function cN(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const y1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Z.test(e))e=parseFloat(e);else return e;const n=cN(e,t.target.x),c=cN(e,t.target.y);return`${n}% ${c}%`}},xhe={correct:(e,{treeScale:t,projectionDelta:n})=>{const c=e,i=Vt.parse(e);if(i.length>5)return c;const r=Vt.createTransformer(e),s=typeof i[0]!="number"?1:0,d=n.x.scale*t.x,h=n.y.scale*t.y;i[0+s]/=d,i[1+s]/=h;const l=fe(d,h,.5);return typeof i[2+s]=="number"&&(i[2+s]/=l),typeof i[3+s]=="number"&&(i[3+s]/=l),r(i)}};let XL=!1;class _he extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c,layoutId:i}=this.props,{projection:r}=t;O0e(Lhe),r&&(n.group&&n.group.add(r),c&&c.register&&i&&c.register(r),XL&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),cL.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:c,drag:i,isPresent:r}=this.props,{projection:s}=c;return s&&(s.isPresent=r,XL=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||ke.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Vw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c}=this.props,{projection:i}=t;XL=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),c&&c.deregister&&c.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function fq(e){const[t,n]=D$(),c=k.useContext(pw);return o.jsx(_he,{...e,layoutGroup:c,switchLayoutGroup:k.useContext(Y$),isPresent:t,safeToRemove:n})}const Lhe={borderRadius:{...y1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:y1,borderTopRightRadius:y1,borderBottomLeftRadius:y1,borderBottomRightRadius:y1,boxShadow:xhe};function Ihe(e,t,n){const c=qe(e)?e:Pc(e);return c.start(Uw("",c,t,n)),c.animation}const bhe=(e,t)=>e.depth-t.depth;class whe{constructor(){this.children=[],this.isDirty=!1}add(t){mw(this.children,t),this.isDirty=!0}remove(t){fw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(bhe),this.isDirty=!1,this.children.forEach(t)}}function Che(e,t){const n=Be.now(),c=({timestamp:i})=>{const r=i-n;r>=t&&(Lt(c),e(r-t))};return ke.setup(c,!0),()=>Lt(c)}const gq=["TopLeft","TopRight","BottomLeft","BottomRight"],Nhe=gq.length,iN=e=>typeof e=="string"?parseFloat(e):e,rN=e=>typeof e=="number"||Z.test(e);function jhe(e,t,n,c,i,r){i?(e.opacity=fe(0,n.opacity??1,She(c)),e.opacityExit=fe(t.opacity??1,0,$he(c))):r&&(e.opacity=fe(t.opacity??1,n.opacity??1,c));for(let s=0;s<Nhe;s++){const d=`border${gq[s]}Radius`;let h=sN(t,d),l=sN(n,d);if(h===void 0&&l===void 0)continue;h||(h=0),l||(l=0),h===0||l===0||rN(h)===rN(l)?(e[d]=Math.max(fe(iN(h),iN(l),c),0),(ht.test(l)||ht.test(h))&&(e[d]+="%")):e[d]=l}(t.rotate||n.rotate)&&(e.rotate=fe(t.rotate||0,n.rotate||0,c))}function sN(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const She=vq(0,.5,o$),$he=vq(.5,.95,Ye);function vq(e,t,n){return c=>c<e?0:c>t?1:n(R1(e,t,c))}function dN(e,t){e.min=t.min,e.max=t.max}function Ue(e,t){dN(e.x,t.x),dN(e.y,t.y)}function lN(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function hN(e,t,n,c,i){return e-=t,e=yL(e,1/n,c),i!==void 0&&(e=yL(e,1/i,c)),e}function qhe(e,t=0,n=1,c=.5,i,r=e,s=e){if(ht.test(t)&&(t=parseFloat(t),t=fe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=fe(r.min,r.max,c);e===r&&(d-=t),e.min=hN(e.min,t,n,d,i),e.max=hN(e.max,t,n,d,i)}function uN(e,t,[n,c,i],r,s){qhe(e,t[n],t[c],t[i],t.scale,r,s)}const Ahe=["x","scaleX","originX"],zhe=["y","scaleY","originY"];function pN(e,t,n,c){uN(e.x,t,Ahe,n?n.x:void 0,c?c.x:void 0),uN(e.y,t,zhe,n?n.y:void 0,c?c.y:void 0)}function yN(e){return e.translate===0&&e.scale===1}function Mq(e){return yN(e.x)&&yN(e.y)}function kN(e,t){return e.min===t.min&&e.max===t.max}function Vhe(e,t){return kN(e.x,t.x)&&kN(e.y,t.y)}function mN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function xq(e,t){return mN(e.x,t.x)&&mN(e.y,t.y)}function fN(e){return Pe(e.x)/Pe(e.y)}function gN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Phe{constructor(){this.members=[]}add(t){mw(this.members,t),t.scheduleRender()}remove(t){if(fw(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let c;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){c=r;break}}return c?(this.promote(c),!0):!1}promote(t,n){const c=this.lead;if(t!==c&&(this.prevLead=c,this.lead=t,t.show(),c)){c.instance&&c.scheduleRender(),t.scheduleRender(),t.resumeFrom=c,n&&(t.resumeFrom.preserveOpacity=!0),c.snapshot&&(t.snapshot=c.snapshot,t.snapshot.latestValues=c.animationValues||c.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&c.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:c}=t;n.onExitComplete&&n.onExitComplete(),c&&c.options.onExitComplete&&c.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function The(e,t,n){let c="";const i=e.x.translate/t.x,r=e.y.translate/t.y,s=n?.z||0;if((i||r||s)&&(c=`translate3d(${i}px, ${r}px, ${s}px) `),(t.x!==1||t.y!==1)&&(c+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:l,rotate:u,rotateX:p,rotateY:y,skewX:g,skewY:f}=n;l&&(c=`perspective(${l}px) ${c}`),u&&(c+=`rotate(${u}deg) `),p&&(c+=`rotateX(${p}deg) `),y&&(c+=`rotateY(${y}deg) `),g&&(c+=`skewX(${g}deg) `),f&&(c+=`skewY(${f}deg) `)}const d=e.x.scale*t.x,h=e.y.scale*t.y;return(d!==1||h!==1)&&(c+=`scale(${d}, ${h})`),c||"none"}const YL=["","X","Y","Z"],Hhe=1e3;let Dhe=0;function JL(e,t,n,c){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),c&&(c[e]=0))}function _q(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=rq(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ke,!(i||r))}const{parent:c}=e;c&&!c.hasCheckedOptimisedAppear&&_q(c)}function Lq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:c,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=Dhe++,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(Fhe),this.nodes.forEach(Whe),this.nodes.forEach(Ghe),this.nodes.forEach(Ehe)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let h=0;h<this.path.length;h++)this.path[h].shouldResetTransform=!0;this.root===this&&(this.nodes=new whe)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new vw),this.eventHandlers.get(s).add(d)}notifyListeners(s,...d){const h=this.eventHandlers.get(s);h&&h.notify(...d)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=H$(s)&&!C0e(s),this.instance=s;const{layoutId:d,layout:h,visualElement:l}=this.options;if(l&&!l.current&&l.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(h||d)&&(this.isLayoutDirty=!0),e){let u,p=0;const y=()=>this.root.updateBlockedByResize=!1;ke.read(()=>{p=window.innerWidth}),e(s,()=>{const g=window.innerWidth;g!==p&&(p=g,this.root.updateBlockedByResize=!0,u&&u(),u=Che(y,250),cL.hasAnimatedSinceResize&&(cL.hasAnimatedSinceResize=!1,this.nodes.forEach(xN)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&l&&(d||h)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:p,hasRelativeLayoutChanged:y,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const f=this.options.transition||l.getDefaultTransition()||Jhe,{onLayoutAnimationStart:m,onLayoutAnimationComplete:M}=l.getProps(),x=!this.targetLayout||!xq(this.targetLayout,g),v=!p&&y;if(this.options.layoutRoot||this.resumeFrom||v||p&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const L={...Aw(f,"layout"),onPlay:m,onComplete:M};(l.shouldReduceMotion||this.options.layoutRoot)&&(L.delay=0,L.type=!1),this.startAnimation(L),this.setAnimationOrigin(u,v)}else p||xN(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}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(),Lt(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(Khe),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&&_q(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const p=this.path[u];p.shouldResetTransform=!0,p.updateScroll("snapshot"),p.options.layoutRoot&&p.willUpdate(!1)}const{layoutId:d,layout:h}=this.options;if(d===void 0&&!h)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(vN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(MN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Uhe),this.nodes.forEach(Bhe),this.nodes.forEach(Rhe)):this.nodes.forEach(MN),this.clearAllSnapshots();const d=Be.now();$e.delta=xt(0,1e3/60,d-$e.timestamp),$e.timestamp=d,$e.isProcessing=!0,BL.update.process($e),BL.preRender.process($e),BL.render.process($e),$e.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Vw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Ohe),this.sharedNodes.forEach(Zhe)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ke.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ke.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Pe(this.snapshot.measuredBox.x)&&!Pe(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let h=0;h<this.path.length;h++)this.path[h].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Le(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(d=!1),d&&this.instance){const h=c(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:h,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:h}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!Mq(this.projectionDelta),h=this.getTransformTemplate(),l=h?h(this.latestValues,""):void 0,u=l!==this.prevTransformTemplateValue;s&&this.instance&&(d||Nc(this.latestValues)||u)&&(i(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const d=this.measurePageBox();let h=this.removeElementScroll(d);return s&&(h=this.removeTransform(h)),Qhe(h),{animationId:this.root.animationId,measuredBox:d,layoutBox:h,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return Le();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(eue))){const{scroll:l}=this.root;l&&(Zc(d.x,l.offset.x),Zc(d.y,l.offset.y))}return d}removeElementScroll(s){const d=Le();if(Ue(d,s),this.scroll?.wasRoot)return d;for(let h=0;h<this.path.length;h++){const l=this.path[h],{scroll:u,options:p}=l;l!==this.root&&u&&p.layoutScroll&&(u.wasRoot&&Ue(d,s),Zc(d.x,u.offset.x),Zc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const h=Le();Ue(h,s);for(let l=0;l<this.path.length;l++){const u=this.path[l];!d&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Xc(h,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Nc(u.latestValues)&&Xc(h,u.latestValues)}return Nc(this.latestValues)&&Xc(h,this.latestValues),h}removeTransform(s){const d=Le();Ue(d,s);for(let h=0;h<this.path.length;h++){const l=this.path[h];if(!l.instance||!Nc(l.latestValues))continue;aw(l.latestValues)&&l.updateSnapshot();const u=Le(),p=l.measurePageBox();Ue(u,p),pN(d,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,u)}return Nc(this.latestValues)&&pN(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!==$e.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const h=!!this.resumingFrom||this!==d;if(!(s||h&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:p}=this.options;if(!(!this.layout||!(u||p))){if(this.resolvedRelativeTargetAt=$e.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Le(),this.relativeTargetOrigin=Le(),D1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),Ue(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Le(),this.targetWithTransforms=Le()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ihe(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ue(this.target,this.layout.layoutBox),tq(this.target,this.targetDelta)):Ue(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=Le(),this.relativeTargetOrigin=Le(),D1(this.relativeTargetOrigin,this.target,y.target),Ue(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||aw(this.parent.latestValues)||eq(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const s=this.getLead(),d=!!this.resumingFrom||this!==s;let h=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(h=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(h=!1),this.resolvedRelativeTargetAt===$e.timestamp&&(h=!1),h)return;const{layout:l,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(l||u))return;Ue(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;gle(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=Le());const{target:g}=s;if(!g){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(lN(this.prevProjectionDelta.x,this.projectionDelta.x),lN(this.prevProjectionDelta.y,this.projectionDelta.y)),H1(this.projectionDelta,this.layoutCorrected,g,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!gN(this.projectionDelta.x,this.prevProjectionDelta.x)||!gN(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g))}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=Yc(),this.projectionDelta=Yc(),this.projectionDeltaWithTransform=Yc()}setAnimationOrigin(s,d=!1){const h=this.snapshot,l=h?h.latestValues:{},u={...this.latestValues},p=Yc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=Le(),g=h?h.source:void 0,f=this.layout?this.layout.source:void 0,m=g!==f,M=this.getStack(),x=!M||M.members.length<=1,v=!!(m&&!x&&this.options.crossfade===!0&&!this.path.some(Yhe));this.animationProgress=0;let L;this.mixTargetDelta=w=>{const C=w/1e3;_N(p.x,s.x,C),_N(p.y,s.y,C),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(D1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Xhe(this.relativeTarget,this.relativeTargetOrigin,y,C),L&&Vhe(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=Le()),Ue(L,this.relativeTarget)),m&&(this.animationValues=u,jhe(u,l,this.latestValues,C,v,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Lt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ke.update(()=>{cL.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Pc(0)),this.currentAnimation=Ihe(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(Hhe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:d,target:h,layout:l,latestValues:u}=s;if(!(!d||!h||!l)){if(this!==s&&this.layout&&l&&Iq(this.options.animationType,this.layout.layoutBox,l.layoutBox)){h=this.target||Le();const p=Pe(this.layout.layoutBox.x);h.x.min=s.target.x.min,h.x.max=h.x.min+p;const y=Pe(this.layout.layoutBox.y);h.y.min=s.target.y.min,h.y.max=h.y.min+y}Ue(d,h),Xc(d,u),H1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Phe),this.sharedNodes.get(s).add(d);const l=d.options.initialPromotionConfig;d.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(d):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){const{layoutId:s}=this.options;return s?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:s}=this.options;return s?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:d,preserveFollowOpacity:h}={}){const l=this.getStack();l&&l.promote(this,h),s&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let d=!1;const{latestValues:h}=s;if((h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY)&&(d=!0),!d)return;const l={};h.z&&JL("z",s,l,this.animationValues);for(let u=0;u<YL.length;u++)JL(`rotate${YL[u]}`,s,l,this.animationValues),JL(`skew${YL[u]}`,s,l,this.animationValues);s.render();for(const u in l)s.setStaticValue(u,l[u]),this.animationValues&&(this.animationValues[u]=l[u]);s.scheduleRender()}applyProjectionStyles(s,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const h=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=oL(d?.pointerEvents)||"",s.transform=h?h(this.latestValues,""):"none";return}const l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=oL(d?.pointerEvents)||""),this.hasProjected&&!Nc(this.latestValues)&&(s.transform=h?h({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=l.animationValues||l.latestValues;this.applyTransformsToTarget();let p=The(this.projectionDeltaWithTransform,this.treeScale,u);h&&(p=h(u,p)),s.transform=p;const{x:y,y:g}=this.projectionDelta;s.transformOrigin=`${y.origin*100}% ${g.origin*100}% 0`,l.animationValues?s.opacity=l===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=l===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const f in U1){if(u[f]===void 0)continue;const{correct:m,applyTo:M,isCSSVariable:x}=U1[f],v=p==="none"?u[f]:m(u[f],l);if(M){const L=M.length;for(let w=0;w<L;w++)s[M[w]]=v}else x?this.options.visualElement.renderState.vars[f]=v:s[f]=v}this.options.layoutId&&(s.pointerEvents=l===this?oL(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(vN),this.root.sharedNodes.clear()}}}function Bhe(e){e.updateLayout()}function Rhe(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:c}=e.layout,{animationType:i}=e.options,r=t.source!==e.layout.source;i==="size"?Ke(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Pe(p);p.min=n[u].min,p.max=p.min+y}):Iq(i,t.layoutBox,n)&&Ke(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Pe(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=Yc();H1(s,n,t.layoutBox);const d=Yc();r?H1(d,e.applyTransform(c,!0),t.measuredBox):H1(d,n,t.layoutBox);const h=!Mq(s);let l=!1;if(!e.resumeFrom){const u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:p,layout:y}=u;if(p&&y){const g=Le();D1(g,t.layoutBox,p.layoutBox);const f=Le();D1(f,n,y.layoutBox),xq(g,f)||(l=!0),u.options.layoutRoot&&(e.relativeTarget=f,e.relativeTargetOrigin=g,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:d,layoutDelta:s,hasLayoutChanged:h,hasRelativeLayoutChanged:l})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function Fhe(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 Ehe(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Ohe(e){e.clearSnapshot()}function vN(e){e.clearMeasurements()}function MN(e){e.isLayoutDirty=!1}function Uhe(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function xN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Whe(e){e.resolveTargetDelta()}function Ghe(e){e.calcProjection()}function Khe(e){e.resetSkewAndRotation()}function Zhe(e){e.removeLeadSnapshot()}function _N(e,t,n){e.translate=fe(t.translate,0,n),e.scale=fe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function LN(e,t,n,c){e.min=fe(t.min,n.min,c),e.max=fe(t.max,n.max,c)}function Xhe(e,t,n,c){LN(e.x,t.x,n.x,c),LN(e.y,t.y,n.y,c)}function Yhe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Jhe={duration:.45,ease:[.4,0,.1,1]},IN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),bN=IN("applewebkit/")&&!IN("chrome/")?Math.round:Ye;function wN(e){e.min=bN(e.min),e.max=bN(e.max)}function Qhe(e){wN(e.x),wN(e.y)}function Iq(e,t,n){return e==="position"||e==="preserve-aspect"&&!che(fN(t),fN(n),.2)}function eue(e){return e!==e.root&&e.scroll?.wasRoot}const tue=Lq({attachResizeListener:(e,t)=>W1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),QL={current:void 0},bq=Lq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!QL.current){const e=new tue({});e.mount(window),e.setOptions({layoutScroll:!0}),QL.current=e}return QL.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),aue={pan:{Feature:Mhe},drag:{Feature:vhe,ProjectionNode:bq,MeasureLayout:fq}};function CN(e,t,n){const{props:c}=e;e.animationState&&c.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=c[i];r&&ke.postRender(()=>r(t,Y1(t)))}class nue extends Tt{mount(){const{current:t}=this.node;t&&(this.unmount=_0e(t,(n,c)=>(CN(this.node,c,"Start"),i=>CN(this.node,i,"End"))))}unmount(){}}class oue extends Tt{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=K1(W1(this.node.current,"focus",()=>this.onFocus()),W1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function NN(e,t,n){const{props:c}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&c.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=c[i];r&&ke.postRender(()=>r(t,Y1(t)))}class cue extends Tt{mount(){const{current:t}=this.node;t&&(this.unmount=w0e(t,(n,c)=>(NN(this.node,c,"Start"),(i,{success:r})=>NN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const dw=new WeakMap,eI=new WeakMap,iue=e=>{const t=dw.get(e.target);t&&t(e)},rue=e=>{e.forEach(iue)};function sue({root:e,...t}){const n=e||document;eI.has(n)||eI.set(n,{});const c=eI.get(n),i=JSON.stringify(t);return c[i]||(c[i]=new IntersectionObserver(rue,{root:e,...t})),c[i]}function due(e,t,n){const c=sue(t);return dw.set(e,n),c.observe(e),()=>{dw.delete(e),c.unobserve(e)}}const lue={some:0,all:1};class hue extends Tt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:c,amount:i="some",once:r}=t,s={root:n?n.current:void 0,rootMargin:c,threshold:typeof i=="number"?i:lue[i]},d=h=>{const{isIntersecting:l}=h;if(this.isInView===l||(this.isInView=l,r&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:u,onViewportLeave:p}=this.node.getProps(),y=l?u:p;y&&y(h)};return due(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(uue(t,n))&&this.startObserver()}unmount(){}}function uue({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const pue={inView:{Feature:hue},tap:{Feature:cue},focus:{Feature:oue},hover:{Feature:nue}},yue={layout:{ProjectionNode:bq,MeasureLayout:fq}},kue={...Qle,...pue,...aue,...yue},Ww=kle(kue,Nle);function wq(e){const t=Pt(()=>Pc(e)),{isStatic:n}=k.useContext(ML);if(n){const[,c]=k.useState(e);k.useEffect(()=>t.on("change",c),[])}return t}function Cq(e,t){const n=wq(t()),c=()=>n.set(t());return c(),kw(()=>{const i=()=>ke.preRender(c,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),Lt(c)}}),n}function mue(e){P1.current=[],e();const t=Cq(P1.current,e);return P1.current=void 0,t}function fue(e,t,n,c){if(typeof e=="function")return mue(e);const i=typeof t=="function"?t:N0e(t,n,c);return Array.isArray(e)?jN(e,i):jN([e],([r])=>i(r))}function jN(e,t){const n=Pt(()=>[]);return Cq(e,()=>{n.length=0;const c=e.length;for(let i=0;i<c;i++)n[i]=e[i].get();return t(n)})}class gue{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(c=>{c.start(t.nativeEvent||t,n)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const vue=()=>new gue;function Mue(){return Pt(vue)}const Nq=k.createContext(null);function xue(e,t,n,c){if(!c)return e;const i=e.findIndex(u=>u.value===t);if(i===-1)return e;const r=c>0?1:-1,s=e[i+r];if(!s)return e;const d=e[i],h=s.layout,l=fe(h.min,h.max,.5);return r===1&&d.layout.max+n>l||r===-1&&d.layout.min+n<l?z2e(e,i,i+r):e}function _ue({children:e,as:t="ul",axis:n="y",onReorder:c,values:i,...r},s){const d=Pt(()=>Ww[t]),h=[],l=k.useRef(!1);at(!!i,"Reorder.Group must be provided a values prop","reorder-values");const u={axis:n,registerItem:(p,y)=>{const g=h.findIndex(f=>p===f.value);g!==-1?h[g].layout=y[n]:h.push({value:p,layout:y[n]}),h.sort(bue)},updateOrder:(p,y,g)=>{if(l.current)return;const f=xue(h,p,y,g);h!==f&&(l.current=!0,c(f.map(Iue).filter(m=>i.indexOf(m)!==-1)))}};return k.useEffect(()=>{l.current=!1}),o.jsx(d,{...r,ref:s,ignoreStrict:!0,children:o.jsx(Nq.Provider,{value:u,children:e})})}const Lue=k.forwardRef(_ue);function Iue(e){return e.value}function bue(e,t){return e.layout.min-t.layout.min}function SN(e,t=0){return qe(e)?e:wq(t)}function wue({children:e,style:t={},value:n,as:c="li",onDrag:i,layout:r=!0,...s},d){const h=Pt(()=>Ww[c]),l=k.useContext(Nq),u={x:SN(t.x),y:SN(t.y)},p=fue([u.x,u.y],([m,M])=>m||M?1:"unset");at(!!l,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:g,updateOrder:f}=l;return o.jsx(h,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(m,M)=>{const{velocity:x}=M;x[y]&&f(n,u[y].get(),x[y]),i&&i(m,M)},onLayoutMeasure:m=>g(n,m),ref:d,ignoreStrict:!0,children:e})}const Cue=k.forwardRef(wue),kL=[o.jsx(z1,{size:18}),o.jsx(St,{size:18}),o.jsx(q1,{size:18}),o.jsx($t,{size:18}),o.jsx(L1,{size:18}),o.jsx(_1,{size:18})],Nue=({items:e,onReorder:t,draggable:n=!1,className:c,header:i,headerStyle:r,itemsDraggable:s=!0})=>{const[d,h]=k.useState(e??[]);return k.useEffect(()=>{e&&Array.isArray(e)?(e.forEach((l,u)=>{if(l.icon==null&&(l.icon=kL[u%kL.length]),typeof l.text=="string"&&l.text.includes("/")){const p=String(l.text).split("/"),y=p[0].trim(),f=p.slice(1).join("/").trim().match(/^(\d+)(.*)$/);if(f){const m=f[1],M=f[2]??"",x=m.padStart(3,"0");l.text=`${y} / ${x}${M}`}}}),h(e)):h([])},[e]),o.jsxs("div",{className:`trend-list ${c??""}`,draggable:n,style:{position:"relative"},children:[o.jsx("div",{className:"trend-header",style:r,children:i??"Trend"}),o.jsx("div",{className:"trend-list-body",style:{opacity:n?0:1},children:o.jsx(Lue,{axis:"y",values:d,onReorder:l=>{h(l),t?.(l)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((l,u)=>o.jsx(jue,{value:l,index:u,itemsDraggable:s},String(l.id)))})}),n&&o.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:o.jsx(a.Move,{size:48,strokeWidth:1.5,style:{opacity:.8}})})]})};function jue({value:e,index:t}){const n=Mue(),c=kL[t%kL.length]??null;return o.jsx(Cue,{value:e,dragListener:!1,dragControls:n,style:{listStyle:"none"},onDragStart:()=>{try{document.body.classList.add("is-dragging")}catch{}},onDragEnd:()=>{try{document.body.classList.remove("is-dragging")}catch{}},children:o.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[o.jsx("div",{className:"reorder-handle","aria-hidden":!0,onPointerDown:i=>n.start(i),style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",userSelect:"none"},children:o.jsx("svg",{width:"25",height:"25",viewBox:"0 0 24 24","aria-hidden":!0,children:o.jsxs("g",{fill:"currentColor",children:[o.jsx("circle",{cx:"8",cy:"6",r:"2"}),o.jsx("circle",{cx:"16",cy:"6",r:"2"}),o.jsx("circle",{cx:"8",cy:"12",r:"2"}),o.jsx("circle",{cx:"16",cy:"12",r:"2"}),o.jsx("circle",{cx:"8",cy:"18",r:"2"}),o.jsx("circle",{cx:"16",cy:"18",r:"2"})]})})}),o.jsx("div",{style:{flex:1},children:o.jsx(GS,{title:e.title,subtitle:e.subtitle,text:e.text,background:e.background,titleStyle:e.titleStyle,subtitleStyle:e.subtitleStyle,textStyle:e.textStyle,itemStyle:e.itemStyle,icon:e.icon??c})})]})})}function Sue(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 $ue(e){return!e||typeof e=="string"&&e.trim()===""}function que(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function Aue(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function zue(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 Vue(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 Pue(e,t){if(t.validation?.acceptedTypes){const n=t.validation.acceptedTypes.split(","),c=e.type;if(!n.some(i=>c.match(i.replace("*",".*"))))return{isValid:!1,error:`Type de fichier non supporté: ${c}`}}return t.validation?.maxFileSize&&e.size>t.validation.maxFileSize?{isValid:!1,error:`Fichier trop volumineux (max ${t.validation.maxFileSize/1048576}MB)`}:null}function Tue(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 mL(e,t){const n=Sue(e,t);if(n)return n;if($ue(e))return{isValid:!0};const c=e.toString();switch(t.type){case"email":{const r=que(c);if(r)return r;break}case"url":{const r=Aue(c);if(r)return r;break}case"number":{const r=zue(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=Vue(e,t);if(r)return r;break}case"file":{const r=Pue(e,t);if(r)return r;break}}const i=Tue(c,t);return i||{isValid:!0}}function jq(e,t){const n={};let c=!0;for(const i of t){const r=mL(e[i.name],i);r.isValid||(n[i.name]=r.error,c=!1)}return{isValid:c,errors:n}}const Hue="_formContainer_14ads_1",Due="_headerLine_14ads_17",Bue="_formTitle_14ads_25",Rue="_formDescription_14ads_30",Fue="_sectionTitle_14ads_37",Eue="_sectionHelp_14ads_44",Oue="_fieldHelp_14ads_50",Uue="_gridContainer_14ads_58",Wue="_fieldGridItem_14ads_70",Gue="_sectionFull_14ads_105",Kue="_formFooter_14ads_110",Zue="_footerLeft_14ads_118",Xue="_footerRight_14ads_119",Yue="_cancelLink_14ads_125",Jue="_submitButton_14ads_136",Que="_fieldLabel_14ads_148",epe="_inputWrapper_14ads_163",tpe="_inputInner_14ads_187",ape="_hasPrefix_14ads_196",npe="_inputBase_14ads_196",ope="_iconPrefix_14ads_292",cpe="_iconSuffix_14ads_293",ipe="_passwordToggle_14ads_319",rpe="_fieldError_14ads_365",spe="_fieldInvalid_14ads_372",ye={formContainer:Hue,headerLine:Due,formTitle:Bue,formDescription:Rue,sectionTitle:Fue,sectionHelp:Eue,fieldHelp:Oue,gridContainer:Uue,fieldGridItem:Wue,sectionFull:Gue,formFooter:Kue,footerLeft:Zue,footerRight:Xue,cancelLink:Yue,submitButton:Jue,fieldLabel:Que,inputWrapper:epe,inputInner:tpe,hasPrefix:ape,inputBase:npe,iconPrefix:ope,iconSuffix:cpe,passwordToggle:ipe,fieldError:rpe,fieldInvalid:spe},Sq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const[s,d]=k.useState(!1),h=e.type==="password",l=e.attributes?.showPasswordToggle??!0,u=h?s?"text":"password":e.type,p=e.attributes?.iconComponent??(e.attributes?.icon?Mt[e.attributes.icon]:null),y=e.attributes?.iconPosition??"suffix",g=f=>{n(f.target.value)};return o.jsxs("div",{className:ye.inputWrapper,children:[o.jsx("label",{className:`${ye.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),o.jsxs("div",{className:`${ye.inputInner} ${p&&y==="prefix"?ye.hasPrefix:""}`,children:[p&&y==="prefix"&&o.jsx("span",{className:ye.iconPrefix,children:o.jsx(p,{size:16})}),o.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${ye.inputBase} ${i?ye.fieldInvalid:""}`,value:t??"",onChange:g,onBlur:c,disabled:!!e.disabled,"aria-invalid":!!i,"aria-describedby":e.help?`${e.name}-help`:void 0}),h&&l&&o.jsx("button",{type:"button","aria-label":s?"Masquer le mot de passe":"Afficher le mot de passe",className:ye.passwordToggle,onClick:()=>d(f=>!f),children:s?o.jsx(N1,{size:16}):o.jsx(j1,{size:16})}),p&&y==="suffix"&&!h&&o.jsx("span",{className:ye.iconSuffix,children:o.jsx(p,{size:16})})]}),r&&i&&o.jsx("span",{className:ye.fieldError,children:i})]})},dpe="_fieldGroup_yb3zi_7",lpe="_fieldLabel_yb3zi_11",hpe="_required_yb3zi_17",upe="_fieldInput_yb3zi_22",ppe="_fieldInvalid_yb3zi_40",ype="_fieldValid_yb3zi_44",kpe="_fieldError_yb3zi_48",mpe="_radioGroup_yb3zi_57",qt={fieldGroup:dpe,fieldLabel:lpe,required:hpe,fieldInput:upe,fieldInvalid:ppe,fieldValid:ype,fieldError:kpe,radioGroup:mpe},IL=({field:e,children:t,error:n,touched:c})=>{const i=c&&n;return o.jsxs("div",{className:qt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&o.jsx("label",{className:`${qt.fieldLabel} ${e.required?qt.required:""}`,children:e.label}),t,i&&o.jsx("span",{className:qt.fieldError,children:n})]})},$q=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,h=["form-control",qt.fieldInput,s?qt.fieldInvalid:"",d?qt.fieldValid:""].filter(Boolean).join(" ");return o.jsx(IL,{field:e,error:i,touched:r,children:o.jsx("textarea",{className:h,placeholder:e.placeholder,value:t||"",onChange:l=>n(l.target.value),onBlur:c,rows:4})})},fpe="_wrapper_117u4_1",gpe="_wrapperInvalid_117u4_15",vpe="_nativeSelect_117u4_19",Mpe="_display_117u4_30",xpe="_topLabel_117u4_37",_pe="_valueLine_117u4_45",Lpe="_valuePlaceholder_117u4_53",Ipe="_valueActive_117u4_57",bpe="_caret_117u4_61",wpe="_error_117u4_75",Cpe="_optionStyle_117u4_89",We={wrapper:fpe,wrapperInvalid:gpe,nativeSelect:vpe,display:Mpe,topLabel:xpe,valueLine:_pe,valuePlaceholder:Lpe,valueActive:Ipe,caret:bpe,error:wpe,optionStyle:Cpe},Gw=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=!!(r&&i),d=e.label||"",h=e.placeholder||"",l=e.options?.find(u=>String(u.value)===String(t))?.label??"";return o.jsxs("div",{className:`${We.wrapper} ${s?We.wrapperInvalid:""} ${t?We.wrapperHasValue:""}`,children:[o.jsxs("select",{id:e.name,name:e.name,className:We.nativeSelect,value:t??"",onChange:u=>n(u.target.value),onBlur:c,"aria-invalid":s,"aria-label":d,children:[o.jsx("option",{value:"",disabled:!0,hidden:!0,children:h||`Sélectionnez ${d?.toLowerCase()||""}`}),e.options?.map((u,p)=>o.jsx("option",{value:u.value,className:We.optionStyle,children:u.label},p))]}),o.jsxs("div",{className:We.display,children:[d&&o.jsx("span",{className:We.topLabel,children:d}),o.jsx("span",{className:`${We.valueLine} ${t?We.valueActive:We.valuePlaceholder}`,children:t?l:h}),o.jsx("span",{className:We.caret,"aria-hidden":"true"})]}),s&&o.jsx("span",{className:We.error,children:i})]})},qq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx(IL,{field:e,error:i,touched:r,children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{type:"checkbox",className:"form-check-input",id:e.name,checked:!!t,onChange:s=>n(s.target.checked),onBlur:c}),o.jsx("label",{className:"form-check-label",htmlFor:e.name,children:e.label})]})}),Aq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx(IL,{field:e,error:i,touched:r,children:o.jsx("div",{className:qt.radioGroup,children:e.options?.map(s=>o.jsxs("div",{className:"form-check",children:[o.jsx("input",{type:"radio",className:"form-check-input",id:`${e.name}-${s.value}`,name:e.name,value:s.value,checked:t===s.value,onChange:d=>n(d.target.value),onBlur:c}),o.jsx("label",{className:"form-check-label",htmlFor:`${e.name}-${s.value}`,children:s.label})]},s.value))})}),Npe="_fileInputContainer_r2guc_3",jpe="_customFileInput_r2guc_8",Spe="_fileInputLabel_r2guc_12",$pe="_dragOver_r2guc_39",qpe="_uploadIcon_r2guc_44",Ape="_uploadText_r2guc_50",zpe="_uploadHint_r2guc_56",Vpe="_fileList_r2guc_60",Ppe="_fileListTitle_r2guc_69",Tpe="_fileItem_r2guc_80",Hpe="_fileIcon_r2guc_96",Dpe="_fileName_r2guc_102",Bpe="_fileSize_r2guc_108",Rpe="_removeButton_r2guc_114",Fpe="_errorText_r2guc_129",Ae={fileInputContainer:Npe,customFileInput:jpe,fileInputLabel:Spe,dragOver:$pe,uploadIcon:qpe,uploadText:Ape,uploadHint:zpe,fileList:Vpe,fileListTitle:Ppe,fileItem:Tpe,fileIcon:Hpe,fileName:Dpe,fileSize:Bpe,removeButton:Rpe,errorText:Fpe},zq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=k.useRef(null),[d,h]=k.useState(!1),l=M=>{n(M.target.files)},u=()=>{s.current&&s.current.click()},p=M=>{M.preventDefault(),h(!0)},y=()=>{h(!1)},g=M=>{M.preventDefault(),h(!1),M.dataTransfer.files&&M.dataTransfer.files.length>0&&n(M.dataTransfer.files)},f=M=>{if(!t)return;const x=Array.from(t);x.splice(M,1);const v=new DataTransfer;x.forEach(L=>v.items.add(L)),n(v.files)},m=M=>{if(M===0)return"0 Bytes";const x=1024,v=["Bytes","KB","MB","GB"],L=Math.floor(Math.log(M)/Math.log(x));return parseFloat((M/Math.pow(x,L)).toFixed(2))+" "+v[L]};return o.jsxs("div",{className:`${Ae.fileInputContainer} ${r&&i?Ae.hasError:""}`,children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsx("input",{type:"file",id:e.name,name:e.name,multiple:e.attributes?.multiple||!1,accept:e.attributes?.accept,onChange:l,onBlur:c,ref:s,className:Ae.customFileInput}),o.jsxs("label",{htmlFor:e.name,className:`${Ae.fileInputLabel} ${d?Ae.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:g,onClick:u,tabIndex:0,children:[o.jsx("div",{className:Ae.uploadIcon,children:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor",viewBox:"0 0 16 16",children:[o.jsx("path",{d:"M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"}),o.jsx("path",{d:"M7.646 1.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 2.707V11.5a.5.5 0 0 1-1 0V2.707L5.354 4.854a.5.5 0 1 1-.708-.708l3-3z"})]})}),o.jsx("div",{className:Ae.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),o.jsxs("div",{className:Ae.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&o.jsxs("div",{className:Ae.fileList,children:[o.jsx("div",{className:Ae.fileListTitle,children:"Fichiers sélectionnés:"}),o.jsx("ul",{children:Array.from(t).map((M,x)=>o.jsxs("li",{className:Ae.fileItem,children:[o.jsx("div",{className:Ae.fileIcon,children:o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:o.jsx("path",{d:"M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3z"})})}),o.jsx("div",{className:Ae.fileName,children:M.name}),o.jsx("div",{className:Ae.fileSize,children:m(M.size)}),o.jsx("button",{type:"button",className:Ae.removeButton,onClick:v=>{v.stopPropagation(),f(x)},"aria-label":`Supprimer ${M.name}`,children:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:[o.jsx("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),o.jsx("path",{fillRule:"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})]})})]},x))})]}),r&&i&&o.jsx("div",{className:Ae.errorText,children:i})]})},Epe="_container_ecah4_2",Ope="_label_ecah4_6",Upe="_requiredIndicator_ecah4_13",Wpe="_input_ecah4_18",Gpe="_inputError_ecah4_49",Kpe="_errorMessage_ecah4_58",Oc={container:Epe,label:Ope,requiredIndicator:Upe,input:Wpe,inputError:Gpe,errorMessage:Kpe},Vq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r,labelColor:s="black",backgroundColor:d="white"})=>{const h=e.type==="month"?"month":e.type==="week"?"week":e.type==="time"?"time":e.type==="datetime-local"?"datetime-local":"date";return o.jsxs("div",{className:Oc.container,children:[o.jsxs("label",{htmlFor:e.name,className:Oc.label,style:{color:s},children:[e.label,e.required&&o.jsx("span",{className:Oc.requiredIndicator,children:"*"})]}),o.jsx("input",{type:h,id:e.name,name:e.name,value:t||"",onChange:l=>n(l.target.value),onBlur:c,className:`${Oc.input} ${r&&i?Oc.inputError:""}`,style:{color:s,backgroundColor:d},min:e.validation?.min,max:e.validation?.max,step:e.type==="time"?e.attributes?.step:void 0,disabled:e.disabled}),r&&i&&o.jsx("div",{className:Oc.errorMessage,children:i})]})},Zpe="_rangeContainer_cyqk3_3",Xpe={rangeContainer:Zpe},Pq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:`mb-3 ${Xpe.rangeContainer}`,children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,": ",t,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsx("input",{type:"range",id:e.name,name:e.name,value:t||0,onChange:s=>n(s.target.value),onBlur:c,className:`form-range ${r&&i?"is-invalid":""}`,min:e.validation?.min||0,max:e.validation?.max||100,step:e.attributes?.step||1}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),Ype="_colorPickerContainer_1wxgj_2",Jpe="_colorInput_1wxgj_19",Qpe="_colorValue_1wxgj_39",tI={colorPickerContainer:Ype,colorInput:Jpe,colorValue:Qpe},Tq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:"mb-3",children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsxs("div",{className:tI.colorPickerContainer,children:[o.jsx("input",{type:"color",id:e.name,name:e.name,value:t||"#000000",onChange:s=>n(s.target.value),onBlur:c,className:tI.colorInput}),o.jsx("span",{className:tI.colorValue,children:t})]}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),Hq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=["date","month","week","time","datetime-local"];if(e.type==="file")return o.jsx(zq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(s.includes(e.type))return o.jsx(Vq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="range")return o.jsx(Pq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="color")return o.jsx(Tq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});switch(e.type){case"textarea":return o.jsx($q,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"select":return o.jsx(Gw,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"checkbox":return o.jsx(qq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"radio":return o.jsx(Aq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});default:return o.jsx(Sq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})}};var aI,$N;function eye(){if($N)return aI;$N=1;function e(){this.__data__=[],this.size=0}return aI=e,aI}var nI,qN;function Dq(){if(qN)return nI;qN=1;function e(t,n){return t===n||t!==t&&n!==n}return nI=e,nI}var oI,AN;function bL(){if(AN)return oI;AN=1;var e=Dq();function t(n,c){for(var i=n.length;i--;)if(e(n[i][0],c))return i;return-1}return oI=t,oI}var cI,zN;function tye(){if(zN)return cI;zN=1;var e=bL(),t=Array.prototype,n=t.splice;function c(i){var r=this.__data__,s=e(r,i);if(s<0)return!1;var d=r.length-1;return s==d?r.pop():n.call(r,s,1),--this.size,!0}return cI=c,cI}var iI,VN;function aye(){if(VN)return iI;VN=1;var e=bL();function t(n){var c=this.__data__,i=e(c,n);return i<0?void 0:c[i][1]}return iI=t,iI}var rI,PN;function nye(){if(PN)return rI;PN=1;var e=bL();function t(n){return e(this.__data__,n)>-1}return rI=t,rI}var sI,TN;function oye(){if(TN)return sI;TN=1;var e=bL();function t(n,c){var i=this.__data__,r=e(i,n);return r<0?(++this.size,i.push([n,c])):i[r][1]=c,this}return sI=t,sI}var dI,HN;function wL(){if(HN)return dI;HN=1;var e=eye(),t=tye(),n=aye(),c=nye(),i=oye();function r(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var l=s[d];this.set(l[0],l[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,dI=r,dI}var lI,DN;function cye(){if(DN)return lI;DN=1;var e=wL();function t(){this.__data__=new e,this.size=0}return lI=t,lI}var hI,BN;function iye(){if(BN)return hI;BN=1;function e(t){var n=this.__data__,c=n.delete(t);return this.size=n.size,c}return hI=e,hI}var uI,RN;function rye(){if(RN)return uI;RN=1;function e(t){return this.__data__.get(t)}return uI=e,uI}var pI,FN;function sye(){if(FN)return pI;FN=1;function e(t){return this.__data__.has(t)}return pI=e,pI}var yI,EN;function Bq(){if(EN)return yI;EN=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return yI=e,yI}var kI,ON;function It(){if(ON)return kI;ON=1;var e=Bq(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return kI=n,kI}var mI,UN;function Kw(){if(UN)return mI;UN=1;var e=It(),t=e.Symbol;return mI=t,mI}var fI,WN;function dye(){if(WN)return fI;WN=1;var e=Kw(),t=Object.prototype,n=t.hasOwnProperty,c=t.toString,i=e?e.toStringTag:void 0;function r(s){var d=n.call(s,i),h=s[i];try{s[i]=void 0;var l=!0}catch{}var u=c.call(s);return l&&(d?s[i]=h:delete s[i]),u}return fI=r,fI}var gI,GN;function lye(){if(GN)return gI;GN=1;var e=Object.prototype,t=e.toString;function n(c){return t.call(c)}return gI=n,gI}var vI,KN;function CL(){if(KN)return vI;KN=1;var e=Kw(),t=dye(),n=lye(),c="[object Null]",i="[object Undefined]",r=e?e.toStringTag:void 0;function s(d){return d==null?d===void 0?i:c:r&&r in Object(d)?t(d):n(d)}return vI=s,vI}var MI,ZN;function Rq(){if(ZN)return MI;ZN=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return MI=e,MI}var xI,XN;function Fq(){if(XN)return xI;XN=1;var e=CL(),t=Rq(),n="[object AsyncFunction]",c="[object Function]",i="[object GeneratorFunction]",r="[object Proxy]";function s(d){if(!t(d))return!1;var h=e(d);return h==c||h==i||h==n||h==r}return xI=s,xI}var _I,YN;function hye(){if(YN)return _I;YN=1;var e=It(),t=e["__core-js_shared__"];return _I=t,_I}var LI,JN;function uye(){if(JN)return LI;JN=1;var e=hye(),t=function(){var c=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function n(c){return!!t&&t in c}return LI=n,LI}var II,QN;function Eq(){if(QN)return II;QN=1;var e=Function.prototype,t=e.toString;function n(c){if(c!=null){try{return t.call(c)}catch{}try{return c+""}catch{}}return""}return II=n,II}var bI,ej;function pye(){if(ej)return bI;ej=1;var e=Fq(),t=uye(),n=Rq(),c=Eq(),i=/[\\^$.*+?()[\]{}|]/g,r=/^\[object .+?Constructor\]$/,s=Function.prototype,d=Object.prototype,h=s.toString,l=d.hasOwnProperty,u=RegExp("^"+h.call(l).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(y){if(!n(y)||t(y))return!1;var g=e(y)?u:r;return g.test(c(y))}return bI=p,bI}var wI,tj;function yye(){if(tj)return wI;tj=1;function e(t,n){return t?.[n]}return wI=e,wI}var CI,aj;function l1(){if(aj)return CI;aj=1;var e=pye(),t=yye();function n(c,i){var r=t(c,i);return e(r)?r:void 0}return CI=n,CI}var NI,nj;function Zw(){if(nj)return NI;nj=1;var e=l1(),t=It(),n=e(t,"Map");return NI=n,NI}var jI,oj;function NL(){if(oj)return jI;oj=1;var e=l1(),t=e(Object,"create");return jI=t,jI}var SI,cj;function kye(){if(cj)return SI;cj=1;var e=NL();function t(){this.__data__=e?e(null):{},this.size=0}return SI=t,SI}var $I,ij;function mye(){if(ij)return $I;ij=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return $I=e,$I}var qI,rj;function fye(){if(rj)return qI;rj=1;var e=NL(),t="__lodash_hash_undefined__",n=Object.prototype,c=n.hasOwnProperty;function i(r){var s=this.__data__;if(e){var d=s[r];return d===t?void 0:d}return c.call(s,r)?s[r]:void 0}return qI=i,qI}var AI,sj;function gye(){if(sj)return AI;sj=1;var e=NL(),t=Object.prototype,n=t.hasOwnProperty;function c(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return AI=c,AI}var zI,dj;function vye(){if(dj)return zI;dj=1;var e=NL(),t="__lodash_hash_undefined__";function n(c,i){var r=this.__data__;return this.size+=this.has(c)?0:1,r[c]=e&&i===void 0?t:i,this}return zI=n,zI}var VI,lj;function Mye(){if(lj)return VI;lj=1;var e=kye(),t=mye(),n=fye(),c=gye(),i=vye();function r(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var l=s[d];this.set(l[0],l[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,VI=r,VI}var PI,hj;function xye(){if(hj)return PI;hj=1;var e=Mye(),t=wL(),n=Zw();function c(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return PI=c,PI}var TI,uj;function _ye(){if(uj)return TI;uj=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return TI=e,TI}var HI,pj;function jL(){if(pj)return HI;pj=1;var e=_ye();function t(n,c){var i=n.__data__;return e(c)?i[typeof c=="string"?"string":"hash"]:i.map}return HI=t,HI}var DI,yj;function Lye(){if(yj)return DI;yj=1;var e=jL();function t(n){var c=e(this,n).delete(n);return this.size-=c?1:0,c}return DI=t,DI}var BI,kj;function Iye(){if(kj)return BI;kj=1;var e=jL();function t(n){return e(this,n).get(n)}return BI=t,BI}var RI,mj;function bye(){if(mj)return RI;mj=1;var e=jL();function t(n){return e(this,n).has(n)}return RI=t,RI}var FI,fj;function wye(){if(fj)return FI;fj=1;var e=jL();function t(n,c){var i=e(this,n),r=i.size;return i.set(n,c),this.size+=i.size==r?0:1,this}return FI=t,FI}var EI,gj;function Oq(){if(gj)return EI;gj=1;var e=xye(),t=Lye(),n=Iye(),c=bye(),i=wye();function r(s){var d=-1,h=s==null?0:s.length;for(this.clear();++d<h;){var l=s[d];this.set(l[0],l[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=c,r.prototype.set=i,EI=r,EI}var OI,vj;function Cye(){if(vj)return OI;vj=1;var e=wL(),t=Zw(),n=Oq(),c=200;function i(r,s){var d=this.__data__;if(d instanceof e){var h=d.__data__;if(!t||h.length<c-1)return h.push([r,s]),this.size=++d.size,this;d=this.__data__=new n(h)}return d.set(r,s),this.size=d.size,this}return OI=i,OI}var UI,Mj;function Nye(){if(Mj)return UI;Mj=1;var e=wL(),t=cye(),n=iye(),c=rye(),i=sye(),r=Cye();function s(d){var h=this.__data__=new e(d);this.size=h.size}return s.prototype.clear=t,s.prototype.delete=n,s.prototype.get=c,s.prototype.has=i,s.prototype.set=r,UI=s,UI}var WI,xj;function jye(){if(xj)return WI;xj=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return WI=t,WI}var GI,_j;function Sye(){if(_j)return GI;_j=1;function e(t){return this.__data__.has(t)}return GI=e,GI}var KI,Lj;function $ye(){if(Lj)return KI;Lj=1;var e=Oq(),t=jye(),n=Sye();function c(i){var r=-1,s=i==null?0:i.length;for(this.__data__=new e;++r<s;)this.add(i[r])}return c.prototype.add=c.prototype.push=t,c.prototype.has=n,KI=c,KI}var ZI,Ij;function qye(){if(Ij)return ZI;Ij=1;function e(t,n){for(var c=-1,i=t==null?0:t.length;++c<i;)if(n(t[c],c,t))return!0;return!1}return ZI=e,ZI}var XI,bj;function Aye(){if(bj)return XI;bj=1;function e(t,n){return t.has(n)}return XI=e,XI}var YI,wj;function Uq(){if(wj)return YI;wj=1;var e=$ye(),t=qye(),n=Aye(),c=1,i=2;function r(s,d,h,l,u,p){var y=h&c,g=s.length,f=d.length;if(g!=f&&!(y&&f>g))return!1;var m=p.get(s),M=p.get(d);if(m&&M)return m==d&&M==s;var x=-1,v=!0,L=h&i?new e:void 0;for(p.set(s,d),p.set(d,s);++x<g;){var w=s[x],C=d[x];if(l)var b=y?l(C,w,x,d,s,p):l(w,C,x,s,d,p);if(b!==void 0){if(b)continue;v=!1;break}if(L){if(!t(d,function(_,I){if(!n(L,I)&&(w===_||u(w,_,h,l,p)))return L.push(I)})){v=!1;break}}else if(!(w===C||u(w,C,h,l,p))){v=!1;break}}return p.delete(s),p.delete(d),v}return YI=r,YI}var JI,Cj;function zye(){if(Cj)return JI;Cj=1;var e=It(),t=e.Uint8Array;return JI=t,JI}var QI,Nj;function Vye(){if(Nj)return QI;Nj=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i,r){c[++n]=[r,i]}),c}return QI=e,QI}var eb,jj;function Pye(){if(jj)return eb;jj=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i){c[++n]=i}),c}return eb=e,eb}var tb,Sj;function Tye(){if(Sj)return tb;Sj=1;var e=Kw(),t=zye(),n=Dq(),c=Uq(),i=Vye(),r=Pye(),s=1,d=2,h="[object Boolean]",l="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",g="[object RegExp]",f="[object Set]",m="[object String]",M="[object Symbol]",x="[object ArrayBuffer]",v="[object DataView]",L=e?e.prototype:void 0,w=L?L.valueOf:void 0;function C(b,_,I,$,N,S,A){switch(I){case v:if(b.byteLength!=_.byteLength||b.byteOffset!=_.byteOffset)return!1;b=b.buffer,_=_.buffer;case x:return!(b.byteLength!=_.byteLength||!S(new t(b),new t(_)));case h:case l:case y:return n(+b,+_);case u:return b.name==_.name&&b.message==_.message;case g:case m:return b==_+"";case p:var D=i;case f:var H=$&s;if(D||(D=r),b.size!=_.size&&!H)return!1;var P=A.get(b);if(P)return P==_;$|=d,A.set(b,_);var j=c(D(b),D(_),$,N,S,A);return A.delete(b),j;case M:if(w)return w.call(b)==w.call(_)}return!1}return tb=C,tb}var ab,$j;function Hye(){if($j)return ab;$j=1;function e(t,n){for(var c=-1,i=n.length,r=t.length;++c<i;)t[r+c]=n[c];return t}return ab=e,ab}var nb,qj;function Xw(){if(qj)return nb;qj=1;var e=Array.isArray;return nb=e,nb}var ob,Aj;function Dye(){if(Aj)return ob;Aj=1;var e=Hye(),t=Xw();function n(c,i,r){var s=i(c);return t(c)?s:e(s,r(c))}return ob=n,ob}var cb,zj;function Bye(){if(zj)return cb;zj=1;function e(t,n){for(var c=-1,i=t==null?0:t.length,r=0,s=[];++c<i;){var d=t[c];n(d,c,t)&&(s[r++]=d)}return s}return cb=e,cb}var ib,Vj;function Rye(){if(Vj)return ib;Vj=1;function e(){return[]}return ib=e,ib}var rb,Pj;function Fye(){if(Pj)return rb;Pj=1;var e=Bye(),t=Rye(),n=Object.prototype,c=n.propertyIsEnumerable,i=Object.getOwnPropertySymbols,r=i?function(s){return s==null?[]:(s=Object(s),e(i(s),function(d){return c.call(s,d)}))}:t;return rb=r,rb}var sb,Tj;function Eye(){if(Tj)return sb;Tj=1;function e(t,n){for(var c=-1,i=Array(t);++c<t;)i[c]=n(c);return i}return sb=e,sb}var db,Hj;function SL(){if(Hj)return db;Hj=1;function e(t){return t!=null&&typeof t=="object"}return db=e,db}var lb,Dj;function Oye(){if(Dj)return lb;Dj=1;var e=CL(),t=SL(),n="[object Arguments]";function c(i){return t(i)&&e(i)==n}return lb=c,lb}var hb,Bj;function Uye(){if(Bj)return hb;Bj=1;var e=Oye(),t=SL(),n=Object.prototype,c=n.hasOwnProperty,i=n.propertyIsEnumerable,r=e(function(){return arguments}())?e:function(s){return t(s)&&c.call(s,"callee")&&!i.call(s,"callee")};return hb=r,hb}var M1={exports:{}},ub,Rj;function Wye(){if(Rj)return ub;Rj=1;function e(){return!1}return ub=e,ub}M1.exports;var Fj;function Wq(){return Fj||(Fj=1,function(e,t){var n=It(),c=Wye(),i=t&&!t.nodeType&&t,r=i&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===i,d=s?n.Buffer:void 0,h=d?d.isBuffer:void 0,l=h||c;e.exports=l}(M1,M1.exports)),M1.exports}var pb,Ej;function Gye(){if(Ej)return pb;Ej=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(c,i){var r=typeof c;return i=i??e,!!i&&(r=="number"||r!="symbol"&&t.test(c))&&c>-1&&c%1==0&&c<i}return pb=n,pb}var yb,Oj;function Gq(){if(Oj)return yb;Oj=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return yb=t,yb}var kb,Uj;function Kye(){if(Uj)return kb;Uj=1;var e=CL(),t=Gq(),n=SL(),c="[object Arguments]",i="[object Array]",r="[object Boolean]",s="[object Date]",d="[object Error]",h="[object Function]",l="[object Map]",u="[object Number]",p="[object Object]",y="[object RegExp]",g="[object Set]",f="[object String]",m="[object WeakMap]",M="[object ArrayBuffer]",x="[object DataView]",v="[object Float32Array]",L="[object Float64Array]",w="[object Int8Array]",C="[object Int16Array]",b="[object Int32Array]",_="[object Uint8Array]",I="[object Uint8ClampedArray]",$="[object Uint16Array]",N="[object Uint32Array]",S={};S[v]=S[L]=S[w]=S[C]=S[b]=S[_]=S[I]=S[$]=S[N]=!0,S[c]=S[i]=S[M]=S[r]=S[x]=S[s]=S[d]=S[h]=S[l]=S[u]=S[p]=S[y]=S[g]=S[f]=S[m]=!1;function A(D){return n(D)&&t(D.length)&&!!S[e(D)]}return kb=A,kb}var mb,Wj;function Zye(){if(Wj)return mb;Wj=1;function e(t){return function(n){return t(n)}}return mb=e,mb}var x1={exports:{}};x1.exports;var Gj;function Xye(){return Gj||(Gj=1,function(e,t){var n=Bq(),c=t&&!t.nodeType&&t,i=c&&!0&&e&&!e.nodeType&&e,r=i&&i.exports===c,s=r&&n.process,d=function(){try{var h=i&&i.require&&i.require("util").types;return h||s&&s.binding&&s.binding("util")}catch{}}();e.exports=d}(x1,x1.exports)),x1.exports}var fb,Kj;function Kq(){if(Kj)return fb;Kj=1;var e=Kye(),t=Zye(),n=Xye(),c=n&&n.isTypedArray,i=c?t(c):e;return fb=i,fb}var gb,Zj;function Yye(){if(Zj)return gb;Zj=1;var e=Eye(),t=Uye(),n=Xw(),c=Wq(),i=Gye(),r=Kq(),s=Object.prototype,d=s.hasOwnProperty;function h(l,u){var p=n(l),y=!p&&t(l),g=!p&&!y&&c(l),f=!p&&!y&&!g&&r(l),m=p||y||g||f,M=m?e(l.length,String):[],x=M.length;for(var v in l)(u||d.call(l,v))&&!(m&&(v=="length"||g&&(v=="offset"||v=="parent")||f&&(v=="buffer"||v=="byteLength"||v=="byteOffset")||i(v,x)))&&M.push(v);return M}return gb=h,gb}var vb,Xj;function Jye(){if(Xj)return vb;Xj=1;var e=Object.prototype;function t(n){var c=n&&n.constructor,i=typeof c=="function"&&c.prototype||e;return n===i}return vb=t,vb}var Mb,Yj;function Qye(){if(Yj)return Mb;Yj=1;function e(t,n){return function(c){return t(n(c))}}return Mb=e,Mb}var xb,Jj;function e4e(){if(Jj)return xb;Jj=1;var e=Qye(),t=e(Object.keys,Object);return xb=t,xb}var _b,Qj;function t4e(){if(Qj)return _b;Qj=1;var e=Jye(),t=e4e(),n=Object.prototype,c=n.hasOwnProperty;function i(r){if(!e(r))return t(r);var s=[];for(var d in Object(r))c.call(r,d)&&d!="constructor"&&s.push(d);return s}return _b=i,_b}var Lb,eS;function a4e(){if(eS)return Lb;eS=1;var e=Fq(),t=Gq();function n(c){return c!=null&&t(c.length)&&!e(c)}return Lb=n,Lb}var Ib,tS;function n4e(){if(tS)return Ib;tS=1;var e=Yye(),t=t4e(),n=a4e();function c(i){return n(i)?e(i):t(i)}return Ib=c,Ib}var bb,aS;function o4e(){if(aS)return bb;aS=1;var e=Dye(),t=Fye(),n=n4e();function c(i){return e(i,n,t)}return bb=c,bb}var wb,nS;function c4e(){if(nS)return wb;nS=1;var e=o4e(),t=1,n=Object.prototype,c=n.hasOwnProperty;function i(r,s,d,h,l,u){var p=d&t,y=e(r),g=y.length,f=e(s),m=f.length;if(g!=m&&!p)return!1;for(var M=g;M--;){var x=y[M];if(!(p?x in s:c.call(s,x)))return!1}var v=u.get(r),L=u.get(s);if(v&&L)return v==s&&L==r;var w=!0;u.set(r,s),u.set(s,r);for(var C=p;++M<g;){x=y[M];var b=r[x],_=s[x];if(h)var I=p?h(_,b,x,s,r,u):h(b,_,x,r,s,u);if(!(I===void 0?b===_||l(b,_,d,h,u):I)){w=!1;break}C||(C=x=="constructor")}if(w&&!C){var $=r.constructor,N=s.constructor;$!=N&&"constructor"in r&&"constructor"in s&&!(typeof $=="function"&&$ instanceof $&&typeof N=="function"&&N instanceof N)&&(w=!1)}return u.delete(r),u.delete(s),w}return wb=i,wb}var Cb,oS;function i4e(){if(oS)return Cb;oS=1;var e=l1(),t=It(),n=e(t,"DataView");return Cb=n,Cb}var Nb,cS;function r4e(){if(cS)return Nb;cS=1;var e=l1(),t=It(),n=e(t,"Promise");return Nb=n,Nb}var jb,iS;function s4e(){if(iS)return jb;iS=1;var e=l1(),t=It(),n=e(t,"Set");return jb=n,jb}var Sb,rS;function d4e(){if(rS)return Sb;rS=1;var e=l1(),t=It(),n=e(t,"WeakMap");return Sb=n,Sb}var $b,sS;function l4e(){if(sS)return $b;sS=1;var e=i4e(),t=Zw(),n=r4e(),c=s4e(),i=d4e(),r=CL(),s=Eq(),d="[object Map]",h="[object Object]",l="[object Promise]",u="[object Set]",p="[object WeakMap]",y="[object DataView]",g=s(e),f=s(t),m=s(n),M=s(c),x=s(i),v=r;return(e&&v(new e(new ArrayBuffer(1)))!=y||t&&v(new t)!=d||n&&v(n.resolve())!=l||c&&v(new c)!=u||i&&v(new i)!=p)&&(v=function(L){var w=r(L),C=w==h?L.constructor:void 0,b=C?s(C):"";if(b)switch(b){case g:return y;case f:return d;case m:return l;case M:return u;case x:return p}return w}),$b=v,$b}var qb,dS;function h4e(){if(dS)return qb;dS=1;var e=Nye(),t=Uq(),n=Tye(),c=c4e(),i=l4e(),r=Xw(),s=Wq(),d=Kq(),h=1,l="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,g=y.hasOwnProperty;function f(m,M,x,v,L,w){var C=r(m),b=r(M),_=C?u:i(m),I=b?u:i(M);_=_==l?p:_,I=I==l?p:I;var $=_==p,N=I==p,S=_==I;if(S&&s(m)){if(!s(M))return!1;C=!0,$=!1}if(S&&!$)return w||(w=new e),C||d(m)?t(m,M,x,v,L,w):n(m,M,_,x,v,L,w);if(!(x&h)){var A=$&&g.call(m,"__wrapped__"),D=N&&g.call(M,"__wrapped__");if(A||D){var H=A?m.value():m,P=D?M.value():M;return w||(w=new e),L(H,P,x,v,w)}}return S?(w||(w=new e),c(m,M,x,v,L,w)):!1}return qb=f,qb}var Ab,lS;function u4e(){if(lS)return Ab;lS=1;var e=h4e(),t=SL();function n(c,i,r,s,d){return c===i?!0:c==null||i==null||!t(c)&&!t(i)?c!==c&&i!==i:e(c,i,r,s,n,d)}return Ab=n,Ab}var zb,hS;function p4e(){if(hS)return zb;hS=1;var e=u4e();function t(n,c){return e(n,c)}return zb=t,zb}var y4e=p4e();const k4e=a.getDefaultExportFromCjs(y4e),m4e=({schema:e,initialData:t={},onSubmit:n,submitLabel:c,submitIcon:i,submitIconPosition:r="left",onCancel:s,cancelLabel:d="Retour",cancelIcon:h})=>{const[l,u]=k.useState(t),[p,y]=k.useState({}),[g,f]=k.useState({}),[m,M]=k.useState(!1),x=k.useRef(t);k.useEffect(()=>{k4e(x.current,t)||(u(t),x.current=t)},[t]);const v=(I,$)=>{const N={...l,[I]:$};if(u(N),g[I]){const S=e.fields.find(A=>A.name===I);if(S){const A=mL($,S);y(D=>({...D,[I]:A.isValid?"":A.error}))}}},L=I=>{if(!g[I]){f(N=>({...N,[I]:!0}));const $=e.fields.find(N=>N.name===I);if($){const N=mL(l[I],$);y(S=>({...S,[I]:N.isValid?"":N.error}))}}},w=async I=>{I.preventDefault(),M(!0);const $=e.fields.reduce((S,A)=>(A.type!=="section"&&(S[A.name]=!0),S),{});f($);const N=jq(l,e.fields.filter(S=>S.type!=="section"));if(y(N.errors),N.isValid)try{await n(l)}catch(S){console.error("Erreur lors de la soumission:",S),y(A=>({...A,__global:"Une erreur est survenue lors de la soumission"}))}M(!1)},C=h?Mt[h]:null,b=i&&Mt[i]||e.submitIcon&&Mt[e.submitIcon]||null,_=e.columns&&e.columns>0?Math.floor(e.columns):12;return o.jsxs("div",{className:ye.formContainer,children:[o.jsx("div",{className:ye.headerLine,children:o.jsx("h2",{className:ye.formTitle,children:e.title})}),e.description&&o.jsx("p",{className:ye.formDescription,children:e.description}),p.__global&&o.jsx("div",{className:`alert alert-danger ${ye.globalError}`,children:p.__global}),o.jsxs("form",{onSubmit:w,children:[o.jsx("div",{className:ye.gridContainer,style:{gridTemplateColumns:`repeat(${_}, minmax(0, 1fr))`},children:e.fields.map(I=>{if(I.type==="section")return o.jsxs("div",{className:ye.sectionFull,children:[o.jsx("h5",{className:ye.sectionTitle,children:I.label}),I.help&&o.jsx("p",{className:ye.sectionHelp,children:I.help})]},I.name);const N={gridColumn:`span ${Math.max(1,Math.min(_,I.gridCol??_))}`};return o.jsxs("div",{className:ye.fieldGridItem,style:N,children:[o.jsx(Hq,{field:I,value:l[I.name],onChange:S=>v(I.name,S),onBlur:()=>L(I.name),error:p[I.name],touched:g[I.name]}),I.help&&o.jsx("small",{className:ye.fieldHelp,children:I.help})]},I.name)})}),o.jsxs("div",{className:ye.formFooter,children:[o.jsx("div",{className:ye.footerLeft,children:s&&o.jsxs("button",{type:"button",className:ye.cancelLink,onClick:s,children:[C&&o.jsx(C,{size:16,className:"me-2"})," ",d]})}),o.jsx("div",{className:ye.footerRight,children:o.jsx(iL,{type:"submit",variant:"primary",size:"md",className:ye.submitButton,disabled:m,children:m?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status"}),"Validation..."]}):o.jsxs(o.Fragment,{children:[b&&(r==="left"||e.submitIconPosition==="left")&&o.jsx(b,{size:16,className:"me-2"}),c||e.submitText||"Valider",b&&(r==="right"||e.submitIconPosition==="right")&&o.jsx(b,{size:16,className:"ms-2"})]})})})]})]})]})};function f4e(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const uS=new Map,g4e=({path:e,style:t,width:n=24,height:c=24,keepColors:i=!1,onClick:r})=>{const[s,d]=k.useState("");return k.useEffect(()=>{e&&(async()=>{try{let l=uS.get(e);l||(l=fetch(e).then(f=>{if(!f.ok)throw new Error(`Failed to load ${e}`);return f.text()}),uS.set(e,l));let u=await l;const p=t?.width||`${n}px`,y=t?.height||`${c}px`;i||(u=u.replace(/fill="[^"]*"/g,'fill="currentColor"'),u=u.replace(/fill='[^']*'/g,"fill='currentColor'"));const g=i?`width="${p}" height="${y}"`:`width="${p}" height="${y}" fill="currentColor"`;u=u.replace(/<svg/,`<svg ${g}`),d(u)}catch(l){console.error(`Failed to load icon: ${e}`,l)}})()},[e,t?.width,t?.height,n,c]),s?o.jsx("span",{onClick:r,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:t?.color||"inherit",...t},dangerouslySetInnerHTML:{__html:s}}):null},v4e="_container_1gljv_85",M4e="_tableWrapper_1gljv_111",x4e="_tableControls_1gljv_117",_4e="_controlsRight_1gljv_128",L4e="_limitedRows_1gljv_151",I4e="_table_1gljv_111",b4e="_headerCell_1gljv_206",w4e="_headerContent_1gljv_220",C4e="_headerWords_1gljv_229",N4e="_headerWord_1gljv_229",j4e="_cellContent_1gljv_276",S4e="_alignLeft_1gljv_286",$4e="_alignCenter_1gljv_290",q4e="_alignRight_1gljv_294",A4e="_tableCell_1gljv_298",z4e="_tableRow_1gljv_308",V4e="_emptyRow_1gljv_385",P4e="_toggleFiltersButton_1gljv_393",T4e="_toggleSortButton_1gljv_394",H4e="_buttonTextCompact_1gljv_415",D4e="_uppercaseSmall_1gljv_450",B4e="_filtersPanel_1gljv_463",R4e="_filtersPanelInline_1gljv_481",F4e="_filtersPanelHorizontal_1gljv_492",E4e="_filtersRow_1gljv_492",O4e="_filtersActionsHorizontal_1gljv_525",U4e="_filterItemInline_1gljv_542",W4e="_filterLabel_1gljv_571",G4e="_filterInput_1gljv_576",K4e="_filterSelect_1gljv_577",Z4e="_operatorSelect_1gljv_578",X4e="_operatorInput_1gljv_579",Y4e="_activeFilterTag_1gljv_597",J4e="_actionsGroup_1gljv_609",Q4e="_applyButton_1gljv_615",e5e="_cancelButton_1gljv_625",t5e="_columnSorterContainer_1gljv_649",a5e="_sorterControls_1gljv_654",n5e="_sortDropdownWrapper_1gljv_659",o5e="_sortDropdown_1gljv_659",c5e="_sortDropdownHeader_1gljv_679",i5e="_closeButton_1gljv_688",r5e="_sortDropdownContent_1gljv_703",s5e="_sortDropdownItem_1gljv_709",d5e="_sortDirectionButtons_1gljv_734",l5e="_sortDirectionButton_1gljv_734",h5e="_activeSort_1gljv_757",u5e="_sortActions_1gljv_764",p5e="_paginationButton_1gljv_842",y5e="_pageSizeSelect_1gljv_844",k5e="_topPagination_1gljv_853",m5e="_paginationContainer_1gljv_861",f5e="_leftGroup_1gljv_874",g5e="_pageSizeControls_1gljv_882",v5e="_paginationInfo_1gljv_908",M5e="_paginationControls_1gljv_916",x5e="_disabledButton_1gljv_947",_5e="_activeButton_1gljv_952",L5e="_navigationButton_1gljv_962",I5e="_operatorFilterContainer_1gljv_1010",b5e="_rangeSeparator_1gljv_1016",w5e="_activeFiltersSection_1gljv_1179",C5e="_activeFiltersRow_1gljv_1184",N5e="_activeFiltersList_1gljv_1192",j5e="_clearAllButton_1gljv_1200",S5e="_removeFilterButton_1gljv_1221",$5e="_sortIndicator_1gljv_1272",q5e="_active_1gljv_349",A5e="_clearSortButton_1gljv_1371",z5e="_loaderSpinner_1gljv_2743",V5e="_loaderSpinnerSmall_1gljv_2755",P5e="_paginationLoading_1gljv_2772",T5e="_loadingButton_1gljv_2780",H5e="_loadingIndicator_1gljv_2791",V={container:v4e,tableWrapper:M4e,tableControls:x4e,controlsRight:_4e,limitedRows:L4e,table:I4e,headerCell:b4e,headerContent:w4e,headerWords:C4e,headerWord:N4e,cellContent:j4e,alignLeft:S4e,alignCenter:$4e,alignRight:q4e,tableCell:A4e,tableRow:z4e,emptyRow:V4e,toggleFiltersButton:P4e,toggleSortButton:T4e,buttonTextCompact:H4e,uppercaseSmall:D4e,filtersPanel:B4e,filtersPanelInline:R4e,filtersPanelHorizontal:F4e,filtersRow:E4e,filtersActionsHorizontal:O4e,filterItemInline:U4e,filterLabel:W4e,filterInput:G4e,filterSelect:K4e,operatorSelect:Z4e,operatorInput:X4e,activeFilterTag:Y4e,actionsGroup:J4e,applyButton:Q4e,cancelButton:e5e,columnSorterContainer:t5e,sorterControls:a5e,sortDropdownWrapper:n5e,sortDropdown:o5e,sortDropdownHeader:c5e,closeButton:i5e,sortDropdownContent:r5e,sortDropdownItem:s5e,sortDirectionButtons:d5e,sortDirectionButton:l5e,activeSort:h5e,sortActions:u5e,paginationButton:p5e,pageSizeSelect:y5e,topPagination:k5e,paginationContainer:m5e,leftGroup:f5e,pageSizeControls:g5e,paginationInfo:v5e,paginationControls:M5e,disabledButton:x5e,activeButton:_5e,navigationButton:L5e,operatorFilterContainer:I5e,rangeSeparator:b5e,activeFiltersSection:w5e,activeFiltersRow:C5e,activeFiltersList:N5e,clearAllButton:j5e,removeFilterButton:S5e,sortIndicator:$5e,active:q5e,clearSortButton:A5e,loaderSpinner:z5e,loaderSpinnerSmall:V5e,paginationLoading:P5e,loadingButton:T5e,loadingIndicator:H5e},D5e=({config:e,value:t,onChange:n,disabled:c})=>o.jsxs("select",{value:t===""?"":String(t),onChange:i=>n(i.target.value===""?"":i.target.value==="true"),disabled:c,className:V.filterSelect,children:[o.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),o.jsx("option",{value:"true",children:"Oui"}),o.jsx("option",{value:"false",children:"Non"})]}),B5e=({config:e,value:t,onChange:n,disabled:c})=>o.jsx("input",{type:"date",value:t||"",onChange:i=>n(i.target.value),placeholder:`Filtrer ${e.label}...`,disabled:c,className:V.filterInput}),R5e=({config:e,value:t,onChange:n,disabled:c})=>{const[i,r]=k.useState([]);k.useEffect(()=>{(async()=>{if(e.asyncOptions)try{const h=await e.asyncOptions();r(h??[])}catch(h){console.error("Erreur chargement options MultiSelect:",h),r([])}else r(e.options??[])})()},[e]);const s=d=>{const h=Array.from(d.target.selectedOptions,l=>l.value);n(h)};return o.jsx("select",{multiple:!0,value:t.map(String),onChange:s,disabled:c,className:V.filterMultiSelect,children:i.map((d,h)=>o.jsx("option",{value:String(d.value),children:d.label},h))})},pS=({config:e,value:t,onChange:n,disabled:c})=>{const[i,r]=k.useState(t||""),s=d=>{const h=d.target.value===""?"":Number(d.target.value);r(h),n(h)};return o.jsx("input",{type:"number",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:V.filterInput})},F5e=({config:e,value:t,onChange:n,disabled:c=!1})=>{const[i,r]=k.useState([]),[s,d]=k.useState(!1);k.useEffect(()=>{(async()=>{if(e.asyncOptions){d(!0);try{const u=await e.asyncOptions();r(u)}catch(u){console.error("Error loading options:",u)}finally{d(!1)}}else r(e.options||[])})()},[e]);const h=l=>{const u=l.target.value;n(u)};return s?o.jsx("div",{children:"Chargement..."}):o.jsxs("select",{value:String(t||""),onChange:h,disabled:c,className:V.filterInput,children:[o.jsx("option",{value:"",children:"Select..."}),i.map(l=>o.jsx("option",{value:l.value,children:l.label},l.value))]})},E5e=({config:e,value:t,onChange:n,disabled:c=!1})=>{const[i,r]=k.useState("");k.useEffect(()=>{r(typeof t=="string"?t:String(t||""))},[t]);const s=d=>{const h=d.target.value;r(h),n(h)};return o.jsx("input",{type:"text",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:V.filterInput})},O5e=({config:e,value:t,onChange:n,disabled:c=!1})=>{const[i,r]=k.useState(t?.operator||""),[s,d]=k.useState(t?.value||"");k.useEffect(()=>{i&&s&&n({operator:i,value:s})},[i,s,n]);const h=u=>{r(u.target.value)},l=u=>{d(u.target.value)};return o.jsxs("div",{className:V.operatorFilterContainer,children:[o.jsxs("select",{value:i,onChange:h,disabled:c,className:V.operatorSelect,children:[o.jsx("option",{value:"",children:"Sélectionner un opérateur"}),e.operators.map(u=>o.jsx("option",{value:String(u.value),children:u.label},String(u.value)))]}),o.jsx("input",{type:"text",value:s,onChange:l,placeholder:"Valeur",disabled:c||!i,className:V.operatorInput})]})},U5e=({value:e,onChange:t,disabled:n})=>{const c=e||{},i=s=>{t({...c,start:s.target.value})},r=s=>{t({...c,end:s.target.value})};return o.jsxs("div",{className:V.dateRangeContainer,children:[o.jsx("input",{type:"date",value:c.start||"",onChange:i,disabled:n,className:V.filterInput}),o.jsx("span",{className:V.rangeSeparator,children:"→"}),o.jsx("input",{type:"date",value:c.end||"",onChange:r,disabled:n,className:V.filterInput})]})},W5e=({config:e,value:t,onChange:n,disabled:c})=>{switch(e.type){case"text":case"search":return o.jsx(E5e,{config:e,value:t,onChange:n,disabled:c});case"number":return o.jsx(pS,{config:e,value:t,onChange:n,disabled:c});case"range":return o.jsx(pS,{config:e,value:t,onChange:n,disabled:c});case"select":return o.jsx(F5e,{config:e,value:t,onChange:n,disabled:c});case"operator":return o.jsx(O5e,{config:e,value:t,onChange:n,disabled:c});case"multiselect":return o.jsx(R5e,{config:e,value:t,onChange:n,disabled:c});case"date":return o.jsx(B5e,{config:e,value:t,onChange:n,disabled:c});case"daterange":return o.jsx(U5e,{config:e,value:t??{start:"",end:""},onChange:n,disabled:c});case"boolean":return o.jsx(D5e,{config:e,value:t,onChange:n,disabled:c});default:return o.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},Zq=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,isControlled:i=!1})=>{const[r,s]=k.useState([]),[d,h]=k.useState(()=>{const f={};return e.forEach(m=>{m.type==="daterange"?f[m.id]={start:"",end:""}:f[m.id]=m.defaultValue??""}),f});k.useEffect(()=>{if(!i)return;const f={...d??{}};e.forEach(m=>{m.id in f||(f[m.id]=m.type==="daterange"?{start:"",end:""}:m.defaultValue??"")}),(t||[]).forEach(m=>{!m||!m.id||(f[m.id]=m.value)}),h(f),s(t??[])},[i,JSON.stringify(t||[]),JSON.stringify(e.map(f=>f.id))]);const l=i?t:r,u=k.useCallback((f,m)=>{h(M=>({...M,[f]:m}))},[]),p=k.useCallback(async()=>{const f=[],m={...d};for(const[M,x]of Object.entries(m)){const v=e.find(C=>C.id===M);if(!v)continue;let L=x;try{typeof x=="function"&&(L=await x(m)),typeof v.executeOnApply=="function"&&(L=await v.executeOnApply(L,m))}catch{continue}if(v.type==="daterange"){const C=L?.start??"",b=L?.end??"",_=typeof C=="string"?C.trim()==="":!C,I=typeof b=="string"?b.trim()==="":!b;if(_&&I)continue}L==null||typeof L=="string"&&L.trim()===""||Array.isArray(L)&&L.length===0||typeof L=="object"&&!Array.isArray(L)&&Object.keys(L).length===0||f.push({id:M,type:v.type,value:L,label:v.label})}return i?n?.(f):(s(f),c?.(f)),f},[d,e,i,n,c]),y=k.useCallback(f=>{h(m=>({...m,[f]:void 0})),u(f,void 0)},[u]),g=k.useCallback(()=>{const f={};e.forEach(m=>{m.type==="daterange"?f[m.id]={start:"",end:""}:f[m.id]=m.defaultValue??""}),h(f),i?n?.([]):(s([]),c?.([]))},[e,i,n,c]);return{appliedFilters:l,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:g}},G5e=(e,t)=>{if(e==null)return!1;const n=t.value;if(n==null)return!1;switch(t.type){case"text":case"search":return String(e).toLowerCase().includes(String(n).toLowerCase());case"number":case"range":return Number(e)===Number(n);case"select":case"multiselect":return Array.isArray(n)?n.includes(e)||n.map(c=>String(c)).includes(String(e)):String(e)===String(n);case"boolean":return!!e==!!n;case"date":return new Date(e).getTime()===new Date(String(n)).getTime();case"daterange":try{if(!n||typeof n!="object")return!1;const c=n;if(!c.start||!c.end)return!1;const i=c.start,r=c.end;if(typeof i!="string"||typeof r!="string"||!i.trim()||!r.trim())return!1;const s=new Date(e).getTime(),d=new Date(i).getTime(),h=new Date(r).getTime();return isNaN(s)||isNaN(d)||isNaN(h)?!1:s>=d&&s<=h}catch(c){return console.error("Error processing daterange filter:",c),!1}case"operator":if(typeof n=="object"&&n!==null){const c=n;if(!("operator"in c)||!("value"in c))return!1;const{operator:i,value:r}=c,s=Number(e),d=Number(r);if(isNaN(s)||isNaN(d))return String(e).includes(String(r));switch(i){case"equals":return s===d;case"gt":return s>d;case"lt":return s<d;case"gte":return s>=d;case"lte":return s<=d;default:return String(e).includes(String(r))}}return!1;default:return String(e).toLowerCase().includes(String(n).toLowerCase())}};function Xq(e,t,n="",c={key:null,direction:"asc"},i=1,r=10,s=[]){const d=Math.max(1,r),h=(n||"").trim().toLowerCase(),l=k.useMemo(()=>{let m=e;return h&&(m=m.filter(M=>t.some(x=>{const v=M.data[x.id];return v==null?!1:String(v).toLowerCase().includes(h)}))),s.length>0&&(m=m.filter(M=>s.every(x=>{try{const v=M.data[x.id];return G5e(v,x)}catch(v){return console.error("Error applying filter:",v),!1}}))),m},[e,t,h,s]),u=k.useMemo(()=>{if(!c?.key)return l;const m=c.key;return[...l].sort((M,x)=>{const v=M.data[m],L=x.data[m];if(v==null)return 1;if(L==null)return-1;if(typeof v=="number"&&typeof L=="number")return c.direction==="desc"?L-v:v-L;if(v instanceof Date&&L instanceof Date){const C=v.getTime()-L.getTime();return c.direction==="desc"?-C:C}const w=String(v).localeCompare(String(L),void 0,{numeric:!0,sensitivity:"base"});return c.direction==="desc"?-w:w})},[l,c]),p=u,y=Math.ceil(u.length/d),g=0,f=Math.min(i*d,u.length);return{paginatedData:p,sortedData:u,filteredData:l,totalPages:y,startIndex:g,endIndex:f}}const Yq=({value:e})=>e,Jq=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),Qq=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),eA=({value:e})=>{if(!e)return null;const t={success:"success-badge",warning:"warning-badge",error:"error-badge",info:"info-badge",default:"default-badge"},n=typeof e=="object"?e.type:"default",c=typeof e=="object"?e.text:e,i=t[n]||t.default;return k.createElement("span",{className:`badge ${i}`},c)},tA=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},aA=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),nA=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),oA=({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"})),lw={renderers:{text:Yq,email:Jq,link:Qq,badge:eA,date:tA,number:aA,currency:nA,image:oA},icons:{sortAsc:k.createElement(qc,{className:"sort-icon active",size:14}),sortDesc:k.createElement(zt,{className:"sort-icon active",size:14}),sortDefault:k.createElement(e1,{className:"sort-icon",size:14})}},K5e=(e,t)=>{lw.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),lw.renderers[e]=t},Z5e=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,isControlled:i=!1,debounceTimeout:r=300,expanded:s,onToggle:d,panelPlacement:h="top",onPanelHeightChange:l,label:u="Advanced-Filters",applyLabel:p="Apply",cancelLabel:y="Cancel",clearLabel:g="Clear",applyDisabled:f=!1,loading:m=!1})=>{const[M,x]=k.useState(!1),v=typeof s=="boolean"?s:M,{appliedFilters:L,tempFilters:w,updateFilter:C,applyFilters:b,clearAllFilters:_}=Zq({filters:e,externalFilters:t,onFiltersChange:n,onApply:c,isControlled:i}),I=k.useRef(null),$=k.useRef(null);k.useEffect(()=>{if(v&&I.current){const P=I.current.getBoundingClientRect().height;l?.(P)}else l?.(0)},[v,e,w,l]);const N=()=>{typeof s=="boolean"?d?.(!s):x(P=>{const j=!P;return d?.(j),j})},S=()=>e.map(P=>{const j=w?.[P.id];return j==null||typeof j=="string"&&j.trim()===""?null:{id:P.id,label:P.label,value:j}}).filter(Boolean),A=async()=>{let P;try{P=await b()}catch{P=void 0}let j=[];P&&Array.isArray(P)&&P.length>0?j=P:L&&L.length>0?j=L:j=S(),n?.(j),c?.(j)},D=()=>{d?.(!1),typeof s!="boolean"&&x(!1)},H=()=>{_(),n?.([]),c?.([])};return k.useEffect(()=>{const P=q=>{v&&$.current&&($.current.contains(q.target)||(d?.(!1),typeof s!="boolean"&&x(!1)))},j=q=>{q.key==="Escape"&&v&&(d?.(!1),typeof s!="boolean"&&x(!1))};return v&&(document.addEventListener("pointerdown",P),document.addEventListener("keydown",j)),()=>{document.removeEventListener("pointerdown",P),document.removeEventListener("keydown",j)}},[v,s,d]),o.jsxs("div",{className:V.advancedFiltersContainer,ref:$,children:[o.jsxs("button",{className:`${V.toggleFiltersButton} ${L.length>0?V.active:""} ${v?V.toggleFiltersButtonOpen:""} ${m?V.loadingButton:""}`,onClick:N,"aria-expanded":v,"aria-controls":"advanced-filters-panel",type:"button",disabled:m,children:[m?o.jsx("span",{className:V.loaderSpinnerSmall}):o.jsx(jt,{size:14}),o.jsx("span",{className:V.buttonTextCompact,children:u}),L.length>0&&!m&&o.jsx("span",{className:V.filterCountBadge,"aria-hidden":!0,children:L.length}),m&&o.jsx("span",{className:V.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),v&&o.jsxs("div",{id:"advanced-filters-panel",ref:I,className:`${V.filtersPanel} ${h==="top"?`${V.filtersPanelInline} ${V.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[o.jsx("div",{className:V.filtersRow,children:e.map(P=>o.jsxs("div",{className:`${V.filterItem} ${V.filterItemInline}`,children:[o.jsxs("label",{className:V.filterLabel,children:[P.label,P.required&&o.jsx("span",{className:V.required,children:"*"})]}),o.jsx(W5e,{config:P,value:w[P.id],onChange:j=>C(P.id,j),disabled:P.disabled})]},P.id))}),o.jsxs("div",{className:V.filtersActionsHorizontal,children:[o.jsx("div",{className:V.activeFiltersSection,children:L.length>0&&o.jsxs("div",{className:V.activeFiltersRow,children:[o.jsx("span",{className:V.activeLabelCompact,children:"Actifs :"}),o.jsx("div",{className:V.activeFiltersList,children:L.map(P=>o.jsxs("div",{className:V.activeFilterTag,children:[P.label??P.id,o.jsx("button",{className:V.removeFilterButton,onClick:()=>C(P.id,void 0),"aria-label":`Supprimer ${P.id}`,type:"button",children:"×"})]},P.id))}),o.jsxs("button",{className:V.clearAllButton,onClick:H,type:"button",children:[o.jsx(Xe,{size:12})," ",g]})]})}),o.jsxs("div",{className:V.actionsGroup,children:[o.jsx("button",{className:V.cancelButton,onClick:D,type:"button",disabled:m,children:y}),o.jsx("button",{className:`${V.applyButton} ${m?V.loadingButton:""}`,onClick:A,type:"button",disabled:f||m,"aria-disabled":f||m,children:m?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:V.loaderSpinnerSmall}),o.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},yS=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},X5e=({columns:e,sortConfig:t,onSort:n,label:c="Sort",loading:i=!1})=>{const[r,s]=k.useState(!1),d=e.filter(f=>f.sortable),h=k.useRef(null),l=t?.key!==null&&t?.key!==void 0,u=(f,m)=>{n({key:f,direction:m}),s(!1)},p=()=>{n({key:null,direction:"asc"}),s(!1)},y=()=>s(f=>!f),g=()=>{s(!1)};return k.useEffect(()=>{if(!r)return;const f=M=>{if(!h.current)return;const x=M.target;x&&!h.current.contains(x)&&s(!1)},m=M=>{M.key==="Escape"&&s(!1)};return document.addEventListener("pointerdown",f),document.addEventListener("keydown",m),()=>{document.removeEventListener("pointerdown",f),document.removeEventListener("keydown",m)}},[r]),k.useEffect(()=>{const f=document.querySelector("[data-table-wrapper]");if(!f)return;const m=f.style.overflow??"";return r?f.style.overflow="hidden":f.style.overflow=m,()=>{f.style.overflow=m}},[r]),o.jsx("div",{className:V.columnSorterContainer,ref:h,children:o.jsx("div",{className:V.sorterControls,children:d.length>0&&o.jsxs("div",{className:V.sortDropdownWrapper,ref:h,children:[o.jsxs("button",{className:`${V.toggleSortButton} ${r?V.toggleSortButtonOpen:""} ${l?V.active:""} ${i?V.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?o.jsx("span",{className:V.loaderSpinnerSmall}):o.jsx(e1,{size:14}),o.jsx("span",{className:`${V.buttonTextCompact} ${yS(c)?V.uppercaseSmall:""}`,children:c}),l&&!i&&o.jsx("div",{className:V.sortIndicator,children:t?.direction==="asc"?o.jsx(qc,{size:12}):o.jsx(zt,{size:12})})]}),r&&o.jsxs("div",{className:`${V.sortDropdown} ${V.sortDropdownInline}`,role:"menu",children:[o.jsxs("div",{className:V.sortDropdownHeader,children:[o.jsx("span",{children:"Trier par:"}),o.jsx("button",{className:V.closeButton,onClick:g,"aria-label":"Fermer",type:"button",children:o.jsx(Xe,{size:16})})]}),o.jsx("div",{className:V.sortDropdownContent,children:d.map(f=>{const m=String(f.label??f.id),M=yS(m);return o.jsxs("div",{className:V.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:x=>{x.key==="Enter"&&u(f.id,"asc")},children:[o.jsx("span",{className:`${V.columnSorterLabel} ${M?V.uppercaseSmall:""}`,title:m,"aria-label":m,children:m}),o.jsxs("div",{className:V.sortDirectionButtons,children:[o.jsx("button",{className:`${V.sortDirectionButton} ${t?.key===f.id&&t?.direction==="asc"?V.activeSort:""}`,onClick:()=>u(f.id,"asc"),title:"Trier par ordre croissant",type:"button",children:o.jsx(qc,{size:12})}),o.jsx("button",{className:`${V.sortDirectionButton} ${t?.key===f.id&&t?.direction==="desc"?V.activeSort:""}`,onClick:()=>u(f.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:o.jsx(zt,{size:12})})]})]},f.id)})}),l&&o.jsx("div",{className:V.sortActions,children:o.jsxs("button",{className:V.clearSortButton,onClick:p,type:"button",children:[o.jsx(Nt,{size:14}),o.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},Y5e=({currentPage:e,totalPages:t,pageSize:n,totalItems:c,itemLabel:i="items",onPageChange:r,onPageSizeChange:s,loading:d=!1})=>{const h=Math.max(1,Math.floor(t)),l=Math.min(Math.max(1,Math.floor(e)),h),u=()=>{l>1&&r(l-1)},p=()=>{if(l<t){const m=l+1;r(m)}},y=c>0?(l-1)*n+1:0,g=c>0?Math.min(l*n,c):0,f=()=>{const m=[];let x=Math.max(1,l-Math.floor(2.5)),v=x+5-1;v>h&&(v=h,x=Math.max(1,v-5+1));for(let L=x;L<=v;L++)m.push(L);return m};return o.jsxs("div",{className:V.paginationContainer,role:"navigation","aria-label":"Pagination",children:[o.jsx("div",{className:V.leftGroup,children:s&&o.jsx("div",{className:V.pageSizeControls,children:o.jsx("select",{value:n,onChange:m=>s(Number(m.target.value)),className:V.pageSizeSelect,"aria-label":"Taille de page",disabled:d,children:[10,20,30].map(m=>o.jsx("option",{value:m,children:m},m))})})}),o.jsx("div",{className:V.paginationInfo,"aria-live":"polite",children:d?o.jsxs("span",{className:V.paginationLoading,children:[o.jsx("span",{className:V.loaderSpinner}),o.jsx("span",{children:"Chargement..."})]}):`${y}-${g} ${i}`}),o.jsxs("div",{className:V.paginationControls,children:[o.jsx("button",{onClick:u,disabled:l===1||d,className:`${V.paginationButton} ${V.navigationButton} ${l===1?V.disabledButton:""} ${d?V.loadingButton:""}`,"aria-label":"Page précédente",children:d&&l>1?o.jsx("span",{className:V.loaderSpinnerSmall}):"«"}),f().map(m=>o.jsx("button",{onClick:()=>r(m),disabled:d,"aria-current":l===m?"page":void 0,className:`${V.paginationButton} ${l===m?V.activeButton:""} ${d?V.loadingButton:""}`,children:d&&l===m?o.jsx("span",{className:V.loaderSpinnerSmall}):m},m)),o.jsx("button",{onClick:p,disabled:d||l>=h,className:`${V.paginationButton} ${V.navigationButton} ${d?V.loadingButton:""} ${l>=h?V.disabledButton:""}`,"aria-label":"Page suivante",children:d?o.jsx("span",{className:V.loaderSpinnerSmall}):"»"})]})]})},J5e=(e,t)=>{if(!e)return"";if(t)return e;const n=String(e).trim();if(!n)return n;const c=n.toLowerCase();return c.charAt(0).toUpperCase()+c.slice(1)},Q5e=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},eke=({columns:e})=>o.jsx("thead",{className:V.tableHeader,children:o.jsx("tr",{children:e.map((t,n)=>{const c=t.align==="right"?V.alignRight:t.align==="left"?V.alignLeft:V.alignCenter,i=t.preserveHeaderCase===!0,r=J5e(String(t.label??""),i),s=Q5e(r),d=s?r.split(/\s+/):[];return o.jsx("th",{className:`${V.headerCell} ${c}`,style:{width:t.width??void 0},"data-preserve":i?"true":"false",title:t.a11yConfig?.mode==="guide"?t.a11yConfig.description:t.a11yConfig?.mode==="key"?t.a11yConfig.key:void 0,children:o.jsx("div",{className:V.headerContent,children:s?o.jsx("div",{className:V.headerWords,children:d.map((h,l)=>o.jsx("span",{className:V.headerWord,children:h},l))}):o.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),tke=({value:e,row:t,column:n})=>{const c=n.align==="right"?V.alignRight:n.align==="left"?V.alignLeft:V.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return o.jsx("td",{className:`${V.tableCell} ${c}`,style:{width:n.width??void 0},children:o.jsx("div",{className:V.cellContent,children:i})})},ake=({row:e,rowId:t,columns:n,onRowClick:c,index:i,getRowStyle:r})=>{const s=r?r(e):{},{backgroundColor:d,accentColor:h,...l}=s||{},u={backgroundColor:d,...l,"--row-accent":h??"transparent"};return o.jsx("tr",{className:`${V.tableRow} ${c?V.clickableRow:""}`,onClick:()=>c?.(e,i),style:u,children:n.map(p=>o.jsx(tke,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},nke=({data:e,columns:t,onRowClick:n,startIndex:c,searchTerm:i,getRowStyle:r})=>e.length===0?o.jsx("tbody",{children:o.jsx("tr",{children:o.jsx("td",{colSpan:t.length,className:V.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):o.jsx("tbody",{children:e.map((s,d)=>o.jsx(ake,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:c+d-1,getRowStyle:r},s.id))}),cA=({columns:e=[],data:t=[],pagination:n={pageSize:10,currentPage:1},onRowClick:c,searchTerm:i="",className:r="",filterConfig:s=[],externalFilters:d=[],onFiltersChange:h,onApplyFilters:l,onSort:u,filtersControlled:p=!1,debounceTimeout:y=300,getRowStyle:g,background:f,onPageSizeChange:m,onPageChange:M,itemLabel:x="items",advancedFiltersLabel:v="Advanced-Filters",advancedFiltersActiveLabel:L,sortLabel:w="Sort",applyLabel:C="Apply",cancelLabel:b="Cancel",clearLabel:_="Clear",applyDisabled:I=!1,paginationLoading:$=!1,filtersLoading:N=!1,sortLoading:S=!1,totalCount:A=null})=>{const[D,H]=k.useState({key:null,direction:"asc"}),[P,j]=k.useState(n.currentPage??1),[q,T]=k.useState(n.pageSize??10),[R,z]=k.useState(!1),F=k.useRef(null),[K,te]=k.useState([]),ne=p?d:K,Me=p?[]:K;k.useEffect(()=>{const se=n.currentPage??1,Ht=n.pageSize??10;se!==P&&j(se),Ht!==q&&T(Ht)},[n.currentPage,n.pageSize]);const{paginatedData:me,sortedData:je,totalPages:he,startIndex:Y}=Xq(t,e,i,D,P,q,Me),ee=je.length,ie=typeof A=="number"&&A>=0?A:ee;let ue=he;typeof A=="number"&&A>=0&&(ue=Math.max(1,Math.ceil(A/q)));const re=ee>10;k.useEffect(()=>{const se=Math.max(1,Math.floor(ue));P>se&&j(se),P<1&&j(1)},[ue]);const W=se=>{p||te(se),h?.(se),j(1),M?.(1)},O=se=>{p||te(se),l?.(se),j(1),M?.(1),F.current&&F.current.style.setProperty("--filters-panel-height","0px")},oe=se=>{M?.(se),j(se)},Ce=se=>{T(se),j(1),m?.(se),M?.(1)},Re=se=>{F.current&&F.current.style.setProperty("--filters-panel-height",`${Math.round(se)}px`)},ge=se=>{H(se),u?.(se)},Ne=se=>{z(se),!se&&F.current&&F.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(ne?.length??0)>0&&z(!0)},[ne]),k.useEffect(()=>{s.length>0&&ne.length>0&&z(!0)},[s.length,ne.length]);const h1=(ne?.length??0)>0&&L?L:v;return o.jsxs("div",{ref:F,className:`${V.container} ${r} ${R?V.filtersOpen:""}`,style:{background:f,"--row-height":"48px","--header-height":"56px"},children:[o.jsx("div",{className:V.tableControls,children:o.jsxs("div",{className:V.controlsRight,children:[o.jsx(X5e,{columns:e,onSort:ge,label:w,sortConfig:D,loading:S}),s.length>0&&o.jsx(Z5e,{filters:s,externalFilters:ne,onFiltersChange:W,onApply:O,isControlled:p,debounceTimeout:y,expanded:R,onToggle:Ne,panelPlacement:"top",onPanelHeightChange:Re,label:h1,applyLabel:C,cancelLabel:b,clearLabel:_,applyDisabled:I,loading:N})]})}),o.jsx("div",{className:V.topPagination,children:o.jsx(Y5e,{currentPage:P,totalPages:ue,pageSize:q,totalItems:ie,itemLabel:x,onPageChange:oe,onPageSizeChange:Ce,loading:$})}),o.jsx("div",{className:`${V.tableWrapper} ${re?V.limitedRows:""}`,"data-table-wrapper":!0,children:o.jsxs("table",{className:V.table,children:[o.jsx(eke,{columns:e}),o.jsx(nke,{data:me,columns:e,onRowClick:c,startIndex:Y,getRowStyle:g,searchTerm:i})]})})]})};function oke(e){const{pagination:t,totalCount:n,onPageChange:c,...i}=e,r=t?.pageSize??20,s=t?.currentPage??1,d=k.useMemo(()=>{if(n===null||typeof n>"u")return null;const p=Number(n);if(!Number.isFinite(p)||p<=0)return 1;const y=Number(r);return!Number.isFinite(y)||y<=0?1:Math.max(1,Math.ceil(p/y))},[n,r]),h=s>1,l=d===null?!1:s<d,u=p=>{typeof p=="number"&&(p<1||p<s&&!h||p>s&&!l||c?.(p))};return o.jsx(cA,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const cke="_mpRoot_31595_1",ike="_mpHeader_31595_22",rke="_mpTitle_31595_31",ske="_mpList_31595_35",dke="_mpVertical_31595_41",lke="_mpHorizontal_31595_46",hke="_mpItem_31595_55",uke="_mpClickable_31595_95",pke="_mpLeft_31595_117",yke="_mpIcon_31595_125",kke="_mpMeta_31595_140",mke="_mpLabel_31595_145",fke="_mpDate_31595_154",gke="_mpRight_31595_160",vke="_mpValue_31595_168",Mke="_mpHint_31595_176",xke="_mpBadge_31595_180",_ke="_mpBadgeTop_31595_199",Lke="_mpBadgeSub_31595_206",Ike="_mpBadgeSmall_31595_213",bke="_mpPill_31595_229",wke="_mpRounded_31595_232",Cke="_mpCompact_31595_236",Nke="_compactItemWrapper_31595_252",jke="_mpSummaryRoot_31595_265",Ske="_mpSummaryInner_31595_269",$ke="_mpSummaryFlex_31595_284",qke="_mpSummaryCardWrapperHorizontal_31595_292",Ake="_mpSummaryCardWrapper_31595_292",zke="_mpSummaryCardHorizontal_31595_303",Vke="_mpSummaryCard_31595_292",Pke="_mpSummaryValue_31595_321",Tke="_mpSummaryLabel_31595_327",Hke="_mpSummaryBadge_31595_338",Dke="_mpSummaryBadgeSub_31595_357",Bke="_mpEmpty_31595_365",Rke="_mpSummaryVertical_31595_372",Fke="_mpIconSquare_31595_380",X={mpRoot:cke,mpHeader:ike,mpTitle:rke,mpList:ske,mpVertical:dke,mpHorizontal:lke,mpItem:hke,mpClickable:uke,mpLeft:pke,mpIcon:yke,mpMeta:kke,mpLabel:mke,mpDate:fke,mpRight:gke,mpValue:vke,mpHint:Mke,mpBadge:xke,mpBadgeTop:_ke,mpBadgeSub:Lke,mpBadgeSmall:Ike,mpPill:bke,mpRounded:wke,mpCompact:Cke,compactItemWrapper:Nke,mpSummaryRoot:jke,mpSummaryInner:Ske,mpSummaryFlex:$ke,mpSummaryCardWrapperHorizontal:qke,mpSummaryCardWrapper:Ake,mpSummaryCardHorizontal:zke,mpSummaryCard:Vke,mpSummaryValue:Pke,mpSummaryLabel:Tke,mpSummaryBadge:Hke,mpSummaryBadgeSub:Dke,mpEmpty:Bke,mpSummaryVertical:Rke,mpIconSquare:Fke},At=(e,t=1)=>{if(!e||typeof e!="string")return`rgba(124, 58, 237, ${t})`;const n=e.trim();if(n.toLowerCase()==="transparent")return"rgba(0,0,0,0)";if(/^rgba?\(/i.test(n))return/^rgba\(/i.test(n)?n.replace(/rgba\(([^)]+),\s*([0-9.]+)\s*\)$/,(d,h)=>`rgba(${h.split(",").map(u=>u.trim()).slice(0,3).join(", ")}, ${t})`):n;let c=n.replace("#","").toLowerCase();if(c.length===3&&(c=c.split("").map(d=>d+d).join("")),!/^[0-9a-f]{6}$/i.test(c))return`rgba(124, 58, 237, ${t})`;const i=parseInt(c.slice(0,2),16),r=parseInt(c.slice(2,4),16),s=parseInt(c.slice(4,6),16);return`rgba(${i}, ${r}, ${s}, ${t})`},Eke=({item:e,shape:t,onItemClick:n,color:c,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[X.mpItem,t==="pill"?X.mpPill:X.mpRounded,n?X.mpClickable:""].filter(Boolean).join(" ");if(i)return o.jsx("div",{className:s,role:n?"button":"group",tabIndex:n?0:-1,onClick:r,onKeyDown:y=>{n&&(y.key==="Enter"||y.key===" ")&&(n(e),y.preventDefault())},"aria-label":n?`Voir les détails de ${e.label}`:void 0,children:i(e)});const d=n?"button":"div",h=n?{onClick:r,className:s,type:"button","aria-label":`Voir les détails de ${e.label}`}:{className:s,role:"group"},l=e.iconComponent,u=e.iconSquareBg,p=e.iconColor;return o.jsxs(d,{...h,children:[o.jsxs("div",{className:X.mpLeft,children:[l?o.jsx("div",{className:X.mpIconSquare,style:{background:u??At(p??c??"#7c3aed",1),border:`1px solid ${At(p??c??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(l,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?o.jsx("div",{className:X.mpIcon,children:e.icon}):null,o.jsxs("div",{className:X.mpMeta,children:[o.jsx("div",{className:X.mpLabel,children:e.label}),e.subLabel&&o.jsx("div",{className:X.mpDate,children:e.subLabel}),e.date&&o.jsx("div",{className:X.mpDate,children:e.date})]})]}),o.jsxs("div",{className:X.mpRight,children:[o.jsx("div",{className:X.mpValue,style:{color:e.valueColor??c??void 0},children:e.value}),e.badge?o.jsxs("div",{className:[X.mpBadge,e.badge.small?X.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??At(e.badge.color||c||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":At(e.badge.color||c||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[o.jsx("div",{className:X.mpBadgeTop,children:e.badge.text}),e.badge.subText&&o.jsx("div",{className:X.mpBadgeSub,children:e.badge.subText})]}):e.hint?o.jsx("div",{className:X.mpHint,children:e.hint}):null]})]})},Oke=k.memo(Eke),kS=({title:e,right:t})=>!e&&!t?null:o.jsxs("div",{className:X.mpHeader,children:[o.jsx("div",{className:X.mpTitle,children:e}),o.jsx("div",{children:t})]}),mS=(e,t=1)=>{try{return At(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Uke=({item:e})=>o.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:14,borderRadius:12,minHeight:88,boxSizing:"border-box",background:e.bgColor??"transparent",border:`1px solid ${e.borderColor??"transparent"}`,boxShadow:"0 4px 10px rgba(15,23,42,0.03)"},children:[o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[o.jsx("div",{style:{fontSize:13,fontWeight:700,color:"#475569"},children:e.label}),o.jsx("div",{style:{fontSize:26,fontWeight:900,color:"#0f172a",lineHeight:1},children:e.value})]}),o.jsx("div",{title:String(e.label),style:{display:"flex",alignItems:"center",justifyContent:"center",width:48,height:48,borderRadius:10,background:e.iconSquareBg??mS("#7c3aed",.12),border:`1px solid ${mS(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),Wke=({item:e,bg:t,onClick:n,width:c,height:i,extraStyle:r})=>o.jsxs("div",{className:X.mpSummaryCard,style:{background:t,width:c??void 0,height:i??void 0,...r??{}},role:n?"button":"group",tabIndex:n?0:-1,onClick:()=>n?.(e),children:[o.jsx("div",{className:X.mpSummaryLabel,children:e.label}),o.jsx("div",{className:X.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&o.jsxs("div",{className:X.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:X.mpSummaryBadgeSub,children:e.badge.subText})]})]}),fS=(e,t=1)=>{try{return At(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},gS=e=>o.jsxs("div",{style:{display:"grid",gridTemplateRows:"auto 1fr",width:"100%",gap:8,alignItems:"center",boxSizing:"border-box",minWidth:0},children:[o.jsxs("div",{style:{display:"flex",justifyContent:"space-between-left",alignItems:"baseline",gap:10,width:"100%"},children:[o.jsx("div",{style:{fontWeight:700,fontSize:"clamp(14px, 1.2vw, 16px)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0},children:e.label}),e.subLabel?o.jsx("div",{style:{fontSize:"clamp(13px, 1.1vw, 15px)",fontWeight:600,whiteSpace:"nowrap"},children:e.subLabel}):null]}),o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:15,width:"100%"},children:[o.jsx("div",{style:{fontWeight:900,fontSize:"clamp(16px, 1.6vw, 20px)",color:e.valueColor,lineHeight:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.value}),e.badge?o.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"8px 12px",borderRadius:10,backgroundColor:e.badge.bg?e.badge.bg:fS("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:fS("#7c3aed",.12)}`,color:e.badge.textColor||"#0f172a",fontWeight:700,fontSize:"clamp(12px, 1.2vw, 14px)",width:"120px",height:"52px",textAlign:"center",boxSizing:"border-box",overflow:"hidden",boxShadow:"0 2px 4px rgba(0,0,0,0.1)",lineHeight:1.2,flexShrink:0},children:[o.jsx("div",{style:{fontSize:14,fontWeight:800,lineHeight:1.2,letterSpacing:"0.02em",width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.badge.text}),e.badge.subText?o.jsx("div",{style:{fontSize:13,marginTop:4,fontWeight:700,letterSpacing:"0.01em",width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.badge.subText}):null]}):null]})]}),vS=(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}},Gke=e=>{switch(e){case"image":return t=>k.createElement(Uke,{item:t});case"pertinence":return t=>k.createElement(Wke,{item:t});case"alternateHorizontal":return t=>vS(gS,t);case"compact":return t=>vS(gS,t);case"summary":return;case"default":default:return}},iA=({item:e,orientation:t,bg:n,border:c,valueColor:i,onClick:r,width:s,height:d,extraStyle:h})=>{const u=t==="horizontal"?X.mpSummaryCardHorizontal:X.mpSummaryCard;return o.jsxs("div",{className:u,style:{background:n,border:`1px solid ${c}`,width:s??void 0,height:d??void 0,...h??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&o.jsxs("div",{className:X.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:X.mpSummaryBadgeSub,children:e.badge.subText})]}),o.jsx("div",{className:X.mpSummaryValue,style:{color:i},children:e.value}),o.jsx("div",{className:X.mpSummaryLabel,children:e.label})]})},Kke=["transparent","transparent","transparent","transparent"],Zke=["transparent","transparent","transparent","transparent"],Xke=["#059669","#2563eb","#b45309","#7c3aed"],Yke=(e,t=1)=>{try{return At(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},rA=e=>{const{items:t=[],layout:n="vertical",orientation:c="auto",shape:i="rounded",color:r="#7c3aed",compact:s=!1,title:d,onItemClick:h,className:l="",loading:u=!1,emptyMessage:p="Aucun élément",renderItem:y,summary:g=!1,summaryBgColors:f=Kke,summaryBorderColors:m=Zke,summaryValueColors:M=Xke,preset:x,background:v}=e,{itemsContainerStyle:L,itemsContainerClassName:w,summaryGridColumns:C,compactItemWidth:b,compactItemHeight:_,compactItemStyle:I,summaryCardWidth:$,summaryCardHeight:N,summaryCardStyle:S}=e,A=n==="vertical",D={"--mp-accent":r,"--mp-accent-soft":Yke(r,.08),"--mp-bg-primary":v},H=[X.mpRoot,A?X.mpVertical:X.mpHorizontal,s?X.mpCompact:"",g?X.mpSummaryRoot:"",c!=="auto"?c==="vertical"?X.mpOrientationVertical:X.mpOrientationHorizontal:"",l].filter(Boolean).join(" "),P=k.useMemo(()=>y||(Gke(x)??void 0),[y,x]);if(g){const j=c==="horizontal"?X.mpSummaryFlex:X.mpSummaryVertical,T={...(C?{display:"grid",gridTemplateColumns:`repeat(${C}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...L??{}};return o.jsxs("div",{className:H,style:D,"aria-busy":u,children:[d&&o.jsx(kS,{title:d}),o.jsx("div",{className:X.mpSummaryInner,children:o.jsx("div",{className:`${j} ${w??""}`,style:T,children:t.length===0?o.jsx("div",{className:X.mpEmpty,children:p}):t.map((R,z)=>{const F=R.bgColor??f[z%f.length],K=R.borderColor??m[z%m.length],te=R.valueColor??M[z%M.length];return P?o.jsx("div",{className:c==="horizontal"?X.mpSummaryCardWrapperHorizontal:X.mpSummaryCardWrapper,style:{width:$??void 0,height:N??void 0,...S??{}},children:P(R,z)},R.id):o.jsx(iA,{item:R,orientation:c==="horizontal"?"horizontal":"vertical",bg:F,border:K,valueColor:te,onClick:h,width:$??void 0,height:N??void 0,extraStyle:S},R.id)})})})]})}return o.jsxs("div",{className:H,style:D,"aria-busy":u,children:[d&&o.jsx(kS,{title:d}),o.jsx("div",{className:X.mpList,style:L,children:u?o.jsx("div",{className:X.mpEmpty,children:"Chargement…"}):t.length===0?o.jsx("div",{className:X.mpEmpty,children:p}):t.map(j=>{const q=s?{width:b??void 0,height:_??void 0,boxSizing:"border-box",...I??{}}:void 0;return o.jsx("div",{className:s?X.compactItemWrapper:void 0,style:q,children:o.jsx(Oke,{item:j,shape:i,onItemClick:h,color:r,renderItem:P?T=>P(T,t.indexOf(T)):void 0})},j.id)})})]})};k.memo(rA);const Jke=({a11yConfig:e,width:t,height:n,colors:c={text:"#0b1220",background:"#fff",contentBackground:"#efeff0"},titles:i={},placeholder:r="Loading Chart",style:s,className:d="",children:h,padding:l="1rem",variant:u="default",showBorder:p=!1,titleKey:y,leftTitleKey:g})=>{const f=t?typeof t=="number"?`${t}px`:t:void 0,m=n?typeof n=="number"?`${n}px`:n:void 0,M=r&&typeof r=="object"&&!k.isValidElement(r)&&("text"in r||"subtext"in r||"icon"in r||"background"in r||"iconSize"in r),x=M?r:void 0,v=x?.icon?Mt[x.icon]:void 0,L=28,w=x?.iconSize??L,C=["chart-container",`variant-${u}`,p?"with-border":"",d].filter(Boolean).join(" "),b=c.contentBackground??void 0,_=typeof l=="number"?`${l}px`:l;return o.jsxs("div",{className:C,style:{width:f,height:m,color:c.text,background:c.background,display:"flex",flexDirection:"column",boxSizing:"border-box",padding:_,...s},children:[o.jsxs("div",{className:"chart-header",children:[o.jsxs("div",{title:Q(e,g||y),className:"chart-title-left",style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.left,i.leftSubtitle&&o.jsx("div",{className:"chart-subtitle-left",children:i.leftSubtitle})]}),o.jsx("div",{className:"chart-title-right",children:i.right})]}),o.jsx("div",{className:"chart-content",style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",background:b},children:h||(M&&x?o.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[v&&o.jsx("div",{className:"placeholder-icon",style:{width:w,height:w},children:o.jsx(v,{color:x.iconColor??"currentColor",size:typeof w=="number"?w:parseInt(String(w),10)||L})}),x.text&&o.jsx("div",{className:"placeholder-text",children:x.text}),x.subtext&&o.jsx("div",{className:"placeholder-subtext",children:x.subtext})]}):o.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:r}))})]})},Yw=({id:e,size:t="100%",background:n,icon:c,text:i,subtext:r,onClose:s,onClick:d,style:h,className:l="",colorTextPrimary:u,colorTextSub:p,model:y,fontSize:g,fontWeight:f,a11yConfig:m,titleKey:M})=>{const x=c||y?.icon,v=typeof x=="string",L=v?Mt[x]:null,w=v?null:x;return o.jsxs("div",{id:e,className:`alert ${l}`,style:{width:typeof t=="number"?`${t}px`:t,background:n||y?.background,pointerEvents:"auto",...h},role:"alert",onClick:d,title:Q(m,M),children:[L&&o.jsx(L,{className:"alert-icon",size:20,color:u||y?.colorTextPrimary}),w!=null&&o.jsx("span",{className:"alert-icon",style:{display:"flex",alignItems:"center",color:u||y?.colorTextPrimary,flexShrink:0},children:w}),o.jsxs("div",{className:"alert-content",children:[o.jsx("span",{className:"alert-text",style:{color:u||y?.colorTextPrimary,fontSize:g,fontWeight:f},children:i}),r&&o.jsx("span",{className:"alert-subtext",style:{color:p||y?.colorTextSub},children:r})]}),s&&o.jsx("button",{className:"alert-close",onClick:s,"aria-label":"Fermer",children:"✕"})]})},sA=k.createContext(null),Qke=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,e3e=({children:e,defaultDuration:t=4e3,maxAlerts:n,containerClassName:c,containerStyle:i})=>{const[r,s]=k.useState([]),d=k.useRef(new Map),h=k.useRef(null),l=k.useRef(null),u=k.useRef(n);k.useEffect(()=>()=>{d.current.forEach(_=>window.clearTimeout(_)),d.current.clear()},[]);const p=(_,I)=>{const $=I===void 0||I===0?t:I;if($===-1)return;const N=window.setTimeout(()=>{f(_)},$);d.current.set(_,N)},y=_=>{const I=d.current.get(_);I&&(window.clearTimeout(I),d.current.delete(_))},g=_=>{const I=Qke(),$={..._,id:I,createdAt:Date.now()};return s(N=>{const S=[$,...N],A=u.current;return typeof A=="number"&&A>=0&&S.length>A?(S.slice(A).forEach(H=>y(H.id)),S.slice(0,A)):S}),p(I,_.duration),I},f=_=>{y(_),s(I=>I.filter($=>$.id!==_))},m=(_,I)=>{s($=>$.map(N=>N.id===_?{...N,...I}:N))},M=()=>{d.current.forEach(_=>window.clearTimeout(_)),d.current.clear(),s([])},x=_=>{l.current=_},v=()=>r.slice(),L=k.useMemo(()=>({showAlert:g,dismissAlert:f,updateAlert:m,clearAlerts:M,setContainerRef:x,getAlertsSnapshot:v}),[r]),w=l.current,C=o.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,display:"flex",flexDirection:"column",alignItems:"center",pointerEvents:"none",zIndex:10001,padding:"8px 4px"},children:o.jsx(T0e,{mode:"popLayout",children:r.map(_=>o.jsx(Ww.div,{initial:{opacity:0,y:-10,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.98},transition:{type:"spring",damping:25,stiffness:300},style:{width:"100%",pointerEvents:"auto",boxShadow:"0 6px 20px rgba(0, 0, 0, 0.12)",borderRadius:"8px",marginBottom:"6px",backgroundColor:_.background||_.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:o.jsx(Yw,{id:_.id,text:_.text,subtext:_.subtext,icon:_.icon,background:"transparent",colorTextPrimary:_.colorTextPrimary,colorTextSub:_.colorTextSub,model:_.model,onClose:()=>f(_.id),size:"100%",style:{boxShadow:"none"}})},_.id))})}),b=o.jsx("div",{ref:_=>{l.current||(h.current=_)},className:c,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:C});return o.jsxs(sA.Provider,{value:L,children:[w?uw.createPortal(C,w):b,e]})},t3e=()=>{const e=k.useContext(sA);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},a3e={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"}},n3e="_container_18zbo_1",o3e="_icon_18zbo_9",c3e="_selectWrapper_18zbo_23",Vb={container:n3e,icon:o3e,selectWrapper:c3e},i3e=({options:e,defaultValue:t,onChange:n,label:c})=>{const[i,r]=k.useState(t||e[0]?.value||""),s=d=>{r(d),n?.(d)};return o.jsxs("div",{className:Vb.container,children:[o.jsxs("div",{className:Vb.icon,children:[o.jsx(b1,{size:18}),o.jsx("p",{children:c})]}),o.jsx("div",{className:Vb.selectWrapper,children:o.jsx(Gw,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},r3e=250,s3e=k.forwardRef(({title:e,subtitle:t,size:n="420px",beforeOpen:c,afterOpen:i,beforeClose:r,afterClose:s,style:d,className:h="",children:l,closeOnOverlayClick:u=!0,showCloseButton:p=!0},y)=>{const[g,f]=k.useState(!1),[m,M]=k.useState(!1),x=k.useRef(null),v=k.useRef(null),L=k.useRef(null),w=k.useRef(null);k.useEffect(()=>{const _=x.current;if(!_)return;const I=_.parentElement;return I?(window.getComputedStyle(I).position==="static"&&(I.setAttribute("data-scp-prev-position",I.style.position??""),I.style.position="relative",I.setAttribute("data-scp-position-changed","true")),()=>{if(I.getAttribute("data-scp-position-changed")==="true"){const N=I.getAttribute("data-scp-prev-position")??"";I.style.position=N,I.removeAttribute("data-scp-position-changed"),I.removeAttribute("data-scp-prev-position")}}):void 0},[]),k.useImperativeHandle(y,()=>({open:()=>{g||(c?.(),M(!1),f(!0))},close:()=>{g&&(r?.(),M(!1),f(!1))},toggle:()=>{g?(r?.(),M(!1),f(!1)):(c?.(),M(!1),f(!0))}}),[g,c,r]),k.useEffect(()=>{const _=v.current;w.current&&(window.clearTimeout(w.current),w.current=null);const I=$=>{if($.target===_&&!($.propertyName!=="transform"&&$.propertyName!=="opacity"))if(g){M(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}};return _&&(_.addEventListener("transitionend",I),w.current=window.setTimeout(()=>{if(g){M(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}},r3e+60)),g&&(L.current=document.activeElement),()=>{_&&_.removeEventListener("transitionend",I),w.current&&(window.clearTimeout(w.current),w.current=null)}},[g,i,s]),k.useEffect(()=>{const _=I=>{I.key==="Escape"&&g&&(r?.(),M(!1),f(!1))};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[g,r]);const C=()=>{u&&(r?.(),M(!1),f(!1))},b=typeof n=="number"?`${n}px`:n;return o.jsxs("div",{ref:x,className:`scp-inline-root ${g?"open":""}`,"aria-hidden":!g,children:[o.jsx("div",{className:`scp-overlay ${g?"visible":""}`,onMouseDown:C,role:"presentation"}),o.jsxs("aside",{className:`scp-panel ${g?"in":"out"} ${m?"interactive":""} ${h}`,style:{width:b,...d},ref:v,tabIndex:-1,role:"dialog","aria-label":e,children:[o.jsxs("div",{className:"scp-header",children:[o.jsxs("div",{children:[o.jsx("h3",{className:"scp-title",children:e}),t&&o.jsx("div",{className:"scp-subtitle",children:t})]}),p&&o.jsx("button",{className:"scp-close","aria-label":"Close",onClick:()=>{r?.(),M(!1),f(!1)},children:o.jsx(Xe,{size:18})})]}),o.jsx("div",{className:"scp-body",children:l})]})]})});function d3e(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 l3e="_container_1pfsp_1",h3e="_title_1pfsp_8",MS={container:l3e,title:h3e},u3e=({title:e,fontSize:t,barColor:n,className:c="",style:i={}})=>{const r={...i,"--title-font-size":t,"--bar-color":n};return o.jsx("div",{className:`${MS.container} ${c}`,style:r,children:o.jsx("h2",{className:MS.title,children:e})})},p3e="_modalOverlay_1878x_1",y3e="_modalContainer_1878x_16",k3e="_modalTitle_1878x_29",m3e="_modalInput_1878x_38",f3e="_modalTextarea_1878x_39",g3e="_modalActions_1878x_70",v3e="_cancelBtn_1878x_77",M3e="_saveBtn_1878x_99",x3e="_inputError_1878x_141",_3e="_inlineAlert_1878x_146",Qe={modalOverlay:p3e,modalContainer:y3e,modalTitle:k3e,modalInput:m3e,modalTextarea:f3e,modalActions:g3e,cancelBtn:v3e,saveBtn:M3e,inputError:x3e,inlineAlert:_3e},Tc=({isOpen:e,onClose:t,onSave:n,title:c="Ajouter un élément",fields:i,initialValues:r={},errorMessage:s="",disableSave:d,onFieldChange:h,confirmText:l="Valider",cancelText:u="Annuler"})=>{const[p,y]=k.useState({}),g=k.useRef(null),[f,m]=k.useState(!1),[M,x]=k.useState(!1),v=k.useRef(null);if(k.useEffect(()=>{if(!e)return;const _={};for(const I of i)_[I.name]=Object.prototype.hasOwnProperty.call(r,I.name)?r[I.name]:"";return y(_),requestAnimationFrame(()=>{g.current?.focus();const I=g.current;if(I&&typeof I.selectionStart=="number"){const $=String(I.value??"").length;I.setSelectionRange($,$)}}),()=>{v.current&&(window.clearTimeout(v.current),v.current=null)}},[e]),k.useEffect(()=>{s&&e?(x(!0),v.current&&(window.clearTimeout(v.current),v.current=null),v.current=window.setTimeout(()=>{x(!1),v.current=null},3e3)):(x(!1),v.current&&(window.clearTimeout(v.current),v.current=null))},[s,e]),!e)return null;const L=(_,I)=>{y($=>({...$,[_]:I})),h&&h(_,I)},w=async()=>{if(!Object.values(p).some(_=>_===""||_===void 0))try{m(!0);const _=await n(p);if(typeof _=="string"&&_==="duplicate-same"){m(!1);return}y({}),m(!1),t()}catch(_){console.error("AddItemModal onSave error:",_),m(!1),t()}},C=_=>{_.target===_.currentTarget&&t()},b=_=>_.stopPropagation();return o.jsx("div",{className:Qe.modalOverlay,onMouseDown:C,role:"dialog","aria-modal":"true",children:o.jsxs("div",{className:Qe.modalContainer,onMouseDown:b,onClick:b,children:[o.jsx("h2",{className:Qe.modalTitle,children:c}),i.map((_,I)=>{const $=p[_.name]??"",N=I===0&&!!s,S={name:_.name,placeholder:_.placeholder||_.label,value:String($),onChange:A=>L(_.name,A.target.value),className:_.type==="textarea"?`${Qe.modalTextarea} ${N?Qe.inputError:""}`:`${Qe.modalInput} ${N?Qe.inputError:""}`,tabIndex:0,disabled:f};return I===0&&(S.ref=A=>{g.current=A}),o.jsxs("div",{style:{marginBottom:8},children:[_.type==="textarea"?o.jsx("textarea",{rows:_.rows||4,...S}):o.jsx("input",{type:_.type||"text",...S}),I===0&&M&&s&&o.jsx("div",{style:{marginTop:8},children:o.jsx(Yw,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>x(!1),className:Qe.inlineAlert})})]},_.name)}),o.jsxs("div",{className:Qe.modalActions,children:[o.jsx("button",{className:Qe.cancelBtn,onClick:t,type:"button",disabled:f,children:u}),o.jsx("button",{className:Qe.saveBtn,onClick:w,type:"button",disabled:f||!!d,children:f?"En cours...":l})]})]})})},L3e=({title:e,keyCount:t,onAddKey:n,a11yConfig:c})=>{const[i,r]=k.useState(!1),s=d=>{const h=d.key;n&&h&&n(h)};return o.jsxs("div",{className:"header-container",children:[o.jsxs("div",{className:"header-info",children:[o.jsx("h1",{title:Q(c,e),children:e}),o.jsxs("p",{children:[t," clés"]})]}),o.jsxs("button",{onClick:()=>r(!0),className:"add-key-button",children:[o.jsx(Ac,{className:"add-key-icon"}),"Clé"]}),o.jsx(Tc,{isOpen:i,title:"Ajouter une clé",onClose:()=>r(!1),onSave:s,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},I3e=({modules:e,onEdit:t,onDelete:n,onAddModule:c,onSelectModule:i,addModalFields:r,addModalTitle:s})=>{const[d,h]=k.useState(!1),[l,u]=k.useState(null),[p,y]=k.useState(null),[g,f]=k.useState(!1),m=()=>h(!0),M=()=>h(!1),x=_=>{if(c){const I=_.code?.trim()||_.id?.trim(),$=_.title?.trim(),N=I||$||String(Date.now()),S=$||I||`Module ${N}`;c({id:N,title:S,subtitle:"",translations:{}})}M()},v=(_,I)=>{_.stopPropagation(),u(I)},L=()=>u(null),w=_=>{if(!l){L();return}const I={...l,title:_.title||l.title,subtitle:""};t&&t(I),L()},C=(_,I)=>{_.stopPropagation(),n&&n(I)},b=_=>{y(_.id),i&&i(_)};return g?o.jsx("div",{className:"module-sidebar collapsed",children:o.jsx(a1,{size:20,className:"menu-toggle",onClick:()=>f(!1)})}):o.jsxs("div",{className:"module-sidebar",children:[o.jsxs("div",{className:"sidebar-header",children:[o.jsxs("span",{className:"header-text",children:["Modules (",e.length,")"]}),o.jsxs("div",{className:"header-actions",children:[o.jsx(t1,{size:18,className:"header-folder",onClick:m}),o.jsx(a1,{size:18,className:"header-menu",onClick:()=>f(!0)})]})]}),o.jsx("hr",{className:"divider"}),o.jsx("div",{className:"module-list",children:e.map(_=>{const I=Object.keys(_.translations||{}).length,$=I>0||_.id===p;return o.jsxs("div",{className:`module-item ${_.id===p?"selected":""}`,onClick:()=>b(_),role:"button",tabIndex:0,onKeyDown:N=>{N.key==="Enter"&&b(_)},children:[o.jsxs("div",{className:"module-left",children:[o.jsx(S1,{size:16,className:"item-folder"}),o.jsxs("div",{className:"module-info",children:[o.jsxs("div",{className:"module-title",children:[_.title,$&&o.jsxs("span",{className:"count",children:[" ",I," "]})]}),_.subtitle?o.jsx("div",{className:"module-subtitle",children:_.subtitle}):null]})]}),o.jsxs("div",{className:"module-actions",children:[t&&o.jsx(n1,{onClick:N=>v(N,_),color:"#777",size:16}),n&&o.jsx(lt,{onClick:N=>C(N,_.id),color:"#777",size:16})]})]},_.id)})}),o.jsx(Tc,{isOpen:d,onClose:M,onSave:x,title:s||"Ajouter un module",fields:r&&r.length?r.map(_=>({name:_.name,label:_.label,type:_.type,placeholder:_.placeholder,rows:_.rows})):[{name:"title",label:"Titre",placeholder:"Titre du module"}]}),l&&o.jsx(Tc,{isOpen:!!l,onClose:L,onSave:w,title:"Éditer le module",initialValues:{title:l.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},dA=({placeholder:e="Rechercher une clé ou traduction...",value:t="",onChange:n,iconPosition:c="left",iconColor:i="#9ca3af",a11yConfig:r,className:s})=>o.jsxs("div",{className:`search-container icon-${c}`,title:Q(r,e),children:[o.jsx("div",{className:"search-icon-wrapper",children:o.jsx(A1,{className:"search-icon",color:i})}),o.jsx("input",{type:"text",placeholder:e,value:t,onChange:d=>n?.(d.target.value),className:`search-input ${s}`})]}),b3e=({keyName:e,translations:t,availableLanguages:n,onDeleteKey:c,onEditKey:i,onEditTranslation:r,onDeleteTranslation:s,onAddTranslation:d,draggable:h=!1,checkDuplicateLocal:l})=>{const[u,p]=k.useState(!1),[y,g]=k.useState(""),[f,m]=k.useState(null),[M,x]=k.useState(""),[v,L]=k.useState(""),[w,C]=k.useState(!1),[b,_]=k.useState(!1),[I,$]=k.useState(null),[N,S]=k.useState(!1),A=t.map(z=>z.language),D=n.filter(z=>!A.includes(z.code)),H=()=>{y&&v.trim()&&(d?.(e,y,v.trim()),g(""),L(""),p(!1))},P=(z,F)=>{m(z),x(F)},j=z=>{r?.(e,z,M),m(null),x("")},q=()=>{m(null),x("")},T=async z=>{const F=z.name?.trim();if(F){if($(null),S(!1),F===e||!i)return C(!1),"ok";try{const K=await i(e,F);if(typeof K=="string"&&K==="ok")C(!1),$(null);else{if(typeof K=="string"&&K==="duplicate-same")return $("Une clé existe déjà dans ce module."),S(!0),"duplicate-same";if(typeof K=="string"&&K==="duplicate-other")return C(!1),$(null),"duplicate-other";C(!1)}}catch(K){console.error("Erreur handleRenameSave:",K),$("Erreur lors du renommage.")}}},R=(z,F)=>{if(z!=="name")return;const K=F.trim();$(null),S(!1),K&&typeof l=="function"&&(l(K,e)?($("Une clé existe déjà dans ce module."),S(!0)):($(null),S(!1)))};return o.jsxs("div",{className:`translation-key ${b?"collapsed":"expanded"} ${h?"draggable":""}`,children:[o.jsxs("div",{className:"card-header",children:[o.jsxs("div",{className:"header-left",children:[o.jsx("button",{className:"collapse-button",onClick:()=>_(!b),title:b?"Déplier":"Replier",children:b?o.jsx(C1,{className:"collapse-icon"}):o.jsx(zt,{className:"collapse-icon"})}),o.jsx("h3",{className:"card-title",title:e,children:e})]}),o.jsxs("div",{className:"header-actions",children:[o.jsx("button",{className:"action-button",onClick:z=>{z.stopPropagation(),C(!0)},title:"Renommer la clé",children:o.jsx(ft,{className:"action-icon"})}),o.jsx("button",{onClick:z=>{z.stopPropagation(),c?.(e)},className:"action-button delete",title:"Supprimer la clé",children:o.jsx(lt,{className:"action-icon"})})]})]}),o.jsx("div",{className:`translations-container ${b?"":"expanded"}`,children:!h&&o.jsxs(o.Fragment,{children:[t.map(z=>o.jsxs("div",{className:"translation-row",children:[o.jsx("div",{className:"language-code",children:z.language}),o.jsx("div",{className:"translation-content",children:f===z.language?o.jsxs(o.Fragment,{children:[o.jsx("input",{type:"text",value:M,onChange:F=>x(F.target.value),className:"edit-input",autoFocus:!0,onKeyDown:F=>{F.key==="Enter"&&j(z.language),F.key==="Escape"&&q()}}),o.jsx("button",{onClick:()=>j(z.language),className:"save-button",disabled:!M.trim(),children:"Enregistrer"}),o.jsx("button",{onClick:q,className:"cancel-button",children:o.jsx(Xe,{className:"action-icon"})})]}):o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"translation-text",title:z.value,children:z.value}),o.jsx("button",{onClick:()=>P(z.language,z.value),className:"edit-button",title:"Éditer la traduction",children:o.jsx(ft,{className:"action-icon"})}),o.jsx("button",{onClick:()=>s?.(e,z.language),className:"delete-translation-button",title:"Supprimer la traduction",children:o.jsx(Xe,{className:"action-icon"})})]})})]},z.language)),u?o.jsxs("div",{className:"add-language-row",children:[o.jsx("div",{className:"language-code",children:"+"}),o.jsxs("div",{className:"add-language-content",children:[o.jsx("div",{className:"language-select-container",children:o.jsxs("select",{value:y,onChange:z=>g(z.target.value),className:"language-select",children:[o.jsx("option",{value:"",children:"Sélectionnez la langue"}),D.map(z=>o.jsxs("option",{value:z.code,children:[z.name," (",z.code,")"]},z.code))]})}),y&&o.jsx("input",{type:"text",value:v,onChange:z=>L(z.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:z=>{z.key==="Enter"&&H(),z.key==="Escape"&&(p(!1),g(""),L(""))}}),o.jsx("button",{onClick:H,disabled:!y||!v.trim(),className:"save-button",children:"Ajouter"}),o.jsx("button",{onClick:()=>{p(!1),g(""),L("")},className:"cancel-button",children:o.jsx(Xe,{className:"action-icon"})})]})]}):o.jsxs("button",{onClick:()=>p(!0),className:"show-add-button",disabled:D.length===0,children:[o.jsx("span",{className:"plus-icon",children:"+"}),"Ajouter une langue"]})]})}),h&&o.jsxs("div",{className:"drag-overlay",children:[o.jsx(a.Move,{size:24,strokeWidth:1.5}),o.jsx("span",{children:"Glisser pour réorganiser"})]}),o.jsx(Tc,{isOpen:w,onClose:()=>{C(!1),$(null),S(!1)},onSave:T,onFieldChange:R,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:I||"",disableSave:N})]})},w3e="_wrapper_1wvht_1",C3e="_leftGroup_1wvht_12",N3e="_filterButton_1wvht_21",j3e="_open_1wvht_42",S3e="_filterIcon_1wvht_42",$3e="_infoText_1wvht_58",q3e="_pickerContainer_1wvht_66",A3e="_srOnly_1wvht_79",z3e="_pickerLabel_1wvht_91",V3e="_datetime_1wvht_98",P3e="_rightGroup_1wvht_107",T3e="_searchInputWrap_1wvht_116",H3e="_searchInput_1wvht_116",D3e="_searchIcon_1wvht_152",Te={wrapper:w3e,leftGroup:C3e,filterButton:N3e,open:j3e,filterIcon:S3e,infoText:$3e,pickerContainer:q3e,srOnly:A3e,pickerLabel:z3e,datetime:V3e,rightGroup:P3e,searchInputWrap:T3e,searchInput:H3e,searchIcon:D3e};function B3e({onDateChange:e,onSearch:t,initialDate:n}){const[c,i]=k.useState(!1),[r,s]=k.useState(n??""),d=k.useRef(null);k.useEffect(()=>{function p(y){const g=y.target;d.current&&g&&!d.current.contains(g)&&i(!1)}return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),k.useEffect(()=>{n&&s(n)},[n]);const h=()=>i(p=>!p),l=p=>{const y=p.target.value;s(y),e?.(y)},u=p=>{t?.(p.target.value)};return o.jsxs("div",{className:Te.wrapper,ref:d,children:[o.jsxs("div",{className:Te.leftGroup,children:[o.jsxs("button",{type:"button",className:`${Te.filterButton} ${c?Te.open:""}`,onClick:h,"aria-expanded":c,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[o.jsx("span",{children:"Entry time"}),o.jsx("svg",{className:Te.filterIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"14",height:"14","aria-hidden":!0,children:o.jsx("path",{fill:"currentColor",d:"M10 18h4v-2h-4v2zm-7-8v2h18V10H3zm3-6v2h12V4H6z"})})]}),o.jsx("div",{className:Te.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),c&&o.jsxs("div",{className:Te.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[o.jsx("label",{className:Te.pickerLabel,htmlFor:"entry-datetime",children:o.jsx("span",{className:Te.srOnly,children:"Choisir la date et l’heure"})}),o.jsx("input",{id:"entry-datetime",className:Te.datetime,type:"datetime-local",value:r,onChange:l,"aria-label":"Date et heure d’entrée"})]})]}),o.jsx("div",{className:Te.rightGroup,children:o.jsxs("div",{className:Te.searchInputWrap,children:[o.jsx("input",{className:Te.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),o.jsx("svg",{className:Te.searchIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16","aria-hidden":!0,children:o.jsx("path",{fill:"currentColor",d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16a6.471 6.471 0 004.23-1.57l.27.28v.79L20 20.49 21.49 19l-5.99-5zM10 15.5A5.5 5.5 0 1115.5 10 5.5 5.5 0 0110 15.5z"})})]})})]})}const R3e=({className:e="",style:t={},title:n,titleClassName:c="",titleStyle:i,data:r,lineClasses:s={},renderCell:d,bg:h,titleBg:l,titleColor:u,itemBg:p,emptyContent:y,colGap:g="1rem"})=>{const f=Array.isArray(r)?r:[],m=f.length===0,M=f.every(w=>typeof w=="string"),x=f.some(w=>Array.isArray(w)),v=(w,C,b)=>d?d(w,C,b):o.jsx("span",{className:"slb-cell-text",children:w}),L=g?{"--col-gap":g}:void 0;return m?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:h??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{...i,background:l??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-empty",children:y??null})]}):M&&!x?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:h??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:l??void 0,color:u??void 0},children:n}),o.jsx("ul",{className:"slb-list",children:f.map((w,C)=>o.jsx("li",{className:`slb-item ${s[C]||""}`,style:{background:p??void 0},children:v(w,C,0)},C))})]}):o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:h??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:l??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-grid",style:L,children:f.map((w,C)=>{const b=s[C]||"";if(Array.isArray(w)){const[_,I]=w;return o.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[o.jsx("div",{className:"slb-grid-left",children:v(_,C,0)}),o.jsx("div",{className:"slb-grid-right",children:v(I,C,1)})]},C)}return o.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[o.jsx("div",{className:"slb-grid-left",children:v(w,C,0)}),o.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},C)})})]})},F3e=({className:e="",style:t={},title:n,titleColor:c,data:i=[],badgeColor:r="#0ea5e9",badgeColors:s={},badgePadding:d="8px 16px",badgeWidth:h,itemBg:l,lineClasses:u={},colGap:p="1rem"})=>{const y=i.some(f=>Array.isArray(f)),g=p?{"--col-gap":p}:void 0;return o.jsxs("div",{className:`clb-root ${e}`,style:{...t},children:[n&&o.jsx("div",{className:"clb-title",style:c?{color:c}:void 0,children:n}),o.jsx("div",{className:"clb-grid",style:g,children:i.map((f,m)=>{const M=u[m]||"";if(Array.isArray(f)){const[x,v]=f,L=s[m]||r;return o.jsxs("div",{className:`clb-row ${M}`,style:{background:l??void 0},children:[o.jsx("div",{className:"clb-badge-col",children:o.jsx("div",{className:"counter-badge",style:{background:L,padding:d,width:h,minWidth:h},children:x})}),o.jsx("div",{className:"clb-text",children:v})]},m)}return y?o.jsxs("div",{className:`clb-row ${M}`,style:{background:l??void 0},children:[o.jsx("div",{className:"clb-badge-col clb-empty-badge"}),o.jsx("div",{className:"clb-text",children:f})]},m):o.jsx("div",{className:`clb-fullrow ${M}`,style:{background:l??void 0},children:o.jsx("span",{children:f})},m)})})]})},E3e=({className:e="",style:t={},title:n,items:c=[],titleBg:i,titleColor:r,itemBg:s,lineClasses:d={},renderTrendIcon:h,colGap:l="1rem"})=>{const u=l?{"--col-gap":l}:void 0;return o.jsxs("div",{className:`tlb-root ${e}`,style:{...t,background:s??void 0},children:[n&&o.jsx("div",{className:"tlb-title",style:{background:i??void 0,color:r??void 0},children:n}),o.jsx("div",{className:"tlb-grid",style:u,children:c.map((p,y)=>{const g=d[y]||"";return o.jsxs("div",{className:`tlb-row ${g}`,style:{background:s??void 0},children:[o.jsx("div",{className:"tlb-label",children:p.label}),o.jsxs("div",{className:"tlb-value-group",children:[o.jsx("div",{className:"tlb-icon-col",children:h?h(p):p.icon??null}),o.jsxs("div",{className:"tlb-value-wrap",children:[o.jsx("div",{className:"tlb-value",children:p.value}),typeof p.delta<"u"&&o.jsx("div",{className:`tlb-delta ${p.delta>0?"positive":p.delta<0?"negative":"neutral"}`,children:p.deltaLabel??String(p.delta)})]})]})]},y)})})]})},O3e=({className:e="",style:t={},children:n,gap:c="1rem"})=>o.jsx("div",{className:`frc-root ${e}`,style:{...t,"--frc-gap":c},children:k.Children.map(n,i=>o.jsx("div",{className:"frc-item",children:i}))}),U3e=({className:e="",style:t={},children:n,gap:c="1rem",background:i="#D9EEF5"})=>o.jsx("div",{className:`lcc-root ${e}`,style:{background:i,...t,"--lcc-gap":c},children:k.Children.map(n,r=>o.jsx("div",{className:"lcc-cell",children:r}))}),W3e="_overlay_3x4or_2",G3e="_fadeIn_3x4or_1",K3e="_popup_3x4or_17",Z3e="_slideUp_3x4or_1",X3e="_header_3x4or_28",Y3e="_body_3x4or_40",J3e="_footer_3x4or_51",Q3e="_cancelButton_3x4or_59",eme="_confirmButton_3x4or_77",tme="_warning_3x4or_97",ame="_danger_3x4or_106",nme="_info_3x4or_115",bt={overlay:W3e,fadeIn:G3e,popup:K3e,slideUp:Z3e,header:X3e,body:Y3e,footer:J3e,cancelButton:Q3e,confirmButton:eme,warning:tme,danger:ame,info:nme},ome=({isOpen:e,title:t,message:n,onConfirm:c,onCancel:i,confirmText:r="Confirmer",cancelText:s="Annuler",type:d="warning"})=>{if(!e)return null;const h=u=>{u.target===u.currentTarget&&i()},l=u=>{u.key==="Escape"&&i(),u.key==="Enter"&&u.ctrlKey&&c()};return o.jsx("div",{className:bt.overlay,onClick:h,onKeyDown:l,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:o.jsxs("div",{className:`${bt.popup} ${bt[d]}`,children:[o.jsx("div",{className:bt.header,children:o.jsx("h3",{id:"confirmation-title",children:t})}),o.jsx("div",{className:bt.body,children:o.jsx("p",{id:"confirmation-message",children:n})}),o.jsxs("div",{className:bt.footer,children:[o.jsx("button",{className:bt.cancelButton,onClick:i,type:"button",children:s}),o.jsx("button",{className:bt.confirmButton,onClick:c,type:"button",autoFocus:!0,children:r})]})]})})},cme=()=>{const[e,t]=k.useState({isOpen:!1,title:"",message:"",onConfirm:null}),n=k.useCallback((r,s,d)=>{t({isOpen:!0,title:r,message:s,onConfirm:d})},[]),c=k.useCallback(()=>{t(r=>({...r,isOpen:!1,onConfirm:null}))},[]),i=k.useCallback(()=>{e.onConfirm?.(),c()},[e.onConfirm,c]);return{isOpen:e.isOpen,title:e.title,message:e.message,showConfirmation:n,hideConfirmation:c,handleConfirm:i}},ime="_container_1l44m_1",rme="_selectButton_1l44m_7",sme="_disabled_1l44m_22",dme="_error_1l44m_39",lme="_outline_1l44m_52",hme="_filled_1l44m_58",ume="_sm_1l44m_67",pme="_md_1l44m_73",yme="_lg_1l44m_79",kme="_buttonContent_1l44m_85",mme="_label_1l44m_93",fme="_placeholder_1l44m_103",gme="_iconsContainer_1l44m_108",vme="_loadingSpinner_1l44m_115",Mme="_spin_1l44m_1",xme="_arrowIcon_1l44m_133",_me="_arrowIconOpen_1l44m_141",Lme="_dropdown_1l44m_146",Ime="_dropdownIn_1l44m_1",bme="_searchContainer_1l44m_171",wme="_searchInputWrapper_1l44m_177",Cme="_searchIcon_1l44m_183",Nme="_searchInput_1l44m_177",jme="_optionsList_1l44m_208",Sme="_noResults_1l44m_231",$me="_option_1l44m_208",qme="_optionHighlighted_1l44m_261",Ame="_optionSelected_1l44m_266",zme="_optionDisabled_1l44m_277",Vme="_optionLabel_1l44m_283",Pme="_checkIcon_1l44m_291",Tme="_widthFull_1l44m_299",Hme="_width64_1l44m_302",Dme="_width80_1l44m_305",Bme="_width96_1l44m_308",de={container:ime,selectButton:rme,disabled:sme,error:dme,default:"_default_1l44m_48",outline:lme,filled:hme,sm:ume,md:pme,lg:yme,buttonContent:kme,label:mme,placeholder:fme,iconsContainer:gme,loadingSpinner:vme,spin:Mme,arrowIcon:xme,arrowIconOpen:_me,dropdown:Lme,dropdownIn:Ime,searchContainer:bme,searchInputWrapper:wme,searchIcon:Cme,searchInput:Nme,optionsList:jme,noResults:Sme,option:$me,optionHighlighted:qme,optionSelected:Ame,optionDisabled:zme,optionLabel:Vme,checkIcon:Pme,widthFull:Tme,width64:Hme,width80:Dme,width96:Bme},Rme=({options:e,value:t,onChange:n,placeholder:c="Sélectionner une option...",disabled:i=!1,loading:r=!1,error:s=!1,className:d="",size:h="md",variant:l="default",width:u="w-full"})=>{const[p,y]=k.useState(!1),[g,f]=k.useState(""),[m,M]=k.useState(0),[x,v]=k.useState({top:0,left:0,width:0}),L=k.useRef(null),w=k.useRef(null),C=k.useRef(null),b=k.useMemo(()=>g?e.filter(j=>j.label.toLowerCase().includes(g.toLowerCase())):e,[e,g]),_=e.find(j=>j.value===t),I=k.useCallback(()=>{if(L.current){const j=L.current.getBoundingClientRect();v({top:j.top,left:j.left,width:j.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 j=q=>{L.current&&!L.current.contains(q.target)&&w.current&&!w.current.contains(q.target)&&(y(!1),f(""))};return document.addEventListener("mousedown",j),()=>document.removeEventListener("mousedown",j)},[]),k.useEffect(()=>{M(0)},[b]);const $=j=>{j.disabled||(n?.(j.value,j),y(!1),f(""))},N=j=>{f(j.target.value),p||y(!0)},S=j=>{if(!p){(j.key==="ArrowDown"||j.key==="Enter")&&y(!0);return}switch(j.key){case"ArrowDown":j.preventDefault(),M(q=>q<b.length-1?q+1:q);break;case"ArrowUp":j.preventDefault(),M(q=>q>0?q-1:q);break;case"Enter":j.preventDefault(),b[m]&&$(b[m]);break;case"Escape":y(!1),f("");break}},A=()=>[de.selectButton,de[h],de[l],i?de.disabled:"",s?de.error:"",d].filter(Boolean).join(" "),D=()=>{switch(u){case"w-64":return de.width64;case"w-80":return de.width80;case"w-96":return de.width96;default:return de.widthFull}},H=(j,q)=>[de.option,q===m?de.optionHighlighted:"",j.value===t?de.optionSelected:"",j.disabled?de.optionDisabled:""].filter(Boolean).join(" "),P={position:"fixed",top:x.top+(L.current?.offsetHeight||0)+4,left:x.left,width:x.width,zIndex:9999};return o.jsxs("div",{className:`${de.container} ${D()}`,children:[o.jsx("button",{ref:L,className:A(),onClick:()=>!i&&y(!p),onKeyDown:S,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":p,disabled:i,children:o.jsxs("div",{className:de.buttonContent,children:[o.jsx("span",{className:`${de.label} ${_?"":de.placeholder}`,children:_?_.label:c}),o.jsxs("div",{className:de.iconsContainer,children:[r&&o.jsx("div",{className:de.loadingSpinner}),o.jsx("svg",{className:`${de.arrowIcon} ${p?de.arrowIconOpen:""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})]})}),p&&uw.createPortal(o.jsxs("div",{className:`${de.dropdown} ${D()}`,style:P,ref:w,children:[o.jsx("div",{className:de.searchContainer,children:o.jsxs("div",{className:de.searchInputWrapper,children:[o.jsx("svg",{className:de.searchIcon,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),o.jsx("input",{ref:C,type:"text",value:g,onChange:N,placeholder:"Rechercher...",className:de.searchInput,autoFocus:!0})]})}),o.jsx("div",{className:de.optionsList,children:b.length===0?o.jsx("div",{className:de.noResults,children:"Aucun résultat trouvé"}):o.jsx("ul",{role:"listbox",children:b.map((j,q)=>o.jsx("li",{className:H(j,q),onClick:()=>$(j),onMouseEnter:()=>M(q),role:"option","aria-selected":j.value===t,"aria-disabled":j.disabled,children:o.jsxs("div",{className:de.buttonContent,children:[o.jsx("span",{className:de.optionLabel,title:j.label,children:j.label}),j.value===t&&o.jsx("svg",{className:de.checkIcon,fill:"currentColor",viewBox:"0 0 20 20",children:o.jsx("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})]})},j.value))})})]}),document.body)]})},Fme="_container_uq7pt_1",Eme="_item_uq7pt_7",Ome="_mainValue_uq7pt_13",Ume="_label_uq7pt_17",Wme="_subValue_uq7pt_22",Gme="_subValueWrapper_uq7pt_27",Kme="_subSeparator_uq7pt_32",Ge={container:Fme,item:Eme,mainValue:Ome,label:Ume,subValue:Wme,subValueWrapper:Gme,subSeparator:Kme},Zme=({dms:e,stats:t=[],itemWidth:n="120px",valueFontSize:c="28px",valueFontWeight:i=700,subFontSize:r="16px",subFontWeight:s=600,backgroundColor:d="#ffffff",labelColor:h="#6b7280",valueColor:l="#000000"})=>{const u=(p,y,g)=>{const[f,m]=p.split("/").map(M=>M.trim());return o.jsxs("span",{className:Ge.subValueWrapper,children:[o.jsx("span",{className:Ge.subLeft,style:{color:y},children:f}),o.jsx("span",{className:Ge.subSeparator,children:" / "}),o.jsx("span",{className:Ge.subRight,style:{color:g},children:m})]})};return o.jsxs("div",{className:Ge.container,style:{backgroundColor:d},children:[e&&o.jsxs("div",{className:Ge.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Ge.mainValue,style:{fontSize:c,fontWeight:i,color:l},children:e}),o.jsx("div",{className:Ge.label,style:{color:h},children:"DMS"})]}),t.map((p,y)=>o.jsxs("div",{className:Ge.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Ge.mainValue,style:{fontSize:c,fontWeight:i,color:l},children:p.value}),o.jsx("div",{className:Ge.label,style:{color:h},children:p.label}),o.jsx("div",{className:Ge.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},Xme="_encours_16ist_1",Yme="_header_16ist_19",Jme="_iconWrap_16ist_27",Qme="_title_16ist_36",e6e="_items_16ist_47",t6e="_spaceEvenly_16ist_56",a6e="_item_16ist_47",n6e="_valueContainer_16ist_86",o6e="_value_16ist_86",c6e="_label_16ist_108",ct={encours:Xme,header:Yme,iconWrap:Jme,title:Qme,items:e6e,spaceEvenly:t6e,item:a6e,valueContainer:n6e,value:o6e,label:c6e},$c=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function i6e(e,t){const n={},c={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=$c(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=$c(t.defaultValueFontSize)),e.valueFontWeight!==void 0?n.fontWeight=e.valueFontWeight:t.defaultValueFontWeight!==void 0&&(n.fontWeight=t.defaultValueFontWeight),e.labelColor&&(c.color=e.labelColor),e.labelFontSize!==void 0?c.fontSize=$c(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(c.fontSize=$c(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?c.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(c.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:c}}function r6e(){return o.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[o.jsx("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"1.4"}),o.jsx("path",{d:"M8 12h8",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})]})}function s6e(e){const{title:t,titleColor:n,titleFontSize:c,titleFontWeight:i,icon:r,iconSize:s=18,iconColor:d,defaultValueFontSize:h,defaultValueFontWeight:l,defaultLabelFontSize:u,defaultLabelFontWeight:p,data:y,style:g,bg:f="#ffffff",width:m,gap:M,className:x,ariaLabel:v}=e,L=r?Mt[r]:void 0,w={background:f,width:$c(m),...g},C={};n&&(C.color=n),c!==void 0&&(C.fontSize=$c(c)),i!==void 0&&(C.fontWeight=i);const b={};return d&&(b.color=d),o.jsxs("section",{className:`${ct.encours} ${x??""}`,style:w,"aria-label":v??t,children:[o.jsxs("div",{className:ct.header,children:[o.jsx("div",{className:ct.iconWrap,"aria-hidden":!0,style:b,children:L?o.jsx(L,{size:typeof s=="number"?s:void 0}):o.jsx(r6e,{})}),o.jsx("div",{className:ct.title,style:C,children:t})]}),o.jsx("div",{className:`${ct.items} ${M===void 0?ct.spaceEvenly:""}`,role:"list",style:M!==void 0?{gap:`${M}px`}:{},children:y.map((_,I)=>{const{valueStyle:$,labelStyle:N}=i6e(_,{defaultValueFontSize:h,defaultValueFontWeight:l,defaultLabelFontSize:u,defaultLabelFontWeight:p});return o.jsx("div",{className:ct.item,role:"listitem",style:{..._.background?{background:_.background}:{},..._.width?{width:$c(_.width)}:{}},children:o.jsxs("div",{className:ct.valueContainer,children:[o.jsx("div",{className:ct.value,style:$,children:_.value}),_.label&&o.jsx("div",{className:ct.label,style:N,children:_.label})]})},`${String(_.label??_.value)}-${I}`)})})]})}const d6e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M480-360 280-559h400z"})),l6e=k.memo(d6e),h6e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"m280-400 200-201 200 201z"})),u6e=k.memo(h6e),p6e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},J.createElement("path",{fill:"#0087BD",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15"})),y6e=k.memo(p6e),k6e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},J.createElement("path",{fill:"#1E2122",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z"})),m6e=k.memo(k6e),f6e=({items:e,onSave:t,loading:n,disabled:c,saveLabel:i,savingLabel:r,buttonTitle:s,size:d=16,colors:h={bg:"#DADADA",activeBg:"var(--color-primary)",circle:"#FFFFFF",icon:"#1C1B1F",icon2:"#FFFFFF"},style:l,a11yConfig:u})=>{const[p,y]=k.useState(!1),[g,f]=k.useState(e),[m,M]=k.useState(!1);if(k.useEffect(()=>{M(!0)},[]),k.useEffect(()=>{f(e)},[e]),!m)return null;const x=(w,C)=>{C<4||f(b=>b.map(_=>_.component_key===w?{..._,visible:!_.visible}:_))},v=()=>{t(g),y(!1)},L=Q(u,s);return o.jsxs("div",{style:{position:"relative",display:"inline-block",...l},children:[o.jsxs("div",{onClick:()=>{c||y(!p)},style:{display:"flex",alignItems:"center",cursor:c?"not-allowed":"pointer",borderRadius:4,transition:"background 0.2s"},title:L,children:[o.jsx(OS,{width:d,height:d,fill:h?.icon||"currentColor",style:{transition:"color 0.2s"}}),p?o.jsx(u6e,{width:d,height:d,fill:h?.icon||"currentColor"}):o.jsx(l6e,{width:d,height:d,fill:h?.icon||"currentColor"})]}),p&&o.jsxs("div",{style:{position:"absolute",top:"120%",right:0,minWidth:260,background:"#fff",borderRadius:"0.25rem",boxShadow:"0px 3px 7px 0px rgba(17, 20, 21, 0.05),0px 14px 14px 0px rgba(17, 20, 21, 0.04),0px 30px 18px 0px rgba(17, 20, 21, 0.03), 0px 54px 22px 0px rgba(17, 20, 21, 0.01),0px 85px 24px 0px rgba(17, 20, 21, 0)",zIndex:235465456,padding:"0 0 0.5rem 0"},children:[o.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:g.map((w,C)=>o.jsxs(k.Fragment,{children:[o.jsxs("li",{onClick:()=>x(w.component_key,C),style:{display:"flex",alignItems:"center",padding:"0.5rem",cursor:C<4?"not-allowed":"pointer",transition:"background 0.2s"},onMouseEnter:b=>{C>=4&&(b.currentTarget.style.background="#F9FAFB")},onMouseLeave:b=>{C>=4&&(b.currentTarget.style.background="transparent")},children:[o.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:w.visible?o.jsx(y6e,{width:20,height:20,fill:h?.activeBg||"var(--color-primary, #008FBB)"}):o.jsx(m6e,{width:20,height:20,fill:"#D1D5DB"})}),o.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children:w.label})]}),C===3&&o.jsx("div",{style:{height:1,background:"#E5E7EB",margin:"4px 0"}})]},w.component_key))}),o.jsx("div",{style:{padding:"12px 16px 0 16px",display:"flex",justifyContent:"flex-end"},children:o.jsx("button",{type:"button",onClick:v,disabled:n,style:{padding:"6px 16px",borderRadius:4,border:"none",background:"var(--color-primary, #008FBB)",color:"#fff",fontSize:"14px",fontWeight:500,cursor:n?"not-allowed":"pointer",transition:"opacity 0.2s",opacity:n?.7:1},children:n?r:i})})]})]})},g6e="_container_zhny9_1",v6e="_card_zhny9_15",M6e="_footer_zhny9_33",x6e="_noPaddingMobile_zhny9_51",ci={container:g6e,card:v6e,footer:M6e,noPaddingMobile:x6e},_6e="_board_95t8m_1",L6e="_clickable_95t8m_21",I6e="_sideBar_95t8m_26",b6e="_boardContent_95t8m_32",w6e="_orange_95t8m_40",C6e="_red_95t8m_44",N6e="_green_95t8m_48",j6e="_grey_95t8m_52",S6e="_lightGrey_95t8m_56",$6e="_big_95t8m_61",q6e="_medium_95t8m_66",A6e="_headerRow_95t8m_70",z6e="_iconWrapper_95t8m_75",V6e="_headerTitle_95t8m_80",P6e="_valueArea_95t8m_89",T6e="_titleWhite_95t8m_99",H6e="_titleBlack_95t8m_103",D6e="_valueWhite_95t8m_108",B6e="_valueBlack_95t8m_112",R6e="_valueBlue_95t8m_116",F6e="_bars_95t8m_121",E6e="_bar_95t8m_121",O6e="_barDark_95t8m_135",U6e="_barDim_95t8m_139",W6e="_predictionSection_95t8m_143",G6e="_predictionHeader_95t8m_155",K6e="_predictionBody_95t8m_162",Z6e="_hasPrediction_95t8m_170",ze={board:_6e,clickable:L6e,sideBar:I6e,boardContent:b6e,orange:w6e,red:C6e,green:N6e,grey:j6e,lightGrey:S6e,big:$6e,medium:q6e,headerRow:A6e,iconWrapper:z6e,headerTitle:V6e,valueArea:P6e,titleWhite:T6e,titleBlack:H6e,valueWhite:D6e,valueBlack:B6e,valueBlue:R6e,bars:F6e,bar:E6e,barDark:O6e,barDim:U6e,predictionSection:W6e,predictionHeader:G6e,predictionBody:K6e,hasPrediction:Z6e},X6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${ze.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${ze.bar} ${r<c?"":e?ze.barDark:ze.barDim}`},r))})},vt=({a11yConfig:e,iconName:t,label:n,value:c,backgroundColor:i="green",bars:r,lightBars:s=5,size:d="big",valueScale:h,width:l,height:u,className:p="",style:y,titleColor:g="white",valueColor:f="white",titleFontSize:m,titleFontWeight:M,valueFontSize:x,valueFontWeight:v,barColor:L,justifyContent:w="space-between",alignItems:C="flex-start",cardGap:b="",onClick:_,iconColor:I,titleKey:$,predictionValue:N,predictionLabel:S})=>{const A=r!=="none",D=r==="endingDark",{padding:H,...P}=y||{},j=l===void 0&&u===void 0&&i===void 0&&Object.keys(P).length===0?void 0:{...l!==void 0?{width:l}:{},...u!==void 0?{height:u}:{},...i!==void 0?{backgroundColor:i}:{},...P},q=`${ze.board} ${ze[d]} ${N!==void 0?ze.hasPrediction:""} ${p}`;return o.jsxs("div",{className:q,onClick:_,style:h!==void 0?{...j,"--ds-value-scale":h}:j,children:[L&&o.jsx("div",{className:ze.sideBar,style:{backgroundColor:L}}),o.jsxs("div",{className:ze.boardContent,style:{padding:H,gap:b},children:[o.jsxs("div",{className:ze.headerRow,style:{justifyContent:w,alignItems:C},children:[t&&o.jsx("div",{className:ze.iconWrapper,style:{color:I},children:t}),o.jsx("div",{className:`${ze.headerTitle} header-title-data-board`,children:o.jsx("span",{title:Q(e,$),"aria-label":e?.description,style:{color:g,...m?{fontSize:m}:{},...M?{fontWeight:M}:{}},children:n})}),A?o.jsx(X6e,{endingDark:D,lightCount:s}):null]}),o.jsx("div",{className:ze.valueArea,style:{color:f,...x?{fontSize:x}:{},...v?{fontWeight:v}:{}},children:c})]}),N!==void 0&&o.jsxs("div",{className:ze.predictionSection,children:[o.jsx("div",{className:ze.predictionHeader,children:S??"PRED."}),o.jsx("div",{className:ze.predictionBody,children:N})]})]})},Y6e="_wrapper_1ydle_10",J6e="_hosp_1ydle_19",Q6e="_headerRow_1ydle_54",e8e="_iconWrapper_1ydle_61",t8e="_headerTitle_1ydle_67",a8e="_hospValue_1ydle_76",n8e="_side_1ydle_88",o8e="_mini_1ydle_100",c8e="_miniLabel_1ydle_131",i8e="_miniValue_1ydle_140",r8e="_miniBars_1ydle_150",s8e="_bars_1ydle_155",d8e="_bar_1ydle_155",l8e="_barDark_1ydle_169",h8e="_barDim_1ydle_173",Ve={wrapper:Y6e,hosp:J6e,headerRow:Q6e,iconWrapper:e8e,headerTitle:t8e,hospValue:a8e,side:n8e,mini:o8e,miniLabel:c8e,miniValue:i8e,miniBars:r8e,bars:s8e,bar:d8e,barDark:l8e,barDim:h8e},u8e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${Ve.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${Ve.bar} ${r<c?"":e?Ve.barDark:Ve.barDim}`},r))})},lA=({left:e,right:t,className:n="",style:c,miniTilesCount:i=3})=>{const r=e.bars??"endingDark",s=r!=="none",d=r==="endingDark",h={...c,"--mini-tiles-count":i};return o.jsxs("div",{className:`${Ve.wrapper} ${n} data-four-boards`,style:h,children:[o.jsxs("div",{className:`${Ve.hosp} ${e.className||""}`,onClick:e.onClick,style:{...e.width?{width:e.width}:{},...e.height?{height:e.height}:{},...e.backgroundColor?{backgroundColor:e.backgroundColor}:{},...e.style||{}},title:Q(e.a11yConfig,e.titleKey),children:[o.jsxs("div",{className:Ve.headerRow,children:[o.jsxs("div",{className:`${Ve.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&o.jsx("span",{style:{color:e.iconColor},children:e.iconName}),o.jsx("span",{className:Ve.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},title:Q(e.a11yConfig,e.titleKey),children:e.label})]}),s?o.jsx(u8e,{endingDark:d,lightCount:e.lightBars??5}):null]}),o.jsx("div",{className:Ve.hospValue,style:{color:e.valueColor||"white",...e.valueScale!==void 0?{"--ds-value-scale":e.valueScale}:{},...e.valueFontSize?{fontSize:e.valueFontSize}:{},...e.valueFontWeight?{fontWeight:e.valueFontWeight}:{}},children:e.value})]}),o.jsx("div",{className:Ve.side,children:t.map((l,u)=>o.jsxs("div",{className:`${Ve.mini} ${l.className||""} icon-wrapper-data-four-boards`,onClick:l.onClick,style:{...l.width?{width:l.width}:{},...l.height?{height:l.height}:{},...l.backgroundColor?{backgroundColor:l.backgroundColor}:{},...l.style||{}},title:Q(l.a11yConfig,l.titleKey),children:[o.jsxs("span",{className:Ve.miniLabel,style:{color:l.titleColor||"white",textAlign:"right",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",...l.titleFontSize?{fontSize:l.titleFontSize}:{},...l.titleFontWeight?{fontWeight:l.titleFontWeight}:{}},title:Q(l.a11yConfig,l.titleKey),children:[l.iconName&&o.jsx("span",{style:{color:l.iconColor},children:l.iconName}),l.label]}),o.jsx("span",{className:`${Ve.miniValue} mini-value-data-four-boards`,style:{color:l.valueColor||"white",textAlign:"right",...l.valueScale!==void 0?{"--ds-value-scale":l.valueScale}:{},...l.valueFontSize?{fontSize:l.valueFontSize}:{},...l.valueFontWeight?{fontWeight:l.valueFontWeight}:{}},children:l.value}),o.jsx("div",{className:Ve.miniBars})]},l.id??`${l.label}-${u}`))})]})},p8e=({items:e,footerLabel:t,width:n,height:c,size:i=320,style:r,className:s="",backgroundColor:d,titleFontSize:h,titleFontWeight:l,valueFontSize:u,valueFontWeight:p,noPaddingLeftRight:y=!1,onItemClick:g})=>{const f={width:n??i,height:c,backgroundColor:d??"var(--ds-navy)",...r},m=e[0],M=e[1],x=e.slice(2,5);return o.jsxs("div",{style:f,className:`${ci.container} ${y?ci.noPaddingMobile:""} ${s}`,children:[o.jsxs("div",{className:ci.card,children:[m?o.jsx(vt,{a11yConfig:m.a11yConfig,label:m.label,value:m.value,backgroundColor:m.backgroundColor,bars:m.bars,lightBars:m.lightBars,size:m.size??"big",valueScale:m.valueScale,width:m.width,height:m.height,titleColor:"white",valueColor:"white",titleFontSize:m.titleFontSize??h,titleFontWeight:m.titleFontWeight??l,valueFontSize:m.valueFontSize??u,valueFontWeight:m.valueFontWeight??p,titleKey:m.titleKey,onClick:v=>g?.(0,v)}):null,M&&x.length>0?o.jsx(lA,{left:{a11yConfig:M.a11yConfig,id:M.id,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,valueScale:M.valueScale,width:M.width,height:M.height,titleFontSize:M.titleFontSize??h,titleFontWeight:M.titleFontWeight??l,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,titleKey:M.titleKey,onClick:v=>g?.(1,v)},right:x.map((v,L)=>({a11yConfig:v.a11yConfig,id:v.id,label:v.label,value:v.value,backgroundColor:v.backgroundColor,bars:v.bars,lightBars:v.lightBars,valueScale:v.valueScale,width:v.width,height:v.height,titleFontSize:v.titleFontSize??h,titleFontWeight:v.titleFontWeight??l,valueFontSize:v.valueFontSize??u,valueFontWeight:v.valueFontWeight??p,titleKey:v.titleKey,onClick:w=>g?.(2+L,w)}))}):M&&x.length===0?o.jsx(vt,{a11yConfig:M.a11yConfig,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,size:M.size??"big",valueScale:M.valueScale,width:M.width,height:M.height,titleColor:"white",valueColor:"white",titleFontSize:M.titleFontSize??h,titleFontWeight:M.titleFontWeight??l,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,onClick:v=>g?.(1,v)}):null]}),t&&o.jsx("div",{className:ci.footer,children:t})]})},y8e=({x:e,y:t,width:n,payload:c,fontSize:i,fontWeight:r,stroke:s})=>o.jsx("g",{transform:`translate(${e},${t})`,children:o.jsx("foreignObject",{x:-n,y:-35,width:n,height:70,style:{overflow:"visible"},children:o.jsx("div",{style:{fontSize:i,fontWeight:r,color:s,lineHeight:"1.2",display:"flex",justifyContent:"flex-end",textAlign:"right",alignItems:"center",height:"100%",width:"100%",paddingRight:"8px",boxSizing:"border-box"},children:o.jsx("span",{style:{overflowWrap:"break-word",whiteSpace:"normal",display:"block",maxWidth:"100%"},children:c.value})})})}),k8e=({data:e,height:t=360,barColor:n="#0284C7",tooltipEnabled:c=!0,backgroundColor:i="transparent",legendTextColor:r="var(--color-text)",barHeight:s=40,yAxisWidth:d=120,fontSize:h="12px",fontWeight:l="400",domain:u,xAxisLabel:p,margin:y={top:20,right:60,bottom:40,left:0},valueFormatter:g,tickFormatter:f,labelDataKey:m="percentage"})=>{const M=(y.top??20)+(y.bottom??40)+e.length*(s+20),x=Math.max(M,t),v=k.useMemo(()=>{if(!e||e.length===0)return d;const _=(parseFloat(h)||12)*.7,$=Math.max(...e.map(N=>(N.label||"").length))*_+16;return Math.min(Math.max($,40),d)},[e,h,d]),L=b=>f?f(b):b?.toString()||"",w=b=>g&&m==="value"?g(b):b==null||b===""?"":m==="percentage"?`${b}%`:b.toString(),C=(b,_,I)=>{if(typeof b!="number")return b;const $=g?g(b):b.toString(),N=I?.payload?.percentage;return typeof N=="number"&&Number.isFinite(N)&&m==="percentage"?`${$} (${N.toFixed(1)}%)`:$};return o.jsx("div",{style:{backgroundColor:i,width:"100%"},children:o.jsx(a.ResponsiveContainer,{width:"100%",height:x,children:o.jsxs(a.BarChart,{data:e,layout:"vertical",margin:y,children:[o.jsx(a.CartesianGrid,{opacity:.4,stroke:"#E5E7EB",vertical:!1,horizontal:!0}),o.jsx(a.XAxis,{type:"number",domain:u||[0,"auto"],axisLine:!1,tickLine:!1,fontSize:h,fontWeight:l,stroke:r,tickFormatter:L,label:p?{value:p,position:"insideBottom",offset:-10,style:{textAnchor:"middle",fill:r,fontSize:12,fontWeight:"500"}}:void 0}),o.jsx(a.YAxis,{type:"category",dataKey:"label",stroke:r,axisLine:!1,tickLine:!1,width:v,interval:0,fontSize:h,fontWeight:l,tick:o.jsx(y8e,{fontSize:h,fontWeight:l,stroke:r})}),c&&o.jsx(a.Tooltip,{formatter:C,labelStyle:{color:"var(--color-text)"}}),o.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s,children:o.jsx(a.LabelList,{dataKey:m,position:"right",offset:10,formatter:w,fill:r,fontSize:h,fontWeight:l})})]})})})},m8e="_menu_10i6j_1",f8e="_menuRow_10i6j_18",g8e="_separator_10i6j_33",v8e="_rowLabel_10i6j_39",M8e="_rowLeadingIcon_10i6j_47",x8e="_rowIcon_10i6j_54",Uc={menu:m8e,menuRow:f8e,separator:g8e,rowLabel:v8e,rowLeadingIcon:M8e,rowIcon:x8e},_8e=k.forwardRef(function({isVisible:t,onClose:n,items:c,style:i,position:r,bg:s},d){const h=k.useRef(null),l=d||h;if(k.useEffect(()=>{if(!t)return;const y=g=>{l.current&&!l.current.contains(g.target)&&n?.()};return document.addEventListener("mousedown",y),()=>document.removeEventListener("mousedown",y)},[t,n]),!t)return null;const p={...{top:r?.top,left:r?.left,right:r?.right,bottom:r?.bottom},...s&&{backgroundColor:s},...i};return o.jsx("div",{ref:l,role:"menu",className:Uc.menu,style:p,children:c.map(y=>{if(y.type==="separator")return o.jsx("hr",{className:Uc.separator},y.id);const g=y,f=g.color?{color:g.color}:{},m=g.closeOnClick!==!1;return o.jsxs("button",{role:"menuitem",className:Uc.menuRow,style:f,onClick:()=>{g.onClick?.(),m&&n?.()},children:[o.jsxs("span",{className:Uc.rowLabel,children:[g.leadingIcon&&o.jsx("span",{className:Uc.rowLeadingIcon,children:g.leadingIcon}),o.jsx("span",{children:g.label})]}),g.icon&&o.jsx("span",{className:Uc.rowIcon,children:g.icon})]},g.id)})})}),hA=({user:e,logoutHref:t,logoutTarget:n="_self",onLogout:c,profileHref:i,profileLinkTarget:r="_self",backgroundColor:s="transparent",textColor:d="inherit",roleColor:h="#888",avatarSize:l="32px",padding:u="10px",gap:p="12px",emailFontSize:y="14px",emailFontWeight:g=600,roleFontSize:f="12px",roleFontWeight:m,avatarColor:M="#5b8fb9",backgroundColorAvatar:x="#f1f4f5",dropdownMenuItems:v,dropdownMenuStyle:L,dropdownMenuOffset:w,statusDotColor:C,a11yConfig:b,style:_,className:I=""})=>{const{user:$}=ut(),N=e||$,{currentTheme:S,switchTheme:A}=gL(),D=k.useRef(null),H=k.useRef(null),[P,j]=k.useState(!1),[q,T]=k.useState({}),R=k.useMemo(()=>{const Y=[],ee=({variant:ue})=>ue==="sun"?o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("circle",{cx:"12",cy:"12",r:"4"})}):o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})});i&&(Y.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),Y.push({id:"sep-profile",type:"separator"}));const ie=S==="dark";return Y.push({id:"theme",type:"action",label:ie?"Mode clair":"Mode sombre",icon:o.jsx(ee,{variant:ie?"sun":"moon"}),onClick:()=>{A(ie?"light":"dark")}}),(t||c)&&(Y.push({id:"sep-theme",type:"separator"}),Y.push({id:"logout",type:"action",label:"Se déconnecter",danger:!0,onClick:()=>{if(t){if(typeof window>"u")return;n==="_blank"?window.open(t,"_blank","noopener,noreferrer"):window.location.assign(t);return}c?.()}})),Y},[S,t,n,c,i,r,A]),z=v??R,F=()=>{if(!D.current){j(Y=>!Y);return}if(!P){const Y=D.current.getBoundingClientRect(),ee=window.innerWidth,ie=window.innerHeight,ue=200,re=200,W=4,O=w?.x??0,oe=w?.y??0,Re=ee-Y.right>=ue+W;T(Re?{top:Y.bottom-re+oe,left:Y.right+W+O}:{bottom:ie-Y.top+oe,left:Y.left+O})}j(Y=>!Y)};if(k.useEffect(()=>{if(!P||!D.current)return;const Y=()=>{const ee=D.current.getBoundingClientRect(),ie=window.innerWidth,ue=window.innerHeight,re=200,W=200,O=4,oe=w?.x??0,Ce=w?.y??0,ge=ie-ee.right>=re+O;T(ge?{top:ee.bottom-W+Ce,left:ee.right+O+oe}:{bottom:ue-ee.top+Ce,left:ee.left+oe})};return window.addEventListener("resize",Y),window.addEventListener("orientationchange",Y),()=>{window.removeEventListener("resize",Y),window.removeEventListener("orientationchange",Y)}},[P,w]),k.useEffect(()=>{if(!P||!D.current||!H.current)return;const Y=()=>{const ie=D.current.getBoundingClientRect(),ue=H.current.getBoundingClientRect(),re=w?.x??0,W=w?.y??0;T(O=>O.left!==void 0&&O.top!==void 0&&O.left>=ie.right-1?{top:ie.bottom-ue.height+W,left:O.left+re}:O)},ee=requestAnimationFrame(()=>{setTimeout(Y,0)});return()=>cancelAnimationFrame(ee)},[P,w]),!N)return null;const K=N,te=parseInt(l,10)||40,ne=`${te*.375}px`,Me=`${te*1.375}px`,me=`${te*.2}px`,je=`${te*.6}px`,he=()=>{const Y=parseInt(l,10)||40,ee=Math.max(8,Y*.34375),ie=Math.max(2,Y*.05);return o.jsxs(o.Fragment,{children:[o.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[K.image?o.jsx("img",{src:K.image,alt:`${K.prenom} ${K.nom}`,style:{width:l,height:l,borderRadius:"50%",objectFit:"cover",userSelect:"none"}}):o.jsxs("div",{style:{width:l,height:l,position:"relative",borderRadius:"50%",backgroundColor:x,overflow:"hidden",userSelect:"none"},children:[o.jsx("div",{style:{width:ne,height:ne,borderRadius:"50%",backgroundColor:M,position:"absolute",top:me,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),o.jsx("div",{style:{width:Me,height:Me,borderRadius:"50%",backgroundColor:M,position:"absolute",top:je,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),C&&o.jsx("div",{style:{position:"absolute",bottom:ie,right:ie,width:`${ee}px`,height:`${ee}px`,borderRadius:"50%",backgroundColor:C,border:"2px solid white",zIndex:10}})]}),o.jsxs("div",{style:{display:"flex",flexDirection:"column",minWidth:0,flex:1},children:[o.jsx("span",{style:{fontWeight:g,fontSize:y,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:K.email,children:K.email}),o.jsx("span",{style:{color:h,fontSize:f,fontWeight:m,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:K.role,children:K.role})]})]})};return o.jsxs(o.Fragment,{children:[o.jsx("div",{ref:D,className:`user-info ${I}`,style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:u,backgroundColor:s,gap:p,color:d,width:"100%",boxSizing:"border-box",cursor:"pointer",userSelect:"none",..._},onClick:F,title:Q(b,K.role),role:"button",tabIndex:0,children:o.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:o.jsx(he,{})})}),o.jsx(_8e,{ref:H,isVisible:P,onClose:()=>j(!1),items:z,style:L,position:q})]})},L8e="_navItem_16uqf_1",I8e="_label_16uqf_14",b8e="_icon_16uqf_26",k1={navItem:L8e,label:I8e,icon:b8e},Jw=({label:e,labelKey:t,onClick:n,href:c,isActive:i,icon:r,style:s,className:d="",highlightColor:h="#00aec7",color:l="#333",activeColor:u="#00aec7",highlightBackgroundColor:p="rgba(0, 0, 0, 0.05)",fontSize:y="15px",fontWeight:g="500",sidebarCollapsed:f=!1,padding:m="10px 16px",borderWidth:M="4px",iconGap:x="12px",disabled:v=!1,disabledColor:L,a11yConfig:w})=>{const C=()=>{v||n?.()},b=o.jsxs(o.Fragment,{children:[r&&o.jsx("span",{className:k1.icon,style:{marginRight:f?0:x},children:r}),!f&&o.jsx("span",{className:k1.label,children:e})]}),_=()=>{if(!i)return"transparent";const $=N=>{const S=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(N);return S?{r:parseInt(S[1],16),g:parseInt(S[2],16),b:parseInt(S[3],16)}:null};if(h.startsWith("#")){const N=$(h);if(N)return`rgba(${N.r}, ${N.g}, ${N.b}, 0.08)`}else if(h.startsWith("rgb")){const N=h.match(/\d+/g);if(N&&N.length>=3)return`rgba(${N[0]}, ${N[1]}, ${N[2]}, 0.08)`}return p},I={onClick:C,className:`${k1.navItem} ${i?k1.active:""} ${d} ${v?k1.disabled:""}`,style:{padding:m,color:i?u:v?L||"#999":l,borderLeft:i?`${M} solid ${h}`:`${M} solid transparent`,backgroundColor:_(),fontSize:y,fontWeight:g,cursor:v?"not-allowed":"pointer",textDecoration:"none",...s},"aria-disabled":v};return c&&!n&&!v?o.jsx("a",{href:c,...I,title:Q(w,t),children:b}):o.jsx("div",{...I,role:n?"button":void 0,tabIndex:n&&!v?0:void 0,title:Q(w,t),children:b})},w8e="_navbar_agnn2_1",C8e="_topSection_agnn2_9",N8e="_sectionsContainer_agnn2_14",j8e="_sectionTitle_agnn2_20",S8e="_sectionItems_agnn2_25",$8e="_bottomSection_agnn2_30",q8e="_versionContainer_agnn2_49",kt={navbar:w8e,topSection:C8e,sectionsContainer:N8e,sectionTitle:j8e,sectionItems:S8e,bottomSection:$8e,versionContainer:q8e},A8e=({logoProps:e,logoSpacing:t,navItems:n,padding:c="24px 16px",sectionSpacing:i="32px",itemSpacing:r="4px",backgroundColor:s="#fff",highlightColor:d="#00aec7",highlightBackgroundColor:h="rgba(0, 0, 0, 0.05)",version:l,navSectionStyle:u,navLinkStyle:p,navItemPadding:y="10px 16px",navItemBorderWidth:g="4px",navItemIconGap:f="12px",navItemFontSize:m="15px",navItemFontWeight:M="500",navItemColor:x,sectionTitlePadding:v="16px",sectionTitleFontSize:L="11px",sectionTitleColor:w="#999",sectionTitleWeight:C="500",versionFontSize:b="12px",versionFontWeight:_="400",versionColor:I="#999",userInfoProps:$,style:N,className:S="",width:A="280px",showLogo:D=!0,versionA11yConfig:H,displayNone:P=!1})=>{const j=ut(),q=j.activeNav,T=j.setActiveNav,R=j.user,z=$.user||R;return o.jsxs("div",{className:`${kt.navbar} ${S}`,style:{width:A,backgroundColor:s,padding:c,display:P?"none":"flex",...N},children:[o.jsxs("div",{className:kt.topSection,style:{gap:t},children:[D&&o.jsx("div",{className:kt.logoContainer,children:o.jsx(fL,{...e})}),o.jsx("div",{className:kt.sectionsContainer,style:{gap:i},children:n.map((F,K)=>o.jsxs("div",{className:kt.section,children:[F.title&&o.jsx("div",{className:kt.sectionTitle,title:Q(F.a11yConfig,F.titleKey),style:{fontSize:L,color:w,padding:v,fontWeight:C,border:"4px solid transparent",...u},children:F.title}),o.jsx("div",{className:kt.sectionItems,style:{gap:r},children:F.items.map(te=>o.jsx(Jw,{...te,isActive:te.isActive===null?te.isActive:q===te.id,onClick:()=>{te.onClick&&te.onClick(),te.isActive==null&&T(te.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:h,padding:y,borderWidth:g,iconGap:f,fontSize:m,fontWeight:M,color:x,style:p},te.id))})]},K))})]}),o.jsxs("div",{className:kt.bottomSection,style:{gap:t},children:[o.jsx(hA,{...$,user:z}),l&&o.jsx("div",{className:kt.versionContainer,title:Q(H,l),style:{fontSize:b,fontWeight:_,color:I},children:l})]})]})},z8e="_container_4qege_1",V8e="_titleContainer_4qege_10",P8e="_title_4qege_10",T8e="_inlineToggleContainer_4qege_24",H8e="_rightContentContainer_4qege_30",m1={container:z8e,titleContainer:V8e,title:P8e,inlineToggleContainer:T8e,rightContentContainer:H8e},D8e=({className:e="",style:t,fontSize:n="20px",fontWeight:c="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:h,height:l,border:u,borderRadius:p,navItems:y,formatTitle:g=M=>M,rightContent:f,inlineToggle:m})=>{const{activeNav:M}=ut(),x=y.find(L=>L.id===M),v=g(x?x.label:M);return v?o.jsxs("div",{className:`${m1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:h,height:l,border:u,borderRadius:p,...t},children:[o.jsxs("div",{className:m1.titleContainer,children:[o.jsx("div",{className:m1.title,style:{fontSize:n,fontWeight:c,color:i},children:v}),m&&o.jsx("div",{className:m1.inlineToggleContainer,children:m})]}),f&&o.jsx("div",{className:m1.rightContentContainer,children:f})]}):null},B8e="_navItem_1hg26_1",R8e="_navItemIcon_1hg26_21",F8e="_navItemLabel_1hg26_29",E8e="_navItemCount_1hg26_36",O8e="_navItemIndicator_1hg26_49",f1={navItem:B8e,navItemIcon:R8e,navItemLabel:F8e,navItemCount:E8e,navItemIndicator:O8e},uA=({a11yConfig:e,label:t,isActive:n,onClick:c,href:i,labelKey:r,icon:s,count:d,activeColor:h="#00aec7",inactiveColor:l="#666",activeBackgroundColor:u="transparent",countBackgroundColor:p,countColor:y="#fff",countBorderRadius:g="10px",countPadding:f="2px 6px",countFontSize:m="12px",countFontWeight:M="500",indicatorColor:x="#00aec7",indicatorHeight:v="3px",padding:L="8px 4px",fontSize:w="14px",fontWeight:C="500",gap:b="8px",style:_,className:I="",disabled:$=!1,onNavigate:N})=>{const S=()=>{$||(c?.(),i&&(N?N(i):window.location.href=i))};return o.jsxs("div",{className:`${f1.navItem} ${I}`,onClick:S,title:Q(e,r),style:{gap:b,padding:L,color:n?h:l,backgroundColor:n?u:"transparent",fontSize:w,fontWeight:C,..._},children:[s&&o.jsx("span",{className:f1.navItemIcon,children:s}),o.jsx("span",{className:f1.navItemLabel,children:t}),d!==void 0&&o.jsx("span",{className:f1.navItemCount,style:{backgroundColor:p,color:y,borderRadius:g,padding:f,fontSize:m,fontWeight:M},children:d}),n&&!$&&o.jsx("div",{className:f1.navItemIndicator,style:{height:v,backgroundColor:x}})]})},U8e="_container_13hsa_1",W8e="_groupHeader_13hsa_8",G8e="_groupHeaderLeft_13hsa_18",K8e="_groupIcon_13hsa_23",Z8e="_dropdown_13hsa_29",X8e="_item_13hsa_42",Y8e="_itemIcon_13hsa_65",J8e="_chevron_13hsa_72",Q8e="_chevronOpen_13hsa_79",mt={container:U8e,groupHeader:W8e,groupHeaderLeft:G8e,groupIcon:K8e,dropdown:Z8e,item:X8e,itemIcon:Y8e,chevron:J8e,chevronOpen:Q8e},efe=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M480-344 240-584l43-43 197 197 197-197 43 43z"})),B1=k.memo(efe),pA=({groups:e,activeItemId:t,onItemClick:n,style:c,className:i,bgColor:r="transparent",color:s="var(--color-text)",headerBgColor:d="var(--color-indicator)",headerColor:h="var(--color-text)",headerBorderBottomColor:l="var(--color-border)",dropdownBgColor:u="var(--color-background)",itemBgColor:p="transparent",itemHoverBgColor:y="rgba(0,0,0,0.05)",itemColor:g="var(--color-text)",itemActiveColor:f="var(--color-primary)",itemActiveBorderColor:m="var(--color-primary)",itemDividerColor:M="var(--color-border)",iconColor:x="#555555",activeIconColor:v="var(--color-primary)",headerIconColor:L="var(--color-text)",chevronColor:w="var(--color-text)",iconSize:C=22,headerPadding:b="14px 20px",itemPadding:_="14px 20px",iconGap:I=14,borderRadius:$=0})=>{const[N,S]=k.useState(""),A=k.useRef(null);k.useEffect(()=>{const H=P=>{A.current&&!A.current.contains(P.target)&&S("")};return document.addEventListener("mousedown",H),()=>document.removeEventListener("mousedown",H)},[]);const D={backgroundColor:r,color:s,borderRadius:$,...c};return o.jsx("nav",{ref:A,className:[mt.container,i].filter(Boolean).join(" "),style:D,children:e.map(H=>{const P=N===H.id,j={backgroundColor:d,color:h,padding:b,borderBottom:`1px solid ${l}`,gap:I},q={backgroundColor:u};return o.jsxs("div",{children:[o.jsxs("div",{className:mt.groupHeader,style:j,onClick:()=>S(P?"":H.id),role:"button","aria-expanded":P,children:[o.jsxs("div",{className:mt.groupHeaderLeft,style:{gap:I},children:[H.icon&&o.jsx("span",{className:mt.groupIcon,style:{color:L,width:C,height:C},children:H.icon}),o.jsx("span",{children:H.label})]}),o.jsx("span",{className:[mt.chevron,P?mt.chevronOpen:""].join(" "),style:{color:w},children:o.jsx(B1,{width:18,height:18})})]}),P&&o.jsx("div",{className:mt.dropdown,style:q,children:H.items.map(T=>{const R=T.id===t,z={padding:_,gap:I,color:R?f:g,backgroundColor:p,"--item-border-width":R?"4px":"1px","--item-border-color":R?m:M};return o.jsxs("div",{className:mt.item,style:z,onClick:()=>{n?.(H.id,T.id),S("")},role:"menuitem",onMouseEnter:F=>{R||(F.currentTarget.style.backgroundColor=y)},children:[T.icon&&o.jsx("span",{className:mt.itemIcon,style:{color:R?v:x,width:C,height:C},children:T.icon}),o.jsx("span",{children:T.label})]},T.id)})})]},H.id)})})},tfe="_subheaderContent_1glo8_1",afe="_navContainer_1glo8_11",nfe="_rightContent_1glo8_45",Pb={subheaderContent:tfe,navContainer:afe,rightContent:nfe},ofe=({subNavItems:e,backgroundColor:t="transparent",padding:n="0",margin:c,width:i,height:r="auto",border:s,borderBottom:d="none",itemGap:h="24px",actionsGap:l="16px",itemPadding:u="12px 0",itemFontSize:p="14px",itemFontWeight:y="500",activeItemColor:g="#00aec7",inactiveItemColor:f="#5c6975",indicatorHeight:m="3px",showDraggable:M=!1,showLegend:x=!1,showData:v=!1,className:L="",style:w,countBackgroundColor:C,countColor:b,countBorderRadius:_,countPadding:I,countFontSize:$,countFontWeight:N,navContainerClassName:S,navContainerStyle:A,rightContentClassName:D,rightContentStyle:H,rightActions:P,activeSwitcherColor:j,inactiveSwitcherColor:q,isMobile:T=!1,onNavigate:R})=>{const{activeSubNav:z,setActiveSubNav:F,navCounts:K,activeNav:te}=ut();if(T){const ne=e.find(me=>me.id===z)||e[0],Me=[{id:"current-group",label:ne?.label||te?.toUpperCase()||"MENU",icon:ne?.icon,items:e.map(me=>({id:me.id,label:me.label,icon:me.icon}))}];return o.jsx("div",{className:L,style:w,children:o.jsx(pA,{groups:Me,activeItemId:z,onItemClick:(me,je)=>{const he=e.find(Y=>Y.id===je);he&&(he.onClick&&he.onClick(),he.href&&(R?R(he.href):he.onNavigate?he.onNavigate(he.href):window.location.href=he.href),F(je))},headerBgColor:t})})}return o.jsxs("div",{className:`${Pb.subheaderContent} ${L}`,style:{backgroundColor:t,padding:n,margin:c,width:i,height:r,border:s,borderBottom:d,...w},children:[o.jsx("div",{className:`${Pb.navContainer} ${S||""}`,style:{gap:h,...A},children:e.map(ne=>{const Me=ne.count!==void 0?ne.count:K[ne.id],me=z===ne.id||ne.isActive;return o.jsx(uA,{...ne,onNavigate:R||ne.onNavigate,count:Me,isActive:me,onClick:()=>{ne.onClick&&ne.onClick(),F(ne.id)},activeColor:g,inactiveColor:f,countBackgroundColor:C,countColor:b,countBorderRadius:_,countPadding:I,countFontSize:$,countFontWeight:N,indicatorColor:g,indicatorHeight:m,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:ne.style},ne.id)})}),o.jsxs("div",{className:`${Pb.rightContent} ${D||""}`,style:{gap:l,...H},children:[M&&o.jsx(rL,{size:20,colors:{bg:j,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),x&&o.jsx(sL,{size:20,colors:{bg:j,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),v&&o.jsx(dL,{size:20,colors:{bg:j,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),P]})]})},cfe=({onSwitch:e,size:t="20px",lightIconColor:n="#666",darkIconColor:c="#fff",backgroundColor:i="transparent",padding:r="8px",borderRadius:s="50%",style:d,className:h=""})=>{const[l,u]=k.useState(!1),{currentTheme:p,switchTheme:y}=gL(),g=p!="dark",f=()=>{y(g?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!l||!p?o.jsx(o.Fragment,{}):o.jsx("div",{className:`theme-switcher ${h}`,onClick:f,style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:i,padding:r,borderRadius:s,transition:"all 0.3s ease",...d},children:g?o.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}):o.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("circle",{cx:"12",cy:"12",r:"5"}),o.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),o.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),o.jsx("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),o.jsx("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),o.jsx("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),o.jsx("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),o.jsx("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),o.jsx("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})})},ife=({initialSortBy:e=null,initialSortOrder:t="asc",onSortChange:n})=>{const[c,i]=k.useState({sortBy:e,sortOrder:t,filters:{}}),r=k.useCallback(s=>{let d="asc";c.sortBy===s&&(d=c.sortOrder==="asc"?"desc":"asc");const h={...c,sortBy:s,sortOrder:d};i(h),n(s,d)},[c,n]);return{tableState:c,handleSort:r}},rfe=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),sfe=k.memo(rfe),dfe=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),lfe=k.memo(dfe),hfe=({columns:e,sortBy:t,sortOrder:n,onSort:c,removeLabelSpan:i=!1})=>o.jsx("thead",{children:o.jsx("tr",{children:e.map((r,s)=>{const d=t===r.key,h=!!r.sortable;return o.jsx("th",{className:`${r.className||""}${h?" sortable":""}`,style:{width:r.width,textAlign:r.align||"left"},onClick:()=>h&&c(String(r.key)),title:Q(r.a11yConfig,r.titleKey),children:o.jsxs("div",{className:`th-content ${r.align?`align-${r.align}`:""}`,children:[i?r.label:o.jsx("span",{children:r.label}),h&&o.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?o.jsx(lfe,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):o.jsx(sfe,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),ufe=({data:e,columns:t,rowKey:n,onRowClick:c,isLoading:i,text:r,rowStyle:s,rowClassName:d,renderSeparator:h})=>!e.length&&!i?o.jsx("tbody",{children:o.jsx("tr",{children:o.jsx("td",{colSpan:t.length,style:{textAlign:"center",padding:"32px"},children:o.jsx("span",{style:{color:"var(--table-text-muted)"},children:r?.noData||"Aucune donnée disponible"})})})}):o.jsx("tbody",{children:e.map((l,u)=>{const p=l[n],y=typeof p=="string"||typeof p=="number"?p:u,g=h?h(l):null;return o.jsx("tr",{onClick:()=>c&&c(l),style:{cursor:c?"pointer":"default",...s?s(l):{}},className:d?d(l,u):"",children:g?o.jsx("td",{colSpan:t.length,children:g}):t.map((f,m)=>o.jsx("td",{style:{width:f.width,textAlign:f.align||"left"},className:f.className,children:f.render?f.render(l):l[f.key]},`${String(f.key)}-${m}`))},y)})}),pfe=({state:e,onPaginationChange:t,onLoadMore:n,infiniteScroll:c,hasMore:i,text:r,isLoading:s})=>{const{page:d,pageSize:h,total:l}=e,u=h===-1?l:h,p=Math.ceil(l/u)||1,y=Math.min(Math.max(1,d),p),g=l===0?0:(y-1)*u+1,f=Math.min(y*u,l),m=x=>{t({page:x})},M=k.useMemo(()=>{if(p<=6)return Array.from({length:p},($,N)=>N+1);const L=Math.max(y-1,1),w=Math.min(y+1,p),C=L>2,b=w<p-2,_=1,I=p;if(!C&&b)return[...Array.from({length:5},(S,A)=>A+1),"...",p];if(C&&!b){const N=Array.from({length:5},(S,A)=>p-5+A+1);return[_,"...",...N]}if(C&&b){const $=Array.from({length:w-L+1},(N,S)=>L+S);return[_,"...",...$,"...",I]}return[]},[y,p]);return o.jsxs("div",{className:"table-pagination",children:[o.jsx("div",{className:"pagination-summary",children:l>0?o.jsx("span",{children:r?.itemsRange?r.itemsRange(g,f,l):o.jsxs(o.Fragment,{children:[o.jsxs("b",{children:[g,"–",f]})," ","sur ",o.jsx("b",{children:l.toLocaleString()})," éléments"]})}):o.jsx("span",{children:r?.noResults||"0 résultats"})}),o.jsx("div",{className:"pagination-spacer"}),!c&&h!==-1&&p>1&&o.jsxs("div",{className:"pagination-controls",children:[o.jsx("button",{className:"pagination-btn",onClick:()=>m(1),disabled:y===1,title:r?.first||"Premier",children:"<<"}),o.jsx("button",{className:"pagination-btn",onClick:()=>m(y-1),disabled:y===1,title:r?.previous||"Précédent",children:"<"}),(M||[]).map((x,v)=>x==="..."?o.jsx("span",{style:{padding:"0 4px",color:"var(--table-text-muted)"},children:"..."},v):o.jsx("button",{className:`pagination-btn ${x===y?"active":""}`,onClick:()=>m(x),children:x},v)),o.jsx("button",{className:"pagination-btn",onClick:()=>m(y+1),disabled:y===p,title:r?.next||"Suivant",children:">"}),o.jsx("button",{className:"pagination-btn",onClick:()=>m(p),disabled:y===p,title:r?.last||"Dernier",children:">>"})]}),!c&&n&&i&&o.jsx("div",{className:"pagination-load-more",children:o.jsx("button",{className:"btn-load-more",onClick:n,disabled:s,style:{padding:"8px 16px",backgroundColor:"white",border:"1px solid #ddd",borderRadius:"6px",cursor:s?"wait":"pointer",color:"#555",fontWeight:600},children:s?r?.loading||"Chargement...":r?.loadMore||"Charger plus"})})]})},yA=({data:e,columns:t,isLoading:n,pagination:c,onPaginationChange:i,onSortChange:r,rowKey:s,loaderSize:d=40,stickyHeader:h=!0,height:l,minHeight:u="200px",text:p,onLoadMore:y,infiniteScroll:g,hasMore:f,tableState:m,className:M,style:x,rowStyle:v,onRowClick:L,rowClassName:w,titleKey:C,removeLabelSpan:b=!1,a11yConfig:_,renderSeparator:I})=>{const $=k.useMemo(()=>({...p}),[p]),N=k.useRef(null);k.useEffect(()=>{if(!g||!y||!f||n)return;const j=new IntersectionObserver(q=>{q[0].isIntersecting&&y()},{threshold:.1});return N.current&&j.observe(N.current),()=>j.disconnect()},[g,y,f,n]);const{tableState:S,handleSort:A}=ife({initialSortBy:null,onSortChange:r}),D=(m?.sortBy!==void 0?m.sortBy:S.sortBy)??void 0,H=m?.sortOrder!==void 0?m.sortOrder:S.sortOrder,P=j=>{const q=D,T=H;let R="asc";q===j&&(R=T==="asc"?"desc":"asc"),m?.sortBy!==void 0?r(j,R):A(j)};return o.jsxs("div",{className:`table-container ${M||""}`,style:x,title:Q(_,C),children:[o.jsxs("div",{className:"table-frame",style:{height:l??void 0,minHeight:u??void 0},children:[n&&o.jsx("div",{className:"table-loader-overlay",children:o.jsx("div",{className:"spinner",style:{width:d,height:d,borderTopColor:"var(--table-primary)"}})}),o.jsxs("div",{className:`table-wrapper ${h?"sticky-header":""}`,children:[o.jsxs("table",{className:"data-table",children:[o.jsx(hfe,{columns:t,sortBy:D,sortOrder:H,onSort:P,removeLabelSpan:b}),o.jsx(ufe,{data:e,columns:t.map(j=>({...j,render:j.render?q=>j.render(q,{}):void 0})),rowKey:s,onRowClick:L,isLoading:n,text:$,rowStyle:typeof v=="function"?v:v?()=>v:void 0,rowClassName:w,renderSeparator:I})]}),g&&o.jsx("div",{ref:N,style:{height:20,margin:10}})]})]}),o.jsx(pfe,{state:c,onPaginationChange:i,text:$,onLoadMore:y,infiniteScroll:g,hasMore:f,isLoading:n})]})},yfe="_datePickerContainer_1941b_3",kfe="_label_1941b_16",mfe="_displayNode_1941b_23",ffe="_datePickerButton_1941b_30",gfe="_datePickerButtonDisabled_1941b_50",vfe="_datePickerButtonOpen_1941b_59",Mfe="_datePickerLabel_1941b_68",xfe="_placeholder_1941b_79",_fe="_chevron_1941b_83",Lfe="_errorMessage_1941b_91",Ife="_dropdown_1941b_96",bfe="_calendarHeader_1941b_120",wfe="_navButton_1941b_129",Cfe="_headerSelectors_1941b_148",Nfe="_monthSelector_1941b_156",jfe="_yearSelector_1941b_157",Sfe="_selectorButton_1941b_161",$fe="_selectorChevron_1941b_178",qfe="_selectorChevronOpen_1941b_183",Afe="_monthDropdown_1941b_187",zfe="_yearDropdown_1941b_188",Vfe="_monthItem_1941b_208",Pfe="_yearItem_1941b_209",Tfe="_monthItemSelected_1941b_231",Hfe="_yearItemSelected_1941b_232",Dfe="_weekdays_1941b_236",Bfe="_weekday_1941b_236",Rfe="_calendarGrid_1941b_252",Ffe="_dateCell_1941b_260",Efe="_dateCellSelected_1941b_283",Ofe="_dateCellOtherMonth_1941b_287",Ufe="_dateCellOtherMonthSelected_1941b_291",Wfe="_calendarFooter_1941b_295",Gfe="_cancelButton_1941b_303",Kfe="_applyButton_1941b_304",Zfe="_timePickerContainer_1941b_348",Xfe="_timeGroup_1941b_357",Yfe="_timeLabel_1941b_364",Jfe="_timeInputWrapper_1941b_370",Qfe="_timeInput_1941b_370",ege="_timeSeparator_1941b_398",U={datePickerContainer:yfe,label:kfe,displayNode:mfe,datePickerButton:ffe,datePickerButtonDisabled:gfe,datePickerButtonOpen:vfe,datePickerLabel:Mfe,placeholder:xfe,chevron:_fe,errorMessage:Lfe,dropdown:Ife,calendarHeader:bfe,navButton:wfe,headerSelectors:Cfe,monthSelector:Nfe,yearSelector:jfe,selectorButton:Sfe,selectorChevron:$fe,selectorChevronOpen:qfe,monthDropdown:Afe,yearDropdown:zfe,monthItem:Vfe,yearItem:Pfe,monthItemSelected:Tfe,yearItemSelected:Hfe,weekdays:Dfe,weekday:Bfe,calendarGrid:Rfe,dateCell:Ffe,dateCellSelected:Efe,dateCellOtherMonth:Ofe,dateCellOtherMonthSelected:Ufe,calendarFooter:Wfe,cancelButton:Gfe,applyButton:Kfe,timePickerContainer:Zfe,timeGroup:Xfe,timeLabel:Yfe,timeInputWrapper:Jfe,timeInput:Qfe,timeSeparator:ege},xS=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],tge=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],hw=({value:e,onChange:t,label:n,placeholder:c="Sélectionner une date...",className:i="",fullWidth:r=!0,disabled:s=!1,error:d,buttonHeight:h="2.75rem",buttonPadding:l="0.75rem 1rem 0.75rem 1rem",dropdownMaxHeight:u="auto",fontSize:p="0.875rem",iconSize:y="1.5rem",labelMarginBottom:g="0.5rem",errorMarginTop:f="0.25rem",dropdownMarginTop:m="0.25rem",itemPadding:M="0.5rem 0.75rem",fontWeight:x="400",buttonBgColor:v,buttonBorderColor:L,buttonTextColor:w,dropdownBgColor:C="#ffffff",itemHoverColor:b,selectedItemBgColor:_,iconColor:I,errorColor:$,labelColor:N,placeholderColor:S,borderRadius:A="var(--radius-content)",borderWidth:D="0.0625rem",boxShadow:H="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:P="0.2s",transitionTiming:j="ease",dateCellSize:q="2.5rem",headerTextColor:T="#6c757d",weekdayTextColor:R="#6c757d",currentMonthDateColor:z="#212529",otherMonthDateColor:F="#adb5bd",selectedDateBgColor:K="#00A6D9",selectedDateTextColor:te="#ffffff",cancelButtonBgColor:ne="#e9ecef",cancelButtonTextColor:Me="#212529",applyButtonBgColor:me="#00A6D9",applyButtonTextColor:je="#ffffff",width:he,displayNode:Y=void 0,displayMode:ee="auto",displayNodeAriaLabel:ie,dropdownPosition:ue="bottom",dropdownAlignment:re="right",dropdownWidth:W,withBorder:O=!1,icon:oe,precision:Ce="day",hoursLabel:Re="Heures",minutesLabel:ge="Minutes",lowerLimit:Ne=null,upperLimit:pt=null,outOfLimitsMessage:h1="La date/heure choisie est hors des limites autorisées",months:se,weekdays:Ht,cancelText:$L="Annuler",applyText:_e="Appliquer",prevMonthAriaLabel:Dt="Mois précédent",nextMonthAriaLabel:gA="Mois suivant",calendarAriaLabel:vA="Sélecteur de date",openedAriaLabel:MA="Ouvrir le sélecteur de date",selectedDateAriaLabel:xA="Date sélectionnée: ",locale:Qw="fr-FR",rotateIcon:_A=!0})=>{const Bt=B=>{if(B instanceof Date)return isNaN(B.getTime())?null:B;if(typeof B=="string"&&B){const G=new Date(B);return isNaN(G.getTime())?null:G}return null},[Ee,Rt]=k.useState(!1),[Hc,LA]=k.useState({top:0,left:0,width:0}),[eC,tC]=k.useState(null),[le,u1]=k.useState(Bt(e)||new Date),[p1,qL]=k.useState(Bt(e)),[J1,AL]=k.useState(Bt(e)?.getHours()??0),[Q1,zL]=k.useState(Bt(e)?.getMinutes()??0),[VL,Dc]=k.useState(!1),[PL,Bc]=k.useState(!1),TL=k.useRef(null),Rc=k.useRef(null),aC=k.useRef(null),HL=k.useRef(null),DL=k.useRef(null);k.useEffect(()=>{const B=Bt(e);qL(B),B&&(u1(B),AL(B.getHours()),zL(B.getMinutes()))},[e]);const nC=k.useCallback(()=>{if(Rc.current){const B=Rc.current.getBoundingClientRect();LA({top:B.top,left:B.left,width:B.width})}},[]),oC=8,ei=k.useCallback(()=>{if(!Rc.current)return;const B=Rc.current.getBoundingClientRect(),G=(parseFloat(m.replace("rem",""))||0)*16,xe=aC.current?.scrollHeight??0,Ft=ue==="top"?B.top-G-oC:window.innerHeight-B.bottom-G-oC,yt=xe>0&&xe>Ft?Math.max(Ft,0):null;tC(Je=>Je===yt?Je:yt)},[ue,m]),Fc=k.useCallback(()=>{nC(),ei()},[nC,ei]);k.useEffect(()=>(Ee&&(Fc(),window.addEventListener("scroll",Fc,!0),window.addEventListener("resize",Fc)),()=>{window.removeEventListener("scroll",Fc,!0),window.removeEventListener("resize",Fc)}),[Ee,Fc]),k.useLayoutEffect(()=>{Ee?ei():tC(null)},[Ee,ei]),k.useEffect(()=>{const B=G=>{if(TL.current&&!TL.current.contains(G.target)){const xe=document.getElementById("datepicker-dropdown");if(xe&&xe.contains(G.target))return;Rt(!1),Dc(!1),Bc(!1)}HL.current&&!HL.current.contains(G.target)&&Dc(!1),DL.current&&!DL.current.contains(G.target)&&Bc(!1)};return document.addEventListener("mousedown",B),()=>document.removeEventListener("mousedown",B)},[]);const cC=B=>new Date(B.getFullYear(),B.getMonth()+1,0).getDate(),IA=B=>{const G=new Date(B.getFullYear(),B.getMonth(),1).getDay();return G===0?6:G-1},bA=()=>{const B=[],G=IA(le),xe=cC(le),Ft=new Date(le.getFullYear(),le.getMonth()-1,1),yt=cC(Ft);for(let be=G-1;be>=0;be--)B.push(new Date(le.getFullYear(),le.getMonth()-1,yt-be));for(let be=1;be<=xe;be++)B.push(new Date(le.getFullYear(),le.getMonth(),be));const Je=42-B.length;for(let be=1;be<=Je;be++)B.push(new Date(le.getFullYear(),le.getMonth()+1,be));return B},wA=(B,G)=>!B||!G?!1:B.getDate()===G.getDate()&&B.getMonth()===G.getMonth()&&B.getFullYear()===G.getFullYear(),CA=B=>B.getMonth()===le.getMonth()&&B.getFullYear()===le.getFullYear(),iC=B=>!(Ne&&B<Ne||pt&&B>pt),rC=p1?(()=>{const B=new Date(p1);return B.setHours(J1),B.setMinutes(Q1),B})():null,Ec=rC?!iC(rC):!1,NA=()=>{u1(new Date(le.getFullYear(),le.getMonth()-1,1))},jA=()=>{u1(new Date(le.getFullYear(),le.getMonth()+1,1))},SA=B=>{if(!s){const G=new Date(B);G.setHours(J1),G.setMinutes(Q1),qL(G)}},$A=()=>{if(!s){if(p1){const B=new Date(p1);if(B.setHours(J1),B.setMinutes(Q1),!iC(B))return;t(B)}else t(null);Rt(!1)}},qA=()=>{const B=Bt(e);qL(B),B&&(AL(B.getHours()),zL(B.getMinutes())),Rt(!1)},AA=B=>{u1(new Date(le.getFullYear(),B,1)),Dc(!1)},zA=B=>{u1(new Date(B,le.getMonth(),1)),Bc(!1)},VA=()=>{const B=le.getFullYear(),G=[];for(let xe=B-10;xe<=B+10;xe++)G.push(xe);return G},PA=B=>{if(!s)switch(B.key){case"Enter":case" ":B.preventDefault(),Rt(!Ee);break;case"Escape":Rt(!1),Dc(!1),Bc(!1);break;case"Tab":Ee&&(Rt(!1),Dc(!1),Bc(!1));break}},TA={width:he||(r?"100%":"auto"),fontSize:p,fontWeight:x},HA={height:h,padding:l,backgroundColor:v||"#ffffff",border:O?void 0:"none",borderColor:d?$||"#dc3545":L||"#dee2e6",color:w||"#212529",borderRadius:A,borderWidth:D,fontWeight:x,transition:`all ${P} ${j}`},sC=eC!=null,DA={backgroundColor:C||"#ffffff",maxHeight:sC?`${eC}px`:u,overflowY:sC?"auto":void 0,borderRadius:A,borderWidth:D,boxShadow:H,transition:`opacity ${P} ${j}, transform ${P} ${j}`,position:"fixed",top:ue==="bottom"?Hc.top+(Rc.current?.offsetHeight||0)+parseFloat(m.replace("rem",""))*16:"auto",bottom:ue==="top"?window.innerHeight-Hc.top+parseFloat(m.replace("rem",""))*16:"auto",left:re==="left"?Hc.left:"auto",right:re==="right"?window.innerWidth-(Hc.left+Hc.width):"auto",width:W||(r?Hc.width:"auto"),zIndex:10001},dC={width:y,height:y,color:I||"#6c757d","--icon-rotation":_A&&Ee?"rotate(180deg)":"rotate(0deg)"},BA={color:N||"#212529",marginBottom:g,fontWeight:x},RA={color:S||"#6c757d"},FA={color:$||"#dc3545",marginTop:f},EA=bA(),nt=Bt(e),lC=nt?Ce==="minutes"?`${nt.toLocaleDateString(Qw)} ${nt.getHours().toString().padStart(2,"0")}:${nt.getMinutes().toString().padStart(2,"0")}`:nt.toLocaleDateString(Qw):"",OA=!!Y&&(ee==="icon"||ee==="auto"&&!nt),UA=ie||(nt?`${xA}${lC}`:MA);return o.jsxs("div",{className:`${U.datePickerContainer} ${i}`,ref:TL,style:TA,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&o.jsx("label",{className:U.label,style:BA,children:n}),o.jsxs("button",{ref:Rc,type:"button",onClick:()=>!s&&Rt(!Ee),onKeyDown:PA,className:`
|
|
8170
8170
|
${U.datePickerButton}
|
|
8171
8171
|
${Ee?U.datePickerButtonOpen:""}
|
|
8172
8172
|
${s?U.datePickerButtonDisabled:""}
|
|
8173
|
-
`,style:HA,disabled:s,"aria-expanded":Ee,"aria-haspopup":"dialog","aria-label":UA,"aria-labelledby":n?`${n}-label`:void 0,children:[OA?o.jsx("span",{className:U.displayNode,"aria-hidden":!0,children:Y}):o.jsx("span",{className:`${U.datePickerLabel} ${nt?"":U.placeholder}`,style:nt?void 0:RA,children:nt?lC:c}),oe?o.jsx("span",{className:U.chevron,style:dC,children:oe}):o.jsx(B1,{fill:"var(--color-text)",className:`${U.chevron} ${Ee?U.chevronOpen:""}`,style:dC})]}),d&&o.jsx("div",{className:U.errorMessage,style:FA,children:d}),Ee&&!s&&uw.createPortal(o.jsxs("div",{id:"datepicker-dropdown",ref:aC,className:U.dropdown,style:DA,role:"dialog","aria-label":vA,children:[o.jsxs("div",{className:U.calendarHeader,children:[o.jsx("button",{type:"button",className:U.navButton,onClick:NA,"aria-label":Dt,children:"‹"}),o.jsxs("div",{className:U.headerSelectors,children:[o.jsxs("div",{className:U.monthSelector,ref:HL,children:[o.jsxs("button",{type:"button",className:U.selectorButton,onClick:()=>Dc(!VL),style:{color:
|
|
8173
|
+
`,style:HA,disabled:s,"aria-expanded":Ee,"aria-haspopup":"dialog","aria-label":UA,"aria-labelledby":n?`${n}-label`:void 0,children:[OA?o.jsx("span",{className:U.displayNode,"aria-hidden":!0,children:Y}):o.jsx("span",{className:`${U.datePickerLabel} ${nt?"":U.placeholder}`,style:nt?void 0:RA,children:nt?lC:c}),oe?o.jsx("span",{className:U.chevron,style:dC,children:oe}):o.jsx(B1,{fill:"var(--color-text)",className:`${U.chevron} ${Ee?U.chevronOpen:""}`,style:dC})]}),d&&o.jsx("div",{className:U.errorMessage,style:FA,children:d}),Ee&&!s&&uw.createPortal(o.jsxs("div",{id:"datepicker-dropdown",ref:aC,className:U.dropdown,style:DA,role:"dialog","aria-label":vA,children:[o.jsxs("div",{className:U.calendarHeader,children:[o.jsx("button",{type:"button",className:U.navButton,onClick:NA,"aria-label":Dt,children:"‹"}),o.jsxs("div",{className:U.headerSelectors,children:[o.jsxs("div",{className:U.monthSelector,ref:HL,children:[o.jsxs("button",{type:"button",className:U.selectorButton,onClick:()=>Dc(!VL),style:{color:T,"--hover-color":b},children:[(se||xS)[le.getMonth()],o.jsx(B1,{fill:"var(--color-text)",className:`${U.selectorChevron} ${VL?U.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),VL&&o.jsx("div",{className:U.monthDropdown,children:(se||xS).map((B,G)=>o.jsx("button",{type:"button",className:`${U.monthItem} ${le.getMonth()===G?U.monthItemSelected:""}`,onClick:()=>AA(G),style:{padding:M,backgroundColor:le.getMonth()===G?_||"#e7f1ff":C},onMouseEnter:xe=>{b&&le.getMonth()!==G&&(xe.currentTarget.style.backgroundColor=b)},onMouseLeave:xe=>{b&&(xe.currentTarget.style.backgroundColor=le.getMonth()===G?_||"#e7f1ff":C)},children:B},G))})]}),o.jsxs("div",{className:U.yearSelector,ref:DL,children:[o.jsxs("button",{type:"button",className:U.selectorButton,onClick:()=>Bc(!PL),style:{color:T,"--hover-color":b},children:[le.getFullYear(),o.jsx(B1,{fill:"var(--color-text)",className:`${U.selectorChevron} ${PL?U.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),PL&&o.jsx("div",{className:U.yearDropdown,children:VA().map(B=>o.jsx("button",{type:"button",className:`${U.yearItem} ${le.getFullYear()===B?U.yearItemSelected:""}`,onClick:()=>zA(B),style:{padding:M,backgroundColor:le.getFullYear()===B?_||"#e7f1ff":C},onMouseEnter:G=>{b&&le.getFullYear()!==B&&(G.currentTarget.style.backgroundColor=b)},onMouseLeave:G=>{b&&(G.currentTarget.style.backgroundColor=le.getFullYear()===B?_||"#e7f1ff":C)},children:B},B))})]})]}),o.jsx("button",{type:"button",className:U.navButton,onClick:jA,"aria-label":gA,children:"›"})]}),o.jsx("div",{className:U.weekdays,children:(Ht||tge).map(B=>o.jsx("div",{className:U.weekday,style:{color:R},children:B},B))}),o.jsx("div",{className:U.calendarGrid,children:EA.map((B,G)=>{if(!B)return null;const xe=wA(B,p1),Ft=CA(B),yt=be=>new Date(be.getFullYear(),be.getMonth(),be.getDate()).getTime(),Je=!!(Ne&&yt(B)<yt(Ne)||pt&&yt(B)>yt(pt));return o.jsx("button",{type:"button",className:`${U.dateCell} ${xe?U.dateCellSelected:""} ${xe?U.dateCellOtherMonthSelected:""} ${Ft?"":U.dateCellOtherMonth} ${Je?U.dateCellDisabled:""}`,onClick:()=>!Je&&SA(B),disabled:Je,style:{width:q,height:q,color:xe?te:Ft?z:F,backgroundColor:xe?K:"transparent",opacity:Je?.4:1,cursor:Je?"not-allowed":"pointer"},onMouseEnter:be=>{!xe&&!Je&&b&&(be.currentTarget.style.backgroundColor=b)},onMouseLeave:be=>{xe||(be.currentTarget.style.backgroundColor="transparent")},children:B.getDate()},G)})}),Ce==="minutes"&&o.jsxs("div",{className:U.timePickerContainer,children:[o.jsxs("div",{className:U.timeGroup,children:[o.jsx("span",{className:U.timeLabel,children:Re}),o.jsx("div",{className:U.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"23",value:J1,onChange:B=>{const G=parseInt(B.target.value);!isNaN(G)&&G>=0&&G<=23&&AL(G)},className:U.timeInput,style:Ec?{borderColor:"#dc2626",color:"#dc2626"}:void 0})})]}),o.jsx("span",{className:U.timeSeparator,children:":"}),o.jsxs("div",{className:U.timeGroup,children:[o.jsx("span",{className:U.timeLabel,children:ge}),o.jsx("div",{className:U.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"59",value:Q1,onChange:B=>{const G=parseInt(B.target.value);!isNaN(G)&&G>=0&&G<=59&&zL(G)},className:U.timeInput,style:Ec?{borderColor:"#dc2626",color:"#dc2626"}:void 0})})]})]}),Ec&&o.jsx("div",{role:"alert",style:{color:"#dc2626",fontSize:"0.75rem",padding:"0 4px 4px",textAlign:"center"},children:h1}),o.jsxs("div",{className:U.calendarFooter,children:[o.jsx("button",{type:"button",className:U.cancelButton,onClick:qA,style:{backgroundColor:ne,color:Me,borderRadius:A,padding:M},children:$L}),o.jsx("button",{type:"button",className:U.applyButton,onClick:$A,disabled:Ec,style:{backgroundColor:me,color:je,borderRadius:A,padding:M,opacity:Ec?.5:1,cursor:Ec?"not-allowed":"pointer"},children:_e})]})]}),document.body)]})},age="_selectContainer_1ptm9_1",nge="_label_1ptm9_15",oge="_selectButton_1ptm9_23",cge="_selectButtonDisabled_1ptm9_43",ige="_selectButtonOpen_1ptm9_48",rge="_selectButtonContent_1ptm9_58",sge="_selectIcon_1ptm9_66",dge="_selectLabel_1ptm9_72",lge="_placeholder_1ptm9_79",hge="_chevron_1ptm9_84",uge="_errorMessage_1ptm9_93",pge="_dropdown_1ptm9_99",yge="_dropdownContent_1ptm9_123",kge="_item_1ptm9_129",mge="_itemSelected_1ptm9_151",fge="_itemContent_1ptm9_155",gge="_itemIcon_1ptm9_162",vge="_itemLabel_1ptm9_168",we={selectContainer:age,label:nge,selectButton:oge,selectButtonDisabled:cge,selectButtonOpen:ige,selectButtonContent:rge,selectIcon:sge,selectLabel:dge,placeholder:lge,chevron:hge,errorMessage:uge,dropdown:pge,dropdownContent:yge,item:kge,itemSelected:mge,itemContent:fge,itemIcon:gge,itemLabel:vge},kA=({items:e,value:t,onChange:n,label:c,placeholder:i="Sélectionner...",className:r="",fullWidth:s=!0,disabled:d=!1,error:h,buttonHeight:l="var(--select-button-height, 2.75rem)",buttonPadding:u="var(--select-button-padding, 0.75rem)",dropdownMaxHeight:p="var(--select-dropdown-max-height, 15rem)",fontSize:y="var(--select-font-size, 0.875rem)",fontWeight:g,iconSize:f="var(--select-icon-size, 1.5rem)",labelMarginBottom:m="var(--select-label-margin-bottom, 0.5rem)",errorMarginTop:M="var(--select-error-margin-top, 0.25rem)",dropdownMarginTop:x="var(--select-dropdown-margin-top, 0.25rem)",itemPadding:v="var(--select-item-padding, 0.5rem 0.75rem)",gap:L="var(--select-gap, 0.5rem)",buttonBgColor:w,buttonBorderColor:C,buttonTextColor:b,dropdownBgColor:_,itemHoverColor:I,selectedItemBgColor:$,iconColor:N,errorColor:S,labelColor:A,placeholderColor:D,border:H,borderRadius:P="var(--select-border-radius, 0.5rem)",borderWidth:j="var(--select-border-width, 0.0625rem)",boxShadow:q="var(--select-box-shadow, 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1))",transitionDuration:T="var(--select-transition-duration, 0.2s)",transitionTiming:R="var(--select-transition-timing, ease)",scrollbarWidth:z="var(--select-scrollbar-width, 0.375rem)",scrollbarTrackColor:F="var(--select-scrollbar-track-color, #f1f1f1)",scrollbarThumbColor:K="var(--select-scrollbar-thumb-color, #c1c1c1)",width:te,minWidth:ne,dropdownPosition:Me="bottom",dropdownAlignment:me="right",dropdownWidth:je,a11yConfig:he,titleKey:Y})=>{const[ee,ie]=k.useState(!1),ue=k.useRef(null),re=e.find(_e=>_e.value===t);k.useEffect(()=>{const _e=Dt=>{ue.current&&!ue.current.contains(Dt.target)&&ie(!1)};return document.addEventListener("mousedown",_e),()=>document.removeEventListener("mousedown",_e)},[]);const W=_e=>{d||(n(_e),ie(!1))},O=_e=>{if(!d)switch(_e.key){case"Enter":case" ":_e.preventDefault(),ie(!ee);break;case"Escape":ie(!1);break;case"Tab":ee&&ie(!1);break}},oe={width:te||(s?"100%":"auto"),minWidth:ne,fontSize:y},Ce={height:l,padding:u,backgroundColor:w||"var(--select-button-bg-color, #ffffff)",border:H,borderColor:h?S||"var(--select-error-color, #dc3545)":C||"var(--select-button-border-color, #dee2e6)",color:b||"var(--select-button-text-color, #212529)",borderRadius:P,borderWidth:j,transition:`all ${T} ${R}`,fontWeight:g},Re={backgroundColor:_||"var(--select-dropdown-bg-color, #ffffff)",maxHeight:p,borderRadius:P,borderWidth:j,boxShadow:q,transition:`opacity ${T} ${R}, transform ${T} ${R}`,position:"absolute",top:Me==="bottom"?"100%":"auto",bottom:Me==="top"?"100%":"auto",left:me==="left"?0:"auto",right:me==="right"?0:"auto",width:je||(s?"100%":"auto"),marginTop:Me==="bottom"?x:0,marginBottom:Me==="top"?x:0,zIndex:1001},ge={width:f,height:f,color:N||"var(--select-icon-color, #6c757d)","--icon-rotation":ee?"rotate(180deg)":"rotate(0deg)"},Ne={color:A||"var(--select-label-color, #212529)",marginBottom:m},pt={color:D||"var(--select-placeholder-color, #6c757d)"},h1={color:S||"var(--select-error-color, #dc3545)",marginTop:M},se={padding:v,transition:`background-color ${T} ${R}`,fontWeight:g},Ht={gap:L},$L={"--scrollbar-width":z,"--scrollbar-track-color":F,"--scrollbar-thumb-color":K};return o.jsxs("div",{className:`${we.selectContainer} ${r}`,ref:ue,style:oe,"data-fullwidth":s,"data-disabled":d,"data-error":!!h,title:Q(he,Y),children:[c&&o.jsx("label",{className:we.label,style:Ne,children:c}),o.jsxs("button",{type:"button",onClick:()=>!d&&ie(!ee),onKeyDown:O,className:`
|
|
8174
8174
|
${we.selectButton}
|
|
8175
8175
|
${ee?we.selectButtonOpen:""}
|
|
8176
8176
|
${d?we.selectButtonDisabled:""}
|
|
8177
8177
|
`,style:Ce,disabled:d,"aria-expanded":ee,"aria-haspopup":"listbox","aria-labelledby":c?`${c}-label`:void 0,children:[o.jsxs("div",{className:we.selectButtonContent,style:Ht,children:[re?.icon&&o.jsx("span",{className:we.selectIcon,style:ge,children:re.icon}),o.jsx("span",{className:`${we.selectLabel} ${re?"":we.placeholder}`,style:re?void 0:pt,children:re?re.label:i})]}),o.jsx(B1,{fill:"var(--color-text)",className:`${we.chevron} ${ee?we.chevronOpen:""}`,style:ge})]}),h&&o.jsx("div",{className:we.errorMessage,style:h1,children:h}),ee&&!d&&o.jsx("div",{className:we.dropdown,style:Re,role:"listbox","aria-label":c||"Options de sélection",children:o.jsx("div",{className:we.dropdownContent,style:$L,children:e.map(_e=>o.jsx("button",{type:"button",onClick:()=>W(_e.value),className:`
|
|
8178
8178
|
${we.item}
|
|
8179
8179
|
${t===_e.value?we.itemSelected:""}
|
|
8180
|
-
`,style:{...se,backgroundColor:t===_e.value?S||"#F0F4F6":"transparent"},onMouseEnter:Dt=>{I&&(Dt.currentTarget.style.backgroundColor=I)},onMouseLeave:Dt=>{I&&(Dt.currentTarget.style.backgroundColor=t===_e.value?S||"#F0F4F6":"transparent")},role:"option","aria-selected":t===_e.value,children:o.jsxs("div",{className:we.itemContent,style:Ht,children:[_e.icon&&o.jsx("span",{className:we.itemIcon,style:ge,children:_e.icon}),o.jsx("span",{className:we.itemLabel,children:_e.label})]})},_e.value))})})]})},Mge="_filterBar_1hlqe_3",xge="_label_1hlqe_11",_S={filterBar:Mge,label:xge},_ge=({label:e="Filtres",startDate:t,endDate:n,granularity:c,onStartDateChange:i,onEndDateChange:r,onGranularityChange:s,granularityItems:d,startDatePlaceholder:h="Date début",endDatePlaceholder:l="Date fin",granularityPlaceholder:u="Sélectionner...",className:p="",disabled:y=!1,gap:g="0.75rem",labelFontSize:f="0.875rem",labelFontWeight:m="400",labelColor:M="#212529",labelMarginRight:x="1rem",startDateWidth:v,endDateWidth:L,selectWidth:w,datePickerProps:C={},selectProps:b={},rightContent:_,extraContent:I})=>{const S={fontSize:f,fontWeight:m,color:M,marginRight:x},N={gap:g};return o.jsxs("div",{className:`${_S.filterBar} ${p}`,style:N,children:[e&&o.jsx("span",{className:_S.label,style:S,children:e}),o.jsx(hw,{value:t,onChange:i,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:v,...C}),o.jsx(hw,{value:n,onChange:r,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:L,...C}),o.jsx(kA,{items:d,value:c,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:w,...b}),I,_&&o.jsx("div",{style:{marginLeft:"auto"},children:_})]})},Lge="_container_1x6mq_16",Ige="_disabled_1x6mq_26",bge="_predStyle_1x6mq_32",wge="_realStyle_1x6mq_36",Cge="_predGap_1x6mq_40",Nge="_realGap_1x6mq_44",jge="_big_1x6mq_49",Sge="_medium_1x6mq_53",$ge="_iconWrapper_1x6mq_58",qge="_predRelative_1x6mq_68",Age="_realRelative_1x6mq_72",zge="_iconImg_1x6mq_76",Vge="_content_1x6mq_84",Pge="_header_1x6mq_93",Tge="_predJustify_1x6mq_99",Hge="_realJustify_1x6mq_103",Dge="_predHeaderLineHeight_1x6mq_116",Bge="_realHeaderLineHeight_1x6mq_120",Rge="_title_1x6mq_129",Fge="_titleBlack_1x6mq_144",Ege="_titleWhite_1x6mq_148",Oge="_subtitle_1x6mq_153",Uge="_valueRowHorizontal_1x6mq_163",Wge="_valueRowVertical_1x6mq_171",Gge="_singleValue_1x6mq_180",Kge="_primaryRow_1x6mq_184",Zge="_maxBadge_1x6mq_191",Xge="_valuePrimary_1x6mq_203",Yge="_valuePrimaryBlack_1x6mq_210",Jge="_valuePrimaryWhite_1x6mq_214",Qge="_valueSlash_1x6mq_219",e7e="_valueSecondary_1x6mq_226",t7e="_valueSecondaryBlue_1x6mq_232",a7e="_valueSecondaryWhite_1x6mq_236",n7e="_valueSecondaryBlack_1x6mq_240",o7e="_valueStacked_1x6mq_245",c7e="_stackedTop_1x6mq_254",i7e="_stackedBottom_1x6mq_255",pe={container:Lge,disabled:Ige,predStyle:bge,realStyle:wge,predGap:Cge,realGap:Nge,big:jge,medium:Sge,iconWrapper:$ge,predRelative:qge,realRelative:Age,iconImg:zge,content:Vge,header:Pge,predJustify:Tge,realJustify:Hge,predHeaderLineHeight:Dge,realHeaderLineHeight:Bge,title:Rge,titleBlack:Fge,titleWhite:Ege,subtitle:Oge,valueRowHorizontal:Uge,valueRowVertical:Wge,singleValue:Gge,primaryRow:Kge,maxBadge:Zge,valuePrimary:Xge,valuePrimaryBlack:Yge,valuePrimaryWhite:Jge,valueSlash:Qge,valueSecondary:e7e,valueSecondaryBlue:t7e,valueSecondaryWhite:a7e,valueSecondaryBlack:n7e,valueStacked:o7e,stackedTop:c7e,stackedBottom:i7e},r7e=({a11yConfig:e,iconName:t,title:n,subtitle:c,showSubtitle:i,realised:r="-",prediction:s="-",size:d="big",titleColor:h="black",valueColor:l="blue",realValueColor:u,className:p="",style:y="",variant:g="horizontal",showMax:f=!1,titleFontSize:m,titleFontWeight:M,subtitleFontSize:x,subtitleFontWeight:v,primaryFontSize:L,primaryFontWeight:w,secondaryFontSize:C,secondaryFontWeight:b,backgroundColor:_="#f2f9fc",gap:I="",disabled:S=!1,positionRelative:N="",justifyContent:j="",headerLineHeight:A="",headerMinHeight:R="",contentSpace:T="",titleKey:V,subtitleKey:$,subtitleA11yKey:q,maxBadgeKey:P,maxBadgeA11yKey:H,predictionKey:D,predictionA11yKey:E,realisedKey:K,realisedA11yKey:te})=>{const ne=i!==void 0?i:!!c,Me=`${pe.container} ${pe[d]} ${pe[y]} ${S?pe.disabled:""}`,me=l==="white"?pe.valuePrimaryWhite:pe.valuePrimaryBlack,je=l==="blue"?pe.valueSecondaryBlue:l==="white"?pe.valueSecondaryWhite:pe.valueSecondaryBlack,he=re=>re===void 0?void 0:typeof re=="number"?`${re}px`:re,Y=re=>re===void 0?void 0:re,ee=g==="vertical",ie=s!=null&&s!==""&&s!=="-"&&s!=="—",ue=ee?pe.valueRowVertical:pe.valueRowHorizontal;return o.jsxs("div",{className:`${Me} ${p}`,style:{backgroundColor:_},children:[t&&o.jsx("div",{className:`${pe.iconWrapper} ${pe[N]}`,children:t}),o.jsxs("div",{className:`${pe.content} ${pe[I]} ${ie?"":pe.singleValue} content-indicator-v2`,style:{justifyContent:T},children:[o.jsx("div",{className:`${pe.header} ${pe[j]} ${pe[A]} header-indicator-v2`,style:{minHeight:R},children:o.jsx("h6",{className:`${pe.title}`,style:{fontSize:he(m),fontWeight:Y(M),color:h},title:Q(e,V),children:n})}),ne&&c?o.jsx("div",{className:"subtitle-container",children:o.jsx("span",{className:pe.subtitle,style:{fontSize:he(x),fontWeight:Y(v)},title:Q(e,$,q),children:c})}):null,o.jsxs("div",{className:`${ue} count-indicator-v2`,children:[o.jsxs("div",{className:pe.primaryRow,children:[f&&o.jsx("span",{className:`${pe.maxBadge} max-badge-indicator-v2`,title:Q(e,P,H),children:"MAX"}),o.jsx("span",{className:`${pe.valuePrimary} ${me}`,style:{fontSize:he(L||(!ie&&ee?"1.75rem":void 0)),fontWeight:Y(w),color:u||void 0},title:Q(e,K,te),children:r})]}),ie&&o.jsxs(o.Fragment,{children:[!ee&&o.jsx("span",{className:pe.valueSlash,style:{fontSize:he(C),fontWeight:Y(b)},children:"/"}),o.jsx("span",{className:`${pe.valueSecondary} ${je}`,style:{fontSize:he(C),fontWeight:Y(b)},title:Q(e,D,E),children:s})]})]})]})]})},s7e="_banner_f10in_2",d7e="_iep_f10in_14",l7e="_groupSmall_f10in_24",h7e="_genre_f10in_34",u7e="_gravite_f10in_42",p7e="_orientationContainer_f10in_48",y7e="_service_f10in_61",k7e="_roomBedContainer_f10in_71",m7e="_room_f10in_71",f7e="_bed_f10in_87",g7e="_bedUf_f10in_92",v7e="_statusContainer_f10in_97",M7e="_status_f10in_97",x7e="_centeredWarn_f10in_124",He={banner:s7e,iep:d7e,groupSmall:l7e,genre:h7e,gravite:u7e,orientationContainer:p7e,service:y7e,roomBedContainer:k7e,room:m7e,bed:f7e,bedUf:g7e,statusContainer:v7e,status:M7e,centeredWarn:x7e},_7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},J.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},J.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),J.createElement("g",{mask:"url(#a)"},J.createElement("path",{fill:"#C60000",d:"M.666 14 7.999 1.333 15.333 14zm2.3-1.333h10.067L7.999 4zm5.508-.859a.65.65 0 0 0 .192-.475.65.65 0 0 0-.192-.475.65.65 0 0 0-.475-.191.65.65 0 0 0-.475.191.65.65 0 0 0-.191.475q0 .285.191.475A.65.65 0 0 0 8 12a.65.65 0 0 0 .475-.192M7.333 10h1.333V6.667H7.333z"}))),LS=k.memo(_7e),L7e=({patient:e,genre:t,gravite:n,bed:c,bed_uf:i,room:r,orientation:s,status:d,backgroundColor:h="#ffffff",primaryFontColor:l="#111827",secondaryFontColor:u="#6b7280",statusFontColor:p="#0284c7",statusBackgroundColor:y="#e0f2fe",genreBackgroundColor:g="#9ca3af",genreFontSize:f,style:m,warn:M=!1,warnMessage:x,warnColor:v="#F94134"})=>o.jsxs("div",{className:He.banner,style:{backgroundColor:h,...m},children:[o.jsxs("div",{className:He.iep,children:[o.jsx("div",{style:{color:u},children:e.iep??"--"}),o.jsxs("div",{style:{color:l},children:[((e.nom||"").trim().split(/\s+/)[0]||"").substring(0,3).toUpperCase(),"."," ",((e.prenom||"").trim().split(/\s+/)[0]||"").substring(0,3).toLowerCase().replace(/^./,L=>L.toUpperCase()),".(",e.age,")"]})]}),o.jsxs("div",{className:He.groupSmall,children:[o.jsx("span",{className:`${He.genre} genre-info-banner`,style:{color:"#ffffff",background:g,fontSize:f},children:t??"--"}),o.jsx("span",{className:`${He.gravite} gravite-info-banner`,children:n??"--"})]}),o.jsx("div",{className:He.orientationContainer,children:o.jsx("div",{className:He.service,style:{color:l},children:s??"--"})}),o.jsxs("div",{className:He.roomBedContainer,children:[i&&o.jsx("span",{className:He.bedUf,children:i}),o.jsx("span",{className:He.room,children:r??"--"}),o.jsx("span",{className:He.bed,children:c??"--"})]}),o.jsxs("div",{className:He.statusContainer,children:[d?o.jsx("div",{className:`${He.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):M&&o.jsxs("div",{className:He.centeredWarn,style:{textTransform:"uppercase"},children:[o.jsx(LS,{color:v,width:20,height:20,style:{marginRight:"6px"}}),o.jsx("span",{style:{color:v,fontSize:"12px",fontWeight:600},children:x})]}),d&&M&&o.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:v,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[o.jsx(LS,{color:v,width:12,height:12,style:{marginRight:"4px"}}),o.jsx("span",{children:x})]})]})]}),I7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),b7e=k.memo(I7e),w7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231z"})),mA=k.memo(w7e),C7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),N7e=k.memo(C7e),j7e="_overlay_1uxex_1",S7e="_container_1uxex_11",$7e="_fullscreen_1uxex_24",q7e="_header_1uxex_30",A7e="_headerActions_1uxex_42",z7e="_iconButton_1uxex_47",V7e="_body_1uxex_58",P7e="_sidebar_1uxex_65",T7e="_content_1uxex_91",H7e="_contentHeader_1uxex_98",D7e="_childrenWrapper_1uxex_114",B7e="_footer_1uxex_138",R7e="_baseButton_1uxex_146",F7e="_noOverlay_1uxex_160",E7e="_contained_1uxex_168",Se={overlay:j7e,container:S7e,fullscreen:$7e,header:q7e,headerActions:A7e,iconButton:z7e,body:V7e,sidebar:P7e,content:T7e,contentHeader:H7e,childrenWrapper:D7e,footer:B7e,baseButton:R7e,noOverlay:F7e,contained:E7e},O7e=({headerText:e,headerTextColor:t="var(--color-text)",backgroundColor:n="var(--color-background)",headerFontSize:c="1rem",headerFontWeight:i="600",isOpen:r,onClose:s,leftButton:d,rightButton:h,children:l,contentTitle:u,contentBackgroundColor:p="var(--color-content-background)",sideContent:y,hideMaximize:g=!1,hideHeader:f=!1,hideSidebar:m=!1,onDelete:M,deleteLabel:x="Supprimer",width:v="75%",maxWidth:L="none",height:w="85%",maxHeight:C="85%",borderRadius:b="0.5rem",childrenPadding:_="1rem",overflow:I="auto",contentHeaderAction:S,contentFooterAction:N,hideFooter:j=!1,hideOverlay:A=!1,position:R,a11yConfig:T})=>{const[V,$]=k.useState(!1),q=k.useRef(null);if(k.useEffect(()=>{if(!r||!A)return;const H=D=>{(D.type==="scroll"||D.type==="wheel"||D.type==="touchmove"||q.current&&!q.current.contains(D.target))&&s()};return document.addEventListener("mousedown",H),document.addEventListener("scroll",H,!0),document.addEventListener("wheel",H,{passive:!0,capture:!0}),document.addEventListener("touchmove",H,{passive:!0,capture:!0}),()=>{document.removeEventListener("mousedown",H),document.removeEventListener("scroll",H,!0),document.removeEventListener("wheel",H,!0),document.removeEventListener("touchmove",H,!0)}},[r,A,s]),!r)return null;const P=(H,D=!1)=>o.jsx(iL,{onClick:H.disabled?void 0:H.onClick,className:Se.baseButton,disabled:H.disabled,style:{background:H.backgroundColor??(D?"#008FBB":"#ffffff"),color:H.textColor??(D?"#ffffff":"#374151"),border:H.borderColor||D?"none":void 0,cursor:H.disabled?H.cursor??"not-allowed":H.cursor??"pointer",filter:H.disabled?H.filter??"grayscale(0.5)":H.filter??"none",opacity:H.disabled?.65:1},title:Q(H.a11yConfig,H.text),children:H.text});return o.jsx("div",{className:A?Se.noOverlay:Se.overlay,onClick:s,children:o.jsxs("div",{ref:q,className:`${Se.container} ${V?Se.fullscreen:""} ${A?Se.contained:""}`,onClick:H=>H.stopPropagation(),style:{width:V?"100%":v,maxWidth:V?"none":L,height:V?"100%":w,maxHeight:V?"100%":C,borderRadius:V?"0":b,overflow:I,...R||{}},children:[!f&&o.jsxs("header",{className:Se.header,style:{backgroundColor:n},children:[o.jsx("h2",{style:{fontSize:c,fontWeight:i,color:t},title:Q(T,e),children:e}),o.jsxs("div",{className:Se.headerActions,children:[!g&&o.jsx("button",{onClick:()=>$(!V),className:Se.iconButton,title:V?"Réduire":"Agrandir",children:V?o.jsx(N7e,{width:22,height:22,fill:t}):o.jsx(b7e,{width:22,height:22,fill:t})}),o.jsx("button",{onClick:s,className:Se.iconButton,title:"Fermer",children:o.jsx(mA,{width:22,height:22,fill:t})})]})]}),o.jsxs("div",{className:Se.body,style:{overflow:I},children:[y&&!m&&o.jsx("aside",{className:Se.sidebar,children:y}),o.jsxs("main",{className:Se.content,style:{backgroundColor:p,overflow:I},children:[u&&o.jsxs("header",{className:Se.contentHeader,style:{backgroundColor:n},children:[o.jsx("span",{style:{color:t},children:u}),S]}),o.jsx("div",{className:Se.childrenWrapper,style:{padding:_,overflow:I},children:l})]})]}),!j&&o.jsxs("footer",{className:Se.footer,style:{backgroundColor:n},children:[M&&o.jsx(iL,{onClick:M,className:Se.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:x}),N,P(d),P(h,!0)]})]})})},U7e="_container_1vb1c_1",W7e="_searchWrapper_1vb1c_10",G7e="_navItems_1vb1c_17",Tb={container:U7e,searchWrapper:W7e,navItems:G7e},K7e=({items:e,activeId:t,activeColor:n="#00aec7",backgroundColor:c="#fff",textColor:i="#000",onItemClick:r,searchValue:s="",onSearchChange:d,searchPlaceholder:h="Rechercher",width:l="100%",className:u=""})=>o.jsxs("div",{className:`${Tb.container} ${u}`,style:{width:l,backgroundColor:c,color:i},children:[o.jsx("div",{className:Tb.searchWrapper,children:o.jsx(dA,{value:s,onChange:d,placeholder:h,iconPosition:"right",iconColor:"var(--color-text)"})}),o.jsx("div",{className:Tb.navItems,children:e.map(p=>o.jsx(Jw,{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))})]}),Z7e=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:c,onItemAdd:i,onEditModule:r,onDeleteModule:s,onReorder:d,title:h="Modules",titleKey:l,addModuleTitle:u="Ajouter un module",addModuleLabel:p="Titre",addModulePlaceholder:y="Nom du module",renameModuleTitle:g="Renommer le module",renameModuleLabel:f="Titre",renameModulePlaceholder:m="Nom du module",confirmText:M="Valider",cancelText:x="Annuler",headerLabel:v,headerLabelKey:L,showAddIcon:w=!0,showCount:C=!0,showToggle:b=!1,showActions:_=!0,onToggle:I,a11yConfig:S})=>{const[N,j]=k.useState(!1),[A,R]=k.useState(null),[T,V]=k.useState(null),[$,q]=k.useState(null),[P,H]=k.useState(null),D=()=>{H(W=>W===null?"asc":W==="asc"?"desc":null),I&&I()},E=k.useMemo(()=>P?[...e].sort((W,O)=>{const oe=W.title.toLowerCase(),Ce=O.title.toLowerCase();return P==="asc"?oe.localeCompare(Ce):Ce.localeCompare(oe)}):e,[e,P]),K=()=>j(!0),te=()=>j(!1),ne=W=>{const O=W.title?.trim();O&&c&&c(O),te()},Me=(W,O)=>{W.stopPropagation(),R(O)},me=()=>R(null),je=W=>{const O=W.title?.trim();A&&O&&r&&r(A,O),me()},he=(W,O)=>{W.stopPropagation(),s&&s(O)},Y=(W,O)=>{W.stopPropagation(),i&&i(O)},ee=(W,O)=>{V(O),W.dataTransfer.effectAllowed="move"},ie=(W,O)=>{T!==null&&(W.preventDefault(),W.dataTransfer.dropEffect="move",O!==$&&q(O))},ue=(W,O)=>{if(W.preventDefault(),T===null||T===O||!d)return;const oe=[...E],[Ce]=oe.splice(T,1);oe.splice(O,0,Ce),H(null),d(oe),V(null),q(null)},re=()=>{V(null),q(null)};return o.jsxs("div",{className:"module-sidebar-v2",children:[o.jsx("div",{className:"sidebar-header",children:v?o.jsxs("div",{className:"header-label-container",onClick:D,children:[o.jsx("div",{className:"header-label",title:Q(S,L),children:v}),P==="asc"?o.jsx(Qc,{size:12,className:"header-toggle-icon",strokeWidth:3}):o.jsx(Jc,{size:12,className:"header-toggle-icon",strokeWidth:3})]}):o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"header-title",title:Q(S,l),children:[b&&(P==="asc"?o.jsx(Qc,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:D}):o.jsx(Jc,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:D})),h," ",C&&`(${E.length})`]}),w&&o.jsx(t1,{size:18,className:"add-view-icon",onClick:K})]})}),o.jsx("div",{className:"module-list",children:E.map((W,O)=>o.jsxs("div",{className:`module-item ${W.id===t?"selected":""} ${$===O&&T!==O?"drag-over":""} ${T===O?"dragging":""}`,onClick:()=>n&&n(W),draggable:!!d,onDragStart:d?oe=>ee(oe,O):void 0,onDragOver:d?oe=>ie(oe,O):void 0,onDrop:d?oe=>ue(oe,O):void 0,onDragEnd:d?re:void 0,children:[W.icon||o.jsx($1,{size:18,className:"drag-handle"}),o.jsxs("div",{className:"module-content",title:Q(W.a11yConfig,W.titleKey),children:[o.jsx("div",{className:"module-title",children:W.title}),W.subtitle&&o.jsx("div",{className:"module-subtitle",children:W.subtitle})]}),typeof W.count<"u"&&o.jsx("span",{className:"module-count",children:W.count}),_&&o.jsxs("div",{className:"module-actions",children:[i&&o.jsx(Ac,{size:14,className:"action-icon add",onClick:oe=>Y(oe,W)}),r&&o.jsx(gt,{size:12,className:"action-icon edit",onClick:oe=>Me(oe,W)}),s&&o.jsx(lt,{size:12,className:"action-icon delete",onClick:oe=>he(oe,W)})]})]},W.id))}),o.jsx(Tc,{isOpen:N,onClose:te,onSave:ne,title:u,fields:[{name:"title",label:p,placeholder:y}],confirmText:M,cancelText:x}),A&&o.jsx(Tc,{isOpen:!!A,onClose:me,onSave:je,title:g,initialValues:{title:A.title},fields:[{name:"title",label:f,placeholder:m}],confirmText:M,cancelText:x})]})},X7e=({keyName:e,translations:t,availableLanguages:n,onChange:c,onRename:i,onDelete:r,a11yConfig:s})=>{const[d,h]=k.useState(!1),[l,u]=k.useState(e),[p,y]=k.useState(null),[g,f]=k.useState(""),[m,M]=k.useState(!1),[x,v]=k.useState(""),[L,w]=k.useState(""),C=k.useMemo(()=>{const $={};return Array.isArray(t)&&t.forEach(q=>{q&&q.language&&($[q.language.toUpperCase()]=q.value)}),$},[t]),b=k.useMemo(()=>n,[n]),_=()=>{h(!1),l!==e&&l.trim()!==""?i&&i(l.trim()):u(e)},I=$=>{$.key==="Enter"?_():$.key==="Escape"&&(u(e),h(!1))},S=$=>{const q=$.toUpperCase();y(q),f(C[q]||"")},N=()=>{p&&(c(p,g),y(null),f(""))},j=$=>{$.key==="Enter"?N():$.key==="Escape"&&(y(null),f(""))},A=()=>{M(!0),b.length>0&&v(b[0].toUpperCase()),w("")},R=()=>{x&&L.trim()&&(c(x,L.trim()),M(!1),v(""),w(""))},T=()=>{M(!1),v(""),w("")},V=$=>{$.key==="Enter"?R():$.key==="Escape"&&T()};return o.jsxs("div",{className:"translation-key-v2",children:[o.jsxs("div",{className:"header",children:[d?o.jsx("input",{className:"key-name-input",value:l,onChange:$=>u($.target.value),onBlur:_,onKeyDown:I,autoFocus:!0}):o.jsx("h3",{className:"header-title",title:Q(s,e),children:e}),o.jsxs("div",{className:"header-actions",children:[o.jsx(gt,{size:16,className:"action-icon edit",onClick:()=>h(!0)}),o.jsx(lt,{size:16,className:"action-icon delete",onClick:r})]})]}),o.jsxs("div",{className:"translations-list",children:[n.map($=>{const q=$.toUpperCase(),P=C[q]||"",H=p===q;return o.jsxs("div",{className:"lang-row",children:[o.jsx("div",{className:"lang-label",children:q}),H?o.jsx("input",{className:"translation-input editing",value:g,onChange:D=>f(D.target.value),onBlur:N,onKeyDown:j,placeholder:"Entrez la traduction...",autoFocus:!0}):o.jsx("div",{className:`translation-value ${P?"":"empty"}`,onClick:()=>S($),title:"Cliquer pour éditer",children:P||"Cliquer pour ajouter..."})]},$)}),m?o.jsxs("div",{className:"lang-row add-row",children:[o.jsx("select",{className:"lang-select",value:x,onChange:$=>v($.target.value),children:b.map($=>o.jsx("option",{value:$.toUpperCase(),children:$.toUpperCase()},$))}),o.jsx("input",{className:"translation-input editing",value:L,onChange:$=>w($.target.value),onKeyDown:V,placeholder:"Mot",autoFocus:!0}),o.jsxs("div",{className:"add-actions",children:[o.jsx(w1,{size:18,className:"action-icon confirm",onClick:R}),o.jsx(Xe,{size:18,className:"action-icon cancel",onClick:T})]})]}):b.length>0&&o.jsxs("button",{className:"add-translation-btn",onClick:A,children:[o.jsx(Ac,{size:16}),o.jsx("span",{children:"Ajouter"})]})]})]})},Y7e="_overlay_1jz4r_1",J7e="_modal_1jz4r_15",Q7e="_body_1jz4r_27",eve="_footer_1jz4r_46",tve="_confirmButton_1jz4r_55",ave="_danger_1jz4r_75",nve="_cancelButton_1jz4r_83",wt={overlay:Y7e,modal:J7e,body:Q7e,footer:eve,confirmButton:tve,danger:ave,cancelButton:nve},ove=({isOpen:e,message:t,onConfirm:n,onCancel:c,confirmText:i="Confirmer",cancelText:r="Annuler",isDanger:s=!1,hideFooter:d=!1,secondaryConfirmText:h,onSecondaryConfirm:l})=>e?o.jsx("div",{className:wt.overlay,onClick:c,children:o.jsxs("div",{className:wt.modal,onClick:u=>u.stopPropagation(),children:[o.jsx("div",{className:wt.body,children:typeof t=="string"?o.jsx("p",{children:t}):t}),!d&&o.jsxs("div",{className:wt.footer,children:[i&&o.jsx("button",{className:`${wt.confirmButton} ${s?wt.danger:""}`,onClick:n,children:i}),h&&l&&o.jsx("button",{className:wt.confirmButton,onClick:l,children:h}),r&&o.jsx("button",{className:wt.cancelButton,onClick:c,children:r})]})]})}):null,cve="_card_1ildr_1",ive="_topIcon_1ildr_17",rve="_title_1ildr_24",sve="_text_1ildr_31",dve="_bottomIcon_1ildr_37",g1={card:cve,topIcon:ive,title:rve,text:sve,bottomIcon:dve},lve=({topIcon:e,title:t,text:n,bottomIcon:c,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:h="#fff",a11yConfig:l})=>o.jsxs("div",{className:`${g1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:h},title:Q(l,t),children:[e&&o.jsx("div",{className:g1.topIcon,children:e}),o.jsx("h3",{className:g1.title,style:{color:s},children:t}),o.jsx("p",{className:g1.text,style:{color:d},children:n}),c&&o.jsx("div",{className:g1.bottomIcon,children:c})]}),hve="_container_1bmmf_1",uve="_disabled_1bmmf_9",pve="_selectBox_1bmmf_14",yve="_selectBoxOpen_1bmmf_36",kve="_tagsContainer_1bmmf_41",mve="_tagsContainerWrap_1bmmf_51",fve="_tag_1bmmf_41",gve="_tagLabel_1bmmf_72",vve="_removeBtnContainer_1bmmf_78",Mve="_removeBtn_1bmmf_78",xve="_searchInput_1bmmf_103",_ve="_placeholder_1bmmf_123",Lve="_actions_1bmmf_130",Ive="_clearBtn_1bmmf_137",bve="_chevron_1bmmf_159",wve="_chevronOpen_1bmmf_165",Cve="_dropdown_1bmmf_169",Nve="_option_1bmmf_183",jve="_optionHeader_1bmmf_196",Sve="_noOptions_1bmmf_212",$ve="_overflowBlock_1bmmf_219",qve="_overflowEllipsis_1bmmf_226",Ave="_overflowBadge_1bmmf_233",zve="_overflowBadgeWrap_1bmmf_256",Vve="_overflowDropdown_1bmmf_262",Pve="_overflowDropdownItem_1bmmf_278",Tve="_overflowDropdownItemLabel_1bmmf_289",Hve="_overflowDropdownItemRemove_1bmmf_296",ce={container:hve,disabled:uve,selectBox:pve,selectBoxOpen:yve,tagsContainer:kve,tagsContainerWrap:mve,tag:fve,tagLabel:gve,removeBtnContainer:vve,removeBtn:Mve,searchInput:xve,placeholder:_ve,actions:Lve,clearBtn:Ive,chevron:bve,chevronOpen:wve,dropdown:Cve,option:Nve,optionHeader:jve,noOptions:Sve,overflowBlock:$ve,overflowEllipsis:qve,overflowBadge:Ave,overflowBadgeWrap:zve,overflowDropdown:Vve,overflowDropdownItem:Pve,overflowDropdownItemLabel:Tve,overflowDropdownItemRemove:Hve},Dve=({options:e,noOptionsMessage:t="",value:n,onChange:c,placeholder:i="Sélectionner...",isSearchable:r=!0,className:s="",disabled:d=!1,allowWrap:h=!1})=>{const[l,u]=k.useState(!1),[p,y]=k.useState(""),g=k.useRef(null),f=k.useRef(null),m=k.useRef(null),M=k.useRef(null),[x,v]=k.useState(null),[L,w]=k.useState(!1),C=k.useRef([]),b=k.useRef(null),_=k.useMemo(()=>{const q=new Map(e.map(P=>[P.value,P]));return n.map(P=>q.get(P)).filter(P=>P!==void 0)},[e,n]),I=k.useMemo(()=>e.filter(q=>!n.includes(q.value)),[e,n]),S=k.useMemo(()=>{let q=I;return p&&(q=q.filter(P=>P.label.toLowerCase().includes(p.toLowerCase()))),q.filter((P,H)=>{if(!P.isHeader)return!0;for(let D=H+1;D<q.length&&!q[D].isHeader;D++)return!0;return!1})},[I,p]);k.useEffect(()=>{const q=P=>{const H=P.target;g.current&&!g.current.contains(H)&&(u(!1),y(""),v(null),w(!1))};return document.addEventListener("mousedown",q),()=>document.removeEventListener("mousedown",q)},[]),k.useEffect(()=>{if(h)return;if(_.length===0){v(null),C.current=[];return}_.length>C.current.length&&v(null);const q=()=>{const E=m.current,K=M.current;if(!E||!K)return;const te=K.getBoundingClientRect().width,ne=K.querySelector(`.${ce.actions}`),Me=ne?ne.getBoundingClientRect().width:80,me=56,je=r?80:0,he=16,Y=Array.from(E.querySelectorAll(`.${ce.tag}`));Y.length===_.length&&(C.current=Y.map(ge=>{const Ne=ge.getBoundingClientRect(),pt=ge.scrollWidth;return Math.max(Ne.width,pt,ge.offsetWidth||0)}));const ee=C.current,ie=ee.length>0?ee.reduce((ge,Ne)=>ge+Ne,0)/ee.length:120,ue=_.length<=ee.length?ee.slice(0,_.length):[...ee,...Array(_.length-ee.length).fill(ie)],re=4,W=Math.max(0,te-Me-je-he);let O=0,oe=0;for(let ge=0;ge<_.length;ge++){const Ne=ue[ge]??120;if(O+Ne+re>W)break;O+=Ne+re,oe++}if(oe>=_.length){v(null);return}const Ce=Math.max(0,te-me-Me-je-he);O=0;let Re=0;for(let ge=0;ge<_.length;ge++){const Ne=ue[ge]??120;if(O+Ne+re>Ce)break;O+=Ne+re,Re++}Re<_.length&&Re>0?v(Re):v(null)},P=requestAnimationFrame(()=>{q()}),H=setTimeout(q,100),D=new ResizeObserver(()=>{q()});return M.current&&D.observe(M.current),()=>{cancelAnimationFrame(P),clearTimeout(H),D.disconnect()}},[_,r,l,h]);const N=()=>{if(d)return;const q=!l;q&&w(!1),u(q),q&&r&&setTimeout(()=>f.current?.focus(),0)},j=q=>{if(n.includes(q.value))return;w(!1);const P=[..._,q];c(P),y(""),v(null),u(!1)},A=q=>{q.preventDefault(),q.stopPropagation(),w(P=>!P)},R=x!=null&&x<_.length?_.slice(x):[],T=(q,P)=>{P.stopPropagation();const H=_.filter(D=>D.value!==q);c(H)},V=q=>{q.stopPropagation(),c([])},$=q=>{q.stopPropagation(),l||u(!0)};return o.jsxs("div",{className:`${ce.container} ${s} ${d?ce.disabled:""}`,ref:g,children:[o.jsxs("div",{ref:M,className:`${ce.selectBox} ${l?ce.selectBoxOpen:""}`,onClick:N,role:"combobox","aria-expanded":l,"aria-haspopup":"listbox",children:[o.jsxs("div",{className:`${ce.tagsContainer} ${h?ce.tagsContainerWrap:""}`,ref:m,children:[x!==null&&x>0?_.slice(0,x).map((q,P)=>o.jsxs("div",{className:ce.tag,children:[o.jsx("div",{className:ce.tagLabel,children:o.jsx("span",{children:q.label})}),o.jsx("div",{className:ce.removeBtnContainer,children:o.jsx("button",{type:"button",className:ce.removeBtn,onClick:H=>T(q.value,H),"aria-label":`Supprimer ${q.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${q.value}-${P}`)):_.map((q,P)=>o.jsxs("div",{className:ce.tag,children:[o.jsx("div",{className:ce.tagLabel,children:o.jsx("span",{children:q.label})}),o.jsx("div",{className:ce.removeBtnContainer,children:o.jsx("button",{type:"button",className:ce.removeBtn,onClick:H=>T(q.value,H),"aria-label":`Supprimer ${q.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${q.value}-${P}`)),r?o.jsx("input",{ref:f,type:"text",className:ce.searchInput,placeholder:_.length===0?i:"",value:p,onChange:q=>{y(q.target.value),l||u(!0)},onClick:$,disabled:d}):_.length===0&&o.jsx("span",{className:ce.placeholder,children:i})]}),!h&&x!==null&&x<_.length&&o.jsxs("div",{className:ce.overflowBlock,children:[o.jsx("span",{className:ce.overflowEllipsis,children:"..."}),o.jsxs("div",{className:ce.overflowBadgeWrap,children:[o.jsx("button",{ref:b,type:"button",className:ce.overflowBadge,onClick:A,"aria-label":`Afficher ${R.length} éléments cachés`,children:R.length}),L&&R.length>0&&o.jsx("div",{className:ce.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:R.map((q,P)=>o.jsxs("div",{className:ce.overflowDropdownItem,children:[o.jsx("span",{className:ce.overflowDropdownItemLabel,children:q.label}),o.jsx("button",{type:"button",className:ce.overflowDropdownItemRemove,onClick:H=>{H.stopPropagation(),T(q.value,H)},"aria-label":`Supprimer ${q.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]},`hidden-${q.value}-${P}`))})]})]}),o.jsxs("div",{className:ce.actions,children:[_.length>0&&o.jsx("button",{type:"button",className:ce.clearBtn,onClick:V,"aria-label":"Effacer tout",children:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:o.jsx("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),o.jsx("svg",{className:`${ce.chevron} ${l?ce.chevronOpen:""}`,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("path",{d:"M6 9l6 6 6-6"})})]})]}),l&&!d&&o.jsx("div",{className:ce.dropdown,role:"listbox",children:S.length>0?S.map((q,P)=>o.jsx("div",{className:`${ce.option} ${q.isHeader?ce.optionHeader:""}`,onClick:()=>!q.isHeader&&j(q),role:"option","aria-selected":!1,children:q.label},`opt-${q.value}-${P}`)):o.jsx("div",{className:ce.noOptions,children:t})})]})},Bve="_container_h7jek_1",IS={container:Bve},Rve=({a11yConfigs:e=[],titleKeys:t=[],labels:n=[],data:c=[],selectedUfs:i=[],icons:r=[],lastCardTextColor:s="black",boardColors:d={},order:h})=>{const l=k.useMemo(()=>{const f=i.length===0?c:c.filter(M=>M&&i.includes(String(M.uf).replace(/^0+/,""))),m=new Set;return f.filter(M=>{if(!M||!M.uf)return!1;const x=String(M.uf).replace(/^0+/,"");return m.has(x)?!1:(m.add(x),!0)})},[c,i]),u=k.useMemo(()=>l.reduce((f,m)=>({disponibles:f.disponibles+(m.totalAvailable??m.disponibles??0),homme:f.homme+(m.availableMen??m.disponibleHomme??0),femme:f.femme+(m.availableWomen??m.disponibleFemme??0),indifferencie:f.indifferencie+(m.availableIndifferentSex??m.indifferences??0),sorties:f.sorties+(m.outToday??m.sortie24??0),occupiedBed:f.occupiedBed+(m.occupiedBed??0),patientsPresents:f.patientsPresents+(m.patientsPresents??0),occupationRate:f.occupationRate+(m.occupationRate??0),occupesRaw:f.occupesRaw+(m.occupesRaw??0),ouvertsRaw:f.ouvertsRaw+(m.ouvertsRaw??0)}),{disponibles:0,homme:0,femme:0,indifferencie:0,sorties:0,occupiedBed:0,patientsPresents:0,occupationRate:0,occupesRaw:0,ouvertsRaw:0}),[l]),p=f=>d.disponibles?d.disponibles:f>3?"#35994E":f>=1?"#EF6C00":"#C62828",y={bars:"none",justifyContent:"flexStart",alignItems:"center",valueFontWeight:"400",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}},g=(f,m)=>{const M=h!==void 0&&m===h.length-1;switch(f){case"disponibles":return{...y,value:u.disponibles.toLocaleString("fr-FR"),backgroundColor:p(u.disponibles),valueFontSize:"2.5rem",titleColor:"white",valueColor:"white"};case"occupiedBed":return{...y,value:u.occupiedBed.toLocaleString("fr-FR"),backgroundColor:d.occupes??d.homme??"#7DD493",valueFontSize:M?"3rem":"2.375rem",titleColor:"black",valueColor:"black"};case"patientsPresents":return{...y,value:u.patientsPresents.toLocaleString("fr-FR"),backgroundColor:d.patientsPresents??d.femme??"#7DD493",valueFontSize:M?"3rem":"2.375rem",titleColor:"black",valueColor:"black"};case"occupationRate":{const x=u.ouvertsRaw>0?parseFloat((u.occupesRaw/u.ouvertsRaw*100).toFixed(2)):u.occupationRate;return{...y,value:`${x.toLocaleString("fr-FR")}%`,backgroundColor:d.occupationRate??d.indifferencie??"#7DD493",valueFontSize:M?"3rem":"2.375rem",titleColor:"black",valueColor:"black"}}case"outToday":return{...y,value:u.sorties.toLocaleString("fr-FR"),backgroundColor:d.sorties??"#F2F9FC",valueFontSize:"3rem",titleColor:s,valueColor:s}}};return h&&h.length>0?o.jsx("div",{className:IS.container,children:h.map((f,m)=>o.jsx(vt,{a11yConfig:e[m],titleKey:t[m],label:n[m],iconName:r[m],...g(f,m)},f))}):o.jsxs("div",{className:IS.container,children:[o.jsx(vt,{a11yConfig:e[0],titleKey:t[0],label:n[0],value:u.disponibles.toLocaleString("fr-FR"),iconName:r[0],backgroundColor:p(u.disponibles),valueFontSize:"2.5rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"white",valueColor:"white",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(vt,{a11yConfig:e[1],titleKey:t[1],label:n[1],value:u.homme.toLocaleString("fr-FR"),iconName:r[1],backgroundColor:d.homme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(vt,{a11yConfig:e[2],titleKey:t[2],label:n[2],value:u.femme.toLocaleString("fr-FR"),iconName:r[2],backgroundColor:d.femme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(vt,{a11yConfig:e[3],titleKey:t[3],label:n[3],value:u.indifferencie.toLocaleString("fr-FR"),iconName:r[3],backgroundColor:d.indifferencie??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(vt,{a11yConfig:e[4],titleKey:t[4],label:n[4],value:u.sorties.toLocaleString("fr-FR"),iconName:r[4],backgroundColor:d.sorties??"#F2F9FC",valueFontSize:"3rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:s,valueColor:s,titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}})]})},Fve="_container_1pt6c_1",Eve="_chartContainer_1pt6c_14",Ove="_legend_1pt6c_22",Uve="_legendItem_1pt6c_29",Wve="_leftSection_1pt6c_41",Gve="_colorIndicator_1pt6c_47",Kve="_label_1pt6c_54",Zve="_rightSection_1pt6c_60",Xve="_ratio_1pt6c_66",Yve="_value1_1pt6c_73",Jve="_separator_1pt6c_78",Qve="_value2_1pt6c_82",e9e="_statusIndicator_1pt6c_87",t9e="_inactive_1pt6c_102",De={container:Fve,chartContainer:Eve,legend:Ove,legendItem:Uve,leftSection:Wve,colorIndicator:Gve,label:Kve,rightSection:Zve,ratio:Xve,value1:Yve,separator:Jve,value2:Qve,statusIndicator:e9e,inactive:t9e},bS=Math.PI/180,a9e=({data:e,height:t=400,bg:n,backgroundColor:c,color:i,fontSize:r,fontWeight:s,padding:d,margin:h,borderRadius:l,className:u="",style:p={},labelColor:y,ratioColor:g,separatorColor:f,borderColor:m,hideDonut:M=!0,hideColorIndicator:x=!1})=>{const[v,L]=k.useState(new Set(e.map(N=>N.nom))),w=N=>{const j=new Set(v);j.has(N)?j.size>1&&j.delete(N):j.add(N),L(j)},C={...p,"--bg-color":n||c||"transparent","--text-color":i||"inherit","--font-size":r||"14px","--font-weight":s||"400","--padding":d||"0","--margin":h||"0","--border-radius":l||"0","--label-color":y||"inherit","--ratio-color":g||"inherit","--separator-color":f||"#03a9f4","--border-color":m||"#e0e0e0"},b=k.useMemo(()=>e.map(N=>({...N,displayValue:v.has(N.nom)?N.value:0})),[e,v]),_=k.useMemo(()=>e.every(N=>N.value===0),[e]),I=k.useMemo(()=>_?1:b.reduce((N,j)=>N+j.displayValue,0)||1,[_,b]),S=k.useCallback(({cx:N,cy:j,midAngle:A,innerRadius:R,outerRadius:T,value:V})=>{if(V===0||_)return null;const $=R+(T-R)*.5,q=N+$*Math.cos(-A*bS),P=j+$*Math.sin(-A*bS),H=Math.round(V/I*100);return o.jsx(a.Text,{x:q,y:P,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${H}%`})},[I,_]);return o.jsxs("div",{className:`${De.container} ${u}`,style:C,children:[!M&&o.jsx("div",{className:De.chartContainer,style:{height:t/2+100},children:o.jsx(a.ResponsiveContainer,{width:"100%",height:"100%",children:o.jsx(a.PieChart,{children:o.jsx(a.Pie,{data:_?[{displayValue:1,color:"#A3C2CB"}]:b,cx:"50%",cy:"50%",innerRadius:45,outerRadius:75,paddingAngle:0,dataKey:"displayValue",stroke:"white",strokeWidth:_?0:2,startAngle:90,endAngle:450,labelLine:!1,label:S,isAnimationActive:!1,children:_?o.jsx(a.Cell,{fill:"#A3C2CB"}):b.map((N,j)=>o.jsx(a.Cell,{fill:N.color},`cell-${j}`))})})})}),o.jsx("div",{className:De.legend,children:e.map((N,j)=>{const A=v.has(N.nom);return o.jsxs("div",{className:`${De.legendItem} ${!M&&!A?De.inactive:""}`,onClick:()=>w(N.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[o.jsxs("div",{className:De.leftSection,children:[!x&&o.jsx("div",{className:De.colorIndicator,style:{backgroundColor:N.color,opacity:M||A?1:.3}}),o.jsx("span",{className:De.label,style:{opacity:M||A?1:.5},children:N.nom})]}),o.jsxs("div",{className:De.rightSection,style:{opacity:M||A?1:.5},children:[o.jsxs("div",{className:De.ratio,children:[o.jsx("span",{className:De.value1,children:N.value1}),o.jsx("span",{className:De.separator,children:"/"}),o.jsx("span",{className:De.value2,children:N.value2})]}),N.statusColor&&o.jsx("div",{className:De.statusIndicator,style:{backgroundColor:N.statusColor}})]})]},`legend-${j}`)})})]})},n9e="_container_1pc4v_1",o9e="_leftGroup_1pc4v_10",c9e="_iconBtn_1pc4v_16",ii={container:n9e,leftGroup:o9e,iconBtn:c9e},i9e=e=>J.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},J.createElement("path",{d:"M3 12h18M3 6h18M3 18h18"})),r9e=k.memo(i9e),s9e=e=>J.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},J.createElement("path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8m-4-6-4-4-4 4m4-4v13"})),fA=k.memo(s9e),d9e=({menuIcon:e,logoProps:t,actionIcon:n,style:c,className:i,bgColor:r="var(--header-bg)",color:s="var(--color-text)",borderBottomColor:d="var(--color-border)",borderBottomWidth:h=1,height:l="8vh",onMenuClick:u,onActionClick:p})=>{const y={backgroundColor:r,color:s,borderBottom:`${h}px solid ${d}`,height:l,...c};return o.jsxs("header",{className:[ii.container,i].filter(Boolean).join(" "),style:y,children:[o.jsxs("div",{className:ii.leftGroup,children:[o.jsx("button",{className:ii.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??o.jsx(r9e,{width:22,height:22})}),o.jsx(fL,{...t,size:"medium"})]}),o.jsx("button",{className:ii.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??o.jsx(fA,{width:22,height:22})})]})},l9e="_container_24g3e_1",h9e="_iconBtn_24g3e_10",u9e="_title_24g3e_22",ri={container:l9e,iconBtn:h9e,title:u9e},p9e=({title:e="Menu",closeIcon:t,actionIcon:n,style:c,className:i,titleStyle:r,bgColor:s="var(--header-bg)",color:d="var(--color-text)",borderBottomColor:h="transparent",borderBottomWidth:l=0,height:u="8vh",onClose:p,onAction:y})=>{const g={backgroundColor:s,color:d,borderBottom:`${l}px solid ${h}`,height:u,...c};return o.jsxs("div",{className:[ri.container,i].filter(Boolean).join(" "),style:g,children:[o.jsx("button",{className:ri.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??o.jsx(mA,{width:22,height:22})}),o.jsx("span",{className:ri.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),o.jsx("button",{className:ri.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??o.jsx(fA,{width:22,height:22})})]})},y9e=({title:e,countLabel:t="UF",actionIcon:n=o.jsx(lt,{size:16}),onAction:c,items:i=[],onItemClick:r,activeColor:s="#0083bb",id:d,children:h})=>{const l=k.useMemo(()=>i.filter(u=>u.active).length,[i]);return o.jsxs(k9e,{id:d,children:[o.jsxs(m9e,{children:[o.jsxs(f9e,{children:[o.jsx(g9e,{children:e}),o.jsxs(v9e,{children:["(",l," ",t,")"]})]}),c&&o.jsx(M9e,{onClick:c,title:"Action",children:n})]}),o.jsx(x9e,{children:o.jsx(_9e,{children:i.map(u=>o.jsx(I9e,{item:u,activeColor:s,onItemClick:r},u.id))})}),h&&o.jsx(b9e,{children:h})]})},k9e=ae.div`
|
|
8180
|
+
`,style:{...se,backgroundColor:t===_e.value?$||"#F0F4F6":"transparent"},onMouseEnter:Dt=>{I&&(Dt.currentTarget.style.backgroundColor=I)},onMouseLeave:Dt=>{I&&(Dt.currentTarget.style.backgroundColor=t===_e.value?$||"#F0F4F6":"transparent")},role:"option","aria-selected":t===_e.value,children:o.jsxs("div",{className:we.itemContent,style:Ht,children:[_e.icon&&o.jsx("span",{className:we.itemIcon,style:ge,children:_e.icon}),o.jsx("span",{className:we.itemLabel,children:_e.label})]})},_e.value))})})]})},Mge="_filterBar_1hlqe_3",xge="_label_1hlqe_11",_S={filterBar:Mge,label:xge},_ge=({label:e="Filtres",startDate:t,endDate:n,granularity:c,onStartDateChange:i,onEndDateChange:r,onGranularityChange:s,granularityItems:d,startDatePlaceholder:h="Date début",endDatePlaceholder:l="Date fin",granularityPlaceholder:u="Sélectionner...",className:p="",disabled:y=!1,gap:g="0.75rem",labelFontSize:f="0.875rem",labelFontWeight:m="400",labelColor:M="#212529",labelMarginRight:x="1rem",startDateWidth:v,endDateWidth:L,selectWidth:w,datePickerProps:C={},selectProps:b={},rightContent:_,extraContent:I})=>{const $={fontSize:f,fontWeight:m,color:M,marginRight:x},N={gap:g};return o.jsxs("div",{className:`${_S.filterBar} ${p}`,style:N,children:[e&&o.jsx("span",{className:_S.label,style:$,children:e}),o.jsx(hw,{value:t,onChange:i,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:v,...C}),o.jsx(hw,{value:n,onChange:r,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:L,...C}),o.jsx(kA,{items:d,value:c,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:w,...b}),I,_&&o.jsx("div",{style:{marginLeft:"auto"},children:_})]})},Lge="_container_1x6mq_16",Ige="_disabled_1x6mq_26",bge="_predStyle_1x6mq_32",wge="_realStyle_1x6mq_36",Cge="_predGap_1x6mq_40",Nge="_realGap_1x6mq_44",jge="_big_1x6mq_49",Sge="_medium_1x6mq_53",$ge="_iconWrapper_1x6mq_58",qge="_predRelative_1x6mq_68",Age="_realRelative_1x6mq_72",zge="_iconImg_1x6mq_76",Vge="_content_1x6mq_84",Pge="_header_1x6mq_93",Tge="_predJustify_1x6mq_99",Hge="_realJustify_1x6mq_103",Dge="_predHeaderLineHeight_1x6mq_116",Bge="_realHeaderLineHeight_1x6mq_120",Rge="_title_1x6mq_129",Fge="_titleBlack_1x6mq_144",Ege="_titleWhite_1x6mq_148",Oge="_subtitle_1x6mq_153",Uge="_valueRowHorizontal_1x6mq_163",Wge="_valueRowVertical_1x6mq_171",Gge="_singleValue_1x6mq_180",Kge="_primaryRow_1x6mq_184",Zge="_maxBadge_1x6mq_191",Xge="_valuePrimary_1x6mq_203",Yge="_valuePrimaryBlack_1x6mq_210",Jge="_valuePrimaryWhite_1x6mq_214",Qge="_valueSlash_1x6mq_219",e7e="_valueSecondary_1x6mq_226",t7e="_valueSecondaryBlue_1x6mq_232",a7e="_valueSecondaryWhite_1x6mq_236",n7e="_valueSecondaryBlack_1x6mq_240",o7e="_valueStacked_1x6mq_245",c7e="_stackedTop_1x6mq_254",i7e="_stackedBottom_1x6mq_255",pe={container:Lge,disabled:Ige,predStyle:bge,realStyle:wge,predGap:Cge,realGap:Nge,big:jge,medium:Sge,iconWrapper:$ge,predRelative:qge,realRelative:Age,iconImg:zge,content:Vge,header:Pge,predJustify:Tge,realJustify:Hge,predHeaderLineHeight:Dge,realHeaderLineHeight:Bge,title:Rge,titleBlack:Fge,titleWhite:Ege,subtitle:Oge,valueRowHorizontal:Uge,valueRowVertical:Wge,singleValue:Gge,primaryRow:Kge,maxBadge:Zge,valuePrimary:Xge,valuePrimaryBlack:Yge,valuePrimaryWhite:Jge,valueSlash:Qge,valueSecondary:e7e,valueSecondaryBlue:t7e,valueSecondaryWhite:a7e,valueSecondaryBlack:n7e,valueStacked:o7e,stackedTop:c7e,stackedBottom:i7e},r7e=({a11yConfig:e,iconName:t,title:n,subtitle:c,showSubtitle:i,realised:r="-",prediction:s="-",size:d="big",titleColor:h="black",valueColor:l="blue",realValueColor:u,className:p="",style:y="",variant:g="horizontal",showMax:f=!1,titleFontSize:m,titleFontWeight:M,subtitleFontSize:x,subtitleFontWeight:v,primaryFontSize:L,primaryFontWeight:w,secondaryFontSize:C,secondaryFontWeight:b,backgroundColor:_="#f2f9fc",gap:I="",disabled:$=!1,positionRelative:N="",justifyContent:S="",headerLineHeight:A="",headerMinHeight:D="",contentSpace:H="",titleKey:P,subtitleKey:j,subtitleA11yKey:q,maxBadgeKey:T,maxBadgeA11yKey:R,predictionKey:z,predictionA11yKey:F,realisedKey:K,realisedA11yKey:te})=>{const ne=i!==void 0?i:!!c,Me=`${pe.container} ${pe[d]} ${pe[y]} ${$?pe.disabled:""}`,me=l==="white"?pe.valuePrimaryWhite:pe.valuePrimaryBlack,je=l==="blue"?pe.valueSecondaryBlue:l==="white"?pe.valueSecondaryWhite:pe.valueSecondaryBlack,he=re=>re===void 0?void 0:typeof re=="number"?`${re}px`:re,Y=re=>re===void 0?void 0:re,ee=g==="vertical",ie=s!=null&&s!==""&&s!=="-"&&s!=="—",ue=ee?pe.valueRowVertical:pe.valueRowHorizontal;return o.jsxs("div",{className:`${Me} ${p}`,style:{backgroundColor:_},children:[t&&o.jsx("div",{className:`${pe.iconWrapper} ${pe[N]}`,children:t}),o.jsxs("div",{className:`${pe.content} ${pe[I]} ${ie?"":pe.singleValue} content-indicator-v2`,style:{justifyContent:H},children:[o.jsx("div",{className:`${pe.header} ${pe[S]} ${pe[A]} header-indicator-v2`,style:{minHeight:D},children:o.jsx("h6",{className:`${pe.title}`,style:{fontSize:he(m),fontWeight:Y(M),color:h},title:Q(e,P),children:n})}),ne&&c?o.jsx("div",{className:"subtitle-container",children:o.jsx("span",{className:pe.subtitle,style:{fontSize:he(x),fontWeight:Y(v)},title:Q(e,j,q),children:c})}):null,o.jsxs("div",{className:`${ue} count-indicator-v2`,children:[o.jsxs("div",{className:pe.primaryRow,children:[f&&o.jsx("span",{className:`${pe.maxBadge} max-badge-indicator-v2`,title:Q(e,T,R),children:"MAX"}),o.jsx("span",{className:`${pe.valuePrimary} ${me}`,style:{fontSize:he(L||(!ie&&ee?"1.75rem":void 0)),fontWeight:Y(w),color:u||void 0},title:Q(e,K,te),children:r})]}),ie&&o.jsxs(o.Fragment,{children:[!ee&&o.jsx("span",{className:pe.valueSlash,style:{fontSize:he(C),fontWeight:Y(b)},children:"/"}),o.jsx("span",{className:`${pe.valueSecondary} ${je}`,style:{fontSize:he(C),fontWeight:Y(b)},title:Q(e,z,F),children:s})]})]})]})]})},s7e="_banner_f10in_2",d7e="_iep_f10in_14",l7e="_groupSmall_f10in_24",h7e="_genre_f10in_34",u7e="_gravite_f10in_42",p7e="_orientationContainer_f10in_48",y7e="_service_f10in_61",k7e="_roomBedContainer_f10in_71",m7e="_room_f10in_71",f7e="_bed_f10in_87",g7e="_bedUf_f10in_92",v7e="_statusContainer_f10in_97",M7e="_status_f10in_97",x7e="_centeredWarn_f10in_124",He={banner:s7e,iep:d7e,groupSmall:l7e,genre:h7e,gravite:u7e,orientationContainer:p7e,service:y7e,roomBedContainer:k7e,room:m7e,bed:f7e,bedUf:g7e,statusContainer:v7e,status:M7e,centeredWarn:x7e},_7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},J.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},J.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),J.createElement("g",{mask:"url(#a)"},J.createElement("path",{fill:"#C60000",d:"M.666 14 7.999 1.333 15.333 14zm2.3-1.333h10.067L7.999 4zm5.508-.859a.65.65 0 0 0 .192-.475.65.65 0 0 0-.192-.475.65.65 0 0 0-.475-.191.65.65 0 0 0-.475.191.65.65 0 0 0-.191.475q0 .285.191.475A.65.65 0 0 0 8 12a.65.65 0 0 0 .475-.192M7.333 10h1.333V6.667H7.333z"}))),LS=k.memo(_7e),L7e=({patient:e,genre:t,gravite:n,bed:c,bed_uf:i,room:r,orientation:s,status:d,backgroundColor:h="#ffffff",primaryFontColor:l="#111827",secondaryFontColor:u="#6b7280",statusFontColor:p="#0284c7",statusBackgroundColor:y="#e0f2fe",genreBackgroundColor:g="#9ca3af",genreFontSize:f,style:m,warn:M=!1,warnMessage:x,warnColor:v="#F94134"})=>o.jsxs("div",{className:He.banner,style:{backgroundColor:h,...m},children:[o.jsxs("div",{className:He.iep,children:[o.jsx("div",{style:{color:u},children:e.iep??"--"}),o.jsxs("div",{style:{color:l},children:[((e.nom||"").trim().split(/\s+/)[0]||"").substring(0,3).toUpperCase(),"."," ",((e.prenom||"").trim().split(/\s+/)[0]||"").substring(0,3).toLowerCase().replace(/^./,L=>L.toUpperCase()),".(",e.age,")"]})]}),o.jsxs("div",{className:He.groupSmall,children:[o.jsx("span",{className:`${He.genre} genre-info-banner`,style:{color:"#ffffff",background:g,fontSize:f},children:t??"--"}),o.jsx("span",{className:`${He.gravite} gravite-info-banner`,children:n??"--"})]}),o.jsx("div",{className:He.orientationContainer,children:o.jsx("div",{className:He.service,style:{color:l},children:s??"--"})}),o.jsxs("div",{className:He.roomBedContainer,children:[i&&o.jsx("span",{className:He.bedUf,children:i}),o.jsx("span",{className:He.room,children:r??"--"}),o.jsx("span",{className:He.bed,children:c??"--"})]}),o.jsxs("div",{className:He.statusContainer,children:[d?o.jsx("div",{className:`${He.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):M&&o.jsxs("div",{className:He.centeredWarn,style:{textTransform:"uppercase"},children:[o.jsx(LS,{color:v,width:20,height:20,style:{marginRight:"6px"}}),o.jsx("span",{style:{color:v,fontSize:"12px",fontWeight:600},children:x})]}),d&&M&&o.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:v,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[o.jsx(LS,{color:v,width:12,height:12,style:{marginRight:"4px"}}),o.jsx("span",{children:x})]})]})]}),I7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),b7e=k.memo(I7e),w7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231z"})),mA=k.memo(w7e),C7e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},J.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),N7e=k.memo(C7e),j7e="_overlay_1uxex_1",S7e="_container_1uxex_11",$7e="_fullscreen_1uxex_24",q7e="_header_1uxex_30",A7e="_headerActions_1uxex_42",z7e="_iconButton_1uxex_47",V7e="_body_1uxex_58",P7e="_sidebar_1uxex_65",T7e="_content_1uxex_91",H7e="_contentHeader_1uxex_98",D7e="_childrenWrapper_1uxex_114",B7e="_footer_1uxex_138",R7e="_baseButton_1uxex_146",F7e="_noOverlay_1uxex_160",E7e="_contained_1uxex_168",Se={overlay:j7e,container:S7e,fullscreen:$7e,header:q7e,headerActions:A7e,iconButton:z7e,body:V7e,sidebar:P7e,content:T7e,contentHeader:H7e,childrenWrapper:D7e,footer:B7e,baseButton:R7e,noOverlay:F7e,contained:E7e},O7e=({headerText:e,headerTextColor:t="var(--color-text)",backgroundColor:n="var(--color-background)",headerFontSize:c="1rem",headerFontWeight:i="600",isOpen:r,onClose:s,leftButton:d,rightButton:h,children:l,contentTitle:u,contentBackgroundColor:p="var(--color-content-background)",sideContent:y,hideMaximize:g=!1,hideHeader:f=!1,hideSidebar:m=!1,onDelete:M,deleteLabel:x="Supprimer",width:v="75%",maxWidth:L="none",height:w="85%",maxHeight:C="85%",borderRadius:b="0.5rem",childrenPadding:_="1rem",overflow:I="auto",contentHeaderAction:$,contentFooterAction:N,footerOverride:S,hideFooter:A=!1,hideOverlay:D=!1,position:H,a11yConfig:P})=>{const[j,q]=k.useState(!1),T=k.useRef(null);if(k.useEffect(()=>{if(!r||!D)return;const z=F=>{(F.type==="scroll"||F.type==="wheel"||F.type==="touchmove"||T.current&&!T.current.contains(F.target))&&s()};return document.addEventListener("mousedown",z),document.addEventListener("scroll",z,!0),document.addEventListener("wheel",z,{passive:!0,capture:!0}),document.addEventListener("touchmove",z,{passive:!0,capture:!0}),()=>{document.removeEventListener("mousedown",z),document.removeEventListener("scroll",z,!0),document.removeEventListener("wheel",z,!0),document.removeEventListener("touchmove",z,!0)}},[r,D,s]),!r)return null;const R=(z,F=!1)=>o.jsx(iL,{onClick:z.disabled?void 0:z.onClick,className:Se.baseButton,disabled:z.disabled,style:{background:z.backgroundColor??(F?"#008FBB":"#ffffff"),color:z.textColor??(F?"#ffffff":"#374151"),border:z.borderColor||F?"none":void 0,cursor:z.disabled?z.cursor??"not-allowed":z.cursor??"pointer",filter:z.disabled?z.filter??"grayscale(0.5)":z.filter??"none",opacity:z.disabled?.65:1},title:Q(z.a11yConfig,z.text),children:z.text});return o.jsx("div",{className:D?Se.noOverlay:Se.overlay,onClick:s,children:o.jsxs("div",{ref:T,className:`${Se.container} ${j?Se.fullscreen:""} ${D?Se.contained:""}`,onClick:z=>z.stopPropagation(),style:{width:j?"100%":v,maxWidth:j?"none":L,height:j?"100%":w,maxHeight:j?"100%":C,borderRadius:j?"0":b,overflow:I,...H||{}},children:[!f&&o.jsxs("header",{className:Se.header,style:{backgroundColor:n},children:[o.jsx("h2",{style:{fontSize:c,fontWeight:i,color:t},title:Q(P,e),children:e}),o.jsxs("div",{className:Se.headerActions,children:[!g&&o.jsx("button",{onClick:()=>q(!j),className:Se.iconButton,title:j?"Réduire":"Agrandir",children:j?o.jsx(N7e,{width:22,height:22,fill:t}):o.jsx(b7e,{width:22,height:22,fill:t})}),o.jsx("button",{onClick:s,className:Se.iconButton,title:"Fermer",children:o.jsx(mA,{width:22,height:22,fill:t})})]})]}),o.jsxs("div",{className:Se.body,style:{overflow:I},children:[y&&!m&&o.jsx("aside",{className:Se.sidebar,children:y}),o.jsxs("main",{className:Se.content,style:{backgroundColor:p,overflow:I},children:[u&&o.jsxs("header",{className:Se.contentHeader,style:{backgroundColor:n},children:[o.jsx("span",{style:{color:t},children:u}),$]}),o.jsx("div",{className:Se.childrenWrapper,style:{padding:_,overflow:I},children:l})]})]}),!A&&o.jsx("footer",{className:Se.footer,style:{backgroundColor:n},children:S!==void 0?S:o.jsxs(o.Fragment,{children:[M&&o.jsx(iL,{onClick:M,className:Se.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:x}),N,R(d),R(h,!0)]})})]})})},U7e="_container_1vb1c_1",W7e="_searchWrapper_1vb1c_10",G7e="_navItems_1vb1c_17",Tb={container:U7e,searchWrapper:W7e,navItems:G7e},K7e=({items:e,activeId:t,activeColor:n="#00aec7",backgroundColor:c="#fff",textColor:i="#000",onItemClick:r,searchValue:s="",onSearchChange:d,searchPlaceholder:h="Rechercher",width:l="100%",className:u=""})=>o.jsxs("div",{className:`${Tb.container} ${u}`,style:{width:l,backgroundColor:c,color:i},children:[o.jsx("div",{className:Tb.searchWrapper,children:o.jsx(dA,{value:s,onChange:d,placeholder:h,iconPosition:"right",iconColor:"var(--color-text)"})}),o.jsx("div",{className:Tb.navItems,children:e.map(p=>o.jsx(Jw,{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))})]}),Z7e=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:c,onItemAdd:i,onEditModule:r,onDeleteModule:s,onReorder:d,title:h="Modules",titleKey:l,addModuleTitle:u="Ajouter un module",addModuleLabel:p="Titre",addModulePlaceholder:y="Nom du module",renameModuleTitle:g="Renommer le module",renameModuleLabel:f="Titre",renameModulePlaceholder:m="Nom du module",confirmText:M="Valider",cancelText:x="Annuler",headerLabel:v,headerLabelKey:L,showAddIcon:w=!0,showCount:C=!0,showToggle:b=!1,showActions:_=!0,onToggle:I,a11yConfig:$})=>{const[N,S]=k.useState(!1),[A,D]=k.useState(null),[H,P]=k.useState(null),[j,q]=k.useState(null),[T,R]=k.useState(null),z=()=>{R(W=>W===null?"asc":W==="asc"?"desc":null),I&&I()},F=k.useMemo(()=>T?[...e].sort((W,O)=>{const oe=W.title.toLowerCase(),Ce=O.title.toLowerCase();return T==="asc"?oe.localeCompare(Ce):Ce.localeCompare(oe)}):e,[e,T]),K=()=>S(!0),te=()=>S(!1),ne=W=>{const O=W.title?.trim();O&&c&&c(O),te()},Me=(W,O)=>{W.stopPropagation(),D(O)},me=()=>D(null),je=W=>{const O=W.title?.trim();A&&O&&r&&r(A,O),me()},he=(W,O)=>{W.stopPropagation(),s&&s(O)},Y=(W,O)=>{W.stopPropagation(),i&&i(O)},ee=(W,O)=>{P(O),W.dataTransfer.effectAllowed="move"},ie=(W,O)=>{H!==null&&(W.preventDefault(),W.dataTransfer.dropEffect="move",O!==j&&q(O))},ue=(W,O)=>{if(W.preventDefault(),H===null||H===O||!d)return;const oe=[...F],[Ce]=oe.splice(H,1);oe.splice(O,0,Ce),R(null),d(oe),P(null),q(null)},re=()=>{P(null),q(null)};return o.jsxs("div",{className:"module-sidebar-v2",children:[o.jsx("div",{className:"sidebar-header",children:v?o.jsxs("div",{className:"header-label-container",onClick:z,children:[o.jsx("div",{className:"header-label",title:Q($,L),children:v}),T==="asc"?o.jsx(Qc,{size:12,className:"header-toggle-icon",strokeWidth:3}):o.jsx(Jc,{size:12,className:"header-toggle-icon",strokeWidth:3})]}):o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"header-title",title:Q($,l),children:[b&&(T==="asc"?o.jsx(Qc,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:z}):o.jsx(Jc,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:z})),h," ",C&&`(${F.length})`]}),w&&o.jsx(t1,{size:18,className:"add-view-icon",onClick:K})]})}),o.jsx("div",{className:"module-list",children:F.map((W,O)=>o.jsxs("div",{className:`module-item ${W.id===t?"selected":""} ${j===O&&H!==O?"drag-over":""} ${H===O?"dragging":""}`,onClick:()=>n&&n(W),draggable:!!d,onDragStart:d?oe=>ee(oe,O):void 0,onDragOver:d?oe=>ie(oe,O):void 0,onDrop:d?oe=>ue(oe,O):void 0,onDragEnd:d?re:void 0,children:[W.icon||o.jsx($1,{size:18,className:"drag-handle"}),o.jsxs("div",{className:"module-content",title:Q(W.a11yConfig,W.titleKey),children:[o.jsx("div",{className:"module-title",children:W.title}),W.subtitle&&o.jsx("div",{className:"module-subtitle",children:W.subtitle})]}),typeof W.count<"u"&&o.jsx("span",{className:"module-count",children:W.count}),_&&o.jsxs("div",{className:"module-actions",children:[i&&o.jsx(Ac,{size:14,className:"action-icon add",onClick:oe=>Y(oe,W)}),r&&o.jsx(gt,{size:12,className:"action-icon edit",onClick:oe=>Me(oe,W)}),s&&o.jsx(lt,{size:12,className:"action-icon delete",onClick:oe=>he(oe,W)})]})]},W.id))}),o.jsx(Tc,{isOpen:N,onClose:te,onSave:ne,title:u,fields:[{name:"title",label:p,placeholder:y}],confirmText:M,cancelText:x}),A&&o.jsx(Tc,{isOpen:!!A,onClose:me,onSave:je,title:g,initialValues:{title:A.title},fields:[{name:"title",label:f,placeholder:m}],confirmText:M,cancelText:x})]})},X7e=({keyName:e,translations:t,availableLanguages:n,onChange:c,onRename:i,onDelete:r,a11yConfig:s})=>{const[d,h]=k.useState(!1),[l,u]=k.useState(e),[p,y]=k.useState(null),[g,f]=k.useState(""),[m,M]=k.useState(!1),[x,v]=k.useState(""),[L,w]=k.useState(""),C=k.useMemo(()=>{const j={};return Array.isArray(t)&&t.forEach(q=>{q&&q.language&&(j[q.language.toUpperCase()]=q.value)}),j},[t]),b=k.useMemo(()=>n,[n]),_=()=>{h(!1),l!==e&&l.trim()!==""?i&&i(l.trim()):u(e)},I=j=>{j.key==="Enter"?_():j.key==="Escape"&&(u(e),h(!1))},$=j=>{const q=j.toUpperCase();y(q),f(C[q]||"")},N=()=>{p&&(c(p,g),y(null),f(""))},S=j=>{j.key==="Enter"?N():j.key==="Escape"&&(y(null),f(""))},A=()=>{M(!0),b.length>0&&v(b[0].toUpperCase()),w("")},D=()=>{x&&L.trim()&&(c(x,L.trim()),M(!1),v(""),w(""))},H=()=>{M(!1),v(""),w("")},P=j=>{j.key==="Enter"?D():j.key==="Escape"&&H()};return o.jsxs("div",{className:"translation-key-v2",children:[o.jsxs("div",{className:"header",children:[d?o.jsx("input",{className:"key-name-input",value:l,onChange:j=>u(j.target.value),onBlur:_,onKeyDown:I,autoFocus:!0}):o.jsx("h3",{className:"header-title",title:Q(s,e),children:e}),o.jsxs("div",{className:"header-actions",children:[o.jsx(gt,{size:16,className:"action-icon edit",onClick:()=>h(!0)}),o.jsx(lt,{size:16,className:"action-icon delete",onClick:r})]})]}),o.jsxs("div",{className:"translations-list",children:[n.map(j=>{const q=j.toUpperCase(),T=C[q]||"",R=p===q;return o.jsxs("div",{className:"lang-row",children:[o.jsx("div",{className:"lang-label",children:q}),R?o.jsx("input",{className:"translation-input editing",value:g,onChange:z=>f(z.target.value),onBlur:N,onKeyDown:S,placeholder:"Entrez la traduction...",autoFocus:!0}):o.jsx("div",{className:`translation-value ${T?"":"empty"}`,onClick:()=>$(j),title:"Cliquer pour éditer",children:T||"Cliquer pour ajouter..."})]},j)}),m?o.jsxs("div",{className:"lang-row add-row",children:[o.jsx("select",{className:"lang-select",value:x,onChange:j=>v(j.target.value),children:b.map(j=>o.jsx("option",{value:j.toUpperCase(),children:j.toUpperCase()},j))}),o.jsx("input",{className:"translation-input editing",value:L,onChange:j=>w(j.target.value),onKeyDown:P,placeholder:"Mot",autoFocus:!0}),o.jsxs("div",{className:"add-actions",children:[o.jsx(w1,{size:18,className:"action-icon confirm",onClick:D}),o.jsx(Xe,{size:18,className:"action-icon cancel",onClick:H})]})]}):b.length>0&&o.jsxs("button",{className:"add-translation-btn",onClick:A,children:[o.jsx(Ac,{size:16}),o.jsx("span",{children:"Ajouter"})]})]})]})},Y7e="_overlay_1jz4r_1",J7e="_modal_1jz4r_15",Q7e="_body_1jz4r_27",eve="_footer_1jz4r_46",tve="_confirmButton_1jz4r_55",ave="_danger_1jz4r_75",nve="_cancelButton_1jz4r_83",wt={overlay:Y7e,modal:J7e,body:Q7e,footer:eve,confirmButton:tve,danger:ave,cancelButton:nve},ove=({isOpen:e,message:t,onConfirm:n,onCancel:c,confirmText:i="Confirmer",cancelText:r="Annuler",isDanger:s=!1,hideFooter:d=!1,secondaryConfirmText:h,onSecondaryConfirm:l})=>e?o.jsx("div",{className:wt.overlay,onClick:c,children:o.jsxs("div",{className:wt.modal,onClick:u=>u.stopPropagation(),children:[o.jsx("div",{className:wt.body,children:typeof t=="string"?o.jsx("p",{children:t}):t}),!d&&o.jsxs("div",{className:wt.footer,children:[i&&o.jsx("button",{className:`${wt.confirmButton} ${s?wt.danger:""}`,onClick:n,children:i}),h&&l&&o.jsx("button",{className:wt.confirmButton,onClick:l,children:h}),r&&o.jsx("button",{className:wt.cancelButton,onClick:c,children:r})]})]})}):null,cve="_card_1ildr_1",ive="_topIcon_1ildr_17",rve="_title_1ildr_24",sve="_text_1ildr_31",dve="_bottomIcon_1ildr_37",g1={card:cve,topIcon:ive,title:rve,text:sve,bottomIcon:dve},lve=({topIcon:e,title:t,text:n,bottomIcon:c,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:h="#fff",a11yConfig:l})=>o.jsxs("div",{className:`${g1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:h},title:Q(l,t),children:[e&&o.jsx("div",{className:g1.topIcon,children:e}),o.jsx("h3",{className:g1.title,style:{color:s},children:t}),o.jsx("p",{className:g1.text,style:{color:d},children:n}),c&&o.jsx("div",{className:g1.bottomIcon,children:c})]}),hve="_container_1bmmf_1",uve="_disabled_1bmmf_9",pve="_selectBox_1bmmf_14",yve="_selectBoxOpen_1bmmf_36",kve="_tagsContainer_1bmmf_41",mve="_tagsContainerWrap_1bmmf_51",fve="_tag_1bmmf_41",gve="_tagLabel_1bmmf_72",vve="_removeBtnContainer_1bmmf_78",Mve="_removeBtn_1bmmf_78",xve="_searchInput_1bmmf_103",_ve="_placeholder_1bmmf_123",Lve="_actions_1bmmf_130",Ive="_clearBtn_1bmmf_137",bve="_chevron_1bmmf_159",wve="_chevronOpen_1bmmf_165",Cve="_dropdown_1bmmf_169",Nve="_option_1bmmf_183",jve="_optionHeader_1bmmf_196",Sve="_noOptions_1bmmf_212",$ve="_overflowBlock_1bmmf_219",qve="_overflowEllipsis_1bmmf_226",Ave="_overflowBadge_1bmmf_233",zve="_overflowBadgeWrap_1bmmf_256",Vve="_overflowDropdown_1bmmf_262",Pve="_overflowDropdownItem_1bmmf_278",Tve="_overflowDropdownItemLabel_1bmmf_289",Hve="_overflowDropdownItemRemove_1bmmf_296",ce={container:hve,disabled:uve,selectBox:pve,selectBoxOpen:yve,tagsContainer:kve,tagsContainerWrap:mve,tag:fve,tagLabel:gve,removeBtnContainer:vve,removeBtn:Mve,searchInput:xve,placeholder:_ve,actions:Lve,clearBtn:Ive,chevron:bve,chevronOpen:wve,dropdown:Cve,option:Nve,optionHeader:jve,noOptions:Sve,overflowBlock:$ve,overflowEllipsis:qve,overflowBadge:Ave,overflowBadgeWrap:zve,overflowDropdown:Vve,overflowDropdownItem:Pve,overflowDropdownItemLabel:Tve,overflowDropdownItemRemove:Hve},Dve=({options:e,noOptionsMessage:t="",value:n,onChange:c,placeholder:i="Sélectionner...",isSearchable:r=!0,className:s="",disabled:d=!1,allowWrap:h=!1})=>{const[l,u]=k.useState(!1),[p,y]=k.useState(""),g=k.useRef(null),f=k.useRef(null),m=k.useRef(null),M=k.useRef(null),[x,v]=k.useState(null),[L,w]=k.useState(!1),C=k.useRef([]),b=k.useRef(null),_=k.useMemo(()=>{const q=new Map(e.map(T=>[T.value,T]));return n.map(T=>q.get(T)).filter(T=>T!==void 0)},[e,n]),I=k.useMemo(()=>e.filter(q=>!n.includes(q.value)),[e,n]),$=k.useMemo(()=>{let q=I;return p&&(q=q.filter(T=>T.label.toLowerCase().includes(p.toLowerCase()))),q.filter((T,R)=>{if(!T.isHeader)return!0;for(let z=R+1;z<q.length&&!q[z].isHeader;z++)return!0;return!1})},[I,p]);k.useEffect(()=>{const q=T=>{const R=T.target;g.current&&!g.current.contains(R)&&(u(!1),y(""),v(null),w(!1))};return document.addEventListener("mousedown",q),()=>document.removeEventListener("mousedown",q)},[]),k.useEffect(()=>{if(h)return;if(_.length===0){v(null),C.current=[];return}_.length>C.current.length&&v(null);const q=()=>{const F=m.current,K=M.current;if(!F||!K)return;const te=K.getBoundingClientRect().width,ne=K.querySelector(`.${ce.actions}`),Me=ne?ne.getBoundingClientRect().width:80,me=56,je=r?80:0,he=16,Y=Array.from(F.querySelectorAll(`.${ce.tag}`));Y.length===_.length&&(C.current=Y.map(ge=>{const Ne=ge.getBoundingClientRect(),pt=ge.scrollWidth;return Math.max(Ne.width,pt,ge.offsetWidth||0)}));const ee=C.current,ie=ee.length>0?ee.reduce((ge,Ne)=>ge+Ne,0)/ee.length:120,ue=_.length<=ee.length?ee.slice(0,_.length):[...ee,...Array(_.length-ee.length).fill(ie)],re=4,W=Math.max(0,te-Me-je-he);let O=0,oe=0;for(let ge=0;ge<_.length;ge++){const Ne=ue[ge]??120;if(O+Ne+re>W)break;O+=Ne+re,oe++}if(oe>=_.length){v(null);return}const Ce=Math.max(0,te-me-Me-je-he);O=0;let Re=0;for(let ge=0;ge<_.length;ge++){const Ne=ue[ge]??120;if(O+Ne+re>Ce)break;O+=Ne+re,Re++}Re<_.length&&Re>0?v(Re):v(null)},T=requestAnimationFrame(()=>{q()}),R=setTimeout(q,100),z=new ResizeObserver(()=>{q()});return M.current&&z.observe(M.current),()=>{cancelAnimationFrame(T),clearTimeout(R),z.disconnect()}},[_,r,l,h]);const N=()=>{if(d)return;const q=!l;q&&w(!1),u(q),q&&r&&setTimeout(()=>f.current?.focus(),0)},S=q=>{if(n.includes(q.value))return;w(!1);const T=[..._,q];c(T),y(""),v(null),u(!1)},A=q=>{q.preventDefault(),q.stopPropagation(),w(T=>!T)},D=x!=null&&x<_.length?_.slice(x):[],H=(q,T)=>{T.stopPropagation();const R=_.filter(z=>z.value!==q);c(R)},P=q=>{q.stopPropagation(),c([])},j=q=>{q.stopPropagation(),l||u(!0)};return o.jsxs("div",{className:`${ce.container} ${s} ${d?ce.disabled:""}`,ref:g,children:[o.jsxs("div",{ref:M,className:`${ce.selectBox} ${l?ce.selectBoxOpen:""}`,onClick:N,role:"combobox","aria-expanded":l,"aria-haspopup":"listbox",children:[o.jsxs("div",{className:`${ce.tagsContainer} ${h?ce.tagsContainerWrap:""}`,ref:m,children:[x!==null&&x>0?_.slice(0,x).map((q,T)=>o.jsxs("div",{className:ce.tag,children:[o.jsx("div",{className:ce.tagLabel,children:o.jsx("span",{children:q.label})}),o.jsx("div",{className:ce.removeBtnContainer,children:o.jsx("button",{type:"button",className:ce.removeBtn,onClick:R=>H(q.value,R),"aria-label":`Supprimer ${q.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${q.value}-${T}`)):_.map((q,T)=>o.jsxs("div",{className:ce.tag,children:[o.jsx("div",{className:ce.tagLabel,children:o.jsx("span",{children:q.label})}),o.jsx("div",{className:ce.removeBtnContainer,children:o.jsx("button",{type:"button",className:ce.removeBtn,onClick:R=>H(q.value,R),"aria-label":`Supprimer ${q.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${q.value}-${T}`)),r?o.jsx("input",{ref:f,type:"text",className:ce.searchInput,placeholder:_.length===0?i:"",value:p,onChange:q=>{y(q.target.value),l||u(!0)},onClick:j,disabled:d}):_.length===0&&o.jsx("span",{className:ce.placeholder,children:i})]}),!h&&x!==null&&x<_.length&&o.jsxs("div",{className:ce.overflowBlock,children:[o.jsx("span",{className:ce.overflowEllipsis,children:"..."}),o.jsxs("div",{className:ce.overflowBadgeWrap,children:[o.jsx("button",{ref:b,type:"button",className:ce.overflowBadge,onClick:A,"aria-label":`Afficher ${D.length} éléments cachés`,children:D.length}),L&&D.length>0&&o.jsx("div",{className:ce.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:D.map((q,T)=>o.jsxs("div",{className:ce.overflowDropdownItem,children:[o.jsx("span",{className:ce.overflowDropdownItemLabel,children:q.label}),o.jsx("button",{type:"button",className:ce.overflowDropdownItemRemove,onClick:R=>{R.stopPropagation(),H(q.value,R)},"aria-label":`Supprimer ${q.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]},`hidden-${q.value}-${T}`))})]})]}),o.jsxs("div",{className:ce.actions,children:[_.length>0&&o.jsx("button",{type:"button",className:ce.clearBtn,onClick:P,"aria-label":"Effacer tout",children:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:o.jsx("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),o.jsx("svg",{className:`${ce.chevron} ${l?ce.chevronOpen:""}`,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("path",{d:"M6 9l6 6 6-6"})})]})]}),l&&!d&&o.jsx("div",{className:ce.dropdown,role:"listbox",children:$.length>0?$.map((q,T)=>o.jsx("div",{className:`${ce.option} ${q.isHeader?ce.optionHeader:""}`,onClick:()=>!q.isHeader&&S(q),role:"option","aria-selected":!1,children:q.label},`opt-${q.value}-${T}`)):o.jsx("div",{className:ce.noOptions,children:t})})]})},Bve="_container_h7jek_1",IS={container:Bve},Rve=({a11yConfigs:e=[],titleKeys:t=[],labels:n=[],data:c=[],selectedUfs:i=[],icons:r=[],lastCardTextColor:s="black",boardColors:d={},order:h})=>{const l=k.useMemo(()=>{const f=i.length===0?c:c.filter(M=>M&&i.includes(String(M.uf).replace(/^0+/,""))),m=new Set;return f.filter(M=>{if(!M||!M.uf)return!1;const x=String(M.uf).replace(/^0+/,"");return m.has(x)?!1:(m.add(x),!0)})},[c,i]),u=k.useMemo(()=>l.reduce((f,m)=>({disponibles:f.disponibles+(m.totalAvailable??m.disponibles??0),homme:f.homme+(m.availableMen??m.disponibleHomme??0),femme:f.femme+(m.availableWomen??m.disponibleFemme??0),indifferencie:f.indifferencie+(m.availableIndifferentSex??m.indifferences??0),sorties:f.sorties+(m.outToday??m.sortie24??0),occupiedBed:f.occupiedBed+(m.occupiedBed??0),patientsPresents:f.patientsPresents+(m.patientsPresents??0),occupationRate:f.occupationRate+(m.occupationRate??0),occupesRaw:f.occupesRaw+(m.occupesRaw??0),ouvertsRaw:f.ouvertsRaw+(m.ouvertsRaw??0)}),{disponibles:0,homme:0,femme:0,indifferencie:0,sorties:0,occupiedBed:0,patientsPresents:0,occupationRate:0,occupesRaw:0,ouvertsRaw:0}),[l]),p=f=>d.disponibles?d.disponibles:f>3?"#35994E":f>=1?"#EF6C00":"#C62828",y={bars:"none",justifyContent:"flexStart",alignItems:"center",valueFontWeight:"400",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}},g=(f,m)=>{const M=h!==void 0&&m===h.length-1;switch(f){case"disponibles":return{...y,value:u.disponibles.toLocaleString("fr-FR"),backgroundColor:p(u.disponibles),valueFontSize:"2.5rem",titleColor:"white",valueColor:"white"};case"occupiedBed":return{...y,value:u.occupiedBed.toLocaleString("fr-FR"),backgroundColor:d.occupes??d.homme??"#7DD493",valueFontSize:M?"3rem":"2.375rem",titleColor:"black",valueColor:"black"};case"patientsPresents":return{...y,value:u.patientsPresents.toLocaleString("fr-FR"),backgroundColor:d.patientsPresents??d.femme??"#7DD493",valueFontSize:M?"3rem":"2.375rem",titleColor:"black",valueColor:"black"};case"occupationRate":{const x=u.ouvertsRaw>0?parseFloat((u.occupesRaw/u.ouvertsRaw*100).toFixed(2)):u.occupationRate;return{...y,value:`${x.toLocaleString("fr-FR")}%`,backgroundColor:d.occupationRate??d.indifferencie??"#7DD493",valueFontSize:M?"3rem":"2.375rem",titleColor:"black",valueColor:"black"}}case"outToday":return{...y,value:u.sorties.toLocaleString("fr-FR"),backgroundColor:d.sorties??"#F2F9FC",valueFontSize:"3rem",titleColor:s,valueColor:s}}};return h&&h.length>0?o.jsx("div",{className:IS.container,children:h.map((f,m)=>o.jsx(vt,{a11yConfig:e[m],titleKey:t[m],label:n[m],iconName:r[m],...g(f,m)},f))}):o.jsxs("div",{className:IS.container,children:[o.jsx(vt,{a11yConfig:e[0],titleKey:t[0],label:n[0],value:u.disponibles.toLocaleString("fr-FR"),iconName:r[0],backgroundColor:p(u.disponibles),valueFontSize:"2.5rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"white",valueColor:"white",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(vt,{a11yConfig:e[1],titleKey:t[1],label:n[1],value:u.homme.toLocaleString("fr-FR"),iconName:r[1],backgroundColor:d.homme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(vt,{a11yConfig:e[2],titleKey:t[2],label:n[2],value:u.femme.toLocaleString("fr-FR"),iconName:r[2],backgroundColor:d.femme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(vt,{a11yConfig:e[3],titleKey:t[3],label:n[3],value:u.indifferencie.toLocaleString("fr-FR"),iconName:r[3],backgroundColor:d.indifferencie??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(vt,{a11yConfig:e[4],titleKey:t[4],label:n[4],value:u.sorties.toLocaleString("fr-FR"),iconName:r[4],backgroundColor:d.sorties??"#F2F9FC",valueFontSize:"3rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:s,valueColor:s,titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}})]})},Fve="_container_1pt6c_1",Eve="_chartContainer_1pt6c_14",Ove="_legend_1pt6c_22",Uve="_legendItem_1pt6c_29",Wve="_leftSection_1pt6c_41",Gve="_colorIndicator_1pt6c_47",Kve="_label_1pt6c_54",Zve="_rightSection_1pt6c_60",Xve="_ratio_1pt6c_66",Yve="_value1_1pt6c_73",Jve="_separator_1pt6c_78",Qve="_value2_1pt6c_82",e9e="_statusIndicator_1pt6c_87",t9e="_inactive_1pt6c_102",De={container:Fve,chartContainer:Eve,legend:Ove,legendItem:Uve,leftSection:Wve,colorIndicator:Gve,label:Kve,rightSection:Zve,ratio:Xve,value1:Yve,separator:Jve,value2:Qve,statusIndicator:e9e,inactive:t9e},bS=Math.PI/180,a9e=({data:e,height:t=400,bg:n,backgroundColor:c,color:i,fontSize:r,fontWeight:s,padding:d,margin:h,borderRadius:l,className:u="",style:p={},labelColor:y,ratioColor:g,separatorColor:f,borderColor:m,hideDonut:M=!0,hideColorIndicator:x=!1})=>{const[v,L]=k.useState(new Set(e.map(N=>N.nom))),w=N=>{const S=new Set(v);S.has(N)?S.size>1&&S.delete(N):S.add(N),L(S)},C={...p,"--bg-color":n||c||"transparent","--text-color":i||"inherit","--font-size":r||"14px","--font-weight":s||"400","--padding":d||"0","--margin":h||"0","--border-radius":l||"0","--label-color":y||"inherit","--ratio-color":g||"inherit","--separator-color":f||"#03a9f4","--border-color":m||"#e0e0e0"},b=k.useMemo(()=>e.map(N=>({...N,displayValue:v.has(N.nom)?N.value:0})),[e,v]),_=k.useMemo(()=>e.every(N=>N.value===0),[e]),I=k.useMemo(()=>_?1:b.reduce((N,S)=>N+S.displayValue,0)||1,[_,b]),$=k.useCallback(({cx:N,cy:S,midAngle:A,innerRadius:D,outerRadius:H,value:P})=>{if(P===0||_)return null;const j=D+(H-D)*.5,q=N+j*Math.cos(-A*bS),T=S+j*Math.sin(-A*bS),R=Math.round(P/I*100);return o.jsx(a.Text,{x:q,y:T,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${R}%`})},[I,_]);return o.jsxs("div",{className:`${De.container} ${u}`,style:C,children:[!M&&o.jsx("div",{className:De.chartContainer,style:{height:t/2+100},children:o.jsx(a.ResponsiveContainer,{width:"100%",height:"100%",children:o.jsx(a.PieChart,{children:o.jsx(a.Pie,{data:_?[{displayValue:1,color:"#A3C2CB"}]:b,cx:"50%",cy:"50%",innerRadius:45,outerRadius:75,paddingAngle:0,dataKey:"displayValue",stroke:"white",strokeWidth:_?0:2,startAngle:90,endAngle:450,labelLine:!1,label:$,isAnimationActive:!1,children:_?o.jsx(a.Cell,{fill:"#A3C2CB"}):b.map((N,S)=>o.jsx(a.Cell,{fill:N.color},`cell-${S}`))})})})}),o.jsx("div",{className:De.legend,children:e.map((N,S)=>{const A=v.has(N.nom);return o.jsxs("div",{className:`${De.legendItem} ${!M&&!A?De.inactive:""}`,onClick:()=>w(N.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[o.jsxs("div",{className:De.leftSection,children:[!x&&o.jsx("div",{className:De.colorIndicator,style:{backgroundColor:N.color,opacity:M||A?1:.3}}),o.jsx("span",{className:De.label,style:{opacity:M||A?1:.5},children:N.nom})]}),o.jsxs("div",{className:De.rightSection,style:{opacity:M||A?1:.5},children:[o.jsxs("div",{className:De.ratio,children:[o.jsx("span",{className:De.value1,children:N.value1}),o.jsx("span",{className:De.separator,children:"/"}),o.jsx("span",{className:De.value2,children:N.value2})]}),N.statusColor&&o.jsx("div",{className:De.statusIndicator,style:{backgroundColor:N.statusColor}})]})]},`legend-${S}`)})})]})},n9e="_container_1pc4v_1",o9e="_leftGroup_1pc4v_10",c9e="_iconBtn_1pc4v_16",ii={container:n9e,leftGroup:o9e,iconBtn:c9e},i9e=e=>J.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},J.createElement("path",{d:"M3 12h18M3 6h18M3 18h18"})),r9e=k.memo(i9e),s9e=e=>J.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},J.createElement("path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8m-4-6-4-4-4 4m4-4v13"})),fA=k.memo(s9e),d9e=({menuIcon:e,logoProps:t,actionIcon:n,style:c,className:i,bgColor:r="var(--header-bg)",color:s="var(--color-text)",borderBottomColor:d="var(--color-border)",borderBottomWidth:h=1,height:l="8vh",onMenuClick:u,onActionClick:p})=>{const y={backgroundColor:r,color:s,borderBottom:`${h}px solid ${d}`,height:l,...c};return o.jsxs("header",{className:[ii.container,i].filter(Boolean).join(" "),style:y,children:[o.jsxs("div",{className:ii.leftGroup,children:[o.jsx("button",{className:ii.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??o.jsx(r9e,{width:22,height:22})}),o.jsx(fL,{...t,size:"medium"})]}),o.jsx("button",{className:ii.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??o.jsx(fA,{width:22,height:22})})]})},l9e="_container_24g3e_1",h9e="_iconBtn_24g3e_10",u9e="_title_24g3e_22",ri={container:l9e,iconBtn:h9e,title:u9e},p9e=({title:e="Menu",closeIcon:t,actionIcon:n,style:c,className:i,titleStyle:r,bgColor:s="var(--header-bg)",color:d="var(--color-text)",borderBottomColor:h="transparent",borderBottomWidth:l=0,height:u="8vh",onClose:p,onAction:y})=>{const g={backgroundColor:s,color:d,borderBottom:`${l}px solid ${h}`,height:u,...c};return o.jsxs("div",{className:[ri.container,i].filter(Boolean).join(" "),style:g,children:[o.jsx("button",{className:ri.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??o.jsx(mA,{width:22,height:22})}),o.jsx("span",{className:ri.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),o.jsx("button",{className:ri.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??o.jsx(fA,{width:22,height:22})})]})},y9e=({title:e,countLabel:t="UF",actionIcon:n=o.jsx(lt,{size:16}),onAction:c,items:i=[],onItemClick:r,activeColor:s="#0083bb",id:d,children:h})=>{const l=k.useMemo(()=>i.filter(u=>u.active).length,[i]);return o.jsxs(k9e,{id:d,children:[o.jsxs(m9e,{children:[o.jsxs(f9e,{children:[o.jsx(g9e,{children:e}),o.jsxs(v9e,{children:["(",l," ",t,")"]})]}),c&&o.jsx(M9e,{onClick:c,title:"Action",children:n})]}),o.jsx(x9e,{children:o.jsx(_9e,{children:i.map(u=>o.jsx(I9e,{item:u,activeColor:s,onItemClick:r},u.id))})}),h&&o.jsx(b9e,{children:h})]})},k9e=ae.div`
|
|
8181
8181
|
background: white;
|
|
8182
8182
|
border: 1px solid #ddd;
|
|
8183
8183
|
border-radius: 4px;
|
|
@@ -8363,7 +8363,7 @@
|
|
|
8363
8363
|
&:focus::-webkit-slider-runnable-track {
|
|
8364
8364
|
outline: none;
|
|
8365
8365
|
}
|
|
8366
|
-
`,S9e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",...e},J.createElement("mask",{id:"a",width:20,height:20,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},J.createElement("path",{fill:"#D9D9D9",d:"M0 0h20v20H0z"})),J.createElement("g",{mask:"url(#a)"},J.createElement("path",{fill:"#1C1B1F",d:"M10.75 10.375V7.748a.73.73 0 0 0-.214-.53.7.7 0 0 0-.531-.218.74.74 0 0 0-.536.214.7.7 0 0 0-.218.53v2.954q0 .149.062.288.063.139.174.25l2.076 2.076q.23.23.531.22a.77.77 0 0 0 .532-.24.73.73 0 0 0 0-1.063zM10 18a6.8 6.8 0 0 1-2.731-.554 7.1 7.1 0 0 1-2.217-1.498 7.1 7.1 0 0 1-1.497-2.216A6.8 6.8 0 0 1 3 11q0-1.458.554-2.732t1.497-2.217A7.1 7.1 0 0 1 7.27 4.554 6.8 6.8 0 0 1 10 4q1.458 0 2.732.554 1.274.555 2.216 1.497a7.1 7.1 0 0 1 1.498 2.217Q17 9.542 17 11t-.555 2.732a7.1 7.1 0 0 1-1.497 2.217 7.1 7.1 0 0 1-2.216 1.497A6.8 6.8 0 0 1 10 18M1.939 6.458a.73.73 0 0 1 0-1.062l2.48-2.48a.73.73 0 0 1 1.062 0 .73.73 0 0 1 0 1.063l-2.5 2.5a.68.68 0 0 1-.521.219.76.76 0 0 1-.52-.24m16.146 0a.73.73 0 0 1-1.062 0l-2.48-2.479a.73.73 0 0 1 0-1.062.73.73 0 0 1 1.063 0l2.479 2.5q.23.228.23.52a.72.72 0 0 1-.23.521M9.996 16.5q2.296 0 3.9-1.6t1.605-3.895-1.6-3.9T10.005 5.5t-3.9 1.6T4.5 10.995t1.6 3.9T9.995 16.5"}))),$9e=k.memo(S9e),q9e=({value:e,onChange:t,label:n,placeholder:c="00:00",disabled:i=!1,fullWidth:r=!0,cancelText:s,applyText:d,hoursLabel:h,minutesLabel:l,dropdownAlignment:u="left",maxHours:p=23,ariaLabel:y,ariaLabelledBy:g,a11yConfig:f})=>{const[m,M]=k.useState(!1),x=k.useRef(null),v=N=>{if(N instanceof Date)return{h:N.getHours().toString().padStart(2,"0"),m:N.getMinutes().toString().padStart(2,"0")};if(typeof N=="string"&&N.includes(":")){const
|
|
8366
|
+
`,S9e=e=>J.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",...e},J.createElement("mask",{id:"a",width:20,height:20,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},J.createElement("path",{fill:"#D9D9D9",d:"M0 0h20v20H0z"})),J.createElement("g",{mask:"url(#a)"},J.createElement("path",{fill:"#1C1B1F",d:"M10.75 10.375V7.748a.73.73 0 0 0-.214-.53.7.7 0 0 0-.531-.218.74.74 0 0 0-.536.214.7.7 0 0 0-.218.53v2.954q0 .149.062.288.063.139.174.25l2.076 2.076q.23.23.531.22a.77.77 0 0 0 .532-.24.73.73 0 0 0 0-1.063zM10 18a6.8 6.8 0 0 1-2.731-.554 7.1 7.1 0 0 1-2.217-1.498 7.1 7.1 0 0 1-1.497-2.216A6.8 6.8 0 0 1 3 11q0-1.458.554-2.732t1.497-2.217A7.1 7.1 0 0 1 7.27 4.554 6.8 6.8 0 0 1 10 4q1.458 0 2.732.554 1.274.555 2.216 1.497a7.1 7.1 0 0 1 1.498 2.217Q17 9.542 17 11t-.555 2.732a7.1 7.1 0 0 1-1.497 2.217 7.1 7.1 0 0 1-2.216 1.497A6.8 6.8 0 0 1 10 18M1.939 6.458a.73.73 0 0 1 0-1.062l2.48-2.48a.73.73 0 0 1 1.062 0 .73.73 0 0 1 0 1.063l-2.5 2.5a.68.68 0 0 1-.521.219.76.76 0 0 1-.52-.24m16.146 0a.73.73 0 0 1-1.062 0l-2.48-2.479a.73.73 0 0 1 0-1.062.73.73 0 0 1 1.063 0l2.479 2.5q.23.228.23.52a.72.72 0 0 1-.23.521M9.996 16.5q2.296 0 3.9-1.6t1.605-3.895-1.6-3.9T10.005 5.5t-3.9 1.6T4.5 10.995t1.6 3.9T9.995 16.5"}))),$9e=k.memo(S9e),q9e=({value:e,onChange:t,label:n,placeholder:c="00:00",disabled:i=!1,fullWidth:r=!0,cancelText:s,applyText:d,hoursLabel:h,minutesLabel:l,dropdownAlignment:u="left",maxHours:p=23,ariaLabel:y,ariaLabelledBy:g,a11yConfig:f})=>{const[m,M]=k.useState(!1),x=k.useRef(null),v=N=>{if(N instanceof Date)return{h:N.getHours().toString().padStart(2,"0"),m:N.getMinutes().toString().padStart(2,"0")};if(typeof N=="string"&&N.includes(":")){const S=N.split(":");return{h:S[0].padStart(2,"0"),m:S[1].padStart(2,"0")}}return{h:"00",m:"00"}},[L,w]=k.useState("00"),[C,b]=k.useState("00");k.useEffect(()=>{const N=v(e);w(N.h),b(N.m)},[e,m]),k.useEffect(()=>{const N=S=>{x.current&&!x.current.contains(S.target)&&M(!1)};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]);const _=()=>{const N=parseInt(L)||0,S=parseInt(C)||0,A=Math.min(p,Math.max(0,N)).toString().padStart(2,"0"),D=Math.min(59,Math.max(0,S)).toString().padStart(2,"0");t(`${A}:${D}`),M(!1)},I=e?typeof e=="string"?e:`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}`:"",$=Q(f,n);return o.jsxs(A9e,{ref:x,$fullWidth:r,title:$,children:[n&&o.jsx(z9e,{id:g?void 0:`${n}-label`,children:n}),o.jsx(V9e,{type:"button",$isOpen:m,$disabled:i,onClick:()=>!i&&M(!m),disabled:i,"aria-label":y,"aria-labelledby":g||(n?`${n}-label`:void 0),"aria-expanded":m,"aria-haspopup":"listbox",children:o.jsxs(P9e,{children:[o.jsx(T9e,{$isPlaceholder:!I,children:I||c}),o.jsx(H9e,{})]})}),m&&o.jsxs(D9e,{$alignment:u,children:[o.jsxs(B9e,{children:[o.jsxs(wS,{children:[o.jsx(CS,{children:h}),o.jsx(NS,{children:o.jsx(jS,{type:"number",min:"0",max:p.toString(),$wide:p>99,value:L,onChange:N=>{const S=N.target.value;if(S===""){w("");return}const A=parseInt(S);!isNaN(A)&&A>=0&&A<=p&&w(S)},autoFocus:!0})})]}),o.jsx(R9e,{children:":"}),o.jsxs(wS,{children:[o.jsx(CS,{children:l}),o.jsx(NS,{children:o.jsx(jS,{type:"number",min:"0",max:"59",value:C,onChange:N=>{const S=N.target.value;if(S===""){b("");return}const A=parseInt(S);!isNaN(A)&&A>=0&&A<=59&&b(S.slice(-2))}})})]})]}),o.jsxs(F9e,{children:[o.jsx(SS,{className:"cancel",onClick:()=>M(!1),children:s}),o.jsx(SS,{className:"apply",onClick:_,children:d})]})]})]})},A9e=ae.div`
|
|
8367
8367
|
position: relative;
|
|
8368
8368
|
display: inline-block;
|
|
8369
8369
|
max-width: 100%;
|
|
@@ -8572,17 +8572,17 @@
|
|
|
8572
8572
|
`,X9e=ae.div`
|
|
8573
8573
|
display: flex;
|
|
8574
8574
|
flex-direction: ${e=>e.$columns===2||e.$vertical?"column":"row"};
|
|
8575
|
-
font-size: 0.
|
|
8576
|
-
line-height: 1.
|
|
8577
|
-
gap: ${e=>e.$columns===2||e.$vertical?"0.
|
|
8575
|
+
font-size: 0.75rem;
|
|
8576
|
+
line-height: 1.3;
|
|
8577
|
+
gap: ${e=>e.$columns===2||e.$vertical?"0.125rem":"0"};
|
|
8578
8578
|
`,Y9e=ae.div`
|
|
8579
|
-
width: ${e=>e.$columns===2||e.$vertical?"auto":"
|
|
8579
|
+
width: ${e=>e.$columns===2||e.$vertical?"auto":"10.5rem"};
|
|
8580
8580
|
flex-shrink: 0;
|
|
8581
8581
|
color: inherit;
|
|
8582
|
-
font-weight:
|
|
8582
|
+
font-weight: 600;
|
|
8583
8583
|
`,J9e=ae.div`
|
|
8584
8584
|
flex: 1;
|
|
8585
|
-
font-weight:
|
|
8585
|
+
font-weight: 400;
|
|
8586
8586
|
white-space: pre-wrap;
|
|
8587
8587
|
word-break: break-word;
|
|
8588
8588
|
`,Q9e=ae.button`
|
|
@@ -8602,9 +8602,9 @@
|
|
|
8602
8602
|
&:hover {
|
|
8603
8603
|
opacity: 1;
|
|
8604
8604
|
}
|
|
8605
|
-
`,eMe="_patientCard_liq5j_1",tMe="_notAllowedCursor_liq5j_16",aMe="_innerPadding_liq5j_26",nMe="_noFooterMargin_liq5j_33",oMe="_topArea_liq5j_37",cMe="_small_liq5j_46",iMe="_header_liq5j_59",rMe="_headerLeft_liq5j_66",sMe="_headerRight_liq5j_72",dMe="_uf_liq5j_77",lMe="_rmBadge_liq5j_85",hMe="_roomBed_liq5j_100",uMe="_content_liq5j_107",pMe="_body_liq5j_119",yMe="_upperBodyContent_liq5j_137",kMe="_patientInfo_liq5j_147",mMe="_iep_liq5j_152",fMe="_name_liq5j_157",gMe="_birthName_liq5j_164",vMe="_firstNames_liq5j_169",MMe="_dobAge_liq5j_174",xMe="_duration_liq5j_179",_Me="_comment_liq5j_185",LMe="_timeline_liq5j_192",IMe="_destination_liq5j_196",bMe="_todayReservation_liq5j_204",wMe="_arrow_liq5j_225",CMe="_progressBar_liq5j_230",NMe="_progressFill_liq5j_240",jMe="_progressDate_liq5j_250",SMe="_footer_liq5j_261",$Me="_actionsLeft_liq5j_270",qMe="_actionsRight_liq5j_271",AMe="_iconWrap_liq5j_277",zMe="_centerLabelHuge_liq5j_296",VMe="_labelYellow_liq5j_303",PMe="_expectedBottom_liq5j_322",TMe="_expectedPrefix_liq5j_330",HMe="_expectedDate_liq5j_336",DMe="_notesView_liq5j_357",BMe="_notesHeader_liq5j_365",RMe="_notesTitle_liq5j_371",FMe="_notesList_liq5j_377",EMe="_noteItem_liq5j_383",OMe="_reservationView_liq5j_388",UMe="_reservationNote_liq5j_400",WMe="_bottomArea_liq5j_405",GMe="_bottomLeftSymbol_liq5j_413",
|
|
8606
|
-
${
|
|
8607
|
-
${
|
|
8608
|
-
${q?
|
|
8605
|
+
`,eMe="_patientCard_liq5j_1",tMe="_notAllowedCursor_liq5j_16",aMe="_innerPadding_liq5j_26",nMe="_noFooterMargin_liq5j_33",oMe="_topArea_liq5j_37",cMe="_small_liq5j_46",iMe="_header_liq5j_59",rMe="_headerLeft_liq5j_66",sMe="_headerRight_liq5j_72",dMe="_uf_liq5j_77",lMe="_rmBadge_liq5j_85",hMe="_roomBed_liq5j_100",uMe="_content_liq5j_107",pMe="_body_liq5j_119",yMe="_upperBodyContent_liq5j_137",kMe="_patientInfo_liq5j_147",mMe="_iep_liq5j_152",fMe="_name_liq5j_157",gMe="_birthName_liq5j_164",vMe="_firstNames_liq5j_169",MMe="_dobAge_liq5j_174",xMe="_duration_liq5j_179",_Me="_comment_liq5j_185",LMe="_timeline_liq5j_192",IMe="_destination_liq5j_196",bMe="_todayReservation_liq5j_204",wMe="_arrow_liq5j_225",CMe="_progressBar_liq5j_230",NMe="_progressFill_liq5j_240",jMe="_progressDate_liq5j_250",SMe="_footer_liq5j_261",$Me="_actionsLeft_liq5j_270",qMe="_actionsRight_liq5j_271",AMe="_iconWrap_liq5j_277",zMe="_centerLabelHuge_liq5j_296",VMe="_labelYellow_liq5j_303",PMe="_expectedBottom_liq5j_322",TMe="_expectedPrefix_liq5j_330",HMe="_expectedDate_liq5j_336",DMe="_notesView_liq5j_357",BMe="_notesHeader_liq5j_365",RMe="_notesTitle_liq5j_371",FMe="_notesList_liq5j_377",EMe="_noteItem_liq5j_383",OMe="_reservationView_liq5j_388",UMe="_reservationNote_liq5j_400",WMe="_bottomArea_liq5j_405",GMe="_bottomLeftSymbol_liq5j_413",E={patientCard:eMe,notAllowedCursor:tMe,innerPadding:aMe,noFooterMargin:nMe,topArea:oMe,small:cMe,header:iMe,headerLeft:rMe,headerRight:sMe,uf:dMe,rmBadge:lMe,roomBed:hMe,content:uMe,body:pMe,upperBodyContent:yMe,patientInfo:kMe,iep:mMe,name:fMe,birthName:gMe,firstNames:vMe,dobAge:MMe,duration:xMe,comment:_Me,timeline:LMe,destination:IMe,todayReservation:bMe,arrow:wMe,progressBar:CMe,progressFill:NMe,progressDate:jMe,footer:SMe,actionsLeft:$Me,actionsRight:qMe,iconWrap:AMe,centerLabelHuge:zMe,labelYellow:VMe,expectedBottom:PMe,expectedPrefix:TMe,expectedDate:HMe,notesView:DMe,notesHeader:BMe,notesTitle:RMe,notesList:FMe,noteItem:EMe,reservationView:OMe,reservationNote:UMe,bottomArea:WMe,bottomLeftSymbol:GMe},KMe=({size:e="large",className:t="",customStyle:n,topAreaStyle:c,headerLeft:i,headerRight:r,centerHugeLabel:s,iep:d,nameLine:h,birthName:l,birthNamePrefix:u,firstNamesLine:p,dobAgeLine:y,stayDuration:g,comment:f,expectedDate:m,expectedDatePrefix:M,showTimeline:x=!1,destination:v,progress:L=0,progressTrackColor:w,progressFillColor:C,progressLabel:b,showFooter:_=!1,leftIcons:I=[],rightIcons:$=[],activeView:N="default",notesHeaderTitle:S,notesHeaderIcon:A,notesList:D=[],reservationNote:H,isYellowLabel:P=!1,bottomLeftSymbol:j,cursorNotAllowed:q=!1,rmBadge:T,isReservationToday:R=!1})=>{const z=e==="small",F=`
|
|
8606
|
+
${E.patientCard}
|
|
8607
|
+
${z?E.small:""}
|
|
8608
|
+
${q?E.notAllowedCursor:""}
|
|
8609
8609
|
${t}
|
|
8610
|
-
`.trim();return o.jsx("div",{className:
|
|
8610
|
+
`.trim();return o.jsx("div",{className:F,style:n,children:o.jsxs("div",{className:E.innerPadding,children:[o.jsxs("div",{className:`${E.topArea} ${_?"":E.noFooterMargin}`,style:c,children:[o.jsx("div",{className:E.header,children:T?o.jsxs(o.Fragment,{children:[o.jsx("div",{className:E.headerLeft,children:o.jsxs("div",{className:E.uf,children:[i,r&&` - ${r}`]})}),o.jsx("div",{className:E.headerRight,children:o.jsx("div",{className:E.rmBadge,children:T})})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{className:E.headerLeft,children:i&&o.jsx("div",{className:E.uf,children:i})}),o.jsx("div",{className:E.headerRight,children:r&&o.jsx("span",{className:E.roomBed,children:r})})]})}),o.jsxs("div",{className:E.content,children:[o.jsxs("div",{className:E.body,children:[N==="default"&&o.jsxs(o.Fragment,{children:[s&&o.jsx("div",{className:`${E.centerLabelHuge} ${P?E.labelYellow:""}`,children:s}),o.jsxs("div",{className:E.upperBodyContent,children:[o.jsxs("div",{className:E.patientInfo,children:[d&&o.jsx("div",{className:E.iep,children:d}),h&&o.jsx("div",{className:E.name,children:h}),l&&o.jsxs("div",{className:E.birthName,children:["(",u?`${u} ${l}`:l,")"]}),p&&o.jsx("div",{className:E.firstNames,children:p}),y&&o.jsx("div",{className:E.dobAge,children:y})]}),g&&o.jsx("div",{className:E.duration,children:g}),f&&o.jsx("div",{className:E.comment,children:f})]}),m&&o.jsxs("div",{className:E.expectedBottom,children:[M&&o.jsx("div",{className:E.expectedPrefix,children:M}),o.jsx("div",{className:E.expectedDate,children:m})]})]}),N==="notes"&&o.jsxs("div",{className:E.notesView,children:[o.jsxs("div",{className:E.notesHeader,children:[A,o.jsx("span",{className:E.notesTitle,children:S})]}),o.jsx("div",{className:E.notesList,children:D.map((K,te)=>o.jsx("div",{className:E.noteItem,children:K},te))})]}),N==="reservation"&&o.jsxs("div",{className:E.reservationView,children:[s&&o.jsx("div",{className:`${E.centerLabelHuge} ${P?E.labelYellow:""}`,children:s}),o.jsx("div",{className:E.upperBodyContent,children:o.jsxs("div",{className:E.patientInfo,children:[d&&o.jsx("div",{className:E.iep,children:d}),h&&o.jsx("div",{className:E.name,children:h}),l&&o.jsxs("div",{className:E.birthName,children:["(",u?`${u} ${l}`:l,")"]}),p&&o.jsx("div",{className:E.firstNames,children:p}),y&&o.jsx("div",{className:E.dobAge,children:y})]})}),H&&o.jsx("div",{className:E.reservationNote,children:H})]})]}),(j||x||v)&&o.jsxs("div",{className:E.bottomArea,children:[j&&o.jsx("div",{className:E.bottomLeftSymbol,children:j}),v&&o.jsxs("div",{className:`${E.destination} ${R?E.todayReservation:""}`,children:[o.jsx("span",{className:E.arrow,children:"→"}),v.prefix&&o.jsx("span",{children:v.prefix}),o.jsx("strong",{children:v.name}),v.suffix&&o.jsx("span",{children:v.suffix})]}),x&&o.jsx("div",{className:E.timeline,children:w&&w!=="transparent"&&o.jsxs("div",{className:E.progressBar,style:{backgroundColor:w},children:[o.jsx("div",{className:E.progressFill,style:{width:`${L}%`,backgroundColor:C}}),b&&o.jsx("span",{className:E.progressDate,children:b})]})})]})]})]}),_&&o.jsxs("div",{className:E.footer,children:[o.jsx("div",{className:E.actionsLeft,children:I.map((K,te)=>o.jsx("div",{className:E.iconWrap,children:K},`left-${te}`))}),o.jsx("div",{className:E.actionsRight,children:$.map((K,te)=>o.jsx("div",{className:E.iconWrap,children:K},`right-${te}`))})]})]})})},ZMe=({title:e,titleBold:t,titleKey:n,items:c,className:i="",width:r,style:s,labelStyle:d,valueStyle:h,headerStyle:l,a11yConfig:u,onItemClick:p,onDeleteItem:y})=>{const g={width:r||"100%",...s};return o.jsxs("div",{className:`data-list-v2-container ${i}`,style:g,children:[(e||t)&&o.jsx("div",{className:"data-list-v2-header",style:l,children:o.jsxs("h2",{className:"header-title",title:Q(u,n),children:[e&&o.jsx("span",{className:"title-regular",children:e}),t&&o.jsx("span",{className:"title-bold",children:t})]})}),o.jsx("div",{className:"data-list-v2-content",children:c.map(f=>o.jsxs("div",{className:`data-list-v2-item ${p?"interactive":""} ${f.showValueLine?"with-value-line":""}`,onClick:()=>p?.(f),children:[o.jsx("div",{className:"item-label-col",style:d,children:o.jsx("div",{className:"item-label",title:Q(f.a11yConfig,f.labelKey),children:f.label})}),o.jsxs("div",{className:"item-value-col",style:h,children:[o.jsx("div",{className:"item-value",title:Q(f.a11yConfig,f.valueKey),children:f.value}),y&&o.jsx("div",{className:"item-delete-action",onClick:m=>{m.stopPropagation(),y(f)},children:o.jsx(lt,{size:16})})]})]},f.id))})]})},XMe=({id:e,data:t,children:n,className:c,onDragStart:i,onDragEnd:r})=>{const s=h=>{h.dataTransfer.setData("text/plain",e),t&&h.dataTransfer.setData("application/json",JSON.stringify(t)),h.dataTransfer.effectAllowed="move",i&&i(h,t)},d=h=>{r&&r(h)};return o.jsx("div",{draggable:!0,onDragStart:s,onDragEnd:d,style:{cursor:"grab"},className:c,children:n})},YMe=({id:e,onDrop:t,children:n,className:c="",activeClassName:i="is-drag-over"})=>{const[r,s]=k.useState(!1),d=k.useRef(0),h=g=>{g.preventDefault(),d.current+=1,d.current>0&&s(!0)},l=g=>{g.preventDefault(),g.dataTransfer.dropEffect="move"},u=g=>{g.preventDefault(),d.current-=1,d.current===0&&s(!1)},p=g=>{g.preventDefault(),s(!1),d.current=0;const f=g.dataTransfer.getData("text/plain");let m;try{const M=g.dataTransfer.getData("application/json");M&&(m=JSON.parse(M))}catch(M){console.error("Failed to parse drag data",M)}f&&t(f,m)},y=`${c} ${r?i:""}`.trim();return o.jsx("div",{onDragEnter:h,onDragOver:l,onDragLeave:u,onDrop:p,className:y,"data-droppable-id":e,children:n})};exports.LineChart=a.LineChart;exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=lve;exports.AddItemModal=Tc;exports.Alert=Yw;exports.AlertsProvider=e3e;exports.BadgeList=$S;exports.BadgeRenderer=eA;exports.Button=iL;exports.ChartContainer=Jke;exports.CheckboxInput=qq;exports.CircularProgress=Hb;exports.ColorInput=Tq;exports.ComponentVisibilityManager=Rb;exports.ComponentVisibilityToggle=f6e;exports.ConfirmationModal=ove;exports.ConfirmationPopup=ome;exports.CounterListBox=F3e;exports.CurrencyRenderer=nA;exports.DashboardSummary=Zme;exports.DataBoard=vt;exports.DataFourBoards=lA;exports.DataListV2=ZMe;exports.DateInput=Vq;exports.DatePicker=hw;exports.DateRenderer=tA;exports.DayStatCard=_2e;exports.DayStatCardV2=p8e;exports.DonutChartRatio=a9e;exports.Draggable=XMe;exports.DraggableProvider=w2e;exports.DraggableSwitcherButton=rL;exports.Droppable=YMe;exports.DynamicForm=m4e;exports.DynamicIcon=g4e;exports.DynamicInput=Hq;exports.EmailRenderer=Jq;exports.Encours=s6e;exports.EntryControl=B3e;exports.FileInput=zq;exports.FilterBar=_ge;exports.FiltreEtiquette=Dve;exports.FlexRowContainer=O3e;exports.Grid=zS;exports.Header=q2e;exports.HorizontalBarChart=k8e;exports.IconText=US;exports.ImageRenderer=oA;exports.IndicatorItemV2=r7e;exports.InfoBanner=L7e;exports.InputWrapper=IL;exports.LegendFilterProvider=N2e;exports.LegendFilterSwitcherButton=sL;exports.LinkRenderer=Qq;exports.ListContentContainer=U3e;exports.Logo=fL;exports.MetricsPanel=rA;exports.MobileMenuHeader=p9e;exports.MobileNavMenu=pA;exports.MobileTopBar=d9e;exports.ModuleHeader=L3e;exports.ModuleSideBar=I3e;exports.ModuleSideBarV2=Z7e;exports.NavBar=VS;exports.NavBarV2=A8e;exports.NavItem=Db;exports.NavItemV2=Jw;exports.NavProvider=L2e;exports.NumberRenderer=aA;exports.PatientCard=KMe;exports.PatientDetailsPanel=E9e;exports.PatientInfoCard=U9e;exports.PeriodSelect=i3e;exports.PopUp=O7e;exports.RadioInput=Aq;exports.RangeInput=Pq;exports.ScrollableHorizontale=WS;exports.SearchBar=dA;exports.Select=kA;exports.SelectFilter=Rme;exports.SelectInput=Gw;exports.SettingNavBar=K7e;exports.ShowDataProvider=j2e;exports.ShowDataSwitcherButton=dL;exports.SideComponent=s3e;exports.SimpleListBox=R3e;exports.Slider=w9e;exports.SubHeaderContent=ofe;exports.SubHeaderNavItem=uA;exports.SubHeaderTitle=D8e;exports.SubNavBar=A2e;exports.SummaryAvailable=Rve;exports.SummaryCard=iA;exports.Switcher=G1;exports.TableLayout=yA;exports.TableauDynamique=cA;exports.TableauDynamiqueSafePagination=oke;exports.TableauxComponent=yA;exports.TextInput=Sq;exports.TextRenderer=Yq;exports.TextareaInput=$q;exports.ThemeProvider=I2e;exports.ThemeSwitcher=cfe;exports.ThemeSwitcherButton=Bb;exports.TimePicker=q9e;exports.Title=u3e;exports.TranslationKey=b3e;exports.TranslationKeyV2=X7e;exports.TrendItem=GS;exports.TrendList=Nue;exports.TrendListBox=E3e;exports.UnitGrid=y9e;exports.UserInfo=hA;exports.alertModels=a3e;exports.getA11yTooltip=Q;exports.getFormSchema=f4e;exports.hexToRgba=At;exports.registerRenderer=K5e;exports.tableConfig=lw;exports.useAlerts=t3e;exports.useBodyScrollLock=d3e;exports.useConfirmationPopup=cme;exports.useDraggableSwitcher=DS;exports.useFilters=Zq;exports.useLegendFilterSwitcher=RS;exports.useNavigation=ut;exports.useShowDataSwitcher=ES;exports.useTableData=Xq;exports.useThemeContext=TS;exports.useThemeSwitcher=gL;exports.validateField=mL;exports.validateForm=jq;
|