2025-08-19 16:23:05 +08:00
import { g as ze } from "./chunk-BFAMUDN2-DQGv_fhY.js" ; import { s as Ge } from "./chunk-SKB7J2MH-D-vU5iV6.js" ; import { _ as f , b as Xe , a as Je , s as Ze , g as et , q as tt , t as st , c as Ne , l as qe , z as it , D as rt , p as nt , r as at , u as lt } from "./mermaid-vendor-CAxUo7Zk.js" ; import "./feature-graph-C6IuADHZ.js" ; import "./react-vendor-DEwriMA6.js" ; import "./graph-vendor-B-X5JegA.js" ; import "./ui-vendor-CeCm8EER.js" ; import "./utils-vendor-BysuhMZA.js" ; var Ae = function ( ) { var e = f ( function ( P , i , r , l ) { for ( r = r || { } , l = P . length ; l -- ; r [ P [ l ] ] = i ) ; return r } , "o" ) , a = [ 1 , 3 ] , u = [ 1 , 4 ] , o = [ 1 , 5 ] , m = [ 1 , 6 ] , c = [ 5 , 6 , 8 , 9 , 11 , 13 , 21 , 22 , 23 , 24 , 41 , 42 , 43 , 44 , 45 , 46 , 54 , 72 , 74 , 77 , 89 , 90 ] , p = [ 1 , 22 ] , R = [ 2 , 7 ] , h = [ 1 , 26 ] , d = [ 1 , 27 ] , I = [ 1 , 28 ] , k = [ 1 , 29 ] , A = [ 1 , 33 ] , C = [ 1 , 34 ] , V = [ 1 , 35 ] , v = [ 1 , 36 ] , x = [ 1 , 37 ] , L = [ 1 , 38 ] , D = [ 1 , 24 ] , O = [ 1 , 31 ] , w = [ 1 , 32 ] , M = [ 1 , 30 ] , g = [ 1 , 39 ] , _ = [ 1 , 40 ] , y = [ 5 , 8 , 9 , 11 , 13 , 21 , 22 , 23 , 24 , 41 , 42 , 43 , 44 , 45 , 46 , 54 , 72 , 74 , 77 , 89 , 90 ] , $ = [ 1 , 61 ] , X = [ 89 , 90 ] , Ce = [ 5 , 8 , 9 , 11 , 13 , 21 , 22 , 23 , 24 , 27 , 29 , 41 , 42 , 43 , 44 , 45 , 46 , 54 , 61 , 63 , 72 , 74 , 75 , 76 , 77 , 80 , 81 , 82 , 83 , 84 , 85 , 86 , 87 , 88 , 89 , 90 ] , Ee = [ 27 , 29 ] , Ve = [ 1 , 70 ] , ve = [ 1 , 71 ] , xe = [ 1 , 72 ] , Le = [ 1 , 73 ] , De = [ 1 , 74 ] , Oe = [ 1 , 75 ] , we = [ 1 , 76 ] , ee = [ 1 , 83 ] , U = [ 1 , 80 ] , te = [ 1 , 84 ] , se = [ 1 , 85 ] , ie = [ 1 , 86 ] , re = [ 1 , 87 ] , ne = [ 1 , 88 ] , ae = [ 1 , 89 ] , le = [ 1 , 90 ] , ce = [ 1 , 91 ] , oe = [ 1 , 92 ] , pe = [ 5 , 8 , 9 , 11 , 13 , 21 , 22 , 23 , 24 , 27 , 41 , 42 , 43 , 44 , 45 , 46 , 54 , 72 , 74 , 75 , 76 , 77 , 80 , 81 , 82 , 83 , 84 , 85 , 86 , 87 , 88 , 89 , 90 ] , Y = [ 63 , 64 ] , Me = [ 1 , 101 ] , Fe = [ 5 , 8 , 9 , 11 , 13 , 21 , 22 , 23 , 24 , 41 , 42 , 43 , 44 , 45 , 46 , 54 , 72 , 74 , 76 , 77 , 89 , 90 ] , N = [ 5 , 8 , 9 , 11 , 13 , 21 , 22 , 23 , 24 , 41 , 42 , 43 , 44 , 45 , 46 , 54 , 72 , 74 , 75 , 76 , 77 , 80 , 81 , 82 , 83 , 84 , 85 , 86 , 87 , 88 , 89 , 90 ] , B = [ 1 , 110 ] , Q = [ 1 , 106 ] , H = [ 1 , 107 ] , K = [ 1 , 108 ] , W = [ 1 , 109 ] , j = [ 1 , 111 ] , he = [ 1 , 116 ] , ue = [ 1 , 117 ] , fe = [ 1 , 114 ] , me = [ 1 , 115 ] , Se = { trace : f ( function ( ) { } , "trace" ) , yy : { } , symbols _ : { error : 2 , start : 3 , directive : 4 , NEWLINE : 5 , RD : 6 , diagram : 7 , EOF : 8 , acc _title : 9 , acc _title _value : 10 , acc _descr : 11 , acc _descr _value : 12 , acc _descr _multiline _value : 13 , requirementDef : 14 , elementDef : 15 , relationshipDef : 16 , direction : 17 , styleStatement : 18 , classDefStatement : 19 , classStatement : 20 , direction _tb : 21 , direction _bt : 22 , direction _rl : 23 , direction _lr : 24 , requirementType : 25 , requirementName : 26 , STRUCT _START : 27 , requirementBody : 28 , STYLE _SEPARATOR : 29 , idList : 30 , ID : 31 , COLONSEP : 32 , id : 33 , TEXT : 34 , text : 35 , RISK : 36 , riskLevel : 37 , VERIFYMTHD : 38 , verifyType : 39 , STRUCT _STOP : 40 , REQUIREMENT : 41 , FUNCTIONAL _REQUIREMENT : 42 , INTERFACE _REQUIREMENT : 43 , PERFORMANCE _REQUIREMENT : 44 , PHYSICAL _REQUIREMENT : 45 , DESIGN _CONSTRAINT : 46 , LOW _RISK : 47 , MED _RISK : 48 , HIGH _RISK : 49 , VERIFY _ANALYSIS : 50 , VERIFY _DEMONSTRATION : 51 , VERIFY _INSPECTION : 52 , VERIFY _TEST : 53 , ELEMENT : 54 , elementName : 55 , elementBody : 56 , TYPE : 57 , type : 58 , DOCREF : 59 , ref : 60 , END _ARROW _L : 61 , relationship : 62 , LINE : 63 , END _ARROW _R : 64 , CONTAINS : 65 , COPIES : 66 , DERIVES : 67 , SATISFIES : 68 , VERIFIES : 69 , REFINES : 70 , TRACES : 71 , CLASSDEF : 72 , stylesOpt : 73 , CLASS : 74 , ALPHA : 75 , COMMA : 76 , STYLE : 77 , style : 78 , styleComponent : 79 , NUM : 80 , COLON : 81 , UNIT : 82 , SPACE : 83 , BRKT : 84 , PCT : 85 , MINUS : 86 , LABEL : 87 , SEMICOLON : 88 , unqString : 89 , qString : 90 , $accept : 0 , $end : 1 } , terminals _ : { 2 : "error" , 5 : "NEWLINE" , 6 : "RD" , 8 : "EOF" , 9 : "acc_title" , 10 : "acc_title_value" , 11 : "acc_descr" , 12 : "acc_descr_value" , 13 : "acc_descr_multiline_value" , 21 : "direction_tb" , 22 : "direction_bt" , 23 : "direction_rl" , 24 : "direction_lr" , 27 : "STRUCT_START" , 29 : "STYLE_SEPARATOR" , 31 : "ID" , 32 : "COLONSEP" , 34 : "TEXT" , 36 : "RISK" , 38 : "VERIFYMTHD" , 40 : "STRUCT_STOP" , 41 : "REQUIREMENT" , 42 : "FUNCTIONAL_REQUIREMENT" , 43 : "INTERFACE_REQUIREMENT" , 44 : "PERFORMANCE_REQUIREMENT" , 45 : "PHYSICAL_REQUIREMENT" , 46 : "DESIGN_CONSTRAINT" , 47 : "LOW_RISK" , 48 : "MED_RISK" , 49 : "HIGH_RISK" , 50 : "VERIFY_ANALYSIS" , 51 : "VERIFY_DEMONSTRATION" , 52 : "VERIFY_INSPECTION" , 53 : "VERIFY_TEST" , 54 : "ELEMENT" , 57 : "TYPE" , 59 : "DOCREF" , 61 : "END_ARROW_L" , 63 : "LINE" , 64 : "END_ARROW_R" , 65 : "CONTAINS" , 66 : "COPIES" , 67 : "DERIVES" , 68 : "SATISFIES" , 69 : "VERIFIES" , 70 : "REFINES" , 71 : "TRACES" , 72 : "CLASSDEF" , 74 : "CLASS" , 75 : "ALPHA" , 76 : "COMMA" , 77 : "STYLE" , 80 : "NUM" , 81 : "COLON" , 82 : "UNIT" , 83 : "SPACE" , 84 : "BRKT" , 85 : "PCT" , 86 : "MINUS" , 87 : "LABEL" , 88 : "SEMICOLON" , 89 : "unqString" , 90 : "qString" } , productions _ : [ 0 , [ 3 , 3 ] , [ 3 , 2 ] , [ 3 , 4 ] , [ 4 , 2 ] , [ 4 , 2 ] , [ 4 , 1 ] , [ 7 , 0 ] , [ 7 , 2 ] , [ 7 , 2 ] , [ 7 , 2 ] , [ 7 , 2 ] , [ 7 , 2 ] , [ 7 , 2 ] , [ 7 , 2 ] , [ 7 , 2 ] , [ 7 , 2 ] , [ 17 , 1 ] , [ 17 , 1 ] , [ 17 , 1 ] , [ 17 , 1 ] , [ 14 , 5 ] , [ 14 , 7 ] , [ 28 , 5 ] , [ 28 , 5 ] , [ 28 , 5 ] , [ 28 , 5 ] , [ 28 , 2 ] , [ 28 , 1 ] , [ 25 , 1 ] , [ 25 , 1 ] , [ 25 , 1 ] , [ 25 , 1 ] , [ 25 , 1 ] , [ 25 , 1 ] , [ 37 , 1 ] , [ 37 , 1 ] , [ 37 , 1 ] , [ 39 , 1 ] , [ 39 , 1 ] , [ 39 , 1 ] , [ 39 , 1 ] , [ 15 , 5 ] , [ 15 , 7 ] , [ 56
` +this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:f(function(){var r=this.next();return r||this.lex()},"lex"),begin:f(function(r){this.conditionStack.push(r)},"begin"),popState:f(function(){var r=this.conditionStack.length-1;return r>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:f(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:f(function(r){return r=this.conditionStack.length-1-Math.abs(r||0),r>=0?this.conditionStack[r]:"INITIAL"},"topState"),pushState:f(function(r){this.begin(r)},"pushState"),stateStackSize:f(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:f(function(r,l,s,E){switch(s){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin("style"),77;case 50:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 56:break;case 57:this.begin("string");break;case 58:this.popState();break;case 59:return this.begin("style"),72;case 60:return this.begin("style"),74;case 61:return 61;case 62:return 64;case 63:return 63;case 64:this.begin("string");break;case 65:this.popState();break;case 66:return"qString";case 67:return l.yytext=l.yytext.trim(),89;case 68:return 75;case 69:return 80;case 70:return 76}},"anonymous"),rules:[/^(?:title \s [^# \n ;]+)/i,/^(?:accTitle \s *: \s *)/i,/^(?:(?! \n ||)*[^ \n ]*)/i,/^(?:accDescr \s *: \s *)/i,/^(?:(?! \n ||)*[^ \n ]*)/i,/^(?:accDescr \s * \{ \s *)/i,/^(?:[ \} ])/i,/^(?:[^ \} ]*)/i,/^(?:.*direction \s +TB[^ \n ]*)/i,/^(?:.*direction \s +BT[^ \n ]*)/i,/^(?:.*direction \s +RL[^ \n ]*)/i,/^(?:.*direction \s +LR[^ \n ]*)/i,/^(?:( \r ? \n )+)/i,/^(?: \s +)/i,/^(?:#[^ \n ]*)/i,/^(?:%[^ \n ]*)/i,/^(?: $ )/i,/^(?:requirementDiagram \b )/i,/^(?: \{ )/i,/^(?: \} )/i,/^(?::{3})/i,/^(?::)/i,/^(?:id \b )/i,/^(?:text \b )/i,/^(?:risk \b )/i,/^(?:verifyMethod \b )/i,/^(?:requirement \b )/i,/^(?:functionalRequirement \b )/i,/^(?:interfaceRequirement \b )/i,/^(?:performanceRequirement \b )/i,/^(?:physicalRequirement \b )/i,/^(?:designConstraint \b )/i,/^(?:low \b )/i,/^(?:medium \b )/i,/^(?:high \b )/i,/^(?:analysis \b )/i,/^(?:demonstration \b )/i,/^(?:inspection \b )/i,/^(?:test \b )/i,/^(?:element \b )/i,/^(?:contains \b )/i,/^(?:copies \b )/i,/^(?:derives \b )/i,/^(?:satisfies \b )/i,/^(?:verifies \b )/i,/^(?:refines \b )/i,/^(?:traces \b )/i,/^(?:type \b )/i,/^(?:docref \b )/i,/^(?:style \b )/i,/^(?: \w +)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?: \n )/i,/^(?:classDef \b )/i,/^(?:class \b )/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[ \w ][^:, \r \n \{ \< \> \- \= ]*)/i,/^(?: \w +)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68