efficient-shell 8.11.0 → 8.13.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/dist/{Browser-KZE4TTPH.js → Browser-OOJUPENB.js} +14 -14
- package/dist/Calculator-PPH3FLQG.js +29 -0
- package/dist/CurrencyConverter-GTICX6V3.js +21 -0
- package/dist/{Documents-CK7XL5CL.js → Documents-RXNGM2OY.js} +12 -12
- package/dist/Files-G2FQ5Z3R.js +87 -0
- package/dist/Notepad-7777T6ES.js +25 -0
- package/dist/PdfViewer-Q7IS273H.js +1 -0
- package/dist/{PomodoroTimer-KUB3JUJO.js → PomodoroTimer-VPRRRXVE.js} +19 -19
- package/dist/{Preview-YPS5O4C7.js → Preview-QBWSY7W7.js} +39 -39
- package/dist/Sidebar-NONBFVWE.js +43 -0
- package/dist/Spreadsheet-JIOTLCIK.js +37 -0
- package/dist/{Stock-DCQEYEND.js → Stock-OIDTOA6E.js} +4 -4
- package/dist/{Weather-UYCFOHGQ.js → Weather-XT3S2O4X.js} +18 -18
- package/dist/{WorldClock-WKMFOBKT.js → WorldClock-QFPWQDD2.js} +6 -6
- package/dist/ai/index.js +13 -13
- 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/brand.css +1 -1
- package/dist/{chunk-WNJLY7CM.js → chunk-2KOXALIK.js} +11 -11
- package/dist/{chunk-VH3IMIS2.js → chunk-2LTB2DSA.js} +6 -6
- package/dist/chunk-2MBDZMZM.js +2 -0
- package/dist/{chunk-7PCV65OU.js → chunk-37S3WLBL.js} +6 -6
- package/dist/chunk-3UHHKER7.js +2 -0
- package/dist/chunk-4GEAEYKA.js +99 -0
- package/dist/chunk-4LQDWN6L.js +4 -0
- package/dist/chunk-4MHTK3LH.js +4 -0
- package/dist/{chunk-IQDIWKES.js → chunk-55IY2ZJY.js} +1 -1
- package/dist/{chunk-4A2X6KLQ.js → chunk-5GHLKEJQ.js} +1 -1
- package/dist/{chunk-HFEYQVKD.js → chunk-6AB42T2W.js} +1 -1
- package/dist/chunk-6NLKMHX6.js +2 -0
- package/dist/{chunk-2QI3QFX6.js → chunk-76YDO3KA.js} +1 -1
- package/dist/chunk-7F65BNHY.js +2 -0
- package/dist/{chunk-SFNLRK5J.js → chunk-7HPOALEV.js} +5 -5
- package/dist/{chunk-RAHIWTPJ.js → chunk-7IF3RZF3.js} +12 -12
- package/dist/{chunk-KXTR2RPB.js → chunk-7IHH5CDD.js} +3 -3
- package/dist/{chunk-PPROO6JU.js → chunk-7JKFXRAR.js} +5 -5
- package/dist/{chunk-SBHLTCGU.js → chunk-7QLI3HAO.js} +1 -1
- package/dist/chunk-AW7TOB6N.js +1 -0
- package/dist/{chunk-KFMRV3MK.js → chunk-BKWLFZHI.js} +1 -1
- package/dist/chunk-BXDYFSP4.js +2 -0
- package/dist/{chunk-UHW2CFLV.js → chunk-C4YTKSXY.js} +1 -1
- package/dist/{chunk-EPHQ7UQV.js → chunk-CQXV3SJA.js} +1 -1
- package/dist/chunk-D5EXIRJF.js +2 -0
- package/dist/{chunk-US5YOYS3.js → chunk-DKY6X24V.js} +1 -1
- package/dist/{chunk-3OKD2ZZV.js → chunk-DXQCNU5I.js} +9 -9
- package/dist/chunk-EEG3KMP7.js +2 -0
- package/dist/{chunk-TAGZV46K.js → chunk-EK3JM3J2.js} +1 -1
- package/dist/{chunk-AP67GBSX.js → chunk-EXU3ZXKB.js} +8 -8
- package/dist/chunk-F6RM7RLQ.js +1 -0
- package/dist/{chunk-332V47ID.js → chunk-FDIJEOGV.js} +2 -2
- package/dist/{chunk-MTD66C5F.js → chunk-FEAOJLGA.js} +2 -2
- package/dist/{chunk-JK3QY266.js → chunk-G34KXE2L.js} +5 -5
- package/dist/{chunk-US5B4QYS.js → chunk-GLVEL6AQ.js} +15 -15
- package/dist/{chunk-7RDFRWF3.js → chunk-H3XEO4LR.js} +6 -6
- package/dist/{chunk-VUYWYMZZ.js → chunk-H62JMI7C.js} +2 -2
- package/dist/{chunk-7FNZUIXO.js → chunk-HHXP34PV.js} +4 -4
- package/dist/chunk-HJUK5AAM.js +2 -0
- package/dist/chunk-HMMNAJJQ.js +4 -0
- package/dist/{chunk-KIQ2OSPG.js → chunk-HTOZWATN.js} +1 -1
- package/dist/{chunk-IC2YI7WC.js → chunk-HXXUMKTV.js} +1 -1
- package/dist/chunk-I7GWKMYO.js +2 -0
- package/dist/{chunk-P25GL5BQ.js → chunk-J6QU5JTZ.js} +1 -1
- package/dist/{chunk-6L7V25YL.js → chunk-J77ZVPF5.js} +5 -5
- package/dist/{chunk-CJUN2VOD.js → chunk-JF45HC5H.js} +1 -1
- package/dist/chunk-JTPBPEYK.js +2 -0
- package/dist/chunk-JXOBORLD.js +3 -0
- package/dist/{chunk-7MX6CMMN.js → chunk-JZ7NBWGB.js} +1 -1
- package/dist/chunk-KIYTUOVN.js +2 -0
- package/dist/chunk-KO5PBMCF.js +2 -0
- package/dist/chunk-KRWKHI7S.js +2 -0
- package/dist/chunk-KV5VLPII.js +1 -0
- package/dist/chunk-L3VD25XR.js +8 -0
- package/dist/{chunk-3RWLCKSR.js → chunk-L6CG37L3.js} +1 -1
- package/dist/{chunk-3XLVARRX.js → chunk-LKSHI57C.js} +6 -6
- package/dist/{chunk-BXRWPGAT.js → chunk-LR2X6MKB.js} +1 -1
- package/dist/{chunk-S2Q6BOAX.js → chunk-MSCILVJB.js} +6 -6
- package/dist/{chunk-EY74CLGD.js → chunk-NRWIULLI.js} +12 -12
- package/dist/{chunk-O4NTKMC5.js → chunk-O3WSAR62.js} +2 -2
- package/dist/chunk-OJ3RN3BG.js +20 -0
- package/dist/{chunk-XFJRD3HE.js → chunk-OS6GGLQQ.js} +2 -2
- package/dist/{chunk-3GMHX3WX.js → chunk-OSRLZZDO.js} +4 -4
- package/dist/chunk-P5SVBGLG.js +2 -0
- package/dist/{chunk-OIVLPNOR.js → chunk-PDPBIDHF.js} +1 -1
- package/dist/{chunk-GVTWQBRU.js → chunk-PG665FWX.js} +9 -9
- package/dist/chunk-PM2N2ZGV.js +2 -0
- package/dist/chunk-PWONLQFF.js +2 -0
- package/dist/chunk-Q7OGTJET.js +3 -0
- package/dist/chunk-QM5DFN7Z.js +2 -0
- package/dist/chunk-R362N2RJ.js +1 -0
- package/dist/chunk-RA5GR626.js +2 -0
- package/dist/chunk-RNBMWJYM.js +4 -0
- package/dist/{chunk-CP6FITHO.js → chunk-RP4ZLTXA.js} +16 -16
- package/dist/{chunk-XW7KN6HW.js → chunk-SNDYD76W.js} +12 -12
- package/dist/chunk-SXPBOX32.js +1 -0
- package/dist/{chunk-C7PQJOGD.js → chunk-TUT6SGH2.js} +1 -1
- package/dist/{chunk-MXDW5IFQ.js → chunk-U6FORQTI.js} +1 -1
- package/dist/chunk-UAXP4A2A.js +4 -0
- package/dist/{chunk-JWMQEWCV.js → chunk-UONWIAII.js} +15 -15
- package/dist/{chunk-M3DZDBS6.js → chunk-UOOHE3FX.js} +6 -6
- package/dist/chunk-USYTN7PE.js +2 -0
- package/dist/{chunk-TTE3GZWH.js → chunk-UWNL4FO2.js} +1 -1
- package/dist/{chunk-4OYSTWMQ.js → chunk-VANXHWGP.js} +1 -1
- package/dist/chunk-VGX7ODMS.js +4 -0
- package/dist/{chunk-C2HHGLLR.js → chunk-VJPJNCB4.js} +24 -4
- package/dist/{chunk-5J6IC25E.js → chunk-VX4OBI4U.js} +1 -1
- package/dist/{chunk-7A7HRAC6.js → chunk-WAMBQNDN.js} +11 -11
- package/dist/{chunk-QKIVMRK5.js → chunk-WCAQWHFD.js} +5 -5
- package/dist/{chunk-XYA7NPSZ.js → chunk-XF2NZVXW.js} +5 -5
- package/dist/{chunk-BKV6PH3R.js → chunk-XTPDXB4X.js} +1 -1
- package/dist/{chunk-BHGMJBJ2.js → chunk-XZLBPVRH.js} +1 -1
- package/dist/{chunk-VJ56YZY6.js → chunk-Y5W6POQE.js} +5 -5
- package/dist/{chunk-B6FBDJUL.js → chunk-YL44UDNT.js} +6 -6
- package/dist/chunk-Z5UVBCEE.js +9 -0
- package/dist/{chunk-BJKXFEZN.js → chunk-ZEDYXP2J.js} +1 -1
- package/dist/{chunk-N7LV32EQ.js → chunk-ZKRWJILC.js} +1 -1
- package/dist/{chunk-2K76HRXS.js → chunk-ZSTBFMQE.js} +1 -1
- package/dist/chunk-ZZIJFMZG.js +4 -0
- package/dist/data/ListLoadError.js +1 -1
- package/dist/forms/BorderInput.js +1 -1
- package/dist/forms/BrandAssetEditor.js +1 -1
- package/dist/forms/Calendar.js +1 -1
- package/dist/forms/ColorPicker.js +1 -1
- package/dist/forms/ComposerAttachments.js +1 -1
- package/dist/forms/CornersInput.js +1 -1
- package/dist/forms/DatePicker.js +1 -1
- package/dist/forms/DateRangePicker.js +1 -1
- package/dist/forms/DisplayChips.js +1 -1
- package/dist/forms/FilePicker.js +1 -1
- package/dist/forms/IconPicker.js +1 -1
- package/dist/forms/InputNumber.js +1 -1
- package/dist/forms/LinkPicker.js +1 -1
- package/dist/forms/MediaUploadField.js +1 -1
- package/dist/forms/MediaUploadGrid.js +1 -1
- package/dist/forms/PositionInput.d.ts +25 -0
- package/dist/forms/PositionInput.js +2 -0
- package/dist/forms/Select.d.ts +1 -1
- package/dist/forms/Select.js +1 -1
- package/dist/forms/SidesInput.d.ts +10 -2
- package/dist/forms/SidesInput.js +1 -1
- package/dist/forms/Slider.js +1 -1
- package/dist/forms/Snippet.js +1 -1
- package/dist/forms/SplitButton.js +1 -1
- package/dist/forms/TagInput.js +1 -1
- package/dist/forms/TextToolbar.js +1 -1
- package/dist/forms/WidthsBar.js +1 -1
- package/dist/hooks/useTheme.d.ts +1 -1
- package/dist/icons/efficient-glyphs.d.ts +8 -0
- package/dist/icons/efficient-glyphs.js +1 -1
- package/dist/icons/efficient-looks.d.ts +16 -0
- package/dist/icons/efficient-looks.js +1 -1
- package/dist/icons/efficient-meanings.d.ts +9 -1
- package/dist/icons/efficient-meanings.js +1 -1
- package/dist/icons/efficient.d.ts +8 -0
- package/dist/icons/efficient.js +1 -1
- package/dist/icons/glyphs/CropBottomIcon.d.ts +8 -0
- package/dist/icons/glyphs/CropBottomIcon.js +1 -0
- package/dist/icons/glyphs/CropLeftIcon.d.ts +8 -0
- package/dist/icons/glyphs/CropLeftIcon.js +1 -0
- package/dist/icons/glyphs/CropLeftRightIcon.d.ts +8 -0
- package/dist/icons/glyphs/CropLeftRightIcon.js +1 -0
- package/dist/icons/glyphs/CropRightIcon.d.ts +8 -0
- package/dist/icons/glyphs/CropRightIcon.js +1 -0
- package/dist/icons/glyphs/CropTopIcon.d.ts +8 -0
- package/dist/icons/glyphs/CropTopIcon.js +1 -0
- package/dist/icons/glyphs/CropYIcon.d.ts +8 -0
- package/dist/icons/glyphs/CropYIcon.js +1 -0
- package/dist/icons/glyphs/NudgeXIcon.d.ts +8 -0
- package/dist/icons/glyphs/NudgeXIcon.js +1 -0
- package/dist/icons/glyphs/NudgeYIcon.d.ts +8 -0
- package/dist/icons/glyphs/NudgeYIcon.js +1 -0
- package/dist/icons/index.d.ts +2 -2
- package/dist/icons/index.js +1 -1
- package/dist/icons/looks/CropBottomMiniIcon.d.ts +8 -0
- package/dist/icons/looks/CropBottomMiniIcon.js +1 -0
- package/dist/icons/looks/CropBottomSolidIcon.d.ts +8 -0
- package/dist/icons/looks/CropBottomSolidIcon.js +1 -0
- package/dist/icons/looks/CropLeftMiniIcon.d.ts +8 -0
- package/dist/icons/looks/CropLeftMiniIcon.js +1 -0
- package/dist/icons/looks/CropLeftRightMiniIcon.d.ts +8 -0
- package/dist/icons/looks/CropLeftRightMiniIcon.js +1 -0
- package/dist/icons/looks/CropLeftRightSolidIcon.d.ts +8 -0
- package/dist/icons/looks/CropLeftRightSolidIcon.js +1 -0
- package/dist/icons/looks/CropLeftSolidIcon.d.ts +8 -0
- package/dist/icons/looks/CropLeftSolidIcon.js +1 -0
- package/dist/icons/looks/CropRightMiniIcon.d.ts +8 -0
- package/dist/icons/looks/CropRightMiniIcon.js +1 -0
- package/dist/icons/looks/CropRightSolidIcon.d.ts +8 -0
- package/dist/icons/looks/CropRightSolidIcon.js +1 -0
- package/dist/icons/looks/CropTopMiniIcon.d.ts +8 -0
- package/dist/icons/looks/CropTopMiniIcon.js +1 -0
- package/dist/icons/looks/CropTopSolidIcon.d.ts +8 -0
- package/dist/icons/looks/CropTopSolidIcon.js +1 -0
- package/dist/icons/looks/CropYMiniIcon.d.ts +8 -0
- package/dist/icons/looks/CropYMiniIcon.js +1 -0
- package/dist/icons/looks/CropYSolidIcon.d.ts +8 -0
- package/dist/icons/looks/CropYSolidIcon.js +1 -0
- package/dist/icons/looks/NudgeXMiniIcon.d.ts +8 -0
- package/dist/icons/looks/NudgeXMiniIcon.js +1 -0
- package/dist/icons/looks/NudgeXSolidIcon.d.ts +8 -0
- package/dist/icons/looks/NudgeXSolidIcon.js +1 -0
- package/dist/icons/looks/NudgeYMiniIcon.d.ts +8 -0
- package/dist/icons/looks/NudgeYMiniIcon.js +1 -0
- package/dist/icons/looks/NudgeYSolidIcon.d.ts +8 -0
- package/dist/icons/looks/NudgeYSolidIcon.js +1 -0
- package/dist/icons/looks/map.js +1 -1
- package/dist/icons/sets.js +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.js +399 -399
- package/dist/map/index.js +3 -3
- package/dist/markdown/index.js +1 -1
- package/dist/names-DcR-HlYV.d.ts +21 -0
- package/dist/page-tabs/index.js +5 -5
- package/dist/pdf/index.js +1 -1
- package/dist/shell/Accordion.js +1 -1
- package/dist/shell/AppUpdateBanner.js +1 -1
- package/dist/shell/Banner.js +1 -1
- package/dist/shell/Breadcrumbs.js +1 -1
- package/dist/shell/ColoredBadge.js +1 -1
- package/dist/shell/ConfirmDialog.js +1 -1
- package/dist/shell/ContextMenu.js +1 -1
- package/dist/shell/Dialog.js +1 -1
- package/dist/shell/Drawer.js +1 -1
- package/dist/shell/DropdownMenu.js +1 -1
- package/dist/shell/EmptyState.js +1 -1
- package/dist/shell/HelpCenter.js +1 -1
- package/dist/shell/LanguageSelect.js +1 -1
- package/dist/shell/Markdown.js +1 -1
- package/dist/shell/PageHeader.js +1 -1
- package/dist/shell/PopupMenu.js +1 -1
- package/dist/shell/ProductionTimeline.js +1 -1
- package/dist/shell/Result.js +1 -1
- package/dist/shell/SearchableSelect.js +1 -1
- package/dist/shell/SettingReset.js +1 -1
- package/dist/shell/SidebarLayout.js +1 -1
- package/dist/shell/SidebarNav.js +1 -1
- package/dist/shell/SortableList.js +1 -1
- package/dist/shell/StepChain.js +1 -1
- package/dist/shell/Stepper.js +1 -1
- package/dist/shell/TopNav.js +1 -1
- package/dist/shell/Tree.js +1 -1
- package/dist/telemetry/index.js +1 -1
- package/dist/templates/ChatTemplate.js +1 -1
- package/dist/templates/CheckoutTemplate.js +1 -1
- package/dist/templates/DataTablePage.js +1 -1
- package/dist/templates/EmailTemplate.js +1 -1
- package/dist/templates/ErrorBoundary.d.ts +1 -1
- package/dist/templates/FormLayoutPage.js +1 -1
- package/dist/tokens/spacing.d.ts +5 -5
- package/dist/tokens/spacing.js +1 -1
- package/dist/ui/index.d.ts +3 -2
- package/dist/ui/index.js +1 -1
- package/dist/ui.css +5 -4
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/Calculator-B44SNFGQ.js +0 -29
- package/dist/CurrencyConverter-QCXULYMM.js +0 -21
- package/dist/Files-PE67UQ33.js +0 -87
- package/dist/Notepad-BOSV536Y.js +0 -25
- package/dist/PdfViewer-IQQM7DOH.js +0 -1
- package/dist/Sidebar-EIGME7VA.js +0 -43
- package/dist/Spreadsheet-3EGY4CEN.js +0 -37
- package/dist/chunk-2355YEWO.js +0 -1
- package/dist/chunk-BEWEQ6BP.js +0 -3
- package/dist/chunk-BXCWPHU6.js +0 -1
- package/dist/chunk-H7BP5LLG.js +0 -99
- package/dist/chunk-MXMBQS75.js +0 -20
- package/dist/chunk-OZ2ALRKX.js +0 -3
- package/dist/chunk-SQFSBXPR.js +0 -1
- package/dist/chunk-SXE6KZBU.js +0 -1
- package/dist/chunk-TKLH7V2R.js +0 -9
- package/dist/chunk-VIJ5BZ5U.js +0 -1
- package/dist/chunk-VLOJ4XJC.js +0 -8
- package/dist/chunk-YVOGWINT.js +0 -4
- package/dist/names-CwL-QSC9.d.ts +0 -21
- /package/dist/{chunk-2CGVDBNO.js → chunk-4MNNVSHD.js} +0 -0
- /package/dist/{chunk-WHTINFQU.js → chunk-A6L6FYG4.js} +0 -0
package/dist/chunk-2355YEWO.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ZoomInMiniIcon as r}from"./chunk-NPCWLBMK.js";import{ZoomInSolidIcon as o}from"./chunk-4H2J5UAB.js";import{WordsFromMiniIcon as m}from"./chunk-BEKDLU25.js";import{WordsFromSolidIcon as t}from"./chunk-2MQ7ESMH.js";import{WrapMiniIcon as c}from"./chunk-NLGDN36O.js";import{WrapSolidIcon as i}from"./chunk-YBRJR7NV.js";import{WrenchMiniIcon as n}from"./chunk-BWDHO77A.js";import{WrenchScrewdriverMiniIcon as s}from"./chunk-HWGKMEYA.js";import{WrenchScrewdriverSolidIcon as p}from"./chunk-H7AHH7OB.js";import{WrenchSolidIcon as u}from"./chunk-A25YVGAG.js";import{WidgetsMiniIcon as h}from"./chunk-K3ZBIFDS.js";import{WidgetsSolidIcon as k}from"./chunk-C7WCAKSH.js";import{WidthMiniIcon as f}from"./chunk-B4GBUSE5.js";import{WidthSolidIcon as e}from"./chunk-W6FRXR6X.js";import{WindowMiniIcon as j}from"./chunk-CNVF67ZV.js";import{WindowSolidIcon as a}from"./chunk-QBRE4MH3.js";import{WindowsMiniIcon as l}from"./chunk-YMECORJ4.js";import{WindowsSolidIcon as d}from"./chunk-XHRWQU2N.js";import{ViewColumnsMiniIcon as Q}from"./chunk-KAUUQEZJ.js";import{ViewColumnsSolidIcon as b}from"./chunk-ZN5SU4ZI.js";import{WalletMiniIcon as C}from"./chunk-ITCE6WFF.js";import{WalletSolidIcon as J}from"./chunk-RLQAX5HN.js";import{WarningMiniIcon as N}from"./chunk-KHXH44V6.js";import{WarningSolidIcon as R}from"./chunk-TAXDMCNG.js";import{WeightMiniIcon as M}from"./chunk-7MBI6K4M.js";import{WeightSolidIcon as P}from"./chunk-JH4N2AGC.js";import{UploadMiniIcon as F}from"./chunk-2NYCHHEX.js";import{UploadSolidIcon as Z}from"./chunk-LDY4RXO4.js";import{VAlignMiniIcon as X}from"./chunk-E5XQWSQG.js";import{VAlignSolidIcon as H}from"./chunk-64KV2YO3.js";import{VerifiedMiniIcon as U}from"./chunk-FJXQQ6N4.js";import{VerifiedSolidIcon as D}from"./chunk-C6CI7XH7.js";import{VideoOffMiniIcon as g}from"./chunk-PNVFIQXD.js";import{VideoOffSolidIcon as K}from"./chunk-F75KLDZK.js";import{TypeMiniIcon as A}from"./chunk-3VZEPYAX.js";import{TypeSolidIcon as L}from"./chunk-RH6C435W.js";import{TyreMiniIcon as W}from"./chunk-PPRJBW5Y.js";import{TyreSolidIcon as E}from"./chunk-IF34QPCV.js";import{UnderlineMiniIcon as Y}from"./chunk-23YM7DOW.js";import{UnderlineSolidIcon as T}from"./chunk-R2KCOXZR.js";import{UndoMiniIcon as B}from"./chunk-O5EP2UNP.js";import{UndoSolidIcon as G}from"./chunk-T2IC4IQA.js";import{TrashAltIcon as I}from"./chunk-X65IANDK.js";import{TrashMiniIcon as S}from"./chunk-J5VO23W3.js";import{TrashSolidIcon as O}from"./chunk-GPFBERFF.js";import{TruckAltIcon as V}from"./chunk-MWG5QRHE.js";import{TruckMiniIcon as w}from"./chunk-JCKOSJNI.js";import{TruckSolidIcon as y}from"./chunk-GYA54DB2.js";import{TvMiniIcon as v}from"./chunk-BQ7RNIBA.js";import{TvSolidIcon as x}from"./chunk-RVA6HGDB.js";import{TextSizeSolidIcon as q}from"./chunk-MU4OIOPU.js";import{TextSmallMiniIcon as z}from"./chunk-QK4B7MO3.js";import{TextSmallSolidIcon as $}from"./chunk-245SGQC7.js";import{TextValueMiniIcon as _}from"./chunk-5XNZORBY.js";import{TextValueSolidIcon as rr}from"./chunk-GKAI5SDL.js";import{TextureMiniIcon as or}from"./chunk-VRGZFJZD.js";import{TextureSolidIcon as mr}from"./chunk-2AGTZHGD.js";import{TrashAlt2Icon as tr}from"./chunk-TEEDZ5O4.js";import{TargetSolidIcon as cr}from"./chunk-LNFKNTO5.js";import{TeamMiniIcon as ir}from"./chunk-ZV5P54O4.js";import{TeamSolidIcon as nr}from"./chunk-ETF6W3D4.js";import{TelephoneMiniIcon as sr}from"./chunk-MLXDPEBV.js";import{TelephoneSolidIcon as pr}from"./chunk-JQSK5ICA.js";import{TextColorMiniIcon as ur}from"./chunk-3WUQ5V4J.js";import{TextColorSolidIcon as hr}from"./chunk-TGNRZLQ6.js";import{TextSizeMiniIcon as kr}from"./chunk-2BAQ3XFD.js";import{TabletSolidIcon as fr}from"./chunk-IU7ZRR62.js";import{TabsMiniIcon as er}from"./chunk-B6RQI2PT.js";import{TabsSolidIcon as jr}from"./chunk-5UZYIM2W.js";import{TagAltIcon as ar}from"./chunk-HXWCDHZQ.js";import{TagMiniIcon as lr}from"./chunk-GGGXLQHC.js";import{TagSolidIcon as dr}from"./chunk-QDHVUIZV.js";import{TargetAltIcon as Qr}from"./chunk-V5DSMUZ5.js";import{TargetMiniIcon as br}from"./chunk-5VRVT4LR.js";import{SunSolidIcon as Cr}from"./chunk-K6ZPLG4O.js";import{SuperscriptMiniIcon as Jr}from"./chunk-YPBEGKV2.js";import{SuperscriptSolidIcon as Nr}from"./chunk-5GJ3SFHP.js";import{SwapMiniIcon as Rr}from"./chunk-FZMJ5JVX.js";import{SwapSolidIcon as Mr}from"./chunk-LO2ENELN.js";import{TableMiniIcon as Pr}from"./chunk-7IQQIDI6.js";import{TableSolidIcon as Fr}from"./chunk-QJ3LE7LI.js";import{TabletMiniIcon as Zr}from"./chunk-7R5JBLPI.js";import{StrikeMiniIcon as Xr}from"./chunk-5GHSWXWB.js";import{StrikeSolidIcon as Hr}from"./chunk-VUOJMDQ6.js";import{StylesAltIcon as Ur}from"./chunk-PP3H5YGZ.js";import{StylesMiniIcon as Dr}from"./chunk-FEN2DONX.js";import{StylesSolidIcon as gr}from"./chunk-B3Q46H2J.js";import{SubscriptMiniIcon as Kr}from"./chunk-KRWISESU.js";import{SubscriptSolidIcon as Ar}from"./chunk-O3QFU4CP.js";import{SunMiniIcon as Lr}from"./chunk-7MOGLM4M.js";import{StatusDotSolidIcon as Wr}from"./chunk-6GLBW3FE.js";import{StickyMiniIcon as Er}from"./chunk-RL3ZIR6L.js";import{StickySolidIcon as Yr}from"./chunk-CAMDJDKT.js";import{StopCircleMiniIcon as Tr}from"./chunk-XRIX6MVS.js";import{StopCircleSolidIcon as Br}from"./chunk-AQT5PBEU.js";import{StoreBuildingStorefront20SolidIcon as Gr}from"./chunk-FXD73VOY.js";import{StoreMiniIcon as Ir}from"./chunk-5HCC7MZN.js";import{StoreSolidIcon as Sr}from"./chunk-V3W6W42X.js";import{StarAltIcon as Or}from"./chunk-TTX2XZKP.js";import{StarMiniIcon as Vr}from"./chunk-RWHVEPNG.js";import{StarSolidIcon as wr}from"./chunk-635BD6WX.js";import{StateMiniIcon as yr}from"./chunk-WFYZJFS5.js";import{StateSolidIcon as vr}from"./chunk-2TO2GMVS.js";import{StatusCircleMiniIcon as xr}from"./chunk-TB3CFNVI.js";import{StatusCircleSolidIcon as qr}from"./chunk-RAE4CUCY.js";import{StatusDotMiniIcon as zr}from"./chunk-LKN4NT7H.js";import{SpeakerWaveMiniIcon as $r}from"./chunk-QNIEDFX6.js";import{SpeakerWaveSolidIcon as _r}from"./chunk-DJNK34UK.js";import{SpecTableMiniIcon as ro}from"./chunk-FUY6TO6Z.js";import{SpecTableSolidIcon as oo}from"./chunk-NZYJ6XYT.js";import{SplitMiniIcon as mo}from"./chunk-6PRAEXF6.js";import{SplitSolidIcon as to}from"./chunk-YOVMFAN3.js";import{SquareMiniIcon as co}from"./chunk-WQ2IFM6M.js";import{SquareSolidIcon as io}from"./chunk-BPWBA2RM.js";import{SortAltIcon as no}from"./chunk-US4TTHEN.js";import{SortMiniIcon as so}from"./chunk-SI37ODJF.js";import{SortSolidIcon as po}from"./chunk-ZUG2JNG4.js";import{SparklesAlt2Icon as uo}from"./chunk-NCLIZZXL.js";import{SparklesAlt3Icon as ho}from"./chunk-FEUIWJ7S.js";import{SparklesAltIcon as ko}from"./chunk-UWNP5QOF.js";import{SparklesMiniIcon as fo}from"./chunk-WNO4AZ67.js";import{SparklesSolidIcon as eo}from"./chunk-NA5HW2RQ.js";import{SlidePickerCardsMiniIcon as jo}from"./chunk-EUQXQRXY.js";import{SlidePickerCardsSolidIcon as ao}from"./chunk-D6RYGKV5.js";import{SlidePickerDotsMiniIcon as lo}from"./chunk-3VYVPN23.js";import{SlidePickerDotsSolidIcon as Qo}from"./chunk-PZIPTTVL.js";import{SlidePickerNumbersMiniIcon as bo}from"./chunk-K5UTUJXX.js";import{SlidePickerNumbersSolidIcon as Co}from"./chunk-CNQOWIKL.js";import{SlidePickerSquaresMiniIcon as Jo}from"./chunk-A7ILTGAE.js";import{SlidePickerSquaresSolidIcon as No}from"./chunk-DI3CJOO2.js";import{SitemapMiniIcon as Ro}from"./chunk-TCWYMY7R.js";import{SitemapSolidIcon as Mo}from"./chunk-P4KZQYYO.js";import{SlideArrowsRoundMiniIcon as Po}from"./chunk-3LSEVWUJ.js";import{SlideArrowsRoundSolidIcon as Fo}from"./chunk-PSYTC7V2.js";import{SlideArrowsSquareMiniIcon as Zo}from"./chunk-EDEHD47C.js";import{SlideArrowsSquareSolidIcon as Xo}from"./chunk-P66ED5XN.js";import{SlidePickerBarMiniIcon as Ho}from"./chunk-BJ2LKUME.js";import{SlidePickerBarSolidIcon as Uo}from"./chunk-SZGTWSN4.js";import{ShieldExclamationMiniIcon as Do}from"./chunk-FB4GEVTA.js";import{ShieldExclamationSolidIcon as go}from"./chunk-LZ44UTPP.js";import{SidesEachMiniIcon as Ko}from"./chunk-CNTQKS7H.js";import{SidesEachSolidIcon as Ao}from"./chunk-OR2SSAWP.js";import{SignalMiniIcon as Lo}from"./chunk-PYAU2NDD.js";import{SignalSlashMiniIcon as Wo}from"./chunk-MIMLD6G4.js";import{SignalSlashSolidIcon as Eo}from"./chunk-PLQ23Q7Y.js";import{SignalSolidIcon as Yo}from"./chunk-QTPYKXY7.js";import{ShapeEllipseMiniIcon as To}from"./chunk-HGJLQXQZ.js";import{ShapeEllipseSolidIcon as Bo}from"./chunk-J7YSGSYX.js";import{ShapeRectMiniIcon as Go}from"./chunk-7MTKB2PI.js";import{ShapeRectSolidIcon as Io}from"./chunk-R3SLDJJX.js";import{ShareMiniIcon as So}from"./chunk-HWEV5X53.js";import{ShareSolidIcon as Oo}from"./chunk-ZFF7W6EF.js";import{ShieldCheckMiniIcon as Vo}from"./chunk-6UNMFTXG.js";import{ShieldCheckSolidIcon as wo}from"./chunk-A2NRNSJU.js";import{SendMiniIcon as yo}from"./chunk-SLALNIKU.js";import{SendSolidIcon as vo}from"./chunk-2L3JB5JJ.js";import{ServerMiniIcon as xo}from"./chunk-7J7SBMPE.js";import{ServerSolidIcon as qo}from"./chunk-TMPZ5QYR.js";import{SettingsMiniIcon as zo}from"./chunk-PJ74S7TQ.js";import{SettingsSolidIcon as $o}from"./chunk-HMPU4WRV.js";import{ShadowMiniIcon as _o}from"./chunk-JQFMEYOH.js";import{ShadowSolidIcon as rm}from"./chunk-Z6DPC6LY.js";import{SearchAlt2Icon as om}from"./chunk-USRR3ATA.js";import{SearchAltIcon as mm}from"./chunk-VZZXQM7D.js";import{SearchMiniIcon as tm}from"./chunk-RFQT33IG.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{RobotSolidIcon as um}from"./chunk-BTMPF6TU.js";import{RotateMiniIcon as hm}from"./chunk-AZ6PTN7Z.js";import{RotateSolidIcon as km}from"./chunk-FMFFO3XW.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{RemoveSolidIcon as dm}from"./chunk-DZGAUI3P.js";import{ReplyAllMiniIcon as Qm}from"./chunk-PF5CU4SO.js";import{ReplyAllSolidIcon as bm}from"./chunk-S6HJCIO4.js";import{ReplyMiniIcon as Cm}from"./chunk-ITCRUSSN.js";import{ReplySolidIcon as Jm}from"./chunk-QRZVIG54.js";import{RevertMiniIcon as Nm}from"./chunk-TKQLPIHD.js";import{RevertSolidIcon as Rm}from"./chunk-B2JHVAJZ.js";import{RobotMiniIcon as Mm}from"./chunk-2QBUM6BF.js";import{ReceiptSolidIcon as Pm}from"./chunk-P6NGK7DM.js";import{RedoMiniIcon as Fm}from"./chunk-RJNAXMDD.js";import{RedoSolidIcon as Zm}from"./chunk-CITR3NCQ.js";import{RefreshAltIcon as Xm}from"./chunk-BXPQQPS4.js";import{RefreshArrowPathRoundedSquareIcon as Hm}from"./chunk-7BDQSYOD.js";import{RefreshMiniIcon as Um}from"./chunk-DQVYLBH3.js";import{RefreshSolidIcon as Dm}from"./chunk-OD57KLTH.js";import{RemoveMiniIcon as gm}from"./chunk-LC5WQDNZ.js";import{RadioDotSolidIcon as Km}from"./chunk-VKPCYU5H.js";import{RadiusMiniIcon as Am}from"./chunk-7I2GL4XB.js";import{RadiusSolidIcon as Lm}from"./chunk-SGGFUPQS.js";import{ReceiptMiniIcon as Wm}from"./chunk-3FF7CTUA.js";import{ReceiptPercentMiniIcon as Em}from"./chunk-CM6DG7CZ.js";import{ReceiptPercentSolidIcon as Ym}from"./chunk-IXXEASEQ.js";import{ReceiptRefundMiniIcon as Tm}from"./chunk-6JWPIRCB.js";import{ReceiptRefundSolidIcon as Bm}from"./chunk-4PXK463M.js";import{ProductSizeMiniIcon as Gm}from"./chunk-WOWXRIRW.js";import{ProductSizeSolidIcon as Im}from"./chunk-Y4GH6UXZ.js";import{ProductSolidIcon as Sm}from"./chunk-AYYN74HD.js";import{ProgressMiniIcon as Om}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 vm}from"./chunk-WRWINFV3.js";import{PowerSolidIcon as xm}from"./chunk-TXEFPHTL.js";import{PresentationChartBarMiniIcon as qm}from"./chunk-7BMSC5QE.js";import{PresentationChartBarSolidIcon as zm}from"./chunk-V56PZIS2.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{PlacementMiniIcon as tt}from"./chunk-OXHG752A.js";import{PlacementSolidIcon as ct}from"./chunk-74DQMIJU.js";import{PlayAltIcon as it}from"./chunk-ZPQFONMR.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{PeopleUserGroupIcon as kt}from"./chunk-3GU54QB6.js";import{PercentMiniIcon as ft}from"./chunk-2LKEZNEE.js";import{PercentSolidIcon as et}from"./chunk-CQYBRFCN.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 Qt}from"./chunk-H6OCWYYU.js";import{PasteStyleMiniIcon as bt}from"./chunk-X5KVM2JY.js";import{PasteStyleSolidIcon as Ct}from"./chunk-NOQIPVD5.js";import{PauseMiniIcon as Jt}from"./chunk-E4XFHQTO.js";import{PauseSolidIcon as Nt}from"./chunk-I2BTP4ZC.js";import{PenMiniIcon as Rt}from"./chunk-75CPAMIK.js";import{PenSolidIcon as Mt}from"./chunk-MZNR3WCA.js";import{PeopleMiniIcon as Pt}from"./chunk-MJ3GUAXH.js";import{PeopleSolidIcon as Ft}from"./chunk-TDACYSKV.js";import{PaletteMiniIcon as Zt}from"./chunk-BAFB2V5R.js";import{PaletteSolidIcon as Xt}from"./chunk-DL3K4PF4.js";import{PanelLeftMiniIcon as Ht}from"./chunk-XSCG6YG7.js";import{PanelLeftSolidIcon as Ut}from"./chunk-XWU6QN2V.js";import{PanelRightMiniIcon as Dt}from"./chunk-FU44ZZBE.js";import{PanelRightSolidIcon as gt}from"./chunk-3EVMVYVF.js";import{ParagraphSpacingMiniIcon as Kt}from"./chunk-W6DUHOAN.js";import{ParagraphSpacingSolidIcon as At}from"./chunk-GD3YLOFZ.js";import{PaddingTopSolidIcon as Lt}from"./chunk-SE2ECAWN.js";import{PaddingXMiniIcon as Wt}from"./chunk-M3FDLEVB.js";import{PaddingXSolidIcon as Et}from"./chunk-C4GY2IS5.js";import{PaddingYMiniIcon as Yt}from"./chunk-FLY5B6BV.js";import{PaddingYSolidIcon as Tt}from"./chunk-ZVZB4MEK.js";import{PageAltIcon as Bt}from"./chunk-CPPPRWOF.js";import{PageMiniIcon as Gt}from"./chunk-XXFO33EC.js";import{PageSolidIcon as It}from"./chunk-SMJFGTEP.js";import{PaddingBottomSolidIcon as St}from"./chunk-MQBMKV2M.js";import{PaddingLeftMiniIcon as Ot}from"./chunk-FGQ7HFAL.js";import{PaddingLeftRightMiniIcon as Vt}from"./chunk-RF4AWGBX.js";import{PaddingLeftRightSolidIcon as wt}from"./chunk-6QAID2KD.js";import{PaddingLeftSolidIcon as yt}from"./chunk-KMRK6TJC.js";import{PaddingRightMiniIcon as vt}from"./chunk-JWZ7SK3Z.js";import{PaddingRightSolidIcon as xt}from"./chunk-IABLIRK6.js";import{PaddingTopMiniIcon as qt}from"./chunk-AAQPYX4I.js";import{OwnTextSolidIcon as zt}from"./chunk-5OY3AUEX.js";import{PackageMiniIcon as $t}from"./chunk-FCD2THL6.js";import{PackageOpenMiniIcon as _t}from"./chunk-J5NXZAWD.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{NoteSolidIcon as ic}from"./chunk-QNV4E2MF.js";import{NudgeMiniIcon as nc}from"./chunk-REICDZNN.js";import{NudgeSolidIcon as sc}from"./chunk-3MRB7UZY.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{MoonSolidIcon as ec}from"./chunk-24FKIIDR.js";import{MoreMiniIcon as jc}from"./chunk-42MDVHXS.js";import{MoreSolidIcon as ac}from"./chunk-PP5JQCTZ.js";import{MoreVerticalMiniIcon as lc}from"./chunk-J6YBNXVN.js";import{MoreVerticalSolidIcon as dc}from"./chunk-OSZDQ3VV.js";import{NoSymbolMiniIcon as Qc}from"./chunk-WQBLFKPH.js";import{NoSymbolSolidIcon as bc}from"./chunk-JEWUFDX5.js";import{NoteMiniIcon as Cc}from"./chunk-MRWH3KJB.js";import{MenuSolidIcon as Jc}from"./chunk-AFXOAFL6.js";import{MetaMiniIcon as Nc}from"./chunk-JG2LTXO7.js";import{MetaSolidIcon as Rc}from"./chunk-ADCP4ZQP.js";import{MicrophoneMiniIcon as Mc}from"./chunk-ICL6KE32.js";import{MicrophoneSolidIcon as Pc}from"./chunk-QWWV6GSR.js";import{MoneyMiniIcon as Fc}from"./chunk-6MSDX7MQ.js";import{MoneySolidIcon as Zc}from"./chunk-RJCUFIE5.js";import{MoonMiniIcon as Xc}from"./chunk-V75MYG5O.js";import{MediaLayoutSideBySideSolidIcon as Hc}from"./chunk-77DNZFAR.js";import{MediaLayoutStackedMiniIcon as Uc}from"./chunk-GMTEWQTC.js";import{MediaLayoutStackedSolidIcon as Dc}from"./chunk-4D5UAMG5.js";import{MediaMiniIcon as gc}from"./chunk-RWVM2VHF.js";import{MediaSolidIcon as Kc}from"./chunk-3UFUOKBM.js";import{MegaphoneMiniIcon as Ac}from"./chunk-DQ6CYYYH.js";import{MegaphoneSolidIcon as Lc}from"./chunk-7KJMS4EK.js";import{MenuMiniIcon as Wc}from"./chunk-MNIIBF52.js";import{MapAltIcon as Ec}from"./chunk-XA7YZO2P.js";import{MapMiniIcon as Yc}from"./chunk-Q2QIUERP.js";import{MapSolidIcon as Tc}from"./chunk-4EOR3CJ4.js";import{MediaLayoutBigTwoMiniIcon as Bc}from"./chunk-RI5VRHG4.js";import{MediaLayoutBigTwoSolidIcon as Gc}from"./chunk-4QNSHURB.js";import{MediaLayoutInsetMiniIcon as Ic}from"./chunk-PAYYAWU5.js";import{MediaLayoutInsetSolidIcon as Sc}from"./chunk-RJU7XFKX.js";import{MediaLayoutSideBySideMiniIcon as Oc}from"./chunk-PYG3MKYD.js";import{LocationSolidIcon as Vc}from"./chunk-BZOV7GJL.js";import{LockAltIcon as wc}from"./chunk-IQKD7UCZ.js";import{LockMiniIcon as yc}from"./chunk-EIUHOEDP.js";import{LockSolidIcon as vc}from"./chunk-URXAYQ23.js";import{LogoMiniIcon as xc}from"./chunk-AS4OCCP3.js";import{LogoSolidIcon as qc}from"./chunk-4LBNEX4V.js";import{LogoutMiniIcon as zc}from"./chunk-GV3GNYL6.js";import{LogoutSolidIcon as $c}from"./chunk-2AQMIXH3.js";import{ListFormatMiniIcon as _c}from"./chunk-UDN6USR5.js";import{ListFormatSolidIcon as ri}from"./chunk-LWDJ4GEH.js";import{ListMiniIcon as oi}from"./chunk-7OKXT3VY.js";import{ListNoneMiniIcon as mi}from"./chunk-GRABRP2G.js";import{ListNoneSolidIcon as ti}from"./chunk-HQOSD5GN.js";import{ListQueueListIcon as ci}from"./chunk-CYQSFWYF.js";import{ListSolidIcon as ii}from"./chunk-PZZWHWBB.js";import{LocationMiniIcon as ni}from"./chunk-K7WJNXIJ.js";import{LineStyleSolidIcon as si}from"./chunk-KUCKME7A.js";import{LinkMiniIcon as pi}from"./chunk-KLZWTEB5.js";import{LinkSlashMiniIcon as ui}from"./chunk-325KLGZI.js";import{LinkSlashSolidIcon as hi}from"./chunk-QL4RGGFN.js";import{LinkSolidIcon as ki}from"./chunk-WM6WESXC.js";import{ListAlt2Icon as fi}from"./chunk-7B4Y4XCN.js";import{ListAlt3Icon as ei}from"./chunk-ACCOL2XR.js";import{ListAltIcon as ji}from"./chunk-ITBPRBKS.js";import{LineDashedSolidIcon as ai}from"./chunk-JTKLHXQE.js";import{LineDottedMiniIcon as li}from"./chunk-Z7SR7VQR.js";import{LineDottedSolidIcon as di}from"./chunk-DUPPQQ35.js";import{LineSolidMiniIcon as Qi}from"./chunk-H46XIWYV.js";import{LineSolidSolidIcon as bi}from"./chunk-XO4FAIL5.js";import{LineSpacingMiniIcon as Ci}from"./chunk-SP6GJ3Y4.js";import{LineSpacingSolidIcon as Ji}from"./chunk-CNITIX2S.js";import{LineStyleMiniIcon as Ni}from"./chunk-Z4KOPOJX.js";import{LayoutSolidIcon as Ri}from"./chunk-AU3GQT25.js";import{LetterSpacingMiniIcon as Mi}from"./chunk-RYOPAJXK.js";import{LetterSpacingSolidIcon as Pi}from"./chunk-FSLICZMD.js";import{LightbulbMiniIcon as Fi}from"./chunk-LMLLHS4Q.js";import{LightbulbSolidIcon as Zi}from"./chunk-DFJLONGS.js";import{LineBetweenMiniIcon as Xi}from"./chunk-DZC74CKM.js";import{LineBetweenSolidIcon as Hi}from"./chunk-MMYYXHNL.js";import{LineDashedMiniIcon as Ui}from"./chunk-UTJSSJXU.js";import{KeyMiniIcon as Di}from"./chunk-TQITZXNM.js";import{KeySolidIcon as gi}from"./chunk-B7FO24I2.js";import{LayersAltIcon as Ki}from"./chunk-SUSN7BUA.js";import{LayersMiniIcon as Ai}from"./chunk-VPJZX7GH.js";import{LayersRectangleStackIcon as Li}from"./chunk-Q2YQ2EN2.js";import{LayersSolidIcon as Wi}from"./chunk-UBBP5Q2C.js";import{LayoutAltIcon as Ei}from"./chunk-PYXW6GXA.js";import{LayoutMiniIcon as Yi}from"./chunk-TUODSC47.js";import{InboxAltIcon as Ti}from"./chunk-BFJ4RYCD.js";import{InboxMiniIcon as Bi}from"./chunk-QRSDMC5W.js";import{InboxSolidIcon as Gi}from"./chunk-EESYQSYA.js";import{InfoAltIcon as Ii}from"./chunk-U5423MQC.js";import{InfoMiniIcon as Si}from"./chunk-UMKNAPC2.js";import{InfoSolidIcon as Oi}from"./chunk-ZU6L5U5X.js";import{ItalicMiniIcon as Vi}from"./chunk-JDGZNXOM.js";import{ItalicSolidIcon as wi}from"./chunk-CMYQL6WU.js";import{IdentificationSolidIcon as yi}from"./chunk-ELWJR6D5.js";import{ImageAltIcon as vi}from"./chunk-4NT5O3CF.js";import{ImageMiniIcon as xi}from"./chunk-22AYA6IH.js";import{ImageOffMiniIcon as qi}from"./chunk-ZLFF5JQG.js";import{ImageOffSolidIcon as zi}from"./chunk-M7N7XLUK.js";import{ImageSolidIcon as $i}from"./chunk-HULBQOQ4.js";import{ImagesMiniIcon as _i}from"./chunk-5P6EYV7K.js";import{ImagesSolidIcon as rn}from"./chunk-Y7BG7B64.js";import{HomeSolidIcon as on}from"./chunk-XKTLIGRL.js";import{HoverMiniIcon as mn}from"./chunk-VMKJJFZB.js";import{HoverSolidIcon as tn}from"./chunk-J3EF3LJU.js";import{IconAfterTextMiniIcon as cn}from"./chunk-O5MCB756.js";import{IconAfterTextSolidIcon as nn}from"./chunk-H4SQVPCY.js";import{IconBeforeTextMiniIcon as sn}from"./chunk-C6FIA3VB.js";import{IconBeforeTextSolidIcon as pn}from"./chunk-FMSIKEE3.js";import{IdentificationMiniIcon as un}from"./chunk-MX26PZGW.js";import{HeightSolidIcon as hn}from"./chunk-QTQNZMIC.js";import{HelpMiniIcon as kn}from"./chunk-LRY6HMOO.js";import{HelpOffMiniIcon as fn}from"./chunk-Z3ZZ7IKK.js";import{HelpOffSolidIcon as en}from"./chunk-NCZDQBQ4.js";import{HelpSolidIcon as jn}from"./chunk-TBRNYDMF.js";import{HexagonMiniIcon as an}from"./chunk-WGFQSFHX.js";import{HexagonSolidIcon as ln}from"./chunk-OZ2GH2H7.js";import{HomeMiniIcon as dn}from"./chunk-DOA6QPPR.js";import{HandThumbUpSolidIcon as Qn}from"./chunk-A5ONCCD3.js";import{HashMiniIcon as bn}from"./chunk-BZDWR4KD.js";import{HashSolidIcon as Cn}from"./chunk-UXPHLHBG.js";import{HeadquartersMiniIcon as Jn}from"./chunk-7HBLOYWQ.js";import{HeadquartersSolidIcon as Nn}from"./chunk-2SFKU2B2.js";import{HeartMiniIcon as Rn}from"./chunk-RT6AI5I7.js";import{HeartSolidIcon as Mn}from"./chunk-BBY7MNDN.js";import{HeightMiniIcon as Pn}from"./chunk-5AQ6KQSD.js";import{GridAltIcon as Fn}from"./chunk-CEYIPCMH.js";import{GridMiniIcon as Zn}from"./chunk-NHDIBRV7.js";import{GridSolidIcon as Xn}from"./chunk-IYZTC7VC.js";import{GroundMiniIcon as Hn}from"./chunk-DBWIOWPM.js";import{GroundSolidIcon as Un}from"./chunk-MFFIF7AB.js";import{HandMiniIcon as Dn}from"./chunk-7E3RNMRR.js";import{HandSolidIcon as gn}from"./chunk-6R4YB7K3.js";import{HandThumbUpMiniIcon as Kn}from"./chunk-ITHJW2KQ.js";import{GapSolidIcon as An}from"./chunk-TBMPFURE.js";import{GemMiniIcon as Ln}from"./chunk-HPR54EP7.js";import{GemSolidIcon as Wn}from"./chunk-D5CO7TAN.js";import{GiftMiniIcon as En}from"./chunk-WHNWFXTB.js";import{GiftSolidIcon as Yn}from"./chunk-QHY3TU27.js";import{GlobeAltIcon as Tn}from"./chunk-24KAXH2Q.js";import{GlobeMiniIcon as Bn}from"./chunk-H6ARFO7R.js";import{GlobeSolidIcon as Gn}from"./chunk-AV5NET7T.js";import{FolderPlusMiniIcon as In}from"./chunk-2ZIX7XRY.js";import{FolderPlusSolidIcon as Sn}from"./chunk-Y43FUWQ2.js";import{FolderSolidIcon as On}from"./chunk-MEUDPC32.js";import{ForwardMiniIcon as Vn}from"./chunk-JKHFESAR.js";import{ForwardSolidIcon as wn}from"./chunk-4E5LJBKT.js";import{FullWidthMiniIcon as yn}from"./chunk-ORKNUTVU.js";import{FullWidthSolidIcon as vn}from"./chunk-D46DMMOR.js";import{GapMiniIcon as xn}from"./chunk-UAB5A3AI.js";import{FireSolidIcon as qn}from"./chunk-MHCYAUWZ.js";import{FlagAltIcon as zn}from"./chunk-22FCQMKM.js";import{FlagMiniIcon as $n}from"./chunk-I7IJ3CFC.js";import{FlagSolidIcon as _n}from"./chunk-SWYJ3FKU.js";import{FolderAltIcon as rs}from"./chunk-ZEXLGKAK.js";import{FolderMiniIcon as os}from"./chunk-KKVQPJI3.js";import{FolderOpenMiniIcon as ms}from"./chunk-NU3WUIAM.js";import{FolderOpenSolidIcon as ts}from"./chunk-W2JSPWW2.js";import{EyeSolidIcon as cs}from"./chunk-IIDWSVS5.js";import{FaceSmileMiniIcon as is}from"./chunk-4GBFZNYZ.js";import{FaceSmileSolidIcon as ns}from"./chunk-EHE6TM43.js";import{FilterMiniIcon as ss}from"./chunk-3QPIARDX.js";import{FilterSolidIcon as ps}from"./chunk-IDHWRHBE.js";import{FinishMiniIcon as us}from"./chunk-SSNT2D3M.js";import{FinishSolidIcon as hs}from"./chunk-465F75NG.js";import{FireMiniIcon as ks}from"./chunk-XWNYSMBG.js";import{ExpandSolidIcon as fs}from"./chunk-3H25EPZU.js";import{ExternalAlt2Icon as es}from"./chunk-VQJ4CKDU.js";import{ExternalAltIcon as js}from"./chunk-OJFBIBPI.js";import{ExternalMiniIcon as as}from"./chunk-XEBHXPOE.js";import{ExternalSolidIcon as ls}from"./chunk-Y4YWLKCV.js";import{EyeMiniIcon as ds}from"./chunk-UNOUO3JN.js";import{EyeOffMiniIcon as Qs}from"./chunk-GBPUVNSN.js";import{EyeOffSolidIcon as bs}from"./chunk-6FC6PZU4.js";import{EmailAltIcon as Cs}from"./chunk-NYKBG5JF.js";import{EmailMiniIcon as Js}from"./chunk-CYLOWGUD.js";import{EmailSolidIcon as Ns}from"./chunk-RL7LVMCC.js";import{EraserMiniIcon as Rs}from"./chunk-2O2LJV7Q.js";import{EraserSolidIcon as Ms}from"./chunk-LXMTX7NE.js";import{ErrorMiniIcon as Ps}from"./chunk-WZ76TDXU.js";import{ErrorSolidIcon as Fs}from"./chunk-CT6I7VFU.js";import{ExpandMiniIcon as Zs}from"./chunk-YRGKL2JP.js";import{DuplicateAltIcon as Xs}from"./chunk-VRXSAWR2.js";import{DuplicateMiniIcon as Hs}from"./chunk-PWONWGNZ.js";import{DuplicateSolidIcon as Us}from"./chunk-OTUO4L3W.js";import{EditAlt2Icon as Ds}from"./chunk-UOSU63FV.js";import{EditAltIcon as gs}from"./chunk-W4EHFZ7Z.js";import{EditMiniIcon as Ks}from"./chunk-HTXTUUBJ.js";import{EditPencilSquareIcon as As}from"./chunk-HPWGEKEJ.js";import{EditSolidIcon as Ls}from"./chunk-IXYWZ667.js";import{DownloadAltIcon as Ws}from"./chunk-SOQGJH2H.js";import{DownloadMiniIcon as Es}from"./chunk-NOMPZRDT.js";import{DownloadSolidIcon as Ys}from"./chunk-T6GW556F.js";import{DragAltIcon as Ts}from"./chunk-4PYQMQQ6.js";import{DragMiniIcon as Bs}from"./chunk-JFKFJPLE.js";import{DragSolidIcon as Gs}from"./chunk-TPMOTUTN.js";import{DropMiniIcon as Is}from"./chunk-6LSFDCSH.js";import{DropSolidIcon as Ss}from"./chunk-BOLX5THX.js";import{DocumentMagnifyingGlassSolidIcon as Os}from"./chunk-MN74RSSD.js";import{DocumentMiniIcon as Vs}from"./chunk-PHWEOFEG.js";import{DocumentSolidIcon as ws}from"./chunk-TFRIWTDA.js";import{DollarAltIcon as ys}from"./chunk-FPFP6LPK.js";import{DollarMiniIcon as vs}from"./chunk-6MHC2ZMP.js";import{DollarSolidIcon as xs}from"./chunk-KTVER4CP.js";import{DotMiniIcon as qs}from"./chunk-Z4EJ2MNK.js";import{DotSolidIcon as zs}from"./chunk-YN5G6G3E.js";import{DirectionSolidIcon as $s}from"./chunk-QKSOCPA2.js";import{DocumentAlt2Icon as _s}from"./chunk-W6ZAUD5E.js";import{DocumentAltIcon as rp}from"./chunk-VOC5AK66.js";import{DocumentCheckAltIcon as op}from"./chunk-VYDLQ3TB.js";import{DocumentCheckMiniIcon as mp}from"./chunk-RIQGDM3S.js";import{DocumentCheckSolidIcon as tp}from"./chunk-CTN6J6MI.js";import{DocumentDocumentIcon as cp}from"./chunk-HZSE3AMP.js";import{DocumentMagnifyingGlassMiniIcon as ip}from"./chunk-T6ZWKFPU.js";import{DateMiniIcon as np}from"./chunk-QFDGSQQE.js";import{DateSolidIcon as sp}from"./chunk-7R623GIR.js";import{DesktopAltIcon as pp}from"./chunk-4X2F4CV3.js";import{DesktopMiniIcon as up}from"./chunk-SNLTAYYR.js";import{DesktopSolidIcon as hp}from"./chunk-MFKHQ5K2.js";import{DiagramMiniIcon as kp}from"./chunk-WVJSPRDR.js";import{DiagramSolidIcon as fp}from"./chunk-BOHPJXNM.js";import{DirectionMiniIcon as ep}from"./chunk-CFQZ2UJM.js";import{CropMiniIcon as jp}from"./chunk-GKUHMQ4N.js";import{CropSolidIcon as ap}from"./chunk-WNM2AMCR.js";import{CubeTransparentMiniIcon as lp}from"./chunk-PON7R7AU.js";import{CubeTransparentSolidIcon as dp}from"./chunk-X26UU4VQ.js";import{CursorClickMiniIcon as Qp}from"./chunk-S6VIYZ2J.js";import{CursorClickSolidIcon as bp}from"./chunk-BYDXJORJ.js";import{CursorMiniIcon as Cp}from"./chunk-23E6AHJY.js";import{CursorSolidIcon as Jp}from"./chunk-4UCO62M5.js";import{CopyMiniIcon as Np}from"./chunk-COL533ZT.js";import{CopySolidIcon as Rp}from"./chunk-R2AU7OKI.js";import{CopyStyleMiniIcon as Mp}from"./chunk-FDF6AGVQ.js";import{CopyStyleSolidIcon as Pp}from"./chunk-XLTCCVAS.js";import{CopyToPageMiniIcon as Fp}from"./chunk-CUH3B5XK.js";import{CopyToPageSolidIcon as Zp}from"./chunk-XQQVYYP6.js";import{CornerMiniIcon as Xp}from"./chunk-FY2CQ5OZ.js";import{CornerSolidIcon as Hp}from"./chunk-IHFHX3JS.js";import{ComposeMiniIcon as Up}from"./chunk-Q6DH4T7K.js";import{ComposeSolidIcon as Dp}from"./chunk-YPAX3OVJ.js";import{ContrastMiniIcon as gp}from"./chunk-VZEQGTG6.js";import{ContrastSolidIcon as Kp}from"./chunk-GVMMJWNK.js";import{CopiedMiniIcon as Ap}from"./chunk-FVZBMQQG.js";import{CopiedSolidIcon as Lp}from"./chunk-6NM4VNUK.js";import{CopyAlt2Icon as Wp}from"./chunk-6OVMOQXY.js";import{CopyAltIcon as Ep}from"./chunk-76MY6SHR.js";import{ColumnGapMiniIcon as Yp}from"./chunk-EBH2ETZL.js";import{ColumnGapSolidIcon as Tp}from"./chunk-4CGNDOUU.js";import{ColumnWidthsMiniIcon as Bp}from"./chunk-7CQR2P4D.js";import{ColumnWidthsSolidIcon as Gp}from"./chunk-V2ILLLXT.js";import{ColumnsMiniIcon as Ip}from"./chunk-KU75RLJS.js";import{ColumnsSolidIcon as Sp}from"./chunk-VEPD5TDQ.js";import{CompanyMiniIcon as Op}from"./chunk-BXRX5WJC.js";import{CompanySolidIcon as Vp}from"./chunk-7DVL5EM2.js";import{CloudPauseSolidIcon as wp}from"./chunk-5KQTZ4UE.js";import{CloudSlashMiniIcon as yp}from"./chunk-4YYHXX5L.js";import{CloudSlashSolidIcon as vp}from"./chunk-IDA6A4QV.js";import{CloudSolidIcon as xp}from"./chunk-LVL7SQQE.js";import{CodeMiniIcon as qp}from"./chunk-EY7ITVLB.js";import{CodeSolidIcon as zp}from"./chunk-QF2QYWLO.js";import{CollapseMiniIcon as $p}from"./chunk-KMGORP5N.js";import{CollapseSolidIcon as _p}from"./chunk-MFZS4XH4.js";import{CloudArrowUpMiniIcon as ru}from"./chunk-6RY7OKVQ.js";import{CloudArrowUpSolidIcon as ou}from"./chunk-2NRMCUOW.js";import{CloudCheckMiniIcon as mu}from"./chunk-ZV4FB43H.js";import{CloudCheckSolidIcon as tu}from"./chunk-EAI3RF4X.js";import{CloudDownloadMiniIcon as cu}from"./chunk-NFQTAYIZ.js";import{CloudDownloadSolidIcon as iu}from"./chunk-5ATA7ZH4.js";import{CloudMiniIcon as nu}from"./chunk-OZ7YWV63.js";import{CloudPauseMiniIcon as su}from"./chunk-SIILHHPE.js";import{ClockSolidIcon as pu}from"./chunk-DORDAZGF.js";import{CloseCircleAltIcon as uu}from"./chunk-TQYPYM4F.js";import{CloseCircleMiniIcon as hu}from"./chunk-6AKTE47Z.js";import{CloseCircleSolidIcon as ku}from"./chunk-MNJH3BVA.js";import{CloseMiniIcon as fu}from"./chunk-44CXUHIL.js";import{CloseSolidIcon as eu}from"./chunk-AHVWJJCK.js";import{CloudAlertMiniIcon as ju}from"./chunk-BXS2D2KK.js";import{CloudAlertSolidIcon as au}from"./chunk-FWNFAW7P.js";import{CircleStackSolidIcon as lu}from"./chunk-OSFWNBI3.js";import{ClearMarksMiniIcon as du}from"./chunk-DSFPJYO5.js";import{ClearMarksSolidIcon as Qu}from"./chunk-S4WC23JS.js";import{ClipboardDocumentListMiniIcon as bu}from"./chunk-HGOWLHKZ.js";import{ClipboardDocumentListSolidIcon as Cu}from"./chunk-7BPQPIJJ.js";import{ClipboardMiniIcon as Ju}from"./chunk-IUUJEV6I.js";import{ClipboardSolidIcon as Nu}from"./chunk-XS4PWQSN.js";import{ClockMiniIcon as Ru}from"./chunk-J4FL4OCW.js";import{ChevronLeftSolidIcon as Mu}from"./chunk-53JU3XAC.js";import{ChevronRightMiniIcon as Pu}from"./chunk-7BLIJJRB.js";import{ChevronRightSolidIcon as Fu}from"./chunk-PZVDRXTL.js";import{ChevronUpDownMiniIcon as Zu}from"./chunk-6USSSR3X.js";import{ChevronUpDownSolidIcon as Xu}from"./chunk-TGS7NZ4S.js";import{ChevronUpMiniIcon as Hu}from"./chunk-R7F2DMKZ.js";import{ChevronUpSolidIcon as Uu}from"./chunk-UGUQC2CY.js";import{CircleStackMiniIcon as Du}from"./chunk-AD7JPCLJ.js";import{CheckboxSolidIcon as gu}from"./chunk-MP32KR6I.js";import{ChevronDoubleLeftMiniIcon as Ku}from"./chunk-HFZYDG4H.js";import{ChevronDoubleLeftSolidIcon as Au}from"./chunk-ESYW3ZJ3.js";import{ChevronDoubleRightMiniIcon as Lu}from"./chunk-5KV4BIYG.js";import{ChevronDoubleRightSolidIcon as Wu}from"./chunk-2B2HGWZR.js";import{ChevronDownMiniIcon as Eu}from"./chunk-LRWOR3LD.js";import{ChevronDownSolidIcon as Yu}from"./chunk-5YPYINMS.js";import{ChevronLeftMiniIcon as Tu}from"./chunk-EFP2VLXY.js";import{ChatMiniIcon as Bu}from"./chunk-TZALPJLH.js";import{ChatSolidIcon as Gu}from"./chunk-WVWIQLSO.js";import{CheckAltIcon as Iu}from"./chunk-66B4UUBJ.js";import{CheckCircleMiniIcon as Su}from"./chunk-HW23QCM6.js";import{CheckCircleSolidIcon as Ou}from"./chunk-4AHAFRLQ.js";import{CheckMiniIcon as Vu}from"./chunk-PZVZQAT7.js";import{CheckSolidIcon as wu}from"./chunk-CL3TM57T.js";import{CheckboxMiniIcon as yu}from"./chunk-NBDXKLRS.js";import{ChartLineSolidIcon as vu}from"./chunk-H4D64QWB.js";import{ChartMiniIcon as xu}from"./chunk-6MK2ZRMR.js";import{ChartSolidIcon as qu}from"./chunk-WSGRNF7K.js";import{ChatAltIcon as zu}from"./chunk-A5M37IYD.js";import{ChatBubbleLeftRightMiniIcon as $u}from"./chunk-EMFPDUC5.js";import{ChatBubbleLeftRightSolidIcon as _u}from"./chunk-FJCROBEY.js";import{ChatBubbleOvalLeftEllipsisMiniIcon as rh}from"./chunk-WKQDQ6PX.js";import{ChatBubbleOvalLeftEllipsisSolidIcon as oh}from"./chunk-5ONLEJND.js";import{CaseSolidIcon as mh}from"./chunk-AJS6MGSR.js";import{CaseUpperMiniIcon as th}from"./chunk-BTKR3L6T.js";import{CaseUpperSolidIcon as ch}from"./chunk-C6PK7DPK.js";import{ChartBarMiniIcon as ih}from"./chunk-PTAWGNOP.js";import{ChartBarSolidIcon as nh}from"./chunk-JKZBUZJL.js";import{ChartBarSquareMiniIcon as sh}from"./chunk-O4VLKJH6.js";import{ChartBarSquareSolidIcon as ph}from"./chunk-WMHMEL4M.js";import{ChartLineMiniIcon as uh}from"./chunk-3AOH4Y5Q.js";import{CartSolidIcon as hh}from"./chunk-5OB5G4ER.js";import{CaseCapitalizedMiniIcon as kh}from"./chunk-LGLWUWLG.js";import{CaseCapitalizedSolidIcon as fh}from"./chunk-COBVYQJ5.js";import{CaseLowerMiniIcon as eh}from"./chunk-6PBWS4U2.js";import{CaseLowerSolidIcon as jh}from"./chunk-BTWIDDUX.js";import{CaseMiniIcon as ah}from"./chunk-7NYUPAF2.js";import{CaseNormalMiniIcon as lh}from"./chunk-K553VJKG.js";import{CaseNormalSolidIcon as dh}from"./chunk-EWO3CHRK.js";import{CarMiniIcon as Qh}from"./chunk-HZWDLCON.js";import{CarSolidIcon as bh}from"./chunk-SJAGP7O5.js";import{CardPaymentAlt2Icon as Ch}from"./chunk-2ASZVLNP.js";import{CardPaymentAltIcon as Jh}from"./chunk-DMALV6HL.js";import{CardPaymentMiniIcon as Nh}from"./chunk-USDDEC5E.js";import{CardPaymentSolidIcon as Rh}from"./chunk-VEWTFCLT.js";import{CartAltIcon as Mh}from"./chunk-EBIWBHDT.js";import{CartMiniIcon as Ph}from"./chunk-SQ3LMAD7.js";import{CalendarAlt2Icon as Fh}from"./chunk-7C6NKEWV.js";import{CalendarAltIcon as Zh}from"./chunk-JANKMZGF.js";import{CalendarMiniIcon as Xh}from"./chunk-KCE2CIH7.js";import{CalendarSolidIcon as Hh}from"./chunk-UM7ENABX.js";import{CameraMiniIcon as Uh}from"./chunk-JFKV3HGY.js";import{CameraSolidIcon as Dh}from"./chunk-CLKX4AYI.js";import{CaptionMiniIcon as gh}from"./chunk-QAQ7AWOR.js";import{CaptionSolidIcon as Kh}from"./chunk-625GKS5W.js";import{BuildingOffice2MiniIcon as Ah}from"./chunk-TC7LOFWX.js";import{BuildingOffice2SolidIcon as Lh}from"./chunk-UC5NQ7J6.js";import{ButtonIconMiniIcon as Wh}from"./chunk-JT54HCG7.js";import{ButtonIconSolidIcon as Eh}from"./chunk-LQ2WXJLJ.js";import{ButtonMiniIcon as Yh}from"./chunk-I4AFC5T6.js";import{ButtonSolidIcon as Th}from"./chunk-BQGZ5XPF.js";import{CalculatorMiniIcon as Bh}from"./chunk-A53BUHOH.js";import{CalculatorSolidIcon as Gh}from"./chunk-VCJ4TFNW.js";import{BreadcrumbMiniIcon as Ih}from"./chunk-SDECOPY3.js";import{BreadcrumbSolidIcon as Sh}from"./chunk-KLAGP4GV.js";import{BriefcaseMiniIcon as Oh}from"./chunk-IRZBGVTB.js";import{BriefcaseSolidIcon as Vh}from"./chunk-XS4HBMDN.js";import{BugMiniIcon as wh}from"./chunk-R2DAQH2T.js";import{BugSolidIcon as yh}from"./chunk-YVLE5OZR.js";import{BuildingLibraryMiniIcon as vh}from"./chunk-TH4CJHHG.js";import{BuildingLibrarySolidIcon as xh}from"./chunk-Z2AQ3XB3.js";import{BorderLeftMiniIcon as qh}from"./chunk-GWXTRUSZ.js";import{BorderLeftSolidIcon as zh}from"./chunk-BLTHZSWG.js";import{BorderRightMiniIcon as $h}from"./chunk-6KGMGZHE.js";import{BorderRightSolidIcon as _h}from"./chunk-U7Y6VI2V.js";import{BorderTopMiniIcon as rk}from"./chunk-SJ23KTCO.js";import{BorderTopSolidIcon as ok}from"./chunk-G3OIMKEO.js";import{BracesMiniIcon as mk}from"./chunk-G5T4NYFR.js";import{BracesSolidIcon as tk}from"./chunk-AHTA7QXO.js";import{BookmarkMiniIcon as ck}from"./chunk-PJZ4TOFR.js";import{BookmarkSolidIcon as ik}from"./chunk-GVSGP4P3.js";import{BookmarkSquareMiniIcon as nk}from"./chunk-YH4GOPT3.js";import{BookmarkSquareSolidIcon as sk}from"./chunk-ERKFGC5C.js";import{BorderAllMiniIcon as pk}from"./chunk-QKEJNJSJ.js";import{BorderAllSolidIcon as uk}from"./chunk-BVZSNZO2.js";import{BorderBottomMiniIcon as hk}from"./chunk-UNETPVQD.js";import{BorderBottomSolidIcon as kk}from"./chunk-EQJFKRK5.js";import{BlogPostMiniIcon as fk}from"./chunk-D2VXCCQV.js";import{BlogPostSolidIcon as ek}from"./chunk-ADILLUBC.js";import{BoldMiniIcon as jk}from"./chunk-OZIHC6LT.js";import{BoldSolidIcon as ak}from"./chunk-JTECQPFZ.js";import{BoltMiniIcon as lk}from"./chunk-WD2PAOXY.js";import{BoltSolidIcon as dk}from"./chunk-RLUX7UZ3.js";import{BookOpenMiniIcon as Qk}from"./chunk-MDEYAVX5.js";import{BookOpenSolidIcon as bk}from"./chunk-KNIHHEZ6.js";import{BlockSectionMiniIcon as Ck}from"./chunk-OONUEZIW.js";import{BlockSectionSolidIcon as Jk}from"./chunk-5L3MHRXQ.js";import{BlockSpacerMiniIcon as Nk}from"./chunk-S2PKAWDA.js";import{BlockSpacerSolidIcon as Rk}from"./chunk-K6ZY2PQV.js";import{BlockTextMiniIcon as Mk}from"./chunk-7YJ6QRFY.js";import{BlockTextSolidIcon as Pk}from"./chunk-IADBERII.js";import{BlockVideoMiniIcon as Fk}from"./chunk-ZMYTKXYP.js";import{BlockVideoSolidIcon as Zk}from"./chunk-X6IMHWDH.js";import{BlockFooterMiniIcon as Xk}from"./chunk-7WLRGQU2.js";import{BlockFooterSolidIcon as Hk}from"./chunk-KN6Z3QSE.js";import{BlockHeadingMiniIcon as Uk}from"./chunk-KHSTQGAQ.js";import{BlockHeadingSolidIcon as Dk}from"./chunk-6OPE4Z6S.js";import{BlockLayeredImagesMiniIcon as gk}from"./chunk-G2KSTEIR.js";import{BlockLayeredImagesSolidIcon as Kk}from"./chunk-KW7DKURL.js";import{BlockProductTitleMiniIcon as Ak}from"./chunk-5C56H7RM.js";import{BlockProductTitleSolidIcon as Lk}from"./chunk-VK4OK5MQ.js";import{BlockBannerMiniIcon as Wk}from"./chunk-H2FH3U4E.js";import{BlockBannerSolidIcon as Ek}from"./chunk-GIU6VXJB.js";import{BlockBoxMiniIcon as Yk}from"./chunk-DIM5ZZ5Y.js";import{BlockBoxSolidIcon as Tk}from"./chunk-3RVAJR6Y.js";import{BlockCouponMiniIcon as Bk}from"./chunk-JZEQTZRG.js";import{BlockCouponSolidIcon as Gk}from"./chunk-LBJQOR7U.js";import{BlockDividerMiniIcon as Ik}from"./chunk-ZMON54V2.js";import{BlockDividerSolidIcon as Sk}from"./chunk-6PAEECEY.js";import{BellPlusSolidIcon as Ok}from"./chunk-TNMTBNFE.js";import{BellSolidIcon as Vk}from"./chunk-D5KZHQUQ.js";import{BillingMiniIcon as wk}from"./chunk-NMZH7XRX.js";import{BillingSolidIcon as yk}from"./chunk-GIDCFJFJ.js";import{BlackAndWhiteMiniIcon as vk}from"./chunk-LHKI2VJW.js";import{BlackAndWhiteSolidIcon as xk}from"./chunk-OOCJAWJB.js";import{BlockBadgeMiniIcon as qk}from"./chunk-TNM6UGRR.js";import{BlockBadgeSolidIcon as zk}from"./chunk-CDXABHGL.js";import{BatterySolidIcon as $k}from"./chunk-L2NH35JL.js";import{BeakerMiniIcon as _k}from"./chunk-Y4HNZVNW.js";import{BeakerSolidIcon as rf}from"./chunk-XAYE2WUP.js";import{BellAlertMiniIcon as of}from"./chunk-YS5B33PA.js";import{BellAlertSolidIcon as mf}from"./chunk-NQ74ZNNG.js";import{BellAltIcon as tf}from"./chunk-FXTYVMSO.js";import{BellMiniIcon as cf}from"./chunk-VZSPQOIL.js";import{BellPlusMiniIcon as nf}from"./chunk-7FKABCZX.js";import{AttachSolidIcon as sf}from"./chunk-F3HV52IQ.js";import{BackgroundMiniIcon as pf}from"./chunk-GJLJDWP2.js";import{BackgroundSolidIcon as uf}from"./chunk-E25DJCZX.js";import{BagMiniIcon as hf}from"./chunk-3UXCHN2Y.js";import{BagSolidIcon as kf}from"./chunk-B64SQUAI.js";import{Bars3BottomLeftMiniIcon as ff}from"./chunk-YIURRPQ7.js";import{Bars3BottomLeftSolidIcon as ef}from"./chunk-UO5KVL7C.js";import{BatteryMiniIcon as jf}from"./chunk-M4PBEZVP.js";import{ArrowUpMiniIcon as af}from"./chunk-NPMGJBVE.js";import{ArrowUpRightMiniIcon as lf}from"./chunk-DCQS3CY7.js";import{ArrowUpRightSolidIcon as df}from"./chunk-SANX3GBB.js";import{ArrowUpSolidIcon as Qf}from"./chunk-OOXD67PN.js";import{AtSymbolMiniIcon as bf}from"./chunk-MM4WJHXO.js";import{AtSymbolSolidIcon as Cf}from"./chunk-UYZAW4XK.js";import{AttachAltIcon as Jf}from"./chunk-7AUFUC7S.js";import{AttachMiniIcon as Nf}from"./chunk-3ZCQPEQB.js";import{ArrowLongRightMiniIcon as Rf}from"./chunk-WDNMERJD.js";import{ArrowLongRightSolidIcon as Mf}from"./chunk-2LCAJKJM.js";import{ArrowRightMiniIcon as Pf}from"./chunk-L5VJEUNL.js";import{ArrowRightSolidIcon as Ff}from"./chunk-QEXKJWAA.js";import{ArrowTrendingDownMiniIcon as Zf}from"./chunk-IW3H2NIS.js";import{ArrowTrendingDownSolidIcon as Xf}from"./chunk-KQHNX5WQ.js";import{ArrowTrendingUpMiniIcon as Hf}from"./chunk-C7PJ2BFZ.js";import{ArrowTrendingUpSolidIcon as Uf}from"./chunk-WRVHXP72.js";import{ArchiveBoxMiniIcon as Df}from"./chunk-CVWRL3SR.js";import{ArchiveBoxSolidIcon as gf}from"./chunk-DSRZ22NW.js";import{ArrowDownMiniIcon as Kf}from"./chunk-UEETKW2R.js";import{ArrowDownSolidIcon as Af}from"./chunk-BUA6AISP.js";import{ArrowLeftEndOnRectangleMiniIcon as Lf}from"./chunk-6SGFZZNU.js";import{ArrowLeftEndOnRectangleSolidIcon as Wf}from"./chunk-H3CZUUUV.js";import{ArrowLeftMiniIcon as Ef}from"./chunk-XK2TKHHU.js";import{ArrowLeftSolidIcon as Yf}from"./chunk-XQFFEQNA.js";import{AlignmentMiniIcon as Tf}from"./chunk-GCR66E4S.js";import{AlignmentSolidIcon as Bf}from"./chunk-3LG5YFCK.js";import{AnchorMiniIcon as Gf}from"./chunk-ZRPTWML6.js";import{AnchorSolidIcon as If}from"./chunk-SRX7THEC.js";import{AnimationMiniIcon as Sf}from"./chunk-4ZI75XUP.js";import{AnimationSolidIcon as Of}from"./chunk-RLY6QGCY.js";import{AppsMiniIcon as Vf}from"./chunk-C5FRN2MO.js";import{AppsSolidIcon as wf}from"./chunk-KKBQRMEQ.js";import{AlignJustifyMiniIcon as yf}from"./chunk-UI2XKCNM.js";import{AlignJustifySolidIcon as vf}from"./chunk-IQAFZJO5.js";import{AlignLeftMiniIcon as xf}from"./chunk-DOBDKX3N.js";import{AlignLeftSolidIcon as qf}from"./chunk-UBS44QNF.js";import{AlignRightMiniIcon as zf}from"./chunk-JHTRFNOJ.js";import{AlignRightSolidIcon as $f}from"./chunk-DP7WVTGQ.js";import{AlignSeparateMiniIcon as _f}from"./chunk-LSSZLU65.js";import{AlignSeparateSolidIcon as re}from"./chunk-MKS6YLYR.js";import{AddMiniIcon as oe}from"./chunk-PMAX5YW2.js";import{AddPersonMiniIcon as me}from"./chunk-77USZ3CH.js";import{AddPersonSolidIcon as te}from"./chunk-EJ7CUJUL.js";import{AddSolidIcon as ce}from"./chunk-SSYXGVCW.js";import{AdjustMiniIcon as ie}from"./chunk-MUUIDQKX.js";import{AdjustSolidIcon as ne}from"./chunk-FFTCTT6J.js";import{AlignCenterMiniIcon as se}from"./chunk-CJWPYYJZ.js";import{AlignCenterSolidIcon as pe}from"./chunk-7U6KJNZ2.js";import{AccountAltIcon as ue}from"./chunk-EYBN5UBA.js";import{AccountCircleMiniIcon as he}from"./chunk-ONJKQ4F4.js";import{AccountCircleSolidIcon as ke}from"./chunk-PMP4MCXR.js";import{AccountMiniIcon as fe}from"./chunk-VHGJTJ5C.js";import{AccountSolidIcon as ee}from"./chunk-LMF4FIGQ.js";import{AccountUserCircleIcon as je}from"./chunk-3OIQSCGM.js";import{AddCircleMiniIcon as ae}from"./chunk-DFAIY54I.js";import{AddCircleSolidIcon as le}from"./chunk-DTLKYF45.js";import{AcademicCapMiniIcon as de}from"./chunk-JSGNZTYP.js";import{AcademicCapSolidIcon as Qe}from"./chunk-4XM7JDQT.js";import{AccentMiniIcon as be}from"./chunk-FA6U6ZML.js";import{AccentSolidIcon as Ce}from"./chunk-ZTN72H54.js";var Je=["alt","alt-2","alt-3","arrow-path-rounded-square","building-storefront-20-solid","document","mini","pencil-square","queue-list","rectangle-stack","solid","user-circle","user-group"],Ne={name:"efficient",label:"Efficient",icons:{},looks:{alt:{account:ue,attach:Jf,bell:tf,"block-image":vi,"block-included-list":ji,calendar:Zh,"calendar-check":Zh,"card-payment":Jh,cart:Mh,category:rs,chat:zu,check:Iu,"close-circle":uu,copy:Ep,dashboard:Fn,desktop:pp,document:rp,"document-check":op,dollar:ys,download:Ws,drag:Ts,duplicate:Xs,edit:gs,email:Cs,external:js,flag:zn,folder:rs,globe:Tn,grid:Fn,image:vi,inbox:Ti,info:Ii,layers:Ki,layout:Ei,list:ji,lock:wc,map:Ec,page:Bt,"paint-brush":Ur,phone:jt,play:it,"rectangle-group":Ei,refresh:Xm,rename:gs,scale:fm,"scroll-text":rp,search:mm,send:pm,sort:no,sparkles:ko,star:Or,styles:Ur,tag:ar,target:Qr,title:zn,trash:I,truck:V,wheel:Qr},"alt-2":{"block-included-list":fi,calendar:Fh,"calendar-check":Fh,"card-payment":Ch,copy:Wp,document:_s,edit:Ds,external:es,list:fi,rename:Ds,"scroll-text":_s,search:om,send:sm,sparkles:uo,trash:tr},"alt-3":{"block-included-list":ei,list:ei,sparkles:ho},"arrow-path-rounded-square":{refresh:Hm},"building-storefront-20-solid":{store:Gr},document:{document:cp,"scroll-text":cp},mini:{"academic-cap":de,accent:be,account:fe,"account-circle":he,add:oe,"add-circle":ae,"add-person":me,adjust:ie,"align-center":se,"align-justify":yf,"align-left":xf,"align-right":zf,"align-separate":_f,alignment:Tf,anchor:Gf,animation:Sf,apps:Vf,"archive-box":Df,arrow:Pf,"arrow-down":Kf,"arrow-left":Ef,"arrow-left-end-on-rectangle":Lf,"arrow-long-right":Rf,"arrow-right":Pf,"arrow-trending-down":Zf,"arrow-trending-up":Hf,"arrow-up":af,"arrow-up-right":lf,"at-symbol":bf,attach:Nf,background:pf,bag:hf,bank:vh,"bars-3-bottom-left":ff,battery:jf,beaker:_k,bell:cf,"bell-alert":of,"bell-plus":nf,billing:wk,"black-and-white":vk,"block-badge":qk,"block-banner":Wk,"block-box":Yk,"block-button":Yh,"block-column":Ip,"block-coupon":Bk,"block-divider":Ik,"block-footer":Xk,"block-heading":Uk,"block-image":xi,"block-included-list":oi,"block-layered-images":gk,"block-product":mt,"block-product-title":Ak,"block-section":Ck,"block-social":So,"block-spacer":Nk,"block-text":Mk,"block-video":Fk,"blog-post":fk,bold:jk,bolt:lk,"book-open":Qk,bookmark:ck,"bookmark-square":nk,"border-all":pk,"border-bottom":hk,"border-left":qh,"border-right":$h,"border-top":rk,braces:mk,breadcrumb:Ih,briefcase:Oh,bug:wh,"bug-ant":wh,"building-library":vh,"building-office-2":Ah,button:Yh,"button-arrow":Pf,"button-icon":Wh,calculator:Bh,calendar:Xh,"calendar-check":Xh,camera:Uh,caption:gh,car:Qh,"card-payment":Nh,caret:Eu,cart:Ph,case:ah,"case-capitalized":kh,"case-lower":eh,"case-normal":lh,"case-upper":th,category:os,chart:xu,"chart-bar":ih,"chart-bar-square":sh,"chart-line":uh,chat:Bu,"chat-bubble-left-right":$u,"chat-bubble-oval-left-ellipsis":rh,check:Vu,"check-circle":Su,checkbox:yu,chevron:Eu,"chevron-double":Lu,"chevron-double-left":Ku,"chevron-double-right":Lu,"chevron-down":Eu,"chevron-left":Tu,"chevron-right":Pu,"chevron-up":Hu,"chevron-up-down":Zu,"circle-stack":Du,"clear-marks":du,clipboard:Ju,"clipboard-check":Ap,"clipboard-document-list":bu,"clipboard-list":bu,clock:Ru,close:fu,"close-circle":hu,cloud:nu,"cloud-alert":ju,"cloud-arrow-up":ru,"cloud-check":mu,"cloud-download":cu,"cloud-pause":su,"cloud-slash":yp,code:qp,"code-bracket":qp,collapse:$p,"collapse-all":$p,"column-gap":Yp,"column-widths":Bp,columns:Ip,company:Op,compose:Up,contrast:gp,cookie:Du,copied:Ap,copy:Np,"copy-style":Mp,"copy-to-page":Fp,corner:Xp,crop:jp,"cube-transparent":lp,cursor:Cp,"cursor-arrow-rays":Qp,"cursor-click":Qp,dashboard:Zn,date:np,desktop:up,diagram:kp,direction:ep,"direction-down":Kf,"direction-left":Ef,"direction-right":Pf,"direction-up":af,document:Vs,"document-check":mp,"document-magnifying-glass":ip,dollar:vs,dot:qs,download:Es,drag:Bs,drop:Is,duplicate:Hs,edit:Ks,email:Js,eraser:Rs,error:Ps,expand:Zs,external:as,eye:ds,"eye-off":Qs,"face-smile":is,filter:ss,finish:us,fire:ks,flag:$n,folder:os,"folder-open":ms,"folder-plus":In,forward:Vn,"full-width":yn,gap:xn,gem:Ln,gift:En,globe:Bn,grid:Zn,ground:Hn,hand:Dn,"hand-thumb-up":Kn,hash:bn,headquarters:Jn,heart:Rn,height:Pn,help:kn,"help-off":fn,hexagon:an,home:dn,hover:mn,"icon-after-text":cn,"icon-before-text":sn,identification:un,image:xi,"image-off":qi,images:_i,inbox:Bi,info:Si,italic:Vi,key:Di,layers:Ai,layout:Yi,"letter-spacing":Mi,lightbulb:Fi,"line-between":Xi,"line-dashed":Ui,"line-dotted":li,"line-solid":Qi,"line-spacing":Ci,"line-style":Ni,link:pi,"link-slash":ui,list:oi,"list-format":_c,"list-none":mi,location:ni,lock:yc,logo:xc,logout:zc,map:Yc,media:gc,"media-layout-big-two":Bc,"media-layout-inset":Ic,"media-layout-side-by-side":Oc,"media-layout-stacked":Uc,megaphone:Ac,menu:Wc,meta:Nc,microphone:Mc,money:Fc,moon:Xc,more:jc,"more-vertical":lc,"move-down":Kf,"move-up":af,newspaper:fk,"no-symbol":Qc,note:Cc,nudge:nc,"numbered-list":pc,opacity:hc,"own-text":fc,package:$t,"package-open":_t,"padding-all":mc,"padding-bottom":cc,"padding-left":Ot,"padding-left-right":Vt,"padding-right":vt,"padding-top":qt,"padding-x":Wt,"padding-y":Yt,page:Gt,"paint-brush":Dr,palette:Zt,"panel-left":Ht,"panel-right":Dt,"paragraph-spacing":Kt,parcel:$t,paste:Ju,"paste-style":bt,pause:Jt,pen:Rt,people:Pt,percent:ft,phone:dt,"phone-hidden":at,placement:tt,play:nt,"plus-minus":pt,power:ht,"presentation-chart-bar":qm,print:$m,product:mt,"product-field":rt,"product-size":Gm,progress:Om,quote:wm,"radio-dot":vm,radius:Am,receipt:Wm,"receipt-percent":Em,"receipt-refund":Tm,"rectangle-group":Yi,redo:Fm,refresh:Um,remove:gm,"remove-circle":gm,rename:Ks,reply:Cm,"reply-all":Qm,revert:Nm,robot:Mm,rotate:hm,scale:em,"scroll-point":am,"scroll-text":Vs,search:tm,"select-all":im,send:yo,server:xo,settings:zo,shadow:_o,"shape-ellipse":To,"shape-rect":Go,share:So,"shield-check":Vo,"shield-exclamation":Do,"sides-each":Ko,signal:Lo,"signal-slash":Wo,sitemap:Ro,"slide-arrows-bare":Pu,"slide-arrows-round":Po,"slide-arrows-square":Zo,"slide-picker-bar":Ho,"slide-picker-cards":jo,"slide-picker-dots":lo,"slide-picker-numbers":bo,"slide-picker-squares":Jo,sort:so,sparkles:fo,speaker:$r,"speaker-wave":$r,"spec-table":ro,split:mo,square:co,star:Vr,state:yr,"status-circle":xr,"status-dot":zr,sticky:Er,"stop-circle":Tr,store:Ir,strike:Xr,styles:Dr,subscript:Kr,"success-burst":U,sun:Lr,superscript:Jr,swap:Rr,swatch:us,table:Pr,tablet:Zr,tabs:er,tag:lr,target:br,team:ir,telephone:sr,template:ck,"text-color":ur,"text-lines":ff,"text-size":kr,"text-small":z,"text-value":_,texture:or,theme:us,ticket:Bk,title:$n,trash:S,trigger:lk,truck:w,tv:v,type:A,tyre:W,underline:Y,undo:B,upload:F,"v-align":X,verified:U,"video-off":g,"view-columns":Q,wallet:C,warning:N,weight:M,wheel:br,widgets:h,width:f,window:j,windows:l,"words-from":m,wrap:c,wrench:n,"wrench-screwdriver":s,"zoom-in":r},"pencil-square":{edit:As,rename:As},"queue-list":{"block-included-list":ci,list:ci},"rectangle-stack":{layers:Li},solid:{"academic-cap":Qe,accent:Ce,account:ee,"account-circle":ke,add:ce,"add-circle":le,"add-person":te,adjust:ne,"align-center":pe,"align-justify":vf,"align-left":qf,"align-right":$f,"align-separate":re,alignment:Bf,anchor:If,animation:Of,apps:wf,"archive-box":gf,arrow:Ff,"arrow-down":Af,"arrow-left":Yf,"arrow-left-end-on-rectangle":Wf,"arrow-long-right":Mf,"arrow-right":Ff,"arrow-trending-down":Xf,"arrow-trending-up":Uf,"arrow-up":Qf,"arrow-up-right":df,"at-symbol":Cf,attach:sf,background:uf,bag:kf,bank:xh,"bars-3-bottom-left":ef,battery:$k,beaker:rf,bell:Vk,"bell-alert":mf,"bell-plus":Ok,billing:yk,"black-and-white":xk,"block-badge":zk,"block-banner":Ek,"block-box":Tk,"block-button":Th,"block-column":Sp,"block-coupon":Gk,"block-divider":Sk,"block-footer":Hk,"block-heading":Dk,"block-image":$i,"block-included-list":ii,"block-layered-images":Kk,"block-product":Sm,"block-product-title":Lk,"block-section":Jk,"block-social":Oo,"block-spacer":Rk,"block-text":Pk,"block-video":Zk,"blog-post":ek,bold:ak,bolt:dk,"book-open":bk,bookmark:ik,"bookmark-square":sk,"border-all":uk,"border-bottom":kk,"border-left":zh,"border-right":_h,"border-top":ok,braces:tk,breadcrumb:Sh,briefcase:Vh,bug:yh,"bug-ant":yh,"building-library":xh,"building-office-2":Lh,button:Th,"button-arrow":Ff,"button-icon":Eh,calculator:Gh,calendar:Hh,"calendar-check":Hh,camera:Dh,caption:Kh,car:bh,"card-payment":Rh,caret:Yu,cart:hh,case:mh,"case-capitalized":fh,"case-lower":jh,"case-normal":dh,"case-upper":ch,category:On,chart:qu,"chart-bar":nh,"chart-bar-square":ph,"chart-line":vu,chat:Gu,"chat-bubble-left-right":_u,"chat-bubble-oval-left-ellipsis":oh,check:wu,"check-circle":Ou,checkbox:gu,chevron:Yu,"chevron-double":Wu,"chevron-double-left":Au,"chevron-double-right":Wu,"chevron-down":Yu,"chevron-left":Mu,"chevron-right":Fu,"chevron-up":Uu,"chevron-up-down":Xu,"circle-stack":lu,"clear-marks":Qu,clipboard:Nu,"clipboard-check":Lp,"clipboard-document-list":Cu,"clipboard-list":Cu,clock:pu,close:eu,"close-circle":ku,cloud:xp,"cloud-alert":au,"cloud-arrow-up":ou,"cloud-check":tu,"cloud-download":iu,"cloud-pause":wp,"cloud-slash":vp,code:zp,"code-bracket":zp,collapse:_p,"collapse-all":_p,"column-gap":Tp,"column-widths":Gp,columns:Sp,company:Vp,compose:Dp,contrast:Kp,cookie:lu,copied:Lp,copy:Rp,"copy-style":Pp,"copy-to-page":Zp,corner:Hp,crop:ap,"cube-transparent":dp,cursor:Jp,"cursor-arrow-rays":bp,"cursor-click":bp,dashboard:Xn,date:sp,desktop:hp,diagram:fp,direction:$s,"direction-down":Af,"direction-left":Yf,"direction-right":Ff,"direction-up":Qf,document:ws,"document-check":tp,"document-magnifying-glass":Os,dollar:xs,dot:zs,download:Ys,drag:Gs,drop:Ss,duplicate:Us,edit:Ls,email:Ns,eraser:Ms,error:Fs,expand:fs,external:ls,eye:cs,"eye-off":bs,"face-smile":ns,filter:ps,finish:hs,fire:qn,flag:_n,folder:On,"folder-open":ts,"folder-plus":Sn,forward:wn,"full-width":vn,gap:An,gem:Wn,gift:Yn,globe:Gn,grid:Xn,ground:Un,hand:gn,"hand-thumb-up":Qn,hash:Cn,headquarters:Nn,heart:Mn,height:hn,help:jn,"help-off":en,hexagon:ln,home:on,hover:tn,"icon-after-text":nn,"icon-before-text":pn,identification:yi,image:$i,"image-off":zi,images:rn,inbox:Gi,info:Oi,italic:wi,key:gi,layers:Wi,layout:Ri,"letter-spacing":Pi,lightbulb:Zi,"line-between":Hi,"line-dashed":ai,"line-dotted":di,"line-solid":bi,"line-spacing":Ji,"line-style":si,link:ki,"link-slash":hi,list:ii,"list-format":ri,"list-none":ti,location:Vc,lock:vc,logo:qc,logout:$c,map:Tc,media:Kc,"media-layout-big-two":Gc,"media-layout-inset":Sc,"media-layout-side-by-side":Hc,"media-layout-stacked":Dc,megaphone:Lc,menu:Jc,meta:Rc,microphone:Pc,money:Zc,moon:ec,more:ac,"more-vertical":dc,"move-down":Af,"move-up":Qf,newspaper:ek,"no-symbol":bc,note:ic,nudge:sc,"numbered-list":uc,opacity:kc,"own-text":zt,package:oc,"package-open":rc,"padding-all":tc,"padding-bottom":St,"padding-left":yt,"padding-left-right":wt,"padding-right":xt,"padding-top":Lt,"padding-x":Et,"padding-y":Tt,page:It,"paint-brush":gr,palette:Xt,"panel-left":Ut,"panel-right":gt,"paragraph-spacing":At,parcel:oc,paste:Nu,"paste-style":Ct,pause:Nt,pen:Mt,people:Ft,percent:et,phone:Qt,"phone-hidden":lt,placement:ct,play:st,"plus-minus":ut,power:xm,"presentation-chart-bar":zm,print:_m,product:Sm,"product-field":ot,"product-size":Im,progress:Vm,quote:ym,"radio-dot":Km,radius:Lm,receipt:Pm,"receipt-percent":Ym,"receipt-refund":Bm,"rectangle-group":Ri,redo:Zm,refresh:Dm,remove:dm,"remove-circle":dm,rename:Ls,reply:Jm,"reply-all":bm,revert:Rm,robot:um,rotate:km,scale:jm,"scroll-point":lm,"scroll-text":ws,search:cm,"select-all":nm,send:vo,server:qo,settings:$o,shadow:rm,"shape-ellipse":Bo,"shape-rect":Io,share:Oo,"shield-check":wo,"shield-exclamation":go,"sides-each":Ao,signal:Yo,"signal-slash":Eo,sitemap:Mo,"slide-arrows-bare":Fu,"slide-arrows-round":Fo,"slide-arrows-square":Xo,"slide-picker-bar":Uo,"slide-picker-cards":ao,"slide-picker-dots":Qo,"slide-picker-numbers":Co,"slide-picker-squares":No,sort:po,sparkles:eo,speaker:_r,"speaker-wave":_r,"spec-table":oo,split:to,square:io,star:wr,state:vr,"status-circle":qr,"status-dot":Wr,sticky:Yr,"stop-circle":Br,store:Sr,strike:Hr,styles:gr,subscript:Ar,"success-burst":D,sun:Cr,superscript:Nr,swap:Mr,swatch:hs,table:Fr,tablet:fr,tabs:jr,tag:dr,target:cr,team:nr,telephone:pr,template:ik,"text-color":hr,"text-lines":ef,"text-size":q,"text-small":$,"text-value":rr,texture:mr,theme:hs,ticket:Gk,title:_n,trash:O,trigger:dk,truck:y,tv:x,type:L,tyre:E,underline:T,undo:G,upload:Z,"v-align":H,verified:D,"video-off":K,"view-columns":b,wallet:J,warning:R,weight:P,wheel:cr,widgets:k,width:e,window:a,windows:d,"words-from":t,wrap:i,wrench:u,"wrench-screwdriver":p,"zoom-in":o},"user-circle":{account:je},"user-group":{people:kt}}};export{Je as efficientLookNames,Ne as efficientLooks};
|
package/dist/chunk-BEWEQ6BP.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{DropdownMenu as e}from"./chunk-7RDFRWF3.js";import{Button_default as i}from"./chunk-FSP63GKK.js";import{iconButtonClasses as n}from"./chunk-K7U4RWXJ.js";import{Icon as r}from"./chunk-C2HHGLLR.js";import{Tooltip as a}from"./chunk-Z3WKHMVB.js";import{forwardRef as l,useId as o}from"react";import{jsxs as s,jsx as t}from"react/jsx-runtime";var d="relative focus-visible:z-10",m={secondary:"border-l-0",primary:"border-l border-white/30",warning:"border-l border-white/30"},c=l(function({children:l,onClick:c,type:b="button",items:h,menuLabel:u,variant:f="primary",size:p="md",loading:v=!1,leftIcon:k,disabled:g=!1,disabledReason:N,tooltip:w,menuDisabled:x=!1,menuDisabledReason:j,onMenuOpenChange:y,menuFooter:R,menuFooterLabel:W,align:C="end",side:F="bottom",menuMinWidth:L,linkAs:z,block:K=!1,className:D=""},H){const M=g&&(null!=N&&""!==N&&!1!==N)&&!v,$=x&&null!=j&&""!==j&&!1!==j,A=o(),B=/* @__PURE__ */t(i,{ref:H,type:b,variant:f,size:p,loading:v,leftIcon:k,block:K,disabled:g&&!M,"aria-disabled":!!M||void 0,disabledReason:M?N:void 0,onClick:c,className:`rounded-r-none ${d}`,children:l}),G=K?"relative flex min-w-0 flex-1":"relative inline-flex",I=p.startsWith("touch")?"h-5 w-5":"h-4 w-4";/* @__PURE__ */
|
|
2
|
-
return s("div",{className:[K?"flex w-full":"inline-flex","items-stretch",D].filter(Boolean).join(" "),children:[null==w||""===w||M?B:/* @__PURE__ */t(a,{content:w,className:G,children:B}),
|
|
3
|
-
/* @__PURE__ */t(a,{content:$?j:u,describe:!1,className:"relative inline-flex shrink-0",children:/* @__PURE__ */t(e,{"aria-label":u,"aria-describedby":$?A:void 0,items:h,align:C,side:F,minWidth:L,linkAs:z,disabled:x&&!$,"aria-disabled":$,onOpenChange:y,footer:R,footerLabel:W,triggerClassName:n({variant:f,size:p,className:`rounded-l-none ${m[f]} ${d}`}),trigger:/* @__PURE__ */t(r,{name:"chevron-down",className:I,strokeWidth:2,"aria-hidden":"true"})})}),$&&/* @__PURE__ */t("span",{id:A,className:"sr-only",children:j})]})});export{c as SplitButton_default};
|
package/dist/chunk-BXCWPHU6.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var r="8.11.0",a=r;export{a as APP_VERSION,r as VERSION};
|
package/dist/chunk-H7BP5LLG.js
DELETED
|
@@ -1,99 +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-TPDOOCFS.js";import{reportBoundaryError as u}from"./chunk-KNUR2UEG.js";import{isStaleChunkError as d}from"./chunk-JDCM2VHG.js";import{Result as h}from"./chunk-BXRWPGAT.js";import{CMD_Z as m,CMD_SHIFT_Z as p}from"./chunk-Y53KNQKL.js";import{ColoredBadge as f}from"./chunk-CJUN2VOD.js";import{CopyButton as w}from"./chunk-4A2X6KLQ.js";import{confirm as y}from"./chunk-CP6FITHO.js";import{dialogA11y as g}from"./chunk-VWGWZY7A.js";import{useShellPrefs as b}from"./chunk-KC3EX26K.js";import{PopupMenu as v,PopupMenuItem as x,PopupMenuDivider as k,PopupMenuLabel as E}from"./chunk-RAHIWTPJ.js";import{useIsMobile as C,useIsPhone as M}from"./chunk-UGTRSRIW.js";import{StatusBadge as N}from"./chunk-BOGBLZKS.js";import{focusableIn as S}from"./chunk-CDAJKLGL.js";import{Button_default as L}from"./chunk-FSP63GKK.js";import{Icon as T}from"./chunk-C2HHGLLR.js";import{LoadingSpinner as z}from"./chunk-Q5MD3VY6.js";import{Z_LAYERS as A}from"./chunk-62LW225J.js";import{runEscapeInterceptors as D}from"./chunk-TWVUQUUD.js";import{useShellStrings as P}from"./chunk-OVNRVFWS.js";import{createContext as I,useContext as K,Component as W,useLayoutEffect as R,useRef as $,useEffect as O,useState as j,useSyncExternalStore as F,useCallback as q,isValidElement as B,Fragment as H,Children as U,cloneElement as Y,useMemo as X,useId as V,useReducer as _,Suspense as G}from"react";import{jsxs as J,jsx as Q,Fragment as Z}from"react/jsx-runtime";import{createPortal as ee}from"react-dom";import{useLocation as te}from"react-router-dom";import{useQueryClient as ne,useQuery as re}from"@tanstack/react-query";function oe(e){return"component"in e}function ie(e){return"endpoint"in e}var ae={};function se(e){ae=e}var le=new Proxy({},{get:(e,t)=>ae[t],has:(e,t)=>t in ae,ownKeys:()=>Object.keys(ae),getOwnPropertyDescriptor(e,t){if(t in ae)return{configurable:!0,enumerable:!0,value:ae[t]}}}),ce=null;function ue(e){ce=e}function de(){return null!==ce}var he=/* @__PURE__ */new Set(["get","post","put","patch","delete","head","options","request"]),me=new Proxy({},{get:(e,t)=>ce?ce[t]:"string"==typeof t&&he.has(t)?()=>Promise.resolve({data:null,status:0,statusText:"",headers:{},config:{}}):void 0}),pe=I(null);function fe(){return K(pe)?.pageSearch??""}var we=null,ye=/* @__PURE__ */new Set;function ge(e){we!==e&&(we=e,ye.forEach(e=>e()))}function be(){return we}function ve(e){return ye.add(e),()=>{ye.delete(e)}}function xe({error:e,onReload:t}){const n=d(e);/* @__PURE__ */
|
|
2
|
-
return J("div",{className:"flex-1 flex flex-col items-center justify-center gap-3 px-6 py-12 text-center",children:[
|
|
3
|
-
/* @__PURE__ */Q(T,{name:"warning",className:"h-8 w-8 text-amber-500",strokeWidth:1.5}),
|
|
4
|
-
/* @__PURE__ */J("div",{className:"min-w-0",children:[
|
|
5
|
-
/* @__PURE__ */Q("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__ */Q("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__ */Q("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 ke=class extends W{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),u(e)}reset=()=>this.setState({error:null});render(){const{error:e}=this.state;return e?this.props.fallback?this.props.fallback(e,this.reset):/* @__PURE__ */Q(xe,{error:e,onReload:this.reset}):this.props.children}},Ee=I(null),Ce="text-xs text-gray-500 hover:text-gray-700 disabled:opacity-40 disabled:hover:text-gray-500 disabled:cursor-default";function Me({className:e="",auto:t=!1}){const n=K(Ee),r=P().undo,o=n?.claimOwnMount;if(R(()=>{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 J("div",{className:`flex items-center gap-2 ${e}`,"data-undo-controls":t?"shell":"form",children:[
|
|
9
|
-
/* @__PURE__ */Q("button",{type:"button",onClick:i,disabled:!s,title:s?r.undoStep(c??"",m):r.nothingToUndo,className:Ce,children:r.undo}),
|
|
10
|
-
/* @__PURE__ */Q("button",{type:"button",onClick:a,disabled:!l,title:l?r.redoStep(u??"",p):r.nothingToRedo,className:Ce,children:r.redo})]})}var Ne=/* @__PURE__ */new Set([408,429]);function Se(e){const t=e?.response?.status;return"number"==typeof t?t:void 0}function Le(e){const t=Se(e);return null!=t&&(t>=400&&t<500&&!Ne.has(t))}function Te(e,t){return!Le(t)&&e<3}function ze(){const e=P().loading;/* @__PURE__ */
|
|
11
|
-
return Q(z,{size:"sm",padding:"p-8",label:e.label})}var Ae="flex-1 min-h-0";function De(){const e=P().record;/* @__PURE__ */
|
|
12
|
-
return Q(z,{label:e.loading,padding:"",className:Ae})}function Pe(e){return e??void 0}function Ie({isPending:e,isFetching:t,enabled:n=!0,error:r,onRetry:o}){const i=P().record;if(t||e&&n)/* @__PURE__ */return Q(De,{});if(r){const e=Se(r);if(401===e)/* @__PURE__ */
|
|
13
|
-
return Q(h,{status:"warning",title:i.signInRequired,subTitle:i.signInBody,className:Ae});if(403===e)/* @__PURE__ */
|
|
14
|
-
return Q(h,{status:"403",className:Ae});if(404===e||410===e)/* @__PURE__ */
|
|
15
|
-
return Q(h,{status:"404",title:i.notFound,className:Ae});const t=null==e||408===e||429===e||e>=500;/* @__PURE__ */
|
|
16
|
-
return Q(h,{status:"500",title:i.loadFailed,subTitle:t?i.checkConnection:i.rejected,extra:t?/* @__PURE__ */Q(L,{variant:"secondary",size:"sm",onClick:o,children:i.retry}):void 0,className:Ae})}/* @__PURE__ */
|
|
17
|
-
return Q(h,{status:"404",title:i.notFound,className:Ae})}function Ke({entity:e,children:t,...n}){return null!=e?/* @__PURE__ */Q(Z,{children:t(e)}):/* @__PURE__ */Q(Ie,{...n})}var We=/^[a-z]+(?:-[a-z]+)*-\d{13}$/;function Re(e){return"string"==typeof e&&(e.startsWith("new-")||We.test(e))}function $e(e){if(Re(e.entityId))return!0;const t=e.entitySnapshot;return!(!t||"object"!=typeof t||!t._new&&!t._duplicate)}var Oe=I({openWindows:[],openEntity:()=>{},openPage:()=>{},closeEntity:()=>{},minimize:()=>{},items:[],restore:()=>{},remove:()=>{},restoreIfMinimized:()=>!1,openItems:[]}),je=I(null);function Fe(e){const t=K(je),n=$(null);null===n.current&&(n.current=/* @__PURE__ */Symbol("window-dirty")),R(()=>{if(t)return t(n.current,e)},[t,e]),O(()=>{if(!t||!e)return;const n=e=>{e.preventDefault(),e.returnValue=""};return window.addEventListener("beforeunload",n),()=>window.removeEventListener("beforeunload",n)},[t,e])}function qe(){const e=$(/* @__PURE__ */new Map),[t,n]=j(!1);return{dirty:t,registerDirty:q((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 Be(){return K(Oe)}function He(e){if("page"!==e.type&&$e(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 Ue({item:e,onClose:t,accentRgb:n}){const{dirty:r,registerDirty:o}=qe(),i=le[e.route];if(!i||!oe(i))return null;const a=i,s=a.component;/* @__PURE__ */
|
|
18
|
-
return Q($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__ */Q(je.Provider,{value:o,children:/* @__PURE__ */Q(G,{fallback:/* @__PURE__ */Q("div",{className:"flex items-center justify-center py-12",children:/* @__PURE__ */Q(ze,{})}),children:/* @__PURE__ */Q(s,{})})})})}function Ye({entityType:e,entityId:t,label:n}){const r=P(),o=ne(),{data:i}=re({queryKey:["my-profile-sidebar"],enabled:de(),queryFn:()=>me.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 Q("button",{onClick:()=>{const r=s?a.filter(n=>!(n.entityType===e&&n.entityId===t)):[...a,{entityType:e,entityId:t,label:n}];me.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__ */Q(T,{name:"star",className:"h-4 w-4",fill:s?"currentColor":"none",strokeWidth:1.5})})}var Xe=/* @__PURE__ */new Set;function Ve({item:e,onClose:t,onMinimize:n,accentRgb:r}){const o=le[e.entityType];if(!o||!ie(o))return null;const i=o,[a,s]=j(!1),{dirty:l,registerDirty:u}=qe(),d=i.queryKey||i.endpoint.replace(/^\/|\/$/g,"").split("/").pop()||e.entityType,h=e.entitySnapshot?._duplicate,m=Re(e.entityId),p=!i.selfFetching&&!h&&!m&&de(),f=re({queryKey:[d,e.entityId],queryFn:()=>{return me.get((t=i.endpoint,n=String(e.entityId),`${t}${encodeURIComponent(n)}/`)).then(e=>e.data);var t,n},initialData:Pe(e.entitySnapshot),initialDataUpdatedAt:0,enabled:p,staleTime:0,refetchOnWindowFocus:!0,refetchOnMount:"always",refetchInterval:e=>!Le(e.state.error)&&6e4,refetchIntervalInBackground:!1,retry:Te}),w=f.data,y=f.refetch;O(()=>{var t;if(p)return t=t=>{t!==e.id||Xe.has(t)||y({cancelRefetch:!1})},qn.add(t),()=>{qn.delete(t)}},[y,e.id,p]);const g=q(()=>{a&&!l?s(!1):t()},[a,l,t]),b=i.selfFetching?e.label:w?i.title(w,a,s):e.label,v=i.icon,x=v?c[v]:null,k=b,E=!i.selfFetching&&w&&i.footer&&!h?i.footer(w):void 0;return i.rendersOwnModal?i.selfFetching?/* @__PURE__ */Q(G,{fallback:/* @__PURE__ */Q(ze,{}),children:i.render(w??e.entitySnapshot,t,e.entityId,a,s)}):null!=w?/* @__PURE__ */Q(G,{fallback:/* @__PURE__ */Q($r,{open:!0,onClose:t,title:e.label,size:i.size||"2xl",children:/* @__PURE__ */Q(De,{})}),children:i.render(w,t,e.entityId,a,s)}):/* @__PURE__ */Q($r,{open:!0,onClose:t,title:e.label,size:i.size||"2xl",children:/* @__PURE__ */Q(Ie,{isPending:f.isPending,isFetching:f.isFetching,enabled:p,error:f.error,onRetry:y})}):/* @__PURE__ */Q($r,{open:!0,onClose:g,onMinimize:n,initialBox:e.savedBox,icon:x,title:k,footer:E,copyText:e.label,windowKey:e.id,openedFromKey:e.openedFrom,size:i.size||"2xl",dirty:l,editing:a||m||h,dimensions:i.dimensions,autoHeight:i.autoHeight,autoMinHeight:i.autoMinHeight,autoWidth:i.autoWidth,appStyle:i.appStyle,flushBody:i.flushBody,accentRgb:r,children:/* @__PURE__ */Q(je.Provider,{value:u,children:/* @__PURE__ */Q(G,{fallback:/* @__PURE__ */Q(De,{}),children:i.selfFetching?i.render(null,t,e.entityId,a,s):/* @__PURE__ */Q(Ke,{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 _e(e){return document.querySelector(`[data-modal-panel][data-window-key="${e}"]`)}function Ge(e){return document.querySelector(`[data-modal-panel][data-window-root][data-window-owner="${e}"]`)}function Je(e){const t=_e(e),n=t??Ge(e);if(!n)return;if(t&&!er(t))return r=e,void window.dispatchEvent(new CustomEvent("modal-reveal",{detail:{windowKey:r}}));var r;const o=n.getAttribute("data-modal-id");o&&Bn(o)}function Qe(e){if("page"!==e.type)return!0;const t=e.route?le[e.route]:void 0;if(!t||!oe(t))return!0;const n=t;return!n.widget&&!n.utility}function Ze(){const e=pr();if(!e)return;const t=document.querySelector(`[data-modal-panel][data-modal-id="${e}"]`);return t?.getAttribute("data-window-key")??void 0}var et=/* @__PURE__ */new Map;function tt(){const e=Ze();if(e)return et.get(e)}function nt(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 rt="rosh-peek-style",ot=A.peek,it=A.taskbarPreview;function at(e){"undefined"!=typeof document&&(!function(){if("undefined"==typeof document||document.getElementById(rt))return;const e=document.createElement("style");e.id=rt,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:${ot}!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 st(){"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 lt({id:e,label:t,maxW:n,maxH:r,titleAbove:o=!1,onClick:i,onClose:a}){const s=P(),l=$(null),[c,u]=j({w:n,h:Math.round(.75*r)}),[d,h]=j(!1);return R(()=>{const o=l.current;if(!o)return;const i=_e(e)??nt(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__ */J("div",{style:{width:c.w,height:c.h},className:"relative rounded-md overflow-hidden bg-white/95 border border-gray-300 shadow-(--elevation-panel) cursor-pointer ring-2 ring-transparent group-hover:ring-blue-400 transition shrink-0",onClick:i,children:[
|
|
20
|
-
/* @__PURE__ */Q("div",{ref:l,className:"absolute inset-0 z-0 overflow-hidden"}),!d&&/* @__PURE__ */J("div",{className:"absolute inset-0 flex flex-col items-center justify-center text-gray-400 bg-gray-50",children:[
|
|
21
|
-
/* @__PURE__ */Q(T,{name:"window",className:"h-6 w-6",strokeWidth:1.5}),
|
|
22
|
-
/* @__PURE__ */Q("span",{className:"mt-1 text-3xs uppercase tracking-wide",children:"Hidden"})]}),!o&&/* @__PURE__ */Q("div",{className:"absolute bottom-0 left-0 right-0 z-10 px-2 py-1 text-2xs font-medium text-white bg-gradient-to-t from-black/80 to-transparent truncate pointer-events-none",children:t}),a&&/* @__PURE__ */Q("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-white flex items-center justify-center",title:s.taskbar.closeWindow,children:/* @__PURE__ */Q(T,{name:"close",className:"h-3 w-3",strokeWidth:3})})]})}function ct({items:e,anchorEl:t,onActivate:n,onClose:r,onMouseEnter:o,onMouseLeave:i}){const a=P(),s=e.length>1,l=$(null),[c,u]=j({left:-9999,top:-9999,ready:!1}),[d,h]=j(()=>"undefined"!=typeof document&&getComputedStyle(document.documentElement).getPropertyValue("--taskbar-position")?.trim()||"bottom");R(()=>{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]),O(()=>st,[]);const m="top"===d,p=(m?"mt-1":"mb-1")+" max-w-[240px] truncate text-2xs font-medium text-gray-900 bg-white/80 px-2 py-0.5 rounded shadow-sm ring-2 ring-transparent transition group-hover:ring-blue-400";return ee(
|
|
23
|
-
/* @__PURE__ */Q("div",{ref:l,"data-taskbar-preview":"",style:{position:"fixed",left:c.left,top:c.top,zIndex:it,maxWidth:"calc(100vw - 16px)",opacity:c.ready?1:0},className:s?"flex gap-2 flex-wrap":"",onMouseEnter:o,onMouseLeave:()=>{st(),i()},children:e.map(e=>{const t=_e(e.id)??nt(e.label),o=t?function(e){if(er(e))return null;const t=e.getBoundingClientRect(),n=Vn(),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 J("div",{className:"group flex flex-col items-center",onMouseEnter:()=>at(t),children:[!m&&/* @__PURE__ */Q("span",{className:p,children:e.label}),
|
|
25
|
-
/* @__PURE__ */Q(lt,{id:e.id,label:e.label,maxW:240,maxH:160,titleAbove:!0,onClick:()=>n(e.id),onClose:()=>r(e.id)}),m&&/* @__PURE__ */Q("span",{className:p,children:e.label}),null!==o&&/* @__PURE__ */J("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-white shadow-sm",children:[
|
|
26
|
-
/* @__PURE__ */Q(T,{name:"arrow-right",className:"h-3 w-3",style:{transform:`rotate(${o}deg)`},strokeWidth:3}),"Off screen"]})]},e.id)})}),document.body)}function ut(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 dt({openWindows:e,onRemove:t,onSplitView:n,onActivate:r,onActivateById:o}){const i=P(),[a,s]=j(null);O(()=>{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=F(fr,pr),[,u]=j(0);O(()=>{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]=j(0);O(()=>{const e=()=>d(e=>e+1);return window.addEventListener("window-title-update",e),()=>window.removeEventListener("window-title-update",e)},[]);const h=e=>{const t=nt(e),n=t?.querySelector("[data-window-title]");return n?.textContent?.trim()||e},[m,p]=j(null),[f,w]=j(null),[y,g]=j(null),b=$(null),C=()=>{b.current&&(clearTimeout(b.current),b.current=null),b.current=setTimeout(()=>{p(null),w(null)},150)},M=e.filter(e=>!e.route||!le[e.route]?.utility);if(!a||!a.isConnected||0===M.length)return null;const N=[],S=/* @__PURE__ */new Map;for(const e of M){const t=e.route?le[e.route]:void 0,n=t?.taskbarGroup,r=n?.key??e.route??`entity:${e.id}`,o=S.get(r);if(void 0!==o)N[o].items.push(e);else{S.set(r,N.length);const o=n?.label??t?.label??e.label;N.push({key:r,route:n?.icon??e.route,label:o,items:[e]})}}return ee(
|
|
27
|
-
/* @__PURE__ */J(Z,{children:[N.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=_e(e.id)??nt(e.label);return!!t&&!er(t)});/* @__PURE__ */
|
|
28
|
-
return J("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:C,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?g({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&&B(n)?Y(n,{className:"h-3.5 w-3.5 shrink-0"}):/* @__PURE__ */Q(T,{name:"expand",className:"h-3.5 w-3.5 shrink-0",strokeWidth:2}),
|
|
29
|
-
/* @__PURE__ */Q("span",{className:"truncate flex-1",children:s?e.label:h(r.label)}),u&&/* @__PURE__ */Q("span",{title:i.taskbar.offscreenDot,className:"shrink-0 h-1.5 w-1.5 rounded-full bg-amber-500"}),s&&/* @__PURE__ */Q("span",{className:"shrink-0 px-2 py-0.5 rounded-full bg-blue-500/80 text-white text-2xs font-bold leading-none",children:e.items.length}),!s&&/* @__PURE__ */Q("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__ */Q(T,{name:"close",className:"h-3 w-3",strokeWidth:2})})]},e.key)}),
|
|
30
|
-
/* @__PURE__ */Q("div",{className:"flex-1"}),M.length>=2&&/* @__PURE__ */J("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-blue-50 transition-colors shrink-0",children:[
|
|
31
|
-
/* @__PURE__ */Q(T,{name:"grid",className:"h-3 w-3",strokeWidth:2}),"Exposé"]}),y&&/* @__PURE__ */J(v,{portal:!0,minWidth:200,style:ut(y.x,y.y),onClose:()=>g(null),children:[
|
|
32
|
-
/* @__PURE__ */Q(E,{children:y.label}),
|
|
33
|
-
/* @__PURE__ */J(x,{onClick:()=>{g(null),y.items.forEach(e=>function(e){const t=zn.get(e);t&&Hn(t)}(e.id))},children:[
|
|
34
|
-
/* @__PURE__ */Q(T,{name:"remove",className:"h-4 w-4",strokeWidth:1.5}),i.taskbar.minimizeAllWindows]}),
|
|
35
|
-
/* @__PURE__ */J(x,{onClick:()=>{g(null),y.items.forEach(e=>o(e.id))},children:[
|
|
36
|
-
/* @__PURE__ */Q("svg",{className:"h-4 w-4 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:/* @__PURE__ */Q("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__ */Q(k,{}),
|
|
38
|
-
/* @__PURE__ */J(x,{danger:!0,onClick:()=>{g(null),y.items.forEach(e=>t(e.id))},children:[
|
|
39
|
-
/* @__PURE__ */Q(T,{name:"close",className:"h-4 w-4",strokeWidth:2}),`${i.taskbar.closeAllWindows} (${y.items.length})`]})]}),m&&f&&/* @__PURE__ */Q(ct,{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:C})]}),a)}var ht=["/login","/forgot-password","/reset-password","/force-change-password"];function mt({children:e,windowAccentForRoute:t}){const n=te(),r=ht.some(e=>n.pathname.startsWith(e)),[o,i]=j([]),a=$(o);R(()=>{a.current=o},[o]);const s=F(ve,be,be),l=$(/* @__PURE__ */new Map),c=e=>{const t=Qe(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};O(()=>{et.clear();for(const e of o)e.route&&et.set(e.id,e.route)},[o]);const u=q(e=>{i(t=>t.filter(t=>t.id!==e))},[]),d=q(e=>{var t;_e(e)||Ge(e)?(t=e,window.dispatchEvent(new CustomEvent(wr,{detail:{windowKey:t}}))):u(e)},[u]),h=(e,t=!1)=>{const n=Mn;t&&Xe.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,(Nn.get(i)??-1)>a)||Bn(o),t&&Xe.delete(e)},50)},m=q((e,t,n,r,o)=>{if(!le[e]||!ie(le[e]))return;const a=`${e}:${t}`,s=Ze();i(i=>{const l=i.find(n=>n.entityType===e&&String(n.entityId)===String(t));return l?(h(l.id),i):(h(a,!0),[...i,{id:a,type:"modal",label:r||t,route:o||window.location.pathname,entityType:e,entityId:t,entitySnapshot:Pe(n),openedFrom:s}])})},[]),p=q((e,t={})=>{if(!le[e]||!oe(le[e]))return;const n=le[e],{reuse:r=!1,background:o=!1,shellOwned:s,search:l}=t,c=e=>{var t;o?(t=e,Kn.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 u=Ze();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 c(a),[...t,{id:a,type:"page",label:n.label,route:e,openedFrom:u,...s?{shellOwned:s}:{},...l?{pageSearch:l}:{}}]}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 c(a),[...t,{id:a,type:"page",label:n.label,route:e,openedFrom:u,...s?{shellOwned:s}:{},...l?{pageSearch:l}:{}}]})},[d]),f=q(()=>{},[]),w=q(()=>{},[]),y=d,g=d;/* @__PURE__ */
|
|
40
|
-
return J(Oe.Provider,{value:{openWindows:o,openEntity:m,openPage:p,closeEntity:y,minimize:f,items:[],openItems:o,restore:w,remove:g,restoreIfMinimized:()=>!1},children:[e,
|
|
41
|
-
/* @__PURE__ */Q(dt,{openWindows:o,onRemove:d,onSplitView:Wr,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&&Bn(e)}})},onActivateById:Je}),
|
|
42
|
-
/* @__PURE__ */Q(Rr,{}),!r&&o.map(e=>{const n=e.route?t?.(e.route):void 0;
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
-
return Q(pe.Provider,{value:c(e),children:/* @__PURE__ */Q(ke,{fallback:(t,n)=>/* @__PURE__ */Q($r,{open:!0,onClose:()=>u(e.id),title:e.label,size:"md",autoHeight:!0,windowKey:e.id,children:/* @__PURE__ */Q(xe,{error:t,onReload:n})}),children:/* @__PURE__ */Q(Bt,{spec:He(e),children:/* @__PURE__ */Q(Ur,{windowId:e.id,children:"page"===e.type?/* @__PURE__ */Q(Ue,{item:e,onClose:()=>u(e.id),accentRgb:n}):/* @__PURE__ */Q(Ve,{item:e,onClose:()=>u(e.id),onMinimize:()=>{},accentRgb:n})})})})},e.id)})]})}var pt=400;function ft({panelRef:e,bodyRef:t,open:n,widget:r,active:o,minimized:i}){const a=$(null),s=$(!1);n&&!s.current&&(a.current="undefined"==typeof document?null:document.activeElement),s.current=n;const l=$(!1),c=$(void 0),u=$(i),d=u.current&&!i;u.current=i;const h=()=>{l.current=!0,clearTimeout(c.current),c.current=setTimeout(()=>{l.current=!1},pt)};O(()=>{n&&!r&&h()},[n,r]),O(()=>{d&&n&&!r&&h()},[d]),O(()=>()=>clearTimeout(c.current),[]),O(()=>{if(!n||r||!o||i||!l.current)return;l.current=!1;const a=e.current;if(!a||a.contains(document.activeElement))return;const s=t.current?S(t.current)[0]:void 0;s?s.focus():(a.hasAttribute("tabindex")||a.setAttribute("tabindex","-1"),a.focus())},[n,r,o,i,e,t]),R(()=>{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 wt=null,yt=/* @__PURE__ */new Set;function gt(){return wt}function bt(e){if(wt!==e){wt=e;for(const e of yt)e()}}function vt(e){return yt.add(e),()=>{yt.delete(e)}}var xt=!1,kt={menus:0,submenus:0,menuKey:null,moveMs:0,resizeMs:0},Et=()=>{};function Ct(e){xt=e,kt={menus:0,submenus:0,menuKey:null,moveMs:0,resizeMs:0}}function Mt(e,t){xt&&("submenu"===e?kt.submenus++:kt.menus++,kt.menuKey=t)}function Nt(e){if(!xt)return Et;const t=performance.now();let n=!1;return()=>{if(n)return;if(n=!0,!xt)return;const r=performance.now()-t;"move"===e?kt.moveMs+=r:kt.resizeMs+=r}}function St(){const e=kt;return kt={menus:0,submenus:0,menuKey:null,moveMs:0,resizeMs:0},e}var Lt=/* @__PURE__ */new Set([N,f]),Tt=e=>Lt.has(e)||"function"==typeof e&&"badge"===e.titleRole,zt=/* @__PURE__ */new Set(["button","a","input","select","textarea","kbd"]),At=/* @__PURE__ */new Set(["svg"]);function Dt(e){const t=[],n={text:"",accessories:[],badges:[],actions:[]};return Pt(e,n,t),n.text=t.join("").replace(/\s+/g," ").trim(),n}function Pt(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=>Pt(e,t,n));if(!B(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===H)return void U.toArray(r.props.children).forEach(e=>Pt(e,t,n));if("string"==typeof r.type){if(At.has(r.type))return;if(!zt.has(r.type))return n.push(" "),U.toArray(r.props.children).forEach(e=>Pt(e,t,n)),void n.push(" ")}const o=Y(r,{key:`title-part-${t.accessories.length}`});t.accessories.push(o),(Tt(r.type)?t.badges:t.actions).push(o)}var It=/* @__PURE__ */new Map,Kt=/* @__PURE__ */new Set,Wt=0;function Rt(){Wt++,Kt.forEach(e=>e())}function $t(e){return It.get(e)}function Ot(e){return Kt.add(e),()=>{Kt.delete(e)}}function jt(){return Wt}var Ft=I(""),qt=I(null);function Bt({spec:e,children:t}){/* @__PURE__ */
|
|
45
|
-
return Q(qt.Provider,{value:e,children:t})}var Ht=/* @__PURE__ */new Set(["button","input","textarea","select","kbd","svg"]),Ut='button[type="submit"], button[data-submit], button.btn-submit, button.bg-green-600, button.bg-blue-600',Yt='button, a[href], summary, [role="button"], [role="link"], [role="menuitem"], select';function Xt(e){return Vt(e).replace(/\s+/g," ").trim()}function Vt(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(Vt).join("");if(B(e)){const t=e,n="string"==typeof t.type?t.type:"";return Ht.has(n)?"":` ${Vt(t.props?.children)} `}return""}function _t(e){const t=K(Ft);O(()=>{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 Gt={};function Jt(e,t,n){const r=K(Ft);O(()=>{if(!r)return;Gt[r]||(Gt[r]=[]);const o={label:e,icon:n,onClick:t};return Gt[r].push(o),()=>{Gt[r]=(Gt[r]||[]).filter(e=>e!==o)}},[r,e,t,n])}function Qt({title:e}){const t=$(null);return O(()=>{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__ */Q("span",{ref:t,style:{display:"none"},"aria-hidden":"true"})}function Zt(e){}var en=I(null);function tn(){return K(Ft)}function nn(){const e=F(fr,pr),t=K(en);return t?.active??(kn.length<=1||null!=e)}function rn({children:e,position:t="right",quiet:n=!1}){const r=K(en),[o,i]=j(null);return O(()=>{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?ee(e,o):null}function on({onClick:e,children:t,className:n}){const r=K(en);/* @__PURE__ */
|
|
46
|
-
return Q("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 an="erp_window_positions",sn={};try{const e=localStorage.getItem(an);e&&(sn=JSON.parse(e))}catch{}var ln=null;function cn(){ln&&clearTimeout(ln),ln=setTimeout(()=>{try{localStorage.setItem(an,JSON.stringify(sn))}catch{}},500)}var un="erp_activation_order",dn=[];try{const e=localStorage.getItem(un),t=e?JSON.parse(e):null;Array.isArray(t)&&t.every(e=>"string"==typeof e)&&(dn=t)}catch{}var hn=null;function mn(){hn&&clearTimeout(hn),hn=setTimeout(()=>{try{localStorage.setItem(un,JSON.stringify(dn))}catch{}},500)}function pn(e,t){sn[e]||(sn[e]=t,cn())}function fn(e){return sn[e]?{...sn[e]}:null}function wn(e,t){sn[e]=t,cn()}function yn(){const r=e(),o=t();let i=!1;for(const e of Object.keys(sn))n(sn[e],r,o)&&(delete sn[e],i=!0);i&&cn()}var gn={sm:384,md:512,lg:672,xl:896,"2xl":1152,"3xl":1408},bn=4e3,vn=()=>{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"},xn={small:.8,medium:1,large:1.25,maximized:1.25},kn=[],En=/* @__PURE__ */new Set,Cn=/* @__PURE__ */new Set,Mn=0,Nn=/* @__PURE__ */new Map;var Sn=0;function Ln(){return Sn}function Tn(){Sn++,En.forEach(e=>e())}var zn=/* @__PURE__ */new Map,An=/* @__PURE__ */new Map,Dn=/* @__PURE__ */new Map;function Pn(){for(let e=kn.length-1;e>=0;e--){const t=Dn.get(kn[e]);if(t?.tab)return t.owner}return null}function In(){return F(fr,Pn,()=>null)}var Kn=/* @__PURE__ */new Set;var Wn=null;function Rn(e){Wn=null,Bn(e)}function $n(e){Wn=e;const t=zn.get(e);t&&Rn(t)}function On(e){Wn===e&&(Wn=null)}function jn(e,t,n){if(n&&Dn.set(e,n),t)if(zn.set(t,e),An.set(e,t),Kn.delete(t)){kn.unshift(e);const n=dn.indexOf(t);-1!==n&&dn.splice(n,1),dn.unshift(t),mn()}else!function(e,t){const n=dn.indexOf(t);if(-1===n)return void kn.push(e);let r=kn.length;for(let e=0;e<kn.length;e++){const t=An.get(kn[e]);if(t&&dn.indexOf(t)>n){r=e;break}}kn.splice(r,0,e)}(e,t),-1===dn.indexOf(t)&&(dn.push(t),mn());else kn.push(e);Tn(),window.dispatchEvent(new CustomEvent("modal-reorder")),t&&Wn===t&&Rn(e)}function Fn(e){return e?Dn.get(e)?.owner??An.get(e)??null:null}var qn=/* @__PURE__ */new Set;function Bn(e){const t=Fn(pr()),n=kn.indexOf(e);-1!==n&&kn.splice(n,1),kn.push(e);const o=Dn.get(e);if(o?.root&&o.tab&&r()){const e=kn.filter(e=>{const t=Dn.get(e);return!!t&&!t.root&&t.owner===o.owner});for(const t of e)kn.splice(kn.indexOf(t),1),kn.push(t)}Cn.delete(e);const i=An.get(e);if(i){const e=dn.indexOf(i);-1!==e&&dn.splice(e,1),dn.push(i),mn(),Wn&&Wn!==i&&(Wn=null)}Tn(),window.dispatchEvent(new CustomEvent("modal-reorder"));const a=Fn(pr());a&&a!==t&&qn.forEach(e=>e(a))}function Hn(e){const t=kn.indexOf(e);-1!==t&&kn.splice(t,1),Cn.add(e),Nn.set(e,++Mn);const n=An.get(e);if(n){const e=dn.indexOf(n);-1!==e&&(dn.splice(e,1),mn())}Tn(),window.dispatchEvent(new CustomEvent("modal-reorder"))}var Un=/* @__PURE__ */new Set;var Yn=8,Xn=32;function Vn(){return e()}var _n=40,Gn=80,Jn=384,Qn=400;function Zn(e,t=Vn()){const n=Math.min(Math.max(e.x,t.x+Gn-e.w),t.x+t.w-Gn),r=Math.min(Math.max(e.y,t.y),t.y+t.h-_n);return n===e.x&&r===e.y?e:{...e,x:n,y:r}}function er(e){const t=e.getBoundingClientRect();if(0===t.width||0===t.height)return!0;const n=Vn();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 tr(e){const t=Vn(),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 nr=null;function rr(e){const t=(nr||((nr=document.createElement("div")).style.cssText=["position: fixed","pointer-events: none",`z-index: ${A.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(nr)),nr);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 or(){nr&&(nr.style.opacity="0",nr.style.display="none")}var ir=[{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"}],ar=350,sr=200;function lr({maximized:e,onToggleMax:t,onSnap:n,buttonClassName:r,strings:o}){const[i,a]=j(!1),s=$(void 0),l=$(void 0);O(()=>()=>{clearTimeout(s.current),clearTimeout(l.current)},[]);const c=()=>{clearTimeout(l.current),s.current=setTimeout(()=>a(!0),ar)},u=()=>{clearTimeout(s.current),l.current=setTimeout(()=>a(!1),sr)};/* @__PURE__ */
|
|
47
|
-
return J("span",{className:"relative inline-flex",onMouseEnter:c,onMouseLeave:u,children:[
|
|
48
|
-
/* @__PURE__ */Q("button",{onClick:t,onFocus:c,onBlur:u,title:e?o.windowed:o.maximize,className:r,children:e?"❐":"⤢"}),i&&/* @__PURE__ */Q("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-gray-200 bg-white p-2 shadow-lg",children:ir.map(({zone:e,labelKey:t,region:r})=>/* @__PURE__ */Q("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__ */Q("span",{"aria-hidden":"true",className:`absolute rounded-sm bg-blue-500/70 ${r}`,style:{margin:2}})},e))})]})}var cr="rosh-gesture-style";var ur={se:"nwse-resize",nw:"nwse-resize",sw:"nesw-resize",ne:"nesw-resize",n:"ns-resize",s:"ns-resize",e:"ew-resize",w:"ew-resize"},dr=4;function hr(e,t,n,r){!function(){if("undefined"==typeof document||document.getElementById(cr))return;const e=document.createElement("style");e.id=cr,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=Nt(r);let a=!1;return()=>{if(!a){a=!0,i();try{e.releasePointerCapture(t)}catch{}o.remove(),document.body.classList.remove("rosh-gesturing")}}}function mr(e){const t=kn.indexOf(e);if(-1===t)return-1;const n=A.window+t*A.windowStep,o=Dn.get(e);if(!o||o.root||!o.tab||!r())return n;let i=-1;for(const[e,t]of Dn){if(!t.root||t.owner!==o.owner)continue;const n=kn.indexOf(e);-1!==n&&(i=Math.max(i,A.window+n*A.windowStep))}return i>=n?i+2+Math.min(t,7):n}function pr(){return kn[kn.length-1]||null}function fr(e){return En.add(e),()=>{En.delete(e)}}"undefined"!=typeof window&&window.addEventListener("deactivate-all-modals",function(){for(let e=kn.length-1;e>=0;e--)Un.has(kn[e])||kn.splice(e,1);dn=dn.filter(e=>{const t=zn.get(e);return null!=t&&Un.has(t)}),mn(),Tn(),window.dispatchEvent(new CustomEvent("modal-reorder"))});var wr="modal-close-request";function yr(e){F(fr,Ln);const t=K(en);if(kn.length<=1)return!0;if(e){const t=zn.get(e);if(null!=t)return pr()===t}return t?.active??null!=pr()}var gr=!1,br=/* @__PURE__ */new Set;function vr(e){return br.add(e),()=>br.delete(e)}function xr(){return gr}function kr(e){gr!==e&&(gr=e,br.forEach(e=>e()))}function Er(){kr(!gr)}function Cr(){kr(!1)}var Mr=null,Nr=/* @__PURE__ */new Set;function Sr(e){return Nr.add(e),()=>Nr.delete(e)}function Lr(){return Mr}function Tr(e){Mr!==e&&(Mr=e,Nr.forEach(e=>e()))}var zr=null,Ar=/* @__PURE__ */new Set;function Dr(e){return Ar.add(e),()=>Ar.delete(e)}function Pr(){return zr}function Ir(e){zr!==e&&(zr=e,Ar.forEach(e=>e()))}function Kr(){if(!zr)return void kr(!1);Tr(zr),Ir(null),kr(!1)}function Wr(){kr(!gr),window.dispatchEvent(new CustomEvent("modal-split-view"))}function Rr(){const e=F(vr,xr),[t,n]=j(e),[r,o]=j(e);return O(()=>{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?ee(
|
|
49
|
-
/* @__PURE__ */Q("div",{onMouseDown:e=>{e.stopPropagation(),kr(!1)},style:{position:"fixed",inset:0,background:"rgba(0,0,0,0.55)",backdropFilter:"blur(2px)",WebkitBackdropFilter:"blur(2px)",zIndex:A.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:E,onMinimize:N,initialBox:S,actions:L,actionsLeft:z,editing:I=!1,allowPinOnTop:W,initialPosition:H,widget:U,compact:_,appStyle:G,flushBody:te,autoHeight:ne,autoMinHeight:re,autoWidth:oe,widgetMenu:ie,dimensions:ae,windowKey:se,openedFromKey:le,accentRgb:ce,children:ue}){const[de,he]=j(()=>r()),me=C()&&!de,fe=M()&&!!U,[we,ye]=j(0),[ge,be]=j(!1),ve=$(null),xe=$(0);O(()=>{xe.current=we},[we]);const Ce=q(e=>{me&&(ve.current={startX:e.clientX,startY:e.clientY,pointerId:e.pointerId},be(!0),bt(le??null))},[me,le]),Ne=F(vt,gt);O(()=>{if(!ge)return;const e=e=>{if(!ve.current)return;const t=e.clientX-ve.current.startX;if(Math.abs(e.clientY-ve.current.startY)>Math.abs(t)+12)return ve.current=null,be(!1),ye(0),void bt(null);ye(Math.max(0,t))},t=()=>{if(!ve.current)return;const e=.3*window.innerWidth,t=xe.current>e;ve.current=null,be(!1),t?(ye(window.innerWidth),setTimeout(()=>{i(),ye(0),bt(null)},180)):(ye(0),bt(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)}},[ge]);const[Se,Le]=j(c),Te=P(),ze=Te.window;O(()=>{Le(c)},[c]);const Ae=X(()=>Xt(Se).trim()||void 0,[Se]),De=V(),[Pe,Ie]=j(!1),Ke=$(!1),[We,Re]=j(!1),[$e,Oe]=j(null),je=K(qt),qe=K(pe),{prefs:He,save:Ue}=b(),Ye=!!He.window_accent_stripe,Xe=He.favorite_documents||[],Ve=!!je&&Xe.some(e=>e.entityType===je.entityType&&e.entityId===je.entityId),_e=q(()=>{if(!je)return;const e=Ve?Xe.filter(e=>!(e.entityType===je.entityType&&e.entityId===je.entityId)):[...Xe,{entityType:je.entityType,entityId:je.entityId,label:je.label}];Ue({favorite_documents:e})},[je,Ve,Xe,Ue]),[Ge,Je]=j(null),[Qe,Ze]=j("top-right"===H?"right":"left"),et=$(!1),tt=$(null);R(()=>{const e=tt.current;e&&(ce?e.style.setProperty("--window-accent-rgb",ce):e.style.removeProperty("--window-accent-rgb"))},[ce]);const nt=$(!1),rt=$(null),ot=$(null),it=$(null),[at,st]=j(!1),lt=$(null),ct=!!(w||L||z)||at,ut=K(Ee),dt=""!==K(Ft),ht=$(null);ht.current=qe?{owner:qe.key,tab:qe.tab,root:!dt}:null;const mt=se||(qe&&!dt?qe.key:null),pt=!!ut&&!dt&&ut.enabled&&ut.hasState&&(I||ut.declaredEditable)&&!ut.handMounted&&ct&&!U&&!_&&!G&&!me,wt=/* @__PURE__ */Q(T,{name:"window",className:"h-4 w-4",strokeWidth:1.5}),yt=u&&B(u)?Y(u,{className:`h-4 w-4 ${u.props?.className??""}`.trim()}):u??wt,xt=()=>/* @__PURE__ */Q("button",{onPointerDown:e=>e.stopPropagation(),onClick:e=>{e.stopPropagation();const t=e.currentTarget.getBoundingClientRect();Oe(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:yt}),kt=40,{minimize:Et,items:Ct,restoreIfMinimized:Mt,openWindows:Nt}=Be(),St=$(`modal-${Math.random().toString(36).slice(2,8)}`).current;O(()=>{if(U)return Un.add(St),()=>{Un.delete(St)}},[U,St]),O(()=>{const e=e=>{const t=e.detail;t?.id===St&&Le(t.title)};return window.addEventListener("window-title-update",e),()=>window.removeEventListener("window-title-update",e)},[St]);const[Lt,Tt]=j(A.window),zt=function(e){const t=F(fr,pr);return kn.length<=1||t===e}(St),At=function(e){return F(fr,()=>Cn.has(e))}(St);ft({panelRef:tt,bodyRef:rt,open:t,widget:!!U,active:zt,minimized:At});const Pt=F(vr,xr),Kt=F(Sr,Lr),Wt=F(Dr,Pr),$t=!W&&!U,Ot=Pt&&$t,[jt,Bt]=j(!1),Ht=Ot&&Wt===St,[Vt,_t]=j(!1),Jt=Vt&&$t&&Kt===St?"picked":null,Qt=$(Ot);O(()=>{if(Qt.current&&!Ot){_t(!0);const e=setTimeout(()=>{_t(!1),Mr===St&&Tr(null)},700);return Qt.current=Ot,()=>clearTimeout(e)}Qt.current=Ot},[Ot,St]),O(()=>{Ot||Bt(!1)},[Ot]),O(()=>{const e=ot.current,t=it.current;if(!e&&!t)return;const n=e=>e?Array.from(e.children).filter(e=>"shell"!==e.dataset.undoControls).length:0,r=()=>st(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]),O(()=>{const e=e=>{if(e.target.closest('button[type="submit"]')&&tt.current){const t=tt.current.querySelector("form");t&&(e.preventDefault(),t.requestSubmit())}},t=ot.current,n=it.current;return t&&t.addEventListener("click",e),n&&n.addEventListener("click",e),()=>{t&&t.removeEventListener("click",e),n&&n.removeEventListener("click",e)}},[t]);const Zt=$(!1),tn=q(e,[]),nn=q(()=>{const t=e(),n=ae?ae[0]:gn[h]||672,o=t.w-80,i=t.h-80,a=Math.min(n,o),s=xn[vn()],l=ae?Math.min(ae[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*(kn.length-1),u=Math.max(kt,(i-l)/2),d=(o-a)/2,m=t.h-kt-l-u;return"top-right"===H?{x:t.x+t.w-a-kt,y:t.y+kt,w:a,h:l}:"top-left"===H?{x:t.x+kt,y:t.y+kt,w:a,h:l}:{x:t.x+Math.max(kt,(o-a)/2+kt)+Math.min(c,Math.max(0,d)),y:t.y+u+Math.min(c,Math.max(0,m)),w:a,h:l}},[h]),rn=$(!1);t||(rn.current=!1);const on=se||d||null;O(()=>{if(!t)return;jn(St,on,ht.current??void 0),se||Bn(St),Zt.current=!1,Tt(mr(St));const e=()=>{Tt(mr(St))},n=()=>{},r=e=>{if(!e)return!1;if(e.windowKey)return e.windowKey===se;if(!e.label)return!1;const t=tt.current?.querySelector("[data-window-title]");return!!t?.textContent?.includes(e.label)},o=e=>{if(!r(e.detail))return;if(Bn(St),yn.current)return;const t=Vn(),n=Math.min(Kn.current.w,t.w-40),o=Math.min(Kn.current.h,t.h-40),i=t.x+(t.w-n)/2,a=t.y+(t.h-o)/2;un({x:i,y:a,w:n,h:o}),Pn(!1)},i=e=>{const t=e.detail;r(t)&&(Bn(St),Oe({x:t.x,y:t.y}))},a=e=>{if(e.detail?.windowKey!==se)return;Bn(St);const t=Kn.current,n=function(e,t=Vn()){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=tt.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)}un(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=kn.indexOf(e);-1!==t&&(kn.splice(t,1),Tn()),Cn.delete(e),Nn.delete(e),Dn.delete(e);const n=An.get(e);n&&(An.delete(e),zn.delete(n))}(St),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,St,on,tn]);const an=!U&&"maximized"===vn(),[ln,un]=j(()=>{if(on&&sn[on]){const e={...sn[on]};return ae&&(e.w=ae[0],ne||(e.h=ae[1])),Zn(e)}return S?{x:S.x,y:S.y,w:S.w,h:S.h}:an?tn():nn()}),[dn,hn]=j(()=>!ne),mn=$(de),pn=$(null);O(()=>{const e=()=>{const e=r();e!==mn.current&&pn.current?.(e),mn.current=e,he(e),Tt(mr(St))};return window.addEventListener("react-os-shell:layout-mode-changed",e),()=>window.removeEventListener("react-os-shell:layout-mode-changed",e)},[St]);const fn=de&&!!qe?.tab&&!dt&&!U&&!me,wn=fn,yn=$(wn);yn.current=wn;const En=In(),Mn=de&&!!qe?.tab&&!U&&!me&&!Pt&&En!==qe.key,Sn=!!U&&de&&!Pt&&null!==En,[Ln,Pn]=j(()=>on&&sn[on]||S?wn:wn||an),Kn=$(ln);Kn.current=ln;const Wn=$(Ln);R(()=>{Wn.current=Ln},[Ln]),R(()=>{if(dn||fn)return;const e=tt.current,t=rt.current;if(!e||!t)return;const n=re??(U?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,Kn.current.y)-24),g=w?Math.min(Kn.current.h,y):Math.min(Math.max(n,u+p),y),b=Math.abs(g-o)>1;b&&(o=g,un(e=>Math.abs(e.h-g)>1?{...e,h:g}:e)),U||(g<=n?i&&(clearTimeout(i),i=null):(b||null===i)&&(i&&clearTimeout(i),i=setTimeout(()=>{const e=o;s(),o===e&&hn(!0)},160)))},l=new ResizeObserver(s);s(),lt.current&&l.observe(lt.current);const c=new MutationObserver(s);return c.observe(t,{childList:!0,subtree:!0,characterData:!0}),()=>{l.disconnect(),c.disconnect(),i&&clearTimeout(i)}},[dn,U,re,ct,fn]),R(()=>{if(!ne||!dn||U||!t)return;const e=lt.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||Ln)return;if(document.body.classList.contains("rosh-gesturing"))return;const i=re??240,a=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--taskbar-height"))||0,s=Math.max(i,window.innerHeight-a-Math.max(0,Kn.current.y)-24);un(e=>({...e,h:Math.min(Math.max(i,e.h+r),s)}))});return r.observe(e),()=>r.disconnect()},[ne,dn,U,t,Ln,re]);const Rn=!1!==oe&&!U&&!G&&!me,[$n,On]=j(()=>!Rn);R(()=>{if($n||!t)return;if(!Rn||Ln)return void On(!0);const n=tt.current,r=rt.current;if(!n||!r)return;const o=/* @__PURE__ */new WeakSet;let i=Kn.current.w,c=0;const u=()=>On(!0),d=()=>{c=0;const t=Kn.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 b=s(t,l(t.w,w,g),d,kt);b!==t&&(i=b.w,un(b))};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,bn);return()=>{h.disconnect(),c&&cancelAnimationFrame(c),clearTimeout(m)}},[$n,t,Rn,Ln]);const Fn=$(null),qn=!(!qe?.tab||dt||U||me);pn.current=t=>{if(!qn)return;if(t)return Fn.current||(Fn.current={box:{...Kn.current},maximized:Wn.current}),void(Wn.current=!0);const r=Fn.current;Fn.current=null;const o=e();if(r?.maximized)return Wn.current=!0,Pn(!0),void un(o);const i=r?.box??(on?sn[on]:void 0);if(Wn.current=!1,Pn(!1),i&&!n(i,o,!1)){const e={...i};ae&&(e.w=ae[0],ne||(e.h=ae[1])),un(Zn(e))}else un(nn())},O(()=>{wn&&(Wn.current=!0,Pn(!0),un(tn()))},[wn,tn]),O(()=>{if(U)return;const e=()=>{const e=on?sn[on]:void 0;if(Wn.current=!1,Pn(!1),e){const t={...e};ae&&(t.w=ae[0],ne||(t.h=ae[1])),un(Zn(t))}else un(nn())};return window.addEventListener("react-os-shell:restore-windowed",e),()=>window.removeEventListener("react-os-shell:restore-windowed",e)},[U,nn,on]),O(()=>{t&&on&&!fn&&(sn[on]=ln,cn()),t&&window.dispatchEvent(new CustomEvent("modal-geometry"))},[ln,t,on,fn]),O(()=>{if(!t)return;const e=()=>{Wn.current?un(tn()):document.body.classList.contains("rosh-gesturing")||un(Zn)};window.addEventListener("resize",e),window.addEventListener(o,e);let n=null;return Ln&&(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,Ln,tn]),O(()=>{if(t&&(Ie(!1),Ke.current=!1,et.current=!1,On(!Rn),!yn.current)){if(on&&sn[on]){const e=sn[on];return void un(t=>Zn({...e,...ne?{h:t.h}:{},...Rn?{x:t.x,w:t.w}:{}}))}S&&(un({x:S.x,y:S.y,w:S.w,h:S.h}),Pn(S.maximized))}},[t]),O(()=>{if(!t||"auto"!==m)return;let e;const n=t=>{tt.current?.contains(t.target)&&!Ke.current&&(Ke.current=!0,e=setTimeout(()=>Ie(!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 _n="auto"===m?Pe:!0===m,Gn=qe&&!dt?qe.key:null,er=X(()=>Dt(Se),[Se]),nr=$({shortcutSpec:je,isOnDesktop:Ve,toggleDesktopShortcut:_e,taskbarStrings:Te.taskbar});R(()=>{nr.current={shortcutSpec:je,isOnDesktop:Ve,toggleDesktopShortcut:_e,taskbarStrings:Te.taskbar}});const ir=$(null);ir.current||(ir.current={open:(e,t)=>Oe({x:e,y:t}),items:()=>{const e=nr.current,t=[];e.shortcutSpec&&t.push({label:e.isOnDesktop?e.taskbarStrings.removeFromDesktop:e.taskbarStrings.addToDesktop,onSelect:e.toggleDesktopShortcut});for(const e of Gt[St]||[])t.push({label:e.label,icon:e.icon,onSelect:e.onClick});return t}}),O(()=>{if(t&&Gn)return()=>{return e=Gn,void(It.delete(e)&&Rt());var e}},[t,Gn]),Fe(!(se||!t)&&_n);const ar=q(async()=>{if(!et.current){if(_n||"auto"===m&&Ke.current){et.current=!0;const e=Ae,t=await y({title:"Discard changes?",message:e?`“${e}” has unsaved changes. Are you sure you want to close? All changes will be lost.`:"You have unsaved changes. Are you sure you want to close? All changes will be lost.",confirmLabel:"Discard",cancelLabel:"Keep Editing",variant:"warning"});if(et.current=!1,!t)return}i()}},[_n,m,i,Ae]);R(()=>{if(!t||!mt)return;const e=e=>{e.detail?.windowKey===mt&&ar()};return window.addEventListener(wr,e),()=>window.removeEventListener(wr,e)},[t,mt,ar]);const sr=$(null),cr=q(e=>{if(0!==e.button)return;if(e.target.closest("button, input, a, kbd, select, textarea"))return;if(Oe(null),Bn(St),yn.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=tt.current,s=a?.getBoundingClientRect();let l,c,u,d;if(sr.current){const t=sr.current;sr.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:Kn.current.x,c=s?s.top:Kn.current.y,u=s?s.height:Kn.current.h,d=s?s.width:Kn.current.w;Pn(!1),un(e=>({...e,x:l,y:c,w:d,h:u}));let h=null;const m=e=>{if(!r){if(Math.abs(e.clientX-o)<dr&&Math.abs(e.clientY-i)<dr)return;r=hr(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)`),Kn.current={...Kn.current,x:s,y:u},!U){const t=function(e,t){const n=Vn(),r=e<=n.x+Yn,o=e>=n.x+n.w-Yn,i=t<=n.y+Yn,a=t>=n.y+n.h-Yn,s=e<=n.x+Xn,l=e>=n.x+n.w-Xn,c=t<=n.y+Xn,u=t>=n.y+n.h-Xn;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?rr(tr(t)):or())}},p=()=>{window.removeEventListener("pointermove",m),window.removeEventListener("pointerup",p),r?.(),or();const e=Zn({...Kn.current});if(Kn.current=e,!U&&h){sr.current={x:l,y:c,w:d,h:u};const e=tr(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 un(e)}if(U){const t=e.x+e.w/2,n=window.innerWidth/2;Ze(t>n?"right":"left")}a&&(a.style.left=`${e.x}px`,a.style.top=`${e.y}px`,a.style.transform="",a.style.transition=""),un(e)};window.addEventListener("pointermove",m),window.addEventListener("pointerup",p)},[]),yr=q((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=tt.current,l=s?.getBoundingClientRect(),c=l?l.left:Kn.current.x,u=l?l.top:Kn.current.y,d=l?l.width:Kn.current.w,h=l?l.height:Kn.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;Pn(!1),un({x:c,y:u,w:d,h:h}),Kn.current={x:c,y:u,w:d,h:h};let y=0,g=null;const b=()=>{if(y=0,!g)return;const e=g;g=null,Kn.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`)},v=e=>{if(!o){if(Math.abs(e.clientX-i)<dr&&Math.abs(e.clientY-a)<dr)return;o=hr(n,r,ur[t],"resize")}g=((e,t)=>{let n=c,r=u,o=d,i=h;if(f&&(o=Math.max(Jn,d+e)),w&&(i=Math.max(Qn,h+t)),m){const t=Math.max(Jn,d-e);n=c+d-t,o=t}if(p){const e=Math.max(Qn,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(b))},x=()=>{window.removeEventListener("pointermove",v),window.removeEventListener("pointerup",x),y&&cancelAnimationFrame(y),b(),o?.(),un({...Kn.current})};window.addEventListener("pointermove",v),window.addEventListener("pointerup",x)},[]),gr=q(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(),Bn(St),"Enter"===e.key)return void(Ln?(Pn(!1),un(nn())):(Pn(!0),un(tn())));const[n,r]=t;if(e.ctrlKey||e.metaKey){const e=()=>{sr.current||(sr.current={...Kn.current})};if(r<0)return e(),Pn(!0),void un(tn());if(r>0){if(Ln)return Pn(!1),void un(nn());if(sr.current){const e=Zn(sr.current);return sr.current=null,Kn.current=e,void un(e)}return void Hn(St)}e(),Pn(!1);const t=tr(n<0?"left":"right");return Kn.current=t,void un(t)}if(Ln)return;const o=Kn.current,i=e.shiftKey?{...o,w:Math.max(Jn,o.w+24*n),h:Math.max(Qn,o.h+24*r)}:Zn({...o,x:o.x+24*n,y:Math.max(0,o.y+24*r)});Kn.current=i,un(i)},[St,Ln,nn,tn]),br=q(e=>{sr.current||(sr.current={...Kn.current}),Pn(!1);const t=tr(e);Kn.current=t,un(t),Bn(St)},[St]),Er=wn||Ot?{}:{tabIndex:0,role:"group","aria-label":Ae?`${Ae} — ${ze.windowSuffix}`:ze.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:gr},Cr=()=>{Pn(!0),un(tn())},Nr=q(()=>{const e=tt.current;if(!e)return;const t=e.querySelector("form");if(t)t.requestSubmit();else{const t=e.querySelector(Ut);t&&!t.disabled&&t.click()}},[]);O(()=>{if(!t)return;if(U)return;const e=e=>{if(kn[kn.length-1]===St&&"Enter"===e.key){const t=e.target;if("TEXTAREA"===t.tagName||t.isContentEditable)return;if(e.metaKey||e.ctrlKey)e.preventDefault(),Nr();else{if("INPUT"===t.tagName&&t.closest("form"))return;if(!(t instanceof Element&&tt.current?.contains(t)))return;if(t.closest(Yt))return;e.preventDefault()}}};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[t,Nr,St,U]),O(()=>{if(!t)return;const e=e=>{kn[kn.length-1]===St&&((e.metaKey||e.ctrlKey)&&"s"===e.key?(e.preventDefault(),document.dispatchEvent(new CustomEvent("modal-save",{detail:{modalId:St}})),Ke.current=!1,Ie(!1)):e.altKey&&e.shiftKey&&("KeyD"===e.code||"D"===e.key||"d"===e.key)&&(e.preventDefault(),document.dispatchEvent(new CustomEvent("modal-duplicate",{detail:{modalId:St}}))))};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[t]),O(()=>{if(!t)return;if(U)return;const e=e=>{if("Escape"===e.key&&kn[kn.length-1]===St){if(D(e))return e.preventDefault(),void e.stopPropagation();if(fn&&!I)return;e.preventDefault(),e.stopPropagation(),ar()}};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[t,ar,St,U,fn,I]);const zr=t&&(void 0!==p||void 0!==f),[Ar]=j(()=>{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}),Ir=fn&&!qe?.home&&er.actions.length>0;O(()=>{t&&Gn&&function(e,t){const n=It.get(e);n&&n.title===t.title&&n.dirty===t.dirty&&n.copy===t.copy&&n.actions===t.actions&&n.menu===t.menu||(It.set(e,t),Rt())}(Gn,{title:er.text||Ae,dirty:_n,copy:er.copy,actions:Ir&&Ar?Ar:void 0,menu:ir.current??void 0})},[t,Gn,Ae,_n,er.text,er.copy,Ir,Ar]);const Kr=q(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-white 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(O(()=>{if(!t)return;const e=e=>{if(kn[kn.length-1]!==St)return;const t=e.target.tagName;"INPUT"!==t&&"TEXTAREA"!==t&&"SELECT"!==t&&(e.target.isContentEditable||("j"===e.key&&zr&&(e.preventDefault(),p?p():Kr("bottom")),"k"===e.key&&zr&&(e.preventDefault(),f?f():Kr("top"))))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[t,p,f,zr,Kr,St]),!t||rn.current)return null;const Wr=Ot?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=Vn(),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}}(St):null,Rr=Ot&&Wr?Math.min(Wr.w/ln.w,Wr.h/ln.h):1,$r=(()=>{if(Ot&&Wr){const e=Rr,t=ln.w*e,n=ln.h*e,r=Wr.x+(Wr.w-t)/2-ln.x,o=Wr.y+(Wr.h-n)/2-ln.y,i=jt||Ht;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:A.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(Vt&&$t){const e="picked"===Jt;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:A.expose+30}:{}}}return null})(),Or=g({modal:!1,titleId:!U&&(fn?!qe?.home:!me)?De:void 0,label:er.text||Ae}),jr=/* @__PURE__ */J("div",{children:[
|
|
50
|
-
/* @__PURE__ */J("div",{ref:tt,"data-modal-panel":!0,"data-modal-id":St,"data-window-key":se||void 0,...W?{"data-utility":""}:{},...We?{"data-pinned-top":""}:{},...U?{"data-widget":""}:{},...qe?{"data-window-owner":qe.key}:{},...qe&&!dt?{"data-window-root":""}:{},...fn?{"data-window-tab":""}:{},...Or,className:fn?"fixed flex flex-col overflow-hidden":"fixed rounded-(--radius-window) flex flex-col overflow-hidden "+(U?zt?"shadow-xl":"shadow-lg":"border "+(zt?"shadow-xl border-gray-200":"shadow-lg border-gray-300")),onMouseDownCapture:e=>{if(nt.current=!1,Ot){if(e.target.closest("[data-expose-close]"))return;return e.preventDefault(),e.stopPropagation(),Tr(St),kr(!1),void Bn(St)}if(!zt&&!U&&!We&&0===e.button){const t=e.target;t.closest("[data-modal-panel]")===tt.current&&t.closest("button, input, a, select, textarea")&&!t.closest("[data-window-chrome]")&&(e.preventDefault(),e.stopPropagation(),nt.current=!0,Oe(null),Bn(St),window.addEventListener("mouseup",()=>{setTimeout(()=>{nt.current=!1},0)},{once:!0}))}},onClickCapture:e=>{nt.current&&(nt.current=!1,e.preventDefault(),e.stopPropagation())},onMouseDown:e=>{if(Ot)return;Oe(null);e.target.closest("[data-modal-panel]")===tt.current&&(e.target.closest("button, input, a, select, textarea")||Bn(St))},style:me?{zIndex:Lt+1,top:0,left:0,right:0,bottom:"var(--mobile-bottom-nav, 56px)",width:"auto",height:"auto",transform:`translateX(${we}px)`,transition:ge?"none":"transform 180ms ease-out",...U?{display:"none"}:{},...Lt<0?{display:"none"}:{},...zt||We||Ne&&se===Ne?{}:{display:"none"}}:{zIndex:We?A.pinnedWindow:Lt+1,width:ln.w,height:ln.h,top:ln.y,...U&&"right"===Qe?{right:window.innerWidth-ln.x-ln.w}:{left:ln.x},...Lt<0&&!We?{display:"none"}:{},...fe?{display:"none"}:{},...Mn||Sn?{visibility:"hidden",pointerEvents:"none"}:{},...$r??{}},children:[me&&!U&&/* @__PURE__ */Q("div",{onPointerDown:Ce,className:"absolute top-0 bottom-0 left-0 w-[22px] z-[5]",style:{touchAction:"pan-y"},"aria-hidden":"true"}),U?null:fn?qe?.home?null:/* @__PURE__ */J(Z,{children:[
|
|
51
|
-
/* @__PURE__ */Q("h2",{id:De,"data-window-title":!0,className:"sr-only",children:er.text||Ae}),Ir&&Ar&&ee(
|
|
52
|
-
/* @__PURE__ */Q(Z,{children:er.actions}),Ar),er.badges.length>0&&/* @__PURE__ */Q("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:er.badges})]}):me?null:
|
|
53
|
-
/* @__PURE__ */J("div",_?{onPointerDown:cr,"data-window-chrome":"",...Er,className:"flex items-center justify-between h-(--row-height-compact-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 "+(zt?"backdrop-blur-sm":""),style:{touchAction:"none",backgroundColor:zt?"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__ */J("div",{"data-window-title":!0,title:Ae,className:"text-sm font-medium min-w-0 flex-1 truncate flex items-center gap-2",style:{color:zt?"var(--window-title-active, rgb(17 24 39))":"var(--window-title-inactive, rgb(156 163 175))"},children:[!Ot&&xt(),
|
|
55
|
-
/* @__PURE__ */Q("span",{id:De,className:"truncate",children:Ot?Xt(Se):Se})]}),!Ot&&/* @__PURE__ */J("div",{className:"flex items-center gap-2 shrink-0 ml-2",children:[W&&/* @__PURE__ */Q("button",{onClick:()=>Re(e=>!e),title:We?ze.unpin:ze.pinOnTop,className:"p-0.5 rounded hover:bg-gray-200 "+(We?"text-blue-600":"text-gray-400 hover:text-gray-600"),children:/* @__PURE__ */Q(T,{name:"bookmark-square",className:"h-3 w-3",fill:We?"currentColor":"none",strokeWidth:1.5})}),
|
|
56
|
-
/* @__PURE__ */Q("button",{type:"button",onClick:ar,className:"rounded p-0.5 text-gray-400 hover:text-gray-600 hover:bg-gray-200",children:/* @__PURE__ */Q(T,{name:"close",className:"h-4 w-4"})})]})]}:G?{onPointerDown:cr,"data-window-chrome":"",...Er,className:"flex items-center justify-between h-(--row-height-compact-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 "+(zt?"backdrop-blur-sm":""),style:{touchAction:"none",backgroundColor:zt?"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__ */J("div",{"data-window-title":!0,title:Ae,className:"text-sm font-medium min-w-0 flex-1 truncate flex items-center gap-2",style:{color:zt?"var(--window-title-active, rgb(17 24 39))":"var(--window-title-inactive, rgb(156 163 175))"},children:[!Ot&&xt(),
|
|
58
|
-
/* @__PURE__ */Q("span",{id:De,className:"truncate",children:Ot?Xt(Se):Se})]}),!Ot&&/* @__PURE__ */J("div",{className:"flex items-center gap-2 shrink-0 ml-2",children:[W&&/* @__PURE__ */Q("button",{onClick:()=>Re(e=>!e),title:We?ze.unpin:ze.pinOnTop,className:"p-0.5 rounded hover:bg-gray-200 "+(We?"text-blue-600":"text-gray-400 hover:text-gray-600"),children:/* @__PURE__ */Q(T,{name:"bookmark-square",className:"h-3 w-3",fill:We?"currentColor":"none",strokeWidth:1.5})}),
|
|
59
|
-
/* @__PURE__ */Q("button",{onClick:()=>Hn(St),title:ze.minimize,className:"text-gray-400 hover:text-gray-600 px-1 py-0.5 rounded hover:bg-gray-200 text-xs leading-none",children:"─"}),!wn&&/* @__PURE__ */Q(lr,{maximized:Ln,onToggleMax:()=>{Ln?(Pn(!1),un(nn())):Cr()},onSnap:br,buttonClassName:"text-gray-400 hover:text-gray-600 px-1 py-0.5 rounded hover:bg-gray-200 text-xs leading-none",strings:ze}),
|
|
60
|
-
/* @__PURE__ */Q("button",{type:"button",onClick:ar,className:"rounded p-0.5 text-gray-400 hover:text-gray-600 hover:bg-gray-200",children:/* @__PURE__ */Q(T,{name:"close",className:"h-4 w-4"})})]})]}:{onPointerDown:cr,"data-window-chrome":"",...Er,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 "+(zt?"backdrop-blur-sm":""),style:{touchAction:"none",backgroundColor:zt?"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__ */J("div",{"data-window-title":!0,title:Ae,className:"text-sm font-medium min-w-0 flex-1 truncate flex items-center gap-2",style:{color:zt?"var(--window-title-active, rgb(17 24 39))":"var(--window-title-inactive, rgb(156 163 175))"},children:[!Ot&&xt(),
|
|
62
|
-
/* @__PURE__ */Q("span",{id:De,className:"truncate",children:Ot?Xt(Se):Se})]}),!Ot&&/* @__PURE__ */J("div",{className:"flex items-center gap-3 shrink-0 ml-4",children:[W&&/* @__PURE__ */Q("button",{onClick:()=>Re(e=>!e),title:We?ze.unpin:ze.pinOnTop,className:"text-xs px-2 py-1 rounded hover:bg-gray-200 "+(We?"text-blue-600":"text-gray-400 hover:text-gray-600"),children:/* @__PURE__ */Q(T,{name:"bookmark-square",className:"h-3.5 w-3.5",fill:We?"currentColor":"none",strokeWidth:1.5})}),
|
|
63
|
-
/* @__PURE__ */Q("button",{onClick:()=>Hn(St),title:ze.minimize,className:"text-gray-400 hover:text-gray-600 text-xs px-2 py-1 rounded hover:bg-gray-200",children:"─"}),!wn&&/* @__PURE__ */Q(lr,{maximized:Ln,onToggleMax:()=>{Ln?(Pn(!1),un(nn())):Cr()},onSnap:br,buttonClassName:"text-gray-400 hover:text-gray-600 text-xs px-2 py-1 rounded hover:bg-gray-200",strings:ze}),
|
|
64
|
-
/* @__PURE__ */Q("button",{type:"button",onClick:ar,className:"rounded-(--radius-control) text-gray-400 hover:text-gray-600",children:/* @__PURE__ */Q(T,{name:"close",className:"h-5 w-5"})})]})]}),ce&&Ye&&!U&&!me&&/* @__PURE__ */Q("div",{"aria-hidden":"true",className:"h-[3px] shrink-0 pointer-events-none",style:{backgroundColor:`rgb(var(--window-accent-rgb) / ${zt?.9:.55})`}}),
|
|
65
|
-
/* @__PURE__ */Q(Ft.Provider,{value:St,children:/* @__PURE__ */Q(en.Provider,{value:{rightRef:ot,leftRef:it,notify:()=>st(!0),active:zt,isDirty:_n,footerOpen:ct&&!U&&!_&&!G&&!me},children:/* @__PURE__ */Q("div",{ref:rt,...U?{onPointerDown:cr,onContextMenu:e=>{e.preventDefault(),Je({x:e.clientX,y:e.clientY})}}:{},className:`flex-1 min-h-0 flex flex-col ${U?"p-0 cursor-move":G||te?"p-0":_?"p-2":"p-4"} ${U||fn?"":"backdrop-blur-sm"} ${!1===E||G||te?"overflow-hidden":"overflow-y-auto overscroll-contain"} ${U?"rounded-2xl select-none":""}`,style:{...U?{touchAction:"none"}:{},backgroundColor:U?"transparent":fn?"rgb(var(--window-content-rgb))":zt?"rgb(var(--window-content-rgb) / var(--active-content-opacity, 0.9))":"rgb(var(--window-content-rgb) / var(--inactive-content-opacity, 0.8))"},children:/* @__PURE__ */Q(ke,{children:ue})})})}),U&&Ge&&/* @__PURE__ */J(v,{minWidth:160,style:{left:Ge.x,top:Ge.y},onClose:()=>Je(null),children:[
|
|
66
|
-
/* @__PURE__ */Q(x,{onClick:()=>{Je(null),window.dispatchEvent(new CustomEvent("widget-open-settings",{detail:St}))},children:"Settings"}),
|
|
67
|
-
/* @__PURE__ */Q(k,{}),ie&&/* @__PURE__ */J(Z,{children:[ie,
|
|
68
|
-
/* @__PURE__ */Q(k,{})]}),
|
|
69
|
-
/* @__PURE__ */J(x,{onClick:()=>{Je(null),Re(e=>!e)},children:[
|
|
70
|
-
/* @__PURE__ */Q("span",{className:"flex-1",children:"Always on Top"}),We&&/* @__PURE__ */Q(T,{name:"check",className:"h-4 w-4 text-blue-600 shrink-0",strokeWidth:2})]}),
|
|
71
|
-
/* @__PURE__ */Q(k,{}),
|
|
72
|
-
/* @__PURE__ */Q(x,{onClick:()=>{Je(null),ar()},children:"Close"})]}),
|
|
73
|
-
/* @__PURE__ */J("div",{onPointerDown:cr,ref:lt,className:`px-4 py-2 border-t border-gray-200 shrink-0 flex items-center justify-between text-xs select-none${fn?"":" cursor-move"}${zt&&!fn?" backdrop-blur-sm":""}${U||_||G||me||!ct?" hidden":""}`,style:{touchAction:"none",backgroundColor:fn?"rgb(var(--window-footer-rgb))":zt?"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__ */J("div",{className:"flex items-center gap-2 min-w-0",children:[pt&&/* @__PURE__ */Q(Me,{auto:!0}),z,
|
|
75
|
-
/* @__PURE__ */Q("div",{ref:it,"data-modal-actions-left":!0,className:"flex items-center gap-2"}),w]}),
|
|
76
|
-
/* @__PURE__ */J("div",{className:"flex items-center gap-2 ml-auto",children:[
|
|
77
|
-
/* @__PURE__ */Q("div",{ref:ot,"data-modal-actions":!0,className:"flex items-center gap-2"}),L]})]}),!U&&!me&&!Ot&&zt&&!wn&&/* @__PURE__ */J(Z,{children:[
|
|
78
|
-
/* @__PURE__ */Q("div",{onPointerDown:e=>yr(e,"se"),className:"absolute bottom-0 right-0 w-3 h-3 cursor-nwse-resize z-10"}),
|
|
79
|
-
/* @__PURE__ */Q("div",{onPointerDown:e=>yr(e,"sw"),className:"absolute bottom-0 left-0 w-3 h-3 cursor-nesw-resize z-10"}),
|
|
80
|
-
/* @__PURE__ */Q("div",{onPointerDown:e=>yr(e,"ne"),className:"absolute top-0 right-0 w-3 h-3 cursor-nesw-resize z-10"}),
|
|
81
|
-
/* @__PURE__ */Q("div",{onPointerDown:e=>yr(e,"nw"),className:"absolute top-0 left-0 w-3 h-3 cursor-nwse-resize z-10"}),
|
|
82
|
-
/* @__PURE__ */Q("div",{onPointerDown:e=>yr(e,"n"),className:"absolute top-0 left-3 right-3 h-1 cursor-ns-resize"}),
|
|
83
|
-
/* @__PURE__ */Q("div",{onPointerDown:e=>yr(e,"s"),className:"absolute bottom-0 left-3 right-3 h-1 cursor-ns-resize"}),
|
|
84
|
-
/* @__PURE__ */Q("div",{onPointerDown:e=>yr(e,"e"),className:"absolute top-3 bottom-3 right-0 w-1 cursor-ew-resize"}),
|
|
85
|
-
/* @__PURE__ */Q("div",{onPointerDown:e=>yr(e,"w"),className:"absolute top-3 bottom-3 left-0 w-1 cursor-ew-resize"})]}),Ot&&/* @__PURE__ */Q("div",{className:"absolute inset-0",style:{zIndex:A.hint,cursor:"pointer",background:"transparent"},onMouseEnter:()=>Bt(!0),onMouseLeave:()=>Bt(!1),onMouseDown:e=>{e.stopPropagation(),e.preventDefault(),Bn(St),kr(!1)},onClick:e=>{e.stopPropagation(),e.preventDefault()},children:jt&&/* @__PURE__ */Q("button",{type:"button","data-expose-close":!0,"aria-label":Te.taskbar.closeWindow,title:"Close",className:"absolute flex items-center justify-center rounded-full bg-black/55 text-white 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/Rr})`,transformOrigin:"top right",zIndex:A.raised},onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},onClick:e=>{e.stopPropagation(),e.preventDefault(),ar()},children:/* @__PURE__ */Q(T,{name:"close",className:"h-4 w-4",strokeWidth:2.2})})})]}),Ot&&Wr&&/* @__PURE__ */Q("div",{className:"fixed pointer-events-none select-none truncate text-center",style:{left:Wr.x,top:Wr.y+Wr.h+4,width:Wr.w,zIndex:A.expose+(jt?21:11),color:"white",fontSize:"var(--text-xs)",fontWeight:500,textShadow:"0 1px 2px rgba(0,0,0,0.6)"},children:Xt(Se)})]}),Fr=$e&&/* @__PURE__ */J(v,{style:{left:$e.x,top:$e.y},onClose:()=>Oe(null),minWidth:160,children:[!U&&!_&&!fn&&/* @__PURE__ */J(Z,{children:[
|
|
86
|
-
/* @__PURE__ */J(x,{onClick:()=>{Hn(St),Oe(null)},children:[
|
|
87
|
-
/* @__PURE__ */Q(T,{name:"remove",className:"h-4 w-4",strokeWidth:1.5}),ze.minimize]}),!wn&&/* @__PURE__ */J(x,Ln?{onClick:()=>{Pn(!1),un(nn()),Oe(null)},children:[
|
|
88
|
-
/* @__PURE__ */Q("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:/* @__PURE__ */Q("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 4.5v15m6-15v15M4.5 9h15M4.5 15h15"})}),ze.windowed]}:{onClick:()=>{Cr(),Oe(null)},children:[
|
|
89
|
-
/* @__PURE__ */Q(T,{name:"expand",className:"h-4 w-4",strokeWidth:1.5}),ze.maximize]})]}),W&&!fn&&/* @__PURE__ */J(x,{onClick:()=>{Re(e=>!e),Oe(null)},children:[
|
|
90
|
-
/* @__PURE__ */Q(T,{name:"bookmark-square",className:"h-4 w-4 "+(We?"text-blue-600":""),fill:We?"currentColor":"none",strokeWidth:1.5}),We?ze.unpin:ze.pinOnTop]}),je&&/* @__PURE__ */J(x,{onClick:()=>{Oe(null),_e()},children:[
|
|
91
|
-
/* @__PURE__ */Q(T,{name:"star",className:"h-4 w-4",fill:Ve?"currentColor":"none",strokeWidth:1.5}),Ve?Te.taskbar.removeFromDesktop:Te.taskbar.addToDesktop]}),(Gt[St]||[]).length>0&&/* @__PURE__ */Q(Z,{children:(Gt[St]||[]).map((e,t)=>/* @__PURE__ */J(x,{onClick:()=>{Oe(null),e.onClick()},children:[e.icon,e.label]},t))}),!(fn&&qe?.home)&&/* @__PURE__ */J(Z,{children:[
|
|
92
|
-
/* @__PURE__ */Q(k,{}),
|
|
93
|
-
/* @__PURE__ */J(x,{danger:!0,onClick:()=>{Oe(null),ar()},children:[
|
|
94
|
-
/* @__PURE__ */Q(T,{name:"close",className:"h-4 w-4"}),ze.close]})]})]}),qr=!!se&&Nt.some(e=>e.id===se),Br=!At||qr||U?null:/* @__PURE__ */J("div",{"data-modal-restore-tab":!0,"data-modal-id":St,className:"fixed left-1/2 z-(--z-restore-tab) flex -translate-x-1/2 items-center gap-1 rounded-lg border border-gray-300 bg-white px-2 py-1 shadow-lg",style:{bottom:"calc(var(--taskbar-height, 0px) + 12px)"},children:[
|
|
95
|
-
/* @__PURE__ */Q("button",{type:"button",onClick:()=>Bn(St),title:ze.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:Ae||ze.windowSuffix}),
|
|
96
|
-
/* @__PURE__ */Q("button",{type:"button",onClick:()=>Bn(St),title:ze.restore,"aria-label":ze.restore,className:"rounded px-2 py-0.5 text-xs leading-none text-gray-400 hover:bg-gray-100 hover:text-gray-600",children:"▴"}),
|
|
97
|
-
/* @__PURE__ */Q("button",{type:"button",onClick:()=>{ar()},title:ze.close,"aria-label":ze.close,className:"rounded px-2 py-0.5 text-xs leading-none text-gray-400 hover:bg-gray-100 hover:text-gray-600",children:"✕"})]});return ee(
|
|
98
|
-
/* @__PURE__ */J(qt.Provider,{value:null,children:[jr,Fr,Br]}),document.body)}"undefined"!=typeof window&&window.addEventListener("keydown",e=>{gr&&"Escape"===e.key&&(Ir(null),kr(!1))});var Or=100,jr={past:[],future:[]};function Fr(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>Or?r.slice(r.length-Or):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 Br=500,Hr=250;function Ur({children:e,canEdit:t=!0,perms:n,windowId:r}){const[o,a]=_(Fr,jr),s=$(/* @__PURE__ */new Map),[l,c]=j(0),u=l>0,[d,h]=j(0),[m,p]=j(0),f=m>0,{hasAnyPerm:w}=i(),y=t&&0===d&&(!(n&&n.length>0)||w(n)),g=$(null),b=$(!1),v=q(()=>{const e={};for(const[t,n]of s.current)e[t]=n.getLast();return e},[]),x=q((e,t)=>{s.current.has(e)||c(e=>e+1),s.current.set(e,t)},[]),k=q(e=>{s.current.delete(e)&&c(e=>e-1)},[]),E=q(e=>{h(t=>t+(e?1:-1))},[]),C=q(e=>{p(t=>t+(e?1:-1))},[]),[M,N]=j(0),S=M>0,L=q(e=>{N(t=>t+(e?1:-1))},[]),T=K(Ee),z=T?.claimReadOnly;O(()=>{if(z&&!y)return z(!0),()=>z(!1)},[z,y]);const A=T?.claimOwnMount;O(()=>{if(A&&S)return A(!0),()=>A(!1)},[A,S]);const D=$({last:0,count:0,tripped:!1}),P=$(!1),I=q((e,t,n)=>{if(b.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>Hr&&(r.count=0),r.last=o,++r.count>Br)return r.tripped=!0,void console.error(`[efficient-shell] UndoProvider: "${e}" recorded ${Br} 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:v(),label:e,coalesceKey:t},queueMicrotask(()=>{const e=g.current;g.current=null,e&&a({type:"record",step:e})})},[y,v]),W=q(e=>{for(const[t,n]of Object.entries(e)){const e=s.current.get(t);e&&(e.setLast(n),e.apply(n))}},[]),R=q(()=>{const e=o.past[o.past.length-1];if(!e)return;const t={values:v(),label:e.label,coalesceKey:null};W(e.values),a({type:"undo",redoStep:t})},[o.past,v,W]),F=q(()=>{const e=o.future[0];if(!e)return;const t={values:v(),label:e.label,coalesceKey:null};W(e.values),a({type:"redo",undoStep:t})},[o.future,v,W]),[B,H]=j(0),U=$(0),Y=$(0),V=$(!1),G=q(()=>{b.current=!0,P.current=!1,g.current=null,U.current+=1,Y.current=U.current,H(U.current)},[]),Z=$(void 0),ee=q(e=>{void 0!==e&&(void 0!==Z.current&&e!==Z.current&&(V.current=!0),Z.current=e),G()},[G]);O(()=>{b.current&&B===Y.current&&(b.current=!1,g.current=null,(P.current||V.current)&&a({type:"clear"}),P.current=!1,V.current=!1)},[B]);const te=q(()=>{V.current=!0,a({type:"clear"}),G()},[G]),ne=y&&o.past.length>0,re=y&&o.future.length>0,oe=yr(r),ie=$({undo:R,redo:F,canUndo:ne,canRedo:re});ie.current={undo:R,redo:F,canUndo:ne,canRedo:re},O(()=>{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=X(()=>({register:x,unregister:k,record:I,undo:R,redo:F,clear:te,baseline:ee,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,R,F,te,ee,ne,re,y,u,S,L,E,f,C,o.past,o.future]),se=""!==tn(),le=K(en)?.footerOpen??!1,ce=se&&y&&u&&!S&≤/* @__PURE__ */
|
|
99
|
-
return J(Ee.Provider,{value:ae,children:[ce&&/* @__PURE__ */Q(rn,{position:"left",quiet:!0,children:/* @__PURE__ */Q(Me,{auto:!0})}),e]})}function Yr(){const e=K(Ee),t=q(()=>{},[]);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 Xr(e){const t=K(Ee),n=t?.claimReadOnly,r=t?.claimEditable;O(()=>{const t=e?r:n;if(t)return t(!0),()=>t(!1)},[n,r,e])}function Vr(e,t,n){const r=K(Ee),o=V(),i=$(e),a=$(t);a.current=t,O(()=>{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=$(r);c.current=r;const u=$({label:s,coalesceKey:l});u.current={label:s,coalesceKey:l},O(()=>{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 _r(e,t){const[n,r]=j(e);return Vr(n,e=>r(()=>e),t),[n,r]}export{on as CancelButton,Ye as DocFavStar,Ie as EntityWindowFallback,De as EntityWindowLoading,Ke as EntityWindowState,Yt as KEY_ACTIVATED_SELECTOR,ze as LoadingSpinner,Ut as MODAL_SUBMIT_SELECTOR,$r as Modal,rn as ModalActions,Me as UndoControls,Ur as UndoProvider,le as WINDOW_REGISTRY,xe as WindowCrashedFallback,ke as WindowErrorBoundary,mt as WindowManagerProvider,Qt as WindowTitle,Je as activateWindowById,Nt as beginWindowGesture,On as cancelWindowFront,me as client_default,Kr as commitExposeHighlight,St as drainPerfEvents,Cr as exitExposeMode,yn as forgetMaximizedWindowBoxes,pr as getActiveModalId,tt as getActiveWindowRoute,Pr as getExposeHighlight,jt as getWindowChromeVersion,fn as getWindowPosition,Re as isDraftEntityId,$e as isDraftEntityWindow,ie as isEntityEntry,oe as isPageEntry,de as isShellApiClientConfigured,Qe as isTabWindow,Mt as markMenuOpen,$t as readWindowChrome,$n as requestWindowFront,Ir as setExposeHighlight,Ct as setPerfCollecting,ue as setShellApiClient,ge as setShellHomeRoute,se as setShellWindowRegistry,pn as setWindowDefaultPosition,wn as setWindowPosition,Dt as splitTitle,Dr as subscribeExposeHighlight,Ot as subscribeWindowChrome,Er as toggleExposeMode,In as useCurrentTabKey,tn as useEnclosingModalId,yr as useIsActiveWindow,nn as useModalActive,fe as usePageSearch,Yr as useUndo,Xr as useUndoCanEdit,Vr as useUndoable,_r as useUndoableState,_t as useWidgetSettings,Fe as useWindowDirty,Be as useWindowManager,Jt as useWindowMenuItem,Zt as useWindowTitle};
|
package/dist/chunk-MXMBQS75.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import{firstEnabledIndex as e,matchTypeahead as t,lastEnabledIndex as r,nextEnabledIndex as n}from"./chunk-EO5RLFRX.js";import{flattenOptionItems as i,groupedRows as a,isOptionGroup as l,OptionCheck as o}from"./chunk-C7PQJOGD.js";import{useSettingAuto as d}from"./chunk-E4Z5OXBI.js";import{inputClasses as s,PLACEHOLDER_INK as c}from"./chunk-JFSYWEHD.js";import{useIsMobile as u}from"./chunk-UGTRSRIW.js";import{optionNoteClass as p}from"./chunk-QR4RM7PO.js";import{Icon as m}from"./chunk-C2HHGLLR.js";import{onOverlayOpen as v}from"./chunk-PGN5ME7B.js";import{Z_LAYERS as h}from"./chunk-62LW225J.js";import{useDropdownPosition as f,MENU_MAX_HEIGHT as b}from"./chunk-T53TXXOC.js";import{solidSurfaceStyle as g}from"./chunk-DTJRIWFR.js";import{registerModalEscapeInterceptor as y}from"./chunk-TWVUQUUD.js";import{useShellStrings as x}from"./chunk-OVNRVFWS.js";import{forwardRef as w,useId as k,useState as N,useRef as $,useMemo as D,useCallback as j,useEffect as O,useLayoutEffect as T}from"react";import{createPortal as C}from"react-dom";import{jsxs as E,jsx as H,Fragment as I}from"react/jsx-runtime";var S=w(function({value:e,onChange:t,options:r,placeholder:n,invalid:i,className:a="",size:l,touchSize:o,renderOption:c,renderValue:u,valueText:p,readOnly:m,footer:v,changed:h,auto:f,multiple:b,"aria-describedby":g,...y},w){const N=t,$=x(),D=d(),j=f??D,O=k(),T=/* @__PURE__ */E("select",{ref:w,value:e,multiple:b||void 0,onChange:e=>N(b?Array.from(e.target.selectedOptions,e=>e.value):e.target.value),"aria-invalid":i||void 0,"aria-describedby":[g,j?O:void 0].filter(Boolean).join(" ")||void 0,className:s({invalid:i,size:l,auto:j,className:`pr-8 ${a}`.trim()}),...y,children:[void 0!==n&&!b&&/* @__PURE__ */H("option",{value:"",disabled:!0,children:n}),
|
|
2
|
-
/* @__PURE__ */H(R,{items:r})]});return j?/* @__PURE__ */E(I,{children:[T,
|
|
3
|
-
/* @__PURE__ */H("span",{id:O,hidden:!0,children:$.settingView.auto})]}):T});function R({items:e}){const t=e=>/* @__PURE__ */H("option",{value:e.value,disabled:e.disabled,lang:e.lang,children:e.label},e.value);/* @__PURE__ */
|
|
4
|
-
return H(I,{children:e.map((e,r)=>(e=>l(e))(e)?/* @__PURE__ */H("optgroup",{label:e.label,children:e.options.map(t)},`group-${r}`):t(e))})}var z=w(function({value:l,onChange:u,options:w,placeholder:S,invalid:z,className:V="",id:W,disabled:A,size:B,touchSize:F,title:K,multiple:P,renderOption:L,renderValue:U,valueText:M,readOnly:G=!1,footer:J,changed:X=!1,auto:Q,"aria-describedby":q,"aria-label":Y,"aria-labelledby":Z,..._},ee){const[te,re]=N(!1),[ne,ie]=N(-1),ae=$(null),le=$(null),oe=$(null),de=$(null),se=$([]),ce=()=>de.current??oe.current,ue=!!J?.length,pe="sm"===B,me=pe?"min-h-7 px-3 py-1 text-xs leading-4":"min-h-(--row-height-menu) px-3 py-2 text-sm leading-5",ve=p(pe),[he,fe]=N(null),be=x(),ge=$(te);ge.current=te;const ye=$({buffer:"",timer:null}),xe=k(),we=`${xe}-listbox`,ke=W??`${xe}-trigger`,Ne=e=>`${xe}-opt-${e}`,$e=`${xe}-changed`,De=d(),je=Q??De,Oe=`${xe}-auto`,Te=[q,X?$e:void 0,je?Oe:void 0].filter(Boolean).join(" ")||void 0,Ce=D(()=>i(w),[w]),Ee=P?l:[],He=u,Ie=f(le,te,{matchTriggerWidth:!0,...J?.length?{preferredMaxHeight:Number.POSITIVE_INFINITY}:{}}),Se="undefined"==typeof window?O:T,Re=`${te}|${Ie?.top}|${Ie?.bottom}|${Ie?.maxHeight}|${w.length}`;Se(()=>{fe(null)},[Re]),Se(()=>{const e=oe.current;if(!te||!e||null!==he)return;if(e.scrollHeight<=e.clientHeight+1)return;const t=getComputedStyle(e),r=parseFloat(t.paddingTop)||0;parseFloat(t.paddingBottom);const n=e.getBoundingClientRect().top;let i=0;for(const t of e.querySelectorAll('[role="option"]')){const r=t.getBoundingClientRect().bottom-n+e.scrollTop;if(!(r<=e.clientHeight+.5))break;i=r}i>r&&fe(Math.floor(i))},[te,he,Re]);const ze=P?Ce.findIndex(e=>Ee.includes(e.value)):Ce.findIndex(e=>e.value===l),Ve=P?Ce.filter(e=>Ee.includes(e.value)).map(e=>e.label).join(", ")||void 0:ze>=0?Ce[ze].label:void 0,We=!P&&ze>=0?Ce[ze].lang:void 0,Ae=P?Ce.filter(e=>Ee.includes(e.value)):ze>=0?[Ce[ze]]:[],Be=U&&Ae.length?U(Ae):void 0,Fe=void 0!==Be&&M?M(Ae):void 0,Ke=j((e=!0)=>{re(!1),ie(-1),e&&le.current?.focus()},[]),Pe=j(()=>{A||G||(ie(ze>=0?ze:e(Ce)),re(!0))},[A,G,Ce,ze]),Le=j(e=>{const t=Ce[e];if(t&&!t.disabled){if(P){const r=l;return He(r.includes(t.value)?r.filter(e=>e!==t.value):[...r,t.value]),void ie(e)}He(t.value),Ke()}},[Ce,P,l,He,Ke]);O(()=>{if(!te)return;return y(e=>!("Escape"!==e.key||!ge.current)&&(Ke(),!0),ce)},[te,Ke]),O(()=>{if(!te)return;const e=e=>{const t=e.target;ae.current?.contains(t)||ce()?.contains(t)||Ke(!1)};document.addEventListener("pointerdown",e);const t=v(()=>Ke(!1));return()=>{document.removeEventListener("pointerdown",e),t()}},[te,Ke]),O(()=>{!te||ne<0||oe.current?.querySelector(`#${CSS.escape(Ne(ne))}`)?.scrollIntoView({block:"nearest"})},[te,ne]);const Ue=j(e=>{const r=ye.current;r.timer&&clearTimeout(r.timer),r.buffer+=e,r.timer=setTimeout(()=>{r.buffer="",r.timer=null},500);const n=te?ne:ze,i=t(Ce,r.buffer,n);i<0||(te?ie(i):P?(ie(i),re(!0)):Le(i))},[te,ne,ze,Ce,Le,P]),Me=te?a(w,(e,t)=>{const r=(n=e.value,P?Ee.includes(n):l===n);var n;const i=t===ne;/* @__PURE__ */
|
|
5
|
-
return E("div",{id:Ne(t),role:"option",lang:e.description||L?void 0:e.lang,"aria-selected":r,"aria-disabled":e.disabled||void 0,onPointerEnter:()=>{e.disabled||ie(t)},onClick:()=>Le(t),className:`mx-1 cursor-pointer truncate rounded-lg ${me}${P?" flex items-center gap-2":""}\n ${e.disabled?"cursor-not-allowed text-gray-400":i?"bg-blue-50 text-blue-700":r?"font-medium text-blue-600":"text-gray-700"}`,children:[P&&/* @__PURE__ */H(o,{selected:r}),L?/* @__PURE__ */H("span",{className:"block min-w-0 flex-1 truncate",children:L(e,{selected:r,active:i})}):P?/* @__PURE__ */E("span",{className:"block min-w-0 flex-1",children:[
|
|
6
|
-
/* @__PURE__ */H("span",{lang:e.lang,className:"block truncate",children:e.label}),e.description&&/* @__PURE__ */H("span",{className:ve,children:e.description})]}):e.description?
|
|
7
|
-
/* @__PURE__ */E(I,{children:[
|
|
8
|
-
/* @__PURE__ */H("span",{lang:e.lang,className:"block truncate",children:e.label}),
|
|
9
|
-
/* @__PURE__ */H("span",{className:ve,children:e.description})]}):e.label]},e.value)},xe,"mx-1"):null,Ge=void 0!==Be?
|
|
10
|
-
/* @__PURE__ */E("span",{className:"relative block min-w-0 truncate",children:[
|
|
11
|
-
/* @__PURE__ */H("span",{"aria-hidden":"true","data-select-value":"",className:"flex min-w-0 items-center gap-2 truncate",children:Be}),
|
|
12
|
-
/* @__PURE__ */H("span",{lang:void 0===Fe?We:void 0,className:"sr-only",children:Fe??Ve})]}):/* @__PURE__ */H("span",{lang:We,className:"block truncate "+(void 0===Ve?"text-gray-400":""),children:Ve??S??" "}),Je={zIndex:h.popup,left:Ie?.left,top:Ie?.top,bottom:Ie?.bottom,width:Ie?.width,maxHeight:Ie?.maxHeight??b,visibility:Ie?void 0:"hidden",...g()},Xe=/* @__PURE__ */H("div",{ref:oe,id:we,role:"listbox","aria-labelledby":Z??(Y?void 0:ke),"aria-label":Z?void 0:Y,"aria-multiselectable":P||void 0,className:ue?"min-h-0 shrink overflow-y-auto py-1":"fixed overflow-y-auto rounded-(--radius-popup) py-1",style:ue?null!==he?{maxHeight:he}:void 0:null!==he?{...Je,maxHeight:he}:Je,children:Me}),Qe=ue?/* @__PURE__ */E("div",{ref:de,className:"fixed flex flex-col overflow-hidden rounded-(--radius-popup)",style:Je,children:[Xe,
|
|
13
|
-
/* @__PURE__ */H("div",{className:"shrink-0 border-t border-(--rosh-glass-solid-border) px-1 py-1",children:J.map((e,t)=>/* @__PURE__ */E("button",{ref:e=>{se.current[t]=e},type:"button","data-select-action":"","aria-disabled":e.disabled||void 0,onClick:()=>(e=>{e.disabled||(Ke(),e.onSelect())})(e),onKeyDown:e=>((e,t)=>{const r=(J?.length??0)-1,n=t=>{e.preventDefault(),se.current[t]?.focus()},i=()=>{e.preventDefault(),le.current?.focus()};switch(e.key){case"ArrowDown":return void n(Math.min(t+1,r));case"ArrowUp":return void(0===t?i():n(t-1));case"Home":return void n(0);case"End":return void n(r);case"Tab":return e.shiftKey?void(0===t?i():n(t-1)):t<r?void n(t+1):(e.preventDefault(),void Ke());case"Escape":return e.preventDefault(),e.stopPropagation(),void Ke()}})(e,t),className:`flex w-full items-center gap-2 rounded-lg ${me} text-left rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)] ${e.disabled?"cursor-not-allowed text-gray-400":"cursor-pointer text-gray-700 hover:bg-blue-50 hover:text-blue-700"}`,children:[e.icon&&/* @__PURE__ */H(m,{name:e.icon,"aria-hidden":"true",className:"h-4 w-4 shrink-0"}),
|
|
14
|
-
/* @__PURE__ */H("span",{className:"min-w-0 flex-1 truncate",children:e.label})]},e.label))})]}):Xe;/* @__PURE__ */
|
|
15
|
-
return E("div",{ref:ae,className:"relative",children:[
|
|
16
|
-
/* @__PURE__ */H("button",{ref:le,id:ke,type:"button",role:"combobox","aria-haspopup":"listbox","aria-expanded":te,"aria-controls":te?we:void 0,"aria-activedescendant":te&&ne>=0?Ne(ne):void 0,"aria-invalid":z||void 0,"aria-describedby":Te,"aria-label":Y,"aria-labelledby":Z,title:K,disabled:A,"aria-readonly":G||void 0,onClick:()=>te?Ke():Pe(),onKeyDown:t=>{if(!A&&!G)switch(t.key){case"ArrowDown":return t.preventDefault(),void(te?ie(e=>n(Ce,e,1)):Pe());case"ArrowUp":return t.preventDefault(),void(te?ie(e=>n(Ce,e,-1)):Pe());case"Home":return void(te&&(t.preventDefault(),ie(e(Ce))));case"End":return void(te&&(t.preventDefault(),ie(r(Ce))));case"Enter":return void(te&&(t.preventDefault(),Le(ne)));case" ":return t.preventDefault(),void(te?Le(ne):Pe());case"Escape":return void(te&&(t.preventDefault(),t.stopPropagation(),Ke()));case"Tab":return te&&ue&&!t.shiftKey?(t.preventDefault(),void se.current[0]?.focus()):void(te&&Ke(!1));default:1!==t.key.length||t.metaKey||t.ctrlKey||t.altKey||(t.preventDefault(),Ue(t.key))}},className:s({invalid:z,size:B,readOnly:G,auto:je,className:`${G?"":"pr-8 "}text-left ${V}`.trim()}),children:X?
|
|
17
|
-
/* @__PURE__ */E("span",{className:"flex min-w-0 items-center gap-1",children:[Ge,
|
|
18
|
-
/* @__PURE__ */H("span",{"aria-hidden":"true","data-select-changed":"",className:"shrink-0",children:"*"})]}):Ge}),X&&/* @__PURE__ */H("span",{id:$e,hidden:!0,children:be.select.changed}),je&&/* @__PURE__ */H("span",{id:Oe,hidden:!0,children:be.settingView.auto}),!G&&/* @__PURE__ */H(m,{name:"chevron-up-down","aria-hidden":"true",className:`pointer-events-none absolute right-2.5 top-1/2 h-4 w-4 -translate-y-1/2 ${c}`,strokeWidth:2}),
|
|
19
|
-
/* @__PURE__ */E("select",{ref:ee,value:l,multiple:P||void 0,onChange:e=>He(P?Array.from(e.target.selectedOptions,e=>e.value):e.target.value),disabled:A,"aria-hidden":"true",tabIndex:-1,className:"sr-only",..._,children:[void 0!==S&&!P&&/* @__PURE__ */H("option",{value:"",disabled:!0,children:S}),
|
|
20
|
-
/* @__PURE__ */H(R,{items:w})]}),te&&C(Qe,document.body)]})}),V=w(function({touchSize:e="touch",...t},r){const n=u();return!n||void 0===t.footer&&void 0===t.changed||t.readOnly?n&&!t.readOnly?/* @__PURE__ */H(S,{ref:r,...t,size:e}):/* @__PURE__ */H(z,{ref:r,...t}):/* @__PURE__ */H(z,{ref:r,...t,size:e})});export{S as NativeSelect,V as Select_default};
|
package/dist/chunk-OZ2ALRKX.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{dialogA11y as e}from"./chunk-VWGWZY7A.js";import{useDismissPopupsOnOpen as r}from"./chunk-PKXQDCNR.js";import{useFocusTrap as i,useScrollLock as t}from"./chunk-CDAJKLGL.js";import{Icon as a}from"./chunk-C2HHGLLR.js";import{Z_LAYERS as l}from"./chunk-62LW225J.js";import{registerModalEscapeInterceptor as o}from"./chunk-TWVUQUUD.js";import{useShellStrings as s}from"./chunk-OVNRVFWS.js";import{useRef as n,useId as d,useEffect as c}from"react";import{jsxs as m,jsx as u}from"react/jsx-runtime";var f={sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-4xl"};function h({open:h,onClose:x,title:p,description:b,role:g="dialog",children:v,footer:y,blocking:k=!1,size:N="md",initialFocus:j,"aria-label":w,"aria-labelledby":C,"aria-describedby":L,className:W=""}){const V=n(null),D=d(),G=d(),R=!k&&!y,U=d(),z=s().dialog;return r(h),i(V,h,j),t(h),c(()=>{if(h)return o(()=>(k||x(),!0),()=>V.current)},[h,k,x]),h?/* @__PURE__ */m("div",{className:"fixed inset-0",style:{zIndex:l.overlay},role:"presentation",children:[
|
|
2
|
-
/* @__PURE__ */u("div",{className:"fixed inset-0 bg-black/30","aria-hidden":"true"}),
|
|
3
|
-
/* @__PURE__ */u("div",{className:"fixed inset-0 flex items-center justify-center p-4",onClick:k?void 0:e=>{e.target===e.currentTarget&&x()},children:/* @__PURE__ */m("div",{ref:V,...e({role:g,modal:!0,titleId:p?U:void 0,labelledBy:C,label:w}),"aria-describedby":L??(b?G:v?D:void 0),className:`relative max-h-full w-full ${f[N]} overflow-y-auto overscroll-contain rounded-(--radius-card) bg-white p-6 shadow-xl ${W}`.trim(),children:[p&&/* @__PURE__ */u("h2",{id:U,className:(R?"pr-8 ":"")+"text-base font-semibold text-gray-900",children:p}),b&&/* @__PURE__ */u("p",{id:G,className:((p?"mt-1":R?"pr-8":"")+" text-sm text-gray-500").trim(),children:b}),v&&/* @__PURE__ */u("div",{id:D,className:"mt-2 text-sm text-gray-600",children:v}),y&&/* @__PURE__ */u("div",{className:"mt-6 flex flex-wrap justify-end gap-3",children:y}),R&&/* @__PURE__ */u("button",{type:"button",onClick:x,"aria-label":z.close,className:"absolute right-3 top-3 rounded-(--radius-control) p-1 text-gray-400 hover:bg-gray-100 hover:text-gray-600 rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",children:/* @__PURE__ */u(a,{name:"close",className:"h-5 w-5",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true"})})]})})]}):null}export{h as Dialog};
|
package/dist/chunk-SQFSBXPR.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var n=[2,4,8,12,16,20,24,32,40,48],o={iconGap:8,iconGapSm:4,controlXSm:8,controlX:12,controlXLg:16,cellX:12,label:4,toolbar:8,formRow:12,card:16,block:16,gutter:16,panelGroup:2,panelSub:4,panelLayer:8,panelRow:12,panelPad:16,panelPadNarrow:12,panelSetting:32},r={sm:24,md:32,lg:40},a={menu:36,windowBar:32,compactBar:32};function e(o){if("0"===o||"px"===o)return!0;const r=Number(o);return!!Number.isFinite(r)&&n.includes(4*r)}export{r as CONTROL_HEIGHTS,a as ROW_HEIGHTS,o as SPACING_ROLES,n as SPACING_SCALE,e as isSpacingStep};
|