@shaohui_jin/git-cockpit-mcp-server 0.1.27 → 0.1.28

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 (72) hide show
  1. package/dist/{chunk-HWO2V3M5.js → chunk-DK7VEJFY.js} +2 -2
  2. package/dist/{chunk-HWO2V3M5.js.map → chunk-DK7VEJFY.js.map} +1 -1
  3. package/dist/{chunk-3ALI2CBW.js → chunk-HXRA3DSL.js} +3 -3
  4. package/dist/{chunk-G6SEOLMU.js → chunk-OSTBV522.js} +144 -19
  5. package/dist/chunk-OSTBV522.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-Cpmc29Vo.js → abnfDiagram-O67JEVCF-BxKTIPvt.js} +1 -1
  11. package/dist/web/assets/{arc-C4CdJ3cz.js → arc-BFKkJjPp.js} +1 -1
  12. package/dist/web/assets/{architectureDiagram-NJMV4G6O-D-3EH44b.js → architectureDiagram-NJMV4G6O-DwuGbjcP.js} +1 -1
  13. package/dist/web/assets/{blockDiagram-BEXU5L5S-4o8DaZHq.js → blockDiagram-BEXU5L5S-DQtfpBon.js} +1 -1
  14. package/dist/web/assets/{c4Diagram-YGBWAQC7-DLufKbff.js → c4Diagram-YGBWAQC7-DQEx6b-X.js} +1 -1
  15. package/dist/web/assets/channel-SnOBxP58.js +1 -0
  16. package/dist/web/assets/{chunk-2Q5K7J3B-dEtvq-Sm.js → chunk-2Q5K7J3B-BZZAc8A2.js} +1 -1
  17. package/dist/web/assets/{chunk-3FUC2YCW-D8IY6i0n.js → chunk-3FUC2YCW-BKsUOX0P.js} +2 -2
  18. package/dist/web/assets/{chunk-5VM5RSS4-DTtnT10M.js → chunk-5VM5RSS4-DS8_TMNo.js} +1 -1
  19. package/dist/web/assets/{chunk-GTNCS2PH-CRKiRt85.js → chunk-GTNCS2PH-upTfZMjS.js} +1 -1
  20. package/dist/web/assets/{chunk-GWA4HPMP-CapkHNd2.js → chunk-GWA4HPMP-BKqnDCMe.js} +1 -1
  21. package/dist/web/assets/{chunk-JWPE2WC7-D1qG9232.js → chunk-JWPE2WC7-DRg2DW5G.js} +1 -1
  22. package/dist/web/assets/{chunk-NETBCI7D-Cf5bzyqy.js → chunk-NETBCI7D-D-NIf3Jh.js} +1 -1
  23. package/dist/web/assets/{chunk-WEXAMYUT-aMK135IE.js → chunk-WEXAMYUT-C-ODRuff.js} +1 -1
  24. package/dist/web/assets/{chunk-XXDRQBXY-DKObcU_j.js → chunk-XXDRQBXY-CyL5e2d_.js} +1 -1
  25. package/dist/web/assets/{classDiagram-v2-NBCMYWYE-BFKjdANY.js → classDiagram-v2-NBCMYWYE-CK5THZs3.js} +1 -1
  26. package/dist/web/assets/{cose-bilkent-JH36ORCC-Bbl702qf.js → cose-bilkent-JH36ORCC-02-3CpJi.js} +1 -1
  27. package/dist/web/assets/{cynefin-OW5HDTMX-BwkqOigD.js → cynefin-OW5HDTMX-CAexhoXe.js} +1 -1
  28. package/dist/web/assets/{cynefinDiagram-VND7K2PF-C032B141.js → cynefinDiagram-VND7K2PF-BJF_eeoU.js} +1 -1
  29. package/dist/web/assets/{dagre-6A5THRUB-mtU2etOs.js → dagre-6A5THRUB-C6GL7ERH.js} +1 -1
  30. package/dist/web/assets/{diagram-22UHCM2B-Bhef_gli.js → diagram-22UHCM2B-Ds8n2rH1.js} +1 -1
  31. package/dist/web/assets/{diagram-3UASUU5V-Bt5jGMJj.js → diagram-3UASUU5V-Dqf7ZoXN.js} +1 -1
  32. package/dist/web/assets/{diagram-ATOU4E4O-E9OEgrvO.js → diagram-ATOU4E4O-m7aUBWki.js} +1 -1
  33. package/dist/web/assets/{diagram-CDSNMT55-Ev4KURRW.js → diagram-CDSNMT55-DRH4aoMQ.js} +1 -1
  34. package/dist/web/assets/{diagram-MLGK6HIB-VyRxPiEM.js → diagram-MLGK6HIB-BcpYvpQA.js} +1 -1
  35. package/dist/web/assets/{diagram-MPIPVDR6-NZUHIzSK.js → diagram-MPIPVDR6-Bi0PAW2v.js} +1 -1
  36. package/dist/web/assets/{ebnfDiagram-ZINNZB2B-BWrpXmAB.js → ebnfDiagram-ZINNZB2B-qlPQrozl.js} +1 -1
  37. package/dist/web/assets/{elk-276RUBZZ-BGHyKt3X.js → elk-276RUBZZ-DMAkKBgQ.js} +1 -1
  38. package/dist/web/assets/{erDiagram-OPXOYQCR-GrSAUtcQ.js → erDiagram-OPXOYQCR-Twfp1387.js} +1 -1
  39. package/dist/web/assets/{flowDiagram-KWPJA3E3-B_WVUUVf.js → flowDiagram-KWPJA3E3-C2dUfvWx.js} +1 -1
  40. package/dist/web/assets/{ganttDiagram-FUAMR5RP-DajvFrX3.js → ganttDiagram-FUAMR5RP-BaPxeXq3.js} +1 -1
  41. package/dist/web/assets/{gitGraphDiagram-X574FWY7-CrHV5Rvk.js → gitGraphDiagram-X574FWY7-_hPb8CT4.js} +1 -1
  42. package/dist/web/assets/{index-DNSP9H_v.js → index-BFkHoNBz.js} +148 -147
  43. package/dist/web/assets/{index-COls5qGF.css → index-DYyaZxyF.css} +1 -1
  44. package/dist/web/assets/{infoDiagram-VRGFBTTK-BVr7SUMq.js → infoDiagram-VRGFBTTK-Du4dCYJ4.js} +1 -1
  45. package/dist/web/assets/{ishikawaDiagram-OU5B5YK6-Clo1T4Ou.js → ishikawaDiagram-OU5B5YK6-DDKBcmep.js} +1 -1
  46. package/dist/web/assets/{journeyDiagram-ZHPQQLJL-BJJiqW1W.js → journeyDiagram-ZHPQQLJL-CL0kUw14.js} +1 -1
  47. package/dist/web/assets/{kanban-definition-PNTS6WVX-FIP6aaWx.js → kanban-definition-PNTS6WVX-BEE1vcNj.js} +1 -1
  48. package/dist/web/assets/{linear-gNF2RYPF.js → linear-Dub9pXXw.js} +1 -1
  49. package/dist/web/assets/{mindmap-definition-NLK3R4M7-U9ZgUluP.js → mindmap-definition-NLK3R4M7-DoKDp1pJ.js} +1 -1
  50. package/dist/web/assets/{pegDiagram-GJSIUBJH-kqET45uW.js → pegDiagram-GJSIUBJH-ODJ_Yd0b.js} +1 -1
  51. package/dist/web/assets/{pieDiagram-5QR66LMP-0Vfqg8YJ.js → pieDiagram-5QR66LMP-Cmyperfp.js} +1 -1
  52. package/dist/web/assets/{quadrantDiagram-O4NWA36T-BwbgrFii.js → quadrantDiagram-O4NWA36T-aypd2R_C.js} +1 -1
  53. package/dist/web/assets/{railroadDiagram-XR7U4H2S-AQGvMbOL.js → railroadDiagram-XR7U4H2S-BI36mUxb.js} +1 -1
  54. package/dist/web/assets/{requirementDiagram-PLB6GJNP-WJNa_ucq.js → requirementDiagram-PLB6GJNP-DMp_AH1O.js} +1 -1
  55. package/dist/web/assets/{sankeyDiagram-IPEJSGJF-DTOl4R33.js → sankeyDiagram-IPEJSGJF-CYcGOg3G.js} +1 -1
  56. package/dist/web/assets/{sequenceDiagram-PO4LG4MO-4xQidS78.js → sequenceDiagram-PO4LG4MO-ChZB8RbV.js} +1 -1
  57. package/dist/web/assets/{sizeCapture-INFHLROL--JObXzuK.js → sizeCapture-INFHLROL-BqqVL3Rt.js} +1 -1
  58. package/dist/web/assets/{stateDiagram-v2-GCMORJYK-DO54xQHQ.js → stateDiagram-v2-GCMORJYK-DZvh8NA2.js} +1 -1
  59. package/dist/web/assets/{swimlanes-2SLR337P-D2RfEaDP.js → swimlanes-2SLR337P-B2UuTxFK.js} +1 -1
  60. package/dist/web/assets/swimlanesDiagram-TC7HE7FX-BoTo_Fcu.js +8 -0
  61. package/dist/web/assets/{timeline-definition-EJHVYXUP-CjEGHstB.js → timeline-definition-EJHVYXUP-C_eH7hMc.js} +1 -1
  62. package/dist/web/assets/{usecaseDiagram-POWQR4AR-B_QSF3HN.js → usecaseDiagram-POWQR4AR-yPvynT6u.js} +1 -1
  63. package/dist/web/assets/{vennDiagram-UO4OBE2U-DaXBK4lA.js → vennDiagram-UO4OBE2U-8NH9xysg.js} +1 -1
  64. package/dist/web/assets/{wardleyDiagram-VNRHLVJA-DAcGG1ul.js → wardleyDiagram-VNRHLVJA-8YoREFYM.js} +1 -1
  65. package/dist/web/assets/{xychartDiagram-PMCCYNJV-C9NMkFcl.js → xychartDiagram-PMCCYNJV-Bjj7znot.js} +1 -1
  66. package/dist/web/index.html +2 -2
  67. package/dist/webServer.js +2 -2
  68. package/package.json +2 -2
  69. package/dist/chunk-G6SEOLMU.js.map +0 -1
  70. package/dist/web/assets/channel-D3CmON_0.js +0 -1
  71. package/dist/web/assets/swimlanesDiagram-TC7HE7FX-BTVqf00K.js +0 -8
  72. /package/dist/{chunk-3ALI2CBW.js.map → chunk-HXRA3DSL.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import{g as Ut}from"./chunk-XXDRQBXY-DKObcU_j.js";import{s as Kt}from"./chunk-WEXAMYUT-aMK135IE.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-DNSP9H_v.js";import{c as he}from"./channel-D3CmON_0.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-CyL5e2d_.js";import{s as Kt}from"./chunk-WEXAMYUT-C-ODRuff.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-BFkHoNBz.js";import{c as he}from"./channel-SnOBxP58.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-DTtnT10M.js";import{g as Xt}from"./chunk-XXDRQBXY-DKObcU_j.js";import{s as Qt}from"./chunk-WEXAMYUT-aMK135IE.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-DNSP9H_v.js";import{c as A1}from"./chunk-GWA4HPMP-CapkHNd2.js";import{c as m1}from"./channel-D3CmON_0.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-DS8_TMNo.js";import{g as Xt}from"./chunk-XXDRQBXY-CyL5e2d_.js";import{s as Qt}from"./chunk-WEXAMYUT-C-ODRuff.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-BFkHoNBz.js";import{c as A1}from"./chunk-GWA4HPMP-BKqnDCMe.js";import{c as m1}from"./channel-SnOBxP58.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-DNSP9H_v.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-gNF2RYPF.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-BFkHoNBz.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-Dub9pXXw.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-dEtvq-Sm.js";import{p as $e}from"./chunk-JWPE2WC7-D1qG9232.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-DNSP9H_v.js";import{p as Be}from"./cynefin-OW5HDTMX-BwkqOigD.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-BZZAc8A2.js";import{p as $e}from"./chunk-JWPE2WC7-DRg2DW5G.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-BFkHoNBz.js";import{p as Be}from"./cynefin-OW5HDTMX-CAexhoXe.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}