@shaohui_jin/git-cockpit-mcp-server 0.1.29 → 0.1.30

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.
Files changed (71) hide show
  1. package/dist/{chunk-DGQHHNPC.js → chunk-BD3ZGTKL.js} +3 -3
  2. package/dist/{chunk-WT4GTWHD.js → chunk-EF666ILS.js} +2 -2
  3. package/dist/{chunk-WT4GTWHD.js.map → chunk-EF666ILS.js.map} +1 -1
  4. package/dist/{chunk-ML64BPIL.js → chunk-VVRFZY5A.js} +18 -6
  5. package/dist/chunk-VVRFZY5A.js.map +1 -0
  6. package/dist/cli-entry.js +3 -3
  7. package/dist/cli.js +3 -3
  8. package/dist/index.js +3 -3
  9. package/dist/mcpServer.js +1 -1
  10. package/dist/web/assets/{abnfDiagram-O67JEVCF-BvLOOVMp.js → abnfDiagram-O67JEVCF-BuBrcO1g.js} +1 -1
  11. package/dist/web/assets/{arc-BTJdMR9U.js → arc-ACoMCUYz.js} +1 -1
  12. package/dist/web/assets/{architectureDiagram-NJMV4G6O-Cuu0BD8t.js → architectureDiagram-NJMV4G6O-CLqMNlsU.js} +1 -1
  13. package/dist/web/assets/{blockDiagram-BEXU5L5S-jSaqNPDC.js → blockDiagram-BEXU5L5S-mAVctb7i.js} +1 -1
  14. package/dist/web/assets/{c4Diagram-YGBWAQC7-0PABaygh.js → c4Diagram-YGBWAQC7-DlYEmCt1.js} +1 -1
  15. package/dist/web/assets/channel-Bqn9QLF0.js +1 -0
  16. package/dist/web/assets/{chunk-2Q5K7J3B-Bx3ShJLs.js → chunk-2Q5K7J3B-C_fZm_U-.js} +1 -1
  17. package/dist/web/assets/{chunk-3FUC2YCW-npJuWQgM.js → chunk-3FUC2YCW-Ck9FkIOM.js} +2 -2
  18. package/dist/web/assets/{chunk-5VM5RSS4-sUx0MLUK.js → chunk-5VM5RSS4-B0M3flH6.js} +1 -1
  19. package/dist/web/assets/{chunk-GTNCS2PH-BO6MsgyZ.js → chunk-GTNCS2PH-Ce37XuEV.js} +1 -1
  20. package/dist/web/assets/{chunk-GWA4HPMP-CS_7AIEI.js → chunk-GWA4HPMP-DnHElRZC.js} +1 -1
  21. package/dist/web/assets/{chunk-JWPE2WC7-BIEqnMSy.js → chunk-JWPE2WC7-CZbzpj3q.js} +1 -1
  22. package/dist/web/assets/{chunk-NETBCI7D-DWDPVhzE.js → chunk-NETBCI7D-oMwLFERc.js} +1 -1
  23. package/dist/web/assets/{chunk-WEXAMYUT-CZmF6ztf.js → chunk-WEXAMYUT-ZHayFKk5.js} +1 -1
  24. package/dist/web/assets/{chunk-XXDRQBXY-C7ux97rA.js → chunk-XXDRQBXY-C2K8xJ1E.js} +1 -1
  25. package/dist/web/assets/{classDiagram-v2-NBCMYWYE-DMFHgo6y.js → classDiagram-v2-NBCMYWYE-Df0mdLQT.js} +1 -1
  26. package/dist/web/assets/{cose-bilkent-JH36ORCC-CHcf0ChD.js → cose-bilkent-JH36ORCC-DqcjhtUy.js} +1 -1
  27. package/dist/web/assets/{cynefin-OW5HDTMX-BVOPFxoX.js → cynefin-OW5HDTMX-TuJ27ggL.js} +1 -1
  28. package/dist/web/assets/{cynefinDiagram-VND7K2PF-D3MWGh5_.js → cynefinDiagram-VND7K2PF-D8xfXh6p.js} +1 -1
  29. package/dist/web/assets/{dagre-6A5THRUB-BBXhvs_s.js → dagre-6A5THRUB-BqcARewW.js} +1 -1
  30. package/dist/web/assets/{diagram-22UHCM2B-BpXFmuft.js → diagram-22UHCM2B-Xfv11pOS.js} +1 -1
  31. package/dist/web/assets/{diagram-3UASUU5V-BQvfr6_4.js → diagram-3UASUU5V-DMoIIUxF.js} +1 -1
  32. package/dist/web/assets/{diagram-ATOU4E4O-DpVGu2ct.js → diagram-ATOU4E4O-nfxEOGvu.js} +1 -1
  33. package/dist/web/assets/{diagram-CDSNMT55-CMhnvQ9p.js → diagram-CDSNMT55-BnYnTAkK.js} +1 -1
  34. package/dist/web/assets/{diagram-MLGK6HIB-CMUiUB5V.js → diagram-MLGK6HIB-BoSsC2Xk.js} +1 -1
  35. package/dist/web/assets/{diagram-MPIPVDR6-DAEDT1M_.js → diagram-MPIPVDR6-Dnvlug71.js} +1 -1
  36. package/dist/web/assets/{ebnfDiagram-ZINNZB2B--teB4gEh.js → ebnfDiagram-ZINNZB2B-C_5ACnYH.js} +1 -1
  37. package/dist/web/assets/{elk-276RUBZZ-DTJ8porF.js → elk-276RUBZZ-3R42O50O.js} +1 -1
  38. package/dist/web/assets/{erDiagram-OPXOYQCR-Cu8sQHj7.js → erDiagram-OPXOYQCR-C8QlrepD.js} +1 -1
  39. package/dist/web/assets/{flowDiagram-KWPJA3E3-C3YlGYFe.js → flowDiagram-KWPJA3E3-DNUgMsKp.js} +1 -1
  40. package/dist/web/assets/{ganttDiagram-FUAMR5RP-InE3Qjdk.js → ganttDiagram-FUAMR5RP-36xod97R.js} +1 -1
  41. package/dist/web/assets/{gitGraphDiagram-X574FWY7-W9cDxWIt.js → gitGraphDiagram-X574FWY7-dQNCjyey.js} +1 -1
  42. package/dist/web/assets/{index-z64JVqEI.js → index-C0YmR_Ml.js} +4 -4
  43. package/dist/web/assets/{infoDiagram-VRGFBTTK-Cs_MZzVX.js → infoDiagram-VRGFBTTK-BDFMwCu7.js} +1 -1
  44. package/dist/web/assets/{ishikawaDiagram-OU5B5YK6-CYNBwCgu.js → ishikawaDiagram-OU5B5YK6-DGistvPu.js} +1 -1
  45. package/dist/web/assets/{journeyDiagram-ZHPQQLJL-M_8xlDc6.js → journeyDiagram-ZHPQQLJL-DqJVqecU.js} +1 -1
  46. package/dist/web/assets/{kanban-definition-PNTS6WVX-DJM9NnPd.js → kanban-definition-PNTS6WVX-BtpOBegU.js} +1 -1
  47. package/dist/web/assets/{linear-D2pugD8L.js → linear-BClg-eNd.js} +1 -1
  48. package/dist/web/assets/{mindmap-definition-NLK3R4M7-Ej_zTWtJ.js → mindmap-definition-NLK3R4M7-DuLDWvjN.js} +1 -1
  49. package/dist/web/assets/{pegDiagram-GJSIUBJH-C1eyhBDj.js → pegDiagram-GJSIUBJH-WW60px_Y.js} +1 -1
  50. package/dist/web/assets/{pieDiagram-5QR66LMP-ciGhrblI.js → pieDiagram-5QR66LMP-DUBoPS19.js} +1 -1
  51. package/dist/web/assets/{quadrantDiagram-O4NWA36T-8MJ_CUFe.js → quadrantDiagram-O4NWA36T-JoPQuFkj.js} +1 -1
  52. package/dist/web/assets/{railroadDiagram-XR7U4H2S-CrBQOwD0.js → railroadDiagram-XR7U4H2S-0NNjAScf.js} +1 -1
  53. package/dist/web/assets/{requirementDiagram-PLB6GJNP-glZ4Tl5M.js → requirementDiagram-PLB6GJNP-BFmHBrYg.js} +1 -1
  54. package/dist/web/assets/{sankeyDiagram-IPEJSGJF-C87eVSmR.js → sankeyDiagram-IPEJSGJF-DXumpplA.js} +1 -1
  55. package/dist/web/assets/{sequenceDiagram-PO4LG4MO-C4kD0n6_.js → sequenceDiagram-PO4LG4MO-D3HIk2CT.js} +1 -1
  56. package/dist/web/assets/{sizeCapture-INFHLROL-C3egfWS7.js → sizeCapture-INFHLROL-CNfIyiDc.js} +1 -1
  57. package/dist/web/assets/{stateDiagram-v2-GCMORJYK-miD15x9p.js → stateDiagram-v2-GCMORJYK-nWGdH2ls.js} +1 -1
  58. package/dist/web/assets/{swimlanes-2SLR337P-RFbVR5iD.js → swimlanes-2SLR337P-BWFuQg24.js} +1 -1
  59. package/dist/web/assets/swimlanesDiagram-TC7HE7FX-CMpDq7fq.js +8 -0
  60. package/dist/web/assets/{timeline-definition-EJHVYXUP-DjpYQNiI.js → timeline-definition-EJHVYXUP-sYFrzU2n.js} +1 -1
  61. package/dist/web/assets/{usecaseDiagram-POWQR4AR-BIo58LtF.js → usecaseDiagram-POWQR4AR-Dtf8EYHv.js} +1 -1
  62. package/dist/web/assets/{vennDiagram-UO4OBE2U-D7wQezYC.js → vennDiagram-UO4OBE2U-AQfjofVL.js} +1 -1
  63. package/dist/web/assets/{wardleyDiagram-VNRHLVJA-DwhQUOY8.js → wardleyDiagram-VNRHLVJA-C0Ujm7pF.js} +1 -1
  64. package/dist/web/assets/{xychartDiagram-PMCCYNJV-B0cVFGsf.js → xychartDiagram-PMCCYNJV-BlsyCRrV.js} +1 -1
  65. package/dist/web/index.html +1 -1
  66. package/dist/webServer.js +2 -2
  67. package/package.json +2 -2
  68. package/dist/chunk-ML64BPIL.js.map +0 -1
  69. package/dist/web/assets/channel-CH0mBqDy.js +0 -1
  70. package/dist/web/assets/swimlanesDiagram-TC7HE7FX-DQeW6-o5.js +0 -8
  71. /package/dist/{chunk-DGQHHNPC.js.map → chunk-BD3ZGTKL.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import{g as Ut}from"./chunk-XXDRQBXY-C7ux97rA.js";import{s as Kt}from"./chunk-WEXAMYUT-CZmF6ztf.js";import{_ as f,H as Tt,b as Zt,a as jt,s as qt,g as Wt,q as Ht,t as Qt,c as tt,l as F,m as Xt,A as Jt,y as $t,C as te,D as ee,E as se,I as ie,G as re,K as ae,p as ne,r as oe,k as le,u as ce}from"./index-z64JVqEI.js";import{c as he}from"./channel-CH0mBqDy.js";import"./vue-BhwNxZ68.js";import"./element-plus-IBMLLhb-.js";var Ot=(function(){var s=f(function(G,n,h,d){for(h=h||{},d=G.length;d--;h[G[d]]=n);return h},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],l=[1,7],r=[1,9],c=[1,10],y=[1,11],g=[1,12],k=[1,30],N=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],x=[1,19],T=[1,28],I=[1,29],C=[1,20],D=[1,18],L=[1,21],w=[1,22],Nt=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],q=[43,51,53,54,55,74,75],W=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],xt=[69,70,71,72,73],Ct=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,h,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:l,10:8,21:r,23:c,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:N,38:p,39:b,40:A,41:v,43:x,46:T,47:I,51:C,53:D,54:L,55:w},s(a,Nt,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:x,51:C,53:D,54:L,55:w},{10:51,43:x,51:C,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:x,51:C,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(q,[2,77]),s(q,[2,78]),s(q,[2,79]),s(q,[2,80]),s(q,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:l,10:8,21:r,23:c,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:N,38:p,39:b,40:A,41:v,43:x,46:T,47:I,51:C,53:D,54:L,55:w},{12:W,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:W,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(xt,[2,82]),s(xt,[2,83]),s(u,[2,31]),s(u,Nt),{6:st,9:it,35:90,45:Ct,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:W,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(u,[2,45],{45:B}),{6:st,9:it,35:95,45:Ct,50:rt},s(u,[2,32]),{10:97,36:96,43:x,51:C,53:D,54:L,55:w},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:x,51:C,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(u,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:W,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:x,51:C,53:D,54:L,55:w},s(vt,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:W,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(u,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:B}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:B},s(u,[2,9]),s(yt,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,h){if(h.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=h,d}},"parseError"),parse:f(function(n){var h=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",ct=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=h.symbols_[S]||S),S}f(wt,"lex");for(var E,P,O,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?O=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),O=$[P]&&$[P][E]),typeof O>"u"||!O.length||!O[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(ct+1)+`:
1
+ import{g as Ut}from"./chunk-XXDRQBXY-C2K8xJ1E.js";import{s as Kt}from"./chunk-WEXAMYUT-ZHayFKk5.js";import{_ as f,H as Tt,b as Zt,a as jt,s as qt,g as Wt,q as Ht,t as Qt,c as tt,l as F,m as Xt,A as Jt,y as $t,C as te,D as ee,E as se,I as ie,G as re,K as ae,p as ne,r as oe,k as le,u as ce}from"./index-C0YmR_Ml.js";import{c as he}from"./channel-Bqn9QLF0.js";import"./vue-BhwNxZ68.js";import"./element-plus-IBMLLhb-.js";var Ot=(function(){var s=f(function(G,n,h,d){for(h=h||{},d=G.length;d--;h[G[d]]=n);return h},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],l=[1,7],r=[1,9],c=[1,10],y=[1,11],g=[1,12],k=[1,30],N=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],x=[1,19],T=[1,28],I=[1,29],C=[1,20],D=[1,18],L=[1,21],w=[1,22],Nt=[2,6],u=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],q=[43,51,53,54,55,74,75],W=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],xt=[69,70,71,72,73],Ct=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,h,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:l,10:8,21:r,23:c,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:N,38:p,39:b,40:A,41:v,43:x,46:T,47:I,51:C,53:D,54:L,55:w},s(a,Nt,{1:[2,1]}),s(u,[2,3]),s(u,[2,4]),s(u,[2,5]),s(u,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(u,[2,26]),s(u,[2,27]),s(u,[2,28]),s(u,[2,29]),s(u,[2,30]),s(u,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(u,[2,36]),s(u,[2,37]),s(u,[2,38]),s(u,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:x,51:C,53:D,54:L,55:w},{10:51,43:x,51:C,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:x,51:C,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(q,[2,77]),s(q,[2,78]),s(q,[2,79]),s(q,[2,80]),s(q,[2,81]),s(u,[2,23]),s(u,[2,24]),s(u,[2,25]),{6:[1,63],7:5,8:6,9:l,10:8,21:r,23:c,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:N,38:p,39:b,40:A,41:v,43:x,46:T,47:I,51:C,53:D,54:L,55:w},{12:W,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:W,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(u,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(u,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(xt,[2,82]),s(xt,[2,83]),s(u,[2,31]),s(u,Nt),{6:st,9:it,35:90,45:Ct,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:W,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(u,[2,45],{45:B}),{6:st,9:it,35:95,45:Ct,50:rt},s(u,[2,32]),{10:97,36:96,43:x,51:C,53:D,54:L,55:w},s(u,[2,51]),s(u,[2,52]),s(u,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:x,51:C,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(u,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(u,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(u,[2,40]),{12:W,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(u,[2,46]),{10:115,20:[1,114],43:x,51:C,53:D,54:L,55:w},s(vt,[2,34]),s(u,[2,7]),s(u,[2,84]),s(u,[2,85]),s(u,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(u,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:W,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(u,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(u,[2,19]),s(u,[2,22],{16:[1,131],45:B}),s(u,[2,33]),s(u,[2,10]),{12:[1,132],45:B},s(u,[2,9]),s(yt,[2,73]),s(u,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(u,[2,20]),s(u,[2,8]),s(u,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,h){if(h.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=h,d}},"parseError"),parse:f(function(n){var h=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",ct=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=h.symbols_[S]||S),S}f(wt,"lex");for(var E,P,O,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?O=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),O=$[P]&&$[P][E]),typeof O>"u"||!O.length||!O[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(ct+1)+`:
2
2
  `+m.showPosition()+`
3
3
  Expecting `+ut.join(", ")+", got '"+(this.terminals_[E]||E)+"'":St="Parse error on line "+(ct+1)+": Unexpected "+(E==Lt?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(St,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:mt,expected:ut})}if(O[0]instanceof Array&&O.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(O[0]){case 1:d.push(E),_.push(m.yytext),t.push(m.yylloc),d.push(O[1]),E=null,Dt=m.yyleng,e=m.yytext,ct=m.yylineno,mt=m.yylloc;break;case 2:if(R=this.productions_[O[1]][1],U.$=_[_.length-R],U._$={first_line:t[t.length-(R||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(R||1)].first_column,last_column:t[t.length-1].last_column},Pt&&(U._$.range=[t[t.length-(R||1)].range[0],t[t.length-1].range[1]]),Et=this.performAction.apply(U,[e,Dt,ct,Y.yy,O[1],_,t].concat(Yt)),typeof Et<"u")return Et;R&&(d=d.slice(0,-1*R*2),_=_.slice(0,-1*R),t=t.slice(0,-1*R)),d.push(this.productions_[O[1]][0]),_.push(U.$),t.push(U._$),Vt=$[d[d.length-2]][d[d.length-1]],d.push(Vt);break;case 3:return!0}}return!0},"parse")},Gt=(function(){var G={EOF:1,parseError:f(function(h,d){if(this.yy.parser)this.yy.parser.parseError(h,d);else throw new Error(h)},"parseError"),setInput:f(function(n,h){return this.yy=h||this.yy||{},this._input=n,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:f(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var h=n.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:f(function(n){var h=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var _=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:d?(d.length===i.length?this.yylloc.first_column:0)+i[i.length-d.length].length-d[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(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
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(n){this.unput(this.match.slice(n))},"less"),pastInput:f(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var n=this.pastInput(),h=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{g as qt}from"./chunk-5VM5RSS4-sUx0MLUK.js";import{g as Xt}from"./chunk-XXDRQBXY-C7ux97rA.js";import{s as Qt}from"./chunk-WEXAMYUT-CZmF6ztf.js";import{_ as m,o as Jt,l as se,c as Ae,p as Zt,r as $t,u as rt,b as e1,s as t1,q as s1,a as i1,g as r1,t as a1,m as n1,v as u1,J as o1,x as l1,y as st,k as it,z as c1,A as h1,B as d1,C as p1,D as f1,E as g1,F as b1,G as k1}from"./index-z64JVqEI.js";import{c as A1}from"./chunk-GWA4HPMP-CS_7AIEI.js";import{c as m1}from"./channel-CH0mBqDy.js";import"./element-plus-IBMLLhb-.js";var C1="flowchart-",Pe,T1=(Pe=class{constructor(){this.vertexCounter=0,this.config=Ae(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=e1,this.setAccDescription=t1,this.setDiagramTitle=s1,this.getAccTitle=i1,this.getAccDescription=r1,this.getDiagramTitle=a1,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return n1.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}setDiagramId(i){this.diagramId=i}lookUpDomId(i){for(const a of this.vertices.values())if(a.id===i)return this.diagramId?`${this.diagramId}-${a.domId}`:a.domId;return this.diagramId?`${this.diagramId}-${i}`:i}addVertex(i,a,r,n,o,g,l={},b){var _,F;if(!i||i.trim().length===0)return;let u;if(b!==void 0){let B;b.includes(`
1
+ import{g as qt}from"./chunk-5VM5RSS4-B0M3flH6.js";import{g as Xt}from"./chunk-XXDRQBXY-C2K8xJ1E.js";import{s as Qt}from"./chunk-WEXAMYUT-ZHayFKk5.js";import{_ as m,o as Jt,l as se,c as Ae,p as Zt,r as $t,u as rt,b as e1,s as t1,q as s1,a as i1,g as r1,t as a1,m as n1,v as u1,J as o1,x as l1,y as st,k as it,z as c1,A as h1,B as d1,C as p1,D as f1,E as g1,F as b1,G as k1}from"./index-C0YmR_Ml.js";import{c as A1}from"./chunk-GWA4HPMP-DnHElRZC.js";import{c as m1}from"./channel-Bqn9QLF0.js";import"./element-plus-IBMLLhb-.js";var C1="flowchart-",Pe,T1=(Pe=class{constructor(){this.vertexCounter=0,this.config=Ae(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=e1,this.setAccDescription=t1,this.setDiagramTitle=s1,this.getAccTitle=i1,this.getAccDescription=r1,this.getDiagramTitle=a1,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return n1.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}setDiagramId(i){this.diagramId=i}lookUpDomId(i){for(const a of this.vertices.values())if(a.id===i)return this.diagramId?`${this.diagramId}-${a.domId}`:a.domId;return this.diagramId?`${this.diagramId}-${i}`:i}addVertex(i,a,r,n,o,g,l={},b){var _,F;if(!i||i.trim().length===0)return;let u;if(b!==void 0){let B;b.includes(`
2
2
  `)?B=b+`
3
3
  `:B=`{
4
4
  `+b+`
@@ -1,4 +1,4 @@
1
- import{bp as en,bq as An,br as nn,bs as rn,bt as sn,bu as ae,bv as Ln,g as Wn,s as On,t as $n,q as Nn,a as Hn,b as Vn,_ as d,c as _t,k as Xt,d as Rn,l as vt,m as Pn,S as zn,A as qn,u as Bn}from"./index-z64JVqEI.js";import{g as an,h as rt,j as Xn,l as Zn}from"./element-plus-IBMLLhb-.js";import{b as jn,t as Oe,c as Gn,a as Qn,l as Jn}from"./linear-D2pugD8L.js";import{i as Kn}from"./init-Gi6I4Gst.js";import"./vue-BhwNxZ68.js";import"./defaultLocale-DX6XiGOO.js";function tr(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function er(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function nr(t){return t}var jt=1,oe=2,pe=3,Zt=4,$e=1e-6;function rr(t){return"translate("+t+",0)"}function ir(t){return"translate(0,"+t+")"}function sr(t){return e=>+t(e)}function ar(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function or(){return!this.__axis}function on(t,e){var n=[],r=null,i=null,s=6,o=6,x=3,F=typeof window<"u"&&window.devicePixelRatio>1?0:.5,S=t===jt||t===Zt?-1:1,_=t===Zt||t===oe?"x":"y",H=t===jt||t===pe?rr:ir;function C(D){var P=r??(e.ticks?e.ticks.apply(e,n):e.domain()),R=i??(e.tickFormat?e.tickFormat.apply(e,n):nr),U=Math.max(s,0)+x,j=e.range(),it=+j[0]+F,z=+j[j.length-1]+F,X=(e.bandwidth?ar:sr)(e.copy(),F),Q=D.selection?D.selection():D,y=Q.selectAll(".domain").data([null]),k=Q.selectAll(".tick").data(P,e).order(),p=k.exit(),$=k.enter().append("g").attr("class","tick"),v=k.select("line"),M=k.select("text");y=y.merge(y.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),k=k.merge($),v=v.merge($.append("line").attr("stroke","currentColor").attr(_+"2",S*s)),M=M.merge($.append("text").attr("fill","currentColor").attr(_,S*U).attr("dy",t===jt?"0em":t===pe?"0.71em":"0.32em")),D!==Q&&(y=y.transition(D),k=k.transition(D),v=v.transition(D),M=M.transition(D),p=p.transition(D).attr("opacity",$e).attr("transform",function(b){return isFinite(b=X(b))?H(b+F):this.getAttribute("transform")}),$.attr("opacity",$e).attr("transform",function(b){var w=this.parentNode.__axis;return H((w&&isFinite(w=w(b))?w:X(b))+F)})),p.remove(),y.attr("d",t===Zt||t===oe?o?"M"+S*o+","+it+"H"+F+"V"+z+"H"+S*o:"M"+F+","+it+"V"+z:o?"M"+it+","+S*o+"V"+F+"H"+z+"V"+S*o:"M"+it+","+F+"H"+z),k.attr("opacity",1).attr("transform",function(b){return H(X(b)+F)}),v.attr(_+"2",S*s),M.attr(_,S*U).text(R),Q.filter(or).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===oe?"start":t===Zt?"end":"middle"),Q.each(function(){this.__axis=X})}return C.scale=function(D){return arguments.length?(e=D,C):e},C.ticks=function(){return n=Array.from(arguments),C},C.tickArguments=function(D){return arguments.length?(n=D==null?[]:Array.from(D),C):n.slice()},C.tickValues=function(D){return arguments.length?(r=D==null?null:Array.from(D),C):r&&r.slice()},C.tickFormat=function(D){return arguments.length?(i=D,C):i},C.tickSize=function(D){return arguments.length?(s=o=+D,C):s},C.tickSizeInner=function(D){return arguments.length?(s=+D,C):s},C.tickSizeOuter=function(D){return arguments.length?(o=+D,C):o},C.tickPadding=function(D){return arguments.length?(x=+D,C):x},C.offset=function(D){return arguments.length?(F=+D,C):F},C}function cr(t){return on(jt,t)}function ur(t){return on(pe,t)}const lr=Math.PI/180,fr=180/Math.PI,te=18,cn=.96422,un=1,ln=.82521,fn=4/29,Ft=6/29,dn=3*Ft*Ft,dr=Ft*Ft*Ft;function hn(t){if(t instanceof ut)return new ut(t.l,t.a,t.b,t.opacity);if(t instanceof ht)return mn(t);t instanceof en||(t=An(t));var e=fe(t.r),n=fe(t.g),r=fe(t.b),i=ce((.2225045*e+.7168786*n+.0606169*r)/un),s,o;return e===n&&n===r?s=o=i:(s=ce((.4360747*e+.3850649*n+.1430804*r)/cn),o=ce((.0139322*e+.0971045*n+.7141733*r)/ln)),new ut(116*i-16,500*(s-i),200*(i-o),t.opacity)}function hr(t,e,n,r){return arguments.length===1?hn(t):new ut(t,e,n,r??1)}function ut(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}nn(ut,hr,rn(sn,{brighter(t){return new ut(this.l+te*(t??1),this.a,this.b,this.opacity)},darker(t){return new ut(this.l-te*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=cn*ue(e),t=un*ue(t),n=ln*ue(n),new en(le(3.1338561*e-1.6168667*t-.4906146*n),le(-.9787684*e+1.9161415*t+.033454*n),le(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ce(t){return t>dr?Math.pow(t,1/3):t/dn+fn}function ue(t){return t>Ft?t*t*t:dn*(t-fn)}function le(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function fe(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function mr(t){if(t instanceof ht)return new ht(t.h,t.c,t.l,t.opacity);if(t instanceof ut||(t=hn(t)),t.a===0&&t.b===0)return new ht(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*fr;return new ht(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function ve(t,e,n,r){return arguments.length===1?mr(t):new ht(t,e,n,r??1)}function ht(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function mn(t){if(isNaN(t.h))return new ut(t.l,0,0,t.opacity);var e=t.h*lr;return new ut(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}nn(ht,ve,rn(sn,{brighter(t){return new ht(this.h,this.c,this.l+te*(t??1),this.opacity)},darker(t){return new ht(this.h,this.c,this.l-te*(t??1),this.opacity)},rgb(){return mn(this).rgb()}}));function gr(t){return function(e,n){var r=t((e=ve(e)).h,(n=ve(n)).h),i=ae(e.c,n.c),s=ae(e.l,n.l),o=ae(e.opacity,n.opacity);return function(x){return e.h=r(x),e.c=i(x),e.l=s(x),e.opacity=o(x),e+""}}}const yr=gr(Ln);function kr(t,e){t=t.slice();var n=0,r=t.length-1,i=t[n],s=t[r],o;return s<i&&(o=n,n=r,r=o,o=i,i=s,s=o),t[n]=e.floor(i),t[r]=e.ceil(s),t}const de=new Date,he=new Date;function tt(t,e,n,r){function i(s){return t(s=arguments.length===0?new Date:new Date(+s)),s}return i.floor=s=>(t(s=new Date(+s)),s),i.ceil=s=>(t(s=new Date(s-1)),e(s,1),t(s),s),i.round=s=>{const o=i(s),x=i.ceil(s);return s-o<x-s?o:x},i.offset=(s,o)=>(e(s=new Date(+s),o==null?1:Math.floor(o)),s),i.range=(s,o,x)=>{const F=[];if(s=i.ceil(s),x=x==null?1:Math.floor(x),!(s<o)||!(x>0))return F;let S;do F.push(S=new Date(+s)),e(s,x),t(s);while(S<s&&s<o);return F},i.filter=s=>tt(o=>{if(o>=o)for(;t(o),!s(o);)o.setTime(o-1)},(o,x)=>{if(o>=o)if(x<0)for(;++x<=0;)for(;e(o,-1),!s(o););else for(;--x>=0;)for(;e(o,1),!s(o););}),n&&(i.count=(s,o)=>(de.setTime(+s),he.setTime(+o),t(de),t(he),Math.floor(n(de,he))),i.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(r?o=>r(o)%s===0:o=>i.count(0,o)%s===0):i)),i}const It=tt(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);It.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?tt(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):It);It.range;const mt=1e3,at=mt*60,gt=at*60,yt=gt*24,Ce=yt*7,Ne=yt*30,me=yt*365,pt=tt(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*mt)},(t,e)=>(e-t)/mt,t=>t.getUTCSeconds());pt.range;const Nt=tt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt)},(t,e)=>{t.setTime(+t+e*at)},(t,e)=>(e-t)/at,t=>t.getMinutes());Nt.range;const pr=tt(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*at)},(t,e)=>(e-t)/at,t=>t.getUTCMinutes());pr.range;const Ht=tt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt-t.getMinutes()*at)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getHours());Ht.range;const vr=tt(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCHours());vr.range;const Tt=tt(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*at)/yt,t=>t.getDate()-1);Tt.range;const De=tt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>t.getUTCDate()-1);De.range;const Tr=tt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>Math.floor(t/yt));Tr.range;function wt(t){return tt(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*at)/Ce)}const Pt=wt(0),Vt=wt(1),gn=wt(2),yn=wt(3),xt=wt(4),kn=wt(5),pn=wt(6);Pt.range;Vt.range;gn.range;yn.range;xt.range;kn.range;pn.range;function Ct(t){return tt(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/Ce)}const vn=Ct(0),ee=Ct(1),xr=Ct(2),br=Ct(3),Et=Ct(4),wr=Ct(5),Cr=Ct(6);vn.range;ee.range;xr.range;br.range;Et.range;wr.range;Cr.range;const Rt=tt(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Rt.range;const Dr=tt(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());Dr.range;const kt=tt(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());kt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:tt(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});kt.range;const bt=tt(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());bt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:tt(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});bt.range;function Mr(t,e,n,r,i,s){const o=[[pt,1,mt],[pt,5,5*mt],[pt,15,15*mt],[pt,30,30*mt],[s,1,at],[s,5,5*at],[s,15,15*at],[s,30,30*at],[i,1,gt],[i,3,3*gt],[i,6,6*gt],[i,12,12*gt],[r,1,yt],[r,2,2*yt],[n,1,Ce],[e,1,Ne],[e,3,3*Ne],[t,1,me]];function x(S,_,H){const C=_<S;C&&([S,_]=[_,S]);const D=H&&typeof H.range=="function"?H:F(S,_,H),P=D?D.range(S,+_+1):[];return C?P.reverse():P}function F(S,_,H){const C=Math.abs(_-S)/H,D=jn(([,,U])=>U).right(o,C);if(D===o.length)return t.every(Oe(S/me,_/me,H));if(D===0)return It.every(Math.max(Oe(S,_,H),1));const[P,R]=o[C/o[D-1][2]<o[D][2]/C?D-1:D];return P.every(R)}return[x,F]}const[Sr,_r]=Mr(kt,Rt,Pt,Tt,Ht,Nt);function ge(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function ye(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Wt(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function Fr(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,s=t.days,o=t.shortDays,x=t.months,F=t.shortMonths,S=Ot(i),_=$t(i),H=Ot(s),C=$t(s),D=Ot(o),P=$t(o),R=Ot(x),U=$t(x),j=Ot(F),it=$t(F),z={a:m,A,b:a,B:O,c:null,d:qe,e:qe,f:Jr,g:ci,G:li,H:jr,I:Gr,j:Qr,L:Tn,m:Kr,M:ti,p:l,q:J,Q:Ze,s:je,S:ei,u:ni,U:ri,V:ii,w:si,W:ai,x:null,X:null,y:oi,Y:ui,Z:fi,"%":Xe},X={a:u,A:I,b:E,B:q,c:null,d:Be,e:Be,f:gi,g:Di,G:Si,H:di,I:hi,j:mi,L:bn,m:yi,M:ki,p:Y,q:Z,Q:Ze,s:je,S:pi,u:vi,U:Ti,V:xi,w:bi,W:wi,x:null,X:null,y:Ci,Y:Mi,Z:_i,"%":Xe},Q={a:v,A:M,b,B:w,c,d:Pe,e:Pe,f:qr,g:Re,G:Ve,H:ze,I:ze,j:Vr,L:zr,m:Hr,M:Rr,p:$,q:Nr,Q:Xr,s:Zr,S:Pr,u:Ar,U:Lr,V:Wr,w:Yr,W:Or,x:g,X:T,y:Re,Y:Ve,Z:$r,"%":Br};z.x=y(n,z),z.X=y(r,z),z.c=y(e,z),X.x=y(n,X),X.X=y(r,X),X.c=y(e,X);function y(h,L){return function(N){var f=[],nt=-1,W=0,G=h.length,B,ot,lt;for(N instanceof Date||(N=new Date(+N));++nt<G;)h.charCodeAt(nt)===37&&(f.push(h.slice(W,nt)),(ot=He[B=h.charAt(++nt)])!=null?B=h.charAt(++nt):ot=B==="e"?" ":"0",(lt=L[B])&&(B=lt(N,ot)),f.push(B),W=nt+1);return f.push(h.slice(W,nt)),f.join("")}}function k(h,L){return function(N){var f=Wt(1900,void 0,1),nt=p(f,h,N+="",0),W,G;if(nt!=N.length)return null;if("Q"in f)return new Date(f.Q);if("s"in f)return new Date(f.s*1e3+("L"in f?f.L:0));if(L&&!("Z"in f)&&(f.Z=0),"p"in f&&(f.H=f.H%12+f.p*12),f.m===void 0&&(f.m="q"in f?f.q:0),"V"in f){if(f.V<1||f.V>53)return null;"w"in f||(f.w=1),"Z"in f?(W=ye(Wt(f.y,0,1)),G=W.getUTCDay(),W=G>4||G===0?ee.ceil(W):ee(W),W=De.offset(W,(f.V-1)*7),f.y=W.getUTCFullYear(),f.m=W.getUTCMonth(),f.d=W.getUTCDate()+(f.w+6)%7):(W=ge(Wt(f.y,0,1)),G=W.getDay(),W=G>4||G===0?Vt.ceil(W):Vt(W),W=Tt.offset(W,(f.V-1)*7),f.y=W.getFullYear(),f.m=W.getMonth(),f.d=W.getDate()+(f.w+6)%7)}else("W"in f||"U"in f)&&("w"in f||(f.w="u"in f?f.u%7:"W"in f?1:0),G="Z"in f?ye(Wt(f.y,0,1)).getUTCDay():ge(Wt(f.y,0,1)).getDay(),f.m=0,f.d="W"in f?(f.w+6)%7+f.W*7-(G+5)%7:f.w+f.U*7-(G+6)%7);return"Z"in f?(f.H+=f.Z/100|0,f.M+=f.Z%100,ye(f)):ge(f)}}function p(h,L,N,f){for(var nt=0,W=L.length,G=N.length,B,ot;nt<W;){if(f>=G)return-1;if(B=L.charCodeAt(nt++),B===37){if(B=L.charAt(nt++),ot=Q[B in He?L.charAt(nt++):B],!ot||(f=ot(h,N,f))<0)return-1}else if(B!=N.charCodeAt(f++))return-1}return f}function $(h,L,N){var f=S.exec(L.slice(N));return f?(h.p=_.get(f[0].toLowerCase()),N+f[0].length):-1}function v(h,L,N){var f=D.exec(L.slice(N));return f?(h.w=P.get(f[0].toLowerCase()),N+f[0].length):-1}function M(h,L,N){var f=H.exec(L.slice(N));return f?(h.w=C.get(f[0].toLowerCase()),N+f[0].length):-1}function b(h,L,N){var f=j.exec(L.slice(N));return f?(h.m=it.get(f[0].toLowerCase()),N+f[0].length):-1}function w(h,L,N){var f=R.exec(L.slice(N));return f?(h.m=U.get(f[0].toLowerCase()),N+f[0].length):-1}function c(h,L,N){return p(h,e,L,N)}function g(h,L,N){return p(h,n,L,N)}function T(h,L,N){return p(h,r,L,N)}function m(h){return o[h.getDay()]}function A(h){return s[h.getDay()]}function a(h){return F[h.getMonth()]}function O(h){return x[h.getMonth()]}function l(h){return i[+(h.getHours()>=12)]}function J(h){return 1+~~(h.getMonth()/3)}function u(h){return o[h.getUTCDay()]}function I(h){return s[h.getUTCDay()]}function E(h){return F[h.getUTCMonth()]}function q(h){return x[h.getUTCMonth()]}function Y(h){return i[+(h.getUTCHours()>=12)]}function Z(h){return 1+~~(h.getUTCMonth()/3)}return{format:function(h){var L=y(h+="",z);return L.toString=function(){return h},L},parse:function(h){var L=k(h+="",!1);return L.toString=function(){return h},L},utcFormat:function(h){var L=y(h+="",X);return L.toString=function(){return h},L},utcParse:function(h){var L=k(h+="",!0);return L.toString=function(){return h},L}}}var He={"-":"",_:" ",0:"0"},et=/^\s*\d+/,Ur=/^%/,Ir=/[\\^$*+?|[\]().{}]/g;function V(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",s=i.length;return r+(s<n?new Array(n-s+1).join(e)+i:i)}function Er(t){return t.replace(Ir,"\\$&")}function Ot(t){return new RegExp("^(?:"+t.map(Er).join("|")+")","i")}function $t(t){return new Map(t.map((e,n)=>[e.toLowerCase(),n]))}function Yr(t,e,n){var r=et.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Ar(t,e,n){var r=et.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Lr(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Wr(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Or(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ve(t,e,n){var r=et.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Re(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function $r(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Nr(t,e,n){var r=et.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Hr(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Pe(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Vr(t,e,n){var r=et.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function ze(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Rr(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Pr(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function zr(t,e,n){var r=et.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function qr(t,e,n){var r=et.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Br(t,e,n){var r=Ur.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Xr(t,e,n){var r=et.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Zr(t,e,n){var r=et.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function qe(t,e){return V(t.getDate(),e,2)}function jr(t,e){return V(t.getHours(),e,2)}function Gr(t,e){return V(t.getHours()%12||12,e,2)}function Qr(t,e){return V(1+Tt.count(kt(t),t),e,3)}function Tn(t,e){return V(t.getMilliseconds(),e,3)}function Jr(t,e){return Tn(t,e)+"000"}function Kr(t,e){return V(t.getMonth()+1,e,2)}function ti(t,e){return V(t.getMinutes(),e,2)}function ei(t,e){return V(t.getSeconds(),e,2)}function ni(t){var e=t.getDay();return e===0?7:e}function ri(t,e){return V(Pt.count(kt(t)-1,t),e,2)}function xn(t){var e=t.getDay();return e>=4||e===0?xt(t):xt.ceil(t)}function ii(t,e){return t=xn(t),V(xt.count(kt(t),t)+(kt(t).getDay()===4),e,2)}function si(t){return t.getDay()}function ai(t,e){return V(Vt.count(kt(t)-1,t),e,2)}function oi(t,e){return V(t.getFullYear()%100,e,2)}function ci(t,e){return t=xn(t),V(t.getFullYear()%100,e,2)}function ui(t,e){return V(t.getFullYear()%1e4,e,4)}function li(t,e){var n=t.getDay();return t=n>=4||n===0?xt(t):xt.ceil(t),V(t.getFullYear()%1e4,e,4)}function fi(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+V(e/60|0,"0",2)+V(e%60,"0",2)}function Be(t,e){return V(t.getUTCDate(),e,2)}function di(t,e){return V(t.getUTCHours(),e,2)}function hi(t,e){return V(t.getUTCHours()%12||12,e,2)}function mi(t,e){return V(1+De.count(bt(t),t),e,3)}function bn(t,e){return V(t.getUTCMilliseconds(),e,3)}function gi(t,e){return bn(t,e)+"000"}function yi(t,e){return V(t.getUTCMonth()+1,e,2)}function ki(t,e){return V(t.getUTCMinutes(),e,2)}function pi(t,e){return V(t.getUTCSeconds(),e,2)}function vi(t){var e=t.getUTCDay();return e===0?7:e}function Ti(t,e){return V(vn.count(bt(t)-1,t),e,2)}function wn(t){var e=t.getUTCDay();return e>=4||e===0?Et(t):Et.ceil(t)}function xi(t,e){return t=wn(t),V(Et.count(bt(t),t)+(bt(t).getUTCDay()===4),e,2)}function bi(t){return t.getUTCDay()}function wi(t,e){return V(ee.count(bt(t)-1,t),e,2)}function Ci(t,e){return V(t.getUTCFullYear()%100,e,2)}function Di(t,e){return t=wn(t),V(t.getUTCFullYear()%100,e,2)}function Mi(t,e){return V(t.getUTCFullYear()%1e4,e,4)}function Si(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Et(t):Et.ceil(t),V(t.getUTCFullYear()%1e4,e,4)}function _i(){return"+0000"}function Xe(){return"%"}function Ze(t){return+t}function je(t){return Math.floor(+t/1e3)}var Mt,ne;Fi({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Fi(t){return Mt=Fr(t),ne=Mt.format,Mt.parse,Mt.utcFormat,Mt.utcParse,Mt}function Ui(t){return new Date(t)}function Ii(t){return t instanceof Date?+t:+new Date(+t)}function Cn(t,e,n,r,i,s,o,x,F,S){var _=Gn(),H=_.invert,C=_.domain,D=S(".%L"),P=S(":%S"),R=S("%I:%M"),U=S("%I %p"),j=S("%a %d"),it=S("%b %d"),z=S("%B"),X=S("%Y");function Q(y){return(F(y)<y?D:x(y)<y?P:o(y)<y?R:s(y)<y?U:r(y)<y?i(y)<y?j:it:n(y)<y?z:X)(y)}return _.invert=function(y){return new Date(H(y))},_.domain=function(y){return arguments.length?C(Array.from(y,Ii)):C().map(Ui)},_.ticks=function(y){var k=C();return t(k[0],k[k.length-1],y??10)},_.tickFormat=function(y,k){return k==null?Q:S(k)},_.nice=function(y){var k=C();return(!y||typeof y.range!="function")&&(y=e(k[0],k[k.length-1],y??10)),y?C(kr(k,y)):_},_.copy=function(){return Qn(_,Cn(t,e,n,r,i,s,o,x,F,S))},_}function Ei(){return Kn.apply(Cn(Sr,_r,kt,Rt,Pt,Tt,Ht,Nt,pt,ne).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var Gt={exports:{}},Yi=Gt.exports,Ge;function Ai(){return Ge||(Ge=1,(function(t,e){(function(n,r){t.exports=r()})(Yi,(function(){var n="day";return function(r,i,s){var o=function(S){return S.add(4-S.isoWeekday(),n)},x=i.prototype;x.isoWeekYear=function(){return o(this).year()},x.isoWeek=function(S){if(!this.$utils().u(S))return this.add(7*(S-this.isoWeek()),n);var _,H,C,D,P=o(this),R=(_=this.isoWeekYear(),H=this.$u,C=(H?s.utc:s)().year(_).startOf("year"),D=4-C.isoWeekday(),C.isoWeekday()>4&&(D+=7),C.add(D,n));return P.diff(R,"week")+1},x.isoWeekday=function(S){return this.$utils().u(S)?this.day()||7:this.day(this.day()%7?S:S-7)};var F=x.startOf;x.startOf=function(S,_){var H=this.$utils(),C=!!H.u(_)||_;return H.p(S)==="isoweek"?C?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):F.bind(this)(S,_)}}}))})(Gt)),Gt.exports}var Li=Ai();const Wi=an(Li);var Qt={exports:{}},Oi=Qt.exports,Qe;function $i(){return Qe||(Qe=1,(function(t,e){(function(n,r){t.exports=r()})(Oi,(function(){var n,r,i=1e3,s=6e4,o=36e5,x=864e5,F=31536e6,S=2628e6,_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,H=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,C={years:F,months:S,days:x,hours:o,minutes:s,seconds:i,milliseconds:1,weeks:6048e5},D=function(y){return y instanceof X},P=function(y,k,p){return new X(y,p,k.$l)},R=function(y){return r.p(y)+"s"},U=function(y){return y<0},j=function(y){return U(y)?Math.ceil(y):Math.floor(y)},it=function(y){return Math.abs(y)},z=function(y,k){return y?U(y)?{negative:!0,format:""+it(y)+k}:{negative:!1,format:""+y+k}:{negative:!1,format:""}},X=(function(){function y(p,$,v){var M=this;if(this.$d={},this.$l=v,p===void 0&&(this.$ms=0,this.parseFromMilliseconds()),$)return P(p*C[R($)],this);if(typeof p=="number")return this.$ms=p,this.parseFromMilliseconds(),this;if(typeof p=="object")return Object.keys(p).forEach((function(c){M.$d[R(c)]=p[c]})),this.calMilliseconds(),this;if(typeof p=="string"){var b=p.match(_);if(b){var w=b.slice(2).map((function(c){return c!=null?Number(c):0}));return this.$d.years=w[0],this.$d.months=w[1],this.$d.weeks=w[2],this.$d.days=w[3],this.$d.hours=w[4],this.$d.minutes=w[5],this.$d.seconds=w[6],this.calMilliseconds(),this}}return this}var k=y.prototype;return k.calMilliseconds=function(){var p=this;this.$ms=Object.keys(this.$d).reduce((function($,v){return $+(p.$d[v]||0)*C[v]}),0)},k.parseFromMilliseconds=function(){var p=this.$ms;this.$d.years=j(p/F),p%=F,this.$d.months=j(p/S),p%=S,this.$d.days=j(p/x),p%=x,this.$d.hours=j(p/o),p%=o,this.$d.minutes=j(p/s),p%=s,this.$d.seconds=j(p/i),p%=i,this.$d.milliseconds=p},k.toISOString=function(){var p=z(this.$d.years,"Y"),$=z(this.$d.months,"M"),v=+this.$d.days||0;this.$d.weeks&&(v+=7*this.$d.weeks);var M=z(v,"D"),b=z(this.$d.hours,"H"),w=z(this.$d.minutes,"M"),c=this.$d.seconds||0;this.$d.milliseconds&&(c+=this.$d.milliseconds/1e3,c=Math.round(1e3*c)/1e3);var g=z(c,"S"),T=p.negative||$.negative||M.negative||b.negative||w.negative||g.negative,m=b.format||w.format||g.format?"T":"",A=(T?"-":"")+"P"+p.format+$.format+M.format+m+b.format+w.format+g.format;return A==="P"||A==="-P"?"P0D":A},k.toJSON=function(){return this.toISOString()},k.format=function(p){var $=p||"YYYY-MM-DDTHH:mm:ss",v={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return $.replace(H,(function(M,b){return b||String(v[M])}))},k.as=function(p){return this.$ms/C[R(p)]},k.get=function(p){var $=this.$ms,v=R(p);return v==="milliseconds"?$%=1e3:$=v==="weeks"?j($/C[v]):this.$d[v],$||0},k.add=function(p,$,v){var M;return M=$?p*C[R($)]:D(p)?p.$ms:P(p,this).$ms,P(this.$ms+M*(v?-1:1),this)},k.subtract=function(p,$){return this.add(p,$,!0)},k.locale=function(p){var $=this.clone();return $.$l=p,$},k.clone=function(){return P(this.$ms,this)},k.humanize=function(p){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!p)},k.valueOf=function(){return this.asMilliseconds()},k.milliseconds=function(){return this.get("milliseconds")},k.asMilliseconds=function(){return this.as("milliseconds")},k.seconds=function(){return this.get("seconds")},k.asSeconds=function(){return this.as("seconds")},k.minutes=function(){return this.get("minutes")},k.asMinutes=function(){return this.as("minutes")},k.hours=function(){return this.get("hours")},k.asHours=function(){return this.as("hours")},k.days=function(){return this.get("days")},k.asDays=function(){return this.as("days")},k.weeks=function(){return this.get("weeks")},k.asWeeks=function(){return this.as("weeks")},k.months=function(){return this.get("months")},k.asMonths=function(){return this.as("months")},k.years=function(){return this.get("years")},k.asYears=function(){return this.as("years")},y})(),Q=function(y,k,p){return y.add(k.years()*p,"y").add(k.months()*p,"M").add(k.days()*p,"d").add(k.hours()*p,"h").add(k.minutes()*p,"m").add(k.seconds()*p,"s").add(k.milliseconds()*p,"ms")};return function(y,k,p){n=p,r=p().$utils(),p.duration=function(M,b){var w=p.locale();return P(M,{$l:w},b)},p.isDuration=D;var $=k.prototype.add,v=k.prototype.subtract;k.prototype.add=function(M,b){return D(M)?Q(this,M,1):$.bind(this)(M,b)},k.prototype.subtract=function(M,b){return D(M)?Q(this,M,-1):v.bind(this)(M,b)}}}))})(Qt)),Qt.exports}var Ni=$i();const Hi=an(Ni);var Te=(function(){var t=d(function(w,c,g,T){for(g=g||{},T=w.length;T--;g[w[T]]=c);return g},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],i=[1,28],s=[1,29],o=[1,30],x=[1,31],F=[1,32],S=[1,33],_=[1,34],H=[1,9],C=[1,10],D=[1,11],P=[1,12],R=[1,13],U=[1,14],j=[1,15],it=[1,16],z=[1,19],X=[1,20],Q=[1,21],y=[1,22],k=[1,23],p=[1,25],$=[1,35],v={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:d(function(c,g,T,m,A,a,O){var l=a.length-1;switch(A){case 1:return a[l-1];case 2:this.$=[];break;case 3:a[l-1].push(a[l]),this.$=a[l-1];break;case 4:case 5:this.$=a[l];break;case 6:case 7:this.$=[];break;case 8:m.setWeekday("monday");break;case 9:m.setWeekday("tuesday");break;case 10:m.setWeekday("wednesday");break;case 11:m.setWeekday("thursday");break;case 12:m.setWeekday("friday");break;case 13:m.setWeekday("saturday");break;case 14:m.setWeekday("sunday");break;case 15:m.setWeekend("friday");break;case 16:m.setWeekend("saturday");break;case 17:m.setDateFormat(a[l].substr(11)),this.$=a[l].substr(11);break;case 18:m.enableInclusiveEndDates(),this.$=a[l].substr(18);break;case 19:m.TopAxis(),this.$=a[l].substr(8);break;case 20:m.setAxisFormat(a[l].substr(11)),this.$=a[l].substr(11);break;case 21:m.setTickInterval(a[l].substr(13)),this.$=a[l].substr(13);break;case 22:m.setExcludes(a[l].substr(9)),this.$=a[l].substr(9);break;case 23:m.setIncludes(a[l].substr(9)),this.$=a[l].substr(9);break;case 24:m.setTodayMarker(a[l].substr(12)),this.$=a[l].substr(12);break;case 27:m.setDiagramTitle(a[l].substr(6)),this.$=a[l].substr(6);break;case 28:this.$=a[l].trim(),m.setAccTitle(this.$);break;case 29:case 30:this.$=a[l].trim(),m.setAccDescription(this.$);break;case 31:m.addSection(a[l].substr(8)),this.$=a[l].substr(8);break;case 33:m.addTask(a[l-1],a[l]),this.$="task";break;case 34:this.$=a[l-1],m.setClickEvent(a[l-1],a[l],null);break;case 35:this.$=a[l-2],m.setClickEvent(a[l-2],a[l-1],a[l]);break;case 36:this.$=a[l-2],m.setClickEvent(a[l-2],a[l-1],null),m.setLink(a[l-2],a[l]);break;case 37:this.$=a[l-3],m.setClickEvent(a[l-3],a[l-2],a[l-1]),m.setLink(a[l-3],a[l]);break;case 38:this.$=a[l-2],m.setClickEvent(a[l-2],a[l],null),m.setLink(a[l-2],a[l-1]);break;case 39:this.$=a[l-3],m.setClickEvent(a[l-3],a[l-1],a[l]),m.setLink(a[l-3],a[l-2]);break;case 40:this.$=a[l-1],m.setLink(a[l-1],a[l]);break;case 41:case 47:this.$=a[l-1]+" "+a[l];break;case 42:case 43:case 45:this.$=a[l-2]+" "+a[l-1]+" "+a[l];break;case 44:case 46:this.$=a[l-3]+" "+a[l-2]+" "+a[l-1]+" "+a[l];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:i,15:s,16:o,17:x,18:F,19:18,20:S,21:_,22:H,23:C,24:D,25:P,26:R,27:U,28:j,29:it,30:z,31:X,33:Q,35:y,36:k,37:24,38:p,40:$},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:i,15:s,16:o,17:x,18:F,19:18,20:S,21:_,22:H,23:C,24:D,25:P,26:R,27:U,28:j,29:it,30:z,31:X,33:Q,35:y,36:k,37:24,38:p,40:$},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:d(function(c,g){if(g.recoverable)this.trace(c);else{var T=new Error(c);throw T.hash=g,T}},"parseError"),parse:d(function(c){var g=this,T=[0],m=[],A=[null],a=[],O=this.table,l="",J=0,u=0,I=2,E=1,q=a.slice.call(arguments,1),Y=Object.create(this.lexer),Z={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(Z.yy[h]=this.yy[h]);Y.setInput(c,Z.yy),Z.yy.lexer=Y,Z.yy.parser=this,typeof Y.yylloc>"u"&&(Y.yylloc={});var L=Y.yylloc;a.push(L);var N=Y.options&&Y.options.ranges;typeof Z.yy.parseError=="function"?this.parseError=Z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function f(st){T.length=T.length-2*st,A.length=A.length-st,a.length=a.length-st}d(f,"popStack");function nt(){var st;return st=m.pop()||Y.lex()||E,typeof st!="number"&&(st instanceof Array&&(m=st,st=m.pop()),st=g.symbols_[st]||st),st}d(nt,"lex");for(var W,G,B,ot,lt={},qt,ft,We,Bt;;){if(G=T[T.length-1],this.defaultActions[G]?B=this.defaultActions[G]:((W===null||typeof W>"u")&&(W=nt()),B=O[G]&&O[G][W]),typeof B>"u"||!B.length||!B[0]){var se="";Bt=[];for(qt in O[G])this.terminals_[qt]&&qt>I&&Bt.push("'"+this.terminals_[qt]+"'");Y.showPosition?se="Parse error on line "+(J+1)+`:
1
+ import{bp as en,bq as An,br as nn,bs as rn,bt as sn,bu as ae,bv as Ln,g as Wn,s as On,t as $n,q as Nn,a as Hn,b as Vn,_ as d,c as _t,k as Xt,d as Rn,l as vt,m as Pn,S as zn,A as qn,u as Bn}from"./index-C0YmR_Ml.js";import{g as an,h as rt,j as Xn,l as Zn}from"./element-plus-IBMLLhb-.js";import{b as jn,t as Oe,c as Gn,a as Qn,l as Jn}from"./linear-BClg-eNd.js";import{i as Kn}from"./init-Gi6I4Gst.js";import"./vue-BhwNxZ68.js";import"./defaultLocale-DX6XiGOO.js";function tr(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function er(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function nr(t){return t}var jt=1,oe=2,pe=3,Zt=4,$e=1e-6;function rr(t){return"translate("+t+",0)"}function ir(t){return"translate(0,"+t+")"}function sr(t){return e=>+t(e)}function ar(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function or(){return!this.__axis}function on(t,e){var n=[],r=null,i=null,s=6,o=6,x=3,F=typeof window<"u"&&window.devicePixelRatio>1?0:.5,S=t===jt||t===Zt?-1:1,_=t===Zt||t===oe?"x":"y",H=t===jt||t===pe?rr:ir;function C(D){var P=r??(e.ticks?e.ticks.apply(e,n):e.domain()),R=i??(e.tickFormat?e.tickFormat.apply(e,n):nr),U=Math.max(s,0)+x,j=e.range(),it=+j[0]+F,z=+j[j.length-1]+F,X=(e.bandwidth?ar:sr)(e.copy(),F),Q=D.selection?D.selection():D,y=Q.selectAll(".domain").data([null]),k=Q.selectAll(".tick").data(P,e).order(),p=k.exit(),$=k.enter().append("g").attr("class","tick"),v=k.select("line"),M=k.select("text");y=y.merge(y.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),k=k.merge($),v=v.merge($.append("line").attr("stroke","currentColor").attr(_+"2",S*s)),M=M.merge($.append("text").attr("fill","currentColor").attr(_,S*U).attr("dy",t===jt?"0em":t===pe?"0.71em":"0.32em")),D!==Q&&(y=y.transition(D),k=k.transition(D),v=v.transition(D),M=M.transition(D),p=p.transition(D).attr("opacity",$e).attr("transform",function(b){return isFinite(b=X(b))?H(b+F):this.getAttribute("transform")}),$.attr("opacity",$e).attr("transform",function(b){var w=this.parentNode.__axis;return H((w&&isFinite(w=w(b))?w:X(b))+F)})),p.remove(),y.attr("d",t===Zt||t===oe?o?"M"+S*o+","+it+"H"+F+"V"+z+"H"+S*o:"M"+F+","+it+"V"+z:o?"M"+it+","+S*o+"V"+F+"H"+z+"V"+S*o:"M"+it+","+F+"H"+z),k.attr("opacity",1).attr("transform",function(b){return H(X(b)+F)}),v.attr(_+"2",S*s),M.attr(_,S*U).text(R),Q.filter(or).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===oe?"start":t===Zt?"end":"middle"),Q.each(function(){this.__axis=X})}return C.scale=function(D){return arguments.length?(e=D,C):e},C.ticks=function(){return n=Array.from(arguments),C},C.tickArguments=function(D){return arguments.length?(n=D==null?[]:Array.from(D),C):n.slice()},C.tickValues=function(D){return arguments.length?(r=D==null?null:Array.from(D),C):r&&r.slice()},C.tickFormat=function(D){return arguments.length?(i=D,C):i},C.tickSize=function(D){return arguments.length?(s=o=+D,C):s},C.tickSizeInner=function(D){return arguments.length?(s=+D,C):s},C.tickSizeOuter=function(D){return arguments.length?(o=+D,C):o},C.tickPadding=function(D){return arguments.length?(x=+D,C):x},C.offset=function(D){return arguments.length?(F=+D,C):F},C}function cr(t){return on(jt,t)}function ur(t){return on(pe,t)}const lr=Math.PI/180,fr=180/Math.PI,te=18,cn=.96422,un=1,ln=.82521,fn=4/29,Ft=6/29,dn=3*Ft*Ft,dr=Ft*Ft*Ft;function hn(t){if(t instanceof ut)return new ut(t.l,t.a,t.b,t.opacity);if(t instanceof ht)return mn(t);t instanceof en||(t=An(t));var e=fe(t.r),n=fe(t.g),r=fe(t.b),i=ce((.2225045*e+.7168786*n+.0606169*r)/un),s,o;return e===n&&n===r?s=o=i:(s=ce((.4360747*e+.3850649*n+.1430804*r)/cn),o=ce((.0139322*e+.0971045*n+.7141733*r)/ln)),new ut(116*i-16,500*(s-i),200*(i-o),t.opacity)}function hr(t,e,n,r){return arguments.length===1?hn(t):new ut(t,e,n,r??1)}function ut(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}nn(ut,hr,rn(sn,{brighter(t){return new ut(this.l+te*(t??1),this.a,this.b,this.opacity)},darker(t){return new ut(this.l-te*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=cn*ue(e),t=un*ue(t),n=ln*ue(n),new en(le(3.1338561*e-1.6168667*t-.4906146*n),le(-.9787684*e+1.9161415*t+.033454*n),le(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ce(t){return t>dr?Math.pow(t,1/3):t/dn+fn}function ue(t){return t>Ft?t*t*t:dn*(t-fn)}function le(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function fe(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function mr(t){if(t instanceof ht)return new ht(t.h,t.c,t.l,t.opacity);if(t instanceof ut||(t=hn(t)),t.a===0&&t.b===0)return new ht(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*fr;return new ht(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function ve(t,e,n,r){return arguments.length===1?mr(t):new ht(t,e,n,r??1)}function ht(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function mn(t){if(isNaN(t.h))return new ut(t.l,0,0,t.opacity);var e=t.h*lr;return new ut(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}nn(ht,ve,rn(sn,{brighter(t){return new ht(this.h,this.c,this.l+te*(t??1),this.opacity)},darker(t){return new ht(this.h,this.c,this.l-te*(t??1),this.opacity)},rgb(){return mn(this).rgb()}}));function gr(t){return function(e,n){var r=t((e=ve(e)).h,(n=ve(n)).h),i=ae(e.c,n.c),s=ae(e.l,n.l),o=ae(e.opacity,n.opacity);return function(x){return e.h=r(x),e.c=i(x),e.l=s(x),e.opacity=o(x),e+""}}}const yr=gr(Ln);function kr(t,e){t=t.slice();var n=0,r=t.length-1,i=t[n],s=t[r],o;return s<i&&(o=n,n=r,r=o,o=i,i=s,s=o),t[n]=e.floor(i),t[r]=e.ceil(s),t}const de=new Date,he=new Date;function tt(t,e,n,r){function i(s){return t(s=arguments.length===0?new Date:new Date(+s)),s}return i.floor=s=>(t(s=new Date(+s)),s),i.ceil=s=>(t(s=new Date(s-1)),e(s,1),t(s),s),i.round=s=>{const o=i(s),x=i.ceil(s);return s-o<x-s?o:x},i.offset=(s,o)=>(e(s=new Date(+s),o==null?1:Math.floor(o)),s),i.range=(s,o,x)=>{const F=[];if(s=i.ceil(s),x=x==null?1:Math.floor(x),!(s<o)||!(x>0))return F;let S;do F.push(S=new Date(+s)),e(s,x),t(s);while(S<s&&s<o);return F},i.filter=s=>tt(o=>{if(o>=o)for(;t(o),!s(o);)o.setTime(o-1)},(o,x)=>{if(o>=o)if(x<0)for(;++x<=0;)for(;e(o,-1),!s(o););else for(;--x>=0;)for(;e(o,1),!s(o););}),n&&(i.count=(s,o)=>(de.setTime(+s),he.setTime(+o),t(de),t(he),Math.floor(n(de,he))),i.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(r?o=>r(o)%s===0:o=>i.count(0,o)%s===0):i)),i}const It=tt(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);It.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?tt(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):It);It.range;const mt=1e3,at=mt*60,gt=at*60,yt=gt*24,Ce=yt*7,Ne=yt*30,me=yt*365,pt=tt(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*mt)},(t,e)=>(e-t)/mt,t=>t.getUTCSeconds());pt.range;const Nt=tt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt)},(t,e)=>{t.setTime(+t+e*at)},(t,e)=>(e-t)/at,t=>t.getMinutes());Nt.range;const pr=tt(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*at)},(t,e)=>(e-t)/at,t=>t.getUTCMinutes());pr.range;const Ht=tt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt-t.getMinutes()*at)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getHours());Ht.range;const vr=tt(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCHours());vr.range;const Tt=tt(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*at)/yt,t=>t.getDate()-1);Tt.range;const De=tt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>t.getUTCDate()-1);De.range;const Tr=tt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>Math.floor(t/yt));Tr.range;function wt(t){return tt(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*at)/Ce)}const Pt=wt(0),Vt=wt(1),gn=wt(2),yn=wt(3),xt=wt(4),kn=wt(5),pn=wt(6);Pt.range;Vt.range;gn.range;yn.range;xt.range;kn.range;pn.range;function Ct(t){return tt(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/Ce)}const vn=Ct(0),ee=Ct(1),xr=Ct(2),br=Ct(3),Et=Ct(4),wr=Ct(5),Cr=Ct(6);vn.range;ee.range;xr.range;br.range;Et.range;wr.range;Cr.range;const Rt=tt(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Rt.range;const Dr=tt(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());Dr.range;const kt=tt(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());kt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:tt(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});kt.range;const bt=tt(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());bt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:tt(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});bt.range;function Mr(t,e,n,r,i,s){const o=[[pt,1,mt],[pt,5,5*mt],[pt,15,15*mt],[pt,30,30*mt],[s,1,at],[s,5,5*at],[s,15,15*at],[s,30,30*at],[i,1,gt],[i,3,3*gt],[i,6,6*gt],[i,12,12*gt],[r,1,yt],[r,2,2*yt],[n,1,Ce],[e,1,Ne],[e,3,3*Ne],[t,1,me]];function x(S,_,H){const C=_<S;C&&([S,_]=[_,S]);const D=H&&typeof H.range=="function"?H:F(S,_,H),P=D?D.range(S,+_+1):[];return C?P.reverse():P}function F(S,_,H){const C=Math.abs(_-S)/H,D=jn(([,,U])=>U).right(o,C);if(D===o.length)return t.every(Oe(S/me,_/me,H));if(D===0)return It.every(Math.max(Oe(S,_,H),1));const[P,R]=o[C/o[D-1][2]<o[D][2]/C?D-1:D];return P.every(R)}return[x,F]}const[Sr,_r]=Mr(kt,Rt,Pt,Tt,Ht,Nt);function ge(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function ye(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Wt(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function Fr(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,s=t.days,o=t.shortDays,x=t.months,F=t.shortMonths,S=Ot(i),_=$t(i),H=Ot(s),C=$t(s),D=Ot(o),P=$t(o),R=Ot(x),U=$t(x),j=Ot(F),it=$t(F),z={a:m,A,b:a,B:O,c:null,d:qe,e:qe,f:Jr,g:ci,G:li,H:jr,I:Gr,j:Qr,L:Tn,m:Kr,M:ti,p:l,q:J,Q:Ze,s:je,S:ei,u:ni,U:ri,V:ii,w:si,W:ai,x:null,X:null,y:oi,Y:ui,Z:fi,"%":Xe},X={a:u,A:I,b:E,B:q,c:null,d:Be,e:Be,f:gi,g:Di,G:Si,H:di,I:hi,j:mi,L:bn,m:yi,M:ki,p:Y,q:Z,Q:Ze,s:je,S:pi,u:vi,U:Ti,V:xi,w:bi,W:wi,x:null,X:null,y:Ci,Y:Mi,Z:_i,"%":Xe},Q={a:v,A:M,b,B:w,c,d:Pe,e:Pe,f:qr,g:Re,G:Ve,H:ze,I:ze,j:Vr,L:zr,m:Hr,M:Rr,p:$,q:Nr,Q:Xr,s:Zr,S:Pr,u:Ar,U:Lr,V:Wr,w:Yr,W:Or,x:g,X:T,y:Re,Y:Ve,Z:$r,"%":Br};z.x=y(n,z),z.X=y(r,z),z.c=y(e,z),X.x=y(n,X),X.X=y(r,X),X.c=y(e,X);function y(h,L){return function(N){var f=[],nt=-1,W=0,G=h.length,B,ot,lt;for(N instanceof Date||(N=new Date(+N));++nt<G;)h.charCodeAt(nt)===37&&(f.push(h.slice(W,nt)),(ot=He[B=h.charAt(++nt)])!=null?B=h.charAt(++nt):ot=B==="e"?" ":"0",(lt=L[B])&&(B=lt(N,ot)),f.push(B),W=nt+1);return f.push(h.slice(W,nt)),f.join("")}}function k(h,L){return function(N){var f=Wt(1900,void 0,1),nt=p(f,h,N+="",0),W,G;if(nt!=N.length)return null;if("Q"in f)return new Date(f.Q);if("s"in f)return new Date(f.s*1e3+("L"in f?f.L:0));if(L&&!("Z"in f)&&(f.Z=0),"p"in f&&(f.H=f.H%12+f.p*12),f.m===void 0&&(f.m="q"in f?f.q:0),"V"in f){if(f.V<1||f.V>53)return null;"w"in f||(f.w=1),"Z"in f?(W=ye(Wt(f.y,0,1)),G=W.getUTCDay(),W=G>4||G===0?ee.ceil(W):ee(W),W=De.offset(W,(f.V-1)*7),f.y=W.getUTCFullYear(),f.m=W.getUTCMonth(),f.d=W.getUTCDate()+(f.w+6)%7):(W=ge(Wt(f.y,0,1)),G=W.getDay(),W=G>4||G===0?Vt.ceil(W):Vt(W),W=Tt.offset(W,(f.V-1)*7),f.y=W.getFullYear(),f.m=W.getMonth(),f.d=W.getDate()+(f.w+6)%7)}else("W"in f||"U"in f)&&("w"in f||(f.w="u"in f?f.u%7:"W"in f?1:0),G="Z"in f?ye(Wt(f.y,0,1)).getUTCDay():ge(Wt(f.y,0,1)).getDay(),f.m=0,f.d="W"in f?(f.w+6)%7+f.W*7-(G+5)%7:f.w+f.U*7-(G+6)%7);return"Z"in f?(f.H+=f.Z/100|0,f.M+=f.Z%100,ye(f)):ge(f)}}function p(h,L,N,f){for(var nt=0,W=L.length,G=N.length,B,ot;nt<W;){if(f>=G)return-1;if(B=L.charCodeAt(nt++),B===37){if(B=L.charAt(nt++),ot=Q[B in He?L.charAt(nt++):B],!ot||(f=ot(h,N,f))<0)return-1}else if(B!=N.charCodeAt(f++))return-1}return f}function $(h,L,N){var f=S.exec(L.slice(N));return f?(h.p=_.get(f[0].toLowerCase()),N+f[0].length):-1}function v(h,L,N){var f=D.exec(L.slice(N));return f?(h.w=P.get(f[0].toLowerCase()),N+f[0].length):-1}function M(h,L,N){var f=H.exec(L.slice(N));return f?(h.w=C.get(f[0].toLowerCase()),N+f[0].length):-1}function b(h,L,N){var f=j.exec(L.slice(N));return f?(h.m=it.get(f[0].toLowerCase()),N+f[0].length):-1}function w(h,L,N){var f=R.exec(L.slice(N));return f?(h.m=U.get(f[0].toLowerCase()),N+f[0].length):-1}function c(h,L,N){return p(h,e,L,N)}function g(h,L,N){return p(h,n,L,N)}function T(h,L,N){return p(h,r,L,N)}function m(h){return o[h.getDay()]}function A(h){return s[h.getDay()]}function a(h){return F[h.getMonth()]}function O(h){return x[h.getMonth()]}function l(h){return i[+(h.getHours()>=12)]}function J(h){return 1+~~(h.getMonth()/3)}function u(h){return o[h.getUTCDay()]}function I(h){return s[h.getUTCDay()]}function E(h){return F[h.getUTCMonth()]}function q(h){return x[h.getUTCMonth()]}function Y(h){return i[+(h.getUTCHours()>=12)]}function Z(h){return 1+~~(h.getUTCMonth()/3)}return{format:function(h){var L=y(h+="",z);return L.toString=function(){return h},L},parse:function(h){var L=k(h+="",!1);return L.toString=function(){return h},L},utcFormat:function(h){var L=y(h+="",X);return L.toString=function(){return h},L},utcParse:function(h){var L=k(h+="",!0);return L.toString=function(){return h},L}}}var He={"-":"",_:" ",0:"0"},et=/^\s*\d+/,Ur=/^%/,Ir=/[\\^$*+?|[\]().{}]/g;function V(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",s=i.length;return r+(s<n?new Array(n-s+1).join(e)+i:i)}function Er(t){return t.replace(Ir,"\\$&")}function Ot(t){return new RegExp("^(?:"+t.map(Er).join("|")+")","i")}function $t(t){return new Map(t.map((e,n)=>[e.toLowerCase(),n]))}function Yr(t,e,n){var r=et.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Ar(t,e,n){var r=et.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Lr(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Wr(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Or(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ve(t,e,n){var r=et.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Re(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function $r(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Nr(t,e,n){var r=et.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Hr(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Pe(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Vr(t,e,n){var r=et.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function ze(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Rr(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Pr(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function zr(t,e,n){var r=et.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function qr(t,e,n){var r=et.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Br(t,e,n){var r=Ur.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Xr(t,e,n){var r=et.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Zr(t,e,n){var r=et.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function qe(t,e){return V(t.getDate(),e,2)}function jr(t,e){return V(t.getHours(),e,2)}function Gr(t,e){return V(t.getHours()%12||12,e,2)}function Qr(t,e){return V(1+Tt.count(kt(t),t),e,3)}function Tn(t,e){return V(t.getMilliseconds(),e,3)}function Jr(t,e){return Tn(t,e)+"000"}function Kr(t,e){return V(t.getMonth()+1,e,2)}function ti(t,e){return V(t.getMinutes(),e,2)}function ei(t,e){return V(t.getSeconds(),e,2)}function ni(t){var e=t.getDay();return e===0?7:e}function ri(t,e){return V(Pt.count(kt(t)-1,t),e,2)}function xn(t){var e=t.getDay();return e>=4||e===0?xt(t):xt.ceil(t)}function ii(t,e){return t=xn(t),V(xt.count(kt(t),t)+(kt(t).getDay()===4),e,2)}function si(t){return t.getDay()}function ai(t,e){return V(Vt.count(kt(t)-1,t),e,2)}function oi(t,e){return V(t.getFullYear()%100,e,2)}function ci(t,e){return t=xn(t),V(t.getFullYear()%100,e,2)}function ui(t,e){return V(t.getFullYear()%1e4,e,4)}function li(t,e){var n=t.getDay();return t=n>=4||n===0?xt(t):xt.ceil(t),V(t.getFullYear()%1e4,e,4)}function fi(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+V(e/60|0,"0",2)+V(e%60,"0",2)}function Be(t,e){return V(t.getUTCDate(),e,2)}function di(t,e){return V(t.getUTCHours(),e,2)}function hi(t,e){return V(t.getUTCHours()%12||12,e,2)}function mi(t,e){return V(1+De.count(bt(t),t),e,3)}function bn(t,e){return V(t.getUTCMilliseconds(),e,3)}function gi(t,e){return bn(t,e)+"000"}function yi(t,e){return V(t.getUTCMonth()+1,e,2)}function ki(t,e){return V(t.getUTCMinutes(),e,2)}function pi(t,e){return V(t.getUTCSeconds(),e,2)}function vi(t){var e=t.getUTCDay();return e===0?7:e}function Ti(t,e){return V(vn.count(bt(t)-1,t),e,2)}function wn(t){var e=t.getUTCDay();return e>=4||e===0?Et(t):Et.ceil(t)}function xi(t,e){return t=wn(t),V(Et.count(bt(t),t)+(bt(t).getUTCDay()===4),e,2)}function bi(t){return t.getUTCDay()}function wi(t,e){return V(ee.count(bt(t)-1,t),e,2)}function Ci(t,e){return V(t.getUTCFullYear()%100,e,2)}function Di(t,e){return t=wn(t),V(t.getUTCFullYear()%100,e,2)}function Mi(t,e){return V(t.getUTCFullYear()%1e4,e,4)}function Si(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Et(t):Et.ceil(t),V(t.getUTCFullYear()%1e4,e,4)}function _i(){return"+0000"}function Xe(){return"%"}function Ze(t){return+t}function je(t){return Math.floor(+t/1e3)}var Mt,ne;Fi({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Fi(t){return Mt=Fr(t),ne=Mt.format,Mt.parse,Mt.utcFormat,Mt.utcParse,Mt}function Ui(t){return new Date(t)}function Ii(t){return t instanceof Date?+t:+new Date(+t)}function Cn(t,e,n,r,i,s,o,x,F,S){var _=Gn(),H=_.invert,C=_.domain,D=S(".%L"),P=S(":%S"),R=S("%I:%M"),U=S("%I %p"),j=S("%a %d"),it=S("%b %d"),z=S("%B"),X=S("%Y");function Q(y){return(F(y)<y?D:x(y)<y?P:o(y)<y?R:s(y)<y?U:r(y)<y?i(y)<y?j:it:n(y)<y?z:X)(y)}return _.invert=function(y){return new Date(H(y))},_.domain=function(y){return arguments.length?C(Array.from(y,Ii)):C().map(Ui)},_.ticks=function(y){var k=C();return t(k[0],k[k.length-1],y??10)},_.tickFormat=function(y,k){return k==null?Q:S(k)},_.nice=function(y){var k=C();return(!y||typeof y.range!="function")&&(y=e(k[0],k[k.length-1],y??10)),y?C(kr(k,y)):_},_.copy=function(){return Qn(_,Cn(t,e,n,r,i,s,o,x,F,S))},_}function Ei(){return Kn.apply(Cn(Sr,_r,kt,Rt,Pt,Tt,Ht,Nt,pt,ne).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var Gt={exports:{}},Yi=Gt.exports,Ge;function Ai(){return Ge||(Ge=1,(function(t,e){(function(n,r){t.exports=r()})(Yi,(function(){var n="day";return function(r,i,s){var o=function(S){return S.add(4-S.isoWeekday(),n)},x=i.prototype;x.isoWeekYear=function(){return o(this).year()},x.isoWeek=function(S){if(!this.$utils().u(S))return this.add(7*(S-this.isoWeek()),n);var _,H,C,D,P=o(this),R=(_=this.isoWeekYear(),H=this.$u,C=(H?s.utc:s)().year(_).startOf("year"),D=4-C.isoWeekday(),C.isoWeekday()>4&&(D+=7),C.add(D,n));return P.diff(R,"week")+1},x.isoWeekday=function(S){return this.$utils().u(S)?this.day()||7:this.day(this.day()%7?S:S-7)};var F=x.startOf;x.startOf=function(S,_){var H=this.$utils(),C=!!H.u(_)||_;return H.p(S)==="isoweek"?C?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):F.bind(this)(S,_)}}}))})(Gt)),Gt.exports}var Li=Ai();const Wi=an(Li);var Qt={exports:{}},Oi=Qt.exports,Qe;function $i(){return Qe||(Qe=1,(function(t,e){(function(n,r){t.exports=r()})(Oi,(function(){var n,r,i=1e3,s=6e4,o=36e5,x=864e5,F=31536e6,S=2628e6,_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,H=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,C={years:F,months:S,days:x,hours:o,minutes:s,seconds:i,milliseconds:1,weeks:6048e5},D=function(y){return y instanceof X},P=function(y,k,p){return new X(y,p,k.$l)},R=function(y){return r.p(y)+"s"},U=function(y){return y<0},j=function(y){return U(y)?Math.ceil(y):Math.floor(y)},it=function(y){return Math.abs(y)},z=function(y,k){return y?U(y)?{negative:!0,format:""+it(y)+k}:{negative:!1,format:""+y+k}:{negative:!1,format:""}},X=(function(){function y(p,$,v){var M=this;if(this.$d={},this.$l=v,p===void 0&&(this.$ms=0,this.parseFromMilliseconds()),$)return P(p*C[R($)],this);if(typeof p=="number")return this.$ms=p,this.parseFromMilliseconds(),this;if(typeof p=="object")return Object.keys(p).forEach((function(c){M.$d[R(c)]=p[c]})),this.calMilliseconds(),this;if(typeof p=="string"){var b=p.match(_);if(b){var w=b.slice(2).map((function(c){return c!=null?Number(c):0}));return this.$d.years=w[0],this.$d.months=w[1],this.$d.weeks=w[2],this.$d.days=w[3],this.$d.hours=w[4],this.$d.minutes=w[5],this.$d.seconds=w[6],this.calMilliseconds(),this}}return this}var k=y.prototype;return k.calMilliseconds=function(){var p=this;this.$ms=Object.keys(this.$d).reduce((function($,v){return $+(p.$d[v]||0)*C[v]}),0)},k.parseFromMilliseconds=function(){var p=this.$ms;this.$d.years=j(p/F),p%=F,this.$d.months=j(p/S),p%=S,this.$d.days=j(p/x),p%=x,this.$d.hours=j(p/o),p%=o,this.$d.minutes=j(p/s),p%=s,this.$d.seconds=j(p/i),p%=i,this.$d.milliseconds=p},k.toISOString=function(){var p=z(this.$d.years,"Y"),$=z(this.$d.months,"M"),v=+this.$d.days||0;this.$d.weeks&&(v+=7*this.$d.weeks);var M=z(v,"D"),b=z(this.$d.hours,"H"),w=z(this.$d.minutes,"M"),c=this.$d.seconds||0;this.$d.milliseconds&&(c+=this.$d.milliseconds/1e3,c=Math.round(1e3*c)/1e3);var g=z(c,"S"),T=p.negative||$.negative||M.negative||b.negative||w.negative||g.negative,m=b.format||w.format||g.format?"T":"",A=(T?"-":"")+"P"+p.format+$.format+M.format+m+b.format+w.format+g.format;return A==="P"||A==="-P"?"P0D":A},k.toJSON=function(){return this.toISOString()},k.format=function(p){var $=p||"YYYY-MM-DDTHH:mm:ss",v={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return $.replace(H,(function(M,b){return b||String(v[M])}))},k.as=function(p){return this.$ms/C[R(p)]},k.get=function(p){var $=this.$ms,v=R(p);return v==="milliseconds"?$%=1e3:$=v==="weeks"?j($/C[v]):this.$d[v],$||0},k.add=function(p,$,v){var M;return M=$?p*C[R($)]:D(p)?p.$ms:P(p,this).$ms,P(this.$ms+M*(v?-1:1),this)},k.subtract=function(p,$){return this.add(p,$,!0)},k.locale=function(p){var $=this.clone();return $.$l=p,$},k.clone=function(){return P(this.$ms,this)},k.humanize=function(p){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!p)},k.valueOf=function(){return this.asMilliseconds()},k.milliseconds=function(){return this.get("milliseconds")},k.asMilliseconds=function(){return this.as("milliseconds")},k.seconds=function(){return this.get("seconds")},k.asSeconds=function(){return this.as("seconds")},k.minutes=function(){return this.get("minutes")},k.asMinutes=function(){return this.as("minutes")},k.hours=function(){return this.get("hours")},k.asHours=function(){return this.as("hours")},k.days=function(){return this.get("days")},k.asDays=function(){return this.as("days")},k.weeks=function(){return this.get("weeks")},k.asWeeks=function(){return this.as("weeks")},k.months=function(){return this.get("months")},k.asMonths=function(){return this.as("months")},k.years=function(){return this.get("years")},k.asYears=function(){return this.as("years")},y})(),Q=function(y,k,p){return y.add(k.years()*p,"y").add(k.months()*p,"M").add(k.days()*p,"d").add(k.hours()*p,"h").add(k.minutes()*p,"m").add(k.seconds()*p,"s").add(k.milliseconds()*p,"ms")};return function(y,k,p){n=p,r=p().$utils(),p.duration=function(M,b){var w=p.locale();return P(M,{$l:w},b)},p.isDuration=D;var $=k.prototype.add,v=k.prototype.subtract;k.prototype.add=function(M,b){return D(M)?Q(this,M,1):$.bind(this)(M,b)},k.prototype.subtract=function(M,b){return D(M)?Q(this,M,-1):v.bind(this)(M,b)}}}))})(Qt)),Qt.exports}var Ni=$i();const Hi=an(Ni);var Te=(function(){var t=d(function(w,c,g,T){for(g=g||{},T=w.length;T--;g[w[T]]=c);return g},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],i=[1,28],s=[1,29],o=[1,30],x=[1,31],F=[1,32],S=[1,33],_=[1,34],H=[1,9],C=[1,10],D=[1,11],P=[1,12],R=[1,13],U=[1,14],j=[1,15],it=[1,16],z=[1,19],X=[1,20],Q=[1,21],y=[1,22],k=[1,23],p=[1,25],$=[1,35],v={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:d(function(c,g,T,m,A,a,O){var l=a.length-1;switch(A){case 1:return a[l-1];case 2:this.$=[];break;case 3:a[l-1].push(a[l]),this.$=a[l-1];break;case 4:case 5:this.$=a[l];break;case 6:case 7:this.$=[];break;case 8:m.setWeekday("monday");break;case 9:m.setWeekday("tuesday");break;case 10:m.setWeekday("wednesday");break;case 11:m.setWeekday("thursday");break;case 12:m.setWeekday("friday");break;case 13:m.setWeekday("saturday");break;case 14:m.setWeekday("sunday");break;case 15:m.setWeekend("friday");break;case 16:m.setWeekend("saturday");break;case 17:m.setDateFormat(a[l].substr(11)),this.$=a[l].substr(11);break;case 18:m.enableInclusiveEndDates(),this.$=a[l].substr(18);break;case 19:m.TopAxis(),this.$=a[l].substr(8);break;case 20:m.setAxisFormat(a[l].substr(11)),this.$=a[l].substr(11);break;case 21:m.setTickInterval(a[l].substr(13)),this.$=a[l].substr(13);break;case 22:m.setExcludes(a[l].substr(9)),this.$=a[l].substr(9);break;case 23:m.setIncludes(a[l].substr(9)),this.$=a[l].substr(9);break;case 24:m.setTodayMarker(a[l].substr(12)),this.$=a[l].substr(12);break;case 27:m.setDiagramTitle(a[l].substr(6)),this.$=a[l].substr(6);break;case 28:this.$=a[l].trim(),m.setAccTitle(this.$);break;case 29:case 30:this.$=a[l].trim(),m.setAccDescription(this.$);break;case 31:m.addSection(a[l].substr(8)),this.$=a[l].substr(8);break;case 33:m.addTask(a[l-1],a[l]),this.$="task";break;case 34:this.$=a[l-1],m.setClickEvent(a[l-1],a[l],null);break;case 35:this.$=a[l-2],m.setClickEvent(a[l-2],a[l-1],a[l]);break;case 36:this.$=a[l-2],m.setClickEvent(a[l-2],a[l-1],null),m.setLink(a[l-2],a[l]);break;case 37:this.$=a[l-3],m.setClickEvent(a[l-3],a[l-2],a[l-1]),m.setLink(a[l-3],a[l]);break;case 38:this.$=a[l-2],m.setClickEvent(a[l-2],a[l],null),m.setLink(a[l-2],a[l-1]);break;case 39:this.$=a[l-3],m.setClickEvent(a[l-3],a[l-1],a[l]),m.setLink(a[l-3],a[l-2]);break;case 40:this.$=a[l-1],m.setLink(a[l-1],a[l]);break;case 41:case 47:this.$=a[l-1]+" "+a[l];break;case 42:case 43:case 45:this.$=a[l-2]+" "+a[l-1]+" "+a[l];break;case 44:case 46:this.$=a[l-3]+" "+a[l-2]+" "+a[l-1]+" "+a[l];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:i,15:s,16:o,17:x,18:F,19:18,20:S,21:_,22:H,23:C,24:D,25:P,26:R,27:U,28:j,29:it,30:z,31:X,33:Q,35:y,36:k,37:24,38:p,40:$},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:i,15:s,16:o,17:x,18:F,19:18,20:S,21:_,22:H,23:C,24:D,25:P,26:R,27:U,28:j,29:it,30:z,31:X,33:Q,35:y,36:k,37:24,38:p,40:$},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:d(function(c,g){if(g.recoverable)this.trace(c);else{var T=new Error(c);throw T.hash=g,T}},"parseError"),parse:d(function(c){var g=this,T=[0],m=[],A=[null],a=[],O=this.table,l="",J=0,u=0,I=2,E=1,q=a.slice.call(arguments,1),Y=Object.create(this.lexer),Z={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(Z.yy[h]=this.yy[h]);Y.setInput(c,Z.yy),Z.yy.lexer=Y,Z.yy.parser=this,typeof Y.yylloc>"u"&&(Y.yylloc={});var L=Y.yylloc;a.push(L);var N=Y.options&&Y.options.ranges;typeof Z.yy.parseError=="function"?this.parseError=Z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function f(st){T.length=T.length-2*st,A.length=A.length-st,a.length=a.length-st}d(f,"popStack");function nt(){var st;return st=m.pop()||Y.lex()||E,typeof st!="number"&&(st instanceof Array&&(m=st,st=m.pop()),st=g.symbols_[st]||st),st}d(nt,"lex");for(var W,G,B,ot,lt={},qt,ft,We,Bt;;){if(G=T[T.length-1],this.defaultActions[G]?B=this.defaultActions[G]:((W===null||typeof W>"u")&&(W=nt()),B=O[G]&&O[G][W]),typeof B>"u"||!B.length||!B[0]){var se="";Bt=[];for(qt in O[G])this.terminals_[qt]&&qt>I&&Bt.push("'"+this.terminals_[qt]+"'");Y.showPosition?se="Parse error on line "+(J+1)+`:
2
2
  `+Y.showPosition()+`
3
3
  Expecting `+Bt.join(", ")+", got '"+(this.terminals_[W]||W)+"'":se="Parse error on line "+(J+1)+": Unexpected "+(W==E?"end of input":"'"+(this.terminals_[W]||W)+"'"),this.parseError(se,{text:Y.match,token:this.terminals_[W]||W,line:Y.yylineno,loc:L,expected:Bt})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+W);switch(B[0]){case 1:T.push(W),A.push(Y.yytext),a.push(Y.yylloc),T.push(B[1]),W=null,u=Y.yyleng,l=Y.yytext,J=Y.yylineno,L=Y.yylloc;break;case 2:if(ft=this.productions_[B[1]][1],lt.$=A[A.length-ft],lt._$={first_line:a[a.length-(ft||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(ft||1)].first_column,last_column:a[a.length-1].last_column},N&&(lt._$.range=[a[a.length-(ft||1)].range[0],a[a.length-1].range[1]]),ot=this.performAction.apply(lt,[l,u,J,Z.yy,B[1],A,a].concat(q)),typeof ot<"u")return ot;ft&&(T=T.slice(0,-1*ft*2),A=A.slice(0,-1*ft),a=a.slice(0,-1*ft)),T.push(this.productions_[B[1]][0]),A.push(lt.$),a.push(lt._$),We=O[T[T.length-2]][T[T.length-1]],T.push(We);break;case 3:return!0}}return!0},"parse")},M=(function(){var w={EOF:1,parseError:d(function(g,T){if(this.yy.parser)this.yy.parser.parseError(g,T);else throw new Error(g)},"parseError"),setInput:d(function(c,g){return this.yy=g||this.yy||{},this._input=c,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:d(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var g=c.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:d(function(c){var g=c.length,T=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var m=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),T.length-1&&(this.yylineno-=T.length-1);var A=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:T?(T.length===m.length?this.yylloc.first_column:0)+m[m.length-T.length].length-T[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(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
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(c){this.unput(this.match.slice(c))},"less"),pastInput:d(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var c=this.pastInput(),g=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{I as he}from"./chunk-2Q5K7J3B-Bx3ShJLs.js";import{p as $e}from"./chunk-JWPE2WC7-BIEqnMSy.js";import{t as fe,q as ge,s as ue,g as ye,a as xe,b as me,_ as $,L as Q,l as k,k as pe,c as z,u as be,M as we,A as ke,m as L,N as ve,O as Ee,P as Ce}from"./index-z64JVqEI.js";import{p as Be}from"./cynefin-OW5HDTMX-BVOPFxoX.js";import"./vue-BhwNxZ68.js";import"./element-plus-IBMLLhb-.js";var p={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Te=Ee.gitGraph,D=$(()=>ve({...Te,...Q().gitGraph}),"getConfig"),i=new he(()=>{const e=D(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function K(){return Ce({length:7})}$(K,"getID");function ae(e,r){const t=Object.create(null);return e.reduce((o,s)=>{const d=r(s);return t[d]||(t[d]=!0,o.push(s)),o},[])}$(ae,"uniqBy");var Le=$(function(e){i.records.direction=e},"setDirection"),Me=$(function(e){k.debug("options str",e),e=e==null?void 0:e.trim(),e=e||"{}";try{i.records.options=JSON.parse(e)}catch(r){k.error("error while parsing gitGraph options",r.message)}},"setOptions"),Re=$(function(){return i.records.options},"getOptions"),Ie=$(function(e){let r=e.msg,t=e.id;const o=e.type;let s=e.tags;k.info("commit",r,t,o,s),k.debug("Entering commit:",r,t,o,s);const d=D();t=L.sanitizeText(t,d),r=L.sanitizeText(r,d),s=s==null?void 0:s.map(a=>L.sanitizeText(a,d));const n={id:t||i.records.seq+"-"+K(),message:r,seq:i.records.seq++,type:o??p.NORMAL,tags:s??[],parents:i.records.head==null?[]:[i.records.head.id],branch:i.records.currBranch};i.records.head=n,k.info("main branch",d.mainBranchName),i.records.commits.has(n.id)&&k.warn(`Commit ID ${n.id} already exists`),i.records.commits.set(n.id,n),i.records.branches.set(i.records.currBranch,n.id),k.debug("in pushCommit "+n.id)},"commit"),Oe=$(function(e){let r=e.name;const t=e.order;if(r=L.sanitizeText(r,D()),i.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);i.records.branches.set(r,i.records.head!=null?i.records.head.id:null),i.records.branchConfig.set(r,{name:r,order:t}),ne(r),k.debug("in createBranch")},"branch"),_e=$(e=>{let r=e.branch,t=e.id;const o=e.type,s=e.tags,d=D();r=L.sanitizeText(r,d),t&&(t=L.sanitizeText(t,d));const n=i.records.branches.get(i.records.currBranch),a=i.records.branches.get(r),l=n?i.records.commits.get(n):void 0,h=a?i.records.commits.get(a):void 0;if(l&&h&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(i.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!i.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(h===void 0||!h){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===h){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&i.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${o} ${s==null?void 0:s.join(" ")}`,token:`merge ${r} ${t} ${o} ${s==null?void 0:s.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${o} ${s==null?void 0:s.join(" ")}`]},c}const g=a||"",f={id:t||`${i.records.seq}-${K()}`,message:`merged branch ${r} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,g],branch:i.records.currBranch,type:p.MERGE,customType:o,customId:!!t,tags:s??[]};i.records.head=f,i.records.commits.set(f.id,f),i.records.branches.set(i.records.currBranch,f.id),k.debug(i.records.branches),k.debug("in mergeBranch")},"merge"),Ge=$(function(e){let r=e.id,t=e.targetId,o=e.tags,s=e.parent;k.debug("Entering cherryPick:",r,t,o);const d=D();if(r=L.sanitizeText(r,d),t=L.sanitizeText(t,d),o=o==null?void 0:o.map(l=>L.sanitizeText(l,d)),s=L.sanitizeText(s,d),!r||!i.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=i.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(s&&!(Array.isArray(n.parents)&&n.parents.includes(s)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===p.MERGE&&!s)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!i.records.commits.has(t)){if(a===i.records.currBranch){const f=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw f.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},f}const l=i.records.branches.get(i.records.currBranch);if(l===void 0||!l){const f=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},f}const h=i.records.commits.get(l);if(h===void 0||!h){const f=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},f}const g={id:i.records.seq+"-"+K(),message:`cherry-picked ${n==null?void 0:n.message} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,n.id],branch:i.records.currBranch,type:p.CHERRY_PICK,tags:o?o.filter(Boolean):[`cherry-pick:${n.id}${n.type===p.MERGE?`|parent:${s}`:""}`]};i.records.head=g,i.records.commits.set(g.id,g),i.records.branches.set(i.records.currBranch,g.id),k.debug(i.records.branches),k.debug("in cherryPick")}},"cherryPick"),ne=$(function(e){if(e=L.sanitizeText(e,D()),i.records.branches.has(e)){i.records.currBranch=e;const r=i.records.branches.get(i.records.currBranch);r===void 0||!r?i.records.head=null:i.records.head=i.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function X(e,r,t){const o=e.indexOf(r);o===-1?e.push(t):e.splice(o,1,t)}$(X,"upsert");function Z(e){const r=e.reduce((s,d)=>s.seq>d.seq?s:d,e[0]);let t="";e.forEach(function(s){s===r?t+=" *":t+=" |"});const o=[t,r.id,r.seq];for(const s in i.records.branches)i.records.branches.get(s)===r.id&&o.push(s);if(k.debug(o.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const s=i.records.commits.get(r.parents[0]);X(e,r,s),r.parents[1]&&e.push(i.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const s=i.records.commits.get(r.parents[0]);X(e,r,s)}}e=ae(e,s=>s.id),Z(e)}$(Z,"prettyPrintCommitHistory");var He=$(function(){k.debug(i.records.commits);const e=se()[0];Z([e])},"prettyPrint"),Ae=$(function(){i.reset(),ke()},"clear"),Se=$(function(){return[...i.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),De=$(function(){return i.records.branches},"getBranches"),Pe=$(function(){return i.records.commits},"getCommits"),se=$(function(){const e=[...i.records.commits.values()];return e.forEach(function(r){k.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),qe=$(function(){return i.records.currBranch},"getCurrentBranch"),We=$(function(){return i.records.direction},"getDirection"),Ne=$(function(){return i.records.head},"getHead"),oe={commitType:p,getConfig:D,setDirection:Le,setOptions:Me,getOptions:Re,commit:Ie,branch:Oe,merge:_e,cherryPick:Ge,checkout:ne,prettyPrint:He,clear:Ae,getBranchesAsObjArray:Se,getBranches:De,getCommits:Pe,getCommitsArray:se,getCurrentBranch:qe,getDirection:We,getHead:Ne,setAccTitle:me,getAccTitle:xe,getAccDescription:ye,setAccDescription:ue,setDiagramTitle:ge,getDiagramTitle:fe},Fe=$((e,r)=>{$e(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)ze(t,r)},"populate"),ze=$((e,r)=>{const o={Commit:$(s=>r.commit(Ye(s)),"Commit"),Branch:$(s=>r.branch(je(s)),"Branch"),Merge:$(s=>r.merge(Ue(s)),"Merge"),Checkout:$(s=>r.checkout(Ke(s)),"Checkout"),CherryPicking:$(s=>r.cherryPick(Ve(s)),"CherryPicking")}[e.$type];o?o(e):k.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ye=$(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?p[e.type]:p.NORMAL,tags:e.tags??void 0}),"parseCommit"),je=$(e=>({name:e.name,order:e.order??0}),"parseBranch"),Ue=$(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?p[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ke=$(e=>e.branch,"parseCheckout"),Ve=$(e=>{var t;return{id:e.id,targetId:"",tags:((t=e.tags)==null?void 0:t.length)===0?void 0:e.tags,parent:e.parent}},"parseCherryPicking"),Xe={parse:$(async e=>{const r=await Be("gitGraph",e);k.debug(r),Fe(r,oe)},"parse")},G=10,H=40,M=4,I=2,A=8,V=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),J=12,ee=new Set(["redux-color","redux-dark-color"]),Je=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),S=$((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),B=new Map,T=new Map,j=30,N=new Map,U=[],O=0,y="LR",Qe=$(()=>{B.clear(),T.clear(),N.clear(),O=0,U=[],y="LR"},"clear"),ce=$(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(o=>{const s=document.createElementNS("http://www.w3.org/2000/svg","tspan");s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),s.setAttribute("dy","1em"),s.setAttribute("x","0"),s.setAttribute("class","row"),s.textContent=o.trim(),r.appendChild(s)}),r},"drawText"),ie=$(e=>{let r,t,o;return y==="BT"?(t=$((s,d)=>s<=d,"comparisonFunc"),o=1/0):(t=$((s,d)=>s>=d,"comparisonFunc"),o=0),e.forEach(s=>{var n,a;const d=y==="TB"||y=="BT"?(n=T.get(s))==null?void 0:n.y:(a=T.get(s))==null?void 0:a.x;d!==void 0&&t(d,o)&&(r=s,o=d)}),r},"findClosestParent"),Ze=$(e=>{let r="",t=1/0;return e.forEach(o=>{const s=T.get(o).y;s<=t&&(r=o,t=s)}),r||void 0},"findClosestParentBT"),er=$((e,r,t)=>{let o=t,s=t;const d=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(o=tr(a),s=Math.max(o,s)):d.push(a),ar(a,o)}),o=s,d.forEach(n=>{nr(n,o,t)}),e.forEach(n=>{const a=r.get(n);if(a!=null&&a.parents.length){const l=Ze(a.parents);o=T.get(l).y-H,o<=s&&(s=o);const h=B.get(a.branch).pos,g=o-G;T.set(a.id,{x:h,y:g})}})},"setParallelBTPos"),rr=$(e=>{var o;const r=ie(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=(o=T.get(r))==null?void 0:o.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),tr=$(e=>rr(e)+H,"calculateCommitPosition"),ar=$((e,r)=>{const t=B.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const o=t.pos,s=r+G;return T.set(e.id,{x:o,y:s}),{x:o,y:s}},"setCommitPosition"),nr=$((e,r,t)=>{const o=B.get(e.branch);if(!o)throw new Error(`Branch not found for commit ${e.id}`);const s=r+t,d=o.pos;T.set(e.id,{x:d,y:s})},"setRootPosition"),sr=$((e,r,t,o,s,d)=>{const{theme:n}=z(),a=V.has(n??""),l=ee.has(n??""),h=Je.has(n??"");if(d===p.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${S(s,A,l)} ${o}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${S(s,A,l)} ${o}-inner`);else if(d===p.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${o}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${S(s,A,l)}`),d===p.MERGE){const f=e.append("circle");f.attr("cx",t.x),f.attr("cy",t.y),f.attr("r",a?5:6),f.attr("class",`commit ${o} ${r.id} commit${S(s,A,l)}`)}if(d===p.REVERSE){const f=e.append("path"),c=a?4:5;f.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${o} ${r.id} commit${S(s,A,l)}`)}}},"drawCommitBullet"),or=$((e,r,t,o,s)=>{var d;if(r.type!==p.CHERRY_PICK&&(r.customId&&r.type===p.MERGE||r.type!==p.MERGE)&&s.showCommitLabel){const n=e.append("g"),a=n.insert("rect").attr("class","commit-label-bkg"),l=n.append("text").attr("x",o).attr("y",t.y+25).attr("class","commit-label").text(r.id),h=(d=l.node())==null?void 0:d.getBBox();if(h&&(a.attr("x",t.posWithOffset-h.width/2-I).attr("y",t.y+13.5).attr("width",h.width+2*I).attr("height",h.height+2*I),y==="TB"||y==="BT"?(a.attr("x",t.x-(h.width+4*M+5)).attr("y",t.y-12),l.attr("x",t.x-(h.width+4*M)).attr("y",t.y+h.height-12)):l.attr("x",t.posWithOffset-h.width/2),s.rotateCommitLabel))if(y==="TB"||y==="BT")l.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),a.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const g=-7.5-(h.width+10)/25*9.5,f=10+h.width/25*8.5;n.attr("transform","translate("+g+", "+f+") rotate(-45, "+o+", "+t.y+")")}}},"drawCommitLabel"),cr=$((e,r,t,o)=>{var s;if(r.tags.length>0){let d=0,n=0,a=0;const l=[];for(const h of r.tags.reverse()){const g=e.insert("polygon"),f=e.append("circle"),c=e.append("text").attr("y",t.y-16-d).attr("class","tag-label").text(h),x=(s=c.node())==null?void 0:s.getBBox();if(!x)throw new Error("Tag bbox not found");n=Math.max(n,x.width),a=Math.max(a,x.height),c.attr("x",t.posWithOffset-x.width/2),l.push({tag:c,hole:f,rect:g,yOffset:d}),d+=20}for(const{tag:h,hole:g,rect:f,yOffset:c}of l){const x=a/2,u=t.y-19.2-c;if(f.attr("class","tag-label-bkg").attr("points",`
1
+ import{I as he}from"./chunk-2Q5K7J3B-C_fZm_U-.js";import{p as $e}from"./chunk-JWPE2WC7-CZbzpj3q.js";import{t as fe,q as ge,s as ue,g as ye,a as xe,b as me,_ as $,L as Q,l as k,k as pe,c as z,u as be,M as we,A as ke,m as L,N as ve,O as Ee,P as Ce}from"./index-C0YmR_Ml.js";import{p as Be}from"./cynefin-OW5HDTMX-TuJ27ggL.js";import"./vue-BhwNxZ68.js";import"./element-plus-IBMLLhb-.js";var p={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Te=Ee.gitGraph,D=$(()=>ve({...Te,...Q().gitGraph}),"getConfig"),i=new he(()=>{const e=D(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function K(){return Ce({length:7})}$(K,"getID");function ae(e,r){const t=Object.create(null);return e.reduce((o,s)=>{const d=r(s);return t[d]||(t[d]=!0,o.push(s)),o},[])}$(ae,"uniqBy");var Le=$(function(e){i.records.direction=e},"setDirection"),Me=$(function(e){k.debug("options str",e),e=e==null?void 0:e.trim(),e=e||"{}";try{i.records.options=JSON.parse(e)}catch(r){k.error("error while parsing gitGraph options",r.message)}},"setOptions"),Re=$(function(){return i.records.options},"getOptions"),Ie=$(function(e){let r=e.msg,t=e.id;const o=e.type;let s=e.tags;k.info("commit",r,t,o,s),k.debug("Entering commit:",r,t,o,s);const d=D();t=L.sanitizeText(t,d),r=L.sanitizeText(r,d),s=s==null?void 0:s.map(a=>L.sanitizeText(a,d));const n={id:t||i.records.seq+"-"+K(),message:r,seq:i.records.seq++,type:o??p.NORMAL,tags:s??[],parents:i.records.head==null?[]:[i.records.head.id],branch:i.records.currBranch};i.records.head=n,k.info("main branch",d.mainBranchName),i.records.commits.has(n.id)&&k.warn(`Commit ID ${n.id} already exists`),i.records.commits.set(n.id,n),i.records.branches.set(i.records.currBranch,n.id),k.debug("in pushCommit "+n.id)},"commit"),Oe=$(function(e){let r=e.name;const t=e.order;if(r=L.sanitizeText(r,D()),i.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);i.records.branches.set(r,i.records.head!=null?i.records.head.id:null),i.records.branchConfig.set(r,{name:r,order:t}),ne(r),k.debug("in createBranch")},"branch"),_e=$(e=>{let r=e.branch,t=e.id;const o=e.type,s=e.tags,d=D();r=L.sanitizeText(r,d),t&&(t=L.sanitizeText(t,d));const n=i.records.branches.get(i.records.currBranch),a=i.records.branches.get(r),l=n?i.records.commits.get(n):void 0,h=a?i.records.commits.get(a):void 0;if(l&&h&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(i.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!i.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(h===void 0||!h){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===h){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&i.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${o} ${s==null?void 0:s.join(" ")}`,token:`merge ${r} ${t} ${o} ${s==null?void 0:s.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${o} ${s==null?void 0:s.join(" ")}`]},c}const g=a||"",f={id:t||`${i.records.seq}-${K()}`,message:`merged branch ${r} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,g],branch:i.records.currBranch,type:p.MERGE,customType:o,customId:!!t,tags:s??[]};i.records.head=f,i.records.commits.set(f.id,f),i.records.branches.set(i.records.currBranch,f.id),k.debug(i.records.branches),k.debug("in mergeBranch")},"merge"),Ge=$(function(e){let r=e.id,t=e.targetId,o=e.tags,s=e.parent;k.debug("Entering cherryPick:",r,t,o);const d=D();if(r=L.sanitizeText(r,d),t=L.sanitizeText(t,d),o=o==null?void 0:o.map(l=>L.sanitizeText(l,d)),s=L.sanitizeText(s,d),!r||!i.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=i.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(s&&!(Array.isArray(n.parents)&&n.parents.includes(s)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===p.MERGE&&!s)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!i.records.commits.has(t)){if(a===i.records.currBranch){const f=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw f.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},f}const l=i.records.branches.get(i.records.currBranch);if(l===void 0||!l){const f=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},f}const h=i.records.commits.get(l);if(h===void 0||!h){const f=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw f.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},f}const g={id:i.records.seq+"-"+K(),message:`cherry-picked ${n==null?void 0:n.message} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,n.id],branch:i.records.currBranch,type:p.CHERRY_PICK,tags:o?o.filter(Boolean):[`cherry-pick:${n.id}${n.type===p.MERGE?`|parent:${s}`:""}`]};i.records.head=g,i.records.commits.set(g.id,g),i.records.branches.set(i.records.currBranch,g.id),k.debug(i.records.branches),k.debug("in cherryPick")}},"cherryPick"),ne=$(function(e){if(e=L.sanitizeText(e,D()),i.records.branches.has(e)){i.records.currBranch=e;const r=i.records.branches.get(i.records.currBranch);r===void 0||!r?i.records.head=null:i.records.head=i.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function X(e,r,t){const o=e.indexOf(r);o===-1?e.push(t):e.splice(o,1,t)}$(X,"upsert");function Z(e){const r=e.reduce((s,d)=>s.seq>d.seq?s:d,e[0]);let t="";e.forEach(function(s){s===r?t+=" *":t+=" |"});const o=[t,r.id,r.seq];for(const s in i.records.branches)i.records.branches.get(s)===r.id&&o.push(s);if(k.debug(o.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const s=i.records.commits.get(r.parents[0]);X(e,r,s),r.parents[1]&&e.push(i.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const s=i.records.commits.get(r.parents[0]);X(e,r,s)}}e=ae(e,s=>s.id),Z(e)}$(Z,"prettyPrintCommitHistory");var He=$(function(){k.debug(i.records.commits);const e=se()[0];Z([e])},"prettyPrint"),Ae=$(function(){i.reset(),ke()},"clear"),Se=$(function(){return[...i.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),De=$(function(){return i.records.branches},"getBranches"),Pe=$(function(){return i.records.commits},"getCommits"),se=$(function(){const e=[...i.records.commits.values()];return e.forEach(function(r){k.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),qe=$(function(){return i.records.currBranch},"getCurrentBranch"),We=$(function(){return i.records.direction},"getDirection"),Ne=$(function(){return i.records.head},"getHead"),oe={commitType:p,getConfig:D,setDirection:Le,setOptions:Me,getOptions:Re,commit:Ie,branch:Oe,merge:_e,cherryPick:Ge,checkout:ne,prettyPrint:He,clear:Ae,getBranchesAsObjArray:Se,getBranches:De,getCommits:Pe,getCommitsArray:se,getCurrentBranch:qe,getDirection:We,getHead:Ne,setAccTitle:me,getAccTitle:xe,getAccDescription:ye,setAccDescription:ue,setDiagramTitle:ge,getDiagramTitle:fe},Fe=$((e,r)=>{$e(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)ze(t,r)},"populate"),ze=$((e,r)=>{const o={Commit:$(s=>r.commit(Ye(s)),"Commit"),Branch:$(s=>r.branch(je(s)),"Branch"),Merge:$(s=>r.merge(Ue(s)),"Merge"),Checkout:$(s=>r.checkout(Ke(s)),"Checkout"),CherryPicking:$(s=>r.cherryPick(Ve(s)),"CherryPicking")}[e.$type];o?o(e):k.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),Ye=$(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?p[e.type]:p.NORMAL,tags:e.tags??void 0}),"parseCommit"),je=$(e=>({name:e.name,order:e.order??0}),"parseBranch"),Ue=$(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?p[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ke=$(e=>e.branch,"parseCheckout"),Ve=$(e=>{var t;return{id:e.id,targetId:"",tags:((t=e.tags)==null?void 0:t.length)===0?void 0:e.tags,parent:e.parent}},"parseCherryPicking"),Xe={parse:$(async e=>{const r=await Be("gitGraph",e);k.debug(r),Fe(r,oe)},"parse")},G=10,H=40,M=4,I=2,A=8,V=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),J=12,ee=new Set(["redux-color","redux-dark-color"]),Je=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),S=$((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),B=new Map,T=new Map,j=30,N=new Map,U=[],O=0,y="LR",Qe=$(()=>{B.clear(),T.clear(),N.clear(),O=0,U=[],y="LR"},"clear"),ce=$(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(o=>{const s=document.createElementNS("http://www.w3.org/2000/svg","tspan");s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),s.setAttribute("dy","1em"),s.setAttribute("x","0"),s.setAttribute("class","row"),s.textContent=o.trim(),r.appendChild(s)}),r},"drawText"),ie=$(e=>{let r,t,o;return y==="BT"?(t=$((s,d)=>s<=d,"comparisonFunc"),o=1/0):(t=$((s,d)=>s>=d,"comparisonFunc"),o=0),e.forEach(s=>{var n,a;const d=y==="TB"||y=="BT"?(n=T.get(s))==null?void 0:n.y:(a=T.get(s))==null?void 0:a.x;d!==void 0&&t(d,o)&&(r=s,o=d)}),r},"findClosestParent"),Ze=$(e=>{let r="",t=1/0;return e.forEach(o=>{const s=T.get(o).y;s<=t&&(r=o,t=s)}),r||void 0},"findClosestParentBT"),er=$((e,r,t)=>{let o=t,s=t;const d=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(o=tr(a),s=Math.max(o,s)):d.push(a),ar(a,o)}),o=s,d.forEach(n=>{nr(n,o,t)}),e.forEach(n=>{const a=r.get(n);if(a!=null&&a.parents.length){const l=Ze(a.parents);o=T.get(l).y-H,o<=s&&(s=o);const h=B.get(a.branch).pos,g=o-G;T.set(a.id,{x:h,y:g})}})},"setParallelBTPos"),rr=$(e=>{var o;const r=ie(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=(o=T.get(r))==null?void 0:o.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),tr=$(e=>rr(e)+H,"calculateCommitPosition"),ar=$((e,r)=>{const t=B.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const o=t.pos,s=r+G;return T.set(e.id,{x:o,y:s}),{x:o,y:s}},"setCommitPosition"),nr=$((e,r,t)=>{const o=B.get(e.branch);if(!o)throw new Error(`Branch not found for commit ${e.id}`);const s=r+t,d=o.pos;T.set(e.id,{x:d,y:s})},"setRootPosition"),sr=$((e,r,t,o,s,d)=>{const{theme:n}=z(),a=V.has(n??""),l=ee.has(n??""),h=Je.has(n??"");if(d===p.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${S(s,A,l)} ${o}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${S(s,A,l)} ${o}-inner`);else if(d===p.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${o}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",h?"#000000":"#fff").attr("class",`commit ${r.id} ${o}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${S(s,A,l)}`),d===p.MERGE){const f=e.append("circle");f.attr("cx",t.x),f.attr("cy",t.y),f.attr("r",a?5:6),f.attr("class",`commit ${o} ${r.id} commit${S(s,A,l)}`)}if(d===p.REVERSE){const f=e.append("path"),c=a?4:5;f.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${o} ${r.id} commit${S(s,A,l)}`)}}},"drawCommitBullet"),or=$((e,r,t,o,s)=>{var d;if(r.type!==p.CHERRY_PICK&&(r.customId&&r.type===p.MERGE||r.type!==p.MERGE)&&s.showCommitLabel){const n=e.append("g"),a=n.insert("rect").attr("class","commit-label-bkg"),l=n.append("text").attr("x",o).attr("y",t.y+25).attr("class","commit-label").text(r.id),h=(d=l.node())==null?void 0:d.getBBox();if(h&&(a.attr("x",t.posWithOffset-h.width/2-I).attr("y",t.y+13.5).attr("width",h.width+2*I).attr("height",h.height+2*I),y==="TB"||y==="BT"?(a.attr("x",t.x-(h.width+4*M+5)).attr("y",t.y-12),l.attr("x",t.x-(h.width+4*M)).attr("y",t.y+h.height-12)):l.attr("x",t.posWithOffset-h.width/2),s.rotateCommitLabel))if(y==="TB"||y==="BT")l.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),a.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const g=-7.5-(h.width+10)/25*9.5,f=10+h.width/25*8.5;n.attr("transform","translate("+g+", "+f+") rotate(-45, "+o+", "+t.y+")")}}},"drawCommitLabel"),cr=$((e,r,t,o)=>{var s;if(r.tags.length>0){let d=0,n=0,a=0;const l=[];for(const h of r.tags.reverse()){const g=e.insert("polygon"),f=e.append("circle"),c=e.append("text").attr("y",t.y-16-d).attr("class","tag-label").text(h),x=(s=c.node())==null?void 0:s.getBBox();if(!x)throw new Error("Tag bbox not found");n=Math.max(n,x.width),a=Math.max(a,x.height),c.attr("x",t.posWithOffset-x.width/2),l.push({tag:c,hole:f,rect:g,yOffset:d}),d+=20}for(const{tag:h,hole:g,rect:f,yOffset:c}of l){const x=a/2,u=t.y-19.2-c;if(f.attr("class","tag-label-bkg").attr("points",`
2
2
  ${o-n/2-M/2},${u+I}
3
3
  ${o-n/2-M/2},${u-I}
4
4
  ${t.posWithOffset-n/2-M},${u-x-I}
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/elk-276RUBZZ-DTJ8porF.js","assets/chunk-NETBCI7D-DWDPVhzE.js","assets/chunk-3FUC2YCW-npJuWQgM.js","assets/graph-DcfhsBxO.js","assets/element-plus-IBMLLhb-.js","assets/vue-BhwNxZ68.js","assets/dagre-6A5THRUB-BBXhvs_s.js","assets/swimlanes-2SLR337P-RFbVR5iD.js","assets/cose-bilkent-JH36ORCC-CHcf0ChD.js","assets/cytoscape.esm-Ix0LnXOy.js","assets/c4Diagram-YGBWAQC7-0PABaygh.js","assets/chunk-GWA4HPMP-CS_7AIEI.js","assets/flowDiagram-KWPJA3E3-C3YlGYFe.js","assets/chunk-5VM5RSS4-sUx0MLUK.js","assets/chunk-XXDRQBXY-C7ux97rA.js","assets/chunk-WEXAMYUT-CZmF6ztf.js","assets/channel-CH0mBqDy.js","assets/diagram-22UHCM2B-BpXFmuft.js","assets/swimlanesDiagram-TC7HE7FX-DQeW6-o5.js","assets/erDiagram-OPXOYQCR-Cu8sQHj7.js","assets/gitGraphDiagram-X574FWY7-W9cDxWIt.js","assets/chunk-2Q5K7J3B-Bx3ShJLs.js","assets/chunk-JWPE2WC7-BIEqnMSy.js","assets/cynefin-OW5HDTMX-BVOPFxoX.js","assets/ganttDiagram-FUAMR5RP-InE3Qjdk.js","assets/linear-D2pugD8L.js","assets/init-Gi6I4Gst.js","assets/defaultLocale-DX6XiGOO.js","assets/infoDiagram-VRGFBTTK-Cs_MZzVX.js","assets/pieDiagram-5QR66LMP-ciGhrblI.js","assets/arc-BTJdMR9U.js","assets/ordinal-Cboi1Yqb.js","assets/quadrantDiagram-O4NWA36T-8MJ_CUFe.js","assets/xychartDiagram-PMCCYNJV-B0cVFGsf.js","assets/requirementDiagram-PLB6GJNP-glZ4Tl5M.js","assets/sequenceDiagram-PO4LG4MO-C4kD0n6_.js","assets/classDiagram-v2-NBCMYWYE-DMFHgo6y.js","assets/stateDiagram-v2-GCMORJYK-miD15x9p.js","assets/journeyDiagram-ZHPQQLJL-M_8xlDc6.js","assets/timeline-definition-EJHVYXUP-DjpYQNiI.js","assets/mindmap-definition-NLK3R4M7-Ej_zTWtJ.js","assets/kanban-definition-PNTS6WVX-DJM9NnPd.js","assets/sankeyDiagram-IPEJSGJF-C87eVSmR.js","assets/diagram-MLGK6HIB-CMUiUB5V.js","assets/diagram-MPIPVDR6-DAEDT1M_.js","assets/blockDiagram-BEXU5L5S-jSaqNPDC.js","assets/diagram-CDSNMT55-CMhnvQ9p.js","assets/architectureDiagram-NJMV4G6O-Cuu0BD8t.js","assets/diagram-ATOU4E4O-DpVGu2ct.js","assets/ishikawaDiagram-OU5B5YK6-CYNBwCgu.js","assets/vennDiagram-UO4OBE2U-D7wQezYC.js","assets/diagram-3UASUU5V-BQvfr6_4.js","assets/usecaseDiagram-POWQR4AR-BIo58LtF.js","assets/wardleyDiagram-VNRHLVJA-DwhQUOY8.js","assets/cynefinDiagram-VND7K2PF-D3MWGh5_.js","assets/railroadDiagram-XR7U4H2S-CrBQOwD0.js","assets/chunk-GTNCS2PH-BO6MsgyZ.js","assets/ebnfDiagram-ZINNZB2B--teB4gEh.js","assets/abnfDiagram-O67JEVCF-BvLOOVMp.js","assets/pegDiagram-GJSIUBJH-C1eyhBDj.js"])))=>i.map(i=>d[i]);
2
- var fJ=Object.defineProperty;var KI=r=>{throw TypeError(r)};var gJ=(r,t,e)=>t in r?fJ(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var Fe=(r,t,e)=>gJ(r,typeof t!="symbol"?t+"":t,e),Ub=(r,t,e)=>t.has(r)||KI("Cannot "+e);var Qa=(r,t,e)=>(Ub(r,t,"read from private field"),e?e.call(r):t.get(r)),Qb=(r,t,e)=>t.has(r)?KI("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(r):t.set(r,e),Bp=(r,t,e,n)=>(Ub(r,t,"write to private field"),n?n.call(r,e):t.set(r,e),e),$b=(r,t,e)=>(Ub(r,t,"access private method"),e);import{az as Uc,c as Dt,G as Tn,L as j,M as lt,S as Ze,P as G,$ as pt,d as da,w as Ir,F as Ee,ae as tr,n as qh,O as ge,u as Tt,k as Kt,Z as Nt,a0 as ht,W as ot,_ as Ct,aj as ue,a6 as ad,aq as Fl,ac as si,aA as Qc,X as sa,a1 as lA,R as cg,aB as Cy,Y as pJ,aC as Hb,aD as YI,T as y8,e as dA,A as mJ,a as vJ,ak as od,i as wl,aE as b8,ag as yJ,aF as bJ,aG as wJ,aw as xJ,aH as CJ}from"./vue-BhwNxZ68.js";import{J as w8,h as BJ,K as ne,L as oa,g as x8,M as kJ}from"./element-plus-IBMLLhb-.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function e(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(i){if(i.ep)return;i.ep=!0;const s=e(i);fetch(i.href,s)}})();const kp="0.1.29";function qf(){return window.gitCockpitDesktop??null}function EJ(r,t){if(r==="done")return{type:"done"};if(!t||typeof t!="object")return null;const e=t;if(r==="delta"&&typeof e.text=="string")return{type:"delta",text:e.text};if(r==="tool"&&typeof e.tool=="string")return{type:"tool",tool:e.tool,success:e.success!==!1};if(r==="confirm"&&typeof e.token=="string"&&typeof e.tool=="string"){const n=e.preview&&typeof e.preview=="object"?e.preview:{};return{type:"confirm",token:e.token,tool:e.tool,preview:{command:typeof n.command=="string"?n.command:"",affectedFiles:Array.isArray(n.affectedFiles)?n.affectedFiles.map(i=>String(i)):[],args:Array.isArray(n.args)?n.args.map(i=>String(i)):void 0,note:typeof n.note=="string"?n.note:void 0}}}return r==="error"?{type:"error",error:typeof e.error=="string"?e.error:"对话出错"}:null}const SJ=new TextEncoder;function Ld(r,t){return SJ.encode(`event: ${r}
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/elk-276RUBZZ-3R42O50O.js","assets/chunk-NETBCI7D-oMwLFERc.js","assets/chunk-3FUC2YCW-Ck9FkIOM.js","assets/graph-DcfhsBxO.js","assets/element-plus-IBMLLhb-.js","assets/vue-BhwNxZ68.js","assets/dagre-6A5THRUB-BqcARewW.js","assets/swimlanes-2SLR337P-BWFuQg24.js","assets/cose-bilkent-JH36ORCC-DqcjhtUy.js","assets/cytoscape.esm-Ix0LnXOy.js","assets/c4Diagram-YGBWAQC7-DlYEmCt1.js","assets/chunk-GWA4HPMP-DnHElRZC.js","assets/flowDiagram-KWPJA3E3-DNUgMsKp.js","assets/chunk-5VM5RSS4-B0M3flH6.js","assets/chunk-XXDRQBXY-C2K8xJ1E.js","assets/chunk-WEXAMYUT-ZHayFKk5.js","assets/channel-Bqn9QLF0.js","assets/diagram-22UHCM2B-Xfv11pOS.js","assets/swimlanesDiagram-TC7HE7FX-CMpDq7fq.js","assets/erDiagram-OPXOYQCR-C8QlrepD.js","assets/gitGraphDiagram-X574FWY7-dQNCjyey.js","assets/chunk-2Q5K7J3B-C_fZm_U-.js","assets/chunk-JWPE2WC7-CZbzpj3q.js","assets/cynefin-OW5HDTMX-TuJ27ggL.js","assets/ganttDiagram-FUAMR5RP-36xod97R.js","assets/linear-BClg-eNd.js","assets/init-Gi6I4Gst.js","assets/defaultLocale-DX6XiGOO.js","assets/infoDiagram-VRGFBTTK-BDFMwCu7.js","assets/pieDiagram-5QR66LMP-DUBoPS19.js","assets/arc-ACoMCUYz.js","assets/ordinal-Cboi1Yqb.js","assets/quadrantDiagram-O4NWA36T-JoPQuFkj.js","assets/xychartDiagram-PMCCYNJV-BlsyCRrV.js","assets/requirementDiagram-PLB6GJNP-BFmHBrYg.js","assets/sequenceDiagram-PO4LG4MO-D3HIk2CT.js","assets/classDiagram-v2-NBCMYWYE-Df0mdLQT.js","assets/stateDiagram-v2-GCMORJYK-nWGdH2ls.js","assets/journeyDiagram-ZHPQQLJL-DqJVqecU.js","assets/timeline-definition-EJHVYXUP-sYFrzU2n.js","assets/mindmap-definition-NLK3R4M7-DuLDWvjN.js","assets/kanban-definition-PNTS6WVX-BtpOBegU.js","assets/sankeyDiagram-IPEJSGJF-DXumpplA.js","assets/diagram-MLGK6HIB-BoSsC2Xk.js","assets/diagram-MPIPVDR6-Dnvlug71.js","assets/blockDiagram-BEXU5L5S-mAVctb7i.js","assets/diagram-CDSNMT55-BnYnTAkK.js","assets/architectureDiagram-NJMV4G6O-CLqMNlsU.js","assets/diagram-ATOU4E4O-nfxEOGvu.js","assets/ishikawaDiagram-OU5B5YK6-DGistvPu.js","assets/vennDiagram-UO4OBE2U-AQfjofVL.js","assets/diagram-3UASUU5V-DMoIIUxF.js","assets/usecaseDiagram-POWQR4AR-Dtf8EYHv.js","assets/wardleyDiagram-VNRHLVJA-C0Ujm7pF.js","assets/cynefinDiagram-VND7K2PF-D8xfXh6p.js","assets/railroadDiagram-XR7U4H2S-0NNjAScf.js","assets/chunk-GTNCS2PH-Ce37XuEV.js","assets/ebnfDiagram-ZINNZB2B-C_5ACnYH.js","assets/abnfDiagram-O67JEVCF-BuBrcO1g.js","assets/pegDiagram-GJSIUBJH-WW60px_Y.js"])))=>i.map(i=>d[i]);
2
+ var fJ=Object.defineProperty;var KI=r=>{throw TypeError(r)};var gJ=(r,t,e)=>t in r?fJ(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var Fe=(r,t,e)=>gJ(r,typeof t!="symbol"?t+"":t,e),Ub=(r,t,e)=>t.has(r)||KI("Cannot "+e);var Qa=(r,t,e)=>(Ub(r,t,"read from private field"),e?e.call(r):t.get(r)),Qb=(r,t,e)=>t.has(r)?KI("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(r):t.set(r,e),Bp=(r,t,e,n)=>(Ub(r,t,"write to private field"),n?n.call(r,e):t.set(r,e),e),$b=(r,t,e)=>(Ub(r,t,"access private method"),e);import{az as Uc,c as Dt,G as Tn,L as j,M as lt,S as Ze,P as G,$ as pt,d as da,w as Ir,F as Ee,ae as tr,n as qh,O as ge,u as Tt,k as Kt,Z as Nt,a0 as ht,W as ot,_ as Ct,aj as ue,a6 as ad,aq as Fl,ac as si,aA as Qc,X as sa,a1 as lA,R as cg,aB as Cy,Y as pJ,aC as Hb,aD as YI,T as y8,e as dA,A as mJ,a as vJ,ak as od,i as wl,aE as b8,ag as yJ,aF as bJ,aG as wJ,aw as xJ,aH as CJ}from"./vue-BhwNxZ68.js";import{J as w8,h as BJ,K as ne,L as oa,g as x8,M as kJ}from"./element-plus-IBMLLhb-.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function e(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(i){if(i.ep)return;i.ep=!0;const s=e(i);fetch(i.href,s)}})();const kp="0.1.30";function qf(){return window.gitCockpitDesktop??null}function EJ(r,t){if(r==="done")return{type:"done"};if(!t||typeof t!="object")return null;const e=t;if(r==="delta"&&typeof e.text=="string")return{type:"delta",text:e.text};if(r==="tool"&&typeof e.tool=="string")return{type:"tool",tool:e.tool,success:e.success!==!1};if(r==="confirm"&&typeof e.token=="string"&&typeof e.tool=="string"){const n=e.preview&&typeof e.preview=="object"?e.preview:{};return{type:"confirm",token:e.token,tool:e.tool,preview:{command:typeof n.command=="string"?n.command:"",affectedFiles:Array.isArray(n.affectedFiles)?n.affectedFiles.map(i=>String(i)):[],args:Array.isArray(n.args)?n.args.map(i=>String(i)):void 0,note:typeof n.note=="string"?n.note:void 0}}}return r==="error"?{type:"error",error:typeof e.error=="string"?e.error:"对话出错"}:null}const SJ=new TextEncoder;function Ld(r,t){return SJ.encode(`event: ${r}
3
3
  data: ${JSON.stringify(t)}
4
4
 
5
5
  `)}function XI(r){return r.type==="delta"?Ld("delta",{text:r.text}):r.type==="tool"?Ld("tool",{tool:r.tool,success:r.success}):r.type==="confirm"?Ld("confirm",{token:r.token,tool:r.tool,preview:r.preview}):r.type==="error"?Ld("error",{error:r.error}):Ld("done",{})}async function C8(r,t){const e=r.getReader(),n=new TextDecoder;let i="",s="message";for(;;){const{done:a,value:o}=await e.read();if(a)break;i+=n.decode(o,{stream:!0});const l=i.split(`
@@ -311,8 +311,8 @@ ${s.join(`
311
311
  L0,20`)},"requirement_arrow"),Iht=L((r,t,e)=>{const n=Sn(),{themeVariables:i}=n,{strokeWidth:s}=i;r.append("defs").append("marker").attr("id",e+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${s}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
312
312
  L20,10
313
313
  M20,10
314
- L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),Oht=L((r,t,e)=>{const n=r.append("defs").append("marker").attr("id",e+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");n.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),n.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),n.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),Pht=L((r,t,e)=>{const n=Sn(),{themeVariables:i}=n,{strokeWidth:s}=i,a=r.append("defs").append("marker").attr("id",e+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");a.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),a.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),a.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),a.selectAll("*").attr("stroke-width",`${s}`)},"requirement_contains_neo"),Rht=L((r,t,e)=>{r.append("marker").attr("id",e+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",e+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),Nht={extension:fht,composition:ght,aggregation:pht,dependency:mht,lollipop:vht,point:yht,circle:bht,cross:wht,barb:xht,barbNeo:Cht,hierarchy:Rht,only_one:Bht,zero_or_one:kht,one_or_more:Eht,zero_or_more:Sht,only_one_neo:_ht,zero_or_one_neo:Tht,one_or_more_neo:Fht,zero_or_more_neo:Mht,requirement_arrow:Lht,requirement_contains:Oht,requirement_arrow_neo:Iht,requirement_contains_neo:Pht},Dht=dht,Uht={common:$g,getConfig:Sn,insertCluster:Jct,insertEdge:Aht,insertEdgeLabel:sht,insertMarkers:Dht,insertNode:DG,interpolateToCurve:rM,labelHelper:Ge,log:se,positionEdgeLabel:aht},Qht=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],gg=Object.create(null),qG=L(r=>{for(const t of r)gg[t.name]=t},"registerLayoutLoaders"),$ht=L(()=>{const r=L(async()=>await kr(()=>import("./elk-276RUBZZ-DTJ8porF.js"),__vite__mapDeps([0,1,2,3,4,5])),"loader");return[{name:"elk",loader:r,algorithm:"elk.layered"},...Qht.map(t=>({name:t,loader:r,algorithm:t}))]},"elkLayoutLoaders"),Hht=L(()=>{qG([{name:"dagre",loader:L(async()=>await kr(()=>import("./dagre-6A5THRUB-BBXhvs_s.js"),__vite__mapDeps([6,2,3,4,5])),"loader")},{name:"swimlane",loader:L(async()=>await kr(()=>import("./swimlanes-2SLR337P-RFbVR5iD.js"),__vite__mapDeps([7,1,2,3,4,5])),"loader")},{name:"cose-bilkent",loader:L(async()=>await kr(()=>import("./cose-bilkent-JH36ORCC-CHcf0ChD.js"),__vite__mapDeps([8,9,4,5])),"loader")},...$ht()])},"registerDefaultLayoutLoaders");Hht();var n7t=L(async(r,t)=>{if(!Object.hasOwn(gg,r.layoutAlgorithm))throw new Error(`Unknown layout algorithm: ${r.layoutAlgorithm}`);if(r.diagramId)for(const i of r.nodes){const s=i.domId||i.id;i.domId=`${r.diagramId}-${s}`}const e=gg[r.layoutAlgorithm],n=await e.loader();return mat(t,r.config),n.render(r,t,Uht,{algorithm:e.algorithm})},"render"),Nw="dagre",i7t=L((r="",{fallback:t=Nw}={})=>{if(Object.hasOwn(gg,r))return r;for(const e of[t,Nw])if(Object.hasOwn(gg,e))return se.warn(`Layout algorithm ${r} is not registered. Using ${e} as fallback.`),e;throw new Error(`Neither layout algorithm ${r}, ${t}, nor ${Nw} is registered.`)},"getRegisteredLayoutAlgorithm"),SM="comm",GG="rule",WG="decl",zht="@media",qht="@import",Ght="@supports",Wht="@namespace",k_="@keyframes",VG="@layer",Vht="@scope",jht=Math.abs,Xf=String.fromCharCode;function jG(r){return r.trim()}function E_(r,t,e){return r.replace(t,e)}function vA(r,t){return r.charCodeAt(t)|0}function VA(r,t,e){return r.slice(t,e)}function To(r){return r.length}function KG(r){return r.length}function Qp(r,t){return t.push(r),r}var Hy=1,jA=1,YG=0,La=0,ai=0,dd="";function _M(r,t,e,n,i,s,a,o){return{value:r,root:t,parent:e,type:n,props:i,children:s,line:Hy,column:jA,length:a,return:"",siblings:o}}function Kht(){return ai}function Yht(){return ai=La>0?vA(dd,--La):0,jA--,ai===10&&(jA=1,Hy--),ai}function so(){return ai=La<YG?vA(dd,La++):0,jA++,ai===10&&(jA=1,Hy++),ai}function uc(){return vA(dd,La)}function Tm(){return La}function zy(r,t){return VA(dd,r,t)}function pg(r){switch(r){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Xht(r){return Hy=jA=1,YG=To(dd=r),La=0,[]}function Zht(r){return dd="",r}function Dw(r){return jG(zy(La-1,S_(r===91?r+2:r===40?r+1:r)))}function Jht(r){for(;(ai=uc())&&ai<33;)so();return pg(r)>2||pg(ai)>3?"":" "}function tut(r,t){for(;--t&&so()&&!(ai<48||ai>102||ai>57&&ai<65||ai>70&&ai<97););return zy(r,Tm()+(t<6&&uc()==32&&so()==32))}function S_(r){for(;so();)switch(ai){case r:return La;case 34:case 39:r!==34&&r!==39&&S_(ai);break;case 40:r===41&&S_(r);break;case 92:so();break}return La}function eut(r,t){for(;so()&&r+ai!==57;)if(r+ai===84&&uc()===47)break;return"/*"+zy(t,La-1)+"*"+Xf(r===47?r:so())}function rut(r){for(;!pg(uc());)so();return zy(r,La)}function nut(r){return Zht(Fm("",null,null,null,[""],r=Xht(r),0,[0],r))}function Fm(r,t,e,n,i,s,a,o,l){for(var c=0,h=0,u=a,A=0,d=0,f=0,g=1,p=1,m=1,v=0,y=0,b="",w=i,x=s,k=n,B=b;p;)switch(f=y,y=so()){case 40:f!=108&&vA(B,u-1)==58?(v++,B+="("):B+=Dw(y);break;case 41:v--,B+=")";break;case 34:case 39:case 91:B+=Dw(y);break;case 9:case 10:case 13:case 32:if(v>0){B+=Xf(y);break}B+=Jht(f);break;case 92:B+=tut(Tm()-1,7);continue;case 47:switch(uc()){case 42:case 47:Qp(iut(eut(so(),Tm()),t,e,l),l),(pg(f||1)==5||pg(uc()||1)==5)&&To(B)&&VA(B,-1,void 0)!==" "&&(B+=" ");break;default:B+="/"}break;case 123*g:o[c++]=To(B)*m;case 125*g:case 59:case 0:if(v>0&&y){B+=Xf(y);break}switch(y){case 0:case 125:p=0;case 59+h:m==-1&&(B=E_(B,/\f/g,"")),d>0&&(To(B)-u||g===0)&&Qp(d>32?_R(B+";",n,e,u-1,l):_R(E_(B," ","")+";",n,e,u-2,l),l);break;case 59:B+=";";default:if(Qp(k=SR(B,t,e,c,h,i,o,b,w=[],x=[],u,s),s),y===123)if(h===0)Fm(B,t,k,k,w,s,u,o,x);else{switch(A){case 99:if(vA(B,3)===110)break;case 108:if(vA(B,2)===97)break;default:h=0;case 100:case 109:case 115:}h?Fm(r,k,k,n&&Qp(SR(r,k,k,0,0,i,o,b,i,w=[],u,x),x),i,x,u,o,n?w:x):Fm(B,k,k,k,[""],x,0,o,x)}}c=h=d=0,g=m=1,b=B="",u=a;break;case 58:u=1+To(B),d=f;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&Yht()==125)continue}switch(B+=Xf(y),y*g){case 38:m=h>0?1:(B+="\f",-1);break;case 44:if(v>0)break;o[c++]=(To(B)-1)*m,m=1;break;case 64:uc()===45&&(B+=Dw(so())),A=uc(),h=u=To(b=B+=rut(Tm())),y++;break;case 45:f===45&&To(B)==2&&(g=0)}}return s}function SR(r,t,e,n,i,s,a,o,l,c,h,u){for(var A=i-1,d=i===0?s:[""],f=KG(d),g=0,p=0,m=0;g<n;++g)for(var v=0,y=VA(r,A+1,A=jht(p=a[g])),b=r;v<f;++v)(b=jG(p>0?d[v]+" "+y:E_(y,/&\f/g,d[v])))&&(l[m++]=b);return _M(r,t,e,i===0?GG:o,l,c,h,u)}function iut(r,t,e,n){return _M(r,t,e,SM,Xf(Kht()),VA(r,2,-2),0,n)}function _R(r,t,e,n,i){return _M(r,t,e,WG,VA(r,0,n),VA(r,n+1,-1),n,i)}function __(r,t){for(var e="",n=0;n<r.length;n++)e+=t(r[n],n,r,t)||"";return e}function sut(r,t,e,n){switch(r.type){case VG:if(r.children.length)break;case qht:case Wht:case WG:return r.return=r.return||r.value;case SM:return"";case k_:return r.return=r.value+"{"+__(r.children,n)+"}";case GG:if(!To(r.value=r.props.join(",")))return""}return To(e=__(r.children,n))?r.return=r.value+"{"+e+"}":""}function aut(r){var t=KG(r);return function(e,n,i,s){for(var a="",o=0;o<t;o++)a+=r[o](e,n,i,s)||"";return a}}var XG="c4",out=L(r=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(r),"detector"),lut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./c4Diagram-YGBWAQC7-0PABaygh.js");return{diagram:t}},__vite__mapDeps([10,11,5,4]));return{id:XG,diagram:r}},"loader"),cut={id:XG,detector:out,loader:lut},hut=cut,ZG="flowchart-v2",uut=L(r=>/^\s*(graph|flowchart)/.test(r),"detector"),Aut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./flowDiagram-KWPJA3E3-C3YlGYFe.js").then(e=>e.f);return{diagram:t}},__vite__mapDeps([12,13,14,15,11,16,4,5]));return{id:ZG,diagram:r}},"loader"),dut={id:ZG,detector:uut,loader:Aut},fut=dut,JG="agentflow",gut=L(r=>/^\s*agentflow-beta\b/.test(r),"detector"),put=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./diagram-22UHCM2B-BpXFmuft.js");return{diagram:t}},__vite__mapDeps([17,13,14,15,11,16,5,4]));return{id:JG,diagram:r}},"loader"),mut={id:JG,detector:gut,loader:put},vut=mut,tW="swimlane",yut=L(r=>/^\s*swimlane-beta\b/.test(r),"detector"),but=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./swimlanesDiagram-TC7HE7FX-DQeW6-o5.js");return{diagram:t}},__vite__mapDeps([18,12,13,14,15,11,16,4,5]));return{id:tW,diagram:r}},"loader"),wut={id:tW,detector:yut,loader:but},xut=wut,eW="er",Cut=L(r=>/^\s*erDiagram/.test(r),"detector"),But=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./erDiagram-OPXOYQCR-Cu8sQHj7.js");return{diagram:t}},__vite__mapDeps([19,14,15,16,5,4]));return{id:eW,diagram:r}},"loader"),kut={id:eW,detector:Cut,loader:But},Eut=kut,rW="gitGraph",Sut=L(r=>/^\s*gitGraph/.test(r),"detector"),_ut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./gitGraphDiagram-X574FWY7-W9cDxWIt.js");return{diagram:t}},__vite__mapDeps([20,21,22,23,5,4]));return{id:rW,diagram:r}},"loader"),Tut={id:rW,detector:Sut,loader:_ut},Fut=Tut,nW="gantt",Mut=L(r=>/^\s*gantt/.test(r),"detector"),Lut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./ganttDiagram-FUAMR5RP-InE3Qjdk.js");return{diagram:t}},__vite__mapDeps([24,4,5,25,26,27]));return{id:nW,diagram:r}},"loader"),Iut={id:nW,detector:Mut,loader:Lut},Out=Iut,iW="info",Put=L(r=>/^\s*info/.test(r),"detector"),Rut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./infoDiagram-VRGFBTTK-Cs_MZzVX.js");return{diagram:t}},__vite__mapDeps([28,23,5,4]));return{id:iW,diagram:r}},"loader"),Nut={id:iW,detector:Put,loader:Rut},sW="pie",Dut=L(r=>/^\s*pie/.test(r),"detector"),Uut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./pieDiagram-5QR66LMP-ciGhrblI.js");return{diagram:t}},__vite__mapDeps([29,22,23,30,31,26,5,4]));return{id:sW,diagram:r}},"loader"),Qut={id:sW,detector:Dut,loader:Uut},aW="quadrantChart",$ut=L(r=>/^\s*quadrantChart/.test(r),"detector"),Hut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./quadrantDiagram-O4NWA36T-8MJ_CUFe.js");return{diagram:t}},__vite__mapDeps([32,25,26,27,5,4]));return{id:aW,diagram:r}},"loader"),zut={id:aW,detector:$ut,loader:Hut},qut=zut,oW="xychart",Gut=L(r=>/^\s*xychart(-beta)?/.test(r),"detector"),Wut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./xychartDiagram-PMCCYNJV-B0cVFGsf.js");return{diagram:t}},__vite__mapDeps([33,26,31,25,27,5,4]));return{id:oW,diagram:r}},"loader"),Vut={id:oW,detector:Gut,loader:Wut},jut=Vut,lW="requirement",Kut=L(r=>/^\s*requirement(Diagram)?/.test(r),"detector"),Yut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./requirementDiagram-PLB6GJNP-glZ4Tl5M.js");return{diagram:t}},__vite__mapDeps([34,14,15,5,4]));return{id:lW,diagram:r}},"loader"),Xut={id:lW,detector:Kut,loader:Yut},Zut=Xut,cW="sequence",Jut=L(r=>/^\s*sequenceDiagram/.test(r),"detector"),tAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./sequenceDiagram-PO4LG4MO-C4kD0n6_.js");return{diagram:t}},__vite__mapDeps([35,21,11,5,4]));return{id:cW,diagram:r}},"loader"),eAt={id:cW,detector:Jut,loader:tAt},rAt=eAt,hW="classDiagram",nAt=L(r=>/^\s*classDiagram/.test(r),"detector"),iAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./classDiagram-v2-NBCMYWYE-DMFHgo6y.js");return{diagram:t}},__vite__mapDeps([36,13,14,15,11,5,4]));return{id:hW,diagram:r}},"loader"),sAt={id:hW,detector:nAt,loader:iAt},aAt=sAt,uW="stateDiagram",oAt=L(r=>/^\s*stateDiagram/.test(r),"detector"),lAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./stateDiagram-v2-GCMORJYK-miD15x9p.js");return{diagram:t}},__vite__mapDeps([37,14,15,11,5,4]));return{id:uW,diagram:r}},"loader"),cAt={id:uW,detector:oAt,loader:lAt},hAt=cAt,AW="journey",uAt=L(r=>/^\s*journey/.test(r),"detector"),AAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./journeyDiagram-ZHPQQLJL-M_8xlDc6.js");return{diagram:t}},__vite__mapDeps([38,13,11,4,5,30]));return{id:AW,diagram:r}},"loader"),dAt={id:AW,detector:uAt,loader:AAt},fAt=dAt,gAt=L((r,t,e)=>{se.debug(`rendering svg for syntax error
315
- `);const n=Aat(t),i=n.append("g");n.attr("viewBox","0 0 2412 512"),nz(n,100,512,!0),i.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),i.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),i.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),i.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),i.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),i.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),i.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),i.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${e}`)},"draw"),dW={draw:gAt},pAt=dW,mAt={db:{},renderer:dW,parser:{parse:L(()=>{},"parse")}},vAt=mAt,fW="flowchart-elk",yAt=L((r,t={})=>/^\s*flowchart-elk/.test(r)?(t.layout="elk",!0):!1,"detector"),bAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./flowDiagram-KWPJA3E3-C3YlGYFe.js").then(e=>e.f);return{diagram:t}},__vite__mapDeps([12,13,14,15,11,16,4,5]));return{id:fW,diagram:r}},"loader"),wAt={id:fW,detector:yAt,loader:bAt},xAt=wAt,gW="timeline",CAt=L(r=>/^\s*timeline/.test(r),"detector"),BAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./timeline-definition-EJHVYXUP-DjpYQNiI.js");return{diagram:t}},__vite__mapDeps([39,30,5,4]));return{id:gW,diagram:r}},"loader"),kAt={id:gW,detector:CAt,loader:BAt},EAt=kAt,pW="mindmap",SAt=L(r=>/^\s*mindmap/.test(r),"detector"),_At=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./mindmap-definition-NLK3R4M7-Ej_zTWtJ.js");return{diagram:t}},__vite__mapDeps([40,14,15,5,4]));return{id:pW,diagram:r}},"loader"),TAt={id:pW,detector:SAt,loader:_At},FAt=TAt,mW="kanban",MAt=L(r=>/^\s*kanban/.test(r),"detector"),LAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./kanban-definition-PNTS6WVX-DJM9NnPd.js");return{diagram:t}},__vite__mapDeps([41,13,5,4]));return{id:mW,diagram:r}},"loader"),IAt={id:mW,detector:MAt,loader:LAt},OAt=IAt,vW="sankey",PAt=L(r=>/^\s*sankey(-beta)?/.test(r),"detector"),RAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./sankeyDiagram-IPEJSGJF-C87eVSmR.js");return{diagram:t}},__vite__mapDeps([42,4,5,31,26]));return{id:vW,diagram:r}},"loader"),NAt={id:vW,detector:PAt,loader:RAt},DAt=NAt,yW="packet",UAt=L(r=>/^\s*packet(-beta)?/.test(r),"detector"),QAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./diagram-MLGK6HIB-CMUiUB5V.js");return{diagram:t}},__vite__mapDeps([43,22,23,5,4]));return{id:yW,diagram:r}},"loader"),$At={id:yW,detector:UAt,loader:QAt},bW="radar",HAt=L(r=>/^\s*radar-beta/.test(r),"detector"),zAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./diagram-MPIPVDR6-DAEDT1M_.js");return{diagram:t}},__vite__mapDeps([44,22,23,5,4]));return{id:bW,diagram:r}},"loader"),qAt={id:bW,detector:HAt,loader:zAt},wW="block",GAt=L(r=>/^\s*block(-beta)?/.test(r),"detector"),WAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./blockDiagram-BEXU5L5S-jSaqNPDC.js");return{diagram:t}},__vite__mapDeps([45,13,3,4,5,16]));return{id:wW,diagram:r}},"loader"),VAt={id:wW,detector:GAt,loader:WAt},jAt=VAt,xW="treeView",KAt=L(r=>/^\s*treeView-beta/.test(r),"detector"),YAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./diagram-CDSNMT55-CMhnvQ9p.js");return{diagram:t}},__vite__mapDeps([46,21,22,23,5,4]));return{id:xW,diagram:r}},"loader"),XAt={id:xW,detector:KAt,loader:YAt},ZAt=XAt,CW="architecture",JAt=L(r=>/^\s*architecture/.test(r),"detector"),tdt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./architectureDiagram-NJMV4G6O-Cuu0BD8t.js");return{diagram:t}},__vite__mapDeps([47,22,23,9,4,5]));return{id:CW,diagram:r}},"loader"),edt={id:CW,detector:JAt,loader:tdt},rdt=edt,BW="eventmodeling",ndt=L(r=>/^\s*eventmodeling/.test(r),"detector"),idt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./diagram-ATOU4E4O-DpVGu2ct.js");return{diagram:t}},__vite__mapDeps([48,22,23,5,4]));return{id:BW,diagram:r}},"loader"),sdt={id:BW,detector:ndt,loader:idt},adt=sdt,kW="ishikawa",odt=L(r=>/^\s*ishikawa(-beta)?\b/i.test(r),"detector"),ldt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./ishikawaDiagram-OU5B5YK6-CYNBwCgu.js");return{diagram:t}},__vite__mapDeps([49,4,5]));return{id:kW,diagram:r}},"loader"),cdt={id:kW,detector:odt,loader:ldt},EW="venn",hdt=L(r=>/^\s*venn-beta/.test(r),"detector"),udt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./vennDiagram-UO4OBE2U-D7wQezYC.js");return{diagram:t}},__vite__mapDeps([50,4,5]));return{id:EW,diagram:r}},"loader"),Adt={id:EW,detector:hdt,loader:udt},ddt=Adt,SW="treemap",fdt=L(r=>/^\s*treemap/.test(r),"detector"),gdt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./diagram-3UASUU5V-BQvfr6_4.js");return{diagram:t}},__vite__mapDeps([51,22,15,23,27,31,26,5,4]));return{id:SW,diagram:r}},"loader"),pdt={id:SW,detector:fdt,loader:gdt},_W="usecase",mdt=L(r=>/^\s*usecase-beta(?:\s|$)/.test(r),"detector"),vdt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./usecaseDiagram-POWQR4AR-BIo58LtF.js");return{diagram:t}},__vite__mapDeps([52,14,15,5,4]));return{id:_W,diagram:r}},"loader"),ydt={id:_W,detector:mdt,loader:vdt},TW="wardley",bdt=L(r=>/^\s*wardley-beta/i.test(r),"detector"),wdt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./wardleyDiagram-VNRHLVJA-DwhQUOY8.js");return{diagram:t}},__vite__mapDeps([53,22,23,5,4]));return{id:TW,diagram:r}},"loader"),xdt={id:TW,detector:bdt,loader:wdt},Cdt=xdt,FW="cynefin",Bdt=L(r=>/^\s*cynefin-beta(?:[\s:]|$)/.test(r),"detector"),kdt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./cynefinDiagram-VND7K2PF-D3MWGh5_.js");return{diagram:t}},__vite__mapDeps([54,22,23,5,4]));return{id:FW,diagram:r}},"loader"),Edt={id:FW,detector:Bdt,loader:kdt},MW="railroad",Sdt=L(r=>/^\s*railroad-beta/i.test(r),"detector"),_dt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./railroadDiagram-XR7U4H2S-CrBQOwD0.js");return{diagram:t}},__vite__mapDeps([55,56,22,23,5,4]));return{id:MW,diagram:r}},"loader"),Tdt={id:MW,detector:Sdt,loader:_dt},LW="railroadEbnf",Fdt=L(r=>/^\s*railroad-ebnf-beta/i.test(r),"detector"),Mdt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./ebnfDiagram-ZINNZB2B--teB4gEh.js");return{diagram:t}},__vite__mapDeps([57,56,22,23,5,4]));return{id:LW,diagram:r}},"loader"),Ldt={id:LW,detector:Fdt,loader:Mdt},IW="railroadAbnf",Idt=L(r=>/^\s*railroad-abnf-beta/i.test(r),"detector"),Odt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./abnfDiagram-O67JEVCF-BvLOOVMp.js");return{diagram:t}},__vite__mapDeps([58,56,22,23,5,4]));return{id:IW,diagram:r}},"loader"),Pdt={id:IW,detector:Idt,loader:Odt},OW="railroadPeg",Rdt=L(r=>/^\s*railroad-peg-beta/i.test(r),"detector"),Ndt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./pegDiagram-GJSIUBJH-C1eyhBDj.js");return{diagram:t}},__vite__mapDeps([59,56,22,23,5,4]));return{id:OW,diagram:r}},"loader"),Ddt={id:OW,detector:Rdt,loader:Ndt},TR=!1,qy=L(()=>{TR||(TR=!0,Jm("error",vAt,r=>r.toLowerCase().trim()==="error"),Jm("---",{db:{clear:L(()=>{},"clear")},styles:{},renderer:{draw:L(()=>{},"draw")},parser:{parse:L(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:L(()=>null,"init")},r=>r.toLowerCase().trimStart().startsWith("---")),GS(xAt,FAt,rdt),GS(vut,hut,OAt,aAt,Eut,Out,Nut,Qut,Zut,rAt,xut,fut,EAt,Fut,hAt,fAt,qut,DAt,$At,jut,jAt,adt,ZAt,qAt,cdt,pdt,Tdt,Ldt,Pdt,Ddt,ddt,Cdt,Edt,ydt))},"addDiagrams"),Udt=L(async()=>{se.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Vh).map(async([e,{detector:n,loader:i}])=>{if(i)try{YS(e)}catch{try{const{diagram:s,id:a}=await i();Jm(a,s,n)}catch(s){throw se.error(`Failed to load external diagram with key ${e}. Removing from detectors.`),delete Vh[e],s}}}))).filter(e=>e.status==="rejected");if(t.length>0){se.error(`Failed to load ${t.length} external diagrams`);for(const e of t)se.error(e);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),Qdt="graphics-document document";function PW(r,t){r.attr("role",Qdt),t!==""&&r.attr("aria-roledescription",t)}L(PW,"setA11yDiagramInfo");function RW(r,t,e,n){if(r.insert!==void 0){if(e){const i=`chart-desc-${n}`;r.attr("aria-describedby",i),r.insert("desc",":first-child").attr("id",i).text(e)}if(t){const i=`chart-title-${n}`;r.attr("aria-labelledby",i),r.insert("title",":first-child").attr("id",i).text(t)}}}L(RW,"addSVGa11yTitleDescription");var zh,yv=(zh=class{constructor(t,e,n,i,s){this.type=t,this.text=e,this.db=n,this.parser=i,this.renderer=s}static async fromText(t,e={}){var A,d,f;const n=typeof t=="string"?{cleaned:t}:t,i=Sn(),s=_y(n.cleaned,i);try{YS(s)}catch{const g=bet(s);if(!g)throw new q8(`Diagram ${s} not found.`);const{id:p,diagram:m}=await g();Jm(p,m)}const{db:a,parser:o,renderer:l,init:c}=YS(s);o.parser&&(o.parser.yy=a),(A=a.clear)==null||A.call(a),c==null||c(i),e.title&&((d=a.setDiagramTitle)==null||d.call(a,e.title));let h=n.cleaned;if(a.preserveCommentsWhenParsing&&n.withComments){const g=i.maxTextSize??pF.maxTextSize;n.withComments.length>g?se.warn(`Comment-preserving source exceeds maxTextSize (${n.withComments.length} > ${g}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):h=n.withComments}const u=Dot(h)+`
314
+ L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),Oht=L((r,t,e)=>{const n=r.append("defs").append("marker").attr("id",e+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");n.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),n.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),n.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),Pht=L((r,t,e)=>{const n=Sn(),{themeVariables:i}=n,{strokeWidth:s}=i,a=r.append("defs").append("marker").attr("id",e+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");a.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),a.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),a.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),a.selectAll("*").attr("stroke-width",`${s}`)},"requirement_contains_neo"),Rht=L((r,t,e)=>{r.append("marker").attr("id",e+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",e+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),Nht={extension:fht,composition:ght,aggregation:pht,dependency:mht,lollipop:vht,point:yht,circle:bht,cross:wht,barb:xht,barbNeo:Cht,hierarchy:Rht,only_one:Bht,zero_or_one:kht,one_or_more:Eht,zero_or_more:Sht,only_one_neo:_ht,zero_or_one_neo:Tht,one_or_more_neo:Fht,zero_or_more_neo:Mht,requirement_arrow:Lht,requirement_contains:Oht,requirement_arrow_neo:Iht,requirement_contains_neo:Pht},Dht=dht,Uht={common:$g,getConfig:Sn,insertCluster:Jct,insertEdge:Aht,insertEdgeLabel:sht,insertMarkers:Dht,insertNode:DG,interpolateToCurve:rM,labelHelper:Ge,log:se,positionEdgeLabel:aht},Qht=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],gg=Object.create(null),qG=L(r=>{for(const t of r)gg[t.name]=t},"registerLayoutLoaders"),$ht=L(()=>{const r=L(async()=>await kr(()=>import("./elk-276RUBZZ-3R42O50O.js"),__vite__mapDeps([0,1,2,3,4,5])),"loader");return[{name:"elk",loader:r,algorithm:"elk.layered"},...Qht.map(t=>({name:t,loader:r,algorithm:t}))]},"elkLayoutLoaders"),Hht=L(()=>{qG([{name:"dagre",loader:L(async()=>await kr(()=>import("./dagre-6A5THRUB-BqcARewW.js"),__vite__mapDeps([6,2,3,4,5])),"loader")},{name:"swimlane",loader:L(async()=>await kr(()=>import("./swimlanes-2SLR337P-BWFuQg24.js"),__vite__mapDeps([7,1,2,3,4,5])),"loader")},{name:"cose-bilkent",loader:L(async()=>await kr(()=>import("./cose-bilkent-JH36ORCC-DqcjhtUy.js"),__vite__mapDeps([8,9,4,5])),"loader")},...$ht()])},"registerDefaultLayoutLoaders");Hht();var n7t=L(async(r,t)=>{if(!Object.hasOwn(gg,r.layoutAlgorithm))throw new Error(`Unknown layout algorithm: ${r.layoutAlgorithm}`);if(r.diagramId)for(const i of r.nodes){const s=i.domId||i.id;i.domId=`${r.diagramId}-${s}`}const e=gg[r.layoutAlgorithm],n=await e.loader();return mat(t,r.config),n.render(r,t,Uht,{algorithm:e.algorithm})},"render"),Nw="dagre",i7t=L((r="",{fallback:t=Nw}={})=>{if(Object.hasOwn(gg,r))return r;for(const e of[t,Nw])if(Object.hasOwn(gg,e))return se.warn(`Layout algorithm ${r} is not registered. Using ${e} as fallback.`),e;throw new Error(`Neither layout algorithm ${r}, ${t}, nor ${Nw} is registered.`)},"getRegisteredLayoutAlgorithm"),SM="comm",GG="rule",WG="decl",zht="@media",qht="@import",Ght="@supports",Wht="@namespace",k_="@keyframes",VG="@layer",Vht="@scope",jht=Math.abs,Xf=String.fromCharCode;function jG(r){return r.trim()}function E_(r,t,e){return r.replace(t,e)}function vA(r,t){return r.charCodeAt(t)|0}function VA(r,t,e){return r.slice(t,e)}function To(r){return r.length}function KG(r){return r.length}function Qp(r,t){return t.push(r),r}var Hy=1,jA=1,YG=0,La=0,ai=0,dd="";function _M(r,t,e,n,i,s,a,o){return{value:r,root:t,parent:e,type:n,props:i,children:s,line:Hy,column:jA,length:a,return:"",siblings:o}}function Kht(){return ai}function Yht(){return ai=La>0?vA(dd,--La):0,jA--,ai===10&&(jA=1,Hy--),ai}function so(){return ai=La<YG?vA(dd,La++):0,jA++,ai===10&&(jA=1,Hy++),ai}function uc(){return vA(dd,La)}function Tm(){return La}function zy(r,t){return VA(dd,r,t)}function pg(r){switch(r){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Xht(r){return Hy=jA=1,YG=To(dd=r),La=0,[]}function Zht(r){return dd="",r}function Dw(r){return jG(zy(La-1,S_(r===91?r+2:r===40?r+1:r)))}function Jht(r){for(;(ai=uc())&&ai<33;)so();return pg(r)>2||pg(ai)>3?"":" "}function tut(r,t){for(;--t&&so()&&!(ai<48||ai>102||ai>57&&ai<65||ai>70&&ai<97););return zy(r,Tm()+(t<6&&uc()==32&&so()==32))}function S_(r){for(;so();)switch(ai){case r:return La;case 34:case 39:r!==34&&r!==39&&S_(ai);break;case 40:r===41&&S_(r);break;case 92:so();break}return La}function eut(r,t){for(;so()&&r+ai!==57;)if(r+ai===84&&uc()===47)break;return"/*"+zy(t,La-1)+"*"+Xf(r===47?r:so())}function rut(r){for(;!pg(uc());)so();return zy(r,La)}function nut(r){return Zht(Fm("",null,null,null,[""],r=Xht(r),0,[0],r))}function Fm(r,t,e,n,i,s,a,o,l){for(var c=0,h=0,u=a,A=0,d=0,f=0,g=1,p=1,m=1,v=0,y=0,b="",w=i,x=s,k=n,B=b;p;)switch(f=y,y=so()){case 40:f!=108&&vA(B,u-1)==58?(v++,B+="("):B+=Dw(y);break;case 41:v--,B+=")";break;case 34:case 39:case 91:B+=Dw(y);break;case 9:case 10:case 13:case 32:if(v>0){B+=Xf(y);break}B+=Jht(f);break;case 92:B+=tut(Tm()-1,7);continue;case 47:switch(uc()){case 42:case 47:Qp(iut(eut(so(),Tm()),t,e,l),l),(pg(f||1)==5||pg(uc()||1)==5)&&To(B)&&VA(B,-1,void 0)!==" "&&(B+=" ");break;default:B+="/"}break;case 123*g:o[c++]=To(B)*m;case 125*g:case 59:case 0:if(v>0&&y){B+=Xf(y);break}switch(y){case 0:case 125:p=0;case 59+h:m==-1&&(B=E_(B,/\f/g,"")),d>0&&(To(B)-u||g===0)&&Qp(d>32?_R(B+";",n,e,u-1,l):_R(E_(B," ","")+";",n,e,u-2,l),l);break;case 59:B+=";";default:if(Qp(k=SR(B,t,e,c,h,i,o,b,w=[],x=[],u,s),s),y===123)if(h===0)Fm(B,t,k,k,w,s,u,o,x);else{switch(A){case 99:if(vA(B,3)===110)break;case 108:if(vA(B,2)===97)break;default:h=0;case 100:case 109:case 115:}h?Fm(r,k,k,n&&Qp(SR(r,k,k,0,0,i,o,b,i,w=[],u,x),x),i,x,u,o,n?w:x):Fm(B,k,k,k,[""],x,0,o,x)}}c=h=d=0,g=m=1,b=B="",u=a;break;case 58:u=1+To(B),d=f;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&Yht()==125)continue}switch(B+=Xf(y),y*g){case 38:m=h>0?1:(B+="\f",-1);break;case 44:if(v>0)break;o[c++]=(To(B)-1)*m,m=1;break;case 64:uc()===45&&(B+=Dw(so())),A=uc(),h=u=To(b=B+=rut(Tm())),y++;break;case 45:f===45&&To(B)==2&&(g=0)}}return s}function SR(r,t,e,n,i,s,a,o,l,c,h,u){for(var A=i-1,d=i===0?s:[""],f=KG(d),g=0,p=0,m=0;g<n;++g)for(var v=0,y=VA(r,A+1,A=jht(p=a[g])),b=r;v<f;++v)(b=jG(p>0?d[v]+" "+y:E_(y,/&\f/g,d[v])))&&(l[m++]=b);return _M(r,t,e,i===0?GG:o,l,c,h,u)}function iut(r,t,e,n){return _M(r,t,e,SM,Xf(Kht()),VA(r,2,-2),0,n)}function _R(r,t,e,n,i){return _M(r,t,e,WG,VA(r,0,n),VA(r,n+1,-1),n,i)}function __(r,t){for(var e="",n=0;n<r.length;n++)e+=t(r[n],n,r,t)||"";return e}function sut(r,t,e,n){switch(r.type){case VG:if(r.children.length)break;case qht:case Wht:case WG:return r.return=r.return||r.value;case SM:return"";case k_:return r.return=r.value+"{"+__(r.children,n)+"}";case GG:if(!To(r.value=r.props.join(",")))return""}return To(e=__(r.children,n))?r.return=r.value+"{"+e+"}":""}function aut(r){var t=KG(r);return function(e,n,i,s){for(var a="",o=0;o<t;o++)a+=r[o](e,n,i,s)||"";return a}}var XG="c4",out=L(r=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(r),"detector"),lut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./c4Diagram-YGBWAQC7-DlYEmCt1.js");return{diagram:t}},__vite__mapDeps([10,11,5,4]));return{id:XG,diagram:r}},"loader"),cut={id:XG,detector:out,loader:lut},hut=cut,ZG="flowchart-v2",uut=L(r=>/^\s*(graph|flowchart)/.test(r),"detector"),Aut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./flowDiagram-KWPJA3E3-DNUgMsKp.js").then(e=>e.f);return{diagram:t}},__vite__mapDeps([12,13,14,15,11,16,4,5]));return{id:ZG,diagram:r}},"loader"),dut={id:ZG,detector:uut,loader:Aut},fut=dut,JG="agentflow",gut=L(r=>/^\s*agentflow-beta\b/.test(r),"detector"),put=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./diagram-22UHCM2B-Xfv11pOS.js");return{diagram:t}},__vite__mapDeps([17,13,14,15,11,16,5,4]));return{id:JG,diagram:r}},"loader"),mut={id:JG,detector:gut,loader:put},vut=mut,tW="swimlane",yut=L(r=>/^\s*swimlane-beta\b/.test(r),"detector"),but=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./swimlanesDiagram-TC7HE7FX-CMpDq7fq.js");return{diagram:t}},__vite__mapDeps([18,12,13,14,15,11,16,4,5]));return{id:tW,diagram:r}},"loader"),wut={id:tW,detector:yut,loader:but},xut=wut,eW="er",Cut=L(r=>/^\s*erDiagram/.test(r),"detector"),But=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./erDiagram-OPXOYQCR-C8QlrepD.js");return{diagram:t}},__vite__mapDeps([19,14,15,16,5,4]));return{id:eW,diagram:r}},"loader"),kut={id:eW,detector:Cut,loader:But},Eut=kut,rW="gitGraph",Sut=L(r=>/^\s*gitGraph/.test(r),"detector"),_ut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./gitGraphDiagram-X574FWY7-dQNCjyey.js");return{diagram:t}},__vite__mapDeps([20,21,22,23,5,4]));return{id:rW,diagram:r}},"loader"),Tut={id:rW,detector:Sut,loader:_ut},Fut=Tut,nW="gantt",Mut=L(r=>/^\s*gantt/.test(r),"detector"),Lut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./ganttDiagram-FUAMR5RP-36xod97R.js");return{diagram:t}},__vite__mapDeps([24,4,5,25,26,27]));return{id:nW,diagram:r}},"loader"),Iut={id:nW,detector:Mut,loader:Lut},Out=Iut,iW="info",Put=L(r=>/^\s*info/.test(r),"detector"),Rut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./infoDiagram-VRGFBTTK-BDFMwCu7.js");return{diagram:t}},__vite__mapDeps([28,23,5,4]));return{id:iW,diagram:r}},"loader"),Nut={id:iW,detector:Put,loader:Rut},sW="pie",Dut=L(r=>/^\s*pie/.test(r),"detector"),Uut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./pieDiagram-5QR66LMP-DUBoPS19.js");return{diagram:t}},__vite__mapDeps([29,22,23,30,31,26,5,4]));return{id:sW,diagram:r}},"loader"),Qut={id:sW,detector:Dut,loader:Uut},aW="quadrantChart",$ut=L(r=>/^\s*quadrantChart/.test(r),"detector"),Hut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./quadrantDiagram-O4NWA36T-JoPQuFkj.js");return{diagram:t}},__vite__mapDeps([32,25,26,27,5,4]));return{id:aW,diagram:r}},"loader"),zut={id:aW,detector:$ut,loader:Hut},qut=zut,oW="xychart",Gut=L(r=>/^\s*xychart(-beta)?/.test(r),"detector"),Wut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./xychartDiagram-PMCCYNJV-BlsyCRrV.js");return{diagram:t}},__vite__mapDeps([33,26,31,25,27,5,4]));return{id:oW,diagram:r}},"loader"),Vut={id:oW,detector:Gut,loader:Wut},jut=Vut,lW="requirement",Kut=L(r=>/^\s*requirement(Diagram)?/.test(r),"detector"),Yut=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./requirementDiagram-PLB6GJNP-BFmHBrYg.js");return{diagram:t}},__vite__mapDeps([34,14,15,5,4]));return{id:lW,diagram:r}},"loader"),Xut={id:lW,detector:Kut,loader:Yut},Zut=Xut,cW="sequence",Jut=L(r=>/^\s*sequenceDiagram/.test(r),"detector"),tAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./sequenceDiagram-PO4LG4MO-D3HIk2CT.js");return{diagram:t}},__vite__mapDeps([35,21,11,5,4]));return{id:cW,diagram:r}},"loader"),eAt={id:cW,detector:Jut,loader:tAt},rAt=eAt,hW="classDiagram",nAt=L(r=>/^\s*classDiagram/.test(r),"detector"),iAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./classDiagram-v2-NBCMYWYE-Df0mdLQT.js");return{diagram:t}},__vite__mapDeps([36,13,14,15,11,5,4]));return{id:hW,diagram:r}},"loader"),sAt={id:hW,detector:nAt,loader:iAt},aAt=sAt,uW="stateDiagram",oAt=L(r=>/^\s*stateDiagram/.test(r),"detector"),lAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./stateDiagram-v2-GCMORJYK-nWGdH2ls.js");return{diagram:t}},__vite__mapDeps([37,14,15,11,5,4]));return{id:uW,diagram:r}},"loader"),cAt={id:uW,detector:oAt,loader:lAt},hAt=cAt,AW="journey",uAt=L(r=>/^\s*journey/.test(r),"detector"),AAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./journeyDiagram-ZHPQQLJL-DqJVqecU.js");return{diagram:t}},__vite__mapDeps([38,13,11,4,5,30]));return{id:AW,diagram:r}},"loader"),dAt={id:AW,detector:uAt,loader:AAt},fAt=dAt,gAt=L((r,t,e)=>{se.debug(`rendering svg for syntax error
315
+ `);const n=Aat(t),i=n.append("g");n.attr("viewBox","0 0 2412 512"),nz(n,100,512,!0),i.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),i.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),i.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),i.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),i.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),i.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),i.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),i.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${e}`)},"draw"),dW={draw:gAt},pAt=dW,mAt={db:{},renderer:dW,parser:{parse:L(()=>{},"parse")}},vAt=mAt,fW="flowchart-elk",yAt=L((r,t={})=>/^\s*flowchart-elk/.test(r)?(t.layout="elk",!0):!1,"detector"),bAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./flowDiagram-KWPJA3E3-DNUgMsKp.js").then(e=>e.f);return{diagram:t}},__vite__mapDeps([12,13,14,15,11,16,4,5]));return{id:fW,diagram:r}},"loader"),wAt={id:fW,detector:yAt,loader:bAt},xAt=wAt,gW="timeline",CAt=L(r=>/^\s*timeline/.test(r),"detector"),BAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./timeline-definition-EJHVYXUP-sYFrzU2n.js");return{diagram:t}},__vite__mapDeps([39,30,5,4]));return{id:gW,diagram:r}},"loader"),kAt={id:gW,detector:CAt,loader:BAt},EAt=kAt,pW="mindmap",SAt=L(r=>/^\s*mindmap/.test(r),"detector"),_At=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./mindmap-definition-NLK3R4M7-DuLDWvjN.js");return{diagram:t}},__vite__mapDeps([40,14,15,5,4]));return{id:pW,diagram:r}},"loader"),TAt={id:pW,detector:SAt,loader:_At},FAt=TAt,mW="kanban",MAt=L(r=>/^\s*kanban/.test(r),"detector"),LAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./kanban-definition-PNTS6WVX-BtpOBegU.js");return{diagram:t}},__vite__mapDeps([41,13,5,4]));return{id:mW,diagram:r}},"loader"),IAt={id:mW,detector:MAt,loader:LAt},OAt=IAt,vW="sankey",PAt=L(r=>/^\s*sankey(-beta)?/.test(r),"detector"),RAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./sankeyDiagram-IPEJSGJF-DXumpplA.js");return{diagram:t}},__vite__mapDeps([42,4,5,31,26]));return{id:vW,diagram:r}},"loader"),NAt={id:vW,detector:PAt,loader:RAt},DAt=NAt,yW="packet",UAt=L(r=>/^\s*packet(-beta)?/.test(r),"detector"),QAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./diagram-MLGK6HIB-BoSsC2Xk.js");return{diagram:t}},__vite__mapDeps([43,22,23,5,4]));return{id:yW,diagram:r}},"loader"),$At={id:yW,detector:UAt,loader:QAt},bW="radar",HAt=L(r=>/^\s*radar-beta/.test(r),"detector"),zAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./diagram-MPIPVDR6-Dnvlug71.js");return{diagram:t}},__vite__mapDeps([44,22,23,5,4]));return{id:bW,diagram:r}},"loader"),qAt={id:bW,detector:HAt,loader:zAt},wW="block",GAt=L(r=>/^\s*block(-beta)?/.test(r),"detector"),WAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./blockDiagram-BEXU5L5S-mAVctb7i.js");return{diagram:t}},__vite__mapDeps([45,13,3,4,5,16]));return{id:wW,diagram:r}},"loader"),VAt={id:wW,detector:GAt,loader:WAt},jAt=VAt,xW="treeView",KAt=L(r=>/^\s*treeView-beta/.test(r),"detector"),YAt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./diagram-CDSNMT55-BnYnTAkK.js");return{diagram:t}},__vite__mapDeps([46,21,22,23,5,4]));return{id:xW,diagram:r}},"loader"),XAt={id:xW,detector:KAt,loader:YAt},ZAt=XAt,CW="architecture",JAt=L(r=>/^\s*architecture/.test(r),"detector"),tdt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./architectureDiagram-NJMV4G6O-CLqMNlsU.js");return{diagram:t}},__vite__mapDeps([47,22,23,9,4,5]));return{id:CW,diagram:r}},"loader"),edt={id:CW,detector:JAt,loader:tdt},rdt=edt,BW="eventmodeling",ndt=L(r=>/^\s*eventmodeling/.test(r),"detector"),idt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./diagram-ATOU4E4O-nfxEOGvu.js");return{diagram:t}},__vite__mapDeps([48,22,23,5,4]));return{id:BW,diagram:r}},"loader"),sdt={id:BW,detector:ndt,loader:idt},adt=sdt,kW="ishikawa",odt=L(r=>/^\s*ishikawa(-beta)?\b/i.test(r),"detector"),ldt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./ishikawaDiagram-OU5B5YK6-DGistvPu.js");return{diagram:t}},__vite__mapDeps([49,4,5]));return{id:kW,diagram:r}},"loader"),cdt={id:kW,detector:odt,loader:ldt},EW="venn",hdt=L(r=>/^\s*venn-beta/.test(r),"detector"),udt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./vennDiagram-UO4OBE2U-AQfjofVL.js");return{diagram:t}},__vite__mapDeps([50,4,5]));return{id:EW,diagram:r}},"loader"),Adt={id:EW,detector:hdt,loader:udt},ddt=Adt,SW="treemap",fdt=L(r=>/^\s*treemap/.test(r),"detector"),gdt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./diagram-3UASUU5V-DMoIIUxF.js");return{diagram:t}},__vite__mapDeps([51,22,15,23,27,31,26,5,4]));return{id:SW,diagram:r}},"loader"),pdt={id:SW,detector:fdt,loader:gdt},_W="usecase",mdt=L(r=>/^\s*usecase-beta(?:\s|$)/.test(r),"detector"),vdt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./usecaseDiagram-POWQR4AR-Dtf8EYHv.js");return{diagram:t}},__vite__mapDeps([52,14,15,5,4]));return{id:_W,diagram:r}},"loader"),ydt={id:_W,detector:mdt,loader:vdt},TW="wardley",bdt=L(r=>/^\s*wardley-beta/i.test(r),"detector"),wdt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./wardleyDiagram-VNRHLVJA-C0Ujm7pF.js");return{diagram:t}},__vite__mapDeps([53,22,23,5,4]));return{id:TW,diagram:r}},"loader"),xdt={id:TW,detector:bdt,loader:wdt},Cdt=xdt,FW="cynefin",Bdt=L(r=>/^\s*cynefin-beta(?:[\s:]|$)/.test(r),"detector"),kdt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./cynefinDiagram-VND7K2PF-D8xfXh6p.js");return{diagram:t}},__vite__mapDeps([54,22,23,5,4]));return{id:FW,diagram:r}},"loader"),Edt={id:FW,detector:Bdt,loader:kdt},MW="railroad",Sdt=L(r=>/^\s*railroad-beta/i.test(r),"detector"),_dt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./railroadDiagram-XR7U4H2S-0NNjAScf.js");return{diagram:t}},__vite__mapDeps([55,56,22,23,5,4]));return{id:MW,diagram:r}},"loader"),Tdt={id:MW,detector:Sdt,loader:_dt},LW="railroadEbnf",Fdt=L(r=>/^\s*railroad-ebnf-beta/i.test(r),"detector"),Mdt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./ebnfDiagram-ZINNZB2B-C_5ACnYH.js");return{diagram:t}},__vite__mapDeps([57,56,22,23,5,4]));return{id:LW,diagram:r}},"loader"),Ldt={id:LW,detector:Fdt,loader:Mdt},IW="railroadAbnf",Idt=L(r=>/^\s*railroad-abnf-beta/i.test(r),"detector"),Odt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./abnfDiagram-O67JEVCF-BuBrcO1g.js");return{diagram:t}},__vite__mapDeps([58,56,22,23,5,4]));return{id:IW,diagram:r}},"loader"),Pdt={id:IW,detector:Idt,loader:Odt},OW="railroadPeg",Rdt=L(r=>/^\s*railroad-peg-beta/i.test(r),"detector"),Ndt=L(async()=>{const{diagram:r}=await kr(async()=>{const{diagram:t}=await import("./pegDiagram-GJSIUBJH-WW60px_Y.js");return{diagram:t}},__vite__mapDeps([59,56,22,23,5,4]));return{id:OW,diagram:r}},"loader"),Ddt={id:OW,detector:Rdt,loader:Ndt},TR=!1,qy=L(()=>{TR||(TR=!0,Jm("error",vAt,r=>r.toLowerCase().trim()==="error"),Jm("---",{db:{clear:L(()=>{},"clear")},styles:{},renderer:{draw:L(()=>{},"draw")},parser:{parse:L(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:L(()=>null,"init")},r=>r.toLowerCase().trimStart().startsWith("---")),GS(xAt,FAt,rdt),GS(vut,hut,OAt,aAt,Eut,Out,Nut,Qut,Zut,rAt,xut,fut,EAt,Fut,hAt,fAt,qut,DAt,$At,jut,jAt,adt,ZAt,qAt,cdt,pdt,Tdt,Ldt,Pdt,Ddt,ddt,Cdt,Edt,ydt))},"addDiagrams"),Udt=L(async()=>{se.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Vh).map(async([e,{detector:n,loader:i}])=>{if(i)try{YS(e)}catch{try{const{diagram:s,id:a}=await i();Jm(a,s,n)}catch(s){throw se.error(`Failed to load external diagram with key ${e}. Removing from detectors.`),delete Vh[e],s}}}))).filter(e=>e.status==="rejected");if(t.length>0){se.error(`Failed to load ${t.length} external diagrams`);for(const e of t)se.error(e);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),Qdt="graphics-document document";function PW(r,t){r.attr("role",Qdt),t!==""&&r.attr("aria-roledescription",t)}L(PW,"setA11yDiagramInfo");function RW(r,t,e,n){if(r.insert!==void 0){if(e){const i=`chart-desc-${n}`;r.attr("aria-describedby",i),r.insert("desc",":first-child").attr("id",i).text(e)}if(t){const i=`chart-title-${n}`;r.attr("aria-labelledby",i),r.insert("title",":first-child").attr("id",i).text(t)}}}L(RW,"addSVGa11yTitleDescription");var zh,yv=(zh=class{constructor(t,e,n,i,s){this.type=t,this.text=e,this.db=n,this.parser=i,this.renderer=s}static async fromText(t,e={}){var A,d,f;const n=typeof t=="string"?{cleaned:t}:t,i=Sn(),s=_y(n.cleaned,i);try{YS(s)}catch{const g=bet(s);if(!g)throw new q8(`Diagram ${s} not found.`);const{id:p,diagram:m}=await g();Jm(p,m)}const{db:a,parser:o,renderer:l,init:c}=YS(s);o.parser&&(o.parser.yy=a),(A=a.clear)==null||A.call(a),c==null||c(i),e.title&&((d=a.setDiagramTitle)==null||d.call(a,e.title));let h=n.cleaned;if(a.preserveCommentsWhenParsing&&n.withComments){const g=i.maxTextSize??pF.maxTextSize;n.withComments.length>g?se.warn(`Comment-preserving source exceeds maxTextSize (${n.withComments.length} > ${g}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):h=n.withComments}const u=Dot(h)+`
316
316
  `;return n.frontmatterLineOffset&&((f=a.setFrontmatterLineOffset)==null||f.call(a,n.frontmatterLineOffset)),await o.parse(u),new zh(s,u,a,o,l)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}},L(zh,"Diagram"),zh),FR=[],$dt=L(()=>{FR.forEach(r=>{r()}),FR=[]},"attachFunctions"),Hdt=L(r=>r.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function NW(r){const t=r.match(z8);if(!t)return{text:r,metadata:{}};const e=t[1],n=e?t[2].split(`
317
317
  `).map(a=>a.startsWith(e)?a.slice(e.length):a).join(`
318
318
  `):t[2];let i=pat(n,{schema:gat})??{};i=typeof i=="object"&&!Array.isArray(i)?i:{};const s={};return i.displayMode&&(s.displayMode=i.displayMode.toString()),i.title&&(s.title=i.title.toString()),i.config&&(s.config=i.config),{text:r.slice(t[0].length),metadata:s}}L(NW,"extractFrontMatter");var zdt=L(r=>r.replace(/\r\n?/g,`
@@ -1,2 +1,2 @@
1
- import{_ as e,l as s,Q as n,d as i}from"./index-z64JVqEI.js";import{p}from"./cynefin-OW5HDTMX-BVOPFxoX.js";import"./vue-BhwNxZ68.js";import"./element-plus-IBMLLhb-.js";var g={parse:e(async r=>{const a=await p("info",r);s.debug(a)},"parse")},d={version:"12.0.0"},v=e(()=>d.version,"getVersion"),m={getVersion:v},c=e((r,a,o)=>{s.debug(`rendering info diagram
1
+ import{_ as e,l as s,Q as n,d as i}from"./index-C0YmR_Ml.js";import{p}from"./cynefin-OW5HDTMX-TuJ27ggL.js";import"./vue-BhwNxZ68.js";import"./element-plus-IBMLLhb-.js";var g={parse:e(async r=>{const a=await p("info",r);s.debug(a)},"parse")},d={version:"12.0.0"},v=e(()=>d.version,"getVersion"),m={getVersion:v},c=e((r,a,o)=>{s.debug(`rendering info diagram
2
2
  `+r);const t=n(a);i(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${o}`)},"draw"),l={draw:c},w={parser:g,db:m,renderer:l};export{w as diagram};
@@ -1,4 +1,4 @@
1
- import{_ as o,c as ot,V as ut,Q as dt,at as yt,A as ft,m as pt,q as it,a as gt,b as kt,g as mt,s as wt,t as _t,d as bt}from"./index-z64JVqEI.js";import"./element-plus-IBMLLhb-.js";import"./vue-BhwNxZ68.js";var tt=(function(){var e=o(function(M,t,s,i){for(s=s||{},i=M.length;i--;s[M[i]]=t);return s},"o"),h=[1,4],r=[1,14],a=[1,12],l=[1,13],y=[6,7,8],f=[1,20],d=[1,18],m=[1,19],c=[6,7,11],k=[1,6,13,14],g=[1,23],_=[1,24],x=[1,6,7,11,13,14],N={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},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,2],[12,1],[12,1],[12,1]],performAction:o(function(t,s,i,u,p,n,v){var w=n.length-1;switch(p){case 6:case 7:return u;case 15:u.addNode(n[w-1].length,n[w].trim());break;case 16:u.addNode(0,n[w].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:r,7:[1,10],9:9,12:11,13:a,14:l},e(y,[2,3]),{1:[2,2]},e(y,[2,4]),e(y,[2,5]),{1:[2,6],6:r,12:15,13:a,14:l},{6:r,9:16,12:11,13:a,14:l},{6:f,7:d,10:17,11:m},e(c,[2,18],{14:[1,21]}),e(c,[2,16]),e(c,[2,17]),{6:f,7:d,10:22,11:m},{1:[2,7],6:r,12:15,13:a,14:l},e(k,[2,14],{7:g,11:_}),e(x,[2,8]),e(x,[2,9]),e(x,[2,10]),e(c,[2,15]),e(k,[2,13],{7:g,11:_}),e(x,[2,11]),e(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(t,s){if(s.recoverable)this.trace(t);else{var i=new Error(t);throw i.hash=s,i}},"parseError"),parse:o(function(t){var s=this,i=[0],u=[],p=[null],n=[],v=this.table,w="",I=0,S=0,L=2,E=1,R=n.slice.call(arguments,1),b=Object.create(this.lexer),C={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(C.yy[F]=this.yy[F]);b.setInput(t,C.yy),C.yy.lexer=b,C.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var T=b.yylloc;n.push(T);var D=b.options&&b.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function j(P){i.length=i.length-2*P,p.length=p.length-P,n.length=n.length-P}o(j,"popStack");function z(){var P;return P=u.pop()||b.lex()||E,typeof P!="number"&&(P instanceof Array&&(u=P,P=u.pop()),P=s.symbols_[P]||P),P}o(z,"lex");for(var A,W,B,K,H={},X,V,et,Y;;){if(W=i[i.length-1],this.defaultActions[W]?B=this.defaultActions[W]:((A===null||typeof A>"u")&&(A=z()),B=v[W]&&v[W][A]),typeof B>"u"||!B.length||!B[0]){var Q="";Y=[];for(X in v[W])this.terminals_[X]&&X>L&&Y.push("'"+this.terminals_[X]+"'");b.showPosition?Q="Parse error on line "+(I+1)+`:
1
+ import{_ as o,c as ot,V as ut,Q as dt,at as yt,A as ft,m as pt,q as it,a as gt,b as kt,g as mt,s as wt,t as _t,d as bt}from"./index-C0YmR_Ml.js";import"./element-plus-IBMLLhb-.js";import"./vue-BhwNxZ68.js";var tt=(function(){var e=o(function(M,t,s,i){for(s=s||{},i=M.length;i--;s[M[i]]=t);return s},"o"),h=[1,4],r=[1,14],a=[1,12],l=[1,13],y=[6,7,8],f=[1,20],d=[1,18],m=[1,19],c=[6,7,11],k=[1,6,13,14],g=[1,23],_=[1,24],x=[1,6,7,11,13,14],N={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},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,2],[12,1],[12,1],[12,1]],performAction:o(function(t,s,i,u,p,n,v){var w=n.length-1;switch(p){case 6:case 7:return u;case 15:u.addNode(n[w-1].length,n[w].trim());break;case 16:u.addNode(0,n[w].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:r,7:[1,10],9:9,12:11,13:a,14:l},e(y,[2,3]),{1:[2,2]},e(y,[2,4]),e(y,[2,5]),{1:[2,6],6:r,12:15,13:a,14:l},{6:r,9:16,12:11,13:a,14:l},{6:f,7:d,10:17,11:m},e(c,[2,18],{14:[1,21]}),e(c,[2,16]),e(c,[2,17]),{6:f,7:d,10:22,11:m},{1:[2,7],6:r,12:15,13:a,14:l},e(k,[2,14],{7:g,11:_}),e(x,[2,8]),e(x,[2,9]),e(x,[2,10]),e(c,[2,15]),e(k,[2,13],{7:g,11:_}),e(x,[2,11]),e(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(t,s){if(s.recoverable)this.trace(t);else{var i=new Error(t);throw i.hash=s,i}},"parseError"),parse:o(function(t){var s=this,i=[0],u=[],p=[null],n=[],v=this.table,w="",I=0,S=0,L=2,E=1,R=n.slice.call(arguments,1),b=Object.create(this.lexer),C={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(C.yy[F]=this.yy[F]);b.setInput(t,C.yy),C.yy.lexer=b,C.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var T=b.yylloc;n.push(T);var D=b.options&&b.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function j(P){i.length=i.length-2*P,p.length=p.length-P,n.length=n.length-P}o(j,"popStack");function z(){var P;return P=u.pop()||b.lex()||E,typeof P!="number"&&(P instanceof Array&&(u=P,P=u.pop()),P=s.symbols_[P]||P),P}o(z,"lex");for(var A,W,B,K,H={},X,V,et,Y;;){if(W=i[i.length-1],this.defaultActions[W]?B=this.defaultActions[W]:((A===null||typeof A>"u")&&(A=z()),B=v[W]&&v[W][A]),typeof B>"u"||!B.length||!B[0]){var Q="";Y=[];for(X in v[W])this.terminals_[X]&&X>L&&Y.push("'"+this.terminals_[X]+"'");b.showPosition?Q="Parse error on line "+(I+1)+`:
2
2
  `+b.showPosition()+`
3
3
  Expecting `+Y.join(", ")+", got '"+(this.terminals_[A]||A)+"'":Q="Parse error on line "+(I+1)+": Unexpected "+(A==E?"end of input":"'"+(this.terminals_[A]||A)+"'"),this.parseError(Q,{text:b.match,token:this.terminals_[A]||A,line:b.yylineno,loc:T,expected:Y})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+A);switch(B[0]){case 1:i.push(A),p.push(b.yytext),n.push(b.yylloc),i.push(B[1]),A=null,S=b.yyleng,w=b.yytext,I=b.yylineno,T=b.yylloc;break;case 2:if(V=this.productions_[B[1]][1],H.$=p[p.length-V],H._$={first_line:n[n.length-(V||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(V||1)].first_column,last_column:n[n.length-1].last_column},D&&(H._$.range=[n[n.length-(V||1)].range[0],n[n.length-1].range[1]]),K=this.performAction.apply(H,[w,S,I,C.yy,B[1],p,n].concat(R)),typeof K<"u")return K;V&&(i=i.slice(0,-1*V*2),p=p.slice(0,-1*V),n=n.slice(0,-1*V)),i.push(this.productions_[B[1]][0]),p.push(H.$),n.push(H._$),et=v[i[i.length-2]][i[i.length-1]],i.push(et);break;case 3:return!0}}return!0},"parse")},O=(function(){var M={EOF:1,parseError:o(function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},"parseError"),setInput:o(function(t,s){return this.yy=s||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var s=t.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:o(function(t){var s=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var u=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),i.length-1&&(this.yylineno-=i.length-1);var p=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:i?(i.length===u.length?this.yylloc.first_column:0)+u[u.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(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
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(t){this.unput(this.match.slice(t))},"less"),pastInput:o(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var t=this.pastInput(),s=new Array(t.length+1).join("-");return t+this.upcomingInput()+`