limixbot 0.2.0 → 0.2.2

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 (155) hide show
  1. package/dist/assets/{ActivityPanel-DQ6SldsH.js → ActivityPanel-BJ-KjzZQ.js} +1 -1
  2. package/dist/assets/{App-5ImTEsbf.js → App-B88ABHQh.js} +9 -9
  3. package/dist/assets/{AppEventEditor-D0d99syK.js → AppEventEditor-C1j7B-on.js} +1 -1
  4. package/dist/assets/{BotSettingsDialog-CsxnAEvN.js → BotSettingsDialog-CVVgZ_Nc.js} +1 -1
  5. package/dist/assets/{BrowserPanel-ClldymIL.js → BrowserPanel-DD7r9HOn.js} +1 -1
  6. package/dist/assets/{BrowserProfilesManager-CWHmWa18.js → BrowserProfilesManager-D1rUYWVD.js} +1 -1
  7. package/dist/assets/{CloudAddDialog-BOy7-oAN.js → CloudAddDialog-CZhJqPdM.js} +1 -1
  8. package/dist/assets/{ComputerFilesPane-FPZyVWJS.js → ComputerFilesPane-B1y88sYp.js} +1 -1
  9. package/dist/assets/{ComputerPanel-CvpWL_zw.js → ComputerPanel-DBvlrkN9.js} +2 -2
  10. package/dist/assets/{DataPanel-DN_Kqzgt.js → DataPanel-Bu3s4f1H.js} +1 -1
  11. package/dist/assets/{DesktopViewer-Dc_O38Q5.js → DesktopViewer-D_Tc0DtD.js} +1 -1
  12. package/dist/assets/{FilesView-DovLYw-8.js → FilesView-DwGmVJUN.js} +1 -1
  13. package/dist/assets/{GrokMoveDialog-BrTp3ms0.js → GrokMoveDialog-f1ta87oZ.js} +1 -1
  14. package/dist/assets/{InspectorPanel-Bk8Fb3Vv.js → InspectorPanel-D0_Z99j4.js} +1 -1
  15. package/dist/assets/{KeyboardShortcutsModal-DpIXj9DI.js → KeyboardShortcutsModal-CEwkgGoB.js} +1 -1
  16. package/dist/assets/{LiveDesktop-DLThLuRy.js → LiveDesktop-E6f1BBs1.js} +1 -1
  17. package/dist/assets/{LocalVmWorkspace-DaDnURCd.js → LocalVmWorkspace-D6Eotsee.js} +1 -1
  18. package/dist/assets/{MacLocalControl-ikpUIb9M.js → MacLocalControl-B3YOye-H.js} +1 -1
  19. package/dist/assets/{MarkdownFilePreview-C-zpxhEr.js → MarkdownFilePreview-BLGAemwy.js} +1 -1
  20. package/dist/assets/{MenuMotion-DIzo9CWe.js → MenuMotion-vm5ldfak.js} +1 -1
  21. package/dist/assets/{NewBotDialog-CMvWqjVk.js → NewBotDialog-B2X4qm4R.js} +1 -1
  22. package/dist/assets/{PhoneAppDialog-CbY1Fa80.js → PhoneAppDialog-hQoVtk6q.js} +1 -1
  23. package/dist/assets/{PlacesRail-CxT7ATSb.js → PlacesRail-0dNv7oZB.js} +1 -1
  24. package/dist/assets/{PluginsPanel-B-EaOkeS.js → PluginsPanel-DtdtIk9h.js} +1 -1
  25. package/dist/assets/{ProIntroduction-iQa0Iqvq.js → ProIntroduction-B7TckG4N.js} +1 -1
  26. package/dist/assets/{RemoteAgentSettingsPanel-Cg_Y1VsX.js → RemoteAgentSettingsPanel-DxXqwhrm.js} +1 -1
  27. package/dist/assets/{RoomPanel-CRbqjMMX.js → RoomPanel-FwiCG8NY.js} +1 -1
  28. package/dist/assets/{RoutinesPage-DAU4E5QH.js → RoutinesPage-D7e6qR1n.js} +1 -1
  29. package/dist/assets/{SettingsModal-C4KPUUbt.js → SettingsModal-DBR7IGpo.js} +1 -1
  30. package/dist/assets/{ShareTeamDialog-BxpyYb4D.js → ShareTeamDialog-TxtG8d2Y.js} +1 -1
  31. package/dist/assets/{SignedInSites-DVzh6Sgy.js → SignedInSites-CVRfJGQY.js} +1 -1
  32. package/dist/assets/{TeamLibraryPanel-DvhZh6bz.js → TeamLibraryPanel-NG1mKW-M.js} +1 -1
  33. package/dist/assets/{TeamMapPage-Bae2TYf8.js → TeamMapPage-j9euCmPt.js} +1 -1
  34. package/dist/assets/{TriggersPage-BK8vnxYR.js → TriggersPage-rajjjJ3z.js} +1 -1
  35. package/dist/assets/{VisibilitySection-DHZe007N.js → VisibilitySection-BVTc_bLr.js} +1 -1
  36. package/dist/assets/{WebhookTrigger-MvhmQqrH.js → WebhookTrigger-Bap1eB3c.js} +1 -1
  37. package/dist/assets/{WorksOnGrid-CdahWTTY.js → WorksOnGrid-BH9WTY-z.js} +1 -1
  38. package/dist/assets/{abnfDiagram-YUKMZFIV-DHIfjvy0.js → abnfDiagram-YUKMZFIV-DCjLKsgc.js} +1 -1
  39. package/dist/assets/{activity-DXW67hJH.js → activity-BjR5nw9Z.js} +1 -1
  40. package/dist/assets/{architectureDiagram-47P4ROYG-8ZFD18Ma.js → architectureDiagram-47P4ROYG-DhdUk3XR.js} +1 -1
  41. package/dist/assets/{blockDiagram-E7TT5TSB-oDCOkHO2.js → blockDiagram-E7TT5TSB-CJN1G2VQ.js} +1 -1
  42. package/dist/assets/{c4Diagram-CRA5TL53-IT3HaSBr.js → c4Diagram-CRA5TL53-BfkzahxK.js} +1 -1
  43. package/dist/assets/{calendar-days-CgDcDbmR.js → calendar-days-DlTxBFXF.js} +1 -1
  44. package/dist/assets/channel-BAivii3N.js +1 -0
  45. package/dist/assets/{chunk-2Q5K7J3B-DDzkmpw7.js → chunk-2Q5K7J3B-BwH3UOL3.js} +1 -1
  46. package/dist/assets/{chunk-5VM5RSS4-BIEkeU_y.js → chunk-5VM5RSS4-qo9dxZfl.js} +1 -1
  47. package/dist/assets/{chunk-7TKQ45FW-BCmNJdPg.js → chunk-7TKQ45FW-B_b-TvDW.js} +1 -1
  48. package/dist/assets/{chunk-AW2ZBBNX-Dq5hnl_T.js → chunk-AW2ZBBNX-DTVjfWfo.js} +1 -1
  49. package/dist/assets/{chunk-FVRAUYC3-CxT7tLVI.js → chunk-FVRAUYC3-6Ej1chkf.js} +2 -2
  50. package/dist/assets/{chunk-HTAEGDNF-WuMXXVXq.js → chunk-HTAEGDNF-dGKAv3Ly.js} +1 -1
  51. package/dist/assets/{chunk-JWPE2WC7-9G7Ov5oO.js → chunk-JWPE2WC7-Dl30Op6i.js} +1 -1
  52. package/dist/assets/{chunk-KQW6MTUR-BqzkcKb7.js → chunk-KQW6MTUR-C7I5DprK.js} +1 -1
  53. package/dist/assets/{chunk-XXDRQBXY-rt20EPvY.js → chunk-XXDRQBXY-niGkH3Wm.js} +1 -1
  54. package/dist/assets/{classDiagram-v2-K4WV4PDN-CbiFsD2h.js → classDiagram-v2-K4WV4PDN-DV3eJqTd.js} +1 -1
  55. package/dist/assets/{coins-D8L4IeFd.js → coins-DEObq6EM.js} +1 -1
  56. package/dist/assets/{core-C3xVj8cU.js → core-CQuzVAof.js} +1 -1
  57. package/dist/assets/{cose-bilkent-JH36ORCC-bf0vlazf.js → cose-bilkent-JH36ORCC-Dw675nir.js} +1 -1
  58. package/dist/assets/{cynefin-EF2NZ3EQ-DW3N3IPQ.js → cynefin-EF2NZ3EQ-rM_Vx_Nc.js} +1 -1
  59. package/dist/assets/{cynefinDiagram-3GCD6N5R-iIWFatIE.js → cynefinDiagram-3GCD6N5R-LQIlP8_F.js} +1 -1
  60. package/dist/assets/{dagre-W4DXFKR2-V4xqT-Z3.js → dagre-W4DXFKR2-DIGKS0Jz.js} +1 -1
  61. package/dist/assets/de-B1J17cai.js +8 -0
  62. package/dist/assets/{diagram-2UJZ2QOL-Bk3ravV3.js → diagram-2UJZ2QOL-DHcKf8Wa.js} +1 -1
  63. package/dist/assets/{diagram-OVF4WLC6-BpJgMTyN.js → diagram-OVF4WLC6-CaakNCyA.js} +1 -1
  64. package/dist/assets/{diagram-PFPMY2P6-D9rWYBb8.js → diagram-PFPMY2P6-BQTgTfVh.js} +1 -1
  65. package/dist/assets/{diagram-UMYRVEAY-DgFKT_xE.js → diagram-UMYRVEAY-Dz4tiefj.js} +1 -1
  66. package/dist/assets/{diagram-YEKJPTXX-D2gh1ltw.js → diagram-YEKJPTXX-4K0yWjUe.js} +1 -1
  67. package/dist/assets/{diagram-ZIFT7M5P-JgwoPfe-.js → diagram-ZIFT7M5P-rWWlZtci.js} +1 -1
  68. package/dist/assets/{ebnfDiagram-VR2GEFS7-B-Hbq0A-.js → ebnfDiagram-VR2GEFS7-QPG43w9u.js} +1 -1
  69. package/dist/assets/{elk-IJKZMXRS-4aetViwb.js → elk-IJKZMXRS-hRSqsqP_.js} +1 -1
  70. package/dist/assets/{erDiagram-O2IAPWRE-_7zpWNwT.js → erDiagram-O2IAPWRE-V8e4toBc.js} +1 -1
  71. package/dist/assets/es-CS_V7OdX.js +6 -0
  72. package/dist/assets/{file-up-C-rFTv9c.js → file-up-DY1vL6py.js} +1 -1
  73. package/dist/assets/{flowDiagram-OXPTDLAJ-CfTlOpXM.js → flowDiagram-OXPTDLAJ-Cz7Ay48V.js} +1 -1
  74. package/dist/assets/fr-Dn65EJNi.js +8 -0
  75. package/dist/assets/{ganttDiagram-R7TSEDQI-CUGh7ikL.js → ganttDiagram-R7TSEDQI-CI6nugxH.js} +1 -1
  76. package/dist/assets/{gitGraphDiagram-XJZIOB7I-CNiOWIBa.js → gitGraphDiagram-XJZIOB7I-BjtDxt_s.js} +1 -1
  77. package/dist/assets/hi-CHU0sl7u.js +1 -0
  78. package/dist/assets/{import-name-DqWOlO3p.js → import-name-DqzojGXy.js} +1 -1
  79. package/dist/assets/{index-2wS-TBWF.js → index-BfUxIMI-.js} +1 -1
  80. package/dist/assets/{index-B8UoQvam.js → index-BiSZ69F2.js} +2 -2
  81. package/dist/assets/{index-CLuPZ_ge.js → index-BjLGGSd_.js} +1 -1
  82. package/dist/assets/{infoDiagram-5W2HQ5XZ-fn3sGtOU.js → infoDiagram-5W2HQ5XZ-B7kSPI8x.js} +1 -1
  83. package/dist/assets/{ishikawaDiagram-K3B6WC7H-DR50SXfs.js → ishikawaDiagram-K3B6WC7H-B80aI5uW.js} +1 -1
  84. package/dist/assets/it-CbDr93sA.js +13 -0
  85. package/dist/assets/ja-CJbW-M3a.js +13 -0
  86. package/dist/assets/{journeyDiagram-COXZFDF6-B7UkLqv1.js → journeyDiagram-COXZFDF6-CjxmU5O_.js} +1 -1
  87. package/dist/assets/{kanban-definition-P3RFRI5V-CtCmVeLg.js → kanban-definition-P3RFRI5V-BIU0Q11m.js} +1 -1
  88. package/dist/assets/ko-ZQvzPil_.js +13 -0
  89. package/dist/assets/{mcp-servers-PscuvSLp.js → mcp-servers-LGwHCvUp.js} +1 -1
  90. package/dist/assets/{mermaid.core-6s7iUTmY.js → mermaid.core-C9748YDA.js} +4 -4
  91. package/dist/assets/{mindmap-definition-LZFPQGKD-Brk3mBsF.js → mindmap-definition-LZFPQGKD-C_QDmkR_.js} +1 -1
  92. package/dist/assets/{minimize-BXPLizAB.js → minimize-DxmLA74X.js} +1 -1
  93. package/dist/assets/{monitor-fSDrciab.js → monitor-saVltJVe.js} +1 -1
  94. package/dist/assets/{new-bot-KSKvZiMw.js → new-bot-BdMgVWOM.js} +1 -1
  95. package/dist/assets/{org-library-CNwvES8-.js → org-library-DWY9-OyC.js} +1 -1
  96. package/dist/assets/{package-format-pY7V6pLt.js → package-format-CqLquC8E.js} +1 -1
  97. package/dist/assets/{pegDiagram-BGZESJAR-CV9rDiY7.js → pegDiagram-BGZESJAR-CWQyllhq.js} +1 -1
  98. package/dist/assets/{pieDiagram-CAPJLFHJ-68jslf3f.js → pieDiagram-CAPJLFHJ-BXx9zdy3.js} +1 -1
  99. package/dist/assets/pl-tZIDksyW.js +13 -0
  100. package/dist/assets/pt-br-BtcqPDCE.js +15 -0
  101. package/dist/assets/{quadrantDiagram-GDMTTRAM-B2W8pNbe.js → quadrantDiagram-GDMTTRAM-CT3VU9ss.js} +1 -1
  102. package/dist/assets/{rail-CkOyCo_V.js → rail-DDUwvn54.js} +1 -1
  103. package/dist/assets/{railroadDiagram-SM67HX2B-BV1B3pKV.js → railroadDiagram-SM67HX2B-DsZVUfT9.js} +1 -1
  104. package/dist/assets/{remote-desktop-panel-C9_e4Lf8.js → remote-desktop-panel-B-L_Sc4G.js} +1 -1
  105. package/dist/assets/{requirementDiagram-X7JNWC4A-Bdldpdiu.js → requirementDiagram-X7JNWC4A-DieBBfKD.js} +1 -1
  106. package/dist/assets/ru-Bfcy52OT.js +13 -0
  107. package/dist/assets/{sankeyDiagram-UM26HJRW-DNaUxJ0h.js → sankeyDiagram-UM26HJRW-D1n5IJ1M.js} +1 -1
  108. package/dist/assets/{sequenceDiagram-ZO4K6R2Y-mS8Nj2S_.js → sequenceDiagram-ZO4K6R2Y-Cn7_MLcn.js} +1 -1
  109. package/dist/assets/{sizeCapture-INFHLROL-CHzKGYk8.js → sizeCapture-INFHLROL-BCwe4Nln.js} +1 -1
  110. package/dist/assets/{stateDiagram-v2-TBUQTH76-Cze2_YJZ.js → stateDiagram-v2-TBUQTH76-Dpy7t5Eb.js} +1 -1
  111. package/dist/assets/{styles-BffiNBq-.js → styles-Df9bbQa1.js} +2 -2
  112. package/dist/assets/{swimlanes-N4OXWK64-Dfgizi06.js → swimlanes-N4OXWK64-CAY2xzWw.js} +1 -1
  113. package/dist/assets/swimlanesDiagram-K3J5GTZL-25FmnC_u.js +8 -0
  114. package/dist/assets/{team-share-Q_ti9wrd.js → team-share-B5XghBFg.js} +1 -1
  115. package/dist/assets/{timeline-definition-YOQAKGHF-CqmzLdGf.js → timeline-definition-YOQAKGHF-ClPw93T0.js} +1 -1
  116. package/dist/assets/tr-3Jw0E4fc.js +6 -0
  117. package/dist/assets/uk-B_Q6nXm0.js +1 -0
  118. package/dist/assets/{usecaseDiagram-VIAY4XPW-aHdQHg-z.js → usecaseDiagram-VIAY4XPW-Bodg7BA2.js} +1 -1
  119. package/dist/assets/{vennDiagram-BLWOH2XV-DlOR-xvJ.js → vennDiagram-BLWOH2XV-jHU0_O9m.js} +1 -1
  120. package/dist/assets/vi-VlbIiohE.js +6 -0
  121. package/dist/assets/{wardleyDiagram-YMQ3BMBF-gZWjmqvm.js → wardleyDiagram-YMQ3BMBF-Bqb5Ov5q.js} +1 -1
  122. package/dist/assets/{xychartDiagram-TAQBALBS-Tbo6-Ug-.js → xychartDiagram-TAQBALBS-cNVR4g0S.js} +1 -1
  123. package/dist/assets/zh-BwjuB8Xo.js +13 -0
  124. package/dist/assets/zh-tw-CWDGum-b.js +15 -0
  125. package/dist/index.html +2 -2
  126. package/dist/rail.html +4 -4
  127. package/dist-server/index.js +699 -719
  128. package/dist-server/openmausbot.js +548 -558
  129. package/dist-server/package.json +1 -1
  130. package/dist-server/pair-cli.js +61 -61
  131. package/dist-server/server/custom-domain.js +1 -1
  132. package/dist-server/server/index.js +2 -2
  133. package/dist-server/server/limix-report-config.js +1 -0
  134. package/dist-server/server/limix-report-mail.js +59 -0
  135. package/dist-server/server/skill-fetch.js +1 -1
  136. package/dist-server/server/wait-probes.js +1 -1
  137. package/dist-server/server/workspace-backup-http.js +2 -2
  138. package/package.json +1 -1
  139. package/dist/assets/channel-CH0X_KTA.js +0 -1
  140. package/dist/assets/de-BC0Kxj9f.js +0 -8
  141. package/dist/assets/es-A3rM0HzK.js +0 -6
  142. package/dist/assets/fr-DRDEDuSU.js +0 -8
  143. package/dist/assets/hi-Bar1etD1.js +0 -1
  144. package/dist/assets/it-CaaGmE6C.js +0 -13
  145. package/dist/assets/ja-C8goxgXK.js +0 -13
  146. package/dist/assets/ko-ClPjw23W.js +0 -13
  147. package/dist/assets/pl-BZRlEjRG.js +0 -13
  148. package/dist/assets/pt-br-Pn296bZX.js +0 -15
  149. package/dist/assets/ru-BjNOFHlt.js +0 -13
  150. package/dist/assets/swimlanesDiagram-K3J5GTZL-C64tYSDU.js +0 -8
  151. package/dist/assets/tr-DvCKopMI.js +0 -6
  152. package/dist/assets/uk-eQInRbS6.js +0 -1
  153. package/dist/assets/vi-BWcvK_yD.js +0 -6
  154. package/dist/assets/zh-CIfUJ9rS.js +0 -13
  155. package/dist/assets/zh-tw-DnyY-W7m.js +0 -15
@@ -1,4 +1,4 @@
1
- import{s as Ae,g as ke,x as ae,v as Fe,a as Pe,b as ve,_ as o,c as Vt,l as bt,k as Lt,d as Ce,D as Le,R as V,j as Ee,V as De}from"./mermaid.core-6s7iUTmY.js";import{l as ie}from"./linear-ChbPfC31.js";import"./styles-BffiNBq-.js";import"./step-CkmJJ7wq.js";import"./init-Dmth1JHB.js";import"./defaultLocale-CzDG__Ur.js";var Et=(function(){var t=o(function(Y,r,l,x){for(l=l||{},x=Y.length;x--;l[Y[x]]=r);return l},"o"),n=[1,3],f=[1,4],d=[1,5],h=[1,6],p=[1,7],y=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],_=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],k=[2,36],u=[1,37],T=[1,36],m=[1,38],q=[1,35],b=[1,43],g=[1,41],A=[1,45],ht=[1,14],xt=[1,23],ft=[1,18],gt=[1,19],ct=[1,20],_t=[1,21],dt=[1,22],i=[1,24],zt=[1,25],It=[1,26],wt=[1,27],Rt=[1,28],Bt=[1,29],U=[1,32],Q=[1,33],F=[1,34],P=[1,39],v=[1,40],C=[1,42],L=[1,44],H=[1,63],X=[1,62],E=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],Nt=[1,66],Wt=[1,67],Ut=[1,68],Qt=[1,69],Ot=[1,70],Ht=[1,71],Xt=[1,72],Mt=[1,73],Yt=[1,74],jt=[1,75],Gt=[1,76],Kt=[1,77],w=[4,5,6,7,8,9,10,11,12,13,14,15,18],K=[1,91],Z=[1,92],J=[1,93],$=[1,100],tt=[1,94],et=[1,97],it=[1,95],at=[1,96],nt=[1,98],st=[1,99],At=[1,103],Zt=[10,55,56,57],N=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],kt={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(function(r,l,x,c,S,e,ut){var s=e.length-1;switch(S){case 23:this.$=e[s];break;case 24:this.$=e[s-1]+""+e[s];break;case 26:this.$=e[s-1]+e[s];break;case 27:this.$=[e[s].trim()];break;case 28:e[s-2].push(e[s].trim()),this.$=e[s-2];break;case 29:this.$=e[s-4],c.addClass(e[s-2],e[s]);break;case 37:this.$=[];break;case 42:this.$=e[s].trim(),c.setDiagramTitle(this.$);break;case 43:this.$=e[s].trim(),c.setAccTitle(this.$);break;case 44:case 45:this.$=e[s].trim(),c.setAccDescription(this.$);break;case 46:c.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 47:c.addPoint(e[s-3],"",e[s-1],e[s],[]);break;case 48:c.addPoint(e[s-4],e[s-3],e[s-1],e[s],[]);break;case 49:c.addPoint(e[s-4],"",e[s-2],e[s-1],e[s]);break;case 50:c.addPoint(e[s-5],e[s-4],e[s-2],e[s-1],e[s]);break;case 51:c.setXAxisLeftText(e[s-2]),c.setXAxisRightText(e[s]);break;case 52:e[s-1].text+=" ⟶ ",c.setXAxisLeftText(e[s-1]);break;case 53:c.setXAxisLeftText(e[s]);break;case 54:c.setYAxisBottomText(e[s-2]),c.setYAxisTopText(e[s]);break;case 55:e[s-1].text+=" ⟶ ",c.setYAxisBottomText(e[s-1]);break;case 56:c.setYAxisBottomText(e[s]);break;case 57:c.setQuadrant1Text(e[s]);break;case 58:c.setQuadrant2Text(e[s]);break;case 59:c.setQuadrant3Text(e[s]);break;case 60:c.setQuadrant4Text(e[s]);break;case 64:this.$={text:e[s],type:"text"};break;case 65:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 66:this.$={text:e[s],type:"text"};break;case 67:this.$={text:e[s],type:"markdown"};break;case 68:this.$=e[s];break;case 69:this.$=e[s-1]+""+e[s];break}},"anonymous"),table:[{18:n,26:1,27:2,28:f,55:d,56:h,57:p},{1:[3]},{18:n,26:8,27:2,28:f,55:d,56:h,57:p},{18:n,26:9,27:2,28:f,55:d,56:h,57:p},t(y,[2,33],{29:10}),t(_,[2,61]),t(_,[2,62]),t(_,[2,63]),{1:[2,30]},{1:[2,31]},t(a,k,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:u,5:T,10:m,12:q,13:b,14:g,15:A,18:ht,25:xt,35:ft,37:gt,39:ct,41:_t,42:dt,48:i,50:zt,51:It,52:wt,53:Rt,54:Bt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(y,[2,34]),{27:46,55:d,56:h,57:p},t(a,[2,37]),t(a,k,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:u,5:T,10:m,12:q,13:b,14:g,15:A,18:ht,25:xt,35:ft,37:gt,39:ct,41:_t,42:dt,48:i,50:zt,51:It,52:wt,53:Rt,54:Bt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},t(a,[2,45]),t(a,[2,46]),{18:[1,51]},{4:u,5:T,10:m,12:q,13:b,14:g,15:A,43:52,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:m,12:q,13:b,14:g,15:A,43:53,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:m,12:q,13:b,14:g,15:A,43:54,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:m,12:q,13:b,14:g,15:A,43:55,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:m,12:q,13:b,14:g,15:A,43:56,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:m,12:q,13:b,14:g,15:A,43:57,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,44:[1,58],47:[1,59],58:61,59:60,63:F,64:P,65:v,66:C,67:L},t(E,[2,64]),t(E,[2,66]),t(E,[2,67]),t(E,[2,70]),t(E,[2,71]),t(E,[2,72]),t(E,[2,73]),t(E,[2,74]),t(E,[2,75]),t(E,[2,76]),t(E,[2,77]),t(E,[2,78]),t(E,[2,79]),t(E,[2,80]),t(E,[2,81]),t(y,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:65,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Ht,10:Xt,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,21:64},t(a,[2,53],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,49:[1,78],63:F,64:P,65:v,66:C,67:L}),t(a,[2,56],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,49:[1,79],63:F,64:P,65:v,66:C,67:L}),t(a,[2,57],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,63:F,64:P,65:v,66:C,67:L}),t(a,[2,58],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,63:F,64:P,65:v,66:C,67:L}),t(a,[2,59],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,63:F,64:P,65:v,66:C,67:L}),t(a,[2,60],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,63:F,64:P,65:v,66:C,67:L}),{45:[1,80]},{44:[1,81]},t(E,[2,65]),t(E,[2,82]),t(E,[2,83]),t(E,[2,84]),{3:83,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Ht,10:Xt,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,18:[1,82]},t(w,[2,23]),t(w,[2,1]),t(w,[2,2]),t(w,[2,3]),t(w,[2,4]),t(w,[2,5]),t(w,[2,6]),t(w,[2,7]),t(w,[2,8]),t(w,[2,9]),t(w,[2,10]),t(w,[2,11]),t(w,[2,12]),t(a,[2,52],{58:31,43:84,4:u,5:T,10:m,12:q,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(a,[2,55],{58:31,43:85,4:u,5:T,10:m,12:q,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),{46:[1,86]},{45:[1,87]},{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:89,23:88},t(w,[2,24]),t(a,[2,51],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,63:F,64:P,65:v,66:C,67:L}),t(a,[2,54],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,63:F,64:P,65:v,66:C,67:L}),t(a,[2,47],{22:89,16:90,23:101,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{46:[1,102]},t(a,[2,29],{10:At}),t(Zt,[2,27],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),t(N,[2,25]),t(N,[2,13]),t(N,[2,14]),t(N,[2,15]),t(N,[2,16]),t(N,[2,17]),t(N,[2,18]),t(N,[2,19]),t(N,[2,20]),t(N,[2,21]),t(N,[2,22]),t(a,[2,49],{10:At}),t(a,[2,48],{22:89,16:90,23:105,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:106},t(N,[2,26]),t(a,[2,50],{10:At}),t(Zt,[2,28],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(r,l){if(l.recoverable)this.trace(r);else{var x=new Error(r);throw x.hash=l,x}},"parseError"),parse:o(function(r){var l=this,x=[0],c=[],S=[null],e=[],ut=this.table,s="",yt=0,Jt=0,qe=2,$t=1,be=e.slice.call(arguments,1),D=Object.create(this.lexer),j={yy:{}};for(var Ft in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ft)&&(j.yy[Ft]=this.yy[Ft]);D.setInput(r,j.yy),j.yy.lexer=D,j.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Pt=D.yylloc;e.push(Pt);var Se=D.options&&D.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _e(B){x.length=x.length-2*B,S.length=S.length-B,e.length=e.length-B}o(_e,"popStack");function te(){var B;return B=c.pop()||D.lex()||$t,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=l.symbols_[B]||B),B}o(te,"lex");for(var R,G,W,vt,rt={},Tt,M,ee,mt;;){if(G=x[x.length-1],this.defaultActions[G]?W=this.defaultActions[G]:((R===null||typeof R>"u")&&(R=te()),W=ut[G]&&ut[G][R]),typeof W>"u"||!W.length||!W[0]){var Ct="";mt=[];for(Tt in ut[G])this.terminals_[Tt]&&Tt>qe&&mt.push("'"+this.terminals_[Tt]+"'");D.showPosition?Ct="Parse error on line "+(yt+1)+`:
1
+ import{s as Ae,g as ke,x as ae,v as Fe,a as Pe,b as ve,_ as o,c as Vt,l as bt,k as Lt,d as Ce,D as Le,R as V,j as Ee,V as De}from"./mermaid.core-C9748YDA.js";import{l as ie}from"./linear-ChbPfC31.js";import"./styles-Df9bbQa1.js";import"./step-CkmJJ7wq.js";import"./init-Dmth1JHB.js";import"./defaultLocale-CzDG__Ur.js";var Et=(function(){var t=o(function(Y,r,l,x){for(l=l||{},x=Y.length;x--;l[Y[x]]=r);return l},"o"),n=[1,3],f=[1,4],d=[1,5],h=[1,6],p=[1,7],y=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],_=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],k=[2,36],u=[1,37],T=[1,36],m=[1,38],q=[1,35],b=[1,43],g=[1,41],A=[1,45],ht=[1,14],xt=[1,23],ft=[1,18],gt=[1,19],ct=[1,20],_t=[1,21],dt=[1,22],i=[1,24],zt=[1,25],It=[1,26],wt=[1,27],Rt=[1,28],Bt=[1,29],U=[1,32],Q=[1,33],F=[1,34],P=[1,39],v=[1,40],C=[1,42],L=[1,44],H=[1,63],X=[1,62],E=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],Nt=[1,66],Wt=[1,67],Ut=[1,68],Qt=[1,69],Ot=[1,70],Ht=[1,71],Xt=[1,72],Mt=[1,73],Yt=[1,74],jt=[1,75],Gt=[1,76],Kt=[1,77],w=[4,5,6,7,8,9,10,11,12,13,14,15,18],K=[1,91],Z=[1,92],J=[1,93],$=[1,100],tt=[1,94],et=[1,97],it=[1,95],at=[1,96],nt=[1,98],st=[1,99],At=[1,103],Zt=[10,55,56,57],N=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],kt={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(function(r,l,x,c,S,e,ut){var s=e.length-1;switch(S){case 23:this.$=e[s];break;case 24:this.$=e[s-1]+""+e[s];break;case 26:this.$=e[s-1]+e[s];break;case 27:this.$=[e[s].trim()];break;case 28:e[s-2].push(e[s].trim()),this.$=e[s-2];break;case 29:this.$=e[s-4],c.addClass(e[s-2],e[s]);break;case 37:this.$=[];break;case 42:this.$=e[s].trim(),c.setDiagramTitle(this.$);break;case 43:this.$=e[s].trim(),c.setAccTitle(this.$);break;case 44:case 45:this.$=e[s].trim(),c.setAccDescription(this.$);break;case 46:c.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 47:c.addPoint(e[s-3],"",e[s-1],e[s],[]);break;case 48:c.addPoint(e[s-4],e[s-3],e[s-1],e[s],[]);break;case 49:c.addPoint(e[s-4],"",e[s-2],e[s-1],e[s]);break;case 50:c.addPoint(e[s-5],e[s-4],e[s-2],e[s-1],e[s]);break;case 51:c.setXAxisLeftText(e[s-2]),c.setXAxisRightText(e[s]);break;case 52:e[s-1].text+=" ⟶ ",c.setXAxisLeftText(e[s-1]);break;case 53:c.setXAxisLeftText(e[s]);break;case 54:c.setYAxisBottomText(e[s-2]),c.setYAxisTopText(e[s]);break;case 55:e[s-1].text+=" ⟶ ",c.setYAxisBottomText(e[s-1]);break;case 56:c.setYAxisBottomText(e[s]);break;case 57:c.setQuadrant1Text(e[s]);break;case 58:c.setQuadrant2Text(e[s]);break;case 59:c.setQuadrant3Text(e[s]);break;case 60:c.setQuadrant4Text(e[s]);break;case 64:this.$={text:e[s],type:"text"};break;case 65:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 66:this.$={text:e[s],type:"text"};break;case 67:this.$={text:e[s],type:"markdown"};break;case 68:this.$=e[s];break;case 69:this.$=e[s-1]+""+e[s];break}},"anonymous"),table:[{18:n,26:1,27:2,28:f,55:d,56:h,57:p},{1:[3]},{18:n,26:8,27:2,28:f,55:d,56:h,57:p},{18:n,26:9,27:2,28:f,55:d,56:h,57:p},t(y,[2,33],{29:10}),t(_,[2,61]),t(_,[2,62]),t(_,[2,63]),{1:[2,30]},{1:[2,31]},t(a,k,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:u,5:T,10:m,12:q,13:b,14:g,15:A,18:ht,25:xt,35:ft,37:gt,39:ct,41:_t,42:dt,48:i,50:zt,51:It,52:wt,53:Rt,54:Bt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(y,[2,34]),{27:46,55:d,56:h,57:p},t(a,[2,37]),t(a,k,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:u,5:T,10:m,12:q,13:b,14:g,15:A,18:ht,25:xt,35:ft,37:gt,39:ct,41:_t,42:dt,48:i,50:zt,51:It,52:wt,53:Rt,54:Bt,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},t(a,[2,45]),t(a,[2,46]),{18:[1,51]},{4:u,5:T,10:m,12:q,13:b,14:g,15:A,43:52,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:m,12:q,13:b,14:g,15:A,43:53,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:m,12:q,13:b,14:g,15:A,43:54,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:m,12:q,13:b,14:g,15:A,43:55,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:m,12:q,13:b,14:g,15:A,43:56,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,10:m,12:q,13:b,14:g,15:A,43:57,58:31,60:U,61:Q,63:F,64:P,65:v,66:C,67:L},{4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,44:[1,58],47:[1,59],58:61,59:60,63:F,64:P,65:v,66:C,67:L},t(E,[2,64]),t(E,[2,66]),t(E,[2,67]),t(E,[2,70]),t(E,[2,71]),t(E,[2,72]),t(E,[2,73]),t(E,[2,74]),t(E,[2,75]),t(E,[2,76]),t(E,[2,77]),t(E,[2,78]),t(E,[2,79]),t(E,[2,80]),t(E,[2,81]),t(y,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:65,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Ht,10:Xt,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,21:64},t(a,[2,53],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,49:[1,78],63:F,64:P,65:v,66:C,67:L}),t(a,[2,56],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,49:[1,79],63:F,64:P,65:v,66:C,67:L}),t(a,[2,57],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,63:F,64:P,65:v,66:C,67:L}),t(a,[2,58],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,63:F,64:P,65:v,66:C,67:L}),t(a,[2,59],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,63:F,64:P,65:v,66:C,67:L}),t(a,[2,60],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,63:F,64:P,65:v,66:C,67:L}),{45:[1,80]},{44:[1,81]},t(E,[2,65]),t(E,[2,82]),t(E,[2,83]),t(E,[2,84]),{3:83,4:Nt,5:Wt,6:Ut,7:Qt,8:Ot,9:Ht,10:Xt,11:Mt,12:Yt,13:jt,14:Gt,15:Kt,18:[1,82]},t(w,[2,23]),t(w,[2,1]),t(w,[2,2]),t(w,[2,3]),t(w,[2,4]),t(w,[2,5]),t(w,[2,6]),t(w,[2,7]),t(w,[2,8]),t(w,[2,9]),t(w,[2,10]),t(w,[2,11]),t(w,[2,12]),t(a,[2,52],{58:31,43:84,4:u,5:T,10:m,12:q,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),t(a,[2,55],{58:31,43:85,4:u,5:T,10:m,12:q,13:b,14:g,15:A,60:U,61:Q,63:F,64:P,65:v,66:C,67:L}),{46:[1,86]},{45:[1,87]},{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:89,23:88},t(w,[2,24]),t(a,[2,51],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,63:F,64:P,65:v,66:C,67:L}),t(a,[2,54],{59:60,58:61,4:u,5:T,8:H,10:m,12:q,13:b,14:g,15:A,18:X,63:F,64:P,65:v,66:C,67:L}),t(a,[2,47],{22:89,16:90,23:101,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{46:[1,102]},t(a,[2,29],{10:At}),t(Zt,[2,27],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),t(N,[2,25]),t(N,[2,13]),t(N,[2,14]),t(N,[2,15]),t(N,[2,16]),t(N,[2,17]),t(N,[2,18]),t(N,[2,19]),t(N,[2,20]),t(N,[2,21]),t(N,[2,22]),t(a,[2,49],{10:At}),t(a,[2,48],{22:89,16:90,23:105,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st}),{4:K,5:Z,6:J,8:$,11:tt,13:et,16:90,17:it,18:at,19:nt,20:st,22:106},t(N,[2,26]),t(a,[2,50],{10:At}),t(Zt,[2,28],{16:104,4:K,5:Z,6:J,8:$,11:tt,13:et,17:it,18:at,19:nt,20:st})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(r,l){if(l.recoverable)this.trace(r);else{var x=new Error(r);throw x.hash=l,x}},"parseError"),parse:o(function(r){var l=this,x=[0],c=[],S=[null],e=[],ut=this.table,s="",yt=0,Jt=0,qe=2,$t=1,be=e.slice.call(arguments,1),D=Object.create(this.lexer),j={yy:{}};for(var Ft in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ft)&&(j.yy[Ft]=this.yy[Ft]);D.setInput(r,j.yy),j.yy.lexer=D,j.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Pt=D.yylloc;e.push(Pt);var Se=D.options&&D.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _e(B){x.length=x.length-2*B,S.length=S.length-B,e.length=e.length-B}o(_e,"popStack");function te(){var B;return B=c.pop()||D.lex()||$t,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=l.symbols_[B]||B),B}o(te,"lex");for(var R,G,W,vt,rt={},Tt,M,ee,mt;;){if(G=x[x.length-1],this.defaultActions[G]?W=this.defaultActions[G]:((R===null||typeof R>"u")&&(R=te()),W=ut[G]&&ut[G][R]),typeof W>"u"||!W.length||!W[0]){var Ct="";mt=[];for(Tt in ut[G])this.terminals_[Tt]&&Tt>qe&&mt.push("'"+this.terminals_[Tt]+"'");D.showPosition?Ct="Parse error on line "+(yt+1)+`:
2
2
  `+D.showPosition()+`
3
3
  Expecting `+mt.join(", ")+", got '"+(this.terminals_[R]||R)+"'":Ct="Parse error on line "+(yt+1)+": Unexpected "+(R==$t?"end of input":"'"+(this.terminals_[R]||R)+"'"),this.parseError(Ct,{text:D.match,token:this.terminals_[R]||R,line:D.yylineno,loc:Pt,expected:mt})}if(W[0]instanceof Array&&W.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+R);switch(W[0]){case 1:x.push(R),S.push(D.yytext),e.push(D.yylloc),x.push(W[1]),R=null,Jt=D.yyleng,s=D.yytext,yt=D.yylineno,Pt=D.yylloc;break;case 2:if(M=this.productions_[W[1]][1],rt.$=S[S.length-M],rt._$={first_line:e[e.length-(M||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(M||1)].first_column,last_column:e[e.length-1].last_column},Se&&(rt._$.range=[e[e.length-(M||1)].range[0],e[e.length-1].range[1]]),vt=this.performAction.apply(rt,[s,Jt,yt,j.yy,W[1],S,e].concat(be)),typeof vt<"u")return vt;M&&(x=x.slice(0,-1*M*2),S=S.slice(0,-1*M),e=e.slice(0,-1*M)),x.push(this.productions_[W[1]][0]),S.push(rt.$),e.push(rt._$),ee=ut[x[x.length-2]][x[x.length-1]],x.push(ee);break;case 3:return!0}}return!0},"parse")},me=(function(){var Y={EOF:1,parseError:o(function(l,x){if(this.yy.parser)this.yy.parser.parseError(l,x);else throw new Error(l)},"parseError"),setInput:o(function(r,l){return this.yy=l||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var l=r.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:o(function(r){var l=r.length,x=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var c=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),x.length-1&&(this.yylineno-=x.length-1);var S=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:x?(x.length===c.length?this.yylloc.first_column:0)+c[c.length-x.length].length-x[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(r){this.unput(this.match.slice(r))},"less"),pastInput:o(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var r=this.pastInput(),l=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{s,v as t,w as n,r as o,x as r,j as e,y as i,z as c,B as l,D as d,E as u,F as h,G as m,H as p,P as g}from"./styles-BffiNBq-.js";import{h as x,D as f,i as j,A as y}from"./PlacesRail-CxT7ATSb.js";import"./monitor-fSDrciab.js";function b(){s(t(n(),void 0)),o.useEffect(()=>window.ogb?.rail?.onSkin?.(r),[]);const a=x();return e.jsxs(f,{children:[e.jsx("div",{"data-chrome-rail":!0,className:"h-full",children:e.jsx(j,{chrome:!0})}),a.open&&e.jsx(y,{onClose:a.close})]})}window.ogb?.rail?.expand?(i(),c(l()),d(u()),document.documentElement.style.background=document.body.style.background="transparent",Promise.all([h(),m()]).then(()=>{p.createRoot(document.getElementById("root")).render(e.jsx(o.StrictMode,{children:e.jsx(g,{children:e.jsx(b,{})})}))})):location.replace(`/${location.search}${location.hash}`);
1
+ import{s,v as t,w as n,r as o,x as r,j as e,y as i,z as c,B as l,D as d,E as u,F as h,G as m,H as p,P as g}from"./styles-Df9bbQa1.js";import{h as x,D as f,i as j,A as y}from"./PlacesRail-0dNv7oZB.js";import"./monitor-saVltJVe.js";function b(){s(t(n(),void 0)),o.useEffect(()=>window.ogb?.rail?.onSkin?.(r),[]);const a=x();return e.jsxs(f,{children:[e.jsx("div",{"data-chrome-rail":!0,className:"h-full",children:e.jsx(j,{chrome:!0})}),a.open&&e.jsx(y,{onClose:a.close})]})}window.ogb?.rail?.expand?(i(),c(l()),d(u()),document.documentElement.style.background=document.body.style.background="transparent",Promise.all([h(),m()]).then(()=>{p.createRoot(document.getElementById("root")).render(e.jsx(o.StrictMode,{children:e.jsx(g,{children:e.jsx(b,{})})}))})):location.replace(`/${location.search}${location.hash}`);
@@ -1 +1 @@
1
- import{g as s,r as l,d as t}from"./chunk-AW2ZBBNX-Dq5hnl_T.js";import{p as m}from"./chunk-JWPE2WC7-9G7Ov5oO.js";import{_ as n,l as i}from"./mermaid.core-6s7iUTmY.js";import{M as p,c as u}from"./cynefin-EF2NZ3EQ-DW3N3IPQ.js";import"./styles-BffiNBq-.js";import"./step-CkmJJ7wq.js";var d=u().Railroad.parser.LangiumParser,a=n(e=>{switch(e.$type){case"RailroadTerminalExpr":return{type:"terminal",value:e.value};case"RailroadNonTerminalExpr":return{type:"nonterminal",name:e.name};case"RailroadSpecialExpr":return{type:"special",text:e.text};case"RailroadSequenceExpr":{const r=e.elements.map(a);return r.length===1?r[0]:{type:"sequence",elements:r}}case"RailroadChoiceExpr":{const r=e.alternatives.map(a);return r.length===1?r[0]:{type:"choice",alternatives:r}}case"RailroadOptionalExpr":return{type:"optional",element:a(e.element)};case"RailroadOneOrMoreExpr":return{type:"repetition",element:a(e.element),min:1,max:1/0};case"RailroadZeroOrMoreExpr":return{type:"repetition",element:a(e.element),min:0,max:1/0};default:throw new Error(`Unsupported railroad expression: ${e.$type}`)}},"transformExpression"),c=n(e=>({name:e.name,definition:a(e.definition)}),"transformRule"),g=n(e=>{m(e,t),e.title&&t.setTitle(e.title),e.rules.map(r=>t.addRule(c(r)))},"populateDb"),y={parse:n(e=>{t.clear(),i.debug("[Railroad Parser] Starting Langium parse");const r=d.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new p(r);const o=r.value;i.debug("[Railroad Parser] Parsed rules:",o.rules.length),g(o),i.debug("[Railroad Parser] Parse complete")},"parse"),parser:{yy:t}},P={parser:y,db:t,renderer:l,styles:s};export{P as diagram};
1
+ import{g as s,r as l,d as t}from"./chunk-AW2ZBBNX-DTVjfWfo.js";import{p as m}from"./chunk-JWPE2WC7-Dl30Op6i.js";import{_ as n,l as i}from"./mermaid.core-C9748YDA.js";import{M as p,c as u}from"./cynefin-EF2NZ3EQ-rM_Vx_Nc.js";import"./styles-Df9bbQa1.js";import"./step-CkmJJ7wq.js";var d=u().Railroad.parser.LangiumParser,a=n(e=>{switch(e.$type){case"RailroadTerminalExpr":return{type:"terminal",value:e.value};case"RailroadNonTerminalExpr":return{type:"nonterminal",name:e.name};case"RailroadSpecialExpr":return{type:"special",text:e.text};case"RailroadSequenceExpr":{const r=e.elements.map(a);return r.length===1?r[0]:{type:"sequence",elements:r}}case"RailroadChoiceExpr":{const r=e.alternatives.map(a);return r.length===1?r[0]:{type:"choice",alternatives:r}}case"RailroadOptionalExpr":return{type:"optional",element:a(e.element)};case"RailroadOneOrMoreExpr":return{type:"repetition",element:a(e.element),min:1,max:1/0};case"RailroadZeroOrMoreExpr":return{type:"repetition",element:a(e.element),min:0,max:1/0};default:throw new Error(`Unsupported railroad expression: ${e.$type}`)}},"transformExpression"),c=n(e=>({name:e.name,definition:a(e.definition)}),"transformRule"),g=n(e=>{m(e,t),e.title&&t.setTitle(e.title),e.rules.map(r=>t.addRule(c(r)))},"populateDb"),y={parse:n(e=>{t.clear(),i.debug("[Railroad Parser] Starting Langium parse");const r=d.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new p(r);const o=r.value;i.debug("[Railroad Parser] Parsed rules:",o.rules.length),g(o),i.debug("[Railroad Parser] Parse complete")},"parse"),parser:{yy:t}},P={parser:y,db:t,renderer:l,styles:s};export{P as diagram};
@@ -1 +1 @@
1
- import{r as i,j as e,t as n,a as B,X as _,p as K,i as y}from"./styles-BffiNBq-.js";import{b as Q,r as Z,i as ee}from"./remote-desktop-DDRRx8uY.js";import{u as te,L as C,P as se}from"./PlacesRail-CxT7ATSb.js";import{u as ne,B as re}from"./BrowserPanel-ClldymIL.js";import{u as ae,o as ie,t as oe,G as le,p as ce,q as U,v as de,w as ue,n as b,A as pe,x as me,y as xe}from"./App-5ImTEsbf.js";import{R as fe}from"./RoutinesPage-DAU4E5QH.js";import{M as F}from"./monitor-fSDrciab.js";import{C as he}from"./calendar-days-CgDcDbmR.js";import"./BrowserProfilesManager-CWHmWa18.js";import"./index-B8UoQvam.js";import"./SignedInSites-DVzh6Sgy.js";import"./minimize-BXPLizAB.js";import"./file-up-C-rFTv9c.js";import"./MenuMotion-DIzo9CWe.js";import"./ProIntroduction-iQa0Iqvq.js";function ge(t){if(typeof t!="string"||!t)throw new Error(n("remoteDesktop.noLink"));return t.startsWith("/vps-viewer/")?new URL(t,window.location.origin).toString():t}function be(t){if(t.schedule.type==="cron"||t.schedule.type==="limit_reset")return me(t.schedule);if(t.schedule.type==="once")return new Date(t.schedule.at).toLocaleString(y(),{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"});if(t.schedule.type==="interval"){const d=t.schedule.everyMinutes%60===0?n("routines.interval.hours",{hours:t.schedule.everyMinutes/60}):n("routines.interval.minutes",{minutes:t.schedule.everyMinutes});return n("remoteDesktop.startingAt",{cadence:d,date:new Date(t.schedule.anchorAt).toLocaleString(y(),{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"})})}const r=t.schedule.weekdays,l=r.length===7?n("routines.repeat.daily"):r.join(",")==="1,2,3,4,5"?n("routines.repeat.weekdays"):r.map(xe).join(", "),[w,k]=t.schedule.time.split(":").map(Number);return`${l} · ${new Date(2e3,0,1,w,k).toLocaleTimeString(y(),{hour:"numeric",minute:"2-digit"})}`}function ye(t){if(t==null)return n("routines.pausedSchedule");const r=new Date(t),l=new Date;return`${r.toDateString()===l.toDateString()?n("routines.today"):r.toLocaleDateString(y(),{month:"short",day:"numeric"})}, ${r.toLocaleTimeString(y(),{hour:"numeric",minute:"2-digit"})}`}function Oe({bot:t}){const{state:r,dispatch:l}=ae(),{dragProps:w}=te(),k=ie(t.id),[d,I]=i.useState(!1),[v,j]=i.useState(null),[p,R]=i.useState(null),[M,D]=i.useState(!0),[H,m]=i.useState(!1),[P,E]=i.useState(!1),A=ne(),L=i.useRef(t.busy);i.useEffect(()=>{L.current=t.busy},[t.busy]);const[G,z]=i.useState(!1),[x,O]=i.useState(()=>oe(t.id)?"browser":"desktop"),[J,W]=i.useState(),u=r.computerControl[t.id]?.help??null,q=u?r.bots.find(s=>s.id===u.botId)?.name??t.name:t.name,c=r.signInFocus?.botId===t.id?r.signInFocus:void 0;i.useEffect(()=>{!c||c.consumed||(O(c.place==="browser"?"browser":"desktop"),c.place==="browser"&&W({url:c.url,site:c.site,nonce:c.requestId}),l({type:"signInFocusConsumed",requestId:c.requestId}))},[l,c]);const N=r.routines.filter(s=>s.botId===t.id).sort((s,a)=>Number(a.enabled)-Number(s.enabled)||(s.nextRunAt??1/0)-(a.nextRunAt??1/0)),f=r.routineRuns.find(s=>s.botId===t.id&&["queued","running","waiting"].includes(s.status)),X=!!(r.config?.box.configured&&Q(r.instances,t.modelSelection.instanceId)?.snapshot.state==="available");i.useEffect(()=>{R(null),D(!0),m(!1)},[t.id]),i.useEffect(()=>{const s=window.ogb?.desktopViewer;if(!s)return;let a=!0;s.currentState().then(o=>{a&&E(o.open&&o.contextId===t.id)}).catch(()=>{});const h=s.onState(o=>{(o.contextId===t.id||!o.open)&&E(o.open&&o.contextId===t.id)});return()=>{a=!1,h()}},[t.id]),i.useEffect(()=>{if(x!=="desktop"||!A||P||d)return;const s=new AbortController;let a=!1,h=-1/0,o=null,S=null;const $=async()=>{if(!(a||s.signal.aborted)&&!(Date.now()-h<(o??(L.current?4e3:3e4)))){a=!0,o=null;try{const g=Z(await b(`/api/bots/${t.id}/computer/screenshot`,{method:"POST",body:"{}",signal:AbortSignal.any([s.signal,AbortSignal.timeout(9e4)])}));!s.signal.aborted&&g?(R(g),m(!1),S=null):s.signal.aborted||m(!0)}catch(g){if(!s.signal.aborted)if(g instanceof pe&&ee(g)){o=1e3,S??=Date.now();const T=Date.now()-S>=1e4;m(T),D(!T)}else S=null,m(!0)}finally{!s.signal.aborted&&o===null&&D(!1),a=!1,h=Date.now()}}};$();const Y=window.setInterval($,1e3);return()=>{s.abort(),window.clearInterval(Y)}},[t.id,A,P,d,x]);const V=async()=>{I(!0),j(null);let s=!1;try{if(!window.ogb?.desktopViewer)throw new Error(n("remoteDesktop.viewerUnavailable"));await b(`/api/bots/${t.id}/computer/control`,{method:"POST",body:JSON.stringify({action:"take"})}),s=!0;const a=await b(`/api/bots/${t.id}/computer/join`,{method:"POST",body:"{}"});if(!await window.ogb.desktopViewer.open(ge(a.joinUrl),n("computer.viewerTitle",{name:t.name}),t.id))throw new Error(n("computer.err.openDesktop",{app:K()}))}catch(a){s&&await b(`/api/bots/${t.id}/computer/control`,{method:"POST",body:JSON.stringify({action:"release"})}).catch(()=>{}),await b(`/api/bots/${t.id}/computer/viewer-close`,{method:"POST",body:"{}"}).catch(()=>{}),j(a instanceof Error?a.message:String(a))}finally{I(!1)}};return e.jsxs("aside",{className:"relative z-20 flex h-full w-[400px] shrink-0 flex-col border-l border-hairline bg-panel",ref:k,"data-computer-panel":!0,children:[e.jsxs("div",{...w,className:"flex items-center justify-between border-b border-hairline px-5 py-4",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[14px] font-medium text-ink",children:n("remoteDesktop.title",{name:t.name})}),e.jsx("div",{className:"mt-0.5 text-[11px] text-ink-secondary",children:n(t.cloudBackend==="vps"?"botAccess.cloud.selfHostedVps":"remoteDesktop.cloudDesktop")})]}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("div",{className:"flex rounded-full bg-inset p-0.5","aria-label":n("computer.tabsAria"),children:["desktop","browser"].map(s=>e.jsxs("button",{type:"button",onClick:()=>O(s),"aria-pressed":x===s,className:B("flex items-center gap-1 rounded-full px-2.5 py-1 text-[12px]",x===s?"bg-card text-ink shadow-sm":"text-ink-secondary hover:text-ink"),children:[s==="desktop"?e.jsx(F,{size:12}):e.jsx(le,{size:12}),n(s==="desktop"?"remoteDesktop.desktop":"place.browser")]},s))}),e.jsx("button",{type:"button","data-computer-panel-close":!0,onClick:()=>{ce(k.current,t.id),l({type:"toggleComputer",open:!1})},className:"rounded-md p-1 text-ink-secondary hover:bg-control hover:text-ink","aria-label":n("remoteDesktop.close"),children:e.jsx(_,{size:18})})]})]}),x==="browser"?e.jsxs("div",{className:"flex min-h-0 flex-1 flex-col px-4 pb-4 pt-1",children:[u?.place==="browser"&&e.jsx("div",{className:"-mt-2 mb-3",children:e.jsx(U,{help:u,askerName:q,onError:j})}),e.jsx(re,{bot:t,signIn:J}),v&&e.jsx("div",{role:"alert",className:"mt-2 rounded-lg border border-danger/30 bg-danger/10 px-3 py-2 text-[12px] text-danger",children:v}),e.jsx("p",{className:"mt-2 text-[11px] leading-relaxed text-ink-secondary",children:n("remoteDesktop.browserHint")})]}):e.jsxs("div",{className:"flex flex-1 flex-col items-center gap-4 overflow-y-auto px-6 py-5 text-center",children:[u&&u.place!=="browser"&&e.jsx("div",{className:"-mt-3 w-full",children:e.jsx(U,{help:u,askerName:q,onError:j})}),e.jsxs("button",{type:"button",onClick:()=>{V()},disabled:d||!p,className:"group relative flex aspect-video w-full items-center justify-center overflow-hidden rounded-xl border border-hairline bg-black disabled:cursor-default","aria-label":p?n("computer.openLiveDesktopAria",{name:t.name}):n("remoteDesktop.previewUnavailableLabel"),children:[p?e.jsx("img",{src:p,alt:n("remoteDesktop.previewAlt",{name:t.name}),className:"h-full w-full object-contain"}):M?e.jsx(C,{size:22,className:"animate-spin text-ink-secondary"}):e.jsxs("div",{className:"flex flex-col items-center gap-2 text-ink-secondary",children:[e.jsx(de,{size:24}),e.jsx("span",{className:"text-[11px]",children:n(H?"remoteDesktop.previewUnavailable":"remoteDesktop.previewWaiting")})]}),p&&e.jsx("span",{className:"absolute inset-x-0 bottom-0 bg-black/65 py-2 text-[11px] font-medium text-white opacity-0 transition-opacity group-hover:opacity-100",children:n("computer.openLiveDesktop")})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-[14px] font-medium text-ink",children:n("remoteDesktop.openLive")}),e.jsx("p",{className:"mt-2 text-[12px] leading-relaxed text-ink-secondary",children:n("remoteDesktop.relayHint")})]}),e.jsxs("button",{type:"button",onClick:()=>{V()},disabled:d,className:"flex w-full items-center justify-center gap-2 rounded-lg bg-accent px-4 py-2.5 text-[13px] font-medium text-white hover:brightness-110 disabled:opacity-50",children:[d?e.jsx(C,{size:15,className:"animate-spin"}):e.jsx(F,{size:15}),n(d?"settings.updates.opening":"computer.takeControl")]}),v&&e.jsx("div",{role:"alert",className:"w-full rounded-lg border border-danger/30 bg-danger/10 px-3 py-2 text-left text-[12px] text-danger",children:v}),e.jsx("p",{className:"text-[11px] leading-relaxed text-ink-secondary",children:n("remoteDesktop.accessHint")}),e.jsxs("div",{className:"w-full rounded-xl bg-card p-4 text-left",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[15px] font-medium text-ink",children:[e.jsx(ue,{size:16,className:"text-accent"}),n("computer.routines.title")]}),N.length>0&&e.jsx("span",{className:"rounded-full bg-control px-2 py-0.5 text-[10px] font-medium text-ink-secondary",children:N.length})]}),f&&e.jsxs("button",{type:"button",onClick:()=>l({type:"showRoutines"}),className:"mt-3 flex w-full items-center gap-2 rounded-lg border border-accent/25 bg-accent/10 px-3 py-2 text-left text-[12px] text-accent hover:bg-accent/15",children:[e.jsx(C,{size:13,className:f.status==="queued"?"":"animate-spin"}),e.jsxs("span",{className:"min-w-0 flex-1 truncate",children:[f.routineName," · ",n(f.status==="waiting"?"computer.routines.needsYou":f.status==="queued"?"computer.runStatus.queued":"computer.runStatus.running")]})]}),N.length>0&&e.jsx("div",{className:"mt-3 space-y-1.5",children:N.slice(0,3).map(s=>e.jsxs("button",{type:"button",onClick:()=>l({type:"showRoutines"}),className:"flex w-full items-center gap-2 rounded-lg bg-inset px-3 py-2 text-left hover:bg-control/60",children:[e.jsx("span",{className:B("size-1.5 shrink-0 rounded-full",s.enabled?"bg-success":"bg-ink-secondary/40")}),e.jsxs("span",{className:"min-w-0 flex-1",children:[e.jsx("span",{className:"block truncate text-[13px] font-medium text-ink",children:s.name}),e.jsxs("span",{className:"block truncate text-[11px] text-ink-secondary",children:[be(s),s.runOn==="cloud"?` · ${n("remoteDesktop.runsOnVm")}`:""]})]}),e.jsx("span",{className:"shrink-0 text-[10px] text-ink-secondary",children:ye(s.nextRunAt)})]},s.id))}),e.jsxs("div",{className:"mt-3 flex gap-2",children:[e.jsxs("button",{type:"button",onClick:()=>z(!0),className:"flex flex-1 items-center justify-center gap-1.5 rounded-lg bg-accent py-2 text-[13px] font-medium text-white hover:brightness-110",children:[e.jsx(se,{size:14}),n("computer.routines.create")]}),e.jsxs("button",{type:"button",onClick:()=>l({type:"showRoutines"}),className:"flex items-center justify-center gap-1.5 rounded-lg bg-control px-3 py-2 text-[13px] text-ink hover:bg-raised-hover",title:n("computer.routines.openTitle"),children:[e.jsx(he,{size:14}),n("computer.routines.schedules")]})]})]})]}),G&&e.jsx(fe,{bots:[t],lockedBotId:t.id,defaultRunOn:X?"cloud":"maus",onClose:()=>z(!1)})]})}export{Oe as RemoteDesktopPanel};
1
+ import{r as i,j as e,t as n,a as B,X as _,p as K,i as y}from"./styles-Df9bbQa1.js";import{b as Q,r as Z,i as ee}from"./remote-desktop-DDRRx8uY.js";import{u as te,L as C,P as se}from"./PlacesRail-0dNv7oZB.js";import{u as ne,B as re}from"./BrowserPanel-DD7r9HOn.js";import{u as ae,o as ie,t as oe,G as le,p as ce,q as U,v as de,w as ue,n as b,A as pe,x as me,y as xe}from"./App-B88ABHQh.js";import{R as fe}from"./RoutinesPage-D7e6qR1n.js";import{M as F}from"./monitor-saVltJVe.js";import{C as he}from"./calendar-days-DlTxBFXF.js";import"./BrowserProfilesManager-D1rUYWVD.js";import"./index-BiSZ69F2.js";import"./SignedInSites-CVRfJGQY.js";import"./minimize-DxmLA74X.js";import"./file-up-DY1vL6py.js";import"./MenuMotion-vm5ldfak.js";import"./ProIntroduction-B7TckG4N.js";function ge(t){if(typeof t!="string"||!t)throw new Error(n("remoteDesktop.noLink"));return t.startsWith("/vps-viewer/")?new URL(t,window.location.origin).toString():t}function be(t){if(t.schedule.type==="cron"||t.schedule.type==="limit_reset")return me(t.schedule);if(t.schedule.type==="once")return new Date(t.schedule.at).toLocaleString(y(),{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"});if(t.schedule.type==="interval"){const d=t.schedule.everyMinutes%60===0?n("routines.interval.hours",{hours:t.schedule.everyMinutes/60}):n("routines.interval.minutes",{minutes:t.schedule.everyMinutes});return n("remoteDesktop.startingAt",{cadence:d,date:new Date(t.schedule.anchorAt).toLocaleString(y(),{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"})})}const r=t.schedule.weekdays,l=r.length===7?n("routines.repeat.daily"):r.join(",")==="1,2,3,4,5"?n("routines.repeat.weekdays"):r.map(xe).join(", "),[w,k]=t.schedule.time.split(":").map(Number);return`${l} · ${new Date(2e3,0,1,w,k).toLocaleTimeString(y(),{hour:"numeric",minute:"2-digit"})}`}function ye(t){if(t==null)return n("routines.pausedSchedule");const r=new Date(t),l=new Date;return`${r.toDateString()===l.toDateString()?n("routines.today"):r.toLocaleDateString(y(),{month:"short",day:"numeric"})}, ${r.toLocaleTimeString(y(),{hour:"numeric",minute:"2-digit"})}`}function Oe({bot:t}){const{state:r,dispatch:l}=ae(),{dragProps:w}=te(),k=ie(t.id),[d,I]=i.useState(!1),[v,j]=i.useState(null),[p,R]=i.useState(null),[M,D]=i.useState(!0),[H,m]=i.useState(!1),[P,E]=i.useState(!1),A=ne(),L=i.useRef(t.busy);i.useEffect(()=>{L.current=t.busy},[t.busy]);const[G,z]=i.useState(!1),[x,O]=i.useState(()=>oe(t.id)?"browser":"desktop"),[J,W]=i.useState(),u=r.computerControl[t.id]?.help??null,q=u?r.bots.find(s=>s.id===u.botId)?.name??t.name:t.name,c=r.signInFocus?.botId===t.id?r.signInFocus:void 0;i.useEffect(()=>{!c||c.consumed||(O(c.place==="browser"?"browser":"desktop"),c.place==="browser"&&W({url:c.url,site:c.site,nonce:c.requestId}),l({type:"signInFocusConsumed",requestId:c.requestId}))},[l,c]);const N=r.routines.filter(s=>s.botId===t.id).sort((s,a)=>Number(a.enabled)-Number(s.enabled)||(s.nextRunAt??1/0)-(a.nextRunAt??1/0)),f=r.routineRuns.find(s=>s.botId===t.id&&["queued","running","waiting"].includes(s.status)),X=!!(r.config?.box.configured&&Q(r.instances,t.modelSelection.instanceId)?.snapshot.state==="available");i.useEffect(()=>{R(null),D(!0),m(!1)},[t.id]),i.useEffect(()=>{const s=window.ogb?.desktopViewer;if(!s)return;let a=!0;s.currentState().then(o=>{a&&E(o.open&&o.contextId===t.id)}).catch(()=>{});const h=s.onState(o=>{(o.contextId===t.id||!o.open)&&E(o.open&&o.contextId===t.id)});return()=>{a=!1,h()}},[t.id]),i.useEffect(()=>{if(x!=="desktop"||!A||P||d)return;const s=new AbortController;let a=!1,h=-1/0,o=null,S=null;const $=async()=>{if(!(a||s.signal.aborted)&&!(Date.now()-h<(o??(L.current?4e3:3e4)))){a=!0,o=null;try{const g=Z(await b(`/api/bots/${t.id}/computer/screenshot`,{method:"POST",body:"{}",signal:AbortSignal.any([s.signal,AbortSignal.timeout(9e4)])}));!s.signal.aborted&&g?(R(g),m(!1),S=null):s.signal.aborted||m(!0)}catch(g){if(!s.signal.aborted)if(g instanceof pe&&ee(g)){o=1e3,S??=Date.now();const T=Date.now()-S>=1e4;m(T),D(!T)}else S=null,m(!0)}finally{!s.signal.aborted&&o===null&&D(!1),a=!1,h=Date.now()}}};$();const Y=window.setInterval($,1e3);return()=>{s.abort(),window.clearInterval(Y)}},[t.id,A,P,d,x]);const V=async()=>{I(!0),j(null);let s=!1;try{if(!window.ogb?.desktopViewer)throw new Error(n("remoteDesktop.viewerUnavailable"));await b(`/api/bots/${t.id}/computer/control`,{method:"POST",body:JSON.stringify({action:"take"})}),s=!0;const a=await b(`/api/bots/${t.id}/computer/join`,{method:"POST",body:"{}"});if(!await window.ogb.desktopViewer.open(ge(a.joinUrl),n("computer.viewerTitle",{name:t.name}),t.id))throw new Error(n("computer.err.openDesktop",{app:K()}))}catch(a){s&&await b(`/api/bots/${t.id}/computer/control`,{method:"POST",body:JSON.stringify({action:"release"})}).catch(()=>{}),await b(`/api/bots/${t.id}/computer/viewer-close`,{method:"POST",body:"{}"}).catch(()=>{}),j(a instanceof Error?a.message:String(a))}finally{I(!1)}};return e.jsxs("aside",{className:"relative z-20 flex h-full w-[400px] shrink-0 flex-col border-l border-hairline bg-panel",ref:k,"data-computer-panel":!0,children:[e.jsxs("div",{...w,className:"flex items-center justify-between border-b border-hairline px-5 py-4",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[14px] font-medium text-ink",children:n("remoteDesktop.title",{name:t.name})}),e.jsx("div",{className:"mt-0.5 text-[11px] text-ink-secondary",children:n(t.cloudBackend==="vps"?"botAccess.cloud.selfHostedVps":"remoteDesktop.cloudDesktop")})]}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("div",{className:"flex rounded-full bg-inset p-0.5","aria-label":n("computer.tabsAria"),children:["desktop","browser"].map(s=>e.jsxs("button",{type:"button",onClick:()=>O(s),"aria-pressed":x===s,className:B("flex items-center gap-1 rounded-full px-2.5 py-1 text-[12px]",x===s?"bg-card text-ink shadow-sm":"text-ink-secondary hover:text-ink"),children:[s==="desktop"?e.jsx(F,{size:12}):e.jsx(le,{size:12}),n(s==="desktop"?"remoteDesktop.desktop":"place.browser")]},s))}),e.jsx("button",{type:"button","data-computer-panel-close":!0,onClick:()=>{ce(k.current,t.id),l({type:"toggleComputer",open:!1})},className:"rounded-md p-1 text-ink-secondary hover:bg-control hover:text-ink","aria-label":n("remoteDesktop.close"),children:e.jsx(_,{size:18})})]})]}),x==="browser"?e.jsxs("div",{className:"flex min-h-0 flex-1 flex-col px-4 pb-4 pt-1",children:[u?.place==="browser"&&e.jsx("div",{className:"-mt-2 mb-3",children:e.jsx(U,{help:u,askerName:q,onError:j})}),e.jsx(re,{bot:t,signIn:J}),v&&e.jsx("div",{role:"alert",className:"mt-2 rounded-lg border border-danger/30 bg-danger/10 px-3 py-2 text-[12px] text-danger",children:v}),e.jsx("p",{className:"mt-2 text-[11px] leading-relaxed text-ink-secondary",children:n("remoteDesktop.browserHint")})]}):e.jsxs("div",{className:"flex flex-1 flex-col items-center gap-4 overflow-y-auto px-6 py-5 text-center",children:[u&&u.place!=="browser"&&e.jsx("div",{className:"-mt-3 w-full",children:e.jsx(U,{help:u,askerName:q,onError:j})}),e.jsxs("button",{type:"button",onClick:()=>{V()},disabled:d||!p,className:"group relative flex aspect-video w-full items-center justify-center overflow-hidden rounded-xl border border-hairline bg-black disabled:cursor-default","aria-label":p?n("computer.openLiveDesktopAria",{name:t.name}):n("remoteDesktop.previewUnavailableLabel"),children:[p?e.jsx("img",{src:p,alt:n("remoteDesktop.previewAlt",{name:t.name}),className:"h-full w-full object-contain"}):M?e.jsx(C,{size:22,className:"animate-spin text-ink-secondary"}):e.jsxs("div",{className:"flex flex-col items-center gap-2 text-ink-secondary",children:[e.jsx(de,{size:24}),e.jsx("span",{className:"text-[11px]",children:n(H?"remoteDesktop.previewUnavailable":"remoteDesktop.previewWaiting")})]}),p&&e.jsx("span",{className:"absolute inset-x-0 bottom-0 bg-black/65 py-2 text-[11px] font-medium text-white opacity-0 transition-opacity group-hover:opacity-100",children:n("computer.openLiveDesktop")})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-[14px] font-medium text-ink",children:n("remoteDesktop.openLive")}),e.jsx("p",{className:"mt-2 text-[12px] leading-relaxed text-ink-secondary",children:n("remoteDesktop.relayHint")})]}),e.jsxs("button",{type:"button",onClick:()=>{V()},disabled:d,className:"flex w-full items-center justify-center gap-2 rounded-lg bg-accent px-4 py-2.5 text-[13px] font-medium text-white hover:brightness-110 disabled:opacity-50",children:[d?e.jsx(C,{size:15,className:"animate-spin"}):e.jsx(F,{size:15}),n(d?"settings.updates.opening":"computer.takeControl")]}),v&&e.jsx("div",{role:"alert",className:"w-full rounded-lg border border-danger/30 bg-danger/10 px-3 py-2 text-left text-[12px] text-danger",children:v}),e.jsx("p",{className:"text-[11px] leading-relaxed text-ink-secondary",children:n("remoteDesktop.accessHint")}),e.jsxs("div",{className:"w-full rounded-xl bg-card p-4 text-left",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[15px] font-medium text-ink",children:[e.jsx(ue,{size:16,className:"text-accent"}),n("computer.routines.title")]}),N.length>0&&e.jsx("span",{className:"rounded-full bg-control px-2 py-0.5 text-[10px] font-medium text-ink-secondary",children:N.length})]}),f&&e.jsxs("button",{type:"button",onClick:()=>l({type:"showRoutines"}),className:"mt-3 flex w-full items-center gap-2 rounded-lg border border-accent/25 bg-accent/10 px-3 py-2 text-left text-[12px] text-accent hover:bg-accent/15",children:[e.jsx(C,{size:13,className:f.status==="queued"?"":"animate-spin"}),e.jsxs("span",{className:"min-w-0 flex-1 truncate",children:[f.routineName," · ",n(f.status==="waiting"?"computer.routines.needsYou":f.status==="queued"?"computer.runStatus.queued":"computer.runStatus.running")]})]}),N.length>0&&e.jsx("div",{className:"mt-3 space-y-1.5",children:N.slice(0,3).map(s=>e.jsxs("button",{type:"button",onClick:()=>l({type:"showRoutines"}),className:"flex w-full items-center gap-2 rounded-lg bg-inset px-3 py-2 text-left hover:bg-control/60",children:[e.jsx("span",{className:B("size-1.5 shrink-0 rounded-full",s.enabled?"bg-success":"bg-ink-secondary/40")}),e.jsxs("span",{className:"min-w-0 flex-1",children:[e.jsx("span",{className:"block truncate text-[13px] font-medium text-ink",children:s.name}),e.jsxs("span",{className:"block truncate text-[11px] text-ink-secondary",children:[be(s),s.runOn==="cloud"?` · ${n("remoteDesktop.runsOnVm")}`:""]})]}),e.jsx("span",{className:"shrink-0 text-[10px] text-ink-secondary",children:ye(s.nextRunAt)})]},s.id))}),e.jsxs("div",{className:"mt-3 flex gap-2",children:[e.jsxs("button",{type:"button",onClick:()=>z(!0),className:"flex flex-1 items-center justify-center gap-1.5 rounded-lg bg-accent py-2 text-[13px] font-medium text-white hover:brightness-110",children:[e.jsx(se,{size:14}),n("computer.routines.create")]}),e.jsxs("button",{type:"button",onClick:()=>l({type:"showRoutines"}),className:"flex items-center justify-center gap-1.5 rounded-lg bg-control px-3 py-2 text-[13px] text-ink hover:bg-raised-hover",title:n("computer.routines.openTitle"),children:[e.jsx(he,{size:14}),n("computer.routines.schedules")]})]})]})]}),G&&e.jsx(fe,{bots:[t],lockedBotId:t.id,defaultRunOn:X?"cloud":"maus",onClose:()=>z(!1)})]})}export{Oe as RemoteDesktopPanel};
@@ -1,4 +1,4 @@
1
- import{g as ze}from"./chunk-XXDRQBXY-rt20EPvY.js";import{s as Xe}from"./chunk-KQW6MTUR-BqzkcKb7.js";import{_ as m,O as Be,b as Je,a as Ze,s as et,g as tt,v as st,x as it,c as Ne,l as qe,D as rt,F as nt,G as at,H as lt,M as ct,N as ot,r as ht,t as ut,u as ft}from"./mermaid.core-6s7iUTmY.js";import"./styles-BffiNBq-.js";import"./step-CkmJJ7wq.js";var Ce=(function(){var e=m(function($,i,n,o){for(n=n||{},o=$.length;o--;n[$[o]]=i);return n},"o"),r=[1,3],u=[1,4],h=[1,5],f=[1,6],a=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],c=[1,22],S=[2,7],d=[1,26],_=[1,27],b=[1,28],q=[1,29],C=[1,33],A=[1,34],V=[1,35],v=[1,36],x=[1,37],L=[1,38],w=[1,24],D=[1,31],O=[1,32],M=[1,30],R=[1,39],g=[1,40],p=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],P=[1,61],X=[89,90],Ae=[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],we=[1,74],De=[1,75],Oe=[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],T=[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:m(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,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:m(function(i,n,o,s,E,t,de){var l=t.length-1;switch(E){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),table:[{3:1,4:2,6:r,9:u,11:h,13:f},{1:[3]},{3:8,4:2,5:[1,7],6:r,9:u,11:h,13:f},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(a,[2,6]),{3:12,4:2,6:r,9:u,11:h,13:f},{1:[2,2]},{4:17,5:c,7:13,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},e(a,[2,4]),e(a,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:c,7:42,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:43,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:44,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:45,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:46,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:47,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:48,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:49,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:50,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(p,[2,17]),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),{30:60,33:62,75:P,89:R,90:g},{30:63,33:62,75:P,89:R,90:g},{30:64,33:62,75:P,89:R,90:g},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(Ae,[2,81]),e(Ae,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ee,[2,79]),e(Ee,[2,80]),{27:[1,67],29:[1,68]},e(Ee,[2,85]),e(Ee,[2,86]),{62:69,65:Ve,66:ve,67:xe,68:Le,69:we,70:De,71:Oe},{62:77,65:Ve,66:ve,67:xe,68:Le,69:we,70:De,71:Oe},{30:78,33:62,75:P,89:R,90:g},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,60]),e(pe,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:P,76:U,89:R,90:g},{5:[1,95]},{30:96,33:62,75:P,89:R,90:g},{5:[1,97]},{30:98,33:62,75:P,89:R,90:g},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(p,[2,59],{76:U}),e(p,[2,64],{76:Me}),{33:103,75:[1,102],89:R,90:g},e(Fe,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(T,[2,67]),e(T,[2,69]),e(T,[2,70]),e(T,[2,71]),e(T,[2,72]),e(T,[2,73]),e(T,[2,74]),e(T,[2,75]),e(T,[2,76]),e(T,[2,77]),e(T,[2,78]),e(p,[2,57],{76:Me}),e(p,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:W,40:j},{27:[1,112],76:U},{5:he,40:ue,56:113,57:fe,59:me},{27:[1,118],76:U},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,61]),e(pe,[2,63]),e(T,[2,68]),e(p,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:W,40:j},e(p,[2,28]),{5:[1,127]},e(p,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:fe,59:me},e(p,[2,47]),{5:[1,131]},e(p,[2,48]),e(p,[2,49]),e(Fe,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:R,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(p,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:W,40:j},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(p,[2,46]),{5:he,40:ue,56:152,57:fe,59:me},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(p,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(p,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:W,40:j},{5:B,28:160,31:Q,34:H,36:K,38:W,40:j},{5:B,28:161,31:Q,34:H,36:K,38:W,40:j},{5:B,28:162,31:Q,34:H,36:K,38:W,40:j},{5:he,40:ue,56:163,57:fe,59:me},{5:he,40:ue,56:164,57:fe,59:me},e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,44]),e(p,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:m(function(i,n){if(n.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=n,o}},"parseError"),parse:m(function(i){var n=this,o=[0],s=[],E=[null],t=[],de=this.table,l="",ge=0,$e=0,Ke=2,Pe=1,We=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,be)&&(G.yy[be]=this.yy[be]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var Ie=y.yylloc;t.push(Ie);var je=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ge(k){o.length=o.length-2*k,E.length=E.length-k,t.length=t.length-k}m(Ge,"popStack");function Ue(){var k;return k=s.pop()||y.lex()||Pe,typeof k!="number"&&(k instanceof Array&&(s=k,k=s.pop()),k=n.symbols_[k]||k),k}m(Ue,"lex");for(var I,z,N,ke,J={},ye,F,Ye,_e;;){if(z=o[o.length-1],this.defaultActions[z]?N=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=Ue()),N=de[z]&&de[z][I]),typeof N>"u"||!N.length||!N[0]){var Te="";_e=[];for(ye in de[z])this.terminals_[ye]&&ye>Ke&&_e.push("'"+this.terminals_[ye]+"'");y.showPosition?Te="Parse error on line "+(ge+1)+`:
1
+ import{g as ze}from"./chunk-XXDRQBXY-niGkH3Wm.js";import{s as Xe}from"./chunk-KQW6MTUR-C7I5DprK.js";import{_ as m,O as Be,b as Je,a as Ze,s as et,g as tt,v as st,x as it,c as Ne,l as qe,D as rt,F as nt,G as at,H as lt,M as ct,N as ot,r as ht,t as ut,u as ft}from"./mermaid.core-C9748YDA.js";import"./styles-Df9bbQa1.js";import"./step-CkmJJ7wq.js";var Ce=(function(){var e=m(function($,i,n,o){for(n=n||{},o=$.length;o--;n[$[o]]=i);return n},"o"),r=[1,3],u=[1,4],h=[1,5],f=[1,6],a=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],c=[1,22],S=[2,7],d=[1,26],_=[1,27],b=[1,28],q=[1,29],C=[1,33],A=[1,34],V=[1,35],v=[1,36],x=[1,37],L=[1,38],w=[1,24],D=[1,31],O=[1,32],M=[1,30],R=[1,39],g=[1,40],p=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],P=[1,61],X=[89,90],Ae=[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],we=[1,74],De=[1,75],Oe=[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],T=[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:m(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,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:m(function(i,n,o,s,E,t,de){var l=t.length-1;switch(E){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),table:[{3:1,4:2,6:r,9:u,11:h,13:f},{1:[3]},{3:8,4:2,5:[1,7],6:r,9:u,11:h,13:f},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(a,[2,6]),{3:12,4:2,6:r,9:u,11:h,13:f},{1:[2,2]},{4:17,5:c,7:13,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},e(a,[2,4]),e(a,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:c,7:42,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:43,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:44,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:45,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:46,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:47,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:48,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:49,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:50,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:x,46:L,54:w,72:D,74:O,77:M,89:R,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(p,[2,17]),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),{30:60,33:62,75:P,89:R,90:g},{30:63,33:62,75:P,89:R,90:g},{30:64,33:62,75:P,89:R,90:g},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(Ae,[2,81]),e(Ae,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ee,[2,79]),e(Ee,[2,80]),{27:[1,67],29:[1,68]},e(Ee,[2,85]),e(Ee,[2,86]),{62:69,65:Ve,66:ve,67:xe,68:Le,69:we,70:De,71:Oe},{62:77,65:Ve,66:ve,67:xe,68:Le,69:we,70:De,71:Oe},{30:78,33:62,75:P,89:R,90:g},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,60]),e(pe,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:P,76:U,89:R,90:g},{5:[1,95]},{30:96,33:62,75:P,89:R,90:g},{5:[1,97]},{30:98,33:62,75:P,89:R,90:g},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(p,[2,59],{76:U}),e(p,[2,64],{76:Me}),{33:103,75:[1,102],89:R,90:g},e(Fe,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(T,[2,67]),e(T,[2,69]),e(T,[2,70]),e(T,[2,71]),e(T,[2,72]),e(T,[2,73]),e(T,[2,74]),e(T,[2,75]),e(T,[2,76]),e(T,[2,77]),e(T,[2,78]),e(p,[2,57],{76:Me}),e(p,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:W,40:j},{27:[1,112],76:U},{5:he,40:ue,56:113,57:fe,59:me},{27:[1,118],76:U},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,61]),e(pe,[2,63]),e(T,[2,68]),e(p,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:W,40:j},e(p,[2,28]),{5:[1,127]},e(p,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:fe,59:me},e(p,[2,47]),{5:[1,131]},e(p,[2,48]),e(p,[2,49]),e(Fe,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:R,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(p,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:W,40:j},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(p,[2,46]),{5:he,40:ue,56:152,57:fe,59:me},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(p,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(p,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:W,40:j},{5:B,28:160,31:Q,34:H,36:K,38:W,40:j},{5:B,28:161,31:Q,34:H,36:K,38:W,40:j},{5:B,28:162,31:Q,34:H,36:K,38:W,40:j},{5:he,40:ue,56:163,57:fe,59:me},{5:he,40:ue,56:164,57:fe,59:me},e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,44]),e(p,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:m(function(i,n){if(n.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=n,o}},"parseError"),parse:m(function(i){var n=this,o=[0],s=[],E=[null],t=[],de=this.table,l="",ge=0,$e=0,Ke=2,Pe=1,We=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,be)&&(G.yy[be]=this.yy[be]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var Ie=y.yylloc;t.push(Ie);var je=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ge(k){o.length=o.length-2*k,E.length=E.length-k,t.length=t.length-k}m(Ge,"popStack");function Ue(){var k;return k=s.pop()||y.lex()||Pe,typeof k!="number"&&(k instanceof Array&&(s=k,k=s.pop()),k=n.symbols_[k]||k),k}m(Ue,"lex");for(var I,z,N,ke,J={},ye,F,Ye,_e;;){if(z=o[o.length-1],this.defaultActions[z]?N=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=Ue()),N=de[z]&&de[z][I]),typeof N>"u"||!N.length||!N[0]){var Te="";_e=[];for(ye in de[z])this.terminals_[ye]&&ye>Ke&&_e.push("'"+this.terminals_[ye]+"'");y.showPosition?Te="Parse error on line "+(ge+1)+`:
2
2
  `+y.showPosition()+`
3
3
  Expecting `+_e.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Te="Parse error on line "+(ge+1)+": Unexpected "+(I==Pe?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Te,{text:y.match,token:this.terminals_[I]||I,line:y.yylineno,loc:Ie,expected:_e})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+I);switch(N[0]){case 1:o.push(I),E.push(y.yytext),t.push(y.yylloc),o.push(N[1]),I=null,$e=y.yyleng,l=y.yytext,ge=y.yylineno,Ie=y.yylloc;break;case 2:if(F=this.productions_[N[1]][1],J.$=E[E.length-F],J._$={first_line:t[t.length-(F||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(F||1)].first_column,last_column:t[t.length-1].last_column},je&&(J._$.range=[t[t.length-(F||1)].range[0],t[t.length-1].range[1]]),ke=this.performAction.apply(J,[l,$e,ge,G.yy,N[1],E,t].concat(We)),typeof ke<"u")return ke;F&&(o=o.slice(0,-1*F*2),E=E.slice(0,-1*F),t=t.slice(0,-1*F)),o.push(this.productions_[N[1]][0]),E.push(J.$),t.push(J._$),Ye=de[o[o.length-2]][o[o.length-1]],o.push(Ye);break;case 3:return!0}}return!0},"parse")},He=(function(){var $={EOF:1,parseError:m(function(n,o){if(this.yy.parser)this.yy.parser.parseError(n,o);else throw new Error(n)},"parseError"),setInput:m(function(i,n){return this.yy=n||this.yy||{},this._input=i,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:m(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:m(function(i){var n=i.length,o=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var s=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),o.length-1&&(this.yylineno-=o.length-1);var E=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:o?(o.length===s.length?this.yylloc.first_column:0)+s[s.length-o.length].length-o[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:m(function(){return this._more=!0,this},"more"),reject:m(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:m(function(i){this.unput(this.match.slice(i))},"less"),pastInput:m(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:m(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:m(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`