@juki-team/base-ui 1.4.135 → 1.5.1
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-D74BtmuY.js +1 -0
- package/dist/esm/CartesianChart-CW5O6vne.js +47 -0
- package/dist/esm/ChangePasswordModal-BjmZ4w-n.js +1 -0
- package/dist/esm/CodeEditor-DHSwOQl_.js +1 -0
- package/dist/esm/CodeViewer-BgcqqnsU.js +1 -0
- package/dist/esm/Collapse-CJGjLO29.js +1 -0
- package/dist/esm/DataGrid-B2ZsmTQN.js +272 -0
- package/dist/esm/DataViewer-C7cqe5jJ.js +1 -0
- package/dist/esm/DrawerView-CBLVa95i.js +1 -0
- package/dist/esm/ExcalidrawButton-Gtzt3GBc.js +1 -0
- package/dist/esm/GraphvizViewer-Dyqijdc9.js +1 -0
- package/dist/esm/ImageLoaderCropper-DhWDuHK1.js +1 -0
- package/dist/esm/InputCellPhoneNumber-BgKCDHLv.js +1 -0
- package/dist/esm/InputColor-DeeYpvdA.js +14 -0
- package/dist/esm/LineChart-D2VT5Aos.js +1 -0
- package/dist/esm/LoaderLayer-D9O7WqFD.js +1 -0
- package/dist/esm/MdMath-PFhigRVS.js +1 -0
- package/dist/esm/MdMathEditor-CNn23WdZ.js +28 -0
- package/dist/esm/{Popover-CIsKcwr_.js → Popover-kYKitQai.js} +2 -2
- package/dist/esm/ReplyIcon-CPGYEALJ.js +1 -0
- package/dist/esm/SettingsIcon-Dk27Vz1G.js +1 -0
- package/dist/esm/SlideDeck-DMd0LgxX.js +1 -0
- package/dist/esm/TableEyeIcon-D74isCSR.js +1 -0
- package/dist/esm/TableOfContents-zzI7FQbW.js +1 -0
- package/dist/esm/Tooltip-B8AobPsl.js +13 -0
- package/dist/esm/UserCodeEditor-CbgpE94F.js +28 -0
- package/dist/esm/VirtualizedRowsFixed-Cau69yw0.js +1 -0
- package/dist/esm/WorksheetAsSlides-cYn12ViE.js +1 -0
- package/dist/esm/WorksheetBodies-oAHNxEoL.js +1 -0
- package/dist/esm/WorksheetContents-m3z1cSCO.js +1 -0
- package/dist/esm/WorksheetEditor-DL9l5iCM.js +1 -0
- package/dist/esm/WorksheetNode-D6tMtEqC.js +1 -0
- package/dist/esm/WorksheetViewer-tctJbZIu.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-rccIGhXm.js +1 -0
- package/dist/esm/architectureDiagram-Q4EWVU46-D4BxMEG7.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-z0-_xhoI.js +1 -0
- package/dist/esm/c4Diagram-AHTNJAMY-BoabvxgU.js +1 -0
- package/dist/esm/channel-B33C1-lx.js +1 -0
- package/dist/esm/{chunk-4BX2VUAB-DLCx-_ir.js → chunk-4BX2VUAB-BD59bCvh.js} +1 -1
- package/dist/esm/chunk-4TB4RGXK-bRIvkE2u.js +1 -0
- package/dist/esm/chunk-55IACEB6-B9SJqSMu.js +1 -0
- package/dist/esm/chunk-EDXVE4YY-DO0UVobI.js +1 -0
- package/dist/esm/{chunk-FMBD7UC4-BGLWSSaQ.js → chunk-FMBD7UC4-B0l_pK7G.js} +1 -1
- package/dist/esm/chunk-OYMX7WX6-ChpTvaWt.js +1 -0
- package/dist/esm/{chunk-QZHKN3VN-aadBLkdn.js → chunk-QZHKN3VN-9SrlxM-A.js} +1 -1
- package/dist/esm/chunk-YZCP3GAM-B9nB-mZv.js +1 -0
- package/dist/esm/classDiagram-6PBFFD2Q-BsMMZhRG.js +1 -0
- package/dist/esm/classDiagram-v2-HSJHXN6E-BsMMZhRG.js +1 -0
- package/dist/esm/clone-BDf6Yet-.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-DOOhcKZn.js +1 -0
- package/dist/esm/cytoscape.esm-D5qQrGhU.js +9 -0
- package/dist/esm/dagre-KV5264BT-DNQuzBru.js +1 -0
- package/dist/esm/{defaultLocale-BAKTrQtR.js → defaultLocale-HOdfsG1x.js} +1 -1
- package/dist/esm/diagram-5BDNPKRD-BuDsbwIH.js +1 -0
- package/dist/esm/diagram-G4DWMVQ6-Dqe6ehne.js +1 -0
- package/dist/esm/diagram-MMDJMWI5-DutUl44V.js +1 -0
- package/dist/esm/diagram-TYMM5635-Dg8R_BVT.js +1 -0
- package/dist/esm/erDiagram-SMLLAGMA-Z9rnwC7z.js +1 -0
- package/dist/esm/{floating-ui.dom-D1Wb0QDy.js → floating-ui.dom-BKnkJW47.js} +1 -1
- package/dist/esm/flowDiagram-DWJPFMVM-DlD4QYIw.js +1 -0
- package/dist/esm/ganttDiagram-T4ZO3ILL-DCyjcGXR.js +1 -0
- package/dist/esm/gitGraph-7Q5UKJZL-B-fw09HA.js +1 -0
- package/dist/esm/gitGraphDiagram-UUTBAWPF-CdYpB5kl.js +1 -0
- package/dist/esm/graph-BuAvWT_r.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-BoA3EjMr.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-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-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-rYUgz1LC.js +1 -0
- package/dist/esm/index-xaEdDd13.js +1 -0
- package/dist/esm/info-OMHHGYJF-fbv9Xw4D.js +1 -0
- package/dist/esm/infoDiagram-42DDH7IO-Ce56qzjb.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-Cc0AgO_R.js +1 -0
- package/dist/esm/journeyDiagram-VCZTEJTY-BQAuB_0y.js +1 -0
- package/dist/esm/kanban-definition-6JOO6SKY-CFfdKxrM.js +1 -0
- package/dist/esm/layout-C9Uq7X58.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-B9BVFPAN.js +1 -0
- package/dist/esm/mermaid.core-Ch6a1N6x.js +1 -0
- package/dist/esm/min-Dc9VrJ6M.js +1 -0
- package/dist/esm/mindmap-definition-QFDTVHPH-BwtZAHVe.js +1 -0
- package/dist/esm/{ordinal-UuA5o140.js → ordinal-zwWoQKz9.js} +1 -1
- package/dist/esm/packet-4T2RLAQJ-BGTrXSHu.js +1 -0
- package/dist/esm/pie-ZZUOXDRM-Dx3xGYkv.js +1 -0
- package/dist/esm/pieDiagram-DEJITSTG-ChBY2XYY.js +1 -0
- package/dist/esm/purify.es-DBOWJxv3.js +2 -0
- package/dist/esm/quadrantDiagram-34T5L4WZ-CRGLfMnt.js +1 -0
- package/dist/esm/radar-PYXPWWZC-BYId5clz.js +1 -0
- package/dist/esm/requirementDiagram-MS252O5E-qmbcV6Kf.js +1 -0
- package/dist/esm/sankeyDiagram-XADWPNL6-DaL42Ehn.js +1 -0
- package/dist/esm/sequenceDiagram-FGHM5R23-D28F9BbZ.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-RgoWlW1V.js +1 -0
- package/dist/esm/stateDiagram-v2-QKLJ7IA2-DuyT41He.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-BcOvpU4t.js +1 -0
- package/dist/esm/toNumber-Bh_HTlSx.js +1 -0
- package/dist/esm/treeView-SZITEDCU-BjLEV1yZ.js +1 -0
- package/dist/esm/treemap-W4RFUUIX-Cuo2Y8dN.js +1 -0
- package/dist/esm/types-DI2OON_b.js +1 -0
- package/dist/esm/vennDiagram-DHZGUBPP-CZrtDTUB.js +1 -0
- package/dist/esm/viz-CFEjElvl.js +9 -0
- package/dist/esm/wardley-RL74JXVD-d0LkVT8_.js +1 -0
- package/dist/esm/wardleyDiagram-NUSXRM2D-vlFiIB8t.js +1 -0
- package/dist/esm/websocket-CxbYBjHT.js +1 -0
- package/dist/esm/worksheet-CQgex79V.js +1 -0
- package/dist/esm/xychartDiagram-5P7HB3ND-DsCQdXVH.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{g as t,e}from"./chunk-ND2GUHAM-BD5ZdCjv.js";import{aC as a,L as n,M as i,aD as s,a as r,O as o,aA as l,ai as h,w as d,f as p,l as u,az as y,G as g,aU as b,s as f,k as m}from"./mermaid.core-DoQpgFF5.js";import"./index-DoTjNc47.js";import"react/jsx-runtime";import"react";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"./purify.es-J-_UhghA.js";import"./string-CQk_HvWX.js";var _=function(){var t=r(function(t,e,a,n){for(a=a||{},n=t.length;n--;a[t[n]]=e);return a},"o"),e=[1,24],a=[1,25],n=[1,26],i=[1,27],s=[1,28],o=[1,63],l=[1,64],h=[1,65],d=[1,66],p=[1,67],u=[1,68],y=[1,69],g=[1,29],b=[1,30],f=[1,31],m=[1,32],_=[1,33],x=[1,34],E=[1,35],S=[1,36],A=[1,37],C=[1,38],w=[1,39],O=[1,40],k=[1,41],T=[1,42],v=[1,43],R=[1,44],D=[1,45],N=[1,46],P=[1,47],j=[1,48],B=[1,50],M=[1,51],I=[1,52],L=[1,53],Y=[1,54],U=[1,55],F=[1,56],X=[1,57],z=[1,58],W=[1,59],Q=[1,60],$=[14,42],H=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],V=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],q=[1,82],G=[1,83],K=[1,84],J=[1,85],Z=[12,14,42],tt=[12,14,33,42],et=[12,14,33,42,76,77,79,80],at=[12,33],nt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],it={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:r(function(t,e,a,n,i,s,r){var o=s.length-1;switch(i){case 3:n.setDirection("TB");break;case 4:n.setDirection("BT");break;case 5:n.setDirection("RL");break;case 6:n.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:n.setC4Type(s[o-3]);break;case 19:n.setTitle(s[o].substring(6)),this.$=s[o].substring(6);break;case 20:n.setAccDescription(s[o].substring(15)),this.$=s[o].substring(15);break;case 21:this.$=s[o].trim(),n.setTitle(this.$);break;case 22:case 23:this.$=s[o].trim(),n.setAccDescription(this.$);break;case 28:s[o].splice(2,0,"ENTERPRISE"),n.addPersonOrSystemBoundary(...s[o]),this.$=s[o];break;case 29:s[o].splice(2,0,"SYSTEM"),n.addPersonOrSystemBoundary(...s[o]),this.$=s[o];break;case 30:n.addPersonOrSystemBoundary(...s[o]),this.$=s[o];break;case 31:s[o].splice(2,0,"CONTAINER"),n.addContainerBoundary(...s[o]),this.$=s[o];break;case 32:n.addDeploymentNode("node",...s[o]),this.$=s[o];break;case 33:n.addDeploymentNode("nodeL",...s[o]),this.$=s[o];break;case 34:n.addDeploymentNode("nodeR",...s[o]),this.$=s[o];break;case 35:n.popBoundaryParseStack();break;case 39:n.addPersonOrSystem("person",...s[o]),this.$=s[o];break;case 40:n.addPersonOrSystem("external_person",...s[o]),this.$=s[o];break;case 41:n.addPersonOrSystem("system",...s[o]),this.$=s[o];break;case 42:n.addPersonOrSystem("system_db",...s[o]),this.$=s[o];break;case 43:n.addPersonOrSystem("system_queue",...s[o]),this.$=s[o];break;case 44:n.addPersonOrSystem("external_system",...s[o]),this.$=s[o];break;case 45:n.addPersonOrSystem("external_system_db",...s[o]),this.$=s[o];break;case 46:n.addPersonOrSystem("external_system_queue",...s[o]),this.$=s[o];break;case 47:n.addContainer("container",...s[o]),this.$=s[o];break;case 48:n.addContainer("container_db",...s[o]),this.$=s[o];break;case 49:n.addContainer("container_queue",...s[o]),this.$=s[o];break;case 50:n.addContainer("external_container",...s[o]),this.$=s[o];break;case 51:n.addContainer("external_container_db",...s[o]),this.$=s[o];break;case 52:n.addContainer("external_container_queue",...s[o]),this.$=s[o];break;case 53:n.addComponent("component",...s[o]),this.$=s[o];break;case 54:n.addComponent("component_db",...s[o]),this.$=s[o];break;case 55:n.addComponent("component_queue",...s[o]),this.$=s[o];break;case 56:n.addComponent("external_component",...s[o]),this.$=s[o];break;case 57:n.addComponent("external_component_db",...s[o]),this.$=s[o];break;case 58:n.addComponent("external_component_queue",...s[o]),this.$=s[o];break;case 60:n.addRel("rel",...s[o]),this.$=s[o];break;case 61:n.addRel("birel",...s[o]),this.$=s[o];break;case 62:n.addRel("rel_u",...s[o]),this.$=s[o];break;case 63:n.addRel("rel_d",...s[o]),this.$=s[o];break;case 64:n.addRel("rel_l",...s[o]),this.$=s[o];break;case 65:n.addRel("rel_r",...s[o]),this.$=s[o];break;case 66:n.addRel("rel_b",...s[o]),this.$=s[o];break;case 67:s[o].splice(0,1),n.addRel("rel",...s[o]),this.$=s[o];break;case 68:n.updateElStyle("update_el_style",...s[o]),this.$=s[o];break;case 69:n.updateRelStyle("update_rel_style",...s[o]),this.$=s[o];break;case 70:n.updateLayoutConfig("update_layout_config",...s[o]),this.$=s[o];break;case 71:this.$=[s[o]];break;case 72:s[o].unshift(s[o-1]),this.$=s[o];break;case 73:case 75:this.$=s[o].trim();break;case 74:let t={};t[s[o-1].trim()]=s[o].trim(),this.$=t;break;case 76:this.$=""}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:o,36:l,37:h,38:d,39:p,40:u,41:y,43:23,44:g,45:b,46:f,47:m,48:_,49:x,50:E,51:S,52:A,53:C,54:w,55:O,56:k,57:T,58:v,59:R,60:D,61:N,62:P,63:j,64:B,65:M,66:I,67:L,68:Y,69:U,70:F,71:X,72:z,73:W,74:Q},{13:70,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:o,36:l,37:h,38:d,39:p,40:u,41:y,43:23,44:g,45:b,46:f,47:m,48:_,49:x,50:E,51:S,52:A,53:C,54:w,55:O,56:k,57:T,58:v,59:R,60:D,61:N,62:P,63:j,64:B,65:M,66:I,67:L,68:Y,69:U,70:F,71:X,72:z,73:W,74:Q},{13:71,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:o,36:l,37:h,38:d,39:p,40:u,41:y,43:23,44:g,45:b,46:f,47:m,48:_,49:x,50:E,51:S,52:A,53:C,54:w,55:O,56:k,57:T,58:v,59:R,60:D,61:N,62:P,63:j,64:B,65:M,66:I,67:L,68:Y,69:U,70:F,71:X,72:z,73:W,74:Q},{13:72,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:o,36:l,37:h,38:d,39:p,40:u,41:y,43:23,44:g,45:b,46:f,47:m,48:_,49:x,50:E,51:S,52:A,53:C,54:w,55:O,56:k,57:T,58:v,59:R,60:D,61:N,62:P,63:j,64:B,65:M,66:I,67:L,68:Y,69:U,70:F,71:X,72:z,73:W,74:Q},{13:73,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:o,36:l,37:h,38:d,39:p,40:u,41:y,43:23,44:g,45:b,46:f,47:m,48:_,49:x,50:E,51:S,52:A,53:C,54:w,55:O,56:k,57:T,58:v,59:R,60:D,61:N,62:P,63:j,64:B,65:M,66:I,67:L,68:Y,69:U,70:F,71:X,72:z,73:W,74:Q},{14:[1,74]},t($,[2,13],{43:23,29:49,30:61,32:62,20:75,34:o,36:l,37:h,38:d,39:p,40:u,41:y,44:g,45:b,46:f,47:m,48:_,49:x,50:E,51:S,52:A,53:C,54:w,55:O,56:k,57:T,58:v,59:R,60:D,61:N,62:P,63:j,64:B,65:M,66:I,67:L,68:Y,69:U,70:F,71:X,72:z,73:W,74:Q}),t($,[2,14]),t(H,[2,16],{12:[1,76]}),t($,[2,36],{12:[1,77]}),t(V,[2,19]),t(V,[2,20]),{25:[1,78]},{27:[1,79]},t(V,[2,23]),{35:80,75:81,76:q,77:G,79:K,80:J},{35:86,75:81,76:q,77:G,79:K,80:J},{35:87,75:81,76:q,77:G,79:K,80:J},{35:88,75:81,76:q,77:G,79:K,80:J},{35:89,75:81,76:q,77:G,79:K,80:J},{35:90,75:81,76:q,77:G,79:K,80:J},{35:91,75:81,76:q,77:G,79:K,80:J},{35:92,75:81,76:q,77:G,79:K,80:J},{35:93,75:81,76:q,77:G,79:K,80:J},{35:94,75:81,76:q,77:G,79:K,80:J},{35:95,75:81,76:q,77:G,79:K,80:J},{35:96,75:81,76:q,77:G,79:K,80:J},{35:97,75:81,76:q,77:G,79:K,80:J},{35:98,75:81,76:q,77:G,79:K,80:J},{35:99,75:81,76:q,77:G,79:K,80:J},{35:100,75:81,76:q,77:G,79:K,80:J},{35:101,75:81,76:q,77:G,79:K,80:J},{35:102,75:81,76:q,77:G,79:K,80:J},{35:103,75:81,76:q,77:G,79:K,80:J},{35:104,75:81,76:q,77:G,79:K,80:J},t(Z,[2,59]),{35:105,75:81,76:q,77:G,79:K,80:J},{35:106,75:81,76:q,77:G,79:K,80:J},{35:107,75:81,76:q,77:G,79:K,80:J},{35:108,75:81,76:q,77:G,79:K,80:J},{35:109,75:81,76:q,77:G,79:K,80:J},{35:110,75:81,76:q,77:G,79:K,80:J},{35:111,75:81,76:q,77:G,79:K,80:J},{35:112,75:81,76:q,77:G,79:K,80:J},{35:113,75:81,76:q,77:G,79:K,80:J},{35:114,75:81,76:q,77:G,79:K,80:J},{35:115,75:81,76:q,77:G,79:K,80:J},{20:116,29:49,30:61,32:62,34:o,36:l,37:h,38:d,39:p,40:u,41:y,43:23,44:g,45:b,46:f,47:m,48:_,49:x,50:E,51:S,52:A,53:C,54:w,55:O,56:k,57:T,58:v,59:R,60:D,61:N,62:P,63:j,64:B,65:M,66:I,67:L,68:Y,69:U,70:F,71:X,72:z,73:W,74:Q},{12:[1,118],33:[1,117]},{35:119,75:81,76:q,77:G,79:K,80:J},{35:120,75:81,76:q,77:G,79:K,80:J},{35:121,75:81,76:q,77:G,79:K,80:J},{35:122,75:81,76:q,77:G,79:K,80:J},{35:123,75:81,76:q,77:G,79:K,80:J},{35:124,75:81,76:q,77:G,79:K,80:J},{35:125,75:81,76:q,77:G,79:K,80:J},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t($,[2,15]),t(H,[2,17],{21:22,19:130,22:e,23:a,24:n,26:i,28:s}),t($,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:n,26:i,28:s,34:o,36:l,37:h,38:d,39:p,40:u,41:y,44:g,45:b,46:f,47:m,48:_,49:x,50:E,51:S,52:A,53:C,54:w,55:O,56:k,57:T,58:v,59:R,60:D,61:N,62:P,63:j,64:B,65:M,66:I,67:L,68:Y,69:U,70:F,71:X,72:z,73:W,74:Q}),t(V,[2,21]),t(V,[2,22]),t(Z,[2,39]),t(tt,[2,71],{75:81,35:132,76:q,77:G,79:K,80:J}),t(et,[2,73]),{78:[1,133]},t(et,[2,75]),t(et,[2,76]),t(Z,[2,40]),t(Z,[2,41]),t(Z,[2,42]),t(Z,[2,43]),t(Z,[2,44]),t(Z,[2,45]),t(Z,[2,46]),t(Z,[2,47]),t(Z,[2,48]),t(Z,[2,49]),t(Z,[2,50]),t(Z,[2,51]),t(Z,[2,52]),t(Z,[2,53]),t(Z,[2,54]),t(Z,[2,55]),t(Z,[2,56]),t(Z,[2,57]),t(Z,[2,58]),t(Z,[2,60]),t(Z,[2,61]),t(Z,[2,62]),t(Z,[2,63]),t(Z,[2,64]),t(Z,[2,65]),t(Z,[2,66]),t(Z,[2,67]),t(Z,[2,68]),t(Z,[2,69]),t(Z,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(at,[2,28]),t(at,[2,29]),t(at,[2,30]),t(at,[2,31]),t(at,[2,32]),t(at,[2,33]),t(at,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(H,[2,18]),t($,[2,38]),t(tt,[2,72]),t(et,[2,74]),t(Z,[2,24]),t(Z,[2,35]),t(nt,[2,25]),t(nt,[2,26],{12:[1,138]}),t(nt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:r(function(t,e){if(!e.recoverable){var a=new Error(t);throw a.hash=e,a}this.trace(t)},"parseError"),parse:r(function(t){var e=this,a=[0],n=[],i=[null],s=[],o=this.table,l="",c=0,h=0,d=s.slice.call(arguments,1),p=Object.create(this.lexer),u={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(u.yy[y]=this.yy[y]);p.setInput(t,u.yy),u.yy.lexer=p,u.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var g=p.yylloc;s.push(g);var b=p.options&&p.options.ranges;function f(){var t;return"number"!=typeof(t=n.pop()||p.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,r(function(t){a.length=a.length-2*t,i.length=i.length-t,s.length=s.length-t},"popStack"),r(f,"lex");for(var m,_,x,E,S,A,C,w,O={};;){if(_=a[a.length-1],this.defaultActions[_]?x=this.defaultActions[_]:(null==m&&(m=f()),x=o[_]&&o[_][m]),void 0===x||!x.length||!x[0]){var k="";for(S in w=[],o[_])this.terminals_[S]&&S>2&&w.push("'"+this.terminals_[S]+"'");k=p.showPosition?"Parse error on line "+(c+1)+":\n"+p.showPosition()+"\nExpecting "+w.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(k,{text:p.match,token:this.terminals_[m]||m,line:p.yylineno,loc:g,expected:w})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+m);switch(x[0]){case 1:a.push(m),i.push(p.yytext),s.push(p.yylloc),a.push(x[1]),m=null,h=p.yyleng,l=p.yytext,c=p.yylineno,g=p.yylloc;break;case 2:if(A=this.productions_[x[1]][1],O.$=i[i.length-A],O._$={first_line:s[s.length-(A||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(A||1)].first_column,last_column:s[s.length-1].last_column},b&&(O._$.range=[s[s.length-(A||1)].range[0],s[s.length-1].range[1]]),void 0!==(E=this.performAction.apply(O,[l,h,c,u.yy,x[1],i,s].concat(d))))return E;A&&(a=a.slice(0,-1*A*2),i=i.slice(0,-1*A),s=s.slice(0,-1*A)),a.push(this.productions_[x[1]][0]),i.push(O.$),s.push(O._$),C=o[a[a.length-2]][a[a.length-1]],a.push(C);break;case 3:return!0}}return!0},"parse")},st=function(){return{EOF:1,parseError:r(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:r(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:r(function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===n.length?this.yylloc.first_column:0)+n[n.length-a.length].length-a[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:r(function(){return this._more=!0,this},"more"),reject:r(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:r(function(t){this.unput(this.match.slice(t))},"less"),pastInput:r(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:r(function(t,e){var a,n,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var s in i)this[s]=i[s];return!1}return!1},"test_match"),next:r(function(){if(this.done)return this.EOF;var t,e,a,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),s=0;s<i.length;s++)if((a=this._input.match(this.rules[i[s]]))&&(!e||a[0].length>e[0].length)){if(e=a,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,i[s])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:r(function(){var t=this.next();return t||this.lex()},"lex"),begin:r(function(t){this.conditionStack.push(t)},"begin"),popState:r(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:r(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:r(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:r(function(t){this.begin(t)},"pushState"),stateStackSize:r(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:r(function(t,e,a,n){switch(a){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 73:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 16:case 70:break;case 14:c;break;case 15:return 12;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:case 53:return this.begin("rel_u"),66;case 54:case 55:return this.begin("rel_d"),67;case 56:case 57:return this.begin("rel_l"),68;case 58:case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:case 79:this.popState(),this.popState();break;case 69:case 71:return 80;case 72:this.begin("string");break;case 74:case 80:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[65,66,67,68],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}}}();function rt(){this.yy={}}return it.lexer=st,r(rt,"Parser"),rt.prototype=it,it.Parser=rt,new rt}();_.parser=_;var x,E=_,S=[],A=[""],C="global",w="",O=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],k=[],T="",v=!1,R=4,D=2,N=r(function(){return x},"getC4Type"),P=r(function(t){let e=y(t,o());x=e},"setC4Type"),j=r(function(t,e,a,n,i,s,r,o,l){if(null==t||null==e||null==a||null==n)return;let c={};const h=k.find(t=>t.from===e&&t.to===a);if(h?c=h:k.push(c),c.type=t,c.from=e,c.to=a,c.label={text:n},null==i)c.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.techn={text:i};if(null==s)c.descr={text:""};else if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]={text:e}}else c.descr={text:s};if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]=e}else c.sprite=r;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.tags=o;if("object"==typeof l){let[t,e]=Object.entries(l)[0];c[t]=e}else c.link=l;c.wrap=nt()},"addRel"),B=r(function(t,e,a,n,i,s,r){if(null===e||null===a)return;let o={};const l=S.find(t=>t.alias===e);if(l&&e===l.alias?o=l:(o.alias=e,S.push(o)),o.label=null==a?{text:""}:{text:a},null==n)o.descr={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.descr={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]=e}else o.sprite=i;if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.link=r;o.typeC4Shape={text:t},o.parentBoundary=C,o.wrap=nt()},"addPersonOrSystem"),M=r(function(t,e,a,n,i,s,r,o){if(null===e||null===a)return;let l={};const c=S.find(t=>t.alias===e);if(c&&e===c.alias?l=c:(l.alias=e,S.push(l)),l.label=null==a?{text:""}:{text:a},null==n)l.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]={text:e}}else l.techn={text:n};if(null==i)l.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]={text:e}}else l.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=e}else l.tags=r;if("object"==typeof o){let[t,e]=Object.entries(o)[0];l[t]=e}else l.link=o;l.wrap=nt(),l.typeC4Shape={text:t},l.parentBoundary=C},"addContainer"),I=r(function(t,e,a,n,i,s,r,o){if(null===e||null===a)return;let l={};const c=S.find(t=>t.alias===e);if(c&&e===c.alias?l=c:(l.alias=e,S.push(l)),l.label=null==a?{text:""}:{text:a},null==n)l.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]={text:e}}else l.techn={text:n};if(null==i)l.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]={text:e}}else l.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=e}else l.tags=r;if("object"==typeof o){let[t,e]=Object.entries(o)[0];l[t]=e}else l.link=o;l.wrap=nt(),l.typeC4Shape={text:t},l.parentBoundary=C},"addComponent"),L=r(function(t,e,a,n,i){if(null===t||null===e)return;let s={};const r=O.find(e=>e.alias===t);if(r&&t===r.alias?s=r:(s.alias=t,O.push(s)),s.label=null==e?{text:""}:{text:e},null==a)s.type={text:"system"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]={text:e}}else s.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]=e}else s.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.link=i;s.parentBoundary=C,s.wrap=nt(),w=C,C=t,A.push(w)},"addPersonOrSystemBoundary"),Y=r(function(t,e,a,n,i){if(null===t||null===e)return;let s={};const r=O.find(e=>e.alias===t);if(r&&t===r.alias?s=r:(s.alias=t,O.push(s)),s.label=null==e?{text:""}:{text:e},null==a)s.type={text:"container"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]={text:e}}else s.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]=e}else s.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.link=i;s.parentBoundary=C,s.wrap=nt(),w=C,C=t,A.push(w)},"addContainerBoundary"),U=r(function(t,e,a,n,i,s,r,o){if(null===e||null===a)return;let l={};const c=O.find(t=>t.alias===e);if(c&&e===c.alias?l=c:(l.alias=e,O.push(l)),l.label=null==a?{text:""}:{text:a},null==n)l.type={text:"node"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]={text:e}}else l.type={text:n};if(null==i)l.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]={text:e}}else l.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=e}else l.tags=r;if("object"==typeof o){let[t,e]=Object.entries(o)[0];l[t]=e}else l.link=o;l.nodeType=t,l.parentBoundary=C,l.wrap=nt(),w=C,C=e,A.push(w)},"addDeploymentNode"),F=r(function(){C=w,A.pop(),w=A.pop(),A.push(w)},"popBoundaryParseStack"),X=r(function(t,e,a,n,i,s,r,o,l,c,h){let d=S.find(t=>t.alias===e);if(void 0!==d||(d=O.find(t=>t.alias===e),void 0!==d)){if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];d[t]=e}else d.bgColor=a;if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];d[t]=e}else d.fontColor=n;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];d[t]=e}else d.borderColor=i;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];d[t]=e}else d.shadowing=s;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];d[t]=e}else d.shape=r;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];d[t]=e}else d.sprite=o;if(null!=l)if("object"==typeof l){let[t,e]=Object.entries(l)[0];d[t]=e}else d.techn=l;if(null!=c)if("object"==typeof c){let[t,e]=Object.entries(c)[0];d[t]=e}else d.legendText=c;if(null!=h)if("object"==typeof h){let[t,e]=Object.entries(h)[0];d[t]=e}else d.legendSprite=h}},"updateElStyle"),z=r(function(t,e,a,n,i,s,r){const o=k.find(t=>t.from===e&&t.to===a);if(void 0!==o){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]=e}else o.textColor=n;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]=e}else o.lineColor=i;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=parseInt(e)}else o.offsetX=parseInt(s);if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=parseInt(e)}else o.offsetY=parseInt(r)}},"updateRelStyle"),W=r(function(t,e,a){let n=R,i=D;if("object"==typeof e){const t=Object.values(e)[0];n=parseInt(t)}else n=parseInt(e);if("object"==typeof a){const t=Object.values(a)[0];i=parseInt(t)}else i=parseInt(a);n>=1&&(R=n),i>=1&&(D=i)},"updateLayoutConfig"),Q=r(function(){return R},"getC4ShapeInRow"),$=r(function(){return D},"getC4BoundaryInRow"),H=r(function(){return C},"getCurrentBoundaryParse"),V=r(function(){return w},"getParentBoundaryParse"),q=r(function(t){return null==t?S:S.filter(e=>e.parentBoundary===t)},"getC4ShapeArray"),G=r(function(t){return S.find(e=>e.alias===t)},"getC4Shape"),K=r(function(t){return Object.keys(q(t))},"getC4ShapeKeys"),J=r(function(t){return null==t?O:O.filter(e=>e.parentBoundary===t)},"getBoundaries"),Z=J,tt=r(function(){return k},"getRels"),et=r(function(){return T},"getTitle"),at=r(function(t){v=t},"setWrap"),nt=r(function(){return v},"autoWrap"),it=r(function(){S=[],O=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],w="",C="global",A=[""],k=[],A=[""],T="",v=!1,R=4,D=2},"clear"),st=r(function(t){let e=y(t,o());T=e},"setTitle"),rt={addPersonOrSystem:B,addPersonOrSystemBoundary:L,addContainer:M,addContainerBoundary:Y,addComponent:I,addDeploymentNode:U,popBoundaryParseStack:F,addRel:j,updateElStyle:X,updateRelStyle:z,updateLayoutConfig:W,autoWrap:nt,setWrap:at,getC4ShapeArray:q,getC4Shape:G,getC4ShapeKeys:K,getBoundaries:J,getBoundarys:Z,getCurrentBoundaryParse:H,getParentBoundaryParse:V,getRels:tt,getTitle:et,getC4Type:N,getC4ShapeInRow:Q,getC4BoundaryInRow:$,setAccTitle:s,getAccTitle:i,getAccDescription:n,setAccDescription:a,getConfig:r(()=>o().c4,"getConfig"),clear:it,LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:st,setC4Type:P},ot=r(function(t,a){return e(t,a)},"drawRect"),lt=r(function(t,e,a,n,i,s){const r=t.append("image");r.attr("width",e),r.attr("height",a),r.attr("x",n),r.attr("y",i);let o=s.startsWith("data:image/png;base64")?s:g.sanitizeUrl(s);r.attr("xlink:href",o)},"drawImage"),ct=r((t,e,a,n)=>{const i=t.append("g");let s=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",r=t.lineColor?t.lineColor:"#444444",o=t.offsetX?parseInt(t.offsetX):0,l=t.offsetY?parseInt(t.offsetY):0,c="";if(0===s){let e=i.append("line");e.attr("x1",t.startPoint.x),e.attr("y1",t.startPoint.y),e.attr("x2",t.endPoint.x),e.attr("y2",t.endPoint.y),e.attr("stroke-width","1"),e.attr("stroke",r),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url("+c+"#"+n+"-arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+c+"#"+n+"-arrowend)"),s=-1}else{let e=i.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",r).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",t.startPoint.x).replaceAll("starty",t.startPoint.y).replaceAll("controlx",t.startPoint.x+(t.endPoint.x-t.startPoint.x)/2-(t.endPoint.x-t.startPoint.x)/4).replaceAll("controly",t.startPoint.y+(t.endPoint.y-t.startPoint.y)/2).replaceAll("stopx",t.endPoint.x).replaceAll("stopy",t.endPoint.y)),"rel_b"!==t.type&&e.attr("marker-end","url("+c+"#"+n+"-arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+c+"#"+n+"-arrowend)")}let h=a.messageFont();xt(a)(t.label.text,i,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+o,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+l,t.label.width,t.label.height,{fill:e},h),t.techn&&""!==t.techn.text&&(h=a.messageFont(),xt(a)("["+t.techn.text+"]",i,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+o,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+a.messageFontSize+5+l,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},h))}},"drawRels"),ht=r(function(t,e,a){const n=t.append("g");let i=e.bgColor?e.bgColor:"none",s=e.borderColor?e.borderColor:"#444444",r=e.fontColor?e.fontColor:"black",o={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(o={"stroke-width":1});let l={x:e.x,y:e.y,fill:i,stroke:s,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:o};ot(n,l);let c=a.boundaryFont();c.fontWeight="bold",c.fontSize=c.fontSize+2,c.fontColor=r,xt(a)(e.label.text,n,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},c),e.type&&""!==e.type.text&&(c=a.boundaryFont(),c.fontColor=r,xt(a)(e.type.text,n,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},c)),e.descr&&""!==e.descr.text&&(c=a.boundaryFont(),c.fontSize=c.fontSize-2,c.fontColor=r,xt(a)(e.descr.text,n,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},c))},"drawBoundary"),dt=r(function(e,a,n){let i=a.bgColor?a.bgColor:n[a.typeC4Shape.text+"_bg_color"],s=a.borderColor?a.borderColor:n[a.typeC4Shape.text+"_border_color"],r=a.fontColor?a.fontColor:"#FFFFFF",o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(a.typeC4Shape.text){case"person":o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII="}const l=e.append("g");l.attr("class","person-man");const c=t();switch(a.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":c.x=a.x,c.y=a.y,c.fill=i,c.width=a.width,c.height=a.height,c.stroke=s,c.rx=2.5,c.ry=2.5,c.attrs={"stroke-width":.5},ot(l,c);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":l.append("path").attr("fill",i).attr("stroke-width","0.5").attr("stroke",s).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",a.x).replaceAll("starty",a.y).replaceAll("half",a.width/2).replaceAll("height",a.height)),l.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",s).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",a.x).replaceAll("starty",a.y).replaceAll("half",a.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":l.append("path").attr("fill",i).attr("stroke-width","0.5").attr("stroke",s).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",a.x).replaceAll("starty",a.y).replaceAll("width",a.width).replaceAll("half",a.height/2)),l.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",s).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",a.x+a.width).replaceAll("starty",a.y).replaceAll("half",a.height/2))}let h=_t(n,a.typeC4Shape.text);switch(l.append("text").attr("fill",r).attr("font-family",h.fontFamily).attr("font-size",h.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",a.typeC4Shape.width).attr("x",a.x+a.width/2-a.typeC4Shape.width/2).attr("y",a.y+a.typeC4Shape.Y).text("<<"+a.typeC4Shape.text+">>"),a.typeC4Shape.text){case"person":case"external_person":lt(l,48,48,a.x+a.width/2-24,a.y+a.image.Y,o)}let d=n[a.typeC4Shape.text+"Font"]();return d.fontWeight="bold",d.fontSize=d.fontSize+2,d.fontColor=r,xt(n)(a.label.text,l,a.x,a.y+a.label.Y,a.width,a.height,{fill:r},d),d=n[a.typeC4Shape.text+"Font"](),d.fontColor=r,a.techn&&""!==a.techn?.text?xt(n)(a.techn.text,l,a.x,a.y+a.techn.Y,a.width,a.height,{fill:r,"font-style":"italic"},d):a.type&&""!==a.type.text&&xt(n)(a.type.text,l,a.x,a.y+a.type.Y,a.width,a.height,{fill:r,"font-style":"italic"},d),a.descr&&""!==a.descr.text&&(d=n.personFont(),d.fontColor=r,xt(n)(a.descr.text,l,a.x,a.y+a.descr.Y,a.width,a.height,{fill:r},d)),a.height},"drawC4Shape"),pt=r(function(t,e){t.append("defs").append("symbol").attr("id",e+"-database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),ut=r(function(t,e){t.append("defs").append("symbol").attr("id",e+"-computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),yt=r(function(t,e){t.append("defs").append("symbol").attr("id",e+"-clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),gt=r(function(t,e){t.append("defs").append("marker").attr("id",e+"-arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},"insertArrowHead"),bt=r(function(t,e){t.append("defs").append("marker").attr("id",e+"-arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},"insertArrowEnd"),ft=r(function(t,e){t.append("defs").append("marker").attr("id",e+"-filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertArrowFilledHead"),mt=r(function(t,e){const a=t.append("defs").append("marker").attr("id",e+"-crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);a.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),a.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},"insertArrowCrossHead"),_t=r((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),"getC4ShapeFont"),xt=function(){function t(t,e,a,i,s,r,o){n(e.append("text").attr("x",a+s/2).attr("y",i+r/2+5).style("text-anchor","middle").text(t),o)}function e(t,e,a,i,s,r,o,l){const{fontSize:c,fontFamily:h,fontWeight:d}=l,p=t.split(f.lineBreakRegex);for(let t=0;t<p.length;t++){const r=t*c-c*(p.length-1)/2,l=e.append("text").attr("x",a+s/2).attr("y",i).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",c).style("font-weight",d).style("font-family",h);l.append("tspan").attr("dy",r).text(p[t]).attr("alignment-baseline","mathematical"),n(l,o)}}function a(t,a,i,s,r,o,l,c){const h=a.append("switch"),d=h.append("foreignObject").attr("x",i).attr("y",s).attr("width",r).attr("height",o).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");d.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,h,i,s,r,0,l,c),n(d,l)}function n(t,e){for(const a in e)e.hasOwnProperty(a)&&t.attr(a,e[a])}return r(t,"byText"),r(e,"byTspan"),r(a,"byFo"),r(n,"_setTextAttrs"),function(n){return"fo"===n.textPlacement?a:"old"===n.textPlacement?t:e}}(),Et={drawRect:ot,drawBoundary:ht,drawC4Shape:dt,drawRels:ct,drawImage:lt,insertArrowHead:gt,insertArrowEnd:bt,insertArrowFilledHead:ft,insertArrowCrossHead:mt,insertDatabaseIcon:pt,insertComputerIcon:ut,insertClockIcon:yt},St=0,At=0,Ct=4,wt=2;_.yy=rt;var Ot={},kt=class{static{r(this,"Bounds")}constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,Tt(t.db.getConfig())}setData(t,e,a,n){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=a,this.nextData.stopy=this.data.stopy=n}updateVal(t,e,a,n){void 0===t[e]?t[e]=a:t[e]=n(a,t[e])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let e=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+2*t.margin,a=e+t.width,n=this.nextData.starty+2*t.margin,i=n+t.height;(e>=this.data.widthLimit||a>=this.data.widthLimit||this.nextData.cnt>Ct)&&(e=this.nextData.startx+t.margin+Ot.nextLinePaddingX,n=this.nextData.stopy+2*t.margin,this.nextData.stopx=a=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=n+t.height,this.nextData.cnt=1),t.x=e,t.y=n,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",n,Math.min),this.updateVal(this.data,"stopx",a,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",n,Math.min),this.updateVal(this.nextData,"stopx",a,Math.max),this.updateVal(this.nextData,"stopy",i,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},Tt(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}},Tt=r(function(t){p(Ot,t),t.fontFamily&&(Ot.personFontFamily=Ot.systemFontFamily=Ot.messageFontFamily=t.fontFamily),t.fontSize&&(Ot.personFontSize=Ot.systemFontSize=Ot.messageFontSize=t.fontSize),t.fontWeight&&(Ot.personFontWeight=Ot.systemFontWeight=Ot.messageFontWeight=t.fontWeight)},"setConf"),vt=r((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),"c4ShapeFont"),Rt=r(t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),"boundaryFont"),Dt=r(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont");function Nt(t,e,a,n,i){if(!e[t].width)if(a)e[t].text=b(e[t].text,i,n),e[t].textLines=e[t].text.split(f.lineBreakRegex).length,e[t].width=i,e[t].height=m(e[t].text,n);else{let a=e[t].text.split(f.lineBreakRegex);e[t].textLines=a.length;let i=0;e[t].height=0,e[t].width=0;for(const s of a)e[t].width=Math.max(u(s,n),e[t].width),i=m(s,n),e[t].height=e[t].height+i}}r(Nt,"calcC4ShapeTextWH");var Pt=r(function(t,e,a){e.x=a.data.startx,e.y=a.data.starty,e.width=a.data.stopx-a.data.startx,e.height=a.data.stopy-a.data.starty,e.label.y=Ot.c4ShapeMargin-35;let n=e.wrap&&Ot.wrap,i=Rt(Ot);i.fontSize=i.fontSize+2,i.fontWeight="bold",Nt("label",e,n,i,u(e.label.text,i)),Et.drawBoundary(t,e,Ot)},"drawBoundary"),jt=r(function(t,e,a,n){let i=0;for(const s of n){i=0;const n=a[s];let r=vt(Ot,n.typeC4Shape.text);switch(r.fontSize=r.fontSize-2,n.typeC4Shape.width=u("«"+n.typeC4Shape.text+"»",r),n.typeC4Shape.height=r.fontSize+2,n.typeC4Shape.Y=Ot.c4ShapePadding,i=n.typeC4Shape.Y+n.typeC4Shape.height-4,n.image={width:0,height:0,Y:0},n.typeC4Shape.text){case"person":case"external_person":n.image.width=48,n.image.height=48,n.image.Y=i,i=n.image.Y+n.image.height}n.sprite&&(n.image.width=48,n.image.height=48,n.image.Y=i,i=n.image.Y+n.image.height);let o=n.wrap&&Ot.wrap,l=Ot.width-2*Ot.c4ShapePadding,c=vt(Ot,n.typeC4Shape.text);if(c.fontSize=c.fontSize+2,c.fontWeight="bold",Nt("label",n,o,c,l),n.label.Y=i+8,i=n.label.Y+n.label.height,n.type&&""!==n.type.text){n.type.text="["+n.type.text+"]",Nt("type",n,o,vt(Ot,n.typeC4Shape.text),l),n.type.Y=i+5,i=n.type.Y+n.type.height}else if(n.techn&&""!==n.techn.text){n.techn.text="["+n.techn.text+"]",Nt("techn",n,o,vt(Ot,n.techn.text),l),n.techn.Y=i+5,i=n.techn.Y+n.techn.height}let h=i,d=n.label.width;if(n.descr&&""!==n.descr.text){Nt("descr",n,o,vt(Ot,n.typeC4Shape.text),l),n.descr.Y=i+20,i=n.descr.Y+n.descr.height,d=Math.max(n.label.width,n.descr.width),h=i-5*n.descr.textLines}d+=Ot.c4ShapePadding,n.width=Math.max(n.width||Ot.width,d,Ot.width),n.height=Math.max(n.height||Ot.height,h,Ot.height),n.margin=n.margin||Ot.c4ShapeMargin,t.insert(n),Et.drawC4Shape(e,n,Ot)}t.bumpLastMargin(Ot.c4ShapeMargin)},"drawC4ShapeArray"),Bt=class{static{r(this,"Point")}constructor(t,e){this.x=t,this.y=e}},Mt=r(function(t,e){let a=t.x,n=t.y,i=e.x,s=e.y,r=a+t.width/2,o=n+t.height/2,l=Math.abs(a-i),c=Math.abs(n-s),h=c/l,d=t.height/t.width,p=null;return n==s&&a<i?p=new Bt(a+t.width,o):n==s&&a>i?p=new Bt(a,o):a==i&&n<s?p=new Bt(r,n+t.height):a==i&&n>s&&(p=new Bt(r,n)),a>i&&n<s?p=d>=h?new Bt(a,o+h*t.width/2):new Bt(r-l/c*t.height/2,n+t.height):a<i&&n<s?p=d>=h?new Bt(a+t.width,o+h*t.width/2):new Bt(r+l/c*t.height/2,n+t.height):a<i&&n>s?p=d>=h?new Bt(a+t.width,o-h*t.width/2):new Bt(r+t.height/2*l/c,n):a>i&&n>s&&(p=d>=h?new Bt(a,o-t.width/2*h):new Bt(r-t.height/2*l/c,n)),p},"getIntersectPoint"),It=r(function(t,e){let a={x:0,y:0};a.x=e.x+e.width/2,a.y=e.y+e.height/2;let n=Mt(t,a);return a.x=t.x+t.width/2,a.y=t.y+t.height/2,{startPoint:n,endPoint:Mt(e,a)}},"getIntersectPoints"),Lt=r(function(t,e,a,n,i){let s=0;for(let t of e){s+=1;let e=t.wrap&&Ot.wrap,i=Dt(Ot);"C4Dynamic"===n.db.getC4Type()&&(t.label.text=s+": "+t.label.text);let r=u(t.label.text,i);Nt("label",t,e,i,r),t.techn&&""!==t.techn.text&&(r=u(t.techn.text,i),Nt("techn",t,e,i,r)),t.descr&&""!==t.descr.text&&(r=u(t.descr.text,i),Nt("descr",t,e,i,r));let o=a(t.from),l=a(t.to),c=It(o,l);t.startPoint=c.startPoint,t.endPoint=c.endPoint}Et.drawRels(t,e,Ot,i)},"drawRels");function Yt(t,e,a,n,i){let s=new kt(i);s.data.widthLimit=a.data.widthLimit/Math.min(wt,n.length);for(let[r,o]of n.entries()){let n=0;o.image={width:0,height:0,Y:0},o.sprite&&(o.image.width=48,o.image.height=48,o.image.Y=n,n=o.image.Y+o.image.height);let l=o.wrap&&Ot.wrap,c=Rt(Ot);if(c.fontSize=c.fontSize+2,c.fontWeight="bold",Nt("label",o,l,c,s.data.widthLimit),o.label.Y=n+8,n=o.label.Y+o.label.height,o.type&&""!==o.type.text){o.type.text="["+o.type.text+"]",Nt("type",o,l,Rt(Ot),s.data.widthLimit),o.type.Y=n+5,n=o.type.Y+o.type.height}if(o.descr&&""!==o.descr.text){let t=Rt(Ot);t.fontSize=t.fontSize-2,Nt("descr",o,l,t,s.data.widthLimit),o.descr.Y=n+20,n=o.descr.Y+o.descr.height}if(0==r||r%wt===0){let t=a.data.startx+Ot.diagramMarginX,e=a.data.stopy+Ot.diagramMarginY+n;s.setData(t,t,e,e)}else{let t=s.data.stopx!==s.data.startx?s.data.stopx+Ot.diagramMarginX:s.data.startx,e=s.data.starty;s.setData(t,t,e,e)}s.name=o.alias;let h=i.db.getC4ShapeArray(o.alias),d=i.db.getC4ShapeKeys(o.alias);d.length>0&&jt(s,t,h,d),e=o.alias;let p=i.db.getBoundaries(e);p.length>0&&Yt(t,e,s,p,i),"global"!==o.alias&&Pt(t,o,s),a.data.stopy=Math.max(s.data.stopy+Ot.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(s.data.stopx+Ot.c4ShapeMargin,a.data.stopx),St=Math.max(St,a.data.stopx),At=Math.max(At,a.data.stopy)}}r(Yt,"drawInsideBoundary");var Ut={drawPersonOrSystemArray:jt,drawBoundary:Pt,setConf:Tt,draw:r(function(t,e,a,n){Ot=o().c4;const i=o().securityLevel;let s;"sandbox"===i&&(s=l("#i"+e));const r=l("sandbox"===i?s.nodes()[0].contentDocument.body:"body");let c=n.db;n.db.setWrap(Ot.wrap),Ct=c.getC4ShapeInRow(),wt=c.getC4BoundaryInRow(),h.debug(`C:${JSON.stringify(Ot,null,2)}`);const p="sandbox"===i?r.select(`[id="${e}"]`):l(`[id="${e}"]`);Et.insertComputerIcon(p,e),Et.insertDatabaseIcon(p,e),Et.insertClockIcon(p,e);let u=new kt(n);u.setData(Ot.diagramMarginX,Ot.diagramMarginX,Ot.diagramMarginY,Ot.diagramMarginY),u.data.widthLimit=screen.availWidth,St=Ot.diagramMarginX,At=Ot.diagramMarginY;const y=n.db.getTitle();Yt(p,"",u,n.db.getBoundaries(""),n),Et.insertArrowHead(p,e),Et.insertArrowEnd(p,e),Et.insertArrowCrossHead(p,e),Et.insertArrowFilledHead(p,e),Lt(p,n.db.getRels(),n.db.getC4Shape,n,e),u.data.stopx=St,u.data.stopy=At;const g=u.data;let b=g.stopy-g.starty+2*Ot.diagramMarginY;const f=g.stopx-g.startx+2*Ot.diagramMarginX;y&&p.append("text").text(y).attr("x",(g.stopx-g.startx)/2-4*Ot.diagramMarginX).attr("y",g.starty+Ot.diagramMarginY),d(p,b,f,Ot.useMaxWidth);const m=y?60:0;p.attr("viewBox",g.startx-Ot.diagramMarginX+" -"+(Ot.diagramMarginY+m)+" "+f+" "+(b+m)),h.debug("models:",g)},"draw")},Ft={parser:E,db:rt,renderer:Ut,styles:r(t=>`.person {\n stroke: ${t.personBorder};\n fill: ${t.personBkg};\n }\n`,"getStyles"),init:r(({c4:t,wrap:e})=>{Ut.setConf(t),rt.setWrap(e)},"init")};export{Ft as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{U as r,C as a}from"./mermaid.core-DoQpgFF5.js";const o=(o,s)=>r.lang.round(a.parse(o)[s]);export{o as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t,w as i,ai as e}from"./mermaid.core-DoQpgFF5.js";var a=t((t,a,r,s)=>{t.attr("class",r);const{width:d,height:n,x:w,y:c}=o(t,a);i(t,n,d,s);const g=h(w,c,d,n,a);t.attr("viewBox",g),e.debug(`viewBox configured: ${g} with padding: ${a}`)},"setupViewPortForSVG"),o=t((t,i)=>{const e=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:e.width+2*i,height:e.height+2*i,x:e.x,y:e.y}},"calculateDimensionsWithPadding"),h=t((t,i,e,a,o)=>`${t-o} ${i-o} ${e} ${a}`,"createViewBox");export{a as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e,aA as a}from"./mermaid.core-DoQpgFF5.js";var o=e((e,o)=>{let t;"sandbox"===o&&(t=a("#i"+e));return a("sandbox"===o?t.nodes()[0].contentDocument.body:"body").select(`[id="${e}"]`)},"getDiagramElement");export{o as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as t}from"./chunk-FMBD7UC4-BGLWSSaQ.js";import{c as e}from"./chunk-ND2GUHAM-BD5ZdCjv.js";import{g as s}from"./chunk-55IACEB6-Ce1Mc1lZ.js";import{s as i}from"./chunk-2J33WTMH-BSF8-_lr.js";import{a as n,ai as a,O as r,V as u,aw as l,aT as o,aA as c,aD as h,M as p,aC as d,L as A,aF as y,P as m,s as g,n as C,Q as b,az as k,aq as E}from"./mermaid.core-DoQpgFF5.js";import{p as f}from"./purify.es-J-_UhghA.js";var T=function(){var t=n(function(t,e,s,i){for(s=s||{},i=t.length;i--;s[t[i]]=e);return s},"o"),e=[1,18],s=[1,19],i=[1,20],a=[1,41],r=[1,26],u=[1,42],l=[1,24],o=[1,25],c=[1,32],h=[1,33],p=[1,34],d=[1,45],A=[1,35],y=[1,36],m=[1,37],g=[1,38],C=[1,27],b=[1,28],k=[1,29],E=[1,30],f=[1,31],T=[1,44],F=[1,46],D=[1,43],B=[1,47],_=[1,9],S=[1,8,9],$=[1,58],N=[1,59],L=[1,60],x=[1,61],I=[1,62],v=[1,63],O=[1,64],w=[1,8,9,41],R=[1,77],M=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],P=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],G=[13,60,86,100,102,103],U=[13,60,73,74,86,100,102,103],z=[13,60,68,69,70,71,72,86,100,102,103],j=[1,103],K=[1,121],Y=[1,117],W=[1,113],Q=[1,119],X=[1,114],H=[1,115],q=[1,116],V=[1,118],J=[1,120],Z=[22,50,60,61,82,86,87,88,89,90],tt=[1,128],et=[12,39],st=[1,8,9,39,41,44,46],it=[1,8,9,22],nt=[1,153],at=[1,8,9,61],rt=[1,8,9,22,50,60,61,82,86,87,88,89,90],ut={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:n(function(t,e,s,i,n,a,r){var u=a.length-1;switch(n){case 8:this.$=a[u-1];break;case 9:case 10:case 13:case 15:case 46:this.$=a[u];break;case 11:case 14:this.$=a[u-2]+"."+a[u];break;case 12:case 16:case 110:this.$=a[u-1]+a[u];break;case 17:case 18:this.$=a[u-1]+"~"+a[u]+"~";break;case 19:i.addRelation(a[u]);break;case 20:a[u-1].title=i.cleanupLabel(a[u]),i.addRelation(a[u-1]);break;case 31:this.$=a[u].trim(),i.setAccTitle(this.$);break;case 32:case 33:this.$=a[u].trim(),i.setAccDescription(this.$);break;case 34:i.addClassesToNamespace(a[u-3],a[u-1][0],a[u-1][1]),i.popNamespace();break;case 35:i.addClassesToNamespace(a[u-4],a[u-1][0],a[u-1][1]),i.popNamespace();break;case 36:this.$=i.addNamespace(a[u]);break;case 37:this.$=i.addNamespace(a[u-1],a[u]);break;case 38:this.$=[[a[u]],[]];break;case 39:this.$=[[a[u-1]],[]];break;case 40:a[u][0].unshift(a[u-2]),this.$=a[u];break;case 41:this.$=[[],[a[u]]];break;case 42:this.$=[[],[a[u-1]]];break;case 43:a[u][1].unshift(a[u-2]),this.$=a[u];break;case 44:case 45:this.$=[[],[]];break;case 48:i.setCssClass(a[u-2],a[u]);break;case 49:i.addMembers(a[u-3],a[u-1]);break;case 51:i.setCssClass(a[u-5],a[u-3]),i.addMembers(a[u-5],a[u-1]);break;case 52:i.addAnnotation(a[u-3],a[u-1]);break;case 53:i.addAnnotation(a[u-6],a[u-4]),i.addMembers(a[u-6],a[u-1]);break;case 54:i.addAnnotation(a[u-5],a[u-3]);break;case 55:this.$=a[u],i.addClass(a[u]);break;case 56:this.$=a[u-1],i.addClass(a[u-1]),i.setClassLabel(a[u-1],a[u]);break;case 60:i.addAnnotation(a[u],a[u-2]);break;case 61:case 74:case 107:this.$=[a[u]];break;case 62:a[u].push(a[u-1]),this.$=a[u];break;case 63:case 65:case 66:break;case 64:i.addMember(a[u-1],i.cleanupLabel(a[u]));break;case 67:this.$={id1:a[u-2],id2:a[u],relation:a[u-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:a[u-3],id2:a[u],relation:a[u-1],relationTitle1:a[u-2],relationTitle2:"none"};break;case 69:this.$={id1:a[u-3],id2:a[u],relation:a[u-2],relationTitle1:"none",relationTitle2:a[u-1]};break;case 70:this.$={id1:a[u-4],id2:a[u],relation:a[u-2],relationTitle1:a[u-3],relationTitle2:a[u-1]};break;case 71:this.$=i.addNote(a[u],a[u-1]);break;case 72:this.$=i.addNote(a[u]);break;case 73:this.$=a[u-2],i.defineClass(a[u-1],a[u]);break;case 75:this.$=a[u-2].concat([a[u]]);break;case 76:i.setDirection("TB");break;case 77:i.setDirection("BT");break;case 78:i.setDirection("RL");break;case 79:i.setDirection("LR");break;case 80:this.$={type1:a[u-2],type2:a[u],lineType:a[u-1]};break;case 81:this.$={type1:"none",type2:a[u],lineType:a[u-1]};break;case 82:this.$={type1:a[u-1],type2:"none",lineType:a[u]};break;case 83:this.$={type1:"none",type2:"none",lineType:a[u]};break;case 84:this.$=i.relationType.AGGREGATION;break;case 85:this.$=i.relationType.EXTENSION;break;case 86:this.$=i.relationType.COMPOSITION;break;case 87:this.$=i.relationType.DEPENDENCY;break;case 88:this.$=i.relationType.LOLLIPOP;break;case 89:this.$=i.lineType.LINE;break;case 90:this.$=i.lineType.DOTTED_LINE;break;case 91:case 97:this.$=a[u-2],i.setClickEvent(a[u-1],a[u]);break;case 92:case 98:this.$=a[u-3],i.setClickEvent(a[u-2],a[u-1]),i.setTooltip(a[u-2],a[u]);break;case 93:this.$=a[u-2],i.setLink(a[u-1],a[u]);break;case 94:this.$=a[u-3],i.setLink(a[u-2],a[u-1],a[u]);break;case 95:this.$=a[u-3],i.setLink(a[u-2],a[u-1]),i.setTooltip(a[u-2],a[u]);break;case 96:this.$=a[u-4],i.setLink(a[u-3],a[u-2],a[u]),i.setTooltip(a[u-3],a[u-1]);break;case 99:this.$=a[u-3],i.setClickEvent(a[u-2],a[u-1],a[u]);break;case 100:this.$=a[u-4],i.setClickEvent(a[u-3],a[u-2],a[u-1]),i.setTooltip(a[u-3],a[u]);break;case 101:this.$=a[u-3],i.setLink(a[u-2],a[u]);break;case 102:this.$=a[u-4],i.setLink(a[u-3],a[u-1],a[u]);break;case 103:this.$=a[u-4],i.setLink(a[u-3],a[u-1]),i.setTooltip(a[u-3],a[u]);break;case 104:this.$=a[u-5],i.setLink(a[u-4],a[u-2],a[u]),i.setTooltip(a[u-4],a[u-1]);break;case 105:this.$=a[u-2],i.setCssStyle(a[u-1],a[u]);break;case 106:i.setCssClass(a[u-1],a[u]);break;case 108:a[u-2].push(a[u]),this.$=a[u-2]}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:e,35:s,37:i,38:22,42:a,43:23,46:r,48:u,51:l,52:o,54:c,56:h,57:p,60:d,62:A,63:y,64:m,65:g,75:C,76:b,78:k,82:E,83:f,86:T,100:F,102:D,103:B},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(_,[2,5],{8:[1,48]}),{8:[1,49]},t(S,[2,19],{22:[1,50]}),t(S,[2,21]),t(S,[2,22]),t(S,[2,23]),t(S,[2,24]),t(S,[2,25]),t(S,[2,26]),t(S,[2,27]),t(S,[2,28]),t(S,[2,29]),t(S,[2,30]),{34:[1,51]},{36:[1,52]},t(S,[2,33]),t(S,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:$,69:N,70:L,71:x,72:I,73:v,74:O}),{39:[1,65]},t(w,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),t(S,[2,65]),t(S,[2,66]),{16:69,60:d,86:T,100:F,102:D},{16:39,17:40,19:70,60:d,86:T,100:F,102:D,103:B},{16:39,17:40,19:71,60:d,86:T,100:F,102:D,103:B},{16:39,17:40,19:72,60:d,86:T,100:F,102:D,103:B},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:d,86:T,100:F,102:D,103:B},{13:R,55:76},{58:78,60:[1,79]},t(S,[2,76]),t(S,[2,77]),t(S,[2,78]),t(S,[2,79]),t(M,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:d,86:T,100:F,102:D,103:B}),t(M,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:d,86:T,100:F,102:D,103:B},{16:39,17:40,19:87,60:d,86:T,100:F,102:D,103:B},t(P,[2,133]),t(P,[2,134]),t(P,[2,135]),t(P,[2,136]),t([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),t(_,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:e,35:s,37:i,42:a,46:r,48:u,51:l,52:o,54:c,56:h,57:p,60:d,62:A,63:y,64:m,65:g,75:C,76:b,78:k,82:E,83:f,86:T,100:F,102:D,103:B}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:e,35:s,37:i,38:22,42:a,43:23,46:r,48:u,51:l,52:o,54:c,56:h,57:p,60:d,62:A,63:y,64:m,65:g,75:C,76:b,78:k,82:E,83:f,86:T,100:F,102:D,103:B},t(S,[2,20]),t(S,[2,31]),t(S,[2,32]),{13:[1,91],16:39,17:40,19:90,60:d,86:T,100:F,102:D,103:B},{53:92,66:56,67:57,68:$,69:N,70:L,71:x,72:I,73:v,74:O},t(S,[2,64]),{67:93,73:v,74:O},t(G,[2,83],{66:94,68:$,69:N,70:L,71:x,72:I}),t(U,[2,84]),t(U,[2,85]),t(U,[2,86]),t(U,[2,87]),t(U,[2,88]),t(z,[2,89]),t(z,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:a,43:23,48:u,54:c,56:h},{16:100,60:d,86:T,100:F,102:D},{41:[1,102],45:101,51:j},{16:104,60:d,86:T,100:F,102:D},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:K,50:Y,59:110,60:W,82:Q,84:111,85:112,86:X,87:H,88:q,89:V,90:J},{60:[1,122]},{13:R,55:123},t(w,[2,72]),t(w,[2,138]),{22:K,50:Y,59:124,60:W,61:[1,125],82:Q,84:111,85:112,86:X,87:H,88:q,89:V,90:J},t(Z,[2,74]),{16:39,17:40,19:126,60:d,86:T,100:F,102:D,103:B},t(M,[2,16]),t(M,[2,17]),t(M,[2,18]),{11:127,12:tt,39:[2,36]},t(et,[2,9],{16:85,17:86,15:130,18:[1,129],60:d,86:T,100:F,102:D,103:B}),t(et,[2,10]),t(st,[2,55],{11:131,12:tt}),t(_,[2,7]),{9:[1,132]},t(it,[2,67]),{16:39,17:40,19:133,60:d,86:T,100:F,102:D,103:B},{13:[1,135],16:39,17:40,19:134,60:d,86:T,100:F,102:D,103:B},t(G,[2,82],{66:136,68:$,69:N,70:L,71:x,72:I}),t(G,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:a,43:23,48:u,54:c,56:h},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},t(w,[2,48],{39:[1,142]}),{41:[1,143]},t(w,[2,50]),{41:[2,61],45:144,51:j},{47:[1,145]},{16:39,17:40,19:146,60:d,86:T,100:F,102:D,103:B},t(S,[2,91],{13:[1,147]}),t(S,[2,93],{13:[1,149],77:[1,148]}),t(S,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},t(S,[2,105],{61:nt}),t(at,[2,107],{85:154,22:K,50:Y,60:W,82:Q,86:X,87:H,88:q,89:V,90:J}),t(rt,[2,109]),t(rt,[2,111]),t(rt,[2,112]),t(rt,[2,113]),t(rt,[2,114]),t(rt,[2,115]),t(rt,[2,116]),t(rt,[2,117]),t(rt,[2,118]),t(rt,[2,119]),t(S,[2,106]),t(w,[2,71]),t(S,[2,73],{61:nt}),{60:[1,155]},t(M,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:d,86:T,100:F,102:D,103:B},t(et,[2,12]),t(st,[2,56]),{1:[2,4]},t(it,[2,69]),t(it,[2,68]),{16:39,17:40,19:158,60:d,86:T,100:F,102:D,103:B},t(G,[2,80]),t(w,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:a,43:23,48:u,54:c,56:h},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:a,43:23,48:u,54:c,56:h},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:a,43:23,48:u,54:c,56:h},{45:163,51:j},t(w,[2,49]),{41:[2,62]},t(w,[2,52],{39:[1,164]}),t(S,[2,60]),t(S,[2,92]),t(S,[2,94]),t(S,[2,95],{77:[1,165]}),t(S,[2,98]),t(S,[2,99],{13:[1,166]}),t(S,[2,101],{13:[1,168],77:[1,167]}),{22:K,50:Y,60:W,82:Q,84:169,85:112,86:X,87:H,88:q,89:V,90:J},t(rt,[2,110]),t(Z,[2,75]),{14:[1,170]},t(et,[2,11]),t(it,[2,70]),t(w,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:j},t(S,[2,96]),t(S,[2,100]),t(S,[2,102]),t(S,[2,103],{77:[1,174]}),t(at,[2,108],{85:154,22:K,50:Y,60:W,82:Q,86:X,87:H,88:q,89:V,90:J}),t(st,[2,8]),t(w,[2,51]),{41:[1,175]},t(w,[2,54]),t(S,[2,104]),t(w,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:n(function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)},"parseError"),parse:n(function(t){var e=this,s=[0],i=[],a=[null],r=[],u=this.table,l="",o=0,c=0,h=r.slice.call(arguments,1),p=Object.create(this.lexer),d={yy:{}};for(var A in this.yy)Object.prototype.hasOwnProperty.call(this.yy,A)&&(d.yy[A]=this.yy[A]);p.setInput(t,d.yy),d.yy.lexer=p,d.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var y=p.yylloc;r.push(y);var m=p.options&&p.options.ranges;function g(){var t;return"number"!=typeof(t=i.pop()||p.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,n(function(t){s.length=s.length-2*t,a.length=a.length-t,r.length=r.length-t},"popStack"),n(g,"lex");for(var C,b,k,E,f,T,F,D,B={};;){if(b=s[s.length-1],this.defaultActions[b]?k=this.defaultActions[b]:(null==C&&(C=g()),k=u[b]&&u[b][C]),void 0===k||!k.length||!k[0]){var _="";for(f in D=[],u[b])this.terminals_[f]&&f>2&&D.push("'"+this.terminals_[f]+"'");_=p.showPosition?"Parse error on line "+(o+1)+":\n"+p.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[C]||C)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==C?"end of input":"'"+(this.terminals_[C]||C)+"'"),this.parseError(_,{text:p.match,token:this.terminals_[C]||C,line:p.yylineno,loc:y,expected:D})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+C);switch(k[0]){case 1:s.push(C),a.push(p.yytext),r.push(p.yylloc),s.push(k[1]),C=null,c=p.yyleng,l=p.yytext,o=p.yylineno,y=p.yylloc;break;case 2:if(T=this.productions_[k[1]][1],B.$=a[a.length-T],B._$={first_line:r[r.length-(T||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(T||1)].first_column,last_column:r[r.length-1].last_column},m&&(B._$.range=[r[r.length-(T||1)].range[0],r[r.length-1].range[1]]),void 0!==(E=this.performAction.apply(B,[l,c,o,d.yy,k[1],a,r].concat(h))))return E;T&&(s=s.slice(0,-1*T*2),a=a.slice(0,-1*T),r=r.slice(0,-1*T)),s.push(this.productions_[k[1]][0]),a.push(B.$),r.push(B._$),F=u[s[s.length-2]][s[s.length-1]],s.push(F);break;case 3:return!0}}return!0},"parse")},lt=function(){return{EOF:1,parseError:n(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:n(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:n(function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:n(function(t){this.unput(this.match.slice(t))},"less"),pastInput:n(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:n(function(t,e){var s,i,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var a in n)this[a]=n[a];return!1}return!1},"test_match"),next:n(function(){if(this.done)return this.EOF;var t,e,s,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),a=0;a<n.length;a++)if((s=this._input.match(this.rules[n[a]]))&&(!e||s[0].length>e[0].length)){if(e=s,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,n[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:n(function(){var t=this.next();return t||this.lex()},"lex"),begin:n(function(t){this.conditionStack.push(t)},"begin"),popState:n(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:n(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:n(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:n(function(t){this.begin(t)},"pushState"),stateStackSize:n(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:n(function(t,e,s,i){switch(s){case 0:return 62;case 1:return 63;case 2:return 64;case 3:return 65;case 4:case 5:case 14:case 31:case 37:case 41:case 48:break;case 6:return this.begin("acc_title"),33;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),35;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 19:case 22:case 24:case 59:case 62:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 36:return 8;case 15:case 16:return 7;case 17:case 38:case 46:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 79;case 23:return 80;case 25:return"STR";case 26:this.begin("string");break;case 27:return 82;case 28:return 57;case 29:return this.begin("namespace"),42;case 30:case 40:return this.popState(),8;case 32:return this.begin("namespace-body"),39;case 33:this.popState(),this.less(0);break;case 34:case 44:return this.popState(),41;case 35:case 45:return"EOF_IN_STRUCT";case 39:return this.begin("class"),48;case 42:return this.popState(),this.popState(),41;case 43:return this.begin("class-body"),39;case 47:return"OPEN_IN_STRUCT";case 49:return"MEMBER";case 50:return 83;case 51:return 75;case 52:return 76;case 53:return 78;case 54:return 54;case 55:return 56;case 56:return 46;case 57:return 47;case 58:return 81;case 60:return"GENERICTYPE";case 61:this.begin("generic");break;case 63:return"BQUOTE_STR";case 64:this.begin("bqstring");break;case 65:case 66:case 67:case 68:return 77;case 69:case 70:return 69;case 71:case 72:return 71;case 73:return 70;case 74:return 68;case 75:return 72;case 76:return 73;case 77:return 74;case 78:return 22;case 79:return 44;case 80:return 100;case 81:return 18;case 82:return"PLUS";case 83:return 87;case 84:return 61;case 85:case 86:return 89;case 87:return 90;case 88:case 89:return"EQUALS";case 90:return 60;case 91:return 12;case 92:return 14;case 93:return"PUNCTUATION";case 94:return 86;case 95:return 102;case 96:case 97:return 50;case 98:return 9}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,29,34,35,36,37,38,39,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},namespace:{rules:[26,29,30,31,32,33,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},"class-body":{rules:[26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},class:{rules:[26,40,41,42,43,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr:{rules:[9,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_title:{rules:[7,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_args:{rules:[22,23,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_name:{rules:[19,20,21,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},href:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},struct:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},generic:{rules:[26,50,51,52,53,54,55,56,57,58,59,60,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},bqstring:{rules:[26,50,51,52,53,54,55,56,57,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},string:{rules:[24,25,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,39,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98],inclusive:!0}}}}();function ot(){this.yy={}}return ut.lexer=lt,n(ot,"Parser"),ot.prototype=ut,ut.Parser=ot,new ot}();T.parser=T;var F=T,D=["#","+","~","-",""],B=class{static{n(this,"ClassMember")}constructor(t,e){this.memberType=e,this.visibility="",this.classifier="",this.text="";const s=k(t,r());this.parseMember(s)}getDisplayDetails(){let t=this.visibility+E(this.id);"method"===this.memberType&&(t+=`(${E(this.parameters.trim())})`,this.returnType&&(t+=" : "+E(this.returnType))),t=t.trim();return{displayText:t,cssStyle:this.parseClassifier()}}parseMember(t){let e="";if("method"===this.memberType){const s=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(t);if(s){const t=s[1]?s[1].trim():"";if(D.includes(t)&&(this.visibility=t),this.id=s[2],this.parameters=s[3]?s[3].trim():"",e=s[4]?s[4].trim():"",this.returnType=s[5]?s[5].trim():"",""===e){const t=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(t)&&(e=t,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{const s=t.length,i=t.substring(0,1),n=t.substring(s-1);D.includes(i)&&(this.visibility=i),/[$*]/.exec(n)&&(e=n),this.id=t.substring(""===this.visibility?0:1,""===e?s:s-1)}this.classifier=e,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();const s=`${this.visibility?"\\"+this.visibility:""}${E(this.id)}${"method"===this.memberType?`(${E(this.parameters)})${this.returnType?" : "+E(this.returnType):""}`:""}`;this.text=s.replaceAll("<","<").replaceAll(">",">"),this.text.startsWith("\\<")&&(this.text=this.text.replace("\\<","~"))}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}},_="classId-",S=0,$=n(t=>g.sanitizeText(t,r()),"sanitizeText"),N=class t{constructor(){this.relations=[],this.classes=new Map,this.styleClasses=new Map,this.notes=new Map,this.interfaces=[],this.namespaces=new Map,this.namespaceCounter=0,this.namespaceStack=[],this.diagramId="",this.functions=[],this.lineType={LINE:0,DOTTED_LINE:1},this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},this.setupToolTips=n(t=>{const s=e();c(t).select("svg").selectAll("g").filter(function(){return null!==c(this).attr("title")}).on("mouseover",t=>{const e=c(t.currentTarget),i=e.attr("title");if(!i)return;const n=t.currentTarget.getBoundingClientRect();s.transition().duration(200).style("opacity",".9"),s.html(f.sanitize(i)).style("left",`${window.scrollX+n.left+n.width/2}px`).style("top",`${window.scrollY+n.bottom+4}px`),e.classed("hover",!0)}).on("mouseout",t=>{s.transition().duration(500).style("opacity",0),c(t.currentTarget).classed("hover",!1)})},"setupToolTips"),this.direction="TB",this.setAccTitle=h,this.getAccTitle=p,this.setAccDescription=d,this.getAccDescription=A,this.setDiagramTitle=y,this.getDiagramTitle=m,this.getConfig=n(()=>r().class,"getConfig"),this.functions.push(this.setupToolTips.bind(this)),this.clear(),this.addRelation=this.addRelation.bind(this),this.addClassesToNamespace=this.addClassesToNamespace.bind(this),this.addNamespace=this.addNamespace.bind(this),this.popNamespace=this.popNamespace.bind(this),this.setCssClass=this.setCssClass.bind(this),this.addMembers=this.addMembers.bind(this),this.addClass=this.addClass.bind(this),this.setClassLabel=this.setClassLabel.bind(this),this.addAnnotation=this.addAnnotation.bind(this),this.addMember=this.addMember.bind(this),this.cleanupLabel=this.cleanupLabel.bind(this),this.addNote=this.addNote.bind(this),this.defineClass=this.defineClass.bind(this),this.setDirection=this.setDirection.bind(this),this.setLink=this.setLink.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.clear=this.clear.bind(this),this.setTooltip=this.setTooltip.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setCssStyle=this.setCssStyle.bind(this)}static{n(this,"ClassDB")}splitClassNameAndType(t){const e=g.sanitizeText(t,r());let s="",i=e;if(e.indexOf("~")>0){const t=e.split("~");i=$(t[0]),s=$(t[1])}return{className:i,type:s}}setClassLabel(t,e){const s=g.sanitizeText(t,r());e&&(e=$(e));const{className:i}=this.splitClassNameAndType(s);this.classes.get(i).label=e,this.classes.get(i).text=`${e}${this.classes.get(i).type?`<${this.classes.get(i).type}>`:""}`}addClass(t){const e=g.sanitizeText(t,r()),{className:s,type:i}=this.splitClassNameAndType(e);if(this.classes.has(s))return;const n=g.sanitizeText(s,r());this.classes.set(n,{id:n,type:i,label:n,text:`${n}${i?`<${i}>`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:_+n+"-"+S}),S++}addInterface(t,e){const s={id:`interface${this.interfaces.length}`,label:t,classId:e};this.interfaces.push(s)}setDiagramId(t){this.diagramId=t}lookUpDomId(t){const e=g.sanitizeText(t,r());if(this.classes.has(e)){const t=this.classes.get(e).domId;return this.diagramId?`${this.diagramId}-${t}`:t}throw new Error("Class not found: "+e)}clear(){this.relations=[],this.classes=new Map,this.notes=new Map,this.interfaces=[],this.functions=[],this.functions.push(this.setupToolTips.bind(this)),this.namespaces=new Map,this.namespaceCounter=0,this.namespaceStack=[],this.diagramId="",this.direction="TB",C()}getClass(t){return this.classes.get(t)}getClasses(){return this.classes}getRelations(){return this.relations}getNote(t){const e="number"==typeof t?`note${t}`:t;return this.notes.get(e)}getNotes(){return this.notes}addRelation(t){a.debug("Adding relation: "+JSON.stringify(t));const e=[this.relationType.LOLLIPOP,this.relationType.AGGREGATION,this.relationType.COMPOSITION,this.relationType.DEPENDENCY,this.relationType.EXTENSION];t.relation.type1!==this.relationType.LOLLIPOP||e.includes(t.relation.type2)?t.relation.type2!==this.relationType.LOLLIPOP||e.includes(t.relation.type1)?(this.addClass(t.id1),this.addClass(t.id2)):(this.addClass(t.id1),this.addInterface(t.id2,t.id1),t.id2="interface"+(this.interfaces.length-1)):(this.addClass(t.id2),this.addInterface(t.id1,t.id2),t.id1="interface"+(this.interfaces.length-1)),t.id1=this.splitClassNameAndType(t.id1).className,t.id2=this.splitClassNameAndType(t.id2).className,t.relationTitle1=g.sanitizeText(t.relationTitle1.trim(),r()),t.relationTitle2=g.sanitizeText(t.relationTitle2.trim(),r()),this.relations.push(t)}addAnnotation(t,e){const s=this.splitClassNameAndType(t).className;this.classes.get(s).annotations.push(e)}addMember(t,e){this.addClass(t);const s=this.splitClassNameAndType(t).className,i=this.classes.get(s);if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?i.annotations.push($(t.substring(2,t.length-2))):t.indexOf(")")>0?i.methods.push(new B(t,"method")):t&&i.members.push(new B(t,"attribute"))}}addMembers(t,e){Array.isArray(e)&&(e.reverse(),e.forEach(e=>this.addMember(t,e)))}addNote(t,e){const s=this.notes.size,i={id:`note${s}`,class:e,text:t,index:s};return this.notes.set(i.id,i),i.id}cleanupLabel(t){return t.startsWith(":")&&(t=t.substring(1)),$(t.trim())}setCssClass(t,e){t.split(",").forEach(t=>{let s=t;/\d/.exec(t[0])&&(s=_+s);const i=this.classes.get(s);i&&(i.cssClasses+=" "+e)})}defineClass(t,e){for(const s of t){let t=this.styleClasses.get(s);void 0===t&&(t={id:s,styles:[],textStyles:[]},this.styleClasses.set(s,t)),e&&e.forEach(e=>{if(/color/.exec(e)){const s=e.replace("fill","bgFill");t.textStyles.push(s)}t.styles.push(e)}),this.classes.forEach(t=>{t.cssClasses.includes(s)&&t.styles.push(...e.flatMap(t=>t.split(",")))})}}setTooltip(t,e){t.split(",").forEach(t=>{void 0!==e&&(this.classes.get(t).tooltip=$(e))})}getTooltip(t,e){return e&&this.namespaces.has(e)?this.namespaces.get(e).classes.get(t).tooltip:this.classes.get(t).tooltip}setLink(t,e,s){const i=r();t.split(",").forEach(t=>{let n=t;/\d/.exec(t[0])&&(n=_+n);const a=this.classes.get(n);a&&(a.link=o.formatUrl(e,i),"sandbox"===i.securityLevel?a.linkTarget="_top":a.linkTarget="string"==typeof s?$(s):"_blank")}),this.setCssClass(t,"clickable")}setClickEvent(t,e,s){t.split(",").forEach(t=>{this.setClickFunc(t,e,s),this.classes.get(t).haveCallback=!0}),this.setCssClass(t,"clickable")}setClickFunc(t,e,s){const i=g.sanitizeText(t,r());if("loose"!==r().securityLevel)return;if(void 0===e)return;const n=i;if(this.classes.has(n)){let t=[];if("string"==typeof s){t=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<t.length;e++){let s=t[e].trim();s.startsWith('"')&&s.endsWith('"')&&(s=s.substr(1,s.length-2)),t[e]=s}}0===t.length&&t.push(n),this.functions.push(()=>{const s=this.lookUpDomId(n),i=document.querySelector(`[id="${s}"]`);null!==i&&i.addEventListener("click",()=>{o.runFunc(e,...t)},!1)})}}bindFunctions(t){this.functions.forEach(e=>{e(t)})}escapeHtml(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}getDirection(){return this.direction}setDirection(t){this.direction=t}static resolveQualifiedId(t,e){const s=e.at(-1);return s?`${s}.${t}`:t}static getAncestorIds(t){const e=t.split("."),s=new Array(e.length);s[0]=e[0];for(let t=1;t<e.length;t++)s[t]=`${s[t-1]}.${e[t]}`;return s}createNamespaceNode(t,e,s,i=!1){return{id:t,label:e,classes:new Map,notes:new Map,children:new Map,domId:_+t+"-"+this.namespaceCounter++,parent:s,explicit:i}}linkParentChild(t,e){const s=this.namespaces.get(t),i=this.namespaces.get(e);s&&i&&(s.children.has(e)||s.children.set(e,i),i.parent??=t)}addNamespace(e,s){const i=t.resolveQualifiedId(e,this.namespaceStack);if(this.namespaceStack.push(i),this.namespaces.has(i)){const t=this.namespaces.get(i);return t.explicit=!0,s&&(t.label=s),i}const n=i.split("."),a=t.getAncestorIds(i);for(let t=0;t<a.length;t++){const e=a[t],i=t>0?a[t-1]:void 0,r=t===a.length-1,u=r&&s?s:n[t];this.namespaces.has(e)?r&&(this.namespaces.get(e).explicit=!0):this.namespaces.set(e,this.createNamespaceNode(e,u,i,r)),i&&this.linkParentChild(i,e)}return i}popNamespace(){this.namespaceStack.pop()}getNamespace(t){return this.namespaces.get(t)}getNamespaces(){return this.namespaces}addClassesToNamespace(t,e,s){if(this.namespaces.has(t)){for(const s of e){const{className:e}=this.splitClassNameAndType(s),i=this.getClass(e);i.parent=t,this.namespaces.get(t).classes.set(e,i)}for(const e of s){const s=this.getNote(e);s.parent=t,this.namespaces.get(t).notes.set(e,s)}}}setCssStyle(t,e){const s=this.classes.get(t);if(e&&s)for(const t of e)t.includes(",")?s.styles.push(...t.split(",")):s.styles.push(t)}getArrowMarker(t){let e;switch(t){case 0:e="aggregation";break;case 1:e="extension";break;case 2:e="composition";break;case 3:e="dependency";break;case 4:e="lollipop";break;default:e="none"}return e}resolveExplicitAncestor(t){let e=t;for(;e;){const t=this.namespaces.get(e);if(!t)return;if(t.explicit)return e;e=t.parent}}getData(){const t=[],e=[],s=r(),i=s.class?.hierarchicalNamespaces??!0;for(const e of this.namespaces.values()){if(!i&&!e.explicit)continue;const n={id:e.id,label:i?e.label:e.id,isGroup:!0,padding:s.class.padding??16,shape:"rect",cssStyles:[],look:s.look,parentId:i?e.parent:void 0};t.push(n)}for(const e of this.classes.values()){const n=i?e.parent:this.resolveExplicitAncestor(e.parent),a={...e,type:void 0,isGroup:!1,parentId:n,look:s.look};t.push(a)}for(const n of this.notes.values()){const a=i?n.parent:this.resolveExplicitAncestor(n.parent),r={id:n.id,label:n.text,isGroup:!1,shape:"note",padding:s.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${s.themeVariables.noteBkgColor}`,`stroke: ${s.themeVariables.noteBorderColor}`],look:s.look,parentId:a,labelType:"markdown"};t.push(r);const u=this.classes.get(n.class)?.id;if(u){const t={id:`edgeNote${n.index}`,start:n.id,end:u,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:s.look};e.push(t)}}for(const e of this.interfaces){const i={id:e.id,label:e.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:s.look};t.push(i)}let n=0;for(const t of this.relations){n++;const i={id:b(t.id1,t.id2,{prefix:"id",counter:n}),start:t.id1,end:t.id2,type:"normal",label:t.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:this.getArrowMarker(t.relation.type1),arrowTypeEnd:this.getArrowMarker(t.relation.type2),startLabelRight:"none"===t.relationTitle1?"":t.relationTitle1,endLabelLeft:"none"===t.relationTitle2?"":t.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:t.style||"",pattern:1==t.relation.lineType?"dashed":"solid",look:s.look,labelType:"markdown"};e.push(i)}return{nodes:t,edges:e,other:{},config:s,direction:this.getDirection()}}},L=n(e=>`g.classGroup text {\n fill: ${e.nodeBorder||e.classText};\n stroke: none;\n font-family: ${e.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span {\n color: ${e.titleColor};\n }\n .cluster-label span p {\n background-color: transparent;\n }\n\n .cluster rect {\n fill: ${e.clusterBkg};\n stroke: ${e.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span {\n color: ${e.titleColor};\n }\n\n.nodeLabel, .edgeLabel {\n color: ${e.classText};\n}\n\n.noteLabel .nodeLabel, .noteLabel .edgeLabel {\n color: ${e.noteTextColor};\n}\n.edgeLabel .label rect {\n fill: ${e.mainBkg};\n}\n.label text {\n fill: ${e.classText};\n}\n\n.labelBkg {\n background: ${e.mainBkg};\n}\n.edgeLabel .label span {\n background: ${e.mainBkg};\n}\n\n.classTitle {\n font-weight: bolder;\n}\n.node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: ${e.strokeWidth};\n }\n\n\n.divider {\n stroke: ${e.nodeBorder};\n stroke-width: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${e.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${e.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${e.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${e.lineColor};\n stroke-width: ${e.strokeWidth};\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n.dotted-line{\n stroke-dasharray: 1 2;\n}\n\n[id$="-compositionStart"], .composition {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-compositionEnd"], .composition {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-dependencyStart"], .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-dependencyEnd"], .dependency {\n fill: ${e.lineColor} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-extensionStart"], .extension {\n fill: transparent !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-extensionEnd"], .extension {\n fill: transparent !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-aggregationStart"], .aggregation {\n fill: transparent !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-aggregationEnd"], .aggregation {\n fill: transparent !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-lollipopStart"], .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-lollipopEnd"], .lollipop {\n fill: ${e.mainBkg} !important;\n stroke: ${e.lineColor} !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n line-height: initial;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n}\n\n.edgeLabel[data-look="neo"] {\n background-color: ${e.edgeLabelBackground};\n p {\n background-color: ${e.edgeLabelBackground};\n }\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n}\n ${t()}\n`,"getStyles"),x=n((t,e="TB")=>{if(!t.doc)return e;let s=e;for(const e of t.doc)"dir"===e.stmt&&(s=e.value);return s},"getDir"),I={getClasses:n(function(t,e){return e.db.getClasses()},"getClasses"),draw:n(async function(t,e,n,c){a.info("REF0:"),a.info("Drawing class diagram (v3)",e);const{securityLevel:h,state:p,layout:d}=r();c.db.setDiagramId(e);const A=c.db.getData(),y=s(e,h);A.type=c.type,A.layoutAlgorithm=u(d),A.nodeSpacing=p?.nodeSpacing||50,A.rankSpacing=p?.rankSpacing||50,A.markers=["aggregation","extension","composition","dependency","lollipop"],A.diagramId=e,await l(A,y);o.insertTitle(y,"classDiagramTitleText",p?.titleTopMargin??25,c.db.getDiagramTitle()),i(y,8,"classDiagram",p?.useMaxWidth??!0)},"draw"),getDir:x};export{N as C,I as a,F as c,L as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as t}from"./chunk-55IACEB6-Ce1Mc1lZ.js";import{s as e}from"./chunk-2J33WTMH-BSF8-_lr.js";import{a as s,ai as i,O as n,aw as r,aT as o,M as a,aD as c,L as l,aC as h,aF as d,P as u,K as p,s as y,n as g}from"./mermaid.core-DoQpgFF5.js";var f=function(){var t=s(function(t,e,s,i){for(s=s||{},i=t.length;i--;s[t[i]]=e);return s},"o"),e=[1,2],i=[1,3],n=[1,4],r=[2,4],o=[1,9],a=[1,11],c=[1,16],l=[1,17],h=[1,18],d=[1,19],u=[1,33],p=[1,20],y=[1,21],g=[1,22],f=[1,23],m=[1,24],S=[1,26],k=[1,27],b=[1,28],T=[1,29],_=[1,30],E=[1,31],x=[1,32],C=[1,35],$=[1,36],D=[1,37],v=[1,38],I=[1,34],A=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],L=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],w=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],N={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"--\x3e":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:s(function(t,e,s,i,n,r,o){var a=r.length-1;switch(n){case 3:return i.setRootDoc(r[a]),r[a];case 4:this.$=[];break;case 5:"nl"!=r[a]&&(r[a-1].push(r[a]),this.$=r[a-1]);break;case 6:case 7:case 12:this.$=r[a];break;case 8:this.$="nl";break;case 13:const t=r[a-1];t.description=i.trimColon(r[a]),this.$=t;break;case 14:this.$={stmt:"relation",state1:r[a-2],state2:r[a]};break;case 15:const e=i.trimColon(r[a]);this.$={stmt:"relation",state1:r[a-3],state2:r[a-1],description:e};break;case 19:this.$={stmt:"state",id:r[a-3],type:"default",description:"",doc:r[a-1]};break;case 20:var c=r[a],l=r[a-2].trim();if(r[a].match(":")){var h=r[a].split(":");c=h[0],l=[l,h[1]]}this.$={stmt:"state",id:c,type:"default",description:l};break;case 21:this.$={stmt:"state",id:r[a-3],type:"default",description:r[a-5],doc:r[a-1]};break;case 22:this.$={stmt:"state",id:r[a],type:"fork"};break;case 23:this.$={stmt:"state",id:r[a],type:"join"};break;case 24:this.$={stmt:"state",id:r[a],type:"choice"};break;case 25:this.$={stmt:"state",id:i.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:r[a-1].trim(),note:{position:r[a-2].trim(),text:r[a].trim()}};break;case 29:this.$=r[a].trim(),i.setAccTitle(this.$);break;case 30:case 31:this.$=r[a].trim(),i.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:r[a-3],url:r[a-2],tooltip:r[a-1]};break;case 33:this.$={stmt:"click",id:r[a-3],url:r[a-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:r[a-1].trim(),classes:r[a].trim()};break;case 36:this.$={stmt:"style",id:r[a-1].trim(),styleClass:r[a].trim()};break;case 37:this.$={stmt:"applyClass",id:r[a-1].trim(),styleClass:r[a].trim()};break;case 38:i.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:i.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:i.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:i.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:r[a].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:r[a-2].trim(),classes:[r[a].trim()],type:"default",description:""}}},"anonymous"),table:[{3:1,4:e,5:i,6:n},{1:[3]},{3:5,4:e,5:i,6:n},{3:6,4:e,5:i,6:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:a,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:h,22:d,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:k,37:b,38:T,41:_,45:E,48:x,51:C,52:$,53:D,54:v,57:I},t(A,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:c,17:l,19:h,22:d,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:k,37:b,38:T,41:_,45:E,48:x,51:C,52:$,53:D,54:v,57:I},t(A,[2,7]),t(A,[2,8]),t(A,[2,9]),t(A,[2,10]),t(A,[2,11]),t(A,[2,12],{14:[1,40],15:[1,41]}),t(A,[2,16]),{18:[1,42]},t(A,[2,18],{20:[1,43]}),{23:[1,44]},t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(A,[2,28]),{34:[1,49]},{36:[1,50]},t(A,[2,31]),{13:51,24:u,57:I},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(L,[2,44],{58:[1,56]}),t(L,[2,45],{58:[1,57]}),t(A,[2,38]),t(A,[2,39]),t(A,[2,40]),t(A,[2,41]),t(A,[2,6]),t(A,[2,13]),{13:58,24:u,57:I},t(A,[2,17]),t(w,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(A,[2,29]),t(A,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(A,[2,14],{14:[1,71]}),{4:o,5:a,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:h,21:[1,72],22:d,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:k,37:b,38:T,41:_,45:E,48:x,51:C,52:$,53:D,54:v,57:I},t(A,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(A,[2,34]),t(A,[2,35]),t(A,[2,36]),t(A,[2,37]),t(L,[2,46]),t(L,[2,47]),t(A,[2,15]),t(A,[2,19]),t(w,r,{7:78}),t(A,[2,26]),t(A,[2,27]),{5:[1,79]},{5:[1,80]},{4:o,5:a,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:h,21:[1,81],22:d,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:k,37:b,38:T,41:_,45:E,48:x,51:C,52:$,53:D,54:v,57:I},t(A,[2,32]),t(A,[2,33]),t(A,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:s(function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)},"parseError"),parse:s(function(t){var e=this,i=[0],n=[],r=[null],o=[],a=this.table,c="",l=0,h=0,d=o.slice.call(arguments,1),u=Object.create(this.lexer),p={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(p.yy[y]=this.yy[y]);u.setInput(t,p.yy),p.yy.lexer=u,p.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var g=u.yylloc;o.push(g);var f=u.options&&u.options.ranges;function m(){var t;return"number"!=typeof(t=n.pop()||u.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,s(function(t){i.length=i.length-2*t,r.length=r.length-t,o.length=o.length-t},"popStack"),s(m,"lex");for(var S,k,b,T,_,E,x,C,$={};;){if(k=i[i.length-1],this.defaultActions[k]?b=this.defaultActions[k]:(null==S&&(S=m()),b=a[k]&&a[k][S]),void 0===b||!b.length||!b[0]){var D="";for(_ in C=[],a[k])this.terminals_[_]&&_>2&&C.push("'"+this.terminals_[_]+"'");D=u.showPosition?"Parse error on line "+(l+1)+":\n"+u.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[S]||S)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==S?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(D,{text:u.match,token:this.terminals_[S]||S,line:u.yylineno,loc:g,expected:C})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+k+", token: "+S);switch(b[0]){case 1:i.push(S),r.push(u.yytext),o.push(u.yylloc),i.push(b[1]),S=null,h=u.yyleng,c=u.yytext,l=u.yylineno,g=u.yylloc;break;case 2:if(E=this.productions_[b[1]][1],$.$=r[r.length-E],$._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},f&&($._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),void 0!==(T=this.performAction.apply($,[c,h,l,p.yy,b[1],r,o].concat(d))))return T;E&&(i=i.slice(0,-1*E*2),r=r.slice(0,-1*E),o=o.slice(0,-1*E)),i.push(this.productions_[b[1]][0]),r.push($.$),o.push($._$),x=a[i[i.length-2]][i[i.length-1]],i.push(x);break;case 3:return!0}}return!0},"parse")},O=function(){return{EOF:1,parseError:s(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:s(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:s(function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:s(function(t){this.unput(this.match.slice(t))},"less"),pastInput:s(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:s(function(t,e){var s,i,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},"test_match"),next:s(function(){if(this.done)return this.EOF;var t,e,s,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if((s=this._input.match(this.rules[n[r]]))&&(!e||s[0].length>e[0].length)){if(e=s,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,n[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:s(function(){var t=this.next();return t||this.lex()},"lex"),begin:s(function(t){this.conditionStack.push(t)},"begin"),popState:s(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:s(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:s(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:s(function(t){this.begin(t)},"pushState"),stateStackSize:s(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:s(function(t,e,i,n){function r(){const s=e.yytext.indexOf("%%");if(0===s)return!1;if(s>0){const i=e.yytext.slice(0,s),n=e.yytext.slice(s);n&&t.lexer.unput(n),e.yytext=i}return!0}switch(s(r,"processId"),i){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:case 43:return 51;case 5:case 44:return 52;case 6:case 45:return 53;case 7:case 46:return 54;case 8:case 77:return 5;case 9:case 10:case 11:case 12:case 56:case 62:break;case 13:case 33:return this.pushState("SCALE"),17;case 14:case 34:return 18;case 15:case 21:case 35:case 50:case 53:this.popState();break;case 16:return this.begin("acc_title"),33;case 17:return this.popState(),"acc_title_value";case 18:return this.begin("acc_descr"),35;case 19:return this.popState(),"acc_descr_value";case 20:this.begin("acc_descr_multiline");break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 25:return this.popState(),this.pushState("CLASSDEFID"),42;case 26:return this.popState(),43;case 27:return this.pushState("CLASS"),48;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;case 29:return this.popState(),50;case 30:return this.pushState("STYLE"),45;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;case 32:return this.popState(),47;case 36:this.pushState("STATE");break;case 37:case 40:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 38:case 41:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 39:case 42:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";case 49:case 64:if(!r())return;return this.popState(),"ID";case 51:return"STATE_DESCR";case 52:return 19;case 54:return this.popState(),this.pushState("struct"),20;case 55:return this.popState(),21;case 57:return this.begin("NOTE"),29;case 58:return this.popState(),this.pushState("NOTE_ID"),59;case 59:return this.popState(),this.pushState("NOTE_ID"),60;case 60:this.popState(),this.pushState("FLOATING_NOTE");break;case 61:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 63:return"NOTE_TEXT";case 65:if(!r())return;return this.popState(),this.pushState("NOTE_TEXT"),24;case 66:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 67:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 68:case 69:return 6;case 70:return 16;case 71:return 57;case 72:if(!r())return;return 24;case 73:return e.yytext=e.yytext.trim(),14;case 74:return 15;case 75:return 28;case 76:return 58;case 78:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,55,56,57,71,72,73,74,75,76],inclusive:!1},FLOATING_NOTE_ID:{rules:[64],inclusive:!1},FLOATING_NOTE:{rules:[61,62,63],inclusive:!1},NOTE_TEXT:{rules:[66,67],inclusive:!1},NOTE_ID:{rules:[65],inclusive:!1},NOTE:{rules:[58,59,60],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,54,57,68,69,70,71,72,73,74,76,77,78],inclusive:!0}}}}();function R(){this.yy={}}return N.lexer=O,s(R,"Parser"),R.prototype=N,N.Parser=R,new R}();f.parser=f;var m=f,S="state",k="root",b="relation",T="default",_="divider",E="fill:none",x="fill: #333",C="markdown",$="normal",D="rect",v="rectWithTitle",I="divider",A="roundedWithTitle",L="statediagram",w=`${L}-state`,N="transition",O=`${N} note-edge`,R=`${L}-note`,B=`${L}-cluster`,F=`${L}-cluster-alt`,P="parent",Y="note",G="----",j=`${G}${Y}`,W=`${G}${P}`,M=s((t,e="TB")=>{if(!t.doc)return e;let s=e;for(const e of t.doc)"dir"===e.stmt&&(s=e.value);return s},"getDir"),z={getClasses:s(function(t,e){return e.db.getClasses()},"getClasses"),draw:s(async function(s,a,c,l){i.info("REF0:"),i.info("Drawing state diagram (v2)",a);const{securityLevel:h,state:d,layout:u}=n();l.db.extract(l.db.getRootDocV2());const p=l.db.getData(),y=t(a,h);p.type=l.type,p.layoutAlgorithm=u,p.nodeSpacing=d?.nodeSpacing||50,p.rankSpacing=d?.rankSpacing||50;"neo"===n().look?p.markers=["barbNeo"]:p.markers=["barb"],p.diagramId=a,await r(p,y);try{("function"==typeof l.db.getLinks?l.db.getLinks():new Map).forEach((t,e)=>{const s="string"==typeof e?e:"string"==typeof e?.id?e.id:"";if(!s)return void i.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(e));const n=y.node()?.querySelectorAll("g");let r;if(n?.forEach(t=>{const e=t.textContent?.trim();e===s&&(r=t)}),!r)return void i.warn("⚠️ Could not find node matching text:",s);const o=r.parentNode;if(!o)return void i.warn("⚠️ Node has no parent, cannot wrap:",s);const a=document.createElementNS("http://www.w3.org/2000/svg","a"),c=t.url.replace(/^"+|"+$/g,"");if(a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",c),a.setAttribute("target","_blank"),t.tooltip){const e=t.tooltip.replace(/^"+|"+$/g,"");a.setAttribute("title",e)}o.replaceChild(a,r),a.appendChild(r),i.info("🔗 Wrapped node in <a> tag for:",s,t.url)})}catch(t){i.error("❌ Error injecting clickable links:",t)}o.insertTitle(y,"statediagramTitleText",d?.titleTopMargin??25,l.db.getDiagramTitle()),e(y,8,L,d?.useMaxWidth??!0)},"draw"),getDir:M},U=new Map,H=0;function X(t="",e=0,s="",i=G){return`state-${t}${null!==s&&s.length>0?`${i}${s}`:""}-${e}`}s(X,"stateDomId");var J=s((t,e,s,r,o,a,c,l)=>{i.trace("items",e),e.forEach(e=>{switch(e.stmt){case S:case T:Z(t,e,s,r,o,a,c,l);break;case b:{Z(t,e.state1,s,r,o,a,c,l),Z(t,e.state2,s,r,o,a,c,l);const i="neo"===c,h={id:"edge"+H,start:e.state1.id,end:e.state2.id,arrowhead:"normal",arrowTypeEnd:i?"arrow_barb_neo":"arrow_barb",style:E,labelStyle:"",label:y.sanitizeText(e.description??"",n()),arrowheadStyle:x,labelpos:"c",labelType:C,thickness:$,classes:N,look:c};o.push(h),H++}}})},"setupDoc"),K=s((t,e="TB")=>{let s=e;if(t.doc)for(const e of t.doc)"dir"===e.stmt&&(s=e.value);return s},"getDir");function V(t,e,s){if(!e.id||"</join></fork>"===e.id||"</choice>"===e.id)return;e.cssClasses&&(Array.isArray(e.cssCompiledStyles)||(e.cssCompiledStyles=[]),e.cssClasses.split(" ").forEach(t=>{const i=s.get(t);i&&(e.cssCompiledStyles=[...e.cssCompiledStyles??[],...i.styles])}));const i=t.find(t=>t.id===e.id);i?Object.assign(i,e):t.push(e)}function q(t){return t?.classes?.join(" ")??""}function Q(t){return t?.styles??[]}s(V,"insertOrUpdateNode"),s(q,"getClassesFromDbInfo"),s(Q,"getStylesFromDbInfo");var Z=s((t,e,s,r,o,a,c,l)=>{const h=e.id,d=s.get(h),u=q(d),p=Q(d),g=n();if(i.info("dataFetcher parsedItem",e,d,p),"root"!==h){let s=D;!0===e.start?s="stateStart":!1===e.start&&(s="stateEnd"),e.type!==T&&(s=e.type),U.get(h)||U.set(h,{id:h,shape:s,description:y.sanitizeText(h,g),cssClasses:`${u} ${w}`,cssStyles:p});const n=U.get(h);e.description&&(Array.isArray(n.description)?(n.shape=v,n.description.push(e.description)):n.description?.length&&n.description.length>0?(n.shape=v,n.description===h?n.description=[e.description]:n.description=[n.description,e.description]):(n.shape=D,n.description=e.description),n.description=y.sanitizeTextOrArray(n.description,g)),1===n.description?.length&&n.shape===v&&("group"===n.type?n.shape=A:n.shape=D),!n.type&&e.doc&&(i.info("Setting cluster for XCX",h,K(e)),n.type="group",n.isGroup=!0,n.dir=K(e),n.shape=e.type===_?I:A,n.cssClasses=`${n.cssClasses} ${B} ${a?F:""}`);const d={labelStyle:"",shape:n.shape,label:n.description,cssClasses:n.cssClasses,cssCompiledStyles:[],cssStyles:n.cssStyles,id:h,dir:n.dir,domId:X(h,H),type:n.type,isGroup:"group"===n.type,padding:8,rx:10,ry:10,look:c,labelType:"markdown"};if(d.shape===I&&(d.label=""),t&&"root"!==t.id&&(i.trace("Setting node ",h," to be child of its parent ",t.id),d.parentId=t.id),d.centerLabel=!0,e.note){const t={labelStyle:"",shape:"note",label:e.note.text,labelType:"markdown",cssClasses:R,cssStyles:[],cssCompiledStyles:[],id:h+j+"-"+H,domId:X(h,H,Y),type:n.type,isGroup:"group"===n.type,padding:g.flowchart?.padding,look:c,position:e.note.position},s=h+W,i={labelStyle:"",shape:"noteGroup",label:e.note.text,cssClasses:n.cssClasses,cssStyles:[],id:h+W,domId:X(h,H,P),type:"group",isGroup:!0,padding:16,look:c,position:e.note.position};H++,i.id=s,t.parentId=s,V(r,i,l),V(r,t,l),V(r,d,l);let a=h,u=t.id;"left of"===e.note.position&&(a=t.id,u=h),o.push({id:a+"-"+u,start:a,end:u,arrowhead:"none",arrowTypeEnd:"",style:E,labelStyle:"",classes:O,arrowheadStyle:x,labelpos:"c",labelType:C,thickness:$,look:c})}else V(r,d,l)}e.doc&&(i.trace("Adding nodes children "),J(e,e.doc,s,r,o,!a,c,l))},"dataFetcher"),tt=s(()=>{U.clear(),H=0},"reset"),et="[*]",st="start",it="[*]",nt="end",rt="color",ot="fill",at="bgFill",ct=",",lt=s(()=>new Map,"newClassesList"),ht=s(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),dt=s(t=>JSON.parse(JSON.stringify(t)),"clone"),ut=class{constructor(t){this.version=t,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=lt(),this.documents={root:ht()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.getAccTitle=a,this.setAccTitle=c,this.getAccDescription=l,this.setAccDescription=h,this.setDiagramTitle=d,this.getDiagramTitle=u,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this)}static{s(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(t){this.clear(!0);for(const e of Array.isArray(t)?t:t.doc)switch(e.stmt){case S:this.addState(e.id.trim(),e.type,e.doc,e.description,e.note);break;case b:this.addRelation(e.state1,e.state2,e.description);break;case"classDef":this.addStyleClass(e.id.trim(),e.classes);break;case"style":this.handleStyleDef(e);break;case"applyClass":this.setCssClass(e.id.trim(),e.styleClass);break;case"click":this.addLink(e.id,e.url,e.tooltip)}const e=this.getStates(),s=n();tt(),Z(void 0,this.getRootDocV2(),e,this.nodes,this.edges,!0,s.look,this.classes);for(const t of this.nodes)if(Array.isArray(t.label)){if(t.description=t.label.slice(1),t.isGroup&&t.description.length>0)throw new Error(`Group nodes can only have label. Remove the additional description for node [${t.id}]`);t.label=t.label[0]}}handleStyleDef(t){const e=t.id.trim().split(","),s=t.styleClass.split(",");for(const t of e){let e=this.getState(t);if(!e){const s=t.trim();this.addState(s),e=this.getState(s)}e&&(e.styles=s.map(t=>t.replace(/;/g,"")?.trim()))}}setRootDoc(t){i.info("Setting root doc",t),this.rootDoc=t,1===this.version?this.extract(t):this.extract(this.getRootDocV2())}docTranslator(t,e,s){if(e.stmt===b)return this.docTranslator(t,e.state1,!0),void this.docTranslator(t,e.state2,!1);if(e.stmt===S&&(e.id===et?(e.id=t.id+(s?"_start":"_end"),e.start=s):e.id=e.id.trim()),e.stmt!==k&&e.stmt!==S||!e.doc)return;const i=[];let n=[];for(const t of e.doc)if(t.type===_){const e=dt(t);e.doc=dt(n),i.push(e),n=[]}else n.push(t);if(i.length>0&&n.length>0){const t={stmt:S,id:p(),type:"divider",doc:dt(n)};i.push(dt(t)),e.doc=i}e.doc.forEach(t=>this.docTranslator(e,t,!0))}getRootDocV2(){return this.docTranslator({id:k,stmt:k},{id:k,stmt:k,doc:this.rootDoc},!0),{id:k,doc:this.rootDoc}}addState(t,e=T,s=void 0,r=void 0,o=void 0,a=void 0,c=void 0,l=void 0){const h=t?.trim();if(this.currentDocument.states.has(h)){const t=this.currentDocument.states.get(h);if(!t)throw new Error(`State not found: ${h}`);t.doc||(t.doc=s),t.type||(t.type=e)}else i.info("Adding state ",h,r),this.currentDocument.states.set(h,{stmt:S,id:h,descriptions:[],type:e,doc:s,note:o,classes:[],styles:[],textStyles:[]});if(r){i.info("Setting state description",h,r);(Array.isArray(r)?r:[r]).forEach(t=>this.addDescription(h,t.trim()))}if(o){const t=this.currentDocument.states.get(h);if(!t)throw new Error(`State not found: ${h}`);t.note=o,t.note.text=y.sanitizeText(t.note.text,n())}if(a){i.info("Setting state classes",h,a);(Array.isArray(a)?a:[a]).forEach(t=>this.setCssClass(h,t.trim()))}if(c){i.info("Setting state styles",h,c);(Array.isArray(c)?c:[c]).forEach(t=>this.setStyle(h,t.trim()))}if(l){i.info("Setting state styles",h,c);(Array.isArray(l)?l:[l]).forEach(t=>this.setTextStyle(h,t.trim()))}}clear(t){this.nodes=[],this.edges=[],this.documents={root:ht()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=lt(),t||(this.links=new Map,g())}getState(t){return this.currentDocument.states.get(t)}getStates(){return this.currentDocument.states}logDocuments(){i.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(t,e,s){this.links.set(t,{url:e,tooltip:s}),i.warn("Adding link",t,e,s)}getLinks(){return this.links}startIdIfNeeded(t=""){return t===et?(this.startEndCount++,`${st}${this.startEndCount}`):t}startTypeIfNeeded(t="",e=T){return t===et?st:e}endIdIfNeeded(t=""){return t===it?(this.startEndCount++,`${nt}${this.startEndCount}`):t}endTypeIfNeeded(t="",e=T){return t===it?nt:e}addRelationObjs(t,e,s=""){const i=this.startIdIfNeeded(t.id.trim()),r=this.startTypeIfNeeded(t.id.trim(),t.type),o=this.startIdIfNeeded(e.id.trim()),a=this.startTypeIfNeeded(e.id.trim(),e.type);this.addState(i,r,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),this.addState(o,a,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.currentDocument.relations.push({id1:i,id2:o,relationTitle:y.sanitizeText(s,n())})}addRelation(t,e,s){if("object"==typeof t&&"object"==typeof e)this.addRelationObjs(t,e,s);else if("string"==typeof t&&"string"==typeof e){const i=this.startIdIfNeeded(t.trim()),r=this.startTypeIfNeeded(t),o=this.endIdIfNeeded(e.trim()),a=this.endTypeIfNeeded(e);this.addState(i,r),this.addState(o,a),this.currentDocument.relations.push({id1:i,id2:o,relationTitle:s?y.sanitizeText(s,n()):void 0})}}addDescription(t,e){const s=this.currentDocument.states.get(t),i=e.startsWith(":")?e.replace(":","").trim():e;s?.descriptions?.push(y.sanitizeText(i,n()))}cleanupLabel(t){return t.startsWith(":")?t.slice(2).trim():t.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(t,e=""){this.classes.has(t)||this.classes.set(t,{id:t,styles:[],textStyles:[]});const s=this.classes.get(t);e&&s&&e.split(ct).forEach(t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(RegExp(rt).exec(t)){const t=e.replace(ot,at).replace(rt,ot);s.textStyles.push(t)}s.styles.push(e)})}getClasses(){return this.classes}setCssClass(t,e){t.split(",").forEach(t=>{let s=this.getState(t);if(!s){const e=t.trim();this.addState(e),s=this.getState(e)}s?.classes?.push(e)})}setStyle(t,e){this.getState(t)?.styles?.push(e)}setTextStyle(t,e){this.getState(t)?.textStyles?.push(e)}getDirectionStatement(){return this.rootDoc.find(t=>"dir"===t.stmt)}getDirection(){return this.getDirectionStatement()?.value??"TB"}setDirection(t){const e=this.getDirectionStatement();e?e.value=t:this.rootDoc.unshift({stmt:"dir",value:t})}trimColon(t){return t.startsWith(":")?t.slice(1).trim():t.trim()}getData(){const t=n();return{nodes:this.nodes,edges:this.edges,other:{},config:t,direction:M(this.getRootDocV2())}}getConfig(){return n().state}},pt=s(t=>`\ndefs [id$="-barbEnd"] {\n fill: ${t.transitionColor};\n stroke: ${t.transitionColor};\n }\ng.stateGroup text {\n fill: ${t.nodeBorder};\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ${t.textColor};\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ${t.stateLabelColor};\n}\n\ng.stateGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.stateGroup line {\n stroke: ${t.lineColor};\n stroke-width: ${t.strokeWidth||1};\n}\n\n.transition {\n stroke: ${t.transitionColor};\n stroke-width: ${t.strokeWidth||1};\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ${t.background};\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n\n text {\n fill: ${t.noteTextColor};\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ${t.labelBackgroundColor};\n opacity: 0.5;\n}\n.edgeLabel {\n background-color: ${t.edgeLabelBackground};\n p {\n background-color: ${t.edgeLabelBackground};\n }\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n}\n.edgeLabel .label text {\n fill: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n.label div .edgeLabel {\n color: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n\n.stateLabel text {\n fill: ${t.stateLabelColor};\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node .fork-join {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node circle.state-end {\n fill: ${t.innerEndBackground};\n stroke: ${t.background};\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ${t.compositeBackground||t.background};\n // stroke: ${t.background};\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ${t.stateBkg||t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: ${t.strokeWidth||1}px;\n}\n.node polygon {\n fill: ${t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};;\n stroke-width: ${t.strokeWidth||1}px;\n}\n[id$="-barbEnd"] {\n fill: ${t.lineColor};\n}\n\n.statediagram-cluster rect {\n fill: ${t.compositeTitleBackground};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: ${t.strokeWidth||1}px;\n}\n\n.cluster-label, .nodeLabel {\n color: ${t.stateLabelColor};\n // line-height: 1;\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ${t.stateBorder||t.nodeBorder};\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ${t.compositeBackground||t.background};\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ${t.noteTextColor};\n}\n\n.statediagram-note .nodeLabel {\n color: ${t.noteTextColor};\n}\n.statediagram .edgeLabel {\n color: red; // ${t.noteTextColor};\n}\n\n[id$="-dependencyStart"], [id$="-dependencyEnd"] {\n fill: ${t.lineColor};\n stroke: ${t.lineColor};\n stroke-width: ${t.strokeWidth||1};\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n\n[data-look="neo"].statediagram-cluster rect {\n fill: ${t.mainBkg};\n stroke: ${t.useGradient?"url("+t.svgId+"-gradient)":t.stateBorder||t.nodeBorder};\n stroke-width: ${t.strokeWidth??1};\n}\n[data-look="neo"].statediagram-cluster rect.outer {\n rx: ${t.radius}px;\n ry: ${t.radius}px;\n filter: ${t.dropShadow?t.dropShadow.replace("url(#drop-shadow)",`url(${t.svgId}-drop-shadow)`):"none"}\n}\n`,"getStyles");export{ut as S,z as a,pt as b,m as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t,aA as a,ag as r,G as e}from"./mermaid.core-DoQpgFF5.js";var s=t((t,a)=>{const r=t.append("rect");if(r.attr("x",a.x),r.attr("y",a.y),r.attr("fill",a.fill),r.attr("stroke",a.stroke),r.attr("width",a.width),r.attr("height",a.height),a.name&&r.attr("name",a.name),a.rx&&r.attr("rx",a.rx),a.ry&&r.attr("ry",a.ry),void 0!==a.attrs)for(const t in a.attrs)r.attr(t,a.attrs[t]);return a.class&&r.attr("class",a.class),r},"drawRect"),n=t((t,a)=>{const r={x:a.startx,y:a.starty,width:a.stopx-a.startx,height:a.stopy-a.starty,fill:a.fill,stroke:a.stroke,class:"rect"};s(t,r).lower()},"drawBackgroundRect"),o=t((t,a)=>{const e=a.text.replace(r," "),s=t.append("text");s.attr("x",a.x),s.attr("y",a.y),s.attr("class","legend"),s.style("text-anchor",a.anchor),a.class&&s.attr("class",a.class);const n=s.append("tspan");return n.attr("x",a.x+2*a.textMargin),n.text(e),s},"drawText"),i=t((t,a,r,s)=>{const n=t.append("image");n.attr("x",a),n.attr("y",r);const o=e.sanitizeUrl(s);n.attr("xlink:href",o)},"drawImage"),l=t((t,a,r,s)=>{const n=t.append("use");n.attr("x",a),n.attr("y",r);const o=e.sanitizeUrl(s);n.attr("xlink:href",`#${o}`)},"drawEmbeddedImage"),x=t(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),d=t(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),c=t(()=>{let t=a(".mermaidTooltip");return t.empty()&&(t=a("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),t},"createTooltip");export{l as a,i as b,c,n as d,s as e,o as f,x as g,d as h};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as r,a as t,c as s,C as i}from"./chunk-727SXJPM-Cc0QJGYk.js";import{a as o}from"./mermaid.core-DoQpgFF5.js";import"./chunk-FMBD7UC4-BGLWSSaQ.js";import"./chunk-ND2GUHAM-BD5ZdCjv.js";import"./chunk-55IACEB6-Ce1Mc1lZ.js";import"./chunk-2J33WTMH-BSF8-_lr.js";import"./purify.es-J-_UhghA.js";import"./index-DoTjNc47.js";import"react/jsx-runtime";import"react";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"./string-CQk_HvWX.js";var e={parser:s,get db(){return new i},renderer:t,styles:r,init:o(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{e as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as r,a as t,c as s,C as i}from"./chunk-727SXJPM-Cc0QJGYk.js";import{a as o}from"./mermaid.core-DoQpgFF5.js";import"./chunk-FMBD7UC4-BGLWSSaQ.js";import"./chunk-ND2GUHAM-BD5ZdCjv.js";import"./chunk-55IACEB6-Ce1Mc1lZ.js";import"./chunk-2J33WTMH-BSF8-_lr.js";import"./purify.es-J-_UhghA.js";import"./index-DoTjNc47.js";import"react/jsx-runtime";import"react";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"./string-CQk_HvWX.js";var e={parser:s,get db(){return new i},renderer:t,styles:r,init:o(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{e as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{Fragment as t}from"react";import{a as s}from"./settings-DgLs6IK_.js";import{QueryParamKey as r}from"./enums.js";import{f as n,c as o,s as a,H as i,b as S,h as c,x as u,g as E,i as T,m as I,a as l,S as _,C as d,w as N}from"./index-DUSXBI7E.js";import{P as p,L as R}from"./date-D28INXpp.js";import{f as C}from"./worksheet-BBAH_yZC.js";const A={ABORTED_REQUEST:"ABORTED_REQUEST",ERROR_ON_RESPONSE:"ERROR_ON_RESPONSE",SERVICE_NOT_FOUND:"SERVICE_NOT_FOUND"},U={SUCCESS:"SUCCESS",ERROR:"ERROR",LOADING:"LOADING",NONE:"NONE"},O={PING:"PING",CLIENT_TRACK_LOCATION:"CLIENT_TRACK_LOCATION",CLIENT_TRACK_SCREENSHOT:"CLIENT_TRACK_SCREENSHOT",CLIENT_TRACK_DEVICE:"CLIENT_TRACK_DEVICE",CHAT_COMPLETIONS:"CHAT_COMPLETIONS"},m={PONG:"PONG",CODE_RUN_STATUS:"CODE_RUN_STATUS",SUBMISSION_RUN_STATUS:"SUBMISSION_RUN_STATUS",USER_MESSAGE:"USER_MESSAGE",SEND_DATA:"SEND_DATA",SEND_DATA_ECS_TASK_DEFINITIONS_LIST:"SEND_DATA_ECS_TASK_DEFINITIONS_LIST",SEND_DATA_ECS_TASKS_LIST:"SEND_DATA_ECS_TASKS_LIST",SEND_DATA_EC2_INSTANCES_LIST:"SEND_DATA_EC2_INSTANCES_LIST",SEND_DATA_SSM_SESSIONS_LIST:"SEND_DATA_SSM_SESSIONS_LIST",SEND_DATA_RUN_COMMAND:"SEND_DATA_RUN_COMMAND",SEND_DATA_CLIENT_TRACK:"SEND_DATA_CLIENT_TRACK",SEND_DATA_CHAT_COMPLETIONS:"SEND_DATA_CHAT_COMPLETIONS",PROBLEM_CRAWLED:"PROBLEM_CRAWLED",SUBMISSIONS_CRAWL:"SUBMISSIONS_CRAWL",CONTEST_CHANGES:"CONTEST_CHANGES",CLIENT_TRACK:"CLIENT_TRACK",USER_NOTIFICATION:"USER_NOTIFICATION",USER_NOTIFICATION_SUBMISSION:"USER_NOTIFICATION_SUBMISSION",USER_NOTIFICATION_CONTEST_CLARIFICATION:"USER_NOTIFICATION_CONTEST_CLARIFICATION"},g={SUBSCRIBE_CODE_RUN_STATUS:"SUBSCRIBE_CODE_RUN_STATUS",UNSUBSCRIBE_CODE_RUN_STATUS:"UNSUBSCRIBE_CODE_RUN_STATUS",SUBSCRIBE_SUBMISSION_RUN_STATUS:"SUBSCRIBE_SUBMISSION_RUN_STATUS",UNSUBSCRIBE_SUBMISSION_RUN_STATUS:"UNSUBSCRIBE_SUBMISSION_RUN_STATUS",SUBSCRIBE_GET_DATA:"SUBSCRIBE_GET_DATA",UNSUBSCRIBE_GET_DATA:"SUBSCRIBE_GET_DATA",SUBSCRIBE_PROBLEM_CRAWLED:"SUBSCRIBE_PROBLEM_CRAWLED",UNSUBSCRIBE_PROBLEM_CRAWLED:"UNSUBSCRIBE_PROBLEM_CRAWLED",SUBSCRIBE_SUBMISSIONS_CRAWL:"SUBSCRIBE_SUBMISSIONS_CRAWL",UNSUBSCRIBE_SUBMISSIONS_CRAWL:"UNSUBSCRIBE_SUBMISSIONS_CRAWL",SUBSCRIBE_CONTEST_CHANGES:"SUBSCRIBE_CONTEST_CHANGES",UNSUBSCRIBE_CONTEST_CHANGES:"UNSUBSCRIBE_CONTEST_CHANGES",SUBSCRIBE_CLIENT_TRACK:"SUBSCRIBE_CLIENT_TRACK",UNSUBSCRIBE_CLIENT_TRACK:"UNSUBSCRIBE_CLIENT_TRACK",SUBSCRIBE_USER_NOTIFICATION:"SUBSCRIBE_USER_NOTIFICATION",UNSUBSCRIBE_USER_NOTIFICATION:"UNSUBSCRIBE_USER_NOTIFICATION"},B={SUBTASK:"SUBTASK",TOTAL:"TOTAL",PARTIAL:"PARTIAL"},f={STANDARD:"STANDARD",DYNAMIC:"DYNAMIC",INTERACTIVE:"INTERACTIVE"},h=[B.TOTAL,B.SUBTASK,B.PARTIAL],b={[B.TOTAL]:{value:B.TOTAL,label:"total",description:"if all test cases are Accepted the result is Accepted otherwise it will be Runtime Error, Time Limited Exceeded, Memory Limited Exceeded, Wrong Answer or Presentation Error in that order."},[B.SUBTASK]:{value:B.SUBTASK,label:"subtask",description:"the test cases are grouped and each group of test cases is assigned a score, if all test cases in a group are Accepted then the score assigned to that group of test cases is added to total score, if total score is equal to the sum of the assigned scores of all groups of test cases then the result is Accepted, otherwise if the total score is greater than zero the result is Partial Accepted with the total accumulated score, otherwise it will be Runtime Error, Time Limited Exceeded, Memory Limited Exceeded, Wrong Answer or Presentation Error in that order."},[B.PARTIAL]:{value:B.PARTIAL,label:"partial",description:"the test cases are grouped and each group is associated with X points, and each test case in a group scores X points "}},L={[f.STANDARD]:{value:f.STANDARD,label:"standard",description:"The contestant submit a single source code in one of the allowed programming languages. The source code is either standalone or to be compiled. The resulting user's executable does I/O standard input and output. The output produced by the contestant's program is then compared to the correct output using a simple diff algorithm."},[f.INTERACTIVE]:{value:f.INTERACTIVE,label:"interactive",description:"developing.."},[f.DYNAMIC]:{value:f.DYNAMIC,label:"dynamic",description:"The contestant submit a single source code in one of the allowed programming languages. The user's source code is either standalone or to be compiled. The resulting user's executable does I/O standard input and output. The output produced by the contestant's program is saved. The problem editor save a single source code in C++ 17. The editor's source code can read judge input filepath argv[1], judge output filepath argv[2], user's output filepath argv[3], user's error filepath argv[4], user's log filepath argv[5], user's source filepath argv[6] and submission information filepath argv[7] (organizationId, submitId, runId, userId, contestId, problemId, language, userNickname, timestamp). The resulting editor's executable should be \"AC\" or a number between 1 and 100 for partial accepted"}},D=e=>e.toLowerCase().replace(/_/g," ");class y extends Error{code;data;constructor(e,t){const s=t?.message||D(e);super(s),this.message=s,this.code=e,t?.stack&&(this.stack=t.stack),t?.data&&(this.data=t.data)}}const w=e=>{try{if("string"==typeof e)return JSON.parse(e),!0}catch{return!1}return!1},v=e=>{try{return"string"==typeof JSON.stringify(e)}catch{return!1}};function $(e,...t){return{success:!1,message:e,errors:t.map(e=>({code:e.code,message:e.message,detail:e.stack||(new Error).stack||"",data:e.data}))}}const M=e=>{if(!w(e)){const t=$(D(A.SERVICE_NOT_FOUND),new y(A.SERVICE_NOT_FOUND));return n({message:"response is not string json, success false on cleaning request",responseText:e,response:t}),t}const t=JSON.parse(e);if("boolean"==typeof t.success){const s=function(e){if(!0===e.success&&"string"==typeof e.message){if(e.content)return{success:!0,message:e.message,content:e.content};if(Array.isArray(e.contents)&&e.meta)return{success:!0,message:e.message,contents:e.contents,meta:e.meta}}return null}(t);if(s)return s;if(!1===t.success&&"string"==typeof t.message&&Array.isArray(t.errors)){const s={success:!1,message:t.message,errors:t.errors};return n({message:"success false on cleaning request",responseText:e,response:s}),s}}const s=$(D(A.ERROR_ON_RESPONSE),new y(A.ERROR_ON_RESPONSE));return n({message:"success false on cleaning request",responseText:e,response:s}),s},j=e=>{if("object"!=typeof e||null===e)return!1;const t=e;return(Object.values(g).includes(t.event)||Object.values(O).includes(t.event))&&"string"==typeof t.clientId&&!!t.clientId},P=e=>{if(!j(e))return!1;const t=e;return e.event===g.SUBSCRIBE_CODE_RUN_STATUS&&"string"==typeof t.runId&&!!t.runId},K=e=>{if(!j(e))return!1;const t=e;return e.event===g.SUBSCRIBE_SUBMISSION_RUN_STATUS&&"string"==typeof t.submitId&&!!t.submitId},F=e=>j(e)&&e.event===g.SUBSCRIBE_GET_DATA,k=e=>j(e)&&e.event===g.SUBSCRIBE_PROBLEM_CRAWLED,G=e=>j(e)&&e.event===g.SUBSCRIBE_SUBMISSIONS_CRAWL,x=e=>j(e)&&e.event===g.SUBSCRIBE_CONTEST_CHANGES,W=e=>j(e)&&e.event===g.SUBSCRIBE_CLIENT_TRACK,H=e=>j(e)&&e.event===g.SUBSCRIBE_USER_NOTIFICATION,V=e=>{if("object"!=typeof e||null===e)return!1;const t=e;return Object.values(m).includes(t.event)&&"string"==typeof t.key&&"string"==typeof t.connectionId&&"number"==typeof t.createdAt&&!!t.createdAt},J=e=>{if(!V(e))return!1;const t=e;return e.event===m.CODE_RUN_STATUS&&"string"==typeof t.runId&&!!t.runId&&Object.values(C).includes(t.status)},q=e=>{if(!V(e))return!1;const t=e;return e.event===m.SUBMISSION_RUN_STATUS&&"string"==typeof t.submitId&&!!t.submitId&&Object.values(C).includes(t.status)&&Object.values(p).includes(t.verdict)&&"number"==typeof t.points},Q=(e,t,s)=>`${e}-${t}-${s}`,Y=async e=>{"undefined"!=typeof navigator&&await navigator.clipboard.writeText(e)},z=(s,r)=>{const n="function"==typeof s?s():s;return void 0!==r?e(t,{children:n},r):n},X=(s,r,n)=>{const o="function"==typeof s?s(r):s;return void 0!==n?e(t,{children:o},n):o},Z=/^[0-9a-fA-F]{24}$/;function ee(){let e="";return a()&&(e=new URLSearchParams(window.location.search).get(r.TOKEN)??""),24===(t=e).length&&Z.test(t)?e:"";var t}function te(){return"undefined"!=typeof localStorage?ee()||localStorage.getItem(s)||"":ee()||""}const se=(e,t,s)=>ne(e,t,s),re=(e,t,s)=>ne(e,t,s),ne=async(e,t,s)=>{const{method:r=o.GET,body:n,signal:u,responseType:E,headers:T,cache:I,next:l}=t||{},_=new Headers(T??{});_.set("accept","application/json"),n instanceof FormData||_.set("content-type","application/json"),a()&&_.set(i,window.location?.host);const d=te();d&&_.set(S,d);try{const t=await fetch(e,{method:r,headers:_,credentials:"include",...n?{body:n}:{},...u?{signal:u}:{},cache:I,next:l});try{return"blob"===E?await t.blob():await t.text()}catch(t){c("error on get data",{url:e,error:t,responseType:E})}return"blob"===E?new Blob:""}catch(t){if(c("error on fetch",{url:e,error:t}),u?.aborted)return"blob"===E?new Blob:JSON.stringify({success:!1,message:A.ABORTED_REQUEST.toLowerCase().replaceAll("_"," "),errors:[{code:A.ABORTED_REQUEST,detail:`[${r}] ${e} \n ${n}`}]});if(!1===s)throw t;return"blob"===E?new Blob:JSON.stringify({success:!1,message:A.ERROR_ON_RESPONSE.toLowerCase().replaceAll("_"," "),errors:[{code:A.ERROR_ON_RESPONSE,detail:`FETCH CATCH ERROR : ${JSON.stringify({method:r,url:e,body:n,error:t})}`}]})}},oe=e=>({origin:a()?window.location.origin:"https://juki.app",referer:a()?`${window.location.origin}/`:"https://juki.app/",[S]:e,[i]:"juki.app"}),ae=()=>({origin:a()?window.location.origin:"https://juki.app",referer:a()?`${window.location.origin}/`:"https://juki.app/",[l]:"true",[i]:"juki.app"}),ie=async e=>{const{url:t,...s}=u.apiV2.note.publish({body:{source:e.trim()}}),r=M(await se(t,s));return r?.success&&r?.content.sourceUrl?r.content.sourceUrl:(c("error on publish note",{request:r}),"")},Se=async(e,t)=>{try{const{url:s,...r}=u.apiV2.image.publish({body:{contentType:e.type,isPublic:t}}),n=M(await se(s,r));return n.success?(await fetch(n.content.signedUrl,{method:o.PUT,headers:{"Content-Type":e.type},body:e}),{status:U.SUCCESS,message:"image uploaded successfully",content:n.content}):(console.error("response not success on handleUploadImage",{response:n}),{status:U.ERROR,message:"Ups, please try again",content:null})}catch(e){return console.error(e),{status:U.ERROR,message:"Ups, please try again",content:null}}},ce=async(e,t)=>{try{const{url:s,...r}=u.apiV2.file.publish({body:{contentType:e.type,folder:t}}),a=M(await se(s,r));return a.success?(await fetch(a.content.signedUrl,{method:o.PUT,headers:{"Content-Type":e.type},body:e}),{status:U.SUCCESS,message:"image uploaded successfully",content:a.content}):(n("response not success on handleUploadImage",{response:a}),{status:U.ERROR,message:"Ups, please try again",content:null})}catch(e){return n(e),{status:U.ERROR,message:"Ups, please try again",content:null}}},ue=async(e,t,s)=>{const{url:r,...n}=u.apiV2.export.websiteToPdf({params:{url:e,footerTemplate:s?.footerTemplate?.split("\n").join(""),headerTemplate:s?.headerTemplate?.split("\n").join(""),format:s?.format,margin:s?.margin}}),o=M(await se(r,n));if(!o.success)throw new Error("error on download pdf");await I(`https://${o.content.urlExportedPDF}`,t)},Ee=async(e,t,s)=>{const{url:r,...n}=u.apiV2.note.createPdf({body:{source:e,theme:t}}),o=await se(r,{responseType:"blob",...n});if("string"==typeof o){if(v(o)){const e=JSON.parse(o).errors[0];if(e)throw new y(e.code,{message:e.detail})}throw new y(A.ABORTED_REQUEST,{message:"error generating the pdf"})}T(o,s)},Te=async(e,t,s)=>{const r=te(),o=a()?window.location:new Location;n("Error to report",{error:e,errorInfo:t,location:o,visitorSessionId:r,data:s});try{const{url:a,...i}=u.apiV2.log.error({body:{location:o,visitorSessionId:r,errorName:e?.name||"",errorMessage:e?.message||"",errorStack:e?.stack||"",errorInfo:t,data:{error:e,...s||{}}}}),S=M(await se(a,i));S.success?E("Error reported"):n("Error reported failed",{error:e,errorInfo:t,location:o,visitorSessionId:r,response:S})}catch(s){n("error on log error",{error:e,errorInfo:t,location:o,visitorSessionId:r,errorOnLog:s})}},Ie=e=>{let t="";for(const[s,r]of Object.entries(e))r&&(t&&(t+="&"),t+=`${s}=${encodeURIComponent(r.toString())}`);return t},le=e=>{let t="";for(const[s,r]of Object.entries(e))!t||-1!==r&&1!==r||(t+=_),-1===r&&(t+=encodeURIComponent(`-${s}`)),1===r&&(t+=encodeURIComponent(`+${s}`));return t?`sort=${t}`:""},_e=e=>{let t,s;if("string"==typeof e){const[r,n]=e.split("?");t=r||"",s=new URLSearchParams(n||"")}else t=e?.pathname||"",s=e?.searchParams||new URLSearchParams;const r=s.toString();return{pathname:t,searchParams:s,path:`${t}${r?`?${r}`:""}`}},de=e=>"string"==typeof e?"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1)):"",Ne=(e,t,s="")=>e?.[t.toLowerCase()]||e?.[R.EN.toLowerCase()]||e?.[R.ES.toLowerCase()]||s,pe=e=>`jk-editor-settings-store/${e}`,Re=e=>`jk-problem-storage/${e}`,Ce=e=>`jk-sources-storage/${e}`,Ae=e=>`jk-code-editor-settings-storage/${e}`,Ue=e=>`jk-test-cases-storage/${e}`,Oe=(e,{statement:t,settings:s},r,n)=>{const o=Ne(t?.description,r).trim(),a=Ne(t?.input,r).trim(),i=Ne(t?.output,r).trim(),S=Ne(t?.note,r).trim(),c=t?.sampleCases||[],u=Object.values(s?.byProgrammingLanguage||{});return{statementDescription:o,statementInput:a,statementOutput:i,statementNote:S,mdStatement:`\n# \\textAlign=center ${n}\n\n\\textAlign=center **${e("type")}:** ${L[s?.type]?.label}, **${e("mode")}:** ${b[s?.scoringMode]?.label}\n\n|${e("language")}|${e("time limit")}|${e("memory limit")}|\n|--|--|--|\n| ${e("general")} | ${(s?.timeLimit/1e3).toFixed(1)} ${e("seconds")} | ${(s?.memoryLimit/1e3).toFixed(1)} ${e("MB")} |\n${u.map(t=>`| ${d[t.language]?.label} | ${(t?.timeLimit/1e3).toFixed(1)} ${e("seconds")} | ${(t?.memoryLimit/1e3).toFixed(1)} ${e("MB")}|`).join("\n")}\n\n# ${e("description")}\n\n${o}\n\n# ${e("input")}\n\n${a}\n\n# ${e("output")}\n\n${i}\n\n# ${e("subtasks description")}\n\n${s.scoringMode===B.SUBTASK?Object.values(s.pointsByGroups).map(t=>`### ${e("group")} ${t.group} (${t.points} ${e("points")})\n\n${Ne(t.description,r)}\n `).join("\n"):""}\n\n${c.map((t,s)=>`### ${e("input sample")} ${s+1}\n\`\`\`\n${t.input}\n\`\`\`\n### ${e("output sample")} ${s+1}\n\`\`\`\n${t.output}\n\`\`\`\n`).join("")}\n\n# ${e("note")}\n\n${S}\n`,shouldViewPDF:""===o.trim()&&""===a.trim()&&""===i.trim()&&""===S.trim()&&!!Ne(t.pdfUrl,r)}},me=()=>a()&&("https://judge.juki.app"===window.location.origin||window.location.origin.endsWith(".jukijudge.com")||"http://localhost:3070"===window.location.origin),ge=(e,t)=>{if(me()||t===e)return"";let s=`https://${e}.jukijudge.com`;return"juki-app"===e&&(s="https://judge.juki.app"),s};function Be(e){return P(e)||(e=>{if(!j(e))return!1;const t=e;return e.event===g.UNSUBSCRIBE_CODE_RUN_STATUS&&"string"==typeof t.runId&&!!t.runId})(e)?Q(m.CODE_RUN_STATUS,e.clientId,e.runId):K(e)||(e=>{if(!j(e))return!1;const t=e;return e.event===g.UNSUBSCRIBE_SUBMISSION_RUN_STATUS&&"string"==typeof t.submitId&&!!t.submitId})(e)?Q(m.SUBMISSION_RUN_STATUS,e.clientId,e.submitId):F(e)||(e=>j(e)&&e.event===g.UNSUBSCRIBE_GET_DATA)(e)?Q(m.SEND_DATA,e.clientId,e.dataId):H(e)||(e=>j(e)&&e.event===g.UNSUBSCRIBE_USER_NOTIFICATION)(e)?Q(m.USER_NOTIFICATION,e.clientId,"*"):k(e)||(e=>j(e)&&e.event===g.UNSUBSCRIBE_PROBLEM_CRAWLED)(e)?Q(m.PROBLEM_CRAWLED,e.clientId,e.problemKey):G(e)||(e=>j(e)&&e.event===g.UNSUBSCRIBE_SUBMISSIONS_CRAWL)(e)?Q(m.SUBMISSIONS_CRAWL,e.clientId,N([e.contestKey,e.problemKeys])):x(e)||(e=>j(e)&&e.event===g.UNSUBSCRIBE_CONTEST_CHANGES)(e)?Q(m.CONTEST_CHANGES,e.clientId,e.contestKey):W(e)||(e=>j(e)&&e.event===g.UNSUBSCRIBE_CLIENT_TRACK)(e)?Q(m.CLIENT_TRACK,e.clientId,"*"):""}function fe(e){return P(e)?{...e,event:g.UNSUBSCRIBE_CODE_RUN_STATUS}:K(e)?{...e,event:g.UNSUBSCRIBE_SUBMISSION_RUN_STATUS}:F(e)?{...e,event:g.UNSUBSCRIBE_GET_DATA}:k(e)?{...e,event:g.UNSUBSCRIBE_PROBLEM_CRAWLED}:G(e)?{...e,event:g.UNSUBSCRIBE_SUBMISSIONS_CRAWL}:x(e)?{...e,event:g.UNSUBSCRIBE_CONTEST_CHANGES}:W(e)?{...e,event:g.UNSUBSCRIBE_CLIENT_TRACK}:H(e)?{...e,event:g.UNSUBSCRIBE_USER_NOTIFICATION}:e}const he=e=>e.isGlobal?{order:0,label:"global",bc:"bc-io"}:e.isEndless?{order:1,label:"endless",bc:"bc-io"}:e.isPast?{order:2,label:"past",bc:"bc-sf-md"}:e.isLive?{order:3,label:"live",bc:"bc-er"}:e.isFuture?{order:4,label:"upcoming",bc:"bc-ss"}:{order:5,label:"-",bc:"bc-sf-md"};export{ce as A,Se as B,J as C,me as D,v as E,w as F,q as G,Ne as H,ie as I,z as J,X as K,Te as L,Ie as M,le as N,de as O,b as P,U as S,O as W,h as a,L as b,B as c,f as d,g as e,se as f,M as g,Y as h,Ee as i,ue as j,re as k,he as l,pe as m,oe as n,_e as o,ge as p,Be as q,ae as r,Re as s,ee as t,Ae as u,Ce as v,Oe as w,Ue as x,fe as y,te as z};
|