dorkos 0.114.1 → 0.115.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/cli.js +38561 -38244
- package/dist/browser/native/package-manifest.json +1 -1
- package/dist/browser/source-manifest.json +1 -1
- package/dist/client/assets/{AboutPage-BRHiWrvg.js → AboutPage-Cz8ijNrK.js} +1 -1
- package/dist/client/assets/{ActivityErrorState-DGwKpdjB.js → ActivityErrorState-BzmfwxSZ.js} +1 -1
- package/dist/client/assets/ActivityPage-BK7T3OiI.js +1 -0
- package/dist/client/assets/{ActivityRow-TjAMUrcU.js → ActivityRow-Ig5atv15.js} +1 -1
- package/dist/client/assets/{AdapterIcon-B-NJfk_R.js → AdapterIcon-BXPv5J8h.js} +1 -1
- package/dist/client/assets/{AdapterSetupWizard-CrdiWINL.js → AdapterSetupWizard-BEziztL3.js} +2 -2
- package/dist/client/assets/AgentOptionRow-BqFQvFeN.js +1 -0
- package/dist/client/assets/AgentPicker-dCfEIsU-.js +1 -0
- package/dist/client/assets/{AgentRequestCard-BRINjair.js → AgentRequestCard-BAhfGJxx.js} +3 -3
- package/dist/client/assets/AppearancePage-7qHhFeEv.js +1 -0
- package/dist/client/assets/ApplyToOverridesDialog-jqOFh0d1.js +1 -0
- package/dist/client/assets/AttentionSignalRow-3CgglXkd.js +1 -0
- package/dist/client/assets/{BaseTanStackRouterDevtoolsPanel-B-iktbLX-C-BpNthi.js → BaseTanStackRouterDevtoolsPanel-B-iktbLX-BMKtHI0D.js} +3 -3
- package/dist/client/assets/BindingDialog-DSBxRyzA.js +1 -0
- package/dist/client/assets/{BlintzCanvas-DCU4iOtF.js → BlintzCanvas-CyRuqAJV.js} +1 -1
- package/dist/client/assets/{CanvasCsvContent-oayJjsGq.js → CanvasCsvContent-Bd1c6TGx.js} +4 -4
- package/dist/client/assets/CanvasFileContent-DelYwSH8.js +2 -0
- package/dist/client/assets/CanvasModel3dContent-BExIu4RY.js +2 -0
- package/dist/client/assets/ChatAppsOff-SWemSaUp.js +6 -0
- package/dist/client/assets/{CodeMirrorDiff-j0jAFw_i.js → CodeMirrorDiff-0WF4ITRZ.js} +1 -1
- package/dist/client/assets/{CodeMirrorEditor-DWgnGEHZ.js → CodeMirrorEditor-Bg7wC_Q8.js} +1 -1
- package/dist/client/assets/CommitmentList-CTvEGUV3.js +1 -0
- package/dist/client/assets/{CommitmentsPage-_vCusfuJ.js → CommitmentsPage-C68etoLe.js} +1 -1
- package/dist/client/assets/ConnectionAccessLists-9oeVn_GK.js +1 -0
- package/dist/client/assets/ConnectionsPage-CJOY4-kp.js +6 -0
- package/dist/client/assets/ConventionPage-DD-f5o6y.js +11 -0
- package/dist/client/assets/{ExtensionPageRoute-XXcMwrQY.js → ExtensionPageRoute-C6fW17AG.js} +2 -2
- package/dist/client/assets/{FloatingTanStackRouterDevtools-CqogiFob-C8yf1gK7.js → FloatingTanStackRouterDevtools-CqogiFob-Zccd0fv6.js} +1 -1
- package/dist/client/assets/HandlePage-DOxlquWl.js +1 -0
- package/dist/client/assets/HeartbeatPage-cJM6NuTD.js +1 -0
- package/dist/client/assets/KeyEntry-K5k_3TfU.js +6 -0
- package/dist/client/assets/{LexicalField-Dr5vnDVn.js → LexicalField-DB5V20zv.js} +2 -2
- package/dist/client/assets/{ManagesPage-Dj_UOeFQ.js → ManagesPage-Cj0-hwfr.js} +1 -1
- package/dist/client/assets/{Marketplace-RwZrKU4O.js → Marketplace-eWEtLmd9.js} +2 -2
- package/dist/client/assets/{MarketplaceSourcesView-xSimTjA0.js → MarketplaceSourcesView-B1h70C20.js} +1 -1
- package/dist/client/assets/{McpAppFrame-Er6EX82b.js → McpAppFrame-BaJ_r-QR.js} +2 -2
- package/dist/client/assets/McpSigninBody-Coaq5Fkf.js +1 -0
- package/dist/client/assets/{Model3dViewer-D5xu-FCi.js → Model3dViewer-cKa-Jnbl.js} +1 -1
- package/dist/client/assets/NamePage-W7Frb1yy.js +1 -0
- package/dist/client/assets/{NewDirectMessageMenu-DiI_GTiE.js → NewDirectMessageMenu-C4zNIv9x.js} +1 -1
- package/dist/client/assets/{NotificationsPage-B_XMIlHt.js → NotificationsPage-gKNClvNU.js} +1 -1
- package/dist/client/assets/{OpenMeshSwitch-BjiejioP.js → OpenMeshSwitch-RzB2u6-Q.js} +2 -2
- package/dist/client/assets/OperatorIdentityForm-B_78Vqh8.js +1 -0
- package/dist/client/assets/PermissionHistory-DrtlA4YM.js +1 -0
- package/dist/client/assets/PermissionsPage-O7kUVaQv.js +1 -0
- package/dist/client/assets/{PersonalityPopover-BT-aQ65s.js → PersonalityPopover-DiNuuoWu.js} +1 -1
- package/dist/client/assets/PhotoPage-DdBke3yj.js +1 -0
- package/dist/client/assets/PresetPicker-BUFwg8RS.js +19 -0
- package/dist/client/assets/{PreviewRefusedNotice-DJyQxUFv.js → PreviewRefusedNotice-DXZp669C.js} +1 -1
- package/dist/client/assets/ProfileFields-BCfMzNcT.js +1 -0
- package/dist/client/assets/ProfilePanelContainer-BzC2MGdi.js +1 -0
- package/dist/client/assets/ProfileRolePicker-f0FKXLtu.js +1 -0
- package/dist/client/assets/PromptSuggestionChips-EgeMFibt.js +1 -0
- package/dist/client/assets/ReportsToPopover-CQ4Xxslu.js +1 -0
- package/dist/client/assets/RoomSurface-oDbc6jnO.js +44 -0
- package/dist/client/assets/{RoomsPage-D0795GTq.js → RoomsPage-D_EbiSZ3.js} +1 -1
- package/dist/client/assets/RunsOnPopover-LtmmbIsD.js +1 -0
- package/dist/client/assets/RuntimeConnectFlow-Kv2ytk2m.js +1 -0
- package/dist/client/assets/RuntimeSetupDialog-CiWxlcPc.js +1 -0
- package/dist/client/assets/{SessionsPage-DbIKrtbg.js → SessionsPage-1rDO0SGV.js} +1 -1
- package/dist/client/assets/SettingsDialog-_ctp2AfE.js +12 -0
- package/dist/client/assets/SkillsPage-gPuQHKps.js +1 -0
- package/dist/client/assets/TaskDialogWrapper-BPFpCgsN.js +1 -0
- package/dist/client/assets/TasksEmptyState-D0Jlzmed.js +3 -0
- package/dist/client/assets/TasksPage-DvGfg5Bk.js +1 -0
- package/dist/client/assets/{ToolsPage-gUYaNA1-.js → ToolsPage-B0qZ85pR.js} +2 -2
- package/dist/client/assets/{TopologyGraph-KPxRfshp.js → TopologyGraph-q1ammgpG.js} +3 -3
- package/dist/client/assets/TourHost-Dc8qw1Ef.js +1 -0
- package/dist/client/assets/{UnlinkDialog-RuuQUyOF.js → UnlinkDialog-DXdrLsGV.js} +1 -1
- package/dist/client/assets/{WidgetErrorCard-BojvLOeP.js → WidgetErrorCard-ChDNC060.js} +23 -23
- package/dist/client/assets/_shell-BxPza3Lx.js +88 -0
- package/dist/client/assets/{_shell._home-C-OJaDmg.js → _shell._home-DjGunhLV.js} +1 -1
- package/dist/client/assets/_shell._home.activity-B014dET1.js +1 -0
- package/dist/client/assets/_shell._home.index-DEmtTHZg.js +3 -0
- package/dist/client/assets/_shell._home.tasks-CnDEbUOd.js +1 -0
- package/dist/client/assets/_shell._home.workspaces-AQtMUWuu.js +1 -0
- package/dist/client/assets/{_shell.channels-Cpde6Iix.js → _shell.channels-C8NOhmJd.js} +4 -4
- package/dist/client/assets/_shell.connections-Bxe0wxOB.js +1 -0
- package/dist/client/assets/{_shell.feedback-requests-BBEuotuF.js → _shell.feedback-requests-C6ku9F5_.js} +2 -2
- package/dist/client/assets/_shell.marketplace-CEnzWFmI.js +1 -0
- package/dist/client/assets/_shell.marketplace_.sources-BZq1d2ih.js +1 -0
- package/dist/client/assets/_shell.session-Dn0C0mEZ.js +66 -0
- package/dist/client/assets/{_shell.team-4bF5Nn4_.js → _shell.team-DoLdOMoC.js} +5 -5
- package/dist/client/assets/_shell.x._extensionId-DhE3OYMF.js +1 -0
- package/dist/client/assets/_shell.x._extensionId_._-DhE3OYMF.js +1 -0
- package/dist/client/assets/access-copy-CBGtcTk0.js +1 -0
- package/dist/client/assets/{agent-browser-BIsnzdje.js → agent-browser-DbcLtsAx.js} +1 -1
- package/dist/client/assets/{banner-Dll8KWyW.js → banner-rPsz3suJ.js} +2 -2
- package/dist/client/assets/{card-5POMzMJ6.js → card-BqN3lfJn.js} +1 -1
- package/dist/client/assets/command-ZTLTCj0l.js +1 -0
- package/dist/client/assets/cpu-D70xMHl2.js +11 -0
- package/dist/client/assets/dead-letter-reasons-DtBHju9v.js +1 -0
- package/dist/client/assets/empty-state-yl1dLwLN.js +1 -0
- package/dist/client/assets/execution-config-BbBEe6FO.js +1 -0
- package/dist/client/assets/{file-CY9v6yos.js → file-CGg2M6ED.js} +1 -1
- package/dist/client/assets/{file-exclamation-point-DNS4eVZR.js → file-exclamation-point-DZrVsShR.js} +1 -1
- package/dist/client/assets/{file-text-BQ5NBk6w.js → file-text-BYq_4IAt.js} +1 -1
- package/dist/client/assets/{find-latest-widget-fence-BC8zM39x.js → find-latest-widget-fence-CWs9nr10.js} +4 -4
- package/dist/client/assets/form-vPuXuaYT.js +1 -0
- package/dist/client/assets/format-cron-D02Tnupo.js +1 -0
- package/dist/client/assets/{git-branch-34CUrn_R.js → git-branch-DbjXDO_F.js} +1 -1
- package/dist/client/assets/{heart-B5oPCBeT.js → heart-Dblp_miM.js} +1 -1
- package/dist/client/assets/{highlighted-body-KPVGNVTW-DeDxlHr7.js → highlighted-body-KPVGNVTW-CaMXMak-.js} +1 -1
- package/dist/client/assets/{index-Cdi4wcy2.js → index-B-WvQ24u.js} +7 -7
- package/dist/client/assets/{index-Bvr-_HFb.js → index-BKuzoeSn.js} +1 -1
- package/dist/client/assets/{index-CfPs0N2z.js → index-BOL391En.js} +1 -1
- package/dist/client/assets/{index-C6XffNP5.js → index-BPqkuMIa.js} +1 -1
- package/dist/client/assets/{index-Svn7q7Oq.js → index-BPwUl0Bz.js} +1 -1
- package/dist/client/assets/{index-CkfVcaGE.js → index-BV0tZnYg.js} +1 -1
- package/dist/client/assets/{index-obtMBZBo.js → index-BW98owO8.js} +1 -1
- package/dist/client/assets/{index-Cw1lCYXU.js → index-Bd23EYYT.js} +2 -2
- package/dist/client/assets/{index-hw9zI0x5.js → index-BdVOtoFr.js} +1 -1
- package/dist/client/assets/{index-C_nYZwKl.js → index-Bi7Um5RU.js} +1 -1
- package/dist/client/assets/{index-DvSjlchr.js → index-BiIbMZ6d.js} +36 -36
- package/dist/client/assets/{index-DipT3Tl7.js → index-BxqUb-n7.js} +1 -1
- package/dist/client/assets/{index-BfY2tknC.js → index-BzczIyv5.js} +1 -1
- package/dist/client/assets/index-C6NUjpzQ.js +38 -0
- package/dist/client/assets/{index-BCJdsNmC.js → index-C88NZagl.js} +1 -1
- package/dist/client/assets/{index-BM9_nnxH.js → index-CHvi6xUU.js} +1 -1
- package/dist/client/assets/{index-BWj2VXUd.js → index-CMWMhbec.js} +1 -1
- package/dist/client/assets/{index-HmNnK1_1.js → index-CN9fywRC.js} +1 -1
- package/dist/client/assets/{index-yDaSJS2Z.js → index-CRZXSh_q.js} +1 -1
- package/dist/client/assets/{index-sLuAyJv-.js → index-CWNsRK97.js} +1 -1
- package/dist/client/assets/index-CaLw69VE.js +1 -0
- package/dist/client/assets/index-CdKpQ1hI.js +1018 -0
- package/dist/client/assets/{index-CiOdQLWf.js → index-CrK4rKAq.js} +1 -1
- package/dist/client/assets/{index-B_LR9e6q.js → index-D16KF-iC.js} +3 -3
- package/dist/client/assets/index-D6m2SWHr.js +1 -0
- package/dist/client/assets/index-DDYi817r.js +1 -0
- package/dist/client/assets/{index-DjQZM7xU.js → index-Db2EOzA3.js} +1 -1
- package/dist/client/assets/index-DdbHrvr0.js +1 -0
- package/dist/client/assets/{index-D1AN47IZ.js → index-Dg_bax15.js} +3 -3
- package/dist/client/assets/index-DwUdUliR.js +1 -0
- package/dist/client/assets/{index-Dl3NBIFK.js → index-DzeYt-GT.js} +1 -1
- package/dist/client/assets/{index-D6QoZ_JK.js → index-Gq3gqBhY.js} +1 -1
- package/dist/client/assets/index-O_HMols_.js +1 -0
- package/dist/client/assets/{index-juObjGCH.js → index-P5j6zmcN.js} +1 -1
- package/dist/client/assets/{index-BeH3ljiU.js → index-XE46wAj9.js} +1 -1
- package/dist/client/assets/{index-BZYcFunZ.js → index-Z8YcKwIB.js} +1 -1
- package/dist/client/assets/{index-DFEF2MFy.css → index-kktlr1TJ.css} +1 -1
- package/dist/client/assets/{index-BfoRyh9U.js → index-lNMJBFB0.js} +1 -1
- package/dist/client/assets/{index-CFakjglG.js → index-oWLYcpm4.js} +1 -1
- package/dist/client/assets/{index-CbUkmP4v.js → index-vRc1D4KI.js} +1 -1
- package/dist/client/assets/inline-code-Cvn43Gqu.js +1 -0
- package/dist/client/assets/{layers-5nJbTYJI.js → layers-Bmz62WF4.js} +1 -1
- package/dist/client/assets/{lightbulb-CTbrj6Bh.js → lightbulb-CAd6slmc.js} +1 -1
- package/dist/client/assets/link-2-C0mn8T24.js +6 -0
- package/dist/client/assets/list-runtime-types-DxwGcKLx.js +1 -0
- package/dist/client/assets/{markdown-content-BWVUF3Ll.js → markdown-content-1-B7PdbY.js} +1 -1
- package/dist/client/assets/{mention-pill-DlZf_ikY.js → mention-pill-D_-KXznh.js} +1 -1
- package/dist/client/assets/{message-square-off-DwAOErT_.js → message-square-off-Di7kQvfe.js} +1 -1
- package/dist/client/assets/more-details-C6UGVeDE.js +1 -0
- package/dist/client/assets/{owner-notice-De98Vj3z.js → owner-notice-CudDDBX4.js} +1 -1
- package/dist/client/assets/{package-B1hSUoIL.js → package-D2eMoFCI.js} +1 -1
- package/dist/client/assets/{page-container-DTyW7UJt.js → page-container-CDHAACRA.js} +1 -1
- package/dist/client/assets/{paperclip-CoxP50ae.js → paperclip-p0W24D54.js} +1 -1
- package/dist/client/assets/path-input-j04LMj9z.js +1 -0
- package/dist/client/assets/primer-trigger-DkCcHf2Q.js +3 -0
- package/dist/client/assets/profile-errors-CqflLCzu.js +1 -0
- package/dist/client/assets/progress-BcuH4Eod.js +6 -0
- package/dist/client/assets/query-error-state-CEZs7dhg.js +1 -0
- package/dist/client/assets/{radio-WZhvBdvS.js → radio-DGWfQ5Rf.js} +1 -1
- package/dist/client/assets/registry-ChxwU0f4.js +1 -0
- package/dist/client/assets/relay-trace-schemas-y0nd8fzi.js +6 -0
- package/dist/client/assets/{room-files-source-B2H-CIeN.js → room-files-source-C1TCg4W_.js} +2 -2
- package/dist/client/assets/{rotate-ccw-clock-DFGhE-_C.js → rotate-ccw-clock-DcBojy-0.js} +1 -1
- package/dist/client/assets/{rotate-cw-DiWMKflx.js → rotate-cw-D0vUyeR2.js} +1 -1
- package/dist/client/assets/runtime-connect-Dn0T5YWv.js +1 -0
- package/dist/client/assets/{scroll-area-BJrXoUrS.js → scroll-area-CQ9lO56h.js} +1 -1
- package/dist/client/assets/{search-x-CPf5yiSS.js → search-x-EJGj73JB.js} +2 -2
- package/dist/client/assets/settings-for-runtime-BoOa-ZFG.js +1 -0
- package/dist/client/assets/shield-check-Bp58y9u7.js +6 -0
- package/dist/client/assets/{shield-x-D-yr2n7H.js → shield-x-jF_NCCvp.js} +1 -1
- package/dist/client/assets/soul-file-Cag2i87x.js +1 -0
- package/dist/client/assets/{table-B3kRSRyK.js → table-D89CWVJX.js} +1 -1
- package/dist/client/assets/terminal-BUhNMZAt.js +6 -0
- package/dist/client/assets/trust-posture-15DMDZTA.js +1 -0
- package/dist/client/assets/unplug-opnrSXAi.js +6 -0
- package/dist/client/assets/unverified-catalog-notice-DHM5Coia.js +1 -0
- package/dist/client/assets/use-adapter-catalog-ClMqVelU.js +1 -0
- package/dist/client/assets/use-bindings-Ch6UUBvz.js +1 -0
- package/dist/client/assets/use-composer-prefs-Qn7KRpYe.js +1 -0
- package/dist/client/assets/{use-connector-management-2rrubqr1.js → use-connector-management-dX_4x0d3.js} +1 -1
- package/dist/client/assets/use-deep-link-scroll-BV2fY4gy.js +1 -0
- package/dist/client/assets/use-delete-binding-BklxjB_c.js +1 -0
- package/dist/client/assets/{use-dev-links-BIxj0Pjl.js → use-dev-links-D4Bqam6F.js} +1 -1
- package/dist/client/assets/use-external-adapter-catalog-nHiD8BKZ.js +1 -0
- package/dist/client/assets/use-full-activity-feed-vYU7wQWT.js +1 -0
- package/dist/client/assets/use-is-below-desktop-G-mTu2Ga.js +1 -0
- package/dist/client/assets/{use-jump-back-in-CD5wYoFA.js → use-jump-back-in-BVunjzyr.js} +3 -3
- package/dist/client/assets/{use-mesh-topology-3LbL6yfa.js → use-mesh-topology-NaUKSKol.js} +1 -1
- package/dist/client/assets/use-mounted-ref-BWpQ8f91.js +1 -0
- package/dist/client/assets/use-notification-prefs-qO1zRRFN.js +1 -0
- package/dist/client/assets/{use-panel-tab-placements-CTNXdvC6.js → use-panel-tab-placements-Db6p2vLD.js} +1 -1
- package/dist/client/assets/use-pending-read-DUqJZUza.js +1 -0
- package/dist/client/assets/use-personality-commit-DUEKxHt_.js +1 -0
- package/dist/client/assets/{use-promo-activation-DCy9ROgP.js → use-promo-activation-CnGaw39P.js} +2 -2
- package/dist/client/assets/use-promo-dismissals-bkSHhGhj.js +1 -0
- package/dist/client/assets/{use-pulse-freshness-CRHnQO_-.js → use-pulse-freshness-Oc_1gs-Y.js} +1 -1
- package/dist/client/assets/use-relay-config-Ba-S4wxY.js +1 -0
- package/dist/client/assets/{use-room-follow-claim-FWatOD5-.js → use-room-follow-claim-DqE5b95Z.js} +1 -1
- package/dist/client/assets/{use-roving-tab-list-C56ygMxj.js → use-roving-tab-list-DnMqliqf.js} +1 -1
- package/dist/client/assets/{use-session-canvas-Dsmt92or.js → use-session-canvas-OdljtBE8.js} +4 -4
- package/dist/client/assets/{use-session-diagnostics-ypmmhIlN.js → use-session-diagnostics-CtjxsM8_.js} +4 -4
- package/dist/client/assets/use-unclaimed-chats-5RCD5wIp.js +1 -0
- package/dist/client/assets/use-update-config-xkznZMHr.js +1 -0
- package/dist/client/assets/useMutationState-Mjr_y4xX.js +1 -0
- package/dist/client/index.html +2 -2
- package/dist/server/index.js +7086 -6336
- package/dist/server/index.js.map +2 -2
- package/package.json +5 -5
- package/dist/client/assets/ActivityPage-C-lpXfva.js +0 -1
- package/dist/client/assets/AppearancePage-COdpfn1g.js +0 -1
- package/dist/client/assets/AttentionSignalRow-Dc8laCri.js +0 -1
- package/dist/client/assets/CanvasFileContent-C-aDKKws.js +0 -2
- package/dist/client/assets/CanvasModel3dContent-Dnx6oUx2.js +0 -2
- package/dist/client/assets/CommitmentList-CCsDbGY2.js +0 -1
- package/dist/client/assets/ConnectionAccessLists-umV6IbYS.js +0 -1
- package/dist/client/assets/ConnectionsPage-2iGwApEi.js +0 -6
- package/dist/client/assets/ConventionPage-Bucu3-TK.js +0 -11
- package/dist/client/assets/HandlePage-BotSAp8X.js +0 -1
- package/dist/client/assets/HeartbeatPage-CVAZeDqg.js +0 -1
- package/dist/client/assets/McpSigninBody-DMK94EGx.js +0 -1
- package/dist/client/assets/NamePage-NZ40HlPR.js +0 -1
- package/dist/client/assets/OperatorIdentityForm-H7l8r2VC.js +0 -1
- package/dist/client/assets/PermissionsPage-DVV9vtoW.js +0 -1
- package/dist/client/assets/PhotoPage-DKgOQCBH.js +0 -1
- package/dist/client/assets/PromptSuggestionChips-Dw7RA2P1.js +0 -1
- package/dist/client/assets/ReportsToPopover-fxu1r9iw.js +0 -1
- package/dist/client/assets/RoomSurface-D4Etqadg.js +0 -44
- package/dist/client/assets/RunsOnPopover-Cp8EMGHD.js +0 -1
- package/dist/client/assets/RuntimeSetupDialog-Cxtz9b_r.js +0 -1
- package/dist/client/assets/SkillsPage-DYSIGciZ.js +0 -1
- package/dist/client/assets/TasksPage-DoEP7ZsZ.js +0 -1
- package/dist/client/assets/TourHost-BIozl4IA.js +0 -1
- package/dist/client/assets/_shell-BMQyJ7r4.js +0 -88
- package/dist/client/assets/_shell._home.activity-Bvsxue6y.js +0 -1
- package/dist/client/assets/_shell._home.index-DXnd_q3h.js +0 -3
- package/dist/client/assets/_shell._home.tasks-Mz-iO--x.js +0 -1
- package/dist/client/assets/_shell._home.workspaces-ChuVp2dK.js +0 -1
- package/dist/client/assets/_shell.connections-CxgvSPjQ.js +0 -1
- package/dist/client/assets/_shell.marketplace-Hk6n4nNt.js +0 -1
- package/dist/client/assets/_shell.marketplace_.sources-B8f38K6K.js +0 -1
- package/dist/client/assets/_shell.session-DsF1tXPP.js +0 -66
- package/dist/client/assets/_shell.x._extensionId-B6J6mDaT.js +0 -1
- package/dist/client/assets/_shell.x._extensionId_._-B6J6mDaT.js +0 -1
- package/dist/client/assets/index-BTkflOTk.js +0 -1
- package/dist/client/assets/index-BqtFX8p5.js +0 -1
- package/dist/client/assets/index-C-DMBd4V.js +0 -1
- package/dist/client/assets/index-C4ZJEVQG.js +0 -1
- package/dist/client/assets/index-C9NjdeaX.js +0 -38
- package/dist/client/assets/index-d-DK54t2.js +0 -1099
- package/dist/client/assets/index-tdK5EJaB.js +0 -1
- package/dist/client/assets/index-wx8w6kby.js +0 -1
- package/dist/client/assets/kickoff-BwvlCy0n.js +0 -3
- package/dist/client/assets/soul-file-D0y7QIBL.js +0 -1
- package/dist/client/assets/use-delete-binding-BKhK3a7C.js +0 -1
- package/dist/client/assets/use-external-adapter-catalog-XS0vyTlS.js +0 -1
- package/dist/client/assets/use-full-activity-feed-CwqKSvpf.js +0 -1
- package/dist/client/assets/use-is-below-desktop-Dzs5i_TM.js +0 -1
- package/dist/client/assets/use-pending-read-sDmA-i7r.js +0 -1
- package/dist/client/assets/use-personality-commit-B13DSXxo.js +0 -1
- package/dist/client/assets/use-unclaimed-chats-C_bsrJFb.js +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{oB as IRn,hP as PRn,r as sn,j as de,eb as Kan,ih as ORn,jk as NRn,mz as $Rn,oC as DRn,a3 as MN,bp as A2e,B as Wan,iT as Van,Z as r2,hg as M2e,b6 as C2e,b5 as LRn,aa as jN,f as _Rn,hR as FRn,X as RRn,oD as BRn,oE as Fhn,eu as JRn,kn as GRn,ja as HRn,an as qRn,oF as zRn,gl as URn,hj as XRn,gm as KRn,gn as WRn,bL as VX,fN as VRn,F as Rhn,a6 as QRn,A as YRn,hh as ZRn,lF as eBn,gq as nBn,gc as tBn,gd as iBn,ge as rBn,gf as cBn,gg as uBn,gh as oBn,gi as sBn,gj as fBn,oG as lBn}from"./index-d-DK54t2.js";import{H as wK}from"./_shell.team-4bF5Nn4_.js";import{H as hBn}from"./heart-B5oPCBeT.js";import{a as e2e,A as aBn}from"./AdapterIcon-B-NJfk_R.js";import{s as dBn}from"./session-strategy-labels-C7Wduch3.js";import{u as bBn}from"./use-mesh-topology-3LbL6yfa.js";import{u as wBn}from"./use-delete-binding-BKhK3a7C.js";import"./use-pending-read-sDmA-i7r.js";import"./search-x-CPf5yiSS.js";import"./scroll-area-BJrXoUrS.js";import"./OpenMeshSwitch-BjiejioP.js";import"./table-B3kRSRyK.js";import"./page-container-DTyW7UJt.js";import"./CommitmentList-CCsDbGY2.js";function Kf(d){if(typeof d=="string"||typeof d=="number")return""+d;let v="";if(Array.isArray(d))for(let E=0,A;E<d.length;E++)(A=Kf(d[E]))!==""&&(v+=(v&&" ")+A);else for(let E in d)d[E]&&(v+=(v&&" ")+E);return v}var gBn={value:()=>{}};function CK(){for(var d=0,v=arguments.length,E={},A;d<v;++d){if(!(A=arguments[d]+"")||A in E||/[\s.]/.test(A))throw new Error("illegal type: "+A);E[A]=[]}return new sK(E)}function sK(d){this._=d}function pBn(d,v){return d.trim().split(/^|\s+/).map(function(E){var A="",M=E.indexOf(".");if(M>=0&&(A=E.slice(M+1),E=E.slice(0,M)),E&&!v.hasOwnProperty(E))throw new Error("unknown type: "+E);return{type:E,name:A}})}sK.prototype=CK.prototype={constructor:sK,on:function(d,v){var E=this._,A=pBn(d+"",E),M,P=-1,m=A.length;if(arguments.length<2){for(;++P<m;)if((M=(d=A[P]).type)&&(M=mBn(E[M],d.name)))return M;return}if(v!=null&&typeof v!="function")throw new Error("invalid callback: "+v);for(;++P<m;)if(M=(d=A[P]).type)E[M]=Bhn(E[M],d.name,v);else if(v==null)for(M in E)E[M]=Bhn(E[M],d.name,null);return this},copy:function(){var d={},v=this._;for(var E in v)d[E]=v[E].slice();return new sK(d)},call:function(d,v){if((M=arguments.length-2)>0)for(var E=new Array(M),A=0,M,P;A<M;++A)E[A]=arguments[A+2];if(!this._.hasOwnProperty(d))throw new Error("unknown type: "+d);for(P=this._[d],A=0,M=P.length;A<M;++A)P[A].value.apply(v,E)},apply:function(d,v,E){if(!this._.hasOwnProperty(d))throw new Error("unknown type: "+d);for(var A=this._[d],M=0,P=A.length;M<P;++M)A[M].value.apply(v,E)}};function mBn(d,v){for(var E=0,A=d.length,M;E<A;++E)if((M=d[E]).name===v)return M.value}function Bhn(d,v,E){for(var A=0,M=d.length;A<M;++A)if(d[A].name===v){d[A]=gBn,d=d.slice(0,A).concat(d.slice(A+1));break}return E!=null&&d.push({name:v,value:E}),d}var h2e="http://www.w3.org/1999/xhtml";const Jhn={svg:"http://www.w3.org/2000/svg",xhtml:h2e,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function TK(d){var v=d+="",E=v.indexOf(":");return E>=0&&(v=d.slice(0,E))!=="xmlns"&&(d=d.slice(E+1)),Jhn.hasOwnProperty(v)?{space:Jhn[v],local:d}:d}function vBn(d){return function(){var v=this.ownerDocument,E=this.namespaceURI;return E===h2e&&v.documentElement.namespaceURI===h2e?v.createElement(d):v.createElementNS(E,d)}}function yBn(d){return function(){return this.ownerDocument.createElementNS(d.space,d.local)}}function Qan(d){var v=TK(d);return(v.local?yBn:vBn)(v)}function kBn(){}function T2e(d){return d==null?kBn:function(){return this.querySelector(d)}}function EBn(d){typeof d!="function"&&(d=T2e(d));for(var v=this._groups,E=v.length,A=new Array(E),M=0;M<E;++M)for(var P=v[M],m=P.length,L=A[M]=new Array(m),H,U,Q=0;Q<m;++Q)(H=P[Q])&&(U=d.call(H,H.__data__,Q,P))&&("__data__"in H&&(U.__data__=H.__data__),L[Q]=U);return new F0(A,this._parents)}function jBn(d){return d==null?[]:Array.isArray(d)?d:Array.from(d)}function xBn(){return[]}function Yan(d){return d==null?xBn:function(){return this.querySelectorAll(d)}}function ABn(d){return function(){return jBn(d.apply(this,arguments))}}function MBn(d){typeof d=="function"?d=ABn(d):d=Yan(d);for(var v=this._groups,E=v.length,A=[],M=[],P=0;P<E;++P)for(var m=v[P],L=m.length,H,U=0;U<L;++U)(H=m[U])&&(A.push(d.call(H,H.__data__,U,m)),M.push(H));return new F0(A,M)}function Zan(d){return function(){return this.matches(d)}}function e1n(d){return function(v){return v.matches(d)}}var CBn=Array.prototype.find;function TBn(d){return function(){return CBn.call(this.children,d)}}function SBn(){return this.firstElementChild}function IBn(d){return this.select(d==null?SBn:TBn(typeof d=="function"?d:e1n(d)))}var PBn=Array.prototype.filter;function OBn(){return Array.from(this.children)}function NBn(d){return function(){return PBn.call(this.children,d)}}function $Bn(d){return this.selectAll(d==null?OBn:NBn(typeof d=="function"?d:e1n(d)))}function DBn(d){typeof d!="function"&&(d=Zan(d));for(var v=this._groups,E=v.length,A=new Array(E),M=0;M<E;++M)for(var P=v[M],m=P.length,L=A[M]=[],H,U=0;U<m;++U)(H=P[U])&&d.call(H,H.__data__,U,P)&&L.push(H);return new F0(A,this._parents)}function n1n(d){return new Array(d.length)}function LBn(){return new F0(this._enter||this._groups.map(n1n),this._parents)}function gK(d,v){this.ownerDocument=d.ownerDocument,this.namespaceURI=d.namespaceURI,this._next=null,this._parent=d,this.__data__=v}gK.prototype={constructor:gK,appendChild:function(d){return this._parent.insertBefore(d,this._next)},insertBefore:function(d,v){return this._parent.insertBefore(d,v)},querySelector:function(d){return this._parent.querySelector(d)},querySelectorAll:function(d){return this._parent.querySelectorAll(d)}};function _Bn(d){return function(){return d}}function FBn(d,v,E,A,M,P){for(var m=0,L,H=v.length,U=P.length;m<U;++m)(L=v[m])?(L.__data__=P[m],A[m]=L):E[m]=new gK(d,P[m]);for(;m<H;++m)(L=v[m])&&(M[m]=L)}function RBn(d,v,E,A,M,P,m){var L,H,U=new Map,Q=v.length,Y=P.length,G=new Array(Q),V;for(L=0;L<Q;++L)(H=v[L])&&(G[L]=V=m.call(H,H.__data__,L,v)+"",U.has(V)?M[L]=H:U.set(V,H));for(L=0;L<Y;++L)V=m.call(d,P[L],L,P)+"",(H=U.get(V))?(A[L]=H,H.__data__=P[L],U.delete(V)):E[L]=new gK(d,P[L]);for(L=0;L<Q;++L)(H=v[L])&&U.get(G[L])===H&&(M[L]=H)}function BBn(d){return d.__data__}function JBn(d,v){if(!arguments.length)return Array.from(this,BBn);var E=v?RBn:FBn,A=this._parents,M=this._groups;typeof d!="function"&&(d=_Bn(d));for(var P=M.length,m=new Array(P),L=new Array(P),H=new Array(P),U=0;U<P;++U){var Q=A[U],Y=M[U],G=Y.length,V=GBn(d.call(Q,Q&&Q.__data__,U,A)),te=V.length,X=L[U]=new Array(te),Ee=m[U]=new Array(te),ue=H[U]=new Array(G);E(Q,Y,X,Ee,ue,V,v);for(var ge=0,re=0,je,Ke;ge<te;++ge)if(je=X[ge]){for(ge>=re&&(re=ge+1);!(Ke=Ee[re])&&++re<te;);je._next=Ke||null}}return m=new F0(m,A),m._enter=L,m._exit=H,m}function GBn(d){return typeof d=="object"&&"length"in d?d:Array.from(d)}function HBn(){return new F0(this._exit||this._groups.map(n1n),this._parents)}function qBn(d,v,E){var A=this.enter(),M=this,P=this.exit();return typeof d=="function"?(A=d(A),A&&(A=A.selection())):A=A.append(d+""),v!=null&&(M=v(M),M&&(M=M.selection())),E==null?P.remove():E(P),A&&M?A.merge(M).order():M}function zBn(d){for(var v=d.selection?d.selection():d,E=this._groups,A=v._groups,M=E.length,P=A.length,m=Math.min(M,P),L=new Array(M),H=0;H<m;++H)for(var U=E[H],Q=A[H],Y=U.length,G=L[H]=new Array(Y),V,te=0;te<Y;++te)(V=U[te]||Q[te])&&(G[te]=V);for(;H<M;++H)L[H]=E[H];return new F0(L,this._parents)}function UBn(){for(var d=this._groups,v=-1,E=d.length;++v<E;)for(var A=d[v],M=A.length-1,P=A[M],m;--M>=0;)(m=A[M])&&(P&&m.compareDocumentPosition(P)^4&&P.parentNode.insertBefore(m,P),P=m);return this}function XBn(d){d||(d=KBn);function v(Y,G){return Y&&G?d(Y.__data__,G.__data__):!Y-!G}for(var E=this._groups,A=E.length,M=new Array(A),P=0;P<A;++P){for(var m=E[P],L=m.length,H=M[P]=new Array(L),U,Q=0;Q<L;++Q)(U=m[Q])&&(H[Q]=U);H.sort(v)}return new F0(M,this._parents).order()}function KBn(d,v){return d<v?-1:d>v?1:d>=v?0:NaN}function WBn(){var d=arguments[0];return arguments[0]=this,d.apply(null,arguments),this}function VBn(){return Array.from(this)}function QBn(){for(var d=this._groups,v=0,E=d.length;v<E;++v)for(var A=d[v],M=0,P=A.length;M<P;++M){var m=A[M];if(m)return m}return null}function YBn(){let d=0;for(const v of this)++d;return d}function ZBn(){return!this.node()}function eJn(d){for(var v=this._groups,E=0,A=v.length;E<A;++E)for(var M=v[E],P=0,m=M.length,L;P<m;++P)(L=M[P])&&d.call(L,L.__data__,P,M);return this}function nJn(d){return function(){this.removeAttribute(d)}}function tJn(d){return function(){this.removeAttributeNS(d.space,d.local)}}function iJn(d,v){return function(){this.setAttribute(d,v)}}function rJn(d,v){return function(){this.setAttributeNS(d.space,d.local,v)}}function cJn(d,v){return function(){var E=v.apply(this,arguments);E==null?this.removeAttribute(d):this.setAttribute(d,E)}}function uJn(d,v){return function(){var E=v.apply(this,arguments);E==null?this.removeAttributeNS(d.space,d.local):this.setAttributeNS(d.space,d.local,E)}}function oJn(d,v){var E=TK(d);if(arguments.length<2){var A=this.node();return E.local?A.getAttributeNS(E.space,E.local):A.getAttribute(E)}return this.each((v==null?E.local?tJn:nJn:typeof v=="function"?E.local?uJn:cJn:E.local?rJn:iJn)(E,v))}function t1n(d){return d.ownerDocument&&d.ownerDocument.defaultView||d.document&&d||d.defaultView}function sJn(d){return function(){this.style.removeProperty(d)}}function fJn(d,v,E){return function(){this.style.setProperty(d,v,E)}}function lJn(d,v,E){return function(){var A=v.apply(this,arguments);A==null?this.style.removeProperty(d):this.style.setProperty(d,A,E)}}function hJn(d,v,E){return arguments.length>1?this.each((v==null?sJn:typeof v=="function"?lJn:fJn)(d,v,E??"")):Gx(this.node(),d)}function Gx(d,v){return d.style.getPropertyValue(v)||t1n(d).getComputedStyle(d,null).getPropertyValue(v)}function aJn(d){return function(){delete this[d]}}function dJn(d,v){return function(){this[d]=v}}function bJn(d,v){return function(){var E=v.apply(this,arguments);E==null?delete this[d]:this[d]=E}}function wJn(d,v){return arguments.length>1?this.each((v==null?aJn:typeof v=="function"?bJn:dJn)(d,v)):this.node()[d]}function i1n(d){return d.trim().split(/^|\s+/)}function S2e(d){return d.classList||new r1n(d)}function r1n(d){this._node=d,this._names=i1n(d.getAttribute("class")||"")}r1n.prototype={add:function(d){var v=this._names.indexOf(d);v<0&&(this._names.push(d),this._node.setAttribute("class",this._names.join(" ")))},remove:function(d){var v=this._names.indexOf(d);v>=0&&(this._names.splice(v,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(d){return this._names.indexOf(d)>=0}};function c1n(d,v){for(var E=S2e(d),A=-1,M=v.length;++A<M;)E.add(v[A])}function u1n(d,v){for(var E=S2e(d),A=-1,M=v.length;++A<M;)E.remove(v[A])}function gJn(d){return function(){c1n(this,d)}}function pJn(d){return function(){u1n(this,d)}}function mJn(d,v){return function(){(v.apply(this,arguments)?c1n:u1n)(this,d)}}function vJn(d,v){var E=i1n(d+"");if(arguments.length<2){for(var A=S2e(this.node()),M=-1,P=E.length;++M<P;)if(!A.contains(E[M]))return!1;return!0}return this.each((typeof v=="function"?mJn:v?gJn:pJn)(E,v))}function yJn(){this.textContent=""}function kJn(d){return function(){this.textContent=d}}function EJn(d){return function(){var v=d.apply(this,arguments);this.textContent=v??""}}function jJn(d){return arguments.length?this.each(d==null?yJn:(typeof d=="function"?EJn:kJn)(d)):this.node().textContent}function xJn(){this.innerHTML=""}function AJn(d){return function(){this.innerHTML=d}}function MJn(d){return function(){var v=d.apply(this,arguments);this.innerHTML=v??""}}function CJn(d){return arguments.length?this.each(d==null?xJn:(typeof d=="function"?MJn:AJn)(d)):this.node().innerHTML}function TJn(){this.nextSibling&&this.parentNode.appendChild(this)}function SJn(){return this.each(TJn)}function IJn(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function PJn(){return this.each(IJn)}function OJn(d){var v=typeof d=="function"?d:Qan(d);return this.select(function(){return this.appendChild(v.apply(this,arguments))})}function NJn(){return null}function $Jn(d,v){var E=typeof d=="function"?d:Qan(d),A=v==null?NJn:typeof v=="function"?v:T2e(v);return this.select(function(){return this.insertBefore(E.apply(this,arguments),A.apply(this,arguments)||null)})}function DJn(){var d=this.parentNode;d&&d.removeChild(this)}function LJn(){return this.each(DJn)}function _Jn(){var d=this.cloneNode(!1),v=this.parentNode;return v?v.insertBefore(d,this.nextSibling):d}function FJn(){var d=this.cloneNode(!0),v=this.parentNode;return v?v.insertBefore(d,this.nextSibling):d}function RJn(d){return this.select(d?FJn:_Jn)}function BJn(d){return arguments.length?this.property("__data__",d):this.node().__data__}function JJn(d){return function(v){d.call(this,v,this.__data__)}}function GJn(d){return d.trim().split(/^|\s+/).map(function(v){var E="",A=v.indexOf(".");return A>=0&&(E=v.slice(A+1),v=v.slice(0,A)),{type:v,name:E}})}function HJn(d){return function(){var v=this.__on;if(v){for(var E=0,A=-1,M=v.length,P;E<M;++E)P=v[E],(!d.type||P.type===d.type)&&P.name===d.name?this.removeEventListener(P.type,P.listener,P.options):v[++A]=P;++A?v.length=A:delete this.__on}}}function qJn(d,v,E){return function(){var A=this.__on,M,P=JJn(v);if(A){for(var m=0,L=A.length;m<L;++m)if((M=A[m]).type===d.type&&M.name===d.name){this.removeEventListener(M.type,M.listener,M.options),this.addEventListener(M.type,M.listener=P,M.options=E),M.value=v;return}}this.addEventListener(d.type,P,E),M={type:d.type,name:d.name,value:v,listener:P,options:E},A?A.push(M):this.__on=[M]}}function zJn(d,v,E){var A=GJn(d+""),M,P=A.length,m;if(arguments.length<2){var L=this.node().__on;if(L){for(var H=0,U=L.length,Q;H<U;++H)for(M=0,Q=L[H];M<P;++M)if((m=A[M]).type===Q.type&&m.name===Q.name)return Q.value}return}for(L=v?qJn:HJn,M=0;M<P;++M)this.each(L(A[M],v,E));return this}function o1n(d,v,E){var A=t1n(d),M=A.CustomEvent;typeof M=="function"?M=new M(v,E):(M=A.document.createEvent("Event"),E?(M.initEvent(v,E.bubbles,E.cancelable),M.detail=E.detail):M.initEvent(v,!1,!1)),d.dispatchEvent(M)}function UJn(d,v){return function(){return o1n(this,d,v)}}function XJn(d,v){return function(){return o1n(this,d,v.apply(this,arguments))}}function KJn(d,v){return this.each((typeof v=="function"?XJn:UJn)(d,v))}function*WJn(){for(var d=this._groups,v=0,E=d.length;v<E;++v)for(var A=d[v],M=0,P=A.length,m;M<P;++M)(m=A[M])&&(yield m)}var s1n=[null];function F0(d,v){this._groups=d,this._parents=v}function _N(){return new F0([[document.documentElement]],s1n)}function VJn(){return this}F0.prototype=_N.prototype={constructor:F0,select:EBn,selectAll:MBn,selectChild:IBn,selectChildren:$Bn,filter:DBn,data:JBn,enter:LBn,exit:HBn,join:qBn,merge:zBn,selection:VJn,order:UBn,sort:XBn,call:WBn,nodes:VBn,node:QBn,size:YBn,empty:ZBn,each:eJn,attr:oJn,style:hJn,property:wJn,classed:vJn,text:jJn,html:CJn,raise:SJn,lower:PJn,append:OJn,insert:$Jn,remove:LJn,clone:RJn,datum:BJn,on:zJn,dispatch:KJn,[Symbol.iterator]:WJn};function _0(d){return typeof d=="string"?new F0([[document.querySelector(d)]],[document.documentElement]):new F0([[d]],s1n)}function QJn(d){let v;for(;v=d.sourceEvent;)d=v;return d}function e2(d,v){if(d=QJn(d),v===void 0&&(v=d.currentTarget),v){var E=v.ownerSVGElement||v;if(E.createSVGPoint){var A=E.createSVGPoint();return A.x=d.clientX,A.y=d.clientY,A=A.matrixTransform(v.getScreenCTM().inverse()),[A.x,A.y]}if(v.getBoundingClientRect){var M=v.getBoundingClientRect();return[d.clientX-M.left-v.clientLeft,d.clientY-M.top-v.clientTop]}}return[d.pageX,d.pageY]}const YJn={passive:!1},CN={capture:!0,passive:!1};function n2e(d){d.stopImmediatePropagation()}function Bx(d){d.preventDefault(),d.stopImmediatePropagation()}function f1n(d){var v=d.document.documentElement,E=_0(d).on("dragstart.drag",Bx,CN);"onselectstart"in v?E.on("selectstart.drag",Bx,CN):(v.__noselect=v.style.MozUserSelect,v.style.MozUserSelect="none")}function l1n(d,v){var E=d.document.documentElement,A=_0(d).on("dragstart.drag",null);v&&(A.on("click.drag",Bx,CN),setTimeout(function(){A.on("click.drag",null)},0)),"onselectstart"in E?A.on("selectstart.drag",null):(E.style.MozUserSelect=E.__noselect,delete E.__noselect)}const QX=d=>()=>d;function a2e(d,{sourceEvent:v,subject:E,target:A,identifier:M,active:P,x:m,y:L,dx:H,dy:U,dispatch:Q}){Object.defineProperties(this,{type:{value:d,enumerable:!0,configurable:!0},sourceEvent:{value:v,enumerable:!0,configurable:!0},subject:{value:E,enumerable:!0,configurable:!0},target:{value:A,enumerable:!0,configurable:!0},identifier:{value:M,enumerable:!0,configurable:!0},active:{value:P,enumerable:!0,configurable:!0},x:{value:m,enumerable:!0,configurable:!0},y:{value:L,enumerable:!0,configurable:!0},dx:{value:H,enumerable:!0,configurable:!0},dy:{value:U,enumerable:!0,configurable:!0},_:{value:Q}})}a2e.prototype.on=function(){var d=this._.on.apply(this._,arguments);return d===this._?this:d};function ZJn(d){return!d.ctrlKey&&!d.button}function eGn(){return this.parentNode}function nGn(d,v){return v??{x:d.x,y:d.y}}function tGn(){return navigator.maxTouchPoints||"ontouchstart"in this}function h1n(){var d=ZJn,v=eGn,E=nGn,A=tGn,M={},P=CK("start","drag","end"),m=0,L,H,U,Q,Y=0;function G(je){je.on("mousedown.drag",V).filter(A).on("touchstart.drag",Ee).on("touchmove.drag",ue,YJn).on("touchend.drag touchcancel.drag",ge).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function V(je,Ke){if(!(Q||!d.call(this,je,Ke))){var Xe=re(this,v.call(this,je,Ke),je,Ke,"mouse");Xe&&(_0(je.view).on("mousemove.drag",te,CN).on("mouseup.drag",X,CN),f1n(je.view),n2e(je),U=!1,L=je.clientX,H=je.clientY,Xe("start",je))}}function te(je){if(Bx(je),!U){var Ke=je.clientX-L,Xe=je.clientY-H;U=Ke*Ke+Xe*Xe>Y}M.mouse("drag",je)}function X(je){_0(je.view).on("mousemove.drag mouseup.drag",null),l1n(je.view,U),Bx(je),M.mouse("end",je)}function Ee(je,Ke){if(d.call(this,je,Ke)){var Xe=je.changedTouches,Ye=v.call(this,je,Ke),kn=Xe.length,En,Zn;for(En=0;En<kn;++En)(Zn=re(this,Ye,je,Ke,Xe[En].identifier,Xe[En]))&&(n2e(je),Zn("start",je,Xe[En]))}}function ue(je){var Ke=je.changedTouches,Xe=Ke.length,Ye,kn;for(Ye=0;Ye<Xe;++Ye)(kn=M[Ke[Ye].identifier])&&(Bx(je),kn("drag",je,Ke[Ye]))}function ge(je){var Ke=je.changedTouches,Xe=Ke.length,Ye,kn;for(Q&&clearTimeout(Q),Q=setTimeout(function(){Q=null},500),Ye=0;Ye<Xe;++Ye)(kn=M[Ke[Ye].identifier])&&(n2e(je),kn("end",je,Ke[Ye]))}function re(je,Ke,Xe,Ye,kn,En){var Zn=P.copy(),Ln=e2(En||Xe,Ke),Vn,J,xe;if((xe=E.call(je,new a2e("beforestart",{sourceEvent:Xe,target:G,identifier:kn,active:m,x:Ln[0],y:Ln[1],dx:0,dy:0,dispatch:Zn}),Ye))!=null)return Vn=xe.x-Ln[0]||0,J=xe.y-Ln[1]||0,function on(rn,Sn,Fn){var dn=Ln,Gn;switch(rn){case"start":M[kn]=on,Gn=m++;break;case"end":delete M[kn],--m;case"drag":Ln=e2(Fn||Sn,Ke),Gn=m;break}Zn.call(rn,je,new a2e(rn,{sourceEvent:Sn,subject:xe,target:G,identifier:kn,active:Gn,x:Ln[0]+Vn,y:Ln[1]+J,dx:Ln[0]-dn[0],dy:Ln[1]-dn[1],dispatch:Zn}),Ye)}}return G.filter=function(je){return arguments.length?(d=typeof je=="function"?je:QX(!!je),G):d},G.container=function(je){return arguments.length?(v=typeof je=="function"?je:QX(je),G):v},G.subject=function(je){return arguments.length?(E=typeof je=="function"?je:QX(je),G):E},G.touchable=function(je){return arguments.length?(A=typeof je=="function"?je:QX(!!je),G):A},G.on=function(){var je=P.on.apply(P,arguments);return je===P?G:je},G.clickDistance=function(je){return arguments.length?(Y=(je=+je)*je,G):Math.sqrt(Y)},G}function I2e(d,v,E){d.prototype=v.prototype=E,E.constructor=d}function a1n(d,v){var E=Object.create(d.prototype);for(var A in v)E[A]=v[A];return E}function FN(){}var TN=.7,pK=1/TN,Jx="\\s*([+-]?\\d+)\\s*",SN="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",qp="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",iGn=/^#([0-9a-f]{3,8})$/,rGn=new RegExp(`^rgb\\(${Jx},${Jx},${Jx}\\)$`),cGn=new RegExp(`^rgb\\(${qp},${qp},${qp}\\)$`),uGn=new RegExp(`^rgba\\(${Jx},${Jx},${Jx},${SN}\\)$`),oGn=new RegExp(`^rgba\\(${qp},${qp},${qp},${SN}\\)$`),sGn=new RegExp(`^hsl\\(${SN},${qp},${qp}\\)$`),fGn=new RegExp(`^hsla\\(${SN},${qp},${qp},${SN}\\)$`),Ghn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};I2e(FN,fk,{copy(d){return Object.assign(new this.constructor,this,d)},displayable(){return this.rgb().displayable()},hex:Hhn,formatHex:Hhn,formatHex8:lGn,formatHsl:hGn,formatRgb:qhn,toString:qhn});function Hhn(){return this.rgb().formatHex()}function lGn(){return this.rgb().formatHex8()}function hGn(){return d1n(this).formatHsl()}function qhn(){return this.rgb().formatRgb()}function fk(d){var v,E;return d=(d+"").trim().toLowerCase(),(v=iGn.exec(d))?(E=v[1].length,v=parseInt(v[1],16),E===6?zhn(v):E===3?new Ad(v>>8&15|v>>4&240,v>>4&15|v&240,(v&15)<<4|v&15,1):E===8?YX(v>>24&255,v>>16&255,v>>8&255,(v&255)/255):E===4?YX(v>>12&15|v>>8&240,v>>8&15|v>>4&240,v>>4&15|v&240,((v&15)<<4|v&15)/255):null):(v=rGn.exec(d))?new Ad(v[1],v[2],v[3],1):(v=cGn.exec(d))?new Ad(v[1]*255/100,v[2]*255/100,v[3]*255/100,1):(v=uGn.exec(d))?YX(v[1],v[2],v[3],v[4]):(v=oGn.exec(d))?YX(v[1]*255/100,v[2]*255/100,v[3]*255/100,v[4]):(v=sGn.exec(d))?Khn(v[1],v[2]/100,v[3]/100,1):(v=fGn.exec(d))?Khn(v[1],v[2]/100,v[3]/100,v[4]):Ghn.hasOwnProperty(d)?zhn(Ghn[d]):d==="transparent"?new Ad(NaN,NaN,NaN,0):null}function zhn(d){return new Ad(d>>16&255,d>>8&255,d&255,1)}function YX(d,v,E,A){return A<=0&&(d=v=E=NaN),new Ad(d,v,E,A)}function aGn(d){return d instanceof FN||(d=fk(d)),d?(d=d.rgb(),new Ad(d.r,d.g,d.b,d.opacity)):new Ad}function d2e(d,v,E,A){return arguments.length===1?aGn(d):new Ad(d,v,E,A??1)}function Ad(d,v,E,A){this.r=+d,this.g=+v,this.b=+E,this.opacity=+A}I2e(Ad,d2e,a1n(FN,{brighter(d){return d=d==null?pK:Math.pow(pK,d),new Ad(this.r*d,this.g*d,this.b*d,this.opacity)},darker(d){return d=d==null?TN:Math.pow(TN,d),new Ad(this.r*d,this.g*d,this.b*d,this.opacity)},rgb(){return this},clamp(){return new Ad(ok(this.r),ok(this.g),ok(this.b),mK(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Uhn,formatHex:Uhn,formatHex8:dGn,formatRgb:Xhn,toString:Xhn}));function Uhn(){return`#${uk(this.r)}${uk(this.g)}${uk(this.b)}`}function dGn(){return`#${uk(this.r)}${uk(this.g)}${uk(this.b)}${uk((isNaN(this.opacity)?1:this.opacity)*255)}`}function Xhn(){const d=mK(this.opacity);return`${d===1?"rgb(":"rgba("}${ok(this.r)}, ${ok(this.g)}, ${ok(this.b)}${d===1?")":`, ${d})`}`}function mK(d){return isNaN(d)?1:Math.max(0,Math.min(1,d))}function ok(d){return Math.max(0,Math.min(255,Math.round(d)||0))}function uk(d){return d=ok(d),(d<16?"0":"")+d.toString(16)}function Khn(d,v,E,A){return A<=0?d=v=E=NaN:E<=0||E>=1?d=v=NaN:v<=0&&(d=NaN),new n2(d,v,E,A)}function d1n(d){if(d instanceof n2)return new n2(d.h,d.s,d.l,d.opacity);if(d instanceof FN||(d=fk(d)),!d)return new n2;if(d instanceof n2)return d;d=d.rgb();var v=d.r/255,E=d.g/255,A=d.b/255,M=Math.min(v,E,A),P=Math.max(v,E,A),m=NaN,L=P-M,H=(P+M)/2;return L?(v===P?m=(E-A)/L+(E<A)*6:E===P?m=(A-v)/L+2:m=(v-E)/L+4,L/=H<.5?P+M:2-P-M,m*=60):L=H>0&&H<1?0:m,new n2(m,L,H,d.opacity)}function bGn(d,v,E,A){return arguments.length===1?d1n(d):new n2(d,v,E,A??1)}function n2(d,v,E,A){this.h=+d,this.s=+v,this.l=+E,this.opacity=+A}I2e(n2,bGn,a1n(FN,{brighter(d){return d=d==null?pK:Math.pow(pK,d),new n2(this.h,this.s,this.l*d,this.opacity)},darker(d){return d=d==null?TN:Math.pow(TN,d),new n2(this.h,this.s,this.l*d,this.opacity)},rgb(){var d=this.h%360+(this.h<0)*360,v=isNaN(d)||isNaN(this.s)?0:this.s,E=this.l,A=E+(E<.5?E:1-E)*v,M=2*E-A;return new Ad(t2e(d>=240?d-240:d+120,M,A),t2e(d,M,A),t2e(d<120?d+240:d-120,M,A),this.opacity)},clamp(){return new n2(Whn(this.h),ZX(this.s),ZX(this.l),mK(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const d=mK(this.opacity);return`${d===1?"hsl(":"hsla("}${Whn(this.h)}, ${ZX(this.s)*100}%, ${ZX(this.l)*100}%${d===1?")":`, ${d})`}`}}));function Whn(d){return d=(d||0)%360,d<0?d+360:d}function ZX(d){return Math.max(0,Math.min(1,d||0))}function t2e(d,v,E){return(d<60?v+(E-v)*d/60:d<180?E:d<240?v+(E-v)*(240-d)/60:v)*255}const P2e=d=>()=>d;function wGn(d,v){return function(E){return d+E*v}}function gGn(d,v,E){return d=Math.pow(d,E),v=Math.pow(v,E)-d,E=1/E,function(A){return Math.pow(d+A*v,E)}}function pGn(d){return(d=+d)==1?b1n:function(v,E){return E-v?gGn(v,E,d):P2e(isNaN(v)?E:v)}}function b1n(d,v){var E=v-d;return E?wGn(d,E):P2e(isNaN(d)?v:d)}const vK=(function d(v){var E=pGn(v);function A(M,P){var m=E((M=d2e(M)).r,(P=d2e(P)).r),L=E(M.g,P.g),H=E(M.b,P.b),U=b1n(M.opacity,P.opacity);return function(Q){return M.r=m(Q),M.g=L(Q),M.b=H(Q),M.opacity=U(Q),M+""}}return A.gamma=d,A})(1);function mGn(d,v){v||(v=[]);var E=d?Math.min(v.length,d.length):0,A=v.slice(),M;return function(P){for(M=0;M<E;++M)A[M]=d[M]*(1-P)+v[M]*P;return A}}function vGn(d){return ArrayBuffer.isView(d)&&!(d instanceof DataView)}function yGn(d,v){var E=v?v.length:0,A=d?Math.min(E,d.length):0,M=new Array(A),P=new Array(E),m;for(m=0;m<A;++m)M[m]=xN(d[m],v[m]);for(;m<E;++m)P[m]=v[m];return function(L){for(m=0;m<A;++m)P[m]=M[m](L);return P}}function kGn(d,v){var E=new Date;return d=+d,v=+v,function(A){return E.setTime(d*(1-A)+v*A),E}}function Hp(d,v){return d=+d,v=+v,function(E){return d*(1-E)+v*E}}function EGn(d,v){var E={},A={},M;(d===null||typeof d!="object")&&(d={}),(v===null||typeof v!="object")&&(v={});for(M in v)M in d?E[M]=xN(d[M],v[M]):A[M]=v[M];return function(P){for(M in E)A[M]=E[M](P);return A}}var b2e=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,i2e=new RegExp(b2e.source,"g");function jGn(d){return function(){return d}}function xGn(d){return function(v){return d(v)+""}}function w1n(d,v){var E=b2e.lastIndex=i2e.lastIndex=0,A,M,P,m=-1,L=[],H=[];for(d=d+"",v=v+"";(A=b2e.exec(d))&&(M=i2e.exec(v));)(P=M.index)>E&&(P=v.slice(E,P),L[m]?L[m]+=P:L[++m]=P),(A=A[0])===(M=M[0])?L[m]?L[m]+=M:L[++m]=M:(L[++m]=null,H.push({i:m,x:Hp(A,M)})),E=i2e.lastIndex;return E<v.length&&(P=v.slice(E),L[m]?L[m]+=P:L[++m]=P),L.length<2?H[0]?xGn(H[0].x):jGn(v):(v=H.length,function(U){for(var Q=0,Y;Q<v;++Q)L[(Y=H[Q]).i]=Y.x(U);return L.join("")})}function xN(d,v){var E=typeof v,A;return v==null||E==="boolean"?P2e(v):(E==="number"?Hp:E==="string"?(A=fk(v))?(v=A,vK):w1n:v instanceof fk?vK:v instanceof Date?kGn:vGn(v)?mGn:Array.isArray(v)?yGn:typeof v.valueOf!="function"&&typeof v.toString!="function"||isNaN(v)?EGn:Hp)(d,v)}var Vhn=180/Math.PI,w2e={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function g1n(d,v,E,A,M,P){var m,L,H;return(m=Math.sqrt(d*d+v*v))&&(d/=m,v/=m),(H=d*E+v*A)&&(E-=d*H,A-=v*H),(L=Math.sqrt(E*E+A*A))&&(E/=L,A/=L,H/=L),d*A<v*E&&(d=-d,v=-v,H=-H,m=-m),{translateX:M,translateY:P,rotate:Math.atan2(v,d)*Vhn,skewX:Math.atan(H)*Vhn,scaleX:m,scaleY:L}}var eK;function AGn(d){const v=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(d+"");return v.isIdentity?w2e:g1n(v.a,v.b,v.c,v.d,v.e,v.f)}function MGn(d){return d==null||(eK||(eK=document.createElementNS("http://www.w3.org/2000/svg","g")),eK.setAttribute("transform",d),!(d=eK.transform.baseVal.consolidate()))?w2e:(d=d.matrix,g1n(d.a,d.b,d.c,d.d,d.e,d.f))}function p1n(d,v,E,A){function M(U){return U.length?U.pop()+" ":""}function P(U,Q,Y,G,V,te){if(U!==Y||Q!==G){var X=V.push("translate(",null,v,null,E);te.push({i:X-4,x:Hp(U,Y)},{i:X-2,x:Hp(Q,G)})}else(Y||G)&&V.push("translate("+Y+v+G+E)}function m(U,Q,Y,G){U!==Q?(U-Q>180?Q+=360:Q-U>180&&(U+=360),G.push({i:Y.push(M(Y)+"rotate(",null,A)-2,x:Hp(U,Q)})):Q&&Y.push(M(Y)+"rotate("+Q+A)}function L(U,Q,Y,G){U!==Q?G.push({i:Y.push(M(Y)+"skewX(",null,A)-2,x:Hp(U,Q)}):Q&&Y.push(M(Y)+"skewX("+Q+A)}function H(U,Q,Y,G,V,te){if(U!==Y||Q!==G){var X=V.push(M(V)+"scale(",null,",",null,")");te.push({i:X-4,x:Hp(U,Y)},{i:X-2,x:Hp(Q,G)})}else(Y!==1||G!==1)&&V.push(M(V)+"scale("+Y+","+G+")")}return function(U,Q){var Y=[],G=[];return U=d(U),Q=d(Q),P(U.translateX,U.translateY,Q.translateX,Q.translateY,Y,G),m(U.rotate,Q.rotate,Y,G),L(U.skewX,Q.skewX,Y,G),H(U.scaleX,U.scaleY,Q.scaleX,Q.scaleY,Y,G),U=Q=null,function(V){for(var te=-1,X=G.length,Ee;++te<X;)Y[(Ee=G[te]).i]=Ee.x(V);return Y.join("")}}}var CGn=p1n(AGn,"px, ","px)","deg)"),TGn=p1n(MGn,", ",")",")"),SGn=1e-12;function Qhn(d){return((d=Math.exp(d))+1/d)/2}function IGn(d){return((d=Math.exp(d))-1/d)/2}function PGn(d){return((d=Math.exp(2*d))-1)/(d+1)}const fK=(function d(v,E,A){function M(P,m){var L=P[0],H=P[1],U=P[2],Q=m[0],Y=m[1],G=m[2],V=Q-L,te=Y-H,X=V*V+te*te,Ee,ue;if(X<SGn)ue=Math.log(G/U)/v,Ee=function(Ye){return[L+Ye*V,H+Ye*te,U*Math.exp(v*Ye*ue)]};else{var ge=Math.sqrt(X),re=(G*G-U*U+A*X)/(2*U*E*ge),je=(G*G-U*U-A*X)/(2*G*E*ge),Ke=Math.log(Math.sqrt(re*re+1)-re),Xe=Math.log(Math.sqrt(je*je+1)-je);ue=(Xe-Ke)/v,Ee=function(Ye){var kn=Ye*ue,En=Qhn(Ke),Zn=U/(E*ge)*(En*PGn(v*kn+Ke)-IGn(Ke));return[L+Zn*V,H+Zn*te,U*En/Qhn(v*kn+Ke)]}}return Ee.duration=ue*1e3*v/Math.SQRT2,Ee}return M.rho=function(P){var m=Math.max(.001,+P),L=m*m,H=L*L;return d(m,L,H)},M})(Math.SQRT2,2,4);var Hx=0,kN=0,vN=0,m1n=1e3,yK,EN,kK=0,lk=0,SK=0,IN=typeof performance=="object"&&performance.now?performance:Date,v1n=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(d){setTimeout(d,17)};function O2e(){return lk||(v1n(OGn),lk=IN.now()+SK)}function OGn(){lk=0}function EK(){this._call=this._time=this._next=null}EK.prototype=y1n.prototype={constructor:EK,restart:function(d,v,E){if(typeof d!="function")throw new TypeError("callback is not a function");E=(E==null?O2e():+E)+(v==null?0:+v),!this._next&&EN!==this&&(EN?EN._next=this:yK=this,EN=this),this._call=d,this._time=E,g2e()},stop:function(){this._call&&(this._call=null,this._time=1/0,g2e())}};function y1n(d,v,E){var A=new EK;return A.restart(d,v,E),A}function NGn(){O2e(),++Hx;for(var d=yK,v;d;)(v=lk-d._time)>=0&&d._call.call(void 0,v),d=d._next;--Hx}function Yhn(){lk=(kK=IN.now())+SK,Hx=kN=0;try{NGn()}finally{Hx=0,DGn(),lk=0}}function $Gn(){var d=IN.now(),v=d-kK;v>m1n&&(SK-=v,kK=d)}function DGn(){for(var d,v=yK,E,A=1/0;v;)v._call?(A>v._time&&(A=v._time),d=v,v=v._next):(E=v._next,v._next=null,v=d?d._next=E:yK=E);EN=d,g2e(A)}function g2e(d){if(!Hx){kN&&(kN=clearTimeout(kN));var v=d-lk;v>24?(d<1/0&&(kN=setTimeout(Yhn,d-IN.now()-SK)),vN&&(vN=clearInterval(vN))):(vN||(kK=IN.now(),vN=setInterval($Gn,m1n)),Hx=1,v1n(Yhn))}}function Zhn(d,v,E){var A=new EK;return v=v==null?0:+v,A.restart(M=>{A.stop(),d(M+v)},v,E),A}var LGn=CK("start","end","cancel","interrupt"),_Gn=[],k1n=0,ean=1,p2e=2,lK=3,nan=4,m2e=5,hK=6;function IK(d,v,E,A,M,P){var m=d.__transition;if(!m)d.__transition={};else if(E in m)return;FGn(d,E,{name:v,index:A,group:M,on:LGn,tween:_Gn,time:P.time,delay:P.delay,duration:P.duration,ease:P.ease,timer:null,state:k1n})}function N2e(d,v){var E=u2(d,v);if(E.state>k1n)throw new Error("too late; already scheduled");return E}function zp(d,v){var E=u2(d,v);if(E.state>lK)throw new Error("too late; already running");return E}function u2(d,v){var E=d.__transition;if(!E||!(E=E[v]))throw new Error("transition not found");return E}function FGn(d,v,E){var A=d.__transition,M;A[v]=E,E.timer=y1n(P,0,E.time);function P(U){E.state=ean,E.timer.restart(m,E.delay,E.time),E.delay<=U&&m(U-E.delay)}function m(U){var Q,Y,G,V;if(E.state!==ean)return H();for(Q in A)if(V=A[Q],V.name===E.name){if(V.state===lK)return Zhn(m);V.state===nan?(V.state=hK,V.timer.stop(),V.on.call("interrupt",d,d.__data__,V.index,V.group),delete A[Q]):+Q<v&&(V.state=hK,V.timer.stop(),V.on.call("cancel",d,d.__data__,V.index,V.group),delete A[Q])}if(Zhn(function(){E.state===lK&&(E.state=nan,E.timer.restart(L,E.delay,E.time),L(U))}),E.state=p2e,E.on.call("start",d,d.__data__,E.index,E.group),E.state===p2e){for(E.state=lK,M=new Array(G=E.tween.length),Q=0,Y=-1;Q<G;++Q)(V=E.tween[Q].value.call(d,d.__data__,E.index,E.group))&&(M[++Y]=V);M.length=Y+1}}function L(U){for(var Q=U<E.duration?E.ease.call(null,U/E.duration):(E.timer.restart(H),E.state=m2e,1),Y=-1,G=M.length;++Y<G;)M[Y].call(d,Q);E.state===m2e&&(E.on.call("end",d,d.__data__,E.index,E.group),H())}function H(){E.state=hK,E.timer.stop(),delete A[v];for(var U in A)return;delete d.__transition}}function aK(d,v){var E=d.__transition,A,M,P=!0,m;if(E){v=v==null?null:v+"";for(m in E){if((A=E[m]).name!==v){P=!1;continue}M=A.state>p2e&&A.state<m2e,A.state=hK,A.timer.stop(),A.on.call(M?"interrupt":"cancel",d,d.__data__,A.index,A.group),delete E[m]}P&&delete d.__transition}}function RGn(d){return this.each(function(){aK(this,d)})}function BGn(d,v){var E,A;return function(){var M=zp(this,d),P=M.tween;if(P!==E){A=E=P;for(var m=0,L=A.length;m<L;++m)if(A[m].name===v){A=A.slice(),A.splice(m,1);break}}M.tween=A}}function JGn(d,v,E){var A,M;if(typeof E!="function")throw new Error;return function(){var P=zp(this,d),m=P.tween;if(m!==A){M=(A=m).slice();for(var L={name:v,value:E},H=0,U=M.length;H<U;++H)if(M[H].name===v){M[H]=L;break}H===U&&M.push(L)}P.tween=M}}function GGn(d,v){var E=this._id;if(d+="",arguments.length<2){for(var A=u2(this.node(),E).tween,M=0,P=A.length,m;M<P;++M)if((m=A[M]).name===d)return m.value;return null}return this.each((v==null?BGn:JGn)(E,d,v))}function $2e(d,v,E){var A=d._id;return d.each(function(){var M=zp(this,A);(M.value||(M.value={}))[v]=E.apply(this,arguments)}),function(M){return u2(M,A).value[v]}}function E1n(d,v){var E;return(typeof v=="number"?Hp:v instanceof fk?vK:(E=fk(v))?(v=E,vK):w1n)(d,v)}function HGn(d){return function(){this.removeAttribute(d)}}function qGn(d){return function(){this.removeAttributeNS(d.space,d.local)}}function zGn(d,v,E){var A,M=E+"",P;return function(){var m=this.getAttribute(d);return m===M?null:m===A?P:P=v(A=m,E)}}function UGn(d,v,E){var A,M=E+"",P;return function(){var m=this.getAttributeNS(d.space,d.local);return m===M?null:m===A?P:P=v(A=m,E)}}function XGn(d,v,E){var A,M,P;return function(){var m,L=E(this),H;return L==null?void this.removeAttribute(d):(m=this.getAttribute(d),H=L+"",m===H?null:m===A&&H===M?P:(M=H,P=v(A=m,L)))}}function KGn(d,v,E){var A,M,P;return function(){var m,L=E(this),H;return L==null?void this.removeAttributeNS(d.space,d.local):(m=this.getAttributeNS(d.space,d.local),H=L+"",m===H?null:m===A&&H===M?P:(M=H,P=v(A=m,L)))}}function WGn(d,v){var E=TK(d),A=E==="transform"?TGn:E1n;return this.attrTween(d,typeof v=="function"?(E.local?KGn:XGn)(E,A,$2e(this,"attr."+d,v)):v==null?(E.local?qGn:HGn)(E):(E.local?UGn:zGn)(E,A,v))}function VGn(d,v){return function(E){this.setAttribute(d,v.call(this,E))}}function QGn(d,v){return function(E){this.setAttributeNS(d.space,d.local,v.call(this,E))}}function YGn(d,v){var E,A;function M(){var P=v.apply(this,arguments);return P!==A&&(E=(A=P)&&QGn(d,P)),E}return M._value=v,M}function ZGn(d,v){var E,A;function M(){var P=v.apply(this,arguments);return P!==A&&(E=(A=P)&&VGn(d,P)),E}return M._value=v,M}function eHn(d,v){var E="attr."+d;if(arguments.length<2)return(E=this.tween(E))&&E._value;if(v==null)return this.tween(E,null);if(typeof v!="function")throw new Error;var A=TK(d);return this.tween(E,(A.local?YGn:ZGn)(A,v))}function nHn(d,v){return function(){N2e(this,d).delay=+v.apply(this,arguments)}}function tHn(d,v){return v=+v,function(){N2e(this,d).delay=v}}function iHn(d){var v=this._id;return arguments.length?this.each((typeof d=="function"?nHn:tHn)(v,d)):u2(this.node(),v).delay}function rHn(d,v){return function(){zp(this,d).duration=+v.apply(this,arguments)}}function cHn(d,v){return v=+v,function(){zp(this,d).duration=v}}function uHn(d){var v=this._id;return arguments.length?this.each((typeof d=="function"?rHn:cHn)(v,d)):u2(this.node(),v).duration}function oHn(d,v){if(typeof v!="function")throw new Error;return function(){zp(this,d).ease=v}}function sHn(d){var v=this._id;return arguments.length?this.each(oHn(v,d)):u2(this.node(),v).ease}function fHn(d,v){return function(){var E=v.apply(this,arguments);if(typeof E!="function")throw new Error;zp(this,d).ease=E}}function lHn(d){if(typeof d!="function")throw new Error;return this.each(fHn(this._id,d))}function hHn(d){typeof d!="function"&&(d=Zan(d));for(var v=this._groups,E=v.length,A=new Array(E),M=0;M<E;++M)for(var P=v[M],m=P.length,L=A[M]=[],H,U=0;U<m;++U)(H=P[U])&&d.call(H,H.__data__,U,P)&&L.push(H);return new Q3(A,this._parents,this._name,this._id)}function aHn(d){if(d._id!==this._id)throw new Error;for(var v=this._groups,E=d._groups,A=v.length,M=E.length,P=Math.min(A,M),m=new Array(A),L=0;L<P;++L)for(var H=v[L],U=E[L],Q=H.length,Y=m[L]=new Array(Q),G,V=0;V<Q;++V)(G=H[V]||U[V])&&(Y[V]=G);for(;L<A;++L)m[L]=v[L];return new Q3(m,this._parents,this._name,this._id)}function dHn(d){return(d+"").trim().split(/^|\s+/).every(function(v){var E=v.indexOf(".");return E>=0&&(v=v.slice(0,E)),!v||v==="start"})}function bHn(d,v,E){var A,M,P=dHn(v)?N2e:zp;return function(){var m=P(this,d),L=m.on;L!==A&&(M=(A=L).copy()).on(v,E),m.on=M}}function wHn(d,v){var E=this._id;return arguments.length<2?u2(this.node(),E).on.on(d):this.each(bHn(E,d,v))}function gHn(d){return function(){var v=this.parentNode;for(var E in this.__transition)if(+E!==d)return;v&&v.removeChild(this)}}function pHn(){return this.on("end.remove",gHn(this._id))}function mHn(d){var v=this._name,E=this._id;typeof d!="function"&&(d=T2e(d));for(var A=this._groups,M=A.length,P=new Array(M),m=0;m<M;++m)for(var L=A[m],H=L.length,U=P[m]=new Array(H),Q,Y,G=0;G<H;++G)(Q=L[G])&&(Y=d.call(Q,Q.__data__,G,L))&&("__data__"in Q&&(Y.__data__=Q.__data__),U[G]=Y,IK(U[G],v,E,G,U,u2(Q,E)));return new Q3(P,this._parents,v,E)}function vHn(d){var v=this._name,E=this._id;typeof d!="function"&&(d=Yan(d));for(var A=this._groups,M=A.length,P=[],m=[],L=0;L<M;++L)for(var H=A[L],U=H.length,Q,Y=0;Y<U;++Y)if(Q=H[Y]){for(var G=d.call(Q,Q.__data__,Y,H),V,te=u2(Q,E),X=0,Ee=G.length;X<Ee;++X)(V=G[X])&&IK(V,v,E,X,G,te);P.push(G),m.push(Q)}return new Q3(P,m,v,E)}var yHn=_N.prototype.constructor;function kHn(){return new yHn(this._groups,this._parents)}function EHn(d,v){var E,A,M;return function(){var P=Gx(this,d),m=(this.style.removeProperty(d),Gx(this,d));return P===m?null:P===E&&m===A?M:M=v(E=P,A=m)}}function j1n(d){return function(){this.style.removeProperty(d)}}function jHn(d,v,E){var A,M=E+"",P;return function(){var m=Gx(this,d);return m===M?null:m===A?P:P=v(A=m,E)}}function xHn(d,v,E){var A,M,P;return function(){var m=Gx(this,d),L=E(this),H=L+"";return L==null&&(H=L=(this.style.removeProperty(d),Gx(this,d))),m===H?null:m===A&&H===M?P:(M=H,P=v(A=m,L))}}function AHn(d,v){var E,A,M,P="style."+v,m="end."+P,L;return function(){var H=zp(this,d),U=H.on,Q=H.value[P]==null?L||(L=j1n(v)):void 0;(U!==E||M!==Q)&&(A=(E=U).copy()).on(m,M=Q),H.on=A}}function MHn(d,v,E){var A=(d+="")=="transform"?CGn:E1n;return v==null?this.styleTween(d,EHn(d,A)).on("end.style."+d,j1n(d)):typeof v=="function"?this.styleTween(d,xHn(d,A,$2e(this,"style."+d,v))).each(AHn(this._id,d)):this.styleTween(d,jHn(d,A,v),E).on("end.style."+d,null)}function CHn(d,v,E){return function(A){this.style.setProperty(d,v.call(this,A),E)}}function THn(d,v,E){var A,M;function P(){var m=v.apply(this,arguments);return m!==M&&(A=(M=m)&&CHn(d,m,E)),A}return P._value=v,P}function SHn(d,v,E){var A="style."+(d+="");if(arguments.length<2)return(A=this.tween(A))&&A._value;if(v==null)return this.tween(A,null);if(typeof v!="function")throw new Error;return this.tween(A,THn(d,v,E??""))}function IHn(d){return function(){this.textContent=d}}function PHn(d){return function(){var v=d(this);this.textContent=v??""}}function OHn(d){return this.tween("text",typeof d=="function"?PHn($2e(this,"text",d)):IHn(d==null?"":d+""))}function NHn(d){return function(v){this.textContent=d.call(this,v)}}function $Hn(d){var v,E;function A(){var M=d.apply(this,arguments);return M!==E&&(v=(E=M)&&NHn(M)),v}return A._value=d,A}function DHn(d){var v="text";if(arguments.length<1)return(v=this.tween(v))&&v._value;if(d==null)return this.tween(v,null);if(typeof d!="function")throw new Error;return this.tween(v,$Hn(d))}function LHn(){for(var d=this._name,v=this._id,E=x1n(),A=this._groups,M=A.length,P=0;P<M;++P)for(var m=A[P],L=m.length,H,U=0;U<L;++U)if(H=m[U]){var Q=u2(H,v);IK(H,d,E,U,m,{time:Q.time+Q.delay+Q.duration,delay:0,duration:Q.duration,ease:Q.ease})}return new Q3(A,this._parents,d,E)}function _Hn(){var d,v,E=this,A=E._id,M=E.size();return new Promise(function(P,m){var L={value:m},H={value:function(){--M===0&&P()}};E.each(function(){var U=zp(this,A),Q=U.on;Q!==d&&(v=(d=Q).copy(),v._.cancel.push(L),v._.interrupt.push(L),v._.end.push(H)),U.on=v}),M===0&&P()})}var FHn=0;function Q3(d,v,E,A){this._groups=d,this._parents=v,this._name=E,this._id=A}function x1n(){return++FHn}var K3=_N.prototype;Q3.prototype={constructor:Q3,select:mHn,selectAll:vHn,selectChild:K3.selectChild,selectChildren:K3.selectChildren,filter:hHn,merge:aHn,selection:kHn,transition:LHn,call:K3.call,nodes:K3.nodes,node:K3.node,size:K3.size,empty:K3.empty,each:K3.each,on:wHn,attr:WGn,attrTween:eHn,style:MHn,styleTween:SHn,text:OHn,textTween:DHn,remove:pHn,tween:GGn,delay:iHn,duration:uHn,ease:sHn,easeVarying:lHn,end:_Hn,[Symbol.iterator]:K3[Symbol.iterator]};function RHn(d){return((d*=2)<=1?d*d*d:(d-=2)*d*d+2)/2}var BHn={time:null,delay:0,duration:250,ease:RHn};function JHn(d,v){for(var E;!(E=d.__transition)||!(E=E[v]);)if(!(d=d.parentNode))throw new Error(`transition ${v} not found`);return E}function GHn(d){var v,E;d instanceof Q3?(v=d._id,d=d._name):(v=x1n(),(E=BHn).time=O2e(),d=d==null?null:d+"");for(var A=this._groups,M=A.length,P=0;P<M;++P)for(var m=A[P],L=m.length,H,U=0;U<L;++U)(H=m[U])&&IK(H,d,v,U,m,E||JHn(H,v));return new Q3(A,this._parents,d,v)}_N.prototype.interrupt=RGn;_N.prototype.transition=GHn;const nK=d=>()=>d;function HHn(d,{sourceEvent:v,target:E,transform:A,dispatch:M}){Object.defineProperties(this,{type:{value:d,enumerable:!0,configurable:!0},sourceEvent:{value:v,enumerable:!0,configurable:!0},target:{value:E,enumerable:!0,configurable:!0},transform:{value:A,enumerable:!0,configurable:!0},_:{value:M}})}function W3(d,v,E){this.k=d,this.x=v,this.y=E}W3.prototype={constructor:W3,scale:function(d){return d===1?this:new W3(this.k*d,this.x,this.y)},translate:function(d,v){return d===0&v===0?this:new W3(this.k,this.x+this.k*d,this.y+this.k*v)},apply:function(d){return[d[0]*this.k+this.x,d[1]*this.k+this.y]},applyX:function(d){return d*this.k+this.x},applyY:function(d){return d*this.k+this.y},invert:function(d){return[(d[0]-this.x)/this.k,(d[1]-this.y)/this.k]},invertX:function(d){return(d-this.x)/this.k},invertY:function(d){return(d-this.y)/this.k},rescaleX:function(d){return d.copy().domain(d.range().map(this.invertX,this).map(d.invert,d))},rescaleY:function(d){return d.copy().domain(d.range().map(this.invertY,this).map(d.invert,d))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var PK=new W3(1,0,0);A1n.prototype=W3.prototype;function A1n(d){for(;!d.__zoom;)if(!(d=d.parentNode))return PK;return d.__zoom}function r2e(d){d.stopImmediatePropagation()}function yN(d){d.preventDefault(),d.stopImmediatePropagation()}function qHn(d){return(!d.ctrlKey||d.type==="wheel")&&!d.button}function zHn(){var d=this;return d instanceof SVGElement?(d=d.ownerSVGElement||d,d.hasAttribute("viewBox")?(d=d.viewBox.baseVal,[[d.x,d.y],[d.x+d.width,d.y+d.height]]):[[0,0],[d.width.baseVal.value,d.height.baseVal.value]]):[[0,0],[d.clientWidth,d.clientHeight]]}function tan(){return this.__zoom||PK}function UHn(d){return-d.deltaY*(d.deltaMode===1?.05:d.deltaMode?1:.002)*(d.ctrlKey?10:1)}function XHn(){return navigator.maxTouchPoints||"ontouchstart"in this}function KHn(d,v,E){var A=d.invertX(v[0][0])-E[0][0],M=d.invertX(v[1][0])-E[1][0],P=d.invertY(v[0][1])-E[0][1],m=d.invertY(v[1][1])-E[1][1];return d.translate(M>A?(A+M)/2:Math.min(0,A)||Math.max(0,M),m>P?(P+m)/2:Math.min(0,P)||Math.max(0,m))}function M1n(){var d=qHn,v=zHn,E=KHn,A=UHn,M=XHn,P=[0,1/0],m=[[-1/0,-1/0],[1/0,1/0]],L=250,H=fK,U=CK("start","zoom","end"),Q,Y,G,V=500,te=150,X=0,Ee=10;function ue(xe){xe.property("__zoom",tan).on("wheel.zoom",kn,{passive:!1}).on("mousedown.zoom",En).on("dblclick.zoom",Zn).filter(M).on("touchstart.zoom",Ln).on("touchmove.zoom",Vn).on("touchend.zoom touchcancel.zoom",J).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}ue.transform=function(xe,on,rn,Sn){var Fn=xe.selection?xe.selection():xe;Fn.property("__zoom",tan),xe!==Fn?Ke(xe,on,rn,Sn):Fn.interrupt().each(function(){Xe(this,arguments).event(Sn).start().zoom(null,typeof on=="function"?on.apply(this,arguments):on).end()})},ue.scaleBy=function(xe,on,rn,Sn){ue.scaleTo(xe,function(){var Fn=this.__zoom.k,dn=typeof on=="function"?on.apply(this,arguments):on;return Fn*dn},rn,Sn)},ue.scaleTo=function(xe,on,rn,Sn){ue.transform(xe,function(){var Fn=v.apply(this,arguments),dn=this.__zoom,Gn=rn==null?je(Fn):typeof rn=="function"?rn.apply(this,arguments):rn,Nn=dn.invert(Gn),qn=typeof on=="function"?on.apply(this,arguments):on;return E(re(ge(dn,qn),Gn,Nn),Fn,m)},rn,Sn)},ue.translateBy=function(xe,on,rn,Sn){ue.transform(xe,function(){return E(this.__zoom.translate(typeof on=="function"?on.apply(this,arguments):on,typeof rn=="function"?rn.apply(this,arguments):rn),v.apply(this,arguments),m)},null,Sn)},ue.translateTo=function(xe,on,rn,Sn,Fn){ue.transform(xe,function(){var dn=v.apply(this,arguments),Gn=this.__zoom,Nn=Sn==null?je(dn):typeof Sn=="function"?Sn.apply(this,arguments):Sn;return E(PK.translate(Nn[0],Nn[1]).scale(Gn.k).translate(typeof on=="function"?-on.apply(this,arguments):-on,typeof rn=="function"?-rn.apply(this,arguments):-rn),dn,m)},Sn,Fn)};function ge(xe,on){return on=Math.max(P[0],Math.min(P[1],on)),on===xe.k?xe:new W3(on,xe.x,xe.y)}function re(xe,on,rn){var Sn=on[0]-rn[0]*xe.k,Fn=on[1]-rn[1]*xe.k;return Sn===xe.x&&Fn===xe.y?xe:new W3(xe.k,Sn,Fn)}function je(xe){return[(+xe[0][0]+ +xe[1][0])/2,(+xe[0][1]+ +xe[1][1])/2]}function Ke(xe,on,rn,Sn){xe.on("start.zoom",function(){Xe(this,arguments).event(Sn).start()}).on("interrupt.zoom end.zoom",function(){Xe(this,arguments).event(Sn).end()}).tween("zoom",function(){var Fn=this,dn=arguments,Gn=Xe(Fn,dn).event(Sn),Nn=v.apply(Fn,dn),qn=rn==null?je(Nn):typeof rn=="function"?rn.apply(Fn,dn):rn,Jt=Math.max(Nn[1][0]-Nn[0][0],Nn[1][1]-Nn[0][1]),Kt=Fn.__zoom,Oi=typeof on=="function"?on.apply(Fn,dn):on,gr=H(Kt.invert(qn).concat(Jt/Kt.k),Oi.invert(qn).concat(Jt/Oi.k));return function(Ki){if(Ki===1)Ki=Oi;else{var Kn=gr(Ki),ei=Jt/Kn[2];Ki=new W3(ei,qn[0]-Kn[0]*ei,qn[1]-Kn[1]*ei)}Gn.zoom(null,Ki)}})}function Xe(xe,on,rn){return!rn&&xe.__zooming||new Ye(xe,on)}function Ye(xe,on){this.that=xe,this.args=on,this.active=0,this.sourceEvent=null,this.extent=v.apply(xe,on),this.taps=0}Ye.prototype={event:function(xe){return xe&&(this.sourceEvent=xe),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(xe,on){return this.mouse&&xe!=="mouse"&&(this.mouse[1]=on.invert(this.mouse[0])),this.touch0&&xe!=="touch"&&(this.touch0[1]=on.invert(this.touch0[0])),this.touch1&&xe!=="touch"&&(this.touch1[1]=on.invert(this.touch1[0])),this.that.__zoom=on,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(xe){var on=_0(this.that).datum();U.call(xe,this.that,new HHn(xe,{sourceEvent:this.sourceEvent,target:ue,transform:this.that.__zoom,dispatch:U}),on)}};function kn(xe,...on){if(!d.apply(this,arguments))return;var rn=Xe(this,on).event(xe),Sn=this.__zoom,Fn=Math.max(P[0],Math.min(P[1],Sn.k*Math.pow(2,A.apply(this,arguments)))),dn=e2(xe);if(rn.wheel)(rn.mouse[0][0]!==dn[0]||rn.mouse[0][1]!==dn[1])&&(rn.mouse[1]=Sn.invert(rn.mouse[0]=dn)),clearTimeout(rn.wheel);else{if(Sn.k===Fn)return;rn.mouse=[dn,Sn.invert(dn)],aK(this),rn.start()}yN(xe),rn.wheel=setTimeout(Gn,te),rn.zoom("mouse",E(re(ge(Sn,Fn),rn.mouse[0],rn.mouse[1]),rn.extent,m));function Gn(){rn.wheel=null,rn.end()}}function En(xe,...on){if(G||!d.apply(this,arguments))return;var rn=xe.currentTarget,Sn=Xe(this,on,!0).event(xe),Fn=_0(xe.view).on("mousemove.zoom",qn,!0).on("mouseup.zoom",Jt,!0),dn=e2(xe,rn),Gn=xe.clientX,Nn=xe.clientY;f1n(xe.view),r2e(xe),Sn.mouse=[dn,this.__zoom.invert(dn)],aK(this),Sn.start();function qn(Kt){if(yN(Kt),!Sn.moved){var Oi=Kt.clientX-Gn,gr=Kt.clientY-Nn;Sn.moved=Oi*Oi+gr*gr>X}Sn.event(Kt).zoom("mouse",E(re(Sn.that.__zoom,Sn.mouse[0]=e2(Kt,rn),Sn.mouse[1]),Sn.extent,m))}function Jt(Kt){Fn.on("mousemove.zoom mouseup.zoom",null),l1n(Kt.view,Sn.moved),yN(Kt),Sn.event(Kt).end()}}function Zn(xe,...on){if(d.apply(this,arguments)){var rn=this.__zoom,Sn=e2(xe.changedTouches?xe.changedTouches[0]:xe,this),Fn=rn.invert(Sn),dn=rn.k*(xe.shiftKey?.5:2),Gn=E(re(ge(rn,dn),Sn,Fn),v.apply(this,on),m);yN(xe),L>0?_0(this).transition().duration(L).call(Ke,Gn,Sn,xe):_0(this).call(ue.transform,Gn,Sn,xe)}}function Ln(xe,...on){if(d.apply(this,arguments)){var rn=xe.touches,Sn=rn.length,Fn=Xe(this,on,xe.changedTouches.length===Sn).event(xe),dn,Gn,Nn,qn;for(r2e(xe),Gn=0;Gn<Sn;++Gn)Nn=rn[Gn],qn=e2(Nn,this),qn=[qn,this.__zoom.invert(qn),Nn.identifier],Fn.touch0?!Fn.touch1&&Fn.touch0[2]!==qn[2]&&(Fn.touch1=qn,Fn.taps=0):(Fn.touch0=qn,dn=!0,Fn.taps=1+!!Q);Q&&(Q=clearTimeout(Q)),dn&&(Fn.taps<2&&(Y=qn[0],Q=setTimeout(function(){Q=null},V)),aK(this),Fn.start())}}function Vn(xe,...on){if(this.__zooming){var rn=Xe(this,on).event(xe),Sn=xe.changedTouches,Fn=Sn.length,dn,Gn,Nn,qn;for(yN(xe),dn=0;dn<Fn;++dn)Gn=Sn[dn],Nn=e2(Gn,this),rn.touch0&&rn.touch0[2]===Gn.identifier?rn.touch0[0]=Nn:rn.touch1&&rn.touch1[2]===Gn.identifier&&(rn.touch1[0]=Nn);if(Gn=rn.that.__zoom,rn.touch1){var Jt=rn.touch0[0],Kt=rn.touch0[1],Oi=rn.touch1[0],gr=rn.touch1[1],Ki=(Ki=Oi[0]-Jt[0])*Ki+(Ki=Oi[1]-Jt[1])*Ki,Kn=(Kn=gr[0]-Kt[0])*Kn+(Kn=gr[1]-Kt[1])*Kn;Gn=ge(Gn,Math.sqrt(Ki/Kn)),Nn=[(Jt[0]+Oi[0])/2,(Jt[1]+Oi[1])/2],qn=[(Kt[0]+gr[0])/2,(Kt[1]+gr[1])/2]}else if(rn.touch0)Nn=rn.touch0[0],qn=rn.touch0[1];else return;rn.zoom("touch",E(re(Gn,Nn,qn),rn.extent,m))}}function J(xe,...on){if(this.__zooming){var rn=Xe(this,on).event(xe),Sn=xe.changedTouches,Fn=Sn.length,dn,Gn;for(r2e(xe),G&&clearTimeout(G),G=setTimeout(function(){G=null},V),dn=0;dn<Fn;++dn)Gn=Sn[dn],rn.touch0&&rn.touch0[2]===Gn.identifier?delete rn.touch0:rn.touch1&&rn.touch1[2]===Gn.identifier&&delete rn.touch1;if(rn.touch1&&!rn.touch0&&(rn.touch0=rn.touch1,delete rn.touch1),rn.touch0)rn.touch0[1]=this.__zoom.invert(rn.touch0[0]);else if(rn.end(),rn.taps===2&&(Gn=e2(Gn,this),Math.hypot(Y[0]-Gn[0],Y[1]-Gn[1])<Ee)){var Nn=_0(this).on("dblclick.zoom");Nn&&Nn.apply(this,arguments)}}}return ue.wheelDelta=function(xe){return arguments.length?(A=typeof xe=="function"?xe:nK(+xe),ue):A},ue.filter=function(xe){return arguments.length?(d=typeof xe=="function"?xe:nK(!!xe),ue):d},ue.touchable=function(xe){return arguments.length?(M=typeof xe=="function"?xe:nK(!!xe),ue):M},ue.extent=function(xe){return arguments.length?(v=typeof xe=="function"?xe:nK([[+xe[0][0],+xe[0][1]],[+xe[1][0],+xe[1][1]]]),ue):v},ue.scaleExtent=function(xe){return arguments.length?(P[0]=+xe[0],P[1]=+xe[1],ue):[P[0],P[1]]},ue.translateExtent=function(xe){return arguments.length?(m[0][0]=+xe[0][0],m[1][0]=+xe[1][0],m[0][1]=+xe[0][1],m[1][1]=+xe[1][1],ue):[[m[0][0],m[0][1]],[m[1][0],m[1][1]]]},ue.constrain=function(xe){return arguments.length?(E=xe,ue):E},ue.duration=function(xe){return arguments.length?(L=+xe,ue):L},ue.interpolate=function(xe){return arguments.length?(H=xe,ue):H},ue.on=function(){var xe=U.on.apply(U,arguments);return xe===U?ue:xe},ue.clickDistance=function(xe){return arguments.length?(X=(xe=+xe)*xe,ue):Math.sqrt(X)},ue.tapDistance=function(xe){return arguments.length?(Ee=+xe,ue):Ee},ue}const c2={error001:(d="react")=>`Seems like you have not used ${d==="svelte"?"SvelteFlowProvider":"ReactFlowProvider"} as an ancestor. Help: https://${d}flow.dev/error#001`,error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:d=>`Node type "${d}" not found. Using fallback type "default".`,error004:()=>"The parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:d=>`The old edge with id=${d} does not exist.`,error009:d=>`Marker type "${d}" doesn't exist.`,error008:(d,{id:v,sourceHandle:E,targetHandle:A})=>`Couldn't create edge for ${d} handle id: "${d==="source"?E:A}", edge id: ${v}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:d=>`Edge type "${d}" not found. Using fallback type "default".`,error012:d=>`Node with id "${d}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(d="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${d}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs.",error016:d=>`Edge with id "${d}" does not exist, it may have been removed. This can happen when an edge is deleted before the "onEdgeClick" handler is called.`},PN=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],C1n=["Enter"," ","Escape"],T1n={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:d,x:v,y:E})=>`Moved selected node ${d}. New position, x: ${v}, y: ${E}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var qx;(function(d){d.Strict="strict",d.Loose="loose"})(qx||(qx={}));var sk;(function(d){d.Free="free",d.Vertical="vertical",d.Horizontal="horizontal"})(sk||(sk={}));var ON;(function(d){d.Partial="partial",d.Full="full"})(ON||(ON={}));const S1n={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var Q5;(function(d){d.Bezier="default",d.Straight="straight",d.Step="step",d.SmoothStep="smoothstep",d.SimpleBezier="simplebezier"})(Q5||(Q5={}));var NN;(function(d){d.Arrow="arrow",d.ArrowClosed="arrowclosed"})(NN||(NN={}));var Ei;(function(d){d.Left="left",d.Top="top",d.Right="right",d.Bottom="bottom"})(Ei||(Ei={}));const ian={[Ei.Left]:Ei.Right,[Ei.Right]:Ei.Left,[Ei.Top]:Ei.Bottom,[Ei.Bottom]:Ei.Top},I1n=d=>!!d&&typeof d=="object"&&"id"in d&&"source"in d&&"target"in d,WHn=d=>!!d&&typeof d=="object"&&"id"in d&&"position"in d&&!("source"in d)&&!("target"in d),D2e=d=>!!d&&typeof d=="object"&&"id"in d&&"internals"in d&&!("source"in d)&&!("target"in d),RN=(d,v=[0,0])=>{const{width:E,height:A}=o2(d),M=d.origin??v,P=E*M[0],m=A*M[1];return{x:d.position.x-P,y:d.position.y-m}},VHn=(d,v={nodeOrigin:[0,0]})=>{if(d.length===0)return{x:0,y:0,width:0,height:0};let E=!1;const A=d.reduce((M,P)=>{const m=typeof P=="string";let L=!v.nodeLookup&&!m?P:void 0;return v.nodeLookup&&(L=m?v.nodeLookup.get(P):D2e(P)?P:v.nodeLookup.get(P.id)),L?(E=!0,OK(M,jK(L,v.nodeOrigin))):M},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return E?NK(A):{x:0,y:0,width:0,height:0}},Kx=(d,v={})=>{let E={x:1/0,y:1/0,x2:-1/0,y2:-1/0},A=!1;return d.forEach(M=>{(v.filter===void 0||v.filter(M))&&(E=OK(E,jK(M)),A=!0)}),A?NK(E):{x:0,y:0,width:0,height:0}},L2e=(d,v,[E,A,M]=[0,0,1],P=!1,m=!1)=>{const L=(v.x-E)/M,H=(v.y-A)/M,U=v.width/M,Q=v.height/M,Y=[];for(const G of d.values()){const{measured:V,selectable:te=!0,hidden:X=!1}=G;if(m&&!te||X)continue;const Ee=V.width??G.width??G.initialWidth??0,ue=V.height??G.height??G.initialHeight??0,{x:ge,y:re}=G.internals.positionAbsolute,je=$1n(L,H,U,Q,ge,re,Ee,ue),Ke=Ee*ue,Xe=P&&je>0;(!G.internals.handleBounds||Xe||je>=Ke||G.dragging)&&Y.push(G)}return Y},QHn=(d,v)=>{const E=new Set;return d.forEach(A=>{E.add(A.id)}),v.filter(A=>E.has(A.source)||E.has(A.target))};function YHn(d,v){const E=new Map,A=v!=null&&v.nodes?new Set(v.nodes.map(M=>M.id)):null;return d.forEach(M=>{let P;if(v!=null&&v.includeHiddenNodes){const{width:m,height:L}=o2(M);P=m>0&&L>0}else P=!!(M.measured.width&&M.measured.height&&!M.hidden);P&&(!A||A.has(M.id))&&E.set(M.id,M)}),E}async function ZHn({nodes:d,width:v,height:E,panZoom:A,minZoom:M,maxZoom:P},m){if(d.size===0)return!0;const L=YHn(d,m),H=Kx(L),U=F2e(H,v,E,(m==null?void 0:m.minZoom)??M,(m==null?void 0:m.maxZoom)??P,(m==null?void 0:m.padding)??.1);return await A.setViewport(U,{duration:m==null?void 0:m.duration,ease:m==null?void 0:m.ease,interpolate:m==null?void 0:m.interpolate}),!0}function P1n({nodeId:d,nextPosition:v,nodeLookup:E,nodeOrigin:A=[0,0],nodeExtent:M,onError:P}){const m=E.get(d),L=m.parentId?E.get(m.parentId):void 0,{x:H,y:U}=L?L.internals.positionAbsolute:{x:0,y:0},Q=m.origin??A;let Y=m.extent||M;if(m.extent==="parent"&&!m.expandParent)if(!L)P==null||P("005",c2.error005());else{const{width:V,height:te}=o2(L);V&&te&&(Y=[[H,U],[H+V,U+te]])}else L&&ak(m.extent)&&(Y=[[m.extent[0][0]+H,m.extent[0][1]+U],[m.extent[1][0]+H,m.extent[1][1]+U]]);const G=ak(Y)?hk(v,Y,m.measured):v;return(m.measured.width===void 0||m.measured.height===void 0)&&(P==null||P("015",c2.error015())),{position:{x:G.x-H+(m.measured.width??0)*Q[0],y:G.y-U+(m.measured.height??0)*Q[1]},positionAbsolute:G}}async function eqn({nodesToRemove:d=[],edgesToRemove:v=[],nodes:E,edges:A,onBeforeDelete:M}){const P=new Set(d.map(G=>G.id)),m=[];for(const G of E){if(G.deletable===!1)continue;const V=P.has(G.id),te=!V&&G.parentId&&m.find(X=>X.id===G.parentId);(V||te)&&m.push(G)}const L=new Set(v.map(G=>G.id)),H=A.filter(G=>G.deletable!==!1),Q=QHn(m,H);for(const G of H)L.has(G.id)&&!Q.find(te=>te.id===G.id)&&Q.push(G);if(!M)return{edges:Q,nodes:m};const Y=await M({nodes:m,edges:Q});return typeof Y=="boolean"?Y?{edges:Q,nodes:m}:{edges:[],nodes:[]}:Y}const zx=(d,v=0,E=1)=>Math.min(Math.max(d,v),E),hk=(d={x:0,y:0},v,E)=>({x:zx(d.x,v[0][0],v[1][0]-((E==null?void 0:E.width)??0)),y:zx(d.y,v[0][1],v[1][1]-((E==null?void 0:E.height)??0))});function O1n(d,v,E){const{width:A,height:M}=o2(E),{x:P,y:m}=E.internals.positionAbsolute;return hk(d,[[P,m],[P+A,m+M]],v)}const ran=(d,v,E)=>d<v?zx(Math.abs(d-v),1,v)/v:d>E?-zx(Math.abs(d-E),1,v)/v:0,_2e=(d,v,E=15,A=40)=>{const M=ran(d.x,A,v.width-A)*E,P=ran(d.y,A,v.height-A)*E;return[M,P]},OK=(d,v)=>({x:Math.min(d.x,v.x),y:Math.min(d.y,v.y),x2:Math.max(d.x2,v.x2),y2:Math.max(d.y2,v.y2)}),v2e=({x:d,y:v,width:E,height:A})=>({x:d,y:v,x2:d+E,y2:v+A}),NK=({x:d,y:v,x2:E,y2:A})=>({x:d,y:v,width:E-d,height:A-v}),$N=(d,v=[0,0])=>{var M,P;const{x:E,y:A}=D2e(d)?d.internals.positionAbsolute:RN(d,v);return{x:E,y:A,width:((M=d.measured)==null?void 0:M.width)??d.width??d.initialWidth??0,height:((P=d.measured)==null?void 0:P.height)??d.height??d.initialHeight??0}},jK=(d,v=[0,0])=>{var M,P;const{x:E,y:A}=D2e(d)?d.internals.positionAbsolute:RN(d,v);return{x:E,y:A,x2:E+(((M=d.measured)==null?void 0:M.width)??d.width??d.initialWidth??0),y2:A+(((P=d.measured)==null?void 0:P.height)??d.height??d.initialHeight??0)}},N1n=(d,v)=>NK(OK(v2e(d),v2e(v))),$1n=(d,v,E,A,M,P,m,L)=>{const H=Math.max(0,Math.min(d+E,M+m)-Math.max(d,M)),U=Math.max(0,Math.min(v+A,P+L)-Math.max(v,P));return Math.ceil(H*U)},xK=(d,v)=>$1n(d.x,d.y,d.width,d.height,v.x,v.y,v.width,v.height),can=d=>t2(d.width)&&t2(d.height)&&t2(d.x)&&t2(d.y),t2=d=>!isNaN(d)&&isFinite(d),D1n=(d,v)=>(E,A)=>{},BN=(d,v=[1,1])=>({x:v[0]*Math.round(d.x/v[0]),y:v[1]*Math.round(d.y/v[1])}),JN=({x:d,y:v},[E,A,M],P=!1,m=[1,1])=>{const L={x:(d-E)/M,y:(v-A)/M};return P?BN(L,m):L},Ux=({x:d,y:v},[E,A,M])=>({x:d*M+E,y:v*M+A});function Fx(d,v){if(typeof d=="number")return Math.floor((v-v/(1+d))*.5);if(typeof d=="string"&&d.endsWith("px")){const E=parseFloat(d);if(!Number.isNaN(E))return Math.floor(E)}if(typeof d=="string"&&d.endsWith("%")){const E=parseFloat(d);if(!Number.isNaN(E))return Math.floor(v*E*.01)}return console.error(`The padding value "${d}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}function nqn(d,v,E){if(typeof d=="string"||typeof d=="number"){const A=Fx(d,E),M=Fx(d,v);return{top:A,right:M,bottom:A,left:M,x:M*2,y:A*2}}if(typeof d=="object"){const A=Fx(d.top??d.y??0,E),M=Fx(d.bottom??d.y??0,E),P=Fx(d.left??d.x??0,v),m=Fx(d.right??d.x??0,v);return{top:A,right:m,bottom:M,left:P,x:P+m,y:A+M}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function tqn(d,v,E,A,M,P){const{x:m,y:L}=Ux(d,[v,E,A]),{x:H,y:U}=Ux({x:d.x+d.width,y:d.y+d.height},[v,E,A]),Q=M-H,Y=P-U;return{left:Math.floor(m),top:Math.floor(L),right:Math.floor(Q),bottom:Math.floor(Y)}}const F2e=(d,v,E,A,M,P)=>{const m=nqn(P,v,E),L=(v-m.x)/d.width,H=(E-m.y)/d.height,U=Math.min(L,H),Q=zx(U,A,M),Y=d.x+d.width/2,G=d.y+d.height/2,V=v/2-Y*Q,te=E/2-G*Q,X=tqn(d,V,te,Q,v,E),Ee={left:Math.min(X.left-m.left,0),top:Math.min(X.top-m.top,0),right:Math.min(X.right-m.right,0),bottom:Math.min(X.bottom-m.bottom,0)};return{x:V-Ee.left+Ee.right,y:te-Ee.top+Ee.bottom,zoom:Q}},DN=()=>{var d;return typeof navigator<"u"&&((d=navigator==null?void 0:navigator.userAgent)==null?void 0:d.indexOf("Mac"))>=0};function ak(d){return d!=null&&d!=="parent"}function o2(d){var v,E;return{width:((v=d.measured)==null?void 0:v.width)??d.width??d.initialWidth??0,height:((E=d.measured)==null?void 0:E.height)??d.height??d.initialHeight??0}}function L1n(d){var v,E;return(((v=d.measured)==null?void 0:v.width)??d.width??d.initialWidth)!==void 0&&(((E=d.measured)==null?void 0:E.height)??d.height??d.initialHeight)!==void 0}function _1n(d,v={width:0,height:0},E,A,M){const P={...d},m=A.get(E);if(m){const L=m.origin||M;P.x+=m.internals.positionAbsolute.x-(v.width??0)*L[0],P.y+=m.internals.positionAbsolute.y-(v.height??0)*L[1]}return P}function uan(d,v){if(d.size!==v.size)return!1;for(const E of d)if(!v.has(E))return!1;return!0}function iqn(){let d,v;return{promise:new Promise((A,M)=>{d=A,v=M}),resolve:d,reject:v}}function rqn(d){return{...T1n,...d||{}}}function F1n(d){return d===null?null:d?"valid":"invalid"}function AN(d,{snapGrid:v=[0,0],snapToGrid:E=!1,transform:A,containerBounds:M}){const{x:P,y:m}=i2(d),L=JN({x:P-((M==null?void 0:M.left)??0),y:m-((M==null?void 0:M.top)??0)},A),{x:H,y:U}=E?BN(L,v):L;return{xSnapped:H,ySnapped:U,...L}}const R2e=d=>({width:d.offsetWidth,height:d.offsetHeight}),R1n=d=>{var v;return((v=d==null?void 0:d.getRootNode)==null?void 0:v.call(d))||(window==null?void 0:window.document)},cqn=["INPUT","SELECT","TEXTAREA"];function B1n(d){var A,M;const v=((M=(A=d.composedPath)==null?void 0:A.call(d))==null?void 0:M[0])||d.target;return(v==null?void 0:v.nodeType)!==1?!1:cqn.includes(v.nodeName)||v.hasAttribute("contenteditable")||!!v.closest(".nokey")}const J1n=d=>"clientX"in d,i2=(d,v)=>{var P,m;const E=J1n(d),A=E?d.clientX:(P=d.touches)==null?void 0:P[0].clientX,M=E?d.clientY:(m=d.touches)==null?void 0:m[0].clientY;return{x:A-((v==null?void 0:v.left)??0),y:M-((v==null?void 0:v.top)??0)}},oan=(d,v,E,A,M)=>{const P=v.querySelectorAll(`.${d}`);return!P||!P.length?null:Array.from(P).map(m=>{const L=m.getBoundingClientRect();return{id:m.getAttribute("data-handleid"),type:d,nodeId:M,position:m.getAttribute("data-handlepos"),x:(L.left-E.left)/A,y:(L.top-E.top)/A,...R2e(m)}})};function G1n({sourceX:d,sourceY:v,targetX:E,targetY:A,sourceControlX:M,sourceControlY:P,targetControlX:m,targetControlY:L}){const H=d*.125+M*.375+m*.375+E*.125,U=v*.125+P*.375+L*.375+A*.125,Q=Math.abs(H-d),Y=Math.abs(U-v);return[H,U,Q,Y]}function tK(d,v){return d>=0?.5*d:v*25*Math.sqrt(-d)}function san({pos:d,x1:v,y1:E,x2:A,y2:M,c:P}){switch(d){case Ei.Left:return[v-tK(v-A,P),E];case Ei.Right:return[v+tK(A-v,P),E];case Ei.Top:return[v,E-tK(E-M,P)];case Ei.Bottom:return[v,E+tK(M-E,P)]}}function GN({sourceX:d,sourceY:v,sourcePosition:E=Ei.Bottom,targetX:A,targetY:M,targetPosition:P=Ei.Top,curvature:m=.25}){const[L,H]=san({pos:E,x1:d,y1:v,x2:A,y2:M,c:m}),[U,Q]=san({pos:P,x1:A,y1:M,x2:d,y2:v,c:m}),[Y,G,V,te]=G1n({sourceX:d,sourceY:v,targetX:A,targetY:M,sourceControlX:L,sourceControlY:H,targetControlX:U,targetControlY:Q});return[`M${d},${v} C${L},${H} ${U},${Q} ${A},${M}`,Y,G,V,te]}function H1n({sourceX:d,sourceY:v,targetX:E,targetY:A}){const M=Math.abs(E-d)/2,P=E<d?E+M:E-M,m=Math.abs(A-v)/2,L=A<v?A+m:A-m;return[P,L,M,m]}function uqn({sourceNode:d,targetNode:v,selected:E=!1,zIndex:A=0,elevateOnSelect:M=!1,zIndexMode:P="basic"}){if(P==="manual")return A;const m=M&&E?A+1e3:A,L=Math.max(d.parentId||M&&d.selected?d.internals.z:0,v.parentId||M&&v.selected?v.internals.z:0);return m+L}function oqn({sourceNode:d,targetNode:v,width:E,height:A,transform:M}){const P=OK(jK(d),jK(v));P.x===P.x2&&(P.x2+=1),P.y===P.y2&&(P.y2+=1);const m={x:-M[0]/M[2],y:-M[1]/M[2],width:E/M[2],height:A/M[2]};return xK(m,NK(P))>0}const sqn=({source:d,sourceHandle:v,target:E,targetHandle:A})=>`xy-edge__${d}${v||""}-${E}${A||""}`,fqn=(d,v)=>v.some(E=>E.source===d.source&&E.target===d.target&&(E.sourceHandle===d.sourceHandle||!E.sourceHandle&&!d.sourceHandle)&&(E.targetHandle===d.targetHandle||!E.targetHandle&&!d.targetHandle)),lqn=(d,v,E={})=>{var P;if(!d.source||!d.target)return(P=E.onError)==null||P.call(E,"006",c2.error006()),v;const A=E.getEdgeId||sqn;let M;return I1n(d)?M={...d}:M={...d,id:A(d)},fqn(M,v)?v:(M.sourceHandle===null&&delete M.sourceHandle,M.targetHandle===null&&delete M.targetHandle,v.concat(M))};function q1n({sourceX:d,sourceY:v,targetX:E,targetY:A}){const[M,P,m,L]=H1n({sourceX:d,sourceY:v,targetX:E,targetY:A});return[`M ${d},${v}L ${E},${A}`,M,P,m,L]}const fan={[Ei.Left]:{x:-1,y:0},[Ei.Right]:{x:1,y:0},[Ei.Top]:{x:0,y:-1},[Ei.Bottom]:{x:0,y:1}},hqn=({source:d,sourcePosition:v=Ei.Bottom,target:E})=>v===Ei.Left||v===Ei.Right?d.x<E.x?{x:1,y:0}:{x:-1,y:0}:d.y<E.y?{x:0,y:1}:{x:0,y:-1},lan=(d,v)=>Math.sqrt(Math.pow(v.x-d.x,2)+Math.pow(v.y-d.y,2));function aqn({source:d,sourcePosition:v=Ei.Bottom,target:E,targetPosition:A=Ei.Top,center:M,offset:P,stepPosition:m}){const L=fan[v],H=fan[A],U={x:d.x+L.x*P,y:d.y+L.y*P},Q={x:E.x+H.x*P,y:E.y+H.y*P},Y=hqn({source:U,sourcePosition:v,target:Q}),G=Y.x!==0?"x":"y",V=Y[G];let te=[],X,Ee;const ue={x:0,y:0},ge={x:0,y:0},[,,re,je]=H1n({sourceX:d.x,sourceY:d.y,targetX:E.x,targetY:E.y});if(L[G]*H[G]===-1){G==="x"?(X=M.x??U.x+(Q.x-U.x)*m,Ee=M.y??(U.y+Q.y)/2):(X=M.x??(U.x+Q.x)/2,Ee=M.y??U.y+(Q.y-U.y)*m);const kn=[{x:X,y:U.y},{x:X,y:Q.y}],En=[{x:U.x,y:Ee},{x:Q.x,y:Ee}];L[G]===V?te=G==="x"?kn:En:te=G==="x"?En:kn}else{const kn=[{x:U.x,y:Q.y}],En=[{x:Q.x,y:U.y}];if(G==="x"?te=L.x===V?En:kn:te=L.y===V?kn:En,v===A){const xe=Math.abs(d[G]-E[G]);if(xe<=P){const on=Math.min(P-1,P-xe);L[G]===V?ue[G]=(U[G]>d[G]?-1:1)*on:ge[G]=(Q[G]>E[G]?-1:1)*on}}if(v!==A){const xe=G==="x"?"y":"x",on=L[G]===H[xe],rn=U[xe]>Q[xe],Sn=U[xe]<Q[xe];(L[G]===1&&(!on&&rn||on&&Sn)||L[G]!==1&&(!on&&Sn||on&&rn))&&(te=G==="x"?kn:En)}const Zn={x:U.x+ue.x,y:U.y+ue.y},Ln={x:Q.x+ge.x,y:Q.y+ge.y},Vn=Math.max(Math.abs(Zn.x-te[0].x),Math.abs(Ln.x-te[0].x)),J=Math.max(Math.abs(Zn.y-te[0].y),Math.abs(Ln.y-te[0].y));Vn>=J?(X=(Zn.x+Ln.x)/2,Ee=te[0].y):(X=te[0].x,Ee=(Zn.y+Ln.y)/2)}const Ke={x:U.x+ue.x,y:U.y+ue.y},Xe={x:Q.x+ge.x,y:Q.y+ge.y};return[[d,...Ke.x!==te[0].x||Ke.y!==te[0].y?[Ke]:[],...te,...Xe.x!==te[te.length-1].x||Xe.y!==te[te.length-1].y?[Xe]:[],E],X,Ee,re,je]}function dqn(d,v,E,A){const M=Math.min(lan(d,v)/2,lan(v,E)/2,A),{x:P,y:m}=v;if(d.x===P&&P===E.x||d.y===m&&m===E.y)return`L${P} ${m}`;if(d.y===m){const U=d.x<E.x?-1:1,Q=d.y<E.y?1:-1;return`L ${P+M*U},${m}Q ${P},${m} ${P},${m+M*Q}`}const L=d.x<E.x?1:-1,H=d.y<E.y?-1:1;return`L ${P},${m+M*H}Q ${P},${m} ${P+M*L},${m}`}function y2e({sourceX:d,sourceY:v,sourcePosition:E=Ei.Bottom,targetX:A,targetY:M,targetPosition:P=Ei.Top,borderRadius:m=5,centerX:L,centerY:H,offset:U=20,stepPosition:Q=.5}){const[Y,G,V,te,X]=aqn({source:{x:d,y:v},sourcePosition:E,target:{x:A,y:M},targetPosition:P,center:{x:L,y:H},offset:U,stepPosition:Q});let Ee=`M${Y[0].x} ${Y[0].y}`;for(let ue=1;ue<Y.length-1;ue++)Ee+=dqn(Y[ue-1],Y[ue],Y[ue+1],m);return Ee+=`L${Y[Y.length-1].x} ${Y[Y.length-1].y}`,[Ee,G,V,te,X]}function han(d){var v;return d&&!!(d.internals.handleBounds||(v=d.handles)!=null&&v.length)&&!!(d.measured.width||d.width||d.initialWidth)}function bqn(d){var Y;const{sourceNode:v,targetNode:E}=d;if(!han(v)||!han(E))return null;const A=v.internals.handleBounds||aan(v.handles),M=E.internals.handleBounds||aan(E.handles),P=dan((A==null?void 0:A.source)??[],d.sourceHandle),m=dan(d.connectionMode===qx.Strict?(M==null?void 0:M.target)??[]:((M==null?void 0:M.target)??[]).concat((M==null?void 0:M.source)??[]),d.targetHandle);if(!P||!m)return(Y=d.onError)==null||Y.call(d,"008",c2.error008(P?"target":"source",{id:d.id,sourceHandle:d.sourceHandle,targetHandle:d.targetHandle})),null;const L=(P==null?void 0:P.position)||Ei.Bottom,H=(m==null?void 0:m.position)||Ei.Top,U=dk(v,P,L),Q=dk(E,m,H);return{sourceX:U.x,sourceY:U.y,targetX:Q.x,targetY:Q.y,sourcePosition:L,targetPosition:H}}function aan(d){if(!d)return null;const v=[],E=[];for(const A of d)A.width=A.width??1,A.height=A.height??1,A.type==="source"?v.push(A):A.type==="target"&&E.push(A);return{source:v,target:E}}function dk(d,v,E=Ei.Left,A=!1){const M=((v==null?void 0:v.x)??0)+d.internals.positionAbsolute.x,P=((v==null?void 0:v.y)??0)+d.internals.positionAbsolute.y,{width:m,height:L}=v??o2(d);if(A)return{x:M+m/2,y:P+L/2};switch((v==null?void 0:v.position)??E){case Ei.Top:return{x:M+m/2,y:P};case Ei.Right:return{x:M+m,y:P+L/2};case Ei.Bottom:return{x:M+m/2,y:P+L};case Ei.Left:return{x:M,y:P+L/2}}}function dan(d,v){return d&&(v?d.find(E=>E.id===v):d[0])||null}function k2e(d,v){return d?typeof d=="string"?d:`${v?`${v}__`:""}${Object.keys(d).sort().map(A=>`${A}=${d[A]}`).join("&")}`:""}function wqn(d,{id:v,defaultColor:E,defaultMarkerStart:A,defaultMarkerEnd:M}){const P=new Set;return d.reduce((m,L)=>([L.markerStart||A,L.markerEnd||M].forEach(H=>{if(H&&typeof H=="object"){const U=k2e(H,v);P.has(U)||(m.push({id:U,color:H.color||E,...H}),P.add(U))}}),m),[]).sort((m,L)=>m.id.localeCompare(L.id))}function gqn(d,v,E,A,M){let P=.5;M==="start"?P=0:M==="end"&&(P=1);let m=[(d.x+d.width*P)*v.zoom+v.x,d.y*v.zoom+v.y-A],L=[-100*P,-100];switch(E){case Ei.Right:m=[(d.x+d.width)*v.zoom+v.x+A,(d.y+d.height*P)*v.zoom+v.y],L=[0,-100*P];break;case Ei.Bottom:m[1]=(d.y+d.height)*v.zoom+v.y+A,L[1]=0;break;case Ei.Left:m=[d.x*v.zoom+v.x-A,(d.y+d.height*P)*v.zoom+v.y],L=[-100,-100*P];break}return`translate(${m[0]}px, ${m[1]}px) translate(${L[0]}%, ${L[1]}%)`}const z1n=1e3,pqn=10,B2e={nodeOrigin:[0,0],nodeExtent:PN,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},mqn={...B2e,checkEquality:!0};function J2e(d,v){const E={...d};for(const A in v)v[A]!==void 0&&(E[A]=v[A]);return E}function vqn(d,v,E){const A=J2e(B2e,E);for(const M of d.values())if(M.parentId)H2e(M,d,v,A);else{const P=RN(M,A.nodeOrigin),m=ak(M.extent)?M.extent:A.nodeExtent,L=hk(P,m,o2(M));M.internals.positionAbsolute=L}}function yqn(d,v){if(!d.handles)return d.measured?v==null?void 0:v.internals.handleBounds:void 0;const E=[],A=[];for(const M of d.handles){const P={id:M.id,width:M.width??1,height:M.height??1,nodeId:d.id,x:M.x,y:M.y,position:M.position,type:M.type};M.type==="source"?E.push(P):M.type==="target"&&A.push(P)}return{source:E,target:A}}function G2e(d){return d==="manual"}function E2e(d,v,E,A={}){var Q,Y;const M=J2e(mqn,A),P={i:0},m=new Map(v),L=M!=null&&M.elevateNodesOnSelect&&!G2e(M.zIndexMode)?z1n:0;let H=d.length>0,U=!1;v.clear(),E.clear();for(const G of d){let V=m.get(G.id);if(M.checkEquality&&G===(V==null?void 0:V.internals.userNode))v.set(G.id,V);else{const te=RN(G,M.nodeOrigin),X=ak(G.extent)?G.extent:M.nodeExtent,Ee=hk(te,X,o2(G));V={...M.defaults,...G,measured:{width:(Q=G.measured)==null?void 0:Q.width,height:(Y=G.measured)==null?void 0:Y.height},internals:{positionAbsolute:Ee,handleBounds:yqn(G,V),z:U1n(G,L,M.zIndexMode),userNode:G}},v.set(G.id,V)}(V.measured===void 0||V.measured.width===void 0||V.measured.height===void 0)&&!V.hidden&&(H=!1),G.parentId&&H2e(V,v,E,A,P),U||(U=G.selected??!1)}return{nodesInitialized:H,hasSelectedNodes:U}}function kqn(d,v){if(!d.parentId)return;const E=v.get(d.parentId);E?E.set(d.id,d):v.set(d.parentId,new Map([[d.id,d]]))}function H2e(d,v,E,A,M){const{elevateNodesOnSelect:P,nodeOrigin:m,nodeExtent:L,zIndexMode:H}=J2e(B2e,A),U=d.parentId,Q=v.get(U);if(!Q){console.warn(`Parent node ${U} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);return}kqn(d,E),M&&!Q.parentId&&Q.internals.rootParentIndex===void 0&&H==="auto"&&(Q.internals.rootParentIndex=++M.i,Q.internals.z=Q.internals.z+M.i*pqn),M&&Q.internals.rootParentIndex!==void 0&&(M.i=Q.internals.rootParentIndex);const Y=P&&!G2e(H)?z1n:0,{x:G,y:V,z:te}=Eqn(d,Q,m,L,Y,H),{positionAbsolute:X}=d.internals,Ee=G!==X.x||V!==X.y;(Ee||te!==d.internals.z)&&v.set(d.id,{...d,internals:{...d.internals,positionAbsolute:Ee?{x:G,y:V}:X,z:te}})}function U1n(d,v,E){const A=t2(d.zIndex)?d.zIndex:0;return G2e(E)?A:A+(d.selected?v:0)}function Eqn(d,v,E,A,M,P){const{x:m,y:L}=v.internals.positionAbsolute,H=o2(d),U=RN(d,E),Q=ak(d.extent)?hk(U,d.extent,H):U;let Y=hk({x:m+Q.x,y:L+Q.y},A,H);d.extent==="parent"&&(Y=O1n(Y,H,v));const G=U1n(d,M,P),V=v.internals.z??0;return{x:Y.x,y:Y.y,z:V>=G?V+1:G}}function q2e(d,v,E,A=[0,0]){var m;const M=[],P=new Map;for(const L of d){const H=v.get(L.parentId);if(!H)continue;const U=((m=P.get(L.parentId))==null?void 0:m.expandedRect)??$N(H),Q=N1n(U,L.rect);P.set(L.parentId,{expandedRect:Q,parent:H})}return P.size>0&&P.forEach(({expandedRect:L,parent:H},U)=>{var re;const Q=H.internals.positionAbsolute,Y=o2(H),G=H.origin??A,V=L.x<Q.x?Math.round(Math.abs(Q.x-L.x)):0,te=L.y<Q.y?Math.round(Math.abs(Q.y-L.y)):0,X=Math.max(Y.width,Math.round(L.width)),Ee=Math.max(Y.height,Math.round(L.height)),ue=(X-Y.width)*G[0],ge=(Ee-Y.height)*G[1];(V>0||te>0||ue||ge)&&(M.push({id:U,type:"position",position:{x:H.position.x-V+ue,y:H.position.y-te+ge}}),(re=E.get(U))==null||re.forEach(je=>{d.some(Ke=>Ke.id===je.id)||M.push({id:je.id,type:"position",position:{x:je.position.x+V,y:je.position.y+te}})})),(Y.width<L.width||Y.height<L.height||V||te)&&M.push({id:U,type:"dimensions",setAttributes:!0,dimensions:{width:X+(V?G[0]*V-ue:0),height:Ee+(te?G[1]*te-ge:0)}})}),M}function jqn(d,v,E,A,M,P,m){const L=A==null?void 0:A.querySelector(".xyflow__viewport");let H=!1;if(!L)return{changes:[],updatedInternals:H};const U=[],Q=window.getComputedStyle(L),{m22:Y}=new window.DOMMatrixReadOnly(Q.transform),G=[];for(const V of d.values()){const te=v.get(V.id);if(!te)continue;if(te.hidden){v.set(te.id,{...te,internals:{...te.internals,handleBounds:void 0}}),H=!0;continue}const X=R2e(V.nodeElement),Ee=te.measured.width!==X.width||te.measured.height!==X.height;if(!!(X.width&&X.height&&(Ee||!te.internals.handleBounds||V.force))){const ge=V.nodeElement.getBoundingClientRect(),re=ak(te.extent)?te.extent:P;let{positionAbsolute:je}=te.internals;if(te.parentId&&te.extent==="parent"){const Xe=v.get(te.parentId);Xe&&(je=O1n(je,X,Xe))}else re&&(je=hk(je,re,X));const Ke={...te,measured:X,internals:{...te.internals,positionAbsolute:je,handleBounds:{source:oan("source",V.nodeElement,ge,Y,te.id),target:oan("target",V.nodeElement,ge,Y,te.id)}}};v.set(te.id,Ke),te.parentId&&H2e(Ke,v,E,{nodeOrigin:M,zIndexMode:m}),H=!0,Ee&&(U.push({id:te.id,type:"dimensions",dimensions:X}),te.expandParent&&te.parentId&&G.push({id:te.id,parentId:te.parentId,rect:$N(Ke,M)}))}}if(G.length>0){const V=q2e(G,v,E,M);U.push(...V)}return{changes:U,updatedInternals:H}}async function xqn({delta:d,panZoom:v,transform:E,translateExtent:A,width:M,height:P}){if(!v||!d.x&&!d.y)return!1;const m=await v.setViewportConstrained({x:E[0]+d.x,y:E[1]+d.y,zoom:E[2]},[[0,0],[M,P]],A);return!!m&&(m.x!==E[0]||m.y!==E[1]||m.k!==E[2])}function ban(d,v,E,A,M,P){let m=M;const L=A.get(m)||new Map;A.set(m,L.set(E,v)),m=`${M}-${d}`;const H=A.get(m)||new Map;if(A.set(m,H.set(E,v)),P){m=`${M}-${d}-${P}`;const U=A.get(m)||new Map;A.set(m,U.set(E,v))}}function X1n(d,v,E){d.clear(),v.clear();for(const A of E){const{source:M,target:P,sourceHandle:m=null,targetHandle:L=null}=A,H={edgeId:A.id,source:M,target:P,sourceHandle:m,targetHandle:L},U=`${M}-${m}--${P}-${L}`,Q=`${P}-${L}--${M}-${m}`;ban("source",H,Q,d,M,m),ban("target",H,U,d,P,L),v.set(A.id,A)}}function K1n(d,v){if(!d.parentId)return!1;const E=v.get(d.parentId);return E?E.selected?!0:K1n(E,v):!1}function wan(d,v,E){var M;let A=d;do{if((M=A==null?void 0:A.matches)!=null&&M.call(A,v))return!0;if(A===E)return!1;A=A==null?void 0:A.parentElement}while(A);return!1}function Aqn(d,v,E,A){const M=new Map;for(const[P,m]of d)if((m.selected||m.id===A)&&(!m.parentId||!K1n(m,d))&&(m.draggable||v&&typeof m.draggable>"u")){const L=d.get(P);L&&M.set(P,{id:P,position:L.position||{x:0,y:0},distance:{x:E.x-L.internals.positionAbsolute.x,y:E.y-L.internals.positionAbsolute.y},extent:L.extent,parentId:L.parentId,origin:L.origin,expandParent:L.expandParent,internals:{positionAbsolute:L.internals.positionAbsolute||{x:0,y:0}},measured:{width:L.measured.width??0,height:L.measured.height??0}})}return M}function c2e({nodeId:d,dragItems:v,nodeLookup:E,dragging:A=!0}){var m,L,H;const M=[];for(const[U,Q]of v){const Y=(m=E.get(U))==null?void 0:m.internals.userNode;Y&&M.push({...Y,position:Q.position,dragging:A})}if(!d)return[M[0],M];const P=(L=E.get(d))==null?void 0:L.internals.userNode;return[P?{...P,position:((H=v.get(d))==null?void 0:H.position)||P.position,dragging:A}:M[0],M]}function Mqn({dragItems:d,snapGrid:v,x:E,y:A}){const M=d.values().next().value;if(!M)return null;const P={x:E-M.distance.x,y:A-M.distance.y},m=BN(P,v);return{x:m.x-P.x,y:m.y-P.y}}function Cqn({onNodeMouseDown:d,getStoreItems:v,onDragStart:E,onDrag:A,onDragStop:M}){let P={x:null,y:null},m=0,L=new Map,H=!1,U={x:0,y:0},Q=null,Y=!1,G=null,V=!1,te=!1,X=null;function Ee({noDragClassName:ge,handleSelector:re,domNode:je,isSelectable:Ke,nodeId:Xe,nodeClickDistance:Ye=0}){G=_0(je);function kn({x:Vn,y:J}){const{nodeLookup:xe,nodeExtent:on,snapGrid:rn,snapToGrid:Sn,nodeOrigin:Fn,onNodeDrag:dn,onSelectionDrag:Gn,onError:Nn,updateNodePositions:qn}=v();P={x:Vn,y:J};let Jt=!1;const Kt=L.size>1,Oi=Kt&&on?v2e(Kx(L)):null,gr=Kt&&Sn?Mqn({dragItems:L,snapGrid:rn,x:Vn,y:J}):null;for(const[Ki,Kn]of L){if(!xe.has(Ki))continue;let ei={x:Vn-Kn.distance.x,y:J-Kn.distance.y};Sn&&(ei=gr?{x:Math.round(ei.x+gr.x),y:Math.round(ei.y+gr.y)}:BN(ei,rn));let rr=null;if(Kt&&on&&!Kn.extent&&Oi){const{positionAbsolute:sr}=Kn.internals,ri=sr.x-Oi.x+on[0][0],bi=sr.x+Kn.measured.width-Oi.x2+on[1][0],Ac=sr.y-Oi.y+on[0][1],ku=sr.y+Kn.measured.height-Oi.y2+on[1][1];rr=[[ri,Ac],[bi,ku]]}const{position:cr,positionAbsolute:Bi}=P1n({nodeId:Ki,nextPosition:ei,nodeLookup:xe,nodeExtent:rr||on,nodeOrigin:Fn,onError:Nn});Jt=Jt||Kn.position.x!==cr.x||Kn.position.y!==cr.y,Kn.position=cr,Kn.internals.positionAbsolute=Bi}if(te=te||Jt,!!Jt&&(qn(L,!0),X&&(A||dn||!Xe&&Gn))){const[Ki,Kn]=c2e({nodeId:Xe,dragItems:L,nodeLookup:xe});A==null||A(X,L,Ki,Kn),dn==null||dn(X,Ki,Kn),Xe||Gn==null||Gn(X,Kn)}}async function En(){if(!Q)return;const{transform:Vn,panBy:J,autoPanSpeed:xe,autoPanOnNodeDrag:on}=v();if(!on){H=!1,cancelAnimationFrame(m);return}const[rn,Sn]=_2e(U,Q,xe);(rn!==0||Sn!==0)&&(P.x=(P.x??0)-rn/Vn[2],P.y=(P.y??0)-Sn/Vn[2],await J({x:rn,y:Sn})&&kn(P)),m=requestAnimationFrame(En)}function Zn(Vn){var Kt;const{nodeLookup:J,multiSelectionActive:xe,nodesDraggable:on,transform:rn,snapGrid:Sn,snapToGrid:Fn,selectNodesOnDrag:dn,onNodeDragStart:Gn,onSelectionDragStart:Nn,unselectNodesAndEdges:qn}=v();Y=!0,(!dn||!Ke)&&!xe&&Xe&&((Kt=J.get(Xe))!=null&&Kt.selected||qn()),Ke&&dn&&Xe&&(d==null||d(Xe));const Jt=AN(Vn.sourceEvent,{transform:rn,snapGrid:Sn,snapToGrid:Fn,containerBounds:Q});if(P=Jt,L=Aqn(J,on,Jt,Xe),L.size>0&&(E||Gn||!Xe&&Nn)){const[Oi,gr]=c2e({nodeId:Xe,dragItems:L,nodeLookup:J});E==null||E(Vn.sourceEvent,L,Oi,gr),Gn==null||Gn(Vn.sourceEvent,Oi,gr),Xe||Nn==null||Nn(Vn.sourceEvent,gr)}}const Ln=h1n().clickDistance(Ye).on("start",Vn=>{const{domNode:J,nodeDragThreshold:xe,transform:on,snapGrid:rn,snapToGrid:Sn}=v();Q=(J==null?void 0:J.getBoundingClientRect())||null,V=!1,te=!1,X=Vn.sourceEvent,xe===0&&Zn(Vn),P=AN(Vn.sourceEvent,{transform:on,snapGrid:rn,snapToGrid:Sn,containerBounds:Q}),U=i2(Vn.sourceEvent,Q)}).on("drag",Vn=>{const{autoPanOnNodeDrag:J,transform:xe,snapGrid:on,snapToGrid:rn,nodeDragThreshold:Sn,nodeLookup:Fn}=v(),dn=AN(Vn.sourceEvent,{transform:xe,snapGrid:on,snapToGrid:rn,containerBounds:Q});if(X=Vn.sourceEvent,(Vn.sourceEvent.type==="touchmove"&&Vn.sourceEvent.touches.length>1||Xe&&!Fn.has(Xe))&&(V=!0),!V){if(!H&&J&&Y&&(H=!0,En()),!Y){const Gn=i2(Vn.sourceEvent,Q),Nn=Gn.x-U.x,qn=Gn.y-U.y;Math.sqrt(Nn*Nn+qn*qn)>Sn&&Zn(Vn)}(P.x!==dn.xSnapped||P.y!==dn.ySnapped)&&L&&Y&&(U=i2(Vn.sourceEvent,Q),kn(dn))}}).on("end",Vn=>{if(!Y||V){V&&L.size>0&&v().updateNodePositions(L,!1);return}if(H=!1,Y=!1,cancelAnimationFrame(m),L.size>0){const{nodeLookup:J,updateNodePositions:xe,onNodeDragStop:on,onSelectionDragStop:rn}=v();if(te&&(xe(L,!1),te=!1),M||on||!Xe&&rn){const[Sn,Fn]=c2e({nodeId:Xe,dragItems:L,nodeLookup:J,dragging:!1});M==null||M(Vn.sourceEvent,L,Sn,Fn),on==null||on(Vn.sourceEvent,Sn,Fn),Xe||rn==null||rn(Vn.sourceEvent,Fn)}}}).filter(Vn=>{const J=Vn.target;return!Vn.button&&(!ge||!wan(J,`.${ge}`,je))&&(!re||wan(J,re,je))});G.call(Ln)}function ue(){G==null||G.on(".drag",null)}return{update:Ee,destroy:ue}}function Tqn(d,v,E){const A=[],M={x:d.x-E,y:d.y-E,width:E*2,height:E*2};for(const P of v.values())xK(M,$N(P))>0&&A.push(P);return A}const Sqn=250;function Iqn(d,v,E,A){var L,H;let M=[],P=1/0;const m=Tqn(d,E,v+Sqn);for(const U of m){const Q=[...((L=U.internals.handleBounds)==null?void 0:L.source)??[],...((H=U.internals.handleBounds)==null?void 0:H.target)??[]];for(const Y of Q){if(A.nodeId===Y.nodeId&&A.type===Y.type&&A.id===Y.id)continue;const{x:G,y:V}=dk(U,Y,Y.position,!0),te=Math.sqrt(Math.pow(G-d.x,2)+Math.pow(V-d.y,2));te>v||(te<P?(M=[{...Y,x:G,y:V}],P=te):te===P&&M.push({...Y,x:G,y:V}))}}if(!M.length)return null;if(M.length>1){const U=A.type==="source"?"target":"source";return M.find(Q=>Q.type===U)??M[0]}return M[0]}function W1n(d,v,E,A,M,P=!1){var U,Q,Y;const m=A.get(d);if(!m)return null;const L=M==="strict"?(U=m.internals.handleBounds)==null?void 0:U[v]:[...((Q=m.internals.handleBounds)==null?void 0:Q.source)??[],...((Y=m.internals.handleBounds)==null?void 0:Y.target)??[]],H=(E?L==null?void 0:L.find(G=>G.id===E):L==null?void 0:L[0])??null;return H&&P?{...H,...dk(m,H,H.position,!0)}:H}function V1n(d,v){return d||(v!=null&&v.classList.contains("target")?"target":v!=null&&v.classList.contains("source")?"source":null)}function Pqn(d,v){let E=null;return v?E=!0:d&&!v&&(E=!1),E}const Q1n=()=>!0;function Oqn(d,{connectionMode:v,connectionRadius:E,handleId:A,nodeId:M,edgeUpdaterType:P,isTarget:m,domNode:L,nodeLookup:H,lib:U,autoPanOnConnect:Q,flowId:Y,panBy:G,cancelConnection:V,onConnectStart:te,onConnect:X,onConnectEnd:Ee,isValidConnection:ue=Q1n,onReconnectEnd:ge,updateConnection:re,getTransform:je,getFromHandle:Ke,autoPanSpeed:Xe,dragThreshold:Ye=1,handleDomNode:kn}){const En=R1n(d.target);let Zn=0,Ln;const{x:Vn,y:J}=i2(d),xe=V1n(P,kn),on=L==null?void 0:L.getBoundingClientRect();let rn=!1;if(!on||!xe)return;const Sn=W1n(M,xe,A,H,v);if(!Sn)return;let Fn=i2(d,on),dn=!1,Gn=null,Nn=!1,qn=null;function Jt(){if(!Q||!on)return;const[cr,Bi]=_2e(Fn,on,Xe);G({x:cr,y:Bi}),Zn=requestAnimationFrame(Jt)}const Kt={...Sn,nodeId:M,type:xe,position:Sn.position},Oi=H.get(M);let Ki={inProgress:!0,isValid:null,from:dk(Oi,Kt,Ei.Left,!0),fromHandle:Kt,fromPosition:Kt.position,fromNode:Oi,to:Fn,toHandle:null,toPosition:ian[Kt.position],toNode:null,pointer:Fn};function Kn(){rn=!0,re(Ki),te==null||te(d,{nodeId:M,handleId:A,handleType:xe})}Ye===0&&Kn();function ei(cr){if(!rn){const{x:ku,y:Pr}=i2(cr),Ca=ku-Vn,zl=Pr-J;if(!(Ca*Ca+zl*zl>Ye*Ye))return;Kn()}if(!Ke()||!Kt){rr(cr);return}const Bi=je();Fn=i2(cr,on),Ln=Iqn(JN(Fn,Bi,!1,[1,1]),E,H,Kt),dn||(Jt(),dn=!0);const sr=Y1n(cr,{handle:Ln,connectionMode:v,fromNodeId:M,fromHandleId:A,fromType:m?"target":"source",isValidConnection:ue,doc:En,lib:U,flowId:Y,nodeLookup:H});qn=sr.handleDomNode,Gn=sr.connection,Nn=Pqn(!!Ln,sr.isValid);const ri=H.get(M),bi=ri?dk(ri,Kt,Ei.Left,!0):Ki.from,Ac={...Ki,from:bi,isValid:Nn,to:sr.toHandle&&Nn?Ux({x:sr.toHandle.x,y:sr.toHandle.y},Bi):Fn,toHandle:sr.toHandle,toPosition:Nn&&sr.toHandle?sr.toHandle.position:ian[Kt.position],toNode:sr.toHandle?H.get(sr.toHandle.nodeId):null,pointer:Fn};re(Ac),Ki=Ac}function rr(cr){if(!("touches"in cr&&cr.touches.length>0)){if(rn){(Ln||qn)&&Gn&&Nn&&(X==null||X(Gn));const{inProgress:Bi,...sr}=Ki,ri={...sr,toPosition:Ki.toHandle?Ki.toPosition:null};Ee==null||Ee(cr,ri),P&&(ge==null||ge(cr,ri))}V(),cancelAnimationFrame(Zn),dn=!1,Nn=!1,Gn=null,qn=null,En.removeEventListener("mousemove",ei),En.removeEventListener("mouseup",rr),En.removeEventListener("touchmove",ei),En.removeEventListener("touchend",rr)}}En.addEventListener("mousemove",ei),En.addEventListener("mouseup",rr),En.addEventListener("touchmove",ei),En.addEventListener("touchend",rr)}function Y1n(d,{handle:v,connectionMode:E,fromNodeId:A,fromHandleId:M,fromType:P,doc:m,lib:L,flowId:H,isValidConnection:U=Q1n,nodeLookup:Q}){const Y=P==="target",G=v?m.querySelector(`.${L}-flow__handle[data-id="${H}-${v==null?void 0:v.nodeId}-${v==null?void 0:v.id}-${v==null?void 0:v.type}"]`):null,{x:V,y:te}=i2(d),X=m.elementFromPoint(V,te),Ee=X!=null&&X.classList.contains(`${L}-flow__handle`)?X:G,ue={handleDomNode:Ee,isValid:!1,connection:null,toHandle:null};if(Ee){const ge=V1n(void 0,Ee),re=Ee.getAttribute("data-nodeid"),je=Ee.getAttribute("data-handleid"),Ke=Ee.classList.contains("connectable"),Xe=Ee.classList.contains("connectableend");if(!re||!ge)return ue;const Ye={source:Y?re:A,sourceHandle:Y?je:M,target:Y?A:re,targetHandle:Y?M:je};ue.connection=Ye;const En=Ke&&Xe&&(E===qx.Strict?Y&&ge==="source"||!Y&&ge==="target":re!==A||je!==M);ue.isValid=En&&U(Ye),ue.toHandle=W1n(re,ge,je,Q,E,!0)}return ue}const j2e={onPointerDown:Oqn,isValid:Y1n};function Nqn({domNode:d,panZoom:v,getTransform:E,getViewScale:A}){const M=_0(d);function P({translateExtent:L,width:H,height:U,zoomStep:Q=1,pannable:Y=!0,zoomable:G=!0,inversePan:V=!1}){const te=re=>{if(re.sourceEvent.type!=="wheel"||!v)return;const je=E(),Ke=re.sourceEvent.ctrlKey&&DN()?10:1,Xe=-re.sourceEvent.deltaY*(re.sourceEvent.deltaMode===1?.05:re.sourceEvent.deltaMode?1:.002)*Q,Ye=je[2]*Math.pow(2,Xe*Ke);v.scaleTo(Ye)};let X=[0,0];const Ee=re=>{(re.sourceEvent.type==="mousedown"||re.sourceEvent.type==="touchstart")&&(X=[re.sourceEvent.clientX??re.sourceEvent.touches[0].clientX,re.sourceEvent.clientY??re.sourceEvent.touches[0].clientY])},ue=re=>{const je=E();if(re.sourceEvent.type!=="mousemove"&&re.sourceEvent.type!=="touchmove"||!v)return;const Ke=[re.sourceEvent.clientX??re.sourceEvent.touches[0].clientX,re.sourceEvent.clientY??re.sourceEvent.touches[0].clientY],Xe=[Ke[0]-X[0],Ke[1]-X[1]];X=Ke;const Ye=A()*Math.max(je[2],Math.log(je[2]))*(V?-1:1),kn={x:je[0]-Xe[0]*Ye,y:je[1]-Xe[1]*Ye},En=[[0,0],[H,U]];v.setViewportConstrained({x:kn.x,y:kn.y,zoom:je[2]},En,L)},ge=M1n().on("start",Ee).on("zoom",Y?ue:null).on("zoom.wheel",G?te:null);M.call(ge,{})}function m(){M.on("zoom",null)}return{update:P,destroy:m,pointer:e2}}const $K=d=>({x:d.x,y:d.y,zoom:d.k}),u2e=({x:d,y:v,zoom:E})=>PK.translate(d,v).scale(E),V5=(d,v)=>d.target.closest(`.${v}`),Z1n=(d,v)=>v===2&&Array.isArray(d)&&d.includes(2),$qn=d=>((d*=2)<=1?d*d*d:(d-=2)*d*d+2)/2,o2e=(d,v=0,E=$qn,A=()=>{})=>{const M=typeof v=="number"&&v>0;return M||A(),M?d.transition().duration(v).ease(E).on("end",A):d},edn=d=>{const v=d.ctrlKey&&DN()?10:1;return-d.deltaY*(d.deltaMode===1?.05:d.deltaMode?1:.002)*v};function Dqn({zoomPanValues:d,noWheelClassName:v,d3Selection:E,d3Zoom:A,panOnScrollMode:M,panOnScrollSpeed:P,zoomOnPinch:m,onPanZoomStart:L,onPanZoom:H,onPanZoomEnd:U}){return Q=>{if(V5(Q,v))return Q.ctrlKey&&Q.preventDefault(),!1;Q.preventDefault(),Q.stopImmediatePropagation();const Y=E.property("__zoom").k||1;if(Q.ctrlKey&&m){const Ee=e2(Q),ue=edn(Q),ge=Y*Math.pow(2,ue);A.scaleTo(E,ge,Ee,Q);return}const G=Q.deltaMode===1?20:1;let V=M===sk.Vertical?0:Q.deltaX*G,te=M===sk.Horizontal?0:Q.deltaY*G;!DN()&&Q.shiftKey&&M!==sk.Vertical&&(V=Q.deltaY*G,te=0),A.translateBy(E,-(V/Y)*P,-(te/Y)*P,{internal:!0});const X=$K(E.property("__zoom"));clearTimeout(d.panScrollTimeout),d.isPanScrolling?H==null||H(Q,X):(d.isPanScrolling=!0,L==null||L(Q,X)),d.panScrollTimeout=setTimeout(()=>{U==null||U(Q,X),d.isPanScrolling=!1},150)}}function Lqn({noWheelClassName:d,preventScrolling:v,d3ZoomHandler:E}){return function(A,M){const P=A.type==="wheel",m=!v&&P&&!A.ctrlKey,L=V5(A,d);if(A.ctrlKey&&P&&L&&A.preventDefault(),m||L)return null;A.preventDefault(),E.call(this,A,M)}}function _qn({zoomPanValues:d,onDraggingChange:v,onPanZoomStart:E}){return A=>{var P,m,L;if((P=A.sourceEvent)!=null&&P.internal)return;const M=$K(A.transform);d.mouseButton=((m=A.sourceEvent)==null?void 0:m.button)||0,d.isZoomingOrPanning=!0,d.prevViewport=M,((L=A.sourceEvent)==null?void 0:L.type)==="mousedown"&&v(!0),E&&(E==null||E(A.sourceEvent,M))}}function Fqn({zoomPanValues:d,panOnDrag:v,onPaneContextMenu:E,onTransformChange:A,onPanZoom:M}){return P=>{var m,L;d.usedRightMouseButton=!!(E&&Z1n(v,d.mouseButton??0)),(m=P.sourceEvent)!=null&&m.sync||A([P.transform.x,P.transform.y,P.transform.k]),M&&!((L=P.sourceEvent)!=null&&L.internal)&&(M==null||M(P.sourceEvent,$K(P.transform)))}}function Rqn({zoomPanValues:d,panOnDrag:v,panOnScroll:E,onDraggingChange:A,onPanZoomEnd:M,onPaneContextMenu:P}){return m=>{var L;if(!((L=m.sourceEvent)!=null&&L.internal)&&(d.isZoomingOrPanning=!1,P&&Z1n(v,d.mouseButton??0)&&!d.usedRightMouseButton&&m.sourceEvent&&P(m.sourceEvent),d.usedRightMouseButton=!1,A(!1),M)){const H=$K(m.transform);d.prevViewport=H,clearTimeout(d.timerId),d.timerId=setTimeout(()=>{M==null||M(m.sourceEvent,H)},E?150:0)}}}function Bqn({panActivationKeyPressed:d,zoomActivationKeyPressed:v,zoomOnScroll:E,zoomOnPinch:A,panOnDrag:M,panOnScroll:P,zoomOnDoubleClick:m,userSelectionActive:L,noWheelClassName:H,noPanClassName:U,lib:Q,connectionInProgress:Y}){return G=>{var ue;const V=v||E,te=A&&G.ctrlKey,X=G.type==="wheel";if(G.button===1&&G.type==="mousedown"&&(V5(G,`${Q}-flow__node`)||V5(G,`${Q}-flow__edge`)||V5(G,`${Q}-flow__selection`)||V5(G,`${Q}-flow__nodesselection`)))return!0;if(!M&&!V&&!P&&!m&&!A||L||Y&&!X||V5(G,H)&&X||V5(G,U)&&(!X||P&&X&&!v)||!A&&G.ctrlKey&&X)return!1;if(!A&&G.type==="touchstart"&&((ue=G.touches)==null?void 0:ue.length)>1)return G.preventDefault(),!1;if(!V&&!P&&!te&&X||!M&&(G.type==="mousedown"||G.type==="touchstart")||Array.isArray(M)&&!M.includes(G.button)&&G.type==="mousedown")return!1;const Ee=Array.isArray(M)&&M.includes(G.button)||!G.button||G.button<=1;return(!G.ctrlKey||X||d)&&Ee}}function Jqn({domNode:d,minZoom:v,maxZoom:E,translateExtent:A,viewport:M,onPanZoom:P,onPanZoomStart:m,onPanZoomEnd:L,onDraggingChange:H}){const U={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},Q=d.getBoundingClientRect();let Y=[[0,0],[Q.width,Q.height]];const G=typeof ResizeObserver<"u"?new ResizeObserver(J=>{const xe=J[0];xe&&(Y=[[0,0],[xe.contentRect.width,xe.contentRect.height]])}):null;G==null||G.observe(d);const V=M1n().extent(()=>Y).scaleExtent([v,E]).translateExtent(A),te=_0(d).call(V);je({x:M.x,y:M.y,zoom:zx(M.zoom,v,E)},[[0,0],[Q.width,Q.height]],A);const X=te.on("wheel.zoom"),Ee=te.on("dblclick.zoom");V.wheelDelta(edn);async function ue(J,xe){return te?new Promise(on=>{V==null||V.interpolate((xe==null?void 0:xe.interpolate)==="linear"?xN:fK).transform(o2e(te,xe==null?void 0:xe.duration,xe==null?void 0:xe.ease,()=>on(!0)),J)}):!1}function ge({noWheelClassName:J,noPanClassName:xe,onPaneContextMenu:on,userSelectionActive:rn,panOnScroll:Sn,panOnDrag:Fn,panOnScrollMode:dn,panOnScrollSpeed:Gn,preventScrolling:Nn,zoomOnPinch:qn,zoomOnScroll:Jt,zoomOnDoubleClick:Kt,panActivationKeyPressed:Oi=!1,zoomActivationKeyPressed:gr,lib:Ki,onTransformChange:Kn,connectionInProgress:ei,paneClickDistance:rr,selectionOnDrag:cr}){rn&&!U.isZoomingOrPanning&&re();const Bi=Sn&&!gr&&!rn;V.clickDistance(cr?1/0:!t2(rr)||rr<0?0:rr);const sr=Bi?Dqn({zoomPanValues:U,noWheelClassName:J,d3Selection:te,d3Zoom:V,panOnScrollMode:dn,panOnScrollSpeed:Gn,zoomOnPinch:qn,onPanZoomStart:m,onPanZoom:P,onPanZoomEnd:L}):Lqn({noWheelClassName:J,preventScrolling:Nn,d3ZoomHandler:X});te.on("wheel.zoom",sr,{passive:!1});const ri=_qn({zoomPanValues:U,onDraggingChange:H,onPanZoomStart:m});V.on("start",ri);const bi=Fqn({zoomPanValues:U,panOnDrag:Fn,onPaneContextMenu:!!on,onPanZoom:P,onTransformChange:Kn});V.on("zoom",bi);const Ac=Rqn({zoomPanValues:U,panOnDrag:Fn,panOnScroll:Sn,onPaneContextMenu:on,onPanZoomEnd:L,onDraggingChange:H});V.on("end",Ac);const ku=Bqn({panActivationKeyPressed:Oi,zoomActivationKeyPressed:gr,panOnDrag:Fn,zoomOnScroll:Jt,panOnScroll:Sn,zoomOnDoubleClick:Kt,zoomOnPinch:qn,userSelectionActive:rn,noPanClassName:xe,noWheelClassName:J,lib:Ki,connectionInProgress:ei});V.filter(ku),Kt?te.on("dblclick.zoom",Ee):te.on("dblclick.zoom",null)}function re(){V.on("zoom",null)}async function je(J,xe,on){const rn=u2e(J),Sn=V==null?void 0:V.constrain()(rn,xe,on);return Sn&&await ue(Sn),Sn}async function Ke(J,xe){const on=u2e(J);return await ue(on,xe),on}function Xe(J){if(te){const xe=u2e(J),on=te.property("__zoom");(on.k!==J.zoom||on.x!==J.x||on.y!==J.y)&&(V==null||V.transform(te,xe,null,{sync:!0}))}}function Ye(){const J=te?A1n(te.node()):{x:0,y:0,k:1};return{x:J.x,y:J.y,zoom:J.k}}async function kn(J,xe){return te?new Promise(on=>{V==null||V.interpolate((xe==null?void 0:xe.interpolate)==="linear"?xN:fK).scaleTo(o2e(te,xe==null?void 0:xe.duration,xe==null?void 0:xe.ease,()=>on(!0)),J)}):!1}async function En(J,xe){return te?new Promise(on=>{V==null||V.interpolate((xe==null?void 0:xe.interpolate)==="linear"?xN:fK).scaleBy(o2e(te,xe==null?void 0:xe.duration,xe==null?void 0:xe.ease,()=>on(!0)),J)}):!1}function Zn(J){V==null||V.scaleExtent(J)}function Ln(J){V==null||V.translateExtent(J)}function Vn(J){const xe=!t2(J)||J<0?0:J;V==null||V.clickDistance(xe)}return{update:ge,destroy:re,setViewport:Ke,setViewportConstrained:je,getViewport:Ye,scaleTo:kn,scaleBy:En,setScaleExtent:Zn,setTranslateExtent:Ln,syncViewport:Xe,setClickDistance:Vn}}var Xx;(function(d){d.Line="line",d.Handle="handle"})(Xx||(Xx={}));function Gqn({width:d,prevWidth:v,height:E,prevHeight:A,affectsX:M,affectsY:P}){const m=d-v,L=E-A,H=[m>0?1:m<0?-1:0,L>0?1:L<0?-1:0];return m&&M&&(H[0]=H[0]*-1),L&&P&&(H[1]=H[1]*-1),H}function gan(d){const v=d.includes("right")||d.includes("left"),E=d.includes("bottom")||d.includes("top"),A=d.includes("left"),M=d.includes("top");return{isHorizontal:v,isVertical:E,affectsX:A,affectsY:M}}function K5(d,v){return Math.max(0,v-d)}function W5(d,v){return Math.max(0,d-v)}function iK(d,v,E){return Math.max(0,v-d,d-E)}function pan(d,v){return d?!v:v}function Hqn(d,v,E,A,M,P,m,L){let{affectsX:H,affectsY:U}=v;const{isHorizontal:Q,isVertical:Y}=v,G=Q&&Y,{xSnapped:V,ySnapped:te}=E,{minWidth:X,maxWidth:Ee,minHeight:ue,maxHeight:ge}=A,{x:re,y:je,width:Ke,height:Xe,aspectRatio:Ye}=d;let kn=Math.floor(Q?V-d.pointerX:0),En=Math.floor(Y?te-d.pointerY:0);const Zn=Ke+(H?-kn:kn),Ln=Xe+(U?-En:En),Vn=-P[0]*Ke,J=-P[1]*Xe;let xe=iK(Zn,X,Ee),on=iK(Ln,ue,ge);if(m){let Fn=0,dn=0;H&&kn<0?Fn=K5(re+kn+Vn,m[0][0]):!H&&kn>0&&(Fn=W5(re+Zn+Vn,m[1][0])),U&&En<0?dn=K5(je+En+J,m[0][1]):!U&&En>0&&(dn=W5(je+Ln+J,m[1][1])),xe=Math.max(xe,Fn),on=Math.max(on,dn)}if(L){let Fn=0,dn=0;H&&kn>0?Fn=W5(re+kn,L[0][0]):!H&&kn<0&&(Fn=K5(re+Zn,L[1][0])),U&&En>0?dn=W5(je+En,L[0][1]):!U&&En<0&&(dn=K5(je+Ln,L[1][1])),xe=Math.max(xe,Fn),on=Math.max(on,dn)}if(M){if(Q){const Fn=iK(Zn/Ye,ue,ge)*Ye;if(xe=Math.max(xe,Fn),m){let dn=0;!H&&!U||H&&!U&&G?dn=W5(je+J+Zn/Ye,m[1][1])*Ye:dn=K5(je+J+(H?kn:-kn)/Ye,m[0][1])*Ye,xe=Math.max(xe,dn)}if(L){let dn=0;!H&&!U||H&&!U&&G?dn=K5(je+Zn/Ye,L[1][1])*Ye:dn=W5(je+(H?kn:-kn)/Ye,L[0][1])*Ye,xe=Math.max(xe,dn)}}if(Y){const Fn=iK(Ln*Ye,X,Ee)/Ye;if(on=Math.max(on,Fn),m){let dn=0;!H&&!U||U&&!H&&G?dn=W5(re+Ln*Ye+Vn,m[1][0])/Ye:dn=K5(re+(U?En:-En)*Ye+Vn,m[0][0])/Ye,on=Math.max(on,dn)}if(L){let dn=0;!H&&!U||U&&!H&&G?dn=K5(re+Ln*Ye,L[1][0])/Ye:dn=W5(re+(U?En:-En)*Ye,L[0][0])/Ye,on=Math.max(on,dn)}}}En=En+(En<0?on:-on),kn=kn+(kn<0?xe:-xe),M&&(G?Zn>Ln*Ye?En=(pan(H,U)?-kn:kn)/Ye:kn=(pan(H,U)?-En:En)*Ye:Q?(En=kn/Ye,U=H):(kn=En*Ye,H=U));const rn=H?re+kn:re,Sn=U?je+En:je;return{width:Ke+(H?-kn:kn),height:Xe+(U?-En:En),x:P[0]*kn*(H?-1:1)+rn,y:P[1]*En*(U?-1:1)+Sn}}const ndn={width:0,height:0,x:0,y:0},qqn={...ndn,pointerX:0,pointerY:0,aspectRatio:1};function zqn(d,v,E){const A=v.position.x+d.position.x,M=v.position.y+d.position.y,P=d.measured.width??0,m=d.measured.height??0,L=E[0]*P,H=E[1]*m;return[[A-L,M-H],[A+P-L,M+m-H]]}function Uqn({domNode:d,nodeId:v,getStoreItems:E,onChange:A,onEnd:M}){const P=_0(d);let m={controlDirection:gan("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number.MAX_VALUE,maxHeight:Number.MAX_VALUE},resizeDirection:void 0,keepAspectRatio:!1};function L({controlPosition:U,boundaries:Q,keepAspectRatio:Y,resizeDirection:G,onResizeStart:V,onResize:te,onResizeEnd:X,shouldResize:Ee}){let ue={...ndn},ge={...qqn};m={boundaries:Q,resizeDirection:G,keepAspectRatio:Y,controlDirection:gan(U)};let re,je=null,Ke=[],Xe,Ye,kn;const En=h1n().on("start",Zn=>{const{nodeLookup:Ln,transform:Vn,snapGrid:J,snapToGrid:xe,nodeOrigin:on,paneDomNode:rn}=E();if(re=Ln.get(v),!re)return;je=(rn==null?void 0:rn.getBoundingClientRect())??null;const{xSnapped:Sn,ySnapped:Fn}=AN(Zn.sourceEvent,{transform:Vn,snapGrid:J,snapToGrid:xe,containerBounds:je});ue={width:re.measured.width??0,height:re.measured.height??0,x:re.position.x??0,y:re.position.y??0},ge={...ue,pointerX:Sn,pointerY:Fn,aspectRatio:ue.width/ue.height},Xe=void 0,Ye=ak(re.extent)?re.extent:void 0,re.parentId&&(re.extent==="parent"||re.expandParent)&&(Xe=Ln.get(re.parentId)),Xe&&re.extent==="parent"&&(Ye=[[0,0],[Xe.measured.width,Xe.measured.height]]),Ke=[],kn=void 0;for(const[dn,Gn]of Ln)if(Gn.parentId===v&&(Ke.push({id:dn,position:{...Gn.position},extent:Gn.extent}),Gn.extent==="parent"||Gn.expandParent)){const Nn=zqn(Gn,re,Gn.origin??on);kn?kn=[[Math.min(Nn[0][0],kn[0][0]),Math.min(Nn[0][1],kn[0][1])],[Math.max(Nn[1][0],kn[1][0]),Math.max(Nn[1][1],kn[1][1])]]:kn=Nn}V==null||V(Zn,{...ue})}).on("drag",Zn=>{const{transform:Ln,snapGrid:Vn,snapToGrid:J,nodeOrigin:xe}=E(),on=AN(Zn.sourceEvent,{transform:Ln,snapGrid:Vn,snapToGrid:J,containerBounds:je}),rn=[];if(!re)return;const{x:Sn,y:Fn,width:dn,height:Gn}=ue,Nn={},qn=re.origin??xe,{width:Jt,height:Kt,x:Oi,y:gr}=Hqn(ge,m.controlDirection,on,m.boundaries,m.keepAspectRatio,qn,Ye,kn),Ki=Jt!==dn,Kn=Kt!==Gn,ei=Oi!==Sn&&Ki,rr=gr!==Fn&&Kn;if(!ei&&!rr&&!Ki&&!Kn)return;const cr={prevValues:{...ue},startX:ge.x,startY:ge.y,childNodes:Ke.map(bi=>({...bi,position:{...bi.position}}))};if((ei||rr||qn[0]===1||qn[1]===1)&&(Nn.x=ei?Oi:ue.x,Nn.y=rr?gr:ue.y,ue.x=Nn.x,ue.y=Nn.y,Ke.length>0)){const bi=Oi-Sn,Ac=gr-Fn;for(const ku of Ke)ku.position={x:ku.position.x-bi+qn[0]*(Jt-dn),y:ku.position.y-Ac+qn[1]*(Kt-Gn)},rn.push(ku)}if((Ki||Kn)&&(Nn.width=Ki&&(!m.resizeDirection||m.resizeDirection==="horizontal")?Jt:ue.width,Nn.height=Kn&&(!m.resizeDirection||m.resizeDirection==="vertical")?Kt:ue.height,ue.width=Nn.width,ue.height=Nn.height),Xe&&re.expandParent){const bi=qn[0]*(Nn.width??0);Nn.x&&Nn.x<bi&&(ue.x=bi,ge.x=ge.x-(Nn.x-bi));const Ac=qn[1]*(Nn.height??0);Nn.y&&Nn.y<Ac&&(ue.y=Ac,ge.y=ge.y-(Nn.y-Ac))}const Bi=Gqn({width:ue.width,prevWidth:dn,height:ue.height,prevHeight:Gn,affectsX:m.controlDirection.affectsX,affectsY:m.controlDirection.affectsY}),sr={...ue,direction:Bi};if((Ee==null?void 0:Ee(Zn,sr))===!1){ue=cr.prevValues,ge.x=cr.startX,ge.y=cr.startY,Ke.forEach((bi,Ac)=>{bi.position=cr.childNodes[Ac].position});return}te==null||te(Zn,sr),A(Nn,rn)}).on("end",Zn=>{X==null||X(Zn,{...ue}),M==null||M({...ue})});P.call(En)}function H(){P.on(".drag",null)}return{update:L,destroy:H}}const Xqn={},man=d=>{let v;const E=new Set,A=(Q,Y)=>{const G=typeof Q=="function"?Q(v):Q;if(!Object.is(G,v)){const V=v;v=Y??(typeof G!="object"||G===null)?G:Object.assign({},v,G),E.forEach(te=>te(v,V))}},M=()=>v,H={setState:A,getState:M,getInitialState:()=>U,subscribe:Q=>(E.add(Q),()=>E.delete(Q)),destroy:()=>{(Xqn?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),E.clear()}},U=v=d(A,M,H);return H},Kqn=d=>d?man(d):man,{useDebugValue:Wqn}=PRn,{useSyncExternalStoreWithSelector:Vqn}=IRn,Qqn=d=>d;function tdn(d,v=Qqn,E){const A=Vqn(d.subscribe,d.getState,d.getServerState||d.getInitialState,v,E);return Wqn(A),A}const van=(d,v)=>{const E=Kqn(d),A=(M,P=v)=>tdn(E,M,P);return Object.assign(A,E),A},Yqn=(d,v)=>d?van(d,v):van;function Ts(d,v){if(Object.is(d,v))return!0;if(typeof d!="object"||d===null||typeof v!="object"||v===null)return!1;if(d instanceof Map&&v instanceof Map){if(d.size!==v.size)return!1;for(const[A,M]of d)if(!Object.is(M,v.get(A)))return!1;return!0}if(d instanceof Set&&v instanceof Set){if(d.size!==v.size)return!1;for(const A of d)if(!v.has(A))return!1;return!0}const E=Object.keys(d);if(E.length!==Object.keys(v).length)return!1;for(const A of E)if(!Object.prototype.hasOwnProperty.call(v,A)||!Object.is(d[A],v[A]))return!1;return!0}const DK=sn.createContext(null),Zqn=DK.Provider,idn=c2.error001("react");function Sc(d,v){const E=sn.useContext(DK);if(E===null)throw new Error(idn);return tdn(E,d,v)}function os(){const d=sn.useContext(DK);if(d===null)throw new Error(idn);return sn.useMemo(()=>({getState:d.getState,setState:d.setState,subscribe:d.subscribe}),[d])}const yan={display:"none"},ezn={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},rdn="react-flow__node-desc",cdn="react-flow__edge-desc",nzn="react-flow__aria-live",tzn=d=>d.ariaLiveMessage,izn=d=>d.ariaLabelConfig;function rzn({rfId:d}){const v=Sc(tzn);return de.jsx("div",{id:`${nzn}-${d}`,"aria-live":"assertive","aria-atomic":"true",style:ezn,children:v})}function czn({rfId:d,disableKeyboardA11y:v}){const E=Sc(izn);return de.jsxs(de.Fragment,{children:[de.jsx("div",{id:`${rdn}-${d}`,style:yan,children:v?E["node.a11yDescription.default"]:E["node.a11yDescription.keyboardDisabled"]}),de.jsx("div",{id:`${cdn}-${d}`,style:yan,children:E["edge.a11yDescription.default"]}),!v&&de.jsx(rzn,{rfId:d})]})}const HN=sn.forwardRef(({position:d="top-left",children:v,className:E,style:A,...M},P)=>{const m=`${d}`.split("-");return de.jsx("div",{className:Kf(["react-flow__panel",E,...m]),style:A,ref:P,...M,children:v})});HN.displayName="Panel";const kan="https://reactflow.dev?utm_source=attribution";function uzn({proOptions:d,position:v="bottom-right"}){return sn.useEffect(()=>{},[]),d!=null&&d.hideAttribution?null:de.jsx(HN,{position:v,className:"react-flow__attribution","data-message":`Please only hide this attribution when you are subscribed to React Flow Pro: ${kan}`,children:de.jsx("a",{href:kan,target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}const ozn=d=>{const v=[],E=[];for(const[,A]of d.nodeLookup)A.selected&&v.push(A.internals.userNode);for(const[,A]of d.edgeLookup)A.selected&&E.push(A);return{selectedNodes:v,selectedEdges:E}},rK=d=>d.id;function szn(d,v){return Ts(d.selectedNodes.map(rK),v.selectedNodes.map(rK))&&Ts(d.selectedEdges.map(rK),v.selectedEdges.map(rK))}function fzn({onSelectionChange:d}){const v=os(),{selectedNodes:E,selectedEdges:A}=Sc(ozn,szn);return sn.useEffect(()=>{const M={nodes:E,edges:A};d==null||d(M),v.getState().onSelectionChangeHandlers.forEach(P=>P(M))},[E,A,d]),null}const lzn=d=>!!d.onSelectionChangeHandlers;function hzn({onSelectionChange:d}){const v=Sc(lzn);return d||v?de.jsx(fzn,{onSelectionChange:d}):null}const udn=[0,0],azn={x:0,y:0,zoom:1},dzn=["nodes","edges","defaultNodes","defaultEdges","onConnect","onConnectStart","onConnectEnd","onClickConnectStart","onClickConnectEnd","nodesDraggable","autoPanOnNodeFocus","nodesConnectable","nodesFocusable","edgesFocusable","edgesReconnectable","elevateNodesOnSelect","elevateEdgesOnSelect","minZoom","maxZoom","nodeExtent","onNodesChange","onEdgesChange","elementsSelectable","connectionMode","snapGrid","snapToGrid","translateExtent","connectOnClick","defaultEdgeOptions","fitView","fitViewOptions","onNodesDelete","onEdgesDelete","onDelete","onNodeDrag","onNodeDragStart","onNodeDragStop","onSelectionDrag","onSelectionDragStart","onSelectionDragStop","onMoveStart","onMove","onMoveEnd","noPanClassName","nodeOrigin","autoPanOnConnect","autoPanOnNodeDrag","onError","connectionRadius","isValidConnection","selectNodesOnDrag","nodeDragThreshold","connectionDragThreshold","onBeforeDelete","debug","autoPanSpeed","ariaLabelConfig","zIndexMode"],Ean=[...dzn,"rfId"],bzn=d=>({setNodes:d.setNodes,setEdges:d.setEdges,setMinZoom:d.setMinZoom,setMaxZoom:d.setMaxZoom,setTranslateExtent:d.setTranslateExtent,setNodeExtent:d.setNodeExtent,reset:d.reset,setDefaultNodesAndEdges:d.setDefaultNodesAndEdges}),jan={translateExtent:PN,nodeOrigin:udn,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function wzn(d){const{setNodes:v,setEdges:E,setMinZoom:A,setMaxZoom:M,setTranslateExtent:P,setNodeExtent:m,reset:L,setDefaultNodesAndEdges:H}=Sc(bzn,Ts),U=os();sn.useEffect(()=>(H(d.defaultNodes,d.defaultEdges),()=>{Q.current=jan,L()}),[]);const Q=sn.useRef(jan);return sn.useEffect(()=>{for(const Y of Ean){const G=d[Y],V=Q.current[Y];G!==V&&(typeof d[Y]>"u"||(Y==="nodes"?v(G):Y==="edges"?E(G):Y==="minZoom"?A(G):Y==="maxZoom"?M(G):Y==="translateExtent"?P(G):Y==="nodeExtent"?m(G):Y==="ariaLabelConfig"?U.setState({ariaLabelConfig:rqn(G)}):Y==="fitView"?U.setState({fitViewQueued:G}):Y==="fitViewOptions"?U.setState({fitViewOptions:G}):U.setState({[Y]:G})))}Q.current=d},Ean.map(Y=>d[Y])),null}function xan(){return typeof window>"u"||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function gzn(d){var A;const[v,E]=sn.useState(d==="system"?null:d);return sn.useEffect(()=>{if(d!=="system"){E(d);return}const M=xan(),P=()=>E(M!=null&&M.matches?"dark":"light");return P(),M==null||M.addEventListener("change",P),()=>{M==null||M.removeEventListener("change",P)}},[d]),v!==null?v:(A=xan())!=null&&A.matches?"dark":"light"}const Aan=typeof document<"u"?document:null;function LN(d=null,v={target:Aan,actInsideInputWithModifier:!0}){const[E,A]=sn.useState(!1),M=sn.useRef(!1),P=sn.useRef(new Set([])),[m,L]=sn.useMemo(()=>{if(d!==null){const U=(Array.isArray(d)?d:[d]).filter(Y=>typeof Y=="string").map(Y=>Y.replace(/\+/g,`
|
|
1
|
+
import{p0 as IRn,hR as PRn,r as sn,j as de,e5 as Kan,iq as ORn,ju as NRn,hg as $Rn,p1 as DRn,W as MN,bF as A2e,B as Wan,aq as Van,Q as r2,aU as M2e,bf as C2e,be as LRn,a5 as jN,f as _Rn,hT as FRn,X as RRn,p2 as Fhn,eo as BRn,ap as JRn,aw as GRn,p3 as HRn,hn as qRn,c4 as VX,fr as zRn,x as Rhn,hl as URn,h5 as XRn,fY as KRn,fZ as WRn,f_ as VRn,f$ as QRn,g0 as YRn,g1 as ZRn,g2 as eBn,g3 as nBn,gF as tBn}from"./index-CdKpQ1hI.js";import{H as wK}from"./_shell.team-DoLdOMoC.js";import{H as iBn}from"./heart-Dblp_miM.js";import{a as e2e,A as rBn}from"./AdapterIcon-BXPv5J8h.js";import"./relay-trace-schemas-y0nd8fzi.js";import{d as cBn,c as uBn,a as oBn,B as sBn}from"./BindingDialog-DSBxRyzA.js";import{s as fBn}from"./session-strategy-labels-C7Wduch3.js";import{u as lBn}from"./use-mesh-topology-NaUKSKol.js";import{E as hBn}from"./empty-state-yl1dLwLN.js";import{Q as aBn}from"./query-error-state-CEZs7dhg.js";import{u as dBn}from"./use-bindings-Ch6UUBvz.js";import{u as bBn}from"./use-delete-binding-BklxjB_c.js";import{u as wBn}from"./use-relay-config-Ba-S4wxY.js";import"./use-pending-read-DUqJZUza.js";import"./search-x-EJGj73JB.js";import"./scroll-area-CQ9lO56h.js";import"./OpenMeshSwitch-RzB2u6-Q.js";import"./table-D89CWVJX.js";import"./shield-check-Bp58y9u7.js";import"./page-container-CDHAACRA.js";import"./profile-errors-CqflLCzu.js";import"./CommitmentList-CTvEGUV3.js";import"./form-vPuXuaYT.js";import"./use-adapter-catalog-ClMqVelU.js";import"./trust-posture-15DMDZTA.js";function Kf(d){if(typeof d=="string"||typeof d=="number")return""+d;let v="";if(Array.isArray(d))for(let E=0,A;E<d.length;E++)(A=Kf(d[E]))!==""&&(v+=(v&&" ")+A);else for(let E in d)d[E]&&(v+=(v&&" ")+E);return v}var gBn={value:()=>{}};function CK(){for(var d=0,v=arguments.length,E={},A;d<v;++d){if(!(A=arguments[d]+"")||A in E||/[\s.]/.test(A))throw new Error("illegal type: "+A);E[A]=[]}return new sK(E)}function sK(d){this._=d}function pBn(d,v){return d.trim().split(/^|\s+/).map(function(E){var A="",M=E.indexOf(".");if(M>=0&&(A=E.slice(M+1),E=E.slice(0,M)),E&&!v.hasOwnProperty(E))throw new Error("unknown type: "+E);return{type:E,name:A}})}sK.prototype=CK.prototype={constructor:sK,on:function(d,v){var E=this._,A=pBn(d+"",E),M,P=-1,m=A.length;if(arguments.length<2){for(;++P<m;)if((M=(d=A[P]).type)&&(M=mBn(E[M],d.name)))return M;return}if(v!=null&&typeof v!="function")throw new Error("invalid callback: "+v);for(;++P<m;)if(M=(d=A[P]).type)E[M]=Bhn(E[M],d.name,v);else if(v==null)for(M in E)E[M]=Bhn(E[M],d.name,null);return this},copy:function(){var d={},v=this._;for(var E in v)d[E]=v[E].slice();return new sK(d)},call:function(d,v){if((M=arguments.length-2)>0)for(var E=new Array(M),A=0,M,P;A<M;++A)E[A]=arguments[A+2];if(!this._.hasOwnProperty(d))throw new Error("unknown type: "+d);for(P=this._[d],A=0,M=P.length;A<M;++A)P[A].value.apply(v,E)},apply:function(d,v,E){if(!this._.hasOwnProperty(d))throw new Error("unknown type: "+d);for(var A=this._[d],M=0,P=A.length;M<P;++M)A[M].value.apply(v,E)}};function mBn(d,v){for(var E=0,A=d.length,M;E<A;++E)if((M=d[E]).name===v)return M.value}function Bhn(d,v,E){for(var A=0,M=d.length;A<M;++A)if(d[A].name===v){d[A]=gBn,d=d.slice(0,A).concat(d.slice(A+1));break}return E!=null&&d.push({name:v,value:E}),d}var h2e="http://www.w3.org/1999/xhtml";const Jhn={svg:"http://www.w3.org/2000/svg",xhtml:h2e,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function TK(d){var v=d+="",E=v.indexOf(":");return E>=0&&(v=d.slice(0,E))!=="xmlns"&&(d=d.slice(E+1)),Jhn.hasOwnProperty(v)?{space:Jhn[v],local:d}:d}function vBn(d){return function(){var v=this.ownerDocument,E=this.namespaceURI;return E===h2e&&v.documentElement.namespaceURI===h2e?v.createElement(d):v.createElementNS(E,d)}}function yBn(d){return function(){return this.ownerDocument.createElementNS(d.space,d.local)}}function Qan(d){var v=TK(d);return(v.local?yBn:vBn)(v)}function kBn(){}function T2e(d){return d==null?kBn:function(){return this.querySelector(d)}}function EBn(d){typeof d!="function"&&(d=T2e(d));for(var v=this._groups,E=v.length,A=new Array(E),M=0;M<E;++M)for(var P=v[M],m=P.length,L=A[M]=new Array(m),H,U,Q=0;Q<m;++Q)(H=P[Q])&&(U=d.call(H,H.__data__,Q,P))&&("__data__"in H&&(U.__data__=H.__data__),L[Q]=U);return new F0(A,this._parents)}function jBn(d){return d==null?[]:Array.isArray(d)?d:Array.from(d)}function xBn(){return[]}function Yan(d){return d==null?xBn:function(){return this.querySelectorAll(d)}}function ABn(d){return function(){return jBn(d.apply(this,arguments))}}function MBn(d){typeof d=="function"?d=ABn(d):d=Yan(d);for(var v=this._groups,E=v.length,A=[],M=[],P=0;P<E;++P)for(var m=v[P],L=m.length,H,U=0;U<L;++U)(H=m[U])&&(A.push(d.call(H,H.__data__,U,m)),M.push(H));return new F0(A,M)}function Zan(d){return function(){return this.matches(d)}}function e1n(d){return function(v){return v.matches(d)}}var CBn=Array.prototype.find;function TBn(d){return function(){return CBn.call(this.children,d)}}function SBn(){return this.firstElementChild}function IBn(d){return this.select(d==null?SBn:TBn(typeof d=="function"?d:e1n(d)))}var PBn=Array.prototype.filter;function OBn(){return Array.from(this.children)}function NBn(d){return function(){return PBn.call(this.children,d)}}function $Bn(d){return this.selectAll(d==null?OBn:NBn(typeof d=="function"?d:e1n(d)))}function DBn(d){typeof d!="function"&&(d=Zan(d));for(var v=this._groups,E=v.length,A=new Array(E),M=0;M<E;++M)for(var P=v[M],m=P.length,L=A[M]=[],H,U=0;U<m;++U)(H=P[U])&&d.call(H,H.__data__,U,P)&&L.push(H);return new F0(A,this._parents)}function n1n(d){return new Array(d.length)}function LBn(){return new F0(this._enter||this._groups.map(n1n),this._parents)}function gK(d,v){this.ownerDocument=d.ownerDocument,this.namespaceURI=d.namespaceURI,this._next=null,this._parent=d,this.__data__=v}gK.prototype={constructor:gK,appendChild:function(d){return this._parent.insertBefore(d,this._next)},insertBefore:function(d,v){return this._parent.insertBefore(d,v)},querySelector:function(d){return this._parent.querySelector(d)},querySelectorAll:function(d){return this._parent.querySelectorAll(d)}};function _Bn(d){return function(){return d}}function FBn(d,v,E,A,M,P){for(var m=0,L,H=v.length,U=P.length;m<U;++m)(L=v[m])?(L.__data__=P[m],A[m]=L):E[m]=new gK(d,P[m]);for(;m<H;++m)(L=v[m])&&(M[m]=L)}function RBn(d,v,E,A,M,P,m){var L,H,U=new Map,Q=v.length,Y=P.length,G=new Array(Q),V;for(L=0;L<Q;++L)(H=v[L])&&(G[L]=V=m.call(H,H.__data__,L,v)+"",U.has(V)?M[L]=H:U.set(V,H));for(L=0;L<Y;++L)V=m.call(d,P[L],L,P)+"",(H=U.get(V))?(A[L]=H,H.__data__=P[L],U.delete(V)):E[L]=new gK(d,P[L]);for(L=0;L<Q;++L)(H=v[L])&&U.get(G[L])===H&&(M[L]=H)}function BBn(d){return d.__data__}function JBn(d,v){if(!arguments.length)return Array.from(this,BBn);var E=v?RBn:FBn,A=this._parents,M=this._groups;typeof d!="function"&&(d=_Bn(d));for(var P=M.length,m=new Array(P),L=new Array(P),H=new Array(P),U=0;U<P;++U){var Q=A[U],Y=M[U],G=Y.length,V=GBn(d.call(Q,Q&&Q.__data__,U,A)),te=V.length,X=L[U]=new Array(te),Ee=m[U]=new Array(te),ue=H[U]=new Array(G);E(Q,Y,X,Ee,ue,V,v);for(var ge=0,re=0,je,Ke;ge<te;++ge)if(je=X[ge]){for(ge>=re&&(re=ge+1);!(Ke=Ee[re])&&++re<te;);je._next=Ke||null}}return m=new F0(m,A),m._enter=L,m._exit=H,m}function GBn(d){return typeof d=="object"&&"length"in d?d:Array.from(d)}function HBn(){return new F0(this._exit||this._groups.map(n1n),this._parents)}function qBn(d,v,E){var A=this.enter(),M=this,P=this.exit();return typeof d=="function"?(A=d(A),A&&(A=A.selection())):A=A.append(d+""),v!=null&&(M=v(M),M&&(M=M.selection())),E==null?P.remove():E(P),A&&M?A.merge(M).order():M}function zBn(d){for(var v=d.selection?d.selection():d,E=this._groups,A=v._groups,M=E.length,P=A.length,m=Math.min(M,P),L=new Array(M),H=0;H<m;++H)for(var U=E[H],Q=A[H],Y=U.length,G=L[H]=new Array(Y),V,te=0;te<Y;++te)(V=U[te]||Q[te])&&(G[te]=V);for(;H<M;++H)L[H]=E[H];return new F0(L,this._parents)}function UBn(){for(var d=this._groups,v=-1,E=d.length;++v<E;)for(var A=d[v],M=A.length-1,P=A[M],m;--M>=0;)(m=A[M])&&(P&&m.compareDocumentPosition(P)^4&&P.parentNode.insertBefore(m,P),P=m);return this}function XBn(d){d||(d=KBn);function v(Y,G){return Y&&G?d(Y.__data__,G.__data__):!Y-!G}for(var E=this._groups,A=E.length,M=new Array(A),P=0;P<A;++P){for(var m=E[P],L=m.length,H=M[P]=new Array(L),U,Q=0;Q<L;++Q)(U=m[Q])&&(H[Q]=U);H.sort(v)}return new F0(M,this._parents).order()}function KBn(d,v){return d<v?-1:d>v?1:d>=v?0:NaN}function WBn(){var d=arguments[0];return arguments[0]=this,d.apply(null,arguments),this}function VBn(){return Array.from(this)}function QBn(){for(var d=this._groups,v=0,E=d.length;v<E;++v)for(var A=d[v],M=0,P=A.length;M<P;++M){var m=A[M];if(m)return m}return null}function YBn(){let d=0;for(const v of this)++d;return d}function ZBn(){return!this.node()}function eJn(d){for(var v=this._groups,E=0,A=v.length;E<A;++E)for(var M=v[E],P=0,m=M.length,L;P<m;++P)(L=M[P])&&d.call(L,L.__data__,P,M);return this}function nJn(d){return function(){this.removeAttribute(d)}}function tJn(d){return function(){this.removeAttributeNS(d.space,d.local)}}function iJn(d,v){return function(){this.setAttribute(d,v)}}function rJn(d,v){return function(){this.setAttributeNS(d.space,d.local,v)}}function cJn(d,v){return function(){var E=v.apply(this,arguments);E==null?this.removeAttribute(d):this.setAttribute(d,E)}}function uJn(d,v){return function(){var E=v.apply(this,arguments);E==null?this.removeAttributeNS(d.space,d.local):this.setAttributeNS(d.space,d.local,E)}}function oJn(d,v){var E=TK(d);if(arguments.length<2){var A=this.node();return E.local?A.getAttributeNS(E.space,E.local):A.getAttribute(E)}return this.each((v==null?E.local?tJn:nJn:typeof v=="function"?E.local?uJn:cJn:E.local?rJn:iJn)(E,v))}function t1n(d){return d.ownerDocument&&d.ownerDocument.defaultView||d.document&&d||d.defaultView}function sJn(d){return function(){this.style.removeProperty(d)}}function fJn(d,v,E){return function(){this.style.setProperty(d,v,E)}}function lJn(d,v,E){return function(){var A=v.apply(this,arguments);A==null?this.style.removeProperty(d):this.style.setProperty(d,A,E)}}function hJn(d,v,E){return arguments.length>1?this.each((v==null?sJn:typeof v=="function"?lJn:fJn)(d,v,E??"")):Gx(this.node(),d)}function Gx(d,v){return d.style.getPropertyValue(v)||t1n(d).getComputedStyle(d,null).getPropertyValue(v)}function aJn(d){return function(){delete this[d]}}function dJn(d,v){return function(){this[d]=v}}function bJn(d,v){return function(){var E=v.apply(this,arguments);E==null?delete this[d]:this[d]=E}}function wJn(d,v){return arguments.length>1?this.each((v==null?aJn:typeof v=="function"?bJn:dJn)(d,v)):this.node()[d]}function i1n(d){return d.trim().split(/^|\s+/)}function S2e(d){return d.classList||new r1n(d)}function r1n(d){this._node=d,this._names=i1n(d.getAttribute("class")||"")}r1n.prototype={add:function(d){var v=this._names.indexOf(d);v<0&&(this._names.push(d),this._node.setAttribute("class",this._names.join(" ")))},remove:function(d){var v=this._names.indexOf(d);v>=0&&(this._names.splice(v,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(d){return this._names.indexOf(d)>=0}};function c1n(d,v){for(var E=S2e(d),A=-1,M=v.length;++A<M;)E.add(v[A])}function u1n(d,v){for(var E=S2e(d),A=-1,M=v.length;++A<M;)E.remove(v[A])}function gJn(d){return function(){c1n(this,d)}}function pJn(d){return function(){u1n(this,d)}}function mJn(d,v){return function(){(v.apply(this,arguments)?c1n:u1n)(this,d)}}function vJn(d,v){var E=i1n(d+"");if(arguments.length<2){for(var A=S2e(this.node()),M=-1,P=E.length;++M<P;)if(!A.contains(E[M]))return!1;return!0}return this.each((typeof v=="function"?mJn:v?gJn:pJn)(E,v))}function yJn(){this.textContent=""}function kJn(d){return function(){this.textContent=d}}function EJn(d){return function(){var v=d.apply(this,arguments);this.textContent=v??""}}function jJn(d){return arguments.length?this.each(d==null?yJn:(typeof d=="function"?EJn:kJn)(d)):this.node().textContent}function xJn(){this.innerHTML=""}function AJn(d){return function(){this.innerHTML=d}}function MJn(d){return function(){var v=d.apply(this,arguments);this.innerHTML=v??""}}function CJn(d){return arguments.length?this.each(d==null?xJn:(typeof d=="function"?MJn:AJn)(d)):this.node().innerHTML}function TJn(){this.nextSibling&&this.parentNode.appendChild(this)}function SJn(){return this.each(TJn)}function IJn(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function PJn(){return this.each(IJn)}function OJn(d){var v=typeof d=="function"?d:Qan(d);return this.select(function(){return this.appendChild(v.apply(this,arguments))})}function NJn(){return null}function $Jn(d,v){var E=typeof d=="function"?d:Qan(d),A=v==null?NJn:typeof v=="function"?v:T2e(v);return this.select(function(){return this.insertBefore(E.apply(this,arguments),A.apply(this,arguments)||null)})}function DJn(){var d=this.parentNode;d&&d.removeChild(this)}function LJn(){return this.each(DJn)}function _Jn(){var d=this.cloneNode(!1),v=this.parentNode;return v?v.insertBefore(d,this.nextSibling):d}function FJn(){var d=this.cloneNode(!0),v=this.parentNode;return v?v.insertBefore(d,this.nextSibling):d}function RJn(d){return this.select(d?FJn:_Jn)}function BJn(d){return arguments.length?this.property("__data__",d):this.node().__data__}function JJn(d){return function(v){d.call(this,v,this.__data__)}}function GJn(d){return d.trim().split(/^|\s+/).map(function(v){var E="",A=v.indexOf(".");return A>=0&&(E=v.slice(A+1),v=v.slice(0,A)),{type:v,name:E}})}function HJn(d){return function(){var v=this.__on;if(v){for(var E=0,A=-1,M=v.length,P;E<M;++E)P=v[E],(!d.type||P.type===d.type)&&P.name===d.name?this.removeEventListener(P.type,P.listener,P.options):v[++A]=P;++A?v.length=A:delete this.__on}}}function qJn(d,v,E){return function(){var A=this.__on,M,P=JJn(v);if(A){for(var m=0,L=A.length;m<L;++m)if((M=A[m]).type===d.type&&M.name===d.name){this.removeEventListener(M.type,M.listener,M.options),this.addEventListener(M.type,M.listener=P,M.options=E),M.value=v;return}}this.addEventListener(d.type,P,E),M={type:d.type,name:d.name,value:v,listener:P,options:E},A?A.push(M):this.__on=[M]}}function zJn(d,v,E){var A=GJn(d+""),M,P=A.length,m;if(arguments.length<2){var L=this.node().__on;if(L){for(var H=0,U=L.length,Q;H<U;++H)for(M=0,Q=L[H];M<P;++M)if((m=A[M]).type===Q.type&&m.name===Q.name)return Q.value}return}for(L=v?qJn:HJn,M=0;M<P;++M)this.each(L(A[M],v,E));return this}function o1n(d,v,E){var A=t1n(d),M=A.CustomEvent;typeof M=="function"?M=new M(v,E):(M=A.document.createEvent("Event"),E?(M.initEvent(v,E.bubbles,E.cancelable),M.detail=E.detail):M.initEvent(v,!1,!1)),d.dispatchEvent(M)}function UJn(d,v){return function(){return o1n(this,d,v)}}function XJn(d,v){return function(){return o1n(this,d,v.apply(this,arguments))}}function KJn(d,v){return this.each((typeof v=="function"?XJn:UJn)(d,v))}function*WJn(){for(var d=this._groups,v=0,E=d.length;v<E;++v)for(var A=d[v],M=0,P=A.length,m;M<P;++M)(m=A[M])&&(yield m)}var s1n=[null];function F0(d,v){this._groups=d,this._parents=v}function _N(){return new F0([[document.documentElement]],s1n)}function VJn(){return this}F0.prototype=_N.prototype={constructor:F0,select:EBn,selectAll:MBn,selectChild:IBn,selectChildren:$Bn,filter:DBn,data:JBn,enter:LBn,exit:HBn,join:qBn,merge:zBn,selection:VJn,order:UBn,sort:XBn,call:WBn,nodes:VBn,node:QBn,size:YBn,empty:ZBn,each:eJn,attr:oJn,style:hJn,property:wJn,classed:vJn,text:jJn,html:CJn,raise:SJn,lower:PJn,append:OJn,insert:$Jn,remove:LJn,clone:RJn,datum:BJn,on:zJn,dispatch:KJn,[Symbol.iterator]:WJn};function _0(d){return typeof d=="string"?new F0([[document.querySelector(d)]],[document.documentElement]):new F0([[d]],s1n)}function QJn(d){let v;for(;v=d.sourceEvent;)d=v;return d}function e2(d,v){if(d=QJn(d),v===void 0&&(v=d.currentTarget),v){var E=v.ownerSVGElement||v;if(E.createSVGPoint){var A=E.createSVGPoint();return A.x=d.clientX,A.y=d.clientY,A=A.matrixTransform(v.getScreenCTM().inverse()),[A.x,A.y]}if(v.getBoundingClientRect){var M=v.getBoundingClientRect();return[d.clientX-M.left-v.clientLeft,d.clientY-M.top-v.clientTop]}}return[d.pageX,d.pageY]}const YJn={passive:!1},CN={capture:!0,passive:!1};function n2e(d){d.stopImmediatePropagation()}function Bx(d){d.preventDefault(),d.stopImmediatePropagation()}function f1n(d){var v=d.document.documentElement,E=_0(d).on("dragstart.drag",Bx,CN);"onselectstart"in v?E.on("selectstart.drag",Bx,CN):(v.__noselect=v.style.MozUserSelect,v.style.MozUserSelect="none")}function l1n(d,v){var E=d.document.documentElement,A=_0(d).on("dragstart.drag",null);v&&(A.on("click.drag",Bx,CN),setTimeout(function(){A.on("click.drag",null)},0)),"onselectstart"in E?A.on("selectstart.drag",null):(E.style.MozUserSelect=E.__noselect,delete E.__noselect)}const QX=d=>()=>d;function a2e(d,{sourceEvent:v,subject:E,target:A,identifier:M,active:P,x:m,y:L,dx:H,dy:U,dispatch:Q}){Object.defineProperties(this,{type:{value:d,enumerable:!0,configurable:!0},sourceEvent:{value:v,enumerable:!0,configurable:!0},subject:{value:E,enumerable:!0,configurable:!0},target:{value:A,enumerable:!0,configurable:!0},identifier:{value:M,enumerable:!0,configurable:!0},active:{value:P,enumerable:!0,configurable:!0},x:{value:m,enumerable:!0,configurable:!0},y:{value:L,enumerable:!0,configurable:!0},dx:{value:H,enumerable:!0,configurable:!0},dy:{value:U,enumerable:!0,configurable:!0},_:{value:Q}})}a2e.prototype.on=function(){var d=this._.on.apply(this._,arguments);return d===this._?this:d};function ZJn(d){return!d.ctrlKey&&!d.button}function eGn(){return this.parentNode}function nGn(d,v){return v??{x:d.x,y:d.y}}function tGn(){return navigator.maxTouchPoints||"ontouchstart"in this}function h1n(){var d=ZJn,v=eGn,E=nGn,A=tGn,M={},P=CK("start","drag","end"),m=0,L,H,U,Q,Y=0;function G(je){je.on("mousedown.drag",V).filter(A).on("touchstart.drag",Ee).on("touchmove.drag",ue,YJn).on("touchend.drag touchcancel.drag",ge).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function V(je,Ke){if(!(Q||!d.call(this,je,Ke))){var Xe=re(this,v.call(this,je,Ke),je,Ke,"mouse");Xe&&(_0(je.view).on("mousemove.drag",te,CN).on("mouseup.drag",X,CN),f1n(je.view),n2e(je),U=!1,L=je.clientX,H=je.clientY,Xe("start",je))}}function te(je){if(Bx(je),!U){var Ke=je.clientX-L,Xe=je.clientY-H;U=Ke*Ke+Xe*Xe>Y}M.mouse("drag",je)}function X(je){_0(je.view).on("mousemove.drag mouseup.drag",null),l1n(je.view,U),Bx(je),M.mouse("end",je)}function Ee(je,Ke){if(d.call(this,je,Ke)){var Xe=je.changedTouches,Ye=v.call(this,je,Ke),kn=Xe.length,En,Zn;for(En=0;En<kn;++En)(Zn=re(this,Ye,je,Ke,Xe[En].identifier,Xe[En]))&&(n2e(je),Zn("start",je,Xe[En]))}}function ue(je){var Ke=je.changedTouches,Xe=Ke.length,Ye,kn;for(Ye=0;Ye<Xe;++Ye)(kn=M[Ke[Ye].identifier])&&(Bx(je),kn("drag",je,Ke[Ye]))}function ge(je){var Ke=je.changedTouches,Xe=Ke.length,Ye,kn;for(Q&&clearTimeout(Q),Q=setTimeout(function(){Q=null},500),Ye=0;Ye<Xe;++Ye)(kn=M[Ke[Ye].identifier])&&(n2e(je),kn("end",je,Ke[Ye]))}function re(je,Ke,Xe,Ye,kn,En){var Zn=P.copy(),Ln=e2(En||Xe,Ke),Vn,J,xe;if((xe=E.call(je,new a2e("beforestart",{sourceEvent:Xe,target:G,identifier:kn,active:m,x:Ln[0],y:Ln[1],dx:0,dy:0,dispatch:Zn}),Ye))!=null)return Vn=xe.x-Ln[0]||0,J=xe.y-Ln[1]||0,function on(rn,Sn,Fn){var dn=Ln,Gn;switch(rn){case"start":M[kn]=on,Gn=m++;break;case"end":delete M[kn],--m;case"drag":Ln=e2(Fn||Sn,Ke),Gn=m;break}Zn.call(rn,je,new a2e(rn,{sourceEvent:Sn,subject:xe,target:G,identifier:kn,active:Gn,x:Ln[0]+Vn,y:Ln[1]+J,dx:Ln[0]-dn[0],dy:Ln[1]-dn[1],dispatch:Zn}),Ye)}}return G.filter=function(je){return arguments.length?(d=typeof je=="function"?je:QX(!!je),G):d},G.container=function(je){return arguments.length?(v=typeof je=="function"?je:QX(je),G):v},G.subject=function(je){return arguments.length?(E=typeof je=="function"?je:QX(je),G):E},G.touchable=function(je){return arguments.length?(A=typeof je=="function"?je:QX(!!je),G):A},G.on=function(){var je=P.on.apply(P,arguments);return je===P?G:je},G.clickDistance=function(je){return arguments.length?(Y=(je=+je)*je,G):Math.sqrt(Y)},G}function I2e(d,v,E){d.prototype=v.prototype=E,E.constructor=d}function a1n(d,v){var E=Object.create(d.prototype);for(var A in v)E[A]=v[A];return E}function FN(){}var TN=.7,pK=1/TN,Jx="\\s*([+-]?\\d+)\\s*",SN="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",qp="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",iGn=/^#([0-9a-f]{3,8})$/,rGn=new RegExp(`^rgb\\(${Jx},${Jx},${Jx}\\)$`),cGn=new RegExp(`^rgb\\(${qp},${qp},${qp}\\)$`),uGn=new RegExp(`^rgba\\(${Jx},${Jx},${Jx},${SN}\\)$`),oGn=new RegExp(`^rgba\\(${qp},${qp},${qp},${SN}\\)$`),sGn=new RegExp(`^hsl\\(${SN},${qp},${qp}\\)$`),fGn=new RegExp(`^hsla\\(${SN},${qp},${qp},${SN}\\)$`),Ghn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};I2e(FN,fk,{copy(d){return Object.assign(new this.constructor,this,d)},displayable(){return this.rgb().displayable()},hex:Hhn,formatHex:Hhn,formatHex8:lGn,formatHsl:hGn,formatRgb:qhn,toString:qhn});function Hhn(){return this.rgb().formatHex()}function lGn(){return this.rgb().formatHex8()}function hGn(){return d1n(this).formatHsl()}function qhn(){return this.rgb().formatRgb()}function fk(d){var v,E;return d=(d+"").trim().toLowerCase(),(v=iGn.exec(d))?(E=v[1].length,v=parseInt(v[1],16),E===6?zhn(v):E===3?new Ad(v>>8&15|v>>4&240,v>>4&15|v&240,(v&15)<<4|v&15,1):E===8?YX(v>>24&255,v>>16&255,v>>8&255,(v&255)/255):E===4?YX(v>>12&15|v>>8&240,v>>8&15|v>>4&240,v>>4&15|v&240,((v&15)<<4|v&15)/255):null):(v=rGn.exec(d))?new Ad(v[1],v[2],v[3],1):(v=cGn.exec(d))?new Ad(v[1]*255/100,v[2]*255/100,v[3]*255/100,1):(v=uGn.exec(d))?YX(v[1],v[2],v[3],v[4]):(v=oGn.exec(d))?YX(v[1]*255/100,v[2]*255/100,v[3]*255/100,v[4]):(v=sGn.exec(d))?Khn(v[1],v[2]/100,v[3]/100,1):(v=fGn.exec(d))?Khn(v[1],v[2]/100,v[3]/100,v[4]):Ghn.hasOwnProperty(d)?zhn(Ghn[d]):d==="transparent"?new Ad(NaN,NaN,NaN,0):null}function zhn(d){return new Ad(d>>16&255,d>>8&255,d&255,1)}function YX(d,v,E,A){return A<=0&&(d=v=E=NaN),new Ad(d,v,E,A)}function aGn(d){return d instanceof FN||(d=fk(d)),d?(d=d.rgb(),new Ad(d.r,d.g,d.b,d.opacity)):new Ad}function d2e(d,v,E,A){return arguments.length===1?aGn(d):new Ad(d,v,E,A??1)}function Ad(d,v,E,A){this.r=+d,this.g=+v,this.b=+E,this.opacity=+A}I2e(Ad,d2e,a1n(FN,{brighter(d){return d=d==null?pK:Math.pow(pK,d),new Ad(this.r*d,this.g*d,this.b*d,this.opacity)},darker(d){return d=d==null?TN:Math.pow(TN,d),new Ad(this.r*d,this.g*d,this.b*d,this.opacity)},rgb(){return this},clamp(){return new Ad(ok(this.r),ok(this.g),ok(this.b),mK(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Uhn,formatHex:Uhn,formatHex8:dGn,formatRgb:Xhn,toString:Xhn}));function Uhn(){return`#${uk(this.r)}${uk(this.g)}${uk(this.b)}`}function dGn(){return`#${uk(this.r)}${uk(this.g)}${uk(this.b)}${uk((isNaN(this.opacity)?1:this.opacity)*255)}`}function Xhn(){const d=mK(this.opacity);return`${d===1?"rgb(":"rgba("}${ok(this.r)}, ${ok(this.g)}, ${ok(this.b)}${d===1?")":`, ${d})`}`}function mK(d){return isNaN(d)?1:Math.max(0,Math.min(1,d))}function ok(d){return Math.max(0,Math.min(255,Math.round(d)||0))}function uk(d){return d=ok(d),(d<16?"0":"")+d.toString(16)}function Khn(d,v,E,A){return A<=0?d=v=E=NaN:E<=0||E>=1?d=v=NaN:v<=0&&(d=NaN),new n2(d,v,E,A)}function d1n(d){if(d instanceof n2)return new n2(d.h,d.s,d.l,d.opacity);if(d instanceof FN||(d=fk(d)),!d)return new n2;if(d instanceof n2)return d;d=d.rgb();var v=d.r/255,E=d.g/255,A=d.b/255,M=Math.min(v,E,A),P=Math.max(v,E,A),m=NaN,L=P-M,H=(P+M)/2;return L?(v===P?m=(E-A)/L+(E<A)*6:E===P?m=(A-v)/L+2:m=(v-E)/L+4,L/=H<.5?P+M:2-P-M,m*=60):L=H>0&&H<1?0:m,new n2(m,L,H,d.opacity)}function bGn(d,v,E,A){return arguments.length===1?d1n(d):new n2(d,v,E,A??1)}function n2(d,v,E,A){this.h=+d,this.s=+v,this.l=+E,this.opacity=+A}I2e(n2,bGn,a1n(FN,{brighter(d){return d=d==null?pK:Math.pow(pK,d),new n2(this.h,this.s,this.l*d,this.opacity)},darker(d){return d=d==null?TN:Math.pow(TN,d),new n2(this.h,this.s,this.l*d,this.opacity)},rgb(){var d=this.h%360+(this.h<0)*360,v=isNaN(d)||isNaN(this.s)?0:this.s,E=this.l,A=E+(E<.5?E:1-E)*v,M=2*E-A;return new Ad(t2e(d>=240?d-240:d+120,M,A),t2e(d,M,A),t2e(d<120?d+240:d-120,M,A),this.opacity)},clamp(){return new n2(Whn(this.h),ZX(this.s),ZX(this.l),mK(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const d=mK(this.opacity);return`${d===1?"hsl(":"hsla("}${Whn(this.h)}, ${ZX(this.s)*100}%, ${ZX(this.l)*100}%${d===1?")":`, ${d})`}`}}));function Whn(d){return d=(d||0)%360,d<0?d+360:d}function ZX(d){return Math.max(0,Math.min(1,d||0))}function t2e(d,v,E){return(d<60?v+(E-v)*d/60:d<180?E:d<240?v+(E-v)*(240-d)/60:v)*255}const P2e=d=>()=>d;function wGn(d,v){return function(E){return d+E*v}}function gGn(d,v,E){return d=Math.pow(d,E),v=Math.pow(v,E)-d,E=1/E,function(A){return Math.pow(d+A*v,E)}}function pGn(d){return(d=+d)==1?b1n:function(v,E){return E-v?gGn(v,E,d):P2e(isNaN(v)?E:v)}}function b1n(d,v){var E=v-d;return E?wGn(d,E):P2e(isNaN(d)?v:d)}const vK=(function d(v){var E=pGn(v);function A(M,P){var m=E((M=d2e(M)).r,(P=d2e(P)).r),L=E(M.g,P.g),H=E(M.b,P.b),U=b1n(M.opacity,P.opacity);return function(Q){return M.r=m(Q),M.g=L(Q),M.b=H(Q),M.opacity=U(Q),M+""}}return A.gamma=d,A})(1);function mGn(d,v){v||(v=[]);var E=d?Math.min(v.length,d.length):0,A=v.slice(),M;return function(P){for(M=0;M<E;++M)A[M]=d[M]*(1-P)+v[M]*P;return A}}function vGn(d){return ArrayBuffer.isView(d)&&!(d instanceof DataView)}function yGn(d,v){var E=v?v.length:0,A=d?Math.min(E,d.length):0,M=new Array(A),P=new Array(E),m;for(m=0;m<A;++m)M[m]=xN(d[m],v[m]);for(;m<E;++m)P[m]=v[m];return function(L){for(m=0;m<A;++m)P[m]=M[m](L);return P}}function kGn(d,v){var E=new Date;return d=+d,v=+v,function(A){return E.setTime(d*(1-A)+v*A),E}}function Hp(d,v){return d=+d,v=+v,function(E){return d*(1-E)+v*E}}function EGn(d,v){var E={},A={},M;(d===null||typeof d!="object")&&(d={}),(v===null||typeof v!="object")&&(v={});for(M in v)M in d?E[M]=xN(d[M],v[M]):A[M]=v[M];return function(P){for(M in E)A[M]=E[M](P);return A}}var b2e=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,i2e=new RegExp(b2e.source,"g");function jGn(d){return function(){return d}}function xGn(d){return function(v){return d(v)+""}}function w1n(d,v){var E=b2e.lastIndex=i2e.lastIndex=0,A,M,P,m=-1,L=[],H=[];for(d=d+"",v=v+"";(A=b2e.exec(d))&&(M=i2e.exec(v));)(P=M.index)>E&&(P=v.slice(E,P),L[m]?L[m]+=P:L[++m]=P),(A=A[0])===(M=M[0])?L[m]?L[m]+=M:L[++m]=M:(L[++m]=null,H.push({i:m,x:Hp(A,M)})),E=i2e.lastIndex;return E<v.length&&(P=v.slice(E),L[m]?L[m]+=P:L[++m]=P),L.length<2?H[0]?xGn(H[0].x):jGn(v):(v=H.length,function(U){for(var Q=0,Y;Q<v;++Q)L[(Y=H[Q]).i]=Y.x(U);return L.join("")})}function xN(d,v){var E=typeof v,A;return v==null||E==="boolean"?P2e(v):(E==="number"?Hp:E==="string"?(A=fk(v))?(v=A,vK):w1n:v instanceof fk?vK:v instanceof Date?kGn:vGn(v)?mGn:Array.isArray(v)?yGn:typeof v.valueOf!="function"&&typeof v.toString!="function"||isNaN(v)?EGn:Hp)(d,v)}var Vhn=180/Math.PI,w2e={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function g1n(d,v,E,A,M,P){var m,L,H;return(m=Math.sqrt(d*d+v*v))&&(d/=m,v/=m),(H=d*E+v*A)&&(E-=d*H,A-=v*H),(L=Math.sqrt(E*E+A*A))&&(E/=L,A/=L,H/=L),d*A<v*E&&(d=-d,v=-v,H=-H,m=-m),{translateX:M,translateY:P,rotate:Math.atan2(v,d)*Vhn,skewX:Math.atan(H)*Vhn,scaleX:m,scaleY:L}}var eK;function AGn(d){const v=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(d+"");return v.isIdentity?w2e:g1n(v.a,v.b,v.c,v.d,v.e,v.f)}function MGn(d){return d==null||(eK||(eK=document.createElementNS("http://www.w3.org/2000/svg","g")),eK.setAttribute("transform",d),!(d=eK.transform.baseVal.consolidate()))?w2e:(d=d.matrix,g1n(d.a,d.b,d.c,d.d,d.e,d.f))}function p1n(d,v,E,A){function M(U){return U.length?U.pop()+" ":""}function P(U,Q,Y,G,V,te){if(U!==Y||Q!==G){var X=V.push("translate(",null,v,null,E);te.push({i:X-4,x:Hp(U,Y)},{i:X-2,x:Hp(Q,G)})}else(Y||G)&&V.push("translate("+Y+v+G+E)}function m(U,Q,Y,G){U!==Q?(U-Q>180?Q+=360:Q-U>180&&(U+=360),G.push({i:Y.push(M(Y)+"rotate(",null,A)-2,x:Hp(U,Q)})):Q&&Y.push(M(Y)+"rotate("+Q+A)}function L(U,Q,Y,G){U!==Q?G.push({i:Y.push(M(Y)+"skewX(",null,A)-2,x:Hp(U,Q)}):Q&&Y.push(M(Y)+"skewX("+Q+A)}function H(U,Q,Y,G,V,te){if(U!==Y||Q!==G){var X=V.push(M(V)+"scale(",null,",",null,")");te.push({i:X-4,x:Hp(U,Y)},{i:X-2,x:Hp(Q,G)})}else(Y!==1||G!==1)&&V.push(M(V)+"scale("+Y+","+G+")")}return function(U,Q){var Y=[],G=[];return U=d(U),Q=d(Q),P(U.translateX,U.translateY,Q.translateX,Q.translateY,Y,G),m(U.rotate,Q.rotate,Y,G),L(U.skewX,Q.skewX,Y,G),H(U.scaleX,U.scaleY,Q.scaleX,Q.scaleY,Y,G),U=Q=null,function(V){for(var te=-1,X=G.length,Ee;++te<X;)Y[(Ee=G[te]).i]=Ee.x(V);return Y.join("")}}}var CGn=p1n(AGn,"px, ","px)","deg)"),TGn=p1n(MGn,", ",")",")"),SGn=1e-12;function Qhn(d){return((d=Math.exp(d))+1/d)/2}function IGn(d){return((d=Math.exp(d))-1/d)/2}function PGn(d){return((d=Math.exp(2*d))-1)/(d+1)}const fK=(function d(v,E,A){function M(P,m){var L=P[0],H=P[1],U=P[2],Q=m[0],Y=m[1],G=m[2],V=Q-L,te=Y-H,X=V*V+te*te,Ee,ue;if(X<SGn)ue=Math.log(G/U)/v,Ee=function(Ye){return[L+Ye*V,H+Ye*te,U*Math.exp(v*Ye*ue)]};else{var ge=Math.sqrt(X),re=(G*G-U*U+A*X)/(2*U*E*ge),je=(G*G-U*U-A*X)/(2*G*E*ge),Ke=Math.log(Math.sqrt(re*re+1)-re),Xe=Math.log(Math.sqrt(je*je+1)-je);ue=(Xe-Ke)/v,Ee=function(Ye){var kn=Ye*ue,En=Qhn(Ke),Zn=U/(E*ge)*(En*PGn(v*kn+Ke)-IGn(Ke));return[L+Zn*V,H+Zn*te,U*En/Qhn(v*kn+Ke)]}}return Ee.duration=ue*1e3*v/Math.SQRT2,Ee}return M.rho=function(P){var m=Math.max(.001,+P),L=m*m,H=L*L;return d(m,L,H)},M})(Math.SQRT2,2,4);var Hx=0,kN=0,vN=0,m1n=1e3,yK,EN,kK=0,lk=0,SK=0,IN=typeof performance=="object"&&performance.now?performance:Date,v1n=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(d){setTimeout(d,17)};function O2e(){return lk||(v1n(OGn),lk=IN.now()+SK)}function OGn(){lk=0}function EK(){this._call=this._time=this._next=null}EK.prototype=y1n.prototype={constructor:EK,restart:function(d,v,E){if(typeof d!="function")throw new TypeError("callback is not a function");E=(E==null?O2e():+E)+(v==null?0:+v),!this._next&&EN!==this&&(EN?EN._next=this:yK=this,EN=this),this._call=d,this._time=E,g2e()},stop:function(){this._call&&(this._call=null,this._time=1/0,g2e())}};function y1n(d,v,E){var A=new EK;return A.restart(d,v,E),A}function NGn(){O2e(),++Hx;for(var d=yK,v;d;)(v=lk-d._time)>=0&&d._call.call(void 0,v),d=d._next;--Hx}function Yhn(){lk=(kK=IN.now())+SK,Hx=kN=0;try{NGn()}finally{Hx=0,DGn(),lk=0}}function $Gn(){var d=IN.now(),v=d-kK;v>m1n&&(SK-=v,kK=d)}function DGn(){for(var d,v=yK,E,A=1/0;v;)v._call?(A>v._time&&(A=v._time),d=v,v=v._next):(E=v._next,v._next=null,v=d?d._next=E:yK=E);EN=d,g2e(A)}function g2e(d){if(!Hx){kN&&(kN=clearTimeout(kN));var v=d-lk;v>24?(d<1/0&&(kN=setTimeout(Yhn,d-IN.now()-SK)),vN&&(vN=clearInterval(vN))):(vN||(kK=IN.now(),vN=setInterval($Gn,m1n)),Hx=1,v1n(Yhn))}}function Zhn(d,v,E){var A=new EK;return v=v==null?0:+v,A.restart(M=>{A.stop(),d(M+v)},v,E),A}var LGn=CK("start","end","cancel","interrupt"),_Gn=[],k1n=0,ean=1,p2e=2,lK=3,nan=4,m2e=5,hK=6;function IK(d,v,E,A,M,P){var m=d.__transition;if(!m)d.__transition={};else if(E in m)return;FGn(d,E,{name:v,index:A,group:M,on:LGn,tween:_Gn,time:P.time,delay:P.delay,duration:P.duration,ease:P.ease,timer:null,state:k1n})}function N2e(d,v){var E=u2(d,v);if(E.state>k1n)throw new Error("too late; already scheduled");return E}function zp(d,v){var E=u2(d,v);if(E.state>lK)throw new Error("too late; already running");return E}function u2(d,v){var E=d.__transition;if(!E||!(E=E[v]))throw new Error("transition not found");return E}function FGn(d,v,E){var A=d.__transition,M;A[v]=E,E.timer=y1n(P,0,E.time);function P(U){E.state=ean,E.timer.restart(m,E.delay,E.time),E.delay<=U&&m(U-E.delay)}function m(U){var Q,Y,G,V;if(E.state!==ean)return H();for(Q in A)if(V=A[Q],V.name===E.name){if(V.state===lK)return Zhn(m);V.state===nan?(V.state=hK,V.timer.stop(),V.on.call("interrupt",d,d.__data__,V.index,V.group),delete A[Q]):+Q<v&&(V.state=hK,V.timer.stop(),V.on.call("cancel",d,d.__data__,V.index,V.group),delete A[Q])}if(Zhn(function(){E.state===lK&&(E.state=nan,E.timer.restart(L,E.delay,E.time),L(U))}),E.state=p2e,E.on.call("start",d,d.__data__,E.index,E.group),E.state===p2e){for(E.state=lK,M=new Array(G=E.tween.length),Q=0,Y=-1;Q<G;++Q)(V=E.tween[Q].value.call(d,d.__data__,E.index,E.group))&&(M[++Y]=V);M.length=Y+1}}function L(U){for(var Q=U<E.duration?E.ease.call(null,U/E.duration):(E.timer.restart(H),E.state=m2e,1),Y=-1,G=M.length;++Y<G;)M[Y].call(d,Q);E.state===m2e&&(E.on.call("end",d,d.__data__,E.index,E.group),H())}function H(){E.state=hK,E.timer.stop(),delete A[v];for(var U in A)return;delete d.__transition}}function aK(d,v){var E=d.__transition,A,M,P=!0,m;if(E){v=v==null?null:v+"";for(m in E){if((A=E[m]).name!==v){P=!1;continue}M=A.state>p2e&&A.state<m2e,A.state=hK,A.timer.stop(),A.on.call(M?"interrupt":"cancel",d,d.__data__,A.index,A.group),delete E[m]}P&&delete d.__transition}}function RGn(d){return this.each(function(){aK(this,d)})}function BGn(d,v){var E,A;return function(){var M=zp(this,d),P=M.tween;if(P!==E){A=E=P;for(var m=0,L=A.length;m<L;++m)if(A[m].name===v){A=A.slice(),A.splice(m,1);break}}M.tween=A}}function JGn(d,v,E){var A,M;if(typeof E!="function")throw new Error;return function(){var P=zp(this,d),m=P.tween;if(m!==A){M=(A=m).slice();for(var L={name:v,value:E},H=0,U=M.length;H<U;++H)if(M[H].name===v){M[H]=L;break}H===U&&M.push(L)}P.tween=M}}function GGn(d,v){var E=this._id;if(d+="",arguments.length<2){for(var A=u2(this.node(),E).tween,M=0,P=A.length,m;M<P;++M)if((m=A[M]).name===d)return m.value;return null}return this.each((v==null?BGn:JGn)(E,d,v))}function $2e(d,v,E){var A=d._id;return d.each(function(){var M=zp(this,A);(M.value||(M.value={}))[v]=E.apply(this,arguments)}),function(M){return u2(M,A).value[v]}}function E1n(d,v){var E;return(typeof v=="number"?Hp:v instanceof fk?vK:(E=fk(v))?(v=E,vK):w1n)(d,v)}function HGn(d){return function(){this.removeAttribute(d)}}function qGn(d){return function(){this.removeAttributeNS(d.space,d.local)}}function zGn(d,v,E){var A,M=E+"",P;return function(){var m=this.getAttribute(d);return m===M?null:m===A?P:P=v(A=m,E)}}function UGn(d,v,E){var A,M=E+"",P;return function(){var m=this.getAttributeNS(d.space,d.local);return m===M?null:m===A?P:P=v(A=m,E)}}function XGn(d,v,E){var A,M,P;return function(){var m,L=E(this),H;return L==null?void this.removeAttribute(d):(m=this.getAttribute(d),H=L+"",m===H?null:m===A&&H===M?P:(M=H,P=v(A=m,L)))}}function KGn(d,v,E){var A,M,P;return function(){var m,L=E(this),H;return L==null?void this.removeAttributeNS(d.space,d.local):(m=this.getAttributeNS(d.space,d.local),H=L+"",m===H?null:m===A&&H===M?P:(M=H,P=v(A=m,L)))}}function WGn(d,v){var E=TK(d),A=E==="transform"?TGn:E1n;return this.attrTween(d,typeof v=="function"?(E.local?KGn:XGn)(E,A,$2e(this,"attr."+d,v)):v==null?(E.local?qGn:HGn)(E):(E.local?UGn:zGn)(E,A,v))}function VGn(d,v){return function(E){this.setAttribute(d,v.call(this,E))}}function QGn(d,v){return function(E){this.setAttributeNS(d.space,d.local,v.call(this,E))}}function YGn(d,v){var E,A;function M(){var P=v.apply(this,arguments);return P!==A&&(E=(A=P)&&QGn(d,P)),E}return M._value=v,M}function ZGn(d,v){var E,A;function M(){var P=v.apply(this,arguments);return P!==A&&(E=(A=P)&&VGn(d,P)),E}return M._value=v,M}function eHn(d,v){var E="attr."+d;if(arguments.length<2)return(E=this.tween(E))&&E._value;if(v==null)return this.tween(E,null);if(typeof v!="function")throw new Error;var A=TK(d);return this.tween(E,(A.local?YGn:ZGn)(A,v))}function nHn(d,v){return function(){N2e(this,d).delay=+v.apply(this,arguments)}}function tHn(d,v){return v=+v,function(){N2e(this,d).delay=v}}function iHn(d){var v=this._id;return arguments.length?this.each((typeof d=="function"?nHn:tHn)(v,d)):u2(this.node(),v).delay}function rHn(d,v){return function(){zp(this,d).duration=+v.apply(this,arguments)}}function cHn(d,v){return v=+v,function(){zp(this,d).duration=v}}function uHn(d){var v=this._id;return arguments.length?this.each((typeof d=="function"?rHn:cHn)(v,d)):u2(this.node(),v).duration}function oHn(d,v){if(typeof v!="function")throw new Error;return function(){zp(this,d).ease=v}}function sHn(d){var v=this._id;return arguments.length?this.each(oHn(v,d)):u2(this.node(),v).ease}function fHn(d,v){return function(){var E=v.apply(this,arguments);if(typeof E!="function")throw new Error;zp(this,d).ease=E}}function lHn(d){if(typeof d!="function")throw new Error;return this.each(fHn(this._id,d))}function hHn(d){typeof d!="function"&&(d=Zan(d));for(var v=this._groups,E=v.length,A=new Array(E),M=0;M<E;++M)for(var P=v[M],m=P.length,L=A[M]=[],H,U=0;U<m;++U)(H=P[U])&&d.call(H,H.__data__,U,P)&&L.push(H);return new Q3(A,this._parents,this._name,this._id)}function aHn(d){if(d._id!==this._id)throw new Error;for(var v=this._groups,E=d._groups,A=v.length,M=E.length,P=Math.min(A,M),m=new Array(A),L=0;L<P;++L)for(var H=v[L],U=E[L],Q=H.length,Y=m[L]=new Array(Q),G,V=0;V<Q;++V)(G=H[V]||U[V])&&(Y[V]=G);for(;L<A;++L)m[L]=v[L];return new Q3(m,this._parents,this._name,this._id)}function dHn(d){return(d+"").trim().split(/^|\s+/).every(function(v){var E=v.indexOf(".");return E>=0&&(v=v.slice(0,E)),!v||v==="start"})}function bHn(d,v,E){var A,M,P=dHn(v)?N2e:zp;return function(){var m=P(this,d),L=m.on;L!==A&&(M=(A=L).copy()).on(v,E),m.on=M}}function wHn(d,v){var E=this._id;return arguments.length<2?u2(this.node(),E).on.on(d):this.each(bHn(E,d,v))}function gHn(d){return function(){var v=this.parentNode;for(var E in this.__transition)if(+E!==d)return;v&&v.removeChild(this)}}function pHn(){return this.on("end.remove",gHn(this._id))}function mHn(d){var v=this._name,E=this._id;typeof d!="function"&&(d=T2e(d));for(var A=this._groups,M=A.length,P=new Array(M),m=0;m<M;++m)for(var L=A[m],H=L.length,U=P[m]=new Array(H),Q,Y,G=0;G<H;++G)(Q=L[G])&&(Y=d.call(Q,Q.__data__,G,L))&&("__data__"in Q&&(Y.__data__=Q.__data__),U[G]=Y,IK(U[G],v,E,G,U,u2(Q,E)));return new Q3(P,this._parents,v,E)}function vHn(d){var v=this._name,E=this._id;typeof d!="function"&&(d=Yan(d));for(var A=this._groups,M=A.length,P=[],m=[],L=0;L<M;++L)for(var H=A[L],U=H.length,Q,Y=0;Y<U;++Y)if(Q=H[Y]){for(var G=d.call(Q,Q.__data__,Y,H),V,te=u2(Q,E),X=0,Ee=G.length;X<Ee;++X)(V=G[X])&&IK(V,v,E,X,G,te);P.push(G),m.push(Q)}return new Q3(P,m,v,E)}var yHn=_N.prototype.constructor;function kHn(){return new yHn(this._groups,this._parents)}function EHn(d,v){var E,A,M;return function(){var P=Gx(this,d),m=(this.style.removeProperty(d),Gx(this,d));return P===m?null:P===E&&m===A?M:M=v(E=P,A=m)}}function j1n(d){return function(){this.style.removeProperty(d)}}function jHn(d,v,E){var A,M=E+"",P;return function(){var m=Gx(this,d);return m===M?null:m===A?P:P=v(A=m,E)}}function xHn(d,v,E){var A,M,P;return function(){var m=Gx(this,d),L=E(this),H=L+"";return L==null&&(H=L=(this.style.removeProperty(d),Gx(this,d))),m===H?null:m===A&&H===M?P:(M=H,P=v(A=m,L))}}function AHn(d,v){var E,A,M,P="style."+v,m="end."+P,L;return function(){var H=zp(this,d),U=H.on,Q=H.value[P]==null?L||(L=j1n(v)):void 0;(U!==E||M!==Q)&&(A=(E=U).copy()).on(m,M=Q),H.on=A}}function MHn(d,v,E){var A=(d+="")=="transform"?CGn:E1n;return v==null?this.styleTween(d,EHn(d,A)).on("end.style."+d,j1n(d)):typeof v=="function"?this.styleTween(d,xHn(d,A,$2e(this,"style."+d,v))).each(AHn(this._id,d)):this.styleTween(d,jHn(d,A,v),E).on("end.style."+d,null)}function CHn(d,v,E){return function(A){this.style.setProperty(d,v.call(this,A),E)}}function THn(d,v,E){var A,M;function P(){var m=v.apply(this,arguments);return m!==M&&(A=(M=m)&&CHn(d,m,E)),A}return P._value=v,P}function SHn(d,v,E){var A="style."+(d+="");if(arguments.length<2)return(A=this.tween(A))&&A._value;if(v==null)return this.tween(A,null);if(typeof v!="function")throw new Error;return this.tween(A,THn(d,v,E??""))}function IHn(d){return function(){this.textContent=d}}function PHn(d){return function(){var v=d(this);this.textContent=v??""}}function OHn(d){return this.tween("text",typeof d=="function"?PHn($2e(this,"text",d)):IHn(d==null?"":d+""))}function NHn(d){return function(v){this.textContent=d.call(this,v)}}function $Hn(d){var v,E;function A(){var M=d.apply(this,arguments);return M!==E&&(v=(E=M)&&NHn(M)),v}return A._value=d,A}function DHn(d){var v="text";if(arguments.length<1)return(v=this.tween(v))&&v._value;if(d==null)return this.tween(v,null);if(typeof d!="function")throw new Error;return this.tween(v,$Hn(d))}function LHn(){for(var d=this._name,v=this._id,E=x1n(),A=this._groups,M=A.length,P=0;P<M;++P)for(var m=A[P],L=m.length,H,U=0;U<L;++U)if(H=m[U]){var Q=u2(H,v);IK(H,d,E,U,m,{time:Q.time+Q.delay+Q.duration,delay:0,duration:Q.duration,ease:Q.ease})}return new Q3(A,this._parents,d,E)}function _Hn(){var d,v,E=this,A=E._id,M=E.size();return new Promise(function(P,m){var L={value:m},H={value:function(){--M===0&&P()}};E.each(function(){var U=zp(this,A),Q=U.on;Q!==d&&(v=(d=Q).copy(),v._.cancel.push(L),v._.interrupt.push(L),v._.end.push(H)),U.on=v}),M===0&&P()})}var FHn=0;function Q3(d,v,E,A){this._groups=d,this._parents=v,this._name=E,this._id=A}function x1n(){return++FHn}var K3=_N.prototype;Q3.prototype={constructor:Q3,select:mHn,selectAll:vHn,selectChild:K3.selectChild,selectChildren:K3.selectChildren,filter:hHn,merge:aHn,selection:kHn,transition:LHn,call:K3.call,nodes:K3.nodes,node:K3.node,size:K3.size,empty:K3.empty,each:K3.each,on:wHn,attr:WGn,attrTween:eHn,style:MHn,styleTween:SHn,text:OHn,textTween:DHn,remove:pHn,tween:GGn,delay:iHn,duration:uHn,ease:sHn,easeVarying:lHn,end:_Hn,[Symbol.iterator]:K3[Symbol.iterator]};function RHn(d){return((d*=2)<=1?d*d*d:(d-=2)*d*d+2)/2}var BHn={time:null,delay:0,duration:250,ease:RHn};function JHn(d,v){for(var E;!(E=d.__transition)||!(E=E[v]);)if(!(d=d.parentNode))throw new Error(`transition ${v} not found`);return E}function GHn(d){var v,E;d instanceof Q3?(v=d._id,d=d._name):(v=x1n(),(E=BHn).time=O2e(),d=d==null?null:d+"");for(var A=this._groups,M=A.length,P=0;P<M;++P)for(var m=A[P],L=m.length,H,U=0;U<L;++U)(H=m[U])&&IK(H,d,v,U,m,E||JHn(H,v));return new Q3(A,this._parents,d,v)}_N.prototype.interrupt=RGn;_N.prototype.transition=GHn;const nK=d=>()=>d;function HHn(d,{sourceEvent:v,target:E,transform:A,dispatch:M}){Object.defineProperties(this,{type:{value:d,enumerable:!0,configurable:!0},sourceEvent:{value:v,enumerable:!0,configurable:!0},target:{value:E,enumerable:!0,configurable:!0},transform:{value:A,enumerable:!0,configurable:!0},_:{value:M}})}function W3(d,v,E){this.k=d,this.x=v,this.y=E}W3.prototype={constructor:W3,scale:function(d){return d===1?this:new W3(this.k*d,this.x,this.y)},translate:function(d,v){return d===0&v===0?this:new W3(this.k,this.x+this.k*d,this.y+this.k*v)},apply:function(d){return[d[0]*this.k+this.x,d[1]*this.k+this.y]},applyX:function(d){return d*this.k+this.x},applyY:function(d){return d*this.k+this.y},invert:function(d){return[(d[0]-this.x)/this.k,(d[1]-this.y)/this.k]},invertX:function(d){return(d-this.x)/this.k},invertY:function(d){return(d-this.y)/this.k},rescaleX:function(d){return d.copy().domain(d.range().map(this.invertX,this).map(d.invert,d))},rescaleY:function(d){return d.copy().domain(d.range().map(this.invertY,this).map(d.invert,d))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var PK=new W3(1,0,0);A1n.prototype=W3.prototype;function A1n(d){for(;!d.__zoom;)if(!(d=d.parentNode))return PK;return d.__zoom}function r2e(d){d.stopImmediatePropagation()}function yN(d){d.preventDefault(),d.stopImmediatePropagation()}function qHn(d){return(!d.ctrlKey||d.type==="wheel")&&!d.button}function zHn(){var d=this;return d instanceof SVGElement?(d=d.ownerSVGElement||d,d.hasAttribute("viewBox")?(d=d.viewBox.baseVal,[[d.x,d.y],[d.x+d.width,d.y+d.height]]):[[0,0],[d.width.baseVal.value,d.height.baseVal.value]]):[[0,0],[d.clientWidth,d.clientHeight]]}function tan(){return this.__zoom||PK}function UHn(d){return-d.deltaY*(d.deltaMode===1?.05:d.deltaMode?1:.002)*(d.ctrlKey?10:1)}function XHn(){return navigator.maxTouchPoints||"ontouchstart"in this}function KHn(d,v,E){var A=d.invertX(v[0][0])-E[0][0],M=d.invertX(v[1][0])-E[1][0],P=d.invertY(v[0][1])-E[0][1],m=d.invertY(v[1][1])-E[1][1];return d.translate(M>A?(A+M)/2:Math.min(0,A)||Math.max(0,M),m>P?(P+m)/2:Math.min(0,P)||Math.max(0,m))}function M1n(){var d=qHn,v=zHn,E=KHn,A=UHn,M=XHn,P=[0,1/0],m=[[-1/0,-1/0],[1/0,1/0]],L=250,H=fK,U=CK("start","zoom","end"),Q,Y,G,V=500,te=150,X=0,Ee=10;function ue(xe){xe.property("__zoom",tan).on("wheel.zoom",kn,{passive:!1}).on("mousedown.zoom",En).on("dblclick.zoom",Zn).filter(M).on("touchstart.zoom",Ln).on("touchmove.zoom",Vn).on("touchend.zoom touchcancel.zoom",J).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}ue.transform=function(xe,on,rn,Sn){var Fn=xe.selection?xe.selection():xe;Fn.property("__zoom",tan),xe!==Fn?Ke(xe,on,rn,Sn):Fn.interrupt().each(function(){Xe(this,arguments).event(Sn).start().zoom(null,typeof on=="function"?on.apply(this,arguments):on).end()})},ue.scaleBy=function(xe,on,rn,Sn){ue.scaleTo(xe,function(){var Fn=this.__zoom.k,dn=typeof on=="function"?on.apply(this,arguments):on;return Fn*dn},rn,Sn)},ue.scaleTo=function(xe,on,rn,Sn){ue.transform(xe,function(){var Fn=v.apply(this,arguments),dn=this.__zoom,Gn=rn==null?je(Fn):typeof rn=="function"?rn.apply(this,arguments):rn,Nn=dn.invert(Gn),qn=typeof on=="function"?on.apply(this,arguments):on;return E(re(ge(dn,qn),Gn,Nn),Fn,m)},rn,Sn)},ue.translateBy=function(xe,on,rn,Sn){ue.transform(xe,function(){return E(this.__zoom.translate(typeof on=="function"?on.apply(this,arguments):on,typeof rn=="function"?rn.apply(this,arguments):rn),v.apply(this,arguments),m)},null,Sn)},ue.translateTo=function(xe,on,rn,Sn,Fn){ue.transform(xe,function(){var dn=v.apply(this,arguments),Gn=this.__zoom,Nn=Sn==null?je(dn):typeof Sn=="function"?Sn.apply(this,arguments):Sn;return E(PK.translate(Nn[0],Nn[1]).scale(Gn.k).translate(typeof on=="function"?-on.apply(this,arguments):-on,typeof rn=="function"?-rn.apply(this,arguments):-rn),dn,m)},Sn,Fn)};function ge(xe,on){return on=Math.max(P[0],Math.min(P[1],on)),on===xe.k?xe:new W3(on,xe.x,xe.y)}function re(xe,on,rn){var Sn=on[0]-rn[0]*xe.k,Fn=on[1]-rn[1]*xe.k;return Sn===xe.x&&Fn===xe.y?xe:new W3(xe.k,Sn,Fn)}function je(xe){return[(+xe[0][0]+ +xe[1][0])/2,(+xe[0][1]+ +xe[1][1])/2]}function Ke(xe,on,rn,Sn){xe.on("start.zoom",function(){Xe(this,arguments).event(Sn).start()}).on("interrupt.zoom end.zoom",function(){Xe(this,arguments).event(Sn).end()}).tween("zoom",function(){var Fn=this,dn=arguments,Gn=Xe(Fn,dn).event(Sn),Nn=v.apply(Fn,dn),qn=rn==null?je(Nn):typeof rn=="function"?rn.apply(Fn,dn):rn,Jt=Math.max(Nn[1][0]-Nn[0][0],Nn[1][1]-Nn[0][1]),Kt=Fn.__zoom,Oi=typeof on=="function"?on.apply(Fn,dn):on,gr=H(Kt.invert(qn).concat(Jt/Kt.k),Oi.invert(qn).concat(Jt/Oi.k));return function(Ki){if(Ki===1)Ki=Oi;else{var Kn=gr(Ki),ei=Jt/Kn[2];Ki=new W3(ei,qn[0]-Kn[0]*ei,qn[1]-Kn[1]*ei)}Gn.zoom(null,Ki)}})}function Xe(xe,on,rn){return!rn&&xe.__zooming||new Ye(xe,on)}function Ye(xe,on){this.that=xe,this.args=on,this.active=0,this.sourceEvent=null,this.extent=v.apply(xe,on),this.taps=0}Ye.prototype={event:function(xe){return xe&&(this.sourceEvent=xe),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(xe,on){return this.mouse&&xe!=="mouse"&&(this.mouse[1]=on.invert(this.mouse[0])),this.touch0&&xe!=="touch"&&(this.touch0[1]=on.invert(this.touch0[0])),this.touch1&&xe!=="touch"&&(this.touch1[1]=on.invert(this.touch1[0])),this.that.__zoom=on,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(xe){var on=_0(this.that).datum();U.call(xe,this.that,new HHn(xe,{sourceEvent:this.sourceEvent,target:ue,transform:this.that.__zoom,dispatch:U}),on)}};function kn(xe,...on){if(!d.apply(this,arguments))return;var rn=Xe(this,on).event(xe),Sn=this.__zoom,Fn=Math.max(P[0],Math.min(P[1],Sn.k*Math.pow(2,A.apply(this,arguments)))),dn=e2(xe);if(rn.wheel)(rn.mouse[0][0]!==dn[0]||rn.mouse[0][1]!==dn[1])&&(rn.mouse[1]=Sn.invert(rn.mouse[0]=dn)),clearTimeout(rn.wheel);else{if(Sn.k===Fn)return;rn.mouse=[dn,Sn.invert(dn)],aK(this),rn.start()}yN(xe),rn.wheel=setTimeout(Gn,te),rn.zoom("mouse",E(re(ge(Sn,Fn),rn.mouse[0],rn.mouse[1]),rn.extent,m));function Gn(){rn.wheel=null,rn.end()}}function En(xe,...on){if(G||!d.apply(this,arguments))return;var rn=xe.currentTarget,Sn=Xe(this,on,!0).event(xe),Fn=_0(xe.view).on("mousemove.zoom",qn,!0).on("mouseup.zoom",Jt,!0),dn=e2(xe,rn),Gn=xe.clientX,Nn=xe.clientY;f1n(xe.view),r2e(xe),Sn.mouse=[dn,this.__zoom.invert(dn)],aK(this),Sn.start();function qn(Kt){if(yN(Kt),!Sn.moved){var Oi=Kt.clientX-Gn,gr=Kt.clientY-Nn;Sn.moved=Oi*Oi+gr*gr>X}Sn.event(Kt).zoom("mouse",E(re(Sn.that.__zoom,Sn.mouse[0]=e2(Kt,rn),Sn.mouse[1]),Sn.extent,m))}function Jt(Kt){Fn.on("mousemove.zoom mouseup.zoom",null),l1n(Kt.view,Sn.moved),yN(Kt),Sn.event(Kt).end()}}function Zn(xe,...on){if(d.apply(this,arguments)){var rn=this.__zoom,Sn=e2(xe.changedTouches?xe.changedTouches[0]:xe,this),Fn=rn.invert(Sn),dn=rn.k*(xe.shiftKey?.5:2),Gn=E(re(ge(rn,dn),Sn,Fn),v.apply(this,on),m);yN(xe),L>0?_0(this).transition().duration(L).call(Ke,Gn,Sn,xe):_0(this).call(ue.transform,Gn,Sn,xe)}}function Ln(xe,...on){if(d.apply(this,arguments)){var rn=xe.touches,Sn=rn.length,Fn=Xe(this,on,xe.changedTouches.length===Sn).event(xe),dn,Gn,Nn,qn;for(r2e(xe),Gn=0;Gn<Sn;++Gn)Nn=rn[Gn],qn=e2(Nn,this),qn=[qn,this.__zoom.invert(qn),Nn.identifier],Fn.touch0?!Fn.touch1&&Fn.touch0[2]!==qn[2]&&(Fn.touch1=qn,Fn.taps=0):(Fn.touch0=qn,dn=!0,Fn.taps=1+!!Q);Q&&(Q=clearTimeout(Q)),dn&&(Fn.taps<2&&(Y=qn[0],Q=setTimeout(function(){Q=null},V)),aK(this),Fn.start())}}function Vn(xe,...on){if(this.__zooming){var rn=Xe(this,on).event(xe),Sn=xe.changedTouches,Fn=Sn.length,dn,Gn,Nn,qn;for(yN(xe),dn=0;dn<Fn;++dn)Gn=Sn[dn],Nn=e2(Gn,this),rn.touch0&&rn.touch0[2]===Gn.identifier?rn.touch0[0]=Nn:rn.touch1&&rn.touch1[2]===Gn.identifier&&(rn.touch1[0]=Nn);if(Gn=rn.that.__zoom,rn.touch1){var Jt=rn.touch0[0],Kt=rn.touch0[1],Oi=rn.touch1[0],gr=rn.touch1[1],Ki=(Ki=Oi[0]-Jt[0])*Ki+(Ki=Oi[1]-Jt[1])*Ki,Kn=(Kn=gr[0]-Kt[0])*Kn+(Kn=gr[1]-Kt[1])*Kn;Gn=ge(Gn,Math.sqrt(Ki/Kn)),Nn=[(Jt[0]+Oi[0])/2,(Jt[1]+Oi[1])/2],qn=[(Kt[0]+gr[0])/2,(Kt[1]+gr[1])/2]}else if(rn.touch0)Nn=rn.touch0[0],qn=rn.touch0[1];else return;rn.zoom("touch",E(re(Gn,Nn,qn),rn.extent,m))}}function J(xe,...on){if(this.__zooming){var rn=Xe(this,on).event(xe),Sn=xe.changedTouches,Fn=Sn.length,dn,Gn;for(r2e(xe),G&&clearTimeout(G),G=setTimeout(function(){G=null},V),dn=0;dn<Fn;++dn)Gn=Sn[dn],rn.touch0&&rn.touch0[2]===Gn.identifier?delete rn.touch0:rn.touch1&&rn.touch1[2]===Gn.identifier&&delete rn.touch1;if(rn.touch1&&!rn.touch0&&(rn.touch0=rn.touch1,delete rn.touch1),rn.touch0)rn.touch0[1]=this.__zoom.invert(rn.touch0[0]);else if(rn.end(),rn.taps===2&&(Gn=e2(Gn,this),Math.hypot(Y[0]-Gn[0],Y[1]-Gn[1])<Ee)){var Nn=_0(this).on("dblclick.zoom");Nn&&Nn.apply(this,arguments)}}}return ue.wheelDelta=function(xe){return arguments.length?(A=typeof xe=="function"?xe:nK(+xe),ue):A},ue.filter=function(xe){return arguments.length?(d=typeof xe=="function"?xe:nK(!!xe),ue):d},ue.touchable=function(xe){return arguments.length?(M=typeof xe=="function"?xe:nK(!!xe),ue):M},ue.extent=function(xe){return arguments.length?(v=typeof xe=="function"?xe:nK([[+xe[0][0],+xe[0][1]],[+xe[1][0],+xe[1][1]]]),ue):v},ue.scaleExtent=function(xe){return arguments.length?(P[0]=+xe[0],P[1]=+xe[1],ue):[P[0],P[1]]},ue.translateExtent=function(xe){return arguments.length?(m[0][0]=+xe[0][0],m[1][0]=+xe[1][0],m[0][1]=+xe[0][1],m[1][1]=+xe[1][1],ue):[[m[0][0],m[0][1]],[m[1][0],m[1][1]]]},ue.constrain=function(xe){return arguments.length?(E=xe,ue):E},ue.duration=function(xe){return arguments.length?(L=+xe,ue):L},ue.interpolate=function(xe){return arguments.length?(H=xe,ue):H},ue.on=function(){var xe=U.on.apply(U,arguments);return xe===U?ue:xe},ue.clickDistance=function(xe){return arguments.length?(X=(xe=+xe)*xe,ue):Math.sqrt(X)},ue.tapDistance=function(xe){return arguments.length?(Ee=+xe,ue):Ee},ue}const c2={error001:(d="react")=>`Seems like you have not used ${d==="svelte"?"SvelteFlowProvider":"ReactFlowProvider"} as an ancestor. Help: https://${d}flow.dev/error#001`,error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:d=>`Node type "${d}" not found. Using fallback type "default".`,error004:()=>"The parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:d=>`The old edge with id=${d} does not exist.`,error009:d=>`Marker type "${d}" doesn't exist.`,error008:(d,{id:v,sourceHandle:E,targetHandle:A})=>`Couldn't create edge for ${d} handle id: "${d==="source"?E:A}", edge id: ${v}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:d=>`Edge type "${d}" not found. Using fallback type "default".`,error012:d=>`Node with id "${d}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(d="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${d}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs.",error016:d=>`Edge with id "${d}" does not exist, it may have been removed. This can happen when an edge is deleted before the "onEdgeClick" handler is called.`},PN=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],C1n=["Enter"," ","Escape"],T1n={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:d,x:v,y:E})=>`Moved selected node ${d}. New position, x: ${v}, y: ${E}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var qx;(function(d){d.Strict="strict",d.Loose="loose"})(qx||(qx={}));var sk;(function(d){d.Free="free",d.Vertical="vertical",d.Horizontal="horizontal"})(sk||(sk={}));var ON;(function(d){d.Partial="partial",d.Full="full"})(ON||(ON={}));const S1n={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var Q5;(function(d){d.Bezier="default",d.Straight="straight",d.Step="step",d.SmoothStep="smoothstep",d.SimpleBezier="simplebezier"})(Q5||(Q5={}));var NN;(function(d){d.Arrow="arrow",d.ArrowClosed="arrowclosed"})(NN||(NN={}));var Ei;(function(d){d.Left="left",d.Top="top",d.Right="right",d.Bottom="bottom"})(Ei||(Ei={}));const ian={[Ei.Left]:Ei.Right,[Ei.Right]:Ei.Left,[Ei.Top]:Ei.Bottom,[Ei.Bottom]:Ei.Top},I1n=d=>!!d&&typeof d=="object"&&"id"in d&&"source"in d&&"target"in d,WHn=d=>!!d&&typeof d=="object"&&"id"in d&&"position"in d&&!("source"in d)&&!("target"in d),D2e=d=>!!d&&typeof d=="object"&&"id"in d&&"internals"in d&&!("source"in d)&&!("target"in d),RN=(d,v=[0,0])=>{const{width:E,height:A}=o2(d),M=d.origin??v,P=E*M[0],m=A*M[1];return{x:d.position.x-P,y:d.position.y-m}},VHn=(d,v={nodeOrigin:[0,0]})=>{if(d.length===0)return{x:0,y:0,width:0,height:0};let E=!1;const A=d.reduce((M,P)=>{const m=typeof P=="string";let L=!v.nodeLookup&&!m?P:void 0;return v.nodeLookup&&(L=m?v.nodeLookup.get(P):D2e(P)?P:v.nodeLookup.get(P.id)),L?(E=!0,OK(M,jK(L,v.nodeOrigin))):M},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return E?NK(A):{x:0,y:0,width:0,height:0}},Kx=(d,v={})=>{let E={x:1/0,y:1/0,x2:-1/0,y2:-1/0},A=!1;return d.forEach(M=>{(v.filter===void 0||v.filter(M))&&(E=OK(E,jK(M)),A=!0)}),A?NK(E):{x:0,y:0,width:0,height:0}},L2e=(d,v,[E,A,M]=[0,0,1],P=!1,m=!1)=>{const L=(v.x-E)/M,H=(v.y-A)/M,U=v.width/M,Q=v.height/M,Y=[];for(const G of d.values()){const{measured:V,selectable:te=!0,hidden:X=!1}=G;if(m&&!te||X)continue;const Ee=V.width??G.width??G.initialWidth??0,ue=V.height??G.height??G.initialHeight??0,{x:ge,y:re}=G.internals.positionAbsolute,je=$1n(L,H,U,Q,ge,re,Ee,ue),Ke=Ee*ue,Xe=P&&je>0;(!G.internals.handleBounds||Xe||je>=Ke||G.dragging)&&Y.push(G)}return Y},QHn=(d,v)=>{const E=new Set;return d.forEach(A=>{E.add(A.id)}),v.filter(A=>E.has(A.source)||E.has(A.target))};function YHn(d,v){const E=new Map,A=v!=null&&v.nodes?new Set(v.nodes.map(M=>M.id)):null;return d.forEach(M=>{let P;if(v!=null&&v.includeHiddenNodes){const{width:m,height:L}=o2(M);P=m>0&&L>0}else P=!!(M.measured.width&&M.measured.height&&!M.hidden);P&&(!A||A.has(M.id))&&E.set(M.id,M)}),E}async function ZHn({nodes:d,width:v,height:E,panZoom:A,minZoom:M,maxZoom:P},m){if(d.size===0)return!0;const L=YHn(d,m),H=Kx(L),U=F2e(H,v,E,(m==null?void 0:m.minZoom)??M,(m==null?void 0:m.maxZoom)??P,(m==null?void 0:m.padding)??.1);return await A.setViewport(U,{duration:m==null?void 0:m.duration,ease:m==null?void 0:m.ease,interpolate:m==null?void 0:m.interpolate}),!0}function P1n({nodeId:d,nextPosition:v,nodeLookup:E,nodeOrigin:A=[0,0],nodeExtent:M,onError:P}){const m=E.get(d),L=m.parentId?E.get(m.parentId):void 0,{x:H,y:U}=L?L.internals.positionAbsolute:{x:0,y:0},Q=m.origin??A;let Y=m.extent||M;if(m.extent==="parent"&&!m.expandParent)if(!L)P==null||P("005",c2.error005());else{const{width:V,height:te}=o2(L);V&&te&&(Y=[[H,U],[H+V,U+te]])}else L&&ak(m.extent)&&(Y=[[m.extent[0][0]+H,m.extent[0][1]+U],[m.extent[1][0]+H,m.extent[1][1]+U]]);const G=ak(Y)?hk(v,Y,m.measured):v;return(m.measured.width===void 0||m.measured.height===void 0)&&(P==null||P("015",c2.error015())),{position:{x:G.x-H+(m.measured.width??0)*Q[0],y:G.y-U+(m.measured.height??0)*Q[1]},positionAbsolute:G}}async function eqn({nodesToRemove:d=[],edgesToRemove:v=[],nodes:E,edges:A,onBeforeDelete:M}){const P=new Set(d.map(G=>G.id)),m=[];for(const G of E){if(G.deletable===!1)continue;const V=P.has(G.id),te=!V&&G.parentId&&m.find(X=>X.id===G.parentId);(V||te)&&m.push(G)}const L=new Set(v.map(G=>G.id)),H=A.filter(G=>G.deletable!==!1),Q=QHn(m,H);for(const G of H)L.has(G.id)&&!Q.find(te=>te.id===G.id)&&Q.push(G);if(!M)return{edges:Q,nodes:m};const Y=await M({nodes:m,edges:Q});return typeof Y=="boolean"?Y?{edges:Q,nodes:m}:{edges:[],nodes:[]}:Y}const zx=(d,v=0,E=1)=>Math.min(Math.max(d,v),E),hk=(d={x:0,y:0},v,E)=>({x:zx(d.x,v[0][0],v[1][0]-((E==null?void 0:E.width)??0)),y:zx(d.y,v[0][1],v[1][1]-((E==null?void 0:E.height)??0))});function O1n(d,v,E){const{width:A,height:M}=o2(E),{x:P,y:m}=E.internals.positionAbsolute;return hk(d,[[P,m],[P+A,m+M]],v)}const ran=(d,v,E)=>d<v?zx(Math.abs(d-v),1,v)/v:d>E?-zx(Math.abs(d-E),1,v)/v:0,_2e=(d,v,E=15,A=40)=>{const M=ran(d.x,A,v.width-A)*E,P=ran(d.y,A,v.height-A)*E;return[M,P]},OK=(d,v)=>({x:Math.min(d.x,v.x),y:Math.min(d.y,v.y),x2:Math.max(d.x2,v.x2),y2:Math.max(d.y2,v.y2)}),v2e=({x:d,y:v,width:E,height:A})=>({x:d,y:v,x2:d+E,y2:v+A}),NK=({x:d,y:v,x2:E,y2:A})=>({x:d,y:v,width:E-d,height:A-v}),$N=(d,v=[0,0])=>{var M,P;const{x:E,y:A}=D2e(d)?d.internals.positionAbsolute:RN(d,v);return{x:E,y:A,width:((M=d.measured)==null?void 0:M.width)??d.width??d.initialWidth??0,height:((P=d.measured)==null?void 0:P.height)??d.height??d.initialHeight??0}},jK=(d,v=[0,0])=>{var M,P;const{x:E,y:A}=D2e(d)?d.internals.positionAbsolute:RN(d,v);return{x:E,y:A,x2:E+(((M=d.measured)==null?void 0:M.width)??d.width??d.initialWidth??0),y2:A+(((P=d.measured)==null?void 0:P.height)??d.height??d.initialHeight??0)}},N1n=(d,v)=>NK(OK(v2e(d),v2e(v))),$1n=(d,v,E,A,M,P,m,L)=>{const H=Math.max(0,Math.min(d+E,M+m)-Math.max(d,M)),U=Math.max(0,Math.min(v+A,P+L)-Math.max(v,P));return Math.ceil(H*U)},xK=(d,v)=>$1n(d.x,d.y,d.width,d.height,v.x,v.y,v.width,v.height),can=d=>t2(d.width)&&t2(d.height)&&t2(d.x)&&t2(d.y),t2=d=>!isNaN(d)&&isFinite(d),D1n=(d,v)=>(E,A)=>{},BN=(d,v=[1,1])=>({x:v[0]*Math.round(d.x/v[0]),y:v[1]*Math.round(d.y/v[1])}),JN=({x:d,y:v},[E,A,M],P=!1,m=[1,1])=>{const L={x:(d-E)/M,y:(v-A)/M};return P?BN(L,m):L},Ux=({x:d,y:v},[E,A,M])=>({x:d*M+E,y:v*M+A});function Fx(d,v){if(typeof d=="number")return Math.floor((v-v/(1+d))*.5);if(typeof d=="string"&&d.endsWith("px")){const E=parseFloat(d);if(!Number.isNaN(E))return Math.floor(E)}if(typeof d=="string"&&d.endsWith("%")){const E=parseFloat(d);if(!Number.isNaN(E))return Math.floor(v*E*.01)}return console.error(`The padding value "${d}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}function nqn(d,v,E){if(typeof d=="string"||typeof d=="number"){const A=Fx(d,E),M=Fx(d,v);return{top:A,right:M,bottom:A,left:M,x:M*2,y:A*2}}if(typeof d=="object"){const A=Fx(d.top??d.y??0,E),M=Fx(d.bottom??d.y??0,E),P=Fx(d.left??d.x??0,v),m=Fx(d.right??d.x??0,v);return{top:A,right:m,bottom:M,left:P,x:P+m,y:A+M}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function tqn(d,v,E,A,M,P){const{x:m,y:L}=Ux(d,[v,E,A]),{x:H,y:U}=Ux({x:d.x+d.width,y:d.y+d.height},[v,E,A]),Q=M-H,Y=P-U;return{left:Math.floor(m),top:Math.floor(L),right:Math.floor(Q),bottom:Math.floor(Y)}}const F2e=(d,v,E,A,M,P)=>{const m=nqn(P,v,E),L=(v-m.x)/d.width,H=(E-m.y)/d.height,U=Math.min(L,H),Q=zx(U,A,M),Y=d.x+d.width/2,G=d.y+d.height/2,V=v/2-Y*Q,te=E/2-G*Q,X=tqn(d,V,te,Q,v,E),Ee={left:Math.min(X.left-m.left,0),top:Math.min(X.top-m.top,0),right:Math.min(X.right-m.right,0),bottom:Math.min(X.bottom-m.bottom,0)};return{x:V-Ee.left+Ee.right,y:te-Ee.top+Ee.bottom,zoom:Q}},DN=()=>{var d;return typeof navigator<"u"&&((d=navigator==null?void 0:navigator.userAgent)==null?void 0:d.indexOf("Mac"))>=0};function ak(d){return d!=null&&d!=="parent"}function o2(d){var v,E;return{width:((v=d.measured)==null?void 0:v.width)??d.width??d.initialWidth??0,height:((E=d.measured)==null?void 0:E.height)??d.height??d.initialHeight??0}}function L1n(d){var v,E;return(((v=d.measured)==null?void 0:v.width)??d.width??d.initialWidth)!==void 0&&(((E=d.measured)==null?void 0:E.height)??d.height??d.initialHeight)!==void 0}function _1n(d,v={width:0,height:0},E,A,M){const P={...d},m=A.get(E);if(m){const L=m.origin||M;P.x+=m.internals.positionAbsolute.x-(v.width??0)*L[0],P.y+=m.internals.positionAbsolute.y-(v.height??0)*L[1]}return P}function uan(d,v){if(d.size!==v.size)return!1;for(const E of d)if(!v.has(E))return!1;return!0}function iqn(){let d,v;return{promise:new Promise((A,M)=>{d=A,v=M}),resolve:d,reject:v}}function rqn(d){return{...T1n,...d||{}}}function F1n(d){return d===null?null:d?"valid":"invalid"}function AN(d,{snapGrid:v=[0,0],snapToGrid:E=!1,transform:A,containerBounds:M}){const{x:P,y:m}=i2(d),L=JN({x:P-((M==null?void 0:M.left)??0),y:m-((M==null?void 0:M.top)??0)},A),{x:H,y:U}=E?BN(L,v):L;return{xSnapped:H,ySnapped:U,...L}}const R2e=d=>({width:d.offsetWidth,height:d.offsetHeight}),R1n=d=>{var v;return((v=d==null?void 0:d.getRootNode)==null?void 0:v.call(d))||(window==null?void 0:window.document)},cqn=["INPUT","SELECT","TEXTAREA"];function B1n(d){var A,M;const v=((M=(A=d.composedPath)==null?void 0:A.call(d))==null?void 0:M[0])||d.target;return(v==null?void 0:v.nodeType)!==1?!1:cqn.includes(v.nodeName)||v.hasAttribute("contenteditable")||!!v.closest(".nokey")}const J1n=d=>"clientX"in d,i2=(d,v)=>{var P,m;const E=J1n(d),A=E?d.clientX:(P=d.touches)==null?void 0:P[0].clientX,M=E?d.clientY:(m=d.touches)==null?void 0:m[0].clientY;return{x:A-((v==null?void 0:v.left)??0),y:M-((v==null?void 0:v.top)??0)}},oan=(d,v,E,A,M)=>{const P=v.querySelectorAll(`.${d}`);return!P||!P.length?null:Array.from(P).map(m=>{const L=m.getBoundingClientRect();return{id:m.getAttribute("data-handleid"),type:d,nodeId:M,position:m.getAttribute("data-handlepos"),x:(L.left-E.left)/A,y:(L.top-E.top)/A,...R2e(m)}})};function G1n({sourceX:d,sourceY:v,targetX:E,targetY:A,sourceControlX:M,sourceControlY:P,targetControlX:m,targetControlY:L}){const H=d*.125+M*.375+m*.375+E*.125,U=v*.125+P*.375+L*.375+A*.125,Q=Math.abs(H-d),Y=Math.abs(U-v);return[H,U,Q,Y]}function tK(d,v){return d>=0?.5*d:v*25*Math.sqrt(-d)}function san({pos:d,x1:v,y1:E,x2:A,y2:M,c:P}){switch(d){case Ei.Left:return[v-tK(v-A,P),E];case Ei.Right:return[v+tK(A-v,P),E];case Ei.Top:return[v,E-tK(E-M,P)];case Ei.Bottom:return[v,E+tK(M-E,P)]}}function GN({sourceX:d,sourceY:v,sourcePosition:E=Ei.Bottom,targetX:A,targetY:M,targetPosition:P=Ei.Top,curvature:m=.25}){const[L,H]=san({pos:E,x1:d,y1:v,x2:A,y2:M,c:m}),[U,Q]=san({pos:P,x1:A,y1:M,x2:d,y2:v,c:m}),[Y,G,V,te]=G1n({sourceX:d,sourceY:v,targetX:A,targetY:M,sourceControlX:L,sourceControlY:H,targetControlX:U,targetControlY:Q});return[`M${d},${v} C${L},${H} ${U},${Q} ${A},${M}`,Y,G,V,te]}function H1n({sourceX:d,sourceY:v,targetX:E,targetY:A}){const M=Math.abs(E-d)/2,P=E<d?E+M:E-M,m=Math.abs(A-v)/2,L=A<v?A+m:A-m;return[P,L,M,m]}function uqn({sourceNode:d,targetNode:v,selected:E=!1,zIndex:A=0,elevateOnSelect:M=!1,zIndexMode:P="basic"}){if(P==="manual")return A;const m=M&&E?A+1e3:A,L=Math.max(d.parentId||M&&d.selected?d.internals.z:0,v.parentId||M&&v.selected?v.internals.z:0);return m+L}function oqn({sourceNode:d,targetNode:v,width:E,height:A,transform:M}){const P=OK(jK(d),jK(v));P.x===P.x2&&(P.x2+=1),P.y===P.y2&&(P.y2+=1);const m={x:-M[0]/M[2],y:-M[1]/M[2],width:E/M[2],height:A/M[2]};return xK(m,NK(P))>0}const sqn=({source:d,sourceHandle:v,target:E,targetHandle:A})=>`xy-edge__${d}${v||""}-${E}${A||""}`,fqn=(d,v)=>v.some(E=>E.source===d.source&&E.target===d.target&&(E.sourceHandle===d.sourceHandle||!E.sourceHandle&&!d.sourceHandle)&&(E.targetHandle===d.targetHandle||!E.targetHandle&&!d.targetHandle)),lqn=(d,v,E={})=>{var P;if(!d.source||!d.target)return(P=E.onError)==null||P.call(E,"006",c2.error006()),v;const A=E.getEdgeId||sqn;let M;return I1n(d)?M={...d}:M={...d,id:A(d)},fqn(M,v)?v:(M.sourceHandle===null&&delete M.sourceHandle,M.targetHandle===null&&delete M.targetHandle,v.concat(M))};function q1n({sourceX:d,sourceY:v,targetX:E,targetY:A}){const[M,P,m,L]=H1n({sourceX:d,sourceY:v,targetX:E,targetY:A});return[`M ${d},${v}L ${E},${A}`,M,P,m,L]}const fan={[Ei.Left]:{x:-1,y:0},[Ei.Right]:{x:1,y:0},[Ei.Top]:{x:0,y:-1},[Ei.Bottom]:{x:0,y:1}},hqn=({source:d,sourcePosition:v=Ei.Bottom,target:E})=>v===Ei.Left||v===Ei.Right?d.x<E.x?{x:1,y:0}:{x:-1,y:0}:d.y<E.y?{x:0,y:1}:{x:0,y:-1},lan=(d,v)=>Math.sqrt(Math.pow(v.x-d.x,2)+Math.pow(v.y-d.y,2));function aqn({source:d,sourcePosition:v=Ei.Bottom,target:E,targetPosition:A=Ei.Top,center:M,offset:P,stepPosition:m}){const L=fan[v],H=fan[A],U={x:d.x+L.x*P,y:d.y+L.y*P},Q={x:E.x+H.x*P,y:E.y+H.y*P},Y=hqn({source:U,sourcePosition:v,target:Q}),G=Y.x!==0?"x":"y",V=Y[G];let te=[],X,Ee;const ue={x:0,y:0},ge={x:0,y:0},[,,re,je]=H1n({sourceX:d.x,sourceY:d.y,targetX:E.x,targetY:E.y});if(L[G]*H[G]===-1){G==="x"?(X=M.x??U.x+(Q.x-U.x)*m,Ee=M.y??(U.y+Q.y)/2):(X=M.x??(U.x+Q.x)/2,Ee=M.y??U.y+(Q.y-U.y)*m);const kn=[{x:X,y:U.y},{x:X,y:Q.y}],En=[{x:U.x,y:Ee},{x:Q.x,y:Ee}];L[G]===V?te=G==="x"?kn:En:te=G==="x"?En:kn}else{const kn=[{x:U.x,y:Q.y}],En=[{x:Q.x,y:U.y}];if(G==="x"?te=L.x===V?En:kn:te=L.y===V?kn:En,v===A){const xe=Math.abs(d[G]-E[G]);if(xe<=P){const on=Math.min(P-1,P-xe);L[G]===V?ue[G]=(U[G]>d[G]?-1:1)*on:ge[G]=(Q[G]>E[G]?-1:1)*on}}if(v!==A){const xe=G==="x"?"y":"x",on=L[G]===H[xe],rn=U[xe]>Q[xe],Sn=U[xe]<Q[xe];(L[G]===1&&(!on&&rn||on&&Sn)||L[G]!==1&&(!on&&Sn||on&&rn))&&(te=G==="x"?kn:En)}const Zn={x:U.x+ue.x,y:U.y+ue.y},Ln={x:Q.x+ge.x,y:Q.y+ge.y},Vn=Math.max(Math.abs(Zn.x-te[0].x),Math.abs(Ln.x-te[0].x)),J=Math.max(Math.abs(Zn.y-te[0].y),Math.abs(Ln.y-te[0].y));Vn>=J?(X=(Zn.x+Ln.x)/2,Ee=te[0].y):(X=te[0].x,Ee=(Zn.y+Ln.y)/2)}const Ke={x:U.x+ue.x,y:U.y+ue.y},Xe={x:Q.x+ge.x,y:Q.y+ge.y};return[[d,...Ke.x!==te[0].x||Ke.y!==te[0].y?[Ke]:[],...te,...Xe.x!==te[te.length-1].x||Xe.y!==te[te.length-1].y?[Xe]:[],E],X,Ee,re,je]}function dqn(d,v,E,A){const M=Math.min(lan(d,v)/2,lan(v,E)/2,A),{x:P,y:m}=v;if(d.x===P&&P===E.x||d.y===m&&m===E.y)return`L${P} ${m}`;if(d.y===m){const U=d.x<E.x?-1:1,Q=d.y<E.y?1:-1;return`L ${P+M*U},${m}Q ${P},${m} ${P},${m+M*Q}`}const L=d.x<E.x?1:-1,H=d.y<E.y?-1:1;return`L ${P},${m+M*H}Q ${P},${m} ${P+M*L},${m}`}function y2e({sourceX:d,sourceY:v,sourcePosition:E=Ei.Bottom,targetX:A,targetY:M,targetPosition:P=Ei.Top,borderRadius:m=5,centerX:L,centerY:H,offset:U=20,stepPosition:Q=.5}){const[Y,G,V,te,X]=aqn({source:{x:d,y:v},sourcePosition:E,target:{x:A,y:M},targetPosition:P,center:{x:L,y:H},offset:U,stepPosition:Q});let Ee=`M${Y[0].x} ${Y[0].y}`;for(let ue=1;ue<Y.length-1;ue++)Ee+=dqn(Y[ue-1],Y[ue],Y[ue+1],m);return Ee+=`L${Y[Y.length-1].x} ${Y[Y.length-1].y}`,[Ee,G,V,te,X]}function han(d){var v;return d&&!!(d.internals.handleBounds||(v=d.handles)!=null&&v.length)&&!!(d.measured.width||d.width||d.initialWidth)}function bqn(d){var Y;const{sourceNode:v,targetNode:E}=d;if(!han(v)||!han(E))return null;const A=v.internals.handleBounds||aan(v.handles),M=E.internals.handleBounds||aan(E.handles),P=dan((A==null?void 0:A.source)??[],d.sourceHandle),m=dan(d.connectionMode===qx.Strict?(M==null?void 0:M.target)??[]:((M==null?void 0:M.target)??[]).concat((M==null?void 0:M.source)??[]),d.targetHandle);if(!P||!m)return(Y=d.onError)==null||Y.call(d,"008",c2.error008(P?"target":"source",{id:d.id,sourceHandle:d.sourceHandle,targetHandle:d.targetHandle})),null;const L=(P==null?void 0:P.position)||Ei.Bottom,H=(m==null?void 0:m.position)||Ei.Top,U=dk(v,P,L),Q=dk(E,m,H);return{sourceX:U.x,sourceY:U.y,targetX:Q.x,targetY:Q.y,sourcePosition:L,targetPosition:H}}function aan(d){if(!d)return null;const v=[],E=[];for(const A of d)A.width=A.width??1,A.height=A.height??1,A.type==="source"?v.push(A):A.type==="target"&&E.push(A);return{source:v,target:E}}function dk(d,v,E=Ei.Left,A=!1){const M=((v==null?void 0:v.x)??0)+d.internals.positionAbsolute.x,P=((v==null?void 0:v.y)??0)+d.internals.positionAbsolute.y,{width:m,height:L}=v??o2(d);if(A)return{x:M+m/2,y:P+L/2};switch((v==null?void 0:v.position)??E){case Ei.Top:return{x:M+m/2,y:P};case Ei.Right:return{x:M+m,y:P+L/2};case Ei.Bottom:return{x:M+m/2,y:P+L};case Ei.Left:return{x:M,y:P+L/2}}}function dan(d,v){return d&&(v?d.find(E=>E.id===v):d[0])||null}function k2e(d,v){return d?typeof d=="string"?d:`${v?`${v}__`:""}${Object.keys(d).sort().map(A=>`${A}=${d[A]}`).join("&")}`:""}function wqn(d,{id:v,defaultColor:E,defaultMarkerStart:A,defaultMarkerEnd:M}){const P=new Set;return d.reduce((m,L)=>([L.markerStart||A,L.markerEnd||M].forEach(H=>{if(H&&typeof H=="object"){const U=k2e(H,v);P.has(U)||(m.push({id:U,color:H.color||E,...H}),P.add(U))}}),m),[]).sort((m,L)=>m.id.localeCompare(L.id))}function gqn(d,v,E,A,M){let P=.5;M==="start"?P=0:M==="end"&&(P=1);let m=[(d.x+d.width*P)*v.zoom+v.x,d.y*v.zoom+v.y-A],L=[-100*P,-100];switch(E){case Ei.Right:m=[(d.x+d.width)*v.zoom+v.x+A,(d.y+d.height*P)*v.zoom+v.y],L=[0,-100*P];break;case Ei.Bottom:m[1]=(d.y+d.height)*v.zoom+v.y+A,L[1]=0;break;case Ei.Left:m=[d.x*v.zoom+v.x-A,(d.y+d.height*P)*v.zoom+v.y],L=[-100,-100*P];break}return`translate(${m[0]}px, ${m[1]}px) translate(${L[0]}%, ${L[1]}%)`}const z1n=1e3,pqn=10,B2e={nodeOrigin:[0,0],nodeExtent:PN,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},mqn={...B2e,checkEquality:!0};function J2e(d,v){const E={...d};for(const A in v)v[A]!==void 0&&(E[A]=v[A]);return E}function vqn(d,v,E){const A=J2e(B2e,E);for(const M of d.values())if(M.parentId)H2e(M,d,v,A);else{const P=RN(M,A.nodeOrigin),m=ak(M.extent)?M.extent:A.nodeExtent,L=hk(P,m,o2(M));M.internals.positionAbsolute=L}}function yqn(d,v){if(!d.handles)return d.measured?v==null?void 0:v.internals.handleBounds:void 0;const E=[],A=[];for(const M of d.handles){const P={id:M.id,width:M.width??1,height:M.height??1,nodeId:d.id,x:M.x,y:M.y,position:M.position,type:M.type};M.type==="source"?E.push(P):M.type==="target"&&A.push(P)}return{source:E,target:A}}function G2e(d){return d==="manual"}function E2e(d,v,E,A={}){var Q,Y;const M=J2e(mqn,A),P={i:0},m=new Map(v),L=M!=null&&M.elevateNodesOnSelect&&!G2e(M.zIndexMode)?z1n:0;let H=d.length>0,U=!1;v.clear(),E.clear();for(const G of d){let V=m.get(G.id);if(M.checkEquality&&G===(V==null?void 0:V.internals.userNode))v.set(G.id,V);else{const te=RN(G,M.nodeOrigin),X=ak(G.extent)?G.extent:M.nodeExtent,Ee=hk(te,X,o2(G));V={...M.defaults,...G,measured:{width:(Q=G.measured)==null?void 0:Q.width,height:(Y=G.measured)==null?void 0:Y.height},internals:{positionAbsolute:Ee,handleBounds:yqn(G,V),z:U1n(G,L,M.zIndexMode),userNode:G}},v.set(G.id,V)}(V.measured===void 0||V.measured.width===void 0||V.measured.height===void 0)&&!V.hidden&&(H=!1),G.parentId&&H2e(V,v,E,A,P),U||(U=G.selected??!1)}return{nodesInitialized:H,hasSelectedNodes:U}}function kqn(d,v){if(!d.parentId)return;const E=v.get(d.parentId);E?E.set(d.id,d):v.set(d.parentId,new Map([[d.id,d]]))}function H2e(d,v,E,A,M){const{elevateNodesOnSelect:P,nodeOrigin:m,nodeExtent:L,zIndexMode:H}=J2e(B2e,A),U=d.parentId,Q=v.get(U);if(!Q){console.warn(`Parent node ${U} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);return}kqn(d,E),M&&!Q.parentId&&Q.internals.rootParentIndex===void 0&&H==="auto"&&(Q.internals.rootParentIndex=++M.i,Q.internals.z=Q.internals.z+M.i*pqn),M&&Q.internals.rootParentIndex!==void 0&&(M.i=Q.internals.rootParentIndex);const Y=P&&!G2e(H)?z1n:0,{x:G,y:V,z:te}=Eqn(d,Q,m,L,Y,H),{positionAbsolute:X}=d.internals,Ee=G!==X.x||V!==X.y;(Ee||te!==d.internals.z)&&v.set(d.id,{...d,internals:{...d.internals,positionAbsolute:Ee?{x:G,y:V}:X,z:te}})}function U1n(d,v,E){const A=t2(d.zIndex)?d.zIndex:0;return G2e(E)?A:A+(d.selected?v:0)}function Eqn(d,v,E,A,M,P){const{x:m,y:L}=v.internals.positionAbsolute,H=o2(d),U=RN(d,E),Q=ak(d.extent)?hk(U,d.extent,H):U;let Y=hk({x:m+Q.x,y:L+Q.y},A,H);d.extent==="parent"&&(Y=O1n(Y,H,v));const G=U1n(d,M,P),V=v.internals.z??0;return{x:Y.x,y:Y.y,z:V>=G?V+1:G}}function q2e(d,v,E,A=[0,0]){var m;const M=[],P=new Map;for(const L of d){const H=v.get(L.parentId);if(!H)continue;const U=((m=P.get(L.parentId))==null?void 0:m.expandedRect)??$N(H),Q=N1n(U,L.rect);P.set(L.parentId,{expandedRect:Q,parent:H})}return P.size>0&&P.forEach(({expandedRect:L,parent:H},U)=>{var re;const Q=H.internals.positionAbsolute,Y=o2(H),G=H.origin??A,V=L.x<Q.x?Math.round(Math.abs(Q.x-L.x)):0,te=L.y<Q.y?Math.round(Math.abs(Q.y-L.y)):0,X=Math.max(Y.width,Math.round(L.width)),Ee=Math.max(Y.height,Math.round(L.height)),ue=(X-Y.width)*G[0],ge=(Ee-Y.height)*G[1];(V>0||te>0||ue||ge)&&(M.push({id:U,type:"position",position:{x:H.position.x-V+ue,y:H.position.y-te+ge}}),(re=E.get(U))==null||re.forEach(je=>{d.some(Ke=>Ke.id===je.id)||M.push({id:je.id,type:"position",position:{x:je.position.x+V,y:je.position.y+te}})})),(Y.width<L.width||Y.height<L.height||V||te)&&M.push({id:U,type:"dimensions",setAttributes:!0,dimensions:{width:X+(V?G[0]*V-ue:0),height:Ee+(te?G[1]*te-ge:0)}})}),M}function jqn(d,v,E,A,M,P,m){const L=A==null?void 0:A.querySelector(".xyflow__viewport");let H=!1;if(!L)return{changes:[],updatedInternals:H};const U=[],Q=window.getComputedStyle(L),{m22:Y}=new window.DOMMatrixReadOnly(Q.transform),G=[];for(const V of d.values()){const te=v.get(V.id);if(!te)continue;if(te.hidden){v.set(te.id,{...te,internals:{...te.internals,handleBounds:void 0}}),H=!0;continue}const X=R2e(V.nodeElement),Ee=te.measured.width!==X.width||te.measured.height!==X.height;if(!!(X.width&&X.height&&(Ee||!te.internals.handleBounds||V.force))){const ge=V.nodeElement.getBoundingClientRect(),re=ak(te.extent)?te.extent:P;let{positionAbsolute:je}=te.internals;if(te.parentId&&te.extent==="parent"){const Xe=v.get(te.parentId);Xe&&(je=O1n(je,X,Xe))}else re&&(je=hk(je,re,X));const Ke={...te,measured:X,internals:{...te.internals,positionAbsolute:je,handleBounds:{source:oan("source",V.nodeElement,ge,Y,te.id),target:oan("target",V.nodeElement,ge,Y,te.id)}}};v.set(te.id,Ke),te.parentId&&H2e(Ke,v,E,{nodeOrigin:M,zIndexMode:m}),H=!0,Ee&&(U.push({id:te.id,type:"dimensions",dimensions:X}),te.expandParent&&te.parentId&&G.push({id:te.id,parentId:te.parentId,rect:$N(Ke,M)}))}}if(G.length>0){const V=q2e(G,v,E,M);U.push(...V)}return{changes:U,updatedInternals:H}}async function xqn({delta:d,panZoom:v,transform:E,translateExtent:A,width:M,height:P}){if(!v||!d.x&&!d.y)return!1;const m=await v.setViewportConstrained({x:E[0]+d.x,y:E[1]+d.y,zoom:E[2]},[[0,0],[M,P]],A);return!!m&&(m.x!==E[0]||m.y!==E[1]||m.k!==E[2])}function ban(d,v,E,A,M,P){let m=M;const L=A.get(m)||new Map;A.set(m,L.set(E,v)),m=`${M}-${d}`;const H=A.get(m)||new Map;if(A.set(m,H.set(E,v)),P){m=`${M}-${d}-${P}`;const U=A.get(m)||new Map;A.set(m,U.set(E,v))}}function X1n(d,v,E){d.clear(),v.clear();for(const A of E){const{source:M,target:P,sourceHandle:m=null,targetHandle:L=null}=A,H={edgeId:A.id,source:M,target:P,sourceHandle:m,targetHandle:L},U=`${M}-${m}--${P}-${L}`,Q=`${P}-${L}--${M}-${m}`;ban("source",H,Q,d,M,m),ban("target",H,U,d,P,L),v.set(A.id,A)}}function K1n(d,v){if(!d.parentId)return!1;const E=v.get(d.parentId);return E?E.selected?!0:K1n(E,v):!1}function wan(d,v,E){var M;let A=d;do{if((M=A==null?void 0:A.matches)!=null&&M.call(A,v))return!0;if(A===E)return!1;A=A==null?void 0:A.parentElement}while(A);return!1}function Aqn(d,v,E,A){const M=new Map;for(const[P,m]of d)if((m.selected||m.id===A)&&(!m.parentId||!K1n(m,d))&&(m.draggable||v&&typeof m.draggable>"u")){const L=d.get(P);L&&M.set(P,{id:P,position:L.position||{x:0,y:0},distance:{x:E.x-L.internals.positionAbsolute.x,y:E.y-L.internals.positionAbsolute.y},extent:L.extent,parentId:L.parentId,origin:L.origin,expandParent:L.expandParent,internals:{positionAbsolute:L.internals.positionAbsolute||{x:0,y:0}},measured:{width:L.measured.width??0,height:L.measured.height??0}})}return M}function c2e({nodeId:d,dragItems:v,nodeLookup:E,dragging:A=!0}){var m,L,H;const M=[];for(const[U,Q]of v){const Y=(m=E.get(U))==null?void 0:m.internals.userNode;Y&&M.push({...Y,position:Q.position,dragging:A})}if(!d)return[M[0],M];const P=(L=E.get(d))==null?void 0:L.internals.userNode;return[P?{...P,position:((H=v.get(d))==null?void 0:H.position)||P.position,dragging:A}:M[0],M]}function Mqn({dragItems:d,snapGrid:v,x:E,y:A}){const M=d.values().next().value;if(!M)return null;const P={x:E-M.distance.x,y:A-M.distance.y},m=BN(P,v);return{x:m.x-P.x,y:m.y-P.y}}function Cqn({onNodeMouseDown:d,getStoreItems:v,onDragStart:E,onDrag:A,onDragStop:M}){let P={x:null,y:null},m=0,L=new Map,H=!1,U={x:0,y:0},Q=null,Y=!1,G=null,V=!1,te=!1,X=null;function Ee({noDragClassName:ge,handleSelector:re,domNode:je,isSelectable:Ke,nodeId:Xe,nodeClickDistance:Ye=0}){G=_0(je);function kn({x:Vn,y:J}){const{nodeLookup:xe,nodeExtent:on,snapGrid:rn,snapToGrid:Sn,nodeOrigin:Fn,onNodeDrag:dn,onSelectionDrag:Gn,onError:Nn,updateNodePositions:qn}=v();P={x:Vn,y:J};let Jt=!1;const Kt=L.size>1,Oi=Kt&&on?v2e(Kx(L)):null,gr=Kt&&Sn?Mqn({dragItems:L,snapGrid:rn,x:Vn,y:J}):null;for(const[Ki,Kn]of L){if(!xe.has(Ki))continue;let ei={x:Vn-Kn.distance.x,y:J-Kn.distance.y};Sn&&(ei=gr?{x:Math.round(ei.x+gr.x),y:Math.round(ei.y+gr.y)}:BN(ei,rn));let rr=null;if(Kt&&on&&!Kn.extent&&Oi){const{positionAbsolute:sr}=Kn.internals,ri=sr.x-Oi.x+on[0][0],bi=sr.x+Kn.measured.width-Oi.x2+on[1][0],Ac=sr.y-Oi.y+on[0][1],ku=sr.y+Kn.measured.height-Oi.y2+on[1][1];rr=[[ri,Ac],[bi,ku]]}const{position:cr,positionAbsolute:Bi}=P1n({nodeId:Ki,nextPosition:ei,nodeLookup:xe,nodeExtent:rr||on,nodeOrigin:Fn,onError:Nn});Jt=Jt||Kn.position.x!==cr.x||Kn.position.y!==cr.y,Kn.position=cr,Kn.internals.positionAbsolute=Bi}if(te=te||Jt,!!Jt&&(qn(L,!0),X&&(A||dn||!Xe&&Gn))){const[Ki,Kn]=c2e({nodeId:Xe,dragItems:L,nodeLookup:xe});A==null||A(X,L,Ki,Kn),dn==null||dn(X,Ki,Kn),Xe||Gn==null||Gn(X,Kn)}}async function En(){if(!Q)return;const{transform:Vn,panBy:J,autoPanSpeed:xe,autoPanOnNodeDrag:on}=v();if(!on){H=!1,cancelAnimationFrame(m);return}const[rn,Sn]=_2e(U,Q,xe);(rn!==0||Sn!==0)&&(P.x=(P.x??0)-rn/Vn[2],P.y=(P.y??0)-Sn/Vn[2],await J({x:rn,y:Sn})&&kn(P)),m=requestAnimationFrame(En)}function Zn(Vn){var Kt;const{nodeLookup:J,multiSelectionActive:xe,nodesDraggable:on,transform:rn,snapGrid:Sn,snapToGrid:Fn,selectNodesOnDrag:dn,onNodeDragStart:Gn,onSelectionDragStart:Nn,unselectNodesAndEdges:qn}=v();Y=!0,(!dn||!Ke)&&!xe&&Xe&&((Kt=J.get(Xe))!=null&&Kt.selected||qn()),Ke&&dn&&Xe&&(d==null||d(Xe));const Jt=AN(Vn.sourceEvent,{transform:rn,snapGrid:Sn,snapToGrid:Fn,containerBounds:Q});if(P=Jt,L=Aqn(J,on,Jt,Xe),L.size>0&&(E||Gn||!Xe&&Nn)){const[Oi,gr]=c2e({nodeId:Xe,dragItems:L,nodeLookup:J});E==null||E(Vn.sourceEvent,L,Oi,gr),Gn==null||Gn(Vn.sourceEvent,Oi,gr),Xe||Nn==null||Nn(Vn.sourceEvent,gr)}}const Ln=h1n().clickDistance(Ye).on("start",Vn=>{const{domNode:J,nodeDragThreshold:xe,transform:on,snapGrid:rn,snapToGrid:Sn}=v();Q=(J==null?void 0:J.getBoundingClientRect())||null,V=!1,te=!1,X=Vn.sourceEvent,xe===0&&Zn(Vn),P=AN(Vn.sourceEvent,{transform:on,snapGrid:rn,snapToGrid:Sn,containerBounds:Q}),U=i2(Vn.sourceEvent,Q)}).on("drag",Vn=>{const{autoPanOnNodeDrag:J,transform:xe,snapGrid:on,snapToGrid:rn,nodeDragThreshold:Sn,nodeLookup:Fn}=v(),dn=AN(Vn.sourceEvent,{transform:xe,snapGrid:on,snapToGrid:rn,containerBounds:Q});if(X=Vn.sourceEvent,(Vn.sourceEvent.type==="touchmove"&&Vn.sourceEvent.touches.length>1||Xe&&!Fn.has(Xe))&&(V=!0),!V){if(!H&&J&&Y&&(H=!0,En()),!Y){const Gn=i2(Vn.sourceEvent,Q),Nn=Gn.x-U.x,qn=Gn.y-U.y;Math.sqrt(Nn*Nn+qn*qn)>Sn&&Zn(Vn)}(P.x!==dn.xSnapped||P.y!==dn.ySnapped)&&L&&Y&&(U=i2(Vn.sourceEvent,Q),kn(dn))}}).on("end",Vn=>{if(!Y||V){V&&L.size>0&&v().updateNodePositions(L,!1);return}if(H=!1,Y=!1,cancelAnimationFrame(m),L.size>0){const{nodeLookup:J,updateNodePositions:xe,onNodeDragStop:on,onSelectionDragStop:rn}=v();if(te&&(xe(L,!1),te=!1),M||on||!Xe&&rn){const[Sn,Fn]=c2e({nodeId:Xe,dragItems:L,nodeLookup:J,dragging:!1});M==null||M(Vn.sourceEvent,L,Sn,Fn),on==null||on(Vn.sourceEvent,Sn,Fn),Xe||rn==null||rn(Vn.sourceEvent,Fn)}}}).filter(Vn=>{const J=Vn.target;return!Vn.button&&(!ge||!wan(J,`.${ge}`,je))&&(!re||wan(J,re,je))});G.call(Ln)}function ue(){G==null||G.on(".drag",null)}return{update:Ee,destroy:ue}}function Tqn(d,v,E){const A=[],M={x:d.x-E,y:d.y-E,width:E*2,height:E*2};for(const P of v.values())xK(M,$N(P))>0&&A.push(P);return A}const Sqn=250;function Iqn(d,v,E,A){var L,H;let M=[],P=1/0;const m=Tqn(d,E,v+Sqn);for(const U of m){const Q=[...((L=U.internals.handleBounds)==null?void 0:L.source)??[],...((H=U.internals.handleBounds)==null?void 0:H.target)??[]];for(const Y of Q){if(A.nodeId===Y.nodeId&&A.type===Y.type&&A.id===Y.id)continue;const{x:G,y:V}=dk(U,Y,Y.position,!0),te=Math.sqrt(Math.pow(G-d.x,2)+Math.pow(V-d.y,2));te>v||(te<P?(M=[{...Y,x:G,y:V}],P=te):te===P&&M.push({...Y,x:G,y:V}))}}if(!M.length)return null;if(M.length>1){const U=A.type==="source"?"target":"source";return M.find(Q=>Q.type===U)??M[0]}return M[0]}function W1n(d,v,E,A,M,P=!1){var U,Q,Y;const m=A.get(d);if(!m)return null;const L=M==="strict"?(U=m.internals.handleBounds)==null?void 0:U[v]:[...((Q=m.internals.handleBounds)==null?void 0:Q.source)??[],...((Y=m.internals.handleBounds)==null?void 0:Y.target)??[]],H=(E?L==null?void 0:L.find(G=>G.id===E):L==null?void 0:L[0])??null;return H&&P?{...H,...dk(m,H,H.position,!0)}:H}function V1n(d,v){return d||(v!=null&&v.classList.contains("target")?"target":v!=null&&v.classList.contains("source")?"source":null)}function Pqn(d,v){let E=null;return v?E=!0:d&&!v&&(E=!1),E}const Q1n=()=>!0;function Oqn(d,{connectionMode:v,connectionRadius:E,handleId:A,nodeId:M,edgeUpdaterType:P,isTarget:m,domNode:L,nodeLookup:H,lib:U,autoPanOnConnect:Q,flowId:Y,panBy:G,cancelConnection:V,onConnectStart:te,onConnect:X,onConnectEnd:Ee,isValidConnection:ue=Q1n,onReconnectEnd:ge,updateConnection:re,getTransform:je,getFromHandle:Ke,autoPanSpeed:Xe,dragThreshold:Ye=1,handleDomNode:kn}){const En=R1n(d.target);let Zn=0,Ln;const{x:Vn,y:J}=i2(d),xe=V1n(P,kn),on=L==null?void 0:L.getBoundingClientRect();let rn=!1;if(!on||!xe)return;const Sn=W1n(M,xe,A,H,v);if(!Sn)return;let Fn=i2(d,on),dn=!1,Gn=null,Nn=!1,qn=null;function Jt(){if(!Q||!on)return;const[cr,Bi]=_2e(Fn,on,Xe);G({x:cr,y:Bi}),Zn=requestAnimationFrame(Jt)}const Kt={...Sn,nodeId:M,type:xe,position:Sn.position},Oi=H.get(M);let Ki={inProgress:!0,isValid:null,from:dk(Oi,Kt,Ei.Left,!0),fromHandle:Kt,fromPosition:Kt.position,fromNode:Oi,to:Fn,toHandle:null,toPosition:ian[Kt.position],toNode:null,pointer:Fn};function Kn(){rn=!0,re(Ki),te==null||te(d,{nodeId:M,handleId:A,handleType:xe})}Ye===0&&Kn();function ei(cr){if(!rn){const{x:ku,y:Pr}=i2(cr),Ca=ku-Vn,zl=Pr-J;if(!(Ca*Ca+zl*zl>Ye*Ye))return;Kn()}if(!Ke()||!Kt){rr(cr);return}const Bi=je();Fn=i2(cr,on),Ln=Iqn(JN(Fn,Bi,!1,[1,1]),E,H,Kt),dn||(Jt(),dn=!0);const sr=Y1n(cr,{handle:Ln,connectionMode:v,fromNodeId:M,fromHandleId:A,fromType:m?"target":"source",isValidConnection:ue,doc:En,lib:U,flowId:Y,nodeLookup:H});qn=sr.handleDomNode,Gn=sr.connection,Nn=Pqn(!!Ln,sr.isValid);const ri=H.get(M),bi=ri?dk(ri,Kt,Ei.Left,!0):Ki.from,Ac={...Ki,from:bi,isValid:Nn,to:sr.toHandle&&Nn?Ux({x:sr.toHandle.x,y:sr.toHandle.y},Bi):Fn,toHandle:sr.toHandle,toPosition:Nn&&sr.toHandle?sr.toHandle.position:ian[Kt.position],toNode:sr.toHandle?H.get(sr.toHandle.nodeId):null,pointer:Fn};re(Ac),Ki=Ac}function rr(cr){if(!("touches"in cr&&cr.touches.length>0)){if(rn){(Ln||qn)&&Gn&&Nn&&(X==null||X(Gn));const{inProgress:Bi,...sr}=Ki,ri={...sr,toPosition:Ki.toHandle?Ki.toPosition:null};Ee==null||Ee(cr,ri),P&&(ge==null||ge(cr,ri))}V(),cancelAnimationFrame(Zn),dn=!1,Nn=!1,Gn=null,qn=null,En.removeEventListener("mousemove",ei),En.removeEventListener("mouseup",rr),En.removeEventListener("touchmove",ei),En.removeEventListener("touchend",rr)}}En.addEventListener("mousemove",ei),En.addEventListener("mouseup",rr),En.addEventListener("touchmove",ei),En.addEventListener("touchend",rr)}function Y1n(d,{handle:v,connectionMode:E,fromNodeId:A,fromHandleId:M,fromType:P,doc:m,lib:L,flowId:H,isValidConnection:U=Q1n,nodeLookup:Q}){const Y=P==="target",G=v?m.querySelector(`.${L}-flow__handle[data-id="${H}-${v==null?void 0:v.nodeId}-${v==null?void 0:v.id}-${v==null?void 0:v.type}"]`):null,{x:V,y:te}=i2(d),X=m.elementFromPoint(V,te),Ee=X!=null&&X.classList.contains(`${L}-flow__handle`)?X:G,ue={handleDomNode:Ee,isValid:!1,connection:null,toHandle:null};if(Ee){const ge=V1n(void 0,Ee),re=Ee.getAttribute("data-nodeid"),je=Ee.getAttribute("data-handleid"),Ke=Ee.classList.contains("connectable"),Xe=Ee.classList.contains("connectableend");if(!re||!ge)return ue;const Ye={source:Y?re:A,sourceHandle:Y?je:M,target:Y?A:re,targetHandle:Y?M:je};ue.connection=Ye;const En=Ke&&Xe&&(E===qx.Strict?Y&&ge==="source"||!Y&&ge==="target":re!==A||je!==M);ue.isValid=En&&U(Ye),ue.toHandle=W1n(re,ge,je,Q,E,!0)}return ue}const j2e={onPointerDown:Oqn,isValid:Y1n};function Nqn({domNode:d,panZoom:v,getTransform:E,getViewScale:A}){const M=_0(d);function P({translateExtent:L,width:H,height:U,zoomStep:Q=1,pannable:Y=!0,zoomable:G=!0,inversePan:V=!1}){const te=re=>{if(re.sourceEvent.type!=="wheel"||!v)return;const je=E(),Ke=re.sourceEvent.ctrlKey&&DN()?10:1,Xe=-re.sourceEvent.deltaY*(re.sourceEvent.deltaMode===1?.05:re.sourceEvent.deltaMode?1:.002)*Q,Ye=je[2]*Math.pow(2,Xe*Ke);v.scaleTo(Ye)};let X=[0,0];const Ee=re=>{(re.sourceEvent.type==="mousedown"||re.sourceEvent.type==="touchstart")&&(X=[re.sourceEvent.clientX??re.sourceEvent.touches[0].clientX,re.sourceEvent.clientY??re.sourceEvent.touches[0].clientY])},ue=re=>{const je=E();if(re.sourceEvent.type!=="mousemove"&&re.sourceEvent.type!=="touchmove"||!v)return;const Ke=[re.sourceEvent.clientX??re.sourceEvent.touches[0].clientX,re.sourceEvent.clientY??re.sourceEvent.touches[0].clientY],Xe=[Ke[0]-X[0],Ke[1]-X[1]];X=Ke;const Ye=A()*Math.max(je[2],Math.log(je[2]))*(V?-1:1),kn={x:je[0]-Xe[0]*Ye,y:je[1]-Xe[1]*Ye},En=[[0,0],[H,U]];v.setViewportConstrained({x:kn.x,y:kn.y,zoom:je[2]},En,L)},ge=M1n().on("start",Ee).on("zoom",Y?ue:null).on("zoom.wheel",G?te:null);M.call(ge,{})}function m(){M.on("zoom",null)}return{update:P,destroy:m,pointer:e2}}const $K=d=>({x:d.x,y:d.y,zoom:d.k}),u2e=({x:d,y:v,zoom:E})=>PK.translate(d,v).scale(E),V5=(d,v)=>d.target.closest(`.${v}`),Z1n=(d,v)=>v===2&&Array.isArray(d)&&d.includes(2),$qn=d=>((d*=2)<=1?d*d*d:(d-=2)*d*d+2)/2,o2e=(d,v=0,E=$qn,A=()=>{})=>{const M=typeof v=="number"&&v>0;return M||A(),M?d.transition().duration(v).ease(E).on("end",A):d},edn=d=>{const v=d.ctrlKey&&DN()?10:1;return-d.deltaY*(d.deltaMode===1?.05:d.deltaMode?1:.002)*v};function Dqn({zoomPanValues:d,noWheelClassName:v,d3Selection:E,d3Zoom:A,panOnScrollMode:M,panOnScrollSpeed:P,zoomOnPinch:m,onPanZoomStart:L,onPanZoom:H,onPanZoomEnd:U}){return Q=>{if(V5(Q,v))return Q.ctrlKey&&Q.preventDefault(),!1;Q.preventDefault(),Q.stopImmediatePropagation();const Y=E.property("__zoom").k||1;if(Q.ctrlKey&&m){const Ee=e2(Q),ue=edn(Q),ge=Y*Math.pow(2,ue);A.scaleTo(E,ge,Ee,Q);return}const G=Q.deltaMode===1?20:1;let V=M===sk.Vertical?0:Q.deltaX*G,te=M===sk.Horizontal?0:Q.deltaY*G;!DN()&&Q.shiftKey&&M!==sk.Vertical&&(V=Q.deltaY*G,te=0),A.translateBy(E,-(V/Y)*P,-(te/Y)*P,{internal:!0});const X=$K(E.property("__zoom"));clearTimeout(d.panScrollTimeout),d.isPanScrolling?H==null||H(Q,X):(d.isPanScrolling=!0,L==null||L(Q,X)),d.panScrollTimeout=setTimeout(()=>{U==null||U(Q,X),d.isPanScrolling=!1},150)}}function Lqn({noWheelClassName:d,preventScrolling:v,d3ZoomHandler:E}){return function(A,M){const P=A.type==="wheel",m=!v&&P&&!A.ctrlKey,L=V5(A,d);if(A.ctrlKey&&P&&L&&A.preventDefault(),m||L)return null;A.preventDefault(),E.call(this,A,M)}}function _qn({zoomPanValues:d,onDraggingChange:v,onPanZoomStart:E}){return A=>{var P,m,L;if((P=A.sourceEvent)!=null&&P.internal)return;const M=$K(A.transform);d.mouseButton=((m=A.sourceEvent)==null?void 0:m.button)||0,d.isZoomingOrPanning=!0,d.prevViewport=M,((L=A.sourceEvent)==null?void 0:L.type)==="mousedown"&&v(!0),E&&(E==null||E(A.sourceEvent,M))}}function Fqn({zoomPanValues:d,panOnDrag:v,onPaneContextMenu:E,onTransformChange:A,onPanZoom:M}){return P=>{var m,L;d.usedRightMouseButton=!!(E&&Z1n(v,d.mouseButton??0)),(m=P.sourceEvent)!=null&&m.sync||A([P.transform.x,P.transform.y,P.transform.k]),M&&!((L=P.sourceEvent)!=null&&L.internal)&&(M==null||M(P.sourceEvent,$K(P.transform)))}}function Rqn({zoomPanValues:d,panOnDrag:v,panOnScroll:E,onDraggingChange:A,onPanZoomEnd:M,onPaneContextMenu:P}){return m=>{var L;if(!((L=m.sourceEvent)!=null&&L.internal)&&(d.isZoomingOrPanning=!1,P&&Z1n(v,d.mouseButton??0)&&!d.usedRightMouseButton&&m.sourceEvent&&P(m.sourceEvent),d.usedRightMouseButton=!1,A(!1),M)){const H=$K(m.transform);d.prevViewport=H,clearTimeout(d.timerId),d.timerId=setTimeout(()=>{M==null||M(m.sourceEvent,H)},E?150:0)}}}function Bqn({panActivationKeyPressed:d,zoomActivationKeyPressed:v,zoomOnScroll:E,zoomOnPinch:A,panOnDrag:M,panOnScroll:P,zoomOnDoubleClick:m,userSelectionActive:L,noWheelClassName:H,noPanClassName:U,lib:Q,connectionInProgress:Y}){return G=>{var ue;const V=v||E,te=A&&G.ctrlKey,X=G.type==="wheel";if(G.button===1&&G.type==="mousedown"&&(V5(G,`${Q}-flow__node`)||V5(G,`${Q}-flow__edge`)||V5(G,`${Q}-flow__selection`)||V5(G,`${Q}-flow__nodesselection`)))return!0;if(!M&&!V&&!P&&!m&&!A||L||Y&&!X||V5(G,H)&&X||V5(G,U)&&(!X||P&&X&&!v)||!A&&G.ctrlKey&&X)return!1;if(!A&&G.type==="touchstart"&&((ue=G.touches)==null?void 0:ue.length)>1)return G.preventDefault(),!1;if(!V&&!P&&!te&&X||!M&&(G.type==="mousedown"||G.type==="touchstart")||Array.isArray(M)&&!M.includes(G.button)&&G.type==="mousedown")return!1;const Ee=Array.isArray(M)&&M.includes(G.button)||!G.button||G.button<=1;return(!G.ctrlKey||X||d)&&Ee}}function Jqn({domNode:d,minZoom:v,maxZoom:E,translateExtent:A,viewport:M,onPanZoom:P,onPanZoomStart:m,onPanZoomEnd:L,onDraggingChange:H}){const U={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},Q=d.getBoundingClientRect();let Y=[[0,0],[Q.width,Q.height]];const G=typeof ResizeObserver<"u"?new ResizeObserver(J=>{const xe=J[0];xe&&(Y=[[0,0],[xe.contentRect.width,xe.contentRect.height]])}):null;G==null||G.observe(d);const V=M1n().extent(()=>Y).scaleExtent([v,E]).translateExtent(A),te=_0(d).call(V);je({x:M.x,y:M.y,zoom:zx(M.zoom,v,E)},[[0,0],[Q.width,Q.height]],A);const X=te.on("wheel.zoom"),Ee=te.on("dblclick.zoom");V.wheelDelta(edn);async function ue(J,xe){return te?new Promise(on=>{V==null||V.interpolate((xe==null?void 0:xe.interpolate)==="linear"?xN:fK).transform(o2e(te,xe==null?void 0:xe.duration,xe==null?void 0:xe.ease,()=>on(!0)),J)}):!1}function ge({noWheelClassName:J,noPanClassName:xe,onPaneContextMenu:on,userSelectionActive:rn,panOnScroll:Sn,panOnDrag:Fn,panOnScrollMode:dn,panOnScrollSpeed:Gn,preventScrolling:Nn,zoomOnPinch:qn,zoomOnScroll:Jt,zoomOnDoubleClick:Kt,panActivationKeyPressed:Oi=!1,zoomActivationKeyPressed:gr,lib:Ki,onTransformChange:Kn,connectionInProgress:ei,paneClickDistance:rr,selectionOnDrag:cr}){rn&&!U.isZoomingOrPanning&&re();const Bi=Sn&&!gr&&!rn;V.clickDistance(cr?1/0:!t2(rr)||rr<0?0:rr);const sr=Bi?Dqn({zoomPanValues:U,noWheelClassName:J,d3Selection:te,d3Zoom:V,panOnScrollMode:dn,panOnScrollSpeed:Gn,zoomOnPinch:qn,onPanZoomStart:m,onPanZoom:P,onPanZoomEnd:L}):Lqn({noWheelClassName:J,preventScrolling:Nn,d3ZoomHandler:X});te.on("wheel.zoom",sr,{passive:!1});const ri=_qn({zoomPanValues:U,onDraggingChange:H,onPanZoomStart:m});V.on("start",ri);const bi=Fqn({zoomPanValues:U,panOnDrag:Fn,onPaneContextMenu:!!on,onPanZoom:P,onTransformChange:Kn});V.on("zoom",bi);const Ac=Rqn({zoomPanValues:U,panOnDrag:Fn,panOnScroll:Sn,onPaneContextMenu:on,onPanZoomEnd:L,onDraggingChange:H});V.on("end",Ac);const ku=Bqn({panActivationKeyPressed:Oi,zoomActivationKeyPressed:gr,panOnDrag:Fn,zoomOnScroll:Jt,panOnScroll:Sn,zoomOnDoubleClick:Kt,zoomOnPinch:qn,userSelectionActive:rn,noPanClassName:xe,noWheelClassName:J,lib:Ki,connectionInProgress:ei});V.filter(ku),Kt?te.on("dblclick.zoom",Ee):te.on("dblclick.zoom",null)}function re(){V.on("zoom",null)}async function je(J,xe,on){const rn=u2e(J),Sn=V==null?void 0:V.constrain()(rn,xe,on);return Sn&&await ue(Sn),Sn}async function Ke(J,xe){const on=u2e(J);return await ue(on,xe),on}function Xe(J){if(te){const xe=u2e(J),on=te.property("__zoom");(on.k!==J.zoom||on.x!==J.x||on.y!==J.y)&&(V==null||V.transform(te,xe,null,{sync:!0}))}}function Ye(){const J=te?A1n(te.node()):{x:0,y:0,k:1};return{x:J.x,y:J.y,zoom:J.k}}async function kn(J,xe){return te?new Promise(on=>{V==null||V.interpolate((xe==null?void 0:xe.interpolate)==="linear"?xN:fK).scaleTo(o2e(te,xe==null?void 0:xe.duration,xe==null?void 0:xe.ease,()=>on(!0)),J)}):!1}async function En(J,xe){return te?new Promise(on=>{V==null||V.interpolate((xe==null?void 0:xe.interpolate)==="linear"?xN:fK).scaleBy(o2e(te,xe==null?void 0:xe.duration,xe==null?void 0:xe.ease,()=>on(!0)),J)}):!1}function Zn(J){V==null||V.scaleExtent(J)}function Ln(J){V==null||V.translateExtent(J)}function Vn(J){const xe=!t2(J)||J<0?0:J;V==null||V.clickDistance(xe)}return{update:ge,destroy:re,setViewport:Ke,setViewportConstrained:je,getViewport:Ye,scaleTo:kn,scaleBy:En,setScaleExtent:Zn,setTranslateExtent:Ln,syncViewport:Xe,setClickDistance:Vn}}var Xx;(function(d){d.Line="line",d.Handle="handle"})(Xx||(Xx={}));function Gqn({width:d,prevWidth:v,height:E,prevHeight:A,affectsX:M,affectsY:P}){const m=d-v,L=E-A,H=[m>0?1:m<0?-1:0,L>0?1:L<0?-1:0];return m&&M&&(H[0]=H[0]*-1),L&&P&&(H[1]=H[1]*-1),H}function gan(d){const v=d.includes("right")||d.includes("left"),E=d.includes("bottom")||d.includes("top"),A=d.includes("left"),M=d.includes("top");return{isHorizontal:v,isVertical:E,affectsX:A,affectsY:M}}function K5(d,v){return Math.max(0,v-d)}function W5(d,v){return Math.max(0,d-v)}function iK(d,v,E){return Math.max(0,v-d,d-E)}function pan(d,v){return d?!v:v}function Hqn(d,v,E,A,M,P,m,L){let{affectsX:H,affectsY:U}=v;const{isHorizontal:Q,isVertical:Y}=v,G=Q&&Y,{xSnapped:V,ySnapped:te}=E,{minWidth:X,maxWidth:Ee,minHeight:ue,maxHeight:ge}=A,{x:re,y:je,width:Ke,height:Xe,aspectRatio:Ye}=d;let kn=Math.floor(Q?V-d.pointerX:0),En=Math.floor(Y?te-d.pointerY:0);const Zn=Ke+(H?-kn:kn),Ln=Xe+(U?-En:En),Vn=-P[0]*Ke,J=-P[1]*Xe;let xe=iK(Zn,X,Ee),on=iK(Ln,ue,ge);if(m){let Fn=0,dn=0;H&&kn<0?Fn=K5(re+kn+Vn,m[0][0]):!H&&kn>0&&(Fn=W5(re+Zn+Vn,m[1][0])),U&&En<0?dn=K5(je+En+J,m[0][1]):!U&&En>0&&(dn=W5(je+Ln+J,m[1][1])),xe=Math.max(xe,Fn),on=Math.max(on,dn)}if(L){let Fn=0,dn=0;H&&kn>0?Fn=W5(re+kn,L[0][0]):!H&&kn<0&&(Fn=K5(re+Zn,L[1][0])),U&&En>0?dn=W5(je+En,L[0][1]):!U&&En<0&&(dn=K5(je+Ln,L[1][1])),xe=Math.max(xe,Fn),on=Math.max(on,dn)}if(M){if(Q){const Fn=iK(Zn/Ye,ue,ge)*Ye;if(xe=Math.max(xe,Fn),m){let dn=0;!H&&!U||H&&!U&&G?dn=W5(je+J+Zn/Ye,m[1][1])*Ye:dn=K5(je+J+(H?kn:-kn)/Ye,m[0][1])*Ye,xe=Math.max(xe,dn)}if(L){let dn=0;!H&&!U||H&&!U&&G?dn=K5(je+Zn/Ye,L[1][1])*Ye:dn=W5(je+(H?kn:-kn)/Ye,L[0][1])*Ye,xe=Math.max(xe,dn)}}if(Y){const Fn=iK(Ln*Ye,X,Ee)/Ye;if(on=Math.max(on,Fn),m){let dn=0;!H&&!U||U&&!H&&G?dn=W5(re+Ln*Ye+Vn,m[1][0])/Ye:dn=K5(re+(U?En:-En)*Ye+Vn,m[0][0])/Ye,on=Math.max(on,dn)}if(L){let dn=0;!H&&!U||U&&!H&&G?dn=K5(re+Ln*Ye,L[1][0])/Ye:dn=W5(re+(U?En:-En)*Ye,L[0][0])/Ye,on=Math.max(on,dn)}}}En=En+(En<0?on:-on),kn=kn+(kn<0?xe:-xe),M&&(G?Zn>Ln*Ye?En=(pan(H,U)?-kn:kn)/Ye:kn=(pan(H,U)?-En:En)*Ye:Q?(En=kn/Ye,U=H):(kn=En*Ye,H=U));const rn=H?re+kn:re,Sn=U?je+En:je;return{width:Ke+(H?-kn:kn),height:Xe+(U?-En:En),x:P[0]*kn*(H?-1:1)+rn,y:P[1]*En*(U?-1:1)+Sn}}const ndn={width:0,height:0,x:0,y:0},qqn={...ndn,pointerX:0,pointerY:0,aspectRatio:1};function zqn(d,v,E){const A=v.position.x+d.position.x,M=v.position.y+d.position.y,P=d.measured.width??0,m=d.measured.height??0,L=E[0]*P,H=E[1]*m;return[[A-L,M-H],[A+P-L,M+m-H]]}function Uqn({domNode:d,nodeId:v,getStoreItems:E,onChange:A,onEnd:M}){const P=_0(d);let m={controlDirection:gan("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number.MAX_VALUE,maxHeight:Number.MAX_VALUE},resizeDirection:void 0,keepAspectRatio:!1};function L({controlPosition:U,boundaries:Q,keepAspectRatio:Y,resizeDirection:G,onResizeStart:V,onResize:te,onResizeEnd:X,shouldResize:Ee}){let ue={...ndn},ge={...qqn};m={boundaries:Q,resizeDirection:G,keepAspectRatio:Y,controlDirection:gan(U)};let re,je=null,Ke=[],Xe,Ye,kn;const En=h1n().on("start",Zn=>{const{nodeLookup:Ln,transform:Vn,snapGrid:J,snapToGrid:xe,nodeOrigin:on,paneDomNode:rn}=E();if(re=Ln.get(v),!re)return;je=(rn==null?void 0:rn.getBoundingClientRect())??null;const{xSnapped:Sn,ySnapped:Fn}=AN(Zn.sourceEvent,{transform:Vn,snapGrid:J,snapToGrid:xe,containerBounds:je});ue={width:re.measured.width??0,height:re.measured.height??0,x:re.position.x??0,y:re.position.y??0},ge={...ue,pointerX:Sn,pointerY:Fn,aspectRatio:ue.width/ue.height},Xe=void 0,Ye=ak(re.extent)?re.extent:void 0,re.parentId&&(re.extent==="parent"||re.expandParent)&&(Xe=Ln.get(re.parentId)),Xe&&re.extent==="parent"&&(Ye=[[0,0],[Xe.measured.width,Xe.measured.height]]),Ke=[],kn=void 0;for(const[dn,Gn]of Ln)if(Gn.parentId===v&&(Ke.push({id:dn,position:{...Gn.position},extent:Gn.extent}),Gn.extent==="parent"||Gn.expandParent)){const Nn=zqn(Gn,re,Gn.origin??on);kn?kn=[[Math.min(Nn[0][0],kn[0][0]),Math.min(Nn[0][1],kn[0][1])],[Math.max(Nn[1][0],kn[1][0]),Math.max(Nn[1][1],kn[1][1])]]:kn=Nn}V==null||V(Zn,{...ue})}).on("drag",Zn=>{const{transform:Ln,snapGrid:Vn,snapToGrid:J,nodeOrigin:xe}=E(),on=AN(Zn.sourceEvent,{transform:Ln,snapGrid:Vn,snapToGrid:J,containerBounds:je}),rn=[];if(!re)return;const{x:Sn,y:Fn,width:dn,height:Gn}=ue,Nn={},qn=re.origin??xe,{width:Jt,height:Kt,x:Oi,y:gr}=Hqn(ge,m.controlDirection,on,m.boundaries,m.keepAspectRatio,qn,Ye,kn),Ki=Jt!==dn,Kn=Kt!==Gn,ei=Oi!==Sn&&Ki,rr=gr!==Fn&&Kn;if(!ei&&!rr&&!Ki&&!Kn)return;const cr={prevValues:{...ue},startX:ge.x,startY:ge.y,childNodes:Ke.map(bi=>({...bi,position:{...bi.position}}))};if((ei||rr||qn[0]===1||qn[1]===1)&&(Nn.x=ei?Oi:ue.x,Nn.y=rr?gr:ue.y,ue.x=Nn.x,ue.y=Nn.y,Ke.length>0)){const bi=Oi-Sn,Ac=gr-Fn;for(const ku of Ke)ku.position={x:ku.position.x-bi+qn[0]*(Jt-dn),y:ku.position.y-Ac+qn[1]*(Kt-Gn)},rn.push(ku)}if((Ki||Kn)&&(Nn.width=Ki&&(!m.resizeDirection||m.resizeDirection==="horizontal")?Jt:ue.width,Nn.height=Kn&&(!m.resizeDirection||m.resizeDirection==="vertical")?Kt:ue.height,ue.width=Nn.width,ue.height=Nn.height),Xe&&re.expandParent){const bi=qn[0]*(Nn.width??0);Nn.x&&Nn.x<bi&&(ue.x=bi,ge.x=ge.x-(Nn.x-bi));const Ac=qn[1]*(Nn.height??0);Nn.y&&Nn.y<Ac&&(ue.y=Ac,ge.y=ge.y-(Nn.y-Ac))}const Bi=Gqn({width:ue.width,prevWidth:dn,height:ue.height,prevHeight:Gn,affectsX:m.controlDirection.affectsX,affectsY:m.controlDirection.affectsY}),sr={...ue,direction:Bi};if((Ee==null?void 0:Ee(Zn,sr))===!1){ue=cr.prevValues,ge.x=cr.startX,ge.y=cr.startY,Ke.forEach((bi,Ac)=>{bi.position=cr.childNodes[Ac].position});return}te==null||te(Zn,sr),A(Nn,rn)}).on("end",Zn=>{X==null||X(Zn,{...ue}),M==null||M({...ue})});P.call(En)}function H(){P.on(".drag",null)}return{update:L,destroy:H}}const Xqn={},man=d=>{let v;const E=new Set,A=(Q,Y)=>{const G=typeof Q=="function"?Q(v):Q;if(!Object.is(G,v)){const V=v;v=Y??(typeof G!="object"||G===null)?G:Object.assign({},v,G),E.forEach(te=>te(v,V))}},M=()=>v,H={setState:A,getState:M,getInitialState:()=>U,subscribe:Q=>(E.add(Q),()=>E.delete(Q)),destroy:()=>{(Xqn?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),E.clear()}},U=v=d(A,M,H);return H},Kqn=d=>d?man(d):man,{useDebugValue:Wqn}=PRn,{useSyncExternalStoreWithSelector:Vqn}=IRn,Qqn=d=>d;function tdn(d,v=Qqn,E){const A=Vqn(d.subscribe,d.getState,d.getServerState||d.getInitialState,v,E);return Wqn(A),A}const van=(d,v)=>{const E=Kqn(d),A=(M,P=v)=>tdn(E,M,P);return Object.assign(A,E),A},Yqn=(d,v)=>d?van(d,v):van;function Ts(d,v){if(Object.is(d,v))return!0;if(typeof d!="object"||d===null||typeof v!="object"||v===null)return!1;if(d instanceof Map&&v instanceof Map){if(d.size!==v.size)return!1;for(const[A,M]of d)if(!Object.is(M,v.get(A)))return!1;return!0}if(d instanceof Set&&v instanceof Set){if(d.size!==v.size)return!1;for(const A of d)if(!v.has(A))return!1;return!0}const E=Object.keys(d);if(E.length!==Object.keys(v).length)return!1;for(const A of E)if(!Object.prototype.hasOwnProperty.call(v,A)||!Object.is(d[A],v[A]))return!1;return!0}const DK=sn.createContext(null),Zqn=DK.Provider,idn=c2.error001("react");function Sc(d,v){const E=sn.useContext(DK);if(E===null)throw new Error(idn);return tdn(E,d,v)}function os(){const d=sn.useContext(DK);if(d===null)throw new Error(idn);return sn.useMemo(()=>({getState:d.getState,setState:d.setState,subscribe:d.subscribe}),[d])}const yan={display:"none"},ezn={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},rdn="react-flow__node-desc",cdn="react-flow__edge-desc",nzn="react-flow__aria-live",tzn=d=>d.ariaLiveMessage,izn=d=>d.ariaLabelConfig;function rzn({rfId:d}){const v=Sc(tzn);return de.jsx("div",{id:`${nzn}-${d}`,"aria-live":"assertive","aria-atomic":"true",style:ezn,children:v})}function czn({rfId:d,disableKeyboardA11y:v}){const E=Sc(izn);return de.jsxs(de.Fragment,{children:[de.jsx("div",{id:`${rdn}-${d}`,style:yan,children:v?E["node.a11yDescription.default"]:E["node.a11yDescription.keyboardDisabled"]}),de.jsx("div",{id:`${cdn}-${d}`,style:yan,children:E["edge.a11yDescription.default"]}),!v&&de.jsx(rzn,{rfId:d})]})}const HN=sn.forwardRef(({position:d="top-left",children:v,className:E,style:A,...M},P)=>{const m=`${d}`.split("-");return de.jsx("div",{className:Kf(["react-flow__panel",E,...m]),style:A,ref:P,...M,children:v})});HN.displayName="Panel";const kan="https://reactflow.dev?utm_source=attribution";function uzn({proOptions:d,position:v="bottom-right"}){return sn.useEffect(()=>{},[]),d!=null&&d.hideAttribution?null:de.jsx(HN,{position:v,className:"react-flow__attribution","data-message":`Please only hide this attribution when you are subscribed to React Flow Pro: ${kan}`,children:de.jsx("a",{href:kan,target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}const ozn=d=>{const v=[],E=[];for(const[,A]of d.nodeLookup)A.selected&&v.push(A.internals.userNode);for(const[,A]of d.edgeLookup)A.selected&&E.push(A);return{selectedNodes:v,selectedEdges:E}},rK=d=>d.id;function szn(d,v){return Ts(d.selectedNodes.map(rK),v.selectedNodes.map(rK))&&Ts(d.selectedEdges.map(rK),v.selectedEdges.map(rK))}function fzn({onSelectionChange:d}){const v=os(),{selectedNodes:E,selectedEdges:A}=Sc(ozn,szn);return sn.useEffect(()=>{const M={nodes:E,edges:A};d==null||d(M),v.getState().onSelectionChangeHandlers.forEach(P=>P(M))},[E,A,d]),null}const lzn=d=>!!d.onSelectionChangeHandlers;function hzn({onSelectionChange:d}){const v=Sc(lzn);return d||v?de.jsx(fzn,{onSelectionChange:d}):null}const udn=[0,0],azn={x:0,y:0,zoom:1},dzn=["nodes","edges","defaultNodes","defaultEdges","onConnect","onConnectStart","onConnectEnd","onClickConnectStart","onClickConnectEnd","nodesDraggable","autoPanOnNodeFocus","nodesConnectable","nodesFocusable","edgesFocusable","edgesReconnectable","elevateNodesOnSelect","elevateEdgesOnSelect","minZoom","maxZoom","nodeExtent","onNodesChange","onEdgesChange","elementsSelectable","connectionMode","snapGrid","snapToGrid","translateExtent","connectOnClick","defaultEdgeOptions","fitView","fitViewOptions","onNodesDelete","onEdgesDelete","onDelete","onNodeDrag","onNodeDragStart","onNodeDragStop","onSelectionDrag","onSelectionDragStart","onSelectionDragStop","onMoveStart","onMove","onMoveEnd","noPanClassName","nodeOrigin","autoPanOnConnect","autoPanOnNodeDrag","onError","connectionRadius","isValidConnection","selectNodesOnDrag","nodeDragThreshold","connectionDragThreshold","onBeforeDelete","debug","autoPanSpeed","ariaLabelConfig","zIndexMode"],Ean=[...dzn,"rfId"],bzn=d=>({setNodes:d.setNodes,setEdges:d.setEdges,setMinZoom:d.setMinZoom,setMaxZoom:d.setMaxZoom,setTranslateExtent:d.setTranslateExtent,setNodeExtent:d.setNodeExtent,reset:d.reset,setDefaultNodesAndEdges:d.setDefaultNodesAndEdges}),jan={translateExtent:PN,nodeOrigin:udn,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function wzn(d){const{setNodes:v,setEdges:E,setMinZoom:A,setMaxZoom:M,setTranslateExtent:P,setNodeExtent:m,reset:L,setDefaultNodesAndEdges:H}=Sc(bzn,Ts),U=os();sn.useEffect(()=>(H(d.defaultNodes,d.defaultEdges),()=>{Q.current=jan,L()}),[]);const Q=sn.useRef(jan);return sn.useEffect(()=>{for(const Y of Ean){const G=d[Y],V=Q.current[Y];G!==V&&(typeof d[Y]>"u"||(Y==="nodes"?v(G):Y==="edges"?E(G):Y==="minZoom"?A(G):Y==="maxZoom"?M(G):Y==="translateExtent"?P(G):Y==="nodeExtent"?m(G):Y==="ariaLabelConfig"?U.setState({ariaLabelConfig:rqn(G)}):Y==="fitView"?U.setState({fitViewQueued:G}):Y==="fitViewOptions"?U.setState({fitViewOptions:G}):U.setState({[Y]:G})))}Q.current=d},Ean.map(Y=>d[Y])),null}function xan(){return typeof window>"u"||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function gzn(d){var A;const[v,E]=sn.useState(d==="system"?null:d);return sn.useEffect(()=>{if(d!=="system"){E(d);return}const M=xan(),P=()=>E(M!=null&&M.matches?"dark":"light");return P(),M==null||M.addEventListener("change",P),()=>{M==null||M.removeEventListener("change",P)}},[d]),v!==null?v:(A=xan())!=null&&A.matches?"dark":"light"}const Aan=typeof document<"u"?document:null;function LN(d=null,v={target:Aan,actInsideInputWithModifier:!0}){const[E,A]=sn.useState(!1),M=sn.useRef(!1),P=sn.useRef(new Set([])),[m,L]=sn.useMemo(()=>{if(d!==null){const U=(Array.isArray(d)?d:[d]).filter(Y=>typeof Y=="string").map(Y=>Y.replace(/\+/g,`
|
|
2
2
|
`).replace(`
|
|
3
3
|
|
|
4
4
|
`,`
|
|
5
5
|
+`).split(`
|
|
6
6
|
`)),Q=U.reduce((Y,G)=>Y.concat(...G),[]);return[U,Q]}return[[],[]]},[d]);return sn.useEffect(()=>{const H=(v==null?void 0:v.target)??Aan,U=(v==null?void 0:v.actInsideInputWithModifier)??!0;if(d!==null){const Q=V=>{var Ee,ue;if(M.current=V.ctrlKey||V.metaKey||V.shiftKey||V.altKey,(!M.current||M.current&&!U)&&B1n(V))return!1;const X=Can(V.code,L);if(P.current.add(V[X]),Man(m,P.current,!1)){const ge=((ue=(Ee=V.composedPath)==null?void 0:Ee.call(V))==null?void 0:ue[0])||V.target,re=(ge==null?void 0:ge.nodeName)==="BUTTON"||(ge==null?void 0:ge.nodeName)==="A";v.preventDefault!==!1&&(M.current||!re)&&V.preventDefault(),A(!0)}},Y=V=>{const te=Can(V.code,L);Man(m,P.current,!0)?(A(!1),P.current.clear()):P.current.delete(V[te]),V.key==="Meta"&&P.current.clear(),M.current=!1},G=()=>{P.current.clear(),A(!1)};return H==null||H.addEventListener("keydown",Q),H==null||H.addEventListener("keyup",Y),window.addEventListener("blur",G),window.addEventListener("contextmenu",G),()=>{H==null||H.removeEventListener("keydown",Q),H==null||H.removeEventListener("keyup",Y),window.removeEventListener("blur",G),window.removeEventListener("contextmenu",G)}}},[d,A]),E}function Man(d,v,E){return d.filter(A=>E||A.length===v.size).some(A=>A.every(M=>v.has(M)))}function Can(d,v){return v.includes(d)?"code":"key"}const pzn=()=>{const d=os();return sn.useMemo(()=>({zoomIn:async v=>{const{panZoom:E}=d.getState();return E?E.scaleBy(1.2,v):!1},zoomOut:async v=>{const{panZoom:E}=d.getState();return E?E.scaleBy(1/1.2,v):!1},zoomTo:async(v,E)=>{const{panZoom:A}=d.getState();return A?A.scaleTo(v,E):!1},getZoom:()=>d.getState().transform[2],setViewport:async(v,E)=>{const{transform:[A,M,P],panZoom:m}=d.getState();return m?(await m.setViewport({x:v.x??A,y:v.y??M,zoom:v.zoom??P},E),!0):!1},getViewport:()=>{const[v,E,A]=d.getState().transform;return{x:v,y:E,zoom:A}},setCenter:async(v,E,A)=>d.getState().setCenter(v,E,A),fitBounds:async(v,E)=>{const{width:A,height:M,minZoom:P,maxZoom:m,panZoom:L}=d.getState(),H=F2e(v,A,M,P,m,(E==null?void 0:E.padding)??.1);return L?(await L.setViewport(H,{duration:E==null?void 0:E.duration,ease:E==null?void 0:E.ease,interpolate:E==null?void 0:E.interpolate}),!0):!1},screenToFlowPosition:(v,E={})=>{const{transform:A,snapGrid:M,snapToGrid:P,domNode:m}=d.getState();if(!m)return v;const{x:L,y:H}=m.getBoundingClientRect(),U={x:v.x-L,y:v.y-H},Q=E.snapGrid??M,Y=E.snapToGrid??P;return JN(U,A,Y,Q)},flowToScreenPosition:v=>{const{transform:E,domNode:A}=d.getState();if(!A)return v;const{x:M,y:P}=A.getBoundingClientRect(),m=Ux(v,E);return{x:m.x+M,y:m.y+P}}}),[])};function odn(d,v){const E=[],A=new Map,M=[];for(const P of d)if(P.type==="add"){M.push(P);continue}else if(P.type==="remove"||P.type==="replace")A.set(P.id,[P]);else{const m=A.get(P.id);m?m.push(P):A.set(P.id,[P])}for(const P of v){const m=A.get(P.id);if(!m){E.push(P);continue}if(m[0].type==="remove")continue;if(m[0].type==="replace"){E.push({...m[0].item});continue}const L={...P};for(const H of m)mzn(H,L);E.push(L)}return M.length&&M.forEach(P=>{P.index!==void 0?E.splice(P.index,0,{...P.item}):E.push({...P.item})}),E}function mzn(d,v){switch(d.type){case"select":{v.selected=d.selected;break}case"position":{typeof d.position<"u"&&(v.position=d.position),typeof d.dragging<"u"&&(v.dragging=d.dragging);break}case"dimensions":{typeof d.dimensions<"u"&&(v.measured={...d.dimensions},d.setAttributes&&((d.setAttributes===!0||d.setAttributes==="width")&&(v.width=d.dimensions.width),(d.setAttributes===!0||d.setAttributes==="height")&&(v.height=d.dimensions.height))),typeof d.resizing=="boolean"&&(v.resizing=d.resizing);break}}}function sdn(d,v){return odn(d,v)}function fdn(d,v){return odn(d,v)}function ck(d,v){return{id:d,type:"select",selected:v}}function Rx(d,v=new Set,E=!1){const A=[];for(const[M,P]of d){const m=v.has(M);!(P.selected===void 0&&!m)&&P.selected!==m&&(E&&(P.selected=m),A.push(ck(P.id,m)))}return A}function Tan({items:d=[],lookup:v}){var M;const E=[],A=new Map(d.map(P=>[P.id,P]));for(const[P,m]of d.entries()){const L=v.get(m.id),H=((M=L==null?void 0:L.internals)==null?void 0:M.userNode)??L;H!==void 0&&H!==m&&E.push({id:m.id,item:m,type:"replace"}),H===void 0&&E.push({item:m,type:"add",index:P})}for(const[P]of v)A.get(P)===void 0&&E.push({id:P,type:"remove"});return E}function San(d){return{id:d.id,type:"remove"}}const vzn=D1n();function yzn(d,v,E={}){return lqn(d,v,{...E,onError:E.onError??vzn})}const Ian=d=>WHn(d),kzn=d=>I1n(d);function ldn(d){return sn.forwardRef(d)}const hdn=typeof window<"u"?sn.useLayoutEffect:sn.useEffect;function Pan(d){const[v,E]=sn.useState(BigInt(0)),[A]=sn.useState(()=>Ezn(()=>E(M=>M+BigInt(1))));return hdn(()=>{const M=A.get();M.length&&(d(M),A.reset())},[v]),A}function Ezn(d){let v=[];return{get:()=>v,reset:()=>{v=[]},push:E=>{v.push(E),d()}}}const adn=sn.createContext(null);function jzn({children:d}){const v=os(),E=sn.useCallback(L=>{const{nodes:H=[],setNodes:U,hasDefaultNodes:Q,onNodesChange:Y,nodeLookup:G,fitViewQueued:V,onNodesChangeMiddlewareMap:te}=v.getState();let X=H;for(const ue of L)X=typeof ue=="function"?ue(X):ue;let Ee=Tan({items:X,lookup:G});for(const ue of te.values())Ee=ue(Ee);Q&&U(X),Ee.length>0?Y==null||Y(Ee):V&&window.requestAnimationFrame(()=>{const{fitViewQueued:ue,nodes:ge,setNodes:re}=v.getState();ue&&re(ge)})},[]),A=Pan(E),M=sn.useCallback(L=>{const{edges:H=[],setEdges:U,hasDefaultEdges:Q,onEdgesChange:Y,edgeLookup:G}=v.getState();let V=H;for(const te of L)V=typeof te=="function"?te(V):te;Q?U(V):Y&&Y(Tan({items:V,lookup:G}))},[]),P=Pan(M),m=sn.useMemo(()=>({nodeQueue:A,edgeQueue:P}),[]);return de.jsx(adn.Provider,{value:m,children:d})}function xzn(){const d=sn.useContext(adn);if(!d)throw new Error("useBatchContext must be used within a BatchProvider");return d}const Azn=d=>!!d.panZoom;function LK(){const d=pzn(),v=os(),E=xzn(),A=Sc(Azn),M=sn.useMemo(()=>{const P=Y=>v.getState().nodeLookup.get(Y),m=Y=>{E.nodeQueue.push(Y)},L=Y=>{E.edgeQueue.push(Y)},H=Y=>{var ue,ge;const{nodeLookup:G,nodeOrigin:V}=v.getState(),te=Ian(Y)?Y:G.get(Y.id),X=te.parentId?_1n(te.position,te.measured,te.parentId,G,V):te.position,Ee={...te,position:X,width:((ue=te.measured)==null?void 0:ue.width)??te.width,height:((ge=te.measured)==null?void 0:ge.height)??te.height};return $N(Ee)},U=(Y,G,V={replace:!1})=>{m(te=>te.map(X=>{if(X.id===Y){const Ee=typeof G=="function"?G(X):G;return V.replace&&Ian(Ee)?Ee:{...X,...Ee}}return X}))},Q=(Y,G,V={replace:!1})=>{L(te=>te.map(X=>{if(X.id===Y){const Ee=typeof G=="function"?G(X):G;return V.replace&&kzn(Ee)?Ee:{...X,...Ee}}return X}))};return{getNodes:()=>v.getState().nodes.map(Y=>({...Y})),getNode:Y=>{var G;return(G=P(Y))==null?void 0:G.internals.userNode},getInternalNode:P,getEdges:()=>{const{edges:Y=[]}=v.getState();return Y.map(G=>({...G}))},getEdge:Y=>v.getState().edgeLookup.get(Y),setNodes:m,setEdges:L,addNodes:Y=>{const G=Array.isArray(Y)?Y:[Y];E.nodeQueue.push(V=>[...V,...G])},addEdges:Y=>{const G=Array.isArray(Y)?Y:[Y];E.edgeQueue.push(V=>[...V,...G])},toObject:()=>{const{nodes:Y=[],edges:G=[],transform:V}=v.getState(),[te,X,Ee]=V;return{nodes:Y.map(ue=>({...ue})),edges:G.map(ue=>({...ue})),viewport:{x:te,y:X,zoom:Ee}}},deleteElements:async({nodes:Y=[],edges:G=[]})=>{const{nodes:V,edges:te,onNodesDelete:X,onEdgesDelete:Ee,triggerNodeChanges:ue,triggerEdgeChanges:ge,onDelete:re,onBeforeDelete:je}=v.getState(),{nodes:Ke,edges:Xe}=await eqn({nodesToRemove:Y,edgesToRemove:G,nodes:V,edges:te,onBeforeDelete:je}),Ye=Xe.length>0,kn=Ke.length>0;if(Ye){const En=Xe.map(San);Ee==null||Ee(Xe),ge(En)}if(kn){const En=Ke.map(San);X==null||X(Ke),ue(En)}return(kn||Ye)&&(re==null||re({nodes:Ke,edges:Xe})),{deletedNodes:Ke,deletedEdges:Xe}},getIntersectingNodes:(Y,G=!0,V)=>{const te=can(Y),X=te?Y:H(Y),Ee=V!==void 0;return X?(V||v.getState().nodes).filter(ue=>{const ge=v.getState().nodeLookup.get(ue.id);if(ge&&!te&&(ue.id===Y.id||!ge.internals.positionAbsolute))return!1;const re=$N(Ee?ue:ge),je=xK(re,X);return G&&je>0||je>=re.width*re.height||je>=X.width*X.height}):[]},isNodeIntersecting:(Y,G,V=!0)=>{const X=can(Y)?Y:H(Y);if(!X)return!1;const Ee=xK(X,G);return V&&Ee>0||Ee>=G.width*G.height||Ee>=X.width*X.height},updateNode:U,updateNodeData:(Y,G,V={replace:!1})=>{U(Y,te=>{const X=typeof G=="function"?G(te):G;return V.replace?{...te,data:X}:{...te,data:{...te.data,...X}}},V)},updateEdge:Q,updateEdgeData:(Y,G,V={replace:!1})=>{Q(Y,te=>{const X=typeof G=="function"?G(te):G;return V.replace?{...te,data:X}:{...te,data:{...te.data,...X}}},V)},getNodesBounds:Y=>{const{nodeLookup:G,nodeOrigin:V}=v.getState();return VHn(Y,{nodeLookup:G,nodeOrigin:V})},getHandleConnections:({type:Y,id:G,nodeId:V})=>{var te;return Array.from(((te=v.getState().connectionLookup.get(`${V}-${Y}${G?`-${G}`:""}`))==null?void 0:te.values())??[])},getNodeConnections:({type:Y,handleId:G,nodeId:V})=>{var te;return Array.from(((te=v.getState().connectionLookup.get(`${V}${Y?G?`-${Y}-${G}`:`-${Y}`:""}`))==null?void 0:te.values())??[])},fitView:async Y=>{const G=v.getState().fitViewResolver??iqn();return v.setState({fitViewQueued:!0,fitViewOptions:Y,fitViewResolver:G}),E.nodeQueue.push(V=>[...V]),G.promise}}},[]);return sn.useMemo(()=>({...M,...d,viewportInitialized:A}),[A])}const Oan=d=>d.selected,Mzn=typeof window<"u"?window:void 0;function Czn({deleteKeyCode:d,multiSelectionKeyCode:v}){const E=os(),{deleteElements:A}=LK(),M=LN(d,{actInsideInputWithModifier:!1}),P=LN(v,{target:Mzn});sn.useEffect(()=>{if(M){const{edges:m,nodes:L}=E.getState();A({nodes:L.filter(Oan),edges:m.filter(Oan)}),E.setState({nodesSelectionActive:!1})}},[M]),sn.useEffect(()=>{E.setState({multiSelectionActive:P})},[P])}function Tzn(d){const v=os();sn.useEffect(()=>{const E=()=>{var M,P,m,L;if(!d.current||!(((P=(M=d.current).checkVisibility)==null?void 0:P.call(M))??!0))return!1;const A=R2e(d.current);(A.height===0||A.width===0)&&((L=(m=v.getState()).onError)==null||L.call(m,"004",c2.error004())),v.setState({width:A.width||500,height:A.height||500})};if(d.current){E(),window.addEventListener("resize",E);const A=new ResizeObserver(()=>E());return A.observe(d.current),()=>{window.removeEventListener("resize",E),A&&d.current&&A.unobserve(d.current)}}},[])}const _K={position:"absolute",width:"100%",height:"100%",top:0,left:0},Szn=d=>({userSelectionActive:d.userSelectionActive,lib:d.lib,connectionInProgress:d.connection.inProgress});function Izn({onPaneContextMenu:d,zoomOnScroll:v=!0,zoomOnPinch:E=!0,panOnScroll:A=!1,panActivationKeyPressed:M,panOnScrollSpeed:P=.5,panOnScrollMode:m=sk.Free,zoomOnDoubleClick:L=!0,panOnDrag:H=!0,defaultViewport:U,translateExtent:Q,minZoom:Y,maxZoom:G,zoomActivationKeyCode:V,preventScrolling:te=!0,children:X,noWheelClassName:Ee,noPanClassName:ue,onViewportChange:ge,isControlledViewport:re,paneClickDistance:je,selectionOnDrag:Ke}){const Xe=os(),Ye=sn.useRef(null),{userSelectionActive:kn,lib:En,connectionInProgress:Zn}=Sc(Szn,Ts),Ln=LN(V),Vn=sn.useRef();Tzn(Ye);const J=sn.useCallback(xe=>{ge==null||ge({x:xe[0],y:xe[1],zoom:xe[2]}),re||Xe.setState({transform:xe})},[ge,re]);return sn.useEffect(()=>{if(Ye.current){Vn.current=Jqn({domNode:Ye.current,minZoom:Y,maxZoom:G,translateExtent:Q,viewport:U,onDraggingChange:Sn=>Xe.setState(Fn=>Fn.paneDragging===Sn?Fn:{paneDragging:Sn}),onPanZoomStart:(Sn,Fn)=>{const{onViewportChangeStart:dn,onMoveStart:Gn}=Xe.getState();Gn==null||Gn(Sn,Fn),dn==null||dn(Fn)},onPanZoom:(Sn,Fn)=>{const{onViewportChange:dn,onMove:Gn}=Xe.getState();Gn==null||Gn(Sn,Fn),dn==null||dn(Fn)},onPanZoomEnd:(Sn,Fn)=>{const{onViewportChangeEnd:dn,onMoveEnd:Gn}=Xe.getState();Gn==null||Gn(Sn,Fn),dn==null||dn(Fn)}});const{x:xe,y:on,zoom:rn}=Vn.current.getViewport();return Xe.setState({panZoom:Vn.current,transform:[xe,on,rn],domNode:Ye.current.closest(".react-flow")}),()=>{var Sn;(Sn=Vn.current)==null||Sn.destroy()}}},[]),sn.useEffect(()=>{var xe;(xe=Vn.current)==null||xe.update({onPaneContextMenu:d,zoomOnScroll:v,zoomOnPinch:E,panOnScroll:A,panActivationKeyPressed:M,panOnScrollSpeed:P,panOnScrollMode:m,zoomOnDoubleClick:L,panOnDrag:H,zoomActivationKeyPressed:Ln,preventScrolling:te,noPanClassName:ue,userSelectionActive:kn,noWheelClassName:Ee,lib:En,onTransformChange:J,connectionInProgress:Zn,selectionOnDrag:Ke,paneClickDistance:je})},[d,v,E,A,M,P,m,L,H,Ln,te,ue,kn,Ee,En,J,Zn,Ke,je]),de.jsx("div",{className:"react-flow__renderer",ref:Ye,style:_K,children:X})}const Pzn=d=>({userSelectionActive:d.userSelectionActive,userSelectionRect:d.userSelectionRect});function Ozn(){const{userSelectionActive:d,userSelectionRect:v}=Sc(Pzn,Ts);return d&&v?de.jsx("div",{className:"react-flow__selection react-flow__container",style:{width:v.width,height:v.height,transform:`translate(${v.x}px, ${v.y}px)`}}):null}const s2e=(d,v)=>E=>{E.target===v.current&&(d==null||d(E))},Nzn=d=>({userSelectionActive:d.userSelectionActive,elementsSelectable:d.elementsSelectable,dragging:d.paneDragging,panBy:d.panBy,autoPanSpeed:d.autoPanSpeed});function $zn({isSelecting:d,selectionKeyPressed:v,selectionMode:E=ON.Full,panOnDrag:A,autoPanOnSelection:M,paneClickDistance:P,selectionOnDrag:m,onSelectionStart:L,onSelectionEnd:H,onPaneClick:U,onPaneContextMenu:Q,onPaneScroll:Y,onPaneMouseEnter:G,onPaneMouseMove:V,onPaneMouseLeave:te,children:X}){const Ee=sn.useRef(0),ue=os(),{userSelectionActive:ge,elementsSelectable:re,dragging:je,panBy:Ke,autoPanSpeed:Xe}=Sc(Nzn,Ts),Ye=re&&(d||ge),kn=sn.useRef(null),En=sn.useRef(),Zn=sn.useRef(new Set),Ln=sn.useRef(new Set),Vn=sn.useRef(!1),J=sn.useRef(!1),xe=sn.useRef({x:0,y:0}),on=sn.useRef(!1),rn=Kn=>{if(J.current||Vn.current||ue.getState().connection.inProgress){J.current=!1,Vn.current=!1;return}U==null||U(Kn),ue.getState().resetSelectedElements(),ue.setState({nodesSelectionActive:!1})},Sn=Kn=>{if(Array.isArray(A)&&(A!=null&&A.includes(2))){Kn.preventDefault();return}Q==null||Q(Kn)},Fn=Y?Kn=>Y(Kn):void 0,dn=Kn=>{J.current&&(Kn.stopPropagation(),J.current=!1)},Gn=Kn=>{var ku,Pr;if(Kn.pointerType==="touch"&&A!==!1&&!v)return;const{domNode:ei,transform:rr}=ue.getState();if(En.current=ei==null?void 0:ei.getBoundingClientRect(),!En.current)return;const cr=Kn.target===kn.current;if(!cr&&!!Kn.target.closest(".nokey")||!d||!(m&&cr||v)||Kn.button!==0||!Kn.isPrimary)return;(Pr=(ku=Kn.target)==null?void 0:ku.setPointerCapture)==null||Pr.call(ku,Kn.pointerId),J.current=!1;const{x:ri,y:bi}=i2(Kn.nativeEvent,En.current),Ac=JN({x:ri,y:bi},rr);ue.setState({userSelectionRect:{width:0,height:0,startX:Ac.x,startY:Ac.y,x:ri,y:bi}}),cr||(Kn.stopPropagation(),Kn.preventDefault())};function Nn(Kn,ei){const{userSelectionRect:rr}=ue.getState();if(!rr)return;const{transform:cr,nodeLookup:Bi,edgeLookup:sr,connectionLookup:ri,triggerNodeChanges:bi,triggerEdgeChanges:Ac,defaultEdgeOptions:ku}=ue.getState(),Pr={x:rr.startX,y:rr.startY},{x:Ca,y:zl}=Ux(Pr,cr),Md={startX:Pr.x,startY:Pr.y,x:Kn<Ca?Kn:Ca,y:ei<zl?ei:zl,width:Math.abs(Kn-Ca),height:Math.abs(ei-zl)},ew=Zn.current,Cd=Ln.current;Zn.current=new Set(L2e(Bi,Md,cr,E===ON.Partial,!0).map(pr=>pr.id)),Ln.current=new Set;const Td=(ku==null?void 0:ku.selectable)??!0;for(const pr of Zn.current){const Mo=ri.get(pr);if(Mo)for(const{edgeId:bo}of Mo.values()){const v1=sr.get(bo);v1&&(v1.selectable??Td)&&Ln.current.add(bo)}}if(!uan(ew,Zn.current)){const pr=Rx(Bi,Zn.current,!0);bi(pr)}if(!uan(Cd,Ln.current)){const pr=Rx(sr,Ln.current);Ac(pr)}ue.setState({userSelectionRect:Md,userSelectionActive:!0,nodesSelectionActive:!1})}function qn(){if(!M||!En.current)return;const[Kn,ei]=_2e(xe.current,En.current,Xe);Ke({x:Kn,y:ei}).then(rr=>{if(!J.current||!rr){Ee.current=requestAnimationFrame(qn);return}const{x:cr,y:Bi}=xe.current;Nn(cr,Bi),Ee.current=requestAnimationFrame(qn)})}const Jt=()=>{cancelAnimationFrame(Ee.current),Ee.current=0,on.current=!1};sn.useEffect(()=>()=>Jt(),[]);const Kt=Kn=>{const{userSelectionRect:ei,transform:rr,resetSelectedElements:cr}=ue.getState();if(!En.current||!ei)return;const{x:Bi,y:sr}=i2(Kn.nativeEvent,En.current);xe.current={x:Bi,y:sr};const ri=Ux({x:ei.startX,y:ei.startY},rr);if(!J.current){const bi=v?0:P;if(Math.hypot(Bi-ri.x,sr-ri.y)<=bi)return;cr(),L==null||L(Kn)}J.current=!0,on.current||(qn(),on.current=!0),Nn(Bi,sr)},Oi=Kn=>{var ei,rr;if(!Ye){Kn.target===kn.current&&ue.getState().connection.inProgress&&(Vn.current=!0);return}Kn.button===0&&((rr=(ei=Kn.target)==null?void 0:ei.releasePointerCapture)==null||rr.call(ei,Kn.pointerId),!ge&&Kn.target===kn.current&&ue.getState().userSelectionRect&&(rn==null||rn(Kn)),ue.setState({userSelectionActive:!1,userSelectionRect:null}),J.current&&(H==null||H(Kn),ue.setState({nodesSelectionActive:Zn.current.size>0})),Jt())},gr=Kn=>{var ei,rr;(rr=(ei=Kn.target)==null?void 0:ei.releasePointerCapture)==null||rr.call(ei,Kn.pointerId),Jt()},Ki=A===!0||Array.isArray(A)&&A.includes(0);return de.jsxs("div",{className:Kf(["react-flow__pane",{draggable:Ki,dragging:je,selection:d}]),onClick:Ye?void 0:s2e(rn,kn),onContextMenu:s2e(Sn,kn),onWheel:s2e(Fn,kn),onPointerEnter:Ye?void 0:G,onPointerMove:Ye?Kt:V,onPointerUp:Oi,onPointerCancel:Ye?gr:void 0,onPointerDownCapture:Ye?Gn:void 0,onClickCapture:Ye?dn:void 0,onPointerLeave:te,ref:kn,style:_K,children:[X,de.jsx(Ozn,{})]})}function x2e({id:d,store:v,unselect:E=!1,nodeRef:A}){const{addSelectedNodes:M,unselectNodesAndEdges:P,multiSelectionActive:m,nodeLookup:L,onError:H}=v.getState(),U=L.get(d);if(!U){H==null||H("012",c2.error012(d));return}v.setState({nodesSelectionActive:!1}),U.selected?(E||U.selected&&m)&&(P({nodes:[U],edges:[]}),requestAnimationFrame(()=>{var Q;return(Q=A==null?void 0:A.current)==null?void 0:Q.blur()})):M([d])}function ddn({nodeRef:d,disabled:v=!1,noDragClassName:E,handleSelector:A,nodeId:M,isSelectable:P,nodeClickDistance:m}){const L=os(),[H,U]=sn.useState(!1),Q=sn.useRef();return sn.useEffect(()=>{if(!v)return Q.current=Cqn({getStoreItems:()=>L.getState(),onNodeMouseDown:Y=>{x2e({id:Y,store:L,nodeRef:d})},onDragStart:()=>{U(!0)},onDragStop:()=>{U(!1)}}),()=>{var Y;(Y=Q.current)==null||Y.destroy(),Q.current=void 0}},[v,L,d]),sn.useEffect(()=>{v||!d.current||!Q.current||Q.current.update({noDragClassName:E,handleSelector:A,domNode:d.current,isSelectable:P,nodeId:M,nodeClickDistance:m})},[E,A,v,P,d,M,m]),H}const Dzn=d=>v=>v.selected&&(v.draggable||d&&typeof v.draggable>"u");function bdn(){const d=os();return sn.useCallback(E=>{const{nodeExtent:A,snapToGrid:M,snapGrid:P,nodesDraggable:m,onError:L,updateNodePositions:H,nodeLookup:U,nodeOrigin:Q}=d.getState(),Y=new Map,G=Dzn(m),V=M?P[0]:5,te=M?P[1]:5,X=E.direction.x*V*E.factor,Ee=E.direction.y*te*E.factor;for(const[,ue]of U){if(!G(ue))continue;let ge={x:ue.internals.positionAbsolute.x+X,y:ue.internals.positionAbsolute.y+Ee};M&&(ge=BN(ge,P));const{position:re,positionAbsolute:je}=P1n({nodeId:ue.id,nextPosition:ge,nodeLookup:U,nodeExtent:A,nodeOrigin:Q,onError:L});ue.position=re,ue.internals.positionAbsolute=je,Y.set(ue.id,ue)}H(Y)},[])}const z2e=sn.createContext(null),Lzn=z2e.Provider;z2e.Consumer;const U2e=()=>sn.useContext(z2e),_zn=d=>({connectOnClick:d.connectOnClick,noPanClassName:d.noPanClassName,rfId:d.rfId}),wdn=sn.createContext(null);function Fzn({children:d}){const v=Sc(_zn,Ts);return de.jsx(wdn.Provider,{value:v,children:d})}function Rzn(){const d=sn.useContext(wdn);if(!d)throw new Error("useHandleConfig must be used within a HandleConfigProvider");return d}const Bzn={connectingFrom:!1,connectingTo:!1,clickConnecting:!1,isPossibleEndHandle:!0,connectionInProcess:!1,clickConnectionInProcess:!1,valid:!1},Jzn=(d,v,E)=>A=>{const{connectionClickStartHandle:M,connectionMode:P,connection:m}=A,{fromHandle:L,toHandle:H,isValid:U}=m;if(!L&&!M)return Bzn;const Q=(H==null?void 0:H.nodeId)===d&&(H==null?void 0:H.id)===v&&(H==null?void 0:H.type)===E;return{connectingFrom:(L==null?void 0:L.nodeId)===d&&(L==null?void 0:L.id)===v&&(L==null?void 0:L.type)===E,connectingTo:Q,clickConnecting:(M==null?void 0:M.nodeId)===d&&(M==null?void 0:M.id)===v&&(M==null?void 0:M.type)===E,isPossibleEndHandle:P===qx.Strict?(L==null?void 0:L.type)!==E:d!==(L==null?void 0:L.nodeId)||v!==(L==null?void 0:L.id),connectionInProcess:!!L,clickConnectionInProcess:!!M,valid:Q&&U}};function Gzn({type:d="source",position:v=Ei.Top,isValidConnection:E,isConnectable:A=!0,isConnectableStart:M=!0,isConnectableEnd:P=!0,id:m,onConnect:L,children:H,className:U,onMouseDown:Q,onTouchStart:Y,...G},V){var on,rn;const te=m||null,X=d==="target",Ee=os(),ue=U2e(),{connectOnClick:ge,noPanClassName:re,rfId:je}=Rzn(),{connectingFrom:Ke,connectingTo:Xe,clickConnecting:Ye,isPossibleEndHandle:kn,connectionInProcess:En,clickConnectionInProcess:Zn,valid:Ln}=Sc(Jzn(ue,te,d),Ts);ue||(rn=(on=Ee.getState()).onError)==null||rn.call(on,"010",c2.error010());const Vn=Sn=>{const{defaultEdgeOptions:Fn,onConnect:dn,hasDefaultEdges:Gn}=Ee.getState(),Nn={...Fn,...Sn};if(Gn){const{edges:qn,setEdges:Jt,onError:Kt}=Ee.getState();Jt(yzn(Nn,qn,{onError:Kt}))}dn==null||dn(Nn),L==null||L(Nn)},J=Sn=>{if(!ue)return;const Fn=J1n(Sn.nativeEvent);if(M&&(Fn&&Sn.button===0||!Fn)){const dn=Ee.getState();j2e.onPointerDown(Sn.nativeEvent,{handleDomNode:Sn.currentTarget,autoPanOnConnect:dn.autoPanOnConnect,connectionMode:dn.connectionMode,connectionRadius:dn.connectionRadius,domNode:dn.domNode,nodeLookup:dn.nodeLookup,lib:dn.lib,isTarget:X,handleId:te,nodeId:ue,flowId:dn.rfId,panBy:dn.panBy,cancelConnection:dn.cancelConnection,onConnectStart:dn.onConnectStart,onConnectEnd:(...Gn)=>{var Nn,qn;return(qn=(Nn=Ee.getState()).onConnectEnd)==null?void 0:qn.call(Nn,...Gn)},updateConnection:dn.updateConnection,onConnect:Vn,isValidConnection:E||((...Gn)=>{var Nn,qn;return((qn=(Nn=Ee.getState()).isValidConnection)==null?void 0:qn.call(Nn,...Gn))??!0}),getTransform:()=>Ee.getState().transform,getFromHandle:()=>Ee.getState().connection.fromHandle,autoPanSpeed:dn.autoPanSpeed,dragThreshold:dn.connectionDragThreshold})}Fn?Q==null||Q(Sn):Y==null||Y(Sn)},xe=Sn=>{const{onClickConnectStart:Fn,onClickConnectEnd:dn,connectionClickStartHandle:Gn,connectionMode:Nn,isValidConnection:qn,lib:Jt,rfId:Kt,nodeLookup:Oi,connection:gr}=Ee.getState();if(!ue||!Gn&&!M)return;if(!Gn){Fn==null||Fn(Sn.nativeEvent,{nodeId:ue,handleId:te,handleType:d}),Ee.setState({connectionClickStartHandle:{nodeId:ue,type:d,id:te}});return}const Ki=R1n(Sn.target),Kn=E||qn,{connection:ei,isValid:rr}=j2e.isValid(Sn.nativeEvent,{handle:{nodeId:ue,id:te,type:d},connectionMode:Nn,fromNodeId:Gn.nodeId,fromHandleId:Gn.id||null,fromType:Gn.type,isValidConnection:Kn,flowId:Kt,doc:Ki,lib:Jt,nodeLookup:Oi});rr&&ei&&Vn(ei);const cr=structuredClone(gr);delete cr.inProgress,cr.toPosition=cr.toHandle?cr.toHandle.position:null,dn==null||dn(Sn,cr),Ee.setState({connectionClickStartHandle:null})};return de.jsx("div",{"data-handleid":te,"data-nodeid":ue,"data-handlepos":v,"data-id":`${je}-${ue}-${te}-${d}`,className:Kf(["react-flow__handle",`react-flow__handle-${v}`,"nodrag",re,U,{source:!X,target:X,connectable:A,connectablestart:M,connectableend:P,clickconnecting:Ye,connectingfrom:Ke,connectingto:Xe,valid:Ln,connectionindicator:A&&(!En||kn)&&(En||Zn?P:M)}]),onMouseDown:J,onTouchStart:J,onClick:ge?xe:void 0,ref:V,...G,children:H})}const Zb=sn.memo(ldn(Gzn));function Hzn({data:d,isConnectable:v,sourcePosition:E=Ei.Bottom}){return de.jsxs(de.Fragment,{children:[d==null?void 0:d.label,de.jsx(Zb,{type:"source",position:E,isConnectable:v})]})}function qzn({data:d,isConnectable:v,targetPosition:E=Ei.Top,sourcePosition:A=Ei.Bottom}){return de.jsxs(de.Fragment,{children:[de.jsx(Zb,{type:"target",position:E,isConnectable:v}),d==null?void 0:d.label,de.jsx(Zb,{type:"source",position:A,isConnectable:v})]})}function zzn(){return null}function Uzn({data:d,isConnectable:v,targetPosition:E=Ei.Top}){return de.jsxs(de.Fragment,{children:[de.jsx(Zb,{type:"target",position:E,isConnectable:v}),d==null?void 0:d.label]})}const AK={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},Nan={input:Hzn,default:qzn,output:Uzn,group:zzn};function Xzn(d){var v,E,A,M;return d.internals.handleBounds===void 0?{width:d.width??d.initialWidth??((v=d.style)==null?void 0:v.width),height:d.height??d.initialHeight??((E=d.style)==null?void 0:E.height)}:{width:d.width??((A=d.style)==null?void 0:A.width),height:d.height??((M=d.style)==null?void 0:M.height)}}const Kzn=d=>{const{width:v,height:E,x:A,y:M}=Kx(d.nodeLookup,{filter:P=>!!P.selected});return{width:t2(v)?v:null,height:t2(E)?E:null,userSelectionActive:d.userSelectionActive,transformString:`translate(${d.transform[0]}px,${d.transform[1]}px) scale(${d.transform[2]}) translate(${A}px,${M}px)`}};function Wzn({onSelectionContextMenu:d,noPanClassName:v,disableKeyboardA11y:E}){const A=os(),{width:M,height:P,transformString:m,userSelectionActive:L}=Sc(Kzn,Ts),H=bdn(),U=sn.useRef(null);sn.useEffect(()=>{var V;E||(V=U.current)==null||V.focus({preventScroll:!0})},[E]);const Q=!L&&M!==null&&P!==null;if(ddn({nodeRef:U,disabled:!Q}),!Q)return null;const Y=d?V=>{const te=A.getState().nodes.filter(X=>X.selected);d(V,te)}:void 0,G=V=>{Object.prototype.hasOwnProperty.call(AK,V.key)&&(V.preventDefault(),H({direction:AK[V.key],factor:V.shiftKey?4:1}))};return de.jsx("div",{className:Kf(["react-flow__nodesselection","react-flow__container",v]),style:{transform:m},children:de.jsx("div",{ref:U,className:"react-flow__nodesselection-rect",onContextMenu:Y,tabIndex:E?void 0:-1,onKeyDown:E?void 0:G,style:{width:M,height:P}})})}const $an=typeof window<"u"?window:void 0,Vzn=d=>({nodesSelectionActive:d.nodesSelectionActive,userSelectionActive:d.userSelectionActive});function gdn({children:d,onPaneClick:v,onPaneMouseEnter:E,onPaneMouseMove:A,onPaneMouseLeave:M,onPaneContextMenu:P,onPaneScroll:m,paneClickDistance:L,deleteKeyCode:H,selectionKeyCode:U,selectionOnDrag:Q,selectionMode:Y,onSelectionStart:G,onSelectionEnd:V,multiSelectionKeyCode:te,panActivationKeyCode:X,zoomActivationKeyCode:Ee,elementsSelectable:ue,zoomOnScroll:ge,zoomOnPinch:re,panOnScroll:je,panOnScrollSpeed:Ke,panOnScrollMode:Xe,zoomOnDoubleClick:Ye,panOnDrag:kn,autoPanOnSelection:En,defaultViewport:Zn,translateExtent:Ln,minZoom:Vn,maxZoom:J,preventScrolling:xe,onSelectionContextMenu:on,noWheelClassName:rn,noPanClassName:Sn,disableKeyboardA11y:Fn,onViewportChange:dn,isControlledViewport:Gn}){const{nodesSelectionActive:Nn,userSelectionActive:qn}=Sc(Vzn,Ts),Jt=LN(U,{target:$an}),Kt=LN(X,{target:$an}),Oi=Kt||kn,gr=Kt||je,Ki=Q&&Oi!==!0,Kn=Jt||qn||Ki;return Czn({deleteKeyCode:H,multiSelectionKeyCode:te}),de.jsx(Izn,{onPaneContextMenu:P,elementsSelectable:ue,zoomOnScroll:ge,zoomOnPinch:re,panOnScroll:gr,panActivationKeyPressed:Kt,panOnScrollSpeed:Ke,panOnScrollMode:Xe,zoomOnDoubleClick:Ye,panOnDrag:!Jt&&Oi,defaultViewport:Zn,translateExtent:Ln,minZoom:Vn,maxZoom:J,zoomActivationKeyCode:Ee,preventScrolling:xe,noWheelClassName:rn,noPanClassName:Sn,onViewportChange:dn,isControlledViewport:Gn,paneClickDistance:L,selectionOnDrag:Ki,children:de.jsxs($zn,{onSelectionStart:G,onSelectionEnd:V,onPaneClick:v,onPaneMouseEnter:E,onPaneMouseMove:A,onPaneMouseLeave:M,onPaneContextMenu:P,onPaneScroll:m,panOnDrag:Oi,autoPanOnSelection:En,isSelecting:!!Kn,selectionMode:Y,selectionKeyPressed:Jt,paneClickDistance:L,selectionOnDrag:Ki,children:[d,Nn&&de.jsx(Wzn,{onSelectionContextMenu:on,noPanClassName:Sn,disableKeyboardA11y:Fn})]})})}gdn.displayName="FlowRenderer";const Qzn=sn.memo(gdn),Yzn=d=>v=>d?L2e(v.nodeLookup,{x:0,y:0,width:v.width,height:v.height},v.transform,!0).map(E=>E.id):Array.from(v.nodeLookup.keys());function Zzn(d){return Sc(sn.useCallback(Yzn(d),[d]),Ts)}const eUn=d=>d.updateNodeInternals;function nUn(){const d=Sc(eUn),[v]=sn.useState(()=>typeof ResizeObserver>"u"?null:new ResizeObserver(E=>{const A=new Map;E.forEach(M=>{const P=M.target.getAttribute("data-id");A.set(P,{id:P,nodeElement:M.target,force:!0})}),d(A)}));return sn.useEffect(()=>()=>{v==null||v.disconnect()},[v]),v}function tUn({node:d,nodeType:v,hasDimensions:E,resizeObserver:A}){const M=os(),P=sn.useRef(null),m=sn.useRef(null),L=sn.useRef(d.sourcePosition),H=sn.useRef(d.targetPosition),U=sn.useRef(v),Q=E&&!!d.internals.handleBounds;return sn.useEffect(()=>{P.current&&!d.hidden&&(!Q||m.current!==P.current)&&(m.current&&(A==null||A.unobserve(m.current)),A==null||A.observe(P.current),m.current=P.current)},[Q,d.hidden]),sn.useEffect(()=>()=>{m.current&&(A==null||A.unobserve(m.current),m.current=null)},[]),sn.useEffect(()=>{if(P.current){const Y=U.current!==v,G=L.current!==d.sourcePosition,V=H.current!==d.targetPosition;(Y||G||V)&&(U.current=v,L.current=d.sourcePosition,H.current=d.targetPosition,M.getState().updateNodeInternals(new Map([[d.id,{id:d.id,nodeElement:P.current,force:!0}]])))}},[d.id,v,d.sourcePosition,d.targetPosition]),P}function iUn({id:d,onClick:v,onMouseEnter:E,onMouseMove:A,onMouseLeave:M,onContextMenu:P,onDoubleClick:m,nodesDraggable:L,elementsSelectable:H,nodesConnectable:U,nodesFocusable:Q,resizeObserver:Y,noDragClassName:G,noPanClassName:V,disableKeyboardA11y:te,rfId:X,nodeTypes:Ee,nodeClickDistance:ue,onError:ge}){const{node:re,internals:je,isParent:Ke}=Sc(Kn=>{const ei=Kn.nodeLookup.get(d),rr=Kn.parentLookup.has(d);return{node:ei,internals:ei.internals,isParent:rr}},Ts);let Xe=re.type||"default",Ye=(Ee==null?void 0:Ee[Xe])||Nan[Xe];Ye===void 0&&(ge==null||ge("003",c2.error003(Xe)),Xe="default",Ye=(Ee==null?void 0:Ee.default)||Nan.default);const kn=!!(re.draggable||L&&typeof re.draggable>"u"),En=!!(re.selectable||H&&typeof re.selectable>"u"),Zn=!!(re.connectable||U&&typeof re.connectable>"u"),Ln=!!(re.focusable||Q&&typeof re.focusable>"u"),Vn=os(),J=L1n(re),xe=tUn({node:re,nodeType:Xe,hasDimensions:J,resizeObserver:Y}),on=ddn({nodeRef:xe,disabled:re.hidden||!kn,noDragClassName:G,handleSelector:re.dragHandle,nodeId:d,isSelectable:En,nodeClickDistance:ue}),rn=bdn();if(re.hidden)return null;const Sn=o2(re),Fn=Xzn(re),dn=En||kn||v||E||A||M,Gn=E?Kn=>E(Kn,{...je.userNode}):void 0,Nn=A?Kn=>A(Kn,{...je.userNode}):void 0,qn=M?Kn=>M(Kn,{...je.userNode}):void 0,Jt=P?Kn=>P(Kn,{...je.userNode}):void 0,Kt=m?Kn=>m(Kn,{...je.userNode}):void 0,Oi=Kn=>{const{selectNodesOnDrag:ei,nodeDragThreshold:rr}=Vn.getState();En&&(!ei||!kn||rr>0)&&x2e({id:d,store:Vn,nodeRef:xe}),v&&v(Kn,{...je.userNode})},gr=Kn=>{if(!(B1n(Kn.nativeEvent)||te)){if(C1n.includes(Kn.key)&&En){const ei=Kn.key==="Escape";x2e({id:d,store:Vn,unselect:ei,nodeRef:xe})}else if(kn&&re.selected&&Object.prototype.hasOwnProperty.call(AK,Kn.key)){Kn.preventDefault();const{ariaLabelConfig:ei}=Vn.getState();Vn.setState({ariaLiveMessage:ei["node.a11yDescription.ariaLiveMessage"]({direction:Kn.key.replace("Arrow","").toLowerCase(),x:~~je.positionAbsolute.x,y:~~je.positionAbsolute.y})}),rn({direction:AK[Kn.key],factor:Kn.shiftKey?4:1})}}},Ki=()=>{var ri;if(te||!((ri=xe.current)!=null&&ri.matches(":focus-visible")))return;const{transform:Kn,width:ei,height:rr,autoPanOnNodeFocus:cr,setCenter:Bi}=Vn.getState();if(!cr)return;L2e(new Map([[d,re]]),{x:0,y:0,width:ei,height:rr},Kn,!0).length>0||Bi(re.position.x+Sn.width/2,re.position.y+Sn.height/2,{zoom:Kn[2]})};return de.jsx("div",{className:Kf(["react-flow__node",`react-flow__node-${Xe}`,{[V]:kn},re.className,{selected:re.selected,selectable:En,parent:Ke,draggable:kn,dragging:on}]),ref:xe,style:{zIndex:je.z,transform:`translate(${je.positionAbsolute.x}px,${je.positionAbsolute.y}px)`,pointerEvents:dn?"all":"none",visibility:J?"visible":"hidden",...re.style,...Fn},"data-id":d,"data-testid":`rf__node-${d}`,onMouseEnter:Gn,onMouseMove:Nn,onMouseLeave:qn,onContextMenu:Jt,onClick:Oi,onDoubleClick:Kt,onKeyDown:Ln?gr:void 0,tabIndex:Ln?0:void 0,onFocus:Ln?Ki:void 0,role:re.ariaRole??(Ln?"group":void 0),"aria-roledescription":"node","aria-describedby":te?void 0:`${rdn}-${X}`,"aria-label":re.ariaLabel,...re.domAttributes,children:de.jsx(Lzn,{value:d,children:de.jsx(Ye,{id:d,data:re.data,type:Xe,positionAbsoluteX:je.positionAbsolute.x,positionAbsoluteY:je.positionAbsolute.y,selected:re.selected??!1,selectable:En,draggable:kn,deletable:re.deletable??!0,isConnectable:Zn,sourcePosition:re.sourcePosition,targetPosition:re.targetPosition,dragging:on,dragHandle:re.dragHandle,zIndex:je.z,parentId:re.parentId,...Sn})})})}var rUn=sn.memo(iUn);const cUn=d=>({nodesConnectable:d.nodesConnectable,nodesFocusable:d.nodesFocusable,elementsSelectable:d.elementsSelectable,onError:d.onError});function pdn(d){const{nodesConnectable:v,nodesFocusable:E,elementsSelectable:A,onError:M}=Sc(cUn,Ts),P=Zzn(d.onlyRenderVisibleElements),m=nUn();return de.jsx("div",{className:"react-flow__nodes",style:_K,children:P.map(L=>de.jsx(rUn,{id:L,nodeTypes:d.nodeTypes,nodeExtent:d.nodeExtent,onClick:d.onNodeClick,onMouseEnter:d.onNodeMouseEnter,onMouseMove:d.onNodeMouseMove,onMouseLeave:d.onNodeMouseLeave,onContextMenu:d.onNodeContextMenu,onDoubleClick:d.onNodeDoubleClick,noDragClassName:d.noDragClassName,noPanClassName:d.noPanClassName,rfId:d.rfId,disableKeyboardA11y:d.disableKeyboardA11y,resizeObserver:m,nodesDraggable:d.nodesDraggable??!0,nodesConnectable:v,nodesFocusable:E,elementsSelectable:A,nodeClickDistance:d.nodeClickDistance,onError:M},L))})}pdn.displayName="NodeRenderer";const uUn=sn.memo(pdn);function oUn(d){return Sc(sn.useCallback(E=>{if(!d)return E.edges.map(M=>M.id);const A=[];if(E.width&&E.height)for(const M of E.edges){const P=E.nodeLookup.get(M.source),m=E.nodeLookup.get(M.target);P&&m&&oqn({sourceNode:P,targetNode:m,width:E.width,height:E.height,transform:E.transform})&&A.push(M.id)}return A},[d]),Ts)}const sUn=({color:d="none",strokeWidth:v=1})=>{const E={strokeWidth:v,...d&&{stroke:d}};return de.jsx("polyline",{className:"arrow",style:E,strokeLinecap:"round",fill:"none",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4"})},fUn=({color:d="none",strokeWidth:v=1})=>{const E={strokeWidth:v,...d&&{stroke:d,fill:d}};return de.jsx("polyline",{className:"arrowclosed",style:E,strokeLinecap:"round",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4 -5,-4"})},Dan={[NN.Arrow]:sUn,[NN.ArrowClosed]:fUn};function lUn(d){const v=os();return sn.useMemo(()=>{var M,P;return Object.prototype.hasOwnProperty.call(Dan,d)?Dan[d]:((P=(M=v.getState()).onError)==null||P.call(M,"009",c2.error009(d)),null)},[d])}const hUn=({id:d,type:v,color:E,width:A=12.5,height:M=12.5,markerUnits:P="strokeWidth",strokeWidth:m,orient:L="auto-start-reverse"})=>{const H=lUn(v);return H?de.jsx("marker",{className:"react-flow__arrowhead",id:d,markerWidth:`${A}`,markerHeight:`${M}`,viewBox:"-10 -10 20 20",markerUnits:P,orient:L,refX:"0",refY:"0",children:de.jsx(H,{color:E,strokeWidth:m})}):null},mdn=({defaultColor:d,rfId:v})=>{const E=Sc(P=>P.edges),A=Sc(P=>P.defaultEdgeOptions),M=sn.useMemo(()=>wqn(E,{id:v,defaultColor:d,defaultMarkerStart:A==null?void 0:A.markerStart,defaultMarkerEnd:A==null?void 0:A.markerEnd}),[E,A,v,d]);return M.length?de.jsx("svg",{className:"react-flow__marker","aria-hidden":"true",children:de.jsx("defs",{children:M.map(P=>de.jsx(hUn,{id:P.id,type:P.type,color:P.color,width:P.width,height:P.height,markerUnits:P.markerUnits,strokeWidth:P.strokeWidth,orient:P.orient},P.id))})}):null};mdn.displayName="MarkerDefinitions";var aUn=sn.memo(mdn);function vdn({x:d,y:v,label:E,labelStyle:A,labelShowBg:M=!0,labelBgStyle:P,labelBgPadding:m=[2,4],labelBgBorderRadius:L=2,children:H,className:U,...Q}){const[Y,G]=sn.useState({x:1,y:0,width:0,height:0}),V=Kf(["react-flow__edge-textwrapper",U]),te=sn.useRef(null);return sn.useEffect(()=>{if(te.current){const X=te.current.getBBox();G({x:X.x,y:X.y,width:X.width,height:X.height})}},[E]),E?de.jsxs("g",{transform:`translate(${d-Y.width/2} ${v-Y.height/2})`,className:V,visibility:Y.width?"visible":"hidden",...Q,children:[M&&de.jsx("rect",{width:Y.width+2*m[0],x:-m[0],y:-m[1],height:Y.height+2*m[1],className:"react-flow__edge-textbg",style:P,rx:L,ry:L}),de.jsx("text",{className:"react-flow__edge-text",y:Y.height/2,dy:"0.3em",ref:te,style:A,children:E}),H]}):null}vdn.displayName="EdgeText";const dUn=sn.memo(vdn);function bk({path:d,labelX:v,labelY:E,label:A,labelStyle:M,labelShowBg:P,labelBgStyle:m,labelBgPadding:L,labelBgBorderRadius:H,interactionWidth:U=20,...Q}){return de.jsxs(de.Fragment,{children:[de.jsx("path",{...Q,d,fill:"none",className:Kf(["react-flow__edge-path",Q.className])}),U?de.jsx("path",{d,fill:"none",strokeOpacity:0,strokeWidth:U,className:"react-flow__edge-interaction"}):null,A&&t2(v)&&t2(E)?de.jsx(dUn,{x:v,y:E,label:A,labelStyle:M,labelShowBg:P,labelBgStyle:m,labelBgPadding:L,labelBgBorderRadius:H}):null]})}function Lan({pos:d,x1:v,y1:E,x2:A,y2:M}){return d===Ei.Left||d===Ei.Right?[.5*(v+A),E]:[v,.5*(E+M)]}function ydn({sourceX:d,sourceY:v,sourcePosition:E=Ei.Bottom,targetX:A,targetY:M,targetPosition:P=Ei.Top}){const[m,L]=Lan({pos:E,x1:d,y1:v,x2:A,y2:M}),[H,U]=Lan({pos:P,x1:A,y1:M,x2:d,y2:v}),[Q,Y,G,V]=G1n({sourceX:d,sourceY:v,targetX:A,targetY:M,sourceControlX:m,sourceControlY:L,targetControlX:H,targetControlY:U});return[`M${d},${v} C${m},${L} ${H},${U} ${A},${M}`,Q,Y,G,V]}function kdn(d){return sn.memo(({id:v,sourceX:E,sourceY:A,targetX:M,targetY:P,sourcePosition:m,targetPosition:L,label:H,labelStyle:U,labelShowBg:Q,labelBgStyle:Y,labelBgPadding:G,labelBgBorderRadius:V,style:te,markerEnd:X,markerStart:Ee,interactionWidth:ue})=>{const[ge,re,je]=ydn({sourceX:E,sourceY:A,sourcePosition:m,targetX:M,targetY:P,targetPosition:L}),Ke=d.isInternal?void 0:v;return de.jsx(bk,{id:Ke,path:ge,labelX:re,labelY:je,label:H,labelStyle:U,labelShowBg:Q,labelBgStyle:Y,labelBgPadding:G,labelBgBorderRadius:V,style:te,markerEnd:X,markerStart:Ee,interactionWidth:ue})})}const bUn=kdn({isInternal:!1}),Edn=kdn({isInternal:!0});bUn.displayName="SimpleBezierEdge";Edn.displayName="SimpleBezierEdgeInternal";function jdn(d){return sn.memo(({id:v,sourceX:E,sourceY:A,targetX:M,targetY:P,label:m,labelStyle:L,labelShowBg:H,labelBgStyle:U,labelBgPadding:Q,labelBgBorderRadius:Y,style:G,sourcePosition:V=Ei.Bottom,targetPosition:te=Ei.Top,markerEnd:X,markerStart:Ee,pathOptions:ue,interactionWidth:ge})=>{const[re,je,Ke]=y2e({sourceX:E,sourceY:A,sourcePosition:V,targetX:M,targetY:P,targetPosition:te,borderRadius:ue==null?void 0:ue.borderRadius,offset:ue==null?void 0:ue.offset,stepPosition:ue==null?void 0:ue.stepPosition}),Xe=d.isInternal?void 0:v;return de.jsx(bk,{id:Xe,path:re,labelX:je,labelY:Ke,label:m,labelStyle:L,labelShowBg:H,labelBgStyle:U,labelBgPadding:Q,labelBgBorderRadius:Y,style:G,markerEnd:X,markerStart:Ee,interactionWidth:ge})})}const xdn=jdn({isInternal:!1}),Adn=jdn({isInternal:!0});xdn.displayName="SmoothStepEdge";Adn.displayName="SmoothStepEdgeInternal";function Mdn(d){return sn.memo(({id:v,...E})=>{var M;const A=d.isInternal?void 0:v;return de.jsx(xdn,{...E,id:A,pathOptions:sn.useMemo(()=>{var P;return{borderRadius:0,offset:(P=E.pathOptions)==null?void 0:P.offset}},[(M=E.pathOptions)==null?void 0:M.offset])})})}const wUn=Mdn({isInternal:!1}),Cdn=Mdn({isInternal:!0});wUn.displayName="StepEdge";Cdn.displayName="StepEdgeInternal";function Tdn(d){return sn.memo(({id:v,sourceX:E,sourceY:A,targetX:M,targetY:P,label:m,labelStyle:L,labelShowBg:H,labelBgStyle:U,labelBgPadding:Q,labelBgBorderRadius:Y,style:G,markerEnd:V,markerStart:te,interactionWidth:X})=>{const[Ee,ue,ge]=q1n({sourceX:E,sourceY:A,targetX:M,targetY:P}),re=d.isInternal?void 0:v;return de.jsx(bk,{id:re,path:Ee,labelX:ue,labelY:ge,label:m,labelStyle:L,labelShowBg:H,labelBgStyle:U,labelBgPadding:Q,labelBgBorderRadius:Y,style:G,markerEnd:V,markerStart:te,interactionWidth:X})})}const gUn=Tdn({isInternal:!1}),Sdn=Tdn({isInternal:!0});gUn.displayName="StraightEdge";Sdn.displayName="StraightEdgeInternal";function Idn(d){return sn.memo(({id:v,sourceX:E,sourceY:A,targetX:M,targetY:P,sourcePosition:m=Ei.Bottom,targetPosition:L=Ei.Top,label:H,labelStyle:U,labelShowBg:Q,labelBgStyle:Y,labelBgPadding:G,labelBgBorderRadius:V,style:te,markerEnd:X,markerStart:Ee,pathOptions:ue,interactionWidth:ge})=>{const[re,je,Ke]=GN({sourceX:E,sourceY:A,sourcePosition:m,targetX:M,targetY:P,targetPosition:L,curvature:ue==null?void 0:ue.curvature}),Xe=d.isInternal?void 0:v;return de.jsx(bk,{id:Xe,path:re,labelX:je,labelY:Ke,label:H,labelStyle:U,labelShowBg:Q,labelBgStyle:Y,labelBgPadding:G,labelBgBorderRadius:V,style:te,markerEnd:X,markerStart:Ee,interactionWidth:ge})})}const pUn=Idn({isInternal:!1}),Pdn=Idn({isInternal:!0});pUn.displayName="BezierEdge";Pdn.displayName="BezierEdgeInternal";const _an={default:Pdn,straight:Sdn,step:Cdn,smoothstep:Adn,simplebezier:Edn},Fan={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null,zIndex:void 0},mUn=(d,v,E)=>E===Ei.Left?d-v:E===Ei.Right?d+v:d,vUn=(d,v,E)=>E===Ei.Top?d-v:E===Ei.Bottom?d+v:d,Ran="react-flow__edgeupdater";function Ban({position:d,centerX:v,centerY:E,radius:A=10,onMouseDown:M,onMouseEnter:P,onMouseOut:m,type:L}){return de.jsx("circle",{onMouseDown:M,onMouseEnter:P,onMouseOut:m,className:Kf([Ran,`${Ran}-${L}`]),cx:mUn(v,A,d),cy:vUn(E,A,d),r:A,stroke:"transparent",fill:"transparent"})}function yUn({isReconnectable:d,reconnectRadius:v,edge:E,sourceX:A,sourceY:M,targetX:P,targetY:m,sourcePosition:L,targetPosition:H,onReconnect:U,onReconnectStart:Q,onReconnectEnd:Y,setReconnecting:G,setUpdateHover:V}){const te=os(),X=(je,Ke)=>{if(je.button!==0)return;const{autoPanOnConnect:Xe,domNode:Ye,connectionMode:kn,connectionRadius:En,lib:Zn,onConnectStart:Ln,cancelConnection:Vn,nodeLookup:J,rfId:xe,panBy:on,updateConnection:rn}=te.getState(),Sn=Ke.type==="target",Fn=(Nn,qn)=>{G(!1),Y==null||Y(Nn,E,Ke.type,qn)},dn=Nn=>U==null?void 0:U(E,Nn),Gn=(Nn,qn)=>{G(!0),Q==null||Q(je,E,Ke.type),Ln==null||Ln(Nn,qn)};j2e.onPointerDown(je.nativeEvent,{autoPanOnConnect:Xe,connectionMode:kn,connectionRadius:En,domNode:Ye,handleId:Ke.id,nodeId:Ke.nodeId,nodeLookup:J,isTarget:Sn,edgeUpdaterType:Ke.type,lib:Zn,flowId:xe,cancelConnection:Vn,panBy:on,isValidConnection:(...Nn)=>{var qn,Jt;return((Jt=(qn=te.getState()).isValidConnection)==null?void 0:Jt.call(qn,...Nn))??!0},onConnect:dn,onConnectStart:Gn,onConnectEnd:(...Nn)=>{var qn,Jt;return(Jt=(qn=te.getState()).onConnectEnd)==null?void 0:Jt.call(qn,...Nn)},onReconnectEnd:Fn,updateConnection:rn,getTransform:()=>te.getState().transform,getFromHandle:()=>te.getState().connection.fromHandle,dragThreshold:te.getState().connectionDragThreshold,handleDomNode:je.currentTarget})},Ee=je=>X(je,{nodeId:E.target,id:E.targetHandle??null,type:"target"}),ue=je=>X(je,{nodeId:E.source,id:E.sourceHandle??null,type:"source"}),ge=()=>V(!0),re=()=>V(!1);return de.jsxs(de.Fragment,{children:[(d===!0||d==="source")&&de.jsx(Ban,{position:L,centerX:A,centerY:M,radius:v,onMouseDown:Ee,onMouseEnter:ge,onMouseOut:re,type:"source"}),(d===!0||d==="target")&&de.jsx(Ban,{position:H,centerX:P,centerY:m,radius:v,onMouseDown:ue,onMouseEnter:ge,onMouseOut:re,type:"target"})]})}function kUn({id:d,edgesFocusable:v,edgesReconnectable:E,elementsSelectable:A,onClick:M,onDoubleClick:P,onContextMenu:m,onMouseEnter:L,onMouseMove:H,onMouseLeave:U,reconnectRadius:Q,onReconnect:Y,onReconnectStart:G,onReconnectEnd:V,rfId:te,edgeTypes:X,noPanClassName:Ee,onError:ue,disableKeyboardA11y:ge}){let re=Sc(Bi=>Bi.edgeLookup.get(d));const je=Sc(Bi=>Bi.defaultEdgeOptions);re=je?{...je,...re}:re;let Ke=re.type||"default",Xe=(X==null?void 0:X[Ke])||_an[Ke];Xe===void 0&&(ue==null||ue("011",c2.error011(Ke)),Ke="default",Xe=(X==null?void 0:X.default)||_an.default);const Ye=!!(re.focusable||v&&typeof re.focusable>"u"),kn=typeof Y<"u"&&(re.reconnectable||E&&typeof re.reconnectable>"u"),En=!!(re.selectable||A&&typeof re.selectable>"u"),Zn=sn.useRef(null),[Ln,Vn]=sn.useState(!1),[J,xe]=sn.useState(!1),on=os(),{zIndex:rn=re.zIndex,sourceX:Sn,sourceY:Fn,targetX:dn,targetY:Gn,sourcePosition:Nn,targetPosition:qn}=Sc(sn.useCallback(Bi=>{const sr=Bi.nodeLookup.get(re.source),ri=Bi.nodeLookup.get(re.target);if(!sr||!ri)return Fan;const bi=bqn({id:d,sourceNode:sr,targetNode:ri,sourceHandle:re.sourceHandle||null,targetHandle:re.targetHandle||null,connectionMode:Bi.connectionMode,onError:ue}),Ac=uqn({selected:re.selected,zIndex:re.zIndex,sourceNode:sr,targetNode:ri,elevateOnSelect:Bi.elevateEdgesOnSelect,zIndexMode:Bi.zIndexMode});return{...bi||Fan,zIndex:Ac}},[re.source,re.target,re.sourceHandle,re.targetHandle,re.selected,re.zIndex,ue]),Ts),Jt=sn.useMemo(()=>re.markerStart?`url('#${k2e(re.markerStart,te)}')`:void 0,[re.markerStart,te]),Kt=sn.useMemo(()=>re.markerEnd?`url('#${k2e(re.markerEnd,te)}')`:void 0,[re.markerEnd,te]);if(re.hidden||Sn===null||Fn===null||dn===null||Gn===null)return null;const Oi=Bi=>{var Ac;const{addSelectedEdges:sr,unselectNodesAndEdges:ri,multiSelectionActive:bi}=on.getState();En&&(on.setState({nodesSelectionActive:!1}),re.selected&&bi?(ri({nodes:[],edges:[re]}),(Ac=Zn.current)==null||Ac.blur()):sr([d])),M&&M(Bi,re)},gr=P?Bi=>{P(Bi,{...re})}:void 0,Ki=m?Bi=>{m(Bi,{...re})}:void 0,Kn=L?Bi=>{L(Bi,{...re})}:void 0,ei=H?Bi=>{H(Bi,{...re})}:void 0,rr=U?Bi=>{U(Bi,{...re})}:void 0,cr=Bi=>{var sr;if(!ge&&C1n.includes(Bi.key)&&En){const{unselectNodesAndEdges:ri,addSelectedEdges:bi}=on.getState();Bi.key==="Escape"?((sr=Zn.current)==null||sr.blur(),ri({edges:[re]})):bi([d])}};return de.jsx("svg",{style:{zIndex:rn},children:de.jsxs("g",{className:Kf(["react-flow__edge",`react-flow__edge-${Ke}`,re.className,Ee,{selected:re.selected,animated:re.animated,inactive:!En&&!M,updating:Ln,selectable:En}]),onClick:Oi,onDoubleClick:gr,onContextMenu:Ki,onMouseEnter:Kn,onMouseMove:ei,onMouseLeave:rr,onKeyDown:Ye?cr:void 0,tabIndex:Ye?0:void 0,role:re.ariaRole??(Ye?"group":"img"),"aria-roledescription":"edge","data-id":d,"data-testid":`rf__edge-${d}`,"aria-label":re.ariaLabel===null?void 0:re.ariaLabel||`Edge from ${re.source} to ${re.target}`,"aria-describedby":Ye?`${cdn}-${te}`:void 0,ref:Zn,...re.domAttributes,children:[!J&&de.jsx(Xe,{id:d,source:re.source,target:re.target,type:re.type,selected:re.selected,animated:re.animated,selectable:En,deletable:re.deletable??!0,label:re.label,labelStyle:re.labelStyle,labelShowBg:re.labelShowBg,labelBgStyle:re.labelBgStyle,labelBgPadding:re.labelBgPadding,labelBgBorderRadius:re.labelBgBorderRadius,sourceX:Sn,sourceY:Fn,targetX:dn,targetY:Gn,sourcePosition:Nn,targetPosition:qn,data:re.data,style:re.style,sourceHandleId:re.sourceHandle,targetHandleId:re.targetHandle,markerStart:Jt,markerEnd:Kt,pathOptions:"pathOptions"in re?re.pathOptions:void 0,interactionWidth:re.interactionWidth}),kn&&de.jsx(yUn,{edge:re,isReconnectable:kn,reconnectRadius:Q,onReconnect:Y,onReconnectStart:G,onReconnectEnd:V,sourceX:Sn,sourceY:Fn,targetX:dn,targetY:Gn,sourcePosition:Nn,targetPosition:qn,setUpdateHover:Vn,setReconnecting:xe})]})})}var EUn=sn.memo(kUn);const jUn=d=>({edgesFocusable:d.edgesFocusable,edgesReconnectable:d.edgesReconnectable,elementsSelectable:d.elementsSelectable,connectionMode:d.connectionMode,onError:d.onError});function Odn({defaultMarkerColor:d,onlyRenderVisibleElements:v,rfId:E,edgeTypes:A,noPanClassName:M,onReconnect:P,onEdgeContextMenu:m,onEdgeMouseEnter:L,onEdgeMouseMove:H,onEdgeMouseLeave:U,onEdgeClick:Q,reconnectRadius:Y,onEdgeDoubleClick:G,onReconnectStart:V,onReconnectEnd:te,disableKeyboardA11y:X}){const{edgesFocusable:Ee,edgesReconnectable:ue,elementsSelectable:ge,onError:re}=Sc(jUn,Ts),je=oUn(v);return de.jsxs("div",{className:"react-flow__edges",children:[de.jsx(aUn,{defaultColor:d,rfId:E}),je.map(Ke=>de.jsx(EUn,{id:Ke,edgesFocusable:Ee,edgesReconnectable:ue,elementsSelectable:ge,noPanClassName:M,onReconnect:P,onContextMenu:m,onMouseEnter:L,onMouseMove:H,onMouseLeave:U,onClick:Q,reconnectRadius:Y,onDoubleClick:G,onReconnectStart:V,onReconnectEnd:te,rfId:E,onError:re,edgeTypes:A,disableKeyboardA11y:X},Ke))]})}Odn.displayName="EdgeRenderer";const xUn=sn.memo(Odn),Jan=d=>`translate(${d[0]}px,${d[1]}px) scale(${d[2]})`;function AUn({children:d}){const v=os(),E=sn.useRef(null),[A]=sn.useState(()=>v.getState().transform);return hdn(()=>{let M=null;const P=()=>{const m=v.getState().transform;M&&m[0]===M[0]&&m[1]===M[1]&&m[2]===M[2]||(M=m,E.current&&(E.current.style.transform=Jan(m)))};return P(),v.subscribe(P)},[v]),de.jsx("div",{ref:E,className:"react-flow__viewport xyflow__viewport react-flow__container",style:{transform:Jan(A)},children:d})}function MUn(d){const v=LK(),E=sn.useRef(!1);sn.useEffect(()=>{!E.current&&v.viewportInitialized&&d&&(setTimeout(()=>d(v),1),E.current=!0)},[d,v.viewportInitialized])}const CUn=d=>{var v;return(v=d.panZoom)==null?void 0:v.syncViewport};function TUn(d){const v=Sc(CUn),E=os();return sn.useEffect(()=>{d&&(v==null||v(d),E.setState({transform:[d.x,d.y,d.zoom]}))},[d,v]),null}function SUn(d){return d.connection.inProgress?{...d.connection,to:JN(d.connection.to,d.transform)}:{...d.connection}}function IUn(d){return SUn}function PUn(d){const v=IUn();return Sc(v,Ts)}const OUn=d=>({nodesConnectable:d.nodesConnectable,isValid:d.connection.isValid,inProgress:d.connection.inProgress,width:d.width,height:d.height});function NUn({containerStyle:d,style:v,type:E,component:A}){const{nodesConnectable:M,width:P,height:m,isValid:L,inProgress:H}=Sc(OUn,Ts);return!(P&&M&&H)?null:de.jsx("svg",{style:d,width:P,height:m,className:"react-flow__connectionline react-flow__container",children:de.jsx("g",{className:Kf(["react-flow__connection",F1n(L)]),children:de.jsx(Ndn,{style:v,type:E,CustomComponent:A,isValid:L})})})}const Ndn=({style:d,type:v=Q5.Bezier,CustomComponent:E,isValid:A})=>{const{inProgress:M,from:P,fromNode:m,fromHandle:L,fromPosition:H,to:U,toNode:Q,toHandle:Y,toPosition:G,pointer:V}=PUn();if(!M)return;if(E)return de.jsx(E,{connectionLineType:v,connectionLineStyle:d,fromNode:m,fromHandle:L,fromX:P.x,fromY:P.y,toX:U.x,toY:U.y,fromPosition:H,toPosition:G,connectionStatus:F1n(A),toNode:Q,toHandle:Y,pointer:V});let te="";const X={sourceX:P.x,sourceY:P.y,sourcePosition:H,targetX:U.x,targetY:U.y,targetPosition:G};switch(v){case Q5.Bezier:[te]=GN(X);break;case Q5.SimpleBezier:[te]=ydn(X);break;case Q5.Step:[te]=y2e({...X,borderRadius:0});break;case Q5.SmoothStep:[te]=y2e(X);break;default:[te]=q1n(X)}return de.jsx("path",{d:te,fill:"none",className:"react-flow__connection-path",style:d})};Ndn.displayName="ConnectionLine";const $Un={};function Gan(d=$Un){sn.useRef(d),os(),sn.useEffect(()=>{},[d])}function DUn(){os(),sn.useRef(!1),sn.useEffect(()=>{},[])}function $dn({nodeTypes:d,edgeTypes:v,onInit:E,onNodeClick:A,onEdgeClick:M,onNodeDoubleClick:P,onEdgeDoubleClick:m,onNodeMouseEnter:L,onNodeMouseMove:H,onNodeMouseLeave:U,onNodeContextMenu:Q,onSelectionContextMenu:Y,onSelectionStart:G,onSelectionEnd:V,connectionLineType:te,connectionLineStyle:X,connectionLineComponent:Ee,connectionLineContainerStyle:ue,selectionKeyCode:ge,selectionOnDrag:re,selectionMode:je,multiSelectionKeyCode:Ke,panActivationKeyCode:Xe,zoomActivationKeyCode:Ye,deleteKeyCode:kn,onlyRenderVisibleElements:En,elementsSelectable:Zn,defaultViewport:Ln,translateExtent:Vn,minZoom:J,maxZoom:xe,preventScrolling:on,defaultMarkerColor:rn,zoomOnScroll:Sn,zoomOnPinch:Fn,panOnScroll:dn,panOnScrollSpeed:Gn,panOnScrollMode:Nn,zoomOnDoubleClick:qn,panOnDrag:Jt,autoPanOnSelection:Kt,onPaneClick:Oi,onPaneMouseEnter:gr,onPaneMouseMove:Ki,onPaneMouseLeave:Kn,onPaneScroll:ei,onPaneContextMenu:rr,paneClickDistance:cr,nodeClickDistance:Bi,onEdgeContextMenu:sr,onEdgeMouseEnter:ri,onEdgeMouseMove:bi,onEdgeMouseLeave:Ac,reconnectRadius:ku,onReconnect:Pr,onReconnectStart:Ca,onReconnectEnd:zl,noDragClassName:Md,noWheelClassName:ew,noPanClassName:Cd,disableKeyboardA11y:Td,nodeExtent:pr,rfId:Mo,viewport:bo,onViewportChange:v1,nodesDraggable:Up}){return Gan(d),Gan(v),DUn(),MUn(E),TUn(bo),de.jsx(Qzn,{onPaneClick:Oi,onPaneMouseEnter:gr,onPaneMouseMove:Ki,onPaneMouseLeave:Kn,onPaneContextMenu:rr,onPaneScroll:ei,paneClickDistance:cr,deleteKeyCode:kn,selectionKeyCode:ge,selectionOnDrag:re,selectionMode:je,onSelectionStart:G,onSelectionEnd:V,multiSelectionKeyCode:Ke,panActivationKeyCode:Xe,zoomActivationKeyCode:Ye,elementsSelectable:Zn,zoomOnScroll:Sn,zoomOnPinch:Fn,zoomOnDoubleClick:qn,panOnScroll:dn,panOnScrollSpeed:Gn,panOnScrollMode:Nn,panOnDrag:Jt,autoPanOnSelection:Kt,defaultViewport:Ln,translateExtent:Vn,minZoom:J,maxZoom:xe,onSelectionContextMenu:Y,preventScrolling:on,noDragClassName:Md,noWheelClassName:ew,noPanClassName:Cd,disableKeyboardA11y:Td,onViewportChange:v1,isControlledViewport:!!bo,children:de.jsxs(AUn,{children:[de.jsx(xUn,{edgeTypes:v,onEdgeClick:M,onEdgeDoubleClick:m,onReconnect:Pr,onReconnectStart:Ca,onReconnectEnd:zl,onlyRenderVisibleElements:En,onEdgeContextMenu:sr,onEdgeMouseEnter:ri,onEdgeMouseMove:bi,onEdgeMouseLeave:Ac,reconnectRadius:ku,defaultMarkerColor:rn,noPanClassName:Cd,disableKeyboardA11y:Td,rfId:Mo}),de.jsx(NUn,{style:X,type:te,component:Ee,containerStyle:ue}),de.jsx("div",{className:"react-flow__edgelabel-renderer"}),de.jsx(uUn,{nodeTypes:d,onNodeClick:A,onNodeDoubleClick:P,onNodeMouseEnter:L,onNodeMouseMove:H,onNodeMouseLeave:U,onNodeContextMenu:Q,nodeClickDistance:Bi,onlyRenderVisibleElements:En,noPanClassName:Cd,noDragClassName:Md,disableKeyboardA11y:Td,nodeExtent:pr,rfId:Mo,nodesDraggable:Up}),de.jsx("div",{className:"react-flow__viewport-portal"})]})})}$dn.displayName="GraphView";const LUn=sn.memo($dn),_Un=D1n(),Han=({nodes:d,edges:v,defaultNodes:E,defaultEdges:A,width:M,height:P,fitView:m,fitViewOptions:L,minZoom:H=.5,maxZoom:U=2,nodeOrigin:Q,nodeExtent:Y,zIndexMode:G="basic"}={})=>{const V=new Map,te=new Map,X=new Map,Ee=new Map,ue=A??v??[],ge=E??d??[],re=Q??[0,0],je=Y??PN;X1n(X,Ee,ue);const{nodesInitialized:Ke}=E2e(ge,V,te,{nodeOrigin:re,nodeExtent:je,zIndexMode:G});let Xe=[0,0,1];if(m&&M&&P){const Ye=Kx(V,{filter:Ln=>!!((Ln.width||Ln.initialWidth)&&(Ln.height||Ln.initialHeight))}),{x:kn,y:En,zoom:Zn}=F2e(Ye,M,P,H,U,(L==null?void 0:L.padding)??.1);Xe=[kn,En,Zn]}return{rfId:"1",width:M??0,height:P??0,transform:Xe,nodes:ge,nodesInitialized:Ke,nodeLookup:V,parentLookup:te,edges:ue,edgeLookup:Ee,connectionLookup:X,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:E!==void 0,hasDefaultEdges:A!==void 0,panZoom:null,minZoom:H,maxZoom:U,translateExtent:PN,nodeExtent:je,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:qx.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:re,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:m??!1,fitViewOptions:L,fitViewResolver:null,connection:{...S1n},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:_Un,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:T1n,zIndexMode:G,defaultEdgeOptions:void 0,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map,onNodesDelete:void 0,onEdgesDelete:void 0,onDelete:void 0,onBeforeDelete:void 0,onViewportChangeStart:void 0,onViewportChange:void 0,onViewportChangeEnd:void 0,onNodeDragStart:void 0,onNodeDrag:void 0,onNodeDragStop:void 0,onSelectionDragStart:void 0,onSelectionDrag:void 0,onSelectionDragStop:void 0,onMoveStart:void 0,onMove:void 0,onMoveEnd:void 0,onConnect:void 0,onConnectStart:void 0,onConnectEnd:void 0,onClickConnectStart:void 0,onClickConnectEnd:void 0}},FUn=({nodes:d,edges:v,defaultNodes:E,defaultEdges:A,width:M,height:P,fitView:m,fitViewOptions:L,minZoom:H,maxZoom:U,nodeOrigin:Q,nodeExtent:Y,zIndexMode:G})=>Yqn((V,te)=>{async function X(){const{nodeLookup:Ee,panZoom:ue,fitViewOptions:ge,fitViewResolver:re,width:je,height:Ke,minZoom:Xe,maxZoom:Ye}=te();ue&&(await ZHn({nodes:Ee,width:je,height:Ke,panZoom:ue,minZoom:Xe,maxZoom:Ye},ge),re==null||re.resolve(!0),V({fitViewResolver:null}))}return{...Han({nodes:d,edges:v,width:M,height:P,fitView:m,fitViewOptions:L,minZoom:H,maxZoom:U,nodeOrigin:Q,nodeExtent:Y,defaultNodes:E,defaultEdges:A,zIndexMode:G}),setNodes:Ee=>{const{nodeLookup:ue,parentLookup:ge,nodeOrigin:re,nodeExtent:je,elevateNodesOnSelect:Ke,fitViewQueued:Xe,zIndexMode:Ye,nodesSelectionActive:kn}=te(),{nodesInitialized:En,hasSelectedNodes:Zn}=E2e(Ee,ue,ge,{nodeOrigin:re,nodeExtent:je,elevateNodesOnSelect:Ke,checkEquality:!0,zIndexMode:Ye}),Ln=kn&&Zn;Xe&&En?(X(),V({nodes:Ee,nodesInitialized:En,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:Ln})):V({nodes:Ee,nodesInitialized:En,nodesSelectionActive:Ln})},setEdges:Ee=>{const{connectionLookup:ue,edgeLookup:ge}=te();X1n(ue,ge,Ee),V({edges:Ee})},setDefaultNodesAndEdges:(Ee,ue)=>{if(Ee){const{setNodes:ge}=te();ge(Ee),V({hasDefaultNodes:!0})}if(ue){const{setEdges:ge}=te();ge(ue),V({hasDefaultEdges:!0})}},updateNodeInternals:Ee=>{const{triggerNodeChanges:ue,nodeLookup:ge,parentLookup:re,domNode:je,nodeOrigin:Ke,nodeExtent:Xe,debug:Ye,fitViewQueued:kn,zIndexMode:En}=te(),{changes:Zn,updatedInternals:Ln}=jqn(Ee,ge,re,je,Ke,Xe,En);Ln&&(vqn(ge,re,{nodeOrigin:Ke,nodeExtent:Xe,zIndexMode:En}),kn?(X(),V({fitViewQueued:!1,fitViewOptions:void 0})):V({}),(Zn==null?void 0:Zn.length)>0&&(Ye&&console.log("React Flow: trigger node changes",Zn),ue==null||ue(Zn)))},updateNodePositions:(Ee,ue=!1)=>{const ge=[];let re=[];const{nodeLookup:je,triggerNodeChanges:Ke,connection:Xe,updateConnection:Ye,onNodesChangeMiddlewareMap:kn}=te();for(const[En,Zn]of Ee){const Ln=je.get(En),Vn=!!(Ln!=null&&Ln.expandParent&&(Ln!=null&&Ln.parentId)&&(Zn!=null&&Zn.position)),J={id:En,type:"position",position:Vn?{x:Math.max(0,Zn.position.x),y:Math.max(0,Zn.position.y)}:Zn.position,dragging:ue};if(Ln&&Xe.inProgress&&Xe.fromNode.id===Ln.id){const xe=dk(Ln,Xe.fromHandle,Ei.Left,!0);Ye({...Xe,from:xe})}Vn&&Ln.parentId&&ge.push({id:En,parentId:Ln.parentId,rect:{...Zn.internals.positionAbsolute,width:Zn.measured.width??0,height:Zn.measured.height??0}}),re.push(J)}if(ge.length>0){const{parentLookup:En,nodeOrigin:Zn}=te(),Ln=q2e(ge,je,En,Zn);re.push(...Ln)}for(const En of kn.values())re=En(re);Ke(re)},triggerNodeChanges:Ee=>{const{onNodesChange:ue,setNodes:ge,nodes:re,hasDefaultNodes:je,debug:Ke}=te();if(Ee!=null&&Ee.length){if(je){const Xe=sdn(Ee,re);ge(Xe)}Ke&&console.log("React Flow: trigger node changes",Ee),ue==null||ue(Ee)}},triggerEdgeChanges:Ee=>{const{onEdgesChange:ue,setEdges:ge,edges:re,hasDefaultEdges:je,debug:Ke}=te();if(Ee!=null&&Ee.length){if(je){const Xe=fdn(Ee,re);ge(Xe)}Ke&&console.log("React Flow: trigger edge changes",Ee),ue==null||ue(Ee)}},addSelectedNodes:Ee=>{const{multiSelectionActive:ue,edgeLookup:ge,nodeLookup:re,triggerNodeChanges:je,triggerEdgeChanges:Ke}=te();if(ue){const Xe=Ee.map(Ye=>ck(Ye,!0));je(Xe);return}je(Rx(re,new Set([...Ee]),!0)),Ke(Rx(ge))},addSelectedEdges:Ee=>{const{multiSelectionActive:ue,edgeLookup:ge,nodeLookup:re,triggerNodeChanges:je,triggerEdgeChanges:Ke}=te();if(ue){const Xe=Ee.map(Ye=>ck(Ye,!0));Ke(Xe);return}Ke(Rx(ge,new Set([...Ee]))),je(Rx(re,new Set,!0))},unselectNodesAndEdges:({nodes:Ee,edges:ue}={})=>{const{edges:ge,nodes:re,nodeLookup:je,triggerNodeChanges:Ke,triggerEdgeChanges:Xe}=te(),Ye=Ee||re,kn=ue||ge,En=[];for(const Ln of Ye){if(!Ln.selected)continue;const Vn=je.get(Ln.id);Vn&&(Vn.selected=!1),En.push(ck(Ln.id,!1))}const Zn=[];for(const Ln of kn)Ln.selected&&Zn.push(ck(Ln.id,!1));Ke(En),Xe(Zn)},setMinZoom:Ee=>{const{panZoom:ue,maxZoom:ge}=te();ue==null||ue.setScaleExtent([Ee,ge]),V({minZoom:Ee})},setMaxZoom:Ee=>{const{panZoom:ue,minZoom:ge}=te();ue==null||ue.setScaleExtent([ge,Ee]),V({maxZoom:Ee})},setTranslateExtent:Ee=>{var ue;(ue=te().panZoom)==null||ue.setTranslateExtent(Ee),V({translateExtent:Ee})},resetSelectedElements:()=>{const{edges:Ee,nodes:ue,triggerNodeChanges:ge,triggerEdgeChanges:re,elementsSelectable:je}=te();if(!je)return;const Ke=ue.reduce((Ye,kn)=>kn.selected?[...Ye,ck(kn.id,!1)]:Ye,[]),Xe=Ee.reduce((Ye,kn)=>kn.selected?[...Ye,ck(kn.id,!1)]:Ye,[]);ge(Ke),re(Xe)},setNodeExtent:Ee=>{const{nodes:ue,nodeLookup:ge,parentLookup:re,nodeOrigin:je,elevateNodesOnSelect:Ke,nodeExtent:Xe,zIndexMode:Ye}=te();Ee[0][0]===Xe[0][0]&&Ee[0][1]===Xe[0][1]&&Ee[1][0]===Xe[1][0]&&Ee[1][1]===Xe[1][1]||(E2e(ue,ge,re,{nodeOrigin:je,nodeExtent:Ee,elevateNodesOnSelect:Ke,checkEquality:!1,zIndexMode:Ye}),V({nodeExtent:Ee}))},panBy:Ee=>{const{transform:ue,width:ge,height:re,panZoom:je,translateExtent:Ke}=te();return xqn({delta:Ee,panZoom:je,transform:ue,translateExtent:Ke,width:ge,height:re})},setCenter:async(Ee,ue,ge)=>{const{width:re,height:je,maxZoom:Ke,panZoom:Xe}=te();if(!Xe)return!1;const Ye=typeof(ge==null?void 0:ge.zoom)<"u"?ge.zoom:Ke;return await Xe.setViewport({x:re/2-Ee*Ye,y:je/2-ue*Ye,zoom:Ye},{duration:ge==null?void 0:ge.duration,ease:ge==null?void 0:ge.ease,interpolate:ge==null?void 0:ge.interpolate}),!0},cancelConnection:()=>{V({connection:{...S1n}})},updateConnection:Ee=>{V({connection:Ee})},reset:()=>V({...Han()})}},Object.is);function Ddn({initialNodes:d,initialEdges:v,defaultNodes:E,defaultEdges:A,initialWidth:M,initialHeight:P,initialMinZoom:m,initialMaxZoom:L,initialFitViewOptions:H,fitView:U,nodeOrigin:Q,nodeExtent:Y,zIndexMode:G,children:V}){const[te]=sn.useState(()=>FUn({nodes:d,edges:v,defaultNodes:E,defaultEdges:A,width:M,height:P,fitView:U,minZoom:m,maxZoom:L,fitViewOptions:H,nodeOrigin:Q,nodeExtent:Y,zIndexMode:G}));return de.jsx(Zqn,{value:te,children:de.jsx(jzn,{children:de.jsx(Fzn,{children:V})})})}function RUn({children:d,nodes:v,edges:E,defaultNodes:A,defaultEdges:M,width:P,height:m,fitView:L,fitViewOptions:H,minZoom:U,maxZoom:Q,nodeOrigin:Y,nodeExtent:G,zIndexMode:V}){return sn.useContext(DK)?de.jsx(de.Fragment,{children:d}):de.jsx(Ddn,{initialNodes:v,initialEdges:E,defaultNodes:A,defaultEdges:M,initialWidth:P,initialHeight:m,fitView:L,initialFitViewOptions:H,initialMinZoom:U,initialMaxZoom:Q,nodeOrigin:Y,nodeExtent:G,zIndexMode:V,children:d})}const BUn={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0};function JUn({nodes:d,edges:v,defaultNodes:E,defaultEdges:A,className:M,nodeTypes:P,edgeTypes:m,onNodeClick:L,onEdgeClick:H,onInit:U,onMove:Q,onMoveStart:Y,onMoveEnd:G,onConnect:V,onConnectStart:te,onConnectEnd:X,onClickConnectStart:Ee,onClickConnectEnd:ue,onNodeMouseEnter:ge,onNodeMouseMove:re,onNodeMouseLeave:je,onNodeContextMenu:Ke,onNodeDoubleClick:Xe,onNodeDragStart:Ye,onNodeDrag:kn,onNodeDragStop:En,onNodesDelete:Zn,onEdgesDelete:Ln,onDelete:Vn,onSelectionChange:J,onSelectionDragStart:xe,onSelectionDrag:on,onSelectionDragStop:rn,onSelectionContextMenu:Sn,onSelectionStart:Fn,onSelectionEnd:dn,onBeforeDelete:Gn,connectionMode:Nn,connectionLineType:qn=Q5.Bezier,connectionLineStyle:Jt,connectionLineComponent:Kt,connectionLineContainerStyle:Oi,deleteKeyCode:gr="Backspace",selectionKeyCode:Ki="Shift",selectionOnDrag:Kn=!1,selectionMode:ei=ON.Full,panActivationKeyCode:rr="Space",multiSelectionKeyCode:cr=DN()?"Meta":"Control",zoomActivationKeyCode:Bi=DN()?"Meta":"Control",snapToGrid:sr,snapGrid:ri,onlyRenderVisibleElements:bi=!1,selectNodesOnDrag:Ac,nodesDraggable:ku,autoPanOnNodeFocus:Pr,nodesConnectable:Ca,nodesFocusable:zl,nodeOrigin:Md=udn,edgesFocusable:ew,edgesReconnectable:Cd,elementsSelectable:Td=!0,defaultViewport:pr=azn,minZoom:Mo=.5,maxZoom:bo=2,translateExtent:v1=PN,preventScrolling:Up=!0,nodeExtent:wk,defaultMarkerColor:zN="#b1b1b7",zoomOnScroll:UN=!0,zoomOnPinch:XN=!0,panOnScroll:KN=!1,panOnScrollSpeed:WN=.5,panOnScrollMode:VN=sk.Free,zoomOnDoubleClick:QN=!0,panOnDrag:YN=!0,onPaneClick:ZN,onPaneMouseEnter:e$,onPaneMouseMove:n$,onPaneMouseLeave:t$,onPaneScroll:i$,onPaneContextMenu:r$,paneClickDistance:c$=1,nodeClickDistance:u$=0,children:o$,onReconnect:s$,onReconnectStart:f$,onReconnectEnd:l$,onEdgeContextMenu:Y5,onEdgeDoubleClick:Wx,onEdgeMouseEnter:h$,onEdgeMouseMove:gk,onEdgeMouseLeave:a$,reconnectRadius:d$=10,onNodesChange:b$,onEdgesChange:Vx,noDragClassName:w$="nodrag",noWheelClassName:g$="nowheel",noPanClassName:Qx="nopan",fitView:Yx,fitViewOptions:Zx,connectOnClick:p$,attributionPosition:m$,proOptions:v$,defaultEdgeOptions:y$,elevateNodesOnSelect:k$=!0,elevateEdgesOnSelect:E$=!1,disableKeyboardA11y:eA=!1,autoPanOnConnect:j$,autoPanOnNodeDrag:x$,autoPanOnSelection:A$=!0,autoPanSpeed:pk,connectionRadius:M$,isValidConnection:C$,onError:T$,style:S$,id:nA,nodeDragThreshold:I$,connectionDragThreshold:tA,viewport:iA,onViewportChange:P$,width:O$,height:N$,colorMode:$$="light",debug:D$,onScroll:Z5,ariaLabelConfig:L$,zIndexMode:rA="basic",..._$},F$){const mk=nA||"1",R$=gzn($$),B$=sn.useCallback(cA=>{cA.currentTarget.scrollTo({top:0,left:0,behavior:"instant"}),Z5==null||Z5(cA)},[Z5]);return de.jsx("div",{"data-testid":"rf__wrapper",..._$,onScroll:B$,style:{...S$,...BUn},ref:F$,className:Kf(["react-flow",M,R$]),id:nA,role:"application",children:de.jsxs(RUn,{nodes:d,edges:v,width:O$,height:N$,fitView:Yx,fitViewOptions:Zx,minZoom:Mo,maxZoom:bo,nodeOrigin:Md,nodeExtent:wk,zIndexMode:rA,children:[de.jsx(wzn,{nodes:d,edges:v,defaultNodes:E,defaultEdges:A,onConnect:V,onConnectStart:te,onConnectEnd:X,onClickConnectStart:Ee,onClickConnectEnd:ue,nodesDraggable:ku,autoPanOnNodeFocus:Pr,nodesConnectable:Ca,nodesFocusable:zl,edgesFocusable:ew,edgesReconnectable:Cd,elementsSelectable:Td,elevateNodesOnSelect:k$,elevateEdgesOnSelect:E$,minZoom:Mo,maxZoom:bo,nodeExtent:wk,onNodesChange:b$,onEdgesChange:Vx,snapToGrid:sr,snapGrid:ri,connectionMode:Nn,translateExtent:v1,connectOnClick:p$,defaultEdgeOptions:y$,fitView:Yx,fitViewOptions:Zx,onNodesDelete:Zn,onEdgesDelete:Ln,onDelete:Vn,onNodeDragStart:Ye,onNodeDrag:kn,onNodeDragStop:En,onSelectionDrag:on,onSelectionDragStart:xe,onSelectionDragStop:rn,onMove:Q,onMoveStart:Y,onMoveEnd:G,noPanClassName:Qx,nodeOrigin:Md,rfId:mk,autoPanOnConnect:j$,autoPanOnNodeDrag:x$,autoPanSpeed:pk,onError:T$,connectionRadius:M$,isValidConnection:C$,selectNodesOnDrag:Ac,nodeDragThreshold:I$,connectionDragThreshold:tA,onBeforeDelete:Gn,debug:D$,ariaLabelConfig:L$,zIndexMode:rA}),de.jsx(LUn,{onInit:U,onNodeClick:L,onEdgeClick:H,onNodeMouseEnter:ge,onNodeMouseMove:re,onNodeMouseLeave:je,onNodeContextMenu:Ke,onNodeDoubleClick:Xe,nodeTypes:P,edgeTypes:m,connectionLineType:qn,connectionLineStyle:Jt,connectionLineComponent:Kt,connectionLineContainerStyle:Oi,selectionKeyCode:Ki,selectionOnDrag:Kn,selectionMode:ei,deleteKeyCode:gr,multiSelectionKeyCode:cr,panActivationKeyCode:rr,zoomActivationKeyCode:Bi,onlyRenderVisibleElements:bi,defaultViewport:pr,translateExtent:v1,minZoom:Mo,maxZoom:bo,preventScrolling:Up,zoomOnScroll:UN,zoomOnPinch:XN,zoomOnDoubleClick:QN,panOnScroll:KN,panOnScrollSpeed:WN,panOnScrollMode:VN,panOnDrag:YN,autoPanOnSelection:A$,onPaneClick:ZN,onPaneMouseEnter:e$,onPaneMouseMove:n$,onPaneMouseLeave:t$,onPaneScroll:i$,onPaneContextMenu:r$,paneClickDistance:c$,nodeClickDistance:u$,onSelectionContextMenu:Sn,onSelectionStart:Fn,onSelectionEnd:dn,onReconnect:s$,onReconnectStart:f$,onReconnectEnd:l$,onEdgeContextMenu:Y5,onEdgeDoubleClick:Wx,onEdgeMouseEnter:h$,onEdgeMouseMove:gk,onEdgeMouseLeave:a$,reconnectRadius:d$,defaultMarkerColor:zN,noDragClassName:w$,noWheelClassName:g$,noPanClassName:Qx,rfId:mk,disableKeyboardA11y:eA,nodeExtent:wk,viewport:iA,onViewportChange:P$,nodesDraggable:ku}),de.jsx(hzn,{onSelectionChange:J}),o$,de.jsx(uzn,{proOptions:v$,position:m$}),de.jsx(czn,{rfId:mk,disableKeyboardA11y:eA})]})})}var GUn=ldn(JUn);const HUn=d=>{var v;return(v=d.domNode)==null?void 0:v.querySelector(".react-flow__edgelabel-renderer")};function Ldn({children:d}){const v=Sc(HUn);return v?Kan.createPortal(d,v):null}function qUn({dimensions:d,lineWidth:v,variant:E,className:A}){return de.jsx("path",{strokeWidth:v,d:`M${d[0]/2} 0 V${d[1]} M0 ${d[1]/2} H${d[0]}`,className:Kf(["react-flow__background-pattern",E,A])})}function zUn({radius:d,className:v}){return de.jsx("circle",{cx:d,cy:d,r:d,className:Kf(["react-flow__background-pattern","dots",v])})}var V3;(function(d){d.Lines="lines",d.Dots="dots",d.Cross="cross"})(V3||(V3={}));const UUn={[V3.Dots]:1,[V3.Lines]:1,[V3.Cross]:6},XUn=d=>({transform:d.transform,patternId:`pattern-${d.rfId}`});function _dn({id:d,variant:v=V3.Dots,gap:E=20,size:A,lineWidth:M=1,offset:P=0,color:m,bgColor:L,style:H,className:U,patternClassName:Q}){const Y=sn.useRef(null),{transform:G,patternId:V}=Sc(XUn,Ts),te=A||UUn[v],X=v===V3.Dots,Ee=v===V3.Cross,ue=Array.isArray(E)?E:[E,E],ge=[ue[0]*G[2]||1,ue[1]*G[2]||1],re=te*G[2],je=Array.isArray(P)?P:[P,P],Ke=Ee?[re,re]:ge,Xe=[je[0]*G[2]+Ke[0]/2,je[1]*G[2]+Ke[1]/2],Ye=`${V}${d||""}`;return de.jsxs("svg",{className:Kf(["react-flow__background",U]),style:{...H,..._K,"--xy-background-color-props":L,"--xy-background-pattern-color-props":m},ref:Y,"data-testid":"rf__background",children:[de.jsx("pattern",{id:Ye,x:G[0]%ge[0],y:G[1]%ge[1],width:ge[0],height:ge[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${Xe[0]},-${Xe[1]})`,children:X?de.jsx(zUn,{radius:re/2,className:Q}):de.jsx(qUn,{dimensions:Ke,lineWidth:M,variant:v,className:Q})}),de.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${Ye})`})]})}_dn.displayName="Background";const KUn=sn.memo(_dn);function WUn(){return de.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:de.jsx("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function VUn(){return de.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5",children:de.jsx("path",{d:"M0 0h32v4.2H0z"})})}function QUn(){return de.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30",children:de.jsx("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})})}function YUn(){return de.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:de.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function ZUn(){return de.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:de.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}function cK({children:d,className:v,...E}){return de.jsx("button",{type:"button",className:Kf(["react-flow__controls-button",v]),...E,children:d})}const eXn=d=>({isInteractive:d.nodesDraggable||d.nodesConnectable||d.elementsSelectable,minZoomReached:d.transform[2]<=d.minZoom,maxZoomReached:d.transform[2]>=d.maxZoom,ariaLabelConfig:d.ariaLabelConfig});function Fdn({style:d,showZoom:v=!0,showFitView:E=!0,showInteractive:A=!0,fitViewOptions:M,onZoomIn:P,onZoomOut:m,onFitView:L,onInteractiveChange:H,className:U,children:Q,position:Y="bottom-left",orientation:G="vertical","aria-label":V}){const te=os(),{isInteractive:X,minZoomReached:Ee,maxZoomReached:ue,ariaLabelConfig:ge}=Sc(eXn,Ts),{zoomIn:re,zoomOut:je,fitView:Ke}=LK(),Xe=()=>{re(),P==null||P()},Ye=()=>{je(),m==null||m()},kn=()=>{Ke(M),L==null||L()},En=()=>{te.setState({nodesDraggable:!X,nodesConnectable:!X,elementsSelectable:!X}),H==null||H(!X)},Zn=G==="horizontal"?"horizontal":"vertical";return de.jsxs(HN,{className:Kf(["react-flow__controls",Zn,U]),position:Y,style:d,"data-testid":"rf__controls","aria-label":V??ge["controls.ariaLabel"],children:[v&&de.jsxs(de.Fragment,{children:[de.jsx(cK,{onClick:Xe,className:"react-flow__controls-zoomin",title:ge["controls.zoomIn.ariaLabel"],"aria-label":ge["controls.zoomIn.ariaLabel"],disabled:ue,children:de.jsx(WUn,{})}),de.jsx(cK,{onClick:Ye,className:"react-flow__controls-zoomout",title:ge["controls.zoomOut.ariaLabel"],"aria-label":ge["controls.zoomOut.ariaLabel"],disabled:Ee,children:de.jsx(VUn,{})})]}),E&&de.jsx(cK,{className:"react-flow__controls-fitview",onClick:kn,title:ge["controls.fitView.ariaLabel"],"aria-label":ge["controls.fitView.ariaLabel"],children:de.jsx(QUn,{})}),A&&de.jsx(cK,{className:"react-flow__controls-interactive",onClick:En,title:ge["controls.interactive.ariaLabel"],"aria-label":ge["controls.interactive.ariaLabel"],children:X?de.jsx(ZUn,{}):de.jsx(YUn,{})}),Q]})}Fdn.displayName="Controls";const nXn=sn.memo(Fdn);function tXn({id:d,x:v,y:E,width:A,height:M,style:P,color:m,strokeColor:L,strokeWidth:H,className:U,borderRadius:Q,shapeRendering:Y,selected:G,onClick:V}){const{background:te,backgroundColor:X}=P||{},Ee=m||te||X;return de.jsx("rect",{className:Kf(["react-flow__minimap-node",{selected:G},U]),x:v,y:E,rx:Q,ry:Q,width:A,height:M,style:{fill:Ee,stroke:L,strokeWidth:H},shapeRendering:Y,onClick:V?ue=>V(ue,d):void 0})}const iXn=sn.memo(tXn),rXn=d=>d.nodes.map(v=>v.id),f2e=d=>d instanceof Function?d:()=>d;function cXn({nodeStrokeColor:d,nodeColor:v,nodeClassName:E="",nodeBorderRadius:A=5,nodeStrokeWidth:M,nodeComponent:P=iXn,onClick:m}){const L=Sc(rXn,Ts),H=f2e(v),U=f2e(d),Q=f2e(E),Y=typeof window>"u"||window.chrome?"crispEdges":"geometricPrecision";return de.jsx(de.Fragment,{children:L.map(G=>de.jsx(oXn,{id:G,nodeColorFunc:H,nodeStrokeColorFunc:U,nodeClassNameFunc:Q,nodeBorderRadius:A,nodeStrokeWidth:M,NodeComponent:P,onClick:m,shapeRendering:Y},G))})}function uXn({id:d,nodeColorFunc:v,nodeStrokeColorFunc:E,nodeClassNameFunc:A,nodeBorderRadius:M,nodeStrokeWidth:P,shapeRendering:m,NodeComponent:L,onClick:H}){const{node:U,x:Q,y:Y,width:G,height:V}=Sc(te=>{const X=te.nodeLookup.get(d);if(!X)return{node:void 0,x:0,y:0,width:0,height:0};const Ee=X.internals.userNode,{x:ue,y:ge}=X.internals.positionAbsolute,{width:re,height:je}=o2(Ee);return{node:Ee,x:ue,y:ge,width:re,height:je}},Ts);return!U||U.hidden||!L1n(U)?null:de.jsx(L,{x:Q,y:Y,width:G,height:V,style:U.style,selected:!!U.selected,className:A(U),color:v(U),borderRadius:M,strokeColor:E(U),strokeWidth:P,shapeRendering:m,onClick:H,id:U.id})}const oXn=sn.memo(uXn);var sXn=sn.memo(cXn);const fXn=200,lXn=150,hXn=d=>!d.hidden,aXn=d=>{const v={x:-d.transform[0]/d.transform[2],y:-d.transform[1]/d.transform[2],width:d.width/d.transform[2],height:d.height/d.transform[2]};let E=!1;for(const A of d.nodeLookup.values())if(!A.hidden){E=!0;break}return{viewBB:v,boundingRect:E?N1n(Kx(d.nodeLookup,{filter:hXn}),v):v,rfId:d.rfId,panZoom:d.panZoom,translateExtent:d.translateExtent,flowWidth:d.width,flowHeight:d.height,ariaLabelConfig:d.ariaLabelConfig}},qan=(d,v)=>d.x===v.x&&d.y===v.y&&d.width===v.width&&d.height===v.height,dXn=(d,v)=>qan(d.viewBB,v.viewBB)&&qan(d.boundingRect,v.boundingRect)&&d.rfId===v.rfId&&d.panZoom===v.panZoom&&d.translateExtent===v.translateExtent&&d.flowWidth===v.flowWidth&&d.flowHeight===v.flowHeight&&d.ariaLabelConfig===v.ariaLabelConfig,bXn="react-flow__minimap-desc";function Rdn({style:d,className:v,nodeStrokeColor:E,nodeColor:A,nodeClassName:M="",nodeBorderRadius:P=5,nodeStrokeWidth:m,nodeComponent:L,bgColor:H,maskColor:U,maskStrokeColor:Q,maskStrokeWidth:Y,position:G="bottom-right",onClick:V,onNodeClick:te,pannable:X=!1,zoomable:Ee=!1,ariaLabel:ue,inversePan:ge,zoomStep:re=1,offsetScale:je=5}){const Ke=os(),Xe=sn.useRef(null),{boundingRect:Ye,panZoom:kn,viewBB:En,rfId:Zn,translateExtent:Ln,flowWidth:Vn,flowHeight:J,ariaLabelConfig:xe}=Sc(aXn,dXn),on=(d==null?void 0:d.width)??fXn,rn=(d==null?void 0:d.height)??lXn,Sn=Ye.width/on,Fn=Ye.height/rn,dn=Math.max(Sn,Fn),Gn=dn*on,Nn=dn*rn,qn=je*dn,Jt=Ye.x-(Gn-Ye.width)/2-qn,Kt=Ye.y-(Nn-Ye.height)/2-qn,Oi=Gn+qn*2,gr=Nn+qn*2,Ki=`${bXn}-${Zn}`,Kn=sn.useRef(0),ei=sn.useRef();Kn.current=dn,sn.useEffect(()=>{const ri=Ke.getState().panZoom;if(Xe.current&&ri)return ei.current=Nqn({domNode:Xe.current,panZoom:ri,getTransform:()=>Ke.getState().transform,getViewScale:()=>Kn.current}),()=>{var bi;(bi=ei.current)==null||bi.destroy()}},[kn]),sn.useEffect(()=>{var ri;(ri=ei.current)==null||ri.update({translateExtent:Ln,width:Vn,height:J,inversePan:ge,pannable:X,zoomStep:re,zoomable:Ee})},[X,Ee,ge,re,Ln,Vn,J]);const rr=V?ri=>{var ku;const[bi,Ac]=((ku=ei.current)==null?void 0:ku.pointer(ri))||[0,0];V(ri,{x:bi,y:Ac})}:void 0,cr=sn.useCallback((ri,bi)=>{const Ac=Ke.getState().nodeLookup.get(bi).internals.userNode;te==null||te(ri,Ac)},[te]),Bi=te?cr:void 0,sr=ue??xe["minimap.ariaLabel"];return de.jsx(HN,{position:G,style:{...d,"--xy-minimap-background-color-props":typeof H=="string"?H:void 0,"--xy-minimap-mask-background-color-props":typeof U=="string"?U:void 0,"--xy-minimap-mask-stroke-color-props":typeof Q=="string"?Q:void 0,"--xy-minimap-mask-stroke-width-props":typeof Y=="number"?Y*dn:void 0,"--xy-minimap-node-background-color-props":typeof A=="string"?A:void 0,"--xy-minimap-node-stroke-color-props":typeof E=="string"?E:void 0,"--xy-minimap-node-stroke-width-props":typeof m=="number"?m:void 0},className:Kf(["react-flow__minimap",v]),"data-testid":"rf__minimap",children:de.jsxs("svg",{width:on,height:rn,viewBox:`${Jt} ${Kt} ${Oi} ${gr}`,className:"react-flow__minimap-svg",role:"img","aria-labelledby":Ki,ref:Xe,onClick:rr,children:[sr&&de.jsx("title",{id:Ki,children:sr}),de.jsx(sXn,{onClick:Bi,nodeColor:A,nodeStrokeColor:E,nodeBorderRadius:P,nodeClassName:M,nodeStrokeWidth:m,nodeComponent:L}),de.jsx("path",{className:"react-flow__minimap-mask",d:`M${Jt-qn},${Kt-qn}h${Oi+qn*2}v${gr+qn*2}h${-Oi-qn*2}z
|
|
7
|
-
M${En.x},${En.y}h${En.width}v${En.height}h${-En.width}z`,fillRule:"evenodd",pointerEvents:"none"})]})})}Rdn.displayName="MiniMap";const wXn=sn.memo(Rdn),gXn=d=>v=>d?`${Math.max(1/v.transform[2],1)}`:void 0,pXn={[Xx.Line]:"right",[Xx.Handle]:"bottom-right"};function mXn({nodeId:d,position:v,variant:E=Xx.Handle,className:A,style:M=void 0,children:P,color:m,minWidth:L=10,minHeight:H=10,maxWidth:U=Number.MAX_VALUE,maxHeight:Q=Number.MAX_VALUE,keepAspectRatio:Y=!1,resizeDirection:G,autoScale:V=!0,shouldResize:te,onResizeStart:X,onResize:Ee,onResizeEnd:ue}){const ge=U2e(),re=typeof d=="string"?d:ge,je=os(),Ke=sn.useRef(null),Xe=E===Xx.Handle,Ye=Sc(sn.useCallback(gXn(Xe&&V),[Xe,V]),Ts),kn=sn.useRef(null),En=v??pXn[E];sn.useEffect(()=>{if(!(!Ke.current||!re))return kn.current||(kn.current=Uqn({domNode:Ke.current,nodeId:re,getStoreItems:()=>{const{nodeLookup:Ln,transform:Vn,snapGrid:J,snapToGrid:xe,nodeOrigin:on,domNode:rn}=je.getState();return{nodeLookup:Ln,transform:Vn,snapGrid:J,snapToGrid:xe,nodeOrigin:on,paneDomNode:rn}},onChange:(Ln,Vn)=>{const{triggerNodeChanges:J,nodeLookup:xe,parentLookup:on,nodeOrigin:rn}=je.getState(),Sn=[],Fn={x:Ln.x,y:Ln.y},dn=xe.get(re);if(dn&&dn.expandParent&&dn.parentId){const Gn=dn.origin??rn,Nn=Ln.width??dn.measured.width??0,qn=Ln.height??dn.measured.height??0,Jt={id:dn.id,parentId:dn.parentId,rect:{width:Nn,height:qn,..._1n({x:Ln.x??dn.position.x,y:Ln.y??dn.position.y},{width:Nn,height:qn},dn.parentId,xe,Gn)}},Kt=q2e([Jt],xe,on,rn);Sn.push(...Kt),Fn.x=Ln.x?Math.max(Gn[0]*Nn,Ln.x):void 0,Fn.y=Ln.y?Math.max(Gn[1]*qn,Ln.y):void 0}if(Fn.x!==void 0&&Fn.y!==void 0){const Gn={id:re,type:"position",position:{...Fn}};Sn.push(Gn)}if(Ln.width!==void 0&&Ln.height!==void 0){const Nn={id:re,type:"dimensions",resizing:!0,setAttributes:G?G==="horizontal"?"width":"height":!0,dimensions:{width:Ln.width,height:Ln.height}};Sn.push(Nn)}for(const Gn of Vn){const Nn={...Gn,type:"position"};Sn.push(Nn)}J(Sn)},onEnd:({width:Ln,height:Vn})=>{const J={id:re,type:"dimensions",resizing:!1,dimensions:{width:Ln,height:Vn}};je.getState().triggerNodeChanges([J])}})),kn.current.update({controlPosition:En,boundaries:{minWidth:L,minHeight:H,maxWidth:U,maxHeight:Q},keepAspectRatio:Y,resizeDirection:G,onResizeStart:X,onResize:Ee,onResizeEnd:ue,shouldResize:te}),()=>{var Ln;(Ln=kn.current)==null||Ln.destroy()}},[En,L,H,U,Q,Y,X,Ee,ue,te]);const Zn=En.split("-");return de.jsx("div",{className:Kf(["react-flow__resize-control","nodrag",...Zn,E,A]),ref:Ke,style:{...M,scale:Ye,...m&&{[Xe?"backgroundColor":"borderColor"]:m}},children:P})}sn.memo(mXn);const vXn=d=>{var v;return(v=d.domNode)==null?void 0:v.querySelector(".react-flow__renderer")};function yXn({children:d}){const v=Sc(vXn);return v?Kan.createPortal(d,v):null}const kXn=(d,v)=>(d==null?void 0:d.internals.positionAbsolute.x)!==(v==null?void 0:v.internals.positionAbsolute.x)||(d==null?void 0:d.internals.positionAbsolute.y)!==(v==null?void 0:v.internals.positionAbsolute.y)||(d==null?void 0:d.measured.width)!==(v==null?void 0:v.measured.width)||(d==null?void 0:d.measured.height)!==(v==null?void 0:v.measured.height)||(d==null?void 0:d.selected)!==(v==null?void 0:v.selected)||(d==null?void 0:d.internals.z)!==(v==null?void 0:v.internals.z),EXn=(d,v)=>{if(d.size!==v.size)return!1;for(const[E,A]of d)if(kXn(A,v.get(E)))return!1;return!0},jXn=d=>({x:d.transform[0],y:d.transform[1],zoom:d.transform[2],selectedNodesCount:d.nodes.filter(v=>v.selected).length});function xXn({nodeId:d,children:v,className:E,style:A,isVisible:M,position:P=Ei.Top,offset:m=10,align:L="center",...H}){var Ke;const U=U2e(),Q=sn.useCallback(Xe=>(Array.isArray(d)?d:[d||U||""]).reduce((En,Zn)=>{const Ln=Xe.nodeLookup.get(Zn);return Ln&&En.set(Ln.id,Ln),En},new Map),[d,U]),Y=Sc(Q,EXn),{x:G,y:V,zoom:te,selectedNodesCount:X}=Sc(jXn,Ts);if(!(typeof M=="boolean"?M:Y.size===1&&((Ke=Y.values().next().value)==null?void 0:Ke.selected)&&X===1)||!Y.size)return null;const ue=Kx(Y),ge=Array.from(Y.values()),re=Math.max(...ge.map(Xe=>Xe.internals.z+1)),je={position:"absolute",transform:gqn(ue,{x:G,y:V,zoom:te},P,m,L),zIndex:re,...A};return de.jsx(yXn,{children:de.jsx("div",{style:je,className:Kf(["react-flow__node-toolbar",E]),...H,"data-id":ge.reduce((Xe,Ye)=>`${Xe}${Ye.id} `,"").trim(),children:v})})}function qN(){const[d,v]=sn.useState(()=>typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)").matches:!1);return sn.useEffect(()=>{const E=window.matchMedia("(prefers-reduced-motion: reduce)"),A=M=>v(M.matches);return E.addEventListener("change",A),()=>E.removeEventListener("change",A)},[]),d}const AXn=.6,MXn=1.2;function CXn(d){return d<AXn?"compact":d>MXn?"expanded":"default"}function Bdn(){return Sc(d=>CXn(d.transform[2]))}function X2e(d){return d.color??d.namespaceColor??void 0}const TXn=.2,SXn=.25,IXn={compact:120,default:200,expanded:240};function Jdn({status:d}){return de.jsx("span",{"aria-hidden":!0,title:wK[d].label,className:r2("size-1.5 shrink-0 rounded-full",wK[d].dot)})}function Gdn({d}){const v=Math.max(0,d.capabilities.length-3);return de.jsxs(de.Fragment,{children:[de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx(Van,{color:d.avatarColor,emoji:d.emoji,size:"sm"}),de.jsx("span",{className:"text-foreground truncate text-sm font-medium",children:d.label}),de.jsx(Jdn,{status:d.healthStatus})]}),de.jsxs("div",{className:"mt-1 flex flex-wrap gap-1",children:[de.jsx(jN,{size:"xs",variant:"secondary",children:d.runtime}),d.capabilities.slice(0,3).map(E=>de.jsx(jN,{size:"xs",variant:"outline",children:E},E)),v>0&&de.jsxs(jN,{size:"xs",tone:"neutral",variant:"outline",children:["+",v]})]})]})}function PXn({d,selected:v}){const E=X2e(d);return de.jsxs("div",{className:r2("bg-card flex w-[120px] items-center gap-1.5 rounded-full border px-2 py-0.5 shadow-sm",v&&"ring-primary ring-2"),style:E?{borderLeft:`3px solid ${E}`}:void 0,children:[de.jsx(Zb,{type:"target",position:Ei.Left,className:"bg-muted-foreground!"}),de.jsx(Van,{color:d.avatarColor,emoji:d.emoji,size:"xs"}),de.jsx("span",{className:"text-foreground truncate text-xs font-medium",children:d.label}),de.jsx(Jdn,{status:d.healthStatus}),de.jsx(Zb,{type:"source",position:Ei.Right,className:"bg-muted-foreground!"})]})}function OXn({d,selected:v}){const E=X2e(d),A=d.relayAdapters&&d.relayAdapters.length>0,M=d.taskCount!=null&&d.taskCount>0;return de.jsxs("div",{className:r2("bg-card w-[200px] rounded-lg border px-3 py-2 shadow-sm hover:shadow-md",v&&"ring-primary ring-2"),style:E?{borderLeft:`3px solid ${E}`}:void 0,children:[de.jsx(Zb,{type:"target",position:Ei.Left,className:"bg-muted-foreground!"}),de.jsx(Gdn,{d}),(A||M)&&de.jsxs("div",{className:"text-muted-foreground mt-1.5 flex items-center gap-2",children:[A&&de.jsx(M2e,{className:"size-3"}),M&&de.jsxs("span",{className:"flex items-center gap-0.5",children:[de.jsx(C2e,{className:"size-3"}),de.jsx("span",{className:"text-3xs",children:d.taskCount})]})]}),de.jsx(Zb,{type:"source",position:Ei.Right,className:"bg-muted-foreground!"})]})}function NXn({d,selected:v}){const E=X2e(d),A=d.relayAdapters&&d.relayAdapters.length>0,M=d.taskCount!=null&&d.taskCount>0;return de.jsxs("div",{className:r2("bg-card w-[240px] rounded-lg border px-3 py-2 shadow-sm hover:shadow-md",v&&"ring-primary ring-2"),style:E?{borderLeft:`3px solid ${E}`}:void 0,children:[de.jsx(Zb,{type:"target",position:Ei.Left,className:"bg-muted-foreground!"}),de.jsx(Gdn,{d}),d.description&&de.jsx("p",{className:"text-muted-foreground mt-1.5 line-clamp-2 text-xs",children:d.description}),(A||M)&&de.jsxs("div",{className:"text-muted-foreground mt-1.5 flex flex-wrap items-center gap-2",children:[A&&d.relayAdapters.map(P=>de.jsxs("span",{className:"flex items-center gap-0.5",children:[de.jsx(M2e,{className:"size-3"}),de.jsx("span",{className:"text-3xs",children:P})]},P)),M&&de.jsxs("span",{className:"flex items-center gap-0.5",children:[de.jsx(C2e,{className:"size-3"}),de.jsx("span",{className:"text-3xs",children:d.taskCount})]})]}),de.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[d.lastSeenAt&&de.jsx("span",{className:"text-muted-foreground text-3xs",children:LRn(d.lastSeenAt)}),d.behavior&&de.jsx(jN,{size:"xs",variant:"outline",children:d.behavior.responseMode})]}),de.jsx(Zb,{type:"source",position:Ei.Right,className:"bg-muted-foreground!"})]})}function uK({icon:d,label:v,onClick:E}){return de.jsx(Wan,{variant:"ghost",size:"icon-xs",onClick:E,title:v,"aria-label":v,className:"text-muted-foreground hover:text-foreground",children:de.jsx(d,{})})}function $Xn({data:d,selected:v,id:E}){const A=d,M=Bdn(),P=qN(),{copy:m}=ORn({toastOnSettle:!0}),L=sn.useCallback(()=>void m(E),[m,E]),H=de.jsx(xXn,{position:Ei.Top,isVisible:v,children:de.jsxs("div",{className:"bg-card flex items-center gap-0.5 rounded-lg border px-1 py-0.5 shadow-md",children:[A.onViewProfile&&de.jsx(uK,{icon:NRn,label:"View profile",onClick:()=>{var Y;return(Y=A.onViewProfile)==null?void 0:Y.call(A,E)}}),A.onSelectAgent&&de.jsx(uK,{icon:hBn,label:"Health",onClick:()=>{var Y;return(Y=A.onSelectAgent)==null?void 0:Y.call(A,E)}}),de.jsx(uK,{icon:$Rn,label:"Copy ID",onClick:L}),A.onOpenChat&&A.projectPath&&de.jsx(uK,{icon:DRn,label:"Chat",onClick:()=>{var Y;return(Y=A.onOpenChat)==null?void 0:Y.call(A,E,A.projectPath??"")}})]})}),U=`Agent: ${A.label}, status ${A.healthStatus}`;let Q;return M==="compact"?Q=de.jsx(PXn,{d:A,selected:v}):M==="expanded"?Q=de.jsx(NXn,{d:A,selected:v}):Q=de.jsx(OXn,{d:A,selected:v}),de.jsxs("div",{"aria-label":U,children:[H,de.jsx(MN.div,{animate:{width:IXn[M]},transition:{width:{duration:P?0:SXn,ease:"easeInOut"}},children:de.jsx(A2e,{mode:"popLayout",initial:!1,children:de.jsx(MN.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:P?0:TXn},children:Q},M)})})]})}const DXn=sn.memo($Xn),K2e=200,Hdn=100,LXn=.2,_Xn=.25,FXn={compact:120,default:K2e},RXn={running:e2e.connected,stopped:e2e.disconnected,error:e2e.error};function qdn({adapterType:d}){return de.jsx(aBn,{adapterType:d,size:16,className:"text-muted-foreground shrink-0"})}function BXn(d){return RXn[d]}function JXn({d,statusColor:v,selected:E}){return de.jsxs("div",{className:r2("bg-card flex w-[120px] items-center gap-1.5 rounded-full border px-2.5 py-1 shadow-sm",E&&"ring-primary ring-2"),"aria-label":`Platform: ${d.adapterName}, status ${d.adapterStatus}`,children:[de.jsx(Zb,{type:"source",position:Ei.Right,isConnectable:!0}),de.jsx("span",{className:r2("size-2 shrink-0 rounded-full",v)}),de.jsx(qdn,{adapterType:d.adapterType}),de.jsx("span",{className:"text-foreground truncate text-xs font-medium",children:d.label||d.adapterName})]})}function GXn({d,statusColor:v,selected:E}){return de.jsxs("div",{className:r2("bg-card shadow-soft rounded-xl border p-4 hover:shadow-md",E&&"ring-primary ring-2"),style:{width:K2e,minHeight:Hdn},"aria-label":`Platform: ${d.adapterName}, status ${d.adapterStatus}`,children:[de.jsx(Zb,{type:"source",position:Ei.Right,isConnectable:!0}),de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx("span",{className:r2("size-2.5 shrink-0 rounded-full",v)}),de.jsx(qdn,{adapterType:d.adapterType}),de.jsxs("div",{className:"flex min-w-0 flex-col",children:[de.jsx("span",{className:"text-foreground truncate text-sm font-medium",children:d.label||d.adapterName}),d.label&&de.jsx("span",{className:"text-muted-foreground truncate text-xs",children:d.adapterName})]})]}),de.jsxs("div",{className:"mt-2 flex items-center justify-between",children:[de.jsx("span",{className:"text-muted-foreground text-xs capitalize",children:d.adapterType}),d.bindingCount>0&&de.jsxs(jN,{variant:"secondary",children:[d.bindingCount," ",d.bindingCount===1?"connection":"connections"]})]})]})}function HXn({data:d,selected:v}){const E=d,A=BXn(E.adapterStatus),M=Bdn(),P=qN();if(E.isGhost)return de.jsxs("div",{className:"border-muted-foreground/30 bg-card/40 focus-ring flex items-center gap-2 rounded-lg border border-dashed px-3 py-2 opacity-40 transition-opacity hover:opacity-70",style:{width:K2e,height:Hdn},onClick:E.onGhostClick,onKeyDown:H=>{var U;(H.key==="Enter"||H.key===" ")&&(H.preventDefault(),(U=E.onGhostClick)==null||U.call(E))},role:"button",tabIndex:0,"aria-label":"Add a platform",children:[de.jsx(_Rn,{className:"text-muted-foreground size-4"}),de.jsx("span",{className:"text-muted-foreground text-sm",children:"Add a platform"})]});const m=M==="compact"?de.jsx(JXn,{d:E,statusColor:A,selected:v}):de.jsx(GXn,{d:E,statusColor:A,selected:v}),L=M==="compact"?"compact":"default";return de.jsx(MN.div,{animate:{width:FXn[L]},transition:{width:{duration:P?0:_Xn,ease:"easeInOut"}},children:de.jsx(A2e,{mode:"popLayout",initial:!1,children:de.jsx(MN.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:P?0:LXn},children:m},L)})})}const qXn=sn.memo(HXn),zXn=.5,UXn=24,XXn=800;let zan=0;const MK=FRn((d,v)=>({activity:{},pulse:(E,A)=>{const{activity:M}=v();M[E]||Object.keys(M).length>=UXn||(zan+=1,d({activity:{...M,[E]:{direction:A,nonce:zan}}}))},clear:E=>{const{activity:A}=v();if(!(E in A))return;const M={...A};delete M[E],d({activity:M})},reset:()=>d({activity:{}})})),KXn=d=>d.transform[2];function WXn(d){return d!=null&&d.label?d.label:d!=null&&d.sessionStrategy?dBn(d.sessionStrategy):"Connection"}function VXn({id:d,sourceX:v,sourceY:E,targetX:A,targetY:M,sourcePosition:P,targetPosition:m,data:L,selected:H}){const U=L,Q=Sc(KXn),[Y,G]=sn.useState(!1),[V,te,X]=GN({sourceX:v,sourceY:E,targetX:A,targetY:M,sourcePosition:P,targetPosition:m}),Ee=WXn(U),ue=(Y||H)&&Q>=.7,ge=MK(Ye=>Ye.activity[d]),re=MK(Ye=>Ye.clear),je=qN(),Ke=!!ge&&!je&&Q>=zXn;sn.useEffect(()=>{ge&&!Ke&&re(d)},[ge,Ke,re,d]);function Xe(Ye){var kn;Ye.stopPropagation(),(kn=U==null?void 0:U.onDelete)==null||kn.call(U,d)}return de.jsxs(de.Fragment,{children:[de.jsx("path",{d:V,fill:"none",stroke:"transparent",strokeWidth:12,onMouseEnter:()=>G(!0),onMouseLeave:()=>G(!1)}),de.jsx(bk,{id:d,path:V,className:r2("transition-colors duration-150",H?"stroke-primary stroke-2":"stroke-primary/60 stroke-2")}),de.jsx(A2e,{children:Ke&&de.jsx(MN.circle,{r:3,className:"fill-primary",style:{offsetPath:`path("${V}")`},initial:{offsetDistance:ge.direction==="inbound"?"0%":"100%",opacity:0},animate:{offsetDistance:ge.direction==="inbound"?"100%":"0%",opacity:[0,1,1,0]},exit:{opacity:0},transition:{duration:XXn/1e3,ease:"easeInOut"},onAnimationComplete:()=>re(d)},ge.nonce)}),ue&&de.jsx(Ldn,{children:de.jsxs("div",{style:{transform:`translate(-50%, -50%) translate(${te}px,${X}px)`,pointerEvents:"all",transition:"opacity 150ms ease-out"},className:"nodrag nopan bg-background/90 flex max-w-[160px] flex-col items-center gap-0.5 rounded-md px-1.5 py-0.5 shadow-sm",role:"presentation",onMouseEnter:()=>G(!0),onMouseLeave:()=>G(!1),children:[de.jsxs("div",{className:"flex items-center gap-1",children:[de.jsx("span",{className:"text-muted-foreground text-3xs truncate",children:Ee}),H&&(U==null?void 0:U.onDelete)&&de.jsx("button",{onClick:Xe,className:"text-destructive/80 hover:bg-destructive/10 hover:text-destructive ml-0.5 shrink-0 rounded-sm p-0.5","aria-label":"Remove connection",children:de.jsx(RRn,{className:"size-3"})})]}),((U==null?void 0:U.chatId)||(U==null?void 0:U.channelType))&&de.jsxs("div",{className:"flex items-center gap-1",children:[U.chatId&&de.jsx("span",{className:"bg-muted text-muted-foreground text-3xs rounded px-1 py-px",children:U.chatId}),U.channelType&&de.jsx("span",{className:"bg-muted text-muted-foreground text-3xs rounded px-1 py-px",children:BRn(U.channelType)})]})]})})]})}const QXn=sn.memo(VXn);function YXn({data:d}){const v=d,E=qN();return de.jsx("div",{className:"bg-card/50 rounded-xl border-2",style:{borderColor:`${v.color}40`,backgroundColor:`${v.color}08`,width:"100%",height:"100%"},children:de.jsxs("div",{className:"flex items-center gap-2 rounded-t-[10px] px-3 py-1.5",style:{backgroundColor:`${v.color}15`},children:[de.jsx("span",{className:"text-xs font-semibold",style:{color:v.color},children:v.namespace}),de.jsxs("span",{className:"text-muted-foreground text-3xs",children:[v.activeCount,"/",v.agentCount," agents"]}),v.activeCount>0&&de.jsx("span",{className:`h-1.5 w-1.5 rounded-full ${E?"":"animate-breath"}`,style:{backgroundColor:v.color}})]})})}const ZXn=sn.memo(YXn);function eKn(d){var H;const[v,E]=sn.useState(!1),[A,M,P]=GN({sourceX:d.sourceX,sourceY:d.sourceY,sourcePosition:d.sourcePosition,targetX:d.targetX,targetY:d.targetY,targetPosition:d.targetPosition}),m=(H=d.data)==null?void 0:H.label,L=v||d.selected;return de.jsxs(de.Fragment,{children:[de.jsx("path",{d:A,fill:"none",stroke:"transparent",strokeWidth:12,onMouseEnter:()=>E(!0),onMouseLeave:()=>E(!1)}),de.jsx(bk,{id:d.id,path:A,markerEnd:NN.ArrowClosed,style:{stroke:"var(--color-primary)",strokeWidth:1.5,strokeDasharray:"6 3"}}),L&&m&&de.jsx(Ldn,{children:de.jsx("div",{className:"nodrag nopan border-primary/30 bg-primary/10 text-primary text-3xs rounded border px-1.5 py-0.5 font-medium",style:{position:"absolute",transform:`translate(-50%, -50%) translate(${M}px,${P}px)`,pointerEvents:"all"},children:m})})]})}function nKn(d){const[v,E]=sn.useState(!1),[A]=GN({sourceX:d.sourceX,sourceY:d.sourceY,sourcePosition:d.sourcePosition,targetX:d.targetX,targetY:d.targetY,targetPosition:d.targetPosition}),M=sn.useCallback(()=>E(!0),[]),P=sn.useCallback(()=>E(!1),[]);return de.jsx("g",{onMouseEnter:M,onMouseLeave:P,children:de.jsx(bk,{id:d.id,path:A,style:{stroke:"var(--color-destructive)",strokeWidth:1.5,strokeDasharray:"4 4",opacity:d.selected||v?1:.5}})})}const tKn=["active","inactive","stale","unreachable"];function iKn({namespaces:d}){return de.jsx(HN,{position:"bottom-left",children:de.jsxs("div",{className:"bg-card/90 text-muted-foreground text-2xs flex flex-col gap-1.5 rounded-md border px-3 py-2 shadow-sm backdrop-blur-sm",children:[de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx("span",{className:"relative flex h-2 w-6 items-center",children:de.jsxs("svg",{width:"24",height:"4",className:"overflow-visible",children:[de.jsx("line",{x1:"0",y1:"2",x2:"24",y2:"2",stroke:"var(--color-primary)",strokeWidth:"1.5"}),de.jsx("circle",{cx:"8",cy:"2",r:"2.5",fill:"var(--color-primary)",opacity:"0.9"})]})}),de.jsx("span",{children:"Allow rule"})]}),de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx("svg",{width:"24",height:"4",className:"overflow-visible",children:de.jsx("line",{x1:"0",y1:"2",x2:"24",y2:"2",stroke:"var(--color-destructive)",strokeWidth:"1.5",strokeDasharray:"4 2"})}),de.jsx("span",{children:"Deny rule"})]}),de.jsx("div",{className:"border-t"}),tKn.map(v=>de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx("span",{className:"flex h-2.5 w-6 items-center justify-center",children:de.jsx("span",{className:r2("h-2 w-2 rounded-full",wK[v].dot)})}),de.jsx("span",{children:wK[v].label})]},v)),de.jsx("div",{className:"border-t"}),de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx("span",{className:"flex h-2.5 w-6 items-center justify-center",children:de.jsx(M2e,{className:"h-3 w-3 text-yellow-500"})}),de.jsx("span",{children:"Can message other agents"})]}),de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx("span",{className:"flex h-2.5 w-6 items-center justify-center",children:de.jsx(C2e,{className:"h-3 w-3 text-blue-500"})}),de.jsx("span",{children:"Scheduled tasks"})]}),d.length>1&&de.jsxs(de.Fragment,{children:[de.jsx("div",{className:"border-t"}),d.map(v=>de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx("span",{className:"inline-block h-2.5 w-2.5 rounded-full",style:{backgroundColor:v.color}}),de.jsx("span",{children:v.namespace})]},v.namespace))]}),de.jsx("div",{className:"border-t"}),de.jsx("span",{className:"text-3xs italic opacity-60",children:"Zoom in for more detail"})]})})}function oK(d){throw new Error('Could not dynamically require "'+d+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var l2e={exports:{}},Uan;function rKn(){return Uan||(Uan=1,(function(d,v){(function(E){d.exports=E()})(function(){return(function(){function E(A,M,P){function m(U,Q){if(!M[U]){if(!A[U]){var Y=typeof oK=="function"&&oK;if(!Q&&Y)return Y(U,!0);if(L)return L(U,!0);var G=new Error("Cannot find module '"+U+"'");throw G.code="MODULE_NOT_FOUND",G}var V=M[U]={exports:{}};A[U][0].call(V.exports,function(te){var X=A[U][1][te];return m(X||te)},V,V.exports,E,A,M,P)}return M[U].exports}for(var L=typeof oK=="function"&&oK,H=0;H<P.length;H++)m(P[H]);return m}return E})()({1:[function(E,A,M){Object.defineProperty(M,"__esModule",{value:!0}),M.default=void 0;function P(G){"@babel/helpers - typeof";return P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},P(G)}function m(G,V){if(!(G instanceof V))throw new TypeError("Cannot call a class as a function")}function L(G,V){for(var te=0;te<V.length;te++){var X=V[te];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(G,U(X.key),X)}}function H(G,V,te){return V&&L(G.prototype,V),Object.defineProperty(G,"prototype",{writable:!1}),G}function U(G){var V=Q(G,"string");return P(V)=="symbol"?V:V+""}function Q(G,V){if(P(G)!="object"||!G)return G;var te=G[Symbol.toPrimitive];if(te!==void 0){var X=te.call(G,V);if(P(X)!="object")return X;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}M.default=(function(){function G(){var V=this,te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},X=te.defaultLayoutOptions,Ee=X===void 0?{}:X,ue=te.algorithms,ge=ue===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:ue,re=te.workerFactory,je=te.workerUrl;if(m(this,G),this.defaultLayoutOptions=Ee,this.initialized=!1,typeof je>"u"&&typeof re>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Ke=re;typeof je<"u"&&typeof re>"u"&&(Ke=function(kn){return new Worker(kn)});var Xe=Ke(je);if(typeof Xe.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new Y(Xe),this.worker.postMessage({cmd:"register",algorithms:ge}).then(function(Ye){return V.initialized=!0}).catch(console.err)}return H(G,[{key:"layout",value:function(te){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ee=X.layoutOptions,ue=Ee===void 0?this.defaultLayoutOptions:Ee,ge=X.logging,re=ge===void 0?!1:ge,je=X.measureExecutionTime,Ke=je===void 0?!1:je;return te?this.worker.postMessage({cmd:"layout",graph:te,layoutOptions:ue,options:{logging:re,measureExecutionTime:Ke}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker&&this.worker.terminate()}}])})();var Y=(function(){function G(V){var te=this;if(m(this,G),V===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=V,this.worker.onmessage=function(X){setTimeout(function(){te.receive(te,X)},0)}}return H(G,[{key:"postMessage",value:function(te){var X=this.id||0;this.id=X+1,te.id=X;var Ee=this;return new Promise(function(ue,ge){Ee.resolvers[X]=function(re,je){re?(Ee.convertGwtStyleError(re),ge(re)):ue(je)},Ee.worker.postMessage(te)})}},{key:"receive",value:function(te,X){var Ee=X.data,ue=te.resolvers[Ee.id];ue&&(delete te.resolvers[Ee.id],Ee.error?ue(Ee.error):ue(null,Ee.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(te){if(te){var X=te.__java$exception;X&&(X.cause&&X.cause.backingJsObject&&(te.cause=X.cause.backingJsObject,this.convertGwtStyleError(te.cause)),delete te.__java$exception)}}}])})()},{}],2:[function(E,A,M){(function(P){(function(){var m;typeof window<"u"?m=window:typeof P<"u"?m=P:typeof self<"u"&&(m=self);var L;function H(){}function U(){}function Q(){}function Y(){}function G(){}function V(){}function te(){}function X(){}function Ee(){}function ue(){}function ge(){}function re(){}function je(){}function Ke(){}function Xe(){}function Ye(){}function kn(){}function En(){}function Zn(){}function Ln(){}function Vn(){}function J(){}function xe(){}function on(){}function rn(){}function Sn(){}function Fn(){}function dn(){}function Gn(){}function Nn(){}function qn(){}function Jt(){}function Kt(){}function Oi(){}function gr(){}function Ki(){}function Kn(){}function ei(){}function rr(){}function cr(){}function Bi(){}function sr(){}function ri(){}function bi(){}function Ac(){}function ku(){}function Pr(){}function Ca(){}function zl(){}function Md(){}function ew(){}function Cd(){}function Td(){}function pr(){}function Mo(){}function bo(){}function v1(){}function Up(){}function wk(){}function zN(){}function UN(){}function XN(){}function KN(){}function WN(){}function VN(){}function QN(){}function YN(){}function ZN(){}function e$(){}function n$(){}function t$(){}function i$(){}function r$(){}function c$(){}function u$(){}function o$(){}function s$(){}function f$(){}function l$(){}function Y5(){}function Wx(){}function h$(){}function gk(){}function a$(){}function d$(){}function b$(){}function Vx(){}function w$(){}function g$(){}function Qx(){}function Yx(){}function Zx(){}function p$(){}function m$(){}function v$(){}function y$(){}function k$(){}function E$(){}function eA(){}function j$(){}function x$(){}function A$(){}function pk(){}function M$(){}function C$(){}function T$(){}function S$(){}function nA(){}function I$(){}function tA(){}function iA(){}function P$(){}function O$(){}function N$(){}function $$(){}function D$(){}function Z5(){}function L$(){}function rA(){}function _$(){}function F$(){}function mk(){}function R$(){}function B$(){}function cA(){}function W2e(){}function V2e(){}function Q2e(){}function Y2e(){}function Z2e(){}function epe(){}function npe(){}function tpe(){}function ipe(){}function rpe(){}function cpe(){}function upe(){}function ope(){}function spe(){}function fpe(){}function lpe(){}function hpe(){}function ape(){}function dpe(){}function bpe(){}function wpe(){}function gpe(){}function ppe(){}function mpe(){}function vpe(){}function ype(){}function kpe(){}function Epe(){}function jpe(){}function xpe(){}function Ape(){}function Mpe(){}function Cpe(){}function Tpe(){}function Spe(){}function Ipe(){}function Ppe(){}function Ope(){}function Npe(){}function $pe(){}function Dpe(){}function Lpe(){}function _pe(){}function Fpe(){}function Rpe(){}function Bpe(){}function Jpe(){}function Gpe(){}function Hpe(){}function qpe(){}function zpe(){}function Upe(){}function Xpe(){}function Kpe(){}function Wpe(){}function Vpe(){}function Qpe(){}function Ype(){}function Zpe(){}function eme(){}function nme(){}function tme(){}function ime(){}function rme(){}function cme(){}function ume(){}function ome(){}function sme(){}function fme(){}function lme(){}function hme(){}function ame(){}function dme(){}function bme(){}function wme(){}function gme(){}function pme(){}function mme(){}function vme(){}function yme(){}function kme(){}function Eme(){}function jme(){}function xme(){}function Ame(){}function Mme(){}function Cme(){}function Tme(){}function FK(){}function Sme(){}function Ime(){}function Pme(){}function Ome(){}function Nme(){}function $me(){}function Dme(){}function Lme(){}function _me(){}function Fme(){}function Rme(){}function Bme(){}function Jme(){}function Gme(){}function Hme(){}function qme(){}function zme(){}function Ume(){}function Xme(){}function Kme(){}function Wme(){}function Vme(){}function Qme(){}function Yme(){}function Zme(){}function e3e(){}function n3e(){}function t3e(){}function i3e(){}function r3e(){}function c3e(){}function u3e(){}function o3e(){}function s3e(){}function f3e(){}function l3e(){}function h3e(){}function a3e(){}function d3e(){}function b3e(){}function w3e(){}function g3e(){}function p3e(){}function m3e(){}function v3e(){}function y3e(){}function k3e(){}function E3e(){}function j3e(){}function x3e(){}function A3e(){}function M3e(){}function C3e(){}function T3e(){}function S3e(){}function I3e(){}function P3e(){}function O3e(){}function N3e(){}function $3e(){}function D3e(){}function L3e(){}function _3e(){}function F3e(){}function R3e(){}function B3e(){}function J3e(){}function G3e(){}function H3e(){}function q3e(){}function z3e(){}function U3e(){}function X3e(){}function K3e(){}function W3e(){}function V3e(){}function RK(){}function Q3e(){}function Y3e(){}function Z3e(){}function eve(){}function nve(){}function tve(){}function ive(){}function rve(){}function cve(){}function uA(){}function oA(){}function uve(){}function BK(){}function ove(){}function sve(){}function fve(){}function lve(){}function hve(){}function ave(){}function JK(){}function GK(){}function dve(){}function HK(){}function qK(){}function bve(){}function wve(){}function gve(){}function pve(){}function mve(){}function vve(){}function yve(){}function kve(){}function Eve(){}function jve(){}function xve(){}function Ave(){}function Mve(){}function Cve(){}function vk(){}function Tve(){}function Sve(){}function Ive(){}function Pve(){}function Ove(){}function Nve(){}function $ve(){}function Dve(){}function zK(){}function Lve(){}function _ve(){}function Fve(){}function Rve(){}function Bve(){}function Jve(){}function Gve(){}function Hve(){}function qve(){}function zve(){}function Uve(){}function Xve(){}function Kve(){}function Wve(){}function Vve(){}function Qve(){}function Yve(){}function Zve(){}function e4e(){}function n4e(){}function t4e(){}function i4e(){}function r4e(){}function c4e(){}function u4e(){}function o4e(){}function s4e(){}function f4e(){}function l4e(){}function h4e(){}function a4e(){}function d4e(){}function b4e(){}function w4e(){}function g4e(){}function p4e(){}function m4e(){}function v4e(){}function y4e(){}function k4e(){}function E4e(){}function j4e(){}function x4e(){}function A4e(){}function M4e(){}function C4e(){}function T4e(){}function S4e(){}function I4e(){}function P4e(){}function O4e(){}function N4e(){}function $4e(){}function D4e(){}function L4e(){}function _4e(){}function F4e(){}function R4e(){}function B4e(){}function J4e(){}function G4e(){}function H4e(){}function q4e(){}function z4e(){}function U4e(){}function X4e(){}function K4e(){}function zdn(){}function W4e(){}function V4e(){}function Q4e(){}function Y4e(){}function Z4e(){}function e5e(){}function n5e(){}function t5e(){}function i5e(){}function r5e(){}function c5e(){}function u5e(){}function o5e(){}function s5e(){}function f5e(){}function l5e(){}function h5e(){}function a5e(){}function d5e(){}function b5e(){}function w5e(){}function g5e(){}function p5e(){}function m5e(){}function v5e(){}function y5e(){}function k5e(){}function E5e(){}function j5e(){}function x5e(){}function A5e(){}function M5e(){}function C5e(){}function T5e(){}function S5e(){}function I5e(){}function P5e(){}function O5e(){}function J$(){}function G$(){}function N5e(){}function H$(){}function $5e(){}function D5e(){}function L5e(){}function _5e(){}function F5e(){}function R5e(){}function B5e(){}function J5e(){}function G5e(){}function H5e(){}function UK(){}function q5e(){}function Udn(){}function z5e(){}function U5e(){}function X5e(){}function K5e(){}function W5e(){}function V5e(){}function Q5e(){}function Y5e(){}function R0(){}function Z5e(){}function Xp(){}function XK(){}function e6e(){}function n6e(){}function t6e(){}function i6e(){}function r6e(){}function c6e(){}function u6e(){}function o6e(){}function s6e(){}function f6e(){}function l6e(){}function h6e(){}function a6e(){}function d6e(){}function b6e(){}function w6e(){}function g6e(){}function p6e(){}function m6e(){}function v6e(){}function Pe(){}function y6e(){}function k6e(){}function E6e(){}function j6e(){}function x6e(){}function A6e(){}function M6e(){}function q$(){}function C6e(){}function z$(){}function T6e(){}function S6e(){}function I6e(){}function P6e(){}function O6e(){}function N6e(){}function $6e(){}function D6e(){}function U$(){}function sA(){}function fA(){}function L6e(){}function KK(){}function _6e(){}function F6e(){}function lA(){}function R6e(){}function B6e(){}function J6e(){}function hA(){}function G6e(){}function H6e(){}function q6e(){}function z6e(){}function aA(){}function U6e(){}function WK(){}function X6e(){}function X$(){}function VK(){}function K6e(){}function W6e(){}function V6e(){}function Q6e(){}function Xdn(){}function Y6e(){}function Z6e(){}function eye(){}function nye(){}function tye(){}function iye(){}function rye(){}function cye(){}function uye(){}function oye(){}function Y3(){}function K$(){}function sye(){}function fye(){}function lye(){}function hye(){}function aye(){}function dye(){}function bye(){}function wye(){}function gye(){}function pye(){}function mye(){}function vye(){}function yye(){}function kye(){}function Eye(){}function jye(){}function xye(){}function Aye(){}function Mye(){}function Cye(){}function Tye(){}function Sye(){}function Iye(){}function Pye(){}function Oye(){}function Nye(){}function $ye(){}function Dye(){}function Lye(){}function _ye(){}function Fye(){}function Rye(){}function Bye(){}function Jye(){}function Gye(){}function Hye(){}function qye(){}function zye(){}function Uye(){}function Xye(){}function Kye(){}function Wye(){}function Vye(){}function Qye(){}function Yye(){}function Zye(){}function e9e(){}function n9e(){}function t9e(){}function i9e(){}function r9e(){}function c9e(){}function u9e(){}function o9e(){}function s9e(){}function f9e(){}function l9e(){}function h9e(){}function a9e(){}function d9e(){}function b9e(){}function w9e(){}function g9e(){}function p9e(){}function m9e(){}function v9e(){}function y9e(){}function k9e(){}function E9e(){}function j9e(){}function x9e(){}function A9e(){}function M9e(){}function C9e(){}function T9e(){}function S9e(){}function I9e(){}function P9e(){}function O9e(){}function N9e(){}function $9e(){}function D9e(){}function L9e(){}function _9e(){}function F9e(){}function R9e(){}function B9e(){}function J9e(){}function G9e(){}function H9e(){}function q9e(){}function z9e(){}function U9e(){}function X9e(){}function K9e(){}function W9e(){}function V9e(){}function Q9e(){}function Y9e(){}function Z9e(){}function e8e(){}function QK(){}function n8e(){}function t8e(){}function W$(){o6()}function i8e(){Zie()}function r8e(){$f()}function c8e(){lie()}function u8e(){bE()}function o8e(){$k()}function s8e(){IMe()}function f8e(){Lm()}function l8e(){tLe()}function h8e(){Dk()}function a8e(){s7()}function d8e(){Qv()}function b8e(){z1()}function w8e(){BA()}function g8e(){cue()}function p8e(){ZNe()}function m8e(){_Le()}function v8e(){lne()}function y8e(){QNe()}function k8e(){VNe()}function E8e(){YNe()}function j8e(){ye()}function x8e(){SFe()}function A8e(){Q$e()}function M8e(){hne()}function C8e(){CFe()}function T8e(){TFe()}function S8e(){IFe()}function I8e(){t$e()}function P8e(){$m()}function O8e(){cRe()}function N8e(){gce()}function $8e(){U1()}function D8e(){e$e()}function L8e(){SGe()}function _8e(){n$e()}function F8e(){QUe()}function R8e(){Ire()}function B8e(){Wc()}function J8e(){Tl()}function G8e(){Cce()}function H8e(){RBe()}function q8e(){ca()}function z8e(){vE()}function U8e(){IB()}function X8e(){FR()}function K8e(){zC()}function YK(){jt()}function W8e(){aS()}function V8e(){AT()}function Q8e(){Bte()}function ZK(){NS()}function eW(){LF()}function Wf(){FIe()}function Y8e(){Ice()}function nW(e){bn(e)}function Z8e(e){this.a=e}function dA(e){this.a=e}function eke(e){this.a=e}function nke(e){this.a=e}function tke(e){this.a=e}function tW(e){this.a=e}function iW(e){this.a=e}function ike(e){this.a=e}function V$(e){this.a=e}function rke(e){this.a=e}function cke(e){this.a=e}function uke(e){this.a=e}function oke(e){this.a=e}function ske(e){this.c=e}function fke(e){this.a=e}function Q$(e){this.a=e}function lke(e){this.a=e}function hke(e){this.a=e}function ake(e){this.a=e}function Y$(e){this.a=e}function dke(e){this.a=e}function bke(e){this.a=e}function Z$(e){this.a=e}function wke(e){this.a=e}function eD(e){this.a=e}function gke(e){this.a=e}function pke(e){this.a=e}function mke(e){this.a=e}function vke(e){this.a=e}function yke(e){this.a=e}function kke(e){this.a=e}function Eke(e){this.a=e}function jke(e){this.a=e}function xke(e){this.a=e}function Ake(e){this.a=e}function Mke(e){this.a=e}function Cke(e){this.a=e}function Tke(e){this.a=e}function Ske(e){this.a=e}function rW(e){this.a=e}function cW(e){this.a=e}function bA(e){this.a=e}function yk(e){this.a=e}function uW(e){this.b=e}function Sd(){this.a=[]}function Ike(e,n){e.a=n}function Kdn(e,n){e.a=n}function Wdn(e,n){e.b=n}function Vdn(e,n){e.c=n}function Qdn(e,n){e.c=n}function Ydn(e,n){e.d=n}function Zdn(e,n){e.d=n}function qh(e,n){e.k=n}function oW(e,n){e.j=n}function e0n(e,n){e.c=n}function sW(e,n){e.c=n}function fW(e,n){e.a=n}function n0n(e,n){e.a=n}function t0n(e,n){e.f=n}function i0n(e,n){e.a=n}function r0n(e,n){e.b=n}function nD(e,n){e.d=n}function wA(e,n){e.i=n}function lW(e,n){e.o=n}function c0n(e,n){e.r=n}function u0n(e,n){e.a=n}function o0n(e,n){e.b=n}function Pke(e,n){e.e=n}function s0n(e,n){e.e=n}function f0n(e,n){e.f=n}function l0n(e,n){e.f=n}function hW(e,n){e.g=n}function h0n(e,n){e.f=n}function tD(e,n){e.a=n}function iD(e,n){e.b=n}function a0n(e,n){e.n=n}function d0n(e,n){e.a=n}function b0n(e,n){e.a=n}function w0n(e,n){e.a=n}function g0n(e,n){e.c=n}function p0n(e,n){e.c=n}function m0n(e,n){e.c=n}function v0n(e,n){e.d=n}function y0n(e,n){e.d=n}function k0n(e,n){e.e=n}function E0n(e,n){e.e=n}function j0n(e,n){e.g=n}function x0n(e,n){e.f=n}function A0n(e,n){e.j=n}function M0n(e,n){e.a=n}function C0n(e,n){e.a=n}function T0n(e,n){e.b=n}function Oke(e){e.b=e.a}function Nke(e){e.c=e.d.d}function aW(e){this.a=e}function kk(e){this.a=e}function dW(e){this.a=e}function Ek(e){this.a=e}function $ke(e){this.a=e}function bW(e){this.a=e}function gA(e){this.a=e}function zh(e){this.a=e}function wW(e){this.a=e}function nw(e){this.a=e}function rD(e){this.a=e}function Uh(e){this.a=e}function tw(e){this.a=e}function cD(e){this.b=e}function Z3(e){this.b=e}function s2(e){this.b=e}function e6(e){this.d=e}function yt(e){this.a=e}function Dke(e){this.a=e}function gW(e){this.a=e}function Lke(e){this.a=e}function _ke(e){this.a=e}function Fke(e){this.a=e}function pW(e){this.a=e}function mW(e){this.a=e}function uD(e){this.c=e}function S(e){this.c=e}function Rke(e){this.c=e}function vW(e){this.a=e}function yW(e){this.a=e}function kW(e){this.a=e}function EW(e){this.a=e}function ev(e){this.a=e}function Bke(e){this.a=e}function Jke(e){this.a=e}function nv(e){this.a=e}function Gke(e){this.a=e}function Hke(e){this.a=e}function qke(e){this.a=e}function zke(e){this.a=e}function Uke(e){this.a=e}function Xke(e){this.a=e}function Kke(e){this.a=e}function Wke(e){this.a=e}function Vke(e){this.a=e}function Qke(e){this.a=e}function Yke(e){this.a=e}function n6(e){this.a=e}function Zke(e){this.a=e}function jW(e){this.a=e}function jk(e){this.a=e}function e7e(e){this.a=e}function n7e(e){this.a=e}function xW(e){this.a=e}function t7e(e){this.a=e}function i7e(e){this.a=e}function r7e(e){this.a=e}function AW(e){this.a=e}function MW(e){this.a=e}function CW(e){this.a=e}function t6(e){this.a=e}function tv(e){this.a=e}function c7e(e){this.a=e}function Kp(e){this.a=e}function TW(e){this.a=e}function u7e(e){this.a=e}function o7e(e){this.a=e}function s7e(e){this.a=e}function f7e(e){this.a=e}function l7e(e){this.a=e}function h7e(e){this.a=e}function a7e(e){this.a=e}function d7e(e){this.a=e}function b7e(e){this.a=e}function w7e(e){this.a=e}function g7e(e){this.a=e}function SW(e){this.a=e}function p7e(e){this.a=e}function m7e(e){this.a=e}function v7e(e){this.a=e}function y7e(e){this.a=e}function k7e(e){this.a=e}function E7e(e){this.a=e}function j7e(e){this.a=e}function x7e(e){this.a=e}function A7e(e){this.a=e}function pA(e){this.e=e}function M7e(e){this.a=e}function C7e(e){this.a=e}function T7e(e){this.a=e}function S7e(e){this.a=e}function I7e(e){this.a=e}function P7e(e){this.a=e}function O7e(e){this.a=e}function N7e(e){this.a=e}function $7e(e){this.a=e}function D7e(e){this.a=e}function L7e(e){this.a=e}function _7e(e){this.a=e}function F7e(e){this.a=e}function R7e(e){this.a=e}function B7e(e){this.a=e}function J7e(e){this.a=e}function G7e(e){this.a=e}function H7e(e){this.a=e}function q7e(e){this.a=e}function z7e(e){this.a=e}function U7e(e){this.a=e}function X7e(e){this.a=e}function K7e(e){this.a=e}function W7e(e){this.a=e}function V7e(e){this.a=e}function Q7e(e){this.a=e}function Y7e(e){this.a=e}function Z7e(e){this.a=e}function eEe(e){this.a=e}function nEe(e){this.a=e}function tEe(e){this.a=e}function iEe(e){this.a=e}function rEe(e){this.a=e}function cEe(e){this.c=e}function uEe(e){this.b=e}function oEe(e){this.a=e}function sEe(e){this.a=e}function fEe(e){this.a=e}function lEe(e){this.a=e}function hEe(e){this.a=e}function aEe(e){this.a=e}function dEe(e){this.a=e}function bEe(e){this.a=e}function wEe(e){this.a=e}function gEe(e){this.a=e}function pEe(e){this.a=e}function mEe(e){this.a=e}function vEe(e){this.a=e}function yEe(e){this.a=e}function kEe(e){this.a=e}function EEe(e){this.a=e}function jEe(e){this.a=e}function xEe(e){this.a=e}function AEe(e){this.a=e}function MEe(e){this.a=e}function CEe(e){this.a=e}function TEe(e){this.a=e}function SEe(e){this.a=e}function IEe(e){this.a=e}function PEe(e){this.a=e}function OEe(e){this.a=e}function NEe(e){this.a=e}function Xh(e){this.a=e}function f2(e){this.a=e}function $Ee(e){this.a=e}function DEe(e){this.a=e}function LEe(e){this.a=e}function _Ee(e){this.a=e}function FEe(e){this.a=e}function REe(e){this.a=e}function BEe(e){this.a=e}function JEe(e){this.a=e}function GEe(e){this.a=e}function HEe(e){this.a=e}function qEe(e){this.a=e}function zEe(e){this.a=e}function UEe(e){this.a=e}function XEe(e){this.a=e}function KEe(e){this.a=e}function WEe(e){this.a=e}function VEe(e){this.a=e}function QEe(e){this.a=e}function YEe(e){this.a=e}function ZEe(e){this.a=e}function eje(e){this.a=e}function nje(e){this.a=e}function tje(e){this.a=e}function ije(e){this.a=e}function rje(e){this.a=e}function cje(e){this.a=e}function mA(e){this.a=e}function uje(e){this.a=e}function oje(e){this.a=e}function sje(e){this.a=e}function fje(e){this.a=e}function lje(e){this.a=e}function hje(e){this.a=e}function aje(e){this.a=e}function dje(e){this.a=e}function bje(e){this.a=e}function wje(e){this.a=e}function gje(e){this.a=e}function pje(e){this.a=e}function mje(e){this.a=e}function vje(e){this.a=e}function yje(e){this.a=e}function kje(e){this.a=e}function Eje(e){this.a=e}function jje(e){this.a=e}function xje(e){this.a=e}function Aje(e){this.a=e}function Mje(e){this.a=e}function Cje(e){this.a=e}function Tje(e){this.a=e}function Sje(e){this.a=e}function Ije(e){this.a=e}function Pje(e){this.a=e}function Oje(e){this.a=e}function oD(e){this.a=e}function Vt(e){this.b=e}function Nje(e){this.f=e}function IW(e){this.a=e}function $je(e){this.a=e}function Dje(e){this.a=e}function Lje(e){this.a=e}function _je(e){this.a=e}function Fje(e){this.a=e}function Rje(e){this.a=e}function Bje(e){this.a=e}function Jje(e){this.a=e}function xk(e){this.a=e}function Gje(e){this.a=e}function Hje(e){this.a=e}function vA(e){this.a=e}function yA(e){this.a=e}function qje(e){this.b=e}function PW(e){this.c=e}function kA(e){this.e=e}function zje(e){this.d=e}function sD(e){this.a=e}function Uje(e){this.a=e}function OW(e){this.a=e}function NW(e){this.a=e}function B0(e){this.e=e}function S0n(){this.a=0}function ve(){jL(this)}function Wn(){ou(this)}function fD(){COe(this)}function Xje(){}function J0(){this.c=jge}function Kje(e,n){e.b+=n}function I0n(e,n){n.Wb(e)}function P0n(e){return e.a}function O0n(e){return e.a}function N0n(e){return e.a}function $0n(e){return e.a}function D0n(e){return e.a}function I(e){return e.e}function L0n(){return null}function _0n(){return null}function F0n(e){throw I(e)}function Wp(e){this.a=st(e)}function Wje(){this.a=this}function Id(){mSe.call(this)}function R0n(e){e.b.Mf(e.e)}function Vje(e){e.b=new MD}function i6(e,n){e.b=n-e.b}function r6(e,n){e.a=n-e.a}function Qje(e,n){n.gd(e.a)}function B0n(e,n){tr(n,e)}function jn(e,n){e.push(n)}function Yje(e,n){e.sort(n)}function J0n(e,n,t){e.Wd(t,n)}function Ak(e,n){e.e=n,n.b=e}function Zje(e){Nv(),eq.je(e)}function G0n(){aV(),hFn()}function $W(){Id.call(this)}function lD(){Id.call(this)}function DW(){mSe.call(this)}function exe(){Id.call(this)}function Ss(){Id.call(this)}function nxe(){Id.call(this)}function Mk(){Id.call(this)}function wo(){Id.call(this)}function Vp(){Id.call(this)}function ht(){Id.call(this)}function $c(){Id.call(this)}function txe(){Id.call(this)}function EA(){this.Bb|=256}function ixe(){this.b=new aTe}function LW(){LW=J,new Wn}function iw(e,n){e.length=n}function jA(e,n){me(e.a,n)}function H0n(e,n){nre(e.c,n)}function q0n(e,n){Hi(e.b,n)}function z0n(e,n){YT(e.a,n)}function U0n(e,n){lR(e.a,n)}function iv(e,n){Gt(e.e,n)}function Qp(e){gS(e.c,e.b)}function X0n(e,n){e.kc().Nb(n)}function _W(e){this.a=cEn(e)}function Ji(){this.a=new Wn}function rxe(){this.a=new Wn}function xA(){this.a=new ve}function hD(){this.a=new ve}function FW(){this.a=new ve}function Ys(){this.a=new UN}function Pd(){this.a=new QDe}function aD(){this.a=new jMe}function RW(){this.a=new JNe}function BW(){this.a=new cIe}function JW(){this.a=new Wx}function cxe(){this.a=new w$e}function uxe(){this.a=new ve}function oxe(){this.a=new ve}function GW(){this.a=new ve}function sxe(){this.a=new ve}function fxe(){this.d=new ve}function lxe(){this.a=new Ji}function hxe(){this.a=new Wn}function axe(){this.b=new Wn}function dxe(){this.b=new ve}function HW(){this.e=new ve}function bxe(){this.a=new b8e}function wxe(){this.d=new ve}function gxe(){ve.call(this)}function pxe(){$W.call(this)}function AA(){xA.call(this)}function mxe(){GW.call(this)}function c6(){Xje.call(this)}function dD(){c6.call(this)}function vxe(){NM.call(this)}function Yp(){Xje.call(this)}function qW(){Yp.call(this)}function yxe(){mNe.call(this)}function kxe(){mNe.call(this)}function Exe(){KW.call(this)}function jxe(){KW.call(this)}function xxe(){KW.call(this)}function Axe(){WW.call(this)}function u6(){D6e.call(this)}function zW(){D6e.call(this)}function _o(){ni.call(this)}function Mxe(){Bxe.call(this)}function Cxe(){Bxe.call(this)}function Txe(){Wn.call(this)}function Sxe(){Wn.call(this)}function Ixe(){Wn.call(this)}function bD(){yFe.call(this)}function Pxe(){Ji.call(this)}function Oxe(){EA.call(this)}function wD(){AQ.call(this)}function UW(){Wn.call(this)}function gD(){AQ.call(this)}function pD(){Wn.call(this)}function Nxe(){Wn.call(this)}function XW(){aA.call(this)}function $xe(){XW.call(this)}function Dxe(){aA.call(this)}function Lxe(){QK.call(this)}function KW(){this.a=new Ji}function _xe(){this.a=new Wn}function WW(){this.a=new Wn}function Zp(){this.a=new ni}function Fxe(){this.a=new ve}function Rxe(){this.j=new ve}function Bxe(){this.a=new G6e}function VW(){this.a=new A5e}function Jxe(){this.a=new FAe}function mD(){mD=J,KH=new Hxe}function o6(){o6=J,UH=new U}function vD(){vD=J,XH=new Gxe}function Gxe(){Z$.call(this,"")}function Hxe(){Z$.call(this,"")}function qxe(e){Q_e.call(this,e)}function zxe(e){Q_e.call(this,e)}function QW(e){tW.call(this,e)}function YW(e){QAe.call(this,e)}function K0n(e){QAe.call(this,e)}function W0n(e){YW.call(this,e)}function V0n(e){YW.call(this,e)}function Q0n(e){YW.call(this,e)}function Uxe(e){Y_.call(this,e)}function Xxe(e){Y_.call(this,e)}function Kxe(e){VTe.call(this,e)}function Wxe(e){vV.call(this,e)}function s6(e){_A.call(this,e)}function ZW(e){_A.call(this,e)}function Vxe(e){_A.call(this,e)}function Dc(e){qPe.call(this,e)}function Qxe(e){Dc.call(this,e)}function em(){yk.call(this,{})}function yD(e){gv(),this.a=e}function Yxe(e){e.b=null,e.c=0}function Y0n(e,n){e.e=n,Vze(e,n)}function Z0n(e,n){e.a=n,hTn(e)}function kD(e,n,t){e.a[n.g]=t}function ebn(e,n,t){OAn(t,e,n)}function nbn(e,n){I2n(n.i,e.n)}function Zxe(e,n){Vkn(e).Ad(n)}function tbn(e,n){return e*e/n}function eAe(e,n){return e.g-n.g}function ibn(e,n){e.a.ec().Kc(n)}function rbn(e){return new bA(e)}function cbn(e){return new Mw(e)}function MA(e){Dc.call(this,e)}function Lu(e){Dc.call(this,e)}function nAe(e){Dc.call(this,e)}function ED(e){qPe.call(this,e)}function CA(e){Sne(),this.a=e}function jD(e){s_(),this.f=e}function y1(e){s_(),this.f=e}function tAe(e){_Ie(),this.a=e}function rv(e){Dc.call(this,e)}function xn(e){Dc.call(this,e)}function gc(e){Dc.call(this,e)}function iAe(e){Dc.call(this,e)}function nm(e){Dc.call(this,e)}function Se(e){return bn(e),e}function q(e){return bn(e),e}function Ck(e){return bn(e),e}function eV(e){return bn(e),e}function ubn(e){return bn(e),e}function f6(e){return e.b==e.c}function rw(e){return!!e&&e.b}function obn(e){return!!e&&e.k}function sbn(e){return!!e&&e.j}function Uc(e){bn(e),this.a=e}function nV(e){return Zd(e),e}function l6(e){sZ(e,e.length)}function Ta(e){Dc.call(this,e)}function Sa(e){Dc.call(this,e)}function tm(e){Dc.call(this,e)}function Ul(e){Dc.call(this,e)}function pt(e){Dc.call(this,e)}function xD(e){Dc.call(this,e)}function AD(e){BQ.call(this,e,0)}function MD(){QZ.call(this,12,3)}function CD(){this.a=dt(st(Ju))}function rAe(){throw I(new ht)}function tV(){throw I(new ht)}function cAe(){throw I(new ht)}function fbn(){throw I(new ht)}function lbn(){throw I(new ht)}function hbn(){throw I(new ht)}function uAe(){uAe=J,zfe=new H}function iV(){iV=J,Ufe=new Ke}function TA(){TA=J,$9=new kn}function SA(){SA=J,VH=new WTe}function oAe(){oAe=J,een=new Zn}function IA(){IA=J,Nv()}function Ia(){Ek.call(this,"")}function h6(){Ek.call(this,"")}function k1(){Ek.call(this,"")}function im(){Ek.call(this,"")}function rV(e){Lu.call(this,e)}function cV(e){Lu.call(this,e)}function Xl(e){xn.call(this,e)}function cv(e){Z3.call(this,e)}function sAe(e){cv.call(this,e)}function TD(e){CM.call(this,e)}function abn(e,n,t){e.c.Cf(n,t)}function dbn(e,n,t){n.Ad(e.a[t])}function bbn(e,n,t){n.Ne(e.a[t])}function wbn(e,n){return e.a-n.a}function gbn(e,n){return e.a-n.a}function pbn(e,n){return e.a-n.a}function PA(e,n){return dF(e,n)}function N(e,n){return UNe(e,n)}function mbn(e,n){return n in e.a}function fAe(e){return e.a?e.b:0}function vbn(e){return e.a?e.b:0}function lAe(e,n){return e.f=n,e}function ybn(e,n){return e.b=n,e}function hAe(e,n){return e.c=n,e}function kbn(e,n){return e.g=n,e}function uV(e,n){return e.a=n,e}function oV(e,n){return e.f=n,e}function Ebn(e,n){return e.k=n,e}function sV(e,n){return e.a=n,e}function jbn(e,n){return e.e=n,e}function fV(e,n){return e.e=n,e}function xbn(e,n){return e.f=n,e}function Abn(e,n){e.b=new Ur(n)}function aAe(e,n){e._d(n),n.$d(e)}function Mbn(e,n){fs(),n.n.a+=e}function Cbn(e,n){z1(),Fc(n,e)}function Tbn(e,n){return e.b-n.b}function Sbn(e,n){return e.g-n.g}function Ibn(e,n){return e.s-n.s}function Pbn(e,n){return e?0:n-1}function dAe(e,n){return e?0:n-1}function Obn(e,n){return e?n-1:0}function Nbn(e,n){return n.pg(e)}function cw(e,n){return e.b=n,e}function OA(e,n){return e.a=n,e}function uw(e,n){return e.c=n,e}function ow(e,n){return e.d=n,e}function sw(e,n){return e.e=n,e}function lV(e,n){return e.f=n,e}function a6(e,n){return e.a=n,e}function uv(e,n){return e.b=n,e}function ov(e,n){return e.c=n,e}function Ne(e,n){return e.c=n,e}function ze(e,n){return e.b=n,e}function $e(e,n){return e.d=n,e}function De(e,n){return e.e=n,e}function $bn(e,n){return e.f=n,e}function Le(e,n){return e.g=n,e}function _e(e,n){return e.a=n,e}function Fe(e,n){return e.i=n,e}function Re(e,n){return e.j=n,e}function Dbn(e,n){return e.j=n,e}function bAe(e,n){return e.k=n,e}function Cr(){this.a=0,this.b=0}function wAe(){this.b=0,this.a=0}function gAe(e){KOe.call(this,e)}function hV(e){KOe.call(this,e)}function NA(e){GL.call(this,e)}function E1(e){ub.call(this,e)}function pAe(e){P_.call(this,e)}function mAe(e){P_.call(this,e)}function vAe(){pQ.call(this,"")}function yAe(){yAe=J,den=cMn()}function j1(){j1=J,xln=gAn()}function kAe(){kAe=J,wr=MMn()}function aV(){aV=J,P0=hy()}function sv(){sv=J,Ege=pAn()}function EAe(){EAe=J,shn=mAn()}function dV(){dV=J,uu=sTn()}function Vf(e){return e.e&&e.e()}function jAe(e,n){return e.c._b(n)}function xAe(e,n){return ABe(e.b,n)}function AAe(e,n){return own(e.a,n)}function MAe(e,n){e.b=0,_w(e,n)}function Lbn(e,n){e.c=n,e.b=!0}function l2(e,n){return e.a+=n,e}function SD(e,n){return e.a+=n,e}function Pa(e,n){return e.a+=n,e}function G0(e,n){return e.a+=n,e}function Od(e){return Vh(e),e.o}function bV(e){TKe(),xFn(this,e)}function CAe(){throw I(new ht)}function TAe(){throw I(new ht)}function SAe(){throw I(new ht)}function IAe(){throw I(new ht)}function PAe(){throw I(new ht)}function OAe(){throw I(new ht)}function $A(e){this.a=new cm(e)}function Oa(e){this.a=new l_(e)}function h2(e,n){for(;e.Pe(n););}function wV(e,n){for(;e.zd(n););}function _bn(e,n,t){B3n(e.a,n,t)}function gV(e,n,t){e.splice(n,t)}function Fbn(e,n){return yDn(n,e)}function pV(e,n){return e.d[n.p]}function Tk(e){return e.b!=e.d.c}function NAe(e){return e.l|e.m<<22}function ID(e){return e?e.d:null}function Rbn(e){return e?e.g:null}function Bbn(e){return e?e.i:null}function $Ae(e,n){return BPn(e,n)}function fv(e){return I1(e),e.a}function DAe(e){e.c?aUe(e):dUe(e)}function LAe(){this.b=new qy(Sde)}function _Ae(){this.b=new qy(QU)}function FAe(){this.b=new qy(QU)}function RAe(){this.a=new qy(l0e)}function BAe(){this.a=new qy($0e)}function DA(e){this.a=0,this.b=e}function JAe(){throw I(new ht)}function GAe(){throw I(new ht)}function HAe(){throw I(new ht)}function qAe(){throw I(new ht)}function zAe(){throw I(new ht)}function UAe(){throw I(new ht)}function XAe(){throw I(new ht)}function KAe(){throw I(new ht)}function WAe(){throw I(new ht)}function VAe(){throw I(new ht)}function Jbn(){throw I(new $c)}function Gbn(){throw I(new $c)}function Sk(e){this.a=new mMe(e)}function LA(e){this.b=u(st(e),92)}function mV(e,n){this.b=e,this.c=n}function lv(e,n){this.e=e,this.d=n}function QAe(e){CQ(e.dc()),this.c=e}function YAe(e,n){this.a=e,this.b=n}function ZAe(e,n){this.a=e,this.b=n}function eMe(e,n){this.a=e,this.b=n}function nMe(e,n){this.a=e,this.b=n}function tMe(e,n){this.a=e,this.b=n}function iMe(e,n){this.a=e,this.b=n}function rMe(e,n){this.a=e,this.b=n}function cMe(e,n){this.b=e,this.a=n}function H0(e,n){this.g=e,this.i=n}function uMe(e,n){this.b=e,this.a=n}function Ik(e,n){x2.call(this,e,n)}function hv(e,n){Ik.call(this,e,n)}function oMe(e,n){this.a=e,this.b=n}function sMe(e,n){this.a=e,this.b=n}function fMe(e,n){this.b=e,this.a=n}function lMe(e,n){this.b=e,this.a=n}function ot(e,n){this.f=e,this.g=n}function _A(e){this.b=u(st(e),50)}function PD(e,n){this.a=e,this.b=n}function hMe(e,n){this.a=e,this.f=n}function aMe(e){this.a=u(st(e),16)}function vV(e){this.a=u(st(e),16)}function dMe(e,n){this.b=e,this.c=n}function bMe(e){this.a=u(st(e),92)}function Hbn(e,n){this.a=e,this.b=n}function wMe(e,n){this.a=e,this.b=n}function gMe(e,n){return Au(e.b,n)}function pMe(e,n){return e>n&&n<t9}function Pk(e){return ql[e]!=-1}function Ok(e){return!e||jOe(e)}function mMe(e){E8n(this,e,TCn())}function qbn(e,n){yB(oe(e.a),n)}function zbn(e,n){yB(oe(e.a),n)}function yV(e,n){return e.b.Hc(n)}function d6(e,n){return e.b.Gc(n)}function kV(e,n){return e.b.Oc(n)}function vMe(e,n){return e.c.uc(n)}function yMe(e,n){return e.b.Gc(n)}function kMe(e,n){return qt(e.c,n)}function Ubn(e){return lOe(),e?ZZe:YZe}function b6(e){return e.f.c+e.i.c}function Zs(e,n){return e.a._b(n)}function OD(e,n){this.a=e,this.b=n}function rm(e){this.c=e,M_e(this)}function ni(){JTe(this),es(this)}function fw(){fw=J,uq=new dTe}function av(){av=J,f5=new Sn}function Na(){Na=J,ren=new xe}function FA(){FA=J,wen=new bTe}function dv(){dv=J,vle=new cr}function Xbn(){VI!=0&&(VI=0),QI=-1}function EMe(){zH==null&&(zH=[])}function cm(e){VRe.call(this,e,0)}function jMe(){l_.call(this,null)}function EV(){lF.call(this,null)}function Nd(){Nd=J,b3=new Md}function Si(e,n){I1(e),e.a.Nb(n)}function Kbn(e,n){return e.a.Vc(n)}function Wbn(e,n){return e.a.Wc(n)}function ND(e,n){return e.a.Yc(n)}function $D(e,n){return e.a.Zc(n)}function Vbn(e,n){return e.Fc(n),e}function Qbn(e,n){return e.a.f=n,e}function xMe(e,n){return e.a.d=n,e}function AMe(e,n){return e.a.g=n,e}function MMe(e,n){return e.a.j=n,e}function vf(e,n){return e.a.a=n,e}function yf(e,n){return e.a.d=n,e}function kf(e,n){return e.a.e=n,e}function Ef(e,n){return e.a.g=n,e}function Nk(e,n){return e.a.f=n,e}function Ybn(e){return e.b=!1,e}function $k(){$k=J,stn=new Cr}function jV(){jV=J,Unn=new g$}function CMe(){CMe=J,Xnn=new p$}function xV(){xV=J,Knn=new FPe}function TMe(){TMe=J,Aen=new Mo}function AV(){AV=J,qle=new k$}function SMe(){SMe=J,itn=new nA}function bv(){bv=J,ctn=new I$}function Dk(){Dk=J,ftn=new ope}function IMe(){IMe=J,dtn=new qpe}function RA(){RA=J,Gcn=new P6e}function w6(){w6=J,ktn=new I3e}function BA(){BA=J,ap=new eve}function JA(){JA=J,YU=new OMe}function GA(){GA=J,ZU=new $Se}function g6(){g6=J,ux=new SOe}function PMe(){MFe(),this.c=new MD}function OMe(){ot.call(this,MVe,0)}function Zbn(e,n,t,i){zjn(e,i,n,t)}function ewn(e,n,t,i){VIn(i,e,n,t)}function nwn(e,n,t,i){M_n(i,e,n,t)}function twn(e,n,t){mc(e.d,n.f,t)}function lw(e,n){t0(e.c.b,n.c,n)}function p6(e,n){t0(e.c.c,n.b,n)}function m6(e,n){return e.a=n.g,e}function $d(){$d=J,Eln=new $6e}function NMe(){NMe=J,Iln=new z6e}function $Me(){$Me=J,Hln=new Sxe}function DMe(){DMe=J,qln=new Ixe}function x1(){x1=J,pf=new UW}function MV(){MV=J,kge=new Nxe}function HA(){HA=J,lN=new Wn}function CV(){CV=J,Oge=new ve}function v6(){v6=J,JX=new XTe}function $a(){$a=J,Nx=new KTe}function DD(){DD=J,rhn=new Zye}function tc(){tc=J,uhn=new e9e}function A1(){A1=J,xd=new t8e}function qA(){this.q=new m.Date}function TV(e){this.a=u(st(e),229)}function zA(e){return u(e,45).jd()}function iwn(e){return(e.c+e.a)/2}function rwn(e){return e.e.a+e.f.a}function cwn(e){return e.e.b+e.f.b}function uwn(e){return e.b?e.b:e.a}function own(e,n){return e.a.a.cc(n)}function LMe(e,n){return Vxn(e.a,n)}function LD(e,n){return Su(e,n)>0}function _D(e,n){return Su(e,n)<0}function swn(e,n){return n.split(e)}function FD(e){return e.b<e.d.gc()}function _Me(e,n){return i_(e.a,n)}function fwn(e,n){$Ne.call(this,e,n)}function SV(e){M_(),xCn.call(this,e)}function IV(e){M_(),SV.call(this,e)}function PV(e){e_(),VTe.call(this,e)}function OV(e,n){OPe(e,e.length,n)}function Lk(e,n){sOe(e,e.length,n)}function y6(e,n){return e.a.get(n)}function FMe(e,n){return Au(e.e,n)}function NV(e){return bn(e),!1}function RMe(){return yAe(),new den}function _k(e){return Hn(e.a),e.b}function BMe(e,n){this.b=e,this.a=n}function UA(e,n){this.d=e,this.e=n}function JMe(e,n){this.a=e,this.b=n}function GMe(e,n){this.a=e,this.b=n}function HMe(e,n){this.a=e,this.b=n}function qMe(e,n){this.a=e,this.b=n}function zMe(e,n){this.b=e,this.a=n}function um(e,n){this.a=e,this.b=n}function XA(e,n){ot.call(this,e,n)}function RD(e,n){ot.call(this,e,n)}function BD(e,n){ot.call(this,e,n)}function JD(e,n){ot.call(this,e,n)}function GD(e,n){ot.call(this,e,n)}function KA(e,n){ot.call(this,e,n)}function WA(e){Ze.call(this,e,21)}function UMe(e,n){this.b=e,this.a=n}function $V(e,n){this.b=e,this.a=n}function DV(e,n){this.b=e,this.a=n}function LV(e,n){ot.call(this,e,n)}function HD(e,n){ot.call(this,e,n)}function Fk(e,n){ot.call(this,e,n)}function _V(e,n){this.b=e,this.a=n}function wv(e,n){this.c=e,this.d=n}function VA(e,n){ot.call(this,e,n)}function QA(e,n){ot.call(this,e,n)}function XMe(e,n){this.e=e,this.d=n}function om(e,n){ot.call(this,e,n)}function KMe(e,n){this.a=e,this.b=n}function FV(e,n){ot.call(this,e,n)}function Gi(e,n){ot.call(this,e,n)}function YA(e,n){ot.call(this,e,n)}function k6(e,n,t){e.splice(n,0,t)}function lwn(e,n,t){e.Mb(t)&&n.Ad(t)}function hwn(e,n,t){n.Ne(e.a.We(t))}function awn(e,n,t){n.Bd(e.a.Xe(t))}function dwn(e,n,t){n.Ad(e.a.Kb(t))}function bwn(e,n){return po(e.c,n)}function wwn(e,n){return po(e.e,n)}function WMe(e,n){this.a=e,this.b=n}function VMe(e,n){this.a=e,this.b=n}function QMe(e,n){this.a=e,this.b=n}function YMe(e,n){this.a=e,this.b=n}function ZMe(e,n){this.a=e,this.b=n}function eCe(e,n){this.a=e,this.b=n}function nCe(e,n){this.a=e,this.b=n}function tCe(e,n){this.a=e,this.b=n}function iCe(e,n){this.b=e,this.a=n}function rCe(e,n){this.b=e,this.a=n}function cCe(e,n){this.b=e,this.a=n}function uCe(e,n){this.b=n,this.c=e}function ZA(e,n){ot.call(this,e,n)}function Rk(e,n){ot.call(this,e,n)}function RV(e,n){ot.call(this,e,n)}function E6(e,n){ot.call(this,e,n)}function eM(e,n){ot.call(this,e,n)}function qD(e,n){ot.call(this,e,n)}function zD(e,n){ot.call(this,e,n)}function a2(e,n){ot.call(this,e,n)}function BV(e,n){ot.call(this,e,n)}function UD(e,n){ot.call(this,e,n)}function j6(e,n){ot.call(this,e,n)}function JV(e,n){ot.call(this,e,n)}function x6(e,n){ot.call(this,e,n)}function A6(e,n){ot.call(this,e,n)}function hw(e,n){ot.call(this,e,n)}function XD(e,n){ot.call(this,e,n)}function KD(e,n){ot.call(this,e,n)}function WD(e,n){ot.call(this,e,n)}function GV(e,n){ot.call(this,e,n)}function Bk(e,n){ot.call(this,e,n)}function HV(e,n){ot.call(this,e,n)}function d2(e,n){ot.call(this,e,n)}function aw(e,n){ot.call(this,e,n)}function VD(e,n){ot.call(this,e,n)}function nM(e,n){ot.call(this,e,n)}function Jk(e,n){ot.call(this,e,n)}function QD(e,n){ot.call(this,e,n)}function tM(e,n){ot.call(this,e,n)}function qV(e,n){ot.call(this,e,n)}function YD(e,n){ot.call(this,e,n)}function ZD(e,n){ot.call(this,e,n)}function eL(e,n){ot.call(this,e,n)}function nL(e,n){ot.call(this,e,n)}function tL(e,n){ot.call(this,e,n)}function iM(e,n){ot.call(this,e,n)}function oCe(e,n){this.b=e,this.a=n}function zV(e,n){ot.call(this,e,n)}function sCe(e,n){this.a=e,this.b=n}function fCe(e,n){this.a=e,this.b=n}function lCe(e,n){this.a=e,this.b=n}function UV(e,n){ot.call(this,e,n)}function XV(e,n){ot.call(this,e,n)}function hCe(e,n){this.a=e,this.b=n}function gwn(e,n){return jv(),n!=e}function iL(e){return gSn(e,e.c),e}function pwn(e){m.clearTimeout(e)}function KV(e,n){ot.call(this,e,n)}function WV(e,n){ot.call(this,e,n)}function aCe(e,n){this.a=e,this.b=n}function dCe(e,n){this.a=e,this.b=n}function bCe(e,n){this.b=e,this.d=n}function wCe(e,n){this.a=e,this.b=n}function gCe(e,n){this.b=e,this.a=n}function rM(e,n){ot.call(this,e,n)}function q0(e,n){ot.call(this,e,n)}function rL(e,n){ot.call(this,e,n)}function cM(e,n){ot.call(this,e,n)}function VV(e,n){ot.call(this,e,n)}function pCe(e,n){this.b=e,this.a=n}function mCe(e,n){this.b=e,this.a=n}function vCe(e,n){this.b=e,this.a=n}function yCe(e,n){this.b=e,this.a=n}function QV(e,n){ot.call(this,e,n)}function Gk(e,n){ot.call(this,e,n)}function YV(e,n){ot.call(this,e,n)}function cL(e,n){ot.call(this,e,n)}function uM(e,n){ot.call(this,e,n)}function uL(e,n){ot.call(this,e,n)}function oL(e,n){ot.call(this,e,n)}function oM(e,n){ot.call(this,e,n)}function sL(e,n){ot.call(this,e,n)}function ZV(e,n){ot.call(this,e,n)}function fL(e,n){ot.call(this,e,n)}function lL(e,n){ot.call(this,e,n)}function Hk(e,n){ot.call(this,e,n)}function hL(e,n){ot.call(this,e,n)}function eQ(e,n){ot.call(this,e,n)}function qk(e,n){ot.call(this,e,n)}function nQ(e,n){ot.call(this,e,n)}function tQ(e,n){this.a=e,this.b=n}function kCe(e,n){this.a=e,this.b=n}function ECe(e,n){this.a=e,this.b=n}function iQ(e,n){return po(e.g,n)}function mwn(e,n){return po(n.b,e)}function vwn(e,n){return-e.b.$e(n)}function zk(e,n){ot.call(this,e,n)}function sm(e,n){ot.call(this,e,n)}function M6(e,n){ot.call(this,e,n)}function C6(e,n){ot.call(this,e,n)}function Uk(e,n){ot.call(this,e,n)}function sM(e,n){ot.call(this,e,n)}function aL(e,n){ot.call(this,e,n)}function fM(e,n){ot.call(this,e,n)}function T6(e,n){ot.call(this,e,n)}function dL(e,n){ot.call(this,e,n)}function lM(e,n){ot.call(this,e,n)}function b2(e,n){ot.call(this,e,n)}function Xk(e,n){ot.call(this,e,n)}function S6(e,n){ot.call(this,e,n)}function I6(e,n){ot.call(this,e,n)}function bL(e,n){ot.call(this,e,n)}function Kk(e,n){ot.call(this,e,n)}function hM(e,n){ot.call(this,e,n)}function w2(e,n){ot.call(this,e,n)}function wL(e,n){ot.call(this,e,n)}function gL(e,n){ot.call(this,e,n)}function aM(e,n){ot.call(this,e,n)}function jCe(e,n){this.a=e,this.b=n}function xCe(e,n){this.a=e,this.b=n}function ACe(e,n){this.a=e,this.b=n}function be(e,n){this.a=e,this.b=n}function MCe(e,n){this.a=e,this.b=n}function CCe(e,n){this.a=e,this.b=n}function TCe(e,n){this.a=e,this.b=n}function Qr(e,n){this.a=e,this.b=n}function dM(e,n){ot.call(this,e,n)}function SCe(e,n){this.a=e,this.b=n}function ICe(e,n){this.a=e,this.b=n}function PCe(e,n){this.a=e,this.b=n}function OCe(e,n){this.a=e,this.b=n}function NCe(e,n){this.a=e,this.b=n}function $Ce(e,n){this.a=e,this.b=n}function DCe(e,n){this.b=e,this.a=n}function LCe(e,n){this.b=e,this.a=n}function _Ce(e,n){this.b=e,this.a=n}function FCe(e,n){this.b=e,this.a=n}function RCe(e,n){this.a=e,this.b=n}function BCe(e,n){this.a=e,this.b=n}function JCe(e,n){this.a=e,this.b=n}function GCe(e,n){this.a=e,this.b=n}function fm(e,n){ot.call(this,e,n)}function HCe(e,n){this.f=e,this.c=n}function qCe(){B_(),this.b=new Ji}function zCe(){MS(),this.a=new Ji}function UCe(){FM(),this.a=new sY}function bM(e,n){this.a=e,this.b=n}function XCe(e,n){this.a=e,this.b=n}function rQ(e,n){this.i=e,this.g=n}function cQ(e,n){this.d=e,this.e=n}function KCe(e,n){this.a=e,this.b=n}function WCe(e,n){this.a=e,this.b=n}function VCe(e,n){this.d=e,this.b=n}function QCe(e,n){this.e=e,this.a=n}function uQ(e,n){e.i=null,aT(e,n)}function ywn(e,n){e&&It(Ix,e,n)}function YCe(e,n){return vR(e.a,n)}function wM(e){return sE(e.c,e.b)}function dw(e){return typeof e===e3}function bw(e){return typeof e===oue}function mr(e){return typeof e===oJ}function Z(e){return e??null}function gM(e){return H6(e==null),e}function Lc(e){return e?e.kd():null}function ZCe(e){return qo(e),e.d.gc()}function M1(e,n){return e.Pd().Xb(n)}function pM(e,n){return K8n(e.Jc(),n)}function kwn(e,n){N9n(new Rn(e),n)}function Ewn(e,n,t){WGe(n,wB(e,t))}function jwn(e,n,t){WGe(n,wB(e,t))}function eTe(e,n){x9n(e.a,u(n,12))}function nTe(e,n){this.a=e,this.b=n}function Wk(e,n){this.b=e,this.c=n}function P6(e,n){return Su(e,n)==0}function mM(e,n){return Su(e,n)>=0}function O6(e,n){return Su(e,n)!=0}function oQ(e,n){return e.a+=""+n,e}function xwn(e){return""+(bn(e),e)}function tTe(e,n){e.q.setTime(Xd(n))}function N6(e,n){return e.a+=""+n,e}function ac(e,n){return e.a+=""+n,e}function $6(e,n){return e.a+=""+n,e}function Eu(e,n){return e.a+=""+n,e}function xt(e,n){return e.a+=""+n,e}function sQ(e){return en(e,0),null}function iTe(e){ou(this),wy(this,e)}function rTe(e,n){uZ.call(this,e,n)}function cTe(e,n){uZ.call(this,e,n)}function vM(e,n){uZ.call(this,e,n)}function uTe(){KZ(),vNe.call(this)}function oTe(){KZ(),vNe.call(this)}function sTe(){XZ(),eZ.call(this)}function fTe(){fTe=J,uon=lt(rRe())}function lTe(){lTe=J,rnn=lt(TR())}function hTe(){hTe=J,atn=lt(zze())}function aTe(){this.b=new cm(Bw(12))}function dTe(){this.b=0,this.a=!1}function bTe(){this.b=0,this.a=!1}function g2(e,n){ji(e,n,e.a,e.a.a)}function zr(e,n){ji(e,n,e.c.b,e.c)}function Ot(e,n){HA(),It(lN,e,n)}function qe(e,n){ai.call(this,e,n)}function pL(e,n){yw.call(this,e,n)}function p2(e,n){rQ.call(this,e,n)}function wTe(e,n){Zk.call(this,e,n)}function mL(e,n){Uv.call(this,e,n)}function D6(e){this.a=e,W$.call(this)}function gTe(e){this.a=e,W$.call(this)}function Qf(e){return e.a=0,e.b=0,e}function pTe(e,n){return e.a=n.g+1,e}function Awn(e,n){return e.j[n.p]==2}function vL(e,n){return tf(e.a,0,n)}function Mwn(e,n){return Qt(e.a,n.a)}function fQ(e,n){return ju(e.a,n.a)}function Cwn(e,n){return cOe(e.a,n.a)}function mTe(e,n){return Z(e)===Z(n)}function Kl(e,n){return e.indexOf(n)}function Twn(e){return st(e),new D6(e)}function vTe(e){return zu(e.l,e.m,e.h)}function lm(e){return Br((bn(e),e))}function Swn(e){return Br((bn(e),e))}function yTe(e,n){return ju(e.g,n.g)}function Ic(e){return typeof e===oue}function Iwn(e){return e==Lb||e==wg}function Pwn(e){return e==Lb||e==gg}function yM(e){return e<10?"0"+e:""+e}function lQ(e){return Rc(e.b.b,e,0)}function hQ(e,n){Fv(e,0,e.length,n)}function kTe(e,n){return me(e.a,n),n}function Own(e,n){return fs(),n.a+=e}function Nwn(e,n){return fs(),n.a+=e}function $wn(e,n){return fs(),n.c+=e}function Dwn(e,n){return me(e.c,n),e}function aQ(e,n){return ws(e.a,n),e}function ETe(e){this.a=RMe(),this.b=e}function jTe(e){this.a=RMe(),this.b=e}function Ur(e){this.a=e.a,this.b=e.b}function ph(){pW.call(this,new $1)}function xTe(){WM.call(this,0,0,0,0)}function hm(){Af.call(this,0,0,0,0)}function kM(e){return ws(new Li,e)}function ATe(e){return A_(u(e,125))}function Vo(e){return e.sh()&&e.th()}function m2(e){return e!=Jl&&e!=md}function Kh(e){return e==jc||e==Tc}function v2(e){return e==Xs||e==Rl}function MTe(e){return e==Mp||e==Ap}function Lwn(e,n){return Qt(n.f,e.f)}function _wn(e,n){return ju(e.g,n.g)}function CTe(e,n){return new Uv(n,e)}function Fwn(e,n){return new Uv(n,e)}function yL(e,n,t){iT(e,n),rT(e,t)}function z0(e,n,t){sb(e,n),ob(e,t)}function Is(e,n,t){Go(e,n),Ho(e,t)}function Vk(e,n,t){O2(e,n),N2(e,t)}function Qk(e,n,t){$2(e,n),D2(e,t)}function kL(e,n){e4(e,n),Gv(e,e.D)}function EL(e){HCe.call(this,e,!0)}function TTe(e,n,t){KQ.call(this,e,n,t)}function STe(){XA.call(this,"Head",1)}function ITe(){XA.call(this,"Tail",3)}function C1(e){ih(),Q8n.call(this,e)}function U0(e){WM.call(this,e,e,e,e)}function jL(e){e.c=ee(ir,ln,1,0,5,1)}function PTe(e){Tu(e.Qf(),new jW(e))}function y2(e){return e!=null?si(e):0}function Rwn(e,n){return Lw(n,ml(e))}function Bwn(e,n){return Lw(n,ml(e))}function Jwn(e,n){return e[e.length]=n}function Gwn(e,n){return e[e.length]=n}function Hwn(e,n){return fT(E_(e.f),n)}function qwn(e,n){return fT(E_(e.n),n)}function zwn(e,n){return fT(E_(e.p),n)}function dQ(e){return Ymn(e.b.Jc(),e.a)}function Uwn(e){return e==null?0:si(e)}function Tr(e,n){ai.call(this,e.b,n)}function Xwn(e,n){it(bu(e.a),c$e(n))}function Kwn(e,n){it(Jo(e.a),u$e(n))}function Wwn(e,n,t){Is(t,t.i+e,t.j+n)}function OTe(e,n,t){Ni(e.c[n.g],n.g,t)}function Vwn(e,n,t){u(e.c,72).Ei(n,t)}function xL(e,n,t){return Ni(e,n,t),t}function Qwn(e,n){$l||(e.b=n)}function bQ(){bQ=J,LW(),Xfe=new Wn}function NTe(){NTe=J,lU=new Cy(MX)}function gl(){gl=J,m.Math.log(2)}function Ps(){Ps=J,Hh=(NMe(),Iln)}function at(){at=J,new $Te,new ve}function $Te(){new Wn,new Wn,new Wn}function Ywn(){throw I(new Ta(RZe))}function Zwn(){throw I(new Ta(FZe))}function egn(){throw I(new Ta(FZe))}function ngn(){throw I(new Ta(RZe))}function L6(e){Bt(),B0.call(this,e)}function DTe(e){this.a=e,PY.call(this,e)}function AL(e){this.a=e,LA.call(this,e)}function ML(e){this.a=e,LA.call(this,e)}function ur(e,n){t_(e.c,e.c.length,n)}function _c(e){return e.a<e.c.c.length}function wQ(e){return e.a<e.c.a.length}function LTe(e,n){return e.a?e.b:n.Ue()}function ju(e,n){return e<n?-1:e>n?1:0}function gQ(e,n){return Su(e,n)>0?e:n}function zu(e,n,t){return{l:e,m:n,h:t}}function tgn(e,n){e.a!=null&&eTe(n,e.a)}function ign(e){Jr(e,null),xr(e,null)}function rgn(e,n,t){return It(e.g,t,n)}function cgn(e,n){st(n),M2(e).Ic(new ge)}function _Te(){YR(),this.a=new qy(Hle)}function EM(e){this.b=e,this.a=new ve}function FTe(e){this.b=new l$,this.a=e}function pQ(e){oY.call(this),this.a=e}function RTe(e){FZ.call(this),this.b=e}function BTe(){XA.call(this,"Range",2)}function jM(e){e.j=ee(ule,pe,325,0,0,1)}function JTe(e){e.a=new Oi,e.c=new Oi}function GTe(e){e.a=new Wn,e.e=new Wn}function HTe(e){G_(e,null),H_(e,null)}function ugn(e,n,t){return JLn(e,n,t),t}function ogn(e,n){return ls(),n.n.b+=e}function k2(e,n,t){return Jte(n,t,e.c)}function sgn(e,n,t){return It(e.k,t,n)}function fgn(e,n){return It(e.a,n.a,n)}function qTe(e,n){return HLn(e.a,n,null)}function mQ(e,n){return K(vn(e.i,n))}function vQ(e,n){return K(vn(e.j,n))}function _6(e,n){return ZDn(e.c,e.b,n)}function yQ(e){return new be(e.c,e.d)}function lgn(e){return new be(e.c,e.d)}function Xr(e){return new be(e.a,e.b)}function F(e,n){return e!=null&&OR(e,n)}function CL(e,n){return Skn(e.Jc(),n)!=-1}function xM(e){return e.Ob()?e.Pb():null}function hgn(e,n){return new dSe(e.Jc(),n)}function agn(e,n){e.q.setHours(n),Wy(e,n)}function dgn(e,n,t){e.c._c(n,u(t,136))}function bgn(e,n,t){e.c.Si(n,u(t,136))}function zTe(e,n){nt(e),e.Fc(u(n,16))}function kQ(e,n){return e.a.Ac(n)!=null}function UTe(e){return eh(e,0,e.length)}function XTe(){Zk.call(this,null,null)}function KTe(){IM.call(this,null,null)}function WTe(){ot.call(this,"INSTANCE",0)}function VTe(e){this.a=(tn(),new cv(e))}function wgn(e){this.b=(tn(),new uD(e))}function EQ(e){this.a=e,Wn.call(this)}function E2(){this.a=ee(ir,ln,1,8,5,1)}function ggn(e,n,t,i){Ni(e.a[n.g],t.g,i)}function TL(e,n,t){return e.a[n.g][t.g]}function pl(e,n){return e.a[n.c.p][n.p]}function pgn(e,n){return e.c[n.c.p][n.p]}function mgn(e,n){return e.e[n.c.p][n.p]}function vgn(e,n){return e.j[n.p]=xIn(n)}function ygn(e,n){return Cee(e.f,n.Og())}function kgn(e,n){return q(K(n.a))<=e}function Egn(e,n){return q(K(n.a))>=e}function SL(e,n){return e.a.Ac(n)!=null}function jgn(e,n){return e.a<JL(n)?-1:1}function am(e,n){return e.a*n.a+e.b*n.b}function xgn(e,n){return Cee(e.b,n.Og())}function Agn(e,n,t){return t?n!=0:n!=e-1}function QTe(e,n,t){e.a=n^1502,e.b=t^FJ}function Mgn(e,n,t){return e.a=n,e.b=t,e}function Wh(e,n){return e.a*=n,e.b*=n,e}function me(e,n){return jn(e.c,n),!0}function F6(e,n,t){return Ni(e.g,n,t),t}function YTe(e,n){e.c&&(JY(n),CNe(n))}function AM(e,n,t){Wi.call(this,e,n,t)}function Wi(e,n,t){a7.call(this,e,n,t)}function jQ(e,n,t){BM.call(this,e,n,t)}function ZTe(e,n,t){BM.call(this,e,n,t)}function eSe(e,n,t){jQ.call(this,e,n,t)}function go(e,n,t){Wi.call(this,e,n,t)}function nSe(e,n,t){AM.call(this,e,n,t)}function xQ(e,n,t){a7.call(this,e,n,t)}function j2(e,n,t){a7.call(this,e,n,t)}function tSe(e,n,t){xQ.call(this,e,n,t)}function T1(e){this.c=e,this.a=this.c.a}function Rn(e){this.i=e,this.f=this.i.j}function AQ(){this.Bb|=256,this.Bb|=512}function x2(e,n){this.a=e,LA.call(this,n)}function MQ(e,n){return rEn(e,new k1,n).a}function CQ(e){if(!e)throw I(new Mk)}function TQ(e){if(!e)throw I(new wo)}function SQ(){SQ=J,SQ(),gen=new Kn}function iSe(){iSe=J,DD(),chn=new Y8e}function gv(){gv=J,gle=new yD(null)}function Cgn(e){v7(e,hYe),kS(e,F_n(e))}function rSe(e){e.a=u(Mn(e.b.a,4),129)}function cSe(e){e.a=u(Mn(e.b.a,4),129)}function uSe(e){e.b.Qb(),--e.d.f.d,eC(e.d)}function IQ(e){this.a=e,ske.call(this,e.d)}function oSe(e,n){this.a=e,AD.call(this,n)}function sSe(e,n){this.a=e,AD.call(this,n)}function fSe(e,n){this.a=e,AD.call(this,n)}function PQ(e,n){this.a=n,AD.call(this,e)}function lSe(e,n){this.a=n,Y_.call(this,e)}function hSe(e,n){this.a=e,Y_.call(this,n)}function aSe(e,n){this.a=n,_A.call(this,e)}function dSe(e,n){this.a=n,_A.call(this,e)}function In(e,n){return st(n),new aSe(e,n)}function bSe(e,n){return new ZHe(e.a,e.b,n)}function MM(e,n){return e.lastIndexOf(n)}function OQ(e,n,t){return e.indexOf(n,t)}function R6(e){return e==null?co:Oc(e)}function Tgn(e){return e==null?null:e.name}function Sgn(e){return e.l+e.m*r3+e.h*s0}function Ign(e){return Tk(e.a)?o$e(e):null}function wSe(e){Z$.call(this,u(st(e),35))}function gSe(e){Z$.call(this,u(st(e),35))}function ef(e){Ek.call(this,(bn(e),e))}function ss(e){Ek.call(this,(bn(e),e))}function IL(e){pW.call(this,new Dee(e))}function CM(e){Z3.call(this,e),this.a=e}function NQ(e){s2.call(this,e),this.a=e}function $Q(e){cv.call(this,e),this.a=e}function DQ(e){aD.call(this),Gr(this,e)}function pSe(e){this.a=e,cD.call(this,e)}function mSe(){jM(this),gC(this),this.he()}function gn(){gn=J,id=!1,o5=!0}function Yk(e,n,t){return BF(e,n,n,t),e}function vSe(e,n){return me(n.b,e.a),e.a}function ySe(e,n){return me(n.a,e.a),e.a}function X0(e,n){return me(n.a,e.a),e.a}function Qo(e){return Hn(e.a!=null),e.a}function dm(e){return e.a!=null?e.a:null}function K0(e){return e.$H||(e.$H=++oRn)}function B6(e){return _c(e.a)||_c(e.b)}function Pgn(e,n){return Qt(e.c.d,n.c.d)}function Ogn(e,n){return Qt(e.c.c,n.c.c)}function Ngn(e,n){return Qt(e.n.a,n.n.a)}function Zu(e,n){return u(Xt(e.b,n),16)}function $gn(e,n){return e.n.b=(bn(n),n)}function Dgn(e,n){return e.n.b=(bn(n),n)}function po(e,n){return!!n&&e.b[n.g]==n}function Lgn(e,n){return Qt(e.e.b,n.e.b)}function _gn(e,n){return Qt(e.e.a,n.e.a)}function Fgn(e,n,t){return rDe(e,n,t,e.b)}function LQ(e,n,t){return rDe(e,n,t,e.c)}function Rgn(e){return fs(),!!e&&!e.dc()}function TM(e,n){return++e.b,me(e.a,n)}function _Q(e,n){return++e.b,no(e.a,n)}function FQ(e,n){Vte.call(this,e,n,null)}function SM(e,n){s_(),this.f=n,this.d=e}function Zk(e,n){v6(),this.a=e,this.b=n}function IM(e,n){$a(),this.b=e,this.c=n}function kSe(){w6(),this.b=new D7e(this)}function bm(e){this.d=e,Rn.call(this,e)}function wm(e){this.c=e,Rn.call(this,e)}function e7(e){this.c=e,bm.call(this,e)}function ESe(e,n,t,i){tZ.call(this,e,n,t,i)}function RQ(e,n,t){u(_7(e,n),22).Ec(t)}function Bgn(e,n,t){lR(e.a,t),YT(e.a,n)}function Jgn(e,n){return o_(e.c).Kd().Xb(n)}function PL(e,n){return new AIe(e,e.gc(),n)}function Ggn(e){return new Ow(3,e)}function mh(e){return bs(e,rg),new Fu(e)}function Hgn(e){return SA(),ft((RNe(),XZe),e)}function jSe(e){return Nv(),parseInt(e)||-1}function pv(e,n,t){return OQ(e,io(n),t)}function mv(e,n,t){var i;i=e.dd(n),i.Rb(t)}function Da(e){var n;n=e.a,e.a=e.b,e.b=n}function BQ(e,n){Aee(n,e),this.c=e,this.b=n}function qgn(e,n){return BF(e,n,n+1,""),e}function vv(e){return Hn(e.b!=0),e.a.a.c}function jf(e){return Hn(e.b!=0),e.c.b.c}function PM(){PM=J,cP=new ai(YWe,0)}function xSe(e){return e.b=u(NZ(e.a),45)}function zgn(e){return e.f!=null?e.f:""+e.g}function OL(e){return e.f!=null?e.f:""+e.g}function ASe(e){e.d=new SSe(e),e.e=new Wn}function MSe(e){if(!e)throw I(new Ss)}function JQ(e){if(!e)throw I(new Mk)}function ww(e){if(!e)throw I(new wo)}function Ugn(e){if(!e)throw I(new lD)}function Hn(e){if(!e)throw I(new $c)}function CSe(e){FA(),this.b=e,this.a=!0}function NL(e){fw(),this.b=e,this.a=!0}function TSe(e){cJ(),Vje(this),this.Df(e)}function SSe(e){OY.call(this,e,null,null)}function ISe(e){this.c=e,this.a=1,this.b=1}function Xgn(e){return ca(),e.e.b+e.f.b/2}function Kgn(e){return ca(),e.e.a+e.f.a/2}function Wgn(e,n,t){return ca(),t.e.a-e*n}function Vgn(e,n,t){return ca(),t.e.b-e*n}function Qgn(e,n,t){return RA(),t.Lg(e,n)}function Ygn(e,n){return z1(),Qe(e,n.e,n)}function Zgn(e,n,t){return me(n,WBe(e,t))}function gw(e,n){return u(El(e.a,n),35)}function Ht(e,n){return!!e.q&&Au(e.q,n)}function e2n(e,n){return e>0?n*n/e:n*n*100}function n2n(e,n){return e>0?n/(e*e):n*100}function GQ(e,n){return e.a=n.a,e.b=n.b,e}function OM(e){return e.a=-e.a,e.b=-e.b,e}function PSe(e,n,t){return e.a-=n,e.b-=t,e}function pw(e,n,t){return e.a+=n,e.b+=t,e}function t2n(e,n,t){zC(),e.nf(n)&&t.Ad(e)}function OSe(e){this.c=e,Go(e,0),Ho(e,0)}function NSe(e){ni.call(this),ay(this,e)}function $Se(){ot.call(this,"GROW_TREE",0)}function Yo(e,n,t){vo.call(this,e,n,t,2)}function DSe(e,n){v6(),Zk.call(this,e,n)}function HQ(e,n){$a(),IM.call(this,e,n)}function LSe(e,n){$a(),IM.call(this,e,n)}function _Se(e,n){$a(),HQ.call(this,e,n)}function i2n(e,n){return e.c.Ec(u(n,136))}function r2n(e,n){return u(vn(e.e,n),26)}function c2n(e,n){return u(vn(e.e,n),26)}function u2n(e,n,t){Ay(Jo(e.a),n,u$e(t))}function o2n(e,n,t){Ay(bu(e.a),n,c$e(t))}function $L(e,n){Ps(),YM.call(this,e,n)}function qQ(e,n){Ps(),YM.call(this,e,n)}function FSe(e,n){Ps(),YM.call(this,e,n)}function RSe(e,n){Ps(),$L.call(this,e,n)}function zQ(e,n){Ps(),$L.call(this,e,n)}function BSe(e,n){Ps(),zQ.call(this,e,n)}function JSe(e,n){Ps(),qQ.call(this,e,n)}function UQ(e,n,t){return _S(F7(e,n),t)}function s2n(e,n,t){return n.xl(e.e,e.c,t)}function f2n(e,n,t){return n.yl(e.e,e.c,t)}function DL(e,n){return J1(e.e,u(n,52))}function GSe(e,n){return bn(e),e+JL(n)}function l2n(e){return e==null?null:Oc(e)}function h2n(e){return e==null?null:Oc(e)}function a2n(e){return e==null?null:S_n(e)}function d2n(e){return e==null?null:$Cn(e)}function Vh(e){e.o==null&&ZSn(e)}function Te(e){return H6(e==null||dw(e)),e}function K(e){return H6(e==null||bw(e)),e}function dt(e){return H6(e==null||mr(e)),e}function n7(e){F(e,161)&&u(e,161).mi()}function XQ(){yFe.call(this),this.Bb|=Yr}function b2n(e,n){this.d=e,Nke(this),this.b=n}function t7(e,n){this.c=e,lv.call(this,e,n)}function J6(e,n){this.a=e,t7.call(this,e,n)}function KQ(e,n,t){HC.call(this,e,n,t,null)}function HSe(e,n,t){HC.call(this,e,n,t,null)}function WQ(e,n){lF.call(this,e),this.a=n}function VQ(e,n){lF.call(this,e),this.a=n}function w2n(e,n){return BR(e,n),new DOe(e,n)}function g2n(e,n,t){return e.Le(n,t)<=0?t:n}function p2n(e,n,t){return e.Le(n,t)<=0?n:t}function qSe(e){return bn(e),e?1231:1237}function m2n(e,n){n.a?ySn(e,n):SL(e.a,n.b)}function zSe(e,n){$l||me(e.a,n)}function v2n(e,n){return $k(),zv(n.d.i,e)}function y2n(e,n){return Lm(),new _Ue(n,e)}function k2n(e,n){return u(El(e.b,n),144)}function E2n(e,n){return u(El(e.c,n),233)}function LL(e){return u(Ce(e.a,e.b),295)}function USe(e){return new be(e.c,e.d+e.a)}function XSe(e){return ls(),MTe(u(e,203))}function QQ(e,n){return u(vn(e.b,n),278)}function Wl(e,n){return v7(n,Mue),e.f=n,e}function YQ(e,n,t){return t=ms(e,n,3,t),t}function ZQ(e,n,t){return t=ms(e,n,6,t),t}function eY(e,n,t){return t=ms(e,n,9,t),t}function i7(e,n,t){++e.j,e.rj(),fF(e,n,t)}function KSe(e,n,t){++e.j,e.oj(n,e.Xi(n,t))}function WSe(e,n,t){var i;i=e.dd(n),i.Rb(t)}function VSe(e,n){this.c=e,ub.call(this,n)}function QSe(e,n){this.a=e,qje.call(this,n)}function r7(e,n){this.a=e,qje.call(this,n)}function nY(e){this.q=new m.Date(Xd(e))}function YSe(){this.a=new ib,this.b=new ib}function yv(){yv=J,Ox=new Mxe,new Cxe}function A2(){A2=J,Sp=new Vt("root")}function mw(){mw=J,jle=Je((rs(),I0))}function c7(e){e.b?c7(e.b):e.f.c.yc(e.e,e.d)}function _L(e){this.a=(tn(),new rD(st(e)))}function ZSe(e){this.a=(bs(e,rg),new Fu(e))}function eIe(e){this.a=(bs(e,rg),new Fu(e))}function j2n(e){return e==null?null:e.message}function FL(e){return String.fromCharCode(e)}function x2n(e){return wt(Rd(e,32))^wt(e)}function tY(e,n){return(n&_t)%e.d.length}function nIe(e,n,t){return Bce(e.c,e.b,n,t)}function A2n(e,n,t){return e.apply(n,t)}function iY(e,n,t){return Em(e,u(n,24),t)}function tIe(e,n,t){return e.a+=eh(n,0,t),e}function rY(e,n){var t;return t=e.e,e.e=n,t}function cY(e,n){var t;return t=n,!!e.De(t)}function M2n(e,n){var t;t=e[_J],t.call(e,n)}function C2n(e,n){var t;t=e[_J],t.call(e,n)}function vw(e,n){e.a._c(e.b,n),++e.b,e.c=-1}function iIe(e){ou(e.e),e.d.b=e.d,e.d.a=e.d}function T2n(e,n,t){Nd(),Ike(e,n.Te(e.a,t))}function Dd(e,n){return gn(),e==n?0:e?1:-1}function xf(e,n){return PA(new Array(n),e)}function ai(e,n){Vt.call(this,e),this.a=n}function uY(e,n){PW.call(this,e),this.a=n}function RL(e,n){PW.call(this,e),this.a=n}function rIe(){NM.call(this),this.a=new Cr}function oY(){this.n=new Cr,this.o=new Cr}function cIe(){this.b=new Cr,this.c=new ve}function uIe(){this.a=new ve,this.b=new ve}function oIe(){this.a=new Wx,this.b=new ixe}function sY(){this.b=new $1,this.a=new $1}function sIe(){this.b=new Ji,this.a=new Ji}function fIe(){this.a=new ve,this.d=new ve}function lIe(){this.b=new Wn,this.a=new Wn}function hIe(){this.b=new LAe,this.a=new b4e}function aIe(){this.a=new w8e,this.b=new ive}function NM(){this.n=new Yp,this.i=new hm}function u7(e){return!e.a&&(e.a=new Ln),e.a}function zt(e,n){return e.a+=n.a,e.b+=n.b,e}function fr(e,n){return e.a-=n.a,e.b-=n.b,e}function S2n(e){return iw(e.j.c,0),e.a=-1,e}function fY(e,n,t){return t=ms(e,n,11,t),t}function dIe(e,n,t){t!=null&&lT(n,HR(e,t))}function bIe(e,n,t){t!=null&&hT(n,HR(e,t))}function gm(e,n,t,i){se.call(this,e,n,t,i)}function lY(e,n,t,i){WM.call(this,e,n,t,i)}function hY(e,n,t,i){se.call(this,e,n,t,i)}function wIe(e,n,t,i){hY.call(this,e,n,t,i)}function gIe(e,n,t,i){cC.call(this,e,n,t,i)}function BL(e,n,t,i){cC.call(this,e,n,t,i)}function pIe(e,n,t,i){BL.call(this,e,n,t,i)}function aY(e,n,t,i){cC.call(this,e,n,t,i)}function hn(e,n,t,i){aY.call(this,e,n,t,i)}function dY(e,n,t,i){BL.call(this,e,n,t,i)}function mIe(e,n,t,i){dY.call(this,e,n,t,i)}function vIe(e,n,t,i){oZ.call(this,e,n,t,i)}function yw(e,n){Lu.call(this,A9+e+d0+n)}function I2n(e,n){Kh(e.f)?zSn(e,n):_Mn(e,n)}function bY(e,n){return e.hk().ti().oi(e,n)}function wY(e,n){return e.hk().ti().qi(e,n)}function P2n(e,n){return e.n.a=(bn(n),n+10)}function O2n(e,n){return e.n.a=(bn(n),n+10)}function N2n(e,n){return e.e=u(e.d.Kb(n),162)}function $2n(e,n){return n==e||b4(yS(n),e)}function gY(e,n,t){return e.lastIndexOf(n,t)}function We(e,n){return bn(e),Z(e)===Z(n)}function yIe(e,n){return bn(e),Z(e)===Z(n)}function kIe(e,n){return It(e.a,n,"")==null}function D2n(e,n){return e.b.zd(new GMe(e,n))}function L2n(e,n){return e.b.zd(new HMe(e,n))}function EIe(e,n){return e.b.zd(new qMe(e,n))}function _2n(e,n){return ie(n,(ye(),Gj),e)}function F2n(e,n,t){return Qt(e[n.a],e[t.a])}function R2n(e,n){return ju(e.a.d.p,n.a.d.p)}function B2n(e,n){return ju(n.a.d.p,e.a.d.p)}function J2n(e,n){return $k(),!zv(n.d.i,e)}function G2n(e,n){$l||n&&(e.d=n)}function jIe(e,n){t3n.call(this,e,e.length,n)}function xIe(e){this.c=e,vM.call(this,qE,0)}function AIe(e,n,t){this.a=e,BQ.call(this,n,t)}function pY(e,n){this.c=e,g_.call(this,e,n)}function MIe(e,n,t){this.c=n,this.b=t,this.a=e}function o7(e){jv(),this.d=e,this.a=new E2}function H2n(e){return e<100?null:new E1(e)}function CIe(e){return e.c?Rc(e.c.a,e,0):-1}function q2n(e,n){return Qt(e.c.e.a,n.c.e.a)}function z2n(e,n){return Qt(e.b.e.a,n.b.e.a)}function U2n(e,n){return Qt(e.c-e.s,n.c-n.s)}function X2n(e,n,t){return u(e.c,72).Uk(n,t)}function $M(e,n,t){return u(e.c,72).Vk(n,t)}function K2n(e,n,t){return s2n(e,u(n,344),t)}function mY(e,n,t){return f2n(e,u(n,344),t)}function W2n(e,n,t){return cHe(e,u(n,344),t)}function TIe(e,n,t){return WMn(e,u(n,344),t)}function SIe(e,n){return F(n,16)&&pUe(e.c,n)}function G6(e,n){return n==null?null:Gw(e.b,n)}function pm(e){return e==S0||e==Jh||e==yu}function JL(e){return bw(e)?(bn(e),e):e.se()}function DM(e){return!isNaN(e)&&!isFinite(e)}function GL(e){JTe(this),es(this),Gr(this,e)}function Co(e){jL(this),NY(this.c,0,e.Nc())}function Os(e,n,t){this.a=e,this.b=n,this.c=t}function IIe(e,n,t){this.a=e,this.b=n,this.c=t}function PIe(e,n,t){this.d=e,this.b=t,this.a=n}function OIe(e){this.a=e,Na(),tu(Date.now())}function kv(e){if(!e)throw I(new gc(sue))}function vY(e,n){if(!e)throw I(new xn(n))}function HL(e,n){if(e!=n)throw I(new Ss)}function qL(){qL=J,wle=new gr,ben=new Ki}function zL(e){var n;return n=new QN,n.e=e,n}function V2n(e,n){var t;return t=n.ni(e.a),t}function Q2n(e,n,t){return Nd(),e.a.Wd(n,t),n}function NIe(e){Fo(e.a),Oee(e.c,e.b),e.b=null}function Y2n(e){return GS(),ft((lTe(),rnn),e)}function Z2n(e){return to(),ft((oLe(),Den),e)}function epn(e){return So(),ft((uLe(),Nen),e)}function npn(e){return Rv(),ft((ULe(),pen),e)}function tpn(e){return Fs(),ft((fLe(),jen),e)}function ipn(e){return il(),ft((sLe(),Pen),e)}function rpn(e){return lb(),ft((WLe(),unn),e)}function cpn(e){return YC(),ft(($De(),wnn),e)}function upn(e){return sy(),ft((lLe(),Jnn),e)}function opn(e){return dr(),ft((P_e(),znn),e)}function spn(e){return Wv(),ft((VLe(),Vnn),e)}function fpn(e){return Hm(),ft((KLe(),ttn),e)}function lpn(e){return pn(),ft((tRe(),utn),e)}function yY(e){WM.call(this,e.d,e.c,e.a,e.b)}function UL(e){WM.call(this,e.d,e.c,e.a,e.b)}function kY(e,n,t){this.b=e,this.c=n,this.a=t}function LM(e,n,t){this.b=e,this.a=n,this.c=t}function $Ie(e,n,t){this.a=e,this.b=n,this.c=t}function DIe(e,n,t){this.a=e,this.b=n,this.c=t}function EY(e,n,t){this.a=e,this.b=n,this.c=t}function LIe(e,n,t){this.b=e,this.a=n,this.c=t}function _M(e,n,t){this.e=n,this.b=e,this.d=t}function jY(e){var n;return n=new fxe,n.b=e,n}function s7(){s7=J,hP=new Tpe,aP=new Spe}function FM(){FM=J,ptn=new rme,gtn=new ume}function fs(){fs=J,Etn=new d3e,jtn=new b3e}function _Ie(){_Ie=J,Dln=ee(ir,ln,1,0,5,1)}function FIe(){FIe=J,Zln=ee(ir,ln,1,0,5,1)}function xY(){xY=J,ehn=ee(ir,ln,1,0,5,1)}function hpn(e){return qv(),ft((DDe(),htn),e)}function apn(e){return kr(),ft((hTe(),atn),e)}function dpn(e){return xT(),ft((XLe(),wtn),e)}function bpn(e){return Pf(),ft((e_e(),Mtn),e)}function wpn(e){return Xw(),ft((N_e(),Ttn),e)}function gpn(e){return qC(),ft((vDe(),Ltn),e)}function ppn(e){return Xm(),ft((rFe(),Dtn),e)}function mpn(e){return Ty(),ft((QLe(),_tn),e)}function vpn(e){return uT(),ft((ALe(),Ftn),e)}function ypn(e){return ME(),ft((gRe(),Rtn),e)}function kpn(e){return G7(),ft((yDe(),Btn),e)}function Epn(e){return Yd(),ft((MLe(),Gtn),e)}function jpn(e){return fb(),ft((bLe(),Ntn),e)}function xpn(e){return mE(),ft((uFe(),ztn),e)}function Apn(e){return dS(),ft((cFe(),Htn),e)}function Mpn(e){return D7(),ft((mDe(),qtn),e)}function Cpn(e){return g4(),ft((oFe(),Utn),e)}function Tpn(e){return cc(),ft((PRe(),Xtn),e)}function Spn(e){return Xv(),ft((hLe(),Ktn),e)}function Ipn(e){return F1(),ft((aLe(),Wtn),e)}function Ppn(e){return ra(),ft((dLe(),Qtn),e)}function Opn(e){return PC(),ft((kDe(),Ytn),e)}function Npn(e){return TS(),ft((iRe(),$tn),e)}function $pn(e){return ts(),ft((__e(),ein),e)}function Dpn(e){return LC(),ft((EDe(),nin),e)}function Lpn(e){return TE(),ft((pRe(),qcn),e)}function _pn(e){return ky(),ft((vLe(),zcn),e)}function Fpn(e){return Uw(),ft((YLe(),Ucn),e)}function Rpn(e){return Py(),ft((O_e(),Xcn),e)}function Bpn(e){return K1(),ft((IRe(),Kcn),e)}function Jpn(e){return la(),ft((ZLe(),Wcn),e)}function Gpn(e){return R7(),ft((jDe(),Vcn),e)}function Hpn(e){return rc(),ft((pLe(),Ycn),e)}function qpn(e){return yT(),ft((gLe(),Zcn),e)}function zpn(e){return vy(),ft((wLe(),eun),e)}function Upn(e){return Zv(),ft((mLe(),nun),e)}function Xpn(e){return cT(),ft((yLe(),tun),e)}function Kpn(e){return ET(),ft((kLe(),iun),e)}function Wpn(e){return n0(),ft((n_e(),Eun),e)}function Vpn(e){return cy(),ft((xDe(),Cun),e)}function Qpn(e){return Vl(),ft((ADe(),$un),e)}function Ypn(e){return vl(),ft((MDe(),Lun),e)}function Zpn(e){return el(),ft((CDe(),Qun),e)}function emn(e){return rb(),ft((TDe(),ron),e)}function nmn(e){return Um(),ft((r_e(),con),e)}function tmn(e){return Xy(),ft((fTe(),uon),e)}function imn(e){return my(),ft((ELe(),oon),e)}function rmn(e){return yy(),ft((i_e(),Ion),e)}function cmn(e){return TC(),ft((SDe(),Pon),e)}function umn(e){return wT(),ft((IDe(),Lon),e)}function omn(e){return sS(),ft(($_e(),Fon),e)}function smn(e){return nE(),ft((jLe(),Bon),e)}function fmn(e){return UC(),ft((PDe(),Ron),e)}function lmn(e){return eS(),ft((t_e(),usn),e)}function hmn(e){return kT(),ft((TLe(),osn),e)}function amn(e){return JT(),ft((CLe(),ssn),e)}function dmn(e){return lS(),ft((c_e(),lsn),e)}function bmn(e){return DT(),ft((xLe(),dsn),e)}function wmn(e){return FC(),ft((ODe(),Dsn),e)}function gmn(e){return XC(),ft((ILe(),Lsn),e)}function pmn(e){return PT(),ft((SLe(),_sn),e)}function mmn(e){return GA(),ft((Z$e(),Hsn),e)}function vmn(e){return cE(),ft((PLe(),Bsn),e)}function ymn(e){return JA(),ft((Y$e(),Jsn),e)}function kmn(e){return I7(),ft((NDe(),qsn),e)}function Emn(e){return yE(),ft((L_e(),zsn),e)}function jmn(e){return Hy(),ft((D_e(),Rsn),e)}function xmn(e){return g6(),ft((eDe(),ofn),e)}function Amn(e){return W7(),ft((LDe(),sfn),e)}function Mmn(e){return th(),ft((F_e(),bfn),e)}function Cmn(e){return c0(),ft((eRe(),gfn),e)}function Tmn(e){return Mh(),ft((sFe(),pfn),e)}function Smn(e){return r0(),ft((hFe(),jfn),e)}function Imn(e){return Vi(),ft((R_e(),Wfn),e)}function Pmn(e){return n4(),ft((u_e(),Vfn),e)}function Omn(e){return jl(),ft((OLe(),Qfn),e)}function Nmn(e){return fa(),ft((o_e(),Yfn),e)}function $mn(e){return hS(),ft((aFe(),Zfn),e)}function Dmn(e){return sa(),ft((NLe(),nln),e)}function Lmn(e){return gs(),ft((s_e(),iln),e)}function _mn(e){return Qw(),ft((bRe(),rln),e)}function Fmn(e){return B2(),ft((J_e(),cln),e)}function Rmn(e){return yr(),ft((fFe(),uln),e)}function Bmn(e){return Io(),ft((lFe(),oln),e)}function Jmn(e){return ke(),ft((B_e(),sln),e)}function Gmn(e){return ly(),ft(($Le(),dln),e)}function Hmn(e){return rs(),ft((l_e(),bln),e)}function qmn(e){return Uo(),ft((wRe(),wln),e)}function zmn(e){return Bm(),ft((DLe(),gln),e)}function Umn(e){return DC(),ft((f_e(),pln),e)}function Xmn(e){return _T(),ft((h_e(),mln),e)}function Kmn(e){return MT(),ft((a_e(),kln),e)}function Wmn(e,n){return bn(e),e+(bn(n),n)}function XL(e,n){this.c=e,this.a=n,this.b=n-e}function RIe(e,n,t){this.a=e,this.c=n,this.b=t}function BIe(e,n,t){this.a=e,this.c=n,this.b=t}function JIe(e,n,t){this.a=e,this.b=n,this.c=t}function AY(e,n,t){this.a=e,this.b=n,this.c=t}function MY(e,n,t){this.a=e,this.b=n,this.c=t}function KL(e,n,t){this.a=e,this.b=n,this.c=t}function GIe(e,n,t){this.a=e,this.b=n,this.c=t}function HIe(e,n,t){this.a=e,this.b=n,this.c=t}function La(e,n,t){this.e=e,this.a=n,this.c=t}function qIe(e,n,t){Ps(),JZ.call(this,e,n,t)}function WL(e,n,t){Ps(),kZ.call(this,e,n,t)}function CY(e,n,t){Ps(),kZ.call(this,e,n,t)}function TY(e,n,t){Ps(),kZ.call(this,e,n,t)}function zIe(e,n,t){Ps(),WL.call(this,e,n,t)}function SY(e,n,t){Ps(),WL.call(this,e,n,t)}function UIe(e,n,t){Ps(),SY.call(this,e,n,t)}function XIe(e,n,t){Ps(),CY.call(this,e,n,t)}function KIe(e,n,t){Ps(),TY.call(this,e,n,t)}function Vmn(e){return m4(),ft((nRe(),$ln),e)}function f7(e,n){return st(e),st(n),new ZAe(e,n)}function mm(e,n){return st(e),st(n),new oPe(e,n)}function Qmn(e,n){return st(e),st(n),new sPe(e,n)}function Ymn(e,n){return st(e),st(n),new lMe(e,n)}function IY(e,n){Hbn.call(this,e,$T(new Uc(n)))}function WIe(e,n){this.c=e,this.b=n,this.a=!1}function PY(e){this.d=e,Nke(this),this.b=q3n(e.d)}function OY(e,n,t){this.c=e,UA.call(this,n,t)}function Zmn(e){return!e.c&&(e.c=new Y3),e.c}function e3n(e){return!e.e&&(e.e=new ve),e.e}function Ev(e){var n;return n=new ve,kF(n,e),n}function n3n(e){var n;return n=new Ji,kF(n,e),n}function VIe(e){var n;return n=new aD,$F(n,e),n}function l7(e){var n;return n=new ni,$F(n,e),n}function u(e,n){return H6(e==null||OR(e,n)),e}function t3n(e,n,t){QPe.call(this,n,t),this.a=e}function QIe(e,n,t){this.b=e,rTe.call(this,n,t)}function NY(e,n,t){Are(t,0,e,n,t.length,!1)}function h7(e,n){if(!e)throw I(new xn(n))}function vm(e,n){if(!e)throw I(new gc(n))}function $Y(e,n){if(!e)throw I(new nAe(n))}function i3n(e,n){n&&(e.b=n,e.a=(I1(n),n.a))}function vh(e,n,t,i,r){e.b=n,e.c=t,e.d=i,e.a=r}function DY(e,n,t,i,r){e.d=n,e.c=t,e.a=i,e.b=r}function LY(e){var n,t;t=e.d,n=e.a,e.d=n,e.a=t}function _Y(e){var n,t;n=e.b,t=e.c,e.b=t,e.c=n}function r3n(e){return Hn(e.b!=0),Ds(e,e.c.b)}function VL(e){return Hn(e.b!=0),Ds(e,e.a.a)}function c3n(e,n){return ca(),Qt(e.e.a,n.e.a)}function u3n(e,n){return ca(),Qt(e.e.b,n.e.b)}function o3n(e,n){return BA(),ju(e.d.p,n.d.p)}function s3n(e,n){return ju(dPe(e.d),dPe(n.d))}function RM(e,n){return n&&hC(e,n.d)?n:null}function f3n(e,n){return n==(ke(),Tn)?e.c:e.d}function jv(){jv=J,Cde=(ke(),Tn),vO=$n}function YIe(){this.b=q(K(Ae(($f(),vq))))}function ZIe(){this.a=";,;",this.b="",this.c=""}function FY(e,n,t){wv.call(this,e,n),this.b=t}function a7(e,n,t){cQ.call(this,e,n),this.c=t}function RY(e){xY(),aA.call(this),this._h(e)}function ePe(e,n,t){this.a=e,p2.call(this,n,t)}function nPe(e,n,t){this.a=e,p2.call(this,n,t)}function BM(e,n,t){cQ.call(this,e,n),this.c=t}function tPe(){Lv(),Avn.call(this,(x1(),pf))}function iPe(e){return Bt(),new yh(0,e)}function rPe(){rPe=J,HX=(tn(),new rD(LH))}function l3n(e){return new be(e.c+e.b,e.d+e.a)}function cPe(e){return e!=null&&!gR(e,U8,X8)}function h3n(e,n){return($Be(e)<<4|$Be(n))&Qi}function a3n(e,n){var t;return t=e.c,bne(e,n),t}function BY(e,n){return n<0?e.g=-1:e.g=n,e}function JM(e,n){return i8n(e),e.a*=n,e.b*=n,e}function uPe(e,n,t,i,r){e.c=n,e.d=t,e.b=i,e.a=r}function At(e,n){return ji(e,n,e.c.b,e.c),!0}function JY(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function QL(e){this.b=e,this.a=Fd(this.b.a).Md()}function oPe(e,n){this.b=e,this.a=n,W$.call(this)}function sPe(e,n){this.a=e,this.b=n,W$.call(this)}function fPe(e,n){QPe.call(this,n,1040),this.a=e}function lPe(e){BQ.call(this,e.length,0),this.a=e}function H6(e){if(!e)throw I(new rv(null))}function GM(e){var n;return n=e.slice(),dF(n,e)}function HM(e){var n;return n=e.n,e.a.b+n.d+n.a}function hPe(e){var n;return n=e.n,e.e.b+n.d+n.a}function GY(e){var n;return n=e.n,e.e.a+n.b+n.c}function d3n(e){return e.a?e.a:I_(e)}function W0(e,n){return Dy(e,new wv(n.a,n.b))}function b3n(e){return!_r(e)&&e.c.i.c==e.d.i.c}function w3n(e,n){return e.c<n.c?-1:e.c==n.c?0:1}function aPe(e){return e.b.c.length-e.e.c.length}function dPe(e){return e.e.c.length-e.g.c.length}function YL(e){return e.e.c.length+e.g.c.length}function d7(e){return e==0||isNaN(e)?e:e<0?-1:1}function bPe(e){return $m(),ee(jO,EI,40,e,0,1)}function g3n(e,n,t){return It(e.b,u(t.b,17),n)}function p3n(e,n,t){return It(e.b,u(t.b,17),n)}function m3n(e,n,t){return ca(),t.e.b+t.f.b+e*n}function v3n(e,n,t){return ca(),t.e.a+t.f.a+e*n}function y3n(e){return ls(),(ke(),Qu).Gc(e.j)}function k3n(e,n){return me(e,new be(n.a,n.b))}function xv(e,n,t){var i;i=new Mw(t),Tf(e,n,i)}function HY(e,n,t){var i;return i=e[n],e[n]=t,i}function qM(e,n){var t;return++e.j,t=e.Aj(n),t}function kt(e,n,t){return e.a=-1,RQ(e,n.g,t),e}function qY(e,n,t,i){zte.call(this,e,n,t,i,0,0)}function zM(e,n){Wk.call(this,e,n),this.a=this}function wPe(e){xY(),RY.call(this,e),this.a=-1}function gPe(){gL.call(this,"COUNT_CHILDREN",0)}function zY(){vh(this,!1,!1,!1,!1)}function pPe(){pPe=J,nle=ee(Zi,pe,15,256,0,1)}function UM(){UM=J,new Zte((mD(),KH),(vD(),XH))}function E3n(e){e.a.jd(),u(e.a.kd(),18).gc(),tV()}function mPe(e){return e.e.Pd().gc()*e.c.Pd().gc()}function ZL(e,n,t){return new MIe(Ivn(e).Ze(),t,n)}function XM(){XM=J,QH=new z_((tn(),tn(),Zr))}function e_(){e_=J,qfe=new PV((tn(),tn(),nP))}function vPe(){vPe=J,Yfe=ee(a3,pe,221,256,0,1)}function yPe(){yPe=J,ele=ee(D9,pe,180,128,0,1)}function kPe(){kPe=J,tle=ee($b,pe,190,256,0,1)}function EPe(){EPe=J,cle=ee(Db,pe,191,256,0,1)}function j3n(e,n){wne(e,n==null?null:(bn(n),n))}function x3n(e,n){mne(e,n==null?null:(bn(n),n))}function A3n(e,n){mne(e,n==null?null:(bn(n),n))}function yi(e,n){var t;return t=v_(e,n),t.i=2,t}function jPe(e,n){return e.a+=eh(n,0,n.length),e}function Ce(e,n){return en(n,e.c.length),e.c[n]}function xPe(e,n){return en(n,e.a.length),e.a[n]}function M3n(e,n){var t;for(t=0;t<n;++t)e[t]=-1}function C3n(e,n){return bn(e),z7(e,(bn(n),n))}function T3n(e,n){return bn(n),z7(n,(bn(e),e))}function APe(e){return e.q?e.q:(tn(),tn(),$h)}function KM(e){for(st(e);e.Ob();)e.Pb(),e.Qb()}function UY(e){if(e.c.e!=e.a)throw I(new Ss)}function XY(e){if(e.e.c!=e.b)throw I(new Ss)}function MPe(e){this.c=e,this.a=new rm(this.c.a)}function CPe(e){this.a=e,this.c=new Wn,Dkn(this)}function KY(e){this.c=e,this.b=this.c.d.vc().Jc()}function kw(e){this.a=new cm(e.gc()),Gr(this,e)}function WY(e){pW.call(this,new $1),Gr(this,e)}function Ve(e,n){Nd(),lF.call(this,e),this.a=n}function WM(e,n,t,i){DY(this,e,n,t,i)}function Ew(e,n,t,i,r,c){return VGe(e,n,t,i,r,0,c)}function S3n(e,n,t){return ju(n.d[e.g],t.d[e.g])}function I3n(e,n,t){return ju(e.d[n.p],e.d[t.p])}function P3n(e,n,t){return ju(e.d[n.p],e.d[t.p])}function O3n(e,n,t){return ju(e.d[n.p],e.d[t.p])}function N3n(e,n,t){return ju(e.d[n.p],e.d[t.p])}function VM(e,n,t){return m.Math.min(t/e,1/n)}function TPe(e,n){return e?0:m.Math.max(0,n-1)}function SPe(e){return e.c-u(Ce(e.a,e.b),295).b}function n_(e,n){return e==null?n==null:We(e,n)}function $3n(e,n){return e==null?n==null:HT(e,n)}function QM(e,n){return Bt(),new aZ(e,n)}function yh(e,n){Bt(),B0.call(this,e),this.a=n}function YM(e,n){Ps(),kA.call(this,n),this.a=e}function ZM(e){ub.call(this,e.gc()),Ii(this,e)}function q6(e,n,t){this.a=e,Wi.call(this,n,t,2)}function IPe(e){this.b=new ni,this.a=e,this.c=-1}function Zo(e){return e.c?e.c.f:e.e.b}function mo(e){return e.c?e.c.g:e.e.a}function wt(e){return Ic(e)?e|0:NAe(e)}function PPe(e){var n;return n=QGe(e),n?PPe(n):e}function D3n(e,n){return e.a==null&&AUe(e),e.a[n]}function L3n(e,n){return!e&&(e=[]),e[e.length]=n,e}function ci(e,n){var t;return t=Je(e),qne(t,n),t}function OPe(e,n,t){var i;for(i=0;i<n;++i)e[i]=t}function Ld(e,n,t){Iw(n,e.c.length),k6(e.c,n,t)}function t_(e,n,t){rBe(0,n,e.length),Fv(e,0,n,t)}function i_(e,n){return F(n,24)&&po(e,u(n,24))}function NPe(e,n){return F(n,24)&&Y9n(e,u(n,24))}function pc(e,n){return fBe(e,n,vyn(e,e.b.Ae(n)))}function _3n(e,n){return e.a.get(n)!==void 0}function VY(e){return Array.isArray(e)&&e.Rm===Vn}function r_(e){return zo(e,26)*i9+zo(e,27)*r9}function F3n(e,n){c_(e,fr(new be(n.a,n.b),e.c))}function c_(e,n){zt(e.c,n),e.b.c+=n.a,e.b.d+=n.b}function eC(e){e.b?eC(e.b):e.d.dc()&&e.f.c.Ac(e.e)}function nC(e,n,t){var i;e&&(i=e.i,i.c=n,i.b=t)}function tC(e,n,t){var i;e&&(i=e.i,i.d=n,i.a=t)}function R3n(e,n,t){return-ju(e.f[n.p],e.f[t.p])}function B3n(e,n,t){return Hi(e,new um(n.a,t.a))}function J3n(e,n,t){hze(t,e,1),me(n,new YMe(t,e))}function G3n(e,n,t){$y(t,e,1),me(n,new rCe(t,e))}function QY(e,n,t){return t=ms(e,u(n,52),7,t),t}function YY(e,n,t){return t=ms(e,u(n,52),3,t),t}function xu(e,n,t){return e.a=-1,RQ(e,n.g+1,t),e}function $Pe(e,n,t){this.a=e,AM.call(this,n,t,22)}function DPe(e,n,t){this.a=e,AM.call(this,n,t,14)}function LPe(e,n,t,i){Ps(),S$e.call(this,e,n,t,i)}function _Pe(e,n,t,i){Ps(),S$e.call(this,e,n,t,i)}function H3n(e,n){(n.Bb&cu)!=0&&!e.a.o&&(e.a.o=n)}function u_(e,n){this.b=new ni,this.a=e,this.c=n}function FPe(){this.b=new y$,this.c=new gNe(this)}function ZY(){this.d=new WN,this.e=new wNe(this)}function RPe(){ls(),this.k=new Wn,this.d=new Ji}function eZ(){XZ(),this.g=new ni,this.f=new ni}function _d(e){A1(),this.a=0,this.b=e-1,this.c=1}function BPe(e){return Bt(),new L_(10,e,0)}function JPe(e){var n;return n=e.f,n||(e.f=e.Cc())}function ym(e){var n;return n=e.i,n||(e.i=e.bc())}function iC(e){if(e.e.j!=e.d)throw I(new Ss)}function Fd(e){return e.c?e.c:e.c=e.Qd()}function o_(e){return e.d?e.d:e.d=e.Rd()}function z6(e,n){return cjn(F7(e,n))?n.wi():null}function q3n(e){return F(e,16)?u(e,16).cd():e.Jc()}function nZ(e){return e.Oc(ee(ir,ln,1,e.gc(),5,1))}function GPe(){GPe=J,zZe=new lPe(ee(ir,ln,1,0,5,1))}function s_(){s_=J,jln=new Tr((jt(),Ko),0)}function HPe(){gL.call(this,"LOOKAHEAD_LAYOUT",1)}function qPe(e){jM(this),this.g=e,gC(this),this.he()}function tZ(e,n,t,i){this.a=e,HC.call(this,e,n,t,i)}function An(e){this.a=(GPe(),zZe),this.d=u(st(e),50)}function kh(e,n){return _1(OHe(Ic(e)?rf(e):e,n))}function V0(e,n){return _1($re(Ic(e)?rf(e):e,n))}function Rd(e,n){return _1(HCn(Ic(e)?rf(e):e,n))}function z3n(e,n){return Dd((bn(e),e),(bn(n),n))}function f_(e,n){return Qt((bn(e),e),(bn(n),n))}function zPe(e,n){return st(n),e.a.Hd(n)&&!e.b.Hd(n)}function U3n(e,n){return zu(e.l&n.l,e.m&n.m,e.h&n.h)}function X3n(e,n){return zu(e.l|n.l,e.m|n.m,e.h|n.h)}function K3n(e,n){return zu(e.l^n.l,e.m^n.m,e.h^n.h)}function UPe(e){return e!=null&&a_(e)&&e.Rm!==Vn}function iZ(e){return!Array.isArray(e)&&e.Rm===Vn}function jw(e,n){return rE(e,(bn(n),new Bke(n)))}function km(e,n){return rE(e,(bn(n),new Jke(n)))}function XPe(e){return yo(),u(e,12).e.c.length!=0}function KPe(e){return yo(),u(e,12).g.c.length!=0}function W3n(e,n){return Lm(),Qt(n.a.o.a,e.a.o.a)}function U6(e){return Ic(e)?""+e:gUe(e)}function Av(e,n){if(e<0||e>=n)throw I(new pxe)}function V3n(e,n,t){e.a.Mb(t)&&(e.b=!0,n.Ad(t))}function rZ(e){e.d||(e.d=e.b.Jc(),e.c=e.b.gc())}function Q3n(e){return e.e?See(e.e):null}function WPe(e,n,t){return rWe(e,u(n,12),u(t,12))}function Y3n(e,n,t){n.of(t,q(K(vn(e.b,t)))*e.a)}function VPe(e,n,t){return k4(),RF(e,n)&&RF(e,t)}function Z3n(e,n){n.Tg("General 'Rotator",1),w_n(e)}function _a(e,n,t,i){var r;r=e.i,r.i=n,r.a=t,r.b=i}function cZ(e){var n;for(n=e;n.f;)n=n.f;return n}function uZ(e,n){this.e=e,this.d=(n&64)!=0?n|ch:n}function QPe(e,n){this.c=0,this.d=e,this.b=n|64|ch}function rC(e){this.b=new Fu(11),this.a=(nb(),e)}function l_(e){this.b=null,this.a=(nb(),e||dle)}function YPe(e){this.a=KJe(e.a),this.b=new Co(e.b)}function ZPe(e){this.b=e,bm.call(this,e),rSe(this)}function eOe(e){this.b=e,e7.call(this,e),cSe(this)}function xw(e,n,t){this.a=e,gm.call(this,n,t,5,6)}function hr(e,n,t,i,r){aF.call(this,e,n,t,i,r,-1)}function X6(e,n,t,i,r){O7.call(this,e,n,t,i,r,-1)}function se(e,n,t,i){Wi.call(this,e,n,t),this.b=i}function cC(e,n,t,i){a7.call(this,e,n,t),this.b=i}function nOe(e){HCe.call(this,e,!1),this.a=!1}function tOe(){gL.call(this,"LAYOUT_NEXT_LEVEL",3)}function oZ(e,n,t,i){this.b=e,Wi.call(this,n,t,i)}function iOe(e,n){this.b=e,ske.call(this,e.b),this.a=n}function Mv(e,n){var t;return t=e.a.gc(),Aee(n,t),t-n}function h_(e,n){return n.Sh()?J1(e.b,u(n,52)):n}function evn(e,n){return We(e.substr(0,n.length),n)}function Eh(e){return new An(new PQ(e.a.length,e.a))}function uC(e){return new be(e.c+e.b/2,e.d+e.a/2)}function nvn(e){return zu(~e.l&Xo,~e.m&Xo,~e.h&da)}function a_(e){return typeof e===BE||typeof e===sJ}function Au(e,n){return mr(n)?$_(e,n):!!pc(e.f,n)}function oC(e,n){return Bt(),new jZ(e,n,0)}function d_(e,n){return Bt(),new jZ(6,e,n)}function Or(e,n){for(bn(n);e.Ob();)n.Ad(e.Pb())}function Bd(e,n,t){ih(),this.e=e,this.d=n,this.a=t}function W(e,n,t,i){rBe(n,t,e.length),tvn(e,n,t,i)}function Em(e,n,t){return If(e.a,n),HY(e.b,n.g,t)}function Hi(e,n){var t;return t=e.a.yc(n,e),t==null}function sZ(e,n){var t;for(t=0;t<n;++t)e[t]=!1}function tvn(e,n,t,i){var r;for(r=n;r<t;++r)e[r]=i}function fZ(e,n,t){this.c=e,this.a=n,tn(),this.b=t}function ivn(e,n,t){Av(t,e.a.c.length),as(e.a,t,n)}function b7(e,n){return e.a.yc(n,(gn(),id))==null}function rvn(e,n){return e>0?m.Math.log(e/n):-100}function b_(e){return new Ve(null,fvn(e,e.length))}function ou(e){e.f=new ETe(e),e.i=new jTe(e),++e.g}function rOe(e){if(!e)throw I(new $c);return e.d}function lZ(e,n){if(e==null)throw I(new nm(n))}function hZ(e,n){return n?Gr(e,n):!1}function K6(e){return Io(),!e.Gc(Ea)&&!e.Gc(vd)}function W6(e){ww(e.b!=-1),Ra(e.c,e.a=e.b),e.b=-1}function Yf(e,n,t){return r7n(e,n.g,t),If(e.c,n),e}function cvn(e,n,t){y_n(e.a,e.b,e.d,e.c,u(n,170),t)}function w7(e,n){zTe(e,F(n,163)?n:u(n,2001).Pl())}function uvn(e){return Q2(e,(Vi(),jc)),e.d=!0,e}function w_(e){return!e.j&&A0n(e,bNn(e.g,e.b)),e.j}function jm(e){var n;return n=py(e),Hn(n!=null),n}function ovn(e){var n;return n=H7n(e),Hn(n!=null),n}function svn(e,n,t){var i;return i=Dw(e,n),V_(e,n,t),i}function g_(e,n){this.d=e,Rn.call(this,e),this.e=n}function aZ(e,n){B0.call(this,1),this.a=e,this.b=n}function cOe(e,n){return Su(e,n)<0?-1:Su(e,n)>0?1:0}function fvn(e,n){return Q9n(n,e.length),new fPe(e,n)}function V6(e){return e.e==0?e:new Bd(-e.e,e.d,e.a)}function lvn(e){return e==xi?kj:e==lr?"-INF":""+e}function hvn(e){return e==xi?kj:e==lr?"-INF":""+e}function avn(e,n){return Qt(e.c.c+e.c.b,n.c.c+n.c.b)}function sC(e,n){ji(e.d,n,e.b.b,e.b),++e.a,e.c=null}function uOe(e,n){return e.c?uOe(e.c,n):me(e.b,n),e}function Q0(e,n){Si(_u(e.Mc(),new L3e),new U7e(n))}function Cv(e,n,t,i,r){rB(e,u(Xt(n.k,t),16),t,i,r)}function oOe(e,n,t,i,r){for(;n<t;)i[r++]=Dr(e,n++)}function sOe(e,n,t){var i;for(i=0;i<n;++i)Ni(e,i,t)}function fC(e){e.s=NaN,e.c=NaN,eze(e,e.e),eze(e,e.j)}function fOe(e){e.a=null,e.e=null,ou(e.b),e.d=0,++e.c}function p_(e){return m.Math.abs(e.d.e-e.e.e)-e.a}function dvn(e,n){return Qt(e.e.a+e.f.a,n.e.a+n.f.a)}function bvn(e,n){return Qt(e.e.b+e.f.b,n.e.b+n.f.b)}function wvn(e,n,t){return u(e.c.fd(n,u(t,136)),45)}function gvn(){return SA(),$(N(UZe,1),ae,538,0,[VH])}function lOe(){lOe=J,YZe=new cW(!1),ZZe=new cW(!0)}function S1(){S1=J,mn=ZTn(),nn(),Kg&&dAn()}function Un(e){return(e.i==null&&rh(e),e.i).length}function pvn(e,n){xm(e,new Mw(n.f!=null?n.f:""+n.g))}function mvn(e,n){xm(e,new Mw(n.f!=null?n.f:""+n.g))}function Ii(e,n){return e.Qi()&&(n=HNe(e,n)),e.Di(n)}function m_(e,n){return n=e.Wk(null,n),dHe(e,null,n)}function hOe(e,n,t){return Bt(),new b$e(e,n,t)}function vvn(e,n){++e.j,iB(e,e.i,n),eSn(e,u(n,344))}function g(e,n,t){var i;return i=v_(e,n),gFe(t,i),i}function v_(e,n){var t;return t=new Jne,t.j=e,t.d=n,t}function st(e){if(e==null)throw I(new Vp);return e}function aOe(e){FZ.call(this),this.a=e,me(e.a,this)}function dOe(){$1.call(this),this.a=!0,this.b=!0}function Aw(e){this.d=(bn(e),e),this.a=0,this.c=qE}function y_(e,n){this.d=U7n(e),this.c=n,this.a=.5*n}function bOe(e,n){return u(Fd(e.a).Kd().Xb(n),45).jd()}function Q6(e){var n;return n=e.g,n||(e.g=new tW(e))}function lC(e){var n;return n=e.k,n||(e.k=new iW(e))}function dZ(e){var n;return n=e.k,n||(e.k=new iW(e))}function yvn(e){var n;return n=e.i,n||(e.i=new rke(e))}function k_(e){var n;return n=e.j,n||(e.j=new Ake(e))}function wOe(e){var n;return n=e.f,n||(e.f=new IQ(e))}function E_(e){var n;return n=e.d,n||(e.d=new eD(e))}function bZ(e){return F(e,607)?e:new NNe(e)}function gOe(e,n){return M7(n,e.c.b.c.gc()),new YAe(e,n)}function wZ(e,n){return Pn(n,e.length+1),e.substr(n)}function Ni(e,n,t){return Ugn(t==null||YNn(e,t)),e[n]=t}function gZ(e,n){var t;return t=e.a.gc(),M7(n,t),t-1-n}function pOe(e,n){var t;t=console[e],t.call(console,n)}function vn(e,n){return mr(n)?Mu(e,n):Lc(pc(e.f,n))}function pZ(e){e?Bie(e,(Na(),ren)):E4n((Na(),e))}function mOe(e){LW(),this.b=new ve,this.a=e,vLn(this,e)}function vOe(e){this.b=new ve,this.a=new ve,this.c=e}function au(e){this.c=new Cr,this.a=new ve,this.b=e}function mZ(e){this.d=e,this.c=e.a.d.a,this.b=e.a.e.g}function vZ(e){this.b=e,this.a=u(nf(this.b.a.e),227)}function yZ(e){for(;e.a.b!=0;)ZLn(e,u(TNe(e.a),9))}function j_(e,n){for(bn(n);e.c<e.d;)e.Qe(n,e.c++)}function kvn(e,n){return Lm(),u(dc(e,n.d),16).Ec(n)}function Evn(e,n){return u(j(n,(ye(),Mg)),15).a<e}function jvn(e,n,t,i){return t==0||(t-i)/t<e.e||n>=e.g}function x_(e,n,t){var i;return i=OF(e,n,t),ace(e,i)}function xm(e,n){var t;t=e.a.length,Dw(e,t),V_(e,t,n)}function yOe(e,n){var t;++e.j,t=e.Cj(),e.pj(e.Xi(t,n))}function xvn(e,n,t){u(n.b,68),Tu(n.a,new AY(e,t,n))}function kZ(e,n,t){kA.call(this,n),this.a=e,this.b=t}function EZ(e,n,t){this.a=e,PW.call(this,n),this.b=t}function kOe(e,n,t){this.a=e,uee.call(this,8,n,null,t)}function Avn(e){this.a=(bn(Et),Et),this.b=e,new UW}function EOe(e){this.c=e,this.a=new ni,this.b=new ni}function jZ(e,n,t){B0.call(this,e),this.a=n,this.b=t}function Mw(e){if(e==null)throw I(new Vp);this.a=e}function Mvn(e){return!e.a&&(e.a=new Wi(yd,e,4)),e.a}function Y0(e){return!e.d&&(e.d=new Wi(hc,e,1)),e.d}function Tv(e,n){return e.a+=String.fromCharCode(n),e}function Jd(e,n){return e.a+=String.fromCharCode(n),e}function nf(e){if(e==null)throw I(new Vp);return e}function Cvn(e){return Vg?$_(Vg,e):!1}function jOe(e){return e?e.dc():!e.Jc().Ob()}function xOe(e){return nf(e),F(e,472)?u(e,472):Oc(e)}function AOe(e){return F(e,103)&&(u(e,19).Bb&cu)!=0}function Y6(e){return m.Math.sqrt(e.a*e.a+e.b*e.b)}function hC(e,n){return WR(e.c,e.f,n,e.b,e.a,e.e,e.d)}function Z0(e,n){return Av(n,e.a.c.length),Ce(e.a,n)}function Qh(e,n){return Z(e)===Z(n)||e!=null&&qt(e,n)}function Tvn(e,n){c_(u(n.b,68),e),Tu(n.a,new xW(e))}function I1(e){e.c?I1(e.c):(G1(e),e.d=!0)}function Z6(e){e.c?e.c.Ye():(e.d=!0,cPn(e))}function MOe(e){IZ(e.a),e.b=ee(ir,ln,1,e.b.length,5,1)}function Fo(e){ww(e.c!=-1),e.d.ed(e.c),e.b=e.c,e.c=-1}function COe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function TOe(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function Li(){Rxe.call(this),iw(this.j.c,0),this.a=-1}function SOe(){ot.call(this,"DELAUNAY_TRIANGULATION",0)}function Svn(e,n){var t;t=e.Fh(n),t>=0?e.hi(t):gre(e,n)}function IOe(e){var n,t;return n=e.c.i.c,t=e.d.i.c,n==t}function ar(e){return!e.a&&e.c?e.c.b:e.a}function Ivn(e){return 0>=e?new EV:j8n(e-1)}function bn(e){if(e==null)throw I(new Vp);return e}function Pvn(e){if(e.p!=6)throw I(new wo);return e.f}function Ovn(e){if(e.p!=6)throw I(new wo);return e.k}function Nvn(e){if(e.p!=3)throw I(new wo);return e.e}function $vn(e){if(e.p!=4)throw I(new wo);return e.e}function Dvn(e){if(e.p!=4)throw I(new wo);return e.j}function Lvn(e){if(e.p!=3)throw I(new wo);return e.j}function xZ(e){return!e.b&&(e.b=new vA(new pD)),e.b}function eb(e){return e.c==-2&&m0n(e,YMn(e.g,e.b)),e.c}function Sv(e,n){var t;return t=v_("",e),t.n=n,t.i=1,t}function aC(e,n,t,i){H0.call(this,e,t),this.a=n,this.f=i}function AZ(e,n,t,i){H0.call(this,e,n),this.d=t,this.a=i}function POe(e,n){this.b=e,g_.call(this,e,n),rSe(this)}function OOe(e,n){this.b=e,pY.call(this,e,n),cSe(this)}function NOe(){Xie.call(this,sf,(sv(),Ege)),aDn(this)}function $Oe(){Xie.call(this,w0,(EAe(),shn)),rLn(this)}function DOe(e,n){wgn.call(this,x8n(st(e),st(n))),this.a=n}function MZ(e,n){e.c<0||e.b.b<e.c?zr(e.b,n):e.a.vf(n)}function _vn(e,n){it((!e.a&&(e.a=new r7(e,e)),e.a),n)}function Dr(e,n){return Pn(n,e.length),e.charCodeAt(n)}function Fvn(e,n){return ju(n.j.c.length,e.j.c.length)}function It(e,n,t){return mr(n)?mc(e,n,t):ro(e.f,n,t)}function CZ(e){return tn(),e?e.Me():(nb(),nb(),ble)}function Rvn(e){return bs(e,aJ),ZC(Kr(Kr(5,e),e/10|0))}function Bvn(e,n,t){return Fm(),t.Kg(e,u(n.jd(),147))}function LOe(e,n){return UM(),new Zte(new gSe(e),new wSe(n))}function du(e,n){return Z(e)===Z(n)||e!=null&&qt(e,n)}function dc(e,n){return i_(e.a,n)?e.b[u(n,24).g]:null}function Jvn(e){return String.fromCharCode.apply(null,e)}function _Oe(e){return!e.d&&(e.d=new Z3(e.c.Bc())),e.d}function Iv(e){return!e.a&&(e.a=new sAe(e.c.vc())),e.a}function FOe(e){return!e.b&&(e.b=new cv(e.c.ec())),e.b}function g7(e){return e.j.c.length=0,IZ(e.c),S2n(e.a),e}function ROe(e,n){var t;return t=new au(e),jn(n.c,t),t}function A_(e){return!e.n&&(e.n=new se(zc,e,1,7)),e.n}function Gvn(e){return!e.b&&(e.b=new hn(Yn,e,4,7)),e.b}function TZ(e){return!e.c&&(e.c=new hn(Yn,e,5,8)),e.c}function SZ(e){return!e.c&&(e.c=new se(Wo,e,9,9)),e.c}function $t(e,n,t,i){return ZFe(e,n,t,!1),IT(e,i),e}function jh(e,n){for(;n-- >0;)e=e<<1|(e<0?1:0);return e}function BOe(e,n){e.u.Gc((Io(),Ea))&&KTn(e,n),Hyn(e,n)}function JOe(e,n){Ete(e,q(ua(n,"x")),q(ua(n,"y")))}function GOe(e,n){Ete(e,q(ua(n,"x")),q(ua(n,"y")))}function Hvn(){return g6(),$(N(Sbe,1),ae,528,0,[ux])}function qvn(){return GA(),$(N(Gsn,1),ae,547,0,[ZU])}function zvn(){return JA(),$(N(sbe,1),ae,477,0,[YU])}function M_(){M_=J,WZe=new IV($(N(g0,1),HS,45,0,[]))}function Uvn(e){return e!=null&&d6(hN,e.toLowerCase())}function Xvn(e,n){return new dNe(u(st(e),51),u(st(n),51))}function Kvn(e,n,t){var i;i=u(e.d.Kb(t),162),i&&i.Nb(n)}function IZ(e){var n;for(n=e.Jc();n.Ob();)n.Pb(),n.Qb()}function M2(e){var n;return n=e.b,!n&&(e.b=n=new ike(e)),n}function Pv(e){return e.e==r5&&E0n(e,ajn(e.g,e.b)),e.e}function p7(e){return e.f==r5&&x0n(e,nAn(e.g,e.b)),e.f}function ey(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function PZ(e,n){this.b=e,this.c=n,this.a=new rm(this.b)}function C_(e,n,t){this.a=bue,this.d=e,this.b=n,this.c=t}function HOe(e,n){this.d=(bn(e),e),this.a=16449,this.c=n}function Wvn(e,n){return Qt(e.d.c+e.d.b/2,n.d.c+n.d.b/2)}function Vvn(e,n){return Qt(e.g.c+e.g.b/2,n.g.c+n.g.b/2)}function Qvn(e,n){return AV(),Qt((bn(e),e),(bn(n),n))}function Ft(e,n){return G1(e),new Ve(e,new Hee(n,e.a))}function _u(e,n){return G1(e),new Ve(e,new Tee(n,e.a))}function Cw(e,n){return G1(e),new WQ(e,new eLe(n,e.a))}function dC(e,n){return G1(e),new VQ(e,new nLe(n,e.a))}function Yvn(e,n,t){uDn(e.a,t),xkn(t),PSn(e.b,t),CDn(n,t)}function bC(e,n,t,i){this.a=e,this.c=n,this.b=t,this.d=i}function OZ(e,n,t,i){this.c=e,this.b=n,this.a=t,this.d=i}function qOe(e,n,t,i){this.c=e,this.b=n,this.d=t,this.a=i}function wC(e,n,t,i){this.a=e,this.e=n,this.d=t,this.c=i}function zOe(e,n,t,i){this.a=e,this.d=n,this.c=t,this.b=i}function Af(e,n,t,i){this.c=e,this.d=n,this.b=t,this.a=i}function Am(e,n,t,i){ot.call(this,e,n),this.a=t,this.b=i}function UOe(e,n,t,i){URe.call(this,e,t,i,!1),this.f=n}function T_(e,n,t){var i,r;return i=nue(e),r=n.qi(t,i),r}function Yh(e){var n,t;return t=(n=new J0,n),Jv(t,e),t}function S_(e){var n,t;return t=(n=new J0,n),Vie(t,e),t}function XOe(e){return!e.b&&(e.b=new se(Xi,e,12,3)),e.b}function I_(e){var n;return n=M8n(e),n||null}function Zvn(e){fs();var n;n=u(e.g,9),n.n.a=e.d.c+n.d.b}function KOe(e){this.a=new ve,this.e=ee(bt,pe,54,e,0,2)}function P_(e){this.f=e,this.c=this.f.e,e.f>0&&HGe(this)}function WOe(e,n,t,i){this.a=e,this.c=n,this.d=t,this.b=i}function VOe(e,n,t,i){this.a=e,this.b=n,this.d=t,this.c=i}function QOe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function YOe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function Gd(e,n,t,i){this.e=e,this.a=n,this.c=t,this.d=i}function ZOe(e,n,t,i){Ps(),WDe.call(this,n,t,i),this.a=e}function eNe(e,n,t,i){Ps(),WDe.call(this,n,t,i),this.a=e}function nNe(e,n){this.a=e,b2n.call(this,e,u(e.d,16).dd(n))}function e4n(e,n){return Qt(mo(e)*Zo(e),mo(n)*Zo(n))}function n4n(e,n){return Qt(mo(e)*Zo(e),mo(n)*Zo(n))}function Mm(e){var n;return n=e.f,n||(e.f=new lv(e,e.c))}function tn(){tn=J,Zr=new rn,$h=new Fn,nP=new dn}function nb(){nb=J,dle=new Nn,cq=new Nn,ble=new qn}function Ov(e){if(qo(e.d),e.d.d!=e.c)throw I(new Ss)}function NZ(e){return Hn(e.b<e.d.gc()),e.d.Xb(e.c=e.b++)}function es(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function $Z(e,n){return e.b=n.b,e.c=n.c,e.d=n.d,e.a=n.a,e}function t4n(e,n,t){return me(e.a,(BR(n,t),new H0(n,t))),e}function tNe(e){return H6(e==null||a_(e)&&e.Rm!==Vn),e}function gC(e){return e.n&&(e.e!==mWe&&e.he(),e.j=null),e}function i4n(e){return e.length>0?Cf(e):new ve}function r4n(e,n){return u(j(e,(fe(),j3)),16).Ec(n),n}function c4n(e,n){return Qe(e,u(j(n,(ye(),Mg)),15),n)}function u4n(e){return mb(e)&&Se(Te(he(e,(ye(),k0))))}function o4n(e,n,t){return w6(),bEn(u(vn(e.e,n),517),t)}function s4n(e,n,t){e.i=0,e.e=0,n!=t&&HRe(e,n,t)}function f4n(e,n,t){e.i=0,e.e=0,n!=t&&qRe(e,n,t)}function iNe(e,n,t,i){this.b=e,this.c=i,vM.call(this,n,t)}function rNe(e,n){this.g=e,this.d=$(N(Lh,1),Ya,9,0,[n])}function cNe(e,n){e.d&&!e.d.a&&(Kje(e.d,n),cNe(e.d,n))}function uNe(e,n){e.e&&!e.e.a&&(Kje(e.e,n),uNe(e.e,n))}function oNe(e,n){return R2(e.j,n.s,n.c)+R2(n.e,e.s,e.c)}function l4n(e){return u(e.jd(),147).Og()+":"+Oc(e.kd())}function h4n(e,n){return-Qt(mo(e)*Zo(e),mo(n)*Zo(n))}function a4n(e,n){return ns(e),ns(n),eAe(u(e,24),u(n,24))}function Hd(e,n,t){var i,r;i=JL(t),r=new bA(i),Tf(e,n,r)}function DZ(e,n){new ni,this.a=new _o,this.b=e,this.c=n}function sNe(e){this.b=new ve,er(this.b,this.b),this.a=e}function fNe(e){this.b=new kve,this.a=e,m.Math.random()}function lNe(){lB(this,new ZK),this.wb=(S1(),mn),sv()}function hNe(){Dc.call(this,"There is no more element.")}function aNe(e,n,t,i){cQ.call(this,n,t),this.b=e,this.a=i}function O_(e,n,t,i,r,c){O7.call(this,e,n,t,i,r,c?-2:-1)}function pC(e){return!e.a&&(e.a=new se(mt,e,10,11)),e.a}function Wt(e){return!e.q&&(e.q=new se(gf,e,11,10)),e.q}function oe(e){return!e.s&&(e.s=new se(ho,e,21,17)),e.s}function mC(e,n){if(e==null)throw I(new nm(n));return e}function dNe(e,n){W0n.call(this,new l_(e)),this.a=e,this.b=n}function LZ(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function d4n(e){IA(),m.setTimeout(function(){throw e},0)}function b4n(e){return st(e),cGe(new An(In(e.a.Jc(),new X)))}function vC(e){return tn(),F(e,59)?new TD(e):new CM(e)}function N_(e){return F(e,18)?new kw(u(e,18)):n3n(e.Jc())}function w4n(e){return new oSe(e,e.e.Pd().gc()*e.c.Pd().gc())}function g4n(e){return new sSe(e,e.e.Pd().gc()*e.c.Pd().gc())}function _Z(e){return e&&e.hashCode?e.hashCode():K0(e)}function $_(e,n){return n==null?!!pc(e.f,null):_3n(e.i,n)}function p4n(e,n){var t;return t=kQ(e.a,n),t&&(n.d=null),t}function bNe(e,n,t){return e.f?e.f.cf(n,t):!1}function m7(e,n,t,i){Ni(e.c[n.g],t.g,i),Ni(e.c[t.g],n.g,i)}function D_(e,n,t,i){Ni(e.c[n.g],n.g,t),Ni(e.b[n.g],n.g,i)}function m4n(e){e.Tg("No crossing minimization",1),e.Ug()}function wNe(e){this.c=e,this.b=new Oa(u(st(new KN),51))}function gNe(e){this.c=e,this.b=new Oa(u(st(new v$),51))}function pNe(e){this.b=e,this.a=new Oa(u(st(new f$),51))}function mNe(){this.b=new Ji,this.d=new ni,this.e=new AA}function vNe(){this.d=new ni,this.b=new Wn,this.c=new ve}function FZ(){this.c=new Cr,this.d=new Cr,this.e=new Cr}function tb(){this.a=new _o,this.b=(bs(3,rg),new Fu(3))}function yC(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function yNe(e,n,t,i,r,c){this.a=e,CF.call(this,n,t,i,r,c)}function kNe(e,n,t,i,r,c){this.a=e,CF.call(this,n,t,i,r,c)}function Fa(e,n){this.e=e,this.a=ir,this.b=NUe(n),this.c=n}function ENe(e,n){return F(n,147)&&We(e.b,u(n,147).Og())}function v4n(e,n){return e.a?n.Dh().Jc():u(n.Dh(),72).Gi()}function y4n(e,n,t){return q(K(t.a))<=e&&q(K(t.b))>=n}function k4n(e,n,t){return t>=0&&We(e.substr(t,n.length),n)}function P1(e,n,t,i,r,c,o){return new eF(e.e,n,t,i,r,c,o)}function tf(e,n,t){return Sr(n,t,e.length),e.substr(n,t-n)}function kC(e,n){var t;return t=Od(e.Pm),n==null?t:t+": "+n}function jNe(e,n){var t;return t=e.b.Oc(n),dDe(t,e.b.gc()),t}function v7(e,n){if(e==null)throw I(new nm(n));return e}function Mc(e){return e.u||(Ro(e),e.u=new QSe(e,e)),e.u}function eo(e){var n;return n=u(Mn(e,16),29),n||e.fi()}function E4n(e){e&&kC(e,e.ge())}function RZ(){RZ=J,Men=new bo,Ten=new ZY,Cen=new XN}function Nv(){Nv=J;var e,n;n=!WEn(),e=new Ye,eq=n?new Xe:e}function j4n(){return qC(),$(N(Ghe,1),ae,422,0,[Jhe,zq])}function x4n(){return G7(),$(N(Qhe,1),ae,419,0,[LP,Vhe])}function A4n(){return D7(),$(N(eae,1),ae,476,0,[Zhe,FP])}function M4n(){return PC(),$(N(bae,1),ae,420,0,[az,dae])}function C4n(){return LC(),$(N(Tae,1),ae,423,0,[Ez,kz])}function T4n(){return R7(),$(N(bde,1),ae,421,0,[tU,iU])}function S4n(){return cy(),$(N(Mun,1),ae,519,0,[w8,b8])}function I4n(){return Vl(),$(N(Nun,1),ae,510,0,[zb,u1])}function P4n(){return vl(),$(N(Dun,1),ae,509,0,[M0,Ll])}function O4n(){return el(),$(N(Vun,1),ae,516,0,[$g,ad])}function N4n(){return rb(),$(N(ion,1),ae,454,0,[dd,Cp])}function $4n(){return TC(),$(N(f0e,1),ae,425,0,[AU,s0e])}function D4n(){return wT(),$(N(l0e,1),ae,487,0,[TO,Ip])}function L4n(){return UC(),$(N(a0e,1),ae,426,0,[h0e,PU])}function _4n(){return FC(),$(N(nbe,1),ae,478,0,[KU,ebe])}function F4n(){return I7(),$(N(fbe,1),ae,428,0,[eX,RO])}function R4n(){return YC(),$(N(Cle,1),ae,424,0,[pq,uP])}function B4n(){return qv(),$(N(ltn,1),ae,503,0,[Sj,Iq])}function J4n(){return W7(),$(N(Pbe,1),ae,427,0,[JO,Ibe])}function EC(e,n,t,i){return t>=0?e.Rh(n,t,i):e.zh(null,t,i)}function y7(e){return e.b.b==0?e.a.uf():VL(e.b)}function G4n(e){if(e.p!=5)throw I(new wo);return wt(e.f)}function H4n(e){if(e.p!=5)throw I(new wo);return wt(e.k)}function BZ(e){return Z(e.a)===Z((LF(),BX))&&YDn(e),e.a}function xNe(e,n){u0n(this,new be(e.a,e.b)),o0n(this,l7(n))}function ANe(e,n){NM.call(this),Qee(this),this.a=e,this.c=n}function JZ(e,n,t){Ps(),kA.call(this,n),this.a=e,this.b=t}function L_(e,n,t){Bt(),B0.call(this,e),this.b=n,this.a=t}function ib(){V0n.call(this,new cm(Bw(12))),CQ(!0),this.a=2}function MNe(){gL.call(this,"FIXED_INTEGER_RATIO_BOXES",2)}function rb(){rb=J,dd=new WV(c3,0),Cp=new WV(u3,1)}function Vl(){Vl=J,zb=new UV(u3,0),u1=new UV(c3,1)}function q4n(e,n){e.c=n,e.c>0&&e.b>0&&(e.g=VM(e.c,e.b,e.a))}function z4n(e,n){e.b=n,e.c>0&&e.b>0&&(e.g=VM(e.c,e.b,e.a))}function CNe(e){var n;n=e.c.d.b,e.b=n,e.a=e.c.d,n.a=e.c.d.b=e}function k7(e){var n;g8n(e.a),PTe(e.a),n=new jk(e.a),pR(n)}function Mu(e,n){return n==null?Lc(pc(e.f,null)):y6(e.i,n)}function TNe(e){return e.b==0?null:(Hn(e.b!=0),Ds(e,e.a.a))}function Br(e){return Math.max(Math.min(e,_t),-2147483648)|0}function SNe(e,n,t,i,r){return new aB(e,(Rv(),fq),n,t,i,r)}function jC(e,n){return wDe(n),h8n(e,ee(bt,Pt,30,n,15,1),n)}function U4n(e,n){return ca(),u(j(n,(Wc(),gh)),15).a==e}function X4n(e,n){EUe(e,!0),Tu(e.e.Pf(),new kY(e,!0,n))}function xC(e,n){return mC(e,"set1"),mC(n,"set2"),new wMe(e,n)}function K4n(e,n){var t=ZH[e.charCodeAt(0)];return t??e}function W4n(e,n){var t;return t=o8n(e.f,n),zt(OM(t),e.f.d)}function INe(e,n){var t,i;return t=n,i=new ei,wKe(e,t,i),i.d}function __(e,n,t,i){var r;r=new rIe,n.a[t.g]=r,Em(e.b,i,r)}function GZ(e,n,t){var i;i=e.Fh(n),i>=0?e.$h(i,t):Ure(e,n,t)}function C2(e,n,t){MC(),e&&It(_X,e,n),e&&It(Ix,e,t)}function PNe(e,n,t){this.i=new ve,this.b=e,this.g=n,this.a=t}function AC(e,n,t){this.c=new ve,this.e=e,this.f=n,this.b=t}function HZ(e,n,t){this.a=new ve,this.e=e,this.f=n,this.c=t}function ONe(e){NM.call(this),Qee(this),this.a=e,this.c=!0}function NNe(e){this.a=u(st(e),277),this.b=(tn(),new $Q(e))}function $Ne(e,n){jM(this),this.f=n,this.g=e,gC(this),this.he()}function E7(e,n){var t;t=e.q.getHours(),e.q.setDate(n),Wy(e,t)}function DNe(e,n){var t;for(st(n),t=e.a;t;t=t.c)n.Wd(t.g,t.i)}function LNe(e){var n;return n=new $A(Bw(e.length)),qne(n,e),n}function V4n(e){function n(){}return n.prototype=e||{},new n}function Q4n(e,n){return yRe(e,n)?(kFe(e),!0):!1}function Zh(e,n){if(n==null)throw I(new Vp);return QEn(e,n)}function Y4n(e){if(e.ye())return null;var n=e.n;return WI[n]}function Tw(e){return e.Db>>16!=3?null:u(e.Cb,26)}function ml(e){return e.Db>>16!=9?null:u(e.Cb,26)}function _Ne(e){return e.Db>>16!=6?null:u(e.Cb,85)}function FNe(e,n){var t;return t=e.Fh(n),t>=0?e.Th(t):mB(e,n)}function F_(e,n,t){var i;i=JRe(e,n,t),e.b=new bT(i.c.length)}function vl(){vl=J,M0=new XV(qJ,0),Ll=new XV("UP",1)}function RNe(){RNe=J,XZe=lt((SA(),$(N(UZe,1),ae,538,0,[VH])))}function BNe(e){this.a=e,this.b=ee(jun,pe,2008,e.e.length,0,2)}function JNe(){this.a=new ph,this.e=new Ji,this.g=0,this.i=0}function Z4n(e){return!e.a&&(e.a=new se(mt,e,10,11)),e.a.i>0}function R_(e,n){return m.Math.abs(e)<m.Math.abs(n)?e:n}function e5n(e,n){return FM(),gn(),u(n.a,15).a<e}function n5n(e,n){return FM(),gn(),u(n.b,15).a<e}function GNe(e,n){return e.b+=n.b,e.c+=n.c,e.d+=n.d,e.a+=n.a,e}function qZ(e){var n;return n=e.d,n=e._i(e.f),it(e,n),n.Ob()}function HNe(e,n){var t;return t=new WY(n),pHe(t,e),new Co(t)}function t5n(e){if(e.p!=0)throw I(new wo);return O6(e.f,0)}function i5n(e){if(e.p!=0)throw I(new wo);return O6(e.k,0)}function qNe(e){return e.Db>>16!=7?null:u(e.Cb,241)}function $v(e){return e.Db>>16!=6?null:u(e.Cb,241)}function zZ(e){return e.Db>>16!=7?null:u(e.Cb,174)}function zNe(e){return e.Db>>16!=3?null:u(e.Cb,158)}function pi(e){return e.Db>>16!=11?null:u(e.Cb,26)}function Sw(e){return e.Db>>16!=17?null:u(e.Cb,29)}function UZ(e){var n;return G1(e),n=new Ji,Ft(e,new Xke(n))}function UNe(e,n){var t=e.a=e.a||[];return t[n]||(t[n]=e.te(n))}function r5n(e,n){var t;t=e.q.getHours(),e.q.setMonth(n),Wy(e,t)}function Jr(e,n){e.c&&no(e.c.g,e),e.c=n,e.c&&me(e.c.g,e)}function or(e,n){e.c&&no(e.c.a,e),e.c=n,e.c&&me(e.c.a,e)}function xr(e,n){e.d&&no(e.d.e,e),e.d=n,e.d&&me(e.d.e,e)}function Fc(e,n){e.i&&no(e.i.j,e),e.i=n,e.i&&me(e.i.j,e)}function mc(e,n,t){return n==null?ro(e.f,null,t):hb(e.i,n,t)}function ny(e,n,t,i,r,c){return new ia(e.e,n,e.Jj(),t,i,r,c)}function c5n(e){return tR(),gn(),u(e.a,82).d.e!=0}function XNe(e,n){this.a=e,this.c=Xr(this.a),this.b=new yC(n)}function KNe(e,n,t){this.a=n,this.c=e,this.b=(st(t),new Co(t))}function WNe(e,n,t){this.a=n,this.c=e,this.b=(st(t),new Co(t))}function Iw(e,n){if(e<0||e>n)throw I(new Lu(jue+e+xue+n))}function MC(){MC=J,_X=new Wn,Ix=new Wn,ywn(aen,new B6e)}function VNe(){VNe=J,run=xu(new Li,(dr(),fc),(kr(),m3))}function QNe(){QNe=J,cun=xu(new Li,(dr(),fc),(kr(),m3))}function YNe(){YNe=J,uun=xu(new Li,(dr(),fc),(kr(),m3))}function XZ(){XZ=J,oun=xu(new Li,(dr(),fc),(kr(),m3))}function ZNe(){ZNe=J,fun=xu(new Li,(dr(),fc),(kr(),m3))}function KZ(){KZ=J,lun=xu(new Li,(dr(),fc),(kr(),m3))}function e$e(){e$e=J,Tun=kt(new Li,(dr(),fc),(kr(),H9))}function ls(){ls=J,Pun=kt(new Li,(dr(),fc),(kr(),H9))}function n$e(){n$e=J,Oun=kt(new Li,(dr(),fc),(kr(),H9))}function B_(){B_=J,_un=kt(new Li,(dr(),fc),(kr(),H9))}function t$e(){t$e=J,Oon=xu(new Li,(Um(),p8),(Xy(),Pde))}function qd(e,n,t,i){this.c=e,this.d=i,G_(this,n),H_(this,t)}function Cm(e){this.c=new ni,this.b=e.b,this.d=e.c,this.a=e.a}function J_(e){this.a=m.Math.cos(e),this.b=m.Math.sin(e)}function G_(e,n){e.a&&no(e.a.k,e),e.a=n,e.a&&me(e.a.k,e)}function H_(e,n){e.b&&no(e.b.f,e),e.b=n,e.b&&me(e.b.f,e)}function i$e(e,n){xvn(e,e.b,e.c),u(e.b.b,68),n&&u(n.b,68).b}function u5n(e,n){xte(e,n),F(e.Cb,88)&&Vw(Ro(u(e.Cb,88)),2)}function q_(e,n){F(e.Cb,88)&&Vw(Ro(u(e.Cb,88)),4),Ru(e,n)}function CC(e,n){F(e.Cb,184)&&(u(e.Cb,184).tb=null),Ru(e,n)}function r$e(e,n){var t;return t=u(Gw(Mm(e.a),n),18),t?t.gc():0}function c$e(e){var n,t;return t=(sv(),n=new J0,n),Jv(t,e),t}function u$e(e){var n,t;return t=(sv(),n=new J0,n),Jv(t,e),t}function o$e(e){for(var n;;)if(n=e.Pb(),!e.Ob())return n}function j7(e){return ih(),Su(e,0)>=0?H1(e):V6(H1(Ja(e)))}function o5n(e,n){QTe(e,wt(vr(V0(n,24),XS)),wt(vr(n,XS)))}function s5n(e,n){return Qt(u(e.c,65).c.e.b,u(n.c,65).c.e.b)}function f5n(e,n){return Qt(u(e.c,65).c.e.a,u(n.c,65).c.e.a)}function Cu(e,n){return tc(),yF(n)?new zM(n,e):new Wk(n,e)}function s$e(e,n,t){return new aB(e,(Rv(),sq),null,!1,n,t)}function f$e(e,n,t){return new aB(e,(Rv(),lq),n,t,null,!1)}function l$e(e,n,t){var i;PBe(n,t,e.c.length),i=t-n,gV(e.c,n,i)}function O1(e,n,t){PBe(n,t,e.gc()),this.c=e,this.a=n,this.b=t-n}function Ze(e,n){this.b=(bn(e),e),this.a=(n&cg)==0?n|64|ch:n}function en(e,n){if(e<0||e>=n)throw I(new Lu(jue+e+xue+n))}function Pn(e,n){if(e<0||e>=n)throw I(new rV(jue+e+xue+n))}function l5n(e,n){var t,i;t=n.c,i=t!=null,i&&xm(e,new Mw(n.c))}function h5n(e,n,t){var i;i=new Ur(t.d),zt(i,e),Ete(n,i.a,i.b)}function WZ(e){var n;return G1(e),n=(nb(),nb(),cq),eT(e,n)}function yl(e){return Bc($(N(br,1),pe,8,0,[e.i.n,e.n,e.a]))}function a5n(){return sy(),$(N(Gle,1),ae,384,0,[kq,yq,Eq])}function d5n(){return Fs(),$(N(oo,1),ae,130,0,[yle,uo,kle])}function b5n(){return il(),$(N(bg,1),ae,237,0,[Yc,Hu,Zc])}function w5n(){return So(),$(N(Oen,1),ae,461,0,[dh,rd,Lf])}function g5n(){return to(),$(N($en,1),ae,462,0,[fl,cd,_f])}function p5n(){return ky(),$(N(cde,1),ae,352,0,[Kz,rde,dO])}function m5n(){return Xv(),$(N(lz,1),ae,302,0,[sz,fz,$j])}function v5n(){return F1(),$(N(hz,1),ae,329,0,[Dj,aae,kg])}function y5n(){return ra(),$(N(Vtn,1),ae,316,0,[Lj,pp,v3])}function k5n(){return fb(),$(N(Lq,1),ae,368,0,[Fb,ud,_b])}function E5n(){return vy(),$(N(mde,1),ae,348,0,[uU,cU,Wj])}function j5n(){return yT(),$(N(pde,1),ae,381,0,[wde,rU,gde])}function x5n(){return rc(),$(N(Qcn,1),ae,452,0,[h8,No,qu])}function A5n(){return Zv(),$(N(yde,1),ae,349,0,[oU,vde,a8])}function M5n(){return cT(),$(N(jde,1),ae,351,0,[Ede,sU,kde])}function C5n(){return ET(),$(N(xde,1),ae,382,0,[fU,P5,Ng])}function T5n(){return my(),$(N(Jde,1),ae,385,0,[Bde,aU,Yj])}function S5n(){return nE(),$(N(w0e,1),ae,386,0,[SO,d0e,b0e])}function I5n(){return DT(),$(N(_0e,1),ae,387,0,[L0e,qU,D0e])}function P5n(){return uT(),$(N(Xhe,1),ae,350,0,[Uhe,DP,Uq])}function O5n(){return Yd(),$(N(Jtn,1),ae,449,0,[ez,p5,wp])}function N5n(){return JT(),$(N($0e,1),ae,436,0,[E8,OO,_U])}function $5n(){return kT(),$(N(N0e,1),ae,304,0,[LU,O0e,P0e])}function D5n(){return PT(),$(N(obe,1),ae,430,0,[cbe,ube,VU])}function L5n(){return XC(),$(N(rbe,1),ae,429,0,[WU,ibe,tbe])}function _5n(){return cE(),$(N(QU,1),ae,435,0,[LO,_O,FO])}function F5n(){return jl(),$(N(Twe,1),ae,279,0,[R5,Gg,B5])}function R5n(){return sa(),$(N(Bwe,1),ae,347,0,[VO,l1,_8])}function B5n(){return ly(),$(N(Uwe,1),ae,300,0,[kx,TX,zwe])}function J5n(){return Bm(),$(N(Wwe,1),ae,281,0,[Kwe,qg,tN])}function T2(e){return w6(),F(e.g,9)?u(e.g,9):null}function G5n(e){return e.a==(Lv(),wN)&&w0n(e,jOn(e.g,e.b)),e.a}function Tm(e){return e.d==(Lv(),wN)&&y0n(e,E$n(e.g,e.b)),e.d}function H5n(e,n){var t;return t=(bn(e),e).g,JQ(!!t),bn(n),t(n)}function h$e(e,n,t){var i;i=new Wve,i.b=n,i.a=t,++n.b,me(e.d,i)}function q5n(e,n,t){var i;return i=Yy(e,n,!1),i.b<=n&&i.a<=t}function a$e(e,n){var t,i;return i=Mv(e,n),t=e.a.dd(i),new dMe(e,t)}function z5n(e){return e.Db>>16!=6?null:u(kB(e),241)}function U5n(e){if(e.p!=2)throw I(new wo);return wt(e.f)&Qi}function X5n(e){if(e.p!=2)throw I(new wo);return wt(e.k)&Qi}function zd(e){return st(e),F(e,18)?new Co(u(e,18)):Ev(e.Jc())}function z_(e){XM(),this.a=(tn(),F(e,59)?new TD(e):new CM(e))}function vr(e,n){return _1(U3n(Ic(e)?rf(e):e,Ic(n)?rf(n):n))}function Ql(e,n){return _1(X3n(Ic(e)?rf(e):e,Ic(n)?rf(n):n))}function U_(e,n){return _1(K3n(Ic(e)?rf(e):e,Ic(n)?rf(n):n))}function VZ(e,n){return NPe(e.a,n)?HY(e.b,u(n,24).g,null):null}function K5n(e){return Kr(kh(tu(zo(e,32)),32),tu(zo(e,32)))}function W5n(e){var n;return n=u(GM(e.b),10),new Os(e.a,n,e.c)}function V5n(e,n){var t;t=q(K(e.a.mf((jt(),UO)))),FKe(e,n,t)}function d$e(e,n){Bd.call(this,1,2,$(N(bt,1),Pt,30,15,[e,n]))}function QZ(e,n){K0n.call(this,new cm(Bw(e))),bs(n,aWe),this.a=n}function b$e(e,n,t){B0.call(this,25),this.b=e,this.a=n,this.c=t}function hs(e){Bt(),B0.call(this,e),this.c=!1,this.a=!1}function w$e(){this.c=new _Te,this.a=new YDe,this.b=new axe,SMe()}function TC(){TC=J,AU=new VV("DFS",0),s0e=new VV("BFS",1)}function YZ(e){return e.b==null||e.b.length==0?"n_"+e.a:"n_"+e.b}function x7(e){return u(xl(e,ee(Lh,Ya,9,e.c.length,0,1)),199)}function ZZ(e,n){return e&&e.equals?e.equals(n):Z(e)===Z(n)}function Q5n(e,n){return fy(),e.c==n.c?Qt(n.d,e.d):Qt(e.c,n.c)}function Y5n(e,n){return fy(),e.c==n.c?Qt(e.d,n.d):Qt(e.c,n.c)}function Z5n(e,n){return fy(),e.c==n.c?Qt(e.d,n.d):Qt(n.c,e.c)}function e6n(e,n){return fy(),e.c==n.c?Qt(n.d,e.d):Qt(n.c,e.c)}function n6n(e,n){e.b=e.b|n.b,e.c=e.c|n.c,e.d=e.d|n.d,e.a=e.a|n.a}function X_(e,n,t){var i;i=e.d[n.p],e.d[n.p]=e.d[t.p],e.d[t.p]=i}function t6n(e,n,t){var i;e.n&&n&&t&&(i=new C6e,me(e.e,i))}function i6n(e,n){var t;t=u(vn(e.g,n),60),Tu(n.d,new nCe(e,t))}function r6n(e,n){var t,i;return t=wGe(e),i=wGe(n),t<i?-1:t>i?1:0}function g$e(e,n){var t,i;return t=pF(n),i=t,u(vn(e.c,i),15).a}function p$e(e,n){var t;for(t=e+"";t.length<n;)t="0"+t;return t}function Ud(e){return e.c==null||e.c.length==0?"n_"+e.g:"n_"+e.c}function c6n(e){return!!e.u&&bu(e.u.a).i!=0&&!(e.n&&LR(e.n))}function eee(e,n){return n==0?!!e.o&&e.o.f!=0:IR(e,n)}function T(e){return Hn(e.a<e.c.c.length),e.b=e.a++,e.c.c[e.b]}function K_(e,n){if(Hi(e.a,n),n.d)throw I(new Dc(LWe));n.d=e}function nee(e,n){this.a=new ve,this.d=new ve,this.f=e,this.c=n}function m$e(){Fm(),this.b=new Wn,this.a=new Wn,this.c=new ve}function v$e(e,n,t){this.d=e,this.j=n,this.e=t,this.o=-1,this.p=3}function y$e(e,n,t){this.d=e,this.k=n,this.f=t,this.o=-1,this.p=5}function k$e(e,n,t,i,r,c){mee.call(this,e,n,t,i,r),c&&(this.o=-2)}function E$e(e,n,t,i,r,c){nne.call(this,e,n,t,i,r),c&&(this.o=-2)}function j$e(e,n,t,i,r,c){tne.call(this,e,n,t,i,r),c&&(this.o=-2)}function x$e(e,n,t,i,r,c){yee.call(this,e,n,t,i,r),c&&(this.o=-2)}function A$e(e,n,t,i,r,c){cne.call(this,e,n,t,i,r),c&&(this.o=-2)}function M$e(e,n,t,i,r,c){vee.call(this,e,n,t,i,r),c&&(this.o=-2)}function C$e(e,n,t,i,r,c){ine.call(this,e,n,t,i,r),c&&(this.o=-2)}function T$e(e,n,t,i,r,c){rne.call(this,e,n,t,i,r),c&&(this.o=-2)}function S$e(e,n,t,i){kA.call(this,t),this.b=e,this.c=n,this.d=i}function I$e(e,n){this.f=e,this.a=(Lv(),bN),this.c=bN,this.b=n}function P$e(e,n){this.g=e,this.d=(Lv(),wN),this.a=wN,this.b=n}function tee(e,n){!e.c&&(e.c=new Pi(e,0)),LS(e.c,(Zt(),W8),n)}function u6n(e,n){return nIn(e,n,F(n,103)&&(u(n,19).Bb&Yr)!=0)}function o6n(e,n){return cOe(tu(e.q.getTime()),tu(n.q.getTime()))}function O$e(e){return ZL(e.e.Pd().gc()*e.c.Pd().gc(),16,new uke(e))}function s6n(e){return!!e.a&&Jo(e.a.a).i!=0&&!(e.b&&_R(e.b))}function N$e(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function ty(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function $$e(e){return Hn(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function D$e(e,n){var t;return t=1-n,e.a[t]=dT(e.a[t],t),dT(e,n)}function L$e(e,n){var t,i;return i=vr(e,uc),t=kh(n,32),Ql(t,i)}function f6n(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Gc(t)}function _$e(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Kc(t)}function F$e(e,n,t){var i;i=(st(e),new Co(e)),Hxn(new KNe(i,n,t))}function A7(e,n,t){var i;i=(st(e),new Co(e)),qxn(new WNe(i,n,t))}function l6n(e,n,t){e.a=n,e.c=t,e.b.a.$b(),es(e.d),iw(e.e.a.c,0)}function Xc(e,n,t,i,r,c){return ZFe(e,n,t,c),wte(e,i),gte(e,r),e}function R$e(e,n,t,i){return e.a+=""+tf(n==null?co:Oc(n),t,i),e}function Ar(e,n){this.a=e,e6.call(this,e),Iw(n,e.gc()),this.b=n}function B$e(e,n){var t;e.e=new VW,t=Yw(n),ur(t,e.c),lUe(e,t,0)}function mi(e,n,t,i){var r;r=new XK,r.a=n,r.b=t,r.c=i,At(e.a,r)}function we(e,n,t,i){var r;r=new XK,r.a=n,r.b=t,r.c=i,At(e.b,r)}function h6n(e,n){return new KL(n,PSe(Xr(n.e),e,e),(gn(),!0))}function a6n(e,n){return $m(),u(j(n,(Wc(),Tp)),15).a>=e.gc()}function d6n(e){return ls(),!_r(e)&&!(!_r(e)&&e.c.i.c==e.d.i.c)}function Yl(e){return u(xl(e,ee(l5,q4,17,e.c.length,0,1)),324)}function SC(e){return new Fu((bs(e,aJ),ZC(Kr(Kr(5,e),e/10|0))))}function b6n(e){return ZL(e.e.Pd().gc()*e.c.Pd().gc(),273,new cke(e))}function w6n(e){KBe((!e.a&&(e.a=new se(mt,e,10,11)),e.a),new I5e)}function iee(){var e,n,t;return n=(t=(e=new J0,e),t),me(Oge,n),n}function Xd(e){var n;return Ic(e)?(n=e,n==-0?0:n):C9n(e)}function J$e(e,n){return F(n,45)?GR(e.a,u(n,45)):!1}function G$e(e,n){return F(n,45)?GR(e.a,u(n,45)):!1}function H$e(e,n){return F(n,45)?GR(e.a,u(n,45)):!1}function g6n(e,n){return e.a<=e.b?(n.Bd(e.a++),!0):!1}function M7(e,n){if(e<0||e>=n)throw I(new Lu(CTn(e,n)));return e}function q$e(e,n,t){if(e<0||n<e||n>t)throw I(new Lu(KCn(e,n,t)))}function p6n(e,n,t){e.d&&no(e.d.e,e),e.d=n,e.d&&Ld(e.d.e,t,e)}function iy(e,n){dFn(n,e),_Y(e.d),_Y(u(j(e,(ye(),uO)),213))}function W_(e,n){bFn(n,e),LY(e.d),LY(u(j(e,(ye(),uO)),213))}function ree(e){var n;return I1(e),n=new Jt,h2(e.a,new qke(n)),n}function IC(e){var n;return I1(e),n=new Kt,h2(e.a,new zke(n)),n}function m6n(e){return M2(e).dc()?!1:(cgn(e,new re),!0)}function v6n(e){if(!("stack"in e))try{throw e}catch{}return e}function y6n(e,n,t){var i;i=gjn();try{return A2n(e,n,t)}finally{Iyn(i)}}function cb(e,n){var t,i;return t=Zh(e,n),i=null,t&&(i=t.ne()),i}function Dv(e,n){var t,i;return t=Dw(e,n),i=null,t&&(i=t.qe()),i}function ry(e,n){var t,i;return t=Zh(e,n),i=null,t&&(i=t.qe()),i}function ea(e,n){var t,i;return t=Zh(e,n),i=null,t&&(i=ire(t)),i}function k6n(e,n,t){var i;return i=f4(t),IS(e.n,i,n),IS(e.o,n,t),n}function cee(e,n,t){this.d=new iEe(this),this.e=e,this.i=n,this.f=t}function uee(e,n,t,i){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1}function z$e(e,n,t,i){return F(t,59)?new ESe(e,n,t,i):new tZ(e,n,t,i)}function U$e(e){return u(xl(e,ee(otn,lVe,12,e.c.length,0,1)),2007)}function X$e(e){this.a=ee(ir,ln,1,Bne(m.Math.max(8,e))<<1,5,1)}function K$e(e){DF.call(this,e,(Rv(),oq),null,!1,null,!1)}function W$e(e){var n;n=e.Dh(),this.a=F(n,72)?u(n,72).Gi():n.Jc()}function E6n(e){return new Ze(c8n(u(e.a.kd(),18).gc(),e.a.jd()),16)}function Pw(e){return F(e,18)?u(e,18).dc():!e.Jc().Ob()}function V$e(e){if(e.e.g!=e.b)throw I(new Ss);return!!e.c&&e.d>0}function tt(e){return Hn(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function oee(e,n){bn(n),Ni(e.a,e.c,n),e.c=e.c+1&e.a.length-1,EGe(e)}function N1(e,n){bn(n),e.b=e.b-1&e.a.length-1,Ni(e.a,e.b,n),EGe(e)}function Q$e(){Q$e=J,Mde=LOe(le(1),le(4)),Ade=LOe(le(1),le(2))}function Y$e(){Y$e=J,Jsn=lt((JA(),$(N(sbe,1),ae,477,0,[YU])))}function Z$e(){Z$e=J,Hsn=lt((GA(),$(N(Gsn,1),ae,547,0,[ZU])))}function eDe(){eDe=J,ofn=lt((g6(),$(N(Sbe,1),ae,528,0,[ux])))}function j6n(){return Wv(),$(N(Wnn,1),ae,408,0,[Lb,gg,wg,lp])}function x6n(){return lb(),$(N(cnn,1),ae,409,0,[Aj,xj,wq,gq])}function A6n(){return Rv(),$(N(tP,1),ae,310,0,[oq,sq,fq,lq])}function M6n(){return xT(),$(N(btn,1),ae,367,0,[$q,SP,IP,Ij])}function C6n(){return Hm(),$(N(Ule,1),ae,383,0,[J9,zle,Cq,Tq])}function T6n(){return Pf(),$(N(Atn,1),ae,413,0,[vg,a5,d5,Dq])}function S6n(e){var n;return e.j==(ke(),Xn)&&(n=Zqe(e),po(n,$n))}function I6n(){return Ty(),$(N(zhe,1),ae,301,0,[z9,Hhe,Oj,qhe])}function P6n(){return Uw(),$(N(Vz,1),ae,203,0,[bO,Wz,Mp,Ap])}function O6n(){return la(),$(N(dde,1),ae,269,0,[hd,ade,eU,nU])}function nDe(e,n){return u(Qo(jw(u(Xt(e.k,n),16).Mc(),ap)),113)}function tDe(e,n){return u(Qo(km(u(Xt(e.k,n),16).Mc(),ap)),113)}function N6n(e,n){var t;t=n.a,Jr(t,n.c.d),xr(t,n.d.d),Fw(t.a,e.n)}function see(e,n){var t;return t=u(El(e.b,n),66),!t&&(t=new ni),t}function Sm(e){return w6(),F(e.g,156)?u(e.g,156):null}function $6n(e){e.a=null,e.e=null,iw(e.b.c,0),iw(e.f.c,0),e.c=null}function iDe(e,n,t,i){this.e=null,this.c=e,this.d=n,this.a=t,this.b=i}function fee(e,n,t,i,r){this.i=e,this.a=n,this.e=t,this.j=i,this.f=r}function rDe(e,n,t,i){var r;return r=i[n.g][t.g],q(K(j(e.a,r)))}function cDe(e,n){var t;for(t=e.j.c.length;t<n;t++)me(e.j,e.Mg())}function D6n(e,n){return am(new be(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)}function L6n(){return yy(),$(N(o0e,1),ae,353,0,[xU,CO,jU,EU])}function _6n(){return eS(),$(N(I0e,1),ae,354,0,[DU,T0e,S0e,C0e])}function F6n(){return n0(),$(N(kun,1),ae,404,0,[Vj,d8,mO,pO])}function R6n(){return lS(),$(N(fsn,1),ae,401,0,[JU,FU,BU,RU])}function B6n(){return Um(),$(N(Sde,1),ae,398,0,[EO,g8,p8,m8])}function J6n(){return n4(),$(N(Cwe,1),ae,278,0,[wx,WO,Awe,Mwe])}function G6n(){return DC(),$(N(Mx,1),ae,288,0,[Vwe,Ywe,IX,Qwe])}function H6n(){return rs(),$(N(G8,1),ae,380,0,[jx,I0,Ex,Hg])}function q6n(){return fa(),$(N(MX,1),ae,222,0,[AX,gx,J5,R3])}function z6n(){return gs(),$(N(tln,1),ae,292,0,[mx,Rh,gd,px])}function U6n(){return _T(),$(N(tge,1),ae,327,0,[PX,Zwe,nge,ege])}function X6n(){return MT(),$(N(yln,1),ae,407,0,[OX,rge,ige,cge])}function K6n(e){return MC(),Au(_X,e)?u(vn(_X,e),342).Pg():null}function Ns(e,n,t){return n<0?mB(e,t):u(t,69).uk().zk(e,e.ei(),n)}function W6n(e,n,t){var i;return i=f4(t),IS(e.f,i,n),It(e.g,n,t),n}function V6n(e,n,t){var i;return i=f4(t),IS(e.p,i,n),It(e.q,n,t),n}function uDe(e){var n,t;return n=(j1(),t=new U$,t),e&&kS(n,e),n}function lee(e){var n;return n=e.$i(e.i),e.i>0&&pu(e.g,0,n,0,e.i),n}function Zf(e){var n;for(n=0;e.Ob();)e.Pb(),n=Kr(n,1);return ZC(n)}function oDe(e,n){var t;return t=new im,e.Ed(t),t.a+="..",n.Fd(t),t.a}function sDe(e,n){HA();var t;return t=u(vn(lN,e),58),!t||t.dk(n)}function Q6n(e,n,t){if(t){var i=t.me();e.a[n]=i(t)}else delete e.a[n]}function S2(e,n){return n.e==0||e.e==0?L9:(E4(),AB(e,n))}function Y6n(e){if(e.p!=1)throw I(new wo);return wt(e.f)<<24>>24}function Z6n(e){if(e.p!=1)throw I(new wo);return wt(e.k)<<24>>24}function eyn(e){if(e.p!=7)throw I(new wo);return wt(e.k)<<16>>16}function nyn(e){if(e.p!=7)throw I(new wo);return wt(e.f)<<16>>16}function PC(){PC=J,az=new GV(_4,0),dae=new GV("TOP_LEFT",1)}function cy(){cy=J,w8=new zV("UPPER",0),b8=new zV("LOWER",1)}function tyn(e,n,t){var i;i=u(vn(e.g,t),60),me(e.a.c,new Qr(n,i))}function iyn(e,n,t,i,r){var c;c=wIn(r,t,i),me(n,vTn(r,c)),dCn(e,r,n)}function fDe(e,n,t){e.i=0,e.e=0,n!=t&&(qRe(e,n,t),HRe(e,n,t))}function ryn(e,n,t){return f_(K(Lc(pc(e.f,n))),K(Lc(pc(e.f,t))))}function cyn(e,n){return u(n==null?Lc(pc(e.f,null)):y6(e.i,n),290)}function lDe(e,n){return Z(n)===Z(e)?"(this Map)":n==null?co:Oc(n)}function hee(e,n){return e==(pn(),Ai)&&n==Ai?4:e==Ai||n==Ai?8:32}function OC(e,n,t){return OS(e,n,t,F(n,103)&&(u(n,19).Bb&Yr)!=0)}function uyn(e,n,t){return A4(e,n,t,F(n,103)&&(u(n,19).Bb&Yr)!=0)}function oyn(e,n,t){return oIn(e,n,t,F(n,103)&&(u(n,19).Bb&Yr)!=0)}function xh(e,n){tc();var t;return t=u(e,69).tk(),MCn(t,n),t.vl(n)}function na(e,n){ih(),Bd.call(this,e,1,$(N(bt,1),Pt,30,15,[n]))}function Ow(e,n){Bt(),B0.call(this,e),this.a=n,this.c=-1,this.b=-1}function hDe(e,n){FZ.call(this),this.a=e,this.b=n,me(this.a.b,this)}function uy(e){return Hn(e.a<e.c.a.length),e.b=e.a,M_e(e),e.c.b[e.b]}function bu(e){return e.n||(Ro(e),e.n=new $Pe(e,hc,e),Mc(e)),e.n}function aDe(e,n){var t;for(t=n;t;)pw(e,t.i,t.j),t=pi(t);return e}function dDe(e,n){var t;for(t=0;t<n;++t)Ni(e,t,new gW(u(e[t],45)))}function aee(e,n){var t;t=e.q.getHours(),e.q.setFullYear(n+Q1),Wy(e,t)}function bDe(e,n){Qv();var t;return t=e.j.g-n.j.g,t!=0?t:0}function V_(e,n,t){if(t){var i=t.me();t=i(t)}else t=void 0;e.a[n]=t}function wDe(e){if(e<0)throw I(new iAe("Negative array size: "+e))}function gDe(e){F(e,206)&&!Se(Te(e.mf((jt(),zO))))&&m$n(u(e,26))}function Q_(e){return e.c&&e.d?YZ(e.c)+"->"+YZ(e.d):"e_"+K0(e)}function syn(e,n){var t;return t=n!=null?Mu(e,n):Lc(pc(e.f,n)),gM(t)}function fyn(e,n){var t;return t=n!=null?Mu(e,n):Lc(pc(e.f,n)),gM(t)}function lyn(e,n){return Na(),it(oe(e.a),n)}function hyn(e,n){return Na(),it(oe(e.a),n)}function Kd(e,n,t){this.e=e,this.a=ir,this.b=NUe(n),this.c=n,this.d=t}function Y_(e){this.e=e,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function pDe(e){this.c=e,this.a=u(uf(e),159),this.b=this.a.hk().ti()}function Nw(e,n,t,i){v$e.call(this,1,t,i),this.c=e,this.b=n}function Z_(e,n,t,i){y$e.call(this,1,t,i),this.c=e,this.b=n}function eF(e,n,t,i,r,c,o){CF.call(this,n,i,r,c,o),this.c=e,this.a=t}function $1(){Wn.call(this),ASe(this),this.d.b=this.d,this.d.a=this.d}function dee(e){this.d=e,this.b=this.d.a.entries(),this.a=this.b.next()}function NC(e){Jie(),QTe(this,wt(vr(V0(e,24),XS)),wt(vr(e,XS)))}function To(e,n){var t;return n.b.Kb(b_e(e,n.c.Ve(),(t=new Wke(n),t)))}function ayn(e,n){var t;return wDe(n),t=e.slice(0,n),t.length=n,dF(t,e)}function $C(e){var n;return e?new WY(e):(n=new ph,$F(n,e),n)}function dyn(e,n){var t;for(t=e.d-1;t>=0&&e.a[t]===n[t];t--);return t<0}function byn(e,n){var t,i;i=!1;do t=DRe(e,n),i=i|t;while(t);return i}function ji(e,n,t,i){var r;r=new Oi,r.c=n,r.b=t,r.a=i,i.b=t.a=r,++e.b}function DC(){DC=J,Vwe=new gPe,Ywe=new HPe,IX=new MNe,Qwe=new tOe}function LC(){LC=J,Ez=new HV(ul,0),kz=new HV("ALTERNATING",1)}function mDe(){mDe=J,qtn=lt((D7(),$(N(eae,1),ae,476,0,[Zhe,FP])))}function vDe(){vDe=J,Ltn=lt((qC(),$(N(Ghe,1),ae,422,0,[Jhe,zq])))}function yDe(){yDe=J,Btn=lt((G7(),$(N(Qhe,1),ae,419,0,[LP,Vhe])))}function kDe(){kDe=J,Ytn=lt((PC(),$(N(bae,1),ae,420,0,[az,dae])))}function EDe(){EDe=J,nin=lt((LC(),$(N(Tae,1),ae,423,0,[Ez,kz])))}function jDe(){jDe=J,Vcn=lt((R7(),$(N(bde,1),ae,421,0,[tU,iU])))}function xDe(){xDe=J,Cun=lt((cy(),$(N(Mun,1),ae,519,0,[w8,b8])))}function ADe(){ADe=J,$un=lt((Vl(),$(N(Nun,1),ae,510,0,[zb,u1])))}function MDe(){MDe=J,Lun=lt((vl(),$(N(Dun,1),ae,509,0,[M0,Ll])))}function CDe(){CDe=J,Qun=lt((el(),$(N(Vun,1),ae,516,0,[$g,ad])))}function TDe(){TDe=J,ron=lt((rb(),$(N(ion,1),ae,454,0,[dd,Cp])))}function SDe(){SDe=J,Pon=lt((TC(),$(N(f0e,1),ae,425,0,[AU,s0e])))}function IDe(){IDe=J,Lon=lt((wT(),$(N(l0e,1),ae,487,0,[TO,Ip])))}function PDe(){PDe=J,Ron=lt((UC(),$(N(a0e,1),ae,426,0,[h0e,PU])))}function ODe(){ODe=J,Dsn=lt((FC(),$(N(nbe,1),ae,478,0,[KU,ebe])))}function NDe(){NDe=J,qsn=lt((I7(),$(N(fbe,1),ae,428,0,[eX,RO])))}function $De(){$De=J,wnn=lt((YC(),$(N(Cle,1),ae,424,0,[pq,uP])))}function DDe(){DDe=J,htn=lt((qv(),$(N(ltn,1),ae,503,0,[Sj,Iq])))}function LDe(){LDe=J,sfn=lt((W7(),$(N(Pbe,1),ae,427,0,[JO,Ibe])))}function wyn(){return Vi(),$(N(D8,1),ae,86,0,[Bl,Tc,jc,Rl,Xs])}function gyn(){return ke(),$(N(ec,1),fu,64,0,[qc,Cn,$n,Xn,Tn])}function pyn(e,n,t){return u(n==null?ro(e.f,null,t):hb(e.i,n,t),290)}function myn(e){return(e.k==(pn(),Ai)||e.k==Ui)&&Ht(e,(fe(),W9))}function bee(e){e.b!=e.c&&(e.a=ee(ir,ln,1,8,5,1),e.b=0,e.c=0)}function _De(e,n){var t;return t=n.jd(),new H0(t,e.e.pc(t,u(n.kd(),18)))}function FDe(e,n){var t;for(t=n;t;)pw(e,-t.i,-t.j),t=pi(t);return e}function wee(e,n){var t,i;for(t=n,i=0;t>0;)i+=e.a[t],t-=t&-t;return i}function as(e,n,t){var i;return i=(en(n,e.c.length),e.c[n]),e.c[n]=t,i}function Lr(e,n){var t,i;for(bn(n),i=e.Jc();i.Ob();)t=i.Pb(),n.Ad(t)}function RDe(e,n){var t,i;return t=n.jd(),i=e.De(t),!!i&&du(i.e,n.kd())}function vyn(e,n){var t;return t=e.a.get(n),t??ee(ir,ln,1,0,5,1)}function C7(e){e.i=0,Lk(e.b,null),Lk(e.c,null),e.a=null,e.e=null,++e.g}function gee(e,n,t){e.a.c.length=0,iLn(e,n,t),e.a.c.length==0||SNn(e,n)}function BDe(e,n){this.c=0,this.b=n,cTe.call(this,e,17493),this.a=this.c}function JDe(e){nWe(),Vje(this),this.a=new ni,Qne(this,e),At(this.a,e)}function GDe(){jL(this),this.b=new be(xi,xi),this.a=new be(lr,lr)}function nF(e){_C(),!$l&&(this.c=e,this.e=!0,this.a=new ve)}function _C(){_C=J,$l=!0,ven=!1,yen=!1,Een=!1,ken=!1}function FC(){FC=J,KU=new ZV(Bue,0),ebe=new ZV("TARGET_WIDTH",1)}function $w(e,n){return(G1(e),fv(new Ve(e,new Hee(n,e.a)))).zd(b3)}function yyn(){return dr(),$(N(Hle,1),ae,363,0,[Ff,Dh,vu,lu,fc])}function kyn(){return sS(),$(N(_on,1),ae,364,0,[SU,MU,IU,CU,TU])}function Eyn(){return Hy(),$(N(Fsn,1),ae,369,0,[Pp,O3,T8,C8,cx])}function jyn(){return yE(),$(N(dbe,1),ae,330,0,[lbe,nX,abe,tX,hbe])}function xyn(){return Xw(),$(N(Ctn,1),ae,371,0,[Pj,NP,$P,OP,PP])}function Ayn(){return Py(),$(N(Zz,1),ae,303,0,[ude,Qz,Yz,f8,S5])}function Myn(){return ts(),$(N(Cae,1),ae,165,0,[Bj,Y9,ma,Z9,y0])}function Cyn(){return th(),$(N(_l,1),ae,160,0,[un,Ri,al,s1,ya])}function Tyn(){return B2(),$(N(R8,1),ae,257,0,[pd,vx,Jwe,F8,Gwe])}function Syn(e){return IA(),function(){return y6n(e,this,arguments)}}function _r(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function pee(e,n){return F(n,144)?We(e.c,u(n,144).c):!1}function Ro(e){return e.t||(e.t=new Rje(e),Ay(new tAe(e),0,e.t)),e.t}function HDe(e){var n;return e.c||(n=e.r,F(n,88)&&(e.c=u(n,29))),e.c}function tF(e,n){var t;return t=u(El(e.d,n),21),t||u(El(e.e,n),21)}function qDe(e){this.b=e,Rn.call(this,e),this.a=u(Mn(this.b.a,4),129)}function zDe(e){this.b=e,wm.call(this,e),this.a=u(Mn(this.b.a,4),129)}function Mf(e,n,t,i,r){VDe.call(this,n,i,r),this.c=e,this.b=t}function mee(e,n,t,i,r){VDe.call(this,n,i,r),this.c=e,this.a=t}function vee(e,n,t,i,r){y$e.call(this,n,i,r),this.c=e,this.a=t}function yee(e,n,t,i,r){v$e.call(this,n,i,r),this.c=e,this.a=t}function kee(e){fwn.call(this,e==null?co:Oc(e),F(e,80)?u(e,80):null)}function Iyn(e){e&&D9n((iV(),Ufe)),--VI,e&&QI!=-1&&(pwn(QI),QI=-1)}function Pyn(e,n){var t,i;t=u(p7n(e.c,n),18),t&&(i=t.gc(),t.$b(),e.d-=i)}function iF(e){var n,t,i;return n=e&Xo,t=e>>22&Xo,i=e<0?da:0,zu(n,t,i)}function UDe(e){var n,t;return n=e.c.i,t=e.d.i,n.k==(pn(),Ui)&&t.k==Ui}function XDe(e){var n;return n=e.length,We(wn.substr(wn.length-n,n),e)}function Dn(e){if(zn(e))return e.c=e.a,e.a.Pb();throw I(new $c)}function Im(e,n){return n==0||e.e==0?e:n>0?hJe(e,n):Qze(e,-n)}function Eee(e,n){return n==0||e.e==0?e:n>0?Qze(e,n):hJe(e,-n)}function Oyn(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function rF(e){var n;return n=new tb,iu(n,e),ie(n,(ye(),Ec),null),n}function cF(e,n,t){var i;return i=e.Fh(n),i>=0?e.Ih(i,t,!0):vb(e,n,t)}function Nyn(e,n,t){return Qt(am(l4(e),Xr(n.b)),am(l4(e),Xr(t.b)))}function $yn(e,n,t){return Qt(am(l4(e),Xr(n.e)),am(l4(e),Xr(t.e)))}function Dyn(e,n){return m.Math.min(D1(n.a,e.d.d.c),D1(n.b,e.d.d.c))}function KDe(e,n,t){var i;i=new EQ(e.a),wy(i,e.a.a),ro(i.f,n,t),e.a.a=i}function jee(e,n,t,i){var r;for(r=0;r<rP;r++)nC(e.a[r][n.g],t,i[n.g])}function xee(e,n,t,i){var r;for(r=0;r<dq;r++)tC(e.a[n.g][r],t,i[n.g])}function Xt(e,n){var t;return t=u(e.c.xc(n),18),!t&&(t=e.ic(n)),e.pc(n,t)}function Lyn(e){var n;return n=(st(e),e?new Co(e):Ev(e.Jc())),kE(n),$T(n)}function Cf(e){var n,t;return st(e),n=Rvn(e.length),t=new Fu(n),qne(t,e),t}function oy(e){var n,t;++e.j,n=e.g,t=e.i,e.g=null,e.i=0,e.Mi(t,n),e.Li()}function T7(e,n){e.Zi(e.i+1),F6(e,e.i,e.Xi(e.i,n)),e.Ki(e.i++,n),e.Li()}function Pm(e,n){return mr(n)?n==null?Sre(e.f,null):aRe(e.i,n):Sre(e.f,n)}function Ra(e,n){var t;return t=(en(n,e.c.length),e.c[n]),gV(e.c,n,1),t}function uF(e,n,t,i){var r;return r=ee(bt,Pt,30,n,15,1),OMn(r,e,n,t,i),r}function ta(e,n){return e.a?xt(e.a,e.b):e.a=new ss(e.d),$6(e.a,n),e}function Aee(e,n){if(e<0||e>n)throw I(new Lu(are(e,n,"index")));return e}function Mee(e){var n;return n=e.e+e.f,isNaN(n)&&DM(e.d)?e.d:n}function Cee(e,n){var t,i;return t=(bn(e),e),i=(bn(n),n),t==i?0:t<i?-1:1}function _yn(e,n){var t;t=e.q.getHours()+(n/60|0),e.q.setMinutes(n),Wy(e,t)}function WDe(e,n,t){kA.call(this,t),this.b=e,this.c=n,this.d=(ER(),GX)}function VDe(e,n,t){this.d=e,this.k=n?1:0,this.f=t?1:0,this.o=-1,this.p=0}function kl(e){this.c=e,this.a=new S(this.c.a),this.b=new S(this.c.b)}function RC(){this.e=new ve,this.c=new ve,this.d=new ve,this.b=new ve}function QDe(){this.g=new FW,this.b=new FW,this.a=new ve,this.k=new ve}function YDe(){this.a=new GW,this.b=new mxe,this.d=new T$,this.e=new C$}function ZDe(e,n,t){this.a=e,this.c=n,this.d=t,me(n.e,this),me(t.b,this)}function eLe(e,n){rTe.call(this,n.xd(),n.wd()&-6),bn(e),this.a=e,this.b=n}function nLe(e,n){cTe.call(this,n.xd(),n.wd()&-6),bn(e),this.a=e,this.b=n}function Tee(e,n){vM.call(this,n.xd(),n.wd()&-6),bn(e),this.a=e,this.b=n}function BC(e,n,t){this.a=e,this.b=n,this.c=t,me(e.t,this),me(n.i,this)}function S7(){this.b=new ni,this.a=new ni,this.b=new ni,this.a=new ni}function Lv(){Lv=J;var e,n;bN=(sv(),n=new EA,n),wN=(e=new bD,e)}function el(){el=J,$g=new KV("REGULAR",0),ad=new KV("CRITICAL",1)}function I7(){I7=J,eX=new eQ("FIXED",0),RO=new eQ("CENTER_NODE",1)}function tLe(){tLe=J,Lhe=new ai("separateLayerConnections",(xT(),$q))}function JC(){JC=J,S8=new Vt("org.eclipse.elk.labels.labelManager")}function See(e){if(e.a){if(e.e)return See(e.e)}else return e;return null}function Fyn(e,n){return e.p<n.p?1:e.p>n.p?-1:0}function iLe(e,n){return Au(e.a,n)?(Pm(e.a,n),!0):!1}function Ryn(e){var n,t;return n=e.jd(),t=u(e.kd(),18),f7(t.Lc(),new tke(n))}function oF(e){var n;return n=e.b,n.b==0?null:u(wu(n,0),65).b}function Byn(e,n){var t;return t=mLn(e,n),e.b=new bT(t.c.length),LDn(e,t)}function Jyn(e){var n;return G1(e),n=new QIe(e,e.a.e,e.a.d|4),new WQ(e,n)}function rLe(e){var n;for(I1(e),n=0;e.a.zd(new ew);)n=Kr(n,1);return n}function cLe(e){var n;return e.a||(n=e.r,F(n,159)&&(e.a=u(n,159))),e.a}function Gyn(e,n,t){var i;return++e.e,--e.f,i=u(e.d[n].ed(t),136),i.kd()}function Om(e,n,t){return M7(n,e.e.Pd().gc()),M7(t,e.c.Pd().gc()),e.a[n][t]}function GC(e,n){return bn(n),e.c<e.d?(e.Qe(n,e.c++),!0):!1}function Hyn(e,n){var t;e.C&&(t=u(dc(e.b,n),127).n,t.d=e.C.d,t.a=e.C.a)}function Iee(e){var n,t,i,r;r=e.d,n=e.a,t=e.b,i=e.c,e.d=t,e.a=i,e.b=r,e.c=n}function Pee(e,n,t){var i,r;for(i=0,r=0;r<n.length;r++)i+=e.sg(n[r],i,t)}function HC(e,n,t,i){this.f=e,this.e=n,this.d=t,this.b=i,this.c=i?i.d:null}function qyn(e,n){n.Tg("Label management",1),gM(j(e,(JC(),S8))),n.Ug()}function uLe(){uLe=J,Nen=lt((So(),$(N(Oen,1),ae,461,0,[dh,rd,Lf])))}function oLe(){oLe=J,Den=lt((to(),$(N($en,1),ae,462,0,[fl,cd,_f])))}function sLe(){sLe=J,Pen=lt((il(),$(N(bg,1),ae,237,0,[Yc,Hu,Zc])))}function fLe(){fLe=J,jen=lt((Fs(),$(N(oo,1),ae,130,0,[yle,uo,kle])))}function lLe(){lLe=J,Jnn=lt((sy(),$(N(Gle,1),ae,384,0,[kq,yq,Eq])))}function hLe(){hLe=J,Ktn=lt((Xv(),$(N(lz,1),ae,302,0,[sz,fz,$j])))}function aLe(){aLe=J,Wtn=lt((F1(),$(N(hz,1),ae,329,0,[Dj,aae,kg])))}function dLe(){dLe=J,Qtn=lt((ra(),$(N(Vtn,1),ae,316,0,[Lj,pp,v3])))}function bLe(){bLe=J,Ntn=lt((fb(),$(N(Lq,1),ae,368,0,[Fb,ud,_b])))}function wLe(){wLe=J,eun=lt((vy(),$(N(mde,1),ae,348,0,[uU,cU,Wj])))}function gLe(){gLe=J,Zcn=lt((yT(),$(N(pde,1),ae,381,0,[wde,rU,gde])))}function pLe(){pLe=J,Ycn=lt((rc(),$(N(Qcn,1),ae,452,0,[h8,No,qu])))}function mLe(){mLe=J,nun=lt((Zv(),$(N(yde,1),ae,349,0,[oU,vde,a8])))}function vLe(){vLe=J,zcn=lt((ky(),$(N(cde,1),ae,352,0,[Kz,rde,dO])))}function yLe(){yLe=J,tun=lt((cT(),$(N(jde,1),ae,351,0,[Ede,sU,kde])))}function kLe(){kLe=J,iun=lt((ET(),$(N(xde,1),ae,382,0,[fU,P5,Ng])))}function ELe(){ELe=J,oon=lt((my(),$(N(Jde,1),ae,385,0,[Bde,aU,Yj])))}function jLe(){jLe=J,Bon=lt((nE(),$(N(w0e,1),ae,386,0,[SO,d0e,b0e])))}function xLe(){xLe=J,dsn=lt((DT(),$(N(_0e,1),ae,387,0,[L0e,qU,D0e])))}function ALe(){ALe=J,Ftn=lt((uT(),$(N(Xhe,1),ae,350,0,[Uhe,DP,Uq])))}function MLe(){MLe=J,Gtn=lt((Yd(),$(N(Jtn,1),ae,449,0,[ez,p5,wp])))}function CLe(){CLe=J,ssn=lt((JT(),$(N($0e,1),ae,436,0,[E8,OO,_U])))}function TLe(){TLe=J,osn=lt((kT(),$(N(N0e,1),ae,304,0,[LU,O0e,P0e])))}function SLe(){SLe=J,_sn=lt((PT(),$(N(obe,1),ae,430,0,[cbe,ube,VU])))}function ILe(){ILe=J,Lsn=lt((XC(),$(N(rbe,1),ae,429,0,[WU,ibe,tbe])))}function PLe(){PLe=J,Bsn=lt((cE(),$(N(QU,1),ae,435,0,[LO,_O,FO])))}function OLe(){OLe=J,Qfn=lt((jl(),$(N(Twe,1),ae,279,0,[R5,Gg,B5])))}function NLe(){NLe=J,nln=lt((sa(),$(N(Bwe,1),ae,347,0,[VO,l1,_8])))}function $Le(){$Le=J,dln=lt((ly(),$(N(Uwe,1),ae,300,0,[kx,TX,zwe])))}function DLe(){DLe=J,gln=lt((Bm(),$(N(Wwe,1),ae,281,0,[Kwe,qg,tN])))}function qC(){qC=J,Jhe=new RV("QUADRATIC",0),zq=new RV("SCANLINE",1)}function P7(e){return!e.g&&(e.g=new hA),!e.g.c&&(e.g.c=new Fje(e)),e.g.c}function zyn(e){return!e.g&&(e.g=new hA),!e.g.a&&(e.g.a=new _je(e)),e.g.a}function Uyn(e){return!e.g&&(e.g=new hA),!e.g.b&&(e.g.b=new Dje(e)),e.g.b}function Xyn(e){return!e.g&&(e.g=new hA),!e.g.d&&(e.g.d=new Lje(e)),e.g.d}function Kyn(e,n,t,i){return t&&(i=t.Oh(n,vi(t.Ah(),e.c.sk()),null,i)),i}function Wyn(e,n,t,i){return t&&(i=t.Qh(n,vi(t.Ah(),e.c.sk()),null,i)),i}function sF(e,n,t,i){var r;return r=ee(bt,Pt,30,n+1,15,1),l$n(r,e,n,t,i),r}function ee(e,n,t,i,r,c){var o;return o=dGe(r,i),r!=10&&$(N(e,c),n,t,r,o),o}function Vyn(e,n,t){var i,r;for(r=new Uv(n,e),i=0;i<t;++i)VT(r);return r}function fF(e,n,t){var i,r;if(t!=null)for(i=0;i<n;++i)r=t[i],e.Oi(i,r)}function Oee(e,n){var t;return t=new ei,t.c=!0,t.d=n.kd(),wKe(e,n.jd(),t)}function Qyn(e,n){var t;t=e.q.getHours()+(n/3600|0),e.q.setSeconds(n),Wy(e,t)}function Nee(e,n){var t,i;return t=n,i=vC(Ev(new gF(e,t))),KM(new gF(e,t)),i}function nl(e,n){return!e.o&&(e.o=new vo((su(),Gh),h1,e,0)),vR(e.o,n)}function $ee(e,n,t){u(e.b,68),u(e.b,68),u(e.b,68),Tu(e.a,new $Ie(t,n,e))}function Yyn(e,n,t,i){gXe(e,n,t,A4(e,n,i,F(n,103)&&(u(n,19).Bb&Yr)!=0))}function Sr(e,n,t){if(e<0||n>t||n<e)throw I(new rV(KS+e+Eue+n+vue+t))}function LLe(e,n,t){this.d=new AA,this.c=new Wn,this.a=e,this.e=n,this.c=t}function lF(e){e?(this.c=e,this.b=null):(this.c=null,this.b=new ve)}function hF(e,n){UA.call(this,e,n),this.a=ee(rRn,HS,438,2,0,1),this.b=!0}function Dee(e){VRe.call(this,e,0),ASe(this),this.d.b=this.d,this.d.a=this.d}function Lee(e){this.e=e,this.b=this.e.a.entries(),this.a=ee(ir,ln,1,0,5,1)}function Fu(e){jL(this),h7(e>=0,"Initial capacity must not be negative")}function D1(e,n){var t,i;return t=e.a-n.a,i=e.b-n.b,m.Math.sqrt(t*t+i*i)}function _ee(e,n,t){var i;i=e.b[t.c.p][t.p],i.b+=n.b,i.c+=n.c,i.a+=n.a,++i.a}function _Le(){_Le=J,sun=xu(kt(new Li,(dr(),Ff),(kr(),Pq)),fc,m3)}function Zyn(){return Xm(),$(N(g5,1),ae,231,0,[w5,q9,b5,yg,bp,dp])}function e9n(){return dS(),$(N(Yhe,1),ae,284,0,[tz,nz,rz,iz,cz,_P])}function n9n(){return mE(),$(N(cae,1),ae,282,0,[RP,tae,rae,nae,iae,uz])}function t9n(){return g4(),$(N(hae,1),ae,283,0,[U9,oae,lae,fae,sae,uae])}function i9n(){return Mh(),$(N(Lbe,1),ae,256,0,[sX,ox,sx,qO,GO,HO])}function r9n(){return yr(),$(N(Hwe,1),ae,102,0,[md,Jl,G5,S0,Jh,yu])}function c9n(){return Io(),$(N(QO,1),ae,280,0,[vd,Ea,yx,J8,B8,B3])}function u9n(){return r0(),$(N(aX,1),ae,299,0,[hX,N8,O8,lX,I8,P8])}function o9n(){return hS(),$(N($we,1),ae,328,0,[CX,Pwe,Nwe,Swe,Owe,Iwe])}function Fee(e){var n;return!e.a&&e.b!=-1&&(n=e.c.Ah(),e.a=cn(n,e.b)),e.a}function it(e,n){return e.Qi()&&e.Gc(n)?!1:(e.Fi(n),!0)}function tl(e,n){return v7(n,"Horizontal alignment cannot be null"),e.b=n,e}function FLe(e,n,t){Bt();var i;return i=W1(e,n),t&&i&&Cvn(e)&&(i=null),i}function Ba(e,n,t){var i,r;for(r=e.Jc();r.Ob();)i=u(r.Pb(),36),j4(i,n,t)}function Ree(e,n){var t,i;for(i=n.Jc();i.Ob();)t=u(i.Pb(),36),HUe(e,t,0,0)}function s9n(e){var n,t;for(t=rt(e.a,0);t.b!=t.d.c;)n=u(tt(t),65),vre(n)}function RLe(e,n){return FMe(e.e,n)||t0(e.e,n,new _Je(n)),u(El(e.e,n),113)}function Bo(e,n,t,i){return bn(e),bn(n),bn(t),bn(i),new fZ(e,n,new ku)}function vo(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=new oZ(this,n,t,i)}function aF(e,n,t,i,r,c){uee.call(this,n,i,r,c),this.c=e,this.b=t}function O7(e,n,t,i,r,c){uee.call(this,n,i,r,c),this.c=e,this.a=t}function N7(e,n){var t,i,r;return r=e.r,i=e.d,t=Yy(e,n,!0),t.b!=r||t.a!=i}function $7(e,n,t){var i,r;return r=(i=v4(e.b,n),i),r?_S(F7(e,r),t):null}function f9n(e,n,t){var i,r,c;i=Zh(e,t),r=null,i&&(r=ire(i)),c=r,$Je(n,t,c)}function l9n(e,n,t){var i,r,c;i=Zh(e,t),r=null,i&&(r=ire(i)),c=r,$Je(n,t,c)}function Bee(e,n,t){var i;e.d[n.g]=t,i=e.g.c,i[n.g]=m.Math.max(i[n.g],t+1)}function _v(e,n){var t;return t=e.Fh(n),t>=0?e.Ih(t,!0,!0):vb(e,n,!0)}function h9n(e,n){var t;return t=vn(e.k,n),Vre(e,n),NB(e,n),Bre(e,n,t),null}function a9n(e){var n;if(!e.a)throw I(new hNe);return n=e.a,e.a=pi(e.a),n}function d9n(e){if(e.b<=0)throw I(new $c);return--e.b,e.a-=e.c.c,le(e.a)}function b9n(e,n,t){var i;return i=JRe(e,n,t),e.b=new bT(i.c.length),rce(e,i)}function Nm(e){var n;return st(e),F(e,204)?(n=u(e,204),n):new pke(e)}function w9n(e){for(;!e.a;)if(!EIe(e.c,new Uke(e)))return!1;return!0}function g9n(e,n){e.a.Le(n.d,e.b)>0&&(me(e.c,new FY(n.c,n.d,e.d)),e.b=n.d)}function Jee(e,n){if(e.g==null||n>=e.i)throw I(new pL(n,e.i));return e.g[n]}function BLe(e){var n;if(e.ll())for(n=e.i-1;n>=0;--n)R(e,n);return lee(e)}function p9n(e){zC(),u(e.mf((jt(),Rg)),182).Ec((Io(),yx)),e.of(EX,null)}function zC(){zC=J,hfn=new Q5e,dfn=new Y5e,afn=Pkn((jt(),EX),hfn,wd,dfn)}function UC(){UC=J,h0e=new YV("LEAF_NUMBER",0),PU=new YV("NODE_SIZE",1)}function JLe(){JLe=J,NS(),Bge=xi,jhn=lr,Jge=new kk(xi),xhn=new kk(lr)}function m9n(e){return F(e,180)?""+u(e,180).a:e==null?null:Oc(e)}function v9n(e){return F(e,180)?""+u(e,180).a:e==null?null:Oc(e)}function $s(e,n,t,i,r){return n<0?vb(e,t,i):u(t,69).uk().wk(e,e.ei(),n,i,r)}function Fv(e,n,t,i){var r;i=(nb(),i||dle),r=e.slice(n,t),dre(r,e,n,t,-n,i)}function GLe(e,n){var t,i;return i=n/e.c.Pd().gc()|0,t=n%e.c.Pd().gc(),Om(e,i,t)}function Gee(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[0];)t=n;return t}function HLe(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[1];)t=n;return t}function qLe(e,n,t){if(Yv(e,t),t!=null&&!e.dk(t))throw I(new lD);return t}function dF(e,n){return J7(n)!=10&&$(ns(n),n.Qm,n.__elementTypeId$,J7(n),e),e}function Hee(e,n){vM.call(this,n.xd(),n.wd()&-16449),bn(e),this.a=e,this.c=n}function qee(e,n,t,i,r){GTe(this),this.b=e,this.d=n,this.f=t,this.g=i,this.c=r}function zLe(e,n){if(n.a)throw I(new Dc(LWe));Hi(e.a,n),n.a=e,!e.j&&(e.j=n)}function So(){So=J,dh=new JD(c3,0),rd=new JD(_4,1),Lf=new JD(u3,2)}function Rv(){Rv=J,oq=new XA("All",0),sq=new STe,fq=new BTe,lq=new ITe}function ULe(){ULe=J,pen=lt((Rv(),$(N(tP,1),ae,310,0,[oq,sq,fq,lq])))}function XLe(){XLe=J,wtn=lt((xT(),$(N(btn,1),ae,367,0,[$q,SP,IP,Ij])))}function KLe(){KLe=J,ttn=lt((Hm(),$(N(Ule,1),ae,383,0,[J9,zle,Cq,Tq])))}function WLe(){WLe=J,unn=lt((lb(),$(N(cnn,1),ae,409,0,[Aj,xj,wq,gq])))}function VLe(){VLe=J,Vnn=lt((Wv(),$(N(Wnn,1),ae,408,0,[Lb,gg,wg,lp])))}function QLe(){QLe=J,_tn=lt((Ty(),$(N(zhe,1),ae,301,0,[z9,Hhe,Oj,qhe])))}function YLe(){YLe=J,Ucn=lt((Uw(),$(N(Vz,1),ae,203,0,[bO,Wz,Mp,Ap])))}function ZLe(){ZLe=J,Wcn=lt((la(),$(N(dde,1),ae,269,0,[hd,ade,eU,nU])))}function e_e(){e_e=J,Mtn=lt((Pf(),$(N(Atn,1),ae,413,0,[vg,a5,d5,Dq])))}function n_e(){n_e=J,Eun=lt((n0(),$(N(kun,1),ae,404,0,[Vj,d8,mO,pO])))}function t_e(){t_e=J,usn=lt((eS(),$(N(I0e,1),ae,354,0,[DU,T0e,S0e,C0e])))}function i_e(){i_e=J,Ion=lt((yy(),$(N(o0e,1),ae,353,0,[xU,CO,jU,EU])))}function r_e(){r_e=J,con=lt((Um(),$(N(Sde,1),ae,398,0,[EO,g8,p8,m8])))}function c_e(){c_e=J,lsn=lt((lS(),$(N(fsn,1),ae,401,0,[JU,FU,BU,RU])))}function u_e(){u_e=J,Vfn=lt((n4(),$(N(Cwe,1),ae,278,0,[wx,WO,Awe,Mwe])))}function o_e(){o_e=J,Yfn=lt((fa(),$(N(MX,1),ae,222,0,[AX,gx,J5,R3])))}function s_e(){s_e=J,iln=lt((gs(),$(N(tln,1),ae,292,0,[mx,Rh,gd,px])))}function f_e(){f_e=J,pln=lt((DC(),$(N(Mx,1),ae,288,0,[Vwe,Ywe,IX,Qwe])))}function l_e(){l_e=J,bln=lt((rs(),$(N(G8,1),ae,380,0,[jx,I0,Ex,Hg])))}function h_e(){h_e=J,mln=lt((_T(),$(N(tge,1),ae,327,0,[PX,Zwe,nge,ege])))}function a_e(){a_e=J,kln=lt((MT(),$(N(yln,1),ae,407,0,[OX,rge,ige,cge])))}function D7(){D7=J,Zhe=new JV(ul,0),FP=new JV("IMPROVE_STRAIGHTNESS",1)}function XC(){XC=J,WU=new fL(eQe,0),ibe=new fL(lse,1),tbe=new fL(ul,2)}function bF(e){e.a=ee(bt,Pt,30,e.b+1,15,1),e.c=ee(bt,Pt,30,e.b,15,1),e.d=0}function L7(e){var n;for(n=e.p+1;n<e.c.a.c.length;++n)--u(Ce(e.c.a,n),9).p}function wF(e){var n;n=e.hj(),n!=null&&e.d!=-1&&u(n,94).uh(e),e.i&&e.i.mj()}function Ja(e){var n;return Ic(e)&&(n=0-e,!isNaN(n))?n:_1(Vv(e))}function zee(e){var n;if(!NF(e))throw I(new $c);return e.e=1,n=e.d,e.d=null,n}function gF(e,n){var t;this.f=e,this.b=n,t=u(vn(e.b,n),262),this.c=t?t.b:null}function no(e,n){var t;return t=Rc(e,n,0),t==-1?!1:(Ra(e,t),!0)}function d_e(e,n){var t;return t=u(Pm(e.e,n),393),t?(JY(t),t.e):null}function Rc(e,n,t){for(;t<e.c.length;++t)if(du(n,e.c[t]))return t;return-1}function b_e(e,n,t){var i;return I1(e),i=new zl,i.a=n,e.a.Nb(new zMe(i,t)),i.a}function y9n(e){var n;return I1(e),n=ee(jr,wc,30,0,15,1),h2(e.a,new Hke(n)),n}function k9n(e,n){return Qt(q(K(j(e,(fe(),Jb)))),q(K(j(n,Jb))))}function E9n(e,n){return new KL(n,pw(Xr(n.e),n.f.a+e,n.f.b+e),(gn(),!1))}function j9n(e,n){return jv(),me(e,new Qr(n,le(n.e.c.length+n.g.c.length)))}function x9n(e,n){return jv(),me(e,new Qr(n,le(n.e.c.length+n.g.c.length)))}function KC(e,n){return du(n,Ce(e.f,0))||du(n,Ce(e.f,1))||du(n,Ce(e.f,2))}function _7(e,n){if(n<0)throw I(new Lu(wQe+n));return cDe(e,n+1),Ce(e.j,n)}function A9n(e,n,t,i,r){return bn(e),bn(n),bn(t),bn(i),bn(r),new fZ(e,n,i)}function Uee(e,n){w6();var t,i;return t=Sm(e),i=Sm(n),!!t&&!!i&&!GJe(t.k,i.k)}function F7(e,n){var t,i;return t=u(n,680),i=t.ui(),!i&&t.xi(i=new QCe(e,n)),i}function vc(e,n){var t,i;return t=u(n,682),i=t.Yk(),!i&&t.al(i=new P$e(e,n)),i}function pF(e){var n,t;return t=u(Ce(e.j,0),12),n=u(j(t,(fe(),Ut)),12),n}function Jo(e){return e.b||(e.b=new DPe(e,hc,e),!e.a&&(e.a=new r7(e,e))),e.b}function sy(){sy=J,kq=new HD("XY",0),yq=new HD("X",1),Eq=new HD("Y",2)}function R7(){R7=J,tU=new qV("INPUT_ORDER",0),iU=new qV("PORT_DEGREE",1)}function w_e(){fs(),this.b=new Wn,this.f=new Wn,this.g=new Wn,this.e=new Wn}function WC(e){jM(this),this.g=e?kC(e,e.ge()):null,this.f=e,gC(this),this.he()}function ia(e,n,t,i,r,c,o){CF.call(this,n,i,r,c,o),this.c=e,this.b=t}function g_e(e,n,t,i){if(!e)throw I(new xn(Uy(n,$(N(ir,1),ln,1,5,[t,i]))))}function Ah(e,n,t){var i,r;for(i=10,r=0;r<t-1;r++)n<i&&(e.a+="0"),i*=10;e.a+=n}function p_e(e,n){xle=new Y5,onn=n,F9=e,u(F9.b,68),$ee(F9,xle,null),KXe(F9)}function VC(e){var n,t;return t=e.length,n=ee(Vs,uh,30,t,15,1),oOe(e,0,t,n,0),n}function B7(e){vPe();var n,t;return n=e+128,t=Yfe[n],!t&&(t=Yfe[n]=new $ke(e)),t}function m_e(e){return HL(e.d.a.e.g,e.b),Hn(e.c!=e.d.a.d),e.a=e.c,e.c=e.c.a,e.a}function v_e(e){ww(!!e.c),HL(e.f.g,e.d),e.c.Qb(),e.c=null,e.b=Nne(e),e.d=e.f.g}function Xee(e){var n;return e.Lh()||(n=Un(e.Ah())-e.gi(),e.Xh().Kk(n)),e.wh()}function Kee(e){var n;return n=Dm(Mn(e,32)),n==null&&(Uu(e),n=Dm(Mn(e,32))),n}function mF(e,n){var t;return t=vi(e.d,n),t>=0?WT(e,t,!0,!0):vb(e,n,!0)}function M9n(e,n){pm(u(u(e.f,26).mf((jt(),$8)),102))&&KBe(SZ(u(e.f,26)),n)}function y_e(e,n){Go(e,n==null||DM((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function k_e(e,n){sb(e,n==null||DM((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function E_e(e,n){ob(e,n==null||DM((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function j_e(e,n){Ho(e,n==null||DM((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function x_e(e){(this.q?this.q:(tn(),tn(),$h)).zc(e.q?e.q:(tn(),tn(),$h))}function vF(e,n,t){var i;return i=e.g[n],F6(e,n,e.Xi(n,t)),e.Pi(n,t,i),e.Li(),i}function QC(e,n){var t;return t=e.bd(n),t>=0?(e.ed(t),!0):!1}function yF(e){var n;return e.d!=e.r&&(n=uf(e),e.e=!!n&&n.jk()==nZe,e.d=n),e.e}function kF(e,n){var t;for(st(e),st(n),t=!1;n.Ob();)t=t|e.Ec(n.Pb());return t}function El(e,n){var t;return t=u(vn(e.e,n),393),t?(YTe(e,t),t.e):null}function EF(e){var n;return n=e.b.c.length==0?null:Ce(e.b,0),n!=null&&PF(e,0),n}function Pc(e,n){var t,i;return G1(e),i=new Tee(n,e.a),t=new xIe(i),new Ve(e,t)}function to(){to=J,fl=new GD("TOP",0),cd=new GD(_4,1),_f=new GD(Cue,2)}function ra(){ra=J,Lj=new WD(ul,0),pp=new WD("TOP",1),v3=new WD(Cue,2)}function fy(){fy=J,Znn=new E$,etn=new eA,Qnn=new j$,Ynn=new x$,ntn=new A$}function Bv(){Bv=J,Kfe=zu(Xo,Xo,524287),nen=zu(0,0,XE),Wfe=iF(1),iF(2),Vfe=iF(0)}function Dw(e,n){var t=e.a[n],i=(UF(),nq)[typeof t];return i?i(t):ute(typeof t)}function A_e(e){var n,t;return n=e/60|0,t=e%60,t==0?""+n:""+n+":"+(""+t)}function C9n(e){return yie(e,(Bv(),Vfe))<0?-Sgn(Vv(e)):e.l+e.m*r3+e.h*s0}function T9n(e){switch(e.g){case 0:return _t;case 1:return Mr;default:return 0}}function J7(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function S9n(e,n){return F(n,103)&&(u(n,19).Bb&Yr)!=0?new mL(n,e):new Uv(n,e)}function I9n(e,n){return F(n,103)&&(u(n,19).Bb&Yr)!=0?new mL(n,e):new Uv(n,e)}function P9n(e,n,t){return am(new be(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)==(bn(n),n)}function O9n(e,n){var t,i,r;r=n.c.i,t=u(vn(e.f,r),60),i=t.d.c-t.e.c,Mne(n.a,i,0)}function Wee(e,n){var t;for(++e.d,++e.c[n],t=n+1;t<e.a.length;)++e.a[t],t+=t&-t}function N9n(e,n){var t;for(t=0;e.e!=e.i.gc();)cvn(n,Jn(e),le(t)),t!=_t&&++t}function M_e(e){var n;for(++e.a,n=e.c.a.length;e.a<n;++e.a)if(e.c.b[e.a])return}function $9n(e){var n,t;if(e.a){t=null;do n=e.a,e.a=null,t=UHe(n,t);while(e.a);e.a=t}}function D9n(e){var n,t;if(e.b){t=null;do n=e.b,e.b=null,t=UHe(n,t);while(e.b);e.b=t}}function Vee(e){if(!e.c)throw I(new $c);return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function C_e(e){if(!e.e)throw I(new $c);return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function L9n(e,n){var t;return t=ab(e.e.c,n.e.c),t==0?Qt(e.e.d,n.e.d):t}function _9n(e,n){var t,i;for(i=n.c,t=i+1;t<=n.f;t++)e.a[t]>e.a[i]&&(i=t);return i}function T_e(e){var n;return n=u(j(e,(fe(),Rb)),318),n?n.a==e:!1}function S_e(e){var n;return n=u(j(e,(fe(),Rb)),318),n?n.i==e:!1}function I_e(e,n){return n==(qL(),qL(),ben)?e.toLocaleLowerCase():e.toLowerCase()}function P_e(){P_e=J,znn=lt((dr(),$(N(Hle,1),ae,363,0,[Ff,Dh,vu,lu,fc])))}function O_e(){O_e=J,Xcn=lt((Py(),$(N(Zz,1),ae,303,0,[ude,Qz,Yz,f8,S5])))}function N_e(){N_e=J,Ttn=lt((Xw(),$(N(Ctn,1),ae,371,0,[Pj,NP,$P,OP,PP])))}function $_e(){$_e=J,Fon=lt((sS(),$(N(_on,1),ae,364,0,[SU,MU,IU,CU,TU])))}function D_e(){D_e=J,Rsn=lt((Hy(),$(N(Fsn,1),ae,369,0,[Pp,O3,T8,C8,cx])))}function L_e(){L_e=J,zsn=lt((yE(),$(N(dbe,1),ae,330,0,[lbe,nX,abe,tX,hbe])))}function __e(){__e=J,ein=lt((ts(),$(N(Cae,1),ae,165,0,[Bj,Y9,ma,Z9,y0])))}function F_e(){F_e=J,bfn=lt((th(),$(N(_l,1),ae,160,0,[un,Ri,al,s1,ya])))}function R_e(){R_e=J,Wfn=lt((Vi(),$(N(D8,1),ae,86,0,[Bl,Tc,jc,Rl,Xs])))}function B_e(){B_e=J,sln=lt((ke(),$(N(ec,1),fu,64,0,[qc,Cn,$n,Xn,Tn])))}function J_e(){J_e=J,cln=lt((B2(),$(N(R8,1),ae,257,0,[pd,vx,Jwe,F8,Gwe])))}function YC(){YC=J,pq=new LV("EADES",0),uP=new LV("FRUCHTERMAN_REINGOLD",1)}function G7(){G7=J,LP=new BV("READING_DIRECTION",0),Vhe=new BV("ROTATION",1)}function G_e(e){this.g=e,this.f=new ve,this.a=m.Math.min(this.g.c.c,this.g.d.c)}function H_e(e){this.b=new ve,this.a=new ve,this.c=new ve,this.d=new ve,this.e=e}function q_e(e,n,t,i){Bt(),B0.call(this,26),this.c=e,this.a=n,this.d=t,this.b=i}function z_e(e,n,t){NM.call(this),Qee(this),this.a=e,this.c=t,this.b=n.d,this.f=n.e}function F9n(e,n,t){var i,r;for(r=new S(t);r.a<r.c.c.length;)i=T(r),Lie(e,n,i)}function R9n(e,n,t){var i;return i=e.a.e[u(n.a,9).p]-e.a.e[u(t.a,9).p],Br(d7(i))}function jF(e,n){var t;return t=u(vn(e.a,n),150),t||(t=new gk,It(e.a,n,t)),t}function Tf(e,n,t){var i;if(n==null)throw I(new Vp);return i=Zh(e,n),Q6n(e,n,t),i}function cn(e,n){var t;return t=(e.i==null&&rh(e),e.i),n>=0&&n<t.length?t[n]:null}function U_e(e,n){return bn(n),rZ(e),e.d.Ob()?(n.Ad(e.d.Pb()),!0):!1}function ZC(e){return Su(e,_t)>0?_t:Su(e,Mr)<0?Mr:wt(e)}function B9n(e,n){return $m(),-ju(u(j(e,(Wc(),Tp)),15).a,u(j(n,Tp),15).a)}function J9n(){return pn(),$(N(Sq,1),ae,249,0,[Ai,qi,Ui,Nu,hu,Dl,Tj,G9])}function G9n(){return m4(),$(N(fN,1),ae,244,0,[LX,oN,sN,uN,DX,cN,rN,$X])}function H9n(){return c0(),$(N(wfn,1),ae,285,0,[Nbe,nr,qr,$3,Nr,gi,N3,Fl])}function q9n(){return TS(),$(N(Bhe,1),ae,275,0,[Fq,Jq,_q,qq,Bq,Rq,Hq,Gq])}function X_e(e,n){return!!by(e,n,wt(Hr(Ih,jh(wt(Hr(n==null?0:si(n),Ph)),15))))}function z9n(e,n){var t;return t=n>0?n-1:n,bAe(Dbn(dFe(BY(new Zp,t),e.n),e.j),e.k)}function yc(e){var n,t;t=(n=new wD,n),it((!e.q&&(e.q=new se(gf,e,11,10)),e.q),t)}function U9n(e,n){var t,i;return t=u(Gw(e.d,n),18),t?(i=n,e.e.pc(i,t)):null}function eT(e,n){var t;return G1(e),t=new iNe(e,e.a.xd(),e.a.wd()|4,n),new Ve(e,t)}function xF(e){var n;ww(!!e.c),n=e.c.a,Ds(e.d,e.c),e.b==e.c?e.b=n:--e.a,e.c=null}function K_e(e){return e.a>=-.01&&e.a<=Il&&(e.a=0),e.b>=-.01&&e.b<=Il&&(e.b=0),e}function X9n(e){var n;return n=q(K(j(e,(ye(),r1)))),n<0&&(n=0,ie(e,r1,n)),n}function K9n(e,n){pm(u(j(u(e.e,9),(ye(),Ti)),102))&&(tn(),ur(u(e.e,9).j,n))}function nT(e,n){var t,i;for(i=e.Jc();i.Ob();)t=u(i.Pb(),70),ie(t,(fe(),x3),n)}function W9n(e,n,t){var i;i=m.Math.max(0,e.b/2-.5),$y(t,i,1),me(n,new VMe(t,i))}function V9n(e,n,t,i){var r;e.j=-1,Mre(e,rre(e,n,t),(tc(),r=u(n,69).tk(),r.vl(i)))}function W_e(e,n,t,i,r,c){var o;o=rF(i),Jr(o,r),xr(o,c),Qe(e.a,i,new LM(o,n,t.f))}function V_e(e,n){Yt(e,(Ch(),HU),n.f),Yt(e,asn,n.e),Yt(e,GU,n.d),Yt(e,hsn,n.c)}function Q9n(e,n){if(0>e||e>n)throw I(new cV("fromIndex: 0, toIndex: "+e+vue+n))}function ub(e){if(e<0)throw I(new xn("Illegal Capacity: "+e));this.g=this.$i(e)}function Q_e(e){this.d=e,this.c=e.c.vc().Jc(),this.b=null,this.a=null,this.e=(SA(),VH)}function Lw(e,n){var t;for(t=e;pi(t);)if(t=pi(t),t==n)return!0;return!1}function Y9n(e,n){return n&&e.b[n.g]==n?(Ni(e.b,n.g,null),--e.c,!0):!1}function Ds(e,n){var t;return t=n.c,n.a.b=n.b,n.b.a=n.a,n.a=n.b=null,n.c=null,--e.b,t}function Y_e(e,n){var t;if(t=SE(e.Ah(),n),!t)throw I(new xn(nd+n+bH));return t}function I2(e){k4();var n,t;for(t=dse,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return t}function Z9n(e){var n;for(n=0;n<e.c.length;n++)(en(n,e.c.length),u(e.c[n],12)).p=n}function e8n(e){var n,t;for(n=e.a.d.j,t=e.c.d.j;n!=t;)If(e.b,n),n=OT(n);If(e.b,n)}function n8n(e,n){var t,i,r;for(i=n.a.jd(),t=u(n.a.kd(),18).gc(),r=0;r<t;r++)e.Ad(i)}function Tu(e,n){var t,i,r,c;for(bn(n),i=e.c,r=0,c=i.length;r<c;++r)t=i[r],n.Ad(t)}function AF(e,n){var t,i,r,c;for(i=e.d,r=0,c=i.length;r<c;++r)t=i[r],pl(e.g,t).a=n}function t8n(e,n,t){var i,r,c;for(r=n[t],i=0;i<r.length;i++)c=r[i],e.e[c.c.p][c.p]=i}function Z_e(e,n,t){var i,r;i=n;do r=q(e.p[i.p])+t,e.p[i.p]=r,i=e.a[i.p];while(i!=n)}function i8n(e){var n;return n=m.Math.sqrt(e.a*e.a+e.b*e.b),n>0&&(e.a/=n,e.b/=n),e}function tT(e){this.b=(st(e),new Co(e)),this.a=new ve,this.d=new ve,this.e=new Cr}function Qee(e){e.b=(So(),rd),e.f=(to(),cd),e.d=(bs(2,rg),new Fu(2)),e.e=new Cr}function il(){il=J,Yc=new BD("BEGIN",0),Hu=new BD(_4,1),Zc=new BD("END",2)}function jl(){jl=J,R5=new aL(_4,0),Gg=new aL("HEAD",1),B5=new aL("TAIL",2)}function $m(){$m=J,Non=nh(nh(nh(m6(new Li,(Um(),g8)),(Xy(),hU)),Nde),_de)}function ca(){ca=J,Don=nh(nh(nh(m6(new Li,(Um(),m8)),(Xy(),Dde)),Ide),$de)}function eFe(){eFe=J,rP=(il(),$(N(bg,1),ae,237,0,[Yc,Hu,Zc])).length,dq=rP}function nFe(e,n){for(;n[0]<e.length&&Kl(` \r
|
|
7
|
+
M${En.x},${En.y}h${En.width}v${En.height}h${-En.width}z`,fillRule:"evenodd",pointerEvents:"none"})]})})}Rdn.displayName="MiniMap";const wXn=sn.memo(Rdn),gXn=d=>v=>d?`${Math.max(1/v.transform[2],1)}`:void 0,pXn={[Xx.Line]:"right",[Xx.Handle]:"bottom-right"};function mXn({nodeId:d,position:v,variant:E=Xx.Handle,className:A,style:M=void 0,children:P,color:m,minWidth:L=10,minHeight:H=10,maxWidth:U=Number.MAX_VALUE,maxHeight:Q=Number.MAX_VALUE,keepAspectRatio:Y=!1,resizeDirection:G,autoScale:V=!0,shouldResize:te,onResizeStart:X,onResize:Ee,onResizeEnd:ue}){const ge=U2e(),re=typeof d=="string"?d:ge,je=os(),Ke=sn.useRef(null),Xe=E===Xx.Handle,Ye=Sc(sn.useCallback(gXn(Xe&&V),[Xe,V]),Ts),kn=sn.useRef(null),En=v??pXn[E];sn.useEffect(()=>{if(!(!Ke.current||!re))return kn.current||(kn.current=Uqn({domNode:Ke.current,nodeId:re,getStoreItems:()=>{const{nodeLookup:Ln,transform:Vn,snapGrid:J,snapToGrid:xe,nodeOrigin:on,domNode:rn}=je.getState();return{nodeLookup:Ln,transform:Vn,snapGrid:J,snapToGrid:xe,nodeOrigin:on,paneDomNode:rn}},onChange:(Ln,Vn)=>{const{triggerNodeChanges:J,nodeLookup:xe,parentLookup:on,nodeOrigin:rn}=je.getState(),Sn=[],Fn={x:Ln.x,y:Ln.y},dn=xe.get(re);if(dn&&dn.expandParent&&dn.parentId){const Gn=dn.origin??rn,Nn=Ln.width??dn.measured.width??0,qn=Ln.height??dn.measured.height??0,Jt={id:dn.id,parentId:dn.parentId,rect:{width:Nn,height:qn,..._1n({x:Ln.x??dn.position.x,y:Ln.y??dn.position.y},{width:Nn,height:qn},dn.parentId,xe,Gn)}},Kt=q2e([Jt],xe,on,rn);Sn.push(...Kt),Fn.x=Ln.x?Math.max(Gn[0]*Nn,Ln.x):void 0,Fn.y=Ln.y?Math.max(Gn[1]*qn,Ln.y):void 0}if(Fn.x!==void 0&&Fn.y!==void 0){const Gn={id:re,type:"position",position:{...Fn}};Sn.push(Gn)}if(Ln.width!==void 0&&Ln.height!==void 0){const Nn={id:re,type:"dimensions",resizing:!0,setAttributes:G?G==="horizontal"?"width":"height":!0,dimensions:{width:Ln.width,height:Ln.height}};Sn.push(Nn)}for(const Gn of Vn){const Nn={...Gn,type:"position"};Sn.push(Nn)}J(Sn)},onEnd:({width:Ln,height:Vn})=>{const J={id:re,type:"dimensions",resizing:!1,dimensions:{width:Ln,height:Vn}};je.getState().triggerNodeChanges([J])}})),kn.current.update({controlPosition:En,boundaries:{minWidth:L,minHeight:H,maxWidth:U,maxHeight:Q},keepAspectRatio:Y,resizeDirection:G,onResizeStart:X,onResize:Ee,onResizeEnd:ue,shouldResize:te}),()=>{var Ln;(Ln=kn.current)==null||Ln.destroy()}},[En,L,H,U,Q,Y,X,Ee,ue,te]);const Zn=En.split("-");return de.jsx("div",{className:Kf(["react-flow__resize-control","nodrag",...Zn,E,A]),ref:Ke,style:{...M,scale:Ye,...m&&{[Xe?"backgroundColor":"borderColor"]:m}},children:P})}sn.memo(mXn);const vXn=d=>{var v;return(v=d.domNode)==null?void 0:v.querySelector(".react-flow__renderer")};function yXn({children:d}){const v=Sc(vXn);return v?Kan.createPortal(d,v):null}const kXn=(d,v)=>(d==null?void 0:d.internals.positionAbsolute.x)!==(v==null?void 0:v.internals.positionAbsolute.x)||(d==null?void 0:d.internals.positionAbsolute.y)!==(v==null?void 0:v.internals.positionAbsolute.y)||(d==null?void 0:d.measured.width)!==(v==null?void 0:v.measured.width)||(d==null?void 0:d.measured.height)!==(v==null?void 0:v.measured.height)||(d==null?void 0:d.selected)!==(v==null?void 0:v.selected)||(d==null?void 0:d.internals.z)!==(v==null?void 0:v.internals.z),EXn=(d,v)=>{if(d.size!==v.size)return!1;for(const[E,A]of d)if(kXn(A,v.get(E)))return!1;return!0},jXn=d=>({x:d.transform[0],y:d.transform[1],zoom:d.transform[2],selectedNodesCount:d.nodes.filter(v=>v.selected).length});function xXn({nodeId:d,children:v,className:E,style:A,isVisible:M,position:P=Ei.Top,offset:m=10,align:L="center",...H}){var Ke;const U=U2e(),Q=sn.useCallback(Xe=>(Array.isArray(d)?d:[d||U||""]).reduce((En,Zn)=>{const Ln=Xe.nodeLookup.get(Zn);return Ln&&En.set(Ln.id,Ln),En},new Map),[d,U]),Y=Sc(Q,EXn),{x:G,y:V,zoom:te,selectedNodesCount:X}=Sc(jXn,Ts);if(!(typeof M=="boolean"?M:Y.size===1&&((Ke=Y.values().next().value)==null?void 0:Ke.selected)&&X===1)||!Y.size)return null;const ue=Kx(Y),ge=Array.from(Y.values()),re=Math.max(...ge.map(Xe=>Xe.internals.z+1)),je={position:"absolute",transform:gqn(ue,{x:G,y:V,zoom:te},P,m,L),zIndex:re,...A};return de.jsx(yXn,{children:de.jsx("div",{style:je,className:Kf(["react-flow__node-toolbar",E]),...H,"data-id":ge.reduce((Xe,Ye)=>`${Xe}${Ye.id} `,"").trim(),children:v})})}function qN(){const[d,v]=sn.useState(()=>typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)").matches:!1);return sn.useEffect(()=>{const E=window.matchMedia("(prefers-reduced-motion: reduce)"),A=M=>v(M.matches);return E.addEventListener("change",A),()=>E.removeEventListener("change",A)},[]),d}const AXn=.6,MXn=1.2;function CXn(d){return d<AXn?"compact":d>MXn?"expanded":"default"}function Bdn(){return Sc(d=>CXn(d.transform[2]))}function X2e(d){return d.color??d.namespaceColor??void 0}const TXn=.2,SXn=.25,IXn={compact:120,default:200,expanded:240};function Jdn({status:d}){return de.jsx("span",{"aria-hidden":!0,title:wK[d].label,className:r2("size-1.5 shrink-0 rounded-full",wK[d].dot)})}function Gdn({d}){const v=Math.max(0,d.capabilities.length-3);return de.jsxs(de.Fragment,{children:[de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx(Van,{color:d.avatarColor,emoji:d.emoji,size:"sm"}),de.jsx("span",{className:"text-foreground truncate text-sm font-medium",children:d.label}),de.jsx(Jdn,{status:d.healthStatus})]}),de.jsxs("div",{className:"mt-1 flex flex-wrap gap-1",children:[de.jsx(jN,{size:"xs",variant:"secondary",children:d.runtime}),d.capabilities.slice(0,3).map(E=>de.jsx(jN,{size:"xs",variant:"outline",children:E},E)),v>0&&de.jsxs(jN,{size:"xs",tone:"neutral",variant:"outline",children:["+",v]})]})]})}function PXn({d,selected:v}){const E=X2e(d);return de.jsxs("div",{className:r2("bg-card flex w-[120px] items-center gap-1.5 rounded-full border px-2 py-0.5 shadow-sm",v&&"ring-primary ring-2"),style:E?{borderLeft:`3px solid ${E}`}:void 0,children:[de.jsx(Zb,{type:"target",position:Ei.Left,className:"bg-muted-foreground!"}),de.jsx(Van,{color:d.avatarColor,emoji:d.emoji,size:"xs"}),de.jsx("span",{className:"text-foreground truncate text-xs font-medium",children:d.label}),de.jsx(Jdn,{status:d.healthStatus}),de.jsx(Zb,{type:"source",position:Ei.Right,className:"bg-muted-foreground!"})]})}function OXn({d,selected:v}){const E=X2e(d),A=d.relayAdapters&&d.relayAdapters.length>0,M=d.taskCount!=null&&d.taskCount>0;return de.jsxs("div",{className:r2("bg-card w-[200px] rounded-lg border px-3 py-2 shadow-sm hover:shadow-md",v&&"ring-primary ring-2"),style:E?{borderLeft:`3px solid ${E}`}:void 0,children:[de.jsx(Zb,{type:"target",position:Ei.Left,className:"bg-muted-foreground!"}),de.jsx(Gdn,{d}),(A||M)&&de.jsxs("div",{className:"text-muted-foreground mt-1.5 flex items-center gap-2",children:[A&&de.jsx(M2e,{className:"size-3"}),M&&de.jsxs("span",{className:"flex items-center gap-0.5",children:[de.jsx(C2e,{className:"size-3"}),de.jsx("span",{className:"text-3xs",children:d.taskCount})]})]}),de.jsx(Zb,{type:"source",position:Ei.Right,className:"bg-muted-foreground!"})]})}function NXn({d,selected:v}){const E=X2e(d),A=d.relayAdapters&&d.relayAdapters.length>0,M=d.taskCount!=null&&d.taskCount>0;return de.jsxs("div",{className:r2("bg-card w-[240px] rounded-lg border px-3 py-2 shadow-sm hover:shadow-md",v&&"ring-primary ring-2"),style:E?{borderLeft:`3px solid ${E}`}:void 0,children:[de.jsx(Zb,{type:"target",position:Ei.Left,className:"bg-muted-foreground!"}),de.jsx(Gdn,{d}),d.description&&de.jsx("p",{className:"text-muted-foreground mt-1.5 line-clamp-2 text-xs",children:d.description}),(A||M)&&de.jsxs("div",{className:"text-muted-foreground mt-1.5 flex flex-wrap items-center gap-2",children:[A&&d.relayAdapters.map(P=>de.jsxs("span",{className:"flex items-center gap-0.5",children:[de.jsx(M2e,{className:"size-3"}),de.jsx("span",{className:"text-3xs",children:P})]},P)),M&&de.jsxs("span",{className:"flex items-center gap-0.5",children:[de.jsx(C2e,{className:"size-3"}),de.jsx("span",{className:"text-3xs",children:d.taskCount})]})]}),de.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[d.lastSeenAt&&de.jsx("span",{className:"text-muted-foreground text-3xs",children:LRn(d.lastSeenAt)}),d.behavior&&de.jsx(jN,{size:"xs",variant:"outline",children:d.behavior.responseMode})]}),de.jsx(Zb,{type:"source",position:Ei.Right,className:"bg-muted-foreground!"})]})}function uK({icon:d,label:v,onClick:E}){return de.jsx(Wan,{variant:"ghost",size:"icon-xs",onClick:E,title:v,"aria-label":v,className:"text-muted-foreground hover:text-foreground",children:de.jsx(d,{})})}function $Xn({data:d,selected:v,id:E}){const A=d,M=Bdn(),P=qN(),{copy:m}=ORn({toastOnSettle:!0}),L=sn.useCallback(()=>void m(E),[m,E]),H=de.jsx(xXn,{position:Ei.Top,isVisible:v,children:de.jsxs("div",{className:"bg-card flex items-center gap-0.5 rounded-lg border px-1 py-0.5 shadow-md",children:[A.onViewProfile&&de.jsx(uK,{icon:NRn,label:"View profile",onClick:()=>{var Y;return(Y=A.onViewProfile)==null?void 0:Y.call(A,E)}}),A.onSelectAgent&&de.jsx(uK,{icon:iBn,label:"Health",onClick:()=>{var Y;return(Y=A.onSelectAgent)==null?void 0:Y.call(A,E)}}),de.jsx(uK,{icon:$Rn,label:"Copy ID",onClick:L}),A.onOpenChat&&A.projectPath&&de.jsx(uK,{icon:DRn,label:"Chat",onClick:()=>{var Y;return(Y=A.onOpenChat)==null?void 0:Y.call(A,E,A.projectPath??"")}})]})}),U=`Agent: ${A.label}, status ${A.healthStatus}`;let Q;return M==="compact"?Q=de.jsx(PXn,{d:A,selected:v}):M==="expanded"?Q=de.jsx(NXn,{d:A,selected:v}):Q=de.jsx(OXn,{d:A,selected:v}),de.jsxs("div",{"aria-label":U,children:[H,de.jsx(MN.div,{animate:{width:IXn[M]},transition:{width:{duration:P?0:SXn,ease:"easeInOut"}},children:de.jsx(A2e,{mode:"popLayout",initial:!1,children:de.jsx(MN.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:P?0:TXn},children:Q},M)})})]})}const DXn=sn.memo($Xn),K2e=200,Hdn=100,LXn=.2,_Xn=.25,FXn={compact:120,default:K2e},RXn={running:e2e.connected,stopped:e2e.disconnected,error:e2e.error};function qdn({adapterType:d}){return de.jsx(rBn,{adapterType:d,size:16,className:"text-muted-foreground shrink-0"})}function BXn(d){return RXn[d]}function JXn({d,statusColor:v,selected:E}){return de.jsxs("div",{className:r2("bg-card flex w-[120px] items-center gap-1.5 rounded-full border px-2.5 py-1 shadow-sm",E&&"ring-primary ring-2"),"aria-label":`Platform: ${d.adapterName}, status ${d.adapterStatus}`,children:[de.jsx(Zb,{type:"source",position:Ei.Right,isConnectable:!0}),de.jsx("span",{className:r2("size-2 shrink-0 rounded-full",v)}),de.jsx(qdn,{adapterType:d.adapterType}),de.jsx("span",{className:"text-foreground truncate text-xs font-medium",children:d.label||d.adapterName})]})}function GXn({d,statusColor:v,selected:E}){return de.jsxs("div",{className:r2("bg-card shadow-soft rounded-xl border p-4 hover:shadow-md",E&&"ring-primary ring-2"),style:{width:K2e,minHeight:Hdn},"aria-label":`Platform: ${d.adapterName}, status ${d.adapterStatus}`,children:[de.jsx(Zb,{type:"source",position:Ei.Right,isConnectable:!0}),de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx("span",{className:r2("size-2.5 shrink-0 rounded-full",v)}),de.jsx(qdn,{adapterType:d.adapterType}),de.jsxs("div",{className:"flex min-w-0 flex-col",children:[de.jsx("span",{className:"text-foreground truncate text-sm font-medium",children:d.label||d.adapterName}),d.label&&de.jsx("span",{className:"text-muted-foreground truncate text-xs",children:d.adapterName})]})]}),de.jsxs("div",{className:"mt-2 flex items-center justify-between",children:[de.jsx("span",{className:"text-muted-foreground text-xs capitalize",children:d.adapterType}),d.bindingCount>0&&de.jsxs(jN,{variant:"secondary",children:[d.bindingCount," ",d.bindingCount===1?"connection":"connections"]})]})]})}function HXn({data:d,selected:v}){const E=d,A=BXn(E.adapterStatus),M=Bdn(),P=qN();if(E.isGhost)return de.jsxs("div",{className:"border-muted-foreground/30 bg-card/40 focus-ring flex items-center gap-2 rounded-lg border border-dashed px-3 py-2 opacity-40 transition-opacity hover:opacity-70",style:{width:K2e,height:Hdn},onClick:E.onGhostClick,onKeyDown:H=>{var U;(H.key==="Enter"||H.key===" ")&&(H.preventDefault(),(U=E.onGhostClick)==null||U.call(E))},role:"button",tabIndex:0,"aria-label":"Add a platform",children:[de.jsx(_Rn,{className:"text-muted-foreground size-4"}),de.jsx("span",{className:"text-muted-foreground text-sm",children:"Add a platform"})]});const m=M==="compact"?de.jsx(JXn,{d:E,statusColor:A,selected:v}):de.jsx(GXn,{d:E,statusColor:A,selected:v}),L=M==="compact"?"compact":"default";return de.jsx(MN.div,{animate:{width:FXn[L]},transition:{width:{duration:P?0:_Xn,ease:"easeInOut"}},children:de.jsx(A2e,{mode:"popLayout",initial:!1,children:de.jsx(MN.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:P?0:LXn},children:m},L)})})}const qXn=sn.memo(HXn),zXn=.5,UXn=24,XXn=800;let zan=0;const MK=FRn((d,v)=>({activity:{},pulse:(E,A)=>{const{activity:M}=v();M[E]||Object.keys(M).length>=UXn||(zan+=1,d({activity:{...M,[E]:{direction:A,nonce:zan}}}))},clear:E=>{const{activity:A}=v();if(!(E in A))return;const M={...A};delete M[E],d({activity:M})},reset:()=>d({activity:{}})})),KXn=d=>d.transform[2];function WXn(d){return d!=null&&d.label?d.label:d!=null&&d.sessionStrategy?fBn(d.sessionStrategy):"Connection"}function VXn({id:d,sourceX:v,sourceY:E,targetX:A,targetY:M,sourcePosition:P,targetPosition:m,data:L,selected:H}){const U=L,Q=Sc(KXn),[Y,G]=sn.useState(!1),[V,te,X]=GN({sourceX:v,sourceY:E,targetX:A,targetY:M,sourcePosition:P,targetPosition:m}),Ee=WXn(U),ue=(Y||H)&&Q>=.7,ge=MK(Ye=>Ye.activity[d]),re=MK(Ye=>Ye.clear),je=qN(),Ke=!!ge&&!je&&Q>=zXn;sn.useEffect(()=>{ge&&!Ke&&re(d)},[ge,Ke,re,d]);function Xe(Ye){var kn;Ye.stopPropagation(),(kn=U==null?void 0:U.onDelete)==null||kn.call(U,d)}return de.jsxs(de.Fragment,{children:[de.jsx("path",{d:V,fill:"none",stroke:"transparent",strokeWidth:12,onMouseEnter:()=>G(!0),onMouseLeave:()=>G(!1)}),de.jsx(bk,{id:d,path:V,className:r2("transition-colors duration-150",H?"stroke-primary stroke-2":"stroke-primary/60 stroke-2")}),de.jsx(A2e,{children:Ke&&de.jsx(MN.circle,{r:3,className:"fill-primary",style:{offsetPath:`path("${V}")`},initial:{offsetDistance:ge.direction==="inbound"?"0%":"100%",opacity:0},animate:{offsetDistance:ge.direction==="inbound"?"100%":"0%",opacity:[0,1,1,0]},exit:{opacity:0},transition:{duration:XXn/1e3,ease:"easeInOut"},onAnimationComplete:()=>re(d)},ge.nonce)}),ue&&de.jsx(Ldn,{children:de.jsxs("div",{style:{transform:`translate(-50%, -50%) translate(${te}px,${X}px)`,pointerEvents:"all",transition:"opacity 150ms ease-out"},className:"nodrag nopan bg-background/90 flex max-w-[160px] flex-col items-center gap-0.5 rounded-md px-1.5 py-0.5 shadow-sm",role:"presentation",onMouseEnter:()=>G(!0),onMouseLeave:()=>G(!1),children:[de.jsxs("div",{className:"flex items-center gap-1",children:[de.jsx("span",{className:"text-muted-foreground text-3xs truncate",children:Ee}),H&&(U==null?void 0:U.onDelete)&&de.jsx("button",{onClick:Xe,className:"text-destructive/80 hover:bg-destructive/10 hover:text-destructive ml-0.5 shrink-0 rounded-sm p-0.5","aria-label":"Remove connection",children:de.jsx(RRn,{className:"size-3"})})]}),((U==null?void 0:U.chatId)||(U==null?void 0:U.channelType))&&de.jsxs("div",{className:"flex items-center gap-1",children:[U.chatId&&de.jsx("span",{className:"bg-muted text-muted-foreground text-3xs rounded px-1 py-px",children:U.chatId}),U.channelType&&de.jsx("span",{className:"bg-muted text-muted-foreground text-3xs rounded px-1 py-px",children:cBn(U.channelType)})]})]})})]})}const QXn=sn.memo(VXn);function YXn({data:d}){const v=d,E=qN();return de.jsx("div",{className:"bg-card/50 rounded-xl border-2",style:{borderColor:`${v.color}40`,backgroundColor:`${v.color}08`,width:"100%",height:"100%"},children:de.jsxs("div",{className:"flex items-center gap-2 rounded-t-[10px] px-3 py-1.5",style:{backgroundColor:`${v.color}15`},children:[de.jsx("span",{className:"text-xs font-semibold",style:{color:v.color},children:v.namespace}),de.jsxs("span",{className:"text-muted-foreground text-3xs",children:[v.activeCount,"/",v.agentCount," agents"]}),v.activeCount>0&&de.jsx("span",{className:`h-1.5 w-1.5 rounded-full ${E?"":"animate-breath"}`,style:{backgroundColor:v.color}})]})})}const ZXn=sn.memo(YXn);function eKn(d){var H;const[v,E]=sn.useState(!1),[A,M,P]=GN({sourceX:d.sourceX,sourceY:d.sourceY,sourcePosition:d.sourcePosition,targetX:d.targetX,targetY:d.targetY,targetPosition:d.targetPosition}),m=(H=d.data)==null?void 0:H.label,L=v||d.selected;return de.jsxs(de.Fragment,{children:[de.jsx("path",{d:A,fill:"none",stroke:"transparent",strokeWidth:12,onMouseEnter:()=>E(!0),onMouseLeave:()=>E(!1)}),de.jsx(bk,{id:d.id,path:A,markerEnd:NN.ArrowClosed,style:{stroke:"var(--color-primary)",strokeWidth:1.5,strokeDasharray:"6 3"}}),L&&m&&de.jsx(Ldn,{children:de.jsx("div",{className:"nodrag nopan border-primary/30 bg-primary/10 text-primary text-3xs rounded border px-1.5 py-0.5 font-medium",style:{position:"absolute",transform:`translate(-50%, -50%) translate(${M}px,${P}px)`,pointerEvents:"all"},children:m})})]})}function nKn(d){const[v,E]=sn.useState(!1),[A]=GN({sourceX:d.sourceX,sourceY:d.sourceY,sourcePosition:d.sourcePosition,targetX:d.targetX,targetY:d.targetY,targetPosition:d.targetPosition}),M=sn.useCallback(()=>E(!0),[]),P=sn.useCallback(()=>E(!1),[]);return de.jsx("g",{onMouseEnter:M,onMouseLeave:P,children:de.jsx(bk,{id:d.id,path:A,style:{stroke:"var(--color-destructive)",strokeWidth:1.5,strokeDasharray:"4 4",opacity:d.selected||v?1:.5}})})}const tKn=["active","inactive","stale","unreachable"];function iKn({namespaces:d}){return de.jsx(HN,{position:"bottom-left",children:de.jsxs("div",{className:"bg-card/90 text-muted-foreground text-2xs flex flex-col gap-1.5 rounded-md border px-3 py-2 shadow-sm backdrop-blur-sm",children:[de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx("span",{className:"relative flex h-2 w-6 items-center",children:de.jsxs("svg",{width:"24",height:"4",className:"overflow-visible",children:[de.jsx("line",{x1:"0",y1:"2",x2:"24",y2:"2",stroke:"var(--color-primary)",strokeWidth:"1.5"}),de.jsx("circle",{cx:"8",cy:"2",r:"2.5",fill:"var(--color-primary)",opacity:"0.9"})]})}),de.jsx("span",{children:"Allow rule"})]}),de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx("svg",{width:"24",height:"4",className:"overflow-visible",children:de.jsx("line",{x1:"0",y1:"2",x2:"24",y2:"2",stroke:"var(--color-destructive)",strokeWidth:"1.5",strokeDasharray:"4 2"})}),de.jsx("span",{children:"Deny rule"})]}),de.jsx("div",{className:"border-t"}),tKn.map(v=>de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx("span",{className:"flex h-2.5 w-6 items-center justify-center",children:de.jsx("span",{className:r2("h-2 w-2 rounded-full",wK[v].dot)})}),de.jsx("span",{children:wK[v].label})]},v)),de.jsx("div",{className:"border-t"}),de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx("span",{className:"flex h-2.5 w-6 items-center justify-center",children:de.jsx(M2e,{className:"h-3 w-3 text-yellow-500"})}),de.jsx("span",{children:"Can message other agents"})]}),de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx("span",{className:"flex h-2.5 w-6 items-center justify-center",children:de.jsx(C2e,{className:"h-3 w-3 text-blue-500"})}),de.jsx("span",{children:"Scheduled tasks"})]}),d.length>1&&de.jsxs(de.Fragment,{children:[de.jsx("div",{className:"border-t"}),d.map(v=>de.jsxs("div",{className:"flex items-center gap-2",children:[de.jsx("span",{className:"inline-block h-2.5 w-2.5 rounded-full",style:{backgroundColor:v.color}}),de.jsx("span",{children:v.namespace})]},v.namespace))]}),de.jsx("div",{className:"border-t"}),de.jsx("span",{className:"text-3xs italic opacity-60",children:"Zoom in for more detail"})]})})}function oK(d){throw new Error('Could not dynamically require "'+d+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var l2e={exports:{}},Uan;function rKn(){return Uan||(Uan=1,(function(d,v){(function(E){d.exports=E()})(function(){return(function(){function E(A,M,P){function m(U,Q){if(!M[U]){if(!A[U]){var Y=typeof oK=="function"&&oK;if(!Q&&Y)return Y(U,!0);if(L)return L(U,!0);var G=new Error("Cannot find module '"+U+"'");throw G.code="MODULE_NOT_FOUND",G}var V=M[U]={exports:{}};A[U][0].call(V.exports,function(te){var X=A[U][1][te];return m(X||te)},V,V.exports,E,A,M,P)}return M[U].exports}for(var L=typeof oK=="function"&&oK,H=0;H<P.length;H++)m(P[H]);return m}return E})()({1:[function(E,A,M){Object.defineProperty(M,"__esModule",{value:!0}),M.default=void 0;function P(G){"@babel/helpers - typeof";return P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},P(G)}function m(G,V){if(!(G instanceof V))throw new TypeError("Cannot call a class as a function")}function L(G,V){for(var te=0;te<V.length;te++){var X=V[te];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(G,U(X.key),X)}}function H(G,V,te){return V&&L(G.prototype,V),Object.defineProperty(G,"prototype",{writable:!1}),G}function U(G){var V=Q(G,"string");return P(V)=="symbol"?V:V+""}function Q(G,V){if(P(G)!="object"||!G)return G;var te=G[Symbol.toPrimitive];if(te!==void 0){var X=te.call(G,V);if(P(X)!="object")return X;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(G)}M.default=(function(){function G(){var V=this,te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},X=te.defaultLayoutOptions,Ee=X===void 0?{}:X,ue=te.algorithms,ge=ue===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:ue,re=te.workerFactory,je=te.workerUrl;if(m(this,G),this.defaultLayoutOptions=Ee,this.initialized=!1,typeof je>"u"&&typeof re>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Ke=re;typeof je<"u"&&typeof re>"u"&&(Ke=function(kn){return new Worker(kn)});var Xe=Ke(je);if(typeof Xe.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new Y(Xe),this.worker.postMessage({cmd:"register",algorithms:ge}).then(function(Ye){return V.initialized=!0}).catch(console.err)}return H(G,[{key:"layout",value:function(te){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ee=X.layoutOptions,ue=Ee===void 0?this.defaultLayoutOptions:Ee,ge=X.logging,re=ge===void 0?!1:ge,je=X.measureExecutionTime,Ke=je===void 0?!1:je;return te?this.worker.postMessage({cmd:"layout",graph:te,layoutOptions:ue,options:{logging:re,measureExecutionTime:Ke}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker&&this.worker.terminate()}}])})();var Y=(function(){function G(V){var te=this;if(m(this,G),V===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=V,this.worker.onmessage=function(X){setTimeout(function(){te.receive(te,X)},0)}}return H(G,[{key:"postMessage",value:function(te){var X=this.id||0;this.id=X+1,te.id=X;var Ee=this;return new Promise(function(ue,ge){Ee.resolvers[X]=function(re,je){re?(Ee.convertGwtStyleError(re),ge(re)):ue(je)},Ee.worker.postMessage(te)})}},{key:"receive",value:function(te,X){var Ee=X.data,ue=te.resolvers[Ee.id];ue&&(delete te.resolvers[Ee.id],Ee.error?ue(Ee.error):ue(null,Ee.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(te){if(te){var X=te.__java$exception;X&&(X.cause&&X.cause.backingJsObject&&(te.cause=X.cause.backingJsObject,this.convertGwtStyleError(te.cause)),delete te.__java$exception)}}}])})()},{}],2:[function(E,A,M){(function(P){(function(){var m;typeof window<"u"?m=window:typeof P<"u"?m=P:typeof self<"u"&&(m=self);var L;function H(){}function U(){}function Q(){}function Y(){}function G(){}function V(){}function te(){}function X(){}function Ee(){}function ue(){}function ge(){}function re(){}function je(){}function Ke(){}function Xe(){}function Ye(){}function kn(){}function En(){}function Zn(){}function Ln(){}function Vn(){}function J(){}function xe(){}function on(){}function rn(){}function Sn(){}function Fn(){}function dn(){}function Gn(){}function Nn(){}function qn(){}function Jt(){}function Kt(){}function Oi(){}function gr(){}function Ki(){}function Kn(){}function ei(){}function rr(){}function cr(){}function Bi(){}function sr(){}function ri(){}function bi(){}function Ac(){}function ku(){}function Pr(){}function Ca(){}function zl(){}function Md(){}function ew(){}function Cd(){}function Td(){}function pr(){}function Mo(){}function bo(){}function v1(){}function Up(){}function wk(){}function zN(){}function UN(){}function XN(){}function KN(){}function WN(){}function VN(){}function QN(){}function YN(){}function ZN(){}function e$(){}function n$(){}function t$(){}function i$(){}function r$(){}function c$(){}function u$(){}function o$(){}function s$(){}function f$(){}function l$(){}function Y5(){}function Wx(){}function h$(){}function gk(){}function a$(){}function d$(){}function b$(){}function Vx(){}function w$(){}function g$(){}function Qx(){}function Yx(){}function Zx(){}function p$(){}function m$(){}function v$(){}function y$(){}function k$(){}function E$(){}function eA(){}function j$(){}function x$(){}function A$(){}function pk(){}function M$(){}function C$(){}function T$(){}function S$(){}function nA(){}function I$(){}function tA(){}function iA(){}function P$(){}function O$(){}function N$(){}function $$(){}function D$(){}function Z5(){}function L$(){}function rA(){}function _$(){}function F$(){}function mk(){}function R$(){}function B$(){}function cA(){}function W2e(){}function V2e(){}function Q2e(){}function Y2e(){}function Z2e(){}function epe(){}function npe(){}function tpe(){}function ipe(){}function rpe(){}function cpe(){}function upe(){}function ope(){}function spe(){}function fpe(){}function lpe(){}function hpe(){}function ape(){}function dpe(){}function bpe(){}function wpe(){}function gpe(){}function ppe(){}function mpe(){}function vpe(){}function ype(){}function kpe(){}function Epe(){}function jpe(){}function xpe(){}function Ape(){}function Mpe(){}function Cpe(){}function Tpe(){}function Spe(){}function Ipe(){}function Ppe(){}function Ope(){}function Npe(){}function $pe(){}function Dpe(){}function Lpe(){}function _pe(){}function Fpe(){}function Rpe(){}function Bpe(){}function Jpe(){}function Gpe(){}function Hpe(){}function qpe(){}function zpe(){}function Upe(){}function Xpe(){}function Kpe(){}function Wpe(){}function Vpe(){}function Qpe(){}function Ype(){}function Zpe(){}function eme(){}function nme(){}function tme(){}function ime(){}function rme(){}function cme(){}function ume(){}function ome(){}function sme(){}function fme(){}function lme(){}function hme(){}function ame(){}function dme(){}function bme(){}function wme(){}function gme(){}function pme(){}function mme(){}function vme(){}function yme(){}function kme(){}function Eme(){}function jme(){}function xme(){}function Ame(){}function Mme(){}function Cme(){}function Tme(){}function FK(){}function Sme(){}function Ime(){}function Pme(){}function Ome(){}function Nme(){}function $me(){}function Dme(){}function Lme(){}function _me(){}function Fme(){}function Rme(){}function Bme(){}function Jme(){}function Gme(){}function Hme(){}function qme(){}function zme(){}function Ume(){}function Xme(){}function Kme(){}function Wme(){}function Vme(){}function Qme(){}function Yme(){}function Zme(){}function e3e(){}function n3e(){}function t3e(){}function i3e(){}function r3e(){}function c3e(){}function u3e(){}function o3e(){}function s3e(){}function f3e(){}function l3e(){}function h3e(){}function a3e(){}function d3e(){}function b3e(){}function w3e(){}function g3e(){}function p3e(){}function m3e(){}function v3e(){}function y3e(){}function k3e(){}function E3e(){}function j3e(){}function x3e(){}function A3e(){}function M3e(){}function C3e(){}function T3e(){}function S3e(){}function I3e(){}function P3e(){}function O3e(){}function N3e(){}function $3e(){}function D3e(){}function L3e(){}function _3e(){}function F3e(){}function R3e(){}function B3e(){}function J3e(){}function G3e(){}function H3e(){}function q3e(){}function z3e(){}function U3e(){}function X3e(){}function K3e(){}function W3e(){}function V3e(){}function RK(){}function Q3e(){}function Y3e(){}function Z3e(){}function eve(){}function nve(){}function tve(){}function ive(){}function rve(){}function cve(){}function uA(){}function oA(){}function uve(){}function BK(){}function ove(){}function sve(){}function fve(){}function lve(){}function hve(){}function ave(){}function JK(){}function GK(){}function dve(){}function HK(){}function qK(){}function bve(){}function wve(){}function gve(){}function pve(){}function mve(){}function vve(){}function yve(){}function kve(){}function Eve(){}function jve(){}function xve(){}function Ave(){}function Mve(){}function Cve(){}function vk(){}function Tve(){}function Sve(){}function Ive(){}function Pve(){}function Ove(){}function Nve(){}function $ve(){}function Dve(){}function zK(){}function Lve(){}function _ve(){}function Fve(){}function Rve(){}function Bve(){}function Jve(){}function Gve(){}function Hve(){}function qve(){}function zve(){}function Uve(){}function Xve(){}function Kve(){}function Wve(){}function Vve(){}function Qve(){}function Yve(){}function Zve(){}function e4e(){}function n4e(){}function t4e(){}function i4e(){}function r4e(){}function c4e(){}function u4e(){}function o4e(){}function s4e(){}function f4e(){}function l4e(){}function h4e(){}function a4e(){}function d4e(){}function b4e(){}function w4e(){}function g4e(){}function p4e(){}function m4e(){}function v4e(){}function y4e(){}function k4e(){}function E4e(){}function j4e(){}function x4e(){}function A4e(){}function M4e(){}function C4e(){}function T4e(){}function S4e(){}function I4e(){}function P4e(){}function O4e(){}function N4e(){}function $4e(){}function D4e(){}function L4e(){}function _4e(){}function F4e(){}function R4e(){}function B4e(){}function J4e(){}function G4e(){}function H4e(){}function q4e(){}function z4e(){}function U4e(){}function X4e(){}function K4e(){}function zdn(){}function W4e(){}function V4e(){}function Q4e(){}function Y4e(){}function Z4e(){}function e5e(){}function n5e(){}function t5e(){}function i5e(){}function r5e(){}function c5e(){}function u5e(){}function o5e(){}function s5e(){}function f5e(){}function l5e(){}function h5e(){}function a5e(){}function d5e(){}function b5e(){}function w5e(){}function g5e(){}function p5e(){}function m5e(){}function v5e(){}function y5e(){}function k5e(){}function E5e(){}function j5e(){}function x5e(){}function A5e(){}function M5e(){}function C5e(){}function T5e(){}function S5e(){}function I5e(){}function P5e(){}function O5e(){}function J$(){}function G$(){}function N5e(){}function H$(){}function $5e(){}function D5e(){}function L5e(){}function _5e(){}function F5e(){}function R5e(){}function B5e(){}function J5e(){}function G5e(){}function H5e(){}function UK(){}function q5e(){}function Udn(){}function z5e(){}function U5e(){}function X5e(){}function K5e(){}function W5e(){}function V5e(){}function Q5e(){}function Y5e(){}function R0(){}function Z5e(){}function Xp(){}function XK(){}function e6e(){}function n6e(){}function t6e(){}function i6e(){}function r6e(){}function c6e(){}function u6e(){}function o6e(){}function s6e(){}function f6e(){}function l6e(){}function h6e(){}function a6e(){}function d6e(){}function b6e(){}function w6e(){}function g6e(){}function p6e(){}function m6e(){}function v6e(){}function Pe(){}function y6e(){}function k6e(){}function E6e(){}function j6e(){}function x6e(){}function A6e(){}function M6e(){}function q$(){}function C6e(){}function z$(){}function T6e(){}function S6e(){}function I6e(){}function P6e(){}function O6e(){}function N6e(){}function $6e(){}function D6e(){}function U$(){}function sA(){}function fA(){}function L6e(){}function KK(){}function _6e(){}function F6e(){}function lA(){}function R6e(){}function B6e(){}function J6e(){}function hA(){}function G6e(){}function H6e(){}function q6e(){}function z6e(){}function aA(){}function U6e(){}function WK(){}function X6e(){}function X$(){}function VK(){}function K6e(){}function W6e(){}function V6e(){}function Q6e(){}function Xdn(){}function Y6e(){}function Z6e(){}function eye(){}function nye(){}function tye(){}function iye(){}function rye(){}function cye(){}function uye(){}function oye(){}function Y3(){}function K$(){}function sye(){}function fye(){}function lye(){}function hye(){}function aye(){}function dye(){}function bye(){}function wye(){}function gye(){}function pye(){}function mye(){}function vye(){}function yye(){}function kye(){}function Eye(){}function jye(){}function xye(){}function Aye(){}function Mye(){}function Cye(){}function Tye(){}function Sye(){}function Iye(){}function Pye(){}function Oye(){}function Nye(){}function $ye(){}function Dye(){}function Lye(){}function _ye(){}function Fye(){}function Rye(){}function Bye(){}function Jye(){}function Gye(){}function Hye(){}function qye(){}function zye(){}function Uye(){}function Xye(){}function Kye(){}function Wye(){}function Vye(){}function Qye(){}function Yye(){}function Zye(){}function e9e(){}function n9e(){}function t9e(){}function i9e(){}function r9e(){}function c9e(){}function u9e(){}function o9e(){}function s9e(){}function f9e(){}function l9e(){}function h9e(){}function a9e(){}function d9e(){}function b9e(){}function w9e(){}function g9e(){}function p9e(){}function m9e(){}function v9e(){}function y9e(){}function k9e(){}function E9e(){}function j9e(){}function x9e(){}function A9e(){}function M9e(){}function C9e(){}function T9e(){}function S9e(){}function I9e(){}function P9e(){}function O9e(){}function N9e(){}function $9e(){}function D9e(){}function L9e(){}function _9e(){}function F9e(){}function R9e(){}function B9e(){}function J9e(){}function G9e(){}function H9e(){}function q9e(){}function z9e(){}function U9e(){}function X9e(){}function K9e(){}function W9e(){}function V9e(){}function Q9e(){}function Y9e(){}function Z9e(){}function e8e(){}function QK(){}function n8e(){}function t8e(){}function W$(){o6()}function i8e(){Zie()}function r8e(){$f()}function c8e(){lie()}function u8e(){bE()}function o8e(){$k()}function s8e(){IMe()}function f8e(){Lm()}function l8e(){tLe()}function h8e(){Dk()}function a8e(){s7()}function d8e(){Qv()}function b8e(){z1()}function w8e(){BA()}function g8e(){cue()}function p8e(){ZNe()}function m8e(){_Le()}function v8e(){lne()}function y8e(){QNe()}function k8e(){VNe()}function E8e(){YNe()}function j8e(){ye()}function x8e(){SFe()}function A8e(){Q$e()}function M8e(){hne()}function C8e(){CFe()}function T8e(){TFe()}function S8e(){IFe()}function I8e(){t$e()}function P8e(){$m()}function O8e(){cRe()}function N8e(){gce()}function $8e(){U1()}function D8e(){e$e()}function L8e(){SGe()}function _8e(){n$e()}function F8e(){QUe()}function R8e(){Ire()}function B8e(){Wc()}function J8e(){Tl()}function G8e(){Cce()}function H8e(){RBe()}function q8e(){ca()}function z8e(){vE()}function U8e(){IB()}function X8e(){FR()}function K8e(){zC()}function YK(){jt()}function W8e(){aS()}function V8e(){AT()}function Q8e(){Bte()}function ZK(){NS()}function eW(){LF()}function Wf(){FIe()}function Y8e(){Ice()}function nW(e){bn(e)}function Z8e(e){this.a=e}function dA(e){this.a=e}function eke(e){this.a=e}function nke(e){this.a=e}function tke(e){this.a=e}function tW(e){this.a=e}function iW(e){this.a=e}function ike(e){this.a=e}function V$(e){this.a=e}function rke(e){this.a=e}function cke(e){this.a=e}function uke(e){this.a=e}function oke(e){this.a=e}function ske(e){this.c=e}function fke(e){this.a=e}function Q$(e){this.a=e}function lke(e){this.a=e}function hke(e){this.a=e}function ake(e){this.a=e}function Y$(e){this.a=e}function dke(e){this.a=e}function bke(e){this.a=e}function Z$(e){this.a=e}function wke(e){this.a=e}function eD(e){this.a=e}function gke(e){this.a=e}function pke(e){this.a=e}function mke(e){this.a=e}function vke(e){this.a=e}function yke(e){this.a=e}function kke(e){this.a=e}function Eke(e){this.a=e}function jke(e){this.a=e}function xke(e){this.a=e}function Ake(e){this.a=e}function Mke(e){this.a=e}function Cke(e){this.a=e}function Tke(e){this.a=e}function Ske(e){this.a=e}function rW(e){this.a=e}function cW(e){this.a=e}function bA(e){this.a=e}function yk(e){this.a=e}function uW(e){this.b=e}function Sd(){this.a=[]}function Ike(e,n){e.a=n}function Kdn(e,n){e.a=n}function Wdn(e,n){e.b=n}function Vdn(e,n){e.c=n}function Qdn(e,n){e.c=n}function Ydn(e,n){e.d=n}function Zdn(e,n){e.d=n}function qh(e,n){e.k=n}function oW(e,n){e.j=n}function e0n(e,n){e.c=n}function sW(e,n){e.c=n}function fW(e,n){e.a=n}function n0n(e,n){e.a=n}function t0n(e,n){e.f=n}function i0n(e,n){e.a=n}function r0n(e,n){e.b=n}function nD(e,n){e.d=n}function wA(e,n){e.i=n}function lW(e,n){e.o=n}function c0n(e,n){e.r=n}function u0n(e,n){e.a=n}function o0n(e,n){e.b=n}function Pke(e,n){e.e=n}function s0n(e,n){e.e=n}function f0n(e,n){e.f=n}function l0n(e,n){e.f=n}function hW(e,n){e.g=n}function h0n(e,n){e.f=n}function tD(e,n){e.a=n}function iD(e,n){e.b=n}function a0n(e,n){e.n=n}function d0n(e,n){e.a=n}function b0n(e,n){e.a=n}function w0n(e,n){e.a=n}function g0n(e,n){e.c=n}function p0n(e,n){e.c=n}function m0n(e,n){e.c=n}function v0n(e,n){e.d=n}function y0n(e,n){e.d=n}function k0n(e,n){e.e=n}function E0n(e,n){e.e=n}function j0n(e,n){e.g=n}function x0n(e,n){e.f=n}function A0n(e,n){e.j=n}function M0n(e,n){e.a=n}function C0n(e,n){e.a=n}function T0n(e,n){e.b=n}function Oke(e){e.b=e.a}function Nke(e){e.c=e.d.d}function aW(e){this.a=e}function kk(e){this.a=e}function dW(e){this.a=e}function Ek(e){this.a=e}function $ke(e){this.a=e}function bW(e){this.a=e}function gA(e){this.a=e}function zh(e){this.a=e}function wW(e){this.a=e}function nw(e){this.a=e}function rD(e){this.a=e}function Uh(e){this.a=e}function tw(e){this.a=e}function cD(e){this.b=e}function Z3(e){this.b=e}function s2(e){this.b=e}function e6(e){this.d=e}function yt(e){this.a=e}function Dke(e){this.a=e}function gW(e){this.a=e}function Lke(e){this.a=e}function _ke(e){this.a=e}function Fke(e){this.a=e}function pW(e){this.a=e}function mW(e){this.a=e}function uD(e){this.c=e}function S(e){this.c=e}function Rke(e){this.c=e}function vW(e){this.a=e}function yW(e){this.a=e}function kW(e){this.a=e}function EW(e){this.a=e}function ev(e){this.a=e}function Bke(e){this.a=e}function Jke(e){this.a=e}function nv(e){this.a=e}function Gke(e){this.a=e}function Hke(e){this.a=e}function qke(e){this.a=e}function zke(e){this.a=e}function Uke(e){this.a=e}function Xke(e){this.a=e}function Kke(e){this.a=e}function Wke(e){this.a=e}function Vke(e){this.a=e}function Qke(e){this.a=e}function Yke(e){this.a=e}function n6(e){this.a=e}function Zke(e){this.a=e}function jW(e){this.a=e}function jk(e){this.a=e}function e7e(e){this.a=e}function n7e(e){this.a=e}function xW(e){this.a=e}function t7e(e){this.a=e}function i7e(e){this.a=e}function r7e(e){this.a=e}function AW(e){this.a=e}function MW(e){this.a=e}function CW(e){this.a=e}function t6(e){this.a=e}function tv(e){this.a=e}function c7e(e){this.a=e}function Kp(e){this.a=e}function TW(e){this.a=e}function u7e(e){this.a=e}function o7e(e){this.a=e}function s7e(e){this.a=e}function f7e(e){this.a=e}function l7e(e){this.a=e}function h7e(e){this.a=e}function a7e(e){this.a=e}function d7e(e){this.a=e}function b7e(e){this.a=e}function w7e(e){this.a=e}function g7e(e){this.a=e}function SW(e){this.a=e}function p7e(e){this.a=e}function m7e(e){this.a=e}function v7e(e){this.a=e}function y7e(e){this.a=e}function k7e(e){this.a=e}function E7e(e){this.a=e}function j7e(e){this.a=e}function x7e(e){this.a=e}function A7e(e){this.a=e}function pA(e){this.e=e}function M7e(e){this.a=e}function C7e(e){this.a=e}function T7e(e){this.a=e}function S7e(e){this.a=e}function I7e(e){this.a=e}function P7e(e){this.a=e}function O7e(e){this.a=e}function N7e(e){this.a=e}function $7e(e){this.a=e}function D7e(e){this.a=e}function L7e(e){this.a=e}function _7e(e){this.a=e}function F7e(e){this.a=e}function R7e(e){this.a=e}function B7e(e){this.a=e}function J7e(e){this.a=e}function G7e(e){this.a=e}function H7e(e){this.a=e}function q7e(e){this.a=e}function z7e(e){this.a=e}function U7e(e){this.a=e}function X7e(e){this.a=e}function K7e(e){this.a=e}function W7e(e){this.a=e}function V7e(e){this.a=e}function Q7e(e){this.a=e}function Y7e(e){this.a=e}function Z7e(e){this.a=e}function eEe(e){this.a=e}function nEe(e){this.a=e}function tEe(e){this.a=e}function iEe(e){this.a=e}function rEe(e){this.a=e}function cEe(e){this.c=e}function uEe(e){this.b=e}function oEe(e){this.a=e}function sEe(e){this.a=e}function fEe(e){this.a=e}function lEe(e){this.a=e}function hEe(e){this.a=e}function aEe(e){this.a=e}function dEe(e){this.a=e}function bEe(e){this.a=e}function wEe(e){this.a=e}function gEe(e){this.a=e}function pEe(e){this.a=e}function mEe(e){this.a=e}function vEe(e){this.a=e}function yEe(e){this.a=e}function kEe(e){this.a=e}function EEe(e){this.a=e}function jEe(e){this.a=e}function xEe(e){this.a=e}function AEe(e){this.a=e}function MEe(e){this.a=e}function CEe(e){this.a=e}function TEe(e){this.a=e}function SEe(e){this.a=e}function IEe(e){this.a=e}function PEe(e){this.a=e}function OEe(e){this.a=e}function NEe(e){this.a=e}function Xh(e){this.a=e}function f2(e){this.a=e}function $Ee(e){this.a=e}function DEe(e){this.a=e}function LEe(e){this.a=e}function _Ee(e){this.a=e}function FEe(e){this.a=e}function REe(e){this.a=e}function BEe(e){this.a=e}function JEe(e){this.a=e}function GEe(e){this.a=e}function HEe(e){this.a=e}function qEe(e){this.a=e}function zEe(e){this.a=e}function UEe(e){this.a=e}function XEe(e){this.a=e}function KEe(e){this.a=e}function WEe(e){this.a=e}function VEe(e){this.a=e}function QEe(e){this.a=e}function YEe(e){this.a=e}function ZEe(e){this.a=e}function eje(e){this.a=e}function nje(e){this.a=e}function tje(e){this.a=e}function ije(e){this.a=e}function rje(e){this.a=e}function cje(e){this.a=e}function mA(e){this.a=e}function uje(e){this.a=e}function oje(e){this.a=e}function sje(e){this.a=e}function fje(e){this.a=e}function lje(e){this.a=e}function hje(e){this.a=e}function aje(e){this.a=e}function dje(e){this.a=e}function bje(e){this.a=e}function wje(e){this.a=e}function gje(e){this.a=e}function pje(e){this.a=e}function mje(e){this.a=e}function vje(e){this.a=e}function yje(e){this.a=e}function kje(e){this.a=e}function Eje(e){this.a=e}function jje(e){this.a=e}function xje(e){this.a=e}function Aje(e){this.a=e}function Mje(e){this.a=e}function Cje(e){this.a=e}function Tje(e){this.a=e}function Sje(e){this.a=e}function Ije(e){this.a=e}function Pje(e){this.a=e}function Oje(e){this.a=e}function oD(e){this.a=e}function Vt(e){this.b=e}function Nje(e){this.f=e}function IW(e){this.a=e}function $je(e){this.a=e}function Dje(e){this.a=e}function Lje(e){this.a=e}function _je(e){this.a=e}function Fje(e){this.a=e}function Rje(e){this.a=e}function Bje(e){this.a=e}function Jje(e){this.a=e}function xk(e){this.a=e}function Gje(e){this.a=e}function Hje(e){this.a=e}function vA(e){this.a=e}function yA(e){this.a=e}function qje(e){this.b=e}function PW(e){this.c=e}function kA(e){this.e=e}function zje(e){this.d=e}function sD(e){this.a=e}function Uje(e){this.a=e}function OW(e){this.a=e}function NW(e){this.a=e}function B0(e){this.e=e}function S0n(){this.a=0}function ve(){jL(this)}function Wn(){ou(this)}function fD(){COe(this)}function Xje(){}function J0(){this.c=jge}function Kje(e,n){e.b+=n}function I0n(e,n){n.Wb(e)}function P0n(e){return e.a}function O0n(e){return e.a}function N0n(e){return e.a}function $0n(e){return e.a}function D0n(e){return e.a}function I(e){return e.e}function L0n(){return null}function _0n(){return null}function F0n(e){throw I(e)}function Wp(e){this.a=st(e)}function Wje(){this.a=this}function Id(){mSe.call(this)}function R0n(e){e.b.Mf(e.e)}function Vje(e){e.b=new MD}function i6(e,n){e.b=n-e.b}function r6(e,n){e.a=n-e.a}function Qje(e,n){n.gd(e.a)}function B0n(e,n){tr(n,e)}function jn(e,n){e.push(n)}function Yje(e,n){e.sort(n)}function J0n(e,n,t){e.Wd(t,n)}function Ak(e,n){e.e=n,n.b=e}function Zje(e){Nv(),eq.je(e)}function G0n(){aV(),hFn()}function $W(){Id.call(this)}function lD(){Id.call(this)}function DW(){mSe.call(this)}function exe(){Id.call(this)}function Ss(){Id.call(this)}function nxe(){Id.call(this)}function Mk(){Id.call(this)}function wo(){Id.call(this)}function Vp(){Id.call(this)}function ht(){Id.call(this)}function $c(){Id.call(this)}function txe(){Id.call(this)}function EA(){this.Bb|=256}function ixe(){this.b=new aTe}function LW(){LW=J,new Wn}function iw(e,n){e.length=n}function jA(e,n){me(e.a,n)}function H0n(e,n){nre(e.c,n)}function q0n(e,n){Hi(e.b,n)}function z0n(e,n){YT(e.a,n)}function U0n(e,n){lR(e.a,n)}function iv(e,n){Gt(e.e,n)}function Qp(e){gS(e.c,e.b)}function X0n(e,n){e.kc().Nb(n)}function _W(e){this.a=cEn(e)}function Ji(){this.a=new Wn}function rxe(){this.a=new Wn}function xA(){this.a=new ve}function hD(){this.a=new ve}function FW(){this.a=new ve}function Ys(){this.a=new UN}function Pd(){this.a=new QDe}function aD(){this.a=new jMe}function RW(){this.a=new JNe}function BW(){this.a=new cIe}function JW(){this.a=new Wx}function cxe(){this.a=new w$e}function uxe(){this.a=new ve}function oxe(){this.a=new ve}function GW(){this.a=new ve}function sxe(){this.a=new ve}function fxe(){this.d=new ve}function lxe(){this.a=new Ji}function hxe(){this.a=new Wn}function axe(){this.b=new Wn}function dxe(){this.b=new ve}function HW(){this.e=new ve}function bxe(){this.a=new b8e}function wxe(){this.d=new ve}function gxe(){ve.call(this)}function pxe(){$W.call(this)}function AA(){xA.call(this)}function mxe(){GW.call(this)}function c6(){Xje.call(this)}function dD(){c6.call(this)}function vxe(){NM.call(this)}function Yp(){Xje.call(this)}function qW(){Yp.call(this)}function yxe(){mNe.call(this)}function kxe(){mNe.call(this)}function Exe(){KW.call(this)}function jxe(){KW.call(this)}function xxe(){KW.call(this)}function Axe(){WW.call(this)}function u6(){D6e.call(this)}function zW(){D6e.call(this)}function _o(){ni.call(this)}function Mxe(){Bxe.call(this)}function Cxe(){Bxe.call(this)}function Txe(){Wn.call(this)}function Sxe(){Wn.call(this)}function Ixe(){Wn.call(this)}function bD(){yFe.call(this)}function Pxe(){Ji.call(this)}function Oxe(){EA.call(this)}function wD(){AQ.call(this)}function UW(){Wn.call(this)}function gD(){AQ.call(this)}function pD(){Wn.call(this)}function Nxe(){Wn.call(this)}function XW(){aA.call(this)}function $xe(){XW.call(this)}function Dxe(){aA.call(this)}function Lxe(){QK.call(this)}function KW(){this.a=new Ji}function _xe(){this.a=new Wn}function WW(){this.a=new Wn}function Zp(){this.a=new ni}function Fxe(){this.a=new ve}function Rxe(){this.j=new ve}function Bxe(){this.a=new G6e}function VW(){this.a=new A5e}function Jxe(){this.a=new FAe}function mD(){mD=J,KH=new Hxe}function o6(){o6=J,UH=new U}function vD(){vD=J,XH=new Gxe}function Gxe(){Z$.call(this,"")}function Hxe(){Z$.call(this,"")}function qxe(e){Q_e.call(this,e)}function zxe(e){Q_e.call(this,e)}function QW(e){tW.call(this,e)}function YW(e){QAe.call(this,e)}function K0n(e){QAe.call(this,e)}function W0n(e){YW.call(this,e)}function V0n(e){YW.call(this,e)}function Q0n(e){YW.call(this,e)}function Uxe(e){Y_.call(this,e)}function Xxe(e){Y_.call(this,e)}function Kxe(e){VTe.call(this,e)}function Wxe(e){vV.call(this,e)}function s6(e){_A.call(this,e)}function ZW(e){_A.call(this,e)}function Vxe(e){_A.call(this,e)}function Dc(e){qPe.call(this,e)}function Qxe(e){Dc.call(this,e)}function em(){yk.call(this,{})}function yD(e){gv(),this.a=e}function Yxe(e){e.b=null,e.c=0}function Y0n(e,n){e.e=n,Vze(e,n)}function Z0n(e,n){e.a=n,hTn(e)}function kD(e,n,t){e.a[n.g]=t}function ebn(e,n,t){OAn(t,e,n)}function nbn(e,n){I2n(n.i,e.n)}function Zxe(e,n){Vkn(e).Ad(n)}function tbn(e,n){return e*e/n}function eAe(e,n){return e.g-n.g}function ibn(e,n){e.a.ec().Kc(n)}function rbn(e){return new bA(e)}function cbn(e){return new Mw(e)}function MA(e){Dc.call(this,e)}function Lu(e){Dc.call(this,e)}function nAe(e){Dc.call(this,e)}function ED(e){qPe.call(this,e)}function CA(e){Sne(),this.a=e}function jD(e){s_(),this.f=e}function y1(e){s_(),this.f=e}function tAe(e){_Ie(),this.a=e}function rv(e){Dc.call(this,e)}function xn(e){Dc.call(this,e)}function gc(e){Dc.call(this,e)}function iAe(e){Dc.call(this,e)}function nm(e){Dc.call(this,e)}function Se(e){return bn(e),e}function q(e){return bn(e),e}function Ck(e){return bn(e),e}function eV(e){return bn(e),e}function ubn(e){return bn(e),e}function f6(e){return e.b==e.c}function rw(e){return!!e&&e.b}function obn(e){return!!e&&e.k}function sbn(e){return!!e&&e.j}function Uc(e){bn(e),this.a=e}function nV(e){return Zd(e),e}function l6(e){sZ(e,e.length)}function Ta(e){Dc.call(this,e)}function Sa(e){Dc.call(this,e)}function tm(e){Dc.call(this,e)}function Ul(e){Dc.call(this,e)}function pt(e){Dc.call(this,e)}function xD(e){Dc.call(this,e)}function AD(e){BQ.call(this,e,0)}function MD(){QZ.call(this,12,3)}function CD(){this.a=dt(st(Ju))}function rAe(){throw I(new ht)}function tV(){throw I(new ht)}function cAe(){throw I(new ht)}function fbn(){throw I(new ht)}function lbn(){throw I(new ht)}function hbn(){throw I(new ht)}function uAe(){uAe=J,zfe=new H}function iV(){iV=J,Ufe=new Ke}function TA(){TA=J,$9=new kn}function SA(){SA=J,VH=new WTe}function oAe(){oAe=J,een=new Zn}function IA(){IA=J,Nv()}function Ia(){Ek.call(this,"")}function h6(){Ek.call(this,"")}function k1(){Ek.call(this,"")}function im(){Ek.call(this,"")}function rV(e){Lu.call(this,e)}function cV(e){Lu.call(this,e)}function Xl(e){xn.call(this,e)}function cv(e){Z3.call(this,e)}function sAe(e){cv.call(this,e)}function TD(e){CM.call(this,e)}function abn(e,n,t){e.c.Cf(n,t)}function dbn(e,n,t){n.Ad(e.a[t])}function bbn(e,n,t){n.Ne(e.a[t])}function wbn(e,n){return e.a-n.a}function gbn(e,n){return e.a-n.a}function pbn(e,n){return e.a-n.a}function PA(e,n){return dF(e,n)}function N(e,n){return UNe(e,n)}function mbn(e,n){return n in e.a}function fAe(e){return e.a?e.b:0}function vbn(e){return e.a?e.b:0}function lAe(e,n){return e.f=n,e}function ybn(e,n){return e.b=n,e}function hAe(e,n){return e.c=n,e}function kbn(e,n){return e.g=n,e}function uV(e,n){return e.a=n,e}function oV(e,n){return e.f=n,e}function Ebn(e,n){return e.k=n,e}function sV(e,n){return e.a=n,e}function jbn(e,n){return e.e=n,e}function fV(e,n){return e.e=n,e}function xbn(e,n){return e.f=n,e}function Abn(e,n){e.b=new Ur(n)}function aAe(e,n){e._d(n),n.$d(e)}function Mbn(e,n){fs(),n.n.a+=e}function Cbn(e,n){z1(),Fc(n,e)}function Tbn(e,n){return e.b-n.b}function Sbn(e,n){return e.g-n.g}function Ibn(e,n){return e.s-n.s}function Pbn(e,n){return e?0:n-1}function dAe(e,n){return e?0:n-1}function Obn(e,n){return e?n-1:0}function Nbn(e,n){return n.pg(e)}function cw(e,n){return e.b=n,e}function OA(e,n){return e.a=n,e}function uw(e,n){return e.c=n,e}function ow(e,n){return e.d=n,e}function sw(e,n){return e.e=n,e}function lV(e,n){return e.f=n,e}function a6(e,n){return e.a=n,e}function uv(e,n){return e.b=n,e}function ov(e,n){return e.c=n,e}function Ne(e,n){return e.c=n,e}function ze(e,n){return e.b=n,e}function $e(e,n){return e.d=n,e}function De(e,n){return e.e=n,e}function $bn(e,n){return e.f=n,e}function Le(e,n){return e.g=n,e}function _e(e,n){return e.a=n,e}function Fe(e,n){return e.i=n,e}function Re(e,n){return e.j=n,e}function Dbn(e,n){return e.j=n,e}function bAe(e,n){return e.k=n,e}function Cr(){this.a=0,this.b=0}function wAe(){this.b=0,this.a=0}function gAe(e){KOe.call(this,e)}function hV(e){KOe.call(this,e)}function NA(e){GL.call(this,e)}function E1(e){ub.call(this,e)}function pAe(e){P_.call(this,e)}function mAe(e){P_.call(this,e)}function vAe(){pQ.call(this,"")}function yAe(){yAe=J,den=cMn()}function j1(){j1=J,xln=gAn()}function kAe(){kAe=J,wr=MMn()}function aV(){aV=J,P0=hy()}function sv(){sv=J,Ege=pAn()}function EAe(){EAe=J,shn=mAn()}function dV(){dV=J,uu=sTn()}function Vf(e){return e.e&&e.e()}function jAe(e,n){return e.c._b(n)}function xAe(e,n){return ABe(e.b,n)}function AAe(e,n){return own(e.a,n)}function MAe(e,n){e.b=0,_w(e,n)}function Lbn(e,n){e.c=n,e.b=!0}function l2(e,n){return e.a+=n,e}function SD(e,n){return e.a+=n,e}function Pa(e,n){return e.a+=n,e}function G0(e,n){return e.a+=n,e}function Od(e){return Vh(e),e.o}function bV(e){TKe(),xFn(this,e)}function CAe(){throw I(new ht)}function TAe(){throw I(new ht)}function SAe(){throw I(new ht)}function IAe(){throw I(new ht)}function PAe(){throw I(new ht)}function OAe(){throw I(new ht)}function $A(e){this.a=new cm(e)}function Oa(e){this.a=new l_(e)}function h2(e,n){for(;e.Pe(n););}function wV(e,n){for(;e.zd(n););}function _bn(e,n,t){B3n(e.a,n,t)}function gV(e,n,t){e.splice(n,t)}function Fbn(e,n){return yDn(n,e)}function pV(e,n){return e.d[n.p]}function Tk(e){return e.b!=e.d.c}function NAe(e){return e.l|e.m<<22}function ID(e){return e?e.d:null}function Rbn(e){return e?e.g:null}function Bbn(e){return e?e.i:null}function $Ae(e,n){return BPn(e,n)}function fv(e){return I1(e),e.a}function DAe(e){e.c?aUe(e):dUe(e)}function LAe(){this.b=new qy(Sde)}function _Ae(){this.b=new qy(QU)}function FAe(){this.b=new qy(QU)}function RAe(){this.a=new qy(l0e)}function BAe(){this.a=new qy($0e)}function DA(e){this.a=0,this.b=e}function JAe(){throw I(new ht)}function GAe(){throw I(new ht)}function HAe(){throw I(new ht)}function qAe(){throw I(new ht)}function zAe(){throw I(new ht)}function UAe(){throw I(new ht)}function XAe(){throw I(new ht)}function KAe(){throw I(new ht)}function WAe(){throw I(new ht)}function VAe(){throw I(new ht)}function Jbn(){throw I(new $c)}function Gbn(){throw I(new $c)}function Sk(e){this.a=new mMe(e)}function LA(e){this.b=u(st(e),92)}function mV(e,n){this.b=e,this.c=n}function lv(e,n){this.e=e,this.d=n}function QAe(e){CQ(e.dc()),this.c=e}function YAe(e,n){this.a=e,this.b=n}function ZAe(e,n){this.a=e,this.b=n}function eMe(e,n){this.a=e,this.b=n}function nMe(e,n){this.a=e,this.b=n}function tMe(e,n){this.a=e,this.b=n}function iMe(e,n){this.a=e,this.b=n}function rMe(e,n){this.a=e,this.b=n}function cMe(e,n){this.b=e,this.a=n}function H0(e,n){this.g=e,this.i=n}function uMe(e,n){this.b=e,this.a=n}function Ik(e,n){x2.call(this,e,n)}function hv(e,n){Ik.call(this,e,n)}function oMe(e,n){this.a=e,this.b=n}function sMe(e,n){this.a=e,this.b=n}function fMe(e,n){this.b=e,this.a=n}function lMe(e,n){this.b=e,this.a=n}function ot(e,n){this.f=e,this.g=n}function _A(e){this.b=u(st(e),50)}function PD(e,n){this.a=e,this.b=n}function hMe(e,n){this.a=e,this.f=n}function aMe(e){this.a=u(st(e),16)}function vV(e){this.a=u(st(e),16)}function dMe(e,n){this.b=e,this.c=n}function bMe(e){this.a=u(st(e),92)}function Hbn(e,n){this.a=e,this.b=n}function wMe(e,n){this.a=e,this.b=n}function gMe(e,n){return Au(e.b,n)}function pMe(e,n){return e>n&&n<t9}function Pk(e){return ql[e]!=-1}function Ok(e){return!e||jOe(e)}function mMe(e){E8n(this,e,TCn())}function qbn(e,n){yB(oe(e.a),n)}function zbn(e,n){yB(oe(e.a),n)}function yV(e,n){return e.b.Hc(n)}function d6(e,n){return e.b.Gc(n)}function kV(e,n){return e.b.Oc(n)}function vMe(e,n){return e.c.uc(n)}function yMe(e,n){return e.b.Gc(n)}function kMe(e,n){return qt(e.c,n)}function Ubn(e){return lOe(),e?ZZe:YZe}function b6(e){return e.f.c+e.i.c}function Zs(e,n){return e.a._b(n)}function OD(e,n){this.a=e,this.b=n}function rm(e){this.c=e,M_e(this)}function ni(){JTe(this),es(this)}function fw(){fw=J,uq=new dTe}function av(){av=J,f5=new Sn}function Na(){Na=J,ren=new xe}function FA(){FA=J,wen=new bTe}function dv(){dv=J,vle=new cr}function Xbn(){VI!=0&&(VI=0),QI=-1}function EMe(){zH==null&&(zH=[])}function cm(e){VRe.call(this,e,0)}function jMe(){l_.call(this,null)}function EV(){lF.call(this,null)}function Nd(){Nd=J,b3=new Md}function Si(e,n){I1(e),e.a.Nb(n)}function Kbn(e,n){return e.a.Vc(n)}function Wbn(e,n){return e.a.Wc(n)}function ND(e,n){return e.a.Yc(n)}function $D(e,n){return e.a.Zc(n)}function Vbn(e,n){return e.Fc(n),e}function Qbn(e,n){return e.a.f=n,e}function xMe(e,n){return e.a.d=n,e}function AMe(e,n){return e.a.g=n,e}function MMe(e,n){return e.a.j=n,e}function vf(e,n){return e.a.a=n,e}function yf(e,n){return e.a.d=n,e}function kf(e,n){return e.a.e=n,e}function Ef(e,n){return e.a.g=n,e}function Nk(e,n){return e.a.f=n,e}function Ybn(e){return e.b=!1,e}function $k(){$k=J,stn=new Cr}function jV(){jV=J,Unn=new g$}function CMe(){CMe=J,Xnn=new p$}function xV(){xV=J,Knn=new FPe}function TMe(){TMe=J,Aen=new Mo}function AV(){AV=J,qle=new k$}function SMe(){SMe=J,itn=new nA}function bv(){bv=J,ctn=new I$}function Dk(){Dk=J,ftn=new ope}function IMe(){IMe=J,dtn=new qpe}function RA(){RA=J,Gcn=new P6e}function w6(){w6=J,ktn=new I3e}function BA(){BA=J,ap=new eve}function JA(){JA=J,YU=new OMe}function GA(){GA=J,ZU=new $Se}function g6(){g6=J,ux=new SOe}function PMe(){MFe(),this.c=new MD}function OMe(){ot.call(this,MVe,0)}function Zbn(e,n,t,i){zjn(e,i,n,t)}function ewn(e,n,t,i){VIn(i,e,n,t)}function nwn(e,n,t,i){M_n(i,e,n,t)}function twn(e,n,t){mc(e.d,n.f,t)}function lw(e,n){t0(e.c.b,n.c,n)}function p6(e,n){t0(e.c.c,n.b,n)}function m6(e,n){return e.a=n.g,e}function $d(){$d=J,Eln=new $6e}function NMe(){NMe=J,Iln=new z6e}function $Me(){$Me=J,Hln=new Sxe}function DMe(){DMe=J,qln=new Ixe}function x1(){x1=J,pf=new UW}function MV(){MV=J,kge=new Nxe}function HA(){HA=J,lN=new Wn}function CV(){CV=J,Oge=new ve}function v6(){v6=J,JX=new XTe}function $a(){$a=J,Nx=new KTe}function DD(){DD=J,rhn=new Zye}function tc(){tc=J,uhn=new e9e}function A1(){A1=J,xd=new t8e}function qA(){this.q=new m.Date}function TV(e){this.a=u(st(e),229)}function zA(e){return u(e,45).jd()}function iwn(e){return(e.c+e.a)/2}function rwn(e){return e.e.a+e.f.a}function cwn(e){return e.e.b+e.f.b}function uwn(e){return e.b?e.b:e.a}function own(e,n){return e.a.a.cc(n)}function LMe(e,n){return Vxn(e.a,n)}function LD(e,n){return Su(e,n)>0}function _D(e,n){return Su(e,n)<0}function swn(e,n){return n.split(e)}function FD(e){return e.b<e.d.gc()}function _Me(e,n){return i_(e.a,n)}function fwn(e,n){$Ne.call(this,e,n)}function SV(e){M_(),xCn.call(this,e)}function IV(e){M_(),SV.call(this,e)}function PV(e){e_(),VTe.call(this,e)}function OV(e,n){OPe(e,e.length,n)}function Lk(e,n){sOe(e,e.length,n)}function y6(e,n){return e.a.get(n)}function FMe(e,n){return Au(e.e,n)}function NV(e){return bn(e),!1}function RMe(){return yAe(),new den}function _k(e){return Hn(e.a),e.b}function BMe(e,n){this.b=e,this.a=n}function UA(e,n){this.d=e,this.e=n}function JMe(e,n){this.a=e,this.b=n}function GMe(e,n){this.a=e,this.b=n}function HMe(e,n){this.a=e,this.b=n}function qMe(e,n){this.a=e,this.b=n}function zMe(e,n){this.b=e,this.a=n}function um(e,n){this.a=e,this.b=n}function XA(e,n){ot.call(this,e,n)}function RD(e,n){ot.call(this,e,n)}function BD(e,n){ot.call(this,e,n)}function JD(e,n){ot.call(this,e,n)}function GD(e,n){ot.call(this,e,n)}function KA(e,n){ot.call(this,e,n)}function WA(e){Ze.call(this,e,21)}function UMe(e,n){this.b=e,this.a=n}function $V(e,n){this.b=e,this.a=n}function DV(e,n){this.b=e,this.a=n}function LV(e,n){ot.call(this,e,n)}function HD(e,n){ot.call(this,e,n)}function Fk(e,n){ot.call(this,e,n)}function _V(e,n){this.b=e,this.a=n}function wv(e,n){this.c=e,this.d=n}function VA(e,n){ot.call(this,e,n)}function QA(e,n){ot.call(this,e,n)}function XMe(e,n){this.e=e,this.d=n}function om(e,n){ot.call(this,e,n)}function KMe(e,n){this.a=e,this.b=n}function FV(e,n){ot.call(this,e,n)}function Gi(e,n){ot.call(this,e,n)}function YA(e,n){ot.call(this,e,n)}function k6(e,n,t){e.splice(n,0,t)}function lwn(e,n,t){e.Mb(t)&&n.Ad(t)}function hwn(e,n,t){n.Ne(e.a.We(t))}function awn(e,n,t){n.Bd(e.a.Xe(t))}function dwn(e,n,t){n.Ad(e.a.Kb(t))}function bwn(e,n){return po(e.c,n)}function wwn(e,n){return po(e.e,n)}function WMe(e,n){this.a=e,this.b=n}function VMe(e,n){this.a=e,this.b=n}function QMe(e,n){this.a=e,this.b=n}function YMe(e,n){this.a=e,this.b=n}function ZMe(e,n){this.a=e,this.b=n}function eCe(e,n){this.a=e,this.b=n}function nCe(e,n){this.a=e,this.b=n}function tCe(e,n){this.a=e,this.b=n}function iCe(e,n){this.b=e,this.a=n}function rCe(e,n){this.b=e,this.a=n}function cCe(e,n){this.b=e,this.a=n}function uCe(e,n){this.b=n,this.c=e}function ZA(e,n){ot.call(this,e,n)}function Rk(e,n){ot.call(this,e,n)}function RV(e,n){ot.call(this,e,n)}function E6(e,n){ot.call(this,e,n)}function eM(e,n){ot.call(this,e,n)}function qD(e,n){ot.call(this,e,n)}function zD(e,n){ot.call(this,e,n)}function a2(e,n){ot.call(this,e,n)}function BV(e,n){ot.call(this,e,n)}function UD(e,n){ot.call(this,e,n)}function j6(e,n){ot.call(this,e,n)}function JV(e,n){ot.call(this,e,n)}function x6(e,n){ot.call(this,e,n)}function A6(e,n){ot.call(this,e,n)}function hw(e,n){ot.call(this,e,n)}function XD(e,n){ot.call(this,e,n)}function KD(e,n){ot.call(this,e,n)}function WD(e,n){ot.call(this,e,n)}function GV(e,n){ot.call(this,e,n)}function Bk(e,n){ot.call(this,e,n)}function HV(e,n){ot.call(this,e,n)}function d2(e,n){ot.call(this,e,n)}function aw(e,n){ot.call(this,e,n)}function VD(e,n){ot.call(this,e,n)}function nM(e,n){ot.call(this,e,n)}function Jk(e,n){ot.call(this,e,n)}function QD(e,n){ot.call(this,e,n)}function tM(e,n){ot.call(this,e,n)}function qV(e,n){ot.call(this,e,n)}function YD(e,n){ot.call(this,e,n)}function ZD(e,n){ot.call(this,e,n)}function eL(e,n){ot.call(this,e,n)}function nL(e,n){ot.call(this,e,n)}function tL(e,n){ot.call(this,e,n)}function iM(e,n){ot.call(this,e,n)}function oCe(e,n){this.b=e,this.a=n}function zV(e,n){ot.call(this,e,n)}function sCe(e,n){this.a=e,this.b=n}function fCe(e,n){this.a=e,this.b=n}function lCe(e,n){this.a=e,this.b=n}function UV(e,n){ot.call(this,e,n)}function XV(e,n){ot.call(this,e,n)}function hCe(e,n){this.a=e,this.b=n}function gwn(e,n){return jv(),n!=e}function iL(e){return gSn(e,e.c),e}function pwn(e){m.clearTimeout(e)}function KV(e,n){ot.call(this,e,n)}function WV(e,n){ot.call(this,e,n)}function aCe(e,n){this.a=e,this.b=n}function dCe(e,n){this.a=e,this.b=n}function bCe(e,n){this.b=e,this.d=n}function wCe(e,n){this.a=e,this.b=n}function gCe(e,n){this.b=e,this.a=n}function rM(e,n){ot.call(this,e,n)}function q0(e,n){ot.call(this,e,n)}function rL(e,n){ot.call(this,e,n)}function cM(e,n){ot.call(this,e,n)}function VV(e,n){ot.call(this,e,n)}function pCe(e,n){this.b=e,this.a=n}function mCe(e,n){this.b=e,this.a=n}function vCe(e,n){this.b=e,this.a=n}function yCe(e,n){this.b=e,this.a=n}function QV(e,n){ot.call(this,e,n)}function Gk(e,n){ot.call(this,e,n)}function YV(e,n){ot.call(this,e,n)}function cL(e,n){ot.call(this,e,n)}function uM(e,n){ot.call(this,e,n)}function uL(e,n){ot.call(this,e,n)}function oL(e,n){ot.call(this,e,n)}function oM(e,n){ot.call(this,e,n)}function sL(e,n){ot.call(this,e,n)}function ZV(e,n){ot.call(this,e,n)}function fL(e,n){ot.call(this,e,n)}function lL(e,n){ot.call(this,e,n)}function Hk(e,n){ot.call(this,e,n)}function hL(e,n){ot.call(this,e,n)}function eQ(e,n){ot.call(this,e,n)}function qk(e,n){ot.call(this,e,n)}function nQ(e,n){ot.call(this,e,n)}function tQ(e,n){this.a=e,this.b=n}function kCe(e,n){this.a=e,this.b=n}function ECe(e,n){this.a=e,this.b=n}function iQ(e,n){return po(e.g,n)}function mwn(e,n){return po(n.b,e)}function vwn(e,n){return-e.b.$e(n)}function zk(e,n){ot.call(this,e,n)}function sm(e,n){ot.call(this,e,n)}function M6(e,n){ot.call(this,e,n)}function C6(e,n){ot.call(this,e,n)}function Uk(e,n){ot.call(this,e,n)}function sM(e,n){ot.call(this,e,n)}function aL(e,n){ot.call(this,e,n)}function fM(e,n){ot.call(this,e,n)}function T6(e,n){ot.call(this,e,n)}function dL(e,n){ot.call(this,e,n)}function lM(e,n){ot.call(this,e,n)}function b2(e,n){ot.call(this,e,n)}function Xk(e,n){ot.call(this,e,n)}function S6(e,n){ot.call(this,e,n)}function I6(e,n){ot.call(this,e,n)}function bL(e,n){ot.call(this,e,n)}function Kk(e,n){ot.call(this,e,n)}function hM(e,n){ot.call(this,e,n)}function w2(e,n){ot.call(this,e,n)}function wL(e,n){ot.call(this,e,n)}function gL(e,n){ot.call(this,e,n)}function aM(e,n){ot.call(this,e,n)}function jCe(e,n){this.a=e,this.b=n}function xCe(e,n){this.a=e,this.b=n}function ACe(e,n){this.a=e,this.b=n}function be(e,n){this.a=e,this.b=n}function MCe(e,n){this.a=e,this.b=n}function CCe(e,n){this.a=e,this.b=n}function TCe(e,n){this.a=e,this.b=n}function Qr(e,n){this.a=e,this.b=n}function dM(e,n){ot.call(this,e,n)}function SCe(e,n){this.a=e,this.b=n}function ICe(e,n){this.a=e,this.b=n}function PCe(e,n){this.a=e,this.b=n}function OCe(e,n){this.a=e,this.b=n}function NCe(e,n){this.a=e,this.b=n}function $Ce(e,n){this.a=e,this.b=n}function DCe(e,n){this.b=e,this.a=n}function LCe(e,n){this.b=e,this.a=n}function _Ce(e,n){this.b=e,this.a=n}function FCe(e,n){this.b=e,this.a=n}function RCe(e,n){this.a=e,this.b=n}function BCe(e,n){this.a=e,this.b=n}function JCe(e,n){this.a=e,this.b=n}function GCe(e,n){this.a=e,this.b=n}function fm(e,n){ot.call(this,e,n)}function HCe(e,n){this.f=e,this.c=n}function qCe(){B_(),this.b=new Ji}function zCe(){MS(),this.a=new Ji}function UCe(){FM(),this.a=new sY}function bM(e,n){this.a=e,this.b=n}function XCe(e,n){this.a=e,this.b=n}function rQ(e,n){this.i=e,this.g=n}function cQ(e,n){this.d=e,this.e=n}function KCe(e,n){this.a=e,this.b=n}function WCe(e,n){this.a=e,this.b=n}function VCe(e,n){this.d=e,this.b=n}function QCe(e,n){this.e=e,this.a=n}function uQ(e,n){e.i=null,aT(e,n)}function ywn(e,n){e&&It(Ix,e,n)}function YCe(e,n){return vR(e.a,n)}function wM(e){return sE(e.c,e.b)}function dw(e){return typeof e===e3}function bw(e){return typeof e===oue}function mr(e){return typeof e===oJ}function Z(e){return e??null}function gM(e){return H6(e==null),e}function Lc(e){return e?e.kd():null}function ZCe(e){return qo(e),e.d.gc()}function M1(e,n){return e.Pd().Xb(n)}function pM(e,n){return K8n(e.Jc(),n)}function kwn(e,n){N9n(new Rn(e),n)}function Ewn(e,n,t){WGe(n,wB(e,t))}function jwn(e,n,t){WGe(n,wB(e,t))}function eTe(e,n){x9n(e.a,u(n,12))}function nTe(e,n){this.a=e,this.b=n}function Wk(e,n){this.b=e,this.c=n}function P6(e,n){return Su(e,n)==0}function mM(e,n){return Su(e,n)>=0}function O6(e,n){return Su(e,n)!=0}function oQ(e,n){return e.a+=""+n,e}function xwn(e){return""+(bn(e),e)}function tTe(e,n){e.q.setTime(Xd(n))}function N6(e,n){return e.a+=""+n,e}function ac(e,n){return e.a+=""+n,e}function $6(e,n){return e.a+=""+n,e}function Eu(e,n){return e.a+=""+n,e}function xt(e,n){return e.a+=""+n,e}function sQ(e){return en(e,0),null}function iTe(e){ou(this),wy(this,e)}function rTe(e,n){uZ.call(this,e,n)}function cTe(e,n){uZ.call(this,e,n)}function vM(e,n){uZ.call(this,e,n)}function uTe(){KZ(),vNe.call(this)}function oTe(){KZ(),vNe.call(this)}function sTe(){XZ(),eZ.call(this)}function fTe(){fTe=J,uon=lt(rRe())}function lTe(){lTe=J,rnn=lt(TR())}function hTe(){hTe=J,atn=lt(zze())}function aTe(){this.b=new cm(Bw(12))}function dTe(){this.b=0,this.a=!1}function bTe(){this.b=0,this.a=!1}function g2(e,n){ji(e,n,e.a,e.a.a)}function zr(e,n){ji(e,n,e.c.b,e.c)}function Ot(e,n){HA(),It(lN,e,n)}function qe(e,n){ai.call(this,e,n)}function pL(e,n){yw.call(this,e,n)}function p2(e,n){rQ.call(this,e,n)}function wTe(e,n){Zk.call(this,e,n)}function mL(e,n){Uv.call(this,e,n)}function D6(e){this.a=e,W$.call(this)}function gTe(e){this.a=e,W$.call(this)}function Qf(e){return e.a=0,e.b=0,e}function pTe(e,n){return e.a=n.g+1,e}function Awn(e,n){return e.j[n.p]==2}function vL(e,n){return tf(e.a,0,n)}function Mwn(e,n){return Qt(e.a,n.a)}function fQ(e,n){return ju(e.a,n.a)}function Cwn(e,n){return cOe(e.a,n.a)}function mTe(e,n){return Z(e)===Z(n)}function Kl(e,n){return e.indexOf(n)}function Twn(e){return st(e),new D6(e)}function vTe(e){return zu(e.l,e.m,e.h)}function lm(e){return Br((bn(e),e))}function Swn(e){return Br((bn(e),e))}function yTe(e,n){return ju(e.g,n.g)}function Ic(e){return typeof e===oue}function Iwn(e){return e==Lb||e==wg}function Pwn(e){return e==Lb||e==gg}function yM(e){return e<10?"0"+e:""+e}function lQ(e){return Rc(e.b.b,e,0)}function hQ(e,n){Fv(e,0,e.length,n)}function kTe(e,n){return me(e.a,n),n}function Own(e,n){return fs(),n.a+=e}function Nwn(e,n){return fs(),n.a+=e}function $wn(e,n){return fs(),n.c+=e}function Dwn(e,n){return me(e.c,n),e}function aQ(e,n){return ws(e.a,n),e}function ETe(e){this.a=RMe(),this.b=e}function jTe(e){this.a=RMe(),this.b=e}function Ur(e){this.a=e.a,this.b=e.b}function ph(){pW.call(this,new $1)}function xTe(){WM.call(this,0,0,0,0)}function hm(){Af.call(this,0,0,0,0)}function kM(e){return ws(new Li,e)}function ATe(e){return A_(u(e,125))}function Vo(e){return e.sh()&&e.th()}function m2(e){return e!=Jl&&e!=md}function Kh(e){return e==jc||e==Tc}function v2(e){return e==Xs||e==Rl}function MTe(e){return e==Mp||e==Ap}function Lwn(e,n){return Qt(n.f,e.f)}function _wn(e,n){return ju(e.g,n.g)}function CTe(e,n){return new Uv(n,e)}function Fwn(e,n){return new Uv(n,e)}function yL(e,n,t){iT(e,n),rT(e,t)}function z0(e,n,t){sb(e,n),ob(e,t)}function Is(e,n,t){Go(e,n),Ho(e,t)}function Vk(e,n,t){O2(e,n),N2(e,t)}function Qk(e,n,t){$2(e,n),D2(e,t)}function kL(e,n){e4(e,n),Gv(e,e.D)}function EL(e){HCe.call(this,e,!0)}function TTe(e,n,t){KQ.call(this,e,n,t)}function STe(){XA.call(this,"Head",1)}function ITe(){XA.call(this,"Tail",3)}function C1(e){ih(),Q8n.call(this,e)}function U0(e){WM.call(this,e,e,e,e)}function jL(e){e.c=ee(ir,ln,1,0,5,1)}function PTe(e){Tu(e.Qf(),new jW(e))}function y2(e){return e!=null?si(e):0}function Rwn(e,n){return Lw(n,ml(e))}function Bwn(e,n){return Lw(n,ml(e))}function Jwn(e,n){return e[e.length]=n}function Gwn(e,n){return e[e.length]=n}function Hwn(e,n){return fT(E_(e.f),n)}function qwn(e,n){return fT(E_(e.n),n)}function zwn(e,n){return fT(E_(e.p),n)}function dQ(e){return Ymn(e.b.Jc(),e.a)}function Uwn(e){return e==null?0:si(e)}function Tr(e,n){ai.call(this,e.b,n)}function Xwn(e,n){it(bu(e.a),c$e(n))}function Kwn(e,n){it(Jo(e.a),u$e(n))}function Wwn(e,n,t){Is(t,t.i+e,t.j+n)}function OTe(e,n,t){Ni(e.c[n.g],n.g,t)}function Vwn(e,n,t){u(e.c,72).Ei(n,t)}function xL(e,n,t){return Ni(e,n,t),t}function Qwn(e,n){$l||(e.b=n)}function bQ(){bQ=J,LW(),Xfe=new Wn}function NTe(){NTe=J,lU=new Cy(MX)}function gl(){gl=J,m.Math.log(2)}function Ps(){Ps=J,Hh=(NMe(),Iln)}function at(){at=J,new $Te,new ve}function $Te(){new Wn,new Wn,new Wn}function Ywn(){throw I(new Ta(RZe))}function Zwn(){throw I(new Ta(FZe))}function egn(){throw I(new Ta(FZe))}function ngn(){throw I(new Ta(RZe))}function L6(e){Bt(),B0.call(this,e)}function DTe(e){this.a=e,PY.call(this,e)}function AL(e){this.a=e,LA.call(this,e)}function ML(e){this.a=e,LA.call(this,e)}function ur(e,n){t_(e.c,e.c.length,n)}function _c(e){return e.a<e.c.c.length}function wQ(e){return e.a<e.c.a.length}function LTe(e,n){return e.a?e.b:n.Ue()}function ju(e,n){return e<n?-1:e>n?1:0}function gQ(e,n){return Su(e,n)>0?e:n}function zu(e,n,t){return{l:e,m:n,h:t}}function tgn(e,n){e.a!=null&&eTe(n,e.a)}function ign(e){Jr(e,null),xr(e,null)}function rgn(e,n,t){return It(e.g,t,n)}function cgn(e,n){st(n),M2(e).Ic(new ge)}function _Te(){YR(),this.a=new qy(Hle)}function EM(e){this.b=e,this.a=new ve}function FTe(e){this.b=new l$,this.a=e}function pQ(e){oY.call(this),this.a=e}function RTe(e){FZ.call(this),this.b=e}function BTe(){XA.call(this,"Range",2)}function jM(e){e.j=ee(ule,pe,325,0,0,1)}function JTe(e){e.a=new Oi,e.c=new Oi}function GTe(e){e.a=new Wn,e.e=new Wn}function HTe(e){G_(e,null),H_(e,null)}function ugn(e,n,t){return JLn(e,n,t),t}function ogn(e,n){return ls(),n.n.b+=e}function k2(e,n,t){return Jte(n,t,e.c)}function sgn(e,n,t){return It(e.k,t,n)}function fgn(e,n){return It(e.a,n.a,n)}function qTe(e,n){return HLn(e.a,n,null)}function mQ(e,n){return K(vn(e.i,n))}function vQ(e,n){return K(vn(e.j,n))}function _6(e,n){return ZDn(e.c,e.b,n)}function yQ(e){return new be(e.c,e.d)}function lgn(e){return new be(e.c,e.d)}function Xr(e){return new be(e.a,e.b)}function F(e,n){return e!=null&&OR(e,n)}function CL(e,n){return Skn(e.Jc(),n)!=-1}function xM(e){return e.Ob()?e.Pb():null}function hgn(e,n){return new dSe(e.Jc(),n)}function agn(e,n){e.q.setHours(n),Wy(e,n)}function dgn(e,n,t){e.c._c(n,u(t,136))}function bgn(e,n,t){e.c.Si(n,u(t,136))}function zTe(e,n){nt(e),e.Fc(u(n,16))}function kQ(e,n){return e.a.Ac(n)!=null}function UTe(e){return eh(e,0,e.length)}function XTe(){Zk.call(this,null,null)}function KTe(){IM.call(this,null,null)}function WTe(){ot.call(this,"INSTANCE",0)}function VTe(e){this.a=(tn(),new cv(e))}function wgn(e){this.b=(tn(),new uD(e))}function EQ(e){this.a=e,Wn.call(this)}function E2(){this.a=ee(ir,ln,1,8,5,1)}function ggn(e,n,t,i){Ni(e.a[n.g],t.g,i)}function TL(e,n,t){return e.a[n.g][t.g]}function pl(e,n){return e.a[n.c.p][n.p]}function pgn(e,n){return e.c[n.c.p][n.p]}function mgn(e,n){return e.e[n.c.p][n.p]}function vgn(e,n){return e.j[n.p]=xIn(n)}function ygn(e,n){return Cee(e.f,n.Og())}function kgn(e,n){return q(K(n.a))<=e}function Egn(e,n){return q(K(n.a))>=e}function SL(e,n){return e.a.Ac(n)!=null}function jgn(e,n){return e.a<JL(n)?-1:1}function am(e,n){return e.a*n.a+e.b*n.b}function xgn(e,n){return Cee(e.b,n.Og())}function Agn(e,n,t){return t?n!=0:n!=e-1}function QTe(e,n,t){e.a=n^1502,e.b=t^FJ}function Mgn(e,n,t){return e.a=n,e.b=t,e}function Wh(e,n){return e.a*=n,e.b*=n,e}function me(e,n){return jn(e.c,n),!0}function F6(e,n,t){return Ni(e.g,n,t),t}function YTe(e,n){e.c&&(JY(n),CNe(n))}function AM(e,n,t){Wi.call(this,e,n,t)}function Wi(e,n,t){a7.call(this,e,n,t)}function jQ(e,n,t){BM.call(this,e,n,t)}function ZTe(e,n,t){BM.call(this,e,n,t)}function eSe(e,n,t){jQ.call(this,e,n,t)}function go(e,n,t){Wi.call(this,e,n,t)}function nSe(e,n,t){AM.call(this,e,n,t)}function xQ(e,n,t){a7.call(this,e,n,t)}function j2(e,n,t){a7.call(this,e,n,t)}function tSe(e,n,t){xQ.call(this,e,n,t)}function T1(e){this.c=e,this.a=this.c.a}function Rn(e){this.i=e,this.f=this.i.j}function AQ(){this.Bb|=256,this.Bb|=512}function x2(e,n){this.a=e,LA.call(this,n)}function MQ(e,n){return rEn(e,new k1,n).a}function CQ(e){if(!e)throw I(new Mk)}function TQ(e){if(!e)throw I(new wo)}function SQ(){SQ=J,SQ(),gen=new Kn}function iSe(){iSe=J,DD(),chn=new Y8e}function gv(){gv=J,gle=new yD(null)}function Cgn(e){v7(e,hYe),kS(e,F_n(e))}function rSe(e){e.a=u(Mn(e.b.a,4),129)}function cSe(e){e.a=u(Mn(e.b.a,4),129)}function uSe(e){e.b.Qb(),--e.d.f.d,eC(e.d)}function IQ(e){this.a=e,ske.call(this,e.d)}function oSe(e,n){this.a=e,AD.call(this,n)}function sSe(e,n){this.a=e,AD.call(this,n)}function fSe(e,n){this.a=e,AD.call(this,n)}function PQ(e,n){this.a=n,AD.call(this,e)}function lSe(e,n){this.a=n,Y_.call(this,e)}function hSe(e,n){this.a=e,Y_.call(this,n)}function aSe(e,n){this.a=n,_A.call(this,e)}function dSe(e,n){this.a=n,_A.call(this,e)}function In(e,n){return st(n),new aSe(e,n)}function bSe(e,n){return new ZHe(e.a,e.b,n)}function MM(e,n){return e.lastIndexOf(n)}function OQ(e,n,t){return e.indexOf(n,t)}function R6(e){return e==null?co:Oc(e)}function Tgn(e){return e==null?null:e.name}function Sgn(e){return e.l+e.m*r3+e.h*s0}function Ign(e){return Tk(e.a)?o$e(e):null}function wSe(e){Z$.call(this,u(st(e),35))}function gSe(e){Z$.call(this,u(st(e),35))}function ef(e){Ek.call(this,(bn(e),e))}function ss(e){Ek.call(this,(bn(e),e))}function IL(e){pW.call(this,new Dee(e))}function CM(e){Z3.call(this,e),this.a=e}function NQ(e){s2.call(this,e),this.a=e}function $Q(e){cv.call(this,e),this.a=e}function DQ(e){aD.call(this),Gr(this,e)}function pSe(e){this.a=e,cD.call(this,e)}function mSe(){jM(this),gC(this),this.he()}function gn(){gn=J,id=!1,o5=!0}function Yk(e,n,t){return BF(e,n,n,t),e}function vSe(e,n){return me(n.b,e.a),e.a}function ySe(e,n){return me(n.a,e.a),e.a}function X0(e,n){return me(n.a,e.a),e.a}function Qo(e){return Hn(e.a!=null),e.a}function dm(e){return e.a!=null?e.a:null}function K0(e){return e.$H||(e.$H=++oRn)}function B6(e){return _c(e.a)||_c(e.b)}function Pgn(e,n){return Qt(e.c.d,n.c.d)}function Ogn(e,n){return Qt(e.c.c,n.c.c)}function Ngn(e,n){return Qt(e.n.a,n.n.a)}function Zu(e,n){return u(Xt(e.b,n),16)}function $gn(e,n){return e.n.b=(bn(n),n)}function Dgn(e,n){return e.n.b=(bn(n),n)}function po(e,n){return!!n&&e.b[n.g]==n}function Lgn(e,n){return Qt(e.e.b,n.e.b)}function _gn(e,n){return Qt(e.e.a,n.e.a)}function Fgn(e,n,t){return rDe(e,n,t,e.b)}function LQ(e,n,t){return rDe(e,n,t,e.c)}function Rgn(e){return fs(),!!e&&!e.dc()}function TM(e,n){return++e.b,me(e.a,n)}function _Q(e,n){return++e.b,no(e.a,n)}function FQ(e,n){Vte.call(this,e,n,null)}function SM(e,n){s_(),this.f=n,this.d=e}function Zk(e,n){v6(),this.a=e,this.b=n}function IM(e,n){$a(),this.b=e,this.c=n}function kSe(){w6(),this.b=new D7e(this)}function bm(e){this.d=e,Rn.call(this,e)}function wm(e){this.c=e,Rn.call(this,e)}function e7(e){this.c=e,bm.call(this,e)}function ESe(e,n,t,i){tZ.call(this,e,n,t,i)}function RQ(e,n,t){u(_7(e,n),22).Ec(t)}function Bgn(e,n,t){lR(e.a,t),YT(e.a,n)}function Jgn(e,n){return o_(e.c).Kd().Xb(n)}function PL(e,n){return new AIe(e,e.gc(),n)}function Ggn(e){return new Ow(3,e)}function mh(e){return bs(e,rg),new Fu(e)}function Hgn(e){return SA(),ft((RNe(),XZe),e)}function jSe(e){return Nv(),parseInt(e)||-1}function pv(e,n,t){return OQ(e,io(n),t)}function mv(e,n,t){var i;i=e.dd(n),i.Rb(t)}function Da(e){var n;n=e.a,e.a=e.b,e.b=n}function BQ(e,n){Aee(n,e),this.c=e,this.b=n}function qgn(e,n){return BF(e,n,n+1,""),e}function vv(e){return Hn(e.b!=0),e.a.a.c}function jf(e){return Hn(e.b!=0),e.c.b.c}function PM(){PM=J,cP=new ai(YWe,0)}function xSe(e){return e.b=u(NZ(e.a),45)}function zgn(e){return e.f!=null?e.f:""+e.g}function OL(e){return e.f!=null?e.f:""+e.g}function ASe(e){e.d=new SSe(e),e.e=new Wn}function MSe(e){if(!e)throw I(new Ss)}function JQ(e){if(!e)throw I(new Mk)}function ww(e){if(!e)throw I(new wo)}function Ugn(e){if(!e)throw I(new lD)}function Hn(e){if(!e)throw I(new $c)}function CSe(e){FA(),this.b=e,this.a=!0}function NL(e){fw(),this.b=e,this.a=!0}function TSe(e){cJ(),Vje(this),this.Df(e)}function SSe(e){OY.call(this,e,null,null)}function ISe(e){this.c=e,this.a=1,this.b=1}function Xgn(e){return ca(),e.e.b+e.f.b/2}function Kgn(e){return ca(),e.e.a+e.f.a/2}function Wgn(e,n,t){return ca(),t.e.a-e*n}function Vgn(e,n,t){return ca(),t.e.b-e*n}function Qgn(e,n,t){return RA(),t.Lg(e,n)}function Ygn(e,n){return z1(),Qe(e,n.e,n)}function Zgn(e,n,t){return me(n,WBe(e,t))}function gw(e,n){return u(El(e.a,n),35)}function Ht(e,n){return!!e.q&&Au(e.q,n)}function e2n(e,n){return e>0?n*n/e:n*n*100}function n2n(e,n){return e>0?n/(e*e):n*100}function GQ(e,n){return e.a=n.a,e.b=n.b,e}function OM(e){return e.a=-e.a,e.b=-e.b,e}function PSe(e,n,t){return e.a-=n,e.b-=t,e}function pw(e,n,t){return e.a+=n,e.b+=t,e}function t2n(e,n,t){zC(),e.nf(n)&&t.Ad(e)}function OSe(e){this.c=e,Go(e,0),Ho(e,0)}function NSe(e){ni.call(this),ay(this,e)}function $Se(){ot.call(this,"GROW_TREE",0)}function Yo(e,n,t){vo.call(this,e,n,t,2)}function DSe(e,n){v6(),Zk.call(this,e,n)}function HQ(e,n){$a(),IM.call(this,e,n)}function LSe(e,n){$a(),IM.call(this,e,n)}function _Se(e,n){$a(),HQ.call(this,e,n)}function i2n(e,n){return e.c.Ec(u(n,136))}function r2n(e,n){return u(vn(e.e,n),26)}function c2n(e,n){return u(vn(e.e,n),26)}function u2n(e,n,t){Ay(Jo(e.a),n,u$e(t))}function o2n(e,n,t){Ay(bu(e.a),n,c$e(t))}function $L(e,n){Ps(),YM.call(this,e,n)}function qQ(e,n){Ps(),YM.call(this,e,n)}function FSe(e,n){Ps(),YM.call(this,e,n)}function RSe(e,n){Ps(),$L.call(this,e,n)}function zQ(e,n){Ps(),$L.call(this,e,n)}function BSe(e,n){Ps(),zQ.call(this,e,n)}function JSe(e,n){Ps(),qQ.call(this,e,n)}function UQ(e,n,t){return _S(F7(e,n),t)}function s2n(e,n,t){return n.xl(e.e,e.c,t)}function f2n(e,n,t){return n.yl(e.e,e.c,t)}function DL(e,n){return J1(e.e,u(n,52))}function GSe(e,n){return bn(e),e+JL(n)}function l2n(e){return e==null?null:Oc(e)}function h2n(e){return e==null?null:Oc(e)}function a2n(e){return e==null?null:S_n(e)}function d2n(e){return e==null?null:$Cn(e)}function Vh(e){e.o==null&&ZSn(e)}function Te(e){return H6(e==null||dw(e)),e}function K(e){return H6(e==null||bw(e)),e}function dt(e){return H6(e==null||mr(e)),e}function n7(e){F(e,161)&&u(e,161).mi()}function XQ(){yFe.call(this),this.Bb|=Yr}function b2n(e,n){this.d=e,Nke(this),this.b=n}function t7(e,n){this.c=e,lv.call(this,e,n)}function J6(e,n){this.a=e,t7.call(this,e,n)}function KQ(e,n,t){HC.call(this,e,n,t,null)}function HSe(e,n,t){HC.call(this,e,n,t,null)}function WQ(e,n){lF.call(this,e),this.a=n}function VQ(e,n){lF.call(this,e),this.a=n}function w2n(e,n){return BR(e,n),new DOe(e,n)}function g2n(e,n,t){return e.Le(n,t)<=0?t:n}function p2n(e,n,t){return e.Le(n,t)<=0?n:t}function qSe(e){return bn(e),e?1231:1237}function m2n(e,n){n.a?ySn(e,n):SL(e.a,n.b)}function zSe(e,n){$l||me(e.a,n)}function v2n(e,n){return $k(),zv(n.d.i,e)}function y2n(e,n){return Lm(),new _Ue(n,e)}function k2n(e,n){return u(El(e.b,n),144)}function E2n(e,n){return u(El(e.c,n),233)}function LL(e){return u(Ce(e.a,e.b),295)}function USe(e){return new be(e.c,e.d+e.a)}function XSe(e){return ls(),MTe(u(e,203))}function QQ(e,n){return u(vn(e.b,n),278)}function Wl(e,n){return v7(n,Mue),e.f=n,e}function YQ(e,n,t){return t=ms(e,n,3,t),t}function ZQ(e,n,t){return t=ms(e,n,6,t),t}function eY(e,n,t){return t=ms(e,n,9,t),t}function i7(e,n,t){++e.j,e.rj(),fF(e,n,t)}function KSe(e,n,t){++e.j,e.oj(n,e.Xi(n,t))}function WSe(e,n,t){var i;i=e.dd(n),i.Rb(t)}function VSe(e,n){this.c=e,ub.call(this,n)}function QSe(e,n){this.a=e,qje.call(this,n)}function r7(e,n){this.a=e,qje.call(this,n)}function nY(e){this.q=new m.Date(Xd(e))}function YSe(){this.a=new ib,this.b=new ib}function yv(){yv=J,Ox=new Mxe,new Cxe}function A2(){A2=J,Sp=new Vt("root")}function mw(){mw=J,jle=Je((rs(),I0))}function c7(e){e.b?c7(e.b):e.f.c.yc(e.e,e.d)}function _L(e){this.a=(tn(),new rD(st(e)))}function ZSe(e){this.a=(bs(e,rg),new Fu(e))}function eIe(e){this.a=(bs(e,rg),new Fu(e))}function j2n(e){return e==null?null:e.message}function FL(e){return String.fromCharCode(e)}function x2n(e){return wt(Rd(e,32))^wt(e)}function tY(e,n){return(n&_t)%e.d.length}function nIe(e,n,t){return Bce(e.c,e.b,n,t)}function A2n(e,n,t){return e.apply(n,t)}function iY(e,n,t){return Em(e,u(n,24),t)}function tIe(e,n,t){return e.a+=eh(n,0,t),e}function rY(e,n){var t;return t=e.e,e.e=n,t}function cY(e,n){var t;return t=n,!!e.De(t)}function M2n(e,n){var t;t=e[_J],t.call(e,n)}function C2n(e,n){var t;t=e[_J],t.call(e,n)}function vw(e,n){e.a._c(e.b,n),++e.b,e.c=-1}function iIe(e){ou(e.e),e.d.b=e.d,e.d.a=e.d}function T2n(e,n,t){Nd(),Ike(e,n.Te(e.a,t))}function Dd(e,n){return gn(),e==n?0:e?1:-1}function xf(e,n){return PA(new Array(n),e)}function ai(e,n){Vt.call(this,e),this.a=n}function uY(e,n){PW.call(this,e),this.a=n}function RL(e,n){PW.call(this,e),this.a=n}function rIe(){NM.call(this),this.a=new Cr}function oY(){this.n=new Cr,this.o=new Cr}function cIe(){this.b=new Cr,this.c=new ve}function uIe(){this.a=new ve,this.b=new ve}function oIe(){this.a=new Wx,this.b=new ixe}function sY(){this.b=new $1,this.a=new $1}function sIe(){this.b=new Ji,this.a=new Ji}function fIe(){this.a=new ve,this.d=new ve}function lIe(){this.b=new Wn,this.a=new Wn}function hIe(){this.b=new LAe,this.a=new b4e}function aIe(){this.a=new w8e,this.b=new ive}function NM(){this.n=new Yp,this.i=new hm}function u7(e){return!e.a&&(e.a=new Ln),e.a}function zt(e,n){return e.a+=n.a,e.b+=n.b,e}function fr(e,n){return e.a-=n.a,e.b-=n.b,e}function S2n(e){return iw(e.j.c,0),e.a=-1,e}function fY(e,n,t){return t=ms(e,n,11,t),t}function dIe(e,n,t){t!=null&&lT(n,HR(e,t))}function bIe(e,n,t){t!=null&&hT(n,HR(e,t))}function gm(e,n,t,i){se.call(this,e,n,t,i)}function lY(e,n,t,i){WM.call(this,e,n,t,i)}function hY(e,n,t,i){se.call(this,e,n,t,i)}function wIe(e,n,t,i){hY.call(this,e,n,t,i)}function gIe(e,n,t,i){cC.call(this,e,n,t,i)}function BL(e,n,t,i){cC.call(this,e,n,t,i)}function pIe(e,n,t,i){BL.call(this,e,n,t,i)}function aY(e,n,t,i){cC.call(this,e,n,t,i)}function hn(e,n,t,i){aY.call(this,e,n,t,i)}function dY(e,n,t,i){BL.call(this,e,n,t,i)}function mIe(e,n,t,i){dY.call(this,e,n,t,i)}function vIe(e,n,t,i){oZ.call(this,e,n,t,i)}function yw(e,n){Lu.call(this,A9+e+d0+n)}function I2n(e,n){Kh(e.f)?zSn(e,n):_Mn(e,n)}function bY(e,n){return e.hk().ti().oi(e,n)}function wY(e,n){return e.hk().ti().qi(e,n)}function P2n(e,n){return e.n.a=(bn(n),n+10)}function O2n(e,n){return e.n.a=(bn(n),n+10)}function N2n(e,n){return e.e=u(e.d.Kb(n),162)}function $2n(e,n){return n==e||b4(yS(n),e)}function gY(e,n,t){return e.lastIndexOf(n,t)}function We(e,n){return bn(e),Z(e)===Z(n)}function yIe(e,n){return bn(e),Z(e)===Z(n)}function kIe(e,n){return It(e.a,n,"")==null}function D2n(e,n){return e.b.zd(new GMe(e,n))}function L2n(e,n){return e.b.zd(new HMe(e,n))}function EIe(e,n){return e.b.zd(new qMe(e,n))}function _2n(e,n){return ie(n,(ye(),Gj),e)}function F2n(e,n,t){return Qt(e[n.a],e[t.a])}function R2n(e,n){return ju(e.a.d.p,n.a.d.p)}function B2n(e,n){return ju(n.a.d.p,e.a.d.p)}function J2n(e,n){return $k(),!zv(n.d.i,e)}function G2n(e,n){$l||n&&(e.d=n)}function jIe(e,n){t3n.call(this,e,e.length,n)}function xIe(e){this.c=e,vM.call(this,qE,0)}function AIe(e,n,t){this.a=e,BQ.call(this,n,t)}function pY(e,n){this.c=e,g_.call(this,e,n)}function MIe(e,n,t){this.c=n,this.b=t,this.a=e}function o7(e){jv(),this.d=e,this.a=new E2}function H2n(e){return e<100?null:new E1(e)}function CIe(e){return e.c?Rc(e.c.a,e,0):-1}function q2n(e,n){return Qt(e.c.e.a,n.c.e.a)}function z2n(e,n){return Qt(e.b.e.a,n.b.e.a)}function U2n(e,n){return Qt(e.c-e.s,n.c-n.s)}function X2n(e,n,t){return u(e.c,72).Uk(n,t)}function $M(e,n,t){return u(e.c,72).Vk(n,t)}function K2n(e,n,t){return s2n(e,u(n,344),t)}function mY(e,n,t){return f2n(e,u(n,344),t)}function W2n(e,n,t){return cHe(e,u(n,344),t)}function TIe(e,n,t){return WMn(e,u(n,344),t)}function SIe(e,n){return F(n,16)&&pUe(e.c,n)}function G6(e,n){return n==null?null:Gw(e.b,n)}function pm(e){return e==S0||e==Jh||e==yu}function JL(e){return bw(e)?(bn(e),e):e.se()}function DM(e){return!isNaN(e)&&!isFinite(e)}function GL(e){JTe(this),es(this),Gr(this,e)}function Co(e){jL(this),NY(this.c,0,e.Nc())}function Os(e,n,t){this.a=e,this.b=n,this.c=t}function IIe(e,n,t){this.a=e,this.b=n,this.c=t}function PIe(e,n,t){this.d=e,this.b=t,this.a=n}function OIe(e){this.a=e,Na(),tu(Date.now())}function kv(e){if(!e)throw I(new gc(sue))}function vY(e,n){if(!e)throw I(new xn(n))}function HL(e,n){if(e!=n)throw I(new Ss)}function qL(){qL=J,wle=new gr,ben=new Ki}function zL(e){var n;return n=new QN,n.e=e,n}function V2n(e,n){var t;return t=n.ni(e.a),t}function Q2n(e,n,t){return Nd(),e.a.Wd(n,t),n}function NIe(e){Fo(e.a),Oee(e.c,e.b),e.b=null}function Y2n(e){return GS(),ft((lTe(),rnn),e)}function Z2n(e){return to(),ft((oLe(),Den),e)}function epn(e){return So(),ft((uLe(),Nen),e)}function npn(e){return Rv(),ft((ULe(),pen),e)}function tpn(e){return Fs(),ft((fLe(),jen),e)}function ipn(e){return il(),ft((sLe(),Pen),e)}function rpn(e){return lb(),ft((WLe(),unn),e)}function cpn(e){return YC(),ft(($De(),wnn),e)}function upn(e){return sy(),ft((lLe(),Jnn),e)}function opn(e){return dr(),ft((P_e(),znn),e)}function spn(e){return Wv(),ft((VLe(),Vnn),e)}function fpn(e){return Hm(),ft((KLe(),ttn),e)}function lpn(e){return pn(),ft((tRe(),utn),e)}function yY(e){WM.call(this,e.d,e.c,e.a,e.b)}function UL(e){WM.call(this,e.d,e.c,e.a,e.b)}function kY(e,n,t){this.b=e,this.c=n,this.a=t}function LM(e,n,t){this.b=e,this.a=n,this.c=t}function $Ie(e,n,t){this.a=e,this.b=n,this.c=t}function DIe(e,n,t){this.a=e,this.b=n,this.c=t}function EY(e,n,t){this.a=e,this.b=n,this.c=t}function LIe(e,n,t){this.b=e,this.a=n,this.c=t}function _M(e,n,t){this.e=n,this.b=e,this.d=t}function jY(e){var n;return n=new fxe,n.b=e,n}function s7(){s7=J,hP=new Tpe,aP=new Spe}function FM(){FM=J,ptn=new rme,gtn=new ume}function fs(){fs=J,Etn=new d3e,jtn=new b3e}function _Ie(){_Ie=J,Dln=ee(ir,ln,1,0,5,1)}function FIe(){FIe=J,Zln=ee(ir,ln,1,0,5,1)}function xY(){xY=J,ehn=ee(ir,ln,1,0,5,1)}function hpn(e){return qv(),ft((DDe(),htn),e)}function apn(e){return kr(),ft((hTe(),atn),e)}function dpn(e){return xT(),ft((XLe(),wtn),e)}function bpn(e){return Pf(),ft((e_e(),Mtn),e)}function wpn(e){return Xw(),ft((N_e(),Ttn),e)}function gpn(e){return qC(),ft((vDe(),Ltn),e)}function ppn(e){return Xm(),ft((rFe(),Dtn),e)}function mpn(e){return Ty(),ft((QLe(),_tn),e)}function vpn(e){return uT(),ft((ALe(),Ftn),e)}function ypn(e){return ME(),ft((gRe(),Rtn),e)}function kpn(e){return G7(),ft((yDe(),Btn),e)}function Epn(e){return Yd(),ft((MLe(),Gtn),e)}function jpn(e){return fb(),ft((bLe(),Ntn),e)}function xpn(e){return mE(),ft((uFe(),ztn),e)}function Apn(e){return dS(),ft((cFe(),Htn),e)}function Mpn(e){return D7(),ft((mDe(),qtn),e)}function Cpn(e){return g4(),ft((oFe(),Utn),e)}function Tpn(e){return cc(),ft((PRe(),Xtn),e)}function Spn(e){return Xv(),ft((hLe(),Ktn),e)}function Ipn(e){return F1(),ft((aLe(),Wtn),e)}function Ppn(e){return ra(),ft((dLe(),Qtn),e)}function Opn(e){return PC(),ft((kDe(),Ytn),e)}function Npn(e){return TS(),ft((iRe(),$tn),e)}function $pn(e){return ts(),ft((__e(),ein),e)}function Dpn(e){return LC(),ft((EDe(),nin),e)}function Lpn(e){return TE(),ft((pRe(),qcn),e)}function _pn(e){return ky(),ft((vLe(),zcn),e)}function Fpn(e){return Uw(),ft((YLe(),Ucn),e)}function Rpn(e){return Py(),ft((O_e(),Xcn),e)}function Bpn(e){return K1(),ft((IRe(),Kcn),e)}function Jpn(e){return la(),ft((ZLe(),Wcn),e)}function Gpn(e){return R7(),ft((jDe(),Vcn),e)}function Hpn(e){return rc(),ft((pLe(),Ycn),e)}function qpn(e){return yT(),ft((gLe(),Zcn),e)}function zpn(e){return vy(),ft((wLe(),eun),e)}function Upn(e){return Zv(),ft((mLe(),nun),e)}function Xpn(e){return cT(),ft((yLe(),tun),e)}function Kpn(e){return ET(),ft((kLe(),iun),e)}function Wpn(e){return n0(),ft((n_e(),Eun),e)}function Vpn(e){return cy(),ft((xDe(),Cun),e)}function Qpn(e){return Vl(),ft((ADe(),$un),e)}function Ypn(e){return vl(),ft((MDe(),Lun),e)}function Zpn(e){return el(),ft((CDe(),Qun),e)}function emn(e){return rb(),ft((TDe(),ron),e)}function nmn(e){return Um(),ft((r_e(),con),e)}function tmn(e){return Xy(),ft((fTe(),uon),e)}function imn(e){return my(),ft((ELe(),oon),e)}function rmn(e){return yy(),ft((i_e(),Ion),e)}function cmn(e){return TC(),ft((SDe(),Pon),e)}function umn(e){return wT(),ft((IDe(),Lon),e)}function omn(e){return sS(),ft(($_e(),Fon),e)}function smn(e){return nE(),ft((jLe(),Bon),e)}function fmn(e){return UC(),ft((PDe(),Ron),e)}function lmn(e){return eS(),ft((t_e(),usn),e)}function hmn(e){return kT(),ft((TLe(),osn),e)}function amn(e){return JT(),ft((CLe(),ssn),e)}function dmn(e){return lS(),ft((c_e(),lsn),e)}function bmn(e){return DT(),ft((xLe(),dsn),e)}function wmn(e){return FC(),ft((ODe(),Dsn),e)}function gmn(e){return XC(),ft((ILe(),Lsn),e)}function pmn(e){return PT(),ft((SLe(),_sn),e)}function mmn(e){return GA(),ft((Z$e(),Hsn),e)}function vmn(e){return cE(),ft((PLe(),Bsn),e)}function ymn(e){return JA(),ft((Y$e(),Jsn),e)}function kmn(e){return I7(),ft((NDe(),qsn),e)}function Emn(e){return yE(),ft((L_e(),zsn),e)}function jmn(e){return Hy(),ft((D_e(),Rsn),e)}function xmn(e){return g6(),ft((eDe(),ofn),e)}function Amn(e){return W7(),ft((LDe(),sfn),e)}function Mmn(e){return th(),ft((F_e(),bfn),e)}function Cmn(e){return c0(),ft((eRe(),gfn),e)}function Tmn(e){return Mh(),ft((sFe(),pfn),e)}function Smn(e){return r0(),ft((hFe(),jfn),e)}function Imn(e){return Vi(),ft((R_e(),Wfn),e)}function Pmn(e){return n4(),ft((u_e(),Vfn),e)}function Omn(e){return jl(),ft((OLe(),Qfn),e)}function Nmn(e){return fa(),ft((o_e(),Yfn),e)}function $mn(e){return hS(),ft((aFe(),Zfn),e)}function Dmn(e){return sa(),ft((NLe(),nln),e)}function Lmn(e){return gs(),ft((s_e(),iln),e)}function _mn(e){return Qw(),ft((bRe(),rln),e)}function Fmn(e){return B2(),ft((J_e(),cln),e)}function Rmn(e){return yr(),ft((fFe(),uln),e)}function Bmn(e){return Io(),ft((lFe(),oln),e)}function Jmn(e){return ke(),ft((B_e(),sln),e)}function Gmn(e){return ly(),ft(($Le(),dln),e)}function Hmn(e){return rs(),ft((l_e(),bln),e)}function qmn(e){return Uo(),ft((wRe(),wln),e)}function zmn(e){return Bm(),ft((DLe(),gln),e)}function Umn(e){return DC(),ft((f_e(),pln),e)}function Xmn(e){return _T(),ft((h_e(),mln),e)}function Kmn(e){return MT(),ft((a_e(),kln),e)}function Wmn(e,n){return bn(e),e+(bn(n),n)}function XL(e,n){this.c=e,this.a=n,this.b=n-e}function RIe(e,n,t){this.a=e,this.c=n,this.b=t}function BIe(e,n,t){this.a=e,this.c=n,this.b=t}function JIe(e,n,t){this.a=e,this.b=n,this.c=t}function AY(e,n,t){this.a=e,this.b=n,this.c=t}function MY(e,n,t){this.a=e,this.b=n,this.c=t}function KL(e,n,t){this.a=e,this.b=n,this.c=t}function GIe(e,n,t){this.a=e,this.b=n,this.c=t}function HIe(e,n,t){this.a=e,this.b=n,this.c=t}function La(e,n,t){this.e=e,this.a=n,this.c=t}function qIe(e,n,t){Ps(),JZ.call(this,e,n,t)}function WL(e,n,t){Ps(),kZ.call(this,e,n,t)}function CY(e,n,t){Ps(),kZ.call(this,e,n,t)}function TY(e,n,t){Ps(),kZ.call(this,e,n,t)}function zIe(e,n,t){Ps(),WL.call(this,e,n,t)}function SY(e,n,t){Ps(),WL.call(this,e,n,t)}function UIe(e,n,t){Ps(),SY.call(this,e,n,t)}function XIe(e,n,t){Ps(),CY.call(this,e,n,t)}function KIe(e,n,t){Ps(),TY.call(this,e,n,t)}function Vmn(e){return m4(),ft((nRe(),$ln),e)}function f7(e,n){return st(e),st(n),new ZAe(e,n)}function mm(e,n){return st(e),st(n),new oPe(e,n)}function Qmn(e,n){return st(e),st(n),new sPe(e,n)}function Ymn(e,n){return st(e),st(n),new lMe(e,n)}function IY(e,n){Hbn.call(this,e,$T(new Uc(n)))}function WIe(e,n){this.c=e,this.b=n,this.a=!1}function PY(e){this.d=e,Nke(this),this.b=q3n(e.d)}function OY(e,n,t){this.c=e,UA.call(this,n,t)}function Zmn(e){return!e.c&&(e.c=new Y3),e.c}function e3n(e){return!e.e&&(e.e=new ve),e.e}function Ev(e){var n;return n=new ve,kF(n,e),n}function n3n(e){var n;return n=new Ji,kF(n,e),n}function VIe(e){var n;return n=new aD,$F(n,e),n}function l7(e){var n;return n=new ni,$F(n,e),n}function u(e,n){return H6(e==null||OR(e,n)),e}function t3n(e,n,t){QPe.call(this,n,t),this.a=e}function QIe(e,n,t){this.b=e,rTe.call(this,n,t)}function NY(e,n,t){Are(t,0,e,n,t.length,!1)}function h7(e,n){if(!e)throw I(new xn(n))}function vm(e,n){if(!e)throw I(new gc(n))}function $Y(e,n){if(!e)throw I(new nAe(n))}function i3n(e,n){n&&(e.b=n,e.a=(I1(n),n.a))}function vh(e,n,t,i,r){e.b=n,e.c=t,e.d=i,e.a=r}function DY(e,n,t,i,r){e.d=n,e.c=t,e.a=i,e.b=r}function LY(e){var n,t;t=e.d,n=e.a,e.d=n,e.a=t}function _Y(e){var n,t;n=e.b,t=e.c,e.b=t,e.c=n}function r3n(e){return Hn(e.b!=0),Ds(e,e.c.b)}function VL(e){return Hn(e.b!=0),Ds(e,e.a.a)}function c3n(e,n){return ca(),Qt(e.e.a,n.e.a)}function u3n(e,n){return ca(),Qt(e.e.b,n.e.b)}function o3n(e,n){return BA(),ju(e.d.p,n.d.p)}function s3n(e,n){return ju(dPe(e.d),dPe(n.d))}function RM(e,n){return n&&hC(e,n.d)?n:null}function f3n(e,n){return n==(ke(),Tn)?e.c:e.d}function jv(){jv=J,Cde=(ke(),Tn),vO=$n}function YIe(){this.b=q(K(Ae(($f(),vq))))}function ZIe(){this.a=";,;",this.b="",this.c=""}function FY(e,n,t){wv.call(this,e,n),this.b=t}function a7(e,n,t){cQ.call(this,e,n),this.c=t}function RY(e){xY(),aA.call(this),this._h(e)}function ePe(e,n,t){this.a=e,p2.call(this,n,t)}function nPe(e,n,t){this.a=e,p2.call(this,n,t)}function BM(e,n,t){cQ.call(this,e,n),this.c=t}function tPe(){Lv(),Avn.call(this,(x1(),pf))}function iPe(e){return Bt(),new yh(0,e)}function rPe(){rPe=J,HX=(tn(),new rD(LH))}function l3n(e){return new be(e.c+e.b,e.d+e.a)}function cPe(e){return e!=null&&!gR(e,U8,X8)}function h3n(e,n){return($Be(e)<<4|$Be(n))&Qi}function a3n(e,n){var t;return t=e.c,bne(e,n),t}function BY(e,n){return n<0?e.g=-1:e.g=n,e}function JM(e,n){return i8n(e),e.a*=n,e.b*=n,e}function uPe(e,n,t,i,r){e.c=n,e.d=t,e.b=i,e.a=r}function At(e,n){return ji(e,n,e.c.b,e.c),!0}function JY(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function QL(e){this.b=e,this.a=Fd(this.b.a).Md()}function oPe(e,n){this.b=e,this.a=n,W$.call(this)}function sPe(e,n){this.a=e,this.b=n,W$.call(this)}function fPe(e,n){QPe.call(this,n,1040),this.a=e}function lPe(e){BQ.call(this,e.length,0),this.a=e}function H6(e){if(!e)throw I(new rv(null))}function GM(e){var n;return n=e.slice(),dF(n,e)}function HM(e){var n;return n=e.n,e.a.b+n.d+n.a}function hPe(e){var n;return n=e.n,e.e.b+n.d+n.a}function GY(e){var n;return n=e.n,e.e.a+n.b+n.c}function d3n(e){return e.a?e.a:I_(e)}function W0(e,n){return Dy(e,new wv(n.a,n.b))}function b3n(e){return!_r(e)&&e.c.i.c==e.d.i.c}function w3n(e,n){return e.c<n.c?-1:e.c==n.c?0:1}function aPe(e){return e.b.c.length-e.e.c.length}function dPe(e){return e.e.c.length-e.g.c.length}function YL(e){return e.e.c.length+e.g.c.length}function d7(e){return e==0||isNaN(e)?e:e<0?-1:1}function bPe(e){return $m(),ee(jO,EI,40,e,0,1)}function g3n(e,n,t){return It(e.b,u(t.b,17),n)}function p3n(e,n,t){return It(e.b,u(t.b,17),n)}function m3n(e,n,t){return ca(),t.e.b+t.f.b+e*n}function v3n(e,n,t){return ca(),t.e.a+t.f.a+e*n}function y3n(e){return ls(),(ke(),Qu).Gc(e.j)}function k3n(e,n){return me(e,new be(n.a,n.b))}function xv(e,n,t){var i;i=new Mw(t),Tf(e,n,i)}function HY(e,n,t){var i;return i=e[n],e[n]=t,i}function qM(e,n){var t;return++e.j,t=e.Aj(n),t}function kt(e,n,t){return e.a=-1,RQ(e,n.g,t),e}function qY(e,n,t,i){zte.call(this,e,n,t,i,0,0)}function zM(e,n){Wk.call(this,e,n),this.a=this}function wPe(e){xY(),RY.call(this,e),this.a=-1}function gPe(){gL.call(this,"COUNT_CHILDREN",0)}function zY(){vh(this,!1,!1,!1,!1)}function pPe(){pPe=J,nle=ee(Zi,pe,15,256,0,1)}function UM(){UM=J,new Zte((mD(),KH),(vD(),XH))}function E3n(e){e.a.jd(),u(e.a.kd(),18).gc(),tV()}function mPe(e){return e.e.Pd().gc()*e.c.Pd().gc()}function ZL(e,n,t){return new MIe(Ivn(e).Ze(),t,n)}function XM(){XM=J,QH=new z_((tn(),tn(),Zr))}function e_(){e_=J,qfe=new PV((tn(),tn(),nP))}function vPe(){vPe=J,Yfe=ee(a3,pe,221,256,0,1)}function yPe(){yPe=J,ele=ee(D9,pe,180,128,0,1)}function kPe(){kPe=J,tle=ee($b,pe,190,256,0,1)}function EPe(){EPe=J,cle=ee(Db,pe,191,256,0,1)}function j3n(e,n){wne(e,n==null?null:(bn(n),n))}function x3n(e,n){mne(e,n==null?null:(bn(n),n))}function A3n(e,n){mne(e,n==null?null:(bn(n),n))}function yi(e,n){var t;return t=v_(e,n),t.i=2,t}function jPe(e,n){return e.a+=eh(n,0,n.length),e}function Ce(e,n){return en(n,e.c.length),e.c[n]}function xPe(e,n){return en(n,e.a.length),e.a[n]}function M3n(e,n){var t;for(t=0;t<n;++t)e[t]=-1}function C3n(e,n){return bn(e),z7(e,(bn(n),n))}function T3n(e,n){return bn(n),z7(n,(bn(e),e))}function APe(e){return e.q?e.q:(tn(),tn(),$h)}function KM(e){for(st(e);e.Ob();)e.Pb(),e.Qb()}function UY(e){if(e.c.e!=e.a)throw I(new Ss)}function XY(e){if(e.e.c!=e.b)throw I(new Ss)}function MPe(e){this.c=e,this.a=new rm(this.c.a)}function CPe(e){this.a=e,this.c=new Wn,Dkn(this)}function KY(e){this.c=e,this.b=this.c.d.vc().Jc()}function kw(e){this.a=new cm(e.gc()),Gr(this,e)}function WY(e){pW.call(this,new $1),Gr(this,e)}function Ve(e,n){Nd(),lF.call(this,e),this.a=n}function WM(e,n,t,i){DY(this,e,n,t,i)}function Ew(e,n,t,i,r,c){return VGe(e,n,t,i,r,0,c)}function S3n(e,n,t){return ju(n.d[e.g],t.d[e.g])}function I3n(e,n,t){return ju(e.d[n.p],e.d[t.p])}function P3n(e,n,t){return ju(e.d[n.p],e.d[t.p])}function O3n(e,n,t){return ju(e.d[n.p],e.d[t.p])}function N3n(e,n,t){return ju(e.d[n.p],e.d[t.p])}function VM(e,n,t){return m.Math.min(t/e,1/n)}function TPe(e,n){return e?0:m.Math.max(0,n-1)}function SPe(e){return e.c-u(Ce(e.a,e.b),295).b}function n_(e,n){return e==null?n==null:We(e,n)}function $3n(e,n){return e==null?n==null:HT(e,n)}function QM(e,n){return Bt(),new aZ(e,n)}function yh(e,n){Bt(),B0.call(this,e),this.a=n}function YM(e,n){Ps(),kA.call(this,n),this.a=e}function ZM(e){ub.call(this,e.gc()),Ii(this,e)}function q6(e,n,t){this.a=e,Wi.call(this,n,t,2)}function IPe(e){this.b=new ni,this.a=e,this.c=-1}function Zo(e){return e.c?e.c.f:e.e.b}function mo(e){return e.c?e.c.g:e.e.a}function wt(e){return Ic(e)?e|0:NAe(e)}function PPe(e){var n;return n=QGe(e),n?PPe(n):e}function D3n(e,n){return e.a==null&&AUe(e),e.a[n]}function L3n(e,n){return!e&&(e=[]),e[e.length]=n,e}function ci(e,n){var t;return t=Je(e),qne(t,n),t}function OPe(e,n,t){var i;for(i=0;i<n;++i)e[i]=t}function Ld(e,n,t){Iw(n,e.c.length),k6(e.c,n,t)}function t_(e,n,t){rBe(0,n,e.length),Fv(e,0,n,t)}function i_(e,n){return F(n,24)&&po(e,u(n,24))}function NPe(e,n){return F(n,24)&&Y9n(e,u(n,24))}function pc(e,n){return fBe(e,n,vyn(e,e.b.Ae(n)))}function _3n(e,n){return e.a.get(n)!==void 0}function VY(e){return Array.isArray(e)&&e.Rm===Vn}function r_(e){return zo(e,26)*i9+zo(e,27)*r9}function F3n(e,n){c_(e,fr(new be(n.a,n.b),e.c))}function c_(e,n){zt(e.c,n),e.b.c+=n.a,e.b.d+=n.b}function eC(e){e.b?eC(e.b):e.d.dc()&&e.f.c.Ac(e.e)}function nC(e,n,t){var i;e&&(i=e.i,i.c=n,i.b=t)}function tC(e,n,t){var i;e&&(i=e.i,i.d=n,i.a=t)}function R3n(e,n,t){return-ju(e.f[n.p],e.f[t.p])}function B3n(e,n,t){return Hi(e,new um(n.a,t.a))}function J3n(e,n,t){hze(t,e,1),me(n,new YMe(t,e))}function G3n(e,n,t){$y(t,e,1),me(n,new rCe(t,e))}function QY(e,n,t){return t=ms(e,u(n,52),7,t),t}function YY(e,n,t){return t=ms(e,u(n,52),3,t),t}function xu(e,n,t){return e.a=-1,RQ(e,n.g+1,t),e}function $Pe(e,n,t){this.a=e,AM.call(this,n,t,22)}function DPe(e,n,t){this.a=e,AM.call(this,n,t,14)}function LPe(e,n,t,i){Ps(),S$e.call(this,e,n,t,i)}function _Pe(e,n,t,i){Ps(),S$e.call(this,e,n,t,i)}function H3n(e,n){(n.Bb&cu)!=0&&!e.a.o&&(e.a.o=n)}function u_(e,n){this.b=new ni,this.a=e,this.c=n}function FPe(){this.b=new y$,this.c=new gNe(this)}function ZY(){this.d=new WN,this.e=new wNe(this)}function RPe(){ls(),this.k=new Wn,this.d=new Ji}function eZ(){XZ(),this.g=new ni,this.f=new ni}function _d(e){A1(),this.a=0,this.b=e-1,this.c=1}function BPe(e){return Bt(),new L_(10,e,0)}function JPe(e){var n;return n=e.f,n||(e.f=e.Cc())}function ym(e){var n;return n=e.i,n||(e.i=e.bc())}function iC(e){if(e.e.j!=e.d)throw I(new Ss)}function Fd(e){return e.c?e.c:e.c=e.Qd()}function o_(e){return e.d?e.d:e.d=e.Rd()}function z6(e,n){return cjn(F7(e,n))?n.wi():null}function q3n(e){return F(e,16)?u(e,16).cd():e.Jc()}function nZ(e){return e.Oc(ee(ir,ln,1,e.gc(),5,1))}function GPe(){GPe=J,zZe=new lPe(ee(ir,ln,1,0,5,1))}function s_(){s_=J,jln=new Tr((jt(),Ko),0)}function HPe(){gL.call(this,"LOOKAHEAD_LAYOUT",1)}function qPe(e){jM(this),this.g=e,gC(this),this.he()}function tZ(e,n,t,i){this.a=e,HC.call(this,e,n,t,i)}function An(e){this.a=(GPe(),zZe),this.d=u(st(e),50)}function kh(e,n){return _1(OHe(Ic(e)?rf(e):e,n))}function V0(e,n){return _1($re(Ic(e)?rf(e):e,n))}function Rd(e,n){return _1(HCn(Ic(e)?rf(e):e,n))}function z3n(e,n){return Dd((bn(e),e),(bn(n),n))}function f_(e,n){return Qt((bn(e),e),(bn(n),n))}function zPe(e,n){return st(n),e.a.Hd(n)&&!e.b.Hd(n)}function U3n(e,n){return zu(e.l&n.l,e.m&n.m,e.h&n.h)}function X3n(e,n){return zu(e.l|n.l,e.m|n.m,e.h|n.h)}function K3n(e,n){return zu(e.l^n.l,e.m^n.m,e.h^n.h)}function UPe(e){return e!=null&&a_(e)&&e.Rm!==Vn}function iZ(e){return!Array.isArray(e)&&e.Rm===Vn}function jw(e,n){return rE(e,(bn(n),new Bke(n)))}function km(e,n){return rE(e,(bn(n),new Jke(n)))}function XPe(e){return yo(),u(e,12).e.c.length!=0}function KPe(e){return yo(),u(e,12).g.c.length!=0}function W3n(e,n){return Lm(),Qt(n.a.o.a,e.a.o.a)}function U6(e){return Ic(e)?""+e:gUe(e)}function Av(e,n){if(e<0||e>=n)throw I(new pxe)}function V3n(e,n,t){e.a.Mb(t)&&(e.b=!0,n.Ad(t))}function rZ(e){e.d||(e.d=e.b.Jc(),e.c=e.b.gc())}function Q3n(e){return e.e?See(e.e):null}function WPe(e,n,t){return rWe(e,u(n,12),u(t,12))}function Y3n(e,n,t){n.of(t,q(K(vn(e.b,t)))*e.a)}function VPe(e,n,t){return k4(),RF(e,n)&&RF(e,t)}function Z3n(e,n){n.Tg("General 'Rotator",1),w_n(e)}function _a(e,n,t,i){var r;r=e.i,r.i=n,r.a=t,r.b=i}function cZ(e){var n;for(n=e;n.f;)n=n.f;return n}function uZ(e,n){this.e=e,this.d=(n&64)!=0?n|ch:n}function QPe(e,n){this.c=0,this.d=e,this.b=n|64|ch}function rC(e){this.b=new Fu(11),this.a=(nb(),e)}function l_(e){this.b=null,this.a=(nb(),e||dle)}function YPe(e){this.a=KJe(e.a),this.b=new Co(e.b)}function ZPe(e){this.b=e,bm.call(this,e),rSe(this)}function eOe(e){this.b=e,e7.call(this,e),cSe(this)}function xw(e,n,t){this.a=e,gm.call(this,n,t,5,6)}function hr(e,n,t,i,r){aF.call(this,e,n,t,i,r,-1)}function X6(e,n,t,i,r){O7.call(this,e,n,t,i,r,-1)}function se(e,n,t,i){Wi.call(this,e,n,t),this.b=i}function cC(e,n,t,i){a7.call(this,e,n,t),this.b=i}function nOe(e){HCe.call(this,e,!1),this.a=!1}function tOe(){gL.call(this,"LAYOUT_NEXT_LEVEL",3)}function oZ(e,n,t,i){this.b=e,Wi.call(this,n,t,i)}function iOe(e,n){this.b=e,ske.call(this,e.b),this.a=n}function Mv(e,n){var t;return t=e.a.gc(),Aee(n,t),t-n}function h_(e,n){return n.Sh()?J1(e.b,u(n,52)):n}function evn(e,n){return We(e.substr(0,n.length),n)}function Eh(e){return new An(new PQ(e.a.length,e.a))}function uC(e){return new be(e.c+e.b/2,e.d+e.a/2)}function nvn(e){return zu(~e.l&Xo,~e.m&Xo,~e.h&da)}function a_(e){return typeof e===BE||typeof e===sJ}function Au(e,n){return mr(n)?$_(e,n):!!pc(e.f,n)}function oC(e,n){return Bt(),new jZ(e,n,0)}function d_(e,n){return Bt(),new jZ(6,e,n)}function Or(e,n){for(bn(n);e.Ob();)n.Ad(e.Pb())}function Bd(e,n,t){ih(),this.e=e,this.d=n,this.a=t}function W(e,n,t,i){rBe(n,t,e.length),tvn(e,n,t,i)}function Em(e,n,t){return If(e.a,n),HY(e.b,n.g,t)}function Hi(e,n){var t;return t=e.a.yc(n,e),t==null}function sZ(e,n){var t;for(t=0;t<n;++t)e[t]=!1}function tvn(e,n,t,i){var r;for(r=n;r<t;++r)e[r]=i}function fZ(e,n,t){this.c=e,this.a=n,tn(),this.b=t}function ivn(e,n,t){Av(t,e.a.c.length),as(e.a,t,n)}function b7(e,n){return e.a.yc(n,(gn(),id))==null}function rvn(e,n){return e>0?m.Math.log(e/n):-100}function b_(e){return new Ve(null,fvn(e,e.length))}function ou(e){e.f=new ETe(e),e.i=new jTe(e),++e.g}function rOe(e){if(!e)throw I(new $c);return e.d}function lZ(e,n){if(e==null)throw I(new nm(n))}function hZ(e,n){return n?Gr(e,n):!1}function K6(e){return Io(),!e.Gc(Ea)&&!e.Gc(vd)}function W6(e){ww(e.b!=-1),Ra(e.c,e.a=e.b),e.b=-1}function Yf(e,n,t){return r7n(e,n.g,t),If(e.c,n),e}function cvn(e,n,t){y_n(e.a,e.b,e.d,e.c,u(n,170),t)}function w7(e,n){zTe(e,F(n,163)?n:u(n,2001).Pl())}function uvn(e){return Q2(e,(Vi(),jc)),e.d=!0,e}function w_(e){return!e.j&&A0n(e,bNn(e.g,e.b)),e.j}function jm(e){var n;return n=py(e),Hn(n!=null),n}function ovn(e){var n;return n=H7n(e),Hn(n!=null),n}function svn(e,n,t){var i;return i=Dw(e,n),V_(e,n,t),i}function g_(e,n){this.d=e,Rn.call(this,e),this.e=n}function aZ(e,n){B0.call(this,1),this.a=e,this.b=n}function cOe(e,n){return Su(e,n)<0?-1:Su(e,n)>0?1:0}function fvn(e,n){return Q9n(n,e.length),new fPe(e,n)}function V6(e){return e.e==0?e:new Bd(-e.e,e.d,e.a)}function lvn(e){return e==xi?kj:e==lr?"-INF":""+e}function hvn(e){return e==xi?kj:e==lr?"-INF":""+e}function avn(e,n){return Qt(e.c.c+e.c.b,n.c.c+n.c.b)}function sC(e,n){ji(e.d,n,e.b.b,e.b),++e.a,e.c=null}function uOe(e,n){return e.c?uOe(e.c,n):me(e.b,n),e}function Q0(e,n){Si(_u(e.Mc(),new L3e),new U7e(n))}function Cv(e,n,t,i,r){rB(e,u(Xt(n.k,t),16),t,i,r)}function oOe(e,n,t,i,r){for(;n<t;)i[r++]=Dr(e,n++)}function sOe(e,n,t){var i;for(i=0;i<n;++i)Ni(e,i,t)}function fC(e){e.s=NaN,e.c=NaN,eze(e,e.e),eze(e,e.j)}function fOe(e){e.a=null,e.e=null,ou(e.b),e.d=0,++e.c}function p_(e){return m.Math.abs(e.d.e-e.e.e)-e.a}function dvn(e,n){return Qt(e.e.a+e.f.a,n.e.a+n.f.a)}function bvn(e,n){return Qt(e.e.b+e.f.b,n.e.b+n.f.b)}function wvn(e,n,t){return u(e.c.fd(n,u(t,136)),45)}function gvn(){return SA(),$(N(UZe,1),ae,538,0,[VH])}function lOe(){lOe=J,YZe=new cW(!1),ZZe=new cW(!0)}function S1(){S1=J,mn=ZTn(),nn(),Kg&&dAn()}function Un(e){return(e.i==null&&rh(e),e.i).length}function pvn(e,n){xm(e,new Mw(n.f!=null?n.f:""+n.g))}function mvn(e,n){xm(e,new Mw(n.f!=null?n.f:""+n.g))}function Ii(e,n){return e.Qi()&&(n=HNe(e,n)),e.Di(n)}function m_(e,n){return n=e.Wk(null,n),dHe(e,null,n)}function hOe(e,n,t){return Bt(),new b$e(e,n,t)}function vvn(e,n){++e.j,iB(e,e.i,n),eSn(e,u(n,344))}function g(e,n,t){var i;return i=v_(e,n),gFe(t,i),i}function v_(e,n){var t;return t=new Jne,t.j=e,t.d=n,t}function st(e){if(e==null)throw I(new Vp);return e}function aOe(e){FZ.call(this),this.a=e,me(e.a,this)}function dOe(){$1.call(this),this.a=!0,this.b=!0}function Aw(e){this.d=(bn(e),e),this.a=0,this.c=qE}function y_(e,n){this.d=U7n(e),this.c=n,this.a=.5*n}function bOe(e,n){return u(Fd(e.a).Kd().Xb(n),45).jd()}function Q6(e){var n;return n=e.g,n||(e.g=new tW(e))}function lC(e){var n;return n=e.k,n||(e.k=new iW(e))}function dZ(e){var n;return n=e.k,n||(e.k=new iW(e))}function yvn(e){var n;return n=e.i,n||(e.i=new rke(e))}function k_(e){var n;return n=e.j,n||(e.j=new Ake(e))}function wOe(e){var n;return n=e.f,n||(e.f=new IQ(e))}function E_(e){var n;return n=e.d,n||(e.d=new eD(e))}function bZ(e){return F(e,607)?e:new NNe(e)}function gOe(e,n){return M7(n,e.c.b.c.gc()),new YAe(e,n)}function wZ(e,n){return Pn(n,e.length+1),e.substr(n)}function Ni(e,n,t){return Ugn(t==null||YNn(e,t)),e[n]=t}function gZ(e,n){var t;return t=e.a.gc(),M7(n,t),t-1-n}function pOe(e,n){var t;t=console[e],t.call(console,n)}function vn(e,n){return mr(n)?Mu(e,n):Lc(pc(e.f,n))}function pZ(e){e?Bie(e,(Na(),ren)):E4n((Na(),e))}function mOe(e){LW(),this.b=new ve,this.a=e,vLn(this,e)}function vOe(e){this.b=new ve,this.a=new ve,this.c=e}function au(e){this.c=new Cr,this.a=new ve,this.b=e}function mZ(e){this.d=e,this.c=e.a.d.a,this.b=e.a.e.g}function vZ(e){this.b=e,this.a=u(nf(this.b.a.e),227)}function yZ(e){for(;e.a.b!=0;)ZLn(e,u(TNe(e.a),9))}function j_(e,n){for(bn(n);e.c<e.d;)e.Qe(n,e.c++)}function kvn(e,n){return Lm(),u(dc(e,n.d),16).Ec(n)}function Evn(e,n){return u(j(n,(ye(),Mg)),15).a<e}function jvn(e,n,t,i){return t==0||(t-i)/t<e.e||n>=e.g}function x_(e,n,t){var i;return i=OF(e,n,t),ace(e,i)}function xm(e,n){var t;t=e.a.length,Dw(e,t),V_(e,t,n)}function yOe(e,n){var t;++e.j,t=e.Cj(),e.pj(e.Xi(t,n))}function xvn(e,n,t){u(n.b,68),Tu(n.a,new AY(e,t,n))}function kZ(e,n,t){kA.call(this,n),this.a=e,this.b=t}function EZ(e,n,t){this.a=e,PW.call(this,n),this.b=t}function kOe(e,n,t){this.a=e,uee.call(this,8,n,null,t)}function Avn(e){this.a=(bn(Et),Et),this.b=e,new UW}function EOe(e){this.c=e,this.a=new ni,this.b=new ni}function jZ(e,n,t){B0.call(this,e),this.a=n,this.b=t}function Mw(e){if(e==null)throw I(new Vp);this.a=e}function Mvn(e){return!e.a&&(e.a=new Wi(yd,e,4)),e.a}function Y0(e){return!e.d&&(e.d=new Wi(hc,e,1)),e.d}function Tv(e,n){return e.a+=String.fromCharCode(n),e}function Jd(e,n){return e.a+=String.fromCharCode(n),e}function nf(e){if(e==null)throw I(new Vp);return e}function Cvn(e){return Vg?$_(Vg,e):!1}function jOe(e){return e?e.dc():!e.Jc().Ob()}function xOe(e){return nf(e),F(e,472)?u(e,472):Oc(e)}function AOe(e){return F(e,103)&&(u(e,19).Bb&cu)!=0}function Y6(e){return m.Math.sqrt(e.a*e.a+e.b*e.b)}function hC(e,n){return WR(e.c,e.f,n,e.b,e.a,e.e,e.d)}function Z0(e,n){return Av(n,e.a.c.length),Ce(e.a,n)}function Qh(e,n){return Z(e)===Z(n)||e!=null&&qt(e,n)}function Tvn(e,n){c_(u(n.b,68),e),Tu(n.a,new xW(e))}function I1(e){e.c?I1(e.c):(G1(e),e.d=!0)}function Z6(e){e.c?e.c.Ye():(e.d=!0,cPn(e))}function MOe(e){IZ(e.a),e.b=ee(ir,ln,1,e.b.length,5,1)}function Fo(e){ww(e.c!=-1),e.d.ed(e.c),e.b=e.c,e.c=-1}function COe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function TOe(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function Li(){Rxe.call(this),iw(this.j.c,0),this.a=-1}function SOe(){ot.call(this,"DELAUNAY_TRIANGULATION",0)}function Svn(e,n){var t;t=e.Fh(n),t>=0?e.hi(t):gre(e,n)}function IOe(e){var n,t;return n=e.c.i.c,t=e.d.i.c,n==t}function ar(e){return!e.a&&e.c?e.c.b:e.a}function Ivn(e){return 0>=e?new EV:j8n(e-1)}function bn(e){if(e==null)throw I(new Vp);return e}function Pvn(e){if(e.p!=6)throw I(new wo);return e.f}function Ovn(e){if(e.p!=6)throw I(new wo);return e.k}function Nvn(e){if(e.p!=3)throw I(new wo);return e.e}function $vn(e){if(e.p!=4)throw I(new wo);return e.e}function Dvn(e){if(e.p!=4)throw I(new wo);return e.j}function Lvn(e){if(e.p!=3)throw I(new wo);return e.j}function xZ(e){return!e.b&&(e.b=new vA(new pD)),e.b}function eb(e){return e.c==-2&&m0n(e,YMn(e.g,e.b)),e.c}function Sv(e,n){var t;return t=v_("",e),t.n=n,t.i=1,t}function aC(e,n,t,i){H0.call(this,e,t),this.a=n,this.f=i}function AZ(e,n,t,i){H0.call(this,e,n),this.d=t,this.a=i}function POe(e,n){this.b=e,g_.call(this,e,n),rSe(this)}function OOe(e,n){this.b=e,pY.call(this,e,n),cSe(this)}function NOe(){Xie.call(this,sf,(sv(),Ege)),aDn(this)}function $Oe(){Xie.call(this,w0,(EAe(),shn)),rLn(this)}function DOe(e,n){wgn.call(this,x8n(st(e),st(n))),this.a=n}function MZ(e,n){e.c<0||e.b.b<e.c?zr(e.b,n):e.a.vf(n)}function _vn(e,n){it((!e.a&&(e.a=new r7(e,e)),e.a),n)}function Dr(e,n){return Pn(n,e.length),e.charCodeAt(n)}function Fvn(e,n){return ju(n.j.c.length,e.j.c.length)}function It(e,n,t){return mr(n)?mc(e,n,t):ro(e.f,n,t)}function CZ(e){return tn(),e?e.Me():(nb(),nb(),ble)}function Rvn(e){return bs(e,aJ),ZC(Kr(Kr(5,e),e/10|0))}function Bvn(e,n,t){return Fm(),t.Kg(e,u(n.jd(),147))}function LOe(e,n){return UM(),new Zte(new gSe(e),new wSe(n))}function du(e,n){return Z(e)===Z(n)||e!=null&&qt(e,n)}function dc(e,n){return i_(e.a,n)?e.b[u(n,24).g]:null}function Jvn(e){return String.fromCharCode.apply(null,e)}function _Oe(e){return!e.d&&(e.d=new Z3(e.c.Bc())),e.d}function Iv(e){return!e.a&&(e.a=new sAe(e.c.vc())),e.a}function FOe(e){return!e.b&&(e.b=new cv(e.c.ec())),e.b}function g7(e){return e.j.c.length=0,IZ(e.c),S2n(e.a),e}function ROe(e,n){var t;return t=new au(e),jn(n.c,t),t}function A_(e){return!e.n&&(e.n=new se(zc,e,1,7)),e.n}function Gvn(e){return!e.b&&(e.b=new hn(Yn,e,4,7)),e.b}function TZ(e){return!e.c&&(e.c=new hn(Yn,e,5,8)),e.c}function SZ(e){return!e.c&&(e.c=new se(Wo,e,9,9)),e.c}function $t(e,n,t,i){return ZFe(e,n,t,!1),IT(e,i),e}function jh(e,n){for(;n-- >0;)e=e<<1|(e<0?1:0);return e}function BOe(e,n){e.u.Gc((Io(),Ea))&&KTn(e,n),Hyn(e,n)}function JOe(e,n){Ete(e,q(ua(n,"x")),q(ua(n,"y")))}function GOe(e,n){Ete(e,q(ua(n,"x")),q(ua(n,"y")))}function Hvn(){return g6(),$(N(Sbe,1),ae,528,0,[ux])}function qvn(){return GA(),$(N(Gsn,1),ae,547,0,[ZU])}function zvn(){return JA(),$(N(sbe,1),ae,477,0,[YU])}function M_(){M_=J,WZe=new IV($(N(g0,1),HS,45,0,[]))}function Uvn(e){return e!=null&&d6(hN,e.toLowerCase())}function Xvn(e,n){return new dNe(u(st(e),51),u(st(n),51))}function Kvn(e,n,t){var i;i=u(e.d.Kb(t),162),i&&i.Nb(n)}function IZ(e){var n;for(n=e.Jc();n.Ob();)n.Pb(),n.Qb()}function M2(e){var n;return n=e.b,!n&&(e.b=n=new ike(e)),n}function Pv(e){return e.e==r5&&E0n(e,ajn(e.g,e.b)),e.e}function p7(e){return e.f==r5&&x0n(e,nAn(e.g,e.b)),e.f}function ey(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function PZ(e,n){this.b=e,this.c=n,this.a=new rm(this.b)}function C_(e,n,t){this.a=bue,this.d=e,this.b=n,this.c=t}function HOe(e,n){this.d=(bn(e),e),this.a=16449,this.c=n}function Wvn(e,n){return Qt(e.d.c+e.d.b/2,n.d.c+n.d.b/2)}function Vvn(e,n){return Qt(e.g.c+e.g.b/2,n.g.c+n.g.b/2)}function Qvn(e,n){return AV(),Qt((bn(e),e),(bn(n),n))}function Ft(e,n){return G1(e),new Ve(e,new Hee(n,e.a))}function _u(e,n){return G1(e),new Ve(e,new Tee(n,e.a))}function Cw(e,n){return G1(e),new WQ(e,new eLe(n,e.a))}function dC(e,n){return G1(e),new VQ(e,new nLe(n,e.a))}function Yvn(e,n,t){uDn(e.a,t),xkn(t),PSn(e.b,t),CDn(n,t)}function bC(e,n,t,i){this.a=e,this.c=n,this.b=t,this.d=i}function OZ(e,n,t,i){this.c=e,this.b=n,this.a=t,this.d=i}function qOe(e,n,t,i){this.c=e,this.b=n,this.d=t,this.a=i}function wC(e,n,t,i){this.a=e,this.e=n,this.d=t,this.c=i}function zOe(e,n,t,i){this.a=e,this.d=n,this.c=t,this.b=i}function Af(e,n,t,i){this.c=e,this.d=n,this.b=t,this.a=i}function Am(e,n,t,i){ot.call(this,e,n),this.a=t,this.b=i}function UOe(e,n,t,i){URe.call(this,e,t,i,!1),this.f=n}function T_(e,n,t){var i,r;return i=nue(e),r=n.qi(t,i),r}function Yh(e){var n,t;return t=(n=new J0,n),Jv(t,e),t}function S_(e){var n,t;return t=(n=new J0,n),Vie(t,e),t}function XOe(e){return!e.b&&(e.b=new se(Xi,e,12,3)),e.b}function I_(e){var n;return n=M8n(e),n||null}function Zvn(e){fs();var n;n=u(e.g,9),n.n.a=e.d.c+n.d.b}function KOe(e){this.a=new ve,this.e=ee(bt,pe,54,e,0,2)}function P_(e){this.f=e,this.c=this.f.e,e.f>0&&HGe(this)}function WOe(e,n,t,i){this.a=e,this.c=n,this.d=t,this.b=i}function VOe(e,n,t,i){this.a=e,this.b=n,this.d=t,this.c=i}function QOe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function YOe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function Gd(e,n,t,i){this.e=e,this.a=n,this.c=t,this.d=i}function ZOe(e,n,t,i){Ps(),WDe.call(this,n,t,i),this.a=e}function eNe(e,n,t,i){Ps(),WDe.call(this,n,t,i),this.a=e}function nNe(e,n){this.a=e,b2n.call(this,e,u(e.d,16).dd(n))}function e4n(e,n){return Qt(mo(e)*Zo(e),mo(n)*Zo(n))}function n4n(e,n){return Qt(mo(e)*Zo(e),mo(n)*Zo(n))}function Mm(e){var n;return n=e.f,n||(e.f=new lv(e,e.c))}function tn(){tn=J,Zr=new rn,$h=new Fn,nP=new dn}function nb(){nb=J,dle=new Nn,cq=new Nn,ble=new qn}function Ov(e){if(qo(e.d),e.d.d!=e.c)throw I(new Ss)}function NZ(e){return Hn(e.b<e.d.gc()),e.d.Xb(e.c=e.b++)}function es(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function $Z(e,n){return e.b=n.b,e.c=n.c,e.d=n.d,e.a=n.a,e}function t4n(e,n,t){return me(e.a,(BR(n,t),new H0(n,t))),e}function tNe(e){return H6(e==null||a_(e)&&e.Rm!==Vn),e}function gC(e){return e.n&&(e.e!==mWe&&e.he(),e.j=null),e}function i4n(e){return e.length>0?Cf(e):new ve}function r4n(e,n){return u(j(e,(fe(),j3)),16).Ec(n),n}function c4n(e,n){return Qe(e,u(j(n,(ye(),Mg)),15),n)}function u4n(e){return mb(e)&&Se(Te(he(e,(ye(),k0))))}function o4n(e,n,t){return w6(),bEn(u(vn(e.e,n),517),t)}function s4n(e,n,t){e.i=0,e.e=0,n!=t&&HRe(e,n,t)}function f4n(e,n,t){e.i=0,e.e=0,n!=t&&qRe(e,n,t)}function iNe(e,n,t,i){this.b=e,this.c=i,vM.call(this,n,t)}function rNe(e,n){this.g=e,this.d=$(N(Lh,1),Ya,9,0,[n])}function cNe(e,n){e.d&&!e.d.a&&(Kje(e.d,n),cNe(e.d,n))}function uNe(e,n){e.e&&!e.e.a&&(Kje(e.e,n),uNe(e.e,n))}function oNe(e,n){return R2(e.j,n.s,n.c)+R2(n.e,e.s,e.c)}function l4n(e){return u(e.jd(),147).Og()+":"+Oc(e.kd())}function h4n(e,n){return-Qt(mo(e)*Zo(e),mo(n)*Zo(n))}function a4n(e,n){return ns(e),ns(n),eAe(u(e,24),u(n,24))}function Hd(e,n,t){var i,r;i=JL(t),r=new bA(i),Tf(e,n,r)}function DZ(e,n){new ni,this.a=new _o,this.b=e,this.c=n}function sNe(e){this.b=new ve,er(this.b,this.b),this.a=e}function fNe(e){this.b=new kve,this.a=e,m.Math.random()}function lNe(){lB(this,new ZK),this.wb=(S1(),mn),sv()}function hNe(){Dc.call(this,"There is no more element.")}function aNe(e,n,t,i){cQ.call(this,n,t),this.b=e,this.a=i}function O_(e,n,t,i,r,c){O7.call(this,e,n,t,i,r,c?-2:-1)}function pC(e){return!e.a&&(e.a=new se(mt,e,10,11)),e.a}function Wt(e){return!e.q&&(e.q=new se(gf,e,11,10)),e.q}function oe(e){return!e.s&&(e.s=new se(ho,e,21,17)),e.s}function mC(e,n){if(e==null)throw I(new nm(n));return e}function dNe(e,n){W0n.call(this,new l_(e)),this.a=e,this.b=n}function LZ(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function d4n(e){IA(),m.setTimeout(function(){throw e},0)}function b4n(e){return st(e),cGe(new An(In(e.a.Jc(),new X)))}function vC(e){return tn(),F(e,59)?new TD(e):new CM(e)}function N_(e){return F(e,18)?new kw(u(e,18)):n3n(e.Jc())}function w4n(e){return new oSe(e,e.e.Pd().gc()*e.c.Pd().gc())}function g4n(e){return new sSe(e,e.e.Pd().gc()*e.c.Pd().gc())}function _Z(e){return e&&e.hashCode?e.hashCode():K0(e)}function $_(e,n){return n==null?!!pc(e.f,null):_3n(e.i,n)}function p4n(e,n){var t;return t=kQ(e.a,n),t&&(n.d=null),t}function bNe(e,n,t){return e.f?e.f.cf(n,t):!1}function m7(e,n,t,i){Ni(e.c[n.g],t.g,i),Ni(e.c[t.g],n.g,i)}function D_(e,n,t,i){Ni(e.c[n.g],n.g,t),Ni(e.b[n.g],n.g,i)}function m4n(e){e.Tg("No crossing minimization",1),e.Ug()}function wNe(e){this.c=e,this.b=new Oa(u(st(new KN),51))}function gNe(e){this.c=e,this.b=new Oa(u(st(new v$),51))}function pNe(e){this.b=e,this.a=new Oa(u(st(new f$),51))}function mNe(){this.b=new Ji,this.d=new ni,this.e=new AA}function vNe(){this.d=new ni,this.b=new Wn,this.c=new ve}function FZ(){this.c=new Cr,this.d=new Cr,this.e=new Cr}function tb(){this.a=new _o,this.b=(bs(3,rg),new Fu(3))}function yC(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function yNe(e,n,t,i,r,c){this.a=e,CF.call(this,n,t,i,r,c)}function kNe(e,n,t,i,r,c){this.a=e,CF.call(this,n,t,i,r,c)}function Fa(e,n){this.e=e,this.a=ir,this.b=NUe(n),this.c=n}function ENe(e,n){return F(n,147)&&We(e.b,u(n,147).Og())}function v4n(e,n){return e.a?n.Dh().Jc():u(n.Dh(),72).Gi()}function y4n(e,n,t){return q(K(t.a))<=e&&q(K(t.b))>=n}function k4n(e,n,t){return t>=0&&We(e.substr(t,n.length),n)}function P1(e,n,t,i,r,c,o){return new eF(e.e,n,t,i,r,c,o)}function tf(e,n,t){return Sr(n,t,e.length),e.substr(n,t-n)}function kC(e,n){var t;return t=Od(e.Pm),n==null?t:t+": "+n}function jNe(e,n){var t;return t=e.b.Oc(n),dDe(t,e.b.gc()),t}function v7(e,n){if(e==null)throw I(new nm(n));return e}function Mc(e){return e.u||(Ro(e),e.u=new QSe(e,e)),e.u}function eo(e){var n;return n=u(Mn(e,16),29),n||e.fi()}function E4n(e){e&&kC(e,e.ge())}function RZ(){RZ=J,Men=new bo,Ten=new ZY,Cen=new XN}function Nv(){Nv=J;var e,n;n=!WEn(),e=new Ye,eq=n?new Xe:e}function j4n(){return qC(),$(N(Ghe,1),ae,422,0,[Jhe,zq])}function x4n(){return G7(),$(N(Qhe,1),ae,419,0,[LP,Vhe])}function A4n(){return D7(),$(N(eae,1),ae,476,0,[Zhe,FP])}function M4n(){return PC(),$(N(bae,1),ae,420,0,[az,dae])}function C4n(){return LC(),$(N(Tae,1),ae,423,0,[Ez,kz])}function T4n(){return R7(),$(N(bde,1),ae,421,0,[tU,iU])}function S4n(){return cy(),$(N(Mun,1),ae,519,0,[w8,b8])}function I4n(){return Vl(),$(N(Nun,1),ae,510,0,[zb,u1])}function P4n(){return vl(),$(N(Dun,1),ae,509,0,[M0,Ll])}function O4n(){return el(),$(N(Vun,1),ae,516,0,[$g,ad])}function N4n(){return rb(),$(N(ion,1),ae,454,0,[dd,Cp])}function $4n(){return TC(),$(N(f0e,1),ae,425,0,[AU,s0e])}function D4n(){return wT(),$(N(l0e,1),ae,487,0,[TO,Ip])}function L4n(){return UC(),$(N(a0e,1),ae,426,0,[h0e,PU])}function _4n(){return FC(),$(N(nbe,1),ae,478,0,[KU,ebe])}function F4n(){return I7(),$(N(fbe,1),ae,428,0,[eX,RO])}function R4n(){return YC(),$(N(Cle,1),ae,424,0,[pq,uP])}function B4n(){return qv(),$(N(ltn,1),ae,503,0,[Sj,Iq])}function J4n(){return W7(),$(N(Pbe,1),ae,427,0,[JO,Ibe])}function EC(e,n,t,i){return t>=0?e.Rh(n,t,i):e.zh(null,t,i)}function y7(e){return e.b.b==0?e.a.uf():VL(e.b)}function G4n(e){if(e.p!=5)throw I(new wo);return wt(e.f)}function H4n(e){if(e.p!=5)throw I(new wo);return wt(e.k)}function BZ(e){return Z(e.a)===Z((LF(),BX))&&YDn(e),e.a}function xNe(e,n){u0n(this,new be(e.a,e.b)),o0n(this,l7(n))}function ANe(e,n){NM.call(this),Qee(this),this.a=e,this.c=n}function JZ(e,n,t){Ps(),kA.call(this,n),this.a=e,this.b=t}function L_(e,n,t){Bt(),B0.call(this,e),this.b=n,this.a=t}function ib(){V0n.call(this,new cm(Bw(12))),CQ(!0),this.a=2}function MNe(){gL.call(this,"FIXED_INTEGER_RATIO_BOXES",2)}function rb(){rb=J,dd=new WV(c3,0),Cp=new WV(u3,1)}function Vl(){Vl=J,zb=new UV(u3,0),u1=new UV(c3,1)}function q4n(e,n){e.c=n,e.c>0&&e.b>0&&(e.g=VM(e.c,e.b,e.a))}function z4n(e,n){e.b=n,e.c>0&&e.b>0&&(e.g=VM(e.c,e.b,e.a))}function CNe(e){var n;n=e.c.d.b,e.b=n,e.a=e.c.d,n.a=e.c.d.b=e}function k7(e){var n;g8n(e.a),PTe(e.a),n=new jk(e.a),pR(n)}function Mu(e,n){return n==null?Lc(pc(e.f,null)):y6(e.i,n)}function TNe(e){return e.b==0?null:(Hn(e.b!=0),Ds(e,e.a.a))}function Br(e){return Math.max(Math.min(e,_t),-2147483648)|0}function SNe(e,n,t,i,r){return new aB(e,(Rv(),fq),n,t,i,r)}function jC(e,n){return wDe(n),h8n(e,ee(bt,Pt,30,n,15,1),n)}function U4n(e,n){return ca(),u(j(n,(Wc(),gh)),15).a==e}function X4n(e,n){EUe(e,!0),Tu(e.e.Pf(),new kY(e,!0,n))}function xC(e,n){return mC(e,"set1"),mC(n,"set2"),new wMe(e,n)}function K4n(e,n){var t=ZH[e.charCodeAt(0)];return t??e}function W4n(e,n){var t;return t=o8n(e.f,n),zt(OM(t),e.f.d)}function INe(e,n){var t,i;return t=n,i=new ei,wKe(e,t,i),i.d}function __(e,n,t,i){var r;r=new rIe,n.a[t.g]=r,Em(e.b,i,r)}function GZ(e,n,t){var i;i=e.Fh(n),i>=0?e.$h(i,t):Ure(e,n,t)}function C2(e,n,t){MC(),e&&It(_X,e,n),e&&It(Ix,e,t)}function PNe(e,n,t){this.i=new ve,this.b=e,this.g=n,this.a=t}function AC(e,n,t){this.c=new ve,this.e=e,this.f=n,this.b=t}function HZ(e,n,t){this.a=new ve,this.e=e,this.f=n,this.c=t}function ONe(e){NM.call(this),Qee(this),this.a=e,this.c=!0}function NNe(e){this.a=u(st(e),277),this.b=(tn(),new $Q(e))}function $Ne(e,n){jM(this),this.f=n,this.g=e,gC(this),this.he()}function E7(e,n){var t;t=e.q.getHours(),e.q.setDate(n),Wy(e,t)}function DNe(e,n){var t;for(st(n),t=e.a;t;t=t.c)n.Wd(t.g,t.i)}function LNe(e){var n;return n=new $A(Bw(e.length)),qne(n,e),n}function V4n(e){function n(){}return n.prototype=e||{},new n}function Q4n(e,n){return yRe(e,n)?(kFe(e),!0):!1}function Zh(e,n){if(n==null)throw I(new Vp);return QEn(e,n)}function Y4n(e){if(e.ye())return null;var n=e.n;return WI[n]}function Tw(e){return e.Db>>16!=3?null:u(e.Cb,26)}function ml(e){return e.Db>>16!=9?null:u(e.Cb,26)}function _Ne(e){return e.Db>>16!=6?null:u(e.Cb,85)}function FNe(e,n){var t;return t=e.Fh(n),t>=0?e.Th(t):mB(e,n)}function F_(e,n,t){var i;i=JRe(e,n,t),e.b=new bT(i.c.length)}function vl(){vl=J,M0=new XV(qJ,0),Ll=new XV("UP",1)}function RNe(){RNe=J,XZe=lt((SA(),$(N(UZe,1),ae,538,0,[VH])))}function BNe(e){this.a=e,this.b=ee(jun,pe,2008,e.e.length,0,2)}function JNe(){this.a=new ph,this.e=new Ji,this.g=0,this.i=0}function Z4n(e){return!e.a&&(e.a=new se(mt,e,10,11)),e.a.i>0}function R_(e,n){return m.Math.abs(e)<m.Math.abs(n)?e:n}function e5n(e,n){return FM(),gn(),u(n.a,15).a<e}function n5n(e,n){return FM(),gn(),u(n.b,15).a<e}function GNe(e,n){return e.b+=n.b,e.c+=n.c,e.d+=n.d,e.a+=n.a,e}function qZ(e){var n;return n=e.d,n=e._i(e.f),it(e,n),n.Ob()}function HNe(e,n){var t;return t=new WY(n),pHe(t,e),new Co(t)}function t5n(e){if(e.p!=0)throw I(new wo);return O6(e.f,0)}function i5n(e){if(e.p!=0)throw I(new wo);return O6(e.k,0)}function qNe(e){return e.Db>>16!=7?null:u(e.Cb,241)}function $v(e){return e.Db>>16!=6?null:u(e.Cb,241)}function zZ(e){return e.Db>>16!=7?null:u(e.Cb,174)}function zNe(e){return e.Db>>16!=3?null:u(e.Cb,158)}function pi(e){return e.Db>>16!=11?null:u(e.Cb,26)}function Sw(e){return e.Db>>16!=17?null:u(e.Cb,29)}function UZ(e){var n;return G1(e),n=new Ji,Ft(e,new Xke(n))}function UNe(e,n){var t=e.a=e.a||[];return t[n]||(t[n]=e.te(n))}function r5n(e,n){var t;t=e.q.getHours(),e.q.setMonth(n),Wy(e,t)}function Jr(e,n){e.c&&no(e.c.g,e),e.c=n,e.c&&me(e.c.g,e)}function or(e,n){e.c&&no(e.c.a,e),e.c=n,e.c&&me(e.c.a,e)}function xr(e,n){e.d&&no(e.d.e,e),e.d=n,e.d&&me(e.d.e,e)}function Fc(e,n){e.i&&no(e.i.j,e),e.i=n,e.i&&me(e.i.j,e)}function mc(e,n,t){return n==null?ro(e.f,null,t):hb(e.i,n,t)}function ny(e,n,t,i,r,c){return new ia(e.e,n,e.Jj(),t,i,r,c)}function c5n(e){return tR(),gn(),u(e.a,82).d.e!=0}function XNe(e,n){this.a=e,this.c=Xr(this.a),this.b=new yC(n)}function KNe(e,n,t){this.a=n,this.c=e,this.b=(st(t),new Co(t))}function WNe(e,n,t){this.a=n,this.c=e,this.b=(st(t),new Co(t))}function Iw(e,n){if(e<0||e>n)throw I(new Lu(jue+e+xue+n))}function MC(){MC=J,_X=new Wn,Ix=new Wn,ywn(aen,new B6e)}function VNe(){VNe=J,run=xu(new Li,(dr(),fc),(kr(),m3))}function QNe(){QNe=J,cun=xu(new Li,(dr(),fc),(kr(),m3))}function YNe(){YNe=J,uun=xu(new Li,(dr(),fc),(kr(),m3))}function XZ(){XZ=J,oun=xu(new Li,(dr(),fc),(kr(),m3))}function ZNe(){ZNe=J,fun=xu(new Li,(dr(),fc),(kr(),m3))}function KZ(){KZ=J,lun=xu(new Li,(dr(),fc),(kr(),m3))}function e$e(){e$e=J,Tun=kt(new Li,(dr(),fc),(kr(),H9))}function ls(){ls=J,Pun=kt(new Li,(dr(),fc),(kr(),H9))}function n$e(){n$e=J,Oun=kt(new Li,(dr(),fc),(kr(),H9))}function B_(){B_=J,_un=kt(new Li,(dr(),fc),(kr(),H9))}function t$e(){t$e=J,Oon=xu(new Li,(Um(),p8),(Xy(),Pde))}function qd(e,n,t,i){this.c=e,this.d=i,G_(this,n),H_(this,t)}function Cm(e){this.c=new ni,this.b=e.b,this.d=e.c,this.a=e.a}function J_(e){this.a=m.Math.cos(e),this.b=m.Math.sin(e)}function G_(e,n){e.a&&no(e.a.k,e),e.a=n,e.a&&me(e.a.k,e)}function H_(e,n){e.b&&no(e.b.f,e),e.b=n,e.b&&me(e.b.f,e)}function i$e(e,n){xvn(e,e.b,e.c),u(e.b.b,68),n&&u(n.b,68).b}function u5n(e,n){xte(e,n),F(e.Cb,88)&&Vw(Ro(u(e.Cb,88)),2)}function q_(e,n){F(e.Cb,88)&&Vw(Ro(u(e.Cb,88)),4),Ru(e,n)}function CC(e,n){F(e.Cb,184)&&(u(e.Cb,184).tb=null),Ru(e,n)}function r$e(e,n){var t;return t=u(Gw(Mm(e.a),n),18),t?t.gc():0}function c$e(e){var n,t;return t=(sv(),n=new J0,n),Jv(t,e),t}function u$e(e){var n,t;return t=(sv(),n=new J0,n),Jv(t,e),t}function o$e(e){for(var n;;)if(n=e.Pb(),!e.Ob())return n}function j7(e){return ih(),Su(e,0)>=0?H1(e):V6(H1(Ja(e)))}function o5n(e,n){QTe(e,wt(vr(V0(n,24),XS)),wt(vr(n,XS)))}function s5n(e,n){return Qt(u(e.c,65).c.e.b,u(n.c,65).c.e.b)}function f5n(e,n){return Qt(u(e.c,65).c.e.a,u(n.c,65).c.e.a)}function Cu(e,n){return tc(),yF(n)?new zM(n,e):new Wk(n,e)}function s$e(e,n,t){return new aB(e,(Rv(),sq),null,!1,n,t)}function f$e(e,n,t){return new aB(e,(Rv(),lq),n,t,null,!1)}function l$e(e,n,t){var i;PBe(n,t,e.c.length),i=t-n,gV(e.c,n,i)}function O1(e,n,t){PBe(n,t,e.gc()),this.c=e,this.a=n,this.b=t-n}function Ze(e,n){this.b=(bn(e),e),this.a=(n&cg)==0?n|64|ch:n}function en(e,n){if(e<0||e>=n)throw I(new Lu(jue+e+xue+n))}function Pn(e,n){if(e<0||e>=n)throw I(new rV(jue+e+xue+n))}function l5n(e,n){var t,i;t=n.c,i=t!=null,i&&xm(e,new Mw(n.c))}function h5n(e,n,t){var i;i=new Ur(t.d),zt(i,e),Ete(n,i.a,i.b)}function WZ(e){var n;return G1(e),n=(nb(),nb(),cq),eT(e,n)}function yl(e){return Bc($(N(br,1),pe,8,0,[e.i.n,e.n,e.a]))}function a5n(){return sy(),$(N(Gle,1),ae,384,0,[kq,yq,Eq])}function d5n(){return Fs(),$(N(oo,1),ae,130,0,[yle,uo,kle])}function b5n(){return il(),$(N(bg,1),ae,237,0,[Yc,Hu,Zc])}function w5n(){return So(),$(N(Oen,1),ae,461,0,[dh,rd,Lf])}function g5n(){return to(),$(N($en,1),ae,462,0,[fl,cd,_f])}function p5n(){return ky(),$(N(cde,1),ae,352,0,[Kz,rde,dO])}function m5n(){return Xv(),$(N(lz,1),ae,302,0,[sz,fz,$j])}function v5n(){return F1(),$(N(hz,1),ae,329,0,[Dj,aae,kg])}function y5n(){return ra(),$(N(Vtn,1),ae,316,0,[Lj,pp,v3])}function k5n(){return fb(),$(N(Lq,1),ae,368,0,[Fb,ud,_b])}function E5n(){return vy(),$(N(mde,1),ae,348,0,[uU,cU,Wj])}function j5n(){return yT(),$(N(pde,1),ae,381,0,[wde,rU,gde])}function x5n(){return rc(),$(N(Qcn,1),ae,452,0,[h8,No,qu])}function A5n(){return Zv(),$(N(yde,1),ae,349,0,[oU,vde,a8])}function M5n(){return cT(),$(N(jde,1),ae,351,0,[Ede,sU,kde])}function C5n(){return ET(),$(N(xde,1),ae,382,0,[fU,P5,Ng])}function T5n(){return my(),$(N(Jde,1),ae,385,0,[Bde,aU,Yj])}function S5n(){return nE(),$(N(w0e,1),ae,386,0,[SO,d0e,b0e])}function I5n(){return DT(),$(N(_0e,1),ae,387,0,[L0e,qU,D0e])}function P5n(){return uT(),$(N(Xhe,1),ae,350,0,[Uhe,DP,Uq])}function O5n(){return Yd(),$(N(Jtn,1),ae,449,0,[ez,p5,wp])}function N5n(){return JT(),$(N($0e,1),ae,436,0,[E8,OO,_U])}function $5n(){return kT(),$(N(N0e,1),ae,304,0,[LU,O0e,P0e])}function D5n(){return PT(),$(N(obe,1),ae,430,0,[cbe,ube,VU])}function L5n(){return XC(),$(N(rbe,1),ae,429,0,[WU,ibe,tbe])}function _5n(){return cE(),$(N(QU,1),ae,435,0,[LO,_O,FO])}function F5n(){return jl(),$(N(Twe,1),ae,279,0,[R5,Gg,B5])}function R5n(){return sa(),$(N(Bwe,1),ae,347,0,[VO,l1,_8])}function B5n(){return ly(),$(N(Uwe,1),ae,300,0,[kx,TX,zwe])}function J5n(){return Bm(),$(N(Wwe,1),ae,281,0,[Kwe,qg,tN])}function T2(e){return w6(),F(e.g,9)?u(e.g,9):null}function G5n(e){return e.a==(Lv(),wN)&&w0n(e,jOn(e.g,e.b)),e.a}function Tm(e){return e.d==(Lv(),wN)&&y0n(e,E$n(e.g,e.b)),e.d}function H5n(e,n){var t;return t=(bn(e),e).g,JQ(!!t),bn(n),t(n)}function h$e(e,n,t){var i;i=new Wve,i.b=n,i.a=t,++n.b,me(e.d,i)}function q5n(e,n,t){var i;return i=Yy(e,n,!1),i.b<=n&&i.a<=t}function a$e(e,n){var t,i;return i=Mv(e,n),t=e.a.dd(i),new dMe(e,t)}function z5n(e){return e.Db>>16!=6?null:u(kB(e),241)}function U5n(e){if(e.p!=2)throw I(new wo);return wt(e.f)&Qi}function X5n(e){if(e.p!=2)throw I(new wo);return wt(e.k)&Qi}function zd(e){return st(e),F(e,18)?new Co(u(e,18)):Ev(e.Jc())}function z_(e){XM(),this.a=(tn(),F(e,59)?new TD(e):new CM(e))}function vr(e,n){return _1(U3n(Ic(e)?rf(e):e,Ic(n)?rf(n):n))}function Ql(e,n){return _1(X3n(Ic(e)?rf(e):e,Ic(n)?rf(n):n))}function U_(e,n){return _1(K3n(Ic(e)?rf(e):e,Ic(n)?rf(n):n))}function VZ(e,n){return NPe(e.a,n)?HY(e.b,u(n,24).g,null):null}function K5n(e){return Kr(kh(tu(zo(e,32)),32),tu(zo(e,32)))}function W5n(e){var n;return n=u(GM(e.b),10),new Os(e.a,n,e.c)}function V5n(e,n){var t;t=q(K(e.a.mf((jt(),UO)))),FKe(e,n,t)}function d$e(e,n){Bd.call(this,1,2,$(N(bt,1),Pt,30,15,[e,n]))}function QZ(e,n){K0n.call(this,new cm(Bw(e))),bs(n,aWe),this.a=n}function b$e(e,n,t){B0.call(this,25),this.b=e,this.a=n,this.c=t}function hs(e){Bt(),B0.call(this,e),this.c=!1,this.a=!1}function w$e(){this.c=new _Te,this.a=new YDe,this.b=new axe,SMe()}function TC(){TC=J,AU=new VV("DFS",0),s0e=new VV("BFS",1)}function YZ(e){return e.b==null||e.b.length==0?"n_"+e.a:"n_"+e.b}function x7(e){return u(xl(e,ee(Lh,Ya,9,e.c.length,0,1)),199)}function ZZ(e,n){return e&&e.equals?e.equals(n):Z(e)===Z(n)}function Q5n(e,n){return fy(),e.c==n.c?Qt(n.d,e.d):Qt(e.c,n.c)}function Y5n(e,n){return fy(),e.c==n.c?Qt(e.d,n.d):Qt(e.c,n.c)}function Z5n(e,n){return fy(),e.c==n.c?Qt(e.d,n.d):Qt(n.c,e.c)}function e6n(e,n){return fy(),e.c==n.c?Qt(n.d,e.d):Qt(n.c,e.c)}function n6n(e,n){e.b=e.b|n.b,e.c=e.c|n.c,e.d=e.d|n.d,e.a=e.a|n.a}function X_(e,n,t){var i;i=e.d[n.p],e.d[n.p]=e.d[t.p],e.d[t.p]=i}function t6n(e,n,t){var i;e.n&&n&&t&&(i=new C6e,me(e.e,i))}function i6n(e,n){var t;t=u(vn(e.g,n),60),Tu(n.d,new nCe(e,t))}function r6n(e,n){var t,i;return t=wGe(e),i=wGe(n),t<i?-1:t>i?1:0}function g$e(e,n){var t,i;return t=pF(n),i=t,u(vn(e.c,i),15).a}function p$e(e,n){var t;for(t=e+"";t.length<n;)t="0"+t;return t}function Ud(e){return e.c==null||e.c.length==0?"n_"+e.g:"n_"+e.c}function c6n(e){return!!e.u&&bu(e.u.a).i!=0&&!(e.n&&LR(e.n))}function eee(e,n){return n==0?!!e.o&&e.o.f!=0:IR(e,n)}function T(e){return Hn(e.a<e.c.c.length),e.b=e.a++,e.c.c[e.b]}function K_(e,n){if(Hi(e.a,n),n.d)throw I(new Dc(LWe));n.d=e}function nee(e,n){this.a=new ve,this.d=new ve,this.f=e,this.c=n}function m$e(){Fm(),this.b=new Wn,this.a=new Wn,this.c=new ve}function v$e(e,n,t){this.d=e,this.j=n,this.e=t,this.o=-1,this.p=3}function y$e(e,n,t){this.d=e,this.k=n,this.f=t,this.o=-1,this.p=5}function k$e(e,n,t,i,r,c){mee.call(this,e,n,t,i,r),c&&(this.o=-2)}function E$e(e,n,t,i,r,c){nne.call(this,e,n,t,i,r),c&&(this.o=-2)}function j$e(e,n,t,i,r,c){tne.call(this,e,n,t,i,r),c&&(this.o=-2)}function x$e(e,n,t,i,r,c){yee.call(this,e,n,t,i,r),c&&(this.o=-2)}function A$e(e,n,t,i,r,c){cne.call(this,e,n,t,i,r),c&&(this.o=-2)}function M$e(e,n,t,i,r,c){vee.call(this,e,n,t,i,r),c&&(this.o=-2)}function C$e(e,n,t,i,r,c){ine.call(this,e,n,t,i,r),c&&(this.o=-2)}function T$e(e,n,t,i,r,c){rne.call(this,e,n,t,i,r),c&&(this.o=-2)}function S$e(e,n,t,i){kA.call(this,t),this.b=e,this.c=n,this.d=i}function I$e(e,n){this.f=e,this.a=(Lv(),bN),this.c=bN,this.b=n}function P$e(e,n){this.g=e,this.d=(Lv(),wN),this.a=wN,this.b=n}function tee(e,n){!e.c&&(e.c=new Pi(e,0)),LS(e.c,(Zt(),W8),n)}function u6n(e,n){return nIn(e,n,F(n,103)&&(u(n,19).Bb&Yr)!=0)}function o6n(e,n){return cOe(tu(e.q.getTime()),tu(n.q.getTime()))}function O$e(e){return ZL(e.e.Pd().gc()*e.c.Pd().gc(),16,new uke(e))}function s6n(e){return!!e.a&&Jo(e.a.a).i!=0&&!(e.b&&_R(e.b))}function N$e(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function ty(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function $$e(e){return Hn(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function D$e(e,n){var t;return t=1-n,e.a[t]=dT(e.a[t],t),dT(e,n)}function L$e(e,n){var t,i;return i=vr(e,uc),t=kh(n,32),Ql(t,i)}function f6n(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Gc(t)}function _$e(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Kc(t)}function F$e(e,n,t){var i;i=(st(e),new Co(e)),Hxn(new KNe(i,n,t))}function A7(e,n,t){var i;i=(st(e),new Co(e)),qxn(new WNe(i,n,t))}function l6n(e,n,t){e.a=n,e.c=t,e.b.a.$b(),es(e.d),iw(e.e.a.c,0)}function Xc(e,n,t,i,r,c){return ZFe(e,n,t,c),wte(e,i),gte(e,r),e}function R$e(e,n,t,i){return e.a+=""+tf(n==null?co:Oc(n),t,i),e}function Ar(e,n){this.a=e,e6.call(this,e),Iw(n,e.gc()),this.b=n}function B$e(e,n){var t;e.e=new VW,t=Yw(n),ur(t,e.c),lUe(e,t,0)}function mi(e,n,t,i){var r;r=new XK,r.a=n,r.b=t,r.c=i,At(e.a,r)}function we(e,n,t,i){var r;r=new XK,r.a=n,r.b=t,r.c=i,At(e.b,r)}function h6n(e,n){return new KL(n,PSe(Xr(n.e),e,e),(gn(),!0))}function a6n(e,n){return $m(),u(j(n,(Wc(),Tp)),15).a>=e.gc()}function d6n(e){return ls(),!_r(e)&&!(!_r(e)&&e.c.i.c==e.d.i.c)}function Yl(e){return u(xl(e,ee(l5,q4,17,e.c.length,0,1)),324)}function SC(e){return new Fu((bs(e,aJ),ZC(Kr(Kr(5,e),e/10|0))))}function b6n(e){return ZL(e.e.Pd().gc()*e.c.Pd().gc(),273,new cke(e))}function w6n(e){KBe((!e.a&&(e.a=new se(mt,e,10,11)),e.a),new I5e)}function iee(){var e,n,t;return n=(t=(e=new J0,e),t),me(Oge,n),n}function Xd(e){var n;return Ic(e)?(n=e,n==-0?0:n):C9n(e)}function J$e(e,n){return F(n,45)?GR(e.a,u(n,45)):!1}function G$e(e,n){return F(n,45)?GR(e.a,u(n,45)):!1}function H$e(e,n){return F(n,45)?GR(e.a,u(n,45)):!1}function g6n(e,n){return e.a<=e.b?(n.Bd(e.a++),!0):!1}function M7(e,n){if(e<0||e>=n)throw I(new Lu(CTn(e,n)));return e}function q$e(e,n,t){if(e<0||n<e||n>t)throw I(new Lu(KCn(e,n,t)))}function p6n(e,n,t){e.d&&no(e.d.e,e),e.d=n,e.d&&Ld(e.d.e,t,e)}function iy(e,n){dFn(n,e),_Y(e.d),_Y(u(j(e,(ye(),uO)),213))}function W_(e,n){bFn(n,e),LY(e.d),LY(u(j(e,(ye(),uO)),213))}function ree(e){var n;return I1(e),n=new Jt,h2(e.a,new qke(n)),n}function IC(e){var n;return I1(e),n=new Kt,h2(e.a,new zke(n)),n}function m6n(e){return M2(e).dc()?!1:(cgn(e,new re),!0)}function v6n(e){if(!("stack"in e))try{throw e}catch{}return e}function y6n(e,n,t){var i;i=gjn();try{return A2n(e,n,t)}finally{Iyn(i)}}function cb(e,n){var t,i;return t=Zh(e,n),i=null,t&&(i=t.ne()),i}function Dv(e,n){var t,i;return t=Dw(e,n),i=null,t&&(i=t.qe()),i}function ry(e,n){var t,i;return t=Zh(e,n),i=null,t&&(i=t.qe()),i}function ea(e,n){var t,i;return t=Zh(e,n),i=null,t&&(i=ire(t)),i}function k6n(e,n,t){var i;return i=f4(t),IS(e.n,i,n),IS(e.o,n,t),n}function cee(e,n,t){this.d=new iEe(this),this.e=e,this.i=n,this.f=t}function uee(e,n,t,i){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1}function z$e(e,n,t,i){return F(t,59)?new ESe(e,n,t,i):new tZ(e,n,t,i)}function U$e(e){return u(xl(e,ee(otn,lVe,12,e.c.length,0,1)),2007)}function X$e(e){this.a=ee(ir,ln,1,Bne(m.Math.max(8,e))<<1,5,1)}function K$e(e){DF.call(this,e,(Rv(),oq),null,!1,null,!1)}function W$e(e){var n;n=e.Dh(),this.a=F(n,72)?u(n,72).Gi():n.Jc()}function E6n(e){return new Ze(c8n(u(e.a.kd(),18).gc(),e.a.jd()),16)}function Pw(e){return F(e,18)?u(e,18).dc():!e.Jc().Ob()}function V$e(e){if(e.e.g!=e.b)throw I(new Ss);return!!e.c&&e.d>0}function tt(e){return Hn(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function oee(e,n){bn(n),Ni(e.a,e.c,n),e.c=e.c+1&e.a.length-1,EGe(e)}function N1(e,n){bn(n),e.b=e.b-1&e.a.length-1,Ni(e.a,e.b,n),EGe(e)}function Q$e(){Q$e=J,Mde=LOe(le(1),le(4)),Ade=LOe(le(1),le(2))}function Y$e(){Y$e=J,Jsn=lt((JA(),$(N(sbe,1),ae,477,0,[YU])))}function Z$e(){Z$e=J,Hsn=lt((GA(),$(N(Gsn,1),ae,547,0,[ZU])))}function eDe(){eDe=J,ofn=lt((g6(),$(N(Sbe,1),ae,528,0,[ux])))}function j6n(){return Wv(),$(N(Wnn,1),ae,408,0,[Lb,gg,wg,lp])}function x6n(){return lb(),$(N(cnn,1),ae,409,0,[Aj,xj,wq,gq])}function A6n(){return Rv(),$(N(tP,1),ae,310,0,[oq,sq,fq,lq])}function M6n(){return xT(),$(N(btn,1),ae,367,0,[$q,SP,IP,Ij])}function C6n(){return Hm(),$(N(Ule,1),ae,383,0,[J9,zle,Cq,Tq])}function T6n(){return Pf(),$(N(Atn,1),ae,413,0,[vg,a5,d5,Dq])}function S6n(e){var n;return e.j==(ke(),Xn)&&(n=Zqe(e),po(n,$n))}function I6n(){return Ty(),$(N(zhe,1),ae,301,0,[z9,Hhe,Oj,qhe])}function P6n(){return Uw(),$(N(Vz,1),ae,203,0,[bO,Wz,Mp,Ap])}function O6n(){return la(),$(N(dde,1),ae,269,0,[hd,ade,eU,nU])}function nDe(e,n){return u(Qo(jw(u(Xt(e.k,n),16).Mc(),ap)),113)}function tDe(e,n){return u(Qo(km(u(Xt(e.k,n),16).Mc(),ap)),113)}function N6n(e,n){var t;t=n.a,Jr(t,n.c.d),xr(t,n.d.d),Fw(t.a,e.n)}function see(e,n){var t;return t=u(El(e.b,n),66),!t&&(t=new ni),t}function Sm(e){return w6(),F(e.g,156)?u(e.g,156):null}function $6n(e){e.a=null,e.e=null,iw(e.b.c,0),iw(e.f.c,0),e.c=null}function iDe(e,n,t,i){this.e=null,this.c=e,this.d=n,this.a=t,this.b=i}function fee(e,n,t,i,r){this.i=e,this.a=n,this.e=t,this.j=i,this.f=r}function rDe(e,n,t,i){var r;return r=i[n.g][t.g],q(K(j(e.a,r)))}function cDe(e,n){var t;for(t=e.j.c.length;t<n;t++)me(e.j,e.Mg())}function D6n(e,n){return am(new be(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)}function L6n(){return yy(),$(N(o0e,1),ae,353,0,[xU,CO,jU,EU])}function _6n(){return eS(),$(N(I0e,1),ae,354,0,[DU,T0e,S0e,C0e])}function F6n(){return n0(),$(N(kun,1),ae,404,0,[Vj,d8,mO,pO])}function R6n(){return lS(),$(N(fsn,1),ae,401,0,[JU,FU,BU,RU])}function B6n(){return Um(),$(N(Sde,1),ae,398,0,[EO,g8,p8,m8])}function J6n(){return n4(),$(N(Cwe,1),ae,278,0,[wx,WO,Awe,Mwe])}function G6n(){return DC(),$(N(Mx,1),ae,288,0,[Vwe,Ywe,IX,Qwe])}function H6n(){return rs(),$(N(G8,1),ae,380,0,[jx,I0,Ex,Hg])}function q6n(){return fa(),$(N(MX,1),ae,222,0,[AX,gx,J5,R3])}function z6n(){return gs(),$(N(tln,1),ae,292,0,[mx,Rh,gd,px])}function U6n(){return _T(),$(N(tge,1),ae,327,0,[PX,Zwe,nge,ege])}function X6n(){return MT(),$(N(yln,1),ae,407,0,[OX,rge,ige,cge])}function K6n(e){return MC(),Au(_X,e)?u(vn(_X,e),342).Pg():null}function Ns(e,n,t){return n<0?mB(e,t):u(t,69).uk().zk(e,e.ei(),n)}function W6n(e,n,t){var i;return i=f4(t),IS(e.f,i,n),It(e.g,n,t),n}function V6n(e,n,t){var i;return i=f4(t),IS(e.p,i,n),It(e.q,n,t),n}function uDe(e){var n,t;return n=(j1(),t=new U$,t),e&&kS(n,e),n}function lee(e){var n;return n=e.$i(e.i),e.i>0&&pu(e.g,0,n,0,e.i),n}function Zf(e){var n;for(n=0;e.Ob();)e.Pb(),n=Kr(n,1);return ZC(n)}function oDe(e,n){var t;return t=new im,e.Ed(t),t.a+="..",n.Fd(t),t.a}function sDe(e,n){HA();var t;return t=u(vn(lN,e),58),!t||t.dk(n)}function Q6n(e,n,t){if(t){var i=t.me();e.a[n]=i(t)}else delete e.a[n]}function S2(e,n){return n.e==0||e.e==0?L9:(E4(),AB(e,n))}function Y6n(e){if(e.p!=1)throw I(new wo);return wt(e.f)<<24>>24}function Z6n(e){if(e.p!=1)throw I(new wo);return wt(e.k)<<24>>24}function eyn(e){if(e.p!=7)throw I(new wo);return wt(e.k)<<16>>16}function nyn(e){if(e.p!=7)throw I(new wo);return wt(e.f)<<16>>16}function PC(){PC=J,az=new GV(_4,0),dae=new GV("TOP_LEFT",1)}function cy(){cy=J,w8=new zV("UPPER",0),b8=new zV("LOWER",1)}function tyn(e,n,t){var i;i=u(vn(e.g,t),60),me(e.a.c,new Qr(n,i))}function iyn(e,n,t,i,r){var c;c=wIn(r,t,i),me(n,vTn(r,c)),dCn(e,r,n)}function fDe(e,n,t){e.i=0,e.e=0,n!=t&&(qRe(e,n,t),HRe(e,n,t))}function ryn(e,n,t){return f_(K(Lc(pc(e.f,n))),K(Lc(pc(e.f,t))))}function cyn(e,n){return u(n==null?Lc(pc(e.f,null)):y6(e.i,n),290)}function lDe(e,n){return Z(n)===Z(e)?"(this Map)":n==null?co:Oc(n)}function hee(e,n){return e==(pn(),Ai)&&n==Ai?4:e==Ai||n==Ai?8:32}function OC(e,n,t){return OS(e,n,t,F(n,103)&&(u(n,19).Bb&Yr)!=0)}function uyn(e,n,t){return A4(e,n,t,F(n,103)&&(u(n,19).Bb&Yr)!=0)}function oyn(e,n,t){return oIn(e,n,t,F(n,103)&&(u(n,19).Bb&Yr)!=0)}function xh(e,n){tc();var t;return t=u(e,69).tk(),MCn(t,n),t.vl(n)}function na(e,n){ih(),Bd.call(this,e,1,$(N(bt,1),Pt,30,15,[n]))}function Ow(e,n){Bt(),B0.call(this,e),this.a=n,this.c=-1,this.b=-1}function hDe(e,n){FZ.call(this),this.a=e,this.b=n,me(this.a.b,this)}function uy(e){return Hn(e.a<e.c.a.length),e.b=e.a,M_e(e),e.c.b[e.b]}function bu(e){return e.n||(Ro(e),e.n=new $Pe(e,hc,e),Mc(e)),e.n}function aDe(e,n){var t;for(t=n;t;)pw(e,t.i,t.j),t=pi(t);return e}function dDe(e,n){var t;for(t=0;t<n;++t)Ni(e,t,new gW(u(e[t],45)))}function aee(e,n){var t;t=e.q.getHours(),e.q.setFullYear(n+Q1),Wy(e,t)}function bDe(e,n){Qv();var t;return t=e.j.g-n.j.g,t!=0?t:0}function V_(e,n,t){if(t){var i=t.me();t=i(t)}else t=void 0;e.a[n]=t}function wDe(e){if(e<0)throw I(new iAe("Negative array size: "+e))}function gDe(e){F(e,206)&&!Se(Te(e.mf((jt(),zO))))&&m$n(u(e,26))}function Q_(e){return e.c&&e.d?YZ(e.c)+"->"+YZ(e.d):"e_"+K0(e)}function syn(e,n){var t;return t=n!=null?Mu(e,n):Lc(pc(e.f,n)),gM(t)}function fyn(e,n){var t;return t=n!=null?Mu(e,n):Lc(pc(e.f,n)),gM(t)}function lyn(e,n){return Na(),it(oe(e.a),n)}function hyn(e,n){return Na(),it(oe(e.a),n)}function Kd(e,n,t){this.e=e,this.a=ir,this.b=NUe(n),this.c=n,this.d=t}function Y_(e){this.e=e,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function pDe(e){this.c=e,this.a=u(uf(e),159),this.b=this.a.hk().ti()}function Nw(e,n,t,i){v$e.call(this,1,t,i),this.c=e,this.b=n}function Z_(e,n,t,i){y$e.call(this,1,t,i),this.c=e,this.b=n}function eF(e,n,t,i,r,c,o){CF.call(this,n,i,r,c,o),this.c=e,this.a=t}function $1(){Wn.call(this),ASe(this),this.d.b=this.d,this.d.a=this.d}function dee(e){this.d=e,this.b=this.d.a.entries(),this.a=this.b.next()}function NC(e){Jie(),QTe(this,wt(vr(V0(e,24),XS)),wt(vr(e,XS)))}function To(e,n){var t;return n.b.Kb(b_e(e,n.c.Ve(),(t=new Wke(n),t)))}function ayn(e,n){var t;return wDe(n),t=e.slice(0,n),t.length=n,dF(t,e)}function $C(e){var n;return e?new WY(e):(n=new ph,$F(n,e),n)}function dyn(e,n){var t;for(t=e.d-1;t>=0&&e.a[t]===n[t];t--);return t<0}function byn(e,n){var t,i;i=!1;do t=DRe(e,n),i=i|t;while(t);return i}function ji(e,n,t,i){var r;r=new Oi,r.c=n,r.b=t,r.a=i,i.b=t.a=r,++e.b}function DC(){DC=J,Vwe=new gPe,Ywe=new HPe,IX=new MNe,Qwe=new tOe}function LC(){LC=J,Ez=new HV(ul,0),kz=new HV("ALTERNATING",1)}function mDe(){mDe=J,qtn=lt((D7(),$(N(eae,1),ae,476,0,[Zhe,FP])))}function vDe(){vDe=J,Ltn=lt((qC(),$(N(Ghe,1),ae,422,0,[Jhe,zq])))}function yDe(){yDe=J,Btn=lt((G7(),$(N(Qhe,1),ae,419,0,[LP,Vhe])))}function kDe(){kDe=J,Ytn=lt((PC(),$(N(bae,1),ae,420,0,[az,dae])))}function EDe(){EDe=J,nin=lt((LC(),$(N(Tae,1),ae,423,0,[Ez,kz])))}function jDe(){jDe=J,Vcn=lt((R7(),$(N(bde,1),ae,421,0,[tU,iU])))}function xDe(){xDe=J,Cun=lt((cy(),$(N(Mun,1),ae,519,0,[w8,b8])))}function ADe(){ADe=J,$un=lt((Vl(),$(N(Nun,1),ae,510,0,[zb,u1])))}function MDe(){MDe=J,Lun=lt((vl(),$(N(Dun,1),ae,509,0,[M0,Ll])))}function CDe(){CDe=J,Qun=lt((el(),$(N(Vun,1),ae,516,0,[$g,ad])))}function TDe(){TDe=J,ron=lt((rb(),$(N(ion,1),ae,454,0,[dd,Cp])))}function SDe(){SDe=J,Pon=lt((TC(),$(N(f0e,1),ae,425,0,[AU,s0e])))}function IDe(){IDe=J,Lon=lt((wT(),$(N(l0e,1),ae,487,0,[TO,Ip])))}function PDe(){PDe=J,Ron=lt((UC(),$(N(a0e,1),ae,426,0,[h0e,PU])))}function ODe(){ODe=J,Dsn=lt((FC(),$(N(nbe,1),ae,478,0,[KU,ebe])))}function NDe(){NDe=J,qsn=lt((I7(),$(N(fbe,1),ae,428,0,[eX,RO])))}function $De(){$De=J,wnn=lt((YC(),$(N(Cle,1),ae,424,0,[pq,uP])))}function DDe(){DDe=J,htn=lt((qv(),$(N(ltn,1),ae,503,0,[Sj,Iq])))}function LDe(){LDe=J,sfn=lt((W7(),$(N(Pbe,1),ae,427,0,[JO,Ibe])))}function wyn(){return Vi(),$(N(D8,1),ae,86,0,[Bl,Tc,jc,Rl,Xs])}function gyn(){return ke(),$(N(ec,1),fu,64,0,[qc,Cn,$n,Xn,Tn])}function pyn(e,n,t){return u(n==null?ro(e.f,null,t):hb(e.i,n,t),290)}function myn(e){return(e.k==(pn(),Ai)||e.k==Ui)&&Ht(e,(fe(),W9))}function bee(e){e.b!=e.c&&(e.a=ee(ir,ln,1,8,5,1),e.b=0,e.c=0)}function _De(e,n){var t;return t=n.jd(),new H0(t,e.e.pc(t,u(n.kd(),18)))}function FDe(e,n){var t;for(t=n;t;)pw(e,-t.i,-t.j),t=pi(t);return e}function wee(e,n){var t,i;for(t=n,i=0;t>0;)i+=e.a[t],t-=t&-t;return i}function as(e,n,t){var i;return i=(en(n,e.c.length),e.c[n]),e.c[n]=t,i}function Lr(e,n){var t,i;for(bn(n),i=e.Jc();i.Ob();)t=i.Pb(),n.Ad(t)}function RDe(e,n){var t,i;return t=n.jd(),i=e.De(t),!!i&&du(i.e,n.kd())}function vyn(e,n){var t;return t=e.a.get(n),t??ee(ir,ln,1,0,5,1)}function C7(e){e.i=0,Lk(e.b,null),Lk(e.c,null),e.a=null,e.e=null,++e.g}function gee(e,n,t){e.a.c.length=0,iLn(e,n,t),e.a.c.length==0||SNn(e,n)}function BDe(e,n){this.c=0,this.b=n,cTe.call(this,e,17493),this.a=this.c}function JDe(e){nWe(),Vje(this),this.a=new ni,Qne(this,e),At(this.a,e)}function GDe(){jL(this),this.b=new be(xi,xi),this.a=new be(lr,lr)}function nF(e){_C(),!$l&&(this.c=e,this.e=!0,this.a=new ve)}function _C(){_C=J,$l=!0,ven=!1,yen=!1,Een=!1,ken=!1}function FC(){FC=J,KU=new ZV(Bue,0),ebe=new ZV("TARGET_WIDTH",1)}function $w(e,n){return(G1(e),fv(new Ve(e,new Hee(n,e.a)))).zd(b3)}function yyn(){return dr(),$(N(Hle,1),ae,363,0,[Ff,Dh,vu,lu,fc])}function kyn(){return sS(),$(N(_on,1),ae,364,0,[SU,MU,IU,CU,TU])}function Eyn(){return Hy(),$(N(Fsn,1),ae,369,0,[Pp,O3,T8,C8,cx])}function jyn(){return yE(),$(N(dbe,1),ae,330,0,[lbe,nX,abe,tX,hbe])}function xyn(){return Xw(),$(N(Ctn,1),ae,371,0,[Pj,NP,$P,OP,PP])}function Ayn(){return Py(),$(N(Zz,1),ae,303,0,[ude,Qz,Yz,f8,S5])}function Myn(){return ts(),$(N(Cae,1),ae,165,0,[Bj,Y9,ma,Z9,y0])}function Cyn(){return th(),$(N(_l,1),ae,160,0,[un,Ri,al,s1,ya])}function Tyn(){return B2(),$(N(R8,1),ae,257,0,[pd,vx,Jwe,F8,Gwe])}function Syn(e){return IA(),function(){return y6n(e,this,arguments)}}function _r(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function pee(e,n){return F(n,144)?We(e.c,u(n,144).c):!1}function Ro(e){return e.t||(e.t=new Rje(e),Ay(new tAe(e),0,e.t)),e.t}function HDe(e){var n;return e.c||(n=e.r,F(n,88)&&(e.c=u(n,29))),e.c}function tF(e,n){var t;return t=u(El(e.d,n),21),t||u(El(e.e,n),21)}function qDe(e){this.b=e,Rn.call(this,e),this.a=u(Mn(this.b.a,4),129)}function zDe(e){this.b=e,wm.call(this,e),this.a=u(Mn(this.b.a,4),129)}function Mf(e,n,t,i,r){VDe.call(this,n,i,r),this.c=e,this.b=t}function mee(e,n,t,i,r){VDe.call(this,n,i,r),this.c=e,this.a=t}function vee(e,n,t,i,r){y$e.call(this,n,i,r),this.c=e,this.a=t}function yee(e,n,t,i,r){v$e.call(this,n,i,r),this.c=e,this.a=t}function kee(e){fwn.call(this,e==null?co:Oc(e),F(e,80)?u(e,80):null)}function Iyn(e){e&&D9n((iV(),Ufe)),--VI,e&&QI!=-1&&(pwn(QI),QI=-1)}function Pyn(e,n){var t,i;t=u(p7n(e.c,n),18),t&&(i=t.gc(),t.$b(),e.d-=i)}function iF(e){var n,t,i;return n=e&Xo,t=e>>22&Xo,i=e<0?da:0,zu(n,t,i)}function UDe(e){var n,t;return n=e.c.i,t=e.d.i,n.k==(pn(),Ui)&&t.k==Ui}function XDe(e){var n;return n=e.length,We(wn.substr(wn.length-n,n),e)}function Dn(e){if(zn(e))return e.c=e.a,e.a.Pb();throw I(new $c)}function Im(e,n){return n==0||e.e==0?e:n>0?hJe(e,n):Qze(e,-n)}function Eee(e,n){return n==0||e.e==0?e:n>0?Qze(e,n):hJe(e,-n)}function Oyn(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function rF(e){var n;return n=new tb,iu(n,e),ie(n,(ye(),Ec),null),n}function cF(e,n,t){var i;return i=e.Fh(n),i>=0?e.Ih(i,t,!0):vb(e,n,t)}function Nyn(e,n,t){return Qt(am(l4(e),Xr(n.b)),am(l4(e),Xr(t.b)))}function $yn(e,n,t){return Qt(am(l4(e),Xr(n.e)),am(l4(e),Xr(t.e)))}function Dyn(e,n){return m.Math.min(D1(n.a,e.d.d.c),D1(n.b,e.d.d.c))}function KDe(e,n,t){var i;i=new EQ(e.a),wy(i,e.a.a),ro(i.f,n,t),e.a.a=i}function jee(e,n,t,i){var r;for(r=0;r<rP;r++)nC(e.a[r][n.g],t,i[n.g])}function xee(e,n,t,i){var r;for(r=0;r<dq;r++)tC(e.a[n.g][r],t,i[n.g])}function Xt(e,n){var t;return t=u(e.c.xc(n),18),!t&&(t=e.ic(n)),e.pc(n,t)}function Lyn(e){var n;return n=(st(e),e?new Co(e):Ev(e.Jc())),kE(n),$T(n)}function Cf(e){var n,t;return st(e),n=Rvn(e.length),t=new Fu(n),qne(t,e),t}function oy(e){var n,t;++e.j,n=e.g,t=e.i,e.g=null,e.i=0,e.Mi(t,n),e.Li()}function T7(e,n){e.Zi(e.i+1),F6(e,e.i,e.Xi(e.i,n)),e.Ki(e.i++,n),e.Li()}function Pm(e,n){return mr(n)?n==null?Sre(e.f,null):aRe(e.i,n):Sre(e.f,n)}function Ra(e,n){var t;return t=(en(n,e.c.length),e.c[n]),gV(e.c,n,1),t}function uF(e,n,t,i){var r;return r=ee(bt,Pt,30,n,15,1),OMn(r,e,n,t,i),r}function ta(e,n){return e.a?xt(e.a,e.b):e.a=new ss(e.d),$6(e.a,n),e}function Aee(e,n){if(e<0||e>n)throw I(new Lu(are(e,n,"index")));return e}function Mee(e){var n;return n=e.e+e.f,isNaN(n)&&DM(e.d)?e.d:n}function Cee(e,n){var t,i;return t=(bn(e),e),i=(bn(n),n),t==i?0:t<i?-1:1}function _yn(e,n){var t;t=e.q.getHours()+(n/60|0),e.q.setMinutes(n),Wy(e,t)}function WDe(e,n,t){kA.call(this,t),this.b=e,this.c=n,this.d=(ER(),GX)}function VDe(e,n,t){this.d=e,this.k=n?1:0,this.f=t?1:0,this.o=-1,this.p=0}function kl(e){this.c=e,this.a=new S(this.c.a),this.b=new S(this.c.b)}function RC(){this.e=new ve,this.c=new ve,this.d=new ve,this.b=new ve}function QDe(){this.g=new FW,this.b=new FW,this.a=new ve,this.k=new ve}function YDe(){this.a=new GW,this.b=new mxe,this.d=new T$,this.e=new C$}function ZDe(e,n,t){this.a=e,this.c=n,this.d=t,me(n.e,this),me(t.b,this)}function eLe(e,n){rTe.call(this,n.xd(),n.wd()&-6),bn(e),this.a=e,this.b=n}function nLe(e,n){cTe.call(this,n.xd(),n.wd()&-6),bn(e),this.a=e,this.b=n}function Tee(e,n){vM.call(this,n.xd(),n.wd()&-6),bn(e),this.a=e,this.b=n}function BC(e,n,t){this.a=e,this.b=n,this.c=t,me(e.t,this),me(n.i,this)}function S7(){this.b=new ni,this.a=new ni,this.b=new ni,this.a=new ni}function Lv(){Lv=J;var e,n;bN=(sv(),n=new EA,n),wN=(e=new bD,e)}function el(){el=J,$g=new KV("REGULAR",0),ad=new KV("CRITICAL",1)}function I7(){I7=J,eX=new eQ("FIXED",0),RO=new eQ("CENTER_NODE",1)}function tLe(){tLe=J,Lhe=new ai("separateLayerConnections",(xT(),$q))}function JC(){JC=J,S8=new Vt("org.eclipse.elk.labels.labelManager")}function See(e){if(e.a){if(e.e)return See(e.e)}else return e;return null}function Fyn(e,n){return e.p<n.p?1:e.p>n.p?-1:0}function iLe(e,n){return Au(e.a,n)?(Pm(e.a,n),!0):!1}function Ryn(e){var n,t;return n=e.jd(),t=u(e.kd(),18),f7(t.Lc(),new tke(n))}function oF(e){var n;return n=e.b,n.b==0?null:u(wu(n,0),65).b}function Byn(e,n){var t;return t=mLn(e,n),e.b=new bT(t.c.length),LDn(e,t)}function Jyn(e){var n;return G1(e),n=new QIe(e,e.a.e,e.a.d|4),new WQ(e,n)}function rLe(e){var n;for(I1(e),n=0;e.a.zd(new ew);)n=Kr(n,1);return n}function cLe(e){var n;return e.a||(n=e.r,F(n,159)&&(e.a=u(n,159))),e.a}function Gyn(e,n,t){var i;return++e.e,--e.f,i=u(e.d[n].ed(t),136),i.kd()}function Om(e,n,t){return M7(n,e.e.Pd().gc()),M7(t,e.c.Pd().gc()),e.a[n][t]}function GC(e,n){return bn(n),e.c<e.d?(e.Qe(n,e.c++),!0):!1}function Hyn(e,n){var t;e.C&&(t=u(dc(e.b,n),127).n,t.d=e.C.d,t.a=e.C.a)}function Iee(e){var n,t,i,r;r=e.d,n=e.a,t=e.b,i=e.c,e.d=t,e.a=i,e.b=r,e.c=n}function Pee(e,n,t){var i,r;for(i=0,r=0;r<n.length;r++)i+=e.sg(n[r],i,t)}function HC(e,n,t,i){this.f=e,this.e=n,this.d=t,this.b=i,this.c=i?i.d:null}function qyn(e,n){n.Tg("Label management",1),gM(j(e,(JC(),S8))),n.Ug()}function uLe(){uLe=J,Nen=lt((So(),$(N(Oen,1),ae,461,0,[dh,rd,Lf])))}function oLe(){oLe=J,Den=lt((to(),$(N($en,1),ae,462,0,[fl,cd,_f])))}function sLe(){sLe=J,Pen=lt((il(),$(N(bg,1),ae,237,0,[Yc,Hu,Zc])))}function fLe(){fLe=J,jen=lt((Fs(),$(N(oo,1),ae,130,0,[yle,uo,kle])))}function lLe(){lLe=J,Jnn=lt((sy(),$(N(Gle,1),ae,384,0,[kq,yq,Eq])))}function hLe(){hLe=J,Ktn=lt((Xv(),$(N(lz,1),ae,302,0,[sz,fz,$j])))}function aLe(){aLe=J,Wtn=lt((F1(),$(N(hz,1),ae,329,0,[Dj,aae,kg])))}function dLe(){dLe=J,Qtn=lt((ra(),$(N(Vtn,1),ae,316,0,[Lj,pp,v3])))}function bLe(){bLe=J,Ntn=lt((fb(),$(N(Lq,1),ae,368,0,[Fb,ud,_b])))}function wLe(){wLe=J,eun=lt((vy(),$(N(mde,1),ae,348,0,[uU,cU,Wj])))}function gLe(){gLe=J,Zcn=lt((yT(),$(N(pde,1),ae,381,0,[wde,rU,gde])))}function pLe(){pLe=J,Ycn=lt((rc(),$(N(Qcn,1),ae,452,0,[h8,No,qu])))}function mLe(){mLe=J,nun=lt((Zv(),$(N(yde,1),ae,349,0,[oU,vde,a8])))}function vLe(){vLe=J,zcn=lt((ky(),$(N(cde,1),ae,352,0,[Kz,rde,dO])))}function yLe(){yLe=J,tun=lt((cT(),$(N(jde,1),ae,351,0,[Ede,sU,kde])))}function kLe(){kLe=J,iun=lt((ET(),$(N(xde,1),ae,382,0,[fU,P5,Ng])))}function ELe(){ELe=J,oon=lt((my(),$(N(Jde,1),ae,385,0,[Bde,aU,Yj])))}function jLe(){jLe=J,Bon=lt((nE(),$(N(w0e,1),ae,386,0,[SO,d0e,b0e])))}function xLe(){xLe=J,dsn=lt((DT(),$(N(_0e,1),ae,387,0,[L0e,qU,D0e])))}function ALe(){ALe=J,Ftn=lt((uT(),$(N(Xhe,1),ae,350,0,[Uhe,DP,Uq])))}function MLe(){MLe=J,Gtn=lt((Yd(),$(N(Jtn,1),ae,449,0,[ez,p5,wp])))}function CLe(){CLe=J,ssn=lt((JT(),$(N($0e,1),ae,436,0,[E8,OO,_U])))}function TLe(){TLe=J,osn=lt((kT(),$(N(N0e,1),ae,304,0,[LU,O0e,P0e])))}function SLe(){SLe=J,_sn=lt((PT(),$(N(obe,1),ae,430,0,[cbe,ube,VU])))}function ILe(){ILe=J,Lsn=lt((XC(),$(N(rbe,1),ae,429,0,[WU,ibe,tbe])))}function PLe(){PLe=J,Bsn=lt((cE(),$(N(QU,1),ae,435,0,[LO,_O,FO])))}function OLe(){OLe=J,Qfn=lt((jl(),$(N(Twe,1),ae,279,0,[R5,Gg,B5])))}function NLe(){NLe=J,nln=lt((sa(),$(N(Bwe,1),ae,347,0,[VO,l1,_8])))}function $Le(){$Le=J,dln=lt((ly(),$(N(Uwe,1),ae,300,0,[kx,TX,zwe])))}function DLe(){DLe=J,gln=lt((Bm(),$(N(Wwe,1),ae,281,0,[Kwe,qg,tN])))}function qC(){qC=J,Jhe=new RV("QUADRATIC",0),zq=new RV("SCANLINE",1)}function P7(e){return!e.g&&(e.g=new hA),!e.g.c&&(e.g.c=new Fje(e)),e.g.c}function zyn(e){return!e.g&&(e.g=new hA),!e.g.a&&(e.g.a=new _je(e)),e.g.a}function Uyn(e){return!e.g&&(e.g=new hA),!e.g.b&&(e.g.b=new Dje(e)),e.g.b}function Xyn(e){return!e.g&&(e.g=new hA),!e.g.d&&(e.g.d=new Lje(e)),e.g.d}function Kyn(e,n,t,i){return t&&(i=t.Oh(n,vi(t.Ah(),e.c.sk()),null,i)),i}function Wyn(e,n,t,i){return t&&(i=t.Qh(n,vi(t.Ah(),e.c.sk()),null,i)),i}function sF(e,n,t,i){var r;return r=ee(bt,Pt,30,n+1,15,1),l$n(r,e,n,t,i),r}function ee(e,n,t,i,r,c){var o;return o=dGe(r,i),r!=10&&$(N(e,c),n,t,r,o),o}function Vyn(e,n,t){var i,r;for(r=new Uv(n,e),i=0;i<t;++i)VT(r);return r}function fF(e,n,t){var i,r;if(t!=null)for(i=0;i<n;++i)r=t[i],e.Oi(i,r)}function Oee(e,n){var t;return t=new ei,t.c=!0,t.d=n.kd(),wKe(e,n.jd(),t)}function Qyn(e,n){var t;t=e.q.getHours()+(n/3600|0),e.q.setSeconds(n),Wy(e,t)}function Nee(e,n){var t,i;return t=n,i=vC(Ev(new gF(e,t))),KM(new gF(e,t)),i}function nl(e,n){return!e.o&&(e.o=new vo((su(),Gh),h1,e,0)),vR(e.o,n)}function $ee(e,n,t){u(e.b,68),u(e.b,68),u(e.b,68),Tu(e.a,new $Ie(t,n,e))}function Yyn(e,n,t,i){gXe(e,n,t,A4(e,n,i,F(n,103)&&(u(n,19).Bb&Yr)!=0))}function Sr(e,n,t){if(e<0||n>t||n<e)throw I(new rV(KS+e+Eue+n+vue+t))}function LLe(e,n,t){this.d=new AA,this.c=new Wn,this.a=e,this.e=n,this.c=t}function lF(e){e?(this.c=e,this.b=null):(this.c=null,this.b=new ve)}function hF(e,n){UA.call(this,e,n),this.a=ee(rRn,HS,438,2,0,1),this.b=!0}function Dee(e){VRe.call(this,e,0),ASe(this),this.d.b=this.d,this.d.a=this.d}function Lee(e){this.e=e,this.b=this.e.a.entries(),this.a=ee(ir,ln,1,0,5,1)}function Fu(e){jL(this),h7(e>=0,"Initial capacity must not be negative")}function D1(e,n){var t,i;return t=e.a-n.a,i=e.b-n.b,m.Math.sqrt(t*t+i*i)}function _ee(e,n,t){var i;i=e.b[t.c.p][t.p],i.b+=n.b,i.c+=n.c,i.a+=n.a,++i.a}function _Le(){_Le=J,sun=xu(kt(new Li,(dr(),Ff),(kr(),Pq)),fc,m3)}function Zyn(){return Xm(),$(N(g5,1),ae,231,0,[w5,q9,b5,yg,bp,dp])}function e9n(){return dS(),$(N(Yhe,1),ae,284,0,[tz,nz,rz,iz,cz,_P])}function n9n(){return mE(),$(N(cae,1),ae,282,0,[RP,tae,rae,nae,iae,uz])}function t9n(){return g4(),$(N(hae,1),ae,283,0,[U9,oae,lae,fae,sae,uae])}function i9n(){return Mh(),$(N(Lbe,1),ae,256,0,[sX,ox,sx,qO,GO,HO])}function r9n(){return yr(),$(N(Hwe,1),ae,102,0,[md,Jl,G5,S0,Jh,yu])}function c9n(){return Io(),$(N(QO,1),ae,280,0,[vd,Ea,yx,J8,B8,B3])}function u9n(){return r0(),$(N(aX,1),ae,299,0,[hX,N8,O8,lX,I8,P8])}function o9n(){return hS(),$(N($we,1),ae,328,0,[CX,Pwe,Nwe,Swe,Owe,Iwe])}function Fee(e){var n;return!e.a&&e.b!=-1&&(n=e.c.Ah(),e.a=cn(n,e.b)),e.a}function it(e,n){return e.Qi()&&e.Gc(n)?!1:(e.Fi(n),!0)}function tl(e,n){return v7(n,"Horizontal alignment cannot be null"),e.b=n,e}function FLe(e,n,t){Bt();var i;return i=W1(e,n),t&&i&&Cvn(e)&&(i=null),i}function Ba(e,n,t){var i,r;for(r=e.Jc();r.Ob();)i=u(r.Pb(),36),j4(i,n,t)}function Ree(e,n){var t,i;for(i=n.Jc();i.Ob();)t=u(i.Pb(),36),HUe(e,t,0,0)}function s9n(e){var n,t;for(t=rt(e.a,0);t.b!=t.d.c;)n=u(tt(t),65),vre(n)}function RLe(e,n){return FMe(e.e,n)||t0(e.e,n,new _Je(n)),u(El(e.e,n),113)}function Bo(e,n,t,i){return bn(e),bn(n),bn(t),bn(i),new fZ(e,n,new ku)}function vo(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=new oZ(this,n,t,i)}function aF(e,n,t,i,r,c){uee.call(this,n,i,r,c),this.c=e,this.b=t}function O7(e,n,t,i,r,c){uee.call(this,n,i,r,c),this.c=e,this.a=t}function N7(e,n){var t,i,r;return r=e.r,i=e.d,t=Yy(e,n,!0),t.b!=r||t.a!=i}function $7(e,n,t){var i,r;return r=(i=v4(e.b,n),i),r?_S(F7(e,r),t):null}function f9n(e,n,t){var i,r,c;i=Zh(e,t),r=null,i&&(r=ire(i)),c=r,$Je(n,t,c)}function l9n(e,n,t){var i,r,c;i=Zh(e,t),r=null,i&&(r=ire(i)),c=r,$Je(n,t,c)}function Bee(e,n,t){var i;e.d[n.g]=t,i=e.g.c,i[n.g]=m.Math.max(i[n.g],t+1)}function _v(e,n){var t;return t=e.Fh(n),t>=0?e.Ih(t,!0,!0):vb(e,n,!0)}function h9n(e,n){var t;return t=vn(e.k,n),Vre(e,n),NB(e,n),Bre(e,n,t),null}function a9n(e){var n;if(!e.a)throw I(new hNe);return n=e.a,e.a=pi(e.a),n}function d9n(e){if(e.b<=0)throw I(new $c);return--e.b,e.a-=e.c.c,le(e.a)}function b9n(e,n,t){var i;return i=JRe(e,n,t),e.b=new bT(i.c.length),rce(e,i)}function Nm(e){var n;return st(e),F(e,204)?(n=u(e,204),n):new pke(e)}function w9n(e){for(;!e.a;)if(!EIe(e.c,new Uke(e)))return!1;return!0}function g9n(e,n){e.a.Le(n.d,e.b)>0&&(me(e.c,new FY(n.c,n.d,e.d)),e.b=n.d)}function Jee(e,n){if(e.g==null||n>=e.i)throw I(new pL(n,e.i));return e.g[n]}function BLe(e){var n;if(e.ll())for(n=e.i-1;n>=0;--n)R(e,n);return lee(e)}function p9n(e){zC(),u(e.mf((jt(),Rg)),182).Ec((Io(),yx)),e.of(EX,null)}function zC(){zC=J,hfn=new Q5e,dfn=new Y5e,afn=Pkn((jt(),EX),hfn,wd,dfn)}function UC(){UC=J,h0e=new YV("LEAF_NUMBER",0),PU=new YV("NODE_SIZE",1)}function JLe(){JLe=J,NS(),Bge=xi,jhn=lr,Jge=new kk(xi),xhn=new kk(lr)}function m9n(e){return F(e,180)?""+u(e,180).a:e==null?null:Oc(e)}function v9n(e){return F(e,180)?""+u(e,180).a:e==null?null:Oc(e)}function $s(e,n,t,i,r){return n<0?vb(e,t,i):u(t,69).uk().wk(e,e.ei(),n,i,r)}function Fv(e,n,t,i){var r;i=(nb(),i||dle),r=e.slice(n,t),dre(r,e,n,t,-n,i)}function GLe(e,n){var t,i;return i=n/e.c.Pd().gc()|0,t=n%e.c.Pd().gc(),Om(e,i,t)}function Gee(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[0];)t=n;return t}function HLe(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[1];)t=n;return t}function qLe(e,n,t){if(Yv(e,t),t!=null&&!e.dk(t))throw I(new lD);return t}function dF(e,n){return J7(n)!=10&&$(ns(n),n.Qm,n.__elementTypeId$,J7(n),e),e}function Hee(e,n){vM.call(this,n.xd(),n.wd()&-16449),bn(e),this.a=e,this.c=n}function qee(e,n,t,i,r){GTe(this),this.b=e,this.d=n,this.f=t,this.g=i,this.c=r}function zLe(e,n){if(n.a)throw I(new Dc(LWe));Hi(e.a,n),n.a=e,!e.j&&(e.j=n)}function So(){So=J,dh=new JD(c3,0),rd=new JD(_4,1),Lf=new JD(u3,2)}function Rv(){Rv=J,oq=new XA("All",0),sq=new STe,fq=new BTe,lq=new ITe}function ULe(){ULe=J,pen=lt((Rv(),$(N(tP,1),ae,310,0,[oq,sq,fq,lq])))}function XLe(){XLe=J,wtn=lt((xT(),$(N(btn,1),ae,367,0,[$q,SP,IP,Ij])))}function KLe(){KLe=J,ttn=lt((Hm(),$(N(Ule,1),ae,383,0,[J9,zle,Cq,Tq])))}function WLe(){WLe=J,unn=lt((lb(),$(N(cnn,1),ae,409,0,[Aj,xj,wq,gq])))}function VLe(){VLe=J,Vnn=lt((Wv(),$(N(Wnn,1),ae,408,0,[Lb,gg,wg,lp])))}function QLe(){QLe=J,_tn=lt((Ty(),$(N(zhe,1),ae,301,0,[z9,Hhe,Oj,qhe])))}function YLe(){YLe=J,Ucn=lt((Uw(),$(N(Vz,1),ae,203,0,[bO,Wz,Mp,Ap])))}function ZLe(){ZLe=J,Wcn=lt((la(),$(N(dde,1),ae,269,0,[hd,ade,eU,nU])))}function e_e(){e_e=J,Mtn=lt((Pf(),$(N(Atn,1),ae,413,0,[vg,a5,d5,Dq])))}function n_e(){n_e=J,Eun=lt((n0(),$(N(kun,1),ae,404,0,[Vj,d8,mO,pO])))}function t_e(){t_e=J,usn=lt((eS(),$(N(I0e,1),ae,354,0,[DU,T0e,S0e,C0e])))}function i_e(){i_e=J,Ion=lt((yy(),$(N(o0e,1),ae,353,0,[xU,CO,jU,EU])))}function r_e(){r_e=J,con=lt((Um(),$(N(Sde,1),ae,398,0,[EO,g8,p8,m8])))}function c_e(){c_e=J,lsn=lt((lS(),$(N(fsn,1),ae,401,0,[JU,FU,BU,RU])))}function u_e(){u_e=J,Vfn=lt((n4(),$(N(Cwe,1),ae,278,0,[wx,WO,Awe,Mwe])))}function o_e(){o_e=J,Yfn=lt((fa(),$(N(MX,1),ae,222,0,[AX,gx,J5,R3])))}function s_e(){s_e=J,iln=lt((gs(),$(N(tln,1),ae,292,0,[mx,Rh,gd,px])))}function f_e(){f_e=J,pln=lt((DC(),$(N(Mx,1),ae,288,0,[Vwe,Ywe,IX,Qwe])))}function l_e(){l_e=J,bln=lt((rs(),$(N(G8,1),ae,380,0,[jx,I0,Ex,Hg])))}function h_e(){h_e=J,mln=lt((_T(),$(N(tge,1),ae,327,0,[PX,Zwe,nge,ege])))}function a_e(){a_e=J,kln=lt((MT(),$(N(yln,1),ae,407,0,[OX,rge,ige,cge])))}function D7(){D7=J,Zhe=new JV(ul,0),FP=new JV("IMPROVE_STRAIGHTNESS",1)}function XC(){XC=J,WU=new fL(eQe,0),ibe=new fL(lse,1),tbe=new fL(ul,2)}function bF(e){e.a=ee(bt,Pt,30,e.b+1,15,1),e.c=ee(bt,Pt,30,e.b,15,1),e.d=0}function L7(e){var n;for(n=e.p+1;n<e.c.a.c.length;++n)--u(Ce(e.c.a,n),9).p}function wF(e){var n;n=e.hj(),n!=null&&e.d!=-1&&u(n,94).uh(e),e.i&&e.i.mj()}function Ja(e){var n;return Ic(e)&&(n=0-e,!isNaN(n))?n:_1(Vv(e))}function zee(e){var n;if(!NF(e))throw I(new $c);return e.e=1,n=e.d,e.d=null,n}function gF(e,n){var t;this.f=e,this.b=n,t=u(vn(e.b,n),262),this.c=t?t.b:null}function no(e,n){var t;return t=Rc(e,n,0),t==-1?!1:(Ra(e,t),!0)}function d_e(e,n){var t;return t=u(Pm(e.e,n),393),t?(JY(t),t.e):null}function Rc(e,n,t){for(;t<e.c.length;++t)if(du(n,e.c[t]))return t;return-1}function b_e(e,n,t){var i;return I1(e),i=new zl,i.a=n,e.a.Nb(new zMe(i,t)),i.a}function y9n(e){var n;return I1(e),n=ee(jr,wc,30,0,15,1),h2(e.a,new Hke(n)),n}function k9n(e,n){return Qt(q(K(j(e,(fe(),Jb)))),q(K(j(n,Jb))))}function E9n(e,n){return new KL(n,pw(Xr(n.e),n.f.a+e,n.f.b+e),(gn(),!1))}function j9n(e,n){return jv(),me(e,new Qr(n,le(n.e.c.length+n.g.c.length)))}function x9n(e,n){return jv(),me(e,new Qr(n,le(n.e.c.length+n.g.c.length)))}function KC(e,n){return du(n,Ce(e.f,0))||du(n,Ce(e.f,1))||du(n,Ce(e.f,2))}function _7(e,n){if(n<0)throw I(new Lu(wQe+n));return cDe(e,n+1),Ce(e.j,n)}function A9n(e,n,t,i,r){return bn(e),bn(n),bn(t),bn(i),bn(r),new fZ(e,n,i)}function Uee(e,n){w6();var t,i;return t=Sm(e),i=Sm(n),!!t&&!!i&&!GJe(t.k,i.k)}function F7(e,n){var t,i;return t=u(n,680),i=t.ui(),!i&&t.xi(i=new QCe(e,n)),i}function vc(e,n){var t,i;return t=u(n,682),i=t.Yk(),!i&&t.al(i=new P$e(e,n)),i}function pF(e){var n,t;return t=u(Ce(e.j,0),12),n=u(j(t,(fe(),Ut)),12),n}function Jo(e){return e.b||(e.b=new DPe(e,hc,e),!e.a&&(e.a=new r7(e,e))),e.b}function sy(){sy=J,kq=new HD("XY",0),yq=new HD("X",1),Eq=new HD("Y",2)}function R7(){R7=J,tU=new qV("INPUT_ORDER",0),iU=new qV("PORT_DEGREE",1)}function w_e(){fs(),this.b=new Wn,this.f=new Wn,this.g=new Wn,this.e=new Wn}function WC(e){jM(this),this.g=e?kC(e,e.ge()):null,this.f=e,gC(this),this.he()}function ia(e,n,t,i,r,c,o){CF.call(this,n,i,r,c,o),this.c=e,this.b=t}function g_e(e,n,t,i){if(!e)throw I(new xn(Uy(n,$(N(ir,1),ln,1,5,[t,i]))))}function Ah(e,n,t){var i,r;for(i=10,r=0;r<t-1;r++)n<i&&(e.a+="0"),i*=10;e.a+=n}function p_e(e,n){xle=new Y5,onn=n,F9=e,u(F9.b,68),$ee(F9,xle,null),KXe(F9)}function VC(e){var n,t;return t=e.length,n=ee(Vs,uh,30,t,15,1),oOe(e,0,t,n,0),n}function B7(e){vPe();var n,t;return n=e+128,t=Yfe[n],!t&&(t=Yfe[n]=new $ke(e)),t}function m_e(e){return HL(e.d.a.e.g,e.b),Hn(e.c!=e.d.a.d),e.a=e.c,e.c=e.c.a,e.a}function v_e(e){ww(!!e.c),HL(e.f.g,e.d),e.c.Qb(),e.c=null,e.b=Nne(e),e.d=e.f.g}function Xee(e){var n;return e.Lh()||(n=Un(e.Ah())-e.gi(),e.Xh().Kk(n)),e.wh()}function Kee(e){var n;return n=Dm(Mn(e,32)),n==null&&(Uu(e),n=Dm(Mn(e,32))),n}function mF(e,n){var t;return t=vi(e.d,n),t>=0?WT(e,t,!0,!0):vb(e,n,!0)}function M9n(e,n){pm(u(u(e.f,26).mf((jt(),$8)),102))&&KBe(SZ(u(e.f,26)),n)}function y_e(e,n){Go(e,n==null||DM((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function k_e(e,n){sb(e,n==null||DM((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function E_e(e,n){ob(e,n==null||DM((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function j_e(e,n){Ho(e,n==null||DM((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function x_e(e){(this.q?this.q:(tn(),tn(),$h)).zc(e.q?e.q:(tn(),tn(),$h))}function vF(e,n,t){var i;return i=e.g[n],F6(e,n,e.Xi(n,t)),e.Pi(n,t,i),e.Li(),i}function QC(e,n){var t;return t=e.bd(n),t>=0?(e.ed(t),!0):!1}function yF(e){var n;return e.d!=e.r&&(n=uf(e),e.e=!!n&&n.jk()==nZe,e.d=n),e.e}function kF(e,n){var t;for(st(e),st(n),t=!1;n.Ob();)t=t|e.Ec(n.Pb());return t}function El(e,n){var t;return t=u(vn(e.e,n),393),t?(YTe(e,t),t.e):null}function EF(e){var n;return n=e.b.c.length==0?null:Ce(e.b,0),n!=null&&PF(e,0),n}function Pc(e,n){var t,i;return G1(e),i=new Tee(n,e.a),t=new xIe(i),new Ve(e,t)}function to(){to=J,fl=new GD("TOP",0),cd=new GD(_4,1),_f=new GD(Cue,2)}function ra(){ra=J,Lj=new WD(ul,0),pp=new WD("TOP",1),v3=new WD(Cue,2)}function fy(){fy=J,Znn=new E$,etn=new eA,Qnn=new j$,Ynn=new x$,ntn=new A$}function Bv(){Bv=J,Kfe=zu(Xo,Xo,524287),nen=zu(0,0,XE),Wfe=iF(1),iF(2),Vfe=iF(0)}function Dw(e,n){var t=e.a[n],i=(UF(),nq)[typeof t];return i?i(t):ute(typeof t)}function A_e(e){var n,t;return n=e/60|0,t=e%60,t==0?""+n:""+n+":"+(""+t)}function C9n(e){return yie(e,(Bv(),Vfe))<0?-Sgn(Vv(e)):e.l+e.m*r3+e.h*s0}function T9n(e){switch(e.g){case 0:return _t;case 1:return Mr;default:return 0}}function J7(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function S9n(e,n){return F(n,103)&&(u(n,19).Bb&Yr)!=0?new mL(n,e):new Uv(n,e)}function I9n(e,n){return F(n,103)&&(u(n,19).Bb&Yr)!=0?new mL(n,e):new Uv(n,e)}function P9n(e,n,t){return am(new be(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)==(bn(n),n)}function O9n(e,n){var t,i,r;r=n.c.i,t=u(vn(e.f,r),60),i=t.d.c-t.e.c,Mne(n.a,i,0)}function Wee(e,n){var t;for(++e.d,++e.c[n],t=n+1;t<e.a.length;)++e.a[t],t+=t&-t}function N9n(e,n){var t;for(t=0;e.e!=e.i.gc();)cvn(n,Jn(e),le(t)),t!=_t&&++t}function M_e(e){var n;for(++e.a,n=e.c.a.length;e.a<n;++e.a)if(e.c.b[e.a])return}function $9n(e){var n,t;if(e.a){t=null;do n=e.a,e.a=null,t=UHe(n,t);while(e.a);e.a=t}}function D9n(e){var n,t;if(e.b){t=null;do n=e.b,e.b=null,t=UHe(n,t);while(e.b);e.b=t}}function Vee(e){if(!e.c)throw I(new $c);return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function C_e(e){if(!e.e)throw I(new $c);return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function L9n(e,n){var t;return t=ab(e.e.c,n.e.c),t==0?Qt(e.e.d,n.e.d):t}function _9n(e,n){var t,i;for(i=n.c,t=i+1;t<=n.f;t++)e.a[t]>e.a[i]&&(i=t);return i}function T_e(e){var n;return n=u(j(e,(fe(),Rb)),318),n?n.a==e:!1}function S_e(e){var n;return n=u(j(e,(fe(),Rb)),318),n?n.i==e:!1}function I_e(e,n){return n==(qL(),qL(),ben)?e.toLocaleLowerCase():e.toLowerCase()}function P_e(){P_e=J,znn=lt((dr(),$(N(Hle,1),ae,363,0,[Ff,Dh,vu,lu,fc])))}function O_e(){O_e=J,Xcn=lt((Py(),$(N(Zz,1),ae,303,0,[ude,Qz,Yz,f8,S5])))}function N_e(){N_e=J,Ttn=lt((Xw(),$(N(Ctn,1),ae,371,0,[Pj,NP,$P,OP,PP])))}function $_e(){$_e=J,Fon=lt((sS(),$(N(_on,1),ae,364,0,[SU,MU,IU,CU,TU])))}function D_e(){D_e=J,Rsn=lt((Hy(),$(N(Fsn,1),ae,369,0,[Pp,O3,T8,C8,cx])))}function L_e(){L_e=J,zsn=lt((yE(),$(N(dbe,1),ae,330,0,[lbe,nX,abe,tX,hbe])))}function __e(){__e=J,ein=lt((ts(),$(N(Cae,1),ae,165,0,[Bj,Y9,ma,Z9,y0])))}function F_e(){F_e=J,bfn=lt((th(),$(N(_l,1),ae,160,0,[un,Ri,al,s1,ya])))}function R_e(){R_e=J,Wfn=lt((Vi(),$(N(D8,1),ae,86,0,[Bl,Tc,jc,Rl,Xs])))}function B_e(){B_e=J,sln=lt((ke(),$(N(ec,1),fu,64,0,[qc,Cn,$n,Xn,Tn])))}function J_e(){J_e=J,cln=lt((B2(),$(N(R8,1),ae,257,0,[pd,vx,Jwe,F8,Gwe])))}function YC(){YC=J,pq=new LV("EADES",0),uP=new LV("FRUCHTERMAN_REINGOLD",1)}function G7(){G7=J,LP=new BV("READING_DIRECTION",0),Vhe=new BV("ROTATION",1)}function G_e(e){this.g=e,this.f=new ve,this.a=m.Math.min(this.g.c.c,this.g.d.c)}function H_e(e){this.b=new ve,this.a=new ve,this.c=new ve,this.d=new ve,this.e=e}function q_e(e,n,t,i){Bt(),B0.call(this,26),this.c=e,this.a=n,this.d=t,this.b=i}function z_e(e,n,t){NM.call(this),Qee(this),this.a=e,this.c=t,this.b=n.d,this.f=n.e}function F9n(e,n,t){var i,r;for(r=new S(t);r.a<r.c.c.length;)i=T(r),Lie(e,n,i)}function R9n(e,n,t){var i;return i=e.a.e[u(n.a,9).p]-e.a.e[u(t.a,9).p],Br(d7(i))}function jF(e,n){var t;return t=u(vn(e.a,n),150),t||(t=new gk,It(e.a,n,t)),t}function Tf(e,n,t){var i;if(n==null)throw I(new Vp);return i=Zh(e,n),Q6n(e,n,t),i}function cn(e,n){var t;return t=(e.i==null&&rh(e),e.i),n>=0&&n<t.length?t[n]:null}function U_e(e,n){return bn(n),rZ(e),e.d.Ob()?(n.Ad(e.d.Pb()),!0):!1}function ZC(e){return Su(e,_t)>0?_t:Su(e,Mr)<0?Mr:wt(e)}function B9n(e,n){return $m(),-ju(u(j(e,(Wc(),Tp)),15).a,u(j(n,Tp),15).a)}function J9n(){return pn(),$(N(Sq,1),ae,249,0,[Ai,qi,Ui,Nu,hu,Dl,Tj,G9])}function G9n(){return m4(),$(N(fN,1),ae,244,0,[LX,oN,sN,uN,DX,cN,rN,$X])}function H9n(){return c0(),$(N(wfn,1),ae,285,0,[Nbe,nr,qr,$3,Nr,gi,N3,Fl])}function q9n(){return TS(),$(N(Bhe,1),ae,275,0,[Fq,Jq,_q,qq,Bq,Rq,Hq,Gq])}function X_e(e,n){return!!by(e,n,wt(Hr(Ih,jh(wt(Hr(n==null?0:si(n),Ph)),15))))}function z9n(e,n){var t;return t=n>0?n-1:n,bAe(Dbn(dFe(BY(new Zp,t),e.n),e.j),e.k)}function yc(e){var n,t;t=(n=new wD,n),it((!e.q&&(e.q=new se(gf,e,11,10)),e.q),t)}function U9n(e,n){var t,i;return t=u(Gw(e.d,n),18),t?(i=n,e.e.pc(i,t)):null}function eT(e,n){var t;return G1(e),t=new iNe(e,e.a.xd(),e.a.wd()|4,n),new Ve(e,t)}function xF(e){var n;ww(!!e.c),n=e.c.a,Ds(e.d,e.c),e.b==e.c?e.b=n:--e.a,e.c=null}function K_e(e){return e.a>=-.01&&e.a<=Il&&(e.a=0),e.b>=-.01&&e.b<=Il&&(e.b=0),e}function X9n(e){var n;return n=q(K(j(e,(ye(),r1)))),n<0&&(n=0,ie(e,r1,n)),n}function K9n(e,n){pm(u(j(u(e.e,9),(ye(),Ti)),102))&&(tn(),ur(u(e.e,9).j,n))}function nT(e,n){var t,i;for(i=e.Jc();i.Ob();)t=u(i.Pb(),70),ie(t,(fe(),x3),n)}function W9n(e,n,t){var i;i=m.Math.max(0,e.b/2-.5),$y(t,i,1),me(n,new VMe(t,i))}function V9n(e,n,t,i){var r;e.j=-1,Mre(e,rre(e,n,t),(tc(),r=u(n,69).tk(),r.vl(i)))}function W_e(e,n,t,i,r,c){var o;o=rF(i),Jr(o,r),xr(o,c),Qe(e.a,i,new LM(o,n,t.f))}function V_e(e,n){Yt(e,(Ch(),HU),n.f),Yt(e,asn,n.e),Yt(e,GU,n.d),Yt(e,hsn,n.c)}function Q9n(e,n){if(0>e||e>n)throw I(new cV("fromIndex: 0, toIndex: "+e+vue+n))}function ub(e){if(e<0)throw I(new xn("Illegal Capacity: "+e));this.g=this.$i(e)}function Q_e(e){this.d=e,this.c=e.c.vc().Jc(),this.b=null,this.a=null,this.e=(SA(),VH)}function Lw(e,n){var t;for(t=e;pi(t);)if(t=pi(t),t==n)return!0;return!1}function Y9n(e,n){return n&&e.b[n.g]==n?(Ni(e.b,n.g,null),--e.c,!0):!1}function Ds(e,n){var t;return t=n.c,n.a.b=n.b,n.b.a=n.a,n.a=n.b=null,n.c=null,--e.b,t}function Y_e(e,n){var t;if(t=SE(e.Ah(),n),!t)throw I(new xn(nd+n+bH));return t}function I2(e){k4();var n,t;for(t=dse,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return t}function Z9n(e){var n;for(n=0;n<e.c.length;n++)(en(n,e.c.length),u(e.c[n],12)).p=n}function e8n(e){var n,t;for(n=e.a.d.j,t=e.c.d.j;n!=t;)If(e.b,n),n=OT(n);If(e.b,n)}function n8n(e,n){var t,i,r;for(i=n.a.jd(),t=u(n.a.kd(),18).gc(),r=0;r<t;r++)e.Ad(i)}function Tu(e,n){var t,i,r,c;for(bn(n),i=e.c,r=0,c=i.length;r<c;++r)t=i[r],n.Ad(t)}function AF(e,n){var t,i,r,c;for(i=e.d,r=0,c=i.length;r<c;++r)t=i[r],pl(e.g,t).a=n}function t8n(e,n,t){var i,r,c;for(r=n[t],i=0;i<r.length;i++)c=r[i],e.e[c.c.p][c.p]=i}function Z_e(e,n,t){var i,r;i=n;do r=q(e.p[i.p])+t,e.p[i.p]=r,i=e.a[i.p];while(i!=n)}function i8n(e){var n;return n=m.Math.sqrt(e.a*e.a+e.b*e.b),n>0&&(e.a/=n,e.b/=n),e}function tT(e){this.b=(st(e),new Co(e)),this.a=new ve,this.d=new ve,this.e=new Cr}function Qee(e){e.b=(So(),rd),e.f=(to(),cd),e.d=(bs(2,rg),new Fu(2)),e.e=new Cr}function il(){il=J,Yc=new BD("BEGIN",0),Hu=new BD(_4,1),Zc=new BD("END",2)}function jl(){jl=J,R5=new aL(_4,0),Gg=new aL("HEAD",1),B5=new aL("TAIL",2)}function $m(){$m=J,Non=nh(nh(nh(m6(new Li,(Um(),g8)),(Xy(),hU)),Nde),_de)}function ca(){ca=J,Don=nh(nh(nh(m6(new Li,(Um(),m8)),(Xy(),Dde)),Ide),$de)}function eFe(){eFe=J,rP=(il(),$(N(bg,1),ae,237,0,[Yc,Hu,Zc])).length,dq=rP}function nFe(e,n){for(;n[0]<e.length&&Kl(` \r
|
|
8
8
|
`,io(Dr(e,n[0])))>=0;)++n[0]}function Jv(e,n){var t,i;i=e.a,t=F7n(e,n,null),i!=n&&!e.e&&(t=T4(e,n,t)),t&&t.mj()}function ds(e){var n;return e.w?e.w:(n=z5n(e),n&&!n.Sh()&&(e.w=n),n)}function r8n(e){var n;return e==null?null:(n=u(e,195),UMn(n,n.length))}function R(e,n){if(e.g==null||n>=e.i)throw I(new pL(n,e.i));return e.Ui(n,e.g[n])}function c8n(e,n){tn();var t,i;for(i=new ve,t=0;t<e;++t)jn(i.c,n);return new TD(i)}function tFe(e){return G1(e),vm(!0,"n may not be negative"),new Ve(e,new xFe(e.a))}function Yee(e){return((e.i&2)!=0?"interface ":(e.i&1)!=0?"":"class ")+(Vh(e),e.o)}function Zee(e,n){return gl(),Sf(V1),m.Math.abs(e-n)<=V1||e==n||isNaN(e)&&isNaN(n)}function ene(e,n){return gl(),Sf(V1),m.Math.abs(e-n)<=V1||e==n||isNaN(e)&&isNaN(n)}function u8n(e,n){return z1(),ju(e.b.c.length-e.e.c.length,n.b.c.length-n.e.c.length)}function P2(e,n){return Bbn(dy(e,n,wt(Hr(Ih,jh(wt(Hr(n==null?0:si(n),Ph)),15)))))}function o8n(e,n){var t;return t=fr(Xr(u(vn(e.g,n),8)),yQ(u(vn(e.f,n),460).b)),t}function iFe(e,n,t){var i=function(){return e.apply(i,arguments)};return n.apply(i,t),i}function Dm(e){var n;return H6(e==null||Array.isArray(e)&&(n=J7(e),!(n>=14&&n<=16))),e}function rFe(){rFe=J,Dtn=lt((Xm(),$(N(g5,1),ae,231,0,[w5,q9,b5,yg,bp,dp])))}function cFe(){cFe=J,Htn=lt((dS(),$(N(Yhe,1),ae,284,0,[tz,nz,rz,iz,cz,_P])))}function uFe(){uFe=J,ztn=lt((mE(),$(N(cae,1),ae,282,0,[RP,tae,rae,nae,iae,uz])))}function oFe(){oFe=J,Utn=lt((g4(),$(N(hae,1),ae,283,0,[U9,oae,lae,fae,sae,uae])))}function sFe(){sFe=J,pfn=lt((Mh(),$(N(Lbe,1),ae,256,0,[sX,ox,sx,qO,GO,HO])))}function fFe(){fFe=J,uln=lt((yr(),$(N(Hwe,1),ae,102,0,[md,Jl,G5,S0,Jh,yu])))}function lFe(){lFe=J,oln=lt((Io(),$(N(QO,1),ae,280,0,[vd,Ea,yx,J8,B8,B3])))}function hFe(){hFe=J,jfn=lt((r0(),$(N(aX,1),ae,299,0,[hX,N8,O8,lX,I8,P8])))}function aFe(){aFe=J,Zfn=lt((hS(),$(N($we,1),ae,328,0,[CX,Pwe,Nwe,Swe,Owe,Iwe])))}function s8n(){return Qw(),$(N(lc,1),ae,96,0,[Jf,ka,Gf,qf,Bh,df,js,Hf,af])}function ly(){ly=J,kx=new bL(ofe,0),TX=new bL("PARENT",1),zwe=new bL("ROOT",2)}function dFe(e,n){return e.n=n,e.n?(e.f=new ve,e.e=new ve):(e.f=null,e.e=null),e}function ob(e,n){var t;t=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,3,t,e.f))}function iT(e,n){var t;t=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,0,t,e.a))}function rT(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,1,t,e.b))}function O2(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,3,t,e.b))}function N2(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,4,t,e.c))}function sb(e,n){var t;t=e.g,e.g=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,4,t,e.g))}function Go(e,n){var t;t=e.i,e.i=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,5,t,e.i))}function Ho(e,n){var t;t=e.j,e.j=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,6,t,e.j))}function $2(e,n){var t;t=e.j,e.j=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,1,t,e.j))}function D2(e,n){var t;t=e.k,e.k=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,2,t,e.k))}function MF(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Z_(e,2,t,e.d))}function Ga(e,n){var t;t=e.s,e.s=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Z_(e,4,t,e.s))}function _w(e,n){var t;t=e.t,e.t=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Z_(e,5,t,e.t))}function Gv(e,n){var t;t=e.F,e.F=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,5,t,n))}function H7(e,n){var t;return t=u(vn((HA(),lN),e),58),t?t.ek(n):ee(ir,ln,1,n,5,1)}function ua(e,n){var t,i;return t=n in e.a,t&&(i=Zh(e,n).pe(),i)?i.a:null}function f8n(e,n){var t,i,r;return t=(i=(j1(),r=new KK,r),n&&Yre(i,n),i),gne(t,e),t}function bFe(e,n,t){var i;return i=f4(t),It(e.c,i,n),It(e.d,n,t),It(e.e,n,Tw(n)),n}function et(e,n,t,i,r,c){var o;return o=v_(e,n),gFe(t,o),o.i=r?8:0,o.f=i,o.e=r,o.g=c,o}function nne(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=e,this.a=t}function tne(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=e,this.a=t}function ine(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=e,this.a=t}function rne(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=e,this.a=t}function cne(e,n,t,i,r){this.d=n,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=e,this.a=t}function wFe(e,n){var t,i,r,c;for(i=n,r=0,c=i.length;r<c;++r)t=i[r],zLe(e.a,t);return e}function Ls(e){var n,t,i,r;for(t=e,i=0,r=t.length;i<r;++i)n=t[i],st(n);return new gTe(e)}function une(e){var n;return n=fr(Xr(e.d.d),e.c.d),d4(n,e.c.e.a,e.c.e.b),zt(n,e.c.d)}function one(e){var n;return n=fr(Xr(e.c.d),e.d.d),d4(n,e.d.e.a,e.d.e.b),zt(n,e.d.d)}function l8n(e){var n=/function(?:\s+([\w$]+))?\s*\(/,t=n.exec(e);return t&&t[1]||dJ}function gFe(e,n){if(e){n.n=e;var t=Y4n(n);if(!t){WI[e]=[n];return}t.Pm=n}}function h8n(e,n,t){var i,r;return r=e.length,i=m.Math.min(t,r),Are(e,0,n,0,i,!0),n}function pFe(e,n,t){if(Yv(e,t),!e.il()&&t!=null&&!e.dk(t))throw I(new lD);return t}function ft(e,n){var t;return bn(n),t=e[":"+n],h7(!!t,"Enum constant undefined: "+n),t}function a8n(e,n){var t,i;return t=e.c,i=n.e[e.p],i>0?u(Ce(t.a,i-1),9):null}function Sf(e){if(!(e>=0))throw I(new xn("tolerance ("+e+") must be >= 0"));return e}function hy(){return uX||(uX=new OUe,Rm(uX,$(N(w3,1),ln,148,0,[new YK]))),uX}function cT(){cT=J,Ede=new nL("NO",0),sU=new nL(Bue,1),kde=new nL("LOOK_BACK",2)}function uT(){uT=J,Uhe=new zD("ARD",0),DP=new zD("MSD",1),Uq=new zD("MANUAL",2)}function rc(){rc=J,h8=new YD(o9,0),No=new YD("INPUT",1),qu=new YD("OUTPUT",2)}function q7(e,n){var t;if(t=e.gc(),n<0||n>t)throw I(new yw(n,t));return new pY(e,n)}function ay(e,n){var t,i,r,c;for(i=n,r=0,c=i.length;r<c;++r)t=i[r],ji(e,t,e.c.b,e.c)}function mFe(e,n){var t;return F(n,45)?e.c.Kc(n):(t=vR(e,n),GT(e,n),t)}function bc(e,n,t){return e0(e,n),Ru(e,t),Ga(e,0),_w(e,1),Xa(e,!0),Ua(e,!0),e}function CF(e,n,t,i,r){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1,r||(this.o=-2-i-1)}function vFe(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=null,this.c=new vIe(this,n,t,i)}function yFe(){AQ.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=Df}function kFe(e){ww(e.c>=0),ejn(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function oT(e,n){e.b=m.Math.max(e.b,n.d),e.e+=n.r+(e.a.c.length==0?0:e.c),me(e.a,n)}function d8n(e,n){n.Tg("Hierarchical port constraint processing",1),Djn(e),IFn(e),n.Ug()}function sT(e){var n,t;for(t=e.c.Bc().Jc();t.Ob();)n=u(t.Pb(),18),n.$b();e.c.$b(),e.d=0}function EFe(e,n){var t,i;for(t=0,i=e.gc();t<i;++t)if(du(n,e.Xb(t)))return t;return-1}function b8n(e){var n,t,i,r;for(t=e.a,i=0,r=t.length;i<r;++i)n=t[i],sOe(n,n.length,null)}function w8n(){EMe();for(var e=zH,n=0;n<arguments.length;n++)e.push(arguments[n])}function g8n(e){var n,t;for(t=new S(vGe(e));t.a<t.c.c.length;)n=u(T(t),685),n.Zf()}function sne(e){var n,t;if(e==0)return 32;for(t=0,n=1;(n&e)==0;n<<=1)++t;return t}function bs(e,n){if(e<0)throw I(new xn(n+" cannot be negative but was: "+e));return e}function jFe(e){jV(),this.g=new Wn,this.f=new Wn,this.b=new Wn,this.c=new ib,this.i=e}function fne(){this.f=new Cr,this.d=new qW,this.c=new Cr,this.a=new ve,this.b=new ve}function xFe(e){vM.call(this,e.yd(64)?gQ(0,cf(e.xd(),1)):qE,e.wd()),this.b=1,this.a=e}function p8n(e,n){var t,i,r;r=n.c.i,t=u(vn(e.f,r),60),i=t.d.c-t.e.c,Tu(n.b,new q7e(i))}function fT(e,n){return Rbn(by(e.a,n,wt(Hr(Ih,jh(wt(Hr(n==null?0:si(n),Ph)),15)))))}function m8n(){return Uo(),$(N(Xwe,1),ae,266,0,[H5,Ax,YO,H8,ZO,nN,eN,SX,xx])}function v8n(){return ME(),$(N(Whe,1),ae,267,0,[Wq,Khe,Qq,Yq,Vq,Zq,Nj,Kq,Xq])}function y8n(){return TE(),$(N(ide,1),ae,268,0,[Xz,ede,nde,zz,Z1e,tde,aO,qz,Uz])}function AFe(){AFe=J,ten=$(N(bt,1),Pt,30,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function lne(){lne=J,hun=kt(kt(kt(new Li,(dr(),Ff),(kr(),hp)),Dh,mg),vu,pg)}function MFe(){MFe=J,aun=kt(kt(kt(new Li,(dr(),Ff),(kr(),hp)),Dh,mg),vu,pg)}function hne(){hne=J,dun=kt(kt(kt(new Li,(dr(),Ff),(kr(),hp)),Dh,mg),vu,pg)}function CFe(){CFe=J,bun=kt(kt(kt(new Li,(dr(),Ff),(kr(),hp)),Dh,mg),vu,pg)}function TFe(){TFe=J,wun=kt(kt(kt(new Li,(dr(),Ff),(kr(),hp)),Dh,mg),vu,pg)}function SFe(){SFe=J,gun=kt(kt(kt(new Li,(dr(),Ff),(kr(),hp)),Dh,mg),vu,pg)}function IFe(){IFe=J,vun=xu(kt(kt(new Li,(dr(),vu),(kr(),kP)),lu,gP),fc,yP)}function k8n(e,n){return $m(),u(j(n,(Wc(),Tp)),15).a<e.gc()&&u(j(n,Tp),15).a>=0}function ane(e,n){e.r>0&&e.c<e.r&&(e.c+=n,e.i&&e.i.d>0&&e.g!=0&&ane(e.i,n/e.r*e.i.d))}function dne(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,1,t,e.c))}function TF(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,4,t,e.c))}function bne(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,1,t,e.c))}function wne(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,1,t,e.d))}function Hv(e,n){var t;t=e.k,e.k=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,2,t,e.k))}function SF(e,n){var t;t=e.D,e.D=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,2,t,e.D))}function lT(e,n){var t;t=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,8,t,e.f))}function hT(e,n){var t;t=e.i,e.i=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,7,t,e.i))}function gne(e,n){var t;t=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,8,t,e.a))}function pne(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,0,t,e.b))}function mne(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,0,t,e.b))}function E8n(e,n,t){var i;e.b=n,e.a=t,i=(e.a&512)==512?new Lxe:new QK,e.c=ZPn(i,e.b,e.a)}function PFe(e,n){return ha(e.e,n)?(tc(),yF(n)?new zM(n,e):new Wk(n,e)):new nTe(n,e)}function j8n(e){var n,t;return 0>e?new EV:(n=e+1,t=new BDe(n,e),new VQ(null,t))}function x8n(e,n){tn();var t;return t=new cm(1),mr(e)?mc(t,e,n):ro(t.f,e,n),new uD(t)}function A8n(e,n){var t;t=new Y5,u(n.b,68),u(n.b,68),u(n.b,68),Tu(n.a,new MY(e,t,n))}function vne(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,11,t,e.d))}function OFe(e,n){var t,i;for(i=n.vc().Jc();i.Ob();)t=u(i.Pb(),45),gE(e,t.jd(),t.kd())}function aT(e,n){var t;t=e.j,e.j=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,13,t,e.j))}function NFe(e,n){var t;return F(n,8)?(t=u(n,8),e.a==t.a&&e.b==t.b):!1}function M8n(e){var n;return n=j(e,(fe(),Ut)),F(n,174)?YBe(u(n,174)):null}function $Fe(e){var n;return e=m.Math.max(e,2),n=Bne(e),e>n?(n<<=1,n>0?n:t9):n}function yne(e){var n;return e.b==null?($a(),$a(),Nx):(n=e.sl()?e.rl():e.ql(),n)}function L2(e){var n;return HL(e.f.g,e.d),Hn(e.b),e.c=e.a,n=u(e.a.Pb(),45),e.b=Nne(e),n}function IF(e,n){var t=e.a,i=0;for(var r in t)t.hasOwnProperty(r)&&(n[i++]=r);return n}function If(e,n){var t;return bn(n),t=n.g,e.b[t]?!1:(Ni(e.b,t,n),++e.c,!0)}function DFe(e,n){var t;return t=n==null?-1:Rc(e.b,n,0),t<0?!1:(PF(e,t),!0)}function PF(e,n){var t;t=Ra(e.b,e.b.c.length-1),n<e.b.c.length&&(as(e.b,n,t),aqe(e,n))}function C8n(e,n){(_C(),$l?null:n.c).length==0&&zSe(n,new Bi),mc(e.a,$l?null:n.c,n)}function kne(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,21,t,e.b))}function dT(e,n){var t,i;return t=1-n,i=e.a[t],e.a[t]=i.a[n],i.a[n]=e,e.b=!0,i.b=!1,i}function T8n(e,n){var t,i;return t=u(j(e,(ye(),Sg)),8),i=u(j(n,Sg),8),Qt(t.b,i.b)}function LFe(e){ZY.call(this),this.b=q(K(j(e,(ye(),Rf)))),this.a=u(j(e,va),222)}function _Fe(e,n,t){cee.call(this,e,n,t),this.a=new Wn,this.b=new Wn,this.d=new hEe(this)}function FFe(e){this.e=e,this.d=new $A(Bw(ym(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function bT(e){this.b=e,this.a=ee(bt,Pt,30,e+1,15,1),this.c=ee(bt,Pt,30,e,15,1),this.d=0}function OF(e,n,t){var i;return i=new ve,nce(e,n,i,t,!0,!0),e.b=new bT(i.c.length),i}function S8n(e,n){var t,i;i=new ve,t=n;do jn(i.c,t),t=u(vn(e.k,t),17);while(t);return i}function RFe(e,n){var t;return t=u(vn(e.c,n),456),t||(t=new wxe,t.c=n,It(e.c,t.c,t)),t}function NF(e){switch(TQ(e.e!=3),e.e){case 2:return!1;case 0:return!0}return Oyn(e)}function L1(){L1=J,p3=new Vt(Nue),fP=new Vt(iVe),B9=new Vt(rVe),Mj=new Vt(cVe)}function qv(){qv=J,Sj=new FV("TO_INTERNAL_LTR",0),Iq=new FV("TO_INPUT_DIRECTION",1)}function wT(){wT=J,TO=new QV("P1_NODE_PLACEMENT",0),Ip=new QV("P2_EDGE_ROUTING",1)}function fb(){fb=J,Fb=new qD("START",0),ud=new qD("MIDDLE",1),_b=new qD("END",2)}function Lm(){Lm=J,Nq=new ai("edgelabelcenterednessanalysis.includelabel",(gn(),id))}function I8n(e,n){Si(Ft(new Ve(null,new Ze(new zh(e.b),1)),new jCe(e,n)),new ACe(e,n))}function P8n(e,n){n.Tg(yVe,1),Si(Pc(new Ve(null,new Ze(e.b,16)),new B$),new cA),n.Ug()}function si(e){return mr(e)?Ha(e):bw(e)?lm(e):dw(e)?qSe(e):iZ(e)?e.Hb():VY(e)?K0(e):_Z(e)}function $F(e,n){var t;return F(n,18)?(t=u(n,18),e.Fc(t)):kF(e,u(st(n),20).Jc())}function Ru(e,n){var t;t=e.zb,e.zb=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,1,t,e.zb))}function Mi(e,n){var t,i;t=(i=new bD,i),t.n=n,it((!e.s&&(e.s=new se(ho,e,21,17)),e.s),t)}function li(e,n){var t,i;i=(t=new XQ,t),i.n=n,it((!e.s&&(e.s=new se(ho,e,21,17)),e.s),i)}function Ene(e){var n,t;for(t=new Rn(e);t.e!=t.i.gc();)n=u(Jn(t),26),Go(n,0),Ho(n,0)}function BFe(e){var n,t;for(t=e.c.a.ec().Jc();t.Ob();)n=u(t.Pb(),218),n0n(n,new YPe(n.f))}function jne(e){var n,t;for(t=e.c.a.ec().Jc();t.Ob();)n=u(t.Pb(),218),t0n(n,new AHe(n.e))}function gT(e,n){var t;t=e.xb,e.xb=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,3,t,e.xb))}function pT(e,n){var t;t=e.yb,e.yb=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,2,t,e.yb))}function Wd(e,n){var t,i;for(t=e.Nc(),Fv(t,0,t.length,n),i=0;i<t.length;i++)e.fd(i,t[i])}function JFe(e,n,t){var i,r,c;for(c=e.a.length-1,r=e.b,i=0;i<t;r=r+1&c,++i)Ni(n,i,e.a[r])}function Gr(e,n){var t,i,r;for(bn(n),t=!1,r=n.Jc();r.Ob();)i=r.Pb(),t=t|e.Ec(i);return t}function GFe(e){var n,t,i;for(n=0,i=e.Jc();i.Ob();)t=i.Pb(),n+=t!=null?si(t):0,n=~~n;return n}function HFe(e){var n;return e==0?"UTC":(e<0?(e=-e,n="UTC+"):n="UTC-",n+A_e(e))}function xne(e){return e.a<54?e.f<0?-1:e.f>0?1:0:(!e.c&&(e.c=j7(tu(e.f))),e.c).e}function qFe(e,n){n?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function O8n(e,n){typeof window===BE&&typeof window.$gwt===BE&&(window.$gwt[e]=n)}function N8n(e,n,t){var i,r,c;for(i=0,r=0;r<t;r++)c=n[r],e[r]=c<<1|i,i=c>>>31;i!=0&&(e[t]=i)}function DF(e,n,t,i,r,c){var o;this.c=e,o=new ve,uie(e,o,n,e.b,t,i,r,c),this.a=new Ar(o,0)}function zFe(){this.c=new DA(0),this.b=new DA(ase),this.d=new DA(UVe),this.a=new DA(XVe)}function UFe(e,n){return q(K(Qo(rE(_u(new Ve(null,new Ze(e.c.b,16)),new Y7e(e)),n))))}function Ane(e,n){return q(K(Qo(rE(_u(new Ve(null,new Ze(e.c.b,16)),new Q7e(e)),n))))}function $8n(e,n){var t,i;return t=u(he(e,(U1(),IO)),15),i=u(he(n,IO),15),ju(t.a,i.a)}function D8n(e,n){var t;n.Tg("General Compactor",1),t=MEn(u(he(e,(U1(),NU)),386)),t.Bg(e)}function L8n(e,n,t){t.Tg("DFS Treeifying phase",1),zEn(e,n),kPn(e,n),e.a=null,e.b=null,t.Ug()}function Mne(e,n,t){var i,r;for(r=rt(e,0);r.b!=r.d.c;)i=u(tt(r),8),i.a+=n,i.b+=t;return e}function dy(e,n,t){var i;for(i=e.b[t&e.f];i;i=i.b)if(t==i.a&&Qh(n,i.g))return i;return null}function by(e,n,t){var i;for(i=e.c[t&e.f];i;i=i.d)if(t==i.f&&Qh(n,i.i))return i;return null}function _8n(e,n,t,i){var r;r=new em,Hd(r,"x",uS(e,n,i.a)),Hd(r,"y",oS(e,n,i.b)),xm(t,r)}function F8n(e,n,t,i){var r;r=new em,Hd(r,"x",uS(e,n,i.a)),Hd(r,"y",oS(e,n,i.b)),xm(t,r)}function $i(e,n,t,i,r,c,o,f,l,h,a,b,p){return uqe(e,n,t,i,r,c,o,f,l,h,a,b,p),dR(e,!1),e}function _s(e,n,t,i,r,c,o){ot.call(this,e,n),this.d=t,this.e=i,this.c=r,this.b=c,this.a=Cf(o)}function XFe(e,n){return gl(),Sf(Il),m.Math.abs(0-n)<=Il||n==0||isNaN(0)&&isNaN(n)?0:e/n}function R8n(e,n){return Wv(),e==Lb&&n==gg||e==gg&&n==Lb||e==lp&&n==wg||e==wg&&n==lp}function B8n(e,n){return Wv(),e==Lb&&n==wg||e==Lb&&n==lp||e==gg&&n==lp||e==gg&&n==wg}function J8n(){return cc(),$(N(oz,1),ae,261,0,[BP,Us,X9,JP,y5,gp,K9,m5,v5,GP])}function G8n(){return K1(),$(N(hde,1),ae,243,0,[wO,Xj,Kj,sde,fde,ode,lde,gO,I5,l8])}function LF(){LF=J,K8=new Pxe,BX=$(N(ho,1),op,179,0,[]),nhn=$(N(gf,1),Sfe,62,0,[])}function yo(){yo=J,Yle=new O$,Vle=new P$,Qle=new N$,Wle=new $$,Zle=new D$,ehe=new Z5}function H8n(e,n){n.Tg(yVe,1),pR(Ybn(new jk((bv(),new wC(e,!1,!1,new tA))))),n.Ug()}function _F(e){var n;return n=ree(e),P6(n.a,0)?(fw(),fw(),uq):(fw(),new NL(n.b))}function FF(e){var n;return n=ree(e),P6(n.a,0)?(fw(),fw(),uq):(fw(),new NL(n.c))}function q8n(e){var n;return n=IC(e),P6(n.a,0)?(FA(),FA(),wen):(FA(),new CSe(n.b))}function z8n(e){return e.b.c.i.k==(pn(),Ui)?u(j(e.b.c.i,(fe(),Ut)),12):e.b.c}function KFe(e){return e.b.d.i.k==(pn(),Ui)?u(j(e.b.d.i,(fe(),Ut)),12):e.b.d}function WFe(e){switch(e.g){case 2:return ke(),Tn;case 4:return ke(),$n;default:return e}}function VFe(e){switch(e.g){case 1:return ke(),Xn;case 3:return ke(),Cn;default:return e}}function U8n(e,n){var t;return t=Hie(e),yre(new be(t.c,t.d),new be(t.b,t.a),e.Kf(),n,e.$f())}function wy(e,n){var t,i;for(bn(n),i=n.vc().Jc();i.Ob();)t=u(i.Pb(),45),e.yc(t.jd(),t.kd())}function X8n(e,n,t){var i;for(i=t.Jc();i.Ob();)if(!OC(e,n,i.Pb()))return!1;return!0}function K8n(e,n){var t;for(st(n);e.Ob();)if(t=e.Pb(),!One(u(t,9)))return!1;return!0}function W8n(e,n,t,i,r){var c;return t&&(c=vi(n.Ah(),e.c),r=t.Oh(n,-1-(c==-1?i:c),null,r)),r}function V8n(e,n,t,i,r){var c;return t&&(c=vi(n.Ah(),e.c),r=t.Qh(n,-1-(c==-1?i:c),null,r)),r}function QFe(e){var n;if(e.b==-2){if(e.e==0)n=-1;else for(n=0;e.a[n]==0;n++);e.b=n}return e.b}function Q8n(e){if(bn(e),e.length==0)throw I(new Xl("Zero length BigInteger"));pNn(this,e)}function Cne(e){this.i=e.gc(),this.i>0&&(this.g=this.$i(this.i+(this.i/8|0)+1),e.Oc(this.g))}function YFe(e,n,t){this.g=e,this.d=n,this.e=t,this.a=new ve,LTn(this),tn(),ur(this.a,null)}function Tne(e,n){n.q=e,e.d=m.Math.max(e.d,n.r),e.b+=n.d+(e.a.c.length==0?0:e.c),me(e.a,n)}function Y8n(e,n){return n<e.b.gc()?u(e.b.Xb(n),9):n==e.b.gc()?e.a:u(Ce(e.e,n-e.b.gc()-1),9)}function z7(e,n){return gn(),mr(e)?Cee(e,dt(n)):bw(e)?f_(e,K(n)):dw(e)?z3n(e,Te(n)):e.Dd(n)}function Z8n(e){var n,t,i;return e.j==(ke(),Cn)&&(n=Zqe(e),t=po(n,$n),i=po(n,Tn),i||i&&t)}function ekn(e){var n,t,i;for(i=0,t=new S(e.b);t.a<t.c.c.length;)n=u(T(t),25),n.p=i,++i}function Fw(e,n){var t,i;for(i=rt(e,0);i.b!=i.d.c;)t=u(tt(i),8),t.a+=n.a,t.b+=n.b;return e}function RF(e,n){var t,i,r,c;return r=e.c,t=e.c+e.b,c=e.d,i=e.d+e.a,n.a>r&&n.a<t&&n.b>c&&n.b<i}function mT(e,n){var t;F(n,92)?(u(e.c,78).Ek(),t=u(n,92),OFe(e,t)):u(e.c,78).Wb(n)}function U7(e,n){var t,i;for(bn(n),i=e.vc().Jc();i.Ob();)t=u(i.Pb(),45),n.Wd(t.jd(),t.kd())}function Pi(e,n){BM.call(this,thn,e,n),this.b=this,this.a=Xu(e.Ah(),cn(this.e.Ah(),this.c))}function Rw(e){this.f=e,this.e=new dee(this.f.i),this.a=this.e,this.b=Nne(this),this.d=this.f.g}function BF(e,n,t,i){var r;r=e.a.length,t>r?t=r:Pn(n,t+1),e.a=tf(e.a,0,n)+(""+i)+wZ(e.a,t)}function ZFe(e,n,t,i){F(e.Cb,184)&&(u(e.Cb,184).tb=null),Ru(e,t),n&&YTn(e,n),i&&e.el(!0)}function eRe(){eRe=J,gfn=lt((c0(),$(N(wfn,1),ae,285,0,[Nbe,nr,qr,$3,Nr,gi,N3,Fl])))}function nRe(){nRe=J,$ln=lt((m4(),$(N(fN,1),ae,244,0,[LX,oN,sN,uN,DX,cN,rN,$X])))}function tRe(){tRe=J,utn=lt((pn(),$(N(Sq,1),ae,249,0,[Ai,qi,Ui,Nu,hu,Dl,Tj,G9])))}function iRe(){iRe=J,$tn=lt((TS(),$(N(Bhe,1),ae,275,0,[Fq,Jq,_q,qq,Bq,Rq,Hq,Gq])))}function rRe(){return Xy(),$(N(vRn,1),ae,264,0,[hU,Nde,_de,Fde,Lde,Ode,Rde,Ide,Dde,$de,Pde])}function Sne(){Sne=J,yun=nh(pTe(kt(kt(new Li,(dr(),vu),(kr(),kP)),lu,gP),fc),yP)}function cRe(){cRe=J,xun=nh(pTe(kt(kt(new Li,(dr(),vu),(kr(),kP)),lu,gP),fc),yP)}function nkn(){var e;return hq||(hq=new rxe,e=new nF(""),Qwn(e,(dv(),vle)),C8n(hq,e)),hq}function uRe(e){return mw(),e.A.Gc((rs(),Hg))&&!e.B.Gc((Uo(),Ax))?iJe(e):null}function oRe(e,n){var t;return t=wce(hy(),e),t?(Yt(n,(jt(),Bg),t),!0):!1}function ws(e,n){var t;for(t=0;t<n.j.c.length;t++)u(_7(e,t),22).Fc(u(_7(n,t),18));return e}function tkn(e,n){var t,i;for(i=new S(n.b);i.a<i.c.c.length;)t=u(T(i),25),e.a[t.p]=fCn(t)}function Gt(e,n){var t,i,r;if(t=e.qh(),t!=null&&e.th())for(i=0,r=t.length;i<r;++i)t[i].bj(n)}function ikn(e,n,t){return e==(n0(),mO)?new Dve:zo(n,1)!=0?new hV(t.length):new gAe(t.length)}function rkn(e,n,t){return Qt(am(l4(e),new be(n.e.a,n.e.b)),am(l4(e),new be(t.e.a,t.e.b)))}function Vd(e,n,t){var i,r;return r=u(G6(e.d,n),15),i=u(G6(e.b,t),15),!r||!i?null:Om(e,r.a,i.a)}function _1(e){var n;return n=e.h,n==0?e.l+e.m*r3:n==da?e.l+e.m*r3-s0:e}function ckn(e){var n;if(e.a==e.b.a)throw I(new $c);return n=e.a,e.c=n,e.a=u(nf(e.a.e),227),n}function sRe(e){var n;e.d==null?(++e.e,e.f=0,kBe(null)):(++e.e,n=e.d,e.d=null,e.f=0,kBe(n))}function ukn(e,n){var t,i;for(i=new S(n);i.a<i.c.c.length;)t=u(T(i),70),me(e.d,t),lCn(e,t)}function zv(e,n){var t,i;for(t=e,i=ar(t).e;i;){if(t=i,t==n)return!0;i=ar(t).e}return!1}function okn(e,n,t){var i,r;return i=e.a.f[n.p],r=e.a.f[t.p],i<r?-1:i==r?0:1}function Bw(e){return e<3?(bs(e,gWe),e+1):e<t9?Br(m.Math.ceil(e/.75)):_t}function tu(e){return KE<e&&e<s0?e<0?m.Math.ceil(e):m.Math.floor(e):_1(rPn(e))}function fRe(e,n){e.a=Kr(e.a,1),e.c=m.Math.min(e.c,n),e.b=m.Math.max(e.b,n),e.d=Kr(e.d,n)}function skn(e,n){var t;n.Tg("Edge and layer constraint edge reversal",1),t=POn(e),h_n(t),n.Ug()}function fkn(e,n){var t,i;for(i=new Rn(e);i.e!=i.i.gc();)t=u(Jn(i),26),Is(t,t.i+n.b,t.j+n.d)}function lRe(e,n){e.c&&(JUe(e,n,!0),Si(new Ve(null,new Ze(n,16)),new rEe(e))),JUe(e,n,!1)}function Kc(e,n){var t,i;return t=(i=new eW,i),t.G=n,!e.rb&&(e.rb=new xw(e,bl,e)),it(e.rb,t),t}function Dt(e,n){var t,i;return t=(i=new EA,i),t.G=n,!e.rb&&(e.rb=new xw(e,bl,e)),it(e.rb,t),t}function Mn(e,n){var t;return(e.Db&n)!=0?(t=zR(e,n),t==-1?e.Eb:Dm(e.Eb)[t]):null}function vT(e){var n;if(e.g>1||e.Ob())return++e.a,e.g=0,n=e.i,e.Ob(),n;throw I(new $c)}function lkn(e){NTe();var n;return _Me(lU,e)||(n=new Qve,n.a=e,iY(lU,e,n)),u(dc(lU,e),636)}function hRe(e){switch(e.a.g){case 1:return new zCe;case 3:return new kGe;default:return new F8e}}function Ine(e,n){switch(n){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return eee(e,n)}function X7(e){var n;return e<128?(yPe(),n=ele[e],!n&&(n=ele[e]=new bW(e)),n):new bW(e)}function hkn(e){var n,t,i;for(n=1,i=e.Jc();i.Ob();)t=i.Pb(),n=31*n+(t==null?0:si(t)),n=~~n;return n}function K7(e){var n,t,i;for(i=0,t=new rm(e.a);t.a<t.c.a.length;)n=uy(t),e.b.Gc(n)&&++i;return i}function rf(e){var n,t,i,r;return r=e,i=0,r<0&&(r+=s0,i=da),t=Br(r/r3),n=Br(r-t*r3),zu(n,t,i)}function aRe(e,n){var t;return t=e.a.get(n),t===void 0?++e.d:(C2n(e.a,n),--e.c,++e.b.g),t}function iu(e,n){var t;return n&&(t=n.lf(),t.dc()||(e.q?wy(e.q,t):e.q=new iTe(t))),e}function akn(e,n){var t,i,r;return t=n.p-e.p,t==0?(i=e.f.a*e.f.b,r=n.f.a*n.f.b,Qt(i,r)):t}function dkn(e,n){var t;try{n.be()}catch(i){if(i=_i(i),F(i,80))t=i,jn(e.c,t);else throw I(i)}}function bkn(e){return e.b.c.length!=0&&u(Ce(e.b,0),70).a?u(Ce(e.b,0),70).a:I_(e)}function dRe(){this.a=u(Ae(($f(),oP)),15).a,this.c=q(K(Ae(sP))),this.b=q(K(Ae(mq)))}function Uv(e,n){this.b=e,this.e=n,this.d=n.j,this.f=(tc(),u(e,69).vk()),this.k=Xu(n.e.Ah(),e)}function Qd(e,n,t){this.b=(bn(e),e),this.d=(bn(n),n),this.e=(bn(t),t),this.c=this.d+(""+this.e)}function Pne(e,n,t,i,r){URe.call(this,e,t,i,r),this.f=ee(Lh,Ya,9,n.a.c.length,0,1),xl(n.a,this.f)}function gy(e,n,t,i,r){Ni(e.c[n.g],t.g,i),Ni(e.c[t.g],n.g,i),Ni(e.b[n.g],t.g,r),Ni(e.b[t.g],n.g,r)}function wkn(e,n){var t,i;return t=e.j,i=n.j,t!=i?t.g-i.g:e.p==n.p?0:t==(ke(),Cn)?e.p-n.p:n.p-e.p}function One(e){var n;return n=u(j(e,(fe(),eu)),64),e.k==(pn(),Ui)&&(n==(ke(),Tn)||n==$n)}function bRe(){bRe=J,rln=lt((Qw(),$(N(lc,1),ae,96,0,[Jf,ka,Gf,qf,Bh,df,js,Hf,af])))}function wRe(){wRe=J,wln=lt((Uo(),$(N(Xwe,1),ae,266,0,[H5,Ax,YO,H8,ZO,nN,eN,SX,xx])))}function gRe(){gRe=J,Rtn=lt((ME(),$(N(Whe,1),ae,267,0,[Wq,Khe,Qq,Yq,Vq,Zq,Nj,Kq,Xq])))}function pRe(){pRe=J,qcn=lt((TE(),$(N(ide,1),ae,268,0,[Xz,ede,nde,zz,Z1e,tde,aO,qz,Uz])))}function yT(){yT=J,wde=new QD("EQUALLY",0),rU=new QD("NORTH",1),gde=new QD("NORTH_SOUTH",2)}function Xv(){Xv=J,sz=new XD("ONE_SIDED",0),fz=new XD("TWO_SIDED",1),$j=new XD("OFF",2)}function kT(){kT=J,LU=new uL(ul,0),O0e=new uL("POLAR_COORDINATE",1),P0e=new uL("ID",2)}function Pf(){Pf=J,vg=new ZA(_4,0),a5=new ZA(c3,1),d5=new ZA(u3,2),Dq=new ZA("TOP",3)}function lb(){lb=J,Aj=new KA("UP",0),xj=new KA(qJ,1),wq=new KA(c3,2),gq=new KA(u3,3)}function Kv(){Kv=J,R9=new ai("debugSVG",(gn(),!1)),Ale=new ai("overlapsExisted",!0)}function ET(){ET=J,fU=new tL("OFF",0),P5=new tL("SINGLE_EDGE",1),Ng=new tL("MULTI_EDGE",2)}function W7(){W7=J,JO=new nQ("MINIMUM_SPANNING_TREE",0),Ibe=new nQ("MAXIMUM_SPANNING_TREE",1)}function mRe(e){e.r=new Ji,e.w=new Ji,e.t=new ve,e.i=new ve,e.d=new Ji,e.a=new hm,e.c=new Wn}function V7(e){this.n=new ve,this.e=new ni,this.j=new ni,this.k=new ve,this.f=new ve,this.p=e}function vRe(e){switch(e.g){case 0:return new F5e;case 1:return new R5e;case 2:default:return null}}function gkn(){return _C(),$l?new nF(null):Vqe(nkn(),"com.google.common.base.Strings")}function pkn(e){var n;if(e){if(n=e,n.dc())throw I(new $c);return n.Xb(n.gc()-1)}return o$e(e.Jc())}function JF(e){var n;return(!e.a||(e.Bb&1)==0&&e.a.Sh())&&(n=uf(e),F(n,159)&&(e.a=u(n,159))),e.a}function mkn(e,n,t){var i,r,c,o;return c=null,o=n,r=cb(o,EH),i=new SCe(e,t),c=(zGe(i.a,i.b,r),r),c}function Q7(e,n){var t,i;return i=(t=new K$,t),Ru(i,n),it((!e.A&&(e.A=new go(Yu,e,7)),e.A),i),i}function GF(e,n,t,i){return t==1?(!e.n&&(e.n=new se(zc,e,1,7)),Wr(e.n,n,i)):Qie(e,n,t,i)}function vkn(e,n,t,i){u(t.b,68),u(t.b,68),u(i.b,68),u(i.b,68),u(i.b,68),Tu(i.a,new AY(e,n,i))}function ykn(e,n){e.d==(Vi(),jc)||e.d==Xs?u(n.a,60).c.Ec(u(n.b,60)):u(n.b,60).c.Ec(u(n.a,60))}function jT(e,n,t){var i,r,c,o;o=ar(e),i=o.d,r=o.c,c=e.n,n&&(c.a=c.a-i.b-r.a),t&&(c.b=c.b-i.d-r.b)}function kkn(e,n,t){var i,r;r=u(j(e,(ye(),Ec)),79),r&&(i=new _o,iR(i,0,r),Fw(i,t),Gr(n,i))}function er(e,n){var t,i;return t=n.Nc(),i=t.length,i==0?!1:(NY(e.c,e.c.length,t),!0)}function Y7(e,n){var t,i;for(bn(n),i=n.Jc();i.Ob();)if(t=i.Pb(),!e.Gc(t))return!1;return!0}function yRe(e,n){if(n==null)return!1;for(;e.a!=e.b;)if(qt(n,ST(e)))return!0;return!1}function Nne(e){return e.a.Ob()?!0:e.a!=e.e?!1:(e.a=new Lee(e.f.f),e.a.Ob())}function _i(e){var n;return F(e,80)?e:(n=e&&e.__java$exception,n||(n=new sBe(e),Zje(n)),n)}function HF(e){if(F(e,193))return u(e,125);if(e)return null;throw I(new nm(lYe))}function Ekn(e){switch(u(j(e,(ye(),Hc)),165).g){case 2:case 4:return!0;default:return!1}}function jkn(e,n){var t,i;return t=e.c,i=n.e[e.p],i<t.a.c.length-1?u(Ce(t.a,i+1),9):null}function xkn(e){var n,t;for(H$n(e),t=new S(e.d);t.a<t.c.c.length;)n=u(T(t),107),n.i&&RCn(n)}function kRe(e,n){var t,i;for(i=new S(e.b);i.a<i.c.c.length;)t=u(T(i),70),ie(t,(fe(),x3),n)}function Akn(e,n,t){var i,r;for(r=new S(e.b);r.a<r.c.c.length;)i=u(T(r),26),Is(i,i.i+n,i.j+t)}function qF(e){var n,t,i;for(n=new ni,i=rt(e.d,0);i.b!=i.d.c;)t=u(tt(i),65),At(n,t.c);return n}function $ne(e){var n,t,i,r;for(n=1,t=0,r=e.gc();t<r;++t)i=e.Ti(t),n=31*n+(i==null?0:si(i));return n}function ERe(e){var n,t;return t=(n=new K$,n),Ru(t,"T"),it((!e.d&&(e.d=new go(Yu,e,11)),e.d),t),t}function jRe(e,n){var t;return t=mh(n.a.gc()),Si(eT(new Ve(null,new Ze(n,1)),e.i),new ECe(e,t)),t}function xRe(e,n,t,i){var r;return M7(n,e.e.Pd().gc()),M7(t,e.c.Pd().gc()),r=e.a[n][t],Ni(e.a[n],t,i),r}function $(e,n,t,i,r){return r.Pm=e,r.Qm=n,r.Rm=Vn,r.__elementTypeId$=t,r.__elementTypeCategory$=i,r}function Mkn(e,n){var t,i,r;return t=e.l+n.l,i=e.m+n.m+(t>>22),r=e.h+n.h+(i>>22),zu(t&Xo,i&Xo,r&da)}function ARe(e,n){var t,i,r;return t=e.l-n.l,i=e.m-n.m+(t>>22),r=e.h-n.h+(i>>22),zu(t&Xo,i&Xo,r&da)}function Ckn(e){var n;Va(e,!0),n=Qa,Ht(e,(ye(),M5))&&(n+=u(j(e,M5),15).a),ie(e,M5,le(n))}function zF(e){var n,t,i,r;for(r=new ve,i=e.Jc();i.Ob();)t=u(i.Pb(),26),n=Yw(t),er(r,n);return r}function MRe(e,n,t){var i;ou(e.a),Tu(t.i,new QEe(e)),i=new EM(u(vn(e.a,n.b),68)),xJe(e,i,n),t.f=i}function CRe(e,n){return!e||!n||e==n?!1:mJe(e.d.c,n.d.c+n.d.b)&&mJe(n.d.c,e.d.c+e.d.b)}function Tkn(e,n,t,i,r){return k4(),m.Math.min(aKe(e,n,t,i,r),aKe(t,i,e,n,OM(new be(r.a,r.b))))}function TRe(e,n){if(!e)throw I(new xn(Uy("value already present: %s",$(N(ir,1),ln,1,5,[n]))))}function Dne(e){var n,t;return t=(j1(),n=new fA,n),e&&it((!e.a&&(e.a=new se(di,e,6,6)),e.a),t),t}function _m(e,n){var t,i;if(i=0,e<64&&e<=n)for(n=n<64?n:63,t=e;t<=n;t++)i=Ql(i,kh(1,t));return i}function Skn(e,n){var t,i;for(mC(n,"predicate"),i=0;e.Ob();i++)if(t=e.Pb(),n.Lb(t))return i;return-1}function Lne(e,n){switch(n){case 0:!e.o&&(e.o=new vo((su(),Gh),h1,e,0)),e.o.c.$b();return}dB(e,n)}function SRe(e){switch(e.g){case 1:return gd;case 2:return Rh;case 3:return px;default:return mx}}function _ne(e){tn();var n,t,i;for(i=0,t=e.Jc();t.Ob();)n=t.Pb(),i=i+(n!=null?si(n):0),i=i|0;return i}function Ikn(e){var n;return n=new En,n.a=e,n.b=Lkn(e),n.c=ee(Ie,pe,2,2,6,1),n.c[0]=HFe(e),n.c[1]=HFe(e),n}function xT(){xT=J,$q=new YA(ul,0),SP=new YA(jVe,1),IP=new YA(xVe,2),Ij=new YA("BOTH",3)}function Wv(){Wv=J,Lb=new VA("Q1",0),gg=new VA("Q4",1),wg=new VA("Q2",2),lp=new VA("Q3",3)}function F1(){F1=J,Dj=new KD("ONLY_WITHIN_GROUP",0),aae=new KD(VJ,1),kg=new KD("ENFORCED",2)}function Yd(){Yd=J,ez=new UD(ul,0),p5=new UD("INCOMING_ONLY",1),wp=new UD("OUTGOING_ONLY",2)}function Fm(){Fm=J,lfn=new z5e,ffn=new U5e}function UF(){UF=J,nq={boolean:Ubn,number:rbn,string:cbn,object:fqe,function:fqe,undefined:_0n}}function IRe(){IRe=J,Kcn=lt((K1(),$(N(hde,1),ae,243,0,[wO,Xj,Kj,sde,fde,ode,lde,gO,I5,l8])))}function PRe(){PRe=J,Xtn=lt((cc(),$(N(oz,1),ae,261,0,[BP,Us,X9,JP,y5,gp,K9,m5,v5,GP])))}function Pkn(e,n,t,i){return new IV($(N(g0,1),HS,45,0,[(BR(e,n),new H0(e,n)),(BR(t,i),new H0(t,i))]))}function Okn(e,n){var t,i;return t=u(u(vn(e.g,n.a),49).a,68),i=u(u(vn(e.g,n.b),49).a,68),mXe(t,i)}function Fne(e,n,t){var i;if(i=e.gc(),n>i)throw I(new yw(n,i));return e.Qi()&&(t=HNe(e,t)),e.Ci(n,t)}function ORe(e){var n,t,i;return t=e.n,i=e.o,n=e.d,new Af(t.a-n.b,t.b-n.d,i.a+(n.b+n.c),i.b+(n.d+n.a))}function Nkn(e,n){return!e||!n||e==n?!1:ab(e.b.c,n.b.c+n.b.b)<0&&ab(n.b.c,e.b.c+e.b.b)<0}function XF(e,n,t){return e>=128?!1:e<64?O6(vr(kh(1,e),t),0):O6(vr(kh(1,e-64),n),0)}function Z7(e,n,t){switch(t.g){case 2:e.b=n;break;case 1:e.c=n;break;case 4:e.d=n;break;case 3:e.a=n}}function NRe(e,n){for(;e.g==null&&!e.c?qZ(e):e.g==null||e.i!=0&&u(e.g[e.i-1],50).Ob();)n.Bi(mS(e))}function eE(e,n,t){return t==null?(!e.q&&(e.q=new Wn),Pm(e.q,n)):(!e.q&&(e.q=new Wn),It(e.q,n,t)),e}function ie(e,n,t){return t==null?(!e.q&&(e.q=new Wn),Pm(e.q,n)):(!e.q&&(e.q=new Wn),It(e.q,n,t)),e}function $Re(e){var n,t;return t=new RC,iu(t,e),ie(t,(L1(),p3),e),n=new Wn,T$n(e,t,n),c_n(e,t,n),t}function $kn(e){k4();var n,t,i;for(t=ee(br,pe,8,2,0,1),i=0,n=0;n<2;n++)i+=.5,t[n]=dxn(i,e);return t}function DRe(e,n){var t,i,r,c;for(t=!1,i=e.a[n].length,c=0;c<i-1;c++)r=c+1,t=t|UEn(e,n,c,r);return t}function Dkn(e){var n,t,i,r;for(t=e.a,i=0,r=t.length;i<r;++i)n=t[i],BRe(e,n,(ke(),Xn)),BRe(e,n,Cn)}function Vv(e){var n,t,i;return n=~e.l+1&Xo,t=~e.m+(n==0?1:0)&Xo,i=~e.h+(n==0&&t==0?1:0)&da,zu(n,t,i)}function LRe(e){var n,t;return n=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,t=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,n||t}function Rne(e){var n;return(!e.c||(e.Bb&1)==0&&(e.c.Db&64)!=0)&&(n=uf(e),F(n,88)&&(e.c=u(n,29))),e.c}function Bne(e){var n;if(e<0)return Mr;if(e==0)return 0;for(n=t9;(n&e)==0;n>>=1);return n}function Lkn(e){var n;return e==0?"Etc/GMT":(e<0?(e=-e,n="Etc/GMT-"):n="Etc/GMT+",n+A_e(e))}function _Re(e){var n,t;return t=xE(e.h),t==32?(n=xE(e.m),n==32?xE(e.l)+32:n+20-10):t-12}function py(e){var n;return n=e.a[e.b],n==null?null:(Ni(e.a,e.b,null),e.b=e.b+1&e.a.length-1,n)}function Jne(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function Gne(e,n){this.c=e,this.d=n,this.b=this.d/this.c.c.Pd().gc()|0,this.a=this.d%this.c.c.Pd().gc()}function FRe(e,n){this.b=e,p2.call(this,(u(R(oe((S1(),mn).o),10),19),n.i),n.g),this.a=(LF(),BX)}function Hne(e,n,t){this.q=new m.Date,this.q.setFullYear(e+Q1,n,t),this.q.setHours(0,0,0,0),Wy(this,0)}function RRe(e,n,t){var i,r;return i=new hF(n,t),r=new ei,e.b=nUe(e,e.b,i,r),r.b||++e.c,e.b.b=!1,r.d}function qne(e,n){tn();var t,i,r,c,o;for(o=!1,i=n,r=0,c=i.length;r<c;++r)t=i[r],o=o|e.Ec(t);return o}function _kn(e,n,t,i,r){var c,o;if(o=e.length,c=t.length,n<0||i<0||r<0||n+r>o||i+r>c)throw I(new $W)}function BRe(e,n,t){var i,r,c,o;for(o=jy(n,t),c=0,r=o.Jc();r.Ob();)i=u(r.Pb(),12),It(e.c,i,le(c++))}function R1(e){var n,t;for(t=new S(e.a.b);t.a<t.c.c.length;)n=u(T(t),82),n.g.c=-n.g.c-n.g.b;jS(e)}function B1(e){var n,t;for(t=new S(e.a.b);t.a<t.c.c.length;)n=u(T(t),60),n.d.c=-n.d.c-n.d.b;Qre(e)}function Fkn(e){var n,t,i;return n=u(e.e&&e.e(),10),i=(t=n.slice(),u(dF(t,n),10)),new Os(n,i,n.length)}function KF(e){var n,t,i;n=~e.l+1&Xo,t=~e.m+(n==0?1:0)&Xo,i=~e.h+(n==0&&t==0?1:0)&da,e.l=n,e.m=t,e.h=i}function Bc(e){var n,t,i,r,c;for(n=new Cr,i=e,r=0,c=i.length;r<c;++r)t=i[r],n.a+=t.a,n.b+=t.b;return n}function WF(e,n,t){var i,r,c,o;return c=null,o=n,r=cb(o,"labels"),i=new RCe(e,t),c=(lze(i.a,i.b,r),r),c}function JRe(e,n,t){var i;return i=new ve,nce(e,n,i,(ke(),$n),!0,!1),nce(e,t,i,Tn,!1,!1),i}function Rkn(e,n,t,i){var r;return r=Jre(e,n,t,i),!r&&(r=J7n(e,t,i),r&&!V2(e,n,r))?null:r}function Bkn(e,n,t,i){var r;return r=Gre(e,n,t,i),!r&&(r=fR(e,t,i),r&&!V2(e,n,r))?null:r}function GRe(e,n){var t;for(t=0;t<e.a.a.length;t++)if(!u(xPe(e.a,t),178).Lb(n))return!1;return!0}function Jkn(e,n,t){if(st(n),t.Ob())for(oQ(n,xOe(t.Pb()));t.Ob();)oQ(n,e.a),oQ(n,xOe(t.Pb()));return n}function zne(e){tn();var n,t,i;for(i=1,t=e.Jc();t.Ob();)n=t.Pb(),i=31*i+(n!=null?si(n):0),i=i|0;return i}function Gkn(e,n,t,i,r){var c;return c=$re(e,n),t&&KF(c),r&&(e=vxn(e,n),i?td=Vv(e):td=zu(e.l,e.m,e.h)),c}function oa(e){var n;return I1(e),n=new zl,e.a.zd(n)?(gv(),new yD(bn(n.a))):(gv(),gv(),gle)}function Zd(e){var n,t;for(t=new S(e.a.b);t.a<t.c.c.length;)n=u(T(t),82),n.f.$b();Z0n(e.b,e),Gze(e)}function Hkn(e,n){switch(n.g){case 0:F(e.b,632)||(e.b=new dRe);break;case 1:F(e.b,633)||(e.b=new YIe)}}function Une(e,n){switch(n){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0}return Nte(e,n)}function HRe(e,n,t){e.g=bB(e,n,(ke(),$n),e.b),e.d=bB(e,t,$n,e.b),!(e.g.c==0||e.d.c==0)&&MHe(e)}function qRe(e,n,t){e.g=bB(e,n,(ke(),Tn),e.j),e.d=bB(e,t,Tn,e.j),!(e.g.c==0||e.d.c==0)&&MHe(e)}function zRe(e,n){return am(l4(u(j(n,(Wc(),Ub)),86)),new be(e.c.e.a-e.b.e.a,e.c.e.b-e.b.e.b))<=0}function qkn(e,n,t){return!fv(Ft(new Ve(null,new Ze(e.c,16)),new nv(new xCe(n,t)))).zd((Nd(),b3))}function VF(e,n,t){this.g=e,this.e=new Cr,this.f=new Cr,this.d=new ni,this.b=new ni,this.a=n,this.c=t}function QF(e,n,t,i){this.b=new ve,this.n=new ve,this.i=i,this.j=t,this.s=e,this.t=n,this.r=0,this.d=0}function URe(e,n,t,i){this.b=new Wn,this.g=new Wn,this.d=(ky(),dO),this.c=e,this.e=n,this.d=t,this.a=i}function Xne(e,n,t){switch(n){case 0:!e.o&&(e.o=new vo((su(),Gh),h1,e,0)),mT(e.o,t);return}gB(e,n,t)}function XRe(e){switch(e.g){case 0:return new q5e;default:throw I(new xn(MI+(e.f!=null?e.f:""+e.g)))}}function KRe(e){switch(e.g){case 0:return new H5e;default:throw I(new xn(MI+(e.f!=null?e.f:""+e.g)))}}function Qv(){Qv=J,Fhe=new yme,Rhe=new kme,ytn=new mme,vtn=new Eme,mtn=new vme,_he=(bn(mtn),new Gn)}function my(){my=J,Bde=new rL(ul,0),aU=new rL("MIDDLE_TO_MIDDLE",1),Yj=new rL("AVOID_OVERLAP",2)}function Kne(e){var n,t,i;for(n=new _o,i=rt(e,0);i.b!=i.d.c;)t=u(tt(i),8),mv(n,0,new Ur(t));return n}function Ha(e){var n,t;for(n=0,t=0;t<e.length;t++)n=(n<<5)-n+(Pn(t,e.length),e.charCodeAt(t))|0;return n}function zkn(e){var n,t;n=u(j(e,(fe(),Oo)),9),n&&(t=n.c,no(t.a,n),t.a.c.length==0&&no(ar(n).b,t))}function WRe(e){return $l?ee(men,OWe,567,0,0,1):u(xl(e.a,ee(men,OWe,567,e.a.c.length,0,1)),841)}function Wne(e){var n;return e.b<=0?!1:(n=Kl("MLydhHmsSDkK",io(Dr(e.c,0))),n>1||n>=0&&e.b<3)}function Ukn(){Bt();var e;return UX||(e=Ggn(W1("M",!0)),e=QM(W1("M",!1),e),UX=e,UX)}function Vne(e){switch(e.g){case 1:return UVe;default:case 2:return 0;case 3:return XVe;case 4:return ase}}function Yv(e,n){if(!e.Ji()&&n==null)throw I(new xn("The 'no null' constraint is violated"));return n}function VRe(e,n){h7(e>=0,"Negative initial capacity"),h7(n>=0,"Non-positive load factor"),ou(this)}function QRe(e,n){var t,i,r;for(r=e.b;r;){if(t=e.a.Le(n,r.d),t==0)return r;i=t<0?0:1,r=r.a[i]}return null}function YF(e,n){var t;return n===e?!0:F(n,229)?(t=u(n,229),qt(e.Zb(),t.Zb())):!1}function Qne(e,n){return Rze(e,n)?(Qe(e.b,u(j(n,(fe(),pa)),22),n),At(e.a,n),!0):!1}function Xkn(e,n){return Ht(e,(fe(),oi))&&Ht(n,oi)?u(j(n,oi),15).a-u(j(e,oi),15).a:0}function Kkn(e,n){return Ht(e,(fe(),oi))&&Ht(n,oi)?u(j(e,oi),15).a-u(j(n,oi),15).a:0}function Wkn(e,n){var t,i;return t=u(he(e,(Tl(),ix)),15).a,i=u(he(n,ix),15).a,t==i||t<i?-1:t>i?1:0}function Vkn(e){return me(e.c,(Fm(),lfn)),ene(e.a,q(K(Ae((yR(),hO)))))?new O6e:new ije(e)}function Qkn(e){for(;!e.d||!e.d.Ob();)if(e.b&&!f6(e.b))e.d=u(jm(e.b),50);else return null;return e.d}function YRe(e,n,t){return e.d[n.p][t.p]||(Xjn(e,n,t),e.d[n.p][t.p]=!0,e.d[t.p][n.p]=!0),e.a[n.p][t.p]}function _2(e,n,t){var i,r;return r=(i=new wD,i),bc(r,n,t),it((!e.q&&(e.q=new se(gf,e,11,10)),e.q),r),r}function ZF(e){var n,t,i,r;for(r=swn(Pln,e),t=r.length,i=ee(Ie,pe,2,t,6,1),n=0;n<t;++n)i[n]=r[n];return i}function Rm(e,n){var t,i,r,c,o;for(i=n,r=0,c=i.length;r<c;++r)t=i[r],o=new EOe(e),t.tf(o),B$n(o);ou(e.f)}function Yne(e,n){var t;n*2+1>=e.b.c.length||(Yne(e,2*n+1),t=2*n+2,t<e.b.c.length&&Yne(e,t),aqe(e,n))}function Ykn(e,n){var t,i;for(i=rt(e,0);i.b!=i.d.c;)t=u(tt(i),218),t.e.length>0&&(n.Ad(t),t.i&&Ajn(t))}function Zne(e,n,t){var i;for(i=t-1;i>=0&&e[i]===n[i];i--);return i<0?0:_D(vr(e[i],uc),vr(n[i],uc))?-1:1}function Zkn(e,n){var t;return!e||e==n||!Ht(n,(fe(),Bb))?!1:(t=u(j(n,(fe(),Bb)),9),t!=e)}function eR(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.Yl()}}function ZRe(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.Zl()}}function e7n(e,n){var t,i;for(i=e.Zb().Bc().Jc();i.Ob();)if(t=u(i.Pb(),18),t.Gc(n))return!0;return!1}function eBe(e,n,t){var i,r,c,o;for(bn(t),o=!1,c=e.dd(n),r=t.Jc();r.Ob();)i=r.Pb(),c.Rb(i),o=!0;return o}function nBe(e,n,t){var i,r;this.g=e,this.c=n,this.a=this,this.d=this,r=$Fe(t),i=ee(KZe,zE,227,r,0,1),this.b=i}function nR(e,n){var t,i;return i=u(Mn(e.a,4),129),t=ee(FX,PH,415,n,0,1),i!=null&&pu(i,0,t,0,i.length),t}function tBe(e,n){var t;return t=new SB((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,n),e.e!=null||(t.c=e),t}function n7n(e,n){var t;return e===n?!0:F(n,92)?(t=u(n,92),ere(Fd(e),t.vc())):!1}function iBe(e,n,t){var i,r;for(r=t.Jc();r.Ob();)if(i=u(r.Pb(),45),e.ze(n,i.kd()))return!0;return!1}function ns(e){return mr(e)?Ie:bw(e)?zi:dw(e)?Ci:iZ(e)||VY(e)?e.Pm:e.Pm||Array.isArray(e)&&N(VZe,1)||VZe}function tR(){tR=J,xq=LNe($(N(D8,1),ae,86,0,[(Vi(),jc),Tc])),Aq=LNe($(N(D8,1),ae,86,0,[Xs,Rl]))}function AT(){AT=J,Rwe=new U0(15),eln=new Tr((jt(),Fh),Rwe),L8=L3,Dwe=Afn,Lwe=T0,Fwe=Dp,_we=Fg}function sa(){sa=J,VO=new dL(ofe,0),l1=new dL("INCLUDE_CHILDREN",1),_8=new dL("SEPARATE_CHILDREN",2)}function nE(){nE=J,SO=new cL(ul,0),d0e=new cL("RADIAL_COMPACTION",1),b0e=new cL("WEDGE_COMPACTION",2)}function vy(){vy=J,uU=new ZD("STACKED",0),cU=new ZD("REVERSE_STACKED",1),Wj=new ZD("SEQUENCED",2)}function Fs(){Fs=J,yle=new RD("CONCURRENT",0),uo=new RD("IDENTITY_FINISH",1),kle=new RD("UNORDERED",2)}function MT(){MT=J,OX=new dM("ELK",0),rge=new dM("JSON",1),ige=new dM("DOT",2),cge=new dM("SVG",3)}function yy(){yy=J,xU=new cM(VJ,0),CO=new cM(VVe,1),jU=new cM("FAN",2),EU=new cM("CONSTRAINT",3)}function Zv(){Zv=J,oU=new eL("CONSERVATIVE",0),vde=new eL("CONSERVATIVE_SOFT",1),a8=new eL("SLOPPY",2)}function iR(e,n,t){var i,r,c;for(i=new ni,c=rt(t,0);c.b!=c.d.c;)r=u(tt(c),8),At(i,new Ur(r));eBe(e,n,i)}function t7n(e){var n,t,i;for(n=0,i=ee(br,pe,8,e.b,0,1),t=rt(e,0);t.b!=t.d.c;)i[n++]=u(tt(t),8);return i}function i7n(e,n){var t,i;return t=u(e.d.Ac(n),18),t?(i=e.e.hc(),i.Fc(t),e.e.d-=t.gc(),t.$b(),i):null}function ete(e,n){var t,i;if(i=e.c[n],i!=0)for(e.c[n]=0,e.d-=i,t=n+1;t<e.a.length;)e.a[t]-=i,t+=t&-t}function nte(e){var n;if(n=e.a.c.length,n>0)return Av(n-1,e.a.c.length),Ra(e.a,n-1);throw I(new nxe)}function r7n(e,n,t){if(n<0)throw I(new Lu(wQe+n));n<e.j.c.length?as(e.j,n,t):(cDe(e,n),me(e.j,t))}function rBe(e,n,t){if(e>n)throw I(new xn(KS+e+NWe+n));if(e<0||n>t)throw I(new cV(KS+e+Eue+n+vue+t))}function cBe(e){if(!e.a||(e.a.i&8)==0)throw I(new gc("Enumeration class expected for layout option "+e.f))}function uBe(e){$Ne.call(this,"The given string does not match the expected format for individual spacings.",e)}function oBe(){Q0n.call(this,new Dee(Bw(16))),bs(2,aWe),this.b=2,this.a=new AZ(null,null,0,null),Ak(this.a,this.a)}function sBe(e){uAe(),jM(this),gC(this),this.e=e,Vze(this,e),this.g=e==null?co:Oc(e),this.a="",this.b=e,this.a=""}function e4(e,n){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),SF(e,n==null?null:(bn(n),n)),e.C&&e.fl(null)}function c7n(e,n){var t,i;for(t=e.a.length-1,e.c=e.c-1&t;n!=e.c;)i=n+1&t,Ni(e.a,n,e.a[i]),n=i;Ni(e.a,e.c,null)}function u7n(e,n){var t,i;for(t=e.a.length-1;n!=e.b;)i=n-1&t,Ni(e.a,n,e.a[i]),n=i;Ni(e.a,e.b,null),e.b=e.b+1&t}function tte(e,n,t){var i,r;return Iw(n,e.c.length),i=t.Nc(),r=i.length,r==0?!1:(NY(e.c,n,i),!0)}function ite(e){var n;return n=(!e.a&&(e.a=new se(ja,e,9,5)),e.a),n.i!=0?uwn(u(R(n,0),684)):null}function o7n(e,n){var t;return t=Kr(e,n),_D(U_(e,n),0)|mM(U_(e,t),0)?t:Kr(qE,U_(Rd(t,63),1))}function s7n(e,n){var t;t=Ae((yR(),hO))!=null&&n.Rg()!=null?q(K(n.Rg()))/q(K(Ae(hO))):1,It(e.b,n,t)}function Jw(e){var n;++e.j,e.i==0?e.g=null:e.i<e.g.length&&(n=e.g,e.g=e.$i(e.i),pu(n,0,e.g,0,e.i))}function F2(e){return(e.c!=e.b.b||e.i!=e.g.b)&&(iw(e.a.c,0),er(e.a,e.b),er(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function f7n(e){var n,t;if(e==null)return null;for(n=0,t=e.length;n<t;n++)if(!cPe(e[n]))return e[n];return null}function fBe(e,n,t){var i,r,c,o;for(r=t,c=0,o=r.length;c<o;++c)if(i=r[c],e.b.ze(n,i.jd()))return i;return null}function CT(e){var n,t,i,r,c;for(c=1,t=e,i=0,r=t.length;i<r;++i)n=t[i],c=31*c+(n!=null?si(n):0),c=c|0;return c}function lt(e){var n,t,i,r,c;for(n={},i=e,r=0,c=i.length;r<c;++r)t=i[r],n[":"+(t.f!=null?t.f:""+t.g)]=t;return n}function l7n(e){var n;for(st(e),vY(!0,"numberToAdvance must be nonnegative"),n=0;n<0&&zn(e);n++)Dn(e);return n}function lBe(e){var n,t,i;for(i=0,t=new An(In(e.a.Jc(),new X));zn(t);)n=u(Dn(t),17),n.c.i==n.d.i||++i;return i}function hBe(e,n){var t,i,r;t=e,r=0;do{if(t==n)return r;if(i=t.e,!i)throw I(new Mk);t=ar(i),++r}while(!0)}function aBe(e,n){var t,i,r;for(r=n-e.f,i=new S(e.d);i.a<i.c.c.length;)t=u(T(i),320),aJe(t,t.e,t.f+r);e.f=n}function rR(e,n){return!e||n&&!e.j||F(e,127)&&u(e,127).a.b==0?0:e.ff()}function TT(e,n){return!e||n&&!e.k||F(e,127)&&u(e,127).a.a==0?0:e.gf()}function qa(e){switch(e.c){case 0:return e_(),qfe;case 1:return new Wp(pqe(new rm(e)));default:return new Kxe(e)}}function dBe(e){switch(e.gc()){case 0:return e_(),qfe;case 1:return new Wp(e.Jc().Pb());default:return new PV(e)}}function bBe(e,n){var t;for(t=0;t<n.length;t++)if(e==(Pn(t,n.length),n.charCodeAt(t)))return!0;return!1}function h7n(e,n){return n<e.length&&(Pn(n,e.length),e.charCodeAt(n)!=63)&&(Pn(n,e.length),e.charCodeAt(n)!=35)}function wBe(e,n,t,i){var r,c;e.a=n,c=i?0:1,e.f=(r=new JHe(e.c,e.a,t,c),new kUe(t,e.a,r,e.e,e.b,e.c==(n0(),d8)))}function e0(e,n){var t,i,r;i=e.Wk(n,null),r=null,n&&(r=(sv(),t=new J0,t),Jv(r,e.r)),i=Ml(e,r,i),i&&i.mj()}function a7n(e,n){var t,i;for(i=zo(e.d,1)!=0,t=!0;t;)t=!1,t=n.c.kg(n.e,i),t=t|IE(e,n,i,!1),i=!i;jne(e)}function gBe(e,n){var t,i,r,c,o,f,l,h;return l=n.i,h=n.j,i=e.f,r=i.i,c=i.j,o=l-r,f=h-c,t=m.Math.sqrt(o*o+f*f),t}function rte(e,n){var t,i,r;return i=!1,t=n.q.d,n.d<e.b&&(r=Wre(n.q,e.b),n.q.d>r&&(YGe(n.q,r),i=t!=n.q.d)),i}function pBe(e,n){var t;for(t=0;t<n.length;t++)if(e==(Pn(t,n.length),n.charCodeAt(t)))return!0;return!1}function d7n(e){var n,t;for(t=new S(e.r);t.a<t.c.c.length;)if(n=u(T(t),9),e.n[n.p]<=0)return n;return null}function b7n(e){var n;return n=new G_e(e),A7(e.a,ntn,new Uc($(N(Cj,1),ln,377,0,[n]))),n.d&&me(n.f,n.d),n.f}function cte(e,n){var t,i;return i=qT(e),i||(t=(VB(),wze(n)),i=new zje(t),it(i.Cl(),e)),i}function w7n(e){var n,t;if(e==null)return!1;for(n=0,t=e.length;n<t;n++)if(!cPe(e[n]))return!1;return!0}function g7n(e){var n;if(!(e.c.c<0?e.a>=e.c.b:e.a<=e.c.b))throw I(new $c);return n=e.a,e.a+=e.c.c,++e.b,le(n)}function tE(e,n){var t,i;return t=u(e.c.Ac(n),18),t?(i=e.hc(),i.Fc(t),e.d-=t.gc(),t.$b(),e.mc(i)):e.jc()}function p7n(e,n){st(e);try{return e.Ac(n)}catch(t){if(t=_i(t),F(t,211)||F(t,172))return null;throw I(t)}}function Gw(e,n){st(e);try{return e.xc(n)}catch(t){if(t=_i(t),F(t,211)||F(t,172))return null;throw I(t)}}function Su(e,n){var t;return Ic(e)&&Ic(n)&&(t=e-n,!isNaN(t))?t:yie(Ic(e)?rf(e):e,Ic(n)?rf(n):n)}function cR(e,n,t){return m.Math.abs(n-e)<yI||m.Math.abs(t-e)<yI?!0:n-e>yI?e-t>yI:t-e>yI}function ute(e){throw UF(),I(new Qxe("Unexpected typeof result '"+e+"'; please report this bug to the GWT team"))}function ote(){this.a=new B5e,this.f=new qEe(this),this.b=new zEe(this),this.i=new UEe(this),this.e=new XEe(this)}function n0(){n0=J,Vj=new iM("BARYCENTER",0),d8=new iM(kVe,1),mO=new iM(EVe,2),pO=new iM("MEDIAN",3)}function ky(){ky=J,Kz=new VD("DUMMY_NODE_OVER",0),rde=new VD("DUMMY_NODE_UNDER",1),dO=new VD("EQUAL",2)}function n4(){n4=J,wx=new sM(ofe,0),WO=new sM("CONTAINER",1),Awe=new sM("PARENT",2),Mwe=new sM("ROOT",3)}function m7n(e,n,t){var i;i=new Bqe(e,n),Qe(e.r,n.$f(),i),t&&!K6(e.u)&&(i.c=new ONe(e.d),Tu(n.Pf(),new e7e(i)))}function uR(e){var n;return n=new pQ(e.a),iu(n,e),ie(n,(fe(),Ut),e),n.o.a=e.g,n.o.b=e.f,n.n.a=e.i,n.n.b=e.j,n}function ST(e){var n;return Hn(e.a!=e.b),n=e.d.a[e.a],MSe(e.b==e.d.c&&n!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,n}function mBe(e){var n;if(e.c!=0)return e.c;for(n=0;n<e.a.length;n++)e.c=e.c*33+(e.a[n]&-1);return e.c=e.c*e.e,e.c}function v7n(e){var n,t,i,r;for(r=new Ji,i=new S(e);i.a<i.c.c.length;)t=u(T(i),26),n=fOn(t),Gr(r,n);return r}function y7n(e,n,t){var i,r;for(r=n.a.a.ec().Jc();r.Ob();)if(i=u(r.Pb(),60),bNe(e,i,t))return!0;return!1}function k7n(e,n,t,i){var r,c;for(c=e.Jc();c.Ob();)r=u(c.Pb(),70),r.n.a=n.a+(i.a-r.o.a)/2,r.n.b=n.b,n.b+=r.o.b+t}function ste(e,n,t){var i,r;return r=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new hr(e,1,1,r,n),t?t.lj(i):t=i),t}function J1(e,n){var t,i,r,c;return c=(r=e?qT(e):null,sqe((i=n,r&&r.El(),i))),c==n&&(t=qT(e),t&&t.El()),c}function vBe(e,n,t){var i,r;return r=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new hr(e,1,3,r,n),t?t.lj(i):t=i),t}function yBe(e,n,t){var i,r;return r=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new hr(e,1,0,r,n),t?t.lj(i):t=i),t}function fte(e,n){var t,i,r;for(r=1,t=e,i=n>=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function E7n(e,n){var t,i,r;for(r=1,t=e,i=n>=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function kBe(e){var n,t;if(e!=null)for(t=0;t<e.length;++t)n=e[t],n&&(u(n.g,374),n.i)}function j7n(e){var n;return n=kM(vun),u(j(e,(fe(),$u)),22).Gc((cc(),y5))&&kt(n,(dr(),vu),(kr(),xP)),n}function oR(e){return(ke(),fo).Gc(e.j)?q(K(j(e,(fe(),k5)))):Bc($(N(br,1),pe,8,0,[e.i.n,e.n,e.a])).b}function EBe(e,n){var t;return t=new Al(e),qh(t,(pn(),qi)),ie(t,(fe(),Ut),n),ie(t,(ye(),Ti),(yr(),yu)),t}function jBe(e,n,t){var i,r;for(r=e.Jc();r.Ob();){if(i=u(r.Pb(),9),i==n)return-1;if(i==t)return 1}return 0}function x7n(e,n,t){var i,r,c,o;for(i=t/e.gc(),r=0,o=e.Jc();o.Ob();)c=u(o.Pb(),186),aBe(c,c.f+i*r),SAn(c,n,i),++r}function A7n(e){var n,t,i;for(i=new S(e.b);i.a<i.c.c.length;)t=u(T(i),218),n=t.c.ig()?t.f:t.a,n&&EDn(n,t.j)}function M7n(e){var n,t,i;for(i=0,t=new S(e.a);t.a<t.c.c.length;)n=u(T(t),173),i=m.Math.max(i,n.g);return i}function xBe(e){switch(e.g){case 0:return new D5e;case 1:return new _5e;case 2:return new L5e;default:return null}}function lte(e,n){switch(n){case 1:!e.n&&(e.n=new se(zc,e,1,7)),nt(e.n);return;case 2:Hv(e,null);return}Lne(e,n)}function ABe(e,n){st(e);try{return e._b(n)}catch(t){if(t=_i(t),F(t,211)||F(t,172))return!1;throw I(t)}}function hte(e,n){st(e);try{return e.Gc(n)}catch(t){if(t=_i(t),F(t,211)||F(t,172))return!1;throw I(t)}}function C7n(e,n){st(e);try{return e.Kc(n)}catch(t){if(t=_i(t),F(t,211)||F(t,172))return!1;throw I(t)}}function MBe(e,n){var t;e.a.c.length>0&&(t=u(Ce(e.a,e.a.c.length-1),565),Qne(t,n))||me(e.a,new JDe(n))}function CBe(e,n){var t;e.c.length!=0&&(t=u(xl(e,ee(Lh,Ya,9,e.c.length,0,1)),199),hQ(t,new xpe),Pqe(t,n))}function TBe(e,n){var t;e.c.length!=0&&(t=u(xl(e,ee(Lh,Ya,9,e.c.length,0,1)),199),hQ(t,new Ape),Pqe(t,n))}function T7n(e,n,t,i,r){n==0||i==0||(n==1?r[i]=eie(r,t,i,e[0]):i==1?r[n]=eie(r,e,n,t[0]):mSn(e,t,r,n,i))}function le(e){var n,t;return e>-129&&e<128?(pPe(),n=e+128,t=nle[n],!t&&(t=nle[n]=new dW(e)),t):new dW(e)}function t4(e){var n,t;return e>-129&&e<128?(EPe(),n=e+128,t=cle[n],!t&&(t=cle[n]=new wW(e)),t):new wW(e)}function SBe(e){var n;return n=new k1,n.a+="VerticalSegment ",Eu(n,e.e),n.a+=" ",xt(n,MQ(new CD,new S(e.k))),n.a}function S7n(e){fs();var n,t;n=e.d.c-e.e.c,t=u(e.g,156),Tu(t.b,new _7e(n)),Tu(t.c,new F7e(n)),Lr(t.i,new R7e(n))}function I7n(e,n){var t;e.c=n,e.a=IEn(n),e.a<54&&(e.f=(t=n.d>1?L$e(n.a[0],n.a[1]):L$e(n.a[0],0),Xd(n.e>0?t:Ja(t))))}function sR(e,n){var t,i,r;for(t=0,r=Jc(e,n).Jc();r.Ob();)i=u(r.Pb(),12),t+=j(i,(fe(),Oo))!=null?1:0;return t}function R2(e,n,t){var i,r,c;for(i=0,c=rt(e,0);c.b!=c.d.c&&(r=q(K(tt(c))),!(r>t));)r>=n&&++i;return i}function ate(e,n,t){var i,r;return r=e.sb,e.sb=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new hr(e,1,4,r,n),t?t.lj(i):t=i),t}function P7n(e){var n;return n=u(El(e.c.c,""),233),n||(n=new Cm(ov(uv(new Xp,""),"Other")),t0(e.c.c,"",n)),n}function Ey(e){var n;return(e.Db&64)!=0?Of(e):(n=new ef(Of(e)),n.a+=" (name: ",ac(n,e.zb),n.a+=")",n.a)}function dte(e,n,t){var i,r;return r=e.r,e.r=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new hr(e,1,8,r,e.r),t?t.lj(i):t=i),t}function O7n(e,n,t){var i,r;return i=new ia(e.e,4,13,(r=n.c,r||(nn(),Hl)),null,Ka(e,n),!1),t?t.lj(i):t=i,t}function N7n(e,n,t){var i,r;return i=new ia(e.e,3,13,null,(r=n.c,r||(nn(),Hl)),Ka(e,n),!1),t?t.lj(i):t=i,t}function za(e,n){var t,i;return t=u(n,681),i=t.cl(),!i&&t.dl(i=F(n,88)?new VCe(e,u(n,29)):new I$e(e,u(n,159))),i}function iE(e,n,t){var i;e.Zi(e.i+1),i=e.Xi(n,t),n!=e.i&&pu(e.g,n,e.g,n+1,e.i-n),Ni(e.g,n,i),++e.i,e.Ki(n,t),e.Li()}function $7n(e,n,t,i,r,c,o,f){var l;for(l=t;c<o;)l>=i||n<t&&f.Le(e[n],e[l])<=0?Ni(r,c++,e[n++]):Ni(r,c++,e[l++])}function D7n(e,n){var t,i,r,c;if(n.cj(e.a),c=u(Mn(e.a,8),2e3),c!=null)for(t=c,i=0,r=t.length;i<r;++i)null.Sm()}function L7n(e,n){var t;return n.a&&(t=n.a.a.length,e.a?xt(e.a,e.b):e.a=new ss(e.d),R$e(e.a,n.a,n.d.length,t)),e}function rE(e,n){var t;return t=new zl,e.a.zd(t)?(gv(),new yD(bn(b_e(e,t.a,n)))):(I1(e),gv(),gv(),gle)}function IBe(e){var n;return Su(e,0)<0&&(e=_1(nvn(Ic(e)?rf(e):e))),n=wt(Rd(e,32)),64-(n!=0?xE(n):xE(wt(e))+32)}function qt(e,n){return mr(e)?We(e,n):bw(e)?yIe(e,n):dw(e)?(bn(e),Z(e)===Z(n)):iZ(e)?e.Fb(n):VY(e)?mTe(e,n):ZZ(e,n)}function _7n(e){return e?(e.i&1)!=0?e==ao?Ci:e==bt?Zi:e==Qg?s5:e==jr?zi:e==Qb?$b:e==Jp?Db:e==Ao?a3:D9:e:null}function jy(e,n){switch(n.g){case 2:case 1:return Jc(e,n);case 3:case 4:return is(Jc(e,n))}return tn(),tn(),Zr}function bte(e,n,t,i){switch(n){case 1:return!e.n&&(e.n=new se(zc,e,1,7)),e.n;case 2:return e.k}return fie(e,n,t,i)}function Rs(e,n,t){if(n<0)gre(e,t);else{if(!t.pk())throw I(new xn(nd+t.ve()+E9));u(t,69).uk().Ck(e,e.ei(),n)}}function PBe(e,n,t){if(e<0||n>t)throw I(new Lu(KS+e+Eue+n+", size: "+t));if(e>n)throw I(new xn(KS+e+NWe+n))}function Ua(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,2,t,n))}function Xa(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,3,t,n))}function wte(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,8,t,n))}function gte(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,9,t,n))}function OBe(e){var n;return(e.Db&64)!=0?Of(e):(n=new ef(Of(e)),n.a+=" (source: ",ac(n,e.d),n.a+=")",n.a)}function IT(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,8,t,n))}function F7n(e,n,t){var i,r;return r=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new hr(e,1,5,r,e.a),t?Nie(t,i):t=i),t}function xy(e,n){var t;return e.b==-1&&e.a&&(t=e.a.nk(),e.b=t?e.c.Eh(e.a.Jj(),t):vi(e.c.Ah(),e.a)),e.c.vh(e.b,n)}function NBe(e,n){var t,i;for(i=new Rn(e);i.e!=i.i.gc();)if(t=u(Jn(i),29),Z(n)===Z(t))return!0;return!1}function R7n(e){GS();var n,t,i,r;for(t=TR(),i=0,r=t.length;i<r;++i)if(n=t[i],Rc(n.a,e,0)!=-1)return n;return bq}function $Be(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function DBe(e){return e-=e>>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63}function pte(e){var n,t;return n=e.k,n==(pn(),Ui)?(t=u(j(e,(fe(),eu)),64),t==(ke(),Cn)||t==Xn):!1}function LBe(e){var n;return n=ree(e),P6(n.a,0)?(fw(),fw(),uq):(fw(),new NL(LD(n.a,0)?Mee(n)/Xd(n.a):0))}function B7n(e,n){var t;if(t=SE(e,n),F(t,335))return u(t,38);throw I(new xn(nd+n+"' is not a valid attribute"))}function Ay(e,n,t){var i;if(i=e.gc(),n>i)throw I(new yw(n,i));if(e.Qi()&&e.Gc(t))throw I(new xn(wj));e.Ei(n,t)}function _Be(e,n){var t,i;for(i=new Rn(e);i.e!=i.i.gc();)if(t=u(Jn(i),143),Z(n)===Z(t))return!0;return!1}function J7n(e,n,t){var i,r,c;return c=(r=v4(e.b,n),r),c&&(i=u(_S(F7(e,c),""),29),i)?Jre(e,i,n,t):null}function fR(e,n,t){var i,r,c;return c=(r=v4(e.b,n),r),c&&(i=u(_S(F7(e,c),""),29),i)?Gre(e,i,n,t):null}function G7n(e){var n,t,i;for(i=0,t=e.length,n=0;n<t;n++)e[n]==32||e[n]==13||e[n]==10||e[n]==9||(e[i++]=e[n]);return i}function H7n(e){var n;return n=e.a[e.c-1&e.a.length-1],n==null?null:(e.c=e.c-1&e.a.length-1,Ni(e.a,e.c,null),n)}function FBe(e){var n,t;for(t=e.p.a.ec().Jc();t.Ob();)if(n=u(t.Pb(),217),n.f&&e.b[n.c]<-1e-10)return n;return null}function mte(e,n){switch(e.b.g){case 0:case 1:return n;case 2:case 3:return new Af(n.d,0,n.a,n.b);default:return null}}function Qt(e,n){return e<n?-1:e>n?1:e==n?e==0?Qt(1/e,1/n):0:isNaN(e)?isNaN(n)?0:1:-1}function q7n(e,n){n.Tg("Sort end labels",1),Si(Ft(Pc(new Ve(null,new Ze(e.b,16)),new spe),new fpe),new lpe),n.Ug()}function Vi(){Vi=J,Bl=new Uk(o9,0),Tc=new Uk(u3,1),jc=new Uk(c3,2),Rl=new Uk(qJ,3),Xs=new Uk("UP",4)}function Bm(){Bm=J,Kwe=new wL("PARALLEL_NODE",0),qg=new wL("HIERARCHICAL_NODE",1),tN=new wL("ROOT_NODE",2)}function cE(){cE=J,LO=new hL("P1_STRUCTURE",0),_O=new hL("P2_PROCESSING_ORDER",1),FO=new hL("P3_EXECUTION",2)}function PT(){PT=J,cbe=new lL("EQUAL_BETWEEN_STRUCTURES",0),ube=new lL("TO_ASPECT_RATIO",1),VU=new lL(ul,2)}function fa(){fa=J,AX=new fM(o9,0),gx=new fM("POLYLINE",1),J5=new fM("ORTHOGONAL",2),R3=new fM("SPLINES",3)}function RBe(){RBe=J,$on=nh(nh(m6(nh(nh(m6(kt(new Li,(Um(),g8),(Xy(),hU)),p8),Lde),Fde),m8),Ode),Rde)}function z7n(e){switch(u(j(e,(fe(),m0)),316).g){case 1:ie(e,m0,(ra(),v3));break;case 2:ie(e,m0,(ra(),pp))}}function U7n(e){switch(e){case 0:return new xxe;case 1:return new Exe;case 2:return new jxe;default:throw I(new Mk)}}function BBe(e){switch(e.g){case 2:return Tc;case 1:return jc;case 4:return Rl;case 3:return Xs;default:return Bl}}function vte(e){switch(e.g){case 1:return Tn;case 2:return Cn;case 3:return $n;case 4:return Xn;default:return qc}}function uE(e){switch(e.g){case 1:return Xn;case 2:return Tn;case 3:return Cn;case 4:return $n;default:return qc}}function OT(e){switch(e.g){case 1:return $n;case 2:return Xn;case 3:return Tn;case 4:return Cn;default:return qc}}function My(e,n,t){var i,r;return e.Nj()?(r=e.Oj(),i=vB(e,n,t),e.Hj(e.Gj(7,le(t),i,n,r)),i):vB(e,n,t)}function lR(e,n){var t,i,r;e.d==null?(++e.e,--e.f):(r=n.jd(),t=n.yi(),i=(t&_t)%e.d.length,Gyn(e,i,Eze(e,i,t,r)))}function i4(e,n){var t;t=(e.Bb&jo)!=0,n?e.Bb|=jo:e.Bb&=-8193,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,15,t,n))}function r4(e,n){var t;t=(e.Bb&Df)!=0,n?e.Bb|=Df:e.Bb&=-1025,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,10,t,n))}function c4(e,n){var t;t=(e.Bb&cg)!=0,n?e.Bb|=cg:e.Bb&=-4097,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,12,t,n))}function u4(e,n){var t;t=(e.Bb&e1)!=0,n?e.Bb|=e1:e.Bb&=-2049,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,11,t,n))}function X7n(e,n){var t;return t=Qt(e.b.c,n.b.c),t!=0||(t=Qt(e.a.a,n.a.a),t!=0)?t:Qt(e.a.b,n.a.b)}function K7n(e){var n,t;for(t=Jd(new k1,91),n=!0;e.Ob();)n||(t.a+=Ju),n=!1,Eu(t,e.Pb());return(t.a+="]",t).a}function W7n(e){var n,t,i;for(n=new ve,i=new S(e.b);i.a<i.c.c.length;)t=u(T(i),592),er(n,u(t.Af(),18));return n}function hR(e,n){var t,i;for(i=new S(n);i.a<i.c.c.length;)t=u(T(i),49),no(e.b.b,t.b),p4n(u(t.a,194),u(t.b,82))}function V7n(e){var n,t;for(t=gze(ds(e)).Jc();t.Ob();)if(n=dt(t.Pb()),Ky(e,n))return syn(($Me(),Hln),n);return null}function Q7n(e,n,t){var i,r;for(r=e.a.ec().Jc();r.Ob();)if(i=u(r.Pb(),9),Y7(t,u(Ce(n,i.p),18)))return i;return null}function Y7n(e,n,t){var i,r;for(r=F(n,103)&&(u(n,19).Bb&Yr)!=0?new mL(n,e):new Uv(n,e),i=0;i<t;++i)VT(r);return r}function Z7n(e,n){var t,i,r,c,o;for(o=Xu(e.e.Ah(),n),c=0,t=u(e.g,122),r=0;r<e.i;++r)i=t[r],o.$l(i.Jk())&&++c;return c}function NT(e){var n,t;return t=u(j(e,(ye(),Es)),86),t==(Vi(),Bl)?(n=q(K(j(e,WP))),n>=1?Tc:Rl):t}function eEn(e){switch(u(j(e,(ye(),va)),222).g){case 1:return new Z3e;case 3:return new rve;default:return new Y3e}}function G1(e){if(e.c)G1(e.c);else if(e.d)throw I(new gc("Stream already terminated, can't be modified or used"))}function nEn(e){var n;if(!e.a)throw I(new gc("Cannot offset an unassigned cut."));n=e.c-e.b,e.b+=n,cNe(e,n),uNe(e,n)}function JBe(e,n,t){var i,r;if(e.c)Uie(e.c,n,t);else for(r=new S(e.b);r.a<r.c.c.length;)i=u(T(r),167),JBe(i,n,t)}function yte(e,n){var t,i,r;for(bn(n),t=!1,i=new S(e);i.a<i.c.c.length;)r=T(i),n.Gc(r)&&(W6(i),t=!0);return t}function hb(e,n,t){var i;return i=e.a.get(n),e.a.set(n,t===void 0?null:t),i===void 0?(++e.c,++e.b.g):++e.d,i}function tEn(e,n,t){var i,r;return i=u(n.mf(e.a),35),r=u(t.mf(e.a),35),i!=null&&r!=null?z7(i,r):i!=null?-1:r!=null?1:0}function Jc(e,n){var t;return e.i||wre(e),t=u(dc(e.g,n),49),t?new O1(e.j,u(t.a,15).a,u(t.b,15).a):(tn(),tn(),Zr)}function oE(e,n){this.e=n,this.a=IBe(e),this.a<54?this.f=Xd(e):this.c=(ih(),Su(e,0)>=0?H1(e):V6(H1(Ja(e))))}function GBe(e,n,t,i,r,c){this.e=new ve,this.f=(rc(),h8),me(this.e,e),this.d=n,this.a=t,this.b=i,this.f=r,this.c=c}function HBe(e,n,t,i,r){GTe(this),this.b=e,this.d=ee(Lh,Ya,9,n.a.c.length,0,1),this.f=t,xl(n.a,this.d),this.g=i,this.c=r}function iEn(e,n,t){var i;i=t,!i&&(i=BY(new Zp,0)),i.Tg(oVe,2),VJe(e.b,n,i.dh(1)),KDn(e,n,i.dh(1)),U_n(n,i.dh(1)),i.Ug()}function kte(e,n,t){var i;return i=0,n&&(v2(e.a)?i+=n.f.a/2:i+=n.f.b/2),t&&(v2(e.a)?i+=t.f.a/2:i+=t.f.b/2),i}function Ete(e,n,t){var i,r;return i=(j1(),r=new sA,r),iT(i,n),rT(i,t),e&&it((!e.a&&(e.a=new Wi(Ms,e,5)),e.a),i),i}function aR(e){var n;return(e.Db&64)!=0?Of(e):(n=new ef(Of(e)),n.a+=" (identifier: ",ac(n,e.k),n.a+=")",n.a)}function $T(e){var n;switch(e.gc()){case 0:return XM(),QH;case 1:return new _L(st(e.Xb(0)));default:return n=e,new z_(n)}}function Kr(e,n){var t;return Ic(e)&&Ic(n)&&(t=e+n,KE<t&&t<s0)?t:_1(Mkn(Ic(e)?rf(e):e,Ic(n)?rf(n):n))}function Hr(e,n){var t;return Ic(e)&&Ic(n)&&(t=e*n,KE<t&&t<s0)?t:_1($Dn(Ic(e)?rf(e):e,Ic(n)?rf(n):n))}function cf(e,n){var t;return Ic(e)&&Ic(n)&&(t=e-n,KE<t&&t<s0)?t:_1(ARe(Ic(e)?rf(e):e,Ic(n)?rf(n):n))}function rEn(e,n,t){var i;try{Jkn(e,n,t)}catch(r){throw r=_i(r),F(r,596)?(i=r,I(new kee(i))):I(r)}return n}function jte(e){var n;return n=ee(Vs,uh,30,2,15,1),e-=Yr,n[0]=(e>>10)+WE&Qi,n[1]=(e&1023)+56320&Qi,eh(n,0,n.length)}function Di(e){var n,t,i;for(n=new ve,i=new S(e.j);i.a<i.c.c.length;)t=u(T(i),12),me(n,t.e);return st(n),new D6(n)}function Zl(e){var n,t,i;for(n=new ve,i=new S(e.j);i.a<i.c.c.length;)t=u(T(i),12),me(n,t.b);return st(n),new D6(n)}function fi(e){var n,t,i;for(n=new ve,i=new S(e.j);i.a<i.c.c.length;)t=u(T(i),12),me(n,t.g);return st(n),new D6(n)}function cEn(e){var n;return n=Kw(e),n>34028234663852886e22?xi:n<-34028234663852886e22?lr:n}function o4(e,n){var t;t=(e.Bb&ch)!=0,n?e.Bb|=ch:e.Bb&=-16385,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,16,t,n))}function dR(e,n){var t;t=(e.Bb&cu)!=0,n?e.Bb|=cu:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,18,t,n))}function xte(e,n){var t;t=(e.Bb&cu)!=0,n?e.Bb|=cu:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,18,t,n))}function Ate(e,n){var t;t=(e.Bb&Yr)!=0,n?e.Bb|=Yr:e.Bb&=-65537,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,20,t,n))}function Mte(e,n){e.n.c.length==0&&me(e.n,new AC(e.s,e.t,e.i)),me(e.b,n),cie(u(Ce(e.n,e.n.c.length-1),208),n),jXe(e,n)}function uEn(e,n,t){var i;t.Tg("Straight Line Edge Routing",1),t.bh(n,Ese),i=u(he(n,(A2(),Sp)),26),LXe(e,i),t.bh(n,jI)}function oEn(e){var n,t;for(t=SSn(ds(Sw(e))).Jc();t.Ob();)if(n=dt(t.Pb()),Ky(e,n))return fyn((DMe(),qln),n);return null}function qBe(e){var n,t,i,r;for(n=new eIe(e.Pd().gc()),r=0,i=Nm(e.Pd().Jc());i.Ob();)t=i.Pb(),t4n(n,t,le(r++));return DCn(n.a)}function Je(e){var n,t,i,r;return t=(n=u(Vf((i=e.Pm,r=i.f,r==ut?i:r)),10),new Os(n,u(xf(n,n.length),10),0)),If(t,e),t}function sEn(e){var n,t,i;for(t=0,i=e.length;t<i;t++)if(e[t]==null)throw I(new nm("at index "+t));return n=e,new Uc(n)}function DT(){DT=J,L0e=new sL("ASPECT_RATIO_DRIVEN",0),qU=new sL("MAX_SCALE_DRIVEN",1),D0e=new sL("AREA_DRIVEN",2)}function bR(){Jie();var e,n,t;t=iRn+++Date.now(),e=Br(m.Math.floor(t*QE))&XS,n=Br(t-e*mue),this.a=e^1502,this.b=n^FJ}function fEn(e){return tR(),gn(),!!(UBe(u(e.a,82).j,u(e.b,86))||u(e.a,82).d.e!=0&&UBe(u(e.a,82).j,u(e.b,86)))}function wR(e,n){var t,i,r;for(r=0,i=u(n.Kb(e),20).Jc();i.Ob();)t=u(i.Pb(),17),Se(Te(j(t,(fe(),i1))))||++r;return r}function lEn(e,n){var t,i,r;i=T2(n),r=q(K(qw(i,(ye(),Rf)))),t=m.Math.max(0,r/2-.5),$y(n,t,1),me(e,new iCe(n,t))}function zBe(e,n){var t,i;for(t=rt(e,0);t.b!=t.d.c;){if(i=Ck(K(tt(t))),i==n)return;if(i>n){$$e(t);break}}sC(t,n)}function Be(e,n){var t,i,r,c,o;if(t=n.f,t0(e.c.d,t,n),n.g!=null)for(r=n.g,c=0,o=r.length;c<o;++c)i=r[c],t0(e.c.e,i,n)}function hEn(e,n,t,i){var r,c,o;for(r=n+1;r<t;++r)for(c=r;c>n&&i.Le(e[c-1],e[c])>0;--c)o=e[c],Ni(e,c,e[c-1]),Ni(e,c-1,o)}function Bs(e,n,t,i){if(n<0)Ure(e,t,i);else{if(!t.pk())throw I(new xn(nd+t.ve()+E9));u(t,69).uk().Ak(e,e.ei(),n,i)}}function aEn(e,n){var t;if(t=SE(e.Ah(),n),F(t,103))return u(t,19);throw I(new xn(nd+n+"' is not a valid reference"))}function Oc(e){var n;return Array.isArray(e)&&e.Rm===Vn?Od(ns(e))+"@"+(n=si(e)>>>0,n.toString(16)):e.toString()}function dEn(e,n){return e.h==XE&&e.m==0&&e.l==0?(n&&(td=zu(0,0,0)),vTe((Bv(),Wfe))):(n&&(td=zu(e.l,e.m,e.h)),zu(0,0,0))}function bEn(e,n){switch(n.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function UBe(e,n){switch(n.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function Cte(e,n,t,i){switch(n){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return bte(e,n,t,i)}function XBe(e,n,t){switch(n.g){case 1:e.b-=t.b/2;break;case 3:e.b+=t.b/2;break;case 4:e.a-=t.a/2;break;case 2:e.a+=t.a/2}}function wEn(e,n){return We(n.b&&n.c?Ud(n.b)+"->"+Ud(n.c):"e_"+si(n),e.b&&e.c?Ud(e.b)+"->"+Ud(e.c):"e_"+si(e))}function gEn(e,n){return We(n.b&&n.c?Ud(n.b)+"->"+Ud(n.c):"e_"+si(n),e.b&&e.c?Ud(e.b)+"->"+Ud(e.c):"e_"+si(e))}function ab(e,n){return gl(),Sf(V1),m.Math.abs(e-n)<=V1||e==n||isNaN(e)&&isNaN(n)?0:e<n?-1:e>n?1:Dd(isNaN(e),isNaN(n))}function LT(e,n){if(n==e.d)return e.e;if(n==e.e)return e.d;throw I(new xn("Node "+n+" not part of edge "+e))}function pEn(e){return e.e==null?e:(!e.c&&(e.c=new SB((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,null)),e.c)}function mEn(e){return e.k!=(pn(),Ai)?!1:$w(new Ve(null,new Aw(new An(In(fi(e).a.Jc(),new X)))),new P3e)}function qo(e){var n;if(e.b){if(qo(e.b),e.b.d!=e.c)throw I(new Ss)}else e.d.dc()&&(n=u(e.f.c.xc(e.e),18),n&&(e.d=n))}function vEn(e){mw();var n,t,i,r;for(n=e.o.b,i=u(u(Xt(e.r,(ke(),Xn)),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r=t.e,r.b+=n}function KBe(e,n){yv();var t,i,r,c;for(i=BLe(e),r=n,Fv(i,0,i.length,r),t=0;t<i.length;t++)c=eAn(e,i[t],t),t!=c&&My(e,t,c)}function yEn(e,n){var t,i,r;for(i=HOn(e,n),r=i[i.length-1]/2,t=0;t<i.length;t++)if(i[t]>=r)return n.c+t;return n.c+n.b.gc()}function gR(e,n,t){var i,r;for(i=0,r=e.length;i<r;i++)if(XF((Pn(i,e.length),e.charCodeAt(i)),n,t))return!0;return!1}function kEn(e){var n;return e==null?!0:(n=e.length,n>0&&(Pn(n-1,e.length),e.charCodeAt(n-1)==58)&&!gR(e,U8,X8))}function Cy(e){var n;this.a=(n=u(e.e&&e.e(),10),new Os(n,u(xf(n,n.length),10),0)),this.b=ee(ir,ln,1,this.a.a.length,5,1)}function Tte(e){yR(),this.c=Cf($(N(ERn,1),ln,830,0,[Gcn])),this.b=new Wn,this.a=e,It(this.b,hO,1),Tu(Hcn,new tje(this))}function ts(){ts=J,Bj=new Bk(ul,0),Y9=new Bk("FIRST",1),ma=new Bk(jVe,2),Z9=new Bk("LAST",3),y0=new Bk(xVe,4)}function Ty(){Ty=J,z9=new eM("LAYER_SWEEP",0),Hhe=new eM("MEDIAN_LAYER_SWEEP",1),Oj=new eM(nG,2),qhe=new eM(ul,3)}function _T(){_T=J,PX=new aM(lse,0),Zwe=new aM("GROUP_DEC",1),nge=new aM("GROUP_MIXED",2),ege=new aM("GROUP_INC",3)}function EEn(e){var n,t,i,r,c;return c=Gie(e),t=Ok(e.c),i=!t,i&&(r=new Sd,Tf(c,"knownLayouters",r),n=new Pje(r),Lr(e.c,n)),c}function Ste(e,n,t,i,r){var c,o,f;for(o=r;n.b!=n.c;)c=u(jm(n),9),f=u(Jc(c,i).Xb(0),12),e.d[f.p]=o++,jn(t.c,f);return o}function Ite(e,n){var t,i,r,c,o,f;for(i=0,t=0,c=n,o=0,f=c.length;o<f;++o)r=c[o],r>0&&(i+=r,++t);return t>1&&(i+=e.d*(t-1)),i}function Pte(e){var n,t,i;for(i=new Ia,i.a+="[",n=0,t=e.gc();n<t;)ac(i,R6(e.Ti(n))),++n<t&&(i.a+=Ju);return i.a+="]",i.a}function pR(e){var n,t,i;for(i=q(K(e.a.mf((jt(),UO)))),t=new S(e.a.Qf());t.a<t.c.c.length;)n=u(T(t),685),FKe(e,n,i)}function jEn(e){var n,t,i,r;for(n=(e.j==null&&(e.j=(Nv(),r=eq.ke(e),FAn(r))),e.j),t=0,i=n.length;t<i;++t);}function mR(e,n){var t,i;for(i=new S(n);i.a<i.c.c.length;)t=u(T(i),49),me(e.b.b,u(t.b,82)),K_(u(t.a,194),u(t.b,82))}function xEn(e,n,t){var i,r;for(r=e.a.b,i=r.c.length;i<t;i++)Ld(r,0,new au(e.a));or(n,u(Ce(r,r.c.length-t),25)),e.b[n.p]=t}function AEn(e,n,t,i,r){ls(),Nf(kf(yf(vf(Ef(new Ys,0),r.d.e-e),n),r.d)),Nf(kf(yf(vf(Ef(new Ys,0),t-r.a.e),r.a),i))}function WBe(e,n){var t;return e.d?Au(e.b,n)?u(vn(e.b,n),43):(t=n.bg(),It(e.b,n,t),t):n.bg()}function Ote(e,n){var t;return Z(e)===Z(n)?!0:F(n,91)?(t=u(n,91),e.e==t.e&&e.d==t.d&&dyn(e,t.a)):!1}function Jm(e){switch(ke(),e.g){case 4:return Cn;case 1:return $n;case 3:return Xn;case 2:return Tn;default:return qc}}function Nte(e,n){switch(n){case 3:return e.f!=0;case 4:return e.g!=0;case 5:return e.i!=0;case 6:return e.j!=0}return Ine(e,n)}function MEn(e){switch(e.g){case 1:return new b5e;case 2:return new YSe;default:throw I(new xn(WG+(e.f!=null?e.f:""+e.g)))}}function CEn(e){switch(e.g){case 0:return new E5e;case 1:return new j5e;default:throw I(new xn(WG+(e.f!=null?e.f:""+e.g)))}}function VBe(e){switch(e.g){case 0:return new k5e;case 1:return new x5e;default:throw I(new xn(YJ+(e.f!=null?e.f:""+e.g)))}}function QBe(e){switch(e.g){case 0:return new WW;case 1:return new Axe;default:throw I(new xn(MI+(e.f!=null?e.f:""+e.g)))}}function is(e){var n,t;return F(e,312)?(t=Lyn(u(e,312)),n=t,n):F(e,432)?u(e,432).a:F(e,59)?new Wxe(e):new vV(e)}function TEn(e){var n=e.e;function t(i){return!i||i.length==0?"":" "+i.join(`
|
|
9
9
|
`)}return n&&(n.stack||t(e[bJ]))}function SEn(e){var n,t;if(e.b)return e.b;for(t=$l?null:e.d;t;){if(n=$l?null:t.b,n)return n;t=$l?null:t.d}return dv(),vle}function IEn(e){var n,t,i;return e.e==0?0:(n=e.d<<5,t=e.a[e.d-1],e.e<0&&(i=QFe(e),i==e.d-1&&(--t,t=t|0)),n-=xE(t),n)}function PEn(e){var n,t,i;return e<eP.length?eP[e]:(t=e>>5,n=e&31,i=ee(bt,Pt,30,t+1,15,1),i[t]=1<<n,new Bd(1,t+1,i))}function YBe(e){var n,t,i;return t=e.ih(),t?(n=e.Bh(),F(n,174)&&(i=YBe(u(n,174)),i!=null)?i+"."+t:t):null}function Hw(e,n,t){var i,r;for(r=e.Jc();r.Ob();)if(i=r.Pb(),Z(n)===Z(i)||n!=null&&qt(n,i))return t&&r.Qb(),!0;return!1}function OEn(e,n){var t,i,r,c;for(r=new Fu(n.gc()),i=n.Jc();i.Ob();)t=i.Pb(),c=_B(e,u(t,57)),c&&jn(r.c,c);return r}function $te(e){var n,t,i,r;for(n=new Sd,r=new s2(e.b.Jc());r.b.Ob();)i=u(r.b.Pb(),690),t=JCn(i),svn(n,n.a.length,t);return n.a}function Dte(e,n,t){var i,r;if(++e.j,t.dc())return!1;for(r=t.Jc();r.Ob();)i=r.Pb(),e.oj(n,e.Xi(n,i)),++n;return!0}function ZBe(e,n){var t,i;if(n){for(t=0;t<e.i;++t)if(i=u(e.g[t],373),i.kj(n))return!1;return it(e,n)}else return!1}function vi(e,n){var t,i,r;if(t=(e.i==null&&rh(e),e.i),i=n.Jj(),i!=-1){for(r=t.length;i<r;++i)if(t[i]==n)return i}return-1}function NEn(e){var n,t,i,r,c;for(t=u(e.g,679),i=e.i-1;i>=0;--i)for(n=t[i],r=0;r<i;++r)if(c=t[r],wXe(e,n,c)){zm(e,i);break}}function eJe(e,n){var t,i,r,c;n&&(r=ua(n,"x"),t=new jje(e),$2(t.a,(bn(r),r)),c=ua(n,"y"),i=new xje(e),D2(i.a,(bn(c),c)))}function nJe(e,n){var t,i,r,c;n&&(r=ua(n,"x"),t=new Mje(e),O2(t.a,(bn(r),r)),c=ua(n,"y"),i=new Cje(e),N2(i.a,(bn(c),c)))}function $En(e,n){var t;return t=u(To(e,Bo(new bi,new ri,new Pr,$(N(oo,1),ae,130,0,[(Fs(),uo)]))),16),t.Oc(bPe(t.gc()))}function Lte(e){var n;return!e.c&&(e.c=new r$),ur(e.d,new u$),dOn(e),n=rOn(e),Si(new Ve(null,new Ze(e.d,16)),new n7e(e)),n}function DEn(e,n){n.Tg("End label post-processing",1),Si(Ft(Pc(new Ve(null,new Ze(e.b,16)),new epe),new npe),new tpe),n.Ug()}function db(e,n){switch(n.g){case 1:return mm(e.j,(yo(),Vle));case 2:return mm(e.j,(yo(),Yle));default:return tn(),tn(),Zr}}function _te(e,n){switch(n){case 3:ob(e,0);return;case 4:sb(e,0);return;case 5:Go(e,0);return;case 6:Ho(e,0);return}lte(e,n)}function tJe(e,n){var t,i;if(i=new ev(e.a.$c(n,!0)),i.a.gc()<=1)throw I(new Vp);return t=i.a.ec().Jc(),t.Pb(),u(t.Pb(),40)}function LEn(e,n,t){var i,r;return i=q(e.p[n.i.p])+q(e.d[n.i.p])+n.n.b+n.a.b,r=q(e.p[t.i.p])+q(e.d[t.i.p])+t.n.b+t.a.b,r-i}function Fte(e,n){var t;return e.i>0&&(n.length<e.i&&(t=H7(ns(n).c,e.i),n=t),pu(e.g,0,n,0,e.i)),n.length>e.i&&Ni(n,e.i,null),n}function FT(e){var n;return(e.Db&64)!=0?Ey(e):(n=new ef(Ey(e)),n.a+=" (instanceClassName: ",ac(n,e.D),n.a+=")",n.a)}function RT(e){var n,t,i,r;for(r=0,t=0,i=e.length;t<i;t++)n=(Pn(t,e.length),e.charCodeAt(t)),n<64&&(r=Ql(r,kh(1,n)));return r}function vR(e,n){var t,i,r;return e.f>0?(e.Zj(),i=n==null?0:si(n),r=(i&_t)%e.d.length,t=Eze(e,r,i,n),t!=-1):!1}function sE(e,n){var t,i,r,c;for(c=Xu(e.e.Ah(),n),t=u(e.g,122),r=0;r<e.i;++r)if(i=t[r],c.$l(i.Jk()))return!1;return!0}function _En(e,n,t,i){var r,c;if(c=t-n,c<3)for(;c<3;)e*=10,++c;else{for(r=1;c>3;)r*=10,--c;e=(e+(r>>1))/r|0}return i.i=e,!0}function FEn(e,n,t){var i,r;for(i=vr(t,uc),r=0;Su(i,0)!=0&&r<n;r++)i=Kr(i,vr(e[r],uc)),e[r]=wt(i),i=V0(i,32);return wt(i)}function BT(e,n){bQ();var t,i;return t=u7((TA(),TA(),$9)),i=null,n==t&&(i=u(Mu(Xfe,e),616)),i||(i=new mOe(e),n==t&&mc(Xfe,e,i)),i}function iJe(e){mw();var n;return n=new Ur(u(e.e.mf((jt(),Dp)),8)),e.B.Gc((Uo(),H5))&&(n.a<=0&&(n.a=20),n.b<=0&&(n.b=20)),n}function REn(e){zC(),u(e.mf((jt(),wd)),182).Gc((Uo(),eN))&&(u(e.mf(Rg),182).Ec((Io(),B3)),u(e.mf(wd),182).Kc(eN))}function rJe(e){var n,t;n=e.d==(Xm(),b5),t=Oie(e),n&&!t||!n&&t?ie(e.a,(ye(),bh),(Mh(),sx)):ie(e.a,(ye(),bh),(Mh(),ox))}function BEn(e){var n,t,i,r;for(i=aTn(e),ur(i,ftn),r=e.d,r.c.length=0,t=new S(i);t.a<t.c.c.length;)n=u(T(t),455),er(r,n.b)}function Bu(e,n,t){var i,r,c;return e.Nj()?(i=e.i,c=e.Oj(),iE(e,i,n),r=e.Gj(3,null,n,i,c),t?t.lj(r):t=r):iE(e,e.i,n),t}function JEn(e,n,t){var i,r;return i=new ia(e.e,4,10,(r=n.c,F(r,88)?u(r,29):(nn(),mf)),null,Ka(e,n),!1),t?t.lj(i):t=i,t}function GEn(e,n,t){var i,r;return i=new ia(e.e,3,10,null,(r=n.c,F(r,88)?u(r,29):(nn(),mf)),Ka(e,n),!1),t?t.lj(i):t=i,t}function rl(e,n){var t,i,r;return e.f>0&&(e.Zj(),i=n==null?0:si(n),r=(i&_t)%e.d.length,t=jre(e,r,i,n),t)?t.kd():null}function cJe(e,n){var t,i,r;return F(n,45)?(t=u(n,45),i=t.jd(),r=Gw(e.Pc(),i),Qh(r,t.kd())&&(r!=null||e.Pc()._b(i))):!1}function H1(e){ih();var n,t;return t=wt(e),n=wt(Rd(e,32)),n!=0?new d$e(t,n):t>10||t<0?new na(1,t):oen[t]}function Rte(e){Uw();var n;return(e.q?e.q:(tn(),tn(),$h))._b((ye(),E0))?n=u(j(e,E0),203):n=u(j(ar(e),j5),203),n}function yR(){yR=J,RA(),hO=(ye(),A0),Hcn=Cf($(N(oX,1),fse,147,0,[zj,Rf,xp,x0,Pg,Rz,C5,T5,Bz,o8,Ig,ld,Og]))}function uJe(e,n,t){eFe(),vxe.call(this),this.a=Ew(Ien,[pe,Aue],[593,216],0,[rP,dq],2),this.c=new hm,this.g=e,this.f=n,this.d=t}function oJe(e){this.e=ee(bt,Pt,30,e.length,15,1),this.c=ee(ao,cl,30,e.length,16,1),this.b=ee(ao,cl,30,e.length,16,1),this.f=0}function HEn(e){var n,t;for(e.j=ee(jr,wc,30,e.p.c.length,15,1),t=new S(e.p);t.a<t.c.c.length;)n=u(T(t),9),e.j[n.p]=n.o.b/e.i}function sJe(e,n){var t,i;e.a=Kr(e.a,1),e.c=m.Math.min(e.c,n),e.b=m.Math.max(e.b,n),e.d+=n,t=n-e.f,i=e.e+t,e.f=i-e.e-t,e.e=i}function fE(e,n){var t,i;for(i=n.length,t=0;t<i;t+=2)Iu(e,(Pn(t,n.length),n.charCodeAt(t)),(Pn(t+1,n.length),n.charCodeAt(t+1)))}function Sy(e,n){var t;f_n(n),t=u(j(e,(ye(),nO)),284),t&&ie(e,nO,Gxn(t)),Da(e.c),Da(e.f),Iee(e.d),Iee(u(j(e,uO),213))}function kR(e,n){var t;return Ic(e)&&Ic(n)&&(t=e%n,KE<t&&t<s0)?t:_1((qce(Ic(e)?rf(e):e,Ic(n)?rf(n):n,!0),td))}function fJe(e,n){e.Vj();try{e.d._c(e.e++,n),e.f=e.d.j,e.g=-1}catch(t){throw t=_i(t),F(t,99)?I(new Ss):I(t)}}function ER(){ER=J,GX=new Z6e,xge=new eye,Age=new nye,Mge=new tye,Cge=new iye,Tge=new rye,Sge=new cye,Ige=new uye,Pge=new oye}function Bte(){Bte=J,qwe=new U0(15),lln=new Tr((jt(),Fh),qwe),aln=new Tr(f1,15),hln=new Tr(jX,le(0)),fln=new Tr(D5,R4)}function JT(){JT=J,E8=new oL("P1_WIDTH_APPROXIMATION",0),OO=new oL("P2_PACKING",1),_U=new oL("P3_WHITESPACE_ELIMINATION",2)}function rs(){rs=J,jx=new hM("PORTS",0),I0=new hM("PORT_LABELS",1),Ex=new hM("NODE_LABELS",2),Hg=new hM("MINIMUM_SIZE",3)}function qEn(e,n){n.Tg("Min Size Postprocessing",1),Yt(e,(Ch(),Dg),m.Math.max(q(K(he(e,Dg))),q(K(he(e,x8))))),n.Ug()}function lJe(e){if(e.b==null){for(;e.a.Ob();)if(e.b=e.a.Pb(),!u(e.b,52).Gh())return!0;return e.b=null,!1}else return!0}function qw(e,n){var t,i;return i=null,Ht(e,(ye(),fO))&&(t=u(j(e,fO),105),t.nf(n)&&(i=t.mf(n))),i==null&&(i=j(ar(e),n)),i}function hJe(e,n){var t,i,r,c;return t=n>>5,n&=31,r=e.d+t+(n==0?0:1),i=ee(bt,Pt,30,r,15,1),BMn(i,e.a,t,n),c=new Bd(e.e,r,i),ty(c),c}function zEn(e,n){var t,i,r,c;for(c=n.b.b,e.a=new ni,e.b=ee(bt,Pt,30,c,15,1),t=0,r=rt(n.b,0);r.b!=r.d.c;)i=u(tt(r),40),i.g=t++}function aJe(e,n,t){var i,r,c,o;for(c=n-e.e,o=t-e.f,r=new S(e.a);r.a<r.c.c.length;)i=u(T(r),173),hE(i,i.s+c,i.t+o);e.e=n,e.f=t}function Jte(e,n,t){var i,r,c,o,f;return o=e.k,f=n.k,i=t[o.g][f.g],r=K(qw(e,i)),c=K(qw(n,i)),m.Math.max((bn(r),r),(bn(c),c))}function Gte(e,n,t){var i,r;i=u(Mu(U5,n),121),r=u(Mu(Z8,n),121),t?(mc(U5,e,i),mc(Z8,e,r)):(mc(Z8,e,i),mc(U5,e,r))}function s4(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.Le(n,c.d),t&&i==0)return c;i>=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function lE(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.Le(n,c.d),t&&i==0)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function dJe(e,n,t){var i,r,c,o;for(r=u(vn(e.b,t),171),i=0,o=new S(n.j);o.a<o.c.c.length;)c=u(T(o),113),r[c.d.p]&&++i;return i}function UEn(e,n,t,i){var r,c,o;return r=!1,PLn(e.f,t,i)&&(mjn(e.f,e.a[n][t],e.a[n][i]),c=e.a[n],o=c[i],c[i]=c[t],c[t]=o,r=!0),r}function XEn(e,n){var t,i,r;for(i=new An(In(fi(e).a.Jc(),new X));zn(i);)if(t=u(Dn(i),17),r=t.d.i,r.c==n)return!1;return!0}function KEn(e){var n;n=e.a;do n=u(Dn(new An(In(fi(n).a.Jc(),new X))),17).d.i,n.k==(pn(),qi)&&me(e.e,n);while(n.k==(pn(),qi))}function WEn(){return Error.stackTraceLimit>0?(m.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function jR(e){var n;e.c!=0&&(n=u(Ce(e.a,e.b),295),n.b==1?(++e.b,e.b<e.a.c.length&&Oke(u(Ce(e.a,e.b),295))):--n.b,--e.c)}function xR(e,n){for(var t=0;!n[t]||n[t]=="";)t++;for(var i=n[t++];t<n.length;t++)!n[t]||n[t]==""||(i+=e+n[t]);return i}function bJe(e){var n,t;return n=u(Mn(e.a,4),129),n!=null?(t=ee(FX,PH,415,n.length,0,1),pu(n,0,t,0,n.length),t):Dln}function wJe(e){var n,t,i,r,c;if(e==null)return null;for(c=new ve,t=ZF(e),i=0,r=t.length;i<r;++i)n=t[i],me(c,Pu(n,!0));return c}function gJe(e){var n,t,i,r,c;if(e==null)return null;for(c=new ve,t=ZF(e),i=0,r=t.length;i<r;++i)n=t[i],me(c,Pu(n,!0));return c}function pJe(e){var n,t,i,r,c;if(e==null)return null;for(c=new ve,t=ZF(e),i=0,r=t.length;i<r;++i)n=t[i],me(c,Pu(n,!0));return c}function eh(e,n,t){var i,r,c,o;for(c=n+t,Sr(n,c,e.length),o="",r=n;r<c;)i=m.Math.min(r+1e4,c),o+=Jvn(e.slice(r,i)),r=i;return o}function VEn(e,n){return gl(),gl(),Sf(V1),(m.Math.abs(e-n)<=V1||e==n||isNaN(e)&&isNaN(n)?0:e<n?-1:e>n?1:Dd(isNaN(e),isNaN(n)))>0}function Hte(e,n){return gl(),gl(),Sf(V1),(m.Math.abs(e-n)<=V1||e==n||isNaN(e)&&isNaN(n)?0:e<n?-1:e>n?1:Dd(isNaN(e),isNaN(n)))<0}function mJe(e,n){return gl(),gl(),Sf(V1),(m.Math.abs(e-n)<=V1||e==n||isNaN(e)&&isNaN(n)?0:e<n?-1:e>n?1:Dd(isNaN(e),isNaN(n)))<=0}function qte(e){switch(e.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function la(){la=J,hd=new tM(ul,0),ade=new tM("NODES_AND_EDGES",1),eU=new tM("PREFER_EDGES",2),nU=new tM("PREFER_NODES",3)}function zte(e,n,t,i,r,c){this.a=e,this.c=n,this.b=t,this.f=i,this.d=r,this.e=c,this.c>0&&this.b>0&&(this.g=VM(this.c,this.b,this.a))}function QEn(e,n){var t=e.a,i;n=String(n),t.hasOwnProperty(n)&&(i=t[n]);var r=(UF(),nq)[typeof i],c=r?r(i):ute(typeof i);return c}function f4(e){var n,t,i;if(i=null,n=hh in e.a,t=!n,t)throw I(new Ul("Every element must have an id."));return i=Wm(Zh(e,hh)),i}function bb(e){var n,t;for(t=zHe(e),n=null;e.c==2;)Rt(e),n||(n=(Bt(),Bt(),new L6(2)),u0(n,t),t=n),t.Hm(zHe(e));return t}function GT(e,n){var t,i,r;return e.Zj(),i=n==null?0:si(n),r=(i&_t)%e.d.length,t=jre(e,r,i,n),t?(mFe(e,t),t.kd()):null}function vJe(e,n){return e.e>n.e?1:e.e<n.e?-1:e.d>n.d?e.e:e.d<n.d?-n.e:e.e*Zne(e.a,n.a,e.d)}function yJe(e){return e>=48&&e<48+m.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function YEn(e,n){if(n.c==e)return n.d;if(n.d==e)return n.c;throw I(new xn("Input edge is not connected to the input port."))}function nh(e,n){if(e.a<0)throw I(new gc("Did not call before(...) or after(...) before calling add(...)."));return RQ(e,e.a,n),e}function kJe(e,n){var t,i,r;if(e.c)ob(e.c,n);else for(t=n-Zo(e),r=new S(e.a);r.a<r.c.c.length;)i=u(T(r),167),kJe(i,Zo(i)+t)}function EJe(e,n){var t,i,r;if(e.c)sb(e.c,n);else for(t=n-mo(e),r=new S(e.d);r.a<r.c.c.length;)i=u(T(r),167),EJe(i,mo(i)+t)}function Ute(e){return MC(),F(e,166)?u(vn(Ix,aen),296).Qg(e):Au(Ix,ns(e))?u(vn(Ix,ns(e)),296).Qg(e):null}function Uu(e){var n,t;return(e.Db&32)==0&&(t=(n=u(Mn(e,16),29),Un(n||e.fi())-Un(e.fi())),t!=0&&Gm(e,32,ee(ir,ln,1,t,5,1))),e}function Gm(e,n,t){var i;(e.Db&n)!=0?t==null?pSn(e,n):(i=zR(e,n),i==-1?e.Eb=t:Ni(Dm(e.Eb),i,t)):t!=null&&_Pn(e,n,t)}function ZEn(e,n,t,i){var r,c;n.c.length!=0&&(r=PIn(t,i),c=RTn(n),Si(eT(new Ve(null,new Ze(c,1)),new c4e),new zOe(e,t,r,i)))}function ejn(e,n){var t,i,r,c;return i=e.a.length-1,t=n-e.b&i,c=e.c-n&i,r=e.c-e.b&i,MSe(t<r),t>=c?(c7n(e,n),-1):(u7n(e,n),1)}function njn(e,n){var t,i;for(t=(Pn(n,e.length),e.charCodeAt(n)),i=n+1;i<e.length&&(Pn(i,e.length),e.charCodeAt(i)==t);)++i;return i-n}function Xte(e){var n,t;switch(t=e.Nc(),t.length){case 0:return XM(),QH;case 1:return n=t[0],new _L(st(n));default:return new z_(sEn(t))}}function Kte(e){switch(typeof e){case oJ:return Ha(e);case oue:return lm(e);case e3:return qSe(e);default:return e==null?0:K0(e)}}function tjn(e){if(HT(Q4,e))return gn(),o5;if(HT(fH,e))return gn(),id;throw I(new xn("Expecting true or false"))}function ijn(e,n){return e.e<n.e?-1:e.e>n.e?1:e.f<n.f?-1:e.f>n.f?1:si(e)-si(n)}function jJe(e,n){var t;return Z(n)===Z(e)?!0:!F(n,22)||(t=u(n,22),t.gc()!=e.gc())?!1:e.Hc(t)}function HT(e,n){return bn(e),n==null?!1:We(e,n)?!0:e.length==n.length&&We(e.toLowerCase(),n.toLowerCase())}function zw(e){var n,t;return Su(e,-129)>0&&Su(e,128)<0?(kPe(),n=wt(e)+128,t=tle[n],!t&&(t=tle[n]=new aW(e)),t):new aW(e)}function rjn(e){var n,t;for(t=new S(e.a.b);t.a<t.c.c.length;)if(n=u(T(t),70),Se(Te(j(n,(ye(),jp)))))return!0;return!1}function cjn(e){var n;return e.b||Lbn(e,(n=V2n(e.e,e.a),!n||!We(fH,rl((!n.b&&(n.b=new Yo((nn(),nc),nu,n)),n.b),"qualified")))),e.c}function Hm(){Hm=J,J9=new QA(ul,0),zle=new QA("INSIDE_PORT_SIDE_GROUPS",1),Cq=new QA("GROUP_MODEL_ORDER",2),Tq=new QA(VJ,3)}function qT(e){var n,t,i;if(i=e.Gh(),!i)for(n=0,t=e.Mh();t;t=t.Mh()){if(++n>$J)return t.Nh();if(i=t.Gh(),i||t==e)break}return i}function ujn(e,n,t){var i,r,c;return i=u(R(Jo(e.a),n),87),c=(r=i.c,r||(nn(),Hl)),(c.Sh()?J1(e.b,u(c,52)):c)==t?PS(i):Jv(i,t),c}function xJe(e,n,t){var i,r,c;for(c=new S(t.a);c.a<c.c.c.length;)r=u(T(c),225),i=new EM(u(vn(e.a,r.b),68)),me(n.a,i),xJe(e,i,r)}function AJe(e,n,t){var i,r,c;i=n.c.p,c=n.p,e.b[i][c]=new rNe(e,n),t&&(e.a[i][c]=new cEe(n),r=u(j(n,(fe(),Bb)),9),r&&Qe(e.d,r,n))}function ojn(e,n){(!n&&console.groupCollapsed!=null?console.groupCollapsed:console.group??console.log).call(console,e)}function sjn(e,n,t,i){i==e,u(t.b,68),u(t.b,68),u(i.b,68),u(i.b,68).c.b,$ee(i,n,e)}function Wte(e,n,t){n.b=m.Math.max(n.b,-t.a),n.c=m.Math.max(n.c,t.a-e.a),n.d=m.Math.max(n.d,-t.b),n.a=m.Math.max(n.a,t.b-e.b)}function Vte(e,n,t){this.c=e,this.f=new ve,this.e=new Cr,this.j=new zY,this.n=new zY,this.b=n,this.g=new Af(n.c,n.d,n.b,n.a),this.a=t}function AR(e){var n,t,i,r;for(this.a=new ph,this.d=new Ji,this.e=0,t=e,i=0,r=t.length;i<r;++i)n=t[i],!this.f&&(this.f=n),K_(this,n)}function MJe(e){ih(),e.length==0?(this.e=0,this.d=1,this.a=$(N(bt,1),Pt,30,15,[0])):(this.e=1,this.d=e.length,this.a=e,ty(this))}function Iy(e,n,t){vxe.call(this),this.a=ee(Ien,Aue,216,(il(),$(N(bg,1),ae,237,0,[Yc,Hu,Zc])).length,0,1),this.b=e,this.d=n,this.c=t}function fjn(e){var n,t,i,r,c,o;for(o=u(j(e,(fe(),Ut)),12),ie(o,k5,e.i.n.b),n=Yl(e.e),i=n,r=0,c=i.length;r<c;++r)t=i[r],xr(t,o)}function ljn(e){var n,t,i,r,c,o;for(t=u(j(e,(fe(),Ut)),12),ie(t,k5,e.i.n.b),n=Yl(e.g),r=n,c=0,o=r.length;c<o;++c)i=r[c],Jr(i,t)}function hjn(e,n){B_();var t,i;for(i=new An(In(Zl(e).a.Jc(),new X));zn(i);)if(t=u(Dn(i),17),t.d.i==n||t.c.i==n)return t;return null}function ajn(e,n){var t,i;return t=n.ni(e.a),t&&(i=dt(rl((!t.b&&(t.b=new Yo((nn(),nc),nu,t)),t.b),Lt)),i!=null)?i:n.ve()}function CJe(e,n){var t,i;return t=n.ni(e.a),t&&(i=dt(rl((!t.b&&(t.b=new Yo((nn(),nc),nu,t)),t.b),Lt)),i!=null)?i:n.ve()}function djn(e,n){var t,i;return t=ju(e.a.c.p,n.a.c.p),t!=0?t:(i=ju(e.a.d.i.p,n.a.d.i.p),i!=0?i:ju(n.a.d.p,e.a.d.p))}function bjn(e,n,t){var i,r,c,o;return c=n.j,o=t.j,c!=o?c.g-o.g:(i=e.f[n.p],r=e.f[t.p],i==0&&r==0?0:i==0?-1:r==0?1:Qt(i,r))}function wjn(e,n){var t,i,r,c;for(i=0,r=n.gc();i<r;++i)t=n.Rl(i),F(t,103)&&(u(t,19).Bb&cu)!=0&&(c=n.Sl(i),c!=null&&_B(e,u(c,57)))}function gjn(){var e;return VI!=0&&(e=Date.now(),e-QZe>2e3&&(QZe=e,QI=m.setTimeout(Xbn,10))),VI++==0?($9n((iV(),Ufe)),!0):!1}function pjn(e,n,t){var i;(ven?(SEn(e),!0):yen||Een?(dv(),!0):ken&&(dv(),!1))&&(i=new OIe(n),i.b=t,mCn(e,i))}function MR(e,n){var t;t=!e.A.Gc((rs(),I0))||e.q==(yr(),yu),e.u.Gc((Io(),Ea))?t?B_n(e,n):MKe(e,n):e.u.Gc(vd)&&(t?s_n(e,n):JKe(e,n))}function TJe(e){var n;Z(he(e,(jt(),Op)))===Z((sa(),VO))&&(pi(e)?(n=u(he(pi(e),Op),347),Yt(e,Op,n)):Yt(e,Op,_8))}function mjn(e,n,t){var i,r;sB(e.e,n,t,(ke(),Tn)),sB(e.i,n,t,$n),e.a&&(r=u(j(n,(fe(),Ut)),12),i=u(j(t,Ut),12),X_(e.g,r,i))}function SJe(e,n,t){return new Af(m.Math.min(e.a,n.a)-t/2,m.Math.min(e.b,n.b)-t/2,m.Math.abs(e.a-n.a)+t,m.Math.abs(e.b-n.b)+t)}function IJe(e){var n;this.d=new ve,this.j=new Cr,this.g=new Cr,n=e.g.b,this.f=u(j(ar(n),(ye(),Es)),86),this.e=q(K(XT(n,Pg)))}function PJe(e){this.d=new ve,this.e=new $1,this.c=ee(bt,Pt,30,(ke(),$(N(ec,1),fu,64,0,[qc,Cn,$n,Xn,Tn])).length,15,1),this.b=e}function Qte(e,n,t){var i;switch(i=t[e.g][n],e.g){case 1:case 3:return new be(0,i);case 2:case 4:return new be(i,0);default:return null}}function vjn(e,n){var t;if(t=P2(e.o,n),t==null)throw I(new Ul("Node did not exist in input."));return Vre(e,n),NB(e,n),Bre(e,n,t),null}function OJe(e,n){var t,i;for(i=e.a.length,n.length<i&&(n=PA(new Array(i),n)),t=0;t<i;++t)Ni(n,t,e.a[t]);return n.length>i&&Ni(n,i,null),n}function xl(e,n){var t,i;for(i=e.c.length,n.length<i&&(n=PA(new Array(i),n)),t=0;t<i;++t)Ni(n,t,e.c[t]);return n.length>i&&Ni(n,i,null),n}function CR(e,n,t,i){var r;if(r=e.length,n>=r)return r;for(n=n>0?n:0;n<r&&!XF((Pn(n,e.length),e.charCodeAt(n)),t,i);n++);return n}function NJe(e,n,t){var i,r;r=u(y7(n.f),214);try{r.kf(e,t),MZ(n.f,r)}catch(c){throw c=_i(c),F(c,101)?(i=c,I(i)):I(c)}}function $Je(e,n,t){var i,r,c,o,f,l;return i=null,f=Xce(hy(),n),c=null,f&&(r=null,l=zce(f,t),o=null,l!=null&&(o=e.of(f,l)),r=o,c=r),i=c,i}function yjn(e,n,t,i){var r,c,o;return r=new ia(e.e,1,13,(o=n.c,o||(nn(),Hl)),(c=t.c,c||(nn(),Hl)),Ka(e,n),!1),i?i.lj(r):i=r,i}function kjn(e){var n;if(e==null)return null;if(n=cIn(Pu(e,!0)),n==null)throw I(new xD("Invalid hexBinary value: '"+e+"'"));return n}function zT(e,n,t){var i;n.a.length>0&&(me(e.b,new WIe(n.a,t)),i=n.a.length,0<i?n.a=tf(n.a,0,0):0>i&&(n.a+=UTe(ee(Vs,uh,30,-i,15,1))))}function DJe(e,n,t){var i,r,c;if(!t[n.d])for(t[n.d]=!0,r=new S(F2(n));r.a<r.c.c.length;)i=u(T(r),217),c=LT(i,n),DJe(e,c,t)}function LJe(e,n){var t,i,r,c;for(t=0,r=new S(n.a);r.a<r.c.c.length;)i=u(T(r),9),c=i.o.a+i.d.c+i.d.b+e.j,t=m.Math.max(t,c);return t}function t0(e,n,t){var i,r,c;return r=u(vn(e.e,n),393),r?(c=rY(r,t),YTe(e,r),c):(i=new OY(e,n,t),It(e.e,n,i),CNe(i),null)}function Ejn(e,n){var t;if(t=vn(e.q,n),t==null)throw I(new Ul("Port did not exist in input."));return Vre(e,n),NB(e,n),Bre(e,n,t),null}function TR(){return GS(),$(N(inn,1),ae,168,0,[nnn,enn,tnn,Uen,zen,Xen,Ven,Wen,Ken,Zen,Yen,Qen,Hen,Gen,qen,Ben,Ren,Jen,_en,Len,Fen,bq])}function l4(e){switch(e.g){case 4:return new be(0,-1);case 1:return new be(1,0);case 2:return new be(-1,0);default:return new be(0,1)}}function SR(e){switch(e.g){case 1:return Vi(),Xs;case 4:return Vi(),jc;case 2:return Vi(),Tc;case 3:return Vi(),Rl}return Vi(),Bl}function jjn(e){var n;switch(n=e.fj(null),n){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function th(){th=J,un=new zk("PARENTS",0),Ri=new zk("NODES",1),al=new zk("EDGES",2),s1=new zk("PORTS",3),ya=new zk("LABELS",4)}function B2(){B2=J,pd=new Xk("DISTRIBUTED",0),vx=new Xk("JUSTIFIED",1),Jwe=new Xk("BEGIN",2),F8=new Xk(_4,3),Gwe=new Xk("END",4)}function xjn(e,n,t){var i;switch(i=t.q.getFullYear()-Q1+Q1,i<0&&(i=-i),n){case 1:e.a+=i;break;case 2:Ah(e,i%100,2);break;default:Ah(e,i,n)}}function rt(e,n){var t,i;if(Iw(n,e.b),n>=e.b>>1)for(i=e.c,t=e.b;t>n;--t)i=i.b;else for(i=e.a.a,t=0;t<n;++t)i=i.a;return new PIe(e,n,i)}function _Je(e){this.b=new ve,this.e=new ve,this.d=e,this.a=!fv(Ft(new Ve(null,new Aw(new kl(e.b))),new nv(new O3e))).zd((Nd(),b3))}function Ajn(e){var n;e.g&&(e.c.ig()?e.f:e.a)&&(n=e.c.ig()?e.f:e.a,tce(n.a,e.o,!0),tce(n.a,e.o,!1),ie(e.o,(ye(),Ti),(yr(),S0)))}function FJe(e,n){var t,i,r;r=n.d.i,i=r.k,!(i==(pn(),Ai)||i==Dl)&&(t=new An(In(fi(r).a.Jc(),new X)),zn(t)&&It(e.k,n,u(Dn(t),17)))}function Mjn(e,n){return ca(),Qt((e.a.b==0?new be(e.c.e.a,e.c.e.b):u(vv(e.a),8)).b,(n.a.b==0?new be(n.c.e.a,n.c.e.b):u(vv(n.a),8)).b)}function Cjn(e,n){return ca(),Qt((e.a.b==0?new be(e.c.e.a,e.c.e.b):u(vv(e.a),8)).a,(n.a.b==0?new be(n.c.e.a,n.c.e.b):u(vv(n.a),8)).a)}function Tjn(e,n){return ca(),Qt((e.a.b==0?new be(e.b.e.a,e.b.e.b):u(jf(e.a),8)).a,(n.a.b==0?new be(n.b.e.a,n.b.e.b):u(jf(n.a),8)).a)}function Sjn(e,n){return ca(),Qt((e.a.b==0?new be(e.b.e.a,e.b.e.b):u(jf(e.a),8)).b,(n.a.b==0?new be(n.b.e.a,n.b.e.b):u(jf(n.a),8)).b)}function IR(e,n){var t,i,r;return i=cn(e.Ah(),n),t=n-e.gi(),t<0?(r=e.Fh(i),r>=0?e.Th(r):mB(e,i)):t<0?mB(e,i):u(i,69).uk().zk(e,e.ei(),t)}function RJe(e){var n,t,i;for(i=(!e.o&&(e.o=new vo((su(),Gh),h1,e,0)),e.o),t=i.c.Jc();t.e!=t.i.gc();)n=u(t.Wj(),45),n.kd();return P7(i)}function Ae(e){var n;if(F(e.a,4)){if(n=Ute(e.a),n==null)throw I(new gc(pQe+e.b+"'. "+gQe+(Vh(Px),Px.k)+efe));return n}else return e.a}function Ijn(e){var n;if(e==null)return null;if(n=K_n(Pu(e,!0)),n==null)throw I(new xD("Invalid base64Binary value: '"+e+"'"));return n}function Jn(e){var n;try{return n=e.i.Xb(e.e),e.Vj(),e.g=e.e++,n}catch(t){throw t=_i(t),F(t,99)?(e.Vj(),I(new $c)):I(t)}}function PR(e){var n;try{return n=e.c.Ti(e.e),e.Vj(),e.g=e.e++,n}catch(t){throw t=_i(t),F(t,99)?(e.Vj(),I(new $c)):I(t)}}function UT(e){var n,t,i,r;for(r=0,t=0,i=e.length;t<i;t++)n=(Pn(t,e.length),e.charCodeAt(t)),n>=64&&n<128&&(r=Ql(r,kh(1,n-64)));return r}function XT(e,n){var t,i;return i=null,Ht(e,(jt(),_3))&&(t=u(j(e,_3),105),t.nf(n)&&(i=t.mf(n))),i==null&&ar(e)&&(i=j(ar(e),n)),i}function Pjn(e,n){var t;return t=u(j(e,(ye(),Ec)),79),CL(n,itn)?t?es(t):(t=new _o,ie(e,Ec,t)):t&&ie(e,Ec,null),t}function Ojn(e,n){var t,i,r;for(r=new Fu(n.gc()),i=n.Jc();i.Ob();)t=u(i.Pb(),294),t.c==t.f?p4(e,t,t.c):UCn(e,t)||jn(r.c,t);return r}function BJe(e,n){var t,i,r;for(t=e.o,r=u(u(Xt(e.r,n),22),83).Jc();r.Ob();)i=u(r.Pb(),115),i.e.a=$xn(i,t.a),i.e.b=t.b*q(K(i.b.mf(cP)))}function Njn(e,n){var t,i,r,c;return r=e.k,t=q(K(j(e,(fe(),Jb)))),c=n.k,i=q(K(j(n,Jb))),c!=(pn(),Ui)?-1:r!=Ui?1:t==i?0:t<i?-1:1}function $jn(e,n){var t,i;return t=u(u(vn(e.g,n.a),49).a,68),i=u(u(vn(e.g,n.b),49).a,68),D1(n.a,n.b)-D1(n.a,yQ(t.b))-D1(n.b,yQ(i.b))}function h4(e,n){var t,i;if(++e.j,n!=null&&(t=(i=e.a.Cb,F(i,100)?u(i,100).qh():null),uSn(n,t))){Gm(e.a,4,t);return}Gm(e.a,4,u(n,129))}function KT(e){switch(AV(),this.c=new ve,this.d=e,e.g){case 0:case 2:this.a=CZ(qle),this.b=xi;break;case 3:case 1:this.a=qle,this.b=lr}}function Djn(e){var n;pm(u(j(e,(ye(),Ti)),102))&&(n=e.b,$qe((en(0,n.c.length),u(n.c[0],25))),$qe(u(Ce(n,n.c.length-1),25)))}function Ljn(e,n){n.Tg("Self-Loop post-processing",1),Si(Ft(Ft(Pc(new Ve(null,new Ze(e.b,16)),new Ime),new Pme),new Ome),new Nme),n.Ug()}function JJe(e,n,t){var i,r;if(e.c)Go(e.c,e.c.i+n),Ho(e.c,e.c.j+t);else for(r=new S(e.b);r.a<r.c.c.length;)i=u(T(r),167),JJe(i,n,t)}function _jn(e){var n,t,i;for(i=e.c.a,e.p=(st(i),new Co(i)),t=new S(i);t.a<t.c.c.length;)n=u(T(t),9),n.p=wTn(n).a;tn(),ur(e.p,new Cve)}function Fjn(e,n){var t,i;if(e.j.length!=n.j.length)return!1;for(t=0,i=e.j.length;t<i;t++)if(!We(e.j[t],n.j[t]))return!1;return!0}function GJe(e,n){tn();var t,i,r,c;for(t=e,c=n,F(e,22)&&!F(n,22)&&(t=n,c=e),r=t.Jc();r.Ob();)if(i=r.Pb(),c.Gc(i))return!1;return!0}function Rjn(e,n,t,i){if(n.a<i.a)return!0;if(n.a==i.a){if(n.b<i.b)return!0;if(n.b==i.b&&e.b>t.b)return!0}return!1}function HJe(e){var n;return n=new k1,n.a+="n",e.k!=(pn(),Ai)&&xt(xt((n.a+="(",n),OL(e.k).toLowerCase()),")"),xt((n.a+="_",n),dE(e)),n.a}function Py(){Py=J,ude=new Jk(lse,0),Qz=new Jk(nG,1),Yz=new Jk("LINEAR_SEGMENTS",2),f8=new Jk("BRANDES_KOEPF",3),S5=new Jk(JVe,4)}function qm(e,n,t,i){var r;return t>=0?e.Ph(n,t,i):(e.Mh()&&(i=(r=e.Ch(),r>=0?e.xh(i):e.Mh().Qh(e,-1-r,null,i))),e.zh(n,t,i))}function Yte(e,n){switch(n){case 7:!e.e&&(e.e=new hn(Xi,e,7,4)),nt(e.e);return;case 8:!e.d&&(e.d=new hn(Xi,e,8,5)),nt(e.d);return}_te(e,n)}function Yt(e,n,t){return t==null?(!e.o&&(e.o=new vo((su(),Gh),h1,e,0)),GT(e.o,n)):(!e.o&&(e.o=new vo((su(),Gh),h1,e,0)),gE(e.o,n,t)),e}function wu(e,n){var t;t=e.dd(n);try{return t.Pb()}catch(i){throw i=_i(i),F(i,112)?I(new Lu("Can't get element "+n)):I(i)}}function qJe(e,n){var t;switch(t=u(dc(e.b,n),127).n,n.g){case 1:e.t>=0&&(t.d=e.t);break;case 3:e.t>=0&&(t.a=e.t)}e.C&&(t.b=e.C.b,t.c=e.C.c)}function Bjn(e){var n;n=e.a;do n=u(Dn(new An(In(Di(n).a.Jc(),new X))),17).c.i,n.k==(pn(),qi)&&e.b.Ec(n);while(n.k==(pn(),qi));e.b=is(e.b)}function zJe(e,n){var t,i,r;for(r=e,i=new An(In(Di(n).a.Jc(),new X));zn(i);)t=u(Dn(i),17),t.c.i.c&&(r=m.Math.max(r,t.c.i.c.p));return r}function Jjn(e,n){var t,i,r;for(r=0,i=u(u(Xt(e.r,n),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r+=t.d.d+t.b.Kf().b+t.d.a,i.Ob()&&(r+=e.w);return r}function Gjn(e,n){var t,i,r;for(r=0,i=u(u(Xt(e.r,n),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r+=t.d.b+t.b.Kf().a+t.d.c,i.Ob()&&(r+=e.w);return r}function UJe(e){var n,t,i,r;if(i=0,r=Yw(e),r.c.length==0)return 1;for(t=new S(r);t.a<t.c.c.length;)n=u(T(t),26),i+=UJe(n);return i}function XJe(e){var n,t;for(this.b=new ve,this.c=e,this.a=!1,t=new S(e.a);t.a<t.c.c.length;)n=u(T(t),9),this.a=this.a|n.k==(pn(),Ai)}function Hjn(e,n,t){var i,r,c,o;return i=e.bd(n),i!=-1&&(e.Nj()?(c=e.Oj(),o=qM(e,i),r=e.Gj(4,o,null,i,c),t?t.lj(r):t=r):qM(e,i)),t}function Wr(e,n,t){var i,r,c,o;return i=e.bd(n),i!=-1&&(e.Nj()?(c=e.Oj(),o=zm(e,i),r=e.Gj(4,o,null,i,c),t?t.lj(r):t=r):zm(e,i)),t}function qjn(e,n,t,i){var r,c,o;t.Uh(n)&&(tc(),yF(n)?(r=u(t.Jh(n),163),wjn(e,r)):(c=(o=n,o?u(i,52).di(o):null),c&&I0n(t.Jh(n),c)))}function WT(e,n,t,i){var r,c,o;return c=cn(e.Ah(),n),r=n-e.gi(),r<0?(o=e.Fh(c),o>=0?e.Ih(o,t,!0):vb(e,c,t)):u(c,69).uk().wk(e,e.ei(),r,t,i)}function zjn(e,n,t,i){var r,c;c=n.nf((jt(),$p))?u(n.mf($p),22):e.j,r=R7n(c),r!=(GS(),bq)&&(t&&!qte(r)||nre(uIn(e,r,i),n))}function OR(e,n){return mr(e)?!!qZe[n]:e.Qm?!!e.Qm[n]:bw(e)?!!HZe[n]:dw(e)?!!GZe[n]:!1}function Ujn(e){switch(e.g){case 1:return lb(),Aj;case 3:return lb(),xj;case 2:return lb(),gq;case 4:return lb(),wq;default:return null}}function Xjn(e,n,t){if(e.e)switch(e.b){case 1:s4n(e.c,n,t);break;case 0:f4n(e.c,n,t)}else fDe(e.c,n,t);e.a[n.p][t.p]=e.c.i,e.a[t.p][n.p]=e.c.e}function KJe(e){var n,t;if(e==null)return null;for(t=ee(Lh,pe,199,e.length,0,2),n=0;n<t.length;n++)t[n]=u(ayn(e[n],e[n].length),199);return t}function WJe(e){var n;n=u(j(e,(Wc(),n0e)),104),ie(e,(ui(),O5),new be(0,0)),XUe(new S7,e,n.b-q(K(j(e,gU))),n.d-q(K(j(e,pU))))}function VT(e){var n;if(eR(e))return iC(e),e.sl()&&(n=By(e.e,e.b,e.c,e.a,e.j),e.j=n),e.g=e.a,++e.a,++e.c,e.i=0,e.j;throw I(new $c)}function VJe(e,n,t){t.Tg("Compound graph preprocessor",1),e.a=new ib,EKe(e,n,null),kDn(e,n),zIn(e),ie(n,(fe(),mae),e.a),e.a=null,ou(e.b),t.Ug()}function QJe(e,n,t){var i,r,c;for(r=new An(In((n?Di(e):fi(e)).a.Jc(),new X));zn(r);)i=u(Dn(r),17),c=n?i.c.i:i.d.i,c.k==(pn(),hu)&&or(c,t)}function YJe(e,n,t){var i,r,c;return i=n.i.j.c.length,Ht(n,(fe(),oi))&&Ht(t,oi)?(r=yb(n,t,e.b,i),c=yb(t,n,e.b,i),r<c?-1:r>c?1:0):0}function Uw(){Uw=J,bO=new nM(ul,0),Wz=new nM("PORT_POSITION",1),Mp=new nM("NODE_SIZE_WHERE_SPACE_PERMITS",2),Ap=new nM("NODE_SIZE",3)}function Kjn(e,n){var t,i,r;for(n.Tg("Untreeify",1),t=u(j(e,(ui(),Ude)),16),r=t.Jc();r.Ob();)i=u(r.Pb(),65),At(i.b.d,i),At(i.c.b,i);n.Ug()}function Mh(){Mh=J,sX=new M6("AUTOMATIC",0),ox=new M6(c3,1),sx=new M6(u3,2),qO=new M6("TOP",3),GO=new M6(Cue,4),HO=new M6(_4,5)}function J2(e,n,t){var i,r;if(r=e.gc(),n>=r)throw I(new yw(n,r));if(e.Qi()&&(i=e.bd(t),i>=0&&i!=n))throw I(new xn(wj));return e.Vi(n,t)}function Ka(e,n){var t,i,r;if(r=IGe(e,n),r>=0)return r;if(e.ml()){for(i=0;i<e.i;++i)if(t=e.nl(u(e.g[i],57)),Z(t)===Z(n))return i}return-1}function Zte(e,n){if(this.a=u(st(e),254),this.b=u(st(n),254),e.Cd(n)>0||e==(vD(),XH)||n==(mD(),KH))throw I(new xn("Invalid range: "+oDe(e,n)))}function eie(e,n,t,i){E4();var r,c;for(r=0,c=0;c<t;c++)r=Kr(Hr(vr(n[c],uc),vr(i,uc)),vr(wt(r),uc)),e[c]=wt(r),r=Rd(r,32);return wt(r)}function nie(e,n,t){var i,r;for(r=0,i=0;i<dq;i++)r=m.Math.max(r,rR(e.a[n.g][i],t));return n==(il(),Hu)&&e.b&&(r=m.Math.max(r,e.b.b)),r}function QT(e,n){var t,i;if(JQ(n>0),(n&-n)==n)return Br(n*zo(e,31)*4656612873077393e-25);do t=zo(e,31),i=t%n;while(t-i+(n-1)<0);return Br(i)}function Wjn(e,n){var t,i,r;for(t=X0(new Pd,e),r=new S(n);r.a<r.c.c.length;)i=u(T(r),124),Nf(kf(yf(Ef(vf(new Ys,0),0),t),i));return t}function hE(e,n,t){var i,r;for(Akn(e,n-e.s,t-e.t),r=new S(e.n);r.a<r.c.c.length;)i=u(T(r),208),s0n(i,i.e+n-e.s),f0n(i,i.f+t-e.t);e.s=n,e.t=t}function Vjn(e,n,t){switch(t.g){case 1:e.a=n.a/2,e.b=0;break;case 2:e.a=n.a,e.b=n.b/2;break;case 3:e.a=n.a/2,e.b=n.b;break;case 4:e.a=0,e.b=n.b/2}}function aE(e,n,t,i){var r,c;for(r=n;r<e.c.length;r++)if(c=(en(r,e.c.length),u(e.c[r],12)),t.Mb(c))jn(i.c,c);else return r;return e.c.length}function Qjn(e){var n,t,i;for(i=u(Xt(e.a,(Xw(),NP)),16).Jc();i.Ob();)t=u(i.Pb(),107),n=hie(t),Cv(e,t,n[0],(fb(),_b),0),Cv(e,t,n[1],Fb,1)}function Yjn(e){var n,t,i;for(i=u(Xt(e.a,(Xw(),$P)),16).Jc();i.Ob();)t=u(i.Pb(),107),n=hie(t),Cv(e,t,n[0],(fb(),_b),0),Cv(e,t,n[1],Fb,1)}function NR(e){switch(e.g){case 0:return null;case 1:return new zFe;case 2:return new VW;default:throw I(new xn(WG+(e.f!=null?e.f:""+e.g)))}}function ZJe(e){var n;return n=q(K(he(e,(jt(),Jg))))*m.Math.sqrt((!e.a&&(e.a=new se(mt,e,10,11)),e.a).i),new be(n,n/q(K(he(e,_5))))}function $R(e){var n;return e.f&&e.f.Sh()&&(n=u(e.f,52),e.f=u(J1(e,n),84),e.f!=n&&(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,9,8,n,e.f))),e.f}function DR(e){var n;return e.i&&e.i.Sh()&&(n=u(e.i,52),e.i=u(J1(e,n),84),e.i!=n&&(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,9,7,n,e.i))),e.i}function ic(e){var n;return e.b&&(e.b.Db&64)!=0&&(n=e.b,e.b=u(J1(e,n),19),e.b!=n&&(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,9,21,n,e.b))),e.b}function YT(e,n){var t,i,r;e.d==null?(++e.e,++e.f):(i=n.yi(),nPn(e,e.f+1),r=(i&_t)%e.d.length,t=e.d[r],!t&&(t=e.d[r]=e.bk()),t.Ec(n),++e.f)}function tie(e,n,t){var i;return n.rk()?!1:n.Gk()!=-2?(i=n.gk(),i==null?t==null:qt(i,t)):n.ok()==e.e.Ah()&&t==null}function ZT(){var e;bs(16,gWe),e=$Fe(16),this.b=ee(WH,zE,309,e,0,1),this.c=ee(WH,zE,309,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function Al(e){oY.call(this),this.k=(pn(),Ai),this.j=(bs(6,rg),new Fu(6)),this.b=(bs(2,rg),new Fu(2)),this.d=new dD,this.f=new qW,this.a=e}function Zjn(e){var n,t,i,r,c;for(t=0,r=new S(e.a);r.a<r.c.c.length;)i=u(T(r),124),i.d=t++;return n=nCn(e),c=null,n.c.length>1&&(c=Wjn(e,n)),c}function exn(e){var n,t,i;for(n=0,i=new S(e.c.a);i.a<i.c.c.length;)t=u(T(i),9),n+=Zf(new An(In(fi(t).a.Jc(),new X)));return n/e.c.a.c.length}function LR(e){var n,t;for(t=new Rn(e);t.e!=t.i.gc();)if(n=u(Jn(t),87),n.e||(!n.d&&(n.d=new Wi(hc,n,1)),n.d).i!=0)return!0;return!1}function _R(e){var n,t;for(t=new Rn(e);t.e!=t.i.gc();)if(n=u(Jn(t),87),n.e||(!n.d&&(n.d=new Wi(hc,n,1)),n.d).i!=0)return!0;return!1}function eGe(e,n,t,i){var r,c,o;for(r=u(Xt(i?e.a:e.b,n),22),o=r.Jc();o.Ob();)if(c=u(o.Pb(),26),CS(e,t,c))return!0;return!1}function nxn(e,n){for(var t,i;e.Ob();)if(!n.Ob()||(t=e.Pb(),i=n.Pb(),!(Z(t)===Z(i)||t!=null&&qt(t,i))))return!1;return!n.Ob()}function txn(e){var n,t;e.c.length<=1||(n=sUe(e,(ke(),Xn)),KHe(e,u(n.a,15).a,u(n.b,15).a),t=sUe(e,Tn),KHe(e,u(t.a,15).a,u(t.b,15).a))}function ixn(e,n,t){var i,r;for(r=e.a.b,i=r.c.length;i<t;i++)Ld(r,r.c.length,new au(e.a));or(n,(en(t-1,r.c.length),u(r.c[t-1],25))),e.b[n.p]=t}function nGe(e,n){var t,i,r;for(e.b[n.g]=1,i=rt(n.d,0);i.b!=i.d.c;)t=u(tt(i),65),r=t.c,e.b[r.g]==1?At(e.a,t):e.b[r.g]==2?e.b[r.g]=1:nGe(e,r)}function FR(){FR=J,Tbe=(IB(),xbe),Cbe=new U0(8),new Tr((jt(),Fh),Cbe),new Tr(f1,8),ufn=Ebe,Abe=Ysn,Mbe=Zsn,cfn=new Tr(lx,(gn(),!1))}function rxn(e,n,t){var i;t.Tg("Shrinking tree compaction",1),Se(Te(j(n,(Kv(),R9))))?(A8n(e,n.f),p_e(n.f,(i=n.c,i))):p_e(n.f,n.c),t.Ug()}function iie(e,n,t,i){switch(n){case 7:return!e.e&&(e.e=new hn(Xi,e,7,4)),e.e;case 8:return!e.d&&(e.d=new hn(Xi,e,8,5)),e.d}return Cte(e,n,t,i)}function RR(e){var n;return e.a&&e.a.Sh()&&(n=u(e.a,52),e.a=u(J1(e,n),143),e.a!=n&&(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,9,5,n,e.a))),e.a}function i0(e){return e<48||e>102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function BR(e,n){if(e==null)throw I(new nm("null key in entry: null="+n));if(n==null)throw I(new nm("null value in entry: "+e+"=null"))}function tGe(e,n){var t;return t=$(N(jr,1),wc,30,15,[rR(e.a[0],n),rR(e.a[1],n),rR(e.a[2],n)]),e.d&&(t[0]=m.Math.max(t[0],t[2]),t[2]=t[0]),t}function iGe(e,n){var t;return t=$(N(jr,1),wc,30,15,[TT(e.a[0],n),TT(e.a[1],n),TT(e.a[2],n)]),e.d&&(t[0]=m.Math.max(t[0],t[2]),t[2]=t[0]),t}function rie(e,n,t){pm(u(j(n,(ye(),Ti)),102))||(gee(e,n,Wa(n,t)),gee(e,n,Wa(n,(ke(),Xn))),gee(e,n,Wa(n,Cn)),tn(),ur(n.j,new tEe(e)))}function rGe(e){var n,t;for(e.c||tLn(e),t=new _o,n=new S(e.a),T(n);n.a<n.c.c.length;)At(t,u(T(n),410).a);return Hn(t.b!=0),Ds(t,t.c.b),t}function cxn(e,n,t){var i,r,c,o,f;for(f=e.r+n,e.r+=n,e.d+=t,i=t/e.n.c.length,r=0,o=new S(e.n);o.a<o.c.c.length;)c=u(T(o),208),QSn(c,f,i,r),++r}function uxn(e){var n,t,i;for(e.b.a.$b(),e.a=ee(iP,ln,60,e.c.c.a.b.c.length,0,1),n=0,i=new S(e.c.c.a.b);i.a<i.c.c.length;)t=u(T(i),60),t.f=n++}function oxn(e){var n,t,i;for(e.b.a.$b(),e.a=ee(jq,ln,82,e.c.a.a.b.c.length,0,1),n=0,i=new S(e.c.a.a.b);i.a<i.c.c.length;)t=u(T(i),82),t.i=n++}function sxn(e){var n,t,i,r,c;for(i=new S(e.b);i.a<i.c.c.length;)for(t=u(T(i),25),n=0,c=new S(t.a);c.a<c.c.c.length;)r=u(T(c),9),r.p=n++}function fxn(e,n,t){var i,r,c,o;for(o=0,i=t/e.a.c.length,c=new S(e.a);c.a<c.c.c.length;)r=u(T(c),173),hE(r,r.s,r.t+o*i),cxn(r,e.d-r.r+n,i),++o}function cGe(e){var n;if(n=l7n(e),!zn(e))throw I(new Lu("position (0) must be less than the number of elements that remained ("+n+")"));return Dn(e)}function lxn(e,n){var t;return e.a||(t=ee(jr,wc,30,0,15,1),h2(e.b.a,new Gke(t)),Yje(t,iFe(on.prototype.Ke,on,[])),e.a=new jIe(t,e.d)),GC(e.a,n)}function uGe(e){switch(e.g){case 1:return ke(),Tn;case 4:return ke(),Cn;case 3:return ke(),$n;case 2:return ke(),Xn;default:return ke(),qc}}function hxn(e,n,t){n.k==(pn(),Ai)&&t.k==qi&&(e.d=sR(n,(ke(),Xn)),e.b=sR(n,Cn)),t.k==Ai&&n.k==qi&&(e.d=sR(t,(ke(),Cn)),e.b=sR(t,Xn))}function JR(e,n){var t,i,r;for(r=Jc(e,n),i=r.Jc();i.Ob();)if(t=u(i.Pb(),12),j(t,(fe(),Oo))!=null||B6(new kl(t.b)))return!0;return!1}function axn(e,n,t){t.Tg("Linear segments node placement",1),e.b=u(j(n,(fe(),yp)),317),PFn(e,n),iDn(e,n),xDn(e,n),oFn(e),e.a=null,e.b=null,t.Ug()}function cie(e,n){return Go(n,e.e+e.d+(e.c.c.length==0?0:e.b)),Ho(n,e.f),e.a=m.Math.max(e.a,n.f),e.d+=n.g+(e.c.c.length==0?0:e.b),me(e.c,n),!0}function dxn(e,n){var t,i,r,c,o,f;for(r=n.length-1,o=0,f=0,i=0;i<=r;i++)c=n[i],t=jCn(r,i)*fte(1-e,r-i)*fte(e,i),o+=c.a*t,f+=c.b*t;return new be(o,f)}function oGe(e,n){var t,i,r,c,o;for(t=n.gc(),e.Zi(e.i+t),c=n.Jc(),o=e.i,e.i+=t,i=o;i<e.i;++i)r=c.Pb(),F6(e,i,e.Xi(i,r)),e.Ki(i,r),e.Li();return t!=0}function bxn(e,n,t){var i,r,c;return e.Nj()?(i=e.Cj(),c=e.Oj(),++e.j,e.oj(i,e.Xi(i,n)),r=e.Gj(3,null,n,i,c),t?t.lj(r):t=r):KSe(e,e.Cj(),n),t}function wxn(e,n,t){var i,r,c;return i=u(R(bu(e.a),n),87),c=(r=i.c,F(r,88)?u(r,29):(nn(),mf)),((c.Db&64)!=0?J1(e.b,c):c)==t?PS(i):Jv(i,t),c}function gxn(e){var n;return e==null?null:new C1((n=Pu(e,!0),n.length>0&&(Pn(0,n.length),n.charCodeAt(0)==43)?(Pn(1,n.length+1),n.substr(1)):n))}function pxn(e){var n;return e==null?null:new C1((n=Pu(e,!0),n.length>0&&(Pn(0,n.length),n.charCodeAt(0)==43)?(Pn(1,n.length+1),n.substr(1)):n))}function uie(e,n,t,i,r,c,o,f){var l,h;i&&(l=i.a[0],l&&uie(e,n,t,l,r,c,o,f),WR(e,t,i.d,r,c,o,f)&&n.Ec(i),h=i.a[1],h&&uie(e,n,t,h,r,c,o,f))}function Oy(e,n){var t,i,r,c;for(c=e.gc(),n.length<c&&(n=PA(new Array(c),n)),r=n,i=e.Jc(),t=0;t<c;++t)Ni(r,t,i.Pb());return n.length>c&&Ni(n,c,null),n}function mxn(e,n){var t,i;if(i=e.gc(),n==null){for(t=0;t<i;t++)if(e.Xb(t)==null)return t}else for(t=0;t<i;t++)if(qt(n,e.Xb(t)))return t;return-1}function GR(e,n){var t,i,r;return t=n.jd(),r=n.kd(),i=e.xc(t),!(!(Z(r)===Z(i)||r!=null&&qt(r,i))||i==null&&!e._b(t))}function vxn(e,n){var t,i,r;return n<=22?(t=e.l&(1<<n)-1,i=r=0):n<=44?(t=e.l,i=e.m&(1<<n-22)-1,r=0):(t=e.l,i=e.m,r=e.h&(1<<n-44)-1),zu(t,i,r)}function yxn(e,n){switch(n.g){case 1:return e.f.n.d+e.t;case 3:return e.f.n.a+e.t;case 2:return e.f.n.c+e.s;case 4:return e.f.n.b+e.s;default:return 0}}function kxn(e,n){var t,i;switch(i=n.c,t=n.a,e.b.g){case 0:t.d=e.e-i.a-i.d;break;case 1:t.d+=e.e;break;case 2:t.c=e.e-i.a-i.d;break;case 3:t.c=e.e+i.d}}function eS(){eS=J,DU=new uM(ul,0),T0e=new uM(CVe,1),S0e=new uM("EDGE_LENGTH_BY_POSITION",2),C0e=new uM("CROSSING_MINIMIZATION_BY_POSITION",3)}function HR(e,n){var t,i;if(t=u(P2(e.n,n),26),t)return t;if(i=u(P2(e.p,n),125),i)return i;throw I(new Ul("Referenced shape does not exist: "+n))}function sGe(e,n){if(e.g==-1)throw I(new wo);e.Vj();try{e.d.fd(e.g,n),e.f=e.d.j}catch(t){throw t=_i(t),F(t,99)?I(new Ss):I(t)}}function oie(e,n){var t,i;if(F(n,254)){i=u(n,254);try{return t=e.Cd(i),t==0}catch(r){if(r=_i(r),F(r,211))return!1;throw I(r)}}return!1}function Exn(e,n){if(e.c==n)return e.d;if(e.d==n)return e.c;throw I(new xn("Node 'one' must be either source or target of edge 'edge'."))}function jxn(e,n){if(e.c.i==n)return e.d.i;if(e.d.i==n)return e.c.i;throw I(new xn("Node "+n+" is neither source nor target of edge "+e))}function xxn(e,n,t){t.Tg("Self-Loop ordering",1),Si(_u(Ft(Ft(Pc(new Ve(null,new Ze(n.b,16)),new Ame),new Mme),new Cme),new Tme),new T7e(e)),t.Ug()}function qR(e,n,t,i,r,c){var o,f,l,h,a;for(o=xAn(n,t,c),f=t==(ke(),Cn)||t==Tn?-1:1,h=e[t.g],a=0;a<h.length;a++)l=h[a],l>0&&(l+=r),h[a]=o,o+=f*(l+i)}function Axn(e){var n;for(n=0;n<e.a.c.length;n++)if(Ht(u(Ce(e.a,n),9),(ye(),Nz))&&Se(Te(j(u(Ce(e.a,n),9),Nz))))return!0;return!1}function fGe(e){var n,t,i;for(i=e.f,e.n=ee(jr,wc,30,i,15,1),e.d=ee(jr,wc,30,i,15,1),n=0;n<i;n++)t=u(Ce(e.c.b,n),25),e.n[n]=LJe(e,t),e.d[n]=Dze(e,t)}function lGe(e,n,t,i){var r;this.c=e,this.d=n,r=new ni,ji(r,t,r.c.b,r.c),this.a=r,this.b=u(j(i,(Wc(),Ub)),86),this.e=q(K(j(i,r0e))),iWe(this)}function zR(e,n){var t,i,r;for(r=0,i=2;i<n;i<<=1)(e.Db&i)!=0&&++r;if(r==0){for(t=n<<=1;t<=128;t<<=1)if((e.Db&t)!=0)return 0;return-1}else return r}function hGe(e,n){var t,i,r,c,o;for(o=Xu(e.e.Ah(),n),c=null,t=u(e.g,122),r=0;r<e.i;++r)i=t[r],o.$l(i.Jk())&&(!c&&(c=new lA),it(c,i));c&&GKe(e,c)}function aGe(e){var n,t,i;if(!e)return null;if(e.dc())return"";for(i=new Ia,t=e.Jc();t.Ob();)n=t.Pb(),ac(i,dt(n)),i.a+=" ";return vL(i,i.a.length-1)}function dGe(e,n){var t=new Array(n),i;switch(e){case 14:case 15:i=0;break;case 16:i=!1;break;default:return t}for(var r=0;r<n;++r)t[r]=i;return t}function wb(e){var n,t,i;for(t=new S(e.a.b);t.a<t.c.c.length;)n=u(T(t),60),n.c.$b();Kh(e.d)?i=e.a.c:i=e.a.d,Tu(i,new Zke(e)),e.c.bf(e),eUe(e)}function bGe(e){var n,t,i,r;for(t=new S(e.e.c);t.a<t.c.c.length;){for(n=u(T(t),291),r=new S(n.b);r.a<r.c.c.length;)i=u(T(r),445),Fce(i);Gqe(n)}}function wGe(e){var n,t,i;for(i=_t,t=new S(e.a);t.a<t.c.c.length;)n=u(T(t),9),Ht(n,(fe(),oi))&&(i=m.Math.min(i,u(j(n,oi),15).a));return i}function nS(e){var n,t,i,r,c;for(i=0,c=0,r=0,t=new S(e.a);t.a<t.c.c.length;)n=u(T(t),173),c=m.Math.max(c,n.r),i+=n.d+(r>0?e.c:0),++r;e.b=i,e.d=c}function gGe(e,n){var t;return t=$(N(jr,1),wc,30,15,[nie(e,(il(),Yc),n),nie(e,Hu,n),nie(e,Zc,n)]),e.f&&(t[0]=m.Math.max(t[0],t[2]),t[2]=t[0]),t}function pGe(e){var n;Ht(e,(ye(),Hb))&&(n=u(j(e,Hb),22),n.Gc((Qw(),Jf))?(n.Kc(Jf),n.Ec(Gf)):n.Gc(Gf)&&(n.Kc(Gf),n.Ec(Jf)))}function mGe(e){var n;Ht(e,(ye(),Hb))&&(n=u(j(e,Hb),22),n.Gc((Qw(),qf))?(n.Kc(qf),n.Ec(df)):n.Gc(df)&&(n.Kc(df),n.Ec(qf)))}function UR(e,n,t,i){var r,c,o,f;return e.a==null&&ECn(e,n),o=n.b.j.c.length,c=t.d.p,f=i.d.p,r=f-1,r<0&&(r=o-1),c<=r?e.a[r]-e.a[c]:e.a[o-1]-e.a[c]+e.a[r]}function Mxn(e){var n;for(n=0;n<e.a.c.length;n++)if(Ht(u(Ce(e.a,n),9),(ye(),$z))&&!Se(Te(j(u(Ce(e.a,n),9),$z))))return!1;return!0}function Cxn(e,n,t){var i,r,c,o,f;for(c=e.c,f=t?n:e,i=t?e:n,r=f.p+1;r<i.p;++r)if(o=u(Ce(c.a,r),9),!(o.k==(pn(),Dl)||hAn(o)))return!1;return!0}function Txn(e){var n,t;if(!e.b)for(e.b=SC(u(e.f,26).jh().i),t=new Rn(u(e.f,26).jh());t.e!=t.i.gc();)n=u(Jn(t),157),me(e.b,new jD(n));return e.b}function Sxn(e){var n,t;if(!e.e)for(e.e=SC(SZ(u(e.f,26)).i),t=new Rn(SZ(u(e.f,26)));t.e!=t.i.gc();)n=u(Jn(t),125),me(e.e,new Nje(n));return e.e}function vGe(e){var n,t;if(!e.a)for(e.a=SC(pC(u(e.f,26)).i),t=new Rn(pC(u(e.f,26)));t.e!=t.i.gc();)n=u(Jn(t),26),me(e.a,new SM(e,n));return e.a}function gb(e){var n;if(!e.C&&(e.D!=null||e.B!=null))if(n=e_n(e),n)e.fl(n);else try{e.fl(null)}catch(t){if(t=_i(t),!F(t,63))throw I(t)}return e.C}function Ixn(e){switch(e.q.g){case 5:UGe(e,(ke(),Cn)),UGe(e,Xn);break;case 4:eKe(e,(ke(),Cn)),eKe(e,Xn);break;default:eqe(e,(ke(),Cn)),eqe(e,Xn)}}function Pxn(e){switch(e.q.g){case 5:XGe(e,(ke(),$n)),XGe(e,Tn);break;case 4:nKe(e,(ke(),$n)),nKe(e,Tn);break;default:nqe(e,(ke(),$n)),nqe(e,Tn)}}function G2(e,n){var t,i,r;for(r=new Cr,i=e.Jc();i.Ob();)t=u(i.Pb(),36),j4(t,r.a,0),r.a+=t.f.a+n,r.b=m.Math.max(r.b,t.f.b);return r.b>0&&(r.b+=n),r}function tS(e,n){var t,i,r;for(r=new Cr,i=e.Jc();i.Ob();)t=u(i.Pb(),36),j4(t,0,r.b),r.b+=t.f.b+n,r.a=m.Math.max(r.a,t.f.a);return r.a>0&&(r.a+=n),r}function yGe(e,n){var t,i;if(n.length==0)return 0;for(t=x_(e.a,n[0],(ke(),Tn)),t+=x_(e.a,n[n.length-1],$n),i=0;i<n.length;i++)t+=hCn(e,i,n);return t}function kGe(){zy(),this.c=new ve,this.i=new ve,this.e=new ph,this.f=new ph,this.g=new ph,this.j=new ve,this.a=new ve,this.b=new Wn,this.k=new Wn}function XR(e,n){var t,i;return e.Db>>16==6?e.Cb.Qh(e,5,dl,n):(i=ic(u(cn((t=u(Mn(e,16),29),t||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function Oxn(e){Nv();var n=e.e;if(n&&n.stack){var t=n.stack,i=n+`
|
|
10
10
|
`;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(`
|
|
@@ -27,4 +27,4 @@ import{oB as IRn,hP as PRn,r as sn,j as de,eb as Kan,ih as ORn,jk as NRn,mz as $
|
|
|
27
27
|
`),c.length!=2)throw I(new xn("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=Kw(Ww(c[0])),this.b=Kw(Ww(c[1]))}catch(o){throw o=_i(o),F(o,131)?(i=o,I(new xn(dVe+i))):I(o)}},s.Ib=function(){return"("+this.a+","+this.b+")"},s.a=0,s.b=0;var br=g(oj,"KVector",8);w(79,66,{3:1,4:1,20:1,31:1,56:1,18:1,66:1,16:1,79:1,414:1},_o,NA,NSe),s.Nc=function(){return t7n(this)},s.ag=function(n){var t,i,r,c,o,f;r=ng(n,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
|
|
28
28
|
`),es(this);try{for(i=0,o=0,c=0,f=0;i<r.length;)r[i]!=null&&Ww(r[i]).length>0&&(o%2==0?c=Kw(r[i]):f=Kw(r[i]),o>0&&o%2!=0&&At(this,new be(c,f)),++o),++i}catch(l){throw l=_i(l),F(l,131)?(t=l,I(new xn("The given string does not match the expected format for vectors."+t))):I(l)}},s.Ib=function(){var n,t,i;for(n=new ss("("),t=rt(this,0);t.b!=t.d.c;)i=u(tt(t),8),xt(n,i.a+","+i.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var Dbe=g(oj,"KVectorChain",79);w(256,24,{3:1,35:1,24:1,256:1},M6);var sX,GO,HO,ox,sx,qO,Lbe=et(Gu,"Alignment",256,ut,i9n,Tmn),pfn;w(976,1,Pl,W8e),s.tf=function(n){rXe(n)};var _be,fX,mfn,Fbe,Rbe,vfn,Bbe,yfn,kfn,Jbe,Gbe,Efn;g(Gu,"BoxLayouterOptions",976),w(977,1,{},y6e),s.uf=function(){var n;return n=new j6e,n},s.vf=function(n){},g(Gu,"BoxLayouterOptions/BoxFactory",977),w(299,24,{3:1,35:1,24:1,299:1},C6);var I8,lX,P8,O8,N8,hX,aX=et(Gu,"ContentAlignment",299,ut,u9n,Smn),jfn;w(689,1,Pl,YK),s.tf=function(n){Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,vQe),""),"Layout Algorithm"),"Select a specific layout algorithm."),(c0(),$3)),Ie),Je((th(),un))))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,yQe),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),Fl),jRn),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Hoe),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),Hbe),gi),Lbe),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,B4),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Nr),zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,ife),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),Fl),Dbe),Je(al)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,pI),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),zbe),N3),aX),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,aj),""),"Debug Mode"),"Whether additional debug information shall be generated."),(gn(),!1)),nr),Ci),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,RG),""),"Direction"),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),Ube),gi),D8),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,hj),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),Wbe),gi),MX),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,nfe),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),nr),Ci),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,gI),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),Qbe),gi),Bwe),ci(un,$(N(_l,1),ae,160,0,[Ri]))))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,sg),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),swe),Fl),Kle),ci(un,$(N(_l,1),ae,160,0,[Ri]))))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,l9),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),nr),Ci),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,vI),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),nr),Ci),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,h9),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),nr),Ci),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,WJ),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),dwe),gi),Hwe),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,mI),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),Fl),br),ci(Ri,$(N(_l,1),ae,160,0,[s1,ya]))))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,nj),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),qr),Zi),ci(Ri,$(N(_l,1),ae,160,0,[al]))))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,QS),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),qr),Zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,f9),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),nr),Ci),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,ese),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),ewe),Fl),Dbe),Je(al)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,rse),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),nr),Ci),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,cse),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),nr),Ci),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,VFn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),Fl),SRn),ci(un,$(N(_l,1),ae,160,0,[ya]))))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,kQe),""),"Softwrapping Fuzziness"),"Determines the amount of fuzziness to be used when performing softwrapping on labels. The value expresses the percent of overhang that is permitted for each line. If the next line would take up less space than this threshold, it is appended to the current line instead of being placed in a new line."),0),Nr),zi),Je(ya)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,ose),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),nwe),Fl),Xle),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Joe),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),nr),Ci),ci(Ri,$(N(_l,1),ae,160,0,[al,s1,ya]))))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,EQe),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),Nr),zi),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,jQe),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),Nr),zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,xQe),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),Nr),zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,tj),""),bQe),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),nr),Ci),Je(un)))),mi(n,tj,Cb,null),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,AQe),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),nr),Ci),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,MQe),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),le(100)),qr),Zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,CQe),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),nr),Ci),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,TQe),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),le(4e3)),qr),Zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,SQe),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),le(400)),qr),Zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,IQe),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),nr),Ci),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,PQe),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),nr),Ci),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,OQe),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),nr),Ci),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,NQe),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),nr),Ci),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,tfe),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),qbe),gi),tge),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,$Qe),"json"),"Shape Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for nodes, ports, and labels of nodes and ports."),Zbe),gi),Uwe),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,DQe),"json"),"Edge Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for edge route points and edge labels."),Ybe),gi),Cwe),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Soe),Nl),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),Nr),zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Ioe),Nl),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),Nr),zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Poe),Nl),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Nr),zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Ooe),Nl),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),Nr),zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,KJ),Nl),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),Nr),zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,FG),Nl),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Nr),zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Noe),Nl),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Nr),zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Loe),Nl),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),Nr),zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,$oe),Nl),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Nr),zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Doe),Nl),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Nr),zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,og),Nl),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Nr),zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,_oe),Nl),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Nr),zi),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Foe),Nl),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Nr),zi),ci(un,$(N(_l,1),ae,160,0,[Ri]))))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,Roe),Nl),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),Fl),vln),ci(Ri,$(N(_l,1),ae,160,0,[al,s1,ya]))))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,sse),Nl),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),jwe),Fl),Xle),Je(un)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,JG),FQe),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),qr),Zi),ci(un,$(N(_l,1),ae,160,0,[Ri]))))),mi(n,JG,BG,Dfn),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,BG),FQe),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),fwe),nr),Ci),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Uoe),RQe),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),iwe),Fl),Kle),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,G4),RQe),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),rwe),N3),lc),ci(Ri,$(N(_l,1),ae,160,0,[ya]))))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Woe),CI),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),hwe),gi),R8),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,Voe),CI),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),gi),R8),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,Qoe),CI),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),gi),R8),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,Yoe),CI),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),gi),R8),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,Zoe),CI),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),gi),R8),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,np),aH),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),cwe),N3),G8),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,s3),aH),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),owe),N3),Xwe),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,f3),aH),"Node Size Minimum"),"The minimal size to which a node can be reduced."),uwe),Fl),br),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,J4),aH),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),nr),Ci),Je(un)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,tse),_G),"Edge Label Placement"),"Gives a hint on where to put edge labels."),Xbe),gi),Twe),Je(ya)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,YS),_G),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),nr),Ci),Je(ya)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,QFn),"font"),"Font Name"),"Font name used for a label."),$3),Ie),Je(ya)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,LQe),"font"),"Font Size"),"Font size used for a label."),qr),Zi),Je(ya)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,use),dH),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),Fl),br),Je(s1)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,ise),dH),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),qr),Zi),Je(s1)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Goe),dH),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),gwe),gi),ec),Je(s1)))),Be(n,new Oe(Fe(_e(Re(Ne(Le($e(De(new Pe,Boe),dH),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),Nr),zi),Je(s1)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,H4),ufe),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),bwe),N3),QO),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Xoe),ufe),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),nr),Ci),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Koe),ufe),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),nr),Ci),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,lH),Y4),"Number of size categories"),"Defines the number of categories to use for the FIXED_INTEGER_RATIO_BOXES size approximator."),le(3)),qr),Zi),Je(un)))),mi(n,lH,hH,Xfn),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,rfe),Y4),"Weight of a node containing children for determining the graph size"),"When determining the graph size for the size categorisation, this value determines how many times a node containing children is weighted more than a simple node. For example setting this value to four would result in a graph containing a simple node and a hierarchical node to be counted as having a size of five."),le(4)),qr),Zi),Je(un)))),mi(n,rfe,lH,null),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,ij),Y4),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),Nr),zi),Je(un)))),mi(n,ij,Cb,qfn),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,hH),Y4),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),Fl),xRn),Je(Ri)))),mi(n,hH,Cb,zfn),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,rj),Y4),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),Nr),zi),ci(un,$(N(_l,1),ae,160,0,[Ri]))))),mi(n,rj,Cb,null),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,cj),Y4),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),Nr),zi),ci(un,$(N(_l,1),ae,160,0,[Ri]))))),mi(n,cj,Cb,null),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,Cb),Y4),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),gi),Wwe),Je(Ri)))),mi(n,Cb,J4,null),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,cfe),Y4),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),Nr),zi),Je(un)))),mi(n,cfe,Cb,Hfn),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,qoe),BQe),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),nr),Ci),Je(Ri)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,zoe),BQe),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),nr),Ci),Je(al)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,nse),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),Nr),zi),Je(al)))),Be(n,new Oe(Fe(_e(Re(ze(Ne(Le($e(De(new Pe,_Qe),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),Vbe),gi),$we),Je(al)))),p6(n,new Cm(a6(ov(uv(new Xp,wn),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),p6(n,new Cm(a6(ov(uv(new Xp,"org.eclipse.elk.orthogonal"),"Orthogonal"),`Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia '86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.`))),p6(n,new Cm(a6(ov(uv(new Xp,Ku),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),p6(n,new Cm(a6(ov(uv(new Xp,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),p6(n,new Cm(a6(ov(uv(new Xp,YVe),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),p6(n,new Cm(a6(ov(uv(new Xp,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),p6(n,new Cm(a6(ov(uv(new Xp,Gs),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),GUe((new V8e,n)),rXe((new W8e,n)),bUe((new Q8e,n))};var D3,xfn,Hbe,D5,Afn,Mfn,qbe,Lg,_g,Cfn,fx,zbe,lx,C0,Ube,dX,bX,Xbe,Kbe,Wbe,Tfn,Vbe,Sfn,Op,Qbe,Ifn,hx,wX,ax,gX,Pfn,Ybe,Ofn,Zbe,Np,ewe,L5,nwe,twe,iwe,$p,rwe,T0,cwe,Fg,Dp,uwe,wd,owe,zO,dx,Fh,swe,Nfn,fwe,$fn,Dfn,lwe,hwe,pX,mX,vX,yX,awe,Ko,$8,dwe,kX,EX,Rg,bwe,wwe,Lp,gwe,L3,bx,jX,Bg,Lfn,xX,_fn,Ffn,Rfn,Bfn,pwe,mwe,_3,vwe,UO,ywe,kwe,f1,Jfn,Ewe,jwe,xwe,_5,Jg,F5,F3,Gfn,Hfn,XO,qfn,KO,zfn,Ufn,Xfn,Kfn;g(Gu,"CoreOptions",689),w(86,24,{3:1,35:1,24:1,86:1},Uk);var Rl,jc,Tc,Bl,Xs,D8=et(Gu,"Direction",86,ut,wyn,Imn),Wfn;w(278,24,{3:1,35:1,24:1,278:1},sM);var WO,wx,Awe,Mwe,Cwe=et(Gu,"EdgeCoords",278,ut,J6n,Pmn),Vfn;w(279,24,{3:1,35:1,24:1,279:1},aL);var R5,Gg,B5,Twe=et(Gu,"EdgeLabelPlacement",279,ut,F5n,Omn),Qfn;w(222,24,{3:1,35:1,24:1,222:1},fM);var J5,gx,R3,AX,MX=et(Gu,"EdgeRouting",222,ut,q6n,Nmn),Yfn;w(328,24,{3:1,35:1,24:1,328:1},T6);var Swe,Iwe,Pwe,Owe,CX,Nwe,$we=et(Gu,"EdgeType",328,ut,o9n,$mn),Zfn;w(974,1,Pl,V8e),s.tf=function(n){GUe(n)};var Dwe,Lwe,_we,Fwe,eln,Rwe,L8;g(Gu,"FixedLayouterOptions",974),w(975,1,{},k6e),s.uf=function(){var n;return n=new M6e,n},s.vf=function(n){},g(Gu,"FixedLayouterOptions/FixedFactory",975),w(347,24,{3:1,35:1,24:1,347:1},dL);var l1,VO,_8,Bwe=et(Gu,"HierarchyHandling",347,ut,R5n,Dmn),nln,xRn=yi(Gu,"ITopdownSizeApproximator");w(292,24,{3:1,35:1,24:1,292:1},lM);var Rh,gd,px,mx,tln=et(Gu,"LabelSide",292,ut,z6n,Lmn),iln;w(96,24,{3:1,35:1,24:1,96:1},b2);var ka,Jf,af,Gf,js,Hf,df,Bh,qf,lc=et(Gu,"NodeLabelPlacement",96,ut,s8n,_mn),rln;w(257,24,{3:1,35:1,24:1,257:1},Xk);var Jwe,F8,pd,Gwe,vx,R8=et(Gu,"PortAlignment",257,ut,Tyn,Fmn),cln;w(102,24,{3:1,35:1,24:1,102:1},S6);var S0,yu,Jh,G5,Jl,md,Hwe=et(Gu,"PortConstraints",102,ut,r9n,Rmn),uln;w(280,24,{3:1,35:1,24:1,280:1},I6);var B8,J8,Ea,yx,vd,B3,QO=et(Gu,"PortLabelPlacement",280,ut,c9n,Bmn),oln;w(64,24,{3:1,35:1,24:1,64:1},Kk);var $n,Cn,Ks,Ws,so,Qu,Gl,zf,$o,xo,Du,Do,fo,lo,Uf,xs,As,bf,Xn,qc,Tn,ec=et(Gu,"PortSide",64,ut,gyn,Jmn),sln;w(978,1,Pl,Q8e),s.tf=function(n){bUe(n)};var fln,lln,qwe,hln,aln;g(Gu,"RandomLayouterOptions",978),w(979,1,{},E6e),s.uf=function(){var n;return n=new N6e,n},s.vf=function(n){},g(Gu,"RandomLayouterOptions/RandomFactory",979),w(300,24,{3:1,35:1,24:1,300:1},bL);var kx,TX,zwe,Uwe=et(Gu,"ShapeCoords",300,ut,B5n,Gmn),dln;w(380,24,{3:1,35:1,24:1,380:1},hM);var Hg,Ex,jx,I0,G8=et(Gu,"SizeConstraint",380,ut,H6n,Hmn),bln;w(266,24,{3:1,35:1,24:1,266:1},w2);var xx,YO,H5,SX,Ax,H8,ZO,eN,nN,Xwe=et(Gu,"SizeOptions",266,ut,m8n,qmn),wln;w(281,24,{3:1,35:1,24:1,281:1},wL);var qg,Kwe,tN,Wwe=et(Gu,"TopdownNodeTypes",281,ut,J5n,zmn),gln;w(288,24,SI);var Vwe,IX,Qwe,Ywe,Mx=et(Gu,"TopdownSizeApproximator",288,ut,G6n,Umn);w(970,288,SI,gPe),s.Sg=function(n){return ZJe(n)},et(Gu,"TopdownSizeApproximator/1",970,Mx,null,null),w(971,288,SI,HPe),s.Sg=function(n){var t,i,r,c,o,f,l,h,a,b,p,y,k,x,C,O,_,B,z,ce,ne,Me,He,Ge,fn;for(t=u(he(n,(jt(),Bg)),144),Me=(j1(),k=new u6,k),CE(Me,n),He=new Wn,o=new Rn((!n.a&&(n.a=new se(mt,n,10,11)),n.a));o.e!=o.i.gc();)r=u(Jn(o),26),B=(y=new u6,y),ES(B,Me),CE(B,r),fn=ZJe(r),z0(B,m.Math.max(r.g,fn.a),m.Math.max(r.f,fn.b)),ro(He.f,r,B);for(c=new Rn((!n.a&&(n.a=new se(mt,n,10,11)),n.a));c.e!=c.i.gc();)for(r=u(Jn(c),26),b=new Rn((!r.e&&(r.e=new hn(Xi,r,7,4)),r.e));b.e!=b.i.gc();)a=u(Jn(b),85),ce=u(Lc(pc(He.f,r)),26),ne=u(vn(He,R((!a.c&&(a.c=new hn(Yn,a,5,8)),a.c),0)),26),z=(p=new U$,p),it((!z.b&&(z.b=new hn(Yn,z,4,7)),z.b),ce),it((!z.c&&(z.c=new hn(Yn,z,5,8)),z.c),ne),kS(z,pi(ce)),CE(z,a);C=u(y7(t.f),214);try{C.kf(Me,new z$),MZ(t.f,C)}catch(an){throw an=_i(an),F(an,101)?(x=an,I(x)):I(an)}return nl(Me,_g)||nl(Me,Lg)||rJ(Me),h=q(K(he(Me,_g))),l=q(K(he(Me,Lg))),f=h/l,i=q(K(he(Me,Jg)))*m.Math.sqrt((!Me.a&&(Me.a=new se(mt,Me,10,11)),Me.a).i),Ge=u(he(Me,Fh),104),_=Ge.b+Ge.c+1,O=Ge.d+Ge.a+1,new be(m.Math.max(_,i),m.Math.max(O,i/f))},et(Gu,"TopdownSizeApproximator/2",971,Mx,null,null),w(972,288,SI,MNe),s.Sg=function(n){var t,i,r,c,o,f;return i=q(K(he(n,(jt(),Jg)))),t=i/q(K(he(n,_5))),r=g$n(n),o=u(he(n,Fh),104),c=q(K(Ae(f1))),pi(n)&&(c=q(K(he(pi(n),f1)))),f=Wh(new be(i,t),r),zt(f,new be(-(o.b+o.c)-c,-(o.d+o.a)-c))},et(Gu,"TopdownSizeApproximator/3",972,Mx,null,null),w(973,288,SI,tOe),s.Sg=function(n){var t,i,r,c,o,f,l,h,a,b;for(f=new Rn((!n.a&&(n.a=new se(mt,n,10,11)),n.a));f.e!=f.i.gc();)o=u(Jn(f),26),he(o,(jt(),KO))!=null&&(!o.a&&(o.a=new se(mt,o,10,11)),!!o.a)&&(!o.a&&(o.a=new se(mt,o,10,11)),o.a).i>0?(i=u(he(o,KO),522),b=i.Sg(o),a=u(he(o,Fh),104),z0(o,m.Math.max(o.g,b.a+a.b+a.c),m.Math.max(o.f,b.b+a.d+a.a))):(!o.a&&(o.a=new se(mt,o,10,11)),o.a).i!=0&&z0(o,q(K(he(o,Jg))),q(K(he(o,Jg)))/q(K(he(o,_5))));t=u(he(n,(jt(),Bg)),144),h=u(y7(t.f),214);try{h.kf(n,new z$),MZ(t.f,h)}catch(p){throw p=_i(p),F(p,101)?(l=p,I(l)):I(p)}return Yt(n,D3,Z4),gDe(n),rJ(n),c=q(K(he(n,_g))),r=q(K(he(n,Lg))),new be(c,r)},et(Gu,"TopdownSizeApproximator/4",973,Mx,null,null);var pln;w(345,1,{853:1},Zp),s.Tg=function(n,t){return aHe(this,n,t)},s.Ug=function(){FHe(this)},s.Vg=function(){return this.q},s.Wg=function(){return this.f?vC(this.f):null},s.Xg=function(){return vC(this.a)},s.Yg=function(){return this.p},s.Zg=function(){return!1},s.$g=function(){return this.n},s._g=function(){return this.p!=null&&!this.b},s.ah=function(n){var t;this.n&&(t=n,me(this.f,t))},s.bh=function(n,t){var i,r;this.n&&n&&t6n(this,(i=new dOe,r=_B(i,n),n_n(i),r),(MT(),OX))},s.dh=function(n){var t;return this.b?null:(t=z9n(this,this.g),At(this.a,t),t.i=this,this.d=n,t)},s.eh=function(n){n>0&&!this.b&&ane(this,n)},s.b=!1,s.c=0,s.d=-1,s.e=null,s.f=null,s.g=-1,s.j=!1,s.k=!1,s.n=!1,s.o=0,s.q=0,s.r=0,g(ru,"BasicProgressMonitor",345),w(706,214,Mb,j6e),s.kf=function(n,t){kXe(n,t)},g(ru,"BoxLayoutProvider",706),w(966,1,Mt,nje),s.Le=function(n,t){return ePn(this,u(n,26),u(t,26))},s.Fb=function(n){return this===n},s.Me=function(){return new yt(this)},s.a=!1,g(ru,"BoxLayoutProvider/1",966),w(167,1,{167:1},tT,OSe),s.Ib=function(){return this.c?bce(this.c):Cl(this.b)},g(ru,"BoxLayoutProvider/Group",167),w(327,24,{3:1,35:1,24:1,327:1},aM);var Zwe,ege,nge,PX,tge=et(ru,"BoxLayoutProvider/PackingMode",327,ut,U6n,Xmn),mln;w(967,1,Mt,T6e),s.Le=function(n,t){return h4n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new yt(this)},g(ru,"BoxLayoutProvider/lambda$0$Type",967),w(968,1,Mt,S6e),s.Le=function(n,t){return e4n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new yt(this)},g(ru,"BoxLayoutProvider/lambda$1$Type",968),w(969,1,Mt,I6e),s.Le=function(n,t){return n4n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new yt(this)},g(ru,"BoxLayoutProvider/lambda$2$Type",969),w(1339,1,{830:1},P6e),s.Lg=function(n,t){return RA(),!F(t,174)||$Ae((Fm(),u(n,174)),t)},g(ru,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1339),w(1340,1,_n,tje),s.Ad=function(n){s7n(this.a,u(n,147))},g(ru,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1340),w(1341,1,_n,O6e),s.Ad=function(n){u(n,105),RA()},g(ru,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1341),w(1345,1,_n,ije),s.Ad=function(n){I8n(this.a,u(n,105))},g(ru,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1345),w(1343,1,gt,jCe),s.Mb=function(n){return qkn(this.a,this.b,u(n,147))},g(ru,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1343),w(1342,1,gt,xCe),s.Mb=function(n){return Qgn(this.a,this.b,u(n,830))},g(ru,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1342),w(1344,1,_n,ACe),s.Ad=function(n){Y3n(this.a,this.b,u(n,147))},g(ru,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1344),w(931,1,{},A6e),s.Kb=function(n){return ATe(n)},s.Fb=function(n){return this===n},g(ru,"ElkUtil/lambda$0$Type",931),w(932,1,_n,MCe),s.Ad=function(n){rSn(this.a,this.b,u(n,85))},s.a=0,s.b=0,g(ru,"ElkUtil/lambda$1$Type",932),w(933,1,_n,CCe),s.Ad=function(n){ebn(this.a,this.b,u(n,170))},s.a=0,s.b=0,g(ru,"ElkUtil/lambda$2$Type",933),w(934,1,_n,TCe),s.Ad=function(n){Wwn(this.a,this.b,u(n,157))},s.a=0,s.b=0,g(ru,"ElkUtil/lambda$3$Type",934),w(935,1,_n,rje),s.Ad=function(n){k3n(this.a,u(n,372))},g(ru,"ElkUtil/lambda$4$Type",935),w(331,1,{35:1,331:1},S0n),s.Dd=function(n){return jgn(this,u(n,242))},s.Fb=function(n){var t;return F(n,331)?(t=u(n,331),this.a==t.a):!1},s.Hb=function(){return Br(this.a)},s.Ib=function(){return this.a+" (exclusive)"},s.a=0,g(ru,"ExclusiveBounds/ExclusiveLowerBound",331),w(1089,214,Mb,M6e),s.kf=function(n,t){var i,r,c,o,f,l,h,a,b,p,y,k,x,C,O,_,B,z,ce,ne,Me,He,Ge;for(t.Tg("Fixed Layout",1),o=u(he(n,(jt(),Kbe)),222),p=0,y=0,B=new Rn((!n.a&&(n.a=new se(mt,n,10,11)),n.a));B.e!=B.i.gc();){for(O=u(Jn(B),26),Ge=u(he(O,(AT(),L8)),8),Ge&&(Is(O,Ge.a,Ge.b),u(he(O,Lwe),182).Gc((rs(),Hg))&&(k=u(he(O,Fwe),8),k.a>0&&k.b>0&&Eb(O,k.a,k.b,!0,!0))),p=m.Math.max(p,O.i+O.g),y=m.Math.max(y,O.j+O.f),a=new Rn((!O.n&&(O.n=new se(zc,O,1,7)),O.n));a.e!=a.i.gc();)l=u(Jn(a),157),Ge=u(he(l,L8),8),Ge&&Is(l,Ge.a,Ge.b),p=m.Math.max(p,O.i+l.i+l.g),y=m.Math.max(y,O.j+l.j+l.f);for(ne=new Rn((!O.c&&(O.c=new se(Wo,O,9,9)),O.c));ne.e!=ne.i.gc();)for(ce=u(Jn(ne),125),Ge=u(he(ce,L8),8),Ge&&Is(ce,Ge.a,Ge.b),Me=O.i+ce.i,He=O.j+ce.j,p=m.Math.max(p,Me+ce.g),y=m.Math.max(y,He+ce.f),h=new Rn((!ce.n&&(ce.n=new se(zc,ce,1,7)),ce.n));h.e!=h.i.gc();)l=u(Jn(h),157),Ge=u(he(l,L8),8),Ge&&Is(l,Ge.a,Ge.b),p=m.Math.max(p,Me+l.i+l.g),y=m.Math.max(y,He+l.j+l.f);for(c=new An(In(X1(O).a.Jc(),new X));zn(c);)i=u(Dn(c),85),b=$Ke(i),p=m.Math.max(p,b.a),y=m.Math.max(y,b.b);for(r=new An(In(jB(O).a.Jc(),new X));zn(r);)i=u(Dn(r),85),pi(fB(i))!=n&&(b=$Ke(i),p=m.Math.max(p,b.a),y=m.Math.max(y,b.b))}if(o==(fa(),J5))for(_=new Rn((!n.a&&(n.a=new se(mt,n,10,11)),n.a));_.e!=_.i.gc();)for(O=u(Jn(_),26),r=new An(In(X1(O).a.Jc(),new X));zn(r);)i=u(Dn(r),85),f=n$n(i),f.b==0?Yt(i,Np,null):Yt(i,Np,f);Se(Te(he(n,(AT(),_we))))||(z=u(he(n,eln),104),C=p+z.b+z.c,x=y+z.d+z.a,Eb(n,C,x,!0,!0)),t.Ug()},g(ru,"FixedLayoutProvider",1089),w(379,150,{3:1,414:1,379:1,105:1,150:1},q$,x_e),s.ag=function(n){var t,i,r,c,o,f,l,h,a;if(n)try{for(h=ng(n,";,;"),o=h,f=0,l=o.length;f<l;++f){if(c=o[f],i=ng(c,"\\:"),r=Xce(hy(),i[0]),!r)throw I(new xn("Invalid option id: "+i[0]));if(a=zce(r,i[1]),a==null)throw I(new xn("Invalid option value: "+i[1]));a==null?(!this.q&&(this.q=new Wn),Pm(this.q,r)):(!this.q&&(this.q=new Wn),It(this.q,r,a))}}catch(b){throw b=_i(b),F(b,101)?(t=b,I(new uBe(t))):I(b)}},s.Ib=function(){var n;return n=dt(To(_u((this.q?this.q:(tn(),tn(),$h)).vc().Mc(),new x6e),A9n(new ZIe,new Ac,new rr,new sr,$(N(oo,1),ae,130,0,[])))),n};var vln=g(ru,"IndividualSpacings",379);w(965,1,{},x6e),s.Kb=function(n){return l4n(u(n,45))},g(ru,"IndividualSpacings/lambda$0$Type",965),w(708,1,{},IPe),s.c=0,g(ru,"InstancePool",708),w(1819,1,{},C6e),g(ru,"LoggedGraph",1819),w(407,24,{3:1,35:1,24:1,407:1},dM);var ige,OX,rge,cge,yln=et(ru,"LoggedGraph/Type",407,ut,X6n,Kmn),kln;w(615,1,{853:1},z$),s.Tg=function(n,t){return!1},s.Ug=function(){},s.Vg=function(){return 0},s.Wg=function(){return null},s.Xg=function(){return null},s.Yg=function(){return null},s.Zg=function(){return!1},s.$g=function(){return!1},s._g=function(){return!1},s.ah=function(n){},s.bh=function(n,t){},s.dh=function(n){return this},s.eh=function(n){},g(ru,"NullElkProgressMonitor",615),w(49,1,{20:1,49:1},Qr),s.Ic=function(n){Lr(this,n)},s.Fb=function(n){var t,i,r;return F(n,49)?(i=u(n,49),t=this.a==null?i.a==null:qt(this.a,i.a),r=this.b==null?i.b==null:qt(this.b,i.b),t&&r):!1},s.Hb=function(){var n,t,i,r,c,o;return i=this.a==null?0:si(this.a),n=i&Qi,t=i&-65536,o=this.b==null?0:si(this.b),r=o&Qi,c=o&-65536,n^c>>16&Qi|t^r<<16},s.Jc=function(){return new cje(this)},s.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+Oc(this.b)+")":this.b==null?"pair("+Oc(this.a)+",null)":"pair("+Oc(this.a)+","+Oc(this.b)+")"},g(ru,"Pair",49),w(980,1,Er,cje),s.Nb=function(n){Or(this,n)},s.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},s.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw I(new $c)},s.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),I(new wo)},s.b=!1,s.c=!1,g(ru,"Pair/1",980),w(1079,214,Mb,N6e),s.kf=function(n,t){var i,r,c,o,f;if(t.Tg("Random Layout",1),(!n.a&&(n.a=new se(mt,n,10,11)),n.a).i==0){t.Ug();return}o=u(he(n,(Bte(),hln)),15),o&&o.a!=0?c=new NC(o.a):c=new bR,i=Ck(K(he(n,fln))),f=Ck(K(he(n,aln))),r=u(he(n,lln),104),E_n(n,c,i,f,r),t.Ug()},g(ru,"RandomLayoutProvider",1079),w(240,1,{240:1},KL),s.Fb=function(n){return du(this.a,u(n,240).a)&&du(this.b,u(n,240).b)&&du(this.c,u(n,240).c)},s.Hb=function(){return CT($(N(ir,1),ln,1,5,[this.a,this.b,this.c]))},s.Ib=function(){return"("+this.a+Ju+this.b+Ju+this.c+")"},g(ru,"Triple",240);var Eln;w(551,1,{}),s.Jf=function(){return new be(this.f.i,this.f.j)},s.mf=function(n){return ENe(n,(jt(),Ko))?he(this.f,jln):he(this.f,n)},s.Kf=function(){return new be(this.f.g,this.f.f)},s.Lf=function(){return this.g},s.nf=function(n){return nl(this.f,n)},s.Mf=function(n){Go(this.f,n.a),Ho(this.f,n.b)},s.Nf=function(n){sb(this.f,n.a),ob(this.f,n.b)},s.Of=function(n){this.g=n},s.g=0;var jln;g(k9,"ElkGraphAdapters/AbstractElkGraphElementAdapter",551),w(553,1,{838:1},mA),s.Pf=function(){var n,t;if(!this.b)for(this.b=SC(A_(this.a).i),t=new Rn(A_(this.a));t.e!=t.i.gc();)n=u(Jn(t),157),me(this.b,new jD(n));return this.b},s.b=null,g(k9,"ElkGraphAdapters/ElkEdgeAdapter",553),w(260,551,{},y1),s.Qf=function(){return vGe(this)},s.a=null,g(k9,"ElkGraphAdapters/ElkGraphAdapter",260),w(631,551,{187:1},jD),g(k9,"ElkGraphAdapters/ElkLabelAdapter",631),w(552,551,{685:1},SM),s.Pf=function(){return Txn(this)},s.Tf=function(){var n;return n=u(he(this.f,(jt(),L5)),140),!n&&(n=new c6),n},s.Vf=function(){return Sxn(this)},s.Xf=function(n){var t;t=new UL(n),Yt(this.f,(jt(),L5),t)},s.Yf=function(n){Yt(this.f,(jt(),Fh),new yY(n))},s.Rf=function(){return this.d},s.Sf=function(){var n,t;if(!this.a)for(this.a=new ve,t=new An(In(jB(u(this.f,26)).a.Jc(),new X));zn(t);)n=u(Dn(t),85),me(this.a,new mA(n));return this.a},s.Uf=function(){var n,t;if(!this.c)for(this.c=new ve,t=new An(In(X1(u(this.f,26)).a.Jc(),new X));zn(t);)n=u(Dn(t),85),me(this.c,new mA(n));return this.c},s.Wf=function(){return pC(u(this.f,26)).i!=0||Se(Te(u(this.f,26).mf((jt(),hx))))},s.Zf=function(){M9n(this,($d(),Eln))},s.a=null,s.b=null,s.c=null,s.d=null,s.e=null,g(k9,"ElkGraphAdapters/ElkNodeAdapter",552),w(1251,551,{837:1},Nje),s.Pf=function(){return Lxn(this)},s.Sf=function(){var n,t;if(!this.a)for(this.a=mh(u(this.f,125).gh().i),t=new Rn(u(this.f,125).gh());t.e!=t.i.gc();)n=u(Jn(t),85),me(this.a,new mA(n));return this.a},s.Uf=function(){var n,t;if(!this.c)for(this.c=mh(u(this.f,125).hh().i),t=new Rn(u(this.f,125).hh());t.e!=t.i.gc();)n=u(Jn(t),85),me(this.c,new mA(n));return this.c},s.$f=function(){return u(u(this.f,125).mf((jt(),Lp)),64)},s._f=function(){var n,t,i,r,c,o,f,l;for(r=ml(u(this.f,125)),i=new Rn(u(this.f,125).hh());i.e!=i.i.gc();)for(n=u(Jn(i),85),l=new Rn((!n.c&&(n.c=new hn(Yn,n,5,8)),n.c));l.e!=l.i.gc();){if(f=u(Jn(l),84),Lw(Cc(f),r))return!0;if(Cc(f)==r&&Se(Te(he(n,(jt(),wX)))))return!0}for(t=new Rn(u(this.f,125).gh());t.e!=t.i.gc();)for(n=u(Jn(t),85),o=new Rn((!n.b&&(n.b=new hn(Yn,n,4,7)),n.b));o.e!=o.i.gc();)if(c=u(Jn(o),84),Lw(Cc(c),r))return!0;return!1},s.a=null,s.b=null,s.c=null,g(k9,"ElkGraphAdapters/ElkPortAdapter",1251),w(1252,1,Mt,$6e),s.Le=function(n,t){return UOn(u(n,125),u(t,125))},s.Fb=function(n){return this===n},s.Me=function(){return new yt(this)},g(k9,"ElkGraphAdapters/PortComparator",1252);var yd=yi(Hs,"EObject"),q5=yi(cp,HQe),Ms=yi(cp,qQe),Cx=yi(cp,zQe),Tx=yi(cp,"ElkShape"),Yn=yi(cp,UQe),Xi=yi(cp,sfe),di=yi(cp,XQe),Sx=yi(Hs,KQe),q8=yi(Hs,"EFactory"),xln,NX=yi(Hs,WQe),dl=yi(Hs,"EPackage"),wr,Aln,Mln,uge,iN,Cln,oge,sge,fge,Gh,Tln,Sln,zc=yi(cp,ffe),mt=yi(cp,lfe),Wo=yi(cp,hfe);w(93,1,VQe),s.qh=function(){return this.rh(),null},s.rh=function(){return null},s.sh=function(){return this.rh(),!1},s.th=function(){return!1},s.uh=function(n){Gt(this,n)},g(h3,"BasicNotifierImpl",93),w(100,93,eYe),s.Vh=function(){return Vo(this)},s.vh=function(n,t){return n},s.wh=function(){throw I(new ht)},s.xh=function(n){var t;return t=ic(u(cn(this.Ah(),this.Ch()),19)),this.Mh().Qh(this,t.n,t.f,n)},s.yh=function(n,t){throw I(new ht)},s.zh=function(n,t,i){return ms(this,n,t,i)},s.Ah=function(){var n;return this.wh()&&(n=this.wh().Lk(),n)?n:this.fi()},s.Bh=function(){return kB(this)},s.Ch=function(){throw I(new ht)},s.Dh=function(){var n,t;return t=this.Xh().Mk(),!t&&this.wh().Rk(t=(v6(),n=BZ(rh(this.Ah())),n==null?JX:new Zk(this,n))),t},s.Eh=function(n,t){return n},s.Fh=function(n){var t;return t=n.nk(),t?n.Jj():vi(this.Ah(),n)},s.Gh=function(){var n;return n=this.wh(),n?n.Ok():null},s.Hh=function(){return this.wh()?this.wh().Lk():null},s.Ih=function(n,t,i){return WT(this,n,t,i)},s.Jh=function(n){return _v(this,n)},s.Kh=function(n,t){return cF(this,n,t)},s.Lh=function(){var n;return n=this.wh(),!!n&&n.Pk()},s.Mh=function(){throw I(new ht)},s.Nh=function(){return qT(this)},s.Oh=function(n,t,i,r){return qm(this,n,t,r)},s.Ph=function(n,t,i){var r;return r=u(cn(this.Ah(),t),69),r.uk().xk(this,this.ei(),t-this.gi(),n,i)},s.Qh=function(n,t,i,r){return EC(this,n,t,r)},s.Rh=function(n,t,i){var r;return r=u(cn(this.Ah(),t),69),r.uk().yk(this,this.ei(),t-this.gi(),n,i)},s.Sh=function(){return!!this.wh()&&!!this.wh().Nk()},s.Th=function(n){return IR(this,n)},s.Uh=function(n){return FNe(this,n)},s.Wh=function(n){return pKe(this,n)},s.Xh=function(){throw I(new ht)},s.Yh=function(){return this.wh()?this.wh().Nk():null},s.Zh=function(){return qT(this)},s.$h=function(n,t){gB(this,n,t)},s._h=function(n){this.Xh().Qk(n)},s.ai=function(n){this.Xh().Tk(n)},s.bi=function(n){this.Xh().Sk(n)},s.ci=function(n,t){var i,r,c,o;return o=this.Gh(),o&&n&&(t=Wr(o.Cl(),this,t),o.Gl(this)),r=this.Mh(),r&&(($B(this,this.Mh(),this.Ch()).Bb&Yr)!=0?(c=r.Nh(),c&&(n?!o&&c.Gl(this):c.Fl(this))):(t=(i=this.Ch(),i>=0?this.xh(t):this.Mh().Qh(this,-1-i,null,t)),t=this.zh(null,-1,t))),this.ai(n),t},s.di=function(n){var t,i,r,c,o,f,l,h;if(i=this.Ah(),o=vi(i,n),t=this.gi(),o>=t)return u(n,69).uk().Bk(this,this.ei(),o-t);if(o<=-1)if(f=V2((ko(),$r),i,n),f){if(tc(),u(f,69).vk()||(f=Tm(vc($r,f))),c=(r=this.Fh(f),u(r>=0?this.Ih(r,!0,!0):vb(this,f,!0),163)),h=f.Gk(),h>1||h==-1)return u(u(c,219).Ql(n,!1),78)}else throw I(new xn(nd+n.ve()+bH));else if(n.Hk())return r=this.Fh(n),u(r>=0?this.Ih(r,!1,!0):vb(this,n,!1),78);return l=new XCe(this,n),l},s.ei=function(){return Xee(this)},s.fi=function(){return(S1(),mn).S},s.gi=function(){return Un(this.fi())},s.hi=function(n){dB(this,n)},s.Ib=function(){return Of(this)},g(yn,"BasicEObjectImpl",100);var Iln;w(117,100,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1}),s.ii=function(n){var t;return t=Kee(this),t[n]},s.ji=function(n,t){var i;i=Kee(this),Ni(i,n,t)},s.ki=function(n){var t;t=Kee(this),Ni(t,n,null)},s.qh=function(){return u(Mn(this,4),129)},s.rh=function(){throw I(new ht)},s.sh=function(){return(this.Db&4)!=0},s.wh=function(){throw I(new ht)},s.li=function(n){Gm(this,2,n)},s.yh=function(n,t){this.Db=t<<16|this.Db&255,this.li(n)},s.Ah=function(){return eo(this)},s.Ch=function(){return this.Db>>16},s.Dh=function(){var n,t;return v6(),t=BZ(rh((n=u(Mn(this,16),29),n||this.fi()))),t==null?JX:new Zk(this,t)},s.th=function(){return(this.Db&1)==0},s.Gh=function(){return u(Mn(this,128),1999)},s.Hh=function(){return u(Mn(this,16),29)},s.Lh=function(){return(this.Db&32)!=0},s.Mh=function(){return u(Mn(this,2),52)},s.Sh=function(){return(this.Db&64)!=0},s.Xh=function(){throw I(new ht)},s.Yh=function(){return u(Mn(this,64),290)},s._h=function(n){Gm(this,16,n)},s.ai=function(n){Gm(this,128,n)},s.bi=function(n){Gm(this,64,n)},s.ei=function(){return Uu(this)},s.Db=0,g(yn,"MinimalEObjectImpl",117),w(118,117,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.li=function(n){this.Cb=n},s.Mh=function(){return this.Cb},g(yn,"MinimalEObjectImpl/Container",118),w(e1,118,{109:1,343:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return fie(this,n,t,i)},s.Rh=function(n,t,i){return Qie(this,n,t,i)},s.Th=function(n){return eee(this,n)},s.$h=function(n,t){Xne(this,n,t)},s.fi=function(){return su(),Sln},s.hi=function(n){Lne(this,n)},s.lf=function(){return RJe(this)},s.fh=function(){return!this.o&&(this.o=new vo((su(),Gh),h1,this,0)),this.o},s.mf=function(n){return he(this,n)},s.nf=function(n){return nl(this,n)},s.of=function(n,t){return Yt(this,n,t)},g(a0,"EMapPropertyHolderImpl",e1),w(559,118,{109:1,372:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},sA),s.Ih=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return WT(this,n,t,i)},s.Th=function(n){switch(n){case 0:return this.a!=0;case 1:return this.b!=0}return IR(this,n)},s.$h=function(n,t){switch(n){case 0:iT(this,q(K(t)));return;case 1:rT(this,q(K(t)));return}gB(this,n,t)},s.fi=function(){return su(),Aln},s.hi=function(n){switch(n){case 0:iT(this,0);return;case 1:rT(this,0);return}dB(this,n)},s.Ib=function(){var n;return(this.Db&64)!=0?Of(this):(n=new ef(Of(this)),n.a+=" (x: ",l2(n,this.a),n.a+=", y: ",l2(n,this.b),n.a+=")",n.a)},s.a=0,s.b=0,g(a0,"ElkBendPointImpl",559),w(727,e1,{109:1,343:1,174:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return bte(this,n,t,i)},s.Ph=function(n,t,i){return cB(this,n,t,i)},s.Rh=function(n,t,i){return GF(this,n,t,i)},s.Th=function(n){return Ine(this,n)},s.$h=function(n,t){Cie(this,n,t)},s.fi=function(){return su(),Cln},s.hi=function(n){lte(this,n)},s.ih=function(){return this.k},s.jh=function(){return A_(this)},s.Ib=function(){return aR(this)},s.k=null,g(a0,"ElkGraphElementImpl",727),w(728,727,{109:1,343:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return Cte(this,n,t,i)},s.Th=function(n){return Nte(this,n)},s.$h=function(n,t){Tie(this,n,t)},s.fi=function(){return su(),Tln},s.hi=function(n){_te(this,n)},s.kh=function(){return this.f},s.lh=function(){return this.g},s.mh=function(){return this.i},s.nh=function(){return this.j},s.oh=function(n,t){z0(this,n,t)},s.ph=function(n,t){Is(this,n,t)},s.Ib=function(){return hB(this)},s.f=0,s.g=0,s.i=0,s.j=0,g(a0,"ElkShapeImpl",728),w(729,728,{109:1,343:1,84:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return iie(this,n,t,i)},s.Ph=function(n,t,i){return kie(this,n,t,i)},s.Rh=function(n,t,i){return Eie(this,n,t,i)},s.Th=function(n){return Une(this,n)},s.$h=function(n,t){Dre(this,n,t)},s.fi=function(){return su(),Mln},s.hi=function(n){Yte(this,n)},s.gh=function(){return!this.d&&(this.d=new hn(Xi,this,8,5)),this.d},s.hh=function(){return!this.e&&(this.e=new hn(Xi,this,7,4)),this.e},g(a0,"ElkConnectableShapeImpl",729),w(271,727,{109:1,343:1,85:1,174:1,271:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},U$),s.xh=function(n){return mie(this,n)},s.Ih=function(n,t,i){switch(n){case 3:return Tw(this);case 4:return!this.b&&(this.b=new hn(Yn,this,4,7)),this.b;case 5:return!this.c&&(this.c=new hn(Yn,this,5,8)),this.c;case 6:return!this.a&&(this.a=new se(di,this,6,6)),this.a;case 7:return gn(),!this.b&&(this.b=new hn(Yn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new hn(Yn,this,5,8)),this.c.i<=1));case 8:return gn(),!!Jy(this);case 9:return gn(),!!mb(this);case 10:return gn(),!this.b&&(this.b=new hn(Yn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new hn(Yn,this,5,8)),this.c.i!=0)}return bte(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 3:return this.Cb&&(i=(r=this.Db>>16,r>=0?mie(this,i):this.Cb.Qh(this,-1-r,null,i))),YQ(this,u(n,26),i);case 4:return!this.b&&(this.b=new hn(Yn,this,4,7)),Bu(this.b,n,i);case 5:return!this.c&&(this.c=new hn(Yn,this,5,8)),Bu(this.c,n,i);case 6:return!this.a&&(this.a=new se(di,this,6,6)),Bu(this.a,n,i)}return cB(this,n,t,i)},s.Rh=function(n,t,i){switch(t){case 3:return YQ(this,null,i);case 4:return!this.b&&(this.b=new hn(Yn,this,4,7)),Wr(this.b,n,i);case 5:return!this.c&&(this.c=new hn(Yn,this,5,8)),Wr(this.c,n,i);case 6:return!this.a&&(this.a=new se(di,this,6,6)),Wr(this.a,n,i)}return GF(this,n,t,i)},s.Th=function(n){switch(n){case 3:return!!Tw(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new hn(Yn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new hn(Yn,this,5,8)),this.c.i<=1));case 8:return Jy(this);case 9:return mb(this);case 10:return!this.b&&(this.b=new hn(Yn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new hn(Yn,this,5,8)),this.c.i!=0)}return Ine(this,n)},s.$h=function(n,t){switch(n){case 3:kS(this,u(t,26));return;case 4:!this.b&&(this.b=new hn(Yn,this,4,7)),nt(this.b),!this.b&&(this.b=new hn(Yn,this,4,7)),Ii(this.b,u(t,18));return;case 5:!this.c&&(this.c=new hn(Yn,this,5,8)),nt(this.c),!this.c&&(this.c=new hn(Yn,this,5,8)),Ii(this.c,u(t,18));return;case 6:!this.a&&(this.a=new se(di,this,6,6)),nt(this.a),!this.a&&(this.a=new se(di,this,6,6)),Ii(this.a,u(t,18));return}Cie(this,n,t)},s.fi=function(){return su(),uge},s.hi=function(n){switch(n){case 3:kS(this,null);return;case 4:!this.b&&(this.b=new hn(Yn,this,4,7)),nt(this.b);return;case 5:!this.c&&(this.c=new hn(Yn,this,5,8)),nt(this.c);return;case 6:!this.a&&(this.a=new se(di,this,6,6)),nt(this.a);return}lte(this,n)},s.Ib=function(){return FXe(this)},g(a0,"ElkEdgeImpl",271),w(443,e1,{109:1,343:1,170:1,443:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},fA),s.xh=function(n){return bie(this,n)},s.Ih=function(n,t,i){switch(n){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new Wi(Ms,this,5)),this.a;case 6:return _Ne(this);case 7:return t?DR(this):this.i;case 8:return t?$R(this):this.f;case 9:return!this.g&&(this.g=new hn(di,this,9,10)),this.g;case 10:return!this.e&&(this.e=new hn(di,this,10,9)),this.e;case 11:return this.d}return fie(this,n,t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?bie(this,i):this.Cb.Qh(this,-1-c,null,i))),ZQ(this,u(n,85),i);case 9:return!this.g&&(this.g=new hn(di,this,9,10)),Bu(this.g,n,i);case 10:return!this.e&&(this.e=new hn(di,this,10,9)),Bu(this.e,n,i)}return o=u(cn((r=u(Mn(this,16),29),r||(su(),iN)),t),69),o.uk().xk(this,Uu(this),t-Un((su(),iN)),n,i)},s.Rh=function(n,t,i){switch(t){case 5:return!this.a&&(this.a=new Wi(Ms,this,5)),Wr(this.a,n,i);case 6:return ZQ(this,null,i);case 9:return!this.g&&(this.g=new hn(di,this,9,10)),Wr(this.g,n,i);case 10:return!this.e&&(this.e=new hn(di,this,10,9)),Wr(this.e,n,i)}return Qie(this,n,t,i)},s.Th=function(n){switch(n){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!_Ne(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return eee(this,n)},s.$h=function(n,t){switch(n){case 1:$2(this,q(K(t)));return;case 2:D2(this,q(K(t)));return;case 3:O2(this,q(K(t)));return;case 4:N2(this,q(K(t)));return;case 5:!this.a&&(this.a=new Wi(Ms,this,5)),nt(this.a),!this.a&&(this.a=new Wi(Ms,this,5)),Ii(this.a,u(t,18));return;case 6:Lze(this,u(t,85));return;case 7:hT(this,u(t,84));return;case 8:lT(this,u(t,84));return;case 9:!this.g&&(this.g=new hn(di,this,9,10)),nt(this.g),!this.g&&(this.g=new hn(di,this,9,10)),Ii(this.g,u(t,18));return;case 10:!this.e&&(this.e=new hn(di,this,10,9)),nt(this.e),!this.e&&(this.e=new hn(di,this,10,9)),Ii(this.e,u(t,18));return;case 11:vne(this,dt(t));return}Xne(this,n,t)},s.fi=function(){return su(),iN},s.hi=function(n){switch(n){case 1:$2(this,0);return;case 2:D2(this,0);return;case 3:O2(this,0);return;case 4:N2(this,0);return;case 5:!this.a&&(this.a=new Wi(Ms,this,5)),nt(this.a);return;case 6:Lze(this,null);return;case 7:hT(this,null);return;case 8:lT(this,null);return;case 9:!this.g&&(this.g=new hn(di,this,9,10)),nt(this.g);return;case 10:!this.e&&(this.e=new hn(di,this,10,9)),nt(this.e);return;case 11:vne(this,null);return}Lne(this,n)},s.Ib=function(){return Kqe(this)},s.b=0,s.c=0,s.d=null,s.j=0,s.k=0,g(a0,"ElkEdgeSectionImpl",443),w(161,118,{109:1,94:1,93:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),s.Ih=function(n,t,i){var r;return n==0?(!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab):$s(this,n-Un(this.fi()),cn((r=u(Mn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new se(St,this,0,3)),Bu(this.Ab,n,i)):(c=u(cn((r=u(Mn(this,16),29),r||this.fi()),t),69),c.uk().xk(this,Uu(this),t-Un(this.fi()),n,i))},s.Rh=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new se(St,this,0,3)),Wr(this.Ab,n,i)):(c=u(cn((r=u(Mn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Uu(this),t-Un(this.fi()),n,i))},s.Th=function(n){var t;return n==0?!!this.Ab&&this.Ab.i!=0:Ns(this,n-Un(this.fi()),cn((t=u(Mn(this,16),29),t||this.fi()),n))},s.Wh=function(n){return eue(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return}Bs(this,n-Un(this.fi()),cn((i=u(Mn(this,16),29),i||this.fi()),n),t)},s.ai=function(n){Gm(this,128,n)},s.fi=function(){return nn(),Kln},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return}Rs(this,n-Un(this.fi()),cn((t=u(Mn(this,16),29),t||this.fi()),n))},s.mi=function(){this.Bb|=1},s.ni=function(n){return Ky(this,n)},s.Bb=0,g(yn,"EModelElementImpl",161),w(710,161,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},ZK),s.oi=function(n,t){return lKe(this,n,t)},s.pi=function(n){var t,i,r,c,o;if(this.a!=ds(n)||(n.Bb&256)!=0)throw I(new xn(gH+n.zb+Ob));for(r=Mc(n);bu(r.a).i!=0;){if(i=u(_E(r,0,(t=u(R(bu(r.a),0),87),o=t.c,F(o,88)?u(o,29):(nn(),mf))),29),gb(i))return c=ds(i).ti().pi(i),u(c,52)._h(n),c;r=Mc(i)}return(n.D!=null?n.D:n.B)=="java.util.Map$Entry"?new wPe(n):new RY(n)},s.qi=function(n,t){return jb(this,n,t)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.a}return $s(this,n-Un((nn(),jd)),cn((r=u(Mn(this,16),29),r||jd),n),t,i)},s.Ph=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Bu(this.Ab,n,i);case 1:return this.a&&(i=u(this.a,52).Qh(this,4,dl,i)),ste(this,u(n,241),i)}return c=u(cn((r=u(Mn(this,16),29),r||(nn(),jd)),t),69),c.uk().xk(this,Uu(this),t-Un((nn(),jd)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Wr(this.Ab,n,i);case 1:return ste(this,null,i)}return c=u(cn((r=u(Mn(this,16),29),r||(nn(),jd)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),jd)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return Ns(this,n-Un((nn(),jd)),cn((t=u(Mn(this,16),29),t||jd),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:xHe(this,u(t,241));return}Bs(this,n-Un((nn(),jd)),cn((i=u(Mn(this,16),29),i||jd),n),t)},s.fi=function(){return nn(),jd},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return;case 1:xHe(this,null);return}Rs(this,n-Un((nn(),jd)),cn((t=u(Mn(this,16),29),t||jd),n))};var z8,lge,Pln;g(yn,"EFactoryImpl",710),w(1019,710,{109:1,2078:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},L6e),s.oi=function(n,t){switch(n.fk()){case 12:return u(t,147).Og();case 13:return Oc(t);default:throw I(new xn(e5+n.ve()+Ob))}},s.pi=function(n){var t,i,r,c,o,f,l,h;switch(n.G==-1&&(n.G=(t=ds(n),t?Ka(t.si(),n):-1)),n.G){case 4:return o=new KK,o;case 6:return f=new u6,f;case 7:return l=new zW,l;case 8:return r=new U$,r;case 9:return i=new sA,i;case 10:return c=new fA,c;case 11:return h=new _6e,h;default:throw I(new xn(gH+n.zb+Ob))}},s.qi=function(n,t){switch(n.fk()){case 13:case 12:return null;default:throw I(new xn(e5+n.ve()+Ob))}},g(a0,"ElkGraphFactoryImpl",1019),w(439,161,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),s.Dh=function(){var n,t;return t=(n=u(Mn(this,16),29),BZ(rh(n||this.fi()))),t==null?(v6(),v6(),JX):new DSe(this,t)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.ve()}return $s(this,n-Un(this.fi()),cn((r=u(Mn(this,16),29),r||this.fi()),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return Ns(this,n-Un(this.fi()),cn((t=u(Mn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:this.ri(dt(t));return}Bs(this,n-Un(this.fi()),cn((i=u(Mn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return nn(),Wln},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return;case 1:this.ri(null);return}Rs(this,n-Un(this.fi()),cn((t=u(Mn(this,16),29),t||this.fi()),n))},s.ve=function(){return this.zb},s.ri=function(n){Ru(this,n)},s.Ib=function(){return Ey(this)},s.zb=null,g(yn,"ENamedElementImpl",439),w(184,439,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},lNe),s.xh=function(n){return DGe(this,n)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new xw(this,bl,this)),this.rb;case 6:return!this.vb&&(this.vb=new gm(dl,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?u(this.Cb,241):null:qNe(this)}return $s(this,n-Un((nn(),w1)),cn((r=u(Mn(this,16),29),r||w1),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Bu(this.Ab,n,i);case 4:return this.sb&&(i=u(this.sb,52).Qh(this,1,q8,i)),ate(this,u(n,469),i);case 5:return!this.rb&&(this.rb=new xw(this,bl,this)),Bu(this.rb,n,i);case 6:return!this.vb&&(this.vb=new gm(dl,this,6,7)),Bu(this.vb,n,i);case 7:return this.Cb&&(i=(c=this.Db>>16,c>=0?DGe(this,i):this.Cb.Qh(this,-1-c,null,i))),ms(this,n,7,i)}return o=u(cn((r=u(Mn(this,16),29),r||(nn(),w1)),t),69),o.uk().xk(this,Uu(this),t-Un((nn(),w1)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Wr(this.Ab,n,i);case 4:return ate(this,null,i);case 5:return!this.rb&&(this.rb=new xw(this,bl,this)),Wr(this.rb,n,i);case 6:return!this.vb&&(this.vb=new gm(dl,this,6,7)),Wr(this.vb,n,i);case 7:return ms(this,null,7,i)}return c=u(cn((r=u(Mn(this,16),29),r||(nn(),w1)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),w1)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!qNe(this)}return Ns(this,n-Un((nn(),w1)),cn((t=u(Mn(this,16),29),t||w1),n))},s.Wh=function(n){var t;return t=lPn(this,n),t||eue(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:Ru(this,dt(t));return;case 2:pT(this,dt(t));return;case 3:gT(this,dt(t));return;case 4:lB(this,u(t,469));return;case 5:!this.rb&&(this.rb=new xw(this,bl,this)),nt(this.rb),!this.rb&&(this.rb=new xw(this,bl,this)),Ii(this.rb,u(t,18));return;case 6:!this.vb&&(this.vb=new gm(dl,this,6,7)),nt(this.vb),!this.vb&&(this.vb=new gm(dl,this,6,7)),Ii(this.vb,u(t,18));return}Bs(this,n-Un((nn(),w1)),cn((i=u(Mn(this,16),29),i||w1),n),t)},s.bi=function(n){var t,i;if(n&&this.rb)for(i=new Rn(this.rb);i.e!=i.i.gc();)t=Jn(i),F(t,360)&&(u(t,360).w=null);Gm(this,64,n)},s.fi=function(){return nn(),w1},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return;case 1:Ru(this,null);return;case 2:pT(this,null);return;case 3:gT(this,null);return;case 4:lB(this,null);return;case 5:!this.rb&&(this.rb=new xw(this,bl,this)),nt(this.rb);return;case 6:!this.vb&&(this.vb=new gm(dl,this,6,7)),nt(this.vb);return}Rs(this,n-Un((nn(),w1)),cn((t=u(Mn(this,16),29),t||w1),n))},s.mi=function(){KR(this)},s.si=function(){return!this.rb&&(this.rb=new xw(this,bl,this)),this.rb},s.ti=function(){return this.sb},s.ui=function(){return this.ub},s.vi=function(){return this.xb},s.wi=function(){return this.yb},s.xi=function(n){this.ub=n},s.Ib=function(){var n;return(this.Db&64)!=0?Ey(this):(n=new ef(Ey(this)),n.a+=" (nsURI: ",ac(n,this.yb),n.a+=", nsPrefix: ",ac(n,this.xb),n.a+=")",n.a)},s.xb=null,s.yb=null,g(yn,"EPackageImpl",184),w(556,184,{109:1,2080:1,556:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},tze),s.q=!1,s.r=!1;var Oln=!1;g(a0,"ElkGraphPackageImpl",556),w(362,728,{109:1,343:1,174:1,157:1,276:1,362:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},KK),s.xh=function(n){return wie(this,n)},s.Ih=function(n,t,i){switch(n){case 7:return zZ(this);case 8:return this.a}return Cte(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 7:return this.Cb&&(i=(r=this.Db>>16,r>=0?wie(this,i):this.Cb.Qh(this,-1-r,null,i))),QY(this,u(n,174),i)}return cB(this,n,t,i)},s.Rh=function(n,t,i){return t==7?QY(this,null,i):GF(this,n,t,i)},s.Th=function(n){switch(n){case 7:return!!zZ(this);case 8:return!We("",this.a)}return Nte(this,n)},s.$h=function(n,t){switch(n){case 7:Yre(this,u(t,174));return;case 8:gne(this,dt(t));return}Tie(this,n,t)},s.fi=function(){return su(),oge},s.hi=function(n){switch(n){case 7:Yre(this,null);return;case 8:gne(this,"");return}_te(this,n)},s.Ib=function(){return HHe(this)},s.a="",g(a0,"ElkLabelImpl",362),w(206,729,{109:1,343:1,84:1,174:1,26:1,276:1,206:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},u6),s.xh=function(n){return vie(this,n)},s.Ih=function(n,t,i){switch(n){case 9:return!this.c&&(this.c=new se(Wo,this,9,9)),this.c;case 10:return!this.a&&(this.a=new se(mt,this,10,11)),this.a;case 11:return pi(this);case 12:return!this.b&&(this.b=new se(Xi,this,12,3)),this.b;case 13:return gn(),!this.a&&(this.a=new se(mt,this,10,11)),this.a.i>0}return iie(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 9:return!this.c&&(this.c=new se(Wo,this,9,9)),Bu(this.c,n,i);case 10:return!this.a&&(this.a=new se(mt,this,10,11)),Bu(this.a,n,i);case 11:return this.Cb&&(i=(r=this.Db>>16,r>=0?vie(this,i):this.Cb.Qh(this,-1-r,null,i))),fY(this,u(n,26),i);case 12:return!this.b&&(this.b=new se(Xi,this,12,3)),Bu(this.b,n,i)}return kie(this,n,t,i)},s.Rh=function(n,t,i){switch(t){case 9:return!this.c&&(this.c=new se(Wo,this,9,9)),Wr(this.c,n,i);case 10:return!this.a&&(this.a=new se(mt,this,10,11)),Wr(this.a,n,i);case 11:return fY(this,null,i);case 12:return!this.b&&(this.b=new se(Xi,this,12,3)),Wr(this.b,n,i)}return Eie(this,n,t,i)},s.Th=function(n){switch(n){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!pi(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new se(mt,this,10,11)),this.a.i>0}return Une(this,n)},s.$h=function(n,t){switch(n){case 9:!this.c&&(this.c=new se(Wo,this,9,9)),nt(this.c),!this.c&&(this.c=new se(Wo,this,9,9)),Ii(this.c,u(t,18));return;case 10:!this.a&&(this.a=new se(mt,this,10,11)),nt(this.a),!this.a&&(this.a=new se(mt,this,10,11)),Ii(this.a,u(t,18));return;case 11:ES(this,u(t,26));return;case 12:!this.b&&(this.b=new se(Xi,this,12,3)),nt(this.b),!this.b&&(this.b=new se(Xi,this,12,3)),Ii(this.b,u(t,18));return}Dre(this,n,t)},s.fi=function(){return su(),sge},s.hi=function(n){switch(n){case 9:!this.c&&(this.c=new se(Wo,this,9,9)),nt(this.c);return;case 10:!this.a&&(this.a=new se(mt,this,10,11)),nt(this.a);return;case 11:ES(this,null);return;case 12:!this.b&&(this.b=new se(Xi,this,12,3)),nt(this.b);return}Yte(this,n)},s.Ib=function(){return bce(this)},g(a0,"ElkNodeImpl",206),w(193,729,{109:1,343:1,84:1,174:1,125:1,276:1,193:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},zW),s.xh=function(n){return gie(this,n)},s.Ih=function(n,t,i){return n==9?ml(this):iie(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 9:return this.Cb&&(i=(r=this.Db>>16,r>=0?gie(this,i):this.Cb.Qh(this,-1-r,null,i))),eY(this,u(n,26),i)}return kie(this,n,t,i)},s.Rh=function(n,t,i){return t==9?eY(this,null,i):Eie(this,n,t,i)},s.Th=function(n){return n==9?!!ml(this):Une(this,n)},s.$h=function(n,t){switch(n){case 9:Xre(this,u(t,26));return}Dre(this,n,t)},s.fi=function(){return su(),fge},s.hi=function(n){switch(n){case 9:Xre(this,null);return}Yte(this,n)},s.Ib=function(){return $Ue(this)},g(a0,"ElkPortImpl",193);var Nln=yi(Vr,"BasicEMap/Entry");w(1092,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,117:1,118:1},_6e),s.Fb=function(n){return this===n},s.jd=function(){return this.b},s.Hb=function(){return K0(this)},s.Ai=function(n){pne(this,u(n,147))},s.Ih=function(n,t,i){switch(n){case 0:return this.b;case 1:return this.c}return WT(this,n,t,i)},s.Th=function(n){switch(n){case 0:return!!this.b;case 1:return this.c!=null}return IR(this,n)},s.$h=function(n,t){switch(n){case 0:pne(this,u(t,147));return;case 1:dne(this,t);return}gB(this,n,t)},s.fi=function(){return su(),Gh},s.hi=function(n){switch(n){case 0:pne(this,null);return;case 1:dne(this,null);return}dB(this,n)},s.yi=function(){var n;return this.a==-1&&(n=this.b,this.a=n?si(n):0),this.a},s.kd=function(){return this.c},s.zi=function(n){this.a=n},s.ld=function(n){var t;return t=this.c,dne(this,n),t},s.Ib=function(){var n;return(this.Db&64)!=0?Of(this):(n=new k1,xt(xt(xt(n,this.b?this.b.Og():co),QJ),R6(this.c)),n.a)},s.a=-1,s.c=null;var h1=g(a0,"ElkPropertyToValueMapEntryImpl",1092);w(981,1,{},F6e),g(Ir,"JsonAdapter",981),w(215,63,aa,Ul),g(Ir,"JsonImportException",215),w(851,1,{},Qqe),g(Ir,"JsonImporter",851),w(885,1,{},SCe),s.Bi=function(n){zGe(this.a,this.b,u(n,139))},g(Ir,"JsonImporter/lambda$0$Type",885),w(886,1,{},ICe),s.Bi=function(n){Tqe(this.a,this.b,u(n,139))},g(Ir,"JsonImporter/lambda$1$Type",886),w(894,1,{},uje),s.Bi=function(n){JOe(this.a,u(n,149))},g(Ir,"JsonImporter/lambda$10$Type",894),w(896,1,{},PCe),s.Bi=function(n){wqe(this.a,this.b,u(n,139))},g(Ir,"JsonImporter/lambda$11$Type",896),w(897,1,{},OCe),s.Bi=function(n){gqe(this.a,this.b,u(n,139))},g(Ir,"JsonImporter/lambda$12$Type",897),w(903,1,{},QOe),s.Bi=function(n){RHe(this.a,this.b,this.c,this.d,u(n,139))},g(Ir,"JsonImporter/lambda$13$Type",903),w(902,1,{},YOe),s.Bi=function(n){nXe(this.a,this.b,this.c,this.d,u(n,149))},g(Ir,"JsonImporter/lambda$14$Type",902),w(898,1,{},NCe),s.Bi=function(n){dIe(this.a,this.b,dt(n))},g(Ir,"JsonImporter/lambda$15$Type",898),w(899,1,{},$Ce),s.Bi=function(n){bIe(this.a,this.b,dt(n))},g(Ir,"JsonImporter/lambda$16$Type",899),w(900,1,{},DCe),s.Bi=function(n){MGe(this.b,this.a,u(n,139))},g(Ir,"JsonImporter/lambda$17$Type",900),w(901,1,{},LCe),s.Bi=function(n){CGe(this.b,this.a,u(n,139))},g(Ir,"JsonImporter/lambda$18$Type",901),w(906,1,{},oje),s.Bi=function(n){IHe(this.a,u(n,149))},g(Ir,"JsonImporter/lambda$19$Type",906),w(887,1,{},sje),s.Bi=function(n){FGe(this.a,u(n,139))},g(Ir,"JsonImporter/lambda$2$Type",887),w(904,1,{},fje),s.Bi=function(n){$2(this.a,q(K(n)))},g(Ir,"JsonImporter/lambda$20$Type",904),w(905,1,{},lje),s.Bi=function(n){D2(this.a,q(K(n)))},g(Ir,"JsonImporter/lambda$21$Type",905),w(909,1,{},hje),s.Bi=function(n){SHe(this.a,u(n,149))},g(Ir,"JsonImporter/lambda$22$Type",909),w(907,1,{},aje),s.Bi=function(n){O2(this.a,q(K(n)))},g(Ir,"JsonImporter/lambda$23$Type",907),w(908,1,{},dje),s.Bi=function(n){N2(this.a,q(K(n)))},g(Ir,"JsonImporter/lambda$24$Type",908),w(911,1,{},bje),s.Bi=function(n){tHe(this.a,u(n,139))},g(Ir,"JsonImporter/lambda$25$Type",911),w(910,1,{},wje),s.Bi=function(n){GOe(this.a,u(n,149))},g(Ir,"JsonImporter/lambda$26$Type",910),w(912,1,_n,_Ce),s.Ad=function(n){f9n(this.b,this.a,dt(n))},g(Ir,"JsonImporter/lambda$27$Type",912),w(913,1,_n,FCe),s.Ad=function(n){l9n(this.b,this.a,dt(n))},g(Ir,"JsonImporter/lambda$28$Type",913),w(914,1,{},RCe),s.Bi=function(n){lze(this.a,this.b,u(n,139))},g(Ir,"JsonImporter/lambda$29$Type",914),w(890,1,{},gje),s.Bi=function(n){eJe(this.a,u(n,149))},g(Ir,"JsonImporter/lambda$3$Type",890),w(915,1,{},BCe),s.Bi=function(n){Oze(this.a,this.b,u(n,139))},g(Ir,"JsonImporter/lambda$30$Type",915),w(916,1,{},pje),s.Bi=function(n){y_e(this.a,K(n))},g(Ir,"JsonImporter/lambda$31$Type",916),w(917,1,{},mje),s.Bi=function(n){j_e(this.a,K(n))},g(Ir,"JsonImporter/lambda$32$Type",917),w(918,1,{},vje),s.Bi=function(n){k_e(this.a,K(n))},g(Ir,"JsonImporter/lambda$33$Type",918),w(919,1,{},yje),s.Bi=function(n){E_e(this.a,K(n))},g(Ir,"JsonImporter/lambda$34$Type",919),w(920,1,{},kje),s.Bi=function(n){oCn(this.a,u(n,57))},g(Ir,"JsonImporter/lambda$35$Type",920),w(921,1,{},Eje),s.Bi=function(n){sCn(this.a,u(n,57))},g(Ir,"JsonImporter/lambda$36$Type",921),w(925,1,{},VOe),g(Ir,"JsonImporter/lambda$37$Type",925),w(922,1,_n,BIe),s.Ad=function(n){_8n(this.a,this.c,this.b,u(n,372))},g(Ir,"JsonImporter/lambda$38$Type",922),w(923,1,_n,JCe),s.Ad=function(n){Ewn(this.a,this.b,u(n,170))},g(Ir,"JsonImporter/lambda$39$Type",923),w(888,1,{},jje),s.Bi=function(n){$2(this.a,q(K(n)))},g(Ir,"JsonImporter/lambda$4$Type",888),w(924,1,_n,GCe),s.Ad=function(n){jwn(this.a,this.b,u(n,170))},g(Ir,"JsonImporter/lambda$40$Type",924),w(926,1,_n,JIe),s.Ad=function(n){F8n(this.a,this.b,this.c,u(n,8))},g(Ir,"JsonImporter/lambda$41$Type",926),w(889,1,{},xje),s.Bi=function(n){D2(this.a,q(K(n)))},g(Ir,"JsonImporter/lambda$5$Type",889),w(893,1,{},Aje),s.Bi=function(n){nJe(this.a,u(n,149))},g(Ir,"JsonImporter/lambda$6$Type",893),w(891,1,{},Mje),s.Bi=function(n){O2(this.a,q(K(n)))},g(Ir,"JsonImporter/lambda$7$Type",891),w(892,1,{},Cje),s.Bi=function(n){N2(this.a,q(K(n)))},g(Ir,"JsonImporter/lambda$8$Type",892),w(895,1,{},Tje),s.Bi=function(n){iHe(this.a,u(n,139))},g(Ir,"JsonImporter/lambda$9$Type",895),w(945,1,_n,Sje),s.Ad=function(n){xm(this.a,new Mw(dt(n)))},g(Ir,"JsonMetaDataConverter/lambda$0$Type",945),w(946,1,_n,Ije),s.Ad=function(n){pvn(this.a,u(n,244))},g(Ir,"JsonMetaDataConverter/lambda$1$Type",946),w(947,1,_n,Pje),s.Ad=function(n){l5n(this.a,u(n,144))},g(Ir,"JsonMetaDataConverter/lambda$2$Type",947),w(948,1,_n,Oje),s.Ad=function(n){mvn(this.a,u(n,160))},g(Ir,"JsonMetaDataConverter/lambda$3$Type",948),w(244,24,{3:1,35:1,24:1,244:1},fm);var rN,cN,$X,uN,oN,sN,DX,LX,fN=et(ZE,"GraphFeature",244,ut,G9n,Vmn),$ln;w(11,1,{35:1,147:1},Vt,ai,qe,Tr),s.Dd=function(n){return xgn(this,u(n,147))},s.Fb=function(n){return ENe(this,n)},s.Rg=function(){return Ae(this)},s.Og=function(){return this.b},s.Hb=function(){return Ha(this.b)},s.Ib=function(){return this.b},g(ZE,"Property",11),w(657,1,Mt,oD),s.Le=function(n,t){return tEn(this,u(n,105),u(t,105))},s.Fb=function(n){return this===n},s.Me=function(){return new yt(this)},g(ZE,"PropertyHolderComparator",657),w(698,1,Er,IW),s.Nb=function(n){Or(this,n)},s.Pb=function(){return a9n(this)},s.Qb=function(){CAe()},s.Ob=function(){return!!this.a},g(OI,"ElkGraphUtil/AncestorIterator",698);var hge=yi(Vr,"EList");w(71,56,{20:1,31:1,56:1,18:1,16:1,71:1,61:1}),s._c=function(n,t){Ay(this,n,t)},s.Ec=function(n){return it(this,n)},s.ad=function(n,t){return Fne(this,n,t)},s.Fc=function(n){return Ii(this,n)},s.Gi=function(){return new wm(this)},s.Hi=function(){return new e7(this)},s.Ii=function(n){return q7(this,n)},s.Ji=function(){return!0},s.Ki=function(n,t){},s.Li=function(){},s.Mi=function(n,t){fF(this,n,t)},s.Ni=function(n,t,i){},s.Oi=function(n,t){},s.Pi=function(n,t,i){},s.Fb=function(n){return pUe(this,n)},s.Hb=function(){return $ne(this)},s.Qi=function(){return!1},s.Jc=function(){return new Rn(this)},s.cd=function(){return new bm(this)},s.dd=function(n){var t;if(t=this.gc(),n<0||n>t)throw I(new yw(n,t));return new g_(this,n)},s.Si=function(n,t){this.Ri(n,this.bd(t))},s.Kc=function(n){return QC(this,n)},s.Ui=function(n,t){return t},s.fd=function(n,t){return J2(this,n,t)},s.Ib=function(){return Pte(this)},s.Wi=function(){return!0},s.Xi=function(n,t){return Yv(this,t)},g(Vr,"AbstractEList",71),w(67,71,ah,lA,ub,Cne),s.Ci=function(n,t){return uB(this,n,t)},s.Di=function(n){return oGe(this,n)},s.Ei=function(n,t){iE(this,n,t)},s.Fi=function(n){T7(this,n)},s.Yi=function(n){return Jee(this,n)},s.$b=function(){oy(this)},s.Gc=function(n){return b4(this,n)},s.Xb=function(n){return R(this,n)},s.Zi=function(n){var t,i,r;++this.j,i=this.g==null?0:this.g.length,n>i&&(r=this.g,t=i+(i/2|0)+4,t<n&&(t=n),this.g=this.$i(t),r!=null&&pu(r,0,this.g,0,this.i))},s.bd=function(n){return IGe(this,n)},s.dc=function(){return this.i==0},s.Ri=function(n,t){return vB(this,n,t)},s.$i=function(n){return ee(ir,ln,1,n,5,1)},s.Ti=function(n){return this.g[n]},s.ed=function(n){return zm(this,n)},s.Vi=function(n,t){return vF(this,n,t)},s.gc=function(){return this.i},s.Nc=function(){return lee(this)},s.Oc=function(n){return Fte(this,n)},s.i=0;var age=g(Vr,"BasicEList",67),dge=yi(Vr,"TreeIterator");w(697,67,CH),s.Nb=function(n){Or(this,n)},s.Ob=function(){return this.g==null&&!this.c?qZ(this):this.g==null||this.i!=0&&u(this.g[this.i-1],50).Ob()},s.Pb=function(){return mS(this)},s.Qb=function(){if(!this.e)throw I(new gc("There is no valid object to remove."));this.e.Qb()},s.c=!1,g(Vr,"AbstractTreeIterator",697),w(605,697,CH,EL),s._i=function(n){var t;return t=u(n,57).Dh().Jc(),F(t,287)&&u(t,287).ul(new R6e),t},g(OI,"ElkGraphUtil/PropertiesSkippingTreeIterator",605),w(949,1,{},R6e),g(OI,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",949);var Ix,_X,Px=g(OI,"ElkReflect",null);w(883,1,dg,B6e),s.Qg=function(n){return MC(),W5n(u(n,182))},g(OI,"ElkReflect/lambda$0$Type",883);var P0;yi(Vr,"ResourceLocator"),w(1046,1,{}),g(Vr,"DelegatingResourceLocator",1046),w(1047,1046,{}),g("org.eclipse.emf.common","EMFPlugin",1047);var FX=yi(FYe,"Adapter"),ARn=yi(FYe,"Notification");w(1144,1,Mfe),s.aj=function(){return this.d},s.bj=function(n){},s.cj=function(n){this.d=n},s.dj=function(n){this.d==n&&(this.d=null)},s.d=null,g(h3,"AdapterImpl",1144),w(2058,71,RYe),s.Ci=function(n,t){return Dte(this,n,t)},s.Di=function(n){var t,i,r;if(++this.j,n.dc())return!1;for(t=this.Cj(),r=n.Jc();r.Ob();)i=r.Pb(),this.pj(this.Xi(t,i)),++t;return!0},s.Ei=function(n,t){KSe(this,n,t)},s.Fi=function(n){yOe(this,n)},s.nj=function(){return this.qj()},s.$b=function(){i7(this,this.Cj(),this.Dj())},s.Gc=function(n){return this.sj(n)},s.Hc=function(n){return this.tj(n)},s.oj=function(n,t){this.zj().Sm()},s.pj=function(n){this.zj().Sm()},s.qj=function(){return this.zj()},s.rj=function(){this.zj().Sm()},s.sj=function(n){return this.zj().Sm()},s.tj=function(n){return this.zj().Sm()},s.uj=function(n){return this.zj().Sm()},s.vj=function(n){return this.zj().Sm()},s.wj=function(){return this.zj().Sm()},s.xj=function(n){return this.zj().Sm()},s.yj=function(){return this.zj().Sm()},s.Aj=function(n){return this.zj().Sm()},s.Bj=function(n,t){return this.zj().Sm()},s.Cj=function(){return this.zj().Sm()},s.Dj=function(){return this.zj().Sm()},s.Ej=function(n){return this.zj().Sm()},s.Fj=function(){return this.zj().Sm()},s.Fb=function(n){return this.uj(n)},s.Xb=function(n){return this.Ui(n,this.vj(n))},s.Hb=function(){return this.wj()},s.bd=function(n){return this.xj(n)},s.dc=function(){return this.yj()},s.Ri=function(n,t){return Kie(this,n,t)},s.Ti=function(n){return this.vj(n)},s.ed=function(n){return qM(this,n)},s.Kc=function(n){var t;return t=this.bd(n),t>=0?(this.ed(t),!0):!1},s.Vi=function(n,t){return this.Bj(n,this.Xi(n,t))},s.gc=function(){return this.Cj()},s.Nc=function(){return this.Dj()},s.Oc=function(n){return this.Ej(n)},s.Ib=function(){return this.Fj()},g(Vr,"DelegatingEList",2058),w(2059,2058,RYe),s.Ci=function(n,t){return Tce(this,n,t)},s.Di=function(n){return this.Ci(this.Cj(),n)},s.Ei=function(n,t){ize(this,n,t)},s.Fi=function(n){Uqe(this,n)},s.Ji=function(){return!this.Kj()},s.$b=function(){e9(this)},s.Gj=function(n,t,i,r,c){return new yNe(this,n,t,i,r,c)},s.Hj=function(n){Gt(this.hj(),n)},s.Ij=function(){return null},s.Jj=function(){return-1},s.hj=function(){return null},s.Kj=function(){return!1},s.Lj=function(n,t){return t},s.Mj=function(n,t){return t},s.Nj=function(){return!1},s.Oj=function(){return!this.yj()},s.Ri=function(n,t){var i,r;return this.Nj()?(r=this.Oj(),i=Kie(this,n,t),this.Hj(this.Gj(7,le(t),i,n,r)),i):Kie(this,n,t)},s.ed=function(n){var t,i,r,c;return this.Nj()?(i=null,r=this.Oj(),t=this.Gj(4,c=qM(this,n),null,n,r),this.Kj()&&c?(i=this.Mj(c,i),i?(i.lj(t),i.mj()):this.Hj(t)):i?(i.lj(t),i.mj()):this.Hj(t),c):(c=qM(this,n),this.Kj()&&c&&(i=this.Mj(c,null),i&&i.mj()),c)},s.Vi=function(n,t){return dXe(this,n,t)},g(h3,"DelegatingNotifyingListImpl",2059),w(151,1,gj),s.lj=function(n){return Nie(this,n)},s.mj=function(){wF(this)},s.ej=function(){return this.d},s.Ij=function(){return null},s.Pj=function(){return null},s.fj=function(n){return-1},s.gj=function(){return Yze(this)},s.hj=function(){return null},s.ij=function(){return ice(this)},s.jj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},s.Qj=function(){return!1},s.kj=function(n){var t,i,r,c,o,f,l,h,a,b,p;switch(this.d){case 1:case 2:switch(c=n.ej(),c){case 1:case 2:if(o=n.hj(),Z(o)===Z(this.hj())&&this.fj(null)==n.fj(null))return this.g=n.gj(),n.ej()==1&&(this.d=1),!0}case 4:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),Z(o)===Z(this.hj())&&this.fj(null)==n.fj(null))return a=Uce(this),h=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,f=n.jj(),this.d=6,p=new ub(2),h<=f?(it(p,this.n),it(p,n.ij()),this.g=$(N(bt,1),Pt,30,15,[this.o=h,f+1])):(it(p,n.ij()),it(p,this.n),this.g=$(N(bt,1),Pt,30,15,[this.o=f,h])),this.n=p,a||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),Z(o)===Z(this.hj())&&this.fj(null)==n.fj(null)){for(a=Uce(this),f=n.jj(),b=u(this.g,54),r=ee(bt,Pt,30,b.length+1,15,1),t=0;t<b.length&&(l=b[t],l<=f);)r[t++]=l,++f;for(i=u(this.n,16),i._c(t,n.ij()),r[t]=f;++t<r.length;)r[t]=b[t-1];return this.g=r,a||(this.o=-2-r[0]),!0}break}}break}}return!1},s.Ib=function(){var n,t,i,r;switch(r=new ef(Od(this.Pm)+"@"+(t=si(this)>>>0,t.toString(16))),r.a+=" (eventType: ",this.d){case 1:{r.a+="SET";break}case 2:{r.a+="UNSET";break}case 3:{r.a+="ADD";break}case 5:{r.a+="ADD_MANY";break}case 4:{r.a+="REMOVE";break}case 6:{r.a+="REMOVE_MANY";break}case 7:{r.a+="MOVE";break}case 8:{r.a+="REMOVING_ADAPTER";break}case 9:{r.a+="RESOLVE";break}default:{SD(r,this.d);break}}if(BUe(this)&&(r.a+=", touch: true"),r.a+=", position: ",SD(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=", notifier: ",N6(r,this.hj()),r.a+=", feature: ",N6(r,this.Ij()),r.a+=", oldValue: ",N6(r,ice(this)),r.a+=", newValue: ",this.d==6&&F(this.g,54)){for(i=u(this.g,54),r.a+="[",n=0;n<i.length;)r.a+=i[n],++n<i.length&&(r.a+=Ju);r.a+="]"}else N6(r,Yze(this));return r.a+=", isTouch: ",Pa(r,BUe(this)),r.a+=", wasSet: ",Pa(r,Uce(this)),r.a+=")",r.a},s.d=0,s.e=0,s.f=0,s.j=0,s.k=0,s.o=0,s.p=0,g(h3,"NotificationImpl",151),w(1158,151,gj,yNe),s.Ij=function(){return this.a.Ij()},s.fj=function(n){return this.a.Jj()},s.hj=function(){return this.a.hj()},g(h3,"DelegatingNotifyingListImpl/1",1158),w(252,67,ah,J6e,E1),s.Ec=function(n){return ZBe(this,u(n,373))},s.lj=function(n){return ZBe(this,n)},s.mj=function(){var n,t,i;for(n=0;n<this.i;++n)t=u(this.g[n],373),i=t.hj(),i!=null&&t.ej()!=-1&&u(i,94).uh(t)},s.$i=function(n){return ee(ARn,ln,373,n,0,1)},g(h3,"NotificationChainImpl",252),w(1486,93,VQe),s.rh=function(){return this.e},s.th=function(){return(this.f&1)!=0},s.f=1,g(h3,"NotifierImpl",1486),w(2056,67,ah),s.Ci=function(n,t){return RB(this,n,t)},s.Di=function(n){return this.Ci(this.i,n)},s.Ei=function(n,t){Mre(this,n,t)},s.Fi=function(n){yB(this,n)},s.Ji=function(){return!this.Kj()},s.$b=function(){nt(this)},s.Gj=function(n,t,i,r,c){return new kNe(this,n,t,i,r,c)},s.Hj=function(n){Gt(this.hj(),n)},s.Ij=function(){return null},s.Jj=function(){return-1},s.hj=function(){return null},s.Kj=function(){return!1},s.Rj=function(){return!1},s.Lj=function(n,t){return t},s.Mj=function(n,t){return t},s.Nj=function(){return!1},s.Oj=function(){return this.i!=0},s.Ri=function(n,t){return My(this,n,t)},s.ed=function(n){return Zw(this,n)},s.Vi=function(n,t){return PXe(this,n,t)},s.Sj=function(n,t){return t},s.Tj=function(n,t){return t},s.Uj=function(n,t,i){return i},g(h3,"NotifyingListImpl",2056),w(1157,151,gj,kNe),s.Ij=function(){return this.a.Ij()},s.fj=function(n){return this.a.Jj()},s.hj=function(){return this.a.hj()},g(h3,"NotifyingListImpl/1",1157),w(950,67,ah,VSe),s.Gc=function(n){return this.i>10?((!this.b||this.c.j!=this.a)&&(this.b=new kw(this),this.a=this.j),Zs(this.b,n)):b4(this,n)},s.Wi=function(){return!0},s.a=0,g(Vr,"AbstractEList/1",950),w(306,99,US,yw),g(Vr,"AbstractEList/BasicIndexOutOfBoundsException",306),w(42,1,Er,Rn),s.Nb=function(n){Or(this,n)},s.Vj=function(){if(this.i.j!=this.f)throw I(new Ss)},s.Wj=function(){return Jn(this)},s.Ob=function(){return this.e!=this.i.gc()},s.Pb=function(){return this.Wj()},s.Qb=function(){Ly(this)},s.e=0,s.f=0,s.g=-1,g(Vr,"AbstractEList/EIterator",42),w(286,42,Th,bm,g_),s.Qb=function(){Ly(this)},s.Rb=function(n){fJe(this,n)},s.Xj=function(){var n;try{return n=this.d.Xb(--this.e),this.Vj(),this.g=this.e,n}catch(t){throw t=_i(t),F(t,99)?(this.Vj(),I(new $c)):I(t)}},s.Yj=function(n){sGe(this,n)},s.Sb=function(){return this.e!=0},s.Tb=function(){return this.e},s.Ub=function(){return this.Xj()},s.Vb=function(){return this.e-1},s.Wb=function(n){this.Yj(n)},g(Vr,"AbstractEList/EListIterator",286),w(355,42,Er,wm),s.Wj=function(){return PR(this)},s.Qb=function(){throw I(new ht)},g(Vr,"AbstractEList/NonResolvingEIterator",355),w(391,286,Th,e7,pY),s.Rb=function(n){throw I(new ht)},s.Wj=function(){var n;try{return n=this.c.Ti(this.e),this.Vj(),this.g=this.e++,n}catch(t){throw t=_i(t),F(t,99)?(this.Vj(),I(new $c)):I(t)}},s.Xj=function(){var n;try{return n=this.c.Ti(--this.e),this.Vj(),this.g=this.e,n}catch(t){throw t=_i(t),F(t,99)?(this.Vj(),I(new $c)):I(t)}},s.Qb=function(){throw I(new ht)},s.Wb=function(n){throw I(new ht)},g(Vr,"AbstractEList/NonResolvingEListIterator",391),w(2045,71,BYe),s.Ci=function(n,t){var i,r,c,o,f,l,h,a,b,p,y;if(c=t.gc(),c!=0){for(a=u(Mn(this.a,4),129),b=a==null?0:a.length,y=b+c,r=nR(this,y),p=b-n,p>0&&pu(a,n,r,n+c,p),h=t.Jc(),f=0;f<c;++f)l=h.Pb(),i=n+f,xL(r,i,Yv(this,l));for(h4(this,r),o=0;o<c;++o)l=r[n],this.Ki(n,l),++n;return!0}else return++this.j,!1},s.Di=function(n){var t,i,r,c,o,f,l,h,a;if(r=n.gc(),r!=0){for(h=(i=u(Mn(this.a,4),129),i==null?0:i.length),a=h+r,t=nR(this,a),l=n.Jc(),o=h;o<a;++o)f=l.Pb(),xL(t,o,Yv(this,f));for(h4(this,t),c=h;c<a;++c)f=t[c],this.Ki(c,f);return!0}else return++this.j,!1},s.Ei=function(n,t){var i,r,c,o;r=u(Mn(this.a,4),129),c=r==null?0:r.length,i=nR(this,c+1),o=Yv(this,t),n!=c&&pu(r,n,i,n+1,c-n),Ni(i,n,o),h4(this,i),this.Ki(n,t)},s.Fi=function(n){var t,i,r;r=(i=u(Mn(this.a,4),129),i==null?0:i.length),t=nR(this,r+1),xL(t,r,Yv(this,n)),h4(this,t),this.Ki(r,n)},s.Gi=function(){return new zDe(this)},s.Hi=function(){return new eOe(this)},s.Ii=function(n){var t,i;if(i=(t=u(Mn(this.a,4),129),t==null?0:t.length),n<0||n>i)throw I(new yw(n,i));return new OOe(this,n)},s.$b=function(){var n,t;++this.j,n=u(Mn(this.a,4),129),t=n==null?0:n.length,h4(this,null),fF(this,t,n)},s.Gc=function(n){var t,i,r,c,o;if(t=u(Mn(this.a,4),129),t!=null){if(n!=null){for(r=t,c=0,o=r.length;c<o;++c)if(i=r[c],qt(n,i))return!0}else for(r=t,c=0,o=r.length;c<o;++c)if(i=r[c],Z(i)===Z(n))return!0}return!1},s.Xb=function(n){var t,i;if(t=u(Mn(this.a,4),129),i=t==null?0:t.length,n>=i)throw I(new yw(n,i));return t[n]},s.bd=function(n){var t,i,r;if(t=u(Mn(this.a,4),129),t!=null){if(n!=null){for(i=0,r=t.length;i<r;++i)if(qt(n,t[i]))return i}else for(i=0,r=t.length;i<r;++i)if(Z(t[i])===Z(n))return i}return-1},s.dc=function(){return u(Mn(this.a,4),129)==null},s.Jc=function(){return new qDe(this)},s.cd=function(){return new ZPe(this)},s.dd=function(n){var t,i;if(i=(t=u(Mn(this.a,4),129),t==null?0:t.length),n<0||n>i)throw I(new yw(n,i));return new POe(this,n)},s.Ri=function(n,t){var i,r,c;if(i=bJe(this),c=i==null?0:i.length,n>=c)throw I(new Lu(AH+n+d0+c));if(t>=c)throw I(new Lu(MH+t+d0+c));return r=i[t],n!=t&&(n<t?pu(i,n,i,n+1,t-n):pu(i,t+1,i,t,n-t),Ni(i,n,r),h4(this,i)),r},s.Ti=function(n){return u(Mn(this.a,4),129)[n]},s.ed=function(n){return lSn(this,n)},s.Vi=function(n,t){var i,r;return i=bJe(this),r=i[n],xL(i,n,Yv(this,t)),h4(this,i),r},s.gc=function(){var n;return n=u(Mn(this.a,4),129),n==null?0:n.length},s.Nc=function(){var n,t,i;return n=u(Mn(this.a,4),129),i=n==null?0:n.length,t=ee(FX,PH,415,i,0,1),i>0&&pu(n,0,t,0,i),t},s.Oc=function(n){var t,i,r;return t=u(Mn(this.a,4),129),r=t==null?0:t.length,r>0&&(n.length<r&&(i=H7(ns(n).c,r),n=i),pu(t,0,n,0,r)),n.length>r&&Ni(n,r,null),n};var Dln;g(Vr,"ArrayDelegatingEList",2045),w(1033,42,Er,qDe),s.Vj=function(){if(this.b.j!=this.f||Z(u(Mn(this.b.a,4),129))!==Z(this.a))throw I(new Ss)},s.Qb=function(){Ly(this),this.a=u(Mn(this.b.a,4),129)},g(Vr,"ArrayDelegatingEList/EIterator",1033),w(712,286,Th,ZPe,POe),s.Vj=function(){if(this.b.j!=this.f||Z(u(Mn(this.b.a,4),129))!==Z(this.a))throw I(new Ss)},s.Yj=function(n){sGe(this,n),this.a=u(Mn(this.b.a,4),129)},s.Qb=function(){Ly(this),this.a=u(Mn(this.b.a,4),129)},g(Vr,"ArrayDelegatingEList/EListIterator",712),w(1034,355,Er,zDe),s.Vj=function(){if(this.b.j!=this.f||Z(u(Mn(this.b.a,4),129))!==Z(this.a))throw I(new Ss)},g(Vr,"ArrayDelegatingEList/NonResolvingEIterator",1034),w(713,391,Th,eOe,OOe),s.Vj=function(){if(this.b.j!=this.f||Z(u(Mn(this.b.a,4),129))!==Z(this.a))throw I(new Ss)},g(Vr,"ArrayDelegatingEList/NonResolvingEListIterator",713),w(606,306,US,pL),g(Vr,"BasicEList/BasicIndexOutOfBoundsException",606),w(699,67,ah,rQ),s._c=function(n,t){throw I(new ht)},s.Ec=function(n){throw I(new ht)},s.ad=function(n,t){throw I(new ht)},s.Fc=function(n){throw I(new ht)},s.$b=function(){throw I(new ht)},s.Zi=function(n){throw I(new ht)},s.Jc=function(){return this.Gi()},s.cd=function(){return this.Hi()},s.dd=function(n){return this.Ii(n)},s.Ri=function(n,t){throw I(new ht)},s.Si=function(n,t){throw I(new ht)},s.ed=function(n){throw I(new ht)},s.Kc=function(n){throw I(new ht)},s.fd=function(n,t){throw I(new ht)},g(Vr,"BasicEList/UnmodifiableEList",699),w(711,1,{3:1,20:1,18:1,16:1,61:1,587:1}),s._c=function(n,t){dgn(this,n,u(t,45))},s.Ec=function(n){return i2n(this,u(n,45))},s.Ic=function(n){Lr(this,n)},s.Xb=function(n){return u(R(this.c,n),136)},s.Ri=function(n,t){return u(this.c.Ri(n,t),45)},s.Si=function(n,t){bgn(this,n,u(t,45))},s.ed=function(n){return u(this.c.ed(n),45)},s.fd=function(n,t){return wvn(this,n,u(t,45))},s.gd=function(n){Wd(this,n)},s.Lc=function(){return new Ze(this,16)},s.Mc=function(){return new Ve(null,new Ze(this,16))},s.ad=function(n,t){return this.c.ad(n,t)},s.Fc=function(n){return this.c.Fc(n)},s.$b=function(){this.c.$b()},s.Gc=function(n){return this.c.Gc(n)},s.Hc=function(n){return Y7(this.c,n)},s.Zj=function(){var n,t,i;if(this.d==null){for(this.d=ee(age,Cfe,67,2*this.f+1,0,1),i=this.e,this.f=0,t=this.c.Jc();t.e!=t.i.gc();)n=u(t.Wj(),136),YT(this,n);this.e=i}},s.Fb=function(n){return SIe(this,n)},s.Hb=function(){return $ne(this.c)},s.bd=function(n){return this.c.bd(n)},s.$j=function(){this.c=new $je(this)},s.dc=function(){return this.f==0},s.Jc=function(){return this.c.Jc()},s.cd=function(){return this.c.cd()},s.dd=function(n){return this.c.dd(n)},s._j=function(){return P7(this)},s.ak=function(n,t,i){return new GIe(n,t,i)},s.bk=function(){return new H6e},s.Kc=function(n){return mFe(this,n)},s.gc=function(){return this.f},s.hd=function(n,t){return new O1(this.c,n,t)},s.Nc=function(){return this.c.Nc()},s.Oc=function(n){return this.c.Oc(n)},s.Ib=function(){return Pte(this.c)},s.e=0,s.f=0,g(Vr,"BasicEMap",711),w(1028,67,ah,$je),s.Ki=function(n,t){z0n(this,u(t,136))},s.Ni=function(n,t,i){var r;++(r=this,u(t,136),r).a.e},s.Oi=function(n,t){U0n(this,u(t,136))},s.Pi=function(n,t,i){Bgn(this,u(t,136),u(i,136))},s.Mi=function(n,t){sRe(this.a)},g(Vr,"BasicEMap/1",1028),w(1029,67,ah,H6e),s.$i=function(n){return ee(MRn,JYe,612,n,0,1)},g(Vr,"BasicEMap/2",1029),w(1030,Sl,Eo,Dje),s.$b=function(){this.a.c.$b()},s.Gc=function(n){return vR(this.a,n)},s.Jc=function(){return this.a.f==0?(yv(),Ox.a):new pAe(this.a)},s.Kc=function(n){var t;return t=this.a.f,GT(this.a,n),this.a.f!=t},s.gc=function(){return this.a.f},g(Vr,"BasicEMap/3",1030),w(1031,31,ig,Lje),s.$b=function(){this.a.c.$b()},s.Gc=function(n){return mUe(this.a,n)},s.Jc=function(){return this.a.f==0?(yv(),Ox.a):new mAe(this.a)},s.gc=function(){return this.a.f},g(Vr,"BasicEMap/4",1031),w(1032,Sl,Eo,_je),s.$b=function(){this.a.c.$b()},s.Gc=function(n){var t,i,r,c,o,f,l,h,a;if(this.a.f>0&&F(n,45)&&(this.a.Zj(),h=u(n,45),l=h.jd(),c=l==null?0:si(l),o=tY(this.a,c),t=this.a.d[o],t)){for(i=u(t.g,374),a=t.i,f=0;f<a;++f)if(r=i[f],r.yi()==c&&r.Fb(h))return!0}return!1},s.Jc=function(){return this.a.f==0?(yv(),Ox.a):new P_(this.a)},s.Kc=function(n){return sze(this,n)},s.gc=function(){return this.a.f},g(Vr,"BasicEMap/5",1032),w(613,1,Er,P_),s.Nb=function(n){Or(this,n)},s.Ob=function(){return this.b!=-1},s.Pb=function(){var n;if(this.f.e!=this.c)throw I(new Ss);if(this.b==-1)throw I(new $c);return this.d=this.a,this.e=this.b,HGe(this),n=u(this.f.d[this.d].g[this.e],136),this.ck(n)},s.Qb=function(){if(this.f.e!=this.c)throw I(new Ss);if(this.e==-1)throw I(new wo);this.f.c.Kc(R(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&this.b!=-1&&--this.b},s.ck=function(n){return n},s.a=0,s.b=-1,s.c=0,s.d=0,s.e=0,g(Vr,"BasicEMap/BasicEMapIterator",613),w(1026,613,Er,pAe),s.ck=function(n){return n.jd()},g(Vr,"BasicEMap/BasicEMapKeyIterator",1026),w(1027,613,Er,mAe),s.ck=function(n){return n.kd()},g(Vr,"BasicEMap/BasicEMapValueIterator",1027),w(1025,1,xb,Fje),s.wc=function(n){U7(this,n)},s.$b=function(){this.a.c.$b()},s._b=function(n){return YCe(this,n)},s.uc=function(n){return mUe(this.a,n)},s.vc=function(){return zyn(this.a)},s.Fb=function(n){return SIe(this.a,n)},s.xc=function(n){return rl(this.a,n)},s.Hb=function(){return $ne(this.a.c)},s.dc=function(){return this.a.f==0},s.ec=function(){return Uyn(this.a)},s.yc=function(n,t){return gE(this.a,n,t)},s.Ac=function(n){return GT(this.a,n)},s.gc=function(){return this.a.f},s.Ib=function(){return Pte(this.a.c)},s.Bc=function(){return Xyn(this.a)},g(Vr,"BasicEMap/DelegatingMap",1025),w(612,1,{45:1,136:1,612:1},GIe),s.Fb=function(n){var t;return F(n,45)?(t=u(n,45),(this.b!=null?qt(this.b,t.jd()):Z(this.b)===Z(t.jd()))&&(this.c!=null?qt(this.c,t.kd()):Z(this.c)===Z(t.kd()))):!1},s.yi=function(){return this.a},s.jd=function(){return this.b},s.kd=function(){return this.c},s.Hb=function(){return this.a^(this.c==null?0:si(this.c))},s.zi=function(n){this.a=n},s.Ai=function(n){throw I(new Id)},s.ld=function(n){var t;return t=this.c,this.c=n,t},s.Ib=function(){return this.b+"->"+this.c},s.a=0;var MRn=g(Vr,"BasicEMap/EntryImpl",612);w(535,1,{},hA),g(Vr,"BasicEMap/View",535);var Ox;w(770,1,{}),s.Fb=function(n){return Lre((tn(),Zr),n)},s.Hb=function(){return zne((tn(),Zr))},s.Ib=function(){return Cl((tn(),Zr))},g(Vr,"ECollections/BasicEmptyUnmodifiableEList",770),w(1303,1,Th,G6e),s.Nb=function(n){Or(this,n)},s.Rb=function(n){throw I(new ht)},s.Ob=function(){return!1},s.Sb=function(){return!1},s.Pb=function(){throw I(new $c)},s.Tb=function(){return 0},s.Ub=function(){throw I(new $c)},s.Vb=function(){return-1},s.Qb=function(){throw I(new ht)},s.Wb=function(n){throw I(new ht)},g(Vr,"ECollections/BasicEmptyUnmodifiableEList/1",1303),w(1301,770,{20:1,18:1,16:1,61:1},Mxe),s._c=function(n,t){GAe()},s.Ec=function(n){return JAe()},s.ad=function(n,t){return HAe()},s.Fc=function(n){return qAe()},s.$b=function(){zAe()},s.Gc=function(n){return!1},s.Hc=function(n){return!1},s.Ic=function(n){Lr(this,n)},s.Xb=function(n){return sQ((tn(),n)),null},s.bd=function(n){return-1},s.dc=function(){return!0},s.Jc=function(){return this.a},s.cd=function(){return this.a},s.dd=function(n){return this.a},s.Ri=function(n,t){return UAe()},s.Si=function(n,t){XAe()},s.ed=function(n){return KAe()},s.Kc=function(n){return WAe()},s.fd=function(n,t){return VAe()},s.gc=function(){return 0},s.gd=function(n){Wd(this,n)},s.Lc=function(){return new Ze(this,16)},s.Mc=function(){return new Ve(null,new Ze(this,16))},s.hd=function(n,t){return tn(),new O1(Zr,n,t)},s.Nc=function(){return nZ((tn(),Zr))},s.Oc=function(n){return tn(),Oy(Zr,n)},g(Vr,"ECollections/EmptyUnmodifiableEList",1301),w(1302,770,{20:1,18:1,16:1,61:1,587:1},Cxe),s._c=function(n,t){GAe()},s.Ec=function(n){return JAe()},s.ad=function(n,t){return HAe()},s.Fc=function(n){return qAe()},s.$b=function(){zAe()},s.Gc=function(n){return!1},s.Hc=function(n){return!1},s.Ic=function(n){Lr(this,n)},s.Xb=function(n){return sQ((tn(),n)),null},s.bd=function(n){return-1},s.dc=function(){return!0},s.Jc=function(){return this.a},s.cd=function(){return this.a},s.dd=function(n){return this.a},s.Ri=function(n,t){return UAe()},s.Si=function(n,t){XAe()},s.ed=function(n){return KAe()},s.Kc=function(n){return WAe()},s.fd=function(n,t){return VAe()},s.gc=function(){return 0},s.gd=function(n){Wd(this,n)},s.Lc=function(){return new Ze(this,16)},s.Mc=function(){return new Ve(null,new Ze(this,16))},s.hd=function(n,t){return tn(),new O1(Zr,n,t)},s.Nc=function(){return nZ((tn(),Zr))},s.Oc=function(n){return tn(),Oy(Zr,n)},s._j=function(){return tn(),tn(),$h},g(Vr,"ECollections/EmptyUnmodifiableEMap",1302);var bge=yi(Vr,"Enumerator"),lN;w(290,1,{290:1},SB),s.Fb=function(n){var t;return this===n?!0:F(n,290)?(t=u(n,290),this.f==t.f&&$3n(this.i,t.i)&&n_(this.a,(this.f&256)!=0?(t.f&256)!=0?t.a:null:(t.f&256)!=0?null:t.a)&&n_(this.d,t.d)&&n_(this.g,t.g)&&n_(this.e,t.e)&&Fjn(this,t)):!1},s.Hb=function(){return this.f},s.Ib=function(){return YUe(this)},s.f=0;var Lln=0,_ln=0,Fln=0,Rln=0,wge=0,gge=0,pge=0,mge=0,vge=0,Bln,U8=0,X8=0,Jln=0,Gln=0,hN,yge;g(Vr,"URI",290),w(1091,44,Z2,Txe),s.yc=function(n,t){return u(mc(this,dt(n),u(t,290)),290)},g(Vr,"URI/URICache",1091),w(492,67,ah,q6e,ZM),s.Qi=function(){return!0},g(Vr,"UniqueEList",492),w(579,63,aa,WC),g(Vr,"WrappedException",579);var St=yi(Hs,qYe),zg=yi(Hs,zYe),ho=yi(Hs,UYe),Ug=yi(Hs,XYe),bl=yi(Hs,KYe),wf=yi(Hs,"EClass"),RX=yi(Hs,"EDataType"),Hln;w(1199,44,Z2,Sxe),s.xc=function(n){return mr(n)?Mu(this,n):Lc(pc(this.f,n))},g(Hs,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1199);var aN=yi(Hs,"EEnum"),ja=yi(Hs,WYe),hc=yi(Hs,VYe),gf=yi(Hs,QYe),pf,Xb=yi(Hs,YYe),Xg=yi(Hs,ZYe);w(Df,1,{},z6e),s.Ib=function(){return"NIL"},g(Hs,"EStructuralFeature/Internal/DynamicValueHolder/1",Df);var qln;w(1023,44,Z2,Ixe),s.xc=function(n){return mr(n)?Mu(this,n):Lc(pc(this.f,n))},g(Hs,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1023);var Yu=yi(Hs,eZe),J3=yi(Hs,"EValidator/PatternMatcher"),kge,Ege,mn,a1,Kg,kd,zln,Uln,Xln,Ed,d1,jd,Kb,Hl,Kln,Wln,mf,b1,Vln,w1,Wg,_p,nc,Qln,Yln,Wb,dN=yi(wi,"FeatureMap/Entry");w(534,1,{75:1},bM),s.Jk=function(){return this.a},s.kd=function(){return this.b},g(yn,"BasicEObjectImpl/1",534),w(1022,1,OH,XCe),s.Dk=function(n){return cF(this.a,this.b,n)},s.Oj=function(){return FNe(this.a,this.b)},s.Wb=function(n){GZ(this.a,this.b,n)},s.Ek=function(){Svn(this.a,this.b)},g(yn,"BasicEObjectImpl/4",1022),w(2046,1,{114:1}),s.Kk=function(n){this.e=n==0?Zln:ee(ir,ln,1,n,5,1)},s.ii=function(n){return this.e[n]},s.ji=function(n,t){this.e[n]=t},s.ki=function(n){this.e[n]=null},s.Lk=function(){return this.c},s.Mk=function(){throw I(new ht)},s.Nk=function(){throw I(new ht)},s.Ok=function(){return this.d},s.Pk=function(){return this.e!=null},s.Qk=function(n){this.c=n},s.Rk=function(n){throw I(new ht)},s.Sk=function(n){throw I(new ht)},s.Tk=function(n){this.d=n};var Zln;g(yn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2046),w(192,2046,{114:1},Wf),s.Mk=function(){return this.a},s.Nk=function(){return this.b},s.Rk=function(n){this.a=n},s.Sk=function(n){this.b=n},g(yn,"BasicEObjectImpl/EPropertiesHolderImpl",192),w(502,100,eYe,aA),s.rh=function(){return this.f},s.wh=function(){return this.k},s.yh=function(n,t){this.g=n,this.i=t},s.Ah=function(){return(this.j&2)==0?this.fi():this.Xh().Lk()},s.Ch=function(){return this.i},s.th=function(){return(this.j&1)!=0},s.Mh=function(){return this.g},s.Sh=function(){return(this.j&4)!=0},s.Xh=function(){return!this.k&&(this.k=new Wf),this.k},s._h=function(n){this.Xh().Qk(n),n?this.j|=2:this.j&=-3},s.bi=function(n){this.Xh().Sk(n),n?this.j|=4:this.j&=-5},s.fi=function(){return(S1(),mn).S},s.i=0,s.j=1,g(yn,"EObjectImpl",502),w(786,502,{109:1,94:1,93:1,57:1,114:1,52:1,100:1},RY),s.ii=function(n){return this.e[n]},s.ji=function(n,t){this.e[n]=t},s.ki=function(n){this.e[n]=null},s.Ah=function(){return this.d},s.Fh=function(n){return vi(this.d,n)},s.Hh=function(){return this.d},s.Lh=function(){return this.e!=null},s.Xh=function(){return!this.k&&(this.k=new U6e),this.k},s._h=function(n){this.d=n},s.ei=function(){var n;return this.e==null&&(n=Un(this.d),this.e=n==0?ehn:ee(ir,ln,1,n,5,1)),this},s.gi=function(){return 0};var ehn;g(yn,"DynamicEObjectImpl",786),w(1484,786,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1},wPe),s.Fb=function(n){return this===n},s.Hb=function(){return K0(this)},s._h=function(n){this.d=n,this.b=SE(n,"key"),this.c=SE(n,x9)},s.yi=function(){var n;return this.a==-1&&(n=mF(this,this.b),this.a=n==null?0:si(n)),this.a},s.jd=function(){return mF(this,this.b)},s.kd=function(){return mF(this,this.c)},s.zi=function(n){this.a=n},s.Ai=function(n){GZ(this,this.b,n)},s.ld=function(n){var t;return t=mF(this,this.c),GZ(this,this.c,n),t},s.a=0,g(yn,"DynamicEObjectImpl/BasicEMapEntry",1484),w(1485,1,{114:1},U6e),s.Kk=function(n){throw I(new ht)},s.ii=function(n){throw I(new ht)},s.ji=function(n,t){throw I(new ht)},s.ki=function(n){throw I(new ht)},s.Lk=function(){throw I(new ht)},s.Mk=function(){return this.a},s.Nk=function(){return this.b},s.Ok=function(){return this.c},s.Pk=function(){throw I(new ht)},s.Qk=function(n){throw I(new ht)},s.Rk=function(n){this.a=n},s.Sk=function(n){this.b=n},s.Tk=function(n){this.c=n},g(yn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1485),w(505,161,{109:1,94:1,93:1,588:1,158:1,57:1,114:1,52:1,100:1,505:1,161:1,117:1,118:1},WK),s.xh=function(n){return pie(this,n)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.d;case 2:return i?(!this.b&&(this.b=new Yo((nn(),nc),nu,this)),this.b):(!this.b&&(this.b=new Yo((nn(),nc),nu,this)),P7(this.b));case 3:return zNe(this);case 4:return!this.a&&(this.a=new Wi(yd,this,4)),this.a;case 5:return!this.c&&(this.c=new j2(yd,this,5)),this.c}return $s(this,n-Un((nn(),a1)),cn((r=u(Mn(this,16),29),r||a1),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Bu(this.Ab,n,i);case 3:return this.Cb&&(i=(c=this.Db>>16,c>=0?pie(this,i):this.Cb.Qh(this,-1-c,null,i))),YY(this,u(n,158),i)}return o=u(cn((r=u(Mn(this,16),29),r||(nn(),a1)),t),69),o.uk().xk(this,Uu(this),t-Un((nn(),a1)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Wr(this.Ab,n,i);case 2:return!this.b&&(this.b=new Yo((nn(),nc),nu,this)),$M(this.b,n,i);case 3:return YY(this,null,i);case 4:return!this.a&&(this.a=new Wi(yd,this,4)),Wr(this.a,n,i)}return c=u(cn((r=u(Mn(this,16),29),r||(nn(),a1)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),a1)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!zNe(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return Ns(this,n-Un((nn(),a1)),cn((t=u(Mn(this,16),29),t||a1),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:j3n(this,dt(t));return;case 2:!this.b&&(this.b=new Yo((nn(),nc),nu,this)),mT(this.b,t);return;case 3:Bze(this,u(t,158));return;case 4:!this.a&&(this.a=new Wi(yd,this,4)),nt(this.a),!this.a&&(this.a=new Wi(yd,this,4)),Ii(this.a,u(t,18));return;case 5:!this.c&&(this.c=new j2(yd,this,5)),nt(this.c),!this.c&&(this.c=new j2(yd,this,5)),Ii(this.c,u(t,18));return}Bs(this,n-Un((nn(),a1)),cn((i=u(Mn(this,16),29),i||a1),n),t)},s.fi=function(){return nn(),a1},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return;case 1:wne(this,null);return;case 2:!this.b&&(this.b=new Yo((nn(),nc),nu,this)),this.b.c.$b();return;case 3:Bze(this,null);return;case 4:!this.a&&(this.a=new Wi(yd,this,4)),nt(this.a);return;case 5:!this.c&&(this.c=new j2(yd,this,5)),nt(this.c);return}Rs(this,n-Un((nn(),a1)),cn((t=u(Mn(this,16),29),t||a1),n))},s.Ib=function(){return OBe(this)},s.d=null,g(yn,"EAnnotationImpl",505),w(142,711,Tfe,vo),s.Ei=function(n,t){Vwn(this,n,u(t,45))},s.Uk=function(n,t){return X2n(this,u(n,45),t)},s.Yi=function(n){return u(u(this.c,72).Yi(n),136)},s.Gi=function(){return u(this.c,72).Gi()},s.Hi=function(){return u(this.c,72).Hi()},s.Ii=function(n){return u(this.c,72).Ii(n)},s.Vk=function(n,t){return $M(this,n,t)},s.Dk=function(n){return u(this.c,78).Dk(n)},s.$j=function(){},s.Oj=function(){return u(this.c,78).Oj()},s.ak=function(n,t,i){var r;return r=u(ds(this.b).ti().pi(this.b),136),r.zi(n),r.Ai(t),r.ld(i),r},s.bk=function(){return new OW(this)},s.Wb=function(n){mT(this,n)},s.Ek=function(){u(this.c,78).Ek()},g(wi,"EcoreEMap",142),w(169,142,Tfe,Yo),s.Zj=function(){var n,t,i,r,c,o;if(this.d==null){for(o=ee(age,Cfe,67,2*this.f+1,0,1),i=this.c.Jc();i.e!=i.i.gc();)t=u(i.Wj(),136),r=t.yi(),c=(r&_t)%o.length,n=o[c],!n&&(n=o[c]=new OW(this)),n.Ec(t);this.d=o}},g(yn,"EAnnotationImpl/1",169),w(293,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,470:1,52:1,100:1,161:1,293:1,117:1,118:1}),s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return gn(),(this.Bb&256)!=0;case 3:return gn(),(this.Bb&512)!=0;case 4:return le(this.s);case 5:return le(this.t);case 6:return gn(),!!this.Hk();case 7:return gn(),c=this.s,c>=1;case 8:return t?uf(this):this.r;case 9:return this.q}return $s(this,n-Un(this.fi()),cn((r=u(Mn(this,16),29),r||this.fi()),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Wr(this.Ab,n,i);case 9:return m_(this,i)}return c=u(cn((r=u(Mn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Uu(this),t-Un(this.fi()),n,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Y0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Y0(this.q).i==0)}return Ns(this,n-Un(this.fi()),cn((t=u(Mn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:this.ri(dt(t));return;case 2:Ua(this,Se(Te(t)));return;case 3:Xa(this,Se(Te(t)));return;case 4:Ga(this,u(t,15).a);return;case 5:this.Xk(u(t,15).a);return;case 8:e0(this,u(t,143));return;case 9:r=Ml(this,u(t,87),null),r&&r.mj();return}Bs(this,n-Un(this.fi()),cn((i=u(Mn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return nn(),Yln},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return;case 1:this.ri(null);return;case 2:Ua(this,!0);return;case 3:Xa(this,!0);return;case 4:Ga(this,0);return;case 5:this.Xk(1);return;case 8:e0(this,null);return;case 9:i=Ml(this,null,null),i&&i.mj();return}Rs(this,n-Un(this.fi()),cn((t=u(Mn(this,16),29),t||this.fi()),n))},s.mi=function(){uf(this),this.Bb|=1},s.Fk=function(){return uf(this)},s.Gk=function(){return this.t},s.Hk=function(){var n;return n=this.t,n>1||n==-1},s.Qi=function(){return(this.Bb&512)!=0},s.Wk=function(n,t){return dte(this,n,t)},s.Xk=function(n){_w(this,n)},s.Ib=function(){return Cre(this)},s.s=0,s.t=1,g(yn,"ETypedElementImpl",293),w(451,293,{109:1,94:1,93:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,451:1,293:1,117:1,118:1,682:1}),s.xh=function(n){return jGe(this,n)},s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return gn(),(this.Bb&256)!=0;case 3:return gn(),(this.Bb&512)!=0;case 4:return le(this.s);case 5:return le(this.t);case 6:return gn(),!!this.Hk();case 7:return gn(),c=this.s,c>=1;case 8:return t?uf(this):this.r;case 9:return this.q;case 10:return gn(),(this.Bb&Df)!=0;case 11:return gn(),(this.Bb&e1)!=0;case 12:return gn(),(this.Bb&cg)!=0;case 13:return this.j;case 14:return y4(this);case 15:return gn(),(this.Bb&jo)!=0;case 16:return gn(),(this.Bb&ch)!=0;case 17:return Sw(this)}return $s(this,n-Un(this.fi()),cn((r=u(Mn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Bu(this.Ab,n,i);case 17:return this.Cb&&(i=(c=this.Db>>16,c>=0?jGe(this,i):this.Cb.Qh(this,-1-c,null,i))),ms(this,n,17,i)}return o=u(cn((r=u(Mn(this,16),29),r||this.fi()),t),69),o.uk().xk(this,Uu(this),t-Un(this.fi()),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Wr(this.Ab,n,i);case 9:return m_(this,i);case 17:return ms(this,null,17,i)}return c=u(cn((r=u(Mn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Uu(this),t-Un(this.fi()),n,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Y0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Y0(this.q).i==0);case 10:return(this.Bb&Df)==0;case 11:return(this.Bb&e1)!=0;case 12:return(this.Bb&cg)!=0;case 13:return this.j!=null;case 14:return y4(this)!=null;case 15:return(this.Bb&jo)!=0;case 16:return(this.Bb&ch)!=0;case 17:return!!Sw(this)}return Ns(this,n-Un(this.fi()),cn((t=u(Mn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:q_(this,dt(t));return;case 2:Ua(this,Se(Te(t)));return;case 3:Xa(this,Se(Te(t)));return;case 4:Ga(this,u(t,15).a);return;case 5:this.Xk(u(t,15).a);return;case 8:e0(this,u(t,143));return;case 9:r=Ml(this,u(t,87),null),r&&r.mj();return;case 10:r4(this,Se(Te(t)));return;case 11:u4(this,Se(Te(t)));return;case 12:c4(this,Se(Te(t)));return;case 13:uQ(this,dt(t));return;case 15:i4(this,Se(Te(t)));return;case 16:o4(this,Se(Te(t)));return}Bs(this,n-Un(this.fi()),cn((i=u(Mn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return nn(),Qln},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return;case 1:F(this.Cb,88)&&Vw(Ro(u(this.Cb,88)),4),Ru(this,null);return;case 2:Ua(this,!0);return;case 3:Xa(this,!0);return;case 4:Ga(this,0);return;case 5:this.Xk(1);return;case 8:e0(this,null);return;case 9:i=Ml(this,null,null),i&&i.mj();return;case 10:r4(this,!0);return;case 11:u4(this,!1);return;case 12:c4(this,!1);return;case 13:this.i=null,aT(this,null);return;case 15:i4(this,!1);return;case 16:o4(this,!1);return}Rs(this,n-Un(this.fi()),cn((t=u(Mn(this,16),29),t||this.fi()),n))},s.mi=function(){Pv(vc((ko(),$r),this)),uf(this),this.Bb|=1},s.nk=function(){return this.f},s.gk=function(){return y4(this)},s.ok=function(){return Sw(this)},s.sk=function(){return null},s.Yk=function(){return this.k},s.Jj=function(){return this.n},s.tk=function(){return cS(this)},s.uk=function(){var n,t,i,r,c,o,f,l,h;return this.p||(i=Sw(this),(i.i==null&&rh(i),i.i).length,r=this.sk(),r&&Un(Sw(r)),c=uf(this),f=c.ik(),n=f?(f.i&1)!=0?f==ao?Ci:f==bt?Zi:f==Qg?s5:f==jr?zi:f==Qb?$b:f==Jp?Db:f==Ao?a3:D9:f:null,t=y4(this),l=c.gk(),oEn(this),(this.Bb&ch)!=0&&((o=jie((ko(),$r),i))&&o!=this||(o=Tm(vc($r,this))))?this.p=new WCe(this,o):this.Hk()?this.$k()?r?(this.Bb&jo)!=0?n?this._k()?this.p=new Gd(47,n,this,r):this.p=new Gd(5,n,this,r):this._k()?this.p=new Kd(46,this,r):this.p=new Kd(4,this,r):n?this._k()?this.p=new Gd(49,n,this,r):this.p=new Gd(7,n,this,r):this._k()?this.p=new Kd(48,this,r):this.p=new Kd(6,this,r):(this.Bb&jo)!=0?n?n==g0?this.p=new La(50,Nln,this):this._k()?this.p=new La(43,n,this):this.p=new La(1,n,this):this._k()?this.p=new Fa(42,this):this.p=new Fa(0,this):n?n==g0?this.p=new La(41,Nln,this):this._k()?this.p=new La(45,n,this):this.p=new La(3,n,this):this._k()?this.p=new Fa(44,this):this.p=new Fa(2,this):F(c,159)?n==dN?this.p=new Fa(40,this):(this.Bb&512)!=0?(this.Bb&jo)!=0?n?this.p=new La(9,n,this):this.p=new Fa(8,this):n?this.p=new La(11,n,this):this.p=new Fa(10,this):(this.Bb&jo)!=0?n?this.p=new La(13,n,this):this.p=new Fa(12,this):n?this.p=new La(15,n,this):this.p=new Fa(14,this):r?(h=r.t,h>1||h==-1?this._k()?(this.Bb&jo)!=0?n?this.p=new Gd(25,n,this,r):this.p=new Kd(24,this,r):n?this.p=new Gd(27,n,this,r):this.p=new Kd(26,this,r):(this.Bb&jo)!=0?n?this.p=new Gd(29,n,this,r):this.p=new Kd(28,this,r):n?this.p=new Gd(31,n,this,r):this.p=new Kd(30,this,r):this._k()?(this.Bb&jo)!=0?n?this.p=new Gd(33,n,this,r):this.p=new Kd(32,this,r):n?this.p=new Gd(35,n,this,r):this.p=new Kd(34,this,r):(this.Bb&jo)!=0?n?this.p=new Gd(37,n,this,r):this.p=new Kd(36,this,r):n?this.p=new Gd(39,n,this,r):this.p=new Kd(38,this,r)):this._k()?(this.Bb&jo)!=0?n?this.p=new La(17,n,this):this.p=new Fa(16,this):n?this.p=new La(19,n,this):this.p=new Fa(18,this):(this.Bb&jo)!=0?n?this.p=new La(21,n,this):this.p=new Fa(20,this):n?this.p=new La(23,n,this):this.p=new Fa(22,this):this.Zk()?this._k()?this.p=new qIe(u(c,29),this,r):this.p=new JZ(u(c,29),this,r):F(c,159)?n==dN?this.p=new Fa(40,this):(this.Bb&jo)!=0?n?this.p=new _Pe(t,l,this,(ER(),f==bt?Sge:f==ao?xge:f==Qb?Ige:f==Qg?Tge:f==jr?Cge:f==Jp?Pge:f==Ao?Age:f==Vs?Mge:GX)):this.p=new eNe(u(c,159),t,l,this):n?this.p=new LPe(t,l,this,(ER(),f==bt?Sge:f==ao?xge:f==Qb?Ige:f==Qg?Tge:f==jr?Cge:f==Jp?Pge:f==Ao?Age:f==Vs?Mge:GX)):this.p=new ZOe(u(c,159),t,l,this):this.$k()?r?(this.Bb&jo)!=0?this._k()?this.p=new UIe(u(c,29),this,r):this.p=new SY(u(c,29),this,r):this._k()?this.p=new zIe(u(c,29),this,r):this.p=new WL(u(c,29),this,r):(this.Bb&jo)!=0?this._k()?this.p=new BSe(u(c,29),this):this.p=new zQ(u(c,29),this):this._k()?this.p=new RSe(u(c,29),this):this.p=new $L(u(c,29),this):this._k()?r?(this.Bb&jo)!=0?this.p=new XIe(u(c,29),this,r):this.p=new CY(u(c,29),this,r):(this.Bb&jo)!=0?this.p=new JSe(u(c,29),this):this.p=new qQ(u(c,29),this):r?(this.Bb&jo)!=0?this.p=new KIe(u(c,29),this,r):this.p=new TY(u(c,29),this,r):(this.Bb&jo)!=0?this.p=new FSe(u(c,29),this):this.p=new YM(u(c,29),this)),this.p},s.pk=function(){return(this.Bb&Df)!=0},s.Zk=function(){return!1},s.$k=function(){return!1},s.qk=function(){return(this.Bb&ch)!=0},s.vk=function(){return yF(this)},s._k=function(){return!1},s.rk=function(){return(this.Bb&jo)!=0},s.al=function(n){this.k=n},s.ri=function(n){q_(this,n)},s.Ib=function(){return SS(this)},s.e=!1,s.n=0,g(yn,"EStructuralFeatureImpl",451),w(335,451,{109:1,94:1,93:1,38:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,335:1,161:1,451:1,293:1,117:1,118:1,682:1},bD),s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return gn(),(this.Bb&256)!=0;case 3:return gn(),(this.Bb&512)!=0;case 4:return le(this.s);case 5:return le(this.t);case 6:return gn(),!!kre(this);case 7:return gn(),c=this.s,c>=1;case 8:return t?uf(this):this.r;case 9:return this.q;case 10:return gn(),(this.Bb&Df)!=0;case 11:return gn(),(this.Bb&e1)!=0;case 12:return gn(),(this.Bb&cg)!=0;case 13:return this.j;case 14:return y4(this);case 15:return gn(),(this.Bb&jo)!=0;case 16:return gn(),(this.Bb&ch)!=0;case 17:return Sw(this);case 18:return gn(),(this.Bb&cu)!=0;case 19:return t?JF(this):cLe(this)}return $s(this,n-Un((nn(),Kg)),cn((r=u(Mn(this,16),29),r||Kg),n),t,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return kre(this);case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Y0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Y0(this.q).i==0);case 10:return(this.Bb&Df)==0;case 11:return(this.Bb&e1)!=0;case 12:return(this.Bb&cg)!=0;case 13:return this.j!=null;case 14:return y4(this)!=null;case 15:return(this.Bb&jo)!=0;case 16:return(this.Bb&ch)!=0;case 17:return!!Sw(this);case 18:return(this.Bb&cu)!=0;case 19:return!!cLe(this)}return Ns(this,n-Un((nn(),Kg)),cn((t=u(Mn(this,16),29),t||Kg),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:q_(this,dt(t));return;case 2:Ua(this,Se(Te(t)));return;case 3:Xa(this,Se(Te(t)));return;case 4:Ga(this,u(t,15).a);return;case 5:MAe(this,u(t,15).a);return;case 8:e0(this,u(t,143));return;case 9:r=Ml(this,u(t,87),null),r&&r.mj();return;case 10:r4(this,Se(Te(t)));return;case 11:u4(this,Se(Te(t)));return;case 12:c4(this,Se(Te(t)));return;case 13:uQ(this,dt(t));return;case 15:i4(this,Se(Te(t)));return;case 16:o4(this,Se(Te(t)));return;case 18:dR(this,Se(Te(t)));return}Bs(this,n-Un((nn(),Kg)),cn((i=u(Mn(this,16),29),i||Kg),n),t)},s.fi=function(){return nn(),Kg},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return;case 1:F(this.Cb,88)&&Vw(Ro(u(this.Cb,88)),4),Ru(this,null);return;case 2:Ua(this,!0);return;case 3:Xa(this,!0);return;case 4:Ga(this,0);return;case 5:this.b=0,_w(this,1);return;case 8:e0(this,null);return;case 9:i=Ml(this,null,null),i&&i.mj();return;case 10:r4(this,!0);return;case 11:u4(this,!1);return;case 12:c4(this,!1);return;case 13:this.i=null,aT(this,null);return;case 15:i4(this,!1);return;case 16:o4(this,!1);return;case 18:dR(this,!1);return}Rs(this,n-Un((nn(),Kg)),cn((t=u(Mn(this,16),29),t||Kg),n))},s.mi=function(){JF(this),Pv(vc((ko(),$r),this)),uf(this),this.Bb|=1},s.Hk=function(){return kre(this)},s.Wk=function(n,t){return this.b=0,this.a=null,dte(this,n,t)},s.Xk=function(n){MAe(this,n)},s.Ib=function(){var n;return(this.Db&64)!=0?SS(this):(n=new ef(SS(this)),n.a+=" (iD: ",Pa(n,(this.Bb&cu)!=0),n.a+=")",n.a)},s.b=0,g(yn,"EAttributeImpl",335),w(360,439,{109:1,94:1,93:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,161:1,117:1,118:1,681:1}),s.bl=function(n){return n.Ah()==this},s.xh=function(n){return XR(this,n)},s.yh=function(n,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=n},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return gb(this);case 4:return this.gk();case 5:return this.F;case 6:return t?ds(this):$v(this);case 7:return!this.A&&(this.A=new go(Yu,this,7)),this.A}return $s(this,n-Un(this.fi()),cn((r=u(Mn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Bu(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?XR(this,i):this.Cb.Qh(this,-1-c,null,i))),ms(this,n,6,i)}return o=u(cn((r=u(Mn(this,16),29),r||this.fi()),t),69),o.uk().xk(this,Uu(this),t-Un(this.fi()),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Wr(this.Ab,n,i);case 6:return ms(this,null,6,i);case 7:return!this.A&&(this.A=new go(Yu,this,7)),Wr(this.A,n,i)}return c=u(cn((r=u(Mn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Uu(this),t-Un(this.fi()),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!gb(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!$v(this);case 7:return!!this.A&&this.A.i!=0}return Ns(this,n-Un(this.fi()),cn((t=u(Mn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:CC(this,dt(t));return;case 2:kL(this,dt(t));return;case 5:C4(this,dt(t));return;case 7:!this.A&&(this.A=new go(Yu,this,7)),nt(this.A),!this.A&&(this.A=new go(Yu,this,7)),Ii(this.A,u(t,18));return}Bs(this,n-Un(this.fi()),cn((i=u(Mn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return nn(),zln},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return;case 1:F(this.Cb,184)&&(u(this.Cb,184).tb=null),Ru(this,null);return;case 2:e4(this,null),Gv(this,this.D);return;case 5:C4(this,null);return;case 7:!this.A&&(this.A=new go(Yu,this,7)),nt(this.A);return}Rs(this,n-Un(this.fi()),cn((t=u(Mn(this,16),29),t||this.fi()),n))},s.fk=function(){var n;return this.G==-1&&(this.G=(n=ds(this),n?Ka(n.si(),this):-1)),this.G},s.gk=function(){return null},s.hk=function(){return ds(this)},s.cl=function(){return this.v},s.ik=function(){return gb(this)},s.jk=function(){return this.D!=null?this.D:this.B},s.kk=function(){return this.F},s.dk=function(n){return FB(this,n)},s.dl=function(n){this.v=n},s.el=function(n){qFe(this,n)},s.fl=function(n){this.C=n},s.ri=function(n){CC(this,n)},s.Ib=function(){return FT(this)},s.C=null,s.D=null,s.G=-1,g(yn,"EClassifierImpl",360),w(88,360,{109:1,94:1,93:1,29:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,88:1,360:1,161:1,471:1,117:1,118:1,681:1},eW),s.bl=function(n){return $2n(this,n.Ah())},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return gb(this);case 4:return null;case 5:return this.F;case 6:return t?ds(this):$v(this);case 7:return!this.A&&(this.A=new go(Yu,this,7)),this.A;case 8:return gn(),(this.Bb&256)!=0;case 9:return gn(),(this.Bb&512)!=0;case 10:return Mc(this);case 11:return!this.q&&(this.q=new se(gf,this,11,10)),this.q;case 12:return W2(this);case 13:return Qy(this);case 14:return Qy(this),this.r;case 15:return W2(this),this.k;case 16:return lre(this);case 17:return GB(this);case 18:return rh(this);case 19:return yS(this);case 20:return W2(this),this.o;case 21:return!this.s&&(this.s=new se(ho,this,21,17)),this.s;case 22:return bu(this);case 23:return TB(this)}return $s(this,n-Un((nn(),kd)),cn((r=u(Mn(this,16),29),r||kd),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Bu(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?XR(this,i):this.Cb.Qh(this,-1-c,null,i))),ms(this,n,6,i);case 11:return!this.q&&(this.q=new se(gf,this,11,10)),Bu(this.q,n,i);case 21:return!this.s&&(this.s=new se(ho,this,21,17)),Bu(this.s,n,i)}return o=u(cn((r=u(Mn(this,16),29),r||(nn(),kd)),t),69),o.uk().xk(this,Uu(this),t-Un((nn(),kd)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Wr(this.Ab,n,i);case 6:return ms(this,null,6,i);case 7:return!this.A&&(this.A=new go(Yu,this,7)),Wr(this.A,n,i);case 11:return!this.q&&(this.q=new se(gf,this,11,10)),Wr(this.q,n,i);case 21:return!this.s&&(this.s=new se(ho,this,21,17)),Wr(this.s,n,i);case 22:return Wr(bu(this),n,i)}return c=u(cn((r=u(Mn(this,16),29),r||(nn(),kd)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),kd)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!gb(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!$v(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&bu(this.u.a).i!=0&&!(this.n&&LR(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return W2(this).i!=0;case 13:return Qy(this).i!=0;case 14:return Qy(this),this.r.i!=0;case 15:return W2(this),this.k.i!=0;case 16:return lre(this).i!=0;case 17:return GB(this).i!=0;case 18:return rh(this).i!=0;case 19:return yS(this).i!=0;case 20:return W2(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&LR(this.n);case 23:return TB(this).i!=0}return Ns(this,n-Un((nn(),kd)),cn((t=u(Mn(this,16),29),t||kd),n))},s.Wh=function(n){var t;return t=this.i==null||this.q&&this.q.i!=0?null:SE(this,n),t||eue(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:CC(this,dt(t));return;case 2:kL(this,dt(t));return;case 5:C4(this,dt(t));return;case 7:!this.A&&(this.A=new go(Yu,this,7)),nt(this.A),!this.A&&(this.A=new go(Yu,this,7)),Ii(this.A,u(t,18));return;case 8:wte(this,Se(Te(t)));return;case 9:gte(this,Se(Te(t)));return;case 10:e9(Mc(this)),Ii(Mc(this),u(t,18));return;case 11:!this.q&&(this.q=new se(gf,this,11,10)),nt(this.q),!this.q&&(this.q=new se(gf,this,11,10)),Ii(this.q,u(t,18));return;case 21:!this.s&&(this.s=new se(ho,this,21,17)),nt(this.s),!this.s&&(this.s=new se(ho,this,21,17)),Ii(this.s,u(t,18));return;case 22:nt(bu(this)),Ii(bu(this),u(t,18));return}Bs(this,n-Un((nn(),kd)),cn((i=u(Mn(this,16),29),i||kd),n),t)},s.fi=function(){return nn(),kd},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return;case 1:F(this.Cb,184)&&(u(this.Cb,184).tb=null),Ru(this,null);return;case 2:e4(this,null),Gv(this,this.D);return;case 5:C4(this,null);return;case 7:!this.A&&(this.A=new go(Yu,this,7)),nt(this.A);return;case 8:wte(this,!1);return;case 9:gte(this,!1);return;case 10:this.u&&e9(this.u);return;case 11:!this.q&&(this.q=new se(gf,this,11,10)),nt(this.q);return;case 21:!this.s&&(this.s=new se(ho,this,21,17)),nt(this.s);return;case 22:this.n&&nt(this.n);return}Rs(this,n-Un((nn(),kd)),cn((t=u(Mn(this,16),29),t||kd),n))},s.mi=function(){var n,t;if(W2(this),Qy(this),lre(this),GB(this),rh(this),yS(this),TB(this),oy(Zmn(Ro(this))),this.s)for(n=0,t=this.s.i;n<t;++n)n7(R(this.s,n));if(this.q)for(n=0,t=this.q.i;n<t;++n)n7(R(this.q,n));za((ko(),$r),this).ve(),this.Bb|=1},s.Ib=function(){return Iie(this)},s.k=null,s.r=null;var K8,nhn,BX;g(yn,"EClassImpl",88),w(2057,2056,iZe),s.Ci=function(n,t){return RB(this,n,t)},s.Di=function(n){return RB(this,this.i,n)},s.Ei=function(n,t){Mre(this,n,t)},s.Fi=function(n){yB(this,n)},s.Uk=function(n,t){return Bu(this,n,t)},s.Yi=function(n){return Jee(this,n)},s.Vk=function(n,t){return Wr(this,n,t)},s.Vi=function(n,t){return PXe(this,n,t)},s.Gi=function(){return new wm(this)},s.Hi=function(){return new e7(this)},s.Ii=function(n){return q7(this,n)},g(wi,"NotifyingInternalEListImpl",2057),w(624,2057,Nc),s.Gc=function(n){return VXe(this,n)},s.Gj=function(n,t,i,r,c){return ny(this,n,t,i,r,c)},s.Hj=function(n){iv(this,n)},s.Dk=function(n){return this},s.Jk=function(){return cn(this.e.Ah(),this.Jj())},s.Ij=function(){return this.Jk()},s.Jj=function(){return vi(this.e.Ah(),this.Jk())},s.gl=function(){return u(this.Jk().Fk(),29).ik()},s.hl=function(){return ic(u(this.Jk(),19)).n},s.hj=function(){return this.e},s.il=function(){return!0},s.jl=function(){return!1},s.kl=function(){return!1},s.ll=function(){return!1},s.bd=function(n){return Ka(this,n)},s.Lj=function(n,t){var i;return i=u(n,52),this.kl()?this.il()?i.Oh(this.e,this.hl(),this.gl(),t):i.Oh(this.e,vi(i.Ah(),ic(u(this.Jk(),19))),null,t):i.Oh(this.e,-1-this.Jj(),null,t)},s.Mj=function(n,t){var i;return i=u(n,52),this.kl()?this.il()?i.Qh(this.e,this.hl(),this.gl(),t):i.Qh(this.e,vi(i.Ah(),ic(u(this.Jk(),19))),null,t):i.Qh(this.e,-1-this.Jj(),null,t)},s.$k=function(){return!1},s.ml=function(){return!0},s.dk=function(n){return sDe(this.d,n)},s.Nj=function(){return Vo(this.e)},s.Oj=function(){return this.i!=0},s.$i=function(n){return H7(this.d,n)},s.Ui=function(n,t){return this.ml()&&this.ll()?Ym(this,n,u(t,57)):t},s.nl=function(n){return n.Sh()?J1(this.e,u(n,52)):n},s.Wb=function(n){zTe(this,n)},s.Nc=function(){return BLe(this)},s.Oc=function(n){var t;if(this.ll())for(t=this.i-1;t>=0;--t)R(this,t);return Fte(this,n)},s.Ek=function(){nt(this)},s.Xi=function(n,t){return pFe(this,n,t)},g(wi,"EcoreEList",624),w(491,624,Nc,a7),s.Ji=function(){return!1},s.Jj=function(){return this.c},s.Kj=function(){return!1},s.ml=function(){return!0},s.Qi=function(){return!0},s.Ui=function(n,t){return t},s.Wi=function(){return!1},s.c=0,g(wi,"EObjectEList",491),w(81,491,Nc,Wi),s.Kj=function(){return!0},s.kl=function(){return!1},s.$k=function(){return!0},g(wi,"EObjectContainmentEList",81),w(544,81,Nc,AM),s.Li=function(){this.b=!0},s.Oj=function(){return this.b},s.Ek=function(){var n;nt(this),Vo(this.e)?(n=this.b,this.b=!1,Gt(this.e,new Mf(this.e,2,this.c,n,!1))):this.b=!1},s.b=!1,g(wi,"EObjectContainmentEList/Unsettable",544),w(1131,544,Nc,$Pe),s.Ri=function(n,t){var i,r;return i=u(My(this,n,t),87),Vo(this.e)&&iv(this,new O7(this.a,7,(nn(),Uln),le(t),(r=i.c,F(r,88)?u(r,29):mf),n)),i},s.Sj=function(n,t){return GEn(this,u(n,87),t)},s.Tj=function(n,t){return JEn(this,u(n,87),t)},s.Uj=function(n,t,i){return JAn(this,u(n,87),u(t,87),i)},s.Gj=function(n,t,i,r,c){switch(n){case 3:return ny(this,n,t,i,r,this.i>1);case 5:return ny(this,n,t,i,r,this.i-u(i,16).gc()>0);default:return new ia(this.e,n,this.c,t,i,r,!0)}},s.Rj=function(){return!0},s.Oj=function(){return LR(this)},s.Ek=function(){nt(this)},g(yn,"EClassImpl/1",1131),w(1145,1144,Mfe),s.bj=function(n){var t,i,r,c,o,f,l;if(i=n.ej(),i!=8){if(r=jjn(n),r==0)switch(i){case 1:case 9:{l=n.ij(),l!=null&&(t=Ro(u(l,471)),!t.c&&(t.c=new Y3),QC(t.c,n.hj())),f=n.gj(),f!=null&&(c=u(f,471),(c.Bb&1)==0&&(t=Ro(c),!t.c&&(t.c=new Y3),it(t.c,u(n.hj(),29))));break}case 3:{f=n.gj(),f!=null&&(c=u(f,471),(c.Bb&1)==0&&(t=Ro(c),!t.c&&(t.c=new Y3),it(t.c,u(n.hj(),29))));break}case 5:{if(f=n.gj(),f!=null)for(o=u(f,18).Jc();o.Ob();)c=u(o.Pb(),471),(c.Bb&1)==0&&(t=Ro(c),!t.c&&(t.c=new Y3),it(t.c,u(n.hj(),29)));break}case 4:{l=n.ij(),l!=null&&(c=u(l,471),(c.Bb&1)==0&&(t=Ro(c),!t.c&&(t.c=new Y3),QC(t.c,n.hj())));break}case 6:{if(l=n.ij(),l!=null)for(o=u(l,18).Jc();o.Ob();)c=u(o.Pb(),471),(c.Bb&1)==0&&(t=Ro(c),!t.c&&(t.c=new Y3),QC(t.c,n.hj()));break}}this.ol(r)}},s.ol=function(n){MUe(this,n)},s.b=63,g(yn,"ESuperAdapter",1145),w(1146,1145,Mfe,Rje),s.ol=function(n){Vw(this,n)},g(yn,"EClassImpl/10",1146),w(1135,699,Nc),s.Ci=function(n,t){return uB(this,n,t)},s.Di=function(n){return oGe(this,n)},s.Ei=function(n,t){iE(this,n,t)},s.Fi=function(n){T7(this,n)},s.Yi=function(n){return Jee(this,n)},s.Vi=function(n,t){return vF(this,n,t)},s.Uk=function(n,t){throw I(new ht)},s.Gi=function(){return new wm(this)},s.Hi=function(){return new e7(this)},s.Ii=function(n){return q7(this,n)},s.Vk=function(n,t){throw I(new ht)},s.Dk=function(n){return this},s.Oj=function(){return this.i!=0},s.Wb=function(n){throw I(new ht)},s.Ek=function(){throw I(new ht)},g(wi,"EcoreEList/UnmodifiableEList",1135),w(333,1135,Nc,p2),s.Wi=function(){return!1},g(wi,"EcoreEList/UnmodifiableEList/FastCompare",333),w(1138,333,Nc,FRe),s.bd=function(n){var t,i,r;if(F(n,179)&&(t=u(n,179),i=t.Jj(),i!=-1)){for(r=this.i;i<r;++i)if(Z(this.g[i])===Z(n))return i}return-1},g(yn,"EClassImpl/1EAllStructuralFeaturesList",1138),w(1132,492,ah,X6e),s.$i=function(n){return ee(hc,rZe,87,n,0,1)},s.Wi=function(){return!1},g(yn,"EClassImpl/1EGenericSuperTypeEList",1132),w(625,492,ah,X$),s.$i=function(n){return ee(ho,op,179,n,0,1)},s.Wi=function(){return!1},g(yn,"EClassImpl/1EStructuralFeatureUniqueEList",625),w(743,492,ah,VK),s.$i=function(n){return ee(Xg,op,19,n,0,1)},s.Wi=function(){return!1},g(yn,"EClassImpl/1ReferenceList",743),w(1133,492,ah,Bje),s.Ki=function(n,t){H3n(this,u(t,38))},s.$i=function(n){return ee(Ug,op,38,n,0,1)},s.Wi=function(){return!1},g(yn,"EClassImpl/2",1133),w(1134,492,ah,K6e),s.$i=function(n){return ee(Ug,op,38,n,0,1)},s.Wi=function(){return!1},g(yn,"EClassImpl/3",1134),w(1136,333,Nc,ePe),s.Ec=function(n){return lyn(this,u(n,38))},s.Fi=function(n){qbn(this,u(n,38))},g(yn,"EClassImpl/4",1136),w(1137,333,Nc,nPe),s.Ec=function(n){return hyn(this,u(n,19))},s.Fi=function(n){zbn(this,u(n,19))},g(yn,"EClassImpl/5",1137),w(1139,492,ah,W6e),s.$i=function(n){return ee(gf,Sfe,62,n,0,1)},s.Wi=function(){return!1},g(yn,"EClassImpl/6",1139),w(1140,492,ah,V6e),s.$i=function(n){return ee(Xg,op,19,n,0,1)},s.Wi=function(){return!1},g(yn,"EClassImpl/7",1140),w(2060,2059,{3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1,72:1}),s.Ci=function(n,t){return Tce(this,n,t)},s.Di=function(n){return Tce(this,this.Cj(),n)},s.Ei=function(n,t){ize(this,n,t)},s.Fi=function(n){Uqe(this,n)},s.Uk=function(n,t){return bxn(this,n,t)},s.Vk=function(n,t){return Hjn(this,n,t)},s.Vi=function(n,t){return dXe(this,n,t)},s.Yi=function(n){return this.vj(n)},s.Gi=function(){return new wm(this)},s.nj=function(){return this.qj()},s.Hi=function(){return new e7(this)},s.Ii=function(n){return q7(this,n)},g(wi,"DelegatingNotifyingInternalEListImpl",2060),w(744,2060,Ife),s.Ji=function(){var n;return n=cn(eo(this.b),this.Jj()).Fk(),F(n,159)&&!F(n,459)&&(n.ik().i&1)==0},s.Gc=function(n){var t,i,r,c,o,f,l,h;if(this.ml()){if(h=this.Cj(),h>4)if(this.dk(n)){if(this.$k()){if(r=u(n,52),i=r.Bh(),l=i==this.b&&(this.kl()?r.vh(r.Ch(),u(cn(eo(this.b),this.Jj()).Fk(),29).ik())==ic(u(cn(eo(this.b),this.Jj()),19)).n:-1-r.Ch()==this.Jj()),this.ll()&&!l&&!i&&r.Gh()){for(c=0;c<h;++c)if(t=h_(this,this.vj(c)),Z(t)===Z(n))return!0}return l}else if(this.kl()&&!this.jl()){if(o=u(n,57).Jh(ic(u(cn(eo(this.b),this.Jj()),19))),Z(o)===Z(this.b))return!0;if(o==null||!u(o,57).Sh())return!1}}else return!1;if(f=this.sj(n),this.ll()&&!f){for(c=0;c<h;++c)if(r=h_(this,this.vj(c)),Z(r)===Z(n))return!0}return f}else return this.sj(n)},s.Gj=function(n,t,i,r,c){return new ia(this.b,n,this.Jj(),t,i,r,c)},s.Hj=function(n){Gt(this.b,n)},s.Dk=function(n){return this},s.Ij=function(){return cn(eo(this.b),this.Jj())},s.Jj=function(){return vi(eo(this.b),cn(eo(this.b),this.Jj()))},s.hj=function(){return this.b},s.il=function(){return!!cn(eo(this.b),this.Jj()).Fk().ik()},s.Kj=function(){var n,t;return t=cn(eo(this.b),this.Jj()),F(t,103)?(n=u(t,19),(n.Bb&cu)!=0||!!ic(u(t,19))):!1},s.jl=function(){var n,t,i,r;return t=cn(eo(this.b),this.Jj()),F(t,103)?(n=u(t,19),i=ic(n),!!i&&(r=i.t,r>1||r==-1)):!1},s.kl=function(){var n,t,i;return t=cn(eo(this.b),this.Jj()),F(t,103)?(n=u(t,19),i=ic(n),!!i):!1},s.ll=function(){var n,t;return t=cn(eo(this.b),this.Jj()),F(t,103)?(n=u(t,19),(n.Bb&Yr)!=0):!1},s.bd=function(n){var t,i,r,c;if(r=this.xj(n),r>=0)return r;if(this.ml()){for(i=0,c=this.Cj();i<c;++i)if(t=h_(this,this.vj(i)),Z(t)===Z(n))return i}return-1},s.Lj=function(n,t){var i;return i=u(n,52),this.kl()?this.il()?i.Oh(this.b,ic(u(cn(eo(this.b),this.Jj()),19)).n,u(cn(eo(this.b),this.Jj()).Fk(),29).ik(),t):i.Oh(this.b,vi(i.Ah(),ic(u(cn(eo(this.b),this.Jj()),19))),null,t):i.Oh(this.b,-1-this.Jj(),null,t)},s.Mj=function(n,t){var i;return i=u(n,52),this.kl()?this.il()?i.Qh(this.b,ic(u(cn(eo(this.b),this.Jj()),19)).n,u(cn(eo(this.b),this.Jj()).Fk(),29).ik(),t):i.Qh(this.b,vi(i.Ah(),ic(u(cn(eo(this.b),this.Jj()),19))),null,t):i.Qh(this.b,-1-this.Jj(),null,t)},s.$k=function(){var n,t;return t=cn(eo(this.b),this.Jj()),F(t,103)?(n=u(t,19),(n.Bb&cu)!=0):!1},s.ml=function(){return F(cn(eo(this.b),this.Jj()).Fk(),88)},s.dk=function(n){return cn(eo(this.b),this.Jj()).Fk().dk(n)},s.Nj=function(){return Vo(this.b)},s.Oj=function(){return!this.yj()},s.Qi=function(){return cn(eo(this.b),this.Jj()).Qi()},s.Ui=function(n,t){return _E(this,n,t)},s.Wb=function(n){e9(this),Ii(this,u(n,16))},s.Nc=function(){var n;if(this.ll())for(n=this.Cj()-1;n>=0;--n)_E(this,n,this.vj(n));return this.Dj()},s.Oc=function(n){var t;if(this.ll())for(t=this.Cj()-1;t>=0;--t)_E(this,t,this.vj(t));return this.Ej(n)},s.Ek=function(){e9(this)},s.Xi=function(n,t){return qLe(this,n,t)},g(wi,"DelegatingEcoreEList",744),w(1141,744,Ife,QSe),s.oj=function(n,t){o2n(this,n,u(t,29))},s.pj=function(n){Xwn(this,u(n,29))},s.vj=function(n){var t,i;return t=u(R(bu(this.a),n),87),i=t.c,F(i,88)?u(i,29):(nn(),mf)},s.Aj=function(n){var t,i;return t=u(Zw(bu(this.a),n),87),i=t.c,F(i,88)?u(i,29):(nn(),mf)},s.Bj=function(n,t){return wxn(this,n,u(t,29))},s.Ji=function(){return!1},s.Gj=function(n,t,i,r,c){return null},s.qj=function(){return new Jje(this)},s.rj=function(){nt(bu(this.a))},s.sj=function(n){return NBe(this,n)},s.tj=function(n){var t,i;for(i=n.Jc();i.Ob();)if(t=i.Pb(),!NBe(this,t))return!1;return!0},s.uj=function(n){var t,i,r;if(F(n,16)&&(r=u(n,16),r.gc()==bu(this.a).i)){for(t=r.Jc(),i=new Rn(this);t.Ob();)if(Z(t.Pb())!==Z(Jn(i)))return!1;return!0}return!1},s.wj=function(){var n,t,i,r,c;for(i=1,t=new Rn(bu(this.a));t.e!=t.i.gc();)n=u(Jn(t),87),r=(c=n.c,F(c,88)?u(c,29):(nn(),mf)),i=31*i+(r?K0(r):0);return i},s.xj=function(n){var t,i,r,c;for(r=0,i=new Rn(bu(this.a));i.e!=i.i.gc();){if(t=u(Jn(i),87),Z(n)===Z((c=t.c,F(c,88)?u(c,29):(nn(),mf))))return r;++r}return-1},s.yj=function(){return bu(this.a).i==0},s.zj=function(){return null},s.Cj=function(){return bu(this.a).i},s.Dj=function(){var n,t,i,r,c,o;for(o=bu(this.a).i,c=ee(ir,ln,1,o,5,1),i=0,t=new Rn(bu(this.a));t.e!=t.i.gc();)n=u(Jn(t),87),c[i++]=(r=n.c,F(r,88)?u(r,29):(nn(),mf));return c},s.Ej=function(n){var t,i,r,c,o,f,l;for(l=bu(this.a).i,n.length<l&&(c=H7(ns(n).c,l),n=c),n.length>l&&Ni(n,l,null),r=0,i=new Rn(bu(this.a));i.e!=i.i.gc();)t=u(Jn(i),87),o=(f=t.c,F(f,88)?u(f,29):(nn(),mf)),Ni(n,r++,o);return n},s.Fj=function(){var n,t,i,r,c;for(c=new Ia,c.a+="[",n=bu(this.a),t=0,r=bu(this.a).i;t<r;)ac(c,R6((i=u(R(n,t),87).c,F(i,88)?u(i,29):(nn(),mf)))),++t<r&&(c.a+=Ju);return c.a+="]",c.a},s.Hj=function(n){},s.Jj=function(){return 10},s.il=function(){return!0},s.Kj=function(){return!1},s.jl=function(){return!1},s.kl=function(){return!1},s.ll=function(){return!0},s.$k=function(){return!1},s.ml=function(){return!0},s.dk=function(n){return F(n,88)},s.Oj=function(){return c6n(this.a)},s.Qi=function(){return!0},s.Wi=function(){return!0},g(yn,"EClassImpl/8",1141),w(1142,2027,N4,Jje),s.dd=function(n){return q7(this.a,n)},s.gc=function(){return bu(this.a.a).i},g(yn,"EClassImpl/8/1",1142),w(1143,492,ah,Q6e),s.$i=function(n){return ee(bl,ln,143,n,0,1)},s.Wi=function(){return!1},g(yn,"EClassImpl/9",1143),w(1130,48,pue,Pxe),g(yn,"EClassImpl/MyHashSet",1130),w(563,360,{109:1,94:1,93:1,143:1,159:1,832:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,161:1,117:1,118:1,681:1},EA),s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return gb(this);case 4:return this.gk();case 5:return this.F;case 6:return t?ds(this):$v(this);case 7:return!this.A&&(this.A=new go(Yu,this,7)),this.A;case 8:return gn(),(this.Bb&256)!=0}return $s(this,n-Un(this.fi()),cn((r=u(Mn(this,16),29),r||this.fi()),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!gb(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!$v(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0}return Ns(this,n-Un(this.fi()),cn((t=u(Mn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:CC(this,dt(t));return;case 2:kL(this,dt(t));return;case 5:C4(this,dt(t));return;case 7:!this.A&&(this.A=new go(Yu,this,7)),nt(this.A),!this.A&&(this.A=new go(Yu,this,7)),Ii(this.A,u(t,18));return;case 8:IT(this,Se(Te(t)));return}Bs(this,n-Un(this.fi()),cn((i=u(Mn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return nn(),Xln},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return;case 1:F(this.Cb,184)&&(u(this.Cb,184).tb=null),Ru(this,null);return;case 2:e4(this,null),Gv(this,this.D);return;case 5:C4(this,null);return;case 7:!this.A&&(this.A=new go(Yu,this,7)),nt(this.A);return;case 8:IT(this,!0);return}Rs(this,n-Un(this.fi()),cn((t=u(Mn(this,16),29),t||this.fi()),n))},s.mi=function(){za((ko(),$r),this).ve(),this.Bb|=1},s.mk=function(){var n,t,i;if(!this.c&&(n=gze(ds(this)),!n.dc()))for(i=n.Jc();i.Ob();)t=dt(i.Pb()),Ky(this,t)&&V7n(this);return this.b},s.gk=function(){var n;if(!this.e){n=null;try{n=gb(this)}catch(t){if(t=_i(t),!F(t,101))throw I(t)}this.d=null,n&&(n.i&1)!=0&&(n==ao?this.d=(gn(),id):n==bt?this.d=le(0):n==Qg?this.d=new kk(0):n==jr?this.d=0:n==Qb?this.d=zw(0):n==Jp?this.d=t4(0):n==Ao?this.d=B7(0):this.d=X7(0)),this.e=!0}return this.d},s.lk=function(){return(this.Bb&256)!=0},s.pl=function(n){n&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},s.el=function(n){qFe(this,n),this.pl(n)},s.fl=function(n){this.C=n,this.e=!1},s.Ib=function(){var n;return(this.Db&64)!=0?FT(this):(n=new ef(FT(this)),n.a+=" (serializable: ",Pa(n,(this.Bb&256)!=0),n.a+=")",n.a)},s.c=!1,s.d=null,s.e=!1,g(yn,"EDataTypeImpl",563),w(459,563,{109:1,94:1,93:1,143:1,159:1,832:1,675:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,459:1,161:1,117:1,118:1,681:1},Oxe),s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return gb(this);case 4:return ite(this);case 5:return this.F;case 6:return t?ds(this):$v(this);case 7:return!this.A&&(this.A=new go(Yu,this,7)),this.A;case 8:return gn(),(this.Bb&256)!=0;case 9:return!this.a&&(this.a=new se(ja,this,9,5)),this.a}return $s(this,n-Un((nn(),Ed)),cn((r=u(Mn(this,16),29),r||Ed),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Bu(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?XR(this,i):this.Cb.Qh(this,-1-c,null,i))),ms(this,n,6,i);case 9:return!this.a&&(this.a=new se(ja,this,9,5)),Bu(this.a,n,i)}return o=u(cn((r=u(Mn(this,16),29),r||(nn(),Ed)),t),69),o.uk().xk(this,Uu(this),t-Un((nn(),Ed)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Wr(this.Ab,n,i);case 6:return ms(this,null,6,i);case 7:return!this.A&&(this.A=new go(Yu,this,7)),Wr(this.A,n,i);case 9:return!this.a&&(this.a=new se(ja,this,9,5)),Wr(this.a,n,i)}return c=u(cn((r=u(Mn(this,16),29),r||(nn(),Ed)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),Ed)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!gb(this);case 4:return!!ite(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!$v(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return Ns(this,n-Un((nn(),Ed)),cn((t=u(Mn(this,16),29),t||Ed),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:CC(this,dt(t));return;case 2:kL(this,dt(t));return;case 5:C4(this,dt(t));return;case 7:!this.A&&(this.A=new go(Yu,this,7)),nt(this.A),!this.A&&(this.A=new go(Yu,this,7)),Ii(this.A,u(t,18));return;case 8:IT(this,Se(Te(t)));return;case 9:!this.a&&(this.a=new se(ja,this,9,5)),nt(this.a),!this.a&&(this.a=new se(ja,this,9,5)),Ii(this.a,u(t,18));return}Bs(this,n-Un((nn(),Ed)),cn((i=u(Mn(this,16),29),i||Ed),n),t)},s.fi=function(){return nn(),Ed},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return;case 1:F(this.Cb,184)&&(u(this.Cb,184).tb=null),Ru(this,null);return;case 2:e4(this,null),Gv(this,this.D);return;case 5:C4(this,null);return;case 7:!this.A&&(this.A=new go(Yu,this,7)),nt(this.A);return;case 8:IT(this,!0);return;case 9:!this.a&&(this.a=new se(ja,this,9,5)),nt(this.a);return}Rs(this,n-Un((nn(),Ed)),cn((t=u(Mn(this,16),29),t||Ed),n))},s.mi=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n<t;++n)n7(R(this.a,n));za((ko(),$r),this).ve(),this.Bb|=1},s.gk=function(){return ite(this)},s.dk=function(n){return n!=null},s.pl=function(n){},g(yn,"EEnumImpl",459),w(568,439,{109:1,94:1,93:1,2004:1,684:1,158:1,197:1,57:1,114:1,52:1,100:1,568:1,161:1,117:1,118:1},Wje),s.ve=function(){return this.zb},s.xh=function(n){return $Ge(this,n)},s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return le(this.d);case 3:return this.b?this.b:this.a;case 4:return c=this.c,c??this.zb;case 5:return this.Db>>16==5?u(this.Cb,675):null}return $s(this,n-Un((nn(),d1)),cn((r=u(Mn(this,16),29),r||d1),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Bu(this.Ab,n,i);case 5:return this.Cb&&(i=(c=this.Db>>16,c>=0?$Ge(this,i):this.Cb.Qh(this,-1-c,null,i))),ms(this,n,5,i)}return o=u(cn((r=u(Mn(this,16),29),r||(nn(),d1)),t),69),o.uk().xk(this,Uu(this),t-Un((nn(),d1)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Wr(this.Ab,n,i);case 5:return ms(this,null,5,i)}return c=u(cn((r=u(Mn(this,16),29),r||(nn(),d1)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),d1)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&u(this.Cb,675))}return Ns(this,n-Un((nn(),d1)),cn((t=u(Mn(this,16),29),t||d1),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:Ru(this,dt(t));return;case 2:MF(this,u(t,15).a);return;case 3:_qe(this,u(t,2004));return;case 4:TF(this,dt(t));return}Bs(this,n-Un((nn(),d1)),cn((i=u(Mn(this,16),29),i||d1),n),t)},s.fi=function(){return nn(),d1},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return;case 1:Ru(this,null);return;case 2:MF(this,0);return;case 3:_qe(this,null);return;case 4:TF(this,null);return}Rs(this,n-Un((nn(),d1)),cn((t=u(Mn(this,16),29),t||d1),n))},s.Ib=function(){var n;return n=this.c,n??this.zb},s.b=null,s.c=null,s.d=0,g(yn,"EEnumLiteralImpl",568);var CRn=yi(yn,"EFactoryImpl/InternalEDateTimeFormat");w(485,1,{2079:1},xk),g(yn,"EFactoryImpl/1ClientInternalEDateTimeFormat",485),w(248,118,{109:1,94:1,93:1,87:1,57:1,114:1,52:1,100:1,248:1,117:1,118:1},J0),s.zh=function(n,t,i){var r;return i=ms(this,n,t,i),this.e&&F(n,179)&&(r=vS(this,this.e),r!=this.c&&(i=T4(this,r,i))),i},s.Ih=function(n,t,i){var r;switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new Wi(hc,this,1)),this.d;case 2:return t?PS(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?RR(this):this.a}return $s(this,n-Un((nn(),Kb)),cn((r=u(Mn(this,16),29),r||Kb),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return yBe(this,null,i);case 1:return!this.d&&(this.d=new Wi(hc,this,1)),Wr(this.d,n,i);case 3:return vBe(this,null,i)}return c=u(cn((r=u(Mn(this,16),29),r||(nn(),Kb)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),Kb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return Ns(this,n-Un((nn(),Kb)),cn((t=u(Mn(this,16),29),t||Kb),n))},s.$h=function(n,t){var i;switch(n){case 0:ZGe(this,u(t,87));return;case 1:!this.d&&(this.d=new Wi(hc,this,1)),nt(this.d),!this.d&&(this.d=new Wi(hc,this,1)),Ii(this.d,u(t,18));return;case 3:Pie(this,u(t,87));return;case 4:Vie(this,u(t,835));return;case 5:Jv(this,u(t,143));return}Bs(this,n-Un((nn(),Kb)),cn((i=u(Mn(this,16),29),i||Kb),n),t)},s.fi=function(){return nn(),Kb},s.hi=function(n){var t;switch(n){case 0:ZGe(this,null);return;case 1:!this.d&&(this.d=new Wi(hc,this,1)),nt(this.d);return;case 3:Pie(this,null);return;case 4:Vie(this,null);return;case 5:Jv(this,null);return}Rs(this,n-Un((nn(),Kb)),cn((t=u(Mn(this,16),29),t||Kb),n))},s.Ib=function(){var n;return n=new ss(Of(this)),n.a+=" (expression: ",XB(this,n),n.a+=")",n.a};var jge;g(yn,"EGenericTypeImpl",248),w(2032,2027,_I),s.Ei=function(n,t){WSe(this,n,t)},s.Uk=function(n,t){return WSe(this,this.gc(),n),t},s.Yi=function(n){return wu(this.nj(),n)},s.Gi=function(){return this.Hi()},s.nj=function(){return new Uje(this)},s.Hi=function(){return this.Ii(0)},s.Ii=function(n){return this.nj().dd(n)},s.Vk=function(n,t){return Hw(this,n,!0),t},s.Ri=function(n,t){var i,r;return r=VR(this,t),i=this.dd(n),i.Rb(r),r},s.Si=function(n,t){var i;Hw(this,t,!0),i=this.dd(n),i.Rb(t)},g(wi,"AbstractSequentialInternalEList",2032),w(482,2032,_I,Zk),s.Yi=function(n){return wu(this.nj(),n)},s.Gi=function(){return this.b==null?($a(),$a(),Nx):this.ql()},s.nj=function(){return new wTe(this.a,this.b)},s.Hi=function(){return this.b==null?($a(),$a(),Nx):this.ql()},s.Ii=function(n){var t,i;if(this.b==null){if(n<0||n>1)throw I(new Lu(A9+n+", size=0"));return $a(),$a(),Nx}for(i=this.ql(),t=0;t<n;++t)vT(i);return i},s.dc=function(){var n,t,i,r,c,o;if(this.b!=null){for(i=0;i<this.b.length;++i)if(n=this.b[i],!this.tl()||this.a.Uh(n)){if(o=this.a.Kh(n,!1),tc(),u(n,69).vk()){for(t=u(o,163),r=0,c=t.gc();r<c;++r)if(AOe(t.Rl(r))&&t.Sl(r)!=null)return!1}else if(n.Hk()){if(!u(o,18).dc())return!1}else if(o!=null)return!1}}return!0},s.Jc=function(){return yne(this)},s.dd=function(n){var t,i;if(this.b==null){if(n!=0)throw I(new Lu(A9+n+", size=0"));return $a(),$a(),Nx}for(i=this.sl()?this.rl():this.ql(),t=0;t<n;++t)vT(i);return i},s.Ri=function(n,t){throw I(new ht)},s.Si=function(n,t){throw I(new ht)},s.ql=function(){return new IM(this.a,this.b)},s.rl=function(){return new HQ(this.a,this.b)},s.sl=function(){return!0},s.gc=function(){var n,t,i,r,c,o,f;if(c=0,this.b!=null){for(i=0;i<this.b.length;++i)if(n=this.b[i],!this.tl()||this.a.Uh(n))if(f=this.a.Kh(n,!1),tc(),u(n,69).vk())for(t=u(f,163),r=0,o=t.gc();r<o;++r)AOe(t.Rl(r))&&t.Sl(r)!=null&&++c;else n.Hk()?c+=u(f,18).gc():f!=null&&++c}return c},s.tl=function(){return!0};var JX;g(wi,"EContentsEList",482),w(1147,482,_I,DSe),s.ql=function(){return new LSe(this.a,this.b)},s.rl=function(){return new _Se(this.a,this.b)},s.tl=function(){return!1},g(yn,"ENamedElementImpl/1",1147),w(287,1,FI,IM),s.Nb=function(n){Or(this,n)},s.Rb=function(n){throw I(new ht)},s.ul=function(n){if(this.g!=0||this.e)throw I(new gc("Iterator already in use or already filtered"));this.e=n},s.Ob=function(){var n,t,i,r,c,o;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(!this.k||(this.p?!VHe(this,this.p):!Rqe(this))){for(;this.d<this.c.length;)if(t=this.c[this.d++],(!this.e||t.nk()!=q5||t.Jj()!=0)&&(!this.tl()||this.b.Uh(t))){if(o=this.b.Kh(t,this.sl()),this.f=(tc(),u(t,69).vk()),this.f||t.Hk()){if(this.sl()?(r=u(o,16),this.k=r):(r=u(o,72),this.k=this.j=r),F(this.k,59)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.Hi():this.k.cd(),this.p?VHe(this,this.p):Rqe(this))return c=this.p?this.p.Pb():this.j?this.j.Yi(this.n++):this.k.Xb(this.n++),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=3,!0}else if(o!=null)return this.k=null,this.p=null,i=o,this.i=i,this.g=2,!0}return this.k=null,this.p=null,this.f=!1,this.g=1,!1}else return c=this.p?this.p.Pb():this.j?this.j.Yi(this.n++):this.k.Xb(this.n++),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=3,!0}},s.Sb=function(){var n,t,i,r,c,o;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(!this.k||(this.p?!QHe(this,this.p):!oqe(this))){for(;this.d>0;)if(t=this.c[--this.d],(!this.e||t.nk()!=q5||t.Jj()!=0)&&(!this.tl()||this.b.Uh(t))){if(o=this.b.Kh(t,this.sl()),this.f=(tc(),u(t,69).vk()),this.f||t.Hk()){if(this.sl()?(r=u(o,16),this.k=r):(r=u(o,72),this.k=this.j=r),F(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ii(this.k.gc()):this.k.dd(this.k.gc()),this.p?QHe(this,this.p):oqe(this))return c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}else if(o!=null)return this.k=null,this.p=null,i=o,this.i=i,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}},s.Pb=function(){return vT(this)},s.Tb=function(){return this.a},s.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw I(new $c)},s.Vb=function(){return this.a-1},s.Qb=function(){throw I(new ht)},s.sl=function(){return!1},s.Wb=function(n){throw I(new ht)},s.tl=function(){return!0},s.a=0,s.d=0,s.f=!1,s.g=0,s.n=0,s.o=0;var Nx;g(wi,"EContentsEList/FeatureIteratorImpl",287),w(700,287,FI,HQ),s.sl=function(){return!0},g(wi,"EContentsEList/ResolvingFeatureIteratorImpl",700),w(1148,700,FI,_Se),s.tl=function(){return!1},g(yn,"ENamedElementImpl/1/1",1148),w(1149,287,FI,LSe),s.tl=function(){return!1},g(yn,"ENamedElementImpl/1/2",1149),w(39,151,gj,Nw,Z_,hr,aF,ia,Mf,nne,E$e,tne,j$e,yee,x$e,cne,A$e,vee,M$e,ine,C$e,X6,O7,O_,rne,T$e,mee,k$e),s.Ij=function(){return Fee(this)},s.Pj=function(){var n;return n=Fee(this),n?n.gk():null},s.fj=function(n){return this.b==-1&&this.a&&(this.b=this.c.Eh(this.a.Jj(),this.a.nk())),this.c.vh(this.b,n)},s.hj=function(){return this.c},s.Qj=function(){var n;return n=Fee(this),n?n.rk():!1},s.b=-1,g(yn,"ENotificationImpl",39),w(403,293,{109:1,94:1,93:1,158:1,197:1,57:1,62:1,114:1,470:1,52:1,100:1,161:1,403:1,293:1,117:1,118:1},wD),s.xh=function(n){return LGe(this,n)},s.Ih=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return gn(),(this.Bb&256)!=0;case 3:return gn(),(this.Bb&512)!=0;case 4:return le(this.s);case 5:return le(this.t);case 6:return gn(),o=this.t,o>1||o==-1;case 7:return gn(),c=this.s,c>=1;case 8:return t?uf(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,29):null;case 11:return!this.d&&(this.d=new go(Yu,this,11)),this.d;case 12:return!this.c&&(this.c=new se(Xb,this,12,10)),this.c;case 13:return!this.a&&(this.a=new r7(this,this)),this.a;case 14:return Jo(this)}return $s(this,n-Un((nn(),b1)),cn((r=u(Mn(this,16),29),r||b1),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Bu(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?LGe(this,i):this.Cb.Qh(this,-1-c,null,i))),ms(this,n,10,i);case 12:return!this.c&&(this.c=new se(Xb,this,12,10)),Bu(this.c,n,i)}return o=u(cn((r=u(Mn(this,16),29),r||(nn(),b1)),t),69),o.uk().xk(this,Uu(this),t-Un((nn(),b1)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Wr(this.Ab,n,i);case 9:return m_(this,i);case 10:return ms(this,null,10,i);case 11:return!this.d&&(this.d=new go(Yu,this,11)),Wr(this.d,n,i);case 12:return!this.c&&(this.c=new se(Xb,this,12,10)),Wr(this.c,n,i);case 14:return Wr(Jo(this),n,i)}return c=u(cn((r=u(Mn(this,16),29),r||(nn(),b1)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),b1)),n,i)},s.Th=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Y0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Y0(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&Jo(this.a.a).i!=0&&!(this.b&&_R(this.b));case 14:return!!this.b&&_R(this.b)}return Ns(this,n-Un((nn(),b1)),cn((t=u(Mn(this,16),29),t||b1),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:Ru(this,dt(t));return;case 2:Ua(this,Se(Te(t)));return;case 3:Xa(this,Se(Te(t)));return;case 4:Ga(this,u(t,15).a);return;case 5:_w(this,u(t,15).a);return;case 8:e0(this,u(t,143));return;case 9:r=Ml(this,u(t,87),null),r&&r.mj();return;case 11:!this.d&&(this.d=new go(Yu,this,11)),nt(this.d),!this.d&&(this.d=new go(Yu,this,11)),Ii(this.d,u(t,18));return;case 12:!this.c&&(this.c=new se(Xb,this,12,10)),nt(this.c),!this.c&&(this.c=new se(Xb,this,12,10)),Ii(this.c,u(t,18));return;case 13:!this.a&&(this.a=new r7(this,this)),e9(this.a),!this.a&&(this.a=new r7(this,this)),Ii(this.a,u(t,18));return;case 14:nt(Jo(this)),Ii(Jo(this),u(t,18));return}Bs(this,n-Un((nn(),b1)),cn((i=u(Mn(this,16),29),i||b1),n),t)},s.fi=function(){return nn(),b1},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return;case 1:Ru(this,null);return;case 2:Ua(this,!0);return;case 3:Xa(this,!0);return;case 4:Ga(this,0);return;case 5:_w(this,1);return;case 8:e0(this,null);return;case 9:i=Ml(this,null,null),i&&i.mj();return;case 11:!this.d&&(this.d=new go(Yu,this,11)),nt(this.d);return;case 12:!this.c&&(this.c=new se(Xb,this,12,10)),nt(this.c);return;case 13:this.a&&e9(this.a);return;case 14:this.b&&nt(this.b);return}Rs(this,n-Un((nn(),b1)),cn((t=u(Mn(this,16),29),t||b1),n))},s.mi=function(){var n,t;if(this.c)for(n=0,t=this.c.i;n<t;++n)n7(R(this.c,n));uf(this),this.Bb|=1},g(yn,"EOperationImpl",403),w(500,744,Ife,r7),s.oj=function(n,t){u2n(this,n,u(t,143))},s.pj=function(n){Kwn(this,u(n,143))},s.vj=function(n){var t,i;return t=u(R(Jo(this.a),n),87),i=t.c,i||(nn(),Hl)},s.Aj=function(n){var t,i;return t=u(Zw(Jo(this.a),n),87),i=t.c,i||(nn(),Hl)},s.Bj=function(n,t){return ujn(this,n,u(t,143))},s.Ji=function(){return!1},s.Gj=function(n,t,i,r,c){return null},s.qj=function(){return new Gje(this)},s.rj=function(){nt(Jo(this.a))},s.sj=function(n){return _Be(this,n)},s.tj=function(n){var t,i;for(i=n.Jc();i.Ob();)if(t=i.Pb(),!_Be(this,t))return!1;return!0},s.uj=function(n){var t,i,r;if(F(n,16)&&(r=u(n,16),r.gc()==Jo(this.a).i)){for(t=r.Jc(),i=new Rn(this);t.Ob();)if(Z(t.Pb())!==Z(Jn(i)))return!1;return!0}return!1},s.wj=function(){var n,t,i,r,c;for(i=1,t=new Rn(Jo(this.a));t.e!=t.i.gc();)n=u(Jn(t),87),r=(c=n.c,c||(nn(),Hl)),i=31*i+(r?si(r):0);return i},s.xj=function(n){var t,i,r,c;for(r=0,i=new Rn(Jo(this.a));i.e!=i.i.gc();){if(t=u(Jn(i),87),Z(n)===Z((c=t.c,c||(nn(),Hl))))return r;++r}return-1},s.yj=function(){return Jo(this.a).i==0},s.zj=function(){return null},s.Cj=function(){return Jo(this.a).i},s.Dj=function(){var n,t,i,r,c,o;for(o=Jo(this.a).i,c=ee(ir,ln,1,o,5,1),i=0,t=new Rn(Jo(this.a));t.e!=t.i.gc();)n=u(Jn(t),87),c[i++]=(r=n.c,r||(nn(),Hl));return c},s.Ej=function(n){var t,i,r,c,o,f,l;for(l=Jo(this.a).i,n.length<l&&(c=H7(ns(n).c,l),n=c),n.length>l&&Ni(n,l,null),r=0,i=new Rn(Jo(this.a));i.e!=i.i.gc();)t=u(Jn(i),87),o=(f=t.c,f||(nn(),Hl)),Ni(n,r++,o);return n},s.Fj=function(){var n,t,i,r,c;for(c=new Ia,c.a+="[",n=Jo(this.a),t=0,r=Jo(this.a).i;t<r;)ac(c,R6((i=u(R(n,t),87).c,i||(nn(),Hl)))),++t<r&&(c.a+=Ju);return c.a+="]",c.a},s.Hj=function(n){},s.Jj=function(){return 13},s.il=function(){return!0},s.Kj=function(){return!1},s.jl=function(){return!1},s.kl=function(){return!1},s.ll=function(){return!0},s.$k=function(){return!1},s.ml=function(){return!0},s.dk=function(n){return F(n,143)},s.Oj=function(){return s6n(this.a)},s.Qi=function(){return!0},s.Wi=function(){return!0},g(yn,"EOperationImpl/1",500),w(1331,2027,N4,Gje),s.dd=function(n){return q7(this.a,n)},s.gc=function(){return Jo(this.a.a).i},g(yn,"EOperationImpl/1/1",1331),w(1332,544,Nc,DPe),s.Ri=function(n,t){var i,r;return i=u(My(this,n,t),87),Vo(this.e)&&iv(this,new O7(this.a,7,(nn(),Vln),le(t),(r=i.c,r||Hl),n)),i},s.Sj=function(n,t){return N7n(this,u(n,87),t)},s.Tj=function(n,t){return O7n(this,u(n,87),t)},s.Uj=function(n,t,i){return yjn(this,u(n,87),u(t,87),i)},s.Gj=function(n,t,i,r,c){switch(n){case 3:return ny(this,n,t,i,r,this.i>1);case 5:return ny(this,n,t,i,r,this.i-u(i,16).gc()>0);default:return new ia(this.e,n,this.c,t,i,r,!0)}},s.Rj=function(){return!0},s.Oj=function(){return _R(this)},s.Ek=function(){nt(this)},g(yn,"EOperationImpl/2",1332),w(493,1,{2002:1,493:1},KCe),g(yn,"EPackageImpl/1",493),w(14,81,Nc,se),s.gl=function(){return this.d},s.hl=function(){return this.b},s.kl=function(){return!0},s.b=0,g(wi,"EObjectContainmentWithInverseEList",14),w(361,14,Nc,gm),s.ll=function(){return!0},s.Ui=function(n,t){return Ym(this,n,u(t,57))},g(wi,"EObjectContainmentWithInverseEList/Resolving",361),w(313,361,Nc,xw),s.Li=function(){this.a.tb=null},g(yn,"EPackageImpl/2",313),w(1244,1,{},Xdn),g(yn,"EPackageImpl/3",1244),w(721,44,Z2,UW),s._b=function(n){return mr(n)?$_(this,n):!!pc(this.f,n)},g(yn,"EPackageRegistryImpl",721),w(504,293,{109:1,94:1,93:1,158:1,197:1,57:1,2081:1,114:1,470:1,52:1,100:1,161:1,504:1,293:1,117:1,118:1},gD),s.xh=function(n){return _Ge(this,n)},s.Ih=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return gn(),(this.Bb&256)!=0;case 3:return gn(),(this.Bb&512)!=0;case 4:return le(this.s);case 5:return le(this.t);case 6:return gn(),o=this.t,o>1||o==-1;case 7:return gn(),c=this.s,c>=1;case 8:return t?uf(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,62):null}return $s(this,n-Un((nn(),Wg)),cn((r=u(Mn(this,16),29),r||Wg),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Bu(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?_Ge(this,i):this.Cb.Qh(this,-1-c,null,i))),ms(this,n,10,i)}return o=u(cn((r=u(Mn(this,16),29),r||(nn(),Wg)),t),69),o.uk().xk(this,Uu(this),t-Un((nn(),Wg)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Wr(this.Ab,n,i);case 9:return m_(this,i);case 10:return ms(this,null,10,i)}return c=u(cn((r=u(Mn(this,16),29),r||(nn(),Wg)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),Wg)),n,i)},s.Th=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Y0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Y0(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,62))}return Ns(this,n-Un((nn(),Wg)),cn((t=u(Mn(this,16),29),t||Wg),n))},s.fi=function(){return nn(),Wg},g(yn,"EParameterImpl",504),w(103,451,{109:1,94:1,93:1,158:1,197:1,57:1,19:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,103:1,451:1,293:1,117:1,118:1,682:1},XQ),s.Ih=function(n,t,i){var r,c,o,f;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return gn(),(this.Bb&256)!=0;case 3:return gn(),(this.Bb&512)!=0;case 4:return le(this.s);case 5:return le(this.t);case 6:return gn(),f=this.t,f>1||f==-1;case 7:return gn(),c=this.s,c>=1;case 8:return t?uf(this):this.r;case 9:return this.q;case 10:return gn(),(this.Bb&Df)!=0;case 11:return gn(),(this.Bb&e1)!=0;case 12:return gn(),(this.Bb&cg)!=0;case 13:return this.j;case 14:return y4(this);case 15:return gn(),(this.Bb&jo)!=0;case 16:return gn(),(this.Bb&ch)!=0;case 17:return Sw(this);case 18:return gn(),(this.Bb&cu)!=0;case 19:return gn(),o=ic(this),!!(o&&(o.Bb&cu)!=0);case 20:return gn(),(this.Bb&Yr)!=0;case 21:return t?ic(this):this.b;case 22:return t?Rne(this):HDe(this);case 23:return!this.a&&(this.a=new j2(Ug,this,23)),this.a}return $s(this,n-Un((nn(),_p)),cn((r=u(Mn(this,16),29),r||_p),n),t,i)},s.Th=function(n){var t,i,r,c;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return c=this.t,c>1||c==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Y0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Y0(this.q).i==0);case 10:return(this.Bb&Df)==0;case 11:return(this.Bb&e1)!=0;case 12:return(this.Bb&cg)!=0;case 13:return this.j!=null;case 14:return y4(this)!=null;case 15:return(this.Bb&jo)!=0;case 16:return(this.Bb&ch)!=0;case 17:return!!Sw(this);case 18:return(this.Bb&cu)!=0;case 19:return r=ic(this),!!r&&(r.Bb&cu)!=0;case 20:return(this.Bb&Yr)==0;case 21:return!!this.b;case 22:return!!HDe(this);case 23:return!!this.a&&this.a.i!=0}return Ns(this,n-Un((nn(),_p)),cn((t=u(Mn(this,16),29),t||_p),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:q_(this,dt(t));return;case 2:Ua(this,Se(Te(t)));return;case 3:Xa(this,Se(Te(t)));return;case 4:Ga(this,u(t,15).a);return;case 5:_w(this,u(t,15).a);return;case 8:e0(this,u(t,143));return;case 9:r=Ml(this,u(t,87),null),r&&r.mj();return;case 10:r4(this,Se(Te(t)));return;case 11:u4(this,Se(Te(t)));return;case 12:c4(this,Se(Te(t)));return;case 13:uQ(this,dt(t));return;case 15:i4(this,Se(Te(t)));return;case 16:o4(this,Se(Te(t)));return;case 18:u5n(this,Se(Te(t)));return;case 20:Ate(this,Se(Te(t)));return;case 21:kne(this,u(t,19));return;case 23:!this.a&&(this.a=new j2(Ug,this,23)),nt(this.a),!this.a&&(this.a=new j2(Ug,this,23)),Ii(this.a,u(t,18));return}Bs(this,n-Un((nn(),_p)),cn((i=u(Mn(this,16),29),i||_p),n),t)},s.fi=function(){return nn(),_p},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return;case 1:F(this.Cb,88)&&Vw(Ro(u(this.Cb,88)),4),Ru(this,null);return;case 2:Ua(this,!0);return;case 3:Xa(this,!0);return;case 4:Ga(this,0);return;case 5:_w(this,1);return;case 8:e0(this,null);return;case 9:i=Ml(this,null,null),i&&i.mj();return;case 10:r4(this,!0);return;case 11:u4(this,!1);return;case 12:c4(this,!1);return;case 13:this.i=null,aT(this,null);return;case 15:i4(this,!1);return;case 16:o4(this,!1);return;case 18:xte(this,!1),F(this.Cb,88)&&Vw(Ro(u(this.Cb,88)),2);return;case 20:Ate(this,!0);return;case 21:kne(this,null);return;case 23:!this.a&&(this.a=new j2(Ug,this,23)),nt(this.a);return}Rs(this,n-Un((nn(),_p)),cn((t=u(Mn(this,16),29),t||_p),n))},s.mi=function(){Rne(this),Pv(vc((ko(),$r),this)),uf(this),this.Bb|=1},s.sk=function(){return ic(this)},s.Zk=function(){var n;return n=ic(this),!!n&&(n.Bb&cu)!=0},s.$k=function(){return(this.Bb&cu)!=0},s._k=function(){return(this.Bb&Yr)!=0},s.Wk=function(n,t){return this.c=null,dte(this,n,t)},s.Ib=function(){var n;return(this.Db&64)!=0?SS(this):(n=new ef(SS(this)),n.a+=" (containment: ",Pa(n,(this.Bb&cu)!=0),n.a+=", resolveProxies: ",Pa(n,(this.Bb&Yr)!=0),n.a+=")",n.a)},g(yn,"EReferenceImpl",103),w(550,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,550:1,117:1,118:1},Y6e),s.Fb=function(n){return this===n},s.jd=function(){return this.b},s.kd=function(){return this.c},s.Hb=function(){return K0(this)},s.Ai=function(n){x3n(this,dt(n))},s.ld=function(n){return a3n(this,dt(n))},s.Ih=function(n,t,i){var r;switch(n){case 0:return this.b;case 1:return this.c}return $s(this,n-Un((nn(),nc)),cn((r=u(Mn(this,16),29),r||nc),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return this.b!=null;case 1:return this.c!=null}return Ns(this,n-Un((nn(),nc)),cn((t=u(Mn(this,16),29),t||nc),n))},s.$h=function(n,t){var i;switch(n){case 0:A3n(this,dt(t));return;case 1:bne(this,dt(t));return}Bs(this,n-Un((nn(),nc)),cn((i=u(Mn(this,16),29),i||nc),n),t)},s.fi=function(){return nn(),nc},s.hi=function(n){var t;switch(n){case 0:mne(this,null);return;case 1:bne(this,null);return}Rs(this,n-Un((nn(),nc)),cn((t=u(Mn(this,16),29),t||nc),n))},s.yi=function(){var n;return this.a==-1&&(n=this.b,this.a=n==null?0:Ha(n)),this.a},s.zi=function(n){this.a=n},s.Ib=function(){var n;return(this.Db&64)!=0?Of(this):(n=new ef(Of(this)),n.a+=" (key: ",ac(n,this.b),n.a+=", value: ",ac(n,this.c),n.a+=")",n.a)},s.a=-1,s.b=null,s.c=null;var nu=g(yn,"EStringToStringMapEntryImpl",550),thn=yi(wi,"FeatureMap/Entry/Internal");w(562,1,RI),s.vl=function(n){return this.wl(u(n,52))},s.wl=function(n){return this.vl(n)},s.Fb=function(n){var t,i;return this===n?!0:F(n,75)?(t=u(n,75),t.Jk()==this.c?(i=this.kd(),i==null?t.kd()==null:qt(i,t.kd())):!1):!1},s.Jk=function(){return this.c},s.Hb=function(){var n;return n=this.kd(),si(this.c)^(n==null?0:si(n))},s.Ib=function(){var n,t;return n=this.c,t=ds(n.ok()).vi(),n.ve(),(t!=null&&t.length!=0?t+":"+n.ve():n.ve())+"="+this.kd()},g(yn,"EStructuralFeatureImpl/BasicFeatureMapEntry",562),w(778,562,RI,uY),s.wl=function(n){return new uY(this.c,n)},s.kd=function(){return this.a},s.xl=function(n,t,i){return W8n(this,n,this.a,t,i)},s.yl=function(n,t,i){return V8n(this,n,this.a,t,i)},g(yn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",778),w(1305,1,{},WCe),s.wk=function(n,t,i,r,c){var o;return o=u(_v(n,this.b),219),o.Wl(this.a).Dk(r)},s.xk=function(n,t,i,r,c){var o;return o=u(_v(n,this.b),219),o.Nl(this.a,r,c)},s.yk=function(n,t,i,r,c){var o;return o=u(_v(n,this.b),219),o.Ol(this.a,r,c)},s.zk=function(n,t,i){var r;return r=u(_v(n,this.b),219),r.Wl(this.a).Oj()},s.Ak=function(n,t,i,r){var c;c=u(_v(n,this.b),219),c.Wl(this.a).Wb(r)},s.Bk=function(n,t,i){return u(_v(n,this.b),219).Wl(this.a)},s.Ck=function(n,t,i){var r;r=u(_v(n,this.b),219),r.Wl(this.a).Ek()},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1305),w(89,1,{},La,Gd,Fa,Kd),s.wk=function(n,t,i,r,c){var o;if(o=t.ii(i),o==null&&t.ji(i,o=JS(this,n)),!c)switch(this.e){case 50:case 41:return u(o,587)._j();case 40:return u(o,219).Tl()}return o},s.xk=function(n,t,i,r,c){var o,f;return f=t.ii(i),f==null&&t.ji(i,f=JS(this,n)),o=u(f,72).Uk(r,c),o},s.yk=function(n,t,i,r,c){var o;return o=t.ii(i),o!=null&&(c=u(o,72).Vk(r,c)),c},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null&&u(r,78).Oj()},s.Ak=function(n,t,i,r){var c;c=u(t.ii(i),78),!c&&t.ji(i,c=JS(this,n)),c.Wb(r)},s.Bk=function(n,t,i){var r,c;return c=t.ii(i),c==null&&t.ji(i,c=JS(this,n)),F(c,78)?u(c,78):(r=u(t.ii(i),16),new Hje(r))},s.Ck=function(n,t,i){var r;r=u(t.ii(i),78),!r&&t.ji(i,r=JS(this,n)),r.Ek()},s.b=0,s.e=0,g(yn,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),w(499,1,{}),s.xk=function(n,t,i,r,c){throw I(new ht)},s.yk=function(n,t,i,r,c){throw I(new ht)},s.Bk=function(n,t,i){return new WOe(this,n,t,i)};var Hh;g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",499),w(1322,1,OH,WOe),s.Dk=function(n){return this.a.wk(this.c,this.d,this.b,n,!0)},s.Oj=function(){return this.a.zk(this.c,this.d,this.b)},s.Wb=function(n){this.a.Ak(this.c,this.d,this.b,n)},s.Ek=function(){this.a.Ck(this.c,this.d,this.b)},s.b=0,g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1322),w(771,499,{},JZ),s.wk=function(n,t,i,r,c){return $B(n,n.Mh(),n.Ch())==this.b?this._k()&&r?kB(n):n.Mh():null},s.xk=function(n,t,i,r,c){var o,f;return n.Mh()&&(c=(o=n.Ch(),o>=0?n.xh(c):n.Mh().Qh(n,-1-o,null,c))),f=vi(n.Ah(),this.e),n.zh(r,f,c)},s.yk=function(n,t,i,r,c){var o;return o=vi(n.Ah(),this.e),n.zh(null,o,c)},s.zk=function(n,t,i){var r;return r=vi(n.Ah(),this.e),!!n.Mh()&&n.Ch()==r},s.Ak=function(n,t,i,r){var c,o,f,l,h;if(r!=null&&!FB(this.a,r))throw I(new rv(BI+(F(r,57)?Iie(u(r,57).Ah()):Yee(ns(r)))+JI+this.a+"'"));if(c=n.Mh(),f=vi(n.Ah(),this.e),Z(r)!==Z(c)||n.Ch()!=f&&r!=null){if(a4(n,u(r,57)))throw I(new xn(j9+n.Ib()));h=null,c&&(h=(o=n.Ch(),o>=0?n.xh(h):n.Mh().Qh(n,-1-o,null,h))),l=u(r,52),l&&(h=l.Oh(n,vi(l.Ah(),this.b),null,h)),h=n.zh(l,f,h),h&&h.mj()}else n.sh()&&n.th()&&Gt(n,new hr(n,1,f,r,r))},s.Ck=function(n,t,i){var r,c,o,f;r=n.Mh(),r?(f=(c=n.Ch(),c>=0?n.xh(null):n.Mh().Qh(n,-1-c,null,null)),o=vi(n.Ah(),this.e),f=n.zh(null,o,f),f&&f.mj()):n.sh()&&n.th()&&Gt(n,new X6(n,1,this.e,null,null))},s._k=function(){return!1},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",771),w(1306,771,{},qIe),s._k=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1306),w(560,499,{}),s.wk=function(n,t,i,r,c){var o;return o=t.ii(i),o==null?this.b:Z(o)===Z(Hh)?null:o},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null&&(Z(r)===Z(Hh)||!qt(r,this.b))},s.Ak=function(n,t,i,r){var c,o;n.sh()&&n.th()?(c=(o=t.ii(i),o==null?this.b:Z(o)===Z(Hh)?null:o),r==null?this.c!=null?(t.ji(i,null),r=this.b):this.b!=null?t.ji(i,Hh):t.ji(i,null):(this.zl(r),t.ji(i,r)),Gt(n,this.d.Al(n,1,this.e,c,r))):r==null?this.c!=null?t.ji(i,null):this.b!=null?t.ji(i,Hh):t.ji(i,null):(this.zl(r),t.ji(i,r))},s.Ck=function(n,t,i){var r,c;n.sh()&&n.th()?(r=(c=t.ii(i),c==null?this.b:Z(c)===Z(Hh)?null:c),t.ki(i),Gt(n,this.d.Al(n,1,this.e,r,this.b))):t.ki(i)},s.zl=function(n){throw I(new exe)},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",560),w(sp,1,{},Z6e),s.Al=function(n,t,i,r,c){return new X6(n,t,i,r,c)},s.Bl=function(n,t,i,r,c,o){return new O_(n,t,i,r,c,o)};var xge,Age,Mge,Cge,Tge,Sge,Ige,GX,Pge;g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",sp),w(1323,sp,{},eye),s.Al=function(n,t,i,r,c){return new mee(n,t,i,Se(Te(r)),Se(Te(c)))},s.Bl=function(n,t,i,r,c,o){return new k$e(n,t,i,Se(Te(r)),Se(Te(c)),o)},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1323),w(1324,sp,{},nye),s.Al=function(n,t,i,r,c){return new nne(n,t,i,u(r,221).a,u(c,221).a)},s.Bl=function(n,t,i,r,c,o){return new E$e(n,t,i,u(r,221).a,u(c,221).a,o)},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1324),w(1325,sp,{},tye),s.Al=function(n,t,i,r,c){return new tne(n,t,i,u(r,180).a,u(c,180).a)},s.Bl=function(n,t,i,r,c,o){return new j$e(n,t,i,u(r,180).a,u(c,180).a,o)},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1325),w(1326,sp,{},iye),s.Al=function(n,t,i,r,c){return new yee(n,t,i,q(K(r)),q(K(c)))},s.Bl=function(n,t,i,r,c,o){return new x$e(n,t,i,q(K(r)),q(K(c)),o)},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1326),w(1327,sp,{},rye),s.Al=function(n,t,i,r,c){return new cne(n,t,i,u(r,164).a,u(c,164).a)},s.Bl=function(n,t,i,r,c,o){return new A$e(n,t,i,u(r,164).a,u(c,164).a,o)},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1327),w(1328,sp,{},cye),s.Al=function(n,t,i,r,c){return new vee(n,t,i,u(r,15).a,u(c,15).a)},s.Bl=function(n,t,i,r,c,o){return new M$e(n,t,i,u(r,15).a,u(c,15).a,o)},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1328),w(1329,sp,{},uye),s.Al=function(n,t,i,r,c){return new ine(n,t,i,u(r,190).a,u(c,190).a)},s.Bl=function(n,t,i,r,c,o){return new C$e(n,t,i,u(r,190).a,u(c,190).a,o)},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1329),w(1330,sp,{},oye),s.Al=function(n,t,i,r,c){return new rne(n,t,i,u(r,191).a,u(c,191).a)},s.Bl=function(n,t,i,r,c,o){return new T$e(n,t,i,u(r,191).a,u(c,191).a,o)},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1330),w(1308,560,{},ZOe),s.zl=function(n){if(!this.a.dk(n))throw I(new rv(BI+ns(n)+JI+this.a+"'"))},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1308),w(1309,560,{},LPe),s.zl=function(n){},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1309),w(772,560,{}),s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null},s.Ak=function(n,t,i,r){var c,o;n.sh()&&n.th()?(c=!0,o=t.ii(i),o==null?(c=!1,o=this.b):Z(o)===Z(Hh)&&(o=null),r==null?this.c!=null?(t.ji(i,null),r=this.b):t.ji(i,Hh):(this.zl(r),t.ji(i,r)),Gt(n,this.d.Bl(n,1,this.e,o,r,!c))):r==null?this.c!=null?t.ji(i,null):t.ji(i,Hh):(this.zl(r),t.ji(i,r))},s.Ck=function(n,t,i){var r,c;n.sh()&&n.th()?(r=!0,c=t.ii(i),c==null?(r=!1,c=this.b):Z(c)===Z(Hh)&&(c=null),t.ki(i),Gt(n,this.d.Bl(n,2,this.e,c,this.b,r))):t.ki(i)},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",772),w(1310,772,{},eNe),s.zl=function(n){if(!this.a.dk(n))throw I(new rv(BI+ns(n)+JI+this.a+"'"))},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1310),w(1311,772,{},_Pe),s.zl=function(n){},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1311),w(402,499,{},YM),s.wk=function(n,t,i,r,c){var o,f,l,h,a;if(a=t.ii(i),this.rk()&&Z(a)===Z(Hh))return null;if(this._k()&&r&&a!=null){if(l=u(a,52),l.Sh()&&(h=J1(n,l),l!=h)){if(!FB(this.a,h))throw I(new rv(BI+ns(h)+JI+this.a+"'"));t.ji(i,a=h),this.$k()&&(o=u(h,52),f=l.Qh(n,this.b?vi(l.Ah(),this.b):-1-vi(n.Ah(),this.e),null,null),!o.Mh()&&(f=o.Oh(n,this.b?vi(o.Ah(),this.b):-1-vi(n.Ah(),this.e),null,f)),f&&f.mj()),n.sh()&&n.th()&&Gt(n,new X6(n,9,this.e,l,h))}return a}else return a},s.xk=function(n,t,i,r,c){var o,f;return f=t.ii(i),Z(f)===Z(Hh)&&(f=null),t.ji(i,r),this.Kj()?Z(f)!==Z(r)&&f!=null&&(o=u(f,52),c=o.Qh(n,vi(o.Ah(),this.b),null,c)):this.$k()&&f!=null&&(c=u(f,52).Qh(n,-1-vi(n.Ah(),this.e),null,c)),n.sh()&&n.th()&&(!c&&(c=new E1(4)),c.lj(new X6(n,1,this.e,f,r))),c},s.yk=function(n,t,i,r,c){var o;return o=t.ii(i),Z(o)===Z(Hh)&&(o=null),t.ki(i),n.sh()&&n.th()&&(!c&&(c=new E1(4)),this.rk()?c.lj(new X6(n,2,this.e,o,null)):c.lj(new X6(n,1,this.e,o,null))),c},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null},s.Ak=function(n,t,i,r){var c,o,f,l,h;if(r!=null&&!FB(this.a,r))throw I(new rv(BI+(F(r,57)?Iie(u(r,57).Ah()):Yee(ns(r)))+JI+this.a+"'"));h=t.ii(i),l=h!=null,this.rk()&&Z(h)===Z(Hh)&&(h=null),f=null,this.Kj()?Z(h)!==Z(r)&&(h!=null&&(c=u(h,52),f=c.Qh(n,vi(c.Ah(),this.b),null,f)),r!=null&&(c=u(r,52),f=c.Oh(n,vi(c.Ah(),this.b),null,f))):this.$k()&&Z(h)!==Z(r)&&(h!=null&&(f=u(h,52).Qh(n,-1-vi(n.Ah(),this.e),null,f)),r!=null&&(f=u(r,52).Oh(n,-1-vi(n.Ah(),this.e),null,f))),r==null&&this.rk()?t.ji(i,Hh):t.ji(i,r),n.sh()&&n.th()?(o=new O_(n,1,this.e,h,r,this.rk()&&!l),f?(f.lj(o),f.mj()):Gt(n,o)):f&&f.mj()},s.Ck=function(n,t,i){var r,c,o,f,l;l=t.ii(i),f=l!=null,this.rk()&&Z(l)===Z(Hh)&&(l=null),o=null,l!=null&&(this.Kj()?(r=u(l,52),o=r.Qh(n,vi(r.Ah(),this.b),null,o)):this.$k()&&(o=u(l,52).Qh(n,-1-vi(n.Ah(),this.e),null,o))),t.ki(i),n.sh()&&n.th()?(c=new O_(n,this.rk()?2:1,this.e,l,null,f),o?(o.lj(c),o.mj()):Gt(n,c)):o&&o.mj()},s.Kj=function(){return!1},s.$k=function(){return!1},s._k=function(){return!1},s.rk=function(){return!1},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",402),w(561,402,{},$L),s.$k=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",561),w(1314,561,{},RSe),s._k=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1314),w(774,561,{},zQ),s.rk=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",774),w(1316,774,{},BSe),s._k=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1316),w(639,561,{},WL),s.Kj=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",639),w(1315,639,{},zIe),s._k=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1315),w(775,639,{},SY),s.rk=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",775),w(1317,775,{},UIe),s._k=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1317),w(640,402,{},qQ),s._k=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",640),w(1318,640,{},JSe),s.rk=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1318),w(776,640,{},CY),s.Kj=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",776),w(1319,776,{},XIe),s.rk=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1319),w(1312,402,{},FSe),s.rk=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1312),w(773,402,{},TY),s.Kj=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",773),w(1313,773,{},KIe),s.rk=function(){return!0},g(yn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1313),w(777,562,RI,EZ),s.wl=function(n){return new EZ(this.a,this.c,n)},s.kd=function(){return this.b},s.xl=function(n,t,i){return Kyn(this,n,this.b,i)},s.yl=function(n,t,i){return Wyn(this,n,this.b,i)},g(yn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",777),w(1320,1,OH,Hje),s.Dk=function(n){return this.a},s.Oj=function(){return F(this.a,98)?u(this.a,98).Oj():!this.a.dc()},s.Wb=function(n){this.a.$b(),this.a.Fc(u(n,16))},s.Ek=function(){F(this.a,98)?u(this.a,98).Ek():this.a.$b()},g(yn,"EStructuralFeatureImpl/SettingMany",1320),w(1321,562,RI,pDe),s.vl=function(n){return new RL((Zt(),Q8),this.b.oi(this.a,n))},s.kd=function(){return null},s.xl=function(n,t,i){return i},s.yl=function(n,t,i){return i},g(yn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1321),w(641,562,RI,RL),s.vl=function(n){return new RL(this.c,n)},s.kd=function(){return this.a},s.xl=function(n,t,i){return i},s.yl=function(n,t,i){return i},g(yn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",641),w(396,492,ah,Y3),s.$i=function(n){return ee(wf,ln,29,n,0,1)},s.Wi=function(){return!1},g(yn,"ESuperAdapter/1",396),w(446,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,835:1,52:1,100:1,161:1,446:1,117:1,118:1},K$),s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new q6(this,hc,this)),this.a}return $s(this,n-Un((nn(),Wb)),cn((r=u(Mn(this,16),29),r||Wb),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new se(St,this,0,3)),Wr(this.Ab,n,i);case 2:return!this.a&&(this.a=new q6(this,hc,this)),Wr(this.a,n,i)}return c=u(cn((r=u(Mn(this,16),29),r||(nn(),Wb)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),Wb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return Ns(this,n-Un((nn(),Wb)),cn((t=u(Mn(this,16),29),t||Wb),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new se(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:Ru(this,dt(t));return;case 2:!this.a&&(this.a=new q6(this,hc,this)),nt(this.a),!this.a&&(this.a=new q6(this,hc,this)),Ii(this.a,u(t,18));return}Bs(this,n-Un((nn(),Wb)),cn((i=u(Mn(this,16),29),i||Wb),n),t)},s.fi=function(){return nn(),Wb},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new se(St,this,0,3)),nt(this.Ab);return;case 1:Ru(this,null);return;case 2:!this.a&&(this.a=new q6(this,hc,this)),nt(this.a);return}Rs(this,n-Un((nn(),Wb)),cn((t=u(Mn(this,16),29),t||Wb),n))},g(yn,"ETypeParameterImpl",446),w(447,81,Nc,q6),s.Lj=function(n,t){return FMn(this,u(n,87),t)},s.Mj=function(n,t){return RMn(this,u(n,87),t)},g(yn,"ETypeParameterImpl/1",447),w(638,44,Z2,pD),s.ec=function(){return new vA(this)},g(yn,"ETypeParameterImpl/2",638),w(557,Sl,Eo,vA),s.Ec=function(n){return kIe(this,u(n,87))},s.Fc=function(n){var t,i,r;for(r=!1,i=n.Jc();i.Ob();)t=u(i.Pb(),87),It(this.a,t,"")==null&&(r=!0);return r},s.$b=function(){ou(this.a)},s.Gc=function(n){return Au(this.a,n)},s.Jc=function(){var n;return n=new Rw(new nw(this.a).a),new yA(n)},s.Kc=function(n){return iLe(this,n)},s.gc=function(){return b6(this.a)},g(yn,"ETypeParameterImpl/2/1",557),w(558,1,Er,yA),s.Nb=function(n){Or(this,n)},s.Pb=function(){return u(L2(this.a).jd(),87)},s.Ob=function(){return this.a.b},s.Qb=function(){v_e(this.a)},g(yn,"ETypeParameterImpl/2/1/1",558),w(1282,44,Z2,Nxe),s._b=function(n){return mr(n)?$_(this,n):!!pc(this.f,n)},s.xc=function(n){var t,i;return t=mr(n)?Mu(this,n):Lc(pc(this.f,n)),F(t,836)?(i=u(t,836),t=i.Ik(),It(this,u(n,241),t),t):t??(n==null?(DD(),rhn):null)},g(yn,"EValidatorRegistryImpl",1282),w(1304,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,2005:1,52:1,100:1,161:1,117:1,118:1},sye),s.oi=function(n,t){switch(n.fk()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return t==null?null:Oc(t);case 25:return r8n(t);case 27:return m9n(t);case 28:return v9n(t);case 29:return t==null?null:qTe(z8[0],u(t,205));case 41:return t==null?"":Od(u(t,298));case 42:return Oc(t);case 50:return dt(t);default:throw I(new xn(e5+n.ve()+Ob))}},s.pi=function(n){var t,i,r,c,o,f,l,h,a,b,p,y,k,x,C,O;switch(n.G==-1&&(n.G=(y=ds(n),y?Ka(y.si(),n):-1)),n.G){case 0:return i=new bD,i;case 1:return t=new WK,t;case 2:return r=new eW,r;case 4:return c=new EA,c;case 5:return o=new Oxe,o;case 6:return f=new Wje,f;case 7:return l=new ZK,l;case 10:return a=new aA,a;case 11:return b=new wD,b;case 12:return p=new lNe,p;case 13:return k=new gD,k;case 14:return x=new XQ,x;case 17:return C=new Y6e,C;case 18:return h=new J0,h;case 19:return O=new K$,O;default:throw I(new xn(gH+n.zb+Ob))}},s.qi=function(n,t){switch(n.fk()){case 20:return t==null?null:new bV(t);case 21:return t==null?null:new C1(t);case 23:case 22:return t==null?null:tjn(t);case 26:case 24:return t==null?null:B7(ps(t,-128,127)<<24>>24);case 25:return YSn(t);case 27:return Fxn(t);case 28:return Rxn(t);case 29:return rCn(t);case 32:case 31:return t==null?null:Kw(t);case 38:case 37:return t==null?null:new _W(t);case 40:case 39:return t==null?null:le(ps(t,Mr,_t));case 41:return null;case 42:return t==null,null;case 44:case 43:return t==null?null:zw(BS(t));case 49:case 48:return t==null?null:t4(ps(t,GI,32767)<<16>>16);case 50:return t;default:throw I(new xn(e5+n.ve()+Ob))}},g(yn,"EcoreFactoryImpl",1304),w(549,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,2003:1,52:1,100:1,161:1,184:1,549:1,117:1,118:1,680:1},NOe),s.gb=!1,s.hb=!1;var Oge,ihn=!1;g(yn,"EcorePackageImpl",549),w(1200,1,{836:1},fye),s.Ik=function(){return iSe(),chn},g(yn,"EcorePackageImpl/1",1200),w(1209,1,Nt,lye),s.dk=function(n){return F(n,158)},s.ek=function(n){return ee(Sx,ln,158,n,0,1)},g(yn,"EcorePackageImpl/10",1209),w(1210,1,Nt,hye),s.dk=function(n){return F(n,197)},s.ek=function(n){return ee(NX,ln,197,n,0,1)},g(yn,"EcorePackageImpl/11",1210),w(1211,1,Nt,aye),s.dk=function(n){return F(n,57)},s.ek=function(n){return ee(yd,ln,57,n,0,1)},g(yn,"EcorePackageImpl/12",1211),w(1212,1,Nt,dye),s.dk=function(n){return F(n,403)},s.ek=function(n){return ee(gf,Sfe,62,n,0,1)},g(yn,"EcorePackageImpl/13",1212),w(1213,1,Nt,bye),s.dk=function(n){return F(n,241)},s.ek=function(n){return ee(dl,ln,241,n,0,1)},g(yn,"EcorePackageImpl/14",1213),w(1214,1,Nt,wye),s.dk=function(n){return F(n,504)},s.ek=function(n){return ee(Xb,ln,2081,n,0,1)},g(yn,"EcorePackageImpl/15",1214),w(1215,1,Nt,gye),s.dk=function(n){return F(n,103)},s.ek=function(n){return ee(Xg,op,19,n,0,1)},g(yn,"EcorePackageImpl/16",1215),w(1216,1,Nt,pye),s.dk=function(n){return F(n,179)},s.ek=function(n){return ee(ho,op,179,n,0,1)},g(yn,"EcorePackageImpl/17",1216),w(1217,1,Nt,mye),s.dk=function(n){return F(n,470)},s.ek=function(n){return ee(zg,ln,470,n,0,1)},g(yn,"EcorePackageImpl/18",1217),w(1218,1,Nt,vye),s.dk=function(n){return F(n,550)},s.ek=function(n){return ee(nu,JYe,550,n,0,1)},g(yn,"EcorePackageImpl/19",1218),w(1201,1,Nt,yye),s.dk=function(n){return F(n,335)},s.ek=function(n){return ee(Ug,op,38,n,0,1)},g(yn,"EcorePackageImpl/2",1201),w(1219,1,Nt,kye),s.dk=function(n){return F(n,248)},s.ek=function(n){return ee(hc,rZe,87,n,0,1)},g(yn,"EcorePackageImpl/20",1219),w(1220,1,Nt,Eye),s.dk=function(n){return F(n,446)},s.ek=function(n){return ee(Yu,ln,835,n,0,1)},g(yn,"EcorePackageImpl/21",1220),w(1221,1,Nt,jye),s.dk=function(n){return dw(n)},s.ek=function(n){return ee(Ci,pe,473,n,8,1)},g(yn,"EcorePackageImpl/22",1221),w(1222,1,Nt,xye),s.dk=function(n){return F(n,195)},s.ek=function(n){return ee(Ao,pe,195,n,0,2)},g(yn,"EcorePackageImpl/23",1222),w(1223,1,Nt,Aye),s.dk=function(n){return F(n,221)},s.ek=function(n){return ee(a3,pe,221,n,0,1)},g(yn,"EcorePackageImpl/24",1223),w(1224,1,Nt,Mye),s.dk=function(n){return F(n,180)},s.ek=function(n){return ee(D9,pe,180,n,0,1)},g(yn,"EcorePackageImpl/25",1224),w(1225,1,Nt,Cye),s.dk=function(n){return F(n,205)},s.ek=function(n){return ee(YI,pe,205,n,0,1)},g(yn,"EcorePackageImpl/26",1225),w(1226,1,Nt,Tye),s.dk=function(n){return!1},s.ek=function(n){return ee(Vge,ln,2177,n,0,1)},g(yn,"EcorePackageImpl/27",1226),w(1227,1,Nt,Sye),s.dk=function(n){return bw(n)},s.ek=function(n){return ee(zi,pe,346,n,7,1)},g(yn,"EcorePackageImpl/28",1227),w(1228,1,Nt,Iye),s.dk=function(n){return F(n,61)},s.ek=function(n){return ee(hge,ug,61,n,0,1)},g(yn,"EcorePackageImpl/29",1228),w(1202,1,Nt,Pye),s.dk=function(n){return F(n,505)},s.ek=function(n){return ee(St,{3:1,4:1,5:1,1998:1},588,n,0,1)},g(yn,"EcorePackageImpl/3",1202),w(1229,1,Nt,Oye),s.dk=function(n){return F(n,568)},s.ek=function(n){return ee(bge,ln,2004,n,0,1)},g(yn,"EcorePackageImpl/30",1229),w(1230,1,Nt,Nye),s.dk=function(n){return F(n,163)},s.ek=function(n){return ee(_ge,ug,163,n,0,1)},g(yn,"EcorePackageImpl/31",1230),w(1231,1,Nt,$ye),s.dk=function(n){return F(n,75)},s.ek=function(n){return ee(dN,dZe,75,n,0,1)},g(yn,"EcorePackageImpl/32",1231),w(1232,1,Nt,Dye),s.dk=function(n){return F(n,164)},s.ek=function(n){return ee(s5,pe,164,n,0,1)},g(yn,"EcorePackageImpl/33",1232),w(1233,1,Nt,Lye),s.dk=function(n){return F(n,15)},s.ek=function(n){return ee(Zi,pe,15,n,0,1)},g(yn,"EcorePackageImpl/34",1233),w(1234,1,Nt,_ye),s.dk=function(n){return F(n,298)},s.ek=function(n){return ee(Gfe,ln,298,n,0,1)},g(yn,"EcorePackageImpl/35",1234),w(1235,1,Nt,Fye),s.dk=function(n){return F(n,190)},s.ek=function(n){return ee($b,pe,190,n,0,1)},g(yn,"EcorePackageImpl/36",1235),w(1236,1,Nt,Rye),s.dk=function(n){return F(n,92)},s.ek=function(n){return ee(Hfe,ln,92,n,0,1)},g(yn,"EcorePackageImpl/37",1236),w(1237,1,Nt,Bye),s.dk=function(n){return F(n,589)},s.ek=function(n){return ee(Nge,ln,589,n,0,1)},g(yn,"EcorePackageImpl/38",1237),w(1238,1,Nt,Jye),s.dk=function(n){return!1},s.ek=function(n){return ee(Qge,ln,2178,n,0,1)},g(yn,"EcorePackageImpl/39",1238),w(1203,1,Nt,Gye),s.dk=function(n){return F(n,88)},s.ek=function(n){return ee(wf,ln,29,n,0,1)},g(yn,"EcorePackageImpl/4",1203),w(1239,1,Nt,Hye),s.dk=function(n){return F(n,191)},s.ek=function(n){return ee(Db,pe,191,n,0,1)},g(yn,"EcorePackageImpl/40",1239),w(1240,1,Nt,qye),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(yn,"EcorePackageImpl/41",1240),w(1241,1,Nt,zye),s.dk=function(n){return F(n,586)},s.ek=function(n){return ee(dge,ln,586,n,0,1)},g(yn,"EcorePackageImpl/42",1241),w(1242,1,Nt,Uye),s.dk=function(n){return!1},s.ek=function(n){return ee(Yge,pe,2179,n,0,1)},g(yn,"EcorePackageImpl/43",1242),w(1243,1,Nt,Xye),s.dk=function(n){return F(n,45)},s.ek=function(n){return ee(g0,HS,45,n,0,1)},g(yn,"EcorePackageImpl/44",1243),w(1204,1,Nt,Kye),s.dk=function(n){return F(n,143)},s.ek=function(n){return ee(bl,ln,143,n,0,1)},g(yn,"EcorePackageImpl/5",1204),w(1205,1,Nt,Wye),s.dk=function(n){return F(n,159)},s.ek=function(n){return ee(RX,ln,159,n,0,1)},g(yn,"EcorePackageImpl/6",1205),w(1206,1,Nt,Vye),s.dk=function(n){return F(n,459)},s.ek=function(n){return ee(aN,ln,675,n,0,1)},g(yn,"EcorePackageImpl/7",1206),w(1207,1,Nt,Qye),s.dk=function(n){return F(n,568)},s.ek=function(n){return ee(ja,ln,684,n,0,1)},g(yn,"EcorePackageImpl/8",1207),w(1208,1,Nt,Yye),s.dk=function(n){return F(n,469)},s.ek=function(n){return ee(q8,ln,469,n,0,1)},g(yn,"EcorePackageImpl/9",1208),w(1020,2045,BYe,tAe),s.Ki=function(n,t){D7n(this,u(t,415))},s.Oi=function(n,t){cqe(this,n,u(t,415))},g(yn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1020),w(1021,151,gj,kOe),s.hj=function(){return this.a.a},g(yn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1021),w(1048,1047,{},$Te),g("org.eclipse.emf.ecore.plugin","EcorePlugin",1048);var Nge=yi(bZe,"Resource");w(787,1486,wZe),s.Fl=function(n){},s.Gl=function(n){},s.Cl=function(){return!this.a&&(this.a=new sD(this)),this.a},s.Dl=function(n){var t,i,r,c,o;if(r=n.length,r>0)if(Pn(0,n.length),n.charCodeAt(0)==47){for(o=new Fu(4),c=1,t=1;t<r;++t)Pn(t,n.length),n.charCodeAt(t)==47&&(me(o,c==t?"":(Sr(c,t,n.length),n.substr(c,t-c))),c=t+1);return me(o,(Pn(c,n.length+1),n.substr(c))),IAn(this,o)}else Pn(r-1,n.length),n.charCodeAt(r-1)==63&&(i=gY(n,io(63),r-2),i>0&&(n=(Sr(0,i,n.length),n.substr(0,i))));return zTn(this,n)},s.El=function(){return this.c},s.Ib=function(){var n;return Od(this.Pm)+"@"+(n=si(this)>>>0,n.toString(16))+" uri='"+this.d+"'"},s.b=!1,g(NH,"ResourceImpl",787),w(1487,787,wZe,zje),g(NH,"BinaryResourceImpl",1487),w(1160,697,CH),s._i=function(n){return F(n,57)?v4n(this,u(n,57)):F(n,589)?new Rn(u(n,589).Cl()):Z(n)===Z(this.f)?u(n,18).Jc():(yv(),Ox.a)},s.Ob=function(){return xre(this)},s.a=!1,g(wi,"EcoreUtil/ContentTreeIterator",1160),w(1488,1160,CH,nOe),s._i=function(n){return Z(n)===Z(this.f)?u(n,16).Jc():new W$e(u(n,57))},g(NH,"ResourceImpl/5",1488),w(648,2057,iZe,sD),s.Gc=function(n){return this.i<=4?b4(this,n):F(n,52)&&u(n,52).Gh()==this.a},s.Ki=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},s.Mi=function(n,t){n==0?this.a.b||(this.a.b=!0):fF(this,n,t)},s.Oi=function(n,t){},s.Pi=function(n,t,i){},s.Jj=function(){return 2},s.hj=function(){return this.a},s.Kj=function(){return!0},s.Lj=function(n,t){var i;return i=u(n,52),t=i.ci(this.a,t),t},s.Mj=function(n,t){var i;return i=u(n,52),i.ci(null,t)},s.Nj=function(){return!1},s.Qi=function(){return!0},s.$i=function(n){return ee(yd,ln,57,n,0,1)},s.Wi=function(){return!1},g(NH,"ResourceImpl/ContentsEList",648),w(954,2027,N4,Uje),s.dd=function(n){return this.a.Ii(n)},s.gc=function(){return this.a.gc()},g(wi,"AbstractSequentialInternalEList/1",954);var $ge,Dge,$r,Lge;w(626,1,{},tPe);var bN,wN;g(wi,"BasicExtendedMetaData",626),w(1151,1,{},VCe),s.Hl=function(){return null},s.Il=function(){return this.a==-2&&d0n(this,QMn(this.d,this.b)),this.a},s.Jl=function(){return null},s.Kl=function(){return tn(),tn(),Zr},s.ve=function(){return this.c==r5&&g0n(this,CJe(this.d,this.b)),this.c},s.Ll=function(){return 0},s.a=-2,s.c=r5,g(wi,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1151),w(1152,1,{},I$e),s.Hl=function(){return this.a==(Lv(),bN)&&b0n(this,DOn(this.f,this.b)),this.a},s.Il=function(){return 0},s.Jl=function(){return this.c==(Lv(),bN)&&p0n(this,LOn(this.f,this.b)),this.c},s.Kl=function(){return!this.d&&v0n(this,y$n(this.f,this.b)),this.d},s.ve=function(){return this.e==r5&&k0n(this,CJe(this.f,this.b)),this.e},s.Ll=function(){return this.g==-2&&j0n(this,mMn(this.f,this.b)),this.g},s.e=r5,s.g=-2,g(wi,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1152),w(1150,1,{},QCe),s.b=!1,s.c=!1,g(wi,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1150),w(1153,1,{},P$e),s.c=-2,s.e=r5,s.f=r5,g(wi,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1153),w(582,624,Nc,BM),s.Jj=function(){return this.c},s.ml=function(){return!1},s.Ui=function(n,t){return t},s.c=0,g(wi,"EDataTypeEList",582);var _ge=yi(wi,"FeatureMap");w(76,582,{3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,78:1,163:1,219:1,2001:1,72:1,98:1},Pi),s._c=function(n,t){tPn(this,n,u(t,75))},s.Ec=function(n){return vIn(this,u(n,75))},s.Fi=function(n){vvn(this,u(n,75))},s.Lj=function(n,t){return K2n(this,u(n,75),t)},s.Mj=function(n,t){return mY(this,u(n,75),t)},s.Ri=function(n,t){return CNn(this,n,t)},s.Ui=function(n,t){return wLn(this,n,u(t,75))},s.fd=function(n,t){return JPn(this,n,u(t,75))},s.Sj=function(n,t){return W2n(this,u(n,75),t)},s.Tj=function(n,t){return TIe(this,u(n,75),t)},s.Uj=function(n,t,i){return oMn(this,u(n,75),u(t,75),i)},s.Xi=function(n,t){return iB(this,n,u(t,75))},s.Ml=function(n,t){return vce(this,n,t)},s.ad=function(n,t){var i,r,c,o,f,l,h,a,b;for(a=new ub(t.gc()),c=t.Jc();c.Ob();)if(r=u(c.Pb(),75),o=r.Jk(),ha(this.e,o))(!o.Qi()||!OC(this,o,r.kd())&&!b4(a,r))&&it(a,r);else{for(b=Xu(this.e.Ah(),o),i=u(this.g,122),f=!0,l=0;l<this.i;++l)if(h=i[l],b.$l(h.Jk())){u(J2(this,l,r),75),f=!1;break}f&&it(a,r)}return Fne(this,n,a)},s.Fc=function(n){var t,i,r,c,o,f,l,h,a;for(h=new ub(n.gc()),r=n.Jc();r.Ob();)if(i=u(r.Pb(),75),c=i.Jk(),ha(this.e,c))(!c.Qi()||!OC(this,c,i.kd())&&!b4(h,i))&&it(h,i);else{for(a=Xu(this.e.Ah(),c),t=u(this.g,122),o=!0,f=0;f<this.i;++f)if(l=t[f],a.$l(l.Jk())){u(J2(this,f,i),75),o=!1;break}o&&it(h,i)}return Ii(this,h)},s.Di=function(n){return this.j=-1,RB(this,this.i,n)},s.Nl=function(n,t,i){return hce(this,n,t,i)},s.Vk=function(n,t){return OE(this,n,t)},s.Ol=function(n,t,i){return Bce(this,n,t,i)},s.Pl=function(){return this},s.Ql=function(n,t){return DE(this,n,t)},s.Rl=function(n){return u(R(this,n),75).Jk()},s.Sl=function(n){return u(R(this,n),75).kd()},s.Tl=function(){return this.b},s.Kj=function(){return!0},s.Rj=function(){return!0},s.Ul=function(n){return!sE(this,n)},s.$i=function(n){return ee(thn,dZe,344,n,0,1)},s.nl=function(n){return DL(this,n)},s.Wb=function(n){w7(this,n)},s.Vl=function(n,t){LS(this,n,t)},s.Wl=function(n){return PFe(this,n)},s.Xl=function(n){hGe(this,n)},g(wi,"BasicFeatureMap",76),w(1925,1,Th),s.Nb=function(n){Or(this,n)},s.Rb=function(n){if(this.g==-1)throw I(new wo);iC(this);try{Zze(this.e,this.b,this.a,n),this.d=this.e.j,VT(this)}catch(t){throw t=_i(t),F(t,99)?I(new Ss):I(t)}},s.Ob=function(){return eR(this)},s.Sb=function(){return ZRe(this)},s.Pb=function(){return VT(this)},s.Tb=function(){return this.a},s.Ub=function(){var n;if(ZRe(this))return iC(this),this.g=--this.a,this.sl()&&(n=By(this.e,this.b,this.c,this.a,this.j),this.j=n),this.i=0,this.j;throw I(new $c)},s.Vb=function(){return this.a-1},s.Qb=function(){if(this.g==-1)throw I(new wo);iC(this);try{qHe(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(n){throw n=_i(n),F(n,99)?I(new Ss):I(n)}},s.sl=function(){return!1},s.Wb=function(n){if(this.g==-1)throw I(new wo);iC(this);try{MXe(this.e,this.b,this.g,n),this.d=this.e.j}catch(t){throw t=_i(t),F(t,99)?I(new Ss):I(t)}},s.a=0,s.c=0,s.d=0,s.f=!1,s.g=0,s.i=0,g(wi,"FeatureMapUtil/BasicFeatureEIterator",1925),w(412,1925,Th,Uv),s.Yl=function(){var n,t,i;for(i=this.e.i,n=u(this.e.g,122);this.c<i;){if(t=n[this.c],this.k.$l(t.Jk()))return this.j=this.f?t:t.kd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},s.Zl=function(){var n,t;for(n=u(this.e.g,122);--this.c>=0;)if(t=n[this.c],this.k.$l(t.Jk()))return this.j=this.f?t:t.kd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},g(wi,"BasicFeatureMap/FeatureEIterator",412),w(666,412,Th,mL),s.sl=function(){return!0},g(wi,"BasicFeatureMap/ResolvingFeatureEIterator",666),w(952,482,_I,XTe),s.nj=function(){return this},g(wi,"EContentsEList/1",952),w(953,482,_I,wTe),s.sl=function(){return!1},g(wi,"EContentsEList/2",953),w(951,287,FI,KTe),s.ul=function(n){},s.Ob=function(){return!1},s.Sb=function(){return!1},g(wi,"EContentsEList/FeatureIteratorImpl/1",951),w(825,582,Nc,jQ),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;nt(this),Vo(this.e)?(n=this.a,this.a=!1,Gt(this.e,new Mf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,g(wi,"EDataTypeEList/Unsettable",825),w(1923,582,Nc,ZTe),s.Qi=function(){return!0},g(wi,"EDataTypeUniqueEList",1923),w(1924,825,Nc,eSe),s.Qi=function(){return!0},g(wi,"EDataTypeUniqueEList/Unsettable",1924),w(145,81,Nc,go),s.ll=function(){return!0},s.Ui=function(n,t){return Ym(this,n,u(t,57))},g(wi,"EObjectContainmentEList/Resolving",145),w(1154,544,Nc,nSe),s.ll=function(){return!0},s.Ui=function(n,t){return Ym(this,n,u(t,57))},g(wi,"EObjectContainmentEList/Unsettable/Resolving",1154),w(753,14,Nc,hY),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;nt(this),Vo(this.e)?(n=this.a,this.a=!1,Gt(this.e,new Mf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,g(wi,"EObjectContainmentWithInverseEList/Unsettable",753),w(1188,753,Nc,wIe),s.ll=function(){return!0},s.Ui=function(n,t){return Ym(this,n,u(t,57))},g(wi,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1188),w(745,491,Nc,xQ),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;nt(this),Vo(this.e)?(n=this.a,this.a=!1,Gt(this.e,new Mf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,g(wi,"EObjectEList/Unsettable",745),w(339,491,Nc,j2),s.ll=function(){return!0},s.Ui=function(n,t){return Ym(this,n,u(t,57))},g(wi,"EObjectResolvingEList",339),w(1828,745,Nc,tSe),s.ll=function(){return!0},s.Ui=function(n,t){return Ym(this,n,u(t,57))},g(wi,"EObjectResolvingEList/Unsettable",1828),w(1489,1,{},Zye);var rhn;g(wi,"EObjectValidator",1489),w(548,491,Nc,cC),s.gl=function(){return this.d},s.hl=function(){return this.b},s.Kj=function(){return!0},s.kl=function(){return!0},s.b=0,g(wi,"EObjectWithInverseEList",548),w(1191,548,Nc,gIe),s.jl=function(){return!0},g(wi,"EObjectWithInverseEList/ManyInverse",1191),w(627,548,Nc,BL),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;nt(this),Vo(this.e)?(n=this.a,this.a=!1,Gt(this.e,new Mf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,g(wi,"EObjectWithInverseEList/Unsettable",627),w(1190,627,Nc,pIe),s.jl=function(){return!0},g(wi,"EObjectWithInverseEList/Unsettable/ManyInverse",1190),w(754,548,Nc,aY),s.ll=function(){return!0},s.Ui=function(n,t){return Ym(this,n,u(t,57))},g(wi,"EObjectWithInverseResolvingEList",754),w(33,754,Nc,hn),s.jl=function(){return!0},g(wi,"EObjectWithInverseResolvingEList/ManyInverse",33),w(755,627,Nc,dY),s.ll=function(){return!0},s.Ui=function(n,t){return Ym(this,n,u(t,57))},g(wi,"EObjectWithInverseResolvingEList/Unsettable",755),w(1189,755,Nc,mIe),s.jl=function(){return!0},g(wi,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1189),w(1155,624,Nc),s.Ji=function(){return(this.b&1792)==0},s.Li=function(){this.b|=1},s.il=function(){return(this.b&4)!=0},s.Kj=function(){return(this.b&40)!=0},s.jl=function(){return(this.b&16)!=0},s.kl=function(){return(this.b&8)!=0},s.ll=function(){return(this.b&e1)!=0},s.$k=function(){return(this.b&32)!=0},s.ml=function(){return(this.b&Df)!=0},s.dk=function(n){return this.d?sDe(this.d,n):this.Jk().Fk().dk(n)},s.Oj=function(){return(this.b&2)!=0?(this.b&1)!=0:this.i!=0},s.Qi=function(){return(this.b&128)!=0},s.Ek=function(){var n;nt(this),(this.b&2)!=0&&(Vo(this.e)?(n=(this.b&1)!=0,this.b&=-2,iv(this,new Mf(this.e,2,vi(this.e.Ah(),this.Jk()),n,!1))):this.b&=-2)},s.Wi=function(){return(this.b&1536)==0},s.b=0,g(wi,"EcoreEList/Generic",1155),w(1156,1155,Nc,aNe),s.Jk=function(){return this.a},g(wi,"EcoreEList/Dynamic",1156),w(752,67,ah,OW),s.$i=function(n){return H7(this.a.a,n)},g(wi,"EcoreEMap/1",752),w(751,81,Nc,oZ),s.Ki=function(n,t){YT(this.b,u(t,136))},s.Mi=function(n,t){sRe(this.b)},s.Ni=function(n,t,i){var r;++(r=this.b,u(t,136),r).e},s.Oi=function(n,t){lR(this.b,u(t,136))},s.Pi=function(n,t,i){lR(this.b,u(i,136)),Z(i)===Z(t)&&u(i,136).zi(Uwn(u(t,136).jd())),YT(this.b,u(t,136))},g(wi,"EcoreEMap/DelegateEObjectContainmentEList",751),w(1186,142,Tfe,vFe),g(wi,"EcoreEMap/Unsettable",1186),w(1187,751,Nc,vIe),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;nt(this),Vo(this.e)?(n=this.a,this.a=!1,Gt(this.e,new Mf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,g(wi,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1187),w(1159,223,Z2,dOe),s.a=!1,s.b=!1,g(wi,"EcoreUtil/Copier",1159),w(747,1,Er,W$e),s.Nb=function(n){Or(this,n)},s.Ob=function(){return lJe(this)},s.Pb=function(){var n;return lJe(this),n=this.b,this.b=null,n},s.Qb=function(){this.a.Qb()},g(wi,"EcoreUtil/ProperContentIterator",747),w(1490,1489,{},Y8e);var chn;g(wi,"EcoreValidator",1490);var uhn;yi(wi,"FeatureMapUtil/Validator"),w(1260,1,{2006:1},e9e),s.$l=function(n){return!0},g(wi,"FeatureMapUtil/1",1260),w(760,1,{2006:1},Yce),s.$l=function(n){var t;return this.c==n?!0:(t=Te(vn(this.a,n)),t==null?JOn(this,n)?(KDe(this.a,n,(gn(),o5)),!0):(KDe(this.a,n,(gn(),id)),!1):t==(gn(),o5))},s.e=!1;var HX;g(wi,"FeatureMapUtil/BasicValidator",760),w(761,44,Z2,EQ),g(wi,"FeatureMapUtil/BasicValidator/Cache",761),w(495,56,{20:1,31:1,56:1,18:1,16:1,61:1,78:1,72:1,98:1},Wk),s._c=function(n,t){Zze(this.c,this.b,n,t)},s.Ec=function(n){return vce(this.c,this.b,n)},s.ad=function(n,t){return oDn(this.c,this.b,n,t)},s.Fc=function(n){return _6(this,n)},s.Ei=function(n,t){V9n(this.c,this.b,n,t)},s.Uk=function(n,t){return hce(this.c,this.b,n,t)},s.Yi=function(n){return DS(this.c,this.b,n,!1)},s.Gi=function(){return CTe(this.c,this.b)},s.Hi=function(){return Fwn(this.c,this.b)},s.Ii=function(n){return Vyn(this.c,this.b,n)},s.Vk=function(n,t){return nIe(this,n,t)},s.$b=function(){Qp(this)},s.Gc=function(n){return OC(this.c,this.b,n)},s.Hc=function(n){return X8n(this.c,this.b,n)},s.Xb=function(n){return DS(this.c,this.b,n,!0)},s.Dk=function(n){return this},s.bd=function(n){return uyn(this.c,this.b,n)},s.dc=function(){return wM(this)},s.Oj=function(){return!sE(this.c,this.b)},s.Jc=function(){return S9n(this.c,this.b)},s.cd=function(){return I9n(this.c,this.b)},s.dd=function(n){return Y7n(this.c,this.b,n)},s.Ri=function(n,t){return gXe(this.c,this.b,n,t)},s.Si=function(n,t){Yyn(this.c,this.b,n,t)},s.ed=function(n){return qHe(this.c,this.b,n)},s.Kc=function(n){return aNn(this.c,this.b,n)},s.fd=function(n,t){return MXe(this.c,this.b,n,t)},s.Wb=function(n){gS(this.c,this.b),_6(this,u(n,16))},s.gc=function(){return Z7n(this.c,this.b)},s.Nc=function(){return u6n(this.c,this.b)},s.Oc=function(n){return oyn(this.c,this.b,n)},s.Ib=function(){var n,t;for(t=new Ia,t.a+="[",n=CTe(this.c,this.b);eR(n);)ac(t,R6(VT(n))),eR(n)&&(t.a+=Ju);return t.a+="]",t.a},s.Ek=function(){gS(this.c,this.b)},g(wi,"FeatureMapUtil/FeatureEList",495),w(635,39,gj,eF),s.fj=function(n){return xy(this,n)},s.kj=function(n){var t,i,r,c,o,f,l;switch(this.d){case 1:case 2:{if(o=n.hj(),Z(o)===Z(this.c)&&xy(this,null)==n.fj(null))return this.g=n.gj(),n.ej()==1&&(this.d=1),!0;break}case 3:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),Z(o)===Z(this.c)&&xy(this,null)==n.fj(null))return this.d=5,t=new ub(2),it(t,this.g),it(t,n.gj()),this.g=t,!0;break}}break}case 5:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),Z(o)===Z(this.c)&&xy(this,null)==n.fj(null))return i=u(this.g,18),i.Ec(n.gj()),!0;break}}break}case 4:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),Z(o)===Z(this.c)&&xy(this,null)==n.fj(null))return this.d=1,this.g=n.gj(),!0;break}case 4:{if(o=n.hj(),Z(o)===Z(this.c)&&xy(this,null)==n.fj(null))return this.d=6,l=new ub(2),it(l,this.n),it(l,n.ij()),this.n=l,f=$(N(bt,1),Pt,30,15,[this.o,n.jj()]),this.g=f,!0;break}}break}case 6:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),Z(o)===Z(this.c)&&xy(this,null)==n.fj(null))return i=u(this.n,18),i.Ec(n.ij()),f=u(this.g,54),r=ee(bt,Pt,30,f.length+1,15,1),pu(f,0,r,0,f.length),r[f.length]=n.jj(),this.g=r,!0;break}}break}}return!1},g(wi,"FeatureMapUtil/FeatureENotificationImpl",635),w(554,495,{20:1,31:1,56:1,18:1,16:1,61:1,78:1,163:1,219:1,2001:1,72:1,98:1},zM),s.Ml=function(n,t){return vce(this.c,n,t)},s.Nl=function(n,t,i){return hce(this.c,n,t,i)},s.Ol=function(n,t,i){return Bce(this.c,n,t,i)},s.Pl=function(){return this},s.Ql=function(n,t){return DE(this.c,n,t)},s.Rl=function(n){return u(DS(this.c,this.b,n,!1),75).Jk()},s.Sl=function(n){return u(DS(this.c,this.b,n,!1),75).kd()},s.Tl=function(){return this.a},s.Ul=function(n){return!sE(this.c,n)},s.Vl=function(n,t){LS(this.c,n,t)},s.Wl=function(n){return PFe(this.c,n)},s.Xl=function(n){hGe(this.c,n)},g(wi,"FeatureMapUtil/FeatureFeatureMap",554),w(1259,1,OH,nTe),s.Dk=function(n){return DS(this.b,this.a,-1,n)},s.Oj=function(){return!sE(this.b,this.a)},s.Wb=function(n){LS(this.b,this.a,n)},s.Ek=function(){gS(this.b,this.a)},g(wi,"FeatureMapUtil/FeatureValue",1259);var G3,qX,zX,H3,ohn,$x=yi(UI,"AnyType");w(670,63,aa,xD),g(UI,"InvalidDatatypeValueException",670);var gN=yi(UI,pZe),Dx=yi(UI,mZe),Fge=yi(UI,vZe),shn,uu,Rge,O0,fhn,lhn,hhn,ahn,dhn,bhn,whn,ghn,phn,mhn,vhn,Fp,yhn,Rp,W8,khn,Vb,Lx,_x,Ehn,V8,Q8;w(829,502,{109:1,94:1,93:1,57:1,52:1,100:1,842:1},XW),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new Pi(this,0)),this.c):(!this.c&&(this.c=new Pi(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new Pi(this,0)),u(Cu(this.c,(Zt(),O0)),163)):(!this.c&&(this.c=new Pi(this,0)),u(u(Cu(this.c,(Zt(),O0)),163),219)).Tl();case 2:return i?(!this.b&&(this.b=new Pi(this,2)),this.b):(!this.b&&(this.b=new Pi(this,2)),this.b.b)}return $s(this,n-Un(this.fi()),cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new Wf),this.k).Lk(),n),t,i)},s.Rh=function(n,t,i){var r;switch(t){case 0:return!this.c&&(this.c=new Pi(this,0)),OE(this.c,n,i);case 1:return(!this.c&&(this.c=new Pi(this,0)),u(u(Cu(this.c,(Zt(),O0)),163),72)).Vk(n,i);case 2:return!this.b&&(this.b=new Pi(this,2)),OE(this.b,n,i)}return r=u(cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new Wf),this.k).Lk(),t),69),r.uk().yk(this,Xee(this),t-Un(this.fi()),n,i)},s.Th=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Pi(this,0)),u(Cu(this.c,(Zt(),O0)),163)).dc();case 2:return!!this.b&&this.b.i!=0}return Ns(this,n-Un(this.fi()),cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new Wf),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.c&&(this.c=new Pi(this,0)),w7(this.c,t);return;case 1:(!this.c&&(this.c=new Pi(this,0)),u(u(Cu(this.c,(Zt(),O0)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new Pi(this,2)),w7(this.b,t);return}Bs(this,n-Un(this.fi()),cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new Wf),this.k).Lk(),n),t)},s.fi=function(){return Zt(),Rge},s.hi=function(n){switch(n){case 0:!this.c&&(this.c=new Pi(this,0)),nt(this.c);return;case 1:(!this.c&&(this.c=new Pi(this,0)),u(Cu(this.c,(Zt(),O0)),163)).$b();return;case 2:!this.b&&(this.b=new Pi(this,2)),nt(this.b);return}Rs(this,n-Un(this.fi()),cn((this.j&2)==0?this.fi():(!this.k&&(this.k=new Wf),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Of(this):(n=new ef(Of(this)),n.a+=" (mixed: ",N6(n,this.c),n.a+=", anyAttribute: ",N6(n,this.b),n.a+=")",n.a)},g(Yi,"AnyTypeImpl",829),w(671,502,{109:1,94:1,93:1,57:1,52:1,100:1,2084:1,671:1},u9e),s.Ih=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return $s(this,n-Un((Zt(),Fp)),cn((this.j&2)==0?Fp:(!this.k&&(this.k=new Wf),this.k).Lk(),n),t,i)},s.Th=function(n){switch(n){case 0:return this.a!=null;case 1:return this.b!=null}return Ns(this,n-Un((Zt(),Fp)),cn((this.j&2)==0?Fp:(!this.k&&(this.k=new Wf),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:M0n(this,dt(t));return;case 1:T0n(this,dt(t));return}Bs(this,n-Un((Zt(),Fp)),cn((this.j&2)==0?Fp:(!this.k&&(this.k=new Wf),this.k).Lk(),n),t)},s.fi=function(){return Zt(),Fp},s.hi=function(n){switch(n){case 0:this.a=null;return;case 1:this.b=null;return}Rs(this,n-Un((Zt(),Fp)),cn((this.j&2)==0?Fp:(!this.k&&(this.k=new Wf),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Of(this):(n=new ef(Of(this)),n.a+=" (data: ",ac(n,this.a),n.a+=", target: ",ac(n,this.b),n.a+=")",n.a)},s.a=null,s.b=null,g(Yi,"ProcessingInstructionImpl",671),w(672,829,{109:1,94:1,93:1,57:1,52:1,100:1,842:1,2085:1,672:1},$xe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new Pi(this,0)),this.c):(!this.c&&(this.c=new Pi(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new Pi(this,0)),u(Cu(this.c,(Zt(),O0)),163)):(!this.c&&(this.c=new Pi(this,0)),u(u(Cu(this.c,(Zt(),O0)),163),219)).Tl();case 2:return i?(!this.b&&(this.b=new Pi(this,2)),this.b):(!this.b&&(this.b=new Pi(this,2)),this.b.b);case 3:return!this.c&&(this.c=new Pi(this,0)),dt(DE(this.c,(Zt(),W8),!0));case 4:return wY(this.a,(!this.c&&(this.c=new Pi(this,0)),dt(DE(this.c,(Zt(),W8),!0))));case 5:return this.a}return $s(this,n-Un((Zt(),Rp)),cn((this.j&2)==0?Rp:(!this.k&&(this.k=new Wf),this.k).Lk(),n),t,i)},s.Th=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Pi(this,0)),u(Cu(this.c,(Zt(),O0)),163)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new Pi(this,0)),dt(DE(this.c,(Zt(),W8),!0))!=null;case 4:return wY(this.a,(!this.c&&(this.c=new Pi(this,0)),dt(DE(this.c,(Zt(),W8),!0))))!=null;case 5:return!!this.a}return Ns(this,n-Un((Zt(),Rp)),cn((this.j&2)==0?Rp:(!this.k&&(this.k=new Wf),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.c&&(this.c=new Pi(this,0)),w7(this.c,t);return;case 1:(!this.c&&(this.c=new Pi(this,0)),u(u(Cu(this.c,(Zt(),O0)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new Pi(this,2)),w7(this.b,t);return;case 3:tee(this,dt(t));return;case 4:tee(this,bY(this.a,t));return;case 5:C0n(this,u(t,159));return}Bs(this,n-Un((Zt(),Rp)),cn((this.j&2)==0?Rp:(!this.k&&(this.k=new Wf),this.k).Lk(),n),t)},s.fi=function(){return Zt(),Rp},s.hi=function(n){switch(n){case 0:!this.c&&(this.c=new Pi(this,0)),nt(this.c);return;case 1:(!this.c&&(this.c=new Pi(this,0)),u(Cu(this.c,(Zt(),O0)),163)).$b();return;case 2:!this.b&&(this.b=new Pi(this,2)),nt(this.b);return;case 3:!this.c&&(this.c=new Pi(this,0)),LS(this.c,(Zt(),W8),null);return;case 4:tee(this,bY(this.a,null));return;case 5:this.a=null;return}Rs(this,n-Un((Zt(),Rp)),cn((this.j&2)==0?Rp:(!this.k&&(this.k=new Wf),this.k).Lk(),n))},g(Yi,"SimpleAnyTypeImpl",672),w(673,502,{109:1,94:1,93:1,57:1,52:1,100:1,2086:1,673:1},Dxe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.a&&(this.a=new Pi(this,0)),this.a):(!this.a&&(this.a=new Pi(this,0)),this.a.b);case 1:return i?(!this.b&&(this.b=new vo((nn(),nc),nu,this,1)),this.b):(!this.b&&(this.b=new vo((nn(),nc),nu,this,1)),P7(this.b));case 2:return i?(!this.c&&(this.c=new vo((nn(),nc),nu,this,2)),this.c):(!this.c&&(this.c=new vo((nn(),nc),nu,this,2)),P7(this.c));case 3:return!this.a&&(this.a=new Pi(this,0)),Cu(this.a,(Zt(),Lx));case 4:return!this.a&&(this.a=new Pi(this,0)),Cu(this.a,(Zt(),_x));case 5:return!this.a&&(this.a=new Pi(this,0)),Cu(this.a,(Zt(),V8));case 6:return!this.a&&(this.a=new Pi(this,0)),Cu(this.a,(Zt(),Q8))}return $s(this,n-Un((Zt(),Vb)),cn((this.j&2)==0?Vb:(!this.k&&(this.k=new Wf),this.k).Lk(),n),t,i)},s.Rh=function(n,t,i){var r;switch(t){case 0:return!this.a&&(this.a=new Pi(this,0)),OE(this.a,n,i);case 1:return!this.b&&(this.b=new vo((nn(),nc),nu,this,1)),$M(this.b,n,i);case 2:return!this.c&&(this.c=new vo((nn(),nc),nu,this,2)),$M(this.c,n,i);case 5:return!this.a&&(this.a=new Pi(this,0)),nIe(Cu(this.a,(Zt(),V8)),n,i)}return r=u(cn((this.j&2)==0?(Zt(),Vb):(!this.k&&(this.k=new Wf),this.k).Lk(),t),69),r.uk().yk(this,Xee(this),t-Un((Zt(),Vb)),n,i)},s.Th=function(n){switch(n){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new Pi(this,0)),!wM(Cu(this.a,(Zt(),Lx)));case 4:return!this.a&&(this.a=new Pi(this,0)),!wM(Cu(this.a,(Zt(),_x)));case 5:return!this.a&&(this.a=new Pi(this,0)),!wM(Cu(this.a,(Zt(),V8)));case 6:return!this.a&&(this.a=new Pi(this,0)),!wM(Cu(this.a,(Zt(),Q8)))}return Ns(this,n-Un((Zt(),Vb)),cn((this.j&2)==0?Vb:(!this.k&&(this.k=new Wf),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.a&&(this.a=new Pi(this,0)),w7(this.a,t);return;case 1:!this.b&&(this.b=new vo((nn(),nc),nu,this,1)),mT(this.b,t);return;case 2:!this.c&&(this.c=new vo((nn(),nc),nu,this,2)),mT(this.c,t);return;case 3:!this.a&&(this.a=new Pi(this,0)),Qp(Cu(this.a,(Zt(),Lx))),!this.a&&(this.a=new Pi(this,0)),_6(Cu(this.a,Lx),u(t,18));return;case 4:!this.a&&(this.a=new Pi(this,0)),Qp(Cu(this.a,(Zt(),_x))),!this.a&&(this.a=new Pi(this,0)),_6(Cu(this.a,_x),u(t,18));return;case 5:!this.a&&(this.a=new Pi(this,0)),Qp(Cu(this.a,(Zt(),V8))),!this.a&&(this.a=new Pi(this,0)),_6(Cu(this.a,V8),u(t,18));return;case 6:!this.a&&(this.a=new Pi(this,0)),Qp(Cu(this.a,(Zt(),Q8))),!this.a&&(this.a=new Pi(this,0)),_6(Cu(this.a,Q8),u(t,18));return}Bs(this,n-Un((Zt(),Vb)),cn((this.j&2)==0?Vb:(!this.k&&(this.k=new Wf),this.k).Lk(),n),t)},s.fi=function(){return Zt(),Vb},s.hi=function(n){switch(n){case 0:!this.a&&(this.a=new Pi(this,0)),nt(this.a);return;case 1:!this.b&&(this.b=new vo((nn(),nc),nu,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new vo((nn(),nc),nu,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new Pi(this,0)),Qp(Cu(this.a,(Zt(),Lx)));return;case 4:!this.a&&(this.a=new Pi(this,0)),Qp(Cu(this.a,(Zt(),_x)));return;case 5:!this.a&&(this.a=new Pi(this,0)),Qp(Cu(this.a,(Zt(),V8)));return;case 6:!this.a&&(this.a=new Pi(this,0)),Qp(Cu(this.a,(Zt(),Q8)));return}Rs(this,n-Un((Zt(),Vb)),cn((this.j&2)==0?Vb:(!this.k&&(this.k=new Wf),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Of(this):(n=new ef(Of(this)),n.a+=" (mixed: ",N6(n,this.a),n.a+=")",n.a)},g(Yi,"XMLTypeDocumentRootImpl",673),w(1993,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1,2087:1},n9e),s.oi=function(n,t){switch(n.fk()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return t==null?null:Oc(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return dt(t);case 6:return a2n(u(t,195));case 12:case 47:case 49:case 11:return lKe(this,n,t);case 13:return t==null?null:dDn(u(t,247));case 15:case 14:return t==null?null:lvn(q(K(t)));case 17:return eHe((Zt(),t));case 18:return eHe(t);case 21:case 20:return t==null?null:hvn(u(t,164).a);case 27:return d2n(u(t,195));case 30:return aGe((Zt(),u(t,16)));case 31:return aGe(u(t,16));case 40:return h2n((Zt(),t));case 42:return nHe((Zt(),t));case 43:return nHe(t);case 59:case 48:return l2n((Zt(),t));default:throw I(new xn(e5+n.ve()+Ob))}},s.pi=function(n){var t,i,r,c,o;switch(n.G==-1&&(n.G=(i=ds(n),i?Ka(i.si(),n):-1)),n.G){case 0:return t=new XW,t;case 1:return r=new u9e,r;case 2:return c=new $xe,c;case 3:return o=new Dxe,o;default:throw I(new xn(gH+n.zb+Ob))}},s.qi=function(n,t){var i,r,c,o,f,l,h,a,b,p,y,k,x,C,O,_;switch(n.fk()){case 5:case 52:case 4:return t;case 6:return Ijn(t);case 8:case 7:return t==null?null:bMn(t);case 9:return t==null?null:B7(ps((r=Pu(t,!0),r.length>0&&(Pn(0,r.length),r.charCodeAt(0)==43)?(Pn(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:B7(ps((c=Pu(t,!0),c.length>0&&(Pn(0,c.length),c.charCodeAt(0)==43)?(Pn(1,c.length+1),c.substr(1)):c),-128,127)<<24>>24);case 11:return dt(jb(this,(Zt(),hhn),t));case 12:return dt(jb(this,(Zt(),ahn),t));case 13:return t==null?null:new bV(Pu(t,!0));case 15:case 14:return EIn(t);case 16:return dt(jb(this,(Zt(),dhn),t));case 17:return wJe((Zt(),t));case 18:return wJe(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Pu(t,!0);case 21:case 20:return OIn(t);case 22:return dt(jb(this,(Zt(),bhn),t));case 23:return dt(jb(this,(Zt(),whn),t));case 24:return dt(jb(this,(Zt(),ghn),t));case 25:return dt(jb(this,(Zt(),phn),t));case 26:return dt(jb(this,(Zt(),mhn),t));case 27:return kjn(t);case 30:return gJe((Zt(),t));case 31:return gJe(t);case 32:return t==null?null:le(ps((b=Pu(t,!0),b.length>0&&(Pn(0,b.length),b.charCodeAt(0)==43)?(Pn(1,b.length+1),b.substr(1)):b),Mr,_t));case 33:return t==null?null:new C1((p=Pu(t,!0),p.length>0&&(Pn(0,p.length),p.charCodeAt(0)==43)?(Pn(1,p.length+1),p.substr(1)):p));case 34:return t==null?null:le(ps((y=Pu(t,!0),y.length>0&&(Pn(0,y.length),y.charCodeAt(0)==43)?(Pn(1,y.length+1),y.substr(1)):y),Mr,_t));case 36:return t==null?null:zw(BS((k=Pu(t,!0),k.length>0&&(Pn(0,k.length),k.charCodeAt(0)==43)?(Pn(1,k.length+1),k.substr(1)):k)));case 37:return t==null?null:zw(BS((x=Pu(t,!0),x.length>0&&(Pn(0,x.length),x.charCodeAt(0)==43)?(Pn(1,x.length+1),x.substr(1)):x)));case 40:return pxn((Zt(),t));case 42:return pJe((Zt(),t));case 43:return pJe(t);case 44:return t==null?null:new C1((C=Pu(t,!0),C.length>0&&(Pn(0,C.length),C.charCodeAt(0)==43)?(Pn(1,C.length+1),C.substr(1)):C));case 45:return t==null?null:new C1((O=Pu(t,!0),O.length>0&&(Pn(0,O.length),O.charCodeAt(0)==43)?(Pn(1,O.length+1),O.substr(1)):O));case 46:return Pu(t,!1);case 47:return dt(jb(this,(Zt(),vhn),t));case 59:case 48:return gxn((Zt(),t));case 49:return dt(jb(this,(Zt(),yhn),t));case 50:return t==null?null:t4(ps((_=Pu(t,!0),_.length>0&&(Pn(0,_.length),_.charCodeAt(0)==43)?(Pn(1,_.length+1),_.substr(1)):_),GI,32767)<<16>>16);case 51:return t==null?null:t4(ps((o=Pu(t,!0),o.length>0&&(Pn(0,o.length),o.charCodeAt(0)==43)?(Pn(1,o.length+1),o.substr(1)):o),GI,32767)<<16>>16);case 53:return dt(jb(this,(Zt(),khn),t));case 55:return t==null?null:t4(ps((f=Pu(t,!0),f.length>0&&(Pn(0,f.length),f.charCodeAt(0)==43)?(Pn(1,f.length+1),f.substr(1)):f),GI,32767)<<16>>16);case 56:return t==null?null:t4(ps((l=Pu(t,!0),l.length>0&&(Pn(0,l.length),l.charCodeAt(0)==43)?(Pn(1,l.length+1),l.substr(1)):l),GI,32767)<<16>>16);case 57:return t==null?null:zw(BS((h=Pu(t,!0),h.length>0&&(Pn(0,h.length),h.charCodeAt(0)==43)?(Pn(1,h.length+1),h.substr(1)):h)));case 58:return t==null?null:zw(BS((a=Pu(t,!0),a.length>0&&(Pn(0,a.length),a.charCodeAt(0)==43)?(Pn(1,a.length+1),a.substr(1)):a)));case 60:return t==null?null:le(ps((i=Pu(t,!0),i.length>0&&(Pn(0,i.length),i.charCodeAt(0)==43)?(Pn(1,i.length+1),i.substr(1)):i),Mr,_t));case 61:return t==null?null:le(ps(Pu(t,!0),Mr,_t));default:throw I(new xn(e5+n.ve()+Ob))}};var jhn,Bge,xhn,Jge;g(Yi,"XMLTypeFactoryImpl",1993),w(583,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1,2009:1,583:1},$Oe),s.N=!1,s.O=!1;var Ahn=!1;g(Yi,"XMLTypePackageImpl",583),w(1926,1,{836:1},t9e),s.Ik=function(){return Ice(),$hn},g(Yi,"XMLTypePackageImpl/1",1926),w(1935,1,Nt,i9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/10",1935),w(1936,1,Nt,r9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/11",1936),w(1937,1,Nt,c9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/12",1937),w(1938,1,Nt,o9e),s.dk=function(n){return bw(n)},s.ek=function(n){return ee(zi,pe,346,n,7,1)},g(Yi,"XMLTypePackageImpl/13",1938),w(1939,1,Nt,s9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/14",1939),w(1940,1,Nt,f9e),s.dk=function(n){return F(n,16)},s.ek=function(n){return ee(ks,ug,16,n,0,1)},g(Yi,"XMLTypePackageImpl/15",1940),w(1941,1,Nt,l9e),s.dk=function(n){return F(n,16)},s.ek=function(n){return ee(ks,ug,16,n,0,1)},g(Yi,"XMLTypePackageImpl/16",1941),w(1942,1,Nt,h9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/17",1942),w(1943,1,Nt,a9e),s.dk=function(n){return F(n,164)},s.ek=function(n){return ee(s5,pe,164,n,0,1)},g(Yi,"XMLTypePackageImpl/18",1943),w(1944,1,Nt,d9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/19",1944),w(1927,1,Nt,b9e),s.dk=function(n){return F(n,842)},s.ek=function(n){return ee($x,ln,842,n,0,1)},g(Yi,"XMLTypePackageImpl/2",1927),w(1945,1,Nt,w9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/20",1945),w(1946,1,Nt,g9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/21",1946),w(1947,1,Nt,p9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/22",1947),w(1948,1,Nt,m9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/23",1948),w(1949,1,Nt,v9e),s.dk=function(n){return F(n,195)},s.ek=function(n){return ee(Ao,pe,195,n,0,2)},g(Yi,"XMLTypePackageImpl/24",1949),w(1950,1,Nt,y9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/25",1950),w(1951,1,Nt,k9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/26",1951),w(1952,1,Nt,E9e),s.dk=function(n){return F(n,16)},s.ek=function(n){return ee(ks,ug,16,n,0,1)},g(Yi,"XMLTypePackageImpl/27",1952),w(1953,1,Nt,j9e),s.dk=function(n){return F(n,16)},s.ek=function(n){return ee(ks,ug,16,n,0,1)},g(Yi,"XMLTypePackageImpl/28",1953),w(1954,1,Nt,x9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/29",1954),w(1928,1,Nt,A9e),s.dk=function(n){return F(n,671)},s.ek=function(n){return ee(gN,ln,2084,n,0,1)},g(Yi,"XMLTypePackageImpl/3",1928),w(1955,1,Nt,M9e),s.dk=function(n){return F(n,15)},s.ek=function(n){return ee(Zi,pe,15,n,0,1)},g(Yi,"XMLTypePackageImpl/30",1955),w(1956,1,Nt,C9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/31",1956),w(1957,1,Nt,T9e),s.dk=function(n){return F(n,190)},s.ek=function(n){return ee($b,pe,190,n,0,1)},g(Yi,"XMLTypePackageImpl/32",1957),w(1958,1,Nt,S9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/33",1958),w(1959,1,Nt,I9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/34",1959),w(1960,1,Nt,P9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/35",1960),w(1961,1,Nt,O9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/36",1961),w(1962,1,Nt,N9e),s.dk=function(n){return F(n,16)},s.ek=function(n){return ee(ks,ug,16,n,0,1)},g(Yi,"XMLTypePackageImpl/37",1962),w(1963,1,Nt,$9e),s.dk=function(n){return F(n,16)},s.ek=function(n){return ee(ks,ug,16,n,0,1)},g(Yi,"XMLTypePackageImpl/38",1963),w(1964,1,Nt,D9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/39",1964),w(1929,1,Nt,L9e),s.dk=function(n){return F(n,672)},s.ek=function(n){return ee(Dx,ln,2085,n,0,1)},g(Yi,"XMLTypePackageImpl/4",1929),w(1965,1,Nt,_9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/40",1965),w(1966,1,Nt,F9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/41",1966),w(1967,1,Nt,R9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/42",1967),w(1968,1,Nt,B9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/43",1968),w(1969,1,Nt,J9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/44",1969),w(1970,1,Nt,G9e),s.dk=function(n){return F(n,191)},s.ek=function(n){return ee(Db,pe,191,n,0,1)},g(Yi,"XMLTypePackageImpl/45",1970),w(1971,1,Nt,H9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/46",1971),w(1972,1,Nt,q9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/47",1972),w(1973,1,Nt,z9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/48",1973),w(1974,1,Nt,U9e),s.dk=function(n){return F(n,191)},s.ek=function(n){return ee(Db,pe,191,n,0,1)},g(Yi,"XMLTypePackageImpl/49",1974),w(1930,1,Nt,X9e),s.dk=function(n){return F(n,673)},s.ek=function(n){return ee(Fge,ln,2086,n,0,1)},g(Yi,"XMLTypePackageImpl/5",1930),w(1975,1,Nt,K9e),s.dk=function(n){return F(n,190)},s.ek=function(n){return ee($b,pe,190,n,0,1)},g(Yi,"XMLTypePackageImpl/50",1975),w(1976,1,Nt,W9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/51",1976),w(1977,1,Nt,V9e),s.dk=function(n){return F(n,15)},s.ek=function(n){return ee(Zi,pe,15,n,0,1)},g(Yi,"XMLTypePackageImpl/52",1977),w(1931,1,Nt,Q9e),s.dk=function(n){return mr(n)},s.ek=function(n){return ee(Ie,pe,2,n,6,1)},g(Yi,"XMLTypePackageImpl/6",1931),w(1932,1,Nt,Y9e),s.dk=function(n){return F(n,195)},s.ek=function(n){return ee(Ao,pe,195,n,0,2)},g(Yi,"XMLTypePackageImpl/7",1932),w(1933,1,Nt,Z9e),s.dk=function(n){return dw(n)},s.ek=function(n){return ee(Ci,pe,473,n,8,1)},g(Yi,"XMLTypePackageImpl/8",1933),w(1934,1,Nt,e8e),s.dk=function(n){return F(n,221)},s.ek=function(n){return ee(a3,pe,221,n,0,1)},g(Yi,"XMLTypePackageImpl/9",1934);var ql,g1,Y8,pN,D;w(53,63,aa,pt),g(t1,"RegEx/ParseException",53),w(821,1,{},QK),s._l=function(n){return n<this.j&&Dr(this.i,n)==63},s.am=function(){var n,t,i,r,c;if(this.c!=10)throw I(new pt(vt((at(),$I))));switch(n=this.a,n){case 101:n=27;break;case 102:n=12;break;case 110:n=10;break;case 114:n=13;break;case 116:n=9;break;case 120:if(Rt(this),this.c!=0)throw I(new pt(vt((at(),n1))));if(this.a==123){c=0,i=0;do{if(Rt(this),this.c!=0)throw I(new pt(vt((at(),n1))));if((c=i0(this.a))<0)break;if(i>i*16)throw I(new pt(vt((at(),IYe))));i=i*16+c}while(!0);if(this.a!=125)throw I(new pt(vt((at(),PYe))));if(i>c5)throw I(new pt(vt((at(),OYe))));n=i}else{if(c=0,this.c!=0||(c=i0(this.a))<0)throw I(new pt(vt((at(),n1))));if(i=c,Rt(this),this.c!=0||(c=i0(this.a))<0)throw I(new pt(vt((at(),n1))));i=i*16+c,n=i}break;case 117:if(r=0,Rt(this),this.c!=0||(r=i0(this.a))<0)throw I(new pt(vt((at(),n1))));if(t=r,Rt(this),this.c!=0||(r=i0(this.a))<0)throw I(new pt(vt((at(),n1))));if(t=t*16+r,Rt(this),this.c!=0||(r=i0(this.a))<0)throw I(new pt(vt((at(),n1))));if(t=t*16+r,Rt(this),this.c!=0||(r=i0(this.a))<0)throw I(new pt(vt((at(),n1))));t=t*16+r,n=t;break;case 118:if(Rt(this),this.c!=0||(r=i0(this.a))<0)throw I(new pt(vt((at(),n1))));if(t=r,Rt(this),this.c!=0||(r=i0(this.a))<0)throw I(new pt(vt((at(),n1))));if(t=t*16+r,Rt(this),this.c!=0||(r=i0(this.a))<0)throw I(new pt(vt((at(),n1))));if(t=t*16+r,Rt(this),this.c!=0||(r=i0(this.a))<0)throw I(new pt(vt((at(),n1))));if(t=t*16+r,Rt(this),this.c!=0||(r=i0(this.a))<0)throw I(new pt(vt((at(),n1))));if(t=t*16+r,Rt(this),this.c!=0||(r=i0(this.a))<0)throw I(new pt(vt((at(),n1))));if(t=t*16+r,t>c5)throw I(new pt(vt((at(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw I(new pt(vt((at(),NYe))))}return n},s.bm=function(n){var t,i;switch(n){case 100:i=(this.e&32)==32?W1("Nd",!0):(Bt(),mN);break;case 68:i=(this.e&32)==32?W1("Nd",!1):(Bt(),Xge);break;case 119:i=(this.e&32)==32?W1("IsWord",!0):(Bt(),X5);break;case 87:i=(this.e&32)==32?W1("IsWord",!1):(Bt(),Wge);break;case 115:i=(this.e&32)==32?W1("IsSpace",!0):(Bt(),q3);break;case 83:i=(this.e&32)==32?W1("IsSpace",!1):(Bt(),Kge);break;default:throw I(new Dc((t=n,NZe+t.toString(16))))}return i},s.cm=function(n){var t,i,r,c,o,f,l,h,a,b,p,y;for(this.b=1,Rt(this),t=null,this.c==0&&this.a==94?(Rt(this),n?b=(Bt(),Bt(),new hs(5)):(t=(Bt(),Bt(),new hs(4)),Iu(t,0,c5),b=new hs(4))):b=(Bt(),Bt(),new hs(4)),c=!0;(y=this.c)!=1&&!(y==0&&this.a==93&&!c);){if(c=!1,i=this.a,r=!1,y==10)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:tg(b,this.bm(i)),r=!0;break;case 105:case 73:case 99:case 67:i=this.sm(b,i),i<0&&(r=!0);break;case 112:case 80:if(p=Ere(this,i),!p)throw I(new pt(vt((at(),SH))));tg(b,p),r=!0;break;default:i=this.am()}else if(y==20){if(f=pv(this.i,58,this.d),f<0)throw I(new pt(vt((at(),Efe))));if(l=!0,Dr(this.i,this.d)==94&&(++this.d,l=!1),o=tf(this.i,this.d,f),h=FLe(o,l,(this.e&512)==512),!h)throw I(new pt(vt((at(),AYe))));if(tg(b,h),r=!0,f+1>=this.j||Dr(this.i,f+1)!=93)throw I(new pt(vt((at(),Efe))));this.d=f+2}if(Rt(this),!r)if(this.c!=0||this.a!=45)Iu(b,i,i);else{if(Rt(this),(y=this.c)==1)throw I(new pt(vt((at(),DI))));y==0&&this.a==93?(Iu(b,i,i),Iu(b,45,45)):(a=this.a,y==10&&(a=this.am()),Rt(this),Iu(b,i,a))}(this.e&Df)==Df&&this.c==0&&this.a==44&&Rt(this)}if(this.c==1)throw I(new pt(vt((at(),DI))));return t&&(n9(t,b),b=t),U2(b),Zy(b),this.b=0,Rt(this),b},s.dm=function(){var n,t,i,r;for(i=this.cm(!1);(r=this.c)!=7;)if(n=this.a,r==0&&(n==45||n==38)||r==4){if(Rt(this),this.c!=9)throw I(new pt(vt((at(),CYe))));if(t=this.cm(!1),r==4)tg(i,t);else if(n==45)n9(i,t);else if(n==38)uKe(i,t);else throw I(new Dc("ASSERT"))}else throw I(new pt(vt((at(),TYe))));return Rt(this),i},s.em=function(){var n,t;return n=this.a-48,t=(Bt(),Bt(),new L_(12,null,n)),!this.g&&(this.g=new xA),jA(this.g,new NW(n)),Rt(this),t},s.fm=function(){return Rt(this),Bt(),Thn},s.gm=function(){return Rt(this),Bt(),Chn},s.hm=function(){throw I(new pt(vt((at(),qs))))},s.im=function(){throw I(new pt(vt((at(),qs))))},s.jm=function(){return Rt(this),Ukn()},s.km=function(){return Rt(this),Bt(),Ihn},s.lm=function(){return Rt(this),Bt(),Ohn},s.mm=function(){var n;if(this.d>=this.j||((n=Dr(this.i,this.d++))&65504)!=64)throw I(new pt(vt((at(),EYe))));return Rt(this),Bt(),Bt(),new yh(0,n-64)},s.nm=function(){return Rt(this),w$n()},s.om=function(){return Rt(this),Bt(),Nhn},s.pm=function(){var n;return n=(Bt(),Bt(),new yh(0,105)),Rt(this),n},s.qm=function(){return Rt(this),Bt(),Phn},s.rm=function(){return Rt(this),Bt(),Shn},s.sm=function(n,t){return this.am()},s.tm=function(){return Rt(this),Bt(),zge},s.um=function(){var n,t,i,r,c;if(this.d+1>=this.j)throw I(new pt(vt((at(),vYe))));if(r=-1,t=null,n=Dr(this.i,this.d),49<=n&&n<=57){if(r=n-48,!this.g&&(this.g=new xA),jA(this.g,new NW(r)),++this.d,Dr(this.i,this.d)!=41)throw I(new pt(vt((at(),b0))));++this.d}else switch(n==63&&--this.d,Rt(this),t=tue(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw I(new pt(vt((at(),b0))));break;default:throw I(new pt(vt((at(),yYe))))}if(Rt(this),c=bb(this),i=null,c.e==2){if(c.Nm()!=2)throw I(new pt(vt((at(),kYe))));i=c.Jm(1),c=c.Jm(0)}if(this.c!=7)throw I(new pt(vt((at(),b0))));return Rt(this),Bt(),Bt(),new q_e(r,t,c,i)},s.vm=function(){return Rt(this),Bt(),Uge},s.wm=function(){var n;if(Rt(this),n=oC(24,bb(this)),this.c!=7)throw I(new pt(vt((at(),b0))));return Rt(this),n},s.xm=function(){var n;if(Rt(this),n=oC(20,bb(this)),this.c!=7)throw I(new pt(vt((at(),b0))));return Rt(this),n},s.ym=function(){var n;if(Rt(this),n=oC(22,bb(this)),this.c!=7)throw I(new pt(vt((at(),b0))));return Rt(this),n},s.zm=function(){var n,t,i,r,c;for(n=0,i=0,t=-1;this.d<this.j&&(t=Dr(this.i,this.d),c=Tre(t),c!=0);)n|=c,++this.d;if(this.d>=this.j)throw I(new pt(vt((at(),yfe))));if(t==45){for(++this.d;this.d<this.j&&(t=Dr(this.i,this.d),c=Tre(t),c!=0);)i|=c,++this.d;if(this.d>=this.j)throw I(new pt(vt((at(),yfe))))}if(t==58){if(++this.d,Rt(this),r=hOe(bb(this),n,i),this.c!=7)throw I(new pt(vt((at(),b0))));Rt(this)}else if(t==41)++this.d,Rt(this),r=hOe(bb(this),n,i);else throw I(new pt(vt((at(),mYe))));return r},s.Am=function(){var n;if(Rt(this),n=oC(21,bb(this)),this.c!=7)throw I(new pt(vt((at(),b0))));return Rt(this),n},s.Bm=function(){var n;if(Rt(this),n=oC(23,bb(this)),this.c!=7)throw I(new pt(vt((at(),b0))));return Rt(this),n},s.Cm=function(){var n,t;if(Rt(this),n=this.f++,t=d_(bb(this),n),this.c!=7)throw I(new pt(vt((at(),b0))));return Rt(this),t},s.Dm=function(){var n;if(Rt(this),n=d_(bb(this),0),this.c!=7)throw I(new pt(vt((at(),b0))));return Rt(this),n},s.Em=function(n){return Rt(this),this.c==5?(Rt(this),QM(n,(Bt(),Bt(),new Ow(9,n)))):QM(n,(Bt(),Bt(),new Ow(3,n)))},s.Fm=function(n){var t;return Rt(this),t=(Bt(),Bt(),new L6(2)),this.c==5?(Rt(this),u0(t,ek),u0(t,n)):(u0(t,n),u0(t,ek)),t},s.Gm=function(n){return Rt(this),this.c==5?(Rt(this),Bt(),Bt(),new Ow(9,n)):(Bt(),Bt(),new Ow(3,n))},s.a=0,s.b=0,s.c=0,s.d=0,s.e=0,s.f=1,s.g=null,s.j=0,g(t1,"RegEx/RegexParser",821),w(1913,821,{},Lxe),s._l=function(n){return!1},s.am=function(){return oce(this)},s.bm=function(n){return x4(n)},s.cm=function(n){return ZKe(this)},s.dm=function(){throw I(new pt(vt((at(),qs))))},s.em=function(){throw I(new pt(vt((at(),qs))))},s.fm=function(){throw I(new pt(vt((at(),qs))))},s.gm=function(){throw I(new pt(vt((at(),qs))))},s.hm=function(){return Rt(this),x4(67)},s.im=function(){return Rt(this),x4(73)},s.jm=function(){throw I(new pt(vt((at(),qs))))},s.km=function(){throw I(new pt(vt((at(),qs))))},s.lm=function(){throw I(new pt(vt((at(),qs))))},s.mm=function(){return Rt(this),x4(99)},s.nm=function(){throw I(new pt(vt((at(),qs))))},s.om=function(){throw I(new pt(vt((at(),qs))))},s.pm=function(){return Rt(this),x4(105)},s.qm=function(){throw I(new pt(vt((at(),qs))))},s.rm=function(){throw I(new pt(vt((at(),qs))))},s.sm=function(n,t){return tg(n,x4(t)),-1},s.tm=function(){return Rt(this),Bt(),Bt(),new yh(0,94)},s.um=function(){throw I(new pt(vt((at(),qs))))},s.vm=function(){return Rt(this),Bt(),Bt(),new yh(0,36)},s.wm=function(){throw I(new pt(vt((at(),qs))))},s.xm=function(){throw I(new pt(vt((at(),qs))))},s.ym=function(){throw I(new pt(vt((at(),qs))))},s.zm=function(){throw I(new pt(vt((at(),qs))))},s.Am=function(){throw I(new pt(vt((at(),qs))))},s.Bm=function(){throw I(new pt(vt((at(),qs))))},s.Cm=function(){var n;if(Rt(this),n=d_(bb(this),0),this.c!=7)throw I(new pt(vt((at(),b0))));return Rt(this),n},s.Dm=function(){throw I(new pt(vt((at(),qs))))},s.Em=function(n){return Rt(this),QM(n,(Bt(),Bt(),new Ow(3,n)))},s.Fm=function(n){var t;return Rt(this),t=(Bt(),Bt(),new L6(2)),u0(t,n),u0(t,ek),t},s.Gm=function(n){return Rt(this),Bt(),Bt(),new Ow(3,n)};var Bp=null,z5=null;g(t1,"RegEx/ParserForXMLSchema",1913),w(121,1,u5,B0),s.Hm=function(n){throw I(new Dc("Not supported."))},s.Im=function(){return-1},s.Jm=function(n){return null},s.Km=function(){return null},s.Lm=function(n){},s.Mm=function(n){},s.Nm=function(){return 0},s.Ib=function(){return this.Om(0)},s.Om=function(n){return this.e==11?".":""},s.e=0;var Gge,U5,Z8,Mhn,Hge,Vg=null,mN,UX=null,qge,ek,XX=null,zge,Uge,Xge,Kge,Wge,Chn,q3,Thn,Shn,Ihn,Phn,X5,Ohn,Nhn,TRn=g(t1,"RegEx/Token",121);w(137,121,{3:1,137:1,121:1},hs),s.Om=function(n){var t,i,r;if(this.e==4)if(this==qge)i=".";else if(this==mN)i="\\d";else if(this==X5)i="\\w";else if(this==q3)i="\\s";else{for(r=new Ia,r.a+="[",t=0;t<this.b.length;t+=2)(n&Df)!=0&&t>0&&(r.a+=","),this.b[t]===this.b[t+1]?ac(r,$E(this.b[t])):(ac(r,$E(this.b[t])),r.a+="-",ac(r,$E(this.b[t+1])));r.a+="]",i=r.a}else if(this==Xge)i="\\D";else if(this==Wge)i="\\W";else if(this==Kge)i="\\S";else{for(r=new Ia,r.a+="[^",t=0;t<this.b.length;t+=2)(n&Df)!=0&&t>0&&(r.a+=","),this.b[t]===this.b[t+1]?ac(r,$E(this.b[t])):(ac(r,$E(this.b[t])),r.a+="-",ac(r,$E(this.b[t+1])));r.a+="]",i=r.a}return i},s.a=!1,s.c=!1,g(t1,"RegEx/RangeToken",137),w(581,1,{581:1},NW),s.a=0,g(t1,"RegEx/RegexParser/ReferencePosition",581),w(580,1,{3:1,580:1},mMe),s.Fb=function(n){var t;return n==null||!F(n,580)?!1:(t=u(n,580),We(this.b,t.b)&&this.a==t.a)},s.Hb=function(){return Ha(this.b+"/"+ece(this.a))},s.Ib=function(){return this.c.Om(this.a)},s.a=0,g(t1,"RegEx/RegularExpression",580),w(228,121,u5,yh),s.Im=function(){return this.a},s.Om=function(n){var t,i,r;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:r="\\"+FL(this.a&Qi);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:this.a>=Yr?(i=(t=this.a>>>0,"0"+t.toString(16)),r="\\v"+tf(i,i.length-6,i.length)):r=""+FL(this.a&Qi)}break;case 8:this==zge||this==Uge?r=""+FL(this.a&Qi):r="\\"+FL(this.a&Qi);break;default:r=null}return r},s.a=0,g(t1,"RegEx/Token/CharToken",228),w(323,121,u5,Ow),s.Jm=function(n){return this.a},s.Lm=function(n){this.b=n},s.Mm=function(n){this.c=n},s.Nm=function(){return 1},s.Om=function(n){var t;if(this.e==3)if(this.c<0&&this.b<0)t=this.a.Om(n)+"*";else if(this.c==this.b)t=this.a.Om(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.Om(n)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)t=this.a.Om(n)+"{"+this.c+",}";else throw I(new Dc("Token#toString(): CLOSURE "+this.c+Ju+this.b));else if(this.c<0&&this.b<0)t=this.a.Om(n)+"*?";else if(this.c==this.b)t=this.a.Om(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.Om(n)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)t=this.a.Om(n)+"{"+this.c+",}?";else throw I(new Dc("Token#toString(): NONGREEDYCLOSURE "+this.c+Ju+this.b));return t},s.b=0,s.c=0,g(t1,"RegEx/Token/ClosureToken",323),w(822,121,u5,aZ),s.Jm=function(n){return n==0?this.a:this.b},s.Nm=function(){return 2},s.Om=function(n){var t;return this.b.e==3&&this.b.Jm(0)==this.a?t=this.a.Om(n)+"+":this.b.e==9&&this.b.Jm(0)==this.a?t=this.a.Om(n)+"+?":t=this.a.Om(n)+(""+this.b.Om(n)),t},g(t1,"RegEx/Token/ConcatToken",822),w(1911,121,u5,q_e),s.Jm=function(n){if(n==0)return this.d;if(n==1)return this.b;throw I(new Dc("Internal Error: "+n))},s.Nm=function(){return this.b?2:1},s.Om=function(n){var t;return this.c>0?t="(?("+this.c+")":this.a.e==8?t="(?("+this.a+")":t="(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},s.c=0,g(t1,"RegEx/Token/ConditionToken",1911),w(1912,121,u5,b$e),s.Jm=function(n){return this.b},s.Nm=function(){return 1},s.Om=function(n){return"(?"+(this.a==0?"":ece(this.a))+(this.c==0?"":ece(this.c))+":"+this.b.Om(n)+")"},s.a=0,s.c=0,g(t1,"RegEx/Token/ModifierToken",1912),w(823,121,u5,jZ),s.Jm=function(n){return this.a},s.Nm=function(){return 1},s.Om=function(n){var t;switch(t=null,this.e){case 6:this.b==0?t="(?:"+this.a.Om(n)+")":t="("+this.a.Om(n)+")";break;case 20:t="(?="+this.a.Om(n)+")";break;case 21:t="(?!"+this.a.Om(n)+")";break;case 22:t="(?<="+this.a.Om(n)+")";break;case 23:t="(?<!"+this.a.Om(n)+")";break;case 24:t="(?>"+this.a.Om(n)+")"}return t},s.b=0,g(t1,"RegEx/Token/ParenToken",823),w(518,121,{3:1,121:1,518:1},L_),s.Km=function(){return this.b},s.Om=function(n){return this.e==12?"\\"+this.a:sIn(this.b)},s.a=0,g(t1,"RegEx/Token/StringToken",518),w(466,121,u5,L6),s.Hm=function(n){u0(this,n)},s.Jm=function(n){return u(Z0(this.a,n),121)},s.Nm=function(){return this.a?this.a.a.c.length:0},s.Om=function(n){var t,i,r,c,o;if(this.e==1){if(this.a.a.c.length==2)t=u(Z0(this.a,0),121),i=u(Z0(this.a,1),121),i.e==3&&i.Jm(0)==t?c=t.Om(n)+"+":i.e==9&&i.Jm(0)==t?c=t.Om(n)+"+?":c=t.Om(n)+(""+i.Om(n));else{for(o=new Ia,r=0;r<this.a.a.c.length;r++)ac(o,u(Z0(this.a,r),121).Om(n));c=o.a}return c}if(this.a.a.c.length==2&&u(Z0(this.a,1),121).e==7)c=u(Z0(this.a,0),121).Om(n)+"?";else if(this.a.a.c.length==2&&u(Z0(this.a,0),121).e==7)c=u(Z0(this.a,1),121).Om(n)+"??";else{for(o=new Ia,ac(o,u(Z0(this.a,0),121).Om(n)),r=1;r<this.a.a.c.length;r++)o.a+="|",ac(o,u(Z0(this.a,r),121).Om(n));c=o.a}return c},g(t1,"RegEx/Token/UnionToken",466),w(515,1,{590:1},Sk),s.Ib=function(){return this.a.b},g(_Ze,"XMLTypeUtil/PatternMatcherImpl",515),w(1676,1489,{},n8e);var $hn;g(_Ze,"XMLTypeValidator",1676),w(270,1,Sh,_d),s.Ic=function(n){Lr(this,n)},s.Jc=function(){return(this.b-this.a)*this.c<0?xd:new T1(this)},s.a=0,s.b=0,s.c=0;var xd;g(Jfe,"ExclusiveRange",270),w(1055,1,Th,t8e),s.Rb=function(n){u(n,15),Zwn()},s.Nb=function(n){Or(this,n)},s.Pb=function(){return Jbn()},s.Ub=function(){return Gbn()},s.Wb=function(n){u(n,15),Ywn()},s.Ob=function(){return!1},s.Sb=function(){return!1},s.Tb=function(){return-1},s.Vb=function(){return-1},s.Qb=function(){throw I(new Ta(BZe))},g(Jfe,"ExclusiveRange/1",1055),w(259,1,Th,T1),s.Rb=function(n){u(n,15),egn()},s.Nb=function(n){Or(this,n)},s.Pb=function(){return g7n(this)},s.Ub=function(){return d9n(this)},s.Wb=function(n){u(n,15),ngn()},s.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Vb=function(){return this.b-1},s.Qb=function(){throw I(new Ta(BZe))},s.a=0,s.b=0,g(Jfe,"ExclusiveRange/RangeIterator",259);var Vs=Sv(LI,"C"),bt=Sv(S9,"I"),ao=Sv(e3,"Z"),Qb=Sv(I9,"J"),Ao=Sv(M9,"B"),jr=Sv(C9,"D"),Qg=Sv(T9,"F"),Jp=Sv(P9,"S"),SRn=yi("org.eclipse.elk.core.labels","ILabelManager"),Vge=yi(Vr,"DiagnosticChain"),Qge=yi(bZe,"ResourceSet"),Yge=g(Vr,"InvocationTargetException",null),Dhn=(IA(),Syn),Lhn=Lhn=YAn;w8n(G0n),O8n("permProps",[[["locale","default"],[JZe,"gecko1_8"]],[["locale","default"],[JZe,"safari"]]]),Lhn(null,"elk",null)}).call(this)}).call(this,typeof Fhn<"u"?Fhn:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(E,A,M){function P(ue){"@babel/helpers - typeof";return P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ge){return typeof ge}:function(ge){return ge&&typeof Symbol=="function"&&ge.constructor===Symbol&&ge!==Symbol.prototype?"symbol":typeof ge},P(ue)}function m(ue,ge,re){return Object.defineProperty(ue,"prototype",{writable:!1}),ue}function L(ue,ge){if(!(ue instanceof ge))throw new TypeError("Cannot call a class as a function")}function H(ue,ge,re){return ge=G(ge),U(ue,Y()?Reflect.construct(ge,re||[],G(ue).constructor):ge.apply(ue,re))}function U(ue,ge){if(ge&&(P(ge)=="object"||typeof ge=="function"))return ge;if(ge!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Q(ue)}function Q(ue){if(ue===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ue}function Y(){try{var ue=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Y=function(){return!!ue})()}function G(ue){return G=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(ge){return ge.__proto__||Object.getPrototypeOf(ge)},G(ue)}function V(ue,ge){if(typeof ge!="function"&&ge!==null)throw new TypeError("Super expression must either be null or a function");ue.prototype=Object.create(ge&&ge.prototype,{constructor:{value:ue,writable:!0,configurable:!0}}),Object.defineProperty(ue,"prototype",{writable:!1}),ge&&te(ue,ge)}function te(ue,ge){return te=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(re,je){return re.__proto__=je,re},te(ue,ge)}var X=E("./elk-api.js").default,Ee=(function(ue){function ge(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};L(this,ge);var je=Object.assign({},re),Ke=!1;try{E.resolve("web-worker"),Ke=!0}catch{}if(re.workerUrl)if(Ke){var Xe=E("web-worker");je.workerFactory=function(En){return new Xe(En)}}else console.warn(`Web worker requested but 'web-worker' package not installed.
|
|
29
29
|
Consider installing the package or pass your own 'workerFactory' to ELK's constructor.
|
|
30
|
-
... Falling back to non-web worker version.`);if(!je.workerFactory){var Ye=E("./elk-worker.min.js"),kn=Ye.Worker;je.workerFactory=function(En){return new kn(En)}}return H(this,ge,[je])}return V(ge,ue),m(ge)})(X);Object.defineProperty(A.exports,"__esModule",{value:!0}),A.exports=Ee,Ee.default=Ee},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(E,A,M){var P=typeof Worker<"u"?Worker:void 0;A.exports=P},{}]},{},[3])(3)})})(l2e)),l2e.exports}var cKn=rKn();const uKn=JRn(cKn),oKn=new uKn,dK=240,bK=150,sKn=48;async function fKn(d,v,E){if(d.length===0)return d;const A=d.filter(G=>G.type==="namespace-group"),M=d.filter(G=>G.type==="agent"),P=d.filter(G=>G.type==="adapter"),m=P.map(G=>{var V,te;return{id:G.id,width:((V=G.style)==null?void 0:V.width)??dK,height:((te=G.style)==null?void 0:te.height)??bK,layoutOptions:{"elk.layered.layering.layerConstraint":"FIRST"}}}),L=E?A.map(G=>{const V=M.filter(te=>te.parentId===G.id).map(te=>({id:te.id,width:dK,height:bK}));return{id:G.id,width:0,height:0,layoutOptions:{"elk.padding":`[top=${sKn},left=24,bottom=24,right=24]`,"elk.algorithm":"layered","elk.direction":"RIGHT","elk.spacing.nodeNode":"60"},children:V}}):M.map(G=>({id:G.id,width:dK,height:bK,...P.length>0?{layoutOptions:{"elk.layered.layering.layerConstraint":"LAST"}}:{}})),H=[...m,...L],U=v.map(G=>({id:G.id,sources:[G.source],targets:[G.target]})),Q={id:"root",layoutOptions:{"elk.algorithm":"layered","elk.direction":"RIGHT","elk.spacing.nodeNode":"80","elk.layered.spacing.nodeNodeBetweenLayers":"120"},children:H,edges:U},Y=await oKn.layout(Q);return d.map(G=>{var te,X,Ee,ue,ge;if(G.type==="namespace-group"){const re=(te=Y.children)==null?void 0:te.find(je=>je.id===G.id);return re?{...G,position:{x:re.x??0,y:re.y??0},style:{width:re.width??300,height:re.height??200}}:G}if(G.type==="adapter"){const re=(X=Y.children)==null?void 0:X.find(je=>je.id===G.id);return re?{...G,position:{x:re.x??0,y:re.y??0}}:G}if(E&&G.parentId){const re=(Ee=Y.children)==null?void 0:Ee.find(Ke=>Ke.id===G.parentId),je=(ue=re==null?void 0:re.children)==null?void 0:ue.find(Ke=>Ke.id===G.id);return je?{...G,position:{x:je.x??0,y:je.y??0}}:G}const V=(ge=Y.children)==null?void 0:ge.find(re=>re.id===G.id);return V?{...G,position:{x:V.x??0,y:V.y??0}}:G})}function lKn({rawNodes:d,deleteBindingMutate:v,createBindingMutate:E}){const{setCenter:A,getZoom:M}=LK(),[P,m]=sn.useState([]),[L,H]=sn.useState([]),U=sn.useRef([]),[Q,Y]=sn.useState(!0),[G,V]=sn.useState(null),[te,X]=sn.useState(null),[Ee,ue]=sn.useState(!1),ge=sn.useRef(new Map),[re,je]=sn.useState(0),[Ke,Xe]=sn.useState(null),Ye=sn.useCallback(Nn=>Nn.replace(/^binding:/,""),[]),kn=sn.useCallback(Nn=>{Xe(Nn)},[]),En=sn.useCallback(()=>{Xe(Nn=>(Nn&&v(Ye(Nn)),null))},[v,Ye]),Zn=sn.useCallback(()=>Xe(null),[]),Ln=sn.useCallback(Nn=>{m(qn=>sdn(Nn,qn))},[]),Vn=sn.useCallback((Nn,qn)=>{ge.current.set(qn.id,qn.position),ue(!0)},[]),J=sn.useCallback(Nn=>{const qn=[];for(const Jt of Nn){if(Jt.type==="remove"&&Jt.id.startsWith("binding:")){Xe(Jt.id);continue}qn.push(Jt)}qn.length>0&&H(Jt=>fdn(qn,Jt))},[]),xe=sn.useCallback(()=>{ge.current.clear(),ue(!1),je(Nn=>Nn+1)},[]),on=sn.useCallback((Nn,qn)=>{if(qn.type!=="agent")return;let Jt=qn.position.x+dK/2,Kt=qn.position.y+bK/2;if(qn.parentId){const gr=U.current.find(Ki=>Ki.id===qn.parentId);gr&&(Jt+=gr.position.x,Kt+=gr.position.y)}const Oi=Math.max(M(),1);A(Jt,Kt,{zoom:Oi,duration:350})},[A,M]),rn=sn.useCallback(Nn=>{var Kt;const qn=d.find(Oi=>Oi.id===Nn.source),Jt=d.find(Oi=>Oi.id===Nn.target);return(Kt=qn==null?void 0:qn.data)!=null&&Kt.isGhost?!1:(qn==null?void 0:qn.type)==="adapter"&&(Jt==null?void 0:Jt.type)==="agent"},[d]),Sn=sn.useCallback(Nn=>{const qn=d.find(Kt=>Kt.id===Nn.source),Jt=d.find(Kt=>Kt.id===Nn.target);(qn==null?void 0:qn.type)!=="adapter"||(Jt==null?void 0:Jt.type)!=="agent"||V({sourceAdapterId:qn.id.replace(/^adapter:/,""),targetAgentId:Jt.id})},[d]),Fn=sn.useCallback(Nn=>{E(GRn(Nn)),V(null)},[E]),dn=sn.useCallback((Nn,qn)=>{if(!qn.nodeId)return;const Jt=d.find(Kt=>Kt.id===qn.nodeId);(Jt==null?void 0:Jt.type)==="adapter"&&X(qn.nodeId)},[d]),Gn=sn.useCallback(()=>{X(null)},[]);return{layoutedNodes:P,setLayoutedNodes:m,layoutedEdges:L,setLayoutedEdges:H,layoutedNodesRef:U,isLayouting:Q,setIsLayouting:Y,manualPositions:ge,layoutVersion:re,pendingConnection:G,setPendingConnection:V,connectingFrom:te,hasDraggedNodes:Ee,pendingDeleteEdgeId:Ke,confirmDeleteBinding:En,cancelDeleteBinding:Zn,handleDeleteBinding:kn,handleNodesChange:Ln,handleNodeDragStop:Vn,handleEdgesChange:J,handleResetLayout:xe,handleNodeClick:on,isValidConnection:rn,handleConnect:Sn,handleBindingConfirm:Fn,handleConnectStart:dn,handleConnectEnd:Gn}}const Xan=["#6366f1","#f59e0b","#10b981","#ec4899","#8b5cf6","#14b8a6","#f97316","#06b6d4"];function hKn(d){return Xan[d%Xan.length]}function aKn(d,v,E,A,M,P,m,L){var te,X,Ee,ue;if(!d.length)return{rawNodes:[],rawEdges:[],legendEntries:[],useGroups:!1};const H=[],U=[],Q=[],Y=(A==null?void 0:A.filter(ge=>ge.config.type!=="claude-code"))??[];if(E&&Y.length>0)for(const ge of Y)H.push({id:`adapter:${ge.config.id}`,type:"adapter",position:{x:0,y:0},data:{adapterName:ge.status.displayName,adapterType:ge.config.type,adapterStatus:ge.status.state==="connected"?"running":ge.status.state==="error"?"error":"stopped",bindingCount:P.get(ge.config.id)??0,label:ge.config.label}});E&&Y.length===0&&H.push({id:"ghost-adapter",type:"adapter",position:{x:0,y:0},data:{adapterName:"Add a platform",adapterType:"ghost",adapterStatus:"stopped",bindingCount:0,isGhost:!0,onGhostClick:()=>{var ge;return(ge=L.onGhostClick)==null?void 0:ge.call(L)}}});const G=d.length>=1;for(let ge=0;ge<d.length;ge++){const re=d[ge],je=hKn(ge);Q.push({namespace:re.namespace,color:je});const Ke=`group:${re.namespace}`,Xe=re.agents.filter(Ye=>Ye.healthStatus==="active").length;G&&H.push({id:Ke,type:"namespace-group",position:{x:0,y:0},data:{namespace:re.namespace,agentCount:re.agentCount,activeCount:Xe,color:je}});for(const Ye of re.agents){const kn=Ye,En=HRn(kn),Zn={id:Ye.id,type:"agent",position:{x:0,y:0},data:{label:Ye.name,runtime:Ye.runtime,healthStatus:kn.healthStatus??"stale",capabilities:Ye.capabilities??[],namespace:re.namespace,namespaceColor:je,description:Ye.description||void 0,relayAdapters:kn.relayAdapters??[],taskCount:kn.taskCount??0,lastSeenAt:kn.lastSeenAt??null,behavior:Ye.behavior?{responseMode:Ye.behavior.responseMode}:void 0,color:kn.color??null,avatarColor:En.color,emoji:En.emoji,projectPath:kn.projectPath??"",onViewProfile:Ln=>{var Vn;return(Vn=L.onViewProfile)==null?void 0:Vn.call(L,Ln,kn.projectPath??"")},onSelectAgent:Ln=>{var Vn;return(Vn=L.onSelectAgent)==null?void 0:Vn.call(L,Ln,kn.projectPath??"")},onOpenChat:(Ln,Vn)=>{var J;return(J=L.onOpenChat)==null?void 0:J.call(L,Vn)}}};G&&(Zn.parentId=Ke,Zn.extent="parent"),H.push(Zn)}}if(E&&(M!=null&&M.length))for(const ge of M){const re=`adapter:${ge.adapterId}`,je=ge.agentId,Ke=H.some(Ye=>Ye.id===re),Xe=H.some(Ye=>Ye.id===je);!Ke||!Xe||U.push({id:`binding:${ge.id}`,source:re,target:je,type:"binding",deletable:!0,data:{label:ge.label||void 0,sessionStrategy:ge.sessionStrategy,chatId:ge.chatId||void 0,channelType:ge.channelType||void 0,onDelete:m}})}const V=v.filter(ge=>ge.origin!=="default");for(const ge of V){const re=G?`group:${ge.sourceNamespace}`:((X=(te=d[0])==null?void 0:te.agents[0])==null?void 0:X.id)??"",je=G?`group:${ge.targetNamespace}`:((ue=(Ee=d[0])==null?void 0:Ee.agents[0])==null?void 0:ue.id)??"";if(!re||!je)continue;const Ke=ge.action==="deny";U.push({id:`e:${ge.sourceNamespace}-${ge.targetNamespace}:${ge.action}`,source:re,target:je,type:Ke?"cross-namespace-deny":"cross-namespace",animated:!Ke,deletable:!1,data:{label:`${ge.sourceNamespace} › ${ge.targetNamespace}`}})}return{rawNodes:H,rawEdges:U,legendEntries:Q,useGroups:G}}function dKn(d){const v=MK(A=>A.pulse),E=qN();qRn("relay_flow",A=>{if(!d||E)return;const M=zRn.safeParse(A);if(!M.success)return;const{bindingId:P,direction:m}=M.data;v(`binding:${P}`,m)})}const bKn={agent:DXn,adapter:qXn,"namespace-group":ZXn},wKn={binding:QXn,"cross-namespace":eKn,"cross-namespace-deny":nKn};function PKn(d){return de.jsx(Ddn,{children:de.jsx(gKn,{...d})})}function gKn({onSelectAgent:d,onViewProfile:v,onGoToDiscovery:E,onOpenChat:A,onOpenAdapterCatalog:M}){const{data:P,isLoading:m,isError:L,refetch:H}=bBn(),U=P==null?void 0:P.namespaces,Q=P==null?void 0:P.accessRules,Y=URn(),{data:G}=XRn(Y),{data:V}=KRn(),{mutate:te}=WRn(),{mutate:X}=wBn();dKn(Y),sn.useEffect(()=>()=>{MK.getState().reset()},[]);const Ee=VX(v),ue=VX(d),ge=VX(A),re=VX(M),je=sn.useMemo(()=>{const pr=new Map;for(const Mo of V??[])pr.set(Mo.adapterId,(pr.get(Mo.adapterId)??0)+1);return pr},[V]),Ke=VRn(()=>{}),{rawNodes:Xe,rawEdges:Ye,legendEntries:kn,useGroups:En}=sn.useMemo(()=>aKn(U??[],Q??[],Y,G,V,je,pr=>Ke.read()(pr),{onViewProfile:(pr,Mo)=>{var bo;return(bo=Ee.read())==null?void 0:bo(pr,Mo)},onSelectAgent:(pr,Mo)=>{var bo;return(bo=ue.read())==null?void 0:bo(pr,Mo)},onOpenChat:pr=>{var Mo;return(Mo=ge.read())==null?void 0:Mo(pr)},onGhostClick:()=>{var pr;return(pr=re.read())==null?void 0:pr()}}),[U,Q,Y,G,V,je,Ke,Ee,ue,ge,re]),{layoutedNodes:Zn,setLayoutedNodes:Ln,layoutedEdges:Vn,setLayoutedEdges:J,layoutedNodesRef:xe,isLayouting:on,setIsLayouting:rn,manualPositions:Sn,layoutVersion:Fn,pendingConnection:dn,setPendingConnection:Gn,connectingFrom:Nn,hasDraggedNodes:qn,pendingDeleteEdgeId:Jt,confirmDeleteBinding:Kt,cancelDeleteBinding:Oi,handleDeleteBinding:gr,handleNodesChange:Ki,handleNodeDragStop:Kn,handleEdgesChange:ei,handleResetLayout:rr,handleNodeClick:cr,isValidConnection:Bi,handleConnect:sr,handleBindingConfirm:ri,handleConnectStart:bi,handleConnectEnd:Ac}=lKn({rawNodes:Xe,deleteBindingMutate:X,createBindingMutate:te});Ke.write(gr);const ku=sn.useMemo(()=>{const pr=Xe.map(bo=>`${bo.id}:${bo.type}:${bo.parentId??""}`).sort().join("|"),Mo=Ye.map(bo=>`${bo.source}->${bo.target}:${bo.type}`).sort().join("|");return`${pr}::${Mo}`},[Xe,Ye]);sn.useEffect(()=>{let pr=!1;return rn(!0),fKn(Xe,Ye,En).then(Mo=>{if(!pr){const bo=Mo.map(v1=>{const Up=Sn.current.get(v1.id);return Up?{...v1,position:Up}:v1});Ln(bo),J(Ye),rn(!1)}}).catch(()=>{pr||rn(!1)}),()=>{pr=!0}},[ku,En,Fn]),sn.useEffect(()=>{xe.current=Zn},[Zn,xe]);const Pr=Y&&((G==null?void 0:G.length)??0)>0,Ca=((V==null?void 0:V.length)??0)>0,zl=Xe.some(pr=>pr.type==="agent");if(m||on&&Zn.length===0)return de.jsx("div",{className:"flex h-full items-center justify-center",children:de.jsx(Rhn,{size:"md",className:"text-muted-foreground",label:"Loading the topology"})});if(L)return de.jsx(QRn,{className:"h-full",title:"Couldn’t draw the map of your agents",description:"Couldn’t reach DorkOS. Check that it’s running.",onRetry:()=>void H()});if(!Xe.length)return de.jsx(YRn,{className:"h-full",icon:ZRn,headline:"No agents found yet",headingLevel:3,description:"Find agents on this computer to see them here.",action:E?{label:"Go to Discovery",onClick:E,variant:"outline"}:void 0});const ew=Xe.filter(pr=>pr.type==="agent").length,Cd=Xe.filter(pr=>pr.type==="adapter").length,Td=Ye.filter(pr=>pr.type==="binding").length;return de.jsxs("div",{className:r2("topology-container absolute inset-0",Nn&&"is-connecting"),role:"group","aria-roledescription":"agent map","aria-label":"Map of your agents","aria-describedby":"topology-graph-summary",children:[de.jsxs("div",{id:"topology-graph-summary",className:"sr-only",children:[de.jsxs("p",{children:[ew," agent",ew!==1?"s":"",", ",Cd," platform",Cd!==1?"s":"",", ",Td," connection",Td!==1?"s":"","."]}),de.jsx("p",{children:"To connect by keyboard, use the agent’s Connections section."})]}),de.jsxs(GUn,{nodes:Zn,edges:Vn,nodeTypes:bKn,edgeTypes:wKn,deleteKeyCode:null,onNodesChange:Ki,onEdgesChange:ei,onNodeClick:cr,onNodeDragStop:Kn,onConnect:Pr?sr:void 0,onConnectStart:Pr?bi:void 0,onConnectEnd:Pr?Ac:void 0,isValidConnection:Pr?Bi:void 0,nodesConnectable:Pr,nodesFocusable:!0,edgesFocusable:!0,fitView:!0,fitViewOptions:{duration:400,padding:.15},colorMode:"system",onlyRenderVisibleElements:!0,proOptions:{hideAttribution:!0},children:[de.jsx(KUn,{variant:V3.Dots,gap:16,size:1,color:"hsl(var(--muted-foreground) / 0.15)"}),de.jsx(wXn,{nodeColor:pr=>pr.type==="adapter"?"hsl(var(--muted-foreground) / 0.4)":pr.type==="namespace-group"?"transparent":pr.data.namespaceColor??"hsl(var(--primary))",maskColor:"hsl(var(--background) / 0.8)",pannable:!0,zoomable:!0,className:"!right-2 !bottom-2",style:{height:80}}),de.jsx(nXn,{showInteractive:!1}),qn&&de.jsx("div",{className:"absolute bottom-2 left-2 z-10",children:de.jsxs(Wan,{variant:"outline",size:"xs",onClick:rr,title:"Reset layout",className:"shadow-sm",children:[de.jsx(eBn,{}),"Reset layout"]})}),de.jsx(iKn,{namespaces:kn})]}),Y&&zl&&!Pr&&de.jsx("div",{className:"bg-muted/80 text-muted-foreground pointer-events-none absolute bottom-3 left-1/2 -translate-x-1/2 rounded-md px-3 py-1.5 text-xs",children:"Add a chat app in Connections, then connect it to an agent"}),Pr&&zl&&!Ca&&de.jsx("div",{className:"bg-muted/80 text-muted-foreground pointer-events-none absolute bottom-3 left-1/2 -translate-x-1/2 rounded-md px-3 py-1.5 text-xs",children:"Drag from a platform to an agent to connect them"}),on&&de.jsx("div",{className:"pointer-events-none absolute top-3 right-3 z-10",children:de.jsx(Rhn,{className:"text-muted-foreground/70"})}),dn&&de.jsx(nBn,{open:!0,onOpenChange:pr=>{pr||Gn(null)},mode:"create",initialValues:{adapterId:dn.sourceAdapterId,agentId:dn.targetAgentId},onConfirm:ri}),de.jsx(tBn,{open:!!Jt,onOpenChange:pr=>{pr||Oi()},children:de.jsxs(iBn,{children:[de.jsxs(rBn,{children:[de.jsx(cBn,{children:"Remove this connection?"}),de.jsx(uBn,{children:"The agent stops getting messages from it."})]}),de.jsxs(oBn,{children:[de.jsx(sBn,{children:"Cancel"}),de.jsx(fBn,{onClick:Kt,className:lBn({variant:"destructive"}),children:"Remove connection"})]})]})})]})}export{PKn as TopologyGraph};
|
|
30
|
+
... Falling back to non-web worker version.`);if(!je.workerFactory){var Ye=E("./elk-worker.min.js"),kn=Ye.Worker;je.workerFactory=function(En){return new kn(En)}}return H(this,ge,[je])}return V(ge,ue),m(ge)})(X);Object.defineProperty(A.exports,"__esModule",{value:!0}),A.exports=Ee,Ee.default=Ee},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(E,A,M){var P=typeof Worker<"u"?Worker:void 0;A.exports=P},{}]},{},[3])(3)})})(l2e)),l2e.exports}var cKn=rKn();const uKn=BRn(cKn),oKn=new uKn,dK=240,bK=150,sKn=48;async function fKn(d,v,E){if(d.length===0)return d;const A=d.filter(G=>G.type==="namespace-group"),M=d.filter(G=>G.type==="agent"),P=d.filter(G=>G.type==="adapter"),m=P.map(G=>{var V,te;return{id:G.id,width:((V=G.style)==null?void 0:V.width)??dK,height:((te=G.style)==null?void 0:te.height)??bK,layoutOptions:{"elk.layered.layering.layerConstraint":"FIRST"}}}),L=E?A.map(G=>{const V=M.filter(te=>te.parentId===G.id).map(te=>({id:te.id,width:dK,height:bK}));return{id:G.id,width:0,height:0,layoutOptions:{"elk.padding":`[top=${sKn},left=24,bottom=24,right=24]`,"elk.algorithm":"layered","elk.direction":"RIGHT","elk.spacing.nodeNode":"60"},children:V}}):M.map(G=>({id:G.id,width:dK,height:bK,...P.length>0?{layoutOptions:{"elk.layered.layering.layerConstraint":"LAST"}}:{}})),H=[...m,...L],U=v.map(G=>({id:G.id,sources:[G.source],targets:[G.target]})),Q={id:"root",layoutOptions:{"elk.algorithm":"layered","elk.direction":"RIGHT","elk.spacing.nodeNode":"80","elk.layered.spacing.nodeNodeBetweenLayers":"120"},children:H,edges:U},Y=await oKn.layout(Q);return d.map(G=>{var te,X,Ee,ue,ge;if(G.type==="namespace-group"){const re=(te=Y.children)==null?void 0:te.find(je=>je.id===G.id);return re?{...G,position:{x:re.x??0,y:re.y??0},style:{width:re.width??300,height:re.height??200}}:G}if(G.type==="adapter"){const re=(X=Y.children)==null?void 0:X.find(je=>je.id===G.id);return re?{...G,position:{x:re.x??0,y:re.y??0}}:G}if(E&&G.parentId){const re=(Ee=Y.children)==null?void 0:Ee.find(Ke=>Ke.id===G.parentId),je=(ue=re==null?void 0:re.children)==null?void 0:ue.find(Ke=>Ke.id===G.id);return je?{...G,position:{x:je.x??0,y:je.y??0}}:G}const V=(ge=Y.children)==null?void 0:ge.find(re=>re.id===G.id);return V?{...G,position:{x:V.x??0,y:V.y??0}}:G})}function lKn({rawNodes:d,deleteBindingMutate:v,createBindingMutate:E}){const{setCenter:A,getZoom:M}=LK(),[P,m]=sn.useState([]),[L,H]=sn.useState([]),U=sn.useRef([]),[Q,Y]=sn.useState(!0),[G,V]=sn.useState(null),[te,X]=sn.useState(null),[Ee,ue]=sn.useState(!1),ge=sn.useRef(new Map),[re,je]=sn.useState(0),[Ke,Xe]=sn.useState(null),Ye=sn.useCallback(Nn=>Nn.replace(/^binding:/,""),[]),kn=sn.useCallback(Nn=>{Xe(Nn)},[]),En=sn.useCallback(()=>{Xe(Nn=>(Nn&&v(Ye(Nn)),null))},[v,Ye]),Zn=sn.useCallback(()=>Xe(null),[]),Ln=sn.useCallback(Nn=>{m(qn=>sdn(Nn,qn))},[]),Vn=sn.useCallback((Nn,qn)=>{ge.current.set(qn.id,qn.position),ue(!0)},[]),J=sn.useCallback(Nn=>{const qn=[];for(const Jt of Nn){if(Jt.type==="remove"&&Jt.id.startsWith("binding:")){Xe(Jt.id);continue}qn.push(Jt)}qn.length>0&&H(Jt=>fdn(qn,Jt))},[]),xe=sn.useCallback(()=>{ge.current.clear(),ue(!1),je(Nn=>Nn+1)},[]),on=sn.useCallback((Nn,qn)=>{if(qn.type!=="agent")return;let Jt=qn.position.x+dK/2,Kt=qn.position.y+bK/2;if(qn.parentId){const gr=U.current.find(Ki=>Ki.id===qn.parentId);gr&&(Jt+=gr.position.x,Kt+=gr.position.y)}const Oi=Math.max(M(),1);A(Jt,Kt,{zoom:Oi,duration:350})},[A,M]),rn=sn.useCallback(Nn=>{var Kt;const qn=d.find(Oi=>Oi.id===Nn.source),Jt=d.find(Oi=>Oi.id===Nn.target);return(Kt=qn==null?void 0:qn.data)!=null&&Kt.isGhost?!1:(qn==null?void 0:qn.type)==="adapter"&&(Jt==null?void 0:Jt.type)==="agent"},[d]),Sn=sn.useCallback(Nn=>{const qn=d.find(Kt=>Kt.id===Nn.source),Jt=d.find(Kt=>Kt.id===Nn.target);(qn==null?void 0:qn.type)!=="adapter"||(Jt==null?void 0:Jt.type)!=="agent"||V({sourceAdapterId:qn.id.replace(/^adapter:/,""),targetAgentId:Jt.id})},[d]),Fn=sn.useCallback(Nn=>{E(uBn(Nn)),V(null)},[E]),dn=sn.useCallback((Nn,qn)=>{if(!qn.nodeId)return;const Jt=d.find(Kt=>Kt.id===qn.nodeId);(Jt==null?void 0:Jt.type)==="adapter"&&X(qn.nodeId)},[d]),Gn=sn.useCallback(()=>{X(null)},[]);return{layoutedNodes:P,setLayoutedNodes:m,layoutedEdges:L,setLayoutedEdges:H,layoutedNodesRef:U,isLayouting:Q,setIsLayouting:Y,manualPositions:ge,layoutVersion:re,pendingConnection:G,setPendingConnection:V,connectingFrom:te,hasDraggedNodes:Ee,pendingDeleteEdgeId:Ke,confirmDeleteBinding:En,cancelDeleteBinding:Zn,handleDeleteBinding:kn,handleNodesChange:Ln,handleNodeDragStop:Vn,handleEdgesChange:J,handleResetLayout:xe,handleNodeClick:on,isValidConnection:rn,handleConnect:Sn,handleBindingConfirm:Fn,handleConnectStart:dn,handleConnectEnd:Gn}}const Xan=["#6366f1","#f59e0b","#10b981","#ec4899","#8b5cf6","#14b8a6","#f97316","#06b6d4"];function hKn(d){return Xan[d%Xan.length]}function aKn(d,v,E,A,M,P,m,L){var te,X,Ee,ue;if(!d.length)return{rawNodes:[],rawEdges:[],legendEntries:[],useGroups:!1};const H=[],U=[],Q=[],Y=(A==null?void 0:A.filter(ge=>ge.config.type!=="claude-code"))??[];if(E&&Y.length>0)for(const ge of Y)H.push({id:`adapter:${ge.config.id}`,type:"adapter",position:{x:0,y:0},data:{adapterName:ge.status.displayName,adapterType:ge.config.type,adapterStatus:ge.status.state==="connected"?"running":ge.status.state==="error"?"error":"stopped",bindingCount:P.get(ge.config.id)??0,label:ge.config.label}});E&&Y.length===0&&H.push({id:"ghost-adapter",type:"adapter",position:{x:0,y:0},data:{adapterName:"Add a platform",adapterType:"ghost",adapterStatus:"stopped",bindingCount:0,isGhost:!0,onGhostClick:()=>{var ge;return(ge=L.onGhostClick)==null?void 0:ge.call(L)}}});const G=d.length>=1;for(let ge=0;ge<d.length;ge++){const re=d[ge],je=hKn(ge);Q.push({namespace:re.namespace,color:je});const Ke=`group:${re.namespace}`,Xe=re.agents.filter(Ye=>Ye.healthStatus==="active").length;G&&H.push({id:Ke,type:"namespace-group",position:{x:0,y:0},data:{namespace:re.namespace,agentCount:re.agentCount,activeCount:Xe,color:je}});for(const Ye of re.agents){const kn=Ye,En=JRn(kn),Zn={id:Ye.id,type:"agent",position:{x:0,y:0},data:{label:Ye.name,runtime:Ye.runtime,healthStatus:kn.healthStatus??"stale",capabilities:Ye.capabilities??[],namespace:re.namespace,namespaceColor:je,description:Ye.description||void 0,relayAdapters:kn.relayAdapters??[],taskCount:kn.taskCount??0,lastSeenAt:kn.lastSeenAt??null,behavior:Ye.behavior?{responseMode:Ye.behavior.responseMode}:void 0,color:kn.color??null,avatarColor:En.color,emoji:En.emoji,projectPath:kn.projectPath??"",onViewProfile:Ln=>{var Vn;return(Vn=L.onViewProfile)==null?void 0:Vn.call(L,Ln,kn.projectPath??"")},onSelectAgent:Ln=>{var Vn;return(Vn=L.onSelectAgent)==null?void 0:Vn.call(L,Ln,kn.projectPath??"")},onOpenChat:(Ln,Vn)=>{var J;return(J=L.onOpenChat)==null?void 0:J.call(L,Vn)}}};G&&(Zn.parentId=Ke,Zn.extent="parent"),H.push(Zn)}}if(E&&(M!=null&&M.length))for(const ge of M){const re=`adapter:${ge.adapterId}`,je=ge.agentId,Ke=H.some(Ye=>Ye.id===re),Xe=H.some(Ye=>Ye.id===je);!Ke||!Xe||U.push({id:`binding:${ge.id}`,source:re,target:je,type:"binding",deletable:!0,data:{label:ge.label||void 0,sessionStrategy:ge.sessionStrategy,chatId:ge.chatId||void 0,channelType:ge.channelType||void 0,onDelete:m}})}const V=v.filter(ge=>ge.origin!=="default");for(const ge of V){const re=G?`group:${ge.sourceNamespace}`:((X=(te=d[0])==null?void 0:te.agents[0])==null?void 0:X.id)??"",je=G?`group:${ge.targetNamespace}`:((ue=(Ee=d[0])==null?void 0:Ee.agents[0])==null?void 0:ue.id)??"";if(!re||!je)continue;const Ke=ge.action==="deny";U.push({id:`e:${ge.sourceNamespace}-${ge.targetNamespace}:${ge.action}`,source:re,target:je,type:Ke?"cross-namespace-deny":"cross-namespace",animated:!Ke,deletable:!1,data:{label:`${ge.sourceNamespace} › ${ge.targetNamespace}`}})}return{rawNodes:H,rawEdges:U,legendEntries:Q,useGroups:G}}function dKn(d){const v=MK(A=>A.pulse),E=qN();GRn("relay_flow",A=>{if(!d||E)return;const M=HRn.safeParse(A);if(!M.success)return;const{bindingId:P,direction:m}=M.data;v(`binding:${P}`,m)})}const bKn={agent:DXn,adapter:qXn,"namespace-group":ZXn},wKn={binding:QXn,"cross-namespace":eKn,"cross-namespace-deny":nKn};function GKn(d){return de.jsx(Ddn,{children:de.jsx(gKn,{...d})})}function gKn({onSelectAgent:d,onViewProfile:v,onGoToDiscovery:E,onOpenChat:A,onOpenAdapterCatalog:M}){const{data:P,isLoading:m,isError:L,refetch:H}=lBn(),U=P==null?void 0:P.namespaces,Q=P==null?void 0:P.accessRules,Y=wBn(),{data:G}=qRn(Y),{data:V}=dBn(),{mutate:te}=oBn(),{mutate:X}=bBn();dKn(Y),sn.useEffect(()=>()=>{MK.getState().reset()},[]);const Ee=VX(v),ue=VX(d),ge=VX(A),re=VX(M),je=sn.useMemo(()=>{const pr=new Map;for(const Mo of V??[])pr.set(Mo.adapterId,(pr.get(Mo.adapterId)??0)+1);return pr},[V]),Ke=zRn(()=>{}),{rawNodes:Xe,rawEdges:Ye,legendEntries:kn,useGroups:En}=sn.useMemo(()=>aKn(U??[],Q??[],Y,G,V,je,pr=>Ke.read()(pr),{onViewProfile:(pr,Mo)=>{var bo;return(bo=Ee.read())==null?void 0:bo(pr,Mo)},onSelectAgent:(pr,Mo)=>{var bo;return(bo=ue.read())==null?void 0:bo(pr,Mo)},onOpenChat:pr=>{var Mo;return(Mo=ge.read())==null?void 0:Mo(pr)},onGhostClick:()=>{var pr;return(pr=re.read())==null?void 0:pr()}}),[U,Q,Y,G,V,je,Ke,Ee,ue,ge,re]),{layoutedNodes:Zn,setLayoutedNodes:Ln,layoutedEdges:Vn,setLayoutedEdges:J,layoutedNodesRef:xe,isLayouting:on,setIsLayouting:rn,manualPositions:Sn,layoutVersion:Fn,pendingConnection:dn,setPendingConnection:Gn,connectingFrom:Nn,hasDraggedNodes:qn,pendingDeleteEdgeId:Jt,confirmDeleteBinding:Kt,cancelDeleteBinding:Oi,handleDeleteBinding:gr,handleNodesChange:Ki,handleNodeDragStop:Kn,handleEdgesChange:ei,handleResetLayout:rr,handleNodeClick:cr,isValidConnection:Bi,handleConnect:sr,handleBindingConfirm:ri,handleConnectStart:bi,handleConnectEnd:Ac}=lKn({rawNodes:Xe,deleteBindingMutate:X,createBindingMutate:te});Ke.write(gr);const ku=sn.useMemo(()=>{const pr=Xe.map(bo=>`${bo.id}:${bo.type}:${bo.parentId??""}`).sort().join("|"),Mo=Ye.map(bo=>`${bo.source}->${bo.target}:${bo.type}`).sort().join("|");return`${pr}::${Mo}`},[Xe,Ye]);sn.useEffect(()=>{let pr=!1;return rn(!0),fKn(Xe,Ye,En).then(Mo=>{if(!pr){const bo=Mo.map(v1=>{const Up=Sn.current.get(v1.id);return Up?{...v1,position:Up}:v1});Ln(bo),J(Ye),rn(!1)}}).catch(()=>{pr||rn(!1)}),()=>{pr=!0}},[ku,En,Fn]),sn.useEffect(()=>{xe.current=Zn},[Zn,xe]);const Pr=Y&&((G==null?void 0:G.length)??0)>0,Ca=((V==null?void 0:V.length)??0)>0,zl=Xe.some(pr=>pr.type==="agent");if(m||on&&Zn.length===0)return de.jsx("div",{className:"flex h-full items-center justify-center",children:de.jsx(Rhn,{size:"md",className:"text-muted-foreground",label:"Loading the topology"})});if(L)return de.jsx(aBn,{className:"h-full",title:"Couldn’t draw the map of your agents",description:"Couldn’t reach DorkOS. Check that it’s running.",onRetry:()=>void H()});if(!Xe.length)return de.jsx(hBn,{className:"h-full",icon:URn,headline:"No agents found yet",headingLevel:3,description:"Find agents on this computer to see them here.",action:E?{label:"Go to Discovery",onClick:E,variant:"outline"}:void 0});const ew=Xe.filter(pr=>pr.type==="agent").length,Cd=Xe.filter(pr=>pr.type==="adapter").length,Td=Ye.filter(pr=>pr.type==="binding").length;return de.jsxs("div",{className:r2("topology-container absolute inset-0",Nn&&"is-connecting"),role:"group","aria-roledescription":"agent map","aria-label":"Map of your agents","aria-describedby":"topology-graph-summary",children:[de.jsxs("div",{id:"topology-graph-summary",className:"sr-only",children:[de.jsxs("p",{children:[ew," agent",ew!==1?"s":"",", ",Cd," platform",Cd!==1?"s":"",", ",Td," connection",Td!==1?"s":"","."]}),de.jsx("p",{children:"To connect by keyboard, use the agent’s Connections section."})]}),de.jsxs(GUn,{nodes:Zn,edges:Vn,nodeTypes:bKn,edgeTypes:wKn,deleteKeyCode:null,onNodesChange:Ki,onEdgesChange:ei,onNodeClick:cr,onNodeDragStop:Kn,onConnect:Pr?sr:void 0,onConnectStart:Pr?bi:void 0,onConnectEnd:Pr?Ac:void 0,isValidConnection:Pr?Bi:void 0,nodesConnectable:Pr,nodesFocusable:!0,edgesFocusable:!0,fitView:!0,fitViewOptions:{duration:400,padding:.15},colorMode:"system",onlyRenderVisibleElements:!0,proOptions:{hideAttribution:!0},children:[de.jsx(KUn,{variant:V3.Dots,gap:16,size:1,color:"hsl(var(--muted-foreground) / 0.15)"}),de.jsx(wXn,{nodeColor:pr=>pr.type==="adapter"?"hsl(var(--muted-foreground) / 0.4)":pr.type==="namespace-group"?"transparent":pr.data.namespaceColor??"hsl(var(--primary))",maskColor:"hsl(var(--background) / 0.8)",pannable:!0,zoomable:!0,className:"!right-2 !bottom-2",style:{height:80}}),de.jsx(nXn,{showInteractive:!1}),qn&&de.jsx("div",{className:"absolute bottom-2 left-2 z-10",children:de.jsxs(Wan,{variant:"outline",size:"xs",onClick:rr,title:"Reset layout",className:"shadow-sm",children:[de.jsx(XRn,{}),"Reset layout"]})}),de.jsx(iKn,{namespaces:kn})]}),Y&&zl&&!Pr&&de.jsx("div",{className:"bg-muted/80 text-muted-foreground pointer-events-none absolute bottom-3 left-1/2 -translate-x-1/2 rounded-md px-3 py-1.5 text-xs",children:"Add a chat app in Connections, then connect it to an agent"}),Pr&&zl&&!Ca&&de.jsx("div",{className:"bg-muted/80 text-muted-foreground pointer-events-none absolute bottom-3 left-1/2 -translate-x-1/2 rounded-md px-3 py-1.5 text-xs",children:"Drag from a platform to an agent to connect them"}),on&&de.jsx("div",{className:"pointer-events-none absolute top-3 right-3 z-10",children:de.jsx(Rhn,{className:"text-muted-foreground/70"})}),dn&&de.jsx(sBn,{open:!0,onOpenChange:pr=>{pr||Gn(null)},mode:"create",initialValues:{adapterId:dn.sourceAdapterId,agentId:dn.targetAgentId},onConfirm:ri}),de.jsx(KRn,{open:!!Jt,onOpenChange:pr=>{pr||Oi()},children:de.jsxs(WRn,{children:[de.jsxs(VRn,{children:[de.jsx(QRn,{children:"Remove this connection?"}),de.jsx(YRn,{children:"The agent stops getting messages from it."})]}),de.jsxs(ZRn,{children:[de.jsx(eBn,{children:"Cancel"}),de.jsx(nBn,{onClick:Kt,className:tBn({variant:"destructive"}),children:"Remove connection"})]})]})})]})}export{GKn as TopologyGraph};
|