ryco-cli 0.1.26 → 0.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcpAdapter-CadxcdZV.cjs → AcpAdapter-CZc_JW7_.cjs} +5 -5
- package/dist/{AcpAdapter-BemMQNbj.mjs → AcpAdapter-DoRyx18Q.mjs} +5 -5
- package/dist/{AcpNativeLogging-BsbZRRD7.mjs → AcpNativeLogging-FscLjPYB.mjs} +2 -2
- package/dist/{AcpNativeLogging-DZPZNoju.cjs → AcpNativeLogging-WQZ0Jm4p.cjs} +1 -1
- package/dist/{AcpRegistryDriver-BpXCjh9I.mjs → AcpRegistryDriver-1FCrMtNw.mjs} +4 -4
- package/dist/{AcpRegistryDriver-BfCPf8FX.cjs → AcpRegistryDriver-BmdM0rgN.cjs} +5 -5
- package/dist/{AzureDevOpsSourceControlProvider-BcQO_CyW.mjs → AzureDevOpsSourceControlProvider-9bLYTK0M.mjs} +2 -3
- package/dist/{AzureDevOpsSourceControlProvider-B9N_8NJg.cjs → AzureDevOpsSourceControlProvider-DW5RKUeo.cjs} +6 -7
- package/dist/{BitbucketSourceControlProvider-C9WuwvY2.cjs → BitbucketSourceControlProvider-CMHRxVsd.cjs} +6 -7
- package/dist/{BitbucketSourceControlProvider-BTUY2ZT8.mjs → BitbucketSourceControlProvider-Cl3sSLIx.mjs} +2 -3
- package/dist/{BunPTY-DdnqQAdw.mjs → BunPTY-Dfgo5uCn.mjs} +1 -1
- package/dist/{ClaudeDriver-Csnp78qR.mjs → ClaudeDriver-B3h2ood6.mjs} +132 -30
- package/dist/{ClaudeDriver-BSTxNNGO.cjs → ClaudeDriver-CyPp-Fs3.cjs} +148 -45
- package/dist/{CodexDriver-BK4HVNV4.cjs → CodexDriver-BP3EtJ0S.cjs} +14 -14
- package/dist/{CodexDriver-fwcV84hX.mjs → CodexDriver-CN6idmnS.mjs} +6 -6
- package/dist/{CodexTextGeneration-Y2GSS7f1.cjs → CodexTextGeneration-B1kQOBKx.cjs} +8 -8
- package/dist/{CodexTextGeneration-_4aT5BHa.mjs → CodexTextGeneration-zuVszBVZ.mjs} +5 -5
- package/dist/{CopilotDriver-B12ZJ-L_.mjs → CopilotDriver-BYrkdbjf.mjs} +7 -7
- package/dist/{CopilotDriver-C7IyIwVW.cjs → CopilotDriver-DXAV2YFZ.cjs} +16 -16
- package/dist/{CursorDriver-C_p0v-ul.mjs → CursorDriver-BhxUUcPd.mjs} +7 -7
- package/dist/{CursorDriver-BWmCfJ-w.cjs → CursorDriver-DqFJ48VM.cjs} +15 -15
- package/dist/{ForgejoSourceControlProvider-DTRrllIH.cjs → ForgejoSourceControlProvider-BaX8QACC.cjs} +6 -7
- package/dist/{ForgejoSourceControlProvider-DmOGJEaJ.mjs → ForgejoSourceControlProvider-Dd70jIKU.mjs} +2 -3
- package/dist/{GitHubSourceControlProvider-sQGcwnr3.mjs → GitHubSourceControlProvider-C7BTtssl.mjs} +2 -3
- package/dist/{GitHubSourceControlProvider-D-YV8WP6.cjs → GitHubSourceControlProvider-bB3VvbjC.cjs} +4 -5
- package/dist/{GitLabSourceControlProvider-kKYYnpER.cjs → GitLabSourceControlProvider-CpPjVL2v.cjs} +6 -7
- package/dist/{GitLabSourceControlProvider-mIl-K-4F.mjs → GitLabSourceControlProvider-DtYBP_yY.mjs} +2 -3
- package/dist/{GrokDriver-BFOniP_K.cjs → GrokDriver-B66NTem3.cjs} +9 -9
- package/dist/{GrokDriver-CDcWkiAi.mjs → GrokDriver-DM1NdZRk.mjs} +6 -6
- package/dist/{NodePTY-DArvQ9bX.mjs → NodePTY-BtRL0A34.mjs} +1 -1
- package/dist/{OpenCodeDriver-CnWJHyDJ.mjs → OpenCodeDriver-DH41ibjc.mjs} +7 -7
- package/dist/{OpenCodeDriver-CckbFEQJ.cjs → OpenCodeDriver-DeSH_rjs.cjs} +17 -17
- package/dist/{SideQuestionIsolation-5eGFRW0t.mjs → SideQuestionIsolation-Dn-HWCtI.mjs} +1 -1
- package/dist/{SideQuestionIsolation-DvVKZWxi.cjs → SideQuestionIsolation-pW7UQKVD.cjs} +1 -1
- package/dist/bin.cjs +11516 -9316
- package/dist/bin.mjs +11166 -8960
- package/dist/client/assets/AccountSettings-CEf7oALI.js +1 -0
- package/dist/client/assets/AiFocusSettings-Bx0qzXZb.js +1 -0
- package/dist/client/assets/AnimatedHeight-BdPmCa-2.js +1 -0
- package/dist/client/assets/AppearanceSettings-dR9CQ8NA.js +1 -0
- package/dist/client/assets/BranchToolbar.logic-h0d4Ciue.js +3 -0
- package/dist/client/assets/BrowserPanel-D8lPv8fb.js +1 -0
- package/dist/client/assets/ChatRightPanel-Dn-7Xvyc.js +199 -0
- package/dist/client/assets/ChatThreadRouteView-DVBC81zl.js +1 -0
- package/dist/client/assets/CommandPaletteDialog-BNYMM9Z4.js +1 -0
- package/dist/client/assets/CompositeRoot-C2w3pPeh.js +1 -0
- package/dist/client/assets/ComputerUseSettings-Cs_Owo6-.js +1 -0
- package/dist/client/assets/ConnectionsSettings-DEi2p0zo.js +7 -0
- package/dist/client/assets/ContextHandoffEndpointLabel-DS0hRX6s.js +4 -0
- package/dist/client/assets/DiagnosticsSettings-YBPSnfRV.js +2 -0
- package/dist/client/assets/DialogHandle-4vx7sbjo.js +1 -0
- package/dist/client/assets/DialogPopup-B0PxwE99.js +1 -0
- package/dist/client/assets/DialogRoot-m4XA9S7t.js +1 -0
- package/dist/client/assets/DialogTitle-BYcCdrqC.js +1 -0
- package/dist/client/assets/DialogTrigger-DJWPHhX_.js +1 -0
- package/dist/client/assets/DialogViewport-UVYw-6p8.js +1 -0
- package/dist/client/assets/DraftChatThreadRouteView-BSqiqymo.js +1 -0
- package/dist/client/assets/{ExternalIdentityWeb.logic-CrcNfdHK.js → ExternalIdentityWeb.logic-BcfjLeSk.js} +1 -1
- package/dist/client/assets/{GlassSurface-CBIEgwt1.js → GlassSurface-YfHTds9q.js} +1 -1
- package/dist/client/assets/HostedConnectionControls-zCFvpOtX.js +1 -0
- package/dist/client/assets/HostedHubRoot-Dhp_vsh3.js +2 -0
- package/dist/client/assets/HostedNativeAuthorizationRoute-Dk-X6kyE.js +2 -0
- package/dist/client/assets/HostedNodeRenameDialog-BPmZUTA0.js +1 -0
- package/dist/client/assets/HostedRelayTrustNotice-9UBK7nWp.js +1 -0
- package/dist/client/assets/IntegrationsSettingsPanel-Dx_DA-GV.js +2 -0
- package/dist/client/assets/KeybindingsSettings-CXhTidkh.js +7 -0
- package/dist/client/assets/LazyBrowserPanel-B7krhylG.js +2 -0
- package/dist/client/assets/McpServersSettings-DaSVryrF.js +6 -0
- package/dist/client/assets/MobileSheet-CJK9LUkP.js +1 -0
- package/dist/client/assets/NodeSecuritySettings-D8-nbjl0.js +1 -0
- package/dist/client/assets/NullStore-B1qVh9r1.js +1 -0
- package/dist/client/assets/OnboardingDialog-BouStRFq.js +1 -0
- package/dist/client/assets/OpinionatedPluginsSettings-Dell0ad6.js +1 -0
- package/dist/client/assets/{PdfAttachmentPreview-BCMO9OHD.js → PdfAttachmentPreview-Cxmy8p4o.js} +3 -3
- package/dist/client/assets/PhoneGetAppInterstitial-DApTgg3Y.js +1 -0
- package/dist/client/assets/PhoneHome-Clzp8GJr.js +1 -0
- package/dist/client/assets/PhoneSettingsSurface-ByGQx_24.js +2 -0
- package/dist/client/assets/ProvidersSettingsPanel-BqIyPjmD.js +1 -0
- package/dist/client/assets/QuitShortcutFeedback-fpDQ3cUQ.js +1 -0
- package/dist/client/assets/RedactedSensitiveText-CcYd2px8.js +1 -0
- package/dist/client/assets/RootAppShell-CWZbIY7q.js +7 -0
- package/dist/client/assets/Separator-phTJr0Qx.js +1 -0
- package/dist/client/assets/SettingsDialog-TJfJzHN9.js +2 -0
- package/dist/client/assets/SettingsPanels-DWkzFTVO.js +3 -0
- package/dist/client/assets/SettingsPanels.editor-Cml3ZnL4.js +1 -0
- package/dist/client/assets/SourceControlSettings-C-4QtBJz.js +1 -0
- package/dist/client/assets/StatisticsPage-DcHPYglK.js +1 -0
- package/dist/client/assets/StatisticsPanel-BaobZm_7.js +1 -0
- package/dist/client/assets/StatisticsSettingsLink-D495bF8R.js +1 -0
- package/dist/client/assets/ThreadTerminalDrawer-erl6kZF6.js +18 -0
- package/dist/client/assets/ThreadWorkspacePanel-CdlvFu_u.js +2074 -0
- package/dist/client/assets/abnfDiagram-N423BO3Z-BAYNysM5.js +1 -0
- package/dist/client/assets/{activity-BmRcsTyL.js → activity-BdLqP9i_.js} +1 -1
- package/dist/client/assets/{alert-C5UiA2xk.js → alert-DPLHJUsX.js} +1 -1
- package/dist/client/assets/angular-html-B8mrqUL5.js +1 -0
- package/dist/client/assets/{angular-ts-BQK9km6-.js → angular-ts-Bzix210W.js} +1 -1
- package/dist/client/assets/{apl-C92MddLO.js → apl-Dhin1L29.js} +1 -1
- package/dist/client/assets/{appChrome-CsZ2ylc1.js → appChrome-DWDme9Dt.js} +1 -1
- package/dist/client/assets/arc-BbkdAXW7.js +1 -0
- package/dist/client/assets/architecture-7GRP2DOG-BJtkrWuJ.js +1 -0
- package/dist/client/assets/architectureDiagram-T3A2C74G-C8_Cvj7E.js +36 -0
- package/dist/client/assets/{arrow-left-CSz-z20j.js → arrow-left-BAJW4wtE.js} +1 -1
- package/dist/client/assets/{arrow-right-DEi91hao.js → arrow-right-Dns94Sea.js} +1 -1
- package/dist/client/assets/{arrow-up-right-D7SpcTV9.js → arrow-up-right-B4jqikrK.js} +1 -1
- package/dist/client/assets/{astro-CV97iv9o.js → astro-B-4NNgOP.js} +1 -1
- package/dist/client/assets/authorization-DMv-wK-V.js +1 -0
- package/dist/client/assets/badge-DLmSMsDm.js +1 -0
- package/dist/client/assets/band-DZ4Jagyz.js +1 -0
- package/dist/client/assets/{blade-yJCl9jZA.js → blade-C6Gedziy.js} +1 -1
- package/dist/client/assets/blockDiagram-VBNYF7ZC-B75XFMEV.js +132 -0
- package/dist/client/assets/{bot-SC4UGZyw.js → bot-Dv0XDWJs.js} +1 -1
- package/dist/client/assets/c-iCihek07.js +1 -0
- package/dist/client/assets/c4Diagram-5PPSVZJV-DwxLnQVX.js +10 -0
- package/dist/client/assets/capabilities-8t5cq9FQ.js +1 -0
- package/dist/client/assets/channel-BBNf4NuI.js +1 -0
- package/dist/client/assets/{chapel-B4wvmE90.js → chapel-DmtgEXO_.js} +1 -1
- package/dist/client/assets/{chart-column-C08MuLgY.js → chart-column-B_-qnXGB.js} +1 -1
- package/dist/client/assets/chevron-right-Cnb37R-Q.js +1 -0
- package/dist/client/assets/chunk-2GRJ4B5K-nG7WCf2t.js +1 -0
- package/dist/client/assets/chunk-2Q5K7J3B-C1jixKkw.js +1 -0
- package/dist/client/assets/chunk-4I5QYGJK-D3luggpT.js +1 -0
- package/dist/client/assets/chunk-5RXB4S5H-nhzQkmkg.js +231 -0
- package/dist/client/assets/chunk-5VM5RSS4-ZNzvKenW.js +15 -0
- package/dist/client/assets/chunk-6Q2QTUOP-dP86RxKA.js +88 -0
- package/dist/client/assets/chunk-7BUUIJ7U-Bb538aSH.js +1 -0
- package/dist/client/assets/chunk-7Z6QIM7H-DaMB-SqH.js +10 -0
- package/dist/client/assets/chunk-FOHPRMQF-CoA4358r.js +161 -0
- package/dist/client/assets/chunk-GF5L2VYU-asgcvCCI.js +206 -0
- package/dist/client/assets/chunk-I66GZJ75-CDkA1o_8.js +127 -0
- package/dist/client/assets/chunk-JQJVKLGR-Bw0X5Ip-.js +156 -0
- package/dist/client/assets/chunk-JWPE2WC7-DVXcaiue.js +1 -0
- package/dist/client/assets/chunk-KBJHAD2P-dO_kTnL7.js +1 -0
- package/dist/client/assets/chunk-NSK5VX7P-BmceTTBR.js +2 -0
- package/dist/client/assets/chunk-QR6OTTB3-B5kA0ffj.js +62 -0
- package/dist/client/assets/chunk-RYQCIY6F-DwFgeAGr.js +1 -0
- package/dist/client/assets/chunk-UBXNYLIW-CDedwfvO.js +1 -0
- package/dist/client/assets/chunk-W5SLKNZC-CYitqjQA.js +1 -0
- package/dist/client/assets/chunk-WRU74C26-BuyHUiY3.js +70 -0
- package/dist/client/assets/chunk-XXDRQBXY-DKGD__ll.js +1 -0
- package/dist/client/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +1 -0
- package/dist/client/assets/classDiagram-JCYQIIEL-CEJrTr5w.js +1 -0
- package/dist/client/assets/classDiagram-v2-OCEON4UE-CEJrTr5w.js +1 -0
- package/dist/client/assets/{clipboard-copy-D74Wvnon.js → clipboard-copy-m25MViws.js} +1 -1
- package/dist/client/assets/{cobol-NqUMvFU8.js → cobol-Cw2-KvLW.js} +1 -1
- package/dist/client/assets/{coffee-DVKhASwQ.js → coffee-CiiSLhB6.js} +1 -1
- package/dist/client/assets/compiler-runtime-C4g8XhC5.js +1 -0
- package/dist/client/assets/cose-bilkent-JH36ORCC-CQw99gYc.js +1 -0
- package/dist/client/assets/cpp-71xkOQct.js +1 -0
- package/dist/client/assets/{crystal-DTR4CTFy.js → crystal-DGPAtLeY.js} +1 -1
- package/dist/client/assets/css-CNuuLpMC.js +1 -0
- package/dist/client/assets/cynefin-OW5HDTMX-PI1jXfo9.js +1 -0
- package/dist/client/assets/cynefinDiagram-MW4NZA55-D9aXz2H3.js +62 -0
- package/dist/client/assets/cytoscape.esm-B-1iW2ft.js +321 -0
- package/dist/client/assets/dagre-VZM6K2ZE-DAkAWtHf.js +4 -0
- package/dist/client/assets/dagre-jnk0s9qx.js +1 -0
- package/dist/client/assets/{data-list-CZ4Utnfl.js → data-list-CzuRaMoY.js} +1 -1
- package/dist/client/assets/defaultLocale-BFoDCU3G.js +1 -0
- package/dist/client/assets/desktopWorkspace-DCXeateK.js +1 -0
- package/dist/client/assets/diagram-7IWD3JNH-D9Y5DAHG.js +30 -0
- package/dist/client/assets/diagram-B4RE2ZJO-pcVWvD1c.js +3 -0
- package/dist/client/assets/diagram-LBJQPF4R-CKQHNEf3.js +24 -0
- package/dist/client/assets/diagram-Q27KOJAE-DpUj2dlx.js +24 -0
- package/dist/client/assets/diagram-UB23O5K3-D9ixM4zK.js +41 -0
- package/dist/client/assets/dist-v5Q1xZ2K.js +1 -0
- package/dist/client/assets/{download-Dio40wIJ.js → download-BLSwvpO8.js} +1 -1
- package/dist/client/assets/ebnfDiagram-BXEA7PRR-DtVIaCAg.js +1 -0
- package/dist/client/assets/{edge-CpqhDICu.js → edge-DCY0a-ow.js} +1 -1
- package/dist/client/assets/editorPreferences-B9oRG3Zd.js +1 -0
- package/dist/client/assets/{elixir--isJgL2B.js → elixir-DP304Xio.js} +1 -1
- package/dist/client/assets/{elm-DgHzNgm_.js → elm-o4NJxfws.js} +1 -1
- package/dist/client/assets/{empty-6LExKYgQ.js → empty-DOy2mOw2.js} +1 -1
- package/dist/client/assets/erDiagram-JOGREHBK-BLKpTkcC.js +85 -0
- package/dist/client/assets/{erb-CXyXxaAM.js → erb-C7MPl934.js} +1 -1
- package/dist/client/assets/eventmodeling-NTZA5JFV-BwvZvQqc.js +1 -0
- package/dist/client/assets/flowDiagram-UKHOOZJN-BQ7PEPRm.js +1 -0
- package/dist/client/assets/ganttDiagram-PKOTCBZU-CnqZ0jmv.js +292 -0
- package/dist/client/assets/{git-rebase-BqNqx552.js → git-rebase-BDPpS8w6.js} +1 -1
- package/dist/client/assets/gitGraph-4MIJSDKK-CwCT0-s6.js +1 -0
- package/dist/client/assets/gitGraphDiagram-DS77QQ5N-s8lXhp4w.js +106 -0
- package/dist/client/assets/{glimmer-js-yZWXr7D1.js → glimmer-js-BONyzAsu.js} +1 -1
- package/dist/client/assets/{glimmer-ts-BgilwNe9.js → glimmer-ts-f9c0GCOe.js} +1 -1
- package/dist/client/assets/glsl-D5MA2a_X.js +1 -0
- package/dist/client/assets/graphlib-DS17s2tU.js +1 -0
- package/dist/client/assets/graphql-Ctjuxyvl.js +1 -0
- package/dist/client/assets/{group-D_mu0Kiq.js → group-CuoO9JnL.js} +1 -1
- package/dist/client/assets/{hack-Bw3mo9za.js → hack-Dh_ZLRbs.js} +1 -1
- package/dist/client/assets/haml-CwEpbK1d.js +1 -0
- package/dist/client/assets/{handlebars-D71nAVX4.js → handlebars-ryMP1rBR.js} +1 -1
- package/dist/client/assets/hostedConnectionCoordinator-BSJ_DOFJ.js +1 -0
- package/dist/client/assets/hostedPairing-CqhLPQqG.js +1 -0
- package/dist/client/assets/html-XwrE-1r6.js +1 -0
- package/dist/client/assets/{html-derivative-BwDrYmK9.js → html-derivative-i4STDFnl.js} +1 -1
- package/dist/client/assets/{http-BSiVGmrj.js → http-kmH8AyfE.js} +1 -1
- package/dist/client/assets/hubRoutes-21nfUON0.js +1 -0
- package/dist/client/assets/{hurl-BUTu-xdf.js → hurl-DCZHXKU4.js} +1 -1
- package/dist/client/assets/{index-7MTgf8YI.js → index-BwKpO5H0.js} +2 -2
- package/dist/client/assets/info-A6RAGUB7-BEii5_a7.js +1 -0
- package/dist/client/assets/infoDiagram-6WML65LV-BDA4ayxB.js +2 -0
- package/dist/client/assets/init-ZlXS9mIS.js +1 -0
- package/dist/client/assets/input-C7jwjNin.js +1 -0
- package/dist/client/assets/ishikawaDiagram-WSZJBQD7-Dg0BzsTT.js +70 -0
- package/dist/client/assets/java-DdHNQ9hk.js +1 -0
- package/dist/client/assets/javascript-obGGvMPs.js +1 -0
- package/dist/client/assets/{jinja-BA7hgfzz.js → jinja-B-tLrNsM.js} +1 -1
- package/dist/client/assets/{jison-CUMnSUVk.js → jison-CBjhYtSs.js} +1 -1
- package/dist/client/assets/journeyDiagram-NVQOT4AX-C8EwxR5-.js +139 -0
- package/dist/client/assets/json-DAgxKhMr.js +1 -0
- package/dist/client/assets/jsx-gTgmArGx.js +1 -0
- package/dist/client/assets/{julia-C-lBeOK5.js → julia-CXJVy74_.js} +1 -1
- package/dist/client/assets/{just-DfEtguTY.js → just-B9Xn_Dp4.js} +1 -1
- package/dist/client/assets/kanban-definition-27J2QSJJ-CwWIK4hH.js +89 -0
- package/dist/client/assets/katex-ZlcWpGUi.js +257 -0
- package/dist/client/assets/kbd-BkhO-OIB.js +1 -0
- package/dist/client/assets/{key-round-C-oUSjpF.js → key-round-QNi8vZ3o.js} +1 -1
- package/dist/client/assets/{latex-6oxeCMbP.js → latex-o9DRzaEe.js} +1 -1
- package/dist/client/assets/{layers-Co2a5C1k.js → layers-DxCncDg0.js} +1 -1
- package/dist/client/assets/linear-DCT4R0u9.js +1 -0
- package/dist/client/assets/{liquid-Cr73H0-U.js → liquid-G0MH4h_m.js} +1 -1
- package/dist/client/assets/liquidGlass-CA2o_Cq0.js +1 -0
- package/dist/client/assets/{log-out-pWFhbvwr.js → log-out-0cx8xYmG.js} +1 -1
- package/dist/client/assets/{logging-JMrwaeZh.js → logging-D0Z2ysS_.js} +1 -1
- package/dist/client/assets/lua-FONpmTUP.js +1 -0
- package/dist/client/assets/main-Bs1wRbtM.css +2 -0
- package/dist/client/assets/main-DRnQOdGw.js +9 -0
- package/dist/client/assets/map-CLsMSThe.js +1 -0
- package/dist/client/assets/{marko-8BhW8jZt.js → marko-DV5GrDmo.js} +1 -1
- package/dist/client/assets/{mdc-uTSeACfH.js → mdc-BKfPFPZw.js} +1 -1
- package/dist/client/assets/mermaid-parser.core-DFyHLivv.js +6 -0
- package/dist/client/assets/mermaidEngine-CFbqgukn.js +41 -0
- package/dist/client/assets/mindmap-definition-FAOFIHXS-DEUodh64.js +96 -0
- package/dist/client/assets/{nginx-BbzDIRDu.js → nginx-BTMw9COX.js} +1 -1
- package/dist/client/assets/{nim-C27DPxCt.js → nim-B6yJ_yaC.js} +1 -1
- package/dist/client/assets/noop-CdBy4H-p.js +1 -0
- package/dist/client/assets/ordinal-CPleeUAT.js +1 -0
- package/dist/client/assets/{org-DRYqs_wo.js → org-Ddi8Gs6E.js} +1 -1
- package/dist/client/assets/packet-AYTQ26CC-kDW4NC3U.js +1 -0
- package/dist/client/assets/{palette-B_6C4fD6.js → palette-DJP6HjoK.js} +1 -1
- package/dist/client/assets/pegDiagram-VL7TDLO6-DP6G624r.js +1 -0
- package/dist/client/assets/{perl-Dj7_nwz_.js → perl-DEgXgjuC.js} +1 -1
- package/dist/client/assets/{php-Xqfm-TjX.js → php-B9UPq-vz.js} +1 -1
- package/dist/client/assets/pie-WAS4IAKB-CkU95zMj.js +1 -0
- package/dist/client/assets/pieDiagram-7S7Q4E2Y-CbI-Me3X.js +39 -0
- package/dist/client/assets/{play-DFtc9zBy.js → play-D2dLXeYA.js} +1 -1
- package/dist/client/assets/primary-CTbs3K5y.js +5 -0
- package/dist/client/assets/providerDriverMeta-BufQsOt9.js +1 -0
- package/dist/client/assets/providerInstances-BsYOgLbA.js +1 -0
- package/dist/client/assets/providerModels-B6q2qkJn.js +1 -0
- package/dist/client/assets/providerStatus-DBGvvkyF.js +1 -0
- package/dist/client/assets/{pug-CKEc9v9y.js → pug-DkgDHZci.js} +1 -1
- package/dist/client/assets/{qml-C3bhdnuC.js → qml-_a-QhfPD.js} +1 -1
- package/dist/client/assets/qr-code-aWP2UC_0.js +1 -0
- package/dist/client/assets/{qr-code-DaHWf7Oq.js → qr-code-rHO2PSNK.js} +1 -1
- package/dist/client/assets/quadrantDiagram-CIZ2JOQS-DdT-PJym.js +7 -0
- package/dist/client/assets/r-BHcO8Vjq.js +1 -0
- package/dist/client/assets/radar-RG4KPBEZ-BCHjOI8k.js +1 -0
- package/dist/client/assets/radio-group-j7Aw0khh.js +2 -0
- package/dist/client/assets/railroad-74A4TZTK-Coyy1E7r.js +1 -0
- package/dist/client/assets/railroad-abnf-HS5TGJTU-vVvBZ7mV.js +1 -0
- package/dist/client/assets/railroad-ebnf-LZEXJU2U-DPhiX3AH.js +1 -0
- package/dist/client/assets/railroad-peg-WCYAUIDC-CE5r0-yf.js +1 -0
- package/dist/client/assets/railroadDiagram-AXF67PYL-BtotoGcb.js +1 -0
- package/dist/client/assets/{razor-CCBiKnb_.js → razor-BMJ0eI3p.js} +1 -1
- package/dist/client/assets/react-CwJFpaho.js +1 -0
- package/dist/client/assets/{refresh-cw-CY5BeUEr.js → refresh-cw-BvLhRgIT.js} +1 -1
- package/dist/client/assets/regexp-DR20uMnK.js +1 -0
- package/dist/client/assets/requirementDiagram-LRYGKXZP-CkRiHwnq.js +84 -0
- package/dist/client/assets/rolldown-runtime-hePW80VL.js +1 -0
- package/dist/client/assets/rough.esm-Dy-Kn_BL.js +1 -0
- package/dist/client/assets/{rst-DKqX_39h.js → rst-BQCbfb9V.js} +1 -1
- package/dist/client/assets/{ruby-CaU3RLfE.js → ruby-B8JcIHv0.js} +1 -1
- package/dist/client/assets/runtime-BmkVEPVk.js +17 -0
- package/dist/client/assets/sankeyDiagram-W5VNT64P-CRA3QeOy.js +40 -0
- package/dist/client/assets/{sas-Dq8EnVfj.js → sas-CBpMWA2M.js} +1 -1
- package/dist/client/assets/{save-DIHMjHXd.js → save-BS49-bF8.js} +1 -1
- package/dist/client/assets/scroll-area-DCAX5yOi.js +1 -0
- package/dist/client/assets/scrollEdges-BPCo6eoJ.js +1 -0
- package/dist/client/assets/scss-YesllqfO.js +1 -0
- package/dist/client/assets/separator-BzCfJfqt.js +1 -0
- package/dist/client/assets/sequenceDiagram-SI44F4Z6-C1NBZD9Z.js +162 -0
- package/dist/client/assets/settingsLayout-DsTnu1ag.js +1 -0
- package/dist/client/assets/{sheet-CFvRY7T6.js → sheet-B5Bho6hg.js} +1 -1
- package/dist/client/assets/shellscript-Da78Ox-3.js +1 -0
- package/dist/client/assets/{shellsession-26dOf2m0.js → shellsession-CVsQGYfZ.js} +1 -1
- package/dist/client/assets/{shield-Zn2kFj5M.js → shield-D8Js3j2m.js} +1 -1
- package/dist/client/assets/{shield-alert-DMB5gKiC.js → shield-alert-D5KtaxAD.js} +1 -1
- package/dist/client/assets/{shield-check-DyNf6Bky.js → shield-check-Bw3PFmc5.js} +1 -1
- package/dist/client/assets/sidebar-BgdP0aPP.js +1 -0
- package/dist/client/assets/sidebarProjectFolders-SidXpBYm.js +4 -0
- package/dist/client/assets/{sidebarStatusText-DCo-whyK.js → sidebarStatusText-CGlncYed.js} +1 -1
- package/dist/client/assets/sizeCapture-X5ZJPWSS-B0uUizjq.js +1 -0
- package/dist/client/assets/{skeleton-DEuowfjY.js → skeleton-D2DLiMeL.js} +1 -1
- package/dist/client/assets/{smartphone-BLWJ7C9-.js → smartphone-BxLjYoMC.js} +1 -1
- package/dist/client/assets/{soy-Bf3k5CrX.js → soy-DEd-qcad.js} +1 -1
- package/dist/client/assets/sql-DdD7vxS4.js +1 -0
- package/dist/client/assets/src-BISxbUej.js +1 -0
- package/dist/client/assets/{src-DPpEXU6w.js → src-DveUJAx7.js} +1 -1
- package/dist/client/assets/{star-CjQxHYbD.js → star-COJFLZTR.js} +1 -1
- package/dist/client/assets/{stata-DYvaCWJV.js → stata-CMv7m7Gi.js} +1 -1
- package/dist/client/assets/stateDiagram-OKZ733FA-Ds3WpAzo.js +1 -0
- package/dist/client/assets/stateDiagram-v2-UEYNNEHI-B1G6cGoL.js +1 -0
- package/dist/client/assets/{surrealql-CVtmRpY6.js → surrealql-BZoq2lXR.js} +1 -1
- package/dist/client/assets/{svelte-k_k4XYnr.js → svelte-Bj3Hmc9F.js} +1 -1
- package/dist/client/assets/swimlanes-SLNWSIFB-CBOT6h6D.js +1 -0
- package/dist/client/assets/swimlanesDiagram-ULZ7WXOC-C7dzqG68.js +8 -0
- package/dist/client/assets/switch-DRWMuFAB.js +48 -0
- package/dist/client/assets/{templ-CxD_nC0J.js → templ-TjxbArHn.js} +1 -1
- package/dist/client/assets/tex-BK-H2Wn4.js +1 -0
- package/dist/client/assets/time-DQ1f7CYz.js +1 -0
- package/dist/client/assets/timeline-definition-Z64GVDOM-BchFx9aU.js +120 -0
- package/dist/client/assets/toggle-BFimNtfd.js +1 -0
- package/dist/client/assets/toggle-group-DkiAyblO.js +1 -0
- package/dist/client/assets/{tokenModePresentation-CPUsUGY4.js → tokenModePresentation-CF3EmBbY.js} +1 -1
- package/dist/client/assets/tooltip-DCkohGhZ.js +1 -0
- package/dist/client/assets/treeView-Q6P3EWNA-CEV1Lb2d.js +1 -0
- package/dist/client/assets/treemap-WGGIJYW6-BmpcuJbz.js +1 -0
- package/dist/client/assets/{ts-tags-BriKwQve.js → ts-tags-Cc5do7zu.js} +1 -1
- package/dist/client/assets/tsx-CUOciP0b.js +1 -0
- package/dist/client/assets/{twig-DsmcR2eZ.js → twig-BVSnuTf-.js} +1 -1
- package/dist/client/assets/typescript-BydbNFcO.js +1 -0
- package/dist/client/assets/{typst-Drab9wKO.js → typst-C40W_gC6.js} +1 -1
- package/dist/client/assets/{unplug-Bjpxv8i0.js → unplug-8DPlQKIp.js} +1 -1
- package/dist/client/assets/{usage-8vQUo0mr.js → usage-C8xQ6Fzh.js} +1 -1
- package/dist/client/assets/useAppSidebarCollapsed-C2LlQGyO.js +1 -0
- package/dist/client/assets/useAppearancePreference-Dlh9P8iu.js +1 -0
- package/dist/client/assets/useBaseUiId-mt0hfEAe.js +1 -0
- package/dist/client/assets/useControlled-CgAAWIy9.js +1 -0
- package/dist/client/assets/useLabelableId-Cvt4WsTl.js +1 -0
- package/dist/client/assets/useLongPress-CUmLovQ7.js +1 -0
- package/dist/client/assets/useNavigate-C3GqcMfH.js +1 -0
- package/dist/client/assets/usePhoneThreadActions-D6vlUMhK.js +1 -0
- package/dist/client/assets/usePopupViewport-Do1Do_XW.js +1 -0
- package/dist/client/assets/usePresentationTier-hxB7Yv_Q.js +1 -0
- package/dist/client/assets/useScrollLock-CBkwVMhR.js +1 -0
- package/dist/client/assets/useStatistics-DVzBUtMo.js +55 -0
- package/dist/client/assets/useTheme-B441xg4F.js +1 -0
- package/dist/client/assets/useTriggerFocusGuards-CwCaKZe6.js +1 -0
- package/dist/client/assets/useValueChanged-DdYHxdoK.js +1 -0
- package/dist/client/assets/{user-round-DEWIPpNs.js → user-round-D4L0lVW8.js} +1 -1
- package/dist/client/assets/vennDiagram-T6HMQDX7-D5h4gL4M.js +34 -0
- package/dist/client/assets/{vscode-icons-DTH-Vj-_.js → vscode-icons-BKarOrEi.js} +1 -1
- package/dist/client/assets/{vue-Dt-rrFdH.js → vue-BNQF7r6F.js} +1 -1
- package/dist/client/assets/{vue-html-BrRsRUlP.js → vue-html-DkKkQnZL.js} +1 -1
- package/dist/client/assets/{vue-vine-CxnolnwP.js → vue-vine-DFaKYU4X.js} +1 -1
- package/dist/client/assets/wardley-WFR3VGLG-COhlspfw.js +1 -0
- package/dist/client/assets/wardleyDiagram-T6FBY63Y-WJNCmmcd.js +78 -0
- package/dist/client/assets/{workspaceMetadataProjection-BnpxBe8S.js → workspaceMetadataProjection-DGOQN5yh.js} +1 -1
- package/dist/client/assets/{wrench-36WYdK_a.js → wrench-B8Kn44An.js} +1 -1
- package/dist/client/assets/xml-BlnrEAEy.js +1 -0
- package/dist/client/assets/{xsl-BY-Cn9M_.js → xsl-BOPS8gLt.js} +1 -1
- package/dist/client/assets/xychartDiagram-ELKLHX3M-CabQ0hKy.js +7 -0
- package/dist/client/assets/yaml-Du_6cdrH.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/{deviceHostWorker-C-BSnmkn.mjs → deviceHostWorker-CV7GZgfH.mjs} +1 -1
- package/dist/{git-C4iJMbBu.mjs → git-BaEqFwDw.mjs} +1 -1
- package/dist/{git-irmB8_k7.cjs → git-VPCnunmz.cjs} +1 -1
- package/dist/{makeManagedServerProvider-BINne1KE.mjs → makeManagedServerProvider--SPw3bxe.mjs} +23 -19
- package/dist/{makeManagedServerProvider-DGbd8BhM.cjs → makeManagedServerProvider-A3NSgBwN.cjs} +23 -19
- package/dist/resource-monitor/ryco-resource-monitor +0 -0
- package/dist/resource-monitor/ryco-resource-monitor.exe +0 -0
- package/dist/resource-monitor/win32-arm64/ryco-resource-monitor.exe +0 -0
- package/dist/resource-monitor/win32-x64/ryco-resource-monitor.exe +0 -0
- package/dist/{Metrics-C-3MahDy.mjs → serverSettings-C7N2cm7C.mjs} +783 -8
- package/dist/{Metrics-DCKbdeoH.cjs → serverSettings-_fgQZNIb.cjs} +944 -11
- package/dist/{src-BlzIcnVG.cjs → src-CBu69HDR.cjs} +395 -20
- package/dist/{src-DtEOcXdl.mjs → src-D8uCtoDZ.mjs} +342 -15
- package/package.json +1 -1
- package/dist/SourceControlProviderDiscoveryCatalog-BVvq7liJ.mjs +0 -525
- package/dist/SourceControlProviderDiscoveryCatalog-CyUhKJLD.cjs +0 -614
- package/dist/client/assets/AccountSettings-DLbcE2w-.js +0 -1
- package/dist/client/assets/AiFocusSettings-FKvdkl4P.js +0 -1
- package/dist/client/assets/AnimatedHeight-CbIEyMLg.js +0 -1
- package/dist/client/assets/AppearanceSettings-B2LsGKmL.js +0 -1
- package/dist/client/assets/BranchToolbar.logic-BqkvYNPk.js +0 -1
- package/dist/client/assets/BrowserPanel-C_C4zjrh.js +0 -1
- package/dist/client/assets/ChatRightPanel-ibiQ79jI.js +0 -195
- package/dist/client/assets/ChatThreadRouteView-c7AXmbSk.js +0 -1
- package/dist/client/assets/CommandPaletteDialog-DdPKN6rv.js +0 -1
- package/dist/client/assets/CompositeRoot-DKwS-ADi.js +0 -1
- package/dist/client/assets/ComputerUseSettings-DM17BYP5.js +0 -1
- package/dist/client/assets/ConnectionsSettings-D6wysIC8.js +0 -7
- package/dist/client/assets/ContextHandoffEndpointLabel-CsF_maM_.js +0 -4
- package/dist/client/assets/DiagnosticsSettings-Bq2l-C4J.js +0 -2
- package/dist/client/assets/DialogHandle-DuKTleCw.js +0 -1
- package/dist/client/assets/DialogPopup-Dt7DzTWv.js +0 -1
- package/dist/client/assets/DialogRoot-DRyawL6l.js +0 -1
- package/dist/client/assets/DialogTitle-BaxfPC6e.js +0 -1
- package/dist/client/assets/DialogTrigger-D0PJ8bRT.js +0 -1
- package/dist/client/assets/DialogViewport-C3B2JZWQ.js +0 -1
- package/dist/client/assets/DraftChatThreadRouteView-B8YiD5NP.js +0 -1
- package/dist/client/assets/HostedConnectionControls-DOpTlXzE.js +0 -1
- package/dist/client/assets/HostedHubRoot-C1jq8cM6.js +0 -2
- package/dist/client/assets/HostedNativeAuthorizationRoute-Clw1DHQW.js +0 -2
- package/dist/client/assets/HostedNodeRenameDialog-Bd_Qu_ek.js +0 -1
- package/dist/client/assets/HostedRelayTrustNotice-CGcBpT9m.js +0 -1
- package/dist/client/assets/IntegrationsSettingsPanel-J0qODRW-.js +0 -2
- package/dist/client/assets/KeybindingsSettings-CwxIHsFy.js +0 -7
- package/dist/client/assets/LazyBrowserPanel-VNAn6AUL.js +0 -2
- package/dist/client/assets/McpServersSettings-1pkIeutq.js +0 -6
- package/dist/client/assets/MobileSheet-DddfN8c2.js +0 -1
- package/dist/client/assets/NodeSecuritySettings-BOIZeFZo.js +0 -1
- package/dist/client/assets/OpinionatedPluginsSettings-oTIrPtIb.js +0 -1
- package/dist/client/assets/PhoneGetAppInterstitial-0EOj-PbW.js +0 -1
- package/dist/client/assets/PhoneHome-Cg7l3b1T.js +0 -1
- package/dist/client/assets/PhoneSettingsSurface-BXAUtZ9M.js +0 -2
- package/dist/client/assets/ProvidersSettingsPanel-BaJgypXu.js +0 -1
- package/dist/client/assets/QuitShortcutFeedback-DgJFEd6b.js +0 -1
- package/dist/client/assets/RedactedSensitiveText-D1VC2xa7.js +0 -1
- package/dist/client/assets/RootAppShell-D2RjZ9jQ.js +0 -7
- package/dist/client/assets/Separator-CeMncdkm.js +0 -1
- package/dist/client/assets/SettingsDialog-B2hEb6u8.js +0 -2
- package/dist/client/assets/SettingsPanels-DtWLQDne.js +0 -3
- package/dist/client/assets/SettingsPanels.editor-DJRckD71.js +0 -1
- package/dist/client/assets/SourceControlSettings-IpoZrjt5.js +0 -1
- package/dist/client/assets/StatisticsPage-CUpE_5Gr.js +0 -1
- package/dist/client/assets/StatisticsPanel-CHrAY5AP.js +0 -1
- package/dist/client/assets/StatisticsSettingsLink-bGWuxNG3.js +0 -1
- package/dist/client/assets/ThreadTerminalDrawer-BEv83xrk.js +0 -18
- package/dist/client/assets/ThreadWorkspacePanel-BdMdJVHJ.js +0 -2073
- package/dist/client/assets/angular-html-Dht9YPGR.js +0 -1
- package/dist/client/assets/authorization-B1YXfej3.js +0 -1
- package/dist/client/assets/badge-BjvTY7-E.js +0 -1
- package/dist/client/assets/c-Baw6W2ff.js +0 -1
- package/dist/client/assets/capabilities-BCkDNe83.js +0 -1
- package/dist/client/assets/chevron-right-DgB53U1_.js +0 -1
- package/dist/client/assets/compiler-runtime-qmuS0Svy.js +0 -1
- package/dist/client/assets/cpp-C3nXdf7H.js +0 -1
- package/dist/client/assets/css-tyblAV2Z.js +0 -1
- package/dist/client/assets/desktopWorkspace-DVfn9ZT_.js +0 -1
- package/dist/client/assets/editorPreferences-2dG4uloq.js +0 -1
- package/dist/client/assets/glsl-CiPx7o44.js +0 -1
- package/dist/client/assets/graphql-dVCFBcPU.js +0 -1
- package/dist/client/assets/haml-Bvq_b7GQ.js +0 -1
- package/dist/client/assets/hostedConnectionCoordinator-YkDLnATK.js +0 -1
- package/dist/client/assets/hostedPairing-B_ylEEDa.js +0 -1
- package/dist/client/assets/html-CQCljoLJ.js +0 -1
- package/dist/client/assets/hubRoutes-D3quWvU7.js +0 -1
- package/dist/client/assets/input-CfVJycb1.js +0 -1
- package/dist/client/assets/java-DKLhoot1.js +0 -1
- package/dist/client/assets/javascript-BoDf_Xaa.js +0 -1
- package/dist/client/assets/json-D-CzDEr3.js +0 -1
- package/dist/client/assets/jsx-RPKfHBaT.js +0 -1
- package/dist/client/assets/kbd-uFa_tY-L.js +0 -1
- package/dist/client/assets/liquidGlass-Dbl4k51l.js +0 -1
- package/dist/client/assets/lua-BNklVDJF.js +0 -1
- package/dist/client/assets/main-BNPtp9Z0.css +0 -2
- package/dist/client/assets/main-CGeD6yVE.js +0 -9
- package/dist/client/assets/primary-CNUdEGcv.js +0 -2
- package/dist/client/assets/providerDriverMeta-Cg_XLUfo.js +0 -1
- package/dist/client/assets/providerInstances-JaDrOWPZ.js +0 -1
- package/dist/client/assets/providerModels-5uOq3qPC.js +0 -1
- package/dist/client/assets/qr-code-BU354aLS.js +0 -1
- package/dist/client/assets/r-B-BYV2IP.js +0 -1
- package/dist/client/assets/radio-group-DKaA1eey.js +0 -2
- package/dist/client/assets/react-SIfiwpqq.js +0 -1
- package/dist/client/assets/regexp-BG8FlKR9.js +0 -1
- package/dist/client/assets/runtime-BKneT96Q.js +0 -17
- package/dist/client/assets/scroll-area-Cq4SX9P8.js +0 -1
- package/dist/client/assets/scrollEdges-BaWRjrac.js +0 -1
- package/dist/client/assets/scss-CMpBj9xp.js +0 -1
- package/dist/client/assets/separator-BN705fC0.js +0 -1
- package/dist/client/assets/settingsLayout-DQERzSce.js +0 -1
- package/dist/client/assets/shellscript-C5MCrJaB.js +0 -1
- package/dist/client/assets/sidebar-Bsh64sLK.js +0 -1
- package/dist/client/assets/sidebarProjectFolders-CQbpO9ZI.js +0 -4
- package/dist/client/assets/sparkles-DAXDXp_s.js +0 -1
- package/dist/client/assets/sql-DcFiju6z.js +0 -1
- package/dist/client/assets/switch-LahPAvrd.js +0 -48
- package/dist/client/assets/tex-DOBpnpUK.js +0 -1
- package/dist/client/assets/toggle-45lsrmyi.js +0 -1
- package/dist/client/assets/toggle-group-D5pl24ED.js +0 -1
- package/dist/client/assets/tooltip-B8-izeMo.js +0 -1
- package/dist/client/assets/tsx-CltjRl2u.js +0 -1
- package/dist/client/assets/typescript-BwOcYJx4.js +0 -1
- package/dist/client/assets/useAppSidebarCollapsed-uwz9Hlgc.js +0 -1
- package/dist/client/assets/useAppearancePreference-BteoFdGa.js +0 -1
- package/dist/client/assets/useBaseUiId-BtuL7q77.js +0 -1
- package/dist/client/assets/useControlled-DQwgzrEC.js +0 -1
- package/dist/client/assets/useLabelableId-N_LsKNbf.js +0 -1
- package/dist/client/assets/useLongPress-DG1W7YqV.js +0 -1
- package/dist/client/assets/useNavigate-DADLi29i.js +0 -1
- package/dist/client/assets/usePhoneThreadActions-B9_HK7tn.js +0 -1
- package/dist/client/assets/usePopupViewport-w8BEny9j.js +0 -1
- package/dist/client/assets/usePresentationTier-B_SCFvN7.js +0 -1
- package/dist/client/assets/useScrollLock-bCmUzTgK.js +0 -1
- package/dist/client/assets/useStatistics-DJtONxT0.js +0 -55
- package/dist/client/assets/useTheme-CVNauCtz.js +0 -1
- package/dist/client/assets/useTriggerFocusGuards-C7JWO2LT.js +0 -1
- package/dist/client/assets/useValueChanged-DkoUO9bY.js +0 -1
- package/dist/client/assets/xml-DUCOjSp4.js +0 -1
- package/dist/client/assets/yaml-BONObsYN.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./javascript-BoDf_Xaa.js";import{t}from"./css-tyblAV2Z.js";import{t as n}from"./html-CQCljoLJ.js";var r=Object.freeze(JSON.parse(`{"displayName":"Pug","name":"pug","patterns":[{"match":"^(!!!|doctype)(\\\\s*[-0-9A-Z_a-z]+)?","name":"meta.tag.sgml.doctype.html"},{"begin":"^(\\\\s*)//-","end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"comment.unbuffered.block.pug"},{"begin":"^(\\\\s*)//","end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"string.comment.buffered.block.pug","patterns":[{"captures":{"1":{"name":"invalid.illegal.comment.comment.block.pug"}},"match":"^\\\\s*(//)(?!-)","name":"string.comment.buffered.block.pug"}]},{"begin":"<!--","end":"--\\\\s*>","name":"comment.unbuffered.block.pug","patterns":[{"match":"--","name":"invalid.illegal.comment.comment.block.pug"}]},{"begin":"^(\\\\s*)-$","end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"source.js","patterns":[{"include":"source.js"}]},{"begin":"^(\\\\s*)(script)((\\\\.)$|(?=[^\\\\n]*((text|application)/javascript|module).*\\\\.$))","beginCaptures":{"2":{"name":"entity.name.tag.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"meta.tag.other","patterns":[{"begin":"\\\\G(?=\\\\()","end":"$","patterns":[{"include":"#tag_attributes"}]},{"begin":"\\\\G(?=[#.])","end":"$","patterns":[{"include":"#complete_tag"}]},{"include":"source.js"}]},{"begin":"^(\\\\s*)(style)((\\\\.)$|(?=[#(.].*\\\\.$))","beginCaptures":{"2":{"name":"entity.name.tag.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"meta.tag.other","patterns":[{"begin":"\\\\G(?=\\\\()","end":"$","patterns":[{"include":"#tag_attributes"}]},{"begin":"\\\\G(?=[#.])","end":"$","patterns":[{"include":"#complete_tag"}]},{"include":"source.css"}]},{"begin":"^(\\\\s*):(sass)(?=\\\\(|$)","beginCaptures":{"2":{"name":"constant.language.name.sass.filter.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"source.sass.filter.pug","patterns":[{"include":"#tag_attributes"},{"include":"source.sass"}]},{"begin":"^(\\\\s*):(scss)(?=\\\\(|$)","beginCaptures":{"2":{"name":"constant.language.name.scss.filter.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"source.css.scss.filter.pug","patterns":[{"include":"#tag_attributes"},{"include":"source.css.scss"}]},{"begin":"^(\\\\s*):(less)(?=\\\\(|$)","beginCaptures":{"2":{"name":"constant.language.name.less.filter.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"source.less.filter.pug","patterns":[{"include":"#tag_attributes"},{"include":"source.less"}]},{"begin":"^(\\\\s*):(stylus)(?=\\\\(|$)","beginCaptures":{"2":{"name":"constant.language.name.stylus.filter.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","patterns":[{"include":"#tag_attributes"},{"include":"source.stylus"}]},{"begin":"^(\\\\s*):(coffee(-?script)?)(?=\\\\(|$)","beginCaptures":{"2":{"name":"constant.language.name.coffeescript.filter.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"source.coffeescript.filter.pug","patterns":[{"include":"#tag_attributes"},{"include":"source.coffee"}]},{"begin":"^(\\\\s*):(uglify-js)(?=\\\\(|$)","beginCaptures":{"2":{"name":"constant.language.name.js.filter.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"source.js.filter.pug","patterns":[{"include":"#tag_attributes"},{"include":"source.js"}]},{"begin":"^(\\\\s*)((:(?=.))|(:)$)","beginCaptures":{"4":{"name":"invalid.illegal.empty.generic.filter.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","patterns":[{"begin":"\\\\G(?<=:)(?=.)","end":"$","name":"name.generic.filter.pug","patterns":[{"match":"\\\\G\\\\(","name":"invalid.illegal.name.generic.filter.pug"},{"match":"[-\\\\w]","name":"constant.language.name.generic.filter.pug"},{"include":"#tag_attributes"},{"match":"\\\\W","name":"invalid.illegal.name.generic.filter.pug"}]}]},{"begin":"^(\\\\s*)(?:(?=\\\\.$)|(?=[#.\\\\w].*?\\\\.$)(?=(?:(?:#[-\\\\w]+|\\\\.[-\\\\w]+)|(?:[!#]\\\\{[^}]*}|\\\\w(?:[-:\\\\w]+[-\\\\w]|[-\\\\w]*)))(?:#[-\\\\w]+|\\\\.[-\\\\w]+|(?:\\\\((?:[^\\"'()]*(?:'(?:[^']|(?<!\\\\\\\\)\\\\\\\\')*'|\\"(?:[^\\"]|(?<!\\\\\\\\)\\\\\\\\\\")*\\"))*[^()]*\\\\))*)*(?:(?::\\\\s+|(?<=\\\\)))(?:(?:#[-\\\\w]+|\\\\.[-\\\\w]+)|(?:[!#]\\\\{[^}]*}|\\\\w(?:[-:\\\\w]+[-\\\\w]|[-\\\\w]*)))(?:#[-\\\\w]+|\\\\.[-\\\\w]+|(?:\\\\((?:[^\\"'()]*(?:'(?:[^']|(?<!\\\\\\\\)\\\\\\\\')*'|\\"(?:[^\\"]|(?<!\\\\\\\\)\\\\\\\\\\")*\\"))*[^()]*\\\\))*)*)*\\\\.$)(?:(?:(#[-\\\\w]+)|(\\\\.[-\\\\w]+))|([!#]\\\\{[^}]*}|\\\\w(?:[-:\\\\w]+[-\\\\w]|[-\\\\w]*))))","beginCaptures":{"2":{"name":"meta.selector.css entity.other.attribute-name.id.css.pug"},"3":{"name":"meta.selector.css entity.other.attribute-name.class.css.pug"},"4":{"name":"meta.tag.other entity.name.tag.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","patterns":[{"match":"\\\\.$","name":"storage.type.function.pug.dot-block-dot"},{"include":"#tag_attributes"},{"include":"#complete_tag"},{"begin":"^(?=.)","end":"$","name":"text.block.pug","patterns":[{"include":"#inline_pug"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]}]},{"begin":"^\\\\s*","end":"$","patterns":[{"include":"#inline_pug"},{"include":"#blocks_and_includes"},{"include":"#unbuffered_code"},{"include":"#mixin_definition"},{"include":"#mixin_call"},{"include":"#flow_control"},{"include":"#flow_control_each"},{"include":"#case_conds"},{"begin":"\\\\|","end":"$","name":"text.block.pipe.pug","patterns":[{"include":"#inline_pug"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},{"include":"#printed_expression"},{"begin":"\\\\G(?=(#[^-{\\\\w])|[^#.\\\\w])","end":"$","patterns":[{"begin":"</?(?=[!#])","end":">|$","patterns":[{"include":"#inline_pug"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},{"include":"#inline_pug"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},{"include":"#complete_tag"}]}],"repository":{"babel_parens":{"begin":"\\\\(","end":"\\\\)|((\\\\{\\\\s*)?)$","patterns":[{"include":"#babel_parens"},{"include":"source.js"}]},"blocks_and_includes":{"captures":{"1":{"name":"storage.type.import.include.pug"},"4":{"name":"variable.control.import.include.pug"}},"match":"(extends|include|yield|append|prepend|block( ((?:ap|pre)pend))?)\\\\s+(.*)$","name":"meta.first-class.pug"},"case_conds":{"begin":"(default|when)((\\\\s+|(?=:))|$)","captures":{"1":{"name":"storage.type.function.pug"}},"end":"$","name":"meta.control.flow.pug","patterns":[{"begin":"\\\\G(?!:)","end":"(?=:\\\\s+)|$","name":"js.embedded.control.flow.pug","patterns":[{"include":"#case_when_paren"},{"include":"source.js"}]},{"begin":":\\\\s+","end":"$","name":"tag.case.control.flow.pug","patterns":[{"include":"#complete_tag"}]}]},"case_when_paren":{"begin":"\\\\(","end":"\\\\)","name":"js.when.control.flow.pug","patterns":[{"include":"#case_when_paren"},{"match":":","name":"invalid.illegal.name.tag.pug"},{"include":"source.js"}]},"complete_tag":{"begin":"(?=[#.\\\\w])|(:\\\\s*)","end":"(\\\\.?)$|(?=:.)","endCaptures":{"1":{"name":"storage.type.function.pug.dot-block-dot"}},"patterns":[{"include":"#blocks_and_includes"},{"include":"#unbuffered_code"},{"include":"#mixin_call"},{"include":"#flow_control"},{"include":"#flow_control_each"},{"match":"(?<=:)\\\\w.*$","name":"invalid.illegal.name.tag.pug"},{"include":"#tag_name"},{"include":"#tag_id"},{"include":"#tag_classes"},{"include":"#tag_attributes"},{"include":"#tag_mixin_attributes"},{"captures":{"2":{"name":"invalid.illegal.end.tag.pug"},"4":{"name":"invalid.illegal.end.tag.pug"}},"match":"(?:((\\\\.)\\\\s+)|((:)\\\\s*))$"},{"include":"#printed_expression"},{"include":"#tag_text"}]},"embedded_html":{"begin":"(?=<[^>]*>)","end":"$|(?=>)","name":"html","patterns":[{"include":"text.html.basic"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},"flow_control":{"begin":"(for|if|else if|else|until|while|unless|case)(\\\\s+|$)","captures":{"1":{"name":"storage.type.function.pug"}},"end":"$","name":"meta.control.flow.pug","patterns":[{"begin":"","end":"$","name":"js.embedded.control.flow.pug","patterns":[{"include":"source.js"}]}]},"flow_control_each":{"begin":"(each)(\\\\s+|$)","captures":{"1":{"name":"storage.type.function.pug"}},"end":"$","name":"meta.control.flow.pug.each","patterns":[{"match":"([$_\\\\w]+)(?:\\\\s*,\\\\s*([$_\\\\w]+))?","name":"variable.other.pug.each-var"},{"begin":"","end":"$","name":"js.embedded.control.flow.pug","patterns":[{"include":"source.js"}]}]},"html_entity":{"patterns":[{"match":"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.html.text.pug"},{"match":"[\\\\&<>]","name":"invalid.illegal.html_entity.text.pug"}]},"inline_pug":{"begin":"(?<!\\\\\\\\)(#\\\\[)","captures":{"1":{"name":"entity.name.function.pug"},"2":{"name":"entity.name.function.pug"}},"end":"(])","name":"inline.pug","patterns":[{"include":"#inline_pug"},{"include":"#mixin_call"},{"begin":"(?<!])(?=[#.\\\\w])|(:\\\\s*)","end":"(?=]|(:.)|[=\\\\s])","name":"tag.inline.pug","patterns":[{"include":"#tag_name"},{"include":"#tag_id"},{"include":"#tag_classes"},{"include":"#tag_attributes"},{"include":"#tag_mixin_attributes"},{"include":"#inline_pug"},{"match":"\\\\[","name":"invalid.illegal.tag.pug"}]},{"include":"#unbuffered_code"},{"include":"#printed_expression"},{"match":"\\\\[","name":"invalid.illegal.tag.pug"},{"include":"#inline_pug_text"}]},"inline_pug_text":{"begin":"","end":"(?=])","patterns":[{"begin":"\\\\[","end":"]","patterns":[{"include":"#inline_pug_text"}]},{"include":"#inline_pug"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},"interpolated_error":{"match":"(?<!\\\\\\\\)[!#]\\\\{(?=[^}]*$)","name":"invalid.illegal.tag.pug"},"interpolated_value":{"begin":"(?<!\\\\\\\\)[!#]\\\\{(?=.*?})","end":"}","name":"string.interpolated.pug","patterns":[{"match":"\\\\{","name":"invalid.illegal.tag.pug"},{"include":"source.js"}]},"js_braces":{"begin":"\\\\{","end":"}","patterns":[{"include":"#js_braces"},{"include":"source.js"}]},"js_brackets":{"begin":"\\\\[","end":"]","patterns":[{"include":"#js_brackets"},{"include":"source.js"}]},"js_parens":{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"#js_parens"},{"include":"source.js"}]},"mixin_call":{"begin":"(mixin\\\\s+|\\\\+)([-\\\\w]+)","beginCaptures":{"1":{"name":"storage.type.function.pug"},"2":{"name":"meta.tag.other entity.name.function.pug"}},"end":"(?!\\\\()|$","patterns":[{"begin":"(?<!\\\\))\\\\(","end":"\\\\)","name":"args.mixin.pug","patterns":[{"include":"#js_parens"},{"captures":{"1":{"name":"meta.tag.other entity.other.attribute-name.tag.pug"}},"match":"([^(),/=\\\\s]+)\\\\s*=\\\\s*"},{"include":"source.js"}]},{"include":"#tag_attributes"}]},"mixin_definition":{"captures":{"1":{"name":"storage.type.function.pug"},"2":{"name":"meta.tag.other entity.name.function.pug"},"3":{"name":"punctuation.definition.parameters.begin.js"},"4":{"name":"variable.parameter.function.js"},"5":{"name":"punctuation.definition.parameters.begin.js"}},"match":"(mixin\\\\s+)([-\\\\w]+)(?:(\\\\()\\\\s*([A-Z_a-z]\\\\w*\\\\s*(?:,\\\\s*[A-Z_a-z]\\\\w*\\\\s*)*)(\\\\)))?$"},"printed_expression":{"begin":"(!?=)\\\\s*","captures":{"1":{"name":"constant"}},"end":"(?=])|$","name":"source.js","patterns":[{"include":"#js_brackets"},{"include":"source.js"}]},"tag_attribute_name":{"captures":{"1":{"name":"entity.other.attribute-name.tag.pug"}},"match":"([^!(),/=\\\\s]+)\\\\s*"},"tag_attribute_name_paren":{"begin":"\\\\(\\\\s*","end":"\\\\)","name":"entity.other.attribute-name.tag.pug","patterns":[{"include":"#tag_attribute_name_paren"},{"include":"#tag_attribute_name"}]},"tag_attributes":{"begin":"(\\\\(\\\\s*)","captures":{"1":{"name":"constant.name.attribute.tag.pug"}},"end":"(\\\\))","name":"meta.tag.other","patterns":[{"include":"#tag_attribute_name_paren"},{"include":"#tag_attribute_name"},{"match":"!(?!=)","name":"invalid.illegal.tag.pug"},{"begin":"=\\\\s*","end":"$|(?=,|\\\\s+[^-!%\\\\&*+/<>?|~]|\\\\))","name":"attribute_value","patterns":[{"include":"#js_parens"},{"include":"#js_brackets"},{"include":"#js_braces"},{"include":"source.js"}]},{"begin":"(?<=[-%\\\\&*+/:<>?|~])\\\\s+","end":"$|(?=,|\\\\s+[^-!%\\\\&*+/<>?|~]|\\\\))","name":"attribute_value2","patterns":[{"include":"#js_parens"},{"include":"#js_brackets"},{"include":"#js_braces"},{"include":"source.js"}]}]},"tag_classes":{"captures":{"1":{"name":"invalid.illegal.tag.pug"}},"match":"\\\\.([^-\\\\w])?[-\\\\w]*","name":"meta.selector.css entity.other.attribute-name.class.css.pug"},"tag_id":{"match":"#[-\\\\w]+","name":"meta.selector.css entity.other.attribute-name.id.css.pug"},"tag_mixin_attributes":{"begin":"(&attributes\\\\()","captures":{"1":{"name":"entity.name.function.pug"}},"end":"(\\\\))","name":"meta.tag.other","patterns":[{"match":"attributes(?=\\\\))","name":"storage.type.keyword.pug"},{"include":"source.js"}]},"tag_name":{"begin":"([!#]\\\\{(?=.*?}))|(\\\\w(([-:\\\\w]+[-\\\\w])|([-\\\\w]*)))","end":"\\\\G((?<!\\\\5[^-\\\\w]))|}|$","name":"meta.tag.other entity.name.tag.pug","patterns":[{"begin":"\\\\G(?<=\\\\{)","end":"(?=})","name":"meta.tag.other entity.name.tag.pug","patterns":[{"match":"\\\\{","name":"invalid.illegal.tag.pug"},{"include":"source.js"}]}]},"tag_text":{"begin":"(?=.)","end":"$","patterns":[{"include":"#inline_pug"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},"unbuffered_code":{"begin":"(-|(([0-9A-Z_a-z]+)\\\\s+=))","beginCaptures":{"3":{"name":"variable.parameter.javascript.embedded.pug"}},"end":"(?=])|((\\\\{\\\\s*)?)$","name":"source.js","patterns":[{"include":"#js_brackets"},{"include":"#babel_parens"},{"include":"source.js"}]}},"scopeName":"text.pug","embeddedLangs":["javascript","css","html"],"aliases":["jade"],"embeddedLangsLazy":["sass","scss","stylus","coffee"]}`)),i=[...e,...t,...n,r];export{i as default};
|
|
1
|
+
import{t as e}from"./javascript-obGGvMPs.js";import{t}from"./css-CNuuLpMC.js";import{t as n}from"./html-XwrE-1r6.js";var r=Object.freeze(JSON.parse(`{"displayName":"Pug","name":"pug","patterns":[{"match":"^(!!!|doctype)(\\\\s*[-0-9A-Z_a-z]+)?","name":"meta.tag.sgml.doctype.html"},{"begin":"^(\\\\s*)//-","end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"comment.unbuffered.block.pug"},{"begin":"^(\\\\s*)//","end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"string.comment.buffered.block.pug","patterns":[{"captures":{"1":{"name":"invalid.illegal.comment.comment.block.pug"}},"match":"^\\\\s*(//)(?!-)","name":"string.comment.buffered.block.pug"}]},{"begin":"<!--","end":"--\\\\s*>","name":"comment.unbuffered.block.pug","patterns":[{"match":"--","name":"invalid.illegal.comment.comment.block.pug"}]},{"begin":"^(\\\\s*)-$","end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"source.js","patterns":[{"include":"source.js"}]},{"begin":"^(\\\\s*)(script)((\\\\.)$|(?=[^\\\\n]*((text|application)/javascript|module).*\\\\.$))","beginCaptures":{"2":{"name":"entity.name.tag.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"meta.tag.other","patterns":[{"begin":"\\\\G(?=\\\\()","end":"$","patterns":[{"include":"#tag_attributes"}]},{"begin":"\\\\G(?=[#.])","end":"$","patterns":[{"include":"#complete_tag"}]},{"include":"source.js"}]},{"begin":"^(\\\\s*)(style)((\\\\.)$|(?=[#(.].*\\\\.$))","beginCaptures":{"2":{"name":"entity.name.tag.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"meta.tag.other","patterns":[{"begin":"\\\\G(?=\\\\()","end":"$","patterns":[{"include":"#tag_attributes"}]},{"begin":"\\\\G(?=[#.])","end":"$","patterns":[{"include":"#complete_tag"}]},{"include":"source.css"}]},{"begin":"^(\\\\s*):(sass)(?=\\\\(|$)","beginCaptures":{"2":{"name":"constant.language.name.sass.filter.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"source.sass.filter.pug","patterns":[{"include":"#tag_attributes"},{"include":"source.sass"}]},{"begin":"^(\\\\s*):(scss)(?=\\\\(|$)","beginCaptures":{"2":{"name":"constant.language.name.scss.filter.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"source.css.scss.filter.pug","patterns":[{"include":"#tag_attributes"},{"include":"source.css.scss"}]},{"begin":"^(\\\\s*):(less)(?=\\\\(|$)","beginCaptures":{"2":{"name":"constant.language.name.less.filter.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"source.less.filter.pug","patterns":[{"include":"#tag_attributes"},{"include":"source.less"}]},{"begin":"^(\\\\s*):(stylus)(?=\\\\(|$)","beginCaptures":{"2":{"name":"constant.language.name.stylus.filter.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","patterns":[{"include":"#tag_attributes"},{"include":"source.stylus"}]},{"begin":"^(\\\\s*):(coffee(-?script)?)(?=\\\\(|$)","beginCaptures":{"2":{"name":"constant.language.name.coffeescript.filter.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"source.coffeescript.filter.pug","patterns":[{"include":"#tag_attributes"},{"include":"source.coffee"}]},{"begin":"^(\\\\s*):(uglify-js)(?=\\\\(|$)","beginCaptures":{"2":{"name":"constant.language.name.js.filter.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","name":"source.js.filter.pug","patterns":[{"include":"#tag_attributes"},{"include":"source.js"}]},{"begin":"^(\\\\s*)((:(?=.))|(:)$)","beginCaptures":{"4":{"name":"invalid.illegal.empty.generic.filter.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","patterns":[{"begin":"\\\\G(?<=:)(?=.)","end":"$","name":"name.generic.filter.pug","patterns":[{"match":"\\\\G\\\\(","name":"invalid.illegal.name.generic.filter.pug"},{"match":"[-\\\\w]","name":"constant.language.name.generic.filter.pug"},{"include":"#tag_attributes"},{"match":"\\\\W","name":"invalid.illegal.name.generic.filter.pug"}]}]},{"begin":"^(\\\\s*)(?:(?=\\\\.$)|(?=[#.\\\\w].*?\\\\.$)(?=(?:(?:#[-\\\\w]+|\\\\.[-\\\\w]+)|(?:[!#]\\\\{[^}]*}|\\\\w(?:[-:\\\\w]+[-\\\\w]|[-\\\\w]*)))(?:#[-\\\\w]+|\\\\.[-\\\\w]+|(?:\\\\((?:[^\\"'()]*(?:'(?:[^']|(?<!\\\\\\\\)\\\\\\\\')*'|\\"(?:[^\\"]|(?<!\\\\\\\\)\\\\\\\\\\")*\\"))*[^()]*\\\\))*)*(?:(?::\\\\s+|(?<=\\\\)))(?:(?:#[-\\\\w]+|\\\\.[-\\\\w]+)|(?:[!#]\\\\{[^}]*}|\\\\w(?:[-:\\\\w]+[-\\\\w]|[-\\\\w]*)))(?:#[-\\\\w]+|\\\\.[-\\\\w]+|(?:\\\\((?:[^\\"'()]*(?:'(?:[^']|(?<!\\\\\\\\)\\\\\\\\')*'|\\"(?:[^\\"]|(?<!\\\\\\\\)\\\\\\\\\\")*\\"))*[^()]*\\\\))*)*)*\\\\.$)(?:(?:(#[-\\\\w]+)|(\\\\.[-\\\\w]+))|([!#]\\\\{[^}]*}|\\\\w(?:[-:\\\\w]+[-\\\\w]|[-\\\\w]*))))","beginCaptures":{"2":{"name":"meta.selector.css entity.other.attribute-name.id.css.pug"},"3":{"name":"meta.selector.css entity.other.attribute-name.class.css.pug"},"4":{"name":"meta.tag.other entity.name.tag.pug"}},"end":"^(?!(\\\\1\\\\s)|\\\\s*$)","patterns":[{"match":"\\\\.$","name":"storage.type.function.pug.dot-block-dot"},{"include":"#tag_attributes"},{"include":"#complete_tag"},{"begin":"^(?=.)","end":"$","name":"text.block.pug","patterns":[{"include":"#inline_pug"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]}]},{"begin":"^\\\\s*","end":"$","patterns":[{"include":"#inline_pug"},{"include":"#blocks_and_includes"},{"include":"#unbuffered_code"},{"include":"#mixin_definition"},{"include":"#mixin_call"},{"include":"#flow_control"},{"include":"#flow_control_each"},{"include":"#case_conds"},{"begin":"\\\\|","end":"$","name":"text.block.pipe.pug","patterns":[{"include":"#inline_pug"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},{"include":"#printed_expression"},{"begin":"\\\\G(?=(#[^-{\\\\w])|[^#.\\\\w])","end":"$","patterns":[{"begin":"</?(?=[!#])","end":">|$","patterns":[{"include":"#inline_pug"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},{"include":"#inline_pug"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},{"include":"#complete_tag"}]}],"repository":{"babel_parens":{"begin":"\\\\(","end":"\\\\)|((\\\\{\\\\s*)?)$","patterns":[{"include":"#babel_parens"},{"include":"source.js"}]},"blocks_and_includes":{"captures":{"1":{"name":"storage.type.import.include.pug"},"4":{"name":"variable.control.import.include.pug"}},"match":"(extends|include|yield|append|prepend|block( ((?:ap|pre)pend))?)\\\\s+(.*)$","name":"meta.first-class.pug"},"case_conds":{"begin":"(default|when)((\\\\s+|(?=:))|$)","captures":{"1":{"name":"storage.type.function.pug"}},"end":"$","name":"meta.control.flow.pug","patterns":[{"begin":"\\\\G(?!:)","end":"(?=:\\\\s+)|$","name":"js.embedded.control.flow.pug","patterns":[{"include":"#case_when_paren"},{"include":"source.js"}]},{"begin":":\\\\s+","end":"$","name":"tag.case.control.flow.pug","patterns":[{"include":"#complete_tag"}]}]},"case_when_paren":{"begin":"\\\\(","end":"\\\\)","name":"js.when.control.flow.pug","patterns":[{"include":"#case_when_paren"},{"match":":","name":"invalid.illegal.name.tag.pug"},{"include":"source.js"}]},"complete_tag":{"begin":"(?=[#.\\\\w])|(:\\\\s*)","end":"(\\\\.?)$|(?=:.)","endCaptures":{"1":{"name":"storage.type.function.pug.dot-block-dot"}},"patterns":[{"include":"#blocks_and_includes"},{"include":"#unbuffered_code"},{"include":"#mixin_call"},{"include":"#flow_control"},{"include":"#flow_control_each"},{"match":"(?<=:)\\\\w.*$","name":"invalid.illegal.name.tag.pug"},{"include":"#tag_name"},{"include":"#tag_id"},{"include":"#tag_classes"},{"include":"#tag_attributes"},{"include":"#tag_mixin_attributes"},{"captures":{"2":{"name":"invalid.illegal.end.tag.pug"},"4":{"name":"invalid.illegal.end.tag.pug"}},"match":"(?:((\\\\.)\\\\s+)|((:)\\\\s*))$"},{"include":"#printed_expression"},{"include":"#tag_text"}]},"embedded_html":{"begin":"(?=<[^>]*>)","end":"$|(?=>)","name":"html","patterns":[{"include":"text.html.basic"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},"flow_control":{"begin":"(for|if|else if|else|until|while|unless|case)(\\\\s+|$)","captures":{"1":{"name":"storage.type.function.pug"}},"end":"$","name":"meta.control.flow.pug","patterns":[{"begin":"","end":"$","name":"js.embedded.control.flow.pug","patterns":[{"include":"source.js"}]}]},"flow_control_each":{"begin":"(each)(\\\\s+|$)","captures":{"1":{"name":"storage.type.function.pug"}},"end":"$","name":"meta.control.flow.pug.each","patterns":[{"match":"([$_\\\\w]+)(?:\\\\s*,\\\\s*([$_\\\\w]+))?","name":"variable.other.pug.each-var"},{"begin":"","end":"$","name":"js.embedded.control.flow.pug","patterns":[{"include":"source.js"}]}]},"html_entity":{"patterns":[{"match":"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.html.text.pug"},{"match":"[\\\\&<>]","name":"invalid.illegal.html_entity.text.pug"}]},"inline_pug":{"begin":"(?<!\\\\\\\\)(#\\\\[)","captures":{"1":{"name":"entity.name.function.pug"},"2":{"name":"entity.name.function.pug"}},"end":"(])","name":"inline.pug","patterns":[{"include":"#inline_pug"},{"include":"#mixin_call"},{"begin":"(?<!])(?=[#.\\\\w])|(:\\\\s*)","end":"(?=]|(:.)|[=\\\\s])","name":"tag.inline.pug","patterns":[{"include":"#tag_name"},{"include":"#tag_id"},{"include":"#tag_classes"},{"include":"#tag_attributes"},{"include":"#tag_mixin_attributes"},{"include":"#inline_pug"},{"match":"\\\\[","name":"invalid.illegal.tag.pug"}]},{"include":"#unbuffered_code"},{"include":"#printed_expression"},{"match":"\\\\[","name":"invalid.illegal.tag.pug"},{"include":"#inline_pug_text"}]},"inline_pug_text":{"begin":"","end":"(?=])","patterns":[{"begin":"\\\\[","end":"]","patterns":[{"include":"#inline_pug_text"}]},{"include":"#inline_pug"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},"interpolated_error":{"match":"(?<!\\\\\\\\)[!#]\\\\{(?=[^}]*$)","name":"invalid.illegal.tag.pug"},"interpolated_value":{"begin":"(?<!\\\\\\\\)[!#]\\\\{(?=.*?})","end":"}","name":"string.interpolated.pug","patterns":[{"match":"\\\\{","name":"invalid.illegal.tag.pug"},{"include":"source.js"}]},"js_braces":{"begin":"\\\\{","end":"}","patterns":[{"include":"#js_braces"},{"include":"source.js"}]},"js_brackets":{"begin":"\\\\[","end":"]","patterns":[{"include":"#js_brackets"},{"include":"source.js"}]},"js_parens":{"begin":"\\\\(","end":"\\\\)","patterns":[{"include":"#js_parens"},{"include":"source.js"}]},"mixin_call":{"begin":"(mixin\\\\s+|\\\\+)([-\\\\w]+)","beginCaptures":{"1":{"name":"storage.type.function.pug"},"2":{"name":"meta.tag.other entity.name.function.pug"}},"end":"(?!\\\\()|$","patterns":[{"begin":"(?<!\\\\))\\\\(","end":"\\\\)","name":"args.mixin.pug","patterns":[{"include":"#js_parens"},{"captures":{"1":{"name":"meta.tag.other entity.other.attribute-name.tag.pug"}},"match":"([^(),/=\\\\s]+)\\\\s*=\\\\s*"},{"include":"source.js"}]},{"include":"#tag_attributes"}]},"mixin_definition":{"captures":{"1":{"name":"storage.type.function.pug"},"2":{"name":"meta.tag.other entity.name.function.pug"},"3":{"name":"punctuation.definition.parameters.begin.js"},"4":{"name":"variable.parameter.function.js"},"5":{"name":"punctuation.definition.parameters.begin.js"}},"match":"(mixin\\\\s+)([-\\\\w]+)(?:(\\\\()\\\\s*([A-Z_a-z]\\\\w*\\\\s*(?:,\\\\s*[A-Z_a-z]\\\\w*\\\\s*)*)(\\\\)))?$"},"printed_expression":{"begin":"(!?=)\\\\s*","captures":{"1":{"name":"constant"}},"end":"(?=])|$","name":"source.js","patterns":[{"include":"#js_brackets"},{"include":"source.js"}]},"tag_attribute_name":{"captures":{"1":{"name":"entity.other.attribute-name.tag.pug"}},"match":"([^!(),/=\\\\s]+)\\\\s*"},"tag_attribute_name_paren":{"begin":"\\\\(\\\\s*","end":"\\\\)","name":"entity.other.attribute-name.tag.pug","patterns":[{"include":"#tag_attribute_name_paren"},{"include":"#tag_attribute_name"}]},"tag_attributes":{"begin":"(\\\\(\\\\s*)","captures":{"1":{"name":"constant.name.attribute.tag.pug"}},"end":"(\\\\))","name":"meta.tag.other","patterns":[{"include":"#tag_attribute_name_paren"},{"include":"#tag_attribute_name"},{"match":"!(?!=)","name":"invalid.illegal.tag.pug"},{"begin":"=\\\\s*","end":"$|(?=,|\\\\s+[^-!%\\\\&*+/<>?|~]|\\\\))","name":"attribute_value","patterns":[{"include":"#js_parens"},{"include":"#js_brackets"},{"include":"#js_braces"},{"include":"source.js"}]},{"begin":"(?<=[-%\\\\&*+/:<>?|~])\\\\s+","end":"$|(?=,|\\\\s+[^-!%\\\\&*+/<>?|~]|\\\\))","name":"attribute_value2","patterns":[{"include":"#js_parens"},{"include":"#js_brackets"},{"include":"#js_braces"},{"include":"source.js"}]}]},"tag_classes":{"captures":{"1":{"name":"invalid.illegal.tag.pug"}},"match":"\\\\.([^-\\\\w])?[-\\\\w]*","name":"meta.selector.css entity.other.attribute-name.class.css.pug"},"tag_id":{"match":"#[-\\\\w]+","name":"meta.selector.css entity.other.attribute-name.id.css.pug"},"tag_mixin_attributes":{"begin":"(&attributes\\\\()","captures":{"1":{"name":"entity.name.function.pug"}},"end":"(\\\\))","name":"meta.tag.other","patterns":[{"match":"attributes(?=\\\\))","name":"storage.type.keyword.pug"},{"include":"source.js"}]},"tag_name":{"begin":"([!#]\\\\{(?=.*?}))|(\\\\w(([-:\\\\w]+[-\\\\w])|([-\\\\w]*)))","end":"\\\\G((?<!\\\\5[^-\\\\w]))|}|$","name":"meta.tag.other entity.name.tag.pug","patterns":[{"begin":"\\\\G(?<=\\\\{)","end":"(?=})","name":"meta.tag.other entity.name.tag.pug","patterns":[{"match":"\\\\{","name":"invalid.illegal.tag.pug"},{"include":"source.js"}]}]},"tag_text":{"begin":"(?=.)","end":"$","patterns":[{"include":"#inline_pug"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},"unbuffered_code":{"begin":"(-|(([0-9A-Z_a-z]+)\\\\s+=))","beginCaptures":{"3":{"name":"variable.parameter.javascript.embedded.pug"}},"end":"(?=])|((\\\\{\\\\s*)?)$","name":"source.js","patterns":[{"include":"#js_brackets"},{"include":"#babel_parens"},{"include":"source.js"}]}},"scopeName":"text.pug","embeddedLangs":["javascript","css","html"],"aliases":["jade"],"embeddedLangsLazy":["sass","scss","stylus","coffee"]}`)),i=[...e,...t,...n,r];export{i as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./javascript-
|
|
1
|
+
import{t as e}from"./javascript-obGGvMPs.js";var t=Object.freeze(JSON.parse(`{"displayName":"QML","name":"qml","patterns":[{"match":"\\\\bpragma\\\\s+Singleton\\\\b","name":"constant.language.qml"},{"include":"#import-statements"},{"include":"#object"},{"include":"#comment"}],"repository":{"attributes-dictionary":{"patterns":[{"include":"#typename"},{"include":"#keywords"},{"include":"#identifier"},{"include":"#attributes-value"},{"include":"#comment"}]},"attributes-value":{"patterns":[{"begin":"(?<=\\\\w)\\\\s*:\\\\s*(?=[A-Z]\\\\w*\\\\s*\\\\{)","description":"A QML object as value.","end":"(?<=})","patterns":[{"include":"#object"}]},{"begin":"(?<=\\\\w)\\\\s*:\\\\s*\\\\[","description":"A list as value.","end":"](.*)$","endCaptures":{"0":{"patterns":[{"include":"source.js"}]}},"patterns":[{"include":"#object"},{"include":"source.js"}]},{"begin":"(?<=\\\\w)\\\\s*:(?=\\\\s*\\\\{?\\\\s*$)","description":"A block of JavaScript code as value.","end":"(?<=})","patterns":[{"begin":"\\\\{","contentName":"meta.embedded.block.js","end":"}","patterns":[{"include":"source.js"}]}]},{"begin":"(?<=\\\\w)\\\\s*:","contentName":"meta.embedded.line.js","description":"A JavaScript expression as value.","end":";|$|(?=})","patterns":[{"include":"source.js"}]}]},"comment":{"patterns":[{"begin":"(//:)","beginCaptures":{"1":{"name":"storage.type.class.qml.tr"}},"end":"$","patterns":[{"include":"#comment-contents"}]},{"begin":"(//[=|~])\\\\s*([$A-Z_a-z][]$.\\\\[\\\\w]*)","beginCaptures":{"1":{"name":"storage.type.class.qml.tr"},"2":{"name":"variable.other.qml.tr"}},"end":"$","patterns":[{"include":"#comment-contents"}]},{"begin":"(//)","beginCaptures":{"1":{"name":"comment.line.double-slash.qml"}},"end":"$","patterns":[{"include":"#comment-contents"}]},{"begin":"(/\\\\*)","beginCaptures":{"1":{"name":"comment.line.double-slash.qml"}},"end":"(\\\\*/)","endCaptures":{"1":{"name":"comment.line.double-slash.qml"}},"patterns":[{"include":"#comment-contents"}]}]},"comment-contents":{"patterns":[{"match":"\\\\b(TODO|DEBUG|XXX)\\\\b","name":"constant.language.qml"},{"match":"\\\\b(BUG|FIXME)\\\\b","name":"invalid"},{"match":".","name":"comment.line.double-slash.qml"}]},"data-types":{"patterns":[{"description":"QML basic data types.","match":"\\\\b(bool|double|enum|int|list|real|string|url|variant|var)\\\\b","name":"storage.type.qml"},{"description":"QML modules basic data types.","match":"\\\\b(date|point|rect|size)\\\\b","name":"support.type.qml"}]},"group-attributes":{"patterns":[{"begin":"\\\\b([A-Z_a-z]\\\\w*)\\\\s*\\\\{","beginCaptures":{"1":{"name":"variable.parameter.qml"}},"end":"}","patterns":[{"include":"$self"},{"include":"#comment"},{"include":"#attributes-dictionary"}]}]},"identifier":{"description":"The name of variable, key, signal and etc.","patterns":[{"match":"\\\\b[A-Z_a-z]\\\\w*\\\\b","name":"variable.parameter.qml"}]},"import-statements":{"patterns":[{"begin":"\\\\b(import)\\\\b","beginCaptures":{"1":{"name":"keyword.control.import.qml"}},"end":"$","patterns":[{"match":"\\\\bas\\\\b","name":"keyword.control.as.qml"},{"include":"#string"},{"description":"<Version.Number>","match":"\\\\b\\\\d+\\\\.\\\\d+\\\\b","name":"constant.numeric.qml"},{"description":"as <Namespace>","match":"(?<=as)\\\\s+[A-Z]\\\\w*\\\\b","name":"entity.name.type.qml"},{"include":"#identifier"},{"include":"#comment"}]}]},"keywords":{"patterns":[{"include":"#data-types"},{"include":"#reserved-words"}]},"method-attributes":{"patterns":[{"begin":"\\\\b(function)\\\\b","beginCaptures":{"1":{"name":"storage.type.qml"}},"end":"(?<=})","patterns":[{"begin":"([A-Z_a-z]\\\\w*)\\\\s*\\\\(","beginCaptures":{"1":{"name":"entity.name.function.qml"}},"end":"\\\\)","patterns":[{"include":"#identifier"}]},{"begin":"\\\\{","contentName":"meta.embedded.block.js","end":"}","patterns":[{"include":"source.js"}]}]}]},"object":{"patterns":[{"begin":"\\\\b([A-Z]\\\\w*)\\\\s*\\\\{","beginCaptures":{"1":{"name":"entity.name.type.qml"}},"end":"}","patterns":[{"include":"$self"},{"include":"#group-attributes"},{"include":"#method-attributes"},{"include":"#signal-attributes"},{"include":"#comment"},{"include":"#attributes-dictionary"}]}]},"reserved-words":{"patterns":[{"description":"Attribute modifier.","match":"\\\\b(default|alias|readonly|required)\\\\b","name":"storage.modifier.qml"},{"match":"\\\\b(property|id|on)\\\\b","name":"keyword.other.qml"},{"description":"Special words for signal handlers including property change.","match":"\\\\b(on[A-Z]\\\\w*(Changed)?)\\\\b","name":"keyword.control.qml"}]},"signal-attributes":{"patterns":[{"begin":"\\\\b(signal)\\\\b","beginCaptures":{"1":{"name":"storage.type.qml"}},"end":"$","patterns":[{"begin":"([A-Z_a-z]\\\\w*)\\\\s*\\\\(","beginCaptures":{"1":{"name":"entity.name.function.qml"}},"end":"\\\\)","patterns":[{"include":"#keywords"},{"include":"#identifier"}]},{"include":"#identifier"},{"include":"#comment"}]}]},"string":{"description":"String literal with double or signle quote.","patterns":[{"begin":"'","end":"'","name":"string.quoted.single.qml"},{"begin":"\\"","end":"\\"","name":"string.quoted.double.qml"}]},"typename":{"description":"The name of type. First letter must be uppercase.","patterns":[{"match":"\\\\b[A-Z]\\\\w*\\\\b","name":"entity.name.type.qml"}]}},"scopeName":"source.qml","embeddedLangs":["javascript"]}`)),n=[...e,t];export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{Dl as t}from"./runtime-BmkVEPVk.js";import{t as n}from"./react-CwJFpaho.js";import{t as r}from"./compiler-runtime-C4g8XhC5.js";var i=e(n(),1),a=r(),o=class e{static Ecc;static encodeText(t,n){let r=u.makeSegments(t);return e.encodeSegments(r,n)}static encodeBinary(t,n){let r=u.makeBytes(t);return e.encodeSegments([r],n)}static encodeSegments(t,n,r=1,i=40,a=-1,o=!0){if(!(e.MIN_VERSION<=r&&r<=i&&i<=e.MAX_VERSION)||a<-1||a>7)throw RangeError(`Invalid value`);let c,d;for(c=r;;c++){let r=e.getNumDataCodewords(c,n)*8,a=u.getTotalBits(t,c);if(a<=r){d=a;break}if(c>=i)throw RangeError(`Data too long`)}for(let t of[e.Ecc.MEDIUM,e.Ecc.QUARTILE,e.Ecc.HIGH])o&&d<=e.getNumDataCodewords(c,t)*8&&(n=t);let f=[];for(let e of t){s(e.mode.modeBits,4,f),s(e.numChars,e.mode.numCharCountBits(c),f);for(let t of e.getData())f.push(t)}l(f.length==d);let p=e.getNumDataCodewords(c,n)*8;l(f.length<=p),s(0,Math.min(4,p-f.length),f),s(0,(8-f.length%8)%8,f),l(f.length%8==0);for(let e=236;f.length<p;e^=253)s(e,8,f);let m=[];for(;m.length*8<f.length;)m.push(0);return f.forEach((e,t)=>m[t>>>3]|=e<<7-(t&7)),new e(c,n,m,a)}version;errorCorrectionLevel;size;mask;modules=[];isFunction=[];constructor(t,n,r,i){if(this.version=t,this.errorCorrectionLevel=n,t<e.MIN_VERSION||t>e.MAX_VERSION)throw RangeError(`Version value out of range`);if(i<-1||i>7)throw RangeError(`Mask value out of range`);this.size=t*4+17;let a=[];for(let e=0;e<this.size;e++)a.push(!1);for(let e=0;e<this.size;e++)this.modules.push(a.slice()),this.isFunction.push(a.slice());this.drawFunctionPatterns();let o=this.addEccAndInterleave(r);if(this.drawCodewords(o),i==-1){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);let n=this.getPenaltyScore();n<e&&(i=t,e=n),this.applyMask(t)}}l(0<=i&&i<=7),this.mask=i,this.applyMask(i),this.drawFormatBits(i),this.isFunction=[]}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);let e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)n==0&&r==0||n==0&&r==t-1||n==t-1&&r==0||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){let t=this.errorCorrectionLevel.formatBits<<3|e,n=t;for(let e=0;e<10;e++)n=n<<1^(n>>>9)*1335;let r=(t<<10|n)^21522;l(!(r>>>15));for(let e=0;e<=5;e++)this.setFunctionModule(8,e,c(r,e));this.setFunctionModule(8,7,c(r,6)),this.setFunctionModule(8,8,c(r,7)),this.setFunctionModule(7,8,c(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,c(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,c(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,c(r,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^(e>>>11)*7973;let t=this.version<<12|e;l(!(t>>>18));for(let e=0;e<18;e++){let n=c(t,e),r=this.size-11+e%3,i=Math.floor(e/3);this.setFunctionModule(r,i,n),this.setFunctionModule(i,r,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){let i=Math.max(Math.abs(r),Math.abs(n)),a=e+r,o=t+n;0<=a&&a<this.size&&0<=o&&o<this.size&&this.setFunctionModule(a,o,i!=2&&i!=4)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,Math.max(Math.abs(r),Math.abs(n))!=1)}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(t){let n=this.version,r=this.errorCorrectionLevel;if(t.length!=e.getNumDataCodewords(n,r))throw RangeError(`Invalid argument`);let i=e.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],a=e.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],o=Math.floor(e.getNumRawDataModules(n)/8),s=i-o%i,c=Math.floor(o/i),u=[],d=e.reedSolomonComputeDivisor(a);for(let n=0,r=0;n<i;n++){let i=t.slice(r,r+c-a+(n<s?0:1));r+=i.length;let o=e.reedSolomonComputeRemainder(i,d);n<s&&i.push(0),u.push(i.concat(o))}let f=[];for(let e=0;e<u[0].length;e++)u.forEach((t,n)=>{(e!=c-a||n>=s)&&f.push(t[e])});return l(f.length==o),f}drawCodewords(t){if(t.length!=Math.floor(e.getNumRawDataModules(this.version)/8))throw RangeError(`Invalid argument`);let n=0;for(let e=this.size-1;e>=1;e-=2){e==6&&(e=5);for(let r=0;r<this.size;r++)for(let i=0;i<2;i++){let a=e-i,o=e+1&2?r:this.size-1-r;!this.isFunction[o][a]&&n<t.length*8&&(this.modules[o][a]=c(t[n>>>3],7-(n&7)),n++)}}l(n==t.length*8)}applyMask(e){if(e<0||e>7)throw RangeError(`Mask value out of range`);for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw Error(`Unreachable`)}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let t=0;for(let n=0;n<this.size;n++){let r=!1,i=0,a=[0,0,0,0,0,0,0];for(let o=0;o<this.size;o++)this.modules[n][o]===r?(i++,i==5?t+=e.PENALTY_N1:i>5&&t++):(this.finderPenaltyAddHistory(i,a),r||(t+=this.finderPenaltyCountPatterns(a)*e.PENALTY_N3),r=this.modules[n][o],i=1);t+=this.finderPenaltyTerminateAndCount(r,i,a)*e.PENALTY_N3}for(let n=0;n<this.size;n++){let r=!1,i=0,a=[0,0,0,0,0,0,0];for(let o=0;o<this.size;o++)this.modules[o][n]===r?(i++,i==5?t+=e.PENALTY_N1:i>5&&t++):(this.finderPenaltyAddHistory(i,a),r||(t+=this.finderPenaltyCountPatterns(a)*e.PENALTY_N3),r=this.modules[o][n],i=1);t+=this.finderPenaltyTerminateAndCount(r,i,a)*e.PENALTY_N3}for(let n=0;n<this.size-1;n++)for(let r=0;r<this.size-1;r++){let i=this.modules[n][r];i==this.modules[n][r+1]&&i==this.modules[n+1][r]&&i==this.modules[n+1][r+1]&&(t+=e.PENALTY_N2)}let n=0;for(let e of this.modules)n=e.reduce((e,t)=>e+ +!!t,n);let r=this.size*this.size,i=Math.ceil(Math.abs(n*20-r*10)/r)-1;return l(0<=i&&i<=9),t+=i*e.PENALTY_N4,l(0<=t&&t<=2568888),t}getAlignmentPatternPositions(){if(this.version==1)return[];{let e=Math.floor(this.version/7)+2,t=this.version==32?26:Math.ceil((this.version*4+4)/(e*2-2))*2,n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}static getNumRawDataModules(t){if(t<e.MIN_VERSION||t>e.MAX_VERSION)throw RangeError(`Version number out of range`);let n=(16*t+128)*t+64;if(t>=2){let e=Math.floor(t/7)+2;n-=(25*e-10)*e-55,t>=7&&(n-=36)}return l(208<=n&&n<=29648),n}static getNumDataCodewords(t,n){return Math.floor(e.getNumRawDataModules(t)/8)-e.ECC_CODEWORDS_PER_BLOCK[n.ordinal][t]*e.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][t]}static reedSolomonComputeDivisor(t){if(t<1||t>255)throw RangeError(`Degree out of range`);let n=[];for(let e=0;e<t-1;e++)n.push(0);n.push(1);let r=1;for(let i=0;i<t;i++){for(let t=0;t<n.length;t++)n[t]=e.reedSolomonMultiply(n[t],r),t+1<n.length&&(n[t]^=n[t+1]);r=e.reedSolomonMultiply(r,2)}return n}static reedSolomonComputeRemainder(t,n){let r=n.map(e=>0);for(let i of t){let t=i^r.shift();r.push(0),n.forEach((n,i)=>r[i]^=e.reedSolomonMultiply(n,t))}return r}static reedSolomonMultiply(e,t){if(e>>>8||t>>>8)throw RangeError(`Byte out of range`);let n=0;for(let r=7;r>=0;r--)n=n<<1^(n>>>7)*285,n^=(t>>>r&1)*e;return l(!(n>>>8)),n}finderPenaltyCountPatterns(e){let t=e[1];l(t<=this.size*3);let n=t>0&&e[2]===t&&e[3]===t*3&&e[4]===t&&e[5]===t;return(n&&e[0]>=t*4&&e[6]>=t?1:0)+(n&&e[6]>=t*4&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){t[0]===0&&(e+=this.size),t.pop(),t.unshift(e)}static MIN_VERSION=1;static MAX_VERSION=40;static PENALTY_N1=3;static PENALTY_N2=3;static PENALTY_N3=40;static PENALTY_N4=10;static ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]];static NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]]};function s(e,t,n){if(t<0||t>31||e>>>t)throw RangeError(`Value out of range`);for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function c(e,t){return!!(e>>>t&1)}function l(e){if(!e)throw Error(`Assertion error`)}var u=class e{static Mode;static makeBytes(t){let n=[];for(let e of t)s(e,8,n);return new e(e.Mode.BYTE,t.length,n)}static makeNumeric(t){if(!e.isNumeric(t))throw RangeError(`String contains non-numeric characters`);let n=[];for(let e=0;e<t.length;){let r=Math.min(t.length-e,3);s(parseInt(t.substring(e,e+r),10),r*3+1,n),e+=r}return new e(e.Mode.NUMERIC,t.length,n)}static makeAlphanumeric(t){if(!e.isAlphanumeric(t))throw RangeError(`String contains unencodable characters in alphanumeric mode`);let n=[],r=0;for(;r+2<=t.length;r+=2){let i=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r))*45;i+=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r+1)),s(i,11,n)}return r<t.length&&s(e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(r)),6,n),new e(e.Mode.ALPHANUMERIC,t.length,n)}static makeSegments(t){return t==``?[]:e.isNumeric(t)?[e.makeNumeric(t)]:e.isAlphanumeric(t)?[e.makeAlphanumeric(t)]:[e.makeBytes(e.toUtf8ByteArray(t))]}static makeEci(t){let n=[];if(t<0)throw RangeError(`ECI assignment value out of range`);if(t<128)s(t,8,n);else if(t<16384)s(2,2,n),s(t,14,n);else if(t<1e6)s(6,3,n),s(t,21,n);else throw RangeError(`ECI assignment value out of range`);return new e(e.Mode.ECI,0,n)}static isNumeric(t){return e.NUMERIC_REGEX.test(t)}static isAlphanumeric(t){return e.ALPHANUMERIC_REGEX.test(t)}mode;numChars;bitData;constructor(e,t,n){if(this.mode=e,this.numChars=t,t<0)throw RangeError(`Invalid argument`);this.bitData=n.slice()}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(let r of e){let e=r.mode.numCharCountBits(t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)e.charAt(n)==`%`?(t.push(parseInt(e.substring(n+1,n+3),16)),n+=2):t.push(e.charCodeAt(n));return t}static NUMERIC_REGEX=/^[0-9]*$/;static ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/;static ALPHANUMERIC_CHARSET=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:`},d=class e{static LOW=new e(0,1);static MEDIUM=new e(1,0);static QUARTILE=new e(2,3);static HIGH=new e(3,2);ordinal;formatBits;constructor(e,t){this.ordinal=e,this.formatBits=t}},f=class e{static NUMERIC=new e(1,[10,12,14]);static ALPHANUMERIC=new e(2,[9,11,13]);static BYTE=new e(4,[8,16,16]);static KANJI=new e(8,[8,10,12]);static ECI=new e(7,[0,0,0]);modeBits;numBitsCharCount;constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};o.Ecc=d,u.Mode=f;var p=t(),m={L:o.Ecc.LOW,M:o.Ecc.MEDIUM,Q:o.Ecc.QUARTILE,H:o.Ecc.HIGH};function h(e,t){let n=[];for(let r=0;r<e.size;r+=1){let i=-1;for(let a=0;a<=e.size;a+=1){if(a<e.size&&e.getModule(a,r)){i===-1&&(i=a);continue}i!==-1&&(n.push(`M${i+t} ${r+t}h${a-i}v1H${i+t}z`),i=-1)}}return n.join(``)}var g=(0,i.memo)(function(e){let t=(0,a.c)(38),{value:n,size:r,level:i,marginSize:s,title:c,className:l,foregroundColor:u,backgroundColor:d}=e,f=r===void 0?128:r,g=i===void 0?`L`:i,_=s===void 0?0:s,v=u===void 0?`#000`:u,y=d===void 0?`#fff`:d,b,x,S,C,w,T,E,D,O,k,A;if(t[0]!==y||t[1]!==l||t[2]!==g||t[3]!==_||t[4]!==f||t[5]!==c||t[6]!==n){let e=o.encodeText(n,m[g]),r=e.size+_*2;O=`http://www.w3.org/2000/svg`,k=`0 0 ${r} ${r}`,A=f,b=f,x=`crispEdges`,S=c?`img`:void 0,C=c,w=l,t[18]===c?T=t[19]:(T=c?(0,p.jsx)(`title`,{children:c}):null,t[18]=c,t[19]=T),t[20]!==y||t[21]!==r?(E=(0,p.jsx)(`rect`,{width:r,height:r,fill:y}),t[20]=y,t[21]=r,t[22]=E):E=t[22],D=h(e,_),t[0]=y,t[1]=l,t[2]=g,t[3]=_,t[4]=f,t[5]=c,t[6]=n,t[7]=b,t[8]=x,t[9]=S,t[10]=C,t[11]=w,t[12]=T,t[13]=E,t[14]=D,t[15]=O,t[16]=k,t[17]=A}else b=t[7],x=t[8],S=t[9],C=t[10],w=t[11],T=t[12],E=t[13],D=t[14],O=t[15],k=t[16],A=t[17];let j;t[23]!==v||t[24]!==D?(j=(0,p.jsx)(`path`,{d:D,fill:v}),t[23]=v,t[24]=D,t[25]=j):j=t[25];let M;return t[26]!==b||t[27]!==x||t[28]!==S||t[29]!==C||t[30]!==w||t[31]!==T||t[32]!==E||t[33]!==j||t[34]!==O||t[35]!==k||t[36]!==A?(M=(0,p.jsxs)(`svg`,{xmlns:O,viewBox:k,width:A,height:b,shapeRendering:x,role:S,"aria-label":C,className:w,children:[T,E,j]}),t[26]=b,t[27]=x,t[28]=S,t[29]=C,t[30]=w,t[31]=T,t[32]=E,t[33]=j,t[34]=O,t[35]=k,t[36]=A,t[37]=M):M=t[37],M});export{g as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ua as e}from"./runtime-BmkVEPVk.js";var t={name:`qr-code`,size:24,node:[[`rect`,{width:`5`,height:`5`,x:`3`,y:`3`,rx:`1`,key:`1tu5fj`}],[`rect`,{width:`5`,height:`5`,x:`16`,y:`3`,rx:`1`,key:`1v8r4q`}],[`rect`,{width:`5`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`1x03jg`}],[`path`,{d:`M21 16h-3a2 2 0 0 0-2 2v3`,key:`177gqh`}],[`path`,{d:`M21 21v.01`,key:`ents32`}],[`path`,{d:`M12 7v3a2 2 0 0 1-2 2H7`,key:`8crl2c`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M12 3h.01`,key:`n36tog`}],[`path`,{d:`M12 16v.01`,key:`133mhm`}],[`path`,{d:`M16 12h1`,key:`1slzba`}],[`path`,{d:`M21 12v.01`,key:`1lwtk9`}],[`path`,{d:`M12 21v-1`,key:`1880an`}]]};t.node;var n=e(t);export{n as t};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{t as e}from"./linear-DCT4R0u9.js";import{n as t,t as n}from"./src-BISxbUej.js";import{n as r}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{D as i,H as a,K as o,U as s,a as c,c as l,f as u,v as d,w as f,x as p,y as m,z as h}from"./chunk-I66GZJ75-CDkA1o_8.js";var g=(function(){var e=r(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,3],n=[1,4],i=[1,5],a=[1,6],o=[1,7],s=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],c=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],l=[55,56,57],u=[2,36],d=[1,37],f=[1,36],p=[1,38],m=[1,35],h=[1,43],g=[1,41],_=[1,45],v=[1,14],y=[1,23],b=[1,18],x=[1,19],S=[1,20],C=[1,21],w=[1,22],T=[1,24],E=[1,25],D=[1,26],O=[1,27],k=[1,28],A=[1,29],j=[1,32],M=[1,33],N=[1,34],P=[1,39],F=[1,40],I=[1,42],L=[1,44],R=[1,63],z=[1,62],B=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],ee=[1,66],te=[1,67],ne=[1,68],re=[1,69],ie=[1,70],ae=[1,71],oe=[1,72],se=[1,73],ce=[1,74],le=[1,75],ue=[1,76],de=[1,77],V=[4,5,6,7,8,9,10,11,12,13,14,15,18],H=[1,91],U=[1,92],W=[1,93],G=[1,100],K=[1,94],q=[1,97],J=[1,95],Y=[1,96],X=[1,98],Z=[1,99],fe=[1,103],pe=[10,55,56,57],Q=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],me={trace:r(function(){},`trace`),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:`error`,4:`ALPHA`,5:`NUM`,6:`NODE_STRING`,7:`DOWN`,8:`MINUS`,9:`DEFAULT`,10:`COMMA`,11:`COLON`,12:`AMP`,13:`BRKT`,14:`MULT`,15:`UNICODE_TEXT`,17:`UNIT`,18:`SPACE`,19:`STYLE`,20:`PCT`,25:`CLASSDEF`,28:`QUADRANT`,35:`title`,36:`title_value`,37:`acc_title`,38:`acc_title_value`,39:`acc_descr`,40:`acc_descr_value`,41:`acc_descr_multiline_value`,42:`section`,44:`point_start`,45:`point_x`,46:`point_y`,47:`class_name`,48:`X-AXIS`,49:`AXIS-TEXT-DELIMITER`,50:`Y-AXIS`,51:`QUADRANT_1`,52:`QUADRANT_2`,53:`QUADRANT_3`,54:`QUADRANT_4`,55:`NEWLINE`,56:`SEMI`,57:`EOF`,60:`STR`,61:`MD_STR`,63:`PUNCTUATION`,64:`PLUS`,65:`EQUALS`,66:`DOT`,67:`UNDERSCORE`},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:r(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 23:this.$=a[s];break;case 24:this.$=a[s-1]+``+a[s];break;case 26:this.$=a[s-1]+a[s];break;case 27:this.$=[a[s].trim()];break;case 28:a[s-2].push(a[s].trim()),this.$=a[s-2];break;case 29:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 37:this.$=[];break;case 42:this.$=a[s].trim(),r.setDiagramTitle(this.$);break;case 43:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 44:case 45:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 46:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 47:r.addPoint(a[s-3],``,a[s-1],a[s],[]);break;case 48:r.addPoint(a[s-4],a[s-3],a[s-1],a[s],[]);break;case 49:r.addPoint(a[s-4],``,a[s-2],a[s-1],a[s]);break;case 50:r.addPoint(a[s-5],a[s-4],a[s-2],a[s-1],a[s]);break;case 51:r.setXAxisLeftText(a[s-2]),r.setXAxisRightText(a[s]);break;case 52:a[s-1].text+=` ⟶ `,r.setXAxisLeftText(a[s-1]);break;case 53:r.setXAxisLeftText(a[s]);break;case 54:r.setYAxisBottomText(a[s-2]),r.setYAxisTopText(a[s]);break;case 55:a[s-1].text+=` ⟶ `,r.setYAxisBottomText(a[s-1]);break;case 56:r.setYAxisBottomText(a[s]);break;case 57:r.setQuadrant1Text(a[s]);break;case 58:r.setQuadrant2Text(a[s]);break;case 59:r.setQuadrant3Text(a[s]);break;case 60:r.setQuadrant4Text(a[s]);break;case 64:this.$={text:a[s],type:`text`};break;case 65:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 66:this.$={text:a[s],type:`text`};break;case 67:this.$={text:a[s],type:`markdown`};break;case 68:this.$=a[s];break;case 69:this.$=a[s-1]+``+a[s]}},`anonymous`),table:[{18:t,26:1,27:2,28:n,55:i,56:a,57:o},{1:[3]},{18:t,26:8,27:2,28:n,55:i,56:a,57:o},{18:t,26:9,27:2,28:n,55:i,56:a,57:o},e(s,[2,33],{29:10}),e(c,[2,61]),e(c,[2,62]),e(c,[2,63]),{1:[2,30]},{1:[2,31]},e(l,u,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:d,5:f,10:p,12:m,13:h,14:g,15:_,18:v,25:y,35:b,37:x,39:S,41:C,42:w,48:T,50:E,51:D,52:O,53:k,54:A,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),e(s,[2,34]),{27:46,55:i,56:a,57:o},e(l,[2,37]),e(l,u,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:d,5:f,10:p,12:m,13:h,14:g,15:_,18:v,25:y,35:b,37:x,39:S,41:C,42:w,48:T,50:E,51:D,52:O,53:k,54:A,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),e(l,[2,39]),e(l,[2,40]),e(l,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},e(l,[2,45]),e(l,[2,46]),{18:[1,51]},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:52,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:53,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:54,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:55,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:56,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:57,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,44:[1,58],47:[1,59],58:61,59:60,63:N,64:P,65:F,66:I,67:L},e(B,[2,64]),e(B,[2,66]),e(B,[2,67]),e(B,[2,70]),e(B,[2,71]),e(B,[2,72]),e(B,[2,73]),e(B,[2,74]),e(B,[2,75]),e(B,[2,76]),e(B,[2,77]),e(B,[2,78]),e(B,[2,79]),e(B,[2,80]),e(B,[2,81]),e(s,[2,35]),e(l,[2,38]),e(l,[2,42]),e(l,[2,43]),e(l,[2,44]),{3:65,4:ee,5:te,6:ne,7:re,8:ie,9:ae,10:oe,11:se,12:ce,13:le,14:ue,15:de,21:64},e(l,[2,53],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,49:[1,78],63:N,64:P,65:F,66:I,67:L}),e(l,[2,56],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,49:[1,79],63:N,64:P,65:F,66:I,67:L}),e(l,[2,57],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),e(l,[2,58],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),e(l,[2,59],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),e(l,[2,60],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),{45:[1,80]},{44:[1,81]},e(B,[2,65]),e(B,[2,82]),e(B,[2,83]),e(B,[2,84]),{3:83,4:ee,5:te,6:ne,7:re,8:ie,9:ae,10:oe,11:se,12:ce,13:le,14:ue,15:de,18:[1,82]},e(V,[2,23]),e(V,[2,1]),e(V,[2,2]),e(V,[2,3]),e(V,[2,4]),e(V,[2,5]),e(V,[2,6]),e(V,[2,7]),e(V,[2,8]),e(V,[2,9]),e(V,[2,10]),e(V,[2,11]),e(V,[2,12]),e(l,[2,52],{58:31,43:84,4:d,5:f,10:p,12:m,13:h,14:g,15:_,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),e(l,[2,55],{58:31,43:85,4:d,5:f,10:p,12:m,13:h,14:g,15:_,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),{46:[1,86]},{45:[1,87]},{4:H,5:U,6:W,8:G,11:K,13:q,16:90,17:J,18:Y,19:X,20:Z,22:89,23:88},e(V,[2,24]),e(l,[2,51],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),e(l,[2,54],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),e(l,[2,47],{22:89,16:90,23:101,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z}),{46:[1,102]},e(l,[2,29],{10:fe}),e(pe,[2,27],{16:104,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z}),e(Q,[2,25]),e(Q,[2,13]),e(Q,[2,14]),e(Q,[2,15]),e(Q,[2,16]),e(Q,[2,17]),e(Q,[2,18]),e(Q,[2,19]),e(Q,[2,20]),e(Q,[2,21]),e(Q,[2,22]),e(l,[2,49],{10:fe}),e(l,[2,48],{22:89,16:90,23:105,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z}),{4:H,5:U,6:W,8:G,11:K,13:q,16:90,17:J,18:Y,19:X,20:Z,22:106},e(Q,[2,26]),e(l,[2,50],{10:fe}),e(pe,[2,28],{16:104,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z})],defaultActions:{8:[2,30],9:[2,31]},parseError:r(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:r(function(e){var t=this,n=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){n.length-=2*e,a.length-=e,o.length-=e}r(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=t.symbols_[e]||e),e}r(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=n[n.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
|
+
`+h.showPosition()+`
|
|
3
|
+
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:n.push(S),a.push(h.yytext),o.push(h.yylloc),n.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(n=n.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),n.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0},`parse`)};me.lexer=(function(){return{EOF:1,parseError:r(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:r(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:r(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:r(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:r(function(){return this._more=!0,this},`more`),reject:r(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:r(function(e){this.unput(this.match.slice(e))},`less`),pastInput:r(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:r(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:r(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
5
|
+
`+t+`^`},`showPosition`),test_match:r(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:r(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e!==!1&&e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:r(function(){return this.next()||this.lex()},`lex`),begin:r(function(e){this.conditionStack.push(e)},`begin`),popState:r(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:r(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:r(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:r(function(e){this.begin(e)},`pushState`),stateStackSize:r(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:r(function(e,t,n,r){switch(n){case 0:break;case 1:break;case 2:return 55;case 3:break;case 4:return this.begin(`title`),35;case 5:return this.popState(),`title_value`;case 6:return this.begin(`acc_title`),37;case 7:return this.popState(),`acc_title_value`;case 8:return this.begin(`acc_descr`),39;case 9:return this.popState(),`acc_descr_value`;case 10:this.begin(`acc_descr_multiline`);break;case 11:this.popState();break;case 12:return`acc_descr_multiline_value`;case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin(`md_string`);break;case 22:return`MD_STR`;case 23:this.popState();break;case 24:this.begin(`string`);break;case 25:this.popState();break;case 26:return`STR`;case 27:this.begin(`class_name`);break;case 28:return this.popState(),47;case 29:return this.begin(`point_start`),44;case 30:return this.begin(`point_x`),45;case 31:this.popState();break;case 32:this.popState(),this.begin(`point_y`);break;case 33:return this.popState(),46;case 34:return 28;case 35:return 4;case 36:return 15;case 37:return 11;case 38:return 64;case 39:return 10;case 40:return 65;case 41:return 65;case 42:return 14;case 43:return 13;case 44:return 67;case 45:return 66;case 46:return 12;case 47:return 8;case 48:return 5;case 49:return 18;case 50:return 56;case 51:return 63;case 52:return 57}},`anonymous`),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?:[^\x00-\x7F]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}}})();function $(){this.yy={}}return r($,`Parser`),$.prototype=me,me.Parser=$,new $})();g.parser=g;var _=g,v=i(),y=class{constructor(){this.classes=new Map,this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{r(this,`QuadrantBuilder`)}getDefaultData(){return{titleText:``,quadrant1Text:``,quadrant2Text:``,quadrant3Text:``,quadrant4Text:``,xAxisLeftText:``,xAxisRightText:``,yAxisBottomText:``,yAxisTopText:``,points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:u.quadrantChart?.chartWidth||500,chartWidth:u.quadrantChart?.chartHeight||500,titlePadding:u.quadrantChart?.titlePadding||10,titleFontSize:u.quadrantChart?.titleFontSize||20,quadrantPadding:u.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:u.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:u.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:u.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:u.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:u.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:u.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:u.quadrantChart?.pointTextPadding||5,pointLabelFontSize:u.quadrantChart?.pointLabelFontSize||12,pointRadius:u.quadrantChart?.pointRadius||5,xAxisPosition:u.quadrantChart?.xAxisPosition||`top`,yAxisPosition:u.quadrantChart?.yAxisPosition||`left`,quadrantInternalBorderStrokeWidth:u.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:u.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:v.quadrant1Fill,quadrant2Fill:v.quadrant2Fill,quadrant3Fill:v.quadrant3Fill,quadrant4Fill:v.quadrant4Fill,quadrant1TextFill:v.quadrant1TextFill,quadrant2TextFill:v.quadrant2TextFill,quadrant3TextFill:v.quadrant3TextFill,quadrant4TextFill:v.quadrant4TextFill,quadrantPointFill:v.quadrantPointFill,quadrantPointTextFill:v.quadrantPointTextFill,quadrantXAxisTextFill:v.quadrantXAxisTextFill,quadrantYAxisTextFill:v.quadrantYAxisTextFill,quadrantTitleFill:v.quadrantTitleFill,quadrantInternalBorderStrokeFill:v.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:v.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,t.info(`clear called`)}setData(e){this.data={...this.data,...e}}addPoints(e){this.data.points=[...e,...this.data.points]}addClass(e,t){this.classes.set(e,t)}setConfig(e){t.trace(`setConfig called with: `,e),this.config={...this.config,...e}}setThemeConfig(e){t.trace(`setThemeConfig called with: `,e),this.themeConfig={...this.themeConfig,...e}}calculateSpace(e,t,n,r){let i=this.config.xAxisLabelPadding*2+this.config.xAxisLabelFontSize,a={top:e===`top`&&t?i:0,bottom:e===`bottom`&&t?i:0},o=this.config.yAxisLabelPadding*2+this.config.yAxisLabelFontSize,s={left:this.config.yAxisPosition===`left`&&n?o:0,right:this.config.yAxisPosition===`right`&&n?o:0},c=this.config.titleFontSize+this.config.titlePadding*2,l={top:r?c:0},u=this.config.quadrantPadding+s.left,d=this.config.quadrantPadding+a.top+l.top,f=this.config.chartWidth-this.config.quadrantPadding*2-s.left-s.right,p=this.config.chartHeight-this.config.quadrantPadding*2-a.top-a.bottom-l.top;return{xAxisSpace:a,yAxisSpace:s,titleSpace:l,quadrantSpace:{quadrantLeft:u,quadrantTop:d,quadrantWidth:f,quadrantHalfWidth:f/2,quadrantHeight:p,quadrantHalfHeight:p/2}}}getAxisLabels(e,t,n,r){let{quadrantSpace:i,titleSpace:a}=r,{quadrantHalfHeight:o,quadrantHeight:s,quadrantLeft:c,quadrantHalfWidth:l,quadrantTop:u,quadrantWidth:d}=i,f=!!this.data.xAxisRightText,p=!!this.data.yAxisTopText,m=[];return this.data.xAxisLeftText&&t&&m.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:c+(f?l/2:0),y:e===`top`?this.config.xAxisLabelPadding+a.top:this.config.xAxisLabelPadding+u+s+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:f?`center`:`left`,horizontalPos:`top`,rotation:0}),this.data.xAxisRightText&&t&&m.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:c+l+(f?l/2:0),y:e===`top`?this.config.xAxisLabelPadding+a.top:this.config.xAxisLabelPadding+u+s+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:f?`center`:`left`,horizontalPos:`top`,rotation:0}),this.data.yAxisBottomText&&n&&m.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition===`left`?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+c+d+this.config.quadrantPadding,y:u+s-(p?o/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:p?`center`:`left`,horizontalPos:`top`,rotation:-90}),this.data.yAxisTopText&&n&&m.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:this.config.yAxisPosition===`left`?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+c+d+this.config.quadrantPadding,y:u+o-(p?o/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:p?`center`:`left`,horizontalPos:`top`,rotation:-90}),m}getQuadrants(e){let{quadrantSpace:t}=e,{quadrantHalfHeight:n,quadrantLeft:r,quadrantHalfWidth:i,quadrantTop:a}=t,o=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:`center`,horizontalPos:`middle`,rotation:0},x:r+i,y:a,width:i,height:n,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:`center`,horizontalPos:`middle`,rotation:0},x:r,y:a,width:i,height:n,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:`center`,horizontalPos:`middle`,rotation:0},x:r,y:a+n,width:i,height:n,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:`center`,horizontalPos:`middle`,rotation:0},x:r+i,y:a+n,width:i,height:n,fill:this.themeConfig.quadrant4Fill}];for(let e of o)e.text.x=e.x+e.width/2,this.data.points.length===0?(e.text.y=e.y+e.height/2,e.text.horizontalPos=`middle`):(e.text.y=e.y+this.config.quadrantTextTopPadding,e.text.horizontalPos=`top`);return o}getQuadrantPoints(t){let{quadrantSpace:n}=t,{quadrantHeight:r,quadrantLeft:i,quadrantTop:a,quadrantWidth:o}=n,s=e().domain([0,1]).range([i,o+i]),c=e().domain([0,1]).range([r+a,a]);return this.data.points.map(e=>{let t=this.classes.get(e.className);return t&&(e={...t,...e}),{x:s(e.x),y:c(e.y),fill:e.color??this.themeConfig.quadrantPointFill,radius:e.radius??this.config.pointRadius,text:{text:e.text,fill:this.themeConfig.quadrantPointTextFill,x:s(e.x),y:c(e.y)+this.config.pointTextPadding,verticalPos:`center`,horizontalPos:`top`,fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:e.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:e.strokeWidth??`0px`}})}getBorders(e){let t=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:n}=e,{quadrantHalfHeight:r,quadrantHeight:i,quadrantLeft:a,quadrantHalfWidth:o,quadrantTop:s,quadrantWidth:c}=n;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a-t,y1:s,x2:a+c+t,y2:s},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a+c,y1:s+t,x2:a+c,y2:s+i-t},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a-t,y1:s+i,x2:a+c+t,y2:s+i},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a,y1:s+t,x2:a,y2:s+i-t},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:a+o,y1:s+t,x2:a+o,y2:s+i-t},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:a+t,y1:s+r,x2:a+c-t,y2:s+r}]}getTitle(e){if(e)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:`top`,verticalPos:`center`,rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){let e=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),t=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),n=this.config.showTitle&&!!this.data.titleText,r=this.data.points.length>0?`bottom`:this.config.xAxisPosition,i=this.calculateSpace(r,e,t,n);return{points:this.getQuadrantPoints(i),quadrants:this.getQuadrants(i),axisLabels:this.getAxisLabels(r,e,t,i),borderLines:this.getBorders(i),title:this.getTitle(n)}}},b=class extends Error{static{r(this,`InvalidStyleError`)}constructor(e,t,n){super(`value for ${e} ${t} is invalid, please use a valid ${n}`),this.name=`InvalidStyleError`}};function x(e){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(e)}r(x,`validateHexCode`);function S(e){return!/^\d+$/.test(e)}r(S,`validateNumber`);function C(e){return!/^\d+px$/.test(e)}r(C,`validateSizeInPixels`);function w(e){return h(e.trim(),p())}r(w,`textSanitizer`);var T=new y;function E(e){T.setData({quadrant1Text:w(e.text)})}r(E,`setQuadrant1Text`);function D(e){T.setData({quadrant2Text:w(e.text)})}r(D,`setQuadrant2Text`);function O(e){T.setData({quadrant3Text:w(e.text)})}r(O,`setQuadrant3Text`);function k(e){T.setData({quadrant4Text:w(e.text)})}r(k,`setQuadrant4Text`);function A(e){T.setData({xAxisLeftText:w(e.text)})}r(A,`setXAxisLeftText`);function j(e){T.setData({xAxisRightText:w(e.text)})}r(j,`setXAxisRightText`);function M(e){T.setData({yAxisTopText:w(e.text)})}r(M,`setYAxisTopText`);function N(e){T.setData({yAxisBottomText:w(e.text)})}r(N,`setYAxisBottomText`);function P(e){let t={};for(let n of e){let[e,r]=n.trim().split(/\s*:\s*/);if(e===`radius`){if(S(r))throw new b(e,r,`number`);t.radius=parseInt(r)}else if(e===`color`){if(x(r))throw new b(e,r,`hex code`);t.color=r}else if(e===`stroke-color`){if(x(r))throw new b(e,r,`hex code`);t.strokeColor=r}else if(e===`stroke-width`){if(C(r))throw new b(e,r,`number of pixels (eg. 10px)`);t.strokeWidth=r}else throw Error(`style named ${e} is not supported.`)}return t}r(P,`parseStyles`);function F(e,t,n,r,i){let a=P(i);T.addPoints([{x:n,y:r,text:w(e.text),className:t,...a}])}r(F,`addPoint`);function I(e,t){T.addClass(e,P(t))}r(I,`addClass`);function L(e){T.setConfig({chartWidth:e})}r(L,`setWidth`);function R(e){T.setConfig({chartHeight:e})}r(R,`setHeight`);function z(){let{themeVariables:e,quadrantChart:t}=p();return t&&T.setConfig(t),T.setThemeConfig({quadrant1Fill:e.quadrant1Fill,quadrant2Fill:e.quadrant2Fill,quadrant3Fill:e.quadrant3Fill,quadrant4Fill:e.quadrant4Fill,quadrant1TextFill:e.quadrant1TextFill,quadrant2TextFill:e.quadrant2TextFill,quadrant3TextFill:e.quadrant3TextFill,quadrant4TextFill:e.quadrant4TextFill,quadrantPointFill:e.quadrantPointFill,quadrantPointTextFill:e.quadrantPointTextFill,quadrantXAxisTextFill:e.quadrantXAxisTextFill,quadrantYAxisTextFill:e.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:e.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:e.quadrantInternalBorderStrokeFill,quadrantTitleFill:e.quadrantTitleFill}),T.setData({titleText:f()}),T.build()}r(z,`getQuadrantData`);var B={parser:_,db:{setWidth:L,setHeight:R,setQuadrant1Text:E,setQuadrant2Text:D,setQuadrant3Text:O,setQuadrant4Text:k,setXAxisLeftText:A,setXAxisRightText:j,setYAxisTopText:M,setYAxisBottomText:N,parseStyles:P,addPoint:F,addClass:I,getQuadrantData:z,clear:r(function(){T.clear(),c()},`clear`),setAccTitle:s,getAccTitle:m,setDiagramTitle:o,getDiagramTitle:f,getAccDescription:d,setAccDescription:a},renderer:{draw:r((e,i,a,o)=>{function s(e){return e===`top`?`hanging`:`middle`}r(s,`getDominantBaseLine`);function c(e){return e===`left`?`start`:`middle`}r(c,`getTextAnchor`);function u(e){return`translate(${e.x}, ${e.y}) rotate(${e.rotation||0})`}r(u,`getTransformation`);let d=p();t.debug(`Rendering quadrant chart
|
|
7
|
+
`+e);let f=d.securityLevel,m;f===`sandbox`&&(m=n(`#i`+i));let h=n(f===`sandbox`?m.nodes()[0].contentDocument.body:`body`).select(`[id="${i}"]`),g=h.append(`g`).attr(`class`,`main`),_=d.quadrantChart?.chartWidth??500,v=d.quadrantChart?.chartHeight??500;l(h,v,_,d.quadrantChart?.useMaxWidth??!0),h.attr(`viewBox`,`0 0 `+_+` `+v),o.db.setHeight(v),o.db.setWidth(_);let y=o.db.getQuadrantData(),b=g.append(`g`).attr(`class`,`quadrants`),x=g.append(`g`).attr(`class`,`border`),S=g.append(`g`).attr(`class`,`data-points`),C=g.append(`g`).attr(`class`,`labels`),w=g.append(`g`).attr(`class`,`title`);y.title&&w.append(`text`).attr(`x`,0).attr(`y`,0).attr(`fill`,y.title.fill).attr(`font-size`,y.title.fontSize).attr(`dominant-baseline`,s(y.title.horizontalPos)).attr(`text-anchor`,c(y.title.verticalPos)).attr(`transform`,u(y.title)).text(y.title.text),y.borderLines&&x.selectAll(`line`).data(y.borderLines).enter().append(`line`).attr(`x1`,e=>e.x1).attr(`y1`,e=>e.y1).attr(`x2`,e=>e.x2).attr(`y2`,e=>e.y2).style(`stroke`,e=>e.strokeFill).style(`stroke-width`,e=>e.strokeWidth);let T=b.selectAll(`g.quadrant`).data(y.quadrants).enter().append(`g`).attr(`class`,`quadrant`);T.append(`rect`).attr(`x`,e=>e.x).attr(`y`,e=>e.y).attr(`width`,e=>e.width).attr(`height`,e=>e.height).attr(`fill`,e=>e.fill),T.append(`text`).attr(`x`,0).attr(`y`,0).attr(`fill`,e=>e.text.fill).attr(`font-size`,e=>e.text.fontSize).attr(`dominant-baseline`,e=>s(e.text.horizontalPos)).attr(`text-anchor`,e=>c(e.text.verticalPos)).attr(`transform`,e=>u(e.text)).text(e=>e.text.text),C.selectAll(`g.label`).data(y.axisLabels).enter().append(`g`).attr(`class`,`label`).append(`text`).attr(`x`,0).attr(`y`,0).text(e=>e.text).attr(`fill`,e=>e.fill).attr(`font-size`,e=>e.fontSize).attr(`dominant-baseline`,e=>s(e.horizontalPos)).attr(`text-anchor`,e=>c(e.verticalPos)).attr(`transform`,e=>u(e));let E=S.selectAll(`g.data-point`).data(y.points).enter().append(`g`).attr(`class`,`data-point`);E.append(`circle`).attr(`cx`,e=>e.x).attr(`cy`,e=>e.y).attr(`r`,e=>e.radius).attr(`fill`,e=>e.fill).attr(`stroke`,e=>e.strokeColor).attr(`stroke-width`,e=>e.strokeWidth),E.append(`text`).attr(`x`,0).attr(`y`,0).text(e=>e.text.text).attr(`fill`,e=>e.text.fill).attr(`font-size`,e=>e.text.fontSize).attr(`dominant-baseline`,e=>s(e.text.horizontalPos)).attr(`text-anchor`,e=>c(e.text.verticalPos)).attr(`transform`,e=>u(e.text))},`draw`)},styles:r(()=>``,`styles`)};export{B as diagram};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./rolldown-runtime-hePW80VL.js";var t=e({default:()=>n}),n=[Object.freeze(JSON.parse(`{"displayName":"R","fileTypes":["R","r","Rprofile"],"foldingStartMarker":"\\\\{\\\\s*(?:#|$)","foldingStopMarker":"^\\\\s*}","name":"r","patterns":[{"include":"#roxygen-example"},{"include":"#basic"}],"repository":{"basic":{"patterns":[{"include":"#roxygen"},{"include":"#comment"},{"include":"#expression"}]},"basic-roxygen-example":{"patterns":[{"match":"^\\\\s*#+'","name":"comment.line"},{"include":"#comment"},{"include":"#expression"}]},"brackets":{"patterns":[{"begin":"\\\\{","end":"}","name":"meta.bracket","patterns":[{"include":"#basic"}]},{"begin":"\\\\[","end":"]","name":"meta.bracket","patterns":[{"captures":{"1":{"name":"variable.parameter"}},"match":"([.\\\\w]+)\\\\s*(?==[^=])"},{"include":"#basic"}]},{"begin":"\\\\(","end":"\\\\)","name":"meta.bracket","patterns":[{"captures":{"1":{"name":"variable.parameter"}},"match":"([.\\\\w]+)\\\\s*(?==[^=])"},{"include":"#basic"}]}]},"comment":{"match":"#.*","name":"comment.line"},"escape-code":{"match":"\\\\\\\\[\\"'\\\\\\\\\`abefnrtv]","name":"constant.character.escape"},"escape-hex":{"match":"\\\\\\\\x\\\\h+","name":"constant.numeric"},"escape-invalid":{"match":"\\\\\\\\.","name":"invalid"},"escape-octal":{"match":"\\\\\\\\\\\\d{1,3}","name":"constant.character.escape"},"escape-unicode":{"match":"\\\\\\\\[Uu](?:\\\\h+|\\\\{\\\\h+})","name":"constant.character.escape"},"escapes":{"patterns":[{"include":"#escape-code"},{"include":"#escape-hex"},{"include":"#escape-octal"},{"include":"#escape-unicode"},{"include":"#escape-invalid"}]},"expression":{"patterns":[{"include":"#brackets"},{"include":"#raw-strings"},{"include":"#strings"},{"include":"#function-definition"},{"include":"#keywords"},{"include":"#namespace-call"},{"include":"#function-call"},{"include":"#identifiers"},{"include":"#numbers"},{"include":"#operators"}]},"function-call":{"captures":{"0":{"name":"meta.function-call"},"1":{"name":"entity.name.function"}},"match":"([.\\\\w]+)(?=\\\\()"},"function-definition":{"begin":"(function)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.other"},"2":{"name":"meta.bracket"}},"end":"(\\\\))","endCaptures":{"1":{"name":"meta.bracket"}},"name":"meta.function.definition","patterns":[{"begin":"([.\\\\w]+)","beginCaptures":{"1":{"name":"variable.parameter"}},"end":"(?=[),])","patterns":[{"include":"#basic"}]},{"include":"#basic"}]},"identifier-quoted":{"begin":"\`","end":"\`","name":"variable.object","patterns":[{"match":"\\\\\\\\\`"}]},"identifier-syntactic":{"match":"[.\\\\p{L}\\\\p{Nl}][.\\\\p{L}\\\\p{Nl}\\\\p{Mn}\\\\p{Mc}\\\\d\\\\p{Pc}]*","name":"variable.object"},"identifiers":{"patterns":[{"include":"#identifier-syntactic"},{"include":"#identifier-quoted"}]},"keywords":{"patterns":[{"include":"#keywords-control"},{"include":"#keywords-builtin"},{"include":"#keywords-constant"}]},"keywords-builtin":{"match":"(?:setGroupGeneric|setRefClass|setGeneric|NextMethod|setMethod|UseMethod|tryCatch|setClass|warning|require|library|R6Class|return|switch|attach|detach|source|stop|try)(?=\\\\()","name":"keyword.other"},"keywords-constant":{"match":"(?:NA_character_|NA_integer_|NA_complex_|NA_real_|TRUE|FALSE|NULL|Inf|NaN|NA)\\\\b","name":"constant.language"},"keywords-control":{"match":"(?:\\\\\\\\|function|if|else|in|break|next|repeat|for|while)\\\\b","name":"keyword"},"latex":{"patterns":[{"match":"\\\\\\\\\\\\w+","name":"keyword.other"}]},"markdown":{"patterns":[{"begin":"(\`{3,})\\\\s*(.*)","beginCaptures":{"1":{"name":"comment.line"},"2":{"name":"entity.name.section"}},"end":"(\\\\1)","endCaptures":{"1":{"name":"comment.line"}},"patterns":[{"match":"^\\\\s*#+'","name":"comment.line"}]},{"captures":{"1":{"name":"meta.bracket"},"2":{"name":"variable.object"},"3":{"name":"keyword.operator"},"4":{"name":"entity.name.function"},"5":{"name":"meta.bracket"},"6":{"name":"meta.bracket"}},"match":"(\\\\[)(?:(\\\\w+)(:{2,3}))?(\\\\w+)(\\\\(\\\\))?(])"},{"match":"(\\\\s+|^)(__.+?__)\\\\b","name":"markdown.bold"},{"match":"(\\\\s+|^)(_(?=[^_])(?:\\\\\\\\.|[^\\\\\\\\_])*?_)\\\\b","name":"markdown.italic"},{"match":"(\\\\*\\\\*.+?\\\\*\\\\*)","name":"markdown.bold"},{"match":"(\\\\*(?=[^*\\\\s])(?:\\\\\\\\.|[^*\\\\\\\\])*?\\\\*)","name":"markdown.italic"},{"match":"(\`(?:[^\\\\\\\\\`]|\\\\\\\\.)*\`)","name":"markup.quote"},{"match":"(<)([^>]*)(>)","name":"markup.underline.link"}]},"namespace-call":{"captures":{"1":{"name":"entity.name.namespace.r"},"2":{"name":"keyword.operator"}},"match":"(?<![.0-9A-Z_a-z])([.A-Z_a-z][.0-9A-Z_a-z]*)(:::?)"},"numbers":{"patterns":[{"match":"0[Xx]\\\\h+(?:p[-+]?\\\\d+)?[Li]?","name":"constant.numeric"},{"match":"(?:\\\\d+(?:\\\\.\\\\d*)?|\\\\.\\\\d+)(?:[Ee][-+]?\\\\d*)?[Li]?","name":"constant.numeric"}]},"operators":{"match":"%.*?%|:::?|:=|\\\\|>|=>|%%|>=|<=|==|!=|<<-|->>?|<-|\\\\|\\\\||&&|[-+=]|\\\\*\\\\*?|[!$\\\\&,/:<>?@^|~]","name":"keyword.operator"},"qqstring":{"begin":"\\"","end":"\\"","name":"string.quoted.double","patterns":[{"include":"#escapes"}]},"qstring":{"begin":"'","end":"'","name":"string.quoted.single","patterns":[{"include":"#escapes"}]},"raw-strings":{"name":"string.quoted.other","patterns":[{"begin":"[Rr]\\"(-*)\\\\{","end":"}\\\\1\\"","name":"string.quoted.other"},{"begin":"[Rr]'(-*)\\\\{","end":"}\\\\1'","name":"string.quoted.other"},{"begin":"[Rr]\\"(-*)\\\\[","end":"]\\\\1\\"","name":"string.quoted.other"},{"begin":"[Rr]'(-*)\\\\[","end":"]\\\\1'","name":"string.quoted.other"},{"begin":"[Rr]\\"(-*)\\\\(","end":"\\\\)\\\\1\\"","name":"string.quoted.other"},{"begin":"[Rr]'(-*)\\\\(","end":"\\\\)\\\\1'","name":"string.quoted.other"}]},"roxygen":{"begin":"^(\\\\s*#+')","beginCaptures":{"1":{"name":"comment.line.roxygen"}},"end":"$","patterns":[{"include":"#markdown"},{"include":"#roxygen-tokens"},{"include":"#latex"},{"match":".","name":"comment.line"}]},"roxygen-example":{"begin":"^(\\\\s*#+')\\\\s*(?:(@examples)\\\\s*|(@examplesIf)\\\\s+(.*))$","beginCaptures":{"1":{"name":"comment.line"},"2":{"name":"keyword.other"},"3":{"name":"keyword.other"},"4":{"patterns":[{"include":"#expression"}]}},"end":"^(?:\\\\s*(?=#+'\\\\s*@)|\\\\s*(?!#+'))","patterns":[{"match":"^\\\\s*#+'","name":"comment.line"},{"match":"[]()\\\\[{}]","name":"meta.bracket"},{"include":"#latex"},{"include":"#roxygen-tokens"},{"include":"#basic-roxygen-example"}]},"roxygen-tokens":{"patterns":[{"match":"@@","name":"constant.character.escape"},{"begin":"(@(?:param|field|slot))\\\\s*","beginCaptures":{"1":{"name":"keyword.other"}},"end":"\\\\s|$","patterns":[{"match":"([.\\\\w]+)","name":"variable.parameter"},{"match":",","name":"keyword.operator"}]},{"match":"@(?!@)\\\\w*","name":"keyword.other"}]},"strings":{"patterns":[{"include":"#qstring"},{"include":"#qqstring"}]}},"scopeName":"source.r"}`))];export{t as n,n as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-FOHPRMQF-CoA4358r.js";import{v as e}from"./mermaid-parser.core-DFyHLivv.js";export{e as createRadarServices};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-hePW80VL.js";import{As as t,Dl as n,Ds as r,Fl as i,Il as a,Jr as o,Kr as s,Ll as c,Oc as l,Ol as u,Pl as d,Po as f,Va as p,Xo as m,as as h,cl as g,fa as _,fl as v,ii as y,kl as b,ks as x,nl as S,os as C,pl as w,sl as T,ws as E,yc as D}from"./runtime-BmkVEPVk.js";import{t as O}from"./react-CwJFpaho.js";import{At as k,Ft as A,Ht as j,It as M,Nt as N,Pn as P,Pt as F,Vt as ee,ar as I,kt as L}from"./switch-DRWMuFAB.js";import{t as R}from"./compiler-runtime-C4g8XhC5.js";import{i as z,n as B,t as V}from"./tooltip-DCkohGhZ.js";import{u as H}from"./useScrollLock-CBkwVMhR.js";import{x as U}from"./badge-DLmSMsDm.js";import{n as W}from"./capabilities-8t5cq9FQ.js";import{t as te}from"./useBaseUiId-mt0hfEAe.js";import{t as ne}from"./useValueChanged-DdYHxdoK.js";import{t as G}from"./useControlled-CgAAWIy9.js";import{i as K,l as q,n as re,r as ie,s as ae,t as oe,u as J}from"./useLabelableId-Cvt4WsTl.js";import{c as Y}from"./MobileSheet-CJK9LUkP.js";import{n as se,t as X}from"./CompositeRoot-C2w3pPeh.js";import"./providerModels-B6q2qkJn.js";import"./usage-C8xQ6Fzh.js";var Z=R(),Q=n(),$=e(O(),1),ce=$.createContext(void 0);function le(e=!1){let t=$.useContext(ce);if(!t&&!e)throw Error(T(86));return t}Object.keys(q);function ue(e,t){return e.matches(`:disabled`)?!1:!t||e.form===t||e.form===null&&!e.hasAttribute(`form`)}var de=$.createContext({disabled:!1});function fe(){return $.useContext(de)}var pe=360;function me(e){return Number.isFinite(e)?e<0?0:e>100?100:e:null}function he(e){let t=e.windowDurationMins;if(typeof t!=`number`||!Number.isFinite(t)||t<=0)return{label:`Window`,bucket:`other`};if(t<=pe)return{label:`${Math.max(1,Math.round(t/60))}h`,bucket:`short`};if(t>=40320)return{label:`Monthly`,bucket:`month`};if(t>=9720&&t<=10440)return{label:`Weekly`,bucket:`week`};let n=Math.round(t/1440);return n>=1?{label:`${n}d`,bucket:`other`}:{label:`${Math.max(1,Math.round(t/60))}h`,bucket:`other`}}function ge(e,t,n,r){let i=t===void 0?NaN:Date.parse(t),a=(e.resetsAt??NaN)*1e3,o=(e.windowDurationMins??NaN)*6e4,s=e.usedPercent;if(!r||!Number.isFinite(n)||!Number.isFinite(i)||i<=0||i>n||!Number.isFinite(a)||a<=n||!Number.isFinite(o)||o<=0||!Number.isFinite(s)||s<0||s>100)return{status:`unavailable`};let c=(o-(a-i))/o;if(c<0||c>=1)return{status:`unavailable`};let l=c*100,u=s-l;return c<.03||Math.abs(u)<=2?{status:`quiet`}:{status:u<0?`reserve`:`deficit`,points:Math.round(Math.abs(u)),expectedUsedPercent:l}}function _e(e){return e.status===`unavailable`?`Pace unavailable`:e.status===`quiet`?null:`${e.points} percentage points ${e.status===`reserve`?`below`:`above`} even pace · at last check`}function ve(e,t){return t&&e!=null&&e.enabled&&e.status===`ready`&&e.availability!==`unavailable`&&e.auth.status===`authenticated`}function ye(e){if(typeof e!=`number`||!Number.isFinite(e)||e<=0)return null;let t=new Date(e*1e3);if(!Number.isFinite(t.getTime()))return null;let n=t.toISOString();return I(n)}function be(e){let t=ye(e);return t===null?null:t===`Expired`?`expired`:`resets in ${t.replace(/ left$/,``)}`}function xe(e){let t=(0,Z.c)(16),n;t[0]===e.expectedUsedPercent?n=t[1]:(n=me(e.expectedUsedPercent),t[0]=e.expectedUsedPercent,t[1]=n);let r=n;if(r===null)return null;let i=`Even-pace reference: ${e.description}`,a=`${r}%`,o;t[2]===a?o=t[3]:(o={left:a},t[2]=a,t[3]=o);let s;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Q.jsx)(`span`,{"aria-hidden":`true`,className:`relative h-2.5 w-[3px] rounded-full bg-background shadow-xs`,children:(0,Q.jsx)(`span`,{className:`absolute inset-y-px left-1/2 w-px -translate-x-1/2 rounded-full bg-foreground/70`})}),t[4]=s):s=t[4];let c;t[5]!==e.description||t[6]!==i||t[7]!==o?(c=(0,Q.jsx)(`button`,{type:`button`,title:e.description,"aria-label":i,className:`absolute top-1/2 z-10 flex size-4 -translate-x-1/2 -translate-y-1/2 cursor-help items-center justify-center rounded-sm outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background`,style:o,children:s}),t[5]=e.description,t[6]=i,t[7]=o,t[8]=c):c=t[8];let l=c,u;t[9]===l?u=t[10]:(u=(0,Q.jsx)(z,{render:l}),t[9]=l,t[10]=u);let d;t[11]===e.description?d=t[12]:(d=(0,Q.jsx)(B,{side:`top`,className:`max-w-72 leading-tight`,children:e.description}),t[11]=e.description,t[12]=d);let f;return t[13]!==u||t[14]!==d?(f=(0,Q.jsxs)(V,{children:[u,d]}),t[13]=u,t[14]=d,t[15]=f):f=t[15],f}function Se(e){let t=(0,Z.c)(40),n=me(e.window.usedPercent),r=n===null?null:100-n,i=n!==null&&n>=75,a=e.compact?n!==null&&n>=95?`bg-destructive`:n!==null&&n>=80?`bg-warning`:`bg-foreground/60`:i?`bg-warning`:`bg-foreground/70`,o=n===null?`Unavailable`:e.compact||i?`${n}% used`:`${r}% available`,s;t[0]===e.window.resetsAt?s=t[1]:(s=be(e.window.resetsAt),t[0]=e.window.resetsAt,t[1]=s);let c=s,l,u;t[2]!==e.available||t[3]!==e.checkedAt||t[4]!==e.now||t[5]!==e.window?(l=ge(e.window,e.checkedAt,e.now,e.available),u=_e(l),t[2]=e.available,t[3]=e.checkedAt,t[4]=e.now,t[5]=e.window,t[6]=l,t[7]=u):(l=t[6],u=t[7]);let d=u,f=l.status===`reserve`||l.status===`deficit`?l.expectedUsedPercent:null,p;t[8]===e.label?p=t[9]:(p=(0,Q.jsx)(`span`,{className:`font-medium text-foreground`,children:e.label}),t[8]=e.label,t[9]=p);let m;t[10]===o?m=t[11]:(m=(0,Q.jsx)(`span`,{className:`text-muted-foreground`,children:o}),t[10]=o,t[11]=m);let h;t[12]!==p||t[13]!==m?(h=(0,Q.jsxs)(`div`,{className:`flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1 text-xs`,children:[p,m]}),t[12]=p,t[13]=m,t[14]=h):h=t[14];let g;t[15]!==a||t[16]!==d||t[17]!==f||t[18]!==e.compact||t[19]!==e.label||t[20]!==n?(g=n===null?null:(0,Q.jsxs)(`div`,{className:`relative`,children:[(0,Q.jsx)(`div`,{className:`h-1.5 overflow-hidden rounded-full bg-muted`,role:`progressbar`,"aria-label":`${e.label} window usage`,"aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,children:(0,Q.jsx)(`div`,{className:`h-full rounded-full ${e.compact?``:`transition-[width]`} ${a}`,style:{width:`${n}%`}})}),f!==null&&d?(0,Q.jsx)(xe,{expectedUsedPercent:f,description:d}):null]}),t[15]=a,t[16]=d,t[17]=f,t[18]=e.compact,t[19]=e.label,t[20]=n,t[21]=g):g=t[21];let _;t[22]!==i||t[23]!==e.compact||t[24]!==r||t[25]!==n?(_=!e.compact&&n!==null?(0,Q.jsx)(`span`,{children:i?`${r}% available`:`${n}% used`}):null,t[22]=i,t[23]=e.compact,t[24]=r,t[25]=n,t[26]=_):_=t[26];let v;t[27]===c?v=t[28]:(v=c?(0,Q.jsx)(`span`,{className:`first-letter:uppercase`,children:c}):null,t[27]=c,t[28]=v);let y;t[29]!==_||t[30]!==v?(y=(0,Q.jsxs)(`div`,{className:`flex flex-wrap justify-between gap-x-3 gap-y-1 text-[11px] text-muted-foreground`,children:[_,v]}),t[29]=_,t[30]=v,t[31]=y):y=t[31];let b;t[32]!==l.status||t[33]!==d?(b=l.status===`unavailable`&&d?(0,Q.jsx)(`p`,{className:`text-[11px] leading-relaxed text-muted-foreground`,children:d}):null,t[32]=l.status,t[33]=d,t[34]=b):b=t[34];let x;return t[35]!==h||t[36]!==g||t[37]!==y||t[38]!==b?(x=(0,Q.jsxs)(`div`,{className:`grid min-w-0 gap-1.5`,children:[h,g,y,b]}),t[35]=h,t[36]=g,t[37]=y,t[38]=b,t[39]=x):x=t[39],x}var Ce=`Ultrathink:
|
|
2
|
+
`;function we(e,t,n){return e.map(e=>e.id===t?e.type===`boolean`?{...e,...typeof n==`boolean`?{currentValue:n}:{}}:{...e,...typeof n==`string`?{currentValue:n}:{}}:e)}function Te(e){let{descriptors:t,descriptor:n,value:r,prompt:i,primarySelectDescriptorId:a,ultrathinkInBodyText:o,ultrathinkPromptControlled:s,onChangeDescriptors:c,onPromptChange:l}=e;if(r){if(n.promptInjectedValues?.includes(r)){l(i.trim().length===0?Ce:u(i,`ultrathink`));return}o&&n.id===a||(s&&n.id===a&&l(i.replace(/^Ultrathink:\s*/i,``)),c(we(t,n.id,r)))}}var Ee={none:`None`,minimal:`Min`,low:`Low`,medium:`Med`,high:`High`,xhigh:`XHigh`,max:`Max`,ultra:`Ultra`,ultracode:`UCode`,ultrathink:`Ultra`},De=`bg-slate-400/15 text-slate-700 dark:bg-slate-500/20 dark:text-slate-300`,Oe={none:De,minimal:De,low:De,medium:`bg-blue-500/15 text-blue-700 dark:bg-blue-500/20 dark:text-blue-300`,high:`bg-indigo-500/15 text-indigo-700 dark:bg-indigo-500/20 dark:text-indigo-300`,xhigh:`bg-violet-500/15 text-violet-700 dark:bg-violet-500/20 dark:text-violet-300`,max:`bg-fuchsia-500/15 text-fuchsia-700 dark:bg-fuchsia-500/20 dark:text-fuchsia-300`,ultra:`bg-gradient-to-br from-pink-500/20 to-purple-500/25 text-fuchsia-700 ring-1 ring-fuchsia-500/25 dark:text-fuchsia-300`,ultracode:`bg-rose-500/15 text-rose-700 ring-1 ring-rose-500/25 dark:bg-rose-500/20 dark:text-rose-300`,ultrathink:`bg-gradient-to-br from-pink-500/20 to-purple-500/25 text-fuchsia-700 ring-1 ring-fuchsia-500/25 dark:text-fuchsia-300`},ke={none:`text-slate-600 dark:text-slate-300`,minimal:`text-slate-600 dark:text-slate-300`,low:`text-slate-600 dark:text-slate-300`,medium:`text-blue-600 dark:text-blue-300`,high:`text-indigo-600 dark:text-indigo-300`,xhigh:`text-violet-600 dark:text-violet-300`,max:`text-fuchsia-600 dark:text-fuchsia-300`,ultra:`text-fuchsia-600 dark:text-fuchsia-300`,ultracode:`text-rose-600 dark:text-rose-300`,ultrathink:`text-fuchsia-600 dark:text-fuchsia-300`};function Ae(e){if(e===`none`||e===`minimal`||e===`low`||e===`medium`||e===`high`||e===`xhigh`||e===`max`||e===`ultra`||e===`ultracode`||e===`ultrathink`)return e}function je(e){let t=Ae(e);return t?ke[t]:void 0}var Me=(0,$.memo)(function(e){let t=(0,Z.c)(44),n=e.ultrathinkPromptControlled?`ultrathink`:typeof e.descriptor.currentValue==`string`?e.descriptor.currentValue:void 0,r;t[0]===n?r=t[1]:(r=n===void 0?`medium`:Ae(n),t[0]=n,t[1]=r);let i=r,a=i===`ultra`||i===`ultrathink`,c;t[2]!==n||t[3]!==i||t[4]!==e.descriptor.options?(c=i===void 0?e.descriptor.options.find(e=>e.id===n)?.label??n??Ee.medium:Ee[i],t[2]=n,t[3]=i,t[4]=e.descriptor.options,t[5]=c):c=t[5];let l=c,u=i===void 0?De:Oe[i],d=e.disabled??!1,f=`Reasoning: ${l}`,p=`Reasoning: ${l}`,m;t[6]===u?m=t[7]:(m=o(`gap-1 rounded-md px-1.5 font-medium`,u),t[6]=u,t[7]=m);let h;t[8]!==d||t[9]!==f||t[10]!==p||t[11]!==m?(h=(0,Q.jsx)(s,{size:`xs`,disabled:d,variant:`ghost`,"aria-label":f,title:p,className:m}),t[8]=d,t[9]=f,t[10]=p,t[11]=m,t[12]=h):h=t[12];let g;t[13]!==l||t[14]!==a?(g=a?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(W,{"aria-hidden":`true`,className:`size-3`}),(0,Q.jsx)(`span`,{children:`Ultra`})]}):(0,Q.jsx)(`span`,{children:l}),t[13]=l,t[14]=a,t[15]=g):g=t[15];let _;t[16]!==h||t[17]!==g?(_=(0,Q.jsx)(ee,{openOnHover:!0,delay:150,closeDelay:200,render:h,children:g}),t[16]=h,t[17]=g,t[18]=_):_=t[18];let v=n??``,y;t[19]!==e.descriptor||t[20]!==e.descriptors||t[21]!==e.onChangeDescriptors||t[22]!==e.onPromptChange||t[23]!==e.primarySelectDescriptorId||t[24]!==e.prompt||t[25]!==e.ultrathinkInBodyText||t[26]!==e.ultrathinkPromptControlled?(y=t=>{Te({descriptors:e.descriptors,descriptor:e.descriptor,value:t,prompt:e.prompt,primarySelectDescriptorId:e.primarySelectDescriptorId,ultrathinkInBodyText:e.ultrathinkInBodyText,ultrathinkPromptControlled:e.ultrathinkPromptControlled,onChangeDescriptors:e.onChangeDescriptors,onPromptChange:e.onPromptChange})},t[19]=e.descriptor,t[20]=e.descriptors,t[21]=e.onChangeDescriptors,t[22]=e.onPromptChange,t[23]=e.primarySelectDescriptorId,t[24]=e.prompt,t[25]=e.ultrathinkInBodyText,t[26]=e.ultrathinkPromptControlled,t[27]=y):y=t[27];let b;if(t[28]!==e.descriptor.id||t[29]!==e.descriptor.options||t[30]!==e.primarySelectDescriptorId||t[31]!==e.ultrathinkInBodyText){let n;t[33]!==e.descriptor.id||t[34]!==e.primarySelectDescriptorId||t[35]!==e.ultrathinkInBodyText?(n=t=>(0,Q.jsxs)(A,{value:t.id,className:je(t.id),"data-reasoning-level":t.id,disabled:e.ultrathinkInBodyText&&e.descriptor.id===e.primarySelectDescriptorId,children:[t.label,t.isDefault?` (default)`:``]},t.id),t[33]=e.descriptor.id,t[34]=e.primarySelectDescriptorId,t[35]=e.ultrathinkInBodyText,t[36]=n):n=t[36],b=e.descriptor.options.map(n),t[28]=e.descriptor.id,t[29]=e.descriptor.options,t[30]=e.primarySelectDescriptorId,t[31]=e.ultrathinkInBodyText,t[32]=b}else b=t[32];let x;t[37]!==y||t[38]!==b||t[39]!==v?(x=(0,Q.jsx)(N,{align:`start`,children:(0,Q.jsx)(F,{value:v,onValueChange:y,children:b})}),t[37]=y,t[38]=b,t[39]=v,t[40]=x):x=t[40];let S;return t[41]!==x||t[42]!==_?(S=(0,Q.jsxs)(L,{children:[_,x]}),t[41]=x,t[42]=_,t[43]=S):S=t[43],S});function Ne(e){if(!e)return null;let t=i(e);return typeof t==`string`?t:null}function Pe(e,t,n,r,i,o,s){let l=_(t,n,e),u=a({caps:l,selections:i}),f=u.filter(e=>e.type===`select`&&!(s&&e.id===`agent`)),p=u.filter(e=>e.type===`boolean`),m=f[0]??null,h=f.find(e=>e.id===`contextWindow`)??null,g=f.find(e=>e.id===`agent`)??null,v=p.find(e=>e.id===`fastMode`)??null,y=p.find(e=>e.id===`thinking`)??null,b=o&&(m?.promptInjectedValues?.length??0)>0&&c(r),x=b&&c(r.replace(/^Ultrathink:\s*/i,``));return{caps:l,descriptors:u,selectDescriptors:f,booleanDescriptors:p,primarySelectDescriptor:m,contextWindowDescriptor:h,agentDescriptor:g,fastModeDescriptor:v,thinkingDescriptor:y,effort:(b?`ultrathink`:Ne(m))??null,thinkingEnabled:typeof y?.currentValue==`boolean`?y.currentValue:null,fastModeEnabled:typeof v?.currentValue==`boolean`&&v.currentValue,contextWindow:Ne(h),ultrathinkPromptControlled:b,ultrathinkInBodyText:x,selectedAgent:Ne(g),selectedAgentLabel:g?d(g):null}}function Fe(e){let t=Pe(e.provider,e.models,e.model,e.prompt,e.modelOptions,e.allowPromptInjectedEffort??!0,e.hideAgent??!1),n=t.primarySelectDescriptor!==null,r=t.thinkingDescriptor!==null,i=t.fastModeDescriptor!==null,a=t.contextWindowDescriptor!==null,o=t.agentDescriptor!==null;return{...t,showEffort:n,showThinking:r,showFastMode:i,showContextWindow:a,showAgent:o,hasAnyControls:n||r||i||a||o}}function Ie(e){return Fe(e).hasAnyControls}var Le=(0,$.memo)(function(e){let t=(0,Z.c)(46),n,r,i,a,o,s,c,l,u,d,f,p;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=t[12]):({provider:u,instanceId:r,models:o,model:i,prompt:l,onPromptChange:s,modelOptions:a,allowPromptInjectedEffort:d,hideAgent:f,disabled:p,disabledReason:n,...c}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c,t[8]=l,t[9]=u,t[10]=d,t[11]=f,t[12]=p);let m=d===void 0||d,h=f!==void 0&&f,g=p!==void 0&&p,_=y(ze),v;t[13]!==r||t[14]!==i||t[15]!==c||t[16]!==u||t[17]!==_?(v=e=>{if(`onModelOptionsChange`in c){c.onModelOptionsChange(e);return}let t=c.threadRef??c.draftId;t&&_(t,u,e,{...r?{instanceId:r}:{},model:i,persistSticky:!0})},t[13]=r,t[14]=i,t[15]=c,t[16]=u,t[17]=_,t[18]=v):v=t[18];let x=v,S,C,w,T;if(t[19]!==m||t[20]!==g||t[21]!==n||t[22]!==h||t[23]!==i||t[24]!==a||t[25]!==o||t[26]!==s||t[27]!==l||t[28]!==u||t[29]!==x){T=Symbol.for(`react.early_return_sentinel`);bb0:{let{descriptors:e,selectDescriptors:r,booleanDescriptors:c,primarySelectDescriptor:d,ultrathinkPromptControlled:f,ultrathinkInBodyText:p,hasAnyControls:_}=Fe({provider:u,models:o,model:i,prompt:l,modelOptions:a,allowPromptInjectedEffort:m,hideAgent:h}),v;t[34]!==g||t[35]!==n?(v=g&&n?Y(n):null,t[34]=g,t[35]=n,t[36]=v):v=t[36];let y=v,E;t[37]!==g||t[38]!==x?(E=e=>{g||x(b(e))},t[37]=g,t[38]=x,t[39]=E):E=t[39];let D=E,O=(t,n)=>{g||Te({descriptors:e,descriptor:t,value:n,prompt:l,primarySelectDescriptorId:d?.id,ultrathinkInBodyText:p,ultrathinkPromptControlled:f,onChangeDescriptors:D,onPromptChange:s})};if(!_){T=null;break bb0}t[40]===y?S=t[41]:(S=y?(0,Q.jsx)(`div`,{className:`px-2 pt-1.5 pb-1 text-muted-foreground/80 text-xs`,"data-slot":`traits-disabled-reason`,children:y}):null,t[40]=y,t[41]=S),C=r.map((e,t)=>(0,Q.jsxs)(`div`,{children:[t>0?(0,Q.jsx)(M,{}):null,(0,Q.jsxs)(k,{children:[(0,Q.jsx)(`div`,{className:`px-2 pt-1.5 pb-1 font-medium text-muted-foreground text-xs`,children:e.label}),p&&e.id===d?.id?(0,Q.jsx)(`div`,{className:`px-2 pb-1.5 text-muted-foreground/80 text-xs`,children:`Your prompt contains "ultrathink" in the text. Remove it to change this option.`}):null,(0,Q.jsx)(F,{value:f&&e.id===d?.id?`ultrathink`:Ne(e)??``,onValueChange:t=>O(e,t),children:e.options.map(t=>(0,Q.jsxs)(A,{value:t.id,className:e.id===d?.id?je(t.id):void 0,"data-reasoning-level":e.id===d?.id?t.id:void 0,disabled:g||p&&e.id===d?.id,children:[t.label,t.isDefault?` (default)`:``]},t.id))})]})]},e.id)),w=c.map((t,n)=>(0,Q.jsxs)(`div`,{children:[n>0||r.length>0?(0,Q.jsx)(M,{}):null,(0,Q.jsxs)(k,{children:[(0,Q.jsx)(`div`,{className:`px-2 py-1.5 font-medium text-muted-foreground text-xs`,children:t.label}),(0,Q.jsxs)(F,{value:t.currentValue===!0?`on`:`off`,onValueChange:n=>{D(we(e,t.id,n===`on`))},children:[(0,Q.jsx)(A,{value:`on`,disabled:g,children:`On`}),(0,Q.jsx)(A,{value:`off`,disabled:g,children:`Off`})]})]})]},t.id))}t[19]=m,t[20]=g,t[21]=n,t[22]=h,t[23]=i,t[24]=a,t[25]=o,t[26]=s,t[27]=l,t[28]=u,t[29]=x,t[30]=S,t[31]=C,t[32]=w,t[33]=T}else S=t[30],C=t[31],w=t[32],T=t[33];if(T!==Symbol.for(`react.early_return_sentinel`))return T;let E;return t[42]!==S||t[43]!==C||t[44]!==w?(E=(0,Q.jsxs)(Q.Fragment,{children:[S,C,w]}),t[42]=S,t[43]=C,t[44]=w,t[45]=E):E=t[45],E}),Re=(0,$.memo)(function(e){let t=(0,Z.c)(67),n,r,i,a,c,l,u,f,m,h,g,_,v,y,b;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],c=t[5],l=t[6],u=t[7],f=t[8],m=t[9],h=t[10],g=t[11],_=t[12],v=t[13],y=t[14],b=t[15]):({provider:m,instanceId:r,models:c,model:i,prompt:f,onPromptChange:l,modelOptions:a,allowPromptInjectedEffort:h,hideAgent:g,disabled:_,disabledReason:n,triggerSize:y,triggerVariant:b,triggerClassName:v,...u}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=c,t[6]=l,t[7]=u,t[8]=f,t[9]=m,t[10]=h,t[11]=g,t[12]=_,t[13]=v,t[14]=y,t[15]=b);let x=h===void 0||h,S=g!==void 0&&g,C=_!==void 0&&_,[w,T]=(0,$.useState)(!1),E,D;if(t[16]!==x||t[17]!==S||t[18]!==i||t[19]!==a||t[20]!==c||t[21]!==f||t[22]!==m){D=Symbol.for(`react.early_return_sentinel`);bb0:{let{descriptors:e,primarySelectDescriptor:t,ultrathinkPromptControlled:n}=Fe({provider:m,models:c,model:i,prompt:f,modelOptions:a,allowPromptInjectedEffort:x,hideAgent:S});if(!Ie({provider:m,models:c,model:i,prompt:f,modelOptions:a,allowPromptInjectedEffort:x,hideAgent:S})){D=null;break bb0}E=e.map(e=>n&&e.id===t?.id?`Ultrathink`:e.type===`boolean`?e.id===`fastMode`?e.currentValue===!0?`Fast`:`Normal`:`${e.label} ${e.currentValue===!0?`On`:`Off`}`:d(e)).filter(Be).join(` · `)||``}t[16]=x,t[17]=S,t[18]=i,t[19]=a,t[20]=c,t[21]=f,t[22]=m,t[23]=E,t[24]=D}else E=t[23],D=t[24];if(D!==Symbol.for(`react.early_return_sentinel`))return D;let O=E,k=m===`codex`,A;t[25]===C?A=t[26]:(A=e=>{if(C){T(!1);return}T(e)},t[25]=C,t[26]=A);let j=y??`sm`,M=b??`ghost`,P;t[27]!==C||t[28]!==n?(P=C&&n?{title:Y(n)}:{},t[27]=C,t[28]=n,t[29]=P):P=t[29];let F=k?`min-w-0 max-w-40 shrink justify-start overflow-hidden whitespace-nowrap px-1.5 text-muted-foreground/70 hover:text-foreground/80 sm:max-w-44 sm:px-2 [&_svg]:mx-0`:`shrink-0 whitespace-nowrap px-1.5 text-muted-foreground/70 hover:text-foreground/80 sm:px-2`,I;t[30]!==F||t[31]!==v?(I=o(F,v),t[30]=F,t[31]=v,t[32]=I):I=t[32];let R;t[33]!==C||t[34]!==I||t[35]!==j||t[36]!==M||t[37]!==P?(R=(0,Q.jsx)(s,{size:j,variant:M,disabled:C,...P,className:I}),t[33]=C,t[34]=I,t[35]=j,t[36]=M,t[37]=P,t[38]=R):R=t[38];let z;t[39]!==k||t[40]!==O?(z=k?(0,Q.jsxs)(`span`,{className:`flex min-w-0 w-full items-center gap-2 overflow-hidden`,children:[O,(0,Q.jsx)(p,{"aria-hidden":`true`,className:`size-3 shrink-0 opacity-60`})]}):(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`span`,{children:O}),(0,Q.jsx)(p,{"aria-hidden":`true`,className:`size-3 opacity-60`})]}),t[39]=k,t[40]=O,t[41]=z):z=t[41];let B;t[42]!==R||t[43]!==z?(B=(0,Q.jsx)(ee,{render:R,children:z}),t[42]=R,t[43]=z,t[44]=B):B=t[44];let V;t[45]===r?V=t[46]:(V=r?{instanceId:r}:{},t[45]=r,t[46]=V);let H;t[47]===n?H=t[48]:(H=n?{disabledReason:n}:{},t[47]=n,t[48]=H);let U;t[49]!==x||t[50]!==C||t[51]!==S||t[52]!==i||t[53]!==a||t[54]!==c||t[55]!==l||t[56]!==u||t[57]!==f||t[58]!==m||t[59]!==V||t[60]!==H?(U=(0,Q.jsx)(N,{align:`start`,children:(0,Q.jsx)(Le,{provider:m,...V,models:c,model:i,prompt:f,onPromptChange:l,modelOptions:a,allowPromptInjectedEffort:x,hideAgent:S,disabled:C,...H,...u})}),t[49]=x,t[50]=C,t[51]=S,t[52]=i,t[53]=a,t[54]=c,t[55]=l,t[56]=u,t[57]=f,t[58]=m,t[59]=V,t[60]=H,t[61]=U):U=t[61];let W;return t[62]!==w||t[63]!==B||t[64]!==U||t[65]!==A?(W=(0,Q.jsxs)(L,{open:w,onOpenChange:A,children:[B,U]}),t[62]=w,t[63]=B,t[64]=U,t[65]=A,t[66]=W):W=t[66],W});function ze(e){return e.setProviderModelOptions}function Be(e){return typeof e==`string`&&e.length>0}var Ve=`data-checked`,He=`data-unchecked`,Ue={checked(e){return e?{[Ve]:``}:{[He]:``}},...D,...J},We=$.createContext(void 0);function Ge(){return $.useContext(We)}var Ke=$.createContext(void 0),qe=$.forwardRef(function(e,n){let{render:i,className:a,disabled:o=!1,readOnly:s=!1,required:c=!1,"aria-labelledby":l,value:u,inputRef:d,nativeButton:p=!1,id:_,style:y,...b}=e,S=Ge(),{disabled:T,readOnly:D,required:O,form:k,checkedValue:A,touched:M=!1,validation:N,name:F,setCheckedValue:ee=w,setTouched:I=w,registerInputRef:L=w}=S??{},{setTouched:R,setFilled:z,state:B,disabled:V}=ae(),H=fe(),{labelId:W,getDescriptionProps:ne}=re(),G=V||H.disabled||T||o,K=D||s,q=O||c,ie=k,J=S?A===u:u===``,Y=$.useRef(null),X=$.useRef(null),Z=N?.registerInput,ce=$.useCallback(e=>Z?.(e,{controlRef:Y,value:void 0}),[Z]),le=r(d,X,L,ce);g(()=>{X.current?.checked&&z(!0)},[z]),g(()=>{if(X.current){if(G&&J){L(null);return}L(X.current)}},[J,G,L]);let ue=te(),de=oe({id:_}),pe=p?void 0:de,me={role:`radio`,"aria-checked":J,"aria-labelledby":P(l,W,X,!p,pe),[se]:J?``:void 0,id:p?de:ue,onKeyDown(e){e.key===`Enter`&&e.preventDefault()},onClick(e){if(e.defaultPrevented||G||K)return;e.preventDefault();let t=X.current;t&&C(t,e)},onFocus(e){e.defaultPrevented||G||K||!M||(X.current?.click(),I(!1))}},{getButtonProps:he,buttonRef:ge}=h({disabled:G,native:p,composite:!1}),_e={type:`radio`,ref:le,form:ie,id:pe,name:F,tabIndex:-1,style:F?t:x,"aria-hidden":!0,...u===void 0?v:{value:U(u)},disabled:G,checked:J,required:q,readOnly:K,onChange(e){if(e.nativeEvent.defaultPrevented||G||K||u===void 0)return;let t=f(m,e.nativeEvent);ee(u,t),!t.isCanceled&&R(!0)},onClick(e){e.stopPropagation()},onFocus(){Y.current?.focus()}},ve=$.useMemo(()=>({...B,required:q,disabled:G,readOnly:K,checked:J}),[B,G,K,J,q]),ye=ve,be=S!==void 0,xe=[n,Y,ge],Se=[me,b,he,ne,N?e=>N.getValidationProps(G,e):v],Ce=E(`span`,e,{enabled:!be,state:ve,ref:xe,props:Se,stateAttributesMapping:Ue});return(0,Q.jsxs)(Ke.Provider,{value:ye,children:[be?(0,Q.jsx)(j,{tag:`span`,render:i,className:a,style:y,state:ve,refs:xe,props:Se,stateAttributesMapping:Ue}):Ce,(0,Q.jsx)(`input`,{..._e,suppressHydrationWarning:!0})]})}),Je=[H],Ye=$.forwardRef(function(e,t){let{render:n,className:r,disabled:i,readOnly:a,required:o,onValueChange:s,value:c,defaultValue:u,form:d,name:f,inputRef:p,id:m,style:h,...g}=e,{setTouched:_,setFocused:v,validationMode:y,name:b,disabled:x,state:C,validation:w,setDirty:T,setFilled:E,validityData:D}=ae(),{labelId:O}=re(),{clearErrors:k,elementRef:A}=ie(),j=le(!0),M=x||i,N=b??f,P=te(m),[F,ee]=G({controlled:c,default:u,name:`RadioGroup`,state:`value`}),[I,L]=$.useState(!1),R=S((e,t)=>{s?.(e,t),!t.isCanceled&&ee(e)}),z=w.getInputControl,B=$.useMemo(()=>({get current(){return z()}}),[z]),V=$.useRef(null),H=$.useRef(null);function U(e){let t;return p&&(typeof p==`function`?t=p(e):p.current=e),V.current=e,t}let W=S(e=>{if(!e||e.disabled)return;H.current||=e;let t=V.current,n=e.checked||t==null||t.disabled?U(e):void 0;return()=>{H.current===e&&(H.current=null),V.current===e?n?(n(),V.current=null):U(null):n?.()}}),q=S(()=>{let e=A.current;if(!e)return F??null;for(let t of w.registeredInputs.keys())if(t.checked&&ue(t,e))return F??null;return null});K(B,P,F??null,q,!M,f),ne(F,()=>{k(N),T(F!==D.initialValue),E(F!=null),w.change(F);let e=H.current;F==null&&e&&!e.disabled&&U(e)});let oe=O??j?.legendId,Y={...C,disabled:M??!1,required:o??!1,readOnly:a??!1},se=$.useMemo(()=>({checkedValue:F,disabled:M,form:d,validation:w,name:N,readOnly:a,registerInputRef:W,required:o,setCheckedValue:R,setTouched:L,touched:I}),[F,M,d,w,N,a,W,o,R,L,I]),Z={id:m,role:`radiogroup`,"aria-required":o||void 0,"aria-disabled":M||void 0,"aria-readonly":a||void 0,"aria-labelledby":oe,onFocus(){v(!0)},onBlur(e){l(e.currentTarget,e.relatedTarget)||(_(!0),v(!1),y===`onBlur`&&w.commit(F))},onKeyDownCapture(e){e.key.startsWith(`Arrow`)&&(L(!0),v(!0))}};return(0,Q.jsx)(We.Provider,{value:se,children:(0,Q.jsx)(X,{render:n,className:r,style:h,state:Y,props:[Z,g,e=>w.getValidationProps(M??!1,e)],refs:[t],stateAttributesMapping:J,enableHomeAndEndKeys:!1,modifierKeys:Je})})});function Xe(e){let t=(0,Z.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=o(`flex flex-col gap-3`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Q.jsx)(Ye,{className:i,"data-slot":`radio-group`,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}export{Ie as a,Se as c,fe as d,Re as i,he as l,qe as n,Me as o,Le as r,we as s,Xe as t,ve as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-FOHPRMQF-CoA4358r.js";import{g as e}from"./mermaid-parser.core-DFyHLivv.js";export{e as createRailroadServices};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-FOHPRMQF-CoA4358r.js";import{m as e}from"./mermaid-parser.core-DFyHLivv.js";export{e as createRailroadAbnfServices};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-FOHPRMQF-CoA4358r.js";import{f as e}from"./mermaid-parser.core-DFyHLivv.js";export{e as createRailroadEbnfServices};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-FOHPRMQF-CoA4358r.js";import{u as e}from"./mermaid-parser.core-DFyHLivv.js";export{e as createRailroadPegServices};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./src-BISxbUej.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import"./chunk-I66GZJ75-CDkA1o_8.js";import"./mermaidEngine-CFbqgukn.js";import{g as n,t as r}from"./mermaid-parser.core-DFyHLivv.js";import{n as i,r as a,t as o}from"./chunk-6Q2QTUOP-dP86RxKA.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";var c=n().Railroad.parser.LangiumParser,l=t(e=>{switch(e.$type){case`RailroadTerminalExpr`:return{type:`terminal`,value:e.value};case`RailroadNonTerminalExpr`:return{type:`nonterminal`,name:e.name};case`RailroadSpecialExpr`:return{type:`special`,text:e.text};case`RailroadSequenceExpr`:{let t=e.elements.map(l);return t.length===1?t[0]:{type:`sequence`,elements:t}}case`RailroadChoiceExpr`:{let t=e.alternatives.map(l);return t.length===1?t[0]:{type:`choice`,alternatives:t}}case`RailroadOptionalExpr`:return{type:`optional`,element:l(e.element)};case`RailroadOneOrMoreExpr`:return{type:`repetition`,element:l(e.element),min:1,max:1/0};case`RailroadZeroOrMoreExpr`:return{type:`repetition`,element:l(e.element),min:0,max:1/0};default:throw Error(`Unsupported railroad expression: ${e.$type}`)}},`transformExpression`),u=t(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),d=t(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(u(e)))},`populateDb`),f={parser:{parse:t(t=>{o.clear(),e.debug(`[Railroad Parser] Starting Langium parse`);let n=c.parse(t);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new r(n);let i=n.value;e.debug(`[Railroad Parser] Parsed rules:`,i.rules.length),d(i),e.debug(`[Railroad Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{f as diagram};
|