efficient-shell 10.23.0 → 10.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -3
- package/dist/{Browser-GTQKXJQ6.js → Browser-KUFFOGYK.js} +14 -14
- package/dist/Calculator-LENRW34X.js +29 -0
- package/dist/CurrencyConverter-7UMHQS2V.js +21 -0
- package/dist/{Documents-MTCJXTXY.js → Documents-ODZ4AAOY.js} +16 -16
- package/dist/{Files-XMZ3XBP4.js → Files-BRGTTI2J.js} +25 -25
- package/dist/Notepad-RMRDEGGU.js +24 -0
- package/dist/{PomodoroTimer-5ELVNJEU.js → PomodoroTimer-4566W4F7.js} +40 -40
- package/dist/{Preview-QCA6XUDU.js → Preview-7POJP7PB.js} +33 -33
- package/dist/Sidebar-TU4QCKYJ.js +44 -0
- package/dist/Spreadsheet-7T4VT5IO.js +37 -0
- package/dist/{Stock-TRG6CAZJ.js → Stock-H73C4R3N.js} +3 -3
- package/dist/{Weather-YGTT7UWR.js → Weather-WF56QCBI.js} +19 -19
- package/dist/{WorldClock-UCX5LCJB.js → WorldClock-5QJNZYYS.js} +6 -6
- package/dist/ai/index.js +1 -1
- package/dist/api/shellHttp.d.ts +52 -0
- package/dist/api/shellHttp.js +1 -0
- package/dist/apps/index.js +1 -1
- package/dist/bin/media-host-check.js +1 -1
- package/dist/bin/ui-check.js +1 -1
- package/dist/chunk-2QY5BJLA.js +2 -0
- package/dist/chunk-3C5NKOVF.js +1 -0
- package/dist/chunk-3FBDLIQW.js +99 -0
- package/dist/chunk-4LXCCZDM.js +1 -0
- package/dist/chunk-5DIGYJHD.js +1 -0
- package/dist/{chunk-U2RFKQVA.js → chunk-5H4SWQGM.js} +1 -1
- package/dist/{chunk-75UD5ZMP.js → chunk-6IOFNPR6.js} +3 -3
- package/dist/{chunk-YOZGW2RB.js → chunk-7FW2BQTV.js} +1 -1
- package/dist/{chunk-RV2FGSGH.js → chunk-ALTBTO3Z.js} +2 -2
- package/dist/chunk-ATMJ5ZPK.js +1 -0
- package/dist/{chunk-XJPKDTQN.js → chunk-BUO7XCYR.js} +12 -12
- package/dist/{chunk-JET2TKEQ.js → chunk-DOF56HTO.js} +5 -5
- package/dist/chunk-E6FDUFPH.js +1 -0
- package/dist/chunk-EH2BNSG3.js +13 -0
- package/dist/chunk-F3ZOO23R.js +1 -0
- package/dist/chunk-HNVSVTNC.js +16 -0
- package/dist/{chunk-E6LQY6TB.js → chunk-IHNOWRTP.js} +2 -2
- package/dist/{chunk-E5QPXEKN.js → chunk-JFBL4PR3.js} +1 -1
- package/dist/{chunk-O52BQ5DP.js → chunk-NZ7BFYCM.js} +1 -1
- package/dist/chunk-O3MBPAWZ.js +2 -0
- package/dist/{chunk-DBL7MFCB.js → chunk-PVDZG2U2.js} +4 -4
- package/dist/{chunk-G7BBSHDF.js → chunk-QRU55BUS.js} +1 -1
- package/dist/{chunk-5RQJRD2E.js → chunk-RSOBUPLK.js} +1 -1
- package/dist/{chunk-VCCGS6Q2.js → chunk-S5DYR75A.js} +8 -8
- package/dist/chunk-STKJA4PV.js +1 -0
- package/dist/{chunk-ZTV2BA3P.js → chunk-U6LKNGC6.js} +1 -1
- package/dist/chunk-UKBXQXDZ.js +1 -0
- package/dist/chunk-ULJQYXHB.js +1 -0
- package/dist/{chunk-I4DLYOPO.js → chunk-V2J2AHDW.js} +4 -4
- package/dist/{chunk-Z46MSUTP.js → chunk-WLYYC3AP.js} +1 -1
- package/dist/{chunk-OGU5JE52.js → chunk-WOAMPTZI.js} +6 -6
- package/dist/{chunk-GCZU4XFA.js → chunk-Z6GQFTLJ.js} +1 -1
- package/dist/data/DataTable.js +1 -1
- package/dist/data/EntityList.d.ts +125 -0
- package/dist/data/EntityList.js +2 -0
- package/dist/data/ResizableTable.d.ts +31 -0
- package/dist/data/ResizableTable.js +2 -0
- package/dist/data/useColumnConfig.d.ts +68 -0
- package/dist/data/useColumnConfig.js +2 -0
- package/dist/data/useSort.d.ts +55 -0
- package/dist/data/useSort.js +2 -0
- package/dist/data/useTableNav.d.ts +28 -0
- package/dist/data/useTableNav.js +2 -0
- package/dist/format/index.js +1 -1
- package/dist/forms/BorderInput.js +1 -1
- package/dist/forms/BrandAssetEditor.js +1 -1
- package/dist/forms/ColorPicker.js +1 -1
- package/dist/forms/CornersInput.js +1 -1
- package/dist/forms/InputNumber.js +1 -1
- package/dist/forms/LinkPicker.js +1 -1
- package/dist/forms/MediaLibrary.js +1 -1
- package/dist/forms/MediaUploadGrid.js +1 -1
- package/dist/forms/PositionInput.js +1 -1
- package/dist/forms/SidesInput.js +1 -1
- package/dist/forms/Slider.js +1 -1
- package/dist/forms/WidthsBar.js +1 -1
- package/dist/icons/efficient-glyphs.js +1 -1
- package/dist/icons/efficient-looks.js +1 -1
- package/dist/icons/efficient.js +1 -1
- package/dist/icons/looks/map.js +1 -1
- package/dist/icons/payment.js +1 -1
- package/dist/icons/sets.js +1 -1
- package/dist/index.d.ts +13 -317
- package/dist/index.js +667 -694
- package/dist/shell/LanguageSelect.js +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/templates/DataTablePage.js +1 -1
- package/dist/ui/index.d.ts +6 -0
- package/dist/ui/index.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/Calculator-PM4TYWTE.js +0 -29
- package/dist/CurrencyConverter-4I2ENTSX.js +0 -21
- package/dist/Notepad-QIJN7VDZ.js +0 -24
- package/dist/Sidebar-7LN3ZEF4.js +0 -44
- package/dist/Spreadsheet-EKYP6XIX.js +0 -37
- package/dist/chunk-7IY47EKR.js +0 -1
- package/dist/chunk-CY5N5OA3.js +0 -2
- package/dist/chunk-I3XM2PSQ.js +0 -100
- package/dist/chunk-OFCHJWM2.js +0 -1
- /package/dist/{chunk-CSA6CGXS.js → chunk-RKLZDVAO.js} +0 -0
package/dist/chunk-7IY47EKR.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{WrenchScrewdriverMiniIcon as r}from"./chunk-HWGKMEYA.js";import{WrenchScrewdriverSolidIcon as o}from"./chunk-H7AHH7OB.js";import{WrenchSolidIcon as m}from"./chunk-A25YVGAG.js";import{ZoomInMiniIcon as t}from"./chunk-NPCWLBMK.js";import{ZoomInSolidIcon as c}from"./chunk-4H2J5UAB.js";import{WindowSolidIcon as i}from"./chunk-QBRE4MH3.js";import{WindowsMiniIcon as n}from"./chunk-YMECORJ4.js";import{WindowsSolidIcon as s}from"./chunk-XHRWQU2N.js";import{WordsFromMiniIcon as p}from"./chunk-BEKDLU25.js";import{WordsFromSolidIcon as u}from"./chunk-2MQ7ESMH.js";import{WrapMiniIcon as h}from"./chunk-NLGDN36O.js";import{WrapSolidIcon as k}from"./chunk-YBRJR7NV.js";import{WrenchMiniIcon as f}from"./chunk-BWDHO77A.js";import{WarningSolidIcon as e}from"./chunk-TAXDMCNG.js";import{WeightMiniIcon as j}from"./chunk-7MBI6K4M.js";import{WeightSolidIcon as a}from"./chunk-JH4N2AGC.js";import{WidgetsMiniIcon as l}from"./chunk-K3ZBIFDS.js";import{WidgetsSolidIcon as d}from"./chunk-C7WCAKSH.js";import{WidthMiniIcon as b}from"./chunk-B4GBUSE5.js";import{WidthSolidIcon as Q}from"./chunk-W6FRXR6X.js";import{WindowMiniIcon as C}from"./chunk-CNVF67ZV.js";import{VerifiedSolidIcon as F}from"./chunk-C6CI7XH7.js";import{VideoOffMiniIcon as N}from"./chunk-PNVFIQXD.js";import{VideoOffSolidIcon as J}from"./chunk-F75KLDZK.js";import{ViewColumnsMiniIcon as M}from"./chunk-KAUUQEZJ.js";import{ViewColumnsSolidIcon as K}from"./chunk-ZN5SU4ZI.js";import{WalletMiniIcon as R}from"./chunk-ITCE6WFF.js";import{WalletSolidIcon as U}from"./chunk-RLQAX5HN.js";import{WarningMiniIcon as D}from"./chunk-KHXH44V6.js";import{UnderlineSolidIcon as H}from"./chunk-R2KCOXZR.js";import{UndoMiniIcon as P}from"./chunk-O5EP2UNP.js";import{UndoSolidIcon as X}from"./chunk-T2IC4IQA.js";import{UploadMiniIcon as L}from"./chunk-2NYCHHEX.js";import{UploadSolidIcon as Z}from"./chunk-LDY4RXO4.js";import{VAlignMiniIcon as G}from"./chunk-E5XQWSQG.js";import{VAlignSolidIcon as g}from"./chunk-64KV2YO3.js";import{VerifiedMiniIcon as A}from"./chunk-FJXQQ6N4.js";import{TruckSolidIcon as W}from"./chunk-GYA54DB2.js";import{TvMiniIcon as E}from"./chunk-BQ7RNIBA.js";import{TvSolidIcon as Y}from"./chunk-RVA6HGDB.js";import{TypeMiniIcon as T}from"./chunk-3VZEPYAX.js";import{TypeSolidIcon as B}from"./chunk-RH6C435W.js";import{TyreMiniIcon as I}from"./chunk-PPRJBW5Y.js";import{TyreSolidIcon as O}from"./chunk-IF34QPCV.js";import{UnderlineMiniIcon as S}from"./chunk-23YM7DOW.js";import{TextureMiniIcon as V}from"./chunk-VRGZFJZD.js";import{TextureSolidIcon as w}from"./chunk-2AGTZHGD.js";import{TrashAlt2Icon as y}from"./chunk-TEEDZ5O4.js";import{TrashAltIcon as x}from"./chunk-X65IANDK.js";import{TrashMiniIcon as v}from"./chunk-J5VO23W3.js";import{TrashSolidIcon as q}from"./chunk-GPFBERFF.js";import{TruckAltIcon as z}from"./chunk-MWG5QRHE.js";import{TruckMiniIcon as $}from"./chunk-JCKOSJNI.js";import{TextColorMiniIcon as _}from"./chunk-3WUQ5V4J.js";import{TextColorSolidIcon as rr}from"./chunk-TGNRZLQ6.js";import{TextSizeMiniIcon as or}from"./chunk-2BAQ3XFD.js";import{TextSizeSolidIcon as mr}from"./chunk-MU4OIOPU.js";import{TextSmallMiniIcon as tr}from"./chunk-QK4B7MO3.js";import{TextSmallSolidIcon as cr}from"./chunk-245SGQC7.js";import{TextValueMiniIcon as ir}from"./chunk-5XNZORBY.js";import{TextValueSolidIcon as nr}from"./chunk-GKAI5SDL.js";import{TagSolidIcon as sr}from"./chunk-QDHVUIZV.js";import{TargetAltIcon as pr}from"./chunk-V5DSMUZ5.js";import{TargetMiniIcon as ur}from"./chunk-5VRVT4LR.js";import{TargetSolidIcon as hr}from"./chunk-LNFKNTO5.js";import{TeamMiniIcon as kr}from"./chunk-ZV5P54O4.js";import{TeamSolidIcon as fr}from"./chunk-ETF6W3D4.js";import{TelephoneMiniIcon as er}from"./chunk-MLXDPEBV.js";import{TelephoneSolidIcon as jr}from"./chunk-JQSK5ICA.js";import{TableMiniIcon as ar}from"./chunk-7IQQIDI6.js";import{TableSolidIcon as lr}from"./chunk-QJ3LE7LI.js";import{TabletMiniIcon as dr}from"./chunk-7R5JBLPI.js";import{TabletSolidIcon as br}from"./chunk-IU7ZRR62.js";import{TabsMiniIcon as Qr}from"./chunk-B6RQI2PT.js";import{TabsSolidIcon as Cr}from"./chunk-5UZYIM2W.js";import{TagAltIcon as Fr}from"./chunk-HXWCDHZQ.js";import{TagMiniIcon as Nr}from"./chunk-GGGXLQHC.js";import{SubscriptMiniIcon as Jr}from"./chunk-KRWISESU.js";import{SubscriptSolidIcon as Mr}from"./chunk-O3QFU4CP.js";import{SunMiniIcon as Kr}from"./chunk-7MOGLM4M.js";import{SunSolidIcon as Rr}from"./chunk-K6ZPLG4O.js";import{SuperscriptMiniIcon as Ur}from"./chunk-YPBEGKV2.js";import{SuperscriptSolidIcon as Dr}from"./chunk-5GJ3SFHP.js";import{SwapMiniIcon as Hr}from"./chunk-FZMJ5JVX.js";import{SwapSolidIcon as Pr}from"./chunk-LO2ENELN.js";import{StoreBuildingStorefront20SolidIcon as Xr}from"./chunk-FXD73VOY.js";import{StoreMiniIcon as Lr}from"./chunk-5HCC7MZN.js";import{StoreSolidIcon as Zr}from"./chunk-V3W6W42X.js";import{StrikeMiniIcon as Gr}from"./chunk-5GHSWXWB.js";import{StrikeSolidIcon as gr}from"./chunk-VUOJMDQ6.js";import{StylesAltIcon as Ar}from"./chunk-PP3H5YGZ.js";import{StylesMiniIcon as Wr}from"./chunk-FEN2DONX.js";import{StylesSolidIcon as Er}from"./chunk-B3Q46H2J.js";import{StatusCircleMiniIcon as Yr}from"./chunk-TB3CFNVI.js";import{StatusCircleSolidIcon as Tr}from"./chunk-RAE4CUCY.js";import{StatusDotMiniIcon as Br}from"./chunk-LKN4NT7H.js";import{StatusDotSolidIcon as Ir}from"./chunk-6GLBW3FE.js";import{StickyMiniIcon as Or}from"./chunk-RL3ZIR6L.js";import{StickySolidIcon as Sr}from"./chunk-CAMDJDKT.js";import{StopCircleMiniIcon as Vr}from"./chunk-XRIX6MVS.js";import{StopCircleSolidIcon as wr}from"./chunk-AQT5PBEU.js";import{SplitSolidIcon as yr}from"./chunk-YOVMFAN3.js";import{SquareMiniIcon as xr}from"./chunk-WQ2IFM6M.js";import{SquareSolidIcon as vr}from"./chunk-BPWBA2RM.js";import{StarAltIcon as qr}from"./chunk-TTX2XZKP.js";import{StarMiniIcon as zr}from"./chunk-RWHVEPNG.js";import{StarSolidIcon as $r}from"./chunk-635BD6WX.js";import{StateMiniIcon as _r}from"./chunk-WFYZJFS5.js";import{StateSolidIcon as ro}from"./chunk-2TO2GMVS.js";import{SparklesAltIcon as oo}from"./chunk-UWNP5QOF.js";import{SparklesMiniIcon as mo}from"./chunk-WNO4AZ67.js";import{SparklesSolidIcon as to}from"./chunk-NA5HW2RQ.js";import{SpeakerWaveMiniIcon as co}from"./chunk-QNIEDFX6.js";import{SpeakerWaveSolidIcon as io}from"./chunk-DJNK34UK.js";import{SpecTableMiniIcon as no}from"./chunk-FUY6TO6Z.js";import{SpecTableSolidIcon as so}from"./chunk-NZYJ6XYT.js";import{SplitMiniIcon as po}from"./chunk-6PRAEXF6.js";import{SlidePickerNumbersSolidIcon as uo}from"./chunk-CNQOWIKL.js";import{SlidePickerSquaresMiniIcon as ho}from"./chunk-A7ILTGAE.js";import{SlidePickerSquaresSolidIcon as ko}from"./chunk-DI3CJOO2.js";import{SortAltIcon as fo}from"./chunk-US4TTHEN.js";import{SortMiniIcon as eo}from"./chunk-SI37ODJF.js";import{SortSolidIcon as jo}from"./chunk-ZUG2JNG4.js";import{SparklesAlt2Icon as ao}from"./chunk-NCLIZZXL.js";import{SparklesAlt3Icon as lo}from"./chunk-FEUIWJ7S.js";import{SlideArrowsSquareSolidIcon as bo}from"./chunk-P66ED5XN.js";import{SlidePickerBarMiniIcon as Qo}from"./chunk-BJ2LKUME.js";import{SlidePickerBarSolidIcon as Co}from"./chunk-SZGTWSN4.js";import{SlidePickerCardsMiniIcon as Fo}from"./chunk-EUQXQRXY.js";import{SlidePickerCardsSolidIcon as No}from"./chunk-D6RYGKV5.js";import{SlidePickerDotsMiniIcon as Jo}from"./chunk-3VYVPN23.js";import{SlidePickerDotsSolidIcon as Mo}from"./chunk-PZIPTTVL.js";import{SlidePickerNumbersMiniIcon as Ko}from"./chunk-K5UTUJXX.js";import{SignalSlashMiniIcon as Ro}from"./chunk-MIMLD6G4.js";import{SignalSlashSolidIcon as Uo}from"./chunk-PLQ23Q7Y.js";import{SignalSolidIcon as Do}from"./chunk-QTPYKXY7.js";import{SitemapMiniIcon as Ho}from"./chunk-TCWYMY7R.js";import{SitemapSolidIcon as Po}from"./chunk-P4KZQYYO.js";import{SlideArrowsRoundMiniIcon as Xo}from"./chunk-3LSEVWUJ.js";import{SlideArrowsRoundSolidIcon as Lo}from"./chunk-PSYTC7V2.js";import{SlideArrowsSquareMiniIcon as Zo}from"./chunk-EDEHD47C.js";import{SharedSolidIcon as Go}from"./chunk-YKDKVSAL.js";import{ShieldCheckMiniIcon as go}from"./chunk-6UNMFTXG.js";import{ShieldCheckSolidIcon as Ao}from"./chunk-A2NRNSJU.js";import{ShieldExclamationMiniIcon as Wo}from"./chunk-FB4GEVTA.js";import{ShieldExclamationSolidIcon as Eo}from"./chunk-LZ44UTPP.js";import{SidesEachMiniIcon as Yo}from"./chunk-CNTQKS7H.js";import{SidesEachSolidIcon as To}from"./chunk-OR2SSAWP.js";import{SignalMiniIcon as Bo}from"./chunk-PYAU2NDD.js";import{ShadowSolidIcon as Io}from"./chunk-Z6DPC6LY.js";import{ShapeEllipseMiniIcon as Oo}from"./chunk-HGJLQXQZ.js";import{ShapeEllipseSolidIcon as So}from"./chunk-J7YSGSYX.js";import{ShapeRectMiniIcon as Vo}from"./chunk-7MTKB2PI.js";import{ShapeRectSolidIcon as wo}from"./chunk-R3SLDJJX.js";import{ShareMiniIcon as yo}from"./chunk-HWEV5X53.js";import{ShareSolidIcon as xo}from"./chunk-ZFF7W6EF.js";import{SharedMiniIcon as vo}from"./chunk-LKRQXIOG.js";import{SeparatorSlashSolidIcon as qo}from"./chunk-YJ5IHIAI.js";import{SeparatorTriangleMiniIcon as zo}from"./chunk-MUXGWDEH.js";import{SeparatorTriangleSolidIcon as $o}from"./chunk-B3CN55UI.js";import{ServerMiniIcon as _o}from"./chunk-7J7SBMPE.js";import{ServerSolidIcon as rm}from"./chunk-TMPZ5QYR.js";import{SettingsMiniIcon as om}from"./chunk-PJ74S7TQ.js";import{SettingsSolidIcon as mm}from"./chunk-HMPU4WRV.js";import{ShadowMiniIcon as tm}from"./chunk-JQFMEYOH.js";import{SearchSolidIcon as cm}from"./chunk-D7AJ7HNA.js";import{SelectAllMiniIcon as im}from"./chunk-XG4LYLHC.js";import{SelectAllSolidIcon as nm}from"./chunk-5FXHHPQN.js";import{SendAlt2Icon as sm}from"./chunk-I3TMILZC.js";import{SendAltIcon as pm}from"./chunk-AZADIQCQ.js";import{SendMiniIcon as um}from"./chunk-SLALNIKU.js";import{SendSolidIcon as hm}from"./chunk-2L3JB5JJ.js";import{SeparatorSlashMiniIcon as km}from"./chunk-TGXO3CDO.js";import{ScaleAltIcon as fm}from"./chunk-WJEFJ7DO.js";import{ScaleMiniIcon as em}from"./chunk-AKR2GM4I.js";import{ScaleSolidIcon as jm}from"./chunk-TGQ6FVOC.js";import{ScrollPointMiniIcon as am}from"./chunk-BGYKEPGH.js";import{ScrollPointSolidIcon as lm}from"./chunk-R2L5KKWD.js";import{SearchAlt2Icon as dm}from"./chunk-USRR3ATA.js";import{SearchAltIcon as bm}from"./chunk-VZZXQM7D.js";import{SearchMiniIcon as Qm}from"./chunk-RFQT33IG.js";import{ReplyMiniIcon as Cm}from"./chunk-ITCRUSSN.js";import{ReplySolidIcon as Fm}from"./chunk-QRZVIG54.js";import{RevertMiniIcon as Nm}from"./chunk-TKQLPIHD.js";import{RevertSolidIcon as Jm}from"./chunk-B2JHVAJZ.js";import{RobotMiniIcon as Mm}from"./chunk-2QBUM6BF.js";import{RobotSolidIcon as Km}from"./chunk-BTMPF6TU.js";import{RotateMiniIcon as Rm}from"./chunk-AZ6PTN7Z.js";import{RotateSolidIcon as Um}from"./chunk-FMFFO3XW.js";import{RefreshAltIcon as Dm}from"./chunk-BXPQQPS4.js";import{RefreshArrowPathRoundedSquareIcon as Hm}from"./chunk-7BDQSYOD.js";import{RefreshMiniIcon as Pm}from"./chunk-DQVYLBH3.js";import{RefreshSolidIcon as Xm}from"./chunk-OD57KLTH.js";import{RemoveMiniIcon as Lm}from"./chunk-LC5WQDNZ.js";import{RemoveSolidIcon as Zm}from"./chunk-DZGAUI3P.js";import{ReplyAllMiniIcon as Gm}from"./chunk-PF5CU4SO.js";import{ReplyAllSolidIcon as gm}from"./chunk-S6HJCIO4.js";import{ReceiptMiniIcon as Am}from"./chunk-3FF7CTUA.js";import{ReceiptPercentMiniIcon as Wm}from"./chunk-CM6DG7CZ.js";import{ReceiptPercentSolidIcon as Em}from"./chunk-IXXEASEQ.js";import{ReceiptRefundMiniIcon as Ym}from"./chunk-6JWPIRCB.js";import{ReceiptRefundSolidIcon as Tm}from"./chunk-4PXK463M.js";import{ReceiptSolidIcon as Bm}from"./chunk-P6NGK7DM.js";import{RedoMiniIcon as Im}from"./chunk-RJNAXMDD.js";import{RedoSolidIcon as Om}from"./chunk-CITR3NCQ.js";import{ProgressMiniIcon as Sm}from"./chunk-Q3OTCQTQ.js";import{ProgressSolidIcon as Vm}from"./chunk-3V5UT7A2.js";import{QuoteMiniIcon as wm}from"./chunk-63LZCLNR.js";import{QuoteSolidIcon as ym}from"./chunk-K3JGLNOQ.js";import{RadioDotMiniIcon as xm}from"./chunk-WRWINFV3.js";import{RadioDotSolidIcon as vm}from"./chunk-VKPCYU5H.js";import{RadiusMiniIcon as qm}from"./chunk-7I2GL4XB.js";import{RadiusSolidIcon as zm}from"./chunk-SGGFUPQS.js";import{PrintMiniIcon as $m}from"./chunk-AODSAT7N.js";import{PrintSolidIcon as _m}from"./chunk-HLMTKW5H.js";import{ProductFieldMiniIcon as rt}from"./chunk-WICGNE5J.js";import{ProductFieldSolidIcon as ot}from"./chunk-AFHJNVJU.js";import{ProductMiniIcon as mt}from"./chunk-M2STINJB.js";import{ProductSizeMiniIcon as tt}from"./chunk-WOWXRIRW.js";import{ProductSizeSolidIcon as ct}from"./chunk-Y4GH6UXZ.js";import{ProductSolidIcon as it}from"./chunk-AYYN74HD.js";import{PlayMiniIcon as nt}from"./chunk-CCJHCLQD.js";import{PlaySolidIcon as st}from"./chunk-DPCVWEGT.js";import{PlusMinusMiniIcon as pt}from"./chunk-T2SS7VMR.js";import{PlusMinusSolidIcon as ut}from"./chunk-6QBEAJ3X.js";import{PowerMiniIcon as ht}from"./chunk-ETIZX4ZX.js";import{PowerSolidIcon as kt}from"./chunk-TXEFPHTL.js";import{PresentationChartBarMiniIcon as ft}from"./chunk-7BMSC5QE.js";import{PresentationChartBarSolidIcon as et}from"./chunk-V56PZIS2.js";import{PhoneAltIcon as jt}from"./chunk-W2SGPRYG.js";import{PhoneHiddenMiniIcon as at}from"./chunk-J4BNHZMC.js";import{PhoneHiddenSolidIcon as lt}from"./chunk-3CWD4INC.js";import{PhoneMiniIcon as dt}from"./chunk-KRUKB4JE.js";import{PhoneSolidIcon as bt}from"./chunk-H6OCWYYU.js";import{PlacementMiniIcon as Qt}from"./chunk-OXHG752A.js";import{PlacementSolidIcon as Ct}from"./chunk-74DQMIJU.js";import{PlayAltIcon as Ft}from"./chunk-ZPQFONMR.js";import{PauseSolidIcon as Nt}from"./chunk-I2BTP4ZC.js";import{PenMiniIcon as Jt}from"./chunk-75CPAMIK.js";import{PenSolidIcon as Mt}from"./chunk-MZNR3WCA.js";import{PeopleMiniIcon as Kt}from"./chunk-MJ3GUAXH.js";import{PeopleSolidIcon as Rt}from"./chunk-TDACYSKV.js";import{PeopleUserGroupIcon as Ut}from"./chunk-3GU54QB6.js";import{PercentMiniIcon as Dt}from"./chunk-2LKEZNEE.js";import{PercentSolidIcon as Ht}from"./chunk-CQYBRFCN.js";import{PanelLeftSolidIcon as Pt}from"./chunk-XWU6QN2V.js";import{PanelRightMiniIcon as Xt}from"./chunk-FU44ZZBE.js";import{PanelRightSolidIcon as Lt}from"./chunk-3EVMVYVF.js";import{ParagraphSpacingMiniIcon as Zt}from"./chunk-W6DUHOAN.js";import{ParagraphSpacingSolidIcon as Gt}from"./chunk-GD3YLOFZ.js";import{PasteStyleMiniIcon as gt}from"./chunk-X5KVM2JY.js";import{PasteStyleSolidIcon as At}from"./chunk-NOQIPVD5.js";import{PauseMiniIcon as Wt}from"./chunk-E4XFHQTO.js";import{PaddingYMiniIcon as Et}from"./chunk-FLY5B6BV.js";import{PaddingYSolidIcon as Yt}from"./chunk-ZVZB4MEK.js";import{PageAltIcon as Tt}from"./chunk-CPPPRWOF.js";import{PageMiniIcon as Bt}from"./chunk-XXFO33EC.js";import{PageSolidIcon as It}from"./chunk-SMJFGTEP.js";import{PaletteMiniIcon as Ot}from"./chunk-BAFB2V5R.js";import{PaletteSolidIcon as St}from"./chunk-DL3K4PF4.js";import{PanelLeftMiniIcon as Vt}from"./chunk-XSCG6YG7.js";import{PaddingLeftRightSolidIcon as wt}from"./chunk-6QAID2KD.js";import{PaddingLeftSolidIcon as yt}from"./chunk-KMRK6TJC.js";import{PaddingRightMiniIcon as xt}from"./chunk-JWZ7SK3Z.js";import{PaddingRightSolidIcon as vt}from"./chunk-IABLIRK6.js";import{PaddingTopMiniIcon as qt}from"./chunk-AAQPYX4I.js";import{PaddingTopSolidIcon as zt}from"./chunk-SE2ECAWN.js";import{PaddingXMiniIcon as $t}from"./chunk-M3FDLEVB.js";import{PaddingXSolidIcon as _t}from"./chunk-C4GY2IS5.js";import{PackageOpenSolidIcon as rc}from"./chunk-6STWX56B.js";import{PackageSolidIcon as oc}from"./chunk-PRU52B5T.js";import{PaddingAllMiniIcon as mc}from"./chunk-R54WVPDX.js";import{PaddingAllSolidIcon as tc}from"./chunk-QJG66TT3.js";import{PaddingBottomMiniIcon as cc}from"./chunk-NXBHLJD4.js";import{PaddingBottomSolidIcon as ic}from"./chunk-MQBMKV2M.js";import{PaddingLeftMiniIcon as nc}from"./chunk-FGQ7HFAL.js";import{PaddingLeftRightMiniIcon as sc}from"./chunk-RF4AWGBX.js";import{NumberedListMiniIcon as pc}from"./chunk-FD7UBG5P.js";import{NumberedListSolidIcon as uc}from"./chunk-3K6RM3K4.js";import{OpacityMiniIcon as hc}from"./chunk-JMOGUE7F.js";import{OpacitySolidIcon as kc}from"./chunk-FCD4WTIN.js";import{OwnTextMiniIcon as fc}from"./chunk-62BDLWEO.js";import{OwnTextSolidIcon as ec}from"./chunk-5OY3AUEX.js";import{PackageMiniIcon as jc}from"./chunk-FCD2THL6.js";import{PackageOpenMiniIcon as ac}from"./chunk-J5NXZAWD.js";import{NoteMiniIcon as lc}from"./chunk-MRWH3KJB.js";import{NoteSolidIcon as dc}from"./chunk-QNV4E2MF.js";import{NudgeMiniIcon as bc}from"./chunk-REICDZNN.js";import{NudgeSolidIcon as Qc}from"./chunk-3MRB7UZY.js";import{NudgeXMiniIcon as Cc}from"./chunk-HJUK5AAM.js";import{NudgeXSolidIcon as Fc}from"./chunk-KRWKHI7S.js";import{NudgeYMiniIcon as Nc}from"./chunk-EEG3KMP7.js";import{NudgeYSolidIcon as Jc}from"./chunk-P5SVBGLG.js";import{MoonMiniIcon as Mc}from"./chunk-V75MYG5O.js";import{MoonSolidIcon as Kc}from"./chunk-24FKIIDR.js";import{MoreMiniIcon as Rc}from"./chunk-42MDVHXS.js";import{MoreSolidIcon as Uc}from"./chunk-PP5JQCTZ.js";import{MoreVerticalMiniIcon as Dc}from"./chunk-J6YBNXVN.js";import{MoreVerticalSolidIcon as Hc}from"./chunk-OSZDQ3VV.js";import{NoSymbolMiniIcon as Pc}from"./chunk-WQBLFKPH.js";import{NoSymbolSolidIcon as Xc}from"./chunk-JEWUFDX5.js";import{MenuMiniIcon as Lc}from"./chunk-MNIIBF52.js";import{MenuSolidIcon as Zc}from"./chunk-AFXOAFL6.js";import{MetaMiniIcon as Gc}from"./chunk-JG2LTXO7.js";import{MetaSolidIcon as gc}from"./chunk-ADCP4ZQP.js";import{MicrophoneMiniIcon as Ac}from"./chunk-ICL6KE32.js";import{MicrophoneSolidIcon as Wc}from"./chunk-QWWV6GSR.js";import{MoneyMiniIcon as Ec}from"./chunk-6MSDX7MQ.js";import{MoneySolidIcon as Yc}from"./chunk-RJCUFIE5.js";import{MediaLayoutSideBySideMiniIcon as Tc}from"./chunk-PYG3MKYD.js";import{MediaLayoutSideBySideSolidIcon as Bc}from"./chunk-77DNZFAR.js";import{MediaLayoutStackedMiniIcon as Ic}from"./chunk-GMTEWQTC.js";import{MediaLayoutStackedSolidIcon as Oc}from"./chunk-4D5UAMG5.js";import{MediaMiniIcon as Sc}from"./chunk-RWVM2VHF.js";import{MediaSolidIcon as Vc}from"./chunk-3UFUOKBM.js";import{MegaphoneMiniIcon as wc}from"./chunk-DQ6CYYYH.js";import{MegaphoneSolidIcon as yc}from"./chunk-7KJMS4EK.js";import{LoopSolidIcon as xc}from"./chunk-XMTGZI2O.js";import{MapAltIcon as vc}from"./chunk-XA7YZO2P.js";import{MapMiniIcon as qc}from"./chunk-Q2QIUERP.js";import{MapSolidIcon as zc}from"./chunk-4EOR3CJ4.js";import{MediaLayoutBigTwoMiniIcon as $c}from"./chunk-RI5VRHG4.js";import{MediaLayoutBigTwoSolidIcon as _c}from"./chunk-4QNSHURB.js";import{MediaLayoutInsetMiniIcon as ri}from"./chunk-PAYYAWU5.js";import{MediaLayoutInsetSolidIcon as oi}from"./chunk-RJU7XFKX.js";import{LockAltIcon as mi}from"./chunk-IQKD7UCZ.js";import{LockMiniIcon as ti}from"./chunk-EIUHOEDP.js";import{LockSolidIcon as ci}from"./chunk-URXAYQ23.js";import{LogoMiniIcon as ii}from"./chunk-AS4OCCP3.js";import{LogoSolidIcon as ni}from"./chunk-4LBNEX4V.js";import{LogoutMiniIcon as si}from"./chunk-GV3GNYL6.js";import{LogoutSolidIcon as pi}from"./chunk-2AQMIXH3.js";import{LoopMiniIcon as ui}from"./chunk-Z7TJ5Y7T.js";import{ListFormatSolidIcon as hi}from"./chunk-LWDJ4GEH.js";import{ListMiniIcon as ki}from"./chunk-7OKXT3VY.js";import{ListNoneMiniIcon as fi}from"./chunk-GRABRP2G.js";import{ListNoneSolidIcon as ei}from"./chunk-HQOSD5GN.js";import{ListQueueListIcon as ji}from"./chunk-CYQSFWYF.js";import{ListSolidIcon as ai}from"./chunk-PZZWHWBB.js";import{LocationMiniIcon as li}from"./chunk-K7WJNXIJ.js";import{LocationSolidIcon as di}from"./chunk-BZOV7GJL.js";import{LinkMiniIcon as bi}from"./chunk-KLZWTEB5.js";import{LinkSlashMiniIcon as Qi}from"./chunk-325KLGZI.js";import{LinkSlashSolidIcon as Ci}from"./chunk-QL4RGGFN.js";import{LinkSolidIcon as Fi}from"./chunk-WM6WESXC.js";import{ListAlt2Icon as Ni}from"./chunk-7B4Y4XCN.js";import{ListAlt3Icon as Ji}from"./chunk-ACCOL2XR.js";import{ListAltIcon as Mi}from"./chunk-ITBPRBKS.js";import{ListFormatMiniIcon as Ki}from"./chunk-UDN6USR5.js";import{LineDottedMiniIcon as Ri}from"./chunk-Z7SR7VQR.js";import{LineDottedSolidIcon as Ui}from"./chunk-DUPPQQ35.js";import{LineSolidMiniIcon as Di}from"./chunk-H46XIWYV.js";import{LineSolidSolidIcon as Hi}from"./chunk-XO4FAIL5.js";import{LineSpacingMiniIcon as Pi}from"./chunk-SP6GJ3Y4.js";import{LineSpacingSolidIcon as Xi}from"./chunk-CNITIX2S.js";import{LineStyleMiniIcon as Li}from"./chunk-Z4KOPOJX.js";import{LineStyleSolidIcon as Zi}from"./chunk-KUCKME7A.js";import{LetterSpacingMiniIcon as Gi}from"./chunk-RYOPAJXK.js";import{LetterSpacingSolidIcon as gi}from"./chunk-FSLICZMD.js";import{LightbulbMiniIcon as Ai}from"./chunk-LMLLHS4Q.js";import{LightbulbSolidIcon as Wi}from"./chunk-DFJLONGS.js";import{LineBetweenMiniIcon as Ei}from"./chunk-DZC74CKM.js";import{LineBetweenSolidIcon as Yi}from"./chunk-MMYYXHNL.js";import{LineDashedMiniIcon as Ti}from"./chunk-UTJSSJXU.js";import{LineDashedSolidIcon as Bi}from"./chunk-JTKLHXQE.js";import{KeySolidIcon as Ii}from"./chunk-B7FO24I2.js";import{LayersAltIcon as Oi}from"./chunk-SUSN7BUA.js";import{LayersMiniIcon as Si}from"./chunk-VPJZX7GH.js";import{LayersRectangleStackIcon as Vi}from"./chunk-Q2YQ2EN2.js";import{LayersSolidIcon as wi}from"./chunk-UBBP5Q2C.js";import{LayoutAltIcon as yi}from"./chunk-PYXW6GXA.js";import{LayoutMiniIcon as xi}from"./chunk-TUODSC47.js";import{LayoutSolidIcon as vi}from"./chunk-AU3GQT25.js";import{InboxMiniIcon as qi}from"./chunk-QRSDMC5W.js";import{InboxSolidIcon as zi}from"./chunk-EESYQSYA.js";import{InfoAltIcon as $i}from"./chunk-U5423MQC.js";import{InfoMiniIcon as _i}from"./chunk-UMKNAPC2.js";import{InfoSolidIcon as rn}from"./chunk-ZU6L5U5X.js";import{ItalicMiniIcon as on}from"./chunk-JDGZNXOM.js";import{ItalicSolidIcon as mn}from"./chunk-CMYQL6WU.js";import{KeyMiniIcon as tn}from"./chunk-TQITZXNM.js";import{ImageAltIcon as cn}from"./chunk-4NT5O3CF.js";import{ImageMiniIcon as nn}from"./chunk-22AYA6IH.js";import{ImageOffMiniIcon as sn}from"./chunk-ZLFF5JQG.js";import{ImageOffSolidIcon as pn}from"./chunk-M7N7XLUK.js";import{ImageSolidIcon as un}from"./chunk-HULBQOQ4.js";import{ImagesMiniIcon as hn}from"./chunk-5P6EYV7K.js";import{ImagesSolidIcon as kn}from"./chunk-Y7BG7B64.js";import{InboxAltIcon as fn}from"./chunk-BFJ4RYCD.js";import{IconAfterTextMiniIcon as en}from"./chunk-O5MCB756.js";import{IconAfterTextSolidIcon as jn}from"./chunk-H4SQVPCY.js";import{IconAtEndMiniIcon as an}from"./chunk-VRBDSUV5.js";import{IconAtEndSolidIcon as ln}from"./chunk-MJ6SYTFL.js";import{IconBeforeTextMiniIcon as dn}from"./chunk-C6FIA3VB.js";import{IconBeforeTextSolidIcon as bn}from"./chunk-FMSIKEE3.js";import{IdentificationMiniIcon as Qn}from"./chunk-MX26PZGW.js";import{IdentificationSolidIcon as Cn}from"./chunk-ELWJR6D5.js";import{HoverNextImageSolidIcon as Fn}from"./chunk-XGAXRNZS.js";import{HoverNoneMiniIcon as Nn}from"./chunk-APLKFBJH.js";import{HoverNoneSolidIcon as Jn}from"./chunk-5X4DBMS6.js";import{HoverRotateMiniIcon as Mn}from"./chunk-IABSP2GJ.js";import{HoverRotateSolidIcon as Kn}from"./chunk-QHUGCISZ.js";import{HoverSolidIcon as Rn}from"./chunk-J3EF3LJU.js";import{HoverZoomMiniIcon as Un}from"./chunk-UCWJA6LT.js";import{HoverZoomSolidIcon as Dn}from"./chunk-PJW3BL27.js";import{HexagonMiniIcon as Hn}from"./chunk-WGFQSFHX.js";import{HexagonSolidIcon as Pn}from"./chunk-OZ2GH2H7.js";import{HomeMiniIcon as Xn}from"./chunk-DOA6QPPR.js";import{HomeSolidIcon as Ln}from"./chunk-XKTLIGRL.js";import{HoverLiftMiniIcon as Zn}from"./chunk-MIOL4CDN.js";import{HoverLiftSolidIcon as Gn}from"./chunk-KLHUKAD3.js";import{HoverMiniIcon as gn}from"./chunk-VMKJJFZB.js";import{HoverNextImageMiniIcon as An}from"./chunk-FIZKXNCZ.js";import{HeartMiniIcon as Wn}from"./chunk-RT6AI5I7.js";import{HeartSolidIcon as En}from"./chunk-BBY7MNDN.js";import{HeightMiniIcon as Yn}from"./chunk-5AQ6KQSD.js";import{HeightSolidIcon as Tn}from"./chunk-QTQNZMIC.js";import{HelpMiniIcon as Bn}from"./chunk-LRY6HMOO.js";import{HelpOffMiniIcon as In}from"./chunk-Z3ZZ7IKK.js";import{HelpOffSolidIcon as On}from"./chunk-NCZDQBQ4.js";import{HelpSolidIcon as Sn}from"./chunk-TBRNYDMF.js";import{HandMiniIcon as Vn}from"./chunk-7E3RNMRR.js";import{HandSolidIcon as wn}from"./chunk-6R4YB7K3.js";import{HandThumbUpMiniIcon as yn}from"./chunk-ITHJW2KQ.js";import{HandThumbUpSolidIcon as xn}from"./chunk-A5ONCCD3.js";import{HashMiniIcon as vn}from"./chunk-BZDWR4KD.js";import{HashSolidIcon as qn}from"./chunk-UXPHLHBG.js";import{HeadquartersMiniIcon as zn}from"./chunk-7HBLOYWQ.js";import{HeadquartersSolidIcon as $n}from"./chunk-2SFKU2B2.js";import{GlobeAltIcon as _n}from"./chunk-24KAXH2Q.js";import{GlobeMiniIcon as rs}from"./chunk-H6ARFO7R.js";import{GlobeSolidIcon as os}from"./chunk-AV5NET7T.js";import{GridAltIcon as ms}from"./chunk-CEYIPCMH.js";import{GridMiniIcon as ts}from"./chunk-NHDIBRV7.js";import{GridSolidIcon as cs}from"./chunk-IYZTC7VC.js";import{GroundMiniIcon as is}from"./chunk-DBWIOWPM.js";import{GroundSolidIcon as ns}from"./chunk-MFFIF7AB.js";import{FullWidthMiniIcon as ss}from"./chunk-ORKNUTVU.js";import{FullWidthSolidIcon as ps}from"./chunk-D46DMMOR.js";import{GapMiniIcon as us}from"./chunk-UAB5A3AI.js";import{GapSolidIcon as hs}from"./chunk-TBMPFURE.js";import{GemMiniIcon as ks}from"./chunk-HPR54EP7.js";import{GemSolidIcon as fs}from"./chunk-D5CO7TAN.js";import{GiftMiniIcon as es}from"./chunk-WHNWFXTB.js";import{GiftSolidIcon as js}from"./chunk-QHY3TU27.js";import{FolderMiniIcon as as}from"./chunk-KKVQPJI3.js";import{FolderOpenMiniIcon as ls}from"./chunk-NU3WUIAM.js";import{FolderOpenSolidIcon as ds}from"./chunk-W2JSPWW2.js";import{FolderPlusMiniIcon as bs}from"./chunk-2ZIX7XRY.js";import{FolderPlusSolidIcon as Qs}from"./chunk-Y43FUWQ2.js";import{FolderSolidIcon as Cs}from"./chunk-MEUDPC32.js";import{ForwardMiniIcon as Fs}from"./chunk-JKHFESAR.js";import{ForwardSolidIcon as Ns}from"./chunk-4E5LJBKT.js";import{FinishMiniIcon as Js}from"./chunk-SSNT2D3M.js";import{FinishSolidIcon as Ms}from"./chunk-465F75NG.js";import{FireMiniIcon as Ks}from"./chunk-XWNYSMBG.js";import{FireSolidIcon as Rs}from"./chunk-MHCYAUWZ.js";import{FlagAltIcon as Us}from"./chunk-22FCQMKM.js";import{FlagMiniIcon as Ds}from"./chunk-I7IJ3CFC.js";import{FlagSolidIcon as Hs}from"./chunk-SWYJ3FKU.js";import{FolderAltIcon as Ps}from"./chunk-ZEXLGKAK.js";import{EyeMiniIcon as Xs}from"./chunk-UNOUO3JN.js";import{EyeOffMiniIcon as Ls}from"./chunk-GBPUVNSN.js";import{EyeOffSolidIcon as Zs}from"./chunk-6FC6PZU4.js";import{EyeSolidIcon as Gs}from"./chunk-IIDWSVS5.js";import{FaceSmileMiniIcon as gs}from"./chunk-4GBFZNYZ.js";import{FaceSmileSolidIcon as As}from"./chunk-EHE6TM43.js";import{FilterMiniIcon as Ws}from"./chunk-3QPIARDX.js";import{FilterSolidIcon as Es}from"./chunk-IDHWRHBE.js";import{ErrorMiniIcon as Ys}from"./chunk-WZ76TDXU.js";import{ErrorSolidIcon as Ts}from"./chunk-CT6I7VFU.js";import{ExpandMiniIcon as Bs}from"./chunk-YRGKL2JP.js";import{ExpandSolidIcon as Is}from"./chunk-3H25EPZU.js";import{ExternalAlt2Icon as Os}from"./chunk-VQJ4CKDU.js";import{ExternalAltIcon as Ss}from"./chunk-OJFBIBPI.js";import{ExternalMiniIcon as Vs}from"./chunk-XEBHXPOE.js";import{ExternalSolidIcon as ws}from"./chunk-Y4YWLKCV.js";import{EditSolidIcon as ys}from"./chunk-IXYWZ667.js";import{EmailAltIcon as xs}from"./chunk-NYKBG5JF.js";import{EmailMiniIcon as vs}from"./chunk-CYLOWGUD.js";import{EmailSolidIcon as qs}from"./chunk-RL7LVMCC.js";import{EnterMiniIcon as zs}from"./chunk-ALDGSODF.js";import{EnterSolidIcon as $s}from"./chunk-26LO7XCK.js";import{EraserMiniIcon as _s}from"./chunk-2O2LJV7Q.js";import{EraserSolidIcon as rp}from"./chunk-LXMTX7NE.js";import{DuplicateMiniIcon as op}from"./chunk-PWONWGNZ.js";import{DuplicateSolidIcon as mp}from"./chunk-OTUO4L3W.js";import{DurationMiniIcon as tp}from"./chunk-44QWF5X2.js";import{DurationSolidIcon as cp}from"./chunk-PGKNWSSC.js";import{EditAlt2Icon as ip}from"./chunk-UOSU63FV.js";import{EditAltIcon as np}from"./chunk-W4EHFZ7Z.js";import{EditMiniIcon as sp}from"./chunk-HTXTUUBJ.js";import{EditPencilSquareIcon as pp}from"./chunk-HPWGEKEJ.js";import{DownloadMiniIcon as up}from"./chunk-NOMPZRDT.js";import{DownloadSolidIcon as hp}from"./chunk-T6GW556F.js";import{DragAltIcon as kp}from"./chunk-4PYQMQQ6.js";import{DragMiniIcon as fp}from"./chunk-JFKFJPLE.js";import{DragSolidIcon as ep}from"./chunk-TPMOTUTN.js";import{DropMiniIcon as jp}from"./chunk-6LSFDCSH.js";import{DropSolidIcon as ap}from"./chunk-BOLX5THX.js";import{DuplicateAltIcon as lp}from"./chunk-VRXSAWR2.js";import{DocumentMiniIcon as dp}from"./chunk-PHWEOFEG.js";import{DocumentSolidIcon as bp}from"./chunk-TFRIWTDA.js";import{DollarAltIcon as Qp}from"./chunk-FPFP6LPK.js";import{DollarMiniIcon as Cp}from"./chunk-6MHC2ZMP.js";import{DollarSolidIcon as Fp}from"./chunk-KTVER4CP.js";import{DotMiniIcon as Np}from"./chunk-Z4EJ2MNK.js";import{DotSolidIcon as Jp}from"./chunk-YN5G6G3E.js";import{DownloadAltIcon as Mp}from"./chunk-SOQGJH2H.js";import{DocumentAlt2Icon as Kp}from"./chunk-W6ZAUD5E.js";import{DocumentAltIcon as Rp}from"./chunk-VOC5AK66.js";import{DocumentCheckAltIcon as Up}from"./chunk-VYDLQ3TB.js";import{DocumentCheckMiniIcon as Dp}from"./chunk-RIQGDM3S.js";import{DocumentCheckSolidIcon as Hp}from"./chunk-CTN6J6MI.js";import{DocumentDocumentIcon as Pp}from"./chunk-HZSE3AMP.js";import{DocumentMagnifyingGlassMiniIcon as Xp}from"./chunk-T6ZWKFPU.js";import{DocumentMagnifyingGlassSolidIcon as Lp}from"./chunk-MN74RSSD.js";import{DesktopMiniIcon as Zp}from"./chunk-SNLTAYYR.js";import{DesktopSolidIcon as Gp}from"./chunk-MFKHQ5K2.js";import{DetachMiniIcon as gp}from"./chunk-4YARHVZH.js";import{DetachSolidIcon as Ap}from"./chunk-LV2YFFA6.js";import{DiagramMiniIcon as Wp}from"./chunk-WVJSPRDR.js";import{DiagramSolidIcon as Ep}from"./chunk-BOHPJXNM.js";import{DirectionMiniIcon as Yp}from"./chunk-CFQZ2UJM.js";import{DirectionSolidIcon as Tp}from"./chunk-QKSOCPA2.js";import{CubeTransparentSolidIcon as Bp}from"./chunk-X26UU4VQ.js";import{CursorClickMiniIcon as Ip}from"./chunk-S6VIYZ2J.js";import{CursorClickSolidIcon as Op}from"./chunk-BYDXJORJ.js";import{CursorMiniIcon as Sp}from"./chunk-23E6AHJY.js";import{CursorSolidIcon as Vp}from"./chunk-4UCO62M5.js";import{DateMiniIcon as wp}from"./chunk-QFDGSQQE.js";import{DateSolidIcon as yp}from"./chunk-7R623GIR.js";import{DesktopAltIcon as xp}from"./chunk-4X2F4CV3.js";import{CropRightMiniIcon as vp}from"./chunk-KIYTUOVN.js";import{CropRightSolidIcon as qp}from"./chunk-7F65BNHY.js";import{CropSolidIcon as zp}from"./chunk-WNM2AMCR.js";import{CropTopMiniIcon as $p}from"./chunk-KO5PBMCF.js";import{CropTopSolidIcon as _p}from"./chunk-PWONLQFF.js";import{CropYMiniIcon as ru}from"./chunk-D5EXIRJF.js";import{CropYSolidIcon as ou}from"./chunk-6NLKMHX6.js";import{CubeTransparentMiniIcon as mu}from"./chunk-PON7R7AU.js";import{CountUpSolidIcon as tu}from"./chunk-I5VYOWIX.js";import{CropBottomMiniIcon as cu}from"./chunk-BXDYFSP4.js";import{CropBottomSolidIcon as iu}from"./chunk-QM5DFN7Z.js";import{CropLeftMiniIcon as nu}from"./chunk-RA5GR626.js";import{CropLeftRightMiniIcon as su}from"./chunk-JTPBPEYK.js";import{CropLeftRightSolidIcon as pu}from"./chunk-USYTN7PE.js";import{CropLeftSolidIcon as uu}from"./chunk-2MBDZMZM.js";import{CropMiniIcon as hu}from"./chunk-GKUHMQ4N.js";import{CopySolidIcon as ku}from"./chunk-R2AU7OKI.js";import{CopyStyleMiniIcon as fu}from"./chunk-FDF6AGVQ.js";import{CopyStyleSolidIcon as eu}from"./chunk-XLTCCVAS.js";import{CopyToPageMiniIcon as ju}from"./chunk-CUH3B5XK.js";import{CopyToPageSolidIcon as au}from"./chunk-XQQVYYP6.js";import{CornerMiniIcon as lu}from"./chunk-FY2CQ5OZ.js";import{CornerSolidIcon as du}from"./chunk-IHFHX3JS.js";import{CountUpMiniIcon as bu}from"./chunk-RRVBOD2U.js";import{ComposeSolidIcon as Qu}from"./chunk-YPAX3OVJ.js";import{ContrastMiniIcon as Cu}from"./chunk-VZEQGTG6.js";import{ContrastSolidIcon as Fu}from"./chunk-GVMMJWNK.js";import{CopiedMiniIcon as Nu}from"./chunk-FVZBMQQG.js";import{CopiedSolidIcon as Ju}from"./chunk-6NM4VNUK.js";import{CopyAlt2Icon as Mu}from"./chunk-6OVMOQXY.js";import{CopyAltIcon as Ku}from"./chunk-76MY6SHR.js";import{CopyMiniIcon as Ru}from"./chunk-COL533ZT.js";import{ColumnGapSolidIcon as Uu}from"./chunk-4CGNDOUU.js";import{ColumnWidthsMiniIcon as Du}from"./chunk-7CQR2P4D.js";import{ColumnWidthsSolidIcon as Hu}from"./chunk-V2ILLLXT.js";import{ColumnsMiniIcon as Pu}from"./chunk-KU75RLJS.js";import{ColumnsSolidIcon as Xu}from"./chunk-VEPD5TDQ.js";import{CompanyMiniIcon as Lu}from"./chunk-BXRX5WJC.js";import{CompanySolidIcon as Zu}from"./chunk-7DVL5EM2.js";import{ComposeMiniIcon as Gu}from"./chunk-Q6DH4T7K.js";import{CloudSlashMiniIcon as gu}from"./chunk-4YYHXX5L.js";import{CloudSlashSolidIcon as Au}from"./chunk-IDA6A4QV.js";import{CloudSolidIcon as Wu}from"./chunk-LVL7SQQE.js";import{CodeMiniIcon as Eu}from"./chunk-EY7ITVLB.js";import{CodeSolidIcon as Yu}from"./chunk-QF2QYWLO.js";import{CollapseMiniIcon as Tu}from"./chunk-KMGORP5N.js";import{CollapseSolidIcon as Bu}from"./chunk-MFZS4XH4.js";import{ColumnGapMiniIcon as Iu}from"./chunk-EBH2ETZL.js";import{CloudArrowUpSolidIcon as Ou}from"./chunk-2NRMCUOW.js";import{CloudCheckMiniIcon as Su}from"./chunk-ZV4FB43H.js";import{CloudCheckSolidIcon as Vu}from"./chunk-EAI3RF4X.js";import{CloudDownloadMiniIcon as wu}from"./chunk-NFQTAYIZ.js";import{CloudDownloadSolidIcon as yu}from"./chunk-5ATA7ZH4.js";import{CloudMiniIcon as xu}from"./chunk-OZ7YWV63.js";import{CloudPauseMiniIcon as vu}from"./chunk-SIILHHPE.js";import{CloudPauseSolidIcon as qu}from"./chunk-5KQTZ4UE.js";import{CloseCircleAltIcon as zu}from"./chunk-TQYPYM4F.js";import{CloseCircleMiniIcon as $u}from"./chunk-6AKTE47Z.js";import{CloseCircleSolidIcon as _u}from"./chunk-MNJH3BVA.js";import{CloseMiniIcon as rh}from"./chunk-44CXUHIL.js";import{CloseSolidIcon as oh}from"./chunk-AHVWJJCK.js";import{CloudAlertMiniIcon as mh}from"./chunk-BXS2D2KK.js";import{CloudAlertSolidIcon as th}from"./chunk-FWNFAW7P.js";import{CloudArrowUpMiniIcon as ch}from"./chunk-6RY7OKVQ.js";import{ClearMarksMiniIcon as ih}from"./chunk-DSFPJYO5.js";import{ClearMarksSolidIcon as nh}from"./chunk-S4WC23JS.js";import{ClipboardDocumentListMiniIcon as sh}from"./chunk-HGOWLHKZ.js";import{ClipboardDocumentListSolidIcon as ph}from"./chunk-7BPQPIJJ.js";import{ClipboardMiniIcon as uh}from"./chunk-IUUJEV6I.js";import{ClipboardSolidIcon as hh}from"./chunk-XS4PWQSN.js";import{ClockMiniIcon as kh}from"./chunk-J4FL4OCW.js";import{ClockSolidIcon as fh}from"./chunk-DORDAZGF.js";import{ChevronRightMiniIcon as eh}from"./chunk-7BLIJJRB.js";import{ChevronRightSolidIcon as jh}from"./chunk-PZVDRXTL.js";import{ChevronUpDownMiniIcon as ah}from"./chunk-6USSSR3X.js";import{ChevronUpDownSolidIcon as lh}from"./chunk-TGS7NZ4S.js";import{ChevronUpMiniIcon as dh}from"./chunk-R7F2DMKZ.js";import{ChevronUpSolidIcon as bh}from"./chunk-UGUQC2CY.js";import{CircleStackMiniIcon as Qh}from"./chunk-AD7JPCLJ.js";import{CircleStackSolidIcon as Ch}from"./chunk-OSFWNBI3.js";import{ChevronDoubleLeftMiniIcon as Fh}from"./chunk-HFZYDG4H.js";import{ChevronDoubleLeftSolidIcon as Nh}from"./chunk-ESYW3ZJ3.js";import{ChevronDoubleRightMiniIcon as Jh}from"./chunk-5KV4BIYG.js";import{ChevronDoubleRightSolidIcon as Mh}from"./chunk-2B2HGWZR.js";import{ChevronDownMiniIcon as Kh}from"./chunk-LRWOR3LD.js";import{ChevronDownSolidIcon as Rh}from"./chunk-5YPYINMS.js";import{ChevronLeftMiniIcon as Uh}from"./chunk-EFP2VLXY.js";import{ChevronLeftSolidIcon as Dh}from"./chunk-53JU3XAC.js";import{ChatSolidIcon as Hh}from"./chunk-WVWIQLSO.js";import{CheckAltIcon as Ph}from"./chunk-66B4UUBJ.js";import{CheckCircleMiniIcon as Xh}from"./chunk-HW23QCM6.js";import{CheckCircleSolidIcon as Lh}from"./chunk-4AHAFRLQ.js";import{CheckMiniIcon as Zh}from"./chunk-PZVZQAT7.js";import{CheckSolidIcon as Gh}from"./chunk-CL3TM57T.js";import{CheckboxMiniIcon as gh}from"./chunk-NBDXKLRS.js";import{CheckboxSolidIcon as Ah}from"./chunk-MP32KR6I.js";import{ChartMiniIcon as Wh}from"./chunk-6MK2ZRMR.js";import{ChartSolidIcon as Eh}from"./chunk-WSGRNF7K.js";import{ChatAltIcon as Yh}from"./chunk-A5M37IYD.js";import{ChatBubbleLeftRightMiniIcon as Th}from"./chunk-EMFPDUC5.js";import{ChatBubbleLeftRightSolidIcon as Bh}from"./chunk-FJCROBEY.js";import{ChatBubbleOvalLeftEllipsisMiniIcon as Ih}from"./chunk-WKQDQ6PX.js";import{ChatBubbleOvalLeftEllipsisSolidIcon as Oh}from"./chunk-5ONLEJND.js";import{ChatMiniIcon as Sh}from"./chunk-TZALPJLH.js";import{CaseUpperMiniIcon as Vh}from"./chunk-BTKR3L6T.js";import{CaseUpperSolidIcon as wh}from"./chunk-C6PK7DPK.js";import{ChartBarMiniIcon as yh}from"./chunk-PTAWGNOP.js";import{ChartBarSolidIcon as xh}from"./chunk-JKZBUZJL.js";import{ChartBarSquareMiniIcon as vh}from"./chunk-O4VLKJH6.js";import{ChartBarSquareSolidIcon as qh}from"./chunk-WMHMEL4M.js";import{ChartLineMiniIcon as zh}from"./chunk-3AOH4Y5Q.js";import{ChartLineSolidIcon as $h}from"./chunk-H4D64QWB.js";import{CaseCapitalizedMiniIcon as _h}from"./chunk-LGLWUWLG.js";import{CaseCapitalizedSolidIcon as rk}from"./chunk-COBVYQJ5.js";import{CaseLowerMiniIcon as ok}from"./chunk-6PBWS4U2.js";import{CaseLowerSolidIcon as mk}from"./chunk-BTWIDDUX.js";import{CaseMiniIcon as tk}from"./chunk-7NYUPAF2.js";import{CaseNormalMiniIcon as ck}from"./chunk-K553VJKG.js";import{CaseNormalSolidIcon as ik}from"./chunk-EWO3CHRK.js";import{CaseSolidIcon as nk}from"./chunk-AJS6MGSR.js";import{CarSolidIcon as sk}from"./chunk-SJAGP7O5.js";import{CardPaymentAlt2Icon as pk}from"./chunk-2ASZVLNP.js";import{CardPaymentAltIcon as uk}from"./chunk-DMALV6HL.js";import{CardPaymentMiniIcon as hk}from"./chunk-USDDEC5E.js";import{CardPaymentSolidIcon as kk}from"./chunk-VEWTFCLT.js";import{CartAltIcon as fk}from"./chunk-EBIWBHDT.js";import{CartMiniIcon as ek}from"./chunk-SQ3LMAD7.js";import{CartSolidIcon as jk}from"./chunk-5OB5G4ER.js";import{CalendarAltIcon as ak}from"./chunk-JANKMZGF.js";import{CalendarMiniIcon as lk}from"./chunk-KCE2CIH7.js";import{CalendarSolidIcon as dk}from"./chunk-UM7ENABX.js";import{CameraMiniIcon as bk}from"./chunk-JFKV3HGY.js";import{CameraSolidIcon as Qk}from"./chunk-CLKX4AYI.js";import{CaptionMiniIcon as Ck}from"./chunk-QAQ7AWOR.js";import{CaptionSolidIcon as Fk}from"./chunk-625GKS5W.js";import{CarMiniIcon as Nk}from"./chunk-HZWDLCON.js";import{BuildingOffice2SolidIcon as Jk}from"./chunk-UC5NQ7J6.js";import{ButtonIconMiniIcon as Mk}from"./chunk-JT54HCG7.js";import{ButtonIconSolidIcon as Kk}from"./chunk-LQ2WXJLJ.js";import{ButtonMiniIcon as Rk}from"./chunk-I4AFC5T6.js";import{ButtonSolidIcon as Uk}from"./chunk-BQGZ5XPF.js";import{CalculatorMiniIcon as Dk}from"./chunk-A53BUHOH.js";import{CalculatorSolidIcon as Hk}from"./chunk-VCJ4TFNW.js";import{CalendarAlt2Icon as Pk}from"./chunk-7C6NKEWV.js";import{BreadcrumbSolidIcon as Xk}from"./chunk-KLAGP4GV.js";import{BriefcaseMiniIcon as Lk}from"./chunk-IRZBGVTB.js";import{BriefcaseSolidIcon as Zk}from"./chunk-XS4HBMDN.js";import{BugMiniIcon as Gk}from"./chunk-R2DAQH2T.js";import{BugSolidIcon as gk}from"./chunk-YVLE5OZR.js";import{BuildingLibraryMiniIcon as Ak}from"./chunk-TH4CJHHG.js";import{BuildingLibrarySolidIcon as Wk}from"./chunk-Z2AQ3XB3.js";import{BuildingOffice2MiniIcon as Ek}from"./chunk-TC7LOFWX.js";import{BrandWechatSolidIcon as Yk}from"./chunk-474G67EG.js";import{BrandWhatsappOutlineIcon as Tk}from"./chunk-NFMDU4EJ.js";import{BrandWhatsappSolidIcon as Bk}from"./chunk-URWQO4KB.js";import{BrandXOutlineIcon as Ik}from"./chunk-2UCDJCGZ.js";import{BrandXSolidIcon as Ok}from"./chunk-FEVWWOGL.js";import{BrandYoutubeOutlineIcon as Sk}from"./chunk-RBXMTHOT.js";import{BrandYoutubeSolidIcon as Vk}from"./chunk-UKC6VJE4.js";import{BreadcrumbMiniIcon as wk}from"./chunk-SDECOPY3.js";import{BrandLinkedinSolidIcon as yk}from"./chunk-BXQYRG7P.js";import{BrandPinterestOutlineIcon as xk}from"./chunk-ROUTBYMG.js";import{BrandPinterestSolidIcon as vk}from"./chunk-FOXMWLVS.js";import{BrandTelegramOutlineIcon as qk}from"./chunk-YVULGIDQ.js";import{BrandTelegramSolidIcon as zk}from"./chunk-NTWI7EGJ.js";import{BrandTiktokOutlineIcon as $k}from"./chunk-T3NJAOJL.js";import{BrandTiktokSolidIcon as _k}from"./chunk-W5DLG5T2.js";import{BrandWechatOutlineIcon as rf}from"./chunk-YKKMR5DU.js";import{BracesSolidIcon as of}from"./chunk-AHTA7QXO.js";import{BrandFacebookOutlineIcon as mf}from"./chunk-5KZ4WKUI.js";import{BrandFacebookSolidIcon as tf}from"./chunk-OKRAYHGW.js";import{BrandInstagramOutlineIcon as cf}from"./chunk-MTZUYC4Y.js";import{BrandInstagramSolidIcon as nf}from"./chunk-LQD7K7HK.js";import{BrandLineOutlineIcon as sf}from"./chunk-EQPVQY5E.js";import{BrandLineSolidIcon as pf}from"./chunk-CAUWHLN7.js";import{BrandLinkedinOutlineIcon as uf}from"./chunk-6I7EODFJ.js";import{BoxYCenterSolidIcon as hf}from"./chunk-W33HIHEP.js";import{BoxYEndMiniIcon as kf}from"./chunk-IS6FC32P.js";import{BoxYEndSolidIcon as ff}from"./chunk-H62WUDPO.js";import{BoxYStartMiniIcon as ef}from"./chunk-TSP7UFQB.js";import{BoxYStartSolidIcon as jf}from"./chunk-6LNNBA3T.js";import{BoxYStretchMiniIcon as af}from"./chunk-TQ2M7V4E.js";import{BoxYStretchSolidIcon as lf}from"./chunk-3FGPFDDK.js";import{BracesMiniIcon as df}from"./chunk-G5T4NYFR.js";import{BoxXEndSolidIcon as bf}from"./chunk-FMHHOXML.js";import{BoxXStartMiniIcon as Qf}from"./chunk-NQJL6B67.js";import{BoxXStartSolidIcon as Cf}from"./chunk-T2FITGKQ.js";import{BoxXStretchMiniIcon as Ff}from"./chunk-GFYIVFX2.js";import{BoxXStretchSolidIcon as Nf}from"./chunk-NLUSV66Z.js";import{BoxYBetweenMiniIcon as Jf}from"./chunk-NO6DG2IV.js";import{BoxYBetweenSolidIcon as Mf}from"./chunk-UO6GQPT3.js";import{BoxYCenterMiniIcon as Kf}from"./chunk-JNSMBHNH.js";import{BoxItemAlignmentSolidIcon as Rf}from"./chunk-E5G2RURY.js";import{BoxJustifyMiniIcon as Uf}from"./chunk-QRTRKWCZ.js";import{BoxJustifySolidIcon as Df}from"./chunk-S5IAQ7ZS.js";import{BoxXBetweenMiniIcon as Hf}from"./chunk-ESDSE6HY.js";import{BoxXBetweenSolidIcon as Pf}from"./chunk-6CBF7UQ2.js";import{BoxXCenterMiniIcon as Xf}from"./chunk-GZ7XQBCG.js";import{BoxXCenterSolidIcon as Lf}from"./chunk-HFAOJ4OJ.js";import{BoxXEndMiniIcon as Zf}from"./chunk-K5VNHEVL.js";import{BorderBottomSolidIcon as Gf}from"./chunk-EQJFKRK5.js";import{BorderLeftMiniIcon as gf}from"./chunk-GWXTRUSZ.js";import{BorderLeftSolidIcon as Af}from"./chunk-BLTHZSWG.js";import{BorderRightMiniIcon as Wf}from"./chunk-6KGMGZHE.js";import{BorderRightSolidIcon as Ef}from"./chunk-U7Y6VI2V.js";import{BorderTopMiniIcon as Yf}from"./chunk-SJ23KTCO.js";import{BorderTopSolidIcon as Tf}from"./chunk-G3OIMKEO.js";import{BoxItemAlignmentMiniIcon as Bf}from"./chunk-O3UL2XW5.js";import{BookOpenSolidIcon as If}from"./chunk-KNIHHEZ6.js";import{BookmarkMiniIcon as Of}from"./chunk-PJZ4TOFR.js";import{BookmarkSolidIcon as Sf}from"./chunk-GVSGP4P3.js";import{BookmarkSquareMiniIcon as Vf}from"./chunk-YH4GOPT3.js";import{BookmarkSquareSolidIcon as wf}from"./chunk-ERKFGC5C.js";import{BorderAllMiniIcon as yf}from"./chunk-QKEJNJSJ.js";import{BorderAllSolidIcon as xf}from"./chunk-BVZSNZO2.js";import{BorderBottomMiniIcon as vf}from"./chunk-UNETPVQD.js";import{BlockVideoSolidIcon as qf}from"./chunk-X6IMHWDH.js";import{BlogPostMiniIcon as zf}from"./chunk-D2VXCCQV.js";import{BlogPostSolidIcon as $f}from"./chunk-ADILLUBC.js";import{BoldMiniIcon as _f}from"./chunk-OZIHC6LT.js";import{BoldSolidIcon as re}from"./chunk-JTECQPFZ.js";import{BoltMiniIcon as oe}from"./chunk-WD2PAOXY.js";import{BoltSolidIcon as me}from"./chunk-RLUX7UZ3.js";import{BookOpenMiniIcon as te}from"./chunk-MDEYAVX5.js";import{BlockProductTitleSolidIcon as ce}from"./chunk-VK4OK5MQ.js";import{BlockSectionMiniIcon as ie}from"./chunk-OONUEZIW.js";import{BlockSectionSolidIcon as ne}from"./chunk-5L3MHRXQ.js";import{BlockSpacerMiniIcon as se}from"./chunk-S2PKAWDA.js";import{BlockSpacerSolidIcon as pe}from"./chunk-K6ZY2PQV.js";import{BlockTextMiniIcon as ue}from"./chunk-7YJ6QRFY.js";import{BlockTextSolidIcon as he}from"./chunk-IADBERII.js";import{BlockVideoMiniIcon as ke}from"./chunk-ZMYTKXYP.js";import{BlockDividerSolidIcon as fe}from"./chunk-6PAEECEY.js";import{BlockFooterMiniIcon as ee}from"./chunk-7WLRGQU2.js";import{BlockFooterSolidIcon as je}from"./chunk-KN6Z3QSE.js";import{BlockHeadingMiniIcon as ae}from"./chunk-KHSTQGAQ.js";import{BlockHeadingSolidIcon as le}from"./chunk-6OPE4Z6S.js";import{BlockLayeredImagesMiniIcon as de}from"./chunk-G2KSTEIR.js";import{BlockLayeredImagesSolidIcon as be}from"./chunk-KW7DKURL.js";import{BlockProductTitleMiniIcon as Qe}from"./chunk-5C56H7RM.js";import{BlockBadgeSolidIcon as Ce}from"./chunk-CDXABHGL.js";import{BlockBannerMiniIcon as Fe}from"./chunk-H2FH3U4E.js";import{BlockBannerSolidIcon as Ne}from"./chunk-GIU6VXJB.js";import{BlockBoxMiniIcon as Je}from"./chunk-DIM5ZZ5Y.js";import{BlockBoxSolidIcon as Me}from"./chunk-3RVAJR6Y.js";import{BlockCouponMiniIcon as Ke}from"./chunk-JZEQTZRG.js";import{BlockCouponSolidIcon as Re}from"./chunk-LBJQOR7U.js";import{BlockDividerMiniIcon as Ue}from"./chunk-ZMON54V2.js";import{BellPlusMiniIcon as De}from"./chunk-7FKABCZX.js";import{BellPlusSolidIcon as He}from"./chunk-TNMTBNFE.js";import{BellSolidIcon as Pe}from"./chunk-D5KZHQUQ.js";import{BillingMiniIcon as Xe}from"./chunk-NMZH7XRX.js";import{BillingSolidIcon as Le}from"./chunk-GIDCFJFJ.js";import{BlackAndWhiteMiniIcon as Ze}from"./chunk-LHKI2VJW.js";import{BlackAndWhiteSolidIcon as Ge}from"./chunk-OOCJAWJB.js";import{BlockBadgeMiniIcon as ge}from"./chunk-TNM6UGRR.js";import{BatteryMiniIcon as Ae}from"./chunk-M4PBEZVP.js";import{BatterySolidIcon as We}from"./chunk-L2NH35JL.js";import{BeakerMiniIcon as Ee}from"./chunk-Y4HNZVNW.js";import{BeakerSolidIcon as Ye}from"./chunk-XAYE2WUP.js";import{BellAlertMiniIcon as Te}from"./chunk-YS5B33PA.js";import{BellAlertSolidIcon as Be}from"./chunk-NQ74ZNNG.js";import{BellAltIcon as Ie}from"./chunk-FXTYVMSO.js";import{BellMiniIcon as Oe}from"./chunk-VZSPQOIL.js";import{AttachMiniIcon as Se}from"./chunk-3ZCQPEQB.js";import{AttachSolidIcon as Ve}from"./chunk-F3HV52IQ.js";import{BackgroundMiniIcon as we}from"./chunk-GJLJDWP2.js";import{BackgroundSolidIcon as ye}from"./chunk-E25DJCZX.js";import{BagMiniIcon as xe}from"./chunk-3UXCHN2Y.js";import{BagSolidIcon as ve}from"./chunk-B64SQUAI.js";import{Bars3BottomLeftMiniIcon as qe}from"./chunk-YIURRPQ7.js";import{Bars3BottomLeftSolidIcon as ze}from"./chunk-UO5KVL7C.js";import{ArrowTrendingUpSolidIcon as $e}from"./chunk-WRVHXP72.js";import{ArrowUpMiniIcon as _e}from"./chunk-NPMGJBVE.js";import{ArrowUpRightMiniIcon as rj}from"./chunk-DCQS3CY7.js";import{ArrowUpRightSolidIcon as oj}from"./chunk-SANX3GBB.js";import{ArrowUpSolidIcon as mj}from"./chunk-OOXD67PN.js";import{AtSymbolMiniIcon as tj}from"./chunk-MM4WJHXO.js";import{AtSymbolSolidIcon as cj}from"./chunk-UYZAW4XK.js";import{AttachAltIcon as ij}from"./chunk-7AUFUC7S.js";import{ArrowLeftSolidIcon as nj}from"./chunk-XQFFEQNA.js";import{ArrowLongRightMiniIcon as sj}from"./chunk-WDNMERJD.js";import{ArrowLongRightSolidIcon as pj}from"./chunk-2LCAJKJM.js";import{ArrowRightMiniIcon as uj}from"./chunk-L5VJEUNL.js";import{ArrowRightSolidIcon as hj}from"./chunk-QEXKJWAA.js";import{ArrowTrendingDownMiniIcon as kj}from"./chunk-IW3H2NIS.js";import{ArrowTrendingDownSolidIcon as fj}from"./chunk-KQHNX5WQ.js";import{ArrowTrendingUpMiniIcon as ej}from"./chunk-C7PJ2BFZ.js";import{AppsSolidIcon as jj}from"./chunk-KKBQRMEQ.js";import{ArchiveBoxMiniIcon as aj}from"./chunk-CVWRL3SR.js";import{ArchiveBoxSolidIcon as lj}from"./chunk-DSRZ22NW.js";import{ArrowDownMiniIcon as dj}from"./chunk-UEETKW2R.js";import{ArrowDownSolidIcon as bj}from"./chunk-BUA6AISP.js";import{ArrowLeftEndOnRectangleMiniIcon as Qj}from"./chunk-6SGFZZNU.js";import{ArrowLeftEndOnRectangleSolidIcon as Cj}from"./chunk-H3CZUUUV.js";import{ArrowLeftMiniIcon as Fj}from"./chunk-XK2TKHHU.js";import{AlignSeparateSolidIcon as Nj}from"./chunk-MKS6YLYR.js";import{AlignmentMiniIcon as Jj}from"./chunk-GCR66E4S.js";import{AlignmentSolidIcon as Mj}from"./chunk-3LG5YFCK.js";import{AnchorMiniIcon as Kj}from"./chunk-ZRPTWML6.js";import{AnchorSolidIcon as Rj}from"./chunk-SRX7THEC.js";import{AnimationMiniIcon as Uj}from"./chunk-4ZI75XUP.js";import{AnimationSolidIcon as Dj}from"./chunk-RLY6QGCY.js";import{AppsMiniIcon as Hj}from"./chunk-C5FRN2MO.js";import{AlignCenterSolidIcon as Pj}from"./chunk-7U6KJNZ2.js";import{AlignJustifyMiniIcon as Xj}from"./chunk-UI2XKCNM.js";import{AlignJustifySolidIcon as Lj}from"./chunk-IQAFZJO5.js";import{AlignLeftMiniIcon as Zj}from"./chunk-DOBDKX3N.js";import{AlignLeftSolidIcon as Gj}from"./chunk-UBS44QNF.js";import{AlignRightMiniIcon as gj}from"./chunk-JHTRFNOJ.js";import{AlignRightSolidIcon as Aj}from"./chunk-DP7WVTGQ.js";import{AlignSeparateMiniIcon as Wj}from"./chunk-LSSZLU65.js";import{AddCircleSolidIcon as Ej}from"./chunk-DTLKYF45.js";import{AddMiniIcon as Yj}from"./chunk-PMAX5YW2.js";import{AddPersonMiniIcon as Tj}from"./chunk-77USZ3CH.js";import{AddPersonSolidIcon as Bj}from"./chunk-EJ7CUJUL.js";import{AddSolidIcon as Ij}from"./chunk-SSYXGVCW.js";import{AdjustMiniIcon as Oj}from"./chunk-MUUIDQKX.js";import{AdjustSolidIcon as Sj}from"./chunk-FFTCTT6J.js";import{AlignCenterMiniIcon as Vj}from"./chunk-CJWPYYJZ.js";import{AccentSolidIcon as wj}from"./chunk-ZTN72H54.js";import{AccountAltIcon as yj}from"./chunk-EYBN5UBA.js";import{AccountCircleMiniIcon as xj}from"./chunk-ONJKQ4F4.js";import{AccountCircleSolidIcon as vj}from"./chunk-PMP4MCXR.js";import{AccountMiniIcon as qj}from"./chunk-VHGJTJ5C.js";import{AccountSolidIcon as zj}from"./chunk-LMF4FIGQ.js";import{AccountUserCircleIcon as $j}from"./chunk-3OIQSCGM.js";import{AddCircleMiniIcon as _j}from"./chunk-DFAIY54I.js";import{AcademicCapMiniIcon as ra}from"./chunk-JSGNZTYP.js";import{AcademicCapSolidIcon as oa}from"./chunk-4XM7JDQT.js";import{AccentMiniIcon as ma}from"./chunk-FA6U6ZML.js";var ta=["alt","alt-2","alt-3","arrow-path-rounded-square","building-storefront-20-solid","document","mini","outline","pencil-square","queue-list","rectangle-stack","solid","user-circle","user-group"],ca={name:"efficient",label:"Efficient",icons:{},looks:{alt:{account:yj,attach:ij,bell:Ie,"block-image":cn,"block-included-list":Mi,calendar:ak,"calendar-check":ak,"card-payment":uk,cart:fk,category:Ps,chat:Yh,check:Ph,"close-circle":zu,copy:Ku,dashboard:ms,desktop:xp,document:Rp,"document-check":Up,dollar:Qp,download:Mp,drag:kp,duplicate:lp,edit:np,email:xs,external:Ss,flag:Us,folder:Ps,globe:_n,grid:ms,image:cn,inbox:fn,info:$i,layers:Oi,layout:yi,list:Mi,lock:mi,map:vc,page:Tt,"paint-brush":Ar,phone:jt,play:Ft,"rectangle-group":yi,refresh:Dm,rename:np,scale:fm,"scroll-text":Rp,search:bm,send:pm,sort:fo,sparkles:oo,star:qr,styles:Ar,tag:Fr,target:pr,title:Us,trash:x,truck:z,wheel:pr},"alt-2":{"block-included-list":Ni,calendar:Pk,"calendar-check":Pk,"card-payment":pk,copy:Mu,document:Kp,edit:ip,external:Os,list:Ni,rename:ip,"scroll-text":Kp,search:dm,send:sm,sparkles:ao,trash:y},"alt-3":{"block-included-list":Ji,list:Ji,sparkles:lo},"arrow-path-rounded-square":{refresh:Hm},"building-storefront-20-solid":{store:Xr},document:{document:Pp,"scroll-text":Pp},mini:{"academic-cap":ra,accent:ma,account:qj,"account-circle":xj,add:Yj,"add-circle":_j,"add-person":Tj,adjust:Oj,"align-center":Vj,"align-justify":Xj,"align-left":Zj,"align-right":gj,"align-separate":Wj,alignment:Jj,anchor:Kj,animation:Uj,apps:Hj,"archive-box":aj,arrow:uj,"arrow-down":dj,"arrow-left":Fj,"arrow-left-end-on-rectangle":Qj,"arrow-long-right":sj,"arrow-right":uj,"arrow-trending-down":kj,"arrow-trending-up":ej,"arrow-up":_e,"arrow-up-right":rj,"at-symbol":tj,attach:Se,background:we,bag:xe,bank:Ak,"bars-3-bottom-left":qe,battery:Ae,beaker:Ee,bell:Oe,"bell-alert":Te,"bell-plus":De,billing:Xe,"black-and-white":Ze,"block-badge":ge,"block-banner":Fe,"block-box":Je,"block-button":Rk,"block-column":Pu,"block-coupon":Ke,"block-divider":Ue,"block-footer":ee,"block-heading":ae,"block-image":nn,"block-included-list":ki,"block-layered-images":de,"block-product":mt,"block-product-title":Qe,"block-section":ie,"block-social":yo,"block-spacer":se,"block-text":ue,"block-video":ke,"blog-post":zf,bold:_f,bolt:oe,"book-open":te,bookmark:Of,"bookmark-square":Vf,"border-all":yf,"border-bottom":vf,"border-left":gf,"border-right":Wf,"border-top":Yf,"box-item-alignment":Bf,"box-justify":Uf,"box-x-between":Hf,"box-x-center":Xf,"box-x-end":Zf,"box-x-start":Qf,"box-x-stretch":Ff,"box-y-between":Jf,"box-y-center":Kf,"box-y-end":kf,"box-y-start":ef,"box-y-stretch":af,braces:df,breadcrumb:wk,briefcase:Lk,bug:Gk,"bug-ant":Gk,"building-library":Ak,"building-office-2":Ek,button:Rk,"button-arrow":uj,"button-icon":Mk,calculator:Dk,calendar:lk,"calendar-check":lk,camera:bk,caption:Ck,car:Nk,"card-payment":hk,caret:Kh,cart:ek,case:tk,"case-capitalized":_h,"case-lower":ok,"case-normal":ck,"case-upper":Vh,category:as,chart:Wh,"chart-bar":yh,"chart-bar-square":vh,"chart-line":zh,chat:Sh,"chat-bubble-left-right":Th,"chat-bubble-oval-left-ellipsis":Ih,check:Zh,"check-circle":Xh,checkbox:gh,chevron:Kh,"chevron-double":Jh,"chevron-double-left":Fh,"chevron-double-right":Jh,"chevron-down":Kh,"chevron-left":Uh,"chevron-right":eh,"chevron-up":dh,"chevron-up-down":ah,"circle-stack":Qh,"clear-marks":ih,clipboard:uh,"clipboard-check":Nu,"clipboard-document-list":sh,"clipboard-list":sh,clock:kh,close:rh,"close-circle":$u,cloud:xu,"cloud-alert":mh,"cloud-arrow-up":ch,"cloud-check":Su,"cloud-download":wu,"cloud-pause":vu,"cloud-slash":gu,code:Eu,"code-bracket":Eu,collapse:Tu,"collapse-all":Tu,"column-gap":Iu,"column-widths":Du,columns:Pu,company:Lu,compose:Gu,contrast:Cu,cookie:Qh,copied:Nu,copy:Ru,"copy-style":fu,"copy-to-page":ju,corner:lu,"count-up":bu,crop:hu,"crop-bottom":cu,"crop-left":nu,"crop-left-right":su,"crop-right":vp,"crop-top":$p,"crop-y":ru,"cube-transparent":mu,cursor:Sp,"cursor-arrow-rays":Ip,"cursor-click":Ip,dashboard:ts,date:wp,desktop:Zp,detach:gp,diagram:Wp,direction:Yp,"direction-down":dj,"direction-left":Fj,"direction-right":uj,"direction-up":_e,document:dp,"document-check":Dp,"document-magnifying-glass":Xp,dollar:Cp,dot:Np,download:up,drag:fp,drop:jp,duplicate:op,duration:tp,edit:sp,email:vs,enter:zs,eraser:_s,error:Ys,expand:Bs,external:Vs,eye:Xs,"eye-off":Ls,"face-smile":gs,filter:Ws,finish:Js,fire:Ks,flag:Ds,folder:as,"folder-open":ls,"folder-plus":bs,forward:Fs,"full-width":ss,gap:us,gem:ks,gift:es,globe:rs,grid:ts,ground:is,hand:Vn,"hand-thumb-up":yn,hash:vn,headquarters:zn,heart:Wn,height:Yn,help:Bn,"help-off":In,hexagon:Hn,home:Xn,hover:gn,"hover-lift":Zn,"hover-next-image":An,"hover-none":Nn,"hover-rotate":Mn,"hover-zoom":Un,"icon-after-text":en,"icon-at-end":an,"icon-before-text":dn,identification:Qn,image:nn,"image-off":sn,images:hn,inbox:qi,info:_i,italic:on,key:tn,layers:Si,layout:xi,"letter-spacing":Gi,lightbulb:Ai,"line-between":Ei,"line-dashed":Ti,"line-dotted":Ri,"line-solid":Di,"line-spacing":Pi,"line-style":Li,link:bi,"link-slash":Qi,list:ki,"list-format":Ki,"list-none":fi,location:li,lock:ti,logo:ii,logout:si,loop:ui,map:qc,media:Sc,"media-layout-big-two":$c,"media-layout-inset":ri,"media-layout-side-by-side":Tc,"media-layout-stacked":Ic,megaphone:wc,menu:Lc,meta:Gc,microphone:Ac,money:Ec,moon:Mc,more:Rc,"more-vertical":Dc,"move-down":dj,"move-up":_e,newspaper:zf,"no-symbol":Pc,note:lc,nudge:bc,"nudge-x":Cc,"nudge-y":Nc,"numbered-list":pc,opacity:hc,"own-text":fc,package:jc,"package-open":ac,"padding-all":mc,"padding-bottom":cc,"padding-left":nc,"padding-left-right":sc,"padding-right":xt,"padding-top":qt,"padding-x":$t,"padding-y":Et,page:Bt,"paint-brush":Wr,palette:Ot,"panel-left":Vt,"panel-right":Xt,"paragraph-spacing":Zt,parcel:jc,paste:uh,"paste-style":gt,pause:Wt,pen:Jt,people:Kt,percent:Dt,phone:dt,"phone-hidden":at,placement:Qt,play:nt,"plus-minus":pt,power:ht,"presentation-chart-bar":ft,print:$m,product:mt,"product-field":rt,"product-size":tt,progress:Sm,quote:wm,"radio-dot":xm,radius:qm,receipt:Am,"receipt-percent":Wm,"receipt-refund":Ym,"rectangle-group":xi,redo:Im,refresh:Pm,remove:Lm,"remove-circle":Lm,rename:sp,reply:Cm,"reply-all":Gm,revert:Nm,robot:Mm,rotate:Rm,scale:em,"scroll-point":am,"scroll-text":dp,search:Qm,"select-all":im,send:um,"separator-slash":km,"separator-triangle":zo,server:_o,settings:om,shadow:tm,"shape-ellipse":Oo,"shape-rect":Vo,share:yo,shared:vo,"shield-check":go,"shield-exclamation":Wo,"sides-each":Yo,signal:Bo,"signal-slash":Ro,sitemap:Ho,"slide-arrows-bare":eh,"slide-arrows-round":Xo,"slide-arrows-square":Zo,"slide-picker-bar":Qo,"slide-picker-cards":Fo,"slide-picker-dots":Jo,"slide-picker-numbers":Ko,"slide-picker-squares":ho,sort:eo,sparkles:mo,speaker:co,"speaker-wave":co,"spec-table":no,split:po,square:xr,star:zr,state:_r,"status-circle":Yr,"status-dot":Br,sticky:Or,"stop-circle":Vr,store:Lr,strike:Gr,styles:Wr,subscript:Jr,"success-burst":A,sun:Kr,superscript:Ur,swap:Hr,swatch:Js,table:ar,tablet:dr,tabs:Qr,tag:Nr,target:ur,team:kr,telephone:er,template:Of,"text-color":_,"text-lines":qe,"text-size":or,"text-small":tr,"text-value":ir,texture:V,theme:Js,ticket:Ke,title:Ds,trash:v,trigger:oe,truck:$,tv:E,type:T,tyre:I,underline:S,undo:P,upload:L,"v-align":G,verified:A,"video-off":N,"view-columns":M,wallet:R,warning:D,weight:j,wheel:ur,widgets:l,width:b,window:C,windows:n,"words-from":p,wrap:h,wrench:f,"wrench-screwdriver":r,"zoom-in":t},outline:{"brand-facebook":mf,"brand-instagram":cf,"brand-line":sf,"brand-linkedin":uf,"brand-pinterest":xk,"brand-telegram":qk,"brand-tiktok":$k,"brand-wechat":rf,"brand-whatsapp":Tk,"brand-x":Ik,"brand-youtube":Sk},"pencil-square":{edit:pp,rename:pp},"queue-list":{"block-included-list":ji,list:ji},"rectangle-stack":{layers:Vi},solid:{"academic-cap":oa,accent:wj,account:zj,"account-circle":vj,add:Ij,"add-circle":Ej,"add-person":Bj,adjust:Sj,"align-center":Pj,"align-justify":Lj,"align-left":Gj,"align-right":Aj,"align-separate":Nj,alignment:Mj,anchor:Rj,animation:Dj,apps:jj,"archive-box":lj,arrow:hj,"arrow-down":bj,"arrow-left":nj,"arrow-left-end-on-rectangle":Cj,"arrow-long-right":pj,"arrow-right":hj,"arrow-trending-down":fj,"arrow-trending-up":$e,"arrow-up":mj,"arrow-up-right":oj,"at-symbol":cj,attach:Ve,background:ye,bag:ve,bank:Wk,"bars-3-bottom-left":ze,battery:We,beaker:Ye,bell:Pe,"bell-alert":Be,"bell-plus":He,billing:Le,"black-and-white":Ge,"block-badge":Ce,"block-banner":Ne,"block-box":Me,"block-button":Uk,"block-column":Xu,"block-coupon":Re,"block-divider":fe,"block-footer":je,"block-heading":le,"block-image":un,"block-included-list":ai,"block-layered-images":be,"block-product":it,"block-product-title":ce,"block-section":ne,"block-social":xo,"block-spacer":pe,"block-text":he,"block-video":qf,"blog-post":$f,bold:re,bolt:me,"book-open":If,bookmark:Sf,"bookmark-square":wf,"border-all":xf,"border-bottom":Gf,"border-left":Af,"border-right":Ef,"border-top":Tf,"box-item-alignment":Rf,"box-justify":Df,"box-x-between":Pf,"box-x-center":Lf,"box-x-end":bf,"box-x-start":Cf,"box-x-stretch":Nf,"box-y-between":Mf,"box-y-center":hf,"box-y-end":ff,"box-y-start":jf,"box-y-stretch":lf,braces:of,breadcrumb:Xk,briefcase:Zk,bug:gk,"bug-ant":gk,"building-library":Wk,"building-office-2":Jk,button:Uk,"button-arrow":hj,"button-icon":Kk,calculator:Hk,calendar:dk,"calendar-check":dk,camera:Qk,caption:Fk,car:sk,"card-payment":kk,caret:Rh,cart:jk,case:nk,"case-capitalized":rk,"case-lower":mk,"case-normal":ik,"case-upper":wh,category:Cs,chart:Eh,"chart-bar":xh,"chart-bar-square":qh,"chart-line":$h,chat:Hh,"chat-bubble-left-right":Bh,"chat-bubble-oval-left-ellipsis":Oh,check:Gh,"check-circle":Lh,checkbox:Ah,chevron:Rh,"chevron-double":Mh,"chevron-double-left":Nh,"chevron-double-right":Mh,"chevron-down":Rh,"chevron-left":Dh,"chevron-right":jh,"chevron-up":bh,"chevron-up-down":lh,"circle-stack":Ch,"clear-marks":nh,clipboard:hh,"clipboard-check":Ju,"clipboard-document-list":ph,"clipboard-list":ph,clock:fh,close:oh,"close-circle":_u,cloud:Wu,"cloud-alert":th,"cloud-arrow-up":Ou,"cloud-check":Vu,"cloud-download":yu,"cloud-pause":qu,"cloud-slash":Au,code:Yu,"code-bracket":Yu,collapse:Bu,"collapse-all":Bu,"column-gap":Uu,"column-widths":Hu,columns:Xu,company:Zu,compose:Qu,contrast:Fu,cookie:Ch,copied:Ju,copy:ku,"copy-style":eu,"copy-to-page":au,corner:du,"count-up":tu,crop:zp,"crop-bottom":iu,"crop-left":uu,"crop-left-right":pu,"crop-right":qp,"crop-top":_p,"crop-y":ou,"cube-transparent":Bp,cursor:Vp,"cursor-arrow-rays":Op,"cursor-click":Op,dashboard:cs,date:yp,desktop:Gp,detach:Ap,diagram:Ep,direction:Tp,"direction-down":bj,"direction-left":nj,"direction-right":hj,"direction-up":mj,document:bp,"document-check":Hp,"document-magnifying-glass":Lp,dollar:Fp,dot:Jp,download:hp,drag:ep,drop:ap,duplicate:mp,duration:cp,edit:ys,email:qs,enter:$s,eraser:rp,error:Ts,expand:Is,external:ws,eye:Gs,"eye-off":Zs,"face-smile":As,filter:Es,finish:Ms,fire:Rs,flag:Hs,folder:Cs,"folder-open":ds,"folder-plus":Qs,forward:Ns,"full-width":ps,gap:hs,gem:fs,gift:js,globe:os,grid:cs,ground:ns,hand:wn,"hand-thumb-up":xn,hash:qn,headquarters:$n,heart:En,height:Tn,help:Sn,"help-off":On,hexagon:Pn,home:Ln,hover:Rn,"hover-lift":Gn,"hover-next-image":Fn,"hover-none":Jn,"hover-rotate":Kn,"hover-zoom":Dn,"icon-after-text":jn,"icon-at-end":ln,"icon-before-text":bn,identification:Cn,image:un,"image-off":pn,images:kn,inbox:zi,info:rn,italic:mn,key:Ii,layers:wi,layout:vi,"letter-spacing":gi,lightbulb:Wi,"line-between":Yi,"line-dashed":Bi,"line-dotted":Ui,"line-solid":Hi,"line-spacing":Xi,"line-style":Zi,link:Fi,"link-slash":Ci,list:ai,"list-format":hi,"list-none":ei,location:di,lock:ci,logo:ni,logout:pi,loop:xc,map:zc,media:Vc,"media-layout-big-two":_c,"media-layout-inset":oi,"media-layout-side-by-side":Bc,"media-layout-stacked":Oc,megaphone:yc,menu:Zc,meta:gc,microphone:Wc,money:Yc,moon:Kc,more:Uc,"more-vertical":Hc,"move-down":bj,"move-up":mj,newspaper:$f,"no-symbol":Xc,note:dc,nudge:Qc,"nudge-x":Fc,"nudge-y":Jc,"numbered-list":uc,opacity:kc,"own-text":ec,package:oc,"package-open":rc,"padding-all":tc,"padding-bottom":ic,"padding-left":yt,"padding-left-right":wt,"padding-right":vt,"padding-top":zt,"padding-x":_t,"padding-y":Yt,page:It,"paint-brush":Er,palette:St,"panel-left":Pt,"panel-right":Lt,"paragraph-spacing":Gt,parcel:oc,paste:hh,"paste-style":At,pause:Nt,pen:Mt,people:Rt,percent:Ht,phone:bt,"phone-hidden":lt,placement:Ct,play:st,"plus-minus":ut,power:kt,"presentation-chart-bar":et,print:_m,product:it,"product-field":ot,"product-size":ct,progress:Vm,quote:ym,"radio-dot":vm,radius:zm,receipt:Bm,"receipt-percent":Em,"receipt-refund":Tm,"rectangle-group":vi,redo:Om,refresh:Xm,remove:Zm,"remove-circle":Zm,rename:ys,reply:Fm,"reply-all":gm,revert:Jm,robot:Km,rotate:Um,scale:jm,"scroll-point":lm,"scroll-text":bp,search:cm,"select-all":nm,send:hm,"separator-slash":qo,"separator-triangle":$o,server:rm,settings:mm,shadow:Io,"shape-ellipse":So,"shape-rect":wo,share:xo,shared:Go,"shield-check":Ao,"shield-exclamation":Eo,"sides-each":To,signal:Do,"signal-slash":Uo,sitemap:Po,"slide-arrows-bare":jh,"slide-arrows-round":Lo,"slide-arrows-square":bo,"slide-picker-bar":Co,"slide-picker-cards":No,"slide-picker-dots":Mo,"slide-picker-numbers":uo,"slide-picker-squares":ko,sort:jo,sparkles:to,speaker:io,"speaker-wave":io,"spec-table":so,split:yr,square:vr,star:$r,state:ro,"status-circle":Tr,"status-dot":Ir,sticky:Sr,"stop-circle":wr,store:Zr,strike:gr,styles:Er,subscript:Mr,"success-burst":F,sun:Rr,superscript:Dr,swap:Pr,swatch:Ms,table:lr,tablet:br,tabs:Cr,tag:sr,target:hr,team:fr,telephone:jr,template:Sf,"text-color":rr,"text-lines":ze,"text-size":mr,"text-small":cr,"text-value":nr,texture:w,theme:Ms,ticket:Re,title:Hs,trash:q,trigger:me,truck:W,tv:Y,type:B,tyre:O,underline:H,undo:X,upload:Z,"v-align":g,verified:F,"video-off":J,"view-columns":K,wallet:U,warning:e,weight:a,wheel:hr,widgets:d,width:Q,window:i,windows:s,"words-from":u,wrap:k,wrench:m,"wrench-screwdriver":o,"zoom-in":c,"brand-facebook":tf,"brand-instagram":nf,"brand-line":pf,"brand-linkedin":yk,"brand-pinterest":vk,"brand-telegram":zk,"brand-tiktok":_k,"brand-wechat":Yk,"brand-whatsapp":Bk,"brand-x":Ok,"brand-youtube":Vk},"user-circle":{account:$j},"user-group":{people:Ut}}};export{ta as efficientLookNames,ca as efficientLooks};
|
package/dist/chunk-CY5N5OA3.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{createContext as t,useContext as e}from"react";import{jsx as r}from"react/jsx-runtime";var n={},o=new Proxy(n,{get:(t,e)=>n[e],has:(t,e)=>e in n,ownKeys:()=>Object.keys(n),getOwnPropertyDescriptor(t,e){if(e in n)return{configurable:!0,enumerable:!0,value:n[e]}}});function a(t){for(const t of Object.keys(n))delete n[t];Object.assign(n,t)}var u={},i=[],c={erp:[],system:[],virtual:[],footer:[]},s=t({hasAnyPerm:()=>!0});function d({value:t,children:e}){/* @__PURE__ */
|
|
2
|
-
return r(s.Provider,{value:t,children:e})}function m(){return e(s)}var l=42,h=240,f=6,p=49,w=6,y=200,g=420,b="react-os-shell:work-area-changed";function v(){const t=getComputedStyle(document.documentElement),e=parseInt(t.getPropertyValue("--taskbar-height"))||0,r=parseInt(t.getPropertyValue("--taskbar-width"))||0,n=t.getPropertyValue("--taskbar-position")?.trim()||"bottom",o=parseInt(t.getPropertyValue("--sidebar-width"))||0;return{x:("left"===n?r:0)+o,y:"top"===n?e:0,w:window.innerWidth-("left"===n||"right"===n?r:0)-o,h:window.innerHeight-("top"===n||"bottom"===n?e:0)}}function x(t,e,r){const n=r?e.w+280:e.w-280,o=Math.abs(t.w-e.w)<=4||Math.abs(t.w-n)<=4;return Math.abs(t.h-e.h)<=4&&o}function M({over:t,residual:e},r){return e<=1||t-e>=r-2}function P(t,e,r){let n=t;for(const o of r)M(o,e)&&(n=Math.max(n,t+o.over));return Math.ceil(n)}function k(t,e,r,n){const o=Math.min(e,r.w-2*n);if(o<=t.w+1)return t;const a=r.x+n,u=r.x+r.w-n-o,i=Math.min(Math.max(t.x-(o-t.w)/2,a),u);return{...t,x:Math.round(i),w:Math.round(o)}}function V(){return(parseInt(getComputedStyle(document.documentElement).getPropertyValue("--sidebar-width"))||0)>0}function j(){return"undefined"!=typeof document&&"sidebar"===getComputedStyle(document.documentElement).getPropertyValue("--layout-mode")?.trim()}export{f as RAIL_COLLAPSED_INSET,p as RAIL_COLLAPSED_W,g as RAIL_MAX_W,w as RAIL_MENU_GAP,y as RAIL_MIN_W,h as RAIL_W,d as ShellAuthProvider,l as TAB_STRIP_H,b as WORK_AREA_CHANGED_EVENT,x as boxFillsWorkArea,v as computeMaximizedBox,k as growBoxToWidth,V as isSidebarStripReserved,o as navIcons,i as navSections,j as readAlwaysMaximizedFlag,M as scrollerIsFluid,u as sectionIcons,a as setShellNavIcons,c as startMenuCategories,m as useShellAuth,P as widthToFit};
|
package/dist/chunk-I3XM2PSQ.js
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import{computeMaximizedBox as e,isSidebarStripReserved as t,boxFillsWorkArea as n,readAlwaysMaximizedFlag as r,WORK_AREA_CHANGED_EVENT as o,useShellAuth as i,scrollerIsFluid as a,growBoxToWidth as s,widthToFit as l,navIcons as c}from"./chunk-CY5N5OA3.js";import{ROW_HEIGHTS as u}from"./chunk-AW7TOB6N.js";import{reportBoundaryError as d}from"./chunk-KNUR2UEG.js";import{isStaleChunkError as h}from"./chunk-JDCM2VHG.js";import{Result as m}from"./chunk-QYL26AB4.js";import{CMD_Z as p,CMD_SHIFT_Z as f}from"./chunk-ZDMZM7HD.js";import{CopyButton as w}from"./chunk-2E2SUEEE.js";import{confirm as y}from"./chunk-PLK2WHZG.js";import{ItemCount as g}from"./chunk-55AEZX6K.js";import{isInOverlayOver as v}from"./chunk-3DVNXNTF.js";import{dialogA11y as b}from"./chunk-VWGWZY7A.js";import{ColoredBadge as x}from"./chunk-OKHKY3ZZ.js";import{useIsMobile as k,useIsPhone as E}from"./chunk-UGTRSRIW.js";import{focusableIn as C}from"./chunk-CDAJKLGL.js";import{useShellPrefs as M}from"./chunk-KC3EX26K.js";import{PopupMenu as N,PopupMenuItem as S,PopupMenuDivider as L,PopupMenuLabel as T}from"./chunk-OTITQ3IH.js";import{StatusBadge as z}from"./chunk-FZM3ZPW3.js";import{Button_default as A}from"./chunk-EOVXFXVV.js";import{Icon as D}from"./chunk-2UO47XB4.js";import{LoadingSpinner as P}from"./chunk-R2VKEMZH.js";import{Z_LAYERS as I}from"./chunk-62LW225J.js";import{runEscapeInterceptors as K}from"./chunk-TWVUQUUD.js";import{useShellStrings as W}from"./chunk-GDQJBQ5B.js";import{createContext as R,useContext as O,Component as $,useLayoutEffect as j,useRef as F,useEffect as q,useState as B,useSyncExternalStore as H,useCallback as U,isValidElement as Y,Fragment as X,Children as V,cloneElement as _,useMemo as G,useId as J,useReducer as Z,Suspense as Q}from"react";import{jsxs as ee,jsx as te,Fragment as ne}from"react/jsx-runtime";import{createPortal as re}from"react-dom";import{useLocation as oe}from"react-router-dom";import{useQueryClient as ie,useQuery as ae}from"@tanstack/react-query";function se(e){return"component"in e}function le(e){return"endpoint"in e}var ce={};function ue(e){ce=e}var de=new Proxy({},{get:(e,t)=>ce[t],has:(e,t)=>t in ce,ownKeys:()=>Object.keys(ce),getOwnPropertyDescriptor(e,t){if(t in ce)return{configurable:!0,enumerable:!0,value:ce[t]}}}),he=null;function me(e){he=e}function pe(){return null!==he}var fe=/* @__PURE__ */new Set(["get","post","put","patch","delete","head","options","request"]),we=new Proxy({},{get:(e,t)=>he?he[t]:"string"==typeof t&&fe.has(t)?()=>Promise.resolve({data:null,status:0,statusText:"",headers:{},config:{}}):void 0}),ye=R(null);function ge(){return O(ye)?.pageSearch??""}var ve=null,be=/* @__PURE__ */new Set;function xe(e){ve!==e&&(ve=e,be.forEach(e=>e()))}function ke(){return ve}function Ee(e){return be.add(e),()=>{be.delete(e)}}var Ce=null;function Me(e){Ce=e}function Ne({error:e,onReload:t}){const n=h(e);/* @__PURE__ */
|
|
2
|
-
return ee("div",{className:"flex-1 flex flex-col items-center justify-center gap-3 px-6 py-12 text-center",children:[
|
|
3
|
-
/* @__PURE__ */te(D,{name:"warning",className:"h-8 w-8 text-amber-500",strokeWidth:1.5}),
|
|
4
|
-
/* @__PURE__ */ee("div",{className:"min-w-0",children:[
|
|
5
|
-
/* @__PURE__ */te("p",{className:"text-sm font-medium text-gray-700",children:n?"This window needs the latest version of the app":"This window crashed"}),
|
|
6
|
-
/* @__PURE__ */te("p",{className:"mt-1 text-xs text-gray-400 max-w-sm break-words",children:n?"A new version was deployed while this tab was open. Reload the page to pick it up.":e.message||String(e)})]}),
|
|
7
|
-
/* @__PURE__ */te("button",{type:"button",onClick:n?()=>window.location.reload():t,className:"bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 text-sm font-medium rounded-lg",children:n?"Reload page":"Reload window"})]})}var Se=class extends ${state={error:null};static getDerivedStateFromError(e){return{error:e instanceof Error?e:new Error(String(e))}}componentDidCatch(e,t){console.error("[efficient-shell] window content crashed:",e,t.componentStack),d(e)}reset=()=>this.setState({error:null});render(){const{error:e}=this.state;return e?this.props.fallback?this.props.fallback(e,this.reset):/* @__PURE__ */te(Ne,{error:e,onReload:this.reset}):this.props.children}},Le=R(null),Te="text-xs text-gray-500 hover:text-gray-700 disabled:opacity-40 disabled:hover:text-gray-500 disabled:cursor-default";function ze({className:e="",auto:t=!1}){const n=O(Le),r=W().undo,o=n?.claimOwnMount;if(j(()=>{if(!t&&o)return o(!0),()=>o(!1)},[t,o]),!n||!n.enabled)return null;const{undo:i,redo:a,canUndo:s,canRedo:l,undoLabel:c,redoLabel:u}=n;/* @__PURE__ */
|
|
8
|
-
return ee("div",{className:`flex items-center gap-2 ${e}`,"data-undo-controls":t?"shell":"form",children:[
|
|
9
|
-
/* @__PURE__ */te("button",{type:"button",onClick:i,disabled:!s,title:s?r.undoStep(c??"",p):r.nothingToUndo,className:Te,children:r.undo}),
|
|
10
|
-
/* @__PURE__ */te("button",{type:"button",onClick:a,disabled:!l,title:l?r.redoStep(u??"",f):r.nothingToRedo,className:Te,children:r.redo})]})}var Ae=/* @__PURE__ */new Set([408,429]);function De(e){const t=e?.response?.status;return"number"==typeof t?t:void 0}function Pe(e){const t=De(e);return null!=t&&(t>=400&&t<500&&!Ae.has(t))}function Ie(e,t){return!Pe(t)&&e<3}function Ke(e){if("page"!==e.type)return!0;const t=e.route?de[e.route]:void 0;if(!t||!se(t))return!0;const n=t;return!n.widget&&!n.utility}function We(e){const t=e.route?de[e.route]:void 0;if(!t||!se(t))return;const n=t;return n.taskbarGroup?n.taskbarGroup:{key:e.route,label:n.label,icon:e.route}}var Re=(e,t)=>!!t&&"page"===e.type&&e.route===t;function Oe(){const e=W().loading;/* @__PURE__ */
|
|
11
|
-
return te(P,{size:"sm",padding:"p-8",label:e.label})}var $e="flex-1 min-h-0";function je(){const e=W().record;/* @__PURE__ */
|
|
12
|
-
return te(P,{label:e.loading,padding:"",className:$e})}function Fe(e){return e??void 0}function qe({isPending:e,isFetching:t,enabled:n=!0,error:r,onRetry:o}){const i=W().record;if(t||e&&n)/* @__PURE__ */return te(je,{});if(r){const e=De(r);if(401===e)/* @__PURE__ */
|
|
13
|
-
return te(m,{status:"warning",title:i.signInRequired,subTitle:i.signInBody,className:$e});if(403===e)/* @__PURE__ */
|
|
14
|
-
return te(m,{status:"403",className:$e});if(404===e||410===e)/* @__PURE__ */
|
|
15
|
-
return te(m,{status:"404",title:i.notFound,className:$e});const t=null==e||408===e||429===e||e>=500;/* @__PURE__ */
|
|
16
|
-
return te(m,{status:"500",title:i.loadFailed,subTitle:t?i.checkConnection:i.rejected,extra:t?/* @__PURE__ */te(A,{variant:"secondary",size:"sm",onClick:o,children:i.retry}):void 0,className:$e})}/* @__PURE__ */
|
|
17
|
-
return te(m,{status:"404",title:i.notFound,className:$e})}function Be({entity:e,children:t,...n}){return null!=e?/* @__PURE__ */te(ne,{children:t(e)}):/* @__PURE__ */te(qe,{...n})}var He=/^[a-z]+(?:-[a-z]+)*-\d{13}$/;function Ue(e){return"string"==typeof e&&(e.startsWith("new-")||He.test(e))}function Ye(e){if(Ue(e.entityId))return!0;const t=e.entitySnapshot;return!(!t||"object"!=typeof t||!t._new&&!t._duplicate)}var Xe=R({openWindows:[],openEntity:()=>{},openPage:()=>{},reorderWindows:()=>{},closeEntity:()=>{},minimize:()=>{},items:[],restore:()=>{},remove:()=>{},restoreIfMinimized:()=>!1,openItems:[]}),Ve=R(null);function _e(e){const t=O(Ve),n=F(null);null===n.current&&(n.current=/* @__PURE__ */Symbol("window-dirty")),j(()=>{if(t)return t(n.current,e)},[t,e]),q(()=>{if(!t||!e)return;const n=e=>{e.preventDefault(),e.returnValue=""};return window.addEventListener("beforeunload",n),()=>window.removeEventListener("beforeunload",n)},[t,e])}function Ge(){const e=F(/* @__PURE__ */new Map),[t,n]=B(!1);return{dirty:t,registerDirty:U((t,r)=>{const o=()=>{const t=Array.from(e.current.values()).some(Boolean);n(e=>e===t?e:t)};return e.current.set(t,r),o(),()=>{e.current.delete(t),o()}},[])}}function Je(){return O(Xe)}function Ze(e){if("page"!==e.type&&Ye(e))return null;const t="page"===e.type?"page":e.entityType||"",n="page"===e.type?e.route||"":e.entityId||"";return t&&n?{entityType:t,entityId:n,label:e.label}:null}function Qe({item:e,onClose:t,accentRgb:n}){const{dirty:r,registerDirty:o}=Ge(),i=de[e.route];if(!i||!se(i))return null;const a=i,s=a.component;/* @__PURE__ */
|
|
18
|
-
return te(_r,{open:!0,onClose:t,icon:c[e.route],title:a.label,size:a.size||"2xl",dirty:r,allowPinOnTop:a.allowPinOnTop,initialPosition:a.initialPosition,widget:a.widget,compact:a.compact,appStyle:a.appStyle,flushBody:a.flushBody,autoHeight:a.autoHeight,autoMinHeight:a.autoMinHeight,autoWidth:a.autoWidth,dimensions:a.dimensions,windowKey:e.id,openedFromKey:e.openedFrom,accentRgb:n,children:/* @__PURE__ */te(Ve.Provider,{value:o,children:/* @__PURE__ */te(Q,{fallback:/* @__PURE__ */te("div",{className:"flex items-center justify-center py-12",children:/* @__PURE__ */te(Oe,{})}),children:/* @__PURE__ */te(s,{})})})})}function et({entityType:e,entityId:t,label:n}){const r=W(),o=ie(),{data:i}=ae({queryKey:["my-profile-sidebar"],enabled:pe(),queryFn:()=>we.get("/auth/me/").then(e=>e.data)}),a=(i?.preferences||{}).favorite_documents||[],s=a.some(n=>n.entityType===e&&n.entityId===t);/* @__PURE__ */
|
|
19
|
-
return te("button",{onClick:()=>{const r=s?a.filter(n=>!(n.entityType===e&&n.entityId===t)):[...a,{entityType:e,entityId:t,label:n}];we.patch("/auth/me/",{preferences:{favorite_documents:r}}).then(()=>{o.invalidateQueries({queryKey:["my-profile-sidebar"]})})},title:s?r.taskbar.removeFromDesktop:r.taskbar.addToDesktop,className:"shrink-0 transition-colors "+(s?"text-yellow-500 hover:text-yellow-600":"text-gray-300 hover:text-yellow-400"),children:/* @__PURE__ */te(D,{name:"star",className:"h-4 w-4",fill:s?"currentColor":"none",strokeWidth:1.5})})}var tt=/* @__PURE__ */new Set,nt=()=>"hidden";function rt({item:e,onClose:t,onMinimize:n,accentRgb:r}){const o=de[e.entityType];if(!o||!le(o))return null;const i=o,[a,s]=B(!1),{dirty:l,registerDirty:u}=Ge(),d=i.queryKey||i.endpoint.replace(/^\/|\/$/g,"").split("/").pop()||e.entityType,h=e.entitySnapshot?._duplicate,m=Ue(e.entityId),p=!i.selfFetching&&!h&&!m&&pe(),f=ae({queryKey:[d,e.entityId],queryFn:()=>{return we.get((t=i.endpoint,n=String(e.entityId),`${t}${encodeURIComponent(n)}/`)).then(e=>e.data);var t,n},initialData:Fe(e.entitySnapshot),initialDataUpdatedAt:0,enabled:p,staleTime:0,refetchOnWindowFocus:!0,refetchOnMount:"always",refetchInterval:e=>!Pe(e.state.error)&&6e4,refetchIntervalInBackground:!1,retry:Ie}),w=f.data,y=f.refetch;q(()=>{var t;if(p)return t=t=>{t!==e.id||tt.has(t)||y({cancelRefetch:!1})},Qn.add(t),()=>{Qn.delete(t)}},[y,e.id,p]);const g=U(()=>{a&&!l?s(!1):t()},[a,l,t]),v=(i.useEdit??nt)(w??null),b=!i.useEdit||m||h?void 0:{state:v,editing:a,onEdit:()=>s(!0),onDiscard:()=>s(!1)},x=i.selfFetching?e.label:w?i.title(w,a,s):e.label,k=i.icon,E=k?c[k]:null,C=x,M=!i.selfFetching&&w&&i.footer&&!h?i.footer(w):void 0;return i.rendersOwnModal?i.selfFetching?/* @__PURE__ */te(Q,{fallback:/* @__PURE__ */te(Oe,{}),children:i.render(w??e.entitySnapshot,t,e.entityId,a,s)}):null!=w?/* @__PURE__ */te(Q,{fallback:/* @__PURE__ */te(_r,{open:!0,onClose:t,title:e.label,size:i.size||"2xl",children:/* @__PURE__ */te(je,{})}),children:i.render(w,t,e.entityId,a,s)}):/* @__PURE__ */te(_r,{open:!0,onClose:t,title:e.label,size:i.size||"2xl",children:/* @__PURE__ */te(qe,{isPending:f.isPending,isFetching:f.isFetching,enabled:p,error:f.error,onRetry:y})}):/* @__PURE__ */te(_r,{open:!0,onClose:g,onMinimize:n,initialBox:e.savedBox,icon:E,title:C,footer:M,copyText:e.label,windowKey:e.id,openedFromKey:e.openedFrom,size:i.size||"2xl",dirty:l,editing:a||m||h,edit:b,dimensions:i.dimensions,autoHeight:i.autoHeight,autoMinHeight:i.autoMinHeight,autoWidth:i.autoWidth,appStyle:i.appStyle,flushBody:i.flushBody,accentRgb:r,children:/* @__PURE__ */te(Ve.Provider,{value:u,children:/* @__PURE__ */te(Q,{fallback:/* @__PURE__ */te(je,{}),children:i.selfFetching?i.render(null,t,e.entityId,a,s):/* @__PURE__ */te(Be,{entity:w,isPending:f.isPending,isFetching:f.isFetching,enabled:p,error:f.error,onRetry:y,children:n=>i.render(n,t,e.entityId,a,s)})})})})}function ot(e){return document.querySelector(`[data-modal-panel][data-window-key="${e}"]`)}function it(e){return document.querySelector(`[data-modal-panel][data-window-root][data-window-owner="${e}"]`)}function at(e){const t=ot(e),n=t??it(e);if(!n)return;if(t&&!dr(t))return r=e,void window.dispatchEvent(new CustomEvent("modal-reveal",{detail:{windowKey:r}}));var r;const o=n.getAttribute("data-modal-id");o&&er(o)}function st(){const e=Mr();if(!e)return;const t=document.querySelector(`[data-modal-panel][data-modal-id="${e}"]`);return t?.getAttribute("data-window-key")??void 0}var lt=/* @__PURE__ */new Map;function ct(){const e=st();if(e)return lt.get(e)}function ut(e){const t=document.querySelectorAll("[data-modal-panel]");for(const n of Array.from(t)){const t=n.querySelector("[data-window-title]");if(t?.textContent?.includes(e))return n}return null}var dt="rosh-peek-style",ht=I.peek,mt=I.taskbarPreview;function pt(e){"undefined"!=typeof document&&(!function(){if("undefined"==typeof document||document.getElementById(dt))return;const e=document.createElement("style");e.id=dt,e.textContent=`body.rosh-peeking [data-modal-panel]{transition:opacity .18s ease}body.rosh-peeking [data-modal-panel]:not([data-peek-focus]){opacity:.4}body.rosh-peeking [data-modal-panel][data-peek-focus]{opacity:1}body.rosh-peeking [data-modal-panel][data-peek-focus]:not([data-pinned-top]){z-index:${ht}!important}html.rosh-reduce-transparency body.rosh-peeking [data-modal-panel]:not([data-peek-focus]){opacity:.92}@media (prefers-reduced-motion:reduce){body.rosh-peeking [data-modal-panel]{transition:none}}`,document.head.appendChild(e)}(),document.querySelectorAll("[data-modal-panel][data-peek-focus]").forEach(e=>e.removeAttribute("data-peek-focus")),e&&e.setAttribute("data-peek-focus",""),document.body.classList.toggle("rosh-peeking",!!e))}function ft(){"undefined"!=typeof document&&(document.body.classList.remove("rosh-peeking"),document.querySelectorAll("[data-modal-panel][data-peek-focus]").forEach(e=>e.removeAttribute("data-peek-focus")))}function wt({id:e,label:t,maxW:n,maxH:r,titleAbove:o=!1,onClick:i,onClose:a}){const s=W(),l=F(null),[c,u]=B({w:n,h:Math.round(.75*r)}),[d,h]=B(!1);return j(()=>{const o=l.current;if(!o)return;const i=ot(e)??ut(t);if(!i)return void h(!1);const a=i.getBoundingClientRect();if(0===a.width||0===a.height)return void h(!1);const s=Math.min(n/a.width,r/a.height),c=Math.max(80,Math.round(a.width*s)),d=Math.max(60,Math.round(a.height*s));u({w:c,h:d}),h(!0);const m=i.cloneNode(!0);return m.style.position="absolute",m.style.top="0",m.style.left="0",m.style.right="auto",m.style.bottom="auto",m.style.width=a.width+"px",m.style.height=a.height+"px",m.style.transform=`scale(${s})`,m.style.transformOrigin="top left",m.style.pointerEvents="none",m.style.animation="none",m.style.zIndex="auto",m.removeAttribute("data-modal-panel"),m.removeAttribute("data-modal-id"),m.removeAttribute("data-window-key"),m.removeAttribute("role"),m.removeAttribute("aria-labelledby"),m.removeAttribute("aria-label"),m.querySelectorAll('[role="dialog"], [data-portal]').forEach(e=>{e.style.display="none"}),o.innerHTML="",o.appendChild(m),()=>{o.innerHTML=""}},[e,t,n,r]),/* @__PURE__ */ee("div",{style:{width:c.w,height:c.h},className:"relative rounded-md overflow-hidden bg-white/95 border border-line-strong shadow-(--elevation-panel) cursor-pointer ring-2 ring-transparent group-hover:ring-blue-400 transition shrink-0",onClick:i,children:[
|
|
20
|
-
/* @__PURE__ */te("div",{ref:l,className:"absolute inset-0 z-0 overflow-hidden"}),!d&&/* @__PURE__ */ee("div",{className:"absolute inset-0 flex flex-col items-center justify-center text-gray-400 bg-gray-50",children:[
|
|
21
|
-
/* @__PURE__ */te(D,{name:"window",className:"h-6 w-6",strokeWidth:1.5}),
|
|
22
|
-
/* @__PURE__ */te("span",{className:"mt-1 text-3xs uppercase tracking-wide",children:"Hidden"})]}),!o&&/* @__PURE__ */te("div",{className:"absolute bottom-0 left-0 right-0 z-10 px-2 py-1 text-2xs font-medium text-on-accent bg-gradient-to-t from-black/80 to-transparent truncate pointer-events-none",children:t}),a&&/* @__PURE__ */te("button",{onClick:e=>{e.stopPropagation(),a()},className:"absolute top-1 right-1 z-20 h-5 w-5 rounded-full bg-gray-900/90 ring-1 ring-white/80 shadow-sm hover:bg-red-500 text-on-accent flex items-center justify-center",title:s.taskbar.closeWindow,children:/* @__PURE__ */te(D,{name:"close",className:"h-3 w-3",strokeWidth:3})})]})}function yt({items:e,anchorEl:t,onActivate:n,onClose:r,onMouseEnter:o,onMouseLeave:i}){const a=W(),s=e.length>1,l=F(null),[c,u]=B({left:-9999,top:-9999,ready:!1}),[d,h]=B(()=>"undefined"!=typeof document&&getComputedStyle(document.documentElement).getPropertyValue("--taskbar-position")?.trim()||"bottom");j(()=>{const e=l.current;if(!e)return;const n=()=>{const n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),o=getComputedStyle(document.documentElement).getPropertyValue("--taskbar-position")?.trim()||"bottom";h(o);let i,a=n.left+n.width/2-r.width/2;"top"===o?i=n.bottom+8:"left"===o?(a=n.right+8,i=n.top+n.height/2-r.height/2):"right"===o?(a=n.left-r.width-8,i=n.top+n.height/2-r.height/2):i=n.top-r.height-8,a=Math.max(8,Math.min(a,window.innerWidth-r.width-8)),i=Math.max(8,Math.min(i,window.innerHeight-r.height-8)),u({left:a,top:i,ready:!0})};n();const r=new ResizeObserver(n);return r.observe(e),()=>r.disconnect()},[t,e.length]),q(()=>ft,[]);const m="top"===d,p=(m?"mt-1":"mb-1")+" max-w-[240px] truncate text-2xs font-medium text-ink-strongest bg-white/80 px-2 py-0.5 rounded shadow-sm ring-2 ring-transparent transition group-hover:ring-blue-400";return re(
|
|
23
|
-
/* @__PURE__ */te("div",{ref:l,"data-taskbar-preview":"",style:{position:"fixed",left:c.left,top:c.top,zIndex:mt,maxWidth:"calc(100vw - 16px)",opacity:c.ready?1:0},className:s?"flex gap-2 flex-wrap":"",onMouseEnter:o,onMouseLeave:()=>{ft(),i()},children:e.map(e=>{const t=ot(e.id)??ut(e.label),o=t?function(e){if(dr(e))return null;const t=e.getBoundingClientRect(),n=ir(),r=t.left+t.width/2-(n.x+n.w/2),o=t.top+t.height/2-(n.y+n.h/2);return 180*Math.atan2(o,r)/Math.PI}(t):null;/* @__PURE__ */
|
|
24
|
-
return ee("div",{className:"group flex flex-col items-center",onMouseEnter:()=>pt(t),children:[!m&&/* @__PURE__ */te("span",{className:p,children:e.label}),
|
|
25
|
-
/* @__PURE__ */te(wt,{id:e.id,label:e.label,maxW:240,maxH:160,titleAbove:!0,onClick:()=>n(e.id),onClose:()=>r(e.id)}),m&&/* @__PURE__ */te("span",{className:p,children:e.label}),null!==o&&/* @__PURE__ */ee("span",{title:a.taskbar.offscreenHint,className:"mt-1 inline-flex items-center gap-1 rounded bg-amber-500 px-2 py-0.5 text-2xs font-semibold text-on-accent shadow-sm",children:[
|
|
26
|
-
/* @__PURE__ */te(D,{name:"arrow-right",className:"h-3 w-3",style:{transform:`rotate(${o}deg)`},strokeWidth:3}),"Off screen"]})]},e.id)})}),document.body)}function gt(e,t){const n=getComputedStyle(document.documentElement).getPropertyValue("--taskbar-position")?.trim()||"bottom";return"top"===n?{left:Math.min(e,window.innerWidth-220),top:t+4}:"left"===n?{left:e+4,top:Math.min(t,window.innerHeight-160)}:"right"===n?{right:window.innerWidth-e+4,top:Math.min(t,window.innerHeight-160)}:{left:Math.min(e,window.innerWidth-220),bottom:window.innerHeight-t+4}}function vt({openWindows:e,onRemove:t,onSplitView:n,onActivate:r,onActivateById:o}){const i=W(),[a,s]=B(null);q(()=>{let e,t;const n=()=>{clearInterval(e),clearTimeout(t),e=void 0},r=()=>{const e=document.getElementById("taskbar-windows");return s(t=>t===e?t:e),!!e},o=()=>{n(),r()||(e=setInterval(()=>{r()&&n()},100),t=setTimeout(n,5e3))};return o(),window.addEventListener("react-os-shell:layout-mode-changed",o),()=>{n(),window.removeEventListener("react-os-shell:layout-mode-changed",o)}},[]);const l=H(Nr,Mr),[,u]=B(0);q(()=>{const e=()=>u(e=>e+1);return window.addEventListener("modal-geometry",e),window.addEventListener("resize",e),()=>{window.removeEventListener("modal-geometry",e),window.removeEventListener("resize",e)}},[]);const[,d]=B(0);q(()=>{const e=()=>d(e=>e+1);return window.addEventListener("window-title-update",e),()=>window.removeEventListener("window-title-update",e)},[]);const h=e=>{const t=ut(e),n=t?.querySelector("[data-window-title]");return n?.textContent?.trim()||e},[m,p]=B(null),[f,w]=B(null),[y,v]=B(null),b=F(null),x=()=>{b.current&&(clearTimeout(b.current),b.current=null),b.current=setTimeout(()=>{p(null),w(null)},150)},k=e.filter(e=>!e.route||!de[e.route]?.utility);if(!a||!a.isConnected||0===k.length)return null;const E=[],C=/* @__PURE__ */new Map;for(const e of k){const t=e.route?de[e.route]:void 0,n=t?.taskbarGroup,r=n?.key??e.route??`entity:${e.id}`,o=C.get(r);if(void 0!==o)E[o].items.push(e);else{C.set(r,E.length);const o=n?.label??t?.label??e.label;E.push({key:r,route:n?.icon??e.route,label:o,items:[e]})}}return re(
|
|
27
|
-
/* @__PURE__ */ee(ne,{children:[E.map(e=>{const n=e.route?c[e.route]:null,r=e.items[e.items.length-1];let a=!1;if(l){const t=document.querySelector(`[data-modal-id="${l}"]`);if(t){const n=t.querySelector("[data-window-title]"),r=n?.textContent??"";a=e.items.some(e=>r.includes(e.label))}}const s=e.items.length>1,u=e.items.some(e=>{const t=ot(e.id)??ut(e.label);return!!t&&!dr(t)});/* @__PURE__ */
|
|
28
|
-
return ee("button",{onClick:()=>o(r.id),onMouseEnter:t=>{return n=e.items,r=t.currentTarget,void(y||(b.current&&(clearTimeout(b.current),b.current=null),b.current=setTimeout(()=>{p(n),w(r)},350)));var n,r},onMouseLeave:x,onDoubleClick:e=>{e.stopPropagation(),window.dispatchEvent(new CustomEvent("modal-center",{detail:{windowKey:r.id,label:r.label}}))},onContextMenu:t=>{t.preventDefault(),t.stopPropagation(),b.current&&(clearTimeout(b.current),b.current=null),p(null),w(null),s?v({x:t.clientX,y:t.clientY,items:e.items,label:e.label}):window.dispatchEvent(new CustomEvent("modal-context-menu",{detail:{windowKey:r.id,label:r.label,x:t.clientX,y:t.clientY}}))},style:{width:"var(--window-tab-width, 200px)",fontSize:"var(--window-tab-font-size, 12px)"},"data-tab-group":e.key,className:"group relative flex items-center gap-2 rounded-lg px-3 py-2 font-medium transition-all min-w-0 shrink "+(a?"bg-blue-100/60 border border-blue-400/60 text-blue-700":"bg-gray-50/40 border border-gray-200/40 text-gray-700 hover:bg-gray-200/40"),children:[n&&Y(n)?_(n,{className:"h-3.5 w-3.5 shrink-0"}):/* @__PURE__ */te(D,{name:"expand",className:"h-3.5 w-3.5 shrink-0",strokeWidth:2}),
|
|
29
|
-
/* @__PURE__ */te("span",{className:"truncate flex-1",children:s?e.label:h(r.label)}),u&&/* @__PURE__ */te("span",{title:i.taskbar.offscreenDot,className:"shrink-0 h-1.5 w-1.5 rounded-full bg-amber-500"}),s&&/* @__PURE__ */te(g,{count:e.items.length,label:i.count.windows(e.items.length)}),!s&&/* @__PURE__ */te("span",{role:"button",onClick:e=>{e.stopPropagation(),t(r.id)},className:"ml-auto text-gray-400 hover:text-red-500 shrink-0 opacity-0 group-hover:opacity-100 transition-opacity",children:/* @__PURE__ */te(D,{name:"close",className:"h-3 w-3",strokeWidth:2})})]},e.key)}),
|
|
30
|
-
/* @__PURE__ */te("div",{className:"flex-1"}),k.length>=2&&/* @__PURE__ */ee("button",{onClick:n,title:i.taskbar.expose,className:"flex items-center gap-1 rounded px-2 py-1 text-2xs font-medium text-blue-600 border border-blue-300 hover:bg-accent-tint transition-colors shrink-0",children:[
|
|
31
|
-
/* @__PURE__ */te(D,{name:"grid",className:"h-3 w-3",strokeWidth:2}),"Exposé"]}),y&&/* @__PURE__ */ee(N,{portal:!0,minWidth:200,style:gt(y.x,y.y),onClose:()=>v(null),children:[
|
|
32
|
-
/* @__PURE__ */te(T,{children:y.label}),
|
|
33
|
-
/* @__PURE__ */ee(S,{onClick:()=>{v(null),y.items.forEach(e=>function(e){const t=On.get(e);t&&tr(t)}(e.id))},children:[
|
|
34
|
-
/* @__PURE__ */te(D,{name:"remove",className:"h-4 w-4",strokeWidth:1.5}),i.taskbar.minimizeAllWindows]}),
|
|
35
|
-
/* @__PURE__ */ee(S,{onClick:()=>{v(null),y.items.forEach(e=>o(e.id))},children:[
|
|
36
|
-
/* @__PURE__ */te("svg",{className:"h-4 w-4 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:/* @__PURE__ */te("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3.75h6.5v6.5h-6.5zM13.75 8.75h6.5v6.5h-6.5z"})}),i.taskbar.restoreAllWindows]}),
|
|
37
|
-
/* @__PURE__ */te(L,{}),
|
|
38
|
-
/* @__PURE__ */ee(S,{danger:!0,onClick:()=>{v(null),y.items.forEach(e=>t(e.id))},children:[
|
|
39
|
-
/* @__PURE__ */te(D,{name:"close",className:"h-4 w-4",strokeWidth:2}),`${i.taskbar.closeAllWindows} (${y.items.length})`]})]}),m&&f&&/* @__PURE__ */te(yt,{items:m,anchorEl:f,onActivate:e=>{o(e),p(null),w(null)},onClose:e=>{t(e),p(null),w(null)},onMouseEnter:()=>{b.current&&(clearTimeout(b.current),b.current=null)},onMouseLeave:x})]}),a)}var bt=["/login","/forgot-password","/reset-password","/force-change-password"];function xt({children:e,windowAccentForRoute:t}){const n=oe(),r=bt.some(e=>n.pathname.startsWith(e)),[o,i]=B([]),a=F(o);j(()=>{a.current=o},[o]);const s=H(Ee,ke,ke),l=F(/* @__PURE__ */new Map),c=e=>{const t=Ke(e),n=!!s&&"page"===e.type&&e.route===s,r=e.pageSearch||void 0,o=l.current.get(e.id);if(o&&o.tab===t&&o.home===n&&o.pageSearch===r)return o;const i={key:e.id,tab:t,home:n,...r?{pageSearch:r}:{}};return l.current.set(e.id,i),i};q(()=>{lt.clear();for(const e of o)e.route&<.set(e.id,e.route)},[o]);const u=U(e=>{i(t=>t.filter(t=>t.id!==e))},[]),d=U(e=>{var t;ot(e)||it(e)?(t=e,window.dispatchEvent(new CustomEvent(Sr,{detail:{windowKey:t}}))):u(e)},[u]),h=(e,t=!1)=>{const n=Pn;t&&tt.add(e),setTimeout(()=>{const r=document.querySelector(`[data-modal-panel][data-window-key="${e}"]`),o=r?.getAttribute("data-modal-id");var i,a;!o||(i=o,a=n,(In.get(i)??-1)>a)||er(o),t&&tt.delete(e)},50)},m=(e,t,n)=>{const r=Ce;if(n||!r)return[...e,t];const o=function(e,t,n){if(!Ke(t))return e.length;if(t.shellOwned&&Re(t,n.home))return 0;const r=Re(t,n.home)?void 0:We(t)?.key;if(r){let t=-1;if(e.forEach((e,o)=>{Ke(e)&&!Re(e,n.home)&&We(e)?.key===r&&(t=o)}),t>=0)return t+1}if("page"===t.type&&t.route&&!Re(t,n.home)&&n.favorites.includes(t.route))return e.length>0&&Re(e[0],n.home)?1:0;const o=t.openedFrom?e.findIndex(e=>e.id===t.openedFrom):-1;if(o>=0){const t=/* @__PURE__ */new Set([e[o].id]);let r=o+1;for(;r<e.length&&e[r].openedFrom&&t.has(e[r].openedFrom);)t.add(e[r].id),r++;const i=t=>Ke(e[t])&&!Re(e[t],n.home)?We(e[t])?.key:void 0;for(;r>0&&r<e.length&&void 0!==i(r)&&i(r)===i(r-1);)r++;return r}return e.length}(e,t,{home:ke(),favorites:r.favorites});return[...e.slice(0,o),t,...e.slice(o)]},p=U(e=>{i(t=>function(e,t){const n=new Set(t),r=new Map(e.map(e=>[e.id,e])),o=t.map(e=>r.get(e)).filter(e=>!!e);if(o.length!==n.size)return e;let i=0;const a=e.map(e=>n.has(e.id)?o[i++]:e);return a.every((t,n)=>t===e[n])?e:a}(t,e))},[]),f=U((e,t,n,r,o,a={})=>{if(!de[e]||!le(de[e]))return;const s=`${e}:${t}`,l=st();i(i=>{const c=i.find(n=>n.entityType===e&&String(n.entityId)===String(t));return c?(h(c.id),i):(h(s,!0),m(i,{id:s,type:"modal",label:r||t,route:o||window.location.pathname,entityType:e,entityId:t,entitySnapshot:Fe(n),openedFrom:l},!!a.append))})},[]),w=U((e,t={})=>{if(!de[e]||!se(de[e]))return;const n=de[e],{reuse:r=!1,background:o=!1,shellOwned:s,search:l,append:c=!1}=t,u=e=>{var t;o?(t=e,Bn.add(t)):h(e)};if(n.widget){const t=a.current.find(t=>"page"===t.type&&t.route===e);if(t)return void d(t.id)}const p=st();i(t=>{if(n.multiInstance){const i=t.filter(t=>"page"===t.type&&t.route===e);if(r&&!l&&i.length>0)return o||h(i[i.length-1].id),t;const a=`page:${e}:${Math.random().toString(36).slice(2,8)}`;return u(a),m(t,{id:a,type:"page",label:n.label,route:e,openedFrom:p,...s?{shellOwned:s}:{},...l?{pageSearch:l}:{}},c)}const i=t.find(t=>"page"===t.type&&t.route===e);if(i)return n.widget?t:(o||h(i.id),l&&i.pageSearch!==l?t.map(e=>e===i?{...e,pageSearch:l}:e):t);const a=`page:${e}`;return u(a),m(t,{id:a,type:"page",label:n.label,route:e,openedFrom:p,...s?{shellOwned:s}:{},...l?{pageSearch:l}:{}},c)})},[d]),y=U(()=>{},[]),g=U(()=>{},[]),v=d,b=d;/* @__PURE__ */
|
|
40
|
-
return ee(Xe.Provider,{value:{openWindows:o,openEntity:f,openPage:w,reorderWindows:p,closeEntity:v,minimize:y,items:[],openItems:o,restore:g,remove:b,restoreIfMinimized:()=>!1},children:[e,
|
|
41
|
-
/* @__PURE__ */te(vt,{openWindows:o,onRemove:d,onSplitView:Xr,onActivate:e=>{document.querySelectorAll("[data-modal-panel]").forEach(t=>{const n=t.querySelector("[data-window-title]");if(n?.textContent?.includes(e)){const e=t.getAttribute("data-modal-id");e&&er(e)}})},onActivateById:at}),
|
|
42
|
-
/* @__PURE__ */te(Vr,{}),!r&&o.map(e=>{const n=e.route?t?.(e.route):void 0;
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
-
return te(ye.Provider,{value:c(e),children:/* @__PURE__ */te(Se,{fallback:(t,n)=>/* @__PURE__ */te(_r,{open:!0,onClose:()=>u(e.id),title:e.label,size:"md",autoHeight:!0,windowKey:e.id,children:/* @__PURE__ */te(Ne,{error:t,onReload:n})}),children:/* @__PURE__ */te(Jt,{spec:Ze(e),children:/* @__PURE__ */te(no,{windowId:e.id,children:"page"===e.type?/* @__PURE__ */te(Qe,{item:e,onClose:()=>u(e.id),accentRgb:n}):/* @__PURE__ */te(rt,{item:e,onClose:()=>u(e.id),onMinimize:()=>{},accentRgb:n})})})})},e.id)})]})}var kt=400;function Et({panelRef:e,bodyRef:t,open:n,widget:r,active:o,minimized:i}){const a=F(null),s=F(!1);n&&!s.current&&(a.current="undefined"==typeof document?null:document.activeElement),s.current=n;const l=F(!1),c=F(void 0),u=F(i),d=u.current&&!i;u.current=i;const h=()=>{l.current=!0,clearTimeout(c.current),c.current=setTimeout(()=>{l.current=!1},kt)};q(()=>{n&&!r&&h()},[n,r]),q(()=>{d&&n&&!r&&h()},[d]),q(()=>()=>clearTimeout(c.current),[]),q(()=>{if(!n||r||!o||i||!l.current)return;l.current=!1;const a=e.current;if(!a||a.contains(document.activeElement))return;if(document.activeElement?.closest('[aria-modal="true"]'))return;const s=t.current?C(t.current)[0]:void 0;s?s.focus():(a.hasAttribute("tabindex")||a.setAttribute("tabindex","-1"),a.focus())},[n,r,o,i,e,t]),j(()=>{if(!n||r)return;const t=e.current;return()=>{const e=a.current,n=document.activeElement;(!n||n===document.body||!!t?.contains(n))&&e&&e.isConnected&&!t?.contains(e)&&e.focus?.()}},[n,r,e])}var Ct=null,Mt=/* @__PURE__ */new Set;function Nt(){return Ct}function St(e){if(Ct!==e){Ct=e;for(const e of Mt)e()}}function Lt(e){return Mt.add(e),()=>{Mt.delete(e)}}var Tt=!1,zt={menus:0,submenus:0,menuKey:null,moveMs:0,resizeMs:0},At=()=>{};function Dt(e){Tt=e,zt={menus:0,submenus:0,menuKey:null,moveMs:0,resizeMs:0}}function Pt(e,t){Tt&&("submenu"===e?zt.submenus++:zt.menus++,zt.menuKey=t)}function It(e){if(!Tt)return At;const t=performance.now();let n=!1;return()=>{if(n)return;if(n=!0,!Tt)return;const r=performance.now()-t;"move"===e?zt.moveMs+=r:zt.resizeMs+=r}}function Kt(){const e=zt;return zt={menus:0,submenus:0,menuKey:null,moveMs:0,resizeMs:0},e}var Wt=/* @__PURE__ */new Set([z,x]),Rt=e=>Wt.has(e)||"function"==typeof e&&"badge"===e.titleRole,Ot=/* @__PURE__ */new Set(["button","a","input","select","textarea","kbd"]),$t=/* @__PURE__ */new Set(["svg"]);function jt(e){const t=[],n={text:"",accessories:[],badges:[],actions:[]};return Ft(e,n,t),n.text=t.join("").replace(/\s+/g," ").trim(),n}function Ft(e,t,n){if(null==e||"boolean"==typeof e)return;if("string"==typeof e||"number"==typeof e)return void n.push(String(e));if(Array.isArray(e))return void e.forEach(e=>Ft(e,t,n));if(!Y(e))return;const r=e;if(r.type===w)return void(void 0===t.copy&&"string"==typeof r.props.text&&r.props.text&&(t.copy=r.props.text));if(r.type===X)return void V.toArray(r.props.children).forEach(e=>Ft(e,t,n));if("string"==typeof r.type){if($t.has(r.type))return;if(!Ot.has(r.type))return n.push(" "),V.toArray(r.props.children).forEach(e=>Ft(e,t,n)),void n.push(" ")}const o=_(r,{key:`title-part-${t.accessories.length}`});t.accessories.push(o),(Rt(r.type)?t.badges:t.actions).push(o)}var qt=/* @__PURE__ */new Map,Bt=/* @__PURE__ */new Set,Ht=0;function Ut(){Ht++,Bt.forEach(e=>e())}function Yt(e){return qt.get(e)}function Xt(e){return Bt.add(e),()=>{Bt.delete(e)}}function Vt(){return Ht}var _t=R(""),Gt=R(null);function Jt({spec:e,children:t}){/* @__PURE__ */
|
|
45
|
-
return te(Gt.Provider,{value:e,children:t})}var Zt=/* @__PURE__ */new Set(["button","input","textarea","select","kbd","svg"]),Qt='button[type="submit"], button[data-submit], button.btn-submit, button.bg-green-600, button.bg-blue-600',en='button, a[href], summary, [role="button"], [role="link"], [role="menuitem"], select';function tn(e){return nn(e).replace(/\s+/g," ").trim()}function nn(e){if(null==e||"boolean"==typeof e)return"";if("string"==typeof e)return e;if("number"==typeof e)return String(e);if(Array.isArray(e))return e.map(nn).join("");if(Y(e)){const t=e,n="string"==typeof t.type?t.type:"";return Zt.has(n)?"":` ${nn(t.props?.children)} `}return""}function rn(e){const t=O(_t);q(()=>{if(!t)return;const n=n=>{n.detail===t&&e()};return window.addEventListener("widget-open-settings",n),()=>window.removeEventListener("widget-open-settings",n)},[e,t])}var on={};function an(e,t,n){const r=O(_t);q(()=>{if(!r)return;on[r]||(on[r]=[]);const o={label:e,icon:n,onClick:t};return on[r].push(o),()=>{on[r]=(on[r]||[]).filter(e=>e!==o)}},[r,e,t,n])}function sn({title:e}){const t=F(null);return q(()=>{const n=setTimeout(()=>{const n=t.current?.closest("[data-modal-id]"),r=n?.getAttribute("data-modal-id");r&&window.dispatchEvent(new CustomEvent("window-title-update",{detail:{id:r,title:e}}))},0);return()=>clearTimeout(n)},[e]),/* @__PURE__ */te("span",{ref:t,style:{display:"none"},"aria-hidden":"true"})}function ln(e){}var cn=R(null);function un(){return O(_t)}function dn(){const e=H(Nr,Mr),t=O(cn);return t?.active??(zn.length<=1||null!=e)}function hn({children:e,position:t="right",quiet:n=!1}){const r=O(cn),[o,i]=B(null);return q(()=>{if(!r)return;const e="left"===t?r.leftRef:r.rightRef,o=()=>!!e.current&&(i(e.current),n||r.notify(),!0);if(o())return;const a=setInterval(()=>{o()&&clearInterval(a)},50),s=setTimeout(()=>clearInterval(a),2e3);return()=>{clearInterval(a),clearTimeout(s)}},[r,t,n]),o?re(e,o):null}function mn({onClick:e,children:t,className:n}){const r=O(cn);/* @__PURE__ */
|
|
46
|
-
return te("button",{type:"button",onClick:async()=>{if(r?.isDirty){const{confirm:e}=await(import("./shell/ConfirmDialog.js"));if(!await e({title:"Discard changes?",message:"You have unsaved changes. Are you sure you want to cancel? All changes will be lost.",confirmLabel:"Discard",cancelLabel:"Keep Editing",variant:"warning"}))return}e()},className:n||"bg-white text-gray-700 border border-gray-300 px-4 py-2 text-sm font-medium rounded-lg hover:bg-gray-50",children:t||"Cancel"})}var pn="erp_window_positions",fn={};try{const e=localStorage.getItem(pn);e&&(fn=JSON.parse(e))}catch{}var wn=null;function yn(){wn&&clearTimeout(wn),wn=setTimeout(()=>{try{localStorage.setItem(pn,JSON.stringify(fn))}catch{}},500)}var gn="erp_activation_order",vn=[];try{const e=localStorage.getItem(gn),t=e?JSON.parse(e):null;Array.isArray(t)&&t.every(e=>"string"==typeof e)&&(vn=t)}catch{}var bn=null;function xn(){bn&&clearTimeout(bn),bn=setTimeout(()=>{try{localStorage.setItem(gn,JSON.stringify(vn))}catch{}},500)}function kn(e,t){fn[e]||(fn[e]=t,yn())}function En(e){return fn[e]?{...fn[e]}:null}function Cn(e,t){fn[e]=t,yn()}function Mn(){const r=e(),o=t();let i=!1;for(const e of Object.keys(fn))n(fn[e],r,o)&&(delete fn[e],i=!0);i&&yn()}var Nn={sm:384,md:512,lg:672,xl:896,"2xl":1152,"3xl":1408},Sn=4e3,Ln=()=>{if("undefined"==typeof document)return"large";const e=getComputedStyle(document.documentElement).getPropertyValue("--default-window-size")?.trim();return"small"===e||"medium"===e||"maximized"===e?e:"large"},Tn={small:.8,medium:1,large:1.25,maximized:1.25},zn=[],An=/* @__PURE__ */new Set,Dn=/* @__PURE__ */new Set,Pn=0,In=/* @__PURE__ */new Map;var Kn=0;function Wn(){return Kn}function Rn(){Kn++,An.forEach(e=>e())}var On=/* @__PURE__ */new Map,$n=/* @__PURE__ */new Map,jn=/* @__PURE__ */new Map;function Fn(){for(let e=zn.length-1;e>=0;e--){const t=jn.get(zn[e]);if(t?.tab)return t.owner}return null}function qn(){return H(Nr,Fn,()=>null)}var Bn=/* @__PURE__ */new Set;var Hn=null;function Un(e){Hn=null,er(e)}function Yn(e){Hn=e;const t=On.get(e);t&&Un(t)}var Xn=/* @__PURE__ */new Map;function Vn(e){return Xn.get(e)?.holdsChanges()??!1}function _n(e){const t=Xn.get(e);return t?t.ask():Promise.resolve(!0)}function Gn(e){Hn===e&&(Hn=null)}function Jn(e,t,n){if(n&&jn.set(e,n),t)if(On.set(t,e),$n.set(e,t),Bn.delete(t)){zn.unshift(e);const n=vn.indexOf(t);-1!==n&&vn.splice(n,1),vn.unshift(t),xn()}else!function(e,t){const n=vn.indexOf(t);if(-1===n)return void zn.push(e);let r=zn.length;for(let e=0;e<zn.length;e++){const t=$n.get(zn[e]);if(t&&vn.indexOf(t)>n){r=e;break}}zn.splice(r,0,e)}(e,t),-1===vn.indexOf(t)&&(vn.push(t),xn());else zn.push(e);Rn(),window.dispatchEvent(new CustomEvent("modal-reorder")),t&&Hn===t&&Un(e)}function Zn(e){return e?jn.get(e)?.owner??$n.get(e)??null:null}var Qn=/* @__PURE__ */new Set;function er(e){const t=Zn(Mr()),n=zn.indexOf(e);-1!==n&&zn.splice(n,1),zn.push(e);const r=jn.get(e);if(r?.root)for(const[e,t]of jn){if(t.root||t.owner!==r.owner||Dn.has(e))continue;const n=zn.indexOf(e);-1!==n&&zn.splice(n,1),zn.push(e)}Dn.delete(e);const o=$n.get(e);if(o){const e=vn.indexOf(o);-1!==e&&vn.splice(e,1),vn.push(o),xn(),Hn&&Hn!==o&&(Hn=null)}Rn(),window.dispatchEvent(new CustomEvent("modal-reorder"));const i=Zn(Mr());i&&i!==t&&Qn.forEach(e=>e(i))}function tr(e){const t=zn.indexOf(e);-1!==t&&zn.splice(t,1),Dn.add(e),In.set(e,++Pn);const n=$n.get(e);if(n){const e=vn.indexOf(n);-1!==e&&(vn.splice(e,1),xn())}Rn(),window.dispatchEvent(new CustomEvent("modal-reorder"))}var nr=/* @__PURE__ */new Set;var rr=8,or=32;function ir(){return e()}var ar=u.windowBar,sr=80,lr=384,cr=400;function ur(e,t=ir()){const n=Math.min(Math.max(e.x,t.x+sr-e.w),t.x+t.w-sr),r=Math.min(Math.max(e.y,t.y),t.y+t.h-ar);return n===e.x&&r===e.y?e:{...e,x:n,y:r}}function dr(e){const t=e.getBoundingClientRect();if(0===t.width||0===t.height)return!0;const n=ir();return t.left>=n.x-1&&t.top>=n.y-1&&t.right<=n.x+n.w+1&&t.bottom<=n.y+n.h+1}function hr(e){const t=ir(),n=Math.floor(t.w/2),r=Math.floor(t.h/2);switch(e){case"top":return{x:t.x,y:t.y,w:t.w,h:t.h};case"left":return{x:t.x,y:t.y,w:n,h:t.h};case"right":return{x:t.x+n,y:t.y,w:t.w-n,h:t.h};case"tl":return{x:t.x,y:t.y,w:n,h:r};case"tr":return{x:t.x+n,y:t.y,w:t.w-n,h:r};case"bl":return{x:t.x,y:t.y+r,w:n,h:t.h-r};case"br":return{x:t.x+n,y:t.y+r,w:t.w-n,h:t.h-r}}}var mr=null;function pr(e){const t=(mr||((mr=document.createElement("div")).style.cssText=["position: fixed","pointer-events: none",`z-index: ${I.snapPreview}`,"border-radius: 8px","background: rgba(59, 130, 246, 0.18)","border: 2px solid rgb(59, 130, 246)","transition: left 120ms ease, top 120ms ease, width 120ms ease, height 120ms ease, opacity 120ms ease","opacity: 0","display: none"].join(";"),document.body.appendChild(mr)),mr);t.style.display="block",t.style.left=`${e.x}px`,t.style.top=`${e.y}px`,t.style.width=`${e.w}px`,t.style.height=`${e.h}px`,t.style.opacity="1"}function fr(){mr&&(mr.style.opacity="0",mr.style.display="none")}var wr=[{zone:"left",labelKey:"snapLeft",region:"inset-y-0 left-0 w-1/2"},{zone:"right",labelKey:"snapRight",region:"inset-y-0 right-0 w-1/2"},{zone:"tl",labelKey:"snapTopLeft",region:"top-0 left-0 h-1/2 w-1/2"},{zone:"tr",labelKey:"snapTopRight",region:"top-0 right-0 h-1/2 w-1/2"},{zone:"bl",labelKey:"snapBottomLeft",region:"bottom-0 left-0 h-1/2 w-1/2"},{zone:"br",labelKey:"snapBottomRight",region:"bottom-0 right-0 h-1/2 w-1/2"}],yr=350,gr=200;function vr({maximized:e,onToggleMax:t,onSnap:n,buttonClassName:r,strings:o}){const[i,a]=B(!1),s=F(void 0),l=F(void 0);q(()=>()=>{clearTimeout(s.current),clearTimeout(l.current)},[]);const c=()=>{clearTimeout(l.current),s.current=setTimeout(()=>a(!0),yr)},u=()=>{clearTimeout(s.current),l.current=setTimeout(()=>a(!1),gr)};/* @__PURE__ */
|
|
47
|
-
return ee("span",{className:"relative inline-flex",onMouseEnter:c,onMouseLeave:u,children:[
|
|
48
|
-
/* @__PURE__ */te("button",{onClick:t,onFocus:c,onBlur:u,title:e?o.windowed:o.maximize,className:r,children:e?"❐":"⤢"}),i&&/* @__PURE__ */te("div",{role:"group","aria-label":o.snapLayouts,onMouseEnter:()=>clearTimeout(l.current),onMouseLeave:u,className:"absolute right-0 top-full z-30 mt-1 grid w-max grid-cols-2 gap-1 rounded-lg border border-line bg-surface p-2 shadow-lg",children:wr.map(({zone:e,labelKey:t,region:r})=>/* @__PURE__ */te("button",{type:"button","aria-label":o[t],title:o[t],onClick:()=>{a(!1),n(e)},onFocus:()=>clearTimeout(l.current),onBlur:u,className:"relative h-7 w-11 rounded border border-gray-300 bg-gray-50 hover:border-blue-400 focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-400",children:/* @__PURE__ */te("span",{"aria-hidden":"true",className:`absolute rounded-sm bg-blue-500/70 ${r}`,style:{margin:2}})},e))})]})}var br="rosh-gesture-style";var xr={se:"nwse-resize",nw:"nwse-resize",sw:"nesw-resize",ne:"nesw-resize",n:"ns-resize",s:"ns-resize",e:"ew-resize",w:"ew-resize"},kr=4;function Er(e,t,n,r){!function(){if("undefined"==typeof document||document.getElementById(br))return;const e=document.createElement("style");e.id=br,e.textContent="body.rosh-gesturing [data-modal-panel]{will-change:transform}",document.head.appendChild(e)}();try{e.setPointerCapture(t)}catch{}document.body.classList.add("rosh-gesturing");const o=document.createElement("div");o.setAttribute("data-drag-shield",""),o.style.cssText=`position:fixed;inset:0;z-index:2147483647;cursor:${n};background:transparent;touch-action:none`,document.body.appendChild(o);const i=It(r);let a=!1;return()=>{if(!a){a=!0,i();try{e.releasePointerCapture(t)}catch{}o.remove(),document.body.classList.remove("rosh-gesturing")}}}function Cr(e){const t=zn.indexOf(e);if(-1===t)return-1;const n=I.window+t*I.windowStep,r=jn.get(e);if(!r||r.root)return n;let o=-1;for(const[e,t]of jn){if(!t.root||t.owner!==r.owner)continue;const n=zn.indexOf(e);-1!==n&&(o=Math.max(o,I.window+n*I.windowStep))}return o>=n?o+2+Math.min(t,7):n}function Mr(){return zn[zn.length-1]||null}function Nr(e){return An.add(e),()=>{An.delete(e)}}"undefined"!=typeof window&&window.addEventListener("deactivate-all-modals",function(){for(let e=zn.length-1;e>=0;e--)nr.has(zn[e])||zn.splice(e,1);vn=vn.filter(e=>{const t=On.get(e);return null!=t&&nr.has(t)}),xn(),Rn(),window.dispatchEvent(new CustomEvent("modal-reorder"))});var Sr="modal-close-request";function Lr(e){H(Nr,Wn);const t=O(cn);if(zn.length<=1)return!0;if(e){const t=On.get(e);if(null!=t)return Mr()===t}return t?.active??null!=Mr()}var Tr=!1,zr=/* @__PURE__ */new Set;function Ar(e){return zr.add(e),()=>zr.delete(e)}function Dr(){return Tr}function Pr(e){Tr!==e&&(Tr=e,zr.forEach(e=>e()))}function Ir(){Pr(!Tr)}function Kr(){Pr(!1)}var Wr=null,Rr=/* @__PURE__ */new Set;function Or(e){return Rr.add(e),()=>Rr.delete(e)}function $r(){return Wr}function jr(e){Wr!==e&&(Wr=e,Rr.forEach(e=>e()))}var Fr=null,qr=/* @__PURE__ */new Set;function Br(e){return qr.add(e),()=>qr.delete(e)}function Hr(){return Fr}function Ur(e){Fr!==e&&(Fr=e,qr.forEach(e=>e()))}function Yr(){if(!Fr)return void Pr(!1);jr(Fr),Ur(null),Pr(!1)}function Xr(){Pr(!Tr),window.dispatchEvent(new CustomEvent("modal-split-view"))}function Vr(){const e=H(Ar,Dr),[t,n]=B(e),[r,o]=B(e);return q(()=>{if(e){n(!0);const e=requestAnimationFrame(()=>o(!0));return()=>cancelAnimationFrame(e)}o(!1);const t=setTimeout(()=>n(!1),280);return()=>clearTimeout(t)},[e]),t&&"undefined"!=typeof document?re(
|
|
49
|
-
/* @__PURE__ */te("div",{onMouseDown:e=>{e.stopPropagation(),Pr(!1)},style:{position:"fixed",inset:0,background:"rgba(0,0,0,0.55)",backdropFilter:"blur(2px)",WebkitBackdropFilter:"blur(2px)",zIndex:I.expose,cursor:"pointer",opacity:r?1:0,transition:"opacity 260ms cubic-bezier(0.2, 0.8, 0.2, 1)",pointerEvents:r?"auto":"none"}}),document.body):null}function _r({open:t,onClose:i,title:c,icon:u,copyText:d,size:h="lg",dirty:m=!1,onNext:p,onPrev:f,footer:w,bodyScroll:g,onMinimize:x,initialBox:C,actions:T,actionsLeft:z,editing:P=!1,edit:R,allowPinOnTop:$,initialPosition:X,widget:V,compact:Z,appStyle:Q,flushBody:oe,autoHeight:ie,autoMinHeight:ae,autoWidth:se,widgetMenu:le,dimensions:ce,windowKey:ue,openedFromKey:de,accentRgb:he,children:me}){const[pe,fe]=B(()=>r()),we=k()&&!pe,ge=E()&&!!V,[ve,be]=B(0),[xe,ke]=B(!1),Ee=F(null),Ce=F(0);q(()=>{Ce.current=ve},[ve]);const Me=U(e=>{we&&(Ee.current={startX:e.clientX,startY:e.clientY,pointerId:e.pointerId},ke(!0),St(de??null))},[we,de]),Ne=H(Lt,Nt);q(()=>{if(!xe)return;const e=e=>{if(!Ee.current)return;const t=e.clientX-Ee.current.startX;if(Math.abs(e.clientY-Ee.current.startY)>Math.abs(t)+12)return Ee.current=null,ke(!1),be(0),void St(null);be(Math.max(0,t))},t=()=>{if(!Ee.current)return;const e=.3*window.innerWidth,t=Ce.current>e;Ee.current=null,ke(!1),t?(be(window.innerWidth),setTimeout(()=>{i(),be(0),St(null)},180)):(be(0),St(null))};return window.addEventListener("pointermove",e),window.addEventListener("pointerup",t),window.addEventListener("pointercancel",t),()=>{window.removeEventListener("pointermove",e),window.removeEventListener("pointerup",t),window.removeEventListener("pointercancel",t)}},[xe]);const[Te,Ae]=B(c),De=W(),Pe=De.window;q(()=>{Ae(c)},[c]);const Ie=G(()=>tn(Te).trim()||void 0,[Te]),Ke=J(),[We,Re]=B(!1),Oe=F(!1),[$e,je]=B(!1),[Fe,qe]=B(null),Be=O(Gt),He=O(ye),{prefs:Ue,save:Ye}=M(),Xe=!!Ue.window_accent_stripe,Ve=Ue.favorite_documents||[],Ge=!!Be&&Ve.some(e=>e.entityType===Be.entityType&&e.entityId===Be.entityId),Ze=U(()=>{if(!Be)return;const e=Ge?Ve.filter(e=>!(e.entityType===Be.entityType&&e.entityId===Be.entityId)):[...Ve,{entityType:Be.entityType,entityId:Be.entityId,label:Be.label}];Ye({favorite_documents:e})},[Be,Ge,Ve,Ye]),[Qe,et]=B(null),[tt,nt]=B("top-right"===X?"right":"left"),rt=F(!1),ot=F(null);j(()=>{const e=ot.current;e&&(he?e.style.setProperty("--window-accent-rgb",he):e.style.removeProperty("--window-accent-rgb"))},[he]);const it=F(!1),at=F(null),st=F(null),lt=F(null),[ct,ut]=B(!1),dt=F(null),ht=F(null),mt=F(null),[pt,ft]=B(!1);j(()=>{const e=ht.current,t=mt.current;if(!e||!t)return;const n=()=>ft(function(e,t){return e.scrollWidth>t.clientWidth}(t,e));if(n(),"undefined"==typeof ResizeObserver)return;const r=new ResizeObserver(n);return r.observe(e),r.observe(t),()=>r.disconnect()},[null!=w&&!1!==w]);const wt=!!R&&!V&&!Z&&!Q&&(R.editing||"hidden"!==R.state),yt=!!(w||T||z)||ct||wt,gt=O(Le),vt=""!==O(_t),bt=F(null);bt.current=He?{owner:He.key,tab:He.tab,root:!vt}:null;const xt=ue||(He&&!vt?He.key:null),kt=!!gt&&!vt&>.enabled&>.hasState&&(P||gt.declaredEditable)&&!gt.handMounted&&yt&&!V&&!Z&&!Q&&!we,Ct=/* @__PURE__ */te(D,{name:"window",className:"h-4 w-4",strokeWidth:1.5}),Mt=u&&Y(u)?_(u,{className:`h-4 w-4 ${u.props?.className??""}`.trim()}):u??Ct,Tt=()=>/* @__PURE__ */te("button",{onPointerDown:e=>e.stopPropagation(),onClick:e=>{e.stopPropagation();const t=e.currentTarget.getBoundingClientRect();qe(e=>e?null:{x:t.left,y:t.bottom+4})},className:"shrink-0 p-0.5 rounded hover:bg-gray-200/50 transition-colors",title:"Window menu",children:Mt}),zt=40,{minimize:At,items:Dt,restoreIfMinimized:Pt,openWindows:It}=Je(),Kt=F(`modal-${Math.random().toString(36).slice(2,8)}`).current;q(()=>{if(V)return nr.add(Kt),()=>{nr.delete(Kt)}},[V,Kt]),q(()=>{const e=e=>{const t=e.detail;t?.id===Kt&&Ae(t.title)};return window.addEventListener("window-title-update",e),()=>window.removeEventListener("window-title-update",e)},[Kt]);const[Wt,Rt]=B(I.window),Ot=function(e){const t=H(Nr,Mr);return zn.length<=1||t===e}(Kt),$t=F(R);$t.current=R;const Ft=!!R&&!R.editing&&"enabled"===R.state;q(()=>{if(!t||!Ot||!Ft)return;const e=e=>{("KeyE"===e.code||"E"===e.key||"e"===e.key)&&e.altKey&&e.shiftKey&&!e.metaKey&&!e.ctrlKey&&(v(e.target,ot.current)||(e.preventDefault(),e.stopPropagation(),$t.current?.onEdit()))};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[t,Ot,Ft]);const Bt=function(e){return H(Nr,()=>Dn.has(e))}(Kt);Et({panelRef:ot,bodyRef:at,open:t,widget:!!V,active:Ot,minimized:Bt});const Ht=H(Ar,Dr),Yt=H(Or,$r),Xt=H(Br,Hr),Vt=!$&&!V,Jt=Ht&&Vt,[Zt,nn]=B(!1),rn=Jt&&Xt===Kt,[an,sn]=B(!1),ln=an&&Vt&&Yt===Kt?"picked":null,un=F(Jt);q(()=>{if(un.current&&!Jt){sn(!0);const e=setTimeout(()=>{sn(!1),Wr===Kt&&jr(null)},700);return un.current=Jt,()=>clearTimeout(e)}un.current=Jt},[Jt,Kt]),q(()=>{Jt||nn(!1)},[Jt]),q(()=>{const e=st.current,t=lt.current;if(!e&&!t)return;const n=e=>e?Array.from(e.children).filter(e=>"shell"!==e.dataset.undoControls).length:0,r=()=>ut(n(e)+n(t)>0);r();const o=new MutationObserver(r);return e&&o.observe(e,{childList:!0}),t&&o.observe(t,{childList:!0}),()=>o.disconnect()},[t]),q(()=>{const e=e=>{if(e.target.closest('button[type="submit"]')&&ot.current){const t=ot.current.querySelector("form");t&&(e.preventDefault(),t.requestSubmit())}},t=st.current,n=lt.current;return t&&t.addEventListener("click",e),n&&n.addEventListener("click",e),()=>{t&&t.removeEventListener("click",e),n&&n.removeEventListener("click",e)}},[t]);const dn=F(!1),hn=U(e,[]),mn=U(()=>{const t=e(),n=ce?ce[0]:Nn[h]||672,o=t.w-80,i=t.h-80,a=Math.min(n,o),s=Tn[Ln()],l=ce?Math.min(ce[1],i):(()=>{const e=("sm"===h?500:"md"===h?600:"lg"===h?700:"xl"===h?800:920)*s;return Math.max(320,Math.min(e,t.h-80))})(),c="cascade"!==(getComputedStyle(document.documentElement).getPropertyValue("--window-position")?.trim()||"cascade")||r()?0:30*(zn.length-1),u=Math.max(zt,(i-l)/2),d=(o-a)/2,m=t.h-zt-l-u;return"top-right"===X?{x:t.x+t.w-a-zt,y:t.y+zt,w:a,h:l}:"top-left"===X?{x:t.x+zt,y:t.y+zt,w:a,h:l}:{x:t.x+Math.max(zt,(o-a)/2+zt)+Math.min(c,Math.max(0,d)),y:t.y+u+Math.min(c,Math.max(0,m)),w:a,h:l}},[h]),pn=F(!1);t||(pn.current=!1);const wn=ue||d||null;q(()=>{if(!t)return;Jn(Kt,wn,bt.current??void 0),ue||er(Kt),dn.current=!1,Rt(Cr(Kt));const e=()=>{Rt(Cr(Kt))},n=()=>{},r=e=>{if(!e)return!1;if(e.windowKey)return e.windowKey===ue;if(!e.label)return!1;const t=ot.current?.querySelector("[data-window-title]");return!!t?.textContent?.includes(e.label)},o=e=>{if(!r(e.detail))return;if(er(Kt),Pn.current)return;const t=ir(),n=Math.min(Un.current.w,t.w-40),o=Math.min(Un.current.h,t.h-40),i=t.x+(t.w-n)/2,a=t.y+(t.h-o)/2;bn({x:i,y:a,w:n,h:o}),Hn(!1)},i=e=>{const t=e.detail;r(t)&&(er(Kt),qe({x:t.x,y:t.y}))},a=e=>{if(e.detail?.windowKey!==ue)return;er(Kt);const t=Un.current,n=function(e,t=ir()){const n=Math.min(e.w,t.w),r=Math.min(e.h,t.h);return{w:n,h:r,x:Math.min(Math.max(e.x,t.x),t.x+t.w-n),y:Math.min(Math.max(e.y,t.y),t.y+t.h-r)}}(t);if(n.x===t.x&&n.y===t.y&&n.w===t.w&&n.h===t.h)return;const r=ot.current,o="function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;if(r&&!o){let e=!1;const t=()=>{e||(e=!0,r.style.transition="",window.dispatchEvent(new CustomEvent("modal-geometry")))};r.style.transition="left .28s ease, top .28s ease, width .28s ease, height .28s ease",r.addEventListener("transitionend",t,{once:!0}),window.setTimeout(t,400)}bn(n)};return window.addEventListener("modal-reorder",e),window.addEventListener("modal-split-view",n),window.addEventListener("modal-center",o),window.addEventListener("modal-reveal",a),window.addEventListener("modal-context-menu",i),()=>{!function(e){const t=zn.indexOf(e);-1!==t&&(zn.splice(t,1),Rn()),Dn.delete(e),In.delete(e),jn.delete(e);const n=$n.get(e);n&&($n.delete(e),On.delete(n))}(Kt),window.removeEventListener("modal-reorder",e),window.removeEventListener("modal-split-view",n),window.removeEventListener("modal-center",o),window.removeEventListener("modal-reveal",a),window.removeEventListener("modal-context-menu",i),window.dispatchEvent(new CustomEvent("modal-reorder"))}},[t,Kt,wn,hn]);const gn=!V&&"maximized"===Ln(),[vn,bn]=B(()=>{if(wn&&fn[wn]){const e={...fn[wn]};return ce&&(e.w=ce[0],ie||(e.h=ce[1])),ur(e)}return C?{x:C.x,y:C.y,w:C.w,h:C.h}:gn?hn():mn()}),[xn,kn]=B(()=>!ie),En=F(pe),Cn=F(null);q(()=>{const e=()=>{const e=r();e!==En.current&&Cn.current?.(e),En.current=e,fe(e),Rt(Cr(Kt))};return window.addEventListener("react-os-shell:layout-mode-changed",e),()=>window.removeEventListener("react-os-shell:layout-mode-changed",e)},[Kt]);const Mn=pe&&!!He?.tab&&!vt&&!V&&!we,An=Mn,Pn=F(An);Pn.current=An;const Kn=qn(),Wn=pe&&!!He?.tab&&!V&&!we&&!Ht&&Kn!==He.key,Fn=!!V&&pe&&!Ht&&null!==Kn,[Bn,Hn]=B(()=>wn&&fn[wn]||C?An:An||gn),Un=F(vn);Un.current=vn;const Yn=F(Bn);j(()=>{Yn.current=Bn},[Bn]),j(()=>{if(xn||Mn)return;const e=ot.current,t=at.current;if(!e||!t)return;const n=ae??(V?0:240),r=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--taskbar-height"))||0;let o=0,i=null,a=null;const s=()=>{const c=t.firstElementChild;if(!c||e.offsetHeight<=0)return;c!==a&&(a&&l.unobserve(a),l.observe(c),a=c);const u=e.offsetHeight-t.offsetHeight,d=t.style.flex,h=t.style.overflowY,m=t.style.height;t.style.flex="0 0 auto",t.style.height="auto",t.style.overflowY="visible";const p=t.offsetHeight,f=c.offsetHeight;t.style.flex=d,t.style.height=m,t.style.overflowY=h;const w=c.offsetHeight>f+4,y=Math.max(n,window.innerHeight-r-Math.max(0,Un.current.y)-24),g=w?Math.min(Un.current.h,y):Math.min(Math.max(n,u+p),y),v=Math.abs(g-o)>1;v&&(o=g,bn(e=>Math.abs(e.h-g)>1?{...e,h:g}:e)),V||(g<=n?i&&(clearTimeout(i),i=null):(v||null===i)&&(i&&clearTimeout(i),i=setTimeout(()=>{const e=o;s(),o===e&&kn(!0)},160)))},l=new ResizeObserver(s);s(),dt.current&&l.observe(dt.current);const c=new MutationObserver(s);return c.observe(t,{childList:!0,subtree:!0,characterData:!0}),()=>{l.disconnect(),c.disconnect(),i&&clearTimeout(i)}},[xn,V,ae,yt,Mn]),j(()=>{if(!ie||!xn||V||!t)return;const e=dt.current;if(!e)return;let n=e.offsetHeight;const r=new ResizeObserver(()=>{if(!e.isConnected)return;const t=e.offsetHeight,r=t-n,o=t>0!=n>0;if(n=t,!o||0===r||Bn)return;if(document.body.classList.contains("rosh-gesturing"))return;const i=ae??240,a=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--taskbar-height"))||0,s=Math.max(i,window.innerHeight-a-Math.max(0,Un.current.y)-24);bn(e=>({...e,h:Math.min(Math.max(i,e.h+r),s)}))});return r.observe(e),()=>r.disconnect()},[ie,xn,V,t,Bn,ae]);const Vn=!1!==se&&!V&&!Q&&!we,[_n,Gn]=B(()=>!Vn);j(()=>{if(_n||!t)return;if(!Vn||Bn)return void Gn(!0);const n=ot.current,r=at.current;if(!n||!r)return;const o=/* @__PURE__ */new WeakSet;let i=Un.current.w,c=0;const u=()=>Gn(!0),d=()=>{c=0;const t=Un.current;if(Math.abs(t.w-i)>1||document.body.classList.contains("rosh-gesturing"))return void u();const d=e(),h=d.w-80;if(t.w>=h)return void u();const m=[],p=[];for(const e of[r,...Array.from(r.querySelectorAll("*"))]){const t=e.scrollWidth-e.clientWidth;if(t<=4||o.has(e))continue;const n=getComputedStyle(e).overflowX;"auto"!==n&&"scroll"!==n||(m.push(e),p.push(t))}if(!m.length)return;const f=Math.min(h,t.w+Math.max(...p)),w=f-t.w,y=n.style.width;n.style.width=`${f}px`;const g=m.map((e,t)=>({over:p[t],residual:e.scrollWidth-e.clientWidth}));n.style.width=y,g.forEach((e,t)=>{a(e,w)||o.add(m[t])});const v=s(t,l(t.w,w,g),d,zt);v!==t&&(i=v.w,bn(v))};d();const h=new MutationObserver(()=>{c||(c=requestAnimationFrame(d))});h.observe(r,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:["style","class","hidden"]});const m=setTimeout(u,Sn);return()=>{h.disconnect(),c&&cancelAnimationFrame(c),clearTimeout(m)}},[_n,t,Vn,Bn]);const Zn=F(null),Qn=!(!He?.tab||vt||V||we);Cn.current=t=>{if(!Qn)return;if(t)return Zn.current||(Zn.current={box:{...Un.current},maximized:Yn.current}),void(Yn.current=!0);const r=Zn.current;Zn.current=null;const o=e();if(r?.maximized)return Yn.current=!0,Hn(!0),void bn(o);const i=r?.box??(wn?fn[wn]:void 0);if(Yn.current=!1,Hn(!1),i&&!n(i,o,!1)){const e={...i};ce&&(e.w=ce[0],ie||(e.h=ce[1])),bn(ur(e))}else bn(mn())},q(()=>{An&&(Yn.current=!0,Hn(!0),bn(hn()))},[An,hn]),q(()=>{if(V)return;const e=()=>{const e=wn?fn[wn]:void 0;if(Yn.current=!1,Hn(!1),e){const t={...e};ce&&(t.w=ce[0],ie||(t.h=ce[1])),bn(ur(t))}else bn(mn())};return window.addEventListener("react-os-shell:restore-windowed",e),()=>window.removeEventListener("react-os-shell:restore-windowed",e)},[V,mn,wn]),q(()=>{t&&wn&&!Mn&&(fn[wn]=vn,yn()),t&&window.dispatchEvent(new CustomEvent("modal-geometry"))},[vn,t,wn,Mn]),q(()=>{if(!t)return;const e=()=>{Yn.current?bn(hn()):document.body.classList.contains("rosh-gesturing")||bn(ur)};window.addEventListener("resize",e),window.addEventListener(o,e);let n=null;return Bn&&(n=new MutationObserver(e),n.observe(document.body,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["class"]})),()=>{window.removeEventListener("resize",e),window.removeEventListener(o,e),n?.disconnect()}},[t,Bn,hn]),q(()=>{if(t&&(Re(!1),Oe.current=!1,rt.current=!1,Gn(!Vn),!Pn.current)){if(wn&&fn[wn]){const e=fn[wn];return void bn(t=>ur({...e,...ie?{h:t.h}:{},...Vn?{x:t.x,w:t.w}:{}}))}C&&(bn({x:C.x,y:C.y,w:C.w,h:C.h}),Hn(C.maximized))}},[t]),q(()=>{if(!t||"auto"!==m)return;let e;const n=t=>{ot.current?.contains(t.target)&&!Oe.current&&(Oe.current=!0,e=setTimeout(()=>Re(!0),0))};return document.addEventListener("input",n,!0),document.addEventListener("change",n,!0),()=>{clearTimeout(e),document.removeEventListener("input",n,!0),document.removeEventListener("change",n,!0)}},[t,m]);const ar="auto"===m?We:!0===m,sr=He&&!vt?He.key:null,dr=G(()=>jt(Te),[Te]),mr=F({shortcutSpec:Be,isOnDesktop:Ge,toggleDesktopShortcut:Ze,taskbarStrings:De.taskbar});j(()=>{mr.current={shortcutSpec:Be,isOnDesktop:Ge,toggleDesktopShortcut:Ze,taskbarStrings:De.taskbar}});const wr=F(null);wr.current||(wr.current={open:(e,t)=>qe({x:e,y:t}),items:()=>{const e=mr.current,t=[];e.shortcutSpec&&t.push({label:e.isOnDesktop?e.taskbarStrings.removeFromDesktop:e.taskbarStrings.addToDesktop,onSelect:e.toggleDesktopShortcut});for(const e of on[Kt]||[])t.push({label:e.label,icon:e.icon,onSelect:e.onClick});return t}}),q(()=>{if(t&&sr)return()=>{return e=sr,void(qt.delete(e)&&Ut());var e}},[t,sr]),_e(!(ue||!t)&&ar);const yr=U(()=>ar||"auto"===m&&Oe.current,[ar,m]),gr=U(async e=>{if(rt.current)return!1;if(!yr())return!0;rt.current=!0;const t=Ie,n="close"===e?"Are you sure you want to close?":"discard"===e?"Are you sure you want to stop editing?":"Are you sure you want to continue?",r=await y({title:"Discard changes?",message:t?`“${t}” has unsaved changes. ${n} All changes will be lost.`:`You have unsaved changes. ${n} All changes will be lost.`,confirmLabel:"Discard",cancelLabel:"Keep Editing",variant:"warning"});return rt.current=!1,r},[yr,Ie]),br=U(()=>rt.current?Promise.resolve():yr()?gr("close").then(e=>{e&&i()}):(i(),Promise.resolve()),[yr,gr,i]),Lr=U(async()=>{await gr("discard")&&(Oe.current=!1,Re(!1),$t.current?.onDiscard())},[gr]),Tr=U(async()=>{const e=await gr("switch");return e&&(Oe.current=!1,Re(!1)),e},[gr]),zr=F(()=>!1);j(()=>{zr.current=yr}),j(()=>{if(!t||!ue)return;const e={holdsChanges:()=>zr.current(),ask:Tr};return Xn.set(ue,e),()=>{Xn.get(ue)===e&&Xn.delete(ue)}},[t,ue,Tr]),j(()=>{if(!t||!xt)return;const e=e=>{e.detail?.windowKey===xt&&br()};return window.addEventListener(Sr,e),()=>window.removeEventListener(Sr,e)},[t,xt,br]);const Ir=F(null),Kr=U(e=>{if(0!==e.button)return;if(e.target.closest("button, input, a, kbd, select, textarea"))return;if(qe(null),er(Kt),Pn.current)return void e.preventDefault();e.preventDefault();const t=e.currentTarget,n=e.pointerId;let r=null;const o=e.clientX,i=e.clientY,a=ot.current,s=a?.getBoundingClientRect();let l,c,u,d;if(Ir.current){const t=Ir.current;Ir.current=null,d=t.w,u=t.h;const n=s?Math.min(Math.max(20,e.clientX-s.left),t.w-20):t.w/2;l=e.clientX-n,c=e.clientY-12,a&&(a.style.width=`${d}px`,a.style.height=`${u}px`,a.style.left=`${l}px`,a.style.top=`${c}px`)}else l=s?s.left:Un.current.x,c=s?s.top:Un.current.y,u=s?s.height:Un.current.h,d=s?s.width:Un.current.w;Hn(!1),bn(e=>({...e,x:l,y:c,w:d,h:u}));let h=null;const m=e=>{if(!r){if(Math.abs(e.clientX-o)<kr&&Math.abs(e.clientY-i)<kr)return;r=Er(t,n,"move","move"),a&&(a.style.transition="none")}const s=l+e.clientX-o,u=Math.max(0,c+e.clientY-i);if(a&&(a.style.transform=`translate(${s-l}px, ${u-c}px)`),Un.current={...Un.current,x:s,y:u},!V){const t=function(e,t){const n=ir(),r=e<=n.x+rr,o=e>=n.x+n.w-rr,i=t<=n.y+rr,a=t>=n.y+n.h-rr,s=e<=n.x+or,l=e>=n.x+n.w-or,c=t<=n.y+or,u=t>=n.y+n.h-or;return i&&s?"tl":i&&l?"tr":a&&s?"bl":a&&l?"br":c&&r?"tl":c&&o?"tr":u&&r?"bl":u&&o?"br":i?"top":r?"left":o?"right":null}(e.clientX,e.clientY);t!==h&&(h=t,t?pr(hr(t)):fr())}},p=()=>{window.removeEventListener("pointermove",m),window.removeEventListener("pointerup",p),r?.(),fr();const e=ur({...Un.current});if(Un.current=e,!V&&h){Ir.current={x:l,y:c,w:d,h:u};const e=hr(h);return a&&(a.style.left=`${e.x}px`,a.style.top=`${e.y}px`,a.style.width=`${e.w}px`,a.style.height=`${e.h}px`,a.style.transform="",a.style.transition=""),void bn(e)}if(V){const t=e.x+e.w/2,n=window.innerWidth/2;nt(t>n?"right":"left")}a&&(a.style.left=`${e.x}px`,a.style.top=`${e.y}px`,a.style.transform="",a.style.transition=""),bn(e)};window.addEventListener("pointermove",m),window.addEventListener("pointerup",p)},[]),Rr=U((e,t)=>{if(0!==e.button)return;e.preventDefault(),e.stopPropagation();const n=e.currentTarget,r=e.pointerId;let o=null;const i=e.clientX,a=e.clientY,s=ot.current,l=s?.getBoundingClientRect(),c=l?l.left:Un.current.x,u=l?l.top:Un.current.y,d=l?l.width:Un.current.w,h=l?l.height:Un.current.h,m="sw"===t||"nw"===t||"w"===t,p="ne"===t||"nw"===t||"n"===t,f="se"===t||"ne"===t||"e"===t,w="se"===t||"sw"===t||"s"===t;Hn(!1),bn({x:c,y:u,w:d,h:h}),Un.current={x:c,y:u,w:d,h:h};let y=0,g=null;const v=()=>{if(y=0,!g)return;const e=g;g=null,Un.current=e,s&&(s.style.left=`${e.x}px`,s.style.top=`${e.y}px`,s.style.width=`${e.w}px`,s.style.height=`${e.h}px`)},b=e=>{if(!o){if(Math.abs(e.clientX-i)<kr&&Math.abs(e.clientY-a)<kr)return;o=Er(n,r,xr[t],"resize")}g=((e,t)=>{let n=c,r=u,o=d,i=h;if(f&&(o=Math.max(lr,d+e)),w&&(i=Math.max(cr,h+t)),m){const t=Math.max(lr,d-e);n=c+d-t,o=t}if(p){const e=Math.max(cr,h-t);r=u+h-e,i=e}return{x:n,y:r,w:o,h:i}})(e.clientX-i,e.clientY-a),y||(y=requestAnimationFrame(v))},x=()=>{window.removeEventListener("pointermove",b),window.removeEventListener("pointerup",x),y&&cancelAnimationFrame(y),v(),o?.(),bn({...Un.current})};window.addEventListener("pointermove",b),window.addEventListener("pointerup",x)},[]),Fr=U(e=>{if(e.target.closest("button, input, a, kbd, select, textarea"))return;const t={ArrowLeft:[-1,0],ArrowRight:[1,0],ArrowUp:[0,-1],ArrowDown:[0,1]}[e.key];if(!t&&"Enter"!==e.key)return;if(e.preventDefault(),e.stopPropagation(),er(Kt),"Enter"===e.key)return void(Bn?(Hn(!1),bn(mn())):(Hn(!0),bn(hn())));const[n,r]=t;if(e.ctrlKey||e.metaKey){const e=()=>{Ir.current||(Ir.current={...Un.current})};if(r<0)return e(),Hn(!0),void bn(hn());if(r>0){if(Bn)return Hn(!1),void bn(mn());if(Ir.current){const e=ur(Ir.current);return Ir.current=null,Un.current=e,void bn(e)}return void tr(Kt)}e(),Hn(!1);const t=hr(n<0?"left":"right");return Un.current=t,void bn(t)}if(Bn)return;const o=Un.current,i=e.shiftKey?{...o,w:Math.max(lr,o.w+24*n),h:Math.max(cr,o.h+24*r)}:ur({...o,x:o.x+24*n,y:Math.max(0,o.y+24*r)});Un.current=i,bn(i)},[Kt,Bn,mn,hn]),qr=U(e=>{Ir.current||(Ir.current={...Un.current}),Hn(!1);const t=hr(e);Un.current=t,bn(t),er(Kt)},[Kt]),Ur=An||Jt?{}:{tabIndex:0,role:"group","aria-label":Ie?`${Ie} — ${Pe.windowSuffix}`:Pe.windowSuffix,"aria-keyshortcuts":"ArrowUp ArrowDown ArrowLeft ArrowRight Shift+ArrowUp Shift+ArrowDown Shift+ArrowLeft Shift+ArrowRight Control+ArrowUp Control+ArrowDown Control+ArrowLeft Control+ArrowRight Enter",onKeyDown:Fr},Yr=()=>{Hn(!0),bn(hn())},Xr=U(()=>{const e=ot.current;if(!e)return;const t=e.querySelector("form");if(t)t.requestSubmit();else{const t=e.querySelector(Qt);t&&!t.disabled&&t.click()}},[]);q(()=>{if(!t)return;if(V)return;const e=e=>{if(zn[zn.length-1]===Kt&&!v(e.target,ot.current)&&"Enter"===e.key){const t=e.target;if("TEXTAREA"===t.tagName||t.isContentEditable)return;if(e.metaKey||e.ctrlKey)e.preventDefault(),Xr();else{if("INPUT"===t.tagName&&t.closest("form"))return;if(!(t instanceof Element&&ot.current?.contains(t)))return;if(t.closest(en))return;e.preventDefault()}}};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[t,Xr,Kt,V]),q(()=>{if(!t)return;const e=e=>{zn[zn.length-1]===Kt&&(v(e.target,ot.current)||((e.metaKey||e.ctrlKey)&&"s"===e.key?(e.preventDefault(),document.dispatchEvent(new CustomEvent("modal-save",{detail:{modalId:Kt}})),Oe.current=!1,Re(!1)):e.altKey&&e.shiftKey&&("KeyD"===e.code||"D"===e.key||"d"===e.key)&&(e.preventDefault(),document.dispatchEvent(new CustomEvent("modal-duplicate",{detail:{modalId:Kt}})))))};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[t]),q(()=>{if(!t)return;if(V)return;const e=e=>{if("Escape"===e.key&&zn[zn.length-1]===Kt){if(K(e))return e.preventDefault(),void e.stopPropagation();if(Mn&&!P)return;e.preventDefault(),e.stopPropagation(),br()}};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[t,br,Kt,V,Mn,P]);const Vr=t&&(void 0!==p||void 0!==f),[_r]=B(()=>{if("undefined"==typeof document)return null;const e=document.createElement("span");return e.className="flex shrink-0 items-center gap-2",e.setAttribute("data-tab-actions",""),e}),Gr=Mn&&!He?.home&&dr.actions.length>0;q(()=>{t&&sr&&function(e,t){const n=qt.get(e);n&&n.title===t.title&&n.dirty===t.dirty&&n.copy===t.copy&&n.actions===t.actions&&n.menu===t.menu||(qt.set(e,t),Ut())}(sr,{title:dr.text||Ie,dirty:ar,copy:dr.copy,actions:Gr&&_r?_r:void 0,menu:wr.current??void 0})},[t,sr,Ie,ar,dr.text,dr.copy,Gr,_r]);const Jr=U(e=>{const t=document.getElementById("nav-boundary-toast");t&&t.remove();const n="bottom"===e?["That's the last one, chief.","You've hit rock bottom... of the list.","End of the line, buddy.","Nothing left. Go outside.","Congratulations, you scrolled to the void.","There's no more. I checked.","You've reached the edge of the known universe.","Plot twist: there is no next one.","Even scrolling has limits. Unlike your ambition.","Last one. Time to touch grass."]:["Already at the top. Overachiever.","There is no item above this. Trust me.","You're #1. Literally.","Can't go higher. You've peaked.","This is it. The summit. The top.","First item. No VIP lounge above this.","Going up? Nope. Elevator's broken.","You want negative indexes? Bold.","Top of the list. Top of the world.","The only way is down from here."],r=n[Math.floor(Math.random()*n.length)],o=document.createElement("div");o.id="nav-boundary-toast",o.className="fixed bottom-6 left-1/2 -translate-x-1/2 z-(--z-toast) bg-gray-900 text-on-accent flex min-h-10 items-center px-5 py-3 rounded-lg shadow-lg text-sm font-medium transition-opacity duration-300",o.textContent=r,document.body.appendChild(o),setTimeout(()=>{o.style.opacity="0",setTimeout(()=>o.remove(),300)},2e3)},[]);if(q(()=>{if(!t)return;const e=e=>{if(zn[zn.length-1]!==Kt)return;if(v(e.target,ot.current))return;const t=e.target.tagName;"INPUT"!==t&&"TEXTAREA"!==t&&"SELECT"!==t&&(e.target.isContentEditable||("j"===e.key&&Vr&&(e.preventDefault(),p?p():Jr("bottom")),"k"===e.key&&Vr&&(e.preventDefault(),f?f():Jr("top"))))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[t,p,f,Vr,Jr,Kt]),!t||pn.current)return null;const Zr=Jt?function(e){if("undefined"==typeof document)return null;const t=Array.from(document.querySelectorAll("[data-modal-panel]")).filter(e=>{const t=e;return!t.hasAttribute("data-utility")&&!t.hasAttribute("data-widget")&&"none"!==t.style.display});t.sort((e,t)=>(e.getAttribute("data-modal-id")||"").localeCompare(t.getAttribute("data-modal-id")||""));const n=t.findIndex(t=>t.getAttribute("data-modal-id")===e),r=t.length;if(n<0||r<1)return null;const o=Math.ceil(Math.sqrt(r)),i=Math.ceil(r/o),a=Math.floor(n/o),s=n%o,l=r-o*(i-1),c=a===i-1&&l<o,u=ir(),d=(u.w-20*(o+1))/o,h=(u.h-14*(i+1)-22*i)/i,m=c?(o-l)*(d+20)/2:0;return{x:u.x+20+s*(d+20)+m,y:u.y+14+a*(h+14+22),w:d,h:h}}(Kt):null,Qr=Jt&&Zr?Math.min(Zr.w/vn.w,Zr.h/vn.h):1,eo=(()=>{if(Jt&&Zr){const e=Qr,t=vn.w*e,n=vn.h*e,r=Zr.x+(Zr.w-t)/2-vn.x,o=Zr.y+(Zr.h-n)/2-vn.y,i=Zt||rn;return{transform:`translate(${r}px, ${o}px) scale(${e})`,transformOrigin:"top left",transition:"transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 280ms",cursor:"pointer",zIndex:I.expose+(i?20:10),boxShadow:i?"0 24px 72px rgba(0,0,0,0.6), 0 0 0 2px rgba(255,255,255,0.55), 0 0 36px 12px rgba(96,165,250,0.85), 0 0 96px 28px rgba(96,165,250,0.55)":"0 16px 48px rgba(0,0,0,0.55)",pointerEvents:"auto"}}if(an&&Vt){const e="picked"===ln;return{transition:e?"transform 640ms cubic-bezier(0.34, 1.42, 0.64, 1), box-shadow 600ms":"transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 600ms",...e?{zIndex:I.expose+30}:{}}}return null})(),to=b({modal:!1,titleId:!V&&(Mn?!He?.home:!we)?Ke:void 0,label:dr.text||Ie}),no=/* @__PURE__ */ee("div",{children:[
|
|
50
|
-
/* @__PURE__ */ee("div",{ref:ot,"data-modal-panel":!0,"data-modal-id":Kt,"data-window-key":ue||void 0,...$?{"data-utility":""}:{},...$e?{"data-pinned-top":""}:{},...V?{"data-widget":""}:{},...He?{"data-window-owner":He.key}:{},...He&&!vt?{"data-window-root":""}:{},...Mn?{"data-window-tab":""}:{},...to,className:Mn?"fixed flex flex-col overflow-hidden":"fixed rounded-(--radius-window) flex flex-col overflow-hidden "+(V?Ot?"shadow-xl":"shadow-lg":"border "+(Ot?"shadow-xl border-line":"shadow-lg border-line-strong")),onMouseDownCapture:e=>{if(it.current=!1,Jt){if(e.target.closest("[data-expose-close]"))return;return e.preventDefault(),e.stopPropagation(),jr(Kt),Pr(!1),void er(Kt)}if(!Ot&&!V&&!$e&&0===e.button){const t=e.target;t.closest("[data-modal-panel]")===ot.current&&t.closest("button, input, a, select, textarea")&&!t.closest("[data-window-chrome]")&&(e.preventDefault(),e.stopPropagation(),it.current=!0,qe(null),er(Kt),window.addEventListener("mouseup",()=>{setTimeout(()=>{it.current=!1},0)},{once:!0}))}},onClickCapture:e=>{it.current&&(it.current=!1,e.preventDefault(),e.stopPropagation())},onMouseDown:e=>{if(Jt)return;qe(null);e.target.closest("[data-modal-panel]")===ot.current&&(e.target.closest("button, input, a, select, textarea")||er(Kt))},style:we?{zIndex:Wt+1,top:0,left:0,right:0,bottom:"var(--mobile-bottom-nav, 56px)",width:"auto",height:"auto",transform:`translateX(${ve}px)`,transition:xe?"none":"transform 180ms ease-out",...V?{display:"none"}:{},...Wt<0?{display:"none"}:{},...Ot||$e||Ne&&ue===Ne?{}:{display:"none"}}:{zIndex:$e?I.pinnedWindow:Wt+1,width:vn.w,height:vn.h,top:vn.y,...V&&"right"===tt?{right:window.innerWidth-vn.x-vn.w}:{left:vn.x},...Wt<0&&!$e?{display:"none"}:{},...ge?{display:"none"}:{},...Wn||Fn?{visibility:"hidden",pointerEvents:"none"}:{},...eo??{}},children:[we&&!V&&/* @__PURE__ */te("div",{onPointerDown:Me,className:"absolute top-0 bottom-0 left-0 w-[22px] z-[5]",style:{touchAction:"pan-y"},"aria-hidden":"true"}),V?null:Mn?He?.home?null:/* @__PURE__ */ee(ne,{children:[
|
|
51
|
-
/* @__PURE__ */te("h2",{id:Ke,"data-window-title":!0,className:"sr-only",children:dr.text||Ie}),Gr&&_r&&re(
|
|
52
|
-
/* @__PURE__ */te(ne,{children:dr.actions}),_r),dr.badges.length>0&&/* @__PURE__ */te("div",{"data-window-chrome":"","data-record-bar":"",className:"flex h-9 shrink-0 select-none items-center gap-2 overflow-hidden border-b border-gray-200 px-4",style:{backgroundColor:"rgb(var(--window-content-rgb))"},children:dr.badges})]}):we?null:
|
|
53
|
-
/* @__PURE__ */ee("div",Z?{onPointerDown:Kr,"data-window-chrome":"",...Ur,className:"flex items-center justify-between h-(--row-height-compact-bar) px-3 border-b border-line shrink-0 cursor-move select-none rounded-t-(--radius-window) focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-400 "+(Ot?"backdrop-blur-sm":""),style:{touchAction:"none",backgroundColor:Ot?"rgb(var(--window-header-rgb) / var(--active-header-opacity, 0.8))":"rgb(var(--window-header-rgb) / var(--inactive-header-opacity, 0.7))"},children:[
|
|
54
|
-
/* @__PURE__ */ee("div",{"data-window-title":!0,title:Ie,className:"text-sm font-medium min-w-0 flex-1 truncate flex items-center gap-2",style:{color:Ot?"var(--window-title-active, rgb(17 24 39))":"var(--window-title-inactive, rgb(156 163 175))"},children:[!Jt&&Tt(),
|
|
55
|
-
/* @__PURE__ */te("span",{id:Ke,className:"truncate",children:Jt?tn(Te):Te})]}),!Jt&&/* @__PURE__ */ee("div",{className:"flex items-center gap-2 shrink-0 ml-2",children:[$&&/* @__PURE__ */te("button",{onClick:()=>je(e=>!e),title:$e?Pe.unpin:Pe.pinOnTop,className:"p-0.5 rounded hover:bg-gray-200 "+($e?"text-blue-600":"text-gray-400 hover:text-gray-600"),children:/* @__PURE__ */te(D,{name:"bookmark-square",className:"h-3 w-3",fill:$e?"currentColor":"none",strokeWidth:1.5})}),
|
|
56
|
-
/* @__PURE__ */te("button",{type:"button",onClick:br,"aria-label":Pe.close,className:"rounded p-0.5 text-ink-faintest hover:text-gray-600 hover:bg-gray-200",children:/* @__PURE__ */te(D,{name:"close",className:"h-4 w-4"})})]})]}:Q?{onPointerDown:Kr,"data-window-chrome":"",...Ur,className:"flex items-center justify-between h-(--row-height-compact-bar) px-3 border-b border-line shrink-0 cursor-move select-none rounded-t-(--radius-window) focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-400 "+(Ot?"backdrop-blur-sm":""),style:{touchAction:"none",backgroundColor:Ot?"rgb(var(--window-header-rgb) / var(--active-header-opacity, 0.8))":"rgb(var(--window-header-rgb) / var(--inactive-header-opacity, 0.7))"},children:[
|
|
57
|
-
/* @__PURE__ */ee("div",{"data-window-title":!0,title:Ie,className:"text-sm font-medium min-w-0 flex-1 truncate flex items-center gap-2",style:{color:Ot?"var(--window-title-active, rgb(17 24 39))":"var(--window-title-inactive, rgb(156 163 175))"},children:[!Jt&&Tt(),
|
|
58
|
-
/* @__PURE__ */te("span",{id:Ke,className:"truncate",children:Jt?tn(Te):Te})]}),!Jt&&/* @__PURE__ */ee("div",{className:"flex items-center gap-2 shrink-0 ml-2",children:[$&&/* @__PURE__ */te("button",{onClick:()=>je(e=>!e),title:$e?Pe.unpin:Pe.pinOnTop,className:"p-0.5 rounded hover:bg-gray-200 "+($e?"text-blue-600":"text-gray-400 hover:text-gray-600"),children:/* @__PURE__ */te(D,{name:"bookmark-square",className:"h-3 w-3",fill:$e?"currentColor":"none",strokeWidth:1.5})}),
|
|
59
|
-
/* @__PURE__ */te("button",{onClick:()=>tr(Kt),title:Pe.minimize,className:"text-gray-400 hover:text-gray-600 px-1 py-0.5 rounded hover:bg-gray-200 text-xs leading-none",children:"─"}),!An&&/* @__PURE__ */te(vr,{maximized:Bn,onToggleMax:()=>{Bn?(Hn(!1),bn(mn())):Yr()},onSnap:qr,buttonClassName:"text-gray-400 hover:text-gray-600 px-1 py-0.5 rounded hover:bg-gray-200 text-xs leading-none",strings:Pe}),
|
|
60
|
-
/* @__PURE__ */te("button",{type:"button",onClick:br,"aria-label":Pe.close,className:"rounded p-0.5 text-ink-faintest hover:text-gray-600 hover:bg-gray-200",children:/* @__PURE__ */te(D,{name:"close",className:"h-4 w-4"})})]})]}:{onPointerDown:Kr,"data-window-chrome":"",...Ur,className:"flex items-center justify-between h-(--row-height-window-bar) px-3 border-b border-gray-200 shrink-0 cursor-move select-none rounded-t-(--radius-window) focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-400 "+(Ot?"backdrop-blur-sm":""),style:{touchAction:"none",backgroundColor:Ot?"rgb(var(--window-header-rgb) / var(--active-header-opacity, 0.8))":"rgb(var(--window-header-rgb) / var(--inactive-header-opacity, 0.7))"},children:[
|
|
61
|
-
/* @__PURE__ */ee("div",{"data-window-title":!0,title:Ie,className:"text-sm font-medium min-w-0 flex-1 truncate flex items-center gap-2",style:{color:Ot?"var(--window-title-active, rgb(17 24 39))":"var(--window-title-inactive, rgb(156 163 175))"},children:[!Jt&&Tt(),
|
|
62
|
-
/* @__PURE__ */te("span",{id:Ke,className:"truncate",children:Jt?tn(Te):Te})]}),!Jt&&/* @__PURE__ */ee("div",{className:"flex items-center gap-3 shrink-0 ml-4",children:[$&&/* @__PURE__ */te("button",{onClick:()=>je(e=>!e),title:$e?Pe.unpin:Pe.pinOnTop,className:"text-xs px-2 py-1 rounded hover:bg-gray-200 "+($e?"text-blue-600":"text-gray-400 hover:text-gray-600"),children:/* @__PURE__ */te(D,{name:"bookmark-square",className:"h-3.5 w-3.5",fill:$e?"currentColor":"none",strokeWidth:1.5})}),
|
|
63
|
-
/* @__PURE__ */te("button",{onClick:()=>tr(Kt),title:Pe.minimize,className:"text-gray-400 hover:text-gray-600 text-xs px-2 py-1 rounded hover:bg-gray-200",children:"─"}),!An&&/* @__PURE__ */te(vr,{maximized:Bn,onToggleMax:()=>{Bn?(Hn(!1),bn(mn())):Yr()},onSnap:qr,buttonClassName:"text-gray-400 hover:text-gray-600 text-xs px-2 py-1 rounded hover:bg-gray-200",strings:Pe}),
|
|
64
|
-
/* @__PURE__ */te("button",{type:"button",onClick:br,"aria-label":Pe.close,className:"rounded-(--radius-control) text-ink-faintest hover:text-gray-600",children:/* @__PURE__ */te(D,{name:"close",className:"h-5 w-5"})})]})]}),he&&Xe&&!V&&!we&&/* @__PURE__ */te("div",{"aria-hidden":"true",className:"h-[3px] shrink-0 pointer-events-none",style:{backgroundColor:`rgb(var(--window-accent-rgb) / ${Ot?.9:.55})`}}),
|
|
65
|
-
/* @__PURE__ */te(_t.Provider,{value:Kt,children:/* @__PURE__ */te(cn.Provider,{value:{rightRef:st,leftRef:lt,notify:()=>ut(!0),active:Ot,isDirty:ar,footerOpen:yt&&!V&&!Z&&!Q&&!we},children:/* @__PURE__ */te("div",{ref:at,...V?{onPointerDown:Kr,onContextMenu:e=>{e.preventDefault(),et({x:e.clientX,y:e.clientY})}}:{},className:`flex-1 min-h-0 flex flex-col ${V?"p-0 cursor-move":Q||oe?"p-0":Z?"p-2":"p-4"} ${V||Mn?"":"backdrop-blur-sm"} ${!1===g||Q||oe?"overflow-hidden":"overflow-y-auto overscroll-contain"} ${V?"rounded-2xl select-none":""}`,style:{...V?{touchAction:"none"}:{},backgroundColor:V?"transparent":Mn?"rgb(var(--window-content-rgb))":Ot?"rgb(var(--window-content-rgb) / var(--active-content-opacity, 0.9))":"rgb(var(--window-content-rgb) / var(--inactive-content-opacity, 0.8))"},children:/* @__PURE__ */te(Se,{children:me})})})}),V&&Qe&&/* @__PURE__ */ee(N,{minWidth:160,style:{left:Qe.x,top:Qe.y},onClose:()=>et(null),children:[
|
|
66
|
-
/* @__PURE__ */te(S,{onClick:()=>{et(null),window.dispatchEvent(new CustomEvent("widget-open-settings",{detail:Kt}))},children:"Settings"}),
|
|
67
|
-
/* @__PURE__ */te(L,{}),le&&/* @__PURE__ */ee(ne,{children:[le,
|
|
68
|
-
/* @__PURE__ */te(L,{})]}),
|
|
69
|
-
/* @__PURE__ */ee(S,{onClick:()=>{et(null),je(e=>!e)},children:[
|
|
70
|
-
/* @__PURE__ */te("span",{className:"flex-1",children:"Always on Top"}),$e&&/* @__PURE__ */te(D,{name:"check",className:"h-4 w-4 text-blue-600 shrink-0",strokeWidth:2})]}),
|
|
71
|
-
/* @__PURE__ */te(L,{}),
|
|
72
|
-
/* @__PURE__ */te(S,{onClick:()=>{et(null),br()},children:"Close"})]}),
|
|
73
|
-
/* @__PURE__ */ee("div",{onPointerDown:Kr,ref:dt,"data-modal-footer":"",className:`px-4 py-2 border-t border-gray-200 shrink-0 flex items-center justify-between text-xs select-none${Mn?"":" cursor-move"}${Ot&&!Mn?" backdrop-blur-sm":""}${V||Z||Q||we||!yt?" hidden":""}`,style:{touchAction:"none",backgroundColor:Mn?"rgb(var(--window-footer-rgb))":Ot?"rgb(var(--window-footer-rgb) / var(--active-header-opacity, 0.8))":"rgb(var(--window-footer-rgb) / var(--inactive-header-opacity, 0.7))"},children:[
|
|
74
|
-
/* @__PURE__ */ee("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[kt&&/* @__PURE__ */te(ze,{auto:!0}),z,
|
|
75
|
-
/* @__PURE__ */te("div",{ref:lt,"data-modal-actions-left":!0,className:"flex items-center gap-2 shrink-0"}),null!=w&&!1!==w&&
|
|
76
|
-
/* @__PURE__ */te("div",{ref:ht,"data-modal-footer-facts":"",className:"min-w-0 flex-1 overflow-hidden",children:/* @__PURE__ */te("div",{ref:mt,className:"inline-flex items-center gap-2 whitespace-nowrap"+(pt?" invisible":""),children:w})})]}),
|
|
77
|
-
/* @__PURE__ */ee("div",{"data-modal-footer-right":"",className:"flex items-center gap-2 ml-auto shrink-0",children:[wt&&R&&(R.editing?/* @__PURE__ */te(A,{variant:"secondary",size:"sm","data-modal-discard":"",onClick:()=>{Lr()},children:Pe.discard}):"object"==typeof R.state?/* @__PURE__ */te(A,{variant:"secondary",size:"sm","data-modal-edit":"","aria-disabled":!0,disabledReason:R.state.disabledReason,children:Pe.edit}):/* @__PURE__ */te(A,{variant:"secondary",size:"sm","data-modal-edit":"",onClick:()=>R.onEdit(),children:Pe.edit})),
|
|
78
|
-
/* @__PURE__ */te("div",{ref:st,"data-modal-actions":!0,className:"flex items-center gap-2"}),T]})]}),!V&&!we&&!Jt&&Ot&&!An&&/* @__PURE__ */ee(ne,{children:[
|
|
79
|
-
/* @__PURE__ */te("div",{onPointerDown:e=>Rr(e,"se"),className:"absolute bottom-0 right-0 w-3 h-3 cursor-nwse-resize z-10"}),
|
|
80
|
-
/* @__PURE__ */te("div",{onPointerDown:e=>Rr(e,"sw"),className:"absolute bottom-0 left-0 w-3 h-3 cursor-nesw-resize z-10"}),
|
|
81
|
-
/* @__PURE__ */te("div",{onPointerDown:e=>Rr(e,"ne"),className:"absolute top-0 right-0 w-3 h-3 cursor-nesw-resize z-10"}),
|
|
82
|
-
/* @__PURE__ */te("div",{onPointerDown:e=>Rr(e,"nw"),className:"absolute top-0 left-0 w-3 h-3 cursor-nwse-resize z-10"}),
|
|
83
|
-
/* @__PURE__ */te("div",{onPointerDown:e=>Rr(e,"n"),className:"absolute top-0 left-3 right-3 h-1 cursor-ns-resize"}),
|
|
84
|
-
/* @__PURE__ */te("div",{onPointerDown:e=>Rr(e,"s"),className:"absolute bottom-0 left-3 right-3 h-1 cursor-ns-resize"}),
|
|
85
|
-
/* @__PURE__ */te("div",{onPointerDown:e=>Rr(e,"e"),className:"absolute top-3 bottom-3 right-0 w-1 cursor-ew-resize"}),
|
|
86
|
-
/* @__PURE__ */te("div",{onPointerDown:e=>Rr(e,"w"),className:"absolute top-3 bottom-3 left-0 w-1 cursor-ew-resize"})]}),Jt&&/* @__PURE__ */te("div",{className:"absolute inset-0",style:{zIndex:I.hint,cursor:"pointer",background:"transparent"},onMouseEnter:()=>nn(!0),onMouseLeave:()=>nn(!1),onMouseDown:e=>{e.stopPropagation(),e.preventDefault(),er(Kt),Pr(!1)},onClick:e=>{e.stopPropagation(),e.preventDefault()},children:Zt&&/* @__PURE__ */te("button",{type:"button","data-expose-close":!0,"aria-label":De.taskbar.closeWindow,title:"Close",className:"absolute flex items-center justify-center rounded-full bg-black/55 text-on-accent shadow-lg ring-1 ring-white/40 transition-colors hover:bg-red-500",style:{top:8,right:8,width:30,height:30,transform:`scale(${1/Qr})`,transformOrigin:"top right",zIndex:I.raised},onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},onClick:e=>{e.stopPropagation(),e.preventDefault(),br()},children:/* @__PURE__ */te(D,{name:"close",className:"h-4 w-4",strokeWidth:2.2})})})]}),Jt&&Zr&&/* @__PURE__ */te("div",{className:"fixed pointer-events-none select-none truncate text-center",style:{left:Zr.x,top:Zr.y+Zr.h+4,width:Zr.w,zIndex:I.expose+(Zt?21:11),color:"white",fontSize:"var(--text-xs)",fontWeight:500,textShadow:"0 1px 2px rgba(0,0,0,0.6)"},children:tn(Te)})]}),ro=Fe&&/* @__PURE__ */ee(N,{style:{left:Fe.x,top:Fe.y},onClose:()=>qe(null),minWidth:160,children:[!V&&!Z&&!Mn&&/* @__PURE__ */ee(ne,{children:[
|
|
87
|
-
/* @__PURE__ */ee(S,{onClick:()=>{tr(Kt),qe(null)},children:[
|
|
88
|
-
/* @__PURE__ */te(D,{name:"remove",className:"h-4 w-4",strokeWidth:1.5}),Pe.minimize]}),!An&&/* @__PURE__ */ee(S,Bn?{onClick:()=>{Hn(!1),bn(mn()),qe(null)},children:[
|
|
89
|
-
/* @__PURE__ */te("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:/* @__PURE__ */te("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 4.5v15m6-15v15M4.5 9h15M4.5 15h15"})}),Pe.windowed]}:{onClick:()=>{Yr(),qe(null)},children:[
|
|
90
|
-
/* @__PURE__ */te(D,{name:"expand",className:"h-4 w-4",strokeWidth:1.5}),Pe.maximize]})]}),$&&!Mn&&/* @__PURE__ */ee(S,{onClick:()=>{je(e=>!e),qe(null)},children:[
|
|
91
|
-
/* @__PURE__ */te(D,{name:"bookmark-square",className:"h-4 w-4 "+($e?"text-blue-600":""),fill:$e?"currentColor":"none",strokeWidth:1.5}),$e?Pe.unpin:Pe.pinOnTop]}),Be&&/* @__PURE__ */ee(S,{onClick:()=>{qe(null),Ze()},children:[
|
|
92
|
-
/* @__PURE__ */te(D,{name:"star",className:"h-4 w-4",fill:Ge?"currentColor":"none",strokeWidth:1.5}),Ge?De.taskbar.removeFromDesktop:De.taskbar.addToDesktop]}),(on[Kt]||[]).length>0&&/* @__PURE__ */te(ne,{children:(on[Kt]||[]).map((e,t)=>/* @__PURE__ */ee(S,{onClick:()=>{qe(null),e.onClick()},children:[e.icon,e.label]},t))}),!(Mn&&He?.home)&&/* @__PURE__ */ee(ne,{children:[
|
|
93
|
-
/* @__PURE__ */te(L,{}),
|
|
94
|
-
/* @__PURE__ */ee(S,{danger:!0,onClick:()=>{qe(null),br()},children:[
|
|
95
|
-
/* @__PURE__ */te(D,{name:"close",className:"h-4 w-4"}),Pe.close]})]})]}),oo=!!ue&&It.some(e=>e.id===ue),io=!Bt||oo||V?null:/* @__PURE__ */ee("div",{"data-modal-restore-tab":!0,"data-modal-id":Kt,className:"fixed left-1/2 z-(--z-restore-tab) flex -translate-x-1/2 items-center gap-1 rounded-lg border border-line-strong bg-surface px-2 py-1 shadow-lg",style:{bottom:"calc(var(--taskbar-height, 0px) + 12px)"},children:[
|
|
96
|
-
/* @__PURE__ */te("button",{type:"button",onClick:()=>er(Kt),title:Pe.restore,className:"max-w-[16rem] truncate rounded px-2 py-0.5 text-sm font-medium text-gray-700 hover:bg-gray-100 hover:text-gray-900",children:Ie||Pe.windowSuffix}),
|
|
97
|
-
/* @__PURE__ */te("button",{type:"button",onClick:()=>er(Kt),title:Pe.restore,"aria-label":Pe.restore,className:"rounded px-2 py-0.5 text-xs leading-none text-ink-faintest hover:bg-gray-100 hover:text-gray-600",children:"▴"}),
|
|
98
|
-
/* @__PURE__ */te("button",{type:"button",onClick:()=>{br()},title:Pe.close,"aria-label":Pe.close,className:"rounded px-2 py-0.5 text-xs leading-none text-ink-faintest hover:bg-gray-100 hover:text-gray-600",children:"✕"})]});return re(
|
|
99
|
-
/* @__PURE__ */ee(Gt.Provider,{value:null,children:[no,ro,io]}),document.body)}"undefined"!=typeof window&&window.addEventListener("keydown",e=>{Tr&&"Escape"===e.key&&(Ur(null),Pr(!1))});var Gr=100,Jr={past:[],future:[]};function Zr(e,t){switch(t.type){case"record":{const n=e.past[e.past.length-1];if(null!==t.step.coalesceKey&&n?.coalesceKey===t.step.coalesceKey)return 0===e.future.length?e:{...e,future:[]};const r=[...e.past,t.step];return{past:r.length>Gr?r.slice(r.length-Gr):r,future:[]}}case"undo":return 0===e.past.length?e:{past:e.past.slice(0,-1),future:[t.redoStep,...e.future]};case"redo":return 0===e.future.length?e:{past:[...e.past,t.undoStep],future:e.future.slice(1)};case"clear":return 0===e.past.length&&0===e.future.length?e:Jr}}var Qr=/* @__PURE__ */new Set(["INPUT","TEXTAREA","SELECT"]);var eo=500,to=250;function no({children:e,canEdit:t=!0,perms:n,windowId:r}){const[o,a]=Z(Zr,Jr),s=F(/* @__PURE__ */new Map),[l,c]=B(0),u=l>0,[d,h]=B(0),[m,p]=B(0),f=m>0,{hasAnyPerm:w}=i(),y=t&&0===d&&(!(n&&n.length>0)||w(n)),g=F(null),v=F(!1),b=U(()=>{const e={};for(const[t,n]of s.current)e[t]=n.getLast();return e},[]),x=U((e,t)=>{s.current.has(e)||c(e=>e+1),s.current.set(e,t)},[]),k=U(e=>{s.current.delete(e)&&c(e=>e-1)},[]),E=U(e=>{h(t=>t+(e?1:-1))},[]),C=U(e=>{p(t=>t+(e?1:-1))},[]),[M,N]=B(0),S=M>0,L=U(e=>{N(t=>t+(e?1:-1))},[]),T=O(Le),z=T?.claimReadOnly;q(()=>{if(z&&!y)return z(!0),()=>z(!1)},[z,y]);const A=T?.claimOwnMount;q(()=>{if(A&&S)return A(!0),()=>A(!1)},[A,S]);const D=F({last:0,count:0,tripped:!1}),P=F(!1),I=U((e,t,n)=>{if(v.current)return void(n&&function(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||"object"!=typeof t||null===e||null===t)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;try{return JSON.stringify(e)===JSON.stringify(t)}catch{return!1}}(n.prev,n.next)||(P.current=!0));if(!y||g.current)return;const r=D.current;if(r.tripped)return;const o=Date.now();if(o-r.last>to&&(r.count=0),r.last=o,++r.count>eo)return r.tripped=!0,void console.error(`[efficient-shell] UndoProvider: "${e}" recorded ${eo} undo steps with no pause between them, which no user action can do. The value passed to useUndoable for this slice is almost certainly rebuilt on every render (a .map/.filter/object literal in the call) rather than held in state, so it reads as changed every time — and since recording a step re-renders the form, that is a loop. Undo recording is now off for this form to keep the tab responsive.`);g.current={values:b(),label:e,coalesceKey:t},queueMicrotask(()=>{const e=g.current;g.current=null,e&&a({type:"record",step:e})})},[y,b]),K=U(e=>{for(const[t,n]of Object.entries(e)){const e=s.current.get(t);e&&(e.setLast(n),e.apply(n))}},[]),W=U(()=>{const e=o.past[o.past.length-1];if(!e)return;const t={values:b(),label:e.label,coalesceKey:null};K(e.values),a({type:"undo",redoStep:t})},[o.past,b,K]),R=U(()=>{const e=o.future[0];if(!e)return;const t={values:b(),label:e.label,coalesceKey:null};K(e.values),a({type:"redo",undoStep:t})},[o.future,b,K]),[$,j]=B(0),H=F(0),Y=F(0),X=F(!1),V=U(()=>{v.current=!0,P.current=!1,g.current=null,H.current+=1,Y.current=H.current,j(H.current)},[]),_=F(void 0),J=U(e=>{void 0!==e&&(void 0!==_.current&&e!==_.current&&(X.current=!0),_.current=e),V()},[V]);q(()=>{v.current&&$===Y.current&&(v.current=!1,g.current=null,(P.current||X.current)&&a({type:"clear"}),P.current=!1,X.current=!1)},[$]);const Q=U(()=>{X.current=!0,a({type:"clear"}),V()},[V]),ne=y&&o.past.length>0,re=y&&o.future.length>0,oe=Lr(r),ie=F({undo:W,redo:R,canUndo:ne,canRedo:re});ie.current={undo:W,redo:R,canUndo:ne,canRedo:re},q(()=>{if(!oe||!y)return;const e=e=>{const t=function(e){if(!e.metaKey&&!e.ctrlKey||e.altKey)return null;const t=e.key.toLowerCase(),n="z"===t?e.shiftKey?"redo":"undo":"y"!==t||!e.ctrlKey||e.metaKey||e.shiftKey?null:"redo";if(!n)return null;const r=e.target;return r?.isContentEditable||r?.tagName&&Qr.has(r.tagName.toUpperCase())?null:n}(e);if(!t)return;const n=ie.current;("undo"===t?n.canUndo:n.canRedo)&&(e.preventDefault(),"undo"===t?n.undo():n.redo())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[oe,y]);const ae=G(()=>({register:x,unregister:k,record:I,undo:W,redo:R,clear:Q,baseline:J,canUndo:ne,canRedo:re,enabled:y,hasState:u,handMounted:S,claimOwnMount:L,claimReadOnly:E,declaredEditable:f,claimEditable:C,undoLabel:ne?o.past[o.past.length-1].label:null,redoLabel:re?o.future[0].label:null}),[x,k,I,W,R,Q,J,ne,re,y,u,S,L,E,f,C,o.past,o.future]),se=""!==un(),le=O(cn)?.footerOpen??!1,ce=se&&y&&u&&!S&≤/* @__PURE__ */
|
|
100
|
-
return ee(Le.Provider,{value:ae,children:[ce&&/* @__PURE__ */te(hn,{position:"left",quiet:!0,children:/* @__PURE__ */te(ze,{auto:!0})}),e]})}function ro(){const e=O(Le),t=U(()=>{},[]);return{undo:e?.undo??t,redo:e?.redo??t,clear:e?.clear??t,baseline:e?.baseline??t,canUndo:e?.canUndo??!1,canRedo:e?.canRedo??!1,undoLabel:e?.undoLabel??null,redoLabel:e?.redoLabel??null,enabled:e?.enabled??!1,hasState:e?.hasState??!1}}function oo(e){const t=O(Le),n=t?.claimReadOnly,r=t?.claimEditable;q(()=>{const t=e?r:n;if(t)return t(!0),()=>t(!1)},[n,r,e])}function io(e,t,n){const r=O(Le),o=J(),i=F(e),a=F(t);a.current=t,q(()=>{if(r)return r.register(o,{getLast:()=>i.current,setLast:e=>{i.current=e},apply:e=>a.current(e)}),()=>r.unregister(o)},[r,o]);const{label:s,coalesceKey:l=null}=n,c=F(r);c.current=r;const u=F({label:s,coalesceKey:l});u.current={label:s,coalesceKey:l},q(()=>{const t=c.current;t&&(Object.is(e,i.current)||(t.record(u.current.label,u.current.coalesceKey,{prev:i.current,next:e}),i.current=e))},[e])}function ao(e,t){const[n,r]=B(e);return io(n,e=>r(()=>e),t),[n,r]}export{mn as CancelButton,et as DocFavStar,qe as EntityWindowFallback,je as EntityWindowLoading,Be as EntityWindowState,en as KEY_ACTIVATED_SELECTOR,Oe as LoadingSpinner,Qt as MODAL_SUBMIT_SELECTOR,_r as Modal,hn as ModalActions,ze as UndoControls,no as UndoProvider,de as WINDOW_REGISTRY,Ne as WindowCrashedFallback,Se as WindowErrorBoundary,xt as WindowManagerProvider,sn as WindowTitle,at as activateWindowById,It as beginWindowGesture,Gn as cancelWindowFront,we as client_default,Yr as commitExposeHighlight,_n as confirmWindowDiscard,Kt as drainPerfEvents,Kr as exitExposeMode,Mn as forgetMaximizedWindowBoxes,Mr as getActiveModalId,ct as getActiveWindowRoute,Hr as getExposeHighlight,Vt as getWindowChromeVersion,En as getWindowPosition,Ue as isDraftEntityId,Ye as isDraftEntityWindow,le as isEntityEntry,se as isPageEntry,pe as isShellApiClientConfigured,Ke as isTabWindow,Pt as markMenuOpen,Yt as readWindowChrome,Yn as requestWindowFront,Ur as setExposeHighlight,Dt as setPerfCollecting,me as setShellApiClient,xe as setShellHomeRoute,Me as setShellTabStrip,ue as setShellWindowRegistry,kn as setWindowDefaultPosition,Cn as setWindowPosition,jt as splitTitle,Br as subscribeExposeHighlight,Xt as subscribeWindowChrome,We as tabGroupOf,Ir as toggleExposeMode,qn as useCurrentTabKey,un as useEnclosingModalId,Lr as useIsActiveWindow,dn as useModalActive,ge as usePageSearch,ro as useUndo,oo as useUndoCanEdit,io as useUndoable,ao as useUndoableState,rn as useWidgetSettings,_e as useWindowDirty,Je as useWindowManager,an as useWindowMenuItem,ln as useWindowTitle,Vn as windowHoldsChanges};
|
package/dist/chunk-OFCHJWM2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var r="10.23.0",a=r;export{a as APP_VERSION,r as VERSION};
|
|
File without changes
|