@juki-team/base-ui 1.4.135 → 1.5.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/esm/ArrowForwardIcon-B6qJaqxW.js +1 -0
- package/dist/esm/BarChart-DGvfKEbJ.js +1 -0
- package/dist/esm/CartesianChart-BLpd_e8l.js +47 -0
- package/dist/esm/ChangePasswordModal-8aYa6mTN.js +1 -0
- package/dist/esm/CodeEditor-BKMFVmPO.js +1 -0
- package/dist/esm/CodeViewer-DqO18gks.js +1 -0
- package/dist/esm/Collapse-DMLYcciz.js +1 -0
- package/dist/esm/DataGrid-C-Gco96b.js +272 -0
- package/dist/esm/DataViewer-DIROui4g.js +1 -0
- package/dist/esm/DrawerView-Be_ckf6D.js +1 -0
- package/dist/esm/ExcalidrawButton-DWRJMohJ.js +1 -0
- package/dist/esm/GraphvizViewer-DUIJSiDq.js +1 -0
- package/dist/esm/ImageLoaderCropper-O3UDeKd5.js +1 -0
- package/dist/esm/InputCellPhoneNumber-ByG_R6dr.js +1 -0
- package/dist/esm/InputColor-C_JNgwYl.js +14 -0
- package/dist/esm/LineChart-BkCo4cnj.js +1 -0
- package/dist/esm/LoaderLayer-D9O7WqFD.js +1 -0
- package/dist/esm/MdMath-C38RmN3O.js +1 -0
- package/dist/esm/MdMathEditor-C7surRiM.js +28 -0
- package/dist/esm/{Popover-CIsKcwr_.js → Popover-BaP7hJ0J.js} +2 -2
- package/dist/esm/ReplyIcon-CPGYEALJ.js +1 -0
- package/dist/esm/SettingsIcon-Dk27Vz1G.js +1 -0
- package/dist/esm/SlideDeck-CpWGHFVE.js +1 -0
- package/dist/esm/TableEyeIcon-D74isCSR.js +1 -0
- package/dist/esm/TableOfContents-888D-B0V.js +1 -0
- package/dist/esm/Tooltip-CNWDFJKv.js +13 -0
- package/dist/esm/UserCodeEditor-C0MyUL5-.js +28 -0
- package/dist/esm/VirtualizedRowsFixed-CYPaWB5L.js +1 -0
- package/dist/esm/WorksheetAsSlides-BNOZBoQY.js +1 -0
- package/dist/esm/WorksheetBodies-CHTN-wn9.js +1 -0
- package/dist/esm/WorksheetContents-IN63vuWT.js +1 -0
- package/dist/esm/WorksheetEditor-Hs_sWk7j.js +1 -0
- package/dist/esm/WorksheetNode-DGuKOPTt.js +1 -0
- package/dist/esm/WorksheetViewer-Bt_jqHdh.js +1 -0
- package/dist/esm/_baseIteratee-DJNkOVK7.js +1 -0
- package/dist/esm/_baseUniq-BJKKUJ6e.js +1 -0
- package/dist/esm/arc-BqJSq9Se.js +1 -0
- package/dist/esm/architecture-YZFGNWBL-BExtdnEH.js +1 -0
- package/dist/esm/architectureDiagram-Q4EWVU46-CUhUPzlC.js +1 -0
- package/dist/esm/{band-sgKLmfhd.js → band-D2afako6.js} +1 -1
- package/dist/esm/basic-setup-UGhpl5jF.js +1 -0
- package/dist/esm/blockDiagram-DXYQGD6D-DwW8YrKx.js +1 -0
- package/dist/esm/c4Diagram-AHTNJAMY-DUUpakLg.js +1 -0
- package/dist/esm/channel-a8NrvAcc.js +1 -0
- package/dist/esm/{chunk-4BX2VUAB-DLCx-_ir.js → chunk-4BX2VUAB-BwFNstmG.js} +1 -1
- package/dist/esm/chunk-4TB4RGXK-DV5sTBnv.js +1 -0
- package/dist/esm/chunk-55IACEB6-BPJEY6mM.js +1 -0
- package/dist/esm/chunk-EDXVE4YY-9L7nz82K.js +1 -0
- package/dist/esm/{chunk-FMBD7UC4-BGLWSSaQ.js → chunk-FMBD7UC4-BZMcHvFk.js} +1 -1
- package/dist/esm/chunk-OYMX7WX6-COWCWylB.js +1 -0
- package/dist/esm/{chunk-QZHKN3VN-aadBLkdn.js → chunk-QZHKN3VN-D2pIW1ss.js} +1 -1
- package/dist/esm/chunk-YZCP3GAM-D9GadUwL.js +1 -0
- package/dist/esm/classDiagram-6PBFFD2Q-Cr8ipQ5w.js +1 -0
- package/dist/esm/classDiagram-v2-HSJHXN6E-Cr8ipQ5w.js +1 -0
- package/dist/esm/clone-1ULLnhdV.js +1 -0
- package/dist/esm/commons-B_OozOv-.js +1 -0
- package/dist/esm/constants.js +1 -1
- package/dist/esm/cose-bilkent-S5V4N54A-Dg1f2q8q.js +1 -0
- package/dist/esm/cytoscape.esm-D5qQrGhU.js +9 -0
- package/dist/esm/dagre-KV5264BT-Drwedjf_.js +1 -0
- package/dist/esm/{defaultLocale-BAKTrQtR.js → defaultLocale-HOdfsG1x.js} +1 -1
- package/dist/esm/diagram-5BDNPKRD-BUvinU3I.js +1 -0
- package/dist/esm/diagram-G4DWMVQ6-D60Wox58.js +1 -0
- package/dist/esm/diagram-MMDJMWI5-C60GB5LZ.js +1 -0
- package/dist/esm/diagram-TYMM5635-CMF-zVic.js +1 -0
- package/dist/esm/erDiagram-SMLLAGMA-BmCfxmBR.js +1 -0
- package/dist/esm/{floating-ui.dom-D1Wb0QDy.js → floating-ui.dom-BKnkJW47.js} +1 -1
- package/dist/esm/flowDiagram-DWJPFMVM-CVOjnh-h.js +1 -0
- package/dist/esm/ganttDiagram-T4ZO3ILL-Cay-LcBr.js +1 -0
- package/dist/esm/gitGraph-7Q5UKJZL-BIhofRTU.js +1 -0
- package/dist/esm/gitGraphDiagram-UUTBAWPF-BN1EkaA3.js +1 -0
- package/dist/esm/graph-XFLEVMvo.js +1 -0
- package/dist/esm/helpers.js +1 -1
- package/dist/esm/index--PWk-3Ol.js +1 -0
- package/dist/esm/index-A0sdG_JC.js +1 -0
- package/dist/esm/index-B3fb7Ita.js +1 -0
- package/dist/esm/index-BR16hIbn.js +1 -0
- package/dist/esm/index-Bp7rYslS.js +1 -0
- package/dist/esm/index-Bw2EofiE.js +1 -0
- package/dist/esm/index-BzjjAmh3.js +1 -0
- package/dist/esm/{index-XKEYn2Wr.js → index-C9_5xd3V.js} +1 -1
- package/dist/esm/index-CB1_GL3t.js +1 -0
- package/dist/esm/index-CODLgwqm.js +1 -0
- package/dist/esm/index-CQbc3KUq.js +1 -0
- package/dist/esm/index-CRfRlH9U.js +1 -0
- package/dist/esm/index-Ccq-5wm6.js +1 -0
- package/dist/esm/index-Cj5SSv5l.js +1 -0
- package/dist/esm/index-Ck9BxS1f.js +1 -0
- package/dist/esm/index-CpRfyO85.js +1 -0
- package/dist/esm/index-CtTbnbzM.js +1 -0
- package/dist/esm/index-CtWPxOcn.js +1 -0
- package/dist/esm/index-D2mDsVm5.js +1 -0
- package/dist/esm/index-D4D24Np7.js +1 -0
- package/dist/esm/index-D5NvcxPc.js +1 -0
- package/dist/esm/index-D8zPYs0m.js +1 -0
- package/dist/esm/index-DAJdettS.js +1 -0
- package/dist/esm/index-DSGuayJy.js +1 -0
- package/dist/esm/index-DVFv6Eth.js +1 -0
- package/dist/esm/index-D_AOS7Yx.js +1 -0
- package/dist/esm/index-EPJhFLhN.js +1 -0
- package/dist/esm/index-GoUUn3QE.js +1 -0
- package/dist/esm/index-QhLowdpF.js +1 -0
- package/dist/esm/index-Y09lLL_e.js +1 -0
- package/dist/esm/index-xaEdDd13.js +1 -0
- package/dist/esm/info-OMHHGYJF-DMKJgJ3s.js +1 -0
- package/dist/esm/infoDiagram-42DDH7IO-kAZbkK9S.js +1 -0
- package/dist/esm/{init-DWDD0M30.js → init-DLRA0X12.js} +1 -1
- package/dist/esm/isSymbol-CATEdeai.js +1 -0
- package/dist/esm/isUndefined-DgmxjSXK.js +1 -0
- package/dist/esm/ishikawaDiagram-UXIWVN3A-MtQmxrIE.js +1 -0
- package/dist/esm/journeyDiagram-VCZTEJTY-BuKFXeHL.js +1 -0
- package/dist/esm/kanban-definition-6JOO6SKY-pGcXhhi7.js +1 -0
- package/dist/esm/layout-D9uGd7GO.js +1 -0
- package/dist/esm/{lib-mG56Y3Rb.js → lib-DdKR2uQv.js} +1 -1
- package/dist/esm/{linear-L30X52KW.js → linear-BnXjbO66.js} +1 -1
- package/dist/esm/{lua-BvgfYBhq.js → lua-8DXOpKDz.js} +1 -1
- package/dist/esm/main.js +1 -1
- package/dist/esm/map-BvlAjF4J.js +1 -0
- package/dist/esm/memoize-CPUrcYQl.js +1 -0
- package/dist/esm/mermaid-parser.core-Crc-QLCi.js +1 -0
- package/dist/esm/mermaid.core-C2hrg85i.js +1 -0
- package/dist/esm/min-Dc9VrJ6M.js +1 -0
- package/dist/esm/mindmap-definition-QFDTVHPH-CtfxHH9N.js +1 -0
- package/dist/esm/{ordinal-UuA5o140.js → ordinal-zwWoQKz9.js} +1 -1
- package/dist/esm/packet-4T2RLAQJ-BD2Ad6jE.js +1 -0
- package/dist/esm/pie-ZZUOXDRM-Bf017PqT.js +1 -0
- package/dist/esm/pieDiagram-DEJITSTG-ChBbMYd8.js +1 -0
- package/dist/esm/purify.es-DBOWJxv3.js +2 -0
- package/dist/esm/quadrantDiagram-34T5L4WZ-BNmMB-pp.js +1 -0
- package/dist/esm/radar-PYXPWWZC-DvvZel7z.js +1 -0
- package/dist/esm/requirementDiagram-MS252O5E-B1RjmS2l.js +1 -0
- package/dist/esm/sankeyDiagram-XADWPNL6-DSuRDDHI.js +1 -0
- package/dist/esm/sequenceDiagram-FGHM5R23-ByfYuCTD.js +1 -0
- package/dist/esm/server.js +1 -1
- package/dist/esm/settings-BIQ7IqJl.js +1 -0
- package/dist/esm/settings.js +1 -1
- package/dist/esm/stateDiagram-FHFEXIEX-CMjgjvak.js +1 -0
- package/dist/esm/stateDiagram-v2-QKLJ7IA2-htYMk5r5.js +1 -0
- package/dist/esm/{string-CQk_HvWX.js → string-LeDn2fkG.js} +1 -1
- package/dist/esm/throttle-BsCMUG1-.js +1 -0
- package/dist/esm/time-PiK_t_Re.js +1 -0
- package/dist/esm/timeline-definition-GMOUNBTQ-COFLk0ve.js +1 -0
- package/dist/esm/toNumber-Bh_HTlSx.js +1 -0
- package/dist/esm/treeView-SZITEDCU-Ck6yPSxL.js +1 -0
- package/dist/esm/treemap-W4RFUUIX-ErJXCLFJ.js +1 -0
- package/dist/esm/types-rkDjePoL.js +1 -0
- package/dist/esm/vennDiagram-DHZGUBPP-xxvi147V.js +1 -0
- package/dist/esm/viz-CFEjElvl.js +9 -0
- package/dist/esm/wardley-RL74JXVD-B3jC7s0b.js +1 -0
- package/dist/esm/wardleyDiagram-NUSXRM2D-CIYzWE9T.js +1 -0
- package/dist/esm/websocket-CxbYBjHT.js +1 -0
- package/dist/esm/worksheet-CQgex79V.js +1 -0
- package/dist/esm/xychartDiagram-5P7HB3ND-CHfEshBW.js +1 -0
- package/dist/module-types/src/components/atoms/Button/Button.d.ts +3 -3
- package/dist/module-types/src/components/atoms/Client/types.d.ts +1 -1
- package/dist/module-types/src/components/atoms/CopyToClipboard/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/{server/DateLiteral → DateLiteral}/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/DetectRequestAnimationFrame/DetectRequestAnimationFrame.d.ts +1 -1
- package/dist/module-types/src/components/atoms/Div/Div.d.ts +1 -1
- package/dist/module-types/src/components/atoms/Div/types.d.ts +1 -1
- package/dist/module-types/src/components/atoms/Input/Input.d.ts +6 -8
- package/dist/module-types/src/components/atoms/Input/types.d.ts +4 -4
- package/dist/module-types/src/components/atoms/Modal/types.d.ts +3 -3
- package/dist/module-types/src/components/atoms/Portal/Portal.d.ts +1 -1
- package/dist/module-types/src/components/atoms/Portal/types.d.ts +1 -1
- package/dist/module-types/src/components/atoms/T/types.d.ts +1 -12
- package/dist/module-types/src/components/atoms/TextArea/TextArea.d.ts +4 -4
- package/dist/module-types/src/components/atoms/_lazy_/Collapse/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/_lazy_/InputCellPhoneNumber/types.d.ts +1 -1
- package/dist/module-types/src/components/atoms/_lazy_/Popover/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/_lazy_/VirtualizedRowsFixed/types.d.ts +1 -1
- package/dist/module-types/src/components/atoms/index.d.ts +6 -6
- package/dist/module-types/src/components/atoms/server/icons/SpinIcon/Spin.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/SpinIcon/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/icons/google/_group.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/google/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/specials/BalloonIcon/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/specials/BalloonIcon/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/icons/specials/FacebookIcon/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/icons/specials/GmailIcon/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/icons/specials/SortIcon/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/icons/specials/TelegramIcon/types.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/icons/specials/types.d.ts +6 -5
- package/dist/module-types/src/components/atoms/server/icons/types.d.ts +16 -16
- package/dist/module-types/src/components/atoms/server/icons/utils/CircleFilledFrame.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/utils/CirclePath.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/utils/functions.d.ts +3 -3
- package/dist/module-types/src/components/atoms/server/icons/utils/index.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/icons/utils/renderBasicIcon.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/icons/utils/renderSignIcon.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/index.d.ts +0 -2
- package/dist/module-types/src/components/atoms/server/loaders/LoaderLayer.d.ts +2 -2
- package/dist/module-types/src/components/atoms/server/loaders/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/loaders/line-loader/LineLoader.d.ts +1 -1
- package/dist/module-types/src/components/atoms/types.d.ts +11 -10
- package/dist/module-types/src/components/helpers/commons.d.ts +4 -4
- package/dist/module-types/src/components/helpers/contest.d.ts +1 -1
- package/dist/module-types/src/components/helpers/date.d.ts +4 -3
- package/dist/module-types/src/components/helpers/fetch.d.ts +7 -7
- package/dist/module-types/src/components/helpers/layout.d.ts +2 -2
- package/dist/module-types/src/components/helpers/problem.d.ts +4 -15
- package/dist/module-types/src/components/helpers/render.d.ts +1 -1
- package/dist/module-types/src/components/helpers/router.d.ts +1 -1
- package/dist/module-types/src/components/helpers/submission.d.ts +2 -2
- package/dist/module-types/src/components/helpers/time.d.ts +1 -1
- package/dist/module-types/src/components/helpers/websocket.d.ts +40 -2
- package/dist/module-types/src/components/hooks/useClickOutside.d.ts +1 -1
- package/dist/module-types/src/components/hooks/useDataViewerRequester.d.ts +3 -3
- package/dist/module-types/src/components/hooks/useFetcher.d.ts +4 -4
- package/dist/module-types/src/components/hooks/useHandleState.d.ts +1 -1
- package/dist/module-types/src/components/hooks/useInjectTheme.d.ts +1 -1
- package/dist/module-types/src/components/hooks/useJudge.d.ts +3 -4
- package/dist/module-types/src/components/hooks/useJukiNotification.d.ts +1 -1
- package/dist/module-types/src/components/hooks/useJukiUser.d.ts +13 -12
- package/dist/module-types/src/components/hooks/useLoaderStatusSync.d.ts +1 -1
- package/dist/module-types/src/components/hooks/useOverflowDetector.d.ts +1 -1
- package/dist/module-types/src/components/hooks/useSubscribe.d.ts +2 -2
- package/dist/module-types/src/components/hooks/useSyncedState.d.ts +1 -1
- package/dist/module-types/src/components/hooks/useTrackCursor.d.ts +1 -1
- package/dist/module-types/src/components/index.d.ts +1 -1
- package/dist/module-types/src/components/mockup/MockupJukiProvider.d.ts +1 -1
- package/dist/module-types/src/components/mockup/index.d.ts +4 -0
- package/dist/module-types/src/components/molecules/Breadcrumbs/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/ButtonLoader/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/CheckboxList/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/{server/CircularProgress → CircularProgress}/CircularProgress.d.ts +1 -1
- package/dist/module-types/src/components/molecules/DatePicker/DatePicker.d.ts +1 -4
- package/dist/module-types/src/components/molecules/DatePicker/types.d.ts +17 -17
- package/dist/module-types/src/components/molecules/Drawer/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/FetcherLayer/FetcherLayer.d.ts +2 -2
- package/dist/module-types/src/components/molecules/FetcherLayer/types.d.ts +8 -8
- package/dist/module-types/src/components/molecules/FirstLoginWrapper/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/FloatToolbar/types.d.ts +2 -2
- package/dist/module-types/src/components/molecules/HomeLink/types.d.ts +2 -0
- package/dist/module-types/src/components/molecules/InformationPopover/FrozenInformation.d.ts +1 -1
- package/dist/module-types/src/components/molecules/InformationPopover/InformationPopover.d.ts +2 -2
- package/dist/module-types/src/components/molecules/InformationPopover/NewlineInfo.d.ts +3 -0
- package/dist/module-types/src/components/molecules/InformationPopover/QuietInformation.d.ts +1 -1
- package/dist/module-types/src/components/molecules/InformationPopover/UpsolvingInformation.d.ts +1 -1
- package/dist/module-types/src/components/molecules/InformationPopover/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/LinkLastPath/types.d.ts +2 -2
- package/dist/module-types/src/components/molecules/MultiSelectSearchable/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/Pagination/Pagination.d.ts +1 -1
- package/dist/module-types/src/components/molecules/ProgressMultiBar/types.d.ts +5 -1
- package/dist/module-types/src/components/molecules/ProgressSlide/ProgressSlide.d.ts +1 -1
- package/dist/module-types/src/components/molecules/SplitModal/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/SplitPane/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/Tabs/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TabsInline/TabsInline.deprecated.d.ts +2 -0
- package/dist/module-types/src/components/molecules/TabsInline/TabsInlineButton.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TabsInline/TabsInlineButtonLoader.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TabsInlineBody/TabsInlineBody.deprecated.d.ts +2 -0
- package/dist/module-types/src/components/molecules/ThemeColorPalette/types.d.ts +2 -0
- package/dist/module-types/src/components/molecules/{server/TimerDisplay → Timer}/TimerDisplay.d.ts +1 -1
- package/dist/module-types/src/components/molecules/Timer/types.d.ts +13 -2
- package/dist/module-types/src/components/molecules/TimerLabeled/types.d.ts +2 -2
- package/dist/module-types/src/components/molecules/TwoActionModal/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/TwoContentSection/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/BarChart/types.d.ts +3 -3
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/CodeEditor.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/codemirror/ReactCodeMirror.d.ts +2 -8
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/codemirror/extensions/basic-setup.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/codemirror/timeoutLatch.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/codemirror/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/codemirror/useCodeMirror.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/index.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeEditor/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/CodeViewer/types.d.ts +2 -2
- package/dist/module-types/src/components/molecules/_lazy_/DataGrid/DataGrid.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/DrawerView/DrawerView.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/DrawerView/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/ImageLoaderCropper/canvasPreview.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/InputColor/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/LineChart/types.d.ts +4 -4
- package/dist/module-types/src/components/molecules/_lazy_/SlideDeck/pdfexport.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/SlideDeck/types.d.ts +2 -2
- package/dist/module-types/src/components/molecules/_lazy_/SortableItems/SortableItems.d.ts +1 -1
- package/dist/module-types/src/components/molecules/_lazy_/SortableItems/types.d.ts +5 -5
- package/dist/module-types/src/components/molecules/index.d.ts +22 -17
- package/dist/module-types/src/components/molecules/layouts/types.d.ts +1 -1
- package/dist/module-types/src/components/molecules/types.d.ts +14 -12
- package/dist/module-types/src/components/organisms/AiChatPanel/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/CardNotification/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/CheckUnsavedChanges/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/HorizontalMenu/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/LoginUser/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/MdMathViewer/MemoMdMath.deprecated.d.ts +3 -0
- package/dist/module-types/src/components/organisms/MdMathViewer/MemoMdMathViewer.deprecated.d.ts +2 -0
- package/dist/module-types/src/components/organisms/MdMathViewer/types.d.ts +10 -2
- package/dist/module-types/src/components/organisms/PageNotFound/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/PresentationToolButtons/PresentationToolButtons.d.ts +1 -1
- package/dist/module-types/src/components/organisms/PresentationToolButtons/buttons/Pencil.deprecated.d.ts +0 -0
- package/dist/module-types/src/components/organisms/PresentationToolButtons/types.d.ts +2 -0
- package/dist/module-types/src/components/organisms/ProblemSelector/ProblemSelector.d.ts +1 -1
- package/dist/module-types/src/components/organisms/ProblemSelector/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/ProblemVerdictTag/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/SubmitView/SubmitView.d.ts +1 -1
- package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionGroupInfo.d.ts +1 -2
- package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionListenerVerdict.d.ts +1 -1
- package/dist/module-types/src/components/organisms/{server/SubmissionMemory → SubmitView/commons}/SubmissionMemory.d.ts +1 -1
- package/dist/module-types/src/components/organisms/{server/SubmissionTime → SubmitView/commons}/SubmissionTime.d.ts +1 -1
- package/dist/module-types/src/components/organisms/SubmitView/commons/SubmissionVerdict.d.ts +1 -2
- package/dist/module-types/src/components/organisms/SubmitView/commons/SubmitViewContent.d.ts +1 -1
- package/dist/module-types/src/components/organisms/SubmitView/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/{server/TextHeadCell → TextHeadCell}/TextHeadCell.d.ts +1 -1
- package/dist/module-types/src/components/organisms/UserChip/UserChip.d.ts +2 -5
- package/dist/module-types/src/components/organisms/UserChip/types.d.ts +3 -3
- package/dist/module-types/src/components/organisms/UserNicknameLink/UserNicknameLink.d.ts +1 -1
- package/dist/module-types/src/components/organisms/UsersSelector/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/VerticalMenu/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/ChangePasswordModal/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/ChangePasswordModal/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/CardList/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkContestTableTest/MockJkContestTable.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkProblemTableTest/MockJkProblemTable.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkSubmissionsTableTest/MockJkSubmissionTable.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/JkUserTableTest/MockJkUserTable.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/Filter.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/TableHeadFilterDate.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/TableHeadFilterDateRange.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/TableHeadFilterText.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/index.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/TableHead/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/RowList/ViewContainerRows.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/commons/DisplayDataViewer.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/commons/utils.d.ts +6 -5
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/types.d.ts +11 -10
- package/dist/module-types/src/components/organisms/_layz_/GraphvizViewer/GraphvizViewer.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/GraphvizViewer/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/MdMath/MdMath.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/MdMath/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/MdMath/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/MdMathEditor.d.ts +1 -4
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/MdMathEditor.deprecated.d.ts +2 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/MdMathEditor.tiptap.deprecated.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/MilkdownEditorContent/MilkdownEditorContent.d.ts +4 -5
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/index.d.ts +2 -5
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/TiptapEditorContent.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/BlockImage.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/ClearMarksOnEnter.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/CurrentNodeHighlighter.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/CustomCodeBlockLowlight.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/CustomLink.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/SmartHeadingBackspace.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/SmartPasteMarkdown.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/index.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/CodeRunnerEditor.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/FileTreePanel/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/FirstPane.d.ts +3 -4
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/Header/RunCodeButton.d.ts +3 -3
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/MermaidViewer/MermaidViewer.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/SettingsModal/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/CodeRunnerEditor/types.d.ts +8 -9
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/UserCodeEditor.d.ts +4 -5
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/code-editor-file.d.ts +7 -0
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/index.d.ts +2 -4
- package/dist/module-types/src/components/organisms/_layz_/UserCodeEditor/types.d.ts +4 -4
- package/dist/module-types/src/components/organisms/_layz_/WorksheetAsSlides/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetAsSlides/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetContents/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetContents/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/AddNewChild.d.ts +3 -3
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ChunkTitle.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSection.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSectionEditor.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSectionEditorModal.d.ts +10 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSectionView.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/EditSheetModal.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSection.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSectionEditor.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSectionEditorModal.d.ts +10 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSectionView.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSection.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSection.old.d.ts +6 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSectionEditor.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSectionEditorModal.d.ts +10 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/ListSheetRecursiveSection.d.ts +9 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/ListSheetSection.d.ts +7 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/index.d.ts +1 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSection.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSectionEditor.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSectionEditorModal.d.ts +10 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSectionView.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSection.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionEditor.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionEditorModal.d.ts +10 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionEditorModal.old.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionView.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionView.old.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ResultHeader.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/TableOfContents.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/TableOfContentsModal.d.ts +3 -3
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/UpRemoveDownButtons.d.ts +7 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/WorksheetBody.d.ts +4 -5
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/WorksheetNode.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/getActionButtons.d.ts +5 -6
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/logos.d.ts +4 -4
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/upRemoveDownActions.d.ts +2 -2
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/types.d.ts +3 -3
- package/dist/module-types/src/components/organisms/_layz_/WorksheetViewer/WorksheetViewer.d.ts +1 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetViewer/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/index.d.ts +14 -13
- package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/PublicImagesTab/PublicImages.d.ts +3 -3
- package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/PublicImagesTab/index.d.ts +2 -2
- package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/UploadNewImageTab/index.d.ts +2 -2
- package/dist/module-types/src/components/organisms/modals/ImageUploaderModal/types.d.ts +5 -5
- package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModal.d.ts +2 -2
- package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModalTemplate/ForgotPassword/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModalTemplate/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/LoginModal/LoginModalTemplate/types.d.ts +4 -4
- package/dist/module-types/src/components/organisms/modals/LoginModal/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/modals/SignUpModal/SignUpModalTemplate/types.d.ts +2 -2
- package/dist/module-types/src/components/organisms/modals/UserPreviewModal/UserPreviewContentModal.d.ts +4 -4
- package/dist/module-types/src/components/organisms/modals/UserPreviewModal/types.d.ts +2 -0
- package/dist/module-types/src/components/organisms/modals/WelcomeModal/types.d.ts +1 -1
- package/dist/module-types/src/components/organisms/modals/index.d.ts +1 -1
- package/dist/module-types/src/components/organisms/types.d.ts +10 -9
- package/dist/module-types/src/components/providers/JukiAblyInitializer/JukiAblyInitializer.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiI18nInitializer/JukiI18nInitializer.d.ts +1 -0
- package/dist/module-types/src/components/providers/JukiI18nInitializer/index.d.ts +1 -0
- package/dist/module-types/src/components/providers/JukiLastPathInitializer/types.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiPageInitializer/useMouseInsidePage.d.ts +1 -0
- package/dist/module-types/src/components/providers/JukiProviders.d.ts +2 -2
- package/dist/module-types/src/components/providers/JukiRouterInitializer/JukiRouterInitializer.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiRouterInitializer/types.d.ts +2 -2
- package/dist/module-types/src/components/providers/{server/Image → JukiUIProvider}/Image.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiUIProvider/JukiUIProvider.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiUIProvider/Link.d.ts +1 -1
- package/dist/module-types/src/components/providers/JukiUIProvider/types.d.ts +24 -6
- package/dist/module-types/src/components/providers/JukiUserProvider/types.d.ts +9 -8
- package/dist/module-types/src/components/providers/NotificationProvider/NotificationProvider.d.ts +1 -1
- package/dist/module-types/src/components/providers/index.d.ts +1 -1
- package/dist/module-types/src/components/providers/types.d.ts +3 -2
- package/dist/module-types/src/components/server/index.d.ts +0 -4
- package/dist/module-types/src/components/server/types.d.ts +0 -4
- package/dist/module-types/src/components/templates/ContestNameLinkField/types.d.ts +2 -2
- package/dist/module-types/src/components/templates/EditProfileModal/ImageProfileModal.d.ts +1 -1
- package/dist/module-types/src/components/templates/EditProfileModal/types.d.ts +4 -5
- package/dist/module-types/src/components/templates/EntityCreateLayout/types.d.ts +1 -1
- package/dist/module-types/src/components/templates/EntityUpdateLayout/types.d.ts +1 -1
- package/dist/module-types/src/components/templates/ErrorBoundary/types.d.ts +1 -1
- package/dist/module-types/src/components/templates/HelpSection/types.d.ts +2 -0
- package/dist/module-types/src/components/templates/MainMenu/DrawerViewMenuMobile/DrawerViewMenuMobile.d.ts +2 -2
- package/dist/module-types/src/components/templates/MainMenu/DrawerViewMenuMobile/index.d.ts +1 -0
- package/dist/module-types/src/components/templates/MainMenu/SettingsSection/index.d.ts +1 -1
- package/dist/module-types/src/components/templates/MainMenu/types.d.ts +5 -5
- package/dist/module-types/src/components/templates/ProblemView/ProblemInfo.d.ts +1 -1
- package/dist/module-types/src/components/templates/ProblemView/ProblemView.d.ts +1 -1
- package/dist/module-types/src/components/templates/ProblemView/commons/ProblemCodeEditor.d.ts +2 -2
- package/dist/module-types/src/components/templates/ProblemView/commons/SampleTest.d.ts +1 -1
- package/dist/module-types/src/components/templates/ProblemView/types.d.ts +4 -4
- package/dist/module-types/src/components/templates/ResetPasswordModal/ResetPasswordModal.d.ts +1 -1
- package/dist/module-types/src/components/templates/ResetPasswordModal/types.d.ts +2 -2
- package/dist/module-types/src/components/templates/UserActiveSessions/UserMyActiveSessions.d.ts +2 -1
- package/dist/module-types/src/components/templates/UserActiveSessions/types.d.ts +2 -0
- package/dist/module-types/src/components/templates/UserProfile/types.d.ts +1 -1
- package/dist/module-types/src/components/templates/UserProfileSettings/types.d.ts +1 -1
- package/dist/module-types/src/components/templates/UserViewLayout/ProfileSubmissions.d.ts +2 -1
- package/dist/module-types/src/components/templates/UserViewLayout/types.d.ts +5 -3
- package/dist/module-types/src/components/templates/columns/contest-columns/getContestContestantsHeader.d.ts +3 -0
- package/dist/module-types/src/components/templates/columns/contest-columns/getContestDateHeader.d.ts +3 -0
- package/dist/module-types/src/components/templates/columns/contest-columns/getContestNameHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/contest-columns/getContestStatusHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/contest-columns/getContestTagsHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/contest-columns/index.d.ts +2 -2
- package/dist/module-types/src/components/templates/columns/problem-columns/getProblemAdminActionsHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/problem-columns/getProblemKeyHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/problem-columns/getProblemModeHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/problem-columns/getProblemNameHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/problem-columns/getProblemOwnerHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/problem-columns/getProblemTagsHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/problem-columns/getProblemTypeHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionContestHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionContestProblemHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionDateHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionLanguageHeader.d.ts +1 -2
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionMemoryHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionNicknameHeader.d.ts +2 -2
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionProblemHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionRejudgeHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionTimeHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/columns/submission-columns/getSubmissionVerdictHeader.d.ts +1 -1
- package/dist/module-types/src/components/templates/index.d.ts +17 -14
- package/dist/module-types/src/components/templates/members/DocumentMembersButton.d.ts +1 -1
- package/dist/module-types/src/components/templates/members/DocumentMembersModal/DocumentMembersModal.d.ts +1 -1
- package/dist/module-types/src/components/templates/members/types.d.ts +5 -6
- package/dist/module-types/src/components/templates/problem/ProblemCrawlerField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/ProblemModeField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/ProblemOwnerField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/ProblemTypeField.d.ts +1 -1
- package/dist/module-types/src/components/templates/{server/problem → problem}/TagsField.d.ts +1 -1
- package/dist/module-types/src/components/templates/problem/types.d.ts +8 -2
- package/dist/module-types/src/components/templates/{server/submission → submission}/SubmissionDateField.d.ts +1 -1
- package/dist/module-types/src/components/templates/submission/SubmissionLanguageField.d.ts +1 -1
- package/dist/module-types/src/components/templates/submission/SubmissionNicknameField.d.ts +1 -1
- package/dist/module-types/src/components/templates/submission/types.d.ts +2 -2
- package/dist/module-types/src/components/templates/types.d.ts +15 -12
- package/dist/module-types/src/components/types/index.d.ts +10 -12
- package/dist/module-types/src/constants/index.d.ts +3 -3
- package/dist/module-types/src/constants/settings.d.ts +1 -1
- package/dist/module-types/src/constants/worksheet.d.ts +1 -1
- package/dist/module-types/src/helpers/index.d.ts +1 -1
- package/dist/module-types/src/hooks/index.d.ts +13 -12
- package/dist/module-types/src/settings/ApiManager.d.ts +249 -370
- package/dist/module-types/src/settings/AppRoutes.d.ts +4 -4
- package/dist/module-types/src/stores/ably/useAblyStore.d.ts +2 -2
- package/dist/module-types/src/stores/i18n/i18n.d.ts +2 -0
- package/dist/module-types/src/stores/i18n/i18nConfig.d.ts +7 -0
- package/dist/module-types/src/stores/i18n/useI18nStore.d.ts +8 -0
- package/dist/module-types/src/stores/lastPath/useLastPath.d.ts +1 -1
- package/dist/module-types/src/stores/router/useRouterStore.d.ts +2 -2
- package/dist/module-types/src/stores/sound/useSoundStore.d.ts +1 -1
- package/dist/module-types/src/stores/ui/useUIStore.d.ts +2 -2
- package/dist/module-types/src/stores/user/useUserStore.d.ts +2 -2
- package/dist/module-types/src/stores/websocket/types.d.ts +2 -2
- package/dist/module-types/src/stores/websocket/useWebsocketStore.d.ts +1 -1
- package/dist/module-types/src/types/index.d.ts +1 -1
- package/package.json +70 -76
- package/src/styles/components/atoms/_button.scss +7 -7
- package/src/styles/components/atoms/_data-viewer.scss +3 -3
- package/src/styles/components/atoms/_modal.scss +0 -9
- package/src/vendor/@milkdown/crepe/lib/theme/common/code-mirror.css +0 -14
- package/src/vendor/@milkdown/crepe/lib/theme/common/style.css +0 -2
- package/src/vendor/@milkdown/crepe/src/theme/common/code-mirror.css +0 -14
- package/src/vendor/@milkdown/crepe/src/theme/common/style.css +0 -2
- package/src/vendor/fumadocs-ui/css/generated/docs.css +281 -3
- package/src/vendor/fumadocs-ui/css/generated/flux.css +264 -2
- package/src/vendor/fumadocs-ui/css/generated/home.css +161 -1
- package/src/vendor/fumadocs-ui/css/generated/notebook.css +288 -6
- package/src/vendor/fumadocs-ui/css/generated/shared.css +103 -80
- package/src/vendor/fumadocs-ui/css/lib/base.css +1 -78
- package/src/vendor/fumadocs-ui/css/lib/shiki.css +2 -2
- package/src/vendor/fumadocs-ui/css/preset.css +80 -0
- package/src/vendor/fumadocs-ui/dist/style.css +47 -63
- package/src/vendor/handsontable/styles/handsontable.css +82 -335
- package/src/vendor/handsontable/styles/handsontable.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-icons-horizon.css +3 -11
- package/src/vendor/handsontable/styles/ht-icons-horizon.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-icons-main.css +3 -11
- package/src/vendor/handsontable/styles/ht-icons-main.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-theme-classic-no-icons.css +2 -21
- package/src/vendor/handsontable/styles/ht-theme-classic-no-icons.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-theme-classic.css +5 -32
- package/src/vendor/handsontable/styles/ht-theme-classic.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-theme-horizon-no-icons.css +1 -20
- package/src/vendor/handsontable/styles/ht-theme-horizon-no-icons.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-theme-horizon.css +4 -31
- package/src/vendor/handsontable/styles/ht-theme-horizon.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-theme-main-no-icons.css +2 -21
- package/src/vendor/handsontable/styles/ht-theme-main-no-icons.min.css +3 -4
- package/src/vendor/handsontable/styles/ht-theme-main.css +5 -32
- package/src/vendor/handsontable/styles/ht-theme-main.min.css +3 -4
- package/src/vendor/katex/dist/katex-swap.css +2 -5
- package/src/vendor/katex/dist/katex-swap.min.css +1 -1
- package/src/vendor/katex/dist/katex.css +2 -5
- package/src/vendor/katex/dist/katex.min.css +1 -1
- package/src/vendor/katex/src/styles/katex.scss +1 -3
- package/dist/esm/ArrowForwardIcon-9VrCQrla.js +0 -1
- package/dist/esm/BarChart-BYCvk2RN.js +0 -1
- package/dist/esm/CartesianChart-D1L2w_VG.js +0 -47
- package/dist/esm/ChangePasswordModal-DOBon_ok.js +0 -1
- package/dist/esm/CodeEditor-B6YXqauq.js +0 -1
- package/dist/esm/DataGrid-Dy2MSOK0.js +0 -277
- package/dist/esm/DataViewer-DebzEZj0.js +0 -1
- package/dist/esm/DrawerView-C6KbvsgW.js +0 -1
- package/dist/esm/ExcalidrawButton-rCOaM390.js +0 -1
- package/dist/esm/GraphvizViewer-DQ_3zkqP.js +0 -1
- package/dist/esm/ImageLoaderCropper-DCPp73Ao.js +0 -1
- package/dist/esm/InputCellPhoneNumber-UNqdq7Va.js +0 -1
- package/dist/esm/InputColor-DLE6PJz7.js +0 -14
- package/dist/esm/LineChart-DxN-I5Kl.js +0 -1
- package/dist/esm/MdMath-BQs4hBpa.js +0 -1
- package/dist/esm/MdMathEditor-BHfoWvp_.js +0 -28
- package/dist/esm/ReplyIcon-rPXXCIKg.js +0 -1
- package/dist/esm/SettingsIcon-DnAtSsRm.js +0 -1
- package/dist/esm/SlideDeck-c69qGz1J.js +0 -1
- package/dist/esm/TableOfContents-CL2MOKlA.js +0 -1
- package/dist/esm/TextHeadCell-CExu2jw7.js +0 -1
- package/dist/esm/Tooltip-C-DKzZ8R.js +0 -7
- package/dist/esm/UserCodeEditor-CAg3dvAT.js +0 -30
- package/dist/esm/ViewModuleIcon-B7qvToID.js +0 -1
- package/dist/esm/VirtualizedRowsFixed-Bks5JFSx.js +0 -1
- package/dist/esm/WorksheetAsSlides-B1YaxqYO.js +0 -1
- package/dist/esm/WorksheetBodies-BnGXG6wi.js +0 -1
- package/dist/esm/WorksheetContents-CJbNoWXT.js +0 -1
- package/dist/esm/WorksheetEditor-B37fFHcY.js +0 -1
- package/dist/esm/WorksheetNode-DjqZZQRs.js +0 -1
- package/dist/esm/WorksheetViewer-DE_XAr2A.js +0 -1
- package/dist/esm/arc-BalHlvik.js +0 -1
- package/dist/esm/architectureDiagram-3BPJPVTR-DaZ9rWVO.js +0 -1
- package/dist/esm/blockDiagram-GPEHLZMM-CgMTM8qx.js +0 -1
- package/dist/esm/c4Diagram-AAUBKEIU-DF5dBD4X.js +0 -1
- package/dist/esm/channel-DtX7K8fH.js +0 -1
- package/dist/esm/chunk-2J33WTMH-BSF8-_lr.js +0 -1
- package/dist/esm/chunk-55IACEB6-Ce1Mc1lZ.js +0 -1
- package/dist/esm/chunk-727SXJPM-Cc0QJGYk.js +0 -1
- package/dist/esm/chunk-AQP2D5EJ-D7lU0Qk0.js +0 -1
- package/dist/esm/chunk-ND2GUHAM-BD5ZdCjv.js +0 -1
- package/dist/esm/classDiagram-4FO5ZUOK-B6nVlqWv.js +0 -1
- package/dist/esm/classDiagram-v2-Q7XG4LA2-B6nVlqWv.js +0 -1
- package/dist/esm/contest-hvD3tLnF.js +0 -1
- package/dist/esm/cose-bilkent-S5V4N54A-C1xAVZwJ.js +0 -1
- package/dist/esm/cytoscape.esm-ym4YJMee.js +0 -9
- package/dist/esm/dagre-BM42HDAG-BTH23OkS.js +0 -1
- package/dist/esm/date-D28INXpp.js +0 -1
- package/dist/esm/diagram-2AECGRRQ-s_eIY8Ju.js +0 -1
- package/dist/esm/diagram-5GNKFQAL-BQ7iPFrS.js +0 -1
- package/dist/esm/diagram-KO2AKTUF-BwauQwgA.js +0 -1
- package/dist/esm/diagram-LMA3HP47-VgneUbzF.js +0 -1
- package/dist/esm/diagram-OG6HWLK6-CQXmLp-X.js +0 -1
- package/dist/esm/erDiagram-TEJ5UH35-BrtUM8g8.js +0 -1
- package/dist/esm/flowDiagram-I6XJVG4X-BVuY5iRd.js +0 -1
- package/dist/esm/ganttDiagram-6RSMTGT7-Dp3J7m4L.js +0 -1
- package/dist/esm/gitGraphDiagram-PVQCEYII-DDvUv1py.js +0 -1
- package/dist/esm/graph-ByvXLzfz.js +0 -1
- package/dist/esm/index-3RT03X12.js +0 -1
- package/dist/esm/index-4xl-oI83.js +0 -1
- package/dist/esm/index-8NOL5jJy.js +0 -1
- package/dist/esm/index-B8r5j97Z.js +0 -1
- package/dist/esm/index-B8yg8iZ5.js +0 -1
- package/dist/esm/index-BozcvZKO.js +0 -1
- package/dist/esm/index-C7UTkWm2.js +0 -1
- package/dist/esm/index-CCoeYJCH.js +0 -1
- package/dist/esm/index-CHdwVvPu.js +0 -1
- package/dist/esm/index-CICkoZjG.js +0 -1
- package/dist/esm/index-CQTsT8Zj.js +0 -1
- package/dist/esm/index-CU5b90xS.js +0 -1
- package/dist/esm/index-CWWVtFL-.js +0 -1
- package/dist/esm/index-CYal7RVq.js +0 -1
- package/dist/esm/index-CZHb8PSE.js +0 -1
- package/dist/esm/index-C_iDYl6D.js +0 -1
- package/dist/esm/index-Ci0TIrsP.js +0 -1
- package/dist/esm/index-CncjGRa9.js +0 -1
- package/dist/esm/index-CoD0BG11.js +0 -1
- package/dist/esm/index-D2MvgUx2.js +0 -1
- package/dist/esm/index-DI4w9v5q.js +0 -1
- package/dist/esm/index-DO5jS6VE.js +0 -1
- package/dist/esm/index-DPqNWk5z.js +0 -1
- package/dist/esm/index-DQ_RDg2x.js +0 -1
- package/dist/esm/index-DUSXBI7E.js +0 -1
- package/dist/esm/index-DklIqAi8.js +0 -1
- package/dist/esm/index-DoTjNc47.js +0 -2
- package/dist/esm/index-Dwi3ag-n.js +0 -1
- package/dist/esm/index-mPuca8dy.js +0 -1
- package/dist/esm/index-uScqGt-h.js +0 -1
- package/dist/esm/index-wgkxcuUd.js +0 -1
- package/dist/esm/infoDiagram-5YYISTIA-D0QNaNgu.js +0 -1
- package/dist/esm/isSymbol-BuOnvf7n.js +0 -1
- package/dist/esm/isUndefined-DFy0_ZQT.js +0 -1
- package/dist/esm/ishikawaDiagram-YF4QCWOH-C5VX82DI.js +0 -1
- package/dist/esm/journeyDiagram-JHISSGLW-BVEghM8I.js +0 -1
- package/dist/esm/kanban-definition-UN3LZRKU-2IZxapBL.js +0 -1
- package/dist/esm/layout-C8ygm6VF.js +0 -1
- package/dist/esm/light-CK5396YO.js +0 -1
- package/dist/esm/map-CkaOHTqG.js +0 -1
- package/dist/esm/mermaid.core-DoQpgFF5.js +0 -1
- package/dist/esm/mindmap-definition-RKZ34NQL-D-7AMujv.js +0 -1
- package/dist/esm/pieDiagram-4H26LBE5-mrgU3sOl.js +0 -1
- package/dist/esm/purify.es-J-_UhghA.js +0 -2
- package/dist/esm/quadrantDiagram-W4KKPZXB-O8NSasGc.js +0 -1
- package/dist/esm/requirementDiagram-4Y6WPE33-CQHcM086.js +0 -1
- package/dist/esm/sankeyDiagram-5OEKKPKP-DFihOSab.js +0 -1
- package/dist/esm/sequenceDiagram-3UESZ5HK-CR8iCSRR.js +0 -1
- package/dist/esm/settings-DgLs6IK_.js +0 -1
- package/dist/esm/stateDiagram-AJRCARHV-CRmD_B8Z.js +0 -1
- package/dist/esm/stateDiagram-v2-BHNVJYJU-BQMQV-zB.js +0 -1
- package/dist/esm/throttle-_MCmQvyw.js +0 -1
- package/dist/esm/time-BHcZPeyw.js +0 -1
- package/dist/esm/time-BJsLnFy1.js +0 -1
- package/dist/esm/timeline-definition-PNZ67QCA-BSXJOTVE.js +0 -1
- package/dist/esm/toNumber-DP6YK8S3.js +0 -1
- package/dist/esm/types-DYOIqA8v.js +0 -1
- package/dist/esm/vennDiagram-CIIHVFJN-BGumey1i.js +0 -1
- package/dist/esm/viz-BjPw9uNj.js +0 -9
- package/dist/esm/wardley-L42UT6IY-Bn2xZ99U.js +0 -15
- package/dist/esm/wardleyDiagram-YWT4CUSO-CXmvZufs.js +0 -1
- package/dist/esm/worksheet-BBAH_yZC.js +0 -1
- package/dist/esm/worksheet-DTRmzBjG.js +0 -1
- package/dist/esm/worksheet-GN3yGKYw.js +0 -1
- package/dist/esm/xychartDiagram-2RQKCTM6-DZBDvK3P.js +0 -1
- package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3/node_modules/@milkdown/kit/lib/component/diff.d.ts +0 -1
- package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3/node_modules/@milkdown/kit/lib/exception.d.ts +0 -1
- package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3/node_modules/@milkdown/kit/lib/plugin/diff.d.ts +0 -1
- package/dist/module-types/node_modules/.pnpm/@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3/node_modules/@milkdown/kit/lib/plugin/streaming.d.ts +0 -1
- package/dist/module-types/src/components/atoms/T/T.server.d.ts +0 -2
- package/dist/module-types/src/components/atoms/T/cache.d.ts +0 -4
- package/dist/module-types/src/components/atoms/T/client.d.ts +0 -7
- package/dist/module-types/src/components/atoms/T/server.d.ts +0 -12
- package/dist/module-types/src/components/atoms/T/shared.d.ts +0 -2
- package/dist/module-types/src/components/atoms/server/T/index.d.ts +0 -3
- package/dist/module-types/src/components/molecules/server/CircularProgress/types.d.ts +0 -4
- package/dist/module-types/src/components/molecules/server/NewlineInfo/NewlineInfo.d.ts +0 -2
- package/dist/module-types/src/components/molecules/server/NewlineInfo/types.d.ts +0 -3
- package/dist/module-types/src/components/molecules/server/TimerDisplay/types.d.ts +0 -13
- package/dist/module-types/src/components/molecules/server/index.d.ts +0 -5
- package/dist/module-types/src/components/molecules/server/types.d.ts +0 -3
- package/dist/module-types/src/components/organisms/server/index.d.ts +0 -3
- package/dist/module-types/src/components/organisms/server/types.d.ts +0 -1
- package/dist/module-types/src/components/providers/JukiI18nBridge/JukiI18nBridge.d.ts +0 -23
- package/dist/module-types/src/components/providers/JukiI18nBridge/index.d.ts +0 -1
- package/dist/module-types/src/components/providers/server/Image/types.d.ts +0 -20
- package/dist/module-types/src/components/providers/server/index.d.ts +0 -1
- package/dist/module-types/src/components/providers/server/types.d.ts +0 -1
- package/dist/module-types/src/components/templates/server/ProblemStatus/types.d.ts +0 -6
- package/dist/module-types/src/components/templates/server/columns/contest-columns/getContestContestantsHeader.d.ts +0 -3
- package/dist/module-types/src/components/templates/server/columns/contest-columns/getContestDateHeader.d.ts +0 -3
- package/dist/module-types/src/components/templates/server/index.d.ts +0 -5
- package/dist/module-types/src/components/templates/server/types.d.ts +0 -1
- package/src/vendor/@milkdown/crepe/lib/theme/common/ai.css +0 -446
- package/src/vendor/@milkdown/crepe/lib/theme/common/diff.css +0 -177
- package/src/vendor/@milkdown/crepe/src/theme/common/ai.css +0 -430
- package/src/vendor/@milkdown/crepe/src/theme/common/diff.css +0 -196
- package/src/vendor/fumadocs-ui/css/preset-legacy.css +0 -38
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/code-block.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/image-block.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/image-inline.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/index.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/link-tooltip.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/list-item-block.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/component/table-block.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/core.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/ctx.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/block.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/clipboard.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/cursor.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/history.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/indent.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/listener.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/slash.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/tooltip.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/trailing.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/plugin/upload.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/preset/commonmark.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/preset/gfm.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/history.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/index.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/inputrules.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/keymap.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/model.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/state.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/prose/view.d.ts +0 -0
- /package/dist/module-types/node_modules/.pnpm/{@milkdown+kit@7.21.1_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.43.0_typescript@6.0.3 → @milkdown+kit@7.20.0_@codemirror+language@6.12.3_@codemirror+state@6.6.0_@codemirror+view@6.41.1_typescript@6.0.3}/node_modules/@milkdown/kit/lib/utils.d.ts +0 -0
- /package/dist/module-types/src/components/atoms/{server/DateLiteral → DateLiteral}/DateLiteral.d.ts +0 -0
- /package/dist/module-types/src/components/molecules/{server/ThemeColorPalette → ThemeColorPalette}/ThemeColorPalette.d.ts +0 -0
- /package/dist/module-types/src/components/molecules/{server/layouts → layouts}/ApplicationLoaderLayout.d.ts +0 -0
- /package/dist/module-types/src/components/templates/{server/ProblemStatus → problem}/ProblemStatus.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as t,jsxs as l,Fragment as e}from"react/jsx-runtime";import{d as a}from"./index-DUSXBI7E.js";import{cache as i,memo as s,Fragment as o}from"react";import{L as r,D as q,b as n,P as h}from"./date-D28INXpp.js";import{s as d,p as c,c as m}from"./time-BHcZPeyw.js";const v=({sizeBox:l=24,cx:e=l/2,cy:a=l/2,strokeWidth:i=2,filled:s})=>t("circle",{cx:e,cy:a,r:l/2-i/2,fill:s?"currentColor":"none",strokeWidth:i,stroke:"currentColor"});class Z{constructor(t,l){this.x=0,this.y=0,this._mod2=null,this._mod=null,this._unit=null,this._ort=null,this.x=t,this.y=l}add(t){return new Z(this.x+t.x,this.y+t.y)}sub(t){return new Z(this.x-t.x,this.y-t.y)}mul(t){return new Z(this.x*t,this.y*t)}prod(t){return this.x*t.x+this.y*t.y}div(t){return new Z(this.x/t,this.y/t)}mod2(){return this._mod2??this.prod(this)}mod(){return this._mod??Math.sqrt(this.mod2())}unit(){return this._unit??this.div(this.mod())}ort(){return this._ort??new Z(-this.y,this.x)}}const Q=({x:t,y:l})=>`M ${t},${l}`,p=({x:t,y:l})=>`L ${t},${l}`,f=({x:t,y:l},{x:e,y:a},i)=>{const s=new Z(t,l),o=new Z(e,a),{width:r=o.sub(s).mod()/2,rounded:q=!0,clockwise:n=!0}=i||{},h=o.sub(s),d=s.sub(o),c=n?h.ort():d.ort(),m=h.mod(),v=s.add(h.unit().mul(m/2)).add(c.unit().mul(r)),Q=s.add(c.unit().mul(r/2)),f=o.add(c.unit().mul(r/2));if(q){const t=m/4,l=v.add(d.unit().mul(t)),e=v.add(h.unit().mul(t));return`C ${Q.x},${Q.y} ${l.x},${l.y} ${v.x},${v.y} C ${e.x},${e.y} ${f.x},${f.y} ${o.x},${o.y}`}const T=m/2-r/2,w=v.add(d.unit().mul(T)),u=v.add(h.unit().mul(T)),x=m/2-r,M=v.add(d.unit().mul(x)),y=v.add(h.unit().mul(x));return`C ${Q.x},${Q.y} ${w.x},${w.y} ${M.x},${M.y} ${p(y)} C ${u.x},${u.y} ${f.x},${f.y} ${o.x},${o.y}`},T=l=>{const{start:{x:e,y:a},end:{x:i,y:s},fill:o="currentColor",options:{width:r=2,roundWidth:q=1}={}}=l,n=new Z(e,a),h=new Z(i,s),d=h.sub(n),c=n.sub(h),m=c.ort(),v=d.ort(),T=n.add(d.unit().mul(q)),w=T.add(m.unit().mul(r/2)),u=T.add(v.unit().mul(r/2)),x=h.add(c.unit().mul(q)),M=x.add(m.unit().mul(r/2)),y=x.add(v.unit().mul(r/2));return t("path",{fill:o,d:[Q(w),p(M),f(M,y,{width:q,rounded:!0,clockwise:!1}),p(u),f(u,w,{width:q,rounded:!0,clockwise:!1}),"Z"].join(" ")})},w=({strokeWidth:l=2,sizeBox:e=24,cy:a=0,cx:i=0,filled:s})=>t("rect",{x:i+l/2,y:a+l/2,width:e-l,height:e-l,fill:s?"currentColor":"none",strokeWidth:l,stroke:"currentColor",rx:l,ry:l}),u=(i,s,o)=>{const{size:r="regular",className:q="",filledCircle:n,filledSquare:h,circle:d=!1,square:c=!1,rotate:m=0,strikethrough:Q=!1,style:p,viewBox:f="0 0 24 24",letter:u,letterColor:x,letterSize:M,...y}=i,g=n||h,H=d||c||h||n?.8:1,[N=0,k=0,V=0]=f.split(" ").map(Number),b=new Z(21.5*V/24,19.5*V/24).add(new Z(N,k)),L=new Z(19.5*V/24,21.5*V/24).add(new Z(N,k)),j=b.sub(L).mod(),C=V/2,$=2*V/24,B=N+V/2,z=k+V/2,D=g?"string"==typeof n?n:"string"==typeof h?h:"var(--cr-we)":"currentColor";return t("span",{...y,className:a(q,"jk-icon",r,`jk-icon-${o}`,{"cursor-pointer":!!y.onClick}),style:{transform:`rotate(${m}deg)`,...p},children:l("svg",{viewBox:f,fill:"currentColor",children:[(d||n)&&t(v,{cx:B,cy:z,sizeBox:V+(h?2*$:0),strokeWidth:n?0:$,filled:!!n}),(c||h)&&t(w,{cx:N,cy:k,strokeWidth:$,sizeBox:V,filled:!!h}),t("g",{transform:`translate(${(1-H)*(N+C)}, ${(1-H)*(k+C)}) scale(${H})`,children:t(s,{color:D,width:2.5})}),!!u&&t("text",{x:B,y:z,style:{alignmentBaseline:"central",textAnchor:"middle",fontSize:M??V*(d?.6:c?.7:n||h?.8:.9),color:x??D,fontWeight:800},children:u}),t("g",{transform:`translate(${(1-H)*(N+C)}, ${(1-H)*(k+C)}) scale(${H})`,children:Q&&l(e,{children:[t(T,{start:b,end:{x:N+4.5*V/24,y:k+2.5*V/24},fill:g?"currentColor":"var(--cr-we)",options:{width:j,roundWidth:0}}),t(T,{start:L,end:{x:N+2.5*V/24,y:k+4.5*V/24},fill:g?"var(--cr-we)":"currentColor",options:{width:j,roundWidth:0}})]})})]})})},x=({color:a})=>l(e,{children:[t("path",{d:"M17.098 10C16.9523 9.66007 17.3557 9.04434 17.8531 8.80409C18.4252 8.52774 19.1839 8.48354 19.4461 9.13436C19.8055 10.0183 19.9998 10.9897 19.9998 11.9999C19.9998 16.2933 16.2934 20 12 20C11.5019 20 11 19.3747 11 18.7501C11 18.1254 11.4326 17.5001 11.998 17.5001C14.9999 17.5001 17.498 15.0001 17.498 12C17.498 11.2327 17.37 10.68 17.098 10Z",fill:a}),t("path",{d:"M6.90176 14C7.04746 14.3399 6.64403 14.9557 6.14666 15.1959C5.57457 15.4723 4.8159 15.5165 4.55363 14.8656C4.19422 13.9817 3.99995 13.0103 3.99995 12.0001C3.99995 7.70668 7.70632 4 11.9998 4C12.4978 4.00001 12.9998 4.62526 12.9998 5.24994C12.9998 5.87461 12.5671 6.49994 12.0017 6.49994C8.99982 6.49994 6.50176 8.99994 6.50176 12C6.50176 12.7673 6.62977 13.32 6.90176 14Z",fill:a})]}),M=({className:t="",speed:l,...e})=>u({className:a("none"!==l?"rotating":"",l,t),...e},x,"spin"),y=({color:l})=>t("path",{d:"M5 22q-.825 0-1.413-.587Q3 20.825 3 20V6h2v14h11v2Zm4-4q-.825 0-1.412-.587Q7 16.825 7 16V4q0-.825.588-1.413Q8.175 2 9 2h9q.825 0 1.413.587Q20 3.175 20 4v12q0 .825-.587 1.413Q18.825 18 18 18Zm0-2h9V4H9v12Zm0 0V4v12Z",fill:l}),g=t=>u(t,y,"content-copy"),H=({color:l})=>t("path",{d:"M268-240 42-466l57-56 170 170 56 56-57 56Zm226 0L268-466l56-57 170 170 368-368 56 57-424 424Zm0-226-57-56 198-198 57 56-198 198Z",fill:l}),N=t=>u({...t,viewBox:"0 -960 960 960"},H,"done-all"),k=({color:l})=>t("path",{d:"M12 16q1.875 0 3.188-1.312Q16.5 13.375 16.5 11.5q0-1.875-1.312-3.188Q13.875 7 12 7q-1.875 0-3.188 1.312Q7.5 9.625 7.5 11.5q0 1.875 1.312 3.188Q10.125 16 12 16Zm0-1.8q-1.125 0-1.912-.788Q9.3 12.625 9.3 11.5t.788-1.913Q10.875 8.8 12 8.8t1.913.787q.787.788.787 1.913t-.787 1.912q-.788.788-1.913.788Zm0 4.8q-3.65 0-6.65-2.038-3-2.037-4.35-5.462 1.35-3.425 4.35-5.463Q8.35 4 12 4q3.65 0 6.65 2.037 3 2.038 4.35 5.463-1.35 3.425-4.35 5.462Q15.65 19 12 19Zm0-7.5Zm0 5.5q2.825 0 5.188-1.488Q19.55 14.025 20.8 11.5q-1.25-2.525-3.612-4.013Q14.825 6 12 6 9.175 6 6.812 7.487 4.45 8.975 3.2 11.5q1.25 2.525 3.612 4.012Q9.175 17 12 17Z",fill:l}),V=t=>u(t,k,"visibility"),b=({color:l})=>t("path",{d:"m16.1 13.3-1.45-1.45q.225-1.175-.675-2.2-.9-1.025-2.325-.8L10.2 7.4q.425-.2.862-.3Q11.5 7 12 7q1.875 0 3.188 1.312Q16.5 9.625 16.5 11.5q0 .5-.1.938-.1.437-.3.862Zm3.2 3.15-1.45-1.4q.95-.725 1.688-1.588.737-.862 1.262-1.962-1.25-2.525-3.588-4.013Q14.875 6 12 6q-.725 0-1.425.1-.7.1-1.375.3L7.65 4.85q1.025-.425 2.1-.638Q10.825 4 12 4q3.775 0 6.725 2.087Q21.675 8.175 23 11.5q-.575 1.475-1.512 2.738Q20.55 15.5 19.3 16.45Zm.5 6.15-4.2-4.15q-.875.275-1.762.413Q12.95 19 12 19q-3.775 0-6.725-2.087Q2.325 14.825 1 11.5q.525-1.325 1.325-2.463Q3.125 7.9 4.15 7L1.4 4.2l1.4-1.4 18.4 18.4ZM5.55 8.4q-.725.65-1.325 1.425T3.2 11.5q1.25 2.525 3.587 4.012Q9.125 17 12 17q.5 0 .975-.062.475-.063.975-.138l-.9-.95q-.275.075-.525.112Q12.275 16 12 16q-1.875 0-3.188-1.312Q7.5 13.375 7.5 11.5q0-.275.037-.525.038-.25.113-.525Zm7.975 2.325ZM9.75 12.6Z",fill:l}),L=t=>u(t,b,"visibility-off"),j=({color:l})=>t("path",{d:"m12 15-5-5h10Z",fill:l}),C=t=>u(t,j,"arrow-drop-down"),$=({color:l})=>t("path",{d:"m7 14 5-5 5 5Z",fill:l}),B=t=>u(t,$,"arrow-drop-up"),z=({color:l})=>t("path",{d:"m14 17-5-5 5-5Z",fill:l}),D=t=>u(t,z,"arrow-left"),S=({color:l})=>t("path",{d:"M10 17V7l5 5Z",fill:l}),W=t=>u(t,S,"arrow-right"),A=(t,l)=>t[l]??l,_=({src:l,className:e,alt:a,style:i,width:s,height:o,fill:r})=>t("img",r?{src:l,className:e,alt:a,width:"100%",height:"100%",style:{objectFit:"contain",...i}}:{src:l,className:e,alt:a,width:s,height:o,style:{...i,width:s,height:o}}),E=({color:l})=>t("path",{d:"M6.4 19 5 17.6l5.6-5.6L5 6.4 6.4 5l5.6 5.6L17.6 5 19 6.4 13.4 12l5.6 5.6-1.4 1.4-5.6-5.6Z",fill:l}),F=t=>u(t,E,"close"),I=({color:l})=>t("path",{d:"m12 15.375-6-6 1.4-1.4 4.6 4.6 4.6-4.6 1.4 1.4Z",fill:l}),O=t=>u(t,I,"expand-more"),P=({color:l})=>t("path",{d:"M9.4 18 8 16.6l4.6-4.6L8 7.4 9.4 6l6 6Z",fill:l}),G=t=>u(t,P,"navigate-next"),U=({color:l})=>t("path",{d:"M240 856h120V616h240v240h120V496L480 316 240 496v360Zm-80 80V456l320-240 320 240v480H520V696h-80v240H160Zm320-350Z",fill:l}),J=t=>u({...t,viewBox:"0 96 960 960"},U,"home"),K=({color:l})=>t("path",{d:"m9.55 18-5.7-5.7 1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4Z",fill:l}),Y=t=>u(t,K,"check"),R=({color:l})=>t("path",{d:"M12 17q.425 0 .713-.288Q13 16.425 13 16t-.287-.713Q12.425 15 12 15t-.712.287Q11 15.575 11 16t.288.712Q11.575 17 12 17Zm-1-4h2V7h-2Zm1 9q-2.075 0-3.9-.788-1.825-.787-3.175-2.137-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175 1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138 1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175-1.35 1.35-3.175 2.137Q14.075 22 12 22Zm0-2q3.35 0 5.675-2.325Q20 15.35 20 12q0-3.35-2.325-5.675Q15.35 4 12 4 8.65 4 6.325 6.325 4 8.65 4 12q0 3.35 2.325 5.675Q8.65 20 12 20Zm0-8Z",fill:l}),X=t=>u(t,R,"error"),tt=({color:l})=>t("path",{d:"m14 18-6-6 6-6 1.4 1.4-4.6 4.6 4.6 4.6Z",fill:l}),lt=t=>u(t,tt,"navigate-before"),et=({loading:l,children:e})=>l?t("div",{className:"jk-loader-layer",children:t(M,{size:"very-huge"})}):e,at=({delay:l=5,style:e})=>t("div",{className:"layout-line-loader",style:{"--delay":l,...e},children:t("div",{})}),it=({color:l})=>t("path",{d:"M440-80v-166L310-118l-56-56 186-186v-80h-80L174-254l-56-56 128-130H80v-80h166L118-650l56-56 186 186h80v-80L254-786l56-56 130 128v-166h80v166l130-128 56 56-186 186v80h80l186-186 56 56-128 130h166v80H714l128 130-56 56-186-186h-80v80l186 186-56 56-130-128v166h-80Z",fill:l}),st=t=>u({...t,viewBox:"0 -960 960 960"},it,"ac-unit"),ot=({color:l})=>t("path",{d:"M440-400v-360h80v360h-80Zm0 200v-80h80v80h-80Z",fill:l}),rt=t=>u({...t,viewBox:"0 -960 960 960"},ot,"exclamation"),qt=({color:l})=>t("path",{d:"M6 22q-.825 0-1.412-.587Q4 20.825 4 20V10q0-.825.588-1.413Q5.175 8 6 8h1V6q0-2.075 1.463-3.538Q9.925 1 12 1t3.538 1.462Q17 3.925 17 6v2h1q.825 0 1.413.587Q20 9.175 20 10v10q0 .825-.587 1.413Q18.825 22 18 22Zm0-2h12V10H6v10Zm6-3q.825 0 1.413-.587Q14 15.825 14 15q0-.825-.587-1.413Q12.825 13 12 13q-.825 0-1.412.587Q10 14.175 10 15q0 .825.588 1.413Q11.175 17 12 17ZM9 8h6V6q0-1.25-.875-2.125T12 3q-1.25 0-2.125.875T9 6ZM6 20V10v10Z",fill:l}),nt=t=>u(t,qt,"lock"),ht=({color:l})=>t("path",{d:"m536-84-56-56 142-142-340-340-142 142-56-56 56-58-56-56 84-84-56-58 56-56 58 56 84-84 56 56 58-56 56 56-142 142 340 340 142-142 56 56-56 58 56 56-84 84 56 58-56 56-58-56-84 84-56-56-58 56Z",fill:l}),dt=t=>u({...t,viewBox:"0 -960 960 960"},ht,"fitness-center"),ct=i(()=>({locale:r.EN,dict:{}}));let mt=!1,vt=!1;const Zt=(t,l)=>{mt=!0;const e=ct();e.locale=t,e.dict=l},Qt=()=>{vt||mt||"undefined"!=typeof window&&((()=>{if("undefined"==typeof process)return!1;try{return"production"===process.env?.NODE_ENV}catch{return!1}})()||(vt=!0,console.warn("[@juki-team/base-ui] A server-safe component using <T> rendered in a client context but the i18n dict was never populated for the client singleton. Translations will fall back to raw keys.\n\nFix: wrap your client tree with <JukiI18nBridge dicts={...}> at the root. The bridge syncs the active dict into the server cache during render so components imported from `/server-components` translate correctly in both contexts.")))},pt=()=>(Qt(),ct().dict),ft=()=>(Qt(),ct().locale);function Tt({className:l="",children:e,style:a}){return t("span",{className:l,style:a,children:A(pt(),e)})}function wt(i){const{date:s,className:o,show:r="year-month-day-hours-minutes-seconds",twoLines:h,withDayName:m,style:v}=i,{showYears:Z,showMonths:Q,showDays:p,showHours:f,showMinutes:T,showSeconds:w,showMilliseconds:u}=d(r);return l("div",{className:a("date-literal jk-br-ie",{"jk-row gap nowrap center":!h,"jk-col nowrap center":!!h},o),style:v,children:[l("div",{children:[m&&l(e,{children:[t(Tt,{children:q[s.getDay()]??s.getDay().toString()}),", "]}),p&&l(e,{children:[s.getDate()," "]}),Q&&l(e,{children:[t(Tt,{children:n[s.getMonth()]??s.getMonth().toString()})," "]}),Z&&s.getFullYear()]}),f&&l("div",{className:"cr-tx-sc",children:[c(s.getHours(),2),T&&l(e,{children:[":",c(s.getMinutes(),2)]}),w&&l(e,{children:[":",c(s.getSeconds(),2)]}),u&&l(e,{children:[".",c(s.getMilliseconds(),3)]})]})]})}const ut=(e,i,s)=>{const{size:o="regular",color:r,className:q="",circle:n=!1,square:h=!1,rotate:d=0,filledCircle:c=!1,filledSquare:m=!1,...Z}=e;return t("span",{...Z,className:a(q,"jk-icon",o,s,{"cursor-pointer":!!Z.onClick}),style:{transform:`rotate(${d}deg)`},children:l("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:[(n||c)&&t(v,{strokeWidth:3,filled:!!c}),(h||m)&&t(w,{strokeWidth:3,filled:!!m}),t(i,{color:r||(c||m?"string"==typeof c?c:"string"==typeof m?m:"var(--cr-we)":"currentColor"),width:3})]})})},xt=s(({width:a,color:i})=>l(e,{children:[t(T,{start:{x:6,y:12},end:{x:18,y:12},options:{width:a},fill:i}),t(T,{start:{x:12,y:18},end:{x:12,y:6},options:{width:a},fill:i})]})),Mt=s(({width:a,color:i})=>l(e,{children:[t(T,{start:{x:3,y:12},end:{x:21,y:12},options:{width:a},fill:i}),t(T,{start:{x:12,y:21},end:{x:12,y:3},options:{width:a},fill:i})]})),yt=t=>ut(t,t.circle||t.square||t.filledCircle||t.filledSquare?xt:Mt),gt=({color:l})=>t("path",{d:"M784 936 532 684q-30 24-69 38t-83 14q-109 0-184.5-75.5T120 476q0-109 75.5-184.5T380 216q109 0 184.5 75.5T640 476q0 44-14 83t-38 69l252 252-56 56ZM380 656q75 0 127.5-52.5T560 476q0-75-52.5-127.5T380 296q-75 0-127.5 52.5T200 476q0 75 52.5 127.5T380 656Z",fill:l}),Ht=t=>u({...t,viewBox:"0 96 960 960"},gt,"search"),Nt=s(({width:a,color:i})=>l(e,{children:[t(T,{start:{x:6,y:11.5},end:{x:12.9,y:5.5},options:{width:a},fill:i}),t(T,{start:{x:18,y:11.5},end:{x:11.1,y:5.5},options:{width:a},fill:i}),t(T,{start:{x:6,y:16.5},end:{x:12.9,y:10.5},options:{width:a},fill:i}),t(T,{start:{x:18,y:16.5},end:{x:11.1,y:10.5},options:{width:a},fill:i})]})),kt=t=>ut(t,Nt),Vt=({color:l})=>t("path",{d:"m7.4 15.375-1.4-1.4 6-6 6 6-1.4 1.4-4.6-4.6Z",fill:l}),bt=t=>u(t,Vt,"expand-less"),Lt=({color:l})=>t("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm280-80h280v-560H480v560Z",fill:l}),jt=t=>u({...t,viewBox:"0 -960 960 960"},Lt,"side-navigation"),Ct=({color:l})=>t("path",{d:"M12 20q-3.35 0-5.675-2.325Q4 15.35 4 12q0-3.35 2.325-5.675Q8.65 4 12 4q1.725 0 3.3.713 1.575.712 2.7 2.037V4h2v7h-7V9h4.2q-.8-1.4-2.187-2.2Q13.625 6 12 6 9.5 6 7.75 7.75T6 12q0 2.5 1.75 4.25T12 18q1.925 0 3.475-1.1T17.65 14h2.1q-.7 2.65-2.85 4.325Q14.75 20 12 20Z",fill:l}),$t=t=>u(t,Ct,"refresh"),Bt=({color:l})=>t("path",{d:"M4 15v-2h16v2Zm0 4v-2h16v2Zm0-8V9h16v2Zm0-4V5h16v2Z",fill:l}),zt=t=>u(t,Bt,"view-headline");function Dt(i){const{counter:s,inline:r,literal:q,ignoreLeadingZeros:n=!1,ignoreTrailingZeros:h=!1,maxSplit:d=6,minSplit:v=1,abbreviated:Z=!1,type:Q="hours-minutes-seconds",className:p}=i,f=m(s,Q,n,h,d,v);return t("div",{className:a("jk-timer-layout jk-row nowrap",p,{literal:!!q,inline:!!r}),children:q?f.map((e,a)=>l(o,{children:[a>0&&t(Tt,{children:"and"}),t("span",{children:e.remaining}),t(Tt,{children:Z?e.abbreviatedLabel:e.label})]},e.label)):r?f.map((a,i)=>l("div",{children:[t("span",{className:"ff-me",children:c(a.remaining,a.digits,"0")}),i!==f.length-1&&["h","m"].includes(a.abbreviatedLabel)&&t("span",{className:"fw-bd",children:":"}),i!==f.length-1&&["s"].includes(a.abbreviatedLabel)&&t("span",{className:"fw-bd",children:"."}),["w","d"].includes(a.abbreviatedLabel)&&l(e,{children:[t(Tt,{children:Z?a.abbreviatedLabel:a.label})," "]})]},a.label)):f.map((e,a)=>l(o,{children:[l("div",{className:"content-stamp",children:[t("div",{className:"jk-row ff-me",children:c(e.remaining,e.digits,"0")}),t("div",{className:"content-label jk-row",children:t(Tt,{className:"tt-se",children:Z?e.abbreviatedLabel:e.label})})]}),a!==f.length-1&&t("span",{className:"fw-bd",children:":"})]},e.label))})}const St=({color:l})=>t("path",{d:"M7 17h7v-2H7Zm0-4h10v-2H7Zm0-4h10V7H7ZM5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h14q.825 0 1.413.587Q21 4.175 21 5v14q0 .825-.587 1.413Q19.825 21 19 21Zm0-2h14V5H5v14ZM5 5v14V5Z",fill:l}),Wt=t=>u(t,St,"article"),At=({color:l})=>t("path",{d:"M580-120q-50 0-85-35t-35-85q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T620-240q0-17-11.5-28.5T580-280q-17 0-28.5 11.5T540-240q0 17 11.5 28.5T580-200Zm80-200q-92 0-156-64t-64-156q0-92 64-156t156-64q92 0 156 64t64 156q0 92-64 156t-156 64Zm0-80q59 0 99.5-40.5T800-620q0-59-40.5-99.5T660-760q-59 0-99.5 40.5T520-620q0 59 40.5 99.5T660-480ZM280-240q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 66-47 113t-113 47Zm0-80q33 0 56.5-23.5T360-400q0-33-23.5-56.5T280-480q-33 0-56.5 23.5T200-400q0 33 23.5 56.5T280-320Zm300 80Zm80-380ZM280-400Z",fill:l}),_t=t=>u({...t,viewBox:"0 -960 960 960"},At,"bubble-chart"),Et=({color:l})=>t("path",{d:"m8 18-6-6 6-6 1.425 1.425-4.6 4.6L9.4 16.6Zm8 0-1.425-1.425 4.6-4.6L14.6 7.4 16 6l6 6Z",fill:l}),Ft=t=>u(t,Et,"close"),It=({color:l})=>t("path",{d:"M640-120q-33 0-56.5-23.5T560-200v-160q0-33 23.5-56.5T640-440h160q33 0 56.5 23.5T880-360v160q0 33-23.5 56.5T800-120H640Zm0-80h160v-160H640v160ZM80-240v-80h360v80H80Zm560-280q-33 0-56.5-23.5T560-600v-160q0-33 23.5-56.5T640-840h160q33 0 56.5 23.5T880-760v160q0 33-23.5 56.5T800-520H640Zm0-80h160v-160H640v160ZM80-640v-80h360v80H80Zm640 360Zm0-400Z",fill:l}),Ot=t=>u({...t,viewBox:"0 -960 960 960"},It,"event-list"),Pt=({color:l})=>t("path",{d:"M352-120H200q-33 0-56.5-23.5T120-200v-152q48 0 84-30.5t36-77.5q0-47-36-77.5T120-568v-152q0-33 23.5-56.5T200-800h160q0-42 29-71t71-29q42 0 71 29t29 71h160q33 0 56.5 23.5T800-720v160q42 0 71 29t29 71q0 42-29 71t-71 29v160q0 33-23.5 56.5T720-120H568q0-50-31.5-85T460-240q-45 0-76.5 35T352-120Zm-152-80h85q24-66 77-93t98-27q45 0 98 27t77 93h85v-240h80q8 0 14-6t6-14q0-8-6-14t-14-6h-80v-240H480v-80q0-8-6-14t-14-6q-8 0-14 6t-6 14v80H200v88q54 20 87 67t33 105q0 57-33 104t-87 68v88Zm260-260Z",fill:l}),Gt=t=>u({...t,viewBox:"0 -960 960 960"},Pt,"extension"),Ut=({color:l})=>t("path",{d:"m12 20-8-8 1.4-1.425 5.6 5.6V4h2v12.175l5.6-5.6L20 12Z",fill:l}),Jt=t=>u(t,Ut,"arrow-downward"),Kt=({color:l})=>t("path",{d:"M3 20V4l19 8Zm2-3 11.85-5L5 7v3.5l6 1.5-6 1.5Zm0 0V7v6.5Z",fill:l}),Yt=t=>u(t,Kt,"send"),Rt=({color:l})=>t("path",{d:"M160-360q-50 0-85-35t-35-85q0-50 35-85t85-35v-80q0-33 23.5-56.5T240-760h120q0-50 35-85t85-35q50 0 85 35t35 85h120q33 0 56.5 23.5T800-680v80q50 0 85 35t35 85q0 50-35 85t-85 35v160q0 33-23.5 56.5T720-120H240q-33 0-56.5-23.5T160-200v-160Zm200-80q25 0 42.5-17.5T420-500q0-25-17.5-42.5T360-560q-25 0-42.5 17.5T300-500q0 25 17.5 42.5T360-440Zm240 0q25 0 42.5-17.5T660-500q0-25-17.5-42.5T600-560q-25 0-42.5 17.5T540-500q0 25 17.5 42.5T600-440ZM320-280h320v-80H320v80Zm-80 80h480v-480H240v480Zm240-240Z",fill:l}),Xt=t=>u({...t,viewBox:"0 -960 960 960"},Rt,"smart-toy"),tl=({color:l})=>t("path",{d:"M8 16h8V8H8Zm4 6q-2.075 0-3.9-.788-1.825-.787-3.175-2.137-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175 1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138 1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175-1.35 1.35-3.175 2.137Q14.075 22 12 22Zm0-2q3.35 0 5.675-2.325Q20 15.35 20 12q0-3.35-2.325-5.675Q15.35 4 12 4 8.65 4 6.325 6.325 4 8.65 4 12q0 3.35 2.325 5.675Q8.65 20 12 20Zm0-8Z",fill:l}),ll=t=>u(t,tl,"stop-circle"),el=({color:l})=>t("path",{d:"M6 20q-.825 0-1.412-.587Q4 18.825 4 18v-3h2v3h12v-3h2v3q0 .825-.587 1.413Q18.825 20 18 20Zm6-4-5-5 1.4-1.45 2.6 2.6V4h2v8.15l2.6-2.6L17 11Z",fill:l}),al=t=>u(t,el,"download"),il=({color:l})=>t("path",{d:"M5 19h1.4l8.625-8.625-1.4-1.4L5 17.6ZM19.3 8.925l-4.25-4.2 1.4-1.4q.575-.575 1.413-.575.837 0 1.412.575l1.4 1.4q.575.575.6 1.388.025.812-.55 1.387ZM17.85 10.4 7.25 21H3v-4.25l10.6-10.6Zm-3.525-.725-.7-.7 1.4 1.4Z",fill:l}),sl=t=>u(t,il,"edit"),ol=({color:l})=>t("path",{d:"M480-680q-33 0-56.5-23.5T400-760q0-33 23.5-56.5T480-840q33 0 56.5 23.5T560-760q0 33-23.5 56.5T480-680Zm-60 560v-480h120v480H420Z",fill:l}),rl=t=>u({...t,viewBox:"0 -960 960 960"},ol,"info-i"),ql=({color:l})=>t("path",{d:"M1 21 12 2l11 19Zm3.45-2h15.1L12 6ZM12 18q.425 0 .713-.288Q13 17.425 13 17t-.287-.712Q12.425 16 12 16t-.712.288Q11 16.575 11 17t.288.712Q11.575 18 12 18Zm-1-3h2v-5h-2Zm1-2.5Z",fill:l}),nl=t=>u(t,ql,"warning"),hl=({color:l})=>t("path",{d:"m12 20-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6Z",fill:l}),dl=t=>u(t,hl,"arrow-back"),cl=({color:l})=>t("path",{d:"M6.5 20q-2.275 0-3.887-1.575Q1 16.85 1 14.575q0-1.95 1.175-3.475Q3.35 9.575 5.25 9.15q.625-2.3 2.5-3.725Q9.625 4 12 4q2.925 0 4.962 2.037Q19 8.075 19 11q1.725.2 2.863 1.487Q23 13.775 23 15.5q0 1.875-1.312 3.188Q20.375 20 18.5 20H13q-.825 0-1.412-.587Q11 18.825 11 18v-5.15L9.4 14.4 8 13l4-4 4 4-1.4 1.4-1.6-1.55V18h5.5q1.05 0 1.775-.725Q21 16.55 21 15.5q0-1.05-.725-1.775Q19.55 13 18.5 13H17v-2q0-2.075-1.462-3.538Q14.075 6 12 6 9.925 6 8.463 7.462 7 8.925 7 11h-.5q-1.45 0-2.475 1.025Q3 13.05 3 14.5q0 1.45 1.025 2.475Q5.05 18 6.5 18H9v2Zm5.5-7Z",fill:l}),ml=t=>u(t,cl,"cloud-upload"),vl=({color:l})=>t("path",{d:"M12 21v-2h7V5h-7V3h7q.825 0 1.413.587Q21 4.175 21 5v14q0 .825-.587 1.413Q19.825 21 19 21Zm-2-4-1.375-1.45 2.55-2.55H3v-2h8.175l-2.55-2.55L10 7l5 5Z",fill:l}),Zl=t=>u(t,vl,"login"),Ql=({color:l})=>t("path",{d:"M5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h7v2H5v14h7v2Zm11-4-1.375-1.45 2.55-2.55H9v-2h8.175l-2.55-2.55L16 7l5 5Z",fill:l}),pl=t=>u(t,Ql,"logout"),fl=({color:l})=>t("path",{d:"M5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h7v2H5v14h14v-7h2v7q0 .825-.587 1.413Q19.825 21 19 21Zm4.7-5.3-1.4-1.4L17.6 5H14V3h7v7h-2V6.4Z",fill:l}),Tl=t=>u(t,fl,"open-in-new"),wl=s(({width:a,color:i})=>l(e,{children:[t(T,{start:{x:6,y:14},end:{x:12.9,y:8},options:{width:a},fill:i}),t(T,{start:{x:18,y:14},end:{x:11.1,y:8},options:{width:a},fill:i})]})),ul=t=>ut(t,wl),xl=t=>!(t===h.CE||t===h.HIDDEN||t===h.NONE||t===h.PENDING),Ml=({verdict:a,memoryUsed:i})=>xl(a)?l(e,{children:[i," ",t(Tt,{className:"cr-tx-sc",children:"KB"})]}):t(e,{children:"-"}),yl=({verdict:a,timeUsed:i})=>xl(a)?l(e,{children:[(i/1e3).toFixed(3)," ",t(Tt,{className:"cr-tx-sc",children:"s"})]}):t(e,{children:"-"}),gl=({color:l})=>t("path",{d:"M12 12q.825 0 1.413-.588Q14 10.825 14 10t-.587-1.413Q12.825 8 12 8q-.825 0-1.412.587Q10 9.175 10 10q0 .825.588 1.412Q11.175 12 12 12Zm0 7.35q3.05-2.8 4.525-5.088Q18 11.975 18 10.2q0-2.725-1.738-4.463Q14.525 4 12 4 9.475 4 7.737 5.737 6 7.475 6 10.2q0 1.775 1.475 4.062Q8.95 16.55 12 19.35ZM12 22q-4.025-3.425-6.012-6.363Q4 12.7 4 10.2q0-3.75 2.413-5.975Q8.825 2 12 2t5.587 2.225Q20 6.45 20 10.2q0 2.5-1.987 5.437Q16.025 18.575 12 22Zm0-11.8Z",fill:l}),Hl=t=>u(t,gl,"location-on"),Nl=({color:l})=>t("path",{d:"M4 20q-.825 0-1.412-.587Q2 18.825 2 18V6q0-.825.588-1.412Q3.175 4 4 4h16q.825 0 1.413.588Q22 5.175 22 6v12q0 .825-.587 1.413Q20.825 20 20 20Zm8-7L4 8v10h16V8Zm0-2 8-5H4ZM4 8V6v12Z",fill:l}),kl=t=>u(t,Nl,"mail"),Vl=({color:l})=>t("path",{d:"m12 21-7-3.8v-6L1 9l11-6 11 6v8h-2v-6.9l-2 1.1v6Zm0-8.3L18.85 9 12 5.3 5.15 9Zm0 6.025 5-2.7V12.25L12 15l-5-2.75v3.775Zm0-6.025Zm0 2.25Zm0 0Z",fill:l}),bl=t=>u(t,Vl,"school"),Ll=({color:l})=>t("path",{d:"m352-522 86-87-56-57-44 44-56-56 43-44-45-45-87 87 159 158Zm328 329 87-87-45-45-44 43-56-56 43-44-57-56-86 86 158 159Zm24-567 57 57-57-57ZM290-120H120v-170l175-175L80-680l200-200 216 216 151-152q12-12 27-18t31-6q16 0 31 6t27 18l53 54q12 12 18 27t6 31q0 16-6 30.5T816-647L665-495l215 215L680-80 465-295 290-120Zm-90-80h56l392-391-57-57-391 392v56Zm420-419-29-29 57 57-28-28Z",fill:l}),jl=t=>u({...t,viewBox:"0 -960 960 960"},Ll,"design-services"),Cl=({color:l})=>t("path",{d:"M12 22q-1.875 0-3.512-.712-1.638-.713-2.85-1.926-1.213-1.212-1.926-2.85Q3 14.875 3 13t.712-3.513q.713-1.637 1.926-2.85 1.212-1.212 2.85-1.924Q10.125 4 12 4t3.513.713q1.637.712 2.85 1.924 1.212 1.213 1.925 2.85Q21 11.125 21 13t-.712 3.512q-.713 1.638-1.925 2.85-1.213 1.213-2.85 1.926Q13.875 22 12 22Zm0-9Zm2.8 4.2 1.4-1.4-3.2-3.2V8h-2v5.4ZM5.6 2.35 7 3.75 2.75 8l-1.4-1.4Zm12.8 0 4.25 4.25-1.4 1.4L17 3.75ZM12 20q2.925 0 4.962-2.038Q19 15.925 19 13t-2.038-4.963Q14.925 6 12 6T7.038 8.037Q5 10.075 5 13q0 2.925 2.038 4.962Q9.075 20 12 20Z",fill:l}),$l=t=>u(t,Cl,"alarm"),Bl=({color:l})=>t("path",{d:"M8 19v-3H5v-2h5v5Zm6 0v-5h5v2h-3v3Zm-9-9V8h3V5h2v5Zm9 0V5h2v3h3v2Z",fill:l}),zl=t=>u(t,Bl,"fullscreen-exit"),Dl=({color:l})=>t("path",{d:"M5 19v-5h2v3h3v2Zm0-9V5h5v2H7v3Zm9 9v-2h3v-3h2v5Zm3-9V7h-3V5h5v5Z",fill:l}),Sl=t=>u(t,Dl,"fullscreen"),Wl=({color:l})=>t("path",{d:"M360-320h80v-320h-80v320Zm160 0h80v-320h-80v320ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z",fill:l}),Al=t=>u({...t,viewBox:"0 -960 960 960"},Wl,"pause-circle"),_l=({color:l})=>t("path",{d:"m9.5 16.5 7-4.5-7-4.5ZM12 22q-2.075 0-3.9-.788-1.825-.787-3.175-2.137-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175 1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138 1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175-1.35 1.35-3.175 2.137Q14.075 22 12 22Zm0-2q3.35 0 5.675-2.325Q20 15.35 20 12q0-3.35-2.325-5.675Q15.35 4 12 4 8.65 4 6.325 6.325 4 8.65 4 12q0 3.35 2.325 5.675Q8.65 20 12 20Zm0-8Z",fill:l}),El=t=>u(t,_l,"play-circle"),Fl=({color:l})=>t("path",{d:"M9 3V1h6v2Zm2 11h2V8h-2Zm1 8q-1.85 0-3.488-.712-1.637-.713-2.862-1.938t-1.938-2.862Q3 14.85 3 13t.712-3.488Q4.425 7.875 5.65 6.65t2.862-1.937Q10.15 4 12 4q1.55 0 2.975.5t2.675 1.45l1.4-1.4 1.4 1.4-1.4 1.4Q20 8.6 20.5 10.025 21 11.45 21 13q0 1.85-.712 3.488-.713 1.637-1.938 2.862t-2.862 1.938Q13.85 22 12 22Zm0-2q2.9 0 4.95-2.05Q19 15.9 19 13q0-2.9-2.05-4.95Q14.9 6 12 6 9.1 6 7.05 8.05 5 10.1 5 13q0 2.9 2.05 4.95Q9.1 20 12 20Zm0-7Z",fill:l}),Il=t=>u(t,Fl,"timer"),Ol=({color:l})=>t("path",{d:"M7 19v-2h7.1q1.575 0 2.737-1Q18 15 18 13.5T16.837 11q-1.162-1-2.737-1H7.8l2.6 2.6L9 14 4 9l5-5 1.4 1.4L7.8 8h6.3q2.425 0 4.163 1.575Q20 11.15 20 13.5q0 2.35-1.737 3.925Q16.525 19 14.1 19Z",fill:l}),Pl=t=>u(t,Ol,"undo"),Gl=({color:l})=>t("path",{d:"M360-80q-50 0-85-35t-35-85q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35Zm179-139q-6-55-41-97t-87-57l106-107H236q-32 0-54-22t-22-54q0-20 10.5-37.5T198-622l486-291q18-11 38-5.5t31 23.5q11 18 5.5 37.5T736-827L360-600h364q32 0 54 22t22 54q0 18-4.5 35.5T778-458L539-219Z",fill:l}),Ul=t=>u({...t,viewBox:"0 -960 960 960"},Gl,"stylus-laser-pointer"),Jl=({color:l})=>t("path",{d:"M0-240v-63q0-43 44-70t116-27q13 0 25 .5t23 2.5q-14 21-21 44t-7 48v65H0Zm240 0v-65q0-32 17.5-58.5T307-410q32-20 76.5-30t96.5-10q53 0 97.5 10t76.5 30q32 20 49 46.5t17 58.5v65H240Zm540 0v-65q0-26-6.5-49T754-397q11-2 22.5-2.5t23.5-.5q72 0 116 26.5t44 70.5v63H780Zm-455-80h311q-10-20-55.5-35T480-370q-55 0-100.5 15T325-320ZM160-440q-33 0-56.5-23.5T80-520q0-34 23.5-57t56.5-23q34 0 57 23t23 57q0 33-23 56.5T160-440Zm640 0q-33 0-56.5-23.5T720-520q0-34 23.5-57t56.5-23q34 0 57 23t23 57q0 33-23 56.5T800-440Zm-320-40q-50 0-85-35t-35-85q0-51 35-85.5t85-34.5q51 0 85.5 34.5T600-600q0 50-34.5 85T480-480Zm0-80q17 0 28.5-11.5T520-600q0-17-11.5-28.5T480-640q-17 0-28.5 11.5T440-600q0 17 11.5 28.5T480-560Zm1 240Zm-1-280Z",fill:l}),Kl=t=>u({...t,viewBox:"0 -960 960 960"},Jl,"groups"),Yl=({color:l})=>t("path",{d:"M80-120q-33 0-56.5-23.5T0-200v-560q0-33 23.5-56.5T80-840h800q33 0 56.5 23.5T960-760v560q0 33-23.5 56.5T880-120H80Zm556-80h244v-560H80v560h4q42-75 116-117.5T360-360q86 0 160 42.5T636-200ZM360-400q50 0 85-35t35-85q0-50-35-85t-85-35q-50 0-85 35t-35 85q0 50 35 85t85 35Zm400 160 80-80-60-80h-66q-6-18-10-38.5t-4-41.5q0-21 4-40.5t10-39.5h66l60-80-80-80q-54 42-87 106.5T640-480q0 69 33 133.5T760-240Zm-578 40h356q-34-38-80.5-59T360-280q-51 0-97 21t-81 59Zm178-280q-17 0-28.5-11.5T320-520q0-17 11.5-28.5T360-560q17 0 28.5 11.5T400-520q0 17-11.5 28.5T360-480Zm120 0Z",fill:l}),Rl=t=>u({...t,viewBox:"0 -960 960 960"},Yl,"contact-phone"),Xl=()=>l("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",height:"144",viewBox:"0 0 144 144",width:"4464",children:[l("linearGradient",{id:"a",children:[t("stop",{offset:"0",stopColor:"#2aabee",id:"stop2"}),t("stop",{offset:"1",stopColor:"#229ed9",id:"stop4"})]}),t("linearGradient",{id:"y",gradientUnits:"userSpaceOnUse",x1:"4392",x2:"4392",xlinkHref:"#a",y1:"8",y2:"136",gradientTransform:"translate(-4320)"}),t("path",{d:"M 72,8 C 55.03,8 38.74,14.747 26.75,26.745 14.75,38.743 8,55.033 8,72 8,88.967 14.75,105.257 26.75,117.255 38.74,129.253 55.03,136 72,136 c 16.970003,0 33.26,-6.747 45.25,-18.745 C 129.25,105.257 136,88.967 136,72 136,55.033 129.25,38.743 117.25,26.745 105.26,14.747 88.970003,8 72,8 Z",fill:"url(#y)",id:"path8"}),t("path",{d:"m 36.97,71.3238 c 18.66,-8.128 31.1,-13.487 37.32,-16.076 17.780003,-7.393 21.470001,-8.677 23.88,-8.72 0.53,-0.009 1.71,0.122 2.48,0.745 0.64,0.525 0.82,1.235 0.91,1.733 0.08,0.498 0.19,1.633 0.1,2.519 -0.96,10.12 -5.129999,34.678 -7.249997,46.013 -0.89,4.7962 -2.66,6.4042 -4.37,6.5612 -3.72,0.342 -6.54,-2.456 -10.140003,-4.815198 C 74.27,95.5908 71.09,93.2928 65.62,89.6898 59.3,85.5258 63.4,83.2368 67,79.4968 c 0.94,-0.979 17.320003,-15.874 17.630003,-17.225 0.04,-0.169 0.08,-0.799 -0.3,-1.131 -0.37,-0.333 -0.92,-0.219 -1.32,-0.129 -0.57,0.128 -9.560003,6.076 -27.000003,17.843 -2.55,1.754 -4.86,2.609 -6.94,2.564 -2.28,-0.049 -6.68,-1.292 -9.95,-2.354 -4,-1.303 -7.19,-1.992 -6.91,-4.205 0.14,-1.152 1.73,-2.331 4.76,-3.536 z",fill:"#ffffff",id:"path10"})]}),te=({size:l="regular",className:e="",percent:i=100,...s})=>t("span",{...s,className:a(e,"jk-icon",l),style:{position:"relative"},children:t(Xl,{})}),le=()=>t(e,{}),ee=t=>u({...t,viewBox:"0 0 24 24"},le,"_"),ae=({color:l})=>t("path",{d:"M1 20v-2.8q0-.85.438-1.563.437-.712 1.162-1.087 1.55-.775 3.15-1.163Q7.35 13 9 13t3.25.387q1.6.388 3.15 1.163.725.375 1.162 1.087Q17 16.35 17 17.2V20Zm18 0v-3q0-1.1-.612-2.113-.613-1.012-1.738-1.737 1.275.15 2.4.512 1.125.363 2.1.888.9.5 1.375 1.112Q23 16.275 23 17v3ZM9 12q-1.65 0-2.825-1.175Q5 9.65 5 8q0-1.65 1.175-2.825Q7.35 4 9 4q1.65 0 2.825 1.175Q13 6.35 13 8q0 1.65-1.175 2.825Q10.65 12 9 12Zm10-4q0 1.65-1.175 2.825Q16.65 12 15 12q-.275 0-.7-.062-.425-.063-.7-.138.675-.8 1.037-1.775Q15 9.05 15 8q0-1.05-.363-2.025Q14.275 5 13.6 4.2q.35-.125.7-.163Q14.65 4 15 4q1.65 0 2.825 1.175Q19 6.35 19 8ZM3 18h12v-.8q0-.275-.137-.5-.138-.225-.363-.35-1.35-.675-2.725-1.013Q10.4 15 9 15t-2.775.337Q4.85 15.675 3.5 16.35q-.225.125-.362.35-.138.225-.138.5Zm6-8q.825 0 1.413-.588Q11 8.825 11 8t-.587-1.412Q9.825 6 9 6q-.825 0-1.412.588Q7 7.175 7 8t.588 1.412Q8.175 10 9 10Zm0 8ZM9 8Z",fill:l}),ie=t=>u(t,ae,"group");function se(){return{head:"contestants",index:"totalContestants",Field:({record:{totalContestants:e},isCard:a})=>t("div",{className:"jk-table-field jk-row",children:a?l("div",{className:"jk-row gap nowrap center",children:[t(ie,{size:"small"}),l("div",{className:"jk-col stretch",children:[t("div",{className:"jk-row",children:e}),t(Tt,{className:"cr-tx-mt tx-s tt-se ws-np",children:"contestants"})]})]}):e}),sort:!0,cardPosition:"bottom"}}const oe=({color:l})=>t("path",{d:"M14.5 18q-1.05 0-1.775-.725Q12 16.55 12 15.5q0-1.05.725-1.775Q13.45 13 14.5 13q1.05 0 1.775.725Q17 14.45 17 15.5q0 1.05-.725 1.775Q15.55 18 14.5 18ZM5 22q-.825 0-1.413-.587Q3 20.825 3 20V6q0-.825.587-1.412Q4.175 4 5 4h1V2h2v2h8V2h2v2h1q.825 0 1.413.588Q21 5.175 21 6v14q0 .825-.587 1.413Q19.825 22 19 22Zm0-2h14V10H5v10ZM5 8h14V6H5Zm0 0V6v2Z",fill:l}),re=t=>u(t,oe,"event"),qe=({color:l})=>t("path",{d:"m15.3 16.7 1.4-1.4-3.7-3.7V7h-2v5.4ZM12 22q-2.075 0-3.9-.788-1.825-.787-3.175-2.137-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175 1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138 1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175-1.35 1.35-3.175 2.137Q14.075 22 12 22Zm0-10Zm0 8q3.325 0 5.663-2.337Q20 15.325 20 12t-2.337-5.663Q15.325 4 12 4T6.338 6.337Q4 8.675 4 12t2.338 5.663Q8.675 20 12 20Z",fill:l}),ne=t=>u(t,qe,"schedule");function he(){return{head:"dates",index:"date",Field:({record:{settings:e,isEndless:a},isCard:i})=>l("div",{className:"jk-table-field jk-row extend",children:[a?i?"":"-":i?l("div",{className:"jk-row block extend nowrap space-between",children:[l("div",{className:"jk-row gap nowrap",children:[t(re,{size:"small"}),l("div",{className:"jk-col",children:[t("div",{className:"jk-row nowrap",children:new Date(e.startsAt).toLocaleDateString()}),t(Tt,{className:"cr-tx-mt tx-s tt-se ws-np",children:"start date"})]})]}),l("div",{className:"jk-row gap nowrap",children:[t(ne,{size:"small"}),l("div",{className:"jk-col",children:[t("div",{className:"jk-row ws-np",children:new Date(e.startsAt).toLocaleTimeString()}),t(Tt,{className:"cr-tx-mt tx-s tt-se",children:"hour"})]})]})]}):t(wt,{date:new Date(e.startsAt),show:"year-month-day-hours-minutes",twoLines:!0}),"-",a?i?"":"-":i?l("div",{className:"jk-row block extend nowrap space-between",children:[l("div",{className:"jk-row gap nowrap",children:[t(re,{size:"small"}),l("div",{className:"jk-col",children:[t("div",{children:new Date(e.endsAt).toLocaleDateString()}),t(Tt,{className:"cr-tx-mt tx-s tt-se",children:"end date"})]})]}),l("div",{className:"jk-row gap nowrap",children:[t(ne,{size:"small"}),l("div",{className:"jk-col",children:[t("div",{children:new Date(e.endsAt).toLocaleTimeString()}),t(Tt,{className:"cr-tx-mt tx-s tt-se",children:"hour"})]})]})]}):t(wt,{date:new Date(e.endsAt),show:"year-month-day-hours-minutes",twoLines:!0})]}),sort:!0,filter:{type:"date-range",pickerType:"year-month-day-hours-minutes"},cardPosition:"center",minWidth:320}}function de({record:{tags:l},isCard:e}){return t("div",{className:a("jk-table-field jk-row gap",{center:e,left:!e,"jk-pg-smp":e}),children:l.filter(Boolean).map(l=>t("div",{className:"jk-tag bc-ht-lt tx-s",children:t(Tt,{children:l})},l))})}const ce=({color:l})=>t("path",{d:"M17 22q-2.075 0-3.537-1.462Q12 19.075 12 17q0-2.075 1.463-3.538Q14.925 12 17 12t3.538 1.462Q22 14.925 22 17q0 2.075-1.462 3.538Q19.075 22 17 22Zm1.675-2.625.7-.7L17.5 16.8V14h-1v3.2ZM5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h4.175q.275-.875 1.075-1.438Q11.05 1 12 1q1 0 1.788.562.787.563 1.062 1.438H19q.825 0 1.413.587Q21 4.175 21 5v6.25q-.45-.325-.95-.55-.5-.225-1.05-.4V5h-2v3H7V5H5v14h5.3q.175.55.4 1.05.225.5.55.95Zm7-16q.425 0 .713-.288Q13 4.425 13 4t-.287-.713Q12.425 3 12 3t-.712.287Q11 3.575 11 4t.288.712Q11.575 5 12 5Z",fill:l}),me=t=>u(t,ce,"pending-actions");function ve({solved:l,tried:e,size:a}){return l?t("div",{"data-tooltip-id":"jk-tooltip","data-tooltip-content":"you solved it","data-tooltip-t-class-name":"tt-se ws-np",className:"jk-row",children:t(Y,{size:a,filledCircle:!0,className:"cr-ss"})}):e&&t("div",{"data-tooltip-id":"jk-tooltip","data-tooltip-content":"you tried it","data-tooltip-t-class-name":"tt-se ws-np",className:"jk-row",children:t(me,{size:a,filledCircle:!0,className:"cr-wg"})})}const Ze=({text:l})=>{const e=l.lastIndexOf("\n")===l.length-1;return t("div",{className:"jk-row","data-tooltip-id":"jk-tooltip","data-tooltip-content":(e?"":"no ")+"newline at end of file",children:t(ee,{size:"tiny",letter:"⏎",letterSize:16,className:a({"cr-ss-lt":e,"cr-er-lt":!e})})})};function Qe({record:{timestamp:e,contest:a},isCard:i}){const s=new Date(e);return l("div",{className:"jk-table-field jk-col center nowrap",children:[l("div",{className:"date-field jk-col center",children:[t(wt,{date:s,twoLines:!i}),a?.settingsStartsAt&&l("div",{className:"jk-row tx-t cr-hd",style:{lineHeight:1},children:[t(Tt,{className:"tt-se",children:"sent at"})," ",t(Dt,{counter:e-a.settingsStartsAt,maxSplit:2,ignoreLeadingZeros:!0,ignoreTrailingZeros:!0,literal:!0,abbreviated:!0})]})]}),t("div",{className:"jk-row date-field-label cr-tx-sc tx-t",children:t(Tt,{className:"tt-se",children:"date"})})]})}const pe=({color:l})=>t("path",{d:"M360-640h240v-80q0-50-35-85t-85-35q-50 0-85 35t-35 85v80ZM490-80H240q-33 0-56.5-23.5T160-160v-400q0-33 23.5-56.5T240-640h40v-80q0-83 58.5-141.5T480-920q83 0 141.5 58.5T680-720v80h40q33 0 56.5 23.5T800-560v52q-18-6-37.5-9t-42.5-3v-40H240v400h212q8 24 16 41.5T490-80Zm230 40q-83 0-141.5-58.5T520-240q0-83 58.5-141.5T720-440q83 0 141.5 58.5T920-240q0 83-58.5 141.5T720-40Zm66-106 28-28-74-74v-112h-40v128l86 86ZM240-560v400-400Z",fill:l}),fe=t=>u({...t,viewBox:"0 -960 960 960"},pe,"lock-clock"),Te=({color:l})=>t("path",{d:"M120-120v-560h240v-80l120-120 120 120v240h240v400H120Zm80-80h80v-80h-80v80Zm0-160h80v-80h-80v80Zm0-160h80v-80h-80v80Zm240 320h80v-80h-80v80Zm0-160h80v-80h-80v80Zm0-160h80v-80h-80v80Zm0-160h80v-80h-80v80Zm240 480h80v-80h-80v80Zm0-160h80v-80h-80v80Z",fill:l}),we=t=>u({...t,viewBox:"0 -960 960 960"},Te,"location-city"),ue=({color:l})=>t("path",{d:"M12 12q-1.65 0-2.825-1.175Q8 9.65 8 8q0-1.65 1.175-2.825Q10.35 4 12 4q1.65 0 2.825 1.175Q16 6.35 16 8q0 1.65-1.175 2.825Q13.65 12 12 12Zm-8 8v-2.8q0-.85.438-1.563.437-.712 1.162-1.087 1.55-.775 3.15-1.163Q10.35 13 12 13t3.25.387q1.6.388 3.15 1.163.725.375 1.162 1.087Q20 16.35 20 17.2V20Zm2-2h12v-.8q0-.275-.137-.5-.138-.225-.363-.35-1.35-.675-2.725-1.013Q13.4 15 12 15t-2.775.337Q7.85 15.675 6.5 16.35q-.225.125-.362.35-.138.225-.138.5Zm6-8q.825 0 1.413-.588Q14 8.825 14 8t-.587-1.412Q12.825 6 12 6q-.825 0-1.412.588Q10 7.175 10 8t.588 1.412Q11.175 10 12 10Zm0-2Zm0 10Z",fill:l}),xe=t=>u(t,ue,"person"),Me=({color:l})=>t("path",{d:"M21 7v12q0 .825-.587 1.413Q19.825 21 19 21H5q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h12Zm-2 .85L16.15 5H5v14h14ZM12 18q1.25 0 2.125-.875T15 15q0-1.25-.875-2.125T12 12q-1.25 0-2.125.875T9 15q0 1.25.875 2.125T12 18Zm-6-8h9V6H6ZM5 7.85V19 5Z",fill:l}),ye=t=>u(t,Me,"save"),ge=({color:l})=>t("path",{d:"M6 20q-.825 0-1.412-.587Q4 18.825 4 18q0-.825.588-1.413Q5.175 16 6 16t1.412.587Q8 17.175 8 18q0 .825-.588 1.413Q6.825 20 6 20Zm6 0q-.825 0-1.412-.587Q10 18.825 10 18q0-.825.588-1.413Q11.175 16 12 16t1.413.587Q14 17.175 14 18q0 .825-.587 1.413Q12.825 20 12 20Zm6 0q-.825 0-1.413-.587Q16 18.825 16 18q0-.825.587-1.413Q17.175 16 18 16q.825 0 1.413.587Q20 17.175 20 18q0 .825-.587 1.413Q18.825 20 18 20ZM6 14q-.825 0-1.412-.588Q4 12.825 4 12t.588-1.413Q5.175 10 6 10t1.412.587Q8 11.175 8 12q0 .825-.588 1.412Q6.825 14 6 14Zm6 0q-.825 0-1.412-.588Q10 12.825 10 12t.588-1.413Q11.175 10 12 10t1.413.587Q14 11.175 14 12q0 .825-.587 1.412Q12.825 14 12 14Zm6 0q-.825 0-1.413-.588Q16 12.825 16 12t.587-1.413Q17.175 10 18 10q.825 0 1.413.587Q20 11.175 20 12q0 .825-.587 1.412Q18.825 14 18 14ZM6 8q-.825 0-1.412-.588Q4 6.825 4 6t.588-1.412Q5.175 4 6 4t1.412.588Q8 5.175 8 6t-.588 1.412Q6.825 8 6 8Zm6 0q-.825 0-1.412-.588Q10 6.825 10 6t.588-1.412Q11.175 4 12 4t1.413.588Q14 5.175 14 6t-.587 1.412Q12.825 8 12 8Zm6 0q-.825 0-1.413-.588Q16 6.825 16 6t.587-1.412Q17.175 4 18 4q.825 0 1.413.588Q20 5.175 20 6t-.587 1.412Q18.825 8 18 8Z",fill:l}),He=t=>u(t,ge,"apps"),Ne=({color:l})=>t("path",{d:"M11.95 18q.525 0 .888-.363.362-.362.362-.887t-.362-.887q-.363-.363-.888-.363t-.888.363q-.362.362-.362.887t.362.887q.363.363.888.363Zm-.9-3.85h1.85q0-.825.188-1.3.187-.475 1.062-1.3.65-.65 1.025-1.238.375-.587.375-1.412 0-1.4-1.025-2.15T12.1 6q-1.425 0-2.312.75-.888.75-1.238 1.8l1.65.65q.125-.45.563-.975Q11.2 7.7 12.1 7.7q.8 0 1.2.437.4.438.4.963 0 .5-.3.937-.3.438-.75.813-1.1.975-1.35 1.475-.25.5-.25 1.825ZM12 22q-2.075 0-3.9-.788-1.825-.787-3.175-2.137-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175 1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138 1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175-1.35 1.35-3.175 2.137Q14.075 22 12 22Zm0-2q3.35 0 5.675-2.325Q20 15.35 20 12q0-3.35-2.325-5.675Q15.35 4 12 4 8.65 4 6.325 6.325 4 8.65 4 12q0 3.35 2.325 5.675Q8.65 20 12 20Zm0-8Z",fill:l}),ke=t=>u(t,Ne,"help"),Ve=({color:l})=>t("path",{d:"M5.1 16.05q-.55-.95-.825-1.95Q4 13.1 4 12.05q0-3.35 2.325-5.7T12 4h.175l-1.6-1.6 1.4-1.4 4 4-4 4-1.4-1.4 1.6-1.6H12Q9.5 6 7.75 7.762 6 9.525 6 12.05q0 .65.15 1.275.15.625.45 1.225ZM12.025 23l-4-4 4-4 1.4 1.4-1.6 1.6H12q2.5 0 4.25-1.762Q18 14.475 18 11.95q0-.65-.15-1.275-.15-.625-.45-1.225l1.5-1.5q.55.95.825 1.95.275 1 .275 2.05 0 3.35-2.325 5.7T12 20h-.175l1.6 1.6Z",fill:l}),be=({className:t,...l})=>u({...l,className:a("rotating",t)},Ve,"loading"),Le=({color:l})=>t("path",{d:"M18 22q-1.25 0-2.125-.875T15 19q0-.175.025-.363.025-.187.075-.337l-7.05-4.1q-.425.375-.95.587Q6.575 15 6 15q-1.25 0-2.125-.875T3 12q0-1.25.875-2.125T6 9q.575 0 1.1.212.525.213.95.588l7.05-4.1q-.05-.15-.075-.337Q15 5.175 15 5q0-1.25.875-2.125T18 2q1.25 0 2.125.875T21 5q0 1.25-.875 2.125T18 8q-.575 0-1.1-.213-.525-.212-.95-.587L8.9 11.3q.05.15.075.337Q9 11.825 9 12t-.025.362q-.025.188-.075.338l7.05 4.1q.425-.375.95-.588Q17.425 16 18 16q1.25 0 2.125.875T21 19q0 1.25-.875 2.125T18 22Zm0-16q.425 0 .712-.287Q19 5.425 19 5t-.288-.713Q18.425 4 18 4t-.712.287Q17 4.575 17 5t.288.713Q17.575 6 18 6ZM6 13q.425 0 .713-.288Q7 12.425 7 12t-.287-.713Q6.425 11 6 11t-.713.287Q5 11.575 5 12t.287.712Q5.575 13 6 13Zm12 7q.425 0 .712-.288Q19 19.425 19 19t-.288-.712Q18.425 18 18 18t-.712.288Q17 18.575 17 19t.288.712Q17.575 20 18 20Zm0-15ZM6 12Zm12 7Z",fill:l}),je=t=>u(t,Le,"share"),Ce=({color:l})=>t("path",{d:"M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-7-.5-14.5T799-507q-5 29-27 48t-52 19h-80q-33 0-56.5-23.5T560-520v-40H400v-80q0-33 23.5-56.5T480-720h40q0-23 12.5-40.5T563-789q-20-5-40.5-8t-42.5-3q-134 0-227 93t-93 227h200q66 0 113 47t47 113v40H400v110q20 5 39.5 7.5T480-160Z",fill:l}),$e=t=>u({...t,viewBox:"0 -960 960 960"},Ce,"global"),Be=({color:l})=>t("path",{d:"M720 816q25 0 42.5-17.5T780 756q0-25-17.5-42.5T720 696q-25 0-42.5 17.5T660 756q0 25 17.5 42.5T720 816Zm0 120q30 0 56-14t43-39q-23-14-48-20.5t-51-6.5q-26 0-51 6.5T621 883q17 25 43 39t56 14ZM360 416h240v-80q0-50-35-85t-85-35q-50 0-85 35t-35 85v80Zm130 560H240q-33 0-56.5-23.5T160 896V496q0-33 23.5-56.5T240 416h40v-80q0-83 58.5-141.5T480 136q83 0 141.5 58.5T680 336v80h40q33 0 56.5 23.5T800 496v52q-18-6-37.5-9t-42.5-3v-40H240v400h212q8 24 16 41.5t22 38.5Zm230 40q-83 0-141.5-58.5T520 816q0-83 58.5-141.5T720 616q83 0 141.5 58.5T920 816q0 83-58.5 141.5T720 1016ZM240 496v400-400Z",fill:l}),ze=t=>u({...t,viewBox:"0 96 960 960"},Be,"lock-person"),De=({color:l})=>t("path",{d:"M480 976q-83 0-156-31.5T197 859q-54-54-85.5-127T80 576q0-83 31.5-156T197 293q54-54 127-85.5T480 176q83 0 156 31.5T763 293q54 54 85.5 127T880 576q0 83-31.5 156T763 859q-54 54-127 85.5T480 976Zm-40-82v-78q-33 0-56.5-23.5T360 736v-40L168 504q-3 18-5.5 36t-2.5 36q0 121 79.5 212T440 894Zm276-102q20-22 36-47.5t26.5-53q10.5-27.5 16-56.5t5.5-59q0-98-54.5-179T600 280v16q0 33-23.5 56.5T520 376h-80v80q0 17-11.5 28.5T400 496h-80v80h240q17 0 28.5 11.5T600 616v120h40q26 0 47 15.5t29 40.5Z",fill:l}),Se=t=>u({...t,viewBox:"0 96 960 960"},De,"public"),We=({color:l})=>t("path",{d:"M7 21q-.825 0-1.412-.587Q5 19.825 5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413Q17.825 21 17 21ZM17 6H7v13h10ZM9 17h2V8H9Zm4 0h2V8h-2ZM7 6v13Z",fill:l}),Ae=t=>u(t,We,"delete"),_e=({color:l})=>t("path",{d:"M12 21q-3.75 0-6.375-2.625T3 12q0-3.75 2.625-6.375T12 3q.35 0 .688.025.337.025.662.075-1.025.725-1.637 1.887Q11.1 6.15 11.1 7.5q0 2.25 1.575 3.825Q14.25 12.9 16.5 12.9q1.375 0 2.525-.613 1.15-.612 1.875-1.637.05.325.075.662Q21 11.65 21 12q0 3.75-2.625 6.375T12 21Zm0-2q2.2 0 3.95-1.212 1.75-1.213 2.55-3.163-.5.125-1 .2-.5.075-1 .075-3.075 0-5.238-2.162Q9.1 10.575 9.1 7.5q0-.5.075-1t.2-1q-1.95.8-3.162 2.55Q5 9.8 5 12q0 2.9 2.05 4.95Q9.1 19 12 19Zm-.25-6.75Z",fill:l}),Ee=t=>u(t,_e,"dark-mode"),Fe=({color:l})=>t("path",{d:"M12 15q1.25 0 2.125-.875T15 12q0-1.25-.875-2.125T12 9q-1.25 0-2.125.875T9 12q0 1.25.875 2.125T12 15Zm0 2q-2.075 0-3.537-1.463Q7 14.075 7 12t1.463-3.538Q9.925 7 12 7t3.538 1.462Q17 9.925 17 12q0 2.075-1.462 3.537Q14.075 17 12 17ZM2 13q-.425 0-.712-.288Q1 12.425 1 12t.288-.713Q1.575 11 2 11h2q.425 0 .713.287Q5 11.575 5 12t-.287.712Q4.425 13 4 13Zm18 0q-.425 0-.712-.288Q19 12.425 19 12t.288-.713Q19.575 11 20 11h2q.425 0 .712.287.288.288.288.713t-.288.712Q22.425 13 22 13Zm-8-8q-.425 0-.712-.288Q11 4.425 11 4V2q0-.425.288-.713Q11.575 1 12 1t.713.287Q13 1.575 13 2v2q0 .425-.287.712Q12.425 5 12 5Zm0 18q-.425 0-.712-.288Q11 22.425 11 22v-2q0-.425.288-.712Q11.575 19 12 19t.713.288Q13 19.575 13 20v2q0 .425-.287.712Q12.425 23 12 23ZM5.65 7.05 4.575 6q-.3-.275-.288-.7.013-.425.288-.725.3-.3.725-.3t.7.3L7.05 5.65q.275.3.275.7 0 .4-.275.7-.275.3-.687.287-.413-.012-.713-.287ZM18 19.425l-1.05-1.075q-.275-.3-.275-.712 0-.413.275-.688.275-.3.688-.287.412.012.712.287L19.425 18q.3.275.288.7-.013.425-.288.725-.3.3-.725.3t-.7-.3ZM16.95 7.05q-.3-.275-.287-.688.012-.412.287-.712L18 4.575q.275-.3.7-.288.425.013.725.288.3.3.3.725t-.3.7L18.35 7.05q-.3.275-.7.275-.4 0-.7-.275ZM4.575 19.425q-.3-.3-.3-.725t.3-.7l1.075-1.05q.3-.275.713-.275.412 0 .687.275.3.275.288.688-.013.412-.288.712L6 19.425q-.275.3-.7.287-.425-.012-.725-.287ZM12 12Z",fill:l}),Ie=t=>u(t,Fe,"light-mode"),Oe=({color:l})=>t("path",{d:"M3 13v2h8v-2Zm0 4v2h8v-2Zm0-8v2h8V9Zm0-4v2h8V5Zm12 2v10Zm-2-2h8v14h-8Zm2 2v10h4V7Z",fill:l}),Pe=t=>u(t,Oe,"vertical-split"),Ge=({color:l})=>t("path",{d:"M627-520h133v-160H627v160Zm-214 0h133v-160H413v160Zm-213 0h133v-160H200v160Zm0 240h133v-160H200v160Zm213 0h133v-160H413v160Zm214 0h133v-160H627v160Zm-507 0v-400q0-33 23.5-56.5T200-760h560q33 0 56.5 23.5T840-680v400q0 33-23.5 56.5T760-200H200q-33 0-56.5-23.5T120-280Z",fill:l}),Ue=t=>u({...t,viewBox:"0 -960 960 960"},Ge,"view-module");export{kl as $,st as A,_t as B,Y as C,Ee as D,sl as E,Gt as F,dt as G,zl as H,Sl as I,$e as J,ie as K,Kl as L,ke as M,J as N,_ as O,rl as P,Ie as Q,at as R,et as S,be as T,we as U,Hl as V,fe as W,nt as X,ze as Y,Zl as Z,pl as _,$l as a,lt as a0,G as a1,Ze as a2,Tl as a3,Al as a4,me as a5,xe as a6,El as a7,xt as a8,Mt as a9,Pe as aA,zt as aB,Ue as aC,V as aD,L as aE,ee as aF,nl as aG,se as aH,he as aI,pt as aJ,ft as aK,xl as aL,u as aM,ut as aN,Zt as aO,A as aP,yt as aa,ve as ab,Se as ac,$t as ad,ye as ae,ne as af,bl as ag,Ht as ah,T as ai,Yt as aj,je as ak,jt as al,Xt as am,M as an,ll as ao,Ul as ap,Qe as aq,Ml as ar,yl as as,Tt as at,de as au,te as av,Dt as aw,Il as ax,Pl as ay,ul as az,He as b,dl as c,Jt as d,C as e,B as f,D as g,W as h,Wt as i,F as j,ml as k,Ft as l,Rl as m,g as n,wt as o,Ae as p,jl as q,N as r,kt as s,al as t,X as u,re as v,Ot as w,rt as x,bt as y,O as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{u as t}from"./index-CHdwVvPu.js";import{memo as s,useRef as r,useCallback as o}from"react";import{dd as i}from"./index-DoTjNc47.js";import"react-dom";import"./ViewModuleIcon-B7qvToID.js";import"./index-DUSXBI7E.js";import"./settings-DgLs6IK_.js";import"./enums.js";import"./date-D28INXpp.js";import"./time-BHcZPeyw.js";import"./contest-hvD3tLnF.js";import"./worksheet-BBAH_yZC.js";import"motion/react";import"./index-Dwi3ag-n.js";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";function a(s){const{rowHeight:a,size:m,renderRow:l,classNameContainer:n,classNameRows:c,classNameRow:p,getRowKey:d}=s,w=r(null),h=i(d),u=t({count:m,estimateSize:o(()=>a,[a]),overscan:5,getScrollElement:o(()=>w.current,[]),getItemKey:o(e=>{const t=h.current;return t?t(e):e},[h])});return e("div",{ref:w,style:{height:"100%",width:"100%",overflow:"auto"},className:n,children:e("div",{className:c,style:{height:`${u.getTotalSize()}px`,width:"100%",position:"relative"},children:u.getVirtualItems().map(t=>e("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:`${t.size}px`,transform:`translateY(${t.start}px)`},className:p,children:l(t.index)},t.key))})})}var m=s(a,(e,t)=>e.rowHeight===t.rowHeight&&e.size===t.size&&e.renderRow===t.renderRow&&e.classNameContainer===t.classNameContainer&&e.classNameRows===t.classNameRows&&e.classNameRow===t.classNameRow);export{a as VirtualizedRowsFixed,m as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useMemo as a}from"react";import{x as o,q as s}from"./index-DUSXBI7E.js";import{dk as i,cL as r,q as n,ai as m}from"./index-DoTjNc47.js";import{g as d,W as l}from"./WorksheetNode-DjqZZQRs.js";import"./settings-DgLs6IK_.js";import"./enums.js";import"./ViewModuleIcon-B7qvToID.js";import"./date-D28INXpp.js";import"./time-BHcZPeyw.js";import"./contest-hvD3tLnF.js";import"./worksheet-BBAH_yZC.js";import"motion/react";import"react-dom";import"./index-Dwi3ag-n.js";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";import"./worksheet-GN3yGKYw.js";import"./SettingsIcon-DnAtSsRm.js";import"./index-B8yg8iZ5.js";import"./worksheet-DTRmzBjG.js";import"./ArrowForwardIcon-9VrCQrla.js";function p(p){const{worksheet:{content:c,quiz:{enable:u},key:g,slides:h},resultsUserKey:j,readOnly:k=!1,page:y}=p,b=i(e=>e.user.nickname),f=i(e=>e.organization.key),w=i(e=>e.user.isLogged),{data:x,mutate:v,isLoading:I,isValidating:S}=r(g&&u&&w?o.apiV2.worksheet.getSubmissionsUser({params:{key:g,userKey:j||s(b,f)}}).url:null),q=a(()=>({data:x?.success?x.content:void 0,isLoading:I,isValidating:S,mutate:v}),[x,I,S,v]);let L=a(()=>d(c),[c]);if("number"==typeof y&&y>=0&&y<L.length&&L[y]){L=[L[y]]}return L.map(a=>[[e("section",{"data-auto-animate":!0,style:{overflow:"hidden auto",maxHeight:"100%"},"data-background-image":h.titleBackgroundImage,children:[t(n,{name:"WorksheetAsSlides"}),t(m,{source:a.header.title,detectRequestAnimationFrame:!0})]},a.header.id+a.header.title)],a.content.map((e,o)=>t("section",{"data-auto-animate":!0,style:{overflow:"hidden auto",maxHeight:"100%"},"data-background-image":h.backgroundImage,children:t(l,{sheet:a.content,userResults:q,readOnly:k,isSolvable:u,worksheetKey:g,asSlides:!0,index:o,length:a.content.length})},e.id))]).flat(2)}export{p as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{Children as s,useRef as o,useState as n,useCallback as r}from"react";import{QueryParamKey as a}from"./enums.js";import{b4 as i,aj as l,b as c}from"./index-DoTjNc47.js";import{p as d}from"./ViewModuleIcon-B7qvToID.js";import{S as h}from"./SettingsIcon-DnAtSsRm.js";import{d as p}from"./index-DUSXBI7E.js";import{W as m,A as u,E as f,i as k,a as g,b as w,c as j}from"./WorksheetNode-DjqZZQRs.js";import{g as S}from"./worksheet-BBAH_yZC.js";import{N as v}from"./worksheet-GN3yGKYw.js";import{F as y}from"./contest-hvD3tLnF.js";function b(o){const{ref:n,sheetPage:r,setSheet:a,userResults:i,readOnly:l,isSolvable:c,worksheetKey:d,children:h,asSlides:f}=o;return e("div",{className:p("jk-col center nowrap wh-100 jk-br-ie",{"ow-hn":!a}),id:"jk-worksheet-body",ref:n,children:[!!r.header.title&&!a&&t(m,{worksheetKey:d,sheet:[{type:S.JK_MD,content:r.header.title,id:"",title:"",points:0}],index:0,length:1,readOnly:!0,isSolvable:!1}),s.toArray(r.content.map((e,s)=>t(m,{sheet:r.content,setSheet:a,userResults:i,readOnly:l,isSolvable:c,worksheetKey:d,asSlides:f,index:s,length:r.content.length},e.id))),!r.content.length&&a&&t("div",{className:"jk-row gap extend nowrap center jk-divider tiny",children:t(u,{index:0,setSheet:a,mdSheet:!0,codeEditorSheet:!0,graphSheet:!0,quizProblemSheet:!0,quizOptionsSheetType:!0,pageDivider:!0,compacted:!0,floatToolbarPlacement:"bottom"})}),h]})}const x=s=>{const{sheetsInPages:m,isEditor:u,setSheets:S,userResults:x,isSolvable:C,worksheetKey:N,page:O,onPageChange:P,lastPageChildren:A,readOnly:E}=s,K=o(null),[R,z]=n(!1),F=r((e,t)=>{const s=[...m];s[O-1]={header:e??s[O-1]?.header??v(),content:t};const o=[];for(const{header:e,content:t}of s)o.push(e,...t);S?.(o)},[O,S,m]),I=r(e=>{const t="function"==typeof e?e(m[O-1]?.content??[]):e;F(null,t)},[O,F,m]),M=m.length,W=m[O-1];return W?e("div",{className:p("jk-col gap nowrap top stretch extend worksheet-bodies wh-100",{"is-solvable":C}),children:[S&&e("div",{className:"jk-row gap extend nowrap",children:[t(i,{className:"tt-se",children:"page title"}),t(l,{value:W.header.title,onChange:e=>{F({...W.header,title:e},W.content)}}),t(c,{"data-tooltip-id":"jk-tooltip","data-tooltip-content":"remove page divider",icon:t(d,{}),onClick:()=>{const e=[...m],t=[];if(O===M){let s=0;for(const{header:o,content:n}of e)s!==O-1&&t.push(o),t.push(...n),s++;S(t)}else{let s=0,o=null;for(const{header:n,content:r}of e)s===O-1?o=r:(t.push(n),null!==o&&(t.push(...o),o=null),t.push(...r)),s++;S(t)}O>1&&O===M&&P(Math.max(O,1),1,{name:a.PAGE_FOCUS,value:"jk-worksheet-viewer-container"})},disabled:M<=1}),t(c,{icon:t(h,{size:"small"}),onClick:()=>z(!0)})]},`${O}`),S&&t(f,{isOpen:R,onClose:()=>z(!1),content:W.content,setContent:I,isValid:e=>{if(y(e)){const t=JSON.parse(e);if(Array.isArray(t))return t.every(e=>k(e)||g(e)||w(e)||j(e))}return!1}}),t(b,{sheetPage:W,setSheet:S?I:void 0,userResults:x,readOnly:!!E,isSolvable:C,isEditor:u,worksheetKey:N,ref:K}),O<M?t(c,{className:"next-button",type:"secondary",onClick:()=>P(O+1,1,{name:a.PAGE_FOCUS,value:"jk-worksheet-viewer-container"}),expand:!0,children:t(i,{className:"tt-se",children:"next page"})}):A]}):null};export{x as W};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as s}from"react/jsx-runtime";import{useState as r}from"react";import{QueryParamKey as o}from"./enums.js";import{al as a,b4 as t,r as n}from"./index-DoTjNc47.js";import{c as i,aB as c}from"./ViewModuleIcon-B7qvToID.js";import{A as m}from"./ArrowForwardIcon-9VrCQrla.js";import{d as l}from"./index-DUSXBI7E.js";import{T as p}from"./TableOfContents-CL2MOKlA.js";import"./contest-hvD3tLnF.js";import"./settings-DgLs6IK_.js";import"./date-D28INXpp.js";import"./worksheet-BBAH_yZC.js";import"motion/react";import"react-dom";import"./index-Dwi3ag-n.js";import"./time-BHcZPeyw.js";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";const d=r=>{const{sheetsInPages:o,isOpen:n,onClose:i,page:c,subPage:m,onPageChange:l}=r;return e(a,{isOpen:n,onClose:i,closeIcon:!1,children:s("div",{className:"jk-col stretch",children:[e("div",{className:"jk-row bc-at jk-pg-sm",children:e(t,{className:"tt-se fw-bd cr-we",children:"table of content"})}),e(p,{page:c,subPage:m,sheetsInPages:o,onPageChange:l})]})})};function j(a){const{page:p,subPage:j,onPageChange:g,sheetsInPages:h}=a,[b,k]=r(!1),w=h.length;return s("div",{className:"jk-col stretch gap bc-sf-md jk-br-ie cr-tx-ht-dk fw-bd",children:[e(d,{page:p,subPage:j,isOpen:b,onPageChange:g,onClose:()=>k(!1),sheetsInPages:h}),s("div",{className:"jk-row gap center",children:[s(n,{onClick:p<=1?void 0:()=>g(p-1,1,{name:o.PAGE_FOCUS,value:"jk-worksheet-viewer-container"}),className:l("jk-row gap jk-pg-xsm jk-br-ie",{"cr-tx-ds":p<=1,"cr-pr hoverable":!(p<=1)}),onKeyDownClick:!0,children:[e(i,{}),e(t,{className:"tt-se",children:"previous"})]}),s(n,{className:"jk-row cr-pr hoverable jk-br-ie jk-pg-xsm",onClick:()=>k(!0),onKeyDownClick:!0,children:[e(c,{}),e(t,{className:"tt-se",children:"table of contents"})]}),s(n,{onClick:p===w?void 0:()=>g(p+1,1,{name:o.PAGE_FOCUS,value:"jk-worksheet-viewer-container"}),className:l("jk-row gap jk-pg-xsm jk-br-ie",{"cr-tx-ds":p===w,"cr-pr hoverable":!(p===w)}),onKeyDownClick:!0,children:[e(t,{className:"tt-se",children:"next"}),e(m,{})]})]})]})}export{j as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useMemo as r}from"react";import{da as s,df as o,bA as a}from"./index-DoTjNc47.js";import{W as i}from"./WorksheetBodies-BnGXG6wi.js";import{g as m}from"./WorksheetNode-DjqZZQRs.js";import"./ViewModuleIcon-B7qvToID.js";import"./index-DUSXBI7E.js";import"./settings-DgLs6IK_.js";import"./enums.js";import"./date-D28INXpp.js";import"./time-BHcZPeyw.js";import"./contest-hvD3tLnF.js";import"./worksheet-BBAH_yZC.js";import"motion/react";import"react-dom";import"./index-Dwi3ag-n.js";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";import"./SettingsIcon-DnAtSsRm.js";import"./worksheet-GN3yGKYw.js";import"./index-B8yg8iZ5.js";import"./worksheet-DTRmzBjG.js";import"./ArrowForwardIcon-9VrCQrla.js";function n(n){const{worksheet:{content:p,quiz:{enable:c},key:d,user:{isManager:l}},setContent:j,page:g,subPage:h,onPageChangeRef:b,lastPageChildren:k,readOnly:w=!1}=n,u=s(e=>e.setSearchParams),[P,y]=o(g??1),[f,x]=o(h??1),C=b??((e,t,r)=>{y(e),x(t),u(r)}),I=r(()=>m(p),[p]);return e("div",{className:"jk-col gap nowrap worksheet-editor-container center top",children:[t("div",{className:"jk-row",children:t(a,{page:P,subPage:f,onPageChange:C,sheetsInPages:I})}),t(i,{sheetsInPages:I,setSheets:j,isSolvable:c,readOnly:w,isEditor:l,worksheetKey:d,page:P,subPage:f,onPageChange:C,lastPageChildren:k})]})}export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsxs as e,jsx as t,Fragment as s}from"react/jsx-runtime";import{useState as n,useEffect as l,useRef as a,Children as i,Fragment as o}from"react";import{a8 as c,ac as r,aw as d,b as h,d as p,b4 as m,ak as u,df as g,al as b,a6 as k,Z as y,an as v,a0 as w,bl as C,cW as N,da as f,r as j,L as S,dd as O,N as x,P as I,d5 as P,aj as K,a7 as E,a4 as A,G as D,as as L,aH as T,aK as R,K as z,q as M}from"./index-DoTjNc47.js";import{C as _,d as J,x as V}from"./index-DUSXBI7E.js";import{g as B,b as Q,E as U,a as Z,c as G,e as F,d as W,A as q,W as H,f as $,D as X,Q as Y,v as ee,R as te}from"./worksheet-BBAH_yZC.js";import{aa as se,p as ne,d as le,ae,j as ie,aD as oe,E as ce,g as re,an as de,h as he,c as pe,C as me}from"./ViewModuleIcon-B7qvToID.js";import{N as ue}from"./worksheet-GN3yGKYw.js";import{E as ge,S as be,g as ke,f as ye,F as ve,b as we,P as Ce}from"./contest-hvD3tLnF.js";import{S as Ne,A as fe}from"./SettingsIcon-DnAtSsRm.js";import{A as je,S as Se}from"./index-B8yg8iZ5.js";import{QueryParamKey as Oe}from"./enums.js";import{g as xe}from"./worksheet-DTRmzBjG.js";import{A as Ie}from"./ArrowForwardIcon-9VrCQrla.js";import{C as Pe}from"./settings-DgLs6IK_.js";const Ke=e=>{const t=[...e];t[0]?.type!==B.NEW_PAGE&&t.unshift(ue());let s=t[0],n=[];const l=[];for(let e=1;e<t.length;e++){const a=t[e];a.type===B.NEW_PAGE?(l.push({header:s,content:[...n]}),s=a,n=[]):n.push(a)}return l.push({header:s,content:[...n]}),l},Ee=e=>{if("object"!=typeof e||null===e)return!1;const t=e;return"string"==typeof t.id&&!!t.id&&Object.values(B).includes(t.type)&&"string"==typeof t.title&&"number"==typeof t.points},Ae=e=>{if(!Ee(e))return!1;const t=e;return e.type===B.JK_MD&&"string"==typeof t.content},De=e=>{if(!Ee(e))return!1;const t=e;return e.type===B.CODE_EDITOR&&"object"==typeof t.sourceCode&&null!==t.sourceCode&&"object"==typeof t.testCases&&null!==t.testCases&&Array.isArray(t.languages)&&"number"==typeof t.height},Le=e=>{if("object"!=typeof e||null===e)return!1;const t=e;return Ee(e)&&e.type===B.QUIZ_PROBLEM&&Object.values(c).includes(t.problemJudge)||"string"==typeof t.problemJudge&&"string"==typeof t.problemKey&&Array.isArray(t.languages)&&"number"==typeof t.height},Te=e=>{if(!Ee(e))return!1;const t=e;return e.type===B.QUIZ_OPTIONS&&"string"==typeof t.description&&Array.isArray(t.options)&&t.options.every(e=>{if("object"!=typeof e||null===e)return!1;const t=e;return"string"==typeof t.label&&"boolean"==typeof t.correct&&"string"==typeof t.id})&&"boolean"==typeof t.multiple&&("TOTAL"===t.scoringMode||"PARTIAL"===t.scoringMode)},Re=s=>{const{index:n,setSheet:l,mdSheet:a,codeEditorSheet:i,graphSheet:o,listSheet:c,quizProblemSheet:u,pageDivider:g,compacted:b,quizOptionsSheetType:k,floatToolbarPlacement:y}=s,v=[];if(a){const e=()=>{l(e=>{const t=[...e];return t.splice(n+1,0,Q()),t})};v.push({...r("tiny")[B.JK_MD],onClick:e})}if(i){const e=()=>{l(e=>{const t=[...e];return t.splice(n+1,0,U()),t})};v.push({...r("tiny")[B.CODE_EDITOR],onClick:e})}if(o){const e=()=>{l(e=>{const t=[...e];return t.splice(n+1,0,Z()),t})};v.push({...r("tiny")[B.GRAPH],onClick:e})}if(c){const e=()=>{l(e=>{const t=[...e];return t.splice(n+1,0,G()),t})};v.push({...r("tiny")[B.LIST],onClick:e})}if(u){const e=()=>{l(e=>{const t=[...e];return t.splice(n+1,0,F()),t})};v.push({...r("tiny")[B.QUIZ_PROBLEM],onClick:e})}if(k){const e=()=>{l(e=>{const t=[...e];return t.splice(n+1,0,W()),t})};v.push({...r("tiny")[B.QUIZ_OPTIONS],onClick:e})}if(g){const e=()=>{l(e=>{const t=[...e];return t.splice(n+1,0,ue()),t})};v.push({...r("tiny")[B.NEW_PAGE],onClick:e})}return e("div",{className:"jk-row gap",children:[b&&t(d,{content:t("div",{className:"jk-col gap",children:v.map(({icon:e,onClick:s,label:n})=>t(p,{icon:e,size:"tiny",expand:!0,onClick:s,children:t(m,{children:n})},n))}),offset:8,placement:y,children:t(h,{icon:t(se,{}),size:"small"})}),!b&&v.map(({icon:e,label:s,onClick:n})=>t(h,{size:"small",icon:e,onClick:n,children:s},s))]})},ze=({content:e})=>!!e.title&&t(u,{source:e.title}),Me=s=>{const{isOpen:n,onClose:l,content:a,setContent:i,isValid:o}=s,[c,r]=g(n&&ge(a)?JSON.stringify(a,null,2):"");return t(b,{isOpen:n,onClose:l,children:e("div",{className:"jk-col gap jk-pg stretch",children:[t(k,{className:"wh-100",size:"auto",value:c,onChange:r}),e("div",{className:"jk-row-col gap right",children:[t(h,{onClick:l,type:"secondary",children:t(m,{className:"tt-se",children:"close"})}),t(h,{disabled:!o(c),onClick:()=>{if(o(c)){const e=JSON.parse(c);i(e),l()}},children:t(m,{className:"tt-se",children:"save"})})]})]})})},_e=({index:e,length:s,onChange:n})=>{const l=[];return 0!==e&&l.push({icon:t(je,{}),size:"tiny",label:t(m,{className:"tt-se",children:"move up"}),onClick:()=>{n(t=>{const s=[...t],n=s[e-1];return s[e]&&n&&([s[e],s[e-1]]=[n,s[e]]),s})},disabled:0===e}),l.push({icon:t(ne,{}),size:"tiny",label:t(m,{className:"tt-se",children:"remove"}),onClick:()=>{n(t=>t.filter((t,s)=>s!==e))}}),e!==s-1&&l.push({icon:t(le,{}),size:"tiny",label:t(m,{className:"tt-se",children:"move down"}),onClick:()=>{n(t=>{const s=[...t],n=s[e+1];return s[e]&&n&&([s[e],s[e+1]]=[n,s[e]]),s})},disabled:e===s-1}),l},Je=s=>{const{type:n,edit:l,index:a,sheetLength:i,setSheet:o,setModal:c,onSaveEdit:d,onCancel:p}=s;return[{children:e("div",{className:"bc-at-lt cr-at-it jk-pg-xsm jk-row gap nowrap jk-br-ie tx-t ws-np",style:{opacity:.6},children:[r("tiny")[n].icon,r("tiny")[n].label]})},...d&&p?l?[{icon:t(oe,{size:"small"}),children:e("div",{className:" jk-col gap stretch",children:[t(h,{size:"small",icon:t(ae,{}),onClick:d,children:t(m,{className:"tt-se",children:"save"})}),t(h,{size:"small",type:"secondary",icon:t(ie,{}),onClick:p,children:t(m,{className:"tt-se",children:"cancel"})})]}),placement:"left-start"}]:[{icon:t(ce,{size:"small"}),children:void 0,onClick:d,"data-tooltip-id":"jk-tooltip","data-tooltip-content":"edit","data-tooltip-place":"left",placement:"left-start"}]:[],{icon:t(Se,{className:"cr-we",up:!0,down:!0}),size:"tiny",buttons:_e({index:a,length:i,onChange:e=>o?.(t=>e(t))}),placement:"left-start"},{icon:t(Ne,{}),onClick:()=>c(!0),size:"tiny","data-tooltip-id":"jk-tooltip","data-tooltip-content":"view settings","data-tooltip-place":"left"}]},Ve=({content:s,setContent:n,isSolvable:l})=>e("div",{className:"jk-col gap stretch left jk-pg-sm br-ht jk-br-ie wh-100",children:[t(y,{label:t(m,{className:"tt-se",children:"title"}),labelPlacement:"top",value:s.title,onChange:e=>n(t=>({...t,title:e})),expand:!0}),l&&t(y,{type:"number",label:t(m,{className:"tt-se",children:"points"}),labelPlacement:"top",value:s.points,onChange:e=>n(t=>({...t,points:e})),expand:!0}),e("div",{className:"jk-row gap wh-100",children:[e("div",{className:"flex-1",children:[t(m,{className:"fw-bd tt-se",children:"languages"}),":",t(v,{options:q.map(e=>({value:e,label:_[e].label})),selectedOptions:s.languages?.map(e=>({value:e})),onChange:e=>n(t=>({...t,languages:e.map(e=>e.value)})),expand:!0})]}),e("div",{children:[e("div",{className:"jk-row gap space-between",children:[e("div",{children:[t(m,{className:"fw-bd tt-se",children:"height"}),":"]}),t(w,{checked:0===s.height,label:t(m,{children:"auto"}),onChange:e=>n(t=>({...t,height:e?0:H}))})]}),0!==s.height&&e("div",{className:"jk-row",children:[t(y,{type:"number",value:s.height,onChange:e=>n(t=>({...t,height:Math.abs(e)})),size:"auto"}),t(m,{children:"px"})]})]})]}),t("div",{style:{height:H},className:"jk-row wh-100",children:t(C,{storeKey:`${s.id}_edit`,initialFiles:s.files,onTestCasesChange:e=>n(t=>({...t,testCases:e})),onFilesChange:e=>n(t=>({...t,files:e})),initialTestCases:s.testCases,languages:s.languages.map(e=>({value:e,label:_[e]?.label||e})),enableAddSampleCases:!0})})]}),Be=o=>{const{content:c,worksheetKey:r,chunkId:d,userResults:h,readOnly:u,isSolvable:g}=o,{notifyResponse:b}=N(),k=f(e=>e.searchParams),[y,v]=n(0),w=h?.data?.submissions[B.CODE_EDITOR]?.[d]??[];l(()=>{v(0)},[h?.data?.user.nickname]);const S=w.length,O=S-y-1,x=w[O]?.files??c.files,I=a(void 0),P=async(e,t)=>{I.current?.(be.LOADING),v(0);const s={type:B.CODE_EDITOR,id:c.id,files:e,testCases:t},n=k.get(Oe.ASSIGNMENT),{url:l,...a}=V.apiV2.worksheet.submitCodeEditor({params:{worksheetKey:r,secondaryKey:n??""},body:s}),i=ke(await ye(l,a));await(h?.mutate?.()),b(i,I.current)};return t("div",{className:"jk-col stretch flex-1 gap",children:t("div",{style:{height:xe(c.height,""),minWidth:200,width:"100%"},className:"jk-row",children:t(C,{withoutRunCodeButton:u,readOnly:u,initialFiles:x,initialTestCases:w[O]?.testCases??c.testCases,languages:c.languages.map(e=>({value:e,label:_[e]?.label||e})),storeKey:`${c.id}_view`,enableAddCustomSampleCases:!0,onCodeRunStatusChange:(e,{files:t,testCases:s})=>{e===$.COMPLETED&&g&&P(t,s)},centerButtons:({runner:{testCases:n}={testCases:{}},files:l})=>{const a=[];return!u&&g&&a.push(t(p,{size:"tiny",onClick:()=>P(l,n),setLoaderStatusRef:e=>I.current=e,children:t(m,{className:"tt-se",children:"save"})},"save")),a.push(e("div",{className:"jk-row bc-ht-lt jk-br-ie",children:[t(j,{className:J("clickable br-50-pc jk-row",{"cr-ht":0===S}),onClick:S?()=>v(e=>(e+1)%S):void 0,onKeyDownClick:!0,children:t(re,{})}),h?.isLoading?t(de,{}):e(s,{children:[O+1," / ",S,t(m,{children:"v."})]}),t(j,{className:J("clickable br-50-pc jk-row",{"cr-ht":0===S}),onClick:S?()=>v(e=>(e-1+S)%S):void 0,onKeyDownClick:!0,children:t(he,{})})]},"buttons")),t("div",{className:"jk-row gap",children:i.toArray(a)})}})})})},Qe=s=>{const{content:l,setContent:i,index:o,chunkId:c,sheetLength:r,setSheet:d,worksheetKey:h,isSolvable:p,userResults:m,readOnly:u}=s,[g,b]=n(!1),k=a(null);return e("div",{ref:k,className:"jk-row top left nowrap stretch jk-br-ie pn-re wh-100",children:[i&&t(Me,{isOpen:g,onClose:()=>b(!1),content:l,setContent:i,isValid:e=>ve(e)&&De(JSON.parse(e))}),i?t(Ve,{content:l,setContent:i,isSolvable:p}):e("div",{className:"jk-col stretch gap nowrap code-editor-sheet-section-view wh-100",children:[t(ze,{content:l}),t(Be,{content:l,worksheetKey:h,chunkId:c,userResults:m,readOnly:u,isSolvable:p})]}),d&&t(S,{actionButtons:Je({type:B.CODE_EDITOR,edit:!0,setModal:b,index:o,sheetLength:r,setSheet:d}),placement:"right-end",outer:!0})]})},Ue=(e,t,s)=>{const n=O(s);l(()=>{const s=s=>{t&&e.current&&!e.current.contains(s.target)&&n.current()};return document.addEventListener("mousedown",s),()=>{document.removeEventListener("mousedown",s)}},[t])},Ze=({content:s,setContent:l})=>{const[a,i]=n(0);return e("div",{className:"jk-col stretch left wh-100 jk-pg-sm br-ht jk-br-ie",children:[t(y,{label:t(m,{className:"tt-se",children:"title"}),labelPlacement:"top",value:s.title,onChange:e=>l(t=>({...t,title:e})),expand:!0}),s.dots?.[a]&&t(x,{value:s.dots[a],onSave:e=>{const t=[...s.dots];t.splice(a,1,e),l({...s,dots:t})}}),e("div",{className:"jk-row gap center",children:[t(h,{icon:t(pe,{}),disabled:0===a,onClick:()=>i((a-1+s.dots.length)%s.dots.length),size:"small"}),new Array(s.dots.length).fill(1).map((e,s)=>t(j,{className:J("jk-tag clickable",{"bc-sf-hi":s!==a}),onClick:()=>i(s),onKeyDownClick:!0,children:s+1},s)),t(h,{icon:t(Ie,{}),disabled:a>=s.dots.length-1,onClick:()=>i((a+1)%s.dots.length),size:"small"})]}),e("div",{className:"jk-row gap nowrap",children:[t(h,{icon:t(pe,{}),onClick:()=>{const e=[...s.dots];e.splice(a,0,X),l({...s,dots:e})},size:"small",children:t(fe,{})}),t(h,{icon:t(ne,{}),onClick:()=>{const e=[...s.dots];e.splice(a,1),l({...s,dots:e})},size:"small",type:"secondary"}),t(h,{icon:t(fe,{}),onClick:()=>{const e=[...s.dots];e.splice(a+1,0,X),l({...s,dots:e}),i(a+1)},size:"small",children:t(Ie,{})})]})]})},Ge=({content:s,setSheet:a})=>{const[i,o]=n(0);return l(()=>{s.dots.length||a?.(e=>({...e,dots:['digraaph graph_name {\n bgcolor="transparent"\n a -> b;\n b -> c;\n a -> d;\n d -> c;\n a -> c;\n}']}))},[a,s.dots.length]),e("div",{className:"jk-col gap",children:[t("div",{className:"br-hl jk-br-ie bc-sf-md",children:s.dots?.[i]&&t(I,{dot:s.dots[i]})}),e("div",{className:"jk-row gap center",children:[t(h,{icon:t(pe,{}),disabled:0===i,onClick:()=>o((i-1+s.dots.length)%s.dots.length),size:"small"}),new Array(s.dots.length).fill(1).map((e,s)=>t(j,{className:J("jk-tag clickable",{"bc-sf-hi":s!==i}),onClick:()=>o(s),onKeyDownClick:!0,children:s+1},s)),t(h,{icon:t(Ie,{}),disabled:i>=s.dots.length-1,onClick:()=>o((i+1)%s.dots.length),size:"small"})]})]})},Fe=s=>{const{content:l,setContent:i,index:o,sheetLength:c,setSheet:r}=s,[d,h]=n(!1),[p,m]=n(!1),[u,b]=g(l),k=a(null),y=()=>{h(!d),i?.(u)};Ue(k,d,y);const v=i?b:void 0;return e("div",{ref:k,className:"jk-row top left nowrap stretch jk-br-ie pn-re wh-100",onDoubleClick:()=>h(!0),children:[v&&t(Me,{isOpen:p,onClose:()=>m(!1),content:u,setContent:v,isValid:e=>ve(e)}),v&&d?t(Ze,{content:u,setContent:v}):e("div",{className:"jk-col stretch gap nowrap graph-sheet-section-view wh-100",children:[t(ze,{content:u}),t(Ge,{content:u})]}),r&&t(S,{actionButtons:Je({type:B.GRAPH,edit:d,setModal:m,index:o,sheetLength:c,setSheet:r,onSaveEdit:y,onCancel:()=>{h(!1),b(l)}}),placement:"right-end",outer:!0})]})},We=s=>{const{isResolved:n,submitted:l,points:a,userPoints:i,children:o,childrenTop:c}=s,r=P(e=>e.viewPort.isSmallScreen);return t("div",{style:r?void 0:{position:"absolute",top:0,right:"calc(var(--pad-sm) * -1)",height:"100%",width:0},children:e("div",{className:"jk-pg-sm jk-col gap stretch space-between result-header sticky-top",children:[c,!!a&&e("div",{className:J("jk-row center jk-tag tx-s ws-np",{"bc-ss cr-we":n,"bc-sf-hi":!l,"bc-wg cr-we":i>0&&!n&&l,"bc-er cr-we":0===i&&!n&&l}),children:[(+i||0).toFixed(2)," ",t(m,{children:1===i?"pt":"pts"}),t("div",{className:"jk-divider tiny",style:{height:1}}),a," ",t(m,{children:1===a?"pt":"pts"})]}),t("div",{className:"jk-row gap",children:o})]})})},qe=s=>{const{points:n,submissions:l,children:a,selectedIndex:i,setSelectedIndex:o}=s,c=l.at(i);return t(We,{submitted:!!c,points:n,userPoints:c?.points??0,isResolved:!!c?.isCompleted,childrenTop:e("div",{className:"jk-row tx-s",children:[t(j,{className:"jk-row jk-br-ie hoverable",onClick:()=>{o(e=>(e-1+l.length)%l.length)},onKeyDownClick:!0,children:"←"}),e("div",{className:"jk-row",children:[i+1," (",t(j,{className:"jk-row jk-br-ie hoverable",onClick:()=>{o(l.length-1)},onKeyDownClick:!0,children:l.length}),")"]}),t(j,{className:"jk-row jk-br-ie hoverable",onClick:()=>{o(e=>(e+1)%l.length)},onKeyDownClick:!0,children:"→"})]}),children:a})},He=({content:s,setContent:n,isSolvable:l})=>e("div",{className:"jk-col left gap wh-100 jk-pg-sm tx-s",children:[t(y,{label:t(m,{className:"tt-se",children:"title"}),labelPlacement:"left",value:s.title,onChange:e=>n(t=>({...t,title:e})),expand:!0}),l&&t("div",{className:"jk-row extend left",children:t(y,{label:t(m,{className:"tt-se tx-s",children:"points"}),type:"number",value:s.points,onChange:e=>n(t=>({...t,points:e}))})}),t("div",{className:"flex-1 jk-md-math-editor-expanded wh-100",children:t(K,{informationButton:!0,value:s.content,onChange:e=>n(t=>({...t,content:e})),enableTextPlain:!0,enableIA:!0,enableImageUpload:!0})})]}),$e=s=>{const{content:l,setContent:i,index:o,chunkId:c,sheetLength:r,setSheet:d,worksheetKey:h,isSolvable:g,readOnly:b,userResults:k}=s,{notifyResponse:y}=N(),v=!0,[C,f]=n(!1),j=a(null),O=(k?.data?.submissions[B.JK_MD]?.[c]??[]).at(-1),x=l.content.trim();return e("div",{ref:j,className:"jk-row top left nowrap stretch jk-br-ie pn-re wh-100 jk-md-sheet-section",children:[i&&t(Me,{isOpen:C,onClose:()=>f(!1),content:l,setContent:i,isValid:e=>ve(e)&&Ae(JSON.parse(e))}),i?t(He,{content:l,setContent:i,isSolvable:!!g}):e("div",{className:"jk-col gap stretch jk-md-sheet-section-view wh-100 pn-re",children:[g&&!d&&x&&t(We,{submitted:!!O,points:l.points,userPoints:O?.points??0,isResolved:!!O?.isCompleted,children:!b&&t(p,{type:"secondary",expand:!0,size:"small","data-tooltip-id":"jk-tooltip","data-tooltip-content":O?.read?"mark as unread":"mark as read",onClick:async e=>{e(be.LOADING);const t={type:B.JK_MD,id:l.id,read:!O?.read},{url:s,...n}=V.apiV2.worksheet.submitJkMd({params:{worksheetKey:h},body:t}),a=ke(await ye(s,n));await(k?.mutate?.()),y(a,e)},icon:t(w,{checked:!!O?.read,onChange:()=>null}),children:t(m,{className:"tt-se",children:O?.read?"_read":"unread"})})}),e("div",{className:"jk-pg-rl wh-100 bc-sf-md",children:[t(ze,{content:l}),!!x&&t(u,{source:x})]})]}),d&&t(S,{actionButtons:Je({type:B.JK_MD,edit:v,setModal:f,index:o,sheetLength:r,setSheet:d}),placement:"right-end",outer:!0})]})},Xe=({content:n,setContent:l,isSolvable:a})=>e("div",{className:"jk-col gap stretch left jk-pg-sm wh-100 br-ht jk-br-ie",children:[e("div",{className:"jk-row-col gap tx-s",children:[e("div",{className:"jk-col",children:[t(m,{className:"fw-bd tt-se",children:"options"}),t(E,{size:"small",checked:n.multiple,onChange:e=>l(t=>({...t,multiple:e,options:t.options.map(e=>({...e,correct:!1}))})),leftLabel:t(m,{className:J("tt-se",{"fw-bd":!n.multiple}),children:"single"}),rightLabel:t(m,{className:J("tt-se",{"fw-bd":n.multiple}),children:"multiple"})})]}),a&&e(s,{children:[t("div",{className:"jk-row left",style:{width:64},children:t(y,{label:t(m,{className:"tt-se",children:"points"}),labelPlacement:"top",type:"number",expand:!0,value:n.points,onChange:e=>l(t=>({...t,points:e}))})}),e("div",{className:"jk-col",children:[t(m,{className:"fw-bd tt-se",children:"scoring mode"}),t(E,{size:"small",checked:n.scoringMode===Y.TOTAL,onChange:e=>l(t=>({...t,scoringMode:e?Y.TOTAL:Y.PARTIAL})),leftLabel:t(m,{className:J("tt-se",{"fw-bd":"PARTIAL"===n.scoringMode}),children:"partial"}),rightLabel:t(m,{className:J("tt-se",{"fw-bd":"TOTAL"===n.scoringMode}),children:"total"})})]})]})]}),t(y,{label:t(m,{className:"tt-se",children:"title"}),labelPlacement:"top",value:n.title,onChange:e=>l(t=>({...t,title:e})),expand:!0}),e("div",{className:"jk-col stretch",children:[t(m,{className:"tt-se fw-bd",children:"description"}),t(K,{value:n.description,onChange:e=>l(t=>({...t,description:e})),enableTextPlain:!0,enableIA:!0,enableImageUpload:!0})]}),e("div",{className:"jk-col stretch left gap",children:[t(m,{className:"tt-se cr-tx-ht-lt",children:"select the correct options"}),n.options.map((s,a)=>e("div",{className:"jk-row gap nowrap extend",children:[n.multiple?t(w,{checked:s.correct,onChange:e=>{l(t=>{const s=[...t.options];return s[a]&&(s[a]={...s[a],correct:e}),{...t,options:s}})}}):t(A,{name:n.id,checked:s.correct,onChange:e=>{l(t=>{const s=[...t.options].map(e=>({...e,correct:!1}));return s[a]&&(s[a]={...s[a],correct:e}),{...t,options:s}})}}),t(K,{className:"wh-100",value:s.label,onChange:e=>{l(t=>{const s=[...t.options];return s[a]&&(s[a]={...s[a],label:e}),{...t,options:s}})},enableTextPlain:!0,enableIA:!0,enableImageUpload:!0})]},s.id)),e(h,{type:"secondary",className:"jk-row gap",onClick:()=>l(e=>({...e,options:[...e.options,{label:"",correct:!1,id:ee()}]})),children:[t(fe,{})," ",t(m,{className:"tt-se",children:"add option"})]})]})]}),Ye=s=>{const{content:n,checkedOptions:l,setCheckedOptions:a,readOnly:i}=s;return e("div",{className:"bc-sf-md jk-br-ie jk-pg jk-col stretch gap wh-100",children:[t(u,{source:n.description,className:"bc-ht-lt jk-pg-xsm jk-br-ie"}),t(m,{className:"tt-se fw-bd cr-tx-ht",children:n.multiple?"select one or more options":"select one option"}),t("div",{className:"jk-col stretch left gap",children:n.options.map(s=>e(j,{className:J("jk-row gap nowrap extend left jk-br-ie option jk-br-ie jk-pg-xsm-rl",{"bc-ht-lt":l.includes(s.id)}),onClick:i?void 0:()=>{n.multiple?l.includes(s.id)?a(l.filter(e=>e!==s.id)):a([...l,s.id]):a([s.id])},onKeyDownClick:!0,children:[n.multiple?t(w,{checked:l.includes(s.id),onChange:()=>null,className:J({"bc-ss-lt jk-br-ie":s.correct})}):t(A,{checked:l.includes(s.id),onChange:()=>null,className:J({"bc-ss-lt br-50-pc":s.correct})}),t("div",{children:t(u,{source:s.label})})]},s.id))})]})},et=s=>{const{content:l,setContent:i,index:o,chunkId:c,sheetLength:r,setSheet:d,worksheetKey:h,isSolvable:u,userResults:b,readOnly:k}=s,{notifyResponse:y}=N(),[v,w]=n(!1),[C,f]=n(!1),[j,O]=g(l),x=i?O:void 0,I=a(null),P=()=>{w(!v),i?.(j)};Ue(I,v,P);const K=b?.data?.submissions[B.QUIZ_OPTIONS]?.[c]??[],[E,A]=g(K.length-1),D=K.at(E),[L,T]=g(D?.checkedOptions??[]);return e("div",{ref:I,className:"jk-row top left nowrap stretch jk-br-ie pn-re wh-100",onDoubleClick:()=>w(!0),children:[x&&t(Me,{isOpen:C,onClose:()=>f(!1),content:j,setContent:x,isValid:e=>ve(e)&&Te(JSON.parse(e))}),x&&v?t(Xe,{content:j,setContent:x,isSolvable:u}):e("div",{className:"jk-col stretch gap quiz-options-sheet-section-view wh-100 pn-re",children:[u&&!d&&t(qe,{submissions:K,points:j.points,selectedIndex:E,setSelectedIndex:A,children:!k&&t(p,{type:"secondary",size:"small",expand:!0,onClick:async e=>{e(be.LOADING);const t={type:B.QUIZ_OPTIONS,id:j.id,checkedOptions:L},{url:s,...n}=V.apiV2.worksheet.submitQuizOptions({params:{worksheetKey:h},body:t}),l=ke(await ye(s,n));await(b?.mutate?.()),y(l,e)},children:t(m,{className:"tt-se",children:"save"})})}),t(ze,{content:j}),t(Ye,{content:j,checkedOptions:L,setCheckedOptions:T,readOnly:k})]}),d&&t(S,{actionButtons:Je({type:B.QUIZ_OPTIONS,edit:v,setModal:f,index:o,sheetLength:r,setSheet:d,onSaveEdit:P,onCancel:()=>{w(!1),O(l)}}),placement:"right-end",outer:!0})]})},tt=({problemKey:s})=>t("div",{style:{},children:t(D,{url:V.apiV2.problem.getSummary({params:{key:s}}).url,errorView:t(L,{children:t(m,{className:"tt-se",children:"problem not found"})}),children:({data:s})=>e("div",{className:"jk-col",children:[t("div",{className:"fw-bd",children:s.content.name}),t("div",{className:"jk-tag bc-io",children:s.content.judge.key}),e("div",{children:[t(m,{className:"tt-se fw-bd",children:"type"}),": ",we[s.content.settings.type].label]}),e("div",{children:[t(m,{className:"tt-se fw-bd",children:"scoring mode"}),": ",Ce[s.content.settings.scoringMode].label]})]})})}),st=({content:s,setContent:n,isSolvable:l})=>t("div",{className:"jk-col stretch left",children:e("div",{className:"jk-col gap stretch flex-1",style:{width:"100%"},children:[t(y,{label:t(m,{className:"tt-se",children:"title"}),labelPlacement:"top",value:s.title,onChange:e=>n(t=>({...t,title:e})),expand:!0}),l&&t(y,{type:"number",label:t(m,{className:"tt-se",children:"points"}),labelPlacement:"top",value:s.points,onChange:e=>n(t=>({...t,points:e})),expand:!0}),e("div",{className:"flex-1",children:[t(m,{className:"fw-bd tt-se",children:"languages"}),":",t(v,{options:te.map(e=>({value:e,label:_[e]?.label??e})),selectedOptions:s.languages?.map(e=>({value:e})),onChange:e=>n(t=>({...t,languages:e.map(e=>e.value)})),expand:!0})]}),t("div",{children:s.problemKey?t(tt,{problemKey:s.problemKey}):t(m,{className:"tt-se",children:"please select a problem"})}),e("div",{className:"jk-row gap left",children:[e("div",{children:[t(m,{className:"fw-bd tt-se",children:"height"}),":"]}),t(w,{checked:0===s.height,label:t(m,{children:"auto"}),onChange:e=>n(t=>({...t,height:e?0:H}))}),t(y,{disabled:0===s.height,type:"number",value:s.height,onChange:e=>n(t=>({...t,height:Math.abs(e)})),size:"auto"}),t(m,{children:"px"})]}),t(T,{onSelect:e=>{n(t=>({...t,problemKey:e.key,problemJudge:e.judge.key}))}})]})}),nt=({content:e,worksheetKey:s})=>{const{notifyResponse:n}=N(),l=!Number.isNaN(+e.height)&&+e.height>0;return t("div",{className:"jk-col nowrap gap wh-100",style:{maxHeight:l?`calc(${+e.height}px + var(--gap))`:"calc(var(--100VH) - 300px)",height:l?`calc(${+e.height}px + var(--gap))`:"calc(var(--100VH) * 0.6)"},children:t("div",{className:"jk-col nowrap stretch flex-1 gap wh-100",style:{height:"100%"},children:t(D,{url:e.problemKey?V.apiV2.problem.getData({params:{key:e.problemKey}}).url:null,children:({data:l})=>t(R,{problem:l.content,infoPlacement:"name",codeEditorStoreKey:`${s}/${e.id}`,codeEditorCenterButtons:({files:l,currentFileName:a})=>{const{source:i="",language:o=Pe.TEXT}=l[a]||{};return[t(z,{children:t(p,{size:"small",onClick:async t=>{t(be.LOADING);const l={id:e.id,type:B.QUIZ_PROBLEM,language:o,source:i},{url:a,...c}=V.apiV2.worksheet.submitQuizProblem({params:{worksheetKey:s},body:l}),r=ke(await ye(a,c));n(r,t)},children:t(m,{className:"tt-se",children:"submit"})})},"submit")]}})})})})},lt=l=>{const{content:i,setContent:o,index:c,chunkId:r,sheetLength:d,setSheet:h,worksheetKey:p,isSolvable:u,userResults:b}=l,[k,y]=n(!1),[v,w]=n(!1),[C,N]=g(i),f=a(null),j=()=>{y(!k),o?.(C)};Ue(f,k,j);const O=o?N:void 0,x=(b?.data?.submissions[B.QUIZ_PROBLEM]?.[r]??[]).at(-1);return e("div",{className:"jk-row top left nowrap stretch jk-br-ie pn-re wh-100",onDoubleClick:()=>y(!0),children:[O&&t(Me,{isOpen:v,onClose:()=>w(!1),content:C,setContent:O,isValid:e=>ve(e)&&Le(JSON.parse(e))}),O&&k?t(st,{content:C,setContent:O,isSolvable:u}):e("div",{className:"jk-col gap stretch center quiz-problem-sheet-section-view wh-100 pn-re",children:[u&&!h&&t(We,{submitted:!!x,points:C.points,userPoints:x?.points??0,isResolved:!!x?.isCompleted,children:!!x?.isCompleted&&e(s,{children:[t(me,{size:"tiny"})," ",t(m,{className:"tt-se",children:"resolved"})]})}),t(ze,{content:C}),C.problemKey?t(nt,{content:C,worksheetKey:p}):t("div",{className:"jk-row center",children:t(m,{className:"tt-se cr-er",children:"problem not selected"})})]}),h&&t(S,{actionButtons:Je({type:B.QUIZ_PROBLEM,edit:k,setModal:w,index:c,sheetLength:d,setSheet:h,onSaveEdit:j,onCancel:()=>{y(!1),N(i)}}),placement:"right-end",outer:!0})]})},at=n=>{const{sheet:l,setSheet:a,userResults:i,readOnly:c,isSolvable:r,worksheetKey:d,asSlides:h,index:p,length:m}=n,g=l[p];if(!g)return null;const b=a?e=>{a(t=>{const s=[...t];if(s[p]){const t="function"==typeof e?e(s[p]):e;s.splice(p,1,structuredClone(t))}return s})}:void 0,k=l[p+1]?.type===B.JK_MD,y={content:g,setContent:h?void 0:b,index:p,chunkId:g.id,sheetLength:l.length,setSheet:h?void 0:a,worksheetKey:d,isSolvable:r,userResults:i,readOnly:c};return h&&g.type===B.JK_MD?e(s,{children:[t(M,{name:"WorksheetNode"}),t(u,{source:g.content.trim(),flatView:!0})]}):e(o,{children:[e("div",{id:g.id,className:J("jk-row nowrap stretch top gap pn-re jk-br-ie wh-100",`${g.type}-chunk`,{editing:!!a,"next-jkmd":k}),children:[g.type===B.JK_MD&&t($e,{...y}),g.type===B.CODE_EDITOR&&t(Qe,{...y}),g.type===B.GRAPH&&t(Fe,{...y}),g.type===B.QUIZ_PROBLEM&&t(lt,{...y}),g.type===B.QUIZ_OPTIONS&&t(et,{...y})]}),a&&!h&&t("div",{className:"jk-row gap extend nowrap center jk-divider tiny editing",style:{height:0},children:t(Re,{index:p,setSheet:a,mdSheet:!0,codeEditorSheet:!0,graphSheet:!0,quizProblemSheet:!0,quizOptionsSheetType:!0,pageDivider:!0,compacted:!0,floatToolbarPlacement:p===m-1?"top":"bottom"})})]},g.id)};export{Re as A,Me as E,at as W,Ae as a,Te as b,Le as c,Ke as g,De as i};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsxs as e,jsx as s}from"react/jsx-runtime";import{useCallback as t,useMemo as a}from"react";import{x as r,q as o,d as i}from"./index-DUSXBI7E.js";import{d5 as n,dk as m,da as c,df as d,dd as p,cL as l,cZ as g,bA as h,b4 as j}from"./index-DoTjNc47.js";import{T as u}from"./TableOfContents-CL2MOKlA.js";import{W as k}from"./WorksheetBodies-BnGXG6wi.js";import{g as b}from"./WorksheetNode-DjqZZQRs.js";import"./settings-DgLs6IK_.js";import"./enums.js";import"./ViewModuleIcon-B7qvToID.js";import"./date-D28INXpp.js";import"./time-BHcZPeyw.js";import"./contest-hvD3tLnF.js";import"./worksheet-BBAH_yZC.js";import"motion/react";import"react-dom";import"./index-Dwi3ag-n.js";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";import"./SettingsIcon-DnAtSsRm.js";import"./worksheet-GN3yGKYw.js";import"./index-B8yg8iZ5.js";import"./worksheet-DTRmzBjG.js";import"./ArrowForwardIcon-9VrCQrla.js";function w(w){const{worksheet:{content:f,quiz:{enable:y},key:P,user:{isManager:x}},resultsUserKey:v,page:C,subPage:I,onPageChangeRef:S,lastPageChildren:L,readOnly:N=!1,withoutTableOfContents:A=!1}=w,M=n(e=>e.viewPort.isSmallScreen),O=m(e=>e.user.nickname),V=m(e=>e.organization.key),q=m(e=>e.user.isLogged),K=c(e=>e.setSearchParams),[R,T]=d(C??1),[W,z]=d(I??1),U=p(S),B=t((e,s,t)=>{U.current?U.current(e,s,t):(T(e),z(s),K(t))},[T,z,U,K]),{data:E,mutate:F,isLoading:Z,isValidating:D}=l(P&&y&&q?r.apiV2.worksheet.getSubmissionsUser({params:{key:P,userKey:v||o(O,V)}}).url:null),G=a(()=>({data:E?.success?E.content:void 0,isLoading:Z,isValidating:D,mutate:F}),[E,Z,D,F]),H=a(()=>b(f),[f]),J=N||!!G?.data&&O!==G.data.user.nickname,Q=H.length;return g(t(e=>{"ArrowRight"===e.code?B(Math.min(R+1,Q),1,[]):"ArrowLeft"===e.code&&B(Math.max(R-1,1),1,[])},[B,R,Q])),e("div",{id:"jk-worksheet-viewer-container",className:i("gap nowrap worksheet-viewer-container center top",{"jk-col":M,"jk-row":!M}),children:[!A&&(M?Q>1&&s("div",{className:"jk-row",children:s(h,{page:R,subPage:W,onPageChange:B,sheetsInPages:H})}):e("div",{className:"jk-col gap bc-sf-md jk-pg-xsm jk-br-ie left worksheet-content sticky-top",children:[s(j,{className:"tt-se fw-bd cr-tx-ht",children:"table of content"}),s(u,{sheetsInPages:H,page:R,subPage:W,onPageChange:B})]})),s(k,{sheetsInPages:H,isSolvable:y&&q,userResults:G,readOnly:J,isEditor:x,worksheetKey:P,page:R,onPageChange:B,subPage:W,lastPageChildren:L})]})}export{w as default};
|
package/dist/esm/arc-BalHlvik.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Q as n,J as t,k as r,L as c,i as e,v as a,t as i,P as u,M as o,E as y,a as l,e as f,D as s,d as x,b as p}from"./string-CQk_HvWX.js";function h(n){return n.innerRadius}function v(n){return n.outerRadius}function g(n){return n.startAngle}function d(n){return n.endAngle}function m(n){return n&&n.padAngle}function T(n,t,r,c,e,a,i){var u=n-r,y=t-c,l=(i?a:-a)/o(u*u+y*y),f=l*y,x=-l*u,p=n+f,h=t+x,v=r+f,g=c+x,d=(p+v)/2,m=(h+g)/2,T=v-p,A=g-h,R=T*T+A*A,P=e-a,b=p*g-v*h,j=(A<0?-1:1)*o(s(0,P*P*R-b*b)),k=(b*A-T*j)/R,D=(-b*T-A*j)/R,E=(b*A+T*j)/R,J=(-b*T+A*j)/R,L=k-d,M=D-m,Q=E-d,q=J-m;return L*L+M*M>Q*Q+q*q&&(k=E,D=J),{cx:k,cy:D,x01:-f,y01:-x,x11:k*(e/P-1),y11:D*(e/P-1)}}function A(){var s=h,A=v,R=e(0),P=null,b=g,j=d,k=m,D=null,E=n(J);function J(){var n,e,h=+s.apply(this,arguments),v=+A.apply(this,arguments),g=b.apply(this,arguments)-a,d=j.apply(this,arguments)-a,m=l(d-g),J=d>g;if(D||(D=n=E()),v<h&&(e=v,v=h,h=e),v>i)if(m>u-i)D.moveTo(v*r(g),v*c(g)),D.arc(0,0,v,g,d,!J),h>i&&(D.moveTo(h*r(d),h*c(d)),D.arc(0,0,h,d,g,J));else{var L,M,Q=g,q=d,w=g,z=d,B=m,C=m,F=k.apply(this,arguments)/2,G=F>i&&(P?+P.apply(this,arguments):o(h*h+v*v)),H=y(l(v-h)/2,+R.apply(this,arguments)),I=H,K=H;if(G>i){var N=x(G/h*c(F)),O=x(G/v*c(F));(B-=2*N)>i?(w+=N*=J?1:-1,z-=N):(B=0,w=z=(g+d)/2),(C-=2*O)>i?(Q+=O*=J?1:-1,q-=O):(C=0,Q=q=(g+d)/2)}var S=v*r(Q),U=v*c(Q),V=h*r(z),W=h*c(z);if(H>i){var X,Y=v*r(q),Z=v*c(q),$=h*r(w),_=h*c(w);if(m<t)if(X=function(n,t,r,c,e,a,u,o){var y=r-n,l=c-t,f=u-e,s=o-a,x=s*y-f*l;if(!(x*x<i))return[n+(x=(f*(t-a)-s*(n-e))/x)*y,t+x*l]}(S,U,$,_,Y,Z,V,W)){var nn=S-X[0],tn=U-X[1],rn=Y-X[0],cn=Z-X[1],en=1/c(p((nn*rn+tn*cn)/(o(nn*nn+tn*tn)*o(rn*rn+cn*cn)))/2),an=o(X[0]*X[0]+X[1]*X[1]);I=y(H,(h-an)/(en-1)),K=y(H,(v-an)/(en+1))}else I=K=0}C>i?K>i?(L=T($,_,S,U,v,K,J),M=T(Y,Z,V,W,v,K,J),D.moveTo(L.cx+L.x01,L.cy+L.y01),K<H?D.arc(L.cx,L.cy,K,f(L.y01,L.x01),f(M.y01,M.x01),!J):(D.arc(L.cx,L.cy,K,f(L.y01,L.x01),f(L.y11,L.x11),!J),D.arc(0,0,v,f(L.cy+L.y11,L.cx+L.x11),f(M.cy+M.y11,M.cx+M.x11),!J),D.arc(M.cx,M.cy,K,f(M.y11,M.x11),f(M.y01,M.x01),!J))):(D.moveTo(S,U),D.arc(0,0,v,Q,q,!J)):D.moveTo(S,U),h>i&&B>i?I>i?(L=T(V,W,Y,Z,h,-I,J),M=T(S,U,$,_,h,-I,J),D.lineTo(L.cx+L.x01,L.cy+L.y01),I<H?D.arc(L.cx,L.cy,I,f(L.y01,L.x01),f(M.y01,M.x01),!J):(D.arc(L.cx,L.cy,I,f(L.y01,L.x01),f(L.y11,L.x11),!J),D.arc(0,0,h,f(L.cy+L.y11,L.cx+L.x11),f(M.cy+M.y11,M.cx+M.x11),J),D.arc(M.cx,M.cy,I,f(M.y11,M.x11),f(M.y01,M.x01),!J))):D.arc(0,0,h,z,w,J):D.lineTo(V,W)}else D.moveTo(0,0);if(D.closePath(),n)return D=null,n+""||null}return J.centroid=function(){var n=(+s.apply(this,arguments)+ +A.apply(this,arguments))/2,e=(+b.apply(this,arguments)+ +j.apply(this,arguments))/2-t/2;return[r(e)*n,c(e)*n]},J.innerRadius=function(n){return arguments.length?(s="function"==typeof n?n:e(+n),J):s},J.outerRadius=function(n){return arguments.length?(A="function"==typeof n?n:e(+n),J):A},J.cornerRadius=function(n){return arguments.length?(R="function"==typeof n?n:e(+n),J):R},J.padRadius=function(n){return arguments.length?(P=null==n?null:"function"==typeof n?n:e(+n),J):P},J.startAngle=function(n){return arguments.length?(b="function"==typeof n?n:e(+n),J):b},J.endAngle=function(n){return arguments.length?(j="function"==typeof n?n:e(+n),J):j},J.padAngle=function(n){return arguments.length?(k="function"==typeof n?n:e(+n),J):k},J.context=function(n){return arguments.length?(D=null==n?null:n,J):D},J}export{A as d};
|