@alisio/server 0.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +47 -0
- package/dist/auth/guard.d.ts +37 -0
- package/dist/auth/guard.js +83 -0
- package/dist/auth/token.d.ts +6 -0
- package/dist/auth/token.js +22 -0
- package/dist/bridges/approval-bridge.d.ts +53 -0
- package/dist/bridges/approval-bridge.js +162 -0
- package/dist/bridges/interaction-bridge.d.ts +52 -0
- package/dist/bridges/interaction-bridge.js +163 -0
- package/dist/host/git.d.ts +22 -0
- package/dist/host/git.js +99 -0
- package/dist/host/presets.d.ts +21 -0
- package/dist/host/presets.js +60 -0
- package/dist/host/run-scheduler.d.ts +67 -0
- package/dist/host/run-scheduler.js +143 -0
- package/dist/host/sessions.d.ts +81 -0
- package/dist/host/sessions.js +211 -0
- package/dist/host/workspace-host.d.ts +87 -0
- package/dist/host/workspace-host.js +195 -0
- package/dist/http/body.d.ts +7 -0
- package/dist/http/body.js +33 -0
- package/dist/http/errors.d.ts +15 -0
- package/dist/http/errors.js +58 -0
- package/dist/http/router.d.ts +37 -0
- package/dist/http/router.js +62 -0
- package/dist/http/static.d.ts +27 -0
- package/dist/http/static.js +132 -0
- package/dist/index.d.ts +66 -0
- package/dist/index.js +350 -0
- package/dist/log.d.ts +21 -0
- package/dist/log.js +19 -0
- package/dist/routes/approvals.d.ts +8 -0
- package/dist/routes/approvals.js +33 -0
- package/dist/routes/blobs.d.ts +13 -0
- package/dist/routes/blobs.js +46 -0
- package/dist/routes/commands.d.ts +21 -0
- package/dist/routes/commands.js +149 -0
- package/dist/routes/events.d.ts +14 -0
- package/dist/routes/events.js +32 -0
- package/dist/routes/files.d.ts +21 -0
- package/dist/routes/files.js +262 -0
- package/dist/routes/health.d.ts +18 -0
- package/dist/routes/health.js +38 -0
- package/dist/routes/images.d.ts +12 -0
- package/dist/routes/images.js +60 -0
- package/dist/routes/management.d.ts +32 -0
- package/dist/routes/management.js +326 -0
- package/dist/routes/prompts.d.ts +22 -0
- package/dist/routes/prompts.js +153 -0
- package/dist/routes/providers.d.ts +3 -0
- package/dist/routes/providers.js +230 -0
- package/dist/routes/session-views.d.ts +12 -0
- package/dist/routes/session-views.js +76 -0
- package/dist/routes/sessions.d.ts +16 -0
- package/dist/routes/sessions.js +160 -0
- package/dist/routes/workspaces.d.ts +7 -0
- package/dist/routes/workspaces.js +32 -0
- package/dist/schemas.d.ts +25 -0
- package/dist/schemas.js +54 -0
- package/dist/sse/hub.d.ts +80 -0
- package/dist/sse/hub.js +287 -0
- package/dist/sse/inflight.d.ts +16 -0
- package/dist/sse/inflight.js +84 -0
- package/dist/web/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/web/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/web/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/web/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/web/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/web/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/web/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/web/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/web/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/web/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/web/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/web/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/web/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/web/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/web/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/web/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/web/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/web/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/web/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/web/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/web/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/web/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/web/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/web/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/web/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/web/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/web/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/web/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/web/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/web/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/web/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/web/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/web/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/web/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/web/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/web/assets/KaTeX_Size3-Regular-gV2CO0n9.woff2 +0 -0
- package/dist/web/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/web/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/web/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/web/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/web/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/web/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/web/assets/SettingsModal-Dj5G3JIz.js +1 -0
- package/dist/web/assets/SettingsModal-YCahs6O5.css +1 -0
- package/dist/web/assets/abnfDiagram-VCTEODGH-Ct0-FsLe.js +1 -0
- package/dist/web/assets/arc-Pry-7G1_.js +1 -0
- package/dist/web/assets/architecture-7GRP2DOG-B5Qnm7io.js +1 -0
- package/dist/web/assets/architectureDiagram-5GKGNRK7-BvjnUlvj.js +36 -0
- package/dist/web/assets/array-BifhSqXX.js +1 -0
- package/dist/web/assets/blockDiagram-I7D4REHJ-CBHCj2Mn.js +129 -0
- package/dist/web/assets/c4Diagram-7LVT6UL2-9I13K7Yy.js +38 -0
- package/dist/web/assets/channel-B-TykkBN.js +1 -0
- package/dist/web/assets/chunk-2Q5K7J3B-C1jixKkw.js +1 -0
- package/dist/web/assets/chunk-4HAMMTFA-Du4xf36t.js +62 -0
- package/dist/web/assets/chunk-5VM5RSS4-ZNzvKenW.js +15 -0
- package/dist/web/assets/chunk-75Z2AOVW-93KpRXCT.js +2 -0
- package/dist/web/assets/chunk-DU6HZSFF-DP6dsL6K.js +125 -0
- package/dist/web/assets/chunk-F27PBJKO-CxLLRIN4.js +1 -0
- package/dist/web/assets/chunk-FOHPRMQF-DzxwRta7.js +161 -0
- package/dist/web/assets/chunk-GMAD6QVW-BGv500CR.js +72 -0
- package/dist/web/assets/chunk-GVQU2GXP-BmXv3St8.js +1 -0
- package/dist/web/assets/chunk-IMKFNOWR-tmbCLM1n.js +231 -0
- package/dist/web/assets/chunk-JWPE2WC7-DVXcaiue.js +1 -0
- package/dist/web/assets/chunk-L3NEJ4N5-BULbKNtl.js +1 -0
- package/dist/web/assets/chunk-OSK3NFVY-DyvADXPn.js +10 -0
- package/dist/web/assets/chunk-P2QGCYS3-YhA2sAhR.js +1 -0
- package/dist/web/assets/chunk-POPQ4Y6H-BLr1KktA.js +1 -0
- package/dist/web/assets/chunk-PWAF6VOD-DJCZC9ie.js +1 -0
- package/dist/web/assets/chunk-SHT3W25Y-B8xH9z5t.js +168 -0
- package/dist/web/assets/chunk-SVP7TREG-DxynkM9y.js +88 -0
- package/dist/web/assets/chunk-TICWLB2K-CZPXqwaW.js +206 -0
- package/dist/web/assets/chunk-XXDRQBXY-DqAYeljN.js +1 -0
- package/dist/web/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +1 -0
- package/dist/web/assets/classDiagram-ZZMXUADV-B6LKfKSk.js +1 -0
- package/dist/web/assets/classDiagram-v2-VYDZK3BY-B6LKfKSk.js +1 -0
- package/dist/web/assets/cose-bilkent-JH36ORCC-BEpcWcmK.js +1 -0
- package/dist/web/assets/css-BsVw1vtW.js +1 -0
- package/dist/web/assets/cynefin-OW5HDTMX-rct1-Bf_.js +1 -0
- package/dist/web/assets/cynefinDiagram-5FMLGOSQ-CuBJbnvx.js +62 -0
- package/dist/web/assets/cytoscape.esm-Yq6u8L66.js +321 -0
- package/dist/web/assets/dagre-C-rnJpZF.js +1 -0
- package/dist/web/assets/dagre-GXQ25YYZ-w8zs2moB.js +4 -0
- package/dist/web/assets/defaultLocale-BFoDCU3G.js +1 -0
- package/dist/web/assets/diagram-S7CK7UJ4-BMBhFewM.js +30 -0
- package/dist/web/assets/diagram-UQ7AKVKN-C7BN6534.js +41 -0
- package/dist/web/assets/diagram-VSXAHHWV-Dd8_wR6U.js +3 -0
- package/dist/web/assets/diagram-VX7I27RA-DR3aOC1b.js +24 -0
- package/dist/web/assets/diagram-Z3DM3KII-5aBBRZ2Z.js +24 -0
- package/dist/web/assets/diff-woXpYk--.js +1 -0
- package/dist/web/assets/dist-v5Q1xZ2K.js +1 -0
- package/dist/web/assets/ebnfDiagram-PWID7BFC-46Gc2APT.js +1 -0
- package/dist/web/assets/engine-CknQqOvU.js +44 -0
- package/dist/web/assets/erDiagram-RLTQ6QDP-CNfUFQmD.js +99 -0
- package/dist/web/assets/eventmodeling-NTZA5JFV-Dx_J4ait.js +1 -0
- package/dist/web/assets/flowDiagram-HODETNUW-Bs7QheBl.js +1 -0
- package/dist/web/assets/ganttDiagram-EL5Y4UJY-B1RLLE0F.js +292 -0
- package/dist/web/assets/gitGraph-4MIJSDKK-DmzdoCuA.js +1 -0
- package/dist/web/assets/gitGraphDiagram-WWUBYQGX-DN5-fMOS.js +106 -0
- package/dist/web/assets/github-dark-C-LZuMrd.js +1 -0
- package/dist/web/assets/github-light-EUqPIrTm.js +1 -0
- package/dist/web/assets/go-rLFTqkRN.js +1 -0
- package/dist/web/assets/graphlib-DS17s2tU.js +1 -0
- package/dist/web/assets/highlight-C1LfZ1aI.js +152 -0
- package/dist/web/assets/index-CGolUSWa.js +75 -0
- package/dist/web/assets/index-vUqwyH-2.css +1 -0
- package/dist/web/assets/info-A6RAGUB7-CebZRx1l.js +1 -0
- package/dist/web/assets/infoDiagram-27XIBGKW-BeY-irSX.js +2 -0
- package/dist/web/assets/init-C-OQMol4.js +1 -0
- package/dist/web/assets/ishikawaDiagram-5VMMS53U-Djn1dIqp.js +70 -0
- package/dist/web/assets/javascript-BgS3c2Ky.js +1 -0
- package/dist/web/assets/journeyDiagram-3NMN7TZE-CV_b2MnE.js +139 -0
- package/dist/web/assets/json-qhed-kSA.js +1 -0
- package/dist/web/assets/jsx-Bz0zcwM4.js +1 -0
- package/dist/web/assets/jsxRuntime-D9k5B_Bf.js +1 -0
- package/dist/web/assets/kanban-definition-UXKFOSKX-CXTukynL.js +89 -0
- package/dist/web/assets/katex-ZlcWpGUi.js +257 -0
- package/dist/web/assets/line-DIt63x6x.js +1 -0
- package/dist/web/assets/linear-SzVmGSw4.js +1 -0
- package/dist/web/assets/mermaid-parser.core-UsYAxtjN.js +7 -0
- package/dist/web/assets/mindmap-definition-YA3MSWOX-G0K_7S5N.js +96 -0
- package/dist/web/assets/ordinal-BDEzSJ7C.js +1 -0
- package/dist/web/assets/packet-AYTQ26CC-D3_L-O-_.js +1 -0
- package/dist/web/assets/path-fybaL0A-.js +1 -0
- package/dist/web/assets/pegDiagram-XKGWAZYB-BoSJtVsR.js +1 -0
- package/dist/web/assets/pie-WAS4IAKB-DUARjLYc.js +1 -0
- package/dist/web/assets/pieDiagram-E7YTZNPT-DaFXBymx.js +39 -0
- package/dist/web/assets/purify.es--06brOip.js +3 -0
- package/dist/web/assets/python-gzcpVVnB.js +1 -0
- package/dist/web/assets/quadrantDiagram-AXDQQJYC-DvJJGxS3.js +7 -0
- package/dist/web/assets/radar-RG4KPBEZ-CoTA2z0h.js +1 -0
- package/dist/web/assets/railroad-74A4TZTK-D22_YeTS.js +1 -0
- package/dist/web/assets/railroad-abnf-HS5TGJTU-Mvl9LvJX.js +1 -0
- package/dist/web/assets/railroad-ebnf-LZEXJU2U-hvVPkAs6.js +1 -0
- package/dist/web/assets/railroad-peg-WCYAUIDC-XX_5aYEK.js +1 -0
- package/dist/web/assets/railroadDiagram-O6MQD6OU-Cxnojv6Q.js +1 -0
- package/dist/web/assets/requirementDiagram-BXWQKSXE-gW2PlZJn.js +84 -0
- package/dist/web/assets/rolldown-runtime-hePW80VL.js +1 -0
- package/dist/web/assets/rough.esm-Dy-Kn_BL.js +1 -0
- package/dist/web/assets/rust-Cfkwpbl8.js +1 -0
- package/dist/web/assets/sankeyDiagram-P5KCCOFB-DcoJ0sYw.js +40 -0
- package/dist/web/assets/sequenceDiagram-WJ2MYXX4-kRLbkAfp.js +162 -0
- package/dist/web/assets/shellscript-CLZ0U2zV.js +1 -0
- package/dist/web/assets/sizeCapture-INFHLROL-3uHXrFqA.js +1 -0
- package/dist/web/assets/sql-BsFa4tDR.js +1 -0
- package/dist/web/assets/src-B6xuSHsQ.js +1 -0
- package/dist/web/assets/stateDiagram-D77RDMKH-CEWdwxTm.js +1 -0
- package/dist/web/assets/stateDiagram-v2-MP3YSRHH-DZ8dTBXf.js +1 -0
- package/dist/web/assets/swimlanes-42K2YHIH-oyoSxsbH.js +1 -0
- package/dist/web/assets/swimlanesDiagram-VR7AAH4N-McbEeiYz.js +8 -0
- package/dist/web/assets/timeline-definition-24CTP7MA-D97QYUq5.js +120 -0
- package/dist/web/assets/toml-CcmNWLt0.js +1 -0
- package/dist/web/assets/treeView-Q6P3EWNA-FwhRnXTt.js +1 -0
- package/dist/web/assets/treemap-WGGIJYW6-ByFNzzzU.js +1 -0
- package/dist/web/assets/tsx-udAQXfEw.js +1 -0
- package/dist/web/assets/typescript-bsJCZSQ-.js +1 -0
- package/dist/web/assets/vennDiagram-4TSXK5OY-CcqjaQy9.js +34 -0
- package/dist/web/assets/view-0zE8CdnP.js +1 -0
- package/dist/web/assets/view-BQZA99Bp.js +1 -0
- package/dist/web/assets/view-BqpAWkcP.css +1 -0
- package/dist/web/assets/view-C9vvQ0AK.js +1 -0
- package/dist/web/assets/view-CS-jPsy6.js +2 -0
- package/dist/web/assets/view-CYRKKlxP.js +1 -0
- package/dist/web/assets/view-CyO_m5dR.css +1 -0
- package/dist/web/assets/view-D7KCHoy1.css +1 -0
- package/dist/web/assets/view-DE2OI6Vv.js +5 -0
- package/dist/web/assets/view-DPqI4qBt.css +1 -0
- package/dist/web/assets/view-DWcZ1gKW.css +1 -0
- package/dist/web/assets/view-Dl8ihdis.css +1 -0
- package/dist/web/assets/view-DrJSW55A.css +1 -0
- package/dist/web/assets/view-DzlpughI.js +257 -0
- package/dist/web/assets/view-NDb0VvVU.js +6 -0
- package/dist/web/assets/wardley-WFR3VGLG-Bt4CePrl.js +1 -0
- package/dist/web/assets/wardleyDiagram-VM6X3IG4-CcgXimi3.js +78 -0
- package/dist/web/assets/xychartDiagram-S5SC5T6Z-0Jx20wNz.js +7 -0
- package/dist/web/assets/yaml-rwi0_p6S.js +1 -0
- package/dist/web/index.html +17 -0
- package/package.json +55 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h={},g=[],_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,v=Array.isArray;function y(e,t){for(var n in t)e[n]=t[n];return e}function b(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function x(t,n,r){var i,a,o,s={};for(o in n)o==`key`?i=n[o]:o==`ref`?a=n[o]:s[o]=n[o];if(arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),typeof t==`function`&&t.defaultProps!=null)for(o in t.defaultProps)s[o]===void 0&&(s[o]=t.defaultProps[o]);return S(t,s,i,a,null)}function S(e,r,i,a,o){var s={type:e,props:r,key:i,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++n,__i:-1,__u:0};return o==null&&t.vnode!=null&&t.vnode(s),s}function C(e){return e.children}function w(e,t){this.props=e,this.context=t}function T(e,t){if(t==null)return e.__?T(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type==`function`?T(e):null}function E(e){if(e.__P&&e.__d){var n=e.__v,r=n.__e,i=[],a=[],o=y({},n);o.__v=n.__v+1,t.vnode&&t.vnode(o),re(e.__P,o,n,e.__n,e.__P.namespaceURI,32&n.__u?[r]:null,i,r??T(n),!!(32&n.__u),a),o.__v=n.__v,o.__.__k[o.__i]=o,ae(i,o,a),n.__e=n.__=null,o.__e!=r&&D(o)}}function D(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),D(e)}function O(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!k.__r++||a!=t.debounceRendering)&&((a=t.debounceRendering)||o)(k)}function k(){try{for(var e,t=1;i.length;)i.length>t&&i.sort(s),e=i.shift(),t=i.length,E(e)}finally{i.length=k.__r=0}}function ee(e,t,n,r,i,a,o,s,c,l,u){var d,f,p,m,_,v,y=r&&r.__k||g,b=t.length;for(c=A(n,t,y,c,b),d=0;d<b;d++)(p=n.__k[d])!=null&&(f=p.__i!=-1&&y[p.__i]||h,p.__i=d,v=re(e,p,f,i,a,o,s,c,l,u),m=p.__e,p.ref&&f.ref!=p.ref&&(f.ref&&ce(f.ref,null,p),u.push(p.ref,p.__c||m,p)),_==null&&m!=null&&(_=m),4&p.__u?(c=te(p,c,e),f.__e&&(f.__e=null)):typeof p.type==`function`&&v!==void 0?c=v:m&&(c=m.nextSibling),p.__u&=-7);return n.__e=_,c}function A(e,t,n,r,i){var a,o,s,c,l,u=n.length,d=u,f=0;for(e.__k=Array(i),a=0;a<i;a++)(o=t[a])!=null&&typeof o!=`boolean`&&typeof o!=`function`?(typeof o==`string`||typeof o==`number`||typeof o==`bigint`||o.constructor==String?o=e.__k[a]=S(null,o,null,null,null):v(o)?o=e.__k[a]=S(C,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?o=e.__k[a]=S(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):e.__k[a]=o,c=a+f,o.__=e,o.__b=e.__b+1,s=null,(l=o.__i=j(o,n,c,d))!=-1&&(d--,(s=n[l])&&(s.__u|=2)),s==null||s.__v==null?(l==-1&&(i>u?f--:i<u&&f++),typeof o.type!=`function`&&(o.__u|=4)):l!=c&&(l==c-1?f--:l==c+1?f++:(l>c?f--:f++,o.__u|=4))):e.__k[a]=null;if(d)for(a=0;a<u;a++)(s=n[a])!=null&&!(2&s.__u)&&(s.__e==r&&(r=T(s)),le(s,s));return r}function te(e,t,n){var r,i;if(typeof e.type==`function`){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=te(r[i],t,n));return t}e.__e!=t&&(t&&e.type&&!t.parentNode&&(t=T(e)),t=n.insertBefore(e.__e,t||null));do t&&=t.nextSibling;while(t!=null&&t.nodeType==8);return t}function j(e,t,n,r){var i,a,o,s=e.key,c=e.type,l=t[n],u=l!=null&&!(2&l.__u);if(l===null&&s==null||u&&s==l.key&&c==l.type)return n;if(r>+!!u){for(i=n-1,a=n+1;i>=0||a<t.length;)if((l=t[o=i>=0?i--:a++])!=null&&!(2&l.__u)&&s==l.key&&c==l.type)return o}return-1}function M(e,t,n){t[0]==`-`?e.setProperty(t,n??``):e[t]=n==null?``:typeof n!=`number`||_.test(t)?n:n+`px`}function N(e,t,n,r,i){var a,o;n:if(t==`style`){if(typeof n==`string`)e.style.cssText=n;else{if(typeof r==`string`&&(e.style.cssText=r=``),r)for(t in r)n&&t in n||M(e.style,t,``);if(n)for(t in n)r&&n[t]==r[t]||M(e.style,t,n[t])}}else if(t[0]==`o`&&t[1]==`n`)a=t!=(t=t.replace(d,`$1`)),o=t.toLowerCase(),t=o in e||t==`onFocusOut`||t==`onFocusIn`?o.slice(2):t.slice(2),e.l||={},e.l[t+a]=n,n?r?n[u]=r[u]:(n[u]=f,e.addEventListener(t,a?m:p,a)):e.removeEventListener(t,a?m:p,a);else{if(i==`http://www.w3.org/2000/svg`)t=t.replace(/xlink(H|:h)/,`h`).replace(/sName$/,`s`);else if(t!=`width`&&t!=`height`&&t!=`href`&&t!=`list`&&t!=`form`&&t!=`tabIndex`&&t!=`download`&&t!=`rowSpan`&&t!=`colSpan`&&t!=`role`&&t!=`popover`&&t in e)try{e[t]=n??``;break n}catch{}typeof n==`function`||(n==null||!1===n&&t[4]!=`-`?e.removeAttribute(t):e.setAttribute(t,t==`popover`&&n==1?``:n))}}function ne(e){return function(n){if(this.l){var r=this.l[n.type+e];if(n[l]==null)n[l]=f++;else if(n[l]<r[u])return;return r(t.event?t.event(n):n)}}}function re(e,n,r,i,a,o,s,c,l,u){var d,f,p,m,h,_,x,S,E,D,O,k,A,te,j,M,N=n.type;if(n.constructor!==void 0)return null;128&r.__u&&(l=!!(32&r.__u),o=[c=n.__e=r.__e]),(d=t.__b)&&d(n);n:if(typeof N==`function`){f=s.length;try{if(E=n.props,D=N.prototype&&N.prototype.render,O=(d=N.contextType)&&i[d.__c],k=d?O?O.props.value:d.__:i,r.__c?S=(p=n.__c=r.__c).__=p.__E:(D?n.__c=p=new N(E,k):(n.__c=p=new w(E,k),p.constructor=N,p.render=ue),O&&O.sub(p),p.state||(p.state={}),p.__n=i,m=p.__d=!0,p.__h=[],p._sb=[]),D&&p.__s==null&&(p.__s=p.state),D&&N.getDerivedStateFromProps!=null&&(p.__s==p.state&&(p.__s=y({},p.__s)),y(p.__s,N.getDerivedStateFromProps(E,p.__s))),h=p.props,_=p.state,p.__v=n,m)D&&N.getDerivedStateFromProps==null&&p.componentWillMount!=null&&p.componentWillMount(),D&&p.componentDidMount!=null&&p.__h.push(p.componentDidMount);else{if(D&&N.getDerivedStateFromProps==null&&E!==h&&p.componentWillReceiveProps!=null&&p.componentWillReceiveProps(E,k),n.__v==r.__v||!p.__e&&p.shouldComponentUpdate!=null&&!1===p.shouldComponentUpdate(E,p.__s,k)){n.__v!=r.__v&&(p.props=E,p.state=p.__s,p.__d=!1),n.__e=r.__e,n.__k=r.__k,n.__k.some(function(e){e&&(e.__=n)}),g.push.apply(p.__h,p._sb),p._sb=[],p.__h.length&&s.push(p),c=T(r);break n}p.componentWillUpdate!=null&&p.componentWillUpdate(E,p.__s,k),D&&p.componentDidUpdate!=null&&p.__h.push(function(){p.componentDidUpdate(h,_,x)})}if(p.context=k,p.props=E,p.__P=e,p.__e=!1,A=t.__r,te=0,D)p.state=p.__s,p.__d=!1,A&&A(n),d=p.render(p.props,p.state,p.context),g.push.apply(p.__h,p._sb),p._sb=[];else do p.__d=!1,A&&A(n),d=p.render(p.props,p.state,p.context),p.state=p.__s;while(p.__d&&++te<25);p.state=p.__s,p.getChildContext!=null&&(i=y(y({},i),p.getChildContext())),D&&!m&&p.getSnapshotBeforeUpdate!=null&&(x=p.getSnapshotBeforeUpdate(h,_)),j=d!=null&&d.type===C&&d.key==null?oe(d.props.children):d,c=ee(e,v(j)?j:[j],n,r,i,a,o,s,c,l,u),p.base=n.__e,n.__u&=-161,p.__h.length&&s.push(p),S&&(p.__E=p.__=null)}catch(e){if(s.length=f,n.__v=null,l||o!=null){if(e.then){for(n.__u|=l?160:128;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;o!=null&&(o[o.indexOf(c)]=null),n.__e=c}else if(o!=null)for(M=o.length;M--;)b(o[M])}else n.__e=r.__e;n.__k??=r.__k||[],e.then||ie(n),t.__e(e,n,r)}}else o==null&&n.__v==r.__v?(n.__k=r.__k,n.__e=r.__e):c=n.__e=se(r.__e,n,r,i,a,o,s,l,u);return(d=t.diffed)&&d(n),128&n.__u?void 0:c}function ie(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(ie))}function ae(e,n,r){for(var i=0;i<r.length;i++)ce(r[i],r[++i],r[++i]);t.__c&&t.__c(n,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(e){e.call(n)})}catch(e){t.__e(e,n.__v)}})}function oe(e){return typeof e!=`object`||!e||e.__b>0?e:v(e)?e.map(oe):e.constructor===void 0?y({},e):null}function se(n,r,i,a,o,s,c,l,u){var d,f,p,m,g,_,y,x=i.props||h,S=r.props,C=r.type;if(C==`svg`?o=`http://www.w3.org/2000/svg`:C==`math`?o=`http://www.w3.org/1998/Math/MathML`:o||=`http://www.w3.org/1999/xhtml`,s!=null){for(d=0;d<s.length;d++)if((g=s[d])&&`setAttribute`in g==!!C&&(C?g.localName==C:g.nodeType==3)){n=g,s[d]=null;break}}if(n==null){if(C==null)return document.createTextNode(S);n=document.createElementNS(o,C,S.is&&S),l&&=(t.__m&&t.__m(r,s),!1),s=null}if(C==null)x===S||l&&n.data==S||(n.data=S);else{if(s=C==`textarea`&&S.defaultValue!=null?null:s&&e.call(n.childNodes),!l&&s!=null)for(x={},d=0;d<n.attributes.length;d++)x[(g=n.attributes[d]).name]=g.value;for(d in x)g=x[d],d==`dangerouslySetInnerHTML`?p=g:d==`children`||d in S||d==`value`&&`defaultValue`in S||d==`checked`&&`defaultChecked`in S||N(n,d,null,g,o);for(d in S)g=S[d],d==`children`?m=g:d==`dangerouslySetInnerHTML`?f=g:d==`value`?_=g:d==`checked`?y=g:l&&typeof g!=`function`||x[d]===g||N(n,d,g,x[d],o);if(f)l||p&&(f.__html==p.__html||f.__html==n.innerHTML)||(n.innerHTML=f.__html),r.__k=[];else if(p&&(n.innerHTML=``),ee(r.type==`template`?n.content:n,v(m)?m:[m],r,i,a,C==`foreignObject`?`http://www.w3.org/1999/xhtml`:o,s,c,s?s[0]:i.__k&&T(i,0),l,u),s!=null)for(d=s.length;d--;)b(s[d]);l&&C!=`textarea`||(d=`value`,C==`progress`&&_==null?n.removeAttribute(`value`):_!=null&&(_!==n[d]||C==`progress`&&!_||C==`option`&&_!=x[d])&&N(n,d,_,x[d],o),d=`checked`,y!=null&&y!=n[d]&&N(n,d,y,x[d],o))}return n}function ce(e,n,r){try{if(typeof e==`function`){var i=typeof e.__u==`function`;i&&e.__u(),i&&n==null||(e.__u=e(n))}else e.current=n}catch(e){t.__e(e,r)}}function le(e,n,r){var i,a;if(t.unmount&&t.unmount(e),(i=e.ref)&&(i.current&&i.current!=e.__e||ce(i,null,n)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){t.__e(e,n)}i.base=i.__P=i.__n=null}if(i=e.__k)for(a=0;a<i.length;a++)i[a]&&le(i[a],n,r||typeof e.type!=`function`);r||b(e.__e),e.__c=e.__=e.__e=void 0}function ue(e,t,n){return this.constructor(e,n)}function de(n,r,i){var a,o,s,c;r==document&&(r=document.documentElement),t.__&&t.__(n,r),o=(a=typeof i==`function`)?null:i&&i.__k||r.__k,s=[],c=[],re(r,n=(!a&&i||r).__k=x(C,null,[n]),o||h,h,r.namespaceURI,!a&&i?[i]:o?null:r.firstChild?e.call(r.childNodes):null,s,!a&&i?i:o?o.__e:r.firstChild,a,c),ae(s,n,c),n.props.children=null}e=g.slice,t={__e:function(e,t,n,r){for(var i,a,o;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&a.getDerivedStateFromError!=null&&(i.setState(a.getDerivedStateFromError(e)),o=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),o=i.__d),o)return i.__E=i}catch(t){e=t}throw e}},n=0,r=function(e){return e!=null&&e.constructor===void 0},w.prototype.setState=function(e,t){var n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=y({},this.state);typeof e==`function`&&(e=e(y({},n),this.props)),e&&y(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),O(this))},w.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),O(this))},w.prototype.render=C,i=[],o=typeof Promise==`function`?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=function(e,t){return e.__v.__b-t.__v.__b},k.__r=0,c=Math.random().toString(8),l=`__d`+c,u=`__a`+c,d=/(PointerCapture)$|Capture$/i,f=0,p=ne(!1),m=ne(!0);var P,F,fe,pe,me=0,he=[],I=t,ge=I.__b,_e=I.__r,ve=I.diffed,ye=I.__c,be=I.unmount,xe=I.__;function L(e,t){I.__h&&I.__h(F,e,me||t),me=0;var n=F.__H||(F.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Se(e){return me=1,Ce(Me,e)}function Ce(e,t,n){var r=L(P++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Me(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=F,!F.__f)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=!1,o=r.__c.props!==e;if(r.__c.__H.__.some(function(e){if(e.__N){i=!0;var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}}),a){var s=a.call(this,e,t,n);return i?s||o:s}return!i||o};F.__f=!0;var a=F.shouldComponentUpdate,o=F.componentWillUpdate;F.componentWillUpdate=function(e,t,n){if(this.__e){var r=a;a=void 0,i(e,t,n),a=r}o&&o.call(this,e,t,n)},F.shouldComponentUpdate=i}return r.__N||r.__}function we(e,t){var n=L(P++,3);!I.__s&&je(n.__H,t)&&(n.__=e,n.u=t,F.__H.__h.push(n))}function Te(e,t){var n=L(P++,4);!I.__s&&je(n.__H,t)&&(n.__=e,n.u=t,F.__h.push(n))}function Ee(e){return me=5,R(function(){return{current:e}},[])}function R(e,t){var n=L(P++,7);return je(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function De(){for(var e;e=he.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(z),t.__h.some(Ae),t.__h=[]}catch(n){t.__h=[],I.__e(n,e.__v)}}}I.__b=function(e){F=null,ge&&ge(e)},I.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),xe&&xe(e,t)},I.__r=function(e){_e&&_e(e),P=0;var t=(F=e.__c).__H;t&&(fe===F?(t.__h=[],F.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(z),t.__h.some(Ae),t.__h=[],P=0)),fe=F},I.diffed=function(e){ve&&ve(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(he.push(t)!==1&&pe===I.requestAnimationFrame||((pe=I.requestAnimationFrame)||ke)(De)),t.__H.__.some(function(e){e.u&&=(e.__H=e.u,void 0)})),fe=F=null},I.__c=function(e,t){t.some(function(e){try{e.__h.some(z),e.__h=e.__h.filter(function(e){return!e.__||Ae(e)})}catch(n){t.some(function(e){e.__h&&=[]}),t=[],I.__e(n,e.__v)}}),ye&&ye(e,t)},I.unmount=function(e){be&&be(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(e){try{z(e)}catch(e){t=e}}),n.__H=void 0,t&&I.__e(t,n.__v))};var Oe=typeof requestAnimationFrame==`function`;function ke(e){var t,n=function(){clearTimeout(r),Oe&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);Oe&&(t=requestAnimationFrame(n))}function z(e){var t=F,n=e.__c;typeof n==`function`&&(e.__c=void 0,n()),F=t}function Ae(e){var t=F;e.__c=e.__(),F=t}function je(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function Me(e,t){return typeof t==`function`?t(e):t}var Ne=Symbol.for(`preact-signals`);function B(){if(K>1){K--;return}let e,t=!1;for((function(){let e=G;for(G=void 0;e!==void 0;){let t=e.S;if(t.v===e.v)for(let n=t.t;n!==void 0;n=n.x)n.i===e.i&&(n.i=t.i);e=e.o}})();U!==void 0;){let n=U;for(U=void 0,Fe++;n!==void 0;){let r=n.u;if(n.u=void 0,n.f&=-3,!(8&n.f)&&Ve(n))try{n.c()}catch(n){t||=(e=n,!0)}n=r}}if(Fe=0,K--,t)throw e}function Pe(e){if(K>0)return e();Le=++Ie,K++;try{return e()}finally{B()}}var V,H,U;function W(e){let t=V,n=H;V=void 0,H=void 0;try{return e()}finally{V=t,H=n}}var G,K=0,Fe=0,Ie=0,Le=0,Re=0;function ze(e){if(V===void 0)return;let t=e.n;if(t===void 0||t.t!==V)return t={i:0,S:e,p:V.s,n:void 0,t:V,e:void 0,x:void 0,r:t},V.s!==void 0&&(V.s.n=t),V.s=t,e.n=t,32&V.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=V.s,t.n=void 0,V.s.n=t,V.s=t),t}function q(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=t?.watched,this.Z=t?.unwatched,this.name=t?.name}q.prototype.brand=Ne,q.prototype.h=function(){return!0},q.prototype.S=function(e){let t=this.t;t!==e&&e.e===void 0&&(e.x=t,this.t=e,t===void 0?W(()=>{var e;(e=this.W)==null||e.call(this)}):t.e=e)},q.prototype.U=function(e){if(this.t!==void 0){let t=e.e,n=e.x;t!==void 0&&(t.x=n,e.e=void 0),n!==void 0&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n,n===void 0&&W(()=>{var e;(e=this.Z)==null||e.call(this)}))}},q.prototype.subscribe=function(e){return X(()=>{let t=this.value;W(()=>e(t))},{name:`sub`})},q.prototype.valueOf=function(){return this.value},q.prototype.toString=function(){return this.value+``},q.prototype.toJSON=function(){return this.value},q.prototype.peek=function(){return W(()=>this.value)},Object.defineProperty(q.prototype,"value",{get(){let e=ze(this);return e!==void 0&&(e.i=this.i),this.v},set(e){if(e!==this.v){if(Fe>100)throw Error(`Cycle detected`);(function(e){K!==0&&Fe===0&&e.l!==Le&&(e.l=Le,G={S:e,v:e.v,i:e.i,o:G})})(this),this.v=e,this.i++,Re++,K++;try{for(let e=this.t;e!==void 0;e=e.x)e.t.N()}finally{B()}}}});function Be(e,t){return new q(e,t)}function Ve(e){for(let t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function He(e){for(let t=e.s;t!==void 0;t=t.n){let n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function Ue(e){let t,n=e.s;for(;n!==void 0;){let e=n.p;n.i===-1?(n.S.U(n),e!==void 0&&(e.n=n.n),n.n!==void 0&&(n.n.p=e)):t=n,n.S.n=n.r,n.r!==void 0&&(n.r=void 0),n=e}e.s=t}function J(e,t){q.call(this,void 0,t),this.x=e,this.s=void 0,this.g=Re-1,this.f=4}J.prototype=new q,J.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Re))return!0;if(this.g=Re,this.f|=1,this.i>0&&!Ve(this))return this.f&=-2,!0;let e=V;try{He(this),V=this;let e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return V=e,Ue(this),this.f&=-2,!0},J.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(let e=this.s;e!==void 0;e=e.n)e.S.S(e)}q.prototype.S.call(this,e)},J.prototype.U=function(e){if(this.t!==void 0&&(q.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(let e=this.s;e!==void 0;e=e.n)e.S.U(e)}},J.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(let e=this.t;e!==void 0;e=e.x)e.t.N()}},Object.defineProperty(J.prototype,"value",{get(){if(1&this.f)throw Error(`Cycle detected`);let e=ze(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function We(e,t){return new J(e,t)}function Ge(e){let t=e.m;if(e.m=void 0,typeof t==`function`){K++;let n=V;V=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,Ke(e),t}finally{V=n,B()}}}function Ke(e){for(let t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Ge(e)}function qe(e){if(V!==this)throw Error(`Out-of-order effect`);Ue(this),V=e,this.f&=-2,8&this.f&&Ke(this),B()}function Y(e,t){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=t?.name,H&&H.push(this)}Y.prototype.c=function(){let e=this.S();try{if(8&this.f||this.x===void 0)return;let e=this.x();typeof e==`function`&&(this.m=e)}finally{e()}},Y.prototype.S=function(){if(1&this.f)throw Error(`Cycle detected`);this.f|=1,this.f&=-9,Ge(this),He(this),K++;let e=V;return V=this,qe.bind(this,e)},Y.prototype.N=function(){2&this.f||(this.f|=2,this.u=U,U=this)},Y.prototype.d=function(){this.f|=8,1&this.f||Ke(this)},Y.prototype.dispose=function(){this.d()};function X(e,t){let n=new Y(e,t);try{n.c()}catch(e){throw n.d(),e}let r=n.d.bind(n);return r[Symbol.dispose]=r,r}var Je=typeof window<`u`&&!!window.__PREACT_SIGNALS_DEVTOOLS__,Ye,Z,Xe,Ze=[];X(function(){Ye=this.N})();function Q(e,n){t[e]=n.bind(null,t[e]||(()=>{}))}function $(e){if(Xe){let e=Xe;Xe=void 0,e()}Xe=e&&e.S()}function Qe({data:e}){let t=et(e);t.name=`ReactiveDom`,t.value=e;let[n,i]=R(()=>{let e=this,n=this.__v;for(;n=n.__;)if(n.__c){n.__c.__$f|=4;break}let i=We(()=>{let e=t.value.value;return e===0?0:!0===e?``:e||``}),a=We(()=>!Array.isArray(i.value)&&!r(i.value)),o=X(function(){if(this.N=it,a.value){let t=i.value;e.__v&&e.__v.__e&&e.__v.__e.nodeType===3&&(e.__v.__e.data=t)}}),s=this.__$u.d;return this.__$u.d=function(){o(),s.call(this)},[a,i]},[]);return n.value?i.peek():i.value}Qe.displayName=`ReactiveTextNode`,Object.defineProperties(q.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Qe},props:{configurable:!0,get(){let e=this;return{data:{get value(){return e.value}}}}},__b:{configurable:!0,value:1}}),Q(`__b`,(e,t)=>{if($(),Z=void 0,typeof t.type==`string`){let e,n=t.props;for(let r in n){if(r===`children`)continue;let i=n[r];i instanceof q&&(e||(t.__np=e={}),e[r]=i,n[r]=i.peek())}}e(t)}),Q(`__r`,(e,t)=>{if(e(t),t.type!==C){$();let e,n=t.__c;n&&(n.__$f&=-2,e=n.__$u,e===void 0&&(n.__$u=e=function(e,t){let n;return X(function(){n=this},{name:t}),n.c=e,n}(function(e){return function(){var t;Je&&((t=this.y)==null||t.call(this)),e.__$f|=1,e.setState({})}}(n),typeof t.type==`function`?t.type.displayName||t.type.name:``))),Z=n,$(e)}}),Q(`__e`,(e,t,n,r)=>{$(),Z=void 0,e(t,n,r)}),Q(`diffed`,(e,t)=>{$(),Z=void 0;let n;if(typeof t.type==`string`&&(n=t.__e)){let e=t.__np,r=t.props,i=n.U;if(i)for(let t in i){let n=i[t];n===void 0||e&&t in e||(n.d(),i[t]=void 0)}if(e){i||(i={},n.U=i);for(let t in e){let a=i[t],o=e[t];a===void 0?(a=$e(n,t,o,r),i[t]=a):a.o(o,r)}}}e(t)});function $e(e,t,n,r){let i=t in e&&e.ownerSVGElement===void 0,a=Be(n);return{o:(e,t)=>{a.value=e,r=t},d:X(function(){this.N=it;let n=a.value.value;r[t]!==n&&(r[t]=n,i?e[t]=n:n!=null&&(!1!==n||t[4]===`-`)?e.setAttribute(t,n):e.removeAttribute(t))})}}Q(`unmount`,(e,t)=>{if(typeof t.type==`string`){let e=t.__e;if(e){let t=e.U;if(t){e.U=void 0;for(let e in t){let n=t[e];n&&n.d()}}}let n=t.__np;if(n){let e=t.props;for(let t in n)e[t]=n[t]}t.__np=void 0}else{let e=t.__c;if(e){let t=e.__$u;t&&(e.__$u=void 0,t.d())}}e(t)}),Q(`__h`,(e,t,n,r)=>{r<3&&(t.__$f|=2),e(t,n,r)}),w.prototype.shouldComponentUpdate=function(e,t){if(this.__R)return!0;let n=this.__$u,r=n&&n.s!==void 0;for(let e in t)return!0;if(this.__f||typeof this.u==`boolean`&&!0===this.u){let e=2&this.__$f;if(!(r||e||4&this.__$f)||1&this.__$f)return!0}else if(!(r||4&this.__$f)||3&this.__$f)return!0;for(let t in e)if(t!==`__source`&&e[t]!==this.props[t])return!0;for(let t in this.props)if(!(t in e))return!0;return!1};function et(e,t){return R(()=>Be(e,t),[])}function tt(e,t){let n=Ee(e);return n.current=e,Z.__$f|=4,R(()=>We(()=>n.current(),t),[])}var nt=e=>{queueMicrotask(()=>{queueMicrotask(e)})};function rt(){Pe(()=>{let e;for(;e=Ze.shift();)Ye.call(e)})}function it(){Ze.push(this)===1&&(t.requestAnimationFrame||nt)(rt)}function at(e){try{return globalThis.localStorage?.getItem(e)??void 0}catch{return}}function ot(e,t){try{t===void 0?globalThis.localStorage?.removeItem(e):globalThis.localStorage?.setItem(e,t)}catch{}}function st(e,t){let n=at(e);if(!n)return t;try{return JSON.parse(n)}catch{return t}}var ct={"app.name":`Alisio`,"app.skip":`Skip to the conversation`,"auth.title":`Open the launch link`,"auth.body":`This browser has no session for this server. Open the URL that alisio serve printed in the terminal; it ends in ?token=….`,"reload.title":`Reload required`,"reload.body":`The server was updated while this tab was open. Reload to continue.`,"reload.action":`Reload`,"stream.reconnecting":`Reconnecting…`,"common.copy":`Copy`,"common.copied":`Copied`,"common.close":`Close`,"common.cancel":`Cancel`,"common.retry":`Retry`,"common.loading":`Loading…`,"sidebar.label":`Sessions`,"sidebar.newSession":`New session`,"sidebar.workspaces":`Workspaces`,"sidebar.search":`Search sessions`,"sidebar.showArchived":`Show archived sessions`,"sidebar.hideArchived":`Hide archived sessions`,"sidebar.addWorkspace":`Open a workspace`,"sidebar.addWorkspacePrompt":`Absolute path of the directory`,"sidebar.addWorkspaceAction":`Open`,"sidebar.noSessions":`No sessions yet`,"sidebar.noMatches":`No sessions match “{query}”`,"sidebar.settings":`Settings`,"sidebar.collapse":`Collapse sidebar`,"sidebar.expand":`Expand sidebar`,"sidebar.untrusted":`untrusted`,"sidebar.untrustedHint":`Project resources are not loaded. Trust this folder by running alisio in it from the terminal.`,"sidebar.newIn":`New session in {name}`,"sidebar.toggleFolder":`Show or hide sessions of {name}`,"session.untitled":`Untitled session`,"session.actions":`Actions for {title}`,"session.pin":`Pin`,"session.unpin":`Unpin`,"session.archive":`Archive`,"session.unarchive":`Restore`,"status.idle":`Idle`,"status.queued":`Queued`,"status.running":`Running`,"status.awaiting_input":`Waiting for you`,"status.locked":`In use by another process`,"status.error":`Last run failed`,"header.conversation":`Conversation`,"header.trajectory":`Trajectory`,"trajectory.time":`Time`,"trajectory.turn":`Turn`,"trajectory.type":`Event`,"trajectory.summary":`Summary`,"trajectory.duration":`Duration`,"trajectory.empty":`No events yet. Send a message to start a run.`,"trajectory.earlier":`Show {count} earlier runs`,"trajectory.status.running":`running`,"trajectory.status.completed":`completed`,"trajectory.status.failed":`failed`,"trajectory.status.cancelled":`cancelled`,"stats.turn":`{count} turn`,"stats.turns":`{count} turns`,"stats.step":`{count} step`,"stats.steps":`{count} steps`,"stats.llm":`LLM {time}`,"stats.tools":`tools {time}`,"stats.ttft":`TTFT {time}`,"stats.throughput":`{value} tok/s`,"stats.cache":`cache {value}`,"stats.input":`in {value}`,"stats.label":`Last run: {stats}`,"stats.session":`Session ({runs} runs): {stats}`,"header.sessionLog":`Session log`,"header.sessionLogHint":`Download every event and message as JSON Lines`,"header.rename":`Rename session`,"header.titleLabel":`Session title`,"header.agent":`Agent {agent}`,"header.openSidebar":`Open the session list`,"preset.read-only":`Read only`,"preset.ask":`Ask`,"preset.workspace-write":`Workspace write`,"preset.full-access":`Full access`,"presetHint.read-only":`Reads only; nothing asks for approval.`,"presetHint.ask":`Every write, process and network call asks first.`,"presetHint.workspace-write":`Writes in the workspace; processes and network ask first.`,"presetHint.full-access":`Writes, runs processes and reaches the network without asking.`,"transcript.label":`Conversation`,"transcript.emptyTitle":`What should we work on?`,"transcript.emptyBody":`Describe a change, a bug or a question about this workspace. Type / for commands.`,"transcript.noSessionTitle":`No session open`,"transcript.noSessionBody":`Pick a session in the sidebar or start a new one.`,"transcript.loadOlder":`Load earlier messages`,"transcript.showEarlier":`Show {count} earlier turns`,"transcript.scrollToBottom":`Jump to the latest message`,"transcript.copyMessage":`Copy message`,"transcript.think":`Think`,"transcript.context":`Context injection`,"transcript.working":`Working…`,"transcript.sending":`Sending…`,"transcript.notSent":`Not sent: {error}`,"transcript.images":`{count} image(s)`,"transcript.turnDone":`Response complete`,"tool.input":`Input`,"tool.output":`Output`,"tool.running":`Running`,"tool.failed":`Failed`,"tool.pending":`No result recorded`,"tool.noOutput":`No output yet`,"tool.truncated":`The result was truncated for streaming; reload the session to see all of it.`,"tool.rawOutput":`Raw output`,"tool.expand":`Show details of {name}`,"tool.duration":`{ms} ms`,"notice.summary":`Earlier messages were compacted into a summary`,"notice.run_failed":`The run failed: {error}`,"notice.run_cancelled":`The run was stopped`,"notice.run_turns_exceeded":`Stopped after {turns} turns (turn limit)`,"notice.response_truncated":`The answer hit the output limit ({maxOutputTokens} tokens)`,"notice.model_changed":`Model changed from {previous} to {model}`,"notice.compaction_completed":`History compacted: ~{before} → ~{after} tokens`,"notice.compaction_failed":`Compaction failed: {error}`,"notice.context_reduced":`{messages} tool results were shortened to fit the context`,"notice.plugin_hook_failed":`Plugin {source} failed in {hook}: {error}`,"block.unsupported":`Unsupported block: {kind}`,"block.showJson":`Show the raw block`,"diff.title":`Changes`,"diff.files":`{count} files`,"diff.untitled":`(unnamed file)`,"diff.unified":`Unified`,"diff.split":`Side by side`,"diff.binary":`Binary file changed`,"diff.noChanges":`No changes`,"diff.status.modified":`modified`,"diff.status.added":`added`,"diff.status.deleted":`deleted`,"diff.status.renamed":`renamed`,"terminal.output":`Output`,"terminal.copyCommand":`Copy command`,"terminal.copyOutput":`Copy output`,"terminal.showAll":`Show {count} earlier lines`,"terminal.empty":`No output`,"terminal.waiting":`Waiting for output…`,"terminal.running":`Running…`,"terminal.exit":`exit {code}`,"terminal.truncated":`output truncated`,"json.copyValue":`Copy value`,"json.copyPath":`Copy path`,"json.more":`… {count} more`,"json.source":`View as code`,"json.tree":`View as tree`,"tests.passed":`{count} passed`,"tests.failed":`{count} failed`,"tests.skipped":`{count} skipped`,"tests.onlyFailed":`Only failures`,"tests.error":`Error`,"tests.status.passed":`passed`,"tests.status.failed":`failed`,"tests.status.skipped":`skipped`,"tests.status.todo":`to do`,"progress.title":`Progress`,"progress.status.pending":`pending`,"progress.status.running":`running`,"progress.status.completed":`completed`,"progress.status.failed":`failed`,"progress.status.cancelled":`cancelled`,"dock.label":`Workspace files`,"dock.files":`Files`,"dock.changes":`Changes`,"dock.preview":`Preview`,"dock.close":`Close the panel`,"dock.more":`Show more`,"dock.symlink":`Symbolic link (not followed)`,"dock.noChanges":`This session has not changed any file yet.`,"dock.gitStatus":`Git status`,"dock.noPreview":`Pick a file in Files or Changes, or a path in the conversation.`,"dock.truncated":`Showing the first 2 MB of {size} KB.`,"dock.download":`Download`,"dock.binary":`Binary file.`,"dock.copyPath":`Copy path`,"dock.mention":`Mention in the message`,"dock.noSession":`Open a session to browse its workspace.`,"header.toggleDock":`Show or hide files and changes`,"tool.openFile":`Open {path} in the side panel`,"diff.open":`Open the file`,"mermaid.source":`Source`,"mermaid.diagram":`Diagram`,"mermaid.export":`Export SVG`,"mermaid.fullscreen":`Full screen`,"mermaid.zoomIn":`Zoom in`,"mermaid.zoomOut":`Zoom out`,"mermaid.zoomReset":`Reset zoom`,"mermaid.error":`The diagram could not be drawn: {message}`,"math.error":`The formula could not be rendered: {message}`,"math.copy":`Copy TeX source`,"code.wrap":`Wrap lines`,"composer.label":`Message the agent`,"composer.placeholder":`Describe what you want to build. / for commands`,"composer.attach":`Attach images (PNG, JPEG, GIF, WebP; paste or drop them too)`,"composer.attachments":`Images to send`,"composer.uploadFailed":`Failed`,"composer.removeAttachment":`Remove {name}`,"composer.reject.too-large":`Images are limited to 10 MB each.`,"composer.reject.unsupported":`Only PNG, JPEG, GIF and WebP images can be attached.`,"composer.reject.too-many":`Up to 8 images per message.`,"composer.reject.empty":`The image is empty.`,"composer.send":`Send`,"composer.stop":`Stop the run`,"composer.preset":`Permissions: {preset}`,"composer.model":`Model and effort`,"composer.effort":`Reasoning effort`,"composer.effortDefault":`Default`,"composer.models":`Models`,"composer.modelsUnavailable":`The provider did not list its models`,"composer.context":`Context: {used} of {total} tokens ({percent}%)`,"composer.contextUnknown":`Context: about {used} tokens (window unknown)`,"composer.locked":`Another Alisio process is using this session; it is read-only here.`,"composer.child":`This is a child session; its parent session drives it.`,"palette.label":`Commands`,"palette.empty":`No command matches`,"palette.source.builtin":`built-in`,"palette.source.plugin":`plugin`,"palette.source.prompt":`prompt`,"palette.source.skill":`skill`,"approval.title":`Approval required`,"approval.effect.write":`write files`,"approval.effect.process":`run a process`,"approval.effect.external":`reach outside the workspace`,"approval.wants":`{tool} wants to {effect}`,"approval.directory":`Allow access to a directory outside the workspace?`,"approval.from":`Requested by {label}`,"approval.child":`From a child session`,"approval.more":`{count} more waiting`,"approval.deny":`Deny`,"approval.once":`Allow once`,"approval.session":`Allow for session`,"approval.keys":`Keys: D deny · O allow once · S allow for session`,"approval.announce":`Approval required: {tool}`,"interaction.title":`A plugin is asking`,"interaction.from":`Asked by {label}`,"interaction.questionOf":`Question {n} of {total}`,"interaction.recommended":`Recommended`,"interaction.skip":`Skip`,"interaction.next":`Next`,"interaction.submit":`Submit`,"settings.title":`Settings`,"settings.general":`General`,"settings.appearance":`Appearance`,"settings.language":`Language`,"settings.theme":`Theme`,"settings.density":`Process rows`,"settings.plugins":`Plugins`,"settings.skills":`Skills`,"settings.mcp":`MCP servers`,"settings.agents":`Agent presets`,"settings.workspace":`Workspace: {path}`,"settings.noWorkspace":`Open or add a workspace first; these settings belong to a workspace.`,"settings.default":`Default`,"settings.agentSettings":`Agent settings`,"settings.agentSettingsLead":`Saved for this user in`,"settings.readOnly":`alisio serve runs with --read-only: settings cannot be changed.`,"setting.compaction.auto":`Compact the context automatically`,"setting.compaction.threshold":`Compaction threshold (fraction of the window)`,"setting.compaction.keepTurns":`Recent turns kept verbatim`,"setting.compaction.maxOutputTokens":`Summary length (tokens)`,"setting.context.claudeMdFallback":`Read CLAUDE.md when there is no AGENTS.md`,"setting.context.maxBytes":`Project instructions limit (bytes)`,"setting.limits.maxTurns":`Turns per run`,"setting.limits.maxOutputTokens":`Output tokens per turn`,"setting.limits.maxContextChars":`Context characters sent`,"setting.limits.timeoutMs":`Provider request timeout (ms)`,"setting.pluginHooks.timeoutMs":`Plugin hook timeout (ms)`,"setting.websearch.provider":`Web search provider`,"plugins.lead":`Configure and inspect the plugins loaded in this workspace.`,"plugins.tab.configuration":`Plugin configuration`,"plugins.tab.list":`Plugin list`,"plugins.search":`Search plugins`,"plugins.none":`No plugin matches.`,"plugins.status.enabled":`Enabled`,"plugins.status.disabled":`Disabled`,"plugins.status.failed":`Failed`,"plugins.status.restart":`Restart required`,"plugins.id":`Id`,"plugins.version":`Version`,"plugins.source":`Source`,"plugins.builtin":`built in`,"plugins.categories":`Categories`,"plugins.tools":`Tools`,"plugins.commands":`Commands`,"plugins.enable":`Enabled in this workspace`,"plugins.enableNamed":`Enable {name}`,"plugins.deferred":`Saved. It applies when the workspace's runs finish.`,"plugins.notSandboxed":`Plugins are not sandboxed: they run inside the alisio serve process with your user's permissions. Enable only plugins you trust.`,"plugins.howToInstall":`Plugins are installed from the terminal (alisio plugins or the configuration file); the web only enables or disables the ones already configured.`,"plugins.applyNote":`Enabling or disabling a plugin saves a project override and reloads the workspace as soon as it has no runs; open sessions keep their history.`,"plugins.projectFile":`Project configuration file:`,"skills.lead":`Skills the agent can load in this workspace. Disabled skills leave the slash palette and the model's catalog.`,"skills.search":`Search skills`,"skills.none":`No skill found.`,"skills.shadowed":`Shadowed`,"skills.meta":`{scope} · about {tokens} tokens`,"skills.shadowedBy":`shadowed by {id}`,"skills.locked":`locked by its plugin`,"mcp.lead":`Model Context Protocol servers configured for this workspace.`,"mcp.notGranted":`MCP access is not granted for this workspace: servers stay disconnected.`,"mcp.granted":`MCP access granted until alisio serve stops.`,"mcp.grantedPersisted":`MCP access granted for this user (mcp.allow).`,"mcp.readOnly":`alisio serve runs with --read-only: MCP is unavailable.`,"mcp.grant":`Grant MCP access`,"mcp.consentTitle":`Allow MCP servers to run?`,"mcp.consentBody":`MCP servers are local processes or remote services that run with your user's privileges and can read files and reach the network. Grant access only if you trust the configured servers.`,"mcp.remember":`Remember for this user (writes mcp.allow to your configuration)`,"mcp.none":`No MCP servers are configured.`,"mcp.status":`{status}`,"mcp.meta":`{transport} · {source} · {tools} tools · {resources} resources · {prompts} prompts`,"mcp.needsGrant":`Grant MCP access first`,"mcp.connect":`Connect`,"agents.lead":`Agents that can drive a session. Pick one for the open session; definitions are edited outside the web.`,"agents.source.builtin":`built in`,"agents.source.user":`user`,"agents.source.plugin":`plugin`,"agents.readOnly":`read-only`,"agents.default":`workspace default`,"agents.model":`Suggested model: {model}`,"agents.instructions":`Instructions`,"agents.inUse":`In use`,"agents.use":`Use in this session`,"appearance.lead":`How the interface looks in this browser.`,"config.open":`Open configuration file`,"config.lead":`alisio serve does not open editors; copy a path and open it yourself.`,"config.effective":`Effective configuration file`,"config.settings":`User settings (written by this page)`,"config.providers":`Provider profiles`,"config.copy":`Copy path`,"config.untrusted":`This workspace is not trusted, so its .alisio/config.json is ignored. Trust it from the terminal.`,"settings.models":`Models`,"models.lead":`Provider profiles, their credentials and the provider this workspace runs.`,"models.running":`This workspace runs {provider} · {model} (profile: {profile}).`,"models.none":`No provider profiles yet. Add one below or run alisio connect in a terminal.`,"models.activeGlobal":`Default profile`,"models.current":`This workspace`,"models.edit":`Edit`,"models.activate":`Activate in this workspace`,"models.activated":`{name} is now active in this workspace.`,"models.unchanged":`That profile and model are already active.`,"models.add":`Add a profile`,"models.form.name":`Profile name`,"models.form.type":`Provider`,"models.form.model":`Model`,"models.form.save":`Save profile`,"models.form.secretsNote":`Secrets are not part of a profile: set them below it after saving; they are stored apart and never shown again.`,"models.credential.missing":`Not set`,"models.credential.env":`Taken from an environment variable`,"models.credential.stored":`Stored`,"models.credential.storedTail":`Stored · ends in {tail}`,"models.credential.enter":`Paste a new value`,"models.credential.replace":`Replace the stored value`,"models.credential.save":`Save`,"models.credential.remove":`Remove`,"models.credential.saved":`Credential saved. Activate the profile to use it now.`,"theme.dark":`Dark`,"theme.light":`Light`,"theme.system":`System`,"density.compact":`Compact`,"density.detailed":`Detailed`,"language.en":`English`,"language.es":`Español`,"error.generic":`{message}`},lt={"app.name":`Alisio`,"app.skip":`Saltar a la conversación`,"auth.title":`Abre el enlace de inicio`,"auth.body":`Este navegador no tiene sesión en este servidor. Abre la URL que alisio serve imprimió en la terminal; termina en ?token=….`,"reload.title":`Hay que recargar`,"reload.body":`El servidor se actualizó mientras esta pestaña estaba abierta. Recarga para seguir.`,"reload.action":`Recargar`,"stream.reconnecting":`Reconectando…`,"common.copy":`Copiar`,"common.copied":`Copiado`,"common.close":`Cerrar`,"common.cancel":`Cancelar`,"common.retry":`Reintentar`,"common.loading":`Cargando…`,"sidebar.label":`Sesiones`,"sidebar.newSession":`Nueva sesión`,"sidebar.workspaces":`Workspaces`,"sidebar.search":`Buscar sesiones`,"sidebar.showArchived":`Mostrar sesiones archivadas`,"sidebar.hideArchived":`Ocultar sesiones archivadas`,"sidebar.addWorkspace":`Abrir un workspace`,"sidebar.addWorkspacePrompt":`Ruta absoluta del directorio`,"sidebar.addWorkspaceAction":`Abrir`,"sidebar.noSessions":`Aún no hay sesiones`,"sidebar.noMatches":`Ninguna sesión coincide con «{query}»`,"sidebar.settings":`Ajustes`,"sidebar.collapse":`Contraer la barra lateral`,"sidebar.expand":`Expandir la barra lateral`,"sidebar.untrusted":`no confiable`,"sidebar.untrustedHint":`Los recursos del proyecto no se cargan. Confía en esta carpeta ejecutando alisio en ella desde la terminal.`,"sidebar.newIn":`Nueva sesión en {name}`,"sidebar.toggleFolder":`Mostrar u ocultar las sesiones de {name}`,"session.untitled":`Sesión sin título`,"session.actions":`Acciones de {title}`,"session.pin":`Fijar`,"session.unpin":`Desfijar`,"session.archive":`Archivar`,"session.unarchive":`Restaurar`,"status.idle":`Inactiva`,"status.queued":`En cola`,"status.running":`En ejecución`,"status.awaiting_input":`Esperando tu respuesta`,"status.locked":`En uso por otro proceso`,"status.error":`La última ejecución falló`,"header.conversation":`Conversación`,"header.trajectory":`Trayectoria`,"trajectory.time":`Hora`,"trajectory.turn":`Turno`,"trajectory.type":`Evento`,"trajectory.summary":`Resumen`,"trajectory.duration":`Duración`,"trajectory.empty":`Aún no hay eventos. Envía un mensaje para iniciar un run.`,"trajectory.earlier":`Mostrar {count} runs anteriores`,"trajectory.status.running":`en curso`,"trajectory.status.completed":`completado`,"trajectory.status.failed":`fallido`,"trajectory.status.cancelled":`cancelado`,"stats.turn":`{count} turno`,"stats.turns":`{count} turnos`,"stats.step":`{count} paso`,"stats.steps":`{count} pasos`,"stats.llm":`LLM {time}`,"stats.tools":`tools {time}`,"stats.ttft":`TTFT {time}`,"stats.throughput":`{value} tok/s`,"stats.cache":`caché {value}`,"stats.input":`entrada {value}`,"stats.label":`Último run: {stats}`,"stats.session":`Sesión ({runs} runs): {stats}`,"header.sessionLog":`Log de sesión`,"header.sessionLogHint":`Descarga todos los eventos y mensajes como JSON Lines`,"header.rename":`Renombrar la sesión`,"header.titleLabel":`Título de la sesión`,"header.agent":`Agente {agent}`,"header.openSidebar":`Abrir la lista de sesiones`,"preset.read-only":`Solo lectura`,"preset.ask":`Preguntar`,"preset.workspace-write":`Escritura en workspace`,"preset.full-access":`Acceso total`,"presetHint.read-only":`Solo lee; nada pide aprobación.`,"presetHint.ask":`Cada escritura, proceso y llamada de red pregunta antes.`,"presetHint.workspace-write":`Escribe en el workspace; procesos y red preguntan antes.`,"presetHint.full-access":`Escribe, ejecuta procesos y accede a la red sin preguntar.`,"transcript.label":`Conversación`,"transcript.emptyTitle":`¿En qué trabajamos?`,"transcript.emptyBody":`Describe un cambio, un error o una pregunta sobre este workspace. Escribe / para ver los comandos.`,"transcript.noSessionTitle":`No hay ninguna sesión abierta`,"transcript.noSessionBody":`Elige una sesión en la barra lateral o empieza una nueva.`,"transcript.loadOlder":`Cargar mensajes anteriores`,"transcript.showEarlier":`Mostrar {count} turnos anteriores`,"transcript.scrollToBottom":`Ir al último mensaje`,"transcript.copyMessage":`Copiar el mensaje`,"transcript.think":`Razonamiento`,"transcript.context":`Inyección de contexto`,"transcript.working":`Trabajando…`,"transcript.sending":`Enviando…`,"transcript.notSent":`No se envió: {error}`,"transcript.images":`{count} imagen(es)`,"transcript.turnDone":`Respuesta completa`,"tool.input":`Entrada`,"tool.output":`Salida`,"tool.running":`En ejecución`,"tool.failed":`Falló`,"tool.pending":`Sin resultado registrado`,"tool.noOutput":`Aún no hay salida`,"tool.truncated":`El resultado se recortó para el streaming; recarga la sesión para verlo completo.`,"tool.rawOutput":`Salida en bruto`,"tool.expand":`Mostrar los detalles de {name}`,"tool.duration":`{ms} ms`,"notice.summary":`Los mensajes anteriores se compactaron en un resumen`,"notice.run_failed":`La ejecución falló: {error}`,"notice.run_cancelled":`La ejecución se detuvo`,"notice.run_turns_exceeded":`Se detuvo tras {turns} turnos (límite de turnos)`,"notice.response_truncated":`La respuesta llegó al límite de salida ({maxOutputTokens} tokens)`,"notice.model_changed":`El modelo cambió de {previous} a {model}`,"notice.compaction_completed":`Historial compactado: ~{before} → ~{after} tokens`,"notice.compaction_failed":`La compactación falló: {error}`,"notice.context_reduced":`Se acortaron {messages} resultados de tools para caber en el contexto`,"notice.plugin_hook_failed":`El plugin {source} falló en {hook}: {error}`,"block.unsupported":`Bloque no soportado: {kind}`,"block.showJson":`Mostrar el bloque en bruto`,"diff.title":`Cambios`,"diff.files":`{count} archivos`,"diff.untitled":`(archivo sin nombre)`,"diff.unified":`Unificado`,"diff.split":`Lado a lado`,"diff.binary":`Archivo binario modificado`,"diff.noChanges":`Sin cambios`,"diff.status.modified":`modificado`,"diff.status.added":`nuevo`,"diff.status.deleted":`eliminado`,"diff.status.renamed":`renombrado`,"terminal.output":`Salida`,"terminal.copyCommand":`Copiar comando`,"terminal.copyOutput":`Copiar salida`,"terminal.showAll":`Mostrar {count} líneas anteriores`,"terminal.empty":`Sin salida`,"terminal.waiting":`Esperando salida…`,"terminal.running":`En ejecución…`,"terminal.exit":`salida {code}`,"terminal.truncated":`salida truncada`,"json.copyValue":`Copiar valor`,"json.copyPath":`Copiar ruta`,"json.more":`… {count} más`,"json.source":`Ver como código`,"json.tree":`Ver como árbol`,"tests.passed":`{count} correctas`,"tests.failed":`{count} fallidas`,"tests.skipped":`{count} omitidas`,"tests.onlyFailed":`Solo fallos`,"tests.error":`Error`,"tests.status.passed":`correcta`,"tests.status.failed":`fallida`,"tests.status.skipped":`omitida`,"tests.status.todo":`pendiente`,"progress.title":`Progreso`,"progress.status.pending":`pendiente`,"progress.status.running":`en curso`,"progress.status.completed":`completado`,"progress.status.failed":`fallido`,"progress.status.cancelled":`cancelado`,"dock.label":`Archivos del workspace`,"dock.files":`Archivos`,"dock.changes":`Cambios`,"dock.preview":`Vista previa`,"dock.close":`Cerrar el panel`,"dock.more":`Mostrar más`,"dock.symlink":`Enlace simbólico (no se sigue)`,"dock.noChanges":`Esta sesión aún no ha cambiado ningún archivo.`,"dock.gitStatus":`Estado en git`,"dock.noPreview":`Elige un archivo en Archivos o Cambios, o una ruta de la conversación.`,"dock.truncated":`Se muestran los primeros 2 MB de {size} KB.`,"dock.download":`Descargar`,"dock.binary":`Archivo binario.`,"dock.copyPath":`Copiar ruta`,"dock.mention":`Mencionar en el mensaje`,"dock.noSession":`Abre una sesión para explorar su workspace.`,"header.toggleDock":`Mostrar u ocultar archivos y cambios`,"tool.openFile":`Abrir {path} en el panel lateral`,"diff.open":`Abrir el archivo`,"mermaid.source":`Fuente`,"mermaid.diagram":`Diagrama`,"mermaid.export":`Exportar SVG`,"mermaid.fullscreen":`Pantalla completa`,"mermaid.zoomIn":`Acercar`,"mermaid.zoomOut":`Alejar`,"mermaid.zoomReset":`Restablecer zoom`,"mermaid.error":`No se pudo dibujar el diagrama: {message}`,"math.error":`No se pudo mostrar la fórmula: {message}`,"math.copy":`Copiar la fuente TeX`,"code.wrap":`Ajustar líneas`,"composer.label":`Mensaje para el agente`,"composer.placeholder":`Describe lo que quieres construir. / para comandos`,"composer.attach":`Adjuntar imágenes (PNG, JPEG, GIF, WebP; también puedes pegarlas o soltarlas)`,"composer.attachments":`Imágenes para enviar`,"composer.uploadFailed":`Falló`,"composer.removeAttachment":`Quitar {name}`,"composer.reject.too-large":`Las imágenes están limitadas a 10 MB cada una.`,"composer.reject.unsupported":`Solo se pueden adjuntar imágenes PNG, JPEG, GIF y WebP.`,"composer.reject.too-many":`Hasta 8 imágenes por mensaje.`,"composer.reject.empty":`La imagen está vacía.`,"composer.send":`Enviar`,"composer.stop":`Detener la ejecución`,"composer.preset":`Permisos: {preset}`,"composer.model":`Modelo y esfuerzo`,"composer.effort":`Esfuerzo de razonamiento`,"composer.effortDefault":`Predeterminado`,"composer.models":`Modelos`,"composer.modelsUnavailable":`El proveedor no listó sus modelos`,"composer.context":`Contexto: {used} de {total} tokens ({percent}%)`,"composer.contextUnknown":`Contexto: unos {used} tokens (ventana desconocida)`,"composer.locked":`Otro proceso de Alisio está usando esta sesión; aquí es de solo lectura.`,"composer.child":`Es una sesión hija; la conduce su sesión padre.`,"palette.label":`Comandos`,"palette.empty":`Ningún comando coincide`,"palette.source.builtin":`integrado`,"palette.source.plugin":`plugin`,"palette.source.prompt":`prompt`,"palette.source.skill":`skill`,"approval.title":`Se necesita aprobación`,"approval.effect.write":`escribir archivos`,"approval.effect.process":`ejecutar un proceso`,"approval.effect.external":`acceder fuera del workspace`,"approval.wants":`{tool} quiere {effect}`,"approval.directory":`¿Permitir acceso a un directorio fuera del workspace?`,"approval.from":`Lo pide {label}`,"approval.child":`Desde una sesión hija`,"approval.more":`{count} más en espera`,"approval.deny":`Denegar`,"approval.once":`Permitir una vez`,"approval.session":`Permitir en la sesión`,"approval.keys":`Teclas: D denegar · O permitir una vez · S permitir en la sesión`,"approval.announce":`Se necesita aprobación: {tool}`,"interaction.title":`Un plugin pregunta`,"interaction.from":`Pregunta de {label}`,"interaction.questionOf":`Pregunta {n} de {total}`,"interaction.recommended":`Recomendada`,"interaction.skip":`Omitir`,"interaction.next":`Siguiente`,"interaction.submit":`Enviar`,"settings.title":`Ajustes`,"settings.general":`General`,"settings.appearance":`Apariencia`,"settings.language":`Idioma`,"settings.theme":`Tema`,"settings.density":`Filas de proceso`,"settings.plugins":`Plugins`,"settings.skills":`Skills`,"settings.mcp":`Servidores MCP`,"settings.agents":`Presets de agente`,"settings.workspace":`Workspace: {path}`,"settings.noWorkspace":`Abre o añade primero un workspace; estos ajustes pertenecen a un workspace.`,"settings.default":`Predeterminado`,"settings.agentSettings":`Ajustes del agente`,"settings.agentSettingsLead":`Se guardan para este usuario en`,"settings.readOnly":`alisio serve se ejecuta con --read-only: no se pueden cambiar los ajustes.`,"setting.compaction.auto":`Compactar el contexto automáticamente`,"setting.compaction.threshold":`Umbral de compactación (fracción de la ventana)`,"setting.compaction.keepTurns":`Turnos recientes conservados literalmente`,"setting.compaction.maxOutputTokens":`Longitud del resumen (tokens)`,"setting.context.claudeMdFallback":`Leer CLAUDE.md si no hay AGENTS.md`,"setting.context.maxBytes":`Límite de instrucciones del proyecto (bytes)`,"setting.limits.maxTurns":`Turnos por run`,"setting.limits.maxOutputTokens":`Tokens de salida por turno`,"setting.limits.maxContextChars":`Caracteres de contexto enviados`,"setting.limits.timeoutMs":`Tiempo máximo de petición al proveedor (ms)`,"setting.pluginHooks.timeoutMs":`Tiempo máximo de hooks de plugins (ms)`,"setting.websearch.provider":`Proveedor de búsqueda web`,"plugins.lead":`Configura e inspecciona los plugins cargados en este workspace.`,"plugins.tab.configuration":`Configuración de plugins`,"plugins.tab.list":`Lista de plugins`,"plugins.search":`Buscar plugins`,"plugins.none":`Ningún plugin coincide.`,"plugins.status.enabled":`Habilitado`,"plugins.status.disabled":`Deshabilitado`,"plugins.status.failed":`Con fallo`,"plugins.status.restart":`Requiere reinicio`,"plugins.id":`Id`,"plugins.version":`Versión`,"plugins.source":`Origen`,"plugins.builtin":`integrado`,"plugins.categories":`Categorías`,"plugins.tools":`Tools`,"plugins.commands":`Comandos`,"plugins.enable":`Habilitado en este workspace`,"plugins.enableNamed":`Habilitar {name}`,"plugins.deferred":`Guardado. Se aplica cuando terminen los runs del workspace.`,"plugins.notSandboxed":`Los plugins no están aislados: se ejecutan dentro del proceso de alisio serve con los permisos de tu usuario. Habilita solo plugins de confianza.`,"plugins.howToInstall":`Los plugins se instalan desde la terminal (alisio plugins o el archivo de configuración); la web solo habilita o deshabilita los ya configurados.`,"plugins.applyNote":`Habilitar o deshabilitar un plugin guarda un ajuste del proyecto y recarga el workspace en cuanto no tiene runs; las sesiones abiertas conservan su historial.`,"plugins.projectFile":`Archivo de configuración del proyecto:`,"skills.lead":`Skills que el agente puede cargar en este workspace. Las deshabilitadas salen de la paleta de comandos y del catálogo del modelo.`,"skills.search":`Buscar skills`,"skills.none":`No se encontró ninguna skill.`,"skills.shadowed":`Ocultada`,"skills.meta":`{scope} · unos {tokens} tokens`,"skills.shadowedBy":`ocultada por {id}`,"skills.locked":`bloqueada por su plugin`,"mcp.lead":`Servidores Model Context Protocol configurados para este workspace.`,"mcp.notGranted":`El acceso MCP no está concedido para este workspace: los servidores siguen desconectados.`,"mcp.granted":`Acceso MCP concedido hasta que se detenga alisio serve.`,"mcp.grantedPersisted":`Acceso MCP concedido para este usuario (mcp.allow).`,"mcp.readOnly":`alisio serve se ejecuta con --read-only: MCP no está disponible.`,"mcp.grant":`Conceder acceso MCP`,"mcp.consentTitle":`¿Permitir que se ejecuten servidores MCP?`,"mcp.consentBody":`Los servidores MCP son procesos locales o servicios remotos que se ejecutan con los privilegios de tu usuario y pueden leer archivos y acceder a la red. Concede acceso solo si confías en los servidores configurados.`,"mcp.remember":`Recordar para este usuario (escribe mcp.allow en tu configuración)`,"mcp.none":`No hay servidores MCP configurados.`,"mcp.status":`{status}`,"mcp.meta":`{transport} · {source} · {tools} tools · {resources} recursos · {prompts} prompts`,"mcp.needsGrant":`Concede primero el acceso MCP`,"mcp.connect":`Conectar`,"agents.lead":`Agentes que pueden conducir una sesión. Elige uno para la sesión abierta; las definiciones se editan fuera de la web.`,"agents.source.builtin":`integrado`,"agents.source.user":`usuario`,"agents.source.plugin":`plugin`,"agents.readOnly":`solo lectura`,"agents.default":`predeterminado del workspace`,"agents.model":`Modelo sugerido: {model}`,"agents.instructions":`Instrucciones`,"agents.inUse":`En uso`,"agents.use":`Usar en esta sesión`,"appearance.lead":`Cómo se ve la interfaz en este navegador.`,"config.open":`Abrir archivo de configuración`,"config.lead":`alisio serve no abre editores; copia una ruta y ábrela tú.`,"config.effective":`Archivo de configuración efectivo`,"config.settings":`Ajustes de usuario (los escribe esta página)`,"config.providers":`Perfiles de proveedor`,"config.copy":`Copiar ruta`,"config.untrusted":`Este workspace no es de confianza, así que su .alisio/config.json se ignora. Confía en él desde la terminal.`,"settings.models":`Modelos`,"models.lead":`Perfiles de proveedor, sus credenciales y el proveedor que usa este workspace.`,"models.running":`Este workspace usa {provider} · {model} (perfil: {profile}).`,"models.none":`Aún no hay perfiles de proveedor. Añade uno abajo o ejecuta alisio connect en una terminal.`,"models.activeGlobal":`Perfil predeterminado`,"models.current":`Este workspace`,"models.edit":`Editar`,"models.activate":`Activar en este workspace`,"models.activated":`{name} ya está activo en este workspace.`,"models.unchanged":`Ese perfil y modelo ya están activos.`,"models.add":`Añadir un perfil`,"models.form.name":`Nombre del perfil`,"models.form.type":`Proveedor`,"models.form.model":`Modelo`,"models.form.save":`Guardar perfil`,"models.form.secretsNote":`Los secretos no forman parte del perfil: configúralos debajo tras guardarlo; se guardan aparte y no se vuelven a mostrar.`,"models.credential.missing":`Sin configurar`,"models.credential.env":`Tomada de una variable de entorno`,"models.credential.stored":`Guardada`,"models.credential.storedTail":`Guardada · termina en {tail}`,"models.credential.enter":`Pega un valor nuevo`,"models.credential.replace":`Reemplazar el valor guardado`,"models.credential.save":`Guardar`,"models.credential.remove":`Eliminar`,"models.credential.saved":`Credencial guardada. Activa el perfil para usarla ya.`,"theme.dark":`Oscuro`,"theme.light":`Claro`,"theme.system":`Sistema`,"density.compact":`Compactas`,"density.detailed":`Detalladas`,"language.en":`English`,"language.es":`Español`,"error.generic":`{message}`},ut=(e,t={})=>e.replace(/\{(\w+)\}/g,(e,n)=>t[n]===void 0?e:String(t[n])),dt=[`en`,`es`],ft={en:ct,es:lt},pt=Be((()=>{let e=at(`alisio.locale`);return e===`en`||e===`es`?e:(typeof navigator<`u`?navigator.language:`en`).toLowerCase().startsWith(`es`)?`es`:`en`})());function mt(e){pt.value=e,ot(`alisio.locale`,e),document.documentElement.lang=e}var ht=(e,t)=>ut(ft[pt.value][e]??ct[e],t),gt=0;Array.isArray;function _t(e,n,r,i,a,o){n||={};var s,c,l=n;if(`ref`in l)for(c in l={},n)c==`ref`?s=n[c]:l[c]=n[c];var u={type:e,props:l,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--gt,__i:-1,__u:0,__source:a,__self:o};if(typeof e==`function`&&(s=e.defaultProps))for(c in s)l[c]===void 0&&(l[c]=s[c]);return t.vnode&&t.vnode(u),u}export{we as _,ht as a,C as b,ot as c,Pe as d,Be as f,Se as g,Te as h,mt as i,tt as l,R as m,dt as n,st as o,Ee as p,pt as r,at as s,_t as t,We as u,w as v,de as y};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as t}from"./src-B6xuSHsQ.js";import{$ as n,J as r,et as i,f as a,nt as o,x as s,z as c}from"./chunk-DU6HZSFF-DP6dsL6K.js";import"./chunk-75Z2AOVW-93KpRXCT.js";import"./chunk-PWAF6VOD-DJCZC9ie.js";import"./chunk-GMAD6QVW-BGv500CR.js";import{t as l}from"./chunk-5VM5RSS4-ZNzvKenW.js";import"./chunk-P2QGCYS3-YhA2sAhR.js";import"./chunk-4HAMMTFA-Du4xf36t.js";import{i as u,r as d}from"./chunk-GVQU2GXP-BmXv3St8.js";import{n as f}from"./chunk-L3NEJ4N5-BULbKNtl.js";import{f as p,n as m,t as h}from"./engine-CknQqOvU.js";var g=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,31],h=[6,7,11,24],g=[1,6,13,16,17,20,23],_=[1,35],v=[1,36],y=[1,6,7,11,13,16,17,20,23],b=[1,38],x={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`KANBAN`,11:`EOF`,13:`SPACELIST`,16:`ICON`,17:`CLASS`,20:`NODE_DSTART`,21:`NODE_DESCR`,22:`NODE_DEND`,23:`NODE_ID`,24:`SHAPE_DATA`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s-1].id),r.addNode(a[s-2].length,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 16:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 17:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 18:case 23:r.decorateNode({class:a[s]});break;case 19:r.getLogger().trace(`SPACELIST`);break;case 20:r.getLogger().trace(`Node: `,a[s-1].id),r.addNode(0,a[s-1].id,a[s-1].descr,a[s-1].type,a[s]);break;case 21:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 22:r.decorateNode({icon:a[s]});break;case 27:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 28:this.$={id:a[s],descr:a[s],type:0};break;case 29:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 30:this.$=a[s-1]+a[s];break;case 31:this.$=a[s]}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},t(l,[2,3]),{1:[2,2]},t(l,[2,4]),t(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:r,9:22,12:11,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},{6:u,7:d,10:23,11:f},t(p,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:s,23:c}),t(p,[2,19]),t(p,[2,21],{15:30,24:m}),t(p,[2,22]),t(p,[2,23]),t(h,[2,25]),t(h,[2,26]),t(h,[2,28],{20:[1,32]}),{21:[1,33]},{6:u,7:d,10:34,11:f},{1:[2,7],6:r,12:21,13:i,14:14,16:a,17:o,18:17,19:18,20:s,23:c},t(g,[2,14],{7:_,11:v}),t(y,[2,8]),t(y,[2,9]),t(y,[2,10]),t(p,[2,16],{15:37,24:m}),t(p,[2,17]),t(p,[2,18]),t(p,[2,20],{24:b}),t(h,[2,31]),{21:[1,39]},{22:[1,40]},t(g,[2,13],{7:_,11:v}),t(y,[2,11]),t(y,[2,12]),t(p,[2,15],{24:b}),t(h,[2,30]),{22:[1,41]},t(h,[2,27]),t(h,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[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(t,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){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.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:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.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&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};x.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(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:e(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:e(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:e(function(){return this._more=!0,this},`more`),reject:e(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:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(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:e(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:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
5
|
+
`+t+`^`},`showPosition`),test_match:e(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:e(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:e(function(){return this.next()||this.lex()},`lex`),begin:e(function(e){this.conditionStack.push(e)},`begin`),popState:e(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:e(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:e(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:e(function(e){this.begin(e)},`pushState`),stateStackSize:e(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:e(function(e,t,n,r){switch(n){case 0:return this.pushState(`shapeData`),t.yytext=``,24;case 1:return this.pushState(`shapeDataStr`),24;case 2:return this.popState(),24;case 3:return t.yytext=t.yytext.replace(/\n\s*/g,`<br/>`),24;case 4:return 24;case 5:this.popState();break;case 6:return e.getLogger().trace(`Found comment`,t.yytext),6;case 7:return 8;case 8:this.begin(`CLASS`);break;case 9:return this.popState(),17;case 10:this.popState();break;case 11:e.getLogger().trace(`Begin icon`),this.begin(`ICON`);break;case 12:return e.getLogger().trace(`SPACELINE`),6;case 13:return 7;case 14:return 16;case 15:e.getLogger().trace(`end icon`),this.popState();break;case 16:return e.getLogger().trace(`Exploding node`),this.begin(`NODE`),20;case 17:return e.getLogger().trace(`Cloud`),this.begin(`NODE`),20;case 18:return e.getLogger().trace(`Explosion Bang`),this.begin(`NODE`),20;case 19:return e.getLogger().trace(`Cloud Bang`),this.begin(`NODE`),20;case 20:return this.begin(`NODE`),20;case 21:return this.begin(`NODE`),20;case 22:return this.begin(`NODE`),20;case 23:return this.begin(`NODE`),20;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin(`NSTR2`);break;case 28:return`NODE_DESCR`;case 29:this.popState();break;case 30:e.getLogger().trace(`Starting NSTR`),this.begin(`NSTR`);break;case 31:return e.getLogger().trace(`description:`,t.yytext),`NODE_DESCR`;case 32:this.popState();break;case 33:return this.popState(),e.getLogger().trace(`node end ))`),`NODE_DEND`;case 34:return this.popState(),e.getLogger().trace(`node end )`),`NODE_DEND`;case 35:return this.popState(),e.getLogger().trace(`node end ...`,t.yytext),`NODE_DEND`;case 36:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 37:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 38:return this.popState(),e.getLogger().trace(`node end (-`),`NODE_DEND`;case 39:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 40:return this.popState(),e.getLogger().trace(`node end ((`),`NODE_DEND`;case 41:return e.getLogger().trace(`Long description:`,t.yytext),21;case 42:return e.getLogger().trace(`Long description:`,t.yytext),21}},`anonymous`),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}}})();function S(){this.yy={}}return e(S,`Parser`),S.prototype=x,x.Parser=S,new S})();g.parser=g;var _=g,v=[],y=[],b=0,x={},S=e(()=>{v=[],y=[],b=0,x={}},`clear`),C=e(e=>{if(v.length===0)return null;let t=v[0].level,n=null;for(let e=v.length-1;e>=0;e--)if(v[e].level===t&&!n&&(n=v[e]),v[e].level<t)throw Error(`Items without section detected, found section ("`+v[e].label+`")`);return e===n?.level?null:n},`getSection`),w=e(function(){return y},`getSections`),T=e(function(){let e=[],t=[],n=w(),r=s();for(let e of n){let n={id:e.id,label:c(e.label??``,r),labelType:`markdown`,isGroup:!0,ticket:e.ticket,shape:`kanbanSection`,level:e.level,look:r.look};t.push(n);let i=v.filter(t=>t.parentId===e.id);for(let n of i){let i={id:n.id,parentId:e.id,label:c(n.label??``,r),labelType:`markdown`,isGroup:!1,ticket:n?.ticket,priority:n?.priority,assigned:n?.assigned,icon:n?.icon,shape:`kanbanItem`,level:n.level,rx:5,ry:5,cssStyles:[`text-align: left`]};t.push(i)}}return{nodes:t,edges:e,other:{},config:s()}},`getData`),E=e((e,t,n,r,i)=>{let o=s(),l=o.mindmap?.padding??a.mindmap.padding;switch(r){case D.ROUNDED_RECT:case D.RECT:case D.HEXAGON:l*=2}let u={id:c(t,o)||`kbn`+b++,level:e,label:c(n,o),width:o.mindmap?.maxNodeWidth??a.mindmap.maxNodeWidth,padding:l,isGroup:!1};if(i!==void 0){let e;e=i.includes(`
|
|
7
|
+
`)?i+`
|
|
8
|
+
`:`{
|
|
9
|
+
`+i+`
|
|
10
|
+
}`;let t=m(e,{schema:h});if(t.shape&&(t.shape!==t.shape.toLowerCase()||t.shape.includes(`_`)))throw Error(`No such shape: ${t.shape}. Shape names should be lowercase.`);t?.shape&&t.shape===`kanbanItem`&&(u.shape=t?.shape),t?.label&&(u.label=t?.label),t?.icon&&(u.icon=t?.icon.toString()),t?.assigned&&(u.assigned=t?.assigned.toString()),t?.ticket&&(u.ticket=t?.ticket.toString()),t?.priority&&(u.priority=t?.priority)}let d=C(e);d?u.parentId=d.id||`kbn`+b++:y.push(u),v.push(u)},`addNode`),D={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},O={clear:S,addNode:E,getSections:w,getData:T,nodeType:D,getType:e((e,n)=>{switch(t.debug(`In get type`,e,n),e){case`[`:return D.RECT;case`(`:return n===`)`?D.ROUNDED_RECT:D.CLOUD;case`((`:return D.CIRCLE;case`)`:return D.CLOUD;case`))`:return D.BANG;case`{{`:return D.HEXAGON;default:return D.DEFAULT}},`getType`),setElementForId:e((e,t)=>{x[e]=t},`setElementForId`),decorateNode:e(e=>{if(!e)return;let t=s(),n=v[v.length-1];e.icon&&(n.icon=c(e.icon,t)),e.class&&(n.cssClasses=c(e.class,t))},`decorateNode`),type2Str:e(e=>{switch(e){case D.DEFAULT:return`no-border`;case D.RECT:return`rect`;case D.ROUNDED_RECT:return`rounded-rect`;case D.CIRCLE:return`circle`;case D.CLOUD:return`cloud`;case D.BANG:return`bang`;case D.HEXAGON:return`hexgon`;default:return`no-border`}},`type2Str`),getLogger:e(()=>t,`getLogger`),getElementById:e(e=>x[e],`getElementById`)},k={draw:e(async(e,n,i,o)=>{t.debug(`Rendering kanban diagram
|
|
11
|
+
`+e);let c=o.db.getData(),l=s();l.htmlLabels=!1;let m=p(n);for(let e of c.nodes)e.domId=`${n}-${e.id}`;let h=m.append(`g`);h.attr(`class`,`sections`);let g=m.append(`g`);g.attr(`class`,`items`);let _=c.nodes.filter(e=>e.isGroup),v=0,y=[],b=25;for(let e of _){let t=l?.kanban?.sectionWidth||200;v+=1,e.x=t*v+(v-1)*10/2,e.width=t,e.y=0,e.height=t*3,e.rx=5,e.ry=5,e.cssClasses=e.cssClasses+` section-`+v;let n=await f(h,e);b=Math.max(b,n?.labelBBox?.height),y.push(n)}let x=0;for(let e of _){let t=y[x];x+=1;let n=l?.kanban?.sectionWidth||200,r=-n*3/2+b,i=r,a=c.nodes.filter(t=>t.parentId===e.id);for(let t of a){if(t.isGroup)throw Error(`Groups within groups are not allowed in Kanban diagrams`);t.x=e.x,t.width=n-15;let r=(await d(g,t,{config:l})).node().getBBox();t.y=i+r.height/2,await u(t),i=t.y+r.height/2+5}let o=t.cluster.select(`rect`),s=Math.max(i-r+30,50)+(b-25);o.attr(`height`,s)}r(void 0,m,l.mindmap?.padding??a.kanban.padding,l.mindmap?.useMaxWidth??a.kanban.useMaxWidth)},`draw`)},A=e(t=>{let r=``;for(let e=0;e<t.THEME_COLOR_LIMIT;e++)t[`lineColor`+e]=t[`lineColor`+e]||t[`cScaleInv`+e],o(t[`lineColor`+e])?t[`lineColor`+e]=i(t[`lineColor`+e],20):t[`lineColor`+e]=n(t[`lineColor`+e],20);let a=e((e,r)=>t.darkMode?n(e,r):i(e,r),`adjuster`);for(let e=0;e<t.THEME_COLOR_LIMIT;e++){let n=``+(17-3*e);r+=`
|
|
12
|
+
.section-${e-1} rect, .section-${e-1} path, .section-${e-1} circle, .section-${e-1} polygon, .section-${e-1} path {
|
|
13
|
+
fill: ${a(t[`cScale`+e],10)};
|
|
14
|
+
stroke: ${a(t[`cScale`+e],10)};
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
.section-${e-1} text {
|
|
18
|
+
fill: ${t[`cScaleLabel`+e]};
|
|
19
|
+
}
|
|
20
|
+
.node-icon-${e-1} {
|
|
21
|
+
font-size: 40px;
|
|
22
|
+
color: ${t[`cScaleLabel`+e]};
|
|
23
|
+
}
|
|
24
|
+
.section-edge-${e-1}{
|
|
25
|
+
stroke: ${t[`cScale`+e]};
|
|
26
|
+
}
|
|
27
|
+
.edge-depth-${e-1}{
|
|
28
|
+
stroke-width: ${n};
|
|
29
|
+
}
|
|
30
|
+
.section-${e-1} line {
|
|
31
|
+
stroke: ${t[`cScaleInv`+e]} ;
|
|
32
|
+
stroke-width: 3;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.disabled, .disabled circle, .disabled text {
|
|
36
|
+
fill: lightgray;
|
|
37
|
+
}
|
|
38
|
+
.disabled text {
|
|
39
|
+
fill: #efefef;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.node rect,
|
|
43
|
+
.node circle,
|
|
44
|
+
.node ellipse,
|
|
45
|
+
.node polygon,
|
|
46
|
+
.node path {
|
|
47
|
+
fill: ${t.background};
|
|
48
|
+
stroke: ${t.nodeBorder};
|
|
49
|
+
stroke-width: 1px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.kanban-ticket-link {
|
|
53
|
+
fill: ${t.background};
|
|
54
|
+
stroke: ${t.nodeBorder};
|
|
55
|
+
text-decoration: underline;
|
|
56
|
+
}
|
|
57
|
+
`}return r},`genSections`),j={db:O,renderer:k,parser:_,styles:e(e=>`
|
|
58
|
+
.edge {
|
|
59
|
+
stroke-width: 3;
|
|
60
|
+
}
|
|
61
|
+
${A(e)}
|
|
62
|
+
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
|
|
63
|
+
fill: ${e.git0};
|
|
64
|
+
}
|
|
65
|
+
.section-root text {
|
|
66
|
+
fill: ${e.gitBranchLabel0};
|
|
67
|
+
}
|
|
68
|
+
.icon-container {
|
|
69
|
+
height:100%;
|
|
70
|
+
display: flex;
|
|
71
|
+
justify-content: center;
|
|
72
|
+
align-items: center;
|
|
73
|
+
}
|
|
74
|
+
.edge {
|
|
75
|
+
fill: none;
|
|
76
|
+
}
|
|
77
|
+
.cluster-label, .label {
|
|
78
|
+
color: ${e.textColor};
|
|
79
|
+
fill: ${e.textColor};
|
|
80
|
+
}
|
|
81
|
+
.kanban-label {
|
|
82
|
+
dy: 1em;
|
|
83
|
+
alignment-baseline: middle;
|
|
84
|
+
text-anchor: middle;
|
|
85
|
+
dominant-baseline: middle;
|
|
86
|
+
text-align: center;
|
|
87
|
+
}
|
|
88
|
+
${l()}
|
|
89
|
+
`,`getStyles`)};export{j as diagram};
|