lookatstudy-mobile 0.24.0 → 0.26.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/package.json +1 -1
- package/web/assets/{CanvasStage-u_7YeGk1.js → CanvasStage-sR8T2IFn.js} +1 -1
- package/web/assets/{CommandPalette-Q5j7BQf4.js → CommandPalette-xoHRtFTt.js} +1 -1
- package/web/assets/{CourseSearchPanel-BYGHjhnk.js → CourseSearchPanel-Blz5uOZo.js} +2 -2
- package/web/assets/{ExamView-DU5X7LyZ.js → ExamView-DcD9-XhK.js} +1 -1
- package/web/assets/ReviewPanel-DPX_Gbvn.js +1 -0
- package/web/assets/{SettingsView-CD9th6O0.js → SettingsView-DpSiGIUo.js} +3 -3
- package/web/assets/Tableau10-CvOaoHrI.js +1 -0
- package/web/assets/{VoicePanel-Cvl2BLq2.js → VoicePanel-BFuMIduE.js} +1 -1
- package/web/assets/abnfDiagram-N423BO3Z-BRYm-LZF.js +1 -0
- package/web/assets/abnfDiagram-VCTEODGH-ODA7YWAP-B--kWzEh.js +1 -0
- package/web/assets/arc-DIdxrd7q.js +1 -0
- package/web/assets/architectureDiagram-5GKGNRK7-C4PU3XN7-DzOQ5fo_.js +36 -0
- package/web/assets/architectureDiagram-T3A2C74G-BhljJtMX.js +36 -0
- package/web/assets/{arrow-right-B0QrRNSR.js → arrow-right-DtCWRkvj.js} +1 -1
- package/web/assets/{blockDiagram-NRAW4CY4-UMJ6PMQQ-BxiaVwV9.js → blockDiagram-NRAW4CY4-UMJ6PMQQ-D3KXfJhJ.js} +2 -2
- package/web/assets/{blockDiagram-VBNYF7ZC-BAnlmDNm.js → blockDiagram-VBNYF7ZC-Dr7ZTeLw.js} +3 -3
- package/web/assets/{c4Diagram-5PPSVZJV-MUU8xp1X.js → c4Diagram-5PPSVZJV-CPi9fgO4.js} +2 -2
- package/web/assets/{c4Diagram-UCG6FXSJ-75X3U2P3-7rpgYEob.js → c4Diagram-UCG6FXSJ-75X3U2P3-Bj0Dw0IT.js} +2 -2
- package/web/assets/channel-aqWuF1WT.js +1 -0
- package/web/assets/{chunk-2GRJ4B5K-BZ6Sj0-3.js → chunk-2GRJ4B5K-DeZ82qe7.js} +1 -1
- package/web/assets/{chunk-2Q5K7J3B-BkOSQBqV.js → chunk-2Q5K7J3B-B1WwbyzY.js} +1 -1
- package/web/assets/{chunk-5RXB4S5H-DgXJvWY0.js → chunk-5RXB4S5H-BX9ZzOwO.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-D-BptZQ9.js → chunk-5VM5RSS4-9-QvfnU2.js} +1 -1
- package/web/assets/{chunk-6Q2QTUOP-DIJ0lWTD.js → chunk-6Q2QTUOP-Dkt-zdDg.js} +1 -1
- package/web/assets/{chunk-7XDTSPCN-vxuDBi1y.js → chunk-7XDTSPCN-DOxJ22Ws.js} +1 -1
- package/web/assets/{chunk-CTNIYPP6-F5ZMIO6O.js → chunk-CTNIYPP6-2D6eMEGx.js} +1 -1
- package/web/assets/{chunk-CXNFBKHE-CFr1EfBh.js → chunk-CXNFBKHE-BETxgCVr.js} +1 -1
- package/web/assets/{chunk-GF5L2VYU-jqePwawx.js → chunk-GF5L2VYU-JBwf_TWs.js} +1 -1
- package/web/assets/{chunk-ISA7TJRJ-DiKuu0wz.js → chunk-ISA7TJRJ-DGTMMKAm.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-CLC3hqKr.js → chunk-JWPE2WC7-B_A1as9r.js} +1 -1
- package/web/assets/{chunk-KBJHAD2P-DSEKcYpO.js → chunk-KBJHAD2P-bmR9qwSi.js} +1 -1
- package/web/assets/{chunk-LV3HUYFY-P2e0-qZ6.js → chunk-LV3HUYFY-D8UFu3pb.js} +1 -1
- package/web/assets/{chunk-M3IUQBOH-Bdt4MjFy.js → chunk-M3IUQBOH-r4ZZKIWR.js} +1 -1
- package/web/assets/{chunk-NDIOYS4C-7HlPLAGd.js → chunk-NDIOYS4C-BuC155ii.js} +1 -1
- package/web/assets/{chunk-RE4WF27V-D4vIv_G3.js → chunk-RE4WF27V-DJoYieaa.js} +1 -1
- package/web/assets/{chunk-RYQCIY6F-tTcuHeqw.js → chunk-RYQCIY6F-DNF6lO1-.js} +1 -1
- package/web/assets/{chunk-VII2H2IX-BkXECJ1Z.js → chunk-VII2H2IX-DBudi9Y-.js} +1 -1
- package/web/assets/{chunk-X5GNSKZ3-D7yjZGWk.js → chunk-X5GNSKZ3-Dzcgoim8.js} +1 -1
- package/web/assets/{chunk-XCWWM2C3-C_es6n6S.js → chunk-XCWWM2C3-3YSDgOL-.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-Bsuow-B8.js → chunk-XXDRQBXY-B5LLJm9i.js} +1 -1
- package/web/assets/classDiagram-DTDB5LWJ-LWRDKZ5K-DhFaZ76j.js +1 -0
- package/web/assets/classDiagram-JCYQIIEL-CNvSQ-RA.js +1 -0
- package/web/assets/classDiagram-v2-JRS7N3AN-2BZHGRP2-DhFaZ76j.js +1 -0
- package/web/assets/classDiagram-v2-OCEON4UE-CNvSQ-RA.js +1 -0
- package/web/assets/{core-Bgf5ngI5.js → core-Cf-iwesp.js} +4 -4
- package/web/assets/cose-bilkent-JH36ORCC-DweZYTE6.js +1 -0
- package/web/assets/cose-bilkent-JH36ORCC-OB24KH3T-D3S0f4LW.js +1 -0
- package/web/assets/{cynefin-OW5HDTMX-GVF3BKWE-DY90g1OE.js → cynefin-OW5HDTMX-GVF3BKWE-DrtBkvjj.js} +1 -1
- package/web/assets/{cynefin-VYW2F7L2-DjqH_9VW.js → cynefin-VYW2F7L2-lYm8p8qp.js} +1 -1
- package/web/assets/cynefinDiagram-5FMLGOSQ-H3WIRU3N-CGurIKbY.js +62 -0
- package/web/assets/cynefinDiagram-MW4NZA55-EMZxCSzT.js +62 -0
- package/web/assets/{dagre-3AP2YEHR-DCERTXHT-BwLHkvZV.js → dagre-3AP2YEHR-DCERTXHT-B3xLLC4U.js} +2 -2
- package/web/assets/{dagre-VZM6K2ZE-0zjstOys.js → dagre-VZM6K2ZE-lqYJ3WXC.js} +2 -2
- package/web/assets/{diagram-7IWD3JNH-CoRwcTua.js → diagram-7IWD3JNH-DXSSf7q4.js} +2 -2
- package/web/assets/{diagram-B4RE2ZJO-Cau1H7nm.js → diagram-B4RE2ZJO-ak7sOZ19.js} +2 -2
- package/web/assets/diagram-LBJQPF4R-XmQxOAH-.js +24 -0
- package/web/assets/diagram-Q27KOJAE-D-yQEvjN.js +24 -0
- package/web/assets/{diagram-S7CK7UJ4-MULGZGEL-C7lZT5bQ.js → diagram-S7CK7UJ4-MULGZGEL-D5WNGIG9.js} +2 -2
- package/web/assets/diagram-UB23O5K3-CRgze-MQ.js +41 -0
- package/web/assets/diagram-UQ7AKVKN-YQBY353J-CSvMx1Fm.js +41 -0
- package/web/assets/{diagram-VSXAHHWV-WLNH2ELY-BW8LpgQJ.js → diagram-VSXAHHWV-WLNH2ELY-DMVZ0M5s.js} +2 -2
- package/web/assets/diagram-VX7I27RA-XW6YQV5G-NONTq7mV.js +24 -0
- package/web/assets/diagram-Z3DM3KII-HG7RF65D-D0VfGCJh.js +24 -0
- package/web/assets/ebnfDiagram-BXEA7PRR-D0k0RumW.js +1 -0
- package/web/assets/ebnfDiagram-PWID7BFC-OKY4VHYD-By7cMb-m.js +1 -0
- package/web/assets/{elk.bundled-DP5Rghza.js → elk.bundled-DCJrDGbL.js} +1 -1
- package/web/assets/{erDiagram-JOGREHBK-Dz3-stVV.js → erDiagram-JOGREHBK-DxDlKHXu.js} +4 -4
- package/web/assets/{erDiagram-SSCWMZ5O-PIPKOIK7-DoltPq2T.js → erDiagram-SSCWMZ5O-PIPKOIK7-DwWrIKUB.js} +2 -2
- package/web/assets/{flowDiagram-A5DVABFB-2Z4AVO5R-EXpUdCkE.js → flowDiagram-A5DVABFB-2Z4AVO5R-eqJKcw9W.js} +1 -1
- package/web/assets/{flowDiagram-UKHOOZJN--KUxj2rZ.js → flowDiagram-UKHOOZJN-CC84JD3t.js} +1 -1
- package/web/assets/{ganttDiagram-EL5Y4UJY-JZNG7GOG-B3_qeHhv.js → ganttDiagram-EL5Y4UJY-JZNG7GOG-CWOtJ46k.js} +6 -6
- package/web/assets/{ganttDiagram-PKOTCBZU-DDw97tpG.js → ganttDiagram-PKOTCBZU-Bw78KC7C.js} +3 -3
- package/web/assets/gitGraphDiagram-DS77QQ5N-CywKDUgv.js +106 -0
- package/web/assets/gitGraphDiagram-WWUBYQGX-DMWMLL3G-DIUZBjRH.js +106 -0
- package/web/assets/{index-CrB9w7Gs.js → index-BLO7CDRf.js} +2 -2
- package/web/assets/{index-C-4sKCSr.js → index-BNNZmZ7L.js} +13 -13
- package/web/assets/{index-CRlVl931.js → index-CAFnQS2L.js} +1 -1
- package/web/assets/index-Coa1vpTG.css +1 -0
- package/web/assets/index-WF4B6heO.js +21 -0
- package/web/assets/infoDiagram-6WML65LV-DFCB1zK_.js +2 -0
- package/web/assets/infoDiagram-RXCK75RN-HANS5KVC-CR0XCzL1.js +2 -0
- package/web/assets/{ishikawaDiagram-5VMMS53U-7GCIT7WU-DR-PXM0c.js → ishikawaDiagram-5VMMS53U-7GCIT7WU-BQmMapB0.js} +4 -4
- package/web/assets/{ishikawaDiagram-WSZJBQD7-Bf-J9Ov1.js → ishikawaDiagram-WSZJBQD7-CDVYsb8F.js} +6 -6
- package/web/assets/{journeyDiagram-EYS64GPL-OAPELBT7-jFQUZit6.js → journeyDiagram-EYS64GPL-OAPELBT7-Bv57BEbI.js} +2 -2
- package/web/assets/{journeyDiagram-NVQOT4AX-CWed0L5n.js → journeyDiagram-NVQOT4AX-BUhHhw49.js} +2 -2
- package/web/assets/{kanban-definition-27J2QSJJ-DhTIozq4.js → kanban-definition-27J2QSJJ-DJWi_jsV.js} +2 -2
- package/web/assets/{kanban-definition-3QL26DDD-I7RKWQQY-MOg0W8Vc.js → kanban-definition-3QL26DDD-I7RKWQQY-DeQuTmff.js} +2 -2
- package/web/assets/{katex-N6JRN4PM-DUl1EV3T.js → katex-N6JRN4PM-CsmS8bAu.js} +1 -1
- package/web/assets/{linear-BHfMepXe.js → linear-DQOfHiUP.js} +1 -1
- package/web/assets/main-Bkgg11ZB.js +462 -0
- package/web/assets/mermaid-layout-elk.core-DDX9gcIM.js +2 -0
- package/web/assets/{mermaid.core-BVbO1Vp8.js → mermaid.core-D0rh4nEj.js} +13 -13
- package/web/assets/{mindmap-definition-FAOFIHXS-UC1xDIuF.js → mindmap-definition-FAOFIHXS-nqKMiE2n.js} +2 -2
- package/web/assets/{mindmap-definition-FBJOCRG2-KIYZG64Y-DyTkl7Qq.js → mindmap-definition-FBJOCRG2-KIYZG64Y-CgkstHv4.js} +2 -2
- package/web/assets/pegDiagram-VL7TDLO6-Cy8v2veR.js +1 -0
- package/web/assets/pegDiagram-XKGWAZYB-OIP57N6J-DHOcOx86.js +1 -0
- package/web/assets/{pet-BawFRWlx.js → pet-DaccG5xt.js} +1 -1
- package/web/assets/pie-5VdQHRMI.js +1 -0
- package/web/assets/{pieDiagram-7S7Q4E2Y-Bggk64R7.js → pieDiagram-7S7Q4E2Y-D2e6HI5F.js} +2 -2
- package/web/assets/{pieDiagram-E7YTZNPT-2UOTW327-DbtP5dKZ.js → pieDiagram-E7YTZNPT-2UOTW327-9oqFgJEQ.js} +3 -3
- package/web/assets/{quadrantDiagram-AXDQQJYC-SN3ASJJK-CbdnLdcx.js → quadrantDiagram-AXDQQJYC-SN3ASJJK-aRI00491.js} +2 -2
- package/web/assets/{quadrantDiagram-CIZ2JOQS-D8oWqljf.js → quadrantDiagram-CIZ2JOQS-BxVU5r4V.js} +2 -2
- package/web/assets/railroadDiagram-AXF67PYL-CxcdKdyz.js +1 -0
- package/web/assets/railroadDiagram-O6MQD6OU-34742W6X-82y7OitY.js +1 -0
- package/web/assets/{render-O7CIS3YK-C5zxvpoJ.js → render-O7CIS3YK-0coM2jiE.js} +15 -15
- package/web/assets/{requirementDiagram-EFPCY7ZU-NGAFFSMB-vkMFulyy.js → requirementDiagram-EFPCY7ZU-NGAFFSMB-CiCBt9Q_.js} +2 -2
- package/web/assets/{requirementDiagram-LRYGKXZP-4uQ-OIOg.js → requirementDiagram-LRYGKXZP-a-jqBbh4.js} +4 -4
- package/web/assets/{rotate-ccw-C3k3pTDh.js → rotate-ccw-DPfbZXyQ.js} +1 -1
- package/web/assets/sankeyDiagram-P5KCCOFB-3D3M4XPB-vVOpmIBk.js +40 -0
- package/web/assets/{sankeyDiagram-W5VNT64P-CdtMmhMM.js → sankeyDiagram-W5VNT64P-CXBDBsJf.js} +2 -2
- package/web/assets/{sequenceDiagram-SI44F4Z6-BTa9vGYr.js → sequenceDiagram-SI44F4Z6-BEzEovun.js} +2 -2
- package/web/assets/{sequenceDiagram-WJ2MYXX4-Q2IOPB4R-Du5hMpfL.js → sequenceDiagram-WJ2MYXX4-Q2IOPB4R-BAt30Hjd.js} +2 -2
- package/web/assets/sizeCapture-X5ZJPWSS-CqVF9LHS.js +1 -0
- package/web/assets/sizeCapture-X5ZJPWSS-PSGVOMYM-DPuPQlRM.js +1 -0
- package/web/assets/stateDiagram-HBIQ2CUA-4M2S6MAN-DnF-bmgm.js +1 -0
- package/web/assets/stateDiagram-OKZ733FA-CKebmBa5.js +1 -0
- package/web/assets/stateDiagram-v2-4QOOHH4V-LBBLA2WV-BLTGkUFQ.js +1 -0
- package/web/assets/stateDiagram-v2-UEYNNEHI-BLjk4IRo.js +1 -0
- package/web/assets/swimlanes-SLNWSIFB-M10HmJH-.js +2 -0
- package/web/assets/swimlanes-XN3QIQJK-N6N2CCQ6-DzcOR4_D.js +1 -0
- package/web/assets/swimlanesDiagram-ULZ7WXOC-DCxkAVHU.js +8 -0
- package/web/assets/swimlanesDiagram-VK2B7HYN-E6N4H5SY-JLTPHNIv.js +8 -0
- package/web/assets/time-BgujFIZT.js +1 -0
- package/web/assets/{timeline-definition-24CTP7MA-KN7RSRVM-Cba_QLsv.js → timeline-definition-24CTP7MA-KN7RSRVM-CMhLQnxM.js} +2 -2
- package/web/assets/{timeline-definition-Z64GVDOM-nDvkF_F-.js → timeline-definition-Z64GVDOM-LcGdwXI-.js} +2 -2
- package/web/assets/transform-B5_amWNh.js +1 -0
- package/web/assets/{vennDiagram-4TSXK5OY-AKJ7LXAN-Bjm0zDVN.js → vennDiagram-4TSXK5OY-AKJ7LXAN-CKicd48A.js} +2 -2
- package/web/assets/{vennDiagram-T6HMQDX7-KudBxp6e.js → vennDiagram-T6HMQDX7-D7hxv4W7.js} +2 -2
- package/web/assets/{wardleyDiagram-T6FBY63Y-d1R0A5mS.js → wardleyDiagram-T6FBY63Y-DnTzvRkP.js} +2 -2
- package/web/assets/{wardleyDiagram-VM6X3IG4-3B6A3BN5-BOTe--eD.js → wardleyDiagram-VM6X3IG4-3B6A3BN5-CBmbko0H.js} +2 -2
- package/web/assets/{xychartDiagram-ELKLHX3M-ChfX530c.js → xychartDiagram-ELKLHX3M-B1fLmbSX.js} +3 -3
- package/web/assets/{xychartDiagram-S5SC5T6Z-OBDNV6WG-DcSRUgks.js → xychartDiagram-S5SC5T6Z-OBDNV6WG-D1kFCVEP.js} +3 -3
- package/web/index.html +3 -3
- package/web/pet.html +3 -3
- package/web/assets/MindmapView-C61d4ddf.js +0 -4
- package/web/assets/ReviewPanel-DoLMdlpR.js +0 -1
- package/web/assets/Tableau10-Cz3F1amA.js +0 -1
- package/web/assets/abnfDiagram-N423BO3Z-BvTcLUtE.js +0 -1
- package/web/assets/abnfDiagram-VCTEODGH-ODA7YWAP-NpbseUTF.js +0 -1
- package/web/assets/arc-Bb-hQPAI.js +0 -1
- package/web/assets/architectureDiagram-5GKGNRK7-C4PU3XN7-DGtDmisd.js +0 -36
- package/web/assets/architectureDiagram-T3A2C74G-huu8moy9.js +0 -36
- package/web/assets/channel-BJoUn5Z8.js +0 -1
- package/web/assets/classDiagram-DTDB5LWJ-LWRDKZ5K-B3DqqoSe.js +0 -1
- package/web/assets/classDiagram-JCYQIIEL-C2n-a_rM.js +0 -1
- package/web/assets/classDiagram-v2-JRS7N3AN-2BZHGRP2-B3DqqoSe.js +0 -1
- package/web/assets/classDiagram-v2-OCEON4UE-C2n-a_rM.js +0 -1
- package/web/assets/colors-Cc3OSVma.js +0 -1
- package/web/assets/cose-bilkent-JH36ORCC-OB24KH3T-DM0H6Gci.js +0 -1
- package/web/assets/cose-bilkent-JH36ORCC-x05QuEnY.js +0 -1
- package/web/assets/cynefinDiagram-5FMLGOSQ-H3WIRU3N-DoaOZ7iJ.js +0 -62
- package/web/assets/cynefinDiagram-MW4NZA55-DI8ePik6.js +0 -62
- package/web/assets/diagram-LBJQPF4R-CZIgxCTB.js +0 -24
- package/web/assets/diagram-Q27KOJAE-B_LnuCra.js +0 -24
- package/web/assets/diagram-UB23O5K3-qTFCSozX.js +0 -41
- package/web/assets/diagram-UQ7AKVKN-YQBY353J-CIootVI_.js +0 -41
- package/web/assets/diagram-VX7I27RA-XW6YQV5G-DfhGfGMR.js +0 -24
- package/web/assets/diagram-Z3DM3KII-HG7RF65D-seunnnEY.js +0 -24
- package/web/assets/ebnfDiagram-BXEA7PRR-ksZAvx5f.js +0 -1
- package/web/assets/ebnfDiagram-PWID7BFC-OKY4VHYD-Bvj1acAA.js +0 -1
- package/web/assets/gitGraphDiagram-DS77QQ5N-DXUcbzn4.js +0 -106
- package/web/assets/gitGraphDiagram-WWUBYQGX-DMWMLL3G-BrLu7NzO.js +0 -106
- package/web/assets/index-BUFumkqO.js +0 -21
- package/web/assets/index-CODVWHV0.js +0 -416
- package/web/assets/index-CU6ublfJ.js +0 -1
- package/web/assets/index-DjoBjasB.css +0 -1
- package/web/assets/index-H1bePBGl.js +0 -3
- package/web/assets/infoDiagram-6WML65LV-rLhQ8DQz.js +0 -2
- package/web/assets/infoDiagram-RXCK75RN-HANS5KVC-BhbqgWa_.js +0 -2
- package/web/assets/main-D3HpSUyK.js +0 -462
- package/web/assets/mermaid-layout-elk.core-KBAfwQxu.js +0 -2
- package/web/assets/min-tv6RD-6E.js +0 -1
- package/web/assets/pegDiagram-VL7TDLO6-D3DtO4SS.js +0 -1
- package/web/assets/pegDiagram-XKGWAZYB-OIP57N6J-D6RFGa8P.js +0 -1
- package/web/assets/pie-xhYaZtwS.js +0 -1
- package/web/assets/railroadDiagram-AXF67PYL-DqYMsbyG.js +0 -1
- package/web/assets/railroadDiagram-O6MQD6OU-34742W6X-BxDZ-lKK.js +0 -1
- package/web/assets/sankeyDiagram-P5KCCOFB-3D3M4XPB-Ct2_9lW6.js +0 -40
- package/web/assets/sizeCapture-X5ZJPWSS-PSGVOMYM-Dv_CbP4j.js +0 -1
- package/web/assets/sizeCapture-X5ZJPWSS-xJHPAAZ7.js +0 -1
- package/web/assets/stateDiagram-HBIQ2CUA-4M2S6MAN-BhhZM57P.js +0 -1
- package/web/assets/stateDiagram-OKZ733FA-CHCQNs83.js +0 -1
- package/web/assets/stateDiagram-v2-4QOOHH4V-LBBLA2WV-CNwPFEas.js +0 -1
- package/web/assets/stateDiagram-v2-UEYNNEHI-uaaN79rE.js +0 -1
- package/web/assets/step-SI6FXFD6.js +0 -1
- package/web/assets/swimlanes-SLNWSIFB-Bste-JE-.js +0 -2
- package/web/assets/swimlanes-XN3QIQJK-N6N2CCQ6-03elMVxe.js +0 -1
- package/web/assets/swimlanesDiagram-ULZ7WXOC-CNw-u2S_.js +0 -8
- package/web/assets/swimlanesDiagram-VK2B7HYN-E6N4H5SY-jhFh1EB2.js +0 -8
- package/web/assets/time-CLfYygnx.js +0 -1
- package/web/assets/transform-CzGDKG_M.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./katex-N6JRN4PM-
|
|
2
|
-
var Ynn=Object.defineProperty;var Jnn=(h,c,d)=>c in h?Ynn(h,c,{enumerable:!0,configurable:!0,writable:!0,value:d}):h[c]=d;var wa=(h,c,d)=>Jnn(h,typeof c!="symbol"?c+"":c,d);import{_ as Ks}from"./main-D3HpSUyK.js";import{_ as O,a as uQ,b as PD}from"./mermaid-layout-elk.core-KBAfwQxu.js";import{s as Rs,q as Kye,d as zye}from"./transform-CzGDKG_M.js";import{k as Wye,n as Uye,o as Gye,q as Xye,r as Vye,u as Yye,v as Qnn,w as aD,x as Jye,y as Znn,z as trn,A as Qye,B as ern,C as nrn,D as rrn,E as irn,F as srn,j as $3t,l as orn}from"./step-SI6FXFD6.js";import{a as $2e,g as crn}from"./index-C-4sKCSr.js";import{c as iJ}from"./_commonjs-dynamic-modules-TDtrdbi3.js";var Zye=Object.defineProperty,q=O((h,c)=>Zye(h,"name",{value:c,configurable:!0}),"__name"),arn=O((h,c)=>{for(var d in c)Zye(h,d,{get:c[d],enumerable:!0})},"__export"),lrn=PD({"../../node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/dayjs.min.js"(h,c){(function(d,w){typeof h=="object"&&typeof c<"u"?c.exports=w():typeof define=="function"&&define.amd?define(w):(d=typeof globalThis<"u"?globalThis:d||self).dayjs=w()})(h,(function(){var d=1e3,w=6e4,m=36e5,k="millisecond",p="second",T="minute",E="hour",B="day",A="week",L="month",I="quarter",$="year",P="date",U="Invalid Date",J=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,X=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,rt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:O(function(ce){var oe=["th","st","nd","rd"],Ot=ce%100;return"["+ce+(oe[(Ot-20)%10]||oe[Ot]||oe[0])+"]"},"ordinal")},lt=O(function(ce,oe,Ot){var we=String(ce);return!we||we.length>=oe?ce:""+Array(oe+1-we.length).join(Ot)+ce},"m"),xt={s:lt,z:O(function(ce){var oe=-ce.utcOffset(),Ot=Math.abs(oe),we=Math.floor(Ot/60),de=Ot%60;return(oe<=0?"+":"-")+lt(we,2,"0")+":"+lt(de,2,"0")},"z"),m:O(function ce(oe,Ot){if(oe.date()<Ot.date())return-ce(Ot,oe);var we=12*(Ot.year()-oe.year())+(Ot.month()-oe.month()),de=oe.clone().add(we,L),Pe=Ot-de<0,on=oe.clone().add(we+(Pe?-1:1),L);return+(-(we+(Ot-de)/(Pe?de-on:on-de))||0)},"t"),a:O(function(ce){return ce<0?Math.ceil(ce)||0:Math.floor(ce)},"a"),p:O(function(ce){return{M:L,y:$,w:A,d:B,D:P,h:E,m:T,s:p,ms:k,Q:I}[ce]||String(ce||"").toLowerCase().replace(/s$/,"")},"p"),u:O(function(ce){return ce===void 0},"u")},Mt="en",Vt={};Vt[Mt]=rt;var Gt="$isDayjsObject",be=O(function(ce){return ce instanceof kn||!(!ce||!ce[Gt])},"S"),Ze=O(function ce(oe,Ot,we){var de;if(!oe)return Mt;if(typeof oe=="string"){var Pe=oe.toLowerCase();Vt[Pe]&&(de=Pe),Ot&&(Vt[Pe]=Ot,de=Pe);var on=oe.split("-");if(!de&&on.length>1)return ce(on[0])}else{var $n=oe.name;Vt[$n]=oe,de=$n}return!we&&de&&(Mt=de),de||!we&&Mt},"t"),Fe=O(function(ce,oe){if(be(ce))return ce.clone();var Ot=typeof oe=="object"?oe:{};return Ot.date=ce,Ot.args=arguments,new kn(Ot)},"O"),Me=xt;Me.l=Ze,Me.i=be,Me.w=function(ce,oe){return Fe(ce,{locale:oe.$L,utc:oe.$u,x:oe.$x,$offset:oe.$offset})};var kn=(function(){function ce(Ot){this.$L=Ze(Ot.locale,null,!0),this.parse(Ot),this.$x=this.$x||Ot.x||{},this[Gt]=!0}O(ce,"M");var oe=ce.prototype;return oe.parse=function(Ot){this.$d=(function(we){var de=we.date,Pe=we.utc;if(de===null)return new Date(NaN);if(Me.u(de))return new Date;if(de instanceof Date)return new Date(de);if(typeof de=="string"&&!/Z$/i.test(de)){var on=de.match(J);if(on){var $n=on[2]-1||0,xr=(on[7]||"0").substring(0,3);return Pe?new Date(Date.UTC(on[1],$n,on[3]||1,on[4]||0,on[5]||0,on[6]||0,xr)):new Date(on[1],$n,on[3]||1,on[4]||0,on[5]||0,on[6]||0,xr)}}return new Date(de)})(Ot),this.init()},oe.init=function(){var Ot=this.$d;this.$y=Ot.getFullYear(),this.$M=Ot.getMonth(),this.$D=Ot.getDate(),this.$W=Ot.getDay(),this.$H=Ot.getHours(),this.$m=Ot.getMinutes(),this.$s=Ot.getSeconds(),this.$ms=Ot.getMilliseconds()},oe.$utils=function(){return Me},oe.isValid=function(){return this.$d.toString()!==U},oe.isSame=function(Ot,we){var de=Fe(Ot);return this.startOf(we)<=de&&de<=this.endOf(we)},oe.isAfter=function(Ot,we){return Fe(Ot)<this.startOf(we)},oe.isBefore=function(Ot,we){return this.endOf(we)<Fe(Ot)},oe.$g=function(Ot,we,de){return Me.u(Ot)?this[we]:this.set(de,Ot)},oe.unix=function(){return Math.floor(this.valueOf()/1e3)},oe.valueOf=function(){return this.$d.getTime()},oe.startOf=function(Ot,we){var de=this,Pe=!!Me.u(we)||we,on=Me.p(Ot),$n=O(function(hi,sr){var Xn=Me.w(de.$u?Date.UTC(de.$y,sr,hi):new Date(de.$y,sr,hi),de);return Pe?Xn:Xn.endOf(B)},"l"),xr=O(function(hi,sr){return Me.w(de.toDate()[hi].apply(de.toDate("s"),(Pe?[0,0,0,0]:[23,59,59,999]).slice(sr)),de)},"$"),_r=this.$W,Yr=this.$M,Br=this.$D,Ri="set"+(this.$u?"UTC":"");switch(on){case $:return Pe?$n(1,0):$n(31,11);case L:return Pe?$n(1,Yr):$n(0,Yr+1);case A:var Oi=this.$locale().weekStart||0,Is=(_r<Oi?_r+7:_r)-Oi;return $n(Pe?Br-Is:Br+(6-Is),Yr);case B:case P:return xr(Ri+"Hours",0);case E:return xr(Ri+"Minutes",1);case T:return xr(Ri+"Seconds",2);case p:return xr(Ri+"Milliseconds",3);default:return this.clone()}},oe.endOf=function(Ot){return this.startOf(Ot,!1)},oe.$set=function(Ot,we){var de,Pe=Me.p(Ot),on="set"+(this.$u?"UTC":""),$n=(de={},de[B]=on+"Date",de[P]=on+"Date",de[L]=on+"Month",de[$]=on+"FullYear",de[E]=on+"Hours",de[T]=on+"Minutes",de[p]=on+"Seconds",de[k]=on+"Milliseconds",de)[Pe],xr=Pe===B?this.$D+(we-this.$W):we;if(Pe===L||Pe===$){var _r=this.clone().set(P,1);_r.$d[$n](xr),_r.init(),this.$d=_r.set(P,Math.min(this.$D,_r.daysInMonth())).$d}else $n&&this.$d[$n](xr);return this.init(),this},oe.set=function(Ot,we){return this.clone().$set(Ot,we)},oe.get=function(Ot){return this[Me.p(Ot)]()},oe.add=function(Ot,we){var de,Pe=this;Ot=Number(Ot);var on=Me.p(we),$n=O(function(Yr){var Br=Fe(Pe);return Me.w(Br.date(Br.date()+Math.round(Yr*Ot)),Pe)},"y");if(on===L)return this.set(L,this.$M+Ot);if(on===$)return this.set($,this.$y+Ot);if(on===B)return $n(1);if(on===A)return $n(7);var xr=(de={},de[T]=w,de[E]=m,de[p]=d,de)[on]||1,_r=this.$d.getTime()+Ot*xr;return Me.w(_r,this)},oe.subtract=function(Ot,we){return this.add(-1*Ot,we)},oe.format=function(Ot){var we=this,de=this.$locale();if(!this.isValid())return de.invalidDate||U;var Pe=Ot||"YYYY-MM-DDTHH:mm:ssZ",on=Me.z(this),$n=this.$H,xr=this.$m,_r=this.$M,Yr=de.weekdays,Br=de.months,Ri=de.meridiem,Oi=O(function(sr,Xn,Ii,Jr){return sr&&(sr[Xn]||sr(we,Pe))||Ii[Xn].slice(0,Jr)},"h"),Is=O(function(sr){return Me.s($n%12||12,sr,"0")},"d"),hi=Ri||function(sr,Xn,Ii){var Jr=sr<12?"AM":"PM";return Ii?Jr.toLowerCase():Jr};return Pe.replace(X,(function(sr,Xn){return Xn||(function(Ii){switch(Ii){case"YY":return String(we.$y).slice(-2);case"YYYY":return Me.s(we.$y,4,"0");case"M":return _r+1;case"MM":return Me.s(_r+1,2,"0");case"MMM":return Oi(de.monthsShort,_r,Br,3);case"MMMM":return Oi(Br,_r);case"D":return we.$D;case"DD":return Me.s(we.$D,2,"0");case"d":return String(we.$W);case"dd":return Oi(de.weekdaysMin,we.$W,Yr,2);case"ddd":return Oi(de.weekdaysShort,we.$W,Yr,3);case"dddd":return Yr[we.$W];case"H":return String($n);case"HH":return Me.s($n,2,"0");case"h":return Is(1);case"hh":return Is(2);case"a":return hi($n,xr,!0);case"A":return hi($n,xr,!1);case"m":return String(xr);case"mm":return Me.s(xr,2,"0");case"s":return String(we.$s);case"ss":return Me.s(we.$s,2,"0");case"SSS":return Me.s(we.$ms,3,"0");case"Z":return on}return null})(sr)||on.replace(":","")}))},oe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},oe.diff=function(Ot,we,de){var Pe,on=this,$n=Me.p(we),xr=Fe(Ot),_r=(xr.utcOffset()-this.utcOffset())*w,Yr=this-xr,Br=O(function(){return Me.m(on,xr)},"D");switch($n){case $:Pe=Br()/12;break;case L:Pe=Br();break;case I:Pe=Br()/3;break;case A:Pe=(Yr-_r)/6048e5;break;case B:Pe=(Yr-_r)/864e5;break;case E:Pe=Yr/m;break;case T:Pe=Yr/w;break;case p:Pe=Yr/d;break;default:Pe=Yr}return de?Pe:Me.a(Pe)},oe.daysInMonth=function(){return this.endOf(L).$D},oe.$locale=function(){return Vt[this.$L]},oe.locale=function(Ot,we){if(!Ot)return this.$L;var de=this.clone(),Pe=Ze(Ot,we,!0);return Pe&&(de.$L=Pe),de},oe.clone=function(){return Me.w(this.$d,this)},oe.toDate=function(){return new Date(this.valueOf())},oe.toJSON=function(){return this.isValid()?this.toISOString():null},oe.toISOString=function(){return this.$d.toISOString()},oe.toString=function(){return this.$d.toUTCString()},ce})(),Y=kn.prototype;return Fe.prototype=Y,[["$ms",k],["$s",p],["$m",T],["$H",E],["$W",B],["$M",L],["$y",$],["$D",P]].forEach((function(ce){Y[ce[1]]=function(oe){return this.$g(oe,ce[0],ce[1])}})),Fe.extend=function(ce,oe){return ce.$i||(ce(oe,kn,Fe),ce.$i=!0),Fe},Fe.locale=Ze,Fe.isDayjs=be,Fe.unix=function(ce){return Fe(1e3*ce)},Fe.en=Vt[Mt],Fe.Ls=Vt,Fe.p={},Fe}))}}),urn=uQ(lrn()),j3={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},Ae={trace:q((...h)=>{},"trace"),debug:q((...h)=>{},"debug"),info:q((...h)=>{},"info"),warn:q((...h)=>{},"warn"),error:q((...h)=>{},"error"),fatal:q((...h)=>{},"fatal")},Lkt=q(function(h="fatal"){let c=j3.fatal;typeof h=="string"?h.toLowerCase()in j3&&(c=j3[h]):typeof h=="number"&&(c=h),Ae.trace=()=>{},Ae.debug=()=>{},Ae.info=()=>{},Ae.warn=()=>{},Ae.error=()=>{},Ae.fatal=()=>{},c<=j3.fatal&&(Ae.fatal=console.error?console.error.bind(console,Yw("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",Yw("FATAL"))),c<=j3.error&&(Ae.error=console.error?console.error.bind(console,Yw("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",Yw("ERROR"))),c<=j3.warn&&(Ae.warn=console.warn?console.warn.bind(console,Yw("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",Yw("WARN"))),c<=j3.info&&(Ae.info=console.info?console.info.bind(console,Yw("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",Yw("INFO"))),c<=j3.debug&&(Ae.debug=console.debug?console.debug.bind(console,Yw("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Yw("DEBUG"))),c<=j3.trace&&(Ae.trace=console.debug?console.debug.bind(console,Yw("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Yw("TRACE")))},"setLogLevel"),Yw=q(h=>`%c${(0,urn.default)().format("ss.SSS")} : ${h} : `,"format"),wJ={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:O(h=>h>=255?255:h<0?0:h,"r"),g:O(h=>h>=255?255:h<0?0:h,"g"),b:O(h=>h>=255?255:h<0?0:h,"b"),h:O(h=>h%360,"h"),s:O(h=>h>=100?100:h<0?0:h,"s"),l:O(h=>h>=100?100:h<0?0:h,"l"),a:O(h=>h>=1?1:h<0?0:h,"a")},toLinear:O(h=>{const c=h/255;return h>.03928?Math.pow((c+.055)/1.055,2.4):c/12.92},"toLinear"),hue2rgb:O((h,c,d)=>(d<0&&(d+=1),d>1&&(d-=1),d<1/6?h+(c-h)*6*d:d<1/2?c:d<2/3?h+(c-h)*(2/3-d)*6:h),"hue2rgb"),hsl2rgb:O(({h,s:c,l:d},w)=>{if(!c)return d*2.55;h/=360,c/=100,d/=100;const m=d<.5?d*(1+c):d+c-d*c,k=2*d-m;switch(w){case"r":return wJ.hue2rgb(k,m,h+1/3)*255;case"g":return wJ.hue2rgb(k,m,h)*255;case"b":return wJ.hue2rgb(k,m,h-1/3)*255}},"hsl2rgb"),rgb2hsl:O(({r:h,g:c,b:d},w)=>{h/=255,c/=255,d/=255;const m=Math.max(h,c,d),k=Math.min(h,c,d),p=(m+k)/2;if(w==="l")return p*100;if(m===k)return 0;const T=m-k,E=p>.5?T/(2-m-k):T/(m+k);if(w==="s")return E*100;switch(m){case h:return((c-d)/T+(c<d?6:0))*60;case c:return((d-h)/T+2)*60;case d:return((h-c)/T+4)*60;default:return-1}},"rgb2hsl")},hrn=wJ,frn={clamp:O((h,c,d)=>c>d?Math.min(c,Math.max(d,h)):Math.min(d,Math.max(c,h)),"clamp"),round:O(h=>Math.round(h*1e10)/1e10,"round")},drn=frn,grn={dec2hex:O(h=>{const c=Math.round(h).toString(16);return c.length>1?c:`0${c}`},"dec2hex")},brn=grn,wrn={channel:hrn,lang:drn,unit:brn},ps=wrn,G4={};for(let h=0;h<=255;h++)G4[h]=ps.unit.dec2hex(h);var Kd={ALL:0,RGB:1,HSL:2},iA,prn=(iA=class{constructor(){this.type=Kd.ALL}get(){return this.type}set(c){if(this.type&&this.type!==c)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=c}reset(){this.type=Kd.ALL}is(c){return this.type===c}},O(iA,"Type"),iA),mrn=prn,sA,yrn=(sA=class{constructor(c,d){this.color=d,this.changed=!1,this.data=c,this.type=new mrn}set(c,d){return this.color=d,this.changed=!1,this.data=c,this.type.type=Kd.ALL,this}_ensureHSL(){const c=this.data,{h:d,s:w,l:m}=c;d===void 0&&(c.h=ps.channel.rgb2hsl(c,"h")),w===void 0&&(c.s=ps.channel.rgb2hsl(c,"s")),m===void 0&&(c.l=ps.channel.rgb2hsl(c,"l"))}_ensureRGB(){const c=this.data,{r:d,g:w,b:m}=c;d===void 0&&(c.r=ps.channel.hsl2rgb(c,"r")),w===void 0&&(c.g=ps.channel.hsl2rgb(c,"g")),m===void 0&&(c.b=ps.channel.hsl2rgb(c,"b"))}get r(){const c=this.data,d=c.r;return!this.type.is(Kd.HSL)&&d!==void 0?d:(this._ensureHSL(),ps.channel.hsl2rgb(c,"r"))}get g(){const c=this.data,d=c.g;return!this.type.is(Kd.HSL)&&d!==void 0?d:(this._ensureHSL(),ps.channel.hsl2rgb(c,"g"))}get b(){const c=this.data,d=c.b;return!this.type.is(Kd.HSL)&&d!==void 0?d:(this._ensureHSL(),ps.channel.hsl2rgb(c,"b"))}get h(){const c=this.data,d=c.h;return!this.type.is(Kd.RGB)&&d!==void 0?d:(this._ensureRGB(),ps.channel.rgb2hsl(c,"h"))}get s(){const c=this.data,d=c.s;return!this.type.is(Kd.RGB)&&d!==void 0?d:(this._ensureRGB(),ps.channel.rgb2hsl(c,"s"))}get l(){const c=this.data,d=c.l;return!this.type.is(Kd.RGB)&&d!==void 0?d:(this._ensureRGB(),ps.channel.rgb2hsl(c,"l"))}get a(){return this.data.a}set r(c){this.type.set(Kd.RGB),this.changed=!0,this.data.r=c}set g(c){this.type.set(Kd.RGB),this.changed=!0,this.data.g=c}set b(c){this.type.set(Kd.RGB),this.changed=!0,this.data.b=c}set h(c){this.type.set(Kd.HSL),this.changed=!0,this.data.h=c}set s(c){this.type.set(Kd.HSL),this.changed=!0,this.data.s=c}set l(c){this.type.set(Kd.HSL),this.changed=!0,this.data.l=c}set a(c){this.changed=!0,this.data.a=c}},O(sA,"Channels"),sA),vrn=yrn,krn=new vrn({r:0,g:0,b:0,a:0},"transparent"),hQ=krn,tve={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:O(h=>{if(h.charCodeAt(0)!==35)return;const c=h.match(tve.re);if(!c)return;const d=c[1],w=parseInt(d,16),m=d.length,k=m%4===0,p=m>4,T=p?1:17,E=p?8:4,B=k?0:-1,A=p?255:15;return hQ.set({r:(w>>E*(B+3)&A)*T,g:(w>>E*(B+2)&A)*T,b:(w>>E*(B+1)&A)*T,a:k?(w&A)*T/255:1},h)},"parse"),stringify:O(h=>{const{r:c,g:d,b:w,a:m}=h;return m<1?`#${G4[Math.round(c)]}${G4[Math.round(d)]}${G4[Math.round(w)]}${G4[Math.round(m*255)]}`:`#${G4[Math.round(c)]}${G4[Math.round(d)]}${G4[Math.round(w)]}`},"stringify")},lD=tve,pJ={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:O(h=>{const c=h.match(pJ.hueRe);if(c){const[,d,w]=c;switch(w){case"grad":return ps.channel.clamp.h(parseFloat(d)*.9);case"rad":return ps.channel.clamp.h(parseFloat(d)*180/Math.PI);case"turn":return ps.channel.clamp.h(parseFloat(d)*360)}}return ps.channel.clamp.h(parseFloat(h))},"_hue2deg"),parse:O(h=>{const c=h.charCodeAt(0);if(c!==104&&c!==72)return;const d=h.match(pJ.re);if(!d)return;const[,w,m,k,p,T]=d;return hQ.set({h:pJ._hue2deg(w),s:ps.channel.clamp.s(parseFloat(m)),l:ps.channel.clamp.l(parseFloat(k)),a:p?ps.channel.clamp.a(T?parseFloat(p)/100:parseFloat(p)):1},h)},"parse"),stringify:O(h=>{const{h:c,s:d,l:w,a:m}=h;return m<1?`hsla(${ps.lang.round(c)}, ${ps.lang.round(d)}%, ${ps.lang.round(w)}%, ${m})`:`hsl(${ps.lang.round(c)}, ${ps.lang.round(d)}%, ${ps.lang.round(w)}%)`},"stringify")},sJ=pJ,mJ={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:O(h=>{h=h.toLowerCase();const c=mJ.colors[h];if(c)return lD.parse(c)},"parse"),stringify:O(h=>{const c=lD.stringify(h);for(const d in mJ.colors)if(mJ.colors[d]===c)return d},"stringify")},R2e=mJ,eve={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:O(h=>{const c=h.charCodeAt(0);if(c!==114&&c!==82)return;const d=h.match(eve.re);if(!d)return;const[,w,m,k,p,T,E,B,A]=d;return hQ.set({r:ps.channel.clamp.r(m?parseFloat(w)*2.55:parseFloat(w)),g:ps.channel.clamp.g(p?parseFloat(k)*2.55:parseFloat(k)),b:ps.channel.clamp.b(E?parseFloat(T)*2.55:parseFloat(T)),a:B?ps.channel.clamp.a(A?parseFloat(B)/100:parseFloat(B)):1},h)},"parse"),stringify:O(h=>{const{r:c,g:d,b:w,a:m}=h;return m<1?`rgba(${ps.lang.round(c)}, ${ps.lang.round(d)}, ${ps.lang.round(w)}, ${ps.lang.round(m)})`:`rgb(${ps.lang.round(c)}, ${ps.lang.round(d)}, ${ps.lang.round(w)})`},"stringify")},oJ=eve,Crn={format:{keyword:R2e,hex:lD,rgb:oJ,rgba:oJ,hsl:sJ,hsla:sJ},parse:O(h=>{if(typeof h!="string")return h;const c=lD.parse(h)||oJ.parse(h)||sJ.parse(h)||R2e.parse(h);if(c)return c;throw new Error(`Unsupported color format: "${h}"`)},"parse"),stringify:O(h=>!h.changed&&h.color?h.color:h.type.is(Kd.HSL)||h.data.r===void 0?sJ.stringify(h):h.a<1||!Number.isInteger(h.r)||!Number.isInteger(h.g)||!Number.isInteger(h.b)?oJ.stringify(h):lD.stringify(h),"stringify")},H2=Crn,xrn=O((h,c)=>{const d=H2.parse(h);for(const w in c)d[w]=ps.channel.clamp[w](c[w]);return H2.stringify(d)},"change"),nve=xrn,Trn=O((h,c,d=0,w=1)=>{if(typeof h!="number")return nve(h,{a:c});const m=hQ.set({r:ps.channel.clamp.r(h),g:ps.channel.clamp.g(c),b:ps.channel.clamp.b(d),a:ps.channel.clamp.a(w)});return H2.stringify(m)},"rgba"),Q4=Trn,Srn=O((h,c)=>ps.lang.round(H2.parse(h)[c]),"channel"),wpn=Srn,Ern=O(h=>{const{r:c,g:d,b:w}=H2.parse(h),m=.2126*ps.channel.toLinear(c)+.7152*ps.channel.toLinear(d)+.0722*ps.channel.toLinear(w);return ps.lang.round(m)},"luminance"),Brn=Ern,Arn=O(h=>Brn(h)>=.5,"isLight"),Mrn=Arn,Lrn=O(h=>!Mrn(h),"isDark"),z2=Lrn,Frn=O((h,c,d)=>{const w=H2.parse(h),m=w[c],k=ps.channel.clamp[c](m+d);return m!==k&&(w[c]=k),H2.stringify(w)},"adjustChannel"),Fkt=Frn,_rn=O((h,c)=>Fkt(h,"l",c),"lighten"),ze=_rn,Orn=O((h,c)=>Fkt(h,"l",-c),"darken"),We=Orn,Irn=O((h,c)=>Fkt(h,"a",-c),"transparentize"),ppn=Irn,Prn=O((h,c)=>{const d=H2.parse(h),w={};for(const m in c)c[m]&&(w[m]=d[m]+c[m]);return nve(h,w)},"adjust"),ot=Prn,jrn=O((h,c,d=50)=>{const{r:w,g:m,b:k,a:p}=H2.parse(h),{r:T,g:E,b:B,a:A}=H2.parse(c),L=d/100,I=L*2-1,$=p-A,U=((I*$===-1?I:(I+$)/(1+I*$))+1)/2,J=1-U,X=w*U+T*J,rt=m*U+E*J,lt=k*U+B*J,xt=p*L+A*(1-L);return Q4(X,rt,lt,xt)},"mix"),Drn=jrn,$rn=O((h,c=100)=>{const d=H2.parse(h);return d.r=255-d.r,d.g=255-d.g,d.b=255-d.b,Drn(d,h,c)},"invert"),he=$rn;function R3t(h,c){(c==null||c>h.length)&&(c=h.length);for(var d=0,w=Array(c);d<c;d++)w[d]=h[d];return w}O(R3t,"_arrayLikeToArray");function rve(h){if(Array.isArray(h))return h}O(rve,"_arrayWithHoles");function ive(h,c){var d=h==null?null:typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(d!=null){var w,m,k,p,T=[],E=!0,B=!1;try{if(k=(d=d.call(h)).next,c!==0)for(;!(E=(w=k.call(d)).done)&&(T.push(w.value),T.length!==c);E=!0);}catch(A){B=!0,m=A}finally{try{if(!E&&d.return!=null&&(p=d.return(),Object(p)!==p))return}finally{if(B)throw m}}return T}}O(ive,"_iterableToArrayLimit");function sve(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./katex-N6JRN4PM-CsmS8bAu.js","./mermaid-layout-elk.core-DDX9gcIM.js","./main-Bkgg11ZB.js","./index-BNNZmZ7L.js","./index-Coa1vpTG.css","./main-BXa7WYYr.css","./sizeCapture-X5ZJPWSS-PSGVOMYM-DPuPQlRM.js","./transform-B5_amWNh.js","./_commonjs-dynamic-modules-TDtrdbi3.js","./dagre-3AP2YEHR-DCERTXHT-B3xLLC4U.js","./chunk-CTNIYPP6-2D6eMEGx.js","./swimlanes-XN3QIQJK-N6N2CCQ6-DzcOR4_D.js","./cose-bilkent-JH36ORCC-OB24KH3T-D3S0f4LW.js","./chunk-7XDTSPCN-DOxJ22Ws.js","./c4Diagram-UCG6FXSJ-75X3U2P3-Bj0Dw0IT.js","./chunk-LV3HUYFY-D8UFu3pb.js","./flowDiagram-A5DVABFB-2Z4AVO5R-eqJKcw9W.js","./chunk-CXNFBKHE-BETxgCVr.js","./chunk-NDIOYS4C-BuC155ii.js","./chunk-ISA7TJRJ-DGTMMKAm.js","./swimlanesDiagram-VK2B7HYN-E6N4H5SY-JLTPHNIv.js","./erDiagram-SSCWMZ5O-PIPKOIK7-DwWrIKUB.js","./gitGraphDiagram-WWUBYQGX-DMWMLL3G-DIUZBjRH.js","./chunk-RE4WF27V-DJoYieaa.js","./chunk-VII2H2IX-DBudi9Y-.js","./cynefin-OW5HDTMX-GVF3BKWE-DrtBkvjj.js","./ganttDiagram-EL5Y4UJY-JZNG7GOG-CWOtJ46k.js","./time-BgujFIZT.js","./linear-DQOfHiUP.js","./init-Gi6I4Gst.js","./defaultLocale-5voVPcsN.js","./infoDiagram-RXCK75RN-HANS5KVC-CR0XCzL1.js","./pieDiagram-E7YTZNPT-2UOTW327-9oqFgJEQ.js","./arc-DIdxrd7q.js","./ordinal-Cboi1Yqb.js","./pie-5VdQHRMI.js","./quadrantDiagram-AXDQQJYC-SN3ASJJK-aRI00491.js","./xychartDiagram-S5SC5T6Z-OBDNV6WG-D1kFCVEP.js","./band-dPffDWoQ.js","./requirementDiagram-EFPCY7ZU-NGAFFSMB-CiCBt9Q_.js","./sequenceDiagram-WJ2MYXX4-Q2IOPB4R-BAt30Hjd.js","./classDiagram-DTDB5LWJ-LWRDKZ5K-DhFaZ76j.js","./chunk-X5GNSKZ3-Dzcgoim8.js","./classDiagram-v2-JRS7N3AN-2BZHGRP2-DhFaZ76j.js","./stateDiagram-HBIQ2CUA-4M2S6MAN-DnF-bmgm.js","./chunk-M3IUQBOH-r4ZZKIWR.js","./stateDiagram-v2-4QOOHH4V-LBBLA2WV-BLTGkUFQ.js","./journeyDiagram-EYS64GPL-OAPELBT7-Bv57BEbI.js","./timeline-definition-24CTP7MA-KN7RSRVM-CMhLQnxM.js","./mindmap-definition-FBJOCRG2-KIYZG64Y-CgkstHv4.js","./kanban-definition-3QL26DDD-I7RKWQQY-DeQuTmff.js","./sankeyDiagram-P5KCCOFB-3D3M4XPB-vVOpmIBk.js","./Tableau10-CvOaoHrI.js","./diagram-Z3DM3KII-HG7RF65D-D0VfGCJh.js","./diagram-UQ7AKVKN-YQBY353J-CSvMx1Fm.js","./blockDiagram-NRAW4CY4-UMJ6PMQQ-D3KXfJhJ.js","./diagram-S7CK7UJ4-MULGZGEL-D5WNGIG9.js","./architectureDiagram-5GKGNRK7-C4PU3XN7-DzOQ5fo_.js","./diagram-VSXAHHWV-WLNH2ELY-DMVZ0M5s.js","./ishikawaDiagram-5VMMS53U-7GCIT7WU-BQmMapB0.js","./vennDiagram-4TSXK5OY-AKJ7LXAN-CKicd48A.js","./diagram-VX7I27RA-XW6YQV5G-NONTq7mV.js","./index-CvYzv8kf.js","./wardleyDiagram-VM6X3IG4-3B6A3BN5-CBmbko0H.js","./cynefinDiagram-5FMLGOSQ-H3WIRU3N-CGurIKbY.js","./railroadDiagram-O6MQD6OU-34742W6X-82y7OitY.js","./chunk-XCWWM2C3-3YSDgOL-.js","./ebnfDiagram-PWID7BFC-OKY4VHYD-By7cMb-m.js","./abnfDiagram-VCTEODGH-ODA7YWAP-B--kWzEh.js","./pegDiagram-XKGWAZYB-OIP57N6J-DHOcOx86.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var Ynn=Object.defineProperty;var Jnn=(h,c,d)=>c in h?Ynn(h,c,{enumerable:!0,configurable:!0,writable:!0,value:d}):h[c]=d;var wa=(h,c,d)=>Jnn(h,typeof c!="symbol"?c+"":c,d);import{_ as Ks}from"./main-Bkgg11ZB.js";import{_ as O,a as uQ,b as PD}from"./mermaid-layout-elk.core-DDX9gcIM.js";import{s as Rs,E as Kye,F as zye,G as Wye,H as Uye,I as Gye,J as Xye,K as Qnn,L as aD,M as Vye,N as Znn,O as trn,P as Yye,Q as ern,S as nrn,T as rrn,U as Jye,V as Qye,W as irn,X as srn,n as $3t,l as orn}from"./transform-B5_amWNh.js";import{a as $2e,g as crn}from"./index-BNNZmZ7L.js";import{c as iJ}from"./_commonjs-dynamic-modules-TDtrdbi3.js";var Zye=Object.defineProperty,q=O((h,c)=>Zye(h,"name",{value:c,configurable:!0}),"__name"),arn=O((h,c)=>{for(var d in c)Zye(h,d,{get:c[d],enumerable:!0})},"__export"),lrn=PD({"../../node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/dayjs.min.js"(h,c){(function(d,w){typeof h=="object"&&typeof c<"u"?c.exports=w():typeof define=="function"&&define.amd?define(w):(d=typeof globalThis<"u"?globalThis:d||self).dayjs=w()})(h,(function(){var d=1e3,w=6e4,m=36e5,k="millisecond",p="second",T="minute",E="hour",B="day",A="week",L="month",I="quarter",$="year",P="date",U="Invalid Date",J=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,X=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,rt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:O(function(ce){var oe=["th","st","nd","rd"],Ot=ce%100;return"["+ce+(oe[(Ot-20)%10]||oe[Ot]||oe[0])+"]"},"ordinal")},lt=O(function(ce,oe,Ot){var we=String(ce);return!we||we.length>=oe?ce:""+Array(oe+1-we.length).join(Ot)+ce},"m"),xt={s:lt,z:O(function(ce){var oe=-ce.utcOffset(),Ot=Math.abs(oe),we=Math.floor(Ot/60),de=Ot%60;return(oe<=0?"+":"-")+lt(we,2,"0")+":"+lt(de,2,"0")},"z"),m:O(function ce(oe,Ot){if(oe.date()<Ot.date())return-ce(Ot,oe);var we=12*(Ot.year()-oe.year())+(Ot.month()-oe.month()),de=oe.clone().add(we,L),Pe=Ot-de<0,on=oe.clone().add(we+(Pe?-1:1),L);return+(-(we+(Ot-de)/(Pe?de-on:on-de))||0)},"t"),a:O(function(ce){return ce<0?Math.ceil(ce)||0:Math.floor(ce)},"a"),p:O(function(ce){return{M:L,y:$,w:A,d:B,D:P,h:E,m:T,s:p,ms:k,Q:I}[ce]||String(ce||"").toLowerCase().replace(/s$/,"")},"p"),u:O(function(ce){return ce===void 0},"u")},Mt="en",Vt={};Vt[Mt]=rt;var Gt="$isDayjsObject",be=O(function(ce){return ce instanceof kn||!(!ce||!ce[Gt])},"S"),Ze=O(function ce(oe,Ot,we){var de;if(!oe)return Mt;if(typeof oe=="string"){var Pe=oe.toLowerCase();Vt[Pe]&&(de=Pe),Ot&&(Vt[Pe]=Ot,de=Pe);var on=oe.split("-");if(!de&&on.length>1)return ce(on[0])}else{var $n=oe.name;Vt[$n]=oe,de=$n}return!we&&de&&(Mt=de),de||!we&&Mt},"t"),Fe=O(function(ce,oe){if(be(ce))return ce.clone();var Ot=typeof oe=="object"?oe:{};return Ot.date=ce,Ot.args=arguments,new kn(Ot)},"O"),Me=xt;Me.l=Ze,Me.i=be,Me.w=function(ce,oe){return Fe(ce,{locale:oe.$L,utc:oe.$u,x:oe.$x,$offset:oe.$offset})};var kn=(function(){function ce(Ot){this.$L=Ze(Ot.locale,null,!0),this.parse(Ot),this.$x=this.$x||Ot.x||{},this[Gt]=!0}O(ce,"M");var oe=ce.prototype;return oe.parse=function(Ot){this.$d=(function(we){var de=we.date,Pe=we.utc;if(de===null)return new Date(NaN);if(Me.u(de))return new Date;if(de instanceof Date)return new Date(de);if(typeof de=="string"&&!/Z$/i.test(de)){var on=de.match(J);if(on){var $n=on[2]-1||0,xr=(on[7]||"0").substring(0,3);return Pe?new Date(Date.UTC(on[1],$n,on[3]||1,on[4]||0,on[5]||0,on[6]||0,xr)):new Date(on[1],$n,on[3]||1,on[4]||0,on[5]||0,on[6]||0,xr)}}return new Date(de)})(Ot),this.init()},oe.init=function(){var Ot=this.$d;this.$y=Ot.getFullYear(),this.$M=Ot.getMonth(),this.$D=Ot.getDate(),this.$W=Ot.getDay(),this.$H=Ot.getHours(),this.$m=Ot.getMinutes(),this.$s=Ot.getSeconds(),this.$ms=Ot.getMilliseconds()},oe.$utils=function(){return Me},oe.isValid=function(){return this.$d.toString()!==U},oe.isSame=function(Ot,we){var de=Fe(Ot);return this.startOf(we)<=de&&de<=this.endOf(we)},oe.isAfter=function(Ot,we){return Fe(Ot)<this.startOf(we)},oe.isBefore=function(Ot,we){return this.endOf(we)<Fe(Ot)},oe.$g=function(Ot,we,de){return Me.u(Ot)?this[we]:this.set(de,Ot)},oe.unix=function(){return Math.floor(this.valueOf()/1e3)},oe.valueOf=function(){return this.$d.getTime()},oe.startOf=function(Ot,we){var de=this,Pe=!!Me.u(we)||we,on=Me.p(Ot),$n=O(function(hi,sr){var Xn=Me.w(de.$u?Date.UTC(de.$y,sr,hi):new Date(de.$y,sr,hi),de);return Pe?Xn:Xn.endOf(B)},"l"),xr=O(function(hi,sr){return Me.w(de.toDate()[hi].apply(de.toDate("s"),(Pe?[0,0,0,0]:[23,59,59,999]).slice(sr)),de)},"$"),_r=this.$W,Yr=this.$M,Br=this.$D,Ri="set"+(this.$u?"UTC":"");switch(on){case $:return Pe?$n(1,0):$n(31,11);case L:return Pe?$n(1,Yr):$n(0,Yr+1);case A:var Oi=this.$locale().weekStart||0,Is=(_r<Oi?_r+7:_r)-Oi;return $n(Pe?Br-Is:Br+(6-Is),Yr);case B:case P:return xr(Ri+"Hours",0);case E:return xr(Ri+"Minutes",1);case T:return xr(Ri+"Seconds",2);case p:return xr(Ri+"Milliseconds",3);default:return this.clone()}},oe.endOf=function(Ot){return this.startOf(Ot,!1)},oe.$set=function(Ot,we){var de,Pe=Me.p(Ot),on="set"+(this.$u?"UTC":""),$n=(de={},de[B]=on+"Date",de[P]=on+"Date",de[L]=on+"Month",de[$]=on+"FullYear",de[E]=on+"Hours",de[T]=on+"Minutes",de[p]=on+"Seconds",de[k]=on+"Milliseconds",de)[Pe],xr=Pe===B?this.$D+(we-this.$W):we;if(Pe===L||Pe===$){var _r=this.clone().set(P,1);_r.$d[$n](xr),_r.init(),this.$d=_r.set(P,Math.min(this.$D,_r.daysInMonth())).$d}else $n&&this.$d[$n](xr);return this.init(),this},oe.set=function(Ot,we){return this.clone().$set(Ot,we)},oe.get=function(Ot){return this[Me.p(Ot)]()},oe.add=function(Ot,we){var de,Pe=this;Ot=Number(Ot);var on=Me.p(we),$n=O(function(Yr){var Br=Fe(Pe);return Me.w(Br.date(Br.date()+Math.round(Yr*Ot)),Pe)},"y");if(on===L)return this.set(L,this.$M+Ot);if(on===$)return this.set($,this.$y+Ot);if(on===B)return $n(1);if(on===A)return $n(7);var xr=(de={},de[T]=w,de[E]=m,de[p]=d,de)[on]||1,_r=this.$d.getTime()+Ot*xr;return Me.w(_r,this)},oe.subtract=function(Ot,we){return this.add(-1*Ot,we)},oe.format=function(Ot){var we=this,de=this.$locale();if(!this.isValid())return de.invalidDate||U;var Pe=Ot||"YYYY-MM-DDTHH:mm:ssZ",on=Me.z(this),$n=this.$H,xr=this.$m,_r=this.$M,Yr=de.weekdays,Br=de.months,Ri=de.meridiem,Oi=O(function(sr,Xn,Ii,Jr){return sr&&(sr[Xn]||sr(we,Pe))||Ii[Xn].slice(0,Jr)},"h"),Is=O(function(sr){return Me.s($n%12||12,sr,"0")},"d"),hi=Ri||function(sr,Xn,Ii){var Jr=sr<12?"AM":"PM";return Ii?Jr.toLowerCase():Jr};return Pe.replace(X,(function(sr,Xn){return Xn||(function(Ii){switch(Ii){case"YY":return String(we.$y).slice(-2);case"YYYY":return Me.s(we.$y,4,"0");case"M":return _r+1;case"MM":return Me.s(_r+1,2,"0");case"MMM":return Oi(de.monthsShort,_r,Br,3);case"MMMM":return Oi(Br,_r);case"D":return we.$D;case"DD":return Me.s(we.$D,2,"0");case"d":return String(we.$W);case"dd":return Oi(de.weekdaysMin,we.$W,Yr,2);case"ddd":return Oi(de.weekdaysShort,we.$W,Yr,3);case"dddd":return Yr[we.$W];case"H":return String($n);case"HH":return Me.s($n,2,"0");case"h":return Is(1);case"hh":return Is(2);case"a":return hi($n,xr,!0);case"A":return hi($n,xr,!1);case"m":return String(xr);case"mm":return Me.s(xr,2,"0");case"s":return String(we.$s);case"ss":return Me.s(we.$s,2,"0");case"SSS":return Me.s(we.$ms,3,"0");case"Z":return on}return null})(sr)||on.replace(":","")}))},oe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},oe.diff=function(Ot,we,de){var Pe,on=this,$n=Me.p(we),xr=Fe(Ot),_r=(xr.utcOffset()-this.utcOffset())*w,Yr=this-xr,Br=O(function(){return Me.m(on,xr)},"D");switch($n){case $:Pe=Br()/12;break;case L:Pe=Br();break;case I:Pe=Br()/3;break;case A:Pe=(Yr-_r)/6048e5;break;case B:Pe=(Yr-_r)/864e5;break;case E:Pe=Yr/m;break;case T:Pe=Yr/w;break;case p:Pe=Yr/d;break;default:Pe=Yr}return de?Pe:Me.a(Pe)},oe.daysInMonth=function(){return this.endOf(L).$D},oe.$locale=function(){return Vt[this.$L]},oe.locale=function(Ot,we){if(!Ot)return this.$L;var de=this.clone(),Pe=Ze(Ot,we,!0);return Pe&&(de.$L=Pe),de},oe.clone=function(){return Me.w(this.$d,this)},oe.toDate=function(){return new Date(this.valueOf())},oe.toJSON=function(){return this.isValid()?this.toISOString():null},oe.toISOString=function(){return this.$d.toISOString()},oe.toString=function(){return this.$d.toUTCString()},ce})(),Y=kn.prototype;return Fe.prototype=Y,[["$ms",k],["$s",p],["$m",T],["$H",E],["$W",B],["$M",L],["$y",$],["$D",P]].forEach((function(ce){Y[ce[1]]=function(oe){return this.$g(oe,ce[0],ce[1])}})),Fe.extend=function(ce,oe){return ce.$i||(ce(oe,kn,Fe),ce.$i=!0),Fe},Fe.locale=Ze,Fe.isDayjs=be,Fe.unix=function(ce){return Fe(1e3*ce)},Fe.en=Vt[Mt],Fe.Ls=Vt,Fe.p={},Fe}))}}),urn=uQ(lrn()),j3={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},Ae={trace:q((...h)=>{},"trace"),debug:q((...h)=>{},"debug"),info:q((...h)=>{},"info"),warn:q((...h)=>{},"warn"),error:q((...h)=>{},"error"),fatal:q((...h)=>{},"fatal")},Lkt=q(function(h="fatal"){let c=j3.fatal;typeof h=="string"?h.toLowerCase()in j3&&(c=j3[h]):typeof h=="number"&&(c=h),Ae.trace=()=>{},Ae.debug=()=>{},Ae.info=()=>{},Ae.warn=()=>{},Ae.error=()=>{},Ae.fatal=()=>{},c<=j3.fatal&&(Ae.fatal=console.error?console.error.bind(console,Yw("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",Yw("FATAL"))),c<=j3.error&&(Ae.error=console.error?console.error.bind(console,Yw("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",Yw("ERROR"))),c<=j3.warn&&(Ae.warn=console.warn?console.warn.bind(console,Yw("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",Yw("WARN"))),c<=j3.info&&(Ae.info=console.info?console.info.bind(console,Yw("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",Yw("INFO"))),c<=j3.debug&&(Ae.debug=console.debug?console.debug.bind(console,Yw("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Yw("DEBUG"))),c<=j3.trace&&(Ae.trace=console.debug?console.debug.bind(console,Yw("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Yw("TRACE")))},"setLogLevel"),Yw=q(h=>`%c${(0,urn.default)().format("ss.SSS")} : ${h} : `,"format"),wJ={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:O(h=>h>=255?255:h<0?0:h,"r"),g:O(h=>h>=255?255:h<0?0:h,"g"),b:O(h=>h>=255?255:h<0?0:h,"b"),h:O(h=>h%360,"h"),s:O(h=>h>=100?100:h<0?0:h,"s"),l:O(h=>h>=100?100:h<0?0:h,"l"),a:O(h=>h>=1?1:h<0?0:h,"a")},toLinear:O(h=>{const c=h/255;return h>.03928?Math.pow((c+.055)/1.055,2.4):c/12.92},"toLinear"),hue2rgb:O((h,c,d)=>(d<0&&(d+=1),d>1&&(d-=1),d<1/6?h+(c-h)*6*d:d<1/2?c:d<2/3?h+(c-h)*(2/3-d)*6:h),"hue2rgb"),hsl2rgb:O(({h,s:c,l:d},w)=>{if(!c)return d*2.55;h/=360,c/=100,d/=100;const m=d<.5?d*(1+c):d+c-d*c,k=2*d-m;switch(w){case"r":return wJ.hue2rgb(k,m,h+1/3)*255;case"g":return wJ.hue2rgb(k,m,h)*255;case"b":return wJ.hue2rgb(k,m,h-1/3)*255}},"hsl2rgb"),rgb2hsl:O(({r:h,g:c,b:d},w)=>{h/=255,c/=255,d/=255;const m=Math.max(h,c,d),k=Math.min(h,c,d),p=(m+k)/2;if(w==="l")return p*100;if(m===k)return 0;const T=m-k,E=p>.5?T/(2-m-k):T/(m+k);if(w==="s")return E*100;switch(m){case h:return((c-d)/T+(c<d?6:0))*60;case c:return((d-h)/T+2)*60;case d:return((h-c)/T+4)*60;default:return-1}},"rgb2hsl")},hrn=wJ,frn={clamp:O((h,c,d)=>c>d?Math.min(c,Math.max(d,h)):Math.min(d,Math.max(c,h)),"clamp"),round:O(h=>Math.round(h*1e10)/1e10,"round")},drn=frn,grn={dec2hex:O(h=>{const c=Math.round(h).toString(16);return c.length>1?c:`0${c}`},"dec2hex")},brn=grn,wrn={channel:hrn,lang:drn,unit:brn},ps=wrn,G4={};for(let h=0;h<=255;h++)G4[h]=ps.unit.dec2hex(h);var Kd={ALL:0,RGB:1,HSL:2},iA,prn=(iA=class{constructor(){this.type=Kd.ALL}get(){return this.type}set(c){if(this.type&&this.type!==c)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=c}reset(){this.type=Kd.ALL}is(c){return this.type===c}},O(iA,"Type"),iA),mrn=prn,sA,yrn=(sA=class{constructor(c,d){this.color=d,this.changed=!1,this.data=c,this.type=new mrn}set(c,d){return this.color=d,this.changed=!1,this.data=c,this.type.type=Kd.ALL,this}_ensureHSL(){const c=this.data,{h:d,s:w,l:m}=c;d===void 0&&(c.h=ps.channel.rgb2hsl(c,"h")),w===void 0&&(c.s=ps.channel.rgb2hsl(c,"s")),m===void 0&&(c.l=ps.channel.rgb2hsl(c,"l"))}_ensureRGB(){const c=this.data,{r:d,g:w,b:m}=c;d===void 0&&(c.r=ps.channel.hsl2rgb(c,"r")),w===void 0&&(c.g=ps.channel.hsl2rgb(c,"g")),m===void 0&&(c.b=ps.channel.hsl2rgb(c,"b"))}get r(){const c=this.data,d=c.r;return!this.type.is(Kd.HSL)&&d!==void 0?d:(this._ensureHSL(),ps.channel.hsl2rgb(c,"r"))}get g(){const c=this.data,d=c.g;return!this.type.is(Kd.HSL)&&d!==void 0?d:(this._ensureHSL(),ps.channel.hsl2rgb(c,"g"))}get b(){const c=this.data,d=c.b;return!this.type.is(Kd.HSL)&&d!==void 0?d:(this._ensureHSL(),ps.channel.hsl2rgb(c,"b"))}get h(){const c=this.data,d=c.h;return!this.type.is(Kd.RGB)&&d!==void 0?d:(this._ensureRGB(),ps.channel.rgb2hsl(c,"h"))}get s(){const c=this.data,d=c.s;return!this.type.is(Kd.RGB)&&d!==void 0?d:(this._ensureRGB(),ps.channel.rgb2hsl(c,"s"))}get l(){const c=this.data,d=c.l;return!this.type.is(Kd.RGB)&&d!==void 0?d:(this._ensureRGB(),ps.channel.rgb2hsl(c,"l"))}get a(){return this.data.a}set r(c){this.type.set(Kd.RGB),this.changed=!0,this.data.r=c}set g(c){this.type.set(Kd.RGB),this.changed=!0,this.data.g=c}set b(c){this.type.set(Kd.RGB),this.changed=!0,this.data.b=c}set h(c){this.type.set(Kd.HSL),this.changed=!0,this.data.h=c}set s(c){this.type.set(Kd.HSL),this.changed=!0,this.data.s=c}set l(c){this.type.set(Kd.HSL),this.changed=!0,this.data.l=c}set a(c){this.changed=!0,this.data.a=c}},O(sA,"Channels"),sA),vrn=yrn,krn=new vrn({r:0,g:0,b:0,a:0},"transparent"),hQ=krn,tve={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:O(h=>{if(h.charCodeAt(0)!==35)return;const c=h.match(tve.re);if(!c)return;const d=c[1],w=parseInt(d,16),m=d.length,k=m%4===0,p=m>4,T=p?1:17,E=p?8:4,B=k?0:-1,A=p?255:15;return hQ.set({r:(w>>E*(B+3)&A)*T,g:(w>>E*(B+2)&A)*T,b:(w>>E*(B+1)&A)*T,a:k?(w&A)*T/255:1},h)},"parse"),stringify:O(h=>{const{r:c,g:d,b:w,a:m}=h;return m<1?`#${G4[Math.round(c)]}${G4[Math.round(d)]}${G4[Math.round(w)]}${G4[Math.round(m*255)]}`:`#${G4[Math.round(c)]}${G4[Math.round(d)]}${G4[Math.round(w)]}`},"stringify")},lD=tve,pJ={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:O(h=>{const c=h.match(pJ.hueRe);if(c){const[,d,w]=c;switch(w){case"grad":return ps.channel.clamp.h(parseFloat(d)*.9);case"rad":return ps.channel.clamp.h(parseFloat(d)*180/Math.PI);case"turn":return ps.channel.clamp.h(parseFloat(d)*360)}}return ps.channel.clamp.h(parseFloat(h))},"_hue2deg"),parse:O(h=>{const c=h.charCodeAt(0);if(c!==104&&c!==72)return;const d=h.match(pJ.re);if(!d)return;const[,w,m,k,p,T]=d;return hQ.set({h:pJ._hue2deg(w),s:ps.channel.clamp.s(parseFloat(m)),l:ps.channel.clamp.l(parseFloat(k)),a:p?ps.channel.clamp.a(T?parseFloat(p)/100:parseFloat(p)):1},h)},"parse"),stringify:O(h=>{const{h:c,s:d,l:w,a:m}=h;return m<1?`hsla(${ps.lang.round(c)}, ${ps.lang.round(d)}%, ${ps.lang.round(w)}%, ${m})`:`hsl(${ps.lang.round(c)}, ${ps.lang.round(d)}%, ${ps.lang.round(w)}%)`},"stringify")},sJ=pJ,mJ={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:O(h=>{h=h.toLowerCase();const c=mJ.colors[h];if(c)return lD.parse(c)},"parse"),stringify:O(h=>{const c=lD.stringify(h);for(const d in mJ.colors)if(mJ.colors[d]===c)return d},"stringify")},R2e=mJ,eve={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:O(h=>{const c=h.charCodeAt(0);if(c!==114&&c!==82)return;const d=h.match(eve.re);if(!d)return;const[,w,m,k,p,T,E,B,A]=d;return hQ.set({r:ps.channel.clamp.r(m?parseFloat(w)*2.55:parseFloat(w)),g:ps.channel.clamp.g(p?parseFloat(k)*2.55:parseFloat(k)),b:ps.channel.clamp.b(E?parseFloat(T)*2.55:parseFloat(T)),a:B?ps.channel.clamp.a(A?parseFloat(B)/100:parseFloat(B)):1},h)},"parse"),stringify:O(h=>{const{r:c,g:d,b:w,a:m}=h;return m<1?`rgba(${ps.lang.round(c)}, ${ps.lang.round(d)}, ${ps.lang.round(w)}, ${ps.lang.round(m)})`:`rgb(${ps.lang.round(c)}, ${ps.lang.round(d)}, ${ps.lang.round(w)})`},"stringify")},oJ=eve,Crn={format:{keyword:R2e,hex:lD,rgb:oJ,rgba:oJ,hsl:sJ,hsla:sJ},parse:O(h=>{if(typeof h!="string")return h;const c=lD.parse(h)||oJ.parse(h)||sJ.parse(h)||R2e.parse(h);if(c)return c;throw new Error(`Unsupported color format: "${h}"`)},"parse"),stringify:O(h=>!h.changed&&h.color?h.color:h.type.is(Kd.HSL)||h.data.r===void 0?sJ.stringify(h):h.a<1||!Number.isInteger(h.r)||!Number.isInteger(h.g)||!Number.isInteger(h.b)?oJ.stringify(h):lD.stringify(h),"stringify")},H2=Crn,xrn=O((h,c)=>{const d=H2.parse(h);for(const w in c)d[w]=ps.channel.clamp[w](c[w]);return H2.stringify(d)},"change"),nve=xrn,Trn=O((h,c,d=0,w=1)=>{if(typeof h!="number")return nve(h,{a:c});const m=hQ.set({r:ps.channel.clamp.r(h),g:ps.channel.clamp.g(c),b:ps.channel.clamp.b(d),a:ps.channel.clamp.a(w)});return H2.stringify(m)},"rgba"),Q4=Trn,Srn=O((h,c)=>ps.lang.round(H2.parse(h)[c]),"channel"),bpn=Srn,Ern=O(h=>{const{r:c,g:d,b:w}=H2.parse(h),m=.2126*ps.channel.toLinear(c)+.7152*ps.channel.toLinear(d)+.0722*ps.channel.toLinear(w);return ps.lang.round(m)},"luminance"),Brn=Ern,Arn=O(h=>Brn(h)>=.5,"isLight"),Mrn=Arn,Lrn=O(h=>!Mrn(h),"isDark"),z2=Lrn,Frn=O((h,c,d)=>{const w=H2.parse(h),m=w[c],k=ps.channel.clamp[c](m+d);return m!==k&&(w[c]=k),H2.stringify(w)},"adjustChannel"),Fkt=Frn,_rn=O((h,c)=>Fkt(h,"l",c),"lighten"),ze=_rn,Orn=O((h,c)=>Fkt(h,"l",-c),"darken"),We=Orn,Irn=O((h,c)=>Fkt(h,"a",-c),"transparentize"),wpn=Irn,Prn=O((h,c)=>{const d=H2.parse(h),w={};for(const m in c)c[m]&&(w[m]=d[m]+c[m]);return nve(h,w)},"adjust"),ot=Prn,jrn=O((h,c,d=50)=>{const{r:w,g:m,b:k,a:p}=H2.parse(h),{r:T,g:E,b:B,a:A}=H2.parse(c),L=d/100,I=L*2-1,$=p-A,U=((I*$===-1?I:(I+$)/(1+I*$))+1)/2,J=1-U,X=w*U+T*J,rt=m*U+E*J,lt=k*U+B*J,xt=p*L+A*(1-L);return Q4(X,rt,lt,xt)},"mix"),Drn=jrn,$rn=O((h,c=100)=>{const d=H2.parse(h);return d.r=255-d.r,d.g=255-d.g,d.b=255-d.b,Drn(d,h,c)},"invert"),he=$rn;function R3t(h,c){(c==null||c>h.length)&&(c=h.length);for(var d=0,w=Array(c);d<c;d++)w[d]=h[d];return w}O(R3t,"_arrayLikeToArray");function rve(h){if(Array.isArray(h))return h}O(rve,"_arrayWithHoles");function ive(h,c){var d=h==null?null:typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(d!=null){var w,m,k,p,T=[],E=!0,B=!1;try{if(k=(d=d.call(h)).next,c!==0)for(;!(E=(w=k.call(d)).done)&&(T.push(w.value),T.length!==c);E=!0);}catch(A){B=!0,m=A}finally{try{if(!E&&d.return!=null&&(p=d.return(),Object(p)!==p))return}finally{if(B)throw m}}return T}}O(ive,"_iterableToArrayLimit");function sve(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}O(sve,"_nonIterableRest");function ove(h,c){return rve(h)||ive(h,c)||cve(h,c)||sve()}O(ove,"_slicedToArray");function cve(h,c){if(h){if(typeof h=="string")return R3t(h,c);var d={}.toString.call(h).slice(8,-1);return d==="Object"&&h.constructor&&(d=h.constructor.name),d==="Map"||d==="Set"?Array.from(h):d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?R3t(h,c):void 0}}O(cve,"_unsupportedIterableToArray");var ave=Object.entries,N2e=Object.setPrototypeOf,Rrn=Object.isFrozen,Nrn=Object.getPrototypeOf,qrn=Object.getOwnPropertyDescriptor,sd=Object.freeze,od=Object.seal,WB=Object.create,lve=typeof Reflect<"u"&&Reflect,N3t=lve.apply,q3t=lve.construct;sd||(sd=O(function(c){return c},"freeze"));od||(od=O(function(c){return c},"seal"));N3t||(N3t=O(function(c,d){for(var w=arguments.length,m=new Array(w>2?w-2:0),k=2;k<w;k++)m[k-2]=arguments[k];return c.apply(d,m)},"apply"));q3t||(q3t=O(function(c){for(var d=arguments.length,w=new Array(d>1?d-1:0),m=1;m<d;m++)w[m-1]=arguments[m];return new c(...w)},"construct"));var qB=Xu(Array.prototype.forEach),Hrn=Xu(Array.prototype.lastIndexOf),q2e=Xu(Array.prototype.pop),HB=Xu(Array.prototype.push),Krn=Xu(Array.prototype.splice),V4=Array.isArray,rD=Xu(String.prototype.toLowerCase),Zvt=Xu(String.prototype.toString),H2e=Xu(String.prototype.match),Jj=Xu(String.prototype.replace),K2e=Xu(String.prototype.indexOf),zrn=Xu(String.prototype.trim),Wrn=Xu(Number.prototype.toString),Urn=Xu(Boolean.prototype.toString),z2e=typeof BigInt>"u"?null:Xu(BigInt.prototype.toString),W2e=typeof Symbol>"u"?null:Xu(Symbol.prototype.toString),Bf=Xu(Object.prototype.hasOwnProperty),Qj=Xu(Object.prototype.toString),Sf=Xu(RegExp.prototype.test),l8=uve(TypeError);function Xu(h){return function(c){c instanceof RegExp&&(c.lastIndex=0);for(var d=arguments.length,w=new Array(d>1?d-1:0),m=1;m<d;m++)w[m-1]=arguments[m];return N3t(h,c,w)}}O(Xu,"unapply");function uve(h){return function(){for(var c=arguments.length,d=new Array(c),w=0;w<c;w++)d[w]=arguments[w];return q3t(h,d)}}O(uve,"unconstruct");function Zo(h,c){let d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:rD;if(N2e&&N2e(h,null),!V4(c))return h;let w=c.length;for(;w--;){let m=c[w];if(typeof m=="string"){const k=d(m);k!==m&&(Rrn(c)||(c[w]=k),m=k)}h[m]=!0}return h}O(Zo,"addToSet");function hve(h){for(let c=0;c<h.length;c++)Bf(h,c)||(h[c]=null);return h}O(hve,"cleanArray");function zd(h){const c=WB(null);for(const w of ave(h)){var d=ove(w,2);const m=d[0],k=d[1];Bf(h,m)&&(V4(k)?c[m]=hve(k):k&&typeof k=="object"&&k.constructor===Object?c[m]=zd(k):c[m]=k)}return c}O(zd,"clone");function fve(h){switch(typeof h){case"string":return h;case"number":return Wrn(h);case"boolean":return Urn(h);case"bigint":return z2e?z2e(h):"0";case"symbol":return W2e?W2e(h):"Symbol()";case"undefined":return Qj(h);case"function":case"object":{if(h===null)return Qj(h);const c=h,d=D2(c,"toString");if(typeof d=="function"){const w=d(c);return typeof w=="string"?w:Qj(w)}return Qj(h)}default:return Qj(h)}}O(fve,"stringifyValue");function D2(h,c){for(;h!==null;){const w=qrn(h,c);if(w){if(w.get)return Xu(w.get);if(typeof w.value=="function")return Xu(w.value)}h=Nrn(h)}function d(){return null}return O(d,"fallbackValue"),d}O(D2,"lookupGetter");function dve(h){try{return Sf(h,""),!0}catch{return!1}}O(dve,"isRegex");var U2e=sd(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),t3t=sd(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),e3t=sd(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Grn=sd(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),n3t=sd(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Xrn=sd(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),G2e=sd(["#text"]),X2e=sd(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),r3t=sd(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),V2e=sd(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),cJ=sd(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Vrn=od(/{{[\w\W]*|^[\w\W]*}}/g),Yrn=od(/<%[\w\W]*|^[\w\W]*%>/g),Jrn=od(/\${[\w\W]*/g),Qrn=od(/^data-[\-\w.\u00B7-\uFFFF]+$/),Zrn=od(/^aria-[\-\w]+$/),Y2e=od(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),tin=od(/^(?:\w+script|data):/i),ein=od(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),nin=od(/^html$/i),rin=od(/^[a-z][.\w]*(-[.\w]+)+$/i),J2e=od(/<[/\w!]/g),Q2e=od(/<[/\w]/g),iin=od(/<\/no(script|embed|frames)/i),sin=od(/\/>/i),hb={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},oin=O(function(){return typeof window>"u"?null:window},"getGlobal"),cin=O(function(c,d){if(typeof c!="object"||typeof c.createPolicy!="function")return null;let w=null;const m="data-tt-policy-suffix";d&&d.hasAttribute(m)&&(w=d.getAttribute(m));const k="dompurify"+(w?"#"+w:"");try{return c.createPolicy(k,{createHTML(p){return p},createScriptURL(p){return p}})}catch{return console.warn("TrustedTypes policy "+k+" could not be created."),null}},"_createTrustedTypesPolicy"),Z2e=O(function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},"_createHooksMap"),W4=O(function(c,d,w,m){return Bf(c,d)&&V4(c[d])?Zo(m.base?zd(m.base):{},c[d],m.transform):w},"_resolveSetOption");function _kt(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:oin();const c=O(or=>_kt(or),"DOMPurify");if(c.version="3.4.12",c.removed=[],!h||!h.document||h.document.nodeType!==hb.document||!h.Element)return c.isSupported=!1,c;let d=h.document;const w=d,m=w.currentScript;h.DocumentFragment;const k=h.HTMLTemplateElement,p=h.Node,T=h.Element,E=h.NodeFilter,B=h.NamedNodeMap;B===void 0&&(h.NamedNodeMap||h.MozNamedAttrMap),h.HTMLFormElement;const A=h.DOMParser,L=h.trustedTypes,I=T.prototype,$=D2(I,"cloneNode"),P=D2(I,"remove"),U=D2(I,"nextSibling"),J=D2(I,"childNodes"),X=D2(I,"parentNode"),rt=D2(I,"shadowRoot"),lt=D2(I,"attributes"),xt=p&&p.prototype?D2(p.prototype,"nodeType"):null,Mt=p&&p.prototype?D2(p.prototype,"nodeName"):null;if(typeof k=="function"){const or=d.createElement("template");or.content&&or.content.ownerDocument&&(d=or.content.ownerDocument)}let Vt,Gt="",be,Ze=!1,Fe=0;const Me=O(function(){if(Fe>0)throw l8('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},"_assertNotInTrustedTypesPolicy"),kn=O(function(Bt){Me(),Fe++;try{return Vt.createHTML(Bt)}finally{Fe--}},"_createTrustedHTML"),Y=O(function(Bt){Me(),Fe++;try{return Vt.createScriptURL(Bt)}finally{Fe--}},"_createTrustedScriptURL"),ce=O(function(){return Ze||(be=cin(L,m),Ze=!0),be},"_getDefaultTrustedTypesPolicy"),oe=d,Ot=oe.implementation,we=oe.createNodeIterator,de=oe.createDocumentFragment,Pe=oe.getElementsByTagName,on=w.importNode;let $n=Z2e();c.isSupported=typeof ave=="function"&&typeof X=="function"&&Ot&&Ot.createHTMLDocument!==void 0;const xr=Vrn,_r=Yrn,Yr=Jrn,Br=Qrn,Ri=Zrn,Oi=tin,Is=ein,hi=rin;let sr=Y2e,Xn=null;const Ii=Zo({},[...U2e,...t3t,...e3t,...n3t,...G2e]);let Jr=null;const $o=Zo({},[...X2e,...r3t,...V2e,...cJ]);let Qt=Object.seal(WB(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),dr=null,za=null;const Sc=Object.seal(WB(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Zg=!0,Xd=!0,z1=!1,t0=!0,La=!1,Bs=!0,Fa=!1,Vl=!1,W1=null,H=null,fe=!1,Je=!1,cn=!1,He=!1,Nn=!0,ut=!1;const ve="user-content-";let Bn=!0,rn=!1,sn={},wn=null;const Cn=Zo({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Ar=null;const yr=Zo({},["audio","video","img","source","image","track"]);let ti=null;const mi=Zo({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ns="http://www.w3.org/1998/Math/MathML",cc="http://www.w3.org/2000/svg",ad="http://www.w3.org/1999/xhtml";let Vd=ad,wb=!1,rS=null;const VD=Zo({},[Ns,cc,ad],Zvt),PA=sd(["mi","mo","mn","ms","mtext"]);let iS=Zo({},PA);const jA=sd(["annotation-xml"]);let sS=Zo({},jA);const YD=Zo({},["title","style","font","a","script"]);let z3=null;const JD=["application/xhtml+xml","text/html"],QD="text/html";let _a=null,Hy=null;const ZD=d.createElement("form"),oS=O(function(Bt){return Bt instanceof RegExp||Bt instanceof Function},"isRegexOrFunction"),cS=O(function(){let Bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Hy&&Hy===Bt)return;(!Bt||typeof Bt!="object")&&(Bt={}),Bt=zd(Bt),z3=JD.indexOf(Bt.PARSER_MEDIA_TYPE)===-1?QD:Bt.PARSER_MEDIA_TYPE,_a=z3==="application/xhtml+xml"?Zvt:rD,Xn=W4(Bt,"ALLOWED_TAGS",Ii,{transform:_a}),Jr=W4(Bt,"ALLOWED_ATTR",$o,{transform:_a}),rS=W4(Bt,"ALLOWED_NAMESPACES",VD,{transform:Zvt}),ti=W4(Bt,"ADD_URI_SAFE_ATTR",mi,{transform:_a,base:mi}),Ar=W4(Bt,"ADD_DATA_URI_TAGS",yr,{transform:_a,base:yr}),wn=W4(Bt,"FORBID_CONTENTS",Cn,{transform:_a}),dr=W4(Bt,"FORBID_TAGS",zd({}),{transform:_a}),za=W4(Bt,"FORBID_ATTR",zd({}),{transform:_a}),sn=Bf(Bt,"USE_PROFILES")?Bt.USE_PROFILES&&typeof Bt.USE_PROFILES=="object"?zd(Bt.USE_PROFILES):Bt.USE_PROFILES:!1,Zg=Bt.ALLOW_ARIA_ATTR!==!1,Xd=Bt.ALLOW_DATA_ATTR!==!1,z1=Bt.ALLOW_UNKNOWN_PROTOCOLS||!1,t0=Bt.ALLOW_SELF_CLOSE_IN_ATTR!==!1,La=Bt.SAFE_FOR_TEMPLATES||!1,Bs=Bt.SAFE_FOR_XML!==!1,Fa=Bt.WHOLE_DOCUMENT||!1,Je=Bt.RETURN_DOM||!1,cn=Bt.RETURN_DOM_FRAGMENT||!1,He=Bt.RETURN_TRUSTED_TYPE||!1,fe=Bt.FORCE_BODY||!1,Nn=Bt.SANITIZE_DOM!==!1,ut=Bt.SANITIZE_NAMED_PROPS||!1,Bn=Bt.KEEP_CONTENT!==!1,rn=Bt.IN_PLACE||!1,sr=dve(Bt.ALLOWED_URI_REGEXP)?Bt.ALLOWED_URI_REGEXP:Y2e,Vd=typeof Bt.NAMESPACE=="string"?Bt.NAMESPACE:ad,iS=Bf(Bt,"MATHML_TEXT_INTEGRATION_POINTS")&&Bt.MATHML_TEXT_INTEGRATION_POINTS&&typeof Bt.MATHML_TEXT_INTEGRATION_POINTS=="object"?zd(Bt.MATHML_TEXT_INTEGRATION_POINTS):Zo({},PA),sS=Bf(Bt,"HTML_INTEGRATION_POINTS")&&Bt.HTML_INTEGRATION_POINTS&&typeof Bt.HTML_INTEGRATION_POINTS=="object"?zd(Bt.HTML_INTEGRATION_POINTS):Zo({},jA);const Le=Bf(Bt,"CUSTOM_ELEMENT_HANDLING")&&Bt.CUSTOM_ELEMENT_HANDLING&&typeof Bt.CUSTOM_ELEMENT_HANDLING=="object"?zd(Bt.CUSTOM_ELEMENT_HANDLING):WB(null);if(Qt=WB(null),Bf(Le,"tagNameCheck")&&oS(Le.tagNameCheck)&&(Qt.tagNameCheck=Le.tagNameCheck),Bf(Le,"attributeNameCheck")&&oS(Le.attributeNameCheck)&&(Qt.attributeNameCheck=Le.attributeNameCheck),Bf(Le,"allowCustomizedBuiltInElements")&&typeof Le.allowCustomizedBuiltInElements=="boolean"&&(Qt.allowCustomizedBuiltInElements=Le.allowCustomizedBuiltInElements),od(Qt),La&&(Xd=!1),cn&&(Je=!0),sn&&(Xn=Zo({},G2e),Jr=WB(null),sn.html===!0&&(Zo(Xn,U2e),Zo(Jr,X2e)),sn.svg===!0&&(Zo(Xn,t3t),Zo(Jr,r3t),Zo(Jr,cJ)),sn.svgFilters===!0&&(Zo(Xn,e3t),Zo(Jr,r3t),Zo(Jr,cJ)),sn.mathMl===!0&&(Zo(Xn,n3t),Zo(Jr,V2e),Zo(Jr,cJ))),Sc.tagCheck=null,Sc.attributeCheck=null,Bf(Bt,"ADD_TAGS")&&(typeof Bt.ADD_TAGS=="function"?Sc.tagCheck=Bt.ADD_TAGS:V4(Bt.ADD_TAGS)&&(Xn===Ii&&(Xn=zd(Xn)),Zo(Xn,Bt.ADD_TAGS,_a))),Bf(Bt,"ADD_ATTR")&&(typeof Bt.ADD_ATTR=="function"?Sc.attributeCheck=Bt.ADD_ATTR:V4(Bt.ADD_ATTR)&&(Jr===$o&&(Jr=zd(Jr)),Zo(Jr,Bt.ADD_ATTR,_a))),Bf(Bt,"ADD_URI_SAFE_ATTR")&&V4(Bt.ADD_URI_SAFE_ATTR)&&Zo(ti,Bt.ADD_URI_SAFE_ATTR,_a),Bf(Bt,"FORBID_CONTENTS")&&V4(Bt.FORBID_CONTENTS)&&(wn===Cn&&(wn=zd(wn)),Zo(wn,Bt.FORBID_CONTENTS,_a)),Bf(Bt,"ADD_FORBID_CONTENTS")&&V4(Bt.ADD_FORBID_CONTENTS)&&(wn===Cn&&(wn=zd(wn)),Zo(wn,Bt.ADD_FORBID_CONTENTS,_a)),Bn&&(Xn["#text"]=!0),Fa&&Zo(Xn,["html","head","body"]),Xn.table&&(Zo(Xn,["tbody"]),delete dr.tbody),Bt.TRUSTED_TYPES_POLICY){if(typeof Bt.TRUSTED_TYPES_POLICY.createHTML!="function")throw l8('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Bt.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw l8('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const jn=Vt;Vt=Bt.TRUSTED_TYPES_POLICY;try{Gt=kn("")}catch(Zr){throw Vt=jn,Zr}}else Bt.TRUSTED_TYPES_POLICY===null?(Vt=void 0,Gt=""):(Vt===void 0&&(Vt=ce()),Vt&&typeof Gt=="string"&&(Gt=kn("")));sd&&sd(Bt),Hy=Bt},"_parseConfig"),DA=Zo({},[...t3t,...e3t,...Grn]),$A=Zo({},[...n3t,...Xrn]),t$=O(function(Bt,Le,jn){return Le.namespaceURI===ad?Bt==="svg":Le.namespaceURI===Ns?Bt==="svg"&&(jn==="annotation-xml"||iS[jn]):!!DA[Bt]},"_checkSvgNamespace"),aS=O(function(Bt,Le,jn){return Le.namespaceURI===ad?Bt==="math":Le.namespaceURI===cc?Bt==="math"&&sS[jn]:!!$A[Bt]},"_checkMathMlNamespace"),lS=O(function(Bt,Le,jn){return Le.namespaceURI===cc&&!sS[jn]||Le.namespaceURI===Ns&&!iS[jn]?!1:!$A[Bt]&&(YD[Bt]||!DA[Bt])},"_checkHtmlNamespace"),sx=O(function(Bt){let Le=X(Bt);(!Le||!Le.tagName)&&(Le={namespaceURI:Vd,tagName:"template"});const jn=rD(Bt.tagName),Zr=rD(Le.tagName);return rS[Bt.namespaceURI]?Bt.namespaceURI===cc?t$(jn,Le,Zr):Bt.namespaceURI===Ns?aS(jn,Le,Zr):Bt.namespaceURI===ad?lS(jn,Le,Zr):!!(z3==="application/xhtml+xml"&&rS[Bt.namespaceURI]):!1},"_checkValidNamespace"),rp=O(function(Bt){HB(c.removed,{element:Bt});try{X(Bt).removeChild(Bt)}catch{if(P(Bt),!X(Bt))throw l8("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},"_forceRemove"),ox=O(function(Bt){uS(Bt);const Le=J(Bt);if(Le){const Zr=[];qB(Le,Ui=>{HB(Zr,Ui)}),qB(Zr,Ui=>{try{P(Ui)}catch{}})}const jn=lt(Bt);if(jn)for(let Zr=jn.length-1;Zr>=0;--Zr){const Ui=jn[Zr],ls=Ui&&Ui.name;if(typeof ls=="string")try{Bt.removeAttribute(ls)}catch{}}},"_neutralizeRoot"),pb=O(function(Bt,Le){try{HB(c.removed,{attribute:Le.getAttributeNode(Bt),from:Le})}catch{HB(c.removed,{attribute:null,from:Le})}if(Le.removeAttribute(Bt),Bt==="is")if(Je||cn)try{rp(Le)}catch{}else try{Le.setAttribute(Bt,"")}catch{}},"_removeAttribute"),e$=O(function(Bt){const Le=lt(Bt);if(Le)for(let jn=Le.length-1;jn>=0;--jn){const Zr=Le[jn],Ui=Zr&&Zr.name;if(!(typeof Ui!="string"||Jr[_a(Ui)]))try{Bt.removeAttribute(Ui)}catch{}}},"_stripDisallowedAttributes"),uS=O(function(Bt){const Le=[Bt];for(;Le.length>0;){const jn=Le.pop();(xt?xt(jn):jn.nodeType)===hb.element&&e$(jn);const Ui=J(jn);if(Ui)for(let ls=Ui.length-1;ls>=0;--ls)Le.push(Ui[ls])}},"_neutralizeSubtree"),n$=O(function(Bt){if(!Bs)return;const Le=[Bt];for(;Le.length>0;){const jn=Le.pop(),Zr=xt?xt(jn):jn.nodeType;if(Zr===hb.processingInstruction||Zr===hb.comment&&Sf(Q2e,jn.data)){try{P(jn)}catch{}continue}if(Zr===hb.element){const ls=jn,Wa=_a(Mt?Mt(jn):jn.nodeName);try{ls.hasAttribute&&ls.hasAttribute("patchsrc")&&ls.removeAttribute("patchsrc"),ls.hasAttribute&&ls.hasAttribute("for")&&Wa!=="label"&&Wa!=="output"&&ls.removeAttribute("for")}catch{}}const Ui=J(jn);if(Ui)for(let ls=Ui.length-1;ls>=0;--ls)Le.push(Ui[ls])}},"_neutralizePatchLinkage"),W3=O(function(Bt){let Le=null,jn=null;if(fe)Bt="<remove></remove>"+Bt;else{const ls=H2e(Bt,/^[\r\n\t ]+/);jn=ls&&ls[0]}z3==="application/xhtml+xml"&&Vd===ad&&(Bt='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Bt+"</body></html>");const Zr=Vt?kn(Bt):Bt;if(Vd===ad)try{Le=new A().parseFromString(Zr,z3)}catch{}if(!Le||!Le.documentElement){Le=Ot.createDocument(Vd,"template",null);try{Le.documentElement.innerHTML=wb?Gt:Zr}catch{}}const Ui=Le.body||Le.documentElement;return Bt&&jn&&Ui.insertBefore(d.createTextNode(jn),Ui.childNodes[0]||null),Vd===ad?Pe.call(Le,Fa?"html":"body")[0]:Fa?Le.documentElement:Ui},"_initDocument"),RA=O(function(Bt){return we.call(Bt.ownerDocument||Bt,Bt,E.SHOW_ELEMENT|E.SHOW_COMMENT|E.SHOW_TEXT|E.SHOW_PROCESSING_INSTRUCTION|E.SHOW_CDATA_SECTION,null)},"_createNodeIterator"),cx=O(function(Bt){return Bt=Jj(Bt,xr," "),Bt=Jj(Bt,_r," "),Bt=Jj(Bt,Yr," "),Bt},"_stripTemplateExpressions"),hS=O(function(Bt){var Le;Bt.normalize();const jn=we.call(Bt.ownerDocument||Bt,Bt,E.SHOW_TEXT|E.SHOW_COMMENT|E.SHOW_CDATA_SECTION|E.SHOW_PROCESSING_INSTRUCTION,null);let Zr=jn.nextNode();for(;Zr;)Zr.data=cx(Zr.data),Zr=jn.nextNode();const Ui=(Le=Bt.querySelectorAll)===null||Le===void 0?void 0:Le.call(Bt,"template");Ui&&qB(Ui,ls=>{Ky(ls.content)&&hS(ls.content)})},"_scrubTemplateExpressions"),ax=O(function(Bt){const Le=Mt?Mt(Bt):null;return typeof Le!="string"||_a(Le)!=="form"?!1:typeof Bt.nodeName!="string"||typeof Bt.textContent!="string"||typeof Bt.removeChild!="function"||Bt.attributes!==lt(Bt)||typeof Bt.removeAttribute!="function"||typeof Bt.setAttribute!="function"||typeof Bt.namespaceURI!="string"||typeof Bt.insertBefore!="function"||typeof Bt.hasChildNodes!="function"||Bt.nodeType!==xt(Bt)||Bt.childNodes!==J(Bt)},"_isClobbered"),Ky=O(function(Bt){if(!xt||typeof Bt!="object"||Bt===null)return!1;try{return xt(Bt)===hb.documentFragment}catch{return!1}},"_isDocumentFragment"),U3=O(function(Bt){if(!xt||typeof Bt!="object"||Bt===null)return!1;try{return typeof xt(Bt)=="number"}catch{return!1}},"_isNode");function U1(or,Bt,Le){or.length!==0&&qB(or,jn=>{jn.call(c,Bt,Le,Hy)})}O(U1,"_executeHooks");const r$=O(function(Bt,Le){return!!(Bs&&Bt.hasChildNodes()&&!U3(Bt.firstElementChild)&&Sf(J2e,Bt.textContent)&&Sf(J2e,Bt.innerHTML)||Bs&&Bt.namespaceURI===ad&&Le==="style"&&U3(Bt.firstElementChild)||Bt.nodeType===hb.processingInstruction||Bs&&Bt.nodeType===hb.comment&&Sf(Q2e,Bt.data))},"_isUnsafeNode"),i$=O(function(Bt,Le){if(!dr[Le]&&dS(Le)&&(Qt.tagNameCheck instanceof RegExp&&Sf(Qt.tagNameCheck,Le)||Qt.tagNameCheck instanceof Function&&Qt.tagNameCheck(Le)))return!1;if(Bn&&!wn[Le]){const jn=X(Bt),Zr=J(Bt);if(Zr&&jn){const Ui=Zr.length;for(let ls=Ui-1;ls>=0;--ls){const Wa=rn?Zr[ls]:$(Zr[ls],!0);jn.insertBefore(Wa,U(Bt))}}}return rp(Bt),!0},"_sanitizeDisallowedNode"),fS=O(function(Bt,Le){if(U1($n.beforeSanitizeElements,Bt,null),Bt!==Le&&X(Bt)===null)return!0;if(ax(Bt))return rp(Bt),!0;const jn=_a(Mt?Mt(Bt):Bt.nodeName);if(U1($n.uponSanitizeElement,Bt,{tagName:jn,allowedTags:Xn}),Bt!==Le&&X(Bt)===null)return!0;if(r$(Bt,jn))return rp(Bt),!0;if(dr[jn]||!(Sc.tagCheck instanceof Function&&Sc.tagCheck(jn))&&!Xn[jn]){const Ui=i$(Bt,jn);return Ui===!1&&U1($n.afterSanitizeElements,Bt,null),Ui}if((xt?xt(Bt):Bt.nodeType)===hb.element&&!sx(Bt)||(jn==="noscript"||jn==="noembed"||jn==="noframes")&&Sf(iin,Bt.innerHTML))return rp(Bt),!0;if(La&&Bt.nodeType===hb.text){const Ui=cx(Bt.textContent);Bt.textContent!==Ui&&(HB(c.removed,{element:Bt.cloneNode()}),Bt.textContent=Ui)}return U1($n.afterSanitizeElements,Bt,null),!1},"_sanitizeElements"),NA=O(function(Bt,Le,jn){if(za[Le]||Bs&&Le==="patchsrc"||Bs&&Le==="for"&&Bt!=="label"&&Bt!=="output"||Nn&&(Le==="id"||Le==="name")&&(jn in d||jn in ZD))return!1;const Zr=Jr[Le]||Sc.attributeCheck instanceof Function&&Sc.attributeCheck(Le,Bt);if(!(Xd&&Sf(Br,Le))){if(!(Zg&&Sf(Ri,Le))){if(Zr){if(!ti[Le]){if(!Sf(sr,Jj(jn,Is,""))){if(!((Le==="src"||Le==="xlink:href"||Le==="href")&&Bt!=="script"&&K2e(jn,"data:")===0&&Ar[Bt])){if(!(z1&&!Sf(Oi,Jj(jn,Is,"")))){if(jn)return!1}}}}}else if(!(dS(Bt)&&(Qt.tagNameCheck instanceof RegExp&&Sf(Qt.tagNameCheck,Bt)||Qt.tagNameCheck instanceof Function&&Qt.tagNameCheck(Bt))&&(Qt.attributeNameCheck instanceof RegExp&&Sf(Qt.attributeNameCheck,Le)||Qt.attributeNameCheck instanceof Function&&Qt.attributeNameCheck(Le,Bt))||Le==="is"&&Qt.allowCustomizedBuiltInElements&&(Qt.tagNameCheck instanceof RegExp&&Sf(Qt.tagNameCheck,jn)||Qt.tagNameCheck instanceof Function&&Qt.tagNameCheck(jn))))return!1}}return!0},"_isValidAttribute"),s$=Zo({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),dS=O(function(Bt){return!s$[rD(Bt)]&&Sf(hi,Bt)},"_isBasicCustomElement"),o$=O(function(Bt,Le,jn,Zr){if(Vt&&typeof L=="object"&&typeof L.getAttributeType=="function"&&!jn)switch(L.getAttributeType(Bt,Le)){case"TrustedHTML":return kn(Zr);case"TrustedScriptURL":return Y(Zr)}return Zr},"_applyTrustedTypesToAttribute"),c$=O(function(Bt,Le,jn,Zr){try{jn?Bt.setAttributeNS(jn,Le,Zr):Bt.setAttribute(Le,Zr),ax(Bt)?rp(Bt):q2e(c.removed)}catch{pb(Le,Bt)}},"_setAttributeValue"),qA=O(function(Bt){U1($n.beforeSanitizeAttributes,Bt,null);const Le=Bt.attributes;if(!Le||ax(Bt))return;const jn={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Jr,forceKeepAttr:void 0};let Zr=Le.length;const Ui=_a(Bt.nodeName);for(;Zr--;){const ls=Le[Zr],Wa=ls.name,pu=ls.namespaceURI,G1=ls.value,Mf=_a(Wa),X1=G1;let Wh=Wa==="value"?X1:zrn(X1);if(jn.attrName=Mf,jn.attrValue=Wh,jn.keepAttr=!0,jn.forceKeepAttr=void 0,U1($n.uponSanitizeAttribute,Bt,jn),Wh=jn.attrValue,ut&&(Mf==="id"||Mf==="name")&&K2e(Wh,ve)!==0&&(pb(Wa,Bt),Wh=ve+Wh),Bs&&Sf(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Wh)){pb(Wa,Bt);continue}if(Mf==="attributename"&&H2e(Wh,"href")){pb(Wa,Bt);continue}if(!jn.forceKeepAttr){if(!jn.keepAttr){pb(Wa,Bt);continue}if(!t0&&Sf(sin,Wh)){pb(Wa,Bt);continue}if(La&&(Wh=cx(Wh)),!NA(Ui,Mf,Wh)){pb(Wa,Bt);continue}Wh=o$(Ui,Mf,pu,Wh),Wh!==X1&&c$(Bt,Wa,pu,Wh)}}U1($n.afterSanitizeAttributes,Bt,null)},"_sanitizeAttributes"),lx=O(function(Bt){let Le=null;const jn=RA(Bt);for(U1($n.beforeSanitizeShadowDOM,Bt,null);Le=jn.nextNode();)if(U1($n.uponSanitizeShadowNode,Le,null),fS(Le,Bt),qA(Le),Ky(Le.content)&&lx(Le.content),(xt?xt(Le):Le.nodeType)===hb.element){const Ui=rt(Le);Ky(Ui)&&(gS(Ui),lx(Ui))}U1($n.afterSanitizeShadowDOM,Bt,null)},"_sanitizeShadowDOM"),gS=O(function(Bt){const Le=[{node:Bt,shadow:null}];for(;Le.length>0;){const jn=Le.pop();if(jn.shadow){lx(jn.shadow);continue}const Zr=jn.node,ls=(xt?xt(Zr):Zr.nodeType)===hb.element,Wa=J(Zr);if(Wa)for(let pu=Wa.length-1;pu>=0;--pu)Le.push({node:Wa[pu],shadow:null});if(ls){const pu=Mt?Mt(Zr):null;if(typeof pu=="string"&&_a(pu)==="template"){const G1=Zr.content;Ky(G1)&&Le.push({node:G1,shadow:null})}}if(ls){const pu=rt(Zr);Ky(pu)&&Le.push({node:null,shadow:pu},{node:pu,shadow:null})}}},"_sanitizeAttachedShadowRoots");return c.sanitize=function(or){let Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Le=null,jn=null,Zr=null,Ui=null;if(wb=!or,wb&&(or="<!-->"),typeof or!="string"&&!U3(or)&&(or=fve(or),typeof or!="string"))throw l8("dirty is not a string, aborting");if(!c.isSupported)return or;Vl?(Xn=W1,Jr=H):cS(Bt),($n.uponSanitizeElement.length>0||$n.uponSanitizeAttribute.length>0)&&(Xn=zd(Xn)),$n.uponSanitizeAttribute.length>0&&(Jr=zd(Jr)),c.removed=[];const ls=rn&&typeof or!="string"&&U3(or);if(ls){n$(or);const Mf=Mt?Mt(or):or.nodeName;if(typeof Mf=="string"){const X1=_a(Mf);if(!Xn[X1]||dr[X1])throw ox(or),l8("root node is forbidden and cannot be sanitized in-place")}if(ax(or))throw ox(or),l8("root node is clobbered and cannot be sanitized in-place");try{gS(or)}catch(X1){throw ox(or),X1}}else if(U3(or))Le=W3("<!---->"),jn=Le.ownerDocument.importNode(or,!0),jn.nodeType===hb.element&&jn.nodeName==="BODY"||jn.nodeName==="HTML"?Le=jn:Le.appendChild(jn),gS(jn);else{if(!Je&&!La&&!Fa&&or.indexOf("<")===-1)return Vt&&He?kn(or):or;if(Le=W3(or),!Le)return Je?null:He?Gt:""}Le&&fe&&rp(Le.firstChild);const Wa=ls?or:Le,pu=RA(Wa);try{for(;Zr=pu.nextNode();)fS(Zr,Wa),qA(Zr),Ky(Zr.content)&&lx(Zr.content)}catch(Mf){throw ls&&(ox(or),qB(c.removed,X1=>{X1.element&&uS(X1.element)})),Mf}if(ls)return qB(c.removed,Mf=>{Mf.element&&uS(Mf.element)}),La&&hS(or),or;if(Je){if(La&&hS(Le),cn)for(Ui=de.call(Le.ownerDocument);Le.firstChild;)Ui.appendChild(Le.firstChild);else Ui=Le;return(Jr.shadowroot||Jr.shadowrootmode)&&(Ui=on.call(w,Ui,!0)),Ui}let G1=Fa?Le.outerHTML:Le.innerHTML;return Fa&&Xn["!doctype"]&&Le.ownerDocument&&Le.ownerDocument.doctype&&Le.ownerDocument.doctype.name&&Sf(nin,Le.ownerDocument.doctype.name)&&(G1="<!DOCTYPE "+Le.ownerDocument.doctype.name+`>
|
|
4
|
-
`+G1),La&&(G1=cx(G1)),Vt&&He?kn(G1):G1},c.setConfig=function(){let or=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};cS(or),Vl=!0,W1=Xn,H=Jr},c.clearConfig=function(){Hy=null,Vl=!1,W1=null,H=null,Vt=be,Gt=""},c.isValidAttribute=function(or,Bt,Le){Hy||cS({});const jn=_a(or),Zr=_a(Bt);return NA(jn,Zr,Le)},c.addHook=function(or,Bt){typeof Bt=="function"&&Bf($n,or)&&HB($n[or],Bt)},c.removeHook=function(or,Bt){if(Bf($n,or)){if(Bt!==void 0){const Le=Hrn($n[or],Bt);return Le===-1?void 0:Krn($n[or],Le,1)[0]}return q2e($n[or])}},c.removeHooks=function(or){Bf($n,or)&&($n[or]=[])},c.removeAllHooks=function(){$n=Z2e()},c}O(_kt,"createDOMPurify");var kA=_kt(),H3t=q((h,c,{depth:d=2}={})=>{const w={depth:d};if(Array.isArray(c)&&!Array.isArray(h))return c.forEach(m=>H3t(h,m,w)),h;if(Array.isArray(c)&&Array.isArray(h))return c.forEach(m=>{h.includes(m)||h.push(m)}),h;if(h==null||d<=0)return h!=null&&typeof h=="object"&&typeof c=="object"?Object.assign(h,c):c;if(c!=null&&typeof h=="object"&&typeof c=="object"){const m=h;Object.entries(c).forEach(([k,p])=>{if(typeof p=="object"){if(p===null)return;Object.hasOwn(h,k)||Object.defineProperty(h,k,{value:void 0,writable:!0,enumerable:!0,configurable:!0}),m[k]===void 0&&(m[k]=Array.isArray(p)?[]:{}),typeof m[k]=="object"&&(m[k]=H3t(m[k],p,{depth:d-1}))}else typeof m[k]!="object"&&(Object.hasOwn(h,k)?m[k]=p:Object.defineProperty(h,k,{value:p,writable:!0,enumerable:!0,configurable:!0}))})}return h},"assignWithDepth"),Af=H3t,Ry="#ffffff",Ny="#f2f2f2",as=q((h,c)=>c?ot(h,{s:-40,l:10}):ot(h,{s:-40,l:-10}),"mkBorder"),k8,ain=(k8=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.useGradient=!0,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))"}updateColors(){var d,w,m,k,p,T,E,B,A,L,I,$,P,U,J,X,rt,lt,xt,Mt,Vt,Gt,be,Ze,Fe,Me,kn,Y,ce,oe,Ot,we,de,Pe,on,$n,xr,_r,Yr,Br,Ri,Oi,Is,hi,sr,Xn,Ii,Jr,$o,Qt;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||ot(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ot(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||as(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||as(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||as(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||he(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||he(this.tertiaryColor),this.lineColor=this.lineColor||he(this.background),this.arrowheadColor=this.arrowheadColor||he(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||We(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||he(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||"navy",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.darkMode?(this.rowOdd=this.rowOdd||We(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||We(this.mainBkg,10)):(this.rowOdd=this.rowOdd||ze(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||ze(this.mainBkg,5)),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ot(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ot(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ot(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ot(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ot(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ot(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||ot(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ot(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ot(this.primaryColor,{h:330}),this.darkMode)for(let dr=0;dr<this.THEME_COLOR_LIMIT;dr++)this["cScale"+dr]=We(this["cScale"+dr],75);else for(let dr=0;dr<this.THEME_COLOR_LIMIT;dr++)this["cScale"+dr]=We(this["cScale"+dr],25);for(let dr=0;dr<this.THEME_COLOR_LIMIT;dr++)this["cScaleInv"+dr]=this["cScaleInv"+dr]||he(this["cScale"+dr]);for(let dr=0;dr<this.THEME_COLOR_LIMIT;dr++)this.darkMode?this["cScalePeer"+dr]=this["cScalePeer"+dr]||ze(this["cScale"+dr],10):this["cScalePeer"+dr]=this["cScalePeer"+dr]||We(this["cScale"+dr],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let dr=0;dr<this.THEME_COLOR_LIMIT;dr++)this["cScaleLabel"+dr]=this["cScaleLabel"+dr]||this.scaleLabelColor;const c=this.darkMode?-4:-1;for(let dr=0;dr<5;dr++)this["surface"+dr]=this["surface"+dr]||ot(this.mainBkg,{h:180,s:-15,l:c*(5+dr*3)}),this["surfacePeer"+dr]=this["surfacePeer"+dr]||ot(this.mainBkg,{h:180,s:-15,l:c*(8+dr*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||ot(this.primaryColor,{h:64}),this.fillType3=this.fillType3||ot(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||ot(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||ot(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||ot(this.primaryColor,{h:128}),this.fillType7=this.fillType7||ot(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||ot(this.primaryColor,{l:-10}),this.pie5=this.pie5||ot(this.secondaryColor,{l:-10}),this.pie6=this.pie6||ot(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||ot(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||ot(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||ot(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||ot(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||ot(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||ot(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.venn1=this.venn1??ot(this.primaryColor,{l:-30}),this.venn2=this.venn2??ot(this.secondaryColor,{l:-30}),this.venn3=this.venn3??ot(this.tertiaryColor,{l:-30}),this.venn4=this.venn4??ot(this.primaryColor,{h:60,l:-30}),this.venn5=this.venn5??ot(this.primaryColor,{h:-60,l:-30}),this.venn6=this.venn6??ot(this.secondaryColor,{h:60,l:-30}),this.venn7=this.venn7??ot(this.primaryColor,{h:120,l:-30}),this.venn8=this.venn8??ot(this.secondaryColor,{h:120,l:-30}),this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.cynefin={domainFontSize:((d=this.cynefin)==null?void 0:d.domainFontSize)||16,itemFontSize:((w=this.cynefin)==null?void 0:w.itemFontSize)||12,boundaryColor:((m=this.cynefin)==null?void 0:m.boundaryColor)||this.lineColor,boundaryWidth:((k=this.cynefin)==null?void 0:k.boundaryWidth)||2,cliffColor:((p=this.cynefin)==null?void 0:p.cliffColor)||"#8B0000",cliffWidth:((T=this.cynefin)==null?void 0:T.cliffWidth)||4,arrowColor:((E=this.cynefin)==null?void 0:E.arrowColor)||this.lineColor,arrowWidth:((B=this.cynefin)==null?void 0:B.arrowWidth)||2,complexBg:((A=this.cynefin)==null?void 0:A.complexBg)||"#E8F5E9",complicatedBg:((L=this.cynefin)==null?void 0:L.complicatedBg)||"#E3F2FD",chaoticBg:((I=this.cynefin)==null?void 0:I.chaoticBg)||"#FBE9E7",clearBg:(($=this.cynefin)==null?void 0:$.clearBg)||"#FFF8E1",confusionBg:((P=this.cynefin)==null?void 0:P.confusionBg)||"#F3E5F5",textColor:((U=this.cynefin)==null?void 0:U.textColor)||this.textColor,labelColor:((J=this.cynefin)==null?void 0:J.labelColor)||this.primaryTextColor},this.radar={axisColor:((X=this.radar)==null?void 0:X.axisColor)||this.lineColor,axisStrokeWidth:((rt=this.radar)==null?void 0:rt.axisStrokeWidth)||2,axisLabelFontSize:((lt=this.radar)==null?void 0:lt.axisLabelFontSize)||12,curveOpacity:((xt=this.radar)==null?void 0:xt.curveOpacity)||.5,curveStrokeWidth:((Mt=this.radar)==null?void 0:Mt.curveStrokeWidth)||2,graticuleColor:((Vt=this.radar)==null?void 0:Vt.graticuleColor)||"#DEDEDE",graticuleStrokeWidth:((Gt=this.radar)==null?void 0:Gt.graticuleStrokeWidth)||1,graticuleOpacity:((be=this.radar)==null?void 0:be.graticuleOpacity)||.3,legendBoxSize:((Ze=this.radar)==null?void 0:Ze.legendBoxSize)||12,legendFontSize:((Fe=this.radar)==null?void 0:Fe.legendFontSize)||12},this.wardleyEvolutionColor=this.wardleyEvolutionColor||"#dc3545",this.wardley={backgroundColor:((Me=this.wardley)==null?void 0:Me.backgroundColor)||this.background,axisColor:((kn=this.wardley)==null?void 0:kn.axisColor)||this.lineColor,axisTextColor:((Y=this.wardley)==null?void 0:Y.axisTextColor)||this.primaryTextColor,gridColor:((ce=this.wardley)==null?void 0:ce.gridColor)||this.gridColor,componentFill:((oe=this.wardley)==null?void 0:oe.componentFill)||this.background,componentStroke:((Ot=this.wardley)==null?void 0:Ot.componentStroke)||this.lineColor,componentLabelColor:((we=this.wardley)==null?void 0:we.componentLabelColor)||this.primaryTextColor,linkStroke:((de=this.wardley)==null?void 0:de.linkStroke)||this.lineColor,evolutionStroke:((Pe=this.wardley)==null?void 0:Pe.evolutionStroke)||this.wardleyEvolutionColor,annotationStroke:((on=this.wardley)==null?void 0:on.annotationStroke)||this.lineColor,annotationTextColor:(($n=this.wardley)==null?void 0:$n.annotationTextColor)||this.primaryTextColor,annotationFill:((xr=this.wardley)==null?void 0:xr.annotationFill)||this.background},this.archEdgeColor=this.archEdgeColor||"#777",this.archEdgeArrowColor=this.archEdgeArrowColor||"#777",this.archEdgeWidth=this.archEdgeWidth||"3",this.archGroupBorderColor=this.archGroupBorderColor||"#000",this.archGroupBorderWidth=this.archGroupBorderWidth||"2px",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((_r=this.xyChart)==null?void 0:_r.backgroundColor)||this.background,titleColor:((Yr=this.xyChart)==null?void 0:Yr.titleColor)||this.primaryTextColor,dataLabelColor:((Br=this.xyChart)==null?void 0:Br.dataLabelColor)||this.primaryTextColor,legendTextColor:((Ri=this.xyChart)==null?void 0:Ri.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((Oi=this.xyChart)==null?void 0:Oi.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((Is=this.xyChart)==null?void 0:Is.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((hi=this.xyChart)==null?void 0:hi.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((sr=this.xyChart)==null?void 0:sr.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((Xn=this.xyChart)==null?void 0:Xn.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((Ii=this.xyChart)==null?void 0:Ii.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((Jr=this.xyChart)==null?void 0:Jr.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:(($o=this.xyChart)==null?void 0:$o.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((Qt=this.xyChart)==null?void 0:Qt.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||ot(this.primaryColor,{h:-30}),this.git4=this.git4||ot(this.primaryColor,{h:-60}),this.git5=this.git5||ot(this.primaryColor,{h:-90}),this.git6=this.git6||ot(this.primaryColor,{h:60}),this.git7=this.git7||ot(this.primaryColor,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.emUiFill=this.emUiFill||"white",this.emUiStroke=this.emUiStroke||"#dbdada",this.emProcessorFill=this.emProcessorFill||"#edb3f6",this.emProcessorStroke=this.emProcessorStroke||"#b88cbf",this.emReadModelFill=this.emReadModelFill||"#d3f1a2",this.emReadModelStroke=this.emReadModelStroke||"#a3b732",this.emCommandFill=this.emCommandFill||"#bcd6fe",this.emCommandStroke=this.emCommandStroke||"#679ac3",this.emEventFill=this.emEventFill||"#ffb778",this.emEventStroke=this.emEventStroke||"#c19a0f",this.emSwimlaneBackgroundOdd=this.emSwimlaneBackgroundOdd||"rgb(250,250,250)",this.emSwimlaneBackgroundStroke=this.emSwimlaneBackgroundStroke||"rgb(240,240,240)",this.emArrowhead=this.emArrowhead||this.lineColor,this.emRelationStroke=this.emRelationStroke||this.lineColor,this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(k8,"Theme"),q(k8,"Theme"),k8),lin=q(h=>{const c=new ain;return c.calculate(h),c},"getThemeVariables"),C8,uin=(C8=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ze(this.primaryColor,16),this.tertiaryColor=ot(this.primaryColor,{h:-160}),this.primaryBorderColor=he(this.background),this.secondaryBorderColor=as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=as(this.tertiaryColor,this.darkMode),this.primaryTextColor=he(this.primaryColor),this.secondaryTextColor=he(this.secondaryColor),this.tertiaryTextColor=he(this.tertiaryColor),this.lineColor=he(this.background),this.textColor=he(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ze(he("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=Q4(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.clusterBkg="#302F3D",this.sectionBkgColor=We("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=We(this.sectionBkgColor,10),this.taskBorderColor=Q4(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=Q4(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||ze(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||We(this.mainBkg,10),this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))",this.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal"}updateColors(){var c,d,w,m,k,p,T,E,B,A,L,I,$,P,U,J,X,rt,lt,xt,Mt,Vt,Gt,be,Ze,Fe,Me,kn,Y,ce,oe,Ot,we,de,Pe,on,$n,xr,_r,Yr,Br,Ri,Oi,Is,hi,sr,Xn,Ii,Jr,$o;this.secondBkg=ze(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=ze(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.background,this.taskBkgColor=ze(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=he(this.doneTaskBkgColor),this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=ot(this.primaryColor,{h:64}),this.fillType3=ot(this.secondaryColor,{h:64}),this.fillType4=ot(this.primaryColor,{h:-64}),this.fillType5=ot(this.secondaryColor,{h:-64}),this.fillType6=ot(this.primaryColor,{h:128}),this.fillType7=ot(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ot(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ot(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ot(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ot(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ot(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ot(this.primaryColor,{h:210}),this.cScale9=this.cScale9||ot(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ot(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ot(this.primaryColor,{h:330});for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleInv"+Qt]=this["cScaleInv"+Qt]||he(this["cScale"+Qt]);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScalePeer"+Qt]=this["cScalePeer"+Qt]||ze(this["cScale"+Qt],10);for(let Qt=0;Qt<5;Qt++)this["surface"+Qt]=this["surface"+Qt]||ot(this.mainBkg,{h:30,s:-30,l:-(-10+Qt*4)}),this["surfacePeer"+Qt]=this["surfacePeer"+Qt]||ot(this.mainBkg,{h:30,s:-30,l:-(-7+Qt*4)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleLabel"+Qt]=this["cScaleLabel"+Qt]||this.scaleLabelColor;for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["pie"+Qt]=this["cScale"+Qt];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.mainContrastColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.mainContrastColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7";for(let Qt=0;Qt<8;Qt++)this["venn"+(Qt+1)]=this["venn"+(Qt+1)]??ze(this["cScale"+Qt],30);this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.cynefin={domainFontSize:((c=this.cynefin)==null?void 0:c.domainFontSize)||16,itemFontSize:((d=this.cynefin)==null?void 0:d.itemFontSize)||12,boundaryColor:((w=this.cynefin)==null?void 0:w.boundaryColor)||this.lineColor,boundaryWidth:((m=this.cynefin)==null?void 0:m.boundaryWidth)||2,cliffColor:((k=this.cynefin)==null?void 0:k.cliffColor)||"#FF6B6B",cliffWidth:((p=this.cynefin)==null?void 0:p.cliffWidth)||4,arrowColor:((T=this.cynefin)==null?void 0:T.arrowColor)||this.lineColor,arrowWidth:((E=this.cynefin)==null?void 0:E.arrowWidth)||2,complexBg:((B=this.cynefin)==null?void 0:B.complexBg)||"#1B5E20",complicatedBg:((A=this.cynefin)==null?void 0:A.complicatedBg)||"#0D47A1",chaoticBg:((L=this.cynefin)==null?void 0:L.chaoticBg)||"#BF360C",clearBg:((I=this.cynefin)==null?void 0:I.clearBg)||"#F57F17",confusionBg:(($=this.cynefin)==null?void 0:$.confusionBg)||"#4A148C",textColor:((P=this.cynefin)==null?void 0:P.textColor)||this.textColor,labelColor:((U=this.cynefin)==null?void 0:U.labelColor)||this.primaryTextColor},this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((J=this.xyChart)==null?void 0:J.backgroundColor)||this.background,titleColor:((X=this.xyChart)==null?void 0:X.titleColor)||this.primaryTextColor,dataLabelColor:((rt=this.xyChart)==null?void 0:rt.dataLabelColor)||this.primaryTextColor,legendTextColor:((lt=this.xyChart)==null?void 0:lt.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((xt=this.xyChart)==null?void 0:xt.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((Mt=this.xyChart)==null?void 0:Mt.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((Vt=this.xyChart)==null?void 0:Vt.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((Gt=this.xyChart)==null?void 0:Gt.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((be=this.xyChart)==null?void 0:be.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((Ze=this.xyChart)==null?void 0:Ze.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((Fe=this.xyChart)==null?void 0:Fe.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((Me=this.xyChart)==null?void 0:Me.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((kn=this.xyChart)==null?void 0:kn.plotColorPalette)||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.background},this.radar={axisColor:((Y=this.radar)==null?void 0:Y.axisColor)||this.lineColor,axisStrokeWidth:((ce=this.radar)==null?void 0:ce.axisStrokeWidth)||2,axisLabelFontSize:((oe=this.radar)==null?void 0:oe.axisLabelFontSize)||12,curveOpacity:((Ot=this.radar)==null?void 0:Ot.curveOpacity)||.5,curveStrokeWidth:((we=this.radar)==null?void 0:we.curveStrokeWidth)||2,graticuleColor:((de=this.radar)==null?void 0:de.graticuleColor)||"#DEDEDE",graticuleStrokeWidth:((Pe=this.radar)==null?void 0:Pe.graticuleStrokeWidth)||1,graticuleOpacity:((on=this.radar)==null?void 0:on.graticuleOpacity)||.3,legendBoxSize:(($n=this.radar)==null?void 0:$n.legendBoxSize)||12,legendFontSize:((xr=this.radar)==null?void 0:xr.legendFontSize)||12},this.wardleyEvolutionColor=this.wardleyEvolutionColor||"#ff6b6b",this.wardley={backgroundColor:((_r=this.wardley)==null?void 0:_r.backgroundColor)||this.background,axisColor:((Yr=this.wardley)==null?void 0:Yr.axisColor)||this.lineColor,axisTextColor:((Br=this.wardley)==null?void 0:Br.axisTextColor)||this.primaryTextColor,gridColor:((Ri=this.wardley)==null?void 0:Ri.gridColor)||this.gridColor,componentFill:((Oi=this.wardley)==null?void 0:Oi.componentFill)||this.mainBkg,componentStroke:((Is=this.wardley)==null?void 0:Is.componentStroke)||this.lineColor,componentLabelColor:((hi=this.wardley)==null?void 0:hi.componentLabelColor)||this.primaryTextColor,linkStroke:((sr=this.wardley)==null?void 0:sr.linkStroke)||this.lineColor,evolutionStroke:((Xn=this.wardley)==null?void 0:Xn.evolutionStroke)||this.wardleyEvolutionColor,annotationStroke:((Ii=this.wardley)==null?void 0:Ii.annotationStroke)||this.lineColor,annotationTextColor:((Jr=this.wardley)==null?void 0:Jr.annotationTextColor)||this.primaryTextColor,annotationFill:(($o=this.wardley)==null?void 0:$o.annotationFill)||this.mainBkg},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=ze(this.secondaryColor,20),this.git1=ze(this.pie2||this.secondaryColor,20),this.git2=ze(this.pie3||this.tertiaryColor,20),this.git3=ze(this.pie4||ot(this.primaryColor,{h:-30}),20),this.git4=ze(this.pie5||ot(this.primaryColor,{h:-60}),20),this.git5=ze(this.pie6||ot(this.primaryColor,{h:-90}),10),this.git6=ze(this.pie7||ot(this.primaryColor,{h:60}),10),this.git7=ze(this.pie8||ot(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||he(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||he(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.emUiFill=this.emUiFill||"#2d2d2d",this.emUiStroke=this.emUiStroke||"#555",this.emProcessorFill=this.emProcessorFill||ze("#5a3d5c",10),this.emProcessorStroke=this.emProcessorStroke||"#8a6d8c",this.emReadModelFill=this.emReadModelFill||ze("#3d5a2d",10),this.emReadModelStroke=this.emReadModelStroke||"#6d8c5c",this.emCommandFill=this.emCommandFill||ze("#2d3d5a",10),this.emCommandStroke=this.emCommandStroke||"#5c6d8c",this.emEventFill=this.emEventFill||ze("#5a452d",10),this.emEventStroke=this.emEventStroke||"#8c755c",this.emSwimlaneBackgroundOdd=this.emSwimlaneBackgroundOdd||ze(this.background,5),this.emSwimlaneBackgroundStroke=this.emSwimlaneBackgroundStroke||ze(this.background,12),this.emArrowhead=this.emArrowhead||this.lineColor,this.emRelationStroke=this.emRelationStroke||this.lineColor,this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||ze(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ze(this.background,2),this.nodeBorder=this.nodeBorder||"#999"}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(C8,"Theme2"),q(C8,"Theme"),C8),hin=q(h=>{const c=new uin;return c.calculate(h),c},"getThemeVariables"),x8,fin=(x8=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=ot(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=ot(this.primaryColor,{h:-160}),this.primaryBorderColor=as(this.primaryColor,this.darkMode),this.secondaryBorderColor=as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=as(this.tertiaryColor,this.darkMode),this.primaryTextColor=he(this.primaryColor),this.secondaryTextColor=he(this.secondaryColor),this.tertiaryTextColor=he(this.tertiaryColor),this.lineColor=he(this.background),this.textColor=he(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.primaryBorderColor=as(this.primaryColor,this.darkMode),this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.clusterBkg="#FBFBFF",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.sectionBkgColor=Q4(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="navy",this.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd="calculated",this.rowEven="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!1,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow(1px 2px 2px rgba(185, 185, 185, 1))",this.updateColors()}updateColors(){var c,d,w,m,k,p,T,E,B,A,L,I,$,P,U,J,X,rt,lt,xt,Mt,Vt,Gt,be,Ze,Fe,Me,kn,Y,ce,oe,Ot,we,de,Pe,on,$n,xr,_r,Yr,Br,Ri,Oi,Is,hi,sr,Xn,Ii,Jr,$o;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ot(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ot(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ot(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ot(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ot(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ot(this.primaryColor,{h:210}),this.cScale9=this.cScale9||ot(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ot(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ot(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||We(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||We(this.tertiaryColor,40);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScale"+Qt]=We(this["cScale"+Qt],10),this["cScalePeer"+Qt]=this["cScalePeer"+Qt]||We(this["cScale"+Qt],25);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleInv"+Qt]=this["cScaleInv"+Qt]||ot(this["cScale"+Qt],{h:180});for(let Qt=0;Qt<5;Qt++)this["surface"+Qt]=this["surface"+Qt]||ot(this.mainBkg,{h:30,l:-(5+Qt*5)}),this["surfacePeer"+Qt]=this["surfacePeer"+Qt]||ot(this.mainBkg,{h:30,l:-(7+Qt*5)});if(this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,this.labelTextColor!=="calculated"){this.cScaleLabel0=this.cScaleLabel0||he(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||he(this.labelTextColor);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleLabel"+Qt]=this["cScaleLabel"+Qt]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||ze(this.primaryColor,75)||"#ffffff",this.rowEven=this.rowEven||ze(this.primaryColor,1),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=ot(this.primaryColor,{h:64}),this.fillType3=ot(this.secondaryColor,{h:64}),this.fillType4=ot(this.primaryColor,{h:-64}),this.fillType5=ot(this.secondaryColor,{h:-64}),this.fillType6=ot(this.primaryColor,{h:128}),this.fillType7=ot(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||ot(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||ot(this.primaryColor,{l:-10}),this.pie5=this.pie5||ot(this.secondaryColor,{l:-30}),this.pie6=this.pie6||ot(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||ot(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||ot(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||ot(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||ot(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||ot(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||ot(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.venn1=this.venn1??ot(this.primaryColor,{l:-30}),this.venn2=this.venn2??ot(this.secondaryColor,{l:-30}),this.venn3=this.venn3??ot(this.tertiaryColor,{l:-40}),this.venn4=this.venn4??ot(this.primaryColor,{h:60,l:-30}),this.venn5=this.venn5??ot(this.primaryColor,{h:-60,l:-30}),this.venn6=this.venn6??ot(this.secondaryColor,{h:60,l:-30}),this.venn7=this.venn7??ot(this.primaryColor,{h:120,l:-30}),this.venn8=this.venn8??ot(this.secondaryColor,{h:120,l:-30}),this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.cynefin={domainFontSize:((c=this.cynefin)==null?void 0:c.domainFontSize)||16,itemFontSize:((d=this.cynefin)==null?void 0:d.itemFontSize)||12,boundaryColor:((w=this.cynefin)==null?void 0:w.boundaryColor)||this.lineColor,boundaryWidth:((m=this.cynefin)==null?void 0:m.boundaryWidth)||2,cliffColor:((k=this.cynefin)==null?void 0:k.cliffColor)||"#8B0000",cliffWidth:((p=this.cynefin)==null?void 0:p.cliffWidth)||4,arrowColor:((T=this.cynefin)==null?void 0:T.arrowColor)||this.lineColor,arrowWidth:((E=this.cynefin)==null?void 0:E.arrowWidth)||2,complexBg:((B=this.cynefin)==null?void 0:B.complexBg)||"#E8F5E9",complicatedBg:((A=this.cynefin)==null?void 0:A.complicatedBg)||"#E3F2FD",chaoticBg:((L=this.cynefin)==null?void 0:L.chaoticBg)||"#FBE9E7",clearBg:((I=this.cynefin)==null?void 0:I.clearBg)||"#FFF8E1",confusionBg:(($=this.cynefin)==null?void 0:$.confusionBg)||"#F3E5F5",textColor:((P=this.cynefin)==null?void 0:P.textColor)||this.textColor,labelColor:((U=this.cynefin)==null?void 0:U.labelColor)||this.primaryTextColor},this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.radar={axisColor:((J=this.radar)==null?void 0:J.axisColor)||this.lineColor,axisStrokeWidth:((X=this.radar)==null?void 0:X.axisStrokeWidth)||2,axisLabelFontSize:((rt=this.radar)==null?void 0:rt.axisLabelFontSize)||12,curveOpacity:((lt=this.radar)==null?void 0:lt.curveOpacity)||.5,curveStrokeWidth:((xt=this.radar)==null?void 0:xt.curveStrokeWidth)||2,graticuleColor:((Mt=this.radar)==null?void 0:Mt.graticuleColor)||"#DEDEDE",graticuleStrokeWidth:((Vt=this.radar)==null?void 0:Vt.graticuleStrokeWidth)||1,graticuleOpacity:((Gt=this.radar)==null?void 0:Gt.graticuleOpacity)||.3,legendBoxSize:((be=this.radar)==null?void 0:be.legendBoxSize)||12,legendFontSize:((Ze=this.radar)==null?void 0:Ze.legendFontSize)||12},this.wardleyEvolutionColor=this.wardleyEvolutionColor||"#dc3545",this.wardley={backgroundColor:((Fe=this.wardley)==null?void 0:Fe.backgroundColor)||this.background,axisColor:((Me=this.wardley)==null?void 0:Me.axisColor)||this.lineColor,axisTextColor:((kn=this.wardley)==null?void 0:kn.axisTextColor)||this.primaryTextColor,gridColor:((Y=this.wardley)==null?void 0:Y.gridColor)||this.gridColor,componentFill:((ce=this.wardley)==null?void 0:ce.componentFill)||this.background,componentStroke:((oe=this.wardley)==null?void 0:oe.componentStroke)||this.lineColor,componentLabelColor:((Ot=this.wardley)==null?void 0:Ot.componentLabelColor)||this.primaryTextColor,linkStroke:((we=this.wardley)==null?void 0:we.linkStroke)||this.lineColor,evolutionStroke:((de=this.wardley)==null?void 0:de.evolutionStroke)||this.wardleyEvolutionColor,annotationStroke:((Pe=this.wardley)==null?void 0:Pe.annotationStroke)||this.lineColor,annotationTextColor:((on=this.wardley)==null?void 0:on.annotationTextColor)||this.primaryTextColor,annotationFill:(($n=this.wardley)==null?void 0:$n.annotationFill)||this.background},this.xyChart={backgroundColor:((xr=this.xyChart)==null?void 0:xr.backgroundColor)||this.background,titleColor:((_r=this.xyChart)==null?void 0:_r.titleColor)||this.primaryTextColor,dataLabelColor:((Yr=this.xyChart)==null?void 0:Yr.dataLabelColor)||this.primaryTextColor,legendTextColor:((Br=this.xyChart)==null?void 0:Br.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((Ri=this.xyChart)==null?void 0:Ri.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((Oi=this.xyChart)==null?void 0:Oi.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((Is=this.xyChart)==null?void 0:Is.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((hi=this.xyChart)==null?void 0:hi.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((sr=this.xyChart)==null?void 0:sr.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((Xn=this.xyChart)==null?void 0:Xn.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((Ii=this.xyChart)==null?void 0:Ii.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((Jr=this.xyChart)==null?void 0:Jr.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(($o=this.xyChart)==null?void 0:$o.plotColorPalette)||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||ot(this.primaryColor,{h:-30}),this.git4=this.git4||ot(this.primaryColor,{h:-60}),this.git5=this.git5||ot(this.primaryColor,{h:-90}),this.git6=this.git6||ot(this.primaryColor,{h:60}),this.git7=this.git7||ot(this.primaryColor,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||We(he(this.git0),25),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||he(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||he(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.emUiFill=this.emUiFill||"white",this.emUiStroke=this.emUiStroke||"#dbdada",this.emProcessorFill=this.emProcessorFill||"#edb3f6",this.emProcessorStroke=this.emProcessorStroke||"#b88cbf",this.emReadModelFill=this.emReadModelFill||"#d3f1a2",this.emReadModelStroke=this.emReadModelStroke||"#a3b732",this.emCommandFill=this.emCommandFill||"#bcd6fe",this.emCommandStroke=this.emCommandStroke||"#679ac3",this.emEventFill=this.emEventFill||"#ffb778",this.emEventStroke=this.emEventStroke||"#c19a0f",this.emSwimlaneBackgroundOdd=this.emSwimlaneBackgroundOdd||"rgb(250,250,250)",this.emSwimlaneBackgroundStroke=this.emSwimlaneBackgroundStroke||"rgb(240,240,240)",this.emArrowhead=this.emArrowhead||this.lineColor,this.emRelationStroke=this.emRelationStroke||this.lineColor,this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(Object.keys(this).forEach(w=>{this[w]==="calculated"&&(this[w]=void 0)}),typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(x8,"Theme3"),q(x8,"Theme"),x8),din=q(h=>{const c=new fin;return c.calculate(h),c},"getThemeVariables"),T8,gin=(T8=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=ze("#cde498",10),this.primaryBorderColor=as(this.primaryColor,this.darkMode),this.secondaryBorderColor=as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=as(this.tertiaryColor,this.darkMode),this.primaryTextColor=he(this.primaryColor),this.secondaryTextColor=he(this.secondaryColor),this.tertiaryTextColor=he(this.primaryColor),this.lineColor=he(this.background),this.textColor=he(this.background),this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,0.5))"}updateColors(){var c,d,w,m,k,p,T,E,B,A,L,I,$,P,U,J,X,rt,lt,xt,Mt,Vt,Gt,be,Ze,Fe,Me,kn,Y,ce,oe,Ot,we,de,Pe,on,$n,xr,_r,Yr,Br,Ri,Oi,Is,hi,sr,Xn,Ii,Jr,$o;this.actorBorder=We(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ot(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ot(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ot(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ot(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ot(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ot(this.primaryColor,{h:210}),this.cScale9=this.cScale9||ot(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ot(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ot(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||We(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||We(this.tertiaryColor,40);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScale"+Qt]=We(this["cScale"+Qt],10),this["cScalePeer"+Qt]=this["cScalePeer"+Qt]||We(this["cScale"+Qt],25);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleInv"+Qt]=this["cScaleInv"+Qt]||ot(this["cScale"+Qt],{h:180});this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleLabel"+Qt]=this["cScaleLabel"+Qt]||this.scaleLabelColor;for(let Qt=0;Qt<5;Qt++)this["surface"+Qt]=this["surface"+Qt]||ot(this.mainBkg,{h:30,s:-30,l:-(5+Qt*5)}),this["surfacePeer"+Qt]=this["surfacePeer"+Qt]||ot(this.mainBkg,{h:30,s:-30,l:-(8+Qt*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||ze(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||ze(this.mainBkg,20),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=ot(this.primaryColor,{h:64}),this.fillType3=ot(this.secondaryColor,{h:64}),this.fillType4=ot(this.primaryColor,{h:-64}),this.fillType5=ot(this.secondaryColor,{h:-64}),this.fillType6=ot(this.primaryColor,{h:128}),this.fillType7=ot(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||ot(this.primaryColor,{l:-30}),this.pie5=this.pie5||ot(this.secondaryColor,{l:-30}),this.pie6=this.pie6||ot(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||ot(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||ot(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||ot(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||ot(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||ot(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||ot(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.venn1=this.venn1??ot(this.primaryColor,{l:-30}),this.venn2=this.venn2??ot(this.secondaryColor,{l:-30}),this.venn3=this.venn3??ot(this.tertiaryColor,{l:-30}),this.venn4=this.venn4??ot(this.primaryColor,{h:60,l:-30}),this.venn5=this.venn5??ot(this.primaryColor,{h:-60,l:-30}),this.venn6=this.venn6??ot(this.secondaryColor,{h:60,l:-30}),this.venn7=this.venn7??ot(this.primaryColor,{h:120,l:-30}),this.venn8=this.venn8??ot(this.secondaryColor,{h:120,l:-30}),this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.cynefin={domainFontSize:((c=this.cynefin)==null?void 0:c.domainFontSize)||16,itemFontSize:((d=this.cynefin)==null?void 0:d.itemFontSize)||12,boundaryColor:((w=this.cynefin)==null?void 0:w.boundaryColor)||this.lineColor,boundaryWidth:((m=this.cynefin)==null?void 0:m.boundaryWidth)||2,cliffColor:((k=this.cynefin)==null?void 0:k.cliffColor)||"#8B4513",cliffWidth:((p=this.cynefin)==null?void 0:p.cliffWidth)||4,arrowColor:((T=this.cynefin)==null?void 0:T.arrowColor)||this.lineColor,arrowWidth:((E=this.cynefin)==null?void 0:E.arrowWidth)||2,complexBg:((B=this.cynefin)==null?void 0:B.complexBg)||"#C8E6C9",complicatedBg:((A=this.cynefin)==null?void 0:A.complicatedBg)||"#DCEDC8",chaoticBg:((L=this.cynefin)==null?void 0:L.chaoticBg)||"#FFE0B2",clearBg:((I=this.cynefin)==null?void 0:I.clearBg)||"#FFF9C4",confusionBg:(($=this.cynefin)==null?void 0:$.confusionBg)||"#D7CCC8",textColor:((P=this.cynefin)==null?void 0:P.textColor)||this.textColor,labelColor:((U=this.cynefin)==null?void 0:U.labelColor)||this.primaryTextColor},this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.mainBkg},this.radar={axisColor:((J=this.radar)==null?void 0:J.axisColor)||this.lineColor,axisStrokeWidth:((X=this.radar)==null?void 0:X.axisStrokeWidth)||2,axisLabelFontSize:((rt=this.radar)==null?void 0:rt.axisLabelFontSize)||12,curveOpacity:((lt=this.radar)==null?void 0:lt.curveOpacity)||.5,curveStrokeWidth:((xt=this.radar)==null?void 0:xt.curveStrokeWidth)||2,graticuleColor:((Mt=this.radar)==null?void 0:Mt.graticuleColor)||"#DEDEDE",graticuleStrokeWidth:((Vt=this.radar)==null?void 0:Vt.graticuleStrokeWidth)||1,graticuleOpacity:((Gt=this.radar)==null?void 0:Gt.graticuleOpacity)||.3,legendBoxSize:((be=this.radar)==null?void 0:be.legendBoxSize)||12,legendFontSize:((Ze=this.radar)==null?void 0:Ze.legendFontSize)||12},this.wardleyEvolutionColor=this.wardleyEvolutionColor||"#dc3545",this.wardley={backgroundColor:((Fe=this.wardley)==null?void 0:Fe.backgroundColor)||this.background,axisColor:((Me=this.wardley)==null?void 0:Me.axisColor)||this.lineColor,axisTextColor:((kn=this.wardley)==null?void 0:kn.axisTextColor)||this.primaryTextColor,gridColor:((Y=this.wardley)==null?void 0:Y.gridColor)||this.gridColor,componentFill:((ce=this.wardley)==null?void 0:ce.componentFill)||this.background,componentStroke:((oe=this.wardley)==null?void 0:oe.componentStroke)||this.lineColor,componentLabelColor:((Ot=this.wardley)==null?void 0:Ot.componentLabelColor)||this.primaryTextColor,linkStroke:((we=this.wardley)==null?void 0:we.linkStroke)||this.lineColor,evolutionStroke:((de=this.wardley)==null?void 0:de.evolutionStroke)||this.wardleyEvolutionColor,annotationStroke:((Pe=this.wardley)==null?void 0:Pe.annotationStroke)||this.lineColor,annotationTextColor:((on=this.wardley)==null?void 0:on.annotationTextColor)||this.primaryTextColor,annotationFill:(($n=this.wardley)==null?void 0:$n.annotationFill)||this.background},this.xyChart={backgroundColor:((xr=this.xyChart)==null?void 0:xr.backgroundColor)||this.background,titleColor:((_r=this.xyChart)==null?void 0:_r.titleColor)||this.primaryTextColor,dataLabelColor:((Yr=this.xyChart)==null?void 0:Yr.dataLabelColor)||this.primaryTextColor,legendTextColor:((Br=this.xyChart)==null?void 0:Br.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((Ri=this.xyChart)==null?void 0:Ri.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((Oi=this.xyChart)==null?void 0:Oi.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((Is=this.xyChart)==null?void 0:Is.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((hi=this.xyChart)==null?void 0:hi.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((sr=this.xyChart)==null?void 0:sr.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((Xn=this.xyChart)==null?void 0:Xn.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((Ii=this.xyChart)==null?void 0:Ii.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((Jr=this.xyChart)==null?void 0:Jr.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(($o=this.xyChart)==null?void 0:$o.plotColorPalette)||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||ot(this.primaryColor,{h:-30}),this.git4=this.git4||ot(this.primaryColor,{h:-60}),this.git5=this.git5||ot(this.primaryColor,{h:-90}),this.git6=this.git6||ot(this.primaryColor,{h:60}),this.git7=this.git7||ot(this.primaryColor,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||he(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||he(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.emUiFill=this.emUiFill||"white",this.emUiStroke=this.emUiStroke||"#dbdada",this.emProcessorFill=this.emProcessorFill||"#edb3f6",this.emProcessorStroke=this.emProcessorStroke||"#b88cbf",this.emReadModelFill=this.emReadModelFill||"#d3f1a2",this.emReadModelStroke=this.emReadModelStroke||"#a3b732",this.emCommandFill=this.emCommandFill||"#bcd6fe",this.emCommandStroke=this.emCommandStroke||"#679ac3",this.emEventFill=this.emEventFill||"#ffb778",this.emEventStroke=this.emEventStroke||"#c19a0f",this.emSwimlaneBackgroundOdd=this.emSwimlaneBackgroundOdd||"rgb(250,250,250)",this.emSwimlaneBackgroundStroke=this.emSwimlaneBackgroundStroke||"rgb(240,240,240)",this.emArrowhead=this.emArrowhead||this.lineColor,this.emRelationStroke=this.emRelationStroke||this.lineColor,this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(T8,"Theme4"),q(T8,"Theme"),T8),bin=q(h=>{const c=new gin;return c.calculate(h),c},"getThemeVariables"),S8,win=(S8=class{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=ze(this.contrast,55),this.background="#ffffff",this.tertiaryColor=ot(this.primaryColor,{h:-160}),this.primaryBorderColor=as(this.primaryColor,this.darkMode),this.secondaryBorderColor=as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=as(this.tertiaryColor,this.darkMode),this.primaryTextColor=he(this.primaryColor),this.secondaryTextColor=he(this.secondaryColor),this.tertiaryTextColor=he(this.tertiaryColor),this.lineColor=he(this.background),this.textColor=he(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal",this.rowOdd=this.rowOdd||ze(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||"#f4f4f4",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))"}updateColors(){var c,d,w,m,k,p,T,E,B,A,L,I,$,P,U,J,X,rt,lt,xt,Mt,Vt,Gt,be,Ze,Fe,Me,kn,Y,ce,oe,Ot,we,de,Pe,on,$n,xr,_r,Yr,Br,Ri,Oi,Is,hi,sr,Xn,Ii,Jr,$o;this.secondBkg=ze(this.contrast,55),this.border2=this.contrast,this.actorBorder=ze(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleInv"+Qt]=this["cScaleInv"+Qt]||he(this["cScale"+Qt]);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this.darkMode?this["cScalePeer"+Qt]=this["cScalePeer"+Qt]||ze(this["cScale"+Qt],10):this["cScalePeer"+Qt]=this["cScalePeer"+Qt]||We(this["cScale"+Qt],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleLabel"+Qt]=this["cScaleLabel"+Qt]||this.scaleLabelColor;for(let Qt=0;Qt<5;Qt++)this["surface"+Qt]=this["surface"+Qt]||ot(this.mainBkg,{l:-(5+Qt*5)}),this["surfacePeer"+Qt]=this["surfacePeer"+Qt]||ot(this.mainBkg,{l:-(8+Qt*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=ze(this.contrast,30),this.sectionBkgColor2=ze(this.contrast,30),this.taskBorderColor=We(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=ze(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=We(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.vertLineColor=this.critBkgColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=ot(this.primaryColor,{h:64}),this.fillType3=ot(this.secondaryColor,{h:64}),this.fillType4=ot(this.primaryColor,{h:-64}),this.fillType5=ot(this.secondaryColor,{h:-64}),this.fillType6=ot(this.primaryColor,{h:128}),this.fillType7=ot(this.secondaryColor,{h:128});for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["pie"+Qt]=this["cScale"+Qt];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7";for(let Qt=0;Qt<8;Qt++)this["venn"+(Qt+1)]=this["venn"+(Qt+1)]??this["cScale"+Qt];this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.cynefin={domainFontSize:((c=this.cynefin)==null?void 0:c.domainFontSize)||16,itemFontSize:((d=this.cynefin)==null?void 0:d.itemFontSize)||12,boundaryColor:((w=this.cynefin)==null?void 0:w.boundaryColor)||this.lineColor,boundaryWidth:((m=this.cynefin)==null?void 0:m.boundaryWidth)||2,cliffColor:((k=this.cynefin)==null?void 0:k.cliffColor)||"#8B0000",cliffWidth:((p=this.cynefin)==null?void 0:p.cliffWidth)||4,arrowColor:((T=this.cynefin)==null?void 0:T.arrowColor)||this.lineColor,arrowWidth:((E=this.cynefin)==null?void 0:E.arrowWidth)||2,complexBg:((B=this.cynefin)==null?void 0:B.complexBg)||"#E8F5E9",complicatedBg:((A=this.cynefin)==null?void 0:A.complicatedBg)||"#E3F2FD",chaoticBg:((L=this.cynefin)==null?void 0:L.chaoticBg)||"#FBE9E7",clearBg:((I=this.cynefin)==null?void 0:I.clearBg)||"#FFF8E1",confusionBg:(($=this.cynefin)==null?void 0:$.confusionBg)||"#F3E5F5",textColor:((P=this.cynefin)==null?void 0:P.textColor)||this.textColor,labelColor:((U=this.cynefin)==null?void 0:U.labelColor)||this.primaryTextColor},this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((J=this.xyChart)==null?void 0:J.backgroundColor)||this.background,titleColor:((X=this.xyChart)==null?void 0:X.titleColor)||this.primaryTextColor,dataLabelColor:((rt=this.xyChart)==null?void 0:rt.dataLabelColor)||this.primaryTextColor,legendTextColor:((lt=this.xyChart)==null?void 0:lt.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((xt=this.xyChart)==null?void 0:xt.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((Mt=this.xyChart)==null?void 0:Mt.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((Vt=this.xyChart)==null?void 0:Vt.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((Gt=this.xyChart)==null?void 0:Gt.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((be=this.xyChart)==null?void 0:be.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((Ze=this.xyChart)==null?void 0:Ze.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((Fe=this.xyChart)==null?void 0:Fe.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((Me=this.xyChart)==null?void 0:Me.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((kn=this.xyChart)==null?void 0:kn.plotColorPalette)||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.radar={axisColor:((Y=this.radar)==null?void 0:Y.axisColor)||this.lineColor,axisStrokeWidth:((ce=this.radar)==null?void 0:ce.axisStrokeWidth)||2,axisLabelFontSize:((oe=this.radar)==null?void 0:oe.axisLabelFontSize)||12,curveOpacity:((Ot=this.radar)==null?void 0:Ot.curveOpacity)||.5,curveStrokeWidth:((we=this.radar)==null?void 0:we.curveStrokeWidth)||2,graticuleColor:((de=this.radar)==null?void 0:de.graticuleColor)||"#DEDEDE",graticuleStrokeWidth:((Pe=this.radar)==null?void 0:Pe.graticuleStrokeWidth)||1,graticuleOpacity:((on=this.radar)==null?void 0:on.graticuleOpacity)||.3,legendBoxSize:(($n=this.radar)==null?void 0:$n.legendBoxSize)||12,legendFontSize:((xr=this.radar)==null?void 0:xr.legendFontSize)||12},this.wardleyEvolutionColor=this.wardleyEvolutionColor||"#dc3545",this.wardley={backgroundColor:((_r=this.wardley)==null?void 0:_r.backgroundColor)||this.background,axisColor:((Yr=this.wardley)==null?void 0:Yr.axisColor)||this.lineColor,axisTextColor:((Br=this.wardley)==null?void 0:Br.axisTextColor)||this.primaryTextColor,gridColor:((Ri=this.wardley)==null?void 0:Ri.gridColor)||this.gridColor,componentFill:((Oi=this.wardley)==null?void 0:Oi.componentFill)||this.background,componentStroke:((Is=this.wardley)==null?void 0:Is.componentStroke)||this.lineColor,componentLabelColor:((hi=this.wardley)==null?void 0:hi.componentLabelColor)||this.primaryTextColor,linkStroke:((sr=this.wardley)==null?void 0:sr.linkStroke)||this.lineColor,evolutionStroke:((Xn=this.wardley)==null?void 0:Xn.evolutionStroke)||this.wardleyEvolutionColor,annotationStroke:((Ii=this.wardley)==null?void 0:Ii.annotationStroke)||this.lineColor,annotationTextColor:((Jr=this.wardley)==null?void 0:Jr.annotationTextColor)||this.primaryTextColor,annotationFill:(($o=this.wardley)==null?void 0:$o.annotationFill)||this.background},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=We(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||ot(this.primaryColor,{h:-30}),this.git4=this.pie5||ot(this.primaryColor,{h:-60}),this.git5=this.pie6||ot(this.primaryColor,{h:-90}),this.git6=this.pie7||ot(this.primaryColor,{h:60}),this.git7=this.pie8||ot(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.emUiFill=this.emUiFill||"white",this.emUiStroke=this.emUiStroke||"#dbdada",this.emProcessorFill=this.emProcessorFill||"#edb3f6",this.emProcessorStroke=this.emProcessorStroke||"#b88cbf",this.emReadModelFill=this.emReadModelFill||"#d3f1a2",this.emReadModelStroke=this.emReadModelStroke||"#a3b732",this.emCommandFill=this.emCommandFill||"#bcd6fe",this.emCommandStroke=this.emCommandStroke||"#679ac3",this.emEventFill=this.emEventFill||"#ffb778",this.emEventStroke=this.emEventStroke||"#c19a0f",this.emSwimlaneBackgroundOdd=this.emSwimlaneBackgroundOdd||"rgb(250,250,250)",this.emSwimlaneBackgroundStroke=this.emSwimlaneBackgroundStroke||"rgb(240,240,240)",this.emArrowhead=this.emArrowhead||this.lineColor,this.emRelationStroke=this.emRelationStroke||this.lineColor,this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(S8,"Theme5"),q(S8,"Theme"),S8),pin=q(h=>{const c=new win;return c.calculate(h),c},"getThemeVariables"),E8,min=(E8=class{constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=3,this.strokeWidth=2,this.primaryBorderColor=as(this.primaryColor,this.darkMode),this.fontFamily="arial, sans-serif",this.fontSize="14px",this.nodeBorder="#000000",this.stateBorder="#000000",this.useGradient=!0,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="drop-shadow( 0px 1px 2px rgba(0, 0, 0, 0.25));",this.tertiaryColor="#ffffff",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal"}updateColors(){var k,p,T,E,B,A,L,I,$,P,U,J;this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||ot(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ot(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||as(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||as(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||as(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||he(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||he(this.tertiaryColor),this.lineColor=this.lineColor||he(this.background),this.arrowheadColor=this.arrowheadColor||he(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||We(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||he(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor;const c="#ECECFE",d="#E9E9F1",w=ot(c,{h:180,l:5});if(this.sectionBkgColor=this.sectionBkgColor||w,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||d,this.sectionBkgColor2=this.sectionBkgColor2||c,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||c,this.activeTaskBorderColor=this.activeTaskBorderColor||c,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(c,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||c,this.cScale1=this.cScale1||d,this.cScale2=this.cScale2||w,this.cScale3=this.cScale3||ot(c,{h:30}),this.cScale4=this.cScale4||ot(c,{h:60}),this.cScale5=this.cScale5||ot(c,{h:90}),this.cScale6=this.cScale6||ot(c,{h:120}),this.cScale7=this.cScale7||ot(c,{h:150}),this.cScale8=this.cScale8||ot(c,{h:210,l:150}),this.cScale9=this.cScale9||ot(c,{h:270}),this.cScale10=this.cScale10||ot(c,{h:300}),this.cScale11=this.cScale11||ot(c,{h:330}),this.darkMode)for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScale"+X]=We(this["cScale"+X],75);else for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScale"+X]=We(this["cScale"+X],25);for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScaleInv"+X]=this["cScaleInv"+X]||he(this["cScale"+X]);for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this.darkMode?this["cScalePeer"+X]=this["cScalePeer"+X]||ze(this["cScale"+X],10):this["cScalePeer"+X]=this["cScalePeer"+X]||We(this["cScale"+X],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScaleLabel"+X]=this["cScaleLabel"+X]||this.scaleLabelColor;const m=this.darkMode?-4:-1;for(let X=0;X<5;X++)this["surface"+X]=this["surface"+X]||ot(this.mainBkg,{h:180,s:-15,l:m*(5+X*3)}),this["surfacePeer"+X]=this["surfacePeer"+X]||ot(this.mainBkg,{h:180,s:-15,l:m*(8+X*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||c,this.fillType1=this.fillType1||d,this.fillType2=this.fillType2||ot(c,{h:64}),this.fillType3=this.fillType3||ot(d,{h:64}),this.fillType4=this.fillType4||ot(c,{h:-64}),this.fillType5=this.fillType5||ot(d,{h:-64}),this.fillType6=this.fillType6||ot(c,{h:128}),this.fillType7=this.fillType7||ot(d,{h:128}),this.pie1=this.pie1||c,this.pie2=this.pie2||d,this.pie3=this.pie3||w,this.pie4=this.pie4||ot(c,{l:-10}),this.pie5=this.pie5||ot(d,{l:-10}),this.pie6=this.pie6||ot(w,{l:-10}),this.pie7=this.pie7||ot(c,{h:60,l:-10}),this.pie8=this.pie8||ot(c,{h:-60,l:-10}),this.pie9=this.pie9||ot(c,{h:120,l:0}),this.pie10=this.pie10||ot(c,{h:60,l:-20}),this.pie11=this.pie11||ot(c,{h:-60,l:-20}),this.pie12=this.pie12||ot(c,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||c,this.quadrant2Fill=this.quadrant2Fill||ot(c,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(c,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(c,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((k=this.xyChart)==null?void 0:k.backgroundColor)||this.background,titleColor:((p=this.xyChart)==null?void 0:p.titleColor)||this.primaryTextColor,legendTextColor:((T=this.xyChart)==null?void 0:T.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((E=this.xyChart)==null?void 0:E.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((B=this.xyChart)==null?void 0:B.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((A=this.xyChart)==null?void 0:A.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((L=this.xyChart)==null?void 0:L.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((I=this.xyChart)==null?void 0:I.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(($=this.xyChart)==null?void 0:$.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((P=this.xyChart)==null?void 0:P.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((U=this.xyChart)==null?void 0:U.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((J=this.xyChart)==null?void 0:J.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||c,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||c,this.git1=this.git1||d,this.git2=this.git2||w,this.git3=this.git3||ot(c,{h:-30}),this.git4=this.git4||ot(c,{h:-60}),this.git5=this.git5||ot(c,{h:-90}),this.git6=this.git6||ot(c,{h:60}),this.git7=this.git7||ot(c,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(E8,"Theme6"),q(E8,"Theme"),E8),yin=q(h=>{const c=new min;return c.calculate(h),c},"getThemeVariables"),B8,vin=(B8=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ze(this.primaryColor,16),this.tertiaryColor=ot(this.primaryColor,{h:-160}),this.primaryBorderColor=he(this.background),this.secondaryBorderColor=as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=as(this.tertiaryColor,this.darkMode),this.primaryTextColor=he(this.primaryColor),this.secondaryTextColor=he(this.secondaryColor),this.tertiaryTextColor=he(this.tertiaryColor),this.mainBkg="#2a2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ze(he("#323D47"),10),this.border1="#ccc",this.border2=Q4(255,255,255,.25),this.arrowheadColor=he(this.background),this.fontFamily="arial, sans-serif",this.fontSize="14px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=3,this.strokeWidth=1,this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily="arial, sans-serif",this.fontSize="14px",this.useGradient=!0,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,0.2))",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal"}updateColors(){var d,w,m,k,p,T,E,B,A,L,I,$;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||ot(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ot(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||as(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||as(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||as(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||he(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||he(this.tertiaryColor),this.lineColor=this.lineColor||he(this.background),this.arrowheadColor=this.arrowheadColor||he(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||We(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||he(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ot(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ot(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ot(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ot(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ot(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ot(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||ot(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ot(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ot(this.primaryColor,{h:330}),this.darkMode)for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScale"+P]=We(this["cScale"+P],75);else for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScale"+P]=We(this["cScale"+P],25);for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScaleInv"+P]=this["cScaleInv"+P]||he(this["cScale"+P]);for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this.darkMode?this["cScalePeer"+P]=this["cScalePeer"+P]||ze(this["cScale"+P],10):this["cScalePeer"+P]=this["cScalePeer"+P]||We(this["cScale"+P],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScaleLabel"+P]=this["cScaleLabel"+P]||this.scaleLabelColor;const c=this.darkMode?-4:-1;for(let P=0;P<5;P++)this["surface"+P]=this["surface"+P]||ot(this.mainBkg,{h:180,s:-15,l:c*(5+P*3)}),this["surfacePeer"+P]=this["surfacePeer"+P]||ot(this.mainBkg,{h:180,s:-15,l:c*(8+P*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||ot(this.primaryColor,{h:64}),this.fillType3=this.fillType3||ot(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||ot(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||ot(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||ot(this.primaryColor,{h:128}),this.fillType7=this.fillType7||ot(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||ot(this.primaryColor,{l:-10}),this.pie5=this.pie5||ot(this.secondaryColor,{l:-10}),this.pie6=this.pie6||ot(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||ot(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||ot(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||ot(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||ot(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||ot(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||ot(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((d=this.xyChart)==null?void 0:d.backgroundColor)||this.background,titleColor:((w=this.xyChart)==null?void 0:w.titleColor)||this.primaryTextColor,legendTextColor:((m=this.xyChart)==null?void 0:m.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((k=this.xyChart)==null?void 0:k.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((p=this.xyChart)==null?void 0:p.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((T=this.xyChart)==null?void 0:T.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((E=this.xyChart)==null?void 0:E.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((B=this.xyChart)==null?void 0:B.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((A=this.xyChart)==null?void 0:A.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((L=this.xyChart)==null?void 0:L.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((I=this.xyChart)==null?void 0:I.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(($=this.xyChart)==null?void 0:$.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||"#0b0000",this.git1=this.git1||"#4d1037",this.git2=this.git2||"#3f5258",this.git3=this.git3||"#4f2f1b",this.git4=this.git4||"#6e0a0a",this.git5=this.git5||"#3b0048",this.git6=this.git6||"#995a01",this.git7=this.git7||"#154706",this.gitDarkMode=!0,this.gitDarkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(B8,"Theme7"),q(B8,"Theme"),B8),kin=q(h=>{const c=new vin;return c.calculate(h),c},"getThemeVariables"),A8,Cin=(A8=class{constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#28253D",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.primaryBorderColor=as("#28253D",this.darkMode),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#28253D",this.stateBorder="#28253D",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.tertiaryColor="#ffffff",this.clusterBkg="#F9F9FB",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.actorBorder="#28253D",this.filterColor="#000000"}updateColors(){var k,p,T,E,B,A,L,I,$,P,U,J;this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#28253D"),this.secondaryColor=this.secondaryColor||ot(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ot(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||as(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||as(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||as(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#FEF9C3",this.noteTextColor=this.noteTextColor||"#28253D",this.secondaryTextColor=this.secondaryTextColor||he(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||he(this.tertiaryColor),this.lineColor=this.lineColor||he(this.background),this.arrowheadColor=this.arrowheadColor||he(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.noteFontWeight=600,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||We(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||he(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor;const c="#ECECFE",d="#E9E9F1",w=ot(c,{h:180,l:5});this.sectionBkgColor=this.sectionBkgColor||w,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||d,this.sectionBkgColor2=this.sectionBkgColor2||c,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||c,this.activeTaskBorderColor=this.activeTaskBorderColor||c,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(c,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.compositeTitleBackground="#F9F9FB",this.altBackground="#F9F9FB",this.stateEdgeLabelBackground="#FFFFFF",this.fontWeight=600,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor;for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScale"+X]=this.mainBkg;if(this.darkMode)for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScale"+X]=We(this["cScale"+X],75);else for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScale"+X]=We(this["cScale"+X],25);for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScaleInv"+X]=this["cScaleInv"+X]||he(this["cScale"+X]);for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this.darkMode?this["cScalePeer"+X]=this["cScalePeer"+X]||ze(this["cScale"+X],10):this["cScalePeer"+X]=this["cScalePeer"+X]||We(this["cScale"+X],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScaleLabel"+X]=this["cScaleLabel"+X]||this.scaleLabelColor;const m=this.darkMode?-4:-1;for(let X=0;X<5;X++)this["surface"+X]=this["surface"+X]||ot(this.mainBkg,{h:180,s:-15,l:m*(5+X*3)}),this["surfacePeer"+X]=this["surfacePeer"+X]||ot(this.mainBkg,{h:180,s:-15,l:m*(8+X*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||c,this.fillType1=this.fillType1||d,this.fillType2=this.fillType2||ot(c,{h:64}),this.fillType3=this.fillType3||ot(d,{h:64}),this.fillType4=this.fillType4||ot(c,{h:-64}),this.fillType5=this.fillType5||ot(d,{h:-64}),this.fillType6=this.fillType6||ot(c,{h:128}),this.fillType7=this.fillType7||ot(d,{h:128}),this.pie1=this.pie1||c,this.pie2=this.pie2||d,this.pie3=this.pie3||w,this.pie4=this.pie4||ot(c,{l:-10}),this.pie5=this.pie5||ot(d,{l:-10}),this.pie6=this.pie6||ot(w,{l:-10}),this.pie7=this.pie7||ot(c,{h:60,l:-10}),this.pie8=this.pie8||ot(c,{h:-60,l:-10}),this.pie9=this.pie9||ot(c,{h:120,l:0}),this.pie10=this.pie10||ot(c,{h:60,l:-20}),this.pie11=this.pie11||ot(c,{h:-60,l:-20}),this.pie12=this.pie12||ot(c,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||c,this.quadrant2Fill=this.quadrant2Fill||ot(c,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(c,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(c,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((k=this.xyChart)==null?void 0:k.backgroundColor)||this.background,titleColor:((p=this.xyChart)==null?void 0:p.titleColor)||this.primaryTextColor,legendTextColor:((T=this.xyChart)==null?void 0:T.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((E=this.xyChart)==null?void 0:E.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((B=this.xyChart)==null?void 0:B.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((A=this.xyChart)==null?void 0:A.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((L=this.xyChart)==null?void 0:L.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((I=this.xyChart)==null?void 0:I.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(($=this.xyChart)==null?void 0:$.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((P=this.xyChart)==null?void 0:P.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((U=this.xyChart)==null?void 0:U.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((J=this.xyChart)==null?void 0:J.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||c,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.requirementEdgeLabelBackground="#FFFFFF",this.git0=this.git0||c,this.git1=this.git1||d,this.git2=this.git2||w,this.git3=this.git3||ot(c,{h:-30}),this.git4=this.git4||ot(c,{h:-60}),this.git5=this.git5||ot(c,{h:-90}),this.git6=this.git6||ot(c,{h:60}),this.git7=this.git7||ot(c,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.commitLineColor=this.commitLineColor??"#BDBCCC",this.erEdgeLabelBackground="#FFFFFF",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(A8,"Theme8"),q(A8,"Theme"),A8),xin=q(h=>{const c=new Cin;return c.calculate(h),c},"getThemeVariables"),M8,Tin=(M8=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ze(this.primaryColor,16),this.tertiaryColor=ot(this.primaryColor,{h:-160}),this.primaryBorderColor=he(this.background),this.secondaryBorderColor=as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=as(this.tertiaryColor,this.darkMode),this.primaryTextColor=he(this.primaryColor),this.secondaryTextColor=he(this.secondaryColor),this.tertiaryTextColor=he(this.tertiaryColor),this.mainBkg="#111113",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ze(he("#323D47"),10),this.border1="#ccc",this.border2=Q4(255,255,255,.25),this.arrowheadColor=he(this.background),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.labelBackground="#111113",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.noteBkgColor=this.noteBkgColor??"#FEF9C3",this.noteTextColor=this.noteTextColor??"#28253D",this.THEME_COLOR_LIMIT=12,this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#FFFFFF",this.stateBorder="#FFFFFF",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.clusterBkg="#1E1A2E",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.filterColor="#FFFFFF"}updateColors(){var d,w,m,k,p,T,E,B,A,L,I,$;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#FFFFFF"),this.secondaryColor=this.secondaryColor||ot(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ot(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||as(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||as(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||as(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#FFFFFF",this.secondaryTextColor=this.secondaryTextColor||he(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||he(this.tertiaryColor),this.lineColor=this.lineColor||he(this.background),this.arrowheadColor=this.arrowheadColor||he(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder="#FFFFFF",this.signalColor="#FFFFFF",this.labelBoxBorderColor="#BDBCCC",this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||We(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||he(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.compositeBackground="#16141F",this.altBackground="#16141F",this.compositeTitleBackground="#16141F",this.stateEdgeLabelBackground="#16141F",this.fontWeight=600,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ot(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ot(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ot(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ot(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ot(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ot(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||ot(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ot(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ot(this.primaryColor,{h:330}),this.darkMode)for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScale"+P]=We(this["cScale"+P],75);else for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScale"+P]=We(this["cScale"+P],25);for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScaleInv"+P]=this["cScaleInv"+P]||he(this["cScale"+P]);for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this.darkMode?this["cScalePeer"+P]=this["cScalePeer"+P]||ze(this["cScale"+P],10):this["cScalePeer"+P]=this["cScalePeer"+P]||We(this["cScale"+P],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScaleLabel"+P]=this["cScaleLabel"+P]||this.scaleLabelColor;const c=this.darkMode?-4:-1;for(let P=0;P<5;P++)this["surface"+P]=this["surface"+P]||ot(this.mainBkg,{h:180,s:-15,l:c*(5+P*3)}),this["surfacePeer"+P]=this["surfacePeer"+P]||ot(this.mainBkg,{h:180,s:-15,l:c*(8+P*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||ot(this.primaryColor,{h:64}),this.fillType3=this.fillType3||ot(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||ot(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||ot(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||ot(this.primaryColor,{h:128}),this.fillType7=this.fillType7||ot(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||ot(this.primaryColor,{l:-10}),this.pie5=this.pie5||ot(this.secondaryColor,{l:-10}),this.pie6=this.pie6||ot(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||ot(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||ot(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||ot(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||ot(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||ot(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||ot(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((d=this.xyChart)==null?void 0:d.backgroundColor)||this.background,titleColor:((w=this.xyChart)==null?void 0:w.titleColor)||this.primaryTextColor,legendTextColor:((m=this.xyChart)==null?void 0:m.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((k=this.xyChart)==null?void 0:k.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((p=this.xyChart)==null?void 0:p.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((T=this.xyChart)==null?void 0:T.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((E=this.xyChart)==null?void 0:E.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((B=this.xyChart)==null?void 0:B.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((A=this.xyChart)==null?void 0:A.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((L=this.xyChart)==null?void 0:L.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((I=this.xyChart)==null?void 0:I.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(($=this.xyChart)==null?void 0:$.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.requirementEdgeLabelBackground="#16141F",this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||ot(this.primaryColor,{h:-30}),this.git4=this.git4||ot(this.primaryColor,{h:-60}),this.git5=this.git5||ot(this.primaryColor,{h:-90}),this.git6=this.git6||ot(this.primaryColor,{h:60}),this.git7=this.git7||ot(this.primaryColor,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.commitLineColor=this.commitLineColor??"#BDBCCC",this.erEdgeLabelBackground="#16141F",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(M8,"Theme9"),q(M8,"Theme"),M8),Sin=q(h=>{const c=new Tin;return c.calculate(h),c},"getThemeVariables"),L8,Ein=(L8=class{constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#28253D",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.primaryBorderColor=as(this.primaryColor,this.darkMode),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#28253D",this.stateBorder="#28253D",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.tertiaryColor="#ffffff",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.actorBorder="#28253D",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.borderColorArray=["#E879F9","#2DD4BF","#FB923C","#22D3EE","#4ADE80","#A78BFA","#F87171","#FACC15","#818CF8","#A3E635 ","#38BDF8","#FB7185"],this.bkgColorArray=["#FDF4FF","#F0FDFA","#FFF7ED","#ECFEFF","#F0FDF4","#F5F3FF","#FEF2F2","#FEFCE8","#EEF2FF","#F7FEE7","#F0F9FF","#FFF1F2"],this.filterColor="#000000"}updateColors(){var k,p,T,E,B,A,L,I,$,P,U,J;this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#28253D"),this.secondaryColor=this.secondaryColor||ot(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ot(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||as(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||as(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||as(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#28253D",this.secondaryTextColor=this.secondaryTextColor||he(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||he(this.tertiaryColor),this.lineColor=this.lineColor||he(this.background),this.arrowheadColor=this.arrowheadColor||he(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||We(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||he(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor;const c="#ECECFE",d="#E9E9F1",w=ot(c,{h:180,l:5});this.sectionBkgColor=this.sectionBkgColor||w,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||d,this.sectionBkgColor2=this.sectionBkgColor2||c,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||c,this.activeTaskBorderColor=this.activeTaskBorderColor||c,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(c,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||"#f4a8ff",this.cScale1=this.cScale1||"#46ecd5",this.cScale2=this.cScale2||"#ffb86a",this.cScale3=this.cScale3||"#dab2ff",this.cScale4=this.cScale4||"#7bf1a8",this.cScale5=this.cScale5||"#c4b4ff",this.cScale6=this.cScale6||"#ffa2a2",this.cScale7=this.cScale7||"#ffdf20",this.cScale8=this.cScale8||"#a3b3ff",this.cScale9=this.cScale9||"#bbf451",this.cScale10=this.cScale10||"#74d4ff",this.cScale11=this.cScale11||"#ffa1ad";for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScaleInv"+X]=this["cScaleInv"+X]||he(this["cScale"+X]);for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this.darkMode?this["cScalePeer"+X]=this["cScalePeer"+X]||ze(this["cScale"+X],10):this["cScalePeer"+X]=this["cScalePeer"+X]||We(this["cScale"+X],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScaleLabel"+X]=this["cScaleLabel"+X]||this.scaleLabelColor;const m=this.darkMode?-4:-1;for(let X=0;X<5;X++)this["surface"+X]=this["surface"+X]||ot(this.mainBkg,{h:180,s:-15,l:m*(5+X*3)}),this["surfacePeer"+X]=this["surfacePeer"+X]||ot(this.mainBkg,{h:180,s:-15,l:m*(8+X*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||c,this.fillType1=this.fillType1||d,this.fillType2=this.fillType2||ot(c,{h:64}),this.fillType3=this.fillType3||ot(d,{h:64}),this.fillType4=this.fillType4||ot(c,{h:-64}),this.fillType5=this.fillType5||ot(d,{h:-64}),this.fillType6=this.fillType6||ot(c,{h:128}),this.fillType7=this.fillType7||ot(d,{h:128}),this.pie1=this.pie1||c,this.pie2=this.pie2||d,this.pie3=this.pie3||w,this.pie4=this.pie4||ot(c,{l:-10}),this.pie5=this.pie5||ot(d,{l:-10}),this.pie6=this.pie6||ot(w,{l:-10}),this.pie7=this.pie7||ot(c,{h:60,l:-10}),this.pie8=this.pie8||ot(c,{h:-60,l:-10}),this.pie9=this.pie9||ot(c,{h:120,l:0}),this.pie10=this.pie10||ot(c,{h:60,l:-20}),this.pie11=this.pie11||ot(c,{h:-60,l:-20}),this.pie12=this.pie12||ot(c,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||c,this.quadrant2Fill=this.quadrant2Fill||ot(c,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(c,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(c,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((k=this.xyChart)==null?void 0:k.backgroundColor)||this.background,titleColor:((p=this.xyChart)==null?void 0:p.titleColor)||this.primaryTextColor,legendTextColor:((T=this.xyChart)==null?void 0:T.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((E=this.xyChart)==null?void 0:E.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((B=this.xyChart)==null?void 0:B.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((A=this.xyChart)==null?void 0:A.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((L=this.xyChart)==null?void 0:L.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((I=this.xyChart)==null?void 0:I.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(($=this.xyChart)==null?void 0:$.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((P=this.xyChart)==null?void 0:P.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((U=this.xyChart)==null?void 0:U.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((J=this.xyChart)==null?void 0:J.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||c,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||c,this.git1=this.git1||d,this.git2=this.git2||w,this.git3=this.git3||ot(c,{h:-30}),this.git4=this.git4||ot(c,{h:-60}),this.git5=this.git5||ot(c,{h:-90}),this.git6=this.git6||ot(c,{h:60}),this.git7=this.git7||ot(c,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLineColor=this.commitLineColor??"#BDBCCC",this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.fontWeight=600,this.erEdgeLabelBackground="#FFFFFF",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(L8,"Theme10"),q(L8,"Theme"),L8),Bin=q(h=>{const c=new Ein;return c.calculate(h),c},"getThemeVariables"),F8,Ain=(F8=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ze(this.primaryColor,16),this.tertiaryColor=ot(this.primaryColor,{h:-160}),this.primaryBorderColor=he(this.background),this.secondaryBorderColor=as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=as(this.tertiaryColor,this.darkMode),this.primaryTextColor=he(this.primaryColor),this.secondaryTextColor=he(this.secondaryColor),this.tertiaryTextColor=he(this.tertiaryColor),this.mainBkg="#111113",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ze(he("#323D47"),10),this.border1="#ccc",this.border2=Q4(255,255,255,.25),this.arrowheadColor=he(this.background),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.labelBackground="#111113",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.noteBkgColor=this.noteBkgColor??"#FEF9C3",this.noteTextColor=this.noteTextColor??"#28253D",this.THEME_COLOR_LIMIT=12,this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#FFFFFF",this.stateBorder="#FFFFFF",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.clusterBkg="#1E1A2E",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.borderColorArray=["#E879F9","#2DD4BF","#FB923C","#22D3EE","#4ADE80","#A78BFA","#F87171","#FACC15","#818CF8","#A3E635 ","#38BDF8","#FB7185"],this.bkgColorArray=[],this.filterColor="#FFFFFF"}updateColors(){var d,w,m,k,p,T,E,B,A,L,I,$;this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#FFFFFF"),this.secondaryColor=this.secondaryColor||ot(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ot(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||as(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||as(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||as(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#FFFFFF",this.secondaryTextColor=this.secondaryTextColor||he(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||he(this.tertiaryColor),this.lineColor=this.lineColor||he(this.background),this.arrowheadColor=this.arrowheadColor||he(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder="#FFFFFF",this.signalColor="#FFFFFF",this.labelBoxBorderColor="#BDBCCC",this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||We(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||he(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.rootLabelColor="#FFFFFF",this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||"#f4a8ff",this.cScale1=this.cScale1||"#46ecd5",this.cScale2=this.cScale2||"#ffb86a",this.cScale3=this.cScale3||"#dab2ff",this.cScale4=this.cScale4||"#7bf1a8",this.cScale5=this.cScale5||"#c4b4ff",this.cScale6=this.cScale6||"#ffa2a2",this.cScale7=this.cScale7||"#ffdf20",this.cScale8=this.cScale8||"#a3b3ff",this.cScale9=this.cScale9||"#bbf451",this.cScale10=this.cScale10||"#74d4ff",this.cScale11=this.cScale11||"#ffa1ad";for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScaleInv"+P]=this["cScaleInv"+P]||he(this["cScale"+P]);for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this.darkMode?this["cScalePeer"+P]=this["cScalePeer"+P]||ze(this["cScale"+P],10):this["cScalePeer"+P]=this["cScalePeer"+P]||We(this["cScale"+P],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScaleLabel"+P]=We(this["cScale"+P],75);const c=this.darkMode?-4:-1;for(let P=0;P<5;P++)this["surface"+P]=this["surface"+P]||ot(this.mainBkg,{h:180,s:-15,l:c*(5+P*3)}),this["surfacePeer"+P]=this["surfacePeer"+P]||ot(this.mainBkg,{h:180,s:-15,l:c*(8+P*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||ot(this.primaryColor,{h:64}),this.fillType3=this.fillType3||ot(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||ot(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||ot(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||ot(this.primaryColor,{h:128}),this.fillType7=this.fillType7||ot(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||ot(this.primaryColor,{l:-10}),this.pie5=this.pie5||ot(this.secondaryColor,{l:-10}),this.pie6=this.pie6||ot(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||ot(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||ot(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||ot(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||ot(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||ot(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||ot(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((d=this.xyChart)==null?void 0:d.backgroundColor)||this.background,titleColor:((w=this.xyChart)==null?void 0:w.titleColor)||this.primaryTextColor,legendTextColor:((m=this.xyChart)==null?void 0:m.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((k=this.xyChart)==null?void 0:k.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((p=this.xyChart)==null?void 0:p.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((T=this.xyChart)==null?void 0:T.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((E=this.xyChart)==null?void 0:E.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((B=this.xyChart)==null?void 0:B.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((A=this.xyChart)==null?void 0:A.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((L=this.xyChart)==null?void 0:L.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((I=this.xyChart)==null?void 0:I.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(($=this.xyChart)==null?void 0:$.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||ot(this.primaryColor,{h:-30}),this.git4=this.git4||ot(this.primaryColor,{h:-60}),this.git5=this.git5||ot(this.primaryColor,{h:-90}),this.git6=this.git6||ot(this.primaryColor,{h:60}),this.git7=this.git7||ot(this.primaryColor,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.commitLineColor=this.commitLineColor??"#BDBCCC",this.fontWeight=600,this.erEdgeLabelBackground="#16141F",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(F8,"Theme11"),q(F8,"Theme"),F8),Min=q(h=>{const c=new Ain;return c.calculate(h),c},"getThemeVariables"),N3={base:{getThemeVariables:lin},dark:{getThemeVariables:hin},default:{getThemeVariables:din},forest:{getThemeVariables:bin},neutral:{getThemeVariables:pin},neo:{getThemeVariables:yin},"neo-dark":{getThemeVariables:kin},redux:{getThemeVariables:xin},"redux-dark":{getThemeVariables:Sin},"redux-color":{getThemeVariables:Bin},"redux-dark-color":{getThemeVariables:Min}},id={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:null,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200,inheritDir:!1},swimlane:{useMaxWidth:!0,lineHops:"arc",ignoreCrossLaneEdges:!0,optimizeRanksByCrossings:!0,automaticLaneOrdering:!1},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,maxLabelWidth:360,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],titleColor:"",titleFontFamily:'"trebuchet ms", verdana, arial, sans-serif',titleFontSize:"4ex"},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1,hierarchicalNamespaces:!0},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,nodeSpacing:140,rankSpacing:80,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75,donutHole:0,legendPosition:"right",highlightSlice:""},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showDataLabel:!1,showDataLabelOutsideBar:!1,showTitle:!0,showLegend:!0,legendFontSize:14,legendPadding:10,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2,labelRotation:0},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2,labelRotation:0},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200,layoutAlgorithm:"cose-bilkent"},ishikawa:{useMaxWidth:!0,diagramPadding:20},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:"",nodeWidth:10,nodePadding:12,labelStyle:"legacy"},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},treeView:{useMaxWidth:!0,rowIndent:10,paddingX:5,paddingY:5,lineThickness:1,showIcons:!1,defaultIconPack:"",filenameIcons:{},extensionIcons:{}},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16,randomize:!1,nodeSeparation:75,idealEdgeLengthMultiplier:1.5,edgeElasticity:.45,numIter:2500,seed:1},eventmodeling:{useMaxWidth:!0,padding:30,rowHeight:32},radar:{useMaxWidth:!0,width:600,height:600,marginTop:50,marginRight:50,marginBottom:50,marginLeft:50,axisScaleFactor:1,axisLabelFactor:1.05,curveTension:.17},venn:{useMaxWidth:!0,width:800,height:450,padding:8,useDebugLayout:!1},cynefin:{useMaxWidth:!0,width:800,height:600,padding:40,showDomainDescriptions:!0,boundaryAmplitude:8,seed:0},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},gve={...id,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF",nodePlacementAlignment:"NONE",forceNodeModelOrder:!1,considerModelOrder:"NODES_AND_EDGES",keepEntryNodeOnTop:!1},themeCSS:void 0,themeVariables:N3.default.getThemeVariables(),sequence:{...id.sequence,messageFont:q(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:q(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:q(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{defaultRenderer:"dagre-wrapper",hideEmptyMembersBox:!1,hierarchicalNamespaces:!0},gantt:{...id.gantt,tickInterval:void 0,useWidth:void 0},c4:{...id.c4,useWidth:void 0,personFont:q(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),flowchart:{...id.flowchart,inheritDir:!1},external_personFont:q(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:q(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:q(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:q(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:q(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:q(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:q(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:q(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:q(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:q(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:q(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:q(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:q(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:q(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:q(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:q(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:q(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:q(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:q(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:q(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:q(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...id.pie,useWidth:984},xyChart:{...id.xyChart,useWidth:void 0},requirement:{...id.requirement,useWidth:void 0},packet:{...id.packet},eventmodeling:{...id.eventmodeling},treeView:{...id.treeView,useWidth:void 0},radar:{...id.radar},railroad:{...id.railroad,fontSize:void 0,fontFamily:void 0,terminalFill:void 0,terminalStroke:void 0,terminalTextColor:void 0,nonTerminalFill:void 0,nonTerminalStroke:void 0,nonTerminalTextColor:void 0,lineColor:void 0,markerFill:void 0,commentFill:void 0,commentStroke:void 0,commentTextColor:void 0,specialFill:void 0,specialStroke:void 0,ruleNameColor:void 0},ishikawa:{...id.ishikawa},sankey:{...id.sankey,nodeColors:void 0},treemap:{useMaxWidth:!0,padding:10,diagramPadding:8,showValues:!0,nodeWidth:100,nodeHeight:40,borderWidth:1,valueFontSize:12,labelFontSize:14,valueFormat:","},venn:{...id.venn},cynefin:{...id.cynefin}},bve=q((h,c="")=>Object.keys(h).reduce((d,w)=>Array.isArray(h[w])?d:typeof h[w]=="object"&&h[w]!==null?[...d,c+w,...bve(h[w],"")]:[...d,c+w],[]),"keyify"),Lin=new Set(bve(gve,"")),wve=gve,Fin={nodeColors:/^#[\da-f]{3,8}$|^rgb\([\d\s%,.]+\)$|^hsl\([\d\s%,.]+\)$|^[a-z]+$/i,filenameIcons:/^[\w-]+(?::[\w-]+)?$/,extensionIcons:/^[\w-]+(?::[\w-]+)?$/},_in=q((h,c)=>{for(const d of Object.keys(h)){const w=h[d];(d.startsWith("__")||d.includes("proto")||d.includes("constr")||typeof w!="string"||!c.test(w))&&(Ae.debug("sanitize deleting dictionary entry:",d,w),delete h[d])}},"sanitizeDictionaryConfig"),LJ=q(h=>{if(Ae.debug("sanitizeDirective called with",h),!(typeof h!="object"||h==null)){if(Array.isArray(h)){h.forEach(c=>LJ(c));return}for(const c of Object.keys(h)){if(Ae.debug("Checking key",c),c.startsWith("__")||c.includes("proto")||c.includes("constr")||!Lin.has(c)||h[c]==null){Ae.debug("sanitize deleting key: ",c),delete h[c];continue}if(typeof h[c]=="object"){const w=Fin[c];w?_in(h[c],w):(Ae.debug("sanitizing object",c),LJ(h[c]));continue}const d=["themeCSS","fontFamily","altFontFamily"];for(const w of d)c.includes(w)&&(Ae.debug("sanitizing css option",c),h[c]=pve(h[c]))}if(h.themeVariables)for(const c of Object.keys(h.themeVariables)){const d=h.themeVariables[c];d!=null&&d.match&&!d.match(/^[\d "#%(),.;A-Za-z]+$/)&&(h.themeVariables[c]="")}Ae.debug("After sanitization",h)}},"sanitizeDirective"),pve=q(h=>{let c=0,d=0;for(const w of h){if(c<d)return"{ /* ERROR: Unbalanced CSS */ }";w==="{"?c++:w==="}"&&d++}return c!==d?"{ /* ERROR: Unbalanced CSS */ }":h},"sanitizeCss"),CA=Object.freeze(wve),qy=q(h=>!(h===!1||["false","null","0"].includes(String(h).trim().toLowerCase())),"evaluate"),Qg=Af({},CA),FJ,j8=[],uD=Af({},CA),jD=q((h,c)=>{let d=Af({},h),w={};for(const m of c)vve(m),w=Af(w,m);if(d=Af(d,w),w.theme&&w.theme in N3){const m=Af({},FJ),k=Af(m.themeVariables||{},w.themeVariables);d.theme&&d.theme in N3&&(d.themeVariables=N3[d.theme].getThemeVariables(k))}return uD=d,$in(uD),uD},"updateCurrentConfig"),Oin=q(h=>(Qg=Af({},CA),Qg=Af(Qg,h),h.theme&&N3[h.theme]&&(Qg.themeVariables=N3[h.theme].getThemeVariables(h.themeVariables)),jD(Qg,j8),Qg),"setSiteConfig"),Iin=q(h=>{FJ=Af({},h)},"saveConfigFromInitialize"),Pin=q(h=>(Qg=Af(Qg,h),jD(Qg,j8),Qg),"updateSiteConfig"),mve=q(()=>Af({},Qg),"getSiteConfig"),yve=q(h=>(jD(uD,[h]),Cl()),"setConfig"),Cl=q(()=>Af({},uD),"getConfig"),vve=q(h=>{h&&(["secure",...Qg.secure??[]].forEach(c=>{Object.hasOwn(h,c)&&(Ae.debug(`Denied attempt to modify a secure key ${c}`,h[c]),delete h[c])}),Object.keys(h).forEach(c=>{c.startsWith("__")&&delete h[c]}),Object.keys(h).forEach(c=>{typeof h[c]=="string"&&(h[c].includes("<")||h[c].includes(">")||h[c].includes("url(data:"))&&delete h[c],typeof h[c]=="object"&&vve(h[c])}))},"sanitize"),jin=q(h=>{var c;LJ(h),h.fontFamily&&!((c=h.themeVariables)!=null&&c.fontFamily)&&(h.themeVariables={...h.themeVariables,fontFamily:h.fontFamily}),j8.push(h),jD(Qg,j8)},"addDirective"),_J=q((h=Qg)=>{j8=[],jD(h,j8)},"reset"),Din={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",FLOWCHART_HTML_LABELS_DEPRECATED:"flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."},tme={},kve=q(h=>{tme[h]||(Ae.warn(Din[h]),tme[h]=!0)},"issueWarning"),$in=q(h=>{h&&(h.lazyLoadedDiagrams||h.loadExternalDiagramsAtStartup)&&kve("LAZY_LOAD_DEPRECATED")},"checkConfig"),mpn=q(()=>{let h={};FJ&&(h=Af(h,FJ));for(const c of j8)h=Af(h,c);return h},"getUserDefinedConfig"),Gd=q(h=>{var c,d;return((c=h.flowchart)==null?void 0:c.htmlLabels)!=null&&kve("FLOWCHART_HTML_LABELS_DEPRECATED"),qy(h.htmlLabels??((d=h.flowchart)==null?void 0:d.htmlLabels)??!0)},"getEffectiveHtmlLabels"),Cve=/^([^\S\n\r]*)-{3}\s*[\n\r](.*?)[\n\r]\1-{3}\s*[\n\r]+/s,hD=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Rin=/\s*%%.*\n/gm,_8,xve=(_8=class extends Error{constructor(c){super(c),this.name="UnknownDiagramError"}},O(_8,"UnknownDiagramError"),q(_8,"UnknownDiagramError"),_8),D8={},Okt=q(function(h,c){h=h.replace(Cve,"").replace(hD,"").replace(Rin,`
|
|
5
|
-
`);for(const[d,{detector:w}]of Object.entries(D8))if(w(h,c))return d;throw new xve(`No diagram type detected matching given configuration for text: ${h}`)},"detectType"),K3t=q((...h)=>{for(const{id:c,detector:d,loader:w}of h)Tve(c,d,w)},"registerLazyLoadedDiagrams"),Tve=q((h,c,d)=>{D8[h]&&Ae.warn(`Detector with key ${h} already exists. Overwriting.`),D8[h]={detector:c,loader:d},Ae.debug(`Detector with key ${h} added${d?" with loader":""}`)},"addDetector"),Nin=q(h=>D8[h].loader,"getDiagramLoader"),DD=/<br\s*\/?>/gi,qin=q(h=>h?Eve(h).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),Hin=(()=>{let h=!1;return()=>{h||(Ikt(),h=!0)}})();function Ikt(){const h="data-temp-href-target";kA.addHook("beforeSanitizeAttributes",c=>{c.tagName==="A"&&c.hasAttribute("target")&&c.setAttribute(h,c.getAttribute("target")??"")}),kA.addHook("afterSanitizeAttributes",c=>{c.tagName==="A"&&c.hasAttribute(h)&&(c.setAttribute("target",c.getAttribute(h)??""),c.removeAttribute(h),c.getAttribute("target")==="_blank"&&c.setAttribute("rel","noopener"))})}O(Ikt,"setupDompurifyHooks");q(Ikt,"setupDompurifyHooks");var Sve=q(h=>(Hin(),kA.sanitize(h)),"removeScript"),eme=q((h,c)=>{if(Gd(c)){const d=c.securityLevel;d==="antiscript"||d==="strict"||d==="sandbox"?h=Sve(h):d!=="loose"&&(h=Eve(h),h=h.replace(/</g,"<").replace(/>/g,">"),h=h.replace(/=/g,"="),h=Uin(h))}return h},"sanitizeMore"),Zw=q((h,c)=>h&&(c.dompurifyConfig?h=kA.sanitize(eme(h,c),c.dompurifyConfig).toString():h=kA.sanitize(eme(h,c),{FORBID_TAGS:["style"]}).toString(),h),"sanitizeText"),Kin=q((h,c)=>typeof h=="string"?Zw(h,c):h.flat().map(d=>Zw(d,c)),"sanitizeTextOrArray"),zin=q(h=>DD.test(h),"hasBreaks"),Win=q(h=>h.split(DD),"splitBreaks"),Uin=q(h=>h.replace(/#br#/g,"<br/>"),"placeholderToBreak"),Eve=q(h=>h.replace(DD,"#br#"),"breakToPlaceholder"),Gin=q(h=>{let c="";return h&&(c=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,c=CSS.escape(c)),c},"getUrl"),Xin=q(function(...h){const c=h.filter(d=>!isNaN(d));return Math.max(...c)},"getMax"),Vin=q(function(...h){const c=h.filter(d=>!isNaN(d));return Math.min(...c)},"getMin"),nme=q(function(h){const c=h.split(/(,)/),d=[];for(let w=0;w<c.length;w++){let m=c[w];if(m===","&&w>0&&w+1<c.length){const k=c[w-1],p=c[w+1];Yin(k,p)&&(m=k+","+p,w++,d.pop())}d.push(Jin(m))}return d.join("")},"parseGenericTypes"),z3t=q((h,c)=>Math.max(0,h.split(c).length-1),"countOccurrence"),Yin=q((h,c)=>{const d=z3t(h,"~"),w=z3t(c,"~");return d===1&&w===1},"shouldCombineSets"),Jin=q(h=>{const c=z3t(h,"~");let d=!1;if(c<=1)return h;c%2!==0&&h.startsWith("~")&&(h=h.substring(1),d=!0);const w=[...h];let m=w.indexOf("~"),k=w.lastIndexOf("~");for(;m!==-1&&k!==-1&&m!==k;)w[m]="<",w[k]=">",m=w.indexOf("~"),k=w.lastIndexOf("~");return d&&w.unshift("~"),w.join("")},"processSet"),rme=q(()=>window.MathMLElement!==void 0,"isMathMLSupported"),W3t=/\$\$(.*?)\$\$/g,kD=q(h=>{var c;return(((c=h.match(W3t))==null?void 0:c.length)??0)>0},"hasKatex"),
|
|
4
|
+
`+G1),La&&(G1=cx(G1)),Vt&&He?kn(G1):G1},c.setConfig=function(){let or=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};cS(or),Vl=!0,W1=Xn,H=Jr},c.clearConfig=function(){Hy=null,Vl=!1,W1=null,H=null,Vt=be,Gt=""},c.isValidAttribute=function(or,Bt,Le){Hy||cS({});const jn=_a(or),Zr=_a(Bt);return NA(jn,Zr,Le)},c.addHook=function(or,Bt){typeof Bt=="function"&&Bf($n,or)&&HB($n[or],Bt)},c.removeHook=function(or,Bt){if(Bf($n,or)){if(Bt!==void 0){const Le=Hrn($n[or],Bt);return Le===-1?void 0:Krn($n[or],Le,1)[0]}return q2e($n[or])}},c.removeHooks=function(or){Bf($n,or)&&($n[or]=[])},c.removeAllHooks=function(){$n=Z2e()},c}O(_kt,"createDOMPurify");var kA=_kt(),H3t=q((h,c,{depth:d=2}={})=>{const w={depth:d};if(Array.isArray(c)&&!Array.isArray(h))return c.forEach(m=>H3t(h,m,w)),h;if(Array.isArray(c)&&Array.isArray(h))return c.forEach(m=>{h.includes(m)||h.push(m)}),h;if(h==null||d<=0)return h!=null&&typeof h=="object"&&typeof c=="object"?Object.assign(h,c):c;if(c!=null&&typeof h=="object"&&typeof c=="object"){const m=h;Object.entries(c).forEach(([k,p])=>{if(typeof p=="object"){if(p===null)return;Object.hasOwn(h,k)||Object.defineProperty(h,k,{value:void 0,writable:!0,enumerable:!0,configurable:!0}),m[k]===void 0&&(m[k]=Array.isArray(p)?[]:{}),typeof m[k]=="object"&&(m[k]=H3t(m[k],p,{depth:d-1}))}else typeof m[k]!="object"&&(Object.hasOwn(h,k)?m[k]=p:Object.defineProperty(h,k,{value:p,writable:!0,enumerable:!0,configurable:!0}))})}return h},"assignWithDepth"),Af=H3t,Ry="#ffffff",Ny="#f2f2f2",as=q((h,c)=>c?ot(h,{s:-40,l:10}):ot(h,{s:-40,l:-10}),"mkBorder"),k8,ain=(k8=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.useGradient=!0,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))"}updateColors(){var d,w,m,k,p,T,E,B,A,L,I,$,P,U,J,X,rt,lt,xt,Mt,Vt,Gt,be,Ze,Fe,Me,kn,Y,ce,oe,Ot,we,de,Pe,on,$n,xr,_r,Yr,Br,Ri,Oi,Is,hi,sr,Xn,Ii,Jr,$o,Qt;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||ot(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ot(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||as(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||as(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||as(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||he(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||he(this.tertiaryColor),this.lineColor=this.lineColor||he(this.background),this.arrowheadColor=this.arrowheadColor||he(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||We(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||he(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||"navy",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.darkMode?(this.rowOdd=this.rowOdd||We(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||We(this.mainBkg,10)):(this.rowOdd=this.rowOdd||ze(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||ze(this.mainBkg,5)),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ot(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ot(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ot(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ot(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ot(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ot(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||ot(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ot(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ot(this.primaryColor,{h:330}),this.darkMode)for(let dr=0;dr<this.THEME_COLOR_LIMIT;dr++)this["cScale"+dr]=We(this["cScale"+dr],75);else for(let dr=0;dr<this.THEME_COLOR_LIMIT;dr++)this["cScale"+dr]=We(this["cScale"+dr],25);for(let dr=0;dr<this.THEME_COLOR_LIMIT;dr++)this["cScaleInv"+dr]=this["cScaleInv"+dr]||he(this["cScale"+dr]);for(let dr=0;dr<this.THEME_COLOR_LIMIT;dr++)this.darkMode?this["cScalePeer"+dr]=this["cScalePeer"+dr]||ze(this["cScale"+dr],10):this["cScalePeer"+dr]=this["cScalePeer"+dr]||We(this["cScale"+dr],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let dr=0;dr<this.THEME_COLOR_LIMIT;dr++)this["cScaleLabel"+dr]=this["cScaleLabel"+dr]||this.scaleLabelColor;const c=this.darkMode?-4:-1;for(let dr=0;dr<5;dr++)this["surface"+dr]=this["surface"+dr]||ot(this.mainBkg,{h:180,s:-15,l:c*(5+dr*3)}),this["surfacePeer"+dr]=this["surfacePeer"+dr]||ot(this.mainBkg,{h:180,s:-15,l:c*(8+dr*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||ot(this.primaryColor,{h:64}),this.fillType3=this.fillType3||ot(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||ot(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||ot(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||ot(this.primaryColor,{h:128}),this.fillType7=this.fillType7||ot(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||ot(this.primaryColor,{l:-10}),this.pie5=this.pie5||ot(this.secondaryColor,{l:-10}),this.pie6=this.pie6||ot(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||ot(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||ot(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||ot(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||ot(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||ot(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||ot(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.venn1=this.venn1??ot(this.primaryColor,{l:-30}),this.venn2=this.venn2??ot(this.secondaryColor,{l:-30}),this.venn3=this.venn3??ot(this.tertiaryColor,{l:-30}),this.venn4=this.venn4??ot(this.primaryColor,{h:60,l:-30}),this.venn5=this.venn5??ot(this.primaryColor,{h:-60,l:-30}),this.venn6=this.venn6??ot(this.secondaryColor,{h:60,l:-30}),this.venn7=this.venn7??ot(this.primaryColor,{h:120,l:-30}),this.venn8=this.venn8??ot(this.secondaryColor,{h:120,l:-30}),this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.cynefin={domainFontSize:((d=this.cynefin)==null?void 0:d.domainFontSize)||16,itemFontSize:((w=this.cynefin)==null?void 0:w.itemFontSize)||12,boundaryColor:((m=this.cynefin)==null?void 0:m.boundaryColor)||this.lineColor,boundaryWidth:((k=this.cynefin)==null?void 0:k.boundaryWidth)||2,cliffColor:((p=this.cynefin)==null?void 0:p.cliffColor)||"#8B0000",cliffWidth:((T=this.cynefin)==null?void 0:T.cliffWidth)||4,arrowColor:((E=this.cynefin)==null?void 0:E.arrowColor)||this.lineColor,arrowWidth:((B=this.cynefin)==null?void 0:B.arrowWidth)||2,complexBg:((A=this.cynefin)==null?void 0:A.complexBg)||"#E8F5E9",complicatedBg:((L=this.cynefin)==null?void 0:L.complicatedBg)||"#E3F2FD",chaoticBg:((I=this.cynefin)==null?void 0:I.chaoticBg)||"#FBE9E7",clearBg:(($=this.cynefin)==null?void 0:$.clearBg)||"#FFF8E1",confusionBg:((P=this.cynefin)==null?void 0:P.confusionBg)||"#F3E5F5",textColor:((U=this.cynefin)==null?void 0:U.textColor)||this.textColor,labelColor:((J=this.cynefin)==null?void 0:J.labelColor)||this.primaryTextColor},this.radar={axisColor:((X=this.radar)==null?void 0:X.axisColor)||this.lineColor,axisStrokeWidth:((rt=this.radar)==null?void 0:rt.axisStrokeWidth)||2,axisLabelFontSize:((lt=this.radar)==null?void 0:lt.axisLabelFontSize)||12,curveOpacity:((xt=this.radar)==null?void 0:xt.curveOpacity)||.5,curveStrokeWidth:((Mt=this.radar)==null?void 0:Mt.curveStrokeWidth)||2,graticuleColor:((Vt=this.radar)==null?void 0:Vt.graticuleColor)||"#DEDEDE",graticuleStrokeWidth:((Gt=this.radar)==null?void 0:Gt.graticuleStrokeWidth)||1,graticuleOpacity:((be=this.radar)==null?void 0:be.graticuleOpacity)||.3,legendBoxSize:((Ze=this.radar)==null?void 0:Ze.legendBoxSize)||12,legendFontSize:((Fe=this.radar)==null?void 0:Fe.legendFontSize)||12},this.wardleyEvolutionColor=this.wardleyEvolutionColor||"#dc3545",this.wardley={backgroundColor:((Me=this.wardley)==null?void 0:Me.backgroundColor)||this.background,axisColor:((kn=this.wardley)==null?void 0:kn.axisColor)||this.lineColor,axisTextColor:((Y=this.wardley)==null?void 0:Y.axisTextColor)||this.primaryTextColor,gridColor:((ce=this.wardley)==null?void 0:ce.gridColor)||this.gridColor,componentFill:((oe=this.wardley)==null?void 0:oe.componentFill)||this.background,componentStroke:((Ot=this.wardley)==null?void 0:Ot.componentStroke)||this.lineColor,componentLabelColor:((we=this.wardley)==null?void 0:we.componentLabelColor)||this.primaryTextColor,linkStroke:((de=this.wardley)==null?void 0:de.linkStroke)||this.lineColor,evolutionStroke:((Pe=this.wardley)==null?void 0:Pe.evolutionStroke)||this.wardleyEvolutionColor,annotationStroke:((on=this.wardley)==null?void 0:on.annotationStroke)||this.lineColor,annotationTextColor:(($n=this.wardley)==null?void 0:$n.annotationTextColor)||this.primaryTextColor,annotationFill:((xr=this.wardley)==null?void 0:xr.annotationFill)||this.background},this.archEdgeColor=this.archEdgeColor||"#777",this.archEdgeArrowColor=this.archEdgeArrowColor||"#777",this.archEdgeWidth=this.archEdgeWidth||"3",this.archGroupBorderColor=this.archGroupBorderColor||"#000",this.archGroupBorderWidth=this.archGroupBorderWidth||"2px",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((_r=this.xyChart)==null?void 0:_r.backgroundColor)||this.background,titleColor:((Yr=this.xyChart)==null?void 0:Yr.titleColor)||this.primaryTextColor,dataLabelColor:((Br=this.xyChart)==null?void 0:Br.dataLabelColor)||this.primaryTextColor,legendTextColor:((Ri=this.xyChart)==null?void 0:Ri.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((Oi=this.xyChart)==null?void 0:Oi.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((Is=this.xyChart)==null?void 0:Is.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((hi=this.xyChart)==null?void 0:hi.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((sr=this.xyChart)==null?void 0:sr.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((Xn=this.xyChart)==null?void 0:Xn.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((Ii=this.xyChart)==null?void 0:Ii.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((Jr=this.xyChart)==null?void 0:Jr.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:(($o=this.xyChart)==null?void 0:$o.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((Qt=this.xyChart)==null?void 0:Qt.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||ot(this.primaryColor,{h:-30}),this.git4=this.git4||ot(this.primaryColor,{h:-60}),this.git5=this.git5||ot(this.primaryColor,{h:-90}),this.git6=this.git6||ot(this.primaryColor,{h:60}),this.git7=this.git7||ot(this.primaryColor,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.emUiFill=this.emUiFill||"white",this.emUiStroke=this.emUiStroke||"#dbdada",this.emProcessorFill=this.emProcessorFill||"#edb3f6",this.emProcessorStroke=this.emProcessorStroke||"#b88cbf",this.emReadModelFill=this.emReadModelFill||"#d3f1a2",this.emReadModelStroke=this.emReadModelStroke||"#a3b732",this.emCommandFill=this.emCommandFill||"#bcd6fe",this.emCommandStroke=this.emCommandStroke||"#679ac3",this.emEventFill=this.emEventFill||"#ffb778",this.emEventStroke=this.emEventStroke||"#c19a0f",this.emSwimlaneBackgroundOdd=this.emSwimlaneBackgroundOdd||"rgb(250,250,250)",this.emSwimlaneBackgroundStroke=this.emSwimlaneBackgroundStroke||"rgb(240,240,240)",this.emArrowhead=this.emArrowhead||this.lineColor,this.emRelationStroke=this.emRelationStroke||this.lineColor,this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(k8,"Theme"),q(k8,"Theme"),k8),lin=q(h=>{const c=new ain;return c.calculate(h),c},"getThemeVariables"),C8,uin=(C8=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ze(this.primaryColor,16),this.tertiaryColor=ot(this.primaryColor,{h:-160}),this.primaryBorderColor=he(this.background),this.secondaryBorderColor=as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=as(this.tertiaryColor,this.darkMode),this.primaryTextColor=he(this.primaryColor),this.secondaryTextColor=he(this.secondaryColor),this.tertiaryTextColor=he(this.tertiaryColor),this.lineColor=he(this.background),this.textColor=he(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ze(he("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=Q4(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.clusterBkg="#302F3D",this.sectionBkgColor=We("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=We(this.sectionBkgColor,10),this.taskBorderColor=Q4(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=Q4(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||ze(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||We(this.mainBkg,10),this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))",this.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal"}updateColors(){var c,d,w,m,k,p,T,E,B,A,L,I,$,P,U,J,X,rt,lt,xt,Mt,Vt,Gt,be,Ze,Fe,Me,kn,Y,ce,oe,Ot,we,de,Pe,on,$n,xr,_r,Yr,Br,Ri,Oi,Is,hi,sr,Xn,Ii,Jr,$o;this.secondBkg=ze(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=ze(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.background,this.taskBkgColor=ze(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=he(this.doneTaskBkgColor),this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=ot(this.primaryColor,{h:64}),this.fillType3=ot(this.secondaryColor,{h:64}),this.fillType4=ot(this.primaryColor,{h:-64}),this.fillType5=ot(this.secondaryColor,{h:-64}),this.fillType6=ot(this.primaryColor,{h:128}),this.fillType7=ot(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ot(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ot(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ot(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ot(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ot(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ot(this.primaryColor,{h:210}),this.cScale9=this.cScale9||ot(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ot(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ot(this.primaryColor,{h:330});for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleInv"+Qt]=this["cScaleInv"+Qt]||he(this["cScale"+Qt]);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScalePeer"+Qt]=this["cScalePeer"+Qt]||ze(this["cScale"+Qt],10);for(let Qt=0;Qt<5;Qt++)this["surface"+Qt]=this["surface"+Qt]||ot(this.mainBkg,{h:30,s:-30,l:-(-10+Qt*4)}),this["surfacePeer"+Qt]=this["surfacePeer"+Qt]||ot(this.mainBkg,{h:30,s:-30,l:-(-7+Qt*4)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleLabel"+Qt]=this["cScaleLabel"+Qt]||this.scaleLabelColor;for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["pie"+Qt]=this["cScale"+Qt];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.mainContrastColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.mainContrastColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7";for(let Qt=0;Qt<8;Qt++)this["venn"+(Qt+1)]=this["venn"+(Qt+1)]??ze(this["cScale"+Qt],30);this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.cynefin={domainFontSize:((c=this.cynefin)==null?void 0:c.domainFontSize)||16,itemFontSize:((d=this.cynefin)==null?void 0:d.itemFontSize)||12,boundaryColor:((w=this.cynefin)==null?void 0:w.boundaryColor)||this.lineColor,boundaryWidth:((m=this.cynefin)==null?void 0:m.boundaryWidth)||2,cliffColor:((k=this.cynefin)==null?void 0:k.cliffColor)||"#FF6B6B",cliffWidth:((p=this.cynefin)==null?void 0:p.cliffWidth)||4,arrowColor:((T=this.cynefin)==null?void 0:T.arrowColor)||this.lineColor,arrowWidth:((E=this.cynefin)==null?void 0:E.arrowWidth)||2,complexBg:((B=this.cynefin)==null?void 0:B.complexBg)||"#1B5E20",complicatedBg:((A=this.cynefin)==null?void 0:A.complicatedBg)||"#0D47A1",chaoticBg:((L=this.cynefin)==null?void 0:L.chaoticBg)||"#BF360C",clearBg:((I=this.cynefin)==null?void 0:I.clearBg)||"#F57F17",confusionBg:(($=this.cynefin)==null?void 0:$.confusionBg)||"#4A148C",textColor:((P=this.cynefin)==null?void 0:P.textColor)||this.textColor,labelColor:((U=this.cynefin)==null?void 0:U.labelColor)||this.primaryTextColor},this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((J=this.xyChart)==null?void 0:J.backgroundColor)||this.background,titleColor:((X=this.xyChart)==null?void 0:X.titleColor)||this.primaryTextColor,dataLabelColor:((rt=this.xyChart)==null?void 0:rt.dataLabelColor)||this.primaryTextColor,legendTextColor:((lt=this.xyChart)==null?void 0:lt.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((xt=this.xyChart)==null?void 0:xt.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((Mt=this.xyChart)==null?void 0:Mt.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((Vt=this.xyChart)==null?void 0:Vt.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((Gt=this.xyChart)==null?void 0:Gt.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((be=this.xyChart)==null?void 0:be.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((Ze=this.xyChart)==null?void 0:Ze.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((Fe=this.xyChart)==null?void 0:Fe.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((Me=this.xyChart)==null?void 0:Me.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((kn=this.xyChart)==null?void 0:kn.plotColorPalette)||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.background},this.radar={axisColor:((Y=this.radar)==null?void 0:Y.axisColor)||this.lineColor,axisStrokeWidth:((ce=this.radar)==null?void 0:ce.axisStrokeWidth)||2,axisLabelFontSize:((oe=this.radar)==null?void 0:oe.axisLabelFontSize)||12,curveOpacity:((Ot=this.radar)==null?void 0:Ot.curveOpacity)||.5,curveStrokeWidth:((we=this.radar)==null?void 0:we.curveStrokeWidth)||2,graticuleColor:((de=this.radar)==null?void 0:de.graticuleColor)||"#DEDEDE",graticuleStrokeWidth:((Pe=this.radar)==null?void 0:Pe.graticuleStrokeWidth)||1,graticuleOpacity:((on=this.radar)==null?void 0:on.graticuleOpacity)||.3,legendBoxSize:(($n=this.radar)==null?void 0:$n.legendBoxSize)||12,legendFontSize:((xr=this.radar)==null?void 0:xr.legendFontSize)||12},this.wardleyEvolutionColor=this.wardleyEvolutionColor||"#ff6b6b",this.wardley={backgroundColor:((_r=this.wardley)==null?void 0:_r.backgroundColor)||this.background,axisColor:((Yr=this.wardley)==null?void 0:Yr.axisColor)||this.lineColor,axisTextColor:((Br=this.wardley)==null?void 0:Br.axisTextColor)||this.primaryTextColor,gridColor:((Ri=this.wardley)==null?void 0:Ri.gridColor)||this.gridColor,componentFill:((Oi=this.wardley)==null?void 0:Oi.componentFill)||this.mainBkg,componentStroke:((Is=this.wardley)==null?void 0:Is.componentStroke)||this.lineColor,componentLabelColor:((hi=this.wardley)==null?void 0:hi.componentLabelColor)||this.primaryTextColor,linkStroke:((sr=this.wardley)==null?void 0:sr.linkStroke)||this.lineColor,evolutionStroke:((Xn=this.wardley)==null?void 0:Xn.evolutionStroke)||this.wardleyEvolutionColor,annotationStroke:((Ii=this.wardley)==null?void 0:Ii.annotationStroke)||this.lineColor,annotationTextColor:((Jr=this.wardley)==null?void 0:Jr.annotationTextColor)||this.primaryTextColor,annotationFill:(($o=this.wardley)==null?void 0:$o.annotationFill)||this.mainBkg},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=ze(this.secondaryColor,20),this.git1=ze(this.pie2||this.secondaryColor,20),this.git2=ze(this.pie3||this.tertiaryColor,20),this.git3=ze(this.pie4||ot(this.primaryColor,{h:-30}),20),this.git4=ze(this.pie5||ot(this.primaryColor,{h:-60}),20),this.git5=ze(this.pie6||ot(this.primaryColor,{h:-90}),10),this.git6=ze(this.pie7||ot(this.primaryColor,{h:60}),10),this.git7=ze(this.pie8||ot(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||he(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||he(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.emUiFill=this.emUiFill||"#2d2d2d",this.emUiStroke=this.emUiStroke||"#555",this.emProcessorFill=this.emProcessorFill||ze("#5a3d5c",10),this.emProcessorStroke=this.emProcessorStroke||"#8a6d8c",this.emReadModelFill=this.emReadModelFill||ze("#3d5a2d",10),this.emReadModelStroke=this.emReadModelStroke||"#6d8c5c",this.emCommandFill=this.emCommandFill||ze("#2d3d5a",10),this.emCommandStroke=this.emCommandStroke||"#5c6d8c",this.emEventFill=this.emEventFill||ze("#5a452d",10),this.emEventStroke=this.emEventStroke||"#8c755c",this.emSwimlaneBackgroundOdd=this.emSwimlaneBackgroundOdd||ze(this.background,5),this.emSwimlaneBackgroundStroke=this.emSwimlaneBackgroundStroke||ze(this.background,12),this.emArrowhead=this.emArrowhead||this.lineColor,this.emRelationStroke=this.emRelationStroke||this.lineColor,this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||ze(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ze(this.background,2),this.nodeBorder=this.nodeBorder||"#999"}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(C8,"Theme2"),q(C8,"Theme"),C8),hin=q(h=>{const c=new uin;return c.calculate(h),c},"getThemeVariables"),x8,fin=(x8=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=ot(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=ot(this.primaryColor,{h:-160}),this.primaryBorderColor=as(this.primaryColor,this.darkMode),this.secondaryBorderColor=as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=as(this.tertiaryColor,this.darkMode),this.primaryTextColor=he(this.primaryColor),this.secondaryTextColor=he(this.secondaryColor),this.tertiaryTextColor=he(this.tertiaryColor),this.lineColor=he(this.background),this.textColor=he(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.primaryBorderColor=as(this.primaryColor,this.darkMode),this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.clusterBkg="#FBFBFF",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.sectionBkgColor=Q4(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="navy",this.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd="calculated",this.rowEven="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!1,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow(1px 2px 2px rgba(185, 185, 185, 1))",this.updateColors()}updateColors(){var c,d,w,m,k,p,T,E,B,A,L,I,$,P,U,J,X,rt,lt,xt,Mt,Vt,Gt,be,Ze,Fe,Me,kn,Y,ce,oe,Ot,we,de,Pe,on,$n,xr,_r,Yr,Br,Ri,Oi,Is,hi,sr,Xn,Ii,Jr,$o;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ot(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ot(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ot(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ot(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ot(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ot(this.primaryColor,{h:210}),this.cScale9=this.cScale9||ot(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ot(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ot(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||We(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||We(this.tertiaryColor,40);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScale"+Qt]=We(this["cScale"+Qt],10),this["cScalePeer"+Qt]=this["cScalePeer"+Qt]||We(this["cScale"+Qt],25);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleInv"+Qt]=this["cScaleInv"+Qt]||ot(this["cScale"+Qt],{h:180});for(let Qt=0;Qt<5;Qt++)this["surface"+Qt]=this["surface"+Qt]||ot(this.mainBkg,{h:30,l:-(5+Qt*5)}),this["surfacePeer"+Qt]=this["surfacePeer"+Qt]||ot(this.mainBkg,{h:30,l:-(7+Qt*5)});if(this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,this.labelTextColor!=="calculated"){this.cScaleLabel0=this.cScaleLabel0||he(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||he(this.labelTextColor);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleLabel"+Qt]=this["cScaleLabel"+Qt]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||ze(this.primaryColor,75)||"#ffffff",this.rowEven=this.rowEven||ze(this.primaryColor,1),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=ot(this.primaryColor,{h:64}),this.fillType3=ot(this.secondaryColor,{h:64}),this.fillType4=ot(this.primaryColor,{h:-64}),this.fillType5=ot(this.secondaryColor,{h:-64}),this.fillType6=ot(this.primaryColor,{h:128}),this.fillType7=ot(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||ot(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||ot(this.primaryColor,{l:-10}),this.pie5=this.pie5||ot(this.secondaryColor,{l:-30}),this.pie6=this.pie6||ot(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||ot(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||ot(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||ot(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||ot(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||ot(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||ot(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.venn1=this.venn1??ot(this.primaryColor,{l:-30}),this.venn2=this.venn2??ot(this.secondaryColor,{l:-30}),this.venn3=this.venn3??ot(this.tertiaryColor,{l:-40}),this.venn4=this.venn4??ot(this.primaryColor,{h:60,l:-30}),this.venn5=this.venn5??ot(this.primaryColor,{h:-60,l:-30}),this.venn6=this.venn6??ot(this.secondaryColor,{h:60,l:-30}),this.venn7=this.venn7??ot(this.primaryColor,{h:120,l:-30}),this.venn8=this.venn8??ot(this.secondaryColor,{h:120,l:-30}),this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.cynefin={domainFontSize:((c=this.cynefin)==null?void 0:c.domainFontSize)||16,itemFontSize:((d=this.cynefin)==null?void 0:d.itemFontSize)||12,boundaryColor:((w=this.cynefin)==null?void 0:w.boundaryColor)||this.lineColor,boundaryWidth:((m=this.cynefin)==null?void 0:m.boundaryWidth)||2,cliffColor:((k=this.cynefin)==null?void 0:k.cliffColor)||"#8B0000",cliffWidth:((p=this.cynefin)==null?void 0:p.cliffWidth)||4,arrowColor:((T=this.cynefin)==null?void 0:T.arrowColor)||this.lineColor,arrowWidth:((E=this.cynefin)==null?void 0:E.arrowWidth)||2,complexBg:((B=this.cynefin)==null?void 0:B.complexBg)||"#E8F5E9",complicatedBg:((A=this.cynefin)==null?void 0:A.complicatedBg)||"#E3F2FD",chaoticBg:((L=this.cynefin)==null?void 0:L.chaoticBg)||"#FBE9E7",clearBg:((I=this.cynefin)==null?void 0:I.clearBg)||"#FFF8E1",confusionBg:(($=this.cynefin)==null?void 0:$.confusionBg)||"#F3E5F5",textColor:((P=this.cynefin)==null?void 0:P.textColor)||this.textColor,labelColor:((U=this.cynefin)==null?void 0:U.labelColor)||this.primaryTextColor},this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.radar={axisColor:((J=this.radar)==null?void 0:J.axisColor)||this.lineColor,axisStrokeWidth:((X=this.radar)==null?void 0:X.axisStrokeWidth)||2,axisLabelFontSize:((rt=this.radar)==null?void 0:rt.axisLabelFontSize)||12,curveOpacity:((lt=this.radar)==null?void 0:lt.curveOpacity)||.5,curveStrokeWidth:((xt=this.radar)==null?void 0:xt.curveStrokeWidth)||2,graticuleColor:((Mt=this.radar)==null?void 0:Mt.graticuleColor)||"#DEDEDE",graticuleStrokeWidth:((Vt=this.radar)==null?void 0:Vt.graticuleStrokeWidth)||1,graticuleOpacity:((Gt=this.radar)==null?void 0:Gt.graticuleOpacity)||.3,legendBoxSize:((be=this.radar)==null?void 0:be.legendBoxSize)||12,legendFontSize:((Ze=this.radar)==null?void 0:Ze.legendFontSize)||12},this.wardleyEvolutionColor=this.wardleyEvolutionColor||"#dc3545",this.wardley={backgroundColor:((Fe=this.wardley)==null?void 0:Fe.backgroundColor)||this.background,axisColor:((Me=this.wardley)==null?void 0:Me.axisColor)||this.lineColor,axisTextColor:((kn=this.wardley)==null?void 0:kn.axisTextColor)||this.primaryTextColor,gridColor:((Y=this.wardley)==null?void 0:Y.gridColor)||this.gridColor,componentFill:((ce=this.wardley)==null?void 0:ce.componentFill)||this.background,componentStroke:((oe=this.wardley)==null?void 0:oe.componentStroke)||this.lineColor,componentLabelColor:((Ot=this.wardley)==null?void 0:Ot.componentLabelColor)||this.primaryTextColor,linkStroke:((we=this.wardley)==null?void 0:we.linkStroke)||this.lineColor,evolutionStroke:((de=this.wardley)==null?void 0:de.evolutionStroke)||this.wardleyEvolutionColor,annotationStroke:((Pe=this.wardley)==null?void 0:Pe.annotationStroke)||this.lineColor,annotationTextColor:((on=this.wardley)==null?void 0:on.annotationTextColor)||this.primaryTextColor,annotationFill:(($n=this.wardley)==null?void 0:$n.annotationFill)||this.background},this.xyChart={backgroundColor:((xr=this.xyChart)==null?void 0:xr.backgroundColor)||this.background,titleColor:((_r=this.xyChart)==null?void 0:_r.titleColor)||this.primaryTextColor,dataLabelColor:((Yr=this.xyChart)==null?void 0:Yr.dataLabelColor)||this.primaryTextColor,legendTextColor:((Br=this.xyChart)==null?void 0:Br.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((Ri=this.xyChart)==null?void 0:Ri.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((Oi=this.xyChart)==null?void 0:Oi.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((Is=this.xyChart)==null?void 0:Is.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((hi=this.xyChart)==null?void 0:hi.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((sr=this.xyChart)==null?void 0:sr.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((Xn=this.xyChart)==null?void 0:Xn.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((Ii=this.xyChart)==null?void 0:Ii.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((Jr=this.xyChart)==null?void 0:Jr.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(($o=this.xyChart)==null?void 0:$o.plotColorPalette)||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||ot(this.primaryColor,{h:-30}),this.git4=this.git4||ot(this.primaryColor,{h:-60}),this.git5=this.git5||ot(this.primaryColor,{h:-90}),this.git6=this.git6||ot(this.primaryColor,{h:60}),this.git7=this.git7||ot(this.primaryColor,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||We(he(this.git0),25),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||he(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||he(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.emUiFill=this.emUiFill||"white",this.emUiStroke=this.emUiStroke||"#dbdada",this.emProcessorFill=this.emProcessorFill||"#edb3f6",this.emProcessorStroke=this.emProcessorStroke||"#b88cbf",this.emReadModelFill=this.emReadModelFill||"#d3f1a2",this.emReadModelStroke=this.emReadModelStroke||"#a3b732",this.emCommandFill=this.emCommandFill||"#bcd6fe",this.emCommandStroke=this.emCommandStroke||"#679ac3",this.emEventFill=this.emEventFill||"#ffb778",this.emEventStroke=this.emEventStroke||"#c19a0f",this.emSwimlaneBackgroundOdd=this.emSwimlaneBackgroundOdd||"rgb(250,250,250)",this.emSwimlaneBackgroundStroke=this.emSwimlaneBackgroundStroke||"rgb(240,240,240)",this.emArrowhead=this.emArrowhead||this.lineColor,this.emRelationStroke=this.emRelationStroke||this.lineColor,this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(Object.keys(this).forEach(w=>{this[w]==="calculated"&&(this[w]=void 0)}),typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(x8,"Theme3"),q(x8,"Theme"),x8),din=q(h=>{const c=new fin;return c.calculate(h),c},"getThemeVariables"),T8,gin=(T8=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=ze("#cde498",10),this.primaryBorderColor=as(this.primaryColor,this.darkMode),this.secondaryBorderColor=as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=as(this.tertiaryColor,this.darkMode),this.primaryTextColor=he(this.primaryColor),this.secondaryTextColor=he(this.secondaryColor),this.tertiaryTextColor=he(this.primaryColor),this.lineColor=he(this.background),this.textColor=he(this.background),this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,0.5))"}updateColors(){var c,d,w,m,k,p,T,E,B,A,L,I,$,P,U,J,X,rt,lt,xt,Mt,Vt,Gt,be,Ze,Fe,Me,kn,Y,ce,oe,Ot,we,de,Pe,on,$n,xr,_r,Yr,Br,Ri,Oi,Is,hi,sr,Xn,Ii,Jr,$o;this.actorBorder=We(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ot(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ot(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ot(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ot(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ot(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ot(this.primaryColor,{h:210}),this.cScale9=this.cScale9||ot(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ot(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ot(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||We(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||We(this.tertiaryColor,40);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScale"+Qt]=We(this["cScale"+Qt],10),this["cScalePeer"+Qt]=this["cScalePeer"+Qt]||We(this["cScale"+Qt],25);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleInv"+Qt]=this["cScaleInv"+Qt]||ot(this["cScale"+Qt],{h:180});this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleLabel"+Qt]=this["cScaleLabel"+Qt]||this.scaleLabelColor;for(let Qt=0;Qt<5;Qt++)this["surface"+Qt]=this["surface"+Qt]||ot(this.mainBkg,{h:30,s:-30,l:-(5+Qt*5)}),this["surfacePeer"+Qt]=this["surfacePeer"+Qt]||ot(this.mainBkg,{h:30,s:-30,l:-(8+Qt*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||ze(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||ze(this.mainBkg,20),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=ot(this.primaryColor,{h:64}),this.fillType3=ot(this.secondaryColor,{h:64}),this.fillType4=ot(this.primaryColor,{h:-64}),this.fillType5=ot(this.secondaryColor,{h:-64}),this.fillType6=ot(this.primaryColor,{h:128}),this.fillType7=ot(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||ot(this.primaryColor,{l:-30}),this.pie5=this.pie5||ot(this.secondaryColor,{l:-30}),this.pie6=this.pie6||ot(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||ot(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||ot(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||ot(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||ot(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||ot(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||ot(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.venn1=this.venn1??ot(this.primaryColor,{l:-30}),this.venn2=this.venn2??ot(this.secondaryColor,{l:-30}),this.venn3=this.venn3??ot(this.tertiaryColor,{l:-30}),this.venn4=this.venn4??ot(this.primaryColor,{h:60,l:-30}),this.venn5=this.venn5??ot(this.primaryColor,{h:-60,l:-30}),this.venn6=this.venn6??ot(this.secondaryColor,{h:60,l:-30}),this.venn7=this.venn7??ot(this.primaryColor,{h:120,l:-30}),this.venn8=this.venn8??ot(this.secondaryColor,{h:120,l:-30}),this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.cynefin={domainFontSize:((c=this.cynefin)==null?void 0:c.domainFontSize)||16,itemFontSize:((d=this.cynefin)==null?void 0:d.itemFontSize)||12,boundaryColor:((w=this.cynefin)==null?void 0:w.boundaryColor)||this.lineColor,boundaryWidth:((m=this.cynefin)==null?void 0:m.boundaryWidth)||2,cliffColor:((k=this.cynefin)==null?void 0:k.cliffColor)||"#8B4513",cliffWidth:((p=this.cynefin)==null?void 0:p.cliffWidth)||4,arrowColor:((T=this.cynefin)==null?void 0:T.arrowColor)||this.lineColor,arrowWidth:((E=this.cynefin)==null?void 0:E.arrowWidth)||2,complexBg:((B=this.cynefin)==null?void 0:B.complexBg)||"#C8E6C9",complicatedBg:((A=this.cynefin)==null?void 0:A.complicatedBg)||"#DCEDC8",chaoticBg:((L=this.cynefin)==null?void 0:L.chaoticBg)||"#FFE0B2",clearBg:((I=this.cynefin)==null?void 0:I.clearBg)||"#FFF9C4",confusionBg:(($=this.cynefin)==null?void 0:$.confusionBg)||"#D7CCC8",textColor:((P=this.cynefin)==null?void 0:P.textColor)||this.textColor,labelColor:((U=this.cynefin)==null?void 0:U.labelColor)||this.primaryTextColor},this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.mainBkg},this.radar={axisColor:((J=this.radar)==null?void 0:J.axisColor)||this.lineColor,axisStrokeWidth:((X=this.radar)==null?void 0:X.axisStrokeWidth)||2,axisLabelFontSize:((rt=this.radar)==null?void 0:rt.axisLabelFontSize)||12,curveOpacity:((lt=this.radar)==null?void 0:lt.curveOpacity)||.5,curveStrokeWidth:((xt=this.radar)==null?void 0:xt.curveStrokeWidth)||2,graticuleColor:((Mt=this.radar)==null?void 0:Mt.graticuleColor)||"#DEDEDE",graticuleStrokeWidth:((Vt=this.radar)==null?void 0:Vt.graticuleStrokeWidth)||1,graticuleOpacity:((Gt=this.radar)==null?void 0:Gt.graticuleOpacity)||.3,legendBoxSize:((be=this.radar)==null?void 0:be.legendBoxSize)||12,legendFontSize:((Ze=this.radar)==null?void 0:Ze.legendFontSize)||12},this.wardleyEvolutionColor=this.wardleyEvolutionColor||"#dc3545",this.wardley={backgroundColor:((Fe=this.wardley)==null?void 0:Fe.backgroundColor)||this.background,axisColor:((Me=this.wardley)==null?void 0:Me.axisColor)||this.lineColor,axisTextColor:((kn=this.wardley)==null?void 0:kn.axisTextColor)||this.primaryTextColor,gridColor:((Y=this.wardley)==null?void 0:Y.gridColor)||this.gridColor,componentFill:((ce=this.wardley)==null?void 0:ce.componentFill)||this.background,componentStroke:((oe=this.wardley)==null?void 0:oe.componentStroke)||this.lineColor,componentLabelColor:((Ot=this.wardley)==null?void 0:Ot.componentLabelColor)||this.primaryTextColor,linkStroke:((we=this.wardley)==null?void 0:we.linkStroke)||this.lineColor,evolutionStroke:((de=this.wardley)==null?void 0:de.evolutionStroke)||this.wardleyEvolutionColor,annotationStroke:((Pe=this.wardley)==null?void 0:Pe.annotationStroke)||this.lineColor,annotationTextColor:((on=this.wardley)==null?void 0:on.annotationTextColor)||this.primaryTextColor,annotationFill:(($n=this.wardley)==null?void 0:$n.annotationFill)||this.background},this.xyChart={backgroundColor:((xr=this.xyChart)==null?void 0:xr.backgroundColor)||this.background,titleColor:((_r=this.xyChart)==null?void 0:_r.titleColor)||this.primaryTextColor,dataLabelColor:((Yr=this.xyChart)==null?void 0:Yr.dataLabelColor)||this.primaryTextColor,legendTextColor:((Br=this.xyChart)==null?void 0:Br.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((Ri=this.xyChart)==null?void 0:Ri.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((Oi=this.xyChart)==null?void 0:Oi.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((Is=this.xyChart)==null?void 0:Is.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((hi=this.xyChart)==null?void 0:hi.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((sr=this.xyChart)==null?void 0:sr.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((Xn=this.xyChart)==null?void 0:Xn.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((Ii=this.xyChart)==null?void 0:Ii.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((Jr=this.xyChart)==null?void 0:Jr.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(($o=this.xyChart)==null?void 0:$o.plotColorPalette)||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||ot(this.primaryColor,{h:-30}),this.git4=this.git4||ot(this.primaryColor,{h:-60}),this.git5=this.git5||ot(this.primaryColor,{h:-90}),this.git6=this.git6||ot(this.primaryColor,{h:60}),this.git7=this.git7||ot(this.primaryColor,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||he(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||he(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.emUiFill=this.emUiFill||"white",this.emUiStroke=this.emUiStroke||"#dbdada",this.emProcessorFill=this.emProcessorFill||"#edb3f6",this.emProcessorStroke=this.emProcessorStroke||"#b88cbf",this.emReadModelFill=this.emReadModelFill||"#d3f1a2",this.emReadModelStroke=this.emReadModelStroke||"#a3b732",this.emCommandFill=this.emCommandFill||"#bcd6fe",this.emCommandStroke=this.emCommandStroke||"#679ac3",this.emEventFill=this.emEventFill||"#ffb778",this.emEventStroke=this.emEventStroke||"#c19a0f",this.emSwimlaneBackgroundOdd=this.emSwimlaneBackgroundOdd||"rgb(250,250,250)",this.emSwimlaneBackgroundStroke=this.emSwimlaneBackgroundStroke||"rgb(240,240,240)",this.emArrowhead=this.emArrowhead||this.lineColor,this.emRelationStroke=this.emRelationStroke||this.lineColor,this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(T8,"Theme4"),q(T8,"Theme"),T8),bin=q(h=>{const c=new gin;return c.calculate(h),c},"getThemeVariables"),S8,win=(S8=class{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=ze(this.contrast,55),this.background="#ffffff",this.tertiaryColor=ot(this.primaryColor,{h:-160}),this.primaryBorderColor=as(this.primaryColor,this.darkMode),this.secondaryBorderColor=as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=as(this.tertiaryColor,this.darkMode),this.primaryTextColor=he(this.primaryColor),this.secondaryTextColor=he(this.secondaryColor),this.tertiaryTextColor=he(this.tertiaryColor),this.lineColor=he(this.background),this.textColor=he(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal",this.rowOdd=this.rowOdd||ze(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||"#f4f4f4",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))"}updateColors(){var c,d,w,m,k,p,T,E,B,A,L,I,$,P,U,J,X,rt,lt,xt,Mt,Vt,Gt,be,Ze,Fe,Me,kn,Y,ce,oe,Ot,we,de,Pe,on,$n,xr,_r,Yr,Br,Ri,Oi,Is,hi,sr,Xn,Ii,Jr,$o;this.secondBkg=ze(this.contrast,55),this.border2=this.contrast,this.actorBorder=ze(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleInv"+Qt]=this["cScaleInv"+Qt]||he(this["cScale"+Qt]);for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this.darkMode?this["cScalePeer"+Qt]=this["cScalePeer"+Qt]||ze(this["cScale"+Qt],10):this["cScalePeer"+Qt]=this["cScalePeer"+Qt]||We(this["cScale"+Qt],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["cScaleLabel"+Qt]=this["cScaleLabel"+Qt]||this.scaleLabelColor;for(let Qt=0;Qt<5;Qt++)this["surface"+Qt]=this["surface"+Qt]||ot(this.mainBkg,{l:-(5+Qt*5)}),this["surfacePeer"+Qt]=this["surfacePeer"+Qt]||ot(this.mainBkg,{l:-(8+Qt*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=ze(this.contrast,30),this.sectionBkgColor2=ze(this.contrast,30),this.taskBorderColor=We(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=ze(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=We(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.vertLineColor=this.critBkgColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=ot(this.primaryColor,{h:64}),this.fillType3=ot(this.secondaryColor,{h:64}),this.fillType4=ot(this.primaryColor,{h:-64}),this.fillType5=ot(this.secondaryColor,{h:-64}),this.fillType6=ot(this.primaryColor,{h:128}),this.fillType7=ot(this.secondaryColor,{h:128});for(let Qt=0;Qt<this.THEME_COLOR_LIMIT;Qt++)this["pie"+Qt]=this["cScale"+Qt];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7";for(let Qt=0;Qt<8;Qt++)this["venn"+(Qt+1)]=this["venn"+(Qt+1)]??this["cScale"+Qt];this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.cynefin={domainFontSize:((c=this.cynefin)==null?void 0:c.domainFontSize)||16,itemFontSize:((d=this.cynefin)==null?void 0:d.itemFontSize)||12,boundaryColor:((w=this.cynefin)==null?void 0:w.boundaryColor)||this.lineColor,boundaryWidth:((m=this.cynefin)==null?void 0:m.boundaryWidth)||2,cliffColor:((k=this.cynefin)==null?void 0:k.cliffColor)||"#8B0000",cliffWidth:((p=this.cynefin)==null?void 0:p.cliffWidth)||4,arrowColor:((T=this.cynefin)==null?void 0:T.arrowColor)||this.lineColor,arrowWidth:((E=this.cynefin)==null?void 0:E.arrowWidth)||2,complexBg:((B=this.cynefin)==null?void 0:B.complexBg)||"#E8F5E9",complicatedBg:((A=this.cynefin)==null?void 0:A.complicatedBg)||"#E3F2FD",chaoticBg:((L=this.cynefin)==null?void 0:L.chaoticBg)||"#FBE9E7",clearBg:((I=this.cynefin)==null?void 0:I.clearBg)||"#FFF8E1",confusionBg:(($=this.cynefin)==null?void 0:$.confusionBg)||"#F3E5F5",textColor:((P=this.cynefin)==null?void 0:P.textColor)||this.textColor,labelColor:((U=this.cynefin)==null?void 0:U.labelColor)||this.primaryTextColor},this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((J=this.xyChart)==null?void 0:J.backgroundColor)||this.background,titleColor:((X=this.xyChart)==null?void 0:X.titleColor)||this.primaryTextColor,dataLabelColor:((rt=this.xyChart)==null?void 0:rt.dataLabelColor)||this.primaryTextColor,legendTextColor:((lt=this.xyChart)==null?void 0:lt.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((xt=this.xyChart)==null?void 0:xt.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((Mt=this.xyChart)==null?void 0:Mt.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((Vt=this.xyChart)==null?void 0:Vt.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((Gt=this.xyChart)==null?void 0:Gt.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((be=this.xyChart)==null?void 0:be.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((Ze=this.xyChart)==null?void 0:Ze.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((Fe=this.xyChart)==null?void 0:Fe.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((Me=this.xyChart)==null?void 0:Me.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((kn=this.xyChart)==null?void 0:kn.plotColorPalette)||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.radar={axisColor:((Y=this.radar)==null?void 0:Y.axisColor)||this.lineColor,axisStrokeWidth:((ce=this.radar)==null?void 0:ce.axisStrokeWidth)||2,axisLabelFontSize:((oe=this.radar)==null?void 0:oe.axisLabelFontSize)||12,curveOpacity:((Ot=this.radar)==null?void 0:Ot.curveOpacity)||.5,curveStrokeWidth:((we=this.radar)==null?void 0:we.curveStrokeWidth)||2,graticuleColor:((de=this.radar)==null?void 0:de.graticuleColor)||"#DEDEDE",graticuleStrokeWidth:((Pe=this.radar)==null?void 0:Pe.graticuleStrokeWidth)||1,graticuleOpacity:((on=this.radar)==null?void 0:on.graticuleOpacity)||.3,legendBoxSize:(($n=this.radar)==null?void 0:$n.legendBoxSize)||12,legendFontSize:((xr=this.radar)==null?void 0:xr.legendFontSize)||12},this.wardleyEvolutionColor=this.wardleyEvolutionColor||"#dc3545",this.wardley={backgroundColor:((_r=this.wardley)==null?void 0:_r.backgroundColor)||this.background,axisColor:((Yr=this.wardley)==null?void 0:Yr.axisColor)||this.lineColor,axisTextColor:((Br=this.wardley)==null?void 0:Br.axisTextColor)||this.primaryTextColor,gridColor:((Ri=this.wardley)==null?void 0:Ri.gridColor)||this.gridColor,componentFill:((Oi=this.wardley)==null?void 0:Oi.componentFill)||this.background,componentStroke:((Is=this.wardley)==null?void 0:Is.componentStroke)||this.lineColor,componentLabelColor:((hi=this.wardley)==null?void 0:hi.componentLabelColor)||this.primaryTextColor,linkStroke:((sr=this.wardley)==null?void 0:sr.linkStroke)||this.lineColor,evolutionStroke:((Xn=this.wardley)==null?void 0:Xn.evolutionStroke)||this.wardleyEvolutionColor,annotationStroke:((Ii=this.wardley)==null?void 0:Ii.annotationStroke)||this.lineColor,annotationTextColor:((Jr=this.wardley)==null?void 0:Jr.annotationTextColor)||this.primaryTextColor,annotationFill:(($o=this.wardley)==null?void 0:$o.annotationFill)||this.background},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=We(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||ot(this.primaryColor,{h:-30}),this.git4=this.pie5||ot(this.primaryColor,{h:-60}),this.git5=this.pie6||ot(this.primaryColor,{h:-90}),this.git6=this.pie7||ot(this.primaryColor,{h:60}),this.git7=this.pie8||ot(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.emUiFill=this.emUiFill||"white",this.emUiStroke=this.emUiStroke||"#dbdada",this.emProcessorFill=this.emProcessorFill||"#edb3f6",this.emProcessorStroke=this.emProcessorStroke||"#b88cbf",this.emReadModelFill=this.emReadModelFill||"#d3f1a2",this.emReadModelStroke=this.emReadModelStroke||"#a3b732",this.emCommandFill=this.emCommandFill||"#bcd6fe",this.emCommandStroke=this.emCommandStroke||"#679ac3",this.emEventFill=this.emEventFill||"#ffb778",this.emEventStroke=this.emEventStroke||"#c19a0f",this.emSwimlaneBackgroundOdd=this.emSwimlaneBackgroundOdd||"rgb(250,250,250)",this.emSwimlaneBackgroundStroke=this.emSwimlaneBackgroundStroke||"rgb(240,240,240)",this.emArrowhead=this.emArrowhead||this.lineColor,this.emRelationStroke=this.emRelationStroke||this.lineColor,this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(S8,"Theme5"),q(S8,"Theme"),S8),pin=q(h=>{const c=new win;return c.calculate(h),c},"getThemeVariables"),E8,min=(E8=class{constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=3,this.strokeWidth=2,this.primaryBorderColor=as(this.primaryColor,this.darkMode),this.fontFamily="arial, sans-serif",this.fontSize="14px",this.nodeBorder="#000000",this.stateBorder="#000000",this.useGradient=!0,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="drop-shadow( 0px 1px 2px rgba(0, 0, 0, 0.25));",this.tertiaryColor="#ffffff",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal"}updateColors(){var k,p,T,E,B,A,L,I,$,P,U,J;this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||ot(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ot(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||as(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||as(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||as(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||he(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||he(this.tertiaryColor),this.lineColor=this.lineColor||he(this.background),this.arrowheadColor=this.arrowheadColor||he(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||We(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||he(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor;const c="#ECECFE",d="#E9E9F1",w=ot(c,{h:180,l:5});if(this.sectionBkgColor=this.sectionBkgColor||w,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||d,this.sectionBkgColor2=this.sectionBkgColor2||c,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||c,this.activeTaskBorderColor=this.activeTaskBorderColor||c,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(c,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||c,this.cScale1=this.cScale1||d,this.cScale2=this.cScale2||w,this.cScale3=this.cScale3||ot(c,{h:30}),this.cScale4=this.cScale4||ot(c,{h:60}),this.cScale5=this.cScale5||ot(c,{h:90}),this.cScale6=this.cScale6||ot(c,{h:120}),this.cScale7=this.cScale7||ot(c,{h:150}),this.cScale8=this.cScale8||ot(c,{h:210,l:150}),this.cScale9=this.cScale9||ot(c,{h:270}),this.cScale10=this.cScale10||ot(c,{h:300}),this.cScale11=this.cScale11||ot(c,{h:330}),this.darkMode)for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScale"+X]=We(this["cScale"+X],75);else for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScale"+X]=We(this["cScale"+X],25);for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScaleInv"+X]=this["cScaleInv"+X]||he(this["cScale"+X]);for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this.darkMode?this["cScalePeer"+X]=this["cScalePeer"+X]||ze(this["cScale"+X],10):this["cScalePeer"+X]=this["cScalePeer"+X]||We(this["cScale"+X],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScaleLabel"+X]=this["cScaleLabel"+X]||this.scaleLabelColor;const m=this.darkMode?-4:-1;for(let X=0;X<5;X++)this["surface"+X]=this["surface"+X]||ot(this.mainBkg,{h:180,s:-15,l:m*(5+X*3)}),this["surfacePeer"+X]=this["surfacePeer"+X]||ot(this.mainBkg,{h:180,s:-15,l:m*(8+X*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||c,this.fillType1=this.fillType1||d,this.fillType2=this.fillType2||ot(c,{h:64}),this.fillType3=this.fillType3||ot(d,{h:64}),this.fillType4=this.fillType4||ot(c,{h:-64}),this.fillType5=this.fillType5||ot(d,{h:-64}),this.fillType6=this.fillType6||ot(c,{h:128}),this.fillType7=this.fillType7||ot(d,{h:128}),this.pie1=this.pie1||c,this.pie2=this.pie2||d,this.pie3=this.pie3||w,this.pie4=this.pie4||ot(c,{l:-10}),this.pie5=this.pie5||ot(d,{l:-10}),this.pie6=this.pie6||ot(w,{l:-10}),this.pie7=this.pie7||ot(c,{h:60,l:-10}),this.pie8=this.pie8||ot(c,{h:-60,l:-10}),this.pie9=this.pie9||ot(c,{h:120,l:0}),this.pie10=this.pie10||ot(c,{h:60,l:-20}),this.pie11=this.pie11||ot(c,{h:-60,l:-20}),this.pie12=this.pie12||ot(c,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||c,this.quadrant2Fill=this.quadrant2Fill||ot(c,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(c,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(c,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((k=this.xyChart)==null?void 0:k.backgroundColor)||this.background,titleColor:((p=this.xyChart)==null?void 0:p.titleColor)||this.primaryTextColor,legendTextColor:((T=this.xyChart)==null?void 0:T.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((E=this.xyChart)==null?void 0:E.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((B=this.xyChart)==null?void 0:B.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((A=this.xyChart)==null?void 0:A.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((L=this.xyChart)==null?void 0:L.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((I=this.xyChart)==null?void 0:I.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(($=this.xyChart)==null?void 0:$.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((P=this.xyChart)==null?void 0:P.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((U=this.xyChart)==null?void 0:U.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((J=this.xyChart)==null?void 0:J.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||c,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||c,this.git1=this.git1||d,this.git2=this.git2||w,this.git3=this.git3||ot(c,{h:-30}),this.git4=this.git4||ot(c,{h:-60}),this.git5=this.git5||ot(c,{h:-90}),this.git6=this.git6||ot(c,{h:60}),this.git7=this.git7||ot(c,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(E8,"Theme6"),q(E8,"Theme"),E8),yin=q(h=>{const c=new min;return c.calculate(h),c},"getThemeVariables"),B8,vin=(B8=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ze(this.primaryColor,16),this.tertiaryColor=ot(this.primaryColor,{h:-160}),this.primaryBorderColor=he(this.background),this.secondaryBorderColor=as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=as(this.tertiaryColor,this.darkMode),this.primaryTextColor=he(this.primaryColor),this.secondaryTextColor=he(this.secondaryColor),this.tertiaryTextColor=he(this.tertiaryColor),this.mainBkg="#2a2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ze(he("#323D47"),10),this.border1="#ccc",this.border2=Q4(255,255,255,.25),this.arrowheadColor=he(this.background),this.fontFamily="arial, sans-serif",this.fontSize="14px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=3,this.strokeWidth=1,this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily="arial, sans-serif",this.fontSize="14px",this.useGradient=!0,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,0.2))",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal"}updateColors(){var d,w,m,k,p,T,E,B,A,L,I,$;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||ot(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ot(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||as(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||as(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||as(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||he(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||he(this.tertiaryColor),this.lineColor=this.lineColor||he(this.background),this.arrowheadColor=this.arrowheadColor||he(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||We(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||he(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ot(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ot(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ot(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ot(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ot(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ot(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||ot(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ot(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ot(this.primaryColor,{h:330}),this.darkMode)for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScale"+P]=We(this["cScale"+P],75);else for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScale"+P]=We(this["cScale"+P],25);for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScaleInv"+P]=this["cScaleInv"+P]||he(this["cScale"+P]);for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this.darkMode?this["cScalePeer"+P]=this["cScalePeer"+P]||ze(this["cScale"+P],10):this["cScalePeer"+P]=this["cScalePeer"+P]||We(this["cScale"+P],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScaleLabel"+P]=this["cScaleLabel"+P]||this.scaleLabelColor;const c=this.darkMode?-4:-1;for(let P=0;P<5;P++)this["surface"+P]=this["surface"+P]||ot(this.mainBkg,{h:180,s:-15,l:c*(5+P*3)}),this["surfacePeer"+P]=this["surfacePeer"+P]||ot(this.mainBkg,{h:180,s:-15,l:c*(8+P*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||ot(this.primaryColor,{h:64}),this.fillType3=this.fillType3||ot(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||ot(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||ot(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||ot(this.primaryColor,{h:128}),this.fillType7=this.fillType7||ot(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||ot(this.primaryColor,{l:-10}),this.pie5=this.pie5||ot(this.secondaryColor,{l:-10}),this.pie6=this.pie6||ot(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||ot(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||ot(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||ot(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||ot(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||ot(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||ot(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((d=this.xyChart)==null?void 0:d.backgroundColor)||this.background,titleColor:((w=this.xyChart)==null?void 0:w.titleColor)||this.primaryTextColor,legendTextColor:((m=this.xyChart)==null?void 0:m.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((k=this.xyChart)==null?void 0:k.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((p=this.xyChart)==null?void 0:p.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((T=this.xyChart)==null?void 0:T.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((E=this.xyChart)==null?void 0:E.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((B=this.xyChart)==null?void 0:B.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((A=this.xyChart)==null?void 0:A.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((L=this.xyChart)==null?void 0:L.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((I=this.xyChart)==null?void 0:I.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(($=this.xyChart)==null?void 0:$.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||"#0b0000",this.git1=this.git1||"#4d1037",this.git2=this.git2||"#3f5258",this.git3=this.git3||"#4f2f1b",this.git4=this.git4||"#6e0a0a",this.git5=this.git5||"#3b0048",this.git6=this.git6||"#995a01",this.git7=this.git7||"#154706",this.gitDarkMode=!0,this.gitDarkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(B8,"Theme7"),q(B8,"Theme"),B8),kin=q(h=>{const c=new vin;return c.calculate(h),c},"getThemeVariables"),A8,Cin=(A8=class{constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#28253D",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.primaryBorderColor=as("#28253D",this.darkMode),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#28253D",this.stateBorder="#28253D",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.tertiaryColor="#ffffff",this.clusterBkg="#F9F9FB",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.actorBorder="#28253D",this.filterColor="#000000"}updateColors(){var k,p,T,E,B,A,L,I,$,P,U,J;this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#28253D"),this.secondaryColor=this.secondaryColor||ot(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ot(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||as(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||as(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||as(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#FEF9C3",this.noteTextColor=this.noteTextColor||"#28253D",this.secondaryTextColor=this.secondaryTextColor||he(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||he(this.tertiaryColor),this.lineColor=this.lineColor||he(this.background),this.arrowheadColor=this.arrowheadColor||he(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.noteFontWeight=600,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||We(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||he(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor;const c="#ECECFE",d="#E9E9F1",w=ot(c,{h:180,l:5});this.sectionBkgColor=this.sectionBkgColor||w,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||d,this.sectionBkgColor2=this.sectionBkgColor2||c,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||c,this.activeTaskBorderColor=this.activeTaskBorderColor||c,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(c,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.compositeTitleBackground="#F9F9FB",this.altBackground="#F9F9FB",this.stateEdgeLabelBackground="#FFFFFF",this.fontWeight=600,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor;for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScale"+X]=this.mainBkg;if(this.darkMode)for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScale"+X]=We(this["cScale"+X],75);else for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScale"+X]=We(this["cScale"+X],25);for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScaleInv"+X]=this["cScaleInv"+X]||he(this["cScale"+X]);for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this.darkMode?this["cScalePeer"+X]=this["cScalePeer"+X]||ze(this["cScale"+X],10):this["cScalePeer"+X]=this["cScalePeer"+X]||We(this["cScale"+X],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScaleLabel"+X]=this["cScaleLabel"+X]||this.scaleLabelColor;const m=this.darkMode?-4:-1;for(let X=0;X<5;X++)this["surface"+X]=this["surface"+X]||ot(this.mainBkg,{h:180,s:-15,l:m*(5+X*3)}),this["surfacePeer"+X]=this["surfacePeer"+X]||ot(this.mainBkg,{h:180,s:-15,l:m*(8+X*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||c,this.fillType1=this.fillType1||d,this.fillType2=this.fillType2||ot(c,{h:64}),this.fillType3=this.fillType3||ot(d,{h:64}),this.fillType4=this.fillType4||ot(c,{h:-64}),this.fillType5=this.fillType5||ot(d,{h:-64}),this.fillType6=this.fillType6||ot(c,{h:128}),this.fillType7=this.fillType7||ot(d,{h:128}),this.pie1=this.pie1||c,this.pie2=this.pie2||d,this.pie3=this.pie3||w,this.pie4=this.pie4||ot(c,{l:-10}),this.pie5=this.pie5||ot(d,{l:-10}),this.pie6=this.pie6||ot(w,{l:-10}),this.pie7=this.pie7||ot(c,{h:60,l:-10}),this.pie8=this.pie8||ot(c,{h:-60,l:-10}),this.pie9=this.pie9||ot(c,{h:120,l:0}),this.pie10=this.pie10||ot(c,{h:60,l:-20}),this.pie11=this.pie11||ot(c,{h:-60,l:-20}),this.pie12=this.pie12||ot(c,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||c,this.quadrant2Fill=this.quadrant2Fill||ot(c,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(c,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(c,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((k=this.xyChart)==null?void 0:k.backgroundColor)||this.background,titleColor:((p=this.xyChart)==null?void 0:p.titleColor)||this.primaryTextColor,legendTextColor:((T=this.xyChart)==null?void 0:T.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((E=this.xyChart)==null?void 0:E.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((B=this.xyChart)==null?void 0:B.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((A=this.xyChart)==null?void 0:A.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((L=this.xyChart)==null?void 0:L.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((I=this.xyChart)==null?void 0:I.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(($=this.xyChart)==null?void 0:$.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((P=this.xyChart)==null?void 0:P.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((U=this.xyChart)==null?void 0:U.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((J=this.xyChart)==null?void 0:J.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||c,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.requirementEdgeLabelBackground="#FFFFFF",this.git0=this.git0||c,this.git1=this.git1||d,this.git2=this.git2||w,this.git3=this.git3||ot(c,{h:-30}),this.git4=this.git4||ot(c,{h:-60}),this.git5=this.git5||ot(c,{h:-90}),this.git6=this.git6||ot(c,{h:60}),this.git7=this.git7||ot(c,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.commitLineColor=this.commitLineColor??"#BDBCCC",this.erEdgeLabelBackground="#FFFFFF",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(A8,"Theme8"),q(A8,"Theme"),A8),xin=q(h=>{const c=new Cin;return c.calculate(h),c},"getThemeVariables"),M8,Tin=(M8=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ze(this.primaryColor,16),this.tertiaryColor=ot(this.primaryColor,{h:-160}),this.primaryBorderColor=he(this.background),this.secondaryBorderColor=as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=as(this.tertiaryColor,this.darkMode),this.primaryTextColor=he(this.primaryColor),this.secondaryTextColor=he(this.secondaryColor),this.tertiaryTextColor=he(this.tertiaryColor),this.mainBkg="#111113",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ze(he("#323D47"),10),this.border1="#ccc",this.border2=Q4(255,255,255,.25),this.arrowheadColor=he(this.background),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.labelBackground="#111113",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.noteBkgColor=this.noteBkgColor??"#FEF9C3",this.noteTextColor=this.noteTextColor??"#28253D",this.THEME_COLOR_LIMIT=12,this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#FFFFFF",this.stateBorder="#FFFFFF",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.clusterBkg="#1E1A2E",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.filterColor="#FFFFFF"}updateColors(){var d,w,m,k,p,T,E,B,A,L,I,$;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#FFFFFF"),this.secondaryColor=this.secondaryColor||ot(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ot(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||as(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||as(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||as(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#FFFFFF",this.secondaryTextColor=this.secondaryTextColor||he(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||he(this.tertiaryColor),this.lineColor=this.lineColor||he(this.background),this.arrowheadColor=this.arrowheadColor||he(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder="#FFFFFF",this.signalColor="#FFFFFF",this.labelBoxBorderColor="#BDBCCC",this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||We(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||he(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.compositeBackground="#16141F",this.altBackground="#16141F",this.compositeTitleBackground="#16141F",this.stateEdgeLabelBackground="#16141F",this.fontWeight=600,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ot(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ot(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ot(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ot(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ot(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ot(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||ot(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ot(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ot(this.primaryColor,{h:330}),this.darkMode)for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScale"+P]=We(this["cScale"+P],75);else for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScale"+P]=We(this["cScale"+P],25);for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScaleInv"+P]=this["cScaleInv"+P]||he(this["cScale"+P]);for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this.darkMode?this["cScalePeer"+P]=this["cScalePeer"+P]||ze(this["cScale"+P],10):this["cScalePeer"+P]=this["cScalePeer"+P]||We(this["cScale"+P],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScaleLabel"+P]=this["cScaleLabel"+P]||this.scaleLabelColor;const c=this.darkMode?-4:-1;for(let P=0;P<5;P++)this["surface"+P]=this["surface"+P]||ot(this.mainBkg,{h:180,s:-15,l:c*(5+P*3)}),this["surfacePeer"+P]=this["surfacePeer"+P]||ot(this.mainBkg,{h:180,s:-15,l:c*(8+P*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||ot(this.primaryColor,{h:64}),this.fillType3=this.fillType3||ot(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||ot(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||ot(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||ot(this.primaryColor,{h:128}),this.fillType7=this.fillType7||ot(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||ot(this.primaryColor,{l:-10}),this.pie5=this.pie5||ot(this.secondaryColor,{l:-10}),this.pie6=this.pie6||ot(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||ot(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||ot(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||ot(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||ot(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||ot(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||ot(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((d=this.xyChart)==null?void 0:d.backgroundColor)||this.background,titleColor:((w=this.xyChart)==null?void 0:w.titleColor)||this.primaryTextColor,legendTextColor:((m=this.xyChart)==null?void 0:m.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((k=this.xyChart)==null?void 0:k.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((p=this.xyChart)==null?void 0:p.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((T=this.xyChart)==null?void 0:T.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((E=this.xyChart)==null?void 0:E.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((B=this.xyChart)==null?void 0:B.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((A=this.xyChart)==null?void 0:A.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((L=this.xyChart)==null?void 0:L.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((I=this.xyChart)==null?void 0:I.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(($=this.xyChart)==null?void 0:$.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.requirementEdgeLabelBackground="#16141F",this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||ot(this.primaryColor,{h:-30}),this.git4=this.git4||ot(this.primaryColor,{h:-60}),this.git5=this.git5||ot(this.primaryColor,{h:-90}),this.git6=this.git6||ot(this.primaryColor,{h:60}),this.git7=this.git7||ot(this.primaryColor,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.commitLineColor=this.commitLineColor??"#BDBCCC",this.erEdgeLabelBackground="#16141F",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(M8,"Theme9"),q(M8,"Theme"),M8),Sin=q(h=>{const c=new Tin;return c.calculate(h),c},"getThemeVariables"),L8,Ein=(L8=class{constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#28253D",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.primaryBorderColor=as(this.primaryColor,this.darkMode),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#28253D",this.stateBorder="#28253D",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.tertiaryColor="#ffffff",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.actorBorder="#28253D",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.borderColorArray=["#E879F9","#2DD4BF","#FB923C","#22D3EE","#4ADE80","#A78BFA","#F87171","#FACC15","#818CF8","#A3E635 ","#38BDF8","#FB7185"],this.bkgColorArray=["#FDF4FF","#F0FDFA","#FFF7ED","#ECFEFF","#F0FDF4","#F5F3FF","#FEF2F2","#FEFCE8","#EEF2FF","#F7FEE7","#F0F9FF","#FFF1F2"],this.filterColor="#000000"}updateColors(){var k,p,T,E,B,A,L,I,$,P,U,J;this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#28253D"),this.secondaryColor=this.secondaryColor||ot(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ot(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||as(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||as(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||as(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#28253D",this.secondaryTextColor=this.secondaryTextColor||he(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||he(this.tertiaryColor),this.lineColor=this.lineColor||he(this.background),this.arrowheadColor=this.arrowheadColor||he(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||We(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||he(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor;const c="#ECECFE",d="#E9E9F1",w=ot(c,{h:180,l:5});this.sectionBkgColor=this.sectionBkgColor||w,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||d,this.sectionBkgColor2=this.sectionBkgColor2||c,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||c,this.activeTaskBorderColor=this.activeTaskBorderColor||c,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(c,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||"#f4a8ff",this.cScale1=this.cScale1||"#46ecd5",this.cScale2=this.cScale2||"#ffb86a",this.cScale3=this.cScale3||"#dab2ff",this.cScale4=this.cScale4||"#7bf1a8",this.cScale5=this.cScale5||"#c4b4ff",this.cScale6=this.cScale6||"#ffa2a2",this.cScale7=this.cScale7||"#ffdf20",this.cScale8=this.cScale8||"#a3b3ff",this.cScale9=this.cScale9||"#bbf451",this.cScale10=this.cScale10||"#74d4ff",this.cScale11=this.cScale11||"#ffa1ad";for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScaleInv"+X]=this["cScaleInv"+X]||he(this["cScale"+X]);for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this.darkMode?this["cScalePeer"+X]=this["cScalePeer"+X]||ze(this["cScale"+X],10):this["cScalePeer"+X]=this["cScalePeer"+X]||We(this["cScale"+X],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let X=0;X<this.THEME_COLOR_LIMIT;X++)this["cScaleLabel"+X]=this["cScaleLabel"+X]||this.scaleLabelColor;const m=this.darkMode?-4:-1;for(let X=0;X<5;X++)this["surface"+X]=this["surface"+X]||ot(this.mainBkg,{h:180,s:-15,l:m*(5+X*3)}),this["surfacePeer"+X]=this["surfacePeer"+X]||ot(this.mainBkg,{h:180,s:-15,l:m*(8+X*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||c,this.fillType1=this.fillType1||d,this.fillType2=this.fillType2||ot(c,{h:64}),this.fillType3=this.fillType3||ot(d,{h:64}),this.fillType4=this.fillType4||ot(c,{h:-64}),this.fillType5=this.fillType5||ot(d,{h:-64}),this.fillType6=this.fillType6||ot(c,{h:128}),this.fillType7=this.fillType7||ot(d,{h:128}),this.pie1=this.pie1||c,this.pie2=this.pie2||d,this.pie3=this.pie3||w,this.pie4=this.pie4||ot(c,{l:-10}),this.pie5=this.pie5||ot(d,{l:-10}),this.pie6=this.pie6||ot(w,{l:-10}),this.pie7=this.pie7||ot(c,{h:60,l:-10}),this.pie8=this.pie8||ot(c,{h:-60,l:-10}),this.pie9=this.pie9||ot(c,{h:120,l:0}),this.pie10=this.pie10||ot(c,{h:60,l:-20}),this.pie11=this.pie11||ot(c,{h:-60,l:-20}),this.pie12=this.pie12||ot(c,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||c,this.quadrant2Fill=this.quadrant2Fill||ot(c,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(c,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(c,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((k=this.xyChart)==null?void 0:k.backgroundColor)||this.background,titleColor:((p=this.xyChart)==null?void 0:p.titleColor)||this.primaryTextColor,legendTextColor:((T=this.xyChart)==null?void 0:T.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((E=this.xyChart)==null?void 0:E.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((B=this.xyChart)==null?void 0:B.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((A=this.xyChart)==null?void 0:A.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((L=this.xyChart)==null?void 0:L.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((I=this.xyChart)==null?void 0:I.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:(($=this.xyChart)==null?void 0:$.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((P=this.xyChart)==null?void 0:P.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((U=this.xyChart)==null?void 0:U.yAxisLineColor)||this.primaryTextColor,plotColorPalette:((J=this.xyChart)==null?void 0:J.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||c,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||c,this.git1=this.git1||d,this.git2=this.git2||w,this.git3=this.git3||ot(c,{h:-30}),this.git4=this.git4||ot(c,{h:-60}),this.git5=this.git5||ot(c,{h:-90}),this.git6=this.git6||ot(c,{h:60}),this.git7=this.git7||ot(c,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLineColor=this.commitLineColor??"#BDBCCC",this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.fontWeight=600,this.erEdgeLabelBackground="#FFFFFF",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(L8,"Theme10"),q(L8,"Theme"),L8),Bin=q(h=>{const c=new Ein;return c.calculate(h),c},"getThemeVariables"),F8,Ain=(F8=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ze(this.primaryColor,16),this.tertiaryColor=ot(this.primaryColor,{h:-160}),this.primaryBorderColor=he(this.background),this.secondaryBorderColor=as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=as(this.tertiaryColor,this.darkMode),this.primaryTextColor=he(this.primaryColor),this.secondaryTextColor=he(this.secondaryColor),this.tertiaryTextColor=he(this.tertiaryColor),this.mainBkg="#111113",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ze(he("#323D47"),10),this.border1="#ccc",this.border2=Q4(255,255,255,.25),this.arrowheadColor=he(this.background),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.labelBackground="#111113",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.noteBkgColor=this.noteBkgColor??"#FEF9C3",this.noteTextColor=this.noteTextColor??"#28253D",this.THEME_COLOR_LIMIT=12,this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#FFFFFF",this.stateBorder="#FFFFFF",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.clusterBkg="#1E1A2E",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.borderColorArray=["#E879F9","#2DD4BF","#FB923C","#22D3EE","#4ADE80","#A78BFA","#F87171","#FACC15","#818CF8","#A3E635 ","#38BDF8","#FB7185"],this.bkgColorArray=[],this.filterColor="#FFFFFF"}updateColors(){var d,w,m,k,p,T,E,B,A,L,I,$;this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#FFFFFF"),this.secondaryColor=this.secondaryColor||ot(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ot(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||as(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||as(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||as(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||as(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#FFFFFF",this.secondaryTextColor=this.secondaryTextColor||he(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||he(this.tertiaryColor),this.lineColor=this.lineColor||he(this.background),this.arrowheadColor=this.arrowheadColor||he(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder="#FFFFFF",this.signalColor="#FFFFFF",this.labelBoxBorderColor="#BDBCCC",this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||We(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||he(this.lineColor),this.rectBkgColor=this.rectBkgColor||this.tertiaryColor,this.rootLabelColor="#FFFFFF",this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||"#f4a8ff",this.cScale1=this.cScale1||"#46ecd5",this.cScale2=this.cScale2||"#ffb86a",this.cScale3=this.cScale3||"#dab2ff",this.cScale4=this.cScale4||"#7bf1a8",this.cScale5=this.cScale5||"#c4b4ff",this.cScale6=this.cScale6||"#ffa2a2",this.cScale7=this.cScale7||"#ffdf20",this.cScale8=this.cScale8||"#a3b3ff",this.cScale9=this.cScale9||"#bbf451",this.cScale10=this.cScale10||"#74d4ff",this.cScale11=this.cScale11||"#ffa1ad";for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScaleInv"+P]=this["cScaleInv"+P]||he(this["cScale"+P]);for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this.darkMode?this["cScalePeer"+P]=this["cScalePeer"+P]||ze(this["cScale"+P],10):this["cScalePeer"+P]=this["cScalePeer"+P]||We(this["cScale"+P],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let P=0;P<this.THEME_COLOR_LIMIT;P++)this["cScaleLabel"+P]=We(this["cScale"+P],75);const c=this.darkMode?-4:-1;for(let P=0;P<5;P++)this["surface"+P]=this["surface"+P]||ot(this.mainBkg,{h:180,s:-15,l:c*(5+P*3)}),this["surfacePeer"+P]=this["surfacePeer"+P]||ot(this.mainBkg,{h:180,s:-15,l:c*(8+P*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||ot(this.primaryColor,{h:64}),this.fillType3=this.fillType3||ot(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||ot(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||ot(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||ot(this.primaryColor,{h:128}),this.fillType7=this.fillType7||ot(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||ot(this.primaryColor,{l:-10}),this.pie5=this.pie5||ot(this.secondaryColor,{l:-10}),this.pie6=this.pie6||ot(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||ot(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||ot(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||ot(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||ot(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||ot(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||ot(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||ot(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||ot(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||ot(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||ot(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||ot(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||ot(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||z2(this.quadrant1Fill)?ze(this.quadrant1Fill):We(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:((d=this.xyChart)==null?void 0:d.backgroundColor)||this.background,titleColor:((w=this.xyChart)==null?void 0:w.titleColor)||this.primaryTextColor,legendTextColor:((m=this.xyChart)==null?void 0:m.legendTextColor)||this.primaryTextColor,xAxisTitleColor:((k=this.xyChart)==null?void 0:k.xAxisTitleColor)||this.primaryTextColor,xAxisLabelColor:((p=this.xyChart)==null?void 0:p.xAxisLabelColor)||this.primaryTextColor,xAxisTickColor:((T=this.xyChart)==null?void 0:T.xAxisTickColor)||this.primaryTextColor,xAxisLineColor:((E=this.xyChart)==null?void 0:E.xAxisLineColor)||this.primaryTextColor,yAxisTitleColor:((B=this.xyChart)==null?void 0:B.yAxisTitleColor)||this.primaryTextColor,yAxisLabelColor:((A=this.xyChart)==null?void 0:A.yAxisLabelColor)||this.primaryTextColor,yAxisTickColor:((L=this.xyChart)==null?void 0:L.yAxisTickColor)||this.primaryTextColor,yAxisLineColor:((I=this.xyChart)==null?void 0:I.yAxisLineColor)||this.primaryTextColor,plotColorPalette:(($=this.xyChart)==null?void 0:$.plotColorPalette)||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?We(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||ot(this.primaryColor,{h:-30}),this.git4=this.git4||ot(this.primaryColor,{h:-60}),this.git5=this.git5||ot(this.primaryColor,{h:-90}),this.git6=this.git6||ot(this.primaryColor,{h:60}),this.git7=this.git7||ot(this.primaryColor,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=We(this.git0,25),this.git1=We(this.git1,25),this.git2=We(this.git2,25),this.git3=We(this.git3,25),this.git4=We(this.git4,25),this.git5=We(this.git5,25),this.git6=We(this.git6,25),this.git7=We(this.git7,25)),this.gitInv0=this.gitInv0||he(this.git0),this.gitInv1=this.gitInv1||he(this.git1),this.gitInv2=this.gitInv2||he(this.git2),this.gitInv3=this.gitInv3||he(this.git3),this.gitInv4=this.gitInv4||he(this.git4),this.gitInv5=this.gitInv5||he(this.git5),this.gitInv6=this.gitInv6||he(this.git6),this.gitInv7=this.gitInv7||he(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.commitLineColor=this.commitLineColor??"#BDBCCC",this.fontWeight=600,this.erEdgeLabelBackground="#16141F",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ry,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ny}calculate(c){if(typeof c!="object"){this.updateColors();return}const d=Object.keys(c);d.forEach(w=>{this[w]=c[w]}),this.updateColors(),d.forEach(w=>{this[w]=c[w]})}},O(F8,"Theme11"),q(F8,"Theme"),F8),Min=q(h=>{const c=new Ain;return c.calculate(h),c},"getThemeVariables"),N3={base:{getThemeVariables:lin},dark:{getThemeVariables:hin},default:{getThemeVariables:din},forest:{getThemeVariables:bin},neutral:{getThemeVariables:pin},neo:{getThemeVariables:yin},"neo-dark":{getThemeVariables:kin},redux:{getThemeVariables:xin},"redux-dark":{getThemeVariables:Sin},"redux-color":{getThemeVariables:Bin},"redux-dark-color":{getThemeVariables:Min}},id={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:null,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200,inheritDir:!1},swimlane:{useMaxWidth:!0,lineHops:"arc",ignoreCrossLaneEdges:!0,optimizeRanksByCrossings:!0,automaticLaneOrdering:!1},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,maxLabelWidth:360,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],titleColor:"",titleFontFamily:'"trebuchet ms", verdana, arial, sans-serif',titleFontSize:"4ex"},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1,hierarchicalNamespaces:!0},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,nodeSpacing:140,rankSpacing:80,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75,donutHole:0,legendPosition:"right",highlightSlice:""},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showDataLabel:!1,showDataLabelOutsideBar:!1,showTitle:!0,showLegend:!0,legendFontSize:14,legendPadding:10,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2,labelRotation:0},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2,labelRotation:0},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200,layoutAlgorithm:"cose-bilkent"},ishikawa:{useMaxWidth:!0,diagramPadding:20},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:"",nodeWidth:10,nodePadding:12,labelStyle:"legacy"},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},treeView:{useMaxWidth:!0,rowIndent:10,paddingX:5,paddingY:5,lineThickness:1,showIcons:!1,defaultIconPack:"",filenameIcons:{},extensionIcons:{}},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16,randomize:!1,nodeSeparation:75,idealEdgeLengthMultiplier:1.5,edgeElasticity:.45,numIter:2500,seed:1},eventmodeling:{useMaxWidth:!0,padding:30,rowHeight:32},radar:{useMaxWidth:!0,width:600,height:600,marginTop:50,marginRight:50,marginBottom:50,marginLeft:50,axisScaleFactor:1,axisLabelFactor:1.05,curveTension:.17},venn:{useMaxWidth:!0,width:800,height:450,padding:8,useDebugLayout:!1},cynefin:{useMaxWidth:!0,width:800,height:600,padding:40,showDomainDescriptions:!0,boundaryAmplitude:8,seed:0},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},gve={...id,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF",nodePlacementAlignment:"NONE",forceNodeModelOrder:!1,considerModelOrder:"NODES_AND_EDGES",keepEntryNodeOnTop:!1},themeCSS:void 0,themeVariables:N3.default.getThemeVariables(),sequence:{...id.sequence,messageFont:q(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:q(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:q(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{defaultRenderer:"dagre-wrapper",hideEmptyMembersBox:!1,hierarchicalNamespaces:!0},gantt:{...id.gantt,tickInterval:void 0,useWidth:void 0},c4:{...id.c4,useWidth:void 0,personFont:q(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),flowchart:{...id.flowchart,inheritDir:!1},external_personFont:q(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:q(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:q(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:q(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:q(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:q(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:q(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:q(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:q(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:q(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:q(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:q(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:q(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:q(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:q(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:q(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:q(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:q(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:q(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:q(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:q(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...id.pie,useWidth:984},xyChart:{...id.xyChart,useWidth:void 0},requirement:{...id.requirement,useWidth:void 0},packet:{...id.packet},eventmodeling:{...id.eventmodeling},treeView:{...id.treeView,useWidth:void 0},radar:{...id.radar},railroad:{...id.railroad,fontSize:void 0,fontFamily:void 0,terminalFill:void 0,terminalStroke:void 0,terminalTextColor:void 0,nonTerminalFill:void 0,nonTerminalStroke:void 0,nonTerminalTextColor:void 0,lineColor:void 0,markerFill:void 0,commentFill:void 0,commentStroke:void 0,commentTextColor:void 0,specialFill:void 0,specialStroke:void 0,ruleNameColor:void 0},ishikawa:{...id.ishikawa},sankey:{...id.sankey,nodeColors:void 0},treemap:{useMaxWidth:!0,padding:10,diagramPadding:8,showValues:!0,nodeWidth:100,nodeHeight:40,borderWidth:1,valueFontSize:12,labelFontSize:14,valueFormat:","},venn:{...id.venn},cynefin:{...id.cynefin}},bve=q((h,c="")=>Object.keys(h).reduce((d,w)=>Array.isArray(h[w])?d:typeof h[w]=="object"&&h[w]!==null?[...d,c+w,...bve(h[w],"")]:[...d,c+w],[]),"keyify"),Lin=new Set(bve(gve,"")),wve=gve,Fin={nodeColors:/^#[\da-f]{3,8}$|^rgb\([\d\s%,.]+\)$|^hsl\([\d\s%,.]+\)$|^[a-z]+$/i,filenameIcons:/^[\w-]+(?::[\w-]+)?$/,extensionIcons:/^[\w-]+(?::[\w-]+)?$/},_in=q((h,c)=>{for(const d of Object.keys(h)){const w=h[d];(d.startsWith("__")||d.includes("proto")||d.includes("constr")||typeof w!="string"||!c.test(w))&&(Ae.debug("sanitize deleting dictionary entry:",d,w),delete h[d])}},"sanitizeDictionaryConfig"),LJ=q(h=>{if(Ae.debug("sanitizeDirective called with",h),!(typeof h!="object"||h==null)){if(Array.isArray(h)){h.forEach(c=>LJ(c));return}for(const c of Object.keys(h)){if(Ae.debug("Checking key",c),c.startsWith("__")||c.includes("proto")||c.includes("constr")||!Lin.has(c)||h[c]==null){Ae.debug("sanitize deleting key: ",c),delete h[c];continue}if(typeof h[c]=="object"){const w=Fin[c];w?_in(h[c],w):(Ae.debug("sanitizing object",c),LJ(h[c]));continue}const d=["themeCSS","fontFamily","altFontFamily"];for(const w of d)c.includes(w)&&(Ae.debug("sanitizing css option",c),h[c]=pve(h[c]))}if(h.themeVariables)for(const c of Object.keys(h.themeVariables)){const d=h.themeVariables[c];d!=null&&d.match&&!d.match(/^[\d "#%(),.;A-Za-z]+$/)&&(h.themeVariables[c]="")}Ae.debug("After sanitization",h)}},"sanitizeDirective"),pve=q(h=>{let c=0,d=0;for(const w of h){if(c<d)return"{ /* ERROR: Unbalanced CSS */ }";w==="{"?c++:w==="}"&&d++}return c!==d?"{ /* ERROR: Unbalanced CSS */ }":h},"sanitizeCss"),CA=Object.freeze(wve),qy=q(h=>!(h===!1||["false","null","0"].includes(String(h).trim().toLowerCase())),"evaluate"),Qg=Af({},CA),FJ,j8=[],uD=Af({},CA),jD=q((h,c)=>{let d=Af({},h),w={};for(const m of c)vve(m),w=Af(w,m);if(d=Af(d,w),w.theme&&w.theme in N3){const m=Af({},FJ),k=Af(m.themeVariables||{},w.themeVariables);d.theme&&d.theme in N3&&(d.themeVariables=N3[d.theme].getThemeVariables(k))}return uD=d,$in(uD),uD},"updateCurrentConfig"),Oin=q(h=>(Qg=Af({},CA),Qg=Af(Qg,h),h.theme&&N3[h.theme]&&(Qg.themeVariables=N3[h.theme].getThemeVariables(h.themeVariables)),jD(Qg,j8),Qg),"setSiteConfig"),Iin=q(h=>{FJ=Af({},h)},"saveConfigFromInitialize"),Pin=q(h=>(Qg=Af(Qg,h),jD(Qg,j8),Qg),"updateSiteConfig"),mve=q(()=>Af({},Qg),"getSiteConfig"),yve=q(h=>(jD(uD,[h]),Cl()),"setConfig"),Cl=q(()=>Af({},uD),"getConfig"),vve=q(h=>{h&&(["secure",...Qg.secure??[]].forEach(c=>{Object.hasOwn(h,c)&&(Ae.debug(`Denied attempt to modify a secure key ${c}`,h[c]),delete h[c])}),Object.keys(h).forEach(c=>{c.startsWith("__")&&delete h[c]}),Object.keys(h).forEach(c=>{typeof h[c]=="string"&&(h[c].includes("<")||h[c].includes(">")||h[c].includes("url(data:"))&&delete h[c],typeof h[c]=="object"&&vve(h[c])}))},"sanitize"),jin=q(h=>{var c;LJ(h),h.fontFamily&&!((c=h.themeVariables)!=null&&c.fontFamily)&&(h.themeVariables={...h.themeVariables,fontFamily:h.fontFamily}),j8.push(h),jD(Qg,j8)},"addDirective"),_J=q((h=Qg)=>{j8=[],jD(h,j8)},"reset"),Din={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",FLOWCHART_HTML_LABELS_DEPRECATED:"flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."},tme={},kve=q(h=>{tme[h]||(Ae.warn(Din[h]),tme[h]=!0)},"issueWarning"),$in=q(h=>{h&&(h.lazyLoadedDiagrams||h.loadExternalDiagramsAtStartup)&&kve("LAZY_LOAD_DEPRECATED")},"checkConfig"),ppn=q(()=>{let h={};FJ&&(h=Af(h,FJ));for(const c of j8)h=Af(h,c);return h},"getUserDefinedConfig"),Gd=q(h=>{var c,d;return((c=h.flowchart)==null?void 0:c.htmlLabels)!=null&&kve("FLOWCHART_HTML_LABELS_DEPRECATED"),qy(h.htmlLabels??((d=h.flowchart)==null?void 0:d.htmlLabels)??!0)},"getEffectiveHtmlLabels"),Cve=/^([^\S\n\r]*)-{3}\s*[\n\r](.*?)[\n\r]\1-{3}\s*[\n\r]+/s,hD=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Rin=/\s*%%.*\n/gm,_8,xve=(_8=class extends Error{constructor(c){super(c),this.name="UnknownDiagramError"}},O(_8,"UnknownDiagramError"),q(_8,"UnknownDiagramError"),_8),D8={},Okt=q(function(h,c){h=h.replace(Cve,"").replace(hD,"").replace(Rin,`
|
|
5
|
+
`);for(const[d,{detector:w}]of Object.entries(D8))if(w(h,c))return d;throw new xve(`No diagram type detected matching given configuration for text: ${h}`)},"detectType"),K3t=q((...h)=>{for(const{id:c,detector:d,loader:w}of h)Tve(c,d,w)},"registerLazyLoadedDiagrams"),Tve=q((h,c,d)=>{D8[h]&&Ae.warn(`Detector with key ${h} already exists. Overwriting.`),D8[h]={detector:c,loader:d},Ae.debug(`Detector with key ${h} added${d?" with loader":""}`)},"addDetector"),Nin=q(h=>D8[h].loader,"getDiagramLoader"),DD=/<br\s*\/?>/gi,qin=q(h=>h?Eve(h).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),Hin=(()=>{let h=!1;return()=>{h||(Ikt(),h=!0)}})();function Ikt(){const h="data-temp-href-target";kA.addHook("beforeSanitizeAttributes",c=>{c.tagName==="A"&&c.hasAttribute("target")&&c.setAttribute(h,c.getAttribute("target")??"")}),kA.addHook("afterSanitizeAttributes",c=>{c.tagName==="A"&&c.hasAttribute(h)&&(c.setAttribute("target",c.getAttribute(h)??""),c.removeAttribute(h),c.getAttribute("target")==="_blank"&&c.setAttribute("rel","noopener"))})}O(Ikt,"setupDompurifyHooks");q(Ikt,"setupDompurifyHooks");var Sve=q(h=>(Hin(),kA.sanitize(h)),"removeScript"),eme=q((h,c)=>{if(Gd(c)){const d=c.securityLevel;d==="antiscript"||d==="strict"||d==="sandbox"?h=Sve(h):d!=="loose"&&(h=Eve(h),h=h.replace(/</g,"<").replace(/>/g,">"),h=h.replace(/=/g,"="),h=Uin(h))}return h},"sanitizeMore"),Zw=q((h,c)=>h&&(c.dompurifyConfig?h=kA.sanitize(eme(h,c),c.dompurifyConfig).toString():h=kA.sanitize(eme(h,c),{FORBID_TAGS:["style"]}).toString(),h),"sanitizeText"),Kin=q((h,c)=>typeof h=="string"?Zw(h,c):h.flat().map(d=>Zw(d,c)),"sanitizeTextOrArray"),zin=q(h=>DD.test(h),"hasBreaks"),Win=q(h=>h.split(DD),"splitBreaks"),Uin=q(h=>h.replace(/#br#/g,"<br/>"),"placeholderToBreak"),Eve=q(h=>h.replace(DD,"#br#"),"breakToPlaceholder"),Gin=q(h=>{let c="";return h&&(c=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,c=CSS.escape(c)),c},"getUrl"),Xin=q(function(...h){const c=h.filter(d=>!isNaN(d));return Math.max(...c)},"getMax"),Vin=q(function(...h){const c=h.filter(d=>!isNaN(d));return Math.min(...c)},"getMin"),nme=q(function(h){const c=h.split(/(,)/),d=[];for(let w=0;w<c.length;w++){let m=c[w];if(m===","&&w>0&&w+1<c.length){const k=c[w-1],p=c[w+1];Yin(k,p)&&(m=k+","+p,w++,d.pop())}d.push(Jin(m))}return d.join("")},"parseGenericTypes"),z3t=q((h,c)=>Math.max(0,h.split(c).length-1),"countOccurrence"),Yin=q((h,c)=>{const d=z3t(h,"~"),w=z3t(c,"~");return d===1&&w===1},"shouldCombineSets"),Jin=q(h=>{const c=z3t(h,"~");let d=!1;if(c<=1)return h;c%2!==0&&h.startsWith("~")&&(h=h.substring(1),d=!0);const w=[...h];let m=w.indexOf("~"),k=w.lastIndexOf("~");for(;m!==-1&&k!==-1&&m!==k;)w[m]="<",w[k]=">",m=w.indexOf("~"),k=w.lastIndexOf("~");return d&&w.unshift("~"),w.join("")},"processSet"),rme=q(()=>window.MathMLElement!==void 0,"isMathMLSupported"),W3t=/\$\$(.*?)\$\$/g,kD=q(h=>{var c;return(((c=h.match(W3t))==null?void 0:c.length)??0)>0},"hasKatex"),mpn=q(async(h,c)=>{const d=document.createElement("div");d.innerHTML=await Bve(h,c),d.id="katex-temp",d.style.visibility="hidden",d.style.position="absolute",d.style.top="0";const w=document.querySelector("body");w==null||w.insertAdjacentElement("beforeend",d);const m={width:d.clientWidth,height:d.clientHeight};return d.remove(),m},"calculateMathMLDimensions"),Qin=q(async(h,c)=>{if(!kD(h))return h;if(!(rme()||c.legacyMathML||c.forceLegacyMathML))return h.replace(W3t,"MathML is unsupported in this environment.");{const{default:d}=await Ks(async()=>{const{default:m}=await import("./katex-N6JRN4PM-CsmS8bAu.js");return{default:m}},__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),w=c.forceLegacyMathML||!rme()&&c.legacyMathML?"htmlAndMathml":"mathml";return h.split(DD).map(m=>kD(m)?`<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${m}</div>`:`<div>${m}</div>`).join("").replace(W3t,(m,k)=>d.renderToString(k,{throwOnError:!0,displayMode:!0,output:w}).replace(/\n/g," ").replace(/<annotation.*<\/annotation>/g,""))}},"renderKatexUnsanitized"),Bve=q(async(h,c)=>Zw(await Qin(h,c),c),"renderKatexSanitized"),$D={getRows:qin,sanitizeText:Zw,sanitizeTextOrArray:Kin,hasBreaks:zin,splitBreaks:Win,lineBreakRegex:DD,removeScript:Sve,getUrl:Gin,evaluate:qy,getMax:Xin,getMin:Vin},Zin=q(function(h,c){for(let d of c)h.attr(d[0],d[1])},"d3Attrs"),tsn=q(function(h,c,d){let w=new Map;return d?(w.set("width","100%"),w.set("style",`max-width: ${c}px;`)):(w.set("height",h),w.set("width",c)),w},"calculateSvgSizeAttrs"),Ave=q(function(h,c,d,w){const m=tsn(c,d,w);Zin(h,m)},"configureSvgSize"),esn=q(function(h,c,d,w){const m=c.node().getBBox(),k=m.width,p=m.height;Ae.info(`SVG bounds: ${k}x${p}`,m);let T=0,E=0;Ae.info(`Graph bounds: ${T}x${E}`,h),T=k+d*2,E=p+d*2,Ae.info(`Calculated bounds: ${T}x${E}`),Ave(c,E,T,w);const B=`${m.x-d} ${m.y-d} ${m.width+2*d} ${m.height+2*d}`;c.attr("viewBox",B)},"setupGraphViewbox"),yJ={};function OJ(h){return[...h.cssRules].map(c=>c.cssText).join(`
|
|
6
6
|
`)}O(OJ,"cssStyleSheetToString");q(OJ,"cssStyleSheetToString");var nsn=q((h,c,d,w)=>{let m="";return h in yJ&&yJ[h]?m=yJ[h]({...d,svgId:w}):Ae.warn(`No theme found for ${h}`),`& {
|
|
7
7
|
font-family: ${d.fontFamily};
|
|
8
8
|
font-size: ${d.fontSize};
|
|
@@ -125,11 +125,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
125
125
|
|
|
126
126
|
${c}
|
|
127
127
|
`},"getStyles"),rsn=q((h,c)=>{c!==void 0&&(yJ[h]=c)},"addStylesForDiagram"),isn=nsn,Mve={};arn(Mve,{clear:O(()=>ssn,"clear"),getAccDescription:O(()=>lsn,"getAccDescription"),getAccTitle:O(()=>csn,"getAccTitle"),getDiagramTitle:O(()=>hsn,"getDiagramTitle"),setAccDescription:O(()=>asn,"setAccDescription"),setAccTitle:O(()=>osn,"setAccTitle"),setDiagramTitle:O(()=>usn,"setDiagramTitle")});var Pkt="",jkt="",Dkt="",$kt=q(h=>Zw(h,Cl()),"sanitizeText"),ssn=q(()=>{Pkt="",Dkt="",jkt=""},"clear"),osn=q(h=>{Pkt=$kt(h).replace(/^\s+/g,"")},"setAccTitle"),csn=q(()=>Pkt,"getAccTitle"),asn=q(h=>{Dkt=$kt(h).replace(/\n\s+/g,`
|
|
128
|
-
`)},"setAccDescription"),lsn=q(()=>Dkt,"getAccDescription"),usn=q(h=>{jkt=$kt(h)},"setDiagramTitle"),hsn=q(()=>jkt,"getDiagramTitle"),ime=Ae,fsn=Lkt,Ao=Cl,
|
|
128
|
+
`)},"setAccDescription"),lsn=q(()=>Dkt,"getAccDescription"),usn=q(h=>{jkt=$kt(h)},"setDiagramTitle"),hsn=q(()=>jkt,"getDiagramTitle"),ime=Ae,fsn=Lkt,Ao=Cl,ypn=yve,vpn=CA,Rkt=q(h=>Zw(h,Ao()),"sanitizeText"),dsn=esn,gsn=q(()=>Mve,"getCommonDb"),IJ={},PJ=q((h,c,d)=>{var w;IJ[h]&&ime.warn(`Diagram with id ${h} already registered. Overwriting.`),IJ[h]=c,d&&Tve(h,d),rsn(h,c.styles),(w=c.injectUtils)==null||w.call(c,ime,fsn,Ao,Rkt,dsn,gsn(),()=>{})},"registerDiagram"),U3t=q(h=>{if(h in IJ)return IJ[h];throw new bsn(h)},"getDiagram"),O8,bsn=(O8=class extends Error{constructor(c){super(`Diagram ${c} not found.`)}},O(O8,"DiagramNotFoundError"),q(O8,"DiagramNotFoundError"),O8);/*! Bundled license information:
|
|
129
129
|
|
|
130
130
|
dompurify/dist/purify.es.mjs:
|
|
131
131
|
(*! @license DOMPurify 3.4.12 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.12/LICENSE *)
|
|
132
|
-
*/var wsn=q(h=>{var m;const{securityLevel:c}=Ao();let d=Rs("body");if(c==="sandbox"){const p=((m=Rs(`#i${h}`).node())==null?void 0:m.contentDocument)??document;d=Rs(p.body)}return d.select(`#${h}`)},"selectSvgElement"),psn=typeof global=="object"&&global&&global.Object===Object&&global,Lve=psn,msn=typeof self=="object"&&self&&self.Object===Object&&self,ysn=Lve||msn||Function("return this")(),W2=ysn,vsn=W2.Symbol,tp=vsn,Fve=Object.prototype,ksn=Fve.hasOwnProperty,Csn=Fve.toString,Zj=tp?tp.toStringTag:void 0;function _ve(h){var c=ksn.call(h,Zj),d=h[Zj];try{h[Zj]=void 0;var w=!0}catch{}var m=Csn.call(h);return w&&(c?h[Zj]=d:delete h[Zj]),m}O(_ve,"getRawTag");var xsn=_ve,Tsn=Object.prototype,Ssn=Tsn.toString;function Ove(h){return Ssn.call(h)}O(Ove,"objectToString");var Esn=Ove,Bsn="[object Null]",Asn="[object Undefined]",sme=tp?tp.toStringTag:void 0;function Ive(h){return h==null?h===void 0?Asn:Bsn:sme&&sme in Object(h)?xsn(h):Esn(h)}O(Ive,"baseGetTag");var rx=Ive;function Pve(h){return h!=null&&typeof h=="object"}O(Pve,"isObjectLike");var K2=Pve,Msn="[object Symbol]";function jve(h){return typeof h=="symbol"||K2(h)&&rx(h)==Msn}O(jve,"isSymbol");var $8=jve;function Dve(h,c){for(var d=-1,w=h==null?0:h.length,m=Array(w);++d<w;)m[d]=c(h[d],d,h);return m}O(Dve,"arrayMap");var tA=Dve,Lsn=Array.isArray,bh=Lsn,ome=tp?tp.prototype:void 0,cme=ome?ome.toString:void 0;function Nkt(h){if(typeof h=="string")return h;if(bh(h))return tA(h,Nkt)+"";if($8(h))return cme?cme.call(h):"";var c=h+"";return c=="0"&&1/h==-1/0?"-0":c}O(Nkt,"baseToString");var Fsn=Nkt,_sn=/\s/;function $ve(h){for(var c=h.length;c--&&_sn.test(h.charAt(c)););return c}O($ve,"trimmedEndIndex");var Osn=$ve,Isn=/^\s+/;function Rve(h){return h&&h.slice(0,Osn(h)+1).replace(Isn,"")}O(Rve,"baseTrim");var Psn=Rve;function Nve(h){var c=typeof h;return h!=null&&(c=="object"||c=="function")}O(Nve,"isObject");var bb=Nve,ame=NaN,jsn=/^[-+]0x[0-9a-f]+$/i,Dsn=/^0b[01]+$/i,$sn=/^0o[0-7]+$/i,Rsn=parseInt;function qve(h){if(typeof h=="number")return h;if($8(h))return ame;if(bb(h)){var c=typeof h.valueOf=="function"?h.valueOf():h;h=bb(c)?c+"":c}if(typeof h!="string")return h===0?h:+h;h=Psn(h);var d=Dsn.test(h);return d||$sn.test(h)?Rsn(h.slice(2),d?2:8):jsn.test(h)?ame:+h}O(qve,"toNumber");var Nsn=qve,lme=1/0,qsn=17976931348623157e292;function Hve(h){if(!h)return h===0?h:0;if(h=Nsn(h),h===lme||h===-lme){var c=h<0?-1:1;return c*qsn}return h===h?h:0}O(Hve,"toFinite");var vJ=Hve;function Kve(h){var c=vJ(h),d=c%1;return c===c?d?c-d:c:0}O(Kve,"toInteger");var Hsn=Kve;function zve(h){return h}O(zve,"identity");var z8=zve,Ksn="[object AsyncFunction]",zsn="[object Function]",Wsn="[object GeneratorFunction]",Usn="[object Proxy]";function Wve(h){if(!bb(h))return!1;var c=rx(h);return c==zsn||c==Wsn||c==Ksn||c==Usn}O(Wve,"isFunction");var CD=Wve,Gsn=W2["__core-js_shared__"],i3t=Gsn,ume=(function(){var h=/[^.]+$/.exec(i3t&&i3t.keys&&i3t.keys.IE_PROTO||"");return h?"Symbol(src)_1."+h:""})();function Uve(h){return!!ume&&ume in h}O(Uve,"isMasked");var Xsn=Uve,Vsn=Function.prototype,Ysn=Vsn.toString;function Gve(h){if(h!=null){try{return Ysn.call(h)}catch{}try{return h+""}catch{}}return""}O(Gve,"toSource");var W8=Gve,Jsn=/[\\^$.*+?()[\]{}|]/g,Qsn=/^\[object .+?Constructor\]$/,Zsn=Function.prototype,ton=Object.prototype,eon=Zsn.toString,non=ton.hasOwnProperty,ron=RegExp("^"+eon.call(non).replace(Jsn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Xve(h){if(!bb(h)||Xsn(h))return!1;var c=CD(h)?ron:Qsn;return c.test(W8(h))}O(Xve,"baseIsNative");var ion=Xve;function Vve(h,c){return h==null?void 0:h[c]}O(Vve,"getValue");var son=Vve;function Yve(h,c){var d=son(h,c);return ion(d)?d:void 0}O(Yve,"getNative");var U8=Yve,oon=U8(W2,"WeakMap"),G3t=oon,hme=Object.create,con=(function(){function h(){}return O(h,"object"),function(c){if(!bb(c))return{};if(hme)return hme(c);h.prototype=c;var d=new h;return h.prototype=void 0,d}})(),aon=con;function Jve(h,c,d){switch(d.length){case 0:return h.call(c);case 1:return h.call(c,d[0]);case 2:return h.call(c,d[0],d[1]);case 3:return h.call(c,d[0],d[1],d[2])}return h.apply(c,d)}O(Jve,"apply");var lon=Jve;function Qve(){}O(Qve,"noop");var uon=Qve;function Zve(h,c){var d=-1,w=h.length;for(c||(c=Array(w));++d<w;)c[d]=h[d];return c}O(Zve,"copyArray");var t3e=Zve,hon=800,fon=16,don=Date.now;function e3e(h){var c=0,d=0;return function(){var w=don(),m=fon-(w-d);if(d=w,m>0){if(++c>=hon)return arguments[0]}else c=0;return h.apply(void 0,arguments)}}O(e3e,"shortOut");var gon=e3e;function n3e(h){return function(){return h}}O(n3e,"constant");var iD=n3e,bon=(function(){try{var h=U8(Object,"defineProperty");return h({},"",{}),h}catch{}})(),jJ=bon,won=jJ?function(h,c){return jJ(h,"toString",{configurable:!0,enumerable:!1,value:iD(c),writable:!0})}:z8,pon=won,mon=gon(pon),r3e=mon;function i3e(h,c){for(var d=-1,w=h==null?0:h.length;++d<w&&c(h[d],d,h)!==!1;);return h}O(i3e,"arrayEach");var s3e=i3e;function o3e(h,c,d,w){for(var m=h.length,k=d+(w?1:-1);w?k--:++k<m;)if(c(h[k],k,h))return k;return-1}O(o3e,"baseFindIndex");var c3e=o3e;function a3e(h){return h!==h}O(a3e,"baseIsNaN");var yon=a3e;function l3e(h,c,d){for(var w=d-1,m=h.length;++w<m;)if(h[w]===c)return w;return-1}O(l3e,"strictIndexOf");var von=l3e;function u3e(h,c,d){return c===c?von(h,c,d):c3e(h,yon,d)}O(u3e,"baseIndexOf");var kon=u3e;function h3e(h,c){var d=h==null?0:h.length;return!!d&&kon(h,c,0)>-1}O(h3e,"arrayIncludes");var Con=h3e,xon=9007199254740991,Ton=/^(?:0|[1-9]\d*)$/;function f3e(h,c){var d=typeof h;return c=c??xon,!!c&&(d=="number"||d!="symbol"&&Ton.test(h))&&h>-1&&h%1==0&&h<c}O(f3e,"isIndex");var fQ=f3e;function d3e(h,c,d){c=="__proto__"&&jJ?jJ(h,c,{configurable:!0,enumerable:!0,value:d,writable:!0}):h[c]=d}O(d3e,"baseAssignValue");var dQ=d3e;function g3e(h,c){return h===c||h!==h&&c!==c}O(g3e,"eq");var MA=g3e,Son=Object.prototype,Eon=Son.hasOwnProperty;function b3e(h,c,d){var w=h[c];(!(Eon.call(h,c)&&MA(w,d))||d===void 0&&!(c in h))&&dQ(h,c,d)}O(b3e,"assignValue");var gQ=b3e;function w3e(h,c,d,w){var m=!d;d||(d={});for(var k=-1,p=c.length;++k<p;){var T=c[k],E=w?w(d[T],h[T],T,d,h):void 0;E===void 0&&(E=h[T]),m?dQ(d,T,E):gQ(d,T,E)}return d}O(w3e,"copyObject");var RD=w3e,fme=Math.max;function p3e(h,c,d){return c=fme(c===void 0?h.length-1:c,0),function(){for(var w=arguments,m=-1,k=fme(w.length-c,0),p=Array(k);++m<k;)p[m]=w[c+m];m=-1;for(var T=Array(c+1);++m<c;)T[m]=w[m];return T[c]=d(p),lon(h,this,T)}}O(p3e,"overRest");var m3e=p3e;function y3e(h,c){return r3e(m3e(h,c,z8),h+"")}O(y3e,"baseRest");var bQ=y3e,Bon=9007199254740991;function v3e(h){return typeof h=="number"&&h>-1&&h%1==0&&h<=Bon}O(v3e,"isLength");var qkt=v3e;function k3e(h){return h!=null&&qkt(h.length)&&!CD(h)}O(k3e,"isArrayLike");var K3=k3e;function C3e(h,c,d){if(!bb(d))return!1;var w=typeof c;return(w=="number"?K3(d)&&fQ(c,d.length):w=="string"&&c in d)?MA(d[c],h):!1}O(C3e,"isIterateeCall");var xD=C3e;function x3e(h){return bQ(function(c,d){var w=-1,m=d.length,k=m>1?d[m-1]:void 0,p=m>2?d[2]:void 0;for(k=h.length>3&&typeof k=="function"?(m--,k):void 0,p&&xD(d[0],d[1],p)&&(k=m<3?void 0:k,m=1),c=Object(c);++w<m;){var T=d[w];T&&h(c,T,w,k)}return c})}O(x3e,"createAssigner");var Aon=x3e,Mon=Object.prototype;function T3e(h){var c=h&&h.constructor,d=typeof c=="function"&&c.prototype||Mon;return h===d}O(T3e,"isPrototype");var wQ=T3e;function S3e(h,c){for(var d=-1,w=Array(h);++d<h;)w[d]=c(d);return w}O(S3e,"baseTimes");var Lon=S3e,Fon="[object Arguments]";function E3e(h){return K2(h)&&rx(h)==Fon}O(E3e,"baseIsArguments");var dme=E3e,B3e=Object.prototype,_on=B3e.hasOwnProperty,Oon=B3e.propertyIsEnumerable,Ion=dme((function(){return arguments})())?dme:function(h){return K2(h)&&_on.call(h,"callee")&&!Oon.call(h,"callee")},xA=Ion;function A3e(){return!1}O(A3e,"stubFalse");var Pon=A3e,M3e=typeof exports=="object"&&exports&&!exports.nodeType&&exports,gme=M3e&&typeof module=="object"&&module&&!module.nodeType&&module,jon=gme&&gme.exports===M3e,bme=jon?W2.Buffer:void 0,Don=bme?bme.isBuffer:void 0,$on=Don||Pon,TA=$on,Ron="[object Arguments]",Non="[object Array]",qon="[object Boolean]",Hon="[object Date]",Kon="[object Error]",zon="[object Function]",Won="[object Map]",Uon="[object Number]",Gon="[object Object]",Xon="[object RegExp]",Von="[object Set]",Yon="[object String]",Jon="[object WeakMap]",Qon="[object ArrayBuffer]",Zon="[object DataView]",tcn="[object Float32Array]",ecn="[object Float64Array]",ncn="[object Int8Array]",rcn="[object Int16Array]",icn="[object Int32Array]",scn="[object Uint8Array]",ocn="[object Uint8ClampedArray]",ccn="[object Uint16Array]",acn="[object Uint32Array]",tl={};tl[tcn]=tl[ecn]=tl[ncn]=tl[rcn]=tl[icn]=tl[scn]=tl[ocn]=tl[ccn]=tl[acn]=!0;tl[Ron]=tl[Non]=tl[Qon]=tl[qon]=tl[Zon]=tl[Hon]=tl[Kon]=tl[zon]=tl[Won]=tl[Uon]=tl[Gon]=tl[Xon]=tl[Von]=tl[Yon]=tl[Jon]=!1;function L3e(h){return K2(h)&&qkt(h.length)&&!!tl[rx(h)]}O(L3e,"baseIsTypedArray");var lcn=L3e;function F3e(h){return function(c){return h(c)}}O(F3e,"baseUnary");var pQ=F3e,_3e=typeof exports=="object"&&exports&&!exports.nodeType&&exports,fD=_3e&&typeof module=="object"&&module&&!module.nodeType&&module,ucn=fD&&fD.exports===_3e,s3t=ucn&&Lve.process,hcn=(function(){try{var h=fD&&fD.require&&fD.require("util").types;return h||s3t&&s3t.binding&&s3t.binding("util")}catch{}})(),SA=hcn,wme=SA&&SA.isTypedArray,fcn=wme?pQ(wme):lcn,mQ=fcn,dcn=Object.prototype,gcn=dcn.hasOwnProperty;function O3e(h,c){var d=bh(h),w=!d&&xA(h),m=!d&&!w&&TA(h),k=!d&&!w&&!m&&mQ(h),p=d||w||m||k,T=p?Lon(h.length,String):[],E=T.length;for(var B in h)(c||gcn.call(h,B))&&!(p&&(B=="length"||m&&(B=="offset"||B=="parent")||k&&(B=="buffer"||B=="byteLength"||B=="byteOffset")||fQ(B,E)))&&T.push(B);return T}O(O3e,"arrayLikeKeys");var I3e=O3e;function P3e(h,c){return function(d){return h(c(d))}}O(P3e,"overArg");var j3e=P3e,bcn=j3e(Object.keys,Object),wcn=bcn,pcn=Object.prototype,mcn=pcn.hasOwnProperty;function D3e(h){if(!wQ(h))return wcn(h);var c=[];for(var d in Object(h))mcn.call(h,d)&&d!="constructor"&&c.push(d);return c}O(D3e,"baseKeys");var Hkt=D3e;function $3e(h){return K3(h)?I3e(h):Hkt(h)}O($3e,"keys");var db=$3e;function R3e(h){var c=[];if(h!=null)for(var d in Object(h))c.push(d);return c}O(R3e,"nativeKeysIn");var ycn=R3e,vcn=Object.prototype,kcn=vcn.hasOwnProperty;function N3e(h){if(!bb(h))return ycn(h);var c=wQ(h),d=[];for(var w in h)w=="constructor"&&(c||!kcn.call(h,w))||d.push(w);return d}O(N3e,"baseKeysIn");var Ccn=N3e;function q3e(h){return K3(h)?I3e(h,!0):Ccn(h)}O(q3e,"keysIn");var G8=q3e,xcn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tcn=/^\w*$/;function H3e(h,c){if(bh(h))return!1;var d=typeof h;return d=="number"||d=="symbol"||d=="boolean"||h==null||$8(h)?!0:Tcn.test(h)||!xcn.test(h)||c!=null&&h in Object(c)}O(H3e,"isKey");var Kkt=H3e,Scn=U8(Object,"create"),TD=Scn;function K3e(){this.__data__=TD?TD(null):{},this.size=0}O(K3e,"hashClear");var Ecn=K3e;function z3e(h){var c=this.has(h)&&delete this.__data__[h];return this.size-=c?1:0,c}O(z3e,"hashDelete");var Bcn=z3e,Acn="__lodash_hash_undefined__",Mcn=Object.prototype,Lcn=Mcn.hasOwnProperty;function W3e(h){var c=this.__data__;if(TD){var d=c[h];return d===Acn?void 0:d}return Lcn.call(c,h)?c[h]:void 0}O(W3e,"hashGet");var Fcn=W3e,_cn=Object.prototype,Ocn=_cn.hasOwnProperty;function U3e(h){var c=this.__data__;return TD?c[h]!==void 0:Ocn.call(c,h)}O(U3e,"hashHas");var Icn=U3e,Pcn="__lodash_hash_undefined__";function G3e(h,c){var d=this.__data__;return this.size+=this.has(h)?0:1,d[h]=TD&&c===void 0?Pcn:c,this}O(G3e,"hashSet");var jcn=G3e;function X8(h){var c=-1,d=h==null?0:h.length;for(this.clear();++c<d;){var w=h[c];this.set(w[0],w[1])}}O(X8,"Hash");X8.prototype.clear=Ecn;X8.prototype.delete=Bcn;X8.prototype.get=Fcn;X8.prototype.has=Icn;X8.prototype.set=jcn;var pme=X8;function X3e(){this.__data__=[],this.size=0}O(X3e,"listCacheClear");var Dcn=X3e;function V3e(h,c){for(var d=h.length;d--;)if(MA(h[d][0],c))return d;return-1}O(V3e,"assocIndexOf");var yQ=V3e,$cn=Array.prototype,Rcn=$cn.splice;function Y3e(h){var c=this.__data__,d=yQ(c,h);if(d<0)return!1;var w=c.length-1;return d==w?c.pop():Rcn.call(c,d,1),--this.size,!0}O(Y3e,"listCacheDelete");var Ncn=Y3e;function J3e(h){var c=this.__data__,d=yQ(c,h);return d<0?void 0:c[d][1]}O(J3e,"listCacheGet");var qcn=J3e;function Q3e(h){return yQ(this.__data__,h)>-1}O(Q3e,"listCacheHas");var Hcn=Q3e;function Z3e(h,c){var d=this.__data__,w=yQ(d,h);return w<0?(++this.size,d.push([h,c])):d[w][1]=c,this}O(Z3e,"listCacheSet");var Kcn=Z3e;function V8(h){var c=-1,d=h==null?0:h.length;for(this.clear();++c<d;){var w=h[c];this.set(w[0],w[1])}}O(V8,"ListCache");V8.prototype.clear=Dcn;V8.prototype.delete=Ncn;V8.prototype.get=qcn;V8.prototype.has=Hcn;V8.prototype.set=Kcn;var vQ=V8,zcn=U8(W2,"Map"),SD=zcn;function tke(){this.size=0,this.__data__={hash:new pme,map:new(SD||vQ),string:new pme}}O(tke,"mapCacheClear");var Wcn=tke;function eke(h){var c=typeof h;return c=="string"||c=="number"||c=="symbol"||c=="boolean"?h!=="__proto__":h===null}O(eke,"isKeyable");var Ucn=eke;function nke(h,c){var d=h.__data__;return Ucn(c)?d[typeof c=="string"?"string":"hash"]:d.map}O(nke,"getMapData");var kQ=nke;function rke(h){var c=kQ(this,h).delete(h);return this.size-=c?1:0,c}O(rke,"mapCacheDelete");var Gcn=rke;function ike(h){return kQ(this,h).get(h)}O(ike,"mapCacheGet");var Xcn=ike;function ske(h){return kQ(this,h).has(h)}O(ske,"mapCacheHas");var Vcn=ske;function oke(h,c){var d=kQ(this,h),w=d.size;return d.set(h,c),this.size+=d.size==w?0:1,this}O(oke,"mapCacheSet");var Ycn=oke;function Y8(h){var c=-1,d=h==null?0:h.length;for(this.clear();++c<d;){var w=h[c];this.set(w[0],w[1])}}O(Y8,"MapCache");Y8.prototype.clear=Wcn;Y8.prototype.delete=Gcn;Y8.prototype.get=Xcn;Y8.prototype.has=Vcn;Y8.prototype.set=Ycn;var CQ=Y8,Jcn="Expected a function";function xQ(h,c){if(typeof h!="function"||c!=null&&typeof c!="function")throw new TypeError(Jcn);var d=O(function(){var w=arguments,m=c?c.apply(this,w):w[0],k=d.cache;if(k.has(m))return k.get(m);var p=h.apply(this,w);return d.cache=k.set(m,p)||k,p},"memoized");return d.cache=new(xQ.Cache||CQ),d}O(xQ,"memoize");xQ.Cache=CQ;var Qcn=xQ,Zcn=500;function cke(h){var c=Qcn(h,function(w){return d.size===Zcn&&d.clear(),w}),d=c.cache;return c}O(cke,"memoizeCapped");var tan=cke,ean=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nan=/\\(\\)?/g,ran=tan(function(h){var c=[];return h.charCodeAt(0)===46&&c.push(""),h.replace(ean,function(d,w,m,k){c.push(m?k.replace(nan,"$1"):w||d)}),c}),ian=ran;function ake(h){return h==null?"":Fsn(h)}O(ake,"toString");var lke=ake;function uke(h,c){return bh(h)?h:Kkt(h,c)?[h]:ian(lke(h))}O(uke,"castPath");var TQ=uke;function hke(h){if(typeof h=="string"||$8(h))return h;var c=h+"";return c=="0"&&1/h==-1/0?"-0":c}O(hke,"toKey");var ND=hke;function fke(h,c){c=TQ(c,h);for(var d=0,w=c.length;h!=null&&d<w;)h=h[ND(c[d++])];return d&&d==w?h:void 0}O(fke,"baseGet");var SQ=fke;function dke(h,c,d){var w=h==null?void 0:SQ(h,c);return w===void 0?d:w}O(dke,"get");var san=dke;function gke(h,c){for(var d=-1,w=c.length,m=h.length;++d<w;)h[m+d]=c[d];return h}O(gke,"arrayPush");var zkt=gke,mme=tp?tp.isConcatSpreadable:void 0;function bke(h){return bh(h)||xA(h)||!!(mme&&h&&h[mme])}O(bke,"isFlattenable");var oan=bke;function Wkt(h,c,d,w,m){var k=-1,p=h.length;for(d||(d=oan),m||(m=[]);++k<p;){var T=h[k];c>0&&d(T)?c>1?Wkt(T,c-1,d,w,m):zkt(m,T):w||(m[m.length]=T)}return m}O(Wkt,"baseFlatten");var Ukt=Wkt;function wke(h){var c=h==null?0:h.length;return c?Ukt(h,1):[]}O(wke,"flatten");var can=wke;function pke(h){return r3e(m3e(h,void 0,can),h+"")}O(pke,"flatRest");var aan=pke,lan=j3e(Object.getPrototypeOf,Object),Gkt=lan,uan="[object Object]",han=Function.prototype,fan=Object.prototype,mke=han.toString,dan=fan.hasOwnProperty,gan=mke.call(Object);function yke(h){if(!K2(h)||rx(h)!=uan)return!1;var c=Gkt(h);if(c===null)return!0;var d=dan.call(c,"constructor")&&c.constructor;return typeof d=="function"&&d instanceof d&&mke.call(d)==gan}O(yke,"isPlainObject");var ban=yke,wan="\\ud800-\\udfff",pan="\\u0300-\\u036f",man="\\ufe20-\\ufe2f",yan="\\u20d0-\\u20ff",van=pan+man+yan,kan="\\ufe0e\\ufe0f",Can="\\u200d",xan=RegExp("["+Can+wan+van+kan+"]");function vke(h){return xan.test(h)}O(vke,"hasUnicode");var Tan=vke;function kke(h,c,d,w){var m=-1,k=h==null?0:h.length;for(w&&k&&(d=h[++m]);++m<k;)d=c(d,h[m],m,h);return d}O(kke,"arrayReduce");var San=kke;function Cke(){this.__data__=new vQ,this.size=0}O(Cke,"stackClear");var Ean=Cke;function xke(h){var c=this.__data__,d=c.delete(h);return this.size=c.size,d}O(xke,"stackDelete");var Ban=xke;function Tke(h){return this.__data__.get(h)}O(Tke,"stackGet");var Aan=Tke;function Ske(h){return this.__data__.has(h)}O(Ske,"stackHas");var Man=Ske,Lan=200;function Eke(h,c){var d=this.__data__;if(d instanceof vQ){var w=d.__data__;if(!SD||w.length<Lan-1)return w.push([h,c]),this.size=++d.size,this;d=this.__data__=new CQ(w)}return d.set(h,c),this.size=d.size,this}O(Eke,"stackSet");var Fan=Eke;function J8(h){var c=this.__data__=new vQ(h);this.size=c.size}O(J8,"Stack");J8.prototype.clear=Ean;J8.prototype.delete=Ban;J8.prototype.get=Aan;J8.prototype.has=Man;J8.prototype.set=Fan;var eA=J8;function Bke(h,c){return h&&RD(c,db(c),h)}O(Bke,"baseAssign");var _an=Bke;function Ake(h,c){return h&&RD(c,G8(c),h)}O(Ake,"baseAssignIn");var Oan=Ake,Mke=typeof exports=="object"&&exports&&!exports.nodeType&&exports,yme=Mke&&typeof module=="object"&&module&&!module.nodeType&&module,Ian=yme&&yme.exports===Mke,vme=Ian?W2.Buffer:void 0,kme=vme?vme.allocUnsafe:void 0;function Lke(h,c){if(c)return h.slice();var d=h.length,w=kme?kme(d):new h.constructor(d);return h.copy(w),w}O(Lke,"cloneBuffer");var Fke=Lke;function _ke(h,c){for(var d=-1,w=h==null?0:h.length,m=0,k=[];++d<w;){var p=h[d];c(p,d,h)&&(k[m++]=p)}return k}O(_ke,"arrayFilter");var Oke=_ke;function Ike(){return[]}O(Ike,"stubArray");var Pke=Ike,Pan=Object.prototype,jan=Pan.propertyIsEnumerable,Cme=Object.getOwnPropertySymbols,Dan=Cme?function(h){return h==null?[]:(h=Object(h),Oke(Cme(h),function(c){return jan.call(h,c)}))}:Pke,Xkt=Dan;function jke(h,c){return RD(h,Xkt(h),c)}O(jke,"copySymbols");var $an=jke,Ran=Object.getOwnPropertySymbols,Nan=Ran?function(h){for(var c=[];h;)zkt(c,Xkt(h)),h=Gkt(h);return c}:Pke,Dke=Nan;function $ke(h,c){return RD(h,Dke(h),c)}O($ke,"copySymbolsIn");var qan=$ke;function Rke(h,c,d){var w=c(h);return bh(h)?w:zkt(w,d(h))}O(Rke,"baseGetAllKeys");var Nke=Rke;function qke(h){return Nke(h,db,Xkt)}O(qke,"getAllKeys");var X3t=qke;function Hke(h){return Nke(h,G8,Dke)}O(Hke,"getAllKeysIn");var Han=Hke,Kan=U8(W2,"DataView"),V3t=Kan,zan=U8(W2,"Promise"),Y3t=zan,Wan=U8(W2,"Set"),nA=Wan,xme="[object Map]",Uan="[object Object]",Tme="[object Promise]",Sme="[object Set]",Eme="[object WeakMap]",Bme="[object DataView]",Gan=W8(V3t),Xan=W8(SD),Van=W8(Y3t),Yan=W8(nA),Jan=W8(G3t),d8=rx;(V3t&&d8(new V3t(new ArrayBuffer(1)))!=Bme||SD&&d8(new SD)!=xme||Y3t&&d8(Y3t.resolve())!=Tme||nA&&d8(new nA)!=Sme||G3t&&d8(new G3t)!=Eme)&&(d8=O(function(h){var c=rx(h),d=c==Uan?h.constructor:void 0,w=d?W8(d):"";if(w)switch(w){case Gan:return Bme;case Xan:return xme;case Van:return Tme;case Yan:return Sme;case Jan:return Eme}return c},"getTag"));var R8=d8,Qan=Object.prototype,Zan=Qan.hasOwnProperty;function Kke(h){var c=h.length,d=new h.constructor(c);return c&&typeof h[0]=="string"&&Zan.call(h,"index")&&(d.index=h.index,d.input=h.input),d}O(Kke,"initCloneArray");var tln=Kke,eln=W2.Uint8Array,DJ=eln;function zke(h){var c=new h.constructor(h.byteLength);return new DJ(c).set(new DJ(h)),c}O(zke,"cloneArrayBuffer");var Vkt=zke;function Wke(h,c){var d=c?Vkt(h.buffer):h.buffer;return new h.constructor(d,h.byteOffset,h.byteLength)}O(Wke,"cloneDataView");var nln=Wke,rln=/\w*$/;function Uke(h){var c=new h.constructor(h.source,rln.exec(h));return c.lastIndex=h.lastIndex,c}O(Uke,"cloneRegExp");var iln=Uke,Ame=tp?tp.prototype:void 0,Mme=Ame?Ame.valueOf:void 0;function Gke(h){return Mme?Object(Mme.call(h)):{}}O(Gke,"cloneSymbol");var sln=Gke;function Xke(h,c){var d=c?Vkt(h.buffer):h.buffer;return new h.constructor(d,h.byteOffset,h.length)}O(Xke,"cloneTypedArray");var Vke=Xke,oln="[object Boolean]",cln="[object Date]",aln="[object Map]",lln="[object Number]",uln="[object RegExp]",hln="[object Set]",fln="[object String]",dln="[object Symbol]",gln="[object ArrayBuffer]",bln="[object DataView]",wln="[object Float32Array]",pln="[object Float64Array]",mln="[object Int8Array]",yln="[object Int16Array]",vln="[object Int32Array]",kln="[object Uint8Array]",Cln="[object Uint8ClampedArray]",xln="[object Uint16Array]",Tln="[object Uint32Array]";function Yke(h,c,d){var w=h.constructor;switch(c){case gln:return Vkt(h);case oln:case cln:return new w(+h);case bln:return nln(h,d);case wln:case pln:case mln:case yln:case vln:case kln:case Cln:case xln:case Tln:return Vke(h,d);case aln:return new w;case lln:case fln:return new w(h);case uln:return iln(h);case hln:return new w;case dln:return sln(h)}}O(Yke,"initCloneByTag");var Sln=Yke;function Jke(h){return typeof h.constructor=="function"&&!wQ(h)?aon(Gkt(h)):{}}O(Jke,"initCloneObject");var Qke=Jke,Eln="[object Map]";function Zke(h){return K2(h)&&R8(h)==Eln}O(Zke,"baseIsMap");var Bln=Zke,Lme=SA&&SA.isMap,Aln=Lme?pQ(Lme):Bln,Mln=Aln,Lln="[object Set]";function tCe(h){return K2(h)&&R8(h)==Lln}O(tCe,"baseIsSet");var Fln=tCe,Fme=SA&&SA.isSet,_ln=Fme?pQ(Fme):Fln,Oln=_ln,Iln=1,Pln=2,jln=4,eCe="[object Arguments]",Dln="[object Array]",$ln="[object Boolean]",Rln="[object Date]",Nln="[object Error]",nCe="[object Function]",qln="[object GeneratorFunction]",Hln="[object Map]",Kln="[object Number]",rCe="[object Object]",zln="[object RegExp]",Wln="[object Set]",Uln="[object String]",Gln="[object Symbol]",Xln="[object WeakMap]",Vln="[object ArrayBuffer]",Yln="[object DataView]",Jln="[object Float32Array]",Qln="[object Float64Array]",Zln="[object Int8Array]",tun="[object Int16Array]",eun="[object Int32Array]",nun="[object Uint8Array]",run="[object Uint8ClampedArray]",iun="[object Uint16Array]",sun="[object Uint32Array]",Ka={};Ka[eCe]=Ka[Dln]=Ka[Vln]=Ka[Yln]=Ka[$ln]=Ka[Rln]=Ka[Jln]=Ka[Qln]=Ka[Zln]=Ka[tun]=Ka[eun]=Ka[Hln]=Ka[Kln]=Ka[rCe]=Ka[zln]=Ka[Wln]=Ka[Uln]=Ka[Gln]=Ka[nun]=Ka[run]=Ka[iun]=Ka[sun]=!0;Ka[Nln]=Ka[nCe]=Ka[Xln]=!1;function dD(h,c,d,w,m,k){var p,T=c&Iln,E=c&Pln,B=c&jln;if(d&&(p=m?d(h,w,m,k):d(h)),p!==void 0)return p;if(!bb(h))return h;var A=bh(h);if(A){if(p=tln(h),!T)return t3e(h,p)}else{var L=R8(h),I=L==nCe||L==qln;if(TA(h))return Fke(h,T);if(L==rCe||L==eCe||I&&!m){if(p=E||I?{}:Qke(h),!T)return E?qan(h,Oan(p,h)):$an(h,_an(p,h))}else{if(!Ka[L])return m?h:{};p=Sln(h,L,T)}}k||(k=new eA);var $=k.get(h);if($)return $;k.set(h,p),Oln(h)?h.forEach(function(J){p.add(dD(J,c,d,J,h,k))}):Mln(h)&&h.forEach(function(J,X){p.set(X,dD(J,c,d,X,h,k))});var P=B?E?Han:X3t:E?G8:db,U=A?void 0:P(h);return s3e(U||h,function(J,X){U&&(X=J,J=h[X]),gQ(p,X,dD(J,c,d,X,h,k))}),p}O(dD,"baseClone");var oun=dD,cun=1,aun=4;function iCe(h){return oun(h,cun|aun)}O(iCe,"cloneDeep");var Cpn=iCe,lun="__lodash_hash_undefined__";function sCe(h){return this.__data__.set(h,lun),this}O(sCe,"setCacheAdd");var uun=sCe;function oCe(h){return this.__data__.has(h)}O(oCe,"setCacheHas");var hun=oCe;function ED(h){var c=-1,d=h==null?0:h.length;for(this.__data__=new CQ;++c<d;)this.add(h[c])}O(ED,"SetCache");ED.prototype.add=ED.prototype.push=uun;ED.prototype.has=hun;var cCe=ED;function aCe(h,c){for(var d=-1,w=h==null?0:h.length;++d<w;)if(c(h[d],d,h))return!0;return!1}O(aCe,"arraySome");var fun=aCe;function lCe(h,c){return h.has(c)}O(lCe,"cacheHas");var uCe=lCe,dun=1,gun=2;function hCe(h,c,d,w,m,k){var p=d&dun,T=h.length,E=c.length;if(T!=E&&!(p&&E>T))return!1;var B=k.get(h),A=k.get(c);if(B&&A)return B==c&&A==h;var L=-1,I=!0,$=d&gun?new cCe:void 0;for(k.set(h,c),k.set(c,h);++L<T;){var P=h[L],U=c[L];if(w)var J=p?w(U,P,L,c,h,k):w(P,U,L,h,c,k);if(J!==void 0){if(J)continue;I=!1;break}if($){if(!fun(c,function(X,rt){if(!uCe($,rt)&&(P===X||m(P,X,d,w,k)))return $.push(rt)})){I=!1;break}}else if(!(P===U||m(P,U,d,w,k))){I=!1;break}}return k.delete(h),k.delete(c),I}O(hCe,"equalArrays");var fCe=hCe;function dCe(h){var c=-1,d=Array(h.size);return h.forEach(function(w,m){d[++c]=[m,w]}),d}O(dCe,"mapToArray");var bun=dCe;function gCe(h){var c=-1,d=Array(h.size);return h.forEach(function(w){d[++c]=w}),d}O(gCe,"setToArray");var Ykt=gCe,wun=1,pun=2,mun="[object Boolean]",yun="[object Date]",vun="[object Error]",kun="[object Map]",Cun="[object Number]",xun="[object RegExp]",Tun="[object Set]",Sun="[object String]",Eun="[object Symbol]",Bun="[object ArrayBuffer]",Aun="[object DataView]",_me=tp?tp.prototype:void 0,o3t=_me?_me.valueOf:void 0;function bCe(h,c,d,w,m,k,p){switch(d){case Aun:if(h.byteLength!=c.byteLength||h.byteOffset!=c.byteOffset)return!1;h=h.buffer,c=c.buffer;case Bun:return!(h.byteLength!=c.byteLength||!k(new DJ(h),new DJ(c)));case mun:case yun:case Cun:return MA(+h,+c);case vun:return h.name==c.name&&h.message==c.message;case xun:case Sun:return h==c+"";case kun:var T=bun;case Tun:var E=w&wun;if(T||(T=Ykt),h.size!=c.size&&!E)return!1;var B=p.get(h);if(B)return B==c;w|=pun,p.set(h,c);var A=fCe(T(h),T(c),w,m,k,p);return p.delete(h),A;case Eun:if(o3t)return o3t.call(h)==o3t.call(c)}return!1}O(bCe,"equalByTag");var Mun=bCe,Lun=1,Fun=Object.prototype,_un=Fun.hasOwnProperty;function wCe(h,c,d,w,m,k){var p=d&Lun,T=X3t(h),E=T.length,B=X3t(c),A=B.length;if(E!=A&&!p)return!1;for(var L=E;L--;){var I=T[L];if(!(p?I in c:_un.call(c,I)))return!1}var $=k.get(h),P=k.get(c);if($&&P)return $==c&&P==h;var U=!0;k.set(h,c),k.set(c,h);for(var J=p;++L<E;){I=T[L];var X=h[I],rt=c[I];if(w)var lt=p?w(rt,X,I,c,h,k):w(X,rt,I,h,c,k);if(!(lt===void 0?X===rt||m(X,rt,d,w,k):lt)){U=!1;break}J||(J=I=="constructor")}if(U&&!J){var xt=h.constructor,Mt=c.constructor;xt!=Mt&&"constructor"in h&&"constructor"in c&&!(typeof xt=="function"&&xt instanceof xt&&typeof Mt=="function"&&Mt instanceof Mt)&&(U=!1)}return k.delete(h),k.delete(c),U}O(wCe,"equalObjects");var Oun=wCe,Iun=1,Ome="[object Arguments]",Ime="[object Array]",aJ="[object Object]",Pun=Object.prototype,Pme=Pun.hasOwnProperty;function pCe(h,c,d,w,m,k){var p=bh(h),T=bh(c),E=p?Ime:R8(h),B=T?Ime:R8(c);E=E==Ome?aJ:E,B=B==Ome?aJ:B;var A=E==aJ,L=B==aJ,I=E==B;if(I&&TA(h)){if(!TA(c))return!1;p=!0,A=!1}if(I&&!A)return k||(k=new eA),p||mQ(h)?fCe(h,c,d,w,m,k):Mun(h,c,E,d,w,m,k);if(!(d&Iun)){var $=A&&Pme.call(h,"__wrapped__"),P=L&&Pme.call(c,"__wrapped__");if($||P){var U=$?h.value():h,J=P?c.value():c;return k||(k=new eA),m(U,J,d,w,k)}}return I?(k||(k=new eA),Oun(h,c,d,w,m,k)):!1}O(pCe,"baseIsEqualDeep");var jun=pCe;function Jkt(h,c,d,w,m){return h===c?!0:h==null||c==null||!K2(h)&&!K2(c)?h!==h&&c!==c:jun(h,c,d,w,Jkt,m)}O(Jkt,"baseIsEqual");var mCe=Jkt,Dun=1,$un=2;function yCe(h,c,d,w){var m=d.length,k=m,p=!w;if(h==null)return!k;for(h=Object(h);m--;){var T=d[m];if(p&&T[2]?T[1]!==h[T[0]]:!(T[0]in h))return!1}for(;++m<k;){T=d[m];var E=T[0],B=h[E],A=T[1];if(p&&T[2]){if(B===void 0&&!(E in h))return!1}else{var L=new eA;if(w)var I=w(B,A,E,h,c,L);if(!(I===void 0?mCe(A,B,Dun|$un,w,L):I))return!1}}return!0}O(yCe,"baseIsMatch");var Run=yCe;function vCe(h){return h===h&&!bb(h)}O(vCe,"isStrictComparable");var kCe=vCe;function CCe(h){for(var c=db(h),d=c.length;d--;){var w=c[d],m=h[w];c[d]=[w,m,kCe(m)]}return c}O(CCe,"getMatchData");var Nun=CCe;function xCe(h,c){return function(d){return d==null?!1:d[h]===c&&(c!==void 0||h in Object(d))}}O(xCe,"matchesStrictComparable");var TCe=xCe;function SCe(h){var c=Nun(h);return c.length==1&&c[0][2]?TCe(c[0][0],c[0][1]):function(d){return d===h||Run(d,h,c)}}O(SCe,"baseMatches");var qun=SCe;function ECe(h,c){return h!=null&&c in Object(h)}O(ECe,"baseHasIn");var Hun=ECe;function BCe(h,c,d){c=TQ(c,h);for(var w=-1,m=c.length,k=!1;++w<m;){var p=ND(c[w]);if(!(k=h!=null&&d(h,p)))break;h=h[p]}return k||++w!=m?k:(m=h==null?0:h.length,!!m&&qkt(m)&&fQ(p,m)&&(bh(h)||xA(h)))}O(BCe,"hasPath");var ACe=BCe;function MCe(h,c){return h!=null&&ACe(h,c,Hun)}O(MCe,"hasIn");var LCe=MCe,Kun=1,zun=2;function FCe(h,c){return Kkt(h)&&kCe(c)?TCe(ND(h),c):function(d){var w=san(d,h);return w===void 0&&w===c?LCe(d,h):mCe(c,w,Kun|zun)}}O(FCe,"baseMatchesProperty");var Wun=FCe;function _Ce(h){return function(c){return c==null?void 0:c[h]}}O(_Ce,"baseProperty");var OCe=_Ce;function ICe(h){return function(c){return SQ(c,h)}}O(ICe,"basePropertyDeep");var Uun=ICe;function PCe(h){return Kkt(h)?OCe(ND(h)):Uun(h)}O(PCe,"property");var Gun=PCe;function jCe(h){return typeof h=="function"?h:h==null?z8:typeof h=="object"?bh(h)?Wun(h[0],h[1]):qun(h):Gun(h)}O(jCe,"baseIteratee");var ix=jCe;function DCe(h){return function(c,d,w){for(var m=-1,k=Object(c),p=w(c),T=p.length;T--;){var E=p[h?T:++m];if(d(k[E],E,k)===!1)break}return c}}O(DCe,"createBaseFor");var Xun=DCe,Vun=Xun(),Qkt=Vun;function $Ce(h,c){return h&&Qkt(h,c,db)}O($Ce,"baseForOwn");var Zkt=$Ce;function RCe(h,c){return function(d,w){if(d==null)return d;if(!K3(d))return h(d,w);for(var m=d.length,k=c?m:-1,p=Object(d);(c?k--:++k<m)&&w(p[k],k,p)!==!1;);return d}}O(RCe,"createBaseEach");var Yun=RCe,Jun=Yun(Zkt),EQ=Jun,Qun=O(function(){return W2.Date.now()},"now"),xpn=Qun,NCe=Object.prototype,Zun=NCe.hasOwnProperty,thn=bQ(function(h,c){h=Object(h);var d=-1,w=c.length,m=w>2?c[2]:void 0;for(m&&xD(c[0],c[1],m)&&(w=1);++d<w;)for(var k=c[d],p=G8(k),T=-1,E=p.length;++T<E;){var B=p[T],A=h[B];(A===void 0||MA(A,NCe[B])&&!Zun.call(h,B))&&(h[B]=k[B])}return h}),Tpn=thn;function qCe(h,c,d){(d!==void 0&&!MA(h[c],d)||d===void 0&&!(c in h))&&dQ(h,c,d)}O(qCe,"assignMergeValue");var J3t=qCe;function HCe(h){return K2(h)&&K3(h)}O(HCe,"isArrayLikeObject");var KCe=HCe;function zCe(h,c){if(!(c==="constructor"&&typeof h[c]=="function")&&c!="__proto__")return h[c]}O(zCe,"safeGet");var Q3t=zCe;function WCe(h){return RD(h,G8(h))}O(WCe,"toPlainObject");var ehn=WCe;function UCe(h,c,d,w,m,k,p){var T=Q3t(h,d),E=Q3t(c,d),B=p.get(E);if(B){J3t(h,d,B);return}var A=k?k(T,E,d+"",h,c,p):void 0,L=A===void 0;if(L){var I=bh(E),$=!I&&TA(E),P=!I&&!$&&mQ(E);A=E,I||$||P?bh(T)?A=T:KCe(T)?A=t3e(T):$?(L=!1,A=Fke(E,!0)):P?(L=!1,A=Vke(E,!0)):A=[]:ban(E)||xA(E)?(A=T,xA(T)?A=ehn(T):(!bb(T)||CD(T))&&(A=Qke(E))):L=!1}L&&(p.set(E,A),m(A,E,w,k,p),p.delete(E)),J3t(h,d,A)}O(UCe,"baseMergeDeep");var nhn=UCe;function tCt(h,c,d,w,m){h!==c&&Qkt(c,function(k,p){if(m||(m=new eA),bb(k))nhn(h,c,p,d,tCt,w,m);else{var T=w?w(Q3t(h,p),k,p+"",h,c,m):void 0;T===void 0&&(T=k),J3t(h,p,T)}},G8)}O(tCt,"baseMerge");var rhn=tCt;function GCe(h,c,d){for(var w=-1,m=h==null?0:h.length;++w<m;)if(d(c,h[w]))return!0;return!1}O(GCe,"arrayIncludesWith");var ihn=GCe;function XCe(h){var c=h==null?0:h.length;return c?h[c-1]:void 0}O(XCe,"last");var Spn=XCe;function VCe(h){return typeof h=="function"?h:z8}O(VCe,"castFunction");var eCt=VCe;function YCe(h,c){var d=bh(h)?s3e:EQ;return d(h,eCt(c))}O(YCe,"forEach");var u8=YCe;function JCe(h,c){var d=[];return EQ(h,function(w,m,k){c(w,m,k)&&d.push(w)}),d}O(JCe,"baseFilter");var shn=JCe;function QCe(h,c){var d=bh(h)?Oke:shn;return d(h,ix(c))}O(QCe,"filter");var lJ=QCe;function ZCe(h){return function(c,d,w){var m=Object(c);if(!K3(c)){var k=ix(d);c=db(c),d=O(function(T){return k(m[T],T,m)},"predicate")}var p=h(c,d,w);return p>-1?m[k?c[p]:p]:void 0}}O(ZCe,"createFind");var ohn=ZCe,chn=Math.max;function t4e(h,c,d){var w=h==null?0:h.length;if(!w)return-1;var m=d==null?0:Hsn(d);return m<0&&(m=chn(w+m,0)),c3e(h,ix(c),m)}O(t4e,"findIndex");var ahn=t4e,lhn=ohn(ahn),Epn=lhn;function e4e(h,c){var d=-1,w=K3(h)?Array(h.length):[];return EQ(h,function(m,k,p){w[++d]=c(m,k,p)}),w}O(e4e,"baseMap");var n4e=e4e;function r4e(h,c){var d=bh(h)?tA:n4e;return d(h,ix(c))}O(r4e,"map");var Bpn=r4e;function i4e(h,c){return h==null?h:Qkt(h,eCt(c),G8)}O(i4e,"forIn");var Apn=i4e;function s4e(h,c){return h&&Zkt(h,eCt(c))}O(s4e,"forOwn");var Mpn=s4e;function o4e(h,c){return h>c}O(o4e,"baseGt");var uhn=o4e,hhn=Object.prototype,fhn=hhn.hasOwnProperty;function c4e(h,c){return h!=null&&fhn.call(h,c)}O(c4e,"baseHas");var dhn=c4e;function a4e(h,c){return h!=null&&ACe(h,c,dhn)}O(a4e,"has");var Lpn=a4e,ghn="[object String]";function l4e(h){return typeof h=="string"||!bh(h)&&K2(h)&&rx(h)==ghn}O(l4e,"isString");var bhn=l4e;function u4e(h,c){return tA(c,function(d){return h[d]})}O(u4e,"baseValues");var whn=u4e;function h4e(h){return h==null?[]:whn(h,db(h))}O(h4e,"values");var c3t=h4e,phn="[object Map]",mhn="[object Set]",yhn=Object.prototype,vhn=yhn.hasOwnProperty;function f4e(h){if(h==null)return!0;if(K3(h)&&(bh(h)||typeof h=="string"||typeof h.splice=="function"||TA(h)||mQ(h)||xA(h)))return!h.length;var c=R8(h);if(c==phn||c==mhn)return!h.size;if(wQ(h))return!Hkt(h).length;for(var d in h)if(vhn.call(h,d))return!1;return!0}O(f4e,"isEmpty");var jme=f4e;function d4e(h){return h===void 0}O(d4e,"isUndefined");var UB=d4e;function g4e(h,c){return h<c}O(g4e,"baseLt");var b4e=g4e;function w4e(h,c){var d={};return c=ix(c),Zkt(h,function(w,m,k){dQ(d,m,c(w,m,k))}),d}O(w4e,"mapValues");var Fpn=w4e;function p4e(h,c,d){for(var w=-1,m=h.length;++w<m;){var k=h[w],p=c(k);if(p!=null&&(T===void 0?p===p&&!$8(p):d(p,T)))var T=p,E=k}return E}O(p4e,"baseExtremum");var nCt=p4e;function m4e(h){return h&&h.length?nCt(h,z8,uhn):void 0}O(m4e,"max");var _pn=m4e,khn=Aon(function(h,c,d){rhn(h,c,d)}),Opn=khn;function y4e(h){return h&&h.length?nCt(h,z8,b4e):void 0}O(y4e,"min");var Ipn=y4e;function v4e(h,c){return h&&h.length?nCt(h,ix(c),b4e):void 0}O(v4e,"minBy");var Ppn=v4e;function k4e(h,c,d,w){if(!bb(h))return h;c=TQ(c,h);for(var m=-1,k=c.length,p=k-1,T=h;T!=null&&++m<k;){var E=ND(c[m]),B=d;if(E==="__proto__"||E==="constructor"||E==="prototype")return h;if(m!=p){var A=T[E];B=w?w(A,E,T):void 0,B===void 0&&(B=bb(A)?A:fQ(c[m+1])?[]:{})}gQ(T,E,B),T=T[E]}return h}O(k4e,"baseSet");var Chn=k4e;function C4e(h,c,d){for(var w=-1,m=c.length,k={};++w<m;){var p=c[w],T=SQ(h,p);d(T,p)&&Chn(k,TQ(p,h),T)}return k}O(C4e,"basePickBy");var xhn=C4e;function x4e(h,c){var d=h.length;for(h.sort(c);d--;)h[d]=h[d].value;return h}O(x4e,"baseSortBy");var Thn=x4e;function T4e(h,c){if(h!==c){var d=h!==void 0,w=h===null,m=h===h,k=$8(h),p=c!==void 0,T=c===null,E=c===c,B=$8(c);if(!T&&!B&&!k&&h>c||k&&p&&E&&!T&&!B||w&&p&&E||!d&&E||!m)return 1;if(!w&&!k&&!B&&h<c||B&&d&&m&&!w&&!k||T&&d&&m||!p&&m||!E)return-1}return 0}O(T4e,"compareAscending");var Shn=T4e;function S4e(h,c,d){for(var w=-1,m=h.criteria,k=c.criteria,p=m.length,T=d.length;++w<p;){var E=Shn(m[w],k[w]);if(E){if(w>=T)return E;var B=d[w];return E*(B=="desc"?-1:1)}}return h.index-c.index}O(S4e,"compareMultiple");var Ehn=S4e;function E4e(h,c,d){c.length?c=tA(c,function(k){return bh(k)?function(p){return SQ(p,k.length===1?k[0]:k)}:k}):c=[z8];var w=-1;c=tA(c,pQ(ix));var m=n4e(h,function(k,p,T){var E=tA(c,function(B){return B(k)});return{criteria:E,index:++w,value:k}});return Thn(m,function(k,p){return Ehn(k,p,d)})}O(E4e,"baseOrderBy");var Bhn=E4e,Ahn=OCe("length"),Mhn=Ahn,B4e="\\ud800-\\udfff",Lhn="\\u0300-\\u036f",Fhn="\\ufe20-\\ufe2f",_hn="\\u20d0-\\u20ff",Ohn=Lhn+Fhn+_hn,Ihn="\\ufe0e\\ufe0f",Phn="["+B4e+"]",Z3t="["+Ohn+"]",tkt="\\ud83c[\\udffb-\\udfff]",jhn="(?:"+Z3t+"|"+tkt+")",A4e="[^"+B4e+"]",M4e="(?:\\ud83c[\\udde6-\\uddff]){2}",L4e="[\\ud800-\\udbff][\\udc00-\\udfff]",Dhn="\\u200d",F4e=jhn+"?",_4e="["+Ihn+"]?",$hn="(?:"+Dhn+"(?:"+[A4e,M4e,L4e].join("|")+")"+_4e+F4e+")*",Rhn=_4e+F4e+$hn,Nhn="(?:"+[A4e+Z3t+"?",Z3t,M4e,L4e,Phn].join("|")+")",Dme=RegExp(tkt+"(?="+tkt+")|"+Nhn+Rhn,"g");function O4e(h){for(var c=Dme.lastIndex=0;Dme.test(h);)++c;return c}O(O4e,"unicodeSize");var qhn=O4e;function I4e(h){return Tan(h)?qhn(h):Mhn(h)}O(I4e,"stringSize");var Hhn=I4e;function P4e(h,c){return xhn(h,c,function(d,w){return LCe(h,w)})}O(P4e,"basePick");var Khn=P4e,zhn=aan(function(h,c){return h==null?{}:Khn(h,c)}),jpn=zhn,Whn=Math.ceil,Uhn=Math.max;function j4e(h,c,d,w){for(var m=-1,k=Uhn(Whn((c-h)/(d||1)),0),p=Array(k);k--;)p[w?k:++m]=h,h+=d;return p}O(j4e,"baseRange");var Ghn=j4e;function D4e(h){return function(c,d,w){return w&&typeof w!="number"&&xD(c,d,w)&&(d=w=void 0),c=vJ(c),d===void 0?(d=c,c=0):d=vJ(d),w=w===void 0?c<d?1:-1:vJ(w),Ghn(c,d,w,h)}}O(D4e,"createRange");var Xhn=D4e,Vhn=Xhn(),Dpn=Vhn;function $4e(h,c,d,w,m){return m(h,function(k,p,T){d=w?(w=!1,k):c(d,k,p,T)}),d}O($4e,"baseReduce");var Yhn=$4e;function R4e(h,c,d){var w=bh(h)?San:Yhn,m=arguments.length<3;return w(h,ix(c),d,m,EQ)}O(R4e,"reduce");var Jhn=R4e,Qhn="[object Map]",Zhn="[object Set]";function N4e(h){if(h==null)return 0;if(K3(h))return bhn(h)?Hhn(h):h.length;var c=R8(h);return c==Qhn||c==Zhn?h.size:Hkt(h).length}O(N4e,"size");var $pn=N4e,tfn=bQ(function(h,c){if(h==null)return[];var d=c.length;return d>1&&xD(h,c[0],c[1])?c=[]:d>2&&xD(c[0],c[1],c[2])&&(c=[c[0]]),Bhn(h,Ukt(c,1),[])}),Rpn=tfn,efn=1/0,nfn=nA&&1/Ykt(new nA([,-0]))[1]==efn?function(h){return new nA(h)}:uon,rfn=nfn,ifn=200;function q4e(h,c,d){var w=-1,m=Con,k=h.length,p=!0,T=[],E=T;if(d)p=!1,m=ihn;else if(k>=ifn){var B=c?null:rfn(h);if(B)return Ykt(B);p=!1,m=uCe,E=new cCe}else E=c?[]:T;t:for(;++w<k;){var A=h[w],L=c?c(A):A;if(A=d||A!==0?A:0,p&&L===L){for(var I=E.length;I--;)if(E[I]===L)continue t;c&&E.push(L),T.push(A)}else m(E,L,d)||(E!==T&&E.push(L),T.push(A))}return T}O(q4e,"baseUniq");var sfn=q4e,ofn=bQ(function(h){return sfn(Ukt(h,1,KCe,!0))}),cfn=ofn,afn=0;function H4e(h){var c=++afn;return lke(h)+c}O(H4e,"uniqueId");var Npn=H4e;function K4e(h,c,d){for(var w=-1,m=h.length,k=c.length,p={};++w<m;){var T=w<k?c[w]:void 0;d(p,h[w],T)}return p}O(K4e,"baseZipObject");var lfn=K4e;function z4e(h,c){return lfn(h||[],c||[],gQ)}O(z4e,"zipObject");var qpn=z4e,ufn="\0",h8="\0",$me="",oA,BQ=(oA=class{constructor(c={}){this._isDirected=Object.prototype.hasOwnProperty.call(c,"directed")?c.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(c,"multigraph")?c.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(c,"compound")?c.compound:!1,this._label=void 0,this._defaultNodeLabelFn=iD(void 0),this._defaultEdgeLabelFn=iD(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[h8]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(c){return this._label=c,this}graph(){return this._label}setDefaultNodeLabel(c){return CD(c)||(c=iD(c)),this._defaultNodeLabelFn=c,this}nodeCount(){return this._nodeCount}nodes(){return db(this._nodes)}sources(){var c=this;return lJ(this.nodes(),function(d){return jme(c._in[d])})}sinks(){var c=this;return lJ(this.nodes(),function(d){return jme(c._out[d])})}setNodes(c,d){var w=arguments,m=this;return u8(c,function(k){w.length>1?m.setNode(k,d):m.setNode(k)}),this}setNode(c,d){return Object.prototype.hasOwnProperty.call(this._nodes,c)?(arguments.length>1&&(this._nodes[c]=d),this):(this._nodes[c]=arguments.length>1?d:this._defaultNodeLabelFn(c),this._isCompound&&(this._parent[c]=h8,this._children[c]={},this._children[h8][c]=!0),this._in[c]={},this._preds[c]={},this._out[c]={},this._sucs[c]={},++this._nodeCount,this)}node(c){return this._nodes[c]}hasNode(c){return Object.prototype.hasOwnProperty.call(this._nodes,c)}removeNode(c){if(Object.prototype.hasOwnProperty.call(this._nodes,c)){var d=O(w=>this.removeEdge(this._edgeObjs[w]),"removeEdge");delete this._nodes[c],this._isCompound&&(this._removeFromParentsChildList(c),delete this._parent[c],u8(this.children(c),w=>{this.setParent(w)}),delete this._children[c]),u8(db(this._in[c]),d),delete this._in[c],delete this._preds[c],u8(db(this._out[c]),d),delete this._out[c],delete this._sucs[c],--this._nodeCount}return this}setParent(c,d){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(UB(d))d=h8;else{d+="";for(var w=d;!UB(w);w=this.parent(w))if(w===c)throw new Error("Setting "+d+" as parent of "+c+" would create a cycle");this.setNode(d)}return this.setNode(c),this._removeFromParentsChildList(c),this._parent[c]=d,this._children[d][c]=!0,this}_removeFromParentsChildList(c){delete this._children[this._parent[c]][c]}parent(c){if(this._isCompound){var d=this._parent[c];if(d!==h8)return d}}children(c){if(UB(c)&&(c=h8),this._isCompound){var d=this._children[c];if(d)return db(d)}else{if(c===h8)return this.nodes();if(this.hasNode(c))return[]}}predecessors(c){var d=this._preds[c];if(d)return db(d)}successors(c){var d=this._sucs[c];if(d)return db(d)}neighbors(c){var d=this.predecessors(c);if(d)return cfn(d,this.successors(c))}isLeaf(c){var d;return this.isDirected()?d=this.successors(c):d=this.neighbors(c),d.length===0}filterNodes(c){var d=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});d.setGraph(this.graph());var w=this;u8(this._nodes,function(p,T){c(T)&&d.setNode(T,p)}),u8(this._edgeObjs,function(p){d.hasNode(p.v)&&d.hasNode(p.w)&&d.setEdge(p,w.edge(p))});var m={};function k(p){var T=w.parent(p);return T===void 0||d.hasNode(T)?(m[p]=T,T):T in m?m[T]:k(T)}return O(k,"findParent"),this._isCompound&&u8(d.nodes(),function(p){d.setParent(p,k(p))}),d}setDefaultEdgeLabel(c){return CD(c)||(c=iD(c)),this._defaultEdgeLabelFn=c,this}edgeCount(){return this._edgeCount}edges(){return c3t(this._edgeObjs)}setPath(c,d){var w=this,m=arguments;return Jhn(c,function(k,p){return m.length>1?w.setEdge(k,p,d):w.setEdge(k,p),p}),this}setEdge(){var c,d,w,m,k=!1,p=arguments[0];typeof p=="object"&&p!==null&&"v"in p?(c=p.v,d=p.w,w=p.name,arguments.length===2&&(m=arguments[1],k=!0)):(c=p,d=arguments[1],w=arguments[3],arguments.length>2&&(m=arguments[2],k=!0)),c=""+c,d=""+d,UB(w)||(w=""+w);var T=YB(this._isDirected,c,d,w);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,T))return k&&(this._edgeLabels[T]=m),this;if(!UB(w)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(c),this.setNode(d),this._edgeLabels[T]=k?m:this._defaultEdgeLabelFn(c,d,w);var E=W4e(this._isDirected,c,d,w);return c=E.v,d=E.w,Object.freeze(E),this._edgeObjs[T]=E,ekt(this._preds[d],c),ekt(this._sucs[c],d),this._in[d][T]=E,this._out[c][T]=E,this._edgeCount++,this}edge(c,d,w){var m=arguments.length===1?kJ(this._isDirected,arguments[0]):YB(this._isDirected,c,d,w);return this._edgeLabels[m]}hasEdge(c,d,w){var m=arguments.length===1?kJ(this._isDirected,arguments[0]):YB(this._isDirected,c,d,w);return Object.prototype.hasOwnProperty.call(this._edgeLabels,m)}removeEdge(c,d,w){var m=arguments.length===1?kJ(this._isDirected,arguments[0]):YB(this._isDirected,c,d,w),k=this._edgeObjs[m];return k&&(c=k.v,d=k.w,delete this._edgeLabels[m],delete this._edgeObjs[m],nkt(this._preds[d],c),nkt(this._sucs[c],d),delete this._in[d][m],delete this._out[c][m],this._edgeCount--),this}inEdges(c,d){var w=this._in[c];if(w){var m=c3t(w);return d?lJ(m,function(k){return k.v===d}):m}}outEdges(c,d){var w=this._out[c];if(w){var m=c3t(w);return d?lJ(m,function(k){return k.w===d}):m}}nodeEdges(c,d){var w=this.inEdges(c,d);if(w)return w.concat(this.outEdges(c,d))}},O(oA,"Graph"),oA);BQ.prototype._nodeCount=0;BQ.prototype._edgeCount=0;function ekt(h,c){h[c]?h[c]++:h[c]=1}O(ekt,"incrementOrInitEntry");function nkt(h,c){--h[c]||delete h[c]}O(nkt,"decrementOrRemoveEntry");function YB(h,c,d,w){var m=""+c,k=""+d;if(!h&&m>k){var p=m;m=k,k=p}return m+$me+k+$me+(UB(w)?ufn:w)}O(YB,"edgeArgsToId");function W4e(h,c,d,w){var m=""+c,k=""+d;if(!h&&m>k){var p=m;m=k,k=p}var T={v:m,w:k};return w&&(T.name=w),T}O(W4e,"edgeArgsToObj");function kJ(h,c){return YB(h,c.v,c.w,c.name)}O(kJ,"edgeObjToId");/*! Bundled license information:
|
|
132
|
+
*/var wsn=q(h=>{var m;const{securityLevel:c}=Ao();let d=Rs("body");if(c==="sandbox"){const p=((m=Rs(`#i${h}`).node())==null?void 0:m.contentDocument)??document;d=Rs(p.body)}return d.select(`#${h}`)},"selectSvgElement"),psn=typeof global=="object"&&global&&global.Object===Object&&global,Lve=psn,msn=typeof self=="object"&&self&&self.Object===Object&&self,ysn=Lve||msn||Function("return this")(),W2=ysn,vsn=W2.Symbol,tp=vsn,Fve=Object.prototype,ksn=Fve.hasOwnProperty,Csn=Fve.toString,Zj=tp?tp.toStringTag:void 0;function _ve(h){var c=ksn.call(h,Zj),d=h[Zj];try{h[Zj]=void 0;var w=!0}catch{}var m=Csn.call(h);return w&&(c?h[Zj]=d:delete h[Zj]),m}O(_ve,"getRawTag");var xsn=_ve,Tsn=Object.prototype,Ssn=Tsn.toString;function Ove(h){return Ssn.call(h)}O(Ove,"objectToString");var Esn=Ove,Bsn="[object Null]",Asn="[object Undefined]",sme=tp?tp.toStringTag:void 0;function Ive(h){return h==null?h===void 0?Asn:Bsn:sme&&sme in Object(h)?xsn(h):Esn(h)}O(Ive,"baseGetTag");var rx=Ive;function Pve(h){return h!=null&&typeof h=="object"}O(Pve,"isObjectLike");var K2=Pve,Msn="[object Symbol]";function jve(h){return typeof h=="symbol"||K2(h)&&rx(h)==Msn}O(jve,"isSymbol");var $8=jve;function Dve(h,c){for(var d=-1,w=h==null?0:h.length,m=Array(w);++d<w;)m[d]=c(h[d],d,h);return m}O(Dve,"arrayMap");var tA=Dve,Lsn=Array.isArray,bh=Lsn,ome=tp?tp.prototype:void 0,cme=ome?ome.toString:void 0;function Nkt(h){if(typeof h=="string")return h;if(bh(h))return tA(h,Nkt)+"";if($8(h))return cme?cme.call(h):"";var c=h+"";return c=="0"&&1/h==-1/0?"-0":c}O(Nkt,"baseToString");var Fsn=Nkt,_sn=/\s/;function $ve(h){for(var c=h.length;c--&&_sn.test(h.charAt(c)););return c}O($ve,"trimmedEndIndex");var Osn=$ve,Isn=/^\s+/;function Rve(h){return h&&h.slice(0,Osn(h)+1).replace(Isn,"")}O(Rve,"baseTrim");var Psn=Rve;function Nve(h){var c=typeof h;return h!=null&&(c=="object"||c=="function")}O(Nve,"isObject");var bb=Nve,ame=NaN,jsn=/^[-+]0x[0-9a-f]+$/i,Dsn=/^0b[01]+$/i,$sn=/^0o[0-7]+$/i,Rsn=parseInt;function qve(h){if(typeof h=="number")return h;if($8(h))return ame;if(bb(h)){var c=typeof h.valueOf=="function"?h.valueOf():h;h=bb(c)?c+"":c}if(typeof h!="string")return h===0?h:+h;h=Psn(h);var d=Dsn.test(h);return d||$sn.test(h)?Rsn(h.slice(2),d?2:8):jsn.test(h)?ame:+h}O(qve,"toNumber");var Nsn=qve,lme=1/0,qsn=17976931348623157e292;function Hve(h){if(!h)return h===0?h:0;if(h=Nsn(h),h===lme||h===-lme){var c=h<0?-1:1;return c*qsn}return h===h?h:0}O(Hve,"toFinite");var vJ=Hve;function Kve(h){var c=vJ(h),d=c%1;return c===c?d?c-d:c:0}O(Kve,"toInteger");var Hsn=Kve;function zve(h){return h}O(zve,"identity");var z8=zve,Ksn="[object AsyncFunction]",zsn="[object Function]",Wsn="[object GeneratorFunction]",Usn="[object Proxy]";function Wve(h){if(!bb(h))return!1;var c=rx(h);return c==zsn||c==Wsn||c==Ksn||c==Usn}O(Wve,"isFunction");var CD=Wve,Gsn=W2["__core-js_shared__"],i3t=Gsn,ume=(function(){var h=/[^.]+$/.exec(i3t&&i3t.keys&&i3t.keys.IE_PROTO||"");return h?"Symbol(src)_1."+h:""})();function Uve(h){return!!ume&&ume in h}O(Uve,"isMasked");var Xsn=Uve,Vsn=Function.prototype,Ysn=Vsn.toString;function Gve(h){if(h!=null){try{return Ysn.call(h)}catch{}try{return h+""}catch{}}return""}O(Gve,"toSource");var W8=Gve,Jsn=/[\\^$.*+?()[\]{}|]/g,Qsn=/^\[object .+?Constructor\]$/,Zsn=Function.prototype,ton=Object.prototype,eon=Zsn.toString,non=ton.hasOwnProperty,ron=RegExp("^"+eon.call(non).replace(Jsn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Xve(h){if(!bb(h)||Xsn(h))return!1;var c=CD(h)?ron:Qsn;return c.test(W8(h))}O(Xve,"baseIsNative");var ion=Xve;function Vve(h,c){return h==null?void 0:h[c]}O(Vve,"getValue");var son=Vve;function Yve(h,c){var d=son(h,c);return ion(d)?d:void 0}O(Yve,"getNative");var U8=Yve,oon=U8(W2,"WeakMap"),G3t=oon,hme=Object.create,con=(function(){function h(){}return O(h,"object"),function(c){if(!bb(c))return{};if(hme)return hme(c);h.prototype=c;var d=new h;return h.prototype=void 0,d}})(),aon=con;function Jve(h,c,d){switch(d.length){case 0:return h.call(c);case 1:return h.call(c,d[0]);case 2:return h.call(c,d[0],d[1]);case 3:return h.call(c,d[0],d[1],d[2])}return h.apply(c,d)}O(Jve,"apply");var lon=Jve;function Qve(){}O(Qve,"noop");var uon=Qve;function Zve(h,c){var d=-1,w=h.length;for(c||(c=Array(w));++d<w;)c[d]=h[d];return c}O(Zve,"copyArray");var t3e=Zve,hon=800,fon=16,don=Date.now;function e3e(h){var c=0,d=0;return function(){var w=don(),m=fon-(w-d);if(d=w,m>0){if(++c>=hon)return arguments[0]}else c=0;return h.apply(void 0,arguments)}}O(e3e,"shortOut");var gon=e3e;function n3e(h){return function(){return h}}O(n3e,"constant");var iD=n3e,bon=(function(){try{var h=U8(Object,"defineProperty");return h({},"",{}),h}catch{}})(),jJ=bon,won=jJ?function(h,c){return jJ(h,"toString",{configurable:!0,enumerable:!1,value:iD(c),writable:!0})}:z8,pon=won,mon=gon(pon),r3e=mon;function i3e(h,c){for(var d=-1,w=h==null?0:h.length;++d<w&&c(h[d],d,h)!==!1;);return h}O(i3e,"arrayEach");var s3e=i3e;function o3e(h,c,d,w){for(var m=h.length,k=d+(w?1:-1);w?k--:++k<m;)if(c(h[k],k,h))return k;return-1}O(o3e,"baseFindIndex");var c3e=o3e;function a3e(h){return h!==h}O(a3e,"baseIsNaN");var yon=a3e;function l3e(h,c,d){for(var w=d-1,m=h.length;++w<m;)if(h[w]===c)return w;return-1}O(l3e,"strictIndexOf");var von=l3e;function u3e(h,c,d){return c===c?von(h,c,d):c3e(h,yon,d)}O(u3e,"baseIndexOf");var kon=u3e;function h3e(h,c){var d=h==null?0:h.length;return!!d&&kon(h,c,0)>-1}O(h3e,"arrayIncludes");var Con=h3e,xon=9007199254740991,Ton=/^(?:0|[1-9]\d*)$/;function f3e(h,c){var d=typeof h;return c=c??xon,!!c&&(d=="number"||d!="symbol"&&Ton.test(h))&&h>-1&&h%1==0&&h<c}O(f3e,"isIndex");var fQ=f3e;function d3e(h,c,d){c=="__proto__"&&jJ?jJ(h,c,{configurable:!0,enumerable:!0,value:d,writable:!0}):h[c]=d}O(d3e,"baseAssignValue");var dQ=d3e;function g3e(h,c){return h===c||h!==h&&c!==c}O(g3e,"eq");var MA=g3e,Son=Object.prototype,Eon=Son.hasOwnProperty;function b3e(h,c,d){var w=h[c];(!(Eon.call(h,c)&&MA(w,d))||d===void 0&&!(c in h))&&dQ(h,c,d)}O(b3e,"assignValue");var gQ=b3e;function w3e(h,c,d,w){var m=!d;d||(d={});for(var k=-1,p=c.length;++k<p;){var T=c[k],E=w?w(d[T],h[T],T,d,h):void 0;E===void 0&&(E=h[T]),m?dQ(d,T,E):gQ(d,T,E)}return d}O(w3e,"copyObject");var RD=w3e,fme=Math.max;function p3e(h,c,d){return c=fme(c===void 0?h.length-1:c,0),function(){for(var w=arguments,m=-1,k=fme(w.length-c,0),p=Array(k);++m<k;)p[m]=w[c+m];m=-1;for(var T=Array(c+1);++m<c;)T[m]=w[m];return T[c]=d(p),lon(h,this,T)}}O(p3e,"overRest");var m3e=p3e;function y3e(h,c){return r3e(m3e(h,c,z8),h+"")}O(y3e,"baseRest");var bQ=y3e,Bon=9007199254740991;function v3e(h){return typeof h=="number"&&h>-1&&h%1==0&&h<=Bon}O(v3e,"isLength");var qkt=v3e;function k3e(h){return h!=null&&qkt(h.length)&&!CD(h)}O(k3e,"isArrayLike");var K3=k3e;function C3e(h,c,d){if(!bb(d))return!1;var w=typeof c;return(w=="number"?K3(d)&&fQ(c,d.length):w=="string"&&c in d)?MA(d[c],h):!1}O(C3e,"isIterateeCall");var xD=C3e;function x3e(h){return bQ(function(c,d){var w=-1,m=d.length,k=m>1?d[m-1]:void 0,p=m>2?d[2]:void 0;for(k=h.length>3&&typeof k=="function"?(m--,k):void 0,p&&xD(d[0],d[1],p)&&(k=m<3?void 0:k,m=1),c=Object(c);++w<m;){var T=d[w];T&&h(c,T,w,k)}return c})}O(x3e,"createAssigner");var Aon=x3e,Mon=Object.prototype;function T3e(h){var c=h&&h.constructor,d=typeof c=="function"&&c.prototype||Mon;return h===d}O(T3e,"isPrototype");var wQ=T3e;function S3e(h,c){for(var d=-1,w=Array(h);++d<h;)w[d]=c(d);return w}O(S3e,"baseTimes");var Lon=S3e,Fon="[object Arguments]";function E3e(h){return K2(h)&&rx(h)==Fon}O(E3e,"baseIsArguments");var dme=E3e,B3e=Object.prototype,_on=B3e.hasOwnProperty,Oon=B3e.propertyIsEnumerable,Ion=dme((function(){return arguments})())?dme:function(h){return K2(h)&&_on.call(h,"callee")&&!Oon.call(h,"callee")},xA=Ion;function A3e(){return!1}O(A3e,"stubFalse");var Pon=A3e,M3e=typeof exports=="object"&&exports&&!exports.nodeType&&exports,gme=M3e&&typeof module=="object"&&module&&!module.nodeType&&module,jon=gme&&gme.exports===M3e,bme=jon?W2.Buffer:void 0,Don=bme?bme.isBuffer:void 0,$on=Don||Pon,TA=$on,Ron="[object Arguments]",Non="[object Array]",qon="[object Boolean]",Hon="[object Date]",Kon="[object Error]",zon="[object Function]",Won="[object Map]",Uon="[object Number]",Gon="[object Object]",Xon="[object RegExp]",Von="[object Set]",Yon="[object String]",Jon="[object WeakMap]",Qon="[object ArrayBuffer]",Zon="[object DataView]",tcn="[object Float32Array]",ecn="[object Float64Array]",ncn="[object Int8Array]",rcn="[object Int16Array]",icn="[object Int32Array]",scn="[object Uint8Array]",ocn="[object Uint8ClampedArray]",ccn="[object Uint16Array]",acn="[object Uint32Array]",tl={};tl[tcn]=tl[ecn]=tl[ncn]=tl[rcn]=tl[icn]=tl[scn]=tl[ocn]=tl[ccn]=tl[acn]=!0;tl[Ron]=tl[Non]=tl[Qon]=tl[qon]=tl[Zon]=tl[Hon]=tl[Kon]=tl[zon]=tl[Won]=tl[Uon]=tl[Gon]=tl[Xon]=tl[Von]=tl[Yon]=tl[Jon]=!1;function L3e(h){return K2(h)&&qkt(h.length)&&!!tl[rx(h)]}O(L3e,"baseIsTypedArray");var lcn=L3e;function F3e(h){return function(c){return h(c)}}O(F3e,"baseUnary");var pQ=F3e,_3e=typeof exports=="object"&&exports&&!exports.nodeType&&exports,fD=_3e&&typeof module=="object"&&module&&!module.nodeType&&module,ucn=fD&&fD.exports===_3e,s3t=ucn&&Lve.process,hcn=(function(){try{var h=fD&&fD.require&&fD.require("util").types;return h||s3t&&s3t.binding&&s3t.binding("util")}catch{}})(),SA=hcn,wme=SA&&SA.isTypedArray,fcn=wme?pQ(wme):lcn,mQ=fcn,dcn=Object.prototype,gcn=dcn.hasOwnProperty;function O3e(h,c){var d=bh(h),w=!d&&xA(h),m=!d&&!w&&TA(h),k=!d&&!w&&!m&&mQ(h),p=d||w||m||k,T=p?Lon(h.length,String):[],E=T.length;for(var B in h)(c||gcn.call(h,B))&&!(p&&(B=="length"||m&&(B=="offset"||B=="parent")||k&&(B=="buffer"||B=="byteLength"||B=="byteOffset")||fQ(B,E)))&&T.push(B);return T}O(O3e,"arrayLikeKeys");var I3e=O3e;function P3e(h,c){return function(d){return h(c(d))}}O(P3e,"overArg");var j3e=P3e,bcn=j3e(Object.keys,Object),wcn=bcn,pcn=Object.prototype,mcn=pcn.hasOwnProperty;function D3e(h){if(!wQ(h))return wcn(h);var c=[];for(var d in Object(h))mcn.call(h,d)&&d!="constructor"&&c.push(d);return c}O(D3e,"baseKeys");var Hkt=D3e;function $3e(h){return K3(h)?I3e(h):Hkt(h)}O($3e,"keys");var db=$3e;function R3e(h){var c=[];if(h!=null)for(var d in Object(h))c.push(d);return c}O(R3e,"nativeKeysIn");var ycn=R3e,vcn=Object.prototype,kcn=vcn.hasOwnProperty;function N3e(h){if(!bb(h))return ycn(h);var c=wQ(h),d=[];for(var w in h)w=="constructor"&&(c||!kcn.call(h,w))||d.push(w);return d}O(N3e,"baseKeysIn");var Ccn=N3e;function q3e(h){return K3(h)?I3e(h,!0):Ccn(h)}O(q3e,"keysIn");var G8=q3e,xcn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tcn=/^\w*$/;function H3e(h,c){if(bh(h))return!1;var d=typeof h;return d=="number"||d=="symbol"||d=="boolean"||h==null||$8(h)?!0:Tcn.test(h)||!xcn.test(h)||c!=null&&h in Object(c)}O(H3e,"isKey");var Kkt=H3e,Scn=U8(Object,"create"),TD=Scn;function K3e(){this.__data__=TD?TD(null):{},this.size=0}O(K3e,"hashClear");var Ecn=K3e;function z3e(h){var c=this.has(h)&&delete this.__data__[h];return this.size-=c?1:0,c}O(z3e,"hashDelete");var Bcn=z3e,Acn="__lodash_hash_undefined__",Mcn=Object.prototype,Lcn=Mcn.hasOwnProperty;function W3e(h){var c=this.__data__;if(TD){var d=c[h];return d===Acn?void 0:d}return Lcn.call(c,h)?c[h]:void 0}O(W3e,"hashGet");var Fcn=W3e,_cn=Object.prototype,Ocn=_cn.hasOwnProperty;function U3e(h){var c=this.__data__;return TD?c[h]!==void 0:Ocn.call(c,h)}O(U3e,"hashHas");var Icn=U3e,Pcn="__lodash_hash_undefined__";function G3e(h,c){var d=this.__data__;return this.size+=this.has(h)?0:1,d[h]=TD&&c===void 0?Pcn:c,this}O(G3e,"hashSet");var jcn=G3e;function X8(h){var c=-1,d=h==null?0:h.length;for(this.clear();++c<d;){var w=h[c];this.set(w[0],w[1])}}O(X8,"Hash");X8.prototype.clear=Ecn;X8.prototype.delete=Bcn;X8.prototype.get=Fcn;X8.prototype.has=Icn;X8.prototype.set=jcn;var pme=X8;function X3e(){this.__data__=[],this.size=0}O(X3e,"listCacheClear");var Dcn=X3e;function V3e(h,c){for(var d=h.length;d--;)if(MA(h[d][0],c))return d;return-1}O(V3e,"assocIndexOf");var yQ=V3e,$cn=Array.prototype,Rcn=$cn.splice;function Y3e(h){var c=this.__data__,d=yQ(c,h);if(d<0)return!1;var w=c.length-1;return d==w?c.pop():Rcn.call(c,d,1),--this.size,!0}O(Y3e,"listCacheDelete");var Ncn=Y3e;function J3e(h){var c=this.__data__,d=yQ(c,h);return d<0?void 0:c[d][1]}O(J3e,"listCacheGet");var qcn=J3e;function Q3e(h){return yQ(this.__data__,h)>-1}O(Q3e,"listCacheHas");var Hcn=Q3e;function Z3e(h,c){var d=this.__data__,w=yQ(d,h);return w<0?(++this.size,d.push([h,c])):d[w][1]=c,this}O(Z3e,"listCacheSet");var Kcn=Z3e;function V8(h){var c=-1,d=h==null?0:h.length;for(this.clear();++c<d;){var w=h[c];this.set(w[0],w[1])}}O(V8,"ListCache");V8.prototype.clear=Dcn;V8.prototype.delete=Ncn;V8.prototype.get=qcn;V8.prototype.has=Hcn;V8.prototype.set=Kcn;var vQ=V8,zcn=U8(W2,"Map"),SD=zcn;function tke(){this.size=0,this.__data__={hash:new pme,map:new(SD||vQ),string:new pme}}O(tke,"mapCacheClear");var Wcn=tke;function eke(h){var c=typeof h;return c=="string"||c=="number"||c=="symbol"||c=="boolean"?h!=="__proto__":h===null}O(eke,"isKeyable");var Ucn=eke;function nke(h,c){var d=h.__data__;return Ucn(c)?d[typeof c=="string"?"string":"hash"]:d.map}O(nke,"getMapData");var kQ=nke;function rke(h){var c=kQ(this,h).delete(h);return this.size-=c?1:0,c}O(rke,"mapCacheDelete");var Gcn=rke;function ike(h){return kQ(this,h).get(h)}O(ike,"mapCacheGet");var Xcn=ike;function ske(h){return kQ(this,h).has(h)}O(ske,"mapCacheHas");var Vcn=ske;function oke(h,c){var d=kQ(this,h),w=d.size;return d.set(h,c),this.size+=d.size==w?0:1,this}O(oke,"mapCacheSet");var Ycn=oke;function Y8(h){var c=-1,d=h==null?0:h.length;for(this.clear();++c<d;){var w=h[c];this.set(w[0],w[1])}}O(Y8,"MapCache");Y8.prototype.clear=Wcn;Y8.prototype.delete=Gcn;Y8.prototype.get=Xcn;Y8.prototype.has=Vcn;Y8.prototype.set=Ycn;var CQ=Y8,Jcn="Expected a function";function xQ(h,c){if(typeof h!="function"||c!=null&&typeof c!="function")throw new TypeError(Jcn);var d=O(function(){var w=arguments,m=c?c.apply(this,w):w[0],k=d.cache;if(k.has(m))return k.get(m);var p=h.apply(this,w);return d.cache=k.set(m,p)||k,p},"memoized");return d.cache=new(xQ.Cache||CQ),d}O(xQ,"memoize");xQ.Cache=CQ;var Qcn=xQ,Zcn=500;function cke(h){var c=Qcn(h,function(w){return d.size===Zcn&&d.clear(),w}),d=c.cache;return c}O(cke,"memoizeCapped");var tan=cke,ean=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nan=/\\(\\)?/g,ran=tan(function(h){var c=[];return h.charCodeAt(0)===46&&c.push(""),h.replace(ean,function(d,w,m,k){c.push(m?k.replace(nan,"$1"):w||d)}),c}),ian=ran;function ake(h){return h==null?"":Fsn(h)}O(ake,"toString");var lke=ake;function uke(h,c){return bh(h)?h:Kkt(h,c)?[h]:ian(lke(h))}O(uke,"castPath");var TQ=uke;function hke(h){if(typeof h=="string"||$8(h))return h;var c=h+"";return c=="0"&&1/h==-1/0?"-0":c}O(hke,"toKey");var ND=hke;function fke(h,c){c=TQ(c,h);for(var d=0,w=c.length;h!=null&&d<w;)h=h[ND(c[d++])];return d&&d==w?h:void 0}O(fke,"baseGet");var SQ=fke;function dke(h,c,d){var w=h==null?void 0:SQ(h,c);return w===void 0?d:w}O(dke,"get");var san=dke;function gke(h,c){for(var d=-1,w=c.length,m=h.length;++d<w;)h[m+d]=c[d];return h}O(gke,"arrayPush");var zkt=gke,mme=tp?tp.isConcatSpreadable:void 0;function bke(h){return bh(h)||xA(h)||!!(mme&&h&&h[mme])}O(bke,"isFlattenable");var oan=bke;function Wkt(h,c,d,w,m){var k=-1,p=h.length;for(d||(d=oan),m||(m=[]);++k<p;){var T=h[k];c>0&&d(T)?c>1?Wkt(T,c-1,d,w,m):zkt(m,T):w||(m[m.length]=T)}return m}O(Wkt,"baseFlatten");var Ukt=Wkt;function wke(h){var c=h==null?0:h.length;return c?Ukt(h,1):[]}O(wke,"flatten");var can=wke;function pke(h){return r3e(m3e(h,void 0,can),h+"")}O(pke,"flatRest");var aan=pke,lan=j3e(Object.getPrototypeOf,Object),Gkt=lan,uan="[object Object]",han=Function.prototype,fan=Object.prototype,mke=han.toString,dan=fan.hasOwnProperty,gan=mke.call(Object);function yke(h){if(!K2(h)||rx(h)!=uan)return!1;var c=Gkt(h);if(c===null)return!0;var d=dan.call(c,"constructor")&&c.constructor;return typeof d=="function"&&d instanceof d&&mke.call(d)==gan}O(yke,"isPlainObject");var ban=yke,wan="\\ud800-\\udfff",pan="\\u0300-\\u036f",man="\\ufe20-\\ufe2f",yan="\\u20d0-\\u20ff",van=pan+man+yan,kan="\\ufe0e\\ufe0f",Can="\\u200d",xan=RegExp("["+Can+wan+van+kan+"]");function vke(h){return xan.test(h)}O(vke,"hasUnicode");var Tan=vke;function kke(h,c,d,w){var m=-1,k=h==null?0:h.length;for(w&&k&&(d=h[++m]);++m<k;)d=c(d,h[m],m,h);return d}O(kke,"arrayReduce");var San=kke;function Cke(){this.__data__=new vQ,this.size=0}O(Cke,"stackClear");var Ean=Cke;function xke(h){var c=this.__data__,d=c.delete(h);return this.size=c.size,d}O(xke,"stackDelete");var Ban=xke;function Tke(h){return this.__data__.get(h)}O(Tke,"stackGet");var Aan=Tke;function Ske(h){return this.__data__.has(h)}O(Ske,"stackHas");var Man=Ske,Lan=200;function Eke(h,c){var d=this.__data__;if(d instanceof vQ){var w=d.__data__;if(!SD||w.length<Lan-1)return w.push([h,c]),this.size=++d.size,this;d=this.__data__=new CQ(w)}return d.set(h,c),this.size=d.size,this}O(Eke,"stackSet");var Fan=Eke;function J8(h){var c=this.__data__=new vQ(h);this.size=c.size}O(J8,"Stack");J8.prototype.clear=Ean;J8.prototype.delete=Ban;J8.prototype.get=Aan;J8.prototype.has=Man;J8.prototype.set=Fan;var eA=J8;function Bke(h,c){return h&&RD(c,db(c),h)}O(Bke,"baseAssign");var _an=Bke;function Ake(h,c){return h&&RD(c,G8(c),h)}O(Ake,"baseAssignIn");var Oan=Ake,Mke=typeof exports=="object"&&exports&&!exports.nodeType&&exports,yme=Mke&&typeof module=="object"&&module&&!module.nodeType&&module,Ian=yme&&yme.exports===Mke,vme=Ian?W2.Buffer:void 0,kme=vme?vme.allocUnsafe:void 0;function Lke(h,c){if(c)return h.slice();var d=h.length,w=kme?kme(d):new h.constructor(d);return h.copy(w),w}O(Lke,"cloneBuffer");var Fke=Lke;function _ke(h,c){for(var d=-1,w=h==null?0:h.length,m=0,k=[];++d<w;){var p=h[d];c(p,d,h)&&(k[m++]=p)}return k}O(_ke,"arrayFilter");var Oke=_ke;function Ike(){return[]}O(Ike,"stubArray");var Pke=Ike,Pan=Object.prototype,jan=Pan.propertyIsEnumerable,Cme=Object.getOwnPropertySymbols,Dan=Cme?function(h){return h==null?[]:(h=Object(h),Oke(Cme(h),function(c){return jan.call(h,c)}))}:Pke,Xkt=Dan;function jke(h,c){return RD(h,Xkt(h),c)}O(jke,"copySymbols");var $an=jke,Ran=Object.getOwnPropertySymbols,Nan=Ran?function(h){for(var c=[];h;)zkt(c,Xkt(h)),h=Gkt(h);return c}:Pke,Dke=Nan;function $ke(h,c){return RD(h,Dke(h),c)}O($ke,"copySymbolsIn");var qan=$ke;function Rke(h,c,d){var w=c(h);return bh(h)?w:zkt(w,d(h))}O(Rke,"baseGetAllKeys");var Nke=Rke;function qke(h){return Nke(h,db,Xkt)}O(qke,"getAllKeys");var X3t=qke;function Hke(h){return Nke(h,G8,Dke)}O(Hke,"getAllKeysIn");var Han=Hke,Kan=U8(W2,"DataView"),V3t=Kan,zan=U8(W2,"Promise"),Y3t=zan,Wan=U8(W2,"Set"),nA=Wan,xme="[object Map]",Uan="[object Object]",Tme="[object Promise]",Sme="[object Set]",Eme="[object WeakMap]",Bme="[object DataView]",Gan=W8(V3t),Xan=W8(SD),Van=W8(Y3t),Yan=W8(nA),Jan=W8(G3t),d8=rx;(V3t&&d8(new V3t(new ArrayBuffer(1)))!=Bme||SD&&d8(new SD)!=xme||Y3t&&d8(Y3t.resolve())!=Tme||nA&&d8(new nA)!=Sme||G3t&&d8(new G3t)!=Eme)&&(d8=O(function(h){var c=rx(h),d=c==Uan?h.constructor:void 0,w=d?W8(d):"";if(w)switch(w){case Gan:return Bme;case Xan:return xme;case Van:return Tme;case Yan:return Sme;case Jan:return Eme}return c},"getTag"));var R8=d8,Qan=Object.prototype,Zan=Qan.hasOwnProperty;function Kke(h){var c=h.length,d=new h.constructor(c);return c&&typeof h[0]=="string"&&Zan.call(h,"index")&&(d.index=h.index,d.input=h.input),d}O(Kke,"initCloneArray");var tln=Kke,eln=W2.Uint8Array,DJ=eln;function zke(h){var c=new h.constructor(h.byteLength);return new DJ(c).set(new DJ(h)),c}O(zke,"cloneArrayBuffer");var Vkt=zke;function Wke(h,c){var d=c?Vkt(h.buffer):h.buffer;return new h.constructor(d,h.byteOffset,h.byteLength)}O(Wke,"cloneDataView");var nln=Wke,rln=/\w*$/;function Uke(h){var c=new h.constructor(h.source,rln.exec(h));return c.lastIndex=h.lastIndex,c}O(Uke,"cloneRegExp");var iln=Uke,Ame=tp?tp.prototype:void 0,Mme=Ame?Ame.valueOf:void 0;function Gke(h){return Mme?Object(Mme.call(h)):{}}O(Gke,"cloneSymbol");var sln=Gke;function Xke(h,c){var d=c?Vkt(h.buffer):h.buffer;return new h.constructor(d,h.byteOffset,h.length)}O(Xke,"cloneTypedArray");var Vke=Xke,oln="[object Boolean]",cln="[object Date]",aln="[object Map]",lln="[object Number]",uln="[object RegExp]",hln="[object Set]",fln="[object String]",dln="[object Symbol]",gln="[object ArrayBuffer]",bln="[object DataView]",wln="[object Float32Array]",pln="[object Float64Array]",mln="[object Int8Array]",yln="[object Int16Array]",vln="[object Int32Array]",kln="[object Uint8Array]",Cln="[object Uint8ClampedArray]",xln="[object Uint16Array]",Tln="[object Uint32Array]";function Yke(h,c,d){var w=h.constructor;switch(c){case gln:return Vkt(h);case oln:case cln:return new w(+h);case bln:return nln(h,d);case wln:case pln:case mln:case yln:case vln:case kln:case Cln:case xln:case Tln:return Vke(h,d);case aln:return new w;case lln:case fln:return new w(h);case uln:return iln(h);case hln:return new w;case dln:return sln(h)}}O(Yke,"initCloneByTag");var Sln=Yke;function Jke(h){return typeof h.constructor=="function"&&!wQ(h)?aon(Gkt(h)):{}}O(Jke,"initCloneObject");var Qke=Jke,Eln="[object Map]";function Zke(h){return K2(h)&&R8(h)==Eln}O(Zke,"baseIsMap");var Bln=Zke,Lme=SA&&SA.isMap,Aln=Lme?pQ(Lme):Bln,Mln=Aln,Lln="[object Set]";function tCe(h){return K2(h)&&R8(h)==Lln}O(tCe,"baseIsSet");var Fln=tCe,Fme=SA&&SA.isSet,_ln=Fme?pQ(Fme):Fln,Oln=_ln,Iln=1,Pln=2,jln=4,eCe="[object Arguments]",Dln="[object Array]",$ln="[object Boolean]",Rln="[object Date]",Nln="[object Error]",nCe="[object Function]",qln="[object GeneratorFunction]",Hln="[object Map]",Kln="[object Number]",rCe="[object Object]",zln="[object RegExp]",Wln="[object Set]",Uln="[object String]",Gln="[object Symbol]",Xln="[object WeakMap]",Vln="[object ArrayBuffer]",Yln="[object DataView]",Jln="[object Float32Array]",Qln="[object Float64Array]",Zln="[object Int8Array]",tun="[object Int16Array]",eun="[object Int32Array]",nun="[object Uint8Array]",run="[object Uint8ClampedArray]",iun="[object Uint16Array]",sun="[object Uint32Array]",Ka={};Ka[eCe]=Ka[Dln]=Ka[Vln]=Ka[Yln]=Ka[$ln]=Ka[Rln]=Ka[Jln]=Ka[Qln]=Ka[Zln]=Ka[tun]=Ka[eun]=Ka[Hln]=Ka[Kln]=Ka[rCe]=Ka[zln]=Ka[Wln]=Ka[Uln]=Ka[Gln]=Ka[nun]=Ka[run]=Ka[iun]=Ka[sun]=!0;Ka[Nln]=Ka[nCe]=Ka[Xln]=!1;function dD(h,c,d,w,m,k){var p,T=c&Iln,E=c&Pln,B=c&jln;if(d&&(p=m?d(h,w,m,k):d(h)),p!==void 0)return p;if(!bb(h))return h;var A=bh(h);if(A){if(p=tln(h),!T)return t3e(h,p)}else{var L=R8(h),I=L==nCe||L==qln;if(TA(h))return Fke(h,T);if(L==rCe||L==eCe||I&&!m){if(p=E||I?{}:Qke(h),!T)return E?qan(h,Oan(p,h)):$an(h,_an(p,h))}else{if(!Ka[L])return m?h:{};p=Sln(h,L,T)}}k||(k=new eA);var $=k.get(h);if($)return $;k.set(h,p),Oln(h)?h.forEach(function(J){p.add(dD(J,c,d,J,h,k))}):Mln(h)&&h.forEach(function(J,X){p.set(X,dD(J,c,d,X,h,k))});var P=B?E?Han:X3t:E?G8:db,U=A?void 0:P(h);return s3e(U||h,function(J,X){U&&(X=J,J=h[X]),gQ(p,X,dD(J,c,d,X,h,k))}),p}O(dD,"baseClone");var oun=dD,cun=1,aun=4;function iCe(h){return oun(h,cun|aun)}O(iCe,"cloneDeep");var kpn=iCe,lun="__lodash_hash_undefined__";function sCe(h){return this.__data__.set(h,lun),this}O(sCe,"setCacheAdd");var uun=sCe;function oCe(h){return this.__data__.has(h)}O(oCe,"setCacheHas");var hun=oCe;function ED(h){var c=-1,d=h==null?0:h.length;for(this.__data__=new CQ;++c<d;)this.add(h[c])}O(ED,"SetCache");ED.prototype.add=ED.prototype.push=uun;ED.prototype.has=hun;var cCe=ED;function aCe(h,c){for(var d=-1,w=h==null?0:h.length;++d<w;)if(c(h[d],d,h))return!0;return!1}O(aCe,"arraySome");var fun=aCe;function lCe(h,c){return h.has(c)}O(lCe,"cacheHas");var uCe=lCe,dun=1,gun=2;function hCe(h,c,d,w,m,k){var p=d&dun,T=h.length,E=c.length;if(T!=E&&!(p&&E>T))return!1;var B=k.get(h),A=k.get(c);if(B&&A)return B==c&&A==h;var L=-1,I=!0,$=d&gun?new cCe:void 0;for(k.set(h,c),k.set(c,h);++L<T;){var P=h[L],U=c[L];if(w)var J=p?w(U,P,L,c,h,k):w(P,U,L,h,c,k);if(J!==void 0){if(J)continue;I=!1;break}if($){if(!fun(c,function(X,rt){if(!uCe($,rt)&&(P===X||m(P,X,d,w,k)))return $.push(rt)})){I=!1;break}}else if(!(P===U||m(P,U,d,w,k))){I=!1;break}}return k.delete(h),k.delete(c),I}O(hCe,"equalArrays");var fCe=hCe;function dCe(h){var c=-1,d=Array(h.size);return h.forEach(function(w,m){d[++c]=[m,w]}),d}O(dCe,"mapToArray");var bun=dCe;function gCe(h){var c=-1,d=Array(h.size);return h.forEach(function(w){d[++c]=w}),d}O(gCe,"setToArray");var Ykt=gCe,wun=1,pun=2,mun="[object Boolean]",yun="[object Date]",vun="[object Error]",kun="[object Map]",Cun="[object Number]",xun="[object RegExp]",Tun="[object Set]",Sun="[object String]",Eun="[object Symbol]",Bun="[object ArrayBuffer]",Aun="[object DataView]",_me=tp?tp.prototype:void 0,o3t=_me?_me.valueOf:void 0;function bCe(h,c,d,w,m,k,p){switch(d){case Aun:if(h.byteLength!=c.byteLength||h.byteOffset!=c.byteOffset)return!1;h=h.buffer,c=c.buffer;case Bun:return!(h.byteLength!=c.byteLength||!k(new DJ(h),new DJ(c)));case mun:case yun:case Cun:return MA(+h,+c);case vun:return h.name==c.name&&h.message==c.message;case xun:case Sun:return h==c+"";case kun:var T=bun;case Tun:var E=w&wun;if(T||(T=Ykt),h.size!=c.size&&!E)return!1;var B=p.get(h);if(B)return B==c;w|=pun,p.set(h,c);var A=fCe(T(h),T(c),w,m,k,p);return p.delete(h),A;case Eun:if(o3t)return o3t.call(h)==o3t.call(c)}return!1}O(bCe,"equalByTag");var Mun=bCe,Lun=1,Fun=Object.prototype,_un=Fun.hasOwnProperty;function wCe(h,c,d,w,m,k){var p=d&Lun,T=X3t(h),E=T.length,B=X3t(c),A=B.length;if(E!=A&&!p)return!1;for(var L=E;L--;){var I=T[L];if(!(p?I in c:_un.call(c,I)))return!1}var $=k.get(h),P=k.get(c);if($&&P)return $==c&&P==h;var U=!0;k.set(h,c),k.set(c,h);for(var J=p;++L<E;){I=T[L];var X=h[I],rt=c[I];if(w)var lt=p?w(rt,X,I,c,h,k):w(X,rt,I,h,c,k);if(!(lt===void 0?X===rt||m(X,rt,d,w,k):lt)){U=!1;break}J||(J=I=="constructor")}if(U&&!J){var xt=h.constructor,Mt=c.constructor;xt!=Mt&&"constructor"in h&&"constructor"in c&&!(typeof xt=="function"&&xt instanceof xt&&typeof Mt=="function"&&Mt instanceof Mt)&&(U=!1)}return k.delete(h),k.delete(c),U}O(wCe,"equalObjects");var Oun=wCe,Iun=1,Ome="[object Arguments]",Ime="[object Array]",aJ="[object Object]",Pun=Object.prototype,Pme=Pun.hasOwnProperty;function pCe(h,c,d,w,m,k){var p=bh(h),T=bh(c),E=p?Ime:R8(h),B=T?Ime:R8(c);E=E==Ome?aJ:E,B=B==Ome?aJ:B;var A=E==aJ,L=B==aJ,I=E==B;if(I&&TA(h)){if(!TA(c))return!1;p=!0,A=!1}if(I&&!A)return k||(k=new eA),p||mQ(h)?fCe(h,c,d,w,m,k):Mun(h,c,E,d,w,m,k);if(!(d&Iun)){var $=A&&Pme.call(h,"__wrapped__"),P=L&&Pme.call(c,"__wrapped__");if($||P){var U=$?h.value():h,J=P?c.value():c;return k||(k=new eA),m(U,J,d,w,k)}}return I?(k||(k=new eA),Oun(h,c,d,w,m,k)):!1}O(pCe,"baseIsEqualDeep");var jun=pCe;function Jkt(h,c,d,w,m){return h===c?!0:h==null||c==null||!K2(h)&&!K2(c)?h!==h&&c!==c:jun(h,c,d,w,Jkt,m)}O(Jkt,"baseIsEqual");var mCe=Jkt,Dun=1,$un=2;function yCe(h,c,d,w){var m=d.length,k=m,p=!w;if(h==null)return!k;for(h=Object(h);m--;){var T=d[m];if(p&&T[2]?T[1]!==h[T[0]]:!(T[0]in h))return!1}for(;++m<k;){T=d[m];var E=T[0],B=h[E],A=T[1];if(p&&T[2]){if(B===void 0&&!(E in h))return!1}else{var L=new eA;if(w)var I=w(B,A,E,h,c,L);if(!(I===void 0?mCe(A,B,Dun|$un,w,L):I))return!1}}return!0}O(yCe,"baseIsMatch");var Run=yCe;function vCe(h){return h===h&&!bb(h)}O(vCe,"isStrictComparable");var kCe=vCe;function CCe(h){for(var c=db(h),d=c.length;d--;){var w=c[d],m=h[w];c[d]=[w,m,kCe(m)]}return c}O(CCe,"getMatchData");var Nun=CCe;function xCe(h,c){return function(d){return d==null?!1:d[h]===c&&(c!==void 0||h in Object(d))}}O(xCe,"matchesStrictComparable");var TCe=xCe;function SCe(h){var c=Nun(h);return c.length==1&&c[0][2]?TCe(c[0][0],c[0][1]):function(d){return d===h||Run(d,h,c)}}O(SCe,"baseMatches");var qun=SCe;function ECe(h,c){return h!=null&&c in Object(h)}O(ECe,"baseHasIn");var Hun=ECe;function BCe(h,c,d){c=TQ(c,h);for(var w=-1,m=c.length,k=!1;++w<m;){var p=ND(c[w]);if(!(k=h!=null&&d(h,p)))break;h=h[p]}return k||++w!=m?k:(m=h==null?0:h.length,!!m&&qkt(m)&&fQ(p,m)&&(bh(h)||xA(h)))}O(BCe,"hasPath");var ACe=BCe;function MCe(h,c){return h!=null&&ACe(h,c,Hun)}O(MCe,"hasIn");var LCe=MCe,Kun=1,zun=2;function FCe(h,c){return Kkt(h)&&kCe(c)?TCe(ND(h),c):function(d){var w=san(d,h);return w===void 0&&w===c?LCe(d,h):mCe(c,w,Kun|zun)}}O(FCe,"baseMatchesProperty");var Wun=FCe;function _Ce(h){return function(c){return c==null?void 0:c[h]}}O(_Ce,"baseProperty");var OCe=_Ce;function ICe(h){return function(c){return SQ(c,h)}}O(ICe,"basePropertyDeep");var Uun=ICe;function PCe(h){return Kkt(h)?OCe(ND(h)):Uun(h)}O(PCe,"property");var Gun=PCe;function jCe(h){return typeof h=="function"?h:h==null?z8:typeof h=="object"?bh(h)?Wun(h[0],h[1]):qun(h):Gun(h)}O(jCe,"baseIteratee");var ix=jCe;function DCe(h){return function(c,d,w){for(var m=-1,k=Object(c),p=w(c),T=p.length;T--;){var E=p[h?T:++m];if(d(k[E],E,k)===!1)break}return c}}O(DCe,"createBaseFor");var Xun=DCe,Vun=Xun(),Qkt=Vun;function $Ce(h,c){return h&&Qkt(h,c,db)}O($Ce,"baseForOwn");var Zkt=$Ce;function RCe(h,c){return function(d,w){if(d==null)return d;if(!K3(d))return h(d,w);for(var m=d.length,k=c?m:-1,p=Object(d);(c?k--:++k<m)&&w(p[k],k,p)!==!1;);return d}}O(RCe,"createBaseEach");var Yun=RCe,Jun=Yun(Zkt),EQ=Jun,Qun=O(function(){return W2.Date.now()},"now"),Cpn=Qun,NCe=Object.prototype,Zun=NCe.hasOwnProperty,thn=bQ(function(h,c){h=Object(h);var d=-1,w=c.length,m=w>2?c[2]:void 0;for(m&&xD(c[0],c[1],m)&&(w=1);++d<w;)for(var k=c[d],p=G8(k),T=-1,E=p.length;++T<E;){var B=p[T],A=h[B];(A===void 0||MA(A,NCe[B])&&!Zun.call(h,B))&&(h[B]=k[B])}return h}),xpn=thn;function qCe(h,c,d){(d!==void 0&&!MA(h[c],d)||d===void 0&&!(c in h))&&dQ(h,c,d)}O(qCe,"assignMergeValue");var J3t=qCe;function HCe(h){return K2(h)&&K3(h)}O(HCe,"isArrayLikeObject");var KCe=HCe;function zCe(h,c){if(!(c==="constructor"&&typeof h[c]=="function")&&c!="__proto__")return h[c]}O(zCe,"safeGet");var Q3t=zCe;function WCe(h){return RD(h,G8(h))}O(WCe,"toPlainObject");var ehn=WCe;function UCe(h,c,d,w,m,k,p){var T=Q3t(h,d),E=Q3t(c,d),B=p.get(E);if(B){J3t(h,d,B);return}var A=k?k(T,E,d+"",h,c,p):void 0,L=A===void 0;if(L){var I=bh(E),$=!I&&TA(E),P=!I&&!$&&mQ(E);A=E,I||$||P?bh(T)?A=T:KCe(T)?A=t3e(T):$?(L=!1,A=Fke(E,!0)):P?(L=!1,A=Vke(E,!0)):A=[]:ban(E)||xA(E)?(A=T,xA(T)?A=ehn(T):(!bb(T)||CD(T))&&(A=Qke(E))):L=!1}L&&(p.set(E,A),m(A,E,w,k,p),p.delete(E)),J3t(h,d,A)}O(UCe,"baseMergeDeep");var nhn=UCe;function tCt(h,c,d,w,m){h!==c&&Qkt(c,function(k,p){if(m||(m=new eA),bb(k))nhn(h,c,p,d,tCt,w,m);else{var T=w?w(Q3t(h,p),k,p+"",h,c,m):void 0;T===void 0&&(T=k),J3t(h,p,T)}},G8)}O(tCt,"baseMerge");var rhn=tCt;function GCe(h,c,d){for(var w=-1,m=h==null?0:h.length;++w<m;)if(d(c,h[w]))return!0;return!1}O(GCe,"arrayIncludesWith");var ihn=GCe;function XCe(h){var c=h==null?0:h.length;return c?h[c-1]:void 0}O(XCe,"last");var Tpn=XCe;function VCe(h){return typeof h=="function"?h:z8}O(VCe,"castFunction");var eCt=VCe;function YCe(h,c){var d=bh(h)?s3e:EQ;return d(h,eCt(c))}O(YCe,"forEach");var u8=YCe;function JCe(h,c){var d=[];return EQ(h,function(w,m,k){c(w,m,k)&&d.push(w)}),d}O(JCe,"baseFilter");var shn=JCe;function QCe(h,c){var d=bh(h)?Oke:shn;return d(h,ix(c))}O(QCe,"filter");var lJ=QCe;function ZCe(h){return function(c,d,w){var m=Object(c);if(!K3(c)){var k=ix(d);c=db(c),d=O(function(T){return k(m[T],T,m)},"predicate")}var p=h(c,d,w);return p>-1?m[k?c[p]:p]:void 0}}O(ZCe,"createFind");var ohn=ZCe,chn=Math.max;function t4e(h,c,d){var w=h==null?0:h.length;if(!w)return-1;var m=d==null?0:Hsn(d);return m<0&&(m=chn(w+m,0)),c3e(h,ix(c),m)}O(t4e,"findIndex");var ahn=t4e,lhn=ohn(ahn),Spn=lhn;function e4e(h,c){var d=-1,w=K3(h)?Array(h.length):[];return EQ(h,function(m,k,p){w[++d]=c(m,k,p)}),w}O(e4e,"baseMap");var n4e=e4e;function r4e(h,c){var d=bh(h)?tA:n4e;return d(h,ix(c))}O(r4e,"map");var Epn=r4e;function i4e(h,c){return h==null?h:Qkt(h,eCt(c),G8)}O(i4e,"forIn");var Bpn=i4e;function s4e(h,c){return h&&Zkt(h,eCt(c))}O(s4e,"forOwn");var Apn=s4e;function o4e(h,c){return h>c}O(o4e,"baseGt");var uhn=o4e,hhn=Object.prototype,fhn=hhn.hasOwnProperty;function c4e(h,c){return h!=null&&fhn.call(h,c)}O(c4e,"baseHas");var dhn=c4e;function a4e(h,c){return h!=null&&ACe(h,c,dhn)}O(a4e,"has");var Mpn=a4e,ghn="[object String]";function l4e(h){return typeof h=="string"||!bh(h)&&K2(h)&&rx(h)==ghn}O(l4e,"isString");var bhn=l4e;function u4e(h,c){return tA(c,function(d){return h[d]})}O(u4e,"baseValues");var whn=u4e;function h4e(h){return h==null?[]:whn(h,db(h))}O(h4e,"values");var c3t=h4e,phn="[object Map]",mhn="[object Set]",yhn=Object.prototype,vhn=yhn.hasOwnProperty;function f4e(h){if(h==null)return!0;if(K3(h)&&(bh(h)||typeof h=="string"||typeof h.splice=="function"||TA(h)||mQ(h)||xA(h)))return!h.length;var c=R8(h);if(c==phn||c==mhn)return!h.size;if(wQ(h))return!Hkt(h).length;for(var d in h)if(vhn.call(h,d))return!1;return!0}O(f4e,"isEmpty");var jme=f4e;function d4e(h){return h===void 0}O(d4e,"isUndefined");var UB=d4e;function g4e(h,c){return h<c}O(g4e,"baseLt");var b4e=g4e;function w4e(h,c){var d={};return c=ix(c),Zkt(h,function(w,m,k){dQ(d,m,c(w,m,k))}),d}O(w4e,"mapValues");var Lpn=w4e;function p4e(h,c,d){for(var w=-1,m=h.length;++w<m;){var k=h[w],p=c(k);if(p!=null&&(T===void 0?p===p&&!$8(p):d(p,T)))var T=p,E=k}return E}O(p4e,"baseExtremum");var nCt=p4e;function m4e(h){return h&&h.length?nCt(h,z8,uhn):void 0}O(m4e,"max");var Fpn=m4e,khn=Aon(function(h,c,d){rhn(h,c,d)}),_pn=khn;function y4e(h){return h&&h.length?nCt(h,z8,b4e):void 0}O(y4e,"min");var Opn=y4e;function v4e(h,c){return h&&h.length?nCt(h,ix(c),b4e):void 0}O(v4e,"minBy");var Ipn=v4e;function k4e(h,c,d,w){if(!bb(h))return h;c=TQ(c,h);for(var m=-1,k=c.length,p=k-1,T=h;T!=null&&++m<k;){var E=ND(c[m]),B=d;if(E==="__proto__"||E==="constructor"||E==="prototype")return h;if(m!=p){var A=T[E];B=w?w(A,E,T):void 0,B===void 0&&(B=bb(A)?A:fQ(c[m+1])?[]:{})}gQ(T,E,B),T=T[E]}return h}O(k4e,"baseSet");var Chn=k4e;function C4e(h,c,d){for(var w=-1,m=c.length,k={};++w<m;){var p=c[w],T=SQ(h,p);d(T,p)&&Chn(k,TQ(p,h),T)}return k}O(C4e,"basePickBy");var xhn=C4e;function x4e(h,c){var d=h.length;for(h.sort(c);d--;)h[d]=h[d].value;return h}O(x4e,"baseSortBy");var Thn=x4e;function T4e(h,c){if(h!==c){var d=h!==void 0,w=h===null,m=h===h,k=$8(h),p=c!==void 0,T=c===null,E=c===c,B=$8(c);if(!T&&!B&&!k&&h>c||k&&p&&E&&!T&&!B||w&&p&&E||!d&&E||!m)return 1;if(!w&&!k&&!B&&h<c||B&&d&&m&&!w&&!k||T&&d&&m||!p&&m||!E)return-1}return 0}O(T4e,"compareAscending");var Shn=T4e;function S4e(h,c,d){for(var w=-1,m=h.criteria,k=c.criteria,p=m.length,T=d.length;++w<p;){var E=Shn(m[w],k[w]);if(E){if(w>=T)return E;var B=d[w];return E*(B=="desc"?-1:1)}}return h.index-c.index}O(S4e,"compareMultiple");var Ehn=S4e;function E4e(h,c,d){c.length?c=tA(c,function(k){return bh(k)?function(p){return SQ(p,k.length===1?k[0]:k)}:k}):c=[z8];var w=-1;c=tA(c,pQ(ix));var m=n4e(h,function(k,p,T){var E=tA(c,function(B){return B(k)});return{criteria:E,index:++w,value:k}});return Thn(m,function(k,p){return Ehn(k,p,d)})}O(E4e,"baseOrderBy");var Bhn=E4e,Ahn=OCe("length"),Mhn=Ahn,B4e="\\ud800-\\udfff",Lhn="\\u0300-\\u036f",Fhn="\\ufe20-\\ufe2f",_hn="\\u20d0-\\u20ff",Ohn=Lhn+Fhn+_hn,Ihn="\\ufe0e\\ufe0f",Phn="["+B4e+"]",Z3t="["+Ohn+"]",tkt="\\ud83c[\\udffb-\\udfff]",jhn="(?:"+Z3t+"|"+tkt+")",A4e="[^"+B4e+"]",M4e="(?:\\ud83c[\\udde6-\\uddff]){2}",L4e="[\\ud800-\\udbff][\\udc00-\\udfff]",Dhn="\\u200d",F4e=jhn+"?",_4e="["+Ihn+"]?",$hn="(?:"+Dhn+"(?:"+[A4e,M4e,L4e].join("|")+")"+_4e+F4e+")*",Rhn=_4e+F4e+$hn,Nhn="(?:"+[A4e+Z3t+"?",Z3t,M4e,L4e,Phn].join("|")+")",Dme=RegExp(tkt+"(?="+tkt+")|"+Nhn+Rhn,"g");function O4e(h){for(var c=Dme.lastIndex=0;Dme.test(h);)++c;return c}O(O4e,"unicodeSize");var qhn=O4e;function I4e(h){return Tan(h)?qhn(h):Mhn(h)}O(I4e,"stringSize");var Hhn=I4e;function P4e(h,c){return xhn(h,c,function(d,w){return LCe(h,w)})}O(P4e,"basePick");var Khn=P4e,zhn=aan(function(h,c){return h==null?{}:Khn(h,c)}),Ppn=zhn,Whn=Math.ceil,Uhn=Math.max;function j4e(h,c,d,w){for(var m=-1,k=Uhn(Whn((c-h)/(d||1)),0),p=Array(k);k--;)p[w?k:++m]=h,h+=d;return p}O(j4e,"baseRange");var Ghn=j4e;function D4e(h){return function(c,d,w){return w&&typeof w!="number"&&xD(c,d,w)&&(d=w=void 0),c=vJ(c),d===void 0?(d=c,c=0):d=vJ(d),w=w===void 0?c<d?1:-1:vJ(w),Ghn(c,d,w,h)}}O(D4e,"createRange");var Xhn=D4e,Vhn=Xhn(),jpn=Vhn;function $4e(h,c,d,w,m){return m(h,function(k,p,T){d=w?(w=!1,k):c(d,k,p,T)}),d}O($4e,"baseReduce");var Yhn=$4e;function R4e(h,c,d){var w=bh(h)?San:Yhn,m=arguments.length<3;return w(h,ix(c),d,m,EQ)}O(R4e,"reduce");var Jhn=R4e,Qhn="[object Map]",Zhn="[object Set]";function N4e(h){if(h==null)return 0;if(K3(h))return bhn(h)?Hhn(h):h.length;var c=R8(h);return c==Qhn||c==Zhn?h.size:Hkt(h).length}O(N4e,"size");var Dpn=N4e,tfn=bQ(function(h,c){if(h==null)return[];var d=c.length;return d>1&&xD(h,c[0],c[1])?c=[]:d>2&&xD(c[0],c[1],c[2])&&(c=[c[0]]),Bhn(h,Ukt(c,1),[])}),$pn=tfn,efn=1/0,nfn=nA&&1/Ykt(new nA([,-0]))[1]==efn?function(h){return new nA(h)}:uon,rfn=nfn,ifn=200;function q4e(h,c,d){var w=-1,m=Con,k=h.length,p=!0,T=[],E=T;if(d)p=!1,m=ihn;else if(k>=ifn){var B=c?null:rfn(h);if(B)return Ykt(B);p=!1,m=uCe,E=new cCe}else E=c?[]:T;t:for(;++w<k;){var A=h[w],L=c?c(A):A;if(A=d||A!==0?A:0,p&&L===L){for(var I=E.length;I--;)if(E[I]===L)continue t;c&&E.push(L),T.push(A)}else m(E,L,d)||(E!==T&&E.push(L),T.push(A))}return T}O(q4e,"baseUniq");var sfn=q4e,ofn=bQ(function(h){return sfn(Ukt(h,1,KCe,!0))}),cfn=ofn,afn=0;function H4e(h){var c=++afn;return lke(h)+c}O(H4e,"uniqueId");var Rpn=H4e;function K4e(h,c,d){for(var w=-1,m=h.length,k=c.length,p={};++w<m;){var T=w<k?c[w]:void 0;d(p,h[w],T)}return p}O(K4e,"baseZipObject");var lfn=K4e;function z4e(h,c){return lfn(h||[],c||[],gQ)}O(z4e,"zipObject");var Npn=z4e,ufn="\0",h8="\0",$me="",oA,BQ=(oA=class{constructor(c={}){this._isDirected=Object.prototype.hasOwnProperty.call(c,"directed")?c.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(c,"multigraph")?c.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(c,"compound")?c.compound:!1,this._label=void 0,this._defaultNodeLabelFn=iD(void 0),this._defaultEdgeLabelFn=iD(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[h8]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(c){return this._label=c,this}graph(){return this._label}setDefaultNodeLabel(c){return CD(c)||(c=iD(c)),this._defaultNodeLabelFn=c,this}nodeCount(){return this._nodeCount}nodes(){return db(this._nodes)}sources(){var c=this;return lJ(this.nodes(),function(d){return jme(c._in[d])})}sinks(){var c=this;return lJ(this.nodes(),function(d){return jme(c._out[d])})}setNodes(c,d){var w=arguments,m=this;return u8(c,function(k){w.length>1?m.setNode(k,d):m.setNode(k)}),this}setNode(c,d){return Object.prototype.hasOwnProperty.call(this._nodes,c)?(arguments.length>1&&(this._nodes[c]=d),this):(this._nodes[c]=arguments.length>1?d:this._defaultNodeLabelFn(c),this._isCompound&&(this._parent[c]=h8,this._children[c]={},this._children[h8][c]=!0),this._in[c]={},this._preds[c]={},this._out[c]={},this._sucs[c]={},++this._nodeCount,this)}node(c){return this._nodes[c]}hasNode(c){return Object.prototype.hasOwnProperty.call(this._nodes,c)}removeNode(c){if(Object.prototype.hasOwnProperty.call(this._nodes,c)){var d=O(w=>this.removeEdge(this._edgeObjs[w]),"removeEdge");delete this._nodes[c],this._isCompound&&(this._removeFromParentsChildList(c),delete this._parent[c],u8(this.children(c),w=>{this.setParent(w)}),delete this._children[c]),u8(db(this._in[c]),d),delete this._in[c],delete this._preds[c],u8(db(this._out[c]),d),delete this._out[c],delete this._sucs[c],--this._nodeCount}return this}setParent(c,d){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(UB(d))d=h8;else{d+="";for(var w=d;!UB(w);w=this.parent(w))if(w===c)throw new Error("Setting "+d+" as parent of "+c+" would create a cycle");this.setNode(d)}return this.setNode(c),this._removeFromParentsChildList(c),this._parent[c]=d,this._children[d][c]=!0,this}_removeFromParentsChildList(c){delete this._children[this._parent[c]][c]}parent(c){if(this._isCompound){var d=this._parent[c];if(d!==h8)return d}}children(c){if(UB(c)&&(c=h8),this._isCompound){var d=this._children[c];if(d)return db(d)}else{if(c===h8)return this.nodes();if(this.hasNode(c))return[]}}predecessors(c){var d=this._preds[c];if(d)return db(d)}successors(c){var d=this._sucs[c];if(d)return db(d)}neighbors(c){var d=this.predecessors(c);if(d)return cfn(d,this.successors(c))}isLeaf(c){var d;return this.isDirected()?d=this.successors(c):d=this.neighbors(c),d.length===0}filterNodes(c){var d=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});d.setGraph(this.graph());var w=this;u8(this._nodes,function(p,T){c(T)&&d.setNode(T,p)}),u8(this._edgeObjs,function(p){d.hasNode(p.v)&&d.hasNode(p.w)&&d.setEdge(p,w.edge(p))});var m={};function k(p){var T=w.parent(p);return T===void 0||d.hasNode(T)?(m[p]=T,T):T in m?m[T]:k(T)}return O(k,"findParent"),this._isCompound&&u8(d.nodes(),function(p){d.setParent(p,k(p))}),d}setDefaultEdgeLabel(c){return CD(c)||(c=iD(c)),this._defaultEdgeLabelFn=c,this}edgeCount(){return this._edgeCount}edges(){return c3t(this._edgeObjs)}setPath(c,d){var w=this,m=arguments;return Jhn(c,function(k,p){return m.length>1?w.setEdge(k,p,d):w.setEdge(k,p),p}),this}setEdge(){var c,d,w,m,k=!1,p=arguments[0];typeof p=="object"&&p!==null&&"v"in p?(c=p.v,d=p.w,w=p.name,arguments.length===2&&(m=arguments[1],k=!0)):(c=p,d=arguments[1],w=arguments[3],arguments.length>2&&(m=arguments[2],k=!0)),c=""+c,d=""+d,UB(w)||(w=""+w);var T=YB(this._isDirected,c,d,w);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,T))return k&&(this._edgeLabels[T]=m),this;if(!UB(w)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(c),this.setNode(d),this._edgeLabels[T]=k?m:this._defaultEdgeLabelFn(c,d,w);var E=W4e(this._isDirected,c,d,w);return c=E.v,d=E.w,Object.freeze(E),this._edgeObjs[T]=E,ekt(this._preds[d],c),ekt(this._sucs[c],d),this._in[d][T]=E,this._out[c][T]=E,this._edgeCount++,this}edge(c,d,w){var m=arguments.length===1?kJ(this._isDirected,arguments[0]):YB(this._isDirected,c,d,w);return this._edgeLabels[m]}hasEdge(c,d,w){var m=arguments.length===1?kJ(this._isDirected,arguments[0]):YB(this._isDirected,c,d,w);return Object.prototype.hasOwnProperty.call(this._edgeLabels,m)}removeEdge(c,d,w){var m=arguments.length===1?kJ(this._isDirected,arguments[0]):YB(this._isDirected,c,d,w),k=this._edgeObjs[m];return k&&(c=k.v,d=k.w,delete this._edgeLabels[m],delete this._edgeObjs[m],nkt(this._preds[d],c),nkt(this._sucs[c],d),delete this._in[d][m],delete this._out[c][m],this._edgeCount--),this}inEdges(c,d){var w=this._in[c];if(w){var m=c3t(w);return d?lJ(m,function(k){return k.v===d}):m}}outEdges(c,d){var w=this._out[c];if(w){var m=c3t(w);return d?lJ(m,function(k){return k.w===d}):m}}nodeEdges(c,d){var w=this.inEdges(c,d);if(w)return w.concat(this.outEdges(c,d))}},O(oA,"Graph"),oA);BQ.prototype._nodeCount=0;BQ.prototype._edgeCount=0;function ekt(h,c){h[c]?h[c]++:h[c]=1}O(ekt,"incrementOrInitEntry");function nkt(h,c){--h[c]||delete h[c]}O(nkt,"decrementOrRemoveEntry");function YB(h,c,d,w){var m=""+c,k=""+d;if(!h&&m>k){var p=m;m=k,k=p}return m+$me+k+$me+(UB(w)?ufn:w)}O(YB,"edgeArgsToId");function W4e(h,c,d,w){var m=""+c,k=""+d;if(!h&&m>k){var p=m;m=k,k=p}var T={v:m,w:k};return w&&(T.name=w),T}O(W4e,"edgeArgsToObj");function kJ(h,c){return YB(h,c.v,c.w,c.name)}O(kJ,"edgeObjToId");/*! Bundled license information:
|
|
133
133
|
|
|
134
134
|
lodash-es/lodash.js:
|
|
135
135
|
(**
|
|
@@ -141,8 +141,8 @@ lodash-es/lodash.js:
|
|
|
141
141
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
142
142
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
143
143
|
*)
|
|
144
|
-
*/function CJ(h,c,d){if(h&&h.length){const[w,m]=c,k=Math.PI/180*d,p=Math.cos(k),T=Math.sin(k);for(const E of h){const[B,A]=E;E[0]=(B-w)*p-(A-m)*T+w,E[1]=(B-w)*T+(A-m)*p+m}}}O(CJ,"t");function U4e(h,c){return h[0]===c[0]&&h[1]===c[1]}O(U4e,"e");function G4e(h,c,d,w=1){const m=d,k=Math.max(c,.1),p=h[0]&&h[0][0]&&typeof h[0][0]=="number"?[h]:h,T=[0,0];if(m)for(const B of p)CJ(B,T,m);const E=(function(B,A,L){const I=[];for(const rt of B){const lt=[...rt];U4e(lt[0],lt[lt.length-1])||lt.push([lt[0][0],lt[0][1]]),lt.length>2&&I.push(lt)}const $=[];A=Math.max(A,.1);const P=[];for(const rt of I)for(let lt=0;lt<rt.length-1;lt++){const xt=rt[lt],Mt=rt[lt+1];if(xt[1]!==Mt[1]){const Vt=Math.min(xt[1],Mt[1]);P.push({ymin:Vt,ymax:Math.max(xt[1],Mt[1]),x:Vt===xt[1]?xt[0]:Mt[0],islope:(Mt[0]-xt[0])/(Mt[1]-xt[1])})}}if(P.sort(((rt,lt)=>rt.ymin<lt.ymin?-1:rt.ymin>lt.ymin?1:rt.x<lt.x?-1:rt.x>lt.x?1:rt.ymax===lt.ymax?0:(rt.ymax-lt.ymax)/Math.abs(rt.ymax-lt.ymax))),!P.length)return $;let U=[],J=P[0].ymin,X=0;for(;U.length||P.length;){if(P.length){let rt=-1;for(let lt=0;lt<P.length&&!(P[lt].ymin>J);lt++)rt=lt;P.splice(0,rt+1).forEach((lt=>{U.push({s:J,edge:lt})}))}if(U=U.filter((rt=>!(rt.edge.ymax<=J))),U.sort(((rt,lt)=>rt.edge.x===lt.edge.x?0:(rt.edge.x-lt.edge.x)/Math.abs(rt.edge.x-lt.edge.x))),(L!==1||X%A==0)&&U.length>1)for(let rt=0;rt<U.length;rt+=2){const lt=rt+1;if(lt>=U.length)break;const xt=U[rt].edge,Mt=U[lt].edge;$.push([[Math.round(xt.x),J],[Math.round(Mt.x),J]])}J+=L,U.forEach((rt=>{rt.edge.x=rt.edge.x+L*rt.edge.islope})),X++}return $})(p,k,w);if(m){for(const B of p)CJ(B,T,-m);(function(B,A,L){const I=[];B.forEach(($=>I.push(...$))),CJ(I,A,L)})(E,T,-m)}return E}O(G4e,"s");function LA(h,c){var d;const w=c.hachureAngle+90;let m=c.hachureGap;m<0&&(m=4*c.strokeWidth),m=Math.round(Math.max(m,.1));let k=1;return c.roughness>=1&&(((d=c.randomizer)===null||d===void 0?void 0:d.next())||Math.random())>.7&&(k=m),G4e(h,m,w,k||1)}O(LA,"n");var cA,rCt=(cA=class{constructor(c){this.helper=c}fillPolygons(c,d){return this._fillPolygons(c,d)}_fillPolygons(c,d){const w=LA(c,d);return{type:"fillSketch",ops:this.renderLines(w,d)}}renderLines(c,d){const w=[];for(const m of c)w.push(...this.helper.doubleLineOps(m[0][0],m[0][1],m[1][0],m[1][1],d));return w}},O(cA,"o"),cA);function qD(h){const c=h[0],d=h[1];return Math.sqrt(Math.pow(c[0]-d[0],2)+Math.pow(c[1]-d[1],2))}O(qD,"a");var aA,hfn=(aA=class extends rCt{fillPolygons(c,d){let w=d.hachureGap;w<0&&(w=4*d.strokeWidth),w=Math.max(w,.1);const m=LA(c,Object.assign({},d,{hachureGap:w})),k=Math.PI/180*d.hachureAngle,p=[],T=.5*w*Math.cos(k),E=.5*w*Math.sin(k);for(const[B,A]of m)qD([B,A])&&p.push([[B[0]-T,B[1]+E],[...A]],[[B[0]+T,B[1]-E],[...A]]);return{type:"fillSketch",ops:this.renderLines(p,d)}}},O(aA,"h"),aA),lA,ffn=(lA=class extends rCt{fillPolygons(c,d){const w=this._fillPolygons(c,d),m=Object.assign({},d,{hachureAngle:d.hachureAngle+90}),k=this._fillPolygons(c,m);return w.ops=w.ops.concat(k.ops),w}},O(lA,"r"),lA),uA,dfn=(uA=class{constructor(c){this.helper=c}fillPolygons(c,d){const w=LA(c,d=Object.assign({},d,{hachureAngle:0}));return this.dotsOnLines(w,d)}dotsOnLines(c,d){const w=[];let m=d.hachureGap;m<0&&(m=4*d.strokeWidth),m=Math.max(m,.1);let k=d.fillWeight;k<0&&(k=d.strokeWidth/2);const p=m/4;for(const T of c){const E=qD(T),B=E/m,A=Math.ceil(B)-1,L=E-A*m,I=(T[0][0]+T[1][0])/2-m/4,$=Math.min(T[0][1],T[1][1]);for(let P=0;P<A;P++){const U=$+L+P*m,J=I-p+2*Math.random()*p,X=U-p+2*Math.random()*p,rt=this.helper.ellipse(J,X,k,k,d);w.push(...rt.ops)}}return{type:"fillSketch",ops:w}}},O(uA,"i"),uA),hA,gfn=(hA=class{constructor(c){this.helper=c}fillPolygons(c,d){const w=LA(c,d);return{type:"fillSketch",ops:this.dashedLine(w,d)}}dashedLine(c,d){const w=d.dashOffset<0?d.hachureGap<0?4*d.strokeWidth:d.hachureGap:d.dashOffset,m=d.dashGap<0?d.hachureGap<0?4*d.strokeWidth:d.hachureGap:d.dashGap,k=[];return c.forEach((p=>{const T=qD(p),E=Math.floor(T/(w+m)),B=(T+m-E*(w+m))/2;let A=p[0],L=p[1];A[0]>L[0]&&(A=p[1],L=p[0]);const I=Math.atan((L[1]-A[1])/(L[0]-A[0]));for(let $=0;$<E;$++){const P=$*(w+m),U=P+w,J=[A[0]+P*Math.cos(I)+B*Math.cos(I),A[1]+P*Math.sin(I)+B*Math.sin(I)],X=[A[0]+U*Math.cos(I)+B*Math.cos(I),A[1]+U*Math.sin(I)+B*Math.sin(I)];k.push(...this.helper.doubleLineOps(J[0],J[1],X[0],X[1],d))}})),k}},O(hA,"c"),hA),fA,bfn=(fA=class{constructor(c){this.helper=c}fillPolygons(c,d){const w=d.hachureGap<0?4*d.strokeWidth:d.hachureGap,m=d.zigzagOffset<0?w:d.zigzagOffset,k=LA(c,d=Object.assign({},d,{hachureGap:w+m}));return{type:"fillSketch",ops:this.zigzagLines(k,m,d)}}zigzagLines(c,d,w){const m=[];return c.forEach((k=>{const p=qD(k),T=Math.round(p/(2*d));let E=k[0],B=k[1];E[0]>B[0]&&(E=k[1],B=k[0]);const A=Math.atan((B[1]-E[1])/(B[0]-E[0]));for(let L=0;L<T;L++){const I=2*L*d,$=2*(L+1)*d,P=Math.sqrt(2*Math.pow(d,2)),U=[E[0]+I*Math.cos(A),E[1]+I*Math.sin(A)],J=[E[0]+$*Math.cos(A),E[1]+$*Math.sin(A)],X=[U[0]+P*Math.cos(A+Math.PI/4),U[1]+P*Math.sin(A+Math.PI/4)];m.push(...this.helper.doubleLineOps(U[0],U[1],X[0],X[1],w),...this.helper.doubleLineOps(X[0],X[1],J[0],J[1],w))}})),m}},O(fA,"l"),fA),Jg={},dA,wfn=(dA=class{constructor(c){this.seed=c}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}},O(dA,"p"),dA),pfn=0,a3t=1,Rme=2,uJ={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function xJ(h,c){return h.type===c}O(xJ,"k");function AQ(h){const c=[],d=(function(p){const T=new Array;for(;p!=="";)if(p.match(/^([ \t\r\n,]+)/))p=p.substr(RegExp.$1.length);else if(p.match(/^([aAcChHlLmMqQsStTvVzZ])/))T[T.length]={type:pfn,text:RegExp.$1},p=p.substr(RegExp.$1.length);else{if(!p.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];T[T.length]={type:a3t,text:`${parseFloat(RegExp.$1)}`},p=p.substr(RegExp.$1.length)}return T[T.length]={type:Rme,text:""},T})(h);let w="BOD",m=0,k=d[m];for(;!xJ(k,Rme);){let p=0;const T=[];if(w==="BOD"){if(k.text!=="M"&&k.text!=="m")return AQ("M0,0"+h);m++,p=uJ[k.text],w=k.text}else xJ(k,a3t)?p=uJ[w]:(m++,p=uJ[k.text],w=k.text);if(!(m+p<d.length))throw new Error("Path data ended short");for(let E=m;E<m+p;E++){const B=d[E];if(!xJ(B,a3t))throw new Error("Param not a number: "+w+","+B.text);T[T.length]=+B.text}if(typeof uJ[w]!="number")throw new Error("Bad segment: "+w);{const E={key:w,data:T};c.push(E),m+=p,k=d[m],w==="M"&&(w="L"),w==="m"&&(w="l")}}return c}O(AQ,"b");function iCt(h){let c=0,d=0,w=0,m=0;const k=[];for(const{key:p,data:T}of h)switch(p){case"M":k.push({key:"M",data:[...T]}),[c,d]=T,[w,m]=T;break;case"m":c+=T[0],d+=T[1],k.push({key:"M",data:[c,d]}),w=c,m=d;break;case"L":k.push({key:"L",data:[...T]}),[c,d]=T;break;case"l":c+=T[0],d+=T[1],k.push({key:"L",data:[c,d]});break;case"C":k.push({key:"C",data:[...T]}),c=T[4],d=T[5];break;case"c":{const E=T.map(((B,A)=>A%2?B+d:B+c));k.push({key:"C",data:E}),c=E[4],d=E[5];break}case"Q":k.push({key:"Q",data:[...T]}),c=T[2],d=T[3];break;case"q":{const E=T.map(((B,A)=>A%2?B+d:B+c));k.push({key:"Q",data:E}),c=E[2],d=E[3];break}case"A":k.push({key:"A",data:[...T]}),c=T[5],d=T[6];break;case"a":c+=T[5],d+=T[6],k.push({key:"A",data:[T[0],T[1],T[2],T[3],T[4],c,d]});break;case"H":k.push({key:"H",data:[...T]}),c=T[0];break;case"h":c+=T[0],k.push({key:"H",data:[c]});break;case"V":k.push({key:"V",data:[...T]}),d=T[0];break;case"v":d+=T[0],k.push({key:"V",data:[d]});break;case"S":k.push({key:"S",data:[...T]}),c=T[2],d=T[3];break;case"s":{const E=T.map(((B,A)=>A%2?B+d:B+c));k.push({key:"S",data:E}),c=E[2],d=E[3];break}case"T":k.push({key:"T",data:[...T]}),c=T[0],d=T[1];break;case"t":c+=T[0],d+=T[1],k.push({key:"T",data:[c,d]});break;case"Z":case"z":k.push({key:"Z",data:[]}),c=w,d=m}return k}O(iCt,"y");function sCt(h){const c=[];let d="",w=0,m=0,k=0,p=0,T=0,E=0;for(const{key:B,data:A}of h){switch(B){case"M":c.push({key:"M",data:[...A]}),[w,m]=A,[k,p]=A;break;case"C":c.push({key:"C",data:[...A]}),w=A[4],m=A[5],T=A[2],E=A[3];break;case"L":c.push({key:"L",data:[...A]}),[w,m]=A;break;case"H":w=A[0],c.push({key:"L",data:[w,m]});break;case"V":m=A[0],c.push({key:"L",data:[w,m]});break;case"S":{let L=0,I=0;d==="C"||d==="S"?(L=w+(w-T),I=m+(m-E)):(L=w,I=m),c.push({key:"C",data:[L,I,...A]}),T=A[0],E=A[1],w=A[2],m=A[3];break}case"T":{const[L,I]=A;let $=0,P=0;d==="Q"||d==="T"?($=w+(w-T),P=m+(m-E)):($=w,P=m);const U=w+2*($-w)/3,J=m+2*(P-m)/3,X=L+2*($-L)/3,rt=I+2*(P-I)/3;c.push({key:"C",data:[U,J,X,rt,L,I]}),T=$,E=P,w=L,m=I;break}case"Q":{const[L,I,$,P]=A,U=w+2*(L-w)/3,J=m+2*(I-m)/3,X=$+2*(L-$)/3,rt=P+2*(I-P)/3;c.push({key:"C",data:[U,J,X,rt,$,P]}),T=L,E=I,w=$,m=P;break}case"A":{const L=Math.abs(A[0]),I=Math.abs(A[1]),$=A[2],P=A[3],U=A[4],J=A[5],X=A[6];L===0||I===0?(c.push({key:"C",data:[w,m,J,X,J,X]}),w=J,m=X):(w!==J||m!==X)&&(oCt(w,m,J,X,L,I,$,P,U).forEach((function(rt){c.push({key:"C",data:rt})})),w=J,m=X);break}case"Z":c.push({key:"Z",data:[]}),w=k,m=p}d=B}return c}O(sCt,"m");function GB(h,c,d){return[h*Math.cos(d)-c*Math.sin(d),h*Math.sin(d)+c*Math.cos(d)]}O(GB,"w");function oCt(h,c,d,w,m,k,p,T,E,B){const A=(L=p,Math.PI*L/180);var L;let I=[],$=0,P=0,U=0,J=0;if(B)[$,P,U,J]=B;else{[h,c]=GB(h,c,-A),[d,w]=GB(d,w,-A);const Y=(h-d)/2,ce=(c-w)/2;let oe=Y*Y/(m*m)+ce*ce/(k*k);oe>1&&(oe=Math.sqrt(oe),m*=oe,k*=oe);const Ot=m*m,we=k*k,de=Ot*we-Ot*ce*ce-we*Y*Y,Pe=Ot*ce*ce+we*Y*Y,on=(T===E?-1:1)*Math.sqrt(Math.abs(de/Pe));U=on*m*ce/k+(h+d)/2,J=on*-k*Y/m+(c+w)/2,$=Math.asin(parseFloat(((c-J)/k).toFixed(9))),P=Math.asin(parseFloat(((w-J)/k).toFixed(9))),h<U&&($=Math.PI-$),d<U&&(P=Math.PI-P),$<0&&($=2*Math.PI+$),P<0&&(P=2*Math.PI+P),E&&$>P&&($-=2*Math.PI),!E&&P>$&&(P-=2*Math.PI)}let X=P-$;if(Math.abs(X)>120*Math.PI/180){const Y=P,ce=d,oe=w;P=E&&P>$?$+120*Math.PI/180*1:$+120*Math.PI/180*-1,I=oCt(d=U+m*Math.cos(P),w=J+k*Math.sin(P),ce,oe,m,k,p,0,E,[P,Y,U,J])}X=P-$;const rt=Math.cos($),lt=Math.sin($),xt=Math.cos(P),Mt=Math.sin(P),Vt=Math.tan(X/4),Gt=4/3*m*Vt,be=4/3*k*Vt,Ze=[h,c],Fe=[h+Gt*lt,c-be*rt],Me=[d+Gt*Mt,w-be*xt],kn=[d,w];if(Fe[0]=2*Ze[0]-Fe[0],Fe[1]=2*Ze[1]-Fe[1],B)return[Fe,Me,kn].concat(I);{I=[Fe,Me,kn].concat(I);const Y=[];for(let ce=0;ce<I.length;ce+=3){const oe=GB(I[ce][0],I[ce][1],A),Ot=GB(I[ce+1][0],I[ce+1][1],A),we=GB(I[ce+2][0],I[ce+2][1],A);Y.push([oe[0],oe[1],Ot[0],Ot[1],we[0],we[1]])}return Y}}O(oCt,"x");var mfn={randOffset:O(function(h,c){return Yi(h,c)},"randOffset"),randOffsetWithRange:O(function(h,c,d){return BD(h,c,d)},"randOffsetWithRange"),ellipse:O(function(h,c,d,w,m){const k=aCt(d,w,m);return $J(h,c,m,k).opset},"ellipse"),doubleLineOps:O(function(h,c,d,w,m){return q3(h,c,d,w,m,!0)},"doubleLineOps")};function cCt(h,c,d,w,m){return{type:"path",ops:q3(h,c,d,w,m)}}O(cCt,"v");function gD(h,c,d){const w=(h||[]).length;if(w>2){const m=[];for(let k=0;k<w-1;k++)m.push(...q3(h[k][0],h[k][1],h[k+1][0],h[k+1][1],d));return c&&m.push(...q3(h[w-1][0],h[w-1][1],h[0][0],h[0][1],d)),{type:"path",ops:m}}return w===2?cCt(h[0][0],h[0][1],h[1][0],h[1][1],d):{type:"path",ops:[]}}O(gD,"S");function X4e(h,c,d,w,m){return(function(k,p){return gD(k,!0,p)})([[h,c],[h+d,c],[h+d,c+w],[h,c+w]],m)}O(X4e,"O");function rkt(h,c){if(h.length){const d=typeof h[0][0]=="number"?[h]:h,w=sD(d[0],1*(1+.2*c.roughness),c),m=c.disableMultiStroke?[]:sD(d[0],1.5*(1+.22*c.roughness),okt(c));for(let k=1;k<d.length;k++){const p=d[k];if(p.length){const T=sD(p,1*(1+.2*c.roughness),c),E=c.disableMultiStroke?[]:sD(p,1.5*(1+.22*c.roughness),okt(c));for(const B of T)B.op!=="move"&&w.push(B);for(const B of E)B.op!=="move"&&m.push(B)}}return{type:"path",ops:w.concat(m)}}return{type:"path",ops:[]}}O(rkt,"L");function aCt(h,c,d){const w=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(h/2,2)+Math.pow(c/2,2))/2)),m=Math.ceil(Math.max(d.curveStepCount,d.curveStepCount/Math.sqrt(200)*w)),k=2*Math.PI/m;let p=Math.abs(h/2),T=Math.abs(c/2);const E=1-d.curveFitting;return p+=Yi(p*E,d),T+=Yi(T*E,d),{increment:k,rx:p,ry:T}}O(aCt,"T");function $J(h,c,d,w){const[m,k]=ckt(w.increment,h,c,w.rx,w.ry,1,w.increment*BD(.1,BD(.4,1,d),d),d);let p=AD(m,null,d);if(!d.disableMultiStroke&&d.roughness!==0){const[T]=ckt(w.increment,h,c,w.rx,w.ry,1.5,0,d),E=AD(T,null,d);p=p.concat(E)}return{estimatedPoints:k,opset:{type:"path",ops:p}}}O($J,"D");function ikt(h,c,d,w,m,k,p,T,E){const B=h,A=c;let L=Math.abs(d/2),I=Math.abs(w/2);L+=Yi(.01*L,E),I+=Yi(.01*I,E);let $=m,P=k;for(;$<0;)$+=2*Math.PI,P+=2*Math.PI;P-$>2*Math.PI&&($=0,P=2*Math.PI);const U=2*Math.PI/E.curveStepCount,J=Math.min(U/2,(P-$)/2),X=akt(J,B,A,L,I,$,P,1,E);if(!E.disableMultiStroke){const rt=akt(J,B,A,L,I,$,P,1.5,E);X.push(...rt)}return p&&(T?X.push(...q3(B,A,B+L*Math.cos($),A+I*Math.sin($),E),...q3(B,A,B+L*Math.cos(P),A+I*Math.sin(P),E)):X.push({op:"lineTo",data:[B,A]},{op:"lineTo",data:[B+L*Math.cos($),A+I*Math.sin($)]})),{type:"path",ops:X}}O(ikt,"A");function skt(h,c){const d=sCt(iCt(AQ(h))),w=[];let m=[0,0],k=[0,0];for(const{key:p,data:T}of d)switch(p){case"M":k=[T[0],T[1]],m=[T[0],T[1]];break;case"L":w.push(...q3(k[0],k[1],T[0],T[1],c)),k=[T[0],T[1]];break;case"C":{const[E,B,A,L,I,$]=T;w.push(...V4e(E,B,A,L,I,$,k,c)),k=[I,$];break}case"Z":w.push(...q3(k[0],k[1],m[0],m[1],c)),k=[m[0],m[1]]}return{type:"path",ops:w}}O(skt,"_");function TJ(h,c){const d=[];for(const w of h)if(w.length){const m=c.maxRandomnessOffset||0,k=w.length;if(k>2){d.push({op:"move",data:[w[0][0]+Yi(m,c),w[0][1]+Yi(m,c)]});for(let p=1;p<k;p++)d.push({op:"lineTo",data:[w[p][0]+Yi(m,c),w[p][1]+Yi(m,c)]})}}return{type:"fillPath",ops:d}}O(TJ,"I");function g8(h,c){return(function(d,w){let m=d.fillStyle||"hachure";if(!Jg[m])switch(m){case"zigzag":Jg[m]||(Jg[m]=new hfn(w));break;case"cross-hatch":Jg[m]||(Jg[m]=new ffn(w));break;case"dots":Jg[m]||(Jg[m]=new dfn(w));break;case"dashed":Jg[m]||(Jg[m]=new gfn(w));break;case"zigzag-line":Jg[m]||(Jg[m]=new bfn(w));break;default:m="hachure",Jg[m]||(Jg[m]=new rCt(w))}return Jg[m]})(c,mfn).fillPolygons(h,c)}O(g8,"C");function okt(h){const c=Object.assign({},h);return c.randomizer=void 0,h.seed&&(c.seed=h.seed+1),c}O(okt,"z");function lCt(h){return h.randomizer||(h.randomizer=new wfn(h.seed||0)),h.randomizer.next()}O(lCt,"W");function BD(h,c,d,w=1){return d.roughness*w*(lCt(d)*(c-h)+h)}O(BD,"E");function Yi(h,c,d=1){return BD(-h,h,c,d)}O(Yi,"G");function q3(h,c,d,w,m,k=!1){const p=k?m.disableMultiStrokeFill:m.disableMultiStroke,T=RJ(h,c,d,w,m,!0,!1);if(p)return T;const E=RJ(h,c,d,w,m,!0,!0);return T.concat(E)}O(q3,"$");function RJ(h,c,d,w,m,k,p){const T=Math.pow(h-d,2)+Math.pow(c-w,2),E=Math.sqrt(T);let B=1;B=E<200?1:E>500?.4:-.0016668*E+1.233334;let A=m.maxRandomnessOffset||0;A*A*100>T&&(A=E/10);const L=A/2,I=.2+.2*lCt(m);let $=m.bowing*m.maxRandomnessOffset*(w-c)/200,P=m.bowing*m.maxRandomnessOffset*(h-d)/200;$=Yi($,m,B),P=Yi(P,m,B);const U=[],J=O(()=>Yi(L,m,B),"M"),X=O(()=>Yi(A,m,B),"k"),rt=m.preserveVertices;return k&&(p?U.push({op:"move",data:[h+(rt?0:J()),c+(rt?0:J())]}):U.push({op:"move",data:[h+(rt?0:Yi(A,m,B)),c+(rt?0:Yi(A,m,B))]})),p?U.push({op:"bcurveTo",data:[$+h+(d-h)*I+J(),P+c+(w-c)*I+J(),$+h+2*(d-h)*I+J(),P+c+2*(w-c)*I+J(),d+(rt?0:J()),w+(rt?0:J())]}):U.push({op:"bcurveTo",data:[$+h+(d-h)*I+X(),P+c+(w-c)*I+X(),$+h+2*(d-h)*I+X(),P+c+2*(w-c)*I+X(),d+(rt?0:X()),w+(rt?0:X())]}),U}O(RJ,"R");function sD(h,c,d){if(!h.length)return[];const w=[];w.push([h[0][0]+Yi(c,d),h[0][1]+Yi(c,d)]),w.push([h[0][0]+Yi(c,d),h[0][1]+Yi(c,d)]);for(let m=1;m<h.length;m++)w.push([h[m][0]+Yi(c,d),h[m][1]+Yi(c,d)]),m===h.length-1&&w.push([h[m][0]+Yi(c,d),h[m][1]+Yi(c,d)]);return AD(w,null,d)}O(sD,"j");function AD(h,c,d){const w=h.length,m=[];if(w>3){const k=[],p=1-d.curveTightness;m.push({op:"move",data:[h[1][0],h[1][1]]});for(let T=1;T+2<w;T++){const E=h[T];k[0]=[E[0],E[1]],k[1]=[E[0]+(p*h[T+1][0]-p*h[T-1][0])/6,E[1]+(p*h[T+1][1]-p*h[T-1][1])/6],k[2]=[h[T+1][0]+(p*h[T][0]-p*h[T+2][0])/6,h[T+1][1]+(p*h[T][1]-p*h[T+2][1])/6],k[3]=[h[T+1][0],h[T+1][1]],m.push({op:"bcurveTo",data:[k[1][0],k[1][1],k[2][0],k[2][1],k[3][0],k[3][1]]})}if(c&&c.length===2){const T=d.maxRandomnessOffset;m.push({op:"lineTo",data:[c[0]+Yi(T,d),c[1]+Yi(T,d)]})}}else w===3?(m.push({op:"move",data:[h[1][0],h[1][1]]}),m.push({op:"bcurveTo",data:[h[1][0],h[1][1],h[2][0],h[2][1],h[2][0],h[2][1]]})):w===2&&m.push(...RJ(h[0][0],h[0][1],h[1][0],h[1][1],d,!0,!0));return m}O(AD,"q");function ckt(h,c,d,w,m,k,p,T){const E=[],B=[];if(T.roughness===0){h/=4,B.push([c+w*Math.cos(-h),d+m*Math.sin(-h)]);for(let A=0;A<=2*Math.PI;A+=h){const L=[c+w*Math.cos(A),d+m*Math.sin(A)];E.push(L),B.push(L)}B.push([c+w*Math.cos(0),d+m*Math.sin(0)]),B.push([c+w*Math.cos(h),d+m*Math.sin(h)])}else{const A=Yi(.5,T)-Math.PI/2;B.push([Yi(k,T)+c+.9*w*Math.cos(A-h),Yi(k,T)+d+.9*m*Math.sin(A-h)]);const L=2*Math.PI+A-.01;for(let I=A;I<L;I+=h){const $=[Yi(k,T)+c+w*Math.cos(I),Yi(k,T)+d+m*Math.sin(I)];E.push($),B.push($)}B.push([Yi(k,T)+c+w*Math.cos(A+2*Math.PI+.5*p),Yi(k,T)+d+m*Math.sin(A+2*Math.PI+.5*p)]),B.push([Yi(k,T)+c+.98*w*Math.cos(A+p),Yi(k,T)+d+.98*m*Math.sin(A+p)]),B.push([Yi(k,T)+c+.9*w*Math.cos(A+.5*p),Yi(k,T)+d+.9*m*Math.sin(A+.5*p)])}return[B,E]}O(ckt,"F");function akt(h,c,d,w,m,k,p,T,E){const B=k+Yi(.1,E),A=[];A.push([Yi(T,E)+c+.9*w*Math.cos(B-h),Yi(T,E)+d+.9*m*Math.sin(B-h)]);for(let L=B;L<=p;L+=h)A.push([Yi(T,E)+c+w*Math.cos(L),Yi(T,E)+d+m*Math.sin(L)]);return A.push([c+w*Math.cos(p),d+m*Math.sin(p)]),A.push([c+w*Math.cos(p),d+m*Math.sin(p)]),AD(A,null,E)}O(akt,"V");function V4e(h,c,d,w,m,k,p,T){const E=[],B=[T.maxRandomnessOffset||1,(T.maxRandomnessOffset||1)+.3];let A=[0,0];const L=T.disableMultiStroke?1:2,I=T.preserveVertices;for(let $=0;$<L;$++)$===0?E.push({op:"move",data:[p[0],p[1]]}):E.push({op:"move",data:[p[0]+(I?0:Yi(B[0],T)),p[1]+(I?0:Yi(B[0],T))]}),A=I?[m,k]:[m+Yi(B[$],T),k+Yi(B[$],T)],E.push({op:"bcurveTo",data:[h+Yi(B[$],T),c+Yi(B[$],T),d+Yi(B[$],T),w+Yi(B[$],T),A[0],A[1]]});return E}O(V4e,"Z");function XB(h){return[...h]}O(XB,"Q");function lkt(h,c=0){const d=h.length;if(d<3)throw new Error("A curve must have at least three points.");const w=[];if(d===3)w.push(XB(h[0]),XB(h[1]),XB(h[2]),XB(h[2]));else{const m=[];m.push(h[0],h[0]);for(let T=1;T<h.length;T++)m.push(h[T]),T===h.length-1&&m.push(h[T]);const k=[],p=1-c;w.push(XB(m[0]));for(let T=1;T+2<m.length;T++){const E=m[T];k[0]=[E[0],E[1]],k[1]=[E[0]+(p*m[T+1][0]-p*m[T-1][0])/6,E[1]+(p*m[T+1][1]-p*m[T-1][1])/6],k[2]=[m[T+1][0]+(p*m[T][0]-p*m[T+2][0])/6,m[T+1][1]+(p*m[T][1]-p*m[T+2][1])/6],k[3]=[m[T+1][0],m[T+1][1]],w.push(k[1],k[2],k[3])}}return w}O(lkt,"H");function bD(h,c){return Math.pow(h[0]-c[0],2)+Math.pow(h[1]-c[1],2)}O(bD,"N");function Y4e(h,c,d){const w=bD(c,d);if(w===0)return bD(h,c);let m=((h[0]-c[0])*(d[0]-c[0])+(h[1]-c[1])*(d[1]-c[1]))/w;return m=Math.max(0,Math.min(1,m)),bD(h,X4(c,d,m))}O(Y4e,"B");function X4(h,c,d){return[h[0]+(c[0]-h[0])*d,h[1]+(c[1]-h[1])*d]}O(X4,"J");function NJ(h,c,d,w){const m=w||[];if((function(T,E){const B=T[E+0],A=T[E+1],L=T[E+2],I=T[E+3];let $=3*A[0]-2*B[0]-I[0];$*=$;let P=3*A[1]-2*B[1]-I[1];P*=P;let U=3*L[0]-2*I[0]-B[0];U*=U;let J=3*L[1]-2*I[1]-B[1];return J*=J,$<U&&($=U),P<J&&(P=J),$+P})(h,c)<d){const T=h[c+0];m.length?(k=m[m.length-1],p=T,Math.sqrt(bD(k,p))>1&&m.push(T)):m.push(T),m.push(h[c+3])}else{const E=h[c+0],B=h[c+1],A=h[c+2],L=h[c+3],I=X4(E,B,.5),$=X4(B,A,.5),P=X4(A,L,.5),U=X4(I,$,.5),J=X4($,P,.5),X=X4(U,J,.5);NJ([E,I,U,X],0,d,m),NJ([X,J,P,L],0,d,m)}var k,p;return m}O(NJ,"K");function J4e(h,c){return MD(h,0,h.length,c)}O(J4e,"U");function MD(h,c,d,w,m){const k=m||[],p=h[c],T=h[d-1];let E=0,B=1;for(let A=c+1;A<d-1;++A){const L=Y4e(h[A],p,T);L>E&&(E=L,B=A)}return Math.sqrt(E)>w?(MD(h,c,B+1,w,k),MD(h,B,d,w,k)):(k.length||k.push(p),k.push(T)),k}O(MD,"X");function SJ(h,c=.15,d){const w=[],m=(h.length-1)/3;for(let k=0;k<m;k++)NJ(h,3*k,c,w);return d&&d>0?MD(w,0,w.length,d):w}O(SJ,"Y");var fb="none",gA,qJ=(gA=class{constructor(c){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=c||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(Math.random()*2**31)}_o(c){return c?Object.assign({},this.defaultOptions,c):this.defaultOptions}_d(c,d,w){return{shape:c,sets:d||[],options:w||this.defaultOptions}}line(c,d,w,m,k){const p=this._o(k);return this._d("line",[cCt(c,d,w,m,p)],p)}rectangle(c,d,w,m,k){const p=this._o(k),T=[],E=X4e(c,d,w,m,p);if(p.fill){const B=[[c,d],[c+w,d],[c+w,d+m],[c,d+m]];p.fillStyle==="solid"?T.push(TJ([B],p)):T.push(g8([B],p))}return p.stroke!==fb&&T.push(E),this._d("rectangle",T,p)}ellipse(c,d,w,m,k){const p=this._o(k),T=[],E=aCt(w,m,p),B=$J(c,d,p,E);if(p.fill)if(p.fillStyle==="solid"){const A=$J(c,d,p,E).opset;A.type="fillPath",T.push(A)}else T.push(g8([B.estimatedPoints],p));return p.stroke!==fb&&T.push(B.opset),this._d("ellipse",T,p)}circle(c,d,w,m){const k=this.ellipse(c,d,w,w,m);return k.shape="circle",k}linearPath(c,d){const w=this._o(d);return this._d("linearPath",[gD(c,!1,w)],w)}arc(c,d,w,m,k,p,T=!1,E){const B=this._o(E),A=[],L=ikt(c,d,w,m,k,p,T,!0,B);if(T&&B.fill)if(B.fillStyle==="solid"){const I=Object.assign({},B);I.disableMultiStroke=!0;const $=ikt(c,d,w,m,k,p,!0,!1,I);$.type="fillPath",A.push($)}else A.push((function(I,$,P,U,J,X,rt){const lt=I,xt=$;let Mt=Math.abs(P/2),Vt=Math.abs(U/2);Mt+=Yi(.01*Mt,rt),Vt+=Yi(.01*Vt,rt);let Gt=J,be=X;for(;Gt<0;)Gt+=2*Math.PI,be+=2*Math.PI;be-Gt>2*Math.PI&&(Gt=0,be=2*Math.PI);const Ze=(be-Gt)/rt.curveStepCount,Fe=[];for(let Me=Gt;Me<=be;Me+=Ze)Fe.push([lt+Mt*Math.cos(Me),xt+Vt*Math.sin(Me)]);return Fe.push([lt+Mt*Math.cos(be),xt+Vt*Math.sin(be)]),Fe.push([lt,xt]),g8([Fe],rt)})(c,d,w,m,k,p,B));return B.stroke!==fb&&A.push(L),this._d("arc",A,B)}curve(c,d){const w=this._o(d),m=[],k=rkt(c,w);if(w.fill&&w.fill!==fb)if(w.fillStyle==="solid"){const p=rkt(c,Object.assign(Object.assign({},w),{disableMultiStroke:!0,roughness:w.roughness?w.roughness+w.fillShapeRoughnessGain:0}));m.push({type:"fillPath",ops:this._mergedShape(p.ops)})}else{const p=[],T=c;if(T.length){const E=typeof T[0][0]=="number"?[T]:T;for(const B of E)B.length<3?p.push(...B):B.length===3?p.push(...SJ(lkt([B[0],B[0],B[1],B[2]]),10,(1+w.roughness)/2)):p.push(...SJ(lkt(B),10,(1+w.roughness)/2))}p.length&&m.push(g8([p],w))}return w.stroke!==fb&&m.push(k),this._d("curve",m,w)}polygon(c,d){const w=this._o(d),m=[],k=gD(c,!0,w);return w.fill&&(w.fillStyle==="solid"?m.push(TJ([c],w)):m.push(g8([c],w))),w.stroke!==fb&&m.push(k),this._d("polygon",m,w)}path(c,d){const w=this._o(d),m=[];if(!c)return this._d("path",m,w);c=(c||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const k=w.fill&&w.fill!=="transparent"&&w.fill!==fb,p=w.stroke!==fb,T=!!(w.simplification&&w.simplification<1),E=(function(A,L,I){const $=sCt(iCt(AQ(A))),P=[];let U=[],J=[0,0],X=[];const rt=O(()=>{X.length>=4&&U.push(...SJ(X,L)),X=[]},"i"),lt=O(()=>{rt(),U.length&&(P.push(U),U=[])},"c");for(const{key:Mt,data:Vt}of $)switch(Mt){case"M":lt(),J=[Vt[0],Vt[1]],U.push(J);break;case"L":rt(),U.push([Vt[0],Vt[1]]);break;case"C":if(!X.length){const Gt=U.length?U[U.length-1]:J;X.push([Gt[0],Gt[1]])}X.push([Vt[0],Vt[1]]),X.push([Vt[2],Vt[3]]),X.push([Vt[4],Vt[5]]);break;case"Z":rt(),U.push([J[0],J[1]])}if(lt(),!I)return P;const xt=[];for(const Mt of P){const Vt=J4e(Mt,I);Vt.length&&xt.push(Vt)}return xt})(c,1,T?4-4*(w.simplification||1):(1+w.roughness)/2),B=skt(c,w);if(k)if(w.fillStyle==="solid")if(E.length===1){const A=skt(c,Object.assign(Object.assign({},w),{disableMultiStroke:!0,roughness:w.roughness?w.roughness+w.fillShapeRoughnessGain:0}));m.push({type:"fillPath",ops:this._mergedShape(A.ops)})}else m.push(TJ(E,w));else m.push(g8(E,w));return p&&(T?E.forEach((A=>{m.push(gD(A,!1,w))})):m.push(B)),this._d("path",m,w)}opsToPath(c,d){let w="";for(const m of c.ops){const k=typeof d=="number"&&d>=0?m.data.map((p=>+p.toFixed(d))):m.data;switch(m.op){case"move":w+=`M${k[0]} ${k[1]} `;break;case"bcurveTo":w+=`C${k[0]} ${k[1]}, ${k[2]} ${k[3]}, ${k[4]} ${k[5]} `;break;case"lineTo":w+=`L${k[0]} ${k[1]} `}}return w.trim()}toPaths(c){const d=c.sets||[],w=c.options||this.defaultOptions,m=[];for(const k of d){let p=null;switch(k.type){case"path":p={d:this.opsToPath(k),stroke:w.stroke,strokeWidth:w.strokeWidth,fill:fb};break;case"fillPath":p={d:this.opsToPath(k),stroke:fb,strokeWidth:0,fill:w.fill||fb};break;case"fillSketch":p=this.fillSketch(k,w)}p&&m.push(p)}return m}fillSketch(c,d){let w=d.fillWeight;return w<0&&(w=d.strokeWidth/2),{d:this.opsToPath(c),stroke:d.fill||fb,strokeWidth:w,fill:fb}}_mergedShape(c){return c.filter(((d,w)=>w===0||d.op!=="move"))}},O(gA,"et"),gA),bA,yfn=(bA=class{constructor(c,d){this.canvas=c,this.ctx=this.canvas.getContext("2d"),this.gen=new qJ(d)}draw(c){const d=c.sets||[],w=c.options||this.getDefaultOptions(),m=this.ctx,k=c.options.fixedDecimalPlaceDigits;for(const p of d)switch(p.type){case"path":m.save(),m.strokeStyle=w.stroke==="none"?"transparent":w.stroke,m.lineWidth=w.strokeWidth,w.strokeLineDash&&m.setLineDash(w.strokeLineDash),w.strokeLineDashOffset&&(m.lineDashOffset=w.strokeLineDashOffset),this._drawToContext(m,p,k),m.restore();break;case"fillPath":{m.save(),m.fillStyle=w.fill||"";const T=c.shape==="curve"||c.shape==="polygon"||c.shape==="path"?"evenodd":"nonzero";this._drawToContext(m,p,k,T),m.restore();break}case"fillSketch":this.fillSketch(m,p,w)}}fillSketch(c,d,w){let m=w.fillWeight;m<0&&(m=w.strokeWidth/2),c.save(),w.fillLineDash&&c.setLineDash(w.fillLineDash),w.fillLineDashOffset&&(c.lineDashOffset=w.fillLineDashOffset),c.strokeStyle=w.fill||"",c.lineWidth=m,this._drawToContext(c,d,w.fixedDecimalPlaceDigits),c.restore()}_drawToContext(c,d,w,m="nonzero"){c.beginPath();for(const k of d.ops){const p=typeof w=="number"&&w>=0?k.data.map((T=>+T.toFixed(w))):k.data;switch(k.op){case"move":c.moveTo(p[0],p[1]);break;case"bcurveTo":c.bezierCurveTo(p[0],p[1],p[2],p[3],p[4],p[5]);break;case"lineTo":c.lineTo(p[0],p[1])}}d.type==="fillPath"?c.fill(m):c.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(c,d,w,m,k){const p=this.gen.line(c,d,w,m,k);return this.draw(p),p}rectangle(c,d,w,m,k){const p=this.gen.rectangle(c,d,w,m,k);return this.draw(p),p}ellipse(c,d,w,m,k){const p=this.gen.ellipse(c,d,w,m,k);return this.draw(p),p}circle(c,d,w,m){const k=this.gen.circle(c,d,w,m);return this.draw(k),k}linearPath(c,d){const w=this.gen.linearPath(c,d);return this.draw(w),w}polygon(c,d){const w=this.gen.polygon(c,d);return this.draw(w),w}arc(c,d,w,m,k,p,T=!1,E){const B=this.gen.arc(c,d,w,m,k,p,T,E);return this.draw(B),B}curve(c,d){const w=this.gen.curve(c,d);return this.draw(w),w}path(c,d){const w=this.gen.path(c,d);return this.draw(w),w}},O(bA,"st"),bA),hJ="http://www.w3.org/2000/svg",wA,vfn=(wA=class{constructor(c,d){this.svg=c,this.gen=new qJ(d)}draw(c){const d=c.sets||[],w=c.options||this.getDefaultOptions(),m=this.svg.ownerDocument||window.document,k=m.createElementNS(hJ,"g"),p=c.options.fixedDecimalPlaceDigits;for(const T of d){let E=null;switch(T.type){case"path":E=m.createElementNS(hJ,"path"),E.setAttribute("d",this.opsToPath(T,p)),E.setAttribute("stroke",w.stroke),E.setAttribute("stroke-width",w.strokeWidth+""),E.setAttribute("fill","none"),w.strokeLineDash&&E.setAttribute("stroke-dasharray",w.strokeLineDash.join(" ").trim()),w.strokeLineDashOffset&&E.setAttribute("stroke-dashoffset",`${w.strokeLineDashOffset}`);break;case"fillPath":E=m.createElementNS(hJ,"path"),E.setAttribute("d",this.opsToPath(T,p)),E.setAttribute("stroke","none"),E.setAttribute("stroke-width","0"),E.setAttribute("fill",w.fill||""),c.shape!=="curve"&&c.shape!=="polygon"||E.setAttribute("fill-rule","evenodd");break;case"fillSketch":E=this.fillSketch(m,T,w)}E&&k.appendChild(E)}return k}fillSketch(c,d,w){let m=w.fillWeight;m<0&&(m=w.strokeWidth/2);const k=c.createElementNS(hJ,"path");return k.setAttribute("d",this.opsToPath(d,w.fixedDecimalPlaceDigits)),k.setAttribute("stroke",w.fill||""),k.setAttribute("stroke-width",m+""),k.setAttribute("fill","none"),w.fillLineDash&&k.setAttribute("stroke-dasharray",w.fillLineDash.join(" ").trim()),w.fillLineDashOffset&&k.setAttribute("stroke-dashoffset",`${w.fillLineDashOffset}`),k}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(c,d){return this.gen.opsToPath(c,d)}line(c,d,w,m,k){const p=this.gen.line(c,d,w,m,k);return this.draw(p)}rectangle(c,d,w,m,k){const p=this.gen.rectangle(c,d,w,m,k);return this.draw(p)}ellipse(c,d,w,m,k){const p=this.gen.ellipse(c,d,w,m,k);return this.draw(p)}circle(c,d,w,m){const k=this.gen.circle(c,d,w,m);return this.draw(k)}linearPath(c,d){const w=this.gen.linearPath(c,d);return this.draw(w)}polygon(c,d){const w=this.gen.polygon(c,d);return this.draw(w)}arc(c,d,w,m,k,p,T=!1,E){const B=this.gen.arc(c,d,w,m,k,p,T,E);return this.draw(B)}curve(c,d){const w=this.gen.curve(c,d);return this.draw(w)}path(c,d){const w=this.gen.path(c,d);return this.draw(w)}},O(wA,"ot"),wA),Dr={canvas:O((h,c)=>new yfn(h,c),"canvas"),svg:O((h,c)=>new vfn(h,c),"svg"),generator:O(h=>new qJ(h),"generator"),newSeed:O(()=>qJ.newSeed(),"newSeed")},kfn=q(h=>{const{handDrawnSeed:c}=Ao();return{fill:h,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:h,seed:c}},"solidStateFill"),Cfn=q(h=>Array.isArray(h)?h:h?h.split(";").map(c=>c.trim()).filter(Boolean):[],"normalizeStyleList"),FA=q(h=>{const c=xfn([...h.cssCompiledStyles||[],...h.cssStyles||[],...Cfn(h.labelStyle)]);return{stylesMap:c,stylesArray:[...c]}},"compileStyles"),xfn=q(h=>{const c=new Map;return h.forEach(d=>{const[w,m]=d.split(":");c.set(w.trim(),m==null?void 0:m.trim())}),c},"styles2Map"),Q4e=q(h=>h==="color"||h==="font-size"||h==="font-family"||h==="font-weight"||h==="font-style"||h==="text-decoration"||h==="text-align"||h==="text-transform"||h==="line-height"||h==="letter-spacing"||h==="word-spacing"||h==="text-shadow"||h==="text-overflow"||h==="white-space"||h==="word-wrap"||h==="word-break"||h==="overflow-wrap"||h==="hyphens","isLabelStyle"),Wr=q(h=>{const{stylesArray:c}=FA(h),d=[],w=[],m=[],k=[];return c.forEach(p=>{const T=p[0];Q4e(T)?d.push(p.join(":")+" !important"):(w.push(p.join(":")+" !important"),T.includes("stroke")&&m.push(p.join(":")+" !important"),T==="fill"&&k.push(p.join(":")+" !important"))}),{labelStyles:d.join(";"),nodeStyles:w.join(";"),stylesArray:c,borderStyles:m,backgroundStyles:k}},"styles2String"),Fr=q((h,c)=>{var E;const{themeVariables:d,handDrawnSeed:w}=Ao(),{nodeBorder:m,mainBkg:k}=d,{stylesMap:p}=FA(h);return Object.assign({roughness:.7,fill:p.get("fill")||k,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:p.get("stroke")||m,seed:w,strokeWidth:((E=p.get("stroke-width"))==null?void 0:E.replace("px",""))||1.3,fillLineDash:[0,0],strokeLineDash:Tfn(p.get("stroke-dasharray"))},c)},"userNodeOverrides"),Tfn=q(h=>{if(!h)return[0,0];const c=h.trim().split(/\s+/).map(Number);if(c.length===1){const m=isNaN(c[0])?0:c[0];return[m,m]}const d=isNaN(c[0])?0:c[0],w=isNaN(c[1])?0:c[1];return[d,w]},"getStrokeDashArray"),Sfn=Object.freeze({left:0,top:0,width:16,height:16}),HJ=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Z4e=Object.freeze({...Sfn,...HJ}),Efn=Object.freeze({...Z4e,body:"",hidden:!1}),Bfn=Object.freeze({width:null,height:null}),Afn=Object.freeze({...Bfn,...HJ}),Mfn=O((h,c,d,w="")=>{const m=h.split(":");if(h.slice(0,1)==="@"){if(m.length<2||m.length>3)return null;w=m.shift().slice(1)}if(m.length>3||!m.length)return null;if(m.length>1){const T=m.pop(),E=m.pop(),B={provider:m.length>0?m[0]:w,prefix:E,name:T};return c&&!l3t(B)?null:B}const k=m[0],p=k.split("-");if(p.length>1){const T={provider:w,prefix:p.shift(),name:p.join("-")};return c&&!l3t(T)?null:T}if(d&&w===""){const T={provider:w,prefix:"",name:k};return c&&!l3t(T,d)?null:T}return null},"stringToIcon"),l3t=O((h,c)=>h?!!((c&&h.prefix===""||h.prefix)&&h.name):!1,"validateIconName");function txe(h,c){const d={};!h.hFlip!=!c.hFlip&&(d.hFlip=!0),!h.vFlip!=!c.vFlip&&(d.vFlip=!0);const w=((h.rotate||0)+(c.rotate||0))%4;return w&&(d.rotate=w),d}O(txe,"mergeIconTransformations");function ukt(h,c){const d=txe(h,c);for(const w in Efn)w in HJ?w in h&&!(w in d)&&(d[w]=HJ[w]):w in c?d[w]=c[w]:w in h&&(d[w]=h[w]);return d}O(ukt,"mergeIconData");function exe(h,c){const d=h.icons,w=h.aliases||Object.create(null),m=Object.create(null);function k(p){if(d[p])return m[p]=[];if(!(p in m)){m[p]=null;const T=w[p]&&w[p].parent,E=T&&k(T);E&&(m[p]=[T].concat(E))}return m[p]}return O(k,"resolve"),(c||Object.keys(d).concat(Object.keys(w))).forEach(k),m}O(exe,"getIconsTree");function hkt(h,c,d){const w=h.icons,m=h.aliases||Object.create(null);let k={};function p(T){k=ukt(w[T]||m[T],k)}return O(p,"parse"),p(c),d.forEach(p),ukt(h,k)}O(hkt,"internalGetIconData");function nxe(h,c){if(h.icons[c])return hkt(h,c,[]);const d=exe(h,[c])[c];return d?hkt(h,c,d):null}O(nxe,"getIconData");var Lfn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ffn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function fkt(h,c,d){if(c===1)return h;if(d=d||100,typeof h=="number")return Math.ceil(h*c*d)/d;if(typeof h!="string")return h;const w=h.split(Lfn);if(w===null||!w.length)return h;const m=[];let k=w.shift(),p=Ffn.test(k);for(;;){if(p){const T=parseFloat(k);isNaN(T)?m.push(k):m.push(Math.ceil(T*c*d)/d)}else m.push(k);if(k=w.shift(),k===void 0)return m.join("");p=!p}}O(fkt,"calculateSize");function rxe(h,c="defs"){let d="";const w=h.indexOf("<"+c);for(;w>=0;){const m=h.indexOf(">",w),k=h.indexOf("</"+c);if(m===-1||k===-1)break;const p=h.indexOf(">",k);if(p===-1)break;d+=h.slice(m+1,k).trim(),h=h.slice(0,w).trim()+h.slice(p+1)}return{defs:d,content:h}}O(rxe,"splitSVGDefs");function ixe(h,c){return h?"<defs>"+h+"</defs>"+c:c}O(ixe,"mergeDefsAndContent");function sxe(h,c,d){const w=rxe(h);return ixe(w.defs,c+w.content+d)}O(sxe,"wrapSVGContent");var _fn=O(h=>h==="unset"||h==="undefined"||h==="none","isUnsetKeyword");function oxe(h,c){const d={...Z4e,...h},w={...Afn,...c},m={left:d.left,top:d.top,width:d.width,height:d.height};let k=d.body;[d,w].forEach(U=>{const J=[],X=U.hFlip,rt=U.vFlip;let lt=U.rotate;X?rt?lt+=2:(J.push("translate("+(m.width+m.left).toString()+" "+(0-m.top).toString()+")"),J.push("scale(-1 1)"),m.top=m.left=0):rt&&(J.push("translate("+(0-m.left).toString()+" "+(m.height+m.top).toString()+")"),J.push("scale(1 -1)"),m.top=m.left=0);let xt;switch(lt<0&&(lt-=Math.floor(lt/4)*4),lt=lt%4,lt){case 1:xt=m.height/2+m.top,J.unshift("rotate(90 "+xt.toString()+" "+xt.toString()+")");break;case 2:J.unshift("rotate(180 "+(m.width/2+m.left).toString()+" "+(m.height/2+m.top).toString()+")");break;case 3:xt=m.width/2+m.left,J.unshift("rotate(-90 "+xt.toString()+" "+xt.toString()+")");break}lt%2===1&&(m.left!==m.top&&(xt=m.left,m.left=m.top,m.top=xt),m.width!==m.height&&(xt=m.width,m.width=m.height,m.height=xt)),J.length&&(k=sxe(k,'<g transform="'+J.join(" ")+'">',"</g>"))});const p=w.width,T=w.height,E=m.width,B=m.height;let A,L;p===null?(L=T===null?"1em":T==="auto"?B:T,A=fkt(L,E/B)):(A=p==="auto"?E:p,L=T===null?fkt(A,B/E):T==="auto"?B:T);const I={},$=O((U,J)=>{_fn(J)||(I[U]=J.toString())},"setAttr");$("width",A),$("height",L);const P=[m.left,m.top,E,B];return I.viewBox=P.join(" "),{attributes:I,viewBox:P,body:k}}O(oxe,"iconToSVG");var Ofn=/\sid="(\S+)"/g,Ifn="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16),Pfn=0;function cxe(h,c=Ifn){const d=[];let w;for(;w=Ofn.exec(h);)d.push(w[1]);if(!d.length)return h;const m="suffix"+(Math.random()*16777216|Date.now()).toString(16);return d.forEach(k=>{const p=typeof c=="function"?c(k):c+(Pfn++).toString(),T=k.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");h=h.replace(new RegExp('([#;"])('+T+')([")]|\\.[a-z])',"g"),"$1"+p+m+"$3")}),h=h.replace(new RegExp(m,"g"),""),h}O(cxe,"replaceIDs");function axe(h,c){let d=h.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const w in c)d+=" "+w+'="'+c[w]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+d+">"+h+"</svg>"}O(axe,"iconToHTML");var jfn={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},dkt=new Map,lxe=new Map,Dfn=q(h=>{for(const c of h){if(!c.name)throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(Ae.debug("Registering icon pack:",c.name),"loader"in c)lxe.set(c.name,c.loader);else if("icons"in c)dkt.set(c.name,c.icons);else throw Ae.error("Invalid icon loader:",c),new Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),uxe=q(async(h,c)=>{const d=Mfn(h,!0,c!==void 0);if(!d)throw new Error(`Invalid icon name: ${h}`);const w=d.prefix||c;if(!w)throw new Error(`Icon name must contain a prefix: ${h}`);let m=dkt.get(w);if(!m){const p=lxe.get(w);if(!p)throw new Error(`Icon set not found: ${d.prefix}`);try{m={...await p(),prefix:w},dkt.set(w,m)}catch(T){throw Ae.error(T),new Error(`Failed to load icon set: ${d.prefix}`)}}const k=nxe(m,d.name);if(!k)throw new Error(`Icon not found: ${h}`);return k},"getRegisteredIconData"),$fn=q(async h=>{try{return await uxe(h),!0}catch{return!1}},"isIconAvailable"),HD=q(async(h,c,d)=>{let w;try{w=await uxe(h,c==null?void 0:c.fallbackPrefix)}catch(p){Ae.error(p),w=jfn}const m=oxe(w,c),k=axe(cxe(m.body),{...m.attributes,...d});return Zw(k,Cl())},"getIconSVG"),Rfn=PD({"../../node_modules/.pnpm/@braintree+sanitize-url@7.1.2/node_modules/@braintree/sanitize-url/dist/constants.js"(h){Object.defineProperty(h,"__esModule",{value:!0}),h.BLANK_URL=h.relativeFirstCharacters=h.whitespaceEscapeCharsRegex=h.urlSchemeRegex=h.ctrlCharactersRegex=h.htmlCtrlEntityRegex=h.htmlEntitiesRegex=h.invalidProtocolRegex=void 0,h.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,h.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,h.htmlCtrlEntityRegex=/&(newline|tab);/gi,h.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,h.urlSchemeRegex=/^.+(:|:)/gim,h.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,h.relativeFirstCharacters=[".","/"],h.BLANK_URL="about:blank"}}),Nfn=PD({"../../node_modules/.pnpm/@braintree+sanitize-url@7.1.2/node_modules/@braintree/sanitize-url/dist/index.js"(h){Object.defineProperty(h,"__esModule",{value:!0}),h.sanitizeUrl=p;var c=Rfn();function d(T){return c.relativeFirstCharacters.indexOf(T[0])>-1}O(d,"isRelativeUrlWithoutProtocol");function w(T){var E=T.replace(c.ctrlCharactersRegex,"");return E.replace(c.htmlEntitiesRegex,function(B,A){return String.fromCharCode(A)})}O(w,"decodeHtmlCharacters");function m(T){return URL.canParse(T)}O(m,"isValidUrl");function k(T){try{return decodeURIComponent(T)}catch{return T}}O(k,"decodeURI");function p(T){if(!T)return c.BLANK_URL;var E,B=k(T.trim());do B=w(B).replace(c.htmlCtrlEntityRegex,"").replace(c.ctrlCharactersRegex,"").replace(c.whitespaceEscapeCharsRegex,"").trim(),B=k(B),E=B.match(c.ctrlCharactersRegex)||B.match(c.htmlEntitiesRegex)||B.match(c.htmlCtrlEntityRegex)||B.match(c.whitespaceEscapeCharsRegex);while(E&&E.length>0);var A=B;if(!A)return c.BLANK_URL;if(d(A))return A;var L=A.trimStart(),I=L.match(c.urlSchemeRegex);if(!I)return A;var $=I[0].toLowerCase().trim();if(c.invalidProtocolRegex.test($))return c.BLANK_URL;var P=L.replace(/\\/g,"/");if($==="mailto:"||$.includes("://"))return P;if($==="http:"||$==="https:"){if(!m(P))return c.BLANK_URL;var U=new URL(P);return U.protocol=U.protocol.toLowerCase(),U.hostname=U.hostname.toLowerCase(),U.toString()}return P}O(p,"sanitizeUrl")}});function KD(h){return h==null||typeof h!="object"&&typeof h!="function"}O(KD,"isPrimitive");function _A(h){return h==null?h===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(h)}O(_A,"getTag");var uCt="[object RegExp]",LD="[object String]",MQ="[object Number]",LQ="[object Boolean]",FQ="[object Arguments]",hCt="[object Symbol]",fCt="[object Date]",dCt="[object Map]",gCt="[object Set]",hxe="[object Array]",bCt="[object ArrayBuffer]",wCt="[object Object]",pCt="[object DataView]",fxe="[object Uint8Array]",dxe="[object Uint8ClampedArray]",gxe="[object Uint16Array]",bxe="[object Uint32Array]",wxe="[object Int8Array]",pxe="[object Int16Array]",mxe="[object Int32Array]",yxe="[object Float32Array]",vxe="[object Float64Array]";function kxe(h){return Array.isArray(h)}O(kxe,"isArray");function _Q(h){return ArrayBuffer.isView(h)&&!(h instanceof DataView)}O(_Q,"isTypedArray");function rA(h){return _Q(h)}O(rA,"isTypedArray");function qfn(h){if(KD(h))return h;const c=_A(h);if(!Cxe(h))return{};if(kxe(h)){const w=Array.from(h);return h.length>0&&typeof h[0]=="string"&&Object.hasOwn(h,"index")&&(w.index=h.index,w.input=h.input),w}if(rA(h)){const w=h,m=w.constructor;return new m(w.buffer,w.byteOffset,w.length)}if(c===bCt)return new ArrayBuffer(h.byteLength);if(c===pCt){const w=h,m=w.buffer,k=w.byteOffset,p=w.byteLength,T=new ArrayBuffer(p),E=new Uint8Array(m,k,p);return new Uint8Array(T).set(E),new DataView(T)}if(c===LQ||c===MQ||c===LD){const w=h.constructor,m=new w(h.valueOf());return c===LD?Txe(m,h):EJ(m,h),m}if(c===fCt)return new Date(Number(h));if(c===uCt){const w=h,m=new RegExp(w.source,w.flags);return m.lastIndex=w.lastIndex,m}if(c===hCt)return Object(Symbol.prototype.valueOf.call(h));if(c===dCt){const w=h,m=new Map;return w.forEach((k,p)=>{m.set(p,k)}),m}if(c===gCt){const w=h,m=new Set;return w.forEach(k=>{m.add(k)}),m}if(c===FQ){const w=h,m={};return EJ(m,w),m.length=w.length,m[Symbol.iterator]=w[Symbol.iterator],m}const d={};return Sxe(d,h),EJ(d,h),xxe(d,h),d}O(qfn,"clone");function Cxe(h){switch(_A(h)){case FQ:case hxe:case bCt:case pCt:case LQ:case fCt:case yxe:case vxe:case wxe:case pxe:case mxe:case dCt:case MQ:case wCt:case uCt:case gCt:case LD:case hCt:case fxe:case dxe:case gxe:case bxe:return!0;default:return!1}}O(Cxe,"isCloneableObject");function EJ(h,c){for(const d in c)Object.hasOwn(c,d)&&(h[d]=c[d])}O(EJ,"copyOwnProperties");function xxe(h,c){const d=Object.getOwnPropertySymbols(c);for(let w=0;w<d.length;w++){const m=d[w];Object.prototype.propertyIsEnumerable.call(c,m)&&(h[m]=c[m])}}O(xxe,"copySymbolProperties");function Txe(h,c){const d=c.valueOf().length;for(const w in c)Object.hasOwn(c,w)&&(Number.isNaN(Number(w))||Number(w)>=d)&&(h[w]=c[w])}O(Txe,"cloneStringObjectProperties");function Sxe(h,c){const d=Object.getPrototypeOf(c);d!==null&&typeof c.constructor=="function"&&Object.setPrototypeOf(h,d)}O(Sxe,"copyPrototype");function Exe(h){return Number.isSafeInteger(h)&&h>=0}O(Exe,"isLength");function mCt(h){return h!=null&&typeof h!="function"&&Exe(h.length)}O(mCt,"isArrayLike");function Bxe(h){return h==="__proto__"}O(Bxe,"isUnsafeProperty");function yCt(h){return Object.getOwnPropertySymbols(h).filter(c=>Object.prototype.propertyIsEnumerable.call(h,c))}O(yCt,"getSymbols");function Axe(h,c){return p8(h,void 0,h,new Map,c)}O(Axe,"cloneDeepWith");function p8(h,c,d,w=new Map,m=void 0){const k=m==null?void 0:m(h,c,d,w);if(k!==void 0)return k;if(KD(h))return h;if(w.has(h))return w.get(h);if(Array.isArray(h)){const p=new Array(h.length);w.set(h,p);for(let T=0;T<h.length;T++)p[T]=p8(h[T],T,d,w,m);return Object.hasOwn(h,"index")&&(p.index=h.index),Object.hasOwn(h,"input")&&(p.input=h.input),p}if(h instanceof Date)return new Date(h.getTime());if(h instanceof RegExp){const p=new RegExp(h.source,h.flags);return p.lastIndex=h.lastIndex,p}if(h instanceof Map){const p=new Map;w.set(h,p);for(const[T,E]of h)p.set(T,p8(E,T,d,w,m));return p}if(h instanceof Set){const p=new Set;w.set(h,p);for(const T of h)p.add(p8(T,void 0,d,w,m));return p}if(typeof Buffer<"u"&&Buffer.isBuffer(h))return h.subarray();if(_Q(h)){const p=new(Object.getPrototypeOf(h)).constructor(h.length);w.set(h,p);for(let T=0;T<h.length;T++)p[T]=p8(h[T],T,d,w,m);return p}if(h instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&h instanceof SharedArrayBuffer)return h.slice(0);if(h instanceof DataView){const p=new DataView(h.buffer.slice(0),h.byteOffset,h.byteLength);return w.set(h,p),Jw(p,h,d,w,m),p}if(typeof File<"u"&&h instanceof File){const p=new File([h],h.name,{type:h.type});return w.set(h,p),Jw(p,h,d,w,m),p}if(typeof Blob<"u"&&h instanceof Blob){const p=new Blob([h],{type:h.type});return w.set(h,p),Jw(p,h,d,w,m),p}if(h instanceof Error){const p=structuredClone(h);return w.set(h,p),p.message=h.message,p.name=h.name,p.stack=h.stack,p.cause=h.cause,p.constructor=h.constructor,Jw(p,h,d,w,m),p}if(h instanceof Boolean){const p=new Boolean(h.valueOf());return w.set(h,p),Jw(p,h,d,w,m),p}if(h instanceof Number){const p=new Number(h.valueOf());return w.set(h,p),Jw(p,h,d,w,m),p}if(h instanceof String){const p=new String(h.valueOf());return w.set(h,p),Jw(p,h,d,w,m),p}if(typeof h=="object"&&Mxe(h)){const p=Object.create(Object.getPrototypeOf(h));return w.set(h,p),Jw(p,h,d,w,m),p}return h}O(p8,"cloneDeepWithImpl");function Jw(h,c,d=h,w,m){const k=[...Object.keys(c),...yCt(c)];for(let p=0;p<k.length;p++){const T=k[p],E=Object.getOwnPropertyDescriptor(h,T);(E==null||E.writable)&&(h[T]=p8(c[T],T,d,w,m))}}O(Jw,"copyProperties");function Mxe(h){switch(_A(h)){case FQ:case hxe:case bCt:case pCt:case LQ:case fCt:case yxe:case vxe:case wxe:case pxe:case mxe:case dCt:case MQ:case wCt:case uCt:case gCt:case LD:case hCt:case fxe:case dxe:case gxe:case bxe:return!0;default:return!1}}O(Mxe,"isCloneableObject");function Lxe(h,c){return Axe(h,(d,w,m,k)=>{const p=c==null?void 0:c(d,w,m,k);if(p!==void 0)return p;if(typeof h=="object"){if(_A(h)===wCt&&typeof h.constructor!="function"){const T={};return k.set(h,T),Jw(T,h,m,k),T}switch(Object.prototype.toString.call(h)){case MQ:case LD:case LQ:{const T=new h.constructor(h==null?void 0:h.valueOf());return Jw(T,h),T}case FQ:{const T={};return Jw(T,h),T.length=h.length,T[Symbol.iterator]=h[Symbol.iterator],T}default:return}}})}O(Lxe,"cloneDeepWith");function gkt(h){return Lxe(h)}O(gkt,"cloneDeep");function KJ(h){return h!==null&&typeof h=="object"&&_A(h)==="[object Arguments]"}O(KJ,"isArguments");function zJ(h){return typeof h=="object"&&h!==null}O(zJ,"isObjectLike");function Fxe(h){return zJ(h)&&mCt(h)}O(Fxe,"isArrayLikeObject");function OA(h,c){if(typeof h!="function"||c!=null&&typeof c!="function")throw new TypeError("Expected a function");const d=O(function(...m){const k=c?c.apply(this,m):m[0],p=d.cache;if(p.has(k))return p.get(k);const T=h.apply(this,m);return d.cache=p.set(k,T)||p,T},"memoized"),w=OA.Cache||Map;return d.cache=new w,d}O(OA,"memoize");OA.Cache=Map;function _xe(){}O(_xe,"noop");function Oxe(h){const c=h==null?void 0:h.constructor,d=typeof c=="function"?c.prototype:Object.prototype;return h===d}O(Oxe,"isPrototype");function BJ(h){var d;if(typeof h!="object"||h==null)return!1;if(Object.getPrototypeOf(h)===null)return!0;if(Object.prototype.toString.call(h)!=="[object Object]"){const w=h[Symbol.toStringTag];return w==null||!((d=Object.getOwnPropertyDescriptor(h,Symbol.toStringTag))!=null&&d.writable)?!1:h.toString()===`[object ${w}]`}let c=h;for(;Object.getPrototypeOf(c)!==null;)c=Object.getPrototypeOf(c);return Object.getPrototypeOf(h)===c}O(BJ,"isPlainObject");function Ixe(h){if(KD(h))return h;if(Array.isArray(h)||_Q(h)||h instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&h instanceof SharedArrayBuffer)return h.slice(0);const c=Object.getPrototypeOf(h);if(c==null)return Object.assign(Object.create(c),h);const d=c.constructor;if(h instanceof Date||h instanceof Map||h instanceof Set)return new d(h);if(h instanceof RegExp){const w=new d(h);return w.lastIndex=h.lastIndex,w}if(h instanceof DataView)return new d(h.buffer.slice(0));if(h instanceof Error){let w;return h instanceof AggregateError?w=new d(h.errors,h.message,{cause:h.cause}):w=new d(h.message,{cause:h.cause}),w.stack=h.stack,Object.assign(w,h),w}if(typeof File<"u"&&h instanceof File)return new d([h],h.name,{type:h.type,lastModified:h.lastModified});if(typeof h=="object"){const w=Object.create(c);return Object.assign(w,h)}return h}O(Ixe,"clone");function Pxe(h,...c){const d=c.slice(0,-1),w=c[c.length-1];let m=h;for(let k=0;k<d.length;k++){const p=d[k];m=wD(m,p,w,new Map)}return m}O(Pxe,"mergeWith");function wD(h,c,d,w){if(KD(h)&&(h=Object(h)),c==null||typeof c!="object")return h;if(w.has(c))return Ixe(w.get(c));if(w.set(c,h),Array.isArray(c)){c=c.slice();for(let k=0;k<c.length;k++)c[k]=c[k]??void 0}const m=[...Object.keys(c),...yCt(c)];for(let k=0;k<m.length;k++){const p=m[k];if(Bxe(p))continue;let T=c[p],E=h[p];if(KJ(T)&&(T={...T}),KJ(E)&&(E={...E}),typeof Buffer<"u"&&Buffer.isBuffer(T)&&(T=gkt(T)),Array.isArray(T))if(Array.isArray(E)){const A=[],L=Reflect.ownKeys(E);for(let I=0;I<L.length;I++){const $=L[I];A[$]=E[$]}E=A}else if(Fxe(E)){const A=[];for(let L=0;L<E.length;L++)A[L]=E[L];E=A}else E=[];const B=d(E,T,p,h,c,w);B!==void 0?h[p]=B:Array.isArray(T)||zJ(E)&&zJ(T)&&(BJ(E)||BJ(T)||rA(E)||rA(T))?h[p]=wD(E,T,d,w):E==null&&BJ(T)?h[p]=wD({},T,d,w):E==null&&rA(T)?h[p]=gkt(T):(E===void 0||T!==void 0)&&(h[p]=T)}return h}O(wD,"mergeWithDeep");function jxe(h,...c){return Pxe(h,...c,_xe)}O(jxe,"merge");function bkt(h){if(h==null)return!0;if(mCt(h))return typeof h.splice!="function"&&typeof h!="string"&&(typeof Buffer>"u"||!Buffer.isBuffer(h))&&!rA(h)&&!KJ(h)?!1:h.length===0;if(typeof h=="object"){if(h instanceof Map||h instanceof Set)return h.size===0;const c=Object.keys(h);return Oxe(h)?c.filter(d=>d!=="constructor").length===0:c.length===0}return!0}O(bkt,"isEmpty");var Hfn=uQ(Nfn()),Kfn="",zfn={curveBasis:$3t,curveBasisClosed:srn,curveBasisOpen:irn,curveBumpX:zye,curveBumpY:Kye,curveBundle:rrn,curveCardinalClosed:nrn,curveCardinalOpen:ern,curveCardinal:Qye,curveCatmullRomClosed:trn,curveCatmullRomOpen:Znn,curveCatmullRom:Jye,curveLinear:aD,curveLinearClosed:Qnn,curveMonotoneX:Yye,curveMonotoneY:Vye,curveNatural:Xye,curveStep:Gye,curveStepAfter:Uye,curveStepBefore:Wye},Wfn=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Ufn=q(function(h,c){const d=Dxe(h,/(?:init\b)|(?:initialize\b)/);let w={};if(Array.isArray(d)){const p=d.map(T=>T.args);LJ(p),w=Af(w,[...p])}else w=d.args;if(!w)return;let m=Okt(h,c);const k="config";return w[k]!==void 0&&(m==="flowchart-v2"&&(m="flowchart"),w[m]=w[k],delete w[k]),w},"detectInit"),Dxe=q(function(h,c=null){var d,w;try{const m=new RegExp(`[%]{2}(?![{]${Wfn.source})(?=[}][%]{2}).*
|
|
145
|
-
`,"ig");h=h.trim().replace(m,"").replace(/'/gm,'"'),Ae.debug(`Detecting diagram directive${c!==null?" type:"+c:""} based on the text:${h}`);let k;const p=[];for(;(k=hD.exec(h))!==null;)if(k.index===hD.lastIndex&&hD.lastIndex++,k&&!c||c&&((d=k[1])!=null&&d.match(c))||c&&((w=k[2])!=null&&w.match(c))){const T=k[1]?k[1]:k[2],E=k[3]?k[3].trim():k[4]?JSON.parse(k[4].trim()):null;p.push({type:T,args:E})}return p.length===0?{type:h,args:null}:p.length===1?p[0]:p}catch(m){return Ae.error(`ERROR: ${m.message} - Unable to parse directive type: '${c}' based on the text: '${h}'`),{type:void 0,args:null}}},"detectDirective"),Gfn=q(function(h){return h.replace(hD,"")},"removeDirectives"),Xfn=q(function(h,c){for(const[d,w]of c.entries())if(w.match(h))return d;return-1},"isSubstringInArray");function OQ(h,c){if(!h)return c;const d=`curve${h.charAt(0).toUpperCase()+h.slice(1)}`;return zfn[d]??c}O(OQ,"interpolateToCurve");q(OQ,"interpolateToCurve");function vCt(h,c){const d=h.trim();if(d)return c.securityLevel!=="loose"?(0,Hfn.sanitizeUrl)(d):d}O(vCt,"formatUrl");q(vCt,"formatUrl");var Vfn=q((h,...c)=>{const d=h.split("."),w=d.length-1,m=d[w];let k=window;for(let p=0;p<w;p++)if(k=k[d[p]],!k){Ae.error(`Function name: ${h} not found in window`);return}k[m](...c)},"runFunc");function IQ(h,c){return!h||!c?0:Math.sqrt(Math.pow(c.x-h.x,2)+Math.pow(c.y-h.y,2))}O(IQ,"distance");q(IQ,"distance");function kCt(h){let c,d=0;h.forEach(m=>{d+=IQ(m,c),c=m});const w=d/2;return xCt(h,w)}O(kCt,"traverseEdge");q(kCt,"traverseEdge");function CCt(h){return h.length===1?h[0]:kCt(h)}O(CCt,"calcLabelPosition");q(CCt,"calcLabelPosition");var Nme=q((h,c=2)=>{const d=Math.pow(10,c);return Math.round(h*d)/d},"roundNumber"),xCt=q((h,c)=>{let d,w=c;for(const m of h){if(d){const k=IQ(m,d);if(k===0)return d;if(k<w)w-=k;else{const p=w/k;if(p<=0)return d;if(p>=1)return{x:m.x,y:m.y};if(p>0&&p<1)return{x:Nme((1-p)*d.x+p*m.x,5),y:Nme((1-p)*d.y+p*m.y,5)}}}d=m}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),Yfn=q((h,c,d)=>{Ae.info(`our points ${JSON.stringify(c)}`),c[0]!==d&&(c=c.reverse());const m=xCt(c,25),k=h?10:5,p=Math.atan2(c[0].y-m.y,c[0].x-m.x),T={x:0,y:0};return T.x=Math.sin(p)*k+(c[0].x+m.x)/2,T.y=-Math.cos(p)*k+(c[0].y+m.y)/2,T},"calcCardinalityPosition");function TCt(h,c,d){const w=structuredClone(d);Ae.info("our points",w),c!=="start_left"&&c!=="start_right"&&w.reverse();const m=25+h,k=xCt(w,m),p=10+h*.5,T=Math.atan2(w[0].y-k.y,w[0].x-k.x),E={x:0,y:0};return c==="start_left"?(E.x=Math.sin(T+Math.PI)*p+(w[0].x+k.x)/2,E.y=-Math.cos(T+Math.PI)*p+(w[0].y+k.y)/2):c==="end_right"?(E.x=Math.sin(T-Math.PI)*p+(w[0].x+k.x)/2-5,E.y=-Math.cos(T-Math.PI)*p+(w[0].y+k.y)/2-5):c==="end_left"?(E.x=Math.sin(T)*p+(w[0].x+k.x)/2-5,E.y=-Math.cos(T)*p+(w[0].y+k.y)/2-5):(E.x=Math.sin(T)*p+(w[0].x+k.x)/2,E.y=-Math.cos(T)*p+(w[0].y+k.y)/2),E}O(TCt,"calcTerminalLabelPosition");q(TCt,"calcTerminalLabelPosition");function SCt(h){let c="",d="";for(const w of h)w!==void 0&&(w.startsWith("color:")||w.startsWith("text-align:")?d=d+w+";":c=c+w+";");return{style:c,labelStyle:d}}O(SCt,"getStylesFromArray");q(SCt,"getStylesFromArray");var qme=0,Jfn=q(()=>(qme++,"id-"+Math.random().toString(36).substr(2,12)+"-"+qme),"generateId");function ECt(h){let c="";const d="0123456789abcdef",w=d.length;for(let m=0;m<h;m++)c+=d.charAt(Math.floor(Math.random()*w));return c}O(ECt,"makeRandomHex");q(ECt,"makeRandomHex");var Qfn=q(h=>ECt(h.length),"random"),Zfn=q(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),tdn=q(function(h,c){const d=c.text.replace($D.lineBreakRegex," "),[,w]=jQ(c.fontSize),m=h.append("text");m.attr("x",c.x),m.attr("y",c.y),m.style("text-anchor",c.anchor),m.style("font-family",c.fontFamily),m.style("font-size",w),m.style("font-weight",c.fontWeight),m.attr("fill",c.fill),c.class!==void 0&&m.attr("class",c.class);const k=m.append("tspan");return k.attr("x",c.x+c.textMargin*2),k.attr("fill",c.fill),k.text(d),m},"drawSimpleText"),edn=OA((h,c,d)=>{if(!h||(d=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},d),$D.lineBreakRegex.test(h)))return h;const w=h.split(" ").filter(Boolean),m=[];let k="";return w.forEach((p,T)=>{const E=$y(`${p} `,d),B=$y(k,d);if(E>c){const{hyphenatedStrings:I,remainingWord:$}=ndn(p,c,"-",d);m.push(k,...I),k=$}else B+E>=c?(m.push(k),k=p):k=[k,p].filter(Boolean).join(" ");T+1===w.length&&m.push(k)}),m.filter(p=>p!=="").join(d.joinWith)},(h,c,d)=>`${h}${c}${d.fontSize}${d.fontWeight}${d.fontFamily}${d.joinWith}`),ndn=OA((h,c,d="-",w)=>{w=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},w);const m=[...h],k=[];let p="";return m.forEach((T,E)=>{const B=`${p}${T}`;if($y(B,w)>=c){const L=E+1,I=m.length===L,$=`${B}${d}`;k.push(I?B:$),p=""}else p=B}),{hyphenatedStrings:k,remainingWord:p}},(h,c,d="-",w)=>`${h}${c}${d}${w.fontSize}${w.fontWeight}${w.fontFamily}`);function BCt(h,c){return ACt(h,c).height}O(BCt,"calculateTextHeight");q(BCt,"calculateTextHeight");function $y(h,c){return ACt(h,c).width}O($y,"calculateTextWidth");q($y,"calculateTextWidth");var ACt=OA((h,c)=>{const{fontSize:d=12,fontFamily:w="Arial",fontWeight:m=400}=c;if(!h)return{width:0,height:0};const[,k]=jQ(d),p=["sans-serif",w],T=h.split($D.lineBreakRegex),E=[],B=Rs("body");if(!B.remove)return{width:0,height:0,lineHeight:0};const A=B.append("svg");for(const I of p){let $=0;const P={width:0,height:0,lineHeight:0};for(const U of T){const J=Zfn();J.text=U||Kfn;const X=tdn(A,J).style("font-size",k).style("font-weight",m).style("font-family",I),rt=(X._groups||X)[0][0].getBBox();if(rt.width===0&&rt.height===0)throw new Error("svg element not in render tree");P.width=Math.round(Math.max(P.width,rt.width)),$=Math.round(rt.height),P.height+=$,P.lineHeight=Math.round(Math.max(P.lineHeight,$))}E.push(P)}A.remove();const L=isNaN(E[1].height)||isNaN(E[1].width)||isNaN(E[1].lineHeight)||E[0].height>E[1].height&&E[0].width>E[1].width&&E[0].lineHeight>E[1].lineHeight?0:1;return E[L]},(h,c)=>`${h}${c.fontSize}${c.fontWeight}${c.fontFamily}`),I8,rdn=(I8=class{constructor(c=!1,d){this.count=0,this.count=d?d.length:0,this.next=c?()=>this.count++:()=>Date.now()}},O(I8,"InitIDGenerator"),q(I8,"InitIDGenerator"),I8),fJ,idn=q(function(h){return fJ=fJ||document.createElement("div"),h=escape(h).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),fJ.innerHTML=h,unescape(fJ.textContent)},"entityDecode");function PQ(h){return"str"in h}O(PQ,"isDetailedError");q(PQ,"isDetailedError");var sdn=q((h,c,d,w)=>{var k;if(!w)return;const m=(k=h.node())==null?void 0:k.getBBox();m&&h.append("text").text(w).attr("text-anchor","middle").attr("x",m.x+m.width/2).attr("y",-d).attr("class",c)},"insertTitle"),jQ=q(h=>{if(typeof h=="number")return[h,h+"px"];const c=parseInt(h??"",10);return Number.isNaN(c)?[void 0,void 0]:h===String(c)?[c,h+"px"]:[c,h]},"parseFontSize");function DQ(h,c){return jxe({},h,c)}O(DQ,"cleanAndMerge");q(DQ,"cleanAndMerge");var Ud={assignWithDepth:Af,wrapLabel:edn,calculateTextHeight:BCt,calculateTextWidth:$y,calculateTextDimensions:ACt,cleanAndMerge:DQ,detectInit:Ufn,detectDirective:Dxe,isSubstringInArray:Xfn,interpolateToCurve:OQ,calcLabelPosition:CCt,calcCardinalityPosition:Yfn,calcTerminalLabelPosition:TCt,formatUrl:vCt,getStylesFromArray:SCt,generateId:Jfn,random:Qfn,runFunc:Vfn,entityDecode:idn,insertTitle:sdn,isLabelCoordinateInPath:MCt,parseFontSize:jQ,InitIDGenerator:rdn},odn=q(function(h){let c=h;return c=c.replace(/style.*:\S*#.*;/g,function(d){return d.substring(0,d.length-1)}),c=c.replace(/classDef.*:\S*#.*;/g,function(d){return d.substring(0,d.length-1)}),c=c.replace(/#\w+;/g,function(d){const w=d.substring(1,d.length-1);return/^\+?\d+$/.test(w)?"fl°°"+w+"¶ß":"fl°"+w+"¶ß"}),c},"encodeEntities"),nx=q(function(h){return h.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),Hpn=q((h,c,{counter:d=0,prefix:w,suffix:m},k)=>k||`${w?`${w}_`:""}${h}_${c}_${d}${m?`_${m}`:""}`,"getEdgeId");function Gu(h){return h??null}O(Gu,"handleUndefinedAttr");q(Gu,"handleUndefinedAttr");function MCt(h,c){const d=Math.round(h.x),w=Math.round(h.y),m=c.replace(/(\d+\.\d+)/g,k=>Math.round(parseFloat(k)).toString());return m.includes(d.toString())||m.includes(w.toString())}O(MCt,"isLabelCoordinateInPath");q(MCt,"isLabelCoordinateInPath");var cdn=PD({"../../node_modules/.pnpm/fastdom@1.0.12/node_modules/fastdom/fastdom.js"(h,c){(function(d){var w=function(){},m=d.requestAnimationFrame||d.webkitRequestAnimationFrame||d.mozRequestAnimationFrame||d.msRequestAnimationFrame||function(L){return setTimeout(L,16)};function k(){var L=this;L.reads=[],L.writes=[],L.raf=m.bind(d)}O(k,"FastDom"),k.prototype={constructor:k,runTasks:O(function(L){for(var I;I=L.shift();)I()},"runTasks"),measure:O(function(L,I){var $=I?L.bind(I):L;return this.reads.push($),p(this),$},"measure"),mutate:O(function(L,I){var $=I?L.bind(I):L;return this.writes.push($),p(this),$},"mutate"),clear:O(function(L){return E(this.reads,L)||E(this.writes,L)},"clear"),extend:O(function(L){if(typeof L!="object")throw new Error("expected object");var I=Object.create(this);return B(I,L),I.fastdom=this,I.initialize&&I.initialize(),I},"extend"),catch:null};function p(L){L.scheduled||(L.scheduled=!0,L.raf(T.bind(null,L)))}O(p,"scheduleFlush");function T(L){var I=L.writes,$=L.reads,P;try{w("flushing reads",$.length),L.runTasks($),w("flushing writes",I.length),L.runTasks(I)}catch(U){P=U}if(L.scheduled=!1,($.length||I.length)&&p(L),P)if(w("task errored",P.message),L.catch)L.catch(P);else throw P}O(T,"flush");function E(L,I){var $=L.indexOf(I);return!!~$&&!!L.splice($,1)}O(E,"remove");function B(L,I){for(var $ in I)I.hasOwnProperty($)&&(L[$]=I[$])}O(B,"mixin");var A=d.fastdom=d.fastdom||new k;typeof define=="function"?define(function(){return A}):typeof c=="object"&&(c.exports=A)})(typeof window<"u"?window:typeof h<"u"?h:globalThis)}}),adn=PD({"../../node_modules/.pnpm/fastdom@1.0.12/node_modules/fastdom/extensions/fastdom-promised.js"(h,c){(function(){var d={initialize:O(function(){this._tasks=new Map},"initialize"),mutate:O(function(m,k){return w(this,"mutate",m,k)},"mutate"),measure:O(function(m,k){return w(this,"measure",m,k)},"measure"),clear:O(function(m){var k=this._tasks,p=k.get(m);this.fastdom.clear(p),k.delete(m)},"clear")};function w(m,k,p,T){var E=m._tasks,B=m.fastdom,A,L=new Promise(function(I,$){A=B[k](function(){E.delete(L);try{I(T?p.call(T):p())}catch(P){$(P)}},T)});return E.set(L,A),L}O(w,"create"),(typeof define)[0]=="f"?define(function(){return d}):(typeof c)[0]=="o"?c.exports=d:window.fastdomPromised=d})()}}),ldn=uQ(cdn()),udn=uQ(adn());function $Q(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}O($Q,"L");var Q8=$Q();function LCt(h){Q8=h}O(LCt,"G");var pD={exec:O(()=>null,"exec")};function Oc(h,c=""){let d=typeof h=="string"?h:h.source,w={replace:O((m,k)=>{let p=typeof k=="string"?k:k.source;return p=p.replace(K1.caret,"$1"),d=d.replace(m,p),w},"replace"),getRegex:O(()=>new RegExp(d,c),"getRegex")};return w}O(Oc,"h");var K1={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:O(h=>new RegExp(`^( {0,3}${h})((?:[ ][^\\n]*)?(?:\\n|$))`),"listItemRegex"),nextBulletRegex:O(h=>new RegExp(`^ {0,${Math.min(3,h-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),"nextBulletRegex"),hrRegex:O(h=>new RegExp(`^ {0,${Math.min(3,h-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),"hrRegex"),fencesBeginRegex:O(h=>new RegExp(`^ {0,${Math.min(3,h-1)}}(?:\`\`\`|~~~)`),"fencesBeginRegex"),headingBeginRegex:O(h=>new RegExp(`^ {0,${Math.min(3,h-1)}}#`),"headingBeginRegex"),htmlBeginRegex:O(h=>new RegExp(`^ {0,${Math.min(3,h-1)}}<(?:[a-z].*>|!--)`,"i"),"htmlBeginRegex")},hdn=/^(?:[ \t]*(?:\n|$))+/,fdn=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,ddn=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,zD=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,gdn=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,FCt=/(?:[*+-]|\d{1,9}[.)])/,$xe=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Rxe=Oc($xe).replace(/bull/g,FCt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),bdn=Oc($xe).replace(/bull/g,FCt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),_Ct=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,wdn=/^[^\n]+/,OCt=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,pdn=Oc(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",OCt).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),mdn=Oc(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,FCt).getRegex(),RQ="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ICt=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,ydn=Oc("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",ICt).replace("tag",RQ).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Nxe=Oc(_Ct).replace("hr",zD).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",RQ).getRegex(),vdn=Oc(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Nxe).getRegex(),PCt={blockquote:vdn,code:fdn,def:pdn,fences:ddn,heading:gdn,hr:zD,html:ydn,lheading:Rxe,list:mdn,newline:hdn,paragraph:Nxe,table:pD,text:wdn},Hme=Oc("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",zD).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",RQ).getRegex(),kdn={...PCt,lheading:bdn,table:Hme,paragraph:Oc(_Ct).replace("hr",zD).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Hme).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",RQ).getRegex()},Cdn={...PCt,html:Oc(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ICt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:pD,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Oc(_Ct).replace("hr",zD).replace("heading",` *#{1,6} *[^
|
|
144
|
+
*/function CJ(h,c,d){if(h&&h.length){const[w,m]=c,k=Math.PI/180*d,p=Math.cos(k),T=Math.sin(k);for(const E of h){const[B,A]=E;E[0]=(B-w)*p-(A-m)*T+w,E[1]=(B-w)*T+(A-m)*p+m}}}O(CJ,"t");function U4e(h,c){return h[0]===c[0]&&h[1]===c[1]}O(U4e,"e");function G4e(h,c,d,w=1){const m=d,k=Math.max(c,.1),p=h[0]&&h[0][0]&&typeof h[0][0]=="number"?[h]:h,T=[0,0];if(m)for(const B of p)CJ(B,T,m);const E=(function(B,A,L){const I=[];for(const rt of B){const lt=[...rt];U4e(lt[0],lt[lt.length-1])||lt.push([lt[0][0],lt[0][1]]),lt.length>2&&I.push(lt)}const $=[];A=Math.max(A,.1);const P=[];for(const rt of I)for(let lt=0;lt<rt.length-1;lt++){const xt=rt[lt],Mt=rt[lt+1];if(xt[1]!==Mt[1]){const Vt=Math.min(xt[1],Mt[1]);P.push({ymin:Vt,ymax:Math.max(xt[1],Mt[1]),x:Vt===xt[1]?xt[0]:Mt[0],islope:(Mt[0]-xt[0])/(Mt[1]-xt[1])})}}if(P.sort(((rt,lt)=>rt.ymin<lt.ymin?-1:rt.ymin>lt.ymin?1:rt.x<lt.x?-1:rt.x>lt.x?1:rt.ymax===lt.ymax?0:(rt.ymax-lt.ymax)/Math.abs(rt.ymax-lt.ymax))),!P.length)return $;let U=[],J=P[0].ymin,X=0;for(;U.length||P.length;){if(P.length){let rt=-1;for(let lt=0;lt<P.length&&!(P[lt].ymin>J);lt++)rt=lt;P.splice(0,rt+1).forEach((lt=>{U.push({s:J,edge:lt})}))}if(U=U.filter((rt=>!(rt.edge.ymax<=J))),U.sort(((rt,lt)=>rt.edge.x===lt.edge.x?0:(rt.edge.x-lt.edge.x)/Math.abs(rt.edge.x-lt.edge.x))),(L!==1||X%A==0)&&U.length>1)for(let rt=0;rt<U.length;rt+=2){const lt=rt+1;if(lt>=U.length)break;const xt=U[rt].edge,Mt=U[lt].edge;$.push([[Math.round(xt.x),J],[Math.round(Mt.x),J]])}J+=L,U.forEach((rt=>{rt.edge.x=rt.edge.x+L*rt.edge.islope})),X++}return $})(p,k,w);if(m){for(const B of p)CJ(B,T,-m);(function(B,A,L){const I=[];B.forEach(($=>I.push(...$))),CJ(I,A,L)})(E,T,-m)}return E}O(G4e,"s");function LA(h,c){var d;const w=c.hachureAngle+90;let m=c.hachureGap;m<0&&(m=4*c.strokeWidth),m=Math.round(Math.max(m,.1));let k=1;return c.roughness>=1&&(((d=c.randomizer)===null||d===void 0?void 0:d.next())||Math.random())>.7&&(k=m),G4e(h,m,w,k||1)}O(LA,"n");var cA,rCt=(cA=class{constructor(c){this.helper=c}fillPolygons(c,d){return this._fillPolygons(c,d)}_fillPolygons(c,d){const w=LA(c,d);return{type:"fillSketch",ops:this.renderLines(w,d)}}renderLines(c,d){const w=[];for(const m of c)w.push(...this.helper.doubleLineOps(m[0][0],m[0][1],m[1][0],m[1][1],d));return w}},O(cA,"o"),cA);function qD(h){const c=h[0],d=h[1];return Math.sqrt(Math.pow(c[0]-d[0],2)+Math.pow(c[1]-d[1],2))}O(qD,"a");var aA,hfn=(aA=class extends rCt{fillPolygons(c,d){let w=d.hachureGap;w<0&&(w=4*d.strokeWidth),w=Math.max(w,.1);const m=LA(c,Object.assign({},d,{hachureGap:w})),k=Math.PI/180*d.hachureAngle,p=[],T=.5*w*Math.cos(k),E=.5*w*Math.sin(k);for(const[B,A]of m)qD([B,A])&&p.push([[B[0]-T,B[1]+E],[...A]],[[B[0]+T,B[1]-E],[...A]]);return{type:"fillSketch",ops:this.renderLines(p,d)}}},O(aA,"h"),aA),lA,ffn=(lA=class extends rCt{fillPolygons(c,d){const w=this._fillPolygons(c,d),m=Object.assign({},d,{hachureAngle:d.hachureAngle+90}),k=this._fillPolygons(c,m);return w.ops=w.ops.concat(k.ops),w}},O(lA,"r"),lA),uA,dfn=(uA=class{constructor(c){this.helper=c}fillPolygons(c,d){const w=LA(c,d=Object.assign({},d,{hachureAngle:0}));return this.dotsOnLines(w,d)}dotsOnLines(c,d){const w=[];let m=d.hachureGap;m<0&&(m=4*d.strokeWidth),m=Math.max(m,.1);let k=d.fillWeight;k<0&&(k=d.strokeWidth/2);const p=m/4;for(const T of c){const E=qD(T),B=E/m,A=Math.ceil(B)-1,L=E-A*m,I=(T[0][0]+T[1][0])/2-m/4,$=Math.min(T[0][1],T[1][1]);for(let P=0;P<A;P++){const U=$+L+P*m,J=I-p+2*Math.random()*p,X=U-p+2*Math.random()*p,rt=this.helper.ellipse(J,X,k,k,d);w.push(...rt.ops)}}return{type:"fillSketch",ops:w}}},O(uA,"i"),uA),hA,gfn=(hA=class{constructor(c){this.helper=c}fillPolygons(c,d){const w=LA(c,d);return{type:"fillSketch",ops:this.dashedLine(w,d)}}dashedLine(c,d){const w=d.dashOffset<0?d.hachureGap<0?4*d.strokeWidth:d.hachureGap:d.dashOffset,m=d.dashGap<0?d.hachureGap<0?4*d.strokeWidth:d.hachureGap:d.dashGap,k=[];return c.forEach((p=>{const T=qD(p),E=Math.floor(T/(w+m)),B=(T+m-E*(w+m))/2;let A=p[0],L=p[1];A[0]>L[0]&&(A=p[1],L=p[0]);const I=Math.atan((L[1]-A[1])/(L[0]-A[0]));for(let $=0;$<E;$++){const P=$*(w+m),U=P+w,J=[A[0]+P*Math.cos(I)+B*Math.cos(I),A[1]+P*Math.sin(I)+B*Math.sin(I)],X=[A[0]+U*Math.cos(I)+B*Math.cos(I),A[1]+U*Math.sin(I)+B*Math.sin(I)];k.push(...this.helper.doubleLineOps(J[0],J[1],X[0],X[1],d))}})),k}},O(hA,"c"),hA),fA,bfn=(fA=class{constructor(c){this.helper=c}fillPolygons(c,d){const w=d.hachureGap<0?4*d.strokeWidth:d.hachureGap,m=d.zigzagOffset<0?w:d.zigzagOffset,k=LA(c,d=Object.assign({},d,{hachureGap:w+m}));return{type:"fillSketch",ops:this.zigzagLines(k,m,d)}}zigzagLines(c,d,w){const m=[];return c.forEach((k=>{const p=qD(k),T=Math.round(p/(2*d));let E=k[0],B=k[1];E[0]>B[0]&&(E=k[1],B=k[0]);const A=Math.atan((B[1]-E[1])/(B[0]-E[0]));for(let L=0;L<T;L++){const I=2*L*d,$=2*(L+1)*d,P=Math.sqrt(2*Math.pow(d,2)),U=[E[0]+I*Math.cos(A),E[1]+I*Math.sin(A)],J=[E[0]+$*Math.cos(A),E[1]+$*Math.sin(A)],X=[U[0]+P*Math.cos(A+Math.PI/4),U[1]+P*Math.sin(A+Math.PI/4)];m.push(...this.helper.doubleLineOps(U[0],U[1],X[0],X[1],w),...this.helper.doubleLineOps(X[0],X[1],J[0],J[1],w))}})),m}},O(fA,"l"),fA),Jg={},dA,wfn=(dA=class{constructor(c){this.seed=c}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}},O(dA,"p"),dA),pfn=0,a3t=1,Rme=2,uJ={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function xJ(h,c){return h.type===c}O(xJ,"k");function AQ(h){const c=[],d=(function(p){const T=new Array;for(;p!=="";)if(p.match(/^([ \t\r\n,]+)/))p=p.substr(RegExp.$1.length);else if(p.match(/^([aAcChHlLmMqQsStTvVzZ])/))T[T.length]={type:pfn,text:RegExp.$1},p=p.substr(RegExp.$1.length);else{if(!p.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];T[T.length]={type:a3t,text:`${parseFloat(RegExp.$1)}`},p=p.substr(RegExp.$1.length)}return T[T.length]={type:Rme,text:""},T})(h);let w="BOD",m=0,k=d[m];for(;!xJ(k,Rme);){let p=0;const T=[];if(w==="BOD"){if(k.text!=="M"&&k.text!=="m")return AQ("M0,0"+h);m++,p=uJ[k.text],w=k.text}else xJ(k,a3t)?p=uJ[w]:(m++,p=uJ[k.text],w=k.text);if(!(m+p<d.length))throw new Error("Path data ended short");for(let E=m;E<m+p;E++){const B=d[E];if(!xJ(B,a3t))throw new Error("Param not a number: "+w+","+B.text);T[T.length]=+B.text}if(typeof uJ[w]!="number")throw new Error("Bad segment: "+w);{const E={key:w,data:T};c.push(E),m+=p,k=d[m],w==="M"&&(w="L"),w==="m"&&(w="l")}}return c}O(AQ,"b");function iCt(h){let c=0,d=0,w=0,m=0;const k=[];for(const{key:p,data:T}of h)switch(p){case"M":k.push({key:"M",data:[...T]}),[c,d]=T,[w,m]=T;break;case"m":c+=T[0],d+=T[1],k.push({key:"M",data:[c,d]}),w=c,m=d;break;case"L":k.push({key:"L",data:[...T]}),[c,d]=T;break;case"l":c+=T[0],d+=T[1],k.push({key:"L",data:[c,d]});break;case"C":k.push({key:"C",data:[...T]}),c=T[4],d=T[5];break;case"c":{const E=T.map(((B,A)=>A%2?B+d:B+c));k.push({key:"C",data:E}),c=E[4],d=E[5];break}case"Q":k.push({key:"Q",data:[...T]}),c=T[2],d=T[3];break;case"q":{const E=T.map(((B,A)=>A%2?B+d:B+c));k.push({key:"Q",data:E}),c=E[2],d=E[3];break}case"A":k.push({key:"A",data:[...T]}),c=T[5],d=T[6];break;case"a":c+=T[5],d+=T[6],k.push({key:"A",data:[T[0],T[1],T[2],T[3],T[4],c,d]});break;case"H":k.push({key:"H",data:[...T]}),c=T[0];break;case"h":c+=T[0],k.push({key:"H",data:[c]});break;case"V":k.push({key:"V",data:[...T]}),d=T[0];break;case"v":d+=T[0],k.push({key:"V",data:[d]});break;case"S":k.push({key:"S",data:[...T]}),c=T[2],d=T[3];break;case"s":{const E=T.map(((B,A)=>A%2?B+d:B+c));k.push({key:"S",data:E}),c=E[2],d=E[3];break}case"T":k.push({key:"T",data:[...T]}),c=T[0],d=T[1];break;case"t":c+=T[0],d+=T[1],k.push({key:"T",data:[c,d]});break;case"Z":case"z":k.push({key:"Z",data:[]}),c=w,d=m}return k}O(iCt,"y");function sCt(h){const c=[];let d="",w=0,m=0,k=0,p=0,T=0,E=0;for(const{key:B,data:A}of h){switch(B){case"M":c.push({key:"M",data:[...A]}),[w,m]=A,[k,p]=A;break;case"C":c.push({key:"C",data:[...A]}),w=A[4],m=A[5],T=A[2],E=A[3];break;case"L":c.push({key:"L",data:[...A]}),[w,m]=A;break;case"H":w=A[0],c.push({key:"L",data:[w,m]});break;case"V":m=A[0],c.push({key:"L",data:[w,m]});break;case"S":{let L=0,I=0;d==="C"||d==="S"?(L=w+(w-T),I=m+(m-E)):(L=w,I=m),c.push({key:"C",data:[L,I,...A]}),T=A[0],E=A[1],w=A[2],m=A[3];break}case"T":{const[L,I]=A;let $=0,P=0;d==="Q"||d==="T"?($=w+(w-T),P=m+(m-E)):($=w,P=m);const U=w+2*($-w)/3,J=m+2*(P-m)/3,X=L+2*($-L)/3,rt=I+2*(P-I)/3;c.push({key:"C",data:[U,J,X,rt,L,I]}),T=$,E=P,w=L,m=I;break}case"Q":{const[L,I,$,P]=A,U=w+2*(L-w)/3,J=m+2*(I-m)/3,X=$+2*(L-$)/3,rt=P+2*(I-P)/3;c.push({key:"C",data:[U,J,X,rt,$,P]}),T=L,E=I,w=$,m=P;break}case"A":{const L=Math.abs(A[0]),I=Math.abs(A[1]),$=A[2],P=A[3],U=A[4],J=A[5],X=A[6];L===0||I===0?(c.push({key:"C",data:[w,m,J,X,J,X]}),w=J,m=X):(w!==J||m!==X)&&(oCt(w,m,J,X,L,I,$,P,U).forEach((function(rt){c.push({key:"C",data:rt})})),w=J,m=X);break}case"Z":c.push({key:"Z",data:[]}),w=k,m=p}d=B}return c}O(sCt,"m");function GB(h,c,d){return[h*Math.cos(d)-c*Math.sin(d),h*Math.sin(d)+c*Math.cos(d)]}O(GB,"w");function oCt(h,c,d,w,m,k,p,T,E,B){const A=(L=p,Math.PI*L/180);var L;let I=[],$=0,P=0,U=0,J=0;if(B)[$,P,U,J]=B;else{[h,c]=GB(h,c,-A),[d,w]=GB(d,w,-A);const Y=(h-d)/2,ce=(c-w)/2;let oe=Y*Y/(m*m)+ce*ce/(k*k);oe>1&&(oe=Math.sqrt(oe),m*=oe,k*=oe);const Ot=m*m,we=k*k,de=Ot*we-Ot*ce*ce-we*Y*Y,Pe=Ot*ce*ce+we*Y*Y,on=(T===E?-1:1)*Math.sqrt(Math.abs(de/Pe));U=on*m*ce/k+(h+d)/2,J=on*-k*Y/m+(c+w)/2,$=Math.asin(parseFloat(((c-J)/k).toFixed(9))),P=Math.asin(parseFloat(((w-J)/k).toFixed(9))),h<U&&($=Math.PI-$),d<U&&(P=Math.PI-P),$<0&&($=2*Math.PI+$),P<0&&(P=2*Math.PI+P),E&&$>P&&($-=2*Math.PI),!E&&P>$&&(P-=2*Math.PI)}let X=P-$;if(Math.abs(X)>120*Math.PI/180){const Y=P,ce=d,oe=w;P=E&&P>$?$+120*Math.PI/180*1:$+120*Math.PI/180*-1,I=oCt(d=U+m*Math.cos(P),w=J+k*Math.sin(P),ce,oe,m,k,p,0,E,[P,Y,U,J])}X=P-$;const rt=Math.cos($),lt=Math.sin($),xt=Math.cos(P),Mt=Math.sin(P),Vt=Math.tan(X/4),Gt=4/3*m*Vt,be=4/3*k*Vt,Ze=[h,c],Fe=[h+Gt*lt,c-be*rt],Me=[d+Gt*Mt,w-be*xt],kn=[d,w];if(Fe[0]=2*Ze[0]-Fe[0],Fe[1]=2*Ze[1]-Fe[1],B)return[Fe,Me,kn].concat(I);{I=[Fe,Me,kn].concat(I);const Y=[];for(let ce=0;ce<I.length;ce+=3){const oe=GB(I[ce][0],I[ce][1],A),Ot=GB(I[ce+1][0],I[ce+1][1],A),we=GB(I[ce+2][0],I[ce+2][1],A);Y.push([oe[0],oe[1],Ot[0],Ot[1],we[0],we[1]])}return Y}}O(oCt,"x");var mfn={randOffset:O(function(h,c){return Yi(h,c)},"randOffset"),randOffsetWithRange:O(function(h,c,d){return BD(h,c,d)},"randOffsetWithRange"),ellipse:O(function(h,c,d,w,m){const k=aCt(d,w,m);return $J(h,c,m,k).opset},"ellipse"),doubleLineOps:O(function(h,c,d,w,m){return q3(h,c,d,w,m,!0)},"doubleLineOps")};function cCt(h,c,d,w,m){return{type:"path",ops:q3(h,c,d,w,m)}}O(cCt,"v");function gD(h,c,d){const w=(h||[]).length;if(w>2){const m=[];for(let k=0;k<w-1;k++)m.push(...q3(h[k][0],h[k][1],h[k+1][0],h[k+1][1],d));return c&&m.push(...q3(h[w-1][0],h[w-1][1],h[0][0],h[0][1],d)),{type:"path",ops:m}}return w===2?cCt(h[0][0],h[0][1],h[1][0],h[1][1],d):{type:"path",ops:[]}}O(gD,"S");function X4e(h,c,d,w,m){return(function(k,p){return gD(k,!0,p)})([[h,c],[h+d,c],[h+d,c+w],[h,c+w]],m)}O(X4e,"O");function rkt(h,c){if(h.length){const d=typeof h[0][0]=="number"?[h]:h,w=sD(d[0],1*(1+.2*c.roughness),c),m=c.disableMultiStroke?[]:sD(d[0],1.5*(1+.22*c.roughness),okt(c));for(let k=1;k<d.length;k++){const p=d[k];if(p.length){const T=sD(p,1*(1+.2*c.roughness),c),E=c.disableMultiStroke?[]:sD(p,1.5*(1+.22*c.roughness),okt(c));for(const B of T)B.op!=="move"&&w.push(B);for(const B of E)B.op!=="move"&&m.push(B)}}return{type:"path",ops:w.concat(m)}}return{type:"path",ops:[]}}O(rkt,"L");function aCt(h,c,d){const w=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(h/2,2)+Math.pow(c/2,2))/2)),m=Math.ceil(Math.max(d.curveStepCount,d.curveStepCount/Math.sqrt(200)*w)),k=2*Math.PI/m;let p=Math.abs(h/2),T=Math.abs(c/2);const E=1-d.curveFitting;return p+=Yi(p*E,d),T+=Yi(T*E,d),{increment:k,rx:p,ry:T}}O(aCt,"T");function $J(h,c,d,w){const[m,k]=ckt(w.increment,h,c,w.rx,w.ry,1,w.increment*BD(.1,BD(.4,1,d),d),d);let p=AD(m,null,d);if(!d.disableMultiStroke&&d.roughness!==0){const[T]=ckt(w.increment,h,c,w.rx,w.ry,1.5,0,d),E=AD(T,null,d);p=p.concat(E)}return{estimatedPoints:k,opset:{type:"path",ops:p}}}O($J,"D");function ikt(h,c,d,w,m,k,p,T,E){const B=h,A=c;let L=Math.abs(d/2),I=Math.abs(w/2);L+=Yi(.01*L,E),I+=Yi(.01*I,E);let $=m,P=k;for(;$<0;)$+=2*Math.PI,P+=2*Math.PI;P-$>2*Math.PI&&($=0,P=2*Math.PI);const U=2*Math.PI/E.curveStepCount,J=Math.min(U/2,(P-$)/2),X=akt(J,B,A,L,I,$,P,1,E);if(!E.disableMultiStroke){const rt=akt(J,B,A,L,I,$,P,1.5,E);X.push(...rt)}return p&&(T?X.push(...q3(B,A,B+L*Math.cos($),A+I*Math.sin($),E),...q3(B,A,B+L*Math.cos(P),A+I*Math.sin(P),E)):X.push({op:"lineTo",data:[B,A]},{op:"lineTo",data:[B+L*Math.cos($),A+I*Math.sin($)]})),{type:"path",ops:X}}O(ikt,"A");function skt(h,c){const d=sCt(iCt(AQ(h))),w=[];let m=[0,0],k=[0,0];for(const{key:p,data:T}of d)switch(p){case"M":k=[T[0],T[1]],m=[T[0],T[1]];break;case"L":w.push(...q3(k[0],k[1],T[0],T[1],c)),k=[T[0],T[1]];break;case"C":{const[E,B,A,L,I,$]=T;w.push(...V4e(E,B,A,L,I,$,k,c)),k=[I,$];break}case"Z":w.push(...q3(k[0],k[1],m[0],m[1],c)),k=[m[0],m[1]]}return{type:"path",ops:w}}O(skt,"_");function TJ(h,c){const d=[];for(const w of h)if(w.length){const m=c.maxRandomnessOffset||0,k=w.length;if(k>2){d.push({op:"move",data:[w[0][0]+Yi(m,c),w[0][1]+Yi(m,c)]});for(let p=1;p<k;p++)d.push({op:"lineTo",data:[w[p][0]+Yi(m,c),w[p][1]+Yi(m,c)]})}}return{type:"fillPath",ops:d}}O(TJ,"I");function g8(h,c){return(function(d,w){let m=d.fillStyle||"hachure";if(!Jg[m])switch(m){case"zigzag":Jg[m]||(Jg[m]=new hfn(w));break;case"cross-hatch":Jg[m]||(Jg[m]=new ffn(w));break;case"dots":Jg[m]||(Jg[m]=new dfn(w));break;case"dashed":Jg[m]||(Jg[m]=new gfn(w));break;case"zigzag-line":Jg[m]||(Jg[m]=new bfn(w));break;default:m="hachure",Jg[m]||(Jg[m]=new rCt(w))}return Jg[m]})(c,mfn).fillPolygons(h,c)}O(g8,"C");function okt(h){const c=Object.assign({},h);return c.randomizer=void 0,h.seed&&(c.seed=h.seed+1),c}O(okt,"z");function lCt(h){return h.randomizer||(h.randomizer=new wfn(h.seed||0)),h.randomizer.next()}O(lCt,"W");function BD(h,c,d,w=1){return d.roughness*w*(lCt(d)*(c-h)+h)}O(BD,"E");function Yi(h,c,d=1){return BD(-h,h,c,d)}O(Yi,"G");function q3(h,c,d,w,m,k=!1){const p=k?m.disableMultiStrokeFill:m.disableMultiStroke,T=RJ(h,c,d,w,m,!0,!1);if(p)return T;const E=RJ(h,c,d,w,m,!0,!0);return T.concat(E)}O(q3,"$");function RJ(h,c,d,w,m,k,p){const T=Math.pow(h-d,2)+Math.pow(c-w,2),E=Math.sqrt(T);let B=1;B=E<200?1:E>500?.4:-.0016668*E+1.233334;let A=m.maxRandomnessOffset||0;A*A*100>T&&(A=E/10);const L=A/2,I=.2+.2*lCt(m);let $=m.bowing*m.maxRandomnessOffset*(w-c)/200,P=m.bowing*m.maxRandomnessOffset*(h-d)/200;$=Yi($,m,B),P=Yi(P,m,B);const U=[],J=O(()=>Yi(L,m,B),"M"),X=O(()=>Yi(A,m,B),"k"),rt=m.preserveVertices;return k&&(p?U.push({op:"move",data:[h+(rt?0:J()),c+(rt?0:J())]}):U.push({op:"move",data:[h+(rt?0:Yi(A,m,B)),c+(rt?0:Yi(A,m,B))]})),p?U.push({op:"bcurveTo",data:[$+h+(d-h)*I+J(),P+c+(w-c)*I+J(),$+h+2*(d-h)*I+J(),P+c+2*(w-c)*I+J(),d+(rt?0:J()),w+(rt?0:J())]}):U.push({op:"bcurveTo",data:[$+h+(d-h)*I+X(),P+c+(w-c)*I+X(),$+h+2*(d-h)*I+X(),P+c+2*(w-c)*I+X(),d+(rt?0:X()),w+(rt?0:X())]}),U}O(RJ,"R");function sD(h,c,d){if(!h.length)return[];const w=[];w.push([h[0][0]+Yi(c,d),h[0][1]+Yi(c,d)]),w.push([h[0][0]+Yi(c,d),h[0][1]+Yi(c,d)]);for(let m=1;m<h.length;m++)w.push([h[m][0]+Yi(c,d),h[m][1]+Yi(c,d)]),m===h.length-1&&w.push([h[m][0]+Yi(c,d),h[m][1]+Yi(c,d)]);return AD(w,null,d)}O(sD,"j");function AD(h,c,d){const w=h.length,m=[];if(w>3){const k=[],p=1-d.curveTightness;m.push({op:"move",data:[h[1][0],h[1][1]]});for(let T=1;T+2<w;T++){const E=h[T];k[0]=[E[0],E[1]],k[1]=[E[0]+(p*h[T+1][0]-p*h[T-1][0])/6,E[1]+(p*h[T+1][1]-p*h[T-1][1])/6],k[2]=[h[T+1][0]+(p*h[T][0]-p*h[T+2][0])/6,h[T+1][1]+(p*h[T][1]-p*h[T+2][1])/6],k[3]=[h[T+1][0],h[T+1][1]],m.push({op:"bcurveTo",data:[k[1][0],k[1][1],k[2][0],k[2][1],k[3][0],k[3][1]]})}if(c&&c.length===2){const T=d.maxRandomnessOffset;m.push({op:"lineTo",data:[c[0]+Yi(T,d),c[1]+Yi(T,d)]})}}else w===3?(m.push({op:"move",data:[h[1][0],h[1][1]]}),m.push({op:"bcurveTo",data:[h[1][0],h[1][1],h[2][0],h[2][1],h[2][0],h[2][1]]})):w===2&&m.push(...RJ(h[0][0],h[0][1],h[1][0],h[1][1],d,!0,!0));return m}O(AD,"q");function ckt(h,c,d,w,m,k,p,T){const E=[],B=[];if(T.roughness===0){h/=4,B.push([c+w*Math.cos(-h),d+m*Math.sin(-h)]);for(let A=0;A<=2*Math.PI;A+=h){const L=[c+w*Math.cos(A),d+m*Math.sin(A)];E.push(L),B.push(L)}B.push([c+w*Math.cos(0),d+m*Math.sin(0)]),B.push([c+w*Math.cos(h),d+m*Math.sin(h)])}else{const A=Yi(.5,T)-Math.PI/2;B.push([Yi(k,T)+c+.9*w*Math.cos(A-h),Yi(k,T)+d+.9*m*Math.sin(A-h)]);const L=2*Math.PI+A-.01;for(let I=A;I<L;I+=h){const $=[Yi(k,T)+c+w*Math.cos(I),Yi(k,T)+d+m*Math.sin(I)];E.push($),B.push($)}B.push([Yi(k,T)+c+w*Math.cos(A+2*Math.PI+.5*p),Yi(k,T)+d+m*Math.sin(A+2*Math.PI+.5*p)]),B.push([Yi(k,T)+c+.98*w*Math.cos(A+p),Yi(k,T)+d+.98*m*Math.sin(A+p)]),B.push([Yi(k,T)+c+.9*w*Math.cos(A+.5*p),Yi(k,T)+d+.9*m*Math.sin(A+.5*p)])}return[B,E]}O(ckt,"F");function akt(h,c,d,w,m,k,p,T,E){const B=k+Yi(.1,E),A=[];A.push([Yi(T,E)+c+.9*w*Math.cos(B-h),Yi(T,E)+d+.9*m*Math.sin(B-h)]);for(let L=B;L<=p;L+=h)A.push([Yi(T,E)+c+w*Math.cos(L),Yi(T,E)+d+m*Math.sin(L)]);return A.push([c+w*Math.cos(p),d+m*Math.sin(p)]),A.push([c+w*Math.cos(p),d+m*Math.sin(p)]),AD(A,null,E)}O(akt,"V");function V4e(h,c,d,w,m,k,p,T){const E=[],B=[T.maxRandomnessOffset||1,(T.maxRandomnessOffset||1)+.3];let A=[0,0];const L=T.disableMultiStroke?1:2,I=T.preserveVertices;for(let $=0;$<L;$++)$===0?E.push({op:"move",data:[p[0],p[1]]}):E.push({op:"move",data:[p[0]+(I?0:Yi(B[0],T)),p[1]+(I?0:Yi(B[0],T))]}),A=I?[m,k]:[m+Yi(B[$],T),k+Yi(B[$],T)],E.push({op:"bcurveTo",data:[h+Yi(B[$],T),c+Yi(B[$],T),d+Yi(B[$],T),w+Yi(B[$],T),A[0],A[1]]});return E}O(V4e,"Z");function XB(h){return[...h]}O(XB,"Q");function lkt(h,c=0){const d=h.length;if(d<3)throw new Error("A curve must have at least three points.");const w=[];if(d===3)w.push(XB(h[0]),XB(h[1]),XB(h[2]),XB(h[2]));else{const m=[];m.push(h[0],h[0]);for(let T=1;T<h.length;T++)m.push(h[T]),T===h.length-1&&m.push(h[T]);const k=[],p=1-c;w.push(XB(m[0]));for(let T=1;T+2<m.length;T++){const E=m[T];k[0]=[E[0],E[1]],k[1]=[E[0]+(p*m[T+1][0]-p*m[T-1][0])/6,E[1]+(p*m[T+1][1]-p*m[T-1][1])/6],k[2]=[m[T+1][0]+(p*m[T][0]-p*m[T+2][0])/6,m[T+1][1]+(p*m[T][1]-p*m[T+2][1])/6],k[3]=[m[T+1][0],m[T+1][1]],w.push(k[1],k[2],k[3])}}return w}O(lkt,"H");function bD(h,c){return Math.pow(h[0]-c[0],2)+Math.pow(h[1]-c[1],2)}O(bD,"N");function Y4e(h,c,d){const w=bD(c,d);if(w===0)return bD(h,c);let m=((h[0]-c[0])*(d[0]-c[0])+(h[1]-c[1])*(d[1]-c[1]))/w;return m=Math.max(0,Math.min(1,m)),bD(h,X4(c,d,m))}O(Y4e,"B");function X4(h,c,d){return[h[0]+(c[0]-h[0])*d,h[1]+(c[1]-h[1])*d]}O(X4,"J");function NJ(h,c,d,w){const m=w||[];if((function(T,E){const B=T[E+0],A=T[E+1],L=T[E+2],I=T[E+3];let $=3*A[0]-2*B[0]-I[0];$*=$;let P=3*A[1]-2*B[1]-I[1];P*=P;let U=3*L[0]-2*I[0]-B[0];U*=U;let J=3*L[1]-2*I[1]-B[1];return J*=J,$<U&&($=U),P<J&&(P=J),$+P})(h,c)<d){const T=h[c+0];m.length?(k=m[m.length-1],p=T,Math.sqrt(bD(k,p))>1&&m.push(T)):m.push(T),m.push(h[c+3])}else{const E=h[c+0],B=h[c+1],A=h[c+2],L=h[c+3],I=X4(E,B,.5),$=X4(B,A,.5),P=X4(A,L,.5),U=X4(I,$,.5),J=X4($,P,.5),X=X4(U,J,.5);NJ([E,I,U,X],0,d,m),NJ([X,J,P,L],0,d,m)}var k,p;return m}O(NJ,"K");function J4e(h,c){return MD(h,0,h.length,c)}O(J4e,"U");function MD(h,c,d,w,m){const k=m||[],p=h[c],T=h[d-1];let E=0,B=1;for(let A=c+1;A<d-1;++A){const L=Y4e(h[A],p,T);L>E&&(E=L,B=A)}return Math.sqrt(E)>w?(MD(h,c,B+1,w,k),MD(h,B,d,w,k)):(k.length||k.push(p),k.push(T)),k}O(MD,"X");function SJ(h,c=.15,d){const w=[],m=(h.length-1)/3;for(let k=0;k<m;k++)NJ(h,3*k,c,w);return d&&d>0?MD(w,0,w.length,d):w}O(SJ,"Y");var fb="none",gA,qJ=(gA=class{constructor(c){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=c||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(Math.random()*2**31)}_o(c){return c?Object.assign({},this.defaultOptions,c):this.defaultOptions}_d(c,d,w){return{shape:c,sets:d||[],options:w||this.defaultOptions}}line(c,d,w,m,k){const p=this._o(k);return this._d("line",[cCt(c,d,w,m,p)],p)}rectangle(c,d,w,m,k){const p=this._o(k),T=[],E=X4e(c,d,w,m,p);if(p.fill){const B=[[c,d],[c+w,d],[c+w,d+m],[c,d+m]];p.fillStyle==="solid"?T.push(TJ([B],p)):T.push(g8([B],p))}return p.stroke!==fb&&T.push(E),this._d("rectangle",T,p)}ellipse(c,d,w,m,k){const p=this._o(k),T=[],E=aCt(w,m,p),B=$J(c,d,p,E);if(p.fill)if(p.fillStyle==="solid"){const A=$J(c,d,p,E).opset;A.type="fillPath",T.push(A)}else T.push(g8([B.estimatedPoints],p));return p.stroke!==fb&&T.push(B.opset),this._d("ellipse",T,p)}circle(c,d,w,m){const k=this.ellipse(c,d,w,w,m);return k.shape="circle",k}linearPath(c,d){const w=this._o(d);return this._d("linearPath",[gD(c,!1,w)],w)}arc(c,d,w,m,k,p,T=!1,E){const B=this._o(E),A=[],L=ikt(c,d,w,m,k,p,T,!0,B);if(T&&B.fill)if(B.fillStyle==="solid"){const I=Object.assign({},B);I.disableMultiStroke=!0;const $=ikt(c,d,w,m,k,p,!0,!1,I);$.type="fillPath",A.push($)}else A.push((function(I,$,P,U,J,X,rt){const lt=I,xt=$;let Mt=Math.abs(P/2),Vt=Math.abs(U/2);Mt+=Yi(.01*Mt,rt),Vt+=Yi(.01*Vt,rt);let Gt=J,be=X;for(;Gt<0;)Gt+=2*Math.PI,be+=2*Math.PI;be-Gt>2*Math.PI&&(Gt=0,be=2*Math.PI);const Ze=(be-Gt)/rt.curveStepCount,Fe=[];for(let Me=Gt;Me<=be;Me+=Ze)Fe.push([lt+Mt*Math.cos(Me),xt+Vt*Math.sin(Me)]);return Fe.push([lt+Mt*Math.cos(be),xt+Vt*Math.sin(be)]),Fe.push([lt,xt]),g8([Fe],rt)})(c,d,w,m,k,p,B));return B.stroke!==fb&&A.push(L),this._d("arc",A,B)}curve(c,d){const w=this._o(d),m=[],k=rkt(c,w);if(w.fill&&w.fill!==fb)if(w.fillStyle==="solid"){const p=rkt(c,Object.assign(Object.assign({},w),{disableMultiStroke:!0,roughness:w.roughness?w.roughness+w.fillShapeRoughnessGain:0}));m.push({type:"fillPath",ops:this._mergedShape(p.ops)})}else{const p=[],T=c;if(T.length){const E=typeof T[0][0]=="number"?[T]:T;for(const B of E)B.length<3?p.push(...B):B.length===3?p.push(...SJ(lkt([B[0],B[0],B[1],B[2]]),10,(1+w.roughness)/2)):p.push(...SJ(lkt(B),10,(1+w.roughness)/2))}p.length&&m.push(g8([p],w))}return w.stroke!==fb&&m.push(k),this._d("curve",m,w)}polygon(c,d){const w=this._o(d),m=[],k=gD(c,!0,w);return w.fill&&(w.fillStyle==="solid"?m.push(TJ([c],w)):m.push(g8([c],w))),w.stroke!==fb&&m.push(k),this._d("polygon",m,w)}path(c,d){const w=this._o(d),m=[];if(!c)return this._d("path",m,w);c=(c||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const k=w.fill&&w.fill!=="transparent"&&w.fill!==fb,p=w.stroke!==fb,T=!!(w.simplification&&w.simplification<1),E=(function(A,L,I){const $=sCt(iCt(AQ(A))),P=[];let U=[],J=[0,0],X=[];const rt=O(()=>{X.length>=4&&U.push(...SJ(X,L)),X=[]},"i"),lt=O(()=>{rt(),U.length&&(P.push(U),U=[])},"c");for(const{key:Mt,data:Vt}of $)switch(Mt){case"M":lt(),J=[Vt[0],Vt[1]],U.push(J);break;case"L":rt(),U.push([Vt[0],Vt[1]]);break;case"C":if(!X.length){const Gt=U.length?U[U.length-1]:J;X.push([Gt[0],Gt[1]])}X.push([Vt[0],Vt[1]]),X.push([Vt[2],Vt[3]]),X.push([Vt[4],Vt[5]]);break;case"Z":rt(),U.push([J[0],J[1]])}if(lt(),!I)return P;const xt=[];for(const Mt of P){const Vt=J4e(Mt,I);Vt.length&&xt.push(Vt)}return xt})(c,1,T?4-4*(w.simplification||1):(1+w.roughness)/2),B=skt(c,w);if(k)if(w.fillStyle==="solid")if(E.length===1){const A=skt(c,Object.assign(Object.assign({},w),{disableMultiStroke:!0,roughness:w.roughness?w.roughness+w.fillShapeRoughnessGain:0}));m.push({type:"fillPath",ops:this._mergedShape(A.ops)})}else m.push(TJ(E,w));else m.push(g8(E,w));return p&&(T?E.forEach((A=>{m.push(gD(A,!1,w))})):m.push(B)),this._d("path",m,w)}opsToPath(c,d){let w="";for(const m of c.ops){const k=typeof d=="number"&&d>=0?m.data.map((p=>+p.toFixed(d))):m.data;switch(m.op){case"move":w+=`M${k[0]} ${k[1]} `;break;case"bcurveTo":w+=`C${k[0]} ${k[1]}, ${k[2]} ${k[3]}, ${k[4]} ${k[5]} `;break;case"lineTo":w+=`L${k[0]} ${k[1]} `}}return w.trim()}toPaths(c){const d=c.sets||[],w=c.options||this.defaultOptions,m=[];for(const k of d){let p=null;switch(k.type){case"path":p={d:this.opsToPath(k),stroke:w.stroke,strokeWidth:w.strokeWidth,fill:fb};break;case"fillPath":p={d:this.opsToPath(k),stroke:fb,strokeWidth:0,fill:w.fill||fb};break;case"fillSketch":p=this.fillSketch(k,w)}p&&m.push(p)}return m}fillSketch(c,d){let w=d.fillWeight;return w<0&&(w=d.strokeWidth/2),{d:this.opsToPath(c),stroke:d.fill||fb,strokeWidth:w,fill:fb}}_mergedShape(c){return c.filter(((d,w)=>w===0||d.op!=="move"))}},O(gA,"et"),gA),bA,yfn=(bA=class{constructor(c,d){this.canvas=c,this.ctx=this.canvas.getContext("2d"),this.gen=new qJ(d)}draw(c){const d=c.sets||[],w=c.options||this.getDefaultOptions(),m=this.ctx,k=c.options.fixedDecimalPlaceDigits;for(const p of d)switch(p.type){case"path":m.save(),m.strokeStyle=w.stroke==="none"?"transparent":w.stroke,m.lineWidth=w.strokeWidth,w.strokeLineDash&&m.setLineDash(w.strokeLineDash),w.strokeLineDashOffset&&(m.lineDashOffset=w.strokeLineDashOffset),this._drawToContext(m,p,k),m.restore();break;case"fillPath":{m.save(),m.fillStyle=w.fill||"";const T=c.shape==="curve"||c.shape==="polygon"||c.shape==="path"?"evenodd":"nonzero";this._drawToContext(m,p,k,T),m.restore();break}case"fillSketch":this.fillSketch(m,p,w)}}fillSketch(c,d,w){let m=w.fillWeight;m<0&&(m=w.strokeWidth/2),c.save(),w.fillLineDash&&c.setLineDash(w.fillLineDash),w.fillLineDashOffset&&(c.lineDashOffset=w.fillLineDashOffset),c.strokeStyle=w.fill||"",c.lineWidth=m,this._drawToContext(c,d,w.fixedDecimalPlaceDigits),c.restore()}_drawToContext(c,d,w,m="nonzero"){c.beginPath();for(const k of d.ops){const p=typeof w=="number"&&w>=0?k.data.map((T=>+T.toFixed(w))):k.data;switch(k.op){case"move":c.moveTo(p[0],p[1]);break;case"bcurveTo":c.bezierCurveTo(p[0],p[1],p[2],p[3],p[4],p[5]);break;case"lineTo":c.lineTo(p[0],p[1])}}d.type==="fillPath"?c.fill(m):c.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(c,d,w,m,k){const p=this.gen.line(c,d,w,m,k);return this.draw(p),p}rectangle(c,d,w,m,k){const p=this.gen.rectangle(c,d,w,m,k);return this.draw(p),p}ellipse(c,d,w,m,k){const p=this.gen.ellipse(c,d,w,m,k);return this.draw(p),p}circle(c,d,w,m){const k=this.gen.circle(c,d,w,m);return this.draw(k),k}linearPath(c,d){const w=this.gen.linearPath(c,d);return this.draw(w),w}polygon(c,d){const w=this.gen.polygon(c,d);return this.draw(w),w}arc(c,d,w,m,k,p,T=!1,E){const B=this.gen.arc(c,d,w,m,k,p,T,E);return this.draw(B),B}curve(c,d){const w=this.gen.curve(c,d);return this.draw(w),w}path(c,d){const w=this.gen.path(c,d);return this.draw(w),w}},O(bA,"st"),bA),hJ="http://www.w3.org/2000/svg",wA,vfn=(wA=class{constructor(c,d){this.svg=c,this.gen=new qJ(d)}draw(c){const d=c.sets||[],w=c.options||this.getDefaultOptions(),m=this.svg.ownerDocument||window.document,k=m.createElementNS(hJ,"g"),p=c.options.fixedDecimalPlaceDigits;for(const T of d){let E=null;switch(T.type){case"path":E=m.createElementNS(hJ,"path"),E.setAttribute("d",this.opsToPath(T,p)),E.setAttribute("stroke",w.stroke),E.setAttribute("stroke-width",w.strokeWidth+""),E.setAttribute("fill","none"),w.strokeLineDash&&E.setAttribute("stroke-dasharray",w.strokeLineDash.join(" ").trim()),w.strokeLineDashOffset&&E.setAttribute("stroke-dashoffset",`${w.strokeLineDashOffset}`);break;case"fillPath":E=m.createElementNS(hJ,"path"),E.setAttribute("d",this.opsToPath(T,p)),E.setAttribute("stroke","none"),E.setAttribute("stroke-width","0"),E.setAttribute("fill",w.fill||""),c.shape!=="curve"&&c.shape!=="polygon"||E.setAttribute("fill-rule","evenodd");break;case"fillSketch":E=this.fillSketch(m,T,w)}E&&k.appendChild(E)}return k}fillSketch(c,d,w){let m=w.fillWeight;m<0&&(m=w.strokeWidth/2);const k=c.createElementNS(hJ,"path");return k.setAttribute("d",this.opsToPath(d,w.fixedDecimalPlaceDigits)),k.setAttribute("stroke",w.fill||""),k.setAttribute("stroke-width",m+""),k.setAttribute("fill","none"),w.fillLineDash&&k.setAttribute("stroke-dasharray",w.fillLineDash.join(" ").trim()),w.fillLineDashOffset&&k.setAttribute("stroke-dashoffset",`${w.fillLineDashOffset}`),k}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(c,d){return this.gen.opsToPath(c,d)}line(c,d,w,m,k){const p=this.gen.line(c,d,w,m,k);return this.draw(p)}rectangle(c,d,w,m,k){const p=this.gen.rectangle(c,d,w,m,k);return this.draw(p)}ellipse(c,d,w,m,k){const p=this.gen.ellipse(c,d,w,m,k);return this.draw(p)}circle(c,d,w,m){const k=this.gen.circle(c,d,w,m);return this.draw(k)}linearPath(c,d){const w=this.gen.linearPath(c,d);return this.draw(w)}polygon(c,d){const w=this.gen.polygon(c,d);return this.draw(w)}arc(c,d,w,m,k,p,T=!1,E){const B=this.gen.arc(c,d,w,m,k,p,T,E);return this.draw(B)}curve(c,d){const w=this.gen.curve(c,d);return this.draw(w)}path(c,d){const w=this.gen.path(c,d);return this.draw(w)}},O(wA,"ot"),wA),Dr={canvas:O((h,c)=>new yfn(h,c),"canvas"),svg:O((h,c)=>new vfn(h,c),"svg"),generator:O(h=>new qJ(h),"generator"),newSeed:O(()=>qJ.newSeed(),"newSeed")},kfn=q(h=>{const{handDrawnSeed:c}=Ao();return{fill:h,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:h,seed:c}},"solidStateFill"),Cfn=q(h=>Array.isArray(h)?h:h?h.split(";").map(c=>c.trim()).filter(Boolean):[],"normalizeStyleList"),FA=q(h=>{const c=xfn([...h.cssCompiledStyles||[],...h.cssStyles||[],...Cfn(h.labelStyle)]);return{stylesMap:c,stylesArray:[...c]}},"compileStyles"),xfn=q(h=>{const c=new Map;return h.forEach(d=>{const[w,m]=d.split(":");c.set(w.trim(),m==null?void 0:m.trim())}),c},"styles2Map"),Q4e=q(h=>h==="color"||h==="font-size"||h==="font-family"||h==="font-weight"||h==="font-style"||h==="text-decoration"||h==="text-align"||h==="text-transform"||h==="line-height"||h==="letter-spacing"||h==="word-spacing"||h==="text-shadow"||h==="text-overflow"||h==="white-space"||h==="word-wrap"||h==="word-break"||h==="overflow-wrap"||h==="hyphens","isLabelStyle"),Wr=q(h=>{const{stylesArray:c}=FA(h),d=[],w=[],m=[],k=[];return c.forEach(p=>{const T=p[0];Q4e(T)?d.push(p.join(":")+" !important"):(w.push(p.join(":")+" !important"),T.includes("stroke")&&m.push(p.join(":")+" !important"),T==="fill"&&k.push(p.join(":")+" !important"))}),{labelStyles:d.join(";"),nodeStyles:w.join(";"),stylesArray:c,borderStyles:m,backgroundStyles:k}},"styles2String"),Fr=q((h,c)=>{var E;const{themeVariables:d,handDrawnSeed:w}=Ao(),{nodeBorder:m,mainBkg:k}=d,{stylesMap:p}=FA(h);return Object.assign({roughness:.7,fill:p.get("fill")||k,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:p.get("stroke")||m,seed:w,strokeWidth:((E=p.get("stroke-width"))==null?void 0:E.replace("px",""))||1.3,fillLineDash:[0,0],strokeLineDash:Tfn(p.get("stroke-dasharray"))},c)},"userNodeOverrides"),Tfn=q(h=>{if(!h)return[0,0];const c=h.trim().split(/\s+/).map(Number);if(c.length===1){const m=isNaN(c[0])?0:c[0];return[m,m]}const d=isNaN(c[0])?0:c[0],w=isNaN(c[1])?0:c[1];return[d,w]},"getStrokeDashArray"),Sfn=Object.freeze({left:0,top:0,width:16,height:16}),HJ=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Z4e=Object.freeze({...Sfn,...HJ}),Efn=Object.freeze({...Z4e,body:"",hidden:!1}),Bfn=Object.freeze({width:null,height:null}),Afn=Object.freeze({...Bfn,...HJ}),Mfn=O((h,c,d,w="")=>{const m=h.split(":");if(h.slice(0,1)==="@"){if(m.length<2||m.length>3)return null;w=m.shift().slice(1)}if(m.length>3||!m.length)return null;if(m.length>1){const T=m.pop(),E=m.pop(),B={provider:m.length>0?m[0]:w,prefix:E,name:T};return c&&!l3t(B)?null:B}const k=m[0],p=k.split("-");if(p.length>1){const T={provider:w,prefix:p.shift(),name:p.join("-")};return c&&!l3t(T)?null:T}if(d&&w===""){const T={provider:w,prefix:"",name:k};return c&&!l3t(T,d)?null:T}return null},"stringToIcon"),l3t=O((h,c)=>h?!!((c&&h.prefix===""||h.prefix)&&h.name):!1,"validateIconName");function txe(h,c){const d={};!h.hFlip!=!c.hFlip&&(d.hFlip=!0),!h.vFlip!=!c.vFlip&&(d.vFlip=!0);const w=((h.rotate||0)+(c.rotate||0))%4;return w&&(d.rotate=w),d}O(txe,"mergeIconTransformations");function ukt(h,c){const d=txe(h,c);for(const w in Efn)w in HJ?w in h&&!(w in d)&&(d[w]=HJ[w]):w in c?d[w]=c[w]:w in h&&(d[w]=h[w]);return d}O(ukt,"mergeIconData");function exe(h,c){const d=h.icons,w=h.aliases||Object.create(null),m=Object.create(null);function k(p){if(d[p])return m[p]=[];if(!(p in m)){m[p]=null;const T=w[p]&&w[p].parent,E=T&&k(T);E&&(m[p]=[T].concat(E))}return m[p]}return O(k,"resolve"),(c||Object.keys(d).concat(Object.keys(w))).forEach(k),m}O(exe,"getIconsTree");function hkt(h,c,d){const w=h.icons,m=h.aliases||Object.create(null);let k={};function p(T){k=ukt(w[T]||m[T],k)}return O(p,"parse"),p(c),d.forEach(p),ukt(h,k)}O(hkt,"internalGetIconData");function nxe(h,c){if(h.icons[c])return hkt(h,c,[]);const d=exe(h,[c])[c];return d?hkt(h,c,d):null}O(nxe,"getIconData");var Lfn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ffn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function fkt(h,c,d){if(c===1)return h;if(d=d||100,typeof h=="number")return Math.ceil(h*c*d)/d;if(typeof h!="string")return h;const w=h.split(Lfn);if(w===null||!w.length)return h;const m=[];let k=w.shift(),p=Ffn.test(k);for(;;){if(p){const T=parseFloat(k);isNaN(T)?m.push(k):m.push(Math.ceil(T*c*d)/d)}else m.push(k);if(k=w.shift(),k===void 0)return m.join("");p=!p}}O(fkt,"calculateSize");function rxe(h,c="defs"){let d="";const w=h.indexOf("<"+c);for(;w>=0;){const m=h.indexOf(">",w),k=h.indexOf("</"+c);if(m===-1||k===-1)break;const p=h.indexOf(">",k);if(p===-1)break;d+=h.slice(m+1,k).trim(),h=h.slice(0,w).trim()+h.slice(p+1)}return{defs:d,content:h}}O(rxe,"splitSVGDefs");function ixe(h,c){return h?"<defs>"+h+"</defs>"+c:c}O(ixe,"mergeDefsAndContent");function sxe(h,c,d){const w=rxe(h);return ixe(w.defs,c+w.content+d)}O(sxe,"wrapSVGContent");var _fn=O(h=>h==="unset"||h==="undefined"||h==="none","isUnsetKeyword");function oxe(h,c){const d={...Z4e,...h},w={...Afn,...c},m={left:d.left,top:d.top,width:d.width,height:d.height};let k=d.body;[d,w].forEach(U=>{const J=[],X=U.hFlip,rt=U.vFlip;let lt=U.rotate;X?rt?lt+=2:(J.push("translate("+(m.width+m.left).toString()+" "+(0-m.top).toString()+")"),J.push("scale(-1 1)"),m.top=m.left=0):rt&&(J.push("translate("+(0-m.left).toString()+" "+(m.height+m.top).toString()+")"),J.push("scale(1 -1)"),m.top=m.left=0);let xt;switch(lt<0&&(lt-=Math.floor(lt/4)*4),lt=lt%4,lt){case 1:xt=m.height/2+m.top,J.unshift("rotate(90 "+xt.toString()+" "+xt.toString()+")");break;case 2:J.unshift("rotate(180 "+(m.width/2+m.left).toString()+" "+(m.height/2+m.top).toString()+")");break;case 3:xt=m.width/2+m.left,J.unshift("rotate(-90 "+xt.toString()+" "+xt.toString()+")");break}lt%2===1&&(m.left!==m.top&&(xt=m.left,m.left=m.top,m.top=xt),m.width!==m.height&&(xt=m.width,m.width=m.height,m.height=xt)),J.length&&(k=sxe(k,'<g transform="'+J.join(" ")+'">',"</g>"))});const p=w.width,T=w.height,E=m.width,B=m.height;let A,L;p===null?(L=T===null?"1em":T==="auto"?B:T,A=fkt(L,E/B)):(A=p==="auto"?E:p,L=T===null?fkt(A,B/E):T==="auto"?B:T);const I={},$=O((U,J)=>{_fn(J)||(I[U]=J.toString())},"setAttr");$("width",A),$("height",L);const P=[m.left,m.top,E,B];return I.viewBox=P.join(" "),{attributes:I,viewBox:P,body:k}}O(oxe,"iconToSVG");var Ofn=/\sid="(\S+)"/g,Ifn="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16),Pfn=0;function cxe(h,c=Ifn){const d=[];let w;for(;w=Ofn.exec(h);)d.push(w[1]);if(!d.length)return h;const m="suffix"+(Math.random()*16777216|Date.now()).toString(16);return d.forEach(k=>{const p=typeof c=="function"?c(k):c+(Pfn++).toString(),T=k.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");h=h.replace(new RegExp('([#;"])('+T+')([")]|\\.[a-z])',"g"),"$1"+p+m+"$3")}),h=h.replace(new RegExp(m,"g"),""),h}O(cxe,"replaceIDs");function axe(h,c){let d=h.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const w in c)d+=" "+w+'="'+c[w]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+d+">"+h+"</svg>"}O(axe,"iconToHTML");var jfn={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},dkt=new Map,lxe=new Map,Dfn=q(h=>{for(const c of h){if(!c.name)throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(Ae.debug("Registering icon pack:",c.name),"loader"in c)lxe.set(c.name,c.loader);else if("icons"in c)dkt.set(c.name,c.icons);else throw Ae.error("Invalid icon loader:",c),new Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),uxe=q(async(h,c)=>{const d=Mfn(h,!0,c!==void 0);if(!d)throw new Error(`Invalid icon name: ${h}`);const w=d.prefix||c;if(!w)throw new Error(`Icon name must contain a prefix: ${h}`);let m=dkt.get(w);if(!m){const p=lxe.get(w);if(!p)throw new Error(`Icon set not found: ${d.prefix}`);try{m={...await p(),prefix:w},dkt.set(w,m)}catch(T){throw Ae.error(T),new Error(`Failed to load icon set: ${d.prefix}`)}}const k=nxe(m,d.name);if(!k)throw new Error(`Icon not found: ${h}`);return k},"getRegisteredIconData"),$fn=q(async h=>{try{return await uxe(h),!0}catch{return!1}},"isIconAvailable"),HD=q(async(h,c,d)=>{let w;try{w=await uxe(h,c==null?void 0:c.fallbackPrefix)}catch(p){Ae.error(p),w=jfn}const m=oxe(w,c),k=axe(cxe(m.body),{...m.attributes,...d});return Zw(k,Cl())},"getIconSVG"),Rfn=PD({"../../node_modules/.pnpm/@braintree+sanitize-url@7.1.2/node_modules/@braintree/sanitize-url/dist/constants.js"(h){Object.defineProperty(h,"__esModule",{value:!0}),h.BLANK_URL=h.relativeFirstCharacters=h.whitespaceEscapeCharsRegex=h.urlSchemeRegex=h.ctrlCharactersRegex=h.htmlCtrlEntityRegex=h.htmlEntitiesRegex=h.invalidProtocolRegex=void 0,h.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,h.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,h.htmlCtrlEntityRegex=/&(newline|tab);/gi,h.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,h.urlSchemeRegex=/^.+(:|:)/gim,h.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,h.relativeFirstCharacters=[".","/"],h.BLANK_URL="about:blank"}}),Nfn=PD({"../../node_modules/.pnpm/@braintree+sanitize-url@7.1.2/node_modules/@braintree/sanitize-url/dist/index.js"(h){Object.defineProperty(h,"__esModule",{value:!0}),h.sanitizeUrl=p;var c=Rfn();function d(T){return c.relativeFirstCharacters.indexOf(T[0])>-1}O(d,"isRelativeUrlWithoutProtocol");function w(T){var E=T.replace(c.ctrlCharactersRegex,"");return E.replace(c.htmlEntitiesRegex,function(B,A){return String.fromCharCode(A)})}O(w,"decodeHtmlCharacters");function m(T){return URL.canParse(T)}O(m,"isValidUrl");function k(T){try{return decodeURIComponent(T)}catch{return T}}O(k,"decodeURI");function p(T){if(!T)return c.BLANK_URL;var E,B=k(T.trim());do B=w(B).replace(c.htmlCtrlEntityRegex,"").replace(c.ctrlCharactersRegex,"").replace(c.whitespaceEscapeCharsRegex,"").trim(),B=k(B),E=B.match(c.ctrlCharactersRegex)||B.match(c.htmlEntitiesRegex)||B.match(c.htmlCtrlEntityRegex)||B.match(c.whitespaceEscapeCharsRegex);while(E&&E.length>0);var A=B;if(!A)return c.BLANK_URL;if(d(A))return A;var L=A.trimStart(),I=L.match(c.urlSchemeRegex);if(!I)return A;var $=I[0].toLowerCase().trim();if(c.invalidProtocolRegex.test($))return c.BLANK_URL;var P=L.replace(/\\/g,"/");if($==="mailto:"||$.includes("://"))return P;if($==="http:"||$==="https:"){if(!m(P))return c.BLANK_URL;var U=new URL(P);return U.protocol=U.protocol.toLowerCase(),U.hostname=U.hostname.toLowerCase(),U.toString()}return P}O(p,"sanitizeUrl")}});function KD(h){return h==null||typeof h!="object"&&typeof h!="function"}O(KD,"isPrimitive");function _A(h){return h==null?h===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(h)}O(_A,"getTag");var uCt="[object RegExp]",LD="[object String]",MQ="[object Number]",LQ="[object Boolean]",FQ="[object Arguments]",hCt="[object Symbol]",fCt="[object Date]",dCt="[object Map]",gCt="[object Set]",hxe="[object Array]",bCt="[object ArrayBuffer]",wCt="[object Object]",pCt="[object DataView]",fxe="[object Uint8Array]",dxe="[object Uint8ClampedArray]",gxe="[object Uint16Array]",bxe="[object Uint32Array]",wxe="[object Int8Array]",pxe="[object Int16Array]",mxe="[object Int32Array]",yxe="[object Float32Array]",vxe="[object Float64Array]";function kxe(h){return Array.isArray(h)}O(kxe,"isArray");function _Q(h){return ArrayBuffer.isView(h)&&!(h instanceof DataView)}O(_Q,"isTypedArray");function rA(h){return _Q(h)}O(rA,"isTypedArray");function qfn(h){if(KD(h))return h;const c=_A(h);if(!Cxe(h))return{};if(kxe(h)){const w=Array.from(h);return h.length>0&&typeof h[0]=="string"&&Object.hasOwn(h,"index")&&(w.index=h.index,w.input=h.input),w}if(rA(h)){const w=h,m=w.constructor;return new m(w.buffer,w.byteOffset,w.length)}if(c===bCt)return new ArrayBuffer(h.byteLength);if(c===pCt){const w=h,m=w.buffer,k=w.byteOffset,p=w.byteLength,T=new ArrayBuffer(p),E=new Uint8Array(m,k,p);return new Uint8Array(T).set(E),new DataView(T)}if(c===LQ||c===MQ||c===LD){const w=h.constructor,m=new w(h.valueOf());return c===LD?Txe(m,h):EJ(m,h),m}if(c===fCt)return new Date(Number(h));if(c===uCt){const w=h,m=new RegExp(w.source,w.flags);return m.lastIndex=w.lastIndex,m}if(c===hCt)return Object(Symbol.prototype.valueOf.call(h));if(c===dCt){const w=h,m=new Map;return w.forEach((k,p)=>{m.set(p,k)}),m}if(c===gCt){const w=h,m=new Set;return w.forEach(k=>{m.add(k)}),m}if(c===FQ){const w=h,m={};return EJ(m,w),m.length=w.length,m[Symbol.iterator]=w[Symbol.iterator],m}const d={};return Sxe(d,h),EJ(d,h),xxe(d,h),d}O(qfn,"clone");function Cxe(h){switch(_A(h)){case FQ:case hxe:case bCt:case pCt:case LQ:case fCt:case yxe:case vxe:case wxe:case pxe:case mxe:case dCt:case MQ:case wCt:case uCt:case gCt:case LD:case hCt:case fxe:case dxe:case gxe:case bxe:return!0;default:return!1}}O(Cxe,"isCloneableObject");function EJ(h,c){for(const d in c)Object.hasOwn(c,d)&&(h[d]=c[d])}O(EJ,"copyOwnProperties");function xxe(h,c){const d=Object.getOwnPropertySymbols(c);for(let w=0;w<d.length;w++){const m=d[w];Object.prototype.propertyIsEnumerable.call(c,m)&&(h[m]=c[m])}}O(xxe,"copySymbolProperties");function Txe(h,c){const d=c.valueOf().length;for(const w in c)Object.hasOwn(c,w)&&(Number.isNaN(Number(w))||Number(w)>=d)&&(h[w]=c[w])}O(Txe,"cloneStringObjectProperties");function Sxe(h,c){const d=Object.getPrototypeOf(c);d!==null&&typeof c.constructor=="function"&&Object.setPrototypeOf(h,d)}O(Sxe,"copyPrototype");function Exe(h){return Number.isSafeInteger(h)&&h>=0}O(Exe,"isLength");function mCt(h){return h!=null&&typeof h!="function"&&Exe(h.length)}O(mCt,"isArrayLike");function Bxe(h){return h==="__proto__"}O(Bxe,"isUnsafeProperty");function yCt(h){return Object.getOwnPropertySymbols(h).filter(c=>Object.prototype.propertyIsEnumerable.call(h,c))}O(yCt,"getSymbols");function Axe(h,c){return p8(h,void 0,h,new Map,c)}O(Axe,"cloneDeepWith");function p8(h,c,d,w=new Map,m=void 0){const k=m==null?void 0:m(h,c,d,w);if(k!==void 0)return k;if(KD(h))return h;if(w.has(h))return w.get(h);if(Array.isArray(h)){const p=new Array(h.length);w.set(h,p);for(let T=0;T<h.length;T++)p[T]=p8(h[T],T,d,w,m);return Object.hasOwn(h,"index")&&(p.index=h.index),Object.hasOwn(h,"input")&&(p.input=h.input),p}if(h instanceof Date)return new Date(h.getTime());if(h instanceof RegExp){const p=new RegExp(h.source,h.flags);return p.lastIndex=h.lastIndex,p}if(h instanceof Map){const p=new Map;w.set(h,p);for(const[T,E]of h)p.set(T,p8(E,T,d,w,m));return p}if(h instanceof Set){const p=new Set;w.set(h,p);for(const T of h)p.add(p8(T,void 0,d,w,m));return p}if(typeof Buffer<"u"&&Buffer.isBuffer(h))return h.subarray();if(_Q(h)){const p=new(Object.getPrototypeOf(h)).constructor(h.length);w.set(h,p);for(let T=0;T<h.length;T++)p[T]=p8(h[T],T,d,w,m);return p}if(h instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&h instanceof SharedArrayBuffer)return h.slice(0);if(h instanceof DataView){const p=new DataView(h.buffer.slice(0),h.byteOffset,h.byteLength);return w.set(h,p),Jw(p,h,d,w,m),p}if(typeof File<"u"&&h instanceof File){const p=new File([h],h.name,{type:h.type});return w.set(h,p),Jw(p,h,d,w,m),p}if(typeof Blob<"u"&&h instanceof Blob){const p=new Blob([h],{type:h.type});return w.set(h,p),Jw(p,h,d,w,m),p}if(h instanceof Error){const p=structuredClone(h);return w.set(h,p),p.message=h.message,p.name=h.name,p.stack=h.stack,p.cause=h.cause,p.constructor=h.constructor,Jw(p,h,d,w,m),p}if(h instanceof Boolean){const p=new Boolean(h.valueOf());return w.set(h,p),Jw(p,h,d,w,m),p}if(h instanceof Number){const p=new Number(h.valueOf());return w.set(h,p),Jw(p,h,d,w,m),p}if(h instanceof String){const p=new String(h.valueOf());return w.set(h,p),Jw(p,h,d,w,m),p}if(typeof h=="object"&&Mxe(h)){const p=Object.create(Object.getPrototypeOf(h));return w.set(h,p),Jw(p,h,d,w,m),p}return h}O(p8,"cloneDeepWithImpl");function Jw(h,c,d=h,w,m){const k=[...Object.keys(c),...yCt(c)];for(let p=0;p<k.length;p++){const T=k[p],E=Object.getOwnPropertyDescriptor(h,T);(E==null||E.writable)&&(h[T]=p8(c[T],T,d,w,m))}}O(Jw,"copyProperties");function Mxe(h){switch(_A(h)){case FQ:case hxe:case bCt:case pCt:case LQ:case fCt:case yxe:case vxe:case wxe:case pxe:case mxe:case dCt:case MQ:case wCt:case uCt:case gCt:case LD:case hCt:case fxe:case dxe:case gxe:case bxe:return!0;default:return!1}}O(Mxe,"isCloneableObject");function Lxe(h,c){return Axe(h,(d,w,m,k)=>{const p=c==null?void 0:c(d,w,m,k);if(p!==void 0)return p;if(typeof h=="object"){if(_A(h)===wCt&&typeof h.constructor!="function"){const T={};return k.set(h,T),Jw(T,h,m,k),T}switch(Object.prototype.toString.call(h)){case MQ:case LD:case LQ:{const T=new h.constructor(h==null?void 0:h.valueOf());return Jw(T,h),T}case FQ:{const T={};return Jw(T,h),T.length=h.length,T[Symbol.iterator]=h[Symbol.iterator],T}default:return}}})}O(Lxe,"cloneDeepWith");function gkt(h){return Lxe(h)}O(gkt,"cloneDeep");function KJ(h){return h!==null&&typeof h=="object"&&_A(h)==="[object Arguments]"}O(KJ,"isArguments");function zJ(h){return typeof h=="object"&&h!==null}O(zJ,"isObjectLike");function Fxe(h){return zJ(h)&&mCt(h)}O(Fxe,"isArrayLikeObject");function OA(h,c){if(typeof h!="function"||c!=null&&typeof c!="function")throw new TypeError("Expected a function");const d=O(function(...m){const k=c?c.apply(this,m):m[0],p=d.cache;if(p.has(k))return p.get(k);const T=h.apply(this,m);return d.cache=p.set(k,T)||p,T},"memoized"),w=OA.Cache||Map;return d.cache=new w,d}O(OA,"memoize");OA.Cache=Map;function _xe(){}O(_xe,"noop");function Oxe(h){const c=h==null?void 0:h.constructor,d=typeof c=="function"?c.prototype:Object.prototype;return h===d}O(Oxe,"isPrototype");function BJ(h){var d;if(typeof h!="object"||h==null)return!1;if(Object.getPrototypeOf(h)===null)return!0;if(Object.prototype.toString.call(h)!=="[object Object]"){const w=h[Symbol.toStringTag];return w==null||!((d=Object.getOwnPropertyDescriptor(h,Symbol.toStringTag))!=null&&d.writable)?!1:h.toString()===`[object ${w}]`}let c=h;for(;Object.getPrototypeOf(c)!==null;)c=Object.getPrototypeOf(c);return Object.getPrototypeOf(h)===c}O(BJ,"isPlainObject");function Ixe(h){if(KD(h))return h;if(Array.isArray(h)||_Q(h)||h instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&h instanceof SharedArrayBuffer)return h.slice(0);const c=Object.getPrototypeOf(h);if(c==null)return Object.assign(Object.create(c),h);const d=c.constructor;if(h instanceof Date||h instanceof Map||h instanceof Set)return new d(h);if(h instanceof RegExp){const w=new d(h);return w.lastIndex=h.lastIndex,w}if(h instanceof DataView)return new d(h.buffer.slice(0));if(h instanceof Error){let w;return h instanceof AggregateError?w=new d(h.errors,h.message,{cause:h.cause}):w=new d(h.message,{cause:h.cause}),w.stack=h.stack,Object.assign(w,h),w}if(typeof File<"u"&&h instanceof File)return new d([h],h.name,{type:h.type,lastModified:h.lastModified});if(typeof h=="object"){const w=Object.create(c);return Object.assign(w,h)}return h}O(Ixe,"clone");function Pxe(h,...c){const d=c.slice(0,-1),w=c[c.length-1];let m=h;for(let k=0;k<d.length;k++){const p=d[k];m=wD(m,p,w,new Map)}return m}O(Pxe,"mergeWith");function wD(h,c,d,w){if(KD(h)&&(h=Object(h)),c==null||typeof c!="object")return h;if(w.has(c))return Ixe(w.get(c));if(w.set(c,h),Array.isArray(c)){c=c.slice();for(let k=0;k<c.length;k++)c[k]=c[k]??void 0}const m=[...Object.keys(c),...yCt(c)];for(let k=0;k<m.length;k++){const p=m[k];if(Bxe(p))continue;let T=c[p],E=h[p];if(KJ(T)&&(T={...T}),KJ(E)&&(E={...E}),typeof Buffer<"u"&&Buffer.isBuffer(T)&&(T=gkt(T)),Array.isArray(T))if(Array.isArray(E)){const A=[],L=Reflect.ownKeys(E);for(let I=0;I<L.length;I++){const $=L[I];A[$]=E[$]}E=A}else if(Fxe(E)){const A=[];for(let L=0;L<E.length;L++)A[L]=E[L];E=A}else E=[];const B=d(E,T,p,h,c,w);B!==void 0?h[p]=B:Array.isArray(T)||zJ(E)&&zJ(T)&&(BJ(E)||BJ(T)||rA(E)||rA(T))?h[p]=wD(E,T,d,w):E==null&&BJ(T)?h[p]=wD({},T,d,w):E==null&&rA(T)?h[p]=gkt(T):(E===void 0||T!==void 0)&&(h[p]=T)}return h}O(wD,"mergeWithDeep");function jxe(h,...c){return Pxe(h,...c,_xe)}O(jxe,"merge");function bkt(h){if(h==null)return!0;if(mCt(h))return typeof h.splice!="function"&&typeof h!="string"&&(typeof Buffer>"u"||!Buffer.isBuffer(h))&&!rA(h)&&!KJ(h)?!1:h.length===0;if(typeof h=="object"){if(h instanceof Map||h instanceof Set)return h.size===0;const c=Object.keys(h);return Oxe(h)?c.filter(d=>d!=="constructor").length===0:c.length===0}return!0}O(bkt,"isEmpty");var Hfn=uQ(Nfn()),Kfn="",zfn={curveBasis:$3t,curveBasisClosed:srn,curveBasisOpen:irn,curveBumpX:Qye,curveBumpY:Jye,curveBundle:rrn,curveCardinalClosed:nrn,curveCardinalOpen:ern,curveCardinal:Yye,curveCatmullRomClosed:trn,curveCatmullRomOpen:Znn,curveCatmullRom:Vye,curveLinear:aD,curveLinearClosed:Qnn,curveMonotoneX:Xye,curveMonotoneY:Gye,curveNatural:Uye,curveStep:Wye,curveStepAfter:zye,curveStepBefore:Kye},Wfn=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Ufn=q(function(h,c){const d=Dxe(h,/(?:init\b)|(?:initialize\b)/);let w={};if(Array.isArray(d)){const p=d.map(T=>T.args);LJ(p),w=Af(w,[...p])}else w=d.args;if(!w)return;let m=Okt(h,c);const k="config";return w[k]!==void 0&&(m==="flowchart-v2"&&(m="flowchart"),w[m]=w[k],delete w[k]),w},"detectInit"),Dxe=q(function(h,c=null){var d,w;try{const m=new RegExp(`[%]{2}(?![{]${Wfn.source})(?=[}][%]{2}).*
|
|
145
|
+
`,"ig");h=h.trim().replace(m,"").replace(/'/gm,'"'),Ae.debug(`Detecting diagram directive${c!==null?" type:"+c:""} based on the text:${h}`);let k;const p=[];for(;(k=hD.exec(h))!==null;)if(k.index===hD.lastIndex&&hD.lastIndex++,k&&!c||c&&((d=k[1])!=null&&d.match(c))||c&&((w=k[2])!=null&&w.match(c))){const T=k[1]?k[1]:k[2],E=k[3]?k[3].trim():k[4]?JSON.parse(k[4].trim()):null;p.push({type:T,args:E})}return p.length===0?{type:h,args:null}:p.length===1?p[0]:p}catch(m){return Ae.error(`ERROR: ${m.message} - Unable to parse directive type: '${c}' based on the text: '${h}'`),{type:void 0,args:null}}},"detectDirective"),Gfn=q(function(h){return h.replace(hD,"")},"removeDirectives"),Xfn=q(function(h,c){for(const[d,w]of c.entries())if(w.match(h))return d;return-1},"isSubstringInArray");function OQ(h,c){if(!h)return c;const d=`curve${h.charAt(0).toUpperCase()+h.slice(1)}`;return zfn[d]??c}O(OQ,"interpolateToCurve");q(OQ,"interpolateToCurve");function vCt(h,c){const d=h.trim();if(d)return c.securityLevel!=="loose"?(0,Hfn.sanitizeUrl)(d):d}O(vCt,"formatUrl");q(vCt,"formatUrl");var Vfn=q((h,...c)=>{const d=h.split("."),w=d.length-1,m=d[w];let k=window;for(let p=0;p<w;p++)if(k=k[d[p]],!k){Ae.error(`Function name: ${h} not found in window`);return}k[m](...c)},"runFunc");function IQ(h,c){return!h||!c?0:Math.sqrt(Math.pow(c.x-h.x,2)+Math.pow(c.y-h.y,2))}O(IQ,"distance");q(IQ,"distance");function kCt(h){let c,d=0;h.forEach(m=>{d+=IQ(m,c),c=m});const w=d/2;return xCt(h,w)}O(kCt,"traverseEdge");q(kCt,"traverseEdge");function CCt(h){return h.length===1?h[0]:kCt(h)}O(CCt,"calcLabelPosition");q(CCt,"calcLabelPosition");var Nme=q((h,c=2)=>{const d=Math.pow(10,c);return Math.round(h*d)/d},"roundNumber"),xCt=q((h,c)=>{let d,w=c;for(const m of h){if(d){const k=IQ(m,d);if(k===0)return d;if(k<w)w-=k;else{const p=w/k;if(p<=0)return d;if(p>=1)return{x:m.x,y:m.y};if(p>0&&p<1)return{x:Nme((1-p)*d.x+p*m.x,5),y:Nme((1-p)*d.y+p*m.y,5)}}}d=m}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),Yfn=q((h,c,d)=>{Ae.info(`our points ${JSON.stringify(c)}`),c[0]!==d&&(c=c.reverse());const m=xCt(c,25),k=h?10:5,p=Math.atan2(c[0].y-m.y,c[0].x-m.x),T={x:0,y:0};return T.x=Math.sin(p)*k+(c[0].x+m.x)/2,T.y=-Math.cos(p)*k+(c[0].y+m.y)/2,T},"calcCardinalityPosition");function TCt(h,c,d){const w=structuredClone(d);Ae.info("our points",w),c!=="start_left"&&c!=="start_right"&&w.reverse();const m=25+h,k=xCt(w,m),p=10+h*.5,T=Math.atan2(w[0].y-k.y,w[0].x-k.x),E={x:0,y:0};return c==="start_left"?(E.x=Math.sin(T+Math.PI)*p+(w[0].x+k.x)/2,E.y=-Math.cos(T+Math.PI)*p+(w[0].y+k.y)/2):c==="end_right"?(E.x=Math.sin(T-Math.PI)*p+(w[0].x+k.x)/2-5,E.y=-Math.cos(T-Math.PI)*p+(w[0].y+k.y)/2-5):c==="end_left"?(E.x=Math.sin(T)*p+(w[0].x+k.x)/2-5,E.y=-Math.cos(T)*p+(w[0].y+k.y)/2-5):(E.x=Math.sin(T)*p+(w[0].x+k.x)/2,E.y=-Math.cos(T)*p+(w[0].y+k.y)/2),E}O(TCt,"calcTerminalLabelPosition");q(TCt,"calcTerminalLabelPosition");function SCt(h){let c="",d="";for(const w of h)w!==void 0&&(w.startsWith("color:")||w.startsWith("text-align:")?d=d+w+";":c=c+w+";");return{style:c,labelStyle:d}}O(SCt,"getStylesFromArray");q(SCt,"getStylesFromArray");var qme=0,Jfn=q(()=>(qme++,"id-"+Math.random().toString(36).substr(2,12)+"-"+qme),"generateId");function ECt(h){let c="";const d="0123456789abcdef",w=d.length;for(let m=0;m<h;m++)c+=d.charAt(Math.floor(Math.random()*w));return c}O(ECt,"makeRandomHex");q(ECt,"makeRandomHex");var Qfn=q(h=>ECt(h.length),"random"),Zfn=q(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),tdn=q(function(h,c){const d=c.text.replace($D.lineBreakRegex," "),[,w]=jQ(c.fontSize),m=h.append("text");m.attr("x",c.x),m.attr("y",c.y),m.style("text-anchor",c.anchor),m.style("font-family",c.fontFamily),m.style("font-size",w),m.style("font-weight",c.fontWeight),m.attr("fill",c.fill),c.class!==void 0&&m.attr("class",c.class);const k=m.append("tspan");return k.attr("x",c.x+c.textMargin*2),k.attr("fill",c.fill),k.text(d),m},"drawSimpleText"),edn=OA((h,c,d)=>{if(!h||(d=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},d),$D.lineBreakRegex.test(h)))return h;const w=h.split(" ").filter(Boolean),m=[];let k="";return w.forEach((p,T)=>{const E=$y(`${p} `,d),B=$y(k,d);if(E>c){const{hyphenatedStrings:I,remainingWord:$}=ndn(p,c,"-",d);m.push(k,...I),k=$}else B+E>=c?(m.push(k),k=p):k=[k,p].filter(Boolean).join(" ");T+1===w.length&&m.push(k)}),m.filter(p=>p!=="").join(d.joinWith)},(h,c,d)=>`${h}${c}${d.fontSize}${d.fontWeight}${d.fontFamily}${d.joinWith}`),ndn=OA((h,c,d="-",w)=>{w=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},w);const m=[...h],k=[];let p="";return m.forEach((T,E)=>{const B=`${p}${T}`;if($y(B,w)>=c){const L=E+1,I=m.length===L,$=`${B}${d}`;k.push(I?B:$),p=""}else p=B}),{hyphenatedStrings:k,remainingWord:p}},(h,c,d="-",w)=>`${h}${c}${d}${w.fontSize}${w.fontWeight}${w.fontFamily}`);function BCt(h,c){return ACt(h,c).height}O(BCt,"calculateTextHeight");q(BCt,"calculateTextHeight");function $y(h,c){return ACt(h,c).width}O($y,"calculateTextWidth");q($y,"calculateTextWidth");var ACt=OA((h,c)=>{const{fontSize:d=12,fontFamily:w="Arial",fontWeight:m=400}=c;if(!h)return{width:0,height:0};const[,k]=jQ(d),p=["sans-serif",w],T=h.split($D.lineBreakRegex),E=[],B=Rs("body");if(!B.remove)return{width:0,height:0,lineHeight:0};const A=B.append("svg");for(const I of p){let $=0;const P={width:0,height:0,lineHeight:0};for(const U of T){const J=Zfn();J.text=U||Kfn;const X=tdn(A,J).style("font-size",k).style("font-weight",m).style("font-family",I),rt=(X._groups||X)[0][0].getBBox();if(rt.width===0&&rt.height===0)throw new Error("svg element not in render tree");P.width=Math.round(Math.max(P.width,rt.width)),$=Math.round(rt.height),P.height+=$,P.lineHeight=Math.round(Math.max(P.lineHeight,$))}E.push(P)}A.remove();const L=isNaN(E[1].height)||isNaN(E[1].width)||isNaN(E[1].lineHeight)||E[0].height>E[1].height&&E[0].width>E[1].width&&E[0].lineHeight>E[1].lineHeight?0:1;return E[L]},(h,c)=>`${h}${c.fontSize}${c.fontWeight}${c.fontFamily}`),I8,rdn=(I8=class{constructor(c=!1,d){this.count=0,this.count=d?d.length:0,this.next=c?()=>this.count++:()=>Date.now()}},O(I8,"InitIDGenerator"),q(I8,"InitIDGenerator"),I8),fJ,idn=q(function(h){return fJ=fJ||document.createElement("div"),h=escape(h).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),fJ.innerHTML=h,unescape(fJ.textContent)},"entityDecode");function PQ(h){return"str"in h}O(PQ,"isDetailedError");q(PQ,"isDetailedError");var sdn=q((h,c,d,w)=>{var k;if(!w)return;const m=(k=h.node())==null?void 0:k.getBBox();m&&h.append("text").text(w).attr("text-anchor","middle").attr("x",m.x+m.width/2).attr("y",-d).attr("class",c)},"insertTitle"),jQ=q(h=>{if(typeof h=="number")return[h,h+"px"];const c=parseInt(h??"",10);return Number.isNaN(c)?[void 0,void 0]:h===String(c)?[c,h+"px"]:[c,h]},"parseFontSize");function DQ(h,c){return jxe({},h,c)}O(DQ,"cleanAndMerge");q(DQ,"cleanAndMerge");var Ud={assignWithDepth:Af,wrapLabel:edn,calculateTextHeight:BCt,calculateTextWidth:$y,calculateTextDimensions:ACt,cleanAndMerge:DQ,detectInit:Ufn,detectDirective:Dxe,isSubstringInArray:Xfn,interpolateToCurve:OQ,calcLabelPosition:CCt,calcCardinalityPosition:Yfn,calcTerminalLabelPosition:TCt,formatUrl:vCt,getStylesFromArray:SCt,generateId:Jfn,random:Qfn,runFunc:Vfn,entityDecode:idn,insertTitle:sdn,isLabelCoordinateInPath:MCt,parseFontSize:jQ,InitIDGenerator:rdn},odn=q(function(h){let c=h;return c=c.replace(/style.*:\S*#.*;/g,function(d){return d.substring(0,d.length-1)}),c=c.replace(/classDef.*:\S*#.*;/g,function(d){return d.substring(0,d.length-1)}),c=c.replace(/#\w+;/g,function(d){const w=d.substring(1,d.length-1);return/^\+?\d+$/.test(w)?"fl°°"+w+"¶ß":"fl°"+w+"¶ß"}),c},"encodeEntities"),nx=q(function(h){return h.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),qpn=q((h,c,{counter:d=0,prefix:w,suffix:m},k)=>k||`${w?`${w}_`:""}${h}_${c}_${d}${m?`_${m}`:""}`,"getEdgeId");function Gu(h){return h??null}O(Gu,"handleUndefinedAttr");q(Gu,"handleUndefinedAttr");function MCt(h,c){const d=Math.round(h.x),w=Math.round(h.y),m=c.replace(/(\d+\.\d+)/g,k=>Math.round(parseFloat(k)).toString());return m.includes(d.toString())||m.includes(w.toString())}O(MCt,"isLabelCoordinateInPath");q(MCt,"isLabelCoordinateInPath");var cdn=PD({"../../node_modules/.pnpm/fastdom@1.0.12/node_modules/fastdom/fastdom.js"(h,c){(function(d){var w=function(){},m=d.requestAnimationFrame||d.webkitRequestAnimationFrame||d.mozRequestAnimationFrame||d.msRequestAnimationFrame||function(L){return setTimeout(L,16)};function k(){var L=this;L.reads=[],L.writes=[],L.raf=m.bind(d)}O(k,"FastDom"),k.prototype={constructor:k,runTasks:O(function(L){for(var I;I=L.shift();)I()},"runTasks"),measure:O(function(L,I){var $=I?L.bind(I):L;return this.reads.push($),p(this),$},"measure"),mutate:O(function(L,I){var $=I?L.bind(I):L;return this.writes.push($),p(this),$},"mutate"),clear:O(function(L){return E(this.reads,L)||E(this.writes,L)},"clear"),extend:O(function(L){if(typeof L!="object")throw new Error("expected object");var I=Object.create(this);return B(I,L),I.fastdom=this,I.initialize&&I.initialize(),I},"extend"),catch:null};function p(L){L.scheduled||(L.scheduled=!0,L.raf(T.bind(null,L)))}O(p,"scheduleFlush");function T(L){var I=L.writes,$=L.reads,P;try{w("flushing reads",$.length),L.runTasks($),w("flushing writes",I.length),L.runTasks(I)}catch(U){P=U}if(L.scheduled=!1,($.length||I.length)&&p(L),P)if(w("task errored",P.message),L.catch)L.catch(P);else throw P}O(T,"flush");function E(L,I){var $=L.indexOf(I);return!!~$&&!!L.splice($,1)}O(E,"remove");function B(L,I){for(var $ in I)I.hasOwnProperty($)&&(L[$]=I[$])}O(B,"mixin");var A=d.fastdom=d.fastdom||new k;typeof define=="function"?define(function(){return A}):typeof c=="object"&&(c.exports=A)})(typeof window<"u"?window:typeof h<"u"?h:globalThis)}}),adn=PD({"../../node_modules/.pnpm/fastdom@1.0.12/node_modules/fastdom/extensions/fastdom-promised.js"(h,c){(function(){var d={initialize:O(function(){this._tasks=new Map},"initialize"),mutate:O(function(m,k){return w(this,"mutate",m,k)},"mutate"),measure:O(function(m,k){return w(this,"measure",m,k)},"measure"),clear:O(function(m){var k=this._tasks,p=k.get(m);this.fastdom.clear(p),k.delete(m)},"clear")};function w(m,k,p,T){var E=m._tasks,B=m.fastdom,A,L=new Promise(function(I,$){A=B[k](function(){E.delete(L);try{I(T?p.call(T):p())}catch(P){$(P)}},T)});return E.set(L,A),L}O(w,"create"),(typeof define)[0]=="f"?define(function(){return d}):(typeof c)[0]=="o"?c.exports=d:window.fastdomPromised=d})()}}),ldn=uQ(cdn()),udn=uQ(adn());function $Q(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}O($Q,"L");var Q8=$Q();function LCt(h){Q8=h}O(LCt,"G");var pD={exec:O(()=>null,"exec")};function Oc(h,c=""){let d=typeof h=="string"?h:h.source,w={replace:O((m,k)=>{let p=typeof k=="string"?k:k.source;return p=p.replace(K1.caret,"$1"),d=d.replace(m,p),w},"replace"),getRegex:O(()=>new RegExp(d,c),"getRegex")};return w}O(Oc,"h");var K1={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:O(h=>new RegExp(`^( {0,3}${h})((?:[ ][^\\n]*)?(?:\\n|$))`),"listItemRegex"),nextBulletRegex:O(h=>new RegExp(`^ {0,${Math.min(3,h-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),"nextBulletRegex"),hrRegex:O(h=>new RegExp(`^ {0,${Math.min(3,h-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),"hrRegex"),fencesBeginRegex:O(h=>new RegExp(`^ {0,${Math.min(3,h-1)}}(?:\`\`\`|~~~)`),"fencesBeginRegex"),headingBeginRegex:O(h=>new RegExp(`^ {0,${Math.min(3,h-1)}}#`),"headingBeginRegex"),htmlBeginRegex:O(h=>new RegExp(`^ {0,${Math.min(3,h-1)}}<(?:[a-z].*>|!--)`,"i"),"htmlBeginRegex")},hdn=/^(?:[ \t]*(?:\n|$))+/,fdn=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,ddn=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,zD=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,gdn=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,FCt=/(?:[*+-]|\d{1,9}[.)])/,$xe=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Rxe=Oc($xe).replace(/bull/g,FCt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),bdn=Oc($xe).replace(/bull/g,FCt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),_Ct=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,wdn=/^[^\n]+/,OCt=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,pdn=Oc(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",OCt).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),mdn=Oc(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,FCt).getRegex(),RQ="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ICt=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,ydn=Oc("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",ICt).replace("tag",RQ).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Nxe=Oc(_Ct).replace("hr",zD).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",RQ).getRegex(),vdn=Oc(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Nxe).getRegex(),PCt={blockquote:vdn,code:fdn,def:pdn,fences:ddn,heading:gdn,hr:zD,html:ydn,lheading:Rxe,list:mdn,newline:hdn,paragraph:Nxe,table:pD,text:wdn},Hme=Oc("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",zD).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",RQ).getRegex(),kdn={...PCt,lheading:bdn,table:Hme,paragraph:Oc(_Ct).replace("hr",zD).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Hme).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",RQ).getRegex()},Cdn={...PCt,html:Oc(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ICt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:pD,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Oc(_Ct).replace("hr",zD).replace("heading",` *#{1,6} *[^
|
|
146
146
|
]`).replace("lheading",Rxe).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},xdn=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Tdn=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,qxe=/^( {2,}|\\)\n(?!\s*$)/,Sdn=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,NQ=/[\p{P}\p{S}]/u,jCt=/[\s\p{P}\p{S}]/u,Hxe=/[^\s\p{P}\p{S}]/u,Edn=Oc(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,jCt).getRegex(),Kxe=/(?!~)[\p{P}\p{S}]/u,Bdn=/(?!~)[\s\p{P}\p{S}]/u,Adn=/(?:[^\s\p{P}\p{S}]|~)/u,Mdn=/\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,zxe=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Ldn=Oc(zxe,"u").replace(/punct/g,NQ).getRegex(),Fdn=Oc(zxe,"u").replace(/punct/g,Kxe).getRegex(),Wxe="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",_dn=Oc(Wxe,"gu").replace(/notPunctSpace/g,Hxe).replace(/punctSpace/g,jCt).replace(/punct/g,NQ).getRegex(),Odn=Oc(Wxe,"gu").replace(/notPunctSpace/g,Adn).replace(/punctSpace/g,Bdn).replace(/punct/g,Kxe).getRegex(),Idn=Oc("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Hxe).replace(/punctSpace/g,jCt).replace(/punct/g,NQ).getRegex(),Pdn=Oc(/\\(punct)/,"gu").replace(/punct/g,NQ).getRegex(),jdn=Oc(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Ddn=Oc(ICt).replace("(?:-->|$)","-->").getRegex(),$dn=Oc("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Ddn).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),WJ=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/,Rdn=Oc(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",WJ).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Uxe=Oc(/^!?\[(label)\]\[(ref)\]/).replace("label",WJ).replace("ref",OCt).getRegex(),Gxe=Oc(/^!?\[(ref)\](?:\[\])?/).replace("ref",OCt).getRegex(),Ndn=Oc("reflink|nolink(?!\\()","g").replace("reflink",Uxe).replace("nolink",Gxe).getRegex(),DCt={_backpedal:pD,anyPunctuation:Pdn,autolink:jdn,blockSkip:Mdn,br:qxe,code:Tdn,del:pD,emStrongLDelim:Ldn,emStrongRDelimAst:_dn,emStrongRDelimUnd:Idn,escape:xdn,link:Rdn,nolink:Gxe,punctuation:Edn,reflink:Uxe,reflinkSearch:Ndn,tag:$dn,text:Sdn,url:pD},qdn={...DCt,link:Oc(/^!?\[(label)\]\((.*?)\)/).replace("label",WJ).getRegex(),reflink:Oc(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",WJ).getRegex()},wkt={...DCt,emStrongRDelimAst:Odn,emStrongLDelim:Fdn,url:Oc(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},Hdn={...wkt,br:Oc(qxe).replace("{2,}","*").getRegex(),text:Oc(wkt.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},dJ={normal:PCt,gfm:kdn,pedantic:Cdn},tD={normal:DCt,gfm:wkt,breaks:Hdn,pedantic:qdn},Kdn={"&":"&","<":"<",">":">",'"':""","'":"'"},Kme=O(h=>Kdn[h],"ke");function $2(h,c){if(c){if(K1.escapeTest.test(h))return h.replace(K1.escapeReplace,Kme)}else if(K1.escapeTestNoEncode.test(h))return h.replace(K1.escapeReplaceNoEncode,Kme);return h}O($2,"w");function pkt(h){try{h=encodeURI(h).replace(K1.percentDecode,"%")}catch{return null}return h}O(pkt,"J");function mkt(h,c){var k;let d=h.replace(K1.findPipe,(p,T,E)=>{let B=!1,A=T;for(;--A>=0&&E[A]==="\\";)B=!B;return B?"|":" |"}),w=d.split(K1.splitPipe),m=0;if(w[0].trim()||w.shift(),w.length>0&&!((k=w.at(-1))!=null&&k.trim())&&w.pop(),c)if(w.length>c)w.splice(c);else for(;w.length<c;)w.push("");for(;m<w.length;m++)w[m]=w[m].trim().replace(K1.slashPipe,"|");return w}O(mkt,"V");function VB(h,c,d){let w=h.length;if(w===0)return"";let m=0;for(;m<w;){let k=h.charAt(w-m-1);if(k===c&&!d)m++;else if(k!==c&&d)m++;else break}return h.slice(0,w-m)}O(VB,"z");function Xxe(h,c){if(h.indexOf(c[1])===-1)return-1;let d=0;for(let w=0;w<h.length;w++)if(h[w]==="\\")w++;else if(h[w]===c[0])d++;else if(h[w]===c[1]&&(d--,d<0))return w;return d>0?-2:-1}O(Xxe,"ge");function ykt(h,c,d,w,m){let k=c.href,p=c.title||null,T=h[1].replace(m.other.outputLinkReplace,"$1");w.state.inLink=!0;let E={type:h[0].charAt(0)==="!"?"image":"link",raw:d,href:k,title:p,text:T,tokens:w.inlineTokens(T)};return w.state.inLink=!1,E}O(ykt,"fe");function Vxe(h,c,d){let w=h.match(d.other.indentCodeCompensation);if(w===null)return c;let m=w[1];return c.split(`
|
|
147
147
|
`).map(k=>{let p=k.match(d.other.beginningSpace);if(p===null)return k;let[T]=p;return T.length>=m.length?k.slice(m.length):k}).join(`
|
|
148
148
|
`)}O(Vxe,"Je");var pA,UJ=(pA=class{constructor(c){wa(this,"options");wa(this,"rules");wa(this,"lexer");this.options=c||Q8}space(c){let d=this.rules.block.newline.exec(c);if(d&&d[0].length>0)return{type:"space",raw:d[0]}}code(c){let d=this.rules.block.code.exec(c);if(d){let w=d[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:d[0],codeBlockStyle:"indented",text:this.options.pedantic?w:VB(w,`
|
|
@@ -274,16 +274,16 @@ ${k.join(`
|
|
|
274
274
|
h${-(E-2*A)}
|
|
275
275
|
q${-A},0 ${-A},${-A}
|
|
276
276
|
Z
|
|
277
|
-
`;if(!c.domId)throw new Error(`defaultMindmapNode: node "${c.id}" is missing a domId — was render.ts domId prefixing skipped?`);const I=m.append("path").attr("id",c.domId).attr("class","node-bkg node-"+c.type).attr("style",w).attr("d",L);return m.append("line").attr("class","node-line-").attr("x1",-E/2).attr("y1",B/2).attr("x2",E/2).attr("y2",B/2),T.attr("transform",`translate(${-k.width/2}, ${-k.height/2})`),m.append(()=>T.node()),qr(c,I),c.calcIntersect=function($,P){return mr.rect($,P)},c.intersect=function($){return mr.rect(c,$)},m}O(Cxt,"defaultMindmapNode");q(Cxt,"defaultMindmapNode");async function xxt(h,c){const d={padding:c.padding??0};return zQ(h,c,d)}O(xxt,"mindmapCircle");q(xxt,"mindmapCircle");var x1n=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:txt},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:J4t},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:ext},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:sxt},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:C4t},{semanticName:"Data Store",name:"Data Store",shortName:"datastore",description:"Data flow diagram data store",aliases:["data-store"],handler:x4t},{semanticName:"Folder",name:"Folder",shortName:"folder",description:"Folder or directory",aliases:["directory"],handler:A4t},{semanticName:"Bucket",name:"Bucket",shortName:"bucket",description:"Object storage bucket",handler:o4t},{semanticName:"Console",name:"Console (terminal window)",shortName:"console",description:"Terminal or console window",handler:g4t},{semanticName:"Browser",name:"Browser",shortName:"browser",description:"Browser window",handler:u4t},{semanticName:"Person",name:"Person",shortName:"person",description:"Person (circular head above a rounded body)",handler:k4t},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:zQ},{semanticName:"Bang",name:"Bang",shortName:"bang",description:"Bang",aliases:["bang"],handler:vxt},{semanticName:"Cloud",name:"Cloud",shortName:"cloud",description:"cloud",aliases:["cloud"],handler:kxt},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:X4t},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:F4t},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:q4t},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:N4t},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:uxt},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:$4t},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:S4t},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:axt},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:h4t},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:Q4t},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:ixt},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:rxt},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:M4t},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:_4t},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:p4t},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:m4t},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:y4t},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:H4t},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:dxt},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:L4t},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:lxt},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:K4t},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:v4t},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:T4t},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:fxt},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:bxt},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:E4t},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:hxt},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:B4t},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:Z4t},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:U4t},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:W4t},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:s4t},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:w4t},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:cxt},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:oxt},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:gxt},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:V4t},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:z4t}],T1n=q(()=>{const c=[...Object.entries({state:nxt,choice:f4t,note:G4t,composite:d4t,rectWithTitle:Y4t,labelRect:R4t,block_arrow:l4t,collapsedGroup:c4t,iconSquare:j4t,iconCircle:I4t,icon:O4t,iconRounded:P4t,imageSquare:D4t,anchor:r4t,kanbanItem:yxt,mindmapCircle:xxt,defaultMindmapNode:Cxt,classBox:pxt,erBox:WQ,requirementBox:mxt}),...x1n.flatMap(d=>[d.shortName,..."aliases"in d?d.aliases:[],..."internalAliases"in d?d.internalAliases:[]].map(m=>[m,d.handler]))];return Object.fromEntries(c)},"generateShapeMap"),Qxe=T1n();function Zxe(h){return h in Qxe}O(Zxe,"isValidShape");q(Zxe,"isValidShape");var UQ=q(({flowchart:h})=>{var m,k;const c=((m=h==null?void 0:h.subGraphTitleMargin)==null?void 0:m.top)??0,d=((k=h==null?void 0:h.subGraphTitleMargin)==null?void 0:k.bottom)??0,w=c+d;return{subGraphTitleTopMargin:c,subGraphTitleBottomMargin:d,subGraphTitleTotalMargin:w}},"getSubGraphTitleMargins"),GQ=new Map;async function XQ(h,c,d){let w,m;c.shape==="rect"&&(c.rx&&c.ry?c.shape="roundedRect":c.shape="squareRect");const k=c.shape?Qxe[c.shape]:void 0;if(!k)throw new Error(`No such shape: ${c.shape}. Please check your syntax.`);if(c.link){let p;d.config.securityLevel==="sandbox"?p="_top":c.linkTarget&&(p=c.linkTarget||"_blank"),w=h.insert("svg:a").attr("xlink:href",c.link).attr("target",p??null),m=await k(w,c,d)}else m=await k(h,c,d),w=m;return w.attr("data-look",Gu(c.look)),c.tooltip&&m.attr("title",c.tooltip),GQ.set(c.id,w),c.haveCallback&&w.attr("class",w.attr("class")+" clickable"),w}O(XQ,"insertNode");q(XQ,"insertNode");var Kpn=q((h,c)=>{GQ.set(c.id,h)},"setNodeElem"),S1n=q(()=>{GQ.clear()},"clear"),oye=q(h=>{const c=GQ.get(h.id);Ae.trace("Transforming node",h.diff,h,"translate("+(h.x-h.width/2-5)+", "+h.width/2+")");const d=8,w=h.diff||0;return h.clusterNode?c.attr("transform","translate("+(h.x+w-h.width/2)+", "+(h.y-h.height/2-d)+")"):c.attr("transform","translate("+h.x+", "+h.y+")"),w},"positionNode"),E1n=q(async(h,c)=>{const d=Ao(),{themeVariables:w,handDrawnSeed:m}=d,{clusterBkg:k,clusterBorder:p}=w,T=p,{labelStyles:E,nodeStyles:B,borderStyles:A,backgroundStyles:L}=Wr(c),I=h.insert("g").attr("class","cluster swimlane "+(c.cssClasses||"")).attr("id",c.id).attr("data-id",c.id).attr("data-et","cluster").attr("data-look",c.look),$=qy(d.flowchart.htmlLabels),P=c.direction==="LR",U=I.insert("g").attr("class","cluster-label swimlane-label"),J=await U2(U,c.label,{style:c.labelStyle,useHtmlLabels:$,isNode:!0,width:c.width});let X=J.getBBox();if($){const Y=J.children[0],ce=Rs(J);X=Y.getBoundingClientRect(),ce.attr("width",X.width),ce.attr("height",X.height)}const rt=c.padding??0,lt=c.width<=X.width+rt?X.width+rt:c.width;c.width<=X.width+rt?c.diff=(lt-c.width)/2-rt:c.diff=-rt;const xt=c.height,Mt=c.y-xt/2,Vt=c.y+xt/2,Gt=c.x-lt/2,be=c.swimlaneContentTop!==void 0?c.swimlaneContentTop:Mt+xt/3,Ze=P?4:0,Fe=X.height+2*Ze;let Me,kn;if(P){const Y=Math.max(Fe,X.height+2*Ze),ce=Gt+Y,oe=Math.max(0,lt-Y);if(c.look==="handDrawn"){const de=Dr.svg(I),Pe=Fr(c,{roughness:.7,fill:k,stroke:T,fillWeight:3,seed:m}),on=Fr(c,{roughness:.7,fill:"none",stroke:T,seed:m}),$n=de.rectangle(Gt,Mt,Y,xt,Pe);Me=I.insert(()=>$n,":first-child");const xr=de.rectangle(ce,Mt,oe,xt,on);kn=I.insert(()=>xr,":first-child"),Me.select("path:nth-child(2)").attr("style",A.join(";")),Me.select("path").attr("style",L.join(";").replace("fill","stroke"))}else Me=I.insert("rect",":first-child"),kn=I.insert("rect",":first-child"),Me.attr("class","swimlane-title").attr("style",B).attr("x",Gt).attr("y",Mt).attr("width",Y).attr("height",xt).attr("fill",k).attr("stroke",T),kn.attr("class","swimlane-body").attr("style",B).attr("x",ce).attr("y",Mt).attr("width",oe).attr("height",xt).attr("fill","none").attr("stroke",T);const Ot=Gt+Y/2,we=c.y;U.attr("transform",`translate(${Ot}, ${we}) rotate(-90) translate(${-X.width/2}, ${-X.height/2})`)}else{const Y=Math.max(0,be-Mt),ce=Math.min(Fe,Y),oe=Mt+ce,Ot=Math.max(0,Vt-oe),we=c.x-lt/2;if(c.look==="handDrawn"){const on=Dr.svg(I),$n=Fr(c,{roughness:.7,fill:k,stroke:T,fillWeight:3,seed:m}),xr=Fr(c,{roughness:.7,fill:"none",stroke:T,seed:m}),_r=on.rectangle(we,Mt,lt,ce,$n);Me=I.insert(()=>_r,":first-child");const Yr=on.rectangle(we,oe,lt,Ot,xr);kn=I.insert(()=>Yr,":first-child"),Me.select("path:nth-child(2)").attr("style",A.join(";")),Me.select("path").attr("style",L.join(";").replace("fill","stroke"))}else Me=I.insert("rect",":first-child"),kn=I.insert("rect",":first-child"),Me.attr("class","swimlane-title").attr("style",B).attr("x",we).attr("y",Mt).attr("width",lt).attr("height",ce).attr("fill",k).attr("stroke",T),kn.attr("class","swimlane-body").attr("style",B).attr("x",we).attr("y",oe).attr("width",lt).attr("height",Ot).attr("fill","none").attr("stroke",T);const de=c.x-X.width/2,Pe=Mt+(ce-X.height)/2;U.attr("transform",`translate(${de}, ${Pe})`)}if(Ae.trace("Swimlane data ",c,JSON.stringify(c)),E){const Y=U.select("span");Y&&Y.attr("style",E)}return c.offsetX=0,c.width=lt,c.height=xt,c.offsetY=X.height-rt/2,c.intersect=function(Y){return Z8(c,Y)},{cluster:I,labelBBox:X}},"swimlane"),t5e=q(async(h,c)=>{Ae.info("Creating subgraph rect for ",c.id,c);const d=Ao(),{themeVariables:w,handDrawnSeed:m}=d,{clusterBkg:k,clusterBorder:p}=w,{labelStyles:T,nodeStyles:E,borderStyles:B,backgroundStyles:A}=Wr(c),L=h.insert("g").attr("class","cluster "+c.cssClasses).attr("id",c.domId).attr("data-look",c.look),I=Gd(d),$=L.insert("g").attr("class","cluster-label ");let P;c.labelType==="markdown"?P=await U2($,c.label,{style:c.labelStyle,useHtmlLabels:I,isNode:!0,width:c.width}):P=await J4($,c.label,c.labelStyle||"",!1,!0);let U=P.getBBox();if(Gd(d)){const Gt=P.children[0],be=Rs(P);U=Gt.getBoundingClientRect(),be.attr("width",U.width),be.attr("height",U.height)}const J=c.width<=U.width+c.padding?U.width+c.padding:c.width;c.width<=U.width+c.padding?c.diff=(J-c.width)/2-c.padding:c.diff=-c.padding;const X=c.height,rt=c.x-J/2,lt=c.y-X/2;Ae.trace("Data ",c,JSON.stringify(c));let xt;if(c.look==="handDrawn"){const Gt=Dr.svg(L),be=Fr(c,{roughness:.7,fill:k,stroke:p,fillWeight:3,seed:m}),Ze=Gt.path(np(rt,lt,J,X,0),be);xt=L.insert(()=>(Ae.debug("Rough node insert CXC",Ze),Ze),":first-child"),xt.select("path:nth-child(2)").attr("style",B.join(";")),xt.select("path").attr("style",A.join(";").replace("fill","stroke"))}else xt=L.insert("rect",":first-child"),xt.attr("style",E).attr("rx",c.rx).attr("ry",c.ry).attr("x",rt).attr("y",lt).attr("width",J).attr("height",X);const{subGraphTitleTopMargin:Mt}=UQ(d);if($.attr("transform",`translate(${c.x-U.width/2}, ${c.y-c.height/2+Mt})`),T){const Gt=$.select("span");Gt&&Gt.attr("style",T)}const Vt=xt.node().getBBox();return c.offsetX=0,c.width=Vt.width,c.height=Vt.height,c.offsetY=U.height-c.padding/2,c.intersect=function(Gt){return Z8(c,Gt)},{cluster:L,labelBBox:U}},"rect"),B1n=q((h,c)=>{const d=h.insert("g").attr("class","note-cluster").attr("id",c.domId),w=d.insert("rect",":first-child"),m=0*c.padding,k=m/2;w.attr("rx",c.rx).attr("ry",c.ry).attr("x",c.x-c.width/2-k).attr("y",c.y-c.height/2-k).attr("width",c.width+m).attr("height",c.height+m).attr("fill","none");const p=w.node().getBBox();return c.width=p.width,c.height=p.height,c.intersect=function(T){return Z8(c,T)},{cluster:d,labelBBox:{width:0,height:0}}},"noteGroup"),A1n=q(async(h,c)=>{const d=Ao(),{themeVariables:w,handDrawnSeed:m}=d,{altBackground:k,compositeBackground:p,compositeTitleBackground:T,nodeBorder:E}=w,B=h.insert("g").attr("class",c.cssClasses).attr("id",c.domId).attr("data-id",c.id).attr("data-look",c.look),A=B.insert("g",":first-child"),L=B.insert("g").attr("class","cluster-label");let I=B.append("rect");const $=await J4(L,c.label,c.labelStyle,void 0,!0);let P=$.getBBox();if(Gd(d)){const Ze=$.children[0],Fe=Rs($);P=Ze.getBoundingClientRect(),Fe.attr("width",P.width),Fe.attr("height",P.height)}const U=0*c.padding,J=U/2,X=(c.width<=P.width+c.padding?P.width+c.padding:c.width)+U;c.width<=P.width+c.padding?c.diff=(X-c.width)/2-c.padding:c.diff=-c.padding;const rt=c.height+U,lt=c.height+U-P.height-6,xt=c.x-X/2,Mt=c.y-rt/2;c.width=X;const Vt=c.y-c.height/2-J+P.height+2;let Gt;if(c.look==="handDrawn"){const Ze=c.cssClasses.includes("statediagram-cluster-alt"),Fe=Dr.svg(B),Me=c.rx||c.ry?Fe.path(np(xt,Mt,X,rt,10),{roughness:.7,fill:T,fillStyle:"solid",stroke:E,seed:m}):Fe.rectangle(xt,Mt,X,rt,{seed:m});Gt=B.insert(()=>Me,":first-child");const kn=Fe.rectangle(xt,Vt,X,lt,{fill:Ze?k:p,fillStyle:Ze?"hachure":"solid",stroke:E,seed:m});Gt=B.insert(()=>Me,":first-child"),I=B.insert(()=>kn)}else Gt=A.insert("rect",":first-child"),Gt.attr("class","outer").attr("x",xt).attr("y",Mt).attr("width",X).attr("height",rt).attr("data-look",c.look),I.attr("class","inner").attr("x",xt).attr("y",Vt).attr("width",X).attr("height",lt);L.attr("transform",`translate(${c.x-P.width/2}, ${Mt+1-(Gd(d)?0:3)})`);const be=Gt.node().getBBox();return c.height=be.height,c.offsetX=0,c.offsetY=P.height-c.padding/2,c.labelBBox=P,c.intersect=function(Ze){return Z8(c,Ze)},{cluster:B,labelBBox:P}},"roundedWithTitle"),M1n=q(async(h,c)=>{Ae.info("Creating subgraph rect for ",c.id,c);const d=Ao(),{themeVariables:w,handDrawnSeed:m}=d,{clusterBkg:k,clusterBorder:p}=w,{labelStyles:T,nodeStyles:E,borderStyles:B,backgroundStyles:A}=Wr(c),L=h.insert("g").attr("class","cluster "+c.cssClasses).attr("id",c.domId).attr("data-look",c.look),I=Gd(d),$=L.insert("g").attr("class","cluster-label "),P=await U2($,c.label,{style:c.labelStyle,useHtmlLabels:I,isNode:!0,width:c.width});let U=P.getBBox();if(Gd(d)){const Gt=P.children[0],be=Rs(P);U=Gt.getBoundingClientRect(),be.attr("width",U.width),be.attr("height",U.height)}const J=c.width<=U.width+c.padding?U.width+c.padding:c.width;c.width<=U.width+c.padding?c.diff=(J-c.width)/2-c.padding:c.diff=-c.padding;const X=c.height,rt=c.x-J/2,lt=c.y-X/2;Ae.trace("Data ",c,JSON.stringify(c));let xt;if(c.look==="handDrawn"){const Gt=Dr.svg(L),be=Fr(c,{roughness:.7,fill:k,stroke:p,fillWeight:4,seed:m}),Ze=Gt.path(np(rt,lt,J,X,c.rx),be);xt=L.insert(()=>(Ae.debug("Rough node insert CXC",Ze),Ze),":first-child"),xt.select("path:nth-child(2)").attr("style",B.join(";")),xt.select("path").attr("style",A.join(";").replace("fill","stroke"))}else xt=L.insert("rect",":first-child"),xt.attr("style",E).attr("rx",c.rx).attr("ry",c.ry).attr("x",rt).attr("y",lt).attr("width",J).attr("height",X);const{subGraphTitleTopMargin:Mt}=UQ(d);if($.attr("transform",`translate(${c.x-U.width/2}, ${c.y-c.height/2+Mt})`),T){const Gt=$.select("span");Gt&&Gt.attr("style",T)}const Vt=xt.node().getBBox();return c.offsetX=0,c.width=Vt.width,c.height=Vt.height,c.offsetY=U.height-c.padding/2,c.intersect=function(Gt){return Z8(c,Gt)},{cluster:L,labelBBox:U}},"kanbanSection"),L1n=q((h,c)=>{const d=Ao(),{themeVariables:w,handDrawnSeed:m}=d,{nodeBorder:k}=w,p=h.insert("g").attr("class",c.cssClasses).attr("id",c.domId).attr("data-look",c.look),T=p.insert("g",":first-child"),E=0*c.padding,B=c.width+E;c.diff=-c.padding;const A=c.height+E,L=c.x-B/2,I=c.y-A/2;c.width=B;let $;if(c.look==="handDrawn"){const J=Dr.svg(p).rectangle(L,I,B,A,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:k,seed:m});$=p.insert(()=>J,":first-child")}else{$=T.insert("rect",":first-child");let U="outer";c.look,U="divider",$.attr("class",U).attr("x",L).attr("y",I).attr("width",B).attr("height",A).attr("data-look",c.look)}const P=$.node().getBBox();return c.height=P.height,c.offsetX=0,c.offsetY=0,c.intersect=function(U){return Z8(c,U)},{cluster:p,labelBBox:{}}},"divider"),F1n=t5e,_1n={rect:t5e,squareRect:F1n,roundedWithTitle:A1n,noteGroup:B1n,divider:L1n,kanbanSection:M1n,swimlane:E1n},e5e=new Map,n5e=q(async(h,c)=>{const d=c.shape||"rect",w=await _1n[d](h,c);return e5e.set(c.id,w),w},"insertCluster"),O1n=q(()=>{e5e=new Map},"clear"),eD=q((h,c)=>{if(c)return"translate("+-h.width/2+", "+-h.height/2+")";const d=h.x??0,w=h.y??0;return"translate("+-(d+h.width/2)+", "+-(w+h.height/2)+")"},"computeLabelTransform"),Wd={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},cye={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function QB(h,c){if(h===void 0||c===void 0)return{angle:0,deltaX:0,deltaY:0};h=kl(h),c=kl(c);const[d,w]=[h.x,h.y],[m,k]=[c.x,c.y],p=m-d,T=k-w;return{angle:Math.atan(T/p),deltaX:p,deltaY:T}}O(QB,"calculateDeltaAndAngle");q(QB,"calculateDeltaAndAngle");var kl=q(h=>Array.isArray(h)?{x:h[0],y:h[1]}:h,"pointTransformer"),I1n=q(h=>({x:q(function(c,d,w){let m=0;const k=kl(w[0]).x<kl(w[w.length-1]).x?"left":"right";if(d===0&&Object.hasOwn(Wd,h.arrowTypeStart)){const{angle:$,deltaX:P}=QB(w[0],w[1]);m=Wd[h.arrowTypeStart]*Math.cos($)*(P>=0?1:-1)}else if(d===w.length-1&&Object.hasOwn(Wd,h.arrowTypeEnd)){const{angle:$,deltaX:P}=QB(w[w.length-1],w[w.length-2]);m=Wd[h.arrowTypeEnd]*Math.cos($)*(P>=0?1:-1)}const p=Math.abs(kl(c).x-kl(w[w.length-1]).x),T=Math.abs(kl(c).y-kl(w[w.length-1]).y),E=Math.abs(kl(c).x-kl(w[0]).x),B=Math.abs(kl(c).y-kl(w[0]).y),A=Wd[h.arrowTypeStart],L=Wd[h.arrowTypeEnd],I=1;if(p<L&&p>0&&T<L){let $=L+I-p;$*=k==="right"?-1:1,m-=$}if(E<A&&E>0&&B<A){let $=A+I-E;$*=k==="right"?-1:1,m+=$}return kl(c).x+m},"x"),y:q(function(c,d,w){let m=0;const k=kl(w[0]).y<kl(w[w.length-1]).y?"down":"up";if(d===0&&Object.hasOwn(Wd,h.arrowTypeStart)){const{angle:$,deltaY:P}=QB(w[0],w[1]);m=Wd[h.arrowTypeStart]*Math.abs(Math.sin($))*(P>=0?1:-1)}else if(d===w.length-1&&Object.hasOwn(Wd,h.arrowTypeEnd)){const{angle:$,deltaY:P}=QB(w[w.length-1],w[w.length-2]);m=Wd[h.arrowTypeEnd]*Math.abs(Math.sin($))*(P>=0?1:-1)}const p=Math.abs(kl(c).y-kl(w[w.length-1]).y),T=Math.abs(kl(c).x-kl(w[w.length-1]).x),E=Math.abs(kl(c).y-kl(w[0]).y),B=Math.abs(kl(c).x-kl(w[0]).x),A=Wd[h.arrowTypeStart],L=Wd[h.arrowTypeEnd],I=1;if(p<L&&p>0&&T<L){let $=L+I-p;$*=k==="up"?-1:1,m-=$}if(E<A&&E>0&&B<A){let $=A+I-E;$*=k==="up"?-1:1,m+=$}return kl(c).y+m},"y")}),"getLineFunctionsWithOffset"),P1n=q((h,c,d,w,m,k=!1,p)=>{c.arrowTypeStart&&aye(h,"start",c.arrowTypeStart,d,w,m,k,p),c.arrowTypeEnd&&aye(h,"end",c.arrowTypeEnd,d,w,m,k,p)},"addEdgeMarkers"),j1n={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},D1n=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],aye=q((h,c,d,w,m,k,p=!1,T)=>{var P;if(!d||d==="none")return;const E=j1n[d],B=E&&D1n.includes(E.type);if(!E){Ae.warn(`Unknown arrow type: ${d}`);return}const A=E.type,$=`${m}_${k}-${A}${c==="start"?"Start":"End"}${p&&B?"-margin":""}`;if(T&&T.trim()!==""){const U=T.replace(/[^\dA-Za-z]/g,"_"),J=`${$}_${U}`;if(!document.getElementById(J)){const X=document.getElementById($);if(X){const rt=X.cloneNode(!0);rt.id=J,rt.querySelectorAll("path, circle, line").forEach(xt=>{xt.setAttribute("stroke",T),E.fill&&xt.setAttribute("fill",T)}),(P=X.parentNode)==null||P.appendChild(rt)}}h.attr(`marker-${c}`,`url(${w}#${J})`)}else h.attr(`marker-${c}`,`url(${w}#${$})`)},"addEdgeMarker"),$1n=q(h=>{var c,d;return typeof h=="string"?h:(d=(c=Ao())==null?void 0:c.flowchart)==null?void 0:d.curve},"resolveEdgeCurveType"),EA=new Map,Uu=new Map,R1n=q(()=>{EA.clear(),Uu.clear()},"clear"),r5e=q(h=>!!(h.label||h.startLabelLeft||h.startLabelRight||h.endLabelLeft||h.endLabelRight),"hasEdgeLabel"),nD=q(h=>h?typeof h=="string"?h:h.reduce((c,d)=>c+";"+d,""):"","getLabelStyles"),Txt=q(async(h,c)=>{const d=Ao();let w=Gd(d);const{labelStyles:m}=Wr(c);c.labelStyle=m;const k=h.insert("g").attr("class","edgeLabel"),p=k.insert("g").attr("class","label").attr("data-id",c.id),T=c.labelType==="markdown",B=await U2(h,c.label,{style:nD(c.labelStyle),useHtmlLabels:w,addSvgBackground:!0,isNode:!1,markdown:T,width:T?void 0:void 0},d);p.node().appendChild(B),Ae.info("abc82",c,c.labelType);let A,L;if(w){const $=B.children[0],P=Rs(B);A=await q8.measure(()=>$.getBoundingClientRect()),L=A,P.attr("width",A.width),P.attr("height",A.height)}else{const $=Rs(B).select("text").node();await q8.measure(()=>{A=B.getBBox(),$&&typeof $.getBBox=="function"?L=$.getBBox():L=A})}p.attr("transform",eD(L,w)),EA.set(c.id,k),c.width=A.width,c.height=A.height;let I;if(c.startLabelLeft){const $=h.insert("g").attr("class","edgeTerminals"),P=$.insert("g").attr("class","inner"),U=await J4(P,c.startLabelLeft,nD(c.labelStyle)||"",!1,!1);I=U;let J=U.getBBox();if(w){const X=U.children[0],rt=Rs(U);J=X.getBoundingClientRect(),rt.attr("width",J.width),rt.attr("height",J.height)}P.attr("transform",eD(J,w)),Uu.get(c.id)||Uu.set(c.id,{}),Uu.get(c.id).startLeft=$,ZB(I,c.startLabelLeft)}if(c.startLabelRight){const $=h.insert("g").attr("class","edgeTerminals"),P=$.insert("g").attr("class","inner"),U=await J4(P,c.startLabelRight,nD(c.labelStyle)||"",!1,!1);I=U;let J=U.getBBox();if(w){const X=U.children[0],rt=Rs(U);J=X.getBoundingClientRect(),rt.attr("width",J.width),rt.attr("height",J.height)}P.attr("transform",eD(J,w)),Uu.get(c.id)||Uu.set(c.id,{}),Uu.get(c.id).startRight=$,ZB(I,c.startLabelRight)}if(c.endLabelLeft){const $=h.insert("g").attr("class","edgeTerminals"),P=$.insert("g").attr("class","inner"),U=await J4($,c.endLabelLeft,nD(c.labelStyle)||"",!1,!1);I=U;let J=U.getBBox();if(w){const X=U.children[0],rt=Rs(U);J=X.getBoundingClientRect(),rt.attr("width",J.width),rt.attr("height",J.height)}P.attr("transform",eD(J,w)),Uu.get(c.id)||Uu.set(c.id,{}),Uu.get(c.id).endLeft=$,ZB(I,c.endLabelLeft)}if(c.endLabelRight){const $=h.insert("g").attr("class","edgeTerminals"),P=$.insert("g").attr("class","inner"),U=await J4($,c.endLabelRight,nD(c.labelStyle)||"",!1,!1);I=U;let J=U.getBBox();if(w){const X=U.children[0],rt=Rs(U);J=X.getBoundingClientRect(),rt.attr("width",J.width),rt.attr("height",J.height)}P.attr("transform",eD(J,w)),Uu.get(c.id)||Uu.set(c.id,{}),Uu.get(c.id).endRight=$,ZB(I,c.endLabelRight)}return B},"insertEdgeLabel");function ZB(h,c){Gd(Ao())&&h&&(h.style.width=c.length*9+"px",h.style.height="12px")}O(ZB,"setTerminalWidth");q(ZB,"setTerminalWidth");var N1n=q((h,c)=>{Ae.debug("Moving label abc88 ",h.id,h.label,EA.get(h.id),c);let d=c.updatedPath?c.updatedPath:c.originalPath;const w=Ao(),{subGraphTitleTotalMargin:m}=UQ(w);if(h.label){const k=EA.get(h.id);let p=h.x,T=h.y;if(d){const E=Ud.calcLabelPosition(d);Ae.debug("Moving label "+h.label+" from (",p,",",T,") to (",E.x,",",E.y,") abc88"),c.updatedPath&&(p=E.x,T=E.y)}k.attr("transform",`translate(${p}, ${T+m/2})`)}if(h.startLabelLeft){const k=Uu.get(h.id).startLeft;let p=h.x,T=h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeStart?10:0,"start_left",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}if(h.startLabelRight){const k=Uu.get(h.id).startRight;let p=h.x,T=h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeStart?10:0,"start_right",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}if(h.endLabelLeft){const k=Uu.get(h.id).endLeft;let p=h.x,T=h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeEnd?10:0,"end_left",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}if(h.endLabelRight){const k=Uu.get(h.id).endRight;let p=h.x,T=h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeEnd?10:0,"end_right",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}},"positionEdgeLabel"),q1n=q((h,c)=>{var p;if(!(h!=null&&h.isLabelEdge)||!((p=h==null?void 0:h.id)!=null&&p.endsWith("-to-label"))||!Array.isArray(c)||c.length!==2)return c;const[d,w]=c,m=Math.abs(w.x-d.x),k=Math.abs(w.y-d.y);return m<.001||k<.001?c:k>=m?[d,{x:d.x,y:w.y},w]:[d,{x:w.x,y:d.y},w]},"orthogonalizeToLabelClippedPoints"),H1n=q((h,c)=>{const d=h.x,w=h.y,m=Math.abs(c.x-d),k=Math.abs(c.y-w),p=h.width/2,T=h.height/2;return m>=p||k>=T},"outsideNode"),K1n=q((h,c,d)=>{Ae.debug(`intersection calc abc89:
|
|
277
|
+
`;if(!c.domId)throw new Error(`defaultMindmapNode: node "${c.id}" is missing a domId — was render.ts domId prefixing skipped?`);const I=m.append("path").attr("id",c.domId).attr("class","node-bkg node-"+c.type).attr("style",w).attr("d",L);return m.append("line").attr("class","node-line-").attr("x1",-E/2).attr("y1",B/2).attr("x2",E/2).attr("y2",B/2),T.attr("transform",`translate(${-k.width/2}, ${-k.height/2})`),m.append(()=>T.node()),qr(c,I),c.calcIntersect=function($,P){return mr.rect($,P)},c.intersect=function($){return mr.rect(c,$)},m}O(Cxt,"defaultMindmapNode");q(Cxt,"defaultMindmapNode");async function xxt(h,c){const d={padding:c.padding??0};return zQ(h,c,d)}O(xxt,"mindmapCircle");q(xxt,"mindmapCircle");var x1n=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:txt},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:J4t},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:ext},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:sxt},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:C4t},{semanticName:"Data Store",name:"Data Store",shortName:"datastore",description:"Data flow diagram data store",aliases:["data-store"],handler:x4t},{semanticName:"Folder",name:"Folder",shortName:"folder",description:"Folder or directory",aliases:["directory"],handler:A4t},{semanticName:"Bucket",name:"Bucket",shortName:"bucket",description:"Object storage bucket",handler:o4t},{semanticName:"Console",name:"Console (terminal window)",shortName:"console",description:"Terminal or console window",handler:g4t},{semanticName:"Browser",name:"Browser",shortName:"browser",description:"Browser window",handler:u4t},{semanticName:"Person",name:"Person",shortName:"person",description:"Person (circular head above a rounded body)",handler:k4t},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:zQ},{semanticName:"Bang",name:"Bang",shortName:"bang",description:"Bang",aliases:["bang"],handler:vxt},{semanticName:"Cloud",name:"Cloud",shortName:"cloud",description:"cloud",aliases:["cloud"],handler:kxt},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:X4t},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:F4t},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:q4t},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:N4t},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:uxt},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:$4t},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:S4t},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:axt},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:h4t},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:Q4t},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:ixt},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:rxt},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:M4t},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:_4t},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:p4t},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:m4t},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:y4t},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:H4t},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:dxt},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:L4t},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:lxt},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:K4t},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:v4t},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:T4t},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:fxt},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:bxt},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:E4t},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:hxt},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:B4t},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:Z4t},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:U4t},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:W4t},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:s4t},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:w4t},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:cxt},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:oxt},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:gxt},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:V4t},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:z4t}],T1n=q(()=>{const c=[...Object.entries({state:nxt,choice:f4t,note:G4t,composite:d4t,rectWithTitle:Y4t,labelRect:R4t,block_arrow:l4t,collapsedGroup:c4t,iconSquare:j4t,iconCircle:I4t,icon:O4t,iconRounded:P4t,imageSquare:D4t,anchor:r4t,kanbanItem:yxt,mindmapCircle:xxt,defaultMindmapNode:Cxt,classBox:pxt,erBox:WQ,requirementBox:mxt}),...x1n.flatMap(d=>[d.shortName,..."aliases"in d?d.aliases:[],..."internalAliases"in d?d.internalAliases:[]].map(m=>[m,d.handler]))];return Object.fromEntries(c)},"generateShapeMap"),Qxe=T1n();function Zxe(h){return h in Qxe}O(Zxe,"isValidShape");q(Zxe,"isValidShape");var UQ=q(({flowchart:h})=>{var m,k;const c=((m=h==null?void 0:h.subGraphTitleMargin)==null?void 0:m.top)??0,d=((k=h==null?void 0:h.subGraphTitleMargin)==null?void 0:k.bottom)??0,w=c+d;return{subGraphTitleTopMargin:c,subGraphTitleBottomMargin:d,subGraphTitleTotalMargin:w}},"getSubGraphTitleMargins"),GQ=new Map;async function XQ(h,c,d){let w,m;c.shape==="rect"&&(c.rx&&c.ry?c.shape="roundedRect":c.shape="squareRect");const k=c.shape?Qxe[c.shape]:void 0;if(!k)throw new Error(`No such shape: ${c.shape}. Please check your syntax.`);if(c.link){let p;d.config.securityLevel==="sandbox"?p="_top":c.linkTarget&&(p=c.linkTarget||"_blank"),w=h.insert("svg:a").attr("xlink:href",c.link).attr("target",p??null),m=await k(w,c,d)}else m=await k(h,c,d),w=m;return w.attr("data-look",Gu(c.look)),c.tooltip&&m.attr("title",c.tooltip),GQ.set(c.id,w),c.haveCallback&&w.attr("class",w.attr("class")+" clickable"),w}O(XQ,"insertNode");q(XQ,"insertNode");var Hpn=q((h,c)=>{GQ.set(c.id,h)},"setNodeElem"),S1n=q(()=>{GQ.clear()},"clear"),oye=q(h=>{const c=GQ.get(h.id);Ae.trace("Transforming node",h.diff,h,"translate("+(h.x-h.width/2-5)+", "+h.width/2+")");const d=8,w=h.diff||0;return h.clusterNode?c.attr("transform","translate("+(h.x+w-h.width/2)+", "+(h.y-h.height/2-d)+")"):c.attr("transform","translate("+h.x+", "+h.y+")"),w},"positionNode"),E1n=q(async(h,c)=>{const d=Ao(),{themeVariables:w,handDrawnSeed:m}=d,{clusterBkg:k,clusterBorder:p}=w,T=p,{labelStyles:E,nodeStyles:B,borderStyles:A,backgroundStyles:L}=Wr(c),I=h.insert("g").attr("class","cluster swimlane "+(c.cssClasses||"")).attr("id",c.id).attr("data-id",c.id).attr("data-et","cluster").attr("data-look",c.look),$=qy(d.flowchart.htmlLabels),P=c.direction==="LR",U=I.insert("g").attr("class","cluster-label swimlane-label"),J=await U2(U,c.label,{style:c.labelStyle,useHtmlLabels:$,isNode:!0,width:c.width});let X=J.getBBox();if($){const Y=J.children[0],ce=Rs(J);X=Y.getBoundingClientRect(),ce.attr("width",X.width),ce.attr("height",X.height)}const rt=c.padding??0,lt=c.width<=X.width+rt?X.width+rt:c.width;c.width<=X.width+rt?c.diff=(lt-c.width)/2-rt:c.diff=-rt;const xt=c.height,Mt=c.y-xt/2,Vt=c.y+xt/2,Gt=c.x-lt/2,be=c.swimlaneContentTop!==void 0?c.swimlaneContentTop:Mt+xt/3,Ze=P?4:0,Fe=X.height+2*Ze;let Me,kn;if(P){const Y=Math.max(Fe,X.height+2*Ze),ce=Gt+Y,oe=Math.max(0,lt-Y);if(c.look==="handDrawn"){const de=Dr.svg(I),Pe=Fr(c,{roughness:.7,fill:k,stroke:T,fillWeight:3,seed:m}),on=Fr(c,{roughness:.7,fill:"none",stroke:T,seed:m}),$n=de.rectangle(Gt,Mt,Y,xt,Pe);Me=I.insert(()=>$n,":first-child");const xr=de.rectangle(ce,Mt,oe,xt,on);kn=I.insert(()=>xr,":first-child"),Me.select("path:nth-child(2)").attr("style",A.join(";")),Me.select("path").attr("style",L.join(";").replace("fill","stroke"))}else Me=I.insert("rect",":first-child"),kn=I.insert("rect",":first-child"),Me.attr("class","swimlane-title").attr("style",B).attr("x",Gt).attr("y",Mt).attr("width",Y).attr("height",xt).attr("fill",k).attr("stroke",T),kn.attr("class","swimlane-body").attr("style",B).attr("x",ce).attr("y",Mt).attr("width",oe).attr("height",xt).attr("fill","none").attr("stroke",T);const Ot=Gt+Y/2,we=c.y;U.attr("transform",`translate(${Ot}, ${we}) rotate(-90) translate(${-X.width/2}, ${-X.height/2})`)}else{const Y=Math.max(0,be-Mt),ce=Math.min(Fe,Y),oe=Mt+ce,Ot=Math.max(0,Vt-oe),we=c.x-lt/2;if(c.look==="handDrawn"){const on=Dr.svg(I),$n=Fr(c,{roughness:.7,fill:k,stroke:T,fillWeight:3,seed:m}),xr=Fr(c,{roughness:.7,fill:"none",stroke:T,seed:m}),_r=on.rectangle(we,Mt,lt,ce,$n);Me=I.insert(()=>_r,":first-child");const Yr=on.rectangle(we,oe,lt,Ot,xr);kn=I.insert(()=>Yr,":first-child"),Me.select("path:nth-child(2)").attr("style",A.join(";")),Me.select("path").attr("style",L.join(";").replace("fill","stroke"))}else Me=I.insert("rect",":first-child"),kn=I.insert("rect",":first-child"),Me.attr("class","swimlane-title").attr("style",B).attr("x",we).attr("y",Mt).attr("width",lt).attr("height",ce).attr("fill",k).attr("stroke",T),kn.attr("class","swimlane-body").attr("style",B).attr("x",we).attr("y",oe).attr("width",lt).attr("height",Ot).attr("fill","none").attr("stroke",T);const de=c.x-X.width/2,Pe=Mt+(ce-X.height)/2;U.attr("transform",`translate(${de}, ${Pe})`)}if(Ae.trace("Swimlane data ",c,JSON.stringify(c)),E){const Y=U.select("span");Y&&Y.attr("style",E)}return c.offsetX=0,c.width=lt,c.height=xt,c.offsetY=X.height-rt/2,c.intersect=function(Y){return Z8(c,Y)},{cluster:I,labelBBox:X}},"swimlane"),t5e=q(async(h,c)=>{Ae.info("Creating subgraph rect for ",c.id,c);const d=Ao(),{themeVariables:w,handDrawnSeed:m}=d,{clusterBkg:k,clusterBorder:p}=w,{labelStyles:T,nodeStyles:E,borderStyles:B,backgroundStyles:A}=Wr(c),L=h.insert("g").attr("class","cluster "+c.cssClasses).attr("id",c.domId).attr("data-look",c.look),I=Gd(d),$=L.insert("g").attr("class","cluster-label ");let P;c.labelType==="markdown"?P=await U2($,c.label,{style:c.labelStyle,useHtmlLabels:I,isNode:!0,width:c.width}):P=await J4($,c.label,c.labelStyle||"",!1,!0);let U=P.getBBox();if(Gd(d)){const Gt=P.children[0],be=Rs(P);U=Gt.getBoundingClientRect(),be.attr("width",U.width),be.attr("height",U.height)}const J=c.width<=U.width+c.padding?U.width+c.padding:c.width;c.width<=U.width+c.padding?c.diff=(J-c.width)/2-c.padding:c.diff=-c.padding;const X=c.height,rt=c.x-J/2,lt=c.y-X/2;Ae.trace("Data ",c,JSON.stringify(c));let xt;if(c.look==="handDrawn"){const Gt=Dr.svg(L),be=Fr(c,{roughness:.7,fill:k,stroke:p,fillWeight:3,seed:m}),Ze=Gt.path(np(rt,lt,J,X,0),be);xt=L.insert(()=>(Ae.debug("Rough node insert CXC",Ze),Ze),":first-child"),xt.select("path:nth-child(2)").attr("style",B.join(";")),xt.select("path").attr("style",A.join(";").replace("fill","stroke"))}else xt=L.insert("rect",":first-child"),xt.attr("style",E).attr("rx",c.rx).attr("ry",c.ry).attr("x",rt).attr("y",lt).attr("width",J).attr("height",X);const{subGraphTitleTopMargin:Mt}=UQ(d);if($.attr("transform",`translate(${c.x-U.width/2}, ${c.y-c.height/2+Mt})`),T){const Gt=$.select("span");Gt&&Gt.attr("style",T)}const Vt=xt.node().getBBox();return c.offsetX=0,c.width=Vt.width,c.height=Vt.height,c.offsetY=U.height-c.padding/2,c.intersect=function(Gt){return Z8(c,Gt)},{cluster:L,labelBBox:U}},"rect"),B1n=q((h,c)=>{const d=h.insert("g").attr("class","note-cluster").attr("id",c.domId),w=d.insert("rect",":first-child"),m=0*c.padding,k=m/2;w.attr("rx",c.rx).attr("ry",c.ry).attr("x",c.x-c.width/2-k).attr("y",c.y-c.height/2-k).attr("width",c.width+m).attr("height",c.height+m).attr("fill","none");const p=w.node().getBBox();return c.width=p.width,c.height=p.height,c.intersect=function(T){return Z8(c,T)},{cluster:d,labelBBox:{width:0,height:0}}},"noteGroup"),A1n=q(async(h,c)=>{const d=Ao(),{themeVariables:w,handDrawnSeed:m}=d,{altBackground:k,compositeBackground:p,compositeTitleBackground:T,nodeBorder:E}=w,B=h.insert("g").attr("class",c.cssClasses).attr("id",c.domId).attr("data-id",c.id).attr("data-look",c.look),A=B.insert("g",":first-child"),L=B.insert("g").attr("class","cluster-label");let I=B.append("rect");const $=await J4(L,c.label,c.labelStyle,void 0,!0);let P=$.getBBox();if(Gd(d)){const Ze=$.children[0],Fe=Rs($);P=Ze.getBoundingClientRect(),Fe.attr("width",P.width),Fe.attr("height",P.height)}const U=0*c.padding,J=U/2,X=(c.width<=P.width+c.padding?P.width+c.padding:c.width)+U;c.width<=P.width+c.padding?c.diff=(X-c.width)/2-c.padding:c.diff=-c.padding;const rt=c.height+U,lt=c.height+U-P.height-6,xt=c.x-X/2,Mt=c.y-rt/2;c.width=X;const Vt=c.y-c.height/2-J+P.height+2;let Gt;if(c.look==="handDrawn"){const Ze=c.cssClasses.includes("statediagram-cluster-alt"),Fe=Dr.svg(B),Me=c.rx||c.ry?Fe.path(np(xt,Mt,X,rt,10),{roughness:.7,fill:T,fillStyle:"solid",stroke:E,seed:m}):Fe.rectangle(xt,Mt,X,rt,{seed:m});Gt=B.insert(()=>Me,":first-child");const kn=Fe.rectangle(xt,Vt,X,lt,{fill:Ze?k:p,fillStyle:Ze?"hachure":"solid",stroke:E,seed:m});Gt=B.insert(()=>Me,":first-child"),I=B.insert(()=>kn)}else Gt=A.insert("rect",":first-child"),Gt.attr("class","outer").attr("x",xt).attr("y",Mt).attr("width",X).attr("height",rt).attr("data-look",c.look),I.attr("class","inner").attr("x",xt).attr("y",Vt).attr("width",X).attr("height",lt);L.attr("transform",`translate(${c.x-P.width/2}, ${Mt+1-(Gd(d)?0:3)})`);const be=Gt.node().getBBox();return c.height=be.height,c.offsetX=0,c.offsetY=P.height-c.padding/2,c.labelBBox=P,c.intersect=function(Ze){return Z8(c,Ze)},{cluster:B,labelBBox:P}},"roundedWithTitle"),M1n=q(async(h,c)=>{Ae.info("Creating subgraph rect for ",c.id,c);const d=Ao(),{themeVariables:w,handDrawnSeed:m}=d,{clusterBkg:k,clusterBorder:p}=w,{labelStyles:T,nodeStyles:E,borderStyles:B,backgroundStyles:A}=Wr(c),L=h.insert("g").attr("class","cluster "+c.cssClasses).attr("id",c.domId).attr("data-look",c.look),I=Gd(d),$=L.insert("g").attr("class","cluster-label "),P=await U2($,c.label,{style:c.labelStyle,useHtmlLabels:I,isNode:!0,width:c.width});let U=P.getBBox();if(Gd(d)){const Gt=P.children[0],be=Rs(P);U=Gt.getBoundingClientRect(),be.attr("width",U.width),be.attr("height",U.height)}const J=c.width<=U.width+c.padding?U.width+c.padding:c.width;c.width<=U.width+c.padding?c.diff=(J-c.width)/2-c.padding:c.diff=-c.padding;const X=c.height,rt=c.x-J/2,lt=c.y-X/2;Ae.trace("Data ",c,JSON.stringify(c));let xt;if(c.look==="handDrawn"){const Gt=Dr.svg(L),be=Fr(c,{roughness:.7,fill:k,stroke:p,fillWeight:4,seed:m}),Ze=Gt.path(np(rt,lt,J,X,c.rx),be);xt=L.insert(()=>(Ae.debug("Rough node insert CXC",Ze),Ze),":first-child"),xt.select("path:nth-child(2)").attr("style",B.join(";")),xt.select("path").attr("style",A.join(";").replace("fill","stroke"))}else xt=L.insert("rect",":first-child"),xt.attr("style",E).attr("rx",c.rx).attr("ry",c.ry).attr("x",rt).attr("y",lt).attr("width",J).attr("height",X);const{subGraphTitleTopMargin:Mt}=UQ(d);if($.attr("transform",`translate(${c.x-U.width/2}, ${c.y-c.height/2+Mt})`),T){const Gt=$.select("span");Gt&&Gt.attr("style",T)}const Vt=xt.node().getBBox();return c.offsetX=0,c.width=Vt.width,c.height=Vt.height,c.offsetY=U.height-c.padding/2,c.intersect=function(Gt){return Z8(c,Gt)},{cluster:L,labelBBox:U}},"kanbanSection"),L1n=q((h,c)=>{const d=Ao(),{themeVariables:w,handDrawnSeed:m}=d,{nodeBorder:k}=w,p=h.insert("g").attr("class",c.cssClasses).attr("id",c.domId).attr("data-look",c.look),T=p.insert("g",":first-child"),E=0*c.padding,B=c.width+E;c.diff=-c.padding;const A=c.height+E,L=c.x-B/2,I=c.y-A/2;c.width=B;let $;if(c.look==="handDrawn"){const J=Dr.svg(p).rectangle(L,I,B,A,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:k,seed:m});$=p.insert(()=>J,":first-child")}else{$=T.insert("rect",":first-child");let U="outer";c.look,U="divider",$.attr("class",U).attr("x",L).attr("y",I).attr("width",B).attr("height",A).attr("data-look",c.look)}const P=$.node().getBBox();return c.height=P.height,c.offsetX=0,c.offsetY=0,c.intersect=function(U){return Z8(c,U)},{cluster:p,labelBBox:{}}},"divider"),F1n=t5e,_1n={rect:t5e,squareRect:F1n,roundedWithTitle:A1n,noteGroup:B1n,divider:L1n,kanbanSection:M1n,swimlane:E1n},e5e=new Map,n5e=q(async(h,c)=>{const d=c.shape||"rect",w=await _1n[d](h,c);return e5e.set(c.id,w),w},"insertCluster"),O1n=q(()=>{e5e=new Map},"clear"),eD=q((h,c)=>{if(c)return"translate("+-h.width/2+", "+-h.height/2+")";const d=h.x??0,w=h.y??0;return"translate("+-(d+h.width/2)+", "+-(w+h.height/2)+")"},"computeLabelTransform"),Wd={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},cye={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function QB(h,c){if(h===void 0||c===void 0)return{angle:0,deltaX:0,deltaY:0};h=kl(h),c=kl(c);const[d,w]=[h.x,h.y],[m,k]=[c.x,c.y],p=m-d,T=k-w;return{angle:Math.atan(T/p),deltaX:p,deltaY:T}}O(QB,"calculateDeltaAndAngle");q(QB,"calculateDeltaAndAngle");var kl=q(h=>Array.isArray(h)?{x:h[0],y:h[1]}:h,"pointTransformer"),I1n=q(h=>({x:q(function(c,d,w){let m=0;const k=kl(w[0]).x<kl(w[w.length-1]).x?"left":"right";if(d===0&&Object.hasOwn(Wd,h.arrowTypeStart)){const{angle:$,deltaX:P}=QB(w[0],w[1]);m=Wd[h.arrowTypeStart]*Math.cos($)*(P>=0?1:-1)}else if(d===w.length-1&&Object.hasOwn(Wd,h.arrowTypeEnd)){const{angle:$,deltaX:P}=QB(w[w.length-1],w[w.length-2]);m=Wd[h.arrowTypeEnd]*Math.cos($)*(P>=0?1:-1)}const p=Math.abs(kl(c).x-kl(w[w.length-1]).x),T=Math.abs(kl(c).y-kl(w[w.length-1]).y),E=Math.abs(kl(c).x-kl(w[0]).x),B=Math.abs(kl(c).y-kl(w[0]).y),A=Wd[h.arrowTypeStart],L=Wd[h.arrowTypeEnd],I=1;if(p<L&&p>0&&T<L){let $=L+I-p;$*=k==="right"?-1:1,m-=$}if(E<A&&E>0&&B<A){let $=A+I-E;$*=k==="right"?-1:1,m+=$}return kl(c).x+m},"x"),y:q(function(c,d,w){let m=0;const k=kl(w[0]).y<kl(w[w.length-1]).y?"down":"up";if(d===0&&Object.hasOwn(Wd,h.arrowTypeStart)){const{angle:$,deltaY:P}=QB(w[0],w[1]);m=Wd[h.arrowTypeStart]*Math.abs(Math.sin($))*(P>=0?1:-1)}else if(d===w.length-1&&Object.hasOwn(Wd,h.arrowTypeEnd)){const{angle:$,deltaY:P}=QB(w[w.length-1],w[w.length-2]);m=Wd[h.arrowTypeEnd]*Math.abs(Math.sin($))*(P>=0?1:-1)}const p=Math.abs(kl(c).y-kl(w[w.length-1]).y),T=Math.abs(kl(c).x-kl(w[w.length-1]).x),E=Math.abs(kl(c).y-kl(w[0]).y),B=Math.abs(kl(c).x-kl(w[0]).x),A=Wd[h.arrowTypeStart],L=Wd[h.arrowTypeEnd],I=1;if(p<L&&p>0&&T<L){let $=L+I-p;$*=k==="up"?-1:1,m-=$}if(E<A&&E>0&&B<A){let $=A+I-E;$*=k==="up"?-1:1,m+=$}return kl(c).y+m},"y")}),"getLineFunctionsWithOffset"),P1n=q((h,c,d,w,m,k=!1,p)=>{c.arrowTypeStart&&aye(h,"start",c.arrowTypeStart,d,w,m,k,p),c.arrowTypeEnd&&aye(h,"end",c.arrowTypeEnd,d,w,m,k,p)},"addEdgeMarkers"),j1n={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},D1n=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],aye=q((h,c,d,w,m,k,p=!1,T)=>{var P;if(!d||d==="none")return;const E=j1n[d],B=E&&D1n.includes(E.type);if(!E){Ae.warn(`Unknown arrow type: ${d}`);return}const A=E.type,$=`${m}_${k}-${A}${c==="start"?"Start":"End"}${p&&B?"-margin":""}`;if(T&&T.trim()!==""){const U=T.replace(/[^\dA-Za-z]/g,"_"),J=`${$}_${U}`;if(!document.getElementById(J)){const X=document.getElementById($);if(X){const rt=X.cloneNode(!0);rt.id=J,rt.querySelectorAll("path, circle, line").forEach(xt=>{xt.setAttribute("stroke",T),E.fill&&xt.setAttribute("fill",T)}),(P=X.parentNode)==null||P.appendChild(rt)}}h.attr(`marker-${c}`,`url(${w}#${J})`)}else h.attr(`marker-${c}`,`url(${w}#${$})`)},"addEdgeMarker"),$1n=q(h=>{var c,d;return typeof h=="string"?h:(d=(c=Ao())==null?void 0:c.flowchart)==null?void 0:d.curve},"resolveEdgeCurveType"),EA=new Map,Uu=new Map,R1n=q(()=>{EA.clear(),Uu.clear()},"clear"),r5e=q(h=>!!(h.label||h.startLabelLeft||h.startLabelRight||h.endLabelLeft||h.endLabelRight),"hasEdgeLabel"),nD=q(h=>h?typeof h=="string"?h:h.reduce((c,d)=>c+";"+d,""):"","getLabelStyles"),Txt=q(async(h,c)=>{const d=Ao();let w=Gd(d);const{labelStyles:m}=Wr(c);c.labelStyle=m;const k=h.insert("g").attr("class","edgeLabel"),p=k.insert("g").attr("class","label").attr("data-id",c.id),T=c.labelType==="markdown",B=await U2(h,c.label,{style:nD(c.labelStyle),useHtmlLabels:w,addSvgBackground:!0,isNode:!1,markdown:T,width:T?void 0:void 0},d);p.node().appendChild(B),Ae.info("abc82",c,c.labelType);let A,L;if(w){const $=B.children[0],P=Rs(B);A=await q8.measure(()=>$.getBoundingClientRect()),L=A,P.attr("width",A.width),P.attr("height",A.height)}else{const $=Rs(B).select("text").node();await q8.measure(()=>{A=B.getBBox(),$&&typeof $.getBBox=="function"?L=$.getBBox():L=A})}p.attr("transform",eD(L,w)),EA.set(c.id,k),c.width=A.width,c.height=A.height;let I;if(c.startLabelLeft){const $=h.insert("g").attr("class","edgeTerminals"),P=$.insert("g").attr("class","inner"),U=await J4(P,c.startLabelLeft,nD(c.labelStyle)||"",!1,!1);I=U;let J=U.getBBox();if(w){const X=U.children[0],rt=Rs(U);J=X.getBoundingClientRect(),rt.attr("width",J.width),rt.attr("height",J.height)}P.attr("transform",eD(J,w)),Uu.get(c.id)||Uu.set(c.id,{}),Uu.get(c.id).startLeft=$,ZB(I,c.startLabelLeft)}if(c.startLabelRight){const $=h.insert("g").attr("class","edgeTerminals"),P=$.insert("g").attr("class","inner"),U=await J4(P,c.startLabelRight,nD(c.labelStyle)||"",!1,!1);I=U;let J=U.getBBox();if(w){const X=U.children[0],rt=Rs(U);J=X.getBoundingClientRect(),rt.attr("width",J.width),rt.attr("height",J.height)}P.attr("transform",eD(J,w)),Uu.get(c.id)||Uu.set(c.id,{}),Uu.get(c.id).startRight=$,ZB(I,c.startLabelRight)}if(c.endLabelLeft){const $=h.insert("g").attr("class","edgeTerminals"),P=$.insert("g").attr("class","inner"),U=await J4($,c.endLabelLeft,nD(c.labelStyle)||"",!1,!1);I=U;let J=U.getBBox();if(w){const X=U.children[0],rt=Rs(U);J=X.getBoundingClientRect(),rt.attr("width",J.width),rt.attr("height",J.height)}P.attr("transform",eD(J,w)),Uu.get(c.id)||Uu.set(c.id,{}),Uu.get(c.id).endLeft=$,ZB(I,c.endLabelLeft)}if(c.endLabelRight){const $=h.insert("g").attr("class","edgeTerminals"),P=$.insert("g").attr("class","inner"),U=await J4($,c.endLabelRight,nD(c.labelStyle)||"",!1,!1);I=U;let J=U.getBBox();if(w){const X=U.children[0],rt=Rs(U);J=X.getBoundingClientRect(),rt.attr("width",J.width),rt.attr("height",J.height)}P.attr("transform",eD(J,w)),Uu.get(c.id)||Uu.set(c.id,{}),Uu.get(c.id).endRight=$,ZB(I,c.endLabelRight)}return B},"insertEdgeLabel");function ZB(h,c){Gd(Ao())&&h&&(h.style.width=c.length*9+"px",h.style.height="12px")}O(ZB,"setTerminalWidth");q(ZB,"setTerminalWidth");var N1n=q((h,c)=>{Ae.debug("Moving label abc88 ",h.id,h.label,EA.get(h.id),c);let d=c.updatedPath?c.updatedPath:c.originalPath;const w=Ao(),{subGraphTitleTotalMargin:m}=UQ(w);if(h.label){const k=EA.get(h.id);let p=h.x,T=h.y;if(d){const E=Ud.calcLabelPosition(d);Ae.debug("Moving label "+h.label+" from (",p,",",T,") to (",E.x,",",E.y,") abc88"),c.updatedPath&&(p=E.x,T=E.y)}k.attr("transform",`translate(${p}, ${T+m/2})`)}if(h.startLabelLeft){const k=Uu.get(h.id).startLeft;let p=h.x,T=h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeStart?10:0,"start_left",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}if(h.startLabelRight){const k=Uu.get(h.id).startRight;let p=h.x,T=h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeStart?10:0,"start_right",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}if(h.endLabelLeft){const k=Uu.get(h.id).endLeft;let p=h.x,T=h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeEnd?10:0,"end_left",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}if(h.endLabelRight){const k=Uu.get(h.id).endRight;let p=h.x,T=h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeEnd?10:0,"end_right",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}},"positionEdgeLabel"),q1n=q((h,c)=>{var p;if(!(h!=null&&h.isLabelEdge)||!((p=h==null?void 0:h.id)!=null&&p.endsWith("-to-label"))||!Array.isArray(c)||c.length!==2)return c;const[d,w]=c,m=Math.abs(w.x-d.x),k=Math.abs(w.y-d.y);return m<.001||k<.001?c:k>=m?[d,{x:d.x,y:w.y},w]:[d,{x:w.x,y:d.y},w]},"orthogonalizeToLabelClippedPoints"),H1n=q((h,c)=>{const d=h.x,w=h.y,m=Math.abs(c.x-d),k=Math.abs(c.y-w),p=h.width/2,T=h.height/2;return m>=p||k>=T},"outsideNode"),K1n=q((h,c,d)=>{Ae.debug(`intersection calc abc89:
|
|
278
278
|
outsidePoint: ${JSON.stringify(c)}
|
|
279
279
|
insidePoint : ${JSON.stringify(d)}
|
|
280
|
-
node : x:${h.x} y:${h.y} w:${h.width} h:${h.height}`);const w=h.x,m=h.y,k=Math.abs(w-d.x),p=h.width/2;let T=d.x<c.x?p-k:p+k;const E=h.height/2,B=Math.abs(c.y-d.y),A=Math.abs(c.x-d.x);if(Math.abs(m-c.y)*p>Math.abs(w-c.x)*E){let L=d.y<c.y?c.y-E-m:m-E-c.y;T=A*L/B;const I={x:d.x<c.x?d.x+T:d.x-A+T,y:d.y<c.y?d.y+B-L:d.y-B+L};return T===0&&(I.x=c.x,I.y=c.y),A===0&&(I.x=c.x),B===0&&(I.y=c.y),Ae.debug(`abc89 top/bottom calc, Q ${B}, q ${L}, R ${A}, r ${T}`,I),I}else{d.x<c.x?T=c.x-p-w:T=w-p-c.x;let L=B*T/A,I=d.x<c.x?d.x+A-T:d.x-A+T,$=d.y<c.y?d.y+L:d.y-L;return Ae.debug(`sides calc abc89, Q ${B}, q ${L}, R ${A}, r ${T}`,{_x:I,_y:$}),T===0&&(I=c.x,$=c.y),A===0&&(I=c.x),B===0&&($=c.y),{x:I,y:$}}},"intersection"),lye=q((h,c)=>{Ae.warn("abc88 cutPathAtIntersect",h,c);let d=[],w=h[0],m=!1;return h.forEach(k=>{if(Ae.info("abc88 checking point",k,c),!H1n(c,k)&&!m){const p=K1n(c,w,k);Ae.debug("abc88 inside",k,w,p),Ae.debug("abc88 intersection",p,c);let T=!1;d.forEach(E=>{T=T||E.x===p.x&&E.y===p.y}),d.some(E=>E.x===p.x&&E.y===p.y)?Ae.warn("abc88 no intersect",p,d):d.push(p),m=!0}else Ae.warn("abc88 outside",k,w),w=k,m||d.push(k)}),Ae.debug("returning points",d),d},"cutPathAtIntersect");function Sxt(h){const c=[],d=[];for(let w=1;w<h.length-1;w++){const m=h[w-1],k=h[w],p=h[w+1];(m.x===k.x&&k.y===p.y&&Math.abs(k.x-p.x)>5&&Math.abs(k.y-m.y)>5||m.y===k.y&&k.x===p.x&&Math.abs(k.x-m.x)>5&&Math.abs(k.y-p.y)>5)&&(c.push(k),d.push(w))}return{cornerPoints:c,cornerPointPositions:d}}O(Sxt,"extractCornerPoints");q(Sxt,"extractCornerPoints");var uye=q(function(h,c,d){const w=c.x-h.x,m=c.y-h.y,k=Math.sqrt(w*w+m*m),p=d/k;return{x:c.x-p*w,y:c.y-p*m}},"findAdjacentPoint"),z1n=q(function(h){const{cornerPointPositions:c}=Sxt(h),d=[];for(let w=0;w<h.length;w++)if(c.includes(w)){const m=h[w-1],k=h[w+1],p=h[w],T=uye(m,p,5),E=uye(k,p,5),B=E.x-T.x,A=E.y-T.y;d.push(T);const L=Math.sqrt(2)*2;let I={x:p.x,y:p.y};if(Math.abs(k.x-m.x)>10&&Math.abs(k.y-m.y)>=10){Ae.debug("Corner point fixing",Math.abs(k.x-m.x),Math.abs(k.y-m.y));const $=5;p.x===T.x?I={x:B<0?T.x-$+L:T.x+$-L,y:A<0?T.y-L:T.y+L}:I={x:B<0?T.x-L:T.x+L,y:A<0?T.y-$+L:T.y+$-L}}else Ae.debug("Corner point skipping fixing",Math.abs(k.x-m.x),Math.abs(k.y-m.y));d.push(I,E)}else d.push(h[w]);return d},"fixCorners"),W1n=q((h,c,d)=>{const w=h-c-d,m=2,k=2,p=m+k,T=Math.floor(w/p),E=Number.isFinite(T)?Math.max(0,T):0,B=Array(E).fill(`${m} ${k}`).join(" ");return`0 ${c} ${B} ${d}`},"generateDashArray"),i5e=q(function(h,c,d,w,m,k,p,T=!1){var de;if(!p)throw new Error(`insertEdge: missing diagramId for edge "${c.id}" — edge IDs require a diagram prefix for uniqueness`);const{handDrawnSeed:E,layout:B}=Ao();let A=c.points,L=!1;const I=m;var $=k;const P=[];for(const Pe in c.cssCompiledStyles)Q4e(Pe)||P.push(c.cssCompiledStyles[Pe]);if(B==="swimlane"){if($.intersect&&I.intersect&&Array.isArray(A)&&A.length>=2)if(A.length===2)A=[I.intersect(A[0]),$.intersect(A[1])];else{const Pe=A.slice(1,-1),on=Pe[0],$n=Pe[Pe.length-1],xr=.5,_r=Math.abs(A[A.length-1].x-$n.x)<xr&&Math.abs(A[A.length-1].y-$n.y)<xr,Yr=I.intersect(on),Br=_r?$n:$.intersect($n),Ri=Math.abs(Br.x-$n.x)<xr&&Math.abs(Br.y-$n.y)<xr,Is=Math.abs(Yr.x-on.x)<xr&&Math.abs(Yr.y-on.y)<xr?[]:[Yr],hi=Ri?[]:[Br];A=[...Is,...Pe,...hi]}A=q1n(c,A)}else $.intersect&&I.intersect&&!T&&(A=A.slice(1,c.points.length-1),A.unshift(I.intersect(A[0])),A.push($.intersect(A[A.length-1])));const U=btoa(JSON.stringify(A));c.toCluster&&(Ae.info("to cluster abc88",d.get(c.toCluster)),A=lye(c.points,d.get(c.toCluster).node),L=!0),c.fromCluster&&(Ae.debug("from cluster abc88",d.get(c.fromCluster),JSON.stringify(A,null,2)),A=lye(A.reverse(),d.get(c.fromCluster).node).reverse(),L=!0);let J=A.filter(Pe=>!Number.isNaN(Pe.y));const X=$1n(c.curve);X!=="rounded"&&(J=z1n(J));let rt=aD;switch(X){case"linear":rt=aD;break;case"basis":rt=$3t;break;case"cardinal":rt=Qye;break;case"bumpX":rt=zye;break;case"bumpY":rt=Kye;break;case"catmullRom":rt=Jye;break;case"monotoneX":rt=Yye;break;case"monotoneY":rt=Vye;break;case"natural":rt=Xye;break;case"step":rt=Gye;break;case"stepAfter":rt=Uye;break;case"stepBefore":rt=Wye;break;case"rounded":rt=aD;break;default:rt=$3t}const{x:lt,y:xt}=I1n(c),Mt=orn().x(lt).y(xt).curve(rt);let Vt;switch(c.thickness){case"normal":Vt="edge-thickness-normal";break;case"thick":Vt="edge-thickness-thick";break;case"invisible":Vt="edge-thickness-invisible";break;default:Vt="edge-thickness-normal"}switch(c.pattern){case"solid":Vt+=" edge-pattern-solid";break;case"dotted":Vt+=" edge-pattern-dotted";break;case"dashed":Vt+=" edge-pattern-dashed";break;default:Vt+=" edge-pattern-solid"}let Gt,be=X==="rounded"?Ext(Bxt(J,c),5):Mt(J);const Ze=Array.isArray(c.style)?c.style:[c.style];let Fe=Ze.find(Pe=>Pe==null?void 0:Pe.startsWith("stroke:")),Me="";c.animate&&(Me="edge-animation-fast"),c.animation&&(Me="edge-animation-"+c.animation);let kn=!1;if(c.look==="handDrawn"){const Pe=Dr.svg(h);Object.assign([],J);const on=Pe.path(be,{roughness:.3,seed:E});Vt+=" transition",Gt=Rs(on).select("path").attr("id",`${p}-${c.id}`).attr("class"," "+Vt+(c.classes?" "+c.classes:"")+(Me?" "+Me:"")).attr("style",Ze?Ze.reduce((xr,_r)=>xr+";"+_r,""):"");let $n=Gt.attr("d");Gt.attr("d",$n),h.node().appendChild(Gt.node())}else{const Pe=P.join(";"),on=Ze?Ze.reduce((Ri,Oi)=>Ri+Oi+";",""):"",$n=(Pe?Pe+";"+on+";":on)+";"+(Ze?Ze.reduce((Ri,Oi)=>Ri+";"+Oi,""):"");Gt=h.append("path").attr("d",be).attr("id",`${p}-${c.id}`).attr("class"," "+Vt+(c.classes?" "+c.classes:"")+(Me?" "+Me:"")).attr("style",$n),Fe=(de=$n.match(/stroke:([^;]+)/))==null?void 0:de[1],kn=c.animate===!0||!!c.animation||Pe.includes("animation");const xr=Gt.node(),_r=typeof xr.getTotalLength=="function"?xr.getTotalLength():0,Yr=cye[c.arrowTypeStart]||0,Br=cye[c.arrowTypeEnd]||0;if(c.look==="neo"&&!kn){const Oi=`stroke-dasharray: ${c.pattern==="dotted"||c.pattern==="dashed"?W1n(_r,Yr,Br):`0 ${Yr} ${_r-Yr-Br} ${Br}`}; stroke-dashoffset: 0;`;Gt.attr("style",Oi+Gt.attr("style"))}}Gt.attr("data-edge",!0),Gt.attr("data-et","edge"),Gt.attr("data-id",c.id),Gt.attr("data-points",U),Gt.attr("data-look",Gu(c.look)),c.showPoints&&J.forEach(Pe=>{h.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",Pe.x).attr("cy",Pe.y)});let Y="";(Ao().flowchart.arrowMarkerAbsolute||Ao().state.arrowMarkerAbsolute)&&(Y=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,Y=Y.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),Ae.info("arrowTypeStart",c.arrowTypeStart),Ae.info("arrowTypeEnd",c.arrowTypeEnd);const ce=!kn&&(c==null?void 0:c.look)==="neo";P1n(Gt,c,Y,p,w,ce,Fe);const oe=Math.floor(A.length/2),Ot=A[oe];Ud.isLabelCoordinateInPath(Ot,Gt.attr("d"))||(L=!0);let we={};return L&&(we.updatedPath=A),we.originalPath=c.points,we},"insertEdge");function Ext(h,c){if(h.length<2)return"";let d="";const w=h.length,m=1e-5;for(let k=0;k<w;k++){const p=h[k],T=h[k-1],E=h[k+1];if(k===0)d+=`M${p.x},${p.y}`;else if(k===w-1)d+=`L${p.x},${p.y}`;else{const B=p.x-T.x,A=p.y-T.y,L=E.x-p.x,I=E.y-p.y,$=Math.hypot(B,A),P=Math.hypot(L,I);if($<m||P<m){d+=`L${p.x},${p.y}`;continue}const U=B/$,J=A/$,X=L/P,rt=I/P,lt=U*X+J*rt,xt=Math.max(-1,Math.min(1,lt)),Mt=Math.acos(xt);if(Mt<m||Math.abs(Math.PI-Mt)<m){d+=`L${p.x},${p.y}`;continue}const Vt=Math.min(c/Math.sin(Mt/2),$/2,P/2),Gt=p.x-U*Vt,be=p.y-J*Vt,Ze=p.x+X*Vt,Fe=p.y+rt*Vt;d+=`L${Gt},${be}`,d+=`Q${p.x},${p.y} ${Ze},${Fe}`}}return d}O(Ext,"generateRoundedPath");q(Ext,"generateRoundedPath");function ZJ(h,c){if(!h||!c)return{angle:0,deltaX:0,deltaY:0};const d=c.x-h.x,w=c.y-h.y;return{angle:Math.atan2(w,d),deltaX:d,deltaY:w}}O(ZJ,"calculateDeltaAndAngle2");q(ZJ,"calculateDeltaAndAngle");function Bxt(h,c){const d=h.map(m=>({...m}));if(h.length>=2&&Wd[c.arrowTypeStart]){const m=Wd[c.arrowTypeStart],k=h[0],p=h[1],{angle:T}=ZJ(k,p),E=m*Math.cos(T),B=m*Math.sin(T);d[0].x=k.x+E,d[0].y=k.y+B}const w=h.length;if(w>=2&&Wd[c.arrowTypeEnd]){const m=Wd[c.arrowTypeEnd],k=h[w-1],p=h[w-2],{angle:T}=ZJ(p,k),E=m*Math.cos(T),B=m*Math.sin(T);d[w-1].x=k.x-E,d[w-1].y=k.y-B}return d}O(Bxt,"applyMarkerOffsetsToPoints");q(Bxt,"applyMarkerOffsetsToPoints");var U1n=q((h,c,d,w)=>{c.forEach(m=>{bgn[m](h,d,w)})},"insertMarkers"),G1n=q((h,c,d)=>{Ae.trace("Making markers for ",d),h.append("defs").append("marker").attr("id",d+"_"+c+"-extensionStart").attr("class","marker extension "+c).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,7 L18,13 V 1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-extensionEnd").attr("class","marker extension "+c).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),h.append("marker").attr("id",d+"_"+c+"-extensionStart-margin").attr("class","marker extension "+c).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,7 18,13 18,1").style("stroke-width",2).style("stroke-dasharray","0"),h.append("defs").append("marker").attr("id",d+"_"+c+"-extensionEnd-margin").attr("class","marker extension "+c).attr("refX",9).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,1 10,13 18,7").style("stroke-width",2).style("stroke-dasharray","0")},"extension"),X1n=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-compositionStart").attr("class","marker composition "+c).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-compositionEnd").attr("class","marker composition "+c).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-compositionStart-margin").attr("class","marker composition "+c).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("viewBox","0 0 15 15").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-compositionEnd-margin").attr("class","marker composition "+c).attr("refX",3.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),V1n=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-aggregationStart").attr("class","marker aggregation "+c).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-aggregationEnd").attr("class","marker aggregation "+c).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-aggregationStart-margin").attr("class","marker aggregation "+c).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-aggregationEnd-margin").attr("class","marker aggregation "+c).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),Y1n=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-dependencyStart").attr("class","marker dependency "+c).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-dependencyEnd").attr("class","marker dependency "+c).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-dependencyStart-margin").attr("class","marker dependency "+c).attr("refX",4).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-dependencyEnd-margin").attr("class","marker dependency "+c).attr("refX",16).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),J1n=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-lollipopStart").attr("class","marker lollipop "+c).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),h.append("defs").append("marker").attr("id",d+"_"+c+"-lollipopEnd").attr("class","marker lollipop "+c).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),h.append("defs").append("marker").attr("id",d+"_"+c+"-lollipopStart-margin").attr("class","marker lollipop "+c).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2),h.append("defs").append("marker").attr("id",d+"_"+c+"-lollipopEnd-margin").attr("class","marker lollipop "+c).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2)},"lollipop"),Q1n=q((h,c,d)=>{h.append("marker").attr("id",d+"_"+c+"-pointEnd").attr("class","marker "+c).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-pointStart").attr("class","marker "+c).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-pointEnd-margin").attr("class","marker "+c).attr("viewBox","0 0 11.5 14").attr("refX",11.5).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10.5).attr("markerHeight",14).attr("orient","auto").append("path").attr("d","M 0 0 L 11.5 7 L 0 14 z").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-pointStart-margin").attr("class","marker "+c).attr("viewBox","0 0 11.5 14").attr("refX",1).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11.5).attr("markerHeight",14).attr("orient","auto").append("polygon").attr("points","0,7 11.5,14 11.5,0").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"point"),Z1n=q((h,c,d)=>{h.append("marker").attr("id",d+"_"+c+"-circleEnd").attr("class","marker "+c).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-circleStart").attr("class","marker "+c).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-circleEnd-margin").attr("class","marker "+c).attr("viewBox","0 0 10 10").attr("refY",5).attr("refX",12.25).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-circleStart-margin").attr("class","marker "+c).attr("viewBox","0 0 10 10").attr("refX",-2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"circle"),tgn=q((h,c,d)=>{h.append("marker").attr("id",d+"_"+c+"-crossEnd").attr("class","marker cross "+c).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-crossStart").attr("class","marker cross "+c).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-crossEnd-margin").attr("class","marker cross "+c).attr("viewBox","0 0 15 15").attr("refX",17.7).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5),h.append("marker").attr("id",d+"_"+c+"-crossStart-margin").attr("class","marker cross "+c).attr("viewBox","0 0 15 15").attr("refX",-3.5).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5).style("stroke-dasharray","1,0")},"cross"),egn=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),ngn=q((h,c,d)=>{const w=Cl(),{themeVariables:m}=w,{transitionColor:k}=m;h.append("defs").append("marker").attr("id",d+"_"+c+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-barbEnd-margin").attr("refX",17).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z").attr("fill",`${k}`)},"barbNeo"),rgn=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-onlyOneStart").attr("class","marker onlyOne "+c).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),h.append("defs").append("marker").attr("id",d+"_"+c+"-onlyOneEnd").attr("class","marker onlyOne "+c).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),ign=q((h,c,d)=>{const w=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrOneStart").attr("class","marker zeroOrOne "+c).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");w.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),w.append("path").attr("d","M9,0 L9,18");const m=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+c).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");m.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),m.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),sgn=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-oneOrMoreStart").attr("class","marker oneOrMore "+c).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),h.append("defs").append("marker").attr("id",d+"_"+c+"-oneOrMoreEnd").attr("class","marker oneOrMore "+c).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),ogn=q((h,c,d)=>{const w=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+c).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");w.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),w.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");const m=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+c).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");m.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),m.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),cgn=q((h,c,d)=>{const w=Cl(),{themeVariables:m}=w,{strokeWidth:k}=m;h.append("defs").append("marker").attr("id",d+"_"+c+"-onlyOneStart").attr("class","marker onlyOne "+c).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M9,0 L9,18 M15,0 L15,18").attr("stroke-width",`${k}`),h.append("defs").append("marker").attr("id",d+"_"+c+"-onlyOneEnd").attr("class","marker onlyOne "+c).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M3,0 L3,18 M9,0 L9,18").attr("stroke-width",`${k}`)},"only_one_neo"),agn=q((h,c,d)=>{const w=Cl(),{themeVariables:m}=w,{strokeWidth:k,mainBkg:p}=m,T=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrOneStart").attr("class","marker zeroOrOne "+c).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse");T.append("circle").attr("fill",p??"white").attr("cx",21).attr("cy",9).attr("stroke-width",`${k}`).attr("r",6),T.append("path").attr("d","M9,0 L9,18").attr("stroke-width",`${k}`);const E=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+c).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("markerUnits","userSpaceOnUse").attr("orient","auto");E.append("circle").attr("fill",p??"white").attr("cx",9).attr("cy",9).attr("stroke-width",`${k}`).attr("r",6),E.append("path").attr("d","M21,0 L21,18").attr("stroke-width",`${k}`)},"zero_or_one_neo"),lgn=q((h,c,d)=>{const w=Cl(),{themeVariables:m}=w,{strokeWidth:k}=m;h.append("defs").append("marker").attr("id",d+"_"+c+"-oneOrMoreStart").attr("class","marker oneOrMore "+c).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width",`${k}`),h.append("defs").append("marker").attr("id",d+"_"+c+"-oneOrMoreEnd").attr("class","marker oneOrMore "+c).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width",`${k}`)},"one_or_more_neo"),ugn=q((h,c,d)=>{const w=Cl(),{themeVariables:m}=w,{strokeWidth:k,mainBkg:p}=m,T=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+c).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto");T.append("circle").attr("fill",p??"white").attr("cx",45.5).attr("cy",18).attr("r",6).attr("stroke-width",`${k}`),T.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width",`${k}`);const E=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+c).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse");E.append("circle").attr("fill",p??"white").attr("cx",11).attr("cy",18).attr("r",6).attr("stroke-width",`${k}`),E.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width",`${k}`)},"zero_or_more_neo"),hgn=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0
|
|
280
|
+
node : x:${h.x} y:${h.y} w:${h.width} h:${h.height}`);const w=h.x,m=h.y,k=Math.abs(w-d.x),p=h.width/2;let T=d.x<c.x?p-k:p+k;const E=h.height/2,B=Math.abs(c.y-d.y),A=Math.abs(c.x-d.x);if(Math.abs(m-c.y)*p>Math.abs(w-c.x)*E){let L=d.y<c.y?c.y-E-m:m-E-c.y;T=A*L/B;const I={x:d.x<c.x?d.x+T:d.x-A+T,y:d.y<c.y?d.y+B-L:d.y-B+L};return T===0&&(I.x=c.x,I.y=c.y),A===0&&(I.x=c.x),B===0&&(I.y=c.y),Ae.debug(`abc89 top/bottom calc, Q ${B}, q ${L}, R ${A}, r ${T}`,I),I}else{d.x<c.x?T=c.x-p-w:T=w-p-c.x;let L=B*T/A,I=d.x<c.x?d.x+A-T:d.x-A+T,$=d.y<c.y?d.y+L:d.y-L;return Ae.debug(`sides calc abc89, Q ${B}, q ${L}, R ${A}, r ${T}`,{_x:I,_y:$}),T===0&&(I=c.x,$=c.y),A===0&&(I=c.x),B===0&&($=c.y),{x:I,y:$}}},"intersection"),lye=q((h,c)=>{Ae.warn("abc88 cutPathAtIntersect",h,c);let d=[],w=h[0],m=!1;return h.forEach(k=>{if(Ae.info("abc88 checking point",k,c),!H1n(c,k)&&!m){const p=K1n(c,w,k);Ae.debug("abc88 inside",k,w,p),Ae.debug("abc88 intersection",p,c);let T=!1;d.forEach(E=>{T=T||E.x===p.x&&E.y===p.y}),d.some(E=>E.x===p.x&&E.y===p.y)?Ae.warn("abc88 no intersect",p,d):d.push(p),m=!0}else Ae.warn("abc88 outside",k,w),w=k,m||d.push(k)}),Ae.debug("returning points",d),d},"cutPathAtIntersect");function Sxt(h){const c=[],d=[];for(let w=1;w<h.length-1;w++){const m=h[w-1],k=h[w],p=h[w+1];(m.x===k.x&&k.y===p.y&&Math.abs(k.x-p.x)>5&&Math.abs(k.y-m.y)>5||m.y===k.y&&k.x===p.x&&Math.abs(k.x-m.x)>5&&Math.abs(k.y-p.y)>5)&&(c.push(k),d.push(w))}return{cornerPoints:c,cornerPointPositions:d}}O(Sxt,"extractCornerPoints");q(Sxt,"extractCornerPoints");var uye=q(function(h,c,d){const w=c.x-h.x,m=c.y-h.y,k=Math.sqrt(w*w+m*m),p=d/k;return{x:c.x-p*w,y:c.y-p*m}},"findAdjacentPoint"),z1n=q(function(h){const{cornerPointPositions:c}=Sxt(h),d=[];for(let w=0;w<h.length;w++)if(c.includes(w)){const m=h[w-1],k=h[w+1],p=h[w],T=uye(m,p,5),E=uye(k,p,5),B=E.x-T.x,A=E.y-T.y;d.push(T);const L=Math.sqrt(2)*2;let I={x:p.x,y:p.y};if(Math.abs(k.x-m.x)>10&&Math.abs(k.y-m.y)>=10){Ae.debug("Corner point fixing",Math.abs(k.x-m.x),Math.abs(k.y-m.y));const $=5;p.x===T.x?I={x:B<0?T.x-$+L:T.x+$-L,y:A<0?T.y-L:T.y+L}:I={x:B<0?T.x-L:T.x+L,y:A<0?T.y-$+L:T.y+$-L}}else Ae.debug("Corner point skipping fixing",Math.abs(k.x-m.x),Math.abs(k.y-m.y));d.push(I,E)}else d.push(h[w]);return d},"fixCorners"),W1n=q((h,c,d)=>{const w=h-c-d,m=2,k=2,p=m+k,T=Math.floor(w/p),E=Number.isFinite(T)?Math.max(0,T):0,B=Array(E).fill(`${m} ${k}`).join(" ");return`0 ${c} ${B} ${d}`},"generateDashArray"),i5e=q(function(h,c,d,w,m,k,p,T=!1){var de;if(!p)throw new Error(`insertEdge: missing diagramId for edge "${c.id}" — edge IDs require a diagram prefix for uniqueness`);const{handDrawnSeed:E,layout:B}=Ao();let A=c.points,L=!1;const I=m;var $=k;const P=[];for(const Pe in c.cssCompiledStyles)Q4e(Pe)||P.push(c.cssCompiledStyles[Pe]);if(B==="swimlane"){if($.intersect&&I.intersect&&Array.isArray(A)&&A.length>=2)if(A.length===2)A=[I.intersect(A[0]),$.intersect(A[1])];else{const Pe=A.slice(1,-1),on=Pe[0],$n=Pe[Pe.length-1],xr=.5,_r=Math.abs(A[A.length-1].x-$n.x)<xr&&Math.abs(A[A.length-1].y-$n.y)<xr,Yr=I.intersect(on),Br=_r?$n:$.intersect($n),Ri=Math.abs(Br.x-$n.x)<xr&&Math.abs(Br.y-$n.y)<xr,Is=Math.abs(Yr.x-on.x)<xr&&Math.abs(Yr.y-on.y)<xr?[]:[Yr],hi=Ri?[]:[Br];A=[...Is,...Pe,...hi]}A=q1n(c,A)}else $.intersect&&I.intersect&&!T&&(A=A.slice(1,c.points.length-1),A.unshift(I.intersect(A[0])),A.push($.intersect(A[A.length-1])));const U=btoa(JSON.stringify(A));c.toCluster&&(Ae.info("to cluster abc88",d.get(c.toCluster)),A=lye(c.points,d.get(c.toCluster).node),L=!0),c.fromCluster&&(Ae.debug("from cluster abc88",d.get(c.fromCluster),JSON.stringify(A,null,2)),A=lye(A.reverse(),d.get(c.fromCluster).node).reverse(),L=!0);let J=A.filter(Pe=>!Number.isNaN(Pe.y));const X=$1n(c.curve);X!=="rounded"&&(J=z1n(J));let rt=aD;switch(X){case"linear":rt=aD;break;case"basis":rt=$3t;break;case"cardinal":rt=Yye;break;case"bumpX":rt=Qye;break;case"bumpY":rt=Jye;break;case"catmullRom":rt=Vye;break;case"monotoneX":rt=Xye;break;case"monotoneY":rt=Gye;break;case"natural":rt=Uye;break;case"step":rt=Wye;break;case"stepAfter":rt=zye;break;case"stepBefore":rt=Kye;break;case"rounded":rt=aD;break;default:rt=$3t}const{x:lt,y:xt}=I1n(c),Mt=orn().x(lt).y(xt).curve(rt);let Vt;switch(c.thickness){case"normal":Vt="edge-thickness-normal";break;case"thick":Vt="edge-thickness-thick";break;case"invisible":Vt="edge-thickness-invisible";break;default:Vt="edge-thickness-normal"}switch(c.pattern){case"solid":Vt+=" edge-pattern-solid";break;case"dotted":Vt+=" edge-pattern-dotted";break;case"dashed":Vt+=" edge-pattern-dashed";break;default:Vt+=" edge-pattern-solid"}let Gt,be=X==="rounded"?Ext(Bxt(J,c),5):Mt(J);const Ze=Array.isArray(c.style)?c.style:[c.style];let Fe=Ze.find(Pe=>Pe==null?void 0:Pe.startsWith("stroke:")),Me="";c.animate&&(Me="edge-animation-fast"),c.animation&&(Me="edge-animation-"+c.animation);let kn=!1;if(c.look==="handDrawn"){const Pe=Dr.svg(h);Object.assign([],J);const on=Pe.path(be,{roughness:.3,seed:E});Vt+=" transition",Gt=Rs(on).select("path").attr("id",`${p}-${c.id}`).attr("class"," "+Vt+(c.classes?" "+c.classes:"")+(Me?" "+Me:"")).attr("style",Ze?Ze.reduce((xr,_r)=>xr+";"+_r,""):"");let $n=Gt.attr("d");Gt.attr("d",$n),h.node().appendChild(Gt.node())}else{const Pe=P.join(";"),on=Ze?Ze.reduce((Ri,Oi)=>Ri+Oi+";",""):"",$n=(Pe?Pe+";"+on+";":on)+";"+(Ze?Ze.reduce((Ri,Oi)=>Ri+";"+Oi,""):"");Gt=h.append("path").attr("d",be).attr("id",`${p}-${c.id}`).attr("class"," "+Vt+(c.classes?" "+c.classes:"")+(Me?" "+Me:"")).attr("style",$n),Fe=(de=$n.match(/stroke:([^;]+)/))==null?void 0:de[1],kn=c.animate===!0||!!c.animation||Pe.includes("animation");const xr=Gt.node(),_r=typeof xr.getTotalLength=="function"?xr.getTotalLength():0,Yr=cye[c.arrowTypeStart]||0,Br=cye[c.arrowTypeEnd]||0;if(c.look==="neo"&&!kn){const Oi=`stroke-dasharray: ${c.pattern==="dotted"||c.pattern==="dashed"?W1n(_r,Yr,Br):`0 ${Yr} ${_r-Yr-Br} ${Br}`}; stroke-dashoffset: 0;`;Gt.attr("style",Oi+Gt.attr("style"))}}Gt.attr("data-edge",!0),Gt.attr("data-et","edge"),Gt.attr("data-id",c.id),Gt.attr("data-points",U),Gt.attr("data-look",Gu(c.look)),c.showPoints&&J.forEach(Pe=>{h.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",Pe.x).attr("cy",Pe.y)});let Y="";(Ao().flowchart.arrowMarkerAbsolute||Ao().state.arrowMarkerAbsolute)&&(Y=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,Y=Y.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),Ae.info("arrowTypeStart",c.arrowTypeStart),Ae.info("arrowTypeEnd",c.arrowTypeEnd);const ce=!kn&&(c==null?void 0:c.look)==="neo";P1n(Gt,c,Y,p,w,ce,Fe);const oe=Math.floor(A.length/2),Ot=A[oe];Ud.isLabelCoordinateInPath(Ot,Gt.attr("d"))||(L=!0);let we={};return L&&(we.updatedPath=A),we.originalPath=c.points,we},"insertEdge");function Ext(h,c){if(h.length<2)return"";let d="";const w=h.length,m=1e-5;for(let k=0;k<w;k++){const p=h[k],T=h[k-1],E=h[k+1];if(k===0)d+=`M${p.x},${p.y}`;else if(k===w-1)d+=`L${p.x},${p.y}`;else{const B=p.x-T.x,A=p.y-T.y,L=E.x-p.x,I=E.y-p.y,$=Math.hypot(B,A),P=Math.hypot(L,I);if($<m||P<m){d+=`L${p.x},${p.y}`;continue}const U=B/$,J=A/$,X=L/P,rt=I/P,lt=U*X+J*rt,xt=Math.max(-1,Math.min(1,lt)),Mt=Math.acos(xt);if(Mt<m||Math.abs(Math.PI-Mt)<m){d+=`L${p.x},${p.y}`;continue}const Vt=Math.min(c/Math.sin(Mt/2),$/2,P/2),Gt=p.x-U*Vt,be=p.y-J*Vt,Ze=p.x+X*Vt,Fe=p.y+rt*Vt;d+=`L${Gt},${be}`,d+=`Q${p.x},${p.y} ${Ze},${Fe}`}}return d}O(Ext,"generateRoundedPath");q(Ext,"generateRoundedPath");function ZJ(h,c){if(!h||!c)return{angle:0,deltaX:0,deltaY:0};const d=c.x-h.x,w=c.y-h.y;return{angle:Math.atan2(w,d),deltaX:d,deltaY:w}}O(ZJ,"calculateDeltaAndAngle2");q(ZJ,"calculateDeltaAndAngle");function Bxt(h,c){const d=h.map(m=>({...m}));if(h.length>=2&&Wd[c.arrowTypeStart]){const m=Wd[c.arrowTypeStart],k=h[0],p=h[1],{angle:T}=ZJ(k,p),E=m*Math.cos(T),B=m*Math.sin(T);d[0].x=k.x+E,d[0].y=k.y+B}const w=h.length;if(w>=2&&Wd[c.arrowTypeEnd]){const m=Wd[c.arrowTypeEnd],k=h[w-1],p=h[w-2],{angle:T}=ZJ(p,k),E=m*Math.cos(T),B=m*Math.sin(T);d[w-1].x=k.x-E,d[w-1].y=k.y-B}return d}O(Bxt,"applyMarkerOffsetsToPoints");q(Bxt,"applyMarkerOffsetsToPoints");var U1n=q((h,c,d,w)=>{c.forEach(m=>{bgn[m](h,d,w)})},"insertMarkers"),G1n=q((h,c,d)=>{Ae.trace("Making markers for ",d),h.append("defs").append("marker").attr("id",d+"_"+c+"-extensionStart").attr("class","marker extension "+c).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,7 L18,13 V 1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-extensionEnd").attr("class","marker extension "+c).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),h.append("marker").attr("id",d+"_"+c+"-extensionStart-margin").attr("class","marker extension "+c).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,7 18,13 18,1").style("stroke-width",2).style("stroke-dasharray","0"),h.append("defs").append("marker").attr("id",d+"_"+c+"-extensionEnd-margin").attr("class","marker extension "+c).attr("refX",9).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,1 10,13 18,7").style("stroke-width",2).style("stroke-dasharray","0")},"extension"),X1n=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-compositionStart").attr("class","marker composition "+c).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-compositionEnd").attr("class","marker composition "+c).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-compositionStart-margin").attr("class","marker composition "+c).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("viewBox","0 0 15 15").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-compositionEnd-margin").attr("class","marker composition "+c).attr("refX",3.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),V1n=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-aggregationStart").attr("class","marker aggregation "+c).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-aggregationEnd").attr("class","marker aggregation "+c).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-aggregationStart-margin").attr("class","marker aggregation "+c).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-aggregationEnd-margin").attr("class","marker aggregation "+c).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),Y1n=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-dependencyStart").attr("class","marker dependency "+c).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-dependencyEnd").attr("class","marker dependency "+c).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-dependencyStart-margin").attr("class","marker dependency "+c).attr("refX",4).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-dependencyEnd-margin").attr("class","marker dependency "+c).attr("refX",16).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),J1n=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-lollipopStart").attr("class","marker lollipop "+c).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),h.append("defs").append("marker").attr("id",d+"_"+c+"-lollipopEnd").attr("class","marker lollipop "+c).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),h.append("defs").append("marker").attr("id",d+"_"+c+"-lollipopStart-margin").attr("class","marker lollipop "+c).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2),h.append("defs").append("marker").attr("id",d+"_"+c+"-lollipopEnd-margin").attr("class","marker lollipop "+c).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2)},"lollipop"),Q1n=q((h,c,d)=>{h.append("marker").attr("id",d+"_"+c+"-pointEnd").attr("class","marker "+c).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-pointStart").attr("class","marker "+c).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-pointEnd-margin").attr("class","marker "+c).attr("viewBox","0 0 11.5 14").attr("refX",11.5).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10.5).attr("markerHeight",14).attr("orient","auto").append("path").attr("d","M 0 0 L 11.5 7 L 0 14 z").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-pointStart-margin").attr("class","marker "+c).attr("viewBox","0 0 11.5 14").attr("refX",1).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11.5).attr("markerHeight",14).attr("orient","auto").append("polygon").attr("points","0,7 11.5,14 11.5,0").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"point"),Z1n=q((h,c,d)=>{h.append("marker").attr("id",d+"_"+c+"-circleEnd").attr("class","marker "+c).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-circleStart").attr("class","marker "+c).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-circleEnd-margin").attr("class","marker "+c).attr("viewBox","0 0 10 10").attr("refY",5).attr("refX",12.25).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-circleStart-margin").attr("class","marker "+c).attr("viewBox","0 0 10 10").attr("refX",-2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"circle"),tgn=q((h,c,d)=>{h.append("marker").attr("id",d+"_"+c+"-crossEnd").attr("class","marker cross "+c).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-crossStart").attr("class","marker cross "+c).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),h.append("marker").attr("id",d+"_"+c+"-crossEnd-margin").attr("class","marker cross "+c).attr("viewBox","0 0 15 15").attr("refX",17.7).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5),h.append("marker").attr("id",d+"_"+c+"-crossStart-margin").attr("class","marker cross "+c).attr("viewBox","0 0 15 15").attr("refX",-3.5).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5).style("stroke-dasharray","1,0")},"cross"),egn=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),ngn=q((h,c,d)=>{const w=Cl(),{themeVariables:m}=w,{transitionColor:k}=m;h.append("defs").append("marker").attr("id",d+"_"+c+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z"),h.append("defs").append("marker").attr("id",d+"_"+c+"-barbEnd-margin").attr("refX",17).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z").attr("fill",`${k}`)},"barbNeo"),rgn=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-onlyOneStart").attr("class","marker onlyOne "+c).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),h.append("defs").append("marker").attr("id",d+"_"+c+"-onlyOneEnd").attr("class","marker onlyOne "+c).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),ign=q((h,c,d)=>{const w=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrOneStart").attr("class","marker zeroOrOne "+c).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");w.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),w.append("path").attr("d","M9,0 L9,18");const m=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+c).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");m.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),m.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),sgn=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-oneOrMoreStart").attr("class","marker oneOrMore "+c).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),h.append("defs").append("marker").attr("id",d+"_"+c+"-oneOrMoreEnd").attr("class","marker oneOrMore "+c).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),ogn=q((h,c,d)=>{const w=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+c).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");w.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),w.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");const m=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+c).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");m.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),m.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),cgn=q((h,c,d)=>{const w=Cl(),{themeVariables:m}=w,{strokeWidth:k}=m;h.append("defs").append("marker").attr("id",d+"_"+c+"-onlyOneStart").attr("class","marker onlyOne "+c).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M9,0 L9,18 M15,0 L15,18").attr("stroke-width",`${k}`),h.append("defs").append("marker").attr("id",d+"_"+c+"-onlyOneEnd").attr("class","marker onlyOne "+c).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M3,0 L3,18 M9,0 L9,18").attr("stroke-width",`${k}`)},"only_one_neo"),agn=q((h,c,d)=>{const w=Cl(),{themeVariables:m}=w,{strokeWidth:k,mainBkg:p}=m,T=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrOneStart").attr("class","marker zeroOrOne "+c).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse");T.append("circle").attr("fill",p??"white").attr("cx",21).attr("cy",9).attr("stroke-width",`${k}`).attr("r",6),T.append("path").attr("d","M9,0 L9,18").attr("stroke-width",`${k}`);const E=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+c).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("markerUnits","userSpaceOnUse").attr("orient","auto");E.append("circle").attr("fill",p??"white").attr("cx",9).attr("cy",9).attr("stroke-width",`${k}`).attr("r",6),E.append("path").attr("d","M21,0 L21,18").attr("stroke-width",`${k}`)},"zero_or_one_neo"),lgn=q((h,c,d)=>{const w=Cl(),{themeVariables:m}=w,{strokeWidth:k}=m;h.append("defs").append("marker").attr("id",d+"_"+c+"-oneOrMoreStart").attr("class","marker oneOrMore "+c).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width",`${k}`),h.append("defs").append("marker").attr("id",d+"_"+c+"-oneOrMoreEnd").attr("class","marker oneOrMore "+c).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width",`${k}`)},"one_or_more_neo"),ugn=q((h,c,d)=>{const w=Cl(),{themeVariables:m}=w,{strokeWidth:k,mainBkg:p}=m,T=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+c).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto");T.append("circle").attr("fill",p??"white").attr("cx",45.5).attr("cy",18).attr("r",6).attr("stroke-width",`${k}`),T.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width",`${k}`);const E=h.append("defs").append("marker").attr("id",d+"_"+c+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+c).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse");E.append("circle").attr("fill",p??"white").attr("cx",11).attr("cy",18).attr("r",6).attr("stroke-width",`${k}`),E.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width",`${k}`)},"zero_or_more_neo"),hgn=q((h,c,d)=>{h.append("defs").append("marker").attr("id",d+"_"+c+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0
|
|
281
281
|
L20,10
|
|
282
282
|
M20,10
|
|
283
283
|
L0,20`)},"requirement_arrow"),fgn=q((h,c,d)=>{const w=Cl(),{themeVariables:m}=w,{strokeWidth:k}=m;h.append("defs").append("marker").attr("id",d+"_"+c+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${k}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
|
|
284
284
|
L20,10
|
|
285
285
|
M20,10
|
|
286
|
-
L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),dgn=q((h,c,d)=>{const w=h.append("defs").append("marker").attr("id",d+"_"+c+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");w.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),w.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),w.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),ggn=q((h,c,d)=>{const w=Cl(),{themeVariables:m}=w,{strokeWidth:k}=m,p=h.append("defs").append("marker").attr("id",d+"_"+c+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");p.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),p.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),p.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),p.selectAll("*").attr("stroke-width",`${k}`)},"requirement_contains_neo"),bgn={extension:G1n,composition:X1n,aggregation:V1n,dependency:Y1n,lollipop:J1n,point:Q1n,circle:Z1n,cross:tgn,barb:egn,barbNeo:ngn,only_one:rgn,zero_or_one:ign,one_or_more:sgn,zero_or_more:ogn,only_one_neo:cgn,zero_or_one_neo:agn,one_or_more_neo:lgn,zero_or_more_neo:ugn,requirement_arrow:hgn,requirement_contains:dgn,requirement_arrow_neo:fgn,requirement_contains_neo:ggn},s5e=U1n;function Axt(h,{edgePathsClass:c="edges edgePath"}={}){const d=h.insert("g").attr("class","root"),w=d.insert("g").attr("class","clusters"),m=d.insert("g").attr("class",c),k=d.insert("g").attr("class","edgeLabels"),p=d.insert("g").attr("class","nodes");return{clusters:w,edgePaths:m,edgeLabels:k,nodes:p,rootGroups:d}}O(Axt,"createLayoutElementGroups");q(Axt,"createLayoutElementGroups");async function Mxt(h,c){if(c.label){const{shapeSvg:d,bbox:w}=await wi(h,c);c.labelBBox={width:w.width,height:w.height},d.remove()}else c.labelBBox={width:0,height:0}}O(Mxt,"measureGroupLabel");q(Mxt,"measureGroupLabel");async function Lxt(h,c,d){var k;const w=await XQ(h,c,d),m=((k=w.node())==null?void 0:k.getBBox())??{width:0,height:0};return c.width=m.width,c.height=m.height,w}O(Lxt,"insertMeasuredNode");q(Lxt,"insertMeasuredNode");async function Fxt(h,c){const d=new BQ({multigraph:!0,compound:!0}),w=[...c.edges],m=Ao(),k=Axt(h),{edgeLabels:p,nodes:T}=k,E=new Map,B=h.node()!=null;await Promise.all(c.nodes.map(async A=>{if(A.isGroup)B&&await Mxt(T,A),d.setNode(A.id,{...A});else{if(B){const L=await Lxt(T,A,{config:m,dir:A.dir});E.set(A.id,L)}d.setNode(A.id,{...A})}}));for(const A of w)B&&r5e(A)&&await Txt(p,A),d.setEdge(A.start,A.end,{...A},A.id),c.edges.some(I=>I.id===A.id)||c.edges.push(A);if(globalThis.mermaidCaptureSizes){const{captureNodeSizes:A}=await Ks(async()=>{const{captureNodeSizes:L}=await import("./sizeCapture-X5ZJPWSS-PSGVOMYM-Dv_CbP4j.js");return{captureNodeSizes:L}},__vite__mapDeps([6,1,2,3,4,5,7,8,9]),import.meta.url);A(h,c)}return{graph:d,groups:k,nodeElements:E}}O(Fxt,"createGraphWithElements");q(Fxt,"createGraphWithElements");var tc=new Map,m8=new Map,o5e=new Map,wgn=q(()=>{m8.clear(),o5e.clear(),tc.clear()},"clear"),_D=q((h,c)=>{const d=m8.get(c)||[];return Ae.trace("In isDescendant",c," ",h," = ",d.includes(h)),d.includes(h)},"isDescendant"),pgn=q((h,c)=>{const d=m8.get(c)||[];return Ae.info("Descendants of ",c," is ",d),Ae.info("Edge is ",h),h.v===c||h.w===c?!1:d?d.includes(h.v)||_D(h.v,c)||_D(h.w,c)||d.includes(h.w):(Ae.debug("Tilt, ",c,",not in descendants"),!1)},"edgeInCluster"),c5e=q((h,c,d,w)=>{Ae.debug("Copying children of ",h,"root",w,"data",c.node(h),w);const m=c.children(h)||[];h!==w&&m.push(h),Ae.debug("Copying (nodes) clusterId",h,"nodes",m),m.forEach(k=>{if(c.children(k).length>0)c5e(k,c,d,w);else{const p=c.node(k);Ae.info("cp ",k," to ",w," with parent ",h),d.setNode(k,p),w!==c.parent(k)&&(Ae.debug("Setting parent",k,c.parent(k)),d.setParent(k,c.parent(k))),h!==w&&k!==h?(Ae.debug("Setting parent",k,h),d.setParent(k,h)):(Ae.info("In copy ",h,"root",w,"data",c.node(h),w),Ae.debug("Not Setting parent for node=",k,"cluster!==rootId",h!==w,"node!==clusterId",k!==h));const T=c.edges(k);Ae.debug("Copying Edges",T),T.forEach(E=>{Ae.info("Edge",E);const B=c.edge(E.v,E.w,E.name);Ae.info("Edge data",B,w);try{pgn(E,w)?(Ae.info("Copying as ",E.v,E.w,B,E.name),d.setEdge(E.v,E.w,B,E.name),Ae.info("newGraph edges ",d.edges(),d.edge(d.edges()[0]))):Ae.info("Skipping copy of edge ",E.v,"-->",E.w," rootId: ",w," clusterId:",h)}catch(A){Ae.error(A)}})}Ae.debug("Removing node",k),c.removeNode(k)})},"copy"),a5e=q((h,c)=>{const d=c.children(h);let w=[...d];for(const m of d)o5e.set(m,h),w=[...w,...a5e(m,c)];return w},"extractDescendants"),mgn=q((h,c,d)=>{const w=h.edges().filter(E=>E.v===c||E.w===c),m=h.edges().filter(E=>E.v===d||E.w===d),k=w.map(E=>({v:E.v===c?d:E.v,w:E.w===c?c:E.w})),p=m.map(E=>({v:E.v,w:E.w}));return k.filter(E=>p.some(B=>E.v===B.v&&E.w===B.w))},"findCommonEdges"),tQ=q((h,c,d)=>{const w=c.children(h);if(Ae.trace("Searching children of id ",h,w),w.length<1)return h;let m;for(const k of w){const p=tQ(k,c,d),T=mgn(c,d,p);if(p)if(T.length>0)m=p;else return p}return m},"findNonClusterChild"),hye=q(h=>!tc.has(h)||!tc.get(h).externalConnections?h:tc.has(h)?tc.get(h).id:h,"getAnchorId"),zpn=q((h,c)=>{var d;if(!h||c>10){Ae.debug("Opting out, no graph ");return}else Ae.debug("Opting in, graph ");h.nodes().forEach(function(w){h.children(w).length>0&&(Ae.debug("Cluster identified",w," Replacement id in edges: ",tQ(w,h,w)),m8.set(w,a5e(w,h)),tc.set(w,{id:tQ(w,h,w),clusterData:h.node(w)}))}),h.nodes().forEach(function(w){const m=h.children(w),k=h.edges();m.length>0?(Ae.debug("Cluster identified",w,m8),k.forEach(p=>{const T=_D(p.v,w),E=_D(p.w,w);T^E&&(Ae.debug("Edge: ",p," leaves cluster ",w),Ae.debug("Descendants of XXX ",w,": ",m8.get(w)),tc.get(w).externalConnections=!0)})):Ae.debug("Not a cluster ",w,m8)});for(let w of tc.keys()){const m=tc.get(w).id,k=h.parent(m);k!==w&&tc.has(k)&&!tc.get(k).externalConnections&&(tc.get(w).id=k);const p=h.edges().some(T=>T.v===w);if(m&&((d=tc.get(w))!=null&&d.externalConnections)&&p&&h5e(h,m,w)){const T=ygn(h,w,h.parent(m));T&&(tc.get(w).id=T)}}h.edges().forEach(function(w){const m=h.edge(w);Ae.debug("Edge "+w.v+" -> "+w.w+": "+JSON.stringify(w)),Ae.debug("Edge "+w.v+" -> "+w.w+": "+JSON.stringify(h.edge(w)));let k=w.v,p=w.w;if(Ae.debug("Fix XXX",tc,"ids:",w.v,w.w,"Translating: ",tc.get(w.v)," --- ",tc.get(w.w)),tc.get(w.v)||tc.get(w.w)){if(Ae.debug("Fixing and trying - removing XXX",w.v,w.w,w.name),k=hye(w.v),p=hye(w.w),h.removeEdge(w.v,w.w,w.name),k!==w.v){const T=h.parent(k);tc.get(T).externalConnections=!0,m.fromCluster=w.v}if(p!==w.w){const T=h.parent(p);tc.get(T).externalConnections=!0,m.toCluster=w.w}Ae.debug("Fix Replacing with XXX",k,p,w.name),h.setEdge(k,p,m,w.name)}}),l5e(h,0),Ae.trace(tc)},"adjustClustersAndEdges"),l5e=q((h,c)=>{var m,k;if(c>10){Ae.error("Bailing out");return}let d=h.nodes(),w=!1;for(const p of d){const T=h.children(p);w=w||T.length>0}if(!w){Ae.debug("Done, no node has children",h.nodes());return}Ae.debug("Nodes = ",d,c);for(const p of d)if(Ae.debug("Extracting node",p,tc,tc.has(p)&&!tc.get(p).externalConnections,!h.parent(p),h.node(p),h.children("D")," Depth ",c),!tc.has(p))Ae.debug("Not a cluster",p,c);else if(!tc.get(p).externalConnections&&h.children(p)&&h.children(p).length>0){Ae.debug("Cluster without external connections, without a parent and with children",p,c);let E=h.graph().rankdir==="TB"?"LR":"TB";(k=(m=tc.get(p))==null?void 0:m.clusterData)!=null&&k.dir&&(E=tc.get(p).clusterData.dir,Ae.debug("Fixing dir",tc.get(p).clusterData.dir,E));const B=new BQ({multigraph:!0,compound:!0}).setGraph({rankdir:E,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});c5e(p,h,B,p),h.setNode(p,{clusterNode:!0,id:p,clusterData:tc.get(p).clusterData,label:tc.get(p).label,graph:B})}else Ae.debug("Cluster ** ",p," **not meeting the criteria !externalConnections:",!tc.get(p).externalConnections," no parent: ",!h.parent(p)," children ",h.children(p)&&h.children(p).length>0,h.children("D"),c),Ae.debug(tc);d=h.nodes(),Ae.debug("New list of nodes",d);for(const p of d){const T=h.node(p);Ae.debug(" Now next level",p,T),T!=null&&T.clusterNode&&l5e(T.graph,c+1)}},"extractor"),u5e=q((h,c)=>{if(c.length===0)return[];let d=Object.assign([],c);return c.forEach(w=>{const m=h.children(w),k=u5e(h,m);d=[...d,...k]}),d},"sorter"),Wpn=q(h=>u5e(h,h.children()),"sortNodesByHierarchy"),h5e=q((h,c,d)=>{let w=h.parent(c);for(;w&&w!==d;){const m=tc.get(w);if(m&&!m.externalConnections)return!0;w=h.parent(w)}return!1},"isNodeInExtractableCluster"),ygn=q((h,c,d)=>{const w=h.children(c)??[];for(const m of w){if(m===d||_D(m,d))continue;const k=tQ(m,h,c);if(k&&!h5e(h,k,c))return k}return null},"findSafeAnchorNode");function _xt({prepareLayout:h,measureLayout:c,runLayoutCore:d,paintLayout:w,afterPaint:m,paintOptions:k}){const p=c??Ixt;return q(O(async function(E,B,A,L){const I=B.select("g");s5e(I,E.markers,E.type,E.diagramId),Oxt();const $={element:I,helpers:A,options:L};$.preparedLayout=await(h==null?void 0:h(E,$));const P=await p(E,$),U=await d(E,$),J={...$,measure:P};w?await w(E,J,U):await Pxt(E,J,k),await(m==null?void 0:m(E,J,U))},"render"),"render")}O(_xt,"createCommonLayoutRenderer");q(_xt,"createCommonLayoutRenderer");function Oxt(){S1n(),R1n(),O1n(),wgn()}O(Oxt,"clearLayoutRenderState");q(Oxt,"clearLayoutRenderState");async function Ixt(h,{element:c}){return await Fxt(c,h)}O(Ixt,"defaultMeasureLayout");q(Ixt,"defaultMeasureLayout");async function Pxt(h,c,d={}){var p,T;const{measure:w}=c,{groups:m}=w;for(const E of((p=d.getNodes)==null?void 0:p.call(d,h,c))??h.nodes)(T=d.skipNode)!=null&&T.call(d,E,c)||await jxt(m,E,c,d);const k=$xt(h.nodes);for(const E of h.edges)Rxt(E,d)||await Nxt(m,E,k,h,d,c)}O(Pxt,"paintLayoutData");q(Pxt,"paintLayoutData");async function jxt(h,c,d,w){c.clusterNode?oye(c):Dxt(c,d,w)?await n5e(h.clusters,c):oye(c)}O(jxt,"paintLayoutNode");q(jxt,"paintLayoutNode");function Dxt(h,c,d){var w;return h.isGroup===!0&&(((w=d.isCluster)==null?void 0:w.call(d,h,c))??!0)}O(Dxt,"shouldPaintAsCluster");q(Dxt,"shouldPaintAsCluster");function $xt(h){const c=new Map;for(const d of h)d!=null&&d.id&&c.set(d.id,d);return c}O($xt,"buildNodeLookup");q($xt,"buildNodeLookup");function Rxt(h,c){var d;return h.isLayoutOnly||!!((d=c.skipEdge)!=null&&d.call(c,h))}O(Rxt,"shouldSkipPaintEdge");q(Rxt,"shouldSkipPaintEdge");async function Nxt(h,c,d,w,m,k){const p=i5e(h.edgePaths,{...c},m.clusterDb??new Map,w.type,eQ(c.start,c,d,k,m),eQ(c.end,c,d,k,m),w.diagramId,qxt(c,m));r5e(c)&&(EA.has(c.id)||await Txt(h.edgeLabels,c),Hxt(c,p))}O(Nxt,"paintLayoutEdge");q(Nxt,"paintLayoutEdge");function eQ(h,c,d,w,m){var k;return((k=m.getEdgeNode)==null?void 0:k.call(m,h,c,w))??(h?d.get(h)??{}:{})}O(eQ,"getRenderedNode");q(eQ,"getRenderedNode");function qxt(h,c){return typeof c.skipIntersect=="function"?c.skipIntersect(h):c.skipIntersect??!1}O(qxt,"shouldSkipIntersect");q(qxt,"shouldSkipIntersect");function Hxt(h,c){const d=(c==null?void 0:c.updatedPath)??(c==null?void 0:c.originalPath),w=Cl(),{subGraphTitleTotalMargin:m}=UQ({flowchart:w.flowchart??{}});if(h.label){const k=EA.get(h.id);let p=h.x,T=h.y;if(d){const E=Ud.calcLabelPosition(d);Ae.debug("Moving label "+h.label+" from (",p,",",T,") to (",E.x,",",E.y,") abc88"),c!=null&&c.updatedPath&&(p=E.x,T=E.y)}k.attr("transform",`translate(${p}, ${T+m/2})`)}if(h!=null&&h.startLabelLeft){const k=Uu.get(h.id).startLeft;let p=h==null?void 0:h.x,T=h==null?void 0:h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeStart?10:0,"start_left",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}if(h.startLabelRight){const k=Uu.get(h.id).startRight;let p=h.x,T=h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeStart?10:0,"start_right",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}if(h.endLabelLeft){const k=Uu.get(h.id).endLeft;let p=h.x,T=h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeEnd?10:0,"end_left",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}if(h.endLabelRight){const k=Uu.get(h.id).endRight;let p=h.x,T=h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeEnd?10:0,"end_right",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}}O(Hxt,"positionRenderedEdgeLabel");q(Hxt,"positionRenderedEdgeLabel");function Kxt(h){return h&&h.__esModule&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h}O(Kxt,"getDefaultExportFromCjs");q(Kxt,"getDefaultExportFromCjs");var Hd={},bJ={},U4={},fye;function eS(){if(fye)return U4;fye=1;function h(p){return typeof p>"u"||p===null}O(h,"isNothing"),q(h,"isNothing");function c(p){return typeof p=="object"&&p!==null}O(c,"isObject"),q(c,"isObject");function d(p){return Array.isArray(p)?p:h(p)?[]:[p]}O(d,"toArray"),q(d,"toArray");function w(p,T){if(T){const E=Object.keys(T);for(let B=0,A=E.length;B<A;B+=1){const L=E[B];p[L]=T[L]}}return p}O(w,"extend"),q(w,"extend");function m(p,T){let E="";for(let B=0;B<T;B+=1)E+=p;return E}O(m,"repeat"),q(m,"repeat");function k(p){return p===0&&Number.NEGATIVE_INFINITY===1/p}return O(k,"isNegativeZero"),q(k,"isNegativeZero"),U4.isNothing=h,U4.isObject=c,U4.toArray=d,U4.repeat=m,U4.isNegativeZero=k,U4.extend=w,U4}O(eS,"requireCommon");q(eS,"requireCommon");var g3t,dye;function nS(){if(dye)return g3t;dye=1;function h(d,w){let m="";const k=d.reason||"(unknown reason)";return d.mark?(d.mark.name&&(m+='in "'+d.mark.name+'" '),m+="("+(d.mark.line+1)+":"+(d.mark.column+1)+")",!w&&d.mark.snippet&&(m+=`
|
|
286
|
+
L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),dgn=q((h,c,d)=>{const w=h.append("defs").append("marker").attr("id",d+"_"+c+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");w.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),w.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),w.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),ggn=q((h,c,d)=>{const w=Cl(),{themeVariables:m}=w,{strokeWidth:k}=m,p=h.append("defs").append("marker").attr("id",d+"_"+c+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");p.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),p.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),p.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),p.selectAll("*").attr("stroke-width",`${k}`)},"requirement_contains_neo"),bgn={extension:G1n,composition:X1n,aggregation:V1n,dependency:Y1n,lollipop:J1n,point:Q1n,circle:Z1n,cross:tgn,barb:egn,barbNeo:ngn,only_one:rgn,zero_or_one:ign,one_or_more:sgn,zero_or_more:ogn,only_one_neo:cgn,zero_or_one_neo:agn,one_or_more_neo:lgn,zero_or_more_neo:ugn,requirement_arrow:hgn,requirement_contains:dgn,requirement_arrow_neo:fgn,requirement_contains_neo:ggn},s5e=U1n;function Axt(h,{edgePathsClass:c="edges edgePath"}={}){const d=h.insert("g").attr("class","root"),w=d.insert("g").attr("class","clusters"),m=d.insert("g").attr("class",c),k=d.insert("g").attr("class","edgeLabels"),p=d.insert("g").attr("class","nodes");return{clusters:w,edgePaths:m,edgeLabels:k,nodes:p,rootGroups:d}}O(Axt,"createLayoutElementGroups");q(Axt,"createLayoutElementGroups");async function Mxt(h,c){if(c.label){const{shapeSvg:d,bbox:w}=await wi(h,c);c.labelBBox={width:w.width,height:w.height},d.remove()}else c.labelBBox={width:0,height:0}}O(Mxt,"measureGroupLabel");q(Mxt,"measureGroupLabel");async function Lxt(h,c,d){var k;const w=await XQ(h,c,d),m=((k=w.node())==null?void 0:k.getBBox())??{width:0,height:0};return c.width=m.width,c.height=m.height,w}O(Lxt,"insertMeasuredNode");q(Lxt,"insertMeasuredNode");async function Fxt(h,c){const d=new BQ({multigraph:!0,compound:!0}),w=[...c.edges],m=Ao(),k=Axt(h),{edgeLabels:p,nodes:T}=k,E=new Map,B=h.node()!=null;await Promise.all(c.nodes.map(async A=>{if(A.isGroup)B&&await Mxt(T,A),d.setNode(A.id,{...A});else{if(B){const L=await Lxt(T,A,{config:m,dir:A.dir});E.set(A.id,L)}d.setNode(A.id,{...A})}}));for(const A of w)B&&r5e(A)&&await Txt(p,A),d.setEdge(A.start,A.end,{...A},A.id),c.edges.some(I=>I.id===A.id)||c.edges.push(A);if(globalThis.mermaidCaptureSizes){const{captureNodeSizes:A}=await Ks(async()=>{const{captureNodeSizes:L}=await import("./sizeCapture-X5ZJPWSS-PSGVOMYM-DPuPQlRM.js");return{captureNodeSizes:L}},__vite__mapDeps([6,1,2,3,4,5,7,8]),import.meta.url);A(h,c)}return{graph:d,groups:k,nodeElements:E}}O(Fxt,"createGraphWithElements");q(Fxt,"createGraphWithElements");var tc=new Map,m8=new Map,o5e=new Map,wgn=q(()=>{m8.clear(),o5e.clear(),tc.clear()},"clear"),_D=q((h,c)=>{const d=m8.get(c)||[];return Ae.trace("In isDescendant",c," ",h," = ",d.includes(h)),d.includes(h)},"isDescendant"),pgn=q((h,c)=>{const d=m8.get(c)||[];return Ae.info("Descendants of ",c," is ",d),Ae.info("Edge is ",h),h.v===c||h.w===c?!1:d?d.includes(h.v)||_D(h.v,c)||_D(h.w,c)||d.includes(h.w):(Ae.debug("Tilt, ",c,",not in descendants"),!1)},"edgeInCluster"),c5e=q((h,c,d,w)=>{Ae.debug("Copying children of ",h,"root",w,"data",c.node(h),w);const m=c.children(h)||[];h!==w&&m.push(h),Ae.debug("Copying (nodes) clusterId",h,"nodes",m),m.forEach(k=>{if(c.children(k).length>0)c5e(k,c,d,w);else{const p=c.node(k);Ae.info("cp ",k," to ",w," with parent ",h),d.setNode(k,p),w!==c.parent(k)&&(Ae.debug("Setting parent",k,c.parent(k)),d.setParent(k,c.parent(k))),h!==w&&k!==h?(Ae.debug("Setting parent",k,h),d.setParent(k,h)):(Ae.info("In copy ",h,"root",w,"data",c.node(h),w),Ae.debug("Not Setting parent for node=",k,"cluster!==rootId",h!==w,"node!==clusterId",k!==h));const T=c.edges(k);Ae.debug("Copying Edges",T),T.forEach(E=>{Ae.info("Edge",E);const B=c.edge(E.v,E.w,E.name);Ae.info("Edge data",B,w);try{pgn(E,w)?(Ae.info("Copying as ",E.v,E.w,B,E.name),d.setEdge(E.v,E.w,B,E.name),Ae.info("newGraph edges ",d.edges(),d.edge(d.edges()[0]))):Ae.info("Skipping copy of edge ",E.v,"-->",E.w," rootId: ",w," clusterId:",h)}catch(A){Ae.error(A)}})}Ae.debug("Removing node",k),c.removeNode(k)})},"copy"),a5e=q((h,c)=>{const d=c.children(h);let w=[...d];for(const m of d)o5e.set(m,h),w=[...w,...a5e(m,c)];return w},"extractDescendants"),mgn=q((h,c,d)=>{const w=h.edges().filter(E=>E.v===c||E.w===c),m=h.edges().filter(E=>E.v===d||E.w===d),k=w.map(E=>({v:E.v===c?d:E.v,w:E.w===c?c:E.w})),p=m.map(E=>({v:E.v,w:E.w}));return k.filter(E=>p.some(B=>E.v===B.v&&E.w===B.w))},"findCommonEdges"),tQ=q((h,c,d)=>{const w=c.children(h);if(Ae.trace("Searching children of id ",h,w),w.length<1)return h;let m;for(const k of w){const p=tQ(k,c,d),T=mgn(c,d,p);if(p)if(T.length>0)m=p;else return p}return m},"findNonClusterChild"),hye=q(h=>!tc.has(h)||!tc.get(h).externalConnections?h:tc.has(h)?tc.get(h).id:h,"getAnchorId"),Kpn=q((h,c)=>{var d;if(!h||c>10){Ae.debug("Opting out, no graph ");return}else Ae.debug("Opting in, graph ");h.nodes().forEach(function(w){h.children(w).length>0&&(Ae.debug("Cluster identified",w," Replacement id in edges: ",tQ(w,h,w)),m8.set(w,a5e(w,h)),tc.set(w,{id:tQ(w,h,w),clusterData:h.node(w)}))}),h.nodes().forEach(function(w){const m=h.children(w),k=h.edges();m.length>0?(Ae.debug("Cluster identified",w,m8),k.forEach(p=>{const T=_D(p.v,w),E=_D(p.w,w);T^E&&(Ae.debug("Edge: ",p," leaves cluster ",w),Ae.debug("Descendants of XXX ",w,": ",m8.get(w)),tc.get(w).externalConnections=!0)})):Ae.debug("Not a cluster ",w,m8)});for(let w of tc.keys()){const m=tc.get(w).id,k=h.parent(m);k!==w&&tc.has(k)&&!tc.get(k).externalConnections&&(tc.get(w).id=k);const p=h.edges().some(T=>T.v===w);if(m&&((d=tc.get(w))!=null&&d.externalConnections)&&p&&h5e(h,m,w)){const T=ygn(h,w,h.parent(m));T&&(tc.get(w).id=T)}}h.edges().forEach(function(w){const m=h.edge(w);Ae.debug("Edge "+w.v+" -> "+w.w+": "+JSON.stringify(w)),Ae.debug("Edge "+w.v+" -> "+w.w+": "+JSON.stringify(h.edge(w)));let k=w.v,p=w.w;if(Ae.debug("Fix XXX",tc,"ids:",w.v,w.w,"Translating: ",tc.get(w.v)," --- ",tc.get(w.w)),tc.get(w.v)||tc.get(w.w)){if(Ae.debug("Fixing and trying - removing XXX",w.v,w.w,w.name),k=hye(w.v),p=hye(w.w),h.removeEdge(w.v,w.w,w.name),k!==w.v){const T=h.parent(k);tc.get(T).externalConnections=!0,m.fromCluster=w.v}if(p!==w.w){const T=h.parent(p);tc.get(T).externalConnections=!0,m.toCluster=w.w}Ae.debug("Fix Replacing with XXX",k,p,w.name),h.setEdge(k,p,m,w.name)}}),l5e(h,0),Ae.trace(tc)},"adjustClustersAndEdges"),l5e=q((h,c)=>{var m,k;if(c>10){Ae.error("Bailing out");return}let d=h.nodes(),w=!1;for(const p of d){const T=h.children(p);w=w||T.length>0}if(!w){Ae.debug("Done, no node has children",h.nodes());return}Ae.debug("Nodes = ",d,c);for(const p of d)if(Ae.debug("Extracting node",p,tc,tc.has(p)&&!tc.get(p).externalConnections,!h.parent(p),h.node(p),h.children("D")," Depth ",c),!tc.has(p))Ae.debug("Not a cluster",p,c);else if(!tc.get(p).externalConnections&&h.children(p)&&h.children(p).length>0){Ae.debug("Cluster without external connections, without a parent and with children",p,c);let E=h.graph().rankdir==="TB"?"LR":"TB";(k=(m=tc.get(p))==null?void 0:m.clusterData)!=null&&k.dir&&(E=tc.get(p).clusterData.dir,Ae.debug("Fixing dir",tc.get(p).clusterData.dir,E));const B=new BQ({multigraph:!0,compound:!0}).setGraph({rankdir:E,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});c5e(p,h,B,p),h.setNode(p,{clusterNode:!0,id:p,clusterData:tc.get(p).clusterData,label:tc.get(p).label,graph:B})}else Ae.debug("Cluster ** ",p," **not meeting the criteria !externalConnections:",!tc.get(p).externalConnections," no parent: ",!h.parent(p)," children ",h.children(p)&&h.children(p).length>0,h.children("D"),c),Ae.debug(tc);d=h.nodes(),Ae.debug("New list of nodes",d);for(const p of d){const T=h.node(p);Ae.debug(" Now next level",p,T),T!=null&&T.clusterNode&&l5e(T.graph,c+1)}},"extractor"),u5e=q((h,c)=>{if(c.length===0)return[];let d=Object.assign([],c);return c.forEach(w=>{const m=h.children(w),k=u5e(h,m);d=[...d,...k]}),d},"sorter"),zpn=q(h=>u5e(h,h.children()),"sortNodesByHierarchy"),h5e=q((h,c,d)=>{let w=h.parent(c);for(;w&&w!==d;){const m=tc.get(w);if(m&&!m.externalConnections)return!0;w=h.parent(w)}return!1},"isNodeInExtractableCluster"),ygn=q((h,c,d)=>{const w=h.children(c)??[];for(const m of w){if(m===d||_D(m,d))continue;const k=tQ(m,h,c);if(k&&!h5e(h,k,c))return k}return null},"findSafeAnchorNode");function _xt({prepareLayout:h,measureLayout:c,runLayoutCore:d,paintLayout:w,afterPaint:m,paintOptions:k}){const p=c??Ixt;return q(O(async function(E,B,A,L){const I=B.select("g");s5e(I,E.markers,E.type,E.diagramId),Oxt();const $={element:I,helpers:A,options:L};$.preparedLayout=await(h==null?void 0:h(E,$));const P=await p(E,$),U=await d(E,$),J={...$,measure:P};w?await w(E,J,U):await Pxt(E,J,k),await(m==null?void 0:m(E,J,U))},"render"),"render")}O(_xt,"createCommonLayoutRenderer");q(_xt,"createCommonLayoutRenderer");function Oxt(){S1n(),R1n(),O1n(),wgn()}O(Oxt,"clearLayoutRenderState");q(Oxt,"clearLayoutRenderState");async function Ixt(h,{element:c}){return await Fxt(c,h)}O(Ixt,"defaultMeasureLayout");q(Ixt,"defaultMeasureLayout");async function Pxt(h,c,d={}){var p,T;const{measure:w}=c,{groups:m}=w;for(const E of((p=d.getNodes)==null?void 0:p.call(d,h,c))??h.nodes)(T=d.skipNode)!=null&&T.call(d,E,c)||await jxt(m,E,c,d);const k=$xt(h.nodes);for(const E of h.edges)Rxt(E,d)||await Nxt(m,E,k,h,d,c)}O(Pxt,"paintLayoutData");q(Pxt,"paintLayoutData");async function jxt(h,c,d,w){c.clusterNode?oye(c):Dxt(c,d,w)?await n5e(h.clusters,c):oye(c)}O(jxt,"paintLayoutNode");q(jxt,"paintLayoutNode");function Dxt(h,c,d){var w;return h.isGroup===!0&&(((w=d.isCluster)==null?void 0:w.call(d,h,c))??!0)}O(Dxt,"shouldPaintAsCluster");q(Dxt,"shouldPaintAsCluster");function $xt(h){const c=new Map;for(const d of h)d!=null&&d.id&&c.set(d.id,d);return c}O($xt,"buildNodeLookup");q($xt,"buildNodeLookup");function Rxt(h,c){var d;return h.isLayoutOnly||!!((d=c.skipEdge)!=null&&d.call(c,h))}O(Rxt,"shouldSkipPaintEdge");q(Rxt,"shouldSkipPaintEdge");async function Nxt(h,c,d,w,m,k){const p=i5e(h.edgePaths,{...c},m.clusterDb??new Map,w.type,eQ(c.start,c,d,k,m),eQ(c.end,c,d,k,m),w.diagramId,qxt(c,m));r5e(c)&&(EA.has(c.id)||await Txt(h.edgeLabels,c),Hxt(c,p))}O(Nxt,"paintLayoutEdge");q(Nxt,"paintLayoutEdge");function eQ(h,c,d,w,m){var k;return((k=m.getEdgeNode)==null?void 0:k.call(m,h,c,w))??(h?d.get(h)??{}:{})}O(eQ,"getRenderedNode");q(eQ,"getRenderedNode");function qxt(h,c){return typeof c.skipIntersect=="function"?c.skipIntersect(h):c.skipIntersect??!1}O(qxt,"shouldSkipIntersect");q(qxt,"shouldSkipIntersect");function Hxt(h,c){const d=(c==null?void 0:c.updatedPath)??(c==null?void 0:c.originalPath),w=Cl(),{subGraphTitleTotalMargin:m}=UQ({flowchart:w.flowchart??{}});if(h.label){const k=EA.get(h.id);let p=h.x,T=h.y;if(d){const E=Ud.calcLabelPosition(d);Ae.debug("Moving label "+h.label+" from (",p,",",T,") to (",E.x,",",E.y,") abc88"),c!=null&&c.updatedPath&&(p=E.x,T=E.y)}k.attr("transform",`translate(${p}, ${T+m/2})`)}if(h!=null&&h.startLabelLeft){const k=Uu.get(h.id).startLeft;let p=h==null?void 0:h.x,T=h==null?void 0:h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeStart?10:0,"start_left",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}if(h.startLabelRight){const k=Uu.get(h.id).startRight;let p=h.x,T=h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeStart?10:0,"start_right",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}if(h.endLabelLeft){const k=Uu.get(h.id).endLeft;let p=h.x,T=h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeEnd?10:0,"end_left",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}if(h.endLabelRight){const k=Uu.get(h.id).endRight;let p=h.x,T=h.y;if(d){const E=Ud.calcTerminalLabelPosition(h.arrowTypeEnd?10:0,"end_right",d);p=E.x,T=E.y}k.attr("transform",`translate(${p}, ${T})`)}}O(Hxt,"positionRenderedEdgeLabel");q(Hxt,"positionRenderedEdgeLabel");function Kxt(h){return h&&h.__esModule&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h}O(Kxt,"getDefaultExportFromCjs");q(Kxt,"getDefaultExportFromCjs");var Hd={},bJ={},U4={},fye;function eS(){if(fye)return U4;fye=1;function h(p){return typeof p>"u"||p===null}O(h,"isNothing"),q(h,"isNothing");function c(p){return typeof p=="object"&&p!==null}O(c,"isObject"),q(c,"isObject");function d(p){return Array.isArray(p)?p:h(p)?[]:[p]}O(d,"toArray"),q(d,"toArray");function w(p,T){if(T){const E=Object.keys(T);for(let B=0,A=E.length;B<A;B+=1){const L=E[B];p[L]=T[L]}}return p}O(w,"extend"),q(w,"extend");function m(p,T){let E="";for(let B=0;B<T;B+=1)E+=p;return E}O(m,"repeat"),q(m,"repeat");function k(p){return p===0&&Number.NEGATIVE_INFINITY===1/p}return O(k,"isNegativeZero"),q(k,"isNegativeZero"),U4.isNothing=h,U4.isObject=c,U4.toArray=d,U4.repeat=m,U4.isNegativeZero=k,U4.extend=w,U4}O(eS,"requireCommon");q(eS,"requireCommon");var g3t,dye;function nS(){if(dye)return g3t;dye=1;function h(d,w){let m="";const k=d.reason||"(unknown reason)";return d.mark?(d.mark.name&&(m+='in "'+d.mark.name+'" '),m+="("+(d.mark.line+1)+":"+(d.mark.column+1)+")",!w&&d.mark.snippet&&(m+=`
|
|
287
287
|
|
|
288
288
|
`+d.mark.snippet),k+" "+m):k}O(h,"formatError"),q(h,"formatError");function c(d,w){Error.call(this),this.name="YAMLException",this.reason=d,this.mark=w,this.message=h(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return O(c,"YAMLException2"),q(c,"YAMLException2"),c.prototype=Object.create(Error.prototype),c.prototype.constructor=c,c.prototype.toString=q(O(function(w){return this.name+": "+h(this,w)},"toString"),"toString"),g3t=c,g3t}O(nS,"requireException");q(nS,"requireException");var b3t,gye;function zxt(){if(gye)return b3t;gye=1;const h=eS();function c(m,k,p,T,E){let B="",A="";const L=Math.floor(E/2)-1;return T-k>L&&(B=" ... ",k=T-L+B.length),p-T>L&&(A=" ...",p=T+L-A.length),{str:B+m.slice(k,p).replace(/\t/g,"→")+A,pos:T-k+B.length}}O(c,"getLine"),q(c,"getLine");function d(m,k){return h.repeat(" ",k-m.length)+m}O(d,"padStart"),q(d,"padStart");function w(m,k){if(k=Object.create(k||null),!m.buffer)return null;k.maxLength||(k.maxLength=79),typeof k.indent!="number"&&(k.indent=1),typeof k.linesBefore!="number"&&(k.linesBefore=3),typeof k.linesAfter!="number"&&(k.linesAfter=2);const p=/\r?\n|\r|\0/g,T=[0],E=[];let B,A=-1;for(;B=p.exec(m.buffer);)E.push(B.index),T.push(B.index+B[0].length),m.position<=B.index&&A<0&&(A=T.length-2);A<0&&(A=T.length-1);let L="";const I=Math.min(m.line+k.linesAfter,E.length).toString().length,$=k.maxLength-(k.indent+I+3);for(let U=1;U<=k.linesBefore&&!(A-U<0);U++){const J=c(m.buffer,T[A-U],E[A-U],m.position-(T[A]-T[A-U]),$);L=h.repeat(" ",k.indent)+d((m.line-U+1).toString(),I)+" | "+J.str+`
|
|
289
289
|
`+L}const P=c(m.buffer,T[A],E[A],m.position,$);L+=h.repeat(" ",k.indent)+d((m.line+1).toString(),I)+" | "+P.str+`
|
|
@@ -314,7 +314,7 @@ ${k.join(`
|
|
|
314
314
|
`+ut.slice(sn,wn),sn=wn+1),Cn=Ar;return yr+=`
|
|
315
315
|
`,ut.length-sn>ve&&Cn>sn?yr+=ut.slice(sn,Cn)+`
|
|
316
316
|
`+ut.slice(Cn+1):yr+=ut.slice(sn),yr.slice(1)}O(La,"foldLine"),q(La,"foldLine");function Bs(ut){let ve="",Bn=0;for(let rn=0;rn<ut.length;Bn>=65536?rn+=2:rn++){Bn=Xn(ut,rn);const sn=ce[Bn];!sn&&Ri(Bn)?(ve+=ut[rn],Bn>=65536&&(ve+=ut[rn+1])):ve+=sn||de(Bn)}return ve}O(Bs,"escapeString"),q(Bs,"escapeString");function Fa(ut,ve,Bn){let rn="";const sn=ut.tag;for(let wn=0,Cn=Bn.length;wn<Cn;wn+=1){let Ar=Bn[wn];ut.replacer&&(Ar=ut.replacer.call(Bn,String(wn),Ar)),(Je(ut,ve,Ar,!1,!1)||typeof Ar>"u"&&Je(ut,ve,null,!1,!1))&&(rn!==""&&(rn+=","+(ut.condenseFlow?"":" ")),rn+=ut.dump)}ut.tag=sn,ut.dump="["+rn+"]"}O(Fa,"writeFlowSequence"),q(Fa,"writeFlowSequence");function Vl(ut,ve,Bn,rn){let sn="";const wn=ut.tag;for(let Cn=0,Ar=Bn.length;Cn<Ar;Cn+=1){let yr=Bn[Cn];ut.replacer&&(yr=ut.replacer.call(Bn,String(Cn),yr)),(Je(ut,ve+1,yr,!0,!0,!1,!0)||typeof yr>"u"&&Je(ut,ve+1,null,!0,!0,!1,!0))&&((!rn||sn!=="")&&(sn+=_r(ut,ve)),ut.dump&&T===ut.dump.charCodeAt(0)?sn+="-":sn+="- ",sn+=ut.dump)}ut.tag=wn,ut.dump=sn||"[]"}O(Vl,"writeBlockSequence"),q(Vl,"writeBlockSequence");function W1(ut,ve,Bn){let rn="";const sn=ut.tag,wn=Object.keys(Bn);for(let Cn=0,Ar=wn.length;Cn<Ar;Cn+=1){let yr="";rn!==""&&(yr+=", "),ut.condenseFlow&&(yr+='"');const ti=wn[Cn];let mi=Bn[ti];ut.replacer&&(mi=ut.replacer.call(Bn,ti,mi)),Je(ut,ve,ti,!1,!1)&&(ut.dump.length>1024&&(yr+="? "),yr+=ut.dump+(ut.condenseFlow?'"':"")+":"+(ut.condenseFlow?"":" "),Je(ut,ve,mi,!1,!1)&&(yr+=ut.dump,rn+=yr))}ut.tag=sn,ut.dump="{"+rn+"}"}O(W1,"writeFlowMapping"),q(W1,"writeFlowMapping");function H(ut,ve,Bn,rn){let sn="";const wn=ut.tag,Cn=Object.keys(Bn);if(ut.sortKeys===!0)Cn.sort();else if(typeof ut.sortKeys=="function")Cn.sort(ut.sortKeys);else if(ut.sortKeys)throw new c("sortKeys must be a boolean or a function");for(let Ar=0,yr=Cn.length;Ar<yr;Ar+=1){let ti="";(!rn||sn!=="")&&(ti+=_r(ut,ve));const mi=Cn[Ar];let Ns=Bn[mi];if(ut.replacer&&(Ns=ut.replacer.call(Bn,mi,Ns)),!Je(ut,ve+1,mi,!0,!0,!0))continue;const cc=ut.tag!==null&&ut.tag!=="?"||ut.dump&&ut.dump.length>1024;cc&&(ut.dump&&T===ut.dump.charCodeAt(0)?ti+="?":ti+="? "),ti+=ut.dump,cc&&(ti+=_r(ut,ve)),Je(ut,ve+1,Ns,!0,cc)&&(ut.dump&&T===ut.dump.charCodeAt(0)?ti+=":":ti+=": ",ti+=ut.dump,sn+=ti)}ut.tag=wn,ut.dump=sn||"{}"}O(H,"writeBlockMapping"),q(H,"writeBlockMapping");function fe(ut,ve,Bn){const rn=Bn?ut.explicitTypes:ut.implicitTypes;for(let sn=0,wn=rn.length;sn<wn;sn+=1){const Cn=rn[sn];if((Cn.instanceOf||Cn.predicate)&&(!Cn.instanceOf||typeof ve=="object"&&ve instanceof Cn.instanceOf)&&(!Cn.predicate||Cn.predicate(ve))){if(Bn?Cn.multi&&Cn.representName?ut.tag=Cn.representName(ve):ut.tag=Cn.tag:ut.tag="?",Cn.represent){const Ar=ut.styleMap[Cn.tag]||Cn.defaultStyle;let yr;if(w.call(Cn.represent)==="[object Function]")yr=Cn.represent(ve,Ar);else if(m.call(Cn.represent,Ar))yr=Cn.represent[Ar](ve,Ar);else throw new c("!<"+Cn.tag+'> tag resolver accepts not "'+Ar+'" style');ut.dump=yr}return!0}}return!1}O(fe,"detectType"),q(fe,"detectType");function Je(ut,ve,Bn,rn,sn,wn,Cn){ut.tag=null,ut.dump=Bn,fe(ut,Bn,!1)||fe(ut,Bn,!0);const Ar=w.call(ut.dump),yr=rn;rn&&(rn=ut.flowLevel<0||ut.flowLevel>ve);const ti=Ar==="[object Object]"||Ar==="[object Array]";let mi,Ns;if(ti&&(mi=ut.duplicates.indexOf(Bn),Ns=mi!==-1),(ut.tag!==null&&ut.tag!=="?"||Ns||ut.indent!==2&&ve>0)&&(sn=!1),Ns&&ut.usedDuplicates[mi])ut.dump="*ref_"+mi;else{if(ti&&Ns&&!ut.usedDuplicates[mi]&&(ut.usedDuplicates[mi]=!0),Ar==="[object Object]")rn&&Object.keys(ut.dump).length!==0?(H(ut,ve,ut.dump,sn),Ns&&(ut.dump="&ref_"+mi+ut.dump)):(W1(ut,ve,ut.dump),Ns&&(ut.dump="&ref_"+mi+" "+ut.dump));else if(Ar==="[object Array]")rn&&ut.dump.length!==0?(ut.noArrayIndent&&!Cn&&ve>0?Vl(ut,ve-1,ut.dump,sn):Vl(ut,ve,ut.dump,sn),Ns&&(ut.dump="&ref_"+mi+ut.dump)):(Fa(ut,ve,ut.dump),Ns&&(ut.dump="&ref_"+mi+" "+ut.dump));else if(Ar==="[object String]")ut.tag!=="?"&&Zg(ut,ut.dump,ve,wn,yr);else{if(Ar==="[object Undefined]")return!1;if(ut.skipInvalid)return!1;throw new c("unacceptable kind of an object to dump "+Ar)}if(ut.tag!==null&&ut.tag!=="?"){let cc=encodeURI(ut.tag[0]==="!"?ut.tag.slice(1):ut.tag).replace(/!/g,"%21");ut.tag[0]==="!"?cc="!"+cc:cc.slice(0,18)==="tag:yaml.org,2002:"?cc="!!"+cc.slice(18):cc="!<"+cc+">",ut.dump=cc+" "+ut.dump}}return!0}O(Je,"writeNode"),q(Je,"writeNode");function cn(ut,ve){const Bn=[],rn=[];He(ut,Bn,rn);const sn=rn.length;for(let wn=0;wn<sn;wn+=1)ve.duplicates.push(Bn[rn[wn]]);ve.usedDuplicates=new Array(sn)}O(cn,"getDuplicateReferences"),q(cn,"getDuplicateReferences");function He(ut,ve,Bn){if(ut!==null&&typeof ut=="object"){const rn=ve.indexOf(ut);if(rn!==-1)Bn.indexOf(rn)===-1&&Bn.push(rn);else if(ve.push(ut),Array.isArray(ut))for(let sn=0,wn=ut.length;sn<wn;sn+=1)He(ut[sn],ve,Bn);else{const sn=Object.keys(ut);for(let wn=0,Cn=sn.length;wn<Cn;wn+=1)He(ut[sn[wn]],ve,Bn)}}}O(He,"inspectNode"),q(He,"inspectNode");function Nn(ut,ve){ve=ve||{};const Bn=new $n(ve);Bn.noRefs||cn(ut,Bn);let rn=ut;return Bn.replacer&&(rn=Bn.replacer.call({"":rn},"",rn)),Je(Bn,0,rn,!0,!0)?Bn.dump+`
|
|
317
|
-
`:""}return O(Nn,"dump2"),q(Nn,"dump2"),P3t.dump=Nn,P3t}O(Uxt,"requireDumper");q(Uxt,"requireDumper");var jye;function Gxt(){if(jye)return Hd;jye=1;const h=Wxt(),c=Uxt();function d(w,m){return function(){throw new Error("Function yaml."+w+" is removed in js-yaml 4. Use yaml."+m+" instead, which is now safe by default.")}}return O(d,"renamed"),q(d,"renamed"),Hd.Type=cd(),Hd.Schema=VQ(),Hd.FAILSAFE_SCHEMA=ZQ(),Hd.JSON_SCHEMA=iZ(),Hd.CORE_SCHEMA=sZ(),Hd.DEFAULT_SCHEMA=GD(),Hd.load=h.load,Hd.loadAll=h.loadAll,Hd.dump=c.dump,Hd.YAMLException=nS(),Hd.types={binary:aZ(),float:rZ(),map:QQ(),null:tZ(),pairs:uZ(),set:hZ(),timestamp:oZ(),bool:eZ(),int:nZ(),merge:cZ(),omap:lZ(),seq:JQ(),str:YQ()},Hd.safeLoad=d("safeLoad","load"),Hd.safeLoadAll=d("safeLoadAll","loadAll"),Hd.safeDump=d("safeDump","dump"),Hd}O(Gxt,"requireJsYaml");q(Gxt,"requireJsYaml");var vgn=Gxt(),kgn=Kxt(vgn),{Type:Upn,Schema:Gpn,FAILSAFE_SCHEMA:Xpn,JSON_SCHEMA:Cgn,CORE_SCHEMA:Vpn,DEFAULT_SCHEMA:Ypn,load:xgn,loadAll:Jpn,dump:Qpn,YAMLException:Zpn,types:t2n,safeLoad:e2n,safeLoadAll:n2n,safeDump:r2n}=kgn,Tgn={common:$D,getConfig:Cl,insertCluster:n5e,insertEdge:i5e,insertEdgeLabel:Txt,insertMarkers:s5e,insertNode:XQ,interpolateToCurve:OQ,labelHelper:wi,log:Ae,positionEdgeLabel:N1n},OD={},f5e=q(h=>{for(const c of h)OD[c.name]=c},"registerLayoutLoaders"),Sgn=q(()=>{f5e([{name:"dagre",loader:q(async()=>await Ks(()=>import("./dagre-3AP2YEHR-DCERTXHT-BwLHkvZV.js"),__vite__mapDeps([10,11,1,2,3,4,5,7,8,9]),import.meta.url),"loader")},{name:"swimlane",loader:q(async()=>await Ks(()=>import("./swimlanes-XN3QIQJK-N6N2CCQ6-03elMVxe.js"),__vite__mapDeps([12,7,1,2,3,4,5,8,9]),import.meta.url),"loader")},{name:"cose-bilkent",loader:q(async()=>await Ks(()=>import("./cose-bilkent-JH36ORCC-OB24KH3T-DM0H6Gci.js"),__vite__mapDeps([13,14,1,2,3,4,5,7,8,9]),import.meta.url),"loader")}])},"registerDefaultLayoutLoaders");Sgn();var i2n=q(async(h,c)=>{if(!(h.layoutAlgorithm in OD))throw new Error(`Unknown layout algorithm: ${h.layoutAlgorithm}`);if(h.diagramId)for(const A of h.nodes){const L=A.domId||A.id;A.domId=`${h.diagramId}-${L}`}const d=OD[h.layoutAlgorithm],w=await d.loader(),{theme:m,themeVariables:k}=h.config,{useGradient:p,gradientStart:T,gradientStop:E}=k,B=c.attr("id");if(c.append("defs").append("filter").attr("id",`${B}-drop-shadow`).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${m!=null&&m.includes("dark")?"#FFFFFF":"#000000"}`),c.append("defs").append("filter").attr("id",`${B}-drop-shadow-small`).attr("height","150%").attr("width","150%").append("feDropShadow").attr("dx","2").attr("dy","2").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${m!=null&&m.includes("dark")?"#FFFFFF":"#000000"}`),p){const A=c.append("linearGradient").attr("id",c.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");A.append("svg:stop").attr("offset","0%").attr("stop-color",T).attr("stop-opacity",1),A.append("svg:stop").attr("offset","100%").attr("stop-color",E).attr("stop-opacity",1)}return w.render(h,c,Tgn,{algorithm:d.algorithm})},"render"),s2n=q((h="",{fallback:c="dagre"}={})=>{if(h in OD)return h;if(c in OD)return Ae.warn(`Layout algorithm ${h} is not registered. Using ${c} as fallback.`),c;throw new Error(`Both layout algorithms ${h} and ${c} are not registered.`)},"getRegisteredLayoutAlgorithm"),j3t={exports:{}},Dye;function Egn(){return Dye||(Dye=1,(function(h,c){(function(d){h.exports=d()})(function(){return(function(){function d(w,m,k){function p(B,A){if(!m[B]){if(!w[B]){var L=typeof iJ=="function"&&iJ;if(!A&&L)return L(B,!0);if(T)return T(B,!0);var I=new Error("Cannot find module '"+B+"'");throw I.code="MODULE_NOT_FOUND",I}var $=m[B]={exports:{}};w[B][0].call($.exports,function(P){var U=w[B][1][P];return p(U||P)},$,$.exports,d,w,m,k)}return m[B].exports}for(var T=typeof iJ=="function"&&iJ,E=0;E<k.length;E++)p(k[E]);return p}return d})()({1:[function(d,w,m){Object.defineProperty(m,"__esModule",{value:!0});var k=(function(){function B(A,L){for(var I=0;I<L.length;I++){var $=L[I];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(A,$.key,$)}}return function(A,L,I){return L&&B(A.prototype,L),I&&B(A,I),A}})();function p(B,A){if(!(B instanceof A))throw new TypeError("Cannot call a class as a function")}var T=(function(){function B(){var A=this,L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=L.defaultLayoutOptions,$=I===void 0?{}:I,P=L.algorithms,U=P===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:P,J=L.workerFactory,X=L.workerUrl;if(p(this,B),this.defaultLayoutOptions=$,this.initialized=!1,typeof X>"u"&&typeof J>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var rt=J;typeof X<"u"&&typeof J>"u"&&(rt=function(Mt){return new Worker(Mt)});var lt=rt(X);if(typeof lt.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new E(lt),this.worker.postMessage({cmd:"register",algorithms:U}).then(function(xt){return A.initialized=!0}).catch(console.err)}return k(B,[{key:"layout",value:function(L){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$=I.layoutOptions,P=$===void 0?this.defaultLayoutOptions:$,U=I.logging,J=U===void 0?!1:U,X=I.measureExecutionTime,rt=X===void 0?!1:X;return L?this.worker.postMessage({cmd:"layout",graph:L,layoutOptions:P,options:{logging:J,measureExecutionTime:rt}}):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()}}]),B})();m.default=T;var E=(function(){function B(A){var L=this;if(p(this,B),A===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=A,this.worker.onmessage=function(I){setTimeout(function(){L.receive(L,I)},0)}}return k(B,[{key:"postMessage",value:function(L){var I=this.id||0;this.id=I+1,L.id=I;var $=this;return new Promise(function(P,U){$.resolvers[I]=function(J,X){J?($.convertGwtStyleError(J),U(J)):P(X)},$.worker.postMessage(L)})}},{key:"receive",value:function(L,I){var $=I.data,P=L.resolvers[$.id];P&&(delete L.resolvers[$.id],$.error?P($.error):P(null,$.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(L){if(L){var I=L.__java$exception;I&&(I.cause&&I.cause.backingJsObject&&(L.cause=I.cause.backingJsObject,this.convertGwtStyleError(L.cause)),delete L.__java$exception)}}}]),B})()},{}],2:[function(d,w,m){(function(k){(function(){var p;typeof window<"u"?p=window:typeof k<"u"?p=k:typeof self<"u"&&(p=self);var T;function E(){}function B(){}function A(){}function L(){}function I(){}function $(){}function P(){}function U(){}function J(){}function X(){}function rt(){}function lt(){}function xt(){}function Mt(){}function Vt(){}function Gt(){}function be(){}function Ze(){}function Fe(){}function Me(){}function kn(){}function Y(){}function ce(){}function oe(){}function Ot(){}function we(){}function de(){}function Pe(){}function on(){}function $n(){}function xr(){}function _r(){}function Yr(){}function Br(){}function Ri(){}function Oi(){}function Is(){}function hi(){}function sr(){}function Xn(){}function Ii(){}function Jr(){}function $o(){}function Qt(){}function dr(){}function za(){}function Sc(){}function Zg(){}function Xd(){}function z1(){}function t0(){}function La(){}function Bs(){}function Fa(){}function Vl(){}function W1(){}function H(){}function fe(){}function Je(){}function cn(){}function He(){}function Nn(){}function ut(){}function ve(){}function Bn(){}function rn(){}function sn(){}function wn(){}function Cn(){}function Ar(){}function yr(){}function ti(){}function mi(){}function Ns(){}function cc(){}function ad(){}function Vd(){}function wb(){}function rS(){}function VD(){}function PA(){}function iS(){}function jA(){}function sS(){}function YD(){}function z3(){}function JD(){}function QD(){}function _a(){}function Hy(){}function ZD(){}function oS(){}function cS(){}function DA(){}function $A(){}function t$(){}function aS(){}function lS(){}function sx(){}function rp(){}function ox(){}function pb(){}function e$(){}function uS(){}function n$(){}function W3(){}function RA(){}function cx(){}function hS(){}function ax(){}function Ky(){}function U3(){}function U1(){}function r$(){}function i$(){}function fS(){}function NA(){}function s$(){}function dS(){}function o$(){}function c$(){}function qA(){}function lx(){}function gS(){}function or(){}function Bt(){}function Le(){}function jn(){}function Zr(){}function Ui(){}function ls(){}function Wa(){}function pu(){}function G1(){}function Mf(){}function X1(){}function Wh(){}function g5t(){}function b5t(){}function w5t(){}function p5t(){}function m5t(){}function mZ(){}function yZ(){}function y5t(){}function v5t(){}function k5t(){}function C5t(){}function x5t(){}function T5t(){}function S5t(){}function E5t(){}function B5t(){}function A5t(){}function M5t(){}function L5t(){}function F5t(){}function _5t(){}function O5t(){}function I5t(){}function P5t(){}function j5t(){}function D5t(){}function $5t(){}function R5t(){}function N5t(){}function q5t(){}function H5t(){}function K5t(){}function z5t(){}function W5t(){}function U5t(){}function G5t(){}function X5t(){}function V5t(){}function Y5t(){}function J5t(){}function Q5t(){}function Z5t(){}function t6t(){}function e6t(){}function n6t(){}function r6t(){}function i6t(){}function s6t(){}function o6t(){}function c6t(){}function a6t(){}function l6t(){}function u6t(){}function h6t(){}function f6t(){}function d6t(){}function g6t(){}function b6t(){}function w6t(){}function p6t(){}function m6t(){}function y6t(){}function v6t(){}function k6t(){}function C6t(){}function x6t(){}function T6t(){}function S6t(){}function E6t(){}function B6t(){}function A6t(){}function M6t(){}function L6t(){}function F6t(){}function _6t(){}function O6t(){}function I6t(){}function P6t(){}function j6t(){}function D6t(){}function $6t(){}function R6t(){}function N6t(){}function q6t(){}function H6t(){}function K6t(){}function z6t(){}function W6t(){}function U6t(){}function G6t(){}function X6t(){}function V6t(){}function Y6t(){}function J6t(){}function Q6t(){}function Z6t(){}function tTt(){}function eTt(){}function nTt(){}function rTt(){}function iTt(){}function sTt(){}function oTt(){}function cTt(){}function aTt(){}function lTt(){}function uTt(){}function vZ(){}function hTt(){}function fTt(){}function dTt(){}function gTt(){}function bTt(){}function wTt(){}function pTt(){}function mTt(){}function yTt(){}function vTt(){}function kTt(){}function CTt(){}function xTt(){}function TTt(){}function STt(){}function ETt(){}function BTt(){}function ATt(){}function MTt(){}function LTt(){}function FTt(){}function _Tt(){}function OTt(){}function ITt(){}function PTt(){}function jTt(){}function DTt(){}function $Tt(){}function RTt(){}function NTt(){}function qTt(){}function HTt(){}function KTt(){}function zTt(){}function WTt(){}function UTt(){}function GTt(){}function XTt(){}function VTt(){}function YTt(){}function JTt(){}function QTt(){}function ZTt(){}function t8t(){}function e8t(){}function n8t(){}function r8t(){}function i8t(){}function s8t(){}function o8t(){}function c8t(){}function a8t(){}function l8t(){}function u8t(){}function h8t(){}function f8t(){}function d8t(){}function g8t(){}function b8t(){}function w8t(){}function p8t(){}function m8t(){}function y8t(){}function v8t(){}function k8t(){}function C8t(){}function x8t(){}function T8t(){}function S8t(){}function E8t(){}function B8t(){}function A8t(){}function M8t(){}function kZ(){}function L8t(){}function F8t(){}function _8t(){}function O8t(){}function I8t(){}function P8t(){}function j8t(){}function D8t(){}function $8t(){}function R8t(){}function CZ(){}function N8t(){}function q8t(){}function H8t(){}function K8t(){}function z8t(){}function W8t(){}function xZ(){}function TZ(){}function U8t(){}function SZ(){}function EZ(){}function G8t(){}function X8t(){}function V8t(){}function Y8t(){}function J8t(){}function Q8t(){}function Z8t(){}function tSt(){}function eSt(){}function nSt(){}function rSt(){}function BZ(){}function iSt(){}function sSt(){}function oSt(){}function cSt(){}function aSt(){}function lSt(){}function uSt(){}function hSt(){}function fSt(){}function dSt(){}function gSt(){}function bSt(){}function wSt(){}function pSt(){}function mSt(){}function ySt(){}function vSt(){}function kSt(){}function CSt(){}function xSt(){}function TSt(){}function SSt(){}function ESt(){}function BSt(){}function ASt(){}function MSt(){}function LSt(){}function FSt(){}function _St(){}function OSt(){}function ISt(){}function PSt(){}function jSt(){}function DSt(){}function $St(){}function RSt(){}function NSt(){}function qSt(){}function HSt(){}function KSt(){}function zSt(){}function WSt(){}function USt(){}function GSt(){}function XSt(){}function VSt(){}function YSt(){}function JSt(){}function QSt(){}function ZSt(){}function t9t(){}function e9t(){}function n9t(){}function r9t(){}function i9t(){}function s9t(){}function o9t(){}function c9t(){}function a9t(){}function l9t(){}function u9t(){}function h9t(){}function f9t(){}function d9t(){}function g9t(){}function b9t(){}function w9t(){}function p9t(){}function m9t(){}function y9t(){}function v9t(){}function k9t(){}function C9t(){}function x9t(){}function T9t(){}function S9t(){}function E9t(){}function B9t(){}function A9t(){}function M9t(){}function L9t(){}function F9t(){}function _9t(){}function O9t(){}function I9t(){}function P9t(){}function eTe(){}function j9t(){}function D9t(){}function $9t(){}function R9t(){}function N9t(){}function q9t(){}function H9t(){}function K9t(){}function z9t(){}function W9t(){}function U9t(){}function G9t(){}function X9t(){}function V9t(){}function Y9t(){}function J9t(){}function Q9t(){}function Z9t(){}function t7t(){}function e7t(){}function n7t(){}function r7t(){}function i7t(){}function s7t(){}function o7t(){}function c7t(){}function a7t(){}function a$(){}function l$(){}function l7t(){}function u$(){}function u7t(){}function h7t(){}function f7t(){}function d7t(){}function g7t(){}function b7t(){}function w7t(){}function p7t(){}function m7t(){}function y7t(){}function AZ(){}function v7t(){}function k7t(){}function C7t(){}function nTe(){}function x7t(){}function T7t(){}function S7t(){}function E7t(){}function B7t(){}function A7t(){}function M7t(){}function e0(){}function L7t(){}function zy(){}function MZ(){}function F7t(){}function _7t(){}function O7t(){}function I7t(){}function P7t(){}function j7t(){}function D7t(){}function $7t(){}function R7t(){}function N7t(){}function q7t(){}function H7t(){}function K7t(){}function z7t(){}function W7t(){}function U7t(){}function G7t(){}function X7t(){}function V7t(){}function Dt(){}function Y7t(){}function J7t(){}function Q7t(){}function Z7t(){}function tEt(){}function eEt(){}function nEt(){}function rEt(){}function iEt(){}function sEt(){}function oEt(){}function cEt(){}function aEt(){}function h$(){}function lEt(){}function uEt(){}function hEt(){}function HA(){}function fEt(){}function f$(){}function KA(){}function dEt(){}function LZ(){}function gEt(){}function bEt(){}function wEt(){}function pEt(){}function mEt(){}function yEt(){}function zA(){}function vEt(){}function kEt(){}function WA(){}function CEt(){}function UA(){}function xEt(){}function FZ(){}function TEt(){}function d$(){}function _Z(){}function SEt(){}function EEt(){}function BEt(){}function AEt(){}function rTe(){}function MEt(){}function LEt(){}function FEt(){}function _Et(){}function OEt(){}function IEt(){}function PEt(){}function jEt(){}function DEt(){}function $Et(){}function G3(){}function g$(){}function REt(){}function NEt(){}function qEt(){}function HEt(){}function KEt(){}function zEt(){}function WEt(){}function UEt(){}function GEt(){}function XEt(){}function VEt(){}function YEt(){}function JEt(){}function QEt(){}function ZEt(){}function tBt(){}function eBt(){}function nBt(){}function rBt(){}function iBt(){}function sBt(){}function oBt(){}function cBt(){}function aBt(){}function lBt(){}function uBt(){}function hBt(){}function fBt(){}function dBt(){}function gBt(){}function bBt(){}function wBt(){}function pBt(){}function mBt(){}function yBt(){}function vBt(){}function kBt(){}function CBt(){}function xBt(){}function TBt(){}function SBt(){}function EBt(){}function BBt(){}function ABt(){}function MBt(){}function LBt(){}function FBt(){}function _Bt(){}function OBt(){}function IBt(){}function PBt(){}function jBt(){}function DBt(){}function $Bt(){}function RBt(){}function NBt(){}function qBt(){}function HBt(){}function KBt(){}function zBt(){}function WBt(){}function UBt(){}function GBt(){}function XBt(){}function VBt(){}function YBt(){}function JBt(){}function QBt(){}function ZBt(){}function tAt(){}function eAt(){}function nAt(){}function rAt(){}function iAt(){}function sAt(){}function oAt(){}function cAt(){}function aAt(){}function lAt(){}function uAt(){}function hAt(){}function fAt(){}function dAt(){}function gAt(){}function bAt(){}function wAt(){}function pAt(){}function mAt(){}function yAt(){}function vAt(){}function kAt(){}function CAt(){}function xAt(){}function TAt(){}function SAt(){}function EAt(){}function BAt(){}function AAt(){}function MAt(){}function LAt(){}function FAt(){}function OZ(){}function _At(){}function OAt(){}function b$(){px()}function IAt(){MS()}function PAt(){O_()}function jAt(){kH()}function DAt(){H5()}function $At(){Kat()}function RAt(){Fu()}function NAt(){Zct()}function qAt(){b7()}function HAt(){LS()}function KAt(){i9()}function zAt(){wjt()}function WAt(){Fv()}function UAt(){zWt()}function GAt(){Qst()}function XAt(){_Kt()}function VAt(){Zst()}function YAt(){kUt()}function JAt(){FKt()}function QAt(){rC()}function ZAt(){iXt()}function tMt(){rXt()}function eMt(){Bzt()}function nMt(){sXt()}function rMt(){mg()}function iMt(){vM()}function sMt(){Hut()}function oMt(){Ft()}function cMt(){oXt()}function aMt(){OXt()}function lMt(){OKt()}function uMt(){iQt()}function hMt(){IKt()}function fMt(){mne()}function dMt(){vlt()}function gMt(){Cd()}function bMt(){yYt()}function wMt(){qo()}function pMt(){KKt()}function mMt(){Lv()}function yMt(){nut()}function vMt(){yg()}function kMt(){rut()}function CMt(){Mh()}function xMt(){v7()}function TMt(){GK()}function SMt(){nK()}function Vu(){yNt()}function EMt(){yF()}function BMt(){R_()}function IZ(){Vn()}function AMt(){e_()}function MMt(){Mct()}function PZ(){nH()}function jZ(){cO()}function LMt(){gut()}function DZ(t){$e(t)}function FMt(t){this.a=t}function GA(t){this.a=t}function _Mt(t){this.a=t}function OMt(t){this.a=t}function IMt(t){this.a=t}function PMt(t){this.a=t}function jMt(t){this.a=t}function DMt(t){this.a=t}function $Z(t){this.a=t}function RZ(t){this.a=t}function $Mt(t){this.a=t}function RMt(t){this.a=t}function w$(t){this.a=t}function NMt(t){this.a=t}function qMt(t){this.a=t}function p$(t){this.a=t}function m$(t){this.a=t}function HMt(t){this.a=t}function y$(t){this.a=t}function KMt(t){this.a=t}function zMt(t){this.a=t}function WMt(t){this.a=t}function NZ(t){this.b=t}function UMt(t){this.c=t}function GMt(t){this.a=t}function XMt(t){this.a=t}function VMt(t){this.a=t}function YMt(t){this.a=t}function JMt(t){this.a=t}function QMt(t){this.a=t}function ZMt(t){this.a=t}function tLt(t){this.a=t}function eLt(t){this.a=t}function nLt(t){this.a=t}function rLt(t){this.a=t}function iLt(t){this.a=t}function sLt(t){this.a=t}function qZ(t){this.a=t}function HZ(t){this.a=t}function XA(t){this.a=t}function bS(t){this.a=t}function n0(){this.a=[]}function oLt(t,e){t.a=e}function iTe(t,e){t.a=e}function sTe(t,e){t.b=e}function oTe(t,e){t.b=e}function cTe(t,e){t.b=e}function KZ(t,e){t.j=e}function aTe(t,e){t.g=e}function lTe(t,e){t.i=e}function uTe(t,e){t.c=e}function hTe(t,e){t.c=e}function fTe(t,e){t.d=e}function dTe(t,e){t.d=e}function r0(t,e){t.k=e}function gTe(t,e){t.c=e}function zZ(t,e){t.c=e}function WZ(t,e){t.a=e}function bTe(t,e){t.a=e}function wTe(t,e){t.f=e}function pTe(t,e){t.a=e}function mTe(t,e){t.b=e}function v$(t,e){t.d=e}function VA(t,e){t.i=e}function UZ(t,e){t.o=e}function yTe(t,e){t.r=e}function vTe(t,e){t.a=e}function kTe(t,e){t.b=e}function cLt(t,e){t.e=e}function CTe(t,e){t.f=e}function GZ(t,e){t.g=e}function xTe(t,e){t.e=e}function TTe(t,e){t.f=e}function STe(t,e){t.f=e}function k$(t,e){t.a=e}function C$(t,e){t.b=e}function ETe(t,e){t.n=e}function BTe(t,e){t.a=e}function ATe(t,e){t.c=e}function MTe(t,e){t.c=e}function LTe(t,e){t.c=e}function FTe(t,e){t.a=e}function _Te(t,e){t.a=e}function OTe(t,e){t.d=e}function ITe(t,e){t.d=e}function PTe(t,e){t.e=e}function jTe(t,e){t.e=e}function DTe(t,e){t.g=e}function $Te(t,e){t.f=e}function RTe(t,e){t.j=e}function NTe(t,e){t.a=e}function qTe(t,e){t.a=e}function HTe(t,e){t.b=e}function aLt(t){t.b=t.a}function lLt(t){t.c=t.d.d}function XZ(t){this.a=t}function VZ(t){this.a=t}function YZ(t){this.a=t}function i0(t){this.a=t}function s0(t){this.a=t}function wS(t){this.a=t}function uLt(t){this.a=t}function JZ(t){this.a=t}function pS(t){this.a=t}function YA(t){this.a=t}function ld(t){this.a=t}function ip(t){this.a=t}function hLt(t){this.a=t}function fLt(t){this.a=t}function x$(t){this.b=t}function X3(t){this.b=t}function V3(t){this.b=t}function T$(t){this.a=t}function dLt(t){this.a=t}function S$(t){this.c=t}function R(t){this.c=t}function gLt(t){this.c=t}function ux(t){this.d=t}function QZ(t){this.a=t}function An(t){this.a=t}function bLt(t){this.a=t}function ZZ(t){this.a=t}function ttt(t){this.a=t}function ett(t){this.a=t}function ntt(t){this.a=t}function rtt(t){this.a=t}function itt(t){this.a=t}function Y3(t){this.a=t}function wLt(t){this.a=t}function pLt(t){this.a=t}function J3(t){this.a=t}function mLt(t){this.a=t}function yLt(t){this.a=t}function vLt(t){this.a=t}function kLt(t){this.a=t}function CLt(t){this.a=t}function xLt(t){this.a=t}function TLt(t){this.a=t}function SLt(t){this.a=t}function ELt(t){this.a=t}function BLt(t){this.a=t}function ALt(t){this.a=t}function MLt(t){this.a=t}function LLt(t){this.a=t}function FLt(t){this.a=t}function _Lt(t){this.a=t}function hx(t){this.a=t}function OLt(t){this.a=t}function ILt(t){this.a=t}function PLt(t){this.a=t}function jLt(t){this.a=t}function JA(t){this.a=t}function DLt(t){this.a=t}function $Lt(t){this.a=t}function Q3(t){this.a=t}function stt(t){this.a=t}function RLt(t){this.a=t}function NLt(t){this.a=t}function qLt(t){this.a=t}function HLt(t){this.a=t}function KLt(t){this.a=t}function zLt(t){this.a=t}function ott(t){this.a=t}function ctt(t){this.a=t}function att(t){this.a=t}function fx(t){this.a=t}function QA(t){this.e=t}function Z3(t){this.a=t}function WLt(t){this.a=t}function Wy(t){this.a=t}function ltt(t){this.a=t}function ULt(t){this.a=t}function GLt(t){this.a=t}function XLt(t){this.a=t}function VLt(t){this.a=t}function YLt(t){this.a=t}function JLt(t){this.a=t}function QLt(t){this.a=t}function ZLt(t){this.a=t}function tFt(t){this.a=t}function eFt(t){this.a=t}function nFt(t){this.a=t}function utt(t){this.a=t}function rFt(t){this.a=t}function iFt(t){this.a=t}function sFt(t){this.a=t}function oFt(t){this.a=t}function cFt(t){this.a=t}function aFt(t){this.a=t}function lFt(t){this.a=t}function uFt(t){this.a=t}function hFt(t){this.a=t}function fFt(t){this.a=t}function dFt(t){this.a=t}function gFt(t){this.a=t}function bFt(t){this.a=t}function wFt(t){this.a=t}function pFt(t){this.a=t}function mFt(t){this.a=t}function yFt(t){this.a=t}function vFt(t){this.a=t}function kFt(t){this.a=t}function CFt(t){this.a=t}function xFt(t){this.a=t}function TFt(t){this.a=t}function SFt(t){this.a=t}function EFt(t){this.a=t}function BFt(t){this.a=t}function AFt(t){this.a=t}function MFt(t){this.a=t}function LFt(t){this.a=t}function FFt(t){this.a=t}function _Ft(t){this.a=t}function OFt(t){this.a=t}function IFt(t){this.a=t}function PFt(t){this.a=t}function jFt(t){this.a=t}function DFt(t){this.a=t}function $Ft(t){this.a=t}function RFt(t){this.a=t}function NFt(t){this.a=t}function qFt(t){this.c=t}function HFt(t){this.b=t}function KFt(t){this.a=t}function zFt(t){this.a=t}function WFt(t){this.a=t}function UFt(t){this.a=t}function GFt(t){this.a=t}function XFt(t){this.a=t}function VFt(t){this.a=t}function YFt(t){this.a=t}function JFt(t){this.a=t}function QFt(t){this.a=t}function ZFt(t){this.a=t}function t_t(t){this.a=t}function e_t(t){this.a=t}function n_t(t){this.a=t}function r_t(t){this.a=t}function i_t(t){this.a=t}function s_t(t){this.a=t}function o_t(t){this.a=t}function c_t(t){this.a=t}function a_t(t){this.a=t}function l_t(t){this.a=t}function u_t(t){this.a=t}function h_t(t){this.a=t}function f_t(t){this.a=t}function d_t(t){this.a=t}function g_t(t){this.a=t}function b_t(t){this.a=t}function ud(t){this.a=t}function X2(t){this.a=t}function w_t(t){this.a=t}function p_t(t){this.a=t}function m_t(t){this.a=t}function y_t(t){this.a=t}function v_t(t){this.a=t}function k_t(t){this.a=t}function C_t(t){this.a=t}function x_t(t){this.a=t}function T_t(t){this.a=t}function S_t(t){this.a=t}function E_t(t){this.a=t}function B_t(t){this.a=t}function A_t(t){this.a=t}function M_t(t){this.a=t}function L_t(t){this.a=t}function F_t(t){this.a=t}function __t(t){this.a=t}function O_t(t){this.a=t}function I_t(t){this.a=t}function P_t(t){this.a=t}function j_t(t){this.a=t}function D_t(t){this.a=t}function $_t(t){this.a=t}function R_t(t){this.a=t}function N_t(t){this.a=t}function q_t(t){this.a=t}function ZA(t){this.a=t}function H_t(t){this.f=t}function K_t(t){this.a=t}function z_t(t){this.a=t}function W_t(t){this.a=t}function U_t(t){this.a=t}function G_t(t){this.a=t}function X_t(t){this.a=t}function V_t(t){this.a=t}function Y_t(t){this.a=t}function J_t(t){this.a=t}function Q_t(t){this.a=t}function Z_t(t){this.a=t}function tOt(t){this.a=t}function eOt(t){this.a=t}function nOt(t){this.a=t}function rOt(t){this.a=t}function iOt(t){this.a=t}function sOt(t){this.a=t}function oOt(t){this.a=t}function cOt(t){this.a=t}function aOt(t){this.a=t}function lOt(t){this.a=t}function uOt(t){this.a=t}function hOt(t){this.a=t}function fOt(t){this.a=t}function dOt(t){this.a=t}function gOt(t){this.a=t}function bOt(t){this.a=t}function wOt(t){this.a=t}function E$(t){this.a=t}function htt(t){this.a=t}function vr(t){this.b=t}function pOt(t){this.a=t}function mOt(t){this.a=t}function yOt(t){this.a=t}function vOt(t){this.a=t}function kOt(t){this.a=t}function COt(t){this.a=t}function xOt(t){this.a=t}function TOt(t){this.b=t}function SOt(t){this.a=t}function mS(t){this.a=t}function EOt(t){this.a=t}function BOt(t){this.a=t}function ftt(t){this.c=t}function tM(t){this.e=t}function eM(t){this.a=t}function nM(t){this.a=t}function B$(t){this.a=t}function AOt(t){this.d=t}function MOt(t){this.a=t}function dtt(t){this.a=t}function gtt(t){this.a=t}function mb(t){this.e=t}function KTe(){this.a=0}function hn(){ya(this)}function Tt(){qR(this)}function A$(){fHt(this)}function LOt(){}function yb(){this.c=Cvt}function FOt(t,e){t.b+=e}function zTe(t,e){e.Wb(t)}function WTe(t){return t.a}function UTe(t){return t.a}function GTe(t){return t.a}function XTe(t){return t.a}function VTe(t){return t.a}function N(t){return t.e}function YTe(){return null}function JTe(){return null}function QTe(){Ztt(),Fen()}function ZTe(t){t.b.Of(t.e)}function _Ot(t){t.b=new X$}function dx(t,e){t.b=e-t.b}function gx(t,e){t.a=e-t.a}function ke(t,e){t.push(e)}function OOt(t,e){t.sort(e)}function IOt(t,e){e.jd(t.a)}function t8e(t,e){Di(e,t)}function e8e(t,e,n){t.Yd(n,e)}function yS(t,e){t.e=e,e.b=t}function btt(t){Qh(),this.a=t}function POt(t){Qh(),this.a=t}function jOt(t){Qh(),this.a=t}function M$(t){qb(),this.a=t}function DOt(t){Mk(),mG.le(t)}function wtt(){wtt=Y,new hn}function o0(){nRt.call(this)}function ptt(){nRt.call(this)}function mtt(){o0.call(this)}function L$(){o0.call(this)}function $Ot(){o0.call(this)}function vS(){o0.call(this)}function na(){o0.call(this)}function Uy(){o0.call(this)}function Fn(){o0.call(this)}function xl(){o0.call(this)}function ROt(){o0.call(this)}function Mo(){o0.call(this)}function NOt(){o0.call(this)}function qOt(){this.a=this}function rM(){this.Bb|=256}function HOt(){this.b=new VDt}function sp(t,e){t.length=e}function iM(t,e){St(t.a,e)}function n8e(t,e){Wat(t.c,e)}function r8e(t,e){Ai(t.b,e)}function i8e(t,e){B_(t.a,e)}function s8e(t,e){MH(t.a,e)}function tk(t,e){ur(t.e,e)}function Gy(t){K_(t.c,t.b)}function o8e(t,e){t.kc().Nb(e)}function ytt(t){this.a=Q$e(t)}function yi(){this.a=new hn}function KOt(){this.a=new hn}function vtt(){this.a=new ajt}function sM(){this.a=new Tt}function F$(){this.a=new Tt}function ktt(){this.a=new Tt}function Yl(){this.a=new Ar}function c0(){this.a=new $Wt}function Ctt(){this.a=new fS}function xtt(){this.a=new LKt}function Ttt(){this.a=new HRt}function zOt(){this.a=new Tt}function WOt(){this.a=new Tt}function UOt(){this.a=new Tt}function Stt(){this.a=new Tt}function GOt(){this.d=new Tt}function XOt(){this.a=new YKt}function VOt(){this.a=new yi}function YOt(){this.a=new hn}function JOt(){this.b=new hn}function QOt(){this.b=new Tt}function Ett(){this.e=new Tt}function ZOt(){this.a=new rMt}function tIt(){this.d=new Tt}function eIt(){eKt.call(this)}function nIt(){eKt.call(this)}function rIt(){Tt.call(this)}function Btt(){mtt.call(this)}function Att(){sM.call(this)}function iIt(){uL.call(this)}function sIt(){Stt.call(this)}function bx(){LOt.call(this)}function _$(){bx.call(this)}function Xy(){LOt.call(this)}function Mtt(){Xy.call(this)}function oIt(){Ott.call(this)}function cIt(){Ott.call(this)}function aIt(){Ott.call(this)}function lIt(){Itt.call(this)}function wx(){fEt.call(this)}function Ltt(){fEt.call(this)}function ra(){$r.call(this)}function uIt(){SIt.call(this)}function hIt(){SIt.call(this)}function fIt(){hn.call(this)}function dIt(){hn.call(this)}function gIt(){hn.call(this)}function O$(){lXt.call(this)}function bIt(){yi.call(this)}function wIt(){rM.call(this)}function I$(){bnt.call(this)}function Ftt(){hn.call(this)}function P$(){bnt.call(this)}function j$(){hn.call(this)}function pIt(){hn.call(this)}function _tt(){UA.call(this)}function mIt(){_tt.call(this)}function yIt(){UA.call(this)}function vIt(){OZ.call(this)}function Ott(){this.a=new yi}function kIt(){this.a=new hn}function CIt(){this.a=new Tt}function Itt(){this.a=new hn}function Vy(){this.a=new $r}function xIt(){this.j=new Tt}function TIt(){this.a=new CPt}function SIt(){this.a=new CEt}function Ptt(){this.a=new r7t}function px(){px=Y,uG=new B}function D$(){D$=Y,hG=new BIt}function $$(){$$=Y,fG=new EIt}function EIt(){p$.call(this,"")}function BIt(){p$.call(this,"")}function AIt(t){_Gt.call(this,t)}function MIt(t){_Gt.call(this,t)}function jtt(t){$Z.call(this,t)}function Dtt(t){JPt.call(this,t)}function c8e(t){JPt.call(this,t)}function a8e(t){Dtt.call(this,t)}function l8e(t){Dtt.call(this,t)}function u8e(t){Dtt.call(this,t)}function LIt(t){wq.call(this,t)}function FIt(t){wq.call(this,t)}function _It(t){uNt.call(this,t)}function OIt(t){oet.call(this,t)}function mx(t){wM.call(this,t)}function $tt(t){wM.call(this,t)}function IIt(t){wM.call(this,t)}function Rtt(t){_ze.call(this,t)}function Ntt(t){Rtt.call(this,t)}function Lo(t){Fqt.call(this,t)}function PIt(t){Lo.call(this,t)}function Yy(){bS.call(this,{})}function jIt(){jIt=Y,ple=new Me}function oM(){oM=Y,bG=new _$t}function DIt(){DIt=Y,$1t=new E}function qtt(){qtt=Y,R1t=new Mt}function cM(){cM=Y,U6=new be}function R$(t){fk(),this.a=t}function N$(t){wot(),this.a=t}function vb(t){TN(),this.f=t}function q$(t){TN(),this.f=t}function $It(t){mNt(),this.a=t}function RIt(t){t.b=null,t.c=0}function h8e(t,e){t.e=e,mee(t,e)}function f8e(t,e){t.a=e,yWe(t)}function H$(t,e,n){t.a[e.g]=n}function d8e(t,e,n){IHe(n,t,e)}function g8e(t,e){lEe(e.i,t.n)}function NIt(t,e){ODe(t).Cd(e)}function b8e(t,e){t.a.ec().Mc(e)}function qIt(t,e){return t.g-e.g}function w8e(t,e){return t*t/e}function It(t){return $e(t),t}function nt(t){return $e(t),t}function kS(t){return $e(t),t}function p8e(t){return new XA(t)}function m8e(t){return new yp(t)}function Htt(t){return $e(t),t}function y8e(t){return $e(t),t}function aM(t){Lo.call(this,t)}function ro(t){Lo.call(this,t)}function HIt(t){Lo.call(this,t)}function K$(t){Fqt.call(this,t)}function ek(t){Lo.call(this,t)}function _e(t){Lo.call(this,t)}function io(t){Lo.call(this,t)}function KIt(t){Lo.call(this,t)}function Jy(t){Lo.call(this,t)}function Yd(t){Lo.call(this,t)}function Jd(t){Lo.call(this,t)}function Qy(t){Lo.call(this,t)}function Uh(t){Lo.call(this,t)}function z$(t){Lo.call(this,t)}function Pn(t){Lo.call(this,t)}function pa(t){$e(t),this.a=t}function Ktt(t){return B0(t),t}function yx(t){rit(t,t.length)}function vx(t){return t.b==t.c}function op(t){return!!t&&t.b}function v8e(t){return!!t&&t.k}function k8e(t){return!!t&&t.j}function C8e(t,e,n){t.c.Ef(e,n)}function zIt(t,e){t.be(e),e.ae(t)}function Zy(t){Qh(),this.a=Ln(t)}function W$(){this.a=On(Ln(Fs))}function WIt(){throw N(new Fn)}function x8e(){throw N(new Fn)}function ztt(){throw N(new Fn)}function UIt(){throw N(new Fn)}function T8e(){throw N(new Fn)}function S8e(){throw N(new Fn)}function lM(){lM=Y,Mk()}function Qd(){wS.call(this,"")}function kx(){wS.call(this,"")}function V1(){wS.call(this,"")}function tv(){wS.call(this,"")}function Wtt(t){ro.call(this,t)}function Utt(t){ro.call(this,t)}function Gh(t){_e.call(this,t)}function nk(t){V3.call(this,t)}function GIt(t){nk.call(this,t)}function U$(t){sL.call(this,t)}function G$(t){Bnt.call(this,t,0)}function X$(){Rit.call(this,12,3)}function K(t,e){return TKt(t,e)}function uM(t,e){return Fq(t,e)}function E8e(t,e){return t.a-e.a}function B8e(t,e){return t.a-e.a}function A8e(t,e){return t.a-e.a}function M8e(t,e){return e in t.a}function XIt(t){return t.a?t.b:0}function L8e(t){return t.a?t.b:0}function F8e(t,e,n){e.Cd(t.a[n])}function _8e(t,e,n){e.Pe(t.a[n])}function O8e(t,e){t.b=new Ms(e)}function I8e(t,e){return t.b=e,t}function VIt(t,e){return t.c=e,t}function YIt(t,e){return t.f=e,t}function P8e(t,e){return t.g=e,t}function Gtt(t,e){return t.a=e,t}function Xtt(t,e){return t.f=e,t}function j8e(t,e){return t.k=e,t}function Vtt(t,e){return t.a=e,t}function D8e(t,e){return t.e=e,t}function Ytt(t,e){return t.e=e,t}function $8e(t,e){return t.f=e,t}function R8e(t,e){t.b=!0,t.d=e}function N8e(t,e){return t.b-e.b}function q8e(t,e){return t.g-e.g}function H8e(t,e){return t?0:e-1}function JIt(t,e){return t?0:e-1}function K8e(t,e){return t?e-1:0}function z8e(t,e){return t.s-e.s}function W8e(t,e){return e.rg(t)}function kb(t,e){return t.b=e,t}function hM(t,e){return t.a=e,t}function Cb(t,e){return t.c=e,t}function xb(t,e){return t.d=e,t}function Tb(t,e){return t.e=e,t}function Jtt(t,e){return t.f=e,t}function Cx(t,e){return t.a=e,t}function rk(t,e){return t.b=e,t}function ik(t,e){return t.c=e,t}function Rt(t,e){return t.c=e,t}function re(t,e){return t.b=e,t}function Nt(t,e){return t.d=e,t}function qt(t,e){return t.e=e,t}function U8e(t,e){return t.f=e,t}function Ht(t,e){return t.g=e,t}function Kt(t,e){return t.a=e,t}function zt(t,e){return t.i=e,t}function Wt(t,e){return t.j=e,t}function G8e(t,e){mg(),_o(e,t)}function X8e(t,e,n){uMe(t.a,e,n)}function fM(t){sN.call(this,t)}function QIt(t){dRe.call(this,t)}function ZIt(t){_Ht.call(this,t)}function Qtt(t){_Ht.call(this,t)}function Y1(t){Jb.call(this,t)}function tPt(t){XN.call(this,t)}function ePt(t){XN.call(this,t)}function nPt(){lnt.call(this,"")}function ns(){this.a=0,this.b=0}function rPt(){this.b=0,this.a=0}function iPt(t,e){t.b=0,Mp(t,e)}function sPt(t,e){return t.k=e,t}function V8e(t,e){return t.j=e,t}function Y8e(t,e){t.c=e,t.b=!0}function oPt(){oPt=Y,Lle=cKe()}function J1(){J1=Y,xpe=mHe()}function cPt(){cPt=Y,Vi=LKe()}function Ztt(){Ztt=Y,zg=zk()}function sk(){sk=Y,kvt=yHe()}function aPt(){aPt=Y,c2e=vHe()}function tet(){tet=Y,Qo=wWe()}function Yu(t){return t.e&&t.e()}function lPt(t){return t.l|t.m<<22}function uPt(t,e){return t.c._b(e)}function hPt(t,e){return aYt(t.b,e)}function V$(t){return t?t.d:null}function J8e(t){return t?t.g:null}function Q8e(t){return t?t.i:null}function a0(t){return dd(t),t.o}function V2(t,e){return t.a+=e,t}function Y$(t,e){return t.a+=e,t}function Zd(t,e){return t.a+=e,t}function Sb(t,e){return t.a+=e,t}function eet(t,e){for(;t.Bd(e););}function dM(t){this.a=new ev(t)}function fPt(){throw N(new Fn)}function dPt(){throw N(new Fn)}function gPt(){throw N(new Fn)}function bPt(){throw N(new Fn)}function wPt(){throw N(new Fn)}function pPt(){throw N(new Fn)}function t1(t){this.a=new BN(t)}function mPt(){this.a=new r6(w2t)}function yPt(){this.b=new r6(Ppt)}function vPt(){this.a=new r6(N2t)}function kPt(){this.b=new r6(cY)}function CPt(){this.b=new r6(cY)}function gM(t){this.a=0,this.b=t}function net(t){Yre(),zen(this,t)}function ok(t){return sg(t),t.a}function CS(t){return t.b!=t.d.c}function ret(t,e){return t.d[e.p]}function xPt(t,e){return cVe(t,e)}function iet(t,e,n){t.splice(e,n)}function Y2(t,e){for(;t.Re(e););}function TPt(t){t.c?jee(t):Dee(t)}function SPt(){throw N(new Fn)}function EPt(){throw N(new Fn)}function BPt(){throw N(new Fn)}function APt(){throw N(new Fn)}function MPt(){throw N(new Fn)}function LPt(){throw N(new Fn)}function FPt(){throw N(new Fn)}function _Pt(){throw N(new Fn)}function OPt(){throw N(new Fn)}function IPt(){throw N(new Fn)}function Z8e(){throw N(new Mo)}function tSe(){throw N(new Mo)}function xS(t){this.a=new PPt(t)}function PPt(t){ije(this,t,jze())}function TS(t){return!t||hHt(t)}function SS(t){return zh[t]!=-1}function eSe(){EI!=0&&(EI=0),BI=-1}function jPt(){lG==null&&(lG=[])}function ES(t,e){um.call(this,t,e)}function ck(t,e){ES.call(this,t,e)}function DPt(t,e){this.a=t,this.b=e}function $Pt(t,e){this.a=t,this.b=e}function RPt(t,e){this.a=t,this.b=e}function NPt(t,e){this.a=t,this.b=e}function qPt(t,e){this.a=t,this.b=e}function HPt(t,e){this.a=t,this.b=e}function KPt(t,e){this.a=t,this.b=e}function ak(t,e){this.e=t,this.d=e}function set(t,e){this.b=t,this.c=e}function zPt(t,e){this.b=t,this.a=e}function WPt(t,e){this.b=t,this.a=e}function UPt(t,e){this.b=t,this.a=e}function GPt(t,e){this.b=t,this.a=e}function XPt(t,e){this.a=t,this.b=e}function J$(t,e){this.a=t,this.b=e}function VPt(t,e){this.a=t,this.f=e}function Eb(t,e){this.g=t,this.i=e}function xn(t,e){this.f=t,this.g=e}function YPt(t,e){this.b=t,this.c=e}function JPt(t){pnt(t.dc()),this.c=t}function nSe(t,e){this.a=t,this.b=e}function QPt(t,e){this.a=t,this.b=e}function ZPt(t){this.a=o(Ln(t),15)}function oet(t){this.a=o(Ln(t),15)}function tjt(t){this.a=o(Ln(t),85)}function bM(t){this.b=o(Ln(t),85)}function wM(t){this.b=o(Ln(t),51)}function pM(){this.q=new p.Date}function Q$(t,e){this.a=t,this.b=e}function ejt(t,e){return Pc(t.b,e)}function BS(t,e){return t.b.Hc(e)}function njt(t,e){return t.b.Ic(e)}function rjt(t,e){return t.b.Qc(e)}function ijt(t,e){return t.b.Hc(e)}function sjt(t,e){return t.c.uc(e)}function ojt(t,e){return hr(t.c,e)}function Ju(t,e){return t.a._b(e)}function cjt(t,e){return t>e&&e<b6}function xx(t){return t.f.c+t.i.c}function rSe(t){return Yqt(),t?wle:ble}function ev(t){yVt.call(this,t,0)}function ajt(){BN.call(this,null)}function nv(t){this.c=t,cGt(this)}function $r(){E$t(this),nl(this)}function hd(){hd=Y,kle=new ce}function lk(){lk=Y,c4=new we}function cp(){cp=Y,TG=new GDt}function mM(){mM=Y,_le=new XDt}function uk(){uk=Y,fgt=new Xn}function cet(){Bq.call(this,null)}function l0(){l0=Y,a3=new Je}function ci(t,e){sg(t),t.a.Nb(e)}function iSe(t,e){return t.a.Xc(e)}function sSe(t,e){return t.a.Yc(e)}function Z$(t,e){return t.a.$c(e)}function tR(t,e){return t.a._c(e)}function oSe(t,e){return t.Gc(e),t}function cSe(t,e){return cs(t,e),t}function aSe(t,e){jK(ht(t.a),e)}function lSe(t,e){jK(ht(t.a),e)}function ljt(t,e){return t.Gc(e),t}function uSe(t,e){return t.a.f=e,t}function ujt(t,e){return t.a.d=e,t}function hjt(t,e){return t.a.g=e,t}function fjt(t,e){return t.a.j=e,t}function mu(t,e){return t.a.a=e,t}function yu(t,e){return t.a.d=e,t}function vu(t,e){return t.a.e=e,t}function ku(t,e){return t.a.g=e,t}function AS(t,e){return t.a.f=e,t}function hSe(t){return t.b=!1,t}function djt(){djt=Y,Hle=new ve}function yM(){yM=Y,$G=new mRt}function aet(){aet=Y,Ehe=new s$}function gjt(){gjt=Y,Bhe=new Bt}function uet(){uet=Y,Ahe=new yqt}function het(){het=Y,a0t=new Ui}function bjt(){bjt=Y,Dhe=new p5t}function Tx(){Tx=Y,Rhe=new m5t}function MS(){MS=Y,Khe=new W5t}function LS(){LS=Y,Hhe=new ns}function wjt(){wjt=Y,Ghe=new M6t}function Sx(){Sx=Y,efe=new u8t}function vM(){vM=Y,ty=new I8t}function kM(){kM=Y,tge=new rEt}function CM(){CM=Y,aY=new mjt}function xM(){xM=Y,lY=new pRt}function Ex(){Ex=Y,hB=new mHt}function pjt(){nXt(),this.c=new X$}function mjt(){xn.call(this,Qse,0)}function fSe(t,e,n){so(t.d,e.f,n)}function dSe(t,e,n,r){KNe(t,r,e,n)}function gSe(t,e,n,r){gXe(r,t,e,n)}function bSe(t,e,n,r){ztn(r,t,e,n)}function Bx(t,e){m1(t.c.c,e.b,e)}function Bb(t,e){m1(t.c.b,e.c,e)}function wSe(t){return t.e.b+t.f.b}function pSe(t){return t.e.a+t.f.a}function mSe(t){return t.b?t.b:t.a}function ySe(t){return(t.c+t.a)/2}function yjt(t,e){return Zqe(t.a,e)}function Ax(t,e){return t.a=e.g,t}function fet(){fet=Y,vvt=new pIt}function vjt(){vjt=Y,Kpe=new gIt}function Ab(){Ab=Y,kpe=new iEt}function kjt(){kjt=Y,Mpe=new bEt}function Cjt(){Cjt=Y,Hpe=new dIt}function Q1(){Q1=Y,gu=new Ftt}function TM(){TM=Y,Hj=new hn}function Mx(){Mx=Y,VY=new L$t}function e1(){e1=Y,jB=new F$t}function eR(){eR=Y,r2e=new LBt}function qs(){qs=Y,s2e=new FBt}function Z1(){Z1=Y,Xg=new OAt}function det(){det=Y,Fvt=new Tt}function SM(t){return o(t,44).ld()}function nR(t){return t.b<t.d.gc()}function vSe(t,e){return e.split(t)}function rR(t,e){return nc(t,e)>0}function iR(t,e){return nc(t,e)<0}function xjt(t,e){return vN(t.a,e)}function kSe(t,e){SKt.call(this,t,e)}function get(t){RN(),uNt.call(this,t)}function bet(t,e){mqt(t,t.length,e)}function FS(t,e){Uqt(t,t.length,e)}function Lx(t,e){return t.a.get(e)}function Tjt(t,e){return Pc(t.e,e)}function wet(t){return $e(t),!1}function pet(t){this.a=o(Ln(t),229)}function EM(t){se.call(this,t,21)}function BM(t,e){xn.call(this,t,e)}function sR(t,e){xn.call(this,t,e)}function Sjt(t,e){this.b=t,this.a=e}function AM(t,e){this.d=t,this.e=e}function Ejt(t,e){this.a=t,this.b=e}function Bjt(t,e){this.a=t,this.b=e}function Ajt(t,e){this.a=t,this.b=e}function Mjt(t,e){this.a=t,this.b=e}function rv(t,e){this.a=t,this.b=e}function Ljt(t,e){this.b=t,this.a=e}function met(t,e){this.b=t,this.a=e}function yet(t,e){xn.call(this,t,e)}function vet(t,e){xn.call(this,t,e)}function J2(t,e){xn.call(this,t,e)}function oR(t,e){xn.call(this,t,e)}function cR(t,e){xn.call(this,t,e)}function aR(t,e){xn.call(this,t,e)}function MM(t,e){xn.call(this,t,e)}function ket(t,e){this.b=t,this.a=e}function LM(t,e){xn.call(this,t,e)}function Cet(t,e){this.b=t,this.a=e}function FM(t,e){xn.call(this,t,e)}function Fjt(t,e){this.b=t,this.a=e}function xet(t,e){xn.call(this,t,e)}function lR(t,e){xn.call(this,t,e)}function _S(t,e){xn.call(this,t,e)}function Fx(t,e,n){t.splice(e,0,n)}function CSe(t,e,n){t.Mb(n)&&e.Cd(n)}function xSe(t,e,n){e.Pe(t.a.Ye(n))}function TSe(t,e,n){e.Dd(t.a.Ze(n))}function SSe(t,e,n){e.Cd(t.a.Kb(n))}function ESe(t,e){return sa(t.c,e)}function BSe(t,e){return sa(t.e,e)}function _M(t,e){xn.call(this,t,e)}function OM(t,e){xn.call(this,t,e)}function _x(t,e){xn.call(this,t,e)}function Tet(t,e){xn.call(this,t,e)}function vi(t,e){xn.call(this,t,e)}function IM(t,e){xn.call(this,t,e)}function _jt(t,e){this.a=t,this.b=e}function Ojt(t,e){this.a=t,this.b=e}function Ijt(t,e){this.a=t,this.b=e}function Pjt(t,e){this.a=t,this.b=e}function jjt(t,e){this.a=t,this.b=e}function Djt(t,e){this.a=t,this.b=e}function $jt(t,e){this.b=t,this.a=e}function Rjt(t,e){this.b=t,this.a=e}function Eet(t,e){this.b=t,this.a=e}function hk(t,e){this.c=t,this.d=e}function Njt(t,e){this.e=t,this.d=e}function qjt(t,e){this.a=t,this.b=e}function Hjt(t,e){this.a=t,this.b=e}function Kjt(t,e){this.a=t,this.b=e}function zjt(t,e){this.b=t,this.a=e}function Wjt(t,e){this.b=e,this.c=t}function PM(t,e){xn.call(this,t,e)}function OS(t,e){xn.call(this,t,e)}function uR(t,e){xn.call(this,t,e)}function Bet(t,e){xn.call(this,t,e)}function Ox(t,e){xn.call(this,t,e)}function hR(t,e){xn.call(this,t,e)}function fR(t,e){xn.call(this,t,e)}function IS(t,e){xn.call(this,t,e)}function Aet(t,e){xn.call(this,t,e)}function dR(t,e){xn.call(this,t,e)}function Ix(t,e){xn.call(this,t,e)}function Met(t,e){xn.call(this,t,e)}function Px(t,e){xn.call(this,t,e)}function jx(t,e){xn.call(this,t,e)}function ap(t,e){xn.call(this,t,e)}function gR(t,e){xn.call(this,t,e)}function bR(t,e){xn.call(this,t,e)}function Let(t,e){xn.call(this,t,e)}function PS(t,e){xn.call(this,t,e)}function Q2(t,e){xn.call(this,t,e)}function wR(t,e){xn.call(this,t,e)}function jM(t,e){xn.call(this,t,e)}function jS(t,e){xn.call(this,t,e)}function lp(t,e){xn.call(this,t,e)}function DM(t,e){xn.call(this,t,e)}function Fet(t,e){xn.call(this,t,e)}function pR(t,e){xn.call(this,t,e)}function mR(t,e){xn.call(this,t,e)}function yR(t,e){xn.call(this,t,e)}function vR(t,e){xn.call(this,t,e)}function kR(t,e){xn.call(this,t,e)}function CR(t,e){xn.call(this,t,e)}function xR(t,e){xn.call(this,t,e)}function Ujt(t,e){this.b=t,this.a=e}function _et(t,e){xn.call(this,t,e)}function Gjt(t,e){this.a=t,this.b=e}function Xjt(t,e){this.a=t,this.b=e}function Vjt(t,e){this.a=t,this.b=e}function Oet(t,e){xn.call(this,t,e)}function Iet(t,e){xn.call(this,t,e)}function Yjt(t,e){this.a=t,this.b=e}function ASe(t,e){return mk(),e!=t}function DS(t){return tn(t.a),t.b}function TR(t){return PUe(t,t.c),t}function Jjt(){return oPt(),new Lle}function Qjt(){bL(),this.a=new Jnt}function Zjt(){Q_(),this.a=new yi}function tDt(){iq(),this.b=new yi}function eDt(t,e){this.b=t,this.d=e}function nDt(t,e){this.a=t,this.b=e}function rDt(t,e){this.a=t,this.b=e}function iDt(t,e){this.a=t,this.b=e}function sDt(t,e){this.b=t,this.a=e}function Pet(t,e){xn.call(this,t,e)}function jet(t,e){xn.call(this,t,e)}function $M(t,e){xn.call(this,t,e)}function Mb(t,e){xn.call(this,t,e)}function SR(t,e){xn.call(this,t,e)}function RM(t,e){xn.call(this,t,e)}function Det(t,e){xn.call(this,t,e)}function $et(t,e){xn.call(this,t,e)}function $S(t,e){xn.call(this,t,e)}function Ret(t,e){xn.call(this,t,e)}function ER(t,e){xn.call(this,t,e)}function NM(t,e){xn.call(this,t,e)}function BR(t,e){xn.call(this,t,e)}function AR(t,e){xn.call(this,t,e)}function MR(t,e){xn.call(this,t,e)}function LR(t,e){xn.call(this,t,e)}function Net(t,e){xn.call(this,t,e)}function FR(t,e){xn.call(this,t,e)}function qet(t,e){xn.call(this,t,e)}function RS(t,e){xn.call(this,t,e)}function _R(t,e){xn.call(this,t,e)}function Het(t,e){xn.call(this,t,e)}function NS(t,e){xn.call(this,t,e)}function Ket(t,e){xn.call(this,t,e)}function oDt(t,e){this.b=t,this.a=e}function cDt(t,e){this.b=t,this.a=e}function aDt(t,e){this.b=t,this.a=e}function lDt(t,e){this.b=t,this.a=e}function zet(t,e){this.a=t,this.b=e}function uDt(t,e){this.a=t,this.b=e}function hDt(t,e){this.a=t,this.b=e}function mt(t,e){this.a=t,this.b=e}function Dx(t,e){xn.call(this,t,e)}function qS(t,e){xn.call(this,t,e)}function iv(t,e){xn.call(this,t,e)}function $x(t,e){xn.call(this,t,e)}function HS(t,e){xn.call(this,t,e)}function OR(t,e){xn.call(this,t,e)}function qM(t,e){xn.call(this,t,e)}function Rx(t,e){xn.call(this,t,e)}function IR(t,e){xn.call(this,t,e)}function HM(t,e){xn.call(this,t,e)}function Z2(t,e){xn.call(this,t,e)}function KS(t,e){xn.call(this,t,e)}function Nx(t,e){xn.call(this,t,e)}function qx(t,e){xn.call(this,t,e)}function zS(t,e){xn.call(this,t,e)}function KM(t,e){xn.call(this,t,e)}function tm(t,e){xn.call(this,t,e)}function PR(t,e){xn.call(this,t,e)}function fDt(t,e){xn.call(this,t,e)}function zM(t,e){xn.call(this,t,e)}function dDt(t,e){this.a=t,this.b=e}function gDt(t,e){this.a=t,this.b=e}function bDt(t,e){this.a=t,this.b=e}function wDt(t,e){this.a=t,this.b=e}function pDt(t,e){this.a=t,this.b=e}function mDt(t,e){this.a=t,this.b=e}function Pi(t,e){this.a=t,this.b=e}function yDt(t,e){this.a=t,this.b=e}function vDt(t,e){this.a=t,this.b=e}function kDt(t,e){this.a=t,this.b=e}function CDt(t,e){this.a=t,this.b=e}function xDt(t,e){this.a=t,this.b=e}function TDt(t,e){this.a=t,this.b=e}function SDt(t,e){this.b=t,this.a=e}function EDt(t,e){this.b=t,this.a=e}function BDt(t,e){this.b=t,this.a=e}function ADt(t,e){this.b=t,this.a=e}function MDt(t,e){this.a=t,this.b=e}function LDt(t,e){this.a=t,this.b=e}function WM(t,e){xn.call(this,t,e)}function FDt(t,e){this.a=t,this.b=e}function _Dt(t,e){this.a=t,this.b=e}function sv(t,e){xn.call(this,t,e)}function ODt(t,e){this.f=t,this.c=e}function Wet(t,e){return sa(t.g,e)}function MSe(t,e){return sa(e.b,t)}function IDt(t,e){return RH(t.a,e)}function LSe(t,e){return-t.b.af(e)}function FSe(t,e){t&&Qn(OB,t,e)}function Uet(t,e){t.i=null,qF(t,e)}function _Se(t,e,n){SQt(e,FK(t,n))}function OSe(t,e,n){SQt(e,FK(t,n))}function ISe(t,e){aXe(t.a,o(e,58))}function PDt(t,e){iPe(t.a,o(e,12))}function UM(t,e){this.a=t,this.b=e}function jDt(t,e){this.a=t,this.b=e}function DDt(t,e){this.a=t,this.b=e}function $Dt(t,e){this.a=t,this.b=e}function RDt(t,e){this.a=t,this.b=e}function NDt(t,e){this.d=t,this.b=e}function qDt(t,e){this.e=t,this.a=e}function WS(t,e){this.b=t,this.c=e}function Get(t,e){this.i=t,this.g=e}function Xet(t,e){this.d=t,this.e=e}function PSe(t,e){yPe(new Ke(t),e)}function GM(t){return a7(t.c,t.b)}function go(t){return t?t.md():null}function it(t){return t??null}function Ji(t){return typeof t===Tz}function up(t){return typeof t===Uv}function hp(t){return typeof t===zut}function Lb(t,e){return nc(t,e)==0}function XM(t,e){return nc(t,e)>=0}function Hx(t,e){return nc(t,e)!=0}function VM(t,e){return jje(t.Kc(),e)}function tg(t,e){return t.Rd().Xb(e)}function HDt(t){return Pa(t),t.d.gc()}function YM(t){return t5(t==null),t}function Kx(t,e){return t.a+=""+e,t}function Qs(t,e){return t.a+=""+e,t}function zx(t,e){return t.a+=""+e,t}function fc(t,e){return t.a+=""+e,t}function Kn(t,e){return t.a+=""+e,t}function Vet(t,e){return t.a+=""+e,t}function jSe(t){return""+($e(t),t)}function KDt(t){ya(this),E5(this,t)}function zDt(){$it(),zrt.call(this)}function WDt(t,e){Vrt.call(this,t,e)}function UDt(t,e){Vrt.call(this,t,e)}function JM(t,e){Vrt.call(this,t,e)}function As(t,e){ni(t,e,t.c.b,t.c)}function em(t,e){ni(t,e,t.a,t.a.a)}function Yet(t){return ue(t,0),null}function GDt(){this.b=0,this.a=!1}function XDt(){this.b=0,this.a=!1}function VDt(){this.b=new ev(Bp(12))}function YDt(){YDt=Y,Tue=Sn(UH())}function JDt(){JDt=Y,Uhe=Sn(cee())}function QDt(){QDt=Y,b0e=Sn(NXt())}function Jet(){Jet=Y,wtt(),N1t=new hn}function Qu(t){return t.a=0,t.b=0,t}function ZDt(t,e){return t.a=e.g+1,t}function jR(t,e){wp.call(this,t,e)}function te(t,e){Xr.call(this,t,e)}function nm(t,e){Get.call(this,t,e)}function t$t(t,e){VS.call(this,t,e)}function DR(t,e){Yk.call(this,t,e)}function Yn(t,e){TM(),Qn(Hj,t,e)}function e$t(t,e){t.q.setTime(y0(e))}function DSe(t){p.clearTimeout(t)}function $Se(t){return Ln(t),new Wx(t)}function n$t(t,e){return it(t)===it(e)}function r$t(t,e){return t.a.a.a.cc(e)}function $R(t,e){return Al(t.a,0,e)}function Qet(t){return qMe(o(t,74))}function ov(t){return ji(($e(t),t))}function RSe(t){return ji(($e(t),t))}function i$t(t){return Ic(t.l,t.m,t.h)}function Zet(t,e){return ec(t.a,e.a)}function NSe(t,e){return zqt(t.a,e.a)}function qSe(t,e){return Tr(t.a,e.a)}function Xh(t,e){return t.indexOf(e)}function HSe(t,e){return t.j[e.p]==2}function Fb(t,e){return t==e?0:t?1:-1}function QM(t){return t<10?"0"+t:""+t}function Co(t){return typeof t===zut}function KSe(t){return t==Bw||t==o2}function zSe(t){return t==Bw||t==s2}function s$t(t,e){return ec(t.g,e.g)}function tnt(t){return po(t.b.b,t,0)}function o$t(){SL.call(this,0,0,0,0)}function Vh(){ZZ.call(this,new c1)}function ent(t,e){Pk(t,0,t.length,e)}function WSe(t,e){return St(t.a,e),e}function USe(t,e){return Tu(),e.a+=t}function GSe(t,e){return Tu(),e.a+=t}function XSe(t,e){return Tu(),e.c+=t}function VSe(t,e){return St(t.c,e),t}function nnt(t,e){return al(t.a,e),t}function c$t(t){this.a=Jjt(),this.b=t}function a$t(t){this.a=Jjt(),this.b=t}function Ms(t){this.a=t.a,this.b=t.b}function Wx(t){this.a=t,b$.call(this)}function l$t(t){this.a=t,b$.call(this)}function cv(){Bl.call(this,0,0,0,0)}function ZM(t){return al(new Ci,t)}function u$t(t){return KL(o(t,123))}function Ua(t){return t.vh()&&t.wh()}function rm(t){return t!=qh&&t!=qg}function fd(t){return t==ho||t==ko}function im(t){return t==Wl||t==Rh}function h$t(t){return t==gy||t==dy}function YSe(t,e){return ec(t.g,e.g)}function f$t(t,e){return new Yk(e,t)}function JSe(t,e){return new Yk(e,t)}function rnt(t){return mAe(t.b.Kc(),t.a)}function RR(t,e){iC(t,e),Kk(t,t.D)}function NR(t,e,n){OF(t,e),_F(t,n)}function sm(t,e,n){Zb(t,e),Qb(t,n)}function Tl(t,e,n){Dc(t,e),$c(t,n)}function US(t,e,n){Rk(t,e),qk(t,n)}function GS(t,e,n){Nk(t,e),Hk(t,n)}function d$t(t,e,n){Rnt.call(this,t,e,n)}function int(t){ODt.call(this,t,!0)}function g$t(){BM.call(this,"Tail",3)}function b$t(){BM.call(this,"Head",1)}function eg(t){of(),_je.call(this,t)}function _b(t){SL.call(this,t,t,t,t)}function qR(t){t.c=at(Hi,ye,1,0,5,1)}function snt(t){return t.b&&oz(t),t.a}function ont(t){return t.b&&oz(t),t.c}function QSe(t,e){Ih||(t.b=e)}function ZSe(t,e){return t[t.length]=e}function t9e(t,e){return t[t.length]=e}function e9e(t,e){return Ap(e,mh(t))}function n9e(t,e){return Ap(e,mh(t))}function r9e(t,e){return $F(DN(t.d),e)}function i9e(t,e){return $F(DN(t.g),e)}function s9e(t,e){return $F(DN(t.j),e)}function rs(t,e){Xr.call(this,t.b,e)}function o9e(t,e){mn(ac(t.a),jKt(e))}function c9e(t,e){mn(Ia(t.a),DKt(e))}function a9e(t,e,n){Tl(n,n.i+t,n.j+e)}function w$t(t,e,n){ei(t.c[e.g],e.g,n)}function l9e(t,e,n){o(t.c,71).Gi(e,n)}function HR(t,e,n){return ei(t,e,n),n}function p$t(t){jc(t.Sf(),new jLt(t))}function om(t){return t!=null?Mr(t):0}function u9e(t){return t==null?0:Mr(t)}function Ux(t){cr(),mb.call(this,t)}function m$t(t){this.a=t,vrt.call(this,t)}function wh(){wh=Y,p.Math.log(2)}function Sl(){Sl=Y,nd=(kjt(),Mpe)}function y$t(){y$t=Y,CV=new R5(jY)}function _n(){_n=Y,new v$t,new Tt}function v$t(){new hn,new hn,new hn}function h9e(){throw N(new Yd(ele))}function f9e(){throw N(new Yd(ele))}function d9e(){throw N(new Yd(nle))}function g9e(){throw N(new Yd(nle))}function KR(t){this.a=t,bM.call(this,t)}function zR(t){this.a=t,bM.call(this,t)}function k$t(t,e){qb(),this.a=t,this.b=e}function b9e(t,e){Ln(e),fm(t).Jc(new X)}function gi(t,e){kN(t.c,t.c.length,e)}function Fo(t){return t.a<t.c.c.length}function cnt(t){return t.a<t.c.a.length}function C$t(t,e){return t.a?t.b:e.We()}function ec(t,e){return t<e?-1:t>e?1:0}function ant(t,e){return nc(t,e)>0?t:e}function Ic(t,e,n){return{l:t,m:e,h:n}}function w9e(t,e){t.a!=null&&PDt(e,t.a)}function p9e(t){xs(t,null),ts(t,null)}function m9e(t,e,n){return Qn(t.g,n,e)}function cm(t,e,n){return Fct(e,n,t.c)}function y9e(t,e,n){return Qn(t.k,n,e)}function v9e(t,e,n){return stn(t,e,n),n}function k9e(t,e){return rl(),e.n.b+=t}function x$t(t){Fit.call(this),this.b=t}function lnt(t){Ynt.call(this),this.a=t}function T$t(){BM.call(this,"Range",2)}function tL(t){this.b=t,this.a=new Tt}function S$t(t){this.b=new n$,this.a=t}function E$t(t){t.a=new Br,t.c=new Br}function B$t(t){t.a=new hn,t.d=new hn}function A$t(t){sq(t,null),oq(t,null)}function M$t(t,e){return ctn(t.a,e,null)}function C9e(t,e){return Qn(t.a,e.a,e)}function us(t){return new mt(t.a,t.b)}function unt(t){return new mt(t.c,t.d)}function x9e(t){return new mt(t.c,t.d)}function Gx(t,e){return yZe(t.c,t.b,e)}function Q(t,e){return t!=null&&YH(t,e)}function WR(t,e){return fDe(t.Kc(),e)!=-1}function eL(t){return t.Ob()?t.Pb():null}function T9e(t){this.b=(le(),new S$(t))}function hnt(t){this.a=t,hn.call(this)}function L$t(){VS.call(this,null,null)}function F$t(){aL.call(this,null,null)}function _$t(){xn.call(this,"INSTANCE",0)}function O$t(){uat(),this.a=new r6(c0t)}function I$t(t){return nf(t,0,t.length)}function S9e(t,e){return new Q$t(t.Kc(),e)}function fnt(t,e){return t.a.Bc(e)!=null}function P$t(t,e){pn(t),t.Gc(o(e,15))}function E9e(t,e,n){t.c.bd(e,o(n,136))}function B9e(t,e,n){t.c.Ui(e,o(n,136))}function j$t(t,e){t.c&&(Ort(e),aKt(e))}function A9e(t,e){t.q.setHours(e),a6(t,e)}function M9e(t,e){Pb(e,t.a.a.a,t.a.a.b)}function L9e(t,e,n,r){ei(t.a[e.g],n.g,r)}function UR(t,e,n){return t.a[e.g][n.g]}function F9e(t,e){return t.e[e.c.p][e.p]}function _9e(t,e){return t.c[e.c.p][e.p]}function ph(t,e){return t.a[e.c.p][e.p]}function O9e(t,e){return t.j[e.p]=zGe(e)}function GR(t,e){return t.a.Bc(e)!=null}function I9e(t,e){return nt(ct(e.a))<=t}function P9e(t,e){return nt(ct(e.a))>=t}function j9e(t,e){return wst(t.f,e.Pg())}function av(t,e){return t.a*e.a+t.b*e.b}function D9e(t,e){return t.a<crt(e)?-1:1}function $9e(t,e){return wst(t.b,e.Pg())}function R9e(t,e,n){return n?e!=0:e!=t-1}function D$t(t,e,n){t.a=e^1502,t.b=n^rW}function N9e(t,e,n){return t.a=e,t.b=n,t}function Yh(t,e){return t.a*=e,t.b*=e,t}function St(t,e){return ke(t.c,e),!0}function Xx(t,e,n){return ei(t.g,e,n),n}function ki(t,e,n){a9.call(this,t,e,n)}function nL(t,e,n){ki.call(this,t,e,n)}function dnt(t,e,n){mL.call(this,t,e,n)}function $$t(t,e,n){mL.call(this,t,e,n)}function R$t(t,e,n){dnt.call(this,t,e,n)}function ia(t,e,n){ki.call(this,t,e,n)}function N$t(t,e,n){nL.call(this,t,e,n)}function gnt(t,e,n){a9.call(this,t,e,n)}function am(t,e,n){a9.call(this,t,e,n)}function q$t(t,e,n){gnt.call(this,t,e,n)}function rL(t){t.j=at(Z1t,vt,319,0,0,1)}function lm(){this.a=at(Hi,ye,1,8,5,1)}function bnt(){this.Bb|=256,this.Bb|=512}function Ke(t){this.i=t,this.f=this.i.j}function ng(t){this.c=t,this.a=this.c.a}function um(t,e){this.a=t,bM.call(this,e)}function wnt(t,e){return nRe(t,new V1,e).a}function pnt(t){if(!t)throw N(new vS)}function mnt(t){if(!t)throw N(new na)}function ynt(){ynt=Y,ynt(),Ole=new Is}function H$t(){H$t=Y,eR(),i2e=new LMt}function fk(){fk=Y,lgt=new R$(null)}function q9e(t){w9(t,Mce),X_(t,sen(t))}function K$t(t){t.a=o(Be(t.b.a,4),129)}function z$t(t){t.a=o(Be(t.b.a,4),129)}function W$t(t){t.b.Qb(),--t.d.f.d,LL(t.d)}function vnt(t){this.a=t,UMt.call(this,t.d)}function U$t(t,e){this.a=t,G$.call(this,e)}function G$t(t,e){this.a=t,G$.call(this,e)}function X$t(t,e){this.a=t,G$.call(this,e)}function knt(t,e){this.a=e,G$.call(this,t)}function V$t(t,e){this.a=e,wq.call(this,t)}function Y$t(t,e){this.a=t,wq.call(this,e)}function J$t(t,e){this.a=e,wM.call(this,t)}function Q$t(t,e){this.a=e,wM.call(this,t)}function Ve(t,e){return Ln(e),new J$t(t,e)}function Z$t(t,e){return new TZt(t.a,t.b,e)}function Cnt(t,e,n){return t.indexOf(e,n)}function iL(t,e){return t.lastIndexOf(e)}function Vx(t){return t==null?Jc:To(t)}function H9e(t){return t==null?null:t.name}function K9e(t){return t.l+t.m*Yv+t.h*P0}function z9e(t){return CS(t.a)?$Kt(t):null}function Jl(t){wS.call(this,($e(t),t))}function el(t){wS.call(this,($e(t),t))}function tRt(t){p$.call(this,o(Ln(t),34))}function eRt(t){p$.call(this,o(Ln(t),34))}function XR(t){ZZ.call(this,new Sst(t))}function sL(t){V3.call(this,t),this.a=t}function xnt(t){X3.call(this,t),this.a=t}function Tnt(t){nk.call(this,t),this.a=t}function nRt(){rL(this),UL(this),this.je()}function rRt(t){this.a=t,x$.call(this,t)}function Ga(t){return tn(t.a!=null),t.a}function iRt(t,e){return St(e.a,t.a),t.a}function sRt(t,e){return St(e.b,t.a),t.a}function Ob(t,e){return St(e.a,t.a),t.a}function XS(t,e,n){return rH(t,e,e,n),t}function oL(t,e){return++t.b,St(t.a,e)}function Snt(t,e){return++t.b,Xc(t.a,e)}function W9e(t,e){return Tr(t.c.d,e.c.d)}function U9e(t,e){return Tr(t.c.c,e.c.c)}function G9e(t,e){return Tr(t.n.a,e.n.a)}function Uc(t,e){return o(gr(t.b,e),15)}function X9e(t,e){return t.n.b=($e(e),e)}function V9e(t,e){return t.n.b=($e(e),e)}function sa(t,e){return!!e&&t.b[e.g]==e}function Yx(t){return Fo(t.a)||Fo(t.b)}function Ib(t){return t.$H||(t.$H=++Ann)}function Y9e(t){return t.a!=null?t.a:null}function J9e(t,e){return Tr(t.e.b,e.e.b)}function Q9e(t,e){return Tr(t.e.a,e.e.a)}function Z9e(t,e,n){return qzt(t,e,n,t.b)}function Ent(t,e,n){return qzt(t,e,n,t.c)}function t7e(t){return Tu(),!!t&&!t.dc()}function oRt(){Sx(),this.b=new yFt(this)}function cL(){cL=Y,PI=new Xr(vse,0)}function Te(){Te=Y,Ag=!1,s4=!0}function n1(t){var e;e=t.a,t.a=t.b,t.b=e}function VS(t,e){Mx(),this.a=t,this.b=e}function aL(t,e){e1(),this.b=t,this.c=e}function VR(t,e){TN(),this.f=e,this.d=t}function Bnt(t,e){bst(e,t),this.d=t,this.c=e}function Ant(t,e){$ct.call(this,t,e,null)}function cRt(t,e,n,r){Yrt.call(this,t,e,n,r)}function lv(t){this.d=t,Ke.call(this,t)}function uv(t){this.c=t,Ke.call(this,t)}function YS(t){this.c=t,lv.call(this,t)}function e7e(t){return new xp(3,t)}function Lf(t){return cl(t,Xp),new Ec(t)}function aRt(t){return Mk(),parseInt(t)||-1}function n7e(t){return oM(),Tn((bKt(),hle),t)}function dk(t,e,n){return Cnt(t,Yc(e),n)}function YR(t,e){return new cNt(t,t.gc(),e)}function r7e(t,e){return SN(t.c).Md().Xb(e)}function gk(t,e,n){var r;r=t.fd(e),r.Rb(n)}function Mnt(t,e,n){o(j9(t,e),21).Fc(n)}function i7e(t,e,n){MH(t.a,n),B_(t.a,e)}function JS(t){Q(t,158)&&o(t,158).pi()}function lRt(t){krt.call(this,t,null,null)}function JR(t){cp(),this.b=t,this.a=!0}function uRt(t){mM(),this.b=t,this.a=!0}function bk(t){return tn(t.b!=0),t.a.a.c}function Cu(t){return tn(t.b!=0),t.c.b.c}function s7e(t,e){return rH(t,e,e+1,""),t}function Or(t,e){return!!t.q&&Pc(t.q,e)}function hRt(t){return t.b=o(Sit(t.a),44)}function o7e(t){return t.f!=null?t.f:""+t.g}function QR(t){return t.f!=null?t.f:""+t.g}function c7e(t,e){return t>0?e/(t*t):e*100}function a7e(t,e){return t>0?e*e/t:e*e*100}function fp(t,e){return o(Th(t.a,e),34)}function l7e(t,e){return mg(),ie(t,e.e,e)}function u7e(t,e,n){return kM(),n.Mg(t,e)}function h7e(t){return Cd(),t.e.a+t.f.a/2}function f7e(t,e,n){return Cd(),n.e.a-t*e}function d7e(t){return Cd(),t.e.b+t.f.b/2}function g7e(t,e,n){return Cd(),n.e.b-t*e}function fRt(t){t.d=new lRt(t),t.e=new hn}function dRt(){this.a=new Gb,this.b=new Gb}function gRt(t){this.c=t,this.a=1,this.b=1}function bRt(t){Cz(),_Ot(this),this.Ff(t)}function b7e(t,e,n){yF(),t.pf(e)&&n.Cd(t)}function w7e(t,e,n){return St(e,EYt(t,n))}function Pb(t,e,n){return t.a+=e,t.b+=n,t}function p7e(t,e,n){return t.a*=e,t.b*=n,t}function Lnt(t,e){return t.a=e.a,t.b=e.b,t}function lL(t){return t.a=-t.a,t.b=-t.b,t}function Jx(t,e,n){return t.a-=e,t.b-=n,t}function wRt(t){$r.call(this),C5(this,t)}function pRt(){xn.call(this,"GROW_TREE",0)}function mRt(){xn.call(this,"POLYOMINO",0)}function Xa(t,e,n){aa.call(this,t,e,n,2)}function m7e(t,e,n){D5(ac(t.a),e,jKt(n))}function yRt(t,e){Mx(),VS.call(this,t,e)}function Fnt(t,e){e1(),aL.call(this,t,e)}function vRt(t,e){e1(),Fnt.call(this,t,e)}function kRt(t,e){e1(),aL.call(this,t,e)}function y7e(t,e){return t.c.Fc(o(e,136))}function v7e(t,e,n){D5(Ia(t.a),e,DKt(n))}function CRt(t){this.c=t,Dc(t,0),$c(t,0)}function ZR(t,e){Sl(),AL.call(this,t,e)}function xRt(t,e){Sl(),ZR.call(this,t,e)}function _nt(t,e){Sl(),ZR.call(this,t,e)}function Ont(t,e){Sl(),AL.call(this,t,e)}function TRt(t,e){Sl(),_nt.call(this,t,e)}function SRt(t,e){Sl(),Ont.call(this,t,e)}function ERt(t,e){Sl(),AL.call(this,t,e)}function k7e(t,e,n){return e.zl(t.e,t.c,n)}function C7e(t,e,n){return e.Al(t.e,t.c,n)}function Int(t,e,n){return uO(P9(t,e),n)}function tN(t,e){return dg(t.e,o(e,54))}function x7e(t){return t==null?null:Xtn(t)}function T7e(t){return t==null?null:qze(t)}function S7e(t){return t==null?null:To(t)}function E7e(t){return t==null?null:To(t)}function _t(t){return t5(t==null||up(t)),t}function ct(t){return t5(t==null||hp(t)),t}function On(t){return t5(t==null||Ji(t)),t}function dd(t){t.o==null&&yGe(t)}function Pnt(t){if(!t)throw N(new vS)}function B7e(t){if(!t)throw N(new L$)}function tn(t){if(!t)throw N(new Mo)}function dp(t){if(!t)throw N(new na)}function BRt(t){if(!t)throw N(new xl)}function wk(){wk=Y,PB=new uIt,new hIt}function hm(){hm=Y,py=new vr("root")}function jnt(){lXt.call(this),this.Bb|=js}function A7e(t,e){this.d=t,lLt(this),this.b=e}function Dnt(t,e){Bq.call(this,t),this.a=e}function $nt(t,e){Bq.call(this,t),this.a=e}function Rnt(t,e,n){bF.call(this,t,e,n,null)}function ARt(t,e,n){bF.call(this,t,e,n,null)}function QS(t,e){this.c=t,ak.call(this,t,e)}function Qx(t,e){this.a=t,QS.call(this,t,e)}function Nnt(t){this.q=new p.Date(y0(t))}function MRt(t){return t>8?0:t+1}function LRt(t,e){Ih||St(t.a,e)}function M7e(t,e){return LS(),Vk(e.d.i,t)}function L7e(t,e){return Fv(),new one(e,t)}function F7e(t,e,n){return t.Ne(e,n)<=0?n:e}function _7e(t,e,n){return t.Ne(e,n)<=0?e:n}function O7e(t,e){return o(Th(t.b,e),143)}function I7e(t,e){return o(Th(t.c,e),233)}function eN(t){return o(Pt(t.a,t.b),294)}function FRt(t){return new mt(t.c,t.d+t.a)}function _Rt(t){return $e(t),t?1231:1237}function ORt(t){return rl(),h$t(o(t,203))}function gp(){gp=Y,Pgt=Yt((Qa(),cb))}function P7e(t,e){e.a?RUe(t,e):GR(t.a,e.b)}function ZS(t,e,n){++t.j,t.tj(),Eq(t,e,n)}function IRt(t,e,n){++t.j,t.qj(e,t.Zi(e,n))}function PRt(t,e,n){var r;r=t.fd(e),r.Rb(n)}function qnt(t,e,n){return n=hl(t,e,6,n),n}function Hnt(t,e,n){return n=hl(t,e,3,n),n}function Knt(t,e,n){return n=hl(t,e,9,n),n}function Jh(t,e){return w9(e,dht),t.f=e,t}function znt(t,e){return(e&ar)%t.d.length}function jRt(t,e,n){return xut(t.c,t.b,e,n)}function DRt(t,e){this.c=t,Jb.call(this,e)}function $Rt(t,e){this.a=t,TOt.call(this,e)}function t9(t,e){this.a=t,TOt.call(this,e)}function Xr(t,e){vr.call(this,t),this.a=e}function Wnt(t,e){ftt.call(this,t),this.a=e}function nN(t,e){ftt.call(this,t),this.a=e}function j7e(t){Sct.call(this,0,0),this.f=t}function RRt(t,e,n){return t.a+=nf(e,0,n),t}function e9(t){return!t.a&&(t.a=new Fe),t.a}function Unt(t,e){var n;return n=t.e,t.e=e,n}function Gnt(t,e){var n;return n=e,!!t.Fe(n)}function D7e(t,e){return Te(),t==e?0:t?1:-1}function bp(t,e){t.a.bd(t.b,e),++t.b,t.c=-1}function n9(t){t.b?n9(t.b):t.f.c.zc(t.e,t.d)}function NRt(t){ya(t.e),t.d.b=t.d,t.d.a=t.d}function $7e(t,e,n){l0(),oLt(t,e.Ve(t.a,n))}function Xnt(t,e,n){return mv(t,o(e,22),n)}function xu(t,e){return uM(new Array(e),t)}function R7e(t){return Mn(rg(t,32))^Mn(t)}function rN(t){return String.fromCharCode(t)}function N7e(t){return t==null?null:t.message}function q7e(t,e,n){return t.apply(e,n)}function H7e(t,e){var n;n=t[nW],n.call(t,e)}function K7e(t,e){var n;n=t[nW],n.call(t,e)}function z7e(t,e){return LS(),!Vk(e.d.i,t)}function Vnt(t,e,n,r){SL.call(this,t,e,n,r)}function qRt(){uL.call(this),this.a=new ns}function Ynt(){this.n=new ns,this.o=new ns}function HRt(){this.b=new ns,this.c=new Tt}function KRt(){this.a=new Tt,this.b=new Tt}function zRt(){this.a=new fS,this.b=new HOt}function Jnt(){this.b=new c1,this.a=new c1}function WRt(){this.b=new yi,this.a=new yi}function URt(){this.b=new hn,this.a=new hn}function GRt(){this.b=new yPt,this.a=new USt}function XRt(){this.a=new iMt,this.b=new D8t}function VRt(){this.a=new Tt,this.d=new Tt}function uL(){this.n=new Xy,this.i=new cv}function YRt(t){this.a=(cl(t,Xp),new Ec(t))}function JRt(t){this.a=(cl(t,Xp),new Ec(t))}function W7e(t){return t<100?null:new Y1(t)}function U7e(t,e){return t.n.a=($e(e),e+10)}function G7e(t,e){return t.n.a=($e(e),e+10)}function X7e(t,e){return e==t||mC(G_(e),t)}function QRt(t,e){return Qn(t.a,e,"")==null}function V7e(t,e){var n;return n=e.qi(t.a),n}function lr(t,e){return t.a+=e.a,t.b+=e.b,t}function Ni(t,e){return t.a-=e.a,t.b-=e.b,t}function Y7e(t){return sp(t.j.c,0),t.a=-1,t}function Qnt(t,e,n){return n=hl(t,e,11,n),n}function J7e(t,e,n){n!=null&&RF(e,cK(t,n))}function Q7e(t,e,n){n!=null&&NF(e,cK(t,n))}function hv(t,e,n,r){dt.call(this,t,e,n,r)}function Znt(t,e,n,r){dt.call(this,t,e,n,r)}function ZRt(t,e,n,r){Znt.call(this,t,e,n,r)}function tNt(t,e,n,r){PL.call(this,t,e,n,r)}function iN(t,e,n,r){PL.call(this,t,e,n,r)}function trt(t,e,n,r){PL.call(this,t,e,n,r)}function eNt(t,e,n,r){iN.call(this,t,e,n,r)}function ert(t,e,n,r){iN.call(this,t,e,n,r)}function ge(t,e,n,r){trt.call(this,t,e,n,r)}function nNt(t,e,n,r){ert.call(this,t,e,n,r)}function rNt(t,e,n,r){Zrt.call(this,t,e,n,r)}function wp(t,e){ro.call(this,D6+t+H0+e)}function nrt(t,e){return t.jk().wi().ri(t,e)}function rrt(t,e){return t.jk().wi().ti(t,e)}function iNt(t,e){return $e(t),it(t)===it(e)}function ne(t,e){return $e(t),it(t)===it(e)}function Z7e(t,e){return t.b.Bd(new Bjt(t,e))}function tEe(t,e){return t.b.Bd(new Ajt(t,e))}function sNt(t,e){return t.b.Bd(new Mjt(t,e))}function eEe(t,e){return t.e=o(t.d.Kb(e),159)}function irt(t,e,n){return t.lastIndexOf(e,n)}function nEe(t,e,n){return Tr(t[e.a],t[n.a])}function rEe(t,e){return gt(e,(Ft(),GE),t)}function iEe(t,e){return ec(e.a.d.p,t.a.d.p)}function sEe(t,e){return ec(t.a.d.p,e.a.d.p)}function oEe(t,e){return Tr(t.c-t.s,e.c-e.s)}function cEe(t,e){return Tr(t.b.e.a,e.b.e.a)}function aEe(t,e){return Tr(t.c.e.a,e.c.e.a)}function oNt(t){return t.c?po(t.c.a,t,0):-1}function fv(t){return t==ob||t==td||t==xc}function srt(t,e){this.c=t,FN.call(this,t,e)}function cNt(t,e,n){this.a=t,Bnt.call(this,e,n)}function aNt(t){this.c=t,JM.call(this,U7,0)}function lNt(t,e,n){this.c=e,this.b=n,this.a=t}function r9(t){mk(),this.d=t,this.a=new lm}function uNt(t){Qh(),this.a=(le(),new nk(t))}function lEe(t,e){fd(t.f)?hGe(t,e):HKe(t,e)}function hNt(t,e){CAe.call(this,t,t.length,e)}function uEe(t,e){Ih||e&&(t.d=e)}function fNt(t,e){return Q(e,15)&&Nee(t.c,e)}function hEe(t,e,n){return o(t.c,71).Wk(e,n)}function hL(t,e,n){return o(t.c,71).Xk(e,n)}function fEe(t,e,n){return k7e(t,o(e,343),n)}function ort(t,e,n){return C7e(t,o(e,343),n)}function dEe(t,e,n){return OQt(t,o(e,343),n)}function dNt(t,e,n){return eze(t,o(e,343),n)}function Zx(t,e){return e==null?null:_p(t.b,e)}function crt(t){return hp(t)?($e(t),t):t.ue()}function fL(t){return!isNaN(t)&&!isFinite(t)}function sN(t){E$t(this),nl(this),cs(this,t)}function ma(t){qR(this),xrt(this.c,0,t.Pc())}function El(t,e,n){this.a=t,this.b=e,this.c=n}function gNt(t,e,n){this.a=t,this.b=e,this.c=n}function bNt(t,e,n){this.d=t,this.b=n,this.a=e}function wNt(t){this.a=t,hd(),Yo(Date.now())}function pNt(t){Ya(t.a),Cst(t.c,t.b),t.b=null}function oN(){oN=Y,agt=new Ri,Fle=new Oi}function mNt(){mNt=Y,Ipe=at(Hi,ye,1,0,5,1)}function yNt(){yNt=Y,Qpe=at(Hi,ye,1,0,5,1)}function art(){art=Y,Zpe=at(Hi,ye,1,0,5,1)}function Qh(){Qh=Y,new btt((le(),le(),Os))}function gEe(t){return jk(),Tn((SUt(),Ile),t)}function bEe(t){return Ca(),Tn((bUt(),Nle),t)}function wEe(t){return y_(),Tn((tWt(),Ule),t)}function pEe(t){return EF(),Tn((eWt(),Gle),t)}function mEe(t){return eO(),Tn((tVt(),Xle),t)}function yEe(t){return ih(),Tn((dUt(),Jle),t)}function vEe(t){return ka(),Tn((fUt(),Zle),t)}function kEe(t){return Vc(),Tn((gUt(),eue),t)}function CEe(t){return bO(),Tn((YDt(),Tue),t)}function xEe(t){return rw(),Tn((BUt(),Eue),t)}function TEe(t){return Dv(),Tn((MUt(),Aue),t)}function SEe(t){return z5(),Tn((AUt(),Fue),t)}function EEe(t){return yM(),Tn((Ezt(),_ue),t)}function BEe(t){return BF(),Tn((nWt(),Vue),t)}function AEe(t){return v5(),Tn((wUt(),khe),t)}function MEe(t){return ys(),Tn((uGt(),She),t)}function LEe(t){return Qk(),Tn((FUt(),Lhe),t)}function FEe(t){return M0(),Tn((LUt(),jhe),t)}function lrt(t,e){if(!t)throw N(new _e(e))}function pk(t){if(!t)throw N(new io(Wut))}function cN(t,e){if(t!=e)throw N(new xl)}function vNt(t,e,n){this.a=t,this.b=e,this.c=n}function urt(t,e,n){this.a=t,this.b=e,this.c=n}function kNt(t,e,n){this.a=t,this.b=e,this.c=n}function dL(t,e,n){this.b=t,this.a=e,this.c=n}function hrt(t,e,n){this.b=t,this.c=e,this.a=n}function frt(t,e,n){this.a=t,this.b=e,this.c=n}function gL(t,e,n){this.e=e,this.b=t,this.d=n}function CNt(t,e,n){this.b=t,this.a=e,this.c=n}function _Ee(t,e,n){return l0(),t.a.Yd(e,n),e}function aN(t){var e;return e=new yr,e.e=t,e}function drt(t){var e;return e=new GOt,e.b=t,e}function i9(){i9=Y,WI=new f6t,UI=new d6t}function bL(){bL=Y,Jhe=new N6t,Yhe=new q6t}function Tu(){Tu=Y,nfe=new VTt,rfe=new YTt}function OEe(t){return ew(),Tn((GWt(),dfe),t)}function IEe(t){return Es(),Tn((JDt(),Uhe),t)}function PEe(t){return QF(),Tn((OUt(),Vhe),t)}function jEe(t){return Eh(),Tn((_Ut(),ofe),t)}function DEe(t){return Dp(),Tn((hGt(),afe),t)}function $Ee(t){return Z_(),Tn((RXt(),gfe),t)}function REe(t){return qv(),Tn((jGt(),bfe),t)}function NEe(t){return mF(),Tn((lWt(),wfe),t)}function qEe(t){return x5(),Tn((WWt(),pfe),t)}function HEe(t){return PF(),Tn((UWt(),mfe),t)}function KEe(t){return p1(),Tn((fGt(),yfe),t)}function zEe(t){return N9(),Tn((sWt(),vfe),t)}function WEe(t){return vC(),Tn((RGt(),Efe),t)}function UEe(t){return Us(),Tn((wVt(),Bfe),t)}function GEe(t){return Jk(),Tn((VWt(),Afe),t)}function XEe(t){return kd(),Tn((YWt(),Lfe),t)}function VEe(t){return cF(),Tn((iWt(),Ffe),t)}function YEe(t){return y7(),Tn(($Gt(),Sfe),t)}function JEe(t){return E0(),Tn((XWt(),Cfe),t)}function QEe(t){return N_(),Tn((DGt(),xfe),t)}function ZEe(t){return O9(),Tn((oWt(),Tfe),t)}function tBe(t){return Dl(),Tn((gGt(),_fe),t)}function eBe(t){return C1(),Tn((JXt(),nge),t)}function nBe(t){return O5(),Tn((JWt(),rge),t)}function rBe(t){return Pp(),Tn((IUt(),ige),t)}function iBe(t){return K5(),Tn((dGt(),sge),t)}function sBe(t){return nu(),Tn((pVt(),oge),t)}function oBe(t){return rf(),Tn((PUt(),cge),t)}function cBe(t){return $9(),Tn((cWt(),age),t)}function aBe(t){return Ws(),Tn((tUt(),uge),t)}function lBe(t){return VF(),Tn((QWt(),hge),t)}function uBe(t){return L5(),Tn((ZWt(),fge),t)}function hBe(t){return sC(),Tn((eUt(),dge),t)}function fBe(t){return IF(),Tn((nUt(),gge),t)}function dBe(t){return ZF(),Tn((rUt(),bge),t)}function gBe(t){return tw(),Tn((hUt(),Fge),t)}function bBe(t){return p5(),Tn((aWt(),jge),t)}function wBe(t){return tf(),Tn((fWt(),Kge),t)}function pBe(t){return yh(),Tn((dWt(),Wge),t)}function mBe(t){return eh(),Tn((gWt(),o0e),t)}function yBe(t){return Xb(),Tn((bWt(),d0e),t)}function vBe(t){return Nv(),Tn((HUt(),g0e),t)}function kBe(t){return o6(),Tn((QDt(),b0e),t)}function CBe(t){return F5(),Tn((iUt(),w0e),t)}function xBe(t){return _5(),Tn((qUt(),R0e),t)}function TBe(t){return iF(),Tn((uWt(),N0e),t)}function SBe(t){return HF(),Tn((hWt(),W0e),t)}function EBe(t){return j_(),Tn((bGt(),G0e),t)}function BBe(t){return t7(),Tn((sUt(),V0e),t)}function ABe(t){return vF(),Tn((wWt(),X0e),t)}function MBe(t){return M_(),Tn((NUt(),bbe),t)}function LBe(t){return XF(),Tn((oUt(),wbe),t)}function FBe(t){return g_(),Tn((cUt(),pbe),t)}function _Be(t){return S_(),Tn((aUt(),ybe),t)}function OBe(t){return a_(),Tn((lUt(),Cbe),t)}function IBe(t){return fF(),Tn((pWt(),Kbe),t)}function PBe(t){return Uk(),Tn((rWt(),Whe),t)}function jBe(t){return je(),Tn((NGt(),Nhe),t)}function DBe(t){return kF(),Tn((uUt(),zbe),t)}function $Be(t){return iH(),Tn((mWt(),Wbe),t)}function RBe(t){return n6(),Tn((wGt(),Gbe),t)}function NBe(t){return CM(),Tn((Izt(),Vbe),t)}function qBe(t){return o7(),Tn((mUt(),Xbe),t)}function HBe(t){return xM(),Tn((Pzt(),Jbe),t)}function KBe(t){return A9(),Tn((yWt(),Qbe),t)}function zBe(t){return k7(),Tn((pGt(),Zbe),t)}function WBe(t){return Ex(),Tn((jzt(),bwe),t)}function UBe(t){return Y9(),Tn((vWt(),wwe),t)}function GBe(t){return oh(),Tn((yGt(),Cwe),t)}function XBe(t){return k1(),Tn((DXt(),Twe),t)}function VBe(t){return Df(),Tn((qGt(),Swe),t)}function YBe(t){return F0(),Tn((HGt(),Fwe),t)}function JBe(t){return Ti(),Tn((mGt(),Ywe),t)}function QBe(t){return Sh(),Tn((yUt(),Jwe),t)}function ZBe(t){return Sd(),Tn((KUt(),Qwe),t)}function tAe(t){return $_(),Tn((KGt(),Zwe),t)}function eAe(t){return Td(),Tn((pUt(),epe),t)}function nAe(t){return ll(),Tn((zUt(),rpe),t)}function rAe(t){return qp(),Tn((ZXt(),ipe),t)}function iAe(t){return xm(),Tn((vGt(),spe),t)}function sAe(t){return es(),Tn((zGt(),ope),t)}function oAe(t){return xa(),Tn((WGt(),cpe),t)}function cAe(t){return At(),Tn((kGt(),ape),t)}function aAe(t){return Qa(),Tn((WUt(),dpe),t)}function lAe(t){return Da(),Tn((QXt(),gpe),t)}function uAe(t){return Iv(),Tn((vUt(),bpe),t)}function hAe(t,e){return $e(t),t+($e(e),e)}function fAe(t){return lN(),Tn((kWt(),wpe),t)}function dAe(t){return u_(),Tn((UUt(),ppe),t)}function gAe(t){return t_(),Tn((GUt(),vpe),t)}function mk(){mk=Y,Opt=(At(),De),JP=qe}function lN(){lN=Y,Yyt=new QNt,Jyt=new Dqt}function bAe(t){return!t.e&&(t.e=new Tt),t.e}function uN(t,e){this.c=t,this.a=e,this.b=e-t}function xNt(t,e,n){this.a=t,this.b=e,this.c=n}function hN(t,e,n){this.a=t,this.b=e,this.c=n}function grt(t,e,n){this.a=t,this.b=e,this.c=n}function brt(t,e,n){this.a=t,this.b=e,this.c=n}function TNt(t,e,n){this.a=t,this.b=e,this.c=n}function SNt(t,e,n){this.a=t,this.b=e,this.c=n}function r1(t,e,n){this.e=t,this.a=e,this.c=n}function ENt(t,e,n){Sl(),Oit.call(this,t,e,n)}function fN(t,e,n){Sl(),wit.call(this,t,e,n)}function wrt(t,e,n){Sl(),wit.call(this,t,e,n)}function prt(t,e,n){Sl(),wit.call(this,t,e,n)}function BNt(t,e,n){Sl(),fN.call(this,t,e,n)}function mrt(t,e,n){Sl(),fN.call(this,t,e,n)}function ANt(t,e,n){Sl(),mrt.call(this,t,e,n)}function MNt(t,e,n){Sl(),wrt.call(this,t,e,n)}function LNt(t,e,n){Sl(),prt.call(this,t,e,n)}function dN(t){SL.call(this,t.d,t.c,t.a,t.b)}function yrt(t){SL.call(this,t.d,t.c,t.a,t.b)}function vrt(t){this.d=t,lLt(this),this.b=gMe(t.d)}function wAe(t){return CC(),Tn(($Xt(),Ope),t)}function s9(t,e){return Ln(t),Ln(e),new $Pt(t,e)}function dv(t,e){return Ln(t),Ln(e),new KNt(t,e)}function pAe(t,e){return Ln(t),Ln(e),new zNt(t,e)}function mAe(t,e){return Ln(t),Ln(e),new GPt(t,e)}function gN(t){return tn(t.b!=0),_l(t,t.a.a)}function yAe(t){return tn(t.b!=0),_l(t,t.c.b)}function vAe(t){return!t.c&&(t.c=new G3),t.c}function yk(t){var e;return e=new Tt,$q(e,t),e}function kAe(t){var e;return e=new yi,$q(e,t),e}function FNt(t){var e;return e=new vtt,Jq(e,t),e}function o9(t){var e;return e=new $r,Jq(e,t),e}function o(t,e){return t5(t==null||YH(t,e)),t}function CAe(t,e,n){Lqt.call(this,e,n),this.a=t}function _Nt(t,e){this.c=t,this.b=e,this.a=!1}function ONt(){this.a=";,;",this.b="",this.c=""}function INt(t,e,n){this.b=t,WDt.call(this,e,n)}function krt(t,e,n){this.c=t,AM.call(this,e,n)}function Crt(t,e,n){hk.call(this,t,e),this.b=n}function xrt(t,e,n){blt(n,0,t,e,n.length,!1)}function Ff(t,e,n,r,i){t.b=e,t.c=n,t.d=r,t.a=i}function Trt(t,e,n,r,i){t.d=e,t.c=n,t.a=r,t.b=i}function xAe(t,e){e&&(t.b=e,t.a=(sg(e),e.a))}function c9(t,e){if(!t)throw N(new _e(e))}function gv(t,e){if(!t)throw N(new io(e))}function Srt(t,e){if(!t)throw N(new HIt(e))}function TAe(t,e){return vM(),ec(t.d.p,e.d.p)}function SAe(t,e){return Cd(),Tr(t.e.b,e.e.b)}function EAe(t,e){return Cd(),Tr(t.e.a,e.e.a)}function BAe(t,e){return ec(VNt(t.d),VNt(e.d))}function wL(t,e){return e&&NL(t,e.d)?e:null}function AAe(t,e){return e==(At(),De)?t.c:t.d}function Ert(t){return ug(BMe(Co(t)?Zl(t):t))}function MAe(t){return new mt(t.c+t.b,t.d+t.a)}function PNt(t){return t!=null&&!PH(t,JT,QT)}function LAe(t,e){return(dYt(t)<<4|dYt(e))&Si}function jNt(t,e,n,r,i){t.c=e,t.d=n,t.b=r,t.a=i}function Brt(t){var e,n;e=t.b,n=t.c,t.b=n,t.c=e}function Art(t){var e,n;n=t.d,e=t.a,t.d=e,t.a=n}function FAe(t,e){var n;return n=t.c,oot(t,e),n}function Mrt(t,e){return e<0?t.g=-1:t.g=e,t}function pL(t,e){return RPe(t),t.a*=e,t.b*=e,t}function DNt(t,e,n){FGt.call(this,e,n),this.d=t}function a9(t,e,n){Xet.call(this,t,e),this.c=n}function mL(t,e,n){Xet.call(this,t,e),this.c=n}function Lrt(t){art(),UA.call(this),this.ci(t)}function $Nt(){Ok(),QMe.call(this,(Q1(),gu))}function RNt(t){return cr(),new _f(0,t)}function NNt(){NNt=Y,JY=(le(),new T$(tG))}function yL(){yL=Y,new qct(($$(),fG),(D$(),hG))}function qNt(){qNt=Y,X1t=at(bs,vt,17,256,0,1)}function HNt(){this.b=nt(ct(Lt((Fu(),WG))))}function bN(t){this.b=t,this.a=h0(this.b.a).Od()}function KNt(t,e){this.b=t,this.a=e,b$.call(this)}function zNt(t,e){this.a=t,this.b=e,b$.call(this)}function WNt(t,e,n){this.a=t,nm.call(this,e,n)}function UNt(t,e,n){this.a=t,nm.call(this,e,n)}function vk(t,e,n){var r;r=new yp(n),rh(t,e,r)}function Frt(t,e,n){var r;return r=t[e],t[e]=n,r}function vL(t){var e;return e=t.slice(),Fq(e,t)}function kL(t){var e;return e=t.n,t.a.b+e.d+e.a}function GNt(t){var e;return e=t.n,t.e.b+e.d+e.a}function _rt(t){var e;return e=t.n,t.e.a+e.b+e.c}function Ort(t){t.a.b=t.b,t.b.a=t.a,t.a=t.b=null}function qn(t,e){return ni(t,e,t.c.b,t.c),!0}function _Ae(t){return t.a?t.a:KN(t)}function OAe(t){return Cv(),$f(t)==Hr(wg(t))}function IAe(t){return Cv(),wg(t)==Hr($f(t))}function jb(t,e){return X5(t,new hk(e.a,e.b))}function PAe(t,e){return HL(),iK(t,e),new bHt(t,e)}function jAe(t,e){return t.c<e.c?-1:t.c==e.c?0:1}function XNt(t){return t.b.c.length-t.e.c.length}function VNt(t){return t.e.c.length-t.g.c.length}function wN(t){return t.e.c.length+t.g.c.length}function l9(t){return t==0||isNaN(t)?t:t<0?-1:1}function DAe(t){return!Ps(t)&&t.c.i.c==t.d.i.c}function $Ae(t){return rl(),(At(),zc).Hc(t.j)}function RAe(t,e,n){return Cd(),n.e.a+n.f.a+t*e}function NAe(t,e,n){return Cd(),n.e.b+n.f.b+t*e}function qAe(t,e,n){return Qn(t.b,o(n.b,18),e)}function HAe(t,e,n){return Qn(t.b,o(n.b,18),e)}function KAe(t,e,n){Mtn(t.a,t.b,t.c,o(e,166),n)}function Irt(t,e,n,r){Ict.call(this,t,e,n,r,0,0)}function YNt(t){art(),Lrt.call(this,t),this.a=-1}function JNt(t,e){Lqt.call(this,e,1040),this.a=t}function QNt(){fDt.call(this,"COUNT_CHILDREN",0)}function CL(t,e){WS.call(this,t,e),this.a=this}function Qr(t,e){var n;return n=$N(t,e),n.i=2,n}function xL(t,e){var n;return++t.j,n=t.Cj(e),n}function zn(t,e,n){return t.a=-1,Mnt(t,e.g,n),t}function zAe(t,e){return St(t,new mt(e.a,e.b))}function ZNt(t){return Lv(),at(ej,QO,40,t,0,1)}function tqt(t){return t.e.Rd().gc()*t.c.Rd().gc()}function pN(t,e,n){return new lNt(tLe(t)._e(),n,e)}function WAe(t,e){cot(t,e==null?null:($e(e),e))}function UAe(t,e){sot(t,e==null?null:($e(e),e))}function GAe(t,e){sot(t,e==null?null:($e(e),e))}function t5(t){if(!t)throw N(new ek(null))}function Prt(t){if(t.c.e!=t.a)throw N(new xl)}function jrt(t){if(t.e.c!=t.b)throw N(new xl)}function TL(t){for(Ln(t);t.Ob();)t.Pb(),t.Qb()}function mN(t){qb(),this.a=(le(),new T$(Ln(t)))}function Drt(t){this.c=t,this.b=this.c.d.vc().Kc()}function XAe(t){t.a.ld(),o(t.a.md(),16).gc(),ztt()}function eqt(t,e){return t.a+=nf(e,0,e.length),t}function Pt(t,e){return ue(e,t.c.length),t.c[e]}function nqt(t,e){return ue(e,t.a.length),t.a[e]}function VAe(t,e){return $e(e),K9(e,($e(t),t))}function YAe(t,e){return $e(t),K9(t,($e(e),e))}function u0(t,e,n,r,i,s){return EQt(t,e,n,r,i,0,s)}function JAe(t,e){return ei(e,0,$rt(e[0],Bd(1)))}function QAe(t,e){return Bd(Ts(Bd(t.a).a,e.a))}function $rt(t,e){return QAe(o(t,168),o(e,168))}function rqt(){rqt=Y,V1t=at(Sw,vt,168,256,0,1)}function iqt(){iqt=Y,Q1t=at(Ew,vt,191,256,0,1)}function sqt(){sqt=Y,W1t=at(o3,vt,222,256,0,1)}function oqt(){oqt=Y,G1t=at(G6,vt,180,128,0,1)}function Rrt(){Ff(this,!1,!1,!1,!1)}function Nrt(t){ZZ.call(this,new c1),cs(this,t)}function e5(t){this.a=new ev(t.gc()),cs(this,t)}function cqt(t){this.c=t,this.a=new nv(this.c.a)}function aqt(t){this.a=t,this.c=new hn,kDe(this)}function lqt(){this.d=new mt(0,0),this.e=new yi}function ee(t,e){l0(),Bq.call(this,t),this.a=e}function SL(t,e,n,r){Trt(this,t,e,n,r)}function ZAe(t,e,n){return ec(e.d[t.g],n.d[t.g])}function tMe(t,e,n){return ec(t.d[e.p],t.d[n.p])}function eMe(t,e,n){return ec(t.d[e.p],t.d[n.p])}function nMe(t,e,n){return ec(t.d[e.p],t.d[n.p])}function rMe(t,e,n){return ec(t.d[e.p],t.d[n.p])}function EL(t,e,n){return p.Math.min(n/t,1/e)}function uqt(t,e){return t?0:p.Math.max(0,e-1)}function yN(t,e){return t==null?e==null:ne(t,e)}function iMe(t,e){return t==null?e==null:p_(t,e)}function hqt(t){return t.q?t.q:(le(),le(),Gf)}function fqt(t){return t.c-o(Pt(t.a,t.b),294).b}function Va(t){return t.c?t.c.f:t.e.b}function oa(t){return t.c?t.c.g:t.e.a}function sMe(t,e){return t.a==null&&Gee(t),t.a[e]}function dqt(t){var e;return e=AQt(t),e?dqt(e):t}function BL(t,e){return cr(),new sit(t,e)}function _f(t,e){cr(),mb.call(this,t),this.a=e}function AL(t,e){Sl(),tM.call(this,e),this.a=t}function n5(t,e,n){this.a=t,ki.call(this,e,n,2)}function gqt(t){this.b=new $r,this.a=t,this.c=-1}function bqt(t){Bnt.call(this,0,0),this.a=t,this.b=0}function ML(t){Jb.call(this,t.gc()),ii(this,t)}function LL(t){t.b?LL(t.b):t.d.dc()&&t.f.c.Bc(t.e)}function qrt(t){return Array.isArray(t)&&t.Tm===kn}function vN(t,e){return Q(e,22)&&sa(t,o(e,22))}function wqt(t,e){return Q(e,22)&&IPe(t,o(e,22))}function zs(t,e){return HVt(t,e,uIe(t,t.b.Ce(e)))}function oMe(t,e){return t.a.get(e)!==void 0}function Hrt(t){return ja(t,26)*w6+ja(t,27)*p6}function pqt(t,e){return ZPe(new z1,new mLt(t),e)}function kN(t,e,n){NVt(0,e,t.length),Pk(t,0,e,n)}function Db(t,e,n){Cp(e,t.c.length),Fx(t.c,e,n)}function FL(t,e,n){var r;t&&(r=t.i,r.c=e,r.b=n)}function _L(t,e,n){var r;t&&(r=t.i,r.d=e,r.a=n)}function mqt(t,e,n){var r;for(r=0;r<e;++r)t[r]=n}function cMe(t,e){var n;for(n=0;n<e;++n)t[n]=-1}function Ir(t,e){var n;return n=Yt(t),_ot(n,e),n}function aMe(t,e){return!t&&(t=[]),t[t.length]=e,t}function CN(t,e){lr(t.c,e),t.b.c+=e.a,t.b.d+=e.b}function lMe(t,e){CN(t,Ni(new mt(e.a,e.b),t.c))}function xN(t,e){this.b=new $r,this.a=t,this.c=e}function yqt(){this.b=new Zr,this.c=new ZHt(this)}function Krt(){this.d=new wn,this.e=new QHt(this)}function zrt(){$it(),this.f=new $r,this.e=new $r}function vqt(){rl(),this.k=new hn,this.d=new yi}function TN(){TN=Y,Cpe=new rs((Vn(),qa),0)}function kqt(){kqt=Y,lle=new bqt(at(Hi,ye,1,0,5,1))}function uMe(t,e,n){return Ai(t,new rv(e.a,n.a))}function hMe(t,e,n){return-ec(t.f[e.p],t.f[n.p])}function fMe(t,e,n){jte(n,t,1),St(e,new jjt(n,t))}function dMe(t,e,n){G5(n,t,1),St(e,new Rjt(n,t))}function Cqt(t,e,n){this.a=t,nL.call(this,e,n,22)}function xqt(t,e,n){this.a=t,nL.call(this,e,n,14)}function Tqt(t,e,n,r){Sl(),azt.call(this,t,e,n,r)}function Sqt(t,e,n,r){Sl(),azt.call(this,t,e,n,r)}function ca(t,e,n){return t.a=-1,Mnt(t,e.g+1,n),t}function Wrt(t,e,n){return n=hl(t,o(e,54),7,n),n}function Urt(t,e,n){return n=hl(t,o(e,54),3,n),n}function Mn(t){return Co(t)?t|0:lPt(t)}function Eqt(t){return cr(),new tq(10,t,0)}function Bqt(t){var e;return e=t.f,e||(t.f=t.Dc())}function bv(t){var e;return e=t.i,e||(t.i=t.bc())}function OL(t){if(t.e.j!=t.d)throw N(new xl)}function h0(t){return t.c?t.c:t.c=t.Sd()}function SN(t){return t.d?t.d:t.d=t.Td()}function r5(t,e){return rNe(P9(t,e))?e.zi():null}function gMe(t){return Q(t,15)?o(t,15).ed():t.Kc()}function Grt(t){return t.Qc(at(Hi,ye,1,t.gc(),5,1))}function Aqt(t){return t!=null&&LN(t)&&t.Tm!==kn}function Xrt(t){return!Array.isArray(t)&&t.Tm===kn}function Mqt(t,e){return Ln(e),t.a.Jd(e)&&!t.b.Jd(e)}function bMe(t,e){return Ic(t.l&e.l,t.m&e.m,t.h&e.h)}function wMe(t,e){return Ic(t.l|e.l,t.m|e.m,t.h|e.h)}function pMe(t,e){return Ic(t.l^e.l,t.m^e.m,t.h^e.h)}function Su(t,e){return ug(oZt(Co(t)?Zl(t):t,e))}function $b(t,e){return ug(Tlt(Co(t)?Zl(t):t,e))}function rg(t,e){return ug(Qze(Co(t)?Zl(t):t,e))}function mMe(t,e){return D7e(($e(t),t),($e(e),e))}function EN(t,e){return Tr(($e(t),t),($e(e),e))}function IL(t){this.b=new Ec(11),this.a=(Wb(),t)}function Ge(t){this.a=(kqt(),lle),this.d=o(Ln(t),51)}function Lqt(t,e){this.c=0,this.d=t,this.b=e|64|af}function Vrt(t,e){this.e=t,this.d=(e&64)!=0?e|af:e}function BN(t){this.b=null,this.a=(Wb(),t||ogt)}function Fqt(t){rL(this),this.g=t,UL(this),this.je()}function f0(t){Z1(),this.a=0,this.b=t-1,this.c=1}function Yrt(t,e,n,r){this.a=t,bF.call(this,t,e,n,r)}function yMe(t,e,n){t.a.Mb(n)&&(t.b=!0,e.Cd(n))}function Jrt(t){t.d||(t.d=t.b.Kc(),t.c=t.b.gc())}function kk(t,e){if(t<0||t>=e)throw N(new Btt)}function pp(t,e){return i7(t,($e(e),new wLt(e)))}function wv(t,e){return i7(t,($e(e),new pLt(e)))}function _qt(t,e,n){return ann(t,o(e,12),o(n,12))}function Oqt(t){return la(),o(t,12).g.c.length!=0}function Iqt(t){return la(),o(t,12).e.c.length!=0}function vMe(t,e){return Fv(),Tr(e.a.o.a,t.a.o.a)}function kMe(t,e){(e.Bb&Jo)!=0&&!t.a.o&&(t.a.o=e)}function CMe(t,e){e.Ug("General 'Rotator",1),jtn(t)}function xMe(t,e,n){e.qf(n,nt(ct(Ue(t.b,n)))*t.a)}function Pqt(t,e,n){return Om(),Gk(t,e)&&Gk(t,n)}function i5(t){return xa(),!t.Hc(Rd)&&!t.Hc(Hg)}function TMe(t){return t.e?vst(t.e):null}function s5(t){return Co(t)?""+t:Ree(t)}function Qrt(t){var e;for(e=t;e.f;)e=e.f;return e}function SMe(t,e,n){return ei(e,0,$rt(e[0],n[0])),e}function i1(t,e,n,r){var i;i=t.i,i.i=e,i.a=n,i.b=r}function dt(t,e,n,r){ki.call(this,t,e,n),this.b=r}function Gi(t,e,n,r,i){Mq.call(this,t,e,n,r,i,-1)}function o5(t,e,n,r,i){L9.call(this,t,e,n,r,i,-1)}function PL(t,e,n,r){a9.call(this,t,e,n),this.b=r}function jqt(t){ODt.call(this,t,!1),this.a=!1}function Dqt(){fDt.call(this,"LOOKAHEAD_LAYOUT",1)}function $qt(t){this.b=t,lv.call(this,t),K$t(this)}function Rqt(t){this.b=t,YS.call(this,t),z$t(this)}function mp(t,e,n){this.a=t,hv.call(this,e,n,5,6)}function Zrt(t,e,n,r){this.b=t,ki.call(this,e,n,r)}function Nqt(t,e){this.b=t,UMt.call(this,t.b),this.a=e}function qqt(t){this.a=TJt(t.a),this.b=new ma(t.b)}function tit(t,e){qb(),nSe.call(this,t,i_(new pa(e)))}function jL(t,e){return cr(),new bit(t,e,0)}function AN(t,e){return cr(),new bit(6,t,e)}function hs(t,e){for($e(e);t.Ob();)e.Cd(t.Pb())}function Pc(t,e){return Ji(e)?JN(t,e):!!zs(t.f,e)}function MN(t,e){return e.Vh()?dg(t.b,o(e,54)):e}function EMe(t,e){return ne(t.substr(0,e.length),e)}function Of(t){return new Ge(new knt(t.a.length,t.a))}function DL(t){return new mt(t.c+t.b/2,t.d+t.a/2)}function BMe(t){return Ic(~t.l&$a,~t.m&$a,~t.h&_d)}function LN(t){return typeof t===H7||typeof t===Sz}function ya(t){t.f=new c$t(t),t.i=new a$t(t),++t.g}function Hqt(t){if(!t)throw N(new Mo);return t.d}function pv(t){var e;return e=M5(t),tn(e!=null),e}function AMe(t){var e;return e=z$e(t),tn(e!=null),e}function Ck(t,e){var n;return n=t.a.gc(),bst(e,n),n-e}function Ai(t,e){var n;return n=t.a.zc(e,t),n==null}function u9(t,e){return t.a.zc(e,(Te(),Ag))==null}function eit(t){return new ee(null,OMe(t,t.length))}function nit(t,e,n){return lre(t,o(e,42),o(n,176))}function mv(t,e,n){return Au(t.a,e),Frt(t.b,e.g,n)}function MMe(t,e,n){kk(n,t.a.c.length),Ll(t.a,n,e)}function st(t,e,n,r){NVt(e,n,t.length),LMe(t,e,n,r)}function LMe(t,e,n,r){var i;for(i=e;i<n;++i)t[i]=r}function rit(t,e){var n;for(n=0;n<e;++n)t[n]=!1}function d0(t,e,n){of(),this.e=t,this.d=e,this.a=n}function iit(t,e,n){this.c=t,this.a=e,le(),this.b=n}function FN(t,e){this.d=t,Ke.call(this,t),this.e=e}function Zu(t,e,n){return VDe(t,e.g,n),Au(t.c,e),t}function FMe(t){return Dm(t,(Ti(),ho)),t.d=!0,t}function _N(t){return!t.j&&RTe(t,IYe(t.g,t.b)),t.j}function Kqt(t){t.a=null,t.e=null,ya(t.b),t.d=0,++t.c}function c5(t){dp(t.b!=-1),a1(t.c,t.a=t.b),t.b=-1}function sit(t,e){mb.call(this,1),this.a=t,this.b=e}function _Me(t,e){return t>0?p.Math.log(t/e):-100}function zqt(t,e){return nc(t,e)<0?-1:nc(t,e)>0?1:0}function h9(t,e){P$t(t,Q(e,160)?e:o(e,2036).Rl())}function oit(t,e){if(t==null)throw N(new Jy(e))}function OMe(t,e){return PPe(e,t.length),new JNt(t,e)}function cit(t,e){return e?cs(t,e):!1}function IMe(){return oM(),W(K(ule,1),bt,549,0,[bG])}function a5(t){return t.e==0?t:new d0(-t.e,t.d,t.a)}function PMe(t,e){return Tr(t.c.c+t.c.b,e.c.c+e.c.b)}function f9(t,e){ni(t.d,e,t.b.b,t.b),++t.a,t.c=null}function Wqt(t,e){return t.c?Wqt(t.c,e):St(t.b,e),t}function jMe(t,e,n){var r;return r=Ep(t,e),dq(t,e,n),r}function Uqt(t,e,n){var r;for(r=0;r<e;++r)ei(t,r,n)}function Gqt(t,e,n,r,i){for(;e<n;)r[i++]=ms(t,e++)}function xk(t,e,n,r,i){kK(t,o(gr(e.k,n),15),n,r,i)}function Rb(t,e){ci(bo(t.Oc(),new b8t),new AFt(e))}function DMe(t,e){return Tr(t.e.a+t.f.a,e.e.a+e.f.a)}function $Me(t,e){return Tr(t.e.b+t.f.b,e.e.b+e.f.b)}function ON(t){return p.Math.abs(t.d.e-t.e.e)-t.a}function RMe(t){return t==Kr?xE:t==Li?"-INF":""+t}function NMe(t){return t==Kr?xE:t==Li?"-INF":""+t}function qMe(t){return Cv(),Hr($f(t))==Hr(wg(t))}function HMe(t,e,n){return o(t.c.hd(e,o(n,136)),44)}function KMe(t,e){yv(t,new yp(e.f!=null?e.f:""+e.g))}function zMe(t,e){yv(t,new yp(e.f!=null?e.f:""+e.g))}function ii(t,e){return t.Si()&&(e=vKt(t,e)),t.Fi(e)}function IN(t,e){return e=t.Yk(null,e),HQt(t,null,e)}function WMe(t,e){++t.j,vK(t,t.i,e),gUe(t,o(e,343))}function ait(t){t?Lat(t,(hd(),kle)):VLe((hd(),t))}function Nb(t){this.d=($e(t),t),this.a=0,this.c=U7}function PN(t,e){this.d=j$e(t),this.c=e,this.a=.5*e}function Xqt(t){Fit.call(this),this.a=t,St(t.a,this)}function Vqt(){c1.call(this),this.a=!0,this.b=!0}function Yqt(){Yqt=Y,ble=new HZ(!1),wle=new HZ(!0)}function l5(t){var e;return e=t.g,e||(t.g=new $Z(t))}function $L(t){var e;return e=t.k,e||(t.k=new RZ(t))}function lit(t){var e;return e=t.k,e||(t.k=new RZ(t))}function UMe(t){var e;return e=t.i,e||(t.i=new NMt(t))}function Jqt(t){var e;return e=t.f,e||(t.f=new vnt(t))}function jN(t){var e;return e=t.j,e||(t.j=new ZMt(t))}function DN(t){var e;return e=t.d,e||(t.d=new m$(t))}function Qqt(t,e,n){return cr(),new GKt(t,e,n)}function Zqt(t,e){return T9(e,t.c.b.c.gc()),new DPt(t,e)}function uit(t,e){var n;return n=t.a.gc(),T9(e,n),n-1-e}function C(t,e,n){var r;return r=$N(t,e),VGt(n,r),r}function $N(t,e){var n;return n=new Mot,n.j=t,n.d=e,n}function Ln(t){if(t==null)throw N(new Uy);return t}function yp(t){if(t==null)throw N(new Uy);this.a=t}function tHt(t){wtt(),this.b=new Tt,this.a=t,$Ze(this,t)}function hit(t){this.b=t,this.a=o(Ql(this.b.a.e),227)}function qb(){qb=Y,Qh(),dG=new ZN((le(),le(),Os))}function RN(){RN=Y,Qh(),D1t=new get((le(),le(),FI))}function ig(){ig=Y,Se=dUe(),ae(),_2&&gHe()}function RL(t){t.s=NaN,t.c=NaN,Tte(t,t.e),Tte(t,t.j)}function en(t){return(t.i==null&&cf(t),t.i).length}function eHt(t,e){return o(h0(t.a).Md().Xb(e),44).ld()}function Ue(t,e){return Ji(e)?gc(t,e):go(zs(t.f,e))}function GMe(t,e){return Cv(),t==$f(e)?wg(e):$f(e)}function XMe(t,e,n,r){return n==0||(n-r)/n<t.e||e>=t.g}function ei(t,e,n){return B7e(n==null||kJe(t,n)),t[e]=n}function fit(t,e){return Oe(e,t.length+1),t.substr(e)}function NN(t,e){for($e(e);t.c<t.d;)t.Se(e,t.c++)}function dit(t){this.d=t,this.c=t.a.d.a,this.b=t.a.e.g}function nHt(t){this.c=t,this.a=new $r,this.b=new $r}function dc(t){this.c=new ns,this.a=new Tt,this.b=t}function rHt(t){this.b=new Tt,this.a=new Tt,this.c=t}function VMe(t,e,n){o(e.b,68),jc(e.a,new grt(t,n,e))}function YMe(t,e){return Fv(),o(Zs(t,e.d),15).Fc(e)}function yv(t,e){var n;n=t.a.length,Ep(t,n),dq(t,n,e)}function iHt(t,e){var n;n=console[t],n.call(console,e)}function sHt(t,e){var n;++t.j,n=t.Ej(),t.rj(t.Zi(n,e))}function qN(t,e,n){var r;return r=Yq(t,e,n),Qlt(t,r)}function Hb(t){return!t.d&&(t.d=new ki(Js,t,1)),t.d}function JMe(t){return!t.a&&(t.a=new ki(Kg,t,4)),t.a}function Tk(t,e){return t.a+=String.fromCharCode(e),t}function g0(t,e){return t.a+=String.fromCharCode(e),t}function git(t,e,n){this.a=t,ftt.call(this,e),this.b=n}function oHt(t,e,n){this.a=t,Yit.call(this,8,e,null,n)}function bit(t,e,n){mb.call(this,t),this.a=e,this.b=n}function wit(t,e,n){tM.call(this,e),this.a=t,this.b=n}function cHt(t){this.c=t,this.b=this.c.a,this.a=this.c.e}function QMe(t){this.a=($e(Hn),Hn),this.b=t,new Ftt}function aHt(t){xit(t.a),t.b=at(Hi,ye,1,t.b.length,5,1)}function Ya(t){dp(t.c!=-1),t.d.gd(t.c),t.b=t.c,t.c=-1}function u5(t){return p.Math.sqrt(t.a*t.a+t.b*t.b)}function NL(t,e){return dK(t.c,t.f,e,t.b,t.a,t.e,t.d)}function Kb(t,e){return kk(e,t.a.c.length),Pt(t.a,e)}function Zh(t,e){return it(t)===it(e)||t!=null&&hr(t,e)}function lHt(t){return Q(t,102)&&(o(t,19).Bb&Jo)!=0}function uHt(t){return Ql(t),Q(t,484)?o(t,484):To(t)}function hHt(t){return t?t.dc():!t.Kc().Ob()}function ZMe(t){return I2?JN(I2,t):!1}function tLe(t){return 0>=t?new cet:sje(t-1)}function fs(t){return!t.a&&t.c?t.c.b:t.a}function pit(t){return Q(t,616)?t:new hKt(t)}function sg(t){t.c?sg(t.c):(gg(t),t.d=!0)}function h5(t){t.c?t.c.$e():(t.d=!0,xXe(t))}function fHt(t){t.b=!1,t.c=!1,t.d=!1,t.a=!1}function dHt(t){var e,n;return e=t.c.i.c,n=t.d.i.c,e==n}function eLe(t,e){var n;n=t.Ih(e),n>=0?t.ki(n):olt(t,e)}function gHt(t,e){t.c<0||t.b.b<t.c?As(t.b,e):t.a.tf(e)}function nLe(t,e){mn((!t.a&&(t.a=new t9(t,t)),t.a),e)}function rLe(t,e){CN(o(e.b,68),t),jc(e.a,new stt(t))}function iLe(t,e){return ec(e.j.c.length,t.j.c.length)}function sLe(t,e,n){return _v(),n.Lg(t,o(e.ld(),149))}function Ql(t){if(t==null)throw N(new Uy);return t}function $e(t){if(t==null)throw N(new Uy);return t}function oLe(t){if(t.p!=4)throw N(new na);return t.e}function cLe(t){if(t.p!=3)throw N(new na);return t.e}function aLe(t){if(t.p!=3)throw N(new na);return t.j}function lLe(t){if(t.p!=4)throw N(new na);return t.j}function uLe(t){if(t.p!=6)throw N(new na);return t.f}function hLe(t){if(t.p!=6)throw N(new na);return t.k}function mit(t){return!t.b&&(t.b=new eM(new j$)),t.b}function zb(t){return t.c==-2&<e(t,ize(t.g,t.b)),t.c}function Sk(t,e){var n;return n=$N("",t),n.n=e,n.i=1,n}function qL(t,e,n,r){Eb.call(this,t,n),this.a=e,this.f=r}function yit(t,e,n,r){Eb.call(this,t,e),this.d=n,this.a=r}function bHt(t,e){T9e.call(this,oje(Ln(t),Ln(e))),this.a=e}function Ci(){xIt.call(this),sp(this.j.c,0),this.a=-1}function wHt(){Dat.call(this,su,(sk(),kvt)),_Qe(this)}function pHt(){Dat.call(this,z0,(aPt(),c2e)),TZe(this)}function mHt(){xn.call(this,"DELAUNAY_TRIANGULATION",0)}function fLe(t){return String.fromCharCode.apply(null,t)}function Qn(t,e,n){return Ji(e)?so(t,e,n):Mc(t.f,e,n)}function vit(t){return le(),t?t.Oe():(Wb(),Wb(),cgt)}function dLe(t){return cl(t,Mz),AF(Ts(Ts(5,t),t/10|0))}function yHt(t,e){return yL(),new qct(new eRt(t),new tRt(e))}function HL(){HL=Y,ale=new Ntt(W(K(W0,1),wO,44,0,[]))}function vHt(t){return!t.d&&(t.d=new V3(t.c.Cc())),t.d}function Ek(t){return!t.a&&(t.a=new GIt(t.c.vc())),t.a}function kHt(t){return!t.b&&(t.b=new nk(t.c.ec())),t.b}function If(t,e){for(;e-- >0;)t=t<<1|(t<0?1:0);return t}function CHt(t,e){var n;return n=new dc(t),ke(e.c,n),n}function xHt(t,e){t.u.Hc((xa(),Rd))&&oUe(t,e),TIe(t,e)}function Vo(t,e){return it(t)===it(e)||t!=null&&hr(t,e)}function Zs(t,e){return vN(t.a,e)?t.b[o(e,22).g]:null}function gLe(){return yM(),W(K($gt,1),bt,489,0,[$G])}function bLe(){return CM(),W(K(fmt,1),bt,490,0,[aY])}function wLe(){return xM(),W(K(Ybe,1),bt,558,0,[lY])}function pLe(){return Ex(),W(K(Omt,1),bt,539,0,[hB])}function KL(t){return!t.n&&(t.n=new dt(no,t,1,7)),t.n}function HN(t){return!t.c&&(t.c=new dt(Aa,t,9,9)),t.c}function kit(t){return!t.c&&(t.c=new ge(an,t,5,8)),t.c}function mLe(t){return!t.b&&(t.b=new ge(an,t,4,7)),t.b}function d9(t){return t.j.c.length=0,xit(t.c),Y7e(t.a),t}function Bk(t){return t.e==n4&&jTe(t,fNe(t.g,t.b)),t.e}function g9(t){return t.f==n4&&$Te(t,rHe(t.g,t.b)),t.f}function Zn(t,e,n,r){return UXt(t,e,n,!1),s_(t,r),t}function THt(t,e){this.b=t,FN.call(this,t,e),K$t(this)}function SHt(t,e){this.b=t,srt.call(this,t,e),z$t(this)}function f5(t){this.d=t,this.a=this.d.b,this.b=this.d.c}function Cit(t,e){this.b=t,this.c=e,this.a=new nv(this.b)}function ms(t,e){return Oe(e,t.length),t.charCodeAt(e)}function yLe(t,e){lct(t,nt(xd(e,"x")),nt(xd(e,"y")))}function vLe(t,e){lct(t,nt(xd(e,"x")),nt(xd(e,"y")))}function fr(t,e){return gg(t),new ee(t,new Ost(e,t.a))}function bo(t,e){return gg(t),new ee(t,new mst(e,t.a))}function vp(t,e){return gg(t),new Dnt(t,new IWt(e,t.a))}function zL(t,e){return gg(t),new $nt(t,new PWt(e,t.a))}function kLe(t,e){return new VHt(o(Ln(t),50),o(Ln(e),50))}function CLe(t,e){return Tr(t.d.c+t.d.b/2,e.d.c+e.d.b/2)}function EHt(t,e,n){n.a?$c(t,e.b-t.f/2):Dc(t,e.a-t.g/2)}function xLe(t,e){return Tr(t.g.c+t.g.b/2,e.g.c+e.g.b/2)}function TLe(t,e){return het(),Tr(($e(t),t),($e(e),e))}function SLe(t){return t!=null&&BS(Kj,t.toLowerCase())}function xit(t){var e;for(e=t.Kc();e.Ob();)e.Pb(),e.Qb()}function fm(t){var e;return e=t.b,!e&&(t.b=e=new $Mt(t)),e}function KN(t){var e;return e=lje(t),e||null}function BHt(t,e){var n,r;return n=t/e,r=ji(n),n>r&&++r,r}function ELe(t,e,n){var r;r=o(t.d.Kb(n),159),r&&r.Nb(e)}function BLe(t,e,n){MQe(t.a,n),oDe(n),YUe(t.b,n),VQe(e,n)}function WL(t,e,n,r){this.a=t,this.c=e,this.b=n,this.d=r}function Tit(t,e,n,r){this.c=t,this.b=e,this.a=n,this.d=r}function AHt(t,e,n,r){this.c=t,this.b=e,this.d=n,this.a=r}function Bl(t,e,n,r){this.c=t,this.d=e,this.b=n,this.a=r}function MHt(t,e,n,r){this.a=t,this.d=e,this.c=n,this.b=r}function zN(t,e,n,r){this.a=t,this.e=e,this.d=n,this.c=r}function LHt(t,e,n,r){this.a=t,this.c=e,this.d=n,this.b=r}function WN(t,e,n){this.a=Jut,this.d=t,this.b=e,this.c=n}function vv(t,e,n,r){xn.call(this,t,e),this.a=n,this.b=r}function FHt(t,e){this.d=($e(t),t),this.a=16449,this.c=e}function _Ht(t){this.a=new Tt,this.e=at(vn,vt,53,t,0,2)}function ALe(t){t.Ug("No crossing minimization",1),t.Vg()}function OHt(){Lo.call(this,"There is no more element.")}function IHt(t,e,n,r){this.a=t,this.b=e,this.c=n,this.d=r}function PHt(t,e,n,r){this.a=t,this.b=e,this.c=n,this.d=r}function b0(t,e,n,r){this.e=t,this.a=e,this.c=n,this.d=r}function jHt(t,e,n,r){this.a=t,this.c=e,this.d=n,this.b=r}function DHt(t,e,n,r){Sl(),jWt.call(this,e,n,r),this.a=t}function $Ht(t,e,n,r){Sl(),jWt.call(this,e,n,r),this.a=t}function UN(t,e,n){var r,i;return r=Dut(t),i=e.ti(n,r),i}function gd(t){var e,n;return n=(e=new yb,e),$k(n,t),n}function GN(t){var e,n;return n=(e=new yb,e),Nat(n,t),n}function MLe(t,e){var n;return n=Ue(t.f,e),yot(e,n),null}function RHt(t){return!t.b&&(t.b=new dt(fi,t,12,3)),t.b}function NHt(t){return t5(t==null||LN(t)&&t.Tm!==kn),t}function UL(t){return t.n&&(t.e!==qie&&t.je(),t.j=null),t}function Ak(t){if(Pa(t.d),t.d.d!=t.c)throw N(new xl)}function Sit(t){return tn(t.b<t.d.gc()),t.d.Xb(t.c=t.b++)}function nl(t){t.a.a=t.c,t.c.b=t.a,t.a.b=t.c.a=null,t.b=0}function XN(t){this.f=t,this.c=this.f.e,t.f>0&&mQt(this)}function qHt(t,e){this.a=t,A7e.call(this,t,o(t.d,15).fd(e))}function LLe(t,e){return Tr(oa(t)*Va(t),oa(e)*Va(e))}function FLe(t,e){return Tr(oa(t)*Va(t),oa(e)*Va(e))}function _Le(t){return uw(t)&&It(_t(wt(t,(Ft(),Y0))))}function OLe(t,e){return ie(t,o(F(e,(Ft(),C4)),17),e)}function ILe(t,e){return o(F(t,(yt(),b3)),15).Fc(e),e}function Eit(t,e){return t.b=e.b,t.c=e.c,t.d=e.d,t.a=e.a,t}function HHt(t,e,n,r){this.b=t,this.c=r,JM.call(this,e,n)}function PLe(t,e,n){t.i=0,t.e=0,e!=n&&SVt(t,e,n)}function jLe(t,e,n){t.i=0,t.e=0,e!=n&&EVt(t,e,n)}function DLe(t,e,n){return Sx(),uRe(o(Ue(t.e,e),529),n)}function kv(t){var e;return e=t.f,e||(t.f=new ak(t,t.c))}function KHt(t,e){return Cm(t.j,e.s,e.c)+Cm(e.e,t.s,t.c)}function zHt(t,e){t.e&&!t.e.a&&(FOt(t.e,e),zHt(t.e,e))}function WHt(t,e){t.d&&!t.d.a&&(FOt(t.d,e),WHt(t.d,e))}function $Le(t,e){return-Tr(oa(t)*Va(t),oa(e)*Va(e))}function RLe(t){return o(t.ld(),149).Pg()+":"+To(t.md())}function UHt(){EK(this,new jZ),this.wb=(ig(),Se),sk()}function GHt(t){this.b=new Tt,Mi(this.b,this.b),this.a=t}function Bit(t,e){new $r,this.a=new ra,this.b=t,this.c=e}function Wb(){Wb=Y,ogt=new $n,xG=new $n,cgt=new xr}function le(){le=Y,Os=new Ot,Gf=new de,FI=new Pe}function Ait(){Ait=Y,Kle=new Bn,Wle=new Krt,zle=new rn}function Cv(){Cv=Y,RI=new Tt,HG=new hn,qG=new Tt}function GL(t,e){if(t==null)throw N(new Jy(e));return t}function XL(t){return!t.a&&(t.a=new dt(nr,t,10,11)),t.a}function wr(t){return!t.q&&(t.q=new dt(du,t,11,10)),t.q}function ht(t){return!t.s&&(t.s=new dt(ea,t,21,17)),t.s}function NLe(t){return Ln(t),IJt(new Ge(Ve(t.a.Kc(),new P)))}function qLe(t,e){return Ja(t),Ja(e),qIt(o(t,22),o(e,22))}function w0(t,e,n){var r,i;r=crt(n),i=new XA(r),rh(t,e,i)}function VN(t,e,n,r,i,s){L9.call(this,t,e,n,r,i,s?-2:-1)}function XHt(t,e,n,r){Xet.call(this,e,n),this.b=t,this.a=r}function VHt(t,e){a8e.call(this,new BN(t)),this.a=t,this.b=e}function Mit(t){this.b=t,this.c=t,t.e=null,t.c=null,this.a=1}function HLe(t){Tu();var e;e=o(t.g,10),e.n.a=t.d.c+e.d.b}function Mk(){Mk=Y;var t,e;e=!VRe(),t=new Gt,mG=e?new Vt:t}function YN(t){return le(),Q(t,59)?new U$(t):new sL(t)}function VL(t){return Q(t,16)?new e5(o(t,16)):kAe(t.Kc())}function KLe(t){return new U$t(t,t.e.Rd().gc()*t.c.Rd().gc())}function zLe(t){return new G$t(t,t.e.Rd().gc()*t.c.Rd().gc())}function Lit(t){return t&&t.hashCode?t.hashCode():Ib(t)}function JN(t,e){return e==null?!!zs(t.f,null):oMe(t.i,e)}function WLe(t,e){var n;return n=fnt(t.a,e),n&&(e.d=null),n}function YHt(t,e,n){return t.f?t.f.ef(e,n):!1}function b9(t,e,n,r){ei(t.c[e.g],n.g,r),ei(t.c[n.g],e.g,r)}function QN(t,e,n,r){ei(t.c[e.g],e.g,n),ei(t.b[e.g],e.g,r)}function ULe(t,e,n){return nt(ct(n.a))<=t&&nt(ct(n.b))>=e}function JHt(t,e){this.g=t,this.d=W(K(Vf,1),T1,10,0,[e])}function QHt(t){this.c=t,this.b=new t1(o(Ln(new sn),50))}function ZHt(t){this.c=t,this.b=new t1(o(Ln(new jn),50))}function tKt(t){this.b=t,this.a=new t1(o(Ln(new uS),50))}function eKt(){this.b=new yi,this.d=new $r,this.e=new Att}function Fit(){this.c=new ns,this.d=new ns,this.e=new ns}function Ub(){this.a=new ra,this.b=(cl(3,Xp),new Ec(3))}function s1(t,e){this.e=t,this.a=Hi,this.b=ene(e),this.c=e}function YL(t){this.c=t.c,this.d=t.d,this.b=t.b,this.a=t.a}function nKt(t,e,n,r,i,s){this.a=t,zq.call(this,e,n,r,i,s)}function rKt(t,e,n,r,i,s){this.a=t,zq.call(this,e,n,r,i,s)}function og(t,e,n,r,i,s,l){return new bq(t.e,e,n,r,i,s,l)}function GLe(t,e,n){return n>=0&&ne(t.substr(n,e.length),e)}function iKt(t,e){return Q(e,149)&&ne(t.b,o(e,149).Pg())}function XLe(t,e){return t.a?e.Gh().Kc():o(e.Gh(),71).Ii()}function sKt(t,e){var n;return n=t.b.Qc(e),Zzt(n,t.b.gc()),n}function w9(t,e){if(t==null)throw N(new Jy(e));return t}function wo(t){return t.u||(Oa(t),t.u=new $Rt(t,t)),t.u}function ZN(t){this.a=(le(),Q(t,59)?new U$(t):new sL(t))}function Gc(t){var e;return e=o(Be(t,16),29),e||t.ii()}function JL(t,e){var n;return n=a0(t.Rm),e==null?n:n+": "+e}function Al(t,e,n){return os(e,n,t.length),t.substr(e,n-e)}function oKt(t,e){uL.call(this),Hst(this),this.a=t,this.c=e}function VLe(t){t&&JL(t,t.ie())}function YLe(t){lM(),p.setTimeout(function(){throw t},0)}function JLe(){return y_(),W(K(bgt,1),bt,436,0,[FG,ggt])}function QLe(){return EF(),W(K(pgt,1),bt,435,0,[wgt,_G])}function ZLe(){return BF(),W(K(Wgt,1),bt,432,0,[KG,NI])}function tFe(){return Uk(),W(K(zhe,1),bt,517,0,[jE,rX])}function eFe(){return cF(),W(K(Abt,1),bt,429,0,[OX,Bbt])}function nFe(){return N9(),W(K(fbt,1),bt,428,0,[wP,hbt])}function rFe(){return mF(),W(K(ibt,1),bt,431,0,[rbt,mX])}function iFe(){return $9(),W(K(vpt,1),bt,430,0,[gV,bV])}function sFe(){return p5(),W(K(Pge,1),bt,531,0,[kT,vT])}function oFe(){return HF(),W(K(w2t,1),bt,501,0,[oj,my])}function cFe(){return tf(),W(K(Hge,1),bt,523,0,[qw,F1])}function aFe(){return yh(),W(K(zge,1),bt,522,0,[eb,Dh])}function lFe(){return eh(),W(K(s0e,1),bt,528,0,[C2,Pg])}function uFe(){return O9(),W(K(bbt,1),bt,488,0,[gbt,mP])}function hFe(){return fF(),W(K(smt,1),bt,491,0,[sY,imt])}function fFe(){return iH(),W(K(hmt,1),bt,492,0,[lmt,umt])}function dFe(){return iF(),W(K(b2t,1),bt,433,0,[DV,g2t])}function gFe(){return vF(),W(K(m2t,1),bt,434,0,[p2t,KV])}function bFe(){return Xb(),W(K(f0e,1),bt,465,0,[jg,by])}function wFe(){return A9(),W(K(dmt,1),bt,438,0,[uY,pj])}function pFe(){return Y9(),W(K(Pmt,1),bt,437,0,[yj,Imt])}function mFe(){return lN(),W(K(Ij,1),bt,347,0,[Yyt,Jyt])}function QL(t,e,n,r){return n>=0?t.Uh(e,n,r):t.Ch(null,n,r)}function p9(t){return t.b.b==0?t.a.sf():gN(t.b)}function yFe(t){if(t.p!=5)throw N(new na);return Mn(t.f)}function vFe(t){if(t.p!=5)throw N(new na);return Mn(t.k)}function _it(t){return it(t.a)===it((nH(),XY))&&mZe(t),t.a}function kFe(t,e){t.b=e,t.c>0&&t.b>0&&(t.g=EL(t.c,t.b,t.a))}function CFe(t,e){t.c=e,t.c>0&&t.b>0&&(t.g=EL(t.c,t.b,t.a))}function cKt(t,e){vTe(this,new mt(t.a,t.b)),kTe(this,o9(e))}function Gb(){l8e.call(this,new ev(Bp(12))),pnt(!0),this.a=2}function tq(t,e,n){cr(),mb.call(this,t),this.b=e,this.a=n}function Oit(t,e,n){Sl(),tM.call(this,e),this.a=t,this.b=n}function aKt(t){var e;e=t.c.d.b,t.b=e,t.a=t.c.d,e.a=t.c.d.b=t}function xFe(t){return t.b==0?null:(tn(t.b!=0),_l(t,t.a.a))}function gc(t,e){return e==null?go(zs(t.f,null)):Lx(t.i,e)}function lKt(t,e,n,r,i){return new AK(t,(jk(),BG),e,n,r,i)}function ZL(t,e){return Yzt(e),GPe(t,at(vn,Wn,28,e,15,1),e)}function tF(t,e){return GL(t,"set1"),GL(e,"set2"),new QPt(t,e)}function TFe(t,e){var n=pG[t.charCodeAt(0)];return n??t}function uKt(t,e){var n,r;return n=e,r=new hi,Dre(t,n,r),r.d}function eq(t,e,n,r){var i;i=new qRt,e.a[n.g]=i,mv(t.b,r,i)}function SFe(t,e){var n;return n=zPe(t.f,e),lr(lL(n),t.f.d)}function m9(t){var e;eje(t.a),p$t(t.a),e=new JA(t.a),yct(e)}function EFe(t,e){Wee(t,!0),jc(t.e.Rf(),new hrt(t,!0,e))}function BFe(t,e){return Cv(),t==Hr($f(e))||t==Hr(wg(e))}function AFe(t,e){return Cd(),o(F(e,(qo(),kf)),17).a==t}function ji(t){return Math.max(Math.min(t,ar),-2147483648)|0}function hKt(t){this.a=o(Ln(t),277),this.b=(le(),new Tnt(t))}function fKt(t,e,n){this.i=new Tt,this.b=t,this.g=e,this.a=n}function Iit(t,e,n){this.a=new Tt,this.e=t,this.f=e,this.c=n}function eF(t,e,n){this.c=new Tt,this.e=t,this.f=e,this.b=n}function dKt(t){uL.call(this),Hst(this),this.a=t,this.c=!0}function MFe(t){function e(){}return e.prototype=t||{},new e}function LFe(t){if(t.Ae())return null;var e=t.n;return SI[e]}function y9(t){return t.Db>>16!=3?null:o(t.Cb,27)}function mh(t){return t.Db>>16!=9?null:o(t.Cb,27)}function gKt(t){return t.Db>>16!=6?null:o(t.Cb,74)}function Xb(){Xb=Y,jg=new jet(Jv,0),by=new jet(Qv,1)}function tf(){tf=Y,qw=new Oet(Qv,0),F1=new Oet(Jv,1)}function yh(){yh=Y,eb=new Iet(hW,0),Dh=new Iet("UP",1)}function bKt(){bKt=Y,hle=Sn((oM(),W(K(ule,1),bt,549,0,[bG])))}function wKt(t){var e;return e=new dM(Bp(t.length)),_ot(e,t),e}function pKt(t,e){return t.b+=e.b,t.c+=e.c,t.d+=e.d,t.a+=e.a,t}function FFe(t,e){return rVt(t,e)?(ZGt(t),!0):!1}function bd(t,e){if(e==null)throw N(new Uy);return JRe(t,e)}function v9(t,e){var n;n=t.q.getHours(),t.q.setDate(e),a6(t,n)}function Pit(t,e,n){var r;r=t.Ih(e),r>=0?t.bi(r,n):Olt(t,e,n)}function mKt(t,e){var n;return n=t.Ih(e),n>=0?t.Wh(n):IK(t,e)}function yKt(t,e){var n;for(Ln(e),n=t.a;n;n=n.c)e.Yd(n.g,n.i)}function nq(t,e,n){var r;r=xVt(t,e,n),t.b=new zF(r.c.length)}function dm(t,e,n){nF(),t&&Qn(WY,t,e),t&&Qn(OB,t,n)}function _Fe(t,e){return bL(),Te(),o(e.a,17).a<t}function OFe(t,e){return bL(),Te(),o(e.b,17).a<t}function rq(t,e){return p.Math.abs(t)<p.Math.abs(e)?t:e}function IFe(t){return!t.a&&(t.a=new dt(nr,t,10,11)),t.a.i>0}function jit(t){var e;return e=t.d,e=t.bj(t.f),mn(t,e),e.Ob()}function vKt(t,e){var n;return n=new Nrt(e),WQt(n,t),new ma(n)}function PFe(t){if(t.p!=0)throw N(new na);return Hx(t.f,0)}function jFe(t){if(t.p!=0)throw N(new na);return Hx(t.k,0)}function kKt(t){return t.Db>>16!=7?null:o(t.Cb,241)}function Lk(t){return t.Db>>16!=6?null:o(t.Cb,241)}function CKt(t){return t.Db>>16!=7?null:o(t.Cb,167)}function Hr(t){return t.Db>>16!=11?null:o(t.Cb,27)}function kp(t){return t.Db>>16!=17?null:o(t.Cb,29)}function xKt(t){return t.Db>>16!=3?null:o(t.Cb,155)}function Dit(t){var e;return gg(t),e=new yi,fr(t,new MLt(e))}function TKt(t,e){var n=t.a=t.a||[];return n[e]||(n[e]=t.ve(e))}function DFe(t,e){var n;n=t.q.getHours(),t.q.setMonth(e),a6(t,n)}function SKt(t,e){rL(this),this.f=e,this.g=t,UL(this),this.je()}function EKt(t,e){this.a=t,this.c=us(this.a),this.b=new YL(e)}function BKt(t,e,n){this.a=e,this.c=t,this.b=(Ln(n),new ma(n))}function AKt(t,e,n){this.a=e,this.c=t,this.b=(Ln(n),new ma(n))}function MKt(t){this.a=t,this.b=at(_ge,vt,2043,t.e.length,0,2)}function LKt(){this.a=new Vh,this.e=new yi,this.g=0,this.i=0}function nF(){nF=Y,WY=new hn,OB=new hn,FSe(Mle,new yEt)}function FKt(){FKt=Y,wge=ca(new Ci,(ys(),vo),(Es(),DE))}function $it(){$it=Y,pge=ca(new Ci,(ys(),vo),(Es(),DE))}function _Kt(){_Kt=Y,yge=ca(new Ci,(ys(),vo),(Es(),DE))}function OKt(){OKt=Y,Dge=zn(new Ci,(ys(),vo),(Es(),Z6))}function rl(){rl=Y,Nge=zn(new Ci,(ys(),vo),(Es(),Z6))}function IKt(){IKt=Y,qge=zn(new Ci,(ys(),vo),(Es(),Z6))}function iq(){iq=Y,Uge=zn(new Ci,(ys(),vo),(Es(),Z6))}function d5(t,e,n,r,i,s){return new vd(t.e,e,t.Lj(),n,r,i,s)}function so(t,e,n){return e==null?Mc(t.f,null,n):iw(t.i,e,n)}function xs(t,e){t.c&&Xc(t.c.g,t),t.c=e,t.c&&St(t.c.g,t)}function is(t,e){t.c&&Xc(t.c.a,t),t.c=e,t.c&&St(t.c.a,t)}function _o(t,e){t.i&&Xc(t.i.j,t),t.i=e,t.i&&St(t.i.j,t)}function ts(t,e){t.d&&Xc(t.d.e,t),t.d=e,t.d&&St(t.d.e,t)}function sq(t,e){t.a&&Xc(t.a.k,t),t.a=e,t.a&&St(t.a.k,t)}function oq(t,e){t.b&&Xc(t.b.f,t),t.b=e,t.b&&St(t.b.f,t)}function PKt(t,e){VMe(t,t.b,t.c),o(t.b.b,68),e&&o(e.b,68).b}function $Fe(t,e){return Tr(o(t.c,65).c.e.b,o(e.c,65).c.e.b)}function RFe(t,e){return Tr(o(t.c,65).c.e.a,o(e.c,65).c.e.a)}function NFe(t){return CH(),Te(),o(t.a,86).d.e!=0}function rF(t,e){Q(t.Cb,184)&&(o(t.Cb,184).tb=null),Bc(t,e)}function cq(t,e){Q(t.Cb,90)&&Np(Oa(o(t.Cb,90)),4),Bc(t,e)}function qFe(t,e){uct(t,e),Q(t.Cb,90)&&Np(Oa(o(t.Cb,90)),2)}function HFe(t,e){var n,r;n=e.c,r=n!=null,r&&yv(t,new yp(e.c))}function jKt(t){var e,n;return n=(sk(),e=new yb,e),$k(n,t),n}function DKt(t){var e,n;return n=(sk(),e=new yb,e),$k(n,t),n}function $Kt(t){for(var e;;)if(e=t.Pb(),!t.Ob())return e}function KFe(t,e,n){return St(t.a,(HL(),iK(e,n),new Eb(e,n))),t}function bc(t,e){return qs(),jq(e)?new CL(e,t):new WS(e,t)}function k9(t){return of(),nc(t,0)>=0?bg(t):a5(bg(u1(t)))}function zFe(t){var e;return e=o(vL(t.b),9),new El(t.a,e,t.c)}function RKt(t,e){var n;return n=o(_p(kv(t.a),e),16),n?n.gc():0}function NKt(t,e,n){var r;hYt(e,n,t.c.length),r=n-e,iet(t.c,e,r)}function o1(t,e,n){hYt(e,n,t.gc()),this.c=t,this.a=e,this.b=n-e}function xv(t){this.c=new $r,this.b=t.b,this.d=t.c,this.a=t.a}function aq(t){this.a=p.Math.cos(t),this.b=p.Math.sin(t)}function p0(t,e,n,r){this.c=t,this.d=r,sq(this,e),oq(this,n)}function Rit(t,e){c8e.call(this,new ev(Bp(t))),cl(e,Pie),this.a=e}function qKt(t,e,n){return new AK(t,(jk(),EG),null,!1,e,n)}function HKt(t,e,n){return new AK(t,(jk(),AG),e,n,null,!1)}function WFe(){return Ca(),W(K(lo,1),bt,108,0,[dgt,Eo,r2])}function UFe(){return Vc(),W(K(tue,1),bt,472,0,[lh,Lg,Iu])}function GFe(){return ka(),W(K(Qle,1),bt,471,0,[mf,Mg,Ou])}function XFe(){return ih(),W(K(i2,1),bt,237,0,[zo,Lc,Wo])}function VFe(){return v5(),W(K(o0t,1),bt,391,0,[GG,UG,XG])}function YFe(){return ew(),W(K(lX,1),bt,372,0,[Mw,Fg,Aw])}function JFe(){return x5(),W(K(obt,1),bt,322,0,[eT,NE,sbt])}function QFe(){return PF(),W(K(abt,1),bt,351,0,[cbt,bP,yX])}function ZFe(){return E0(),W(K(kfe,1),bt,460,0,[CX,w4,ry])}function t_e(){return Jk(),W(K(_X,1),bt,299,0,[LX,FX,qE])}function e_e(){return kd(),W(K(Mfe,1),bt,311,0,[HE,sy,f3])}function n_e(){return O5(),W(K(upt,1),bt,390,0,[cV,lpt,UP])}function r_e(){return Ws(),W(K(lge,1),bt,463,0,[pT,Sa,Fc])}function i_e(){return VF(),W(K(xpt,1),bt,387,0,[kpt,wV,Cpt])}function s_e(){return L5(),W(K(Tpt,1),bt,349,0,[mV,pV,ZE])}function o_e(){return sC(),W(K(Ept,1),bt,350,0,[yV,Spt,mT])}function c_e(){return IF(),W(K(Mpt,1),bt,352,0,[Apt,vV,Bpt])}function a_e(){return ZF(),W(K(Lpt,1),bt,388,0,[kV,M4,k2])}function l_e(){return tw(),W(K(Lge,1),bt,464,0,[tB,yT,YP])}function vh(t){return Io(W(K(Wi,1),vt,8,0,[t.i.n,t.n,t.a]))}function u_e(){return F5(),W(K(Gpt,1),bt,392,0,[Upt,TV,nB])}function KKt(){KKt=Y,q0e=ca(new Ci,(Nv(),xT),(o6(),Dpt))}function iF(){iF=Y,DV=new Det("DFS",0),g2t=new Det("BFS",1)}function zKt(t,e,n){var r;r=new BSt,r.b=e,r.a=n,++e.b,St(t.d,r)}function h_e(t,e,n){var r;r=new Ms(n.d),lr(r,t),lct(e,r.a,r.b)}function f_e(t,e){D$t(t,Mn(qi($b(e,24),yO)),Mn(qi(e,yO)))}function Cp(t,e){if(t<0||t>e)throw N(new ro(oht+t+cht+e))}function ue(t,e){if(t<0||t>=e)throw N(new ro(oht+t+cht+e))}function Oe(t,e){if(t<0||t>=e)throw N(new Wtt(oht+t+cht+e))}function se(t,e){this.b=($e(t),t),this.a=(e&Vp)==0?e|64|af:e}function Nit(t){var e;return gg(t),e=(Wb(),Wb(),xG),LF(t,e)}function d_e(t,e,n){var r;return r=h6(t,e,!1),r.b<=e&&r.a<=n}function g_e(){return kF(),W(K(amt,1),bt,439,0,[oY,cmt,omt])}function b_e(){return a_(),W(K(K2t,1),bt,394,0,[H2t,eY,q2t])}function w_e(){return g_(),W(K(N2t,1),bt,445,0,[cB,uj,VV])}function p_e(){return S_(),W(K(mbe,1),bt,456,0,[YV,QV,JV])}function m_e(){return t7(),W(K(k2t,1),bt,393,0,[cj,y2t,v2t])}function y_e(){return XF(),W(K(R2t,1),bt,300,0,[XV,$2t,D2t])}function v_e(){return Td(),W(K(Hyt,1),bt,346,0,[Bj,P1,HT])}function k_e(){return o7(),W(K(cY,1),bt,444,0,[gj,bj,wj])}function C_e(){return Sh(),W(K(Lyt,1),bt,278,0,[j4,E2,D4])}function x_e(){return Iv(),W(K(Vyt,1),bt,280,0,[Xyt,A2,Oj])}function Vb(t){return Ln(t),Q(t,16)?new ma(o(t,16)):yk(t.Kc())}function qit(t,e){return t&&t.equals?t.equals(e):it(t)===it(e)}function qi(t,e){return ug(bMe(Co(t)?Zl(t):t,Co(e)?Zl(e):e))}function th(t,e){return ug(wMe(Co(t)?Zl(t):t,Co(e)?Zl(e):e))}function lq(t,e){return ug(pMe(Co(t)?Zl(t):t,Co(e)?Zl(e):e))}function T_e(t,e){var n;return n=($e(t),t).g,Pnt(!!n),$e(e),n(e)}function WKt(t,e){var n,r;return r=Ck(t,e),n=t.a.fd(r),new YPt(t,n)}function S_e(t){return t.Db>>16!=6?null:o(DK(t),241)}function E_e(t){if(t.p!=2)throw N(new na);return Mn(t.f)&Si}function B_e(t){if(t.p!=2)throw N(new na);return Mn(t.k)&Si}function D(t){return tn(t.a<t.c.c.length),t.b=t.a++,t.c.c[t.b]}function A_e(t,e){t.b=t.b|e.b,t.c=t.c|e.c,t.d=t.d|e.d,t.a=t.a|e.a}function M_e(t,e){var n;n=nt(ct(t.a.of((Vn(),Tj)))),oie(t,e,n)}function UKt(t,e){d0.call(this,1,2,W(K(vn,1),Wn,28,15,[t,e]))}function GKt(t,e,n){mb.call(this,25),this.b=t,this.a=e,this.c=n}function il(t){cr(),mb.call(this,t),this.c=!1,this.a=!1}function L_e(t){return t.a==(Ok(),Gj)&&_Te(t,zVe(t.g,t.b)),t.a}function Tv(t){return t.d==(Ok(),Gj)&&ITe(t,KJe(t.g,t.b)),t.d}function F_e(t,e){return k5(),t.c==e.c?Tr(e.d,t.d):Tr(e.c,t.c)}function __e(t,e){return k5(),t.c==e.c?Tr(e.d,t.d):Tr(t.c,e.c)}function O_e(t,e){return k5(),t.c==e.c?Tr(t.d,e.d):Tr(t.c,e.c)}function I_e(t,e){return k5(),t.c==e.c?Tr(t.d,e.d):Tr(e.c,t.c)}function Hit(t,e){return wqt(t.a,e)?Frt(t.b,o(e,22).g,null):null}function P_e(t){return Ts(Su(Yo(ja(t,32)),32),Yo(ja(t,32)))}function Kit(t){return t.b==null||t.b.length==0?"n_"+t.a:"n_"+t.b}function m0(t){return t.c==null||t.c.length==0?"n_"+t.g:"n_"+t.c}function XKt(t,e){var n;for(n=t+"";n.length<e;)n="0"+n;return n}function j_e(t,e){var n;n=o(Ue(t.g,e),60),jc(e.d,new Hjt(t,n))}function D_e(t,e){var n,r;return n=JJt(t),r=JJt(e),n<r?-1:n>r?1:0}function VKt(t,e){var n,r;return n=_q(e),r=n,o(Ue(t.c,r),17).a}function uq(t,e,n){var r;r=t.d[e.p],t.d[e.p]=t.d[n.p],t.d[n.p]=r}function $_e(t,e,n){var r;t.n&&e&&n&&(r=new uEt,St(t.e,r))}function hq(t,e){if(Ai(t.a,e),e.d)throw N(new Lo(ise));e.d=t}function zit(t,e){this.a=new Tt,this.d=new Tt,this.f=t,this.c=e}function YKt(){this.c=new O$t,this.a=new RWt,this.b=new JOt,bjt()}function JKt(){_v(),this.b=new hn,this.a=new hn,this.c=new Tt}function QKt(t,e,n){this.d=t,this.j=e,this.e=n,this.o=-1,this.p=3}function ZKt(t,e,n){this.d=t,this.k=e,this.f=n,this.o=-1,this.p=5}function tzt(t,e,n,r,i,s){zst.call(this,t,e,n,r,i),s&&(this.o=-2)}function ezt(t,e,n,r,i,s){Wst.call(this,t,e,n,r,i),s&&(this.o=-2)}function nzt(t,e,n,r,i,s){ast.call(this,t,e,n,r,i),s&&(this.o=-2)}function rzt(t,e,n,r,i,s){Xst.call(this,t,e,n,r,i),s&&(this.o=-2)}function izt(t,e,n,r,i,s){lst.call(this,t,e,n,r,i),s&&(this.o=-2)}function szt(t,e,n,r,i,s){Ust.call(this,t,e,n,r,i),s&&(this.o=-2)}function ozt(t,e,n,r,i,s){Gst.call(this,t,e,n,r,i),s&&(this.o=-2)}function czt(t,e,n,r,i,s){ust.call(this,t,e,n,r,i),s&&(this.o=-2)}function azt(t,e,n,r){tM.call(this,n),this.b=t,this.c=e,this.d=r}function lzt(t,e){this.f=t,this.a=(Ok(),Uj),this.c=Uj,this.b=e}function uzt(t,e){this.g=t,this.d=(Ok(),Gj),this.a=Gj,this.b=e}function Wit(t,e){!t.c&&(t.c=new si(t,0)),lO(t.c,(kr(),t8),e)}function R_e(t,e){return kGe(t,e,Q(e,102)&&(o(e,19).Bb&js)!=0)}function N_e(t,e){return zqt(Yo(t.q.getTime()),Yo(e.q.getTime()))}function hzt(t){return pN(t.e.Rd().gc()*t.c.Rd().gc(),16,new PMt(t))}function q_e(t){return!!t.u&&ac(t.u.a).i!=0&&!(t.n&&tK(t.n))}function H_e(t){return!!t.a&&Ia(t.a.a).i!=0&&!(t.b&&eK(t.b))}function Uit(t,e){return e==0?!!t.o&&t.o.f!=0:XH(t,e)}function K_e(t,e,n){var r;return r=o(t.Zb().xc(e),16),!!r&&r.Hc(n)}function fzt(t,e,n){var r;return r=o(t.Zb().xc(e),16),!!r&&r.Mc(n)}function dzt(t,e){var n;return n=1-e,t.a[n]=KF(t.a[n],n),KF(t,e)}function gzt(t,e){var n,r;return r=qi(t,Gs),n=Su(e,32),th(n,r)}function bzt(t,e,n){var r;r=(Ln(t),new ma(t)),Wqe(new BKt(r,e,n))}function C9(t,e,n){var r;r=(Ln(t),new ma(t)),Uqe(new AKt(r,e,n))}function Ro(t,e,n,r,i,s){return UXt(t,e,n,s),ect(t,r),nct(t,i),t}function wzt(t,e,n,r){return t.a+=""+Al(e==null?Jc:To(e),n,r),t}function ss(t,e){this.a=t,ux.call(this,t),Cp(e,t.gc()),this.b=e}function pzt(t){this.a=at(Hi,ye,1,Aot(p.Math.max(8,t))<<1,5,1)}function x9(t){return o(Bh(t,at(Vf,T1,10,t.c.length,0,1)),199)}function ef(t){return o(Bh(t,at(eX,AW,18,t.c.length,0,1)),483)}function mzt(t){return t.a?t.e.length==0?t.a.a:t.a.a+(""+t.e):t.c}function g5(t){for(;t.d>0&&t.a[--t.d]==0;);t.a[t.d++]==0&&(t.e=0)}function yzt(t){return tn(t.b.b!=t.d.a),t.c=t.b=t.b.b,--t.a,t.c.c}function z_e(t,e,n){t.a=e,t.c=n,t.b.a.$b(),nl(t.d),sp(t.e.a.c,0)}function vzt(t,e){var n;t.e=new Ptt,n=Hp(e),gi(n,t.c),Iee(t,n,0)}function xi(t,e,n,r){var i;i=new MZ,i.a=e,i.b=n,i.c=r,qn(t.a,i)}function kt(t,e,n,r){var i;i=new MZ,i.a=e,i.b=n,i.c=r,qn(t.b,i)}function kzt(t,e,n){if(t<0||e<t||e>n)throw N(new ro(rWe(t,e,n)))}function T9(t,e){if(t<0||t>=e)throw N(new ro(IWe(t,e)));return t}function W_e(t){if(!("stack"in t))try{throw t}catch{}return t}function gm(t){return Sx(),Q(t.g,10)?o(t.g,10):null}function U_e(t){return fm(t).dc()?!1:(b9e(t,new rt),!0)}function y0(t){var e;return Co(t)?(e=t,e==-0?0:e):cPe(t)}function Czt(t,e){return Q(e,44)?oK(t.a,o(e,44)):!1}function xzt(t,e){return Q(e,44)?oK(t.a,o(e,44)):!1}function Tzt(t,e){return Q(e,44)?oK(t.a,o(e,44)):!1}function Git(t){var e;return sg(t),e=new _r,Y2(t.a,new ELt(e)),e}function Xit(){var t,e,n;return e=(n=(t=new yb,t),n),St(Fvt,e),e}function sF(t){var e;return sg(t),e=new Yr,Y2(t.a,new BLt(e)),e}function G_e(t,e){return t.a<=t.b?(e.Dd(t.a++),!0):!1}function Szt(t){Zq.call(this,t,(jk(),SG),null,!1,null,!1)}function Ezt(){Ezt=Y,_ue=Sn((yM(),W(K($gt,1),bt,489,0,[$G])))}function Bzt(){Bzt=Y,_pt=yHt(Ct(1),Ct(4)),Fpt=yHt(Ct(1),Ct(2))}function X_e(t,e){return new hN(e,Jx(us(e.e),t,t),(Te(),!0))}function oF(t){return new Ec((cl(t,Mz),AF(Ts(Ts(5,t),t/10|0))))}function V_e(t){return pN(t.e.Rd().gc()*t.c.Rd().gc(),273,new IMt(t))}function Azt(t){return o(Bh(t,at(qhe,jse,12,t.c.length,0,1)),2042)}function Y_e(t){return rl(),!Ps(t)&&!(!Ps(t)&&t.c.i.c==t.d.i.c)}function J_e(t,e){return Lv(),o(F(e,(qo(),wy)),17).a>=t.gc()}function b5(t,e){Oen(e,t),Brt(t.d),Brt(o(F(t,(Ft(),RP)),214))}function fq(t,e){Ien(e,t),Art(t.d),Art(o(F(t,(Ft(),RP)),214))}function Q_e(t,e,n){t.d&&Xc(t.d.e,t),t.d=e,t.d&&Db(t.d.e,n,t)}function Z_e(t,e,n){return n.f.c.length>0?nit(t.a,e,n):nit(t.b,e,n)}function tOe(t,e,n){var r;r=pNe();try{return q7e(t,e,n)}finally{UOe(r)}}function Yb(t,e){var n,r;return n=bd(t,e),r=null,n&&(r=n.pe()),r}function w5(t,e){var n,r;return n=bd(t,e),r=null,n&&(r=n.se()),r}function Fk(t,e){var n,r;return n=Ep(t,e),r=null,n&&(r=n.se()),r}function wd(t,e){var n,r;return n=bd(t,e),r=null,n&&(r=Gat(n)),r}function eOe(t,e,n){var r;return r=dC(n),iO(t.g,r,e),iO(t.i,e,n),e}function Vit(t,e,n){this.d=new RFt(this),this.e=t,this.i=e,this.f=n}function Mzt(t,e,n,r){this.e=null,this.c=t,this.d=e,this.a=n,this.b=r}function Lzt(t,e,n,r){B$t(this),this.c=t,this.e=e,this.f=n,this.b=r}function Yit(t,e,n,r){this.d=t,this.n=e,this.g=n,this.o=r,this.p=-1}function Fzt(t,e,n,r){return Q(n,59)?new cRt(t,e,n,r):new Yrt(t,e,n,r)}function _k(t){return Q(t,16)?o(t,16).dc():!t.Kc().Ob()}function _zt(t){if(t.e.g!=t.b)throw N(new xl);return!!t.c&&t.d>0}function fn(t){return tn(t.b!=t.d.c),t.c=t.b,t.b=t.b.a,++t.a,t.c.c}function Jit(t,e){$e(e),ei(t.a,t.c,e),t.c=t.c+1&t.a.length-1,tQt(t)}function cg(t,e){$e(e),t.b=t.b-1&t.a.length-1,ei(t.a,t.b,e),tQt(t)}function Ozt(t){var e;e=t.Gh(),this.a=Q(e,71)?o(e,71).Ii():e.Kc()}function nOe(t){return new se(qPe(o(t.a.md(),16).gc(),t.a.ld()),16)}function Izt(){Izt=Y,Vbe=Sn((CM(),W(K(fmt,1),bt,490,0,[aY])))}function Pzt(){Pzt=Y,Jbe=Sn((xM(),W(K(Ybe,1),bt,558,0,[lY])))}function jzt(){jzt=Y,bwe=Sn((Ex(),W(K(Omt,1),bt,539,0,[hB])))}function rOe(){return M0(),W(K(u0t,1),bt,389,0,[c2,l0t,ZG,tX])}function iOe(){return jk(),W(K(_I,1),bt,304,0,[SG,EG,BG,AG])}function sOe(){return Dv(),W(K(Bue,1),bt,332,0,[ME,AE,LE,FE])}function oOe(){return z5(),W(K(Lue,1),bt,406,0,[_E,jI,DI,OE])}function cOe(){return rw(),W(K(Sue,1),bt,417,0,[BE,EE,jG,DG])}function aOe(){return Qk(),W(K(Mhe,1),bt,416,0,[Bw,o2,s2,Qm])}function lOe(){return Eh(),W(K(sfe,1),bt,421,0,[h3,l4,u4,aX])}function uOe(){return QF(),W(K(Xhe,1),bt,371,0,[cX,lP,uP,$E])}function hOe(){return Pp(),W(K(lV,1),bt,203,0,[GP,aV,gy,dy])}function fOe(){return rf(),W(K(ypt,1),bt,284,0,[L1,mpt,fV,dV])}function dOe(t){var e;return t.j==(At(),un)&&(e=Cte(t),sa(e,qe))}function gOe(t,e){var n;n=e.a,xs(n,e.c.d),ts(n,e.d.d),Lp(n.a,t.n)}function Qit(t,e){var n;return n=o(Th(t.b,e),67),!n&&(n=new $r),n}function Sv(t){return Sx(),Q(t.g,154)?o(t.g,154):null}function bOe(t){t.a=null,t.e=null,sp(t.b.c,0),sp(t.f.c,0),t.c=null}function cF(){cF=Y,OX=new Let(qC,0),Bbt=new Let("TOP_LEFT",1)}function p5(){p5=Y,kT=new _et("UPPER",0),vT=new _et("LOWER",1)}function wOe(t,e){return av(new mt(e.e.a+e.f.a/2,e.e.b+e.f.b/2),t)}function Dzt(t,e){return o(Ga(pp(o(gr(t.k,e),15).Oc(),ty)),113)}function $zt(t,e){return o(Ga(wv(o(gr(t.k,e),15).Oc(),ty)),113)}function pOe(){return Nv(),W(K(Ppt,1),bt,405,0,[tj,CT,xT,TT])}function mOe(){return _5(),W(K(d2t,1),bt,353,0,[jV,sj,PV,IV])}function yOe(){return M_(),W(K(j2t,1),bt,354,0,[GV,I2t,P2t,O2t])}function vOe(){return Qa(),W(K(GT,1),bt,386,0,[BB,cb,EB,B2])}function kOe(){return ll(),W(K(npe,1),bt,291,0,[xB,Qf,Rg,CB])}function COe(){return Sd(),W(K(jY,1),bt,223,0,[PY,kB,$4,E3])}function xOe(){return u_(),W(K(evt,1),bt,320,0,[RY,Qyt,tvt,Zyt])}function TOe(){return t_(),W(K(ype,1),bt,415,0,[NY,rvt,nvt,ivt])}function SOe(t){return nF(),Pc(WY,t)?o(Ue(WY,t),341).Qg():null}function Ml(t,e,n){return e<0?IK(t,n):o(n,69).wk().Bk(t,t.hi(),e)}function EOe(t,e,n){var r;return r=dC(n),iO(t.j,r,e),Qn(t.k,e,n),e}function BOe(t,e,n){var r;return r=dC(n),iO(t.d,r,e),Qn(t.e,e,n),e}function Rzt(t){var e,n;return e=(J1(),n=new f$,n),t&&X_(e,t),e}function Zit(t){var e;return e=t.aj(t.i),t.i>0&&uc(t.g,0,e,0,t.i),e}function Nzt(t,e){var n;for(n=t.j.c.length;n<e;n++)St(t.j,t.Ng())}function qzt(t,e,n,r){var i;return i=r[e.g][n.g],nt(ct(F(t.a,i)))}function Hzt(t,e){TM();var n;return n=o(Ue(Hj,t),57),!n||n.fk(e)}function AOe(t){if(t.p!=1)throw N(new na);return Mn(t.f)<<24>>24}function MOe(t){if(t.p!=1)throw N(new na);return Mn(t.k)<<24>>24}function LOe(t){if(t.p!=7)throw N(new na);return Mn(t.k)<<16>>16}function FOe(t){if(t.p!=7)throw N(new na);return Mn(t.f)<<16>>16}function bm(t,e){return e.e==0||t.e==0?X6:(SC(),KK(t,e))}function Kzt(t,e){return it(e)===it(t)?"(this Map)":e==null?Jc:To(e)}function _Oe(t,e,n){return EN(ct(go(zs(t.f,e))),ct(go(zs(t.f,n))))}function OOe(t,e,n){var r;r=o(Ue(t.g,n),60),St(t.a.c,new Pi(e,r))}function zzt(t,e,n){t.i=0,t.e=0,e!=n&&(EVt(t,e,n),SVt(t,e,n))}function IOe(t,e,n,r,i){var s;s=PGe(i,n,r),St(e,BWe(i,s)),mze(t,i,e)}function tst(t,e,n,r,i){this.i=t,this.a=e,this.e=n,this.j=r,this.f=i}function Wzt(t,e){Fit.call(this),this.a=t,this.b=e,St(this.a.b,this)}function Uzt(t){this.b=new hn,this.c=new hn,this.d=new hn,this.a=t}function Gzt(t,e){var n;return n=new tv,t.Gd(n),n.a+="..",e.Hd(n),n.a}function Xzt(t,e){var n;for(n=e;n;)Pb(t,n.i,n.j),n=Hr(n);return t}function Vzt(t,e,n){var r;return r=dC(n),Qn(t.b,r,e),Qn(t.c,e,n),e}function pd(t){var e;for(e=0;t.Ob();)t.Pb(),e=Ts(e,1);return AF(e)}function Pf(t,e){qs();var n;return n=o(t,69).vk(),Ize(n,e),n.xl(e)}function POe(t,e,n){if(n){var r=n.oe();t.a[e]=r(n)}else delete t.a[e]}function est(t,e){var n;n=t.q.getHours(),t.q.setFullYear(e+Cg),a6(t,n)}function jOe(t,e){return o(e==null?go(zs(t.f,null)):Lx(t.i,e),288)}function nst(t,e){return t==(je(),ui)&&e==ui?4:t==ui||e==ui?8:32}function aF(t,e,n){return oO(t,e,n,Q(e,102)&&(o(e,19).Bb&js)!=0)}function DOe(t,e,n){return MC(t,e,n,Q(e,102)&&(o(e,19).Bb&js)!=0)}function $Oe(t,e,n){return AGe(t,e,n,Q(e,102)&&(o(e,19).Bb&js)!=0)}function rst(t){t.b!=t.c&&(t.a=at(Hi,ye,1,8,5,1),t.b=0,t.c=0)}function m5(t){return tn(t.a<t.c.a.length),t.b=t.a,cGt(t),t.c.b[t.b]}function ac(t){return t.n||(Oa(t),t.n=new Cqt(t,Js,t),wo(t)),t.n}function Yzt(t){if(t<0)throw N(new KIt("Negative array size: "+t))}function dq(t,e,n){if(n){var r=n.oe();n=r(n)}else n=void 0;t.a[e]=n}function Jzt(t,e){rC();var n;return n=t.j.g-e.j.g,n!=0?n:0}function ROe(t,e){return hd(),mn(ht(t.a),e)}function NOe(t,e){return hd(),mn(ht(t.a),e)}function md(t,e){of(),d0.call(this,t,1,W(K(vn,1),Wn,28,15,[e]))}function xp(t,e){cr(),mb.call(this,t),this.a=e,this.c=-1,this.b=-1}function Tp(t,e,n,r){QKt.call(this,1,n,r),this.c=t,this.b=e}function gq(t,e,n,r){ZKt.call(this,1,n,r),this.c=t,this.b=e}function bq(t,e,n,r,i,s,l){zq.call(this,e,r,i,s,l),this.c=t,this.a=n}function v0(t,e,n){this.e=t,this.a=Hi,this.b=ene(e),this.c=e,this.d=n}function wq(t){this.e=t,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function ist(t){this.d=t,this.b=this.d.a.entries(),this.a=this.b.next()}function Qzt(t){this.c=t,this.a=o(eu(t),156),this.b=this.a.jk().wi()}function c1(){hn.call(this),fRt(this),this.d.b=this.d,this.d.a=this.d}function ni(t,e,n,r){var i;i=new Br,i.c=e,i.b=n,i.a=r,r.b=n.a=i,++t.b}function qOe(t,e){var n;return n=e!=null?gc(t,e):go(zs(t.f,e)),YM(n)}function HOe(t,e){var n;return n=e!=null?gc(t,e):go(zs(t.f,e)),YM(n)}function xo(t,e){var n;return e.b.Kb(VUt(t,e.c.Xe(),(n=new FLt(e),n)))}function KOe(t,e){var n;return Yzt(e),n=t.slice(0,e),n.length=e,Fq(n,t)}function Zzt(t,e){var n;for(n=0;n<e;++n)ei(t,n,new QZ(o(t[n],44)))}function zOe(t,e){var n;for(n=t.d-1;n>=0&&t.a[n]===e[n];n--);return n<0}function lF(t){var e;return t?new Nrt(t):(e=new Vh,Jq(e,t),e)}function WOe(t,e){var n,r;r=!1;do n=bVt(t,e),r=r|n;while(n);return r}function UOe(t){t&&mPe((qtt(),R1t)),--EI,t&&BI!=-1&&(DSe(BI),BI=-1)}function uF(t){Fat(),D$t(this,Mn(qi($b(t,24),yO)),Mn(qi(t,yO)))}function tWt(){tWt=Y,Ule=Sn((y_(),W(K(bgt,1),bt,436,0,[FG,ggt])))}function eWt(){eWt=Y,Gle=Sn((EF(),W(K(pgt,1),bt,435,0,[wgt,_G])))}function nWt(){nWt=Y,Vue=Sn((BF(),W(K(Wgt,1),bt,432,0,[KG,NI])))}function rWt(){rWt=Y,Whe=Sn((Uk(),W(K(zhe,1),bt,517,0,[jE,rX])))}function iWt(){iWt=Y,Ffe=Sn((cF(),W(K(Abt,1),bt,429,0,[OX,Bbt])))}function sWt(){sWt=Y,vfe=Sn((N9(),W(K(fbt,1),bt,428,0,[wP,hbt])))}function oWt(){oWt=Y,Tfe=Sn((O9(),W(K(bbt,1),bt,488,0,[gbt,mP])))}function cWt(){cWt=Y,age=Sn(($9(),W(K(vpt,1),bt,430,0,[gV,bV])))}function aWt(){aWt=Y,jge=Sn((p5(),W(K(Pge,1),bt,531,0,[kT,vT])))}function lWt(){lWt=Y,wfe=Sn((mF(),W(K(ibt,1),bt,431,0,[rbt,mX])))}function uWt(){uWt=Y,N0e=Sn((iF(),W(K(b2t,1),bt,433,0,[DV,g2t])))}function hWt(){hWt=Y,W0e=Sn((HF(),W(K(w2t,1),bt,501,0,[oj,my])))}function fWt(){fWt=Y,Kge=Sn((tf(),W(K(Hge,1),bt,523,0,[qw,F1])))}function dWt(){dWt=Y,Wge=Sn((yh(),W(K(zge,1),bt,522,0,[eb,Dh])))}function gWt(){gWt=Y,o0e=Sn((eh(),W(K(s0e,1),bt,528,0,[C2,Pg])))}function bWt(){bWt=Y,d0e=Sn((Xb(),W(K(f0e,1),bt,465,0,[jg,by])))}function wWt(){wWt=Y,X0e=Sn((vF(),W(K(m2t,1),bt,434,0,[p2t,KV])))}function pWt(){pWt=Y,Kbe=Sn((fF(),W(K(smt,1),bt,491,0,[sY,imt])))}function mWt(){mWt=Y,Wbe=Sn((iH(),W(K(hmt,1),bt,492,0,[lmt,umt])))}function yWt(){yWt=Y,Qbe=Sn((A9(),W(K(dmt,1),bt,438,0,[uY,pj])))}function vWt(){vWt=Y,wwe=Sn((Y9(),W(K(Pmt,1),bt,437,0,[yj,Imt])))}function kWt(){kWt=Y,wpe=Sn((lN(),W(K(Ij,1),bt,347,0,[Yyt,Jyt])))}function GOe(){return Ti(),W(K(NT,1),bt,88,0,[Nh,ko,ho,Rh,Wl])}function XOe(){return At(),W(K(Ds,1),ic,64,0,[Do,Ie,qe,un,De])}function VOe(t,e,n){return o(e==null?Mc(t.f,null,n):iw(t.i,e,n),288)}function YOe(t){return(t.k==(je(),ui)||t.k==bi)&&Or(t,(yt(),sT))}function pq(t){return t.c&&t.d?Kit(t.c)+"->"+Kit(t.d):"e_"+Ib(t)}function ds(t,e){var n,r;for($e(e),r=t.Kc();r.Ob();)n=r.Pb(),e.Cd(n)}function JOe(t,e){var n;n=new Yy,w0(n,"x",e.a),w0(n,"y",e.b),yv(t,n)}function QOe(t,e){var n;n=new Yy,w0(n,"x",e.a),w0(n,"y",e.b),yv(t,n)}function CWt(t,e){var n;for(n=e;n;)Pb(t,-n.i,-n.j),n=Hr(n);return t}function sst(t,e){var n,r;for(n=e,r=0;n>0;)r+=t.a[n],n-=n&-n;return r}function Ll(t,e,n){var r;return r=(ue(e,t.c.length),t.c[e]),t.c[e]=n,r}function ost(t,e,n){t.a.c.length=0,xZe(t,e,n),t.a.c.length==0||YYe(t,e)}function S9(t){t.i=0,FS(t.b,null),FS(t.c,null),t.a=null,t.e=null,++t.g}function hF(){hF=Y,Ih=!0,jle=!1,Dle=!1,Rle=!1,$le=!1}function mq(t){hF(),!Ih&&(this.c=t,this.e=!0,this.a=new Tt)}function xWt(t,e){this.c=0,this.b=e,UDt.call(this,t,17493),this.a=this.c}function TWt(t){Eie(),_Ot(this),this.a=new $r,Rot(this,t),qn(this.a,t)}function SWt(){qR(this),this.b=new mt(Kr,Kr),this.a=new mt(Li,Li)}function fF(){fF=Y,sY=new Net(jht,0),imt=new Net("TARGET_WIDTH",1)}function wm(t,e){return(gg(t),ok(new ee(t,new Ost(e,t.a)))).Bd(a3)}function ZOe(){return ys(),W(K(c0t,1),bt,367,0,[Pu,Xf,hc,vc,vo])}function tIe(){return Dp(),W(K(cfe,1),bt,375,0,[RE,dP,gP,fP,hP])}function eIe(){return p1(),W(K(ubt,1),bt,348,0,[vX,lbt,kX,b4,g4])}function nIe(){return K5(),W(K(fpt,1),bt,323,0,[hpt,uV,hV,bT,wT])}function rIe(){return Dl(),W(K(qbt,1),bt,171,0,[UE,cT,Og,aT,f2])}function iIe(){return j_(),W(K(U0e,1),bt,368,0,[qV,$V,HV,RV,NV])}function sIe(){return n6(),W(K(Ube,1),bt,373,0,[yy,k3,OT,_T,uB])}function oIe(){return k7(),W(K(pmt,1),bt,324,0,[gmt,hY,wmt,fY,bmt])}function cIe(){return oh(),W(K(Jf,1),bt,170,0,[me,$i,Cf,nb,O1])}function aIe(){return xm(),W(K(zT,1),bt,256,0,[Ng,TB,Kyt,KT,zyt])}function lIe(t){return lM(),function(){return tOe(t,this,arguments)}}function Ps(t){return!t.c||!t.d?!1:!!t.c.i&&t.c.i==t.d.i}function cst(t,e){return Q(e,143)?ne(t.c,o(e,143).c):!1}function Oa(t){return t.t||(t.t=new COt(t),D5(new $It(t),0,t.t)),t.t}function EWt(t){this.b=t,Ke.call(this,t),this.a=o(Be(this.b.a,4),129)}function BWt(t){this.b=t,uv.call(this,t),this.a=o(Be(this.b.a,4),129)}function Eu(t,e,n,r,i){DWt.call(this,e,r,i),this.c=t,this.b=n}function ast(t,e,n,r,i){QKt.call(this,e,r,i),this.c=t,this.a=n}function lst(t,e,n,r,i){ZKt.call(this,e,r,i),this.c=t,this.a=n}function ust(t,e,n,r,i){DWt.call(this,e,r,i),this.c=t,this.a=n}function yq(t,e){var n;return n=o(Th(t.d,e),23),n||o(Th(t.e,e),23)}function AWt(t,e){var n,r;return n=e.ld(),r=t.Fe(n),!!r&&Vo(r.e,e.md())}function MWt(t,e){var n;return n=e.ld(),new Eb(n,t.e.pc(n,o(e.md(),16)))}function uIe(t,e){var n;return n=t.a.get(e),n??at(Hi,ye,1,0,5,1)}function LWt(t){var e;return e=t.length,ne(Ne.substr(Ne.length-e,e),t)}function nn(t){if(bn(t))return t.c=t.a,t.a.Pb();throw N(new Mo)}function hst(t,e){return e==0||t.e==0?t:e>0?yee(t,e):KYt(t,-e)}function Ev(t,e){return e==0||t.e==0?t:e>0?KYt(t,e):yee(t,-e)}function fst(t){kSe.call(this,t==null?Jc:To(t),Q(t,82)?o(t,82):null)}function FWt(t){var e;return t.c||(e=t.r,Q(e,90)&&(t.c=o(e,29))),t.c}function vq(t){var e;return e=new Ub,mo(e,t),gt(e,(Ft(),uo),null),e}function _Wt(t){var e,n;return e=t.c.i,n=t.d.i,e.k==(je(),bi)&&n.k==bi}function kq(t){var e,n,r;return e=t&$a,n=t>>22&$a,r=t<0?_d:0,Ic(e,n,r)}function hIe(t){var e,n,r,i;for(n=t,r=0,i=n.length;r<i;++r)e=n[r],h5(e)}function fIe(t,e){var n,r;n=o(k$e(t.c,e),16),n&&(r=n.gc(),n.$b(),t.d-=r)}function Cq(t,e,n){var r;return r=t.Ih(e),r>=0?t.Lh(r,n,!0):hw(t,e,n)}function dIe(t,e,n){return Tr(av(bC(t),us(e.b)),av(bC(t),us(n.b)))}function gIe(t,e,n){return Tr(av(bC(t),us(e.e)),av(bC(t),us(n.e)))}function bIe(t,e){return p.Math.min(ag(e.a,t.d.d.c),ag(e.b,t.d.d.c))}function E9(t,e){t._i(t.i+1),Xx(t,t.i,t.Zi(t.i,e)),t.Mi(t.i++,e),t.Ni()}function y5(t){var e,n;++t.j,e=t.g,n=t.i,t.g=null,t.i=0,t.Oi(n,e),t.Ni()}function OWt(t,e,n){var r;r=new hnt(t.a),E5(r,t.a.a),Mc(r.f,e,n),t.a.a=r}function dst(t,e,n,r){var i;for(i=0;i<II;i++)FL(t.a[i][e.g],n,r[e.g])}function gst(t,e,n,r){var i;for(i=0;i<IG;i++)_L(t.a[e.g][i],n,r[e.g])}function gr(t,e){var n;return n=o(t.c.xc(e),16),!n&&(n=t.ic(e)),t.pc(e,n)}function wIe(t){var e;return e=(Ln(t),t?new ma(t):yk(t.Kc())),x7(e),i_(e)}function kh(t){var e,n;return Ln(t),e=dLe(t.length),n=new Ec(e),_ot(n,t),n}function xq(t,e,n,r){var i;return i=at(vn,Wn,28,e,15,1),DKe(i,t,e,n,r),i}function bst(t,e){if(t<0||t>e)throw N(new ro(nlt(t,e,"index")));return t}function a1(t,e){var n;return n=(ue(e,t.c.length),t.c[e]),iet(t.c,e,1),n}function wst(t,e){var n,r;return n=($e(t),t),r=($e(e),e),n==r?0:n<r?-1:1}function pst(t){var e;return e=t.e+t.f,isNaN(e)&&fL(t.d)?t.d:e}function pIe(t){return t.e=3,t.d=t.Yb(),t.e!=2?(t.e=0,!0):!1}function yd(t,e){return t.a?Kn(t.a,t.b):t.a=new el(t.d),zx(t.a,e),t}function Bv(t,e){return Ji(e)?e==null?ylt(t.f,null):VXt(t.i,e):ylt(t.f,e)}function IWt(t,e){WDt.call(this,e.zd(),e.yd()&-6),$e(t),this.a=t,this.b=e}function PWt(t,e){UDt.call(this,e.zd(),e.yd()&-6),$e(t),this.a=t,this.b=e}function mst(t,e){JM.call(this,e.zd(),e.yd()&-6),$e(t),this.a=t,this.b=e}function jWt(t,e,n){tM.call(this,n),this.b=t,this.c=e,this.d=(NH(),YY)}function DWt(t,e,n){this.d=t,this.k=e?1:0,this.f=n?1:0,this.o=-1,this.p=0}function Ch(t){this.c=t,this.a=new R(this.c.a),this.b=new R(this.c.b)}function dF(){this.e=new Tt,this.c=new Tt,this.d=new Tt,this.b=new Tt}function $Wt(){this.g=new ktt,this.b=new ktt,this.a=new Tt,this.k=new Tt}function RWt(){this.a=new Stt,this.b=new sIt,this.d=new Wa,this.e=new b5t}function NWt(t,e,n){this.a=t,this.c=e,this.d=n,St(e.e,this),St(n.b,this)}function yst(t,e,n){var r,i;for(r=0,i=0;i<e.length;i++)r+=t.tg(e[i],r,n)}function mIe(t,e){var n;return n=DZe(t,e),t.b=new zF(n.c.length),nZe(t,n)}function yIe(t,e){var n;n=t.q.getHours()+(e/60|0),t.q.setMinutes(e),a6(t,n)}function Tq(t){var e;return e=t.b,e.b==0?null:o($l(e,0),65).b}function vst(t){if(t.a){if(t.e)return vst(t.e)}else return t;return null}function vIe(t,e){return t.p<e.p?1:t.p>e.p?-1:0}function qWt(t){var e;return t.a||(e=t.r,Q(e,156)&&(t.a=o(e,156))),t.a}function kIe(t,e,n){var r;return++t.e,--t.f,r=o(t.d[e].gd(n),136),r.md()}function CIe(t){var e,n;return e=t.ld(),n=o(t.md(),16),s9(n.Nc(),new DMt(e))}function HWt(t,e){return Pc(t.a,e)?(Bv(t.a,e),!0):!1}function Av(t,e,n){return T9(e,t.e.Rd().gc()),T9(n,t.c.Rd().gc()),t.a[e][n]}function gF(t,e,n){this.a=t,this.b=e,this.c=n,St(t.t,this),St(e.i,this)}function bF(t,e,n,r){this.f=t,this.e=e,this.d=n,this.b=r,this.c=r?r.d:null}function B9(){this.b=new $r,this.a=new $r,this.b=new $r,this.a=new $r}function Ok(){Ok=Y;var t,e;Uj=(sk(),e=new rM,e),Gj=(t=new O$,t)}function xIe(t){var e;return gg(t),e=new INt(t,t.a.e,t.a.d|4),new Dnt(t,e)}function KWt(t){var e;for(sg(t),e=0;t.a.Bd(new cn);)e=Ts(e,1);return e}function wF(t,e){return $e(e),t.c<t.d?(t.Se(e,t.c++),!0):!1}function Ec(t){qR(this),c9(t>=0,"Initial capacity must not be negative")}function pF(){pF=Y,IT=new vr("org.eclipse.elk.labels.labelManager")}function zWt(){zWt=Y,Q0t=new Xr("separateLayerConnections",(QF(),cX))}function eh(){eh=Y,C2=new Pet("REGULAR",0),Pg=new Pet("CRITICAL",1)}function A9(){A9=Y,uY=new Het("FIXED",0),pj=new Het("CENTER_NODE",1)}function mF(){mF=Y,rbt=new Bet("QUADRATIC",0),mX=new Bet("SCANLINE",1)}function WWt(){WWt=Y,pfe=Sn((x5(),W(K(obt,1),bt,322,0,[eT,NE,sbt])))}function UWt(){UWt=Y,mfe=Sn((PF(),W(K(abt,1),bt,351,0,[cbt,bP,yX])))}function GWt(){GWt=Y,dfe=Sn((ew(),W(K(lX,1),bt,372,0,[Mw,Fg,Aw])))}function XWt(){XWt=Y,Cfe=Sn((E0(),W(K(kfe,1),bt,460,0,[CX,w4,ry])))}function VWt(){VWt=Y,Afe=Sn((Jk(),W(K(_X,1),bt,299,0,[LX,FX,qE])))}function YWt(){YWt=Y,Lfe=Sn((kd(),W(K(Mfe,1),bt,311,0,[HE,sy,f3])))}function JWt(){JWt=Y,rge=Sn((O5(),W(K(upt,1),bt,390,0,[cV,lpt,UP])))}function QWt(){QWt=Y,hge=Sn((VF(),W(K(xpt,1),bt,387,0,[kpt,wV,Cpt])))}function ZWt(){ZWt=Y,fge=Sn((L5(),W(K(Tpt,1),bt,349,0,[mV,pV,ZE])))}function tUt(){tUt=Y,uge=Sn((Ws(),W(K(lge,1),bt,463,0,[pT,Sa,Fc])))}function eUt(){eUt=Y,dge=Sn((sC(),W(K(Ept,1),bt,350,0,[yV,Spt,mT])))}function nUt(){nUt=Y,gge=Sn((IF(),W(K(Mpt,1),bt,352,0,[Apt,vV,Bpt])))}function rUt(){rUt=Y,bge=Sn((ZF(),W(K(Lpt,1),bt,388,0,[kV,M4,k2])))}function iUt(){iUt=Y,w0e=Sn((F5(),W(K(Gpt,1),bt,392,0,[Upt,TV,nB])))}function sUt(){sUt=Y,V0e=Sn((t7(),W(K(k2t,1),bt,393,0,[cj,y2t,v2t])))}function oUt(){oUt=Y,wbe=Sn((XF(),W(K(R2t,1),bt,300,0,[XV,$2t,D2t])))}function cUt(){cUt=Y,pbe=Sn((g_(),W(K(N2t,1),bt,445,0,[cB,uj,VV])))}function aUt(){aUt=Y,ybe=Sn((S_(),W(K(mbe,1),bt,456,0,[YV,QV,JV])))}function lUt(){lUt=Y,Cbe=Sn((a_(),W(K(K2t,1),bt,394,0,[H2t,eY,q2t])))}function uUt(){uUt=Y,zbe=Sn((kF(),W(K(amt,1),bt,439,0,[oY,cmt,omt])))}function hUt(){hUt=Y,Fge=Sn((tw(),W(K(Lge,1),bt,464,0,[tB,yT,YP])))}function fUt(){fUt=Y,Zle=Sn((ka(),W(K(Qle,1),bt,471,0,[mf,Mg,Ou])))}function dUt(){dUt=Y,Jle=Sn((ih(),W(K(i2,1),bt,237,0,[zo,Lc,Wo])))}function gUt(){gUt=Y,eue=Sn((Vc(),W(K(tue,1),bt,472,0,[lh,Lg,Iu])))}function bUt(){bUt=Y,Nle=Sn((Ca(),W(K(lo,1),bt,108,0,[dgt,Eo,r2])))}function wUt(){wUt=Y,khe=Sn((v5(),W(K(o0t,1),bt,391,0,[GG,UG,XG])))}function pUt(){pUt=Y,epe=Sn((Td(),W(K(Hyt,1),bt,346,0,[Bj,P1,HT])))}function mUt(){mUt=Y,Xbe=Sn((o7(),W(K(cY,1),bt,444,0,[gj,bj,wj])))}function yUt(){yUt=Y,Jwe=Sn((Sh(),W(K(Lyt,1),bt,278,0,[j4,E2,D4])))}function vUt(){vUt=Y,bpe=Sn((Iv(),W(K(Vyt,1),bt,280,0,[Xyt,A2,Oj])))}function xh(t,e){return!t.o&&(t.o=new aa((rc(),ed),j1,t,0)),RH(t.o,e)}function TIe(t,e){var n;t.C&&(n=o(Zs(t.b,e),127).n,n.d=t.C.d,n.a=t.C.a)}function kst(t){var e,n,r,i;i=t.d,e=t.a,n=t.b,r=t.c,t.d=n,t.a=r,t.b=i,t.c=e}function SIe(t){return!t.g&&(t.g=new WA),!t.g.b&&(t.g.b=new mOt(t)),t.g.b}function M9(t){return!t.g&&(t.g=new WA),!t.g.c&&(t.g.c=new kOt(t)),t.g.c}function EIe(t){return!t.g&&(t.g=new WA),!t.g.d&&(t.g.d=new yOt(t)),t.g.d}function BIe(t){return!t.g&&(t.g=new WA),!t.g.a&&(t.g.a=new vOt(t)),t.g.a}function AIe(t,e,n,r){return n&&(r=n.Rh(e,Gr(n.Dh(),t.c.uk()),null,r)),r}function MIe(t,e,n,r){return n&&(r=n.Th(e,Gr(n.Dh(),t.c.uk()),null,r)),r}function Sq(t,e,n,r){var i;return i=at(vn,Wn,28,e+1,15,1),OJe(i,t,e,n,r),i}function at(t,e,n,r,i,s){var l;return l=WJt(i,r),i!=10&&W(K(t,s),e,n,i,l),l}function LIe(t,e,n){var r,i;for(i=new Yk(e,t),r=0;r<n;++r)T_(i);return i}function Eq(t,e,n){var r,i;if(n!=null)for(r=0;r<e;++r)i=n[r],t.Qi(r,i)}function Cst(t,e){var n;return n=new hi,n.c=!0,n.d=e.md(),Dre(t,e.ld(),n)}function FIe(t,e){var n;n=t.q.getHours()+(e/3600|0),t.q.setSeconds(e),a6(t,n)}function xst(t,e){var n,r;return n=e,r=YN(yk(new Oq(t,n))),TL(new Oq(t,n)),r}function _Ie(t,e){e.Ug("Label management",1),YM(F(t,(pF(),IT))),e.Vg()}function OIe(t,e,n,r){Dne(t,e,n,MC(t,e,r,Q(e,102)&&(o(e,19).Bb&js)!=0))}function Tst(t,e,n){o(t.b,68),o(t.b,68),o(t.b,68),jc(t.a,new vNt(n,e,t))}function os(t,e,n){if(t<0||e>n||e<t)throw N(new Wtt(vO+t+sht+e+nht+n))}function Bq(t){t?(this.c=t,this.b=null):(this.c=null,this.b=new Tt)}function Aq(t,e){AM.call(this,t,e),this.a=at(Snn,wO,447,2,0,1),this.b=!0}function Sst(t){yVt.call(this,t,0),fRt(this),this.d.b=this.d,this.d.a=this.d}function Est(t){this.e=t,this.b=this.e.a.entries(),this.a=at(Hi,ye,1,0,5,1)}function kUt(){kUt=Y,mge=ca(zn(new Ci,(ys(),Pu),(Es(),iX)),vo,DE)}function IIe(){return N_(),W(K(dbt,1),bt,283,0,[TX,xX,EX,SX,BX,pP])}function PIe(){return y7(),W(K(vbt,1),bt,281,0,[yP,pbt,ybt,wbt,mbt,AX])}function jIe(){return vC(),W(K(Ebt,1),bt,282,0,[nT,Cbt,Sbt,Tbt,xbt,kbt])}function DIe(){return qv(),W(K(d4,1),bt,232,0,[f4,tT,h4,u2,ny,ey])}function $Ie(){return je(),W(K(nX,1),bt,273,0,[ui,Xi,bi,kc,oc,Ph])}function RIe(){return xa(),W(K(Aj,1),bt,279,0,[Hg,Rd,SB,UT,WT,B3])}function NIe(){return es(),W(K(Wyt,1),bt,101,0,[qg,qh,R4,ob,td,xc])}function qIe(){return $_(),W(K(jyt,1),bt,321,0,[DY,Oyt,Pyt,Fyt,Iyt,_yt])}function HIe(){return Df(),W(K(Nmt,1),bt,255,0,[mY,fB,dB,Cj,vj,kj])}function KIe(){return F0(),W(K(CY,1),bt,298,0,[kY,$T,DT,vY,PT,jT])}function Bst(t){var e;return!t.a&&t.b!=-1&&(e=t.c.Dh(),t.a=pe(e,t.b)),t.a}function mn(t,e){return t.Si()&&t.Hc(e)?!1:(t.Hi(e),!0)}function nh(t,e){return w9(e,"Horizontal alignment cannot be null"),t.b=e,t}function CUt(t,e,n){cr();var r;return r=vg(t,e),n&&r&&ZMe(t)&&(r=null),r}function Ast(t,e,n){var r;r=t.b[n.c.p][n.p],r.b+=e.b,r.c+=e.c,r.a+=e.a,++r.a}function Mst(t,e,n){var r;t.d[e.g]=n,r=t.g.c,r[e.g]=p.Math.max(r[e.g],n+1)}function ag(t,e){var n,r;return n=t.a-e.a,r=t.b-e.b,p.Math.sqrt(n*n+r*r)}function Lst(t,e){var n,r;for(r=e.Kc();r.Ob();)n=o(r.Pb(),36),fne(t,n,0,0)}function l1(t,e,n){var r,i;for(i=t.Kc();i.Ob();)r=o(i.Pb(),36),EC(r,e,n)}function zIe(t){var e,n;for(n=gn(t.a,0);n.b!=n.d.c;)e=o(fn(n),65),llt(e)}function xUt(t,e){return Tjt(t.e,e)||m1(t.e,e,new dJt(e)),o(Th(t.e,e),113)}function va(t,e,n,r){return $e(t),$e(e),$e(n),$e(r),new iit(t,e,new sr)}function aa(t,e,n,r){this.ak(),this.a=e,this.b=t,this.c=new Zrt(this,e,n,r)}function Mq(t,e,n,r,i,s){Yit.call(this,e,r,i,s),this.c=t,this.b=n}function L9(t,e,n,r,i,s){Yit.call(this,e,r,i,s),this.c=t,this.a=n}function F9(t,e){var n,r,i;return i=t.r,r=t.d,n=h6(t,e,!0),n.b!=i||n.a!=r}function _9(t,e,n){var r,i;return i=(r=xC(t.b,e),r),i?uO(P9(t,i),n):null}function WIe(t,e,n){var r,i,s;r=bd(t,n),i=null,r&&(i=Gat(r)),s=i,uJt(e,n,s)}function UIe(t,e,n){var r,i,s;r=bd(t,n),i=null,r&&(i=Gat(r)),s=i,uJt(e,n,s)}function Ik(t,e){var n;return n=t.Ih(e),n>=0?t.Lh(n,!0,!0):hw(t,e,!0)}function GIe(t,e,n){var r;return r=xVt(t,e,n),t.b=new zF(r.c.length),zlt(t,r)}function XIe(t){if(t.b<=0)throw N(new Mo);return--t.b,t.a-=t.c.c,Ct(t.a)}function VIe(t){var e;if(!t.a)throw N(new OHt);return e=t.a,t.a=Hr(t.a),e}function YIe(t){for(;!t.a;)if(!sNt(t.c,new ALt(t)))return!1;return!0}function Mv(t){var e;return Ln(t),Q(t,204)?(e=o(t,204),e):new WMt(t)}function JIe(t){yF(),o(t.of((Vn(),S2)),181).Fc((xa(),SB)),t.qf(_Y,null)}function yF(){yF=Y,ywe=new B7t,kwe=new A7t,vwe=RDe((Vn(),_Y),ywe,$g,kwe)}function vF(){vF=Y,p2t=new Ret("LEAF_NUMBER",0),KV=new Ret("NODE_SIZE",1)}function Lq(t){t.a=at(vn,Wn,28,t.b+1,15,1),t.c=at(vn,Wn,28,t.b,15,1),t.d=0}function QIe(t,e){t.a.Ne(e.d,t.b)>0&&(St(t.c,new Crt(e.c,e.d,t.d)),t.b=e.d)}function Fst(t,e){if(t.g==null||e>=t.i)throw N(new jR(e,t.i));return t.g[e]}function TUt(t,e,n){if(nC(t,n),n!=null&&!t.fk(n))throw N(new L$);return n}function Fq(t,e){return R9(e)!=10&&W(Ja(e),e.Sm,e.__elementTypeId$,R9(e),t),t}function Pk(t,e,n,r){var i;r=(Wb(),r||ogt),i=t.slice(e,n),rlt(i,t,e,n,-e,r)}function Fl(t,e,n,r,i){return e<0?hw(t,n,r):o(n,69).wk().yk(t,t.hi(),e,r,i)}function ZIe(t,e){return Tr(nt(ct(F(t,(yt(),_w)))),nt(ct(F(e,_w))))}function SUt(){SUt=Y,Ile=Sn((jk(),W(K(_I,1),bt,304,0,[SG,EG,BG,AG])))}function jk(){jk=Y,SG=new BM("All",0),EG=new b$t,BG=new T$t,AG=new g$t}function ka(){ka=Y,mf=new cR(Jv,0),Mg=new cR(qC,1),Ou=new cR(Qv,2)}function EUt(){EUt=Y,cO(),Rvt=Kr,C2e=Li,Nvt=new pS(Kr),x2e=new pS(Li)}function BUt(){BUt=Y,Eue=Sn((rw(),W(K(Sue,1),bt,417,0,[BE,EE,jG,DG])))}function AUt(){AUt=Y,Fue=Sn((z5(),W(K(Lue,1),bt,406,0,[_E,jI,DI,OE])))}function MUt(){MUt=Y,Aue=Sn((Dv(),W(K(Bue,1),bt,332,0,[ME,AE,LE,FE])))}function LUt(){LUt=Y,jhe=Sn((M0(),W(K(u0t,1),bt,389,0,[c2,l0t,ZG,tX])))}function FUt(){FUt=Y,Lhe=Sn((Qk(),W(K(Mhe,1),bt,416,0,[Bw,o2,s2,Qm])))}function _Ut(){_Ut=Y,ofe=Sn((Eh(),W(K(sfe,1),bt,421,0,[h3,l4,u4,aX])))}function OUt(){OUt=Y,Vhe=Sn((QF(),W(K(Xhe,1),bt,371,0,[cX,lP,uP,$E])))}function IUt(){IUt=Y,ige=Sn((Pp(),W(K(lV,1),bt,203,0,[GP,aV,gy,dy])))}function PUt(){PUt=Y,cge=Sn((rf(),W(K(ypt,1),bt,284,0,[L1,mpt,fV,dV])))}function O9(){O9=Y,gbt=new Met(df,0),mP=new Met("IMPROVE_STRAIGHTNESS",1)}function jUt(t,e){var n,r;return r=e/t.c.Rd().gc()|0,n=e%t.c.Rd().gc(),Av(t,r,n)}function DUt(t){var e;if(t.nl())for(e=t.i-1;e>=0;--e)tt(t,e);return Zit(t)}function _st(t){var e,n;if(!t.b)return null;for(n=t.b;e=n.a[0];)n=e;return n}function $Ut(t){var e,n;if(!t.b)return null;for(n=t.b;e=n.a[1];)n=e;return n}function tPe(t){return Q(t,180)?""+o(t,180).a:t==null?null:To(t)}function ePe(t){return Q(t,180)?""+o(t,180).a:t==null?null:To(t)}function RUt(t,e){if(e.a)throw N(new Lo(ise));Ai(t.a,e),e.a=t,!t.j&&(t.j=e)}function Ost(t,e){JM.call(this,e.zd(),e.yd()&-16449),$e(t),this.a=t,this.c=e}function nPe(t,e){return new hN(e,Pb(us(e.e),e.f.a+t,e.f.b+t),(Te(),!1))}function rPe(t,e){return mk(),St(t,new Pi(e,Ct(e.e.c.length+e.g.c.length)))}function iPe(t,e){return mk(),St(t,new Pi(e,Ct(e.e.c.length+e.g.c.length)))}function NUt(){NUt=Y,bbe=Sn((M_(),W(K(j2t,1),bt,354,0,[GV,I2t,P2t,O2t])))}function qUt(){qUt=Y,R0e=Sn((_5(),W(K(d2t,1),bt,353,0,[jV,sj,PV,IV])))}function HUt(){HUt=Y,g0e=Sn((Nv(),W(K(Ppt,1),bt,405,0,[tj,CT,xT,TT])))}function KUt(){KUt=Y,Qwe=Sn((Sd(),W(K(jY,1),bt,223,0,[PY,kB,$4,E3])))}function zUt(){zUt=Y,rpe=Sn((ll(),W(K(npe,1),bt,291,0,[xB,Qf,Rg,CB])))}function WUt(){WUt=Y,dpe=Sn((Qa(),W(K(GT,1),bt,386,0,[BB,cb,EB,B2])))}function UUt(){UUt=Y,ppe=Sn((u_(),W(K(evt,1),bt,320,0,[RY,Qyt,tvt,Zyt])))}function GUt(){GUt=Y,vpe=Sn((t_(),W(K(ype,1),bt,415,0,[NY,rvt,nvt,ivt])))}function kF(){kF=Y,oY=new FR(Coe,0),cmt=new FR(edt,1),omt=new FR(df,2)}function Sp(t,e,n,r,i){return $e(t),$e(e),$e(n),$e(r),$e(i),new iit(t,e,r)}function XUt(t,e){var n;return n=o(Bv(t.e,e),400),n?(Ort(n),n.e):null}function Xc(t,e){var n;return n=po(t,e,0),n==-1?!1:(a1(t,n),!0)}function VUt(t,e,n){var r;return sg(t),r=new fe,r.a=e,t.a.Nb(new Ljt(r,n)),r.a}function sPe(t){var e;return sg(t),e=at(Zi,eo,28,0,15,1),Y2(t.a,new SLt(e)),e}function Ist(t){var e;if(!Gq(t))throw N(new Mo);return t.e=1,e=t.d,t.d=null,e}function u1(t){var e;return Co(t)&&(e=0-t,!isNaN(e))?e:ug(tC(t))}function po(t,e,n){for(;n<t.c.length;++n)if(Vo(e,t.c[n]))return n;return-1}function _q(t){var e,n;return n=o(Pt(t.j,0),12),e=o(F(n,(yt(),br)),12),e}function Oq(t,e){var n;this.f=t,this.b=e,n=o(Ue(t.b,e),260),this.c=n?n.b:null}function YUt(){Tu(),this.b=new hn,this.f=new hn,this.g=new hn,this.e=new hn}function CF(t){rL(this),this.g=t?JL(t,t.ie()):null,this.f=t,UL(this),this.je()}function Iq(t){var e;e=t.jj(),e!=null&&t.d!=-1&&o(e,94).xh(t),t.i&&t.i.oj()}function I9(t){var e;for(e=t.p+1;e<t.c.a.c.length;++e)--o(Pt(t.c.a,e),10).p}function JUt(t){dp(!!t.c),cN(t.f.g,t.d),t.c.Qb(),t.c=null,t.b=Cot(t),t.d=t.f.g}function Ia(t){return t.b||(t.b=new xqt(t,Js,t),!t.a&&(t.a=new t9(t,t))),t.b}function P9(t,e){var n,r;return n=o(e,690),r=n.xi(),!r&&n.Ai(r=new qDt(t,e)),r}function oo(t,e){var n,r;return n=o(e,692),r=n.$k(),!r&&n.cl(r=new uzt(t,e)),r}function Pst(t,e){Sx();var n,r;return n=Sv(t),r=Sv(e),!!n&&!!r&&!kJt(n.k,r.k)}function xF(t,e){return Vo(e,Pt(t.f,0))||Vo(e,Pt(t.f,1))||Vo(e,Pt(t.f,2))}function j9(t,e){if(e<0)throw N(new ro(joe+e));return Nzt(t,e+1),Pt(t.j,e)}function QUt(t,e,n,r){if(!t)throw N(new _e(s6(e,W(K(Hi,1),ye,1,5,[n,r]))))}function vd(t,e,n,r,i,s,l){zq.call(this,e,r,i,s,l),this.c=t,this.b=n}function jf(t,e,n){var r,i;for(r=10,i=0;i<n-1;i++)e<r&&(t.a+="0"),r*=10;t.a+=e}function TF(t){var e,n;return n=t.length,e=at(Xl,lf,28,n,15,1),Gqt(t,0,n,e,0),e}function D9(t){sqt();var e,n;return e=t+128,n=W1t[e],!n&&(n=W1t[e]=new uLt(t)),n}function ZUt(t){return cN(t.d.a.e.g,t.b),tn(t.c!=t.d.a.d),t.a=t.c,t.c=t.c.a,t.a}function oPe(t){switch(t.g){case 0:return ar;case 1:return-1;default:return 0}}function cPe(t){return lat(t,(Dk(),K1t))<0?-K9e(tC(t)):t.l+t.m*Yv+t.h*P0}function tGt(t){(this.q?this.q:(le(),le(),Gf)).Ac(t.q?t.q:(le(),le(),Gf))}function aPe(t,e){fv(o(o(t.f,27).of((Vn(),RT)),101))&&bRe(HN(o(t.f,27)),e)}function Pq(t,e){var n;return n=Gr(t.d,e),n>=0?x_(t,n,!0,!0):hw(t,e,!0)}function jst(t){var e;return e=k0(Be(t,32)),e==null&&(Rc(t),e=k0(Be(t,32))),e}function Dst(t){var e;return t.Oh()||(e=en(t.Dh())-t.ji(),t.$h().Mk(e)),t.zh()}function eGt(t,e){jgt=new W3,Mue=e,Y6=t,o(Y6.b,68),Tst(Y6,jgt,null),wre(Y6)}function v5(){v5=Y,GG=new lR("XY",0),UG=new lR("X",1),XG=new lR("Y",2)}function Vc(){Vc=Y,lh=new aR("TOP",0),Lg=new aR(qC,1),Iu=new aR(ght,2)}function kd(){kd=Y,HE=new bR(df,0),sy=new bR("TOP",1),f3=new bR(ght,2)}function $9(){$9=Y,gV=new Fet("INPUT_ORDER",0),bV=new Fet("PORT_DEGREE",1)}function Dk(){Dk=Y,q1t=Ic($a,$a,524287),mle=Ic(0,0,V7),H1t=kq(1),kq(2),K1t=kq(0)}function jq(t){var e;return t.d!=t.r&&(e=eu(t),t.e=!!e&&e.lk()==mae,t.d=e),t.e}function Dq(t,e,n){var r;return r=t.g[e],Xx(t,e,t.Zi(e,n)),t.Ri(e,n,r),t.Ni(),r}function SF(t,e){var n;return n=t.dd(e),n>=0?(t.gd(n),!0):!1}function $q(t,e){var n;for(Ln(t),Ln(e),n=!1;e.Ob();)n=n|t.Fc(e.Pb());return n}function Th(t,e){var n;return n=o(Ue(t.e,e),400),n?(j$t(t,n),n.e):null}function nGt(t){var e,n;return e=t/60|0,n=t%60,n==0?""+e:""+e+":"+(""+n)}function Ep(t,e){var n=t.a[e],r=(uH(),yG)[typeof n];return r?r(n):Uot(typeof n)}function Oo(t,e){var n,r;return gg(t),r=new mst(e,t.a),n=new aNt(r),new ee(t,n)}function Rq(t){var e;return e=t.b.c.length==0?null:Pt(t.b,0),e!=null&&Vq(t,0),e}function lPe(t,e){var n,r,i;i=e.c.i,n=o(Ue(t.f,i),60),r=n.d.c-n.e.c,bot(e.a,r,0)}function $st(t,e){var n;for(++t.d,++t.c[e],n=e+1;n<t.a.length;)++t.a[n],n+=n&-n}function rGt(t,e,n,r){cr(),mb.call(this,26),this.c=t,this.a=e,this.d=n,this.b=r}function iGt(t,e){for(;e[0]<t.length&&Xh(` \r
|
|
317
|
+
`:""}return O(Nn,"dump2"),q(Nn,"dump2"),P3t.dump=Nn,P3t}O(Uxt,"requireDumper");q(Uxt,"requireDumper");var jye;function Gxt(){if(jye)return Hd;jye=1;const h=Wxt(),c=Uxt();function d(w,m){return function(){throw new Error("Function yaml."+w+" is removed in js-yaml 4. Use yaml."+m+" instead, which is now safe by default.")}}return O(d,"renamed"),q(d,"renamed"),Hd.Type=cd(),Hd.Schema=VQ(),Hd.FAILSAFE_SCHEMA=ZQ(),Hd.JSON_SCHEMA=iZ(),Hd.CORE_SCHEMA=sZ(),Hd.DEFAULT_SCHEMA=GD(),Hd.load=h.load,Hd.loadAll=h.loadAll,Hd.dump=c.dump,Hd.YAMLException=nS(),Hd.types={binary:aZ(),float:rZ(),map:QQ(),null:tZ(),pairs:uZ(),set:hZ(),timestamp:oZ(),bool:eZ(),int:nZ(),merge:cZ(),omap:lZ(),seq:JQ(),str:YQ()},Hd.safeLoad=d("safeLoad","load"),Hd.safeLoadAll=d("safeLoadAll","loadAll"),Hd.safeDump=d("safeDump","dump"),Hd}O(Gxt,"requireJsYaml");q(Gxt,"requireJsYaml");var vgn=Gxt(),kgn=Kxt(vgn),{Type:Wpn,Schema:Upn,FAILSAFE_SCHEMA:Gpn,JSON_SCHEMA:Cgn,CORE_SCHEMA:Xpn,DEFAULT_SCHEMA:Vpn,load:xgn,loadAll:Ypn,dump:Jpn,YAMLException:Qpn,types:Zpn,safeLoad:t2n,safeLoadAll:e2n,safeDump:n2n}=kgn,Tgn={common:$D,getConfig:Cl,insertCluster:n5e,insertEdge:i5e,insertEdgeLabel:Txt,insertMarkers:s5e,insertNode:XQ,interpolateToCurve:OQ,labelHelper:wi,log:Ae,positionEdgeLabel:N1n},OD={},f5e=q(h=>{for(const c of h)OD[c.name]=c},"registerLayoutLoaders"),Sgn=q(()=>{f5e([{name:"dagre",loader:q(async()=>await Ks(()=>import("./dagre-3AP2YEHR-DCERTXHT-B3xLLC4U.js"),__vite__mapDeps([9,10,1,2,3,4,5,7,8]),import.meta.url),"loader")},{name:"swimlane",loader:q(async()=>await Ks(()=>import("./swimlanes-XN3QIQJK-N6N2CCQ6-DzcOR4_D.js"),__vite__mapDeps([11,7,1,2,3,4,5,8]),import.meta.url),"loader")},{name:"cose-bilkent",loader:q(async()=>await Ks(()=>import("./cose-bilkent-JH36ORCC-OB24KH3T-D3S0f4LW.js"),__vite__mapDeps([12,13,1,2,3,4,5,7,8]),import.meta.url),"loader")}])},"registerDefaultLayoutLoaders");Sgn();var r2n=q(async(h,c)=>{if(!(h.layoutAlgorithm in OD))throw new Error(`Unknown layout algorithm: ${h.layoutAlgorithm}`);if(h.diagramId)for(const A of h.nodes){const L=A.domId||A.id;A.domId=`${h.diagramId}-${L}`}const d=OD[h.layoutAlgorithm],w=await d.loader(),{theme:m,themeVariables:k}=h.config,{useGradient:p,gradientStart:T,gradientStop:E}=k,B=c.attr("id");if(c.append("defs").append("filter").attr("id",`${B}-drop-shadow`).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${m!=null&&m.includes("dark")?"#FFFFFF":"#000000"}`),c.append("defs").append("filter").attr("id",`${B}-drop-shadow-small`).attr("height","150%").attr("width","150%").append("feDropShadow").attr("dx","2").attr("dy","2").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${m!=null&&m.includes("dark")?"#FFFFFF":"#000000"}`),p){const A=c.append("linearGradient").attr("id",c.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");A.append("svg:stop").attr("offset","0%").attr("stop-color",T).attr("stop-opacity",1),A.append("svg:stop").attr("offset","100%").attr("stop-color",E).attr("stop-opacity",1)}return w.render(h,c,Tgn,{algorithm:d.algorithm})},"render"),i2n=q((h="",{fallback:c="dagre"}={})=>{if(h in OD)return h;if(c in OD)return Ae.warn(`Layout algorithm ${h} is not registered. Using ${c} as fallback.`),c;throw new Error(`Both layout algorithms ${h} and ${c} are not registered.`)},"getRegisteredLayoutAlgorithm"),j3t={exports:{}},Dye;function Egn(){return Dye||(Dye=1,(function(h,c){(function(d){h.exports=d()})(function(){return(function(){function d(w,m,k){function p(B,A){if(!m[B]){if(!w[B]){var L=typeof iJ=="function"&&iJ;if(!A&&L)return L(B,!0);if(T)return T(B,!0);var I=new Error("Cannot find module '"+B+"'");throw I.code="MODULE_NOT_FOUND",I}var $=m[B]={exports:{}};w[B][0].call($.exports,function(P){var U=w[B][1][P];return p(U||P)},$,$.exports,d,w,m,k)}return m[B].exports}for(var T=typeof iJ=="function"&&iJ,E=0;E<k.length;E++)p(k[E]);return p}return d})()({1:[function(d,w,m){Object.defineProperty(m,"__esModule",{value:!0});var k=(function(){function B(A,L){for(var I=0;I<L.length;I++){var $=L[I];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(A,$.key,$)}}return function(A,L,I){return L&&B(A.prototype,L),I&&B(A,I),A}})();function p(B,A){if(!(B instanceof A))throw new TypeError("Cannot call a class as a function")}var T=(function(){function B(){var A=this,L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=L.defaultLayoutOptions,$=I===void 0?{}:I,P=L.algorithms,U=P===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:P,J=L.workerFactory,X=L.workerUrl;if(p(this,B),this.defaultLayoutOptions=$,this.initialized=!1,typeof X>"u"&&typeof J>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var rt=J;typeof X<"u"&&typeof J>"u"&&(rt=function(Mt){return new Worker(Mt)});var lt=rt(X);if(typeof lt.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new E(lt),this.worker.postMessage({cmd:"register",algorithms:U}).then(function(xt){return A.initialized=!0}).catch(console.err)}return k(B,[{key:"layout",value:function(L){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$=I.layoutOptions,P=$===void 0?this.defaultLayoutOptions:$,U=I.logging,J=U===void 0?!1:U,X=I.measureExecutionTime,rt=X===void 0?!1:X;return L?this.worker.postMessage({cmd:"layout",graph:L,layoutOptions:P,options:{logging:J,measureExecutionTime:rt}}):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()}}]),B})();m.default=T;var E=(function(){function B(A){var L=this;if(p(this,B),A===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=A,this.worker.onmessage=function(I){setTimeout(function(){L.receive(L,I)},0)}}return k(B,[{key:"postMessage",value:function(L){var I=this.id||0;this.id=I+1,L.id=I;var $=this;return new Promise(function(P,U){$.resolvers[I]=function(J,X){J?($.convertGwtStyleError(J),U(J)):P(X)},$.worker.postMessage(L)})}},{key:"receive",value:function(L,I){var $=I.data,P=L.resolvers[$.id];P&&(delete L.resolvers[$.id],$.error?P($.error):P(null,$.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(L){if(L){var I=L.__java$exception;I&&(I.cause&&I.cause.backingJsObject&&(L.cause=I.cause.backingJsObject,this.convertGwtStyleError(L.cause)),delete L.__java$exception)}}}]),B})()},{}],2:[function(d,w,m){(function(k){(function(){var p;typeof window<"u"?p=window:typeof k<"u"?p=k:typeof self<"u"&&(p=self);var T;function E(){}function B(){}function A(){}function L(){}function I(){}function $(){}function P(){}function U(){}function J(){}function X(){}function rt(){}function lt(){}function xt(){}function Mt(){}function Vt(){}function Gt(){}function be(){}function Ze(){}function Fe(){}function Me(){}function kn(){}function Y(){}function ce(){}function oe(){}function Ot(){}function we(){}function de(){}function Pe(){}function on(){}function $n(){}function xr(){}function _r(){}function Yr(){}function Br(){}function Ri(){}function Oi(){}function Is(){}function hi(){}function sr(){}function Xn(){}function Ii(){}function Jr(){}function $o(){}function Qt(){}function dr(){}function za(){}function Sc(){}function Zg(){}function Xd(){}function z1(){}function t0(){}function La(){}function Bs(){}function Fa(){}function Vl(){}function W1(){}function H(){}function fe(){}function Je(){}function cn(){}function He(){}function Nn(){}function ut(){}function ve(){}function Bn(){}function rn(){}function sn(){}function wn(){}function Cn(){}function Ar(){}function yr(){}function ti(){}function mi(){}function Ns(){}function cc(){}function ad(){}function Vd(){}function wb(){}function rS(){}function VD(){}function PA(){}function iS(){}function jA(){}function sS(){}function YD(){}function z3(){}function JD(){}function QD(){}function _a(){}function Hy(){}function ZD(){}function oS(){}function cS(){}function DA(){}function $A(){}function t$(){}function aS(){}function lS(){}function sx(){}function rp(){}function ox(){}function pb(){}function e$(){}function uS(){}function n$(){}function W3(){}function RA(){}function cx(){}function hS(){}function ax(){}function Ky(){}function U3(){}function U1(){}function r$(){}function i$(){}function fS(){}function NA(){}function s$(){}function dS(){}function o$(){}function c$(){}function qA(){}function lx(){}function gS(){}function or(){}function Bt(){}function Le(){}function jn(){}function Zr(){}function Ui(){}function ls(){}function Wa(){}function pu(){}function G1(){}function Mf(){}function X1(){}function Wh(){}function g5t(){}function b5t(){}function w5t(){}function p5t(){}function m5t(){}function mZ(){}function yZ(){}function y5t(){}function v5t(){}function k5t(){}function C5t(){}function x5t(){}function T5t(){}function S5t(){}function E5t(){}function B5t(){}function A5t(){}function M5t(){}function L5t(){}function F5t(){}function _5t(){}function O5t(){}function I5t(){}function P5t(){}function j5t(){}function D5t(){}function $5t(){}function R5t(){}function N5t(){}function q5t(){}function H5t(){}function K5t(){}function z5t(){}function W5t(){}function U5t(){}function G5t(){}function X5t(){}function V5t(){}function Y5t(){}function J5t(){}function Q5t(){}function Z5t(){}function t6t(){}function e6t(){}function n6t(){}function r6t(){}function i6t(){}function s6t(){}function o6t(){}function c6t(){}function a6t(){}function l6t(){}function u6t(){}function h6t(){}function f6t(){}function d6t(){}function g6t(){}function b6t(){}function w6t(){}function p6t(){}function m6t(){}function y6t(){}function v6t(){}function k6t(){}function C6t(){}function x6t(){}function T6t(){}function S6t(){}function E6t(){}function B6t(){}function A6t(){}function M6t(){}function L6t(){}function F6t(){}function _6t(){}function O6t(){}function I6t(){}function P6t(){}function j6t(){}function D6t(){}function $6t(){}function R6t(){}function N6t(){}function q6t(){}function H6t(){}function K6t(){}function z6t(){}function W6t(){}function U6t(){}function G6t(){}function X6t(){}function V6t(){}function Y6t(){}function J6t(){}function Q6t(){}function Z6t(){}function tTt(){}function eTt(){}function nTt(){}function rTt(){}function iTt(){}function sTt(){}function oTt(){}function cTt(){}function aTt(){}function lTt(){}function uTt(){}function vZ(){}function hTt(){}function fTt(){}function dTt(){}function gTt(){}function bTt(){}function wTt(){}function pTt(){}function mTt(){}function yTt(){}function vTt(){}function kTt(){}function CTt(){}function xTt(){}function TTt(){}function STt(){}function ETt(){}function BTt(){}function ATt(){}function MTt(){}function LTt(){}function FTt(){}function _Tt(){}function OTt(){}function ITt(){}function PTt(){}function jTt(){}function DTt(){}function $Tt(){}function RTt(){}function NTt(){}function qTt(){}function HTt(){}function KTt(){}function zTt(){}function WTt(){}function UTt(){}function GTt(){}function XTt(){}function VTt(){}function YTt(){}function JTt(){}function QTt(){}function ZTt(){}function t8t(){}function e8t(){}function n8t(){}function r8t(){}function i8t(){}function s8t(){}function o8t(){}function c8t(){}function a8t(){}function l8t(){}function u8t(){}function h8t(){}function f8t(){}function d8t(){}function g8t(){}function b8t(){}function w8t(){}function p8t(){}function m8t(){}function y8t(){}function v8t(){}function k8t(){}function C8t(){}function x8t(){}function T8t(){}function S8t(){}function E8t(){}function B8t(){}function A8t(){}function M8t(){}function kZ(){}function L8t(){}function F8t(){}function _8t(){}function O8t(){}function I8t(){}function P8t(){}function j8t(){}function D8t(){}function $8t(){}function R8t(){}function CZ(){}function N8t(){}function q8t(){}function H8t(){}function K8t(){}function z8t(){}function W8t(){}function xZ(){}function TZ(){}function U8t(){}function SZ(){}function EZ(){}function G8t(){}function X8t(){}function V8t(){}function Y8t(){}function J8t(){}function Q8t(){}function Z8t(){}function tSt(){}function eSt(){}function nSt(){}function rSt(){}function BZ(){}function iSt(){}function sSt(){}function oSt(){}function cSt(){}function aSt(){}function lSt(){}function uSt(){}function hSt(){}function fSt(){}function dSt(){}function gSt(){}function bSt(){}function wSt(){}function pSt(){}function mSt(){}function ySt(){}function vSt(){}function kSt(){}function CSt(){}function xSt(){}function TSt(){}function SSt(){}function ESt(){}function BSt(){}function ASt(){}function MSt(){}function LSt(){}function FSt(){}function _St(){}function OSt(){}function ISt(){}function PSt(){}function jSt(){}function DSt(){}function $St(){}function RSt(){}function NSt(){}function qSt(){}function HSt(){}function KSt(){}function zSt(){}function WSt(){}function USt(){}function GSt(){}function XSt(){}function VSt(){}function YSt(){}function JSt(){}function QSt(){}function ZSt(){}function t9t(){}function e9t(){}function n9t(){}function r9t(){}function i9t(){}function s9t(){}function o9t(){}function c9t(){}function a9t(){}function l9t(){}function u9t(){}function h9t(){}function f9t(){}function d9t(){}function g9t(){}function b9t(){}function w9t(){}function p9t(){}function m9t(){}function y9t(){}function v9t(){}function k9t(){}function C9t(){}function x9t(){}function T9t(){}function S9t(){}function E9t(){}function B9t(){}function A9t(){}function M9t(){}function L9t(){}function F9t(){}function _9t(){}function O9t(){}function I9t(){}function P9t(){}function eTe(){}function j9t(){}function D9t(){}function $9t(){}function R9t(){}function N9t(){}function q9t(){}function H9t(){}function K9t(){}function z9t(){}function W9t(){}function U9t(){}function G9t(){}function X9t(){}function V9t(){}function Y9t(){}function J9t(){}function Q9t(){}function Z9t(){}function t7t(){}function e7t(){}function n7t(){}function r7t(){}function i7t(){}function s7t(){}function o7t(){}function c7t(){}function a7t(){}function a$(){}function l$(){}function l7t(){}function u$(){}function u7t(){}function h7t(){}function f7t(){}function d7t(){}function g7t(){}function b7t(){}function w7t(){}function p7t(){}function m7t(){}function y7t(){}function AZ(){}function v7t(){}function k7t(){}function C7t(){}function nTe(){}function x7t(){}function T7t(){}function S7t(){}function E7t(){}function B7t(){}function A7t(){}function M7t(){}function e0(){}function L7t(){}function zy(){}function MZ(){}function F7t(){}function _7t(){}function O7t(){}function I7t(){}function P7t(){}function j7t(){}function D7t(){}function $7t(){}function R7t(){}function N7t(){}function q7t(){}function H7t(){}function K7t(){}function z7t(){}function W7t(){}function U7t(){}function G7t(){}function X7t(){}function V7t(){}function Dt(){}function Y7t(){}function J7t(){}function Q7t(){}function Z7t(){}function tEt(){}function eEt(){}function nEt(){}function rEt(){}function iEt(){}function sEt(){}function oEt(){}function cEt(){}function aEt(){}function h$(){}function lEt(){}function uEt(){}function hEt(){}function HA(){}function fEt(){}function f$(){}function KA(){}function dEt(){}function LZ(){}function gEt(){}function bEt(){}function wEt(){}function pEt(){}function mEt(){}function yEt(){}function zA(){}function vEt(){}function kEt(){}function WA(){}function CEt(){}function UA(){}function xEt(){}function FZ(){}function TEt(){}function d$(){}function _Z(){}function SEt(){}function EEt(){}function BEt(){}function AEt(){}function rTe(){}function MEt(){}function LEt(){}function FEt(){}function _Et(){}function OEt(){}function IEt(){}function PEt(){}function jEt(){}function DEt(){}function $Et(){}function G3(){}function g$(){}function REt(){}function NEt(){}function qEt(){}function HEt(){}function KEt(){}function zEt(){}function WEt(){}function UEt(){}function GEt(){}function XEt(){}function VEt(){}function YEt(){}function JEt(){}function QEt(){}function ZEt(){}function tBt(){}function eBt(){}function nBt(){}function rBt(){}function iBt(){}function sBt(){}function oBt(){}function cBt(){}function aBt(){}function lBt(){}function uBt(){}function hBt(){}function fBt(){}function dBt(){}function gBt(){}function bBt(){}function wBt(){}function pBt(){}function mBt(){}function yBt(){}function vBt(){}function kBt(){}function CBt(){}function xBt(){}function TBt(){}function SBt(){}function EBt(){}function BBt(){}function ABt(){}function MBt(){}function LBt(){}function FBt(){}function _Bt(){}function OBt(){}function IBt(){}function PBt(){}function jBt(){}function DBt(){}function $Bt(){}function RBt(){}function NBt(){}function qBt(){}function HBt(){}function KBt(){}function zBt(){}function WBt(){}function UBt(){}function GBt(){}function XBt(){}function VBt(){}function YBt(){}function JBt(){}function QBt(){}function ZBt(){}function tAt(){}function eAt(){}function nAt(){}function rAt(){}function iAt(){}function sAt(){}function oAt(){}function cAt(){}function aAt(){}function lAt(){}function uAt(){}function hAt(){}function fAt(){}function dAt(){}function gAt(){}function bAt(){}function wAt(){}function pAt(){}function mAt(){}function yAt(){}function vAt(){}function kAt(){}function CAt(){}function xAt(){}function TAt(){}function SAt(){}function EAt(){}function BAt(){}function AAt(){}function MAt(){}function LAt(){}function FAt(){}function OZ(){}function _At(){}function OAt(){}function b$(){px()}function IAt(){MS()}function PAt(){O_()}function jAt(){kH()}function DAt(){H5()}function $At(){Kat()}function RAt(){Fu()}function NAt(){Zct()}function qAt(){b7()}function HAt(){LS()}function KAt(){i9()}function zAt(){wjt()}function WAt(){Fv()}function UAt(){zWt()}function GAt(){Qst()}function XAt(){_Kt()}function VAt(){Zst()}function YAt(){kUt()}function JAt(){FKt()}function QAt(){rC()}function ZAt(){iXt()}function tMt(){rXt()}function eMt(){Bzt()}function nMt(){sXt()}function rMt(){mg()}function iMt(){vM()}function sMt(){Hut()}function oMt(){Ft()}function cMt(){oXt()}function aMt(){OXt()}function lMt(){OKt()}function uMt(){iQt()}function hMt(){IKt()}function fMt(){mne()}function dMt(){vlt()}function gMt(){Cd()}function bMt(){yYt()}function wMt(){qo()}function pMt(){KKt()}function mMt(){Lv()}function yMt(){nut()}function vMt(){yg()}function kMt(){rut()}function CMt(){Mh()}function xMt(){v7()}function TMt(){GK()}function SMt(){nK()}function Vu(){yNt()}function EMt(){yF()}function BMt(){R_()}function IZ(){Vn()}function AMt(){e_()}function MMt(){Mct()}function PZ(){nH()}function jZ(){cO()}function LMt(){gut()}function DZ(t){$e(t)}function FMt(t){this.a=t}function GA(t){this.a=t}function _Mt(t){this.a=t}function OMt(t){this.a=t}function IMt(t){this.a=t}function PMt(t){this.a=t}function jMt(t){this.a=t}function DMt(t){this.a=t}function $Z(t){this.a=t}function RZ(t){this.a=t}function $Mt(t){this.a=t}function RMt(t){this.a=t}function w$(t){this.a=t}function NMt(t){this.a=t}function qMt(t){this.a=t}function p$(t){this.a=t}function m$(t){this.a=t}function HMt(t){this.a=t}function y$(t){this.a=t}function KMt(t){this.a=t}function zMt(t){this.a=t}function WMt(t){this.a=t}function NZ(t){this.b=t}function UMt(t){this.c=t}function GMt(t){this.a=t}function XMt(t){this.a=t}function VMt(t){this.a=t}function YMt(t){this.a=t}function JMt(t){this.a=t}function QMt(t){this.a=t}function ZMt(t){this.a=t}function tLt(t){this.a=t}function eLt(t){this.a=t}function nLt(t){this.a=t}function rLt(t){this.a=t}function iLt(t){this.a=t}function sLt(t){this.a=t}function qZ(t){this.a=t}function HZ(t){this.a=t}function XA(t){this.a=t}function bS(t){this.a=t}function n0(){this.a=[]}function oLt(t,e){t.a=e}function iTe(t,e){t.a=e}function sTe(t,e){t.b=e}function oTe(t,e){t.b=e}function cTe(t,e){t.b=e}function KZ(t,e){t.j=e}function aTe(t,e){t.g=e}function lTe(t,e){t.i=e}function uTe(t,e){t.c=e}function hTe(t,e){t.c=e}function fTe(t,e){t.d=e}function dTe(t,e){t.d=e}function r0(t,e){t.k=e}function gTe(t,e){t.c=e}function zZ(t,e){t.c=e}function WZ(t,e){t.a=e}function bTe(t,e){t.a=e}function wTe(t,e){t.f=e}function pTe(t,e){t.a=e}function mTe(t,e){t.b=e}function v$(t,e){t.d=e}function VA(t,e){t.i=e}function UZ(t,e){t.o=e}function yTe(t,e){t.r=e}function vTe(t,e){t.a=e}function kTe(t,e){t.b=e}function cLt(t,e){t.e=e}function CTe(t,e){t.f=e}function GZ(t,e){t.g=e}function xTe(t,e){t.e=e}function TTe(t,e){t.f=e}function STe(t,e){t.f=e}function k$(t,e){t.a=e}function C$(t,e){t.b=e}function ETe(t,e){t.n=e}function BTe(t,e){t.a=e}function ATe(t,e){t.c=e}function MTe(t,e){t.c=e}function LTe(t,e){t.c=e}function FTe(t,e){t.a=e}function _Te(t,e){t.a=e}function OTe(t,e){t.d=e}function ITe(t,e){t.d=e}function PTe(t,e){t.e=e}function jTe(t,e){t.e=e}function DTe(t,e){t.g=e}function $Te(t,e){t.f=e}function RTe(t,e){t.j=e}function NTe(t,e){t.a=e}function qTe(t,e){t.a=e}function HTe(t,e){t.b=e}function aLt(t){t.b=t.a}function lLt(t){t.c=t.d.d}function XZ(t){this.a=t}function VZ(t){this.a=t}function YZ(t){this.a=t}function i0(t){this.a=t}function s0(t){this.a=t}function wS(t){this.a=t}function uLt(t){this.a=t}function JZ(t){this.a=t}function pS(t){this.a=t}function YA(t){this.a=t}function ld(t){this.a=t}function ip(t){this.a=t}function hLt(t){this.a=t}function fLt(t){this.a=t}function x$(t){this.b=t}function X3(t){this.b=t}function V3(t){this.b=t}function T$(t){this.a=t}function dLt(t){this.a=t}function S$(t){this.c=t}function R(t){this.c=t}function gLt(t){this.c=t}function ux(t){this.d=t}function QZ(t){this.a=t}function An(t){this.a=t}function bLt(t){this.a=t}function ZZ(t){this.a=t}function ttt(t){this.a=t}function ett(t){this.a=t}function ntt(t){this.a=t}function rtt(t){this.a=t}function itt(t){this.a=t}function Y3(t){this.a=t}function wLt(t){this.a=t}function pLt(t){this.a=t}function J3(t){this.a=t}function mLt(t){this.a=t}function yLt(t){this.a=t}function vLt(t){this.a=t}function kLt(t){this.a=t}function CLt(t){this.a=t}function xLt(t){this.a=t}function TLt(t){this.a=t}function SLt(t){this.a=t}function ELt(t){this.a=t}function BLt(t){this.a=t}function ALt(t){this.a=t}function MLt(t){this.a=t}function LLt(t){this.a=t}function FLt(t){this.a=t}function _Lt(t){this.a=t}function hx(t){this.a=t}function OLt(t){this.a=t}function ILt(t){this.a=t}function PLt(t){this.a=t}function jLt(t){this.a=t}function JA(t){this.a=t}function DLt(t){this.a=t}function $Lt(t){this.a=t}function Q3(t){this.a=t}function stt(t){this.a=t}function RLt(t){this.a=t}function NLt(t){this.a=t}function qLt(t){this.a=t}function HLt(t){this.a=t}function KLt(t){this.a=t}function zLt(t){this.a=t}function ott(t){this.a=t}function ctt(t){this.a=t}function att(t){this.a=t}function fx(t){this.a=t}function QA(t){this.e=t}function Z3(t){this.a=t}function WLt(t){this.a=t}function Wy(t){this.a=t}function ltt(t){this.a=t}function ULt(t){this.a=t}function GLt(t){this.a=t}function XLt(t){this.a=t}function VLt(t){this.a=t}function YLt(t){this.a=t}function JLt(t){this.a=t}function QLt(t){this.a=t}function ZLt(t){this.a=t}function tFt(t){this.a=t}function eFt(t){this.a=t}function nFt(t){this.a=t}function utt(t){this.a=t}function rFt(t){this.a=t}function iFt(t){this.a=t}function sFt(t){this.a=t}function oFt(t){this.a=t}function cFt(t){this.a=t}function aFt(t){this.a=t}function lFt(t){this.a=t}function uFt(t){this.a=t}function hFt(t){this.a=t}function fFt(t){this.a=t}function dFt(t){this.a=t}function gFt(t){this.a=t}function bFt(t){this.a=t}function wFt(t){this.a=t}function pFt(t){this.a=t}function mFt(t){this.a=t}function yFt(t){this.a=t}function vFt(t){this.a=t}function kFt(t){this.a=t}function CFt(t){this.a=t}function xFt(t){this.a=t}function TFt(t){this.a=t}function SFt(t){this.a=t}function EFt(t){this.a=t}function BFt(t){this.a=t}function AFt(t){this.a=t}function MFt(t){this.a=t}function LFt(t){this.a=t}function FFt(t){this.a=t}function _Ft(t){this.a=t}function OFt(t){this.a=t}function IFt(t){this.a=t}function PFt(t){this.a=t}function jFt(t){this.a=t}function DFt(t){this.a=t}function $Ft(t){this.a=t}function RFt(t){this.a=t}function NFt(t){this.a=t}function qFt(t){this.c=t}function HFt(t){this.b=t}function KFt(t){this.a=t}function zFt(t){this.a=t}function WFt(t){this.a=t}function UFt(t){this.a=t}function GFt(t){this.a=t}function XFt(t){this.a=t}function VFt(t){this.a=t}function YFt(t){this.a=t}function JFt(t){this.a=t}function QFt(t){this.a=t}function ZFt(t){this.a=t}function t_t(t){this.a=t}function e_t(t){this.a=t}function n_t(t){this.a=t}function r_t(t){this.a=t}function i_t(t){this.a=t}function s_t(t){this.a=t}function o_t(t){this.a=t}function c_t(t){this.a=t}function a_t(t){this.a=t}function l_t(t){this.a=t}function u_t(t){this.a=t}function h_t(t){this.a=t}function f_t(t){this.a=t}function d_t(t){this.a=t}function g_t(t){this.a=t}function b_t(t){this.a=t}function ud(t){this.a=t}function X2(t){this.a=t}function w_t(t){this.a=t}function p_t(t){this.a=t}function m_t(t){this.a=t}function y_t(t){this.a=t}function v_t(t){this.a=t}function k_t(t){this.a=t}function C_t(t){this.a=t}function x_t(t){this.a=t}function T_t(t){this.a=t}function S_t(t){this.a=t}function E_t(t){this.a=t}function B_t(t){this.a=t}function A_t(t){this.a=t}function M_t(t){this.a=t}function L_t(t){this.a=t}function F_t(t){this.a=t}function __t(t){this.a=t}function O_t(t){this.a=t}function I_t(t){this.a=t}function P_t(t){this.a=t}function j_t(t){this.a=t}function D_t(t){this.a=t}function $_t(t){this.a=t}function R_t(t){this.a=t}function N_t(t){this.a=t}function q_t(t){this.a=t}function ZA(t){this.a=t}function H_t(t){this.f=t}function K_t(t){this.a=t}function z_t(t){this.a=t}function W_t(t){this.a=t}function U_t(t){this.a=t}function G_t(t){this.a=t}function X_t(t){this.a=t}function V_t(t){this.a=t}function Y_t(t){this.a=t}function J_t(t){this.a=t}function Q_t(t){this.a=t}function Z_t(t){this.a=t}function tOt(t){this.a=t}function eOt(t){this.a=t}function nOt(t){this.a=t}function rOt(t){this.a=t}function iOt(t){this.a=t}function sOt(t){this.a=t}function oOt(t){this.a=t}function cOt(t){this.a=t}function aOt(t){this.a=t}function lOt(t){this.a=t}function uOt(t){this.a=t}function hOt(t){this.a=t}function fOt(t){this.a=t}function dOt(t){this.a=t}function gOt(t){this.a=t}function bOt(t){this.a=t}function wOt(t){this.a=t}function E$(t){this.a=t}function htt(t){this.a=t}function vr(t){this.b=t}function pOt(t){this.a=t}function mOt(t){this.a=t}function yOt(t){this.a=t}function vOt(t){this.a=t}function kOt(t){this.a=t}function COt(t){this.a=t}function xOt(t){this.a=t}function TOt(t){this.b=t}function SOt(t){this.a=t}function mS(t){this.a=t}function EOt(t){this.a=t}function BOt(t){this.a=t}function ftt(t){this.c=t}function tM(t){this.e=t}function eM(t){this.a=t}function nM(t){this.a=t}function B$(t){this.a=t}function AOt(t){this.d=t}function MOt(t){this.a=t}function dtt(t){this.a=t}function gtt(t){this.a=t}function mb(t){this.e=t}function KTe(){this.a=0}function hn(){ya(this)}function Tt(){qR(this)}function A$(){fHt(this)}function LOt(){}function yb(){this.c=Cvt}function FOt(t,e){t.b+=e}function zTe(t,e){e.Wb(t)}function WTe(t){return t.a}function UTe(t){return t.a}function GTe(t){return t.a}function XTe(t){return t.a}function VTe(t){return t.a}function N(t){return t.e}function YTe(){return null}function JTe(){return null}function QTe(){Ztt(),Fen()}function ZTe(t){t.b.Of(t.e)}function _Ot(t){t.b=new X$}function dx(t,e){t.b=e-t.b}function gx(t,e){t.a=e-t.a}function ke(t,e){t.push(e)}function OOt(t,e){t.sort(e)}function IOt(t,e){e.jd(t.a)}function t8e(t,e){Di(e,t)}function e8e(t,e,n){t.Yd(n,e)}function yS(t,e){t.e=e,e.b=t}function btt(t){Qh(),this.a=t}function POt(t){Qh(),this.a=t}function jOt(t){Qh(),this.a=t}function M$(t){qb(),this.a=t}function DOt(t){Mk(),mG.le(t)}function wtt(){wtt=Y,new hn}function o0(){nRt.call(this)}function ptt(){nRt.call(this)}function mtt(){o0.call(this)}function L$(){o0.call(this)}function $Ot(){o0.call(this)}function vS(){o0.call(this)}function na(){o0.call(this)}function Uy(){o0.call(this)}function Fn(){o0.call(this)}function xl(){o0.call(this)}function ROt(){o0.call(this)}function Mo(){o0.call(this)}function NOt(){o0.call(this)}function qOt(){this.a=this}function rM(){this.Bb|=256}function HOt(){this.b=new VDt}function sp(t,e){t.length=e}function iM(t,e){St(t.a,e)}function n8e(t,e){Wat(t.c,e)}function r8e(t,e){Ai(t.b,e)}function i8e(t,e){B_(t.a,e)}function s8e(t,e){MH(t.a,e)}function tk(t,e){ur(t.e,e)}function Gy(t){K_(t.c,t.b)}function o8e(t,e){t.kc().Nb(e)}function ytt(t){this.a=Q$e(t)}function yi(){this.a=new hn}function KOt(){this.a=new hn}function vtt(){this.a=new ajt}function sM(){this.a=new Tt}function F$(){this.a=new Tt}function ktt(){this.a=new Tt}function Yl(){this.a=new Ar}function c0(){this.a=new $Wt}function Ctt(){this.a=new fS}function xtt(){this.a=new LKt}function Ttt(){this.a=new HRt}function zOt(){this.a=new Tt}function WOt(){this.a=new Tt}function UOt(){this.a=new Tt}function Stt(){this.a=new Tt}function GOt(){this.d=new Tt}function XOt(){this.a=new YKt}function VOt(){this.a=new yi}function YOt(){this.a=new hn}function JOt(){this.b=new hn}function QOt(){this.b=new Tt}function Ett(){this.e=new Tt}function ZOt(){this.a=new rMt}function tIt(){this.d=new Tt}function eIt(){eKt.call(this)}function nIt(){eKt.call(this)}function rIt(){Tt.call(this)}function Btt(){mtt.call(this)}function Att(){sM.call(this)}function iIt(){uL.call(this)}function sIt(){Stt.call(this)}function bx(){LOt.call(this)}function _$(){bx.call(this)}function Xy(){LOt.call(this)}function Mtt(){Xy.call(this)}function oIt(){Ott.call(this)}function cIt(){Ott.call(this)}function aIt(){Ott.call(this)}function lIt(){Itt.call(this)}function wx(){fEt.call(this)}function Ltt(){fEt.call(this)}function ra(){$r.call(this)}function uIt(){SIt.call(this)}function hIt(){SIt.call(this)}function fIt(){hn.call(this)}function dIt(){hn.call(this)}function gIt(){hn.call(this)}function O$(){lXt.call(this)}function bIt(){yi.call(this)}function wIt(){rM.call(this)}function I$(){bnt.call(this)}function Ftt(){hn.call(this)}function P$(){bnt.call(this)}function j$(){hn.call(this)}function pIt(){hn.call(this)}function _tt(){UA.call(this)}function mIt(){_tt.call(this)}function yIt(){UA.call(this)}function vIt(){OZ.call(this)}function Ott(){this.a=new yi}function kIt(){this.a=new hn}function CIt(){this.a=new Tt}function Itt(){this.a=new hn}function Vy(){this.a=new $r}function xIt(){this.j=new Tt}function TIt(){this.a=new CPt}function SIt(){this.a=new CEt}function Ptt(){this.a=new r7t}function px(){px=Y,uG=new B}function D$(){D$=Y,hG=new BIt}function $$(){$$=Y,fG=new EIt}function EIt(){p$.call(this,"")}function BIt(){p$.call(this,"")}function AIt(t){_Gt.call(this,t)}function MIt(t){_Gt.call(this,t)}function jtt(t){$Z.call(this,t)}function Dtt(t){JPt.call(this,t)}function c8e(t){JPt.call(this,t)}function a8e(t){Dtt.call(this,t)}function l8e(t){Dtt.call(this,t)}function u8e(t){Dtt.call(this,t)}function LIt(t){wq.call(this,t)}function FIt(t){wq.call(this,t)}function _It(t){uNt.call(this,t)}function OIt(t){oet.call(this,t)}function mx(t){wM.call(this,t)}function $tt(t){wM.call(this,t)}function IIt(t){wM.call(this,t)}function Rtt(t){_ze.call(this,t)}function Ntt(t){Rtt.call(this,t)}function Lo(t){Fqt.call(this,t)}function PIt(t){Lo.call(this,t)}function Yy(){bS.call(this,{})}function jIt(){jIt=Y,ple=new Me}function oM(){oM=Y,bG=new _$t}function DIt(){DIt=Y,$1t=new E}function qtt(){qtt=Y,R1t=new Mt}function cM(){cM=Y,U6=new be}function R$(t){fk(),this.a=t}function N$(t){wot(),this.a=t}function vb(t){TN(),this.f=t}function q$(t){TN(),this.f=t}function $It(t){mNt(),this.a=t}function RIt(t){t.b=null,t.c=0}function h8e(t,e){t.e=e,mee(t,e)}function f8e(t,e){t.a=e,yWe(t)}function H$(t,e,n){t.a[e.g]=n}function d8e(t,e,n){IHe(n,t,e)}function g8e(t,e){lEe(e.i,t.n)}function NIt(t,e){ODe(t).Cd(e)}function b8e(t,e){t.a.ec().Mc(e)}function qIt(t,e){return t.g-e.g}function w8e(t,e){return t*t/e}function It(t){return $e(t),t}function nt(t){return $e(t),t}function kS(t){return $e(t),t}function p8e(t){return new XA(t)}function m8e(t){return new yp(t)}function Htt(t){return $e(t),t}function y8e(t){return $e(t),t}function aM(t){Lo.call(this,t)}function ro(t){Lo.call(this,t)}function HIt(t){Lo.call(this,t)}function K$(t){Fqt.call(this,t)}function ek(t){Lo.call(this,t)}function _e(t){Lo.call(this,t)}function io(t){Lo.call(this,t)}function KIt(t){Lo.call(this,t)}function Jy(t){Lo.call(this,t)}function Yd(t){Lo.call(this,t)}function Jd(t){Lo.call(this,t)}function Qy(t){Lo.call(this,t)}function Uh(t){Lo.call(this,t)}function z$(t){Lo.call(this,t)}function Pn(t){Lo.call(this,t)}function pa(t){$e(t),this.a=t}function Ktt(t){return B0(t),t}function yx(t){rit(t,t.length)}function vx(t){return t.b==t.c}function op(t){return!!t&&t.b}function v8e(t){return!!t&&t.k}function k8e(t){return!!t&&t.j}function C8e(t,e,n){t.c.Ef(e,n)}function zIt(t,e){t.be(e),e.ae(t)}function Zy(t){Qh(),this.a=Ln(t)}function W$(){this.a=On(Ln(Fs))}function WIt(){throw N(new Fn)}function x8e(){throw N(new Fn)}function ztt(){throw N(new Fn)}function UIt(){throw N(new Fn)}function T8e(){throw N(new Fn)}function S8e(){throw N(new Fn)}function lM(){lM=Y,Mk()}function Qd(){wS.call(this,"")}function kx(){wS.call(this,"")}function V1(){wS.call(this,"")}function tv(){wS.call(this,"")}function Wtt(t){ro.call(this,t)}function Utt(t){ro.call(this,t)}function Gh(t){_e.call(this,t)}function nk(t){V3.call(this,t)}function GIt(t){nk.call(this,t)}function U$(t){sL.call(this,t)}function G$(t){Bnt.call(this,t,0)}function X$(){Rit.call(this,12,3)}function K(t,e){return TKt(t,e)}function uM(t,e){return Fq(t,e)}function E8e(t,e){return t.a-e.a}function B8e(t,e){return t.a-e.a}function A8e(t,e){return t.a-e.a}function M8e(t,e){return e in t.a}function XIt(t){return t.a?t.b:0}function L8e(t){return t.a?t.b:0}function F8e(t,e,n){e.Cd(t.a[n])}function _8e(t,e,n){e.Pe(t.a[n])}function O8e(t,e){t.b=new Ms(e)}function I8e(t,e){return t.b=e,t}function VIt(t,e){return t.c=e,t}function YIt(t,e){return t.f=e,t}function P8e(t,e){return t.g=e,t}function Gtt(t,e){return t.a=e,t}function Xtt(t,e){return t.f=e,t}function j8e(t,e){return t.k=e,t}function Vtt(t,e){return t.a=e,t}function D8e(t,e){return t.e=e,t}function Ytt(t,e){return t.e=e,t}function $8e(t,e){return t.f=e,t}function R8e(t,e){t.b=!0,t.d=e}function N8e(t,e){return t.b-e.b}function q8e(t,e){return t.g-e.g}function H8e(t,e){return t?0:e-1}function JIt(t,e){return t?0:e-1}function K8e(t,e){return t?e-1:0}function z8e(t,e){return t.s-e.s}function W8e(t,e){return e.rg(t)}function kb(t,e){return t.b=e,t}function hM(t,e){return t.a=e,t}function Cb(t,e){return t.c=e,t}function xb(t,e){return t.d=e,t}function Tb(t,e){return t.e=e,t}function Jtt(t,e){return t.f=e,t}function Cx(t,e){return t.a=e,t}function rk(t,e){return t.b=e,t}function ik(t,e){return t.c=e,t}function Rt(t,e){return t.c=e,t}function re(t,e){return t.b=e,t}function Nt(t,e){return t.d=e,t}function qt(t,e){return t.e=e,t}function U8e(t,e){return t.f=e,t}function Ht(t,e){return t.g=e,t}function Kt(t,e){return t.a=e,t}function zt(t,e){return t.i=e,t}function Wt(t,e){return t.j=e,t}function G8e(t,e){mg(),_o(e,t)}function X8e(t,e,n){uMe(t.a,e,n)}function fM(t){sN.call(this,t)}function QIt(t){dRe.call(this,t)}function ZIt(t){_Ht.call(this,t)}function Qtt(t){_Ht.call(this,t)}function Y1(t){Jb.call(this,t)}function tPt(t){XN.call(this,t)}function ePt(t){XN.call(this,t)}function nPt(){lnt.call(this,"")}function ns(){this.a=0,this.b=0}function rPt(){this.b=0,this.a=0}function iPt(t,e){t.b=0,Mp(t,e)}function sPt(t,e){return t.k=e,t}function V8e(t,e){return t.j=e,t}function Y8e(t,e){t.c=e,t.b=!0}function oPt(){oPt=Y,Lle=cKe()}function J1(){J1=Y,xpe=mHe()}function cPt(){cPt=Y,Vi=LKe()}function Ztt(){Ztt=Y,zg=zk()}function sk(){sk=Y,kvt=yHe()}function aPt(){aPt=Y,c2e=vHe()}function tet(){tet=Y,Qo=wWe()}function Yu(t){return t.e&&t.e()}function lPt(t){return t.l|t.m<<22}function uPt(t,e){return t.c._b(e)}function hPt(t,e){return aYt(t.b,e)}function V$(t){return t?t.d:null}function J8e(t){return t?t.g:null}function Q8e(t){return t?t.i:null}function a0(t){return dd(t),t.o}function V2(t,e){return t.a+=e,t}function Y$(t,e){return t.a+=e,t}function Zd(t,e){return t.a+=e,t}function Sb(t,e){return t.a+=e,t}function eet(t,e){for(;t.Bd(e););}function dM(t){this.a=new ev(t)}function fPt(){throw N(new Fn)}function dPt(){throw N(new Fn)}function gPt(){throw N(new Fn)}function bPt(){throw N(new Fn)}function wPt(){throw N(new Fn)}function pPt(){throw N(new Fn)}function t1(t){this.a=new BN(t)}function mPt(){this.a=new r6(w2t)}function yPt(){this.b=new r6(Ppt)}function vPt(){this.a=new r6(N2t)}function kPt(){this.b=new r6(cY)}function CPt(){this.b=new r6(cY)}function gM(t){this.a=0,this.b=t}function net(t){Yre(),zen(this,t)}function ok(t){return sg(t),t.a}function CS(t){return t.b!=t.d.c}function ret(t,e){return t.d[e.p]}function xPt(t,e){return cVe(t,e)}function iet(t,e,n){t.splice(e,n)}function Y2(t,e){for(;t.Re(e););}function TPt(t){t.c?jee(t):Dee(t)}function SPt(){throw N(new Fn)}function EPt(){throw N(new Fn)}function BPt(){throw N(new Fn)}function APt(){throw N(new Fn)}function MPt(){throw N(new Fn)}function LPt(){throw N(new Fn)}function FPt(){throw N(new Fn)}function _Pt(){throw N(new Fn)}function OPt(){throw N(new Fn)}function IPt(){throw N(new Fn)}function Z8e(){throw N(new Mo)}function tSe(){throw N(new Mo)}function xS(t){this.a=new PPt(t)}function PPt(t){ije(this,t,jze())}function TS(t){return!t||hHt(t)}function SS(t){return zh[t]!=-1}function eSe(){EI!=0&&(EI=0),BI=-1}function jPt(){lG==null&&(lG=[])}function ES(t,e){um.call(this,t,e)}function ck(t,e){ES.call(this,t,e)}function DPt(t,e){this.a=t,this.b=e}function $Pt(t,e){this.a=t,this.b=e}function RPt(t,e){this.a=t,this.b=e}function NPt(t,e){this.a=t,this.b=e}function qPt(t,e){this.a=t,this.b=e}function HPt(t,e){this.a=t,this.b=e}function KPt(t,e){this.a=t,this.b=e}function ak(t,e){this.e=t,this.d=e}function set(t,e){this.b=t,this.c=e}function zPt(t,e){this.b=t,this.a=e}function WPt(t,e){this.b=t,this.a=e}function UPt(t,e){this.b=t,this.a=e}function GPt(t,e){this.b=t,this.a=e}function XPt(t,e){this.a=t,this.b=e}function J$(t,e){this.a=t,this.b=e}function VPt(t,e){this.a=t,this.f=e}function Eb(t,e){this.g=t,this.i=e}function xn(t,e){this.f=t,this.g=e}function YPt(t,e){this.b=t,this.c=e}function JPt(t){pnt(t.dc()),this.c=t}function nSe(t,e){this.a=t,this.b=e}function QPt(t,e){this.a=t,this.b=e}function ZPt(t){this.a=o(Ln(t),15)}function oet(t){this.a=o(Ln(t),15)}function tjt(t){this.a=o(Ln(t),85)}function bM(t){this.b=o(Ln(t),85)}function wM(t){this.b=o(Ln(t),51)}function pM(){this.q=new p.Date}function Q$(t,e){this.a=t,this.b=e}function ejt(t,e){return Pc(t.b,e)}function BS(t,e){return t.b.Hc(e)}function njt(t,e){return t.b.Ic(e)}function rjt(t,e){return t.b.Qc(e)}function ijt(t,e){return t.b.Hc(e)}function sjt(t,e){return t.c.uc(e)}function ojt(t,e){return hr(t.c,e)}function Ju(t,e){return t.a._b(e)}function cjt(t,e){return t>e&&e<b6}function xx(t){return t.f.c+t.i.c}function rSe(t){return Yqt(),t?wle:ble}function ev(t){yVt.call(this,t,0)}function ajt(){BN.call(this,null)}function nv(t){this.c=t,cGt(this)}function $r(){E$t(this),nl(this)}function hd(){hd=Y,kle=new ce}function lk(){lk=Y,c4=new we}function cp(){cp=Y,TG=new GDt}function mM(){mM=Y,_le=new XDt}function uk(){uk=Y,fgt=new Xn}function cet(){Bq.call(this,null)}function l0(){l0=Y,a3=new Je}function ci(t,e){sg(t),t.a.Nb(e)}function iSe(t,e){return t.a.Xc(e)}function sSe(t,e){return t.a.Yc(e)}function Z$(t,e){return t.a.$c(e)}function tR(t,e){return t.a._c(e)}function oSe(t,e){return t.Gc(e),t}function cSe(t,e){return cs(t,e),t}function aSe(t,e){jK(ht(t.a),e)}function lSe(t,e){jK(ht(t.a),e)}function ljt(t,e){return t.Gc(e),t}function uSe(t,e){return t.a.f=e,t}function ujt(t,e){return t.a.d=e,t}function hjt(t,e){return t.a.g=e,t}function fjt(t,e){return t.a.j=e,t}function mu(t,e){return t.a.a=e,t}function yu(t,e){return t.a.d=e,t}function vu(t,e){return t.a.e=e,t}function ku(t,e){return t.a.g=e,t}function AS(t,e){return t.a.f=e,t}function hSe(t){return t.b=!1,t}function djt(){djt=Y,Hle=new ve}function yM(){yM=Y,$G=new mRt}function aet(){aet=Y,Ehe=new s$}function gjt(){gjt=Y,Bhe=new Bt}function uet(){uet=Y,Ahe=new yqt}function het(){het=Y,a0t=new Ui}function bjt(){bjt=Y,Dhe=new p5t}function Tx(){Tx=Y,Rhe=new m5t}function MS(){MS=Y,Khe=new W5t}function LS(){LS=Y,Hhe=new ns}function wjt(){wjt=Y,Ghe=new M6t}function Sx(){Sx=Y,efe=new u8t}function vM(){vM=Y,ty=new I8t}function kM(){kM=Y,tge=new rEt}function CM(){CM=Y,aY=new mjt}function xM(){xM=Y,lY=new pRt}function Ex(){Ex=Y,hB=new mHt}function pjt(){nXt(),this.c=new X$}function mjt(){xn.call(this,Qse,0)}function fSe(t,e,n){so(t.d,e.f,n)}function dSe(t,e,n,r){KNe(t,r,e,n)}function gSe(t,e,n,r){gXe(r,t,e,n)}function bSe(t,e,n,r){ztn(r,t,e,n)}function Bx(t,e){m1(t.c.c,e.b,e)}function Bb(t,e){m1(t.c.b,e.c,e)}function wSe(t){return t.e.b+t.f.b}function pSe(t){return t.e.a+t.f.a}function mSe(t){return t.b?t.b:t.a}function ySe(t){return(t.c+t.a)/2}function yjt(t,e){return Zqe(t.a,e)}function Ax(t,e){return t.a=e.g,t}function fet(){fet=Y,vvt=new pIt}function vjt(){vjt=Y,Kpe=new gIt}function Ab(){Ab=Y,kpe=new iEt}function kjt(){kjt=Y,Mpe=new bEt}function Cjt(){Cjt=Y,Hpe=new dIt}function Q1(){Q1=Y,gu=new Ftt}function TM(){TM=Y,Hj=new hn}function Mx(){Mx=Y,VY=new L$t}function e1(){e1=Y,jB=new F$t}function eR(){eR=Y,r2e=new LBt}function qs(){qs=Y,s2e=new FBt}function Z1(){Z1=Y,Xg=new OAt}function det(){det=Y,Fvt=new Tt}function SM(t){return o(t,44).ld()}function nR(t){return t.b<t.d.gc()}function vSe(t,e){return e.split(t)}function rR(t,e){return nc(t,e)>0}function iR(t,e){return nc(t,e)<0}function xjt(t,e){return vN(t.a,e)}function kSe(t,e){SKt.call(this,t,e)}function get(t){RN(),uNt.call(this,t)}function bet(t,e){mqt(t,t.length,e)}function FS(t,e){Uqt(t,t.length,e)}function Lx(t,e){return t.a.get(e)}function Tjt(t,e){return Pc(t.e,e)}function wet(t){return $e(t),!1}function pet(t){this.a=o(Ln(t),229)}function EM(t){se.call(this,t,21)}function BM(t,e){xn.call(this,t,e)}function sR(t,e){xn.call(this,t,e)}function Sjt(t,e){this.b=t,this.a=e}function AM(t,e){this.d=t,this.e=e}function Ejt(t,e){this.a=t,this.b=e}function Bjt(t,e){this.a=t,this.b=e}function Ajt(t,e){this.a=t,this.b=e}function Mjt(t,e){this.a=t,this.b=e}function rv(t,e){this.a=t,this.b=e}function Ljt(t,e){this.b=t,this.a=e}function met(t,e){this.b=t,this.a=e}function yet(t,e){xn.call(this,t,e)}function vet(t,e){xn.call(this,t,e)}function J2(t,e){xn.call(this,t,e)}function oR(t,e){xn.call(this,t,e)}function cR(t,e){xn.call(this,t,e)}function aR(t,e){xn.call(this,t,e)}function MM(t,e){xn.call(this,t,e)}function ket(t,e){this.b=t,this.a=e}function LM(t,e){xn.call(this,t,e)}function Cet(t,e){this.b=t,this.a=e}function FM(t,e){xn.call(this,t,e)}function Fjt(t,e){this.b=t,this.a=e}function xet(t,e){xn.call(this,t,e)}function lR(t,e){xn.call(this,t,e)}function _S(t,e){xn.call(this,t,e)}function Fx(t,e,n){t.splice(e,0,n)}function CSe(t,e,n){t.Mb(n)&&e.Cd(n)}function xSe(t,e,n){e.Pe(t.a.Ye(n))}function TSe(t,e,n){e.Dd(t.a.Ze(n))}function SSe(t,e,n){e.Cd(t.a.Kb(n))}function ESe(t,e){return sa(t.c,e)}function BSe(t,e){return sa(t.e,e)}function _M(t,e){xn.call(this,t,e)}function OM(t,e){xn.call(this,t,e)}function _x(t,e){xn.call(this,t,e)}function Tet(t,e){xn.call(this,t,e)}function vi(t,e){xn.call(this,t,e)}function IM(t,e){xn.call(this,t,e)}function _jt(t,e){this.a=t,this.b=e}function Ojt(t,e){this.a=t,this.b=e}function Ijt(t,e){this.a=t,this.b=e}function Pjt(t,e){this.a=t,this.b=e}function jjt(t,e){this.a=t,this.b=e}function Djt(t,e){this.a=t,this.b=e}function $jt(t,e){this.b=t,this.a=e}function Rjt(t,e){this.b=t,this.a=e}function Eet(t,e){this.b=t,this.a=e}function hk(t,e){this.c=t,this.d=e}function Njt(t,e){this.e=t,this.d=e}function qjt(t,e){this.a=t,this.b=e}function Hjt(t,e){this.a=t,this.b=e}function Kjt(t,e){this.a=t,this.b=e}function zjt(t,e){this.b=t,this.a=e}function Wjt(t,e){this.b=e,this.c=t}function PM(t,e){xn.call(this,t,e)}function OS(t,e){xn.call(this,t,e)}function uR(t,e){xn.call(this,t,e)}function Bet(t,e){xn.call(this,t,e)}function Ox(t,e){xn.call(this,t,e)}function hR(t,e){xn.call(this,t,e)}function fR(t,e){xn.call(this,t,e)}function IS(t,e){xn.call(this,t,e)}function Aet(t,e){xn.call(this,t,e)}function dR(t,e){xn.call(this,t,e)}function Ix(t,e){xn.call(this,t,e)}function Met(t,e){xn.call(this,t,e)}function Px(t,e){xn.call(this,t,e)}function jx(t,e){xn.call(this,t,e)}function ap(t,e){xn.call(this,t,e)}function gR(t,e){xn.call(this,t,e)}function bR(t,e){xn.call(this,t,e)}function Let(t,e){xn.call(this,t,e)}function PS(t,e){xn.call(this,t,e)}function Q2(t,e){xn.call(this,t,e)}function wR(t,e){xn.call(this,t,e)}function jM(t,e){xn.call(this,t,e)}function jS(t,e){xn.call(this,t,e)}function lp(t,e){xn.call(this,t,e)}function DM(t,e){xn.call(this,t,e)}function Fet(t,e){xn.call(this,t,e)}function pR(t,e){xn.call(this,t,e)}function mR(t,e){xn.call(this,t,e)}function yR(t,e){xn.call(this,t,e)}function vR(t,e){xn.call(this,t,e)}function kR(t,e){xn.call(this,t,e)}function CR(t,e){xn.call(this,t,e)}function xR(t,e){xn.call(this,t,e)}function Ujt(t,e){this.b=t,this.a=e}function _et(t,e){xn.call(this,t,e)}function Gjt(t,e){this.a=t,this.b=e}function Xjt(t,e){this.a=t,this.b=e}function Vjt(t,e){this.a=t,this.b=e}function Oet(t,e){xn.call(this,t,e)}function Iet(t,e){xn.call(this,t,e)}function Yjt(t,e){this.a=t,this.b=e}function ASe(t,e){return mk(),e!=t}function DS(t){return tn(t.a),t.b}function TR(t){return PUe(t,t.c),t}function Jjt(){return oPt(),new Lle}function Qjt(){bL(),this.a=new Jnt}function Zjt(){Q_(),this.a=new yi}function tDt(){iq(),this.b=new yi}function eDt(t,e){this.b=t,this.d=e}function nDt(t,e){this.a=t,this.b=e}function rDt(t,e){this.a=t,this.b=e}function iDt(t,e){this.a=t,this.b=e}function sDt(t,e){this.b=t,this.a=e}function Pet(t,e){xn.call(this,t,e)}function jet(t,e){xn.call(this,t,e)}function $M(t,e){xn.call(this,t,e)}function Mb(t,e){xn.call(this,t,e)}function SR(t,e){xn.call(this,t,e)}function RM(t,e){xn.call(this,t,e)}function Det(t,e){xn.call(this,t,e)}function $et(t,e){xn.call(this,t,e)}function $S(t,e){xn.call(this,t,e)}function Ret(t,e){xn.call(this,t,e)}function ER(t,e){xn.call(this,t,e)}function NM(t,e){xn.call(this,t,e)}function BR(t,e){xn.call(this,t,e)}function AR(t,e){xn.call(this,t,e)}function MR(t,e){xn.call(this,t,e)}function LR(t,e){xn.call(this,t,e)}function Net(t,e){xn.call(this,t,e)}function FR(t,e){xn.call(this,t,e)}function qet(t,e){xn.call(this,t,e)}function RS(t,e){xn.call(this,t,e)}function _R(t,e){xn.call(this,t,e)}function Het(t,e){xn.call(this,t,e)}function NS(t,e){xn.call(this,t,e)}function Ket(t,e){xn.call(this,t,e)}function oDt(t,e){this.b=t,this.a=e}function cDt(t,e){this.b=t,this.a=e}function aDt(t,e){this.b=t,this.a=e}function lDt(t,e){this.b=t,this.a=e}function zet(t,e){this.a=t,this.b=e}function uDt(t,e){this.a=t,this.b=e}function hDt(t,e){this.a=t,this.b=e}function mt(t,e){this.a=t,this.b=e}function Dx(t,e){xn.call(this,t,e)}function qS(t,e){xn.call(this,t,e)}function iv(t,e){xn.call(this,t,e)}function $x(t,e){xn.call(this,t,e)}function HS(t,e){xn.call(this,t,e)}function OR(t,e){xn.call(this,t,e)}function qM(t,e){xn.call(this,t,e)}function Rx(t,e){xn.call(this,t,e)}function IR(t,e){xn.call(this,t,e)}function HM(t,e){xn.call(this,t,e)}function Z2(t,e){xn.call(this,t,e)}function KS(t,e){xn.call(this,t,e)}function Nx(t,e){xn.call(this,t,e)}function qx(t,e){xn.call(this,t,e)}function zS(t,e){xn.call(this,t,e)}function KM(t,e){xn.call(this,t,e)}function tm(t,e){xn.call(this,t,e)}function PR(t,e){xn.call(this,t,e)}function fDt(t,e){xn.call(this,t,e)}function zM(t,e){xn.call(this,t,e)}function dDt(t,e){this.a=t,this.b=e}function gDt(t,e){this.a=t,this.b=e}function bDt(t,e){this.a=t,this.b=e}function wDt(t,e){this.a=t,this.b=e}function pDt(t,e){this.a=t,this.b=e}function mDt(t,e){this.a=t,this.b=e}function Pi(t,e){this.a=t,this.b=e}function yDt(t,e){this.a=t,this.b=e}function vDt(t,e){this.a=t,this.b=e}function kDt(t,e){this.a=t,this.b=e}function CDt(t,e){this.a=t,this.b=e}function xDt(t,e){this.a=t,this.b=e}function TDt(t,e){this.a=t,this.b=e}function SDt(t,e){this.b=t,this.a=e}function EDt(t,e){this.b=t,this.a=e}function BDt(t,e){this.b=t,this.a=e}function ADt(t,e){this.b=t,this.a=e}function MDt(t,e){this.a=t,this.b=e}function LDt(t,e){this.a=t,this.b=e}function WM(t,e){xn.call(this,t,e)}function FDt(t,e){this.a=t,this.b=e}function _Dt(t,e){this.a=t,this.b=e}function sv(t,e){xn.call(this,t,e)}function ODt(t,e){this.f=t,this.c=e}function Wet(t,e){return sa(t.g,e)}function MSe(t,e){return sa(e.b,t)}function IDt(t,e){return RH(t.a,e)}function LSe(t,e){return-t.b.af(e)}function FSe(t,e){t&&Qn(OB,t,e)}function Uet(t,e){t.i=null,qF(t,e)}function _Se(t,e,n){SQt(e,FK(t,n))}function OSe(t,e,n){SQt(e,FK(t,n))}function ISe(t,e){aXe(t.a,o(e,58))}function PDt(t,e){iPe(t.a,o(e,12))}function UM(t,e){this.a=t,this.b=e}function jDt(t,e){this.a=t,this.b=e}function DDt(t,e){this.a=t,this.b=e}function $Dt(t,e){this.a=t,this.b=e}function RDt(t,e){this.a=t,this.b=e}function NDt(t,e){this.d=t,this.b=e}function qDt(t,e){this.e=t,this.a=e}function WS(t,e){this.b=t,this.c=e}function Get(t,e){this.i=t,this.g=e}function Xet(t,e){this.d=t,this.e=e}function PSe(t,e){yPe(new Ke(t),e)}function GM(t){return a7(t.c,t.b)}function go(t){return t?t.md():null}function it(t){return t??null}function Ji(t){return typeof t===Tz}function up(t){return typeof t===Uv}function hp(t){return typeof t===zut}function Lb(t,e){return nc(t,e)==0}function XM(t,e){return nc(t,e)>=0}function Hx(t,e){return nc(t,e)!=0}function VM(t,e){return jje(t.Kc(),e)}function tg(t,e){return t.Rd().Xb(e)}function HDt(t){return Pa(t),t.d.gc()}function YM(t){return t5(t==null),t}function Kx(t,e){return t.a+=""+e,t}function Qs(t,e){return t.a+=""+e,t}function zx(t,e){return t.a+=""+e,t}function fc(t,e){return t.a+=""+e,t}function Kn(t,e){return t.a+=""+e,t}function Vet(t,e){return t.a+=""+e,t}function jSe(t){return""+($e(t),t)}function KDt(t){ya(this),E5(this,t)}function zDt(){$it(),zrt.call(this)}function WDt(t,e){Vrt.call(this,t,e)}function UDt(t,e){Vrt.call(this,t,e)}function JM(t,e){Vrt.call(this,t,e)}function As(t,e){ni(t,e,t.c.b,t.c)}function em(t,e){ni(t,e,t.a,t.a.a)}function Yet(t){return ue(t,0),null}function GDt(){this.b=0,this.a=!1}function XDt(){this.b=0,this.a=!1}function VDt(){this.b=new ev(Bp(12))}function YDt(){YDt=Y,Tue=Sn(UH())}function JDt(){JDt=Y,Uhe=Sn(cee())}function QDt(){QDt=Y,b0e=Sn(NXt())}function Jet(){Jet=Y,wtt(),N1t=new hn}function Qu(t){return t.a=0,t.b=0,t}function ZDt(t,e){return t.a=e.g+1,t}function jR(t,e){wp.call(this,t,e)}function te(t,e){Xr.call(this,t,e)}function nm(t,e){Get.call(this,t,e)}function t$t(t,e){VS.call(this,t,e)}function DR(t,e){Yk.call(this,t,e)}function Yn(t,e){TM(),Qn(Hj,t,e)}function e$t(t,e){t.q.setTime(y0(e))}function DSe(t){p.clearTimeout(t)}function $Se(t){return Ln(t),new Wx(t)}function n$t(t,e){return it(t)===it(e)}function r$t(t,e){return t.a.a.a.cc(e)}function $R(t,e){return Al(t.a,0,e)}function Qet(t){return qMe(o(t,74))}function ov(t){return ji(($e(t),t))}function RSe(t){return ji(($e(t),t))}function i$t(t){return Ic(t.l,t.m,t.h)}function Zet(t,e){return ec(t.a,e.a)}function NSe(t,e){return zqt(t.a,e.a)}function qSe(t,e){return Tr(t.a,e.a)}function Xh(t,e){return t.indexOf(e)}function HSe(t,e){return t.j[e.p]==2}function Fb(t,e){return t==e?0:t?1:-1}function QM(t){return t<10?"0"+t:""+t}function Co(t){return typeof t===zut}function KSe(t){return t==Bw||t==o2}function zSe(t){return t==Bw||t==s2}function s$t(t,e){return ec(t.g,e.g)}function tnt(t){return po(t.b.b,t,0)}function o$t(){SL.call(this,0,0,0,0)}function Vh(){ZZ.call(this,new c1)}function ent(t,e){Pk(t,0,t.length,e)}function WSe(t,e){return St(t.a,e),e}function USe(t,e){return Tu(),e.a+=t}function GSe(t,e){return Tu(),e.a+=t}function XSe(t,e){return Tu(),e.c+=t}function VSe(t,e){return St(t.c,e),t}function nnt(t,e){return al(t.a,e),t}function c$t(t){this.a=Jjt(),this.b=t}function a$t(t){this.a=Jjt(),this.b=t}function Ms(t){this.a=t.a,this.b=t.b}function Wx(t){this.a=t,b$.call(this)}function l$t(t){this.a=t,b$.call(this)}function cv(){Bl.call(this,0,0,0,0)}function ZM(t){return al(new Ci,t)}function u$t(t){return KL(o(t,123))}function Ua(t){return t.vh()&&t.wh()}function rm(t){return t!=qh&&t!=qg}function fd(t){return t==ho||t==ko}function im(t){return t==Wl||t==Rh}function h$t(t){return t==gy||t==dy}function YSe(t,e){return ec(t.g,e.g)}function f$t(t,e){return new Yk(e,t)}function JSe(t,e){return new Yk(e,t)}function rnt(t){return mAe(t.b.Kc(),t.a)}function RR(t,e){iC(t,e),Kk(t,t.D)}function NR(t,e,n){OF(t,e),_F(t,n)}function sm(t,e,n){Zb(t,e),Qb(t,n)}function Tl(t,e,n){Dc(t,e),$c(t,n)}function US(t,e,n){Rk(t,e),qk(t,n)}function GS(t,e,n){Nk(t,e),Hk(t,n)}function d$t(t,e,n){Rnt.call(this,t,e,n)}function int(t){ODt.call(this,t,!0)}function g$t(){BM.call(this,"Tail",3)}function b$t(){BM.call(this,"Head",1)}function eg(t){of(),_je.call(this,t)}function _b(t){SL.call(this,t,t,t,t)}function qR(t){t.c=at(Hi,ye,1,0,5,1)}function snt(t){return t.b&&oz(t),t.a}function ont(t){return t.b&&oz(t),t.c}function QSe(t,e){Ih||(t.b=e)}function ZSe(t,e){return t[t.length]=e}function t9e(t,e){return t[t.length]=e}function e9e(t,e){return Ap(e,mh(t))}function n9e(t,e){return Ap(e,mh(t))}function r9e(t,e){return $F(DN(t.d),e)}function i9e(t,e){return $F(DN(t.g),e)}function s9e(t,e){return $F(DN(t.j),e)}function rs(t,e){Xr.call(this,t.b,e)}function o9e(t,e){mn(ac(t.a),jKt(e))}function c9e(t,e){mn(Ia(t.a),DKt(e))}function a9e(t,e,n){Tl(n,n.i+t,n.j+e)}function w$t(t,e,n){ei(t.c[e.g],e.g,n)}function l9e(t,e,n){o(t.c,71).Gi(e,n)}function HR(t,e,n){return ei(t,e,n),n}function p$t(t){jc(t.Sf(),new jLt(t))}function om(t){return t!=null?Mr(t):0}function u9e(t){return t==null?0:Mr(t)}function Ux(t){cr(),mb.call(this,t)}function m$t(t){this.a=t,vrt.call(this,t)}function wh(){wh=Y,p.Math.log(2)}function Sl(){Sl=Y,nd=(kjt(),Mpe)}function y$t(){y$t=Y,CV=new R5(jY)}function _n(){_n=Y,new v$t,new Tt}function v$t(){new hn,new hn,new hn}function h9e(){throw N(new Yd(ele))}function f9e(){throw N(new Yd(ele))}function d9e(){throw N(new Yd(nle))}function g9e(){throw N(new Yd(nle))}function KR(t){this.a=t,bM.call(this,t)}function zR(t){this.a=t,bM.call(this,t)}function k$t(t,e){qb(),this.a=t,this.b=e}function b9e(t,e){Ln(e),fm(t).Jc(new X)}function gi(t,e){kN(t.c,t.c.length,e)}function Fo(t){return t.a<t.c.c.length}function cnt(t){return t.a<t.c.a.length}function C$t(t,e){return t.a?t.b:e.We()}function ec(t,e){return t<e?-1:t>e?1:0}function ant(t,e){return nc(t,e)>0?t:e}function Ic(t,e,n){return{l:t,m:e,h:n}}function w9e(t,e){t.a!=null&&PDt(e,t.a)}function p9e(t){xs(t,null),ts(t,null)}function m9e(t,e,n){return Qn(t.g,n,e)}function cm(t,e,n){return Fct(e,n,t.c)}function y9e(t,e,n){return Qn(t.k,n,e)}function v9e(t,e,n){return stn(t,e,n),n}function k9e(t,e){return rl(),e.n.b+=t}function x$t(t){Fit.call(this),this.b=t}function lnt(t){Ynt.call(this),this.a=t}function T$t(){BM.call(this,"Range",2)}function tL(t){this.b=t,this.a=new Tt}function S$t(t){this.b=new n$,this.a=t}function E$t(t){t.a=new Br,t.c=new Br}function B$t(t){t.a=new hn,t.d=new hn}function A$t(t){sq(t,null),oq(t,null)}function M$t(t,e){return ctn(t.a,e,null)}function C9e(t,e){return Qn(t.a,e.a,e)}function us(t){return new mt(t.a,t.b)}function unt(t){return new mt(t.c,t.d)}function x9e(t){return new mt(t.c,t.d)}function Gx(t,e){return yZe(t.c,t.b,e)}function Q(t,e){return t!=null&&YH(t,e)}function WR(t,e){return fDe(t.Kc(),e)!=-1}function eL(t){return t.Ob()?t.Pb():null}function T9e(t){this.b=(le(),new S$(t))}function hnt(t){this.a=t,hn.call(this)}function L$t(){VS.call(this,null,null)}function F$t(){aL.call(this,null,null)}function _$t(){xn.call(this,"INSTANCE",0)}function O$t(){uat(),this.a=new r6(c0t)}function I$t(t){return nf(t,0,t.length)}function S9e(t,e){return new Q$t(t.Kc(),e)}function fnt(t,e){return t.a.Bc(e)!=null}function P$t(t,e){pn(t),t.Gc(o(e,15))}function E9e(t,e,n){t.c.bd(e,o(n,136))}function B9e(t,e,n){t.c.Ui(e,o(n,136))}function j$t(t,e){t.c&&(Ort(e),aKt(e))}function A9e(t,e){t.q.setHours(e),a6(t,e)}function M9e(t,e){Pb(e,t.a.a.a,t.a.a.b)}function L9e(t,e,n,r){ei(t.a[e.g],n.g,r)}function UR(t,e,n){return t.a[e.g][n.g]}function F9e(t,e){return t.e[e.c.p][e.p]}function _9e(t,e){return t.c[e.c.p][e.p]}function ph(t,e){return t.a[e.c.p][e.p]}function O9e(t,e){return t.j[e.p]=zGe(e)}function GR(t,e){return t.a.Bc(e)!=null}function I9e(t,e){return nt(ct(e.a))<=t}function P9e(t,e){return nt(ct(e.a))>=t}function j9e(t,e){return wst(t.f,e.Pg())}function av(t,e){return t.a*e.a+t.b*e.b}function D9e(t,e){return t.a<crt(e)?-1:1}function $9e(t,e){return wst(t.b,e.Pg())}function R9e(t,e,n){return n?e!=0:e!=t-1}function D$t(t,e,n){t.a=e^1502,t.b=n^rW}function N9e(t,e,n){return t.a=e,t.b=n,t}function Yh(t,e){return t.a*=e,t.b*=e,t}function St(t,e){return ke(t.c,e),!0}function Xx(t,e,n){return ei(t.g,e,n),n}function ki(t,e,n){a9.call(this,t,e,n)}function nL(t,e,n){ki.call(this,t,e,n)}function dnt(t,e,n){mL.call(this,t,e,n)}function $$t(t,e,n){mL.call(this,t,e,n)}function R$t(t,e,n){dnt.call(this,t,e,n)}function ia(t,e,n){ki.call(this,t,e,n)}function N$t(t,e,n){nL.call(this,t,e,n)}function gnt(t,e,n){a9.call(this,t,e,n)}function am(t,e,n){a9.call(this,t,e,n)}function q$t(t,e,n){gnt.call(this,t,e,n)}function rL(t){t.j=at(Z1t,vt,319,0,0,1)}function lm(){this.a=at(Hi,ye,1,8,5,1)}function bnt(){this.Bb|=256,this.Bb|=512}function Ke(t){this.i=t,this.f=this.i.j}function ng(t){this.c=t,this.a=this.c.a}function um(t,e){this.a=t,bM.call(this,e)}function wnt(t,e){return nRe(t,new V1,e).a}function pnt(t){if(!t)throw N(new vS)}function mnt(t){if(!t)throw N(new na)}function ynt(){ynt=Y,ynt(),Ole=new Is}function H$t(){H$t=Y,eR(),i2e=new LMt}function fk(){fk=Y,lgt=new R$(null)}function q9e(t){w9(t,Mce),X_(t,sen(t))}function K$t(t){t.a=o(Be(t.b.a,4),129)}function z$t(t){t.a=o(Be(t.b.a,4),129)}function W$t(t){t.b.Qb(),--t.d.f.d,LL(t.d)}function vnt(t){this.a=t,UMt.call(this,t.d)}function U$t(t,e){this.a=t,G$.call(this,e)}function G$t(t,e){this.a=t,G$.call(this,e)}function X$t(t,e){this.a=t,G$.call(this,e)}function knt(t,e){this.a=e,G$.call(this,t)}function V$t(t,e){this.a=e,wq.call(this,t)}function Y$t(t,e){this.a=t,wq.call(this,e)}function J$t(t,e){this.a=e,wM.call(this,t)}function Q$t(t,e){this.a=e,wM.call(this,t)}function Ve(t,e){return Ln(e),new J$t(t,e)}function Z$t(t,e){return new TZt(t.a,t.b,e)}function Cnt(t,e,n){return t.indexOf(e,n)}function iL(t,e){return t.lastIndexOf(e)}function Vx(t){return t==null?Jc:To(t)}function H9e(t){return t==null?null:t.name}function K9e(t){return t.l+t.m*Yv+t.h*P0}function z9e(t){return CS(t.a)?$Kt(t):null}function Jl(t){wS.call(this,($e(t),t))}function el(t){wS.call(this,($e(t),t))}function tRt(t){p$.call(this,o(Ln(t),34))}function eRt(t){p$.call(this,o(Ln(t),34))}function XR(t){ZZ.call(this,new Sst(t))}function sL(t){V3.call(this,t),this.a=t}function xnt(t){X3.call(this,t),this.a=t}function Tnt(t){nk.call(this,t),this.a=t}function nRt(){rL(this),UL(this),this.je()}function rRt(t){this.a=t,x$.call(this,t)}function Ga(t){return tn(t.a!=null),t.a}function iRt(t,e){return St(e.a,t.a),t.a}function sRt(t,e){return St(e.b,t.a),t.a}function Ob(t,e){return St(e.a,t.a),t.a}function XS(t,e,n){return rH(t,e,e,n),t}function oL(t,e){return++t.b,St(t.a,e)}function Snt(t,e){return++t.b,Xc(t.a,e)}function W9e(t,e){return Tr(t.c.d,e.c.d)}function U9e(t,e){return Tr(t.c.c,e.c.c)}function G9e(t,e){return Tr(t.n.a,e.n.a)}function Uc(t,e){return o(gr(t.b,e),15)}function X9e(t,e){return t.n.b=($e(e),e)}function V9e(t,e){return t.n.b=($e(e),e)}function sa(t,e){return!!e&&t.b[e.g]==e}function Yx(t){return Fo(t.a)||Fo(t.b)}function Ib(t){return t.$H||(t.$H=++Ann)}function Y9e(t){return t.a!=null?t.a:null}function J9e(t,e){return Tr(t.e.b,e.e.b)}function Q9e(t,e){return Tr(t.e.a,e.e.a)}function Z9e(t,e,n){return qzt(t,e,n,t.b)}function Ent(t,e,n){return qzt(t,e,n,t.c)}function t7e(t){return Tu(),!!t&&!t.dc()}function oRt(){Sx(),this.b=new yFt(this)}function cL(){cL=Y,PI=new Xr(vse,0)}function Te(){Te=Y,Ag=!1,s4=!0}function n1(t){var e;e=t.a,t.a=t.b,t.b=e}function VS(t,e){Mx(),this.a=t,this.b=e}function aL(t,e){e1(),this.b=t,this.c=e}function VR(t,e){TN(),this.f=e,this.d=t}function Bnt(t,e){bst(e,t),this.d=t,this.c=e}function Ant(t,e){$ct.call(this,t,e,null)}function cRt(t,e,n,r){Yrt.call(this,t,e,n,r)}function lv(t){this.d=t,Ke.call(this,t)}function uv(t){this.c=t,Ke.call(this,t)}function YS(t){this.c=t,lv.call(this,t)}function e7e(t){return new xp(3,t)}function Lf(t){return cl(t,Xp),new Ec(t)}function aRt(t){return Mk(),parseInt(t)||-1}function n7e(t){return oM(),Tn((bKt(),hle),t)}function dk(t,e,n){return Cnt(t,Yc(e),n)}function YR(t,e){return new cNt(t,t.gc(),e)}function r7e(t,e){return SN(t.c).Md().Xb(e)}function gk(t,e,n){var r;r=t.fd(e),r.Rb(n)}function Mnt(t,e,n){o(j9(t,e),21).Fc(n)}function i7e(t,e,n){MH(t.a,n),B_(t.a,e)}function JS(t){Q(t,158)&&o(t,158).pi()}function lRt(t){krt.call(this,t,null,null)}function JR(t){cp(),this.b=t,this.a=!0}function uRt(t){mM(),this.b=t,this.a=!0}function bk(t){return tn(t.b!=0),t.a.a.c}function Cu(t){return tn(t.b!=0),t.c.b.c}function s7e(t,e){return rH(t,e,e+1,""),t}function Or(t,e){return!!t.q&&Pc(t.q,e)}function hRt(t){return t.b=o(Sit(t.a),44)}function o7e(t){return t.f!=null?t.f:""+t.g}function QR(t){return t.f!=null?t.f:""+t.g}function c7e(t,e){return t>0?e/(t*t):e*100}function a7e(t,e){return t>0?e*e/t:e*e*100}function fp(t,e){return o(Th(t.a,e),34)}function l7e(t,e){return mg(),ie(t,e.e,e)}function u7e(t,e,n){return kM(),n.Mg(t,e)}function h7e(t){return Cd(),t.e.a+t.f.a/2}function f7e(t,e,n){return Cd(),n.e.a-t*e}function d7e(t){return Cd(),t.e.b+t.f.b/2}function g7e(t,e,n){return Cd(),n.e.b-t*e}function fRt(t){t.d=new lRt(t),t.e=new hn}function dRt(){this.a=new Gb,this.b=new Gb}function gRt(t){this.c=t,this.a=1,this.b=1}function bRt(t){Cz(),_Ot(this),this.Ff(t)}function b7e(t,e,n){yF(),t.pf(e)&&n.Cd(t)}function w7e(t,e,n){return St(e,EYt(t,n))}function Pb(t,e,n){return t.a+=e,t.b+=n,t}function p7e(t,e,n){return t.a*=e,t.b*=n,t}function Lnt(t,e){return t.a=e.a,t.b=e.b,t}function lL(t){return t.a=-t.a,t.b=-t.b,t}function Jx(t,e,n){return t.a-=e,t.b-=n,t}function wRt(t){$r.call(this),C5(this,t)}function pRt(){xn.call(this,"GROW_TREE",0)}function mRt(){xn.call(this,"POLYOMINO",0)}function Xa(t,e,n){aa.call(this,t,e,n,2)}function m7e(t,e,n){D5(ac(t.a),e,jKt(n))}function yRt(t,e){Mx(),VS.call(this,t,e)}function Fnt(t,e){e1(),aL.call(this,t,e)}function vRt(t,e){e1(),Fnt.call(this,t,e)}function kRt(t,e){e1(),aL.call(this,t,e)}function y7e(t,e){return t.c.Fc(o(e,136))}function v7e(t,e,n){D5(Ia(t.a),e,DKt(n))}function CRt(t){this.c=t,Dc(t,0),$c(t,0)}function ZR(t,e){Sl(),AL.call(this,t,e)}function xRt(t,e){Sl(),ZR.call(this,t,e)}function _nt(t,e){Sl(),ZR.call(this,t,e)}function Ont(t,e){Sl(),AL.call(this,t,e)}function TRt(t,e){Sl(),_nt.call(this,t,e)}function SRt(t,e){Sl(),Ont.call(this,t,e)}function ERt(t,e){Sl(),AL.call(this,t,e)}function k7e(t,e,n){return e.zl(t.e,t.c,n)}function C7e(t,e,n){return e.Al(t.e,t.c,n)}function Int(t,e,n){return uO(P9(t,e),n)}function tN(t,e){return dg(t.e,o(e,54))}function x7e(t){return t==null?null:Xtn(t)}function T7e(t){return t==null?null:qze(t)}function S7e(t){return t==null?null:To(t)}function E7e(t){return t==null?null:To(t)}function _t(t){return t5(t==null||up(t)),t}function ct(t){return t5(t==null||hp(t)),t}function On(t){return t5(t==null||Ji(t)),t}function dd(t){t.o==null&&yGe(t)}function Pnt(t){if(!t)throw N(new vS)}function B7e(t){if(!t)throw N(new L$)}function tn(t){if(!t)throw N(new Mo)}function dp(t){if(!t)throw N(new na)}function BRt(t){if(!t)throw N(new xl)}function wk(){wk=Y,PB=new uIt,new hIt}function hm(){hm=Y,py=new vr("root")}function jnt(){lXt.call(this),this.Bb|=js}function A7e(t,e){this.d=t,lLt(this),this.b=e}function Dnt(t,e){Bq.call(this,t),this.a=e}function $nt(t,e){Bq.call(this,t),this.a=e}function Rnt(t,e,n){bF.call(this,t,e,n,null)}function ARt(t,e,n){bF.call(this,t,e,n,null)}function QS(t,e){this.c=t,ak.call(this,t,e)}function Qx(t,e){this.a=t,QS.call(this,t,e)}function Nnt(t){this.q=new p.Date(y0(t))}function MRt(t){return t>8?0:t+1}function LRt(t,e){Ih||St(t.a,e)}function M7e(t,e){return LS(),Vk(e.d.i,t)}function L7e(t,e){return Fv(),new one(e,t)}function F7e(t,e,n){return t.Ne(e,n)<=0?n:e}function _7e(t,e,n){return t.Ne(e,n)<=0?e:n}function O7e(t,e){return o(Th(t.b,e),143)}function I7e(t,e){return o(Th(t.c,e),233)}function eN(t){return o(Pt(t.a,t.b),294)}function FRt(t){return new mt(t.c,t.d+t.a)}function _Rt(t){return $e(t),t?1231:1237}function ORt(t){return rl(),h$t(o(t,203))}function gp(){gp=Y,Pgt=Yt((Qa(),cb))}function P7e(t,e){e.a?RUe(t,e):GR(t.a,e.b)}function ZS(t,e,n){++t.j,t.tj(),Eq(t,e,n)}function IRt(t,e,n){++t.j,t.qj(e,t.Zi(e,n))}function PRt(t,e,n){var r;r=t.fd(e),r.Rb(n)}function qnt(t,e,n){return n=hl(t,e,6,n),n}function Hnt(t,e,n){return n=hl(t,e,3,n),n}function Knt(t,e,n){return n=hl(t,e,9,n),n}function Jh(t,e){return w9(e,dht),t.f=e,t}function znt(t,e){return(e&ar)%t.d.length}function jRt(t,e,n){return xut(t.c,t.b,e,n)}function DRt(t,e){this.c=t,Jb.call(this,e)}function $Rt(t,e){this.a=t,TOt.call(this,e)}function t9(t,e){this.a=t,TOt.call(this,e)}function Xr(t,e){vr.call(this,t),this.a=e}function Wnt(t,e){ftt.call(this,t),this.a=e}function nN(t,e){ftt.call(this,t),this.a=e}function j7e(t){Sct.call(this,0,0),this.f=t}function RRt(t,e,n){return t.a+=nf(e,0,n),t}function e9(t){return!t.a&&(t.a=new Fe),t.a}function Unt(t,e){var n;return n=t.e,t.e=e,n}function Gnt(t,e){var n;return n=e,!!t.Fe(n)}function D7e(t,e){return Te(),t==e?0:t?1:-1}function bp(t,e){t.a.bd(t.b,e),++t.b,t.c=-1}function n9(t){t.b?n9(t.b):t.f.c.zc(t.e,t.d)}function NRt(t){ya(t.e),t.d.b=t.d,t.d.a=t.d}function $7e(t,e,n){l0(),oLt(t,e.Ve(t.a,n))}function Xnt(t,e,n){return mv(t,o(e,22),n)}function xu(t,e){return uM(new Array(e),t)}function R7e(t){return Mn(rg(t,32))^Mn(t)}function rN(t){return String.fromCharCode(t)}function N7e(t){return t==null?null:t.message}function q7e(t,e,n){return t.apply(e,n)}function H7e(t,e){var n;n=t[nW],n.call(t,e)}function K7e(t,e){var n;n=t[nW],n.call(t,e)}function z7e(t,e){return LS(),!Vk(e.d.i,t)}function Vnt(t,e,n,r){SL.call(this,t,e,n,r)}function qRt(){uL.call(this),this.a=new ns}function Ynt(){this.n=new ns,this.o=new ns}function HRt(){this.b=new ns,this.c=new Tt}function KRt(){this.a=new Tt,this.b=new Tt}function zRt(){this.a=new fS,this.b=new HOt}function Jnt(){this.b=new c1,this.a=new c1}function WRt(){this.b=new yi,this.a=new yi}function URt(){this.b=new hn,this.a=new hn}function GRt(){this.b=new yPt,this.a=new USt}function XRt(){this.a=new iMt,this.b=new D8t}function VRt(){this.a=new Tt,this.d=new Tt}function uL(){this.n=new Xy,this.i=new cv}function YRt(t){this.a=(cl(t,Xp),new Ec(t))}function JRt(t){this.a=(cl(t,Xp),new Ec(t))}function W7e(t){return t<100?null:new Y1(t)}function U7e(t,e){return t.n.a=($e(e),e+10)}function G7e(t,e){return t.n.a=($e(e),e+10)}function X7e(t,e){return e==t||mC(G_(e),t)}function QRt(t,e){return Qn(t.a,e,"")==null}function V7e(t,e){var n;return n=e.qi(t.a),n}function lr(t,e){return t.a+=e.a,t.b+=e.b,t}function Ni(t,e){return t.a-=e.a,t.b-=e.b,t}function Y7e(t){return sp(t.j.c,0),t.a=-1,t}function Qnt(t,e,n){return n=hl(t,e,11,n),n}function J7e(t,e,n){n!=null&&RF(e,cK(t,n))}function Q7e(t,e,n){n!=null&&NF(e,cK(t,n))}function hv(t,e,n,r){dt.call(this,t,e,n,r)}function Znt(t,e,n,r){dt.call(this,t,e,n,r)}function ZRt(t,e,n,r){Znt.call(this,t,e,n,r)}function tNt(t,e,n,r){PL.call(this,t,e,n,r)}function iN(t,e,n,r){PL.call(this,t,e,n,r)}function trt(t,e,n,r){PL.call(this,t,e,n,r)}function eNt(t,e,n,r){iN.call(this,t,e,n,r)}function ert(t,e,n,r){iN.call(this,t,e,n,r)}function ge(t,e,n,r){trt.call(this,t,e,n,r)}function nNt(t,e,n,r){ert.call(this,t,e,n,r)}function rNt(t,e,n,r){Zrt.call(this,t,e,n,r)}function wp(t,e){ro.call(this,D6+t+H0+e)}function nrt(t,e){return t.jk().wi().ri(t,e)}function rrt(t,e){return t.jk().wi().ti(t,e)}function iNt(t,e){return $e(t),it(t)===it(e)}function ne(t,e){return $e(t),it(t)===it(e)}function Z7e(t,e){return t.b.Bd(new Bjt(t,e))}function tEe(t,e){return t.b.Bd(new Ajt(t,e))}function sNt(t,e){return t.b.Bd(new Mjt(t,e))}function eEe(t,e){return t.e=o(t.d.Kb(e),159)}function irt(t,e,n){return t.lastIndexOf(e,n)}function nEe(t,e,n){return Tr(t[e.a],t[n.a])}function rEe(t,e){return gt(e,(Ft(),GE),t)}function iEe(t,e){return ec(e.a.d.p,t.a.d.p)}function sEe(t,e){return ec(t.a.d.p,e.a.d.p)}function oEe(t,e){return Tr(t.c-t.s,e.c-e.s)}function cEe(t,e){return Tr(t.b.e.a,e.b.e.a)}function aEe(t,e){return Tr(t.c.e.a,e.c.e.a)}function oNt(t){return t.c?po(t.c.a,t,0):-1}function fv(t){return t==ob||t==td||t==xc}function srt(t,e){this.c=t,FN.call(this,t,e)}function cNt(t,e,n){this.a=t,Bnt.call(this,e,n)}function aNt(t){this.c=t,JM.call(this,U7,0)}function lNt(t,e,n){this.c=e,this.b=n,this.a=t}function r9(t){mk(),this.d=t,this.a=new lm}function uNt(t){Qh(),this.a=(le(),new nk(t))}function lEe(t,e){fd(t.f)?hGe(t,e):HKe(t,e)}function hNt(t,e){CAe.call(this,t,t.length,e)}function uEe(t,e){Ih||e&&(t.d=e)}function fNt(t,e){return Q(e,15)&&Nee(t.c,e)}function hEe(t,e,n){return o(t.c,71).Wk(e,n)}function hL(t,e,n){return o(t.c,71).Xk(e,n)}function fEe(t,e,n){return k7e(t,o(e,343),n)}function ort(t,e,n){return C7e(t,o(e,343),n)}function dEe(t,e,n){return OQt(t,o(e,343),n)}function dNt(t,e,n){return eze(t,o(e,343),n)}function Zx(t,e){return e==null?null:_p(t.b,e)}function crt(t){return hp(t)?($e(t),t):t.ue()}function fL(t){return!isNaN(t)&&!isFinite(t)}function sN(t){E$t(this),nl(this),cs(this,t)}function ma(t){qR(this),xrt(this.c,0,t.Pc())}function El(t,e,n){this.a=t,this.b=e,this.c=n}function gNt(t,e,n){this.a=t,this.b=e,this.c=n}function bNt(t,e,n){this.d=t,this.b=n,this.a=e}function wNt(t){this.a=t,hd(),Yo(Date.now())}function pNt(t){Ya(t.a),Cst(t.c,t.b),t.b=null}function oN(){oN=Y,agt=new Ri,Fle=new Oi}function mNt(){mNt=Y,Ipe=at(Hi,ye,1,0,5,1)}function yNt(){yNt=Y,Qpe=at(Hi,ye,1,0,5,1)}function art(){art=Y,Zpe=at(Hi,ye,1,0,5,1)}function Qh(){Qh=Y,new btt((le(),le(),Os))}function gEe(t){return jk(),Tn((SUt(),Ile),t)}function bEe(t){return Ca(),Tn((bUt(),Nle),t)}function wEe(t){return y_(),Tn((tWt(),Ule),t)}function pEe(t){return EF(),Tn((eWt(),Gle),t)}function mEe(t){return eO(),Tn((tVt(),Xle),t)}function yEe(t){return ih(),Tn((dUt(),Jle),t)}function vEe(t){return ka(),Tn((fUt(),Zle),t)}function kEe(t){return Vc(),Tn((gUt(),eue),t)}function CEe(t){return bO(),Tn((YDt(),Tue),t)}function xEe(t){return rw(),Tn((BUt(),Eue),t)}function TEe(t){return Dv(),Tn((MUt(),Aue),t)}function SEe(t){return z5(),Tn((AUt(),Fue),t)}function EEe(t){return yM(),Tn((Ezt(),_ue),t)}function BEe(t){return BF(),Tn((nWt(),Vue),t)}function AEe(t){return v5(),Tn((wUt(),khe),t)}function MEe(t){return ys(),Tn((uGt(),She),t)}function LEe(t){return Qk(),Tn((FUt(),Lhe),t)}function FEe(t){return M0(),Tn((LUt(),jhe),t)}function lrt(t,e){if(!t)throw N(new _e(e))}function pk(t){if(!t)throw N(new io(Wut))}function cN(t,e){if(t!=e)throw N(new xl)}function vNt(t,e,n){this.a=t,this.b=e,this.c=n}function urt(t,e,n){this.a=t,this.b=e,this.c=n}function kNt(t,e,n){this.a=t,this.b=e,this.c=n}function dL(t,e,n){this.b=t,this.a=e,this.c=n}function hrt(t,e,n){this.b=t,this.c=e,this.a=n}function frt(t,e,n){this.a=t,this.b=e,this.c=n}function gL(t,e,n){this.e=e,this.b=t,this.d=n}function CNt(t,e,n){this.b=t,this.a=e,this.c=n}function _Ee(t,e,n){return l0(),t.a.Yd(e,n),e}function aN(t){var e;return e=new yr,e.e=t,e}function drt(t){var e;return e=new GOt,e.b=t,e}function i9(){i9=Y,WI=new f6t,UI=new d6t}function bL(){bL=Y,Jhe=new N6t,Yhe=new q6t}function Tu(){Tu=Y,nfe=new VTt,rfe=new YTt}function OEe(t){return ew(),Tn((GWt(),dfe),t)}function IEe(t){return Es(),Tn((JDt(),Uhe),t)}function PEe(t){return QF(),Tn((OUt(),Vhe),t)}function jEe(t){return Eh(),Tn((_Ut(),ofe),t)}function DEe(t){return Dp(),Tn((hGt(),afe),t)}function $Ee(t){return Z_(),Tn((RXt(),gfe),t)}function REe(t){return qv(),Tn((jGt(),bfe),t)}function NEe(t){return mF(),Tn((lWt(),wfe),t)}function qEe(t){return x5(),Tn((WWt(),pfe),t)}function HEe(t){return PF(),Tn((UWt(),mfe),t)}function KEe(t){return p1(),Tn((fGt(),yfe),t)}function zEe(t){return N9(),Tn((sWt(),vfe),t)}function WEe(t){return vC(),Tn((RGt(),Efe),t)}function UEe(t){return Us(),Tn((wVt(),Bfe),t)}function GEe(t){return Jk(),Tn((VWt(),Afe),t)}function XEe(t){return kd(),Tn((YWt(),Lfe),t)}function VEe(t){return cF(),Tn((iWt(),Ffe),t)}function YEe(t){return y7(),Tn(($Gt(),Sfe),t)}function JEe(t){return E0(),Tn((XWt(),Cfe),t)}function QEe(t){return N_(),Tn((DGt(),xfe),t)}function ZEe(t){return O9(),Tn((oWt(),Tfe),t)}function tBe(t){return Dl(),Tn((gGt(),_fe),t)}function eBe(t){return C1(),Tn((JXt(),nge),t)}function nBe(t){return O5(),Tn((JWt(),rge),t)}function rBe(t){return Pp(),Tn((IUt(),ige),t)}function iBe(t){return K5(),Tn((dGt(),sge),t)}function sBe(t){return nu(),Tn((pVt(),oge),t)}function oBe(t){return rf(),Tn((PUt(),cge),t)}function cBe(t){return $9(),Tn((cWt(),age),t)}function aBe(t){return Ws(),Tn((tUt(),uge),t)}function lBe(t){return VF(),Tn((QWt(),hge),t)}function uBe(t){return L5(),Tn((ZWt(),fge),t)}function hBe(t){return sC(),Tn((eUt(),dge),t)}function fBe(t){return IF(),Tn((nUt(),gge),t)}function dBe(t){return ZF(),Tn((rUt(),bge),t)}function gBe(t){return tw(),Tn((hUt(),Fge),t)}function bBe(t){return p5(),Tn((aWt(),jge),t)}function wBe(t){return tf(),Tn((fWt(),Kge),t)}function pBe(t){return yh(),Tn((dWt(),Wge),t)}function mBe(t){return eh(),Tn((gWt(),o0e),t)}function yBe(t){return Xb(),Tn((bWt(),d0e),t)}function vBe(t){return Nv(),Tn((HUt(),g0e),t)}function kBe(t){return o6(),Tn((QDt(),b0e),t)}function CBe(t){return F5(),Tn((iUt(),w0e),t)}function xBe(t){return _5(),Tn((qUt(),R0e),t)}function TBe(t){return iF(),Tn((uWt(),N0e),t)}function SBe(t){return HF(),Tn((hWt(),W0e),t)}function EBe(t){return j_(),Tn((bGt(),G0e),t)}function BBe(t){return t7(),Tn((sUt(),V0e),t)}function ABe(t){return vF(),Tn((wWt(),X0e),t)}function MBe(t){return M_(),Tn((NUt(),bbe),t)}function LBe(t){return XF(),Tn((oUt(),wbe),t)}function FBe(t){return g_(),Tn((cUt(),pbe),t)}function _Be(t){return S_(),Tn((aUt(),ybe),t)}function OBe(t){return a_(),Tn((lUt(),Cbe),t)}function IBe(t){return fF(),Tn((pWt(),Kbe),t)}function PBe(t){return Uk(),Tn((rWt(),Whe),t)}function jBe(t){return je(),Tn((NGt(),Nhe),t)}function DBe(t){return kF(),Tn((uUt(),zbe),t)}function $Be(t){return iH(),Tn((mWt(),Wbe),t)}function RBe(t){return n6(),Tn((wGt(),Gbe),t)}function NBe(t){return CM(),Tn((Izt(),Vbe),t)}function qBe(t){return o7(),Tn((mUt(),Xbe),t)}function HBe(t){return xM(),Tn((Pzt(),Jbe),t)}function KBe(t){return A9(),Tn((yWt(),Qbe),t)}function zBe(t){return k7(),Tn((pGt(),Zbe),t)}function WBe(t){return Ex(),Tn((jzt(),bwe),t)}function UBe(t){return Y9(),Tn((vWt(),wwe),t)}function GBe(t){return oh(),Tn((yGt(),Cwe),t)}function XBe(t){return k1(),Tn((DXt(),Twe),t)}function VBe(t){return Df(),Tn((qGt(),Swe),t)}function YBe(t){return F0(),Tn((HGt(),Fwe),t)}function JBe(t){return Ti(),Tn((mGt(),Ywe),t)}function QBe(t){return Sh(),Tn((yUt(),Jwe),t)}function ZBe(t){return Sd(),Tn((KUt(),Qwe),t)}function tAe(t){return $_(),Tn((KGt(),Zwe),t)}function eAe(t){return Td(),Tn((pUt(),epe),t)}function nAe(t){return ll(),Tn((zUt(),rpe),t)}function rAe(t){return qp(),Tn((ZXt(),ipe),t)}function iAe(t){return xm(),Tn((vGt(),spe),t)}function sAe(t){return es(),Tn((zGt(),ope),t)}function oAe(t){return xa(),Tn((WGt(),cpe),t)}function cAe(t){return At(),Tn((kGt(),ape),t)}function aAe(t){return Qa(),Tn((WUt(),dpe),t)}function lAe(t){return Da(),Tn((QXt(),gpe),t)}function uAe(t){return Iv(),Tn((vUt(),bpe),t)}function hAe(t,e){return $e(t),t+($e(e),e)}function fAe(t){return lN(),Tn((kWt(),wpe),t)}function dAe(t){return u_(),Tn((UUt(),ppe),t)}function gAe(t){return t_(),Tn((GUt(),vpe),t)}function mk(){mk=Y,Opt=(At(),De),JP=qe}function lN(){lN=Y,Yyt=new QNt,Jyt=new Dqt}function bAe(t){return!t.e&&(t.e=new Tt),t.e}function uN(t,e){this.c=t,this.a=e,this.b=e-t}function xNt(t,e,n){this.a=t,this.b=e,this.c=n}function hN(t,e,n){this.a=t,this.b=e,this.c=n}function grt(t,e,n){this.a=t,this.b=e,this.c=n}function brt(t,e,n){this.a=t,this.b=e,this.c=n}function TNt(t,e,n){this.a=t,this.b=e,this.c=n}function SNt(t,e,n){this.a=t,this.b=e,this.c=n}function r1(t,e,n){this.e=t,this.a=e,this.c=n}function ENt(t,e,n){Sl(),Oit.call(this,t,e,n)}function fN(t,e,n){Sl(),wit.call(this,t,e,n)}function wrt(t,e,n){Sl(),wit.call(this,t,e,n)}function prt(t,e,n){Sl(),wit.call(this,t,e,n)}function BNt(t,e,n){Sl(),fN.call(this,t,e,n)}function mrt(t,e,n){Sl(),fN.call(this,t,e,n)}function ANt(t,e,n){Sl(),mrt.call(this,t,e,n)}function MNt(t,e,n){Sl(),wrt.call(this,t,e,n)}function LNt(t,e,n){Sl(),prt.call(this,t,e,n)}function dN(t){SL.call(this,t.d,t.c,t.a,t.b)}function yrt(t){SL.call(this,t.d,t.c,t.a,t.b)}function vrt(t){this.d=t,lLt(this),this.b=gMe(t.d)}function wAe(t){return CC(),Tn(($Xt(),Ope),t)}function s9(t,e){return Ln(t),Ln(e),new $Pt(t,e)}function dv(t,e){return Ln(t),Ln(e),new KNt(t,e)}function pAe(t,e){return Ln(t),Ln(e),new zNt(t,e)}function mAe(t,e){return Ln(t),Ln(e),new GPt(t,e)}function gN(t){return tn(t.b!=0),_l(t,t.a.a)}function yAe(t){return tn(t.b!=0),_l(t,t.c.b)}function vAe(t){return!t.c&&(t.c=new G3),t.c}function yk(t){var e;return e=new Tt,$q(e,t),e}function kAe(t){var e;return e=new yi,$q(e,t),e}function FNt(t){var e;return e=new vtt,Jq(e,t),e}function o9(t){var e;return e=new $r,Jq(e,t),e}function o(t,e){return t5(t==null||YH(t,e)),t}function CAe(t,e,n){Lqt.call(this,e,n),this.a=t}function _Nt(t,e){this.c=t,this.b=e,this.a=!1}function ONt(){this.a=";,;",this.b="",this.c=""}function INt(t,e,n){this.b=t,WDt.call(this,e,n)}function krt(t,e,n){this.c=t,AM.call(this,e,n)}function Crt(t,e,n){hk.call(this,t,e),this.b=n}function xrt(t,e,n){blt(n,0,t,e,n.length,!1)}function Ff(t,e,n,r,i){t.b=e,t.c=n,t.d=r,t.a=i}function Trt(t,e,n,r,i){t.d=e,t.c=n,t.a=r,t.b=i}function xAe(t,e){e&&(t.b=e,t.a=(sg(e),e.a))}function c9(t,e){if(!t)throw N(new _e(e))}function gv(t,e){if(!t)throw N(new io(e))}function Srt(t,e){if(!t)throw N(new HIt(e))}function TAe(t,e){return vM(),ec(t.d.p,e.d.p)}function SAe(t,e){return Cd(),Tr(t.e.b,e.e.b)}function EAe(t,e){return Cd(),Tr(t.e.a,e.e.a)}function BAe(t,e){return ec(VNt(t.d),VNt(e.d))}function wL(t,e){return e&&NL(t,e.d)?e:null}function AAe(t,e){return e==(At(),De)?t.c:t.d}function Ert(t){return ug(BMe(Co(t)?Zl(t):t))}function MAe(t){return new mt(t.c+t.b,t.d+t.a)}function PNt(t){return t!=null&&!PH(t,JT,QT)}function LAe(t,e){return(dYt(t)<<4|dYt(e))&Si}function jNt(t,e,n,r,i){t.c=e,t.d=n,t.b=r,t.a=i}function Brt(t){var e,n;e=t.b,n=t.c,t.b=n,t.c=e}function Art(t){var e,n;n=t.d,e=t.a,t.d=e,t.a=n}function FAe(t,e){var n;return n=t.c,oot(t,e),n}function Mrt(t,e){return e<0?t.g=-1:t.g=e,t}function pL(t,e){return RPe(t),t.a*=e,t.b*=e,t}function DNt(t,e,n){FGt.call(this,e,n),this.d=t}function a9(t,e,n){Xet.call(this,t,e),this.c=n}function mL(t,e,n){Xet.call(this,t,e),this.c=n}function Lrt(t){art(),UA.call(this),this.ci(t)}function $Nt(){Ok(),QMe.call(this,(Q1(),gu))}function RNt(t){return cr(),new _f(0,t)}function NNt(){NNt=Y,JY=(le(),new T$(tG))}function yL(){yL=Y,new qct(($$(),fG),(D$(),hG))}function qNt(){qNt=Y,X1t=at(bs,vt,17,256,0,1)}function HNt(){this.b=nt(ct(Lt((Fu(),WG))))}function bN(t){this.b=t,this.a=h0(this.b.a).Od()}function KNt(t,e){this.b=t,this.a=e,b$.call(this)}function zNt(t,e){this.a=t,this.b=e,b$.call(this)}function WNt(t,e,n){this.a=t,nm.call(this,e,n)}function UNt(t,e,n){this.a=t,nm.call(this,e,n)}function vk(t,e,n){var r;r=new yp(n),rh(t,e,r)}function Frt(t,e,n){var r;return r=t[e],t[e]=n,r}function vL(t){var e;return e=t.slice(),Fq(e,t)}function kL(t){var e;return e=t.n,t.a.b+e.d+e.a}function GNt(t){var e;return e=t.n,t.e.b+e.d+e.a}function _rt(t){var e;return e=t.n,t.e.a+e.b+e.c}function Ort(t){t.a.b=t.b,t.b.a=t.a,t.a=t.b=null}function qn(t,e){return ni(t,e,t.c.b,t.c),!0}function _Ae(t){return t.a?t.a:KN(t)}function OAe(t){return Cv(),$f(t)==Hr(wg(t))}function IAe(t){return Cv(),wg(t)==Hr($f(t))}function jb(t,e){return X5(t,new hk(e.a,e.b))}function PAe(t,e){return HL(),iK(t,e),new bHt(t,e)}function jAe(t,e){return t.c<e.c?-1:t.c==e.c?0:1}function XNt(t){return t.b.c.length-t.e.c.length}function VNt(t){return t.e.c.length-t.g.c.length}function wN(t){return t.e.c.length+t.g.c.length}function l9(t){return t==0||isNaN(t)?t:t<0?-1:1}function DAe(t){return!Ps(t)&&t.c.i.c==t.d.i.c}function $Ae(t){return rl(),(At(),zc).Hc(t.j)}function RAe(t,e,n){return Cd(),n.e.a+n.f.a+t*e}function NAe(t,e,n){return Cd(),n.e.b+n.f.b+t*e}function qAe(t,e,n){return Qn(t.b,o(n.b,18),e)}function HAe(t,e,n){return Qn(t.b,o(n.b,18),e)}function KAe(t,e,n){Mtn(t.a,t.b,t.c,o(e,166),n)}function Irt(t,e,n,r){Ict.call(this,t,e,n,r,0,0)}function YNt(t){art(),Lrt.call(this,t),this.a=-1}function JNt(t,e){Lqt.call(this,e,1040),this.a=t}function QNt(){fDt.call(this,"COUNT_CHILDREN",0)}function CL(t,e){WS.call(this,t,e),this.a=this}function Qr(t,e){var n;return n=$N(t,e),n.i=2,n}function xL(t,e){var n;return++t.j,n=t.Cj(e),n}function zn(t,e,n){return t.a=-1,Mnt(t,e.g,n),t}function zAe(t,e){return St(t,new mt(e.a,e.b))}function ZNt(t){return Lv(),at(ej,QO,40,t,0,1)}function tqt(t){return t.e.Rd().gc()*t.c.Rd().gc()}function pN(t,e,n){return new lNt(tLe(t)._e(),n,e)}function WAe(t,e){cot(t,e==null?null:($e(e),e))}function UAe(t,e){sot(t,e==null?null:($e(e),e))}function GAe(t,e){sot(t,e==null?null:($e(e),e))}function t5(t){if(!t)throw N(new ek(null))}function Prt(t){if(t.c.e!=t.a)throw N(new xl)}function jrt(t){if(t.e.c!=t.b)throw N(new xl)}function TL(t){for(Ln(t);t.Ob();)t.Pb(),t.Qb()}function mN(t){qb(),this.a=(le(),new T$(Ln(t)))}function Drt(t){this.c=t,this.b=this.c.d.vc().Kc()}function XAe(t){t.a.ld(),o(t.a.md(),16).gc(),ztt()}function eqt(t,e){return t.a+=nf(e,0,e.length),t}function Pt(t,e){return ue(e,t.c.length),t.c[e]}function nqt(t,e){return ue(e,t.a.length),t.a[e]}function VAe(t,e){return $e(e),K9(e,($e(t),t))}function YAe(t,e){return $e(t),K9(t,($e(e),e))}function u0(t,e,n,r,i,s){return EQt(t,e,n,r,i,0,s)}function JAe(t,e){return ei(e,0,$rt(e[0],Bd(1)))}function QAe(t,e){return Bd(Ts(Bd(t.a).a,e.a))}function $rt(t,e){return QAe(o(t,168),o(e,168))}function rqt(){rqt=Y,V1t=at(Sw,vt,168,256,0,1)}function iqt(){iqt=Y,Q1t=at(Ew,vt,191,256,0,1)}function sqt(){sqt=Y,W1t=at(o3,vt,222,256,0,1)}function oqt(){oqt=Y,G1t=at(G6,vt,180,128,0,1)}function Rrt(){Ff(this,!1,!1,!1,!1)}function Nrt(t){ZZ.call(this,new c1),cs(this,t)}function e5(t){this.a=new ev(t.gc()),cs(this,t)}function cqt(t){this.c=t,this.a=new nv(this.c.a)}function aqt(t){this.a=t,this.c=new hn,kDe(this)}function lqt(){this.d=new mt(0,0),this.e=new yi}function ee(t,e){l0(),Bq.call(this,t),this.a=e}function SL(t,e,n,r){Trt(this,t,e,n,r)}function ZAe(t,e,n){return ec(e.d[t.g],n.d[t.g])}function tMe(t,e,n){return ec(t.d[e.p],t.d[n.p])}function eMe(t,e,n){return ec(t.d[e.p],t.d[n.p])}function nMe(t,e,n){return ec(t.d[e.p],t.d[n.p])}function rMe(t,e,n){return ec(t.d[e.p],t.d[n.p])}function EL(t,e,n){return p.Math.min(n/t,1/e)}function uqt(t,e){return t?0:p.Math.max(0,e-1)}function yN(t,e){return t==null?e==null:ne(t,e)}function iMe(t,e){return t==null?e==null:p_(t,e)}function hqt(t){return t.q?t.q:(le(),le(),Gf)}function fqt(t){return t.c-o(Pt(t.a,t.b),294).b}function Va(t){return t.c?t.c.f:t.e.b}function oa(t){return t.c?t.c.g:t.e.a}function sMe(t,e){return t.a==null&&Gee(t),t.a[e]}function dqt(t){var e;return e=AQt(t),e?dqt(e):t}function BL(t,e){return cr(),new sit(t,e)}function _f(t,e){cr(),mb.call(this,t),this.a=e}function AL(t,e){Sl(),tM.call(this,e),this.a=t}function n5(t,e,n){this.a=t,ki.call(this,e,n,2)}function gqt(t){this.b=new $r,this.a=t,this.c=-1}function bqt(t){Bnt.call(this,0,0),this.a=t,this.b=0}function ML(t){Jb.call(this,t.gc()),ii(this,t)}function LL(t){t.b?LL(t.b):t.d.dc()&&t.f.c.Bc(t.e)}function qrt(t){return Array.isArray(t)&&t.Tm===kn}function vN(t,e){return Q(e,22)&&sa(t,o(e,22))}function wqt(t,e){return Q(e,22)&&IPe(t,o(e,22))}function zs(t,e){return HVt(t,e,uIe(t,t.b.Ce(e)))}function oMe(t,e){return t.a.get(e)!==void 0}function Hrt(t){return ja(t,26)*w6+ja(t,27)*p6}function pqt(t,e){return ZPe(new z1,new mLt(t),e)}function kN(t,e,n){NVt(0,e,t.length),Pk(t,0,e,n)}function Db(t,e,n){Cp(e,t.c.length),Fx(t.c,e,n)}function FL(t,e,n){var r;t&&(r=t.i,r.c=e,r.b=n)}function _L(t,e,n){var r;t&&(r=t.i,r.d=e,r.a=n)}function mqt(t,e,n){var r;for(r=0;r<e;++r)t[r]=n}function cMe(t,e){var n;for(n=0;n<e;++n)t[n]=-1}function Ir(t,e){var n;return n=Yt(t),_ot(n,e),n}function aMe(t,e){return!t&&(t=[]),t[t.length]=e,t}function CN(t,e){lr(t.c,e),t.b.c+=e.a,t.b.d+=e.b}function lMe(t,e){CN(t,Ni(new mt(e.a,e.b),t.c))}function xN(t,e){this.b=new $r,this.a=t,this.c=e}function yqt(){this.b=new Zr,this.c=new ZHt(this)}function Krt(){this.d=new wn,this.e=new QHt(this)}function zrt(){$it(),this.f=new $r,this.e=new $r}function vqt(){rl(),this.k=new hn,this.d=new yi}function TN(){TN=Y,Cpe=new rs((Vn(),qa),0)}function kqt(){kqt=Y,lle=new bqt(at(Hi,ye,1,0,5,1))}function uMe(t,e,n){return Ai(t,new rv(e.a,n.a))}function hMe(t,e,n){return-ec(t.f[e.p],t.f[n.p])}function fMe(t,e,n){jte(n,t,1),St(e,new jjt(n,t))}function dMe(t,e,n){G5(n,t,1),St(e,new Rjt(n,t))}function Cqt(t,e,n){this.a=t,nL.call(this,e,n,22)}function xqt(t,e,n){this.a=t,nL.call(this,e,n,14)}function Tqt(t,e,n,r){Sl(),azt.call(this,t,e,n,r)}function Sqt(t,e,n,r){Sl(),azt.call(this,t,e,n,r)}function ca(t,e,n){return t.a=-1,Mnt(t,e.g+1,n),t}function Wrt(t,e,n){return n=hl(t,o(e,54),7,n),n}function Urt(t,e,n){return n=hl(t,o(e,54),3,n),n}function Mn(t){return Co(t)?t|0:lPt(t)}function Eqt(t){return cr(),new tq(10,t,0)}function Bqt(t){var e;return e=t.f,e||(t.f=t.Dc())}function bv(t){var e;return e=t.i,e||(t.i=t.bc())}function OL(t){if(t.e.j!=t.d)throw N(new xl)}function h0(t){return t.c?t.c:t.c=t.Sd()}function SN(t){return t.d?t.d:t.d=t.Td()}function r5(t,e){return rNe(P9(t,e))?e.zi():null}function gMe(t){return Q(t,15)?o(t,15).ed():t.Kc()}function Grt(t){return t.Qc(at(Hi,ye,1,t.gc(),5,1))}function Aqt(t){return t!=null&&LN(t)&&t.Tm!==kn}function Xrt(t){return!Array.isArray(t)&&t.Tm===kn}function Mqt(t,e){return Ln(e),t.a.Jd(e)&&!t.b.Jd(e)}function bMe(t,e){return Ic(t.l&e.l,t.m&e.m,t.h&e.h)}function wMe(t,e){return Ic(t.l|e.l,t.m|e.m,t.h|e.h)}function pMe(t,e){return Ic(t.l^e.l,t.m^e.m,t.h^e.h)}function Su(t,e){return ug(oZt(Co(t)?Zl(t):t,e))}function $b(t,e){return ug(Tlt(Co(t)?Zl(t):t,e))}function rg(t,e){return ug(Qze(Co(t)?Zl(t):t,e))}function mMe(t,e){return D7e(($e(t),t),($e(e),e))}function EN(t,e){return Tr(($e(t),t),($e(e),e))}function IL(t){this.b=new Ec(11),this.a=(Wb(),t)}function Ge(t){this.a=(kqt(),lle),this.d=o(Ln(t),51)}function Lqt(t,e){this.c=0,this.d=t,this.b=e|64|af}function Vrt(t,e){this.e=t,this.d=(e&64)!=0?e|af:e}function BN(t){this.b=null,this.a=(Wb(),t||ogt)}function Fqt(t){rL(this),this.g=t,UL(this),this.je()}function f0(t){Z1(),this.a=0,this.b=t-1,this.c=1}function Yrt(t,e,n,r){this.a=t,bF.call(this,t,e,n,r)}function yMe(t,e,n){t.a.Mb(n)&&(t.b=!0,e.Cd(n))}function Jrt(t){t.d||(t.d=t.b.Kc(),t.c=t.b.gc())}function kk(t,e){if(t<0||t>=e)throw N(new Btt)}function pp(t,e){return i7(t,($e(e),new wLt(e)))}function wv(t,e){return i7(t,($e(e),new pLt(e)))}function _qt(t,e,n){return ann(t,o(e,12),o(n,12))}function Oqt(t){return la(),o(t,12).g.c.length!=0}function Iqt(t){return la(),o(t,12).e.c.length!=0}function vMe(t,e){return Fv(),Tr(e.a.o.a,t.a.o.a)}function kMe(t,e){(e.Bb&Jo)!=0&&!t.a.o&&(t.a.o=e)}function CMe(t,e){e.Ug("General 'Rotator",1),jtn(t)}function xMe(t,e,n){e.qf(n,nt(ct(Ue(t.b,n)))*t.a)}function Pqt(t,e,n){return Om(),Gk(t,e)&&Gk(t,n)}function i5(t){return xa(),!t.Hc(Rd)&&!t.Hc(Hg)}function TMe(t){return t.e?vst(t.e):null}function s5(t){return Co(t)?""+t:Ree(t)}function Qrt(t){var e;for(e=t;e.f;)e=e.f;return e}function SMe(t,e,n){return ei(e,0,$rt(e[0],n[0])),e}function i1(t,e,n,r){var i;i=t.i,i.i=e,i.a=n,i.b=r}function dt(t,e,n,r){ki.call(this,t,e,n),this.b=r}function Gi(t,e,n,r,i){Mq.call(this,t,e,n,r,i,-1)}function o5(t,e,n,r,i){L9.call(this,t,e,n,r,i,-1)}function PL(t,e,n,r){a9.call(this,t,e,n),this.b=r}function jqt(t){ODt.call(this,t,!1),this.a=!1}function Dqt(){fDt.call(this,"LOOKAHEAD_LAYOUT",1)}function $qt(t){this.b=t,lv.call(this,t),K$t(this)}function Rqt(t){this.b=t,YS.call(this,t),z$t(this)}function mp(t,e,n){this.a=t,hv.call(this,e,n,5,6)}function Zrt(t,e,n,r){this.b=t,ki.call(this,e,n,r)}function Nqt(t,e){this.b=t,UMt.call(this,t.b),this.a=e}function qqt(t){this.a=TJt(t.a),this.b=new ma(t.b)}function tit(t,e){qb(),nSe.call(this,t,i_(new pa(e)))}function jL(t,e){return cr(),new bit(t,e,0)}function AN(t,e){return cr(),new bit(6,t,e)}function hs(t,e){for($e(e);t.Ob();)e.Cd(t.Pb())}function Pc(t,e){return Ji(e)?JN(t,e):!!zs(t.f,e)}function MN(t,e){return e.Vh()?dg(t.b,o(e,54)):e}function EMe(t,e){return ne(t.substr(0,e.length),e)}function Of(t){return new Ge(new knt(t.a.length,t.a))}function DL(t){return new mt(t.c+t.b/2,t.d+t.a/2)}function BMe(t){return Ic(~t.l&$a,~t.m&$a,~t.h&_d)}function LN(t){return typeof t===H7||typeof t===Sz}function ya(t){t.f=new c$t(t),t.i=new a$t(t),++t.g}function Hqt(t){if(!t)throw N(new Mo);return t.d}function pv(t){var e;return e=M5(t),tn(e!=null),e}function AMe(t){var e;return e=z$e(t),tn(e!=null),e}function Ck(t,e){var n;return n=t.a.gc(),bst(e,n),n-e}function Ai(t,e){var n;return n=t.a.zc(e,t),n==null}function u9(t,e){return t.a.zc(e,(Te(),Ag))==null}function eit(t){return new ee(null,OMe(t,t.length))}function nit(t,e,n){return lre(t,o(e,42),o(n,176))}function mv(t,e,n){return Au(t.a,e),Frt(t.b,e.g,n)}function MMe(t,e,n){kk(n,t.a.c.length),Ll(t.a,n,e)}function st(t,e,n,r){NVt(e,n,t.length),LMe(t,e,n,r)}function LMe(t,e,n,r){var i;for(i=e;i<n;++i)t[i]=r}function rit(t,e){var n;for(n=0;n<e;++n)t[n]=!1}function d0(t,e,n){of(),this.e=t,this.d=e,this.a=n}function iit(t,e,n){this.c=t,this.a=e,le(),this.b=n}function FN(t,e){this.d=t,Ke.call(this,t),this.e=e}function Zu(t,e,n){return VDe(t,e.g,n),Au(t.c,e),t}function FMe(t){return Dm(t,(Ti(),ho)),t.d=!0,t}function _N(t){return!t.j&&RTe(t,IYe(t.g,t.b)),t.j}function Kqt(t){t.a=null,t.e=null,ya(t.b),t.d=0,++t.c}function c5(t){dp(t.b!=-1),a1(t.c,t.a=t.b),t.b=-1}function sit(t,e){mb.call(this,1),this.a=t,this.b=e}function _Me(t,e){return t>0?p.Math.log(t/e):-100}function zqt(t,e){return nc(t,e)<0?-1:nc(t,e)>0?1:0}function h9(t,e){P$t(t,Q(e,160)?e:o(e,2036).Rl())}function oit(t,e){if(t==null)throw N(new Jy(e))}function OMe(t,e){return PPe(e,t.length),new JNt(t,e)}function cit(t,e){return e?cs(t,e):!1}function IMe(){return oM(),W(K(ule,1),bt,549,0,[bG])}function a5(t){return t.e==0?t:new d0(-t.e,t.d,t.a)}function PMe(t,e){return Tr(t.c.c+t.c.b,e.c.c+e.c.b)}function f9(t,e){ni(t.d,e,t.b.b,t.b),++t.a,t.c=null}function Wqt(t,e){return t.c?Wqt(t.c,e):St(t.b,e),t}function jMe(t,e,n){var r;return r=Ep(t,e),dq(t,e,n),r}function Uqt(t,e,n){var r;for(r=0;r<e;++r)ei(t,r,n)}function Gqt(t,e,n,r,i){for(;e<n;)r[i++]=ms(t,e++)}function xk(t,e,n,r,i){kK(t,o(gr(e.k,n),15),n,r,i)}function Rb(t,e){ci(bo(t.Oc(),new b8t),new AFt(e))}function DMe(t,e){return Tr(t.e.a+t.f.a,e.e.a+e.f.a)}function $Me(t,e){return Tr(t.e.b+t.f.b,e.e.b+e.f.b)}function ON(t){return p.Math.abs(t.d.e-t.e.e)-t.a}function RMe(t){return t==Kr?xE:t==Li?"-INF":""+t}function NMe(t){return t==Kr?xE:t==Li?"-INF":""+t}function qMe(t){return Cv(),Hr($f(t))==Hr(wg(t))}function HMe(t,e,n){return o(t.c.hd(e,o(n,136)),44)}function KMe(t,e){yv(t,new yp(e.f!=null?e.f:""+e.g))}function zMe(t,e){yv(t,new yp(e.f!=null?e.f:""+e.g))}function ii(t,e){return t.Si()&&(e=vKt(t,e)),t.Fi(e)}function IN(t,e){return e=t.Yk(null,e),HQt(t,null,e)}function WMe(t,e){++t.j,vK(t,t.i,e),gUe(t,o(e,343))}function ait(t){t?Lat(t,(hd(),kle)):VLe((hd(),t))}function Nb(t){this.d=($e(t),t),this.a=0,this.c=U7}function PN(t,e){this.d=j$e(t),this.c=e,this.a=.5*e}function Xqt(t){Fit.call(this),this.a=t,St(t.a,this)}function Vqt(){c1.call(this),this.a=!0,this.b=!0}function Yqt(){Yqt=Y,ble=new HZ(!1),wle=new HZ(!0)}function l5(t){var e;return e=t.g,e||(t.g=new $Z(t))}function $L(t){var e;return e=t.k,e||(t.k=new RZ(t))}function lit(t){var e;return e=t.k,e||(t.k=new RZ(t))}function UMe(t){var e;return e=t.i,e||(t.i=new NMt(t))}function Jqt(t){var e;return e=t.f,e||(t.f=new vnt(t))}function jN(t){var e;return e=t.j,e||(t.j=new ZMt(t))}function DN(t){var e;return e=t.d,e||(t.d=new m$(t))}function Qqt(t,e,n){return cr(),new GKt(t,e,n)}function Zqt(t,e){return T9(e,t.c.b.c.gc()),new DPt(t,e)}function uit(t,e){var n;return n=t.a.gc(),T9(e,n),n-1-e}function C(t,e,n){var r;return r=$N(t,e),VGt(n,r),r}function $N(t,e){var n;return n=new Mot,n.j=t,n.d=e,n}function Ln(t){if(t==null)throw N(new Uy);return t}function yp(t){if(t==null)throw N(new Uy);this.a=t}function tHt(t){wtt(),this.b=new Tt,this.a=t,$Ze(this,t)}function hit(t){this.b=t,this.a=o(Ql(this.b.a.e),227)}function qb(){qb=Y,Qh(),dG=new ZN((le(),le(),Os))}function RN(){RN=Y,Qh(),D1t=new get((le(),le(),FI))}function ig(){ig=Y,Se=dUe(),ae(),_2&&gHe()}function RL(t){t.s=NaN,t.c=NaN,Tte(t,t.e),Tte(t,t.j)}function en(t){return(t.i==null&&cf(t),t.i).length}function eHt(t,e){return o(h0(t.a).Md().Xb(e),44).ld()}function Ue(t,e){return Ji(e)?gc(t,e):go(zs(t.f,e))}function GMe(t,e){return Cv(),t==$f(e)?wg(e):$f(e)}function XMe(t,e,n,r){return n==0||(n-r)/n<t.e||e>=t.g}function ei(t,e,n){return B7e(n==null||kJe(t,n)),t[e]=n}function fit(t,e){return Oe(e,t.length+1),t.substr(e)}function NN(t,e){for($e(e);t.c<t.d;)t.Se(e,t.c++)}function dit(t){this.d=t,this.c=t.a.d.a,this.b=t.a.e.g}function nHt(t){this.c=t,this.a=new $r,this.b=new $r}function dc(t){this.c=new ns,this.a=new Tt,this.b=t}function rHt(t){this.b=new Tt,this.a=new Tt,this.c=t}function VMe(t,e,n){o(e.b,68),jc(e.a,new grt(t,n,e))}function YMe(t,e){return Fv(),o(Zs(t,e.d),15).Fc(e)}function yv(t,e){var n;n=t.a.length,Ep(t,n),dq(t,n,e)}function iHt(t,e){var n;n=console[t],n.call(console,e)}function sHt(t,e){var n;++t.j,n=t.Ej(),t.rj(t.Zi(n,e))}function qN(t,e,n){var r;return r=Yq(t,e,n),Qlt(t,r)}function Hb(t){return!t.d&&(t.d=new ki(Js,t,1)),t.d}function JMe(t){return!t.a&&(t.a=new ki(Kg,t,4)),t.a}function Tk(t,e){return t.a+=String.fromCharCode(e),t}function g0(t,e){return t.a+=String.fromCharCode(e),t}function git(t,e,n){this.a=t,ftt.call(this,e),this.b=n}function oHt(t,e,n){this.a=t,Yit.call(this,8,e,null,n)}function bit(t,e,n){mb.call(this,t),this.a=e,this.b=n}function wit(t,e,n){tM.call(this,e),this.a=t,this.b=n}function cHt(t){this.c=t,this.b=this.c.a,this.a=this.c.e}function QMe(t){this.a=($e(Hn),Hn),this.b=t,new Ftt}function aHt(t){xit(t.a),t.b=at(Hi,ye,1,t.b.length,5,1)}function Ya(t){dp(t.c!=-1),t.d.gd(t.c),t.b=t.c,t.c=-1}function u5(t){return p.Math.sqrt(t.a*t.a+t.b*t.b)}function NL(t,e){return dK(t.c,t.f,e,t.b,t.a,t.e,t.d)}function Kb(t,e){return kk(e,t.a.c.length),Pt(t.a,e)}function Zh(t,e){return it(t)===it(e)||t!=null&&hr(t,e)}function lHt(t){return Q(t,102)&&(o(t,19).Bb&Jo)!=0}function uHt(t){return Ql(t),Q(t,484)?o(t,484):To(t)}function hHt(t){return t?t.dc():!t.Kc().Ob()}function ZMe(t){return I2?JN(I2,t):!1}function tLe(t){return 0>=t?new cet:sje(t-1)}function fs(t){return!t.a&&t.c?t.c.b:t.a}function pit(t){return Q(t,616)?t:new hKt(t)}function sg(t){t.c?sg(t.c):(gg(t),t.d=!0)}function h5(t){t.c?t.c.$e():(t.d=!0,xXe(t))}function fHt(t){t.b=!1,t.c=!1,t.d=!1,t.a=!1}function dHt(t){var e,n;return e=t.c.i.c,n=t.d.i.c,e==n}function eLe(t,e){var n;n=t.Ih(e),n>=0?t.ki(n):olt(t,e)}function gHt(t,e){t.c<0||t.b.b<t.c?As(t.b,e):t.a.tf(e)}function nLe(t,e){mn((!t.a&&(t.a=new t9(t,t)),t.a),e)}function rLe(t,e){CN(o(e.b,68),t),jc(e.a,new stt(t))}function iLe(t,e){return ec(e.j.c.length,t.j.c.length)}function sLe(t,e,n){return _v(),n.Lg(t,o(e.ld(),149))}function Ql(t){if(t==null)throw N(new Uy);return t}function $e(t){if(t==null)throw N(new Uy);return t}function oLe(t){if(t.p!=4)throw N(new na);return t.e}function cLe(t){if(t.p!=3)throw N(new na);return t.e}function aLe(t){if(t.p!=3)throw N(new na);return t.j}function lLe(t){if(t.p!=4)throw N(new na);return t.j}function uLe(t){if(t.p!=6)throw N(new na);return t.f}function hLe(t){if(t.p!=6)throw N(new na);return t.k}function mit(t){return!t.b&&(t.b=new eM(new j$)),t.b}function zb(t){return t.c==-2&<e(t,ize(t.g,t.b)),t.c}function Sk(t,e){var n;return n=$N("",t),n.n=e,n.i=1,n}function qL(t,e,n,r){Eb.call(this,t,n),this.a=e,this.f=r}function yit(t,e,n,r){Eb.call(this,t,e),this.d=n,this.a=r}function bHt(t,e){T9e.call(this,oje(Ln(t),Ln(e))),this.a=e}function Ci(){xIt.call(this),sp(this.j.c,0),this.a=-1}function wHt(){Dat.call(this,su,(sk(),kvt)),_Qe(this)}function pHt(){Dat.call(this,z0,(aPt(),c2e)),TZe(this)}function mHt(){xn.call(this,"DELAUNAY_TRIANGULATION",0)}function fLe(t){return String.fromCharCode.apply(null,t)}function Qn(t,e,n){return Ji(e)?so(t,e,n):Mc(t.f,e,n)}function vit(t){return le(),t?t.Oe():(Wb(),Wb(),cgt)}function dLe(t){return cl(t,Mz),AF(Ts(Ts(5,t),t/10|0))}function yHt(t,e){return yL(),new qct(new eRt(t),new tRt(e))}function HL(){HL=Y,ale=new Ntt(W(K(W0,1),wO,44,0,[]))}function vHt(t){return!t.d&&(t.d=new V3(t.c.Cc())),t.d}function Ek(t){return!t.a&&(t.a=new GIt(t.c.vc())),t.a}function kHt(t){return!t.b&&(t.b=new nk(t.c.ec())),t.b}function If(t,e){for(;e-- >0;)t=t<<1|(t<0?1:0);return t}function CHt(t,e){var n;return n=new dc(t),ke(e.c,n),n}function xHt(t,e){t.u.Hc((xa(),Rd))&&oUe(t,e),TIe(t,e)}function Vo(t,e){return it(t)===it(e)||t!=null&&hr(t,e)}function Zs(t,e){return vN(t.a,e)?t.b[o(e,22).g]:null}function gLe(){return yM(),W(K($gt,1),bt,489,0,[$G])}function bLe(){return CM(),W(K(fmt,1),bt,490,0,[aY])}function wLe(){return xM(),W(K(Ybe,1),bt,558,0,[lY])}function pLe(){return Ex(),W(K(Omt,1),bt,539,0,[hB])}function KL(t){return!t.n&&(t.n=new dt(no,t,1,7)),t.n}function HN(t){return!t.c&&(t.c=new dt(Aa,t,9,9)),t.c}function kit(t){return!t.c&&(t.c=new ge(an,t,5,8)),t.c}function mLe(t){return!t.b&&(t.b=new ge(an,t,4,7)),t.b}function d9(t){return t.j.c.length=0,xit(t.c),Y7e(t.a),t}function Bk(t){return t.e==n4&&jTe(t,fNe(t.g,t.b)),t.e}function g9(t){return t.f==n4&&$Te(t,rHe(t.g,t.b)),t.f}function Zn(t,e,n,r){return UXt(t,e,n,!1),s_(t,r),t}function THt(t,e){this.b=t,FN.call(this,t,e),K$t(this)}function SHt(t,e){this.b=t,srt.call(this,t,e),z$t(this)}function f5(t){this.d=t,this.a=this.d.b,this.b=this.d.c}function Cit(t,e){this.b=t,this.c=e,this.a=new nv(this.b)}function ms(t,e){return Oe(e,t.length),t.charCodeAt(e)}function yLe(t,e){lct(t,nt(xd(e,"x")),nt(xd(e,"y")))}function vLe(t,e){lct(t,nt(xd(e,"x")),nt(xd(e,"y")))}function fr(t,e){return gg(t),new ee(t,new Ost(e,t.a))}function bo(t,e){return gg(t),new ee(t,new mst(e,t.a))}function vp(t,e){return gg(t),new Dnt(t,new IWt(e,t.a))}function zL(t,e){return gg(t),new $nt(t,new PWt(e,t.a))}function kLe(t,e){return new VHt(o(Ln(t),50),o(Ln(e),50))}function CLe(t,e){return Tr(t.d.c+t.d.b/2,e.d.c+e.d.b/2)}function EHt(t,e,n){n.a?$c(t,e.b-t.f/2):Dc(t,e.a-t.g/2)}function xLe(t,e){return Tr(t.g.c+t.g.b/2,e.g.c+e.g.b/2)}function TLe(t,e){return het(),Tr(($e(t),t),($e(e),e))}function SLe(t){return t!=null&&BS(Kj,t.toLowerCase())}function xit(t){var e;for(e=t.Kc();e.Ob();)e.Pb(),e.Qb()}function fm(t){var e;return e=t.b,!e&&(t.b=e=new $Mt(t)),e}function KN(t){var e;return e=lje(t),e||null}function BHt(t,e){var n,r;return n=t/e,r=ji(n),n>r&&++r,r}function ELe(t,e,n){var r;r=o(t.d.Kb(n),159),r&&r.Nb(e)}function BLe(t,e,n){MQe(t.a,n),oDe(n),YUe(t.b,n),VQe(e,n)}function WL(t,e,n,r){this.a=t,this.c=e,this.b=n,this.d=r}function Tit(t,e,n,r){this.c=t,this.b=e,this.a=n,this.d=r}function AHt(t,e,n,r){this.c=t,this.b=e,this.d=n,this.a=r}function Bl(t,e,n,r){this.c=t,this.d=e,this.b=n,this.a=r}function MHt(t,e,n,r){this.a=t,this.d=e,this.c=n,this.b=r}function zN(t,e,n,r){this.a=t,this.e=e,this.d=n,this.c=r}function LHt(t,e,n,r){this.a=t,this.c=e,this.d=n,this.b=r}function WN(t,e,n){this.a=Jut,this.d=t,this.b=e,this.c=n}function vv(t,e,n,r){xn.call(this,t,e),this.a=n,this.b=r}function FHt(t,e){this.d=($e(t),t),this.a=16449,this.c=e}function _Ht(t){this.a=new Tt,this.e=at(vn,vt,53,t,0,2)}function ALe(t){t.Ug("No crossing minimization",1),t.Vg()}function OHt(){Lo.call(this,"There is no more element.")}function IHt(t,e,n,r){this.a=t,this.b=e,this.c=n,this.d=r}function PHt(t,e,n,r){this.a=t,this.b=e,this.c=n,this.d=r}function b0(t,e,n,r){this.e=t,this.a=e,this.c=n,this.d=r}function jHt(t,e,n,r){this.a=t,this.c=e,this.d=n,this.b=r}function DHt(t,e,n,r){Sl(),jWt.call(this,e,n,r),this.a=t}function $Ht(t,e,n,r){Sl(),jWt.call(this,e,n,r),this.a=t}function UN(t,e,n){var r,i;return r=Dut(t),i=e.ti(n,r),i}function gd(t){var e,n;return n=(e=new yb,e),$k(n,t),n}function GN(t){var e,n;return n=(e=new yb,e),Nat(n,t),n}function MLe(t,e){var n;return n=Ue(t.f,e),yot(e,n),null}function RHt(t){return!t.b&&(t.b=new dt(fi,t,12,3)),t.b}function NHt(t){return t5(t==null||LN(t)&&t.Tm!==kn),t}function UL(t){return t.n&&(t.e!==qie&&t.je(),t.j=null),t}function Ak(t){if(Pa(t.d),t.d.d!=t.c)throw N(new xl)}function Sit(t){return tn(t.b<t.d.gc()),t.d.Xb(t.c=t.b++)}function nl(t){t.a.a=t.c,t.c.b=t.a,t.a.b=t.c.a=null,t.b=0}function XN(t){this.f=t,this.c=this.f.e,t.f>0&&mQt(this)}function qHt(t,e){this.a=t,A7e.call(this,t,o(t.d,15).fd(e))}function LLe(t,e){return Tr(oa(t)*Va(t),oa(e)*Va(e))}function FLe(t,e){return Tr(oa(t)*Va(t),oa(e)*Va(e))}function _Le(t){return uw(t)&&It(_t(wt(t,(Ft(),Y0))))}function OLe(t,e){return ie(t,o(F(e,(Ft(),C4)),17),e)}function ILe(t,e){return o(F(t,(yt(),b3)),15).Fc(e),e}function Eit(t,e){return t.b=e.b,t.c=e.c,t.d=e.d,t.a=e.a,t}function HHt(t,e,n,r){this.b=t,this.c=r,JM.call(this,e,n)}function PLe(t,e,n){t.i=0,t.e=0,e!=n&&SVt(t,e,n)}function jLe(t,e,n){t.i=0,t.e=0,e!=n&&EVt(t,e,n)}function DLe(t,e,n){return Sx(),uRe(o(Ue(t.e,e),529),n)}function kv(t){var e;return e=t.f,e||(t.f=new ak(t,t.c))}function KHt(t,e){return Cm(t.j,e.s,e.c)+Cm(e.e,t.s,t.c)}function zHt(t,e){t.e&&!t.e.a&&(FOt(t.e,e),zHt(t.e,e))}function WHt(t,e){t.d&&!t.d.a&&(FOt(t.d,e),WHt(t.d,e))}function $Le(t,e){return-Tr(oa(t)*Va(t),oa(e)*Va(e))}function RLe(t){return o(t.ld(),149).Pg()+":"+To(t.md())}function UHt(){EK(this,new jZ),this.wb=(ig(),Se),sk()}function GHt(t){this.b=new Tt,Mi(this.b,this.b),this.a=t}function Bit(t,e){new $r,this.a=new ra,this.b=t,this.c=e}function Wb(){Wb=Y,ogt=new $n,xG=new $n,cgt=new xr}function le(){le=Y,Os=new Ot,Gf=new de,FI=new Pe}function Ait(){Ait=Y,Kle=new Bn,Wle=new Krt,zle=new rn}function Cv(){Cv=Y,RI=new Tt,HG=new hn,qG=new Tt}function GL(t,e){if(t==null)throw N(new Jy(e));return t}function XL(t){return!t.a&&(t.a=new dt(nr,t,10,11)),t.a}function wr(t){return!t.q&&(t.q=new dt(du,t,11,10)),t.q}function ht(t){return!t.s&&(t.s=new dt(ea,t,21,17)),t.s}function NLe(t){return Ln(t),IJt(new Ge(Ve(t.a.Kc(),new P)))}function qLe(t,e){return Ja(t),Ja(e),qIt(o(t,22),o(e,22))}function w0(t,e,n){var r,i;r=crt(n),i=new XA(r),rh(t,e,i)}function VN(t,e,n,r,i,s){L9.call(this,t,e,n,r,i,s?-2:-1)}function XHt(t,e,n,r){Xet.call(this,e,n),this.b=t,this.a=r}function VHt(t,e){a8e.call(this,new BN(t)),this.a=t,this.b=e}function Mit(t){this.b=t,this.c=t,t.e=null,t.c=null,this.a=1}function HLe(t){Tu();var e;e=o(t.g,10),e.n.a=t.d.c+e.d.b}function Mk(){Mk=Y;var t,e;e=!VRe(),t=new Gt,mG=e?new Vt:t}function YN(t){return le(),Q(t,59)?new U$(t):new sL(t)}function VL(t){return Q(t,16)?new e5(o(t,16)):kAe(t.Kc())}function KLe(t){return new U$t(t,t.e.Rd().gc()*t.c.Rd().gc())}function zLe(t){return new G$t(t,t.e.Rd().gc()*t.c.Rd().gc())}function Lit(t){return t&&t.hashCode?t.hashCode():Ib(t)}function JN(t,e){return e==null?!!zs(t.f,null):oMe(t.i,e)}function WLe(t,e){var n;return n=fnt(t.a,e),n&&(e.d=null),n}function YHt(t,e,n){return t.f?t.f.ef(e,n):!1}function b9(t,e,n,r){ei(t.c[e.g],n.g,r),ei(t.c[n.g],e.g,r)}function QN(t,e,n,r){ei(t.c[e.g],e.g,n),ei(t.b[e.g],e.g,r)}function ULe(t,e,n){return nt(ct(n.a))<=t&&nt(ct(n.b))>=e}function JHt(t,e){this.g=t,this.d=W(K(Vf,1),T1,10,0,[e])}function QHt(t){this.c=t,this.b=new t1(o(Ln(new sn),50))}function ZHt(t){this.c=t,this.b=new t1(o(Ln(new jn),50))}function tKt(t){this.b=t,this.a=new t1(o(Ln(new uS),50))}function eKt(){this.b=new yi,this.d=new $r,this.e=new Att}function Fit(){this.c=new ns,this.d=new ns,this.e=new ns}function Ub(){this.a=new ra,this.b=(cl(3,Xp),new Ec(3))}function s1(t,e){this.e=t,this.a=Hi,this.b=ene(e),this.c=e}function YL(t){this.c=t.c,this.d=t.d,this.b=t.b,this.a=t.a}function nKt(t,e,n,r,i,s){this.a=t,zq.call(this,e,n,r,i,s)}function rKt(t,e,n,r,i,s){this.a=t,zq.call(this,e,n,r,i,s)}function og(t,e,n,r,i,s,l){return new bq(t.e,e,n,r,i,s,l)}function GLe(t,e,n){return n>=0&&ne(t.substr(n,e.length),e)}function iKt(t,e){return Q(e,149)&&ne(t.b,o(e,149).Pg())}function XLe(t,e){return t.a?e.Gh().Kc():o(e.Gh(),71).Ii()}function sKt(t,e){var n;return n=t.b.Qc(e),Zzt(n,t.b.gc()),n}function w9(t,e){if(t==null)throw N(new Jy(e));return t}function wo(t){return t.u||(Oa(t),t.u=new $Rt(t,t)),t.u}function ZN(t){this.a=(le(),Q(t,59)?new U$(t):new sL(t))}function Gc(t){var e;return e=o(Be(t,16),29),e||t.ii()}function JL(t,e){var n;return n=a0(t.Rm),e==null?n:n+": "+e}function Al(t,e,n){return os(e,n,t.length),t.substr(e,n-e)}function oKt(t,e){uL.call(this),Hst(this),this.a=t,this.c=e}function VLe(t){t&&JL(t,t.ie())}function YLe(t){lM(),p.setTimeout(function(){throw t},0)}function JLe(){return y_(),W(K(bgt,1),bt,436,0,[FG,ggt])}function QLe(){return EF(),W(K(pgt,1),bt,435,0,[wgt,_G])}function ZLe(){return BF(),W(K(Wgt,1),bt,432,0,[KG,NI])}function tFe(){return Uk(),W(K(zhe,1),bt,517,0,[jE,rX])}function eFe(){return cF(),W(K(Abt,1),bt,429,0,[OX,Bbt])}function nFe(){return N9(),W(K(fbt,1),bt,428,0,[wP,hbt])}function rFe(){return mF(),W(K(ibt,1),bt,431,0,[rbt,mX])}function iFe(){return $9(),W(K(vpt,1),bt,430,0,[gV,bV])}function sFe(){return p5(),W(K(Pge,1),bt,531,0,[kT,vT])}function oFe(){return HF(),W(K(w2t,1),bt,501,0,[oj,my])}function cFe(){return tf(),W(K(Hge,1),bt,523,0,[qw,F1])}function aFe(){return yh(),W(K(zge,1),bt,522,0,[eb,Dh])}function lFe(){return eh(),W(K(s0e,1),bt,528,0,[C2,Pg])}function uFe(){return O9(),W(K(bbt,1),bt,488,0,[gbt,mP])}function hFe(){return fF(),W(K(smt,1),bt,491,0,[sY,imt])}function fFe(){return iH(),W(K(hmt,1),bt,492,0,[lmt,umt])}function dFe(){return iF(),W(K(b2t,1),bt,433,0,[DV,g2t])}function gFe(){return vF(),W(K(m2t,1),bt,434,0,[p2t,KV])}function bFe(){return Xb(),W(K(f0e,1),bt,465,0,[jg,by])}function wFe(){return A9(),W(K(dmt,1),bt,438,0,[uY,pj])}function pFe(){return Y9(),W(K(Pmt,1),bt,437,0,[yj,Imt])}function mFe(){return lN(),W(K(Ij,1),bt,347,0,[Yyt,Jyt])}function QL(t,e,n,r){return n>=0?t.Uh(e,n,r):t.Ch(null,n,r)}function p9(t){return t.b.b==0?t.a.sf():gN(t.b)}function yFe(t){if(t.p!=5)throw N(new na);return Mn(t.f)}function vFe(t){if(t.p!=5)throw N(new na);return Mn(t.k)}function _it(t){return it(t.a)===it((nH(),XY))&&mZe(t),t.a}function kFe(t,e){t.b=e,t.c>0&&t.b>0&&(t.g=EL(t.c,t.b,t.a))}function CFe(t,e){t.c=e,t.c>0&&t.b>0&&(t.g=EL(t.c,t.b,t.a))}function cKt(t,e){vTe(this,new mt(t.a,t.b)),kTe(this,o9(e))}function Gb(){l8e.call(this,new ev(Bp(12))),pnt(!0),this.a=2}function tq(t,e,n){cr(),mb.call(this,t),this.b=e,this.a=n}function Oit(t,e,n){Sl(),tM.call(this,e),this.a=t,this.b=n}function aKt(t){var e;e=t.c.d.b,t.b=e,t.a=t.c.d,e.a=t.c.d.b=t}function xFe(t){return t.b==0?null:(tn(t.b!=0),_l(t,t.a.a))}function gc(t,e){return e==null?go(zs(t.f,null)):Lx(t.i,e)}function lKt(t,e,n,r,i){return new AK(t,(jk(),BG),e,n,r,i)}function ZL(t,e){return Yzt(e),GPe(t,at(vn,Wn,28,e,15,1),e)}function tF(t,e){return GL(t,"set1"),GL(e,"set2"),new QPt(t,e)}function TFe(t,e){var n=pG[t.charCodeAt(0)];return n??t}function uKt(t,e){var n,r;return n=e,r=new hi,Dre(t,n,r),r.d}function eq(t,e,n,r){var i;i=new qRt,e.a[n.g]=i,mv(t.b,r,i)}function SFe(t,e){var n;return n=zPe(t.f,e),lr(lL(n),t.f.d)}function m9(t){var e;eje(t.a),p$t(t.a),e=new JA(t.a),yct(e)}function EFe(t,e){Wee(t,!0),jc(t.e.Rf(),new hrt(t,!0,e))}function BFe(t,e){return Cv(),t==Hr($f(e))||t==Hr(wg(e))}function AFe(t,e){return Cd(),o(F(e,(qo(),kf)),17).a==t}function ji(t){return Math.max(Math.min(t,ar),-2147483648)|0}function hKt(t){this.a=o(Ln(t),277),this.b=(le(),new Tnt(t))}function fKt(t,e,n){this.i=new Tt,this.b=t,this.g=e,this.a=n}function Iit(t,e,n){this.a=new Tt,this.e=t,this.f=e,this.c=n}function eF(t,e,n){this.c=new Tt,this.e=t,this.f=e,this.b=n}function dKt(t){uL.call(this),Hst(this),this.a=t,this.c=!0}function MFe(t){function e(){}return e.prototype=t||{},new e}function LFe(t){if(t.Ae())return null;var e=t.n;return SI[e]}function y9(t){return t.Db>>16!=3?null:o(t.Cb,27)}function mh(t){return t.Db>>16!=9?null:o(t.Cb,27)}function gKt(t){return t.Db>>16!=6?null:o(t.Cb,74)}function Xb(){Xb=Y,jg=new jet(Jv,0),by=new jet(Qv,1)}function tf(){tf=Y,qw=new Oet(Qv,0),F1=new Oet(Jv,1)}function yh(){yh=Y,eb=new Iet(hW,0),Dh=new Iet("UP",1)}function bKt(){bKt=Y,hle=Sn((oM(),W(K(ule,1),bt,549,0,[bG])))}function wKt(t){var e;return e=new dM(Bp(t.length)),_ot(e,t),e}function pKt(t,e){return t.b+=e.b,t.c+=e.c,t.d+=e.d,t.a+=e.a,t}function FFe(t,e){return rVt(t,e)?(ZGt(t),!0):!1}function bd(t,e){if(e==null)throw N(new Uy);return JRe(t,e)}function v9(t,e){var n;n=t.q.getHours(),t.q.setDate(e),a6(t,n)}function Pit(t,e,n){var r;r=t.Ih(e),r>=0?t.bi(r,n):Olt(t,e,n)}function mKt(t,e){var n;return n=t.Ih(e),n>=0?t.Wh(n):IK(t,e)}function yKt(t,e){var n;for(Ln(e),n=t.a;n;n=n.c)e.Yd(n.g,n.i)}function nq(t,e,n){var r;r=xVt(t,e,n),t.b=new zF(r.c.length)}function dm(t,e,n){nF(),t&&Qn(WY,t,e),t&&Qn(OB,t,n)}function _Fe(t,e){return bL(),Te(),o(e.a,17).a<t}function OFe(t,e){return bL(),Te(),o(e.b,17).a<t}function rq(t,e){return p.Math.abs(t)<p.Math.abs(e)?t:e}function IFe(t){return!t.a&&(t.a=new dt(nr,t,10,11)),t.a.i>0}function jit(t){var e;return e=t.d,e=t.bj(t.f),mn(t,e),e.Ob()}function vKt(t,e){var n;return n=new Nrt(e),WQt(n,t),new ma(n)}function PFe(t){if(t.p!=0)throw N(new na);return Hx(t.f,0)}function jFe(t){if(t.p!=0)throw N(new na);return Hx(t.k,0)}function kKt(t){return t.Db>>16!=7?null:o(t.Cb,241)}function Lk(t){return t.Db>>16!=6?null:o(t.Cb,241)}function CKt(t){return t.Db>>16!=7?null:o(t.Cb,167)}function Hr(t){return t.Db>>16!=11?null:o(t.Cb,27)}function kp(t){return t.Db>>16!=17?null:o(t.Cb,29)}function xKt(t){return t.Db>>16!=3?null:o(t.Cb,155)}function Dit(t){var e;return gg(t),e=new yi,fr(t,new MLt(e))}function TKt(t,e){var n=t.a=t.a||[];return n[e]||(n[e]=t.ve(e))}function DFe(t,e){var n;n=t.q.getHours(),t.q.setMonth(e),a6(t,n)}function SKt(t,e){rL(this),this.f=e,this.g=t,UL(this),this.je()}function EKt(t,e){this.a=t,this.c=us(this.a),this.b=new YL(e)}function BKt(t,e,n){this.a=e,this.c=t,this.b=(Ln(n),new ma(n))}function AKt(t,e,n){this.a=e,this.c=t,this.b=(Ln(n),new ma(n))}function MKt(t){this.a=t,this.b=at(_ge,vt,2043,t.e.length,0,2)}function LKt(){this.a=new Vh,this.e=new yi,this.g=0,this.i=0}function nF(){nF=Y,WY=new hn,OB=new hn,FSe(Mle,new yEt)}function FKt(){FKt=Y,wge=ca(new Ci,(ys(),vo),(Es(),DE))}function $it(){$it=Y,pge=ca(new Ci,(ys(),vo),(Es(),DE))}function _Kt(){_Kt=Y,yge=ca(new Ci,(ys(),vo),(Es(),DE))}function OKt(){OKt=Y,Dge=zn(new Ci,(ys(),vo),(Es(),Z6))}function rl(){rl=Y,Nge=zn(new Ci,(ys(),vo),(Es(),Z6))}function IKt(){IKt=Y,qge=zn(new Ci,(ys(),vo),(Es(),Z6))}function iq(){iq=Y,Uge=zn(new Ci,(ys(),vo),(Es(),Z6))}function d5(t,e,n,r,i,s){return new vd(t.e,e,t.Lj(),n,r,i,s)}function so(t,e,n){return e==null?Mc(t.f,null,n):iw(t.i,e,n)}function xs(t,e){t.c&&Xc(t.c.g,t),t.c=e,t.c&&St(t.c.g,t)}function is(t,e){t.c&&Xc(t.c.a,t),t.c=e,t.c&&St(t.c.a,t)}function _o(t,e){t.i&&Xc(t.i.j,t),t.i=e,t.i&&St(t.i.j,t)}function ts(t,e){t.d&&Xc(t.d.e,t),t.d=e,t.d&&St(t.d.e,t)}function sq(t,e){t.a&&Xc(t.a.k,t),t.a=e,t.a&&St(t.a.k,t)}function oq(t,e){t.b&&Xc(t.b.f,t),t.b=e,t.b&&St(t.b.f,t)}function PKt(t,e){VMe(t,t.b,t.c),o(t.b.b,68),e&&o(e.b,68).b}function $Fe(t,e){return Tr(o(t.c,65).c.e.b,o(e.c,65).c.e.b)}function RFe(t,e){return Tr(o(t.c,65).c.e.a,o(e.c,65).c.e.a)}function NFe(t){return CH(),Te(),o(t.a,86).d.e!=0}function rF(t,e){Q(t.Cb,184)&&(o(t.Cb,184).tb=null),Bc(t,e)}function cq(t,e){Q(t.Cb,90)&&Np(Oa(o(t.Cb,90)),4),Bc(t,e)}function qFe(t,e){uct(t,e),Q(t.Cb,90)&&Np(Oa(o(t.Cb,90)),2)}function HFe(t,e){var n,r;n=e.c,r=n!=null,r&&yv(t,new yp(e.c))}function jKt(t){var e,n;return n=(sk(),e=new yb,e),$k(n,t),n}function DKt(t){var e,n;return n=(sk(),e=new yb,e),$k(n,t),n}function $Kt(t){for(var e;;)if(e=t.Pb(),!t.Ob())return e}function KFe(t,e,n){return St(t.a,(HL(),iK(e,n),new Eb(e,n))),t}function bc(t,e){return qs(),jq(e)?new CL(e,t):new WS(e,t)}function k9(t){return of(),nc(t,0)>=0?bg(t):a5(bg(u1(t)))}function zFe(t){var e;return e=o(vL(t.b),9),new El(t.a,e,t.c)}function RKt(t,e){var n;return n=o(_p(kv(t.a),e),16),n?n.gc():0}function NKt(t,e,n){var r;hYt(e,n,t.c.length),r=n-e,iet(t.c,e,r)}function o1(t,e,n){hYt(e,n,t.gc()),this.c=t,this.a=e,this.b=n-e}function xv(t){this.c=new $r,this.b=t.b,this.d=t.c,this.a=t.a}function aq(t){this.a=p.Math.cos(t),this.b=p.Math.sin(t)}function p0(t,e,n,r){this.c=t,this.d=r,sq(this,e),oq(this,n)}function Rit(t,e){c8e.call(this,new ev(Bp(t))),cl(e,Pie),this.a=e}function qKt(t,e,n){return new AK(t,(jk(),EG),null,!1,e,n)}function HKt(t,e,n){return new AK(t,(jk(),AG),e,n,null,!1)}function WFe(){return Ca(),W(K(lo,1),bt,108,0,[dgt,Eo,r2])}function UFe(){return Vc(),W(K(tue,1),bt,472,0,[lh,Lg,Iu])}function GFe(){return ka(),W(K(Qle,1),bt,471,0,[mf,Mg,Ou])}function XFe(){return ih(),W(K(i2,1),bt,237,0,[zo,Lc,Wo])}function VFe(){return v5(),W(K(o0t,1),bt,391,0,[GG,UG,XG])}function YFe(){return ew(),W(K(lX,1),bt,372,0,[Mw,Fg,Aw])}function JFe(){return x5(),W(K(obt,1),bt,322,0,[eT,NE,sbt])}function QFe(){return PF(),W(K(abt,1),bt,351,0,[cbt,bP,yX])}function ZFe(){return E0(),W(K(kfe,1),bt,460,0,[CX,w4,ry])}function t_e(){return Jk(),W(K(_X,1),bt,299,0,[LX,FX,qE])}function e_e(){return kd(),W(K(Mfe,1),bt,311,0,[HE,sy,f3])}function n_e(){return O5(),W(K(upt,1),bt,390,0,[cV,lpt,UP])}function r_e(){return Ws(),W(K(lge,1),bt,463,0,[pT,Sa,Fc])}function i_e(){return VF(),W(K(xpt,1),bt,387,0,[kpt,wV,Cpt])}function s_e(){return L5(),W(K(Tpt,1),bt,349,0,[mV,pV,ZE])}function o_e(){return sC(),W(K(Ept,1),bt,350,0,[yV,Spt,mT])}function c_e(){return IF(),W(K(Mpt,1),bt,352,0,[Apt,vV,Bpt])}function a_e(){return ZF(),W(K(Lpt,1),bt,388,0,[kV,M4,k2])}function l_e(){return tw(),W(K(Lge,1),bt,464,0,[tB,yT,YP])}function vh(t){return Io(W(K(Wi,1),vt,8,0,[t.i.n,t.n,t.a]))}function u_e(){return F5(),W(K(Gpt,1),bt,392,0,[Upt,TV,nB])}function KKt(){KKt=Y,q0e=ca(new Ci,(Nv(),xT),(o6(),Dpt))}function iF(){iF=Y,DV=new Det("DFS",0),g2t=new Det("BFS",1)}function zKt(t,e,n){var r;r=new BSt,r.b=e,r.a=n,++e.b,St(t.d,r)}function h_e(t,e,n){var r;r=new Ms(n.d),lr(r,t),lct(e,r.a,r.b)}function f_e(t,e){D$t(t,Mn(qi($b(e,24),yO)),Mn(qi(e,yO)))}function Cp(t,e){if(t<0||t>e)throw N(new ro(oht+t+cht+e))}function ue(t,e){if(t<0||t>=e)throw N(new ro(oht+t+cht+e))}function Oe(t,e){if(t<0||t>=e)throw N(new Wtt(oht+t+cht+e))}function se(t,e){this.b=($e(t),t),this.a=(e&Vp)==0?e|64|af:e}function Nit(t){var e;return gg(t),e=(Wb(),Wb(),xG),LF(t,e)}function d_e(t,e,n){var r;return r=h6(t,e,!1),r.b<=e&&r.a<=n}function g_e(){return kF(),W(K(amt,1),bt,439,0,[oY,cmt,omt])}function b_e(){return a_(),W(K(K2t,1),bt,394,0,[H2t,eY,q2t])}function w_e(){return g_(),W(K(N2t,1),bt,445,0,[cB,uj,VV])}function p_e(){return S_(),W(K(mbe,1),bt,456,0,[YV,QV,JV])}function m_e(){return t7(),W(K(k2t,1),bt,393,0,[cj,y2t,v2t])}function y_e(){return XF(),W(K(R2t,1),bt,300,0,[XV,$2t,D2t])}function v_e(){return Td(),W(K(Hyt,1),bt,346,0,[Bj,P1,HT])}function k_e(){return o7(),W(K(cY,1),bt,444,0,[gj,bj,wj])}function C_e(){return Sh(),W(K(Lyt,1),bt,278,0,[j4,E2,D4])}function x_e(){return Iv(),W(K(Vyt,1),bt,280,0,[Xyt,A2,Oj])}function Vb(t){return Ln(t),Q(t,16)?new ma(o(t,16)):yk(t.Kc())}function qit(t,e){return t&&t.equals?t.equals(e):it(t)===it(e)}function qi(t,e){return ug(bMe(Co(t)?Zl(t):t,Co(e)?Zl(e):e))}function th(t,e){return ug(wMe(Co(t)?Zl(t):t,Co(e)?Zl(e):e))}function lq(t,e){return ug(pMe(Co(t)?Zl(t):t,Co(e)?Zl(e):e))}function T_e(t,e){var n;return n=($e(t),t).g,Pnt(!!n),$e(e),n(e)}function WKt(t,e){var n,r;return r=Ck(t,e),n=t.a.fd(r),new YPt(t,n)}function S_e(t){return t.Db>>16!=6?null:o(DK(t),241)}function E_e(t){if(t.p!=2)throw N(new na);return Mn(t.f)&Si}function B_e(t){if(t.p!=2)throw N(new na);return Mn(t.k)&Si}function D(t){return tn(t.a<t.c.c.length),t.b=t.a++,t.c.c[t.b]}function A_e(t,e){t.b=t.b|e.b,t.c=t.c|e.c,t.d=t.d|e.d,t.a=t.a|e.a}function M_e(t,e){var n;n=nt(ct(t.a.of((Vn(),Tj)))),oie(t,e,n)}function UKt(t,e){d0.call(this,1,2,W(K(vn,1),Wn,28,15,[t,e]))}function GKt(t,e,n){mb.call(this,25),this.b=t,this.a=e,this.c=n}function il(t){cr(),mb.call(this,t),this.c=!1,this.a=!1}function L_e(t){return t.a==(Ok(),Gj)&&_Te(t,zVe(t.g,t.b)),t.a}function Tv(t){return t.d==(Ok(),Gj)&&ITe(t,KJe(t.g,t.b)),t.d}function F_e(t,e){return k5(),t.c==e.c?Tr(e.d,t.d):Tr(e.c,t.c)}function __e(t,e){return k5(),t.c==e.c?Tr(e.d,t.d):Tr(t.c,e.c)}function O_e(t,e){return k5(),t.c==e.c?Tr(t.d,e.d):Tr(t.c,e.c)}function I_e(t,e){return k5(),t.c==e.c?Tr(t.d,e.d):Tr(e.c,t.c)}function Hit(t,e){return wqt(t.a,e)?Frt(t.b,o(e,22).g,null):null}function P_e(t){return Ts(Su(Yo(ja(t,32)),32),Yo(ja(t,32)))}function Kit(t){return t.b==null||t.b.length==0?"n_"+t.a:"n_"+t.b}function m0(t){return t.c==null||t.c.length==0?"n_"+t.g:"n_"+t.c}function XKt(t,e){var n;for(n=t+"";n.length<e;)n="0"+n;return n}function j_e(t,e){var n;n=o(Ue(t.g,e),60),jc(e.d,new Hjt(t,n))}function D_e(t,e){var n,r;return n=JJt(t),r=JJt(e),n<r?-1:n>r?1:0}function VKt(t,e){var n,r;return n=_q(e),r=n,o(Ue(t.c,r),17).a}function uq(t,e,n){var r;r=t.d[e.p],t.d[e.p]=t.d[n.p],t.d[n.p]=r}function $_e(t,e,n){var r;t.n&&e&&n&&(r=new uEt,St(t.e,r))}function hq(t,e){if(Ai(t.a,e),e.d)throw N(new Lo(ise));e.d=t}function zit(t,e){this.a=new Tt,this.d=new Tt,this.f=t,this.c=e}function YKt(){this.c=new O$t,this.a=new RWt,this.b=new JOt,bjt()}function JKt(){_v(),this.b=new hn,this.a=new hn,this.c=new Tt}function QKt(t,e,n){this.d=t,this.j=e,this.e=n,this.o=-1,this.p=3}function ZKt(t,e,n){this.d=t,this.k=e,this.f=n,this.o=-1,this.p=5}function tzt(t,e,n,r,i,s){zst.call(this,t,e,n,r,i),s&&(this.o=-2)}function ezt(t,e,n,r,i,s){Wst.call(this,t,e,n,r,i),s&&(this.o=-2)}function nzt(t,e,n,r,i,s){ast.call(this,t,e,n,r,i),s&&(this.o=-2)}function rzt(t,e,n,r,i,s){Xst.call(this,t,e,n,r,i),s&&(this.o=-2)}function izt(t,e,n,r,i,s){lst.call(this,t,e,n,r,i),s&&(this.o=-2)}function szt(t,e,n,r,i,s){Ust.call(this,t,e,n,r,i),s&&(this.o=-2)}function ozt(t,e,n,r,i,s){Gst.call(this,t,e,n,r,i),s&&(this.o=-2)}function czt(t,e,n,r,i,s){ust.call(this,t,e,n,r,i),s&&(this.o=-2)}function azt(t,e,n,r){tM.call(this,n),this.b=t,this.c=e,this.d=r}function lzt(t,e){this.f=t,this.a=(Ok(),Uj),this.c=Uj,this.b=e}function uzt(t,e){this.g=t,this.d=(Ok(),Gj),this.a=Gj,this.b=e}function Wit(t,e){!t.c&&(t.c=new si(t,0)),lO(t.c,(kr(),t8),e)}function R_e(t,e){return kGe(t,e,Q(e,102)&&(o(e,19).Bb&js)!=0)}function N_e(t,e){return zqt(Yo(t.q.getTime()),Yo(e.q.getTime()))}function hzt(t){return pN(t.e.Rd().gc()*t.c.Rd().gc(),16,new PMt(t))}function q_e(t){return!!t.u&&ac(t.u.a).i!=0&&!(t.n&&tK(t.n))}function H_e(t){return!!t.a&&Ia(t.a.a).i!=0&&!(t.b&&eK(t.b))}function Uit(t,e){return e==0?!!t.o&&t.o.f!=0:XH(t,e)}function K_e(t,e,n){var r;return r=o(t.Zb().xc(e),16),!!r&&r.Hc(n)}function fzt(t,e,n){var r;return r=o(t.Zb().xc(e),16),!!r&&r.Mc(n)}function dzt(t,e){var n;return n=1-e,t.a[n]=KF(t.a[n],n),KF(t,e)}function gzt(t,e){var n,r;return r=qi(t,Gs),n=Su(e,32),th(n,r)}function bzt(t,e,n){var r;r=(Ln(t),new ma(t)),Wqe(new BKt(r,e,n))}function C9(t,e,n){var r;r=(Ln(t),new ma(t)),Uqe(new AKt(r,e,n))}function Ro(t,e,n,r,i,s){return UXt(t,e,n,s),ect(t,r),nct(t,i),t}function wzt(t,e,n,r){return t.a+=""+Al(e==null?Jc:To(e),n,r),t}function ss(t,e){this.a=t,ux.call(this,t),Cp(e,t.gc()),this.b=e}function pzt(t){this.a=at(Hi,ye,1,Aot(p.Math.max(8,t))<<1,5,1)}function x9(t){return o(Bh(t,at(Vf,T1,10,t.c.length,0,1)),199)}function ef(t){return o(Bh(t,at(eX,AW,18,t.c.length,0,1)),483)}function mzt(t){return t.a?t.e.length==0?t.a.a:t.a.a+(""+t.e):t.c}function g5(t){for(;t.d>0&&t.a[--t.d]==0;);t.a[t.d++]==0&&(t.e=0)}function yzt(t){return tn(t.b.b!=t.d.a),t.c=t.b=t.b.b,--t.a,t.c.c}function z_e(t,e,n){t.a=e,t.c=n,t.b.a.$b(),nl(t.d),sp(t.e.a.c,0)}function vzt(t,e){var n;t.e=new Ptt,n=Hp(e),gi(n,t.c),Iee(t,n,0)}function xi(t,e,n,r){var i;i=new MZ,i.a=e,i.b=n,i.c=r,qn(t.a,i)}function kt(t,e,n,r){var i;i=new MZ,i.a=e,i.b=n,i.c=r,qn(t.b,i)}function kzt(t,e,n){if(t<0||e<t||e>n)throw N(new ro(rWe(t,e,n)))}function T9(t,e){if(t<0||t>=e)throw N(new ro(IWe(t,e)));return t}function W_e(t){if(!("stack"in t))try{throw t}catch{}return t}function gm(t){return Sx(),Q(t.g,10)?o(t.g,10):null}function U_e(t){return fm(t).dc()?!1:(b9e(t,new rt),!0)}function y0(t){var e;return Co(t)?(e=t,e==-0?0:e):cPe(t)}function Czt(t,e){return Q(e,44)?oK(t.a,o(e,44)):!1}function xzt(t,e){return Q(e,44)?oK(t.a,o(e,44)):!1}function Tzt(t,e){return Q(e,44)?oK(t.a,o(e,44)):!1}function Git(t){var e;return sg(t),e=new _r,Y2(t.a,new ELt(e)),e}function Xit(){var t,e,n;return e=(n=(t=new yb,t),n),St(Fvt,e),e}function sF(t){var e;return sg(t),e=new Yr,Y2(t.a,new BLt(e)),e}function G_e(t,e){return t.a<=t.b?(e.Dd(t.a++),!0):!1}function Szt(t){Zq.call(this,t,(jk(),SG),null,!1,null,!1)}function Ezt(){Ezt=Y,_ue=Sn((yM(),W(K($gt,1),bt,489,0,[$G])))}function Bzt(){Bzt=Y,_pt=yHt(Ct(1),Ct(4)),Fpt=yHt(Ct(1),Ct(2))}function X_e(t,e){return new hN(e,Jx(us(e.e),t,t),(Te(),!0))}function oF(t){return new Ec((cl(t,Mz),AF(Ts(Ts(5,t),t/10|0))))}function V_e(t){return pN(t.e.Rd().gc()*t.c.Rd().gc(),273,new IMt(t))}function Azt(t){return o(Bh(t,at(qhe,jse,12,t.c.length,0,1)),2042)}function Y_e(t){return rl(),!Ps(t)&&!(!Ps(t)&&t.c.i.c==t.d.i.c)}function J_e(t,e){return Lv(),o(F(e,(qo(),wy)),17).a>=t.gc()}function b5(t,e){Oen(e,t),Brt(t.d),Brt(o(F(t,(Ft(),RP)),214))}function fq(t,e){Ien(e,t),Art(t.d),Art(o(F(t,(Ft(),RP)),214))}function Q_e(t,e,n){t.d&&Xc(t.d.e,t),t.d=e,t.d&&Db(t.d.e,n,t)}function Z_e(t,e,n){return n.f.c.length>0?nit(t.a,e,n):nit(t.b,e,n)}function tOe(t,e,n){var r;r=pNe();try{return q7e(t,e,n)}finally{UOe(r)}}function Yb(t,e){var n,r;return n=bd(t,e),r=null,n&&(r=n.pe()),r}function w5(t,e){var n,r;return n=bd(t,e),r=null,n&&(r=n.se()),r}function Fk(t,e){var n,r;return n=Ep(t,e),r=null,n&&(r=n.se()),r}function wd(t,e){var n,r;return n=bd(t,e),r=null,n&&(r=Gat(n)),r}function eOe(t,e,n){var r;return r=dC(n),iO(t.g,r,e),iO(t.i,e,n),e}function Vit(t,e,n){this.d=new RFt(this),this.e=t,this.i=e,this.f=n}function Mzt(t,e,n,r){this.e=null,this.c=t,this.d=e,this.a=n,this.b=r}function Lzt(t,e,n,r){B$t(this),this.c=t,this.e=e,this.f=n,this.b=r}function Yit(t,e,n,r){this.d=t,this.n=e,this.g=n,this.o=r,this.p=-1}function Fzt(t,e,n,r){return Q(n,59)?new cRt(t,e,n,r):new Yrt(t,e,n,r)}function _k(t){return Q(t,16)?o(t,16).dc():!t.Kc().Ob()}function _zt(t){if(t.e.g!=t.b)throw N(new xl);return!!t.c&&t.d>0}function fn(t){return tn(t.b!=t.d.c),t.c=t.b,t.b=t.b.a,++t.a,t.c.c}function Jit(t,e){$e(e),ei(t.a,t.c,e),t.c=t.c+1&t.a.length-1,tQt(t)}function cg(t,e){$e(e),t.b=t.b-1&t.a.length-1,ei(t.a,t.b,e),tQt(t)}function Ozt(t){var e;e=t.Gh(),this.a=Q(e,71)?o(e,71).Ii():e.Kc()}function nOe(t){return new se(qPe(o(t.a.md(),16).gc(),t.a.ld()),16)}function Izt(){Izt=Y,Vbe=Sn((CM(),W(K(fmt,1),bt,490,0,[aY])))}function Pzt(){Pzt=Y,Jbe=Sn((xM(),W(K(Ybe,1),bt,558,0,[lY])))}function jzt(){jzt=Y,bwe=Sn((Ex(),W(K(Omt,1),bt,539,0,[hB])))}function rOe(){return M0(),W(K(u0t,1),bt,389,0,[c2,l0t,ZG,tX])}function iOe(){return jk(),W(K(_I,1),bt,304,0,[SG,EG,BG,AG])}function sOe(){return Dv(),W(K(Bue,1),bt,332,0,[ME,AE,LE,FE])}function oOe(){return z5(),W(K(Lue,1),bt,406,0,[_E,jI,DI,OE])}function cOe(){return rw(),W(K(Sue,1),bt,417,0,[BE,EE,jG,DG])}function aOe(){return Qk(),W(K(Mhe,1),bt,416,0,[Bw,o2,s2,Qm])}function lOe(){return Eh(),W(K(sfe,1),bt,421,0,[h3,l4,u4,aX])}function uOe(){return QF(),W(K(Xhe,1),bt,371,0,[cX,lP,uP,$E])}function hOe(){return Pp(),W(K(lV,1),bt,203,0,[GP,aV,gy,dy])}function fOe(){return rf(),W(K(ypt,1),bt,284,0,[L1,mpt,fV,dV])}function dOe(t){var e;return t.j==(At(),un)&&(e=Cte(t),sa(e,qe))}function gOe(t,e){var n;n=e.a,xs(n,e.c.d),ts(n,e.d.d),Lp(n.a,t.n)}function Qit(t,e){var n;return n=o(Th(t.b,e),67),!n&&(n=new $r),n}function Sv(t){return Sx(),Q(t.g,154)?o(t.g,154):null}function bOe(t){t.a=null,t.e=null,sp(t.b.c,0),sp(t.f.c,0),t.c=null}function cF(){cF=Y,OX=new Let(qC,0),Bbt=new Let("TOP_LEFT",1)}function p5(){p5=Y,kT=new _et("UPPER",0),vT=new _et("LOWER",1)}function wOe(t,e){return av(new mt(e.e.a+e.f.a/2,e.e.b+e.f.b/2),t)}function Dzt(t,e){return o(Ga(pp(o(gr(t.k,e),15).Oc(),ty)),113)}function $zt(t,e){return o(Ga(wv(o(gr(t.k,e),15).Oc(),ty)),113)}function pOe(){return Nv(),W(K(Ppt,1),bt,405,0,[tj,CT,xT,TT])}function mOe(){return _5(),W(K(d2t,1),bt,353,0,[jV,sj,PV,IV])}function yOe(){return M_(),W(K(j2t,1),bt,354,0,[GV,I2t,P2t,O2t])}function vOe(){return Qa(),W(K(GT,1),bt,386,0,[BB,cb,EB,B2])}function kOe(){return ll(),W(K(npe,1),bt,291,0,[xB,Qf,Rg,CB])}function COe(){return Sd(),W(K(jY,1),bt,223,0,[PY,kB,$4,E3])}function xOe(){return u_(),W(K(evt,1),bt,320,0,[RY,Qyt,tvt,Zyt])}function TOe(){return t_(),W(K(ype,1),bt,415,0,[NY,rvt,nvt,ivt])}function SOe(t){return nF(),Pc(WY,t)?o(Ue(WY,t),341).Qg():null}function Ml(t,e,n){return e<0?IK(t,n):o(n,69).wk().Bk(t,t.hi(),e)}function EOe(t,e,n){var r;return r=dC(n),iO(t.j,r,e),Qn(t.k,e,n),e}function BOe(t,e,n){var r;return r=dC(n),iO(t.d,r,e),Qn(t.e,e,n),e}function Rzt(t){var e,n;return e=(J1(),n=new f$,n),t&&X_(e,t),e}function Zit(t){var e;return e=t.aj(t.i),t.i>0&&uc(t.g,0,e,0,t.i),e}function Nzt(t,e){var n;for(n=t.j.c.length;n<e;n++)St(t.j,t.Ng())}function qzt(t,e,n,r){var i;return i=r[e.g][n.g],nt(ct(F(t.a,i)))}function Hzt(t,e){TM();var n;return n=o(Ue(Hj,t),57),!n||n.fk(e)}function AOe(t){if(t.p!=1)throw N(new na);return Mn(t.f)<<24>>24}function MOe(t){if(t.p!=1)throw N(new na);return Mn(t.k)<<24>>24}function LOe(t){if(t.p!=7)throw N(new na);return Mn(t.k)<<16>>16}function FOe(t){if(t.p!=7)throw N(new na);return Mn(t.f)<<16>>16}function bm(t,e){return e.e==0||t.e==0?X6:(SC(),KK(t,e))}function Kzt(t,e){return it(e)===it(t)?"(this Map)":e==null?Jc:To(e)}function _Oe(t,e,n){return EN(ct(go(zs(t.f,e))),ct(go(zs(t.f,n))))}function OOe(t,e,n){var r;r=o(Ue(t.g,n),60),St(t.a.c,new Pi(e,r))}function zzt(t,e,n){t.i=0,t.e=0,e!=n&&(EVt(t,e,n),SVt(t,e,n))}function IOe(t,e,n,r,i){var s;s=PGe(i,n,r),St(e,BWe(i,s)),mze(t,i,e)}function tst(t,e,n,r,i){this.i=t,this.a=e,this.e=n,this.j=r,this.f=i}function Wzt(t,e){Fit.call(this),this.a=t,this.b=e,St(this.a.b,this)}function Uzt(t){this.b=new hn,this.c=new hn,this.d=new hn,this.a=t}function Gzt(t,e){var n;return n=new tv,t.Gd(n),n.a+="..",e.Hd(n),n.a}function Xzt(t,e){var n;for(n=e;n;)Pb(t,n.i,n.j),n=Hr(n);return t}function Vzt(t,e,n){var r;return r=dC(n),Qn(t.b,r,e),Qn(t.c,e,n),e}function pd(t){var e;for(e=0;t.Ob();)t.Pb(),e=Ts(e,1);return AF(e)}function Pf(t,e){qs();var n;return n=o(t,69).vk(),Ize(n,e),n.xl(e)}function POe(t,e,n){if(n){var r=n.oe();t.a[e]=r(n)}else delete t.a[e]}function est(t,e){var n;n=t.q.getHours(),t.q.setFullYear(e+Cg),a6(t,n)}function jOe(t,e){return o(e==null?go(zs(t.f,null)):Lx(t.i,e),288)}function nst(t,e){return t==(je(),ui)&&e==ui?4:t==ui||e==ui?8:32}function aF(t,e,n){return oO(t,e,n,Q(e,102)&&(o(e,19).Bb&js)!=0)}function DOe(t,e,n){return MC(t,e,n,Q(e,102)&&(o(e,19).Bb&js)!=0)}function $Oe(t,e,n){return AGe(t,e,n,Q(e,102)&&(o(e,19).Bb&js)!=0)}function rst(t){t.b!=t.c&&(t.a=at(Hi,ye,1,8,5,1),t.b=0,t.c=0)}function m5(t){return tn(t.a<t.c.a.length),t.b=t.a,cGt(t),t.c.b[t.b]}function ac(t){return t.n||(Oa(t),t.n=new Cqt(t,Js,t),wo(t)),t.n}function Yzt(t){if(t<0)throw N(new KIt("Negative array size: "+t))}function dq(t,e,n){if(n){var r=n.oe();n=r(n)}else n=void 0;t.a[e]=n}function Jzt(t,e){rC();var n;return n=t.j.g-e.j.g,n!=0?n:0}function ROe(t,e){return hd(),mn(ht(t.a),e)}function NOe(t,e){return hd(),mn(ht(t.a),e)}function md(t,e){of(),d0.call(this,t,1,W(K(vn,1),Wn,28,15,[e]))}function xp(t,e){cr(),mb.call(this,t),this.a=e,this.c=-1,this.b=-1}function Tp(t,e,n,r){QKt.call(this,1,n,r),this.c=t,this.b=e}function gq(t,e,n,r){ZKt.call(this,1,n,r),this.c=t,this.b=e}function bq(t,e,n,r,i,s,l){zq.call(this,e,r,i,s,l),this.c=t,this.a=n}function v0(t,e,n){this.e=t,this.a=Hi,this.b=ene(e),this.c=e,this.d=n}function wq(t){this.e=t,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function ist(t){this.d=t,this.b=this.d.a.entries(),this.a=this.b.next()}function Qzt(t){this.c=t,this.a=o(eu(t),156),this.b=this.a.jk().wi()}function c1(){hn.call(this),fRt(this),this.d.b=this.d,this.d.a=this.d}function ni(t,e,n,r){var i;i=new Br,i.c=e,i.b=n,i.a=r,r.b=n.a=i,++t.b}function qOe(t,e){var n;return n=e!=null?gc(t,e):go(zs(t.f,e)),YM(n)}function HOe(t,e){var n;return n=e!=null?gc(t,e):go(zs(t.f,e)),YM(n)}function xo(t,e){var n;return e.b.Kb(VUt(t,e.c.Xe(),(n=new FLt(e),n)))}function KOe(t,e){var n;return Yzt(e),n=t.slice(0,e),n.length=e,Fq(n,t)}function Zzt(t,e){var n;for(n=0;n<e;++n)ei(t,n,new QZ(o(t[n],44)))}function zOe(t,e){var n;for(n=t.d-1;n>=0&&t.a[n]===e[n];n--);return n<0}function lF(t){var e;return t?new Nrt(t):(e=new Vh,Jq(e,t),e)}function WOe(t,e){var n,r;r=!1;do n=bVt(t,e),r=r|n;while(n);return r}function UOe(t){t&&mPe((qtt(),R1t)),--EI,t&&BI!=-1&&(DSe(BI),BI=-1)}function uF(t){Fat(),D$t(this,Mn(qi($b(t,24),yO)),Mn(qi(t,yO)))}function tWt(){tWt=Y,Ule=Sn((y_(),W(K(bgt,1),bt,436,0,[FG,ggt])))}function eWt(){eWt=Y,Gle=Sn((EF(),W(K(pgt,1),bt,435,0,[wgt,_G])))}function nWt(){nWt=Y,Vue=Sn((BF(),W(K(Wgt,1),bt,432,0,[KG,NI])))}function rWt(){rWt=Y,Whe=Sn((Uk(),W(K(zhe,1),bt,517,0,[jE,rX])))}function iWt(){iWt=Y,Ffe=Sn((cF(),W(K(Abt,1),bt,429,0,[OX,Bbt])))}function sWt(){sWt=Y,vfe=Sn((N9(),W(K(fbt,1),bt,428,0,[wP,hbt])))}function oWt(){oWt=Y,Tfe=Sn((O9(),W(K(bbt,1),bt,488,0,[gbt,mP])))}function cWt(){cWt=Y,age=Sn(($9(),W(K(vpt,1),bt,430,0,[gV,bV])))}function aWt(){aWt=Y,jge=Sn((p5(),W(K(Pge,1),bt,531,0,[kT,vT])))}function lWt(){lWt=Y,wfe=Sn((mF(),W(K(ibt,1),bt,431,0,[rbt,mX])))}function uWt(){uWt=Y,N0e=Sn((iF(),W(K(b2t,1),bt,433,0,[DV,g2t])))}function hWt(){hWt=Y,W0e=Sn((HF(),W(K(w2t,1),bt,501,0,[oj,my])))}function fWt(){fWt=Y,Kge=Sn((tf(),W(K(Hge,1),bt,523,0,[qw,F1])))}function dWt(){dWt=Y,Wge=Sn((yh(),W(K(zge,1),bt,522,0,[eb,Dh])))}function gWt(){gWt=Y,o0e=Sn((eh(),W(K(s0e,1),bt,528,0,[C2,Pg])))}function bWt(){bWt=Y,d0e=Sn((Xb(),W(K(f0e,1),bt,465,0,[jg,by])))}function wWt(){wWt=Y,X0e=Sn((vF(),W(K(m2t,1),bt,434,0,[p2t,KV])))}function pWt(){pWt=Y,Kbe=Sn((fF(),W(K(smt,1),bt,491,0,[sY,imt])))}function mWt(){mWt=Y,Wbe=Sn((iH(),W(K(hmt,1),bt,492,0,[lmt,umt])))}function yWt(){yWt=Y,Qbe=Sn((A9(),W(K(dmt,1),bt,438,0,[uY,pj])))}function vWt(){vWt=Y,wwe=Sn((Y9(),W(K(Pmt,1),bt,437,0,[yj,Imt])))}function kWt(){kWt=Y,wpe=Sn((lN(),W(K(Ij,1),bt,347,0,[Yyt,Jyt])))}function GOe(){return Ti(),W(K(NT,1),bt,88,0,[Nh,ko,ho,Rh,Wl])}function XOe(){return At(),W(K(Ds,1),ic,64,0,[Do,Ie,qe,un,De])}function VOe(t,e,n){return o(e==null?Mc(t.f,null,n):iw(t.i,e,n),288)}function YOe(t){return(t.k==(je(),ui)||t.k==bi)&&Or(t,(yt(),sT))}function pq(t){return t.c&&t.d?Kit(t.c)+"->"+Kit(t.d):"e_"+Ib(t)}function ds(t,e){var n,r;for($e(e),r=t.Kc();r.Ob();)n=r.Pb(),e.Cd(n)}function JOe(t,e){var n;n=new Yy,w0(n,"x",e.a),w0(n,"y",e.b),yv(t,n)}function QOe(t,e){var n;n=new Yy,w0(n,"x",e.a),w0(n,"y",e.b),yv(t,n)}function CWt(t,e){var n;for(n=e;n;)Pb(t,-n.i,-n.j),n=Hr(n);return t}function sst(t,e){var n,r;for(n=e,r=0;n>0;)r+=t.a[n],n-=n&-n;return r}function Ll(t,e,n){var r;return r=(ue(e,t.c.length),t.c[e]),t.c[e]=n,r}function ost(t,e,n){t.a.c.length=0,xZe(t,e,n),t.a.c.length==0||YYe(t,e)}function S9(t){t.i=0,FS(t.b,null),FS(t.c,null),t.a=null,t.e=null,++t.g}function hF(){hF=Y,Ih=!0,jle=!1,Dle=!1,Rle=!1,$le=!1}function mq(t){hF(),!Ih&&(this.c=t,this.e=!0,this.a=new Tt)}function xWt(t,e){this.c=0,this.b=e,UDt.call(this,t,17493),this.a=this.c}function TWt(t){Eie(),_Ot(this),this.a=new $r,Rot(this,t),qn(this.a,t)}function SWt(){qR(this),this.b=new mt(Kr,Kr),this.a=new mt(Li,Li)}function fF(){fF=Y,sY=new Net(jht,0),imt=new Net("TARGET_WIDTH",1)}function wm(t,e){return(gg(t),ok(new ee(t,new Ost(e,t.a)))).Bd(a3)}function ZOe(){return ys(),W(K(c0t,1),bt,367,0,[Pu,Xf,hc,vc,vo])}function tIe(){return Dp(),W(K(cfe,1),bt,375,0,[RE,dP,gP,fP,hP])}function eIe(){return p1(),W(K(ubt,1),bt,348,0,[vX,lbt,kX,b4,g4])}function nIe(){return K5(),W(K(fpt,1),bt,323,0,[hpt,uV,hV,bT,wT])}function rIe(){return Dl(),W(K(qbt,1),bt,171,0,[UE,cT,Og,aT,f2])}function iIe(){return j_(),W(K(U0e,1),bt,368,0,[qV,$V,HV,RV,NV])}function sIe(){return n6(),W(K(Ube,1),bt,373,0,[yy,k3,OT,_T,uB])}function oIe(){return k7(),W(K(pmt,1),bt,324,0,[gmt,hY,wmt,fY,bmt])}function cIe(){return oh(),W(K(Jf,1),bt,170,0,[me,$i,Cf,nb,O1])}function aIe(){return xm(),W(K(zT,1),bt,256,0,[Ng,TB,Kyt,KT,zyt])}function lIe(t){return lM(),function(){return tOe(t,this,arguments)}}function Ps(t){return!t.c||!t.d?!1:!!t.c.i&&t.c.i==t.d.i}function cst(t,e){return Q(e,143)?ne(t.c,o(e,143).c):!1}function Oa(t){return t.t||(t.t=new COt(t),D5(new $It(t),0,t.t)),t.t}function EWt(t){this.b=t,Ke.call(this,t),this.a=o(Be(this.b.a,4),129)}function BWt(t){this.b=t,uv.call(this,t),this.a=o(Be(this.b.a,4),129)}function Eu(t,e,n,r,i){DWt.call(this,e,r,i),this.c=t,this.b=n}function ast(t,e,n,r,i){QKt.call(this,e,r,i),this.c=t,this.a=n}function lst(t,e,n,r,i){ZKt.call(this,e,r,i),this.c=t,this.a=n}function ust(t,e,n,r,i){DWt.call(this,e,r,i),this.c=t,this.a=n}function yq(t,e){var n;return n=o(Th(t.d,e),23),n||o(Th(t.e,e),23)}function AWt(t,e){var n,r;return n=e.ld(),r=t.Fe(n),!!r&&Vo(r.e,e.md())}function MWt(t,e){var n;return n=e.ld(),new Eb(n,t.e.pc(n,o(e.md(),16)))}function uIe(t,e){var n;return n=t.a.get(e),n??at(Hi,ye,1,0,5,1)}function LWt(t){var e;return e=t.length,ne(Ne.substr(Ne.length-e,e),t)}function nn(t){if(bn(t))return t.c=t.a,t.a.Pb();throw N(new Mo)}function hst(t,e){return e==0||t.e==0?t:e>0?yee(t,e):KYt(t,-e)}function Ev(t,e){return e==0||t.e==0?t:e>0?KYt(t,e):yee(t,-e)}function fst(t){kSe.call(this,t==null?Jc:To(t),Q(t,82)?o(t,82):null)}function FWt(t){var e;return t.c||(e=t.r,Q(e,90)&&(t.c=o(e,29))),t.c}function vq(t){var e;return e=new Ub,mo(e,t),gt(e,(Ft(),uo),null),e}function _Wt(t){var e,n;return e=t.c.i,n=t.d.i,e.k==(je(),bi)&&n.k==bi}function kq(t){var e,n,r;return e=t&$a,n=t>>22&$a,r=t<0?_d:0,Ic(e,n,r)}function hIe(t){var e,n,r,i;for(n=t,r=0,i=n.length;r<i;++r)e=n[r],h5(e)}function fIe(t,e){var n,r;n=o(k$e(t.c,e),16),n&&(r=n.gc(),n.$b(),t.d-=r)}function Cq(t,e,n){var r;return r=t.Ih(e),r>=0?t.Lh(r,n,!0):hw(t,e,n)}function dIe(t,e,n){return Tr(av(bC(t),us(e.b)),av(bC(t),us(n.b)))}function gIe(t,e,n){return Tr(av(bC(t),us(e.e)),av(bC(t),us(n.e)))}function bIe(t,e){return p.Math.min(ag(e.a,t.d.d.c),ag(e.b,t.d.d.c))}function E9(t,e){t._i(t.i+1),Xx(t,t.i,t.Zi(t.i,e)),t.Mi(t.i++,e),t.Ni()}function y5(t){var e,n;++t.j,e=t.g,n=t.i,t.g=null,t.i=0,t.Oi(n,e),t.Ni()}function OWt(t,e,n){var r;r=new hnt(t.a),E5(r,t.a.a),Mc(r.f,e,n),t.a.a=r}function dst(t,e,n,r){var i;for(i=0;i<II;i++)FL(t.a[i][e.g],n,r[e.g])}function gst(t,e,n,r){var i;for(i=0;i<IG;i++)_L(t.a[e.g][i],n,r[e.g])}function gr(t,e){var n;return n=o(t.c.xc(e),16),!n&&(n=t.ic(e)),t.pc(e,n)}function wIe(t){var e;return e=(Ln(t),t?new ma(t):yk(t.Kc())),x7(e),i_(e)}function kh(t){var e,n;return Ln(t),e=dLe(t.length),n=new Ec(e),_ot(n,t),n}function xq(t,e,n,r){var i;return i=at(vn,Wn,28,e,15,1),DKe(i,t,e,n,r),i}function bst(t,e){if(t<0||t>e)throw N(new ro(nlt(t,e,"index")));return t}function a1(t,e){var n;return n=(ue(e,t.c.length),t.c[e]),iet(t.c,e,1),n}function wst(t,e){var n,r;return n=($e(t),t),r=($e(e),e),n==r?0:n<r?-1:1}function pst(t){var e;return e=t.e+t.f,isNaN(e)&&fL(t.d)?t.d:e}function pIe(t){return t.e=3,t.d=t.Yb(),t.e!=2?(t.e=0,!0):!1}function yd(t,e){return t.a?Kn(t.a,t.b):t.a=new el(t.d),zx(t.a,e),t}function Bv(t,e){return Ji(e)?e==null?ylt(t.f,null):VXt(t.i,e):ylt(t.f,e)}function IWt(t,e){WDt.call(this,e.zd(),e.yd()&-6),$e(t),this.a=t,this.b=e}function PWt(t,e){UDt.call(this,e.zd(),e.yd()&-6),$e(t),this.a=t,this.b=e}function mst(t,e){JM.call(this,e.zd(),e.yd()&-6),$e(t),this.a=t,this.b=e}function jWt(t,e,n){tM.call(this,n),this.b=t,this.c=e,this.d=(NH(),YY)}function DWt(t,e,n){this.d=t,this.k=e?1:0,this.f=n?1:0,this.o=-1,this.p=0}function Ch(t){this.c=t,this.a=new R(this.c.a),this.b=new R(this.c.b)}function dF(){this.e=new Tt,this.c=new Tt,this.d=new Tt,this.b=new Tt}function $Wt(){this.g=new ktt,this.b=new ktt,this.a=new Tt,this.k=new Tt}function RWt(){this.a=new Stt,this.b=new sIt,this.d=new Wa,this.e=new b5t}function NWt(t,e,n){this.a=t,this.c=e,this.d=n,St(e.e,this),St(n.b,this)}function yst(t,e,n){var r,i;for(r=0,i=0;i<e.length;i++)r+=t.tg(e[i],r,n)}function mIe(t,e){var n;return n=DZe(t,e),t.b=new zF(n.c.length),nZe(t,n)}function yIe(t,e){var n;n=t.q.getHours()+(e/60|0),t.q.setMinutes(e),a6(t,n)}function Tq(t){var e;return e=t.b,e.b==0?null:o($l(e,0),65).b}function vst(t){if(t.a){if(t.e)return vst(t.e)}else return t;return null}function vIe(t,e){return t.p<e.p?1:t.p>e.p?-1:0}function qWt(t){var e;return t.a||(e=t.r,Q(e,156)&&(t.a=o(e,156))),t.a}function kIe(t,e,n){var r;return++t.e,--t.f,r=o(t.d[e].gd(n),136),r.md()}function CIe(t){var e,n;return e=t.ld(),n=o(t.md(),16),s9(n.Nc(),new DMt(e))}function HWt(t,e){return Pc(t.a,e)?(Bv(t.a,e),!0):!1}function Av(t,e,n){return T9(e,t.e.Rd().gc()),T9(n,t.c.Rd().gc()),t.a[e][n]}function gF(t,e,n){this.a=t,this.b=e,this.c=n,St(t.t,this),St(e.i,this)}function bF(t,e,n,r){this.f=t,this.e=e,this.d=n,this.b=r,this.c=r?r.d:null}function B9(){this.b=new $r,this.a=new $r,this.b=new $r,this.a=new $r}function Ok(){Ok=Y;var t,e;Uj=(sk(),e=new rM,e),Gj=(t=new O$,t)}function xIe(t){var e;return gg(t),e=new INt(t,t.a.e,t.a.d|4),new Dnt(t,e)}function KWt(t){var e;for(sg(t),e=0;t.a.Bd(new cn);)e=Ts(e,1);return e}function wF(t,e){return $e(e),t.c<t.d?(t.Se(e,t.c++),!0):!1}function Ec(t){qR(this),c9(t>=0,"Initial capacity must not be negative")}function pF(){pF=Y,IT=new vr("org.eclipse.elk.labels.labelManager")}function zWt(){zWt=Y,Q0t=new Xr("separateLayerConnections",(QF(),cX))}function eh(){eh=Y,C2=new Pet("REGULAR",0),Pg=new Pet("CRITICAL",1)}function A9(){A9=Y,uY=new Het("FIXED",0),pj=new Het("CENTER_NODE",1)}function mF(){mF=Y,rbt=new Bet("QUADRATIC",0),mX=new Bet("SCANLINE",1)}function WWt(){WWt=Y,pfe=Sn((x5(),W(K(obt,1),bt,322,0,[eT,NE,sbt])))}function UWt(){UWt=Y,mfe=Sn((PF(),W(K(abt,1),bt,351,0,[cbt,bP,yX])))}function GWt(){GWt=Y,dfe=Sn((ew(),W(K(lX,1),bt,372,0,[Mw,Fg,Aw])))}function XWt(){XWt=Y,Cfe=Sn((E0(),W(K(kfe,1),bt,460,0,[CX,w4,ry])))}function VWt(){VWt=Y,Afe=Sn((Jk(),W(K(_X,1),bt,299,0,[LX,FX,qE])))}function YWt(){YWt=Y,Lfe=Sn((kd(),W(K(Mfe,1),bt,311,0,[HE,sy,f3])))}function JWt(){JWt=Y,rge=Sn((O5(),W(K(upt,1),bt,390,0,[cV,lpt,UP])))}function QWt(){QWt=Y,hge=Sn((VF(),W(K(xpt,1),bt,387,0,[kpt,wV,Cpt])))}function ZWt(){ZWt=Y,fge=Sn((L5(),W(K(Tpt,1),bt,349,0,[mV,pV,ZE])))}function tUt(){tUt=Y,uge=Sn((Ws(),W(K(lge,1),bt,463,0,[pT,Sa,Fc])))}function eUt(){eUt=Y,dge=Sn((sC(),W(K(Ept,1),bt,350,0,[yV,Spt,mT])))}function nUt(){nUt=Y,gge=Sn((IF(),W(K(Mpt,1),bt,352,0,[Apt,vV,Bpt])))}function rUt(){rUt=Y,bge=Sn((ZF(),W(K(Lpt,1),bt,388,0,[kV,M4,k2])))}function iUt(){iUt=Y,w0e=Sn((F5(),W(K(Gpt,1),bt,392,0,[Upt,TV,nB])))}function sUt(){sUt=Y,V0e=Sn((t7(),W(K(k2t,1),bt,393,0,[cj,y2t,v2t])))}function oUt(){oUt=Y,wbe=Sn((XF(),W(K(R2t,1),bt,300,0,[XV,$2t,D2t])))}function cUt(){cUt=Y,pbe=Sn((g_(),W(K(N2t,1),bt,445,0,[cB,uj,VV])))}function aUt(){aUt=Y,ybe=Sn((S_(),W(K(mbe,1),bt,456,0,[YV,QV,JV])))}function lUt(){lUt=Y,Cbe=Sn((a_(),W(K(K2t,1),bt,394,0,[H2t,eY,q2t])))}function uUt(){uUt=Y,zbe=Sn((kF(),W(K(amt,1),bt,439,0,[oY,cmt,omt])))}function hUt(){hUt=Y,Fge=Sn((tw(),W(K(Lge,1),bt,464,0,[tB,yT,YP])))}function fUt(){fUt=Y,Zle=Sn((ka(),W(K(Qle,1),bt,471,0,[mf,Mg,Ou])))}function dUt(){dUt=Y,Jle=Sn((ih(),W(K(i2,1),bt,237,0,[zo,Lc,Wo])))}function gUt(){gUt=Y,eue=Sn((Vc(),W(K(tue,1),bt,472,0,[lh,Lg,Iu])))}function bUt(){bUt=Y,Nle=Sn((Ca(),W(K(lo,1),bt,108,0,[dgt,Eo,r2])))}function wUt(){wUt=Y,khe=Sn((v5(),W(K(o0t,1),bt,391,0,[GG,UG,XG])))}function pUt(){pUt=Y,epe=Sn((Td(),W(K(Hyt,1),bt,346,0,[Bj,P1,HT])))}function mUt(){mUt=Y,Xbe=Sn((o7(),W(K(cY,1),bt,444,0,[gj,bj,wj])))}function yUt(){yUt=Y,Jwe=Sn((Sh(),W(K(Lyt,1),bt,278,0,[j4,E2,D4])))}function vUt(){vUt=Y,bpe=Sn((Iv(),W(K(Vyt,1),bt,280,0,[Xyt,A2,Oj])))}function xh(t,e){return!t.o&&(t.o=new aa((rc(),ed),j1,t,0)),RH(t.o,e)}function TIe(t,e){var n;t.C&&(n=o(Zs(t.b,e),127).n,n.d=t.C.d,n.a=t.C.a)}function kst(t){var e,n,r,i;i=t.d,e=t.a,n=t.b,r=t.c,t.d=n,t.a=r,t.b=i,t.c=e}function SIe(t){return!t.g&&(t.g=new WA),!t.g.b&&(t.g.b=new mOt(t)),t.g.b}function M9(t){return!t.g&&(t.g=new WA),!t.g.c&&(t.g.c=new kOt(t)),t.g.c}function EIe(t){return!t.g&&(t.g=new WA),!t.g.d&&(t.g.d=new yOt(t)),t.g.d}function BIe(t){return!t.g&&(t.g=new WA),!t.g.a&&(t.g.a=new vOt(t)),t.g.a}function AIe(t,e,n,r){return n&&(r=n.Rh(e,Gr(n.Dh(),t.c.uk()),null,r)),r}function MIe(t,e,n,r){return n&&(r=n.Th(e,Gr(n.Dh(),t.c.uk()),null,r)),r}function Sq(t,e,n,r){var i;return i=at(vn,Wn,28,e+1,15,1),OJe(i,t,e,n,r),i}function at(t,e,n,r,i,s){var l;return l=WJt(i,r),i!=10&&W(K(t,s),e,n,i,l),l}function LIe(t,e,n){var r,i;for(i=new Yk(e,t),r=0;r<n;++r)T_(i);return i}function Eq(t,e,n){var r,i;if(n!=null)for(r=0;r<e;++r)i=n[r],t.Qi(r,i)}function Cst(t,e){var n;return n=new hi,n.c=!0,n.d=e.md(),Dre(t,e.ld(),n)}function FIe(t,e){var n;n=t.q.getHours()+(e/3600|0),t.q.setSeconds(e),a6(t,n)}function xst(t,e){var n,r;return n=e,r=YN(yk(new Oq(t,n))),TL(new Oq(t,n)),r}function _Ie(t,e){e.Ug("Label management",1),YM(F(t,(pF(),IT))),e.Vg()}function OIe(t,e,n,r){Dne(t,e,n,MC(t,e,r,Q(e,102)&&(o(e,19).Bb&js)!=0))}function Tst(t,e,n){o(t.b,68),o(t.b,68),o(t.b,68),jc(t.a,new vNt(n,e,t))}function os(t,e,n){if(t<0||e>n||e<t)throw N(new Wtt(vO+t+sht+e+nht+n))}function Bq(t){t?(this.c=t,this.b=null):(this.c=null,this.b=new Tt)}function Aq(t,e){AM.call(this,t,e),this.a=at(Snn,wO,447,2,0,1),this.b=!0}function Sst(t){yVt.call(this,t,0),fRt(this),this.d.b=this.d,this.d.a=this.d}function Est(t){this.e=t,this.b=this.e.a.entries(),this.a=at(Hi,ye,1,0,5,1)}function kUt(){kUt=Y,mge=ca(zn(new Ci,(ys(),Pu),(Es(),iX)),vo,DE)}function IIe(){return N_(),W(K(dbt,1),bt,283,0,[TX,xX,EX,SX,BX,pP])}function PIe(){return y7(),W(K(vbt,1),bt,281,0,[yP,pbt,ybt,wbt,mbt,AX])}function jIe(){return vC(),W(K(Ebt,1),bt,282,0,[nT,Cbt,Sbt,Tbt,xbt,kbt])}function DIe(){return qv(),W(K(d4,1),bt,232,0,[f4,tT,h4,u2,ny,ey])}function $Ie(){return je(),W(K(nX,1),bt,273,0,[ui,Xi,bi,kc,oc,Ph])}function RIe(){return xa(),W(K(Aj,1),bt,279,0,[Hg,Rd,SB,UT,WT,B3])}function NIe(){return es(),W(K(Wyt,1),bt,101,0,[qg,qh,R4,ob,td,xc])}function qIe(){return $_(),W(K(jyt,1),bt,321,0,[DY,Oyt,Pyt,Fyt,Iyt,_yt])}function HIe(){return Df(),W(K(Nmt,1),bt,255,0,[mY,fB,dB,Cj,vj,kj])}function KIe(){return F0(),W(K(CY,1),bt,298,0,[kY,$T,DT,vY,PT,jT])}function Bst(t){var e;return!t.a&&t.b!=-1&&(e=t.c.Dh(),t.a=pe(e,t.b)),t.a}function mn(t,e){return t.Si()&&t.Hc(e)?!1:(t.Hi(e),!0)}function nh(t,e){return w9(e,"Horizontal alignment cannot be null"),t.b=e,t}function CUt(t,e,n){cr();var r;return r=vg(t,e),n&&r&&ZMe(t)&&(r=null),r}function Ast(t,e,n){var r;r=t.b[n.c.p][n.p],r.b+=e.b,r.c+=e.c,r.a+=e.a,++r.a}function Mst(t,e,n){var r;t.d[e.g]=n,r=t.g.c,r[e.g]=p.Math.max(r[e.g],n+1)}function ag(t,e){var n,r;return n=t.a-e.a,r=t.b-e.b,p.Math.sqrt(n*n+r*r)}function Lst(t,e){var n,r;for(r=e.Kc();r.Ob();)n=o(r.Pb(),36),fne(t,n,0,0)}function l1(t,e,n){var r,i;for(i=t.Kc();i.Ob();)r=o(i.Pb(),36),EC(r,e,n)}function zIe(t){var e,n;for(n=gn(t.a,0);n.b!=n.d.c;)e=o(fn(n),65),llt(e)}function xUt(t,e){return Tjt(t.e,e)||m1(t.e,e,new dJt(e)),o(Th(t.e,e),113)}function va(t,e,n,r){return $e(t),$e(e),$e(n),$e(r),new iit(t,e,new sr)}function aa(t,e,n,r){this.ak(),this.a=e,this.b=t,this.c=new Zrt(this,e,n,r)}function Mq(t,e,n,r,i,s){Yit.call(this,e,r,i,s),this.c=t,this.b=n}function L9(t,e,n,r,i,s){Yit.call(this,e,r,i,s),this.c=t,this.a=n}function F9(t,e){var n,r,i;return i=t.r,r=t.d,n=h6(t,e,!0),n.b!=i||n.a!=r}function _9(t,e,n){var r,i;return i=(r=xC(t.b,e),r),i?uO(P9(t,i),n):null}function WIe(t,e,n){var r,i,s;r=bd(t,n),i=null,r&&(i=Gat(r)),s=i,uJt(e,n,s)}function UIe(t,e,n){var r,i,s;r=bd(t,n),i=null,r&&(i=Gat(r)),s=i,uJt(e,n,s)}function Ik(t,e){var n;return n=t.Ih(e),n>=0?t.Lh(n,!0,!0):hw(t,e,!0)}function GIe(t,e,n){var r;return r=xVt(t,e,n),t.b=new zF(r.c.length),zlt(t,r)}function XIe(t){if(t.b<=0)throw N(new Mo);return--t.b,t.a-=t.c.c,Ct(t.a)}function VIe(t){var e;if(!t.a)throw N(new OHt);return e=t.a,t.a=Hr(t.a),e}function YIe(t){for(;!t.a;)if(!sNt(t.c,new ALt(t)))return!1;return!0}function Mv(t){var e;return Ln(t),Q(t,204)?(e=o(t,204),e):new WMt(t)}function JIe(t){yF(),o(t.of((Vn(),S2)),181).Fc((xa(),SB)),t.qf(_Y,null)}function yF(){yF=Y,ywe=new B7t,kwe=new A7t,vwe=RDe((Vn(),_Y),ywe,$g,kwe)}function vF(){vF=Y,p2t=new Ret("LEAF_NUMBER",0),KV=new Ret("NODE_SIZE",1)}function Lq(t){t.a=at(vn,Wn,28,t.b+1,15,1),t.c=at(vn,Wn,28,t.b,15,1),t.d=0}function QIe(t,e){t.a.Ne(e.d,t.b)>0&&(St(t.c,new Crt(e.c,e.d,t.d)),t.b=e.d)}function Fst(t,e){if(t.g==null||e>=t.i)throw N(new jR(e,t.i));return t.g[e]}function TUt(t,e,n){if(nC(t,n),n!=null&&!t.fk(n))throw N(new L$);return n}function Fq(t,e){return R9(e)!=10&&W(Ja(e),e.Sm,e.__elementTypeId$,R9(e),t),t}function Pk(t,e,n,r){var i;r=(Wb(),r||ogt),i=t.slice(e,n),rlt(i,t,e,n,-e,r)}function Fl(t,e,n,r,i){return e<0?hw(t,n,r):o(n,69).wk().yk(t,t.hi(),e,r,i)}function ZIe(t,e){return Tr(nt(ct(F(t,(yt(),_w)))),nt(ct(F(e,_w))))}function SUt(){SUt=Y,Ile=Sn((jk(),W(K(_I,1),bt,304,0,[SG,EG,BG,AG])))}function jk(){jk=Y,SG=new BM("All",0),EG=new b$t,BG=new T$t,AG=new g$t}function ka(){ka=Y,mf=new cR(Jv,0),Mg=new cR(qC,1),Ou=new cR(Qv,2)}function EUt(){EUt=Y,cO(),Rvt=Kr,C2e=Li,Nvt=new pS(Kr),x2e=new pS(Li)}function BUt(){BUt=Y,Eue=Sn((rw(),W(K(Sue,1),bt,417,0,[BE,EE,jG,DG])))}function AUt(){AUt=Y,Fue=Sn((z5(),W(K(Lue,1),bt,406,0,[_E,jI,DI,OE])))}function MUt(){MUt=Y,Aue=Sn((Dv(),W(K(Bue,1),bt,332,0,[ME,AE,LE,FE])))}function LUt(){LUt=Y,jhe=Sn((M0(),W(K(u0t,1),bt,389,0,[c2,l0t,ZG,tX])))}function FUt(){FUt=Y,Lhe=Sn((Qk(),W(K(Mhe,1),bt,416,0,[Bw,o2,s2,Qm])))}function _Ut(){_Ut=Y,ofe=Sn((Eh(),W(K(sfe,1),bt,421,0,[h3,l4,u4,aX])))}function OUt(){OUt=Y,Vhe=Sn((QF(),W(K(Xhe,1),bt,371,0,[cX,lP,uP,$E])))}function IUt(){IUt=Y,ige=Sn((Pp(),W(K(lV,1),bt,203,0,[GP,aV,gy,dy])))}function PUt(){PUt=Y,cge=Sn((rf(),W(K(ypt,1),bt,284,0,[L1,mpt,fV,dV])))}function O9(){O9=Y,gbt=new Met(df,0),mP=new Met("IMPROVE_STRAIGHTNESS",1)}function jUt(t,e){var n,r;return r=e/t.c.Rd().gc()|0,n=e%t.c.Rd().gc(),Av(t,r,n)}function DUt(t){var e;if(t.nl())for(e=t.i-1;e>=0;--e)tt(t,e);return Zit(t)}function _st(t){var e,n;if(!t.b)return null;for(n=t.b;e=n.a[0];)n=e;return n}function $Ut(t){var e,n;if(!t.b)return null;for(n=t.b;e=n.a[1];)n=e;return n}function tPe(t){return Q(t,180)?""+o(t,180).a:t==null?null:To(t)}function ePe(t){return Q(t,180)?""+o(t,180).a:t==null?null:To(t)}function RUt(t,e){if(e.a)throw N(new Lo(ise));Ai(t.a,e),e.a=t,!t.j&&(t.j=e)}function Ost(t,e){JM.call(this,e.zd(),e.yd()&-16449),$e(t),this.a=t,this.c=e}function nPe(t,e){return new hN(e,Pb(us(e.e),e.f.a+t,e.f.b+t),(Te(),!1))}function rPe(t,e){return mk(),St(t,new Pi(e,Ct(e.e.c.length+e.g.c.length)))}function iPe(t,e){return mk(),St(t,new Pi(e,Ct(e.e.c.length+e.g.c.length)))}function NUt(){NUt=Y,bbe=Sn((M_(),W(K(j2t,1),bt,354,0,[GV,I2t,P2t,O2t])))}function qUt(){qUt=Y,R0e=Sn((_5(),W(K(d2t,1),bt,353,0,[jV,sj,PV,IV])))}function HUt(){HUt=Y,g0e=Sn((Nv(),W(K(Ppt,1),bt,405,0,[tj,CT,xT,TT])))}function KUt(){KUt=Y,Qwe=Sn((Sd(),W(K(jY,1),bt,223,0,[PY,kB,$4,E3])))}function zUt(){zUt=Y,rpe=Sn((ll(),W(K(npe,1),bt,291,0,[xB,Qf,Rg,CB])))}function WUt(){WUt=Y,dpe=Sn((Qa(),W(K(GT,1),bt,386,0,[BB,cb,EB,B2])))}function UUt(){UUt=Y,ppe=Sn((u_(),W(K(evt,1),bt,320,0,[RY,Qyt,tvt,Zyt])))}function GUt(){GUt=Y,vpe=Sn((t_(),W(K(ype,1),bt,415,0,[NY,rvt,nvt,ivt])))}function kF(){kF=Y,oY=new FR(Coe,0),cmt=new FR(edt,1),omt=new FR(df,2)}function Sp(t,e,n,r,i){return $e(t),$e(e),$e(n),$e(r),$e(i),new iit(t,e,r)}function XUt(t,e){var n;return n=o(Bv(t.e,e),400),n?(Ort(n),n.e):null}function Xc(t,e){var n;return n=po(t,e,0),n==-1?!1:(a1(t,n),!0)}function VUt(t,e,n){var r;return sg(t),r=new fe,r.a=e,t.a.Nb(new Ljt(r,n)),r.a}function sPe(t){var e;return sg(t),e=at(Zi,eo,28,0,15,1),Y2(t.a,new SLt(e)),e}function Ist(t){var e;if(!Gq(t))throw N(new Mo);return t.e=1,e=t.d,t.d=null,e}function u1(t){var e;return Co(t)&&(e=0-t,!isNaN(e))?e:ug(tC(t))}function po(t,e,n){for(;n<t.c.length;++n)if(Vo(e,t.c[n]))return n;return-1}function _q(t){var e,n;return n=o(Pt(t.j,0),12),e=o(F(n,(yt(),br)),12),e}function Oq(t,e){var n;this.f=t,this.b=e,n=o(Ue(t.b,e),260),this.c=n?n.b:null}function YUt(){Tu(),this.b=new hn,this.f=new hn,this.g=new hn,this.e=new hn}function CF(t){rL(this),this.g=t?JL(t,t.ie()):null,this.f=t,UL(this),this.je()}function Iq(t){var e;e=t.jj(),e!=null&&t.d!=-1&&o(e,94).xh(t),t.i&&t.i.oj()}function I9(t){var e;for(e=t.p+1;e<t.c.a.c.length;++e)--o(Pt(t.c.a,e),10).p}function JUt(t){dp(!!t.c),cN(t.f.g,t.d),t.c.Qb(),t.c=null,t.b=Cot(t),t.d=t.f.g}function Ia(t){return t.b||(t.b=new xqt(t,Js,t),!t.a&&(t.a=new t9(t,t))),t.b}function P9(t,e){var n,r;return n=o(e,690),r=n.xi(),!r&&n.Ai(r=new qDt(t,e)),r}function oo(t,e){var n,r;return n=o(e,692),r=n.$k(),!r&&n.cl(r=new uzt(t,e)),r}function Pst(t,e){Sx();var n,r;return n=Sv(t),r=Sv(e),!!n&&!!r&&!kJt(n.k,r.k)}function xF(t,e){return Vo(e,Pt(t.f,0))||Vo(e,Pt(t.f,1))||Vo(e,Pt(t.f,2))}function j9(t,e){if(e<0)throw N(new ro(joe+e));return Nzt(t,e+1),Pt(t.j,e)}function QUt(t,e,n,r){if(!t)throw N(new _e(s6(e,W(K(Hi,1),ye,1,5,[n,r]))))}function vd(t,e,n,r,i,s,l){zq.call(this,e,r,i,s,l),this.c=t,this.b=n}function jf(t,e,n){var r,i;for(r=10,i=0;i<n-1;i++)e<r&&(t.a+="0"),r*=10;t.a+=e}function TF(t){var e,n;return n=t.length,e=at(Xl,lf,28,n,15,1),Gqt(t,0,n,e,0),e}function D9(t){sqt();var e,n;return e=t+128,n=W1t[e],!n&&(n=W1t[e]=new uLt(t)),n}function ZUt(t){return cN(t.d.a.e.g,t.b),tn(t.c!=t.d.a.d),t.a=t.c,t.c=t.c.a,t.a}function oPe(t){switch(t.g){case 0:return ar;case 1:return-1;default:return 0}}function cPe(t){return lat(t,(Dk(),K1t))<0?-K9e(tC(t)):t.l+t.m*Yv+t.h*P0}function tGt(t){(this.q?this.q:(le(),le(),Gf)).Ac(t.q?t.q:(le(),le(),Gf))}function aPe(t,e){fv(o(o(t.f,27).of((Vn(),RT)),101))&&bRe(HN(o(t.f,27)),e)}function Pq(t,e){var n;return n=Gr(t.d,e),n>=0?x_(t,n,!0,!0):hw(t,e,!0)}function jst(t){var e;return e=k0(Be(t,32)),e==null&&(Rc(t),e=k0(Be(t,32))),e}function Dst(t){var e;return t.Oh()||(e=en(t.Dh())-t.ji(),t.$h().Mk(e)),t.zh()}function eGt(t,e){jgt=new W3,Mue=e,Y6=t,o(Y6.b,68),Tst(Y6,jgt,null),wre(Y6)}function v5(){v5=Y,GG=new lR("XY",0),UG=new lR("X",1),XG=new lR("Y",2)}function Vc(){Vc=Y,lh=new aR("TOP",0),Lg=new aR(qC,1),Iu=new aR(ght,2)}function kd(){kd=Y,HE=new bR(df,0),sy=new bR("TOP",1),f3=new bR(ght,2)}function $9(){$9=Y,gV=new Fet("INPUT_ORDER",0),bV=new Fet("PORT_DEGREE",1)}function Dk(){Dk=Y,q1t=Ic($a,$a,524287),mle=Ic(0,0,V7),H1t=kq(1),kq(2),K1t=kq(0)}function jq(t){var e;return t.d!=t.r&&(e=eu(t),t.e=!!e&&e.lk()==mae,t.d=e),t.e}function Dq(t,e,n){var r;return r=t.g[e],Xx(t,e,t.Zi(e,n)),t.Ri(e,n,r),t.Ni(),r}function SF(t,e){var n;return n=t.dd(e),n>=0?(t.gd(n),!0):!1}function $q(t,e){var n;for(Ln(t),Ln(e),n=!1;e.Ob();)n=n|t.Fc(e.Pb());return n}function Th(t,e){var n;return n=o(Ue(t.e,e),400),n?(j$t(t,n),n.e):null}function nGt(t){var e,n;return e=t/60|0,n=t%60,n==0?""+e:""+e+":"+(""+n)}function Ep(t,e){var n=t.a[e],r=(uH(),yG)[typeof n];return r?r(n):Uot(typeof n)}function Oo(t,e){var n,r;return gg(t),r=new mst(e,t.a),n=new aNt(r),new ee(t,n)}function Rq(t){var e;return e=t.b.c.length==0?null:Pt(t.b,0),e!=null&&Vq(t,0),e}function lPe(t,e){var n,r,i;i=e.c.i,n=o(Ue(t.f,i),60),r=n.d.c-n.e.c,bot(e.a,r,0)}function $st(t,e){var n;for(++t.d,++t.c[e],n=e+1;n<t.a.length;)++t.a[n],n+=n&-n}function rGt(t,e,n,r){cr(),mb.call(this,26),this.c=t,this.a=e,this.d=n,this.b=r}function iGt(t,e){for(;e[0]<t.length&&Xh(` \r
|
|
318
318
|
`,Yc(ms(t,e[0])))>=0;)++e[0]}function uPe(t,e){Dc(t,e==null||fL(($e(e),e))||isNaN(($e(e),e))?0:($e(e),e))}function hPe(t,e){$c(t,e==null||fL(($e(e),e))||isNaN(($e(e),e))?0:($e(e),e))}function fPe(t,e){Zb(t,e==null||fL(($e(e),e))||isNaN(($e(e),e))?0:($e(e),e))}function dPe(t,e){Qb(t,e==null||fL(($e(e),e))||isNaN(($e(e),e))?0:($e(e),e))}function gPe(t,e,n){return av(new mt(n.e.a+n.f.a/2,n.e.b+n.f.b/2),t)==($e(e),e)}function bPe(t,e){return Q(e,102)&&(o(e,19).Bb&js)!=0?new DR(e,t):new Yk(e,t)}function wPe(t,e){return Q(e,102)&&(o(e,19).Bb&js)!=0?new DR(e,t):new Yk(e,t)}function R9(t){return t.__elementTypeCategory$==null?10:t.__elementTypeCategory$}function sGt(t,e){return e==(oN(),oN(),Fle)?t.toLocaleLowerCase():t.toLowerCase()}function oGt(t){if(!t.e)throw N(new Mo);return t.c=t.a=t.e,t.e=t.e.e,--t.d,t.a.f}function Rst(t){if(!t.c)throw N(new Mo);return t.e=t.a=t.c,t.c=t.c.c,++t.d,t.a.f}function cGt(t){var e;for(++t.a,e=t.c.a.length;t.a<e;++t.a)if(t.c.b[t.a])return}function pPe(t){var e,n;if(t.a){n=null;do e=t.a,t.a=null,n=pZt(e,n);while(t.a);t.a=n}}function mPe(t){var e,n;if(t.b){n=null;do e=t.b,t.b=null,n=pZt(e,n);while(t.b);t.b=n}}function yPe(t,e){var n;for(n=0;t.e!=t.i.gc();)KAe(e,Ye(t),Ct(n)),n!=ar&&++n}function vPe(t,e){var n;return n=sw(t.e.c,e.e.c),n==0?Tr(t.e.d,e.e.d):n}function kPe(t,e){var n,r;for(r=e.c,n=r+1;n<=e.f;n++)t.a[n]>t.a[r]&&(r=n);return r}function aGt(t){var e;return e=o(F(t,(yt(),Lw)),313),e?e.a==t:!1}function lGt(t){var e;return e=o(F(t,(yt(),Lw)),313),e?e.i==t:!1}function uGt(){uGt=Y,She=Sn((ys(),W(K(c0t,1),bt,367,0,[Pu,Xf,hc,vc,vo])))}function hGt(){hGt=Y,afe=Sn((Dp(),W(K(cfe,1),bt,375,0,[RE,dP,gP,fP,hP])))}function fGt(){fGt=Y,yfe=Sn((p1(),W(K(ubt,1),bt,348,0,[vX,lbt,kX,b4,g4])))}function dGt(){dGt=Y,sge=Sn((K5(),W(K(fpt,1),bt,323,0,[hpt,uV,hV,bT,wT])))}function gGt(){gGt=Y,_fe=Sn((Dl(),W(K(qbt,1),bt,171,0,[UE,cT,Og,aT,f2])))}function bGt(){bGt=Y,G0e=Sn((j_(),W(K(U0e,1),bt,368,0,[qV,$V,HV,RV,NV])))}function wGt(){wGt=Y,Gbe=Sn((n6(),W(K(Ube,1),bt,373,0,[yy,k3,OT,_T,uB])))}function pGt(){pGt=Y,Zbe=Sn((k7(),W(K(pmt,1),bt,324,0,[gmt,hY,wmt,fY,bmt])))}function mGt(){mGt=Y,Ywe=Sn((Ti(),W(K(NT,1),bt,88,0,[Nh,ko,ho,Rh,Wl])))}function yGt(){yGt=Y,Cwe=Sn((oh(),W(K(Jf,1),bt,170,0,[me,$i,Cf,nb,O1])))}function vGt(){vGt=Y,spe=Sn((xm(),W(K(zT,1),bt,256,0,[Ng,TB,Kyt,KT,zyt])))}function kGt(){kGt=Y,ape=Sn((At(),W(K(Ds,1),ic,64,0,[Do,Ie,qe,un,De])))}function EF(){EF=Y,wgt=new vet("BY_SIZE",0),_G=new vet("BY_SIZE_AND_SHAPE",1)}function BF(){BF=Y,KG=new xet("EADES",0),NI=new xet("FRUCHTERMAN_REINGOLD",1)}function N9(){N9=Y,wP=new Aet("READING_DIRECTION",0),hbt=new Aet("ROTATION",1)}function k5(){k5=Y,Ohe=new ls,Ihe=new Mf,Fhe=new X1,_he=new G1,Phe=new Wh}function CGt(t){this.b=new Tt,this.a=new Tt,this.c=new Tt,this.d=new Tt,this.e=t}function xGt(t){this.g=t,this.f=new Tt,this.a=p.Math.min(this.g.c.c,this.g.d.c)}function TGt(t,e,n){uL.call(this),Hst(this),this.a=t,this.c=n,this.b=e.d,this.f=e.e}function CPe(t,e,n){var r,i;for(i=new R(n);i.a<i.c.c.length;)r=D(i),Eat(t,e,r)}function rh(t,e,n){var r;if(e==null)throw N(new Uy);return r=bd(t,e),POe(t,e,n),r}function Nq(t,e){var n;return n=o(Ue(t.a,e),137),n||(n=new pb,Qn(t.a,e,n)),n}function pe(t,e){var n;return n=(t.i==null&&cf(t),t.i),e>=0&&e<n.length?n[e]:null}function xPe(t,e){var n;return n=e>0?e-1:e,sPt(V8e(XGt(Mrt(new Vy,n),t.n),t.j),t.k)}function co(t){var e,n;n=(e=new I$,e),mn((!t.q&&(t.q=new dt(du,t,11,10)),t.q),n)}function Nst(t){return((t.i&2)!=0?"interface ":(t.i&1)!=0?"":"class ")+(dd(t),t.o)}function AF(t){return nc(t,ar)>0?ar:nc(t,vs)<0?vs:Mn(t)}function Bp(t){return t<3?(cl(t,Rie),t+1):t<b6?ji(t/.75+1):ar}function SGt(t,e){return $e(e),Jrt(t),t.d.Ob()?(e.Cd(t.d.Pb()),!0):!1}function TPe(t,e){var n,r;return n=o(_p(t.d,e),16),n?(r=e,t.e.pc(r,n)):null}function SPe(t,e,n,r){var i;t.j=-1,wlt(t,Xat(t,e,n),(qs(),i=o(e,69).vk(),i.xl(r)))}function EPe(t,e){return Lv(),-ec(o(F(t,(qo(),wy)),17).a,o(F(e,wy),17).a)}function EGt(t,e){return!!S5(t,e,Mn(Ss(Hf,If(Mn(Ss(e==null?0:Mr(e),Kf)),15))))}function BPe(){return CC(),W(K(qj,1),bt,245,0,[zY,Rj,Nj,$j,KY,Dj,jj,HY])}function APe(){return k1(),W(K(xwe,1),bt,285,0,[Dmt,Ki,Bo,vy,Cs,zr,C3,$h])}function MPe(){return Z_(),W(K(nbt,1),bt,276,0,[hX,gX,uX,pX,dX,fX,wX,bX])}function LPe(t){var e;return e=nt(ct(F(t,(Ft(),A1)))),e<0&&(e=0,gt(t,A1,e)),e}function MF(t,e){var n,r;for(r=t.Kc();r.Ob();)n=o(r.Pb(),72),gt(n,(yt(),w3),e)}function FPe(t,e,n){var r;r=p.Math.max(0,t.b/2-.5),G5(n,r,1),St(e,new Ojt(n,r))}function _Pe(t,e,n){var r;return r=t.a.e[o(e.a,10).p]-t.a.e[o(n.a,10).p],ji(l9(r))}function LF(t,e){var n;return gg(t),n=new HHt(t,t.a.zd(),t.a.yd()|4,e),new ee(t,n)}function qq(t){var e;dp(!!t.c),e=t.c.a,_l(t.d,t.c),t.b==t.c?t.b=e:--t.a,t.c=null}function BGt(t){return t.a>=-.01&&t.a<=Fh&&(t.a=0),t.b>=-.01&&t.b<=Fh&&(t.b=0),t}function pm(t){Om();var e,n;for(n=idt,e=0;e<t.length;e++)t[e]>n&&(n=t[e]);return n}function AGt(t,e){var n;if(n=L7(t.Dh(),e),!n)throw N(new _e(Eg+e+_U));return n}function Ap(t,e){var n;for(n=t;Hr(n);)if(n=Hr(n),n==e)return!0;return!1}function OPe(t,e){var n,r,i;for(r=e.a.ld(),n=o(e.a.md(),16).gc(),i=0;i<n;i++)t.Cd(r)}function jc(t,e){var n,r,i,s;for($e(e),r=t.c,i=0,s=r.length;i<s;++i)n=r[i],e.Cd(n)}function MGt(t,e,n,r,i,s){var l;l=vq(r),xs(l,i),ts(l,s),ie(t.a,r,new dL(l,e,n.f))}function LGt(t,e){pr(t,(Rf(),tY),e.f),pr(t,kbe,e.e),pr(t,ZV,e.d),pr(t,vbe,e.c)}function FGt(t,e){this.a=new hn,this.e=new hn,this.b=(O5(),UP),this.c=t,this.b=e}function _Gt(t){this.d=t,this.c=t.c.vc().Kc(),this.b=null,this.a=null,this.e=(oM(),bG)}function _l(t,e){var n;return n=e.c,e.a.b=e.b,e.b.a=e.a,e.a=e.b=null,e.c=null,--t.b,n}function IPe(t,e){return e&&t.b[e.g]==e?(ei(t.b,e.g,null),--t.c,!0):!1}function PPe(t,e){if(0>t||t>e)throw N(new Utt("fromIndex: 0, toIndex: "+t+nht+e))}function Jb(t){if(t<0)throw N(new _e("Illegal Capacity: "+t));this.g=this.aj(t)}function qst(t,e){return wh(),Bu(kg),p.Math.abs(t-e)<=kg||t==e||isNaN(t)&&isNaN(e)}function Hq(t,e){var n,r,i,s;for(r=t.d,i=0,s=r.length;i<s;++i)n=r[i],ph(t.g,n).a=e}function jPe(t,e,n){var r,i,s;for(i=e[n],r=0;r<i.length;r++)s=i[r],t.e[s.c.p][s.p]=r}function DPe(t){var e;for(e=0;e<t.c.length;e++)(ue(e,t.c.length),o(t.c[e],12)).p=e}function $Pe(t){var e,n;for(e=t.a.d.j,n=t.c.d.j;e!=n;)Au(t.b,e),e=o_(e);Au(t.b,e)}function RPe(t){var e;return e=p.Math.sqrt(t.a*t.a+t.b*t.b),e>0&&(t.a/=e,t.b/=e),t}function sl(t){var e;return t.w?t.w:(e=S_e(t),e&&!e.Vh()&&(t.w=e),e)}function $k(t,e){var n,r;r=t.a,n=M$e(t,e,null),r!=e&&!t.e&&(n=_C(t,e,n)),n&&n.oj()}function OGt(t,e,n){var r,i;r=e;do i=nt(t.p[r.p])+n,t.p[r.p]=i,r=t.a[r.p];while(r!=e)}function IGt(t,e,n){var r=function(){return t.apply(r,arguments)};return e.apply(r,n),r}function NPe(t){var e;return t==null?null:(e=o(t,195),QKe(e,e.length))}function tt(t,e){if(t.g==null||e>=t.i)throw N(new jR(e,t.i));return t.Wi(e,t.g[e])}function qPe(t,e){le();var n,r;for(r=new Tt,n=0;n<t;++n)ke(r.c,e);return new U$(r)}function PGt(t){return gg(t),gv(!0,"n may not be negative"),new ee(t,new uXt(t.a))}function Hst(t){t.b=(ka(),Mg),t.f=(Vc(),Lg),t.d=(cl(2,Xp),new Ec(2)),t.e=new ns}function FF(t){this.b=(Ln(t),new ma(t)),this.a=new Tt,this.d=new Tt,this.e=new ns}function ih(){ih=Y,zo=new oR("BEGIN",0),Lc=new oR(qC,1),Wo=new oR("END",2)}function Sh(){Sh=Y,j4=new OR(qC,0),E2=new OR("HEAD",1),D4=new OR("TAIL",2)}function Lv(){Lv=Y,H0e=sf(sf(sf(Ax(new Ci,(Nv(),CT)),(o6(),xV)),Rpt),Kpt)}function Cd(){Cd=Y,z0e=sf(sf(sf(Ax(new Ci,(Nv(),TT)),(o6(),qpt)),jpt),Npt)}function jGt(){jGt=Y,bfe=Sn((qv(),W(K(d4,1),bt,232,0,[f4,tT,h4,u2,ny,ey])))}function DGt(){DGt=Y,xfe=Sn((N_(),W(K(dbt,1),bt,283,0,[TX,xX,EX,SX,BX,pP])))}function $Gt(){$Gt=Y,Sfe=Sn((y7(),W(K(vbt,1),bt,281,0,[yP,pbt,ybt,wbt,mbt,AX])))}function RGt(){RGt=Y,Efe=Sn((vC(),W(K(Ebt,1),bt,282,0,[nT,Cbt,Sbt,Tbt,xbt,kbt])))}function NGt(){NGt=Y,Nhe=Sn((je(),W(K(nX,1),bt,273,0,[ui,Xi,bi,kc,oc,Ph])))}function qGt(){qGt=Y,Swe=Sn((Df(),W(K(Nmt,1),bt,255,0,[mY,fB,dB,Cj,vj,kj])))}function HGt(){HGt=Y,Fwe=Sn((F0(),W(K(CY,1),bt,298,0,[kY,$T,DT,vY,PT,jT])))}function KGt(){KGt=Y,Zwe=Sn(($_(),W(K(jyt,1),bt,321,0,[DY,Oyt,Pyt,Fyt,Iyt,_yt])))}function zGt(){zGt=Y,ope=Sn((es(),W(K(Wyt,1),bt,101,0,[qg,qh,R4,ob,td,xc])))}function WGt(){WGt=Y,cpe=Sn((xa(),W(K(Aj,1),bt,279,0,[Hg,Rd,SB,UT,WT,B3])))}function UGt(){UGt=Y,II=(ih(),W(K(i2,1),bt,237,0,[zo,Lc,Wo])).length,IG=II}function HPe(){return qp(),W(K(Ys,1),bt,95,0,[$u,$d,Ru,qu,Zf,uu,wl,Nu,lu])}function KPe(t,e){return mg(),ec(t.b.c.length-t.e.c.length,e.b.c.length-e.e.c.length)}function mm(t,e){return Q8e(T5(t,e,Mn(Ss(Hf,If(Mn(Ss(e==null?0:Mr(e),Kf)),15)))))}function Kst(t,e){return wh(),Bu(kg),p.Math.abs(t-e)<=kg||t==e||isNaN(t)&&isNaN(e)}function _F(t,e){var n;n=t.b,t.b=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Tp(t,1,n,t.b))}function Rk(t,e){var n;n=t.b,t.b=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Tp(t,3,n,t.b))}function Qb(t,e){var n;n=t.f,t.f=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Tp(t,3,n,t.f))}function Zb(t,e){var n;n=t.g,t.g=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Tp(t,4,n,t.g))}function Dc(t,e){var n;n=t.i,t.i=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Tp(t,5,n,t.i))}function $c(t,e){var n;n=t.j,t.j=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Tp(t,6,n,t.j))}function Nk(t,e){var n;n=t.j,t.j=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Tp(t,1,n,t.j))}function qk(t,e){var n;n=t.c,t.c=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Tp(t,4,n,t.c))}function Hk(t,e){var n;n=t.k,t.k=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Tp(t,2,n,t.k))}function OF(t,e){var n;n=t.a,t.a=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Tp(t,0,n,t.a))}function h1(t,e){var n;n=t.s,t.s=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new gq(t,4,n,t.s))}function Mp(t,e){var n;n=t.t,t.t=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new gq(t,5,n,t.t))}function Kq(t,e){var n;n=t.d,t.d=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new gq(t,2,n,t.d))}function Kk(t,e){var n;n=t.F,t.F=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,5,n,e))}function q9(t,e){var n;return n=o(Ue((TM(),Hj),t),57),n?n.gk(e):at(Hi,ye,1,e,5,1)}function zPe(t,e){var n;return n=Ni(us(o(Ue(t.g,e),8)),unt(o(Ue(t.f,e),470).b)),n}function WPe(t,e){var n,r,i;return n=(r=(J1(),i=new LZ,i),e&&$lt(r,e),r),rot(n,t),n}function xd(t,e){var n,r;return n=e in t.a,n&&(r=bd(t,e).re(),r)?r.a:null}function GGt(t,e,n){if(nC(t,n),!t.kl()&&n!=null&&!t.fk(n))throw N(new L$);return n}function XGt(t,e){return t.n=e,t.n?(t.f=new Tt,t.e=new Tt):(t.f=null,t.e=null),t}function VGt(t,e){if(t){e.n=t;var n=LFe(e);if(!n){SI[t]=[e];return}n.Rm=e}}function k0(t){var e;return t5(t==null||Array.isArray(t)&&(e=R9(t),!(e>=14&&e<=16))),t}function Tn(t,e){var n;return $e(e),n=t[":"+e],c9(!!n,"Enum constant undefined: "+e),n}function dn(t,e,n,r,i,s){var l;return l=$N(t,e),VGt(n,l),l.i=i?8:0,l.f=r,l.e=i,l.g=s,l}function zst(t,e,n,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=1,this.c=t,this.a=n}function Wst(t,e,n,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=2,this.c=t,this.a=n}function Ust(t,e,n,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=6,this.c=t,this.a=n}function Gst(t,e,n,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=7,this.c=t,this.a=n}function Xst(t,e,n,r,i){this.d=e,this.j=r,this.e=i,this.o=-1,this.p=4,this.c=t,this.a=n}function YGt(t,e){var n,r,i,s;for(r=e,i=0,s=r.length;i<s;++i)n=r[i],RUt(t.a,n);return t}function ol(t){var e,n,r,i;for(n=t,r=0,i=n.length;r<i;++r)e=n[r],Ln(e);return new l$t(t)}function Vst(t){var e;return e=Ni(us(t.d.d),t.c.d),pC(e,t.c.e.a,t.c.e.b),lr(e,t.c.d)}function Yst(t){var e;return e=Ni(us(t.c.d),t.d.d),pC(e,t.d.e.a,t.d.e.b),lr(e,t.d.d)}function UPe(t){var e=/function(?:\s+([\w$]+))?\s*\(/,n=e.exec(t);return n&&n[1]||Lz}function GPe(t,e,n){var r,i;return i=t.length,r=p.Math.min(n,i),blt(t,0,e,0,r,!0),e}function JGt(t,e,n){var r,i;for(i=e.Kc();i.Ob();)r=o(i.Pb(),74),Ai(t,o(n.Kb(r),27))}function XPe(t,e){fv(o(F(o(t.e,10),(Ft(),oi)),101))&&(le(),gi(o(t.e,10).j,e))}function VPe(){return eO(),W(K(Ogt,1),bt,257,0,[_gt,Agt,Mgt,Bgt,OG,Fgt,Lgt,Egt,Sgt])}function YPe(){return C1(),W(K(apt,1),bt,265,0,[oV,spt,opt,sV,ipt,cpt,WP,B4,A4])}function tw(){tw=Y,tB=new xR("BARYCENTER",0),yT=new xR(Gse,1),YP=new xR(Xse,2)}function IF(){IF=Y,Apt=new kR("NO",0),vV=new kR(jht,1),Bpt=new kR("LOOK_BACK",2)}function PF(){PF=Y,cbt=new fR("ARD",0),bP=new fR("MSD",1),yX=new fR("MANUAL",2)}function Ws(){Ws=Y,pT=new pR(v6,0),Sa=new pR("INPUT",1),Fc=new pR("OUTPUT",2)}function zk(){return wY||(wY=new tne,ym(wY,W(K(Jm,1),ye,134,0,[new IZ]))),wY}function Bu(t){if(!(t>=0))throw N(new _e("tolerance ("+t+") must be >= 0"));return t}function QGt(t,e){var n;return Q(e,44)?t.c.Mc(e):(n=RH(t,e),b_(t,e),n)}function to(t,e,n){return A0(t,e),Bc(t,n),h1(t,0),Mp(t,1),w1(t,!0),b1(t,!0),t}function H9(t,e){var n;if(n=t.gc(),e<0||e>n)throw N(new wp(e,n));return new srt(t,e)}function jF(t,e){t.b=p.Math.max(t.b,e.d),t.e+=e.r+(t.a.c.length==0?0:t.c),St(t.a,e)}function ZGt(t){dp(t.c>=0),eNe(t.d,t.c)<0&&(t.a=t.a-1&t.d.a.length-1,t.b=t.d.c),t.c=-1}function DF(t){var e,n;for(n=t.c.Cc().Kc();n.Ob();)e=o(n.Pb(),16),e.$b();t.c.$b(),t.d=0}function JPe(t){var e,n,r,i;for(n=t.a,r=0,i=n.length;r<i;++r)e=n[r],Uqt(e,e.length,null)}function C5(t,e){var n,r,i,s;for(r=e,i=0,s=r.length;i<s;++i)n=r[i],ni(t,n,t.c.b,t.c)}function tXt(t,e){var n,r;for(n=0,r=t.gc();n<r;++n)if(Vo(e,t.Xb(n)))return n;return-1}function Jst(t){var e,n;if(t==0)return 32;for(n=0,e=1;(e&t)==0;e<<=1)++n;return n}function cl(t,e){if(t<0)throw N(new _e(e+" cannot be negative but was: "+t));return t}function QPe(t,e){typeof window===H7&&typeof window.$gwt===H7&&(window.$gwt[t]=e)}function $F(t,e){return J8e(S5(t.a,e,Mn(Ss(Hf,If(Mn(Ss(e==null?0:Mr(e),Kf)),15)))))}function ZPe(t,e,n){return Sp(t,new CLt(e),new W1,new xLt(n),W(K(lo,1),bt,108,0,[]))}function tje(){return Da(),W(K(Gyt,1),bt,264,0,[N4,MB,Mj,XT,Lj,_j,Fj,$Y,AB])}function eXt(){eXt=Y,yle=W(K(vn,1),Wn,28,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function x5(){x5=Y,eT=new hR("LAYER_SWEEP",0),NE=new hR(_W,1),sbt=new hR(df,2)}function Qst(){Qst=Y,vge=zn(zn(zn(new Ci,(ys(),Pu),(Es(),Zm)),Xf,l2),hc,a2)}function nXt(){nXt=Y,kge=zn(zn(zn(new Ci,(ys(),Pu),(Es(),Zm)),Xf,l2),hc,a2)}function Zst(){Zst=Y,Cge=zn(zn(zn(new Ci,(ys(),Pu),(Es(),Zm)),Xf,l2),hc,a2)}function rXt(){rXt=Y,xge=zn(zn(zn(new Ci,(ys(),Pu),(Es(),Zm)),Xf,l2),hc,a2)}function iXt(){iXt=Y,Tge=zn(zn(zn(new Ci,(ys(),Pu),(Es(),Zm)),Xf,l2),hc,a2)}function sXt(){sXt=Y,Sge=zn(zn(zn(new Ci,(ys(),Pu),(Es(),Zm)),Xf,l2),hc,a2)}function oXt(){oXt=Y,Age=ca(zn(zn(new Ci,(ys(),hc),(Es(),eP)),vc,YI),vo,tP)}function eje(t){var e,n;for(n=new R(YJt(t));n.a<n.c.c.length;)e=o(D(n),695),e._f()}function nje(){jPt();for(var t=lG,e=0;e<arguments.length;e++)t.push(arguments[e])}function cXt(t){aet(),this.g=new hn,this.f=new hn,this.b=new hn,this.c=new Gb,this.i=t}function tot(){this.f=new ns,this.d=new Mtt,this.c=new ns,this.a=new Tt,this.b=new Tt}function aXt(t,e,n,r){this.ak(),this.a=e,this.b=t,this.c=null,this.c=new rNt(this,e,n,r)}function zq(t,e,n,r,i){this.d=t,this.n=e,this.g=n,this.o=r,this.p=-1,i||(this.o=-2-r-1)}function lXt(){bnt.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=_u}function uXt(t){JM.call(this,t.Ad(64)?ant(0,tu(t.zd(),1)):U7,t.yd()),this.b=1,this.a=t}function rje(t,e){return Lv(),o(F(e,(qo(),wy)),17).a<t.gc()&&o(F(e,wy),17).a>=0}function eot(t,e){t.r>0&&t.c<t.r&&(t.c+=e,t.i&&t.i.d>0&&t.g!=0&&eot(t.i,e/t.r*t.i.d))}function not(t,e){var n;n=t.c,t.c=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,1,n,t.c))}function Wq(t,e){var n;n=t.c,t.c=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,4,n,t.c))}function Wk(t,e){var n;n=t.k,t.k=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,2,n,t.k))}function Uq(t,e){var n;n=t.D,t.D=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,2,n,t.D))}function RF(t,e){var n;n=t.f,t.f=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,8,n,t.f))}function NF(t,e){var n;n=t.i,t.i=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,7,n,t.i))}function rot(t,e){var n;n=t.a,t.a=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,8,n,t.a))}function iot(t,e){var n;n=t.b,t.b=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,0,n,t.b))}function sot(t,e){var n;n=t.b,t.b=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,0,n,t.b))}function oot(t,e){var n;n=t.c,t.c=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,1,n,t.c))}function cot(t,e){var n;n=t.d,t.d=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,1,n,t.d))}function ije(t,e,n){var r;t.b=e,t.a=n,r=(t.a&512)==512?new vIt:new OZ,t.c=mVe(r,t.b,t.a)}function hXt(t,e){return Ld(t.e,e)?(qs(),jq(e)?new CL(e,t):new WS(e,t)):new RDt(e,t)}function sje(t){var e,n;return 0>t?new cet:(e=t+1,n=new xWt(e,t),new $nt(null,n))}function oje(t,e){le();var n;return n=new ev(1),Ji(t)?so(n,t,e):Mc(n.f,t,e),new S$(n)}function cje(t,e){var n,r;return n=t.c,r=e.e[t.p],r>0?o(Pt(n.a,r-1),10):null}function aje(t,e){var n,r;return n=t.o+t.p,r=e.o+e.p,n<r?-1:n==r?0:1}function lje(t){var e;return e=F(t,(yt(),br)),Q(e,167)?MYt(o(e,167)):null}function fXt(t){var e;return t=p.Math.max(t,2),e=Aot(t),t>e?(e<<=1,e>0?e:b6):e}function Gq(t){switch(mnt(t.e!=3),t.e){case 2:return!1;case 0:return!0}return pIe(t)}function dXt(t,e){var n;return Q(e,8)?(n=o(e,8),t.a==n.a&&t.b==n.b):!1}function uje(t,e){var n;n=new W3,o(e.b,68),o(e.b,68),o(e.b,68),jc(e.a,new brt(t,n,e))}function gXt(t,e){var n,r;for(r=e.vc().Kc();r.Ob();)n=o(r.Pb(),44),p7(t,n.ld(),n.md())}function aot(t,e){var n;n=t.d,t.d=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,11,n,t.d))}function qF(t,e){var n;n=t.j,t.j=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,13,n,t.j))}function lot(t,e){var n;n=t.b,t.b=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,21,n,t.b))}function hje(t,e){(hF(),Ih?null:e.c).length==0&&LRt(e,new Ii),so(t.a,Ih?null:e.c,e)}function fje(t,e){e.Ug("Hierarchical port constraint processing",1),LNe(t),Yen(t),e.Vg()}function ew(){ew=Y,Mw=new uR("START",0),Fg=new uR("MIDDLE",1),Aw=new uR("END",2)}function HF(){HF=Y,oj=new $et("P1_NODE_PLACEMENT",0),my=new $et("P2_EDGE_ROUTING",1)}function lg(){lg=Y,u3=new vr(Bht),KI=new vr(Mse),Q6=new vr(Lse),IE=new vr(Fse)}function nw(t){var e;return cN(t.f.g,t.d),tn(t.b),t.c=t.a,e=o(t.a.Pb(),44),t.b=Cot(t),e}function uot(t){var e;return t.b==null?(e1(),e1(),jB):(e=t.ul()?t.tl():t.sl(),e)}function bXt(t,e){var n;return n=e==null?-1:po(t.b,e,0),n<0?!1:(Vq(t,n),!0)}function Au(t,e){var n;return $e(e),n=e.g,t.b[n]?!1:(ei(t.b,n,e),++t.c,!0)}function KF(t,e){var n,r;return n=1-e,r=t.a[n],t.a[n]=r.a[e],r.a[e]=t,t.b=!0,r.b=!1,r}function dje(t,e){var n,r;for(r=e.Kc();r.Ob();)n=o(r.Pb(),272),t.b=!0,Ai(t.e,n),n.b=t}function gje(t,e){var n,r;return n=o(F(t,(Ft(),m2)),8),r=o(F(e,m2),8),Tr(n.b,r.b)}function Xq(t,e,n){var r,i,s;return s=e>>5,i=e&31,r=qi(rg(t.n[n][s],Mn(Su(i,1))),3),r}function wXt(t,e,n){var r,i,s;for(s=t.a.length-1,i=t.b,r=0;r<n;i=i+1&s,++r)ei(e,r,t.a[i])}function Vq(t,e){var n;n=a1(t.b,t.b.c.length-1),e<t.b.c.length&&(Ll(t.b,e,n),RZt(t,e))}function pXt(t,e){var n;return n=o(Ue(t.c,e),467),n||(n=new tIt,n.c=e,Qn(t.c,n.c,n)),n}function bje(t,e){var n,r;r=new Tt,n=e;do ke(r.c,n),n=o(Ue(t.k,n),18);while(n);return r}function Yq(t,e,n){var r;return r=new Tt,qlt(t,e,r,n,!0,!0),t.b=new zF(r.c.length),r}function C0(t,e){var n,r;for(n=t.Pc(),Pk(n,0,n.length,e),r=0;r<n.length;r++)t.hd(r,n[r])}function hot(t){var e,n;for(n=new Ke(t);n.e!=n.i.gc();)e=o(Ye(n),27),Dc(e,0),$c(e,0)}function mXt(t){this.e=t,this.d=new dM(Bp(bv(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function zF(t){this.b=t,this.a=at(vn,Wn,28,t+1,15,1),this.c=at(vn,Wn,28,t,15,1),this.d=0}function yXt(t,e,n){FGt.call(this,e,n),this.d=at(Vf,T1,10,t.a.c.length,0,1),Bh(t.a,this.d)}function vXt(t,e,n){Vit.call(this,t,e,n),this.a=new hn,this.b=new hn,this.d=new GFt(this)}function kXt(t){Krt.call(this),this.b=nt(ct(F(t,(Ft(),ju)))),this.a=o(F(t,Dd),223)}function Jq(t,e){var n;return Q(e,16)?(n=o(e,16),t.Gc(n)):$q(t,o(Ln(e),20).Kc())}function wje(t,e){ci(fr(new ee(null,new se(new i0(t.b),1)),new dDt(t,e)),new bDt(t,e))}function pje(t,e){e.Ug(Use,1),ci(Oo(new ee(null,new se(t.b,16)),new F5t),new _5t),e.Vg()}function Mr(t){return Ji(t)?f1(t):hp(t)?ov(t):up(t)?_Rt(t):Xrt(t)?t.Hb():qrt(t)?Ib(t):Lit(t)}function CXt(t){var e,n;for(n=t.c.a.ec().Kc();n.Ob();)e=o(n.Pb(),219),bTe(e,new qqt(e.f))}function fot(t){var e,n;for(n=t.c.a.ec().Kc();n.Ob();)e=o(n.Pb(),219),wTe(e,new eZt(e.e))}function Bc(t,e){var n;n=t.zb,t.zb=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,1,n,t.zb))}function WF(t,e){var n;n=t.xb,t.xb=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,3,n,t.xb))}function UF(t,e){var n;n=t.yb,t.yb=e,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,1,2,n,t.yb))}function ri(t,e){var n,r;n=(r=new O$,r),n.n=e,mn((!t.s&&(t.s=new dt(ea,t,21,17)),t.s),n)}function Pr(t,e){var n,r;r=(n=new jnt,n),r.n=e,mn((!t.s&&(t.s=new dt(ea,t,21,17)),t.s),r)}function cs(t,e){var n,r,i;for($e(e),n=!1,i=e.Kc();i.Ob();)r=i.Pb(),n=n|t.Fc(r);return n}function xXt(t){var e,n,r;for(e=0,r=t.Kc();r.Ob();)n=r.Pb(),e+=n!=null?Mr(n):0,e=~~e;return e}function Qq(t,e){var n=t.a,r=0;for(var i in n)n.hasOwnProperty(i)&&(e[r++]=i);return e}function TXt(t){var e;return t==0?"UTC":(t<0?(t=-t,e="UTC+"):e="UTC-",e+nGt(t))}function dot(t){return t.a<54?t.f<0?-1:t.f>0?1:0:(!t.c&&(t.c=k9(Yo(t.f))),t.c).e}function SXt(t,e){e?t.B==null&&(t.B=t.D,t.D=null):t.B!=null&&(t.D=t.B,t.B=null)}function mje(t,e){return Qk(),t==Bw&&e==o2||t==o2&&e==Bw||t==Qm&&e==s2||t==s2&&e==Qm}function yje(t,e){return Qk(),t==Bw&&e==s2||t==Bw&&e==Qm||t==o2&&e==Qm||t==o2&&e==s2}function EXt(t,e){return wh(),Bu(Fh),p.Math.abs(0-e)<=Fh||e==0||isNaN(0)&&isNaN(e)?0:t/e}function BXt(t,e){return nt(ct(Ga(i7(bo(new ee(null,new se(t.c.b,16)),new IFt(t)),e))))}function got(t,e){return nt(ct(Ga(i7(bo(new ee(null,new se(t.c.b,16)),new OFt(t)),e))))}function vje(){return Us(),W(K(MX,1),bt,259,0,[vP,zl,rT,kP,y4,iy,iT,p4,m4,CP])}function kje(){return nu(),W(K(ppt,1),bt,243,0,[XP,JE,QE,gpt,bpt,dpt,wpt,VP,Nw,v2])}function Cje(t,e){var n;e.Ug("General Compactor",1),n=BRe(o(wt(t,(yg(),WV)),393)),n.Cg(t)}function xje(t,e){var n,r;return n=o(wt(t,(yg(),aj)),17),r=o(wt(e,aj),17),ec(n.a,r.a)}function bot(t,e,n){var r,i;for(i=gn(t,0);i.b!=i.d.c;)r=o(fn(i),8),r.a+=e,r.b+=n;return t}function T5(t,e,n){var r;for(r=t.b[n&t.f];r;r=r.b)if(n==r.a&&Zh(e,r.g))return r;return null}function S5(t,e,n){var r;for(r=t.c[n&t.f];r;r=r.d)if(n==r.f&&Zh(e,r.i))return r;return null}function Tje(t,e,n){var r,i,s;for(r=0,i=0;i<n;i++)s=e[i],t[i]=s<<1|r,r=s>>>31;r!=0&&(t[n]=r)}function Zq(t,e,n,r,i,s){var l;this.c=t,l=new Tt,Xct(t,l,e,t.b,n,r,i,s),this.a=new ss(l,0)}function AXt(){this.c=new gM(0),this.b=new gM(rdt),this.d=new gM(boe),this.a=new gM(kW)}function Ol(t,e,n,r,i,s,l){xn.call(this,t,e),this.d=n,this.e=r,this.c=i,this.b=s,this.a=kh(l)}function ai(t,e,n,r,i,s,l,u,f,g,b,y,x){return OZt(t,e,n,r,i,s,l,u,f,g,b,y,x),_H(t,!1),t}function Sje(t){return t.b.c.i.k==(je(),bi)?o(F(t.b.c.i,(yt(),br)),12):t.b.c}function MXt(t){return t.b.d.i.k==(je(),bi)?o(F(t.b.d.i,(yt(),br)),12):t.b.d}function Eje(t){var e;return e=sF(t),Lb(e.a,0)?(mM(),mM(),_le):(mM(),new uRt(e.b))}function tH(t){var e;return e=Git(t),Lb(e.a,0)?(cp(),cp(),TG):(cp(),new JR(e.b))}function eH(t){var e;return e=Git(t),Lb(e.a,0)?(cp(),cp(),TG):(cp(),new JR(e.c))}function LXt(t){switch(t.g){case 2:return At(),De;case 4:return At(),qe;default:return t}}function FXt(t){switch(t.g){case 1:return At(),un;case 3:return At(),Ie;default:return t}}function _Xt(t){switch(t.g){case 0:return new g7t;case 1:return new b7t;default:return null}}function Fv(){Fv=Y,oX=new Xr("edgelabelcenterednessanalysis.includelabel",(Te(),Ag))}function wot(){wot=Y,Mge=sf(ZDt(zn(zn(new Ci,(ys(),hc),(Es(),eP)),vc,YI),vo),tP)}function OXt(){OXt=Y,Oge=sf(ZDt(zn(zn(new Ci,(ys(),hc),(Es(),eP)),vc,YI),vo),tP)}function nH(){nH=Y,ZT=new bIt,XY=W(K(ea,1),Xm,179,0,[]),t2e=W(K(du,1),C1t,62,0,[])}function Uk(){Uk=Y,jE=new Tet("TO_INTERNAL_LTR",0),rX=new Tet("TO_INPUT_DIRECTION",1)}function la(){la=Y,w0t=new y5t,g0t=new v5t,b0t=new k5t,d0t=new C5t,p0t=new x5t,m0t=new T5t}function Bje(t,e){e.Ug(Use,1),yct(hSe(new JA((Tx(),new zN(t,!1,!1,new mZ))))),e.Vg()}function Aje(t,e,n){n.Ug("DFS Treeifying phase",1),WRe(t,e),KXe(t,e),t.a=null,t.b=null,n.Vg()}function K9(t,e){return Te(),Ji(t)?wst(t,On(e)):hp(t)?EN(t,ct(e)):up(t)?mMe(t,_t(e)):t.Fd(e)}function E5(t,e){var n,r;for($e(e),r=e.vc().Kc();r.Ob();)n=o(r.Pb(),44),t.zc(n.ld(),n.md())}function Mje(t,e,n){var r;for(r=n.Kc();r.Ob();)if(!aF(t,e,r.Pb()))return!1;return!0}function Lje(t,e,n,r,i){var s;return n&&(s=Gr(e.Dh(),t.c),i=n.Rh(e,-1-(s==-1?r:s),null,i)),i}function Fje(t,e,n,r,i){var s;return n&&(s=Gr(e.Dh(),t.c),i=n.Th(e,-1-(s==-1?r:s),null,i)),i}function IXt(t){var e;if(t.b==-2){if(t.e==0)e=-1;else for(e=0;t.a[e]==0;e++);t.b=e}return t.b}function _je(t){if($e(t),t.length==0)throw N(new Gh("Zero length BigInteger"));DYe(this,t)}function pot(t){this.i=t.gc(),this.i>0&&(this.g=this.aj(this.i+(this.i/8|0)+1),t.Qc(this.g))}function PXt(t,e,n){this.g=t,this.d=e,this.e=n,this.a=new Tt,zWe(this),le(),gi(this.a,null)}function mot(t,e){e.q=t,t.d=p.Math.max(t.d,e.r),t.b+=e.d+(t.a.c.length==0?0:t.c),St(t.a,e)}function Gk(t,e){var n,r,i,s;return i=t.c,n=t.c+t.b,s=t.d,r=t.d+t.a,e.a>i&&e.a<n&&e.b>s&&e.b<r}function Lp(t,e){var n,r;for(r=gn(t,0);r.b!=r.d.c;)n=o(fn(r),8),n.a+=e.a,n.b+=e.b;return t}function Oje(t){var e,n,r;for(r=0,n=new R(t.b);n.a<n.c.c.length;)e=o(D(n),30),e.p=r,++r}function Ije(t){var e,n,r;return t.j==(At(),Ie)&&(e=Cte(t),n=sa(e,qe),r=sa(e,De),r||r&&n)}function Pje(t,e){var n;return n=Oat(t),ult(new mt(n.c,n.d),new mt(n.b,n.a),t.Mf(),e,t.ag())}function yot(t,e){var n;n=o(e,190),w0(n,"x",t.i),w0(n,"y",t.j),w0(n,DU,t.g),w0(n,jU,t.f)}function GF(t,e){var n;Q(e,85)?(o(t.c,79).Gk(),n=o(e,85),gXt(t,n)):o(t.c,79).Wb(e)}function B5(t,e){var n,r;for($e(e),r=t.vc().Kc();r.Ob();)n=o(r.Pb(),44),e.Yd(n.ld(),n.md())}function jje(t,e){var n;for(Ln(e);t.Ob();)if(n=t.Pb(),!kot(o(n,10)))return!1;return!0}function Dje(){var t;return MG||(MG=new KOt,t=new mq(""),QSe(t,(uk(),fgt)),hje(MG,t)),MG}function jXt(t,e){return Sp(new yLt(t),new vLt(e),new kLt(e),new t0,W(K(lo,1),bt,108,0,[]))}function XF(){XF=Y,XV=new BR(df,0),$2t=new BR("POLAR_COORDINATE",1),D2t=new BR("ID",2)}function VF(){VF=Y,kpt=new mR("EQUALLY",0),wV=new mR(CO,1),Cpt=new mR("NORTH_SOUTH",2)}function Xk(){Xk=Y,J6=new Xr("debugSVG",(Te(),!1)),Dgt=new Xr("overlapsExisted",!0)}function DXt(){DXt=Y,Twe=Sn((k1(),W(K(xwe,1),bt,285,0,[Dmt,Ki,Bo,vy,Cs,zr,C3,$h])))}function $Xt(){$Xt=Y,Ope=Sn((CC(),W(K(qj,1),bt,245,0,[zY,Rj,Nj,$j,KY,Dj,jj,HY])))}function RXt(){RXt=Y,gfe=Sn((Z_(),W(K(nbt,1),bt,276,0,[hX,gX,uX,pX,dX,fX,wX,bX])))}function NXt(){return o6(),W(K(Nnn,1),bt,262,0,[xV,Rpt,Kpt,zpt,Hpt,$pt,Wpt,jpt,qpt,Npt,Dpt])}function x0(t,e,n){var r,i;return i=o(Zx(t.d,e),17),r=o(Zx(t.b,n),17),!i||!r?null:Av(t,i.a,r.a)}function qXt(t,e){var n;return n=YK(zk(),t),n?(pr(e,(Vn(),Ay),n),!0):!1}function HXt(t){return gp(),t.A.Hc((Qa(),B2))&&!t.B.Hc((Da(),MB))?$Yt(t):null}function KXt(){this.a=o(Lt((Fu(),qI)),17).a,this.c=nt(ct(Lt(HI))),this.b=nt(ct(Lt(zG)))}function T0(t){this.f=t,this.e=new ist(this.f.i),this.a=this.e,this.b=Cot(this),this.d=this.f.g}function si(t,e){mL.call(this,e2e,t,e),this.b=this,this.a=Nc(t.Dh(),pe(this.e.Dh(),this.c))}function $je(t,e){var n,r;for(r=new R(e.b);r.a<r.c.c.length;)n=o(D(r),30),t.a[n.p]=pze(n)}function al(t,e){var n;for(n=0;n<e.j.c.length;n++)o(j9(t,n),21).Gc(o(j9(e,n),16));return t}function rH(t,e,n,r){var i;i=t.a.length,n>i?n=i:Oe(e,n+1),t.a=Al(t.a,0,e)+(""+r)+fit(t.a,n)}function zXt(t,e){t.a=Ts(t.a,1),t.c=p.Math.min(t.c,e),t.b=p.Math.max(t.b,e),t.d=Ts(t.d,e)}function Rje(t,e){return e<t.b.gc()?o(t.b.Xb(e),10):e==t.b.gc()?t.a:o(Pt(t.e,e-t.b.gc()-1),10)}function Nje(t,e,n){return Tr(av(bC(t),new mt(e.e.a,e.e.b)),av(bC(t),new mt(n.e.a,n.e.b)))}function qje(t,e,n){return t==(tw(),YP)?new Z8t:ja(e,1)!=0?new Qtt(n.length):new ZIt(n.length)}function ur(t,e){var n,r,i;if(n=t.th(),n!=null&&t.wh())for(r=0,i=n.length;r<i;++r)n[r].dj(e)}function Hje(t,e){var n,r,i;for(n=t.c.Xe(),i=e.Kc();i.Ob();)r=i.Pb(),t.a.Yd(n,r);return t.b.Kb(n)}function Vk(t,e){var n,r;for(n=t,r=fs(n).e;r;){if(n=r,n==e)return!0;r=fs(n).e}return!1}function ug(t){var e;return e=t.h,e==0?t.l+t.m*Yv:e==_d?t.l+t.m*Yv-P0:t}function Kje(t,e,n){var r,i;return r=t.a.f[e.p],i=t.a.f[n.p],r<i?-1:r==i?0:1}function zje(t,e){var n,r;for(r=new R(e);r.a<r.c.c.length;)n=o(D(r),72),St(t.d,n),fze(t,n)}function Wje(t,e){var n;e.Ug("Edge and layer constraint edge reversal",1),n=tYe(t),Ftn(n),e.Vg()}function Uje(t,e){var n,r;for(r=new Ke(t);r.e!=r.i.gc();)n=o(Ye(r),27),Tl(n,n.i+e.b,n.j+e.d)}function WXt(t){var e;t.d==null?(++t.e,t.f=0,rYt(null)):(++t.e,e=t.d,t.d=null,t.f=0,rYt(e))}function Gje(t){var e;if(t.a==t.b.a)throw N(new Mo);return e=t.a,t.c=e,t.a=o(Ql(t.a.e),227),e}function Be(t,e){var n;return(t.Db&e)!=0?(n=lK(t,e),n==-1?t.Eb:k0(t.Eb)[n]):null}function No(t,e){var n,r;return n=(r=new PZ,r),n.G=e,!t.rb&&(t.rb=new mp(t,dh,t)),mn(t.rb,n),n}function tr(t,e){var n,r;return n=(r=new rM,r),n.G=e,!t.rb&&(t.rb=new mp(t,dh,t)),mn(t.rb,n),n}function UXt(t,e,n,r){Q(t.Cb,184)&&(o(t.Cb,184).tb=null),Bc(t,n),e&&uUe(t,e),r&&t.gl(!0)}function GXt(t,e){t.c&&(lne(t,e,!0),ci(new ee(null,new se(e,16)),new NFt(t))),lne(t,e,!1)}function Xje(t){y$t();var e;return xjt(CV,t)||(e=new MSt,e.a=t,Xnt(CV,t,e)),o(Zs(CV,t),645)}function YF(t){var e;if(t.g>1||t.Ob())return++t.a,t.g=0,e=t.i,t.Ob(),e;throw N(new Mo)}function XXt(t){switch(t.a.g){case 1:return new Zjt;case 3:return new ZJt;default:return new fMt}}function vot(t,e){switch(e){case 1:return!!t.n&&t.n.i!=0;case 2:return t.k!=null}return Uit(t,e)}function Yo(t){return Y7<t&&t<P0?t<0?p.Math.ceil(t):p.Math.floor(t):ug(CXe(t))}function z9(t){var e;return t<128?(oqt(),e=G1t[t],!e&&(e=G1t[t]=new JZ(t)),e):new JZ(t)}function Vje(t,e){var n;try{e.de()}catch(r){if(r=Ur(r),Q(r,82))n=r,ke(t.c,n);else throw N(r)}}function Zl(t){var e,n,r,i;return i=t,r=0,i<0&&(i+=P0,r=_d),n=ji(i/Yv),e=ji(i-n*Yv),Ic(e,n,r)}function W9(t){var e,n,r;for(r=0,n=new nv(t.a);n.a<n.c.a.length;)e=m5(n),t.b.Hc(e)&&++r;return r}function Yje(t){var e,n,r;for(e=1,r=t.Kc();r.Ob();)n=r.Pb(),e=31*e+(n==null?0:Mr(n)),e=~~e;return e}function mo(t,e){var n;return e&&(n=e.nf(),n.dc()||(t.q?E5(t.q,n):t.q=new KDt(n))),t}function VXt(t,e){var n;return n=t.a.get(e),n===void 0?++t.d:(K7e(t.a,e),--t.c,++t.b.g),n}function Jje(t,e){var n,r,i;return n=e.p-t.p,n==0?(r=t.f.a*t.f.b,i=e.f.a*e.f.b,Tr(r,i)):n}function Qje(t,e){var n,r;return n=t.j,r=e.j,n!=r?n.g-r.g:t.p==e.p?0:n==(At(),Ie)?t.p-e.p:e.p-t.p}function A5(t,e,n,r,i){ei(t.c[e.g],n.g,r),ei(t.c[n.g],e.g,r),ei(t.b[e.g],n.g,i),ei(t.b[n.g],e.g,i)}function S0(t,e,n){this.b=($e(t),t),this.d=($e(e),e),this.e=($e(n),n),this.c=this.d+(""+this.e)}function Yk(t,e){this.b=t,this.e=e,this.d=e.j,this.f=(qs(),o(t,69).xk()),this.k=Nc(e.e.Dh(),t)}function U9(t){this.n=new Tt,this.e=new $r,this.j=new $r,this.k=new Tt,this.f=new Tt,this.p=t}function YXt(t){t.r=new yi,t.w=new yi,t.t=new Tt,t.i=new Tt,t.d=new yi,t.a=new cv,t.c=new hn}function rw(){rw=Y,BE=new MM("UP",0),EE=new MM(hW,1),jG=new MM(Jv,2),DG=new MM(Qv,3)}function Jk(){Jk=Y,LX=new gR("ONE_SIDED",0),FX=new gR("TWO_SIDED",1),qE=new gR("OFF",2)}function iH(){iH=Y,lmt=new qet("EQUAL_BETWEEN_STRUCTURES",0),umt=new qet("TO_ASPECT_RATIO",1)}function JXt(){JXt=Y,nge=Sn((C1(),W(K(apt,1),bt,265,0,[oV,spt,opt,sV,ipt,cpt,WP,B4,A4])))}function QXt(){QXt=Y,gpe=Sn((Da(),W(K(Gyt,1),bt,264,0,[N4,MB,Mj,XT,Lj,_j,Fj,$Y,AB])))}function ZXt(){ZXt=Y,ipe=Sn((qp(),W(K(Ys,1),bt,95,0,[$u,$d,Ru,qu,Zf,uu,wl,Nu,lu])))}function tVt(){tVt=Y,Xle=Sn((eO(),W(K(Ogt,1),bt,257,0,[_gt,Agt,Mgt,Bgt,OG,Fgt,Lgt,Egt,Sgt])))}function kot(t){var e;return e=o(F(t,(yt(),Uo)),64),t.k==(je(),bi)&&(e==(At(),De)||e==qe)}function Zje(t,e,n){var r,i;i=o(F(t,(Ft(),uo)),75),i&&(r=new ra,vH(r,0,i),Lp(r,n),cs(e,r))}function JF(t,e,n){var r,i,s,l;l=fs(t),r=l.d,i=l.c,s=t.n,e&&(s.a=s.a-r.b-i.a),n&&(s.b=s.b-r.d-i.b)}function tDe(t,e){var n,r;return n=t.f.c.length,r=e.f.c.length,n<r?-1:n==r?0:1}function eDe(t){return t.b.c.length!=0&&o(Pt(t.b,0),72).a?o(Pt(t.b,0),72).a:KN(t)}function nDe(t){var e;if(t){if(e=t,e.dc())throw N(new Mo);return e.Xb(e.gc()-1)}return $Kt(t.Kc())}function eVt(t){var e;return nc(t,0)<0&&(t=Ert(t)),e=Mn(rg(t,32)),64-(e!=0?E7(e):E7(Mn(t))+32)}function rDe(){return hF(),Ih?new mq(null):yte(Dje(),"com.google.common.base.Strings")}function sH(t,e,n,r){return n==1?(!t.n&&(t.n=new dt(no,t,1,7)),Ls(t.n,e,r)):qat(t,e,n,r)}function G9(t,e){var n,r;return r=(n=new g$,n),Bc(r,e),mn((!t.A&&(t.A=new ia(Wc,t,7)),t.A),r),r}function iDe(t,e,n){var r,i,s,l;return s=null,l=e,i=Yb(l,NU),r=new yDt(t,n),s=(PHe(r.a,r.b,i),i),s}function oH(t){var e;return(!t.a||(t.Bb&1)==0&&t.a.Vh())&&(e=eu(t),Q(e,156)&&(t.a=o(e,156))),t.a}function X9(t,e){var n,r;for($e(e),r=e.Kc();r.Ob();)if(n=r.Pb(),!t.Hc(n))return!1;return!0}function sDe(t,e){var n,r,i;return n=t.l+e.l,r=t.m+e.m+(n>>22),i=t.h+e.h+(r>>22),Ic(n&$a,r&$a,i&_d)}function nVt(t,e){var n,r,i;return n=t.l-e.l,r=t.m-e.m+(n>>22),i=t.h-e.h+(r>>22),Ic(n&$a,r&$a,i&_d)}function oDe(t){var e,n;for(Ztn(t),n=new R(t.d);n.a<n.c.c.length;)e=o(D(n),105),e.i&&Xze(e)}function Ur(t){var e;return Q(t,82)?t:(e=t&&t.__java$exception,e||(e=new VVt(t),DOt(e)),e)}function V9(t){if(Q(t,193))return o(t,123);if(t)return null;throw N(new Jy(Ace))}function Cot(t){return t.a.Ob()?!0:t.a!=t.e?!1:(t.a=new Est(t.f.f),t.a.Ob())}function rVt(t,e){if(e==null)return!1;for(;t.a!=t.b;)if(hr(e,r_(t)))return!0;return!1}function iVt(t,e){return!t||!e||t==e?!1:zYt(t.d.c,e.d.c+e.d.b)&&zYt(e.d.c,t.d.c+t.d.b)}function Mi(t,e){var n,r;return n=e.Pc(),r=n.length,r==0?!1:(xrt(t.c,t.c.length,n),!0)}function cDe(t,e,n){var r,i;for(i=e.vc().Kc();i.Ob();)r=o(i.Pb(),44),t.yc(r.ld(),r.md(),n);return t}function cH(t){var e,n,r;for(e=new $r,r=gn(t.d,0);r.b!=r.d.c;)n=o(fn(r),65),qn(e,n.c);return e}function sVt(t,e){var n,r;for(r=new R(t.b);r.a<r.c.c.length;)n=o(D(r),72),gt(n,(yt(),w3),e)}function aDe(t,e,n){var r,i;for(i=new R(t.b);i.a<i.c.c.length;)r=o(D(i),27),Tl(r,r.i+e,r.j+n)}function oVt(t,e){if(!t)throw N(new _e(s6("value already present: %s",W(K(Hi,1),ye,1,5,[e]))))}function lDe(t,e,n,r,i){return Om(),p.Math.min(Ire(t,e,n,r,i),Ire(n,r,t,e,lL(new mt(i.a,i.b))))}function uDe(t,e,n,r){o(n.b,68),o(n.b,68),o(r.b,68),o(r.b,68),o(r.b,68),jc(r.a,new grt(t,e,r))}function hDe(t,e){t.d==(Ti(),ho)||t.d==Wl?o(e.a,60).c.Fc(o(e.b,60)):o(e.b,60).c.Fc(o(e.a,60))}function cVt(t,e){var n;return n=Lf(e.a.gc()),ci(LF(new ee(null,new se(e,1)),t.i),new hDt(t,n)),n}function aVt(t){var e,n;return n=(e=new g$,e),Bc(n,"T"),mn((!t.d&&(t.d=new ia(Wc,t,11)),t.d),n),n}function xot(t){var e,n,r,i;for(e=1,n=0,i=t.gc();n<i;++n)r=t.Vi(n),e=31*e+(r==null?0:Mr(r));return e}function lVt(t,e,n,r){var i;return T9(e,t.e.Rd().gc()),T9(n,t.c.Rd().gc()),i=t.a[e][n],ei(t.a[e],n,r),i}function W(t,e,n,r,i){return i.Rm=t,i.Sm=e,i.Tm=kn,i.__elementTypeId$=n,i.__elementTypeCategory$=r,i}function QF(){QF=Y,cX=new IM(df,0),lP=new IM(Vse,1),uP=new IM(Yse,2),$E=new IM("BOTH",3)}function Eh(){Eh=Y,h3=new PM(qC,0),l4=new PM(Jv,1),u4=new PM(Qv,2),aX=new PM("TOP",3)}function Qk(){Qk=Y,Bw=new _M("Q1",0),o2=new _M("Q4",1),s2=new _M("Q2",2),Qm=new _M("Q3",3)}function ZF(){ZF=Y,kV=new CR("OFF",0),M4=new CR("SINGLE_EDGE",1),k2=new CR("MULTI_EDGE",2)}function Y9(){Y9=Y,yj=new Ket("MINIMUM_SPANNING_TREE",0),Imt=new Ket("MAXIMUM_SPANNING_TREE",1)}function _v(){_v=Y,mwe=new C7t,pwe=new k7t}function Tot(t){var e,n;return n=(J1(),e=new KA,e),t&&mn((!t.a&&(t.a=new dt(Rr,t,6,6)),t.a),n),n}function aH(t){var e,n,r,i;for(i=new Tt,r=t.Kc();r.Ob();)n=o(r.Pb(),27),e=Hp(n),Mi(i,e);return i}function fDe(t,e){var n,r;for(GL(e,"predicate"),r=0;t.Ob();r++)if(n=t.Pb(),e.Lb(n))return r;return-1}function Ov(t,e){var n,r;if(r=0,t<64&&t<=e)for(e=e<64?e:63,n=t;n<=e;n++)r=th(r,Su(1,n));return r}function dDe(t,e){var n,r;return n=t.c,r=e.e[t.p],r<n.a.c.length-1?o(Pt(n.a,r+1),10):null}function Sot(t){le();var e,n,r;for(r=0,n=t.Kc();n.Ob();)e=n.Pb(),r=r+(e!=null?Mr(e):0),r=r|0;return r}function gDe(t){var e,n,r;return e=o(t.e&&t.e(),9),r=(n=e.slice(),o(Fq(n,e),9)),new El(e,r,e.length)}function uVt(t,e,n){var r;ya(t.a),jc(n.i,new O_t(t)),r=new tL(o(Ue(t.a,e.b),68)),tJt(t,r,e),n.f=r}function bDe(t){var e;dw(t,!0),e=x1,Or(t,(Ft(),T4))&&(e+=o(F(t,T4),17).a),gt(t,T4,Ct(e))}function wDe(t){var e;return e=new Ze,e.a=t,e.b=EDe(t),e.c=at(jt,vt,2,2,6,1),e.c[0]=TXt(t),e.c[1]=TXt(t),e}function hVt(t){var e,n,r;return n=t.n,r=t.o,e=t.d,new Bl(n.a-e.b,n.b-e.d,r.a+(e.b+e.c),r.b+(e.d+e.a))}function pDe(t,e){return!t||!e||t==e?!1:sw(t.b.c,e.b.c+e.b.b)<0&&sw(e.b.c,t.b.c+t.b.b)<0}function fVt(t){switch(t.g){case 1:return Rg;case 2:return Qf;case 3:return CB;default:return xB}}function mDe(t){switch(o(F(t,(Ft(),Kc)),171).g){case 2:case 4:return!0;default:return!1}}function J9(t,e,n){switch(n.g){case 2:t.b=e;break;case 1:t.c=e;break;case 4:t.d=e;break;case 3:t.a=e}}function Eot(t,e){switch(e){case 0:!t.o&&(t.o=new aa((rc(),ed),j1,t,0)),t.o.c.$b();return}MK(t,e)}function yDe(t,e){var n,r;return n=o(o(Ue(t.g,e.a),42).a,68),r=o(o(Ue(t.g,e.b),42).a,68),Nne(n,r)}function Bot(t,e,n){var r;if(r=t.gc(),e>r)throw N(new wp(e,r));return t.Si()&&(n=vKt(t,n)),t.Ei(e,n)}function Zk(t,e,n,r,i){var s,l;for(l=n;l<=i;l++)for(s=e;s<=r;s++)Sm(t,s,l)||rO(t,s,l,!0,!1)}function vDe(t){Om();var e,n,r;for(n=at(Wi,vt,8,2,0,1),r=0,e=0;e<2;e++)r+=.5,n[e]=dqe(r,t);return n}function tC(t){var e,n,r;return e=~t.l+1&$a,n=~t.m+(e==0?1:0)&$a,r=~t.h+(e==0&&n==0?1:0)&_d,Ic(e,n,r)}function Aot(t){var e;if(t<0)return vs;if(t==0)return 0;for(e=b6;(e&t)==0;e>>=1);return e}function lH(t,e,n){return t>=128?!1:t<64?Hx(qi(Su(1,t),n),0):Hx(qi(Su(1,t-64),e),0)}function Q9(t,e,n){return n==null?(!t.q&&(t.q=new hn),Bv(t.q,e)):(!t.q&&(t.q=new hn),Qn(t.q,e,n)),t}function gt(t,e,n){return n==null?(!t.q&&(t.q=new hn),Bv(t.q,e)):(!t.q&&(t.q=new hn),Qn(t.q,e,n)),t}function dVt(t){var e,n;return n=new dF,mo(n,t),gt(n,(lg(),u3),t),e=new hn,VJe(t,n,e),xtn(t,n,e),n}function gVt(t){var e,n;return e=t.t-t.k[t.o.p]*t.d+t.j[t.o.p]>t.f,n=t.u+t.e[t.o.p]*t.d>t.f*t.s*t.d,e||n}function bVt(t,e){var n,r,i,s;for(n=!1,r=t.a[e].length,s=0;s<r-1;s++)i=s+1,n=n|GRe(t,e,s,i);return n}function kDe(t){var e,n,r,i;for(n=t.a,r=0,i=n.length;r<i;++r)e=n[r],CVt(t,e,(At(),un)),CVt(t,e,Ie)}function wVt(){wVt=Y,Bfe=Sn((Us(),W(K(MX,1),bt,259,0,[vP,zl,rT,kP,y4,iy,iT,p4,m4,CP])))}function pVt(){pVt=Y,oge=Sn((nu(),W(K(ppt,1),bt,243,0,[XP,JE,QE,gpt,bpt,dpt,wpt,VP,Nw,v2])))}function E0(){E0=Y,CX=new dR(df,0),w4=new dR("INCOMING_ONLY",1),ry=new dR("OUTGOING_ONLY",2)}function uH(){uH=Y,yG={boolean:rSe,number:p8e,string:m8e,object:jZt,function:jZt,undefined:JTe}}function Mot(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function Lot(t,e){this.c=t,this.d=e,this.b=this.d/this.c.c.Rd().gc()|0,this.a=this.d%this.c.c.Rd().gc()}function mVt(t,e){this.b=t,nm.call(this,(o(tt(ht((ig(),Se).o),10),19),e.i),e.g),this.a=(nH(),XY)}function Fot(t,e,n){this.q=new p.Date,this.q.setFullYear(t+Cg,e,n),this.q.setHours(0,0,0,0),a6(this,0)}function yVt(t,e){c9(t>=0,"Negative initial capacity"),c9(e>=0,"Non-positive load factor"),ya(this)}function CDe(t,e,n,r,i){var s,l;if(l=t.length,s=n.length,e<0||r<0||i<0||e+i>l||r+i>s)throw N(new mtt)}function _ot(t,e){le();var n,r,i,s,l;for(l=!1,r=e,i=0,s=r.length;i<s;++i)n=r[i],l=l|t.Fc(n);return l}function vVt(t,e,n){var r,i;return r=new Aq(e,n),i=new hi,t.b=See(t,t.b,r,i),i.b||++t.c,t.b.b=!1,i.d}function M5(t){var e;return e=t.a[t.b],e==null?null:(ei(t.a,t.b,null),t.b=t.b+1&t.a.length-1,e)}function kVt(t){var e,n;return n=E7(t.h),n==32?(e=E7(t.m),e==32?E7(t.l)+32:e+20-10):n-12}function Oot(t){var e;return(!t.c||(t.Bb&1)==0&&(t.c.Db&64)!=0)&&(e=eu(t),Q(e,90)&&(t.c=o(e,29))),t.c}function hg(t){var e,n;for(n=new R(t.a.b);n.a<n.c.c.length;)e=o(D(n),60),e.d.c=-e.d.c-e.d.b;Dlt(t)}function fg(t){var e,n;for(n=new R(t.a.b);n.a<n.c.c.length;)e=o(D(n),86),e.g.c=-e.g.c-e.g.b;Y_(t)}function CVt(t,e,n){var r,i,s,l;for(l=I5(e,n),s=0,i=l.Kc();i.Ob();)r=o(i.Pb(),12),Qn(t.c,r,Ct(s++))}function xVt(t,e,n){var r;return r=new Tt,qlt(t,e,r,(At(),qe),!0,!1),qlt(t,n,r,De,!1,!1),r}function Io(t){var e,n,r,i,s;for(e=new ns,r=t,i=0,s=r.length;i<s;++i)n=r[i],e.a+=n.a,e.b+=n.b;return e}function hH(t,e,n){var r,i,s,l;return s=null,l=e,i=Yb(l,"labels"),r=new MDt(t,n),s=(sGe(r.a,r.b,i),i),s}function xDe(t,e,n,r){var i;return i=Alt(t,e,n,r),!i&&(i=F$e(t,n,r),i&&!jm(t,e,i))?null:i}function TDe(t,e,n,r){var i;return i=Mlt(t,e,n,r),!i&&(i=AH(t,n,r),i&&!jm(t,e,i))?null:i}function SDe(t,e,n){if(Ln(e),n.Ob())for(Vet(e,uHt(n.Pb()));n.Ob();)Vet(e,t.a),Vet(e,uHt(n.Pb()));return e}function TVt(t,e){var n;for(n=0;n<t.a.a.length;n++)if(!o(nqt(t.a,n),178).Lb(e))return!1;return!0}function EDe(t){var e;return t==0?"Etc/GMT":(t<0?(t=-t,e="Etc/GMT-"):e="Etc/GMT+",e+nGt(t))}function Iot(t){var e;return t.b<=0?!1:(e=Xh("MLydhHmsSDkK",Yc(ms(t.c,0))),e>1||e>=0&&t.b<3)}function fH(t){var e,n,r;e=~t.l+1&$a,n=~t.m+(e==0?1:0)&$a,r=~t.h+(e==0&&n==0?1:0)&_d,t.l=e,t.m=n,t.h=r}function Pot(t){le();var e,n,r;for(r=1,n=t.Kc();n.Ob();)e=n.Pb(),r=31*r+(e!=null?Mr(e):0),r=r|0;return r}function BDe(t,e,n,r,i){var s;return s=Tlt(t,e),n&&fH(s),i&&(t=vqe(t,e),r?Bg=tC(t):Bg=Ic(t.l,t.m,t.h)),s}function SVt(t,e,n){t.g=LK(t,e,(At(),qe),t.b),t.d=LK(t,n,qe,t.b),!(t.g.c==0||t.d.c==0)&&nZt(t)}function EVt(t,e,n){t.g=LK(t,e,(At(),De),t.j),t.d=LK(t,n,De,t.j),!(t.g.c==0||t.d.c==0)&&nZt(t)}function jot(t,e){switch(e){case 7:return!!t.e&&t.e.i!=0;case 8:return!!t.d&&t.d.i!=0}return vct(t,e)}function ADe(t,e){switch(e.g){case 0:Q(t.b,641)||(t.b=new KXt);break;case 1:Q(t.b,642)||(t.b=new HNt)}}function BVt(t){switch(t.g){case 0:return new v7t;default:throw N(new _e(rI+(t.f!=null?t.f:""+t.g)))}}function AVt(t){switch(t.g){case 0:return new y7t;default:throw N(new _e(rI+(t.f!=null?t.f:""+t.g)))}}function MDe(t,e,n){return!ok(fr(new ee(null,new se(t.c,16)),new J3(new gDt(e,n)))).Bd((l0(),a3))}function MVt(t,e){return av(bC(o(F(e,(qo(),Hw)),88)),new mt(t.c.e.a-t.b.e.a,t.c.e.b-t.b.e.b))<=0}function LDe(t,e){for(;t.g==null&&!t.c?jit(t):t.g==null||t.i!=0&&o(t.g[t.i-1],51).Ob();)ISe(e,W_(t))}function B0(t){var e,n;for(n=new R(t.a.b);n.a<n.c.c.length;)e=o(D(n),86),e.f.$b();f8e(t.b,t),uee(t)}function Z9(t){var e,n,r;for(e=new ra,r=gn(t,0);r.b!=r.d.c;)n=o(fn(r),8),gk(e,0,new Ms(n));return e}function eC(t){var e;return sg(t),e=new fe,t.a.Bd(e)?(fk(),new R$($e(e.a))):(fk(),fk(),lgt)}function Dot(t,e,n){switch(e){case 0:!t.o&&(t.o=new aa((rc(),ed),j1,t,0)),GF(t.o,n);return}_K(t,e,n)}function dH(t,e,n){this.g=t,this.e=new ns,this.f=new ns,this.d=new $r,this.b=new $r,this.a=e,this.c=n}function gH(t,e,n,r){this.b=new Tt,this.n=new Tt,this.i=r,this.j=n,this.s=t,this.t=e,this.r=0,this.d=0}function nC(t,e){if(!t.Li()&&e==null)throw N(new _e("The 'no null' constraint is violated"));return e}function f1(t){var e,n;for(e=0,n=0;n<t.length;n++)e=(e<<5)-e+(Oe(n,t.length),t.charCodeAt(n))|0;return e}function LVt(t,e){var n,r,i;for(i=t.b;i;){if(n=t.a.Ne(e,i.d),n==0)return i;r=n<0?0:1,i=i.a[r]}return null}function FDe(t,e,n){var r,i;r=(Te(),!!Qet(n)),i=o(e.xc(r),15),i||(i=new Tt,e.zc(r,i)),i.Fc(n)}function _De(t,e){var n,r;return n=o(wt(t,(Mh(),aB)),17).a,r=o(wt(e,aB),17).a,n==r||n<r?-1:n>r?1:0}function ODe(t){return St(t.c,(_v(),mwe)),qst(t.a,nt(ct(Lt(($H(),zP)))))?new oEt:new R_t(t)}function IDe(t){for(;!t.d||!t.d.Ob();)if(t.b&&!vx(t.b))t.d=o(pv(t.b),51);else return null;return t.d}function $ot(t){switch(t.g){case 1:return boe;default:case 2:return 0;case 3:return kW;case 4:return rdt}}function PDe(){cr();var t;return tJ||(t=e7e(vg("M",!0)),t=BL(vg("M",!1),t),tJ=t,tJ)}function t_(){t_=Y,NY=new WM("ELK",0),rvt=new WM("JSON",1),nvt=new WM("DOT",2),ivt=new WM("SVG",3)}function L5(){L5=Y,mV=new yR("STACKED",0),pV=new yR("REVERSE_STACKED",1),ZE=new yR("SEQUENCED",2)}function F5(){F5=Y,Upt=new SR(df,0),TV=new SR("MIDDLE_TO_MIDDLE",1),nB=new SR("AVOID_OVERLAP",2)}function rC(){rC=Y,tbt=new nTt,ebt=new rTt,tfe=new tTt,Zhe=new iTt,Qhe=new eTt,Z0t=($e(Qhe),new on)}function e_(){e_=Y,qyt=new _b(15),tpe=new rs((Vn(),I1),qyt),qT=x3,Dyt=Owe,$yt=ib,Nyt=Ey,Ryt=T2}function ym(t,e){var n,r,i,s,l;for(r=e,i=0,s=r.length;i<s;++i)n=r[i],l=new nHt(t),n.hf(l),aQe(l);ya(t.f)}function bH(t,e){var n;return e===t?!0:Q(e,229)?(n=o(e,229),hr(t.Zb(),n.Zb())):!1}function Rot(t,e){return oee(t,e)?(ie(t.b,o(F(e,(yt(),jd)),21),e),qn(t.a,e),!0):!1}function jDe(t){var e,n;e=o(F(t,(yt(),Ta)),10),e&&(n=e.c,Xc(n.a,e),n.a.c.length==0&&Xc(fs(e).b,n))}function DDe(t,e){return Or(t,(yt(),Cr))&&Or(e,Cr)?o(F(e,Cr),17).a-o(F(t,Cr),17).a:0}function $De(t,e){return Or(t,(yt(),Cr))&&Or(e,Cr)?o(F(t,Cr),17).a-o(F(e,Cr),17).a:0}function FVt(t){return Ih?at(Ple,tse,581,0,0,1):o(Bh(t.a,at(Ple,tse,581,t.a.c.length,0,1)),856)}function RDe(t,e,n,r){return HL(),new Ntt(W(K(W0,1),wO,44,0,[(iK(t,e),new Eb(t,e)),(iK(n,r),new Eb(n,r))]))}function vm(t,e,n){var r,i;return i=(r=new I$,r),to(i,e,n),mn((!t.q&&(t.q=new dt(du,t,11,10)),t.q),i),i}function wH(t){var e,n,r,i;for(i=vSe(Lpe,t),n=i.length,r=at(jt,vt,2,n,6,1),e=0;e<n;++e)r[e]=i[e];return r}function Not(t,e){var n;e*2+1>=t.b.c.length||(Not(t,2*e+1),n=2*e+2,n<t.b.c.length&&Not(t,n),RZt(t,e))}function NDe(t,e){var n,r;for(r=gn(t,0);r.b!=r.d.c;)n=o(fn(r),219),n.e.length>0&&(e.Cd(n),n.i&&D$e(n))}function qot(t,e,n){var r;for(r=n-1;r>=0&&t[r]===e[r];r--);return r<0?0:iR(qi(t[r],Gs),qi(e[r],Gs))?-1:1}function _Vt(t,e,n){var r,i;this.g=t,this.c=e,this.a=this,this.d=this,i=fXt(n),r=at(fle,G7,227,i,0,1),this.b=r}function pH(t,e,n,r,i){var s,l;for(l=n;l<=i;l++)for(s=e;s<=r;s++)if(Sm(t,s,l))return!0;return!1}function qDe(t,e){var n,r;for(r=t.Zb().Cc().Kc();r.Ob();)if(n=o(r.Pb(),16),n.Hc(e))return!0;return!1}function OVt(t,e,n){var r,i,s,l;for($e(n),l=!1,s=t.fd(e),i=n.Kc();i.Ob();)r=i.Pb(),s.Rb(r),l=!0;return l}function mH(t,e){var n,r;return r=o(Be(t.a,4),129),n=at(UY,VU,424,e,0,1),r!=null&&uc(r,0,n,0,r.length),n}function IVt(t,e){var n;return n=new UK((t.f&256)!=0,t.i,t.a,t.d,(t.f&16)!=0,t.j,t.g,e),t.e!=null||(n.c=t),n}function HDe(t,e){var n;return t===e?!0:Q(e,85)?(n=o(e,85),zat(h0(t),n.vc())):!1}function PVt(t,e,n){var r,i;for(i=n.Kc();i.Ob();)if(r=o(i.Pb(),44),t.Be(e,r.md()))return!0;return!1}function jVt(t,e,n){return t.d[e.p][n.p]||(WNe(t,e,n),t.d[e.p][n.p]=!0,t.d[n.p][e.p]=!0),t.a[e.p][n.p]}function KDe(t,e){var n;return!t||t==e||!Or(e,(yt(),Fw))?!1:(n=o(F(e,(yt(),Fw)),10),n!=t)}function yH(t){switch(t.i){case 2:return!0;case 1:return!1;case-1:++t.c;default:return t.$l()}}function DVt(t){switch(t.i){case-2:return!0;case-1:return!1;case 1:--t.c;default:return t._l()}}function $Vt(t){SKt.call(this,"The given string does not match the expected format for individual spacings.",t)}function zDe(t,e){var n;e.Ug("Min Size Preprocessing",1),n=Zat(t),pr(t,(Rf(),MT),n.a),pr(t,hj,n.b),e.Vg()}function WDe(t){var e,n,r;for(e=0,r=at(Wi,vt,8,t.b,0,1),n=gn(t,0);n.b!=n.d.c;)r[e++]=o(fn(n),8);return r}function vH(t,e,n){var r,i,s;for(r=new $r,s=gn(n,0);s.b!=s.d.c;)i=o(fn(s),8),qn(r,new Ms(i));OVt(t,e,r)}function UDe(t,e){var n;return n=Ts(t,e),iR(lq(t,e),0)|XM(lq(t,n),0)?n:Ts(U7,lq(rg(n,63),1))}function GDe(t,e){var n,r;return n=o(t.d.Bc(e),16),n?(r=t.e.hc(),r.Gc(n),t.e.d-=n.gc(),n.$b(),r):null}function RVt(t){var e;if(e=t.a.c.length,e>0)return kk(e-1,t.a.c.length),a1(t.a,e-1);throw N(new ROt)}function NVt(t,e,n){if(t>e)throw N(new _e(vO+t+ese+e));if(t<0||e>n)throw N(new Utt(vO+t+sht+e+nht+n))}function iC(t,e){t.D==null&&t.B!=null&&(t.D=t.B,t.B=null),Uq(t,e==null?null:($e(e),e)),t.C&&t.hl(null)}function XDe(t,e){var n;n=Lt(($H(),zP))!=null&&e.Sg()!=null?nt(ct(e.Sg()))/nt(ct(Lt(zP))):1,Qn(t.b,e,n)}function Hot(t,e){var n,r;if(r=t.c[e],r!=0)for(t.c[e]=0,t.d-=r,n=e+1;n<t.a.length;)t.a[n]-=r,n+=n&-n}function Fp(t){var e;++t.j,t.i==0?t.g=null:t.i<t.g.length&&(e=t.g,t.g=t.aj(t.i),uc(e,0,t.g,0,t.i))}function VDe(t,e,n){if(e<0)throw N(new ro(joe+e));e<t.j.c.length?Ll(t.j,e,n):(Nzt(t,e),St(t.j,n))}function qVt(t){if(!t.a||(t.a.i&8)==0)throw N(new io("Enumeration class expected for layout option "+t.f))}function Kot(t){var e;return e=(!t.a&&(t.a=new dt(Nd,t,9,5)),t.a),e.i!=0?mSe(o(tt(e,0),694)):null}function YDe(t){var e;for(Ln(t),lrt(!0,"numberToAdvance must be nonnegative"),e=0;e<0&&bn(t);e++)nn(t);return e}function kH(){kH=Y,Ngt=(yM(),$G),Rgt=new te(mht,Ngt),Oue=new vr(yht),Iue=new vr(vht),Pue=new vr(kht)}function _5(){_5=Y,jV=new RM(Oht,0),sj=new RM(moe,1),PV=new RM("FAN",2),IV=new RM("CONSTRAINT",3)}function t7(){t7=Y,cj=new ER(df,0),y2t=new ER("RADIAL_COMPACTION",1),v2t=new ER("WEDGE_COMPACTION",2)}function sC(){sC=Y,yV=new vR("CONSERVATIVE",0),Spt=new vR("CONSERVATIVE_SOFT",1),mT=new vR("SLOPPY",2)}function Ca(){Ca=Y,dgt=new sR("CONCURRENT",0),Eo=new sR("IDENTITY_FINISH",1),r2=new sR("UNORDERED",2)}function CH(){CH=Y,YG=wKt(W(K(NT,1),bt,88,0,[(Ti(),ho),ko])),JG=wKt(W(K(NT,1),bt,88,0,[Wl,Rh]))}function Ja(t){return Ji(t)?jt:hp(t)?Bi:up(t)?li:Xrt(t)||qrt(t)?t.Rm:t.Rm||Array.isArray(t)&&K(dle,1)||dle}function JDe(t){return t?(t.i&1)!=0?t==Ha?li:t==vn?bs:t==P2?o4:t==Zi?Bi:t==Vg?Sw:t==Oy?Ew:t==ba?o3:G6:t:null}function km(t){return(t.c!=t.b.b||t.i!=t.g.b)&&(sp(t.a.c,0),Mi(t.a,t.b),Mi(t.a,t.g),t.c=t.b.b,t.i=t.g.b),t.a}function QDe(t,e){var n,r;for(n=t.a.length-1;e!=t.b;)r=e-1&n,ei(t.a,e,t.a[r]),e=r;ei(t.a,t.b,null),t.b=t.b+1&n}function ZDe(t,e){var n,r;for(n=t.a.length-1,t.c=t.c-1&n;e!=t.c;)r=e+1&n,ei(t.a,e,t.a[r]),e=r;ei(t.a,t.c,null)}function zot(t,e,n){var r,i;return Cp(e,t.c.length),r=n.Pc(),i=r.length,i==0?!1:(xrt(t.c,e,r),!0)}function HVt(t,e,n){var r,i,s,l;for(i=n,s=0,l=i.length;s<l;++s)if(r=i[s],t.b.Be(e,r.ld()))return r;return null}function e7(t){var e,n,r,i,s;for(s=1,n=t,r=0,i=n.length;r<i;++r)e=n[r],s=31*s+(e!=null?Mr(e):0),s=s|0;return s}function Sn(t){var e,n,r,i,s;for(e={},r=t,i=0,s=r.length;i<s;++i)n=r[i],e[":"+(n.f!=null?n.f:""+n.g)]=n;return e}function t$e(t){var e,n;if(t==null)return null;for(e=0,n=t.length;e<n;e++)if(!PNt(t[e]))return t[e];return null}function xH(t,e){return!t||e&&!t.j||Q(t,127)&&o(t,127).a.b==0?0:t.jf()}function n_(t,e){return!t||e&&!t.k||Q(t,127)&&o(t,127).a.a==0?0:t.kf()}function KVt(t,e){return Or(t,(yt(),Cr))&&Or(e,Cr)?ec(o(F(t,Cr),17).a,o(F(e,Cr),17).a):0}function zVt(t){var e,n,r;for(r=0,n=new Ge(Ve(t.a.Kc(),new P));bn(n);)e=o(nn(n),18),e.c.i==e.d.i||++r;return r}function WVt(t,e){var n,r,i;for(i=e-t.f,r=new R(t.d);r.a<r.c.c.length;)n=o(D(r),315),NYt(n,n.e,n.f+i);t.f=e}function A0(t,e){var n,r,i;r=t.Yk(e,null),i=null,e&&(i=(sk(),n=new yb,n),$k(i,t.r)),r=Ah(t,i,r),r&&r.oj()}function UVt(t,e){var n,r,i;n=t,i=0;do{if(n==e)return i;if(r=n.e,!r)throw N(new vS);n=fs(r),++i}while(!0)}function e$e(t){var e,n,r,i;for(r=t.b.a,n=r.a.ec().Kc();n.Ob();)e=o(n.Pb(),567),i=new Yte(e,t.e,t.f),St(t.g,i)}function n$e(t){var e;return e=new xGt(t),C9(t.a,Phe,new pa(W(K(PE,1),ye,382,0,[e]))),e.d&&St(e.f,e.d),e.f}function GVt(t,e){var n;for(n=0;n<e.length;n++)if(t==(Oe(n,e.length),e.charCodeAt(n)))return!0;return!1}function r$e(t,e){return e<t.length&&(Oe(e,t.length),t.charCodeAt(e)!=63)&&(Oe(e,t.length),t.charCodeAt(e)!=35)}function XVt(t,e,n,r){B$t(this),this.c=at(Vf,T1,10,t.a.c.length,0,1),this.e=e,Bh(t.a,this.c),this.f=n,this.b=r}function VVt(t){DIt(),rL(this),UL(this),this.e=t,mee(this,t),this.g=t==null?Jc:To(t),this.a="",this.b=t,this.a=""}function Wot(){this.a=new w7t,this.f=new E_t(this),this.b=new B_t(this),this.i=new A_t(this),this.e=new M_t(this)}function YVt(){u8e.call(this,new Sst(Bp(16))),cl(2,Pie),this.b=2,this.a=new yit(null,null,0,null),yS(this.a,this.a)}function Uot(t){throw uH(),N(new PIt("Unexpected typeof result '"+t+"'; please report this bug to the GWT team"))}function TH(t,e,n){return p.Math.abs(e-t)<YO||p.Math.abs(n-t)<YO?!0:e-t>YO?t-n>YO:n-t>YO}function JVt(t,e){var n;for(n=0;n<e.length;n++)if(t==(Oe(n,e.length),e.charCodeAt(n)))return!0;return!1}function i$e(t){var e,n;if(t==null)return!1;for(e=0,n=t.length;e<n;e++)if(!PNt(t[e]))return!1;return!0}function Got(t,e){var n,r,i;return r=!1,n=e.q.d,e.d<t.b&&(i=jlt(e.q,t.b),e.q.d>i&&(BQt(e.q,i),r=n!=e.q.d)),r}function QVt(t,e){var n,r,i,s,l,u,f,g;return f=e.i,g=e.j,r=t.f,i=r.i,s=r.j,l=f-i,u=g-s,n=p.Math.sqrt(l*l+u*u),n}function Xot(t,e){var n,r;return r=w_(t),r||(n=(gz(),Rte(e)),r=new AOt(n),mn(r.El(),t)),r}function n7(t,e){var n,r;return n=o(t.c.Bc(e),16),n?(r=t.hc(),r.Gc(n),t.d-=n.gc(),n.$b(),t.mc(r)):t.jc()}function s$e(t,e){var n,r;for(r=ja(t.d,1)!=0,n=!0;n;)n=!1,n=e.c.mg(e.e,r),n=n|F7(t,e,r,!1),r=!r;fot(t)}function ZVt(t,e,n,r){var i,s;t.a=e,s=r?0:1,t.f=(i=new fZt(t.c,t.a,n,s),new zee(n,t.a,i,t.e,t.b,t.c==(tw(),yT)))}function r_(t){var e;return tn(t.a!=t.b),e=t.d.a[t.a],BRt(t.b==t.d.c&&e!=null),t.c=t.a,t.a=t.a+1&t.d.a.length-1,e}function tYt(t){var e;if(t.c!=0)return t.c;for(e=0;e<t.a.length;e++)t.c=t.c*33+(t.a[e]&-1);return t.c=t.c*t.e,t.c}function o$e(t){var e;if(!(t.c.c<0?t.a>=t.c.b:t.a<=t.c.b))throw N(new Mo);return e=t.a,t.a+=t.c.c,++t.b,Ct(e)}function SH(t){var e;return e=new lnt(t.a),mo(e,t),gt(e,(yt(),br),t),e.o.a=t.g,e.o.b=t.f,e.n.a=t.i,e.n.b=t.j,e}function EH(t){return(At(),Zc).Hc(t.j)?nt(ct(F(t,(yt(),v4)))):Io(W(K(Wi,1),vt,8,0,[t.i.n,t.n,t.a])).b}function c$e(t){var e;return e=ZM(Age),o(F(t,(yt(),Cc)),21).Hc((Us(),y4))&&zn(e,(ys(),hc),(Es(),iP)),e}function a$e(t){var e,n,r,i;for(i=new yi,r=new R(t);r.a<r.c.c.length;)n=o(D(r),27),e=MVe(n),cs(i,e);return i}function l$e(t){var e,n;for(n=new R(t.r);n.a<n.c.c.length;)if(e=o(D(n),10),t.n[e.p]<=0)return e;return null}function u$e(t,e,n){var r,i;for(i=e.a.a.ec().Kc();i.Ob();)if(r=o(i.Pb(),60),YHt(t,r,n))return!0;return!1}function h$e(t,e,n,r){var i,s;for(s=t.Kc();s.Ob();)i=o(s.Pb(),72),i.n.a=e.a+(r.a-i.o.a)/2,i.n.b=e.b,e.b+=i.o.b+n}function f$e(t,e,n){var r;r=new fte(t,e),ie(t.r,e.ag(),r),n&&!i5(t.u)&&(r.c=new dKt(t.d),jc(e.Rf(),new DLt(r)))}function nc(t,e){var n;return Co(t)&&Co(e)&&(n=t-e,!isNaN(n))?n:lat(Co(t)?Zl(t):t,Co(e)?Zl(e):e)}function Vot(t,e){var n,r,i;for(i=1,n=t,r=e>=0?e:-e;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,r-=1);return e<0?1/i:i}function d$e(t,e){var n,r,i;for(i=1,n=t,r=e>=0?e:-e;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,r-=1);return e<0?1/i:i}function dg(t,e){var n,r,i,s;return s=(i=t?w_(t):null,PZt((r=e,i&&i.Gl(),r))),s==e&&(n=w_(t),n&&n.Gl()),s}function eYt(t,e,n){var r,i;return i=t.f,t.f=e,(t.Db&4)!=0&&(t.Db&1)==0&&(r=new Gi(t,1,0,i,e),n?n.nj(r):n=r),n}function nYt(t,e,n){var r,i;return i=t.b,t.b=e,(t.Db&4)!=0&&(t.Db&1)==0&&(r=new Gi(t,1,3,i,e),n?n.nj(r):n=r),n}function Yot(t,e,n){var r,i;return i=t.a,t.a=e,(t.Db&4)!=0&&(t.Db&1)==0&&(r=new Gi(t,1,1,i,e),n?n.nj(r):n=r),n}function rYt(t){var e,n;if(t!=null)for(n=0;n<t.length;++n)e=t[n],e&&(o(e.g,379),e.i)}function g$e(t,e,n,r,i,s,l,u){var f;for(f=n;s<l;)f>=r||e<n&&u.Ne(t[e],t[f])<=0?ei(i,s++,t[e++]):ei(i,s++,t[f++])}function b$e(t,e,n,r,i){e==0||r==0||(e==1?i[r]=Hct(i,n,r,t[0]):r==1?i[e]=Hct(i,t,e,n[0]):DUe(t,n,i,e,r))}function w$e(t,e,n){var r,i,s,l;for(r=n/t.gc(),i=0,l=t.Kc();l.Ob();)s=o(l.Pb(),186),WVt(s,s.f+r*i),LHe(s,e,r),++i}function p$e(t){var e,n,r;for(r=0,n=new R(t.a);n.a<n.c.c.length;)e=o(D(n),172),r=p.Math.max(r,e.g);return r}function m$e(t){var e,n,r;for(r=new R(t.b);r.a<r.c.c.length;)n=o(D(r),219),e=n.c.kg()?n.f:n.a,e&&KQe(e,n.j)}function O5(){O5=Y,cV=new wR("DUMMY_NODE_OVER",0),lpt=new wR("DUMMY_NODE_UNDER",1),UP=new wR("EQUAL",2)}function Iv(){Iv=Y,Xyt=new PR("PARALLEL_NODE",0),A2=new PR("HIERARCHICAL_NODE",1),Oj=new PR("ROOT_NODE",2)}function Td(){Td=Y,Bj=new IR("INHERIT",0),P1=new IR("INCLUDE_CHILDREN",1),HT=new IR("SEPARATE_CHILDREN",2)}function Jot(t,e){switch(e){case 1:!t.n&&(t.n=new dt(no,t,1,7)),pn(t.n);return;case 2:Wk(t,null);return}Eot(t,e)}function iYt(t){switch(t.g){case 0:return new h7t;case 1:return new d7t;case 2:return new f7t;default:return null}}function d1(t){switch(Qh(),t.c){case 0:return RN(),D1t;case 1:return new Zy(HZt(new nv(t)));default:return new _It(t)}}function sYt(t){switch(Qh(),t.gc()){case 0:return RN(),D1t;case 1:return new Zy(t.Kc().Pb());default:return new get(t)}}function i_(t){var e;switch(t.gc()){case 0:return dG;case 1:return new mN(Ln(t.Xb(0)));default:return e=t,new ZN(e)}}function Ct(t){var e,n;return t>-129&&t<128?(qNt(),e=t+128,n=X1t[e],!n&&(n=X1t[e]=new XZ(t)),n):new XZ(t)}function oC(t){var e,n;return t>-129&&t<128?(iqt(),e=t+128,n=Q1t[e],!n&&(n=Q1t[e]=new YZ(t)),n):new YZ(t)}function oYt(t,e){var n;t.a.c.length>0&&(n=o(Pt(t.a,t.a.c.length-1),579),Rot(n,e))||St(t.a,new TWt(e))}function y$e(t){Tu();var e,n;e=t.d.c-t.e.c,n=o(t.g,154),jc(n.b,new kFt(e)),jc(n.c,new CFt(e)),ds(n.i,new xFt(e))}function cYt(t){var e;return e=new V1,e.a+="VerticalSegment ",fc(e,t.e),e.a+=" ",Kn(e,wnt(new W$,new R(t.k))),e.a}function BH(t,e){var n,r,i;for(n=0,i=Po(t,e).Kc();i.Ob();)r=o(i.Pb(),12),n+=F(r,(yt(),Ta))!=null?1:0;return n}function Cm(t,e,n){var r,i,s;for(r=0,s=gn(t,0);s.b!=s.d.c&&(i=nt(ct(fn(s))),!(i>n));)i>=e&&++r;return r}function aYt(t,e){Ln(t);try{return t._b(e)}catch(n){if(n=Ur(n),Q(n,212)||Q(n,169))return!1;throw N(n)}}function Qot(t,e){Ln(t);try{return t.Hc(e)}catch(n){if(n=Ur(n),Q(n,212)||Q(n,169))return!1;throw N(n)}}function v$e(t,e){Ln(t);try{return t.Mc(e)}catch(n){if(n=Ur(n),Q(n,212)||Q(n,169))return!1;throw N(n)}}function _p(t,e){Ln(t);try{return t.xc(e)}catch(n){if(n=Ur(n),Q(n,212)||Q(n,169))return null;throw N(n)}}function k$e(t,e){Ln(t);try{return t.Bc(e)}catch(n){if(n=Ur(n),Q(n,212)||Q(n,169))return null;throw N(n)}}function I5(t,e){switch(e.g){case 2:case 1:return Po(t,e);case 3:case 4:return jl(Po(t,e))}return le(),le(),Os}function P5(t){var e;return(t.Db&64)!=0?Mu(t):(e=new Jl(Mu(t)),e.a+=" (name: ",Qs(e,t.zb),e.a+=")",e.a)}function C$e(t){var e;return e=o(Th(t.c.c,""),233),e||(e=new xv(ik(rk(new zy,""),"Other")),m1(t.c.c,"",e)),e}function Zot(t,e,n){var r,i;return i=t.sb,t.sb=e,(t.Db&4)!=0&&(t.Db&1)==0&&(r=new Gi(t,1,4,i,e),n?n.nj(r):n=r),n}function tct(t,e,n){var r,i;return i=t.r,t.r=e,(t.Db&4)!=0&&(t.Db&1)==0&&(r=new Gi(t,1,8,i,t.r),n?n.nj(r):n=r),n}function x$e(t,e,n){var r,i;return r=new vd(t.e,4,13,(i=e.c,i||(ae(),Kh)),null,y1(t,e),!1),n?n.nj(r):n=r,n}function T$e(t,e,n){var r,i;return r=new vd(t.e,3,13,null,(i=e.c,i||(ae(),Kh)),y1(t,e),!1),n?n.nj(r):n=r,n}function g1(t,e){var n,r;return n=o(e,691),r=n.el(),!r&&n.fl(r=Q(e,90)?new NDt(t,o(e,29)):new lzt(t,o(e,156))),r}function r7(t,e,n){var r;t._i(t.i+1),r=t.Zi(e,n),e!=t.i&&uc(t.g,e,t.g,e+1,t.i-e),ei(t.g,e,r),++t.i,t.Mi(e,n),t.Ni()}function S$e(t,e){var n;return e.a&&(n=e.a.a.length,t.a?Kn(t.a,t.b):t.a=new el(t.d),wzt(t.a,e.a,e.d.length,n)),t}function E$e(t,e){var n;t.c=e,t.a=FRe(e),t.a<54&&(t.f=(n=e.d>1?gzt(e.a[0],e.a[1]):gzt(e.a[0],0),y0(e.e>0?n:u1(n))))}function i7(t,e){var n;return n=new fe,t.a.Bd(n)?(fk(),new R$($e(VUt(t,n.a,e)))):(sg(t),fk(),fk(),lgt)}function lYt(t,e){var n;t.c.length!=0&&(n=o(Bh(t,at(Vf,T1,10,t.c.length,0,1)),199),ent(n,new a6t),nte(n,e))}function uYt(t,e){var n;t.c.length!=0&&(n=o(Bh(t,at(Vf,T1,10,t.c.length,0,1)),199),ent(n,new l6t),nte(n,e))}function hr(t,e){return Ji(t)?ne(t,e):hp(t)?iNt(t,e):up(t)?($e(t),it(t)===it(e)):Xrt(t)?t.Fb(e):qrt(t)?n$t(t,e):qit(t,e)}function Il(t,e,n){if(e<0)olt(t,n);else{if(!n.rk())throw N(new _e(Eg+n.xe()+I6));o(n,69).wk().Ek(t,t.hi(),e)}}function hYt(t,e,n){if(t<0||e>n)throw N(new ro(vO+t+sht+e+", size: "+n));if(t>e)throw N(new _e(vO+t+ese+e))}function fYt(t){var e;return(t.Db&64)!=0?Mu(t):(e=new Jl(Mu(t)),e.a+=" (source: ",Qs(e,t.d),e.a+=")",e.a)}function dYt(t){return t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t>=48&&t<=57?t-48:0}function B$e(t){bO();var e,n,r,i;for(n=UH(),r=0,i=n.length;r<i;++r)if(e=n[r],po(e.a,t,0)!=-1)return e;return PG}function A$e(t,e){var n,r,i,s;if(e.ej(t.a),s=o(Be(t.a,8),2035),s!=null)for(n=s,r=0,i=n.length;r<i;++r)null.Um()}function b1(t,e){var n;n=(t.Bb&256)!=0,e?t.Bb|=256:t.Bb&=-257,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Eu(t,1,2,n,e))}function ect(t,e){var n;n=(t.Bb&256)!=0,e?t.Bb|=256:t.Bb&=-257,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Eu(t,1,8,n,e))}function s_(t,e){var n;n=(t.Bb&256)!=0,e?t.Bb|=256:t.Bb&=-257,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Eu(t,1,8,n,e))}function w1(t,e){var n;n=(t.Bb&512)!=0,e?t.Bb|=512:t.Bb&=-513,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Eu(t,1,3,n,e))}function nct(t,e){var n;n=(t.Bb&512)!=0,e?t.Bb|=512:t.Bb&=-513,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Eu(t,1,9,n,e))}function M$e(t,e,n){var r,i;return i=t.a,t.a=e,(t.Db&4)!=0&&(t.Db&1)==0&&(r=new Gi(t,1,5,i,t.a),n?xat(n,r):n=r),n}function j5(t,e){var n;return t.b==-1&&t.a&&(n=t.a.pk(),t.b=n?t.c.Hh(t.a.Lj(),n):Gr(t.c.Dh(),t.a)),t.c.yh(t.b,e)}function gYt(t,e){var n,r;for(r=new Ke(t);r.e!=r.i.gc();)if(n=o(Ye(r),29),it(e)===it(n))return!0;return!1}function rct(t){var e,n;return e=t.k,e==(je(),bi)?(n=o(F(t,(yt(),Uo)),64),n==(At(),Ie)||n==un):!1}function bYt(t){var e;return e=Git(t),Lb(e.a,0)?(cp(),cp(),TG):(cp(),new JR(rR(e.a,0)?pst(e)/y0(e.a):0))}function s7(t,e){this.e=e,this.a=eVt(t),this.a<54?this.f=y0(t):this.c=(of(),nc(t,0)>=0?bg(t):a5(bg(u1(t))))}function wYt(t,e,n,r,i,s){this.e=new Tt,this.f=(Ws(),pT),St(this.e,t),this.d=e,this.a=n,this.b=r,this.f=i,this.c=s}function L$e(t,e,n){t.n=u0(Vg,[vt,Qz],[376,28],14,[n,ji(p.Math.ceil(e/32))],2),t.o=e,t.p=n,t.j=e-1>>1,t.k=n-1>>1}function pYt(t){return t-=t>>1&1431655765,t=(t>>2&858993459)+(t&858993459),t=(t>>4)+t&252645135,t+=t>>8,t+=t>>16,t&63}function mYt(t,e){var n,r;for(r=new Ke(t);r.e!=r.i.gc();)if(n=o(Ye(r),142),it(e)===it(n))return!0;return!1}function F$e(t,e,n){var r,i,s;return s=(i=xC(t.b,e),i),s&&(r=o(uO(P9(t,s),""),29),r)?Alt(t,r,e,n):null}function AH(t,e,n){var r,i,s;return s=(i=xC(t.b,e),i),s&&(r=o(uO(P9(t,s),""),29),r)?Mlt(t,r,e,n):null}function _$e(t,e){var n;if(n=mm(t.i,e),n==null)throw N(new Uh("Node did not exist in input."));return yot(e,n),null}function O$e(t,e){var n;if(n=L7(t,e),Q(n,331))return o(n,35);throw N(new _e(Eg+e+"' is not a valid attribute"))}function D5(t,e,n){var r;if(r=t.gc(),e>r)throw N(new wp(e,r));if(t.Si()&&t.Hc(n))throw N(new _e(pE));t.Gi(e,n)}function I$e(t,e){e.Ug("Sort end labels",1),ci(fr(Oo(new ee(null,new se(t.b,16)),new U5t),new G5t),new X5t),e.Vg()}function Ti(){Ti=Y,Nh=new HS(v6,0),ko=new HS(Qv,1),ho=new HS(Jv,2),Rh=new HS(hW,3),Wl=new HS("UP",4)}function o7(){o7=Y,gj=new _R("P1_STRUCTURE",0),bj=new _R("P2_PROCESSING_ORDER",1),wj=new _R("P3_EXECUTION",2)}function yYt(){yYt=Y,K0e=sf(sf(Ax(sf(sf(Ax(zn(new Ci,(Nv(),CT),(o6(),xV)),xT),Hpt),zpt),TT),$pt),Wpt)}function P$e(t){switch(o(F(t,(yt(),G0)),311).g){case 1:gt(t,G0,(kd(),f3));break;case 2:gt(t,G0,(kd(),sy))}}function j$e(t){switch(t){case 0:return new aIt;case 1:return new oIt;case 2:return new cIt;default:throw N(new vS)}}function vYt(t){switch(t.g){case 2:return ko;case 1:return ho;case 4:return Rh;case 3:return Wl;default:return Nh}}function ict(t,e){switch(t.b.g){case 0:case 1:return e;case 2:case 3:return new Bl(e.d,0,e.a,e.b);default:return null}}function sct(t){switch(t.g){case 1:return De;case 2:return Ie;case 3:return qe;case 4:return un;default:return Do}}function c7(t){switch(t.g){case 1:return un;case 2:return De;case 3:return Ie;case 4:return qe;default:return Do}}function o_(t){switch(t.g){case 1:return qe;case 2:return un;case 3:return De;case 4:return Ie;default:return Do}}function oct(t,e,n,r){switch(e){case 1:return!t.n&&(t.n=new dt(no,t,1,7)),t.n;case 2:return t.k}return Qct(t,e,n,r)}function $5(t,e,n){var r,i;return t.Pj()?(i=t.Qj(),r=PK(t,e,n),t.Jj(t.Ij(7,Ct(n),r,e,i)),r):PK(t,e,n)}function MH(t,e){var n,r,i;t.d==null?(++t.e,--t.f):(i=e.ld(),n=e.Bi(),r=(n&ar)%t.d.length,kIe(t,r,Kte(t,r,n,i)))}function cC(t,e){var n;n=(t.Bb&_u)!=0,e?t.Bb|=_u:t.Bb&=-1025,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Eu(t,1,10,n,e))}function aC(t,e){var n;n=(t.Bb&Vp)!=0,e?t.Bb|=Vp:t.Bb&=-4097,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Eu(t,1,12,n,e))}function lC(t,e){var n;n=(t.Bb&da)!=0,e?t.Bb|=da:t.Bb&=-8193,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Eu(t,1,15,n,e))}function uC(t,e){var n;n=(t.Bb&n2)!=0,e?t.Bb|=n2:t.Bb&=-2049,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Eu(t,1,11,n,e))}function D$e(t){var e;t.g&&(e=t.c.kg()?t.f:t.a,Hlt(e.a,t.o,!0),Hlt(e.a,t.o,!1),gt(t.o,(Ft(),oi),(es(),ob)))}function $$e(t){var e;if(!t.a)throw N(new io("Cannot offset an unassigned cut."));e=t.c-t.b,t.b+=e,WHt(t,e),zHt(t,e)}function R$e(t,e){var n;if(n=Ue(t.k,e),n==null)throw N(new Uh("Port did not exist in input."));return yot(e,n),null}function N$e(t){var e,n;for(n=Nte(sl(t)).Kc();n.Ob();)if(e=On(n.Pb()),c6(t,e))return qOe((Cjt(),Hpe),e);return null}function kYt(t){var e,n;for(n=t.p.a.ec().Kc();n.Ob();)if(e=o(n.Pb(),218),e.f&&t.b[e.c]<-1e-10)return e;return null}function q$e(t){var e,n;for(n=g0(new V1,91),e=!0;t.Ob();)e||(n.a+=Fs),e=!1,fc(n,t.Pb());return(n.a+="]",n).a}function H$e(t){var e,n,r;for(e=new Tt,r=new R(t.b);r.a<r.c.c.length;)n=o(D(r),602),Mi(e,o(n.Cf(),16));return e}function LH(t,e){var n,r;for(r=new R(e);r.a<r.c.c.length;)n=o(D(r),42),Xc(t.b.b,n.b),WLe(o(n.a,194),o(n.b,86))}function K$e(t,e){var n;return n=Tr(t.b.c,e.b.c),n!=0||(n=Tr(t.a.a,e.a.a),n!=0)?n:Tr(t.a.b,e.a.b)}function Tr(t,e){return t<e?-1:t>e?1:t==e?t==0?Tr(1/t,1/e):0:isNaN(t)?isNaN(e)?0:1:-1}function z$e(t){var e;return e=t.a[t.c-1&t.a.length-1],e==null?null:(t.c=t.c-1&t.a.length-1,ei(t.a,t.c,null),e)}function W$e(t){var e,n,r;for(r=0,n=t.length,e=0;e<n;e++)t[e]==32||t[e]==13||t[e]==10||t[e]==9||(t[r++]=t[e]);return r}function U$e(t,e){var n,r,i,s,l;for(l=Nc(t.e.Dh(),e),s=0,n=o(t.g,124),i=0;i<t.i;++i)r=n[i],l.am(r.Lk())&&++s;return s}function G$e(t,e,n){var r,i;for(i=Q(e,102)&&(o(e,19).Bb&js)!=0?new DR(e,t):new Yk(e,t),r=0;r<n;++r)T_(i);return i}function CYt(t,e,n){var r,i;if(t.c)jat(t.c,e,n);else for(i=new R(t.b);i.a<i.c.c.length;)r=o(D(i),163),CYt(r,e,n)}function X$e(t,e,n){var r,i;return r=o(e.of(t.a),34),i=o(n.of(t.a),34),r!=null&&i!=null?K9(r,i):r!=null?-1:i!=null?1:0}function cct(t,e){var n,r,i;for($e(e),n=!1,r=new R(t);r.a<r.c.c.length;)i=D(r),e.Hc(i)&&(c5(r),n=!0);return n}function Yt(t){var e,n,r,i;return n=(e=o(Yu((r=t.Rm,i=r.f,i==yn?r:i)),9),new El(e,o(xu(e,e.length),9),0)),Au(n,t),n}function c_(t){var e,n;return n=o(F(t,(Ft(),bl)),88),n==(Ti(),Nh)?(e=nt(ct(F(t,AP))),e>=1?ko:Rh):n}function V$e(t){switch(o(F(t,(Ft(),Dd)),223).g){case 1:return new O8t;case 3:return new $8t;default:return new _8t}}function gg(t){if(t.c)gg(t.c);else if(t.d)throw N(new io("Stream already terminated, can't be modified or used"))}function iw(t,e,n){var r;return r=t.a.get(e),t.a.set(e,n===void 0?null:n),r===void 0?(++t.c,++t.b.g):++t.d,r}function Y$e(t,e,n){var r,i;for(i=t.a.ec().Kc();i.Ob();)if(r=o(i.Pb(),10),X9(n,o(Pt(e,r.p),16)))return r;return null}function act(t,e,n){var r;return r=0,e&&(im(t.a)?r+=e.f.a/2:r+=e.f.b/2),n&&(im(t.a)?r+=n.f.a/2:r+=n.f.b/2),r}function J$e(t,e,n){var r;r=n,!r&&(r=Mrt(new Vy,0)),r.Ug(Ose,2),EJt(t.b,e,r.eh(1)),fZe(t,e,r.eh(1)),ben(e,r.eh(1)),r.Vg()}function lct(t,e,n){var r,i;return r=(J1(),i=new HA,i),OF(r,e),_F(r,n),t&&mn((!t.a&&(t.a=new ki(yl,t,5)),t.a),r),r}function FH(t){var e;return(t.Db&64)!=0?Mu(t):(e=new Jl(Mu(t)),e.a+=" (identifier: ",Qs(e,t.k),e.a+=")",e.a)}function _H(t,e){var n;n=(t.Bb&Jo)!=0,e?t.Bb|=Jo:t.Bb&=-32769,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Eu(t,1,18,n,e))}function uct(t,e){var n;n=(t.Bb&Jo)!=0,e?t.Bb|=Jo:t.Bb&=-32769,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Eu(t,1,18,n,e))}function hC(t,e){var n;n=(t.Bb&af)!=0,e?t.Bb|=af:t.Bb&=-16385,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Eu(t,1,16,n,e))}function hct(t,e){var n;n=(t.Bb&js)!=0,e?t.Bb|=js:t.Bb&=-65537,(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Eu(t,1,20,n,e))}function fct(t){var e;return e=at(Xl,lf,28,2,15,1),t-=js,e[0]=(t>>10)+J7&Si,e[1]=(t&1023)+56320&Si,nf(e,0,e.length)}function Q$e(t){var e;return e=$p(t),e>34028234663852886e22?Kr:e<-34028234663852886e22?Li:e}function Ts(t,e){var n;return Co(t)&&Co(e)&&(n=t+e,Y7<n&&n<P0)?n:ug(sDe(Co(t)?Zl(t):t,Co(e)?Zl(e):e))}function Ss(t,e){var n;return Co(t)&&Co(e)&&(n=t*e,Y7<n&&n<P0)?n:ug(tZe(Co(t)?Zl(t):t,Co(e)?Zl(e):e))}function tu(t,e){var n;return Co(t)&&Co(e)&&(n=t-e,Y7<n&&n<P0)?n:ug(nVt(Co(t)?Zl(t):t,Co(e)?Zl(e):e))}function Po(t,e){var n;return t.i||slt(t),n=o(Zs(t.g,e),42),n?new o1(t.j,o(n.a,17).a,o(n.b,17).a):(le(),le(),Os)}function Z$e(t){return CH(),Te(),!!(SYt(o(t.a,86).j,o(t.b,88))||o(t.a,86).d.e!=0&&SYt(o(t.a,86).j,o(t.b,88)))}function tRe(t,e){return ne(e.b&&e.c?m0(e.b)+"->"+m0(e.c):"e_"+Mr(e),t.b&&t.c?m0(t.b)+"->"+m0(t.c):"e_"+Mr(t))}function eRe(t,e){return ne(e.b&&e.c?m0(e.b)+"->"+m0(e.c):"e_"+Mr(e),t.b&&t.c?m0(t.b)+"->"+m0(t.c):"e_"+Mr(t))}function sw(t,e){return wh(),Bu(kg),p.Math.abs(t-e)<=kg||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:Fb(isNaN(t),isNaN(e))}function Sd(){Sd=Y,PY=new qM(v6,0),kB=new qM("POLYLINE",1),$4=new qM("ORTHOGONAL",2),E3=new qM("SPLINES",3)}function a_(){a_=Y,H2t=new LR("ASPECT_RATIO_DRIVEN",0),eY=new LR("MAX_SCALE_DRIVEN",1),q2t=new LR("AREA_DRIVEN",2)}function nRe(t,e,n){var r;try{SDe(t,e,n)}catch(i){throw i=Ur(i),Q(i,606)?(r=i,N(new fst(r))):N(i)}return e}function rRe(t){var e,n,r;for(n=0,r=t.length;n<r;n++)if(t[n]==null)throw N(new Jy("at index "+n));return e=t,new pa(e)}function Ed(t){var e,n,r;for(e=new Tt,r=new R(t.j);r.a<r.c.c.length;)n=o(D(r),12),St(e,n.b);return Ln(e),new Wx(e)}function zi(t){var e,n,r;for(e=new Tt,r=new R(t.j);r.a<r.c.c.length;)n=o(D(r),12),St(e,n.e);return Ln(e),new Wx(e)}function di(t){var e,n,r;for(e=new Tt,r=new R(t.j);r.a<r.c.c.length;)n=o(D(r),12),St(e,n.g);return Ln(e),new Wx(e)}function iRe(t,e){var n,r,i;for(i=new hn,r=e.vc().Kc();r.Ob();)n=o(r.Pb(),44),Qn(i,n.ld(),Hje(t,o(n.md(),15)));return i}function sRe(t){var e,n;for(n=XUe(sl(kp(t))).Kc();n.Ob();)if(e=On(n.Pb()),c6(t,e))return HOe((vjt(),Kpe),e);return null}function OH(t,e){var n,r,i;for(i=0,r=o(e.Kb(t),20).Kc();r.Ob();)n=o(r.Pb(),18),It(_t(F(n,(yt(),jh))))||++i;return i}function xYt(t){var e,n,r,i;for(e=new JRt(t.Rd().gc()),i=0,r=Mv(t.Rd().Kc());r.Ob();)n=r.Pb(),KFe(e,n,Ct(i++));return Hze(e.a)}function IH(t,e,n,r){var i,s;return $e(r),$e(n),i=t.xc(e),s=i==null?n:ljt(o(i,15),o(n,16)),s==null?t.Bc(e):t.zc(e,s),s}function oRe(t,e,n,r){var i,s,l;for(i=e+1;i<n;++i)for(s=i;s>e&&r.Ne(t[s-1],t[s])>0;--s)l=t[s],ei(t,s,t[s-1]),ei(t,s-1,l)}function Ut(t,e){var n,r,i,s,l;if(n=e.f,m1(t.c.d,n,e),e.g!=null)for(i=e.g,s=0,l=i.length;s<l;++s)r=i[s],m1(t.c.e,r,e)}function TYt(t,e){var n,r;for(n=gn(t,0);n.b!=n.d.c;){if(r=kS(ct(fn(n))),r==e)return;if(r>e){yzt(n);break}}f9(n,e)}function cRe(t,e){var n,r,i;r=gm(e),i=nt(ct(Ip(r,(Ft(),ju)))),n=p.Math.max(0,i/2-.5),G5(e,n,1),St(t,new $jt(e,n))}function aRe(t,e,n){var r;n.Ug("Straight Line Edge Routing",1),n.dh(e,ddt),r=o(wt(e,(hm(),py)),27),cre(t,r),n.dh(e,ZO)}function dct(t,e){t.n.c.length==0&&St(t.n,new eF(t.s,t.t,t.i)),St(t.b,e),Gct(o(Pt(t.n,t.n.c.length-1),209),e),Kne(t,e)}function R5(t){var e;this.a=(e=o(t.e&&t.e(),9),new El(e,o(xu(e,e.length),9),0)),this.b=at(Hi,ye,1,this.a.a.length,5,1)}function To(t){var e;return Array.isArray(t)&&t.Tm===kn?a0(Ja(t))+"@"+(e=Mr(t)>>>0,e.toString(16)):t.toString()}function lRe(t,e){return t.h==V7&&t.m==0&&t.l==0?(e&&(Bg=Ic(0,0,0)),i$t((Dk(),H1t))):(e&&(Bg=Ic(t.l,t.m,t.h)),Ic(0,0,0))}function uRe(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}function SYt(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}function gct(t,e,n,r){switch(e){case 3:return t.f;case 4:return t.g;case 5:return t.i;case 6:return t.j}return oct(t,e,n,r)}function l_(t,e){if(e==t.d)return t.e;if(e==t.e)return t.d;throw N(new _e("Node "+e+" not part of edge "+t))}function hRe(t,e){var n;if(n=L7(t.Dh(),e),Q(n,102))return o(n,19);throw N(new _e(Eg+e+"' is not a valid reference"))}function Pl(t,e,n,r){if(e<0)Olt(t,n,r);else{if(!n.rk())throw N(new _e(Eg+n.xe()+I6));o(n,69).wk().Ck(t,t.hi(),e,r)}}function Pa(t){var e;if(t.b){if(Pa(t.b),t.b.d!=t.c)throw N(new xl)}else t.d.dc()&&(e=o(t.f.c.xc(t.e),16),e&&(t.d=e))}function fRe(t){gp();var e,n,r,i;for(e=t.o.b,r=o(o(gr(t.r,(At(),un)),21),87).Kc();r.Ob();)n=o(r.Pb(),117),i=n.e,i.b+=e}function dRe(t){var e,n,r;for(this.a=new Vh,r=new R(t);r.a<r.c.c.length;)n=o(D(r),16),e=new lqt,dje(e,n),Ai(this.a,e)}function gRe(t,e){var n,r,i;for(r=bYe(t,e),i=r[r.length-1]/2,n=0;n<r.length;n++)if(r[n]>=i)return e.c+n;return e.c+e.b.gc()}function bRe(t,e){wk();var n,r,i,s;for(r=DUt(t),i=e,Pk(r,0,r.length,i),n=0;n<r.length;n++)s=nHe(t,r[n],n),n!=s&&$5(t,n,s)}function PH(t,e,n){var r,i;for(r=0,i=t.length;r<i;r++)if(lH((Oe(r,t.length),t.charCodeAt(r)),e,n))return!0;return!1}function wRe(t,e){var n,r;for(r=t.e.a.ec().Kc();r.Ob();)if(n=o(r.Pb(),272),xze(e,n.d)||_We(e,n.d))return!0;return!1}function bct(t,e,n,r,i){var s,l,u;for(l=i;e.b!=e.c;)s=o(pv(e),10),u=o(Po(s,r).Xb(0),12),t.d[u.p]=l++,ke(n.c,u);return l}function wct(t,e){var n,r,i,s,l,u;for(r=0,n=0,s=e,l=0,u=s.length;l<u;++l)i=s[l],i>0&&(r+=i,++n);return n>1&&(r+=t.d*(n-1)),r}function pRe(t){var e,n,r,i,s;return s=_at(t),n=TS(t.c),r=!n,r&&(i=new n0,rh(s,"knownLayouters",i),e=new bOt(i),ds(t.c,e)),s}function pct(t){var e,n,r;for(r=new Qd,r.a+="[",e=0,n=t.gc();e<n;)Qs(r,Vx(t.Vi(e))),++e<n&&(r.a+=Fs);return r.a+="]",r.a}function mRe(t){return t.e==null?t:(!t.c&&(t.c=new UK((t.f&256)!=0,t.i,t.a,t.d,(t.f&16)!=0,t.j,t.g,null)),t.c)}function yRe(t){return t.k!=(je(),ui)?!1:wm(new ee(null,new Nb(new Ge(Ve(di(t).a.Kc(),new P)))),new C8t)}function jl(t){var e,n;return Q(t,307)?(n=wIe(o(t,307)),e=n,e):Q(t,441)?o(t,441).a:Q(t,59)?new OIt(t):new oet(t)}function vRe(t){var e;return t==null?!0:(e=t.length,e>0&&(Oe(e-1,t.length),t.charCodeAt(e-1)==58)&&!PH(t,JT,QT))}function mct(t,e){var n;return it(t)===it(e)?!0:Q(e,92)?(n=o(e,92),t.e==n.e&&t.d==n.d&&zOe(t,n.a)):!1}function Pv(t){switch(At(),t.g){case 4:return Ie;case 1:return qe;case 3:return un;case 2:return De;default:return Do}}function kRe(t){var e,n;if(t.b)return t.b;for(n=Ih?null:t.d;n;){if(e=Ih?null:n.b,e)return e;n=Ih?null:n.d}return uk(),fgt}function yct(t){var e,n,r;for(r=nt(ct(t.a.of((Vn(),Tj)))),n=new R(t.a.Sf());n.a<n.c.c.length;)e=o(D(n),695),oie(t,e,r)}function CRe(t){var e,n,r,i;for(e=(t.j==null&&(t.j=(Mk(),i=mG.me(t),NHe(i))),t.j),n=0,r=e.length;n<r;++n);}function jH(t,e){var n,r;for(r=new R(e);r.a<r.c.c.length;)n=o(D(r),42),St(t.b.b,o(n.b,86)),hq(o(n.a,194),o(n.b,86))}function xRe(t,e,n){var r,i;for(i=t.a.b,r=i.c.length;r<n;r++)Db(i,0,new dc(t.a));is(e,o(Pt(i,i.c.length-n),30)),t.b[e.p]=n}function TRe(t,e,n,r,i){rl(),Lu(vu(yu(mu(ku(new Yl,0),i.d.e-t),e),i.d)),Lu(vu(yu(mu(ku(new Yl,0),n-i.a.e),i.a),r))}function EYt(t,e){var n;return t.d?Pc(t.b,e)?o(Ue(t.b,e),47):(n=e.dg(),Qn(t.b,e,n),n):e.dg()}function SRe(t){var e=t.e;function n(r){return!r||r.length==0?"":" "+r.join(`
|
|
319
319
|
`)}return e&&(e.stack||n(t[Fz]))}function vct(t,e){switch(e){case 3:return t.f!=0;case 4:return t.g!=0;case 5:return t.i!=0;case 6:return t.j!=0}return vot(t,e)}function BYt(t){switch(t.g){case 0:return new Z9t;case 1:return new n7t;default:throw N(new _e(MW+(t.f!=null?t.f:""+t.g)))}}function ERe(t){switch(t.g){case 0:return new t7t;case 1:return new e7t;default:throw N(new _e(bU+(t.f!=null?t.f:""+t.g)))}}function BRe(t){switch(t.g){case 1:return new U9t;case 2:return new dRt;default:throw N(new _e(bU+(t.f!=null?t.f:""+t.g)))}}function AYt(t){switch(t.g){case 0:return new Itt;case 1:return new lIt;default:throw N(new _e(rI+(t.f!=null?t.f:""+t.g)))}}function DH(){Fat();var t,e,n;n=Tnn+++Date.now(),t=ji(p.Math.floor(n*Z7))&yO,e=ji(n-t*eht),this.a=t^1502,this.b=e^rW}function Dl(){Dl=Y,UE=new PS(df,0),cT=new PS("FIRST",1),Og=new PS(Vse,2),aT=new PS("LAST",3),f2=new PS(Yse,4)}function u_(){u_=Y,RY=new zM(edt,0),Qyt=new zM("GROUP_DEC",1),tvt=new zM("GROUP_MIXED",2),Zyt=new zM("GROUP_INC",3)}function ARe(t,e){var n,r,i,s;e&&(i=xd(e,"x"),n=new oOt(t),Nk(n.a,($e(i),i)),s=xd(e,"y"),r=new aOt(t),Hk(r.a,($e(s),s)))}function MRe(t,e){var n,r,i,s;e&&(i=xd(e,"x"),n=new uOt(t),Rk(n.a,($e(i),i)),s=xd(e,"y"),r=new hOt(t),qk(r.a,($e(s),s)))}function LRe(t,e){var n,r,i,s;for(i=new Ec(e.gc()),r=e.Kc();r.Ob();)n=r.Pb(),s=tz(t,o(n,58)),s&&ke(i.c,s);return i}function Op(t,e,n){var r,i;for(i=t.Kc();i.Ob();)if(r=i.Pb(),it(e)===it(r)||e!=null&&hr(e,r))return n&&i.Qb(),!0;return!1}function MYt(t){var e,n,r;return n=t.jh(),n?(e=t.Eh(),Q(e,167)&&(r=MYt(o(e,167)),r!=null)?r+"."+n:n):null}function FRe(t){var e,n,r;return t.e==0?0:(e=t.d<<5,n=t.a[t.d-1],t.e<0&&(r=IXt(t),r==t.d-1&&(--n,n=n|0)),e-=E7(n),e)}function _Re(t){var e,n,r;return t<LI.length?LI[t]:(n=t>>5,e=t&31,r=at(vn,Wn,28,n+1,15,1),r[n]=1<<e,new d0(1,n+1,r))}function LYt(t,e){var n,r;if(e){for(n=0;n<t.i;++n)if(r=o(t.g[n],378),r.mj(e))return!1;return mn(t,e)}else return!1}function kct(t,e,n){var r,i;if(++t.j,n.dc())return!1;for(i=n.Kc();i.Ob();)r=i.Pb(),t.qj(e,t.Zi(e,r)),++e;return!0}function ORe(t,e,n,r){var i,s;if(s=n-e,s<3)for(;s<3;)t*=10,++s;else{for(i=1;s>3;)i*=10,--s;t=(t+(i>>1))/i|0}return r.i=t,!0}function Gr(t,e){var n,r,i;if(n=(t.i==null&&cf(t),t.i),r=e.Lj(),r!=-1){for(i=n.length;r<i;++r)if(n[r]==e)return r}return-1}function IRe(t){var e,n,r,i,s;for(n=o(t.g,689),r=t.i-1;r>=0;--r)for(e=n[r],i=0;i<r;++i)if(s=n[i],jne(t,e,s)){Rv(t,r);break}}function Cct(t){var e,n,r,i;for(e=new n0,i=new X3(t.b.Kc());i.b.Ob();)r=o(i.b.Pb(),701),n=Yze(r),jMe(e,e.a.length,n);return e.a}function xct(t){var e;return!t.c&&(t.c=new iS),gi(t.d,new sS),OVe(t),e=TVe(t),ci(new ee(null,new se(t.d,16)),new $Lt(t)),e}function PRe(t,e){e.Ug("End label post-processing",1),ci(fr(Oo(new ee(null,new se(t.b,16)),new $5t),new R5t),new N5t),e.Vg()}function Tct(t){$H(),this.c=kh(W(K(Knn,1),ye,845,0,[tge])),this.b=new hn,this.a=t,Qn(this.b,zP,1),jc(ege,new $_t(this))}function FYt(t,e,n){UGt(),iIt.call(this),this.a=u0(Yle,[vt,fht],[603,217],0,[II,IG],2),this.c=new cv,this.g=t,this.f=e,this.d=n}function Sct(t,e){this.n=u0(Vg,[vt,Qz],[376,28],14,[e,ji(p.Math.ceil(t/32))],2),this.o=t,this.p=e,this.j=t-1>>1,this.k=e-1>>1}function jRe(t){yF(),o(t.of((Vn(),$g)),181).Hc((Da(),Fj))&&(o(t.of(S2),181).Fc((xa(),B3)),o(t.of($g),181).Mc(Fj))}function _Yt(t){var e,n;e=t.d==(qv(),h4),n=Cat(t),e&&!n||!e&&n?gt(t.a,(Ft(),yf),(Df(),dB)):gt(t.a,(Ft(),yf),(Df(),fB))}function $H(){$H=Y,kM(),zP=(Ft(),Rw),ege=kh(W(K(pY,1),tdt,149,0,[VE,ju,hy,$w,y2,tV,S4,E4,eV,dT,uy,tb,fy]))}function DRe(t,e){var n;return n=o(xo(t,va(new dr,new Qt,new Bs,W(K(lo,1),bt,108,0,[(Ca(),Eo)]))),15),n.Qc(ZNt(n.gc()))}function OYt(t,e){var n,r;if(r=new Y3(t.a.ad(e,!0)),r.a.gc()<=1)throw N(new Uy);return n=r.a.ec().Kc(),n.Pb(),o(n.Pb(),40)}function $Re(t,e,n){var r,i;return r=nt(t.p[e.i.p])+nt(t.d[e.i.p])+e.n.b+e.a.b,i=nt(t.p[n.i.p])+nt(t.d[n.i.p])+n.n.b+n.a.b,i-r}function Ect(t,e){var n;return t.i>0&&(e.length<t.i&&(n=q9(Ja(e).c,t.i),e=n),uc(t.g,0,e,0,t.i)),e.length>t.i&&ei(e,t.i,null),e}function h_(t){var e;return(t.Db&64)!=0?P5(t):(e=new Jl(P5(t)),e.a+=" (instanceClassName: ",Qs(e,t.D),e.a+=")",e.a)}function f_(t){var e,n,r,i;for(i=0,n=0,r=t.length;n<r;n++)e=(Oe(n,t.length),t.charCodeAt(n)),e<64&&(i=th(i,Su(1,e)));return i}function RRe(t,e,n){var r,i;for(r=qi(n,Gs),i=0;nc(r,0)!=0&&i<e;i++)r=Ts(r,qi(t[i],Gs)),t[i]=Mn(r),r=$b(r,32);return Mn(r)}function a7(t,e){var n,r,i,s;for(s=Nc(t.e.Dh(),e),n=o(t.g,124),i=0;i<t.i;++i)if(r=n[i],s.am(r.Lk()))return!1;return!0}function RH(t,e){var n,r,i;return t.f>0?(t._j(),r=e==null?0:Mr(e),i=(r&ar)%t.d.length,n=Kte(t,i,r,e),n!=-1):!1}function IYt(t,e){var n,r;t.a=Ts(t.a,1),t.c=p.Math.min(t.c,e),t.b=p.Math.max(t.b,e),t.d+=e,n=e-t.f,r=t.e+n,t.f=r-t.e-n,t.e=r}function Bct(t,e){switch(e){case 3:Qb(t,0);return;case 4:Zb(t,0);return;case 5:Dc(t,0);return;case 6:$c(t,0);return}Jot(t,e)}function ow(t,e){switch(e.g){case 1:return dv(t.j,(la(),g0t));case 2:return dv(t.j,(la(),w0t));default:return le(),le(),Os}}function Act(t){qb();var e;switch(e=t.Pc(),e.length){case 0:return dG;case 1:return new mN(Ln(e[0]));default:return new ZN(rRe(e))}}function PYt(t,e){t.Xj();try{t.d.bd(t.e++,e),t.f=t.d.j,t.g=-1}catch(n){throw n=Ur(n),Q(n,77)?N(new xl):N(n)}}function NH(){NH=Y,YY=new LEt,xvt=new FEt,Tvt=new _Et,Svt=new OEt,Evt=new IEt,Bvt=new PEt,Avt=new jEt,Mvt=new DEt,Lvt=new $Et}function d_(t,e){Jet();var n,r;return n=e9((cM(),cM(),U6)),r=null,e==n&&(r=o(gc(N1t,t),624)),r||(r=new tHt(t),e==n&&so(N1t,t,r)),r}function jYt(t){Pp();var e;return(t.q?t.q:(le(),le(),Gf))._b((Ft(),jw))?e=o(F(t,jw),203):e=o(F(fs(t),fT),203),e}function Ip(t,e){var n,r;return r=null,Or(t,(Ft(),HP))&&(n=o(F(t,HP),96),n.pf(e)&&(r=n.of(e))),r==null&&(r=F(fs(t),e)),r}function DYt(t,e){var n,r,i;return Q(e,44)?(n=o(e,44),r=n.ld(),i=_p(t.Rc(),r),Zh(i,n.md())&&(i!=null||t.Rc()._b(r))):!1}function sh(t,e){var n,r,i;return t.f>0&&(t._j(),r=e==null?0:Mr(e),i=(r&ar)%t.d.length,n=dlt(t,i,r,e),n)?n.md():null}function Ac(t,e,n){var r,i,s;return t.Pj()?(r=t.i,s=t.Qj(),r7(t,r,e),i=t.Ij(3,null,e,r,s),n?n.nj(i):n=i):r7(t,t.i,e),n}function NRe(t,e,n){var r,i;return r=new vd(t.e,4,10,(i=e.c,Q(i,90)?o(i,29):(ae(),bu)),null,y1(t,e),!1),n?n.nj(r):n=r,n}function qRe(t,e,n){var r,i;return r=new vd(t.e,3,10,null,(i=e.c,Q(i,90)?o(i,29):(ae(),bu)),y1(t,e),!1),n?n.nj(r):n=r,n}function $Yt(t){gp();var e;return e=new Ms(o(t.e.of((Vn(),Ey)),8)),t.B.Hc((Da(),N4))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function bg(t){of();var e,n;return n=Mn(t),e=Mn(rg(t,32)),e!=0?new UKt(n,e):n>10||n<0?new md(1,n):Tle[n]}function l7(t,e){var n;return Co(t)&&Co(e)&&(n=t%e,Y7<n&&n<P0)?n:ug((But(Co(t)?Zl(t):t,Co(e)?Zl(e):e,!0),Bg))}function N5(t,e){var n;Atn(e),n=o(F(t,(Ft(),PP)),283),n&>(t,PP,zqe(n)),n1(t.c),n1(t.f),kst(t.d),kst(o(F(t,RP),214))}function HRe(t){var e,n,r,i;for(r=vWe(t),gi(r,Khe),i=t.d,i.c.length=0,n=new R(r);n.a<n.c.c.length;)e=o(D(n),466),Mi(i,e.b)}function qH(t){var e;t.c!=0&&(e=o(Pt(t.a,t.b),294),e.b==1?(++t.b,t.b<t.a.c.length&&aLt(o(Pt(t.a,t.b),294))):--e.b,--t.c)}function KRe(t){var e;e=t.a;do e=o(nn(new Ge(Ve(di(e).a.Kc(),new P))),18).d.i,e.k==(je(),Xi)&&St(t.e,e);while(e.k==(je(),Xi))}function RYt(t){this.e=at(vn,Wn,28,t.length,15,1),this.c=at(Ha,Wf,28,t.length,16,1),this.b=at(Ha,Wf,28,t.length,16,1),this.f=0}function zRe(t){var e,n;for(t.j=at(Zi,eo,28,t.p.c.length,15,1),n=new R(t.p);n.a<n.c.c.length;)e=o(D(n),10),t.j[e.p]=e.o.b/t.i}function WRe(t,e){var n,r,i,s;for(s=e.b.b,t.a=new $r,t.b=at(vn,Wn,28,s,15,1),n=0,i=gn(e.b,0);i.b!=i.d.c;)r=o(fn(i),40),r.g=n++}function NYt(t,e,n){var r,i,s,l;for(s=e-t.e,l=n-t.f,i=new R(t.a);i.a<i.c.c.length;)r=o(D(i),172),d7(r,r.s+s,r.t+l);t.e=e,t.f=n}function u7(t,e){var n,r;for(r=e.length,n=0;n<r;n+=2)wc(t,(Oe(n,e.length),e.charCodeAt(n)),(Oe(n+1,e.length),e.charCodeAt(n+1)))}function URe(t,e){e.Ug("Min Size Postprocessing",1),pr(t,(Rf(),x2),p.Math.max(nt(ct(wt(t,x2))),nt(ct(wt(t,MT))))),e.Vg()}function Mct(){Mct=Y,Uyt=new _b(15),upe=new rs((Vn(),I1),Uyt),fpe=new rs(sb,15),hpe=new rs(OY,Ct(0)),lpe=new rs(ky,KC)}function Qa(){Qa=Y,BB=new KM("PORTS",0),cb=new KM("PORT_LABELS",1),EB=new KM("NODE_LABELS",2),B2=new KM("MINIMUM_SIZE",3)}function g_(){g_=Y,cB=new AR("P1_WIDTH_APPROXIMATION",0),uj=new AR("P2_PACKING",1),VV=new AR("P3_WHITESPACE_ELIMINATION",2)}function qYt(t){if(t.b==null){for(;t.a.Ob();)if(t.b=t.a.Pb(),!o(t.b,54).Jh())return!0;return t.b=null,!1}else return!0}function fC(t,e,n){var r,i,s;for(i=null,s=t.b;s;){if(r=t.a.Ne(e,s.d),n&&r==0)return s;r>=0?s=s.a[1]:(i=s,s=s.a[0])}return i}function h7(t,e,n){var r,i,s;for(i=null,s=t.b;s;){if(r=t.a.Ne(e,s.d),n&&r==0)return s;r<=0?s=s.a[0]:(i=s,s=s.a[1])}return i}function GRe(t,e,n,r){var i,s,l;return i=!1,YZe(t.f,n,r)&&(bNe(t.f,t.a[e][n],t.a[e][r]),s=t.a[e],l=s[r],s[r]=s[n],s[n]=l,i=!0),i}function HYt(t,e,n){var r,i,s,l;for(i=o(Ue(t.b,n),183),r=0,l=new R(e.j);l.a<l.c.c.length;)s=o(D(l),113),i[s.d.p]&&++r;return r}function Lct(t,e,n){var r,i;r=o(gc(K4,e),122),i=o(gc(i8,e),122),n?(so(K4,t,r),so(i8,t,i)):(so(i8,t,r),so(K4,t,i))}function KYt(t,e){var n,r,i,s;return n=e>>5,e&=31,i=t.d+n+(e==0?0:1),r=at(vn,Wn,28,i,15,1),WKe(r,t.a,n,e),s=new d0(t.e,i,r),g5(s),s}function XRe(t,e){var n,r,i;for(r=new Ge(Ve(di(t).a.Kc(),new P));bn(r);)if(n=o(nn(r),18),i=n.d.i,i.c==e)return!1;return!0}function Fct(t,e,n){var r,i,s,l,u;return l=t.k,u=e.k,r=n[l.g][u.g],i=ct(Ip(t,r)),s=ct(Ip(e,r)),p.Math.max(($e(i),i),($e(s),s))}function VRe(){return Error.stackTraceLimit>0?(p.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function YRe(t,e){return wh(),wh(),Bu(kg),(p.Math.abs(t-e)<=kg||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:Fb(isNaN(t),isNaN(e)))>0}function _ct(t,e){return wh(),wh(),Bu(kg),(p.Math.abs(t-e)<=kg||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:Fb(isNaN(t),isNaN(e)))<0}function zYt(t,e){return wh(),wh(),Bu(kg),(p.Math.abs(t-e)<=kg||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:Fb(isNaN(t),isNaN(e)))<=0}function HH(t,e){for(var n=0;!e[n]||e[n]=="";)n++;for(var r=e[n++];n<e.length;n++)!e[n]||e[n]==""||(r+=t+e[n]);return r}function WYt(t){var e,n;return e=o(Be(t.a,4),129),e!=null?(n=at(UY,VU,424,e.length,0,1),uc(e,0,n,0,e.length),n):Ipe}function UYt(t){var e,n,r,i,s;if(t==null)return null;for(s=new Tt,n=wH(t),r=0,i=n.length;r<i;++r)e=n[r],St(s,pc(e,!0));return s}function GYt(t){var e,n,r,i,s;if(t==null)return null;for(s=new Tt,n=wH(t),r=0,i=n.length;r<i;++r)e=n[r],St(s,pc(e,!0));return s}function XYt(t){var e,n,r,i,s;if(t==null)return null;for(s=new Tt,n=wH(t),r=0,i=n.length;r<i;++r)e=n[r],St(s,pc(e,!0));return s}function VYt(t,e){var n,r,i;if(t.c)Qb(t.c,e);else for(n=e-Va(t),i=new R(t.a);i.a<i.c.c.length;)r=o(D(i),163),VYt(r,Va(r)+n)}function YYt(t,e){var n,r,i;if(t.c)Zb(t.c,e);else for(n=e-oa(t),i=new R(t.d);i.a<i.c.c.length;)r=o(D(i),163),YYt(r,oa(r)+n)}function nf(t,e,n){var r,i,s,l;for(s=e+n,os(e,s,t.length),l="",i=e;i<s;)r=p.Math.min(i+1e4,s),l+=fLe(t.slice(i,r)),i=r;return l}function Oct(t){switch(t.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 p1(){p1=Y,vX=new IS(jht,0),lbt=new IS(Qse,1),kX=new IS(_W,2),b4=new IS(Oht,3),g4=new IS("GREEDY_MODEL_ORDER",4)}function rf(){rf=Y,L1=new DM(df,0),mpt=new DM("NODES_AND_EDGES",1),fV=new DM("PREFER_EDGES",2),dV=new DM("PREFER_NODES",3)}function Ict(t,e,n,r,i,s){this.a=t,this.c=e,this.b=n,this.f=r,this.d=i,this.e=s,this.c>0&&this.b>0&&(this.g=EL(this.c,this.b,this.a))}function JRe(t,e){var n=t.a,r;e=String(e),n.hasOwnProperty(e)&&(r=n[e]);var i=(uH(),yG)[typeof r],s=i?i(r):Uot(typeof r);return s}function dC(t){var e,n,r;if(r=null,e=wf in t.a,n=!e,n)throw N(new Uh("Every element must have an id."));return r=Hv(bd(t,wf)),r}function cw(t){var e,n;for(n=wZt(t),e=null;t.c==2;)rr(t),e||(e=(cr(),cr(),new Ux(2)),O0(e,n),n=e),n.Jm(wZt(t));return n}function b_(t,e){var n,r,i;return t._j(),r=e==null?0:Mr(e),i=(r&ar)%t.d.length,n=dlt(t,i,r,e),n?(QGt(t,n),n.md()):null}function JYt(t,e){return t.e>e.e?1:t.e<e.e?-1:t.d>e.d?t.e:t.d<e.d?-e.e:t.e*qot(t.a,e.a,t.d)}function QYt(t){return t>=48&&t<48+p.Math.min(10,10)?t-48:t>=97&&t<97?t-97+10:t>=65&&t<65?t-65+10:-1}function QRe(t,e){if(e.c==t)return e.d;if(e.d==t)return e.c;throw N(new _e("Input edge is not connected to the input port."))}function ZRe(t){if(p_(QC,t))return Te(),s4;if(p_(MU,t))return Te(),Ag;throw N(new _e("Expecting true or false"))}function Pct(t){switch(typeof t){case Tz:return f1(t);case zut:return ov(t);case Uv:return _Rt(t);default:return t==null?0:Ib(t)}}function sf(t,e){if(t.a<0)throw N(new io("Did not call before(...) or after(...) before calling add(...)."));return Mnt(t,t.a,e),t}function jct(t){return nF(),Q(t,162)?o(Ue(OB,Mle),295).Rg(t):Pc(OB,Ja(t))?o(Ue(OB,Ja(t)),295).Rg(t):null}function Rc(t){var e,n;return(t.Db&32)==0&&(n=(e=o(Be(t,16),29),en(e||t.ii())-en(t.ii())),n!=0&&jv(t,32,at(Hi,ye,1,n,5,1))),t}function jv(t,e,n){var r;(t.Db&e)!=0?n==null?jUe(t,e):(r=lK(t,e),r==-1?t.Eb=n:ei(k0(t.Eb),r,n)):n!=null&&sVe(t,e,n)}function tNe(t,e,n,r){var i,s;e.c.length!=0&&(i=VGe(n,r),s=YWe(e),ci(LF(new ee(null,new se(s,1)),new DSt),new MHt(t,n,i,r)))}function eNe(t,e){var n,r,i,s;return r=t.a.length-1,n=e-t.b&r,s=t.c-e&r,i=t.c-t.b&r,BRt(n<i),n>=s?(ZDe(t,e),-1):(QDe(t,e),1)}function w_(t){var e,n,r;if(r=t.Jh(),!r)for(e=0,n=t.Ph();n;n=n.Ph()){if(++e>Zz)return n.Qh();if(r=n.Jh(),r||n==t)break}return r}function ZYt(t,e){var n;return it(e)===it(t)?!0:!Q(e,21)||(n=o(e,21),n.gc()!=t.gc())?!1:t.Ic(n)}function nNe(t,e){return t.e<e.e?-1:t.e>e.e?1:t.f<e.f?-1:t.f>e.f?1:Mr(t)-Mr(e)}function p_(t,e){return $e(t),e==null?!1:ne(t,e)?!0:t.length==e.length&&ne(t.toLowerCase(),e.toLowerCase())}function Bd(t){var e,n;return nc(t,-129)>0&&nc(t,128)<0?(rqt(),e=Mn(t)+128,n=V1t[e],!n&&(n=V1t[e]=new VZ(t)),n):new VZ(t)}function M0(){M0=Y,c2=new OM(df,0),l0t=new OM("INSIDE_PORT_SIDE_GROUPS",1),ZG=new OM("GROUP_MODEL_ORDER",2),tX=new OM(Oht,3)}function rNe(t){var e;return t.b||Y8e(t,(e=V7e(t.e,t.a),!e||!ne(MU,sh((!e.b&&(e.b=new Xa((ae(),$s),Go,e)),e.b),"qualified")))),t.c}function iNe(t,e){var n,r;for(n=(Oe(e,t.length),t.charCodeAt(e)),r=e+1;r<t.length&&(Oe(r,t.length),t.charCodeAt(r)==n);)++r;return r-e}function sNe(t,e){(!e&&console.groupCollapsed!=null?console.groupCollapsed:console.group??console.log).call(console,t)}function oNe(t,e,n,r){r==t,o(n.b,68),o(n.b,68),o(r.b,68),o(r.b,68).c.b,Tst(r,e,t)}function cNe(t){var e,n;for(e=new R(t.g);e.a<e.c.c.length;)o(D(e),568);n=new gee(t.g,nt(t.a),t.c),Ptn(n),t.g=n.b,t.d=n.a}function tJt(t,e,n){var r,i,s;for(s=new R(n.a);s.a<s.c.c.length;)i=o(D(s),225),r=new tL(o(Ue(t.a,i.b),68)),St(e.a,r),tJt(t,r,i)}function aNe(t,e,n){var r,i,s;return r=o(tt(Ia(t.a),e),89),s=(i=r.c,i||(ae(),Kh)),(s.Vh()?dg(t.b,o(s,54)):s)==n?sO(r):$k(r,n),s}function Dct(t,e,n){e.b=p.Math.max(e.b,-n.a),e.c=p.Math.max(e.c,n.a-t.a),e.d=p.Math.max(e.d,-n.b),e.a=p.Math.max(e.a,n.b-t.b)}function $ct(t,e,n){this.c=t,this.f=new Tt,this.e=new ns,this.j=new Rrt,this.n=new Rrt,this.b=e,this.g=new Bl(e.c,e.d,e.b,e.a),this.a=n}function KH(t){var e,n,r,i;for(this.a=new Vh,this.d=new yi,this.e=0,n=t,r=0,i=n.length;r<i;++r)e=n[r],!this.f&&(this.f=e),hq(this,e)}function eJt(t){of(),t.length==0?(this.e=0,this.d=1,this.a=W(K(vn,1),Wn,28,15,[0])):(this.e=1,this.d=t.length,this.a=t,g5(this))}function q5(t,e,n){iIt.call(this),this.a=at(Yle,fht,217,(ih(),W(K(i2,1),bt,237,0,[zo,Lc,Wo])).length,0,1),this.b=t,this.d=e,this.c=n}function lNe(t){var e,n,r,i,s,l;for(l=o(F(t,(yt(),br)),12),gt(l,v4,t.i.n.b),e=ef(t.e),r=e,i=0,s=r.length;i<s;++i)n=r[i],ts(n,l)}function uNe(t){var e,n,r,i,s,l;for(n=o(F(t,(yt(),br)),12),gt(n,v4,t.i.n.b),e=ef(t.g),i=e,s=0,l=i.length;s<l;++s)r=i[s],xs(r,n)}function hNe(t,e){iq();var n,r;for(r=new Ge(Ve(Ed(t).a.Kc(),new P));bn(r);)if(n=o(nn(r),18),n.d.i==e||n.c.i==e)return n;return null}function nJt(t,e){var n,r;return n=e.qi(t.a),n&&(r=On(sh((!n.b&&(n.b=new Xa((ae(),$s),Go,n)),n.b),er)),r!=null)?r:e.xe()}function fNe(t,e){var n,r;return n=e.qi(t.a),n&&(r=On(sh((!n.b&&(n.b=new Xa((ae(),$s),Go,n)),n.b),er)),r!=null)?r:e.xe()}function dNe(t,e){var n,r;return n=ec(t.a.c.p,e.a.c.p),n!=0?n:(r=ec(t.a.d.i.p,e.a.d.i.p),r!=0?r:ec(e.a.d.p,t.a.d.p))}function gNe(t,e){var n,r,i,s;for(r=0,i=e.gc();r<i;++r)n=e.Tl(r),Q(n,102)&&(o(n,19).Bb&Jo)!=0&&(s=e.Ul(r),s!=null&&tz(t,o(s,58)))}function rJt(t,e){var n,r,i;if(St(RI,t),e.Fc(t),n=o(Ue(HG,t),21),n)for(i=n.Kc();i.Ob();)r=o(i.Pb(),27),po(RI,r,0)!=-1||rJt(r,e)}function bNe(t,e,n){var r,i;SK(t.e,e,n,(At(),De)),SK(t.i,e,n,qe),t.a&&(i=o(F(e,(yt(),br)),12),r=o(F(n,br),12),uq(t.g,i,r))}function iJt(t,e,n){var r,i,s;r=e.c.p,s=e.p,t.b[r][s]=new JHt(t,e),n&&(t.a[r][s]=new qFt(e),i=o(F(e,(yt(),Fw)),10),i&&ie(t.d,i,e))}function wNe(t,e,n){var r,i,s,l;return s=e.j,l=n.j,s!=l?s.g-l.g:(r=t.f[e.p],i=t.f[n.p],r==0&&i==0?0:r==0?-1:i==0?1:Tr(r,i))}function pNe(){var t;return EI!=0&&(t=Date.now(),t-gle>2e3&&(gle=t,BI=p.setTimeout(eSe,10))),EI++==0?(pPe((qtt(),R1t)),!0):!1}function mNe(t,e,n){var r;(jle?(kRe(t),!0):Dle||Rle?(uk(),!0):$le&&(uk(),!1))&&(r=new wNt(e),r.b=n,Eze(t,r))}function zH(t,e){var n;n=!t.A.Hc((Qa(),cb))||t.q==(es(),xc),t.u.Hc((xa(),Rd))?n?cen(t,e):Xre(t,e):t.u.Hc(Hg)&&(n?Btn(t,e):lie(t,e))}function sJt(t){var e;it(wt(t,(Vn(),Ty)))===it((Td(),Bj))&&(Hr(t)?(e=o(wt(Hr(t),Ty),346),pr(t,Ty,e)):pr(t,Ty,HT))}function yNe(t){var e,n;return Or(t.d.i,(Ft(),C4))?(e=o(F(t.c.i,C4),17),n=o(F(t.d.i,C4),17),ec(e.a,n.a)>0):!1}function oJt(t,e,n){return new Bl(p.Math.min(t.a,e.a)-n/2,p.Math.min(t.b,e.b)-n/2,p.Math.abs(t.a-e.a)+n,p.Math.abs(t.b-e.b)+n)}function cJt(t){var e;this.d=new Tt,this.j=new ns,this.g=new ns,e=t.g.b,this.f=o(F(fs(e),(Ft(),bl)),88),this.e=nt(ct(k_(e,y2)))}function aJt(t){this.d=new Tt,this.e=new c1,this.c=at(vn,Wn,28,(At(),W(K(Ds,1),ic,64,0,[Do,Ie,qe,un,De])).length,15,1),this.b=t}function Rct(t,e,n){var r;switch(r=n[t.g][e],t.g){case 1:case 3:return new mt(0,r);case 2:case 4:return new mt(r,0);default:return null}}function lJt(t,e,n){var r,i;i=o(p9(e.f),205);try{i.rf(t,n),gHt(e.f,i)}catch(s){throw s=Ur(s),Q(s,103)?(r=s,N(r)):N(s)}}function uJt(t,e,n){var r,i,s,l,u,f;return r=null,u=Lut(zk(),e),s=null,u&&(i=null,f=Aut(u,n),l=null,f!=null&&(l=t.qf(u,f)),i=l,s=i),r=s,r}function WH(t,e,n,r){var i;if(i=t.length,e>=i)return i;for(e=e>0?e:0;e<i&&!lH((Oe(e,t.length),t.charCodeAt(e)),n,r);e++);return e}function Bh(t,e){var n,r;for(r=t.c.length,e.length<r&&(e=uM(new Array(r),e)),n=0;n<r;++n)ei(e,n,t.c[n]);return e.length>r&&ei(e,r,null),e}function hJt(t,e){var n,r;for(r=t.a.length,e.length<r&&(e=uM(new Array(r),e)),n=0;n<r;++n)ei(e,n,t.a[n]);return e.length>r&&ei(e,r,null),e}function gC(t,e){var n,r;if(++t.j,e!=null&&(n=(r=t.a.Cb,Q(r,99)?o(r,99).th():null),TUe(e,n))){jv(t.a,4,n);return}jv(t.a,4,o(e,129))}function vNe(t){var e;if(t==null)return null;if(e=SGe(pc(t,!0)),e==null)throw N(new z$("Invalid hexBinary value: '"+t+"'"));return e}function m_(t,e,n){var r;e.a.length>0&&(St(t.b,new _Nt(e.a,n)),r=e.a.length,0<r?e.a=Al(e.a,0,0):0>r&&(e.a+=I$t(at(Xl,lf,28,-r,15,1))))}function fJt(t,e,n){var r,i,s;if(!n[e.d])for(n[e.d]=!0,i=new R(km(e));i.a<i.c.c.length;)r=o(D(i),218),s=l_(r,e),fJt(t,s,n)}function m1(t,e,n){var r,i,s;return i=o(Ue(t.e,e),400),i?(s=Unt(i,n),j$t(t,i),s):(r=new krt(t,e,n),Qn(t.e,e,r),aKt(r),null)}function kNe(t,e,n,r){var i,s,l;return i=new vd(t.e,1,13,(l=e.c,l||(ae(),Kh)),(s=n.c,s||(ae(),Kh)),y1(t,e),!1),r?r.nj(i):r=i,r}function UH(){return bO(),W(K(xue,1),bt,164,0,[kue,vue,Cue,fue,hue,due,wue,bue,gue,yue,mue,pue,lue,aue,uue,oue,sue,cue,rue,nue,iue,PG])}function bC(t){switch(t.g){case 4:return new mt(0,-1);case 1:return new mt(1,0);case 2:return new mt(-1,0);default:return new mt(0,1)}}function GH(t){switch(t.g){case 1:return Ti(),Wl;case 4:return Ti(),ho;case 2:return Ti(),ko;case 3:return Ti(),Rh}return Ti(),Nh}function CNe(t){var e;switch(e=t.hj(null),e){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function oh(){oh=Y,me=new qS("PARENTS",0),$i=new qS("NODES",1),Cf=new qS("EDGES",2),nb=new qS("PORTS",3),O1=new qS("LABELS",4)}function xNe(t,e,n){var r;switch(r=n.q.getFullYear()-Cg+Cg,r<0&&(r=-r),e){case 1:t.a+=r;break;case 2:jf(t,r%100,2);break;default:jf(t,r,e)}}function gn(t,e){var n,r;if(Cp(e,t.b),e>=t.b>>1)for(r=t.c,n=t.b;n>e;--n)r=r.b;else for(r=t.a.a,n=0;n<e;++n)r=r.a;return new bNt(t,e,r)}function y_(){y_=Y,FG=new yet("NUM_OF_EXTERNAL_SIDES_THAN_NUM_OF_EXTENSIONS_LAST",0),ggt=new yet("CORNER_CASES_THAN_SINGLE_SIDE_LAST",1)}function dJt(t){this.b=new Tt,this.e=new Tt,this.d=t,this.a=!ok(fr(new ee(null,new Nb(new Ch(t.b))),new J3(new x8t))).Bd((l0(),a3))}function gJt(t,e){var n,r,i,s;for(n=0,i=new R(e.a);i.a<i.c.c.length;)r=o(D(i),10),s=r.o.a+r.d.c+r.d.b+t.j,n=p.Math.max(n,s);return n}function bJt(t,e){var n,r,i;i=e.d.i,r=i.k,!(r==(je(),ui)||r==Ph)&&(n=new Ge(Ve(di(i).a.Kc(),new P)),bn(n)&&Qn(t.k,e,o(nn(n),18)))}function TNe(t,e){return Cd(),Tr((t.a.b==0?new mt(t.c.e.a,t.c.e.b):o(bk(t.a),8)).b,(e.a.b==0?new mt(e.c.e.a,e.c.e.b):o(bk(e.a),8)).b)}function SNe(t,e){return Cd(),Tr((t.a.b==0?new mt(t.c.e.a,t.c.e.b):o(bk(t.a),8)).a,(e.a.b==0?new mt(e.c.e.a,e.c.e.b):o(bk(e.a),8)).a)}function ENe(t,e){return Cd(),Tr((t.a.b==0?new mt(t.b.e.a,t.b.e.b):o(Cu(t.a),8)).a,(e.a.b==0?new mt(e.b.e.a,e.b.e.b):o(Cu(e.a),8)).a)}function BNe(t,e){return Cd(),Tr((t.a.b==0?new mt(t.b.e.a,t.b.e.b):o(Cu(t.a),8)).b,(e.a.b==0?new mt(e.b.e.a,e.b.e.b):o(Cu(e.a),8)).b)}function xm(){xm=Y,Ng=new KS("DISTRIBUTED",0),TB=new KS("JUSTIFIED",1),Kyt=new KS("BEGIN",2),KT=new KS(qC,3),zyt=new KS("END",4)}function XH(t,e){var n,r,i;return r=pe(t.Dh(),e),n=e-t.ji(),n<0?(i=t.Ih(r),i>=0?t.Wh(i):IK(t,r)):n<0?IK(t,r):o(r,69).wk().Bk(t,t.hi(),n)}function wJt(t){var e,n,r;for(r=(!t.o&&(t.o=new aa((rc(),ed),j1,t,0)),t.o),n=r.c.Kc();n.e!=n.i.gc();)e=o(n.Yj(),44),e.md();return M9(r)}function Lt(t){var e;if(Q(t.a,4)){if(e=jct(t.a),e==null)throw N(new io($oe+t.b+"'. "+Doe+(dd(IB),IB.k)+Wdt));return e}else return t.a}function ANe(t,e){var n,r;if(t.j.length!=e.j.length)return!1;for(n=0,r=t.j.length;n<r;n++)if(!ne(t.j[n],e.j[n]))return!1;return!0}function Ye(t){var e;try{return e=t.i.Xb(t.e),t.Xj(),t.g=t.e++,e}catch(n){throw n=Ur(n),Q(n,77)?(t.Xj(),N(new Mo)):N(n)}}function VH(t){var e;try{return e=t.c.Vi(t.e),t.Xj(),t.g=t.e++,e}catch(n){throw n=Ur(n),Q(n,77)?(t.Xj(),N(new Mo)):N(n)}}function v_(t){var e,n,r,i;for(i=0,n=0,r=t.length;n<r;n++)e=(Oe(n,t.length),t.charCodeAt(n)),e>=64&&e<128&&(i=th(i,Su(1,e-64)));return i}function k_(t,e){var n,r;return r=null,Or(t,(Vn(),T3))&&(n=o(F(t,T3),96),n.pf(e)&&(r=n.of(e))),r==null&&fs(t)&&(r=F(fs(t),e)),r}function MNe(t,e){var n;return n=o(F(t,(Ft(),uo)),75),WR(e,Dhe)?n?nl(n):(n=new ra,gt(t,uo,n)):n&>(t,uo,null),n}function H5(){H5=Y,Kgt=(Vn(),vyt),NG=tyt,jue=ky,Hgt=I1,Nue=(O_(),kgt),Rue=ygt,que=xgt,$ue=mgt,Due=(kH(),Rgt),RG=Oue,qgt=Iue,$I=Pue}function C_(t){switch(het(),this.c=new Tt,this.d=t,t.g){case 0:case 2:this.a=vit(a0t),this.b=Kr;break;case 3:case 1:this.a=a0t,this.b=Li}}function LNe(t){var e;fv(o(F(t,(Ft(),oi)),101))&&(e=t.b,ite((ue(0,e.c.length),o(e.c[0],30))),ite(o(Pt(e,e.c.length-1),30)))}function FNe(t,e){e.Ug("Self-Loop post-processing",1),ci(fr(fr(Oo(new ee(null,new se(t.b,16)),new fTt),new dTt),new gTt),new bTt),e.Vg()}function pJt(t,e,n){var r,i;if(t.c)Dc(t.c,t.c.i+e),$c(t.c,t.c.j+n);else for(i=new R(t.b);i.a<i.c.c.length;)r=o(D(i),163),pJt(r,e,n)}function _Ne(t){var e;if(t==null)return null;if(e=pen(pc(t,!0)),e==null)throw N(new z$("Invalid base64Binary value: '"+t+"'"));return e}function $l(t,e){var n;n=t.fd(e);try{return n.Pb()}catch(r){throw r=Ur(r),Q(r,112)?N(new ro("Can't get element "+e)):N(r)}}function mJt(t,e){var n,r,i;for(n=t.o,i=o(o(gr(t.r,e),21),87).Kc();i.Ob();)r=o(i.Pb(),117),r.e.a=Pqe(r,n.a),r.e.b=n.b*nt(ct(r.b.of(PI)))}function ONe(t,e){var n,r,i;for(i=new Ec(e.gc()),r=e.Kc();r.Ob();)n=o(r.Pb(),293),n.c==n.f?kC(t,n,n.c):nWe(t,n)||ke(i.c,n);return i}function yJt(t){var e;return e=new V1,e.a+="n",t.k!=(je(),ui)&&Kn(Kn((e.a+="(",e),QR(t.k).toLowerCase()),")"),Kn((e.a+="_",e),g7(t)),e.a}function INe(t,e){var n,r,i,s;return i=t.k,n=nt(ct(F(t,(yt(),_w)))),s=e.k,r=nt(ct(F(e,_w))),s!=(je(),bi)?-1:i!=bi?1:n==r?0:n<r?-1:1}function PNe(t,e){var n,r;return n=o(o(Ue(t.g,e.a),42).a,68),r=o(o(Ue(t.g,e.b),42).a,68),ag(e.a,e.b)-ag(e.a,unt(n.b))-ag(e.b,unt(r.b))}function vJt(t,e){var n;switch(n=o(Zs(t.b,e),127).n,e.g){case 1:t.t>=0&&(n.d=t.t);break;case 3:t.t>=0&&(n.a=t.t)}t.C&&(n.b=t.C.b,n.c=t.C.c)}function K5(){K5=Y,hpt=new jS(edt,0),uV=new jS(_W,1),hV=new jS("LINEAR_SEGMENTS",2),bT=new jS("BRANDES_KOEPF",3),wT=new jS(foe,4)}function z5(){z5=Y,_E=new FM(CO,0),jI=new FM(fW,1),DI=new FM(dW,2),OE=new FM(gW,3),_E.a=!1,jI.a=!0,DI.a=!1,OE.a=!0}function Dv(){Dv=Y,ME=new LM(CO,0),AE=new LM(fW,1),LE=new LM(dW,2),FE=new LM(gW,3),ME.a=!1,AE.a=!0,LE.a=!1,FE.a=!0}function $v(t,e,n,r){var i;return n>=0?t.Sh(e,n,r):(t.Ph()&&(r=(i=t.Fh(),i>=0?t.Ah(r):t.Ph().Th(t,-1-i,null,r))),t.Ch(e,n,r))}function Nct(t,e){switch(e){case 7:!t.e&&(t.e=new ge(fi,t,7,4)),pn(t.e);return;case 8:!t.d&&(t.d=new ge(fi,t,8,5)),pn(t.d);return}Bct(t,e)}function pr(t,e,n){return n==null?(!t.o&&(t.o=new aa((rc(),ed),j1,t,0)),b_(t.o,e)):(!t.o&&(t.o=new aa((rc(),ed),j1,t,0)),p7(t.o,e,n)),t}function kJt(t,e){le();var n,r,i,s;for(n=t,s=e,Q(t,21)&&!Q(e,21)&&(n=e,s=t),i=n.Kc();i.Ob();)if(r=i.Pb(),s.Hc(r))return!1;return!0}function jNe(t,e,n,r){if(e.a<r.a)return!0;if(e.a==r.a){if(e.b<r.b)return!0;if(e.b==r.b&&t.b>n.b)return!0}return!1}function YH(t,e){return Ji(t)?!!cle[e]:t.Sm?!!t.Sm[e]:hp(t)?!!ole[e]:up(t)?!!sle[e]:!1}function DNe(t){var e;e=t.a;do e=o(nn(new Ge(Ve(zi(e).a.Kc(),new P))),18).c.i,e.k==(je(),Xi)&&t.b.Fc(e);while(e.k==(je(),Xi));t.b=jl(t.b)}function CJt(t,e){var n,r,i;for(i=t,r=new Ge(Ve(zi(e).a.Kc(),new P));bn(r);)n=o(nn(r),18),n.c.i.c&&(i=p.Math.max(i,n.c.i.c.p));return i}function $Ne(t,e){var n,r,i;for(i=0,r=o(o(gr(t.r,e),21),87).Kc();r.Ob();)n=o(r.Pb(),117),i+=n.d.d+n.b.Mf().b+n.d.a,r.Ob()&&(i+=t.w);return i}function RNe(t,e){var n,r,i;for(i=0,r=o(o(gr(t.r,e),21),87).Kc();r.Ob();)n=o(r.Pb(),117),i+=n.d.b+n.b.Mf().a+n.d.c,r.Ob()&&(i+=t.w);return i}function xJt(t){var e,n,r,i;if(r=0,i=Hp(t),i.c.length==0)return 1;for(n=new R(i);n.a<n.c.c.length;)e=o(D(n),27),r+=xJt(e);return r}function NNe(t){var e,n,r;for(r=t.c.a,t.p=(Ln(r),new ma(r)),n=new R(r);n.a<n.c.c.length;)e=o(D(n),10),e.p=xWe(e).a;le(),gi(t.p,new Q8t)}function qNe(t,e,n){var r,i,s,l;return r=t.dd(e),r!=-1&&(t.Pj()?(s=t.Qj(),l=xL(t,r),i=t.Ij(4,l,null,r,s),n?n.nj(i):n=i):xL(t,r)),n}function Ls(t,e,n){var r,i,s,l;return r=t.dd(e),r!=-1&&(t.Pj()?(s=t.Qj(),l=Rv(t,r),i=t.Ij(4,l,null,r,s),n?n.nj(i):n=i):Rv(t,r)),n}function HNe(t,e,n,r){var i,s,l;n.Xh(e)&&(qs(),jq(e)?(i=o(n.Mh(e),160),gNe(t,i)):(s=(l=e,l?o(r,54).gi(l):null),s&&zTe(n.Mh(e),s)))}function x_(t,e,n,r){var i,s,l;return s=pe(t.Dh(),e),i=e-t.ji(),i<0?(l=t.Ih(s),l>=0?t.Lh(l,n,!0):hw(t,s,n)):o(s,69).wk().yk(t,t.hi(),i,n,r)}function KNe(t,e,n,r){var i,s;s=e.pf((Vn(),Sy))?o(e.of(Sy),21):t.j,i=B$e(s),i!=(bO(),PG)&&(n&&!Oct(i)||Wat(EGe(t,i,r),e))}function zNe(t){switch(t.g){case 1:return rw(),BE;case 3:return rw(),EE;case 2:return rw(),DG;case 4:return rw(),jG;default:return null}}function WNe(t,e,n){if(t.e)switch(t.b){case 1:PLe(t.c,e,n);break;case 0:jLe(t.c,e,n)}else zzt(t.c,e,n);t.a[e.p][n.p]=t.c.i,t.a[n.p][e.p]=t.c.e}function TJt(t){var e,n;if(t==null)return null;for(n=at(Vf,vt,199,t.length,0,2),e=0;e<n.length;e++)n[e]=o(KOe(t[e],t[e].length),199);return n}function T_(t){var e;if(yH(t))return OL(t),t.ul()&&(e=Z5(t.e,t.b,t.c,t.a,t.j),t.j=e),t.g=t.a,++t.a,++t.c,t.i=0,t.j;throw N(new Mo)}function UNe(t,e){var n,r,i,s;return s=t.o,n=t.p,s<n?s*=s:n*=n,r=s+n,s=e.o,n=e.p,s<n?s*=s:n*=n,i=s+n,r<i?-1:r==i?0:1}function y1(t,e){var n,r,i;if(i=sQt(t,e),i>=0)return i;if(t.ol()){for(r=0;r<t.i;++r)if(n=t.pl(o(t.g[r],58)),it(n)===it(e))return r}return-1}function Tm(t,e,n){var r,i;if(i=t.gc(),e>=i)throw N(new wp(e,i));if(t.Si()&&(r=t.dd(n),r>=0&&r!=e))throw N(new _e(pE));return t.Xi(e,n)}function qct(t,e){if(this.a=o(Ln(t),253),this.b=o(Ln(e),253),t.Ed(e)>0||t==(D$(),hG)||e==($$(),fG))throw N(new _e("Invalid range: "+Gzt(t,e)))}function SJt(t){var e,n;for(this.b=new Tt,this.c=t,this.a=!1,n=new R(t.a);n.a<n.c.c.length;)e=o(D(n),10),this.a=this.a|e.k==(je(),ui)}function GNe(t,e){var n,r,i;for(n=Ob(new c0,t),i=new R(e);i.a<i.c.c.length;)r=o(D(i),125),Lu(vu(yu(ku(mu(new Yl,0),0),n),r));return n}function EJt(t,e,n){n.Ug("Compound graph preprocessor",1),t.a=new Gb,zre(t,e,null),NQe(t,e),hXe(t),gt(e,(yt(),_bt),t.a),t.a=null,ya(t.b),n.Vg()}function BJt(t,e,n){var r,i,s;for(i=new Ge(Ve((e?zi(t):di(t)).a.Kc(),new P));bn(i);)r=o(nn(i),18),s=e?r.c.i:r.d.i,s.k==(je(),oc)&&is(s,n)}function XNe(t,e){var n,r,i;for(e.Ug("Untreeify",1),n=o(F(t,(Er(),Qpt)),15),i=n.Kc();i.Ob();)r=o(i.Pb(),65),qn(r.b.d,r),qn(r.c.b,r);e.Vg()}function VNe(t){var e,n,r;for(r=o(gr(t.a,(Dp(),dP)),15).Kc();r.Ob();)n=o(r.Pb(),105),e=tat(n),xk(t,n,e[0],(ew(),Aw),0),xk(t,n,e[1],Mw,1)}function YNe(t){var e,n,r;for(r=o(gr(t.a,(Dp(),gP)),15).Kc();r.Ob();)n=o(r.Pb(),105),e=tat(n),xk(t,n,e[0],(ew(),Aw),0),xk(t,n,e[1],Mw,1)}function Pp(){Pp=Y,GP=new jM(df,0),aV=new jM("PORT_POSITION",1),gy=new jM("NODE_SIZE_WHERE_SPACE_PERMITS",2),dy=new jM("NODE_SIZE",3)}function S_(){S_=Y,YV=new MR("INTERACTIVE_NODE_REORDERER",0),QV=new MR("MIN_SIZE_PRE_PROCESSOR",1),JV=new MR("MIN_SIZE_POST_PROCESSOR",2)}function Df(){Df=Y,mY=new Dx("AUTOMATIC",0),fB=new Dx(Jv,1),dB=new Dx(Qv,2),Cj=new Dx("TOP",3),vj=new Dx(ght,4),kj=new Dx(qC,5)}function Hct(t,e,n,r){SC();var i,s;for(i=0,s=0;s<n;s++)i=Ts(Ss(qi(e[s],Gs),qi(r,Gs)),qi(Mn(i),Gs)),t[s]=Mn(i),i=rg(i,32);return Mn(i)}function Kct(t,e,n){var r,i;for(i=0,r=0;r<IG;r++)i=p.Math.max(i,xH(t.a[e.g][r],n));return e==(ih(),Lc)&&t.b&&(i=p.Math.max(i,t.b.b)),i}function E_(t,e){var n,r;if(Pnt(e>0),(e&-e)==e)return ji(e*ja(t,31)*4656612873077393e-25);do n=ja(t,31),r=n%e;while(n-r+(e-1)<0);return ji(r)}function JNe(t,e,n){switch(n.g){case 1:t.a=e.a/2,t.b=0;break;case 2:t.a=e.a,t.b=e.b/2;break;case 3:t.a=e.a/2,t.b=e.b;break;case 4:t.a=0,t.b=e.b/2}}function f7(t,e,n,r){var i,s;for(i=e;i<t.c.length;i++)if(s=(ue(i,t.c.length),o(t.c[i],12)),n.Mb(s))ke(r.c,s);else return i;return t.c.length}function JH(t){switch(t.g){case 0:return null;case 1:return new AXt;case 2:return new Ptt;default:throw N(new _e(bU+(t.f!=null?t.f:""+t.g)))}}function d7(t,e,n){var r,i;for(aDe(t,e-t.s,n-t.t),i=new R(t.n);i.a<i.c.c.length;)r=o(D(i),209),xTe(r,r.e+e-t.s),TTe(r,r.f+n-t.t);t.s=e,t.t=n}function QNe(t){var e,n,r,i,s;for(n=0,i=new R(t.a);i.a<i.c.c.length;)r=o(D(i),125),r.d=n++;return e=cze(t),s=null,e.c.length>1&&(s=GNe(t,e)),s}function AJt(t){var e;return e=nt(ct(wt(t,(Vn(),vB))))*p.Math.sqrt((!t.a&&(t.a=new dt(nr,t,10,11)),t.a).i),new mt(e,e/nt(ct(wt(t,Sj))))}function QH(t){var e;return t.f&&t.f.Vh()&&(e=o(t.f,54),t.f=o(dg(t,e),84),t.f!=e&&(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,9,8,e,t.f))),t.f}function ZH(t){var e;return t.i&&t.i.Vh()&&(e=o(t.i,54),t.i=o(dg(t,e),84),t.i!=e&&(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,9,7,e,t.i))),t.i}function Hs(t){var e;return t.b&&(t.b.Db&64)!=0&&(e=t.b,t.b=o(dg(t,e),19),t.b!=e&&(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,9,21,e,t.b))),t.b}function B_(t,e){var n,r,i;t.d==null?(++t.e,++t.f):(r=e.Bi(),vXe(t,t.f+1),i=(r&ar)%t.d.length,n=t.d[i],!n&&(n=t.d[i]=t.dk()),n.Fc(e),++t.f)}function zct(t,e,n){var r;return e.tk()?!1:e.Ik()!=-2?(r=e.ik(),r==null?n==null:hr(r,n)):e.qk()==t.e.Dh()&&n==null}function A_(){var t;cl(16,Rie),t=fXt(16),this.b=at(gG,G7,303,t,0,1),this.c=at(gG,G7,303,t,0,1),this.a=null,this.e=null,this.i=0,this.f=t-1,this.g=0}function Ad(t){Ynt.call(this),this.k=(je(),ui),this.j=(cl(6,Xp),new Ec(6)),this.b=(cl(2,Xp),new Ec(2)),this.d=new _$,this.f=new Mtt,this.a=t}function ZNe(t){var e,n;t.c.length<=1||(e=_ee(t,(At(),un)),yZt(t,o(e.a,17).a,o(e.b,17).a),n=_ee(t,De),yZt(t,o(n.a,17).a,o(n.b,17).a))}function tqe(t,e,n){var r,i;for(i=t.a.b,r=i.c.length;r<n;r++)Db(i,i.c.length,new dc(t.a));is(e,(ue(n-1,i.c.length),o(i.c[n-1],30))),t.b[e.p]=n}function MJt(t,e){var n,r,i;for(t.b[e.g]=1,r=gn(e.d,0);r.b!=r.d.c;)n=o(fn(r),65),i=n.c,t.b[i.g]==1?qn(t.a,n):t.b[i.g]==2?t.b[i.g]=1:MJt(t,i)}function LJt(t,e,n,r){var i,s,l;for(i=o(gr(r?t.a:t.b,e),21),l=i.Kc();l.Ob();)if(s=o(l.Pb(),27),tO(t,n,s))return!0;return!1}function tK(t){var e,n;for(n=new Ke(t);n.e!=n.i.gc();)if(e=o(Ye(n),89),e.e||(!e.d&&(e.d=new ki(Js,e,1)),e.d).i!=0)return!0;return!1}function eK(t){var e,n;for(n=new Ke(t);n.e!=n.i.gc();)if(e=o(Ye(n),89),e.e||(!e.d&&(e.d=new ki(Js,e,1)),e.d).i!=0)return!0;return!1}function eqe(t){var e,n,r;for(e=0,r=new R(t.c.a);r.a<r.c.c.length;)n=o(D(r),10),e+=pd(new Ge(Ve(di(n).a.Kc(),new P)));return e/t.c.a.c.length}function nK(){nK=Y,_mt=(GK(),Amt),Fmt=new _b(8),new rs((Vn(),I1),Fmt),new rs(sb,8),gwe=Emt,Mmt=owe,Lmt=cwe,dwe=new rs(bB,(Te(),!1))}function nqe(t,e,n){var r;n.Ug("Shrinking tree compaction",1),It(_t(F(e,(Xk(),J6))))?(uje(t,e.f),eGt(e.f,(r=e.c,r))):eGt(e.f,e.c),n.Vg()}function Wct(t,e,n,r){switch(e){case 7:return!t.e&&(t.e=new ge(fi,t,7,4)),t.e;case 8:return!t.d&&(t.d=new ge(fi,t,8,5)),t.d}return gct(t,e,n,r)}function rK(t){var e;return t.a&&t.a.Vh()&&(e=o(t.a,54),t.a=o(dg(t,e),142),t.a!=e&&(t.Db&4)!=0&&(t.Db&1)==0&&ur(t,new Gi(t,9,5,e,t.a))),t.a}function L0(t){return t<48||t>102?-1:t<=57?t-48:t<65?-1:t<=70?t-65+10:t<97?-1:t-97+10}function iK(t,e){if(t==null)throw N(new Jy("null key in entry: null="+e));if(e==null)throw N(new Jy("null value in entry: "+t+"=null"))}function rqe(t,e){for(var n,r;t.Ob();)if(!e.Ob()||(n=t.Pb(),r=e.Pb(),!(it(n)===it(r)||n!=null&&hr(n,r))))return!1;return!e.Ob()}function FJt(t,e){var n;return n=W(K(Zi,1),eo,28,15,[xH(t.a[0],e),xH(t.a[1],e),xH(t.a[2],e)]),t.d&&(n[0]=p.Math.max(n[0],n[2]),n[2]=n[0]),n}function _Jt(t,e){var n;return n=W(K(Zi,1),eo,28,15,[n_(t.a[0],e),n_(t.a[1],e),n_(t.a[2],e)]),t.d&&(n[0]=p.Math.max(n[0],n[2]),n[2]=n[0]),n}function Uct(t,e,n){fv(o(F(e,(Ft(),oi)),101))||(ost(t,e,v1(e,n)),ost(t,e,v1(e,(At(),un))),ost(t,e,v1(e,Ie)),le(),gi(e.j,new $Ft(t)))}function OJt(t){var e,n;for(t.c||CZe(t),n=new ra,e=new R(t.a),D(e);e.a<e.c.c.length;)qn(n,o(D(e),418).a);return tn(n.b!=0),_l(n,n.c.b),n}function iqe(t,e,n){var r,i,s,l,u;for(u=t.r+e,t.r+=e,t.d+=n,r=n/t.n.c.length,i=0,l=new R(t.n);l.a<l.c.c.length;)s=o(D(l),209),pGe(s,u,r,i),++i}function sqe(t){var e,n,r;for(t.b.a.$b(),t.a=at(OI,ye,60,t.c.c.a.b.c.length,0,1),e=0,r=new R(t.c.c.a.b);r.a<r.c.c.length;)n=o(D(r),60),n.f=e++}function oqe(t){var e,n,r;for(t.b.a.$b(),t.a=at(VG,ye,86,t.c.a.a.b.c.length,0,1),e=0,r=new R(t.c.a.a.b);r.a<r.c.c.length;)n=o(D(r),86),n.i=e++}function IJt(t){var e;if(e=YDe(t),!bn(t))throw N(new ro("position (0) must be less than the number of elements that remained ("+e+")"));return nn(t)}function cqe(t,e){var n;return t.a||(n=at(Zi,eo,28,0,15,1),Y2(t.b.a,new TLt(n)),OOt(n,IGt(oe.prototype.Me,oe,[])),t.a=new hNt(n,t.d)),wF(t.a,e)}function PJt(t,e,n){var r;try{return Sm(t,e+t.j,n+t.k)}catch(i){throw i=Ur(i),Q(i,77)?(r=i,N(new ro(r.g+TO+e+Fs+n+")."))):N(i)}}function aqe(t,e,n){var r;try{return $Jt(t,e+t.j,n+t.k)}catch(i){throw i=Ur(i),Q(i,77)?(r=i,N(new ro(r.g+TO+e+Fs+n+")."))):N(i)}}function lqe(t,e,n){var r;try{return RJt(t,e+t.j,n+t.k)}catch(i){throw i=Ur(i),Q(i,77)?(r=i,N(new ro(r.g+TO+e+Fs+n+")."))):N(i)}}function jJt(t){switch(t.g){case 1:return At(),De;case 4:return At(),Ie;case 3:return At(),qe;case 2:return At(),un;default:return At(),Do}}function uqe(t,e,n){e.k==(je(),ui)&&n.k==Xi&&(t.d=BH(e,(At(),un)),t.b=BH(e,Ie)),n.k==ui&&e.k==Xi&&(t.d=BH(n,(At(),Ie)),t.b=BH(n,un))}function sK(t,e){var n,r,i;for(i=Po(t,e),r=i.Kc();r.Ob();)if(n=o(r.Pb(),12),F(n,(yt(),Ta))!=null||Yx(new Ch(n.b)))return!0;return!1}function hqe(t,e,n){n.Ug("Linear segments node placement",1),t.b=o(F(e,(yt(),ay)),312),Jen(t,e),BQe(t,e),zQe(t,e),Aen(t),t.a=null,t.b=null,n.Vg()}function Gct(t,e){return Dc(e,t.e+t.d+(t.c.c.length==0?0:t.b)),$c(e,t.f),t.a=p.Math.max(t.a,e.f),t.d+=e.g+(t.c.c.length==0?0:t.b),St(t.c,e),!0}function fqe(t,e,n){var r,i,s,l;for(l=0,r=n/t.a.c.length,s=new R(t.a);s.a<s.c.c.length;)i=o(D(s),172),d7(i,i.s,i.t+l*r),iqe(i,t.d-i.r+e,r),++l}function dqe(t,e){var n,r,i,s,l,u;for(i=e.length-1,l=0,u=0,r=0;r<=i;r++)s=e[r],n=Fze(i,r)*Vot(1-t,i-r)*Vot(t,r),l+=s.a*n,u+=s.b*n;return new mt(l,u)}function DJt(t,e){var n,r,i,s,l;for(n=e.gc(),t._i(t.i+n),s=e.Kc(),l=t.i,t.i+=n,r=l;r<t.i;++r)i=s.Pb(),Xx(t,r,t.Zi(r,i)),t.Mi(r,i),t.Ni();return n!=0}function gqe(t,e,n){var r,i,s;return t.Pj()?(r=t.Ej(),s=t.Qj(),++t.j,t.qj(r,t.Zi(r,e)),i=t.Ij(3,null,e,r,s),n?n.nj(i):n=i):IRt(t,t.Ej(),e),n}function bqe(t,e,n){var r,i,s;return r=o(tt(ac(t.a),e),89),s=(i=r.c,Q(i,90)?o(i,29):(ae(),bu)),((s.Db&64)!=0?dg(t.b,s):s)==n?sO(r):$k(r,n),s}function wqe(t){var e;return t==null?null:new eg((e=pc(t,!0),e.length>0&&(Oe(0,e.length),e.charCodeAt(0)==43)?(Oe(1,e.length+1),e.substr(1)):e))}function pqe(t){var e;return t==null?null:new eg((e=pc(t,!0),e.length>0&&(Oe(0,e.length),e.charCodeAt(0)==43)?(Oe(1,e.length+1),e.substr(1)):e))}function Xct(t,e,n,r,i,s,l,u){var f,g;r&&(f=r.a[0],f&&Xct(t,e,n,f,i,s,l,u),dK(t,n,r.d,i,s,l,u)&&e.Fc(r),g=r.a[1],g&&Xct(t,e,n,g,i,s,l,u))}function Sm(t,e,n){try{return Lb(Xq(t,e,n),1)}catch(r){throw r=Ur(r),Q(r,333)?N(new ro(bW+t.o+"*"+t.p+wW+e+Fs+n+pW)):N(r)}}function $Jt(t,e,n){try{return Lb(Xq(t,e,n),0)}catch(r){throw r=Ur(r),Q(r,333)?N(new ro(bW+t.o+"*"+t.p+wW+e+Fs+n+pW)):N(r)}}function RJt(t,e,n){try{return Lb(Xq(t,e,n),2)}catch(r){throw r=Ur(r),Q(r,333)?N(new ro(bW+t.o+"*"+t.p+wW+e+Fs+n+pW)):N(r)}}function NJt(t,e){if(t.g==-1)throw N(new na);t.Xj();try{t.d.hd(t.g,e),t.f=t.d.j}catch(n){throw n=Ur(n),Q(n,77)?N(new xl):N(n)}}function mqe(t){var e,n,r,i,s;for(r=new R(t.b);r.a<r.c.c.length;)for(n=o(D(r),30),e=0,s=new R(n.a);s.a<s.c.c.length;)i=o(D(s),10),i.p=e++}function W5(t,e){var n,r,i,s;for(s=t.gc(),e.length<s&&(e=uM(new Array(s),e)),i=e,r=t.Kc(),n=0;n<s;++n)ei(i,n,r.Pb());return e.length>s&&ei(e,s,null),e}function yqe(t,e){var n,r;if(r=t.gc(),e==null){for(n=0;n<r;n++)if(t.Xb(n)==null)return n}else for(n=0;n<r;n++)if(hr(e,t.Xb(n)))return n;return-1}function oK(t,e){var n,r,i;return n=e.ld(),i=e.md(),r=t.xc(n),!(!(it(i)===it(r)||i!=null&&hr(i,r))||r==null&&!t._b(n))}function vqe(t,e){var n,r,i;return e<=22?(n=t.l&(1<<e)-1,r=i=0):e<=44?(n=t.l,r=t.m&(1<<e-22)-1,i=0):(n=t.l,r=t.m,i=t.h&(1<<e-44)-1),Ic(n,r,i)}function kqe(t,e){switch(e.g){case 1:return t.f.n.d+t.t;case 3:return t.f.n.a+t.t;case 2:return t.f.n.c+t.s;case 4:return t.f.n.b+t.s;default:return 0}}function Cqe(t,e){var n,r;switch(r=e.c,n=e.a,t.b.g){case 0:n.d=t.e-r.a-r.d;break;case 1:n.d+=t.e;break;case 2:n.c=t.e-r.a-r.d;break;case 3:n.c=t.e+r.d}}function Vct(t,e,n,r){var i,s;this.a=e,this.c=r,i=t.a,oTe(this,new mt(-i.c,-i.d)),lr(this.b,n),s=r/2,e.a?Jx(this.b,0,s):Jx(this.b,s,0),St(t.c,this)}function qJt(t,e,n,r){var i;this.c=t,this.d=e,i=new $r,ni(i,n,i.c.b,i.c),this.a=i,this.b=o(F(r,(qo(),Hw)),88),this.e=nt(ct(F(r,u2t))),Bie(this)}function M_(){M_=Y,GV=new NM(df,0),I2t=new NM(Zse,1),P2t=new NM("EDGE_LENGTH_BY_POSITION",2),O2t=new NM("CROSSING_MINIMIZATION_BY_POSITION",3)}function cK(t,e){var n,r;if(n=o(mm(t.g,e),27),n)return n;if(r=o(mm(t.j,e),123),r)return r;throw N(new Uh("Referenced shape does not exist: "+e))}function Yct(t,e){var n,r;if(Q(e,253)){r=o(e,253);try{return n=t.Ed(r),n==0}catch(i){if(i=Ur(i),Q(i,212))return!1;throw N(i)}}return!1}function xqe(t,e){if(t.c==e)return t.d;if(t.d==e)return t.c;throw N(new _e("Node 'one' must be either source or target of edge 'edge'."))}function Tqe(t,e){if(t.c.i==e)return t.d.i;if(t.d.i==e)return t.c.i;throw N(new _e("Node "+e+" is neither source nor target of edge "+t))}function Sqe(t,e,n){n.Ug("Self-Loop ordering",1),ci(bo(fr(fr(Oo(new ee(null,new se(e.b,16)),new cTt),new aTt),new lTt),new uTt),new uFt(t)),n.Vg()}function Eqe(t,e){var n;switch(e.g){case 2:case 4:n=t.a,t.c.d.n.b<n.d.n.b&&(n=t.c),i1(t,e,(Eh(),aX),n);break;case 1:case 3:i1(t,e,(Eh(),h3),null)}}function aK(t,e,n,r,i,s){var l,u,f,g,b;for(l=EHe(e,n,s),u=n==(At(),Ie)||n==De?-1:1,g=t[n.g],b=0;b<g.length;b++)f=g[b],f>0&&(f+=i),g[b]=l,l+=u*(f+r)}function HJt(t){var e,n,r;for(r=t.f,t.n=at(Zi,eo,28,r,15,1),t.d=at(Zi,eo,28,r,15,1),e=0;e<r;e++)n=o(Pt(t.c.b,e),30),t.n[e]=gJt(t,n),t.d[e]=see(t,n)}function lK(t,e){var n,r,i;for(i=0,r=2;r<e;r<<=1)(t.Db&r)!=0&&++i;if(i==0){for(n=e<<=1;n<=128;n<<=1)if((t.Db&n)!=0)return 0;return-1}else return i}function KJt(t,e){var n,r,i,s,l;for(l=Nc(t.e.Dh(),e),s=null,n=o(t.g,124),i=0;i<t.i;++i)r=n[i],l.am(r.Lk())&&(!s&&(s=new zA),mn(s,r));s&&uie(t,s)}function zJt(t){var e,n,r;if(!t)return null;if(t.dc())return"";for(r=new Qd,n=t.Kc();n.Ob();)e=n.Pb(),Qs(r,On(e)),r.a+=" ";return $R(r,r.a.length-1)}function WJt(t,e){var n=new Array(e),r;switch(t){case 14:case 15:r=0;break;case 16:r=!1;break;default:return n}for(var i=0;i<e;++i)n[i]=r;return n}function aw(t){var e,n,r;for(n=new R(t.a.b);n.a<n.c.c.length;)e=o(D(n),60),e.c.$b();fd(t.d)?r=t.a.c:r=t.a.d,jc(r,new PLt(t)),t.c.df(t),xee(t)}function UJt(t){var e,n,r,i;for(n=new R(t.e.c);n.a<n.c.c.length;){for(e=o(D(n),290),i=new R(e.b);i.a<i.c.c.length;)r=o(D(i),454),kut(r);ZZt(e)}}function L_(t){var e,n,r,i,s;for(r=0,s=0,i=0,n=new R(t.a);n.a<n.c.c.length;)e=o(D(n),172),s=p.Math.max(s,e.r),r+=e.d+(i>0?t.c:0),++i;t.b=r,t.d=s}function GJt(t,e){var n;return n=W(K(Zi,1),eo,28,15,[Kct(t,(ih(),zo),e),Kct(t,Lc,e),Kct(t,Wo,e)]),t.f&&(n[0]=p.Math.max(n[0],n[2]),n[2]=n[0]),n}function Bqe(t,e,n){var r;try{rO(t,e+t.j,n+t.k,!1,!0)}catch(i){throw i=Ur(i),Q(i,77)?(r=i,N(new ro(r.g+TO+e+Fs+n+")."))):N(i)}}function Aqe(t,e,n){var r;try{rO(t,e+t.j,n+t.k,!0,!1)}catch(i){throw i=Ur(i),Q(i,77)?(r=i,N(new ro(r.g+TO+e+Fs+n+")."))):N(i)}}function XJt(t){var e;Or(t,(Ft(),Pw))&&(e=o(F(t,Pw),21),e.Hc((qp(),$u))?(e.Mc($u),e.Fc(Ru)):e.Hc(Ru)&&(e.Mc(Ru),e.Fc($u)))}function VJt(t){var e;Or(t,(Ft(),Pw))&&(e=o(F(t,Pw),21),e.Hc((qp(),qu))?(e.Mc(qu),e.Fc(uu)):e.Hc(uu)&&(e.Mc(uu),e.Fc(qu)))}function uK(t,e,n,r){var i,s,l,u;return t.a==null&&Lze(t,e),l=e.b.j.c.length,s=n.d.p,u=r.d.p,i=u-1,i<0&&(i=l-1),s<=i?t.a[i]-t.a[s]:t.a[l-1]-t.a[s]+t.a[i]}function Mqe(t){var e,n;if(!t.b)for(t.b=oF(o(t.f,27).kh().i),n=new Ke(o(t.f,27).kh());n.e!=n.i.gc();)e=o(Ye(n),135),St(t.b,new q$(e));return t.b}function Lqe(t){var e,n;if(!t.e)for(t.e=oF(HN(o(t.f,27)).i),n=new Ke(HN(o(t.f,27)));n.e!=n.i.gc();)e=o(Ye(n),123),St(t.e,new H_t(e));return t.e}function YJt(t){var e,n;if(!t.a)for(t.a=oF(XL(o(t.f,27)).i),n=new Ke(XL(o(t.f,27)));n.e!=n.i.gc();)e=o(Ye(n),27),St(t.a,new VR(t,e));return t.a}function lw(t){var e;if(!t.C&&(t.D!=null||t.B!=null))if(e=ptn(t),e)t.hl(e);else try{t.hl(null)}catch(n){if(n=Ur(n),!Q(n,63))throw N(n)}return t.C}function Fqe(t){switch(t.q.g){case 5:vQt(t,(At(),Ie)),vQt(t,un);break;case 4:Cre(t,(At(),Ie)),Cre(t,un);break;default:SZt(t,(At(),Ie)),SZt(t,un)}}function _qe(t){switch(t.q.g){case 5:kQt(t,(At(),qe)),kQt(t,De);break;case 4:xre(t,(At(),qe)),xre(t,De);break;default:EZt(t,(At(),qe)),EZt(t,De)}}function Em(t,e){var n,r,i;for(i=new ns,r=t.Kc();r.Ob();)n=o(r.Pb(),36),EC(n,i.a,0),i.a+=n.f.a+e,i.b=p.Math.max(i.b,n.f.b);return i.b>0&&(i.b+=e),i}function F_(t,e){var n,r,i;for(i=new ns,r=t.Kc();r.Ob();)n=o(r.Pb(),36),EC(n,0,i.b),i.b+=n.f.b+e,i.a=p.Math.max(i.a,n.f.a);return i.a>0&&(i.a+=e),i}function JJt(t){var e,n,r;for(r=ar,n=new R(t.a);n.a<n.c.c.length;)e=o(D(n),10),Or(e,(yt(),Cr))&&(r=p.Math.min(r,o(F(e,Cr),17).a));return r}function QJt(t,e){var n,r;if(e.length==0)return 0;for(n=qN(t.a,e[0],(At(),De)),n+=qN(t.a,e[e.length-1],qe),r=0;r<e.length;r++)n+=bze(t,r,e);return n}function ZJt(){i6(),this.c=new Tt,this.i=new Tt,this.e=new Vh,this.f=new Vh,this.g=new Vh,this.j=new Tt,this.a=new Tt,this.b=new hn,this.k=new hn}function hK(t,e){var n,r;return t.Db>>16==6?t.Cb.Th(t,5,fh,e):(r=Hs(o(pe((n=o(Be(t,16),29),n||t.ii()),t.Db>>16),19)),t.Cb.Th(t,r.n,r.f,e))}function Oqe(t){Mk();var e=t.e;if(e&&e.stack){var n=e.stack,r=e+`
|
|
320
320
|
`;return n.substring(0,r.length)==r&&(n=n.substring(r.length)),n.split(`
|
|
@@ -339,8 +339,8 @@ ${k.join(`
|
|
|
339
339
|
`),s.length!=2)throw N(new _e("Exactly two numbers are expected, "+s.length+" were found."));try{this.a=$p(Rp(s[0])),this.b=$p(Rp(s[1]))}catch(l){throw l=Ur(l),Q(l,130)?(r=l,N(new _e(Rse+r))):N(l)}},a.Ib=function(){return"("+this.a+","+this.b+")"},a.a=0,a.b=0;var Wi=C(lE,"KVector",8);v(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},ra,fM,wRt),a.Pc=function(){return WDe(this)},a.cg=function(e){var n,r,i,s,l,u;i=Wp(e,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
|
|
340
340
|
`),nl(this);try{for(r=0,l=0,s=0,u=0;r<i.length;)i[r]!=null&&Rp(i[r]).length>0&&(l%2==0?s=$p(i[r]):u=$p(i[r]),l>0&&l%2!=0&&qn(this,new mt(s,u)),++l),++r}catch(f){throw f=Ur(f),Q(f,130)?(n=f,N(new _e("The given string does not match the expected format for vectors."+n))):N(f)}},a.Ib=function(){var e,n,r;for(e=new el("("),n=gn(this,0);n.b!=n.d.c;)r=o(fn(n),8),Kn(e,r.a+","+r.b),n.b!=n.d.c&&(e.a+="; ");return(e.a+=")",e).a};var Rmt=C(lE,"KVectorChain",75);v(255,22,{3:1,34:1,22:1,255:1},Dx);var mY,vj,kj,fB,dB,Cj,Nmt=dn(Na,"Alignment",255,yn,HIe,VBe),Swe;v(991,1,ru,BMt),a.hf=function(e){Sne(e)};var qmt,yY,Ewe,Hmt,Kmt,Bwe,zmt,Awe,Mwe,Wmt,Umt,Lwe;C(Na,"BoxLayouterOptions",991),v(992,1,{},Y7t),a.sf=function(){var e;return e=new Z7t,e},a.tf=function(e){},C(Na,"BoxLayouterOptions/BoxFactory",992),v(298,22,{3:1,34:1,22:1,298:1},$x);var PT,vY,jT,DT,$T,kY,CY=dn(Na,"ContentAlignment",298,yn,KIe,YBe),Fwe;v(699,1,ru,IZ),a.hf=function(e){Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,Noe),""),"Layout Algorithm"),"Select a specific layout algorithm."),(k1(),vy)),jt),Yt((oh(),me))))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,qoe),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),$h),znn),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Pft),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),Gmt),zr),Nmt),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,t3),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Cs),Bi),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,Xdt),""),"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."),$h),Rmt),Yt(Cf)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,UO),""),"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."),Vmt),C3),CY),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,dE),""),"Debug Mode"),"Whether additional debug information shall be generated."),(Te(),!1)),Ki),li),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,oU),""),bht),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),Ymt),zr),NT),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,fE),""),"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."),Zmt),zr),jY),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Udt),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),Ki),li),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,WO),""),"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`."),nyt),zr),Hyt),Ir(me,W(K(Jf,1),bt,170,0,[$i]))))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,mw),""),"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."),hyt),$h),f0t),Ir(me,W(K(Jf,1),bt,170,0,[$i]))))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,x6),""),"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),Ki),li),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,XO),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),Ki),li),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,T6),""),"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),Ki),li),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,EW),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),wyt),zr),Wyt),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,GO),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),$h),Wi),Ir($i,W(K(Jf,1),bt,170,0,[nb,O1]))))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,rE),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Bo),bs),Ir($i,W(K(Jf,1),bt,170,0,[Cf]))))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,BO),""),"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)."),Bo),bs),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,C6),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),Ki),li),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Uft),""),"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."),ryt),$h),Rmt),Yt(Cf)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Vft),""),"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),Ki),li),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Yft),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),Ki),li),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,pnn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),$h),Vnn),Ir(me,W(K(Jf,1),bt,170,0,[O1]))))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Qft),""),"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."),iyt),$h),h0t),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Oft),""),"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),Ki),li),Ir($i,W(K(Jf,1),bt,170,0,[Cf,nb,O1]))))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Hoe),""),"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),Cs),Bi),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,Koe),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),Cs),Bi),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,zoe),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),Cs),Bi),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,iE),""),Poe),"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),Ki),li),Yt(me)))),xi(e,iE,yw,null),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Woe),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),Ki),li),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Uoe),""),"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'."),Ct(100)),Bo),bs),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Goe),""),"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),Ki),li),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Xoe),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),Ct(4e3)),Bo),bs),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Voe),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),Ct(400)),Bo),bs),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Yoe),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),Ki),li),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Joe),""),"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),Ki),li),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Qoe),""),"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),Ki),li),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Zoe),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),Ki),li),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Gdt),"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."),Xmt),zr),evt),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Cft),Oh),"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),Cs),Bi),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,xft),Oh),"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),Cs),Bi),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,yW),Oh),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Cs),Bi),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Tft),Oh),"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),Cs),Bi),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,SW),Oh),"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),Cs),Bi),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,sU),Oh),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Cs),Bi),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Sft),Oh),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Cs),Bi),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Aft),Oh),"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),Cs),Bi),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Eft),Oh),"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),Cs),Bi),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Bft),Oh),"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),Cs),Bi),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Jp),Oh),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Cs),Bi),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Mft),Oh),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Cs),Bi),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Lft),Oh),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Cs),Bi),Ir(me,W(K(Jf,1),bt,170,0,[$i]))))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,Fft),Oh),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),$h),mpe),Ir($i,W(K(Jf,1),bt,170,0,[Cf,nb,O1]))))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Zft),Oh),"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."),Byt),$h),h0t),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,aU),nce),"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)."),Bo),bs),Ir(me,W(K(Jf,1),bt,170,0,[$i]))))),xi(e,aU,cU,Nwe),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,cU),nce),"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."),fyt),Ki),li),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,$ft),rce),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),oyt),$h),f0t),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,WC),rce),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),cyt),C3),Ys),Ir($i,W(K(Jf,1),bt,170,0,[O1]))))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,qft),iI),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),gyt),zr),zT),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,Hft),iI),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),zr),zT),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,Kft),iI),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),zr),zT),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,zft),iI),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),zr),zT),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,Wft),iI),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),zr),zT),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Km),LU),"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."),ayt),C3),GT),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,e3),LU),"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."),uyt),C3),Gyt),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,n3),LU),"Node Size Minimum"),"The minimal size to which a node can be reduced."),lyt),$h),Wi),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,zC),LU),"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),Ki),li),Yt(me)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Gft),iU),"Edge Label Placement"),"Gives a hint on where to put edge labels."),Jmt),zr),Lyt),Yt(O1)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,AO),iU),"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),Ki),li),Yt(O1)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,mnn),"font"),"Font Name"),"Font name used for a label."),vy),jt),Yt(O1)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,tce),"font"),"Font Size"),"Font size used for a label."),Bo),bs),Yt(O1)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,Jft),FU),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),$h),Wi),Yt(nb)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,Xft),FU),"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."),Bo),bs),Yt(nb)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Ift),FU),"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."),yyt),zr),Ds),Yt(nb)))),Ut(e,new $t(zt(Kt(Wt(Rt(Ht(Nt(qt(new Dt,_ft),FU),"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."),Cs),Bi),Yt(nb)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,UC),Jdt),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),pyt),C3),Aj),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Rft),Jdt),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),Ki),li),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Nft),Jdt),"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),Ki),li),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,sE),wE),"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),Cs),Bi),Yt(me)))),xi(e,sE,yw,Xwe),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Vdt),wE),"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),zr),Ij),Yt($i)))),xi(e,Vdt,yw,Vwe),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,oE),wE),"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),Cs),Bi),Ir(me,W(K(Jf,1),bt,170,0,[$i]))))),xi(e,oE,yw,null),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,cE),wE),"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),Cs),Bi),Ir(me,W(K(Jf,1),bt,170,0,[$i]))))),xi(e,cE,yw,null),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,yw),wE),"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),zr),Vyt),Yt($i)))),xi(e,yw,zC,null),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Ydt),wE),"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),Cs),Bi),Yt(me)))),xi(e,Ydt,yw,Gwe),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,jft),ice),"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),Ki),li),Yt($i)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,Dft),ice),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),Ki),li),Yt(Cf)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,vW),"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),Cs),Bi),Yt(Cf)))),Ut(e,new $t(zt(Kt(Wt(re(Rt(Ht(Nt(qt(new Dt,ece),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),eyt),zr),jyt),Yt(Cf)))),Bx(e,new xv(Cx(ik(rk(new zy,Ne),"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.'))),Bx(e,new xv(Cx(ik(rk(new zy,"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.`))),Bx(e,new xv(Cx(ik(rk(new zy,qc),"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."))),Bx(e,new xv(Cx(ik(rk(new zy,"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."))),Bx(e,new xv(Cx(ik(rk(new zy,voe),"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."))),Bx(e,new xv(Cx(ik(rk(new zy,"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."))),Bx(e,new xv(Cx(ik(rk(new zy,Nl),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),une((new AMt,e)),Sne((new BMt,e)),$ee((new MMt,e))};var O4,_we,Gmt,ky,Owe,Iwe,Xmt,Cy,xy,Pwe,gB,Vmt,bB,rb,Ymt,xY,TY,Jmt,Qmt,Zmt,tyt,eyt,jwe,Ty,nyt,Dwe,wB,SY,pB,EY,Kw,ryt,I4,iyt,syt,oyt,Sy,cyt,ib,ayt,T2,Ey,lyt,$g,uyt,xj,mB,I1,hyt,$we,fyt,Rwe,Nwe,dyt,gyt,BY,AY,MY,LY,byt,qa,RT,wyt,FY,_Y,S2,pyt,myt,By,yyt,x3,yB,OY,Ay,qwe,IY,Hwe,Kwe,vyt,zwe,kyt,Cyt,T3,xyt,Tj,Tyt,Syt,sb,Wwe,Eyt,Byt,Ayt,Sj,vB,P4,S3,Uwe,Gwe,Ej,Xwe,Myt,Vwe;C(Na,"CoreOptions",699),v(88,22,{3:1,34:1,22:1,88:1},HS);var Rh,ho,ko,Nh,Wl,NT=dn(Na,bht,88,yn,GOe,JBe),Ywe;v(278,22,{3:1,34:1,22:1,278:1},OR);var j4,E2,D4,Lyt=dn(Na,"EdgeLabelPlacement",278,yn,C_e,QBe),Jwe;v(223,22,{3:1,34:1,22:1,223:1},qM);var $4,kB,E3,PY,jY=dn(Na,"EdgeRouting",223,yn,COe,ZBe),Qwe;v(321,22,{3:1,34:1,22:1,321:1},Rx);var Fyt,_yt,Oyt,Iyt,DY,Pyt,jyt=dn(Na,"EdgeType",321,yn,qIe,tAe),Zwe;v(989,1,ru,AMt),a.hf=function(e){une(e)};var Dyt,$yt,Ryt,Nyt,tpe,qyt,qT;C(Na,"FixedLayouterOptions",989),v(990,1,{},J7t),a.sf=function(){var e;return e=new aEt,e},a.tf=function(e){},C(Na,"FixedLayouterOptions/FixedFactory",990),v(346,22,{3:1,34:1,22:1,346:1},IR);var P1,Bj,HT,Hyt=dn(Na,"HierarchyHandling",346,yn,v_e,eAe),epe;v(291,22,{3:1,34:1,22:1,291:1},HM);var Qf,Rg,CB,xB,npe=dn(Na,"LabelSide",291,yn,kOe,nAe),rpe;v(95,22,{3:1,34:1,22:1,95:1},Z2);var $d,$u,lu,Ru,wl,Nu,uu,Zf,qu,Ys=dn(Na,"NodeLabelPlacement",95,yn,HPe,rAe),ipe;v(256,22,{3:1,34:1,22:1,256:1},KS);var Kyt,KT,Ng,zyt,TB,zT=dn(Na,"PortAlignment",256,yn,aIe,iAe),spe;v(101,22,{3:1,34:1,22:1,101:1},Nx);var ob,xc,td,R4,qh,qg,Wyt=dn(Na,"PortConstraints",101,yn,NIe,sAe),ope;v(279,22,{3:1,34:1,22:1,279:1},qx);var WT,UT,Rd,SB,Hg,B3,Aj=dn(Na,"PortLabelPlacement",279,yn,RIe,oAe),cpe;v(64,22,{3:1,34:1,22:1,64:1},zS);var qe,Ie,Ul,Gl,Qc,zc,Hh,Hu,Ea,ga,Tc,Ba,Zc,ta,Ku,pl,ml,hu,un,Do,De,Ds=dn(Na,"PortSide",64,yn,XOe,cAe),ape;v(993,1,ru,MMt),a.hf=function(e){$ee(e)};var lpe,upe,Uyt,hpe,fpe;C(Na,"RandomLayouterOptions",993),v(994,1,{},Q7t),a.sf=function(){var e;return e=new sEt,e},a.tf=function(e){},C(Na,"RandomLayouterOptions/RandomFactory",994),v(386,22,{3:1,34:1,22:1,386:1},KM);var B2,EB,BB,cb,GT=dn(Na,"SizeConstraint",386,yn,vOe,aAe),dpe;v(264,22,{3:1,34:1,22:1,264:1},tm);var AB,Mj,N4,$Y,MB,XT,Lj,Fj,_j,Gyt=dn(Na,"SizeOptions",264,yn,tje,lAe),gpe;v(280,22,{3:1,34:1,22:1,280:1},PR);var A2,Xyt,Oj,Vyt=dn(Na,"TopdownNodeTypes",280,yn,x_e,uAe),bpe;v(347,22,Qdt);var Yyt,Jyt,Ij=dn(Na,"TopdownSizeApproximator",347,yn,mFe,fAe);v(987,347,Qdt,QNt),a.Tg=function(e){return AJt(e)},dn(Na,"TopdownSizeApproximator/1",987,Ij,null,null),v(988,347,Qdt,Dqt),a.Tg=function(e){var n,r,i,s,l,u,f,g,b,y,x,S,M,_,j,z,V,Z,et,ft,pt,Et,Jt,Xt,Ce;for(n=o(wt(e,(Vn(),Ay)),143),Et=(J1(),M=new wx,M),M7(Et,e),Jt=new hn,l=new Ke((!e.a&&(e.a=new dt(nr,e,10,11)),e.a));l.e!=l.i.gc();)i=o(Ye(l),27),Z=(S=new wx,S),V_(Z,Et),M7(Z,i),Ce=AJt(i),sm(Z,p.Math.max(i.g,Ce.a),p.Math.max(i.f,Ce.b)),Mc(Jt.f,i,Z);for(s=new Ke((!e.a&&(e.a=new dt(nr,e,10,11)),e.a));s.e!=s.i.gc();)for(i=o(Ye(s),27),y=new Ke((!i.e&&(i.e=new ge(fi,i,7,4)),i.e));y.e!=y.i.gc();)b=o(Ye(y),74),ft=o(go(zs(Jt.f,i)),27),pt=o(Ue(Jt,tt((!b.c&&(b.c=new ge(an,b,5,8)),b.c),0)),27),et=(x=new f$,x),mn((!et.b&&(et.b=new ge(an,et,4,7)),et.b),ft),mn((!et.c&&(et.c=new ge(an,et,5,8)),et.c),pt),X_(et,Hr(ft)),M7(et,b);j=o(p9(n.f),205);try{j.rf(Et,new hEt),gHt(n.f,j)}catch(xe){throw xe=Ur(xe),Q(xe,103)?(_=xe,N(_)):N(xe)}return xh(Et,xy)||xh(Et,Cy)||$ut(Et),g=nt(ct(wt(Et,xy))),f=nt(ct(wt(Et,Cy))),u=g/f,r=nt(ct(wt(Et,vB)))*p.Math.sqrt((!Et.a&&(Et.a=new dt(nr,Et,10,11)),Et.a).i),Xt=o(wt(Et,I1),107),V=Xt.b+Xt.c+1,z=Xt.d+Xt.a+1,new mt(p.Math.max(V,r),p.Math.max(z,r/u))},dn(Na,"TopdownSizeApproximator/2",988,Ij,null,null);var wpe;v(344,1,{871:1},Vy),a.Ug=function(e,n){return qQt(this,e,n)},a.Vg=function(){uZt(this)},a.Wg=function(){return this.q},a.Xg=function(){return this.f?YN(this.f):null},a.Yg=function(){return YN(this.a)},a.Zg=function(){return this.p},a.$g=function(){return!1},a._g=function(){return this.n},a.ah=function(){return this.p!=null&&!this.b},a.bh=function(e){var n;this.n&&(n=e,St(this.f,n))},a.dh=function(e,n){var r,i;this.n&&e&&$_e(this,(r=new Vqt,i=tz(r,e),ytn(r),i),(t_(),NY))},a.eh=function(e){var n;return this.b?null:(n=xPe(this,this.g),qn(this.a,n),n.i=this,this.d=e,n)},a.fh=function(e){e>0&&!this.b&&eot(this,e)},a.b=!1,a.c=0,a.d=-1,a.e=null,a.f=null,a.g=-1,a.j=!1,a.k=!1,a.n=!1,a.o=0,a.q=0,a.r=0,C(Ko,"BasicProgressMonitor",344),v(717,205,D0,Z7t),a.rf=function(e,n){Hne(e,n)},C(Ko,"BoxLayoutProvider",717),v(983,1,Dn,D_t),a.Ne=function(e,n){return yXe(this,o(e,27),o(n,27))},a.Fb=function(e){return this===e},a.Oe=function(){return new An(this)},a.a=!1,C(Ko,"BoxLayoutProvider/1",983),v(163,1,{163:1},FF,CRt),a.Ib=function(){return this.c?tut(this.c):pg(this.b)},C(Ko,"BoxLayoutProvider/Group",163),v(320,22,{3:1,34:1,22:1,320:1},zM);var Qyt,Zyt,tvt,RY,evt=dn(Ko,"BoxLayoutProvider/PackingMode",320,yn,xOe,dAe),ppe;v(984,1,Dn,tEt),a.Ne=function(e,n){return $Le(o(e,163),o(n,163))},a.Fb=function(e){return this===e},a.Oe=function(){return new An(this)},C(Ko,"BoxLayoutProvider/lambda$0$Type",984),v(985,1,Dn,eEt),a.Ne=function(e,n){return LLe(o(e,163),o(n,163))},a.Fb=function(e){return this===e},a.Oe=function(){return new An(this)},C(Ko,"BoxLayoutProvider/lambda$1$Type",985),v(986,1,Dn,nEt),a.Ne=function(e,n){return FLe(o(e,163),o(n,163))},a.Fb=function(e){return this===e},a.Oe=function(){return new An(this)},C(Ko,"BoxLayoutProvider/lambda$2$Type",986),v(1384,1,{845:1},rEt),a.Mg=function(e,n){return kM(),!Q(n,167)||xPt((_v(),o(e,167)),n)},C(Ko,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1384),v(1385,1,Xe,$_t),a.Cd=function(e){XDe(this.a,o(e,149))},C(Ko,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1385),v(1386,1,Xe,oEt),a.Cd=function(e){o(e,96),kM()},C(Ko,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1386),v(1390,1,Xe,R_t),a.Cd=function(e){wje(this.a,o(e,96))},C(Ko,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1390),v(1388,1,In,dDt),a.Mb=function(e){return MDe(this.a,this.b,o(e,149))},C(Ko,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1388),v(1387,1,In,gDt),a.Mb=function(e){return u7e(this.a,this.b,o(e,845))},C(Ko,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1387),v(1389,1,Xe,bDt),a.Cd=function(e){xMe(this.a,this.b,o(e,149))},C(Ko,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1389),v(947,1,{},cEt),a.Kb=function(e){return u$t(e)},a.Fb=function(e){return this===e},C(Ko,"ElkUtil/lambda$0$Type",947),v(948,1,Xe,wDt),a.Cd=function(e){CUe(this.a,this.b,o(e,74))},a.a=0,a.b=0,C(Ko,"ElkUtil/lambda$1$Type",948),v(949,1,Xe,pDt),a.Cd=function(e){d8e(this.a,this.b,o(e,166))},a.a=0,a.b=0,C(Ko,"ElkUtil/lambda$2$Type",949),v(950,1,Xe,mDt),a.Cd=function(e){a9e(this.a,this.b,o(e,135))},a.a=0,a.b=0,C(Ko,"ElkUtil/lambda$3$Type",950),v(951,1,Xe,N_t),a.Cd=function(e){zAe(this.a,o(e,377))},C(Ko,"ElkUtil/lambda$4$Type",951),v(325,1,{34:1,325:1},KTe),a.Fd=function(e){return D9e(this,o(e,242))},a.Fb=function(e){var n;return Q(e,325)?(n=o(e,325),this.a==n.a):!1},a.Hb=function(){return ji(this.a)},a.Ib=function(){return this.a+" (exclusive)"},a.a=0,C(Ko,"ExclusiveBounds/ExclusiveLowerBound",325),v(1119,205,D0,aEt),a.rf=function(e,n){var r,i,s,l,u,f,g,b,y,x,S,M,_,j,z,V,Z,et,ft,pt,Et,Jt,Xt;for(n.Ug("Fixed Layout",1),l=o(wt(e,(Vn(),Qmt)),223),x=0,S=0,Z=new Ke((!e.a&&(e.a=new dt(nr,e,10,11)),e.a));Z.e!=Z.i.gc();){for(z=o(Ye(Z),27),Xt=o(wt(z,(e_(),qT)),8),Xt&&(Tl(z,Xt.a,Xt.b),o(wt(z,$yt),181).Hc((Qa(),B2))&&(M=o(wt(z,Nyt),8),M.a>0&&M.b>0&&gw(z,M.a,M.b,!0,!0))),x=p.Math.max(x,z.i+z.g),S=p.Math.max(S,z.j+z.f),b=new Ke((!z.n&&(z.n=new dt(no,z,1,7)),z.n));b.e!=b.i.gc();)f=o(Ye(b),135),Xt=o(wt(f,qT),8),Xt&&Tl(f,Xt.a,Xt.b),x=p.Math.max(x,z.i+f.i+f.g),S=p.Math.max(S,z.j+f.j+f.f);for(pt=new Ke((!z.c&&(z.c=new dt(Aa,z,9,9)),z.c));pt.e!=pt.i.gc();)for(ft=o(Ye(pt),123),Xt=o(wt(ft,qT),8),Xt&&Tl(ft,Xt.a,Xt.b),Et=z.i+ft.i,Jt=z.j+ft.j,x=p.Math.max(x,Et+ft.g),S=p.Math.max(S,Jt+ft.f),g=new Ke((!ft.n&&(ft.n=new dt(no,ft,1,7)),ft.n));g.e!=g.i.gc();)f=o(Ye(g),135),Xt=o(wt(f,qT),8),Xt&&Tl(f,Xt.a,Xt.b),x=p.Math.max(x,Et+f.i+f.g),S=p.Math.max(S,Jt+f.j+f.f);for(s=new Ge(Ve(Md(z).a.Kc(),new P));bn(s);)r=o(nn(s),74),y=nie(r),x=p.Math.max(x,y.a),S=p.Math.max(S,y.b);for(i=new Ge(Ve(A7(z).a.Kc(),new P));bn(i);)r=o(nn(i),74),Hr($f(r))!=e&&(y=nie(r),x=p.Math.max(x,y.a),S=p.Math.max(S,y.b))}if(l==(Sd(),$4))for(V=new Ke((!e.a&&(e.a=new dt(nr,e,10,11)),e.a));V.e!=V.i.gc();)for(z=o(Ye(V),27),i=new Ge(Ve(Md(z).a.Kc(),new P));bn(i);)r=o(nn(i),74),u=TJe(r),u.b==0?pr(r,Kw,null):pr(r,Kw,u);It(_t(wt(e,(e_(),Ryt))))||(et=o(wt(e,tpe),107),j=x+et.b+et.c,_=S+et.d+et.a,gw(e,j,_,!0,!0)),n.Vg()},C(Ko,"FixedLayoutProvider",1119),v(385,137,{3:1,423:1,385:1,96:1,137:1},h$,tGt),a.cg=function(e){var n,r,i,s,l,u,f,g,b;if(e)try{for(g=Wp(e,";,;"),l=g,u=0,f=l.length;u<f;++u){if(s=l[u],r=Wp(s,"\\:"),i=Lut(zk(),r[0]),!i)throw N(new _e("Invalid option id: "+r[0]));if(b=Aut(i,r[1]),b==null)throw N(new _e("Invalid option value: "+r[1]));b==null?(!this.q&&(this.q=new hn),Bv(this.q,i)):(!this.q&&(this.q=new hn),Qn(this.q,i,b))}}catch(y){throw y=Ur(y),Q(y,103)?(n=y,N(new $Vt(n))):N(y)}},a.Ib=function(){var e;return e=On(xo(bo((this.q?this.q:(le(),le(),Gf)).vc().Oc(),new lEt),Sp(new ONt,new Xd,new Jr,new $o,W(K(lo,1),bt,108,0,[])))),e};var mpe=C(Ko,"IndividualSpacings",385);v(982,1,{},lEt),a.Kb=function(e){return RLe(o(e,44))},C(Ko,"IndividualSpacings/lambda$0$Type",982),v(718,1,{},gqt),a.c=0,C(Ko,"InstancePool",718),v(1835,1,{},uEt),C(Ko,"LoggedGraph",1835),v(415,22,{3:1,34:1,22:1,415:1},WM);var nvt,NY,rvt,ivt,ype=dn(Ko,"LoggedGraph/Type",415,yn,TOe,gAe),vpe;v(1063,1,{871:1},hEt),a.Ug=function(e,n){return!1},a.Vg=function(){},a.Wg=function(){return 0},a.Xg=function(){return null},a.Yg=function(){return null},a.Zg=function(){return null},a.$g=function(){return!1},a._g=function(){return!1},a.ah=function(){return!1},a.bh=function(e){},a.dh=function(e,n){},a.eh=function(e){return this},a.fh=function(e){},C(Ko,"NullElkProgressMonitor",1063),v(42,1,{20:1,42:1},Pi),a.Jc=function(e){ds(this,e)},a.Fb=function(e){var n,r,i;return Q(e,42)?(r=o(e,42),n=this.a==null?r.a==null:hr(this.a,r.a),i=this.b==null?r.b==null:hr(this.b,r.b),n&&i):!1},a.Hb=function(){var e,n,r,i,s,l;return r=this.a==null?0:Mr(this.a),e=r&Si,n=r&-65536,l=this.b==null?0:Mr(this.b),i=l&Si,s=l&-65536,e^s>>16&Si|n^i<<16},a.Kc=function(){return new q_t(this)},a.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+To(this.b)+")":this.b==null?"pair("+To(this.a)+",null)":"pair("+To(this.a)+","+To(this.b)+")"},C(Ko,"Pair",42),v(995,1,Qi,q_t),a.Nb=function(e){hs(this,e)},a.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},a.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 N(new Mo)},a.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),N(new na)},a.b=!1,a.c=!1,C(Ko,"Pair/1",995),v(455,1,{455:1},LHt),a.Fb=function(e){return Vo(this.a,o(e,455).a)&&Vo(this.c,o(e,455).c)&&Vo(this.d,o(e,455).d)&&Vo(this.b,o(e,455).b)},a.Hb=function(){return e7(W(K(Hi,1),ye,1,5,[this.a,this.c,this.d,this.b]))},a.Ib=function(){return"("+this.a+Fs+this.c+Fs+this.d+Fs+this.b+")"},C(Ko,"Quadruple",455),v(1108,205,D0,sEt),a.rf=function(e,n){var r,i,s,l,u;if(n.Ug("Random Layout",1),(!e.a&&(e.a=new dt(nr,e,10,11)),e.a).i==0){n.Vg();return}l=o(wt(e,(Mct(),hpe)),17),l&&l.a!=0?s=new uF(l.a):s=new DH,r=kS(ct(wt(e,lpe))),u=kS(ct(wt(e,fpe))),i=o(wt(e,upe),107),Htn(e,s,r,u,i),n.Vg()},C(Ko,"RandomLayoutProvider",1108),v(240,1,{240:1},hN),a.Fb=function(e){return Vo(this.a,o(e,240).a)&&Vo(this.b,o(e,240).b)&&Vo(this.c,o(e,240).c)},a.Hb=function(){return e7(W(K(Hi,1),ye,1,5,[this.a,this.b,this.c]))},a.Ib=function(){return"("+this.a+Fs+this.b+Fs+this.c+")"},C(Ko,"Triple",240);var kpe;v(562,1,{}),a.Lf=function(){return new mt(this.f.i,this.f.j)},a.of=function(e){return iKt(e,(Vn(),qa))?wt(this.f,Cpe):wt(this.f,e)},a.Mf=function(){return new mt(this.f.g,this.f.f)},a.Nf=function(){return this.g},a.pf=function(e){return xh(this.f,e)},a.Of=function(e){Dc(this.f,e.a),$c(this.f,e.b)},a.Pf=function(e){Zb(this.f,e.a),Qb(this.f,e.b)},a.Qf=function(e){this.g=e},a.g=0;var Cpe;C(O6,"ElkGraphAdapters/AbstractElkGraphElementAdapter",562),v(563,1,{853:1},ZA),a.Rf=function(){var e,n;if(!this.b)for(this.b=oF(KL(this.a).i),n=new Ke(KL(this.a));n.e!=n.i.gc();)e=o(Ye(n),135),St(this.b,new q$(e));return this.b},a.b=null,C(O6,"ElkGraphAdapters/ElkEdgeAdapter",563),v(289,562,{},vb),a.Sf=function(){return YJt(this)},a.a=null,C(O6,"ElkGraphAdapters/ElkGraphAdapter",289),v(640,562,{187:1},q$),C(O6,"ElkGraphAdapters/ElkLabelAdapter",640),v(639,562,{695:1},VR),a.Rf=function(){return Mqe(this)},a.Vf=function(){var e;return e=o(wt(this.f,(Vn(),I4)),140),!e&&(e=new bx),e},a.Xf=function(){return Lqe(this)},a.Zf=function(e){var n;n=new dN(e),pr(this.f,(Vn(),I4),n)},a.$f=function(e){pr(this.f,(Vn(),I1),new yrt(e))},a.Tf=function(){return this.d},a.Uf=function(){var e,n;if(!this.a)for(this.a=new Tt,n=new Ge(Ve(A7(o(this.f,27)).a.Kc(),new P));bn(n);)e=o(nn(n),74),St(this.a,new ZA(e));return this.a},a.Wf=function(){var e,n;if(!this.c)for(this.c=new Tt,n=new Ge(Ve(Md(o(this.f,27)).a.Kc(),new P));bn(n);)e=o(nn(n),74),St(this.c,new ZA(e));return this.c},a.Yf=function(){return XL(o(this.f,27)).i!=0||It(_t(o(this.f,27).of((Vn(),wB))))},a._f=function(){aPe(this,(Ab(),kpe))},a.a=null,a.b=null,a.c=null,a.d=null,a.e=null,C(O6,"ElkGraphAdapters/ElkNodeAdapter",639),v(1284,562,{852:1},H_t),a.Rf=function(){return $qe(this)},a.Uf=function(){var e,n;if(!this.a)for(this.a=Lf(o(this.f,123).hh().i),n=new Ke(o(this.f,123).hh());n.e!=n.i.gc();)e=o(Ye(n),74),St(this.a,new ZA(e));return this.a},a.Wf=function(){var e,n;if(!this.c)for(this.c=Lf(o(this.f,123).ih().i),n=new Ke(o(this.f,123).ih());n.e!=n.i.gc();)e=o(Ye(n),74),St(this.c,new ZA(e));return this.c},a.ag=function(){return o(o(this.f,123).of((Vn(),By)),64)},a.bg=function(){var e,n,r,i,s,l,u,f;for(i=mh(o(this.f,123)),r=new Ke(o(this.f,123).ih());r.e!=r.i.gc();)for(e=o(Ye(r),74),f=new Ke((!e.c&&(e.c=new ge(an,e,5,8)),e.c));f.e!=f.i.gc();){if(u=o(Ye(f),84),Ap(yo(u),i))return!0;if(yo(u)==i&&It(_t(wt(e,(Vn(),SY)))))return!0}for(n=new Ke(o(this.f,123).hh());n.e!=n.i.gc();)for(e=o(Ye(n),74),l=new Ke((!e.b&&(e.b=new ge(an,e,4,7)),e.b));l.e!=l.i.gc();)if(s=o(Ye(l),84),Ap(yo(s),i))return!0;return!1},a.a=null,a.b=null,a.c=null,C(O6,"ElkGraphAdapters/ElkPortAdapter",1284),v(1285,1,Dn,iEt),a.Ne=function(e,n){return wYe(o(e,123),o(n,123))},a.Fb=function(e){return this===e},a.Oe=function(){return new An(this)},C(O6,"ElkGraphAdapters/PortComparator",1285);var Kg=Qr(ql,"EObject"),q4=Qr(Um,cce),yl=Qr(Um,ace),LB=Qr(Um,lce),FB=Qr(Um,"ElkShape"),an=Qr(Um,uce),fi=Qr(Um,Zdt),Rr=Qr(Um,hce),_B=Qr(ql,fce),VT=Qr(ql,"EFactory"),xpe,qY=Qr(ql,dce),fh=Qr(ql,"EPackage"),Vi,Tpe,Spe,svt,Pj,Epe,ovt,cvt,avt,ed,Bpe,Ape,no=Qr(Um,t1t),nr=Qr(Um,e1t),Aa=Qr(Um,n1t);v(93,1,gce),a.th=function(){return this.uh(),null},a.uh=function(){return null},a.vh=function(){return this.uh(),!1},a.wh=function(){return!1},a.xh=function(e){ur(this,e)},C(s3,"BasicNotifierImpl",93),v(99,93,mce),a.Yh=function(){return Ua(this)},a.yh=function(e,n){return e},a.zh=function(){throw N(new Fn)},a.Ah=function(e){var n;return n=Hs(o(pe(this.Dh(),this.Fh()),19)),this.Ph().Th(this,n.n,n.f,e)},a.Bh=function(e,n){throw N(new Fn)},a.Ch=function(e,n,r){return hl(this,e,n,r)},a.Dh=function(){var e;return this.zh()&&(e=this.zh().Nk(),e)?e:this.ii()},a.Eh=function(){return DK(this)},a.Fh=function(){throw N(new Fn)},a.Gh=function(){var e,n;return n=this.$h().Ok(),!n&&this.zh().Tk(n=(Mx(),e=_it(cf(this.Dh())),e==null?VY:new VS(this,e))),n},a.Hh=function(e,n){return e},a.Ih=function(e){var n;return n=e.pk(),n?e.Lj():Gr(this.Dh(),e)},a.Jh=function(){var e;return e=this.zh(),e?e.Qk():null},a.Kh=function(){return this.zh()?this.zh().Nk():null},a.Lh=function(e,n,r){return x_(this,e,n,r)},a.Mh=function(e){return Ik(this,e)},a.Nh=function(e,n){return Cq(this,e,n)},a.Oh=function(){var e;return e=this.zh(),!!e&&e.Rk()},a.Ph=function(){throw N(new Fn)},a.Qh=function(){return w_(this)},a.Rh=function(e,n,r,i){return $v(this,e,n,i)},a.Sh=function(e,n,r){var i;return i=o(pe(this.Dh(),n),69),i.wk().zk(this,this.hi(),n-this.ji(),e,r)},a.Th=function(e,n,r,i){return QL(this,e,n,i)},a.Uh=function(e,n,r){var i;return i=o(pe(this.Dh(),n),69),i.wk().Ak(this,this.hi(),n-this.ji(),e,r)},a.Vh=function(){return!!this.zh()&&!!this.zh().Pk()},a.Wh=function(e){return XH(this,e)},a.Xh=function(e){return mKt(this,e)},a.Zh=function(e){return Nre(this,e)},a.$h=function(){throw N(new Fn)},a._h=function(){return this.zh()?this.zh().Pk():null},a.ai=function(){return w_(this)},a.bi=function(e,n){_K(this,e,n)},a.ci=function(e){this.$h().Sk(e)},a.di=function(e){this.$h().Vk(e)},a.ei=function(e){this.$h().Uk(e)},a.fi=function(e,n){var r,i,s,l;return l=this.Jh(),l&&e&&(n=Ls(l.El(),this,n),l.Il(this)),i=this.Ph(),i&&((JK(this,this.Ph(),this.Fh()).Bb&js)!=0?(s=i.Qh(),s&&(e?!l&&s.Il(this):s.Hl(this))):(n=(r=this.Fh(),r>=0?this.Ah(n):this.Ph().Th(this,-1-r,null,n)),n=this.Ch(null,-1,n))),this.di(e),n},a.gi=function(e){var n,r,i,s,l,u,f,g;if(r=this.Dh(),l=Gr(r,e),n=this.ji(),l>=n)return o(e,69).wk().Dk(this,this.hi(),l-n);if(l<=-1)if(u=jm((ua(),ws),r,e),u){if(qs(),o(u,69).xk()||(u=Tv(oo(ws,u))),s=(i=this.Ih(u),o(i>=0?this.Lh(i,!0,!0):hw(this,u,!0),160)),g=u.Ik(),g>1||g==-1)return o(o(s,220).Sl(e,!1),79)}else throw N(new _e(Eg+e.xe()+_U));else if(e.Jk())return i=this.Ih(e),o(i>=0?this.Lh(i,!1,!0):hw(this,e,!1),79);return f=new jDt(this,e),f},a.hi=function(){return Dst(this)},a.ii=function(){return(ig(),Se).S},a.ji=function(){return en(this.ii())},a.ki=function(e){MK(this,e)},a.Ib=function(){return Mu(this)},C(Ee,"BasicEObjectImpl",99);var Mpe;v(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),a.li=function(e){var n;return n=jst(this),n[e]},a.mi=function(e,n){var r;r=jst(this),ei(r,e,n)},a.ni=function(e){var n;n=jst(this),ei(n,e,null)},a.th=function(){return o(Be(this,4),129)},a.uh=function(){throw N(new Fn)},a.vh=function(){return(this.Db&4)!=0},a.zh=function(){throw N(new Fn)},a.oi=function(e){jv(this,2,e)},a.Bh=function(e,n){this.Db=n<<16|this.Db&255,this.oi(e)},a.Dh=function(){return Gc(this)},a.Fh=function(){return this.Db>>16},a.Gh=function(){var e,n;return Mx(),n=_it(cf((e=o(Be(this,16),29),e||this.ii()))),n==null?VY:new VS(this,n)},a.wh=function(){return(this.Db&1)==0},a.Jh=function(){return o(Be(this,128),2034)},a.Kh=function(){return o(Be(this,16),29)},a.Oh=function(){return(this.Db&32)!=0},a.Ph=function(){return o(Be(this,2),54)},a.Vh=function(){return(this.Db&64)!=0},a.$h=function(){throw N(new Fn)},a._h=function(){return o(Be(this,64),288)},a.ci=function(e){jv(this,16,e)},a.di=function(e){jv(this,128,e)},a.ei=function(e){jv(this,64,e)},a.hi=function(){return Rc(this)},a.Db=0,C(Ee,"MinimalEObjectImpl",119),v(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),a.oi=function(e){this.Cb=e},a.Ph=function(){return this.Cb},C(Ee,"MinimalEObjectImpl/Container",120),v(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),a.Lh=function(e,n,r){return Qct(this,e,n,r)},a.Uh=function(e,n,r){return qat(this,e,n,r)},a.Wh=function(e){return Uit(this,e)},a.bi=function(e,n){Dot(this,e,n)},a.ii=function(){return rc(),Ape},a.ki=function(e){Eot(this,e)},a.nf=function(){return wJt(this)},a.gh=function(){return!this.o&&(this.o=new aa((rc(),ed),j1,this,0)),this.o},a.of=function(e){return wt(this,e)},a.pf=function(e){return xh(this,e)},a.qf=function(e,n){return pr(this,e,n)},C(q0,"EMapPropertyHolderImpl",2083),v(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},HA),a.Lh=function(e,n,r){switch(e){case 0:return this.a;case 1:return this.b}return x_(this,e,n,r)},a.Wh=function(e){switch(e){case 0:return this.a!=0;case 1:return this.b!=0}return XH(this,e)},a.bi=function(e,n){switch(e){case 0:OF(this,nt(ct(n)));return;case 1:_F(this,nt(ct(n)));return}_K(this,e,n)},a.ii=function(){return rc(),Tpe},a.ki=function(e){switch(e){case 0:OF(this,0);return;case 1:_F(this,0);return}MK(this,e)},a.Ib=function(){var e;return(this.Db&64)!=0?Mu(this):(e=new Jl(Mu(this)),e.a+=" (x: ",V2(e,this.a),e.a+=", y: ",V2(e,this.b),e.a+=")",e.a)},a.a=0,a.b=0,C(q0,"ElkBendPointImpl",572),v(739,2083,{110:1,342:1,167:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),a.Lh=function(e,n,r){return oct(this,e,n,r)},a.Sh=function(e,n,r){return CK(this,e,n,r)},a.Uh=function(e,n,r){return sH(this,e,n,r)},a.Wh=function(e){return vot(this,e)},a.bi=function(e,n){pat(this,e,n)},a.ii=function(){return rc(),Epe},a.ki=function(e){Jot(this,e)},a.jh=function(){return this.k},a.kh=function(){return KL(this)},a.Ib=function(){return FH(this)},a.k=null,C(q0,"ElkGraphElementImpl",739),v(740,739,{110:1,342:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),a.Lh=function(e,n,r){return gct(this,e,n,r)},a.Wh=function(e){return vct(this,e)},a.bi=function(e,n){mat(this,e,n)},a.ii=function(){return rc(),Bpe},a.ki=function(e){Bct(this,e)},a.lh=function(){return this.f},a.mh=function(){return this.g},a.nh=function(){return this.i},a.oh=function(){return this.j},a.ph=function(e,n){sm(this,e,n)},a.qh=function(e,n){Tl(this,e,n)},a.rh=function(e){Dc(this,e)},a.sh=function(e){$c(this,e)},a.Ib=function(){return BK(this)},a.f=0,a.g=0,a.i=0,a.j=0,C(q0,"ElkShapeImpl",740),v(741,740,{110:1,342:1,84:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),a.Lh=function(e,n,r){return Wct(this,e,n,r)},a.Sh=function(e,n,r){return hat(this,e,n,r)},a.Uh=function(e,n,r){return fat(this,e,n,r)},a.Wh=function(e){return jot(this,e)},a.bi=function(e,n){Slt(this,e,n)},a.ii=function(){return rc(),Spe},a.ki=function(e){Nct(this,e)},a.hh=function(){return!this.d&&(this.d=new ge(fi,this,8,5)),this.d},a.ih=function(){return!this.e&&(this.e=new ge(fi,this,7,4)),this.e},C(q0,"ElkConnectableShapeImpl",741),v(326,739,{110:1,342:1,74:1,167:1,326:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},f$),a.Ah=function(e){return cat(this,e)},a.Lh=function(e,n,r){switch(e){case 3:return y9(this);case 4:return!this.b&&(this.b=new ge(an,this,4,7)),this.b;case 5:return!this.c&&(this.c=new ge(an,this,5,8)),this.c;case 6:return!this.a&&(this.a=new dt(Rr,this,6,6)),this.a;case 7:return Te(),!this.b&&(this.b=new ge(an,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new ge(an,this,5,8)),this.c.i<=1));case 8:return Te(),!!t6(this);case 9:return Te(),!!uw(this);case 10:return Te(),!this.b&&(this.b=new ge(an,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new ge(an,this,5,8)),this.c.i!=0)}return oct(this,e,n,r)},a.Sh=function(e,n,r){var i;switch(n){case 3:return this.Cb&&(r=(i=this.Db>>16,i>=0?cat(this,r):this.Cb.Th(this,-1-i,null,r))),Hnt(this,o(e,27),r);case 4:return!this.b&&(this.b=new ge(an,this,4,7)),Ac(this.b,e,r);case 5:return!this.c&&(this.c=new ge(an,this,5,8)),Ac(this.c,e,r);case 6:return!this.a&&(this.a=new dt(Rr,this,6,6)),Ac(this.a,e,r)}return CK(this,e,n,r)},a.Uh=function(e,n,r){switch(n){case 3:return Hnt(this,null,r);case 4:return!this.b&&(this.b=new ge(an,this,4,7)),Ls(this.b,e,r);case 5:return!this.c&&(this.c=new ge(an,this,5,8)),Ls(this.c,e,r);case 6:return!this.a&&(this.a=new dt(Rr,this,6,6)),Ls(this.a,e,r)}return sH(this,e,n,r)},a.Wh=function(e){switch(e){case 3:return!!y9(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 ge(an,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new ge(an,this,5,8)),this.c.i<=1));case 8:return t6(this);case 9:return uw(this);case 10:return!this.b&&(this.b=new ge(an,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new ge(an,this,5,8)),this.c.i!=0)}return vot(this,e)},a.bi=function(e,n){switch(e){case 3:X_(this,o(n,27));return;case 4:!this.b&&(this.b=new ge(an,this,4,7)),pn(this.b),!this.b&&(this.b=new ge(an,this,4,7)),ii(this.b,o(n,16));return;case 5:!this.c&&(this.c=new ge(an,this,5,8)),pn(this.c),!this.c&&(this.c=new ge(an,this,5,8)),ii(this.c,o(n,16));return;case 6:!this.a&&(this.a=new dt(Rr,this,6,6)),pn(this.a),!this.a&&(this.a=new dt(Rr,this,6,6)),ii(this.a,o(n,16));return}pat(this,e,n)},a.ii=function(){return rc(),svt},a.ki=function(e){switch(e){case 3:X_(this,null);return;case 4:!this.b&&(this.b=new ge(an,this,4,7)),pn(this.b);return;case 5:!this.c&&(this.c=new ge(an,this,5,8)),pn(this.c);return;case 6:!this.a&&(this.a=new dt(Rr,this,6,6)),pn(this.a);return}Jot(this,e)},a.Ib=function(){return ire(this)},C(q0,"ElkEdgeImpl",326),v(452,2083,{110:1,342:1,166:1,452:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},KA),a.Ah=function(e){return rat(this,e)},a.Lh=function(e,n,r){switch(e){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 ki(yl,this,5)),this.a;case 6:return gKt(this);case 7:return n?ZH(this):this.i;case 8:return n?QH(this):this.f;case 9:return!this.g&&(this.g=new ge(Rr,this,9,10)),this.g;case 10:return!this.e&&(this.e=new ge(Rr,this,10,9)),this.e;case 11:return this.d}return Qct(this,e,n,r)},a.Sh=function(e,n,r){var i,s,l;switch(n){case 6:return this.Cb&&(r=(s=this.Db>>16,s>=0?rat(this,r):this.Cb.Th(this,-1-s,null,r))),qnt(this,o(e,74),r);case 9:return!this.g&&(this.g=new ge(Rr,this,9,10)),Ac(this.g,e,r);case 10:return!this.e&&(this.e=new ge(Rr,this,10,9)),Ac(this.e,e,r)}return l=o(pe((i=o(Be(this,16),29),i||(rc(),Pj)),n),69),l.wk().zk(this,Rc(this),n-en((rc(),Pj)),e,r)},a.Uh=function(e,n,r){switch(n){case 5:return!this.a&&(this.a=new ki(yl,this,5)),Ls(this.a,e,r);case 6:return qnt(this,null,r);case 9:return!this.g&&(this.g=new ge(Rr,this,9,10)),Ls(this.g,e,r);case 10:return!this.e&&(this.e=new ge(Rr,this,10,9)),Ls(this.e,e,r)}return qat(this,e,n,r)},a.Wh=function(e){switch(e){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!!gKt(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 Uit(this,e)},a.bi=function(e,n){switch(e){case 1:Nk(this,nt(ct(n)));return;case 2:Hk(this,nt(ct(n)));return;case 3:Rk(this,nt(ct(n)));return;case 4:qk(this,nt(ct(n)));return;case 5:!this.a&&(this.a=new ki(yl,this,5)),pn(this.a),!this.a&&(this.a=new ki(yl,this,5)),ii(this.a,o(n,16));return;case 6:ree(this,o(n,74));return;case 7:NF(this,o(n,84));return;case 8:RF(this,o(n,84));return;case 9:!this.g&&(this.g=new ge(Rr,this,9,10)),pn(this.g),!this.g&&(this.g=new ge(Rr,this,9,10)),ii(this.g,o(n,16));return;case 10:!this.e&&(this.e=new ge(Rr,this,10,9)),pn(this.e),!this.e&&(this.e=new ge(Rr,this,10,9)),ii(this.e,o(n,16));return;case 11:aot(this,On(n));return}Dot(this,e,n)},a.ii=function(){return rc(),Pj},a.ki=function(e){switch(e){case 1:Nk(this,0);return;case 2:Hk(this,0);return;case 3:Rk(this,0);return;case 4:qk(this,0);return;case 5:!this.a&&(this.a=new ki(yl,this,5)),pn(this.a);return;case 6:ree(this,null);return;case 7:NF(this,null);return;case 8:RF(this,null);return;case 9:!this.g&&(this.g=new ge(Rr,this,9,10)),pn(this.g);return;case 10:!this.e&&(this.e=new ge(Rr,this,10,9)),pn(this.e);return;case 11:aot(this,null);return}Eot(this,e)},a.Ib=function(){return pte(this)},a.b=0,a.c=0,a.d=null,a.j=0,a.k=0,C(q0,"ElkEdgeSectionImpl",452),v(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),a.Lh=function(e,n,r){var i;return e==0?(!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab):Fl(this,e-en(this.ii()),pe((i=o(Be(this,16),29),i||this.ii()),e),n,r)},a.Sh=function(e,n,r){var i,s;return n==0?(!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ac(this.Ab,e,r)):(s=o(pe((i=o(Be(this,16),29),i||this.ii()),n),69),s.wk().zk(this,Rc(this),n-en(this.ii()),e,r))},a.Uh=function(e,n,r){var i,s;return n==0?(!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ls(this.Ab,e,r)):(s=o(pe((i=o(Be(this,16),29),i||this.ii()),n),69),s.wk().Ak(this,Rc(this),n-en(this.ii()),e,r))},a.Wh=function(e){var n;return e==0?!!this.Ab&&this.Ab.i!=0:Ml(this,e-en(this.ii()),pe((n=o(Be(this,16),29),n||this.ii()),e))},a.Zh=function(e){return jut(this,e)},a.bi=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return}Pl(this,e-en(this.ii()),pe((r=o(Be(this,16),29),r||this.ii()),e),n)},a.di=function(e){jv(this,128,e)},a.ii=function(){return ae(),Gpe},a.ki=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return}Il(this,e-en(this.ii()),pe((n=o(Be(this,16),29),n||this.ii()),e))},a.pi=function(){this.Bb|=1},a.qi=function(e){return c6(this,e)},a.Bb=0,C(Ee,"EModelElementImpl",158),v(720,158,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},jZ),a.ri=function(e,n){return Ore(this,e,n)},a.si=function(e){var n,r,i,s,l;if(this.a!=sl(e)||(e.Bb&256)!=0)throw N(new _e(IU+e.zb+xw));for(i=wo(e);ac(i.a).i!=0;){if(r=o(N7(i,0,(n=o(tt(ac(i.a),0),89),l=n.c,Q(l,90)?o(l,29):(ae(),bu))),29),lw(r))return s=sl(r).wi().si(r),o(s,54).ci(e),s;i=wo(r)}return(e.D!=null?e.D:e.B)=="java.util.Map$Entry"?new YNt(e):new Lrt(e)},a.ti=function(e,n){return bw(this,e,n)},a.Lh=function(e,n,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab;case 1:return this.a}return Fl(this,e-en((ae(),Gg)),pe((i=o(Be(this,16),29),i||Gg),e),n,r)},a.Sh=function(e,n,r){var i,s;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ac(this.Ab,e,r);case 1:return this.a&&(r=o(this.a,54).Th(this,4,fh,r)),Yot(this,o(e,241),r)}return s=o(pe((i=o(Be(this,16),29),i||(ae(),Gg)),n),69),s.wk().zk(this,Rc(this),n-en((ae(),Gg)),e,r)},a.Uh=function(e,n,r){var i,s;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ls(this.Ab,e,r);case 1:return Yot(this,null,r)}return s=o(pe((i=o(Be(this,16),29),i||(ae(),Gg)),n),69),s.wk().Ak(this,Rc(this),n-en((ae(),Gg)),e,r)},a.Wh=function(e){var n;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return Ml(this,e-en((ae(),Gg)),pe((n=o(Be(this,16),29),n||Gg),e))},a.bi=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return;case 1:tZt(this,o(n,241));return}Pl(this,e-en((ae(),Gg)),pe((r=o(Be(this,16),29),r||Gg),e),n)},a.ii=function(){return ae(),Gg},a.ki=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return;case 1:tZt(this,null);return}Il(this,e-en((ae(),Gg)),pe((n=o(Be(this,16),29),n||Gg),e))};var YT,lvt,Lpe;C(Ee,"EFactoryImpl",720),v(1037,720,{110:1,2113:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},dEt),a.ri=function(e,n){switch(e.hk()){case 12:return o(n,149).Pg();case 13:return To(n);default:throw N(new _e(ZC+e.xe()+xw))}},a.si=function(e){var n,r,i,s,l,u,f,g;switch(e.G==-1&&(e.G=(n=sl(e),n?y1(n.vi(),e):-1)),e.G){case 4:return l=new LZ,l;case 6:return u=new wx,u;case 7:return f=new Ltt,f;case 8:return i=new f$,i;case 9:return r=new HA,r;case 10:return s=new KA,s;case 11:return g=new gEt,g;default:throw N(new _e(IU+e.zb+xw))}},a.ti=function(e,n){switch(e.hk()){case 13:case 12:return null;default:throw N(new _e(ZC+e.xe()+xw))}},C(q0,"ElkGraphFactoryImpl",1037),v(448,158,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),a.Gh=function(){var e,n;return n=(e=o(Be(this,16),29),_it(cf(e||this.ii()))),n==null?(Mx(),Mx(),VY):new yRt(this,n)},a.Lh=function(e,n,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab;case 1:return this.xe()}return Fl(this,e-en(this.ii()),pe((i=o(Be(this,16),29),i||this.ii()),e),n,r)},a.Wh=function(e){var n;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return Ml(this,e-en(this.ii()),pe((n=o(Be(this,16),29),n||this.ii()),e))},a.bi=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return;case 1:this.ui(On(n));return}Pl(this,e-en(this.ii()),pe((r=o(Be(this,16),29),r||this.ii()),e),n)},a.ii=function(){return ae(),Xpe},a.ki=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return;case 1:this.ui(null);return}Il(this,e-en(this.ii()),pe((n=o(Be(this,16),29),n||this.ii()),e))},a.xe=function(){return this.zb},a.ui=function(e){Bc(this,e)},a.Ib=function(){return P5(this)},a.zb=null,C(Ee,"ENamedElementImpl",448),v(184,448,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},UHt),a.Ah=function(e){return hQt(this,e)},a.Lh=function(e,n,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,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 mp(this,dh,this)),this.rb;case 6:return!this.vb&&(this.vb=new hv(fh,this,6,7)),this.vb;case 7:return n?this.Db>>16==7?o(this.Cb,241):null:kKt(this)}return Fl(this,e-en((ae(),N1)),pe((i=o(Be(this,16),29),i||N1),e),n,r)},a.Sh=function(e,n,r){var i,s,l;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ac(this.Ab,e,r);case 4:return this.sb&&(r=o(this.sb,54).Th(this,1,VT,r)),Zot(this,o(e,480),r);case 5:return!this.rb&&(this.rb=new mp(this,dh,this)),Ac(this.rb,e,r);case 6:return!this.vb&&(this.vb=new hv(fh,this,6,7)),Ac(this.vb,e,r);case 7:return this.Cb&&(r=(s=this.Db>>16,s>=0?hQt(this,r):this.Cb.Th(this,-1-s,null,r))),hl(this,e,7,r)}return l=o(pe((i=o(Be(this,16),29),i||(ae(),N1)),n),69),l.wk().zk(this,Rc(this),n-en((ae(),N1)),e,r)},a.Uh=function(e,n,r){var i,s;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ls(this.Ab,e,r);case 4:return Zot(this,null,r);case 5:return!this.rb&&(this.rb=new mp(this,dh,this)),Ls(this.rb,e,r);case 6:return!this.vb&&(this.vb=new hv(fh,this,6,7)),Ls(this.vb,e,r);case 7:return hl(this,null,7,r)}return s=o(pe((i=o(Be(this,16),29),i||(ae(),N1)),n),69),s.wk().Ak(this,Rc(this),n-en((ae(),N1)),e,r)},a.Wh=function(e){var n;switch(e){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!!kKt(this)}return Ml(this,e-en((ae(),N1)),pe((n=o(Be(this,16),29),n||N1),e))},a.Zh=function(e){var n;return n=FXe(this,e),n||jut(this,e)},a.bi=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return;case 1:Bc(this,On(n));return;case 2:UF(this,On(n));return;case 3:WF(this,On(n));return;case 4:EK(this,o(n,480));return;case 5:!this.rb&&(this.rb=new mp(this,dh,this)),pn(this.rb),!this.rb&&(this.rb=new mp(this,dh,this)),ii(this.rb,o(n,16));return;case 6:!this.vb&&(this.vb=new hv(fh,this,6,7)),pn(this.vb),!this.vb&&(this.vb=new hv(fh,this,6,7)),ii(this.vb,o(n,16));return}Pl(this,e-en((ae(),N1)),pe((r=o(Be(this,16),29),r||N1),e),n)},a.ei=function(e){var n,r;if(e&&this.rb)for(r=new Ke(this.rb);r.e!=r.i.gc();)n=Ye(r),Q(n,364)&&(o(n,364).w=null);jv(this,64,e)},a.ii=function(){return ae(),N1},a.ki=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return;case 1:Bc(this,null);return;case 2:UF(this,null);return;case 3:WF(this,null);return;case 4:EK(this,null);return;case 5:!this.rb&&(this.rb=new mp(this,dh,this)),pn(this.rb);return;case 6:!this.vb&&(this.vb=new hv(fh,this,6,7)),pn(this.vb);return}Il(this,e-en((ae(),N1)),pe((n=o(Be(this,16),29),n||N1),e))},a.pi=function(){fK(this)},a.vi=function(){return!this.rb&&(this.rb=new mp(this,dh,this)),this.rb},a.wi=function(){return this.sb},a.xi=function(){return this.ub},a.yi=function(){return this.xb},a.zi=function(){return this.yb},a.Ai=function(e){this.ub=e},a.Ib=function(){var e;return(this.Db&64)!=0?P5(this):(e=new Jl(P5(this)),e.a+=" (nsURI: ",Qs(e,this.yb),e.a+=", nsPrefix: ",Qs(e,this.xb),e.a+=")",e.a)},a.xb=null,a.yb=null,C(Ee,"EPackageImpl",184),v(569,184,{110:1,2115:1,569:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},Ete),a.q=!1,a.r=!1;var Fpe=!1;C(q0,"ElkGraphPackageImpl",569),v(366,740,{110:1,342:1,167:1,135:1,422:1,366:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},LZ),a.Ah=function(e){return iat(this,e)},a.Lh=function(e,n,r){switch(e){case 7:return CKt(this);case 8:return this.a}return gct(this,e,n,r)},a.Sh=function(e,n,r){var i;switch(n){case 7:return this.Cb&&(r=(i=this.Db>>16,i>=0?iat(this,r):this.Cb.Th(this,-1-i,null,r))),Wrt(this,o(e,167),r)}return CK(this,e,n,r)},a.Uh=function(e,n,r){return n==7?Wrt(this,null,r):sH(this,e,n,r)},a.Wh=function(e){switch(e){case 7:return!!CKt(this);case 8:return!ne("",this.a)}return vct(this,e)},a.bi=function(e,n){switch(e){case 7:$lt(this,o(n,167));return;case 8:rot(this,On(n));return}mat(this,e,n)},a.ii=function(){return rc(),ovt},a.ki=function(e){switch(e){case 7:$lt(this,null);return;case 8:rot(this,"");return}Bct(this,e)},a.Ib=function(){return gZt(this)},a.a="",C(q0,"ElkLabelImpl",366),v(207,741,{110:1,342:1,84:1,167:1,27:1,422:1,207:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},wx),a.Ah=function(e){return aat(this,e)},a.Lh=function(e,n,r){switch(e){case 9:return!this.c&&(this.c=new dt(Aa,this,9,9)),this.c;case 10:return!this.a&&(this.a=new dt(nr,this,10,11)),this.a;case 11:return Hr(this);case 12:return!this.b&&(this.b=new dt(fi,this,12,3)),this.b;case 13:return Te(),!this.a&&(this.a=new dt(nr,this,10,11)),this.a.i>0}return Wct(this,e,n,r)},a.Sh=function(e,n,r){var i;switch(n){case 9:return!this.c&&(this.c=new dt(Aa,this,9,9)),Ac(this.c,e,r);case 10:return!this.a&&(this.a=new dt(nr,this,10,11)),Ac(this.a,e,r);case 11:return this.Cb&&(r=(i=this.Db>>16,i>=0?aat(this,r):this.Cb.Th(this,-1-i,null,r))),Qnt(this,o(e,27),r);case 12:return!this.b&&(this.b=new dt(fi,this,12,3)),Ac(this.b,e,r)}return hat(this,e,n,r)},a.Uh=function(e,n,r){switch(n){case 9:return!this.c&&(this.c=new dt(Aa,this,9,9)),Ls(this.c,e,r);case 10:return!this.a&&(this.a=new dt(nr,this,10,11)),Ls(this.a,e,r);case 11:return Qnt(this,null,r);case 12:return!this.b&&(this.b=new dt(fi,this,12,3)),Ls(this.b,e,r)}return fat(this,e,n,r)},a.Wh=function(e){switch(e){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!Hr(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new dt(nr,this,10,11)),this.a.i>0}return jot(this,e)},a.bi=function(e,n){switch(e){case 9:!this.c&&(this.c=new dt(Aa,this,9,9)),pn(this.c),!this.c&&(this.c=new dt(Aa,this,9,9)),ii(this.c,o(n,16));return;case 10:!this.a&&(this.a=new dt(nr,this,10,11)),pn(this.a),!this.a&&(this.a=new dt(nr,this,10,11)),ii(this.a,o(n,16));return;case 11:V_(this,o(n,27));return;case 12:!this.b&&(this.b=new dt(fi,this,12,3)),pn(this.b),!this.b&&(this.b=new dt(fi,this,12,3)),ii(this.b,o(n,16));return}Slt(this,e,n)},a.ii=function(){return rc(),cvt},a.ki=function(e){switch(e){case 9:!this.c&&(this.c=new dt(Aa,this,9,9)),pn(this.c);return;case 10:!this.a&&(this.a=new dt(nr,this,10,11)),pn(this.a);return;case 11:V_(this,null);return;case 12:!this.b&&(this.b=new dt(fi,this,12,3)),pn(this.b);return}Nct(this,e)},a.Ib=function(){return tut(this)},C(q0,"ElkNodeImpl",207),v(193,741,{110:1,342:1,84:1,167:1,123:1,422:1,193:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},Ltt),a.Ah=function(e){return sat(this,e)},a.Lh=function(e,n,r){return e==9?mh(this):Wct(this,e,n,r)},a.Sh=function(e,n,r){var i;switch(n){case 9:return this.Cb&&(r=(i=this.Db>>16,i>=0?sat(this,r):this.Cb.Th(this,-1-i,null,r))),Knt(this,o(e,27),r)}return hat(this,e,n,r)},a.Uh=function(e,n,r){return n==9?Knt(this,null,r):fat(this,e,n,r)},a.Wh=function(e){return e==9?!!mh(this):jot(this,e)},a.bi=function(e,n){switch(e){case 9:Ilt(this,o(n,27));return}Slt(this,e,n)},a.ii=function(){return rc(),avt},a.ki=function(e){switch(e){case 9:Ilt(this,null);return}Nct(this,e)},a.Ib=function(){return nne(this)},C(q0,"ElkPortImpl",193);var _pe=Qr(_s,"BasicEMap/Entry");v(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},gEt),a.Fb=function(e){return this===e},a.ld=function(){return this.b},a.Hb=function(){return Ib(this)},a.Di=function(e){iot(this,o(e,149))},a.Lh=function(e,n,r){switch(e){case 0:return this.b;case 1:return this.c}return x_(this,e,n,r)},a.Wh=function(e){switch(e){case 0:return!!this.b;case 1:return this.c!=null}return XH(this,e)},a.bi=function(e,n){switch(e){case 0:iot(this,o(n,149));return;case 1:not(this,n);return}_K(this,e,n)},a.ii=function(){return rc(),ed},a.ki=function(e){switch(e){case 0:iot(this,null);return;case 1:not(this,null);return}MK(this,e)},a.Bi=function(){var e;return this.a==-1&&(e=this.b,this.a=e?Mr(e):0),this.a},a.md=function(){return this.c},a.Ci=function(e){this.a=e},a.nd=function(e){var n;return n=this.c,not(this,e),n},a.Ib=function(){var e;return(this.Db&64)!=0?Mu(this):(e=new V1,Kn(Kn(Kn(e,this.b?this.b.Pg():Jc),BW),Vx(this.c)),e.a)},a.a=-1,a.c=null;var j1=C(q0,"ElkPropertyToValueMapEntryImpl",1122);v(996,1,{},pEt),C(gs,"JsonAdapter",996),v(216,63,Fd,Uh),C(gs,"JsonImportException",216),v(868,1,{},fQt),C(gs,"JsonImporter",868),v(903,1,{},yDt),C(gs,"JsonImporter/lambda$0$Type",903),v(904,1,{},vDt),C(gs,"JsonImporter/lambda$1$Type",904),v(912,1,{},K_t),C(gs,"JsonImporter/lambda$10$Type",912),v(914,1,{},kDt),C(gs,"JsonImporter/lambda$11$Type",914),v(915,1,{},CDt),C(gs,"JsonImporter/lambda$12$Type",915),v(921,1,{},IHt),C(gs,"JsonImporter/lambda$13$Type",921),v(920,1,{},PHt),C(gs,"JsonImporter/lambda$14$Type",920),v(916,1,{},xDt),C(gs,"JsonImporter/lambda$15$Type",916),v(917,1,{},TDt),C(gs,"JsonImporter/lambda$16$Type",917),v(918,1,{},SDt),C(gs,"JsonImporter/lambda$17$Type",918),v(919,1,{},EDt),C(gs,"JsonImporter/lambda$18$Type",919),v(924,1,{},z_t),C(gs,"JsonImporter/lambda$19$Type",924),v(905,1,{},W_t),C(gs,"JsonImporter/lambda$2$Type",905),v(922,1,{},U_t),C(gs,"JsonImporter/lambda$20$Type",922),v(923,1,{},G_t),C(gs,"JsonImporter/lambda$21$Type",923),v(927,1,{},X_t),C(gs,"JsonImporter/lambda$22$Type",927),v(925,1,{},V_t),C(gs,"JsonImporter/lambda$23$Type",925),v(926,1,{},Y_t),C(gs,"JsonImporter/lambda$24$Type",926),v(929,1,{},J_t),C(gs,"JsonImporter/lambda$25$Type",929),v(928,1,{},Q_t),C(gs,"JsonImporter/lambda$26$Type",928),v(930,1,Xe,BDt),a.Cd=function(e){WIe(this.b,this.a,On(e))},C(gs,"JsonImporter/lambda$27$Type",930),v(931,1,Xe,ADt),a.Cd=function(e){UIe(this.b,this.a,On(e))},C(gs,"JsonImporter/lambda$28$Type",931),v(932,1,{},MDt),C(gs,"JsonImporter/lambda$29$Type",932),v(908,1,{},Z_t),C(gs,"JsonImporter/lambda$3$Type",908),v(933,1,{},LDt),C(gs,"JsonImporter/lambda$30$Type",933),v(934,1,{},tOt),C(gs,"JsonImporter/lambda$31$Type",934),v(935,1,{},eOt),C(gs,"JsonImporter/lambda$32$Type",935),v(936,1,{},nOt),C(gs,"JsonImporter/lambda$33$Type",936),v(937,1,{},rOt),C(gs,"JsonImporter/lambda$34$Type",937),v(870,1,{},iOt),C(gs,"JsonImporter/lambda$35$Type",870),v(941,1,{},TNt),C(gs,"JsonImporter/lambda$36$Type",941),v(938,1,Xe,sOt),a.Cd=function(e){JOe(this.a,o(e,377))},C(gs,"JsonImporter/lambda$37$Type",938),v(939,1,Xe,FDt),a.Cd=function(e){_Se(this.a,this.b,o(e,166))},C(gs,"JsonImporter/lambda$38$Type",939),v(940,1,Xe,_Dt),a.Cd=function(e){OSe(this.a,this.b,o(e,166))},C(gs,"JsonImporter/lambda$39$Type",940),v(906,1,{},oOt),C(gs,"JsonImporter/lambda$4$Type",906),v(942,1,Xe,cOt),a.Cd=function(e){QOe(this.a,o(e,8))},C(gs,"JsonImporter/lambda$40$Type",942),v(907,1,{},aOt),C(gs,"JsonImporter/lambda$5$Type",907),v(911,1,{},lOt),C(gs,"JsonImporter/lambda$6$Type",911),v(909,1,{},uOt),C(gs,"JsonImporter/lambda$7$Type",909),v(910,1,{},hOt),C(gs,"JsonImporter/lambda$8$Type",910),v(913,1,{},fOt),C(gs,"JsonImporter/lambda$9$Type",913),v(961,1,Xe,dOt),a.Cd=function(e){yv(this.a,new yp(On(e)))},C(gs,"JsonMetaDataConverter/lambda$0$Type",961),v(962,1,Xe,gOt),a.Cd=function(e){KMe(this.a,o(e,245))},C(gs,"JsonMetaDataConverter/lambda$1$Type",962),v(963,1,Xe,bOt),a.Cd=function(e){HFe(this.a,o(e,143))},C(gs,"JsonMetaDataConverter/lambda$2$Type",963),v(964,1,Xe,wOt),a.Cd=function(e){zMe(this.a,o(e,170))},C(gs,"JsonMetaDataConverter/lambda$3$Type",964),v(245,22,{3:1,34:1,22:1,245:1},sv);var jj,Dj,HY,$j,Rj,Nj,KY,zY,qj=dn(eE,"GraphFeature",245,yn,BPe,wAe),Ope;v(11,1,{34:1,149:1},vr,Xr,te,rs),a.Fd=function(e){return $9e(this,o(e,149))},a.Fb=function(e){return iKt(this,e)},a.Sg=function(){return Lt(this)},a.Pg=function(){return this.b},a.Hb=function(){return f1(this.b)},a.Ib=function(){return this.b},C(eE,"Property",11),v(671,1,Dn,E$),a.Ne=function(e,n){return X$e(this,o(e,96),o(n,96))},a.Fb=function(e){return this===e},a.Oe=function(){return new An(this)},C(eE,"PropertyHolderComparator",671),v(709,1,Qi,htt),a.Nb=function(e){hs(this,e)},a.Pb=function(){return VIe(this)},a.Qb=function(){fPt()},a.Ob=function(){return!!this.a},C(aI,"ElkGraphUtil/AncestorIterator",709);var uvt=Qr(_s,"EList");v(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),a.bd=function(e,n){D5(this,e,n)},a.Fc=function(e){return mn(this,e)},a.cd=function(e,n){return Bot(this,e,n)},a.Gc=function(e){return ii(this,e)},a.Ii=function(){return new uv(this)},a.Ji=function(){return new YS(this)},a.Ki=function(e){return H9(this,e)},a.Li=function(){return!0},a.Mi=function(e,n){},a.Ni=function(){},a.Oi=function(e,n){Eq(this,e,n)},a.Pi=function(e,n,r){},a.Qi=function(e,n){},a.Ri=function(e,n,r){},a.Fb=function(e){return Nee(this,e)},a.Hb=function(){return xot(this)},a.Si=function(){return!1},a.Kc=function(){return new Ke(this)},a.ed=function(){return new lv(this)},a.fd=function(e){var n;if(n=this.gc(),e<0||e>n)throw N(new wp(e,n));return new FN(this,e)},a.Ui=function(e,n){this.Ti(e,this.dd(n))},a.Mc=function(e){return SF(this,e)},a.Wi=function(e,n){return n},a.hd=function(e,n){return Tm(this,e,n)},a.Ib=function(){return pct(this)},a.Yi=function(){return!0},a.Zi=function(e,n){return nC(this,n)},C(_s,"AbstractEList",70),v(66,70,pf,zA,Jb,pot),a.Ei=function(e,n){return xK(this,e,n)},a.Fi=function(e){return DJt(this,e)},a.Gi=function(e,n){r7(this,e,n)},a.Hi=function(e){E9(this,e)},a.$i=function(e){return Fst(this,e)},a.$b=function(){y5(this)},a.Hc=function(e){return mC(this,e)},a.Xb=function(e){return tt(this,e)},a._i=function(e){var n,r,i;++this.j,r=this.g==null?0:this.g.length,e>r&&(i=this.g,n=r+(r/2|0)+4,n<e&&(n=e),this.g=this.aj(n),i!=null&&uc(i,0,this.g,0,this.i))},a.dd=function(e){return sQt(this,e)},a.dc=function(){return this.i==0},a.Ti=function(e,n){return PK(this,e,n)},a.aj=function(e){return at(Hi,ye,1,e,5,1)},a.Vi=function(e){return this.g[e]},a.gd=function(e){return Rv(this,e)},a.Xi=function(e,n){return Dq(this,e,n)},a.gc=function(){return this.i},a.Pc=function(){return Zit(this)},a.Qc=function(e){return Ect(this,e)},a.i=0;var hvt=C(_s,"BasicEList",66),fvt=Qr(_s,"TreeIterator");v(708,66,WU),a.Nb=function(e){hs(this,e)},a.Ob=function(){return this.g==null&&!this.c?jit(this):this.g==null||this.i!=0&&o(this.g[this.i-1],51).Ob()},a.Pb=function(){return W_(this)},a.Qb=function(){if(!this.e)throw N(new io("There is no valid object to remove."));this.e.Qb()},a.c=!1,C(_s,"AbstractTreeIterator",708),v(700,708,WU,int),a.bj=function(e){var n;return n=o(e,58).Gh().Kc(),Q(n,287)&&o(n,287).wl(new mEt),n},C(aI,"ElkGraphUtil/PropertiesSkippingTreeIterator",700),v(965,1,{},mEt),C(aI,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",965);var OB,WY,IB=C(aI,"ElkReflect",null);v(901,1,e2,yEt),a.Rg=function(e){return nF(),zFe(o(e,181))},C(aI,"ElkReflect/lambda$0$Type",901);var zg;Qr(_s,"ResourceLocator"),v(1065,1,{}),C(_s,"DelegatingResourceLocator",1065),v(1066,1065,{}),C("org.eclipse.emf.common","EMFPlugin",1066);var UY=Qr(eae,"Adapter"),Wnn=Qr(eae,"Notification");v(1174,1,y1t),a.cj=function(){return this.d},a.dj=function(e){},a.ej=function(e){this.d=e},a.fj=function(e){this.d==e&&(this.d=null)},a.d=null,C(s3,"AdapterImpl",1174),v(2093,70,nae),a.Ei=function(e,n){return kct(this,e,n)},a.Fi=function(e){var n,r,i;if(++this.j,e.dc())return!1;for(n=this.Ej(),i=e.Kc();i.Ob();)r=i.Pb(),this.rj(this.Zi(n,r)),++n;return!0},a.Gi=function(e,n){IRt(this,e,n)},a.Hi=function(e){sHt(this,e)},a.pj=function(){return this.sj()},a.$b=function(){ZS(this,this.Ej(),this.Fj())},a.Hc=function(e){return this.uj(e)},a.Ic=function(e){return this.vj(e)},a.qj=function(e,n){this.Bj().Um()},a.rj=function(e){this.Bj().Um()},a.sj=function(){return this.Bj()},a.tj=function(){this.Bj().Um()},a.uj=function(e){return this.Bj().Um()},a.vj=function(e){return this.Bj().Um()},a.wj=function(e){return this.Bj().Um()},a.xj=function(e){return this.Bj().Um()},a.yj=function(){return this.Bj().Um()},a.zj=function(e){return this.Bj().Um()},a.Aj=function(){return this.Bj().Um()},a.Cj=function(e){return this.Bj().Um()},a.Dj=function(e,n){return this.Bj().Um()},a.Ej=function(){return this.Bj().Um()},a.Fj=function(){return this.Bj().Um()},a.Gj=function(e){return this.Bj().Um()},a.Hj=function(){return this.Bj().Um()},a.Fb=function(e){return this.wj(e)},a.Xb=function(e){return this.Wi(e,this.xj(e))},a.Hb=function(){return this.yj()},a.dd=function(e){return this.zj(e)},a.dc=function(){return this.Aj()},a.Ti=function(e,n){return $at(this,e,n)},a.Vi=function(e){return this.xj(e)},a.gd=function(e){return xL(this,e)},a.Mc=function(e){var n;return n=this.dd(e),n>=0?(this.gd(n),!0):!1},a.Xi=function(e,n){return this.Dj(e,this.Zi(e,n))},a.gc=function(){return this.Ej()},a.Pc=function(){return this.Fj()},a.Qc=function(e){return this.Gj(e)},a.Ib=function(){return this.Hj()},C(_s,"DelegatingEList",2093),v(2094,2093,nae),a.Ei=function(e,n){return fut(this,e,n)},a.Fi=function(e){return this.Ei(this.Ej(),e)},a.Gi=function(e,n){Bte(this,e,n)},a.Hi=function(e){bte(this,e)},a.Li=function(){return!this.Mj()},a.$b=function(){d6(this)},a.Ij=function(e,n,r,i,s){return new rKt(this,e,n,r,i,s)},a.Jj=function(e){ur(this.jj(),e)},a.Kj=function(){return null},a.Lj=function(){return-1},a.jj=function(){return null},a.Mj=function(){return!1},a.Nj=function(e,n){return n},a.Oj=function(e,n){return n},a.Pj=function(){return!1},a.Qj=function(){return!this.Aj()},a.Ti=function(e,n){var r,i;return this.Pj()?(i=this.Qj(),r=$at(this,e,n),this.Jj(this.Ij(7,Ct(n),r,e,i)),r):$at(this,e,n)},a.gd=function(e){var n,r,i,s;return this.Pj()?(r=null,i=this.Qj(),n=this.Ij(4,s=xL(this,e),null,e,i),this.Mj()&&s?(r=this.Oj(s,r),r?(r.nj(n),r.oj()):this.Jj(n)):r?(r.nj(n),r.oj()):this.Jj(n),s):(s=xL(this,e),this.Mj()&&s&&(r=this.Oj(s,null),r&&r.oj()),s)},a.Xi=function(e,n){return Ine(this,e,n)},C(s3,"DelegatingNotifyingListImpl",2094),v(152,1,mE),a.nj=function(e){return xat(this,e)},a.oj=function(){Iq(this)},a.gj=function(){return this.d},a.Kj=function(){return null},a.Rj=function(){return null},a.hj=function(e){return-1},a.ij=function(){return kee(this)},a.jj=function(){return null},a.kj=function(){return Klt(this)},a.lj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},a.Sj=function(){return!1},a.mj=function(e){var n,r,i,s,l,u,f,g,b,y,x;switch(this.d){case 1:case 2:switch(s=e.gj(),s){case 1:case 2:if(l=e.jj(),it(l)===it(this.jj())&&this.hj(null)==e.hj(null))return this.g=e.ij(),e.gj()==1&&(this.d=1),!0}case 4:{switch(s=e.gj(),s){case 4:{if(l=e.jj(),it(l)===it(this.jj())&&this.hj(null)==e.hj(null))return b=Mut(this),g=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,u=e.lj(),this.d=6,x=new Jb(2),g<=u?(mn(x,this.n),mn(x,e.kj()),this.g=W(K(vn,1),Wn,28,15,[this.o=g,u+1])):(mn(x,e.kj()),mn(x,this.n),this.g=W(K(vn,1),Wn,28,15,[this.o=u,g])),this.n=x,b||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(s=e.gj(),s){case 4:{if(l=e.jj(),it(l)===it(this.jj())&&this.hj(null)==e.hj(null)){for(b=Mut(this),u=e.lj(),y=o(this.g,53),i=at(vn,Wn,28,y.length+1,15,1),n=0;n<y.length&&(f=y[n],f<=u);)i[n++]=f,++u;for(r=o(this.n,15),r.bd(n,e.kj()),i[n]=u;++n<i.length;)i[n]=y[n-1];return this.g=i,b||(this.o=-2-i[0]),!0}break}}break}}return!1},a.Ib=function(){var e,n,r,i;switch(i=new Jl(a0(this.Rm)+"@"+(n=Mr(this)>>>0,n.toString(16))),i.a+=" (eventType: ",this.d){case 1:{i.a+="SET";break}case 2:{i.a+="UNSET";break}case 3:{i.a+="ADD";break}case 5:{i.a+="ADD_MANY";break}case 4:{i.a+="REMOVE";break}case 6:{i.a+="REMOVE_MANY";break}case 7:{i.a+="MOVE";break}case 8:{i.a+="REMOVING_ADAPTER";break}case 9:{i.a+="RESOLVE";break}default:{Y$(i,this.d);break}}if(ane(this)&&(i.a+=", touch: true"),i.a+=", position: ",Y$(i,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),i.a+=", notifier: ",Kx(i,this.jj()),i.a+=", feature: ",Kx(i,this.Kj()),i.a+=", oldValue: ",Kx(i,Klt(this)),i.a+=", newValue: ",this.d==6&&Q(this.g,53)){for(r=o(this.g,53),i.a+="[",e=0;e<r.length;)i.a+=r[e],++e<r.length&&(i.a+=Fs);i.a+="]"}else Kx(i,kee(this));return i.a+=", isTouch: ",Zd(i,ane(this)),i.a+=", wasSet: ",Zd(i,Mut(this)),i.a+=")",i.a},a.d=0,a.e=0,a.f=0,a.j=0,a.k=0,a.o=0,a.p=0,C(s3,"NotificationImpl",152),v(1188,152,mE,rKt),a.Kj=function(){return this.a.Kj()},a.hj=function(e){return this.a.Lj()},a.jj=function(){return this.a.jj()},C(s3,"DelegatingNotifyingListImpl/1",1188),v(251,66,pf,vEt,Y1),a.Fc=function(e){return LYt(this,o(e,378))},a.nj=function(e){return LYt(this,e)},a.oj=function(){var e,n,r;for(e=0;e<this.i;++e)n=o(this.g[e],378),r=n.jj(),r!=null&&n.gj()!=-1&&o(r,94).xh(n)},a.aj=function(e){return at(Wnn,ye,378,e,0,1)},C(s3,"NotificationChainImpl",251),v(1524,93,gce),a.uh=function(){return this.e},a.wh=function(){return(this.f&1)!=0},a.f=1,C(s3,"NotifierImpl",1524),v(2091,66,pf),a.Ei=function(e,n){return nz(this,e,n)},a.Fi=function(e){return this.Ei(this.i,e)},a.Gi=function(e,n){wlt(this,e,n)},a.Hi=function(e){jK(this,e)},a.Li=function(){return!this.Mj()},a.$b=function(){pn(this)},a.Ij=function(e,n,r,i,s){return new nKt(this,e,n,r,i,s)},a.Jj=function(e){ur(this.jj(),e)},a.Kj=function(){return null},a.Lj=function(){return-1},a.jj=function(){return null},a.Mj=function(){return!1},a.Tj=function(){return!1},a.Nj=function(e,n){return n},a.Oj=function(e,n){return n},a.Pj=function(){return!1},a.Qj=function(){return this.i!=0},a.Ti=function(e,n){return $5(this,e,n)},a.gd=function(e){return Kp(this,e)},a.Xi=function(e,n){return Jne(this,e,n)},a.Uj=function(e,n){return n},a.Vj=function(e,n){return n},a.Wj=function(e,n,r){return r},C(s3,"NotifyingListImpl",2091),v(1187,152,mE,nKt),a.Kj=function(){return this.a.Kj()},a.hj=function(e){return this.a.Lj()},a.jj=function(){return this.a.jj()},C(s3,"NotifyingListImpl/1",1187),v(966,66,pf,DRt),a.Hc=function(e){return this.i>10?((!this.b||this.c.j!=this.a)&&(this.b=new e5(this),this.a=this.j),Ju(this.b,e)):mC(this,e)},a.Yi=function(){return!0},a.a=0,C(_s,"AbstractEList/1",966),v(302,77,Jz,wp),C(_s,"AbstractEList/BasicIndexOutOfBoundsException",302),v(37,1,Qi,Ke),a.Nb=function(e){hs(this,e)},a.Xj=function(){if(this.i.j!=this.f)throw N(new xl)},a.Yj=function(){return Ye(this)},a.Ob=function(){return this.e!=this.i.gc()},a.Pb=function(){return this.Yj()},a.Qb=function(){V5(this)},a.e=0,a.f=0,a.g=-1,C(_s,"AbstractEList/EIterator",37),v(286,37,Nf,lv,FN),a.Qb=function(){V5(this)},a.Rb=function(e){PYt(this,e)},a.Zj=function(){var e;try{return e=this.d.Xb(--this.e),this.Xj(),this.g=this.e,e}catch(n){throw n=Ur(n),Q(n,77)?(this.Xj(),N(new Mo)):N(n)}},a.$j=function(e){NJt(this,e)},a.Sb=function(){return this.e!=0},a.Tb=function(){return this.e},a.Ub=function(){return this.Zj()},a.Vb=function(){return this.e-1},a.Wb=function(e){this.$j(e)},C(_s,"AbstractEList/EListIterator",286),v(355,37,Qi,uv),a.Yj=function(){return VH(this)},a.Qb=function(){throw N(new Fn)},C(_s,"AbstractEList/NonResolvingEIterator",355),v(398,286,Nf,YS,srt),a.Rb=function(e){throw N(new Fn)},a.Yj=function(){var e;try{return e=this.c.Vi(this.e),this.Xj(),this.g=this.e++,e}catch(n){throw n=Ur(n),Q(n,77)?(this.Xj(),N(new Mo)):N(n)}},a.Zj=function(){var e;try{return e=this.c.Vi(--this.e),this.Xj(),this.g=this.e,e}catch(n){throw n=Ur(n),Q(n,77)?(this.Xj(),N(new Mo)):N(n)}},a.Qb=function(){throw N(new Fn)},a.Wb=function(e){throw N(new Fn)},C(_s,"AbstractEList/NonResolvingEListIterator",398),v(2080,70,rae),a.Ei=function(e,n){var r,i,s,l,u,f,g,b,y,x,S;if(s=n.gc(),s!=0){for(b=o(Be(this.a,4),129),y=b==null?0:b.length,S=y+s,i=mH(this,S),x=y-e,x>0&&uc(b,e,i,e+s,x),g=n.Kc(),u=0;u<s;++u)f=g.Pb(),r=e+u,HR(i,r,nC(this,f));for(gC(this,i),l=0;l<s;++l)f=i[e],this.Mi(e,f),++e;return!0}else return++this.j,!1},a.Fi=function(e){var n,r,i,s,l,u,f,g,b;if(i=e.gc(),i!=0){for(g=(r=o(Be(this.a,4),129),r==null?0:r.length),b=g+i,n=mH(this,b),f=e.Kc(),l=g;l<b;++l)u=f.Pb(),HR(n,l,nC(this,u));for(gC(this,n),s=g;s<b;++s)u=n[s],this.Mi(s,u);return!0}else return++this.j,!1},a.Gi=function(e,n){var r,i,s,l;i=o(Be(this.a,4),129),s=i==null?0:i.length,r=mH(this,s+1),l=nC(this,n),e!=s&&uc(i,e,r,e+1,s-e),ei(r,e,l),gC(this,r),this.Mi(e,n)},a.Hi=function(e){var n,r,i;i=(r=o(Be(this.a,4),129),r==null?0:r.length),n=mH(this,i+1),HR(n,i,nC(this,e)),gC(this,n),this.Mi(i,e)},a.Ii=function(){return new BWt(this)},a.Ji=function(){return new Rqt(this)},a.Ki=function(e){var n,r;if(r=(n=o(Be(this.a,4),129),n==null?0:n.length),e<0||e>r)throw N(new wp(e,r));return new SHt(this,e)},a.$b=function(){var e,n;++this.j,e=o(Be(this.a,4),129),n=e==null?0:e.length,gC(this,null),Eq(this,n,e)},a.Hc=function(e){var n,r,i,s,l;if(n=o(Be(this.a,4),129),n!=null){if(e!=null){for(i=n,s=0,l=i.length;s<l;++s)if(r=i[s],hr(e,r))return!0}else for(i=n,s=0,l=i.length;s<l;++s)if(r=i[s],it(r)===it(e))return!0}return!1},a.Xb=function(e){var n,r;if(n=o(Be(this.a,4),129),r=n==null?0:n.length,e>=r)throw N(new wp(e,r));return n[e]},a.dd=function(e){var n,r,i;if(n=o(Be(this.a,4),129),n!=null){if(e!=null){for(r=0,i=n.length;r<i;++r)if(hr(e,n[r]))return r}else for(r=0,i=n.length;r<i;++r)if(it(n[r])===it(e))return r}return-1},a.dc=function(){return o(Be(this.a,4),129)==null},a.Kc=function(){return new EWt(this)},a.ed=function(){return new $qt(this)},a.fd=function(e){var n,r;if(r=(n=o(Be(this.a,4),129),n==null?0:n.length),e<0||e>r)throw N(new wp(e,r));return new THt(this,e)},a.Ti=function(e,n){var r,i,s;if(r=WYt(this),s=r==null?0:r.length,e>=s)throw N(new ro(KU+e+H0+s));if(n>=s)throw N(new ro(zU+n+H0+s));return i=r[n],e!=n&&(e<n?uc(r,e,r,e+1,n-e):uc(r,n+1,r,n,e-n),ei(r,e,i),gC(this,r)),i},a.Vi=function(e){return o(Be(this.a,4),129)[e]},a.gd=function(e){return AUe(this,e)},a.Xi=function(e,n){var r,i;return r=WYt(this),i=r[e],HR(r,e,nC(this,n)),gC(this,r),i},a.gc=function(){var e;return e=o(Be(this.a,4),129),e==null?0:e.length},a.Pc=function(){var e,n,r;return e=o(Be(this.a,4),129),r=e==null?0:e.length,n=at(UY,VU,424,r,0,1),r>0&&uc(e,0,n,0,r),n},a.Qc=function(e){var n,r,i;return n=o(Be(this.a,4),129),i=n==null?0:n.length,i>0&&(e.length<i&&(r=q9(Ja(e).c,i),e=r),uc(n,0,e,0,i)),e.length>i&&ei(e,i,null),e};var Ipe;C(_s,"ArrayDelegatingEList",2080),v(1051,37,Qi,EWt),a.Xj=function(){if(this.b.j!=this.f||it(o(Be(this.b.a,4),129))!==it(this.a))throw N(new xl)},a.Qb=function(){V5(this),this.a=o(Be(this.b.a,4),129)},C(_s,"ArrayDelegatingEList/EIterator",1051),v(722,286,Nf,$qt,THt),a.Xj=function(){if(this.b.j!=this.f||it(o(Be(this.b.a,4),129))!==it(this.a))throw N(new xl)},a.$j=function(e){NJt(this,e),this.a=o(Be(this.b.a,4),129)},a.Qb=function(){V5(this),this.a=o(Be(this.b.a,4),129)},C(_s,"ArrayDelegatingEList/EListIterator",722),v(1052,355,Qi,BWt),a.Xj=function(){if(this.b.j!=this.f||it(o(Be(this.b.a,4),129))!==it(this.a))throw N(new xl)},C(_s,"ArrayDelegatingEList/NonResolvingEIterator",1052),v(723,398,Nf,Rqt,SHt),a.Xj=function(){if(this.b.j!=this.f||it(o(Be(this.b.a,4),129))!==it(this.a))throw N(new xl)},C(_s,"ArrayDelegatingEList/NonResolvingEListIterator",723),v(615,302,Jz,jR),C(_s,"BasicEList/BasicIndexOutOfBoundsException",615),v(710,66,pf,Get),a.bd=function(e,n){throw N(new Fn)},a.Fc=function(e){throw N(new Fn)},a.cd=function(e,n){throw N(new Fn)},a.Gc=function(e){throw N(new Fn)},a.$b=function(){throw N(new Fn)},a._i=function(e){throw N(new Fn)},a.Kc=function(){return this.Ii()},a.ed=function(){return this.Ji()},a.fd=function(e){return this.Ki(e)},a.Ti=function(e,n){throw N(new Fn)},a.Ui=function(e,n){throw N(new Fn)},a.gd=function(e){throw N(new Fn)},a.Mc=function(e){throw N(new Fn)},a.hd=function(e,n){throw N(new Fn)},C(_s,"BasicEList/UnmodifiableEList",710),v(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),a.bd=function(e,n){E9e(this,e,o(n,44))},a.Fc=function(e){return y7e(this,o(e,44))},a.Jc=function(e){ds(this,e)},a.Xb=function(e){return o(tt(this.c,e),136)},a.Ti=function(e,n){return o(this.c.Ti(e,n),44)},a.Ui=function(e,n){B9e(this,e,o(n,44))},a.Lc=function(){return new ee(null,new se(this,16))},a.gd=function(e){return o(this.c.gd(e),44)},a.hd=function(e,n){return HMe(this,e,o(n,44))},a.jd=function(e){C0(this,e)},a.Nc=function(){return new se(this,16)},a.Oc=function(){return new ee(null,new se(this,16))},a.cd=function(e,n){return this.c.cd(e,n)},a.Gc=function(e){return this.c.Gc(e)},a.$b=function(){this.c.$b()},a.Hc=function(e){return this.c.Hc(e)},a.Ic=function(e){return X9(this.c,e)},a._j=function(){var e,n,r;if(this.d==null){for(this.d=at(hvt,v1t,66,2*this.f+1,0,1),r=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)e=o(n.Yj(),136),B_(this,e);this.e=r}},a.Fb=function(e){return fNt(this,e)},a.Hb=function(){return xot(this.c)},a.dd=function(e){return this.c.dd(e)},a.ak=function(){this.c=new pOt(this)},a.dc=function(){return this.f==0},a.Kc=function(){return this.c.Kc()},a.ed=function(){return this.c.ed()},a.fd=function(e){return this.c.fd(e)},a.bk=function(){return M9(this)},a.ck=function(e,n,r){return new SNt(e,n,r)},a.dk=function(){return new kEt},a.Mc=function(e){return QGt(this,e)},a.gc=function(){return this.f},a.kd=function(e,n){return new o1(this.c,e,n)},a.Pc=function(){return this.c.Pc()},a.Qc=function(e){return this.c.Qc(e)},a.Ib=function(){return pct(this.c)},a.e=0,a.f=0,C(_s,"BasicEMap",721),v(1046,66,pf,pOt),a.Mi=function(e,n){i8e(this,o(n,136))},a.Pi=function(e,n,r){var i;++(i=this,o(n,136),i).a.e},a.Qi=function(e,n){s8e(this,o(n,136))},a.Ri=function(e,n,r){i7e(this,o(n,136),o(r,136))},a.Oi=function(e,n){WXt(this.a)},C(_s,"BasicEMap/1",1046),v(1047,66,pf,kEt),a.aj=function(e){return at(Unn,iae,621,e,0,1)},C(_s,"BasicEMap/2",1047),v(1048,Lh,ha,mOt),a.$b=function(){this.a.c.$b()},a.Hc=function(e){return RH(this.a,e)},a.Kc=function(){return this.a.f==0?(wk(),PB.a):new tPt(this.a)},a.Mc=function(e){var n;return n=this.a.f,b_(this.a,e),this.a.f!=n},a.gc=function(){return this.a.f},C(_s,"BasicEMap/3",1048),v(1049,31,Gp,yOt),a.$b=function(){this.a.c.$b()},a.Hc=function(e){return qee(this.a,e)},a.Kc=function(){return this.a.f==0?(wk(),PB.a):new ePt(this.a)},a.gc=function(){return this.a.f},C(_s,"BasicEMap/4",1049),v(1050,Lh,ha,vOt),a.$b=function(){this.a.c.$b()},a.Hc=function(e){var n,r,i,s,l,u,f,g,b;if(this.a.f>0&&Q(e,44)&&(this.a._j(),g=o(e,44),f=g.ld(),s=f==null?0:Mr(f),l=znt(this.a,s),n=this.a.d[l],n)){for(r=o(n.g,379),b=n.i,u=0;u<b;++u)if(i=r[u],i.Bi()==s&&i.Fb(g))return!0}return!1},a.Kc=function(){return this.a.f==0?(wk(),PB.a):new XN(this.a)},a.Mc=function(e){return _te(this,e)},a.gc=function(){return this.a.f},C(_s,"BasicEMap/5",1050),v(622,1,Qi,XN),a.Nb=function(e){hs(this,e)},a.Ob=function(){return this.b!=-1},a.Pb=function(){var e;if(this.f.e!=this.c)throw N(new xl);if(this.b==-1)throw N(new Mo);return this.d=this.a,this.e=this.b,mQt(this),e=o(this.f.d[this.d].g[this.e],136),this.ek(e)},a.Qb=function(){if(this.f.e!=this.c)throw N(new xl);if(this.e==-1)throw N(new na);this.f.c.Mc(tt(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&this.b!=-1&&--this.b},a.ek=function(e){return e},a.a=0,a.b=-1,a.c=0,a.d=0,a.e=0,C(_s,"BasicEMap/BasicEMapIterator",622),v(1044,622,Qi,tPt),a.ek=function(e){return e.ld()},C(_s,"BasicEMap/BasicEMapKeyIterator",1044),v(1045,622,Qi,ePt),a.ek=function(e){return e.md()},C(_s,"BasicEMap/BasicEMapValueIterator",1045),v(1043,1,ww,kOt),a.wc=function(e){B5(this,e)},a.yc=function(e,n,r){return IH(this,e,n,r)},a.$b=function(){this.a.c.$b()},a._b=function(e){return IDt(this,e)},a.uc=function(e){return qee(this.a,e)},a.vc=function(){return BIe(this.a)},a.Fb=function(e){return fNt(this.a,e)},a.xc=function(e){return sh(this.a,e)},a.Hb=function(){return xot(this.a.c)},a.dc=function(){return this.a.f==0},a.ec=function(){return SIe(this.a)},a.zc=function(e,n){return p7(this.a,e,n)},a.Bc=function(e){return b_(this.a,e)},a.gc=function(){return this.a.f},a.Ib=function(){return pct(this.a.c)},a.Cc=function(){return EIe(this.a)},C(_s,"BasicEMap/DelegatingMap",1043),v(621,1,{44:1,136:1,621:1},SNt),a.Fb=function(e){var n;return Q(e,44)?(n=o(e,44),(this.b!=null?hr(this.b,n.ld()):it(this.b)===it(n.ld()))&&(this.c!=null?hr(this.c,n.md()):it(this.c)===it(n.md()))):!1},a.Bi=function(){return this.a},a.ld=function(){return this.b},a.md=function(){return this.c},a.Hb=function(){return this.a^(this.c==null?0:Mr(this.c))},a.Ci=function(e){this.a=e},a.Di=function(e){throw N(new o0)},a.nd=function(e){var n;return n=this.c,this.c=e,n},a.Ib=function(){return this.b+"->"+this.c},a.a=0;var Unn=C(_s,"BasicEMap/EntryImpl",621);v(546,1,{},WA),C(_s,"BasicEMap/View",546);var PB;v(783,1,{}),a.Fb=function(e){return Elt((le(),Os),e)},a.Hb=function(){return Pot((le(),Os))},a.Ib=function(){return pg((le(),Os))},C(_s,"ECollections/BasicEmptyUnmodifiableEList",783),v(1348,1,Nf,CEt),a.Nb=function(e){hs(this,e)},a.Rb=function(e){throw N(new Fn)},a.Ob=function(){return!1},a.Sb=function(){return!1},a.Pb=function(){throw N(new Mo)},a.Tb=function(){return 0},a.Ub=function(){throw N(new Mo)},a.Vb=function(){return-1},a.Qb=function(){throw N(new Fn)},a.Wb=function(e){throw N(new Fn)},C(_s,"ECollections/BasicEmptyUnmodifiableEList/1",1348),v(1346,783,{20:1,16:1,15:1,61:1},uIt),a.bd=function(e,n){SPt()},a.Fc=function(e){return EPt()},a.cd=function(e,n){return BPt()},a.Gc=function(e){return APt()},a.$b=function(){MPt()},a.Hc=function(e){return!1},a.Ic=function(e){return!1},a.Jc=function(e){ds(this,e)},a.Xb=function(e){return Yet((le(),e)),null},a.dd=function(e){return-1},a.dc=function(){return!0},a.Kc=function(){return this.a},a.ed=function(){return this.a},a.fd=function(e){return this.a},a.Ti=function(e,n){return LPt()},a.Ui=function(e,n){FPt()},a.Lc=function(){return new ee(null,new se(this,16))},a.gd=function(e){return _Pt()},a.Mc=function(e){return OPt()},a.hd=function(e,n){return IPt()},a.gc=function(){return 0},a.jd=function(e){C0(this,e)},a.Nc=function(){return new se(this,16)},a.Oc=function(){return new ee(null,new se(this,16))},a.kd=function(e,n){return le(),new o1(Os,e,n)},a.Pc=function(){return Grt((le(),Os))},a.Qc=function(e){return le(),W5(Os,e)},C(_s,"ECollections/EmptyUnmodifiableEList",1346),v(1347,783,{20:1,16:1,15:1,61:1,597:1},hIt),a.bd=function(e,n){SPt()},a.Fc=function(e){return EPt()},a.cd=function(e,n){return BPt()},a.Gc=function(e){return APt()},a.$b=function(){MPt()},a.Hc=function(e){return!1},a.Ic=function(e){return!1},a.Jc=function(e){ds(this,e)},a.Xb=function(e){return Yet((le(),e)),null},a.dd=function(e){return-1},a.dc=function(){return!0},a.Kc=function(){return this.a},a.ed=function(){return this.a},a.fd=function(e){return this.a},a.Ti=function(e,n){return LPt()},a.Ui=function(e,n){FPt()},a.Lc=function(){return new ee(null,new se(this,16))},a.gd=function(e){return _Pt()},a.Mc=function(e){return OPt()},a.hd=function(e,n){return IPt()},a.gc=function(){return 0},a.jd=function(e){C0(this,e)},a.Nc=function(){return new se(this,16)},a.Oc=function(){return new ee(null,new se(this,16))},a.kd=function(e,n){return le(),new o1(Os,e,n)},a.Pc=function(){return Grt((le(),Os))},a.Qc=function(e){return le(),W5(Os,e)},a.bk=function(){return le(),le(),Gf},C(_s,"ECollections/EmptyUnmodifiableEMap",1347);var dvt=Qr(_s,"Enumerator"),Hj;v(288,1,{288:1},UK),a.Fb=function(e){var n;return this===e?!0:Q(e,288)?(n=o(e,288),this.f==n.f&&iMe(this.i,n.i)&&yN(this.a,(this.f&256)!=0?(n.f&256)!=0?n.a:null:(n.f&256)!=0?null:n.a)&&yN(this.d,n.d)&&yN(this.g,n.g)&&yN(this.e,n.e)&&ANe(this,n)):!1},a.Hb=function(){return this.f},a.Ib=function(){return vne(this)},a.f=0;var Ppe=0,jpe=0,Dpe=0,$pe=0,gvt=0,bvt=0,wvt=0,pvt=0,mvt=0,Rpe,JT=0,QT=0,Npe=0,qpe=0,Kj,yvt;C(_s,"URI",288),v(1121,45,Rm,fIt),a.zc=function(e,n){return o(so(this,On(e),o(n,288)),288)},C(_s,"URI/URICache",1121),v(506,66,pf,wEt,ML),a.Si=function(){return!0},C(_s,"UniqueEList",506),v(590,63,Fd,CF),C(_s,"WrappedException",590);var Gn=Qr(ql,cae),M2=Qr(ql,aae),ea=Qr(ql,lae),L2=Qr(ql,uae),dh=Qr(ql,hae),fu=Qr(ql,"EClass"),GY=Qr(ql,"EDataType"),Hpe;v(1233,45,Rm,dIt),a.xc=function(e){return Ji(e)?gc(this,e):go(zs(this.f,e))},C(ql,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1233);var zj=Qr(ql,"EEnum"),Nd=Qr(ql,fae),Js=Qr(ql,dae),du=Qr(ql,gae),gu,zw=Qr(ql,bae),F2=Qr(ql,wae);v(1042,1,{},bEt),a.Ib=function(){return"NIL"},C(ql,"EStructuralFeature/Internal/DynamicValueHolder/1",1042);var Kpe;v(1041,45,Rm,gIt),a.xc=function(e){return Ji(e)?gc(this,e):go(zs(this.f,e))},C(ql,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1041);var Wc=Qr(ql,pae),A3=Qr(ql,"EValidator/PatternMatcher"),vvt,kvt,Se,D1,_2,Wg,zpe,Wpe,Upe,Ug,$1,Gg,Ww,Kh,Gpe,Xpe,bu,R1,Vpe,N1,O2,My,$s,Ype,Jpe,Uw,Wj=Qr(Nr,"FeatureMap/Entry");v(545,1,{76:1},UM),a.Lk=function(){return this.a},a.md=function(){return this.b},C(Ee,"BasicEObjectImpl/1",545),v(1040,1,YU,jDt),a.Fk=function(e){return Cq(this.a,this.b,e)},a.Qj=function(){return mKt(this.a,this.b)},a.Wb=function(e){Pit(this.a,this.b,e)},a.Gk=function(){eLe(this.a,this.b)},C(Ee,"BasicEObjectImpl/4",1040),v(2081,1,{114:1}),a.Mk=function(e){this.e=e==0?Qpe:at(Hi,ye,1,e,5,1)},a.li=function(e){return this.e[e]},a.mi=function(e,n){this.e[e]=n},a.ni=function(e){this.e[e]=null},a.Nk=function(){return this.c},a.Ok=function(){throw N(new Fn)},a.Pk=function(){throw N(new Fn)},a.Qk=function(){return this.d},a.Rk=function(){return this.e!=null},a.Sk=function(e){this.c=e},a.Tk=function(e){throw N(new Fn)},a.Uk=function(e){throw N(new Fn)},a.Vk=function(e){this.d=e};var Qpe;C(Ee,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2081),v(192,2081,{114:1},Vu),a.Ok=function(){return this.a},a.Pk=function(){return this.b},a.Tk=function(e){this.a=e},a.Uk=function(e){this.b=e},C(Ee,"BasicEObjectImpl/EPropertiesHolderImpl",192),v(516,99,mce,UA),a.uh=function(){return this.f},a.zh=function(){return this.k},a.Bh=function(e,n){this.g=e,this.i=n},a.Dh=function(){return(this.j&2)==0?this.ii():this.$h().Nk()},a.Fh=function(){return this.i},a.wh=function(){return(this.j&1)!=0},a.Ph=function(){return this.g},a.Vh=function(){return(this.j&4)!=0},a.$h=function(){return!this.k&&(this.k=new Vu),this.k},a.ci=function(e){this.$h().Sk(e),e?this.j|=2:this.j&=-3},a.ei=function(e){this.$h().Uk(e),e?this.j|=4:this.j&=-5},a.ii=function(){return(ig(),Se).S},a.i=0,a.j=1,C(Ee,"EObjectImpl",516),v(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},Lrt),a.li=function(e){return this.e[e]},a.mi=function(e,n){this.e[e]=n},a.ni=function(e){this.e[e]=null},a.Dh=function(){return this.d},a.Ih=function(e){return Gr(this.d,e)},a.Kh=function(){return this.d},a.Oh=function(){return this.e!=null},a.$h=function(){return!this.k&&(this.k=new xEt),this.k},a.ci=function(e){this.d=e},a.hi=function(){var e;return this.e==null&&(e=en(this.d),this.e=e==0?Zpe:at(Hi,ye,1,e,5,1)),this},a.ji=function(){return 0};var Zpe;C(Ee,"DynamicEObjectImpl",798),v(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},YNt),a.Fb=function(e){return this===e},a.Hb=function(){return Ib(this)},a.ci=function(e){this.d=e,this.b=L7(e,"key"),this.c=L7(e,j6)},a.Bi=function(){var e;return this.a==-1&&(e=Pq(this,this.b),this.a=e==null?0:Mr(e)),this.a},a.ld=function(){return Pq(this,this.b)},a.md=function(){return Pq(this,this.c)},a.Ci=function(e){this.a=e},a.Di=function(e){Pit(this,this.b,e)},a.nd=function(e){var n;return n=Pq(this,this.c),Pit(this,this.c,e),n},a.a=0,C(Ee,"DynamicEObjectImpl/BasicEMapEntry",1522),v(1523,1,{114:1},xEt),a.Mk=function(e){throw N(new Fn)},a.li=function(e){throw N(new Fn)},a.mi=function(e,n){throw N(new Fn)},a.ni=function(e){throw N(new Fn)},a.Nk=function(){throw N(new Fn)},a.Ok=function(){return this.a},a.Pk=function(){return this.b},a.Qk=function(){return this.c},a.Rk=function(){throw N(new Fn)},a.Sk=function(e){throw N(new Fn)},a.Tk=function(e){this.a=e},a.Uk=function(e){this.b=e},a.Vk=function(e){this.c=e},C(Ee,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1523),v(519,158,{110:1,94:1,93:1,598:1,155:1,58:1,114:1,54:1,99:1,519:1,158:1,119:1,120:1},FZ),a.Ah=function(e){return oat(this,e)},a.Lh=function(e,n,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab;case 1:return this.d;case 2:return r?(!this.b&&(this.b=new Xa((ae(),$s),Go,this)),this.b):(!this.b&&(this.b=new Xa((ae(),$s),Go,this)),M9(this.b));case 3:return xKt(this);case 4:return!this.a&&(this.a=new ki(Kg,this,4)),this.a;case 5:return!this.c&&(this.c=new am(Kg,this,5)),this.c}return Fl(this,e-en((ae(),D1)),pe((i=o(Be(this,16),29),i||D1),e),n,r)},a.Sh=function(e,n,r){var i,s,l;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ac(this.Ab,e,r);case 3:return this.Cb&&(r=(s=this.Db>>16,s>=0?oat(this,r):this.Cb.Th(this,-1-s,null,r))),Urt(this,o(e,155),r)}return l=o(pe((i=o(Be(this,16),29),i||(ae(),D1)),n),69),l.wk().zk(this,Rc(this),n-en((ae(),D1)),e,r)},a.Uh=function(e,n,r){var i,s;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ls(this.Ab,e,r);case 2:return!this.b&&(this.b=new Xa((ae(),$s),Go,this)),hL(this.b,e,r);case 3:return Urt(this,null,r);case 4:return!this.a&&(this.a=new ki(Kg,this,4)),Ls(this.a,e,r)}return s=o(pe((i=o(Be(this,16),29),i||(ae(),D1)),n),69),s.wk().Ak(this,Rc(this),n-en((ae(),D1)),e,r)},a.Wh=function(e){var n;switch(e){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!!xKt(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return Ml(this,e-en((ae(),D1)),pe((n=o(Be(this,16),29),n||D1),e))},a.bi=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return;case 1:WAe(this,On(n));return;case 2:!this.b&&(this.b=new Xa((ae(),$s),Go,this)),GF(this.b,n);return;case 3:aee(this,o(n,155));return;case 4:!this.a&&(this.a=new ki(Kg,this,4)),pn(this.a),!this.a&&(this.a=new ki(Kg,this,4)),ii(this.a,o(n,16));return;case 5:!this.c&&(this.c=new am(Kg,this,5)),pn(this.c),!this.c&&(this.c=new am(Kg,this,5)),ii(this.c,o(n,16));return}Pl(this,e-en((ae(),D1)),pe((r=o(Be(this,16),29),r||D1),e),n)},a.ii=function(){return ae(),D1},a.ki=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return;case 1:cot(this,null);return;case 2:!this.b&&(this.b=new Xa((ae(),$s),Go,this)),this.b.c.$b();return;case 3:aee(this,null);return;case 4:!this.a&&(this.a=new ki(Kg,this,4)),pn(this.a);return;case 5:!this.c&&(this.c=new am(Kg,this,5)),pn(this.c);return}Il(this,e-en((ae(),D1)),pe((n=o(Be(this,16),29),n||D1),e))},a.Ib=function(){return fYt(this)},a.d=null,C(Ee,"EAnnotationImpl",519),v(141,721,k1t,aa),a.Gi=function(e,n){l9e(this,e,o(n,44))},a.Wk=function(e,n){return hEe(this,o(e,44),n)},a.$i=function(e){return o(o(this.c,71).$i(e),136)},a.Ii=function(){return o(this.c,71).Ii()},a.Ji=function(){return o(this.c,71).Ji()},a.Ki=function(e){return o(this.c,71).Ki(e)},a.Xk=function(e,n){return hL(this,e,n)},a.Fk=function(e){return o(this.c,79).Fk(e)},a.ak=function(){},a.Qj=function(){return o(this.c,79).Qj()},a.ck=function(e,n,r){var i;return i=o(sl(this.b).wi().si(this.b),136),i.Ci(e),i.Di(n),i.nd(r),i},a.dk=function(){return new dtt(this)},a.Wb=function(e){GF(this,e)},a.Gk=function(){o(this.c,79).Gk()},C(Nr,"EcoreEMap",141),v(165,141,k1t,Xa),a._j=function(){var e,n,r,i,s,l;if(this.d==null){for(l=at(hvt,v1t,66,2*this.f+1,0,1),r=this.c.Kc();r.e!=r.i.gc();)n=o(r.Yj(),136),i=n.Bi(),s=(i&ar)%l.length,e=l[s],!e&&(e=l[s]=new dtt(this)),e.Fc(n);this.d=l}},C(Ee,"EAnnotationImpl/1",165),v(292,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,481:1,54:1,99:1,158:1,292:1,119:1,120:1}),a.Lh=function(e,n,r){var i,s;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Te(),(this.Bb&256)!=0;case 3:return Te(),(this.Bb&512)!=0;case 4:return Ct(this.s);case 5:return Ct(this.t);case 6:return Te(),!!this.Jk();case 7:return Te(),s=this.s,s>=1;case 8:return n?eu(this):this.r;case 9:return this.q}return Fl(this,e-en(this.ii()),pe((i=o(Be(this,16),29),i||this.ii()),e),n,r)},a.Uh=function(e,n,r){var i,s;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ls(this.Ab,e,r);case 9:return IN(this,r)}return s=o(pe((i=o(Be(this,16),29),i||this.ii()),n),69),s.wk().Ak(this,Rc(this),n-en(this.ii()),e,r)},a.Wh=function(e){var n,r;switch(e){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.Jk();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Hb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Hb(this.q).i==0)}return Ml(this,e-en(this.ii()),pe((n=o(Be(this,16),29),n||this.ii()),e))},a.bi=function(e,n){var r,i;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return;case 1:this.ui(On(n));return;case 2:b1(this,It(_t(n)));return;case 3:w1(this,It(_t(n)));return;case 4:h1(this,o(n,17).a);return;case 5:this.Zk(o(n,17).a);return;case 8:A0(this,o(n,142));return;case 9:i=Ah(this,o(n,89),null),i&&i.oj();return}Pl(this,e-en(this.ii()),pe((r=o(Be(this,16),29),r||this.ii()),e),n)},a.ii=function(){return ae(),Jpe},a.ki=function(e){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return;case 1:this.ui(null);return;case 2:b1(this,!0);return;case 3:w1(this,!0);return;case 4:h1(this,0);return;case 5:this.Zk(1);return;case 8:A0(this,null);return;case 9:r=Ah(this,null,null),r&&r.oj();return}Il(this,e-en(this.ii()),pe((n=o(Be(this,16),29),n||this.ii()),e))},a.pi=function(){eu(this),this.Bb|=1},a.Hk=function(){return eu(this)},a.Ik=function(){return this.t},a.Jk=function(){var e;return e=this.t,e>1||e==-1},a.Si=function(){return(this.Bb&512)!=0},a.Yk=function(e,n){return tct(this,e,n)},a.Zk=function(e){Mp(this,e)},a.Ib=function(){return plt(this)},a.s=0,a.t=1,C(Ee,"ETypedElementImpl",292),v(462,292,{110:1,94:1,93:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,462:1,292:1,119:1,120:1,692:1}),a.Ah=function(e){return eQt(this,e)},a.Lh=function(e,n,r){var i,s;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Te(),(this.Bb&256)!=0;case 3:return Te(),(this.Bb&512)!=0;case 4:return Ct(this.s);case 5:return Ct(this.t);case 6:return Te(),!!this.Jk();case 7:return Te(),s=this.s,s>=1;case 8:return n?eu(this):this.r;case 9:return this.q;case 10:return Te(),(this.Bb&_u)!=0;case 11:return Te(),(this.Bb&n2)!=0;case 12:return Te(),(this.Bb&Vp)!=0;case 13:return this.j;case 14:return TC(this);case 15:return Te(),(this.Bb&da)!=0;case 16:return Te(),(this.Bb&af)!=0;case 17:return kp(this)}return Fl(this,e-en(this.ii()),pe((i=o(Be(this,16),29),i||this.ii()),e),n,r)},a.Sh=function(e,n,r){var i,s,l;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ac(this.Ab,e,r);case 17:return this.Cb&&(r=(s=this.Db>>16,s>=0?eQt(this,r):this.Cb.Th(this,-1-s,null,r))),hl(this,e,17,r)}return l=o(pe((i=o(Be(this,16),29),i||this.ii()),n),69),l.wk().zk(this,Rc(this),n-en(this.ii()),e,r)},a.Uh=function(e,n,r){var i,s;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ls(this.Ab,e,r);case 9:return IN(this,r);case 17:return hl(this,null,17,r)}return s=o(pe((i=o(Be(this,16),29),i||this.ii()),n),69),s.wk().Ak(this,Rc(this),n-en(this.ii()),e,r)},a.Wh=function(e){var n,r;switch(e){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.Jk();case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Hb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Hb(this.q).i==0);case 10:return(this.Bb&_u)==0;case 11:return(this.Bb&n2)!=0;case 12:return(this.Bb&Vp)!=0;case 13:return this.j!=null;case 14:return TC(this)!=null;case 15:return(this.Bb&da)!=0;case 16:return(this.Bb&af)!=0;case 17:return!!kp(this)}return Ml(this,e-en(this.ii()),pe((n=o(Be(this,16),29),n||this.ii()),e))},a.bi=function(e,n){var r,i;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return;case 1:cq(this,On(n));return;case 2:b1(this,It(_t(n)));return;case 3:w1(this,It(_t(n)));return;case 4:h1(this,o(n,17).a);return;case 5:this.Zk(o(n,17).a);return;case 8:A0(this,o(n,142));return;case 9:i=Ah(this,o(n,89),null),i&&i.oj();return;case 10:cC(this,It(_t(n)));return;case 11:uC(this,It(_t(n)));return;case 12:aC(this,It(_t(n)));return;case 13:Uet(this,On(n));return;case 15:lC(this,It(_t(n)));return;case 16:hC(this,It(_t(n)));return}Pl(this,e-en(this.ii()),pe((r=o(Be(this,16),29),r||this.ii()),e),n)},a.ii=function(){return ae(),Ype},a.ki=function(e){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return;case 1:Q(this.Cb,90)&&Np(Oa(o(this.Cb,90)),4),Bc(this,null);return;case 2:b1(this,!0);return;case 3:w1(this,!0);return;case 4:h1(this,0);return;case 5:this.Zk(1);return;case 8:A0(this,null);return;case 9:r=Ah(this,null,null),r&&r.oj();return;case 10:cC(this,!0);return;case 11:uC(this,!1);return;case 12:aC(this,!1);return;case 13:this.i=null,qF(this,null);return;case 15:lC(this,!1);return;case 16:hC(this,!1);return}Il(this,e-en(this.ii()),pe((n=o(Be(this,16),29),n||this.ii()),e))},a.pi=function(){Bk(oo((ua(),ws),this)),eu(this),this.Bb|=1},a.pk=function(){return this.f},a.ik=function(){return TC(this)},a.qk=function(){return kp(this)},a.uk=function(){return null},a.$k=function(){return this.k},a.Lj=function(){return this.n},a.vk=function(){return P_(this)},a.wk=function(){var e,n,r,i,s,l,u,f,g;return this.p||(r=kp(this),(r.i==null&&cf(r),r.i).length,i=this.uk(),i&&en(kp(i)),s=eu(this),u=s.kk(),e=u?(u.i&1)!=0?u==Ha?li:u==vn?bs:u==P2?o4:u==Zi?Bi:u==Vg?Sw:u==Oy?Ew:u==ba?o3:G6:u:null,n=TC(this),f=s.ik(),sRe(this),(this.Bb&af)!=0&&((l=dat((ua(),ws),r))&&l!=this||(l=Tv(oo(ws,this))))?this.p=new $Dt(this,l):this.Jk()?this.al()?i?(this.Bb&da)!=0?e?this.bl()?this.p=new b0(47,e,this,i):this.p=new b0(5,e,this,i):this.bl()?this.p=new v0(46,this,i):this.p=new v0(4,this,i):e?this.bl()?this.p=new b0(49,e,this,i):this.p=new b0(7,e,this,i):this.bl()?this.p=new v0(48,this,i):this.p=new v0(6,this,i):(this.Bb&da)!=0?e?e==W0?this.p=new r1(50,_pe,this):this.bl()?this.p=new r1(43,e,this):this.p=new r1(1,e,this):this.bl()?this.p=new s1(42,this):this.p=new s1(0,this):e?e==W0?this.p=new r1(41,_pe,this):this.bl()?this.p=new r1(45,e,this):this.p=new r1(3,e,this):this.bl()?this.p=new s1(44,this):this.p=new s1(2,this):Q(s,156)?e==Wj?this.p=new s1(40,this):(this.Bb&512)!=0?(this.Bb&da)!=0?e?this.p=new r1(9,e,this):this.p=new s1(8,this):e?this.p=new r1(11,e,this):this.p=new s1(10,this):(this.Bb&da)!=0?e?this.p=new r1(13,e,this):this.p=new s1(12,this):e?this.p=new r1(15,e,this):this.p=new s1(14,this):i?(g=i.t,g>1||g==-1?this.bl()?(this.Bb&da)!=0?e?this.p=new b0(25,e,this,i):this.p=new v0(24,this,i):e?this.p=new b0(27,e,this,i):this.p=new v0(26,this,i):(this.Bb&da)!=0?e?this.p=new b0(29,e,this,i):this.p=new v0(28,this,i):e?this.p=new b0(31,e,this,i):this.p=new v0(30,this,i):this.bl()?(this.Bb&da)!=0?e?this.p=new b0(33,e,this,i):this.p=new v0(32,this,i):e?this.p=new b0(35,e,this,i):this.p=new v0(34,this,i):(this.Bb&da)!=0?e?this.p=new b0(37,e,this,i):this.p=new v0(36,this,i):e?this.p=new b0(39,e,this,i):this.p=new v0(38,this,i)):this.bl()?(this.Bb&da)!=0?e?this.p=new r1(17,e,this):this.p=new s1(16,this):e?this.p=new r1(19,e,this):this.p=new s1(18,this):(this.Bb&da)!=0?e?this.p=new r1(21,e,this):this.p=new s1(20,this):e?this.p=new r1(23,e,this):this.p=new s1(22,this):this._k()?this.bl()?this.p=new ENt(o(s,29),this,i):this.p=new Oit(o(s,29),this,i):Q(s,156)?e==Wj?this.p=new s1(40,this):(this.Bb&da)!=0?e?this.p=new Sqt(n,f,this,(NH(),u==vn?Avt:u==Ha?xvt:u==Vg?Mvt:u==P2?Bvt:u==Zi?Evt:u==Oy?Lvt:u==ba?Tvt:u==Xl?Svt:YY)):this.p=new $Ht(o(s,156),n,f,this):e?this.p=new Tqt(n,f,this,(NH(),u==vn?Avt:u==Ha?xvt:u==Vg?Mvt:u==P2?Bvt:u==Zi?Evt:u==Oy?Lvt:u==ba?Tvt:u==Xl?Svt:YY)):this.p=new DHt(o(s,156),n,f,this):this.al()?i?(this.Bb&da)!=0?this.bl()?this.p=new ANt(o(s,29),this,i):this.p=new mrt(o(s,29),this,i):this.bl()?this.p=new BNt(o(s,29),this,i):this.p=new fN(o(s,29),this,i):(this.Bb&da)!=0?this.bl()?this.p=new TRt(o(s,29),this):this.p=new _nt(o(s,29),this):this.bl()?this.p=new xRt(o(s,29),this):this.p=new ZR(o(s,29),this):this.bl()?i?(this.Bb&da)!=0?this.p=new MNt(o(s,29),this,i):this.p=new wrt(o(s,29),this,i):(this.Bb&da)!=0?this.p=new SRt(o(s,29),this):this.p=new Ont(o(s,29),this):i?(this.Bb&da)!=0?this.p=new LNt(o(s,29),this,i):this.p=new prt(o(s,29),this,i):(this.Bb&da)!=0?this.p=new ERt(o(s,29),this):this.p=new AL(o(s,29),this)),this.p},a.rk=function(){return(this.Bb&_u)!=0},a._k=function(){return!1},a.al=function(){return!1},a.sk=function(){return(this.Bb&af)!=0},a.xk=function(){return jq(this)},a.bl=function(){return!1},a.tk=function(){return(this.Bb&da)!=0},a.cl=function(e){this.k=e},a.ui=function(e){cq(this,e)},a.Ib=function(){return nO(this)},a.e=!1,a.n=0,C(Ee,"EStructuralFeatureImpl",462),v(331,462,{110:1,94:1,93:1,35:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,331:1,158:1,462:1,292:1,119:1,120:1,692:1},O$),a.Lh=function(e,n,r){var i,s;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Te(),(this.Bb&256)!=0;case 3:return Te(),(this.Bb&512)!=0;case 4:return Ct(this.s);case 5:return Ct(this.t);case 6:return Te(),!!hlt(this);case 7:return Te(),s=this.s,s>=1;case 8:return n?eu(this):this.r;case 9:return this.q;case 10:return Te(),(this.Bb&_u)!=0;case 11:return Te(),(this.Bb&n2)!=0;case 12:return Te(),(this.Bb&Vp)!=0;case 13:return this.j;case 14:return TC(this);case 15:return Te(),(this.Bb&da)!=0;case 16:return Te(),(this.Bb&af)!=0;case 17:return kp(this);case 18:return Te(),(this.Bb&Jo)!=0;case 19:return n?oH(this):qWt(this)}return Fl(this,e-en((ae(),_2)),pe((i=o(Be(this,16),29),i||_2),e),n,r)},a.Wh=function(e){var n,r;switch(e){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 hlt(this);case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Hb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Hb(this.q).i==0);case 10:return(this.Bb&_u)==0;case 11:return(this.Bb&n2)!=0;case 12:return(this.Bb&Vp)!=0;case 13:return this.j!=null;case 14:return TC(this)!=null;case 15:return(this.Bb&da)!=0;case 16:return(this.Bb&af)!=0;case 17:return!!kp(this);case 18:return(this.Bb&Jo)!=0;case 19:return!!qWt(this)}return Ml(this,e-en((ae(),_2)),pe((n=o(Be(this,16),29),n||_2),e))},a.bi=function(e,n){var r,i;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return;case 1:cq(this,On(n));return;case 2:b1(this,It(_t(n)));return;case 3:w1(this,It(_t(n)));return;case 4:h1(this,o(n,17).a);return;case 5:iPt(this,o(n,17).a);return;case 8:A0(this,o(n,142));return;case 9:i=Ah(this,o(n,89),null),i&&i.oj();return;case 10:cC(this,It(_t(n)));return;case 11:uC(this,It(_t(n)));return;case 12:aC(this,It(_t(n)));return;case 13:Uet(this,On(n));return;case 15:lC(this,It(_t(n)));return;case 16:hC(this,It(_t(n)));return;case 18:_H(this,It(_t(n)));return}Pl(this,e-en((ae(),_2)),pe((r=o(Be(this,16),29),r||_2),e),n)},a.ii=function(){return ae(),_2},a.ki=function(e){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return;case 1:Q(this.Cb,90)&&Np(Oa(o(this.Cb,90)),4),Bc(this,null);return;case 2:b1(this,!0);return;case 3:w1(this,!0);return;case 4:h1(this,0);return;case 5:this.b=0,Mp(this,1);return;case 8:A0(this,null);return;case 9:r=Ah(this,null,null),r&&r.oj();return;case 10:cC(this,!0);return;case 11:uC(this,!1);return;case 12:aC(this,!1);return;case 13:this.i=null,qF(this,null);return;case 15:lC(this,!1);return;case 16:hC(this,!1);return;case 18:_H(this,!1);return}Il(this,e-en((ae(),_2)),pe((n=o(Be(this,16),29),n||_2),e))},a.pi=function(){oH(this),Bk(oo((ua(),ws),this)),eu(this),this.Bb|=1},a.Jk=function(){return hlt(this)},a.Yk=function(e,n){return this.b=0,this.a=null,tct(this,e,n)},a.Zk=function(e){iPt(this,e)},a.Ib=function(){var e;return(this.Db&64)!=0?nO(this):(e=new Jl(nO(this)),e.a+=" (iD: ",Zd(e,(this.Bb&Jo)!=0),e.a+=")",e.a)},a.b=0,C(Ee,"EAttributeImpl",331),v(364,448,{110:1,94:1,93:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1}),a.dl=function(e){return e.Dh()==this},a.Ah=function(e){return hK(this,e)},a.Bh=function(e,n){this.w=null,this.Db=n<<16|this.Db&255,this.Cb=e},a.Lh=function(e,n,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return lw(this);case 4:return this.ik();case 5:return this.F;case 6:return n?sl(this):Lk(this);case 7:return!this.A&&(this.A=new ia(Wc,this,7)),this.A}return Fl(this,e-en(this.ii()),pe((i=o(Be(this,16),29),i||this.ii()),e),n,r)},a.Sh=function(e,n,r){var i,s,l;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ac(this.Ab,e,r);case 6:return this.Cb&&(r=(s=this.Db>>16,s>=0?hK(this,r):this.Cb.Th(this,-1-s,null,r))),hl(this,e,6,r)}return l=o(pe((i=o(Be(this,16),29),i||this.ii()),n),69),l.wk().zk(this,Rc(this),n-en(this.ii()),e,r)},a.Uh=function(e,n,r){var i,s;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ls(this.Ab,e,r);case 6:return hl(this,null,6,r);case 7:return!this.A&&(this.A=new ia(Wc,this,7)),Ls(this.A,e,r)}return s=o(pe((i=o(Be(this,16),29),i||this.ii()),n),69),s.wk().Ak(this,Rc(this),n-en(this.ii()),e,r)},a.Wh=function(e){var n;switch(e){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!!lw(this);case 4:return this.ik()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Lk(this);case 7:return!!this.A&&this.A.i!=0}return Ml(this,e-en(this.ii()),pe((n=o(Be(this,16),29),n||this.ii()),e))},a.bi=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return;case 1:rF(this,On(n));return;case 2:RR(this,On(n));return;case 5:FC(this,On(n));return;case 7:!this.A&&(this.A=new ia(Wc,this,7)),pn(this.A),!this.A&&(this.A=new ia(Wc,this,7)),ii(this.A,o(n,16));return}Pl(this,e-en(this.ii()),pe((r=o(Be(this,16),29),r||this.ii()),e),n)},a.ii=function(){return ae(),zpe},a.ki=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return;case 1:Q(this.Cb,184)&&(o(this.Cb,184).tb=null),Bc(this,null);return;case 2:iC(this,null),Kk(this,this.D);return;case 5:FC(this,null);return;case 7:!this.A&&(this.A=new ia(Wc,this,7)),pn(this.A);return}Il(this,e-en(this.ii()),pe((n=o(Be(this,16),29),n||this.ii()),e))},a.hk=function(){var e;return this.G==-1&&(this.G=(e=sl(this),e?y1(e.vi(),this):-1)),this.G},a.ik=function(){return null},a.jk=function(){return sl(this)},a.el=function(){return this.v},a.kk=function(){return lw(this)},a.lk=function(){return this.D!=null?this.D:this.B},a.mk=function(){return this.F},a.fk=function(e){return ez(this,e)},a.fl=function(e){this.v=e},a.gl=function(e){SXt(this,e)},a.hl=function(e){this.C=e},a.ui=function(e){rF(this,e)},a.Ib=function(){return h_(this)},a.C=null,a.D=null,a.G=-1,C(Ee,"EClassifierImpl",364),v(90,364,{110:1,94:1,93:1,29:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,90:1,364:1,158:1,482:1,119:1,120:1,691:1},PZ),a.dl=function(e){return X7e(this,e.Dh())},a.Lh=function(e,n,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return lw(this);case 4:return null;case 5:return this.F;case 6:return n?sl(this):Lk(this);case 7:return!this.A&&(this.A=new ia(Wc,this,7)),this.A;case 8:return Te(),(this.Bb&256)!=0;case 9:return Te(),(this.Bb&512)!=0;case 10:return wo(this);case 11:return!this.q&&(this.q=new dt(du,this,11,10)),this.q;case 12:return Pm(this);case 13:return u6(this);case 14:return u6(this),this.r;case 15:return Pm(this),this.k;case 16:return tlt(this);case 17:return sz(this);case 18:return cf(this);case 19:return G_(this);case 20:return Pm(this),this.o;case 21:return!this.s&&(this.s=new dt(ea,this,21,17)),this.s;case 22:return ac(this);case 23:return WK(this)}return Fl(this,e-en((ae(),Wg)),pe((i=o(Be(this,16),29),i||Wg),e),n,r)},a.Sh=function(e,n,r){var i,s,l;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ac(this.Ab,e,r);case 6:return this.Cb&&(r=(s=this.Db>>16,s>=0?hK(this,r):this.Cb.Th(this,-1-s,null,r))),hl(this,e,6,r);case 11:return!this.q&&(this.q=new dt(du,this,11,10)),Ac(this.q,e,r);case 21:return!this.s&&(this.s=new dt(ea,this,21,17)),Ac(this.s,e,r)}return l=o(pe((i=o(Be(this,16),29),i||(ae(),Wg)),n),69),l.wk().zk(this,Rc(this),n-en((ae(),Wg)),e,r)},a.Uh=function(e,n,r){var i,s;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ls(this.Ab,e,r);case 6:return hl(this,null,6,r);case 7:return!this.A&&(this.A=new ia(Wc,this,7)),Ls(this.A,e,r);case 11:return!this.q&&(this.q=new dt(du,this,11,10)),Ls(this.q,e,r);case 21:return!this.s&&(this.s=new dt(ea,this,21,17)),Ls(this.s,e,r);case 22:return Ls(ac(this),e,r)}return s=o(pe((i=o(Be(this,16),29),i||(ae(),Wg)),n),69),s.wk().Ak(this,Rc(this),n-en((ae(),Wg)),e,r)},a.Wh=function(e){var n;switch(e){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!!lw(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Lk(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&&ac(this.u.a).i!=0&&!(this.n&&tK(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return Pm(this).i!=0;case 13:return u6(this).i!=0;case 14:return u6(this),this.r.i!=0;case 15:return Pm(this),this.k.i!=0;case 16:return tlt(this).i!=0;case 17:return sz(this).i!=0;case 18:return cf(this).i!=0;case 19:return G_(this).i!=0;case 20:return Pm(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&tK(this.n);case 23:return WK(this).i!=0}return Ml(this,e-en((ae(),Wg)),pe((n=o(Be(this,16),29),n||Wg),e))},a.Zh=function(e){var n;return n=this.i==null||this.q&&this.q.i!=0?null:L7(this,e),n||jut(this,e)},a.bi=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return;case 1:rF(this,On(n));return;case 2:RR(this,On(n));return;case 5:FC(this,On(n));return;case 7:!this.A&&(this.A=new ia(Wc,this,7)),pn(this.A),!this.A&&(this.A=new ia(Wc,this,7)),ii(this.A,o(n,16));return;case 8:ect(this,It(_t(n)));return;case 9:nct(this,It(_t(n)));return;case 10:d6(wo(this)),ii(wo(this),o(n,16));return;case 11:!this.q&&(this.q=new dt(du,this,11,10)),pn(this.q),!this.q&&(this.q=new dt(du,this,11,10)),ii(this.q,o(n,16));return;case 21:!this.s&&(this.s=new dt(ea,this,21,17)),pn(this.s),!this.s&&(this.s=new dt(ea,this,21,17)),ii(this.s,o(n,16));return;case 22:pn(ac(this)),ii(ac(this),o(n,16));return}Pl(this,e-en((ae(),Wg)),pe((r=o(Be(this,16),29),r||Wg),e),n)},a.ii=function(){return ae(),Wg},a.ki=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return;case 1:Q(this.Cb,184)&&(o(this.Cb,184).tb=null),Bc(this,null);return;case 2:iC(this,null),Kk(this,this.D);return;case 5:FC(this,null);return;case 7:!this.A&&(this.A=new ia(Wc,this,7)),pn(this.A);return;case 8:ect(this,!1);return;case 9:nct(this,!1);return;case 10:this.u&&d6(this.u);return;case 11:!this.q&&(this.q=new dt(du,this,11,10)),pn(this.q);return;case 21:!this.s&&(this.s=new dt(ea,this,21,17)),pn(this.s);return;case 22:this.n&&pn(this.n);return}Il(this,e-en((ae(),Wg)),pe((n=o(Be(this,16),29),n||Wg),e))},a.pi=function(){var e,n;if(Pm(this),u6(this),tlt(this),sz(this),cf(this),G_(this),WK(this),y5(vAe(Oa(this))),this.s)for(e=0,n=this.s.i;e<n;++e)JS(tt(this.s,e));if(this.q)for(e=0,n=this.q.i;e<n;++e)JS(tt(this.q,e));g1((ua(),ws),this).xe(),this.Bb|=1},a.Ib=function(){return vat(this)},a.k=null,a.r=null;var ZT,t2e,XY;C(Ee,"EClassImpl",90),v(2092,2091,vae),a.Ei=function(e,n){return nz(this,e,n)},a.Fi=function(e){return nz(this,this.i,e)},a.Gi=function(e,n){wlt(this,e,n)},a.Hi=function(e){jK(this,e)},a.Wk=function(e,n){return Ac(this,e,n)},a.$i=function(e){return Fst(this,e)},a.Xk=function(e,n){return Ls(this,e,n)},a.Xi=function(e,n){return Jne(this,e,n)},a.Ii=function(){return new uv(this)},a.Ji=function(){return new YS(this)},a.Ki=function(e){return H9(this,e)},C(Nr,"NotifyingInternalEListImpl",2092),v(632,2092,So),a.Hc=function(e){return mre(this,e)},a.Ij=function(e,n,r,i,s){return d5(this,e,n,r,i,s)},a.Jj=function(e){tk(this,e)},a.Fk=function(e){return this},a.Lk=function(){return pe(this.e.Dh(),this.Lj())},a.Kj=function(){return this.Lk()},a.Lj=function(){return Gr(this.e.Dh(),this.Lk())},a.il=function(){return o(this.Lk().Hk(),29).kk()},a.jl=function(){return Hs(o(this.Lk(),19)).n},a.jj=function(){return this.e},a.kl=function(){return!0},a.ll=function(){return!1},a.ml=function(){return!1},a.nl=function(){return!1},a.dd=function(e){return y1(this,e)},a.Nj=function(e,n){var r;return r=o(e,54),this.ml()?this.kl()?r.Rh(this.e,this.jl(),this.il(),n):r.Rh(this.e,Gr(r.Dh(),Hs(o(this.Lk(),19))),null,n):r.Rh(this.e,-1-this.Lj(),null,n)},a.Oj=function(e,n){var r;return r=o(e,54),this.ml()?this.kl()?r.Th(this.e,this.jl(),this.il(),n):r.Th(this.e,Gr(r.Dh(),Hs(o(this.Lk(),19))),null,n):r.Th(this.e,-1-this.Lj(),null,n)},a.al=function(){return!1},a.ol=function(){return!0},a.fk=function(e){return Hzt(this.d,e)},a.Pj=function(){return Ua(this.e)},a.Qj=function(){return this.i!=0},a.aj=function(e){return q9(this.d,e)},a.Wi=function(e,n){return this.ol()&&this.nl()?zv(this,e,o(n,58)):n},a.pl=function(e){return e.Vh()?dg(this.e,o(e,54)):e},a.Wb=function(e){P$t(this,e)},a.Pc=function(){return DUt(this)},a.Qc=function(e){var n;if(this.nl())for(n=this.i-1;n>=0;--n)tt(this,n);return Ect(this,e)},a.Gk=function(){pn(this)},a.Zi=function(e,n){return GGt(this,e,n)},C(Nr,"EcoreEList",632),v(505,632,So,a9),a.Li=function(){return!1},a.Lj=function(){return this.c},a.Mj=function(){return!1},a.ol=function(){return!0},a.Si=function(){return!0},a.Wi=function(e,n){return n},a.Yi=function(){return!1},a.c=0,C(Nr,"EObjectEList",505),v(83,505,So,ki),a.Mj=function(){return!0},a.ml=function(){return!1},a.al=function(){return!0},C(Nr,"EObjectContainmentEList",83),v(555,83,So,nL),a.Ni=function(){this.b=!0},a.Qj=function(){return this.b},a.Gk=function(){var e;pn(this),Ua(this.e)?(e=this.b,this.b=!1,ur(this.e,new Eu(this.e,2,this.c,e,!1))):this.b=!1},a.b=!1,C(Nr,"EObjectContainmentEList/Unsettable",555),v(1161,555,So,Cqt),a.Ti=function(e,n){var r,i;return r=o($5(this,e,n),89),Ua(this.e)&&tk(this,new L9(this.a,7,(ae(),Wpe),Ct(n),(i=r.c,Q(i,90)?o(i,29):bu),e)),r},a.Uj=function(e,n){return qRe(this,o(e,89),n)},a.Vj=function(e,n){return NRe(this,o(e,89),n)},a.Wj=function(e,n,r){return zHe(this,o(e,89),o(n,89),r)},a.Ij=function(e,n,r,i,s){switch(e){case 3:return d5(this,e,n,r,i,this.i>1);case 5:return d5(this,e,n,r,i,this.i-o(r,15).gc()>0);default:return new vd(this.e,e,this.c,n,r,i,!0)}},a.Tj=function(){return!0},a.Qj=function(){return tK(this)},a.Gk=function(){pn(this)},C(Ee,"EClassImpl/1",1161),v(1175,1174,y1t),a.dj=function(e){var n,r,i,s,l,u,f;if(r=e.gj(),r!=8){if(i=CNe(e),i==0)switch(r){case 1:case 9:{f=e.kj(),f!=null&&(n=Oa(o(f,482)),!n.c&&(n.c=new G3),SF(n.c,e.jj())),u=e.ij(),u!=null&&(s=o(u,482),(s.Bb&1)==0&&(n=Oa(s),!n.c&&(n.c=new G3),mn(n.c,o(e.jj(),29))));break}case 3:{u=e.ij(),u!=null&&(s=o(u,482),(s.Bb&1)==0&&(n=Oa(s),!n.c&&(n.c=new G3),mn(n.c,o(e.jj(),29))));break}case 5:{if(u=e.ij(),u!=null)for(l=o(u,16).Kc();l.Ob();)s=o(l.Pb(),482),(s.Bb&1)==0&&(n=Oa(s),!n.c&&(n.c=new G3),mn(n.c,o(e.jj(),29)));break}case 4:{f=e.kj(),f!=null&&(s=o(f,482),(s.Bb&1)==0&&(n=Oa(s),!n.c&&(n.c=new G3),SF(n.c,e.jj())));break}case 6:{if(f=e.kj(),f!=null)for(l=o(f,16).Kc();l.Ob();)s=o(l.Pb(),482),(s.Bb&1)==0&&(n=Oa(s),!n.c&&(n.c=new G3),SF(n.c,e.jj()));break}}this.ql(i)}},a.ql=function(e){Xee(this,e)},a.b=63,C(Ee,"ESuperAdapter",1175),v(1176,1175,y1t,COt),a.ql=function(e){Np(this,e)},C(Ee,"EClassImpl/10",1176),v(1165,710,So),a.Ei=function(e,n){return xK(this,e,n)},a.Fi=function(e){return DJt(this,e)},a.Gi=function(e,n){r7(this,e,n)},a.Hi=function(e){E9(this,e)},a.$i=function(e){return Fst(this,e)},a.Xi=function(e,n){return Dq(this,e,n)},a.Wk=function(e,n){throw N(new Fn)},a.Ii=function(){return new uv(this)},a.Ji=function(){return new YS(this)},a.Ki=function(e){return H9(this,e)},a.Xk=function(e,n){throw N(new Fn)},a.Fk=function(e){return this},a.Qj=function(){return this.i!=0},a.Wb=function(e){throw N(new Fn)},a.Gk=function(){throw N(new Fn)},C(Nr,"EcoreEList/UnmodifiableEList",1165),v(328,1165,So,nm),a.Yi=function(){return!1},C(Nr,"EcoreEList/UnmodifiableEList/FastCompare",328),v(1168,328,So,mVt),a.dd=function(e){var n,r,i;if(Q(e,179)&&(n=o(e,179),r=n.Lj(),r!=-1)){for(i=this.i;r<i;++r)if(it(this.g[r])===it(e))return r}return-1},C(Ee,"EClassImpl/1EAllStructuralFeaturesList",1168),v(1162,506,pf,TEt),a.aj=function(e){return at(Js,kae,89,e,0,1)},a.Yi=function(){return!1},C(Ee,"EClassImpl/1EGenericSuperTypeEList",1162),v(633,506,pf,d$),a.aj=function(e){return at(ea,Xm,179,e,0,1)},a.Yi=function(){return!1},C(Ee,"EClassImpl/1EStructuralFeatureUniqueEList",633),v(755,506,pf,_Z),a.aj=function(e){return at(F2,Xm,19,e,0,1)},a.Yi=function(){return!1},C(Ee,"EClassImpl/1ReferenceList",755),v(1163,506,pf,xOt),a.Mi=function(e,n){kMe(this,o(n,35))},a.aj=function(e){return at(L2,Xm,35,e,0,1)},a.Yi=function(){return!1},C(Ee,"EClassImpl/2",1163),v(1164,506,pf,SEt),a.aj=function(e){return at(L2,Xm,35,e,0,1)},a.Yi=function(){return!1},C(Ee,"EClassImpl/3",1164),v(1166,328,So,UNt),a.Fc=function(e){return ROe(this,o(e,35))},a.Hi=function(e){aSe(this,o(e,35))},C(Ee,"EClassImpl/4",1166),v(1167,328,So,WNt),a.Fc=function(e){return NOe(this,o(e,19))},a.Hi=function(e){lSe(this,o(e,19))},C(Ee,"EClassImpl/5",1167),v(1169,506,pf,EEt),a.aj=function(e){return at(du,C1t,62,e,0,1)},a.Yi=function(){return!1},C(Ee,"EClassImpl/6",1169),v(1170,506,pf,BEt),a.aj=function(e){return at(F2,Xm,19,e,0,1)},a.Yi=function(){return!1},C(Ee,"EClassImpl/7",1170),v(2095,2094,{3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,71:1}),a.Ei=function(e,n){return fut(this,e,n)},a.Fi=function(e){return fut(this,this.Ej(),e)},a.Gi=function(e,n){Bte(this,e,n)},a.Hi=function(e){bte(this,e)},a.Wk=function(e,n){return gqe(this,e,n)},a.Xk=function(e,n){return qNe(this,e,n)},a.Xi=function(e,n){return Ine(this,e,n)},a.$i=function(e){return this.xj(e)},a.Ii=function(){return new uv(this)},a.pj=function(){return this.sj()},a.Ji=function(){return new YS(this)},a.Ki=function(e){return H9(this,e)},C(Nr,"DelegatingNotifyingInternalEListImpl",2095),v(756,2095,x1t),a.Li=function(){var e;return e=pe(Gc(this.b),this.Lj()).Hk(),Q(e,156)&&!Q(e,469)&&(e.kk().i&1)==0},a.Hc=function(e){var n,r,i,s,l,u,f,g;if(this.ol()){if(g=this.Ej(),g>4)if(this.fk(e)){if(this.al()){if(i=o(e,54),r=i.Eh(),f=r==this.b&&(this.ml()?i.yh(i.Fh(),o(pe(Gc(this.b),this.Lj()).Hk(),29).kk())==Hs(o(pe(Gc(this.b),this.Lj()),19)).n:-1-i.Fh()==this.Lj()),this.nl()&&!f&&!r&&i.Jh()){for(s=0;s<g;++s)if(n=MN(this,this.xj(s)),it(n)===it(e))return!0}return f}else if(this.ml()&&!this.ll()){if(l=o(e,58).Mh(Hs(o(pe(Gc(this.b),this.Lj()),19))),it(l)===it(this.b))return!0;if(l==null||!o(l,58).Vh())return!1}}else return!1;if(u=this.uj(e),this.nl()&&!u){for(s=0;s<g;++s)if(i=MN(this,this.xj(s)),it(i)===it(e))return!0}return u}else return this.uj(e)},a.Ij=function(e,n,r,i,s){return new vd(this.b,e,this.Lj(),n,r,i,s)},a.Jj=function(e){ur(this.b,e)},a.Fk=function(e){return this},a.Kj=function(){return pe(Gc(this.b),this.Lj())},a.Lj=function(){return Gr(Gc(this.b),pe(Gc(this.b),this.Lj()))},a.jj=function(){return this.b},a.kl=function(){return!!pe(Gc(this.b),this.Lj()).Hk().kk()},a.Mj=function(){var e,n;return n=pe(Gc(this.b),this.Lj()),Q(n,102)?(e=o(n,19),(e.Bb&Jo)!=0||!!Hs(o(n,19))):!1},a.ll=function(){var e,n,r,i;return n=pe(Gc(this.b),this.Lj()),Q(n,102)?(e=o(n,19),r=Hs(e),!!r&&(i=r.t,i>1||i==-1)):!1},a.ml=function(){var e,n,r;return n=pe(Gc(this.b),this.Lj()),Q(n,102)?(e=o(n,19),r=Hs(e),!!r):!1},a.nl=function(){var e,n;return n=pe(Gc(this.b),this.Lj()),Q(n,102)?(e=o(n,19),(e.Bb&js)!=0):!1},a.dd=function(e){var n,r,i,s;if(i=this.zj(e),i>=0)return i;if(this.ol()){for(r=0,s=this.Ej();r<s;++r)if(n=MN(this,this.xj(r)),it(n)===it(e))return r}return-1},a.Nj=function(e,n){var r;return r=o(e,54),this.ml()?this.kl()?r.Rh(this.b,Hs(o(pe(Gc(this.b),this.Lj()),19)).n,o(pe(Gc(this.b),this.Lj()).Hk(),29).kk(),n):r.Rh(this.b,Gr(r.Dh(),Hs(o(pe(Gc(this.b),this.Lj()),19))),null,n):r.Rh(this.b,-1-this.Lj(),null,n)},a.Oj=function(e,n){var r;return r=o(e,54),this.ml()?this.kl()?r.Th(this.b,Hs(o(pe(Gc(this.b),this.Lj()),19)).n,o(pe(Gc(this.b),this.Lj()).Hk(),29).kk(),n):r.Th(this.b,Gr(r.Dh(),Hs(o(pe(Gc(this.b),this.Lj()),19))),null,n):r.Th(this.b,-1-this.Lj(),null,n)},a.al=function(){var e,n;return n=pe(Gc(this.b),this.Lj()),Q(n,102)?(e=o(n,19),(e.Bb&Jo)!=0):!1},a.ol=function(){return Q(pe(Gc(this.b),this.Lj()).Hk(),90)},a.fk=function(e){return pe(Gc(this.b),this.Lj()).Hk().fk(e)},a.Pj=function(){return Ua(this.b)},a.Qj=function(){return!this.Aj()},a.Si=function(){return pe(Gc(this.b),this.Lj()).Si()},a.Wi=function(e,n){return N7(this,e,n)},a.Wb=function(e){d6(this),ii(this,o(e,15))},a.Pc=function(){var e;if(this.nl())for(e=this.Ej()-1;e>=0;--e)N7(this,e,this.xj(e));return this.Fj()},a.Qc=function(e){var n;if(this.nl())for(n=this.Ej()-1;n>=0;--n)N7(this,n,this.xj(n));return this.Gj(e)},a.Gk=function(){d6(this)},a.Zi=function(e,n){return TUt(this,e,n)},C(Nr,"DelegatingEcoreEList",756),v(1171,756,x1t,$Rt),a.qj=function(e,n){m7e(this,e,o(n,29))},a.rj=function(e){o9e(this,o(e,29))},a.xj=function(e){var n,r;return n=o(tt(ac(this.a),e),89),r=n.c,Q(r,90)?o(r,29):(ae(),bu)},a.Cj=function(e){var n,r;return n=o(Kp(ac(this.a),e),89),r=n.c,Q(r,90)?o(r,29):(ae(),bu)},a.Dj=function(e,n){return bqe(this,e,o(n,29))},a.Li=function(){return!1},a.Ij=function(e,n,r,i,s){return null},a.sj=function(){return new SOt(this)},a.tj=function(){pn(ac(this.a))},a.uj=function(e){return gYt(this,e)},a.vj=function(e){var n,r;for(r=e.Kc();r.Ob();)if(n=r.Pb(),!gYt(this,n))return!1;return!0},a.wj=function(e){var n,r,i;if(Q(e,15)&&(i=o(e,15),i.gc()==ac(this.a).i)){for(n=i.Kc(),r=new Ke(this);n.Ob();)if(it(n.Pb())!==it(Ye(r)))return!1;return!0}return!1},a.yj=function(){var e,n,r,i,s;for(r=1,n=new Ke(ac(this.a));n.e!=n.i.gc();)e=o(Ye(n),89),i=(s=e.c,Q(s,90)?o(s,29):(ae(),bu)),r=31*r+(i?Ib(i):0);return r},a.zj=function(e){var n,r,i,s;for(i=0,r=new Ke(ac(this.a));r.e!=r.i.gc();){if(n=o(Ye(r),89),it(e)===it((s=n.c,Q(s,90)?o(s,29):(ae(),bu))))return i;++i}return-1},a.Aj=function(){return ac(this.a).i==0},a.Bj=function(){return null},a.Ej=function(){return ac(this.a).i},a.Fj=function(){var e,n,r,i,s,l;for(l=ac(this.a).i,s=at(Hi,ye,1,l,5,1),r=0,n=new Ke(ac(this.a));n.e!=n.i.gc();)e=o(Ye(n),89),s[r++]=(i=e.c,Q(i,90)?o(i,29):(ae(),bu));return s},a.Gj=function(e){var n,r,i,s,l,u,f;for(f=ac(this.a).i,e.length<f&&(s=q9(Ja(e).c,f),e=s),e.length>f&&ei(e,f,null),i=0,r=new Ke(ac(this.a));r.e!=r.i.gc();)n=o(Ye(r),89),l=(u=n.c,Q(u,90)?o(u,29):(ae(),bu)),ei(e,i++,l);return e},a.Hj=function(){var e,n,r,i,s;for(s=new Qd,s.a+="[",e=ac(this.a),n=0,i=ac(this.a).i;n<i;)Qs(s,Vx((r=o(tt(e,n),89).c,Q(r,90)?o(r,29):(ae(),bu)))),++n<i&&(s.a+=Fs);return s.a+="]",s.a},a.Jj=function(e){},a.Lj=function(){return 10},a.kl=function(){return!0},a.Mj=function(){return!1},a.ll=function(){return!1},a.ml=function(){return!1},a.nl=function(){return!0},a.al=function(){return!1},a.ol=function(){return!0},a.fk=function(e){return Q(e,90)},a.Qj=function(){return q_e(this.a)},a.Si=function(){return!0},a.Yi=function(){return!0},C(Ee,"EClassImpl/8",1171),v(1172,2062,DC,SOt),a.fd=function(e){return H9(this.a,e)},a.gc=function(){return ac(this.a.a).i},C(Ee,"EClassImpl/8/1",1172),v(1173,506,pf,AEt),a.aj=function(e){return at(dh,ye,142,e,0,1)},a.Yi=function(){return!1},C(Ee,"EClassImpl/9",1173),v(1160,49,tht,bIt),C(Ee,"EClassImpl/MyHashSet",1160),v(577,364,{110:1,94:1,93:1,142:1,156:1,847:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1},rM),a.Lh=function(e,n,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return lw(this);case 4:return this.ik();case 5:return this.F;case 6:return n?sl(this):Lk(this);case 7:return!this.A&&(this.A=new ia(Wc,this,7)),this.A;case 8:return Te(),(this.Bb&256)!=0}return Fl(this,e-en(this.ii()),pe((i=o(Be(this,16),29),i||this.ii()),e),n,r)},a.Wh=function(e){var n;switch(e){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!!lw(this);case 4:return this.ik()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Lk(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0}return Ml(this,e-en(this.ii()),pe((n=o(Be(this,16),29),n||this.ii()),e))},a.bi=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return;case 1:rF(this,On(n));return;case 2:RR(this,On(n));return;case 5:FC(this,On(n));return;case 7:!this.A&&(this.A=new ia(Wc,this,7)),pn(this.A),!this.A&&(this.A=new ia(Wc,this,7)),ii(this.A,o(n,16));return;case 8:s_(this,It(_t(n)));return}Pl(this,e-en(this.ii()),pe((r=o(Be(this,16),29),r||this.ii()),e),n)},a.ii=function(){return ae(),Upe},a.ki=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return;case 1:Q(this.Cb,184)&&(o(this.Cb,184).tb=null),Bc(this,null);return;case 2:iC(this,null),Kk(this,this.D);return;case 5:FC(this,null);return;case 7:!this.A&&(this.A=new ia(Wc,this,7)),pn(this.A);return;case 8:s_(this,!0);return}Il(this,e-en(this.ii()),pe((n=o(Be(this,16),29),n||this.ii()),e))},a.pi=function(){g1((ua(),ws),this).xe(),this.Bb|=1},a.ok=function(){var e,n,r;if(!this.c&&(e=Nte(sl(this)),!e.dc()))for(r=e.Kc();r.Ob();)n=On(r.Pb()),c6(this,n)&&N$e(this);return this.b},a.ik=function(){var e;if(!this.e){e=null;try{e=lw(this)}catch(n){if(n=Ur(n),!Q(n,103))throw N(n)}this.d=null,e&&(e.i&1)!=0&&(e==Ha?this.d=(Te(),Ag):e==vn?this.d=Ct(0):e==P2?this.d=new pS(0):e==Zi?this.d=0:e==Vg?this.d=Bd(0):e==Oy?this.d=oC(0):e==ba?this.d=D9(0):this.d=z9(0)),this.e=!0}return this.d},a.nk=function(){return(this.Bb&256)!=0},a.rl=function(e){e&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},a.gl=function(e){SXt(this,e),this.rl(e)},a.hl=function(e){this.C=e,this.e=!1},a.Ib=function(){var e;return(this.Db&64)!=0?h_(this):(e=new Jl(h_(this)),e.a+=" (serializable: ",Zd(e,(this.Bb&256)!=0),e.a+=")",e.a)},a.c=!1,a.d=null,a.e=!1,C(Ee,"EDataTypeImpl",577),v(469,577,{110:1,94:1,93:1,142:1,156:1,847:1,685:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,469:1,158:1,119:1,120:1,691:1},wIt),a.Lh=function(e,n,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return lw(this);case 4:return Kot(this);case 5:return this.F;case 6:return n?sl(this):Lk(this);case 7:return!this.A&&(this.A=new ia(Wc,this,7)),this.A;case 8:return Te(),(this.Bb&256)!=0;case 9:return!this.a&&(this.a=new dt(Nd,this,9,5)),this.a}return Fl(this,e-en((ae(),Ug)),pe((i=o(Be(this,16),29),i||Ug),e),n,r)},a.Sh=function(e,n,r){var i,s,l;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ac(this.Ab,e,r);case 6:return this.Cb&&(r=(s=this.Db>>16,s>=0?hK(this,r):this.Cb.Th(this,-1-s,null,r))),hl(this,e,6,r);case 9:return!this.a&&(this.a=new dt(Nd,this,9,5)),Ac(this.a,e,r)}return l=o(pe((i=o(Be(this,16),29),i||(ae(),Ug)),n),69),l.wk().zk(this,Rc(this),n-en((ae(),Ug)),e,r)},a.Uh=function(e,n,r){var i,s;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ls(this.Ab,e,r);case 6:return hl(this,null,6,r);case 7:return!this.A&&(this.A=new ia(Wc,this,7)),Ls(this.A,e,r);case 9:return!this.a&&(this.a=new dt(Nd,this,9,5)),Ls(this.a,e,r)}return s=o(pe((i=o(Be(this,16),29),i||(ae(),Ug)),n),69),s.wk().Ak(this,Rc(this),n-en((ae(),Ug)),e,r)},a.Wh=function(e){var n;switch(e){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!!lw(this);case 4:return!!Kot(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Lk(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 Ml(this,e-en((ae(),Ug)),pe((n=o(Be(this,16),29),n||Ug),e))},a.bi=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return;case 1:rF(this,On(n));return;case 2:RR(this,On(n));return;case 5:FC(this,On(n));return;case 7:!this.A&&(this.A=new ia(Wc,this,7)),pn(this.A),!this.A&&(this.A=new ia(Wc,this,7)),ii(this.A,o(n,16));return;case 8:s_(this,It(_t(n)));return;case 9:!this.a&&(this.a=new dt(Nd,this,9,5)),pn(this.a),!this.a&&(this.a=new dt(Nd,this,9,5)),ii(this.a,o(n,16));return}Pl(this,e-en((ae(),Ug)),pe((r=o(Be(this,16),29),r||Ug),e),n)},a.ii=function(){return ae(),Ug},a.ki=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return;case 1:Q(this.Cb,184)&&(o(this.Cb,184).tb=null),Bc(this,null);return;case 2:iC(this,null),Kk(this,this.D);return;case 5:FC(this,null);return;case 7:!this.A&&(this.A=new ia(Wc,this,7)),pn(this.A);return;case 8:s_(this,!0);return;case 9:!this.a&&(this.a=new dt(Nd,this,9,5)),pn(this.a);return}Il(this,e-en((ae(),Ug)),pe((n=o(Be(this,16),29),n||Ug),e))},a.pi=function(){var e,n;if(this.a)for(e=0,n=this.a.i;e<n;++e)JS(tt(this.a,e));g1((ua(),ws),this).xe(),this.Bb|=1},a.ik=function(){return Kot(this)},a.fk=function(e){return e!=null},a.rl=function(e){},C(Ee,"EEnumImpl",469),v(582,448,{110:1,94:1,93:1,2039:1,694:1,155:1,197:1,58:1,114:1,54:1,99:1,582:1,158:1,119:1,120:1},qOt),a.xe=function(){return this.zb},a.Ah=function(e){return uQt(this,e)},a.Lh=function(e,n,r){var i,s;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Ct(this.d);case 3:return this.b?this.b:this.a;case 4:return s=this.c,s??this.zb;case 5:return this.Db>>16==5?o(this.Cb,685):null}return Fl(this,e-en((ae(),$1)),pe((i=o(Be(this,16),29),i||$1),e),n,r)},a.Sh=function(e,n,r){var i,s,l;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ac(this.Ab,e,r);case 5:return this.Cb&&(r=(s=this.Db>>16,s>=0?uQt(this,r):this.Cb.Th(this,-1-s,null,r))),hl(this,e,5,r)}return l=o(pe((i=o(Be(this,16),29),i||(ae(),$1)),n),69),l.wk().zk(this,Rc(this),n-en((ae(),$1)),e,r)},a.Uh=function(e,n,r){var i,s;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ls(this.Ab,e,r);case 5:return hl(this,null,5,r)}return s=o(pe((i=o(Be(this,16),29),i||(ae(),$1)),n),69),s.wk().Ak(this,Rc(this),n-en((ae(),$1)),e,r)},a.Wh=function(e){var n;switch(e){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&&o(this.Cb,685))}return Ml(this,e-en((ae(),$1)),pe((n=o(Be(this,16),29),n||$1),e))},a.bi=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return;case 1:Bc(this,On(n));return;case 2:Kq(this,o(n,17).a);return;case 3:cte(this,o(n,2039));return;case 4:Wq(this,On(n));return}Pl(this,e-en((ae(),$1)),pe((r=o(Be(this,16),29),r||$1),e),n)},a.ii=function(){return ae(),$1},a.ki=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return;case 1:Bc(this,null);return;case 2:Kq(this,0);return;case 3:cte(this,null);return;case 4:Wq(this,null);return}Il(this,e-en((ae(),$1)),pe((n=o(Be(this,16),29),n||$1),e))},a.Ib=function(){var e;return e=this.c,e??this.zb},a.b=null,a.c=null,a.d=0,C(Ee,"EEnumLiteralImpl",582);var Gnn=Qr(Ee,"EFactoryImpl/InternalEDateTimeFormat");v(499,1,{2114:1},mS),C(Ee,"EFactoryImpl/1ClientInternalEDateTimeFormat",499),v(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},yb),a.Ch=function(e,n,r){var i;return r=hl(this,e,n,r),this.e&&Q(e,179)&&(i=U_(this,this.e),i!=this.c&&(r=_C(this,i,r))),r},a.Lh=function(e,n,r){var i;switch(e){case 0:return this.f;case 1:return!this.d&&(this.d=new ki(Js,this,1)),this.d;case 2:return n?sO(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return n?rK(this):this.a}return Fl(this,e-en((ae(),Ww)),pe((i=o(Be(this,16),29),i||Ww),e),n,r)},a.Uh=function(e,n,r){var i,s;switch(n){case 0:return eYt(this,null,r);case 1:return!this.d&&(this.d=new ki(Js,this,1)),Ls(this.d,e,r);case 3:return nYt(this,null,r)}return s=o(pe((i=o(Be(this,16),29),i||(ae(),Ww)),n),69),s.wk().Ak(this,Rc(this),n-en((ae(),Ww)),e,r)},a.Wh=function(e){var n;switch(e){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 Ml(this,e-en((ae(),Ww)),pe((n=o(Be(this,16),29),n||Ww),e))},a.bi=function(e,n){var r;switch(e){case 0:MQt(this,o(n,89));return;case 1:!this.d&&(this.d=new ki(Js,this,1)),pn(this.d),!this.d&&(this.d=new ki(Js,this,1)),ii(this.d,o(n,16));return;case 3:kat(this,o(n,89));return;case 4:Nat(this,o(n,850));return;case 5:$k(this,o(n,142));return}Pl(this,e-en((ae(),Ww)),pe((r=o(Be(this,16),29),r||Ww),e),n)},a.ii=function(){return ae(),Ww},a.ki=function(e){var n;switch(e){case 0:MQt(this,null);return;case 1:!this.d&&(this.d=new ki(Js,this,1)),pn(this.d);return;case 3:kat(this,null);return;case 4:Nat(this,null);return;case 5:$k(this,null);return}Il(this,e-en((ae(),Ww)),pe((n=o(Be(this,16),29),n||Ww),e))},a.Ib=function(){var e;return e=new el(Mu(this)),e.a+=" (expression: ",hz(this,e),e.a+=")",e.a};var Cvt;C(Ee,"EGenericTypeImpl",248),v(2067,2062,dI),a.Gi=function(e,n){PRt(this,e,n)},a.Wk=function(e,n){return PRt(this,this.gc(),e),n},a.$i=function(e){return $l(this.pj(),e)},a.Ii=function(){return this.Ji()},a.pj=function(){return new MOt(this)},a.Ji=function(){return this.Ki(0)},a.Ki=function(e){return this.pj().fd(e)},a.Xk=function(e,n){return Op(this,e,!0),n},a.Ti=function(e,n){var r,i;return i=gK(this,n),r=this.fd(e),r.Rb(i),i},a.Ui=function(e,n){var r;Op(this,n,!0),r=this.fd(e),r.Rb(n)},C(Nr,"AbstractSequentialInternalEList",2067),v(496,2067,dI,VS),a.$i=function(e){return $l(this.pj(),e)},a.Ii=function(){return this.b==null?(e1(),e1(),jB):this.sl()},a.pj=function(){return new t$t(this.a,this.b)},a.Ji=function(){return this.b==null?(e1(),e1(),jB):this.sl()},a.Ki=function(e){var n,r;if(this.b==null){if(e<0||e>1)throw N(new ro(D6+e+", size=0"));return e1(),e1(),jB}for(r=this.sl(),n=0;n<e;++n)YF(r);return r},a.dc=function(){var e,n,r,i,s,l;if(this.b!=null){for(r=0;r<this.b.length;++r)if(e=this.b[r],!this.vl()||this.a.Xh(e)){if(l=this.a.Nh(e,!1),qs(),o(e,69).xk()){for(n=o(l,160),i=0,s=n.gc();i<s;++i)if(lHt(n.Tl(i))&&n.Ul(i)!=null)return!1}else if(e.Jk()){if(!o(l,16).dc())return!1}else if(l!=null)return!1}}return!0},a.Kc=function(){return uot(this)},a.fd=function(e){var n,r;if(this.b==null){if(e!=0)throw N(new ro(D6+e+", size=0"));return e1(),e1(),jB}for(r=this.ul()?this.tl():this.sl(),n=0;n<e;++n)YF(r);return r},a.Ti=function(e,n){throw N(new Fn)},a.Ui=function(e,n){throw N(new Fn)},a.sl=function(){return new aL(this.a,this.b)},a.tl=function(){return new Fnt(this.a,this.b)},a.ul=function(){return!0},a.gc=function(){var e,n,r,i,s,l,u;if(s=0,this.b!=null){for(r=0;r<this.b.length;++r)if(e=this.b[r],!this.vl()||this.a.Xh(e))if(u=this.a.Nh(e,!1),qs(),o(e,69).xk())for(n=o(u,160),i=0,l=n.gc();i<l;++i)lHt(n.Tl(i))&&n.Ul(i)!=null&&++s;else e.Jk()?s+=o(u,16).gc():u!=null&&++s}return s},a.vl=function(){return!0};var VY;C(Nr,"EContentsEList",496),v(1177,496,dI,yRt),a.sl=function(){return new kRt(this.a,this.b)},a.tl=function(){return new vRt(this.a,this.b)},a.vl=function(){return!1},C(Ee,"ENamedElementImpl/1",1177),v(287,1,gI,aL),a.Nb=function(e){hs(this,e)},a.Rb=function(e){throw N(new Fn)},a.wl=function(e){if(this.g!=0||this.e)throw N(new io("Iterator already in use or already filtered"));this.e=e},a.Ob=function(){var e,n,r,i,s,l;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?!CZt(this,this.p):!hte(this))){for(;this.d<this.c.length;)if(n=this.c[this.d++],(!this.e||n.pk()!=q4||n.Lj()!=0)&&(!this.vl()||this.b.Xh(n))){if(l=this.b.Nh(n,this.ul()),this.f=(qs(),o(n,69).xk()),this.f||n.Jk()){if(this.ul()?(i=o(l,15),this.k=i):(i=o(l,71),this.k=this.j=i),Q(this.k,59)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.Ji():this.k.ed(),this.p?CZt(this,this.p):hte(this))return s=this.p?this.p.Pb():this.j?this.j.$i(this.n++):this.k.Xb(this.n++),this.f?(e=o(s,76),e.Lk(),r=e.md(),this.i=r):(r=s,this.i=r),this.g=3,!0}else if(l!=null)return this.k=null,this.p=null,r=l,this.i=r,this.g=2,!0}return this.k=null,this.p=null,this.f=!1,this.g=1,!1}else return s=this.p?this.p.Pb():this.j?this.j.$i(this.n++):this.k.Xb(this.n++),this.f?(e=o(s,76),e.Lk(),r=e.md(),this.i=r):(r=s,this.i=r),this.g=3,!0}},a.Sb=function(){var e,n,r,i,s,l;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?!xZt(this,this.p):!IZt(this))){for(;this.d>0;)if(n=this.c[--this.d],(!this.e||n.pk()!=q4||n.Lj()!=0)&&(!this.vl()||this.b.Xh(n))){if(l=this.b.Nh(n,this.ul()),this.f=(qs(),o(n,69).xk()),this.f||n.Jk()){if(this.ul()?(i=o(l,15),this.k=i):(i=o(l,71),this.k=this.j=i),Q(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ki(this.k.gc()):this.k.fd(this.k.gc()),this.p?xZt(this,this.p):IZt(this))return s=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(e=o(s,76),e.Lk(),r=e.md(),this.i=r):(r=s,this.i=r),this.g=-3,!0}else if(l!=null)return this.k=null,this.p=null,r=l,this.i=r,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return s=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?(e=o(s,76),e.Lk(),r=e.md(),this.i=r):(r=s,this.i=r),this.g=-3,!0}},a.Pb=function(){return YF(this)},a.Tb=function(){return this.a},a.Ub=function(){var e;if(this.g<-1||this.Sb())return--this.a,this.g=0,e=this.i,this.Sb(),e;throw N(new Mo)},a.Vb=function(){return this.a-1},a.Qb=function(){throw N(new Fn)},a.ul=function(){return!1},a.Wb=function(e){throw N(new Fn)},a.vl=function(){return!0},a.a=0,a.d=0,a.f=!1,a.g=0,a.n=0,a.o=0;var jB;C(Nr,"EContentsEList/FeatureIteratorImpl",287),v(711,287,gI,Fnt),a.ul=function(){return!0},C(Nr,"EContentsEList/ResolvingFeatureIteratorImpl",711),v(1178,711,gI,vRt),a.vl=function(){return!1},C(Ee,"ENamedElementImpl/1/1",1178),v(1179,287,gI,kRt),a.vl=function(){return!1},C(Ee,"ENamedElementImpl/1/2",1179),v(39,152,mE,Tp,gq,Gi,Mq,vd,Eu,zst,tzt,Wst,ezt,ast,nzt,Xst,rzt,lst,izt,Ust,szt,o5,L9,VN,Gst,ozt,ust,czt),a.Kj=function(){return Bst(this)},a.Rj=function(){var e;return e=Bst(this),e?e.ik():null},a.hj=function(e){return this.b==-1&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,e)},a.jj=function(){return this.c},a.Sj=function(){var e;return e=Bst(this),e?e.tk():!1},a.b=-1,C(Ee,"ENotificationImpl",39),v(411,292,{110:1,94:1,93:1,155:1,197:1,58:1,62:1,114:1,481:1,54:1,99:1,158:1,411:1,292:1,119:1,120:1},I$),a.Ah=function(e){return dQt(this,e)},a.Lh=function(e,n,r){var i,s,l;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Te(),(this.Bb&256)!=0;case 3:return Te(),(this.Bb&512)!=0;case 4:return Ct(this.s);case 5:return Ct(this.t);case 6:return Te(),l=this.t,l>1||l==-1;case 7:return Te(),s=this.s,s>=1;case 8:return n?eu(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?o(this.Cb,29):null;case 11:return!this.d&&(this.d=new ia(Wc,this,11)),this.d;case 12:return!this.c&&(this.c=new dt(zw,this,12,10)),this.c;case 13:return!this.a&&(this.a=new t9(this,this)),this.a;case 14:return Ia(this)}return Fl(this,e-en((ae(),R1)),pe((i=o(Be(this,16),29),i||R1),e),n,r)},a.Sh=function(e,n,r){var i,s,l;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ac(this.Ab,e,r);case 10:return this.Cb&&(r=(s=this.Db>>16,s>=0?dQt(this,r):this.Cb.Th(this,-1-s,null,r))),hl(this,e,10,r);case 12:return!this.c&&(this.c=new dt(zw,this,12,10)),Ac(this.c,e,r)}return l=o(pe((i=o(Be(this,16),29),i||(ae(),R1)),n),69),l.wk().zk(this,Rc(this),n-en((ae(),R1)),e,r)},a.Uh=function(e,n,r){var i,s;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ls(this.Ab,e,r);case 9:return IN(this,r);case 10:return hl(this,null,10,r);case 11:return!this.d&&(this.d=new ia(Wc,this,11)),Ls(this.d,e,r);case 12:return!this.c&&(this.c=new dt(zw,this,12,10)),Ls(this.c,e,r);case 14:return Ls(Ia(this),e,r)}return s=o(pe((i=o(Be(this,16),29),i||(ae(),R1)),n),69),s.wk().Ak(this,Rc(this),n-en((ae(),R1)),e,r)},a.Wh=function(e){var n,r,i;switch(e){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 i=this.t,i>1||i==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Hb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Hb(this.q).i==0);case 10:return!!(this.Db>>16==10&&o(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&&Ia(this.a.a).i!=0&&!(this.b&&eK(this.b));case 14:return!!this.b&&eK(this.b)}return Ml(this,e-en((ae(),R1)),pe((n=o(Be(this,16),29),n||R1),e))},a.bi=function(e,n){var r,i;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return;case 1:Bc(this,On(n));return;case 2:b1(this,It(_t(n)));return;case 3:w1(this,It(_t(n)));return;case 4:h1(this,o(n,17).a);return;case 5:Mp(this,o(n,17).a);return;case 8:A0(this,o(n,142));return;case 9:i=Ah(this,o(n,89),null),i&&i.oj();return;case 11:!this.d&&(this.d=new ia(Wc,this,11)),pn(this.d),!this.d&&(this.d=new ia(Wc,this,11)),ii(this.d,o(n,16));return;case 12:!this.c&&(this.c=new dt(zw,this,12,10)),pn(this.c),!this.c&&(this.c=new dt(zw,this,12,10)),ii(this.c,o(n,16));return;case 13:!this.a&&(this.a=new t9(this,this)),d6(this.a),!this.a&&(this.a=new t9(this,this)),ii(this.a,o(n,16));return;case 14:pn(Ia(this)),ii(Ia(this),o(n,16));return}Pl(this,e-en((ae(),R1)),pe((r=o(Be(this,16),29),r||R1),e),n)},a.ii=function(){return ae(),R1},a.ki=function(e){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return;case 1:Bc(this,null);return;case 2:b1(this,!0);return;case 3:w1(this,!0);return;case 4:h1(this,0);return;case 5:Mp(this,1);return;case 8:A0(this,null);return;case 9:r=Ah(this,null,null),r&&r.oj();return;case 11:!this.d&&(this.d=new ia(Wc,this,11)),pn(this.d);return;case 12:!this.c&&(this.c=new dt(zw,this,12,10)),pn(this.c);return;case 13:this.a&&d6(this.a);return;case 14:this.b&&pn(this.b);return}Il(this,e-en((ae(),R1)),pe((n=o(Be(this,16),29),n||R1),e))},a.pi=function(){var e,n;if(this.c)for(e=0,n=this.c.i;e<n;++e)JS(tt(this.c,e));eu(this),this.Bb|=1},C(Ee,"EOperationImpl",411),v(513,756,x1t,t9),a.qj=function(e,n){v7e(this,e,o(n,142))},a.rj=function(e){c9e(this,o(e,142))},a.xj=function(e){var n,r;return n=o(tt(Ia(this.a),e),89),r=n.c,r||(ae(),Kh)},a.Cj=function(e){var n,r;return n=o(Kp(Ia(this.a),e),89),r=n.c,r||(ae(),Kh)},a.Dj=function(e,n){return aNe(this,e,o(n,142))},a.Li=function(){return!1},a.Ij=function(e,n,r,i,s){return null},a.sj=function(){return new EOt(this)},a.tj=function(){pn(Ia(this.a))},a.uj=function(e){return mYt(this,e)},a.vj=function(e){var n,r;for(r=e.Kc();r.Ob();)if(n=r.Pb(),!mYt(this,n))return!1;return!0},a.wj=function(e){var n,r,i;if(Q(e,15)&&(i=o(e,15),i.gc()==Ia(this.a).i)){for(n=i.Kc(),r=new Ke(this);n.Ob();)if(it(n.Pb())!==it(Ye(r)))return!1;return!0}return!1},a.yj=function(){var e,n,r,i,s;for(r=1,n=new Ke(Ia(this.a));n.e!=n.i.gc();)e=o(Ye(n),89),i=(s=e.c,s||(ae(),Kh)),r=31*r+(i?Mr(i):0);return r},a.zj=function(e){var n,r,i,s;for(i=0,r=new Ke(Ia(this.a));r.e!=r.i.gc();){if(n=o(Ye(r),89),it(e)===it((s=n.c,s||(ae(),Kh))))return i;++i}return-1},a.Aj=function(){return Ia(this.a).i==0},a.Bj=function(){return null},a.Ej=function(){return Ia(this.a).i},a.Fj=function(){var e,n,r,i,s,l;for(l=Ia(this.a).i,s=at(Hi,ye,1,l,5,1),r=0,n=new Ke(Ia(this.a));n.e!=n.i.gc();)e=o(Ye(n),89),s[r++]=(i=e.c,i||(ae(),Kh));return s},a.Gj=function(e){var n,r,i,s,l,u,f;for(f=Ia(this.a).i,e.length<f&&(s=q9(Ja(e).c,f),e=s),e.length>f&&ei(e,f,null),i=0,r=new Ke(Ia(this.a));r.e!=r.i.gc();)n=o(Ye(r),89),l=(u=n.c,u||(ae(),Kh)),ei(e,i++,l);return e},a.Hj=function(){var e,n,r,i,s;for(s=new Qd,s.a+="[",e=Ia(this.a),n=0,i=Ia(this.a).i;n<i;)Qs(s,Vx((r=o(tt(e,n),89).c,r||(ae(),Kh)))),++n<i&&(s.a+=Fs);return s.a+="]",s.a},a.Jj=function(e){},a.Lj=function(){return 13},a.kl=function(){return!0},a.Mj=function(){return!1},a.ll=function(){return!1},a.ml=function(){return!1},a.nl=function(){return!0},a.al=function(){return!1},a.ol=function(){return!0},a.fk=function(e){return Q(e,142)},a.Qj=function(){return H_e(this.a)},a.Si=function(){return!0},a.Yi=function(){return!0},C(Ee,"EOperationImpl/1",513),v(1376,2062,DC,EOt),a.fd=function(e){return H9(this.a,e)},a.gc=function(){return Ia(this.a.a).i},C(Ee,"EOperationImpl/1/1",1376),v(1377,555,So,xqt),a.Ti=function(e,n){var r,i;return r=o($5(this,e,n),89),Ua(this.e)&&tk(this,new L9(this.a,7,(ae(),Vpe),Ct(n),(i=r.c,i||Kh),e)),r},a.Uj=function(e,n){return T$e(this,o(e,89),n)},a.Vj=function(e,n){return x$e(this,o(e,89),n)},a.Wj=function(e,n,r){return kNe(this,o(e,89),o(n,89),r)},a.Ij=function(e,n,r,i,s){switch(e){case 3:return d5(this,e,n,r,i,this.i>1);case 5:return d5(this,e,n,r,i,this.i-o(r,15).gc()>0);default:return new vd(this.e,e,this.c,n,r,i,!0)}},a.Tj=function(){return!0},a.Qj=function(){return eK(this)},a.Gk=function(){pn(this)},C(Ee,"EOperationImpl/2",1377),v(507,1,{2037:1,507:1},DDt),C(Ee,"EPackageImpl/1",507),v(14,83,So,dt),a.il=function(){return this.d},a.jl=function(){return this.b},a.ml=function(){return!0},a.b=0,C(Nr,"EObjectContainmentWithInverseEList",14),v(365,14,So,hv),a.nl=function(){return!0},a.Wi=function(e,n){return zv(this,e,o(n,58))},C(Nr,"EObjectContainmentWithInverseEList/Resolving",365),v(308,365,So,mp),a.Ni=function(){this.a.tb=null},C(Ee,"EPackageImpl/2",308),v(1278,1,{},rTe),C(Ee,"EPackageImpl/3",1278),v(733,45,Rm,Ftt),a._b=function(e){return Ji(e)?JN(this,e):!!zs(this.f,e)},C(Ee,"EPackageRegistryImpl",733),v(518,292,{110:1,94:1,93:1,155:1,197:1,58:1,2116:1,114:1,481:1,54:1,99:1,158:1,518:1,292:1,119:1,120:1},P$),a.Ah=function(e){return gQt(this,e)},a.Lh=function(e,n,r){var i,s,l;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Te(),(this.Bb&256)!=0;case 3:return Te(),(this.Bb&512)!=0;case 4:return Ct(this.s);case 5:return Ct(this.t);case 6:return Te(),l=this.t,l>1||l==-1;case 7:return Te(),s=this.s,s>=1;case 8:return n?eu(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?o(this.Cb,62):null}return Fl(this,e-en((ae(),O2)),pe((i=o(Be(this,16),29),i||O2),e),n,r)},a.Sh=function(e,n,r){var i,s,l;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ac(this.Ab,e,r);case 10:return this.Cb&&(r=(s=this.Db>>16,s>=0?gQt(this,r):this.Cb.Th(this,-1-s,null,r))),hl(this,e,10,r)}return l=o(pe((i=o(Be(this,16),29),i||(ae(),O2)),n),69),l.wk().zk(this,Rc(this),n-en((ae(),O2)),e,r)},a.Uh=function(e,n,r){var i,s;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ls(this.Ab,e,r);case 9:return IN(this,r);case 10:return hl(this,null,10,r)}return s=o(pe((i=o(Be(this,16),29),i||(ae(),O2)),n),69),s.wk().Ak(this,Rc(this),n-en((ae(),O2)),e,r)},a.Wh=function(e){var n,r,i;switch(e){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 i=this.t,i>1||i==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Hb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Hb(this.q).i==0);case 10:return!!(this.Db>>16==10&&o(this.Cb,62))}return Ml(this,e-en((ae(),O2)),pe((n=o(Be(this,16),29),n||O2),e))},a.ii=function(){return ae(),O2},C(Ee,"EParameterImpl",518),v(102,462,{110:1,94:1,93:1,155:1,197:1,58:1,19:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,102:1,462:1,292:1,119:1,120:1,692:1},jnt),a.Lh=function(e,n,r){var i,s,l,u;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return Te(),(this.Bb&256)!=0;case 3:return Te(),(this.Bb&512)!=0;case 4:return Ct(this.s);case 5:return Ct(this.t);case 6:return Te(),u=this.t,u>1||u==-1;case 7:return Te(),s=this.s,s>=1;case 8:return n?eu(this):this.r;case 9:return this.q;case 10:return Te(),(this.Bb&_u)!=0;case 11:return Te(),(this.Bb&n2)!=0;case 12:return Te(),(this.Bb&Vp)!=0;case 13:return this.j;case 14:return TC(this);case 15:return Te(),(this.Bb&da)!=0;case 16:return Te(),(this.Bb&af)!=0;case 17:return kp(this);case 18:return Te(),(this.Bb&Jo)!=0;case 19:return Te(),l=Hs(this),!!(l&&(l.Bb&Jo)!=0);case 20:return Te(),(this.Bb&js)!=0;case 21:return n?Hs(this):this.b;case 22:return n?Oot(this):FWt(this);case 23:return!this.a&&(this.a=new am(L2,this,23)),this.a}return Fl(this,e-en((ae(),My)),pe((i=o(Be(this,16),29),i||My),e),n,r)},a.Wh=function(e){var n,r,i,s;switch(e){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 s=this.t,s>1||s==-1;case 7:return r=this.s,r>=1;case 8:return!!this.r&&!this.q.e&&Hb(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Hb(this.q).i==0);case 10:return(this.Bb&_u)==0;case 11:return(this.Bb&n2)!=0;case 12:return(this.Bb&Vp)!=0;case 13:return this.j!=null;case 14:return TC(this)!=null;case 15:return(this.Bb&da)!=0;case 16:return(this.Bb&af)!=0;case 17:return!!kp(this);case 18:return(this.Bb&Jo)!=0;case 19:return i=Hs(this),!!i&&(i.Bb&Jo)!=0;case 20:return(this.Bb&js)==0;case 21:return!!this.b;case 22:return!!FWt(this);case 23:return!!this.a&&this.a.i!=0}return Ml(this,e-en((ae(),My)),pe((n=o(Be(this,16),29),n||My),e))},a.bi=function(e,n){var r,i;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return;case 1:cq(this,On(n));return;case 2:b1(this,It(_t(n)));return;case 3:w1(this,It(_t(n)));return;case 4:h1(this,o(n,17).a);return;case 5:Mp(this,o(n,17).a);return;case 8:A0(this,o(n,142));return;case 9:i=Ah(this,o(n,89),null),i&&i.oj();return;case 10:cC(this,It(_t(n)));return;case 11:uC(this,It(_t(n)));return;case 12:aC(this,It(_t(n)));return;case 13:Uet(this,On(n));return;case 15:lC(this,It(_t(n)));return;case 16:hC(this,It(_t(n)));return;case 18:qFe(this,It(_t(n)));return;case 20:hct(this,It(_t(n)));return;case 21:lot(this,o(n,19));return;case 23:!this.a&&(this.a=new am(L2,this,23)),pn(this.a),!this.a&&(this.a=new am(L2,this,23)),ii(this.a,o(n,16));return}Pl(this,e-en((ae(),My)),pe((r=o(Be(this,16),29),r||My),e),n)},a.ii=function(){return ae(),My},a.ki=function(e){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return;case 1:Q(this.Cb,90)&&Np(Oa(o(this.Cb,90)),4),Bc(this,null);return;case 2:b1(this,!0);return;case 3:w1(this,!0);return;case 4:h1(this,0);return;case 5:Mp(this,1);return;case 8:A0(this,null);return;case 9:r=Ah(this,null,null),r&&r.oj();return;case 10:cC(this,!0);return;case 11:uC(this,!1);return;case 12:aC(this,!1);return;case 13:this.i=null,qF(this,null);return;case 15:lC(this,!1);return;case 16:hC(this,!1);return;case 18:uct(this,!1),Q(this.Cb,90)&&Np(Oa(o(this.Cb,90)),2);return;case 20:hct(this,!0);return;case 21:lot(this,null);return;case 23:!this.a&&(this.a=new am(L2,this,23)),pn(this.a);return}Il(this,e-en((ae(),My)),pe((n=o(Be(this,16),29),n||My),e))},a.pi=function(){Oot(this),Bk(oo((ua(),ws),this)),eu(this),this.Bb|=1},a.uk=function(){return Hs(this)},a._k=function(){var e;return e=Hs(this),!!e&&(e.Bb&Jo)!=0},a.al=function(){return(this.Bb&Jo)!=0},a.bl=function(){return(this.Bb&js)!=0},a.Yk=function(e,n){return this.c=null,tct(this,e,n)},a.Ib=function(){var e;return(this.Db&64)!=0?nO(this):(e=new Jl(nO(this)),e.a+=" (containment: ",Zd(e,(this.Bb&Jo)!=0),e.a+=", resolveProxies: ",Zd(e,(this.Bb&js)!=0),e.a+=")",e.a)},C(Ee,"EReferenceImpl",102),v(561,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,561:1,119:1,120:1},MEt),a.Fb=function(e){return this===e},a.ld=function(){return this.b},a.md=function(){return this.c},a.Hb=function(){return Ib(this)},a.Di=function(e){UAe(this,On(e))},a.nd=function(e){return FAe(this,On(e))},a.Lh=function(e,n,r){var i;switch(e){case 0:return this.b;case 1:return this.c}return Fl(this,e-en((ae(),$s)),pe((i=o(Be(this,16),29),i||$s),e),n,r)},a.Wh=function(e){var n;switch(e){case 0:return this.b!=null;case 1:return this.c!=null}return Ml(this,e-en((ae(),$s)),pe((n=o(Be(this,16),29),n||$s),e))},a.bi=function(e,n){var r;switch(e){case 0:GAe(this,On(n));return;case 1:oot(this,On(n));return}Pl(this,e-en((ae(),$s)),pe((r=o(Be(this,16),29),r||$s),e),n)},a.ii=function(){return ae(),$s},a.ki=function(e){var n;switch(e){case 0:sot(this,null);return;case 1:oot(this,null);return}Il(this,e-en((ae(),$s)),pe((n=o(Be(this,16),29),n||$s),e))},a.Bi=function(){var e;return this.a==-1&&(e=this.b,this.a=e==null?0:f1(e)),this.a},a.Ci=function(e){this.a=e},a.Ib=function(){var e;return(this.Db&64)!=0?Mu(this):(e=new Jl(Mu(this)),e.a+=" (key: ",Qs(e,this.b),e.a+=", value: ",Qs(e,this.c),e.a+=")",e.a)},a.a=-1,a.b=null,a.c=null;var Go=C(Ee,"EStringToStringMapEntryImpl",561),e2e=Qr(Nr,"FeatureMap/Entry/Internal");v(576,1,bI),a.xl=function(e){return this.yl(o(e,54))},a.yl=function(e){return this.xl(e)},a.Fb=function(e){var n,r;return this===e?!0:Q(e,76)?(n=o(e,76),n.Lk()==this.c?(r=this.md(),r==null?n.md()==null:hr(r,n.md())):!1):!1},a.Lk=function(){return this.c},a.Hb=function(){var e;return e=this.md(),Mr(this.c)^(e==null?0:Mr(e))},a.Ib=function(){var e,n;return e=this.c,n=sl(e.qk()).yi(),e.xe(),(n!=null&&n.length!=0?n+":"+e.xe():e.xe())+"="+this.md()},C(Ee,"EStructuralFeatureImpl/BasicFeatureMapEntry",576),v(791,576,bI,Wnt),a.yl=function(e){return new Wnt(this.c,e)},a.md=function(){return this.a},a.zl=function(e,n,r){return Lje(this,e,this.a,n,r)},a.Al=function(e,n,r){return Fje(this,e,this.a,n,r)},C(Ee,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",791),v(1350,1,{},$Dt),a.yk=function(e,n,r,i,s){var l;return l=o(Ik(e,this.b),220),l.Yl(this.a).Fk(i)},a.zk=function(e,n,r,i,s){var l;return l=o(Ik(e,this.b),220),l.Pl(this.a,i,s)},a.Ak=function(e,n,r,i,s){var l;return l=o(Ik(e,this.b),220),l.Ql(this.a,i,s)},a.Bk=function(e,n,r){var i;return i=o(Ik(e,this.b),220),i.Yl(this.a).Qj()},a.Ck=function(e,n,r,i){var s;s=o(Ik(e,this.b),220),s.Yl(this.a).Wb(i)},a.Dk=function(e,n,r){return o(Ik(e,this.b),220).Yl(this.a)},a.Ek=function(e,n,r){var i;i=o(Ik(e,this.b),220),i.Yl(this.a).Gk()},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1350),v(91,1,{},r1,b0,s1,v0),a.yk=function(e,n,r,i,s){var l;if(l=n.li(r),l==null&&n.mi(r,l=gO(this,e)),!s)switch(this.e){case 50:case 41:return o(l,597).bk();case 40:return o(l,220).Vl()}return l},a.zk=function(e,n,r,i,s){var l,u;return u=n.li(r),u==null&&n.mi(r,u=gO(this,e)),l=o(u,71).Wk(i,s),l},a.Ak=function(e,n,r,i,s){var l;return l=n.li(r),l!=null&&(s=o(l,71).Xk(i,s)),s},a.Bk=function(e,n,r){var i;return i=n.li(r),i!=null&&o(i,79).Qj()},a.Ck=function(e,n,r,i){var s;s=o(n.li(r),79),!s&&n.mi(r,s=gO(this,e)),s.Wb(i)},a.Dk=function(e,n,r){var i,s;return s=n.li(r),s==null&&n.mi(r,s=gO(this,e)),Q(s,79)?o(s,79):(i=o(n.li(r),15),new BOt(i))},a.Ek=function(e,n,r){var i;i=o(n.li(r),79),!i&&n.mi(r,i=gO(this,e)),i.Gk()},a.b=0,a.e=0,C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateMany",91),v(512,1,{}),a.zk=function(e,n,r,i,s){throw N(new Fn)},a.Ak=function(e,n,r,i,s){throw N(new Fn)},a.Dk=function(e,n,r){return new jHt(this,e,n,r)};var nd;C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingle",512),v(1367,1,YU,jHt),a.Fk=function(e){return this.a.yk(this.c,this.d,this.b,e,!0)},a.Qj=function(){return this.a.Bk(this.c,this.d,this.b)},a.Wb=function(e){this.a.Ck(this.c,this.d,this.b,e)},a.Gk=function(){this.a.Ek(this.c,this.d,this.b)},a.b=0,C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1367),v(784,512,{},Oit),a.yk=function(e,n,r,i,s){return JK(e,e.Ph(),e.Fh())==this.b?this.bl()&&i?DK(e):e.Ph():null},a.zk=function(e,n,r,i,s){var l,u;return e.Ph()&&(s=(l=e.Fh(),l>=0?e.Ah(s):e.Ph().Th(e,-1-l,null,s))),u=Gr(e.Dh(),this.e),e.Ch(i,u,s)},a.Ak=function(e,n,r,i,s){var l;return l=Gr(e.Dh(),this.e),e.Ch(null,l,s)},a.Bk=function(e,n,r){var i;return i=Gr(e.Dh(),this.e),!!e.Ph()&&e.Fh()==i},a.Ck=function(e,n,r,i){var s,l,u,f,g;if(i!=null&&!ez(this.a,i))throw N(new ek(wI+(Q(i,58)?vat(o(i,58).Dh()):Nst(Ja(i)))+pI+this.a+"'"));if(s=e.Ph(),u=Gr(e.Dh(),this.e),it(i)!==it(s)||e.Fh()!=u&&i!=null){if(wC(e,o(i,58)))throw N(new _e(P6+e.Ib()));g=null,s&&(g=(l=e.Fh(),l>=0?e.Ah(g):e.Ph().Th(e,-1-l,null,g))),f=o(i,54),f&&(g=f.Rh(e,Gr(f.Dh(),this.b),null,g)),g=e.Ch(f,u,g),g&&g.oj()}else e.vh()&&e.wh()&&ur(e,new Gi(e,1,u,i,i))},a.Ek=function(e,n,r){var i,s,l,u;i=e.Ph(),i?(u=(s=e.Fh(),s>=0?e.Ah(null):e.Ph().Th(e,-1-s,null,null)),l=Gr(e.Dh(),this.e),u=e.Ch(null,l,u),u&&u.oj()):e.vh()&&e.wh()&&ur(e,new o5(e,1,this.e,null,null))},a.bl=function(){return!1},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",784),v(1351,784,{},ENt),a.bl=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1351),v(574,512,{}),a.yk=function(e,n,r,i,s){var l;return l=n.li(r),l==null?this.b:it(l)===it(nd)?null:l},a.Bk=function(e,n,r){var i;return i=n.li(r),i!=null&&(it(i)===it(nd)||!hr(i,this.b))},a.Ck=function(e,n,r,i){var s,l;e.vh()&&e.wh()?(s=(l=n.li(r),l==null?this.b:it(l)===it(nd)?null:l),i==null?this.c!=null?(n.mi(r,null),i=this.b):this.b!=null?n.mi(r,nd):n.mi(r,null):(this.Bl(i),n.mi(r,i)),ur(e,this.d.Cl(e,1,this.e,s,i))):i==null?this.c!=null?n.mi(r,null):this.b!=null?n.mi(r,nd):n.mi(r,null):(this.Bl(i),n.mi(r,i))},a.Ek=function(e,n,r){var i,s;e.vh()&&e.wh()?(i=(s=n.li(r),s==null?this.b:it(s)===it(nd)?null:s),n.ni(r),ur(e,this.d.Cl(e,1,this.e,i,this.b))):n.ni(r)},a.Bl=function(e){throw N(new $Ot)},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",574),v(Vm,1,{},LEt),a.Cl=function(e,n,r,i,s){return new o5(e,n,r,i,s)},a.Dl=function(e,n,r,i,s,l){return new VN(e,n,r,i,s,l)};var xvt,Tvt,Svt,Evt,Bvt,Avt,Mvt,YY,Lvt;C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",Vm),v(1368,Vm,{},FEt),a.Cl=function(e,n,r,i,s){return new ust(e,n,r,It(_t(i)),It(_t(s)))},a.Dl=function(e,n,r,i,s,l){return new czt(e,n,r,It(_t(i)),It(_t(s)),l)},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1368),v(1369,Vm,{},_Et),a.Cl=function(e,n,r,i,s){return new zst(e,n,r,o(i,222).a,o(s,222).a)},a.Dl=function(e,n,r,i,s,l){return new tzt(e,n,r,o(i,222).a,o(s,222).a,l)},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1369),v(1370,Vm,{},OEt),a.Cl=function(e,n,r,i,s){return new Wst(e,n,r,o(i,180).a,o(s,180).a)},a.Dl=function(e,n,r,i,s,l){return new ezt(e,n,r,o(i,180).a,o(s,180).a,l)},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1370),v(1371,Vm,{},IEt),a.Cl=function(e,n,r,i,s){return new ast(e,n,r,nt(ct(i)),nt(ct(s)))},a.Dl=function(e,n,r,i,s,l){return new nzt(e,n,r,nt(ct(i)),nt(ct(s)),l)},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1371),v(1372,Vm,{},PEt),a.Cl=function(e,n,r,i,s){return new Xst(e,n,r,o(i,161).a,o(s,161).a)},a.Dl=function(e,n,r,i,s,l){return new rzt(e,n,r,o(i,161).a,o(s,161).a,l)},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1372),v(1373,Vm,{},jEt),a.Cl=function(e,n,r,i,s){return new lst(e,n,r,o(i,17).a,o(s,17).a)},a.Dl=function(e,n,r,i,s,l){return new izt(e,n,r,o(i,17).a,o(s,17).a,l)},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1373),v(1374,Vm,{},DEt),a.Cl=function(e,n,r,i,s){return new Ust(e,n,r,o(i,168).a,o(s,168).a)},a.Dl=function(e,n,r,i,s,l){return new szt(e,n,r,o(i,168).a,o(s,168).a,l)},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1374),v(1375,Vm,{},$Et),a.Cl=function(e,n,r,i,s){return new Gst(e,n,r,o(i,191).a,o(s,191).a)},a.Dl=function(e,n,r,i,s,l){return new ozt(e,n,r,o(i,191).a,o(s,191).a,l)},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1375),v(1353,574,{},DHt),a.Bl=function(e){if(!this.a.fk(e))throw N(new ek(wI+Ja(e)+pI+this.a+"'"))},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1353),v(1354,574,{},Tqt),a.Bl=function(e){},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1354),v(785,574,{}),a.Bk=function(e,n,r){var i;return i=n.li(r),i!=null},a.Ck=function(e,n,r,i){var s,l;e.vh()&&e.wh()?(s=!0,l=n.li(r),l==null?(s=!1,l=this.b):it(l)===it(nd)&&(l=null),i==null?this.c!=null?(n.mi(r,null),i=this.b):n.mi(r,nd):(this.Bl(i),n.mi(r,i)),ur(e,this.d.Dl(e,1,this.e,l,i,!s))):i==null?this.c!=null?n.mi(r,null):n.mi(r,nd):(this.Bl(i),n.mi(r,i))},a.Ek=function(e,n,r){var i,s;e.vh()&&e.wh()?(i=!0,s=n.li(r),s==null?(i=!1,s=this.b):it(s)===it(nd)&&(s=null),n.ni(r),ur(e,this.d.Dl(e,2,this.e,s,this.b,i))):n.ni(r)},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",785),v(1355,785,{},$Ht),a.Bl=function(e){if(!this.a.fk(e))throw N(new ek(wI+Ja(e)+pI+this.a+"'"))},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1355),v(1356,785,{},Sqt),a.Bl=function(e){},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1356),v(410,512,{},AL),a.yk=function(e,n,r,i,s){var l,u,f,g,b;if(b=n.li(r),this.tk()&&it(b)===it(nd))return null;if(this.bl()&&i&&b!=null){if(f=o(b,54),f.Vh()&&(g=dg(e,f),f!=g)){if(!ez(this.a,g))throw N(new ek(wI+Ja(g)+pI+this.a+"'"));n.mi(r,b=g),this.al()&&(l=o(g,54),u=f.Th(e,this.b?Gr(f.Dh(),this.b):-1-Gr(e.Dh(),this.e),null,null),!l.Ph()&&(u=l.Rh(e,this.b?Gr(l.Dh(),this.b):-1-Gr(e.Dh(),this.e),null,u)),u&&u.oj()),e.vh()&&e.wh()&&ur(e,new o5(e,9,this.e,f,g))}return b}else return b},a.zk=function(e,n,r,i,s){var l,u;return u=n.li(r),it(u)===it(nd)&&(u=null),n.mi(r,i),this.Mj()?it(u)!==it(i)&&u!=null&&(l=o(u,54),s=l.Th(e,Gr(l.Dh(),this.b),null,s)):this.al()&&u!=null&&(s=o(u,54).Th(e,-1-Gr(e.Dh(),this.e),null,s)),e.vh()&&e.wh()&&(!s&&(s=new Y1(4)),s.nj(new o5(e,1,this.e,u,i))),s},a.Ak=function(e,n,r,i,s){var l;return l=n.li(r),it(l)===it(nd)&&(l=null),n.ni(r),e.vh()&&e.wh()&&(!s&&(s=new Y1(4)),this.tk()?s.nj(new o5(e,2,this.e,l,null)):s.nj(new o5(e,1,this.e,l,null))),s},a.Bk=function(e,n,r){var i;return i=n.li(r),i!=null},a.Ck=function(e,n,r,i){var s,l,u,f,g;if(i!=null&&!ez(this.a,i))throw N(new ek(wI+(Q(i,58)?vat(o(i,58).Dh()):Nst(Ja(i)))+pI+this.a+"'"));g=n.li(r),f=g!=null,this.tk()&&it(g)===it(nd)&&(g=null),u=null,this.Mj()?it(g)!==it(i)&&(g!=null&&(s=o(g,54),u=s.Th(e,Gr(s.Dh(),this.b),null,u)),i!=null&&(s=o(i,54),u=s.Rh(e,Gr(s.Dh(),this.b),null,u))):this.al()&&it(g)!==it(i)&&(g!=null&&(u=o(g,54).Th(e,-1-Gr(e.Dh(),this.e),null,u)),i!=null&&(u=o(i,54).Rh(e,-1-Gr(e.Dh(),this.e),null,u))),i==null&&this.tk()?n.mi(r,nd):n.mi(r,i),e.vh()&&e.wh()?(l=new VN(e,1,this.e,g,i,this.tk()&&!f),u?(u.nj(l),u.oj()):ur(e,l)):u&&u.oj()},a.Ek=function(e,n,r){var i,s,l,u,f;f=n.li(r),u=f!=null,this.tk()&&it(f)===it(nd)&&(f=null),l=null,f!=null&&(this.Mj()?(i=o(f,54),l=i.Th(e,Gr(i.Dh(),this.b),null,l)):this.al()&&(l=o(f,54).Th(e,-1-Gr(e.Dh(),this.e),null,l))),n.ni(r),e.vh()&&e.wh()?(s=new VN(e,this.tk()?2:1,this.e,f,null,u),l?(l.nj(s),l.oj()):ur(e,s)):l&&l.oj()},a.Mj=function(){return!1},a.al=function(){return!1},a.bl=function(){return!1},a.tk=function(){return!1},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",410),v(575,410,{},ZR),a.al=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",575),v(1359,575,{},xRt),a.bl=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1359),v(787,575,{},_nt),a.tk=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",787),v(1361,787,{},TRt),a.bl=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1361),v(650,575,{},fN),a.Mj=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",650),v(1360,650,{},BNt),a.bl=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1360),v(788,650,{},mrt),a.tk=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",788),v(1362,788,{},ANt),a.bl=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1362),v(651,410,{},Ont),a.bl=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",651),v(1363,651,{},SRt),a.tk=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1363),v(789,651,{},wrt),a.Mj=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",789),v(1364,789,{},MNt),a.tk=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1364),v(1357,410,{},ERt),a.tk=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1357),v(786,410,{},prt),a.Mj=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",786),v(1358,786,{},LNt),a.tk=function(){return!0},C(Ee,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1358),v(790,576,bI,git),a.yl=function(e){return new git(this.a,this.c,e)},a.md=function(){return this.b},a.zl=function(e,n,r){return AIe(this,e,this.b,r)},a.Al=function(e,n,r){return MIe(this,e,this.b,r)},C(Ee,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",790),v(1365,1,YU,BOt),a.Fk=function(e){return this.a},a.Qj=function(){return Q(this.a,97)?o(this.a,97).Qj():!this.a.dc()},a.Wb=function(e){this.a.$b(),this.a.Gc(o(e,15))},a.Gk=function(){Q(this.a,97)?o(this.a,97).Gk():this.a.$b()},C(Ee,"EStructuralFeatureImpl/SettingMany",1365),v(1366,576,bI,Qzt),a.xl=function(e){return new nN((kr(),n8),this.b.ri(this.a,e))},a.md=function(){return null},a.zl=function(e,n,r){return r},a.Al=function(e,n,r){return r},C(Ee,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1366),v(652,576,bI,nN),a.xl=function(e){return new nN(this.c,e)},a.md=function(){return this.a},a.zl=function(e,n,r){return r},a.Al=function(e,n,r){return r},C(Ee,"EStructuralFeatureImpl/SimpleFeatureMapEntry",652),v(403,506,pf,G3),a.aj=function(e){return at(fu,ye,29,e,0,1)},a.Yi=function(){return!1},C(Ee,"ESuperAdapter/1",403),v(457,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,850:1,54:1,99:1,158:1,457:1,119:1,120:1},g$),a.Lh=function(e,n,r){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new n5(this,Js,this)),this.a}return Fl(this,e-en((ae(),Uw)),pe((i=o(Be(this,16),29),i||Uw),e),n,r)},a.Uh=function(e,n,r){var i,s;switch(n){case 0:return!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),Ls(this.Ab,e,r);case 2:return!this.a&&(this.a=new n5(this,Js,this)),Ls(this.a,e,r)}return s=o(pe((i=o(Be(this,16),29),i||(ae(),Uw)),n),69),s.wk().Ak(this,Rc(this),n-en((ae(),Uw)),e,r)},a.Wh=function(e){var n;switch(e){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 Ml(this,e-en((ae(),Uw)),pe((n=o(Be(this,16),29),n||Uw),e))},a.bi=function(e,n){var r;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab),!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),ii(this.Ab,o(n,16));return;case 1:Bc(this,On(n));return;case 2:!this.a&&(this.a=new n5(this,Js,this)),pn(this.a),!this.a&&(this.a=new n5(this,Js,this)),ii(this.a,o(n,16));return}Pl(this,e-en((ae(),Uw)),pe((r=o(Be(this,16),29),r||Uw),e),n)},a.ii=function(){return ae(),Uw},a.ki=function(e){var n;switch(e){case 0:!this.Ab&&(this.Ab=new dt(Gn,this,0,3)),pn(this.Ab);return;case 1:Bc(this,null);return;case 2:!this.a&&(this.a=new n5(this,Js,this)),pn(this.a);return}Il(this,e-en((ae(),Uw)),pe((n=o(Be(this,16),29),n||Uw),e))},C(Ee,"ETypeParameterImpl",457),v(458,83,So,n5),a.Nj=function(e,n){return KKe(this,o(e,89),n)},a.Oj=function(e,n){return zKe(this,o(e,89),n)},C(Ee,"ETypeParameterImpl/1",458),v(647,45,Rm,j$),a.ec=function(){return new eM(this)},C(Ee,"ETypeParameterImpl/2",647),v(570,Lh,ha,eM),a.Fc=function(e){return QRt(this,o(e,89))},a.Gc=function(e){var n,r,i;for(i=!1,r=e.Kc();r.Ob();)n=o(r.Pb(),89),Qn(this.a,n,"")==null&&(i=!0);return i},a.$b=function(){ya(this.a)},a.Hc=function(e){return Pc(this.a,e)},a.Kc=function(){var e;return e=new T0(new s0(this.a).a),new nM(e)},a.Mc=function(e){return HWt(this,e)},a.gc=function(){return xx(this.a)},C(Ee,"ETypeParameterImpl/2/1",570),v(571,1,Qi,nM),a.Nb=function(e){hs(this,e)},a.Pb=function(){return o(nw(this.a).ld(),89)},a.Ob=function(){return this.a.b},a.Qb=function(){JUt(this.a)},C(Ee,"ETypeParameterImpl/2/1/1",571),v(1329,45,Rm,pIt),a._b=function(e){return Ji(e)?JN(this,e):!!zs(this.f,e)},a.xc=function(e){var n,r;return n=Ji(e)?gc(this,e):go(zs(this.f,e)),Q(n,851)?(r=o(n,851),n=r.Kk(),Qn(this,o(e,241),n),n):n??(e==null?(eR(),r2e):null)},C(Ee,"EValidatorRegistryImpl",1329),v(1349,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,2040:1,54:1,99:1,158:1,119:1,120:1},REt),a.ri=function(e,n){switch(e.hk()){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 n==null?null:To(n);case 25:return NPe(n);case 27:return tPe(n);case 28:return ePe(n);case 29:return n==null?null:M$t(YT[0],o(n,206));case 41:return n==null?"":a0(o(n,297));case 42:return To(n);case 50:return On(n);default:throw N(new _e(ZC+e.xe()+xw))}},a.si=function(e){var n,r,i,s,l,u,f,g,b,y,x,S,M,_,j,z;switch(e.G==-1&&(e.G=(S=sl(e),S?y1(S.vi(),e):-1)),e.G){case 0:return r=new O$,r;case 1:return n=new FZ,n;case 2:return i=new PZ,i;case 4:return s=new rM,s;case 5:return l=new wIt,l;case 6:return u=new qOt,u;case 7:return f=new jZ,f;case 10:return b=new UA,b;case 11:return y=new I$,y;case 12:return x=new UHt,x;case 13:return M=new P$,M;case 14:return _=new jnt,_;case 17:return j=new MEt,j;case 18:return g=new yb,g;case 19:return z=new g$,z;default:throw N(new _e(IU+e.zb+xw))}},a.ti=function(e,n){switch(e.hk()){case 20:return n==null?null:new net(n);case 21:return n==null?null:new eg(n);case 23:case 22:return n==null?null:ZRe(n);case 26:case 24:return n==null?null:D9(ul(n,-128,127)<<24>>24);case 25:return mGe(n);case 27:return Nqe(n);case 28:return qqe(n);case 29:return uze(n);case 32:case 31:return n==null?null:$p(n);case 38:case 37:return n==null?null:new ytt(n);case 40:case 39:return n==null?null:Ct(ul(n,vs,ar));case 41:return null;case 42:return n==null,null;case 44:case 43:return n==null?null:Bd(dO(n));case 49:case 48:return n==null?null:oC(ul(n,mI,32767)<<16>>16);case 50:return n;default:throw N(new _e(ZC+e.xe()+xw))}},C(Ee,"EcoreFactoryImpl",1349),v(560,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,2038:1,54:1,99:1,158:1,184:1,560:1,119:1,120:1,690:1},wHt),a.gb=!1,a.hb=!1;var Fvt,n2e=!1;C(Ee,"EcorePackageImpl",560),v(1234,1,{851:1},NEt),a.Kk=function(){return H$t(),i2e},C(Ee,"EcorePackageImpl/1",1234),v(1243,1,Jn,qEt),a.fk=function(e){return Q(e,155)},a.gk=function(e){return at(_B,ye,155,e,0,1)},C(Ee,"EcorePackageImpl/10",1243),v(1244,1,Jn,HEt),a.fk=function(e){return Q(e,197)},a.gk=function(e){return at(qY,ye,197,e,0,1)},C(Ee,"EcorePackageImpl/11",1244),v(1245,1,Jn,KEt),a.fk=function(e){return Q(e,58)},a.gk=function(e){return at(Kg,ye,58,e,0,1)},C(Ee,"EcorePackageImpl/12",1245),v(1246,1,Jn,zEt),a.fk=function(e){return Q(e,411)},a.gk=function(e){return at(du,C1t,62,e,0,1)},C(Ee,"EcorePackageImpl/13",1246),v(1247,1,Jn,WEt),a.fk=function(e){return Q(e,241)},a.gk=function(e){return at(fh,ye,241,e,0,1)},C(Ee,"EcorePackageImpl/14",1247),v(1248,1,Jn,UEt),a.fk=function(e){return Q(e,518)},a.gk=function(e){return at(zw,ye,2116,e,0,1)},C(Ee,"EcorePackageImpl/15",1248),v(1249,1,Jn,GEt),a.fk=function(e){return Q(e,102)},a.gk=function(e){return at(F2,Xm,19,e,0,1)},C(Ee,"EcorePackageImpl/16",1249),v(1250,1,Jn,XEt),a.fk=function(e){return Q(e,179)},a.gk=function(e){return at(ea,Xm,179,e,0,1)},C(Ee,"EcorePackageImpl/17",1250),v(1251,1,Jn,VEt),a.fk=function(e){return Q(e,481)},a.gk=function(e){return at(M2,ye,481,e,0,1)},C(Ee,"EcorePackageImpl/18",1251),v(1252,1,Jn,YEt),a.fk=function(e){return Q(e,561)},a.gk=function(e){return at(Go,iae,561,e,0,1)},C(Ee,"EcorePackageImpl/19",1252),v(1235,1,Jn,JEt),a.fk=function(e){return Q(e,331)},a.gk=function(e){return at(L2,Xm,35,e,0,1)},C(Ee,"EcorePackageImpl/2",1235),v(1253,1,Jn,QEt),a.fk=function(e){return Q(e,248)},a.gk=function(e){return at(Js,kae,89,e,0,1)},C(Ee,"EcorePackageImpl/20",1253),v(1254,1,Jn,ZEt),a.fk=function(e){return Q(e,457)},a.gk=function(e){return at(Wc,ye,850,e,0,1)},C(Ee,"EcorePackageImpl/21",1254),v(1255,1,Jn,tBt),a.fk=function(e){return up(e)},a.gk=function(e){return at(li,vt,485,e,8,1)},C(Ee,"EcorePackageImpl/22",1255),v(1256,1,Jn,eBt),a.fk=function(e){return Q(e,195)},a.gk=function(e){return at(ba,vt,195,e,0,2)},C(Ee,"EcorePackageImpl/23",1256),v(1257,1,Jn,nBt),a.fk=function(e){return Q(e,222)},a.gk=function(e){return at(o3,vt,222,e,0,1)},C(Ee,"EcorePackageImpl/24",1257),v(1258,1,Jn,rBt),a.fk=function(e){return Q(e,180)},a.gk=function(e){return at(G6,vt,180,e,0,1)},C(Ee,"EcorePackageImpl/25",1258),v(1259,1,Jn,iBt),a.fk=function(e){return Q(e,206)},a.gk=function(e){return at(AI,vt,206,e,0,1)},C(Ee,"EcorePackageImpl/26",1259),v(1260,1,Jn,sBt),a.fk=function(e){return!1},a.gk=function(e){return at(Vvt,ye,2215,e,0,1)},C(Ee,"EcorePackageImpl/27",1260),v(1261,1,Jn,oBt),a.fk=function(e){return hp(e)},a.gk=function(e){return at(Bi,vt,345,e,7,1)},C(Ee,"EcorePackageImpl/28",1261),v(1262,1,Jn,cBt),a.fk=function(e){return Q(e,61)},a.gk=function(e){return at(uvt,Yp,61,e,0,1)},C(Ee,"EcorePackageImpl/29",1262),v(1236,1,Jn,aBt),a.fk=function(e){return Q(e,519)},a.gk=function(e){return at(Gn,{3:1,4:1,5:1,2033:1},598,e,0,1)},C(Ee,"EcorePackageImpl/3",1236),v(1263,1,Jn,lBt),a.fk=function(e){return Q(e,582)},a.gk=function(e){return at(dvt,ye,2039,e,0,1)},C(Ee,"EcorePackageImpl/30",1263),v(1264,1,Jn,uBt),a.fk=function(e){return Q(e,160)},a.gk=function(e){return at(jvt,Yp,160,e,0,1)},C(Ee,"EcorePackageImpl/31",1264),v(1265,1,Jn,hBt),a.fk=function(e){return Q(e,76)},a.gk=function(e){return at(Wj,Lae,76,e,0,1)},C(Ee,"EcorePackageImpl/32",1265),v(1266,1,Jn,fBt),a.fk=function(e){return Q(e,161)},a.gk=function(e){return at(o4,vt,161,e,0,1)},C(Ee,"EcorePackageImpl/33",1266),v(1267,1,Jn,dBt),a.fk=function(e){return Q(e,17)},a.gk=function(e){return at(bs,vt,17,e,0,1)},C(Ee,"EcorePackageImpl/34",1267),v(1268,1,Jn,gBt),a.fk=function(e){return Q(e,297)},a.gk=function(e){return at(P1t,ye,297,e,0,1)},C(Ee,"EcorePackageImpl/35",1268),v(1269,1,Jn,bBt),a.fk=function(e){return Q(e,168)},a.gk=function(e){return at(Sw,vt,168,e,0,1)},C(Ee,"EcorePackageImpl/36",1269),v(1270,1,Jn,wBt),a.fk=function(e){return Q(e,85)},a.gk=function(e){return at(j1t,ye,85,e,0,1)},C(Ee,"EcorePackageImpl/37",1270),v(1271,1,Jn,pBt),a.fk=function(e){return Q(e,599)},a.gk=function(e){return at(_vt,ye,599,e,0,1)},C(Ee,"EcorePackageImpl/38",1271),v(1272,1,Jn,mBt),a.fk=function(e){return!1},a.gk=function(e){return at(Yvt,ye,2216,e,0,1)},C(Ee,"EcorePackageImpl/39",1272),v(1237,1,Jn,yBt),a.fk=function(e){return Q(e,90)},a.gk=function(e){return at(fu,ye,29,e,0,1)},C(Ee,"EcorePackageImpl/4",1237),v(1273,1,Jn,vBt),a.fk=function(e){return Q(e,191)},a.gk=function(e){return at(Ew,vt,191,e,0,1)},C(Ee,"EcorePackageImpl/40",1273),v(1274,1,Jn,kBt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ee,"EcorePackageImpl/41",1274),v(1275,1,Jn,CBt),a.fk=function(e){return Q(e,596)},a.gk=function(e){return at(fvt,ye,596,e,0,1)},C(Ee,"EcorePackageImpl/42",1275),v(1276,1,Jn,xBt),a.fk=function(e){return!1},a.gk=function(e){return at(Jvt,vt,2217,e,0,1)},C(Ee,"EcorePackageImpl/43",1276),v(1277,1,Jn,TBt),a.fk=function(e){return Q(e,44)},a.gk=function(e){return at(W0,wO,44,e,0,1)},C(Ee,"EcorePackageImpl/44",1277),v(1238,1,Jn,SBt),a.fk=function(e){return Q(e,142)},a.gk=function(e){return at(dh,ye,142,e,0,1)},C(Ee,"EcorePackageImpl/5",1238),v(1239,1,Jn,EBt),a.fk=function(e){return Q(e,156)},a.gk=function(e){return at(GY,ye,156,e,0,1)},C(Ee,"EcorePackageImpl/6",1239),v(1240,1,Jn,BBt),a.fk=function(e){return Q(e,469)},a.gk=function(e){return at(zj,ye,685,e,0,1)},C(Ee,"EcorePackageImpl/7",1240),v(1241,1,Jn,ABt),a.fk=function(e){return Q(e,582)},a.gk=function(e){return at(Nd,ye,694,e,0,1)},C(Ee,"EcorePackageImpl/8",1241),v(1242,1,Jn,MBt),a.fk=function(e){return Q(e,480)},a.gk=function(e){return at(VT,ye,480,e,0,1)},C(Ee,"EcorePackageImpl/9",1242),v(1038,2080,rae,$It),a.Mi=function(e,n){A$e(this,o(n,424))},a.Qi=function(e,n){_Zt(this,e,o(n,424))},C(Ee,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1038),v(1039,152,mE,oHt),a.jj=function(){return this.a.a},C(Ee,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1039),v(1067,1066,{},v$t),C("org.eclipse.emf.ecore.plugin","EcorePlugin",1067);var _vt=Qr(Fae,"Resource");v(799,1524,_ae),a.Hl=function(e){},a.Il=function(e){},a.El=function(){return!this.a&&(this.a=new B$(this)),this.a},a.Fl=function(e){var n,r,i,s,l;if(i=e.length,i>0)if(Oe(0,e.length),e.charCodeAt(0)==47){for(l=new Ec(4),s=1,n=1;n<i;++n)Oe(n,e.length),e.charCodeAt(n)==47&&(St(l,s==n?"":(os(s,n,e.length),e.substr(s,n-s))),s=n+1);return St(l,(Oe(s,e.length+1),e.substr(s))),FHe(this,l)}else Oe(i-1,e.length),e.charCodeAt(i-1)==63&&(r=irt(e,Yc(63),i-2),r>0&&(e=(os(0,r,e.length),e.substr(0,r))));return rUe(this,e)},a.Gl=function(){return this.c},a.Ib=function(){var e;return a0(this.Rm)+"@"+(e=Mr(this)>>>0,e.toString(16))+" uri='"+this.d+"'"},a.b=!1,C(JU,"ResourceImpl",799),v(1525,799,_ae,AOt),C(JU,"BinaryResourceImpl",1525),v(1190,708,WU),a.bj=function(e){return Q(e,58)?XLe(this,o(e,58)):Q(e,599)?new Ke(o(e,599).El()):it(e)===it(this.f)?o(e,16).Kc():(wk(),PB.a)},a.Ob=function(){return glt(this)},a.a=!1,C(Nr,"EcoreUtil/ContentTreeIterator",1190),v(1526,1190,WU,jqt),a.bj=function(e){return it(e)===it(this.f)?o(e,15).Kc():new Ozt(o(e,58))},C(JU,"ResourceImpl/5",1526),v(658,2092,vae,B$),a.Hc=function(e){return this.i<=4?mC(this,e):Q(e,54)&&o(e,54).Jh()==this.a},a.Mi=function(e,n){e==this.i-1&&(this.a.b||(this.a.b=!0))},a.Oi=function(e,n){e==0?this.a.b||(this.a.b=!0):Eq(this,e,n)},a.Qi=function(e,n){},a.Ri=function(e,n,r){},a.Lj=function(){return 2},a.jj=function(){return this.a},a.Mj=function(){return!0},a.Nj=function(e,n){var r;return r=o(e,54),n=r.fi(this.a,n),n},a.Oj=function(e,n){var r;return r=o(e,54),r.fi(null,n)},a.Pj=function(){return!1},a.Si=function(){return!0},a.aj=function(e){return at(Kg,ye,58,e,0,1)},a.Yi=function(){return!1},C(JU,"ResourceImpl/ContentsEList",658),v(970,2062,DC,MOt),a.fd=function(e){return this.a.Ki(e)},a.gc=function(){return this.a.gc()},C(Nr,"AbstractSequentialInternalEList/1",970);var Ovt,Ivt,ws,Pvt;v(634,1,{},$Nt);var Uj,Gj;C(Nr,"BasicExtendedMetaData",634),v(1181,1,{},NDt),a.Jl=function(){return null},a.Kl=function(){return this.a==-2&&BTe(this,rze(this.d,this.b)),this.a},a.Ll=function(){return null},a.Ml=function(){return le(),le(),Os},a.xe=function(){return this.c==n4&&ATe(this,nJt(this.d,this.b)),this.c},a.Nl=function(){return 0},a.a=-2,a.c=n4,C(Nr,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1181),v(1182,1,{},lzt),a.Jl=function(){return this.a==(Ok(),Uj)&&FTe(this,nYe(this.f,this.b)),this.a},a.Kl=function(){return 0},a.Ll=function(){return this.c==(Ok(),Uj)&&MTe(this,rYe(this.f,this.b)),this.c},a.Ml=function(){return!this.d&&OTe(this,qJe(this.f,this.b)),this.d},a.xe=function(){return this.e==n4&&PTe(this,nJt(this.f,this.b)),this.e},a.Nl=function(){return this.g==-2&&DTe(this,CKe(this.f,this.b)),this.g},a.e=n4,a.g=-2,C(Nr,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1182),v(1180,1,{},qDt),a.b=!1,a.c=!1,C(Nr,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1180),v(1183,1,{},uzt),a.c=-2,a.e=n4,a.f=n4,C(Nr,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1183),v(593,632,So,mL),a.Lj=function(){return this.c},a.ol=function(){return!1},a.Wi=function(e,n){return n},a.c=0,C(Nr,"EDataTypeEList",593);var jvt=Qr(Nr,"FeatureMap");v(78,593,{3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},si),a.bd=function(e,n){kXe(this,e,o(n,76))},a.Fc=function(e){return RGe(this,o(e,76))},a.Hi=function(e){WMe(this,o(e,76))},a.Nj=function(e,n){return fEe(this,o(e,76),n)},a.Oj=function(e,n){return ort(this,o(e,76),n)},a.Ti=function(e,n){return UYe(this,e,n)},a.Wi=function(e,n){return OZe(this,e,o(n,76))},a.hd=function(e,n){return aVe(this,e,o(n,76))},a.Uj=function(e,n){return dEe(this,o(e,76),n)},a.Vj=function(e,n){return dNt(this,o(e,76),n)},a.Wj=function(e,n,r){return lKe(this,o(e,76),o(n,76),r)},a.Zi=function(e,n){return vK(this,e,o(n,76))},a.Ol=function(e,n){return sut(this,e,n)},a.cd=function(e,n){var r,i,s,l,u,f,g,b,y;for(b=new Jb(n.gc()),s=n.Kc();s.Ob();)if(i=o(s.Pb(),76),l=i.Lk(),Ld(this.e,l))(!l.Si()||!aF(this,l,i.md())&&!mC(b,i))&&mn(b,i);else{for(y=Nc(this.e.Dh(),l),r=o(this.g,124),u=!0,f=0;f<this.i;++f)if(g=r[f],y.am(g.Lk())){o(Tm(this,f,i),76),u=!1;break}u&&mn(b,i)}return Bot(this,e,b)},a.Gc=function(e){var n,r,i,s,l,u,f,g,b;for(g=new Jb(e.gc()),i=e.Kc();i.Ob();)if(r=o(i.Pb(),76),s=r.Lk(),Ld(this.e,s))(!s.Si()||!aF(this,s,r.md())&&!mC(g,r))&&mn(g,r);else{for(b=Nc(this.e.Dh(),s),n=o(this.g,124),l=!0,u=0;u<this.i;++u)if(f=n[u],b.am(f.Lk())){o(Tm(this,u,r),76),l=!1;break}l&&mn(g,r)}return ii(this,g)},a.Fi=function(e){return this.j=-1,nz(this,this.i,e)},a.Pl=function(e,n,r){return Jlt(this,e,n,r)},a.Xk=function(e,n){return I7(this,e,n)},a.Ql=function(e,n,r){return xut(this,e,n,r)},a.Rl=function(){return this},a.Sl=function(e,n){return $7(this,e,n)},a.Tl=function(e){return o(tt(this,e),76).Lk()},a.Ul=function(e){return o(tt(this,e),76).md()},a.Vl=function(){return this.b},a.Mj=function(){return!0},a.Tj=function(){return!0},a.Wl=function(e){return!a7(this,e)},a.aj=function(e){return at(e2e,Lae,343,e,0,1)},a.pl=function(e){return tN(this,e)},a.Wb=function(e){h9(this,e)},a.Xl=function(e,n){lO(this,e,n)},a.Yl=function(e){return hXt(this,e)},a.Zl=function(e){KJt(this,e)},C(Nr,"BasicFeatureMap",78),v(1960,1,Nf),a.Nb=function(e){hs(this,e)},a.Rb=function(e){if(this.g==-1)throw N(new na);OL(this);try{Cee(this.e,this.b,this.a,e),this.d=this.e.j,T_(this)}catch(n){throw n=Ur(n),Q(n,77)?N(new xl):N(n)}},a.Ob=function(){return yH(this)},a.Sb=function(){return DVt(this)},a.Pb=function(){return T_(this)},a.Tb=function(){return this.a},a.Ub=function(){var e;if(DVt(this))return OL(this),this.g=--this.a,this.ul()&&(e=Z5(this.e,this.b,this.c,this.a,this.j),this.j=e),this.i=0,this.j;throw N(new Mo)},a.Vb=function(){return this.a-1},a.Qb=function(){if(this.g==-1)throw N(new na);OL(this);try{bZt(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(e){throw e=Ur(e),Q(e,77)?N(new xl):N(e)}},a.ul=function(){return!1},a.Wb=function(e){if(this.g==-1)throw N(new na);OL(this);try{Une(this.e,this.b,this.g,e),this.d=this.e.j}catch(n){throw n=Ur(n),Q(n,77)?N(new xl):N(n)}},a.a=0,a.c=0,a.d=0,a.f=!1,a.g=0,a.i=0,C(Nr,"FeatureMapUtil/BasicFeatureEIterator",1960),v(420,1960,Nf,Yk),a.$l=function(){var e,n,r;for(r=this.e.i,e=o(this.e.g,124);this.c<r;){if(n=e[this.c],this.k.am(n.Lk()))return this.j=this.f?n:n.md(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},a._l=function(){var e,n;for(e=o(this.e.g,124);--this.c>=0;)if(n=e[this.c],this.k.am(n.Lk()))return this.j=this.f?n:n.md(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},C(Nr,"BasicFeatureMap/FeatureEIterator",420),v(676,420,Nf,DR),a.ul=function(){return!0},C(Nr,"BasicFeatureMap/ResolvingFeatureEIterator",676),v(968,496,dI,L$t),a.pj=function(){return this},C(Nr,"EContentsEList/1",968),v(969,496,dI,t$t),a.ul=function(){return!1},C(Nr,"EContentsEList/2",969),v(967,287,gI,F$t),a.wl=function(e){},a.Ob=function(){return!1},a.Sb=function(){return!1},C(Nr,"EContentsEList/FeatureIteratorImpl/1",967),v(840,593,So,dnt),a.Ni=function(){this.a=!0},a.Qj=function(){return this.a},a.Gk=function(){var e;pn(this),Ua(this.e)?(e=this.a,this.a=!1,ur(this.e,new Eu(this.e,2,this.c,e,!1))):this.a=!1},a.a=!1,C(Nr,"EDataTypeEList/Unsettable",840),v(1958,593,So,$$t),a.Si=function(){return!0},C(Nr,"EDataTypeUniqueEList",1958),v(1959,840,So,R$t),a.Si=function(){return!0},C(Nr,"EDataTypeUniqueEList/Unsettable",1959),v(147,83,So,ia),a.nl=function(){return!0},a.Wi=function(e,n){return zv(this,e,o(n,58))},C(Nr,"EObjectContainmentEList/Resolving",147),v(1184,555,So,N$t),a.nl=function(){return!0},a.Wi=function(e,n){return zv(this,e,o(n,58))},C(Nr,"EObjectContainmentEList/Unsettable/Resolving",1184),v(766,14,So,Znt),a.Ni=function(){this.a=!0},a.Qj=function(){return this.a},a.Gk=function(){var e;pn(this),Ua(this.e)?(e=this.a,this.a=!1,ur(this.e,new Eu(this.e,2,this.c,e,!1))):this.a=!1},a.a=!1,C(Nr,"EObjectContainmentWithInverseEList/Unsettable",766),v(1222,766,So,ZRt),a.nl=function(){return!0},a.Wi=function(e,n){return zv(this,e,o(n,58))},C(Nr,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1222),v(757,505,So,gnt),a.Ni=function(){this.a=!0},a.Qj=function(){return this.a},a.Gk=function(){var e;pn(this),Ua(this.e)?(e=this.a,this.a=!1,ur(this.e,new Eu(this.e,2,this.c,e,!1))):this.a=!1},a.a=!1,C(Nr,"EObjectEList/Unsettable",757),v(338,505,So,am),a.nl=function(){return!0},a.Wi=function(e,n){return zv(this,e,o(n,58))},C(Nr,"EObjectResolvingEList",338),v(1844,757,So,q$t),a.nl=function(){return!0},a.Wi=function(e,n){return zv(this,e,o(n,58))},C(Nr,"EObjectResolvingEList/Unsettable",1844),v(1527,1,{},LBt);var r2e;C(Nr,"EObjectValidator",1527),v(559,505,So,PL),a.il=function(){return this.d},a.jl=function(){return this.b},a.Mj=function(){return!0},a.ml=function(){return!0},a.b=0,C(Nr,"EObjectWithInverseEList",559),v(1225,559,So,tNt),a.ll=function(){return!0},C(Nr,"EObjectWithInverseEList/ManyInverse",1225),v(635,559,So,iN),a.Ni=function(){this.a=!0},a.Qj=function(){return this.a},a.Gk=function(){var e;pn(this),Ua(this.e)?(e=this.a,this.a=!1,ur(this.e,new Eu(this.e,2,this.c,e,!1))):this.a=!1},a.a=!1,C(Nr,"EObjectWithInverseEList/Unsettable",635),v(1224,635,So,eNt),a.ll=function(){return!0},C(Nr,"EObjectWithInverseEList/Unsettable/ManyInverse",1224),v(767,559,So,trt),a.nl=function(){return!0},a.Wi=function(e,n){return zv(this,e,o(n,58))},C(Nr,"EObjectWithInverseResolvingEList",767),v(32,767,So,ge),a.ll=function(){return!0},C(Nr,"EObjectWithInverseResolvingEList/ManyInverse",32),v(768,635,So,ert),a.nl=function(){return!0},a.Wi=function(e,n){return zv(this,e,o(n,58))},C(Nr,"EObjectWithInverseResolvingEList/Unsettable",768),v(1223,768,So,nNt),a.ll=function(){return!0},C(Nr,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1223),v(1185,632,So),a.Li=function(){return(this.b&1792)==0},a.Ni=function(){this.b|=1},a.kl=function(){return(this.b&4)!=0},a.Mj=function(){return(this.b&40)!=0},a.ll=function(){return(this.b&16)!=0},a.ml=function(){return(this.b&8)!=0},a.nl=function(){return(this.b&n2)!=0},a.al=function(){return(this.b&32)!=0},a.ol=function(){return(this.b&_u)!=0},a.fk=function(e){return this.d?Hzt(this.d,e):this.Lk().Hk().fk(e)},a.Qj=function(){return(this.b&2)!=0?(this.b&1)!=0:this.i!=0},a.Si=function(){return(this.b&128)!=0},a.Gk=function(){var e;pn(this),(this.b&2)!=0&&(Ua(this.e)?(e=(this.b&1)!=0,this.b&=-2,tk(this,new Eu(this.e,2,Gr(this.e.Dh(),this.Lk()),e,!1))):this.b&=-2)},a.Yi=function(){return(this.b&1536)==0},a.b=0,C(Nr,"EcoreEList/Generic",1185),v(1186,1185,So,XHt),a.Lk=function(){return this.a},C(Nr,"EcoreEList/Dynamic",1186),v(765,66,pf,dtt),a.aj=function(e){return q9(this.a.a,e)},C(Nr,"EcoreEMap/1",765),v(764,83,So,Zrt),a.Mi=function(e,n){B_(this.b,o(n,136))},a.Oi=function(e,n){WXt(this.b)},a.Pi=function(e,n,r){var i;++(i=this.b,o(n,136),i).e},a.Qi=function(e,n){MH(this.b,o(n,136))},a.Ri=function(e,n,r){MH(this.b,o(r,136)),it(r)===it(n)&&o(r,136).Ci(u9e(o(n,136).ld())),B_(this.b,o(n,136))},C(Nr,"EcoreEMap/DelegateEObjectContainmentEList",764),v(1220,141,k1t,aXt),C(Nr,"EcoreEMap/Unsettable",1220),v(1221,764,So,rNt),a.Ni=function(){this.a=!0},a.Qj=function(){return this.a},a.Gk=function(){var e;pn(this),Ua(this.e)?(e=this.a,this.a=!1,ur(this.e,new Eu(this.e,2,this.c,e,!1))):this.a=!1},a.a=!1,C(Nr,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1221),v(1189,215,Rm,Vqt),a.a=!1,a.b=!1,C(Nr,"EcoreUtil/Copier",1189),v(759,1,Qi,Ozt),a.Nb=function(e){hs(this,e)},a.Ob=function(){return qYt(this)},a.Pb=function(){var e;return qYt(this),e=this.b,this.b=null,e},a.Qb=function(){this.a.Qb()},C(Nr,"EcoreUtil/ProperContentIterator",759),v(1528,1527,{},LMt);var i2e;C(Nr,"EcoreValidator",1528);var s2e;Qr(Nr,"FeatureMapUtil/Validator"),v(1295,1,{2041:1},FBt),a.am=function(e){return!0},C(Nr,"FeatureMapUtil/1",1295),v(773,1,{2041:1},Iut),a.am=function(e){var n;return this.c==e?!0:(n=_t(Ue(this.a,e)),n==null?lYe(this,e)?(OWt(this.a,e,(Te(),s4)),!0):(OWt(this.a,e,(Te(),Ag)),!1):n==(Te(),s4))},a.e=!1;var JY;C(Nr,"FeatureMapUtil/BasicValidator",773),v(774,45,Rm,hnt),C(Nr,"FeatureMapUtil/BasicValidator/Cache",774),v(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},WS),a.bd=function(e,n){Cee(this.c,this.b,e,n)},a.Fc=function(e){return sut(this.c,this.b,e)},a.cd=function(e,n){return LQe(this.c,this.b,e,n)},a.Gc=function(e){return Gx(this,e)},a.Gi=function(e,n){SPe(this.c,this.b,e,n)},a.Wk=function(e,n){return Jlt(this.c,this.b,e,n)},a.$i=function(e){return aO(this.c,this.b,e,!1)},a.Ii=function(){return f$t(this.c,this.b)},a.Ji=function(){return JSe(this.c,this.b)},a.Ki=function(e){return LIe(this.c,this.b,e)},a.Xk=function(e,n){return jRt(this,e,n)},a.$b=function(){Gy(this)},a.Hc=function(e){return aF(this.c,this.b,e)},a.Ic=function(e){return Mje(this.c,this.b,e)},a.Xb=function(e){return aO(this.c,this.b,e,!0)},a.Fk=function(e){return this},a.dd=function(e){return DOe(this.c,this.b,e)},a.dc=function(){return GM(this)},a.Qj=function(){return!a7(this.c,this.b)},a.Kc=function(){return bPe(this.c,this.b)},a.ed=function(){return wPe(this.c,this.b)},a.fd=function(e){return G$e(this.c,this.b,e)},a.Ti=function(e,n){return Dne(this.c,this.b,e,n)},a.Ui=function(e,n){OIe(this.c,this.b,e,n)},a.gd=function(e){return bZt(this.c,this.b,e)},a.Mc=function(e){return FYe(this.c,this.b,e)},a.hd=function(e,n){return Une(this.c,this.b,e,n)},a.Wb=function(e){K_(this.c,this.b),Gx(this,o(e,15))},a.gc=function(){return U$e(this.c,this.b)},a.Pc=function(){return R_e(this.c,this.b)},a.Qc=function(e){return $Oe(this.c,this.b,e)},a.Ib=function(){var e,n;for(n=new Qd,n.a+="[",e=f$t(this.c,this.b);yH(e);)Qs(n,Vx(T_(e))),yH(e)&&(n.a+=Fs);return n.a+="]",n.a},a.Gk=function(){K_(this.c,this.b)},C(Nr,"FeatureMapUtil/FeatureEList",509),v(644,39,mE,bq),a.hj=function(e){return j5(this,e)},a.mj=function(e){var n,r,i,s,l,u,f;switch(this.d){case 1:case 2:{if(l=e.jj(),it(l)===it(this.c)&&j5(this,null)==e.hj(null))return this.g=e.ij(),e.gj()==1&&(this.d=1),!0;break}case 3:{switch(s=e.gj(),s){case 3:{if(l=e.jj(),it(l)===it(this.c)&&j5(this,null)==e.hj(null))return this.d=5,n=new Jb(2),mn(n,this.g),mn(n,e.ij()),this.g=n,!0;break}}break}case 5:{switch(s=e.gj(),s){case 3:{if(l=e.jj(),it(l)===it(this.c)&&j5(this,null)==e.hj(null))return r=o(this.g,16),r.Fc(e.ij()),!0;break}}break}case 4:{switch(s=e.gj(),s){case 3:{if(l=e.jj(),it(l)===it(this.c)&&j5(this,null)==e.hj(null))return this.d=1,this.g=e.ij(),!0;break}case 4:{if(l=e.jj(),it(l)===it(this.c)&&j5(this,null)==e.hj(null))return this.d=6,f=new Jb(2),mn(f,this.n),mn(f,e.kj()),this.n=f,u=W(K(vn,1),Wn,28,15,[this.o,e.lj()]),this.g=u,!0;break}}break}case 6:{switch(s=e.gj(),s){case 4:{if(l=e.jj(),it(l)===it(this.c)&&j5(this,null)==e.hj(null))return r=o(this.n,16),r.Fc(e.kj()),u=o(this.g,53),i=at(vn,Wn,28,u.length+1,15,1),uc(u,0,i,0,u.length),i[u.length]=e.lj(),this.g=i,!0;break}}break}}return!1},C(Nr,"FeatureMapUtil/FeatureENotificationImpl",644),v(564,509,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,160:1,220:1,2036:1,71:1,97:1},CL),a.Ol=function(e,n){return sut(this.c,e,n)},a.Pl=function(e,n,r){return Jlt(this.c,e,n,r)},a.Ql=function(e,n,r){return xut(this.c,e,n,r)},a.Rl=function(){return this},a.Sl=function(e,n){return $7(this.c,e,n)},a.Tl=function(e){return o(aO(this.c,this.b,e,!1),76).Lk()},a.Ul=function(e){return o(aO(this.c,this.b,e,!1),76).md()},a.Vl=function(){return this.a},a.Wl=function(e){return!a7(this.c,e)},a.Xl=function(e,n){lO(this.c,e,n)},a.Yl=function(e){return hXt(this.c,e)},a.Zl=function(e){KJt(this.c,e)},C(Nr,"FeatureMapUtil/FeatureFeatureMap",564),v(1294,1,YU,RDt),a.Fk=function(e){return aO(this.b,this.a,-1,e)},a.Qj=function(){return!a7(this.b,this.a)},a.Wb=function(e){lO(this.b,this.a,e)},a.Gk=function(){K_(this.b,this.a)},C(Nr,"FeatureMapUtil/FeatureValue",1294);var M3,QY,ZY,L3,o2e,DB=Qr(CI,"AnyType");v(680,63,Fd,z$),C(CI,"InvalidDatatypeValueException",680);var Xj=Qr(CI,Iae),$B=Qr(CI,Pae),Dvt=Qr(CI,jae),c2e,Qo,$vt,ab,a2e,l2e,u2e,h2e,f2e,d2e,g2e,b2e,w2e,p2e,m2e,Ly,y2e,Fy,t8,v2e,Gw,RB,NB,k2e,e8,n8;v(844,516,{110:1,94:1,93:1,58:1,54:1,99:1,857:1},_tt),a.Lh=function(e,n,r){switch(e){case 0:return r?(!this.c&&(this.c=new si(this,0)),this.c):(!this.c&&(this.c=new si(this,0)),this.c.b);case 1:return r?(!this.c&&(this.c=new si(this,0)),o(bc(this.c,(kr(),ab)),160)):(!this.c&&(this.c=new si(this,0)),o(o(bc(this.c,(kr(),ab)),160),220)).Vl();case 2:return r?(!this.b&&(this.b=new si(this,2)),this.b):(!this.b&&(this.b=new si(this,2)),this.b.b)}return Fl(this,e-en(this.ii()),pe((this.j&2)==0?this.ii():(!this.k&&(this.k=new Vu),this.k).Nk(),e),n,r)},a.Uh=function(e,n,r){var i;switch(n){case 0:return!this.c&&(this.c=new si(this,0)),I7(this.c,e,r);case 1:return(!this.c&&(this.c=new si(this,0)),o(o(bc(this.c,(kr(),ab)),160),71)).Xk(e,r);case 2:return!this.b&&(this.b=new si(this,2)),I7(this.b,e,r)}return i=o(pe((this.j&2)==0?this.ii():(!this.k&&(this.k=new Vu),this.k).Nk(),n),69),i.wk().Ak(this,Dst(this),n-en(this.ii()),e,r)},a.Wh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new si(this,0)),o(bc(this.c,(kr(),ab)),160)).dc();case 2:return!!this.b&&this.b.i!=0}return Ml(this,e-en(this.ii()),pe((this.j&2)==0?this.ii():(!this.k&&(this.k=new Vu),this.k).Nk(),e))},a.bi=function(e,n){switch(e){case 0:!this.c&&(this.c=new si(this,0)),h9(this.c,n);return;case 1:(!this.c&&(this.c=new si(this,0)),o(o(bc(this.c,(kr(),ab)),160),220)).Wb(n);return;case 2:!this.b&&(this.b=new si(this,2)),h9(this.b,n);return}Pl(this,e-en(this.ii()),pe((this.j&2)==0?this.ii():(!this.k&&(this.k=new Vu),this.k).Nk(),e),n)},a.ii=function(){return kr(),$vt},a.ki=function(e){switch(e){case 0:!this.c&&(this.c=new si(this,0)),pn(this.c);return;case 1:(!this.c&&(this.c=new si(this,0)),o(bc(this.c,(kr(),ab)),160)).$b();return;case 2:!this.b&&(this.b=new si(this,2)),pn(this.b);return}Il(this,e-en(this.ii()),pe((this.j&2)==0?this.ii():(!this.k&&(this.k=new Vu),this.k).Nk(),e))},a.Ib=function(){var e;return(this.j&4)!=0?Mu(this):(e=new Jl(Mu(this)),e.a+=" (mixed: ",Kx(e,this.c),e.a+=", anyAttribute: ",Kx(e,this.b),e.a+=")",e.a)},C(Ei,"AnyTypeImpl",844),v(681,516,{110:1,94:1,93:1,58:1,54:1,99:1,2119:1,681:1},HBt),a.Lh=function(e,n,r){switch(e){case 0:return this.a;case 1:return this.b}return Fl(this,e-en((kr(),Ly)),pe((this.j&2)==0?Ly:(!this.k&&(this.k=new Vu),this.k).Nk(),e),n,r)},a.Wh=function(e){switch(e){case 0:return this.a!=null;case 1:return this.b!=null}return Ml(this,e-en((kr(),Ly)),pe((this.j&2)==0?Ly:(!this.k&&(this.k=new Vu),this.k).Nk(),e))},a.bi=function(e,n){switch(e){case 0:NTe(this,On(n));return;case 1:HTe(this,On(n));return}Pl(this,e-en((kr(),Ly)),pe((this.j&2)==0?Ly:(!this.k&&(this.k=new Vu),this.k).Nk(),e),n)},a.ii=function(){return kr(),Ly},a.ki=function(e){switch(e){case 0:this.a=null;return;case 1:this.b=null;return}Il(this,e-en((kr(),Ly)),pe((this.j&2)==0?Ly:(!this.k&&(this.k=new Vu),this.k).Nk(),e))},a.Ib=function(){var e;return(this.j&4)!=0?Mu(this):(e=new Jl(Mu(this)),e.a+=" (data: ",Qs(e,this.a),e.a+=", target: ",Qs(e,this.b),e.a+=")",e.a)},a.a=null,a.b=null,C(Ei,"ProcessingInstructionImpl",681),v(682,844,{110:1,94:1,93:1,58:1,54:1,99:1,857:1,2120:1,682:1},mIt),a.Lh=function(e,n,r){switch(e){case 0:return r?(!this.c&&(this.c=new si(this,0)),this.c):(!this.c&&(this.c=new si(this,0)),this.c.b);case 1:return r?(!this.c&&(this.c=new si(this,0)),o(bc(this.c,(kr(),ab)),160)):(!this.c&&(this.c=new si(this,0)),o(o(bc(this.c,(kr(),ab)),160),220)).Vl();case 2:return r?(!this.b&&(this.b=new si(this,2)),this.b):(!this.b&&(this.b=new si(this,2)),this.b.b);case 3:return!this.c&&(this.c=new si(this,0)),On($7(this.c,(kr(),t8),!0));case 4:return rrt(this.a,(!this.c&&(this.c=new si(this,0)),On($7(this.c,(kr(),t8),!0))));case 5:return this.a}return Fl(this,e-en((kr(),Fy)),pe((this.j&2)==0?Fy:(!this.k&&(this.k=new Vu),this.k).Nk(),e),n,r)},a.Wh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new si(this,0)),o(bc(this.c,(kr(),ab)),160)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new si(this,0)),On($7(this.c,(kr(),t8),!0))!=null;case 4:return rrt(this.a,(!this.c&&(this.c=new si(this,0)),On($7(this.c,(kr(),t8),!0))))!=null;case 5:return!!this.a}return Ml(this,e-en((kr(),Fy)),pe((this.j&2)==0?Fy:(!this.k&&(this.k=new Vu),this.k).Nk(),e))},a.bi=function(e,n){switch(e){case 0:!this.c&&(this.c=new si(this,0)),h9(this.c,n);return;case 1:(!this.c&&(this.c=new si(this,0)),o(o(bc(this.c,(kr(),ab)),160),220)).Wb(n);return;case 2:!this.b&&(this.b=new si(this,2)),h9(this.b,n);return;case 3:Wit(this,On(n));return;case 4:Wit(this,nrt(this.a,n));return;case 5:qTe(this,o(n,156));return}Pl(this,e-en((kr(),Fy)),pe((this.j&2)==0?Fy:(!this.k&&(this.k=new Vu),this.k).Nk(),e),n)},a.ii=function(){return kr(),Fy},a.ki=function(e){switch(e){case 0:!this.c&&(this.c=new si(this,0)),pn(this.c);return;case 1:(!this.c&&(this.c=new si(this,0)),o(bc(this.c,(kr(),ab)),160)).$b();return;case 2:!this.b&&(this.b=new si(this,2)),pn(this.b);return;case 3:!this.c&&(this.c=new si(this,0)),lO(this.c,(kr(),t8),null);return;case 4:Wit(this,nrt(this.a,null));return;case 5:this.a=null;return}Il(this,e-en((kr(),Fy)),pe((this.j&2)==0?Fy:(!this.k&&(this.k=new Vu),this.k).Nk(),e))},C(Ei,"SimpleAnyTypeImpl",682),v(683,516,{110:1,94:1,93:1,58:1,54:1,99:1,2121:1,683:1},yIt),a.Lh=function(e,n,r){switch(e){case 0:return r?(!this.a&&(this.a=new si(this,0)),this.a):(!this.a&&(this.a=new si(this,0)),this.a.b);case 1:return r?(!this.b&&(this.b=new aa((ae(),$s),Go,this,1)),this.b):(!this.b&&(this.b=new aa((ae(),$s),Go,this,1)),M9(this.b));case 2:return r?(!this.c&&(this.c=new aa((ae(),$s),Go,this,2)),this.c):(!this.c&&(this.c=new aa((ae(),$s),Go,this,2)),M9(this.c));case 3:return!this.a&&(this.a=new si(this,0)),bc(this.a,(kr(),RB));case 4:return!this.a&&(this.a=new si(this,0)),bc(this.a,(kr(),NB));case 5:return!this.a&&(this.a=new si(this,0)),bc(this.a,(kr(),e8));case 6:return!this.a&&(this.a=new si(this,0)),bc(this.a,(kr(),n8))}return Fl(this,e-en((kr(),Gw)),pe((this.j&2)==0?Gw:(!this.k&&(this.k=new Vu),this.k).Nk(),e),n,r)},a.Uh=function(e,n,r){var i;switch(n){case 0:return!this.a&&(this.a=new si(this,0)),I7(this.a,e,r);case 1:return!this.b&&(this.b=new aa((ae(),$s),Go,this,1)),hL(this.b,e,r);case 2:return!this.c&&(this.c=new aa((ae(),$s),Go,this,2)),hL(this.c,e,r);case 5:return!this.a&&(this.a=new si(this,0)),jRt(bc(this.a,(kr(),e8)),e,r)}return i=o(pe((this.j&2)==0?(kr(),Gw):(!this.k&&(this.k=new Vu),this.k).Nk(),n),69),i.wk().Ak(this,Dst(this),n-en((kr(),Gw)),e,r)},a.Wh=function(e){switch(e){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 si(this,0)),!GM(bc(this.a,(kr(),RB)));case 4:return!this.a&&(this.a=new si(this,0)),!GM(bc(this.a,(kr(),NB)));case 5:return!this.a&&(this.a=new si(this,0)),!GM(bc(this.a,(kr(),e8)));case 6:return!this.a&&(this.a=new si(this,0)),!GM(bc(this.a,(kr(),n8)))}return Ml(this,e-en((kr(),Gw)),pe((this.j&2)==0?Gw:(!this.k&&(this.k=new Vu),this.k).Nk(),e))},a.bi=function(e,n){switch(e){case 0:!this.a&&(this.a=new si(this,0)),h9(this.a,n);return;case 1:!this.b&&(this.b=new aa((ae(),$s),Go,this,1)),GF(this.b,n);return;case 2:!this.c&&(this.c=new aa((ae(),$s),Go,this,2)),GF(this.c,n);return;case 3:!this.a&&(this.a=new si(this,0)),Gy(bc(this.a,(kr(),RB))),!this.a&&(this.a=new si(this,0)),Gx(bc(this.a,RB),o(n,16));return;case 4:!this.a&&(this.a=new si(this,0)),Gy(bc(this.a,(kr(),NB))),!this.a&&(this.a=new si(this,0)),Gx(bc(this.a,NB),o(n,16));return;case 5:!this.a&&(this.a=new si(this,0)),Gy(bc(this.a,(kr(),e8))),!this.a&&(this.a=new si(this,0)),Gx(bc(this.a,e8),o(n,16));return;case 6:!this.a&&(this.a=new si(this,0)),Gy(bc(this.a,(kr(),n8))),!this.a&&(this.a=new si(this,0)),Gx(bc(this.a,n8),o(n,16));return}Pl(this,e-en((kr(),Gw)),pe((this.j&2)==0?Gw:(!this.k&&(this.k=new Vu),this.k).Nk(),e),n)},a.ii=function(){return kr(),Gw},a.ki=function(e){switch(e){case 0:!this.a&&(this.a=new si(this,0)),pn(this.a);return;case 1:!this.b&&(this.b=new aa((ae(),$s),Go,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new aa((ae(),$s),Go,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new si(this,0)),Gy(bc(this.a,(kr(),RB)));return;case 4:!this.a&&(this.a=new si(this,0)),Gy(bc(this.a,(kr(),NB)));return;case 5:!this.a&&(this.a=new si(this,0)),Gy(bc(this.a,(kr(),e8)));return;case 6:!this.a&&(this.a=new si(this,0)),Gy(bc(this.a,(kr(),n8)));return}Il(this,e-en((kr(),Gw)),pe((this.j&2)==0?Gw:(!this.k&&(this.k=new Vu),this.k).Nk(),e))},a.Ib=function(){var e;return(this.j&4)!=0?Mu(this):(e=new Jl(Mu(this)),e.a+=" (mixed: ",Kx(e,this.a),e.a+=")",e.a)},C(Ei,"XMLTypeDocumentRootImpl",683),v(2028,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1,2122:1},_Bt),a.ri=function(e,n){switch(e.hk()){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 n==null?null:To(n);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return On(n);case 6:return x7e(o(n,195));case 12:case 47:case 49:case 11:return Ore(this,e,n);case 13:return n==null?null:OQe(o(n,247));case 15:case 14:return n==null?null:RMe(nt(ct(n)));case 17:return LQt((kr(),n));case 18:return LQt(n);case 21:case 20:return n==null?null:NMe(o(n,161).a);case 27:return T7e(o(n,195));case 30:return zJt((kr(),o(n,15)));case 31:return zJt(o(n,15));case 40:return E7e((kr(),n));case 42:return FQt((kr(),n));case 43:return FQt(n);case 59:case 48:return S7e((kr(),n));default:throw N(new _e(ZC+e.xe()+xw))}},a.si=function(e){var n,r,i,s,l;switch(e.G==-1&&(e.G=(r=sl(e),r?y1(r.vi(),e):-1)),e.G){case 0:return n=new _tt,n;case 1:return i=new HBt,i;case 2:return s=new mIt,s;case 3:return l=new yIt,l;default:throw N(new _e(IU+e.zb+xw))}},a.ti=function(e,n){var r,i,s,l,u,f,g,b,y,x,S,M,_,j,z,V;switch(e.hk()){case 5:case 52:case 4:return n;case 6:return _Ne(n);case 8:case 7:return n==null?null:mKe(n);case 9:return n==null?null:D9(ul((i=pc(n,!0),i.length>0&&(Oe(0,i.length),i.charCodeAt(0)==43)?(Oe(1,i.length+1),i.substr(1)):i),-128,127)<<24>>24);case 10:return n==null?null:D9(ul((s=pc(n,!0),s.length>0&&(Oe(0,s.length),s.charCodeAt(0)==43)?(Oe(1,s.length+1),s.substr(1)):s),-128,127)<<24>>24);case 11:return On(bw(this,(kr(),u2e),n));case 12:return On(bw(this,(kr(),h2e),n));case 13:return n==null?null:new net(pc(n,!0));case 15:case 14:return qGe(n);case 16:return On(bw(this,(kr(),f2e),n));case 17:return UYt((kr(),n));case 18:return UYt(n);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return pc(n,!0);case 21:case 20:return JGe(n);case 22:return On(bw(this,(kr(),d2e),n));case 23:return On(bw(this,(kr(),g2e),n));case 24:return On(bw(this,(kr(),b2e),n));case 25:return On(bw(this,(kr(),w2e),n));case 26:return On(bw(this,(kr(),p2e),n));case 27:return vNe(n);case 30:return GYt((kr(),n));case 31:return GYt(n);case 32:return n==null?null:Ct(ul((y=pc(n,!0),y.length>0&&(Oe(0,y.length),y.charCodeAt(0)==43)?(Oe(1,y.length+1),y.substr(1)):y),vs,ar));case 33:return n==null?null:new eg((x=pc(n,!0),x.length>0&&(Oe(0,x.length),x.charCodeAt(0)==43)?(Oe(1,x.length+1),x.substr(1)):x));case 34:return n==null?null:Ct(ul((S=pc(n,!0),S.length>0&&(Oe(0,S.length),S.charCodeAt(0)==43)?(Oe(1,S.length+1),S.substr(1)):S),vs,ar));case 36:return n==null?null:Bd(dO((M=pc(n,!0),M.length>0&&(Oe(0,M.length),M.charCodeAt(0)==43)?(Oe(1,M.length+1),M.substr(1)):M)));case 37:return n==null?null:Bd(dO((_=pc(n,!0),_.length>0&&(Oe(0,_.length),_.charCodeAt(0)==43)?(Oe(1,_.length+1),_.substr(1)):_)));case 40:return pqe((kr(),n));case 42:return XYt((kr(),n));case 43:return XYt(n);case 44:return n==null?null:new eg((j=pc(n,!0),j.length>0&&(Oe(0,j.length),j.charCodeAt(0)==43)?(Oe(1,j.length+1),j.substr(1)):j));case 45:return n==null?null:new eg((z=pc(n,!0),z.length>0&&(Oe(0,z.length),z.charCodeAt(0)==43)?(Oe(1,z.length+1),z.substr(1)):z));case 46:return pc(n,!1);case 47:return On(bw(this,(kr(),m2e),n));case 59:case 48:return wqe((kr(),n));case 49:return On(bw(this,(kr(),y2e),n));case 50:return n==null?null:oC(ul((V=pc(n,!0),V.length>0&&(Oe(0,V.length),V.charCodeAt(0)==43)?(Oe(1,V.length+1),V.substr(1)):V),mI,32767)<<16>>16);case 51:return n==null?null:oC(ul((l=pc(n,!0),l.length>0&&(Oe(0,l.length),l.charCodeAt(0)==43)?(Oe(1,l.length+1),l.substr(1)):l),mI,32767)<<16>>16);case 53:return On(bw(this,(kr(),v2e),n));case 55:return n==null?null:oC(ul((u=pc(n,!0),u.length>0&&(Oe(0,u.length),u.charCodeAt(0)==43)?(Oe(1,u.length+1),u.substr(1)):u),mI,32767)<<16>>16);case 56:return n==null?null:oC(ul((f=pc(n,!0),f.length>0&&(Oe(0,f.length),f.charCodeAt(0)==43)?(Oe(1,f.length+1),f.substr(1)):f),mI,32767)<<16>>16);case 57:return n==null?null:Bd(dO((g=pc(n,!0),g.length>0&&(Oe(0,g.length),g.charCodeAt(0)==43)?(Oe(1,g.length+1),g.substr(1)):g)));case 58:return n==null?null:Bd(dO((b=pc(n,!0),b.length>0&&(Oe(0,b.length),b.charCodeAt(0)==43)?(Oe(1,b.length+1),b.substr(1)):b)));case 60:return n==null?null:Ct(ul((r=pc(n,!0),r.length>0&&(Oe(0,r.length),r.charCodeAt(0)==43)?(Oe(1,r.length+1),r.substr(1)):r),vs,ar));case 61:return n==null?null:Ct(ul(pc(n,!0),vs,ar));default:throw N(new _e(ZC+e.xe()+xw))}};var C2e,Rvt,x2e,Nvt;C(Ei,"XMLTypeFactoryImpl",2028),v(594,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1,2044:1,594:1},pHt),a.N=!1,a.O=!1;var T2e=!1;C(Ei,"XMLTypePackageImpl",594),v(1961,1,{851:1},OBt),a.Kk=function(){return gut(),O2e},C(Ei,"XMLTypePackageImpl/1",1961),v(1970,1,Jn,IBt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/10",1970),v(1971,1,Jn,PBt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/11",1971),v(1972,1,Jn,jBt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/12",1972),v(1973,1,Jn,DBt),a.fk=function(e){return hp(e)},a.gk=function(e){return at(Bi,vt,345,e,7,1)},C(Ei,"XMLTypePackageImpl/13",1973),v(1974,1,Jn,$Bt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/14",1974),v(1975,1,Jn,RBt),a.fk=function(e){return Q(e,15)},a.gk=function(e){return at(Kl,Yp,15,e,0,1)},C(Ei,"XMLTypePackageImpl/15",1975),v(1976,1,Jn,NBt),a.fk=function(e){return Q(e,15)},a.gk=function(e){return at(Kl,Yp,15,e,0,1)},C(Ei,"XMLTypePackageImpl/16",1976),v(1977,1,Jn,qBt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/17",1977),v(1978,1,Jn,KBt),a.fk=function(e){return Q(e,161)},a.gk=function(e){return at(o4,vt,161,e,0,1)},C(Ei,"XMLTypePackageImpl/18",1978),v(1979,1,Jn,zBt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/19",1979),v(1962,1,Jn,WBt),a.fk=function(e){return Q(e,857)},a.gk=function(e){return at(DB,ye,857,e,0,1)},C(Ei,"XMLTypePackageImpl/2",1962),v(1980,1,Jn,UBt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/20",1980),v(1981,1,Jn,GBt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/21",1981),v(1982,1,Jn,XBt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/22",1982),v(1983,1,Jn,VBt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/23",1983),v(1984,1,Jn,YBt),a.fk=function(e){return Q(e,195)},a.gk=function(e){return at(ba,vt,195,e,0,2)},C(Ei,"XMLTypePackageImpl/24",1984),v(1985,1,Jn,JBt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/25",1985),v(1986,1,Jn,QBt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/26",1986),v(1987,1,Jn,ZBt),a.fk=function(e){return Q(e,15)},a.gk=function(e){return at(Kl,Yp,15,e,0,1)},C(Ei,"XMLTypePackageImpl/27",1987),v(1988,1,Jn,tAt),a.fk=function(e){return Q(e,15)},a.gk=function(e){return at(Kl,Yp,15,e,0,1)},C(Ei,"XMLTypePackageImpl/28",1988),v(1989,1,Jn,eAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/29",1989),v(1963,1,Jn,nAt),a.fk=function(e){return Q(e,681)},a.gk=function(e){return at(Xj,ye,2119,e,0,1)},C(Ei,"XMLTypePackageImpl/3",1963),v(1990,1,Jn,rAt),a.fk=function(e){return Q(e,17)},a.gk=function(e){return at(bs,vt,17,e,0,1)},C(Ei,"XMLTypePackageImpl/30",1990),v(1991,1,Jn,iAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/31",1991),v(1992,1,Jn,sAt),a.fk=function(e){return Q(e,168)},a.gk=function(e){return at(Sw,vt,168,e,0,1)},C(Ei,"XMLTypePackageImpl/32",1992),v(1993,1,Jn,oAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/33",1993),v(1994,1,Jn,cAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/34",1994),v(1995,1,Jn,aAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/35",1995),v(1996,1,Jn,lAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/36",1996),v(1997,1,Jn,uAt),a.fk=function(e){return Q(e,15)},a.gk=function(e){return at(Kl,Yp,15,e,0,1)},C(Ei,"XMLTypePackageImpl/37",1997),v(1998,1,Jn,hAt),a.fk=function(e){return Q(e,15)},a.gk=function(e){return at(Kl,Yp,15,e,0,1)},C(Ei,"XMLTypePackageImpl/38",1998),v(1999,1,Jn,fAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/39",1999),v(1964,1,Jn,dAt),a.fk=function(e){return Q(e,682)},a.gk=function(e){return at($B,ye,2120,e,0,1)},C(Ei,"XMLTypePackageImpl/4",1964),v(2e3,1,Jn,gAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/40",2e3),v(2001,1,Jn,bAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/41",2001),v(2002,1,Jn,wAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/42",2002),v(2003,1,Jn,pAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/43",2003),v(2004,1,Jn,mAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/44",2004),v(2005,1,Jn,yAt),a.fk=function(e){return Q(e,191)},a.gk=function(e){return at(Ew,vt,191,e,0,1)},C(Ei,"XMLTypePackageImpl/45",2005),v(2006,1,Jn,vAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/46",2006),v(2007,1,Jn,kAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/47",2007),v(2008,1,Jn,CAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/48",2008),v(2009,1,Jn,xAt),a.fk=function(e){return Q(e,191)},a.gk=function(e){return at(Ew,vt,191,e,0,1)},C(Ei,"XMLTypePackageImpl/49",2009),v(1965,1,Jn,TAt),a.fk=function(e){return Q(e,683)},a.gk=function(e){return at(Dvt,ye,2121,e,0,1)},C(Ei,"XMLTypePackageImpl/5",1965),v(2010,1,Jn,SAt),a.fk=function(e){return Q(e,168)},a.gk=function(e){return at(Sw,vt,168,e,0,1)},C(Ei,"XMLTypePackageImpl/50",2010),v(2011,1,Jn,EAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/51",2011),v(2012,1,Jn,BAt),a.fk=function(e){return Q(e,17)},a.gk=function(e){return at(bs,vt,17,e,0,1)},C(Ei,"XMLTypePackageImpl/52",2012),v(1966,1,Jn,AAt),a.fk=function(e){return Ji(e)},a.gk=function(e){return at(jt,vt,2,e,6,1)},C(Ei,"XMLTypePackageImpl/6",1966),v(1967,1,Jn,MAt),a.fk=function(e){return Q(e,195)},a.gk=function(e){return at(ba,vt,195,e,0,2)},C(Ei,"XMLTypePackageImpl/7",1967),v(1968,1,Jn,LAt),a.fk=function(e){return up(e)},a.gk=function(e){return at(li,vt,485,e,8,1)},C(Ei,"XMLTypePackageImpl/8",1968),v(1969,1,Jn,FAt),a.fk=function(e){return Q(e,222)},a.gk=function(e){return at(o3,vt,222,e,0,1)},C(Ei,"XMLTypePackageImpl/9",1969);var zh,q1,r8,Vj,G;v(55,63,Fd,Pn),C(B1,"RegEx/ParseException",55),v(836,1,{},OZ),a.bm=function(e){return e<this.j&&ms(this.i,e)==63},a.cm=function(){var e,n,r,i,s;if(this.c!=10)throw N(new Pn(Rn((_n(),uI))));switch(e=this.a,e){case 101:e=27;break;case 102:e=12;break;case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 120:if(rr(this),this.c!=0)throw N(new Pn(Rn((_n(),E1))));if(this.a==123){s=0,r=0;do{if(rr(this),this.c!=0)throw N(new Pn(Rn((_n(),E1))));if((s=L0(this.a))<0)break;if(r>r*16)throw N(new Pn(Rn((_n(),Gce))));r=r*16+s}while(!0);if(this.a!=125)throw N(new Pn(Rn((_n(),Xce))));if(r>r4)throw N(new Pn(Rn((_n(),Vce))));e=r}else{if(s=0,this.c!=0||(s=L0(this.a))<0)throw N(new Pn(Rn((_n(),E1))));if(r=s,rr(this),this.c!=0||(s=L0(this.a))<0)throw N(new Pn(Rn((_n(),E1))));r=r*16+s,e=r}break;case 117:if(i=0,rr(this),this.c!=0||(i=L0(this.a))<0)throw N(new Pn(Rn((_n(),E1))));if(n=i,rr(this),this.c!=0||(i=L0(this.a))<0)throw N(new Pn(Rn((_n(),E1))));if(n=n*16+i,rr(this),this.c!=0||(i=L0(this.a))<0)throw N(new Pn(Rn((_n(),E1))));if(n=n*16+i,rr(this),this.c!=0||(i=L0(this.a))<0)throw N(new Pn(Rn((_n(),E1))));n=n*16+i,e=n;break;case 118:if(rr(this),this.c!=0||(i=L0(this.a))<0)throw N(new Pn(Rn((_n(),E1))));if(n=i,rr(this),this.c!=0||(i=L0(this.a))<0)throw N(new Pn(Rn((_n(),E1))));if(n=n*16+i,rr(this),this.c!=0||(i=L0(this.a))<0)throw N(new Pn(Rn((_n(),E1))));if(n=n*16+i,rr(this),this.c!=0||(i=L0(this.a))<0)throw N(new Pn(Rn((_n(),E1))));if(n=n*16+i,rr(this),this.c!=0||(i=L0(this.a))<0)throw N(new Pn(Rn((_n(),E1))));if(n=n*16+i,rr(this),this.c!=0||(i=L0(this.a))<0)throw N(new Pn(Rn((_n(),E1))));if(n=n*16+i,n>r4)throw N(new Pn(Rn((_n(),"parser.descappe.4"))));e=n;break;case 65:case 90:case 122:throw N(new Pn(Rn((_n(),Yce))))}return e},a.dm=function(e){var n,r;switch(e){case 100:r=(this.e&32)==32?vg("Nd",!0):(cr(),Yj);break;case 68:r=(this.e&32)==32?vg("Nd",!1):(cr(),Uvt);break;case 119:r=(this.e&32)==32?vg("IsWord",!0):(cr(),z4);break;case 87:r=(this.e&32)==32?vg("IsWord",!1):(cr(),Xvt);break;case 115:r=(this.e&32)==32?vg("IsSpace",!0):(cr(),F3);break;case 83:r=(this.e&32)==32?vg("IsSpace",!1):(cr(),Gvt);break;default:throw N(new Lo((n=e,Yae+n.toString(16))))}return r},a.em=function(e){var n,r,i,s,l,u,f,g,b,y,x,S;for(this.b=1,rr(this),n=null,this.c==0&&this.a==94?(rr(this),e?y=(cr(),cr(),new il(5)):(n=(cr(),cr(),new il(4)),wc(n,0,r4),y=new il(4))):y=(cr(),cr(),new il(4)),s=!0;(S=this.c)!=1&&!(S==0&&this.a==93&&!s);){if(s=!1,r=this.a,i=!1,S==10)switch(r){case 100:case 68:case 119:case 87:case 115:case 83:Up(y,this.dm(r)),i=!0;break;case 105:case 73:case 99:case 67:r=this.um(y,r),r<0&&(i=!0);break;case 112:case 80:if(x=flt(this,r),!x)throw N(new Pn(Rn((_n(),GU))));Up(y,x),i=!0;break;default:r=this.cm()}else if(S==20){if(u=dk(this.i,58,this.d),u<0)throw N(new Pn(Rn((_n(),b1t))));if(f=!0,ms(this.i,this.d)==94&&(++this.d,f=!1),l=Al(this.i,this.d,u),g=CUt(l,f,(this.e&512)==512),!g)throw N(new Pn(Rn((_n(),Hce))));if(Up(y,g),i=!0,u+1>=this.j||ms(this.i,u+1)!=93)throw N(new Pn(Rn((_n(),b1t))));this.d=u+2}if(rr(this),!i)if(this.c!=0||this.a!=45)wc(y,r,r);else{if(rr(this),(S=this.c)==1)throw N(new Pn(Rn((_n(),hI))));S==0&&this.a==93?(wc(y,r,r),wc(y,45,45)):(b=this.a,S==10&&(b=this.cm()),rr(this),wc(y,r,b))}(this.e&_u)==_u&&this.c==0&&this.a==44&&rr(this)}if(this.c==1)throw N(new Pn(Rn((_n(),hI))));return n&&(g6(n,y),y=n),Lm(y),f6(y),this.b=0,rr(this),y},a.fm=function(){var e,n,r,i;for(r=this.em(!1);(i=this.c)!=7;)if(e=this.a,i==0&&(e==45||e==38)||i==4){if(rr(this),this.c!=9)throw N(new Pn(Rn((_n(),zce))));if(n=this.em(!1),i==4)Up(r,n);else if(e==45)g6(r,n);else if(e==38)Mre(r,n);else throw N(new Lo("ASSERT"))}else throw N(new Pn(Rn((_n(),Wce))));return rr(this),r},a.gm=function(){var e,n;return e=this.a-48,n=(cr(),cr(),new tq(12,null,e)),!this.g&&(this.g=new sM),iM(this.g,new gtt(e)),rr(this),n},a.hm=function(){return rr(this),cr(),B2e},a.im=function(){return rr(this),cr(),E2e},a.jm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.km=function(){throw N(new Pn(Rn((_n(),Hl))))},a.lm=function(){return rr(this),PDe()},a.mm=function(){return rr(this),cr(),M2e},a.nm=function(){return rr(this),cr(),F2e},a.om=function(){var e;if(this.d>=this.j||((e=ms(this.i,this.d++))&65504)!=64)throw N(new Pn(Rn((_n(),Rce))));return rr(this),cr(),cr(),new _f(0,e-64)},a.pm=function(){return rr(this),$Je()},a.qm=function(){return rr(this),cr(),_2e},a.rm=function(){var e;return e=(cr(),cr(),new _f(0,105)),rr(this),e},a.sm=function(){return rr(this),cr(),L2e},a.tm=function(){return rr(this),cr(),A2e},a.um=function(e,n){return this.cm()},a.vm=function(){return rr(this),cr(),zvt},a.wm=function(){var e,n,r,i,s;if(this.d+1>=this.j)throw N(new Pn(Rn((_n(),jce))));if(i=-1,n=null,e=ms(this.i,this.d),49<=e&&e<=57){if(i=e-48,!this.g&&(this.g=new sM),iM(this.g,new gtt(i)),++this.d,ms(this.i,this.d)!=41)throw N(new Pn(Rn((_n(),K0))));++this.d}else switch(e==63&&--this.d,rr(this),n=Rut(this),n.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw N(new Pn(Rn((_n(),K0))));break;default:throw N(new Pn(Rn((_n(),Dce))))}if(rr(this),s=cw(this),r=null,s.e==2){if(s.Pm()!=2)throw N(new Pn(Rn((_n(),$ce))));r=s.Lm(1),s=s.Lm(0)}if(this.c!=7)throw N(new Pn(Rn((_n(),K0))));return rr(this),cr(),cr(),new rGt(i,n,s,r)},a.xm=function(){return rr(this),cr(),Wvt},a.ym=function(){var e;if(rr(this),e=jL(24,cw(this)),this.c!=7)throw N(new Pn(Rn((_n(),K0))));return rr(this),e},a.zm=function(){var e;if(rr(this),e=jL(20,cw(this)),this.c!=7)throw N(new Pn(Rn((_n(),K0))));return rr(this),e},a.Am=function(){var e;if(rr(this),e=jL(22,cw(this)),this.c!=7)throw N(new Pn(Rn((_n(),K0))));return rr(this),e},a.Bm=function(){var e,n,r,i,s;for(e=0,r=0,n=-1;this.d<this.j&&(n=ms(this.i,this.d),s=mlt(n),s!=0);)e|=s,++this.d;if(this.d>=this.j)throw N(new Pn(Rn((_n(),d1t))));if(n==45){for(++this.d;this.d<this.j&&(n=ms(this.i,this.d),s=mlt(n),s!=0);)r|=s,++this.d;if(this.d>=this.j)throw N(new Pn(Rn((_n(),d1t))))}if(n==58){if(++this.d,rr(this),i=Qqt(cw(this),e,r),this.c!=7)throw N(new Pn(Rn((_n(),K0))));rr(this)}else if(n==41)++this.d,rr(this),i=Qqt(cw(this),e,r);else throw N(new Pn(Rn((_n(),Pce))));return i},a.Cm=function(){var e;if(rr(this),e=jL(21,cw(this)),this.c!=7)throw N(new Pn(Rn((_n(),K0))));return rr(this),e},a.Dm=function(){var e;if(rr(this),e=jL(23,cw(this)),this.c!=7)throw N(new Pn(Rn((_n(),K0))));return rr(this),e},a.Em=function(){var e,n;if(rr(this),e=this.f++,n=AN(cw(this),e),this.c!=7)throw N(new Pn(Rn((_n(),K0))));return rr(this),n},a.Fm=function(){var e;if(rr(this),e=AN(cw(this),0),this.c!=7)throw N(new Pn(Rn((_n(),K0))));return rr(this),e},a.Gm=function(e){return rr(this),this.c==5?(rr(this),BL(e,(cr(),cr(),new xp(9,e)))):BL(e,(cr(),cr(),new xp(3,e)))},a.Hm=function(e){var n;return rr(this),n=(cr(),cr(),new Ux(2)),this.c==5?(rr(this),O0(n,s8),O0(n,e)):(O0(n,e),O0(n,s8)),n},a.Im=function(e){return rr(this),this.c==5?(rr(this),cr(),cr(),new xp(9,e)):(cr(),cr(),new xp(3,e))},a.a=0,a.b=0,a.c=0,a.d=0,a.e=0,a.f=1,a.g=null,a.j=0,C(B1,"RegEx/RegexParser",836),v(1947,836,{},vIt),a.bm=function(e){return!1},a.cm=function(){return Glt(this)},a.dm=function(e){return AC(e)},a.em=function(e){return Tie(this)},a.fm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.gm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.hm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.im=function(){throw N(new Pn(Rn((_n(),Hl))))},a.jm=function(){return rr(this),AC(67)},a.km=function(){return rr(this),AC(73)},a.lm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.mm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.nm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.om=function(){return rr(this),AC(99)},a.pm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.qm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.rm=function(){return rr(this),AC(105)},a.sm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.tm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.um=function(e,n){return Up(e,AC(n)),-1},a.vm=function(){return rr(this),cr(),cr(),new _f(0,94)},a.wm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.xm=function(){return rr(this),cr(),cr(),new _f(0,36)},a.ym=function(){throw N(new Pn(Rn((_n(),Hl))))},a.zm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.Am=function(){throw N(new Pn(Rn((_n(),Hl))))},a.Bm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.Cm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.Dm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.Em=function(){var e;if(rr(this),e=AN(cw(this),0),this.c!=7)throw N(new Pn(Rn((_n(),K0))));return rr(this),e},a.Fm=function(){throw N(new Pn(Rn((_n(),Hl))))},a.Gm=function(e){return rr(this),BL(e,(cr(),cr(),new xp(3,e)))},a.Hm=function(e){var n;return rr(this),n=(cr(),cr(),new Ux(2)),O0(n,e),O0(n,s8),n},a.Im=function(e){return rr(this),cr(),cr(),new xp(3,e)};var _y=null,H4=null;C(B1,"RegEx/ParserForXMLSchema",1947),v(122,1,i4,mb),a.Jm=function(e){throw N(new Lo("Not supported."))},a.Km=function(){return-1},a.Lm=function(e){return null},a.Mm=function(){return null},a.Nm=function(e){},a.Om=function(e){},a.Pm=function(){return 0},a.Ib=function(){return this.Qm(0)},a.Qm=function(e){return this.e==11?".":""},a.e=0;var qvt,K4,i8,S2e,Hvt,I2=null,Yj,tJ=null,Kvt,s8,eJ=null,zvt,Wvt,Uvt,Gvt,Xvt,E2e,F3,B2e,A2e,M2e,L2e,z4,F2e,_2e,Xnn=C(B1,"RegEx/Token",122);v(138,122,{3:1,138:1,122:1},il),a.Qm=function(e){var n,r,i;if(this.e==4)if(this==Kvt)r=".";else if(this==Yj)r="\\d";else if(this==z4)r="\\w";else if(this==F3)r="\\s";else{for(i=new Qd,i.a+="[",n=0;n<this.b.length;n+=2)(e&_u)!=0&&n>0&&(i.a+=","),this.b[n]===this.b[n+1]?Qs(i,D7(this.b[n])):(Qs(i,D7(this.b[n])),i.a+="-",Qs(i,D7(this.b[n+1])));i.a+="]",r=i.a}else if(this==Uvt)r="\\D";else if(this==Xvt)r="\\W";else if(this==Gvt)r="\\S";else{for(i=new Qd,i.a+="[^",n=0;n<this.b.length;n+=2)(e&_u)!=0&&n>0&&(i.a+=","),this.b[n]===this.b[n+1]?Qs(i,D7(this.b[n])):(Qs(i,D7(this.b[n])),i.a+="-",Qs(i,D7(this.b[n+1])));i.a+="]",r=i.a}return r},a.a=!1,a.c=!1,C(B1,"RegEx/RangeToken",138),v(592,1,{592:1},gtt),a.a=0,C(B1,"RegEx/RegexParser/ReferencePosition",592),v(591,1,{3:1,591:1},PPt),a.Fb=function(e){var n;return e==null||!Q(e,591)?!1:(n=o(e,591),ne(this.b,n.b)&&this.a==n.a)},a.Hb=function(){return f1(this.b+"/"+Nlt(this.a))},a.Ib=function(){return this.c.Qm(this.a)},a.a=0,C(B1,"RegEx/RegularExpression",591),v(228,122,i4,_f),a.Km=function(){return this.a},a.Qm=function(e){var n,r,i;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:i="\\"+rN(this.a&Si);break;case 12:i="\\f";break;case 10:i="\\n";break;case 13:i="\\r";break;case 9:i="\\t";break;case 27:i="\\e";break;default:this.a>=js?(r=(n=this.a>>>0,"0"+n.toString(16)),i="\\v"+Al(r,r.length-6,r.length)):i=""+rN(this.a&Si)}break;case 8:this==zvt||this==Wvt?i=""+rN(this.a&Si):i="\\"+rN(this.a&Si);break;default:i=null}return i},a.a=0,C(B1,"RegEx/Token/CharToken",228),v(318,122,i4,xp),a.Lm=function(e){return this.a},a.Nm=function(e){this.b=e},a.Om=function(e){this.c=e},a.Pm=function(){return 1},a.Qm=function(e){var n;if(this.e==3)if(this.c<0&&this.b<0)n=this.a.Qm(e)+"*";else if(this.c==this.b)n=this.a.Qm(e)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)n=this.a.Qm(e)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)n=this.a.Qm(e)+"{"+this.c+",}";else throw N(new Lo("Token#toString(): CLOSURE "+this.c+Fs+this.b));else if(this.c<0&&this.b<0)n=this.a.Qm(e)+"*?";else if(this.c==this.b)n=this.a.Qm(e)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)n=this.a.Qm(e)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)n=this.a.Qm(e)+"{"+this.c+",}?";else throw N(new Lo("Token#toString(): NONGREEDYCLOSURE "+this.c+Fs+this.b));return n},a.b=0,a.c=0,C(B1,"RegEx/Token/ClosureToken",318),v(837,122,i4,sit),a.Lm=function(e){return e==0?this.a:this.b},a.Pm=function(){return 2},a.Qm=function(e){var n;return this.b.e==3&&this.b.Lm(0)==this.a?n=this.a.Qm(e)+"+":this.b.e==9&&this.b.Lm(0)==this.a?n=this.a.Qm(e)+"+?":n=this.a.Qm(e)+(""+this.b.Qm(e)),n},C(B1,"RegEx/Token/ConcatToken",837),v(1945,122,i4,rGt),a.Lm=function(e){if(e==0)return this.d;if(e==1)return this.b;throw N(new Lo("Internal Error: "+e))},a.Pm=function(){return this.b?2:1},a.Qm=function(e){var n;return this.c>0?n="(?("+this.c+")":this.a.e==8?n="(?("+this.a+")":n="(?"+this.a,this.b?n+=this.d+"|"+this.b+")":n+=this.d+")",n},a.c=0,C(B1,"RegEx/Token/ConditionToken",1945),v(1946,122,i4,GKt),a.Lm=function(e){return this.b},a.Pm=function(){return 1},a.Qm=function(e){return"(?"+(this.a==0?"":Nlt(this.a))+(this.c==0?"":Nlt(this.c))+":"+this.b.Qm(e)+")"},a.a=0,a.c=0,C(B1,"RegEx/Token/ModifierToken",1946),v(838,122,i4,bit),a.Lm=function(e){return this.a},a.Pm=function(){return 1},a.Qm=function(e){var n;switch(n=null,this.e){case 6:this.b==0?n="(?:"+this.a.Qm(e)+")":n="("+this.a.Qm(e)+")";break;case 20:n="(?="+this.a.Qm(e)+")";break;case 21:n="(?!"+this.a.Qm(e)+")";break;case 22:n="(?<="+this.a.Qm(e)+")";break;case 23:n="(?<!"+this.a.Qm(e)+")";break;case 24:n="(?>"+this.a.Qm(e)+")"}return n},a.b=0,C(B1,"RegEx/Token/ParenToken",838),v(530,122,{3:1,122:1,530:1},tq),a.Mm=function(){return this.b},a.Qm=function(e){return this.e==12?"\\"+this.a:LGe(this.b)},a.a=0,C(B1,"RegEx/Token/StringToken",530),v(477,122,i4,Ux),a.Jm=function(e){O0(this,e)},a.Lm=function(e){return o(Kb(this.a,e),122)},a.Pm=function(){return this.a?this.a.a.c.length:0},a.Qm=function(e){var n,r,i,s,l;if(this.e==1){if(this.a.a.c.length==2)n=o(Kb(this.a,0),122),r=o(Kb(this.a,1),122),r.e==3&&r.Lm(0)==n?s=n.Qm(e)+"+":r.e==9&&r.Lm(0)==n?s=n.Qm(e)+"+?":s=n.Qm(e)+(""+r.Qm(e));else{for(l=new Qd,i=0;i<this.a.a.c.length;i++)Qs(l,o(Kb(this.a,i),122).Qm(e));s=l.a}return s}if(this.a.a.c.length==2&&o(Kb(this.a,1),122).e==7)s=o(Kb(this.a,0),122).Qm(e)+"?";else if(this.a.a.c.length==2&&o(Kb(this.a,0),122).e==7)s=o(Kb(this.a,1),122).Qm(e)+"??";else{for(l=new Qd,Qs(l,o(Kb(this.a,0),122).Qm(e)),i=1;i<this.a.a.c.length;i++)l.a+="|",Qs(l,o(Kb(this.a,i),122).Qm(e));s=l.a}return s},C(B1,"RegEx/Token/UnionToken",477),v(527,1,{600:1},xS),a.Ib=function(){return this.a.b},C(tle,"XMLTypeUtil/PatternMatcherImpl",527),v(1707,1527,{},_At);var O2e;C(tle,"XMLTypeValidator",1707),v(270,1,qf,f0),a.Jc=function(e){ds(this,e)},a.Kc=function(){return(this.b-this.a)*this.c<0?Xg:new ng(this)},a.a=0,a.b=0,a.c=0;var Xg;C(I1t,"ExclusiveRange",270),v(1084,1,Nf,OAt),a.Rb=function(e){o(e,17),h9e()},a.Nb=function(e){hs(this,e)},a.Pb=function(){return Z8e()},a.Ub=function(){return tSe()},a.Wb=function(e){o(e,17),d9e()},a.Ob=function(){return!1},a.Sb=function(){return!1},a.Tb=function(){return-1},a.Vb=function(){return-1},a.Qb=function(){throw N(new Yd(rle))},C(I1t,"ExclusiveRange/1",1084),v(258,1,Nf,ng),a.Rb=function(e){o(e,17),f9e()},a.Nb=function(e){hs(this,e)},a.Pb=function(){return o$e(this)},a.Ub=function(){return XIe(this)},a.Wb=function(e){o(e,17),g9e()},a.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},a.Sb=function(){return this.b>0},a.Tb=function(){return this.b},a.Vb=function(){return this.b-1},a.Qb=function(){throw N(new Yd(rle))},a.a=0,a.b=0,C(I1t,"ExclusiveRange/RangeIterator",258);var Xl=Sk(fI,"C"),vn=Sk(q6,"I"),Ha=Sk(Uv,"Z"),Vg=Sk(H6,"J"),ba=Sk($6,"B"),Zi=Sk(R6,"D"),P2=Sk(N6,"F"),Oy=Sk(K6,"S"),Vnn=Qr("org.eclipse.elk.core.labels","ILabelManager"),Vvt=Qr(_s,"DiagnosticChain"),Yvt=Qr(Fae,"ResourceSet"),Jvt=C(_s,"InvocationTargetException",null),I2e=(lM(),lIe),P2e=P2e=tKe;nje(QTe),QPe("permProps",[[["locale","default"],[ile,"gecko1_8"]],[["locale","default"],[ile,"safari"]]]),P2e(null,"elk",null)}).call(this)}).call(this,typeof $2e<"u"?$2e:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(d,w,m){function k(A,L){if(!(A instanceof L))throw new TypeError("Cannot call a class as a function")}function p(A,L){if(!A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L&&(typeof L=="object"||typeof L=="function")?L:A}function T(A,L){if(typeof L!="function"&&L!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof L);A.prototype=Object.create(L&&L.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),L&&(Object.setPrototypeOf?Object.setPrototypeOf(A,L):A.__proto__=L)}var E=d("./elk-api.js").default,B=(function(A){T(L,A);function L(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};k(this,L);var $=Object.assign({},I),P=!1;try{d.resolve("web-worker"),P=!0}catch{}if(I.workerUrl)if(P){var U=d("web-worker");$.workerFactory=function(rt){return new U(rt)}}else console.warn(`Web worker requested but 'web-worker' package not installed.
|
|
341
341
|
Consider installing the package or pass your own 'workerFactory' to ELK's constructor.
|
|
342
|
-
... Falling back to non-web worker version.`);if(!$.workerFactory){var J=d("./elk-worker.min.js"),X=J.Worker;$.workerFactory=function(rt){return new X(rt)}}return p(this,(L.__proto__||Object.getPrototypeOf(L)).call(this,$))}return L})(E);Object.defineProperty(w.exports,"__esModule",{value:!0}),w.exports=B,B.default=B},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(d,w,m){w.exports=Worker},{}]},{},[3])(3)})})(j3t)),j3t.exports}var Bgn=Egn();const Agn=crn(Bgn);var Xxt="comm",d5e="rule",g5e="decl",Mgn="@media",Lgn="@import",Fgn="@supports",_gn="@namespace",kkt="@keyframes",b5e="@layer",Ogn="@scope",w5e=Math.abs,Vxt=String.fromCharCode;function Yxt(h){return h.trim()}O(Yxt,"trim");function mD(h,c,d){return h.replace(c,d)}O(mD,"replace");function p5e(h,c,d){return h.indexOf(c,d)}O(p5e,"indexof");function y8(h,c){return h.charCodeAt(c)|0}O(y8,"charat");function H8(h,c,d){return h.slice(c,d)}O(H8,"substr");function N2(h){return h.length}O(N2,"strlen");function Jxt(h){return h.length}O(Jxt,"sizeof");function cD(h,c){return c.push(h),h}O(cD,"append");var fZ=1,BA=1,m5e=0,ep=0,gh=0,IA="";function dZ(h,c,d,w,m,k,p,T){return{value:h,root:c,parent:d,type:w,props:m,children:k,line:fZ,column:BA,length:p,return:"",siblings:T}}O(dZ,"node");function y5e(){return gh}O(y5e,"char");function v5e(){return gh=ep>0?y8(IA,--ep):0,BA--,gh===10&&(BA=1,fZ--),gh}O(v5e,"prev");function Qw(){return gh=ep<m5e?y8(IA,ep++):0,BA++,gh===10&&(BA=1,fZ++),gh}O(Qw,"next");function R3(){return y8(IA,ep)}O(R3,"peek");function yD(){return ep}O(yD,"caret");function XD(h,c){return H8(IA,h,c)}O(XD,"slice");function AA(h){switch(h){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}O(AA,"token");function k5e(h){return fZ=BA=1,m5e=N2(IA=h),ep=0,[]}O(k5e,"alloc");function C5e(h){return IA="",h}O(C5e,"dealloc");function AJ(h){return Yxt(XD(ep-1,nQ(h===91?h+2:h===40?h+1:h)))}O(AJ,"delimit");function x5e(h){for(;(gh=R3())&&gh<33;)Qw();return AA(h)>2||AA(gh)>3?"":" "}O(x5e,"whitespace");function T5e(h,c){for(;--c&&Qw()&&!(gh<48||gh>102||gh>57&&gh<65||gh>70&&gh<97););return XD(h,yD()+(c<6&&R3()==32&&Qw()==32))}O(T5e,"escaping");function nQ(h){for(;Qw();)switch(gh){case h:return ep;case 34:case 39:h!==34&&h!==39&&nQ(gh);break;case 40:h===41&&nQ(h);break;case 92:Qw();break}return ep}O(nQ,"delimiter");function S5e(h,c){for(;Qw()&&h+gh!==57;)if(h+gh===84&&R3()===47)break;return"/*"+XD(c,ep-1)+"*"+Vxt(h===47?h:Qw())}O(S5e,"commenter");function E5e(h){for(;!AA(R3());)Qw();return XD(h,ep)}O(E5e,"identifier");function B5e(h){return C5e(vD("",null,null,null,[""],h=k5e(h),0,[0],h))}O(B5e,"compile");function vD(h,c,d,w,m,k,p,T,E){for(var B=0,A=0,L=p,I=0,$=0,P=0,U=1,J=1,X=1,rt=0,lt="",xt=m,Mt=k,Vt=w,Gt=lt;J;)switch(P=rt,rt=Qw()){case 40:if(P!=108&&y8(Gt,L-1)==58){p5e(Gt+=mD(AJ(rt),"&","&\f"),"&\f",w5e(B?T[B-1]:0))!=-1&&(X=-1);break}case 34:case 39:case 91:Gt+=AJ(rt);break;case 9:case 10:case 13:case 32:Gt+=x5e(P);break;case 92:Gt+=T5e(yD()-1,7);continue;case 47:switch(R3()){case 42:case 47:cD(A5e(S5e(Qw(),yD()),c,d,E),E),(AA(P||1)==5||AA(R3()||1)==5)&&N2(Gt)&&H8(Gt,-1,void 0)!==" "&&(Gt+=" ");break;default:Gt+="/"}break;case 123*U:T[B++]=N2(Gt)*X;case 125*U:case 59:case 0:switch(rt){case 0:case 125:J=0;case 59+A:X==-1&&(Gt=mD(Gt,/\f/g,"")),$>0&&(N2(Gt)-L||U===0&&P===47)&&cD($>32?xkt(Gt+";",w,d,L-1,E):xkt(mD(Gt," ","")+";",w,d,L-2,E),E);break;case 59:Gt+=";";default:if(cD(Vt=Ckt(Gt,c,d,B,A,m,T,lt,xt=[],Mt=[],L,k),k),rt===123)if(A===0)vD(Gt,c,Vt,Vt,xt,k,L,T,Mt);else{switch(I){case 99:if(y8(Gt,3)===110)break;case 108:if(y8(Gt,2)===97)break;default:A=0;case 100:case 109:case 115:}A?vD(h,Vt,Vt,w&&cD(Ckt(h,Vt,Vt,0,0,m,T,lt,m,xt=[],L,Mt),Mt),m,Mt,L,T,w?xt:Mt):vD(Gt,Vt,Vt,Vt,[""],Mt,0,T,Mt)}}B=A=$=0,U=X=1,lt=Gt="",L=p;break;case 58:L=1+N2(Gt),$=P;default:if(U<1){if(rt==123)--U;else if(rt==125&&U++==0&&v5e()==125)continue}switch(Gt+=Vxt(rt),rt*U){case 38:X=A>0?1:(Gt+="\f",-1);break;case 44:T[B++]=(N2(Gt)-1)*X,X=1;break;case 64:R3()===45&&(Gt+=AJ(Qw())),I=R3(),A=L=N2(lt=Gt+=E5e(yD())),rt++;break;case 45:P===45&&N2(Gt)==2&&(U=0)}}return k}O(vD,"parse");function Ckt(h,c,d,w,m,k,p,T,E,B,A,L){for(var I=m-1,$=m===0?k:[""],P=Jxt($),U=0,J=0,X=0;U<w;++U)for(var rt=0,lt=H8(h,I+1,I=w5e(J=p[U])),xt=h;rt<P;++rt)(xt=Yxt(J>0?$[rt]+" "+lt:mD(lt,/&\f/g,$[rt])))&&(E[X++]=xt);return dZ(h,c,d,m===0?d5e:T,E,B,A,L)}O(Ckt,"ruleset");function A5e(h,c,d,w){return dZ(h,c,d,Xxt,Vxt(y5e()),H8(h,2,-2),0,w)}O(A5e,"comment");function xkt(h,c,d,w,m){return dZ(h,c,d,g5e,H8(h,0,w),H8(h,w+1,-1),w,m)}O(xkt,"declaration");function rQ(h,c){for(var d="",w=0;w<h.length;w++)d+=c(h[w],w,h,c)||"";return d}O(rQ,"serialize");function M5e(h,c,d,w){switch(h.type){case b5e:if(h.children.length)break;case Lgn:case _gn:case g5e:return h.return=h.return||h.value;case Xxt:return"";case kkt:return h.return=h.value+"{"+rQ(h.children,w)+"}";case d5e:if(!N2(h.value=h.props.join(",")))return""}return N2(d=rQ(h.children,w))?h.return=h.value+"{"+d+"}":""}O(M5e,"stringify");function L5e(h){var c=Jxt(h);return function(d,w,m,k){for(var p="",T=0;T<c;T++)p+=h[T](d,w,m,k)||"";return p}}O(L5e,"middleware");var F5e="c4",Ign=q(h=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(h),"detector"),Pgn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./c4Diagram-UCG6FXSJ-75X3U2P3-7rpgYEob.js");return{diagram:c}},__vite__mapDeps([15,16,1,2,3,4,5,7,8,9]),import.meta.url);return{id:F5e,diagram:h}},"loader"),jgn={id:F5e,detector:Ign,loader:Pgn},Dgn=jgn,_5e="flowchart",$gn=q((h,c)=>{var d,w;return((d=c==null?void 0:c.flowchart)==null?void 0:d.defaultRenderer)==="dagre-wrapper"||((w=c==null?void 0:c.flowchart)==null?void 0:w.defaultRenderer)==="elk"?!1:/^\s*graph/.test(h)},"detector"),Rgn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./flowDiagram-A5DVABFB-2Z4AVO5R-EXpUdCkE.js").then(d=>d.f);return{diagram:c}},__vite__mapDeps([17,18,19,7,20,16,1,2,3,4,5]),import.meta.url);return{id:_5e,diagram:h}},"loader"),Ngn={id:_5e,detector:$gn,loader:Rgn},qgn=Ngn,O5e="flowchart-v2",Hgn=q((h,c)=>{var d,w,m;return((d=c==null?void 0:c.flowchart)==null?void 0:d.defaultRenderer)==="dagre-d3"?!1:(((w=c==null?void 0:c.flowchart)==null?void 0:w.defaultRenderer)==="elk"&&(c.layout="elk"),/^\s*graph/.test(h)&&((m=c==null?void 0:c.flowchart)==null?void 0:m.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(h))},"detector"),Kgn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./flowDiagram-A5DVABFB-2Z4AVO5R-EXpUdCkE.js").then(d=>d.f);return{diagram:c}},__vite__mapDeps([17,18,19,7,20,16,1,2,3,4,5]),import.meta.url);return{id:O5e,diagram:h}},"loader"),zgn={id:O5e,detector:Hgn,loader:Kgn},Wgn=zgn,I5e="swimlane",Ugn=q(h=>/^\s*swimlane-beta\b/.test(h),"detector"),Ggn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./swimlanesDiagram-VK2B7HYN-E6N4H5SY-jhFh1EB2.js");return{diagram:c}},__vite__mapDeps([21,17,18,19,7,20,16,1,2,3,4,5,8,9]),import.meta.url);return{id:I5e,diagram:h}},"loader"),Xgn={id:I5e,detector:Ugn,loader:Ggn},Vgn=Xgn,P5e="er",Ygn=q(h=>/^\s*erDiagram/.test(h),"detector"),Jgn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./erDiagram-SSCWMZ5O-PIPKOIK7-DoltPq2T.js");return{diagram:c}},__vite__mapDeps([22,19,7,20,1,2,3,4,5,8,9]),import.meta.url);return{id:P5e,diagram:h}},"loader"),Qgn={id:P5e,detector:Ygn,loader:Jgn},Zgn=Qgn,j5e="gitGraph",t0n=q(h=>/^\s*gitGraph/.test(h),"detector"),e0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./gitGraphDiagram-WWUBYQGX-DMWMLL3G-BrLu7NzO.js");return{diagram:c}},__vite__mapDeps([23,24,1,2,3,4,5,25,26,7,8,9]),import.meta.url);return{id:j5e,diagram:h}},"loader"),n0n={id:j5e,detector:t0n,loader:e0n},r0n=n0n,D5e="gantt",i0n=q(h=>/^\s*gantt/.test(h),"detector"),s0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./ganttDiagram-EL5Y4UJY-JZNG7GOG-B3_qeHhv.js");return{diagram:c}},__vite__mapDeps([27,1,2,3,4,5,7,28,29,30,31,32,8,9]),import.meta.url);return{id:D5e,diagram:h}},"loader"),o0n={id:D5e,detector:i0n,loader:s0n},c0n=o0n,$5e="info",a0n=q(h=>/^\s*info/.test(h),"detector"),l0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./infoDiagram-RXCK75RN-HANS5KVC-BhbqgWa_.js");return{diagram:c}},__vite__mapDeps([33,26,2,3,4,5,1,7,8,9]),import.meta.url);return{id:$5e,diagram:h}},"loader"),u0n={id:$5e,detector:a0n,loader:l0n},R5e="pie",h0n=q(h=>/^\s*pie/.test(h),"detector"),f0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./pieDiagram-E7YTZNPT-2UOTW327-DbtP5dKZ.js");return{diagram:c}},__vite__mapDeps([34,25,1,2,3,4,5,26,7,35,8,36,30,37,9]),import.meta.url);return{id:R5e,diagram:h}},"loader"),d0n={id:R5e,detector:h0n,loader:f0n},N5e="quadrantChart",g0n=q(h=>/^\s*quadrantChart/.test(h),"detector"),b0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./quadrantDiagram-AXDQQJYC-SN3ASJJK-CbdnLdcx.js");return{diagram:c}},__vite__mapDeps([38,1,2,3,4,5,7,29,30,31,8,9]),import.meta.url);return{id:N5e,diagram:h}},"loader"),w0n={id:N5e,detector:g0n,loader:b0n},p0n=w0n,q5e="xychart",m0n=q(h=>/^\s*xychart(-beta)?/.test(h),"detector"),y0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./xychartDiagram-S5SC5T6Z-OBDNV6WG-DcSRUgks.js");return{diagram:c}},__vite__mapDeps([39,1,2,3,4,5,7,40,30,36,29,31,8,9]),import.meta.url);return{id:q5e,diagram:h}},"loader"),v0n={id:q5e,detector:m0n,loader:y0n},k0n=v0n,H5e="requirement",C0n=q(h=>/^\s*requirement(Diagram)?/.test(h),"detector"),x0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./requirementDiagram-EFPCY7ZU-NGAFFSMB-vkMFulyy.js");return{diagram:c}},__vite__mapDeps([41,19,7,20,1,2,3,4,5,8,9]),import.meta.url);return{id:H5e,diagram:h}},"loader"),T0n={id:H5e,detector:C0n,loader:x0n},S0n=T0n,K5e="sequence",E0n=q(h=>/^\s*sequenceDiagram/.test(h),"detector"),B0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./sequenceDiagram-WJ2MYXX4-Q2IOPB4R-Du5hMpfL.js");return{diagram:c}},__vite__mapDeps([42,24,1,2,3,4,5,16,7,8,9]),import.meta.url);return{id:K5e,diagram:h}},"loader"),A0n={id:K5e,detector:E0n,loader:B0n},M0n=A0n,z5e="class",L0n=q((h,c)=>{var d;return((d=c==null?void 0:c.class)==null?void 0:d.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(h)},"detector"),F0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./classDiagram-DTDB5LWJ-LWRDKZ5K-B3DqqoSe.js");return{diagram:c}},__vite__mapDeps([43,44,18,19,7,20,16,1,2,3,4,5,8,9]),import.meta.url);return{id:z5e,diagram:h}},"loader"),_0n={id:z5e,detector:L0n,loader:F0n},O0n=_0n,W5e="classDiagram",I0n=q((h,c)=>{var d;return/^\s*classDiagram/.test(h)&&((d=c==null?void 0:c.class)==null?void 0:d.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(h)},"detector"),P0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./classDiagram-v2-JRS7N3AN-2BZHGRP2-B3DqqoSe.js");return{diagram:c}},__vite__mapDeps([45,44,18,19,7,20,16,1,2,3,4,5,8,9]),import.meta.url);return{id:W5e,diagram:h}},"loader"),j0n={id:W5e,detector:I0n,loader:P0n},D0n=j0n,U5e="state",$0n=q((h,c)=>{var d;return((d=c==null?void 0:c.state)==null?void 0:d.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(h)},"detector"),R0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./stateDiagram-HBIQ2CUA-4M2S6MAN-BhhZM57P.js");return{diagram:c}},__vite__mapDeps([46,47,19,7,20,16,1,2,3,4,5,11,8,9]),import.meta.url);return{id:U5e,diagram:h}},"loader"),N0n={id:U5e,detector:$0n,loader:R0n},q0n=N0n,G5e="stateDiagram",H0n=q((h,c)=>{var d;return!!(/^\s*stateDiagram-v2/.test(h)||/^\s*stateDiagram/.test(h)&&((d=c==null?void 0:c.state)==null?void 0:d.defaultRenderer)==="dagre-wrapper")},"detector"),K0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./stateDiagram-v2-4QOOHH4V-LBBLA2WV-CNwPFEas.js");return{diagram:c}},__vite__mapDeps([48,47,19,7,20,16,1,2,3,4,5,8,9]),import.meta.url);return{id:G5e,diagram:h}},"loader"),z0n={id:G5e,detector:H0n,loader:K0n},W0n=z0n,X5e="journey",U0n=q(h=>/^\s*journey/.test(h),"detector"),G0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./journeyDiagram-EYS64GPL-OAPELBT7-jFQUZit6.js");return{diagram:c}},__vite__mapDeps([49,18,16,1,2,3,4,5,7,35,8,9]),import.meta.url);return{id:X5e,diagram:h}},"loader"),X0n={id:X5e,detector:U0n,loader:G0n},V0n=X0n,Y0n=q((h,c,d)=>{Ae.debug(`rendering svg for syntax error
|
|
343
|
-
`);const w=wsn(c),m=w.append("g");w.attr("viewBox","0 0 2412 512"),Ave(w,100,512,!0),m.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),m.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),m.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),m.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),m.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),m.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),m.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),m.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${d}`)},"draw"),V5e={draw:Y0n},J0n=V5e,Q0n={db:{},renderer:V5e,parser:{parse:q(()=>{},"parse")}},Z0n=Q0n,Y5e="flowchart-elk",tbn=q((h,c={})=>{var d;return/^\s*flowchart-elk/.test(h)||/^\s*(flowchart|graph)/.test(h)&&((d=c==null?void 0:c.flowchart)==null?void 0:d.defaultRenderer)==="elk"?(c.layout="elk",!0):!1},"detector"),ebn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./flowDiagram-A5DVABFB-2Z4AVO5R-EXpUdCkE.js").then(d=>d.f);return{diagram:c}},__vite__mapDeps([17,18,19,7,20,16,1,2,3,4,5]),import.meta.url);return{id:Y5e,diagram:h}},"loader"),nbn={id:Y5e,detector:tbn,loader:ebn},rbn=nbn,J5e="timeline",ibn=q(h=>/^\s*timeline/.test(h),"detector"),sbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./timeline-definition-24CTP7MA-KN7RSRVM-Cba_QLsv.js");return{diagram:c}},__vite__mapDeps([50,1,2,3,4,5,7,35,8,9]),import.meta.url);return{id:J5e,diagram:h}},"loader"),obn={id:J5e,detector:ibn,loader:sbn},cbn=obn,Q5e="mindmap",abn=q(h=>/^\s*mindmap/.test(h),"detector"),lbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./mindmap-definition-FBJOCRG2-KIYZG64Y-DyTkl7Qq.js");return{diagram:c}},__vite__mapDeps([51,19,7,20,1,2,3,4,5,8,9]),import.meta.url);return{id:Q5e,diagram:h}},"loader"),ubn={id:Q5e,detector:abn,loader:lbn},hbn=ubn,Z5e="kanban",fbn=q(h=>/^\s*kanban/.test(h),"detector"),dbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./kanban-definition-3QL26DDD-I7RKWQQY-MOg0W8Vc.js");return{diagram:c}},__vite__mapDeps([52,18,1,2,3,4,5,7,8,9]),import.meta.url);return{id:Z5e,diagram:h}},"loader"),gbn={id:Z5e,detector:fbn,loader:dbn},bbn=gbn,t6e="sankey",wbn=q(h=>/^\s*sankey(-beta)?/.test(h),"detector"),pbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./sankeyDiagram-P5KCCOFB-3D3M4XPB-Ct2_9lW6.js");return{diagram:c}},__vite__mapDeps([53,1,2,3,4,5,7,36,30,54,55,8,9]),import.meta.url);return{id:t6e,diagram:h}},"loader"),mbn={id:t6e,detector:wbn,loader:pbn},ybn=mbn,e6e="packet",vbn=q(h=>/^\s*packet(-beta)?/.test(h),"detector"),kbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./diagram-Z3DM3KII-HG7RF65D-seunnnEY.js");return{diagram:c}},__vite__mapDeps([56,25,1,2,3,4,5,26,7,8,9]),import.meta.url);return{id:e6e,diagram:h}},"loader"),Cbn={id:e6e,detector:vbn,loader:kbn},n6e="radar",xbn=q(h=>/^\s*radar-beta/.test(h),"detector"),Tbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./diagram-UQ7AKVKN-YQBY353J-CIootVI_.js");return{diagram:c}},__vite__mapDeps([57,25,1,2,3,4,5,26,7,8,9]),import.meta.url);return{id:n6e,diagram:h}},"loader"),Sbn={id:n6e,detector:xbn,loader:Tbn},r6e="block",Ebn=q(h=>/^\s*block(-beta)?/.test(h),"detector"),Bbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./blockDiagram-NRAW4CY4-UMJ6PMQQ-BxiaVwV9.js");return{diagram:c}},__vite__mapDeps([58,18,1,2,3,4,5,7,8,9]),import.meta.url);return{id:r6e,diagram:h}},"loader"),Abn={id:r6e,detector:Ebn,loader:Bbn},Mbn=Abn,i6e="treeView",Lbn=q(h=>/^\s*treeView-beta/.test(h),"detector"),Fbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./diagram-S7CK7UJ4-MULGZGEL-C7lZT5bQ.js");return{diagram:c}},__vite__mapDeps([59,24,1,2,3,4,5,25,26,7,8,9]),import.meta.url);return{id:i6e,diagram:h}},"loader"),_bn={id:i6e,detector:Lbn,loader:Fbn},Obn=_bn,s6e="architecture",Ibn=q(h=>/^\s*architecture/.test(h),"detector"),Pbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./architectureDiagram-5GKGNRK7-C4PU3XN7-DGtDmisd.js");return{diagram:c}},__vite__mapDeps([60,25,1,2,3,4,5,26,14,7,8,9]),import.meta.url);return{id:s6e,diagram:h}},"loader"),jbn={id:s6e,detector:Ibn,loader:Pbn},Dbn=jbn,o6e="eventmodeling",$bn=q(h=>/^\s*eventmodeling/.test(h),"detector"),Rbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./diagram-VSXAHHWV-WLNH2ELY-BW8LpgQJ.js");return{diagram:c}},__vite__mapDeps([61,25,1,2,3,4,5,26,7,8,9]),import.meta.url);return{id:o6e,diagram:h}},"loader"),Nbn={id:o6e,detector:$bn,loader:Rbn},qbn=Nbn,c6e="ishikawa",Hbn=q(h=>/^\s*ishikawa(-beta)?\b/i.test(h),"detector"),Kbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./ishikawaDiagram-5VMMS53U-7GCIT7WU-DR-PXM0c.js");return{diagram:c}},__vite__mapDeps([62,1,2,3,4,5,7,8,9]),import.meta.url);return{id:c6e,diagram:h}},"loader"),zbn={id:c6e,detector:Hbn,loader:Kbn},a6e="venn",Wbn=q(h=>/^\s*venn-beta/.test(h),"detector"),Ubn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./vennDiagram-4TSXK5OY-AKJ7LXAN-Bjm0zDVN.js");return{diagram:c}},__vite__mapDeps([63,1,2,3,4,5,7,8,9]),import.meta.url);return{id:a6e,diagram:h}},"loader"),Gbn={id:a6e,detector:Wbn,loader:Ubn},Xbn=Gbn,l6e="treemap",Vbn=q(h=>/^\s*treemap/.test(h),"detector"),Ybn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./diagram-VX7I27RA-XW6YQV5G-DfhGfGMR.js");return{diagram:c}},__vite__mapDeps([64,25,1,2,3,4,5,26,20,7,31,36,30,65,8,9]),import.meta.url);return{id:l6e,diagram:h}},"loader"),Jbn={id:l6e,detector:Vbn,loader:Ybn},u6e="wardley",Qbn=q(h=>/^\s*wardley-beta/i.test(h),"detector"),Zbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./wardleyDiagram-VM6X3IG4-3B6A3BN5-BOTe--eD.js");return{diagram:c}},__vite__mapDeps([66,25,1,2,3,4,5,26,7,8,9]),import.meta.url);return{id:u6e,diagram:h}},"loader"),twn={id:u6e,detector:Qbn,loader:Zbn},ewn=twn,h6e="cynefin",nwn=q(h=>/^\s*cynefin-beta(?:[\s:]|$)/.test(h),"detector"),rwn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./cynefinDiagram-5FMLGOSQ-H3WIRU3N-DoaOZ7iJ.js");return{diagram:c}},__vite__mapDeps([67,25,1,2,3,4,5,26,7,8,9]),import.meta.url);return{id:h6e,diagram:h}},"loader"),iwn={id:h6e,detector:nwn,loader:rwn},f6e="railroad",swn=q(h=>/^\s*railroad-beta/i.test(h),"detector"),own=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./railroadDiagram-O6MQD6OU-34742W6X-BxDZ-lKK.js");return{diagram:c}},__vite__mapDeps([68,69,1,2,3,4,5,25,26,7,8,9]),import.meta.url);return{id:f6e,diagram:h}},"loader"),cwn={id:f6e,detector:swn,loader:own},d6e="railroadEbnf",awn=q(h=>/^\s*railroad-ebnf-beta/i.test(h),"detector"),lwn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./ebnfDiagram-PWID7BFC-OKY4VHYD-Bvj1acAA.js");return{diagram:c}},__vite__mapDeps([70,69,1,2,3,4,5,25,26,7,8,9]),import.meta.url);return{id:d6e,diagram:h}},"loader"),uwn={id:d6e,detector:awn,loader:lwn},g6e="railroadAbnf",hwn=q(h=>/^\s*railroad-abnf-beta/i.test(h),"detector"),fwn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./abnfDiagram-VCTEODGH-ODA7YWAP-NpbseUTF.js");return{diagram:c}},__vite__mapDeps([71,69,1,2,3,4,5,25,26,7,8,9]),import.meta.url);return{id:g6e,diagram:h}},"loader"),dwn={id:g6e,detector:hwn,loader:fwn},b6e="railroadPeg",gwn=q(h=>/^\s*railroad-peg-beta/i.test(h),"detector"),bwn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./pegDiagram-XKGWAZYB-OIP57N6J-D6RFGa8P.js");return{diagram:c}},__vite__mapDeps([72,69,1,2,3,4,5,25,26,7,8,9]),import.meta.url);return{id:b6e,diagram:h}},"loader"),wwn={id:b6e,detector:gwn,loader:bwn},$ye=!1,gZ=q(()=>{$ye||($ye=!0,PJ("error",Z0n,h=>h.toLowerCase().trim()==="error"),PJ("---",{db:{clear:q(()=>{},"clear")},styles:{},renderer:{draw:q(()=>{},"draw")},parser:{parse:q(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:q(()=>null,"init")},h=>h.toLowerCase().trimStart().startsWith("---")),K3t(rbn,hbn,Dbn),K3t(Dgn,bbn,D0n,O0n,Zgn,c0n,u0n,d0n,S0n,M0n,Vgn,Wgn,qgn,cbn,r0n,W0n,q0n,V0n,p0n,ybn,Cbn,k0n,Mbn,qbn,Obn,Sbn,zbn,Jbn,cwn,uwn,dwn,wwn,Xbn,ewn,iwn))},"addDiagrams"),pwn=q(async()=>{Ae.debug("Loading registered diagrams");const c=(await Promise.allSettled(Object.entries(D8).map(async([d,{detector:w,loader:m}])=>{if(m)try{U3t(d)}catch{try{const{diagram:k,id:p}=await m();PJ(p,k,w)}catch(k){throw Ae.error(`Failed to load external diagram with key ${d}. Removing from detectors.`),delete D8[d],k}}}))).filter(d=>d.status==="rejected");if(c.length>0){Ae.error(`Failed to load ${c.length} external diagrams`);for(const d of c)Ae.error(d);throw new Error(`Failed to load ${c.length} external diagrams`)}},"loadRegisteredDiagrams"),mwn="graphics-document document";function Qxt(h,c){h.attr("role",mwn),c!==""&&h.attr("aria-roledescription",c)}O(Qxt,"setA11yDiagramInfo");q(Qxt,"setA11yDiagramInfo");function Zxt(h,c,d,w){if(h.insert!==void 0){if(d){const m=`chart-desc-${w}`;h.attr("aria-describedby",m),h.insert("desc",":first-child").attr("id",m).text(d)}if(c){const m=`chart-title-${w}`;h.attr("aria-labelledby",m),h.insert("title",":first-child").attr("id",m).text(c)}}}O(Zxt,"addSVGa11yTitleDescription");q(Zxt,"addSVGa11yTitleDescription");var ex,Tkt=(ex=class{constructor(c,d,w,m,k){this.type=c,this.text=d,this.db=w,this.parser=m,this.renderer=k}static async fromText(c,d={}){var B,A;const w=Cl(),m=Okt(c,w);c=odn(c)+`
|
|
342
|
+
... Falling back to non-web worker version.`);if(!$.workerFactory){var J=d("./elk-worker.min.js"),X=J.Worker;$.workerFactory=function(rt){return new X(rt)}}return p(this,(L.__proto__||Object.getPrototypeOf(L)).call(this,$))}return L})(E);Object.defineProperty(w.exports,"__esModule",{value:!0}),w.exports=B,B.default=B},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(d,w,m){w.exports=Worker},{}]},{},[3])(3)})})(j3t)),j3t.exports}var Bgn=Egn();const Agn=crn(Bgn);var Xxt="comm",d5e="rule",g5e="decl",Mgn="@media",Lgn="@import",Fgn="@supports",_gn="@namespace",kkt="@keyframes",b5e="@layer",Ogn="@scope",w5e=Math.abs,Vxt=String.fromCharCode;function Yxt(h){return h.trim()}O(Yxt,"trim");function mD(h,c,d){return h.replace(c,d)}O(mD,"replace");function p5e(h,c,d){return h.indexOf(c,d)}O(p5e,"indexof");function y8(h,c){return h.charCodeAt(c)|0}O(y8,"charat");function H8(h,c,d){return h.slice(c,d)}O(H8,"substr");function N2(h){return h.length}O(N2,"strlen");function Jxt(h){return h.length}O(Jxt,"sizeof");function cD(h,c){return c.push(h),h}O(cD,"append");var fZ=1,BA=1,m5e=0,ep=0,gh=0,IA="";function dZ(h,c,d,w,m,k,p,T){return{value:h,root:c,parent:d,type:w,props:m,children:k,line:fZ,column:BA,length:p,return:"",siblings:T}}O(dZ,"node");function y5e(){return gh}O(y5e,"char");function v5e(){return gh=ep>0?y8(IA,--ep):0,BA--,gh===10&&(BA=1,fZ--),gh}O(v5e,"prev");function Qw(){return gh=ep<m5e?y8(IA,ep++):0,BA++,gh===10&&(BA=1,fZ++),gh}O(Qw,"next");function R3(){return y8(IA,ep)}O(R3,"peek");function yD(){return ep}O(yD,"caret");function XD(h,c){return H8(IA,h,c)}O(XD,"slice");function AA(h){switch(h){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}O(AA,"token");function k5e(h){return fZ=BA=1,m5e=N2(IA=h),ep=0,[]}O(k5e,"alloc");function C5e(h){return IA="",h}O(C5e,"dealloc");function AJ(h){return Yxt(XD(ep-1,nQ(h===91?h+2:h===40?h+1:h)))}O(AJ,"delimit");function x5e(h){for(;(gh=R3())&&gh<33;)Qw();return AA(h)>2||AA(gh)>3?"":" "}O(x5e,"whitespace");function T5e(h,c){for(;--c&&Qw()&&!(gh<48||gh>102||gh>57&&gh<65||gh>70&&gh<97););return XD(h,yD()+(c<6&&R3()==32&&Qw()==32))}O(T5e,"escaping");function nQ(h){for(;Qw();)switch(gh){case h:return ep;case 34:case 39:h!==34&&h!==39&&nQ(gh);break;case 40:h===41&&nQ(h);break;case 92:Qw();break}return ep}O(nQ,"delimiter");function S5e(h,c){for(;Qw()&&h+gh!==57;)if(h+gh===84&&R3()===47)break;return"/*"+XD(c,ep-1)+"*"+Vxt(h===47?h:Qw())}O(S5e,"commenter");function E5e(h){for(;!AA(R3());)Qw();return XD(h,ep)}O(E5e,"identifier");function B5e(h){return C5e(vD("",null,null,null,[""],h=k5e(h),0,[0],h))}O(B5e,"compile");function vD(h,c,d,w,m,k,p,T,E){for(var B=0,A=0,L=p,I=0,$=0,P=0,U=1,J=1,X=1,rt=0,lt="",xt=m,Mt=k,Vt=w,Gt=lt;J;)switch(P=rt,rt=Qw()){case 40:if(P!=108&&y8(Gt,L-1)==58){p5e(Gt+=mD(AJ(rt),"&","&\f"),"&\f",w5e(B?T[B-1]:0))!=-1&&(X=-1);break}case 34:case 39:case 91:Gt+=AJ(rt);break;case 9:case 10:case 13:case 32:Gt+=x5e(P);break;case 92:Gt+=T5e(yD()-1,7);continue;case 47:switch(R3()){case 42:case 47:cD(A5e(S5e(Qw(),yD()),c,d,E),E),(AA(P||1)==5||AA(R3()||1)==5)&&N2(Gt)&&H8(Gt,-1,void 0)!==" "&&(Gt+=" ");break;default:Gt+="/"}break;case 123*U:T[B++]=N2(Gt)*X;case 125*U:case 59:case 0:switch(rt){case 0:case 125:J=0;case 59+A:X==-1&&(Gt=mD(Gt,/\f/g,"")),$>0&&(N2(Gt)-L||U===0&&P===47)&&cD($>32?xkt(Gt+";",w,d,L-1,E):xkt(mD(Gt," ","")+";",w,d,L-2,E),E);break;case 59:Gt+=";";default:if(cD(Vt=Ckt(Gt,c,d,B,A,m,T,lt,xt=[],Mt=[],L,k),k),rt===123)if(A===0)vD(Gt,c,Vt,Vt,xt,k,L,T,Mt);else{switch(I){case 99:if(y8(Gt,3)===110)break;case 108:if(y8(Gt,2)===97)break;default:A=0;case 100:case 109:case 115:}A?vD(h,Vt,Vt,w&&cD(Ckt(h,Vt,Vt,0,0,m,T,lt,m,xt=[],L,Mt),Mt),m,Mt,L,T,w?xt:Mt):vD(Gt,Vt,Vt,Vt,[""],Mt,0,T,Mt)}}B=A=$=0,U=X=1,lt=Gt="",L=p;break;case 58:L=1+N2(Gt),$=P;default:if(U<1){if(rt==123)--U;else if(rt==125&&U++==0&&v5e()==125)continue}switch(Gt+=Vxt(rt),rt*U){case 38:X=A>0?1:(Gt+="\f",-1);break;case 44:T[B++]=(N2(Gt)-1)*X,X=1;break;case 64:R3()===45&&(Gt+=AJ(Qw())),I=R3(),A=L=N2(lt=Gt+=E5e(yD())),rt++;break;case 45:P===45&&N2(Gt)==2&&(U=0)}}return k}O(vD,"parse");function Ckt(h,c,d,w,m,k,p,T,E,B,A,L){for(var I=m-1,$=m===0?k:[""],P=Jxt($),U=0,J=0,X=0;U<w;++U)for(var rt=0,lt=H8(h,I+1,I=w5e(J=p[U])),xt=h;rt<P;++rt)(xt=Yxt(J>0?$[rt]+" "+lt:mD(lt,/&\f/g,$[rt])))&&(E[X++]=xt);return dZ(h,c,d,m===0?d5e:T,E,B,A,L)}O(Ckt,"ruleset");function A5e(h,c,d,w){return dZ(h,c,d,Xxt,Vxt(y5e()),H8(h,2,-2),0,w)}O(A5e,"comment");function xkt(h,c,d,w,m){return dZ(h,c,d,g5e,H8(h,0,w),H8(h,w+1,-1),w,m)}O(xkt,"declaration");function rQ(h,c){for(var d="",w=0;w<h.length;w++)d+=c(h[w],w,h,c)||"";return d}O(rQ,"serialize");function M5e(h,c,d,w){switch(h.type){case b5e:if(h.children.length)break;case Lgn:case _gn:case g5e:return h.return=h.return||h.value;case Xxt:return"";case kkt:return h.return=h.value+"{"+rQ(h.children,w)+"}";case d5e:if(!N2(h.value=h.props.join(",")))return""}return N2(d=rQ(h.children,w))?h.return=h.value+"{"+d+"}":""}O(M5e,"stringify");function L5e(h){var c=Jxt(h);return function(d,w,m,k){for(var p="",T=0;T<c;T++)p+=h[T](d,w,m,k)||"";return p}}O(L5e,"middleware");var F5e="c4",Ign=q(h=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(h),"detector"),Pgn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./c4Diagram-UCG6FXSJ-75X3U2P3-Bj0Dw0IT.js");return{diagram:c}},__vite__mapDeps([14,15,1,2,3,4,5,7,8]),import.meta.url);return{id:F5e,diagram:h}},"loader"),jgn={id:F5e,detector:Ign,loader:Pgn},Dgn=jgn,_5e="flowchart",$gn=q((h,c)=>{var d,w;return((d=c==null?void 0:c.flowchart)==null?void 0:d.defaultRenderer)==="dagre-wrapper"||((w=c==null?void 0:c.flowchart)==null?void 0:w.defaultRenderer)==="elk"?!1:/^\s*graph/.test(h)},"detector"),Rgn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./flowDiagram-A5DVABFB-2Z4AVO5R-eqJKcw9W.js").then(d=>d.f);return{diagram:c}},__vite__mapDeps([16,17,18,7,19,15,1,2,3,4,5]),import.meta.url);return{id:_5e,diagram:h}},"loader"),Ngn={id:_5e,detector:$gn,loader:Rgn},qgn=Ngn,O5e="flowchart-v2",Hgn=q((h,c)=>{var d,w,m;return((d=c==null?void 0:c.flowchart)==null?void 0:d.defaultRenderer)==="dagre-d3"?!1:(((w=c==null?void 0:c.flowchart)==null?void 0:w.defaultRenderer)==="elk"&&(c.layout="elk"),/^\s*graph/.test(h)&&((m=c==null?void 0:c.flowchart)==null?void 0:m.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(h))},"detector"),Kgn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./flowDiagram-A5DVABFB-2Z4AVO5R-eqJKcw9W.js").then(d=>d.f);return{diagram:c}},__vite__mapDeps([16,17,18,7,19,15,1,2,3,4,5]),import.meta.url);return{id:O5e,diagram:h}},"loader"),zgn={id:O5e,detector:Hgn,loader:Kgn},Wgn=zgn,I5e="swimlane",Ugn=q(h=>/^\s*swimlane-beta\b/.test(h),"detector"),Ggn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./swimlanesDiagram-VK2B7HYN-E6N4H5SY-JLTPHNIv.js");return{diagram:c}},__vite__mapDeps([20,16,17,18,7,19,15,1,2,3,4,5,8]),import.meta.url);return{id:I5e,diagram:h}},"loader"),Xgn={id:I5e,detector:Ugn,loader:Ggn},Vgn=Xgn,P5e="er",Ygn=q(h=>/^\s*erDiagram/.test(h),"detector"),Jgn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./erDiagram-SSCWMZ5O-PIPKOIK7-DwWrIKUB.js");return{diagram:c}},__vite__mapDeps([21,18,7,19,1,2,3,4,5,8]),import.meta.url);return{id:P5e,diagram:h}},"loader"),Qgn={id:P5e,detector:Ygn,loader:Jgn},Zgn=Qgn,j5e="gitGraph",t0n=q(h=>/^\s*gitGraph/.test(h),"detector"),e0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./gitGraphDiagram-WWUBYQGX-DMWMLL3G-DIUZBjRH.js");return{diagram:c}},__vite__mapDeps([22,23,1,2,3,4,5,24,25,7,8]),import.meta.url);return{id:j5e,diagram:h}},"loader"),n0n={id:j5e,detector:t0n,loader:e0n},r0n=n0n,D5e="gantt",i0n=q(h=>/^\s*gantt/.test(h),"detector"),s0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./ganttDiagram-EL5Y4UJY-JZNG7GOG-CWOtJ46k.js");return{diagram:c}},__vite__mapDeps([26,1,2,3,4,5,7,27,28,29,30,8]),import.meta.url);return{id:D5e,diagram:h}},"loader"),o0n={id:D5e,detector:i0n,loader:s0n},c0n=o0n,$5e="info",a0n=q(h=>/^\s*info/.test(h),"detector"),l0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./infoDiagram-RXCK75RN-HANS5KVC-CR0XCzL1.js");return{diagram:c}},__vite__mapDeps([31,25,2,3,4,5,1,7,8]),import.meta.url);return{id:$5e,diagram:h}},"loader"),u0n={id:$5e,detector:a0n,loader:l0n},R5e="pie",h0n=q(h=>/^\s*pie/.test(h),"detector"),f0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./pieDiagram-E7YTZNPT-2UOTW327-9oqFgJEQ.js");return{diagram:c}},__vite__mapDeps([32,24,1,2,3,4,5,25,7,33,34,29,35,8]),import.meta.url);return{id:R5e,diagram:h}},"loader"),d0n={id:R5e,detector:h0n,loader:f0n},N5e="quadrantChart",g0n=q(h=>/^\s*quadrantChart/.test(h),"detector"),b0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./quadrantDiagram-AXDQQJYC-SN3ASJJK-aRI00491.js");return{diagram:c}},__vite__mapDeps([36,1,2,3,4,5,7,28,29,30,8]),import.meta.url);return{id:N5e,diagram:h}},"loader"),w0n={id:N5e,detector:g0n,loader:b0n},p0n=w0n,q5e="xychart",m0n=q(h=>/^\s*xychart(-beta)?/.test(h),"detector"),y0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./xychartDiagram-S5SC5T6Z-OBDNV6WG-D1kFCVEP.js");return{diagram:c}},__vite__mapDeps([37,1,2,3,4,5,7,38,29,34,28,30,8]),import.meta.url);return{id:q5e,diagram:h}},"loader"),v0n={id:q5e,detector:m0n,loader:y0n},k0n=v0n,H5e="requirement",C0n=q(h=>/^\s*requirement(Diagram)?/.test(h),"detector"),x0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./requirementDiagram-EFPCY7ZU-NGAFFSMB-CiCBt9Q_.js");return{diagram:c}},__vite__mapDeps([39,18,7,19,1,2,3,4,5,8]),import.meta.url);return{id:H5e,diagram:h}},"loader"),T0n={id:H5e,detector:C0n,loader:x0n},S0n=T0n,K5e="sequence",E0n=q(h=>/^\s*sequenceDiagram/.test(h),"detector"),B0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./sequenceDiagram-WJ2MYXX4-Q2IOPB4R-BAt30Hjd.js");return{diagram:c}},__vite__mapDeps([40,23,1,2,3,4,5,15,7,8]),import.meta.url);return{id:K5e,diagram:h}},"loader"),A0n={id:K5e,detector:E0n,loader:B0n},M0n=A0n,z5e="class",L0n=q((h,c)=>{var d;return((d=c==null?void 0:c.class)==null?void 0:d.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(h)},"detector"),F0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./classDiagram-DTDB5LWJ-LWRDKZ5K-DhFaZ76j.js");return{diagram:c}},__vite__mapDeps([41,42,17,18,7,19,15,1,2,3,4,5,8]),import.meta.url);return{id:z5e,diagram:h}},"loader"),_0n={id:z5e,detector:L0n,loader:F0n},O0n=_0n,W5e="classDiagram",I0n=q((h,c)=>{var d;return/^\s*classDiagram/.test(h)&&((d=c==null?void 0:c.class)==null?void 0:d.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(h)},"detector"),P0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./classDiagram-v2-JRS7N3AN-2BZHGRP2-DhFaZ76j.js");return{diagram:c}},__vite__mapDeps([43,42,17,18,7,19,15,1,2,3,4,5,8]),import.meta.url);return{id:W5e,diagram:h}},"loader"),j0n={id:W5e,detector:I0n,loader:P0n},D0n=j0n,U5e="state",$0n=q((h,c)=>{var d;return((d=c==null?void 0:c.state)==null?void 0:d.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(h)},"detector"),R0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./stateDiagram-HBIQ2CUA-4M2S6MAN-DnF-bmgm.js");return{diagram:c}},__vite__mapDeps([44,45,18,7,19,15,1,2,3,4,5,10,8]),import.meta.url);return{id:U5e,diagram:h}},"loader"),N0n={id:U5e,detector:$0n,loader:R0n},q0n=N0n,G5e="stateDiagram",H0n=q((h,c)=>{var d;return!!(/^\s*stateDiagram-v2/.test(h)||/^\s*stateDiagram/.test(h)&&((d=c==null?void 0:c.state)==null?void 0:d.defaultRenderer)==="dagre-wrapper")},"detector"),K0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./stateDiagram-v2-4QOOHH4V-LBBLA2WV-BLTGkUFQ.js");return{diagram:c}},__vite__mapDeps([46,45,18,7,19,15,1,2,3,4,5,8]),import.meta.url);return{id:G5e,diagram:h}},"loader"),z0n={id:G5e,detector:H0n,loader:K0n},W0n=z0n,X5e="journey",U0n=q(h=>/^\s*journey/.test(h),"detector"),G0n=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./journeyDiagram-EYS64GPL-OAPELBT7-Bv57BEbI.js");return{diagram:c}},__vite__mapDeps([47,17,15,1,2,3,4,5,7,33,8]),import.meta.url);return{id:X5e,diagram:h}},"loader"),X0n={id:X5e,detector:U0n,loader:G0n},V0n=X0n,Y0n=q((h,c,d)=>{Ae.debug(`rendering svg for syntax error
|
|
343
|
+
`);const w=wsn(c),m=w.append("g");w.attr("viewBox","0 0 2412 512"),Ave(w,100,512,!0),m.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),m.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),m.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),m.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),m.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),m.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),m.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),m.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${d}`)},"draw"),V5e={draw:Y0n},J0n=V5e,Q0n={db:{},renderer:V5e,parser:{parse:q(()=>{},"parse")}},Z0n=Q0n,Y5e="flowchart-elk",tbn=q((h,c={})=>{var d;return/^\s*flowchart-elk/.test(h)||/^\s*(flowchart|graph)/.test(h)&&((d=c==null?void 0:c.flowchart)==null?void 0:d.defaultRenderer)==="elk"?(c.layout="elk",!0):!1},"detector"),ebn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./flowDiagram-A5DVABFB-2Z4AVO5R-eqJKcw9W.js").then(d=>d.f);return{diagram:c}},__vite__mapDeps([16,17,18,7,19,15,1,2,3,4,5]),import.meta.url);return{id:Y5e,diagram:h}},"loader"),nbn={id:Y5e,detector:tbn,loader:ebn},rbn=nbn,J5e="timeline",ibn=q(h=>/^\s*timeline/.test(h),"detector"),sbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./timeline-definition-24CTP7MA-KN7RSRVM-CMhLQnxM.js");return{diagram:c}},__vite__mapDeps([48,1,2,3,4,5,7,33,8]),import.meta.url);return{id:J5e,diagram:h}},"loader"),obn={id:J5e,detector:ibn,loader:sbn},cbn=obn,Q5e="mindmap",abn=q(h=>/^\s*mindmap/.test(h),"detector"),lbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./mindmap-definition-FBJOCRG2-KIYZG64Y-CgkstHv4.js");return{diagram:c}},__vite__mapDeps([49,18,7,19,1,2,3,4,5,8]),import.meta.url);return{id:Q5e,diagram:h}},"loader"),ubn={id:Q5e,detector:abn,loader:lbn},hbn=ubn,Z5e="kanban",fbn=q(h=>/^\s*kanban/.test(h),"detector"),dbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./kanban-definition-3QL26DDD-I7RKWQQY-DeQuTmff.js");return{diagram:c}},__vite__mapDeps([50,17,1,2,3,4,5,7,8]),import.meta.url);return{id:Z5e,diagram:h}},"loader"),gbn={id:Z5e,detector:fbn,loader:dbn},bbn=gbn,t6e="sankey",wbn=q(h=>/^\s*sankey(-beta)?/.test(h),"detector"),pbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./sankeyDiagram-P5KCCOFB-3D3M4XPB-vVOpmIBk.js");return{diagram:c}},__vite__mapDeps([51,1,2,3,4,5,7,34,29,52,8]),import.meta.url);return{id:t6e,diagram:h}},"loader"),mbn={id:t6e,detector:wbn,loader:pbn},ybn=mbn,e6e="packet",vbn=q(h=>/^\s*packet(-beta)?/.test(h),"detector"),kbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./diagram-Z3DM3KII-HG7RF65D-D0VfGCJh.js");return{diagram:c}},__vite__mapDeps([53,24,1,2,3,4,5,25,7,8]),import.meta.url);return{id:e6e,diagram:h}},"loader"),Cbn={id:e6e,detector:vbn,loader:kbn},n6e="radar",xbn=q(h=>/^\s*radar-beta/.test(h),"detector"),Tbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./diagram-UQ7AKVKN-YQBY353J-CSvMx1Fm.js");return{diagram:c}},__vite__mapDeps([54,24,1,2,3,4,5,25,7,8]),import.meta.url);return{id:n6e,diagram:h}},"loader"),Sbn={id:n6e,detector:xbn,loader:Tbn},r6e="block",Ebn=q(h=>/^\s*block(-beta)?/.test(h),"detector"),Bbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./blockDiagram-NRAW4CY4-UMJ6PMQQ-D3KXfJhJ.js");return{diagram:c}},__vite__mapDeps([55,17,1,2,3,4,5,7,8]),import.meta.url);return{id:r6e,diagram:h}},"loader"),Abn={id:r6e,detector:Ebn,loader:Bbn},Mbn=Abn,i6e="treeView",Lbn=q(h=>/^\s*treeView-beta/.test(h),"detector"),Fbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./diagram-S7CK7UJ4-MULGZGEL-D5WNGIG9.js");return{diagram:c}},__vite__mapDeps([56,23,1,2,3,4,5,24,25,7,8]),import.meta.url);return{id:i6e,diagram:h}},"loader"),_bn={id:i6e,detector:Lbn,loader:Fbn},Obn=_bn,s6e="architecture",Ibn=q(h=>/^\s*architecture/.test(h),"detector"),Pbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./architectureDiagram-5GKGNRK7-C4PU3XN7-DzOQ5fo_.js");return{diagram:c}},__vite__mapDeps([57,24,1,2,3,4,5,25,13,7,8]),import.meta.url);return{id:s6e,diagram:h}},"loader"),jbn={id:s6e,detector:Ibn,loader:Pbn},Dbn=jbn,o6e="eventmodeling",$bn=q(h=>/^\s*eventmodeling/.test(h),"detector"),Rbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./diagram-VSXAHHWV-WLNH2ELY-DMVZ0M5s.js");return{diagram:c}},__vite__mapDeps([58,24,1,2,3,4,5,25,7,8]),import.meta.url);return{id:o6e,diagram:h}},"loader"),Nbn={id:o6e,detector:$bn,loader:Rbn},qbn=Nbn,c6e="ishikawa",Hbn=q(h=>/^\s*ishikawa(-beta)?\b/i.test(h),"detector"),Kbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./ishikawaDiagram-5VMMS53U-7GCIT7WU-BQmMapB0.js");return{diagram:c}},__vite__mapDeps([59,1,2,3,4,5,7,8]),import.meta.url);return{id:c6e,diagram:h}},"loader"),zbn={id:c6e,detector:Hbn,loader:Kbn},a6e="venn",Wbn=q(h=>/^\s*venn-beta/.test(h),"detector"),Ubn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./vennDiagram-4TSXK5OY-AKJ7LXAN-CKicd48A.js");return{diagram:c}},__vite__mapDeps([60,1,2,3,4,5,7,8]),import.meta.url);return{id:a6e,diagram:h}},"loader"),Gbn={id:a6e,detector:Wbn,loader:Ubn},Xbn=Gbn,l6e="treemap",Vbn=q(h=>/^\s*treemap/.test(h),"detector"),Ybn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./diagram-VX7I27RA-XW6YQV5G-NONTq7mV.js");return{diagram:c}},__vite__mapDeps([61,24,1,2,3,4,5,25,19,7,30,34,29,62,8]),import.meta.url);return{id:l6e,diagram:h}},"loader"),Jbn={id:l6e,detector:Vbn,loader:Ybn},u6e="wardley",Qbn=q(h=>/^\s*wardley-beta/i.test(h),"detector"),Zbn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./wardleyDiagram-VM6X3IG4-3B6A3BN5-CBmbko0H.js");return{diagram:c}},__vite__mapDeps([63,24,1,2,3,4,5,25,7,8]),import.meta.url);return{id:u6e,diagram:h}},"loader"),twn={id:u6e,detector:Qbn,loader:Zbn},ewn=twn,h6e="cynefin",nwn=q(h=>/^\s*cynefin-beta(?:[\s:]|$)/.test(h),"detector"),rwn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./cynefinDiagram-5FMLGOSQ-H3WIRU3N-CGurIKbY.js");return{diagram:c}},__vite__mapDeps([64,24,1,2,3,4,5,25,7,8]),import.meta.url);return{id:h6e,diagram:h}},"loader"),iwn={id:h6e,detector:nwn,loader:rwn},f6e="railroad",swn=q(h=>/^\s*railroad-beta/i.test(h),"detector"),own=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./railroadDiagram-O6MQD6OU-34742W6X-82y7OitY.js");return{diagram:c}},__vite__mapDeps([65,66,1,2,3,4,5,24,25,7,8]),import.meta.url);return{id:f6e,diagram:h}},"loader"),cwn={id:f6e,detector:swn,loader:own},d6e="railroadEbnf",awn=q(h=>/^\s*railroad-ebnf-beta/i.test(h),"detector"),lwn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./ebnfDiagram-PWID7BFC-OKY4VHYD-By7cMb-m.js");return{diagram:c}},__vite__mapDeps([67,66,1,2,3,4,5,24,25,7,8]),import.meta.url);return{id:d6e,diagram:h}},"loader"),uwn={id:d6e,detector:awn,loader:lwn},g6e="railroadAbnf",hwn=q(h=>/^\s*railroad-abnf-beta/i.test(h),"detector"),fwn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./abnfDiagram-VCTEODGH-ODA7YWAP-B--kWzEh.js");return{diagram:c}},__vite__mapDeps([68,66,1,2,3,4,5,24,25,7,8]),import.meta.url);return{id:g6e,diagram:h}},"loader"),dwn={id:g6e,detector:hwn,loader:fwn},b6e="railroadPeg",gwn=q(h=>/^\s*railroad-peg-beta/i.test(h),"detector"),bwn=q(async()=>{const{diagram:h}=await Ks(async()=>{const{diagram:c}=await import("./pegDiagram-XKGWAZYB-OIP57N6J-DHOcOx86.js");return{diagram:c}},__vite__mapDeps([69,66,1,2,3,4,5,24,25,7,8]),import.meta.url);return{id:b6e,diagram:h}},"loader"),wwn={id:b6e,detector:gwn,loader:bwn},$ye=!1,gZ=q(()=>{$ye||($ye=!0,PJ("error",Z0n,h=>h.toLowerCase().trim()==="error"),PJ("---",{db:{clear:q(()=>{},"clear")},styles:{},renderer:{draw:q(()=>{},"draw")},parser:{parse:q(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:q(()=>null,"init")},h=>h.toLowerCase().trimStart().startsWith("---")),K3t(rbn,hbn,Dbn),K3t(Dgn,bbn,D0n,O0n,Zgn,c0n,u0n,d0n,S0n,M0n,Vgn,Wgn,qgn,cbn,r0n,W0n,q0n,V0n,p0n,ybn,Cbn,k0n,Mbn,qbn,Obn,Sbn,zbn,Jbn,cwn,uwn,dwn,wwn,Xbn,ewn,iwn))},"addDiagrams"),pwn=q(async()=>{Ae.debug("Loading registered diagrams");const c=(await Promise.allSettled(Object.entries(D8).map(async([d,{detector:w,loader:m}])=>{if(m)try{U3t(d)}catch{try{const{diagram:k,id:p}=await m();PJ(p,k,w)}catch(k){throw Ae.error(`Failed to load external diagram with key ${d}. Removing from detectors.`),delete D8[d],k}}}))).filter(d=>d.status==="rejected");if(c.length>0){Ae.error(`Failed to load ${c.length} external diagrams`);for(const d of c)Ae.error(d);throw new Error(`Failed to load ${c.length} external diagrams`)}},"loadRegisteredDiagrams"),mwn="graphics-document document";function Qxt(h,c){h.attr("role",mwn),c!==""&&h.attr("aria-roledescription",c)}O(Qxt,"setA11yDiagramInfo");q(Qxt,"setA11yDiagramInfo");function Zxt(h,c,d,w){if(h.insert!==void 0){if(d){const m=`chart-desc-${w}`;h.attr("aria-describedby",m),h.insert("desc",":first-child").attr("id",m).text(d)}if(c){const m=`chart-title-${w}`;h.attr("aria-labelledby",m),h.insert("title",":first-child").attr("id",m).text(c)}}}O(Zxt,"addSVGa11yTitleDescription");q(Zxt,"addSVGa11yTitleDescription");var ex,Tkt=(ex=class{constructor(c,d,w,m,k){this.type=c,this.text=d,this.db=w,this.parser=m,this.renderer=k}static async fromText(c,d={}){var B,A;const w=Cl(),m=Okt(c,w);c=odn(c)+`
|
|
344
344
|
`;try{U3t(m)}catch{const L=Nin(m);if(!L)throw new xve(`Diagram ${m} not found.`);const{id:I,diagram:$}=await L();PJ(I,$)}const{db:k,parser:p,renderer:T,init:E}=U3t(m);return p.parser&&(p.parser.yy=k),(B=k.clear)==null||B.call(k),E==null||E(w),d.title&&((A=k.setDiagramTitle)==null||A.call(k,d.title)),await p.parse(c),new ex(m,c,k,p,T)}async render(c,d){await this.renderer.draw(this.text,c,d,this)}getParser(){return this.parser}getType(){return this.type}},O(ex,"_Diagram"),q(ex,"Diagram"),ex),Rye=[],ywn=q(()=>{Rye.forEach(h=>{h()}),Rye=[]},"attachFunctions"),vwn=q(h=>h.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function t5t(h){const c=h.match(Cve);if(!c)return{text:h,metadata:{}};const d=c[1],w=d?c[2].split(`
|
|
345
345
|
`).map(p=>p.startsWith(d)?p.slice(d.length):p).join(`
|
|
346
346
|
`):c[2];let m=xgn(w,{schema:Cgn})??{};m=typeof m=="object"&&!Array.isArray(m)?m:{};const k={};return m.displayMode&&(k.displayMode=m.displayMode.toString()),m.title&&(k.title=m.title.toString()),m.config&&(k.config=m.config),{text:h.slice(c[0].length),metadata:k}}O(t5t,"extractFrontMatter");q(t5t,"extractFrontMatter");var kwn=q(h=>h.replace(/\r\n?/g,`
|
|
@@ -351,4 +351,4 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
|
|
|
351
351
|
</iframe>`},"putIntoIFrame"),qye=q((h,c,d,w,m)=>{const k=h.append("div");k.attr("id",d),w&&k.attr("style",w);const p=k.append("svg").attr("id",c).attr("width","100%").attr("xmlns",Awn);return m&&p.attr("xmlns:xlink",m),p.append("g"),h},"appendDivSvgG");function iQ(h,c){return h.append("iframe").attr("id",c).attr("style","width: 100%; height: 100%;").attr("sandbox","")}O(iQ,"sandboxedIframe");q(iQ,"sandboxedIframe");var zwn=q((h,c,d,w)=>{var m,k,p;(m=h.getElementById(c))==null||m.remove(),(k=h.getElementById(d))==null||k.remove(),(p=h.getElementById(w))==null||p.remove()},"removeExistingElements"),Wwn=q(async function(h,c,d){var Y,ce,oe,Ot,we,de;gZ();const w=wZ(c);c=w.code;const m=Cl();Ae.debug(m),c.length>((m==null?void 0:m.maxTextSize)??Twn)&&(c=Swn);const k=`#${h}`,p="i"+h,T="#"+p,E="d"+h,B="#"+E,A=q(()=>{const on=Rs(I?T:B).node();on&&"remove"in on&&on.remove()},"removeTempElements");let L=Rs(document.body);const I=m.securityLevel===Ewn,$=m.securityLevel===Bwn,P=m.fontFamily;if(d!==void 0){if(d&&(d.innerHTML=""),I){const Pe=iQ(Rs(d),p);L=Rs(Pe.nodes()[0].contentDocument.body),L.node().style.margin="0"}else L=Rs(d);qye(L,h,E,`font-family: ${P}`,Mwn)}else{if(zwn(document,h,E,p),I){const Pe=iQ(Rs(document.body),p);L=Rs(Pe.nodes()[0].contentDocument.body),L.node().style.margin="0"}else L=Rs("body");qye(L,h,E)}let U,J;try{U=await Tkt.fromText(c,{title:w.title})}catch(Pe){if(m.suppressErrorRendering)throw A(),Pe;U=await Tkt.fromText("error"),J=Pe}const X=L.select(B).node(),rt=U.type,lt=X.firstChild,xt=lt.firstChild,Mt=(ce=(Y=U.renderer).getClasses)==null?void 0:ce.call(Y,c,U),Vt=qwn(m,rt,Mt,k),Gt=document.createElement("style");Gt.innerHTML=Vt,lt.insertBefore(Gt,xt);try{await U.renderer.draw(c,h,"11.17.0",U)}catch(Pe){throw m.suppressErrorRendering?A():J0n.draw(c,h,"11.17.0"),Pe}const be=L.select(`${B} svg`),Ze=(Ot=(oe=U.db).getAccTitle)==null?void 0:Ot.call(oe),Fe=(de=(we=U.db).getAccDescription)==null?void 0:de.call(we);i5t(rt,be,Ze,Fe);const kn=q(()=>{L.select(`[id="${h}"]`).selectAll("foreignobject > *").attr("xmlns",Lwn);let Pe=L.select(B).node().innerHTML;if(Ae.debug("config.arrowMarkerAbsolute",m.arrowMarkerAbsolute),Pe=Hwn(Pe,I,qy(m.arrowMarkerAbsolute)),I){const on=L.select(B+" svg").node();Pe=Kwn(Pe,on)}else $||(Pe=kA.sanitize(Pe,{ADD_TAGS:Dwn,ADD_ATTR:$wn,HTML_INTEGRATION_POINTS:{foreignobject:!0}}));return ywn(),Pe},"serializeSvg")();if(J)throw J;return A(),{diagramType:rt,svg:kn,bindFunctions:U.db.bindFunctions}},"render");function r5t(h={}){var w;const c=Af({},h);c!=null&&c.fontFamily&&!((w=c.themeVariables)!=null&&w.fontFamily)&&(c.themeVariables||(c.themeVariables={}),c.themeVariables.fontFamily=c.fontFamily),Iin(c),c!=null&&c.theme&&c.theme in N3?c.themeVariables=N3[c.theme].getThemeVariables(c.themeVariables):c&&(c.themeVariables=N3.default.getThemeVariables(c.themeVariables));const d=typeof c=="object"?Oin(c):mve();Lkt(d.logLevel),gZ()}O(r5t,"initialize");q(r5t,"initialize");var w6e=q((h,c={})=>{const{code:d}=bZ(h);return Tkt.fromText(d,c)},"getDiagramFromText");function i5t(h,c,d,w){Qxt(c,h),Zxt(c,d,w,c.attr("id"))}O(i5t,"addA11yInfo");q(i5t,"addA11yInfo");var K8=Object.freeze({render:Wwn,parse:n5t,getDiagramFromText:w6e,initialize:r5t,getConfig:Cl,setConfig:yve,getSiteConfig:mve,updateSiteConfig:Pin,reset:q(()=>{_J()},"reset"),globalReset:q(()=>{_J(CA)},"globalReset"),defaultConfig:CA});Lkt(Cl().logLevel);_J(Cl());var Uwn=q((h,c,d)=>{Ae.warn(h),PQ(h)?(d&&d(h.str,h.hash),c.push({...h,message:h.str,error:h})):(d&&d(h),h instanceof Error&&c.push({str:h.message,message:h.message,hash:h.name,error:h}))},"handleError"),p6e=q(async function(h={querySelector:".mermaid"}){try{await Gwn(h)}catch(c){if(PQ(c)&&Ae.error(c.str),gb.parseError&&gb.parseError(c),!h.suppressErrors)throw Ae.error("Use the suppressErrors option to suppress these errors"),c}},"run"),Gwn=q(async function({postRenderCallback:h,querySelector:c,nodes:d}={querySelector:".mermaid"}){const w=K8.getConfig();Ae.debug(`${h?"":"No "}Callback function found`);let m;if(d)m=d;else if(c)m=document.querySelectorAll(c);else throw new Error("Nodes and querySelector are both undefined");Ae.debug(`Found ${m.length} diagrams`),(w==null?void 0:w.startOnLoad)!==void 0&&(Ae.debug("Start On Load: "+(w==null?void 0:w.startOnLoad)),K8.updateSiteConfig({startOnLoad:w==null?void 0:w.startOnLoad}));const k=new Ud.InitIDGenerator(w.deterministicIds,w.deterministicIDSeed);let p;const T=[];for(const E of Array.from(m)){if(Ae.info("Rendering diagram: "+E.id),E.getAttribute("data-processed"))continue;E.setAttribute("data-processed","true");const B=`mermaid-${k.next()}`;p=E.innerHTML,p=RCt(Ud.entityDecode(p)).trim().replace(/<br\s*\/?>/gi,"<br/>");const A=Ud.detectInit(p);A&&Ae.debug("Detected early reinit: ",A);try{const{svg:L,bindFunctions:I}=await k6e(B,p,E);E.innerHTML=L,h&&await h(B),I&&I(E)}catch(L){Uwn(L,T,gb.parseError)}}if(T.length>0)throw T[0]},"runThrowsErrors"),m6e=q(function(h){K8.initialize(h)},"initialize"),Xwn=q(async function(h,c,d){Ae.warn("mermaid.init is deprecated. Please use run instead."),h&&m6e(h);const w={postRenderCallback:d,querySelector:".mermaid"};typeof c=="string"?w.querySelector=c:c&&(c instanceof HTMLElement?w.nodes=[c]:w.nodes=c),await p6e(w)},"init"),Vwn=q(async(h,{lazyLoad:c=!0}={})=>{gZ(),K3t(...h),c===!1&&await pwn()},"registerExternalDiagrams"),y6e=q(function(){if(gb.startOnLoad){const{startOnLoad:h}=K8.getConfig();h&&gb.run().catch(c=>Ae.error("Mermaid failed to initialize",c))}},"contentLoaded");typeof document<"u"&&window.addEventListener("load",y6e,!1);var Ywn=q(function(h){gb.parseError=h},"setParseErrorHandler"),sQ=[],D3t=!1,v6e=q(async()=>{if(!D3t){for(D3t=!0;sQ.length>0;){const h=sQ.shift();if(h)try{await h()}catch(c){Ae.error("Error executing queue",c)}}D3t=!1}},"executeQueue"),Jwn=q(async(h,c)=>new Promise((d,w)=>{const m=q(()=>new Promise((k,p)=>{K8.parse(h,c).then(T=>{k(T),d(T)},T=>{var E;Ae.error("Error parsing",T),(E=gb.parseError)==null||E.call(gb,T),p(T),w(T)})}),"performCall");sQ.push(m),v6e().catch(w)}),"parse"),k6e=q((h,c,d)=>new Promise((w,m)=>{const k=q(()=>new Promise((p,T)=>{K8.render(h,c,d).then(E=>{p(E),w(E)},E=>{var B;Ae.error("Error parsing",E),(B=gb.parseError)==null||B.call(gb,E),T(E),m(E)})}),"performCall");sQ.push(k),v6e().catch(m)}),"render"),Qwn=q(()=>Object.keys(D8).map(h=>({id:h})),"getRegisteredDiagramsMetadata"),gb={startOnLoad:!0,mermaidAPI:K8,parse:Jwn,render:k6e,init:Xwn,run:p6e,registerExternalDiagrams:Vwn,registerLayoutLoaders:f5e,initialize:m6e,parseError:void 0,contentLoaded:y6e,setParseErrorHandler:Ywn,detectType:Okt,registerIconPacks:Dfn,getRegisteredDiagramsMetadata:Qwn},Zwn=gb,C6e=O((h,c,{parentById:d})=>{const w=new Set;let m=h;if(h===c)return d[h]||"root";for(;m;){if(w.add(m),m===c)return m;m=d[m]}for(m=c;m;){if(w.has(m))return m;m=d[m]}return"root"},"findCommonAncestor"),ID=1,tpn=10,MJ=O((h,c,d=.5)=>{const w=h.width/2,m=h.height/2,k=h.x-w,p=h.x+w,T=h.y-m,E=h.y+m,B=Math.abs(c.x-k)<=d&&c.y>=T-d&&c.y<=E+d,A=Math.abs(c.x-p)<=d&&c.y>=T-d&&c.y<=E+d,L=Math.abs(c.y-T)<=d&&c.x>=k-d&&c.x<=p+d,I=Math.abs(c.y-E)<=d&&c.x>=k-d&&c.x<=p+d;return B||A||L||I},"onBorder"),epn=O((h,c,d)=>{const w=h.x,m=h.y,k=Math.abs(w-d.x),p=h.width/2;let T=d.x<c.x?p-k:p+k;const E=h.height/2,B=Math.abs(c.y-d.y),A=Math.abs(c.x-d.x);if(Math.abs(m-c.y)*p>Math.abs(w-c.x)*E){const L=d.y<c.y?c.y-E-m:m-E-c.y;T=A*L/B;const I={x:d.x<c.x?d.x+T:d.x-A+T,y:d.y<c.y?d.y+B-L:d.y-B+L};return A===0&&(I.x=c.x),B===0&&(I.y=c.y),I}else{d.x<c.x?T=c.x-p-w:T=w-p-c.x;const L=B*T/A;let I=d.x<c.x?d.x+A-T:d.x-A+T,$=d.y<c.y?d.y+L:d.y-L;return A===0&&(I=c.x),B===0&&($=c.y),{x:I,y:$}}},"intersection"),oQ=O((h,c)=>{const d=h.x,w=h.y,m=Math.abs(c.x-d),k=Math.abs(c.y-w),p=h.width/2,T=h.height/2;return m>=p||k>=T},"outsideNode"),npn=O((h,c,d=tpn)=>{const w=Math.abs(c.x-h.x),m=Math.abs(c.y-h.y),k=h.width/2,p=h.height/2;if(Math.abs(w-k)<ID||Math.abs(m-p)<ID){const T=c.x-h.x,E=c.y-h.y,B=Math.sqrt(T*T+E*E);if(B>0)return{x:h.x+T/B*(B+d),y:h.y+E/B*(B+d)}}return c},"ensureTrulyOutside"),rpn=O((h,c,d)=>{const w=Math.abs(c.x-h.x)<ID,m=Math.abs(c.y-h.y)<ID;return{x:w?c.x:c.x<h.x?h.x-h.width/4:h.x+h.width/4,y:m?c.y:d.y}},"makeInsidePoint"),ipn=O((h,c,d)=>{if(!(h!=null&&h.intersect))return null;const w=h.intersect(d);return!w||d.x<c.x&&w.x>c.x||d.x>c.x&&w.x<c.x||Math.hypot(d.x-w.x,d.y-w.y)<=ID?null:w},"tryNodeIntersect"),spn=O((h,c,d)=>{const w=rpn(h,c,d);return epn(h,c,w)},"fallbackIntersection"),cQ=O((h,c,d,w)=>{const m=npn(c,d);return ipn(h,c,m)??spn(c,m,w)},"computeNodeIntersection"),aQ=O((h,c,d,w=.1)=>{if(!(!d||h.length===0))if(c==="start")h.length>0&&Math.abs(h[0].x-d.x)<w&&Math.abs(h[0].y-d.y)<w?h.shift():h[0]=d;else{const m=h.length-1;h.length>0&&Math.abs(h[m].x-d.x)<w&&Math.abs(h[m].y-d.y)<w?h.pop():h[m]=d}},"replaceEndpoint"),opn={arrow_point:4},cpn=8,Hye={arrow_open:["arrow_open","arrow_open"],arrow_cross:["arrow_open","arrow_cross"],double_arrow_cross:["arrow_cross","arrow_cross"],arrow_point:["arrow_open","arrow_point"],double_arrow_point:["arrow_point","arrow_point"],arrow_circle:["arrow_open","arrow_circle"],double_arrow_circle:["arrow_circle","arrow_circle"]},x6e="NONE";function pZ(h){switch(h){case"LR":return"RIGHT";case"RL":return"LEFT";case"TB":case"TD":return"DOWN";case"BT":return"UP";default:return"DOWN"}}O(pZ,"dir2ElkDirection");function s5t(h,c,d){const w={"spacing.baseValue":30,"nodeLabels.placement":"[H_CENTER V_TOP, INSIDE]","elk.layered.mergeEdges":c==null?void 0:c.mergeEdges,"nodePlacement.strategy":c==null?void 0:c.nodePlacementStrategy,"elk.layered.nodePlacement.bk.fixedAlignment":(c==null?void 0:c.nodePlacementAlignment)??x6e};return h.dir&&(w["elk.algorithm"]=d,w["elk.direction"]=pZ(h.dir),w["elk.hierarchyHandling"]="SEPARATE_CHILDREN"),w}O(s5t,"buildSubgraphLayoutOptions");function o5t(h,c){const d=new Set,w=new Map;for(const{id:m,parentId:k}of h){const p=w.get(k);p?p.push(m):w.set(k,[m])}for(const m of w.values()){const k=new Set(m),p=new Map(m.map(I=>[I,0])),T=new Map(m.map(I=>[I,[]]));for(const I of c){const $=I.source==null?void 0:String(I.source),P=I.target==null?void 0:String(I.target);!$||!P||$===P||!k.has($)||!k.has(P)||(p.set(P,(p.get(P)??0)+1),T.get($).push(P),T.get(P).push($))}const E=new Map;let B=0;for(const I of m){if(E.has(I))continue;const $=[I];for(E.set(I,B);$.length>0;){const P=$.pop();for(const U of T.get(P))E.has(U)||(E.set(U,B),$.push(U))}B++}const A=new Array(B).fill(!1);for(const I of m)(p.get(I)??0)===0&&(A[E.get(I)]=!0);const L=new Array(B).fill(!1);for(const I of m){const $=E.get(I);!A[$]&&!L[$]&&(d.add(I),L[$]=!0)}}return d}O(o5t,"findCyclicEntryNodes");function T6e(h,c){var w;if(!((w=h.config.elk)!=null&&w.keepEntryNodeOnTop))return;const d=o5t(h.nodes,h.edges.map(m=>({source:m.start,target:m.end})));for(const m of d){const k=c[m];k&&(k.layoutOptions={...k.layoutOptions,"elk.layered.layering.layerConstraint":"FIRST"})}}O(T6e,"applyCyclicEntryConstraint");function c5t(h,c){const d=u5t(c);return S6e(d),U6e(h,d),{algorithm:d.algorithm}}O(c5t,"prepareLayoutForElk");async function a5t(h,c){const d=u5t(c),w=l5t(h,d),m=new Agn;d.log.info("Drawing flowchart using v4 renderer",m);const k=await D6e(m,w.elkGraph,d.log);return $6e(h,k,w,d.log),E6e(h.nodes),k}O(a5t,"runElkLayoutCore");function l5t(h,c){const d={},w=B6e(h,c.algorithm),m=h.direction??"DOWN";w.layoutOptions["elk.direction"]=pZ(m);const k=A6e(h.nodes,c.log);return h5t(h.nodes,w,d,c),_6e(h,w,d,c),I6e(h,d,k,c),P6e(w,d,k,c.log),T6e(h,d),j6e(w,c.log),{elkGraph:w,nodeDb:d,parentLookupDb:k}}O(l5t,"buildElkGraphFromLayoutData");var apn=_xt({prepareLayout:c5t,runLayoutCore:a5t,paintOptions:{skipIntersect:!0}});function S6e(h){Zwn.mermaidAPI.setConfig(h.getConfig())}O(S6e,"syncElkPackageConfig");function E6e(h){const c=new Map(h.map(d=>[d.id,d]));h.sort((d,w)=>d.isGroup!==w.isGroup?d.isGroup?-1:1:d.isGroup&&w.isGroup?Skt(d,c)-Skt(w,c):0)}O(E6e,"orderNodesForElkPaint");function Skt(h,c){let d=0;const w=new Set;let m=h.parentId;for(;m&&!w.has(m);){w.add(m);const k=c.get(m);if(!(k!=null&&k.isGroup))break;d++,m=k.parentId}return d}O(Skt,"getGroupDepth");function u5t(h){var d,w;const c=h.helpers;if(!c)throw new Error("ELK layout requires Mermaid internal helpers");return{algorithm:((d=h.preparedLayout)==null?void 0:d.algorithm)??((w=h.options)==null?void 0:w.algorithm),common:c.common,getConfig:c.getConfig,interpolateToCurve:c.interpolateToCurve,log:c.log}}O(u5t,"getElkLayoutContext");function B6e(h,c){var d,w,m,k,p,T;return{id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","elk.algorithm":c,"nodePlacement.strategy":(d=h.config.elk)==null?void 0:d.nodePlacementStrategy,"elk.layered.nodePlacement.bk.fixedAlignment":((w=h.config.elk)==null?void 0:w.nodePlacementAlignment)??x6e,"elk.layered.mergeEdges":(m=h.config.elk)==null?void 0:m.mergeEdges,"elk.direction":"DOWN","spacing.baseValue":40,"elk.layered.crossingMinimization.forceNodeModelOrder":(k=h.config.elk)==null?void 0:k.forceNodeModelOrder,"elk.layered.considerModelOrder.strategy":(p=h.config.elk)==null?void 0:p.considerModelOrder,"elk.layered.unnecessaryBendpoints":!0,"elk.layered.cycleBreaking.strategy":(T=h.config.elk)==null?void 0:T.cycleBreakingStrategy,"elk.layered.wrapping.multiEdge.improveCuts":!0,"elk.layered.wrapping.multiEdge.improveWrappedEdges":!0,"elk.layered.edgeRouting.selfLoopDistribution":"EQUALLY","elk.layered.mergeHierarchyEdges":!0},children:[],edges:[]}}O(B6e,"createRootElkGraph");function A6e(h,c){const d={parentById:{},childrenById:{}},w=h.filter(m=>m.isGroup);return c.info("Subgraphs - ",w),w.forEach(m=>{h.filter(p=>p.parentId===m.id).forEach(p=>{var T,E;d.parentById[p.id]=m.id,(T=d.childrenById)[E=m.id]??(T[E]=[]),d.childrenById[m.id].push(p.id)})}),d}O(A6e,"addSubGraphs");function h5t(h,c,d,w,m){const k=h.filter(p=>(p==null?void 0:p.parentId)===m);return w.log.info("addVertices APA12",k,m),k.forEach(p=>{M6e(c,h,p,d,w)}),c}O(h5t,"addVertices");function M6e(h,c,d,w,m){const k=L6e(d);h.children.push(k),w[d.id]=k,d.isGroup&&(k.children=[],h5t(c,k,w,m,d.id),k.labelData=F6e(d,m.getConfig()))}O(M6e,"addVertex");function L6e(h){const c={...h};return delete c.domId,h.isGroup?c.children=[]:(c.width=h.width??0,c.height=h.height??0),c}O(L6e,"createElkNode");function F6e(h,c){var w,m;const d=h.labelData;return d||(h.labelBBox?{width:h.labelBBox.width,height:Math.max(0,h.labelBBox.height-2),wrappingWidth:(w=c.flowchart)==null?void 0:w.wrappingWidth}:{width:0,height:0,wrappingWidth:(m=c.flowchart)==null?void 0:m.wrappingWidth})}O(F6e,"getMeasuredLabelData");function _6e(h,c,d,w){w.log.info("abc78 DAGA edges = ",h);const m={};return h.edges.forEach(k=>{const p=k.id;m[p]=(m[p]??-1)+1;const T=p;k.id=T,w.log.info("abc78 new link id to be used is",p,T,m[p]);const{source:E,target:B,sourceId:A,targetId:L}=O6e(k,d);w.log.debug("abc78 source and target",E,B),c.edges.push({...k,sources:[E],targets:[B],sourceId:A,targetId:L,labels:[{width:k.width??0,height:k.height??0,orgWidth:k.width??0,orgHeight:k.height??0,text:k.label??"",layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}]})}),c}O(_6e,"addEdgesToElkGraph");function O6e(h,c){const d=h.start,w=h.end,m=d,k=w,p=d?c[d]:void 0,T=w?c[w]:void 0;return!p||!T?{source:m,target:k}:{source:m,target:k,sourceId:d,targetId:w}}O(O6e,"getEdgeStartEndPoint");function I6e(h,c,d,w){h.nodes.forEach(m=>{var p,T,E;const k=c[m.id];!k||d.childrenById[k.id]===void 0||(k.labels=[{text:k.label,width:((p=k==null?void 0:k.labelData)==null?void 0:p.width)??50,height:((T=k==null?void 0:k.labelData)==null?void 0:T.height)??50}],w.log.debug("UIO node label",(E=k==null?void 0:k.labelData)==null?void 0:E.width,k.padding),k.layoutOptions=s5t(k,h.config.elk,w.algorithm),delete k.x,delete k.y,delete k.width,delete k.height)})}O(I6e,"configureSubgraphNodes");function P6e(h,c,d,w){w.debug("APA01 processing edges, count:",h.edges.length),h.edges.forEach((m,k)=>{w.debug("APA01 processing edge",k,":",m);const p=m.sources[0],T=m.targets[0];if(w.debug("APA01 source:",p,"target:",T),w.debug("APA01 nodeDb[source]:",c[p]),w.debug("APA01 nodeDb[target]:",c[T]),c[p]&&c[T]&&c[p].parentId!==c[T].parentId){const E=C6e(p,T,d);lQ(c,p,E),lQ(c,T,E)}})}O(P6e,"configureCrossHierarchyEdges");function lQ(h,c,d){const w=h[c];w&&(w.layoutOptions??(w.layoutOptions={}),w.layoutOptions["elk.hierarchyHandling"]="INCLUDE_CHILDREN",w.id!==d&&w.parentId&&lQ(h,w.parentId,d))}O(lQ,"setIncludeChildrenPolicy");function j6e(h,c){var d,w,m;c.debug("APA01 before"),c.debug("APA01 elkGraph structure:",JSON.stringify(h,null,2)),c.debug("APA01 elkGraph.children length:",(d=h.children)==null?void 0:d.length),c.debug("APA01 elkGraph.edges length:",(w=h.edges)==null?void 0:w.length),(m=h.edges)==null||m.forEach((k,p)=>{c.debug(`APA01 validating edge ${p}:`,k),k.sources&&k.sources.forEach(T=>{var B;const E=(B=h.children)==null?void 0:B.some(A=>A.id===T);c.debug(`APA01 source ${T} exists:`,E)}),k.targets&&k.targets.forEach(T=>{var B;const E=(B=h.children)==null?void 0:B.some(A=>A.id===T);c.debug(`APA01 target ${T} exists:`,E)})})}O(j6e,"logElkGraphForDebug");async function D6e(h,c,d){const w=globalThis.__mermaidProfiler;try{w==null||w.begin("layoutCore");let m;try{m=await h.layout(c)}finally{w==null||w.end()}return d.debug("APA01 after - success"),d.info("APA01 layout result:",JSON.stringify(m,null,2)),m}catch(m){throw d.error("APA01 ELK layout error:",m),d.error("APA01 elkGraph that caused error:",JSON.stringify(c,null,2)),m}}O(D6e,"runElkLayout");function $6e(h,c,d,w){const m=new Map(h.nodes.map(k=>[k.id,k]));f5t(c.children??[],d,m,0,0,0,w),R6e(h,c,d,w)}O($6e,"applyElkLayoutResult");function f5t(h,c,d,w,m,k,p){h.forEach(T=>{var I,$;if(!T)return;const E=c.nodeDb[T.id]??T,B=Math.max(T.width,T.labels&&((I=T.labels[0])==null?void 0:I.width)||0),A={posX:T.x+w,posY:T.y+m,x:w,y:m,depth:k,width:B,height:T.height};E.offset=A,E.x=A.posX+T.width/2,E.y=A.posY+T.height/2,E.width=T.width,E.height=T.height;const L=d.get(T.id);if(L){L.x=E.x,L.y=E.y,L.width=T.isGroup?Math.max(T.width,(($=T.labelData)==null?void 0:$.width)??0):T.width,L.height=T.height;const P=L;P.labelData=T.labelData,P.labels=T.labels}T.isGroup?(p.debug("Id abc88 subgraph = ",T.id,T.x,T.y,T.labelData),f5t(T.children??[],c,d,A.posX,A.posY,k+1,p)):p.info("Id NODE = ",T.id,T.x,T.y,w,m,`translate(${E.x}, ${E.y})`)})}O(f5t,"applyElkNodePositions");function R6e(h,c,d,w){var k;const m=new Map(h.edges.map(p=>[p.id,p]));(k=c.edges)==null||k.forEach(p=>{var rt,lt,xt;const T=m.get(p.id);if(!T)return;const E=((rt=p.sources)==null?void 0:rt[0])??p.start,B=((lt=p.targets)==null?void 0:lt[0])??p.end,A=d.nodeDb[E],L=d.nodeDb[B];if(!A||!L||!p.sections)return;const I=p.start??p.sourceId??E,$=p.end??p.targetId??B,P=q6e(I,$,d.parentLookupDb,d.nodeDb);w.debug("APA18 offset",P,I," ==> ",$,"edge:",p,A);const U=p.sections[0],J=N6e(U,P);A.x=A.offset.posX+A.width/2,A.y=A.offset.posY+A.height/2,L.x=L.offset.posX+L.width/2,L.y=L.offset.posY+L.height/2,A.shape!=="rect33"&&J.unshift({x:A.x,y:A.y}),L.shape!=="rect33"&&J.push({x:L.x,y:L.y}),T.points=d5t(H6e(J,A,L,w),v8(L),W6e(T),w),T.curve="rounded";const X=(xt=p.labels)==null?void 0:xt[0];X&&(T.x=X.x+P.x+X.width/2,T.y=X.y+P.y+X.height/2)})}O(R6e,"applyElkEdgeLayout");function N6e(h,c){const d=h.startPoint,w=h.endPoint,k=(h.bendPoints?h.bendPoints:[]).map(p=>({x:p.x+c.x,y:p.y+c.y}));return[{x:d.x+c.x,y:d.y+c.y},...k,{x:w.x+c.x,y:w.y+c.y}]}O(N6e,"createEdgePointsFromSection");function q6e(h,c,d,w){var p;const m=C6e(h,c,d);if(m===void 0||m==="root")return{x:0,y:0};const k=(p=w[m])==null?void 0:p.offset;return{x:(k==null?void 0:k.posX)??0,y:(k==null?void 0:k.posY)??0}}O(q6e,"calcOffset");function H6e(h,c,d,w){const m=Array.isArray(h)?[...h]:[],k=v8(d);w.debug("PPP cutter2: Points before cutter2:",JSON.stringify(h),"endBounds:",k,MJ(k,h[h.length-1]));let p;{const T=v8(c),E=v8(d),B=!!(c!=null&&c.isGroup),A=!!(d!=null&&d.isGroup),{candidate:L,centerApprox:I}=Akt(m,c,"start"),{candidate:$,centerApprox:P}=Akt(m,d,"end"),U=B&&MJ(T,L),J=A&&MJ(E,$);Mkt(m,"start",U&&I),Mkt(m,"end",J&&P),U||J?(U||Q6e(m,c,T,w),J||Z6e(m,d,E,w),w.debug("PPP cutter2: skipping cutter2 due to on-border group endpoint(s)",{skipStart:U,skipEnd:J,startCenterApprox:I,endCenterApprox:P,startCandidate:L,endCandidate:$}),p=m):p=tTe(c,d,m,w)}if(w.debug("PPP cutter2: Points after cutter2:",JSON.stringify(p)),!Array.isArray(p)||p.length<2||K6e(p)){w.warn("POI cutter2: Invalid points from cutter2, falling back to prevPoints",p);const T=m.filter(E=>Number.isFinite(E==null?void 0:E.x)&&Number.isFinite(E==null?void 0:E.y));p=T.length>=2?T:m}return w.debug("UIO cutter2: Points after cutter2 (sanitized):",p),z6e(p,w)}O(H6e,"sanitizeElkEdgePoints");function K6e(h){return h==null?void 0:h.some(c=>!Number.isFinite(c==null?void 0:c.x)||!Number.isFinite(c==null?void 0:c.y))}O(K6e,"hasInvalidPoint");function z6e(h,c){const d=h.filter((w,m,k)=>{if(m===0)return!0;const p=k[m-1];return Math.abs(w.x-p.x)>1e-6||Math.abs(w.y-p.y)>1e-6});return d.length!==h.length&&c.debug("UIO cutter2: removed consecutive duplicate points",{before:h,after:d}),d}O(z6e,"dedupeConsecutivePoints");function W6e(h){const c=h.arrowTypeEnd;return typeof c=="string"?opn[c]??0:0}O(W6e,"getEndMarkerPathOffset");function d5t(h,c,d,w){if(d<=0||h.length<3)return h;const m=h[h.length-1],k=h[h.length-2],p=Math.hypot(m.x-k.x,m.y-k.y);if(p>=Math.max(cpn,d*2)||!MJ(c,k,1))return h;const T=[...h.slice(0,-2),m];return w.debug("UIO cutter2: removed short end marker segment",{before:h,after:T,markerOffset:d,segmentLength:p}),T}O(d5t,"ensureEndMarkerSegmentLength");function U6e(h,c){const d=h.edges.defaultInterpolate,w=h.edges.defaultStyle,m=c.getConfig();h.edges.forEach(k=>{const p=Y6e(k,{defaultStyle:w,defaultInterpolate:d,confCurve:m.curve},c);Object.assign(k,p)})}O(U6e,"applyElkEdgeRenderData");function G6e(h){if(h.classes!==void 0)return h.classes;if(h.start&&h.end)return`flowchart-link LS_${h.start} LE_${h.end}`}O(G6e,"buildFallbackEdgeClasses");function X6e(h,c,d){let w="normal",m="solid",k=[],p=[];return h==="dotted"?(m="dotted",k=["fill:none","stroke-width:2px","stroke-dasharray:3"]):h==="thick"?(w="thick",k=["stroke-width: 3.5px","fill:none"]):(k=c??["fill:none"],d!==void 0&&(p=d)),{thickness:w,pattern:m,style:k,labelStyle:p}}O(X6e,"computeStroke");function V6e(h,c,d){return h!==void 0?h:c!==void 0?c:d}O(V6e,"getCurve");function Y6e(h,c,d){const w={};w.minlen=h.minlen??h.length??1,w.text=h.text??h.label,w.arrowhead=h.arrowhead??(h.type==="arrow_open"?"none":"normal");const m=Hye[h.type??"arrow_open"]??Hye.arrow_open;w.arrowTypeStart=h.arrowTypeStart??m[0],w.arrowTypeEnd=h.arrowTypeEnd??m[1],w.startLabelRight=h.startLabelRight,w.endLabelLeft=h.endLabelLeft;const k=X6e(h.stroke,c.defaultStyle,c.defaultLabelStyle);w.thickness=h.thickness??k.thickness,w.pattern=h.pattern??k.pattern,w.style=h.style??k.style,w.labelStyle=h.labelStyle??k.labelStyle,w.classes=G6e(h),w.curve=d.interpolateToCurve(V6e(h.curve??h.interpolate,c.defaultInterpolate,c.confCurve),aD);const p=(w.text??"")!=="";return h.arrowheadStyle!==void 0?w.arrowheadStyle=h.arrowheadStyle:(p||h.style!==void 0)&&(w.arrowheadStyle="fill: #333"),w.labelpos=h.labelpos??(p?"c":void 0),w.labelType=h.labelType,w.label=(h.label??w.text??"").replace(d.common.lineBreakRegex,`
|
|
352
352
|
`),w}O(Y6e,"buildEdgeData");function J6e(h){var w,m;const c=((m=(w=h==null?void 0:h.labels)==null?void 0:w[0])==null?void 0:m.width)??0,d=(h==null?void 0:h.padding)??0;return Math.max(h.width??0,c+d)}O(J6e,"getEffectiveGroupWidth");function v8(h){const c=h!=null&&h.isGroup?J6e(h):h.width;return{x:h.offset.posX+h.width/2,y:h.offset.posY+h.height/2,width:c??0,height:h.height??0,padding:h.padding}}O(v8,"boundsFor");function Ekt(h,c,d=1e-6){return Math.abs(h-c)<d}O(Ekt,"approxEq");function Bkt(h,c){return Ekt(h.x,c.x??0)&&Ekt(h.y,c.y??0)}O(Bkt,"isCenterApprox");function Akt(h,c,d){if(!(h!=null&&h.length))return{candidate:{x:c.x??0,y:c.y??0},centerApprox:!0};if(d==="start"){const w=h[0],m=Bkt(w,c);return{candidate:m&&h.length>1?h[1]:w,centerApprox:m}}else{const w=h[h.length-1],m=Bkt(w,c);return{candidate:m&&h.length>1?h[h.length-2]:w,centerApprox:m}}}O(Akt,"getCandidateBorderPoint");function Mkt(h,c,d){d&&(c==="start"?h.length>0&&h.shift():h.length>0&&h.pop())}O(Mkt,"dropAutoCenterPoint");function Q6e(h,c,d,w){let m=-1;for(const[k,p]of h.entries())if(oQ(d,p)){m=k;break}if(m!==-1){const k=h[m],p=h[0],T=cQ(c,d,k,p);aQ(h,"start",T),w.debug("UIO cutter2: start-only intersection applied",{startIntersection:T})}}O(Q6e,"applyStartIntersectionIfNeeded");function Z6e(h,c,d,w){let m=-1;for(let k=h.length-1;k>=0;k--)if(oQ(d,h[k])){m=k;break}if(m!==-1){const k=h[m],p=h[h.length-1],T=cQ(c,d,k,p);aQ(h,"end",T),w.debug("UIO cutter2: end-only intersection applied",{endIntersection:T})}}O(Z6e,"applyEndIntersectionIfNeeded");function tTe(h,c,d,w){const m=v8(h),k=v8(c);if(d.length===0)return[];const p=[...d],T=p[0],E=p[p.length-1];w.debug("PPP cutter2: bounds",{startBounds:m,endBounds:k}),w.debug("PPP cutter2: original points",d);let B=-1;for(const[I,$]of p.entries())B===-1&&oQ(m,$)&&(B=I);if(B!==-1){const I=p[B],$=cQ(h,m,I,T);w.debug("UIO cutter2: start intersection",$),aQ(p,"start",$)}let A=null,L=-1;for(let I=p.length-1;I>=0;I--)if(oQ(k,p[I])){A=p[I],L=I;break}if(!A&&p.length>1&&(A=p[p.length-2],L=p.length-2),A){const I=cQ(c,k,A,E);w.debug("UIO cutter2: end intersection",{endIntersection:I,outsideIndexForEnd:L}),aQ(p,"end",I)}if(p.length>1){const I=p[p.length-1],$=p[p.length-2],P=Math.sqrt((I.x-$.x)**2+(I.y-$.y)**2);P<2&&(w.debug("UIO cutter2: trimming tail point (too close)",{distance:P,lastPoint:I,secondLastPoint:$}),p.pop())}return w.debug("UIO cutter2: final points",p),p}O(tTe,"cutter2");/*! Check if previously processed *//*!
|
|
353
353
|
* Wait for document loaded before starting the execution
|
|
354
|
-
*/const
|
|
354
|
+
*/const s2n=Object.freeze(Object.defineProperty({__proto__:null,buildElkGraphFromLayoutData:l5t,buildSubgraphLayoutOptions:s5t,dir2ElkDirection:pZ,ensureEndMarkerSegmentLength:d5t,findCyclicEntryNodes:o5t,prepareLayoutForElk:c5t,render:apn,runElkLayoutCore:a5t},Symbol.toStringTag,{value:"Module"}));export{Fpn as $,Cl as A,dsn as B,DQ as C,wve as D,Qfn as E,lrn as F,wsn as G,jQ as H,din as I,Yxe as J,ypn as K,xgn as L,Cgn as M,kD as N,mpn as O,Gin as P,Bve as Q,kA as R,nme as S,BQ as T,Jfn as U,u8 as V,_pn as W,Ppn as X,xpn as Y,Kfn as Z,q as _,csn as a,Tpn as a0,Lpn as a1,Rpn as a2,Epn as a3,jpn as a4,UB as a5,Opn as a6,Mpn as a7,Cpn as a8,can as a9,N1n as aA,qfn as aB,SCt as aC,HD as aD,Dfn as aE,U2 as aF,jfn as aG,ACt as aH,Dr as aI,wpn as aJ,Wr as aK,Q4e as aL,zpn as aM,Kpn as aN,_xt as aO,tc as aP,Axt as aQ,qr as aR,Hpn as aS,tQ as aT,Lxt as aU,UQ as aV,Wd as aW,Zxe as aX,s2n as aY,Ipn as aa,Dpn as ab,Spn as ac,lJ as ad,c3t as ae,Jhn as af,Npn as ag,$pn as ah,kpn as ai,Bpn as aj,Apn as ak,iD as al,bh as am,z2 as an,ze as ao,We as ap,esn as aq,Mve as ar,ppn as as,n5e as at,XQ as au,oye as av,vpn as aw,s5e as ax,i5e as ay,Txt as az,osn as b,Ao as c,Ave as d,Af as e,$y as f,lsn as g,Zw as h,$D as i,BCt as j,Qxe as k,Ae as l,DD as m,usn as n,hsn as o,ssn as p,qpn as q,Nfn as r,asn as s,Q4 as t,bpn as u,arn as v,edn as w,i2n as x,r2n as y,Ud as z};
|