@sme.up/ketchup2 2.0.0-SNAPSHOT-20251203093037 → 2.0.0-SNAPSHOT-20251203161637

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 (122) hide show
  1. package/dist/{_baseIsEqual-B6CKIvIE.js → _baseIsEqual-Cgidu4Nu.js} +1 -1
  2. package/dist/{_baseIsEqual-CEnNKpRV.cjs → _baseIsEqual-DCo7Fzxr.cjs} +1 -1
  3. package/dist/{_basePickBy-DlDwCEh5.cjs → _basePickBy-BfYEvLKP.cjs} +1 -1
  4. package/dist/{_basePickBy-BD4fWGWa.js → _basePickBy-C7TwCEIj.js} +3 -3
  5. package/dist/{_baseUniq-g2m41_x1.js → _baseUniq-3vE0I6Gy.js} +2 -2
  6. package/dist/{_baseUniq-DYlX9Hnj.cjs → _baseUniq-C17beV6Q.cjs} +1 -1
  7. package/dist/{arc-Bl8puicM.js → arc-DEhVL9yY.js} +1 -1
  8. package/dist/{arc-ycnQnPmA.cjs → arc-aV7ZQIly.cjs} +1 -1
  9. package/dist/{architecture-O4VJ6CD3-CcnsKVy-.cjs → architecture-O4VJ6CD3-F3Iwfc7C.cjs} +1 -1
  10. package/dist/{architecture-O4VJ6CD3-CMQeP609.js → architecture-O4VJ6CD3-qoafpaiV.js} +1 -1
  11. package/dist/{architectureDiagram-VXUJARFQ-CitFgeJR.cjs → architectureDiagram-VXUJARFQ-B0SZ3GQO.cjs} +1 -1
  12. package/dist/{architectureDiagram-VXUJARFQ-J0tbcSCG.js → architectureDiagram-VXUJARFQ-l7tNtXuh.js} +3 -3
  13. package/dist/basic-components/text-editor/text-editor.d.ts.map +1 -1
  14. package/dist/{blockDiagram-VD42YOAC-BBt60aRP.js → blockDiagram-VD42YOAC-BmfLH3H2.js} +5 -5
  15. package/dist/{blockDiagram-VD42YOAC-BVzXPbHC.cjs → blockDiagram-VD42YOAC-CClFgWZa.cjs} +1 -1
  16. package/dist/{c4Diagram-YG6GDRKO-z5gmvalZ.cjs → c4Diagram-YG6GDRKO-DQOejkk9.cjs} +1 -1
  17. package/dist/{c4Diagram-YG6GDRKO-B8YlbAsl.js → c4Diagram-YG6GDRKO-dMYXWCYz.js} +2 -2
  18. package/dist/{channel-T6vce-ph.js → channel-B8ukC7Jj.js} +1 -1
  19. package/dist/channel-BiNMNYhm.cjs +1 -0
  20. package/dist/{chunk-4BX2VUAB-DjL4QBIC.js → chunk-4BX2VUAB-D0I-8z0b.js} +1 -1
  21. package/dist/{chunk-4BX2VUAB-BWM_JLud.cjs → chunk-4BX2VUAB-DhLuSs5h.cjs} +1 -1
  22. package/dist/{chunk-55IACEB6-BlqI-t5b.cjs → chunk-55IACEB6-FScnCnhe.cjs} +1 -1
  23. package/dist/{chunk-55IACEB6-AruVIG9-.js → chunk-55IACEB6-GO7krOui.js} +1 -1
  24. package/dist/{chunk-B4BG7PRW-CPZ4PkDt.js → chunk-B4BG7PRW-BGLHzdWy.js} +4 -4
  25. package/dist/{chunk-B4BG7PRW-x8uVtdwv.cjs → chunk-B4BG7PRW-DK1EWwgr.cjs} +1 -1
  26. package/dist/{chunk-DI55MBZ5-D4uvRkCu.js → chunk-DI55MBZ5-B5Wa1POX.js} +3 -3
  27. package/dist/{chunk-DI55MBZ5-Bp6sg0AX.cjs → chunk-DI55MBZ5-BY0XmBnS.cjs} +1 -1
  28. package/dist/{chunk-FMBD7UC4-t-XNvEOU.js → chunk-FMBD7UC4-BJrB9_qs.js} +1 -1
  29. package/dist/{chunk-FMBD7UC4-BGGXw80y.cjs → chunk-FMBD7UC4-CtoLF-2W.cjs} +1 -1
  30. package/dist/{chunk-QN33PNHL-CTMF2dQE.js → chunk-QN33PNHL-DqTukt_Q.js} +1 -1
  31. package/dist/{chunk-QN33PNHL-C8Aphroz.cjs → chunk-QN33PNHL-XQmHtsk6.cjs} +1 -1
  32. package/dist/{chunk-QZHKN3VN-zwhsAu_3.cjs → chunk-QZHKN3VN-Br1i32Nt.cjs} +1 -1
  33. package/dist/{chunk-QZHKN3VN-DDjoj46o.js → chunk-QZHKN3VN-DqLdEjW5.js} +1 -1
  34. package/dist/{chunk-TZMSLE5B-CjMvin93.js → chunk-TZMSLE5B-CXG9dyKa.js} +1 -1
  35. package/dist/{chunk-TZMSLE5B-Bu0sulaS.cjs → chunk-TZMSLE5B-JpL9j914.cjs} +1 -1
  36. package/dist/{classDiagram-2ON5EDUG-CoGmrIgk.cjs → classDiagram-2ON5EDUG-BdIHQ4Yc.cjs} +1 -1
  37. package/dist/{classDiagram-v2-WZHVMYZB-gk0V13Dj.js → classDiagram-2ON5EDUG-DC1y5RBY.js} +2 -2
  38. package/dist/{classDiagram-v2-WZHVMYZB-CoGmrIgk.cjs → classDiagram-v2-WZHVMYZB-BdIHQ4Yc.cjs} +1 -1
  39. package/dist/{classDiagram-2ON5EDUG-gk0V13Dj.js → classDiagram-v2-WZHVMYZB-DC1y5RBY.js} +2 -2
  40. package/dist/{clone-C6MgzCrA.js → clone-DQJAvo8G.js} +1 -1
  41. package/dist/clone-poaW_P1z.cjs +1 -0
  42. package/dist/{cloneDeep-0pvS1a5g.cjs → cloneDeep-BzOuviNz.cjs} +1 -1
  43. package/dist/{cloneDeep-BQRKqShn.js → cloneDeep-DRuVKv5_.js} +1 -1
  44. package/dist/components/breadcrumbs/breadcrumbs-types.d.ts +4 -0
  45. package/dist/components/breadcrumbs/breadcrumbs-types.d.ts.map +1 -1
  46. package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  47. package/dist/{cose-bilkent-S5V4N54A-CN8hTZkH.cjs → cose-bilkent-S5V4N54A-CdIHFUXe.cjs} +1 -1
  48. package/dist/{cose-bilkent-S5V4N54A-DMyhoxTW.js → cose-bilkent-S5V4N54A-DYLG-dtu.js} +1 -1
  49. package/dist/{dagre-6UL2VRFP-Dq1AgA5_.js → dagre-6UL2VRFP-C9ncHD_9.js} +6 -6
  50. package/dist/{dagre-6UL2VRFP-IZdt7M4-.cjs → dagre-6UL2VRFP-OF8IlRlc.cjs} +1 -1
  51. package/dist/{diagram-PSM6KHXK-DVeWpv4C.cjs → diagram-PSM6KHXK-D06USTPi.cjs} +1 -1
  52. package/dist/{diagram-PSM6KHXK-CsY78Ytz.js → diagram-PSM6KHXK-wk-ngI8R.js} +4 -4
  53. package/dist/{diagram-QEK2KX5R-KzLRXm5P.js → diagram-QEK2KX5R-BVaeo2zT.js} +3 -3
  54. package/dist/{diagram-QEK2KX5R-DAWZpnzv.cjs → diagram-QEK2KX5R-CVee6Efu.cjs} +1 -1
  55. package/dist/{diagram-S2PKOQOG-C7Kq0UpM.cjs → diagram-S2PKOQOG-BcRm1Ozo.cjs} +1 -1
  56. package/dist/{diagram-S2PKOQOG-BBTXH5bk.js → diagram-S2PKOQOG-DYpMgZNf.js} +3 -3
  57. package/dist/{erDiagram-Q2GNP2WA-7WTi8qKY.cjs → erDiagram-Q2GNP2WA-BFlgIoMr.cjs} +1 -1
  58. package/dist/{erDiagram-Q2GNP2WA-h39dMpcp.js → erDiagram-Q2GNP2WA-DMVZZfsD.js} +4 -4
  59. package/dist/{flowDiagram-NV44I4VS-pz0U4kEj.cjs → flowDiagram-NV44I4VS-5S2pYHWa.cjs} +1 -1
  60. package/dist/{flowDiagram-NV44I4VS-DHNj8H_H.js → flowDiagram-NV44I4VS-CX_btQJp.js} +5 -5
  61. package/dist/{ganttDiagram-LVOFAZNH-Bj35RX2w.cjs → ganttDiagram-LVOFAZNH-BITJzjut.cjs} +1 -1
  62. package/dist/{ganttDiagram-LVOFAZNH-BeSPLY_H.js → ganttDiagram-LVOFAZNH-DKsbFlCa.js} +2 -2
  63. package/dist/{gitGraph-ZV4HHKMB-zijMMZzY.cjs → gitGraph-ZV4HHKMB-CIVfjut2.cjs} +1 -1
  64. package/dist/{gitGraph-ZV4HHKMB-B5zVvIS8.js → gitGraph-ZV4HHKMB-CdRtAIAo.js} +1 -1
  65. package/dist/{gitGraphDiagram-NY62KEGX-EXVUV60i.js → gitGraphDiagram-NY62KEGX-CG_-JPAB.js} +4 -4
  66. package/dist/{gitGraphDiagram-NY62KEGX-DTgqaQt1.cjs → gitGraphDiagram-NY62KEGX-UanCVg09.cjs} +1 -1
  67. package/dist/{graph-BsF8NKuL.js → graph-CRmbmlID.js} +3 -3
  68. package/dist/{graph-CniCKYF_.cjs → graph-mvNYNb_a.cjs} +1 -1
  69. package/dist/{index--f--jpZK.cjs → index-CTHP6KZy.cjs} +65 -65
  70. package/dist/{index-CWI6Ugro.js → index-CUKUEzAy.js} +3630 -3624
  71. package/dist/{info-63CPKGFF-C9BMnn9H.cjs → info-63CPKGFF-DZXxjwCV.cjs} +1 -1
  72. package/dist/info-63CPKGFF-ZoxMACHH.js +5 -0
  73. package/dist/{infoDiagram-F6ZHWCRC-CvUFbRG3.js → infoDiagram-F6ZHWCRC-A6y08PJY.js} +2 -2
  74. package/dist/{infoDiagram-F6ZHWCRC-B86PtGkt.cjs → infoDiagram-F6ZHWCRC-DpdaiD43.cjs} +1 -1
  75. package/dist/{journeyDiagram-XKPGCS4Q-Bbys6bDW.js → journeyDiagram-XKPGCS4Q-BqXnKh_D.js} +4 -4
  76. package/dist/{journeyDiagram-XKPGCS4Q-Fi6fjxec.cjs → journeyDiagram-XKPGCS4Q-YuQmWj8O.cjs} +1 -1
  77. package/dist/{kanban-definition-3W4ZIXB7-CgbIZfM3.cjs → kanban-definition-3W4ZIXB7-BPo1p86C.cjs} +1 -1
  78. package/dist/{kanban-definition-3W4ZIXB7-Co_j7DCc.js → kanban-definition-3W4ZIXB7-CNFiHfnr.js} +2 -2
  79. package/dist/ketchup2.cjs.js +1 -1
  80. package/dist/ketchup2.es.js +1 -1
  81. package/dist/{layout-C2X60Qfx.js → layout-DO5gdXaE.js} +5 -5
  82. package/dist/{layout-CevghQX6.cjs → layout-Dcr_xiK7.cjs} +1 -1
  83. package/dist/{linear-aQDyFfBL.cjs → linear-BOpzEDXi.cjs} +1 -1
  84. package/dist/{linear-rXFm1pV-.js → linear-U2PFYFbY.js} +1 -1
  85. package/dist/{mermaid-parser.core-sVc_zllj.js → mermaid-parser.core-CrBzVchH.js} +12 -12
  86. package/dist/{mermaid-parser.core-BPRNKtDq.cjs → mermaid-parser.core-DPJs7zrb.cjs} +2 -2
  87. package/dist/{mindmap-definition-VGOIOE7T-BBslb8Y8.cjs → mindmap-definition-VGOIOE7T-X5QVRTCd.cjs} +1 -1
  88. package/dist/{mindmap-definition-VGOIOE7T-B8fYS6t7.js → mindmap-definition-VGOIOE7T-ZVBYXXSX.js} +3 -3
  89. package/dist/{packet-HUATNLJX-CwcFRXwW.js → packet-HUATNLJX-DluIRAMQ.js} +1 -1
  90. package/dist/{packet-HUATNLJX-BrPRXEBZ.cjs → packet-HUATNLJX-wd66WHDe.cjs} +1 -1
  91. package/dist/pie-WTHONI2E-CItNSMsI.js +5 -0
  92. package/dist/{pie-WTHONI2E--3gN24BY.cjs → pie-WTHONI2E-DZn8miCP.cjs} +1 -1
  93. package/dist/{pieDiagram-ADFJNKIX-C7x1Rzy1.cjs → pieDiagram-ADFJNKIX-B852iKgq.cjs} +1 -1
  94. package/dist/{pieDiagram-ADFJNKIX--7dob9d1.js → pieDiagram-ADFJNKIX-Bml2svLL.js} +4 -4
  95. package/dist/{quadrantDiagram-AYHSOK5B-DdMGndmt.cjs → quadrantDiagram-AYHSOK5B-CdCDl6-h.cjs} +1 -1
  96. package/dist/{quadrantDiagram-AYHSOK5B-C9FW4W80.js → quadrantDiagram-AYHSOK5B-IlRlL_kq.js} +2 -2
  97. package/dist/{quill-Dlq_7f6s.js → quill-CN0U_UwA.js} +3 -3
  98. package/dist/{quill-ConL-8Gy.cjs → quill-CSz0skg-.cjs} +1 -1
  99. package/dist/radar-NJJJXTRR-D5H0_dvD.js +5 -0
  100. package/dist/{radar-NJJJXTRR-C108xC_9.cjs → radar-NJJJXTRR-DK320RA8.cjs} +1 -1
  101. package/dist/{requirementDiagram-UZGBJVZJ-BnYUyzYb.js → requirementDiagram-UZGBJVZJ-34SXv-AV.js} +3 -3
  102. package/dist/{requirementDiagram-UZGBJVZJ-BeLgWK0z.cjs → requirementDiagram-UZGBJVZJ-CN9ckH3Z.cjs} +1 -1
  103. package/dist/{sankeyDiagram-TZEHDZUN-CK-xZ6kY.cjs → sankeyDiagram-TZEHDZUN-C3necHfO.cjs} +1 -1
  104. package/dist/{sankeyDiagram-TZEHDZUN-CU0tQwwN.js → sankeyDiagram-TZEHDZUN-Dh_ZHm-3.js} +1 -1
  105. package/dist/{sequenceDiagram-WL72ISMW-Bci6A_5W.cjs → sequenceDiagram-WL72ISMW-BK4M_i7j.cjs} +1 -1
  106. package/dist/{sequenceDiagram-WL72ISMW-nANoGMPY.js → sequenceDiagram-WL72ISMW-DeZsN5xP.js} +3 -3
  107. package/dist/{stateDiagram-FKZM4ZOC-BY6fcDSH.cjs → stateDiagram-FKZM4ZOC-BTynmDnP.cjs} +1 -1
  108. package/dist/{stateDiagram-FKZM4ZOC-Bhwuj1xR.js → stateDiagram-FKZM4ZOC-MAS7YIhe.js} +4 -4
  109. package/dist/{stateDiagram-v2-4FDKWEC3-Bk3cglKF.cjs → stateDiagram-v2-4FDKWEC3-BPCFUA9D.cjs} +1 -1
  110. package/dist/{stateDiagram-v2-4FDKWEC3-_l54KCDH.js → stateDiagram-v2-4FDKWEC3-Cfey1SKl.js} +2 -2
  111. package/dist/{timeline-definition-IT6M3QCI-CE4RCrj8.js → timeline-definition-IT6M3QCI-BgQRowH4.js} +2 -2
  112. package/dist/{timeline-definition-IT6M3QCI-BcEzmR47.cjs → timeline-definition-IT6M3QCI-g-XS7ZmL.cjs} +1 -1
  113. package/dist/{treemap-75Q7IDZK-B1QmKKu7.cjs → treemap-75Q7IDZK-AwYAxCYo.cjs} +1 -1
  114. package/dist/{treemap-75Q7IDZK-uDdZgc0M.js → treemap-75Q7IDZK-D3-cJNKK.js} +1 -1
  115. package/dist/{xychartDiagram-PRI3JC2R-BJMx5cv1.js → xychartDiagram-PRI3JC2R-DJxbwhzf.js} +2 -2
  116. package/dist/{xychartDiagram-PRI3JC2R--2tCvdx1.cjs → xychartDiagram-PRI3JC2R-Dh5QScYt.cjs} +1 -1
  117. package/package.json +1 -1
  118. package/dist/channel-4jxy0q86.cjs +0 -1
  119. package/dist/clone-BXUfwB4d.cjs +0 -1
  120. package/dist/info-63CPKGFF-Bs5ZouaF.js +0 -5
  121. package/dist/pie-WTHONI2E-Bx_pKH8a.js +0 -5
  122. package/dist/radar-NJJJXTRR-BnuZBX5F.js +0 -5
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index--f--jpZK.cjs"),Zt=require("./linear-aQDyFfBL.cjs");var Ct=function(){var t=e.__name(function(X,l,o,f){for(o=o||{},f=X.length;f--;o[X[f]]=l);return o},"o"),s=[1,3],x=[1,4],d=[1,5],c=[1,6],p=[1,7],_=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],S=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],n=[55,56,57],A=[2,36],u=[1,37],y=[1,36],m=[1,38],T=[1,35],q=[1,43],g=[1,41],j=[1,14],ot=[1,23],ut=[1,18],ft=[1,19],xt=[1,20],ct=[1,21],qt=[1,22],ht=[1,24],i=[1,25],Lt=[1,26],Et=[1,27],Dt=[1,28],zt=[1,29],N=[1,32],W=[1,33],k=[1,34],F=[1,39],P=[1,40],C=[1,42],v=[1,44],Q=[1,62],O=[1,61],L=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],Vt=[1,65],It=[1,66],wt=[1,67],Bt=[1,68],Rt=[1,69],Nt=[1,70],Wt=[1,71],Ut=[1,72],Qt=[1,73],Ot=[1,74],Ht=[1,75],Xt=[1,76],V=[4,5,6,7,8,9,10,11,12,13,14,15,18],G=[1,90],K=[1,91],Z=[1,92],J=[1,99],$=[1,93],tt=[1,96],et=[1,94],at=[1,95],it=[1,97],nt=[1,98],bt=[1,102],Mt=[10,55,56,57],B=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],St={trace:e.__name(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],[59,1],[59,1],[59,1]],performAction:e.__name(function(l,o,f,h,b,a,dt){var r=a.length-1;switch(b){case 23:this.$=a[r];break;case 24:this.$=a[r-1]+""+a[r];break;case 26:this.$=a[r-1]+a[r];break;case 27:this.$=[a[r].trim()];break;case 28:a[r-2].push(a[r].trim()),this.$=a[r-2];break;case 29:this.$=a[r-4],h.addClass(a[r-2],a[r]);break;case 37:this.$=[];break;case 42:this.$=a[r].trim(),h.setDiagramTitle(this.$);break;case 43:this.$=a[r].trim(),h.setAccTitle(this.$);break;case 44:case 45:this.$=a[r].trim(),h.setAccDescription(this.$);break;case 46:h.addSection(a[r].substr(8)),this.$=a[r].substr(8);break;case 47:h.addPoint(a[r-3],"",a[r-1],a[r],[]);break;case 48:h.addPoint(a[r-4],a[r-3],a[r-1],a[r],[]);break;case 49:h.addPoint(a[r-4],"",a[r-2],a[r-1],a[r]);break;case 50:h.addPoint(a[r-5],a[r-4],a[r-2],a[r-1],a[r]);break;case 51:h.setXAxisLeftText(a[r-2]),h.setXAxisRightText(a[r]);break;case 52:a[r-1].text+=" ⟶ ",h.setXAxisLeftText(a[r-1]);break;case 53:h.setXAxisLeftText(a[r]);break;case 54:h.setYAxisBottomText(a[r-2]),h.setYAxisTopText(a[r]);break;case 55:a[r-1].text+=" ⟶ ",h.setYAxisBottomText(a[r-1]);break;case 56:h.setYAxisBottomText(a[r]);break;case 57:h.setQuadrant1Text(a[r]);break;case 58:h.setQuadrant2Text(a[r]);break;case 59:h.setQuadrant3Text(a[r]);break;case 60:h.setQuadrant4Text(a[r]);break;case 64:this.$={text:a[r],type:"text"};break;case 65:this.$={text:a[r-1].text+""+a[r],type:a[r-1].type};break;case 66:this.$={text:a[r],type:"text"};break;case 67:this.$={text:a[r],type:"markdown"};break;case 68:this.$=a[r];break;case 69:this.$=a[r-1]+""+a[r];break}},"anonymous"),table:[{18:s,26:1,27:2,28:x,55:d,56:c,57:p},{1:[3]},{18:s,26:8,27:2,28:x,55:d,56:c,57:p},{18:s,26:9,27:2,28:x,55:d,56:c,57:p},t(_,[2,33],{29:10}),t(S,[2,61]),t(S,[2,62]),t(S,[2,63]),{1:[2,30]},{1:[2,31]},t(n,A,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:u,5:y,10:m,12:T,13:q,14:g,18:j,25:ot,35:ut,37:ft,39:xt,41:ct,42:qt,48:ht,50:i,51:Lt,52:Et,53:Dt,54:zt,60:N,61:W,63:k,64:F,65:P,66:C,67:v}),t(_,[2,34]),{27:45,55:d,56:c,57:p},t(n,[2,37]),t(n,A,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:u,5:y,10:m,12:T,13:q,14:g,18:j,25:ot,35:ut,37:ft,39:xt,41:ct,42:qt,48:ht,50:i,51:Lt,52:Et,53:Dt,54:zt,60:N,61:W,63:k,64:F,65:P,66:C,67:v}),t(n,[2,39]),t(n,[2,40]),t(n,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(n,[2,45]),t(n,[2,46]),{18:[1,50]},{4:u,5:y,10:m,12:T,13:q,14:g,43:51,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,10:m,12:T,13:q,14:g,43:52,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,10:m,12:T,13:q,14:g,43:53,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,10:m,12:T,13:q,14:g,43:54,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,10:m,12:T,13:q,14:g,43:55,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,10:m,12:T,13:q,14:g,43:56,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,44:[1,57],47:[1,58],58:60,59:59,63:k,64:F,65:P,66:C,67:v},t(L,[2,64]),t(L,[2,66]),t(L,[2,67]),t(L,[2,70]),t(L,[2,71]),t(L,[2,72]),t(L,[2,73]),t(L,[2,74]),t(L,[2,75]),t(L,[2,76]),t(L,[2,77]),t(L,[2,78]),t(L,[2,79]),t(L,[2,80]),t(_,[2,35]),t(n,[2,38]),t(n,[2,42]),t(n,[2,43]),t(n,[2,44]),{3:64,4:Vt,5:It,6:wt,7:Bt,8:Rt,9:Nt,10:Wt,11:Ut,12:Qt,13:Ot,14:Ht,15:Xt,21:63},t(n,[2,53],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,49:[1,77],63:k,64:F,65:P,66:C,67:v}),t(n,[2,56],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,49:[1,78],63:k,64:F,65:P,66:C,67:v}),t(n,[2,57],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),t(n,[2,58],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),t(n,[2,59],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),t(n,[2,60],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),{45:[1,79]},{44:[1,80]},t(L,[2,65]),t(L,[2,81]),t(L,[2,82]),t(L,[2,83]),{3:82,4:Vt,5:It,6:wt,7:Bt,8:Rt,9:Nt,10:Wt,11:Ut,12:Qt,13:Ot,14:Ht,15:Xt,18:[1,81]},t(V,[2,23]),t(V,[2,1]),t(V,[2,2]),t(V,[2,3]),t(V,[2,4]),t(V,[2,5]),t(V,[2,6]),t(V,[2,7]),t(V,[2,8]),t(V,[2,9]),t(V,[2,10]),t(V,[2,11]),t(V,[2,12]),t(n,[2,52],{58:31,43:83,4:u,5:y,10:m,12:T,13:q,14:g,60:N,61:W,63:k,64:F,65:P,66:C,67:v}),t(n,[2,55],{58:31,43:84,4:u,5:y,10:m,12:T,13:q,14:g,60:N,61:W,63:k,64:F,65:P,66:C,67:v}),{46:[1,85]},{45:[1,86]},{4:G,5:K,6:Z,8:J,11:$,13:tt,16:89,17:et,18:at,19:it,20:nt,22:88,23:87},t(V,[2,24]),t(n,[2,51],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),t(n,[2,54],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),t(n,[2,47],{22:88,16:89,23:100,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt}),{46:[1,101]},t(n,[2,29],{10:bt}),t(Mt,[2,27],{16:103,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt}),t(B,[2,25]),t(B,[2,13]),t(B,[2,14]),t(B,[2,15]),t(B,[2,16]),t(B,[2,17]),t(B,[2,18]),t(B,[2,19]),t(B,[2,20]),t(B,[2,21]),t(B,[2,22]),t(n,[2,49],{10:bt}),t(n,[2,48],{22:88,16:89,23:104,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt}),{4:G,5:K,6:Z,8:J,11:$,13:tt,16:89,17:et,18:at,19:it,20:nt,22:105},t(B,[2,26]),t(n,[2,50],{10:bt}),t(Mt,[2,28],{16:103,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt})],defaultActions:{8:[2,30],9:[2,31]},parseError:e.__name(function(l,o){if(o.recoverable)this.trace(l);else{var f=new Error(l);throw f.hash=o,f}},"parseError"),parse:e.__name(function(l){var o=this,f=[0],h=[],b=[null],a=[],dt=this.table,r="",pt=0,Yt=0,xe=2,jt=1,ge=a.slice.call(arguments,1),E=Object.create(this.lexer),M={yy:{}};for(var At in this.yy)Object.prototype.hasOwnProperty.call(this.yy,At)&&(M.yy[At]=this.yy[At]);E.setInput(l,M.yy),M.yy.lexer=E,M.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var kt=E.yylloc;a.push(kt);var pe=E.options&&E.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _e(w){f.length=f.length-2*w,b.length=b.length-w,a.length=a.length-w}e.__name(_e,"popStack");function Gt(){var w;return w=h.pop()||E.lex()||jt,typeof w!="number"&&(w instanceof Array&&(h=w,w=h.pop()),w=o.symbols_[w]||w),w}e.__name(Gt,"lex");for(var I,Y,R,Ft,st={},_t,H,Kt,yt;;){if(Y=f[f.length-1],this.defaultActions[Y]?R=this.defaultActions[Y]:((I===null||typeof I>"u")&&(I=Gt()),R=dt[Y]&&dt[Y][I]),typeof R>"u"||!R.length||!R[0]){var Pt="";yt=[];for(_t in dt[Y])this.terminals_[_t]&&_t>xe&&yt.push("'"+this.terminals_[_t]+"'");E.showPosition?Pt="Parse error on line "+(pt+1)+`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CTHP6KZy.cjs"),Zt=require("./linear-BOpzEDXi.cjs");var Ct=function(){var t=e.__name(function(X,l,o,f){for(o=o||{},f=X.length;f--;o[X[f]]=l);return o},"o"),s=[1,3],x=[1,4],d=[1,5],c=[1,6],p=[1,7],_=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],S=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],n=[55,56,57],A=[2,36],u=[1,37],y=[1,36],m=[1,38],T=[1,35],q=[1,43],g=[1,41],j=[1,14],ot=[1,23],ut=[1,18],ft=[1,19],xt=[1,20],ct=[1,21],qt=[1,22],ht=[1,24],i=[1,25],Lt=[1,26],Et=[1,27],Dt=[1,28],zt=[1,29],N=[1,32],W=[1,33],k=[1,34],F=[1,39],P=[1,40],C=[1,42],v=[1,44],Q=[1,62],O=[1,61],L=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],Vt=[1,65],It=[1,66],wt=[1,67],Bt=[1,68],Rt=[1,69],Nt=[1,70],Wt=[1,71],Ut=[1,72],Qt=[1,73],Ot=[1,74],Ht=[1,75],Xt=[1,76],V=[4,5,6,7,8,9,10,11,12,13,14,15,18],G=[1,90],K=[1,91],Z=[1,92],J=[1,99],$=[1,93],tt=[1,96],et=[1,94],at=[1,95],it=[1,97],nt=[1,98],bt=[1,102],Mt=[10,55,56,57],B=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],St={trace:e.__name(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],[59,1],[59,1],[59,1]],performAction:e.__name(function(l,o,f,h,b,a,dt){var r=a.length-1;switch(b){case 23:this.$=a[r];break;case 24:this.$=a[r-1]+""+a[r];break;case 26:this.$=a[r-1]+a[r];break;case 27:this.$=[a[r].trim()];break;case 28:a[r-2].push(a[r].trim()),this.$=a[r-2];break;case 29:this.$=a[r-4],h.addClass(a[r-2],a[r]);break;case 37:this.$=[];break;case 42:this.$=a[r].trim(),h.setDiagramTitle(this.$);break;case 43:this.$=a[r].trim(),h.setAccTitle(this.$);break;case 44:case 45:this.$=a[r].trim(),h.setAccDescription(this.$);break;case 46:h.addSection(a[r].substr(8)),this.$=a[r].substr(8);break;case 47:h.addPoint(a[r-3],"",a[r-1],a[r],[]);break;case 48:h.addPoint(a[r-4],a[r-3],a[r-1],a[r],[]);break;case 49:h.addPoint(a[r-4],"",a[r-2],a[r-1],a[r]);break;case 50:h.addPoint(a[r-5],a[r-4],a[r-2],a[r-1],a[r]);break;case 51:h.setXAxisLeftText(a[r-2]),h.setXAxisRightText(a[r]);break;case 52:a[r-1].text+=" ⟶ ",h.setXAxisLeftText(a[r-1]);break;case 53:h.setXAxisLeftText(a[r]);break;case 54:h.setYAxisBottomText(a[r-2]),h.setYAxisTopText(a[r]);break;case 55:a[r-1].text+=" ⟶ ",h.setYAxisBottomText(a[r-1]);break;case 56:h.setYAxisBottomText(a[r]);break;case 57:h.setQuadrant1Text(a[r]);break;case 58:h.setQuadrant2Text(a[r]);break;case 59:h.setQuadrant3Text(a[r]);break;case 60:h.setQuadrant4Text(a[r]);break;case 64:this.$={text:a[r],type:"text"};break;case 65:this.$={text:a[r-1].text+""+a[r],type:a[r-1].type};break;case 66:this.$={text:a[r],type:"text"};break;case 67:this.$={text:a[r],type:"markdown"};break;case 68:this.$=a[r];break;case 69:this.$=a[r-1]+""+a[r];break}},"anonymous"),table:[{18:s,26:1,27:2,28:x,55:d,56:c,57:p},{1:[3]},{18:s,26:8,27:2,28:x,55:d,56:c,57:p},{18:s,26:9,27:2,28:x,55:d,56:c,57:p},t(_,[2,33],{29:10}),t(S,[2,61]),t(S,[2,62]),t(S,[2,63]),{1:[2,30]},{1:[2,31]},t(n,A,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:u,5:y,10:m,12:T,13:q,14:g,18:j,25:ot,35:ut,37:ft,39:xt,41:ct,42:qt,48:ht,50:i,51:Lt,52:Et,53:Dt,54:zt,60:N,61:W,63:k,64:F,65:P,66:C,67:v}),t(_,[2,34]),{27:45,55:d,56:c,57:p},t(n,[2,37]),t(n,A,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:u,5:y,10:m,12:T,13:q,14:g,18:j,25:ot,35:ut,37:ft,39:xt,41:ct,42:qt,48:ht,50:i,51:Lt,52:Et,53:Dt,54:zt,60:N,61:W,63:k,64:F,65:P,66:C,67:v}),t(n,[2,39]),t(n,[2,40]),t(n,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(n,[2,45]),t(n,[2,46]),{18:[1,50]},{4:u,5:y,10:m,12:T,13:q,14:g,43:51,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,10:m,12:T,13:q,14:g,43:52,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,10:m,12:T,13:q,14:g,43:53,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,10:m,12:T,13:q,14:g,43:54,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,10:m,12:T,13:q,14:g,43:55,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,10:m,12:T,13:q,14:g,43:56,58:31,60:N,61:W,63:k,64:F,65:P,66:C,67:v},{4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,44:[1,57],47:[1,58],58:60,59:59,63:k,64:F,65:P,66:C,67:v},t(L,[2,64]),t(L,[2,66]),t(L,[2,67]),t(L,[2,70]),t(L,[2,71]),t(L,[2,72]),t(L,[2,73]),t(L,[2,74]),t(L,[2,75]),t(L,[2,76]),t(L,[2,77]),t(L,[2,78]),t(L,[2,79]),t(L,[2,80]),t(_,[2,35]),t(n,[2,38]),t(n,[2,42]),t(n,[2,43]),t(n,[2,44]),{3:64,4:Vt,5:It,6:wt,7:Bt,8:Rt,9:Nt,10:Wt,11:Ut,12:Qt,13:Ot,14:Ht,15:Xt,21:63},t(n,[2,53],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,49:[1,77],63:k,64:F,65:P,66:C,67:v}),t(n,[2,56],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,49:[1,78],63:k,64:F,65:P,66:C,67:v}),t(n,[2,57],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),t(n,[2,58],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),t(n,[2,59],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),t(n,[2,60],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),{45:[1,79]},{44:[1,80]},t(L,[2,65]),t(L,[2,81]),t(L,[2,82]),t(L,[2,83]),{3:82,4:Vt,5:It,6:wt,7:Bt,8:Rt,9:Nt,10:Wt,11:Ut,12:Qt,13:Ot,14:Ht,15:Xt,18:[1,81]},t(V,[2,23]),t(V,[2,1]),t(V,[2,2]),t(V,[2,3]),t(V,[2,4]),t(V,[2,5]),t(V,[2,6]),t(V,[2,7]),t(V,[2,8]),t(V,[2,9]),t(V,[2,10]),t(V,[2,11]),t(V,[2,12]),t(n,[2,52],{58:31,43:83,4:u,5:y,10:m,12:T,13:q,14:g,60:N,61:W,63:k,64:F,65:P,66:C,67:v}),t(n,[2,55],{58:31,43:84,4:u,5:y,10:m,12:T,13:q,14:g,60:N,61:W,63:k,64:F,65:P,66:C,67:v}),{46:[1,85]},{45:[1,86]},{4:G,5:K,6:Z,8:J,11:$,13:tt,16:89,17:et,18:at,19:it,20:nt,22:88,23:87},t(V,[2,24]),t(n,[2,51],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),t(n,[2,54],{59:59,58:60,4:u,5:y,8:Q,10:m,12:T,13:q,14:g,18:O,63:k,64:F,65:P,66:C,67:v}),t(n,[2,47],{22:88,16:89,23:100,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt}),{46:[1,101]},t(n,[2,29],{10:bt}),t(Mt,[2,27],{16:103,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt}),t(B,[2,25]),t(B,[2,13]),t(B,[2,14]),t(B,[2,15]),t(B,[2,16]),t(B,[2,17]),t(B,[2,18]),t(B,[2,19]),t(B,[2,20]),t(B,[2,21]),t(B,[2,22]),t(n,[2,49],{10:bt}),t(n,[2,48],{22:88,16:89,23:104,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt}),{4:G,5:K,6:Z,8:J,11:$,13:tt,16:89,17:et,18:at,19:it,20:nt,22:105},t(B,[2,26]),t(n,[2,50],{10:bt}),t(Mt,[2,28],{16:103,4:G,5:K,6:Z,8:J,11:$,13:tt,17:et,18:at,19:it,20:nt})],defaultActions:{8:[2,30],9:[2,31]},parseError:e.__name(function(l,o){if(o.recoverable)this.trace(l);else{var f=new Error(l);throw f.hash=o,f}},"parseError"),parse:e.__name(function(l){var o=this,f=[0],h=[],b=[null],a=[],dt=this.table,r="",pt=0,Yt=0,xe=2,jt=1,ge=a.slice.call(arguments,1),E=Object.create(this.lexer),M={yy:{}};for(var At in this.yy)Object.prototype.hasOwnProperty.call(this.yy,At)&&(M.yy[At]=this.yy[At]);E.setInput(l,M.yy),M.yy.lexer=E,M.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var kt=E.yylloc;a.push(kt);var pe=E.options&&E.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _e(w){f.length=f.length-2*w,b.length=b.length-w,a.length=a.length-w}e.__name(_e,"popStack");function Gt(){var w;return w=h.pop()||E.lex()||jt,typeof w!="number"&&(w instanceof Array&&(h=w,w=h.pop()),w=o.symbols_[w]||w),w}e.__name(Gt,"lex");for(var I,Y,R,Ft,st={},_t,H,Kt,yt;;){if(Y=f[f.length-1],this.defaultActions[Y]?R=this.defaultActions[Y]:((I===null||typeof I>"u")&&(I=Gt()),R=dt[Y]&&dt[Y][I]),typeof R>"u"||!R.length||!R[0]){var Pt="";yt=[];for(_t in dt[Y])this.terminals_[_t]&&_t>xe&&yt.push("'"+this.terminals_[_t]+"'");E.showPosition?Pt="Parse error on line "+(pt+1)+`:
2
2
  `+E.showPosition()+`
3
3
  Expecting `+yt.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Pt="Parse error on line "+(pt+1)+": Unexpected "+(I==jt?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Pt,{text:E.match,token:this.terminals_[I]||I,line:E.yylineno,loc:kt,expected:yt})}if(R[0]instanceof Array&&R.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Y+", token: "+I);switch(R[0]){case 1:f.push(I),b.push(E.yytext),a.push(E.yylloc),f.push(R[1]),I=null,Yt=E.yyleng,r=E.yytext,pt=E.yylineno,kt=E.yylloc;break;case 2:if(H=this.productions_[R[1]][1],st.$=b[b.length-H],st._$={first_line:a[a.length-(H||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(H||1)].first_column,last_column:a[a.length-1].last_column},pe&&(st._$.range=[a[a.length-(H||1)].range[0],a[a.length-1].range[1]]),Ft=this.performAction.apply(st,[r,Yt,pt,M.yy,R[1],b,a].concat(ge)),typeof Ft<"u")return Ft;H&&(f=f.slice(0,-1*H*2),b=b.slice(0,-1*H),a=a.slice(0,-1*H)),f.push(this.productions_[R[1]][0]),b.push(st.$),a.push(st._$),Kt=dt[f[f.length-2]][f[f.length-1]],f.push(Kt);break;case 3:return!0}}return!0},"parse")},fe=function(){var X={EOF:1,parseError:e.__name(function(o,f){if(this.yy.parser)this.yy.parser.parseError(o,f);else throw new Error(o)},"parseError"),setInput:e.__name(function(l,o){return this.yy=o||this.yy||{},this._input=l,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:e.__name(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var o=l.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},"input"),unput:e.__name(function(l){var o=l.length,f=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var h=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),f.length-1&&(this.yylineno-=f.length-1);var b=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:f?(f.length===h.length?this.yylloc.first_column:0)+h[h.length-f.length].length-f[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},"unput"),more:e.__name(function(){return this._more=!0,this},"more"),reject:e.__name(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:e.__name(function(l){this.unput(this.match.slice(l))},"less"),pastInput:e.__name(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:e.__name(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:e.__name(function(){var l=this.pastInput(),o=new Array(l.length+1).join("-");return l+this.upcomingInput()+`
@@ -1,5 +1,5 @@
1
- import { _ as o, s as _e, g as Ae, q as ie, p as ke, a as Fe, b as Pe, c as zt, l as bt, d as Lt, e as ve, y as Ce, F as D, K as Le, i as Ee } from "./index-CWI6Ugro.js";
2
- import { l as ee } from "./linear-rXFm1pV-.js";
1
+ import { _ as o, s as _e, g as Ae, q as ie, p as ke, a as Fe, b as Pe, c as zt, l as bt, d as Lt, e as ve, y as Ce, F as D, K as Le, i as Ee } from "./index-CUKUEzAy.js";
2
+ import { l as ee } from "./linear-U2PFYFbY.js";
3
3
  var Et = function() {
4
4
  var t = /* @__PURE__ */ o(function(M, r, l, x) {
5
5
  for (l = l || {}, x = M.length; x--; l[M[x]] = r) ;
@@ -1,6 +1,6 @@
1
- import { bC as se, aJ as Xr, bB as re } from "./index-CWI6Ugro.js";
2
- import { c as ki } from "./_baseIsEqual-B6CKIvIE.js";
3
- import { c as Be } from "./cloneDeep-BQRKqShn.js";
1
+ import { bC as se, aJ as Xr, bB as re } from "./index-CUKUEzAy.js";
2
+ import { c as ki } from "./_baseIsEqual-Cgidu4Nu.js";
3
+ import { c as Be } from "./cloneDeep-DRuVKv5_.js";
4
4
  function nr(i, t) {
5
5
  return ki(i, t);
6
6
  }
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ct=require("./index--f--jpZK.cjs"),Si=require("./_baseIsEqual-CEnNKpRV.cjs"),Re=require("./cloneDeep-0pvS1a5g.cjs");function sr(i,t){return Si.baseIsEqual(i,t)}var B=(i=>(i[i.TYPE=3]="TYPE",i[i.LEVEL=12]="LEVEL",i[i.ATTRIBUTE=13]="ATTRIBUTE",i[i.BLOT=14]="BLOT",i[i.INLINE=7]="INLINE",i[i.BLOCK=11]="BLOCK",i[i.BLOCK_BLOT=10]="BLOCK_BLOT",i[i.INLINE_BLOT=6]="INLINE_BLOT",i[i.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",i[i.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",i[i.ANY=15]="ANY",i))(B||{});class Kt{constructor(t,e,s={}){this.attrName=t,this.keyName=e;const n=B.TYPE&B.ATTRIBUTE;this.scope=s.scope!=null?s.scope&B.LEVEL|n:B.ATTRIBUTE,s.whitelist!=null&&(this.whitelist=s.whitelist)}static keys(t){return Array.from(t.attributes).map(e=>e.name)}add(t,e){return this.canAdd(t,e)?(t.setAttribute(this.keyName,e),!0):!1}canAdd(t,e){return this.whitelist==null?!0:typeof e=="string"?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1}remove(t){t.removeAttribute(this.keyName)}value(t){const e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""}}class Be extends Error{constructor(t){t="[Parchment] "+t,super(t),this.message=t,this.name=this.constructor.name}}const Wr=class Zn{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(t,e=!1){if(t==null)return null;if(this.blots.has(t))return this.blots.get(t)||null;if(e){let s=null;try{s=t.parentNode}catch{return null}return this.find(s,e)}return null}create(t,e,s){const n=this.query(e);if(n==null)throw new Be(`Unable to create ${e} blot`);const l=n,o=e instanceof Node||e.nodeType===Node.TEXT_NODE?e:l.create(s),c=new l(t,o,s);return Zn.blots.set(c.domNode,c),c}find(t,e=!1){return Zn.find(t,e)}query(t,e=B.ANY){let s;return typeof t=="string"?s=this.types[t]||this.attributes[t]:t instanceof Text||t.nodeType===Node.TEXT_NODE?s=this.types.text:typeof t=="number"?t&B.LEVEL&B.BLOCK?s=this.types.block:t&B.LEVEL&B.INLINE&&(s=this.types.inline):t instanceof Element&&((t.getAttribute("class")||"").split(/\s+/).some(n=>(s=this.classes[n],!!s)),s=s||this.tags[t.tagName]),s==null?null:"scope"in s&&e&B.LEVEL&s.scope&&e&B.TYPE&s.scope?s:null}register(...t){return t.map(e=>{const s="blotName"in e,n="attrName"in e;if(!s&&!n)throw new Be("Invalid definition");if(s&&e.blotName==="abstract")throw new Be("Cannot register abstract class");const l=s?e.blotName:n?e.attrName:void 0;return this.types[l]=e,n?typeof e.keyName=="string"&&(this.attributes[e.keyName]=e):s&&(e.className&&(this.classes[e.className]=e),e.tagName&&(Array.isArray(e.tagName)?e.tagName=e.tagName.map(o=>o.toUpperCase()):e.tagName=e.tagName.toUpperCase(),(Array.isArray(e.tagName)?e.tagName:[e.tagName]).forEach(o=>{(this.tags[o]==null||e.className==null)&&(this.tags[o]=e)}))),e})}};Wr.blots=new WeakMap;let De=Wr;function br(i,t){return(i.getAttribute("class")||"").split(/\s+/).filter(e=>e.indexOf(`${t}-`)===0)}class ki extends Kt{static keys(t){return(t.getAttribute("class")||"").split(/\s+/).map(e=>e.split("-").slice(0,-1).join("-"))}add(t,e){return this.canAdd(t,e)?(this.remove(t),t.classList.add(`${this.keyName}-${e}`),!0):!1}remove(t){br(t,this.keyName).forEach(e=>{t.classList.remove(e)}),t.classList.length===0&&t.removeAttribute("class")}value(t){const e=(br(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,e)?e:""}}const jt=ki;function Dn(i){const t=i.split("-"),e=t.slice(1).map(s=>s[0].toUpperCase()+s.slice(1)).join("");return t[0]+e}class Ci extends Kt{static keys(t){return(t.getAttribute("style")||"").split(";").map(e=>e.split(":")[0].trim())}add(t,e){return this.canAdd(t,e)?(t.style[Dn(this.keyName)]=e,!0):!1}remove(t){t.style[Dn(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")}value(t){const e=t.style[Dn(this.keyName)];return this.canAdd(t,e)?e:""}}const le=Ci;class Oi{constructor(t){this.attributes={},this.domNode=t,this.build()}attribute(t,e){e?t.add(this.domNode,e)&&(t.value(this.domNode)!=null?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])}build(){this.attributes={};const t=De.find(this.domNode);if(t==null)return;const e=Kt.keys(this.domNode),s=jt.keys(this.domNode),n=le.keys(this.domNode);e.concat(s).concat(n).forEach(l=>{const o=t.scroll.query(l,B.ATTRIBUTE);o instanceof Kt&&(this.attributes[o.attrName]=o)})}copy(t){Object.keys(this.attributes).forEach(e=>{const s=this.attributes[e].value(this.domNode);t.format(e,s)})}move(t){this.copy(t),Object.keys(this.attributes).forEach(e=>{this.attributes[e].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((t,e)=>(t[e]=this.attributes[e].value(this.domNode),t),{})}}const zs=Oi,Xr=class{constructor(t,e){this.scroll=t,this.domNode=e,De.blots.set(e,this),this.prev=null,this.next=null}static create(t){if(this.tagName==null)throw new Be("Blot definition missing tagName");let e,s;return Array.isArray(this.tagName)?(typeof t=="string"?(s=t.toUpperCase(),parseInt(s,10).toString()===s&&(s=parseInt(s,10))):typeof t=="number"&&(s=t),typeof s=="number"?e=document.createElement(this.tagName[s-1]):s&&this.tagName.indexOf(s)>-1?e=document.createElement(s):e=document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e}get statics(){return this.constructor}attach(){}clone(){const t=this.domNode.cloneNode(!1);return this.scroll.create(t)}detach(){this.parent!=null&&this.parent.removeChild(this),De.blots.delete(this.domNode)}deleteAt(t,e){this.isolate(t,e).remove()}formatAt(t,e,s,n){const l=this.isolate(t,e);if(this.scroll.query(s,B.BLOT)!=null&&n)l.wrap(s,n);else if(this.scroll.query(s,B.ATTRIBUTE)!=null){const o=this.scroll.create(this.statics.scope);l.wrap(o),o.format(s,n)}}insertAt(t,e,s){const n=s==null?this.scroll.create("text",e):this.scroll.create(e,s),l=this.split(t);this.parent.insertBefore(n,l||void 0)}isolate(t,e){const s=this.split(t);if(s==null)throw new Error("Attempt to isolate at end");return s.split(e),s}length(){return 1}offset(t=this.parent){return this.parent==null||this===t?0:this.parent.children.offset(this)+this.parent.offset(t)}optimize(t){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(t,e){const s=typeof t=="string"?this.scroll.create(t,e):t;return this.parent!=null&&(this.parent.insertBefore(s,this.next||void 0),this.remove()),s}split(t,e){return t===0?this:this.next}update(t,e){}wrap(t,e){const s=typeof t=="string"?this.scroll.create(t,e):t;if(this.parent!=null&&this.parent.insertBefore(s,this.next||void 0),typeof s.appendChild!="function")throw new Be(`Cannot wrap ${t}`);return s.appendChild(this),s}};Xr.blotName="abstract";let Yr=Xr;const Qr=class extends Yr{static value(t){return!0}index(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1}position(t,e){let s=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return t>0&&(s+=1),[this.parent.domNode,s]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};Qr.scope=B.INLINE_BLOT;let _i=Qr;const yt=_i;class Ii{constructor(){this.head=null,this.tail=null,this.length=0}append(...t){if(this.insertBefore(t[0],null),t.length>1){const e=t.slice(1);this.append(...e)}}at(t){const e=this.iterator();let s=e();for(;s&&t>0;)t-=1,s=e();return s}contains(t){const e=this.iterator();let s=e();for(;s;){if(s===t)return!0;s=e()}return!1}indexOf(t){const e=this.iterator();let s=e(),n=0;for(;s;){if(s===t)return n;n+=1,s=e()}return-1}insertBefore(t,e){t!=null&&(this.remove(t),t.next=e,e!=null?(t.prev=e.prev,e.prev!=null&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):this.tail!=null?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)}offset(t){let e=0,s=this.head;for(;s!=null;){if(s===t)return e;e+=s.length(),s=s.next}return-1}remove(t){this.contains(t)&&(t.prev!=null&&(t.prev.next=t.next),t.next!=null&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)}iterator(t=this.head){return()=>{const e=t;return t!=null&&(t=t.next),e}}find(t,e=!1){const s=this.iterator();let n=s();for(;n;){const l=n.length();if(t<l||e&&t===l&&(n.next==null||n.next.length()!==0))return[n,t];t-=l,n=s()}return[null,0]}forEach(t){const e=this.iterator();let s=e();for(;s;)t(s),s=e()}forEachAt(t,e,s){if(e<=0)return;const[n,l]=this.find(t);let o=t-l;const c=this.iterator(n);let u=c();for(;u&&o<t+e;){const d=u.length();t>o?s(u,t-o,Math.min(e,o+d-t)):s(u,0,Math.min(d,t+e-o)),o+=d,u=c()}}map(t){return this.reduce((e,s)=>(e.push(t(s)),e),[])}reduce(t,e){const s=this.iterator();let n=s();for(;n;)e=t(e,n),n=s();return e}}function yr(i,t){const e=t.find(i);if(e)return e;try{return t.create(i)}catch{const s=t.create(B.INLINE);return Array.from(i.childNodes).forEach(n=>{s.domNode.appendChild(n)}),i.parentNode&&i.parentNode.replaceChild(s.domNode,i),s.attach(),s}}const Jr=class se extends Yr{constructor(t,e){super(t,e),this.uiNode=null,this.build()}appendChild(t){this.insertBefore(t)}attach(){super.attach(),this.children.forEach(t=>{t.attach()})}attachUI(t){this.uiNode!=null&&this.uiNode.remove(),this.uiNode=t,se.uiClass&&this.uiNode.classList.add(se.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new Ii,Array.from(this.domNode.childNodes).filter(t=>t!==this.uiNode).reverse().forEach(t=>{try{const e=yr(t,this.scroll);this.insertBefore(e,this.children.head||void 0)}catch(e){if(e instanceof Be)return;throw e}})}deleteAt(t,e){if(t===0&&e===this.length())return this.remove();this.children.forEachAt(t,e,(s,n,l)=>{s.deleteAt(n,l)})}descendant(t,e=0){const[s,n]=this.children.find(e);return t.blotName==null&&t(s)||t.blotName!=null&&s instanceof t?[s,n]:s instanceof se?s.descendant(t,n):[null,-1]}descendants(t,e=0,s=Number.MAX_VALUE){let n=[],l=s;return this.children.forEachAt(e,s,(o,c,u)=>{(t.blotName==null&&t(o)||t.blotName!=null&&o instanceof t)&&n.push(o),o instanceof se&&(n=n.concat(o.descendants(t,c,l))),l-=u}),n}detach(){this.children.forEach(t=>{t.detach()}),super.detach()}enforceAllowedChildren(){let t=!1;this.children.forEach(e=>{t||this.statics.allowedChildren.some(s=>e instanceof s)||(e.statics.scope===B.BLOCK_BLOT?(e.next!=null&&this.splitAfter(e),e.prev!=null&&this.splitAfter(e.prev),e.parent.unwrap(),t=!0):e instanceof se?e.unwrap():e.remove())})}formatAt(t,e,s,n){this.children.forEachAt(t,e,(l,o,c)=>{l.formatAt(o,c,s,n)})}insertAt(t,e,s){const[n,l]=this.children.find(t);if(n)n.insertAt(l,e,s);else{const o=s==null?this.scroll.create("text",e):this.scroll.create(e,s);this.appendChild(o)}}insertBefore(t,e){t.parent!=null&&t.parent.children.remove(t);let s=null;this.children.insertBefore(t,e||null),t.parent=this,e!=null&&(s=e.domNode),(this.domNode.parentNode!==t.domNode||this.domNode.nextSibling!==s)&&this.domNode.insertBefore(t.domNode,s),t.attach()}length(){return this.children.reduce((t,e)=>t+e.length(),0)}moveChildren(t,e){this.children.forEach(s=>{t.insertBefore(s,e)})}optimize(t){if(super.optimize(t),this.enforceAllowedChildren(),this.uiNode!=null&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length===0)if(this.statics.defaultChild!=null){const e=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(e)}else this.remove()}path(t,e=!1){const[s,n]=this.children.find(t,e),l=[[this,t]];return s instanceof se?l.concat(s.path(n,e)):(s!=null&&l.push([s,n]),l)}removeChild(t){this.children.remove(t)}replaceWith(t,e){const s=typeof t=="string"?this.scroll.create(t,e):t;return s instanceof se&&this.moveChildren(s),super.replaceWith(s)}split(t,e=!1){if(!e){if(t===0)return this;if(t===this.length())return this.next}const s=this.clone();return this.parent&&this.parent.insertBefore(s,this.next||void 0),this.children.forEachAt(t,this.length(),(n,l,o)=>{const c=n.split(l,e);c!=null&&s.appendChild(c)}),s}splitAfter(t){const e=this.clone();for(;t.next!=null;)e.appendChild(t.next);return this.parent&&this.parent.insertBefore(e,this.next||void 0),e}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(t,e){const s=[],n=[];t.forEach(l=>{l.target===this.domNode&&l.type==="childList"&&(s.push(...l.addedNodes),n.push(...l.removedNodes))}),n.forEach(l=>{if(l.parentNode!=null&&l.tagName!=="IFRAME"&&document.body.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const o=this.scroll.find(l);o!=null&&(o.domNode.parentNode==null||o.domNode.parentNode===this.domNode)&&o.detach()}),s.filter(l=>l.parentNode===this.domNode&&l!==this.uiNode).sort((l,o)=>l===o?0:l.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(l=>{let o=null;l.nextSibling!=null&&(o=this.scroll.find(l.nextSibling));const c=yr(l,this.scroll);(c.next!==o||c.next==null)&&(c.parent!=null&&c.parent.removeChild(this),this.insertBefore(c,o||void 0))}),this.enforceAllowedChildren()}};Jr.uiClass="";let Ri=Jr;const Dt=Ri;function Bi(i,t){if(Object.keys(i).length!==Object.keys(t).length)return!1;for(const e in i)if(i[e]!==t[e])return!1;return!0}const ke=class Ce extends Dt{static create(t){return super.create(t)}static formats(t,e){const s=e.query(Ce.blotName);if(!(s!=null&&t.tagName===s.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return t.tagName.toLowerCase()}}constructor(t,e){super(t,e),this.attributes=new zs(this.domNode)}format(t,e){if(t===this.statics.blotName&&!e)this.children.forEach(s=>{s instanceof Ce||(s=s.wrap(Ce.blotName,!0)),this.attributes.copy(s)}),this.unwrap();else{const s=this.scroll.query(t,B.INLINE);if(s==null)return;s instanceof Kt?this.attributes.attribute(s,e):e&&(t!==this.statics.blotName||this.formats()[t]!==e)&&this.replaceWith(t,e)}}formats(){const t=this.attributes.values(),e=this.statics.formats(this.domNode,this.scroll);return e!=null&&(t[this.statics.blotName]=e),t}formatAt(t,e,s,n){this.formats()[s]!=null||this.scroll.query(s,B.ATTRIBUTE)?this.isolate(t,e).format(s,n):super.formatAt(t,e,s,n)}optimize(t){super.optimize(t);const e=this.formats();if(Object.keys(e).length===0)return this.unwrap();const s=this.next;s instanceof Ce&&s.prev===this&&Bi(e,s.formats())&&(s.moveChildren(this),s.remove())}replaceWith(t,e){const s=super.replaceWith(t,e);return this.attributes.copy(s),s}update(t,e){super.update(t,e),t.some(s=>s.target===this.domNode&&s.type==="attributes")&&this.attributes.build()}wrap(t,e){const s=super.wrap(t,e);return s instanceof Ce&&this.attributes.move(s),s}};ke.allowedChildren=[ke,yt],ke.blotName="inline",ke.scope=B.INLINE_BLOT,ke.tagName="SPAN";let Mi=ke;const nr=Mi,Oe=class Wn extends Dt{static create(t){return super.create(t)}static formats(t,e){const s=e.query(Wn.blotName);if(!(s!=null&&t.tagName===s.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return t.tagName.toLowerCase()}}constructor(t,e){super(t,e),this.attributes=new zs(this.domNode)}format(t,e){const s=this.scroll.query(t,B.BLOCK);s!=null&&(s instanceof Kt?this.attributes.attribute(s,e):t===this.statics.blotName&&!e?this.replaceWith(Wn.blotName):e&&(t!==this.statics.blotName||this.formats()[t]!==e)&&this.replaceWith(t,e))}formats(){const t=this.attributes.values(),e=this.statics.formats(this.domNode,this.scroll);return e!=null&&(t[this.statics.blotName]=e),t}formatAt(t,e,s,n){this.scroll.query(s,B.BLOCK)!=null?this.format(s,n):super.formatAt(t,e,s,n)}insertAt(t,e,s){if(s==null||this.scroll.query(e,B.INLINE)!=null)super.insertAt(t,e,s);else{const n=this.split(t);if(n!=null){const l=this.scroll.create(e,s);n.parent.insertBefore(l,n)}else throw new Error("Attempt to insertAt after block boundaries")}}replaceWith(t,e){const s=super.replaceWith(t,e);return this.attributes.copy(s),s}update(t,e){super.update(t,e),t.some(s=>s.target===this.domNode&&s.type==="attributes")&&this.attributes.build()}};Oe.blotName="block",Oe.scope=B.BLOCK_BLOT,Oe.tagName="P",Oe.allowedChildren=[nr,Oe,yt];let Di=Oe;const ls=Di,Xn=class extends Dt{checkMerge(){return this.next!==null&&this.next.statics.blotName===this.statics.blotName}deleteAt(t,e){super.deleteAt(t,e),this.enforceAllowedChildren()}formatAt(t,e,s,n){super.formatAt(t,e,s,n),this.enforceAllowedChildren()}insertAt(t,e,s){super.insertAt(t,e,s),this.enforceAllowedChildren()}optimize(t){super.optimize(t),this.children.length>0&&this.next!=null&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};Xn.blotName="container",Xn.scope=B.BLOCK_BLOT;let Ui=Xn;const Vs=Ui;class ji extends yt{static formats(t,e){}format(t,e){super.formatAt(0,this.length(),t,e)}formatAt(t,e,s,n){t===0&&e===this.length()?this.format(s,n):super.formatAt(t,e,s,n)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const Lt=ji,Pi={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},Hi=100,_e=class extends Dt{constructor(t,e){super(null,e),this.registry=t,this.scroll=this,this.build(),this.observer=new MutationObserver(s=>{this.update(s)}),this.observer.observe(this.domNode,Pi),this.attach()}create(t,e){return this.registry.create(this,t,e)}find(t,e=!1){const s=this.registry.find(t,e);return s?s.scroll===this?s:e?this.find(s.scroll.domNode.parentNode,!0):null:null}query(t,e=B.ANY){return this.registry.query(t,e)}register(...t){return this.registry.register(...t)}build(){this.scroll!=null&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(t,e){this.update(),t===0&&e===this.length()?this.children.forEach(s=>{s.remove()}):super.deleteAt(t,e)}formatAt(t,e,s,n){this.update(),super.formatAt(t,e,s,n)}insertAt(t,e,s){this.update(),super.insertAt(t,e,s)}optimize(t=[],e={}){super.optimize(e);const s=e.mutationsMap||new WeakMap;let n=Array.from(this.observer.takeRecords());for(;n.length>0;)t.push(n.pop());const l=(u,d=!0)=>{u==null||u===this||u.domNode.parentNode!=null&&(s.has(u.domNode)||s.set(u.domNode,[]),d&&l(u.parent))},o=u=>{s.has(u.domNode)&&(u instanceof Dt&&u.children.forEach(o),s.delete(u.domNode),u.optimize(e))};let c=t;for(let u=0;c.length>0;u+=1){if(u>=Hi)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach(d=>{const b=this.find(d.target,!0);b!=null&&(b.domNode===d.target&&(d.type==="childList"?(l(this.find(d.previousSibling,!1)),Array.from(d.addedNodes).forEach(v=>{const g=this.find(v,!1);l(g,!1),g instanceof Dt&&g.children.forEach(m=>{l(m,!1)})})):d.type==="attributes"&&l(b.prev)),l(b))}),this.children.forEach(o),c=Array.from(this.observer.takeRecords()),n=c.slice();n.length>0;)t.push(n.pop())}}update(t,e={}){t=t||this.observer.takeRecords();const s=new WeakMap;t.map(n=>{const l=this.find(n.target,!0);return l==null?null:s.has(l.domNode)?(s.get(l.domNode).push(n),null):(s.set(l.domNode,[n]),l)}).forEach(n=>{n!=null&&n!==this&&s.has(n.domNode)&&n.update(s.get(n.domNode)||[],e)}),e.mutationsMap=s,s.has(this.domNode)&&super.update(s.get(this.domNode),e),this.optimize(t,e)}};_e.blotName="scroll",_e.defaultChild=ls,_e.allowedChildren=[ls,Vs],_e.scope=B.BLOCK_BLOT,_e.tagName="DIV";let Fi=_e;const rr=Fi,Yn=class ti extends yt{static create(t){return document.createTextNode(t)}static value(t){return t.data}constructor(t,e){super(t,e),this.text=this.statics.value(this.domNode)}deleteAt(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)}index(t,e){return this.domNode===t?e:-1}insertAt(t,e,s){s==null?(this.text=this.text.slice(0,t)+e+this.text.slice(t),this.domNode.data=this.text):super.insertAt(t,e,s)}length(){return this.text.length}optimize(t){super.optimize(t),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof ti&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(t,e=!1){return[this.domNode,t]}split(t,e=!1){if(!e){if(t===0)return this;if(t===this.length())return this.next}const s=this.scroll.create(this.domNode.splitText(t));return this.parent.insertBefore(s,this.next||void 0),this.text=this.statics.value(this.domNode),s}update(t,e){t.some(s=>s.type==="characterData"&&s.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};Yn.blotName="text",Yn.scope=B.INLINE_BLOT;let $i=Yn;const Hs=$i,ei=Object.freeze(Object.defineProperty({__proto__:null,Attributor:Kt,AttributorStore:zs,BlockBlot:ls,ClassAttributor:jt,ContainerBlot:Vs,EmbedBlot:Lt,InlineBlot:nr,LeafBlot:yt,ParentBlot:Dt,Registry:De,Scope:B,ScrollBlot:rr,StyleAttributor:le,TextBlot:Hs},Symbol.toStringTag,{value:"Module"}));var _s={exports:{}},Un,vr;function zi(){if(vr)return Un;vr=1;var i=-1,t=1,e=0;function s(f,T,p,k,q){if(f===T)return f?[[e,f]]:[];if(p!=null){var A=Ot(f,T,p);if(A)return A}var S=c(f,T),R=f.substring(0,S);f=f.substring(S),T=T.substring(S),S=d(f,T);var D=f.substring(f.length-S);f=f.substring(0,f.length-S),T=T.substring(0,T.length-S);var C=n(f,T);return R&&C.unshift([e,R]),D&&C.push([e,D]),_(C,q),k&&v(C),C}function n(f,T){var p;if(!f)return[[t,T]];if(!T)return[[i,f]];var k=f.length>T.length?f:T,q=f.length>T.length?T:f,A=k.indexOf(q);if(A!==-1)return p=[[t,k.substring(0,A)],[e,q],[t,k.substring(A+q.length)]],f.length>T.length&&(p[0][0]=p[2][0]=i),p;if(q.length===1)return[[i,f],[t,T]];var S=b(f,T);if(S){var R=S[0],D=S[1],C=S[2],$=S[3],P=S[4],V=s(R,C),G=s(D,$);return V.concat([[e,P]],G)}return l(f,T)}function l(f,T){for(var p=f.length,k=T.length,q=Math.ceil((p+k)/2),A=q,S=2*q,R=new Array(S),D=new Array(S),C=0;C<S;C++)R[C]=-1,D[C]=-1;R[A+1]=0,D[A+1]=0;for(var $=p-k,P=$%2!==0,V=0,G=0,j=0,nt=0,rt=0;rt<q;rt++){for(var z=-rt+V;z<=rt-G;z+=2){var Y=A+z,X;z===-rt||z!==rt&&R[Y-1]<R[Y+1]?X=R[Y+1]:X=R[Y-1]+1;for(var Q=X-z;X<p&&Q<k&&f.charAt(X)===T.charAt(Q);)X++,Q++;if(R[Y]=X,X>p)G+=2;else if(Q>k)V+=2;else if(P){var tt=A+$-z;if(tt>=0&&tt<S&&D[tt]!==-1){var et=p-D[tt];if(X>=et)return o(f,T,X,Q)}}}for(var lt=-rt+j;lt<=rt-nt;lt+=2){var tt=A+lt,et;lt===-rt||lt!==rt&&D[tt-1]<D[tt+1]?et=D[tt+1]:et=D[tt-1]+1;for(var gt=et-lt;et<p&&gt<k&&f.charAt(p-et-1)===T.charAt(k-gt-1);)et++,gt++;if(D[tt]=et,et>p)nt+=2;else if(gt>k)j+=2;else if(!P){var Y=A+$-lt;if(Y>=0&&Y<S&&R[Y]!==-1){var X=R[Y],Q=A+X-Y;if(et=p-et,X>=et)return o(f,T,X,Q)}}}}return[[i,f],[t,T]]}function o(f,T,p,k){var q=f.substring(0,p),A=T.substring(0,k),S=f.substring(p),R=T.substring(k),D=s(q,A),C=s(S,R);return D.concat(C)}function c(f,T){if(!f||!T||f.charAt(0)!==T.charAt(0))return 0;for(var p=0,k=Math.min(f.length,T.length),q=k,A=0;p<q;)f.substring(A,q)==T.substring(A,q)?(p=q,A=p):k=q,q=Math.floor((k-p)/2+p);return M(f.charCodeAt(q-1))&&q--,q}function u(f,T){var p=f.length,k=T.length;if(p==0||k==0)return 0;p>k?f=f.substring(p-k):p<k&&(T=T.substring(0,p));var q=Math.min(p,k);if(f==T)return q;for(var A=0,S=1;;){var R=f.substring(q-S),D=T.indexOf(R);if(D==-1)return A;S+=D,(D==0||f.substring(q-S)==T.substring(0,S))&&(A=S,S++)}}function d(f,T){if(!f||!T||f.slice(-1)!==T.slice(-1))return 0;for(var p=0,k=Math.min(f.length,T.length),q=k,A=0;p<q;)f.substring(f.length-q,f.length-A)==T.substring(T.length-q,T.length-A)?(p=q,A=p):k=q,q=Math.floor((k-p)/2+p);return K(f.charCodeAt(f.length-q))&&q--,q}function b(f,T){var p=f.length>T.length?f:T,k=f.length>T.length?T:f;if(p.length<4||k.length*2<p.length)return null;function q(G,j,nt){for(var rt=G.substring(nt,nt+Math.floor(G.length/4)),z=-1,Y="",X,Q,tt,et;(z=j.indexOf(rt,z+1))!==-1;){var lt=c(G.substring(nt),j.substring(z)),gt=d(G.substring(0,nt),j.substring(0,z));Y.length<gt+lt&&(Y=j.substring(z-gt,z)+j.substring(z,z+lt),X=G.substring(0,nt-gt),Q=G.substring(nt+lt),tt=j.substring(0,z-gt),et=j.substring(z+lt))}return Y.length*2>=G.length?[X,Q,tt,et,Y]:null}var A=q(p,k,Math.ceil(p.length/4)),S=q(p,k,Math.ceil(p.length/2)),R;if(!A&&!S)return null;S?A?R=A[4].length>S[4].length?A:S:R=S:R=A;var D,C,$,P;f.length>T.length?(D=R[0],C=R[1],$=R[2],P=R[3]):($=R[0],P=R[1],D=R[2],C=R[3]);var V=R[4];return[D,C,$,P,V]}function v(f){for(var T=!1,p=[],k=0,q=null,A=0,S=0,R=0,D=0,C=0;A<f.length;)f[A][0]==e?(p[k++]=A,S=D,R=C,D=0,C=0,q=f[A][1]):(f[A][0]==t?D+=f[A][1].length:C+=f[A][1].length,q&&q.length<=Math.max(S,R)&&q.length<=Math.max(D,C)&&(f.splice(p[k-1],0,[i,q]),f[p[k-1]+1][0]=t,k--,k--,A=k>0?p[k-1]:-1,S=0,R=0,D=0,C=0,q=null,T=!0)),A++;for(T&&_(f),L(f),A=1;A<f.length;){if(f[A-1][0]==i&&f[A][0]==t){var $=f[A-1][1],P=f[A][1],V=u($,P),G=u(P,$);V>=G?(V>=$.length/2||V>=P.length/2)&&(f.splice(A,0,[e,P.substring(0,V)]),f[A-1][1]=$.substring(0,$.length-V),f[A+1][1]=P.substring(V),A++):(G>=$.length/2||G>=P.length/2)&&(f.splice(A,0,[e,$.substring(0,G)]),f[A-1][0]=t,f[A-1][1]=P.substring(0,P.length-G),f[A+1][0]=i,f[A+1][1]=$.substring(G),A++),A++}A++}}var g=/[^a-zA-Z0-9]/,m=/\s/,E=/[\r\n]/,w=/\n\r?\n$/,x=/^\r?\n\r?\n/;function L(f){function T(G,j){if(!G||!j)return 6;var nt=G.charAt(G.length-1),rt=j.charAt(0),z=nt.match(g),Y=rt.match(g),X=z&&nt.match(m),Q=Y&&rt.match(m),tt=X&&nt.match(E),et=Q&&rt.match(E),lt=tt&&G.match(w),gt=et&&j.match(x);return lt||gt?5:tt||et?4:z&&!X&&Q?3:X||Q?2:z||Y?1:0}for(var p=1;p<f.length-1;){if(f[p-1][0]==e&&f[p+1][0]==e){var k=f[p-1][1],q=f[p][1],A=f[p+1][1],S=d(k,q);if(S){var R=q.substring(q.length-S);k=k.substring(0,k.length-S),q=R+q.substring(0,q.length-S),A=R+A}for(var D=k,C=q,$=A,P=T(k,q)+T(q,A);q.charAt(0)===A.charAt(0);){k+=q.charAt(0),q=q.substring(1)+A.charAt(0),A=A.substring(1);var V=T(k,q)+T(q,A);V>=P&&(P=V,D=k,C=q,$=A)}f[p-1][1]!=D&&(D?f[p-1][1]=D:(f.splice(p-1,1),p--),f[p][1]=C,$?f[p+1][1]=$:(f.splice(p+1,1),p--))}p++}}function _(f,T){f.push([e,""]);for(var p=0,k=0,q=0,A="",S="",R;p<f.length;){if(p<f.length-1&&!f[p][1]){f.splice(p,1);continue}switch(f[p][0]){case t:q++,S+=f[p][1],p++;break;case i:k++,A+=f[p][1],p++;break;case e:var D=p-q-k-1;if(T){if(D>=0&&st(f[D][1])){var C=f[D][1].slice(-1);if(f[D][1]=f[D][1].slice(0,-1),A=C+A,S=C+S,!f[D][1]){f.splice(D,1),p--;var $=D-1;f[$]&&f[$][0]===t&&(q++,S=f[$][1]+S,$--),f[$]&&f[$][0]===i&&(k++,A=f[$][1]+A,$--),D=$}}if(H(f[p][1])){var C=f[p][1].charAt(0);f[p][1]=f[p][1].slice(1),A+=C,S+=C}}if(p<f.length-1&&!f[p][1]){f.splice(p,1);break}if(A.length>0||S.length>0){A.length>0&&S.length>0&&(R=c(S,A),R!==0&&(D>=0?f[D][1]+=S.substring(0,R):(f.splice(0,0,[e,S.substring(0,R)]),p++),S=S.substring(R),A=A.substring(R)),R=d(S,A),R!==0&&(f[p][1]=S.substring(S.length-R)+f[p][1],S=S.substring(0,S.length-R),A=A.substring(0,A.length-R)));var P=q+k;A.length===0&&S.length===0?(f.splice(p-P,P),p=p-P):A.length===0?(f.splice(p-P,P,[t,S]),p=p-P+1):S.length===0?(f.splice(p-P,P,[i,A]),p=p-P+1):(f.splice(p-P,P,[i,A],[t,S]),p=p-P+2)}p!==0&&f[p-1][0]===e?(f[p-1][1]+=f[p][1],f.splice(p,1)):p++,q=0,k=0,A="",S="";break}}f[f.length-1][1]===""&&f.pop();var V=!1;for(p=1;p<f.length-1;)f[p-1][0]===e&&f[p+1][0]===e&&(f[p][1].substring(f[p][1].length-f[p-1][1].length)===f[p-1][1]?(f[p][1]=f[p-1][1]+f[p][1].substring(0,f[p][1].length-f[p-1][1].length),f[p+1][1]=f[p-1][1]+f[p+1][1],f.splice(p-1,1),V=!0):f[p][1].substring(0,f[p+1][1].length)==f[p+1][1]&&(f[p-1][1]+=f[p+1][1],f[p][1]=f[p][1].substring(f[p+1][1].length)+f[p+1][1],f.splice(p+1,1),V=!0)),p++;V&&_(f,T)}function M(f){return f>=55296&&f<=56319}function K(f){return f>=56320&&f<=57343}function H(f){return K(f.charCodeAt(0))}function st(f){return M(f.charCodeAt(f.length-1))}function it(f){for(var T=[],p=0;p<f.length;p++)f[p][1].length>0&&T.push(f[p]);return T}function ut(f,T,p,k){return st(f)||H(k)?null:it([[e,f],[i,T],[t,p],[e,k]])}function Ot(f,T,p){var k=typeof p=="number"?{index:p,length:0}:p.oldRange,q=typeof p=="number"?null:p.newRange,A=f.length,S=T.length;if(k.length===0&&(q===null||q.length===0)){var R=k.index,D=f.slice(0,R),C=f.slice(R),$=q?q.index:null;t:{var P=R+S-A;if($!==null&&$!==P||P<0||P>S)break t;var V=T.slice(0,P),G=T.slice(P);if(G!==C)break t;var j=Math.min(R,P),nt=D.slice(0,j),rt=V.slice(0,j);if(nt!==rt)break t;var z=D.slice(j),Y=V.slice(j);return ut(nt,z,Y,C)}t:{if($!==null&&$!==R)break t;var X=R,V=T.slice(0,X),G=T.slice(X);if(V!==D)break t;var Q=Math.min(A-X,S-X),tt=C.slice(C.length-Q),et=G.slice(G.length-Q);if(tt!==et)break t;var z=C.slice(0,C.length-Q),Y=G.slice(0,G.length-Q);return ut(D,z,Y,tt)}}if(k.length>0&&q&&q.length===0)t:{var nt=f.slice(0,k.index),tt=f.slice(k.index+k.length),j=nt.length,Q=tt.length;if(S<j+Q)break t;var rt=T.slice(0,j),et=T.slice(S-Q);if(nt!==rt||tt!==et)break t;var z=f.slice(j,A-Q),Y=T.slice(j,S-Q);return ut(nt,z,Y,tt)}return null}function Tt(f,T,p,k){return s(f,T,p,k,!0)}return Tt.INSERT=t,Tt.DELETE=i,Tt.EQUAL=e,Un=Tt,Un}var ss={exports:{}};ss.exports;var Er;function si(){return Er||(Er=1,function(i,t){var e=200,s="__lodash_hash_undefined__",n=9007199254740991,l="[object Arguments]",o="[object Array]",c="[object Boolean]",u="[object Date]",d="[object Error]",b="[object Function]",v="[object GeneratorFunction]",g="[object Map]",m="[object Number]",E="[object Object]",w="[object Promise]",x="[object RegExp]",L="[object Set]",_="[object String]",M="[object Symbol]",K="[object WeakMap]",H="[object ArrayBuffer]",st="[object DataView]",it="[object Float32Array]",ut="[object Float64Array]",Ot="[object Int8Array]",Tt="[object Int16Array]",f="[object Int32Array]",T="[object Uint8Array]",p="[object Uint8ClampedArray]",k="[object Uint16Array]",q="[object Uint32Array]",A=/[\\^$.*+?()[\]{}|]/g,S=/\w*$/,R=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,C={};C[l]=C[o]=C[H]=C[st]=C[c]=C[u]=C[it]=C[ut]=C[Ot]=C[Tt]=C[f]=C[g]=C[m]=C[E]=C[x]=C[L]=C[_]=C[M]=C[T]=C[p]=C[k]=C[q]=!0,C[d]=C[b]=C[K]=!1;var $=typeof ct.commonjsGlobal=="object"&&ct.commonjsGlobal&&ct.commonjsGlobal.Object===Object&&ct.commonjsGlobal,P=typeof self=="object"&&self&&self.Object===Object&&self,V=$||P||Function("return this")(),G=t&&!t.nodeType&&t,j=G&&!0&&i&&!i.nodeType&&i,nt=j&&j.exports===G;function rt(r,a){return r.set(a[0],a[1]),r}function z(r,a){return r.add(a),r}function Y(r,a){for(var h=-1,y=r?r.length:0;++h<y&&a(r[h],h,r)!==!1;);return r}function X(r,a){for(var h=-1,y=a.length,F=r.length;++h<y;)r[F+h]=a[h];return r}function Q(r,a,h,y){for(var F=-1,U=r?r.length:0;++F<U;)h=a(h,r[F],F,r);return h}function tt(r,a){for(var h=-1,y=Array(r);++h<r;)y[h]=a(h);return y}function et(r,a){return r?.[a]}function lt(r){var a=!1;if(r!=null&&typeof r.toString!="function")try{a=!!(r+"")}catch{}return a}function gt(r){var a=-1,h=Array(r.size);return r.forEach(function(y,F){h[++a]=[F,y]}),h}function je(r,a){return function(h){return r(a(h))}}function ds(r){var a=-1,h=Array(r.size);return r.forEach(function(y){h[++a]=y}),h}var Ws=Array.prototype,Xs=Function.prototype,ye=Object.prototype,Pe=V["__core-js_shared__"],gs=function(){var r=/[^.]+$/.exec(Pe&&Pe.keys&&Pe.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),ps=Xs.toString,Ft=ye.hasOwnProperty,ve=ye.toString,Ys=RegExp("^"+ps.call(Ft).replace(A,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),oe=nt?V.Buffer:void 0,Ee=V.Symbol,He=V.Uint8Array,qt=je(Object.getPrototypeOf,Object),ms=Object.create,bs=ye.propertyIsEnumerable,Qs=Ws.splice,Fe=Object.getOwnPropertySymbols,Ne=oe?oe.isBuffer:void 0,ys=je(Object.keys,Object),Ae=It(V,"DataView"),ae=It(V,"Map"),_t=It(V,"Promise"),we=It(V,"Set"),$e=It(V,"WeakMap"),ce=It(Object,"create"),ze=vt(Ae),ue=vt(ae),Ve=vt(_t),Ke=vt(we),Ge=vt($e),te=Ee?Ee.prototype:void 0,vs=te?te.valueOf:void 0;function Gt(r){var a=-1,h=r?r.length:0;for(this.clear();++a<h;){var y=r[a];this.set(y[0],y[1])}}function Js(){this.__data__=ce?ce(null):{}}function tn(r){return this.has(r)&&delete this.__data__[r]}function en(r){var a=this.__data__;if(ce){var h=a[r];return h===s?void 0:h}return Ft.call(a,r)?a[r]:void 0}function Es(r){var a=this.__data__;return ce?a[r]!==void 0:Ft.call(a,r)}function Ze(r,a){var h=this.__data__;return h[r]=ce&&a===void 0?s:a,this}Gt.prototype.clear=Js,Gt.prototype.delete=tn,Gt.prototype.get=en,Gt.prototype.has=Es,Gt.prototype.set=Ze;function ht(r){var a=-1,h=r?r.length:0;for(this.clear();++a<h;){var y=r[a];this.set(y[0],y[1])}}function sn(){this.__data__=[]}function nn(r){var a=this.__data__,h=Te(a,r);if(h<0)return!1;var y=a.length-1;return h==y?a.pop():Qs.call(a,h,1),!0}function rn(r){var a=this.__data__,h=Te(a,r);return h<0?void 0:a[h][1]}function ln(r){return Te(this.__data__,r)>-1}function on(r,a){var h=this.__data__,y=Te(h,r);return y<0?h.push([r,a]):h[y][1]=a,this}ht.prototype.clear=sn,ht.prototype.delete=nn,ht.prototype.get=rn,ht.prototype.has=ln,ht.prototype.set=on;function pt(r){var a=-1,h=r?r.length:0;for(this.clear();++a<h;){var y=r[a];this.set(y[0],y[1])}}function an(){this.__data__={hash:new Gt,map:new(ae||ht),string:new Gt}}function cn(r){return fe(this,r).delete(r)}function un(r){return fe(this,r).get(r)}function hn(r){return fe(this,r).has(r)}function fn(r,a){return fe(this,r).set(r,a),this}pt.prototype.clear=an,pt.prototype.delete=cn,pt.prototype.get=un,pt.prototype.has=hn,pt.prototype.set=fn;function wt(r){this.__data__=new ht(r)}function dn(){this.__data__=new ht}function gn(r){return this.__data__.delete(r)}function pn(r){return this.__data__.get(r)}function mn(r){return this.__data__.has(r)}function bn(r,a){var h=this.__data__;if(h instanceof ht){var y=h.__data__;if(!ae||y.length<e-1)return y.push([r,a]),this;h=this.__data__=new pt(y)}return h.set(r,a),this}wt.prototype.clear=dn,wt.prototype.delete=gn,wt.prototype.get=pn,wt.prototype.has=mn,wt.prototype.set=bn;function xe(r,a){var h=Qe(r)||qe(r)?tt(r.length,String):[],y=h.length,F=!!y;for(var U in r)Ft.call(r,U)&&!(F&&(U=="length"||On(U,y)))&&h.push(U);return h}function Ns(r,a,h){var y=r[a];(!(Ft.call(r,a)&&Ls(y,h))||h===void 0&&!(a in r))&&(r[a]=h)}function Te(r,a){for(var h=r.length;h--;)if(Ls(r[h][0],a))return h;return-1}function $t(r,a){return r&&Ye(a,ts(a),r)}function We(r,a,h,y,F,U,W){var Z;if(y&&(Z=U?y(r,F,U,W):y(r)),Z!==void 0)return Z;if(!Vt(r))return r;var ot=Qe(r);if(ot){if(Z=kn(r),!a)return Ln(r,Z)}else{var J=Wt(r),mt=J==b||J==v;if(qs(r))return Le(r,a);if(J==E||J==l||mt&&!U){if(lt(r))return U?r:{};if(Z=zt(mt?{}:r),!a)return qn(r,$t(Z,r))}else{if(!C[J])return U?r:{};Z=Cn(r,J,We,a)}}W||(W=new wt);var xt=W.get(r);if(xt)return xt;if(W.set(r,Z),!ot)var at=h?Sn(r):ts(r);return Y(at||r,function(bt,ft){at&&(ft=bt,bt=r[ft]),Ns(Z,ft,We(bt,a,h,y,ft,r,W))}),Z}function yn(r){return Vt(r)?ms(r):{}}function vn(r,a,h){var y=a(r);return Qe(r)?y:X(y,h(r))}function En(r){return ve.call(r)}function Nn(r){if(!Vt(r)||In(r))return!1;var a=Je(r)||lt(r)?Ys:R;return a.test(vt(r))}function An(r){if(!xs(r))return ys(r);var a=[];for(var h in Object(r))Ft.call(r,h)&&h!="constructor"&&a.push(h);return a}function Le(r,a){if(a)return r.slice();var h=new r.constructor(r.length);return r.copy(h),h}function Xe(r){var a=new r.constructor(r.byteLength);return new He(a).set(new He(r)),a}function he(r,a){var h=a?Xe(r.buffer):r.buffer;return new r.constructor(h,r.byteOffset,r.byteLength)}function As(r,a,h){var y=a?h(gt(r),!0):gt(r);return Q(y,rt,new r.constructor)}function ws(r){var a=new r.constructor(r.source,S.exec(r));return a.lastIndex=r.lastIndex,a}function wn(r,a,h){var y=a?h(ds(r),!0):ds(r);return Q(y,z,new r.constructor)}function xn(r){return vs?Object(vs.call(r)):{}}function Tn(r,a){var h=a?Xe(r.buffer):r.buffer;return new r.constructor(h,r.byteOffset,r.length)}function Ln(r,a){var h=-1,y=r.length;for(a||(a=Array(y));++h<y;)a[h]=r[h];return a}function Ye(r,a,h,y){h||(h={});for(var F=-1,U=a.length;++F<U;){var W=a[F],Z=void 0;Ns(h,W,Z===void 0?r[W]:Z)}return h}function qn(r,a){return Ye(r,Zt(r),a)}function Sn(r){return vn(r,ts,Zt)}function fe(r,a){var h=r.__data__;return _n(a)?h[typeof a=="string"?"string":"hash"]:h.map}function It(r,a){var h=et(r,a);return Nn(h)?h:void 0}var Zt=Fe?je(Fe,Object):Bn,Wt=En;(Ae&&Wt(new Ae(new ArrayBuffer(1)))!=st||ae&&Wt(new ae)!=g||_t&&Wt(_t.resolve())!=w||we&&Wt(new we)!=L||$e&&Wt(new $e)!=K)&&(Wt=function(r){var a=ve.call(r),h=a==E?r.constructor:void 0,y=h?vt(h):void 0;if(y)switch(y){case ze:return st;case ue:return g;case Ve:return w;case Ke:return L;case Ge:return K}return a});function kn(r){var a=r.length,h=r.constructor(a);return a&&typeof r[0]=="string"&&Ft.call(r,"index")&&(h.index=r.index,h.input=r.input),h}function zt(r){return typeof r.constructor=="function"&&!xs(r)?yn(qt(r)):{}}function Cn(r,a,h,y){var F=r.constructor;switch(a){case H:return Xe(r);case c:case u:return new F(+r);case st:return he(r,y);case it:case ut:case Ot:case Tt:case f:case T:case p:case k:case q:return Tn(r,y);case g:return As(r,y,h);case m:case _:return new F(r);case x:return ws(r);case L:return wn(r,y,h);case M:return xn(r)}}function On(r,a){return a=a??n,!!a&&(typeof r=="number"||D.test(r))&&r>-1&&r%1==0&&r<a}function _n(r){var a=typeof r;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?r!=="__proto__":r===null}function In(r){return!!gs&&gs in r}function xs(r){var a=r&&r.constructor,h=typeof a=="function"&&a.prototype||ye;return r===h}function vt(r){if(r!=null){try{return ps.call(r)}catch{}try{return r+""}catch{}}return""}function Ts(r){return We(r,!0,!0)}function Ls(r,a){return r===a||r!==r&&a!==a}function qe(r){return Rn(r)&&Ft.call(r,"callee")&&(!bs.call(r,"callee")||ve.call(r)==l)}var Qe=Array.isArray;function Se(r){return r!=null&&Ss(r.length)&&!Je(r)}function Rn(r){return ks(r)&&Se(r)}var qs=Ne||Mn;function Je(r){var a=Vt(r)?ve.call(r):"";return a==b||a==v}function Ss(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=n}function Vt(r){var a=typeof r;return!!r&&(a=="object"||a=="function")}function ks(r){return!!r&&typeof r=="object"}function ts(r){return Se(r)?xe(r):An(r)}function Bn(){return[]}function Mn(){return!1}i.exports=Ts}(ss,ss.exports)),ss.exports}var ns={exports:{}};ns.exports;var Nr;function ni(){return Nr||(Nr=1,function(i,t){var e=200,s="__lodash_hash_undefined__",n=1,l=2,o=9007199254740991,c="[object Arguments]",u="[object Array]",d="[object AsyncFunction]",b="[object Boolean]",v="[object Date]",g="[object Error]",m="[object Function]",E="[object GeneratorFunction]",w="[object Map]",x="[object Number]",L="[object Null]",_="[object Object]",M="[object Promise]",K="[object Proxy]",H="[object RegExp]",st="[object Set]",it="[object String]",ut="[object Symbol]",Ot="[object Undefined]",Tt="[object WeakMap]",f="[object ArrayBuffer]",T="[object DataView]",p="[object Float32Array]",k="[object Float64Array]",q="[object Int8Array]",A="[object Int16Array]",S="[object Int32Array]",R="[object Uint8Array]",D="[object Uint8ClampedArray]",C="[object Uint16Array]",$="[object Uint32Array]",P=/[\\^$.*+?()[\]{}|]/g,V=/^\[object .+?Constructor\]$/,G=/^(?:0|[1-9]\d*)$/,j={};j[p]=j[k]=j[q]=j[A]=j[S]=j[R]=j[D]=j[C]=j[$]=!0,j[c]=j[u]=j[f]=j[b]=j[T]=j[v]=j[g]=j[m]=j[w]=j[x]=j[_]=j[H]=j[st]=j[it]=j[Tt]=!1;var nt=typeof ct.commonjsGlobal=="object"&&ct.commonjsGlobal&&ct.commonjsGlobal.Object===Object&&ct.commonjsGlobal,rt=typeof self=="object"&&self&&self.Object===Object&&self,z=nt||rt||Function("return this")(),Y=t&&!t.nodeType&&t,X=Y&&!0&&i&&!i.nodeType&&i,Q=X&&X.exports===Y,tt=Q&&nt.process,et=function(){try{return tt&&tt.binding&&tt.binding("util")}catch{}}(),lt=et&&et.isTypedArray;function gt(r,a){for(var h=-1,y=r==null?0:r.length,F=0,U=[];++h<y;){var W=r[h];a(W,h,r)&&(U[F++]=W)}return U}function je(r,a){for(var h=-1,y=a.length,F=r.length;++h<y;)r[F+h]=a[h];return r}function ds(r,a){for(var h=-1,y=r==null?0:r.length;++h<y;)if(a(r[h],h,r))return!0;return!1}function Ws(r,a){for(var h=-1,y=Array(r);++h<r;)y[h]=a(h);return y}function Xs(r){return function(a){return r(a)}}function ye(r,a){return r.has(a)}function Pe(r,a){return r?.[a]}function gs(r){var a=-1,h=Array(r.size);return r.forEach(function(y,F){h[++a]=[F,y]}),h}function ps(r,a){return function(h){return r(a(h))}}function Ft(r){var a=-1,h=Array(r.size);return r.forEach(function(y){h[++a]=y}),h}var ve=Array.prototype,Ys=Function.prototype,oe=Object.prototype,Ee=z["__core-js_shared__"],He=Ys.toString,qt=oe.hasOwnProperty,ms=function(){var r=/[^.]+$/.exec(Ee&&Ee.keys&&Ee.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),bs=oe.toString,Qs=RegExp("^"+He.call(qt).replace(P,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fe=Q?z.Buffer:void 0,Ne=z.Symbol,ys=z.Uint8Array,Ae=oe.propertyIsEnumerable,ae=ve.splice,_t=Ne?Ne.toStringTag:void 0,we=Object.getOwnPropertySymbols,$e=Fe?Fe.isBuffer:void 0,ce=ps(Object.keys,Object),ze=Zt(z,"DataView"),ue=Zt(z,"Map"),Ve=Zt(z,"Promise"),Ke=Zt(z,"Set"),Ge=Zt(z,"WeakMap"),te=Zt(Object,"create"),vs=vt(ze),Gt=vt(ue),Js=vt(Ve),tn=vt(Ke),en=vt(Ge),Es=Ne?Ne.prototype:void 0,Ze=Es?Es.valueOf:void 0;function ht(r){var a=-1,h=r==null?0:r.length;for(this.clear();++a<h;){var y=r[a];this.set(y[0],y[1])}}function sn(){this.__data__=te?te(null):{},this.size=0}function nn(r){var a=this.has(r)&&delete this.__data__[r];return this.size-=a?1:0,a}function rn(r){var a=this.__data__;if(te){var h=a[r];return h===s?void 0:h}return qt.call(a,r)?a[r]:void 0}function ln(r){var a=this.__data__;return te?a[r]!==void 0:qt.call(a,r)}function on(r,a){var h=this.__data__;return this.size+=this.has(r)?0:1,h[r]=te&&a===void 0?s:a,this}ht.prototype.clear=sn,ht.prototype.delete=nn,ht.prototype.get=rn,ht.prototype.has=ln,ht.prototype.set=on;function pt(r){var a=-1,h=r==null?0:r.length;for(this.clear();++a<h;){var y=r[a];this.set(y[0],y[1])}}function an(){this.__data__=[],this.size=0}function cn(r){var a=this.__data__,h=Le(a,r);if(h<0)return!1;var y=a.length-1;return h==y?a.pop():ae.call(a,h,1),--this.size,!0}function un(r){var a=this.__data__,h=Le(a,r);return h<0?void 0:a[h][1]}function hn(r){return Le(this.__data__,r)>-1}function fn(r,a){var h=this.__data__,y=Le(h,r);return y<0?(++this.size,h.push([r,a])):h[y][1]=a,this}pt.prototype.clear=an,pt.prototype.delete=cn,pt.prototype.get=un,pt.prototype.has=hn,pt.prototype.set=fn;function wt(r){var a=-1,h=r==null?0:r.length;for(this.clear();++a<h;){var y=r[a];this.set(y[0],y[1])}}function dn(){this.size=0,this.__data__={hash:new ht,map:new(ue||pt),string:new ht}}function gn(r){var a=It(this,r).delete(r);return this.size-=a?1:0,a}function pn(r){return It(this,r).get(r)}function mn(r){return It(this,r).has(r)}function bn(r,a){var h=It(this,r),y=h.size;return h.set(r,a),this.size+=h.size==y?0:1,this}wt.prototype.clear=dn,wt.prototype.delete=gn,wt.prototype.get=pn,wt.prototype.has=mn,wt.prototype.set=bn;function xe(r){var a=-1,h=r==null?0:r.length;for(this.__data__=new wt;++a<h;)this.add(r[a])}function Ns(r){return this.__data__.set(r,s),this}function Te(r){return this.__data__.has(r)}xe.prototype.add=xe.prototype.push=Ns,xe.prototype.has=Te;function $t(r){var a=this.__data__=new pt(r);this.size=a.size}function We(){this.__data__=new pt,this.size=0}function yn(r){var a=this.__data__,h=a.delete(r);return this.size=a.size,h}function vn(r){return this.__data__.get(r)}function En(r){return this.__data__.has(r)}function Nn(r,a){var h=this.__data__;if(h instanceof pt){var y=h.__data__;if(!ue||y.length<e-1)return y.push([r,a]),this.size=++h.size,this;h=this.__data__=new wt(y)}return h.set(r,a),this.size=h.size,this}$t.prototype.clear=We,$t.prototype.delete=yn,$t.prototype.get=vn,$t.prototype.has=En,$t.prototype.set=Nn;function An(r,a){var h=qe(r),y=!h&&Ls(r),F=!h&&!y&&Se(r),U=!h&&!y&&!F&&ks(r),W=h||y||F||U,Z=W?Ws(r.length,String):[],ot=Z.length;for(var J in r)qt.call(r,J)&&!(W&&(J=="length"||F&&(J=="offset"||J=="parent")||U&&(J=="buffer"||J=="byteLength"||J=="byteOffset")||Cn(J,ot)))&&Z.push(J);return Z}function Le(r,a){for(var h=r.length;h--;)if(Ts(r[h][0],a))return h;return-1}function Xe(r,a,h){var y=a(r);return qe(r)?y:je(y,h(r))}function he(r){return r==null?r===void 0?Ot:L:_t&&_t in Object(r)?Wt(r):xs(r)}function As(r){return Vt(r)&&he(r)==c}function ws(r,a,h,y,F){return r===a?!0:r==null||a==null||!Vt(r)&&!Vt(a)?r!==r&&a!==a:wn(r,a,h,y,ws,F)}function wn(r,a,h,y,F,U){var W=qe(r),Z=qe(a),ot=W?u:zt(r),J=Z?u:zt(a);ot=ot==c?_:ot,J=J==c?_:J;var mt=ot==_,xt=J==_,at=ot==J;if(at&&Se(r)){if(!Se(a))return!1;W=!0,mt=!1}if(at&&!mt)return U||(U=new $t),W||ks(r)?Ye(r,a,h,y,F,U):qn(r,a,ot,h,y,F,U);if(!(h&n)){var bt=mt&&qt.call(r,"__wrapped__"),ft=xt&&qt.call(a,"__wrapped__");if(bt||ft){var ee=bt?r.value():r,Xt=ft?a.value():a;return U||(U=new $t),F(ee,Xt,h,y,U)}}return at?(U||(U=new $t),Sn(r,a,h,y,F,U)):!1}function xn(r){if(!Ss(r)||_n(r))return!1;var a=qs(r)?Qs:V;return a.test(vt(r))}function Tn(r){return Vt(r)&&Je(r.length)&&!!j[he(r)]}function Ln(r){if(!In(r))return ce(r);var a=[];for(var h in Object(r))qt.call(r,h)&&h!="constructor"&&a.push(h);return a}function Ye(r,a,h,y,F,U){var W=h&n,Z=r.length,ot=a.length;if(Z!=ot&&!(W&&ot>Z))return!1;var J=U.get(r);if(J&&U.get(a))return J==a;var mt=-1,xt=!0,at=h&l?new xe:void 0;for(U.set(r,a),U.set(a,r);++mt<Z;){var bt=r[mt],ft=a[mt];if(y)var ee=W?y(ft,bt,mt,a,r,U):y(bt,ft,mt,r,a,U);if(ee!==void 0){if(ee)continue;xt=!1;break}if(at){if(!ds(a,function(Xt,de){if(!ye(at,de)&&(bt===Xt||F(bt,Xt,h,y,U)))return at.push(de)})){xt=!1;break}}else if(!(bt===ft||F(bt,ft,h,y,U))){xt=!1;break}}return U.delete(r),U.delete(a),xt}function qn(r,a,h,y,F,U,W){switch(h){case T:if(r.byteLength!=a.byteLength||r.byteOffset!=a.byteOffset)return!1;r=r.buffer,a=a.buffer;case f:return!(r.byteLength!=a.byteLength||!U(new ys(r),new ys(a)));case b:case v:case x:return Ts(+r,+a);case g:return r.name==a.name&&r.message==a.message;case H:case it:return r==a+"";case w:var Z=gs;case st:var ot=y&n;if(Z||(Z=Ft),r.size!=a.size&&!ot)return!1;var J=W.get(r);if(J)return J==a;y|=l,W.set(r,a);var mt=Ye(Z(r),Z(a),y,F,U,W);return W.delete(r),mt;case ut:if(Ze)return Ze.call(r)==Ze.call(a)}return!1}function Sn(r,a,h,y,F,U){var W=h&n,Z=fe(r),ot=Z.length,J=fe(a),mt=J.length;if(ot!=mt&&!W)return!1;for(var xt=ot;xt--;){var at=Z[xt];if(!(W?at in a:qt.call(a,at)))return!1}var bt=U.get(r);if(bt&&U.get(a))return bt==a;var ft=!0;U.set(r,a),U.set(a,r);for(var ee=W;++xt<ot;){at=Z[xt];var Xt=r[at],de=a[at];if(y)var mr=W?y(de,Xt,at,a,r,U):y(Xt,de,at,r,a,U);if(!(mr===void 0?Xt===de||F(Xt,de,h,y,U):mr)){ft=!1;break}ee||(ee=at=="constructor")}if(ft&&!ee){var Cs=r.constructor,Os=a.constructor;Cs!=Os&&"constructor"in r&&"constructor"in a&&!(typeof Cs=="function"&&Cs instanceof Cs&&typeof Os=="function"&&Os instanceof Os)&&(ft=!1)}return U.delete(r),U.delete(a),ft}function fe(r){return Xe(r,ts,kn)}function It(r,a){var h=r.__data__;return On(a)?h[typeof a=="string"?"string":"hash"]:h.map}function Zt(r,a){var h=Pe(r,a);return xn(h)?h:void 0}function Wt(r){var a=qt.call(r,_t),h=r[_t];try{r[_t]=void 0;var y=!0}catch{}var F=bs.call(r);return y&&(a?r[_t]=h:delete r[_t]),F}var kn=we?function(r){return r==null?[]:(r=Object(r),gt(we(r),function(a){return Ae.call(r,a)}))}:Bn,zt=he;(ze&&zt(new ze(new ArrayBuffer(1)))!=T||ue&&zt(new ue)!=w||Ve&&zt(Ve.resolve())!=M||Ke&&zt(new Ke)!=st||Ge&&zt(new Ge)!=Tt)&&(zt=function(r){var a=he(r),h=a==_?r.constructor:void 0,y=h?vt(h):"";if(y)switch(y){case vs:return T;case Gt:return w;case Js:return M;case tn:return st;case en:return Tt}return a});function Cn(r,a){return a=a??o,!!a&&(typeof r=="number"||G.test(r))&&r>-1&&r%1==0&&r<a}function On(r){var a=typeof r;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?r!=="__proto__":r===null}function _n(r){return!!ms&&ms in r}function In(r){var a=r&&r.constructor,h=typeof a=="function"&&a.prototype||oe;return r===h}function xs(r){return bs.call(r)}function vt(r){if(r!=null){try{return He.call(r)}catch{}try{return r+""}catch{}}return""}function Ts(r,a){return r===a||r!==r&&a!==a}var Ls=As(function(){return arguments}())?As:function(r){return Vt(r)&&qt.call(r,"callee")&&!Ae.call(r,"callee")},qe=Array.isArray;function Qe(r){return r!=null&&Je(r.length)&&!qs(r)}var Se=$e||Mn;function Rn(r,a){return ws(r,a)}function qs(r){if(!Ss(r))return!1;var a=he(r);return a==m||a==E||a==d||a==K}function Je(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=o}function Ss(r){var a=typeof r;return r!=null&&(a=="object"||a=="function")}function Vt(r){return r!=null&&typeof r=="object"}var ks=lt?Xs(lt):Tn;function ts(r){return Qe(r)?An(r):Ln(r)}function Bn(){return[]}function Mn(){return!1}i.exports=Rn}(ns,ns.exports)),ns.exports}var Is={},Ar;function Vi(){if(Ar)return Is;Ar=1,Object.defineProperty(Is,"__esModule",{value:!0});const i=si(),t=ni();var e;return function(s){function n(u={},d={},b=!1){typeof u!="object"&&(u={}),typeof d!="object"&&(d={});let v=i(d);b||(v=Object.keys(v).reduce((g,m)=>(v[m]!=null&&(g[m]=v[m]),g),{}));for(const g in u)u[g]!==void 0&&d[g]===void 0&&(v[g]=u[g]);return Object.keys(v).length>0?v:void 0}s.compose=n;function l(u={},d={}){typeof u!="object"&&(u={}),typeof d!="object"&&(d={});const b=Object.keys(u).concat(Object.keys(d)).reduce((v,g)=>(t(u[g],d[g])||(v[g]=d[g]===void 0?null:d[g]),v),{});return Object.keys(b).length>0?b:void 0}s.diff=l;function o(u={},d={}){u=u||{};const b=Object.keys(d).reduce((v,g)=>(d[g]!==u[g]&&u[g]!==void 0&&(v[g]=d[g]),v),{});return Object.keys(u).reduce((v,g)=>(u[g]!==d[g]&&d[g]===void 0&&(v[g]=null),v),b)}s.invert=o;function c(u,d,b=!1){if(typeof u!="object")return d;if(typeof d!="object")return;if(!b)return d;const v=Object.keys(d).reduce((g,m)=>(u[m]===void 0&&(g[m]=d[m]),g),{});return Object.keys(v).length>0?v:void 0}s.transform=c}(e||(e={})),Is.default=e,Is}var Rs={},wr;function ri(){if(wr)return Rs;wr=1,Object.defineProperty(Rs,"__esModule",{value:!0});var i;return function(t){function e(s){return typeof s.delete=="number"?s.delete:typeof s.retain=="number"?s.retain:typeof s.retain=="object"&&s.retain!==null?1:typeof s.insert=="string"?s.insert.length:1}t.length=e}(i||(i={})),Rs.default=i,Rs}var Bs={},xr;function Ki(){if(xr)return Bs;xr=1,Object.defineProperty(Bs,"__esModule",{value:!0});const i=ri();class t{constructor(s){this.ops=s,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(s){s||(s=1/0);const n=this.ops[this.index];if(n){const l=this.offset,o=i.default.length(n);if(s>=o-l?(s=o-l,this.index+=1,this.offset=0):this.offset+=s,typeof n.delete=="number")return{delete:s};{const c={};return n.attributes&&(c.attributes=n.attributes),typeof n.retain=="number"?c.retain=s:typeof n.retain=="object"&&n.retain!==null?c.retain=n.retain:typeof n.insert=="string"?c.insert=n.insert.substr(l,s):c.insert=n.insert,c}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?i.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const s=this.ops[this.index];return s?typeof s.delete=="number"?"delete":typeof s.retain=="number"||typeof s.retain=="object"&&s.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{const s=this.offset,n=this.index,l=this.next(),o=this.ops.slice(this.index);return this.offset=s,this.index=n,[l].concat(o)}}else return[]}}return Bs.default=t,Bs}var Tr;function Gi(){return Tr||(Tr=1,function(i,t){Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeMap=t.OpIterator=t.Op=void 0;const e=zi(),s=si(),n=ni(),l=Vi();t.AttributeMap=l.default;const o=ri();t.Op=o.default;const c=Ki();t.OpIterator=c.default;const u="\0",d=(v,g)=>{if(typeof v!="object"||v===null)throw new Error(`cannot retain a ${typeof v}`);if(typeof g!="object"||g===null)throw new Error(`cannot retain a ${typeof g}`);const m=Object.keys(v)[0];if(!m||m!==Object.keys(g)[0])throw new Error(`embed types not matched: ${m} != ${Object.keys(g)[0]}`);return[m,v[m],g[m]]};class b{constructor(g){Array.isArray(g)?this.ops=g:g!=null&&Array.isArray(g.ops)?this.ops=g.ops:this.ops=[]}static registerEmbed(g,m){this.handlers[g]=m}static unregisterEmbed(g){delete this.handlers[g]}static getHandler(g){const m=this.handlers[g];if(!m)throw new Error(`no handlers for embed type "${g}"`);return m}insert(g,m){const E={};return typeof g=="string"&&g.length===0?this:(E.insert=g,m!=null&&typeof m=="object"&&Object.keys(m).length>0&&(E.attributes=m),this.push(E))}delete(g){return g<=0?this:this.push({delete:g})}retain(g,m){if(typeof g=="number"&&g<=0)return this;const E={retain:g};return m!=null&&typeof m=="object"&&Object.keys(m).length>0&&(E.attributes=m),this.push(E)}push(g){let m=this.ops.length,E=this.ops[m-1];if(g=s(g),typeof E=="object"){if(typeof g.delete=="number"&&typeof E.delete=="number")return this.ops[m-1]={delete:E.delete+g.delete},this;if(typeof E.delete=="number"&&g.insert!=null&&(m-=1,E=this.ops[m-1],typeof E!="object"))return this.ops.unshift(g),this;if(n(g.attributes,E.attributes)){if(typeof g.insert=="string"&&typeof E.insert=="string")return this.ops[m-1]={insert:E.insert+g.insert},typeof g.attributes=="object"&&(this.ops[m-1].attributes=g.attributes),this;if(typeof g.retain=="number"&&typeof E.retain=="number")return this.ops[m-1]={retain:E.retain+g.retain},typeof g.attributes=="object"&&(this.ops[m-1].attributes=g.attributes),this}}return m===this.ops.length?this.ops.push(g):this.ops.splice(m,0,g),this}chop(){const g=this.ops[this.ops.length-1];return g&&typeof g.retain=="number"&&!g.attributes&&this.ops.pop(),this}filter(g){return this.ops.filter(g)}forEach(g){this.ops.forEach(g)}map(g){return this.ops.map(g)}partition(g){const m=[],E=[];return this.forEach(w=>{(g(w)?m:E).push(w)}),[m,E]}reduce(g,m){return this.ops.reduce(g,m)}changeLength(){return this.reduce((g,m)=>m.insert?g+o.default.length(m):m.delete?g-m.delete:g,0)}length(){return this.reduce((g,m)=>g+o.default.length(m),0)}slice(g=0,m=1/0){const E=[],w=new c.default(this.ops);let x=0;for(;x<m&&w.hasNext();){let L;x<g?L=w.next(g-x):(L=w.next(m-x),E.push(L)),x+=o.default.length(L)}return new b(E)}compose(g){const m=new c.default(this.ops),E=new c.default(g.ops),w=[],x=E.peek();if(x!=null&&typeof x.retain=="number"&&x.attributes==null){let _=x.retain;for(;m.peekType()==="insert"&&m.peekLength()<=_;)_-=m.peekLength(),w.push(m.next());x.retain-_>0&&E.next(x.retain-_)}const L=new b(w);for(;m.hasNext()||E.hasNext();)if(E.peekType()==="insert")L.push(E.next());else if(m.peekType()==="delete")L.push(m.next());else{const _=Math.min(m.peekLength(),E.peekLength()),M=m.next(_),K=E.next(_);if(K.retain){const H={};if(typeof M.retain=="number")H.retain=typeof K.retain=="number"?_:K.retain;else if(typeof K.retain=="number")M.retain==null?H.insert=M.insert:H.retain=M.retain;else{const it=M.retain==null?"insert":"retain",[ut,Ot,Tt]=d(M[it],K.retain),f=b.getHandler(ut);H[it]={[ut]:f.compose(Ot,Tt,it==="retain")}}const st=l.default.compose(M.attributes,K.attributes,typeof M.retain=="number");if(st&&(H.attributes=st),L.push(H),!E.hasNext()&&n(L.ops[L.ops.length-1],H)){const it=new b(m.rest());return L.concat(it).chop()}}else typeof K.delete=="number"&&(typeof M.retain=="number"||typeof M.retain=="object"&&M.retain!==null)&&L.push(K)}return L.chop()}concat(g){const m=new b(this.ops.slice());return g.ops.length>0&&(m.push(g.ops[0]),m.ops=m.ops.concat(g.ops.slice(1))),m}diff(g,m){if(this.ops===g.ops)return new b;const E=[this,g].map(M=>M.map(K=>{if(K.insert!=null)return typeof K.insert=="string"?K.insert:u;const H=M===g?"on":"with";throw new Error("diff() called "+H+" non-document")}).join("")),w=new b,x=e(E[0],E[1],m,!0),L=new c.default(this.ops),_=new c.default(g.ops);return x.forEach(M=>{let K=M[1].length;for(;K>0;){let H=0;switch(M[0]){case e.INSERT:H=Math.min(_.peekLength(),K),w.push(_.next(H));break;case e.DELETE:H=Math.min(K,L.peekLength()),L.next(H),w.delete(H);break;case e.EQUAL:H=Math.min(L.peekLength(),_.peekLength(),K);const st=L.next(H),it=_.next(H);n(st.insert,it.insert)?w.retain(H,l.default.diff(st.attributes,it.attributes)):w.push(it).delete(H);break}K-=H}}),w.chop()}eachLine(g,m=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ct=require("./index-CTHP6KZy.cjs"),Si=require("./_baseIsEqual-DCo7Fzxr.cjs"),Re=require("./cloneDeep-BzOuviNz.cjs");function sr(i,t){return Si.baseIsEqual(i,t)}var B=(i=>(i[i.TYPE=3]="TYPE",i[i.LEVEL=12]="LEVEL",i[i.ATTRIBUTE=13]="ATTRIBUTE",i[i.BLOT=14]="BLOT",i[i.INLINE=7]="INLINE",i[i.BLOCK=11]="BLOCK",i[i.BLOCK_BLOT=10]="BLOCK_BLOT",i[i.INLINE_BLOT=6]="INLINE_BLOT",i[i.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",i[i.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",i[i.ANY=15]="ANY",i))(B||{});class Kt{constructor(t,e,s={}){this.attrName=t,this.keyName=e;const n=B.TYPE&B.ATTRIBUTE;this.scope=s.scope!=null?s.scope&B.LEVEL|n:B.ATTRIBUTE,s.whitelist!=null&&(this.whitelist=s.whitelist)}static keys(t){return Array.from(t.attributes).map(e=>e.name)}add(t,e){return this.canAdd(t,e)?(t.setAttribute(this.keyName,e),!0):!1}canAdd(t,e){return this.whitelist==null?!0:typeof e=="string"?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1}remove(t){t.removeAttribute(this.keyName)}value(t){const e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""}}class Be extends Error{constructor(t){t="[Parchment] "+t,super(t),this.message=t,this.name=this.constructor.name}}const Wr=class Zn{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(t,e=!1){if(t==null)return null;if(this.blots.has(t))return this.blots.get(t)||null;if(e){let s=null;try{s=t.parentNode}catch{return null}return this.find(s,e)}return null}create(t,e,s){const n=this.query(e);if(n==null)throw new Be(`Unable to create ${e} blot`);const l=n,o=e instanceof Node||e.nodeType===Node.TEXT_NODE?e:l.create(s),c=new l(t,o,s);return Zn.blots.set(c.domNode,c),c}find(t,e=!1){return Zn.find(t,e)}query(t,e=B.ANY){let s;return typeof t=="string"?s=this.types[t]||this.attributes[t]:t instanceof Text||t.nodeType===Node.TEXT_NODE?s=this.types.text:typeof t=="number"?t&B.LEVEL&B.BLOCK?s=this.types.block:t&B.LEVEL&B.INLINE&&(s=this.types.inline):t instanceof Element&&((t.getAttribute("class")||"").split(/\s+/).some(n=>(s=this.classes[n],!!s)),s=s||this.tags[t.tagName]),s==null?null:"scope"in s&&e&B.LEVEL&s.scope&&e&B.TYPE&s.scope?s:null}register(...t){return t.map(e=>{const s="blotName"in e,n="attrName"in e;if(!s&&!n)throw new Be("Invalid definition");if(s&&e.blotName==="abstract")throw new Be("Cannot register abstract class");const l=s?e.blotName:n?e.attrName:void 0;return this.types[l]=e,n?typeof e.keyName=="string"&&(this.attributes[e.keyName]=e):s&&(e.className&&(this.classes[e.className]=e),e.tagName&&(Array.isArray(e.tagName)?e.tagName=e.tagName.map(o=>o.toUpperCase()):e.tagName=e.tagName.toUpperCase(),(Array.isArray(e.tagName)?e.tagName:[e.tagName]).forEach(o=>{(this.tags[o]==null||e.className==null)&&(this.tags[o]=e)}))),e})}};Wr.blots=new WeakMap;let De=Wr;function br(i,t){return(i.getAttribute("class")||"").split(/\s+/).filter(e=>e.indexOf(`${t}-`)===0)}class ki extends Kt{static keys(t){return(t.getAttribute("class")||"").split(/\s+/).map(e=>e.split("-").slice(0,-1).join("-"))}add(t,e){return this.canAdd(t,e)?(this.remove(t),t.classList.add(`${this.keyName}-${e}`),!0):!1}remove(t){br(t,this.keyName).forEach(e=>{t.classList.remove(e)}),t.classList.length===0&&t.removeAttribute("class")}value(t){const e=(br(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,e)?e:""}}const jt=ki;function Dn(i){const t=i.split("-"),e=t.slice(1).map(s=>s[0].toUpperCase()+s.slice(1)).join("");return t[0]+e}class Ci extends Kt{static keys(t){return(t.getAttribute("style")||"").split(";").map(e=>e.split(":")[0].trim())}add(t,e){return this.canAdd(t,e)?(t.style[Dn(this.keyName)]=e,!0):!1}remove(t){t.style[Dn(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")}value(t){const e=t.style[Dn(this.keyName)];return this.canAdd(t,e)?e:""}}const le=Ci;class Oi{constructor(t){this.attributes={},this.domNode=t,this.build()}attribute(t,e){e?t.add(this.domNode,e)&&(t.value(this.domNode)!=null?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])}build(){this.attributes={};const t=De.find(this.domNode);if(t==null)return;const e=Kt.keys(this.domNode),s=jt.keys(this.domNode),n=le.keys(this.domNode);e.concat(s).concat(n).forEach(l=>{const o=t.scroll.query(l,B.ATTRIBUTE);o instanceof Kt&&(this.attributes[o.attrName]=o)})}copy(t){Object.keys(this.attributes).forEach(e=>{const s=this.attributes[e].value(this.domNode);t.format(e,s)})}move(t){this.copy(t),Object.keys(this.attributes).forEach(e=>{this.attributes[e].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((t,e)=>(t[e]=this.attributes[e].value(this.domNode),t),{})}}const zs=Oi,Xr=class{constructor(t,e){this.scroll=t,this.domNode=e,De.blots.set(e,this),this.prev=null,this.next=null}static create(t){if(this.tagName==null)throw new Be("Blot definition missing tagName");let e,s;return Array.isArray(this.tagName)?(typeof t=="string"?(s=t.toUpperCase(),parseInt(s,10).toString()===s&&(s=parseInt(s,10))):typeof t=="number"&&(s=t),typeof s=="number"?e=document.createElement(this.tagName[s-1]):s&&this.tagName.indexOf(s)>-1?e=document.createElement(s):e=document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e}get statics(){return this.constructor}attach(){}clone(){const t=this.domNode.cloneNode(!1);return this.scroll.create(t)}detach(){this.parent!=null&&this.parent.removeChild(this),De.blots.delete(this.domNode)}deleteAt(t,e){this.isolate(t,e).remove()}formatAt(t,e,s,n){const l=this.isolate(t,e);if(this.scroll.query(s,B.BLOT)!=null&&n)l.wrap(s,n);else if(this.scroll.query(s,B.ATTRIBUTE)!=null){const o=this.scroll.create(this.statics.scope);l.wrap(o),o.format(s,n)}}insertAt(t,e,s){const n=s==null?this.scroll.create("text",e):this.scroll.create(e,s),l=this.split(t);this.parent.insertBefore(n,l||void 0)}isolate(t,e){const s=this.split(t);if(s==null)throw new Error("Attempt to isolate at end");return s.split(e),s}length(){return 1}offset(t=this.parent){return this.parent==null||this===t?0:this.parent.children.offset(this)+this.parent.offset(t)}optimize(t){this.statics.requiredContainer&&!(this.parent instanceof this.statics.requiredContainer)&&this.wrap(this.statics.requiredContainer.blotName)}remove(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(t,e){const s=typeof t=="string"?this.scroll.create(t,e):t;return this.parent!=null&&(this.parent.insertBefore(s,this.next||void 0),this.remove()),s}split(t,e){return t===0?this:this.next}update(t,e){}wrap(t,e){const s=typeof t=="string"?this.scroll.create(t,e):t;if(this.parent!=null&&this.parent.insertBefore(s,this.next||void 0),typeof s.appendChild!="function")throw new Be(`Cannot wrap ${t}`);return s.appendChild(this),s}};Xr.blotName="abstract";let Yr=Xr;const Qr=class extends Yr{static value(t){return!0}index(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1}position(t,e){let s=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return t>0&&(s+=1),[this.parent.domNode,s]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};Qr.scope=B.INLINE_BLOT;let _i=Qr;const yt=_i;class Ii{constructor(){this.head=null,this.tail=null,this.length=0}append(...t){if(this.insertBefore(t[0],null),t.length>1){const e=t.slice(1);this.append(...e)}}at(t){const e=this.iterator();let s=e();for(;s&&t>0;)t-=1,s=e();return s}contains(t){const e=this.iterator();let s=e();for(;s;){if(s===t)return!0;s=e()}return!1}indexOf(t){const e=this.iterator();let s=e(),n=0;for(;s;){if(s===t)return n;n+=1,s=e()}return-1}insertBefore(t,e){t!=null&&(this.remove(t),t.next=e,e!=null?(t.prev=e.prev,e.prev!=null&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):this.tail!=null?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)}offset(t){let e=0,s=this.head;for(;s!=null;){if(s===t)return e;e+=s.length(),s=s.next}return-1}remove(t){this.contains(t)&&(t.prev!=null&&(t.prev.next=t.next),t.next!=null&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)}iterator(t=this.head){return()=>{const e=t;return t!=null&&(t=t.next),e}}find(t,e=!1){const s=this.iterator();let n=s();for(;n;){const l=n.length();if(t<l||e&&t===l&&(n.next==null||n.next.length()!==0))return[n,t];t-=l,n=s()}return[null,0]}forEach(t){const e=this.iterator();let s=e();for(;s;)t(s),s=e()}forEachAt(t,e,s){if(e<=0)return;const[n,l]=this.find(t);let o=t-l;const c=this.iterator(n);let u=c();for(;u&&o<t+e;){const d=u.length();t>o?s(u,t-o,Math.min(e,o+d-t)):s(u,0,Math.min(d,t+e-o)),o+=d,u=c()}}map(t){return this.reduce((e,s)=>(e.push(t(s)),e),[])}reduce(t,e){const s=this.iterator();let n=s();for(;n;)e=t(e,n),n=s();return e}}function yr(i,t){const e=t.find(i);if(e)return e;try{return t.create(i)}catch{const s=t.create(B.INLINE);return Array.from(i.childNodes).forEach(n=>{s.domNode.appendChild(n)}),i.parentNode&&i.parentNode.replaceChild(s.domNode,i),s.attach(),s}}const Jr=class se extends Yr{constructor(t,e){super(t,e),this.uiNode=null,this.build()}appendChild(t){this.insertBefore(t)}attach(){super.attach(),this.children.forEach(t=>{t.attach()})}attachUI(t){this.uiNode!=null&&this.uiNode.remove(),this.uiNode=t,se.uiClass&&this.uiNode.classList.add(se.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new Ii,Array.from(this.domNode.childNodes).filter(t=>t!==this.uiNode).reverse().forEach(t=>{try{const e=yr(t,this.scroll);this.insertBefore(e,this.children.head||void 0)}catch(e){if(e instanceof Be)return;throw e}})}deleteAt(t,e){if(t===0&&e===this.length())return this.remove();this.children.forEachAt(t,e,(s,n,l)=>{s.deleteAt(n,l)})}descendant(t,e=0){const[s,n]=this.children.find(e);return t.blotName==null&&t(s)||t.blotName!=null&&s instanceof t?[s,n]:s instanceof se?s.descendant(t,n):[null,-1]}descendants(t,e=0,s=Number.MAX_VALUE){let n=[],l=s;return this.children.forEachAt(e,s,(o,c,u)=>{(t.blotName==null&&t(o)||t.blotName!=null&&o instanceof t)&&n.push(o),o instanceof se&&(n=n.concat(o.descendants(t,c,l))),l-=u}),n}detach(){this.children.forEach(t=>{t.detach()}),super.detach()}enforceAllowedChildren(){let t=!1;this.children.forEach(e=>{t||this.statics.allowedChildren.some(s=>e instanceof s)||(e.statics.scope===B.BLOCK_BLOT?(e.next!=null&&this.splitAfter(e),e.prev!=null&&this.splitAfter(e.prev),e.parent.unwrap(),t=!0):e instanceof se?e.unwrap():e.remove())})}formatAt(t,e,s,n){this.children.forEachAt(t,e,(l,o,c)=>{l.formatAt(o,c,s,n)})}insertAt(t,e,s){const[n,l]=this.children.find(t);if(n)n.insertAt(l,e,s);else{const o=s==null?this.scroll.create("text",e):this.scroll.create(e,s);this.appendChild(o)}}insertBefore(t,e){t.parent!=null&&t.parent.children.remove(t);let s=null;this.children.insertBefore(t,e||null),t.parent=this,e!=null&&(s=e.domNode),(this.domNode.parentNode!==t.domNode||this.domNode.nextSibling!==s)&&this.domNode.insertBefore(t.domNode,s),t.attach()}length(){return this.children.reduce((t,e)=>t+e.length(),0)}moveChildren(t,e){this.children.forEach(s=>{t.insertBefore(s,e)})}optimize(t){if(super.optimize(t),this.enforceAllowedChildren(),this.uiNode!=null&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length===0)if(this.statics.defaultChild!=null){const e=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(e)}else this.remove()}path(t,e=!1){const[s,n]=this.children.find(t,e),l=[[this,t]];return s instanceof se?l.concat(s.path(n,e)):(s!=null&&l.push([s,n]),l)}removeChild(t){this.children.remove(t)}replaceWith(t,e){const s=typeof t=="string"?this.scroll.create(t,e):t;return s instanceof se&&this.moveChildren(s),super.replaceWith(s)}split(t,e=!1){if(!e){if(t===0)return this;if(t===this.length())return this.next}const s=this.clone();return this.parent&&this.parent.insertBefore(s,this.next||void 0),this.children.forEachAt(t,this.length(),(n,l,o)=>{const c=n.split(l,e);c!=null&&s.appendChild(c)}),s}splitAfter(t){const e=this.clone();for(;t.next!=null;)e.appendChild(t.next);return this.parent&&this.parent.insertBefore(e,this.next||void 0),e}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(t,e){const s=[],n=[];t.forEach(l=>{l.target===this.domNode&&l.type==="childList"&&(s.push(...l.addedNodes),n.push(...l.removedNodes))}),n.forEach(l=>{if(l.parentNode!=null&&l.tagName!=="IFRAME"&&document.body.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;const o=this.scroll.find(l);o!=null&&(o.domNode.parentNode==null||o.domNode.parentNode===this.domNode)&&o.detach()}),s.filter(l=>l.parentNode===this.domNode&&l!==this.uiNode).sort((l,o)=>l===o?0:l.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(l=>{let o=null;l.nextSibling!=null&&(o=this.scroll.find(l.nextSibling));const c=yr(l,this.scroll);(c.next!==o||c.next==null)&&(c.parent!=null&&c.parent.removeChild(this),this.insertBefore(c,o||void 0))}),this.enforceAllowedChildren()}};Jr.uiClass="";let Ri=Jr;const Dt=Ri;function Bi(i,t){if(Object.keys(i).length!==Object.keys(t).length)return!1;for(const e in i)if(i[e]!==t[e])return!1;return!0}const ke=class Ce extends Dt{static create(t){return super.create(t)}static formats(t,e){const s=e.query(Ce.blotName);if(!(s!=null&&t.tagName===s.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return t.tagName.toLowerCase()}}constructor(t,e){super(t,e),this.attributes=new zs(this.domNode)}format(t,e){if(t===this.statics.blotName&&!e)this.children.forEach(s=>{s instanceof Ce||(s=s.wrap(Ce.blotName,!0)),this.attributes.copy(s)}),this.unwrap();else{const s=this.scroll.query(t,B.INLINE);if(s==null)return;s instanceof Kt?this.attributes.attribute(s,e):e&&(t!==this.statics.blotName||this.formats()[t]!==e)&&this.replaceWith(t,e)}}formats(){const t=this.attributes.values(),e=this.statics.formats(this.domNode,this.scroll);return e!=null&&(t[this.statics.blotName]=e),t}formatAt(t,e,s,n){this.formats()[s]!=null||this.scroll.query(s,B.ATTRIBUTE)?this.isolate(t,e).format(s,n):super.formatAt(t,e,s,n)}optimize(t){super.optimize(t);const e=this.formats();if(Object.keys(e).length===0)return this.unwrap();const s=this.next;s instanceof Ce&&s.prev===this&&Bi(e,s.formats())&&(s.moveChildren(this),s.remove())}replaceWith(t,e){const s=super.replaceWith(t,e);return this.attributes.copy(s),s}update(t,e){super.update(t,e),t.some(s=>s.target===this.domNode&&s.type==="attributes")&&this.attributes.build()}wrap(t,e){const s=super.wrap(t,e);return s instanceof Ce&&this.attributes.move(s),s}};ke.allowedChildren=[ke,yt],ke.blotName="inline",ke.scope=B.INLINE_BLOT,ke.tagName="SPAN";let Mi=ke;const nr=Mi,Oe=class Wn extends Dt{static create(t){return super.create(t)}static formats(t,e){const s=e.query(Wn.blotName);if(!(s!=null&&t.tagName===s.tagName)){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return t.tagName.toLowerCase()}}constructor(t,e){super(t,e),this.attributes=new zs(this.domNode)}format(t,e){const s=this.scroll.query(t,B.BLOCK);s!=null&&(s instanceof Kt?this.attributes.attribute(s,e):t===this.statics.blotName&&!e?this.replaceWith(Wn.blotName):e&&(t!==this.statics.blotName||this.formats()[t]!==e)&&this.replaceWith(t,e))}formats(){const t=this.attributes.values(),e=this.statics.formats(this.domNode,this.scroll);return e!=null&&(t[this.statics.blotName]=e),t}formatAt(t,e,s,n){this.scroll.query(s,B.BLOCK)!=null?this.format(s,n):super.formatAt(t,e,s,n)}insertAt(t,e,s){if(s==null||this.scroll.query(e,B.INLINE)!=null)super.insertAt(t,e,s);else{const n=this.split(t);if(n!=null){const l=this.scroll.create(e,s);n.parent.insertBefore(l,n)}else throw new Error("Attempt to insertAt after block boundaries")}}replaceWith(t,e){const s=super.replaceWith(t,e);return this.attributes.copy(s),s}update(t,e){super.update(t,e),t.some(s=>s.target===this.domNode&&s.type==="attributes")&&this.attributes.build()}};Oe.blotName="block",Oe.scope=B.BLOCK_BLOT,Oe.tagName="P",Oe.allowedChildren=[nr,Oe,yt];let Di=Oe;const ls=Di,Xn=class extends Dt{checkMerge(){return this.next!==null&&this.next.statics.blotName===this.statics.blotName}deleteAt(t,e){super.deleteAt(t,e),this.enforceAllowedChildren()}formatAt(t,e,s,n){super.formatAt(t,e,s,n),this.enforceAllowedChildren()}insertAt(t,e,s){super.insertAt(t,e,s),this.enforceAllowedChildren()}optimize(t){super.optimize(t),this.children.length>0&&this.next!=null&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};Xn.blotName="container",Xn.scope=B.BLOCK_BLOT;let Ui=Xn;const Vs=Ui;class ji extends yt{static formats(t,e){}format(t,e){super.formatAt(0,this.length(),t,e)}formatAt(t,e,s,n){t===0&&e===this.length()?this.format(s,n):super.formatAt(t,e,s,n)}formats(){return this.statics.formats(this.domNode,this.scroll)}}const Lt=ji,Pi={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},Hi=100,_e=class extends Dt{constructor(t,e){super(null,e),this.registry=t,this.scroll=this,this.build(),this.observer=new MutationObserver(s=>{this.update(s)}),this.observer.observe(this.domNode,Pi),this.attach()}create(t,e){return this.registry.create(this,t,e)}find(t,e=!1){const s=this.registry.find(t,e);return s?s.scroll===this?s:e?this.find(s.scroll.domNode.parentNode,!0):null:null}query(t,e=B.ANY){return this.registry.query(t,e)}register(...t){return this.registry.register(...t)}build(){this.scroll!=null&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(t,e){this.update(),t===0&&e===this.length()?this.children.forEach(s=>{s.remove()}):super.deleteAt(t,e)}formatAt(t,e,s,n){this.update(),super.formatAt(t,e,s,n)}insertAt(t,e,s){this.update(),super.insertAt(t,e,s)}optimize(t=[],e={}){super.optimize(e);const s=e.mutationsMap||new WeakMap;let n=Array.from(this.observer.takeRecords());for(;n.length>0;)t.push(n.pop());const l=(u,d=!0)=>{u==null||u===this||u.domNode.parentNode!=null&&(s.has(u.domNode)||s.set(u.domNode,[]),d&&l(u.parent))},o=u=>{s.has(u.domNode)&&(u instanceof Dt&&u.children.forEach(o),s.delete(u.domNode),u.optimize(e))};let c=t;for(let u=0;c.length>0;u+=1){if(u>=Hi)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach(d=>{const b=this.find(d.target,!0);b!=null&&(b.domNode===d.target&&(d.type==="childList"?(l(this.find(d.previousSibling,!1)),Array.from(d.addedNodes).forEach(v=>{const g=this.find(v,!1);l(g,!1),g instanceof Dt&&g.children.forEach(m=>{l(m,!1)})})):d.type==="attributes"&&l(b.prev)),l(b))}),this.children.forEach(o),c=Array.from(this.observer.takeRecords()),n=c.slice();n.length>0;)t.push(n.pop())}}update(t,e={}){t=t||this.observer.takeRecords();const s=new WeakMap;t.map(n=>{const l=this.find(n.target,!0);return l==null?null:s.has(l.domNode)?(s.get(l.domNode).push(n),null):(s.set(l.domNode,[n]),l)}).forEach(n=>{n!=null&&n!==this&&s.has(n.domNode)&&n.update(s.get(n.domNode)||[],e)}),e.mutationsMap=s,s.has(this.domNode)&&super.update(s.get(this.domNode),e),this.optimize(t,e)}};_e.blotName="scroll",_e.defaultChild=ls,_e.allowedChildren=[ls,Vs],_e.scope=B.BLOCK_BLOT,_e.tagName="DIV";let Fi=_e;const rr=Fi,Yn=class ti extends yt{static create(t){return document.createTextNode(t)}static value(t){return t.data}constructor(t,e){super(t,e),this.text=this.statics.value(this.domNode)}deleteAt(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)}index(t,e){return this.domNode===t?e:-1}insertAt(t,e,s){s==null?(this.text=this.text.slice(0,t)+e+this.text.slice(t),this.domNode.data=this.text):super.insertAt(t,e,s)}length(){return this.text.length}optimize(t){super.optimize(t),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof ti&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(t,e=!1){return[this.domNode,t]}split(t,e=!1){if(!e){if(t===0)return this;if(t===this.length())return this.next}const s=this.scroll.create(this.domNode.splitText(t));return this.parent.insertBefore(s,this.next||void 0),this.text=this.statics.value(this.domNode),s}update(t,e){t.some(s=>s.type==="characterData"&&s.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};Yn.blotName="text",Yn.scope=B.INLINE_BLOT;let $i=Yn;const Hs=$i,ei=Object.freeze(Object.defineProperty({__proto__:null,Attributor:Kt,AttributorStore:zs,BlockBlot:ls,ClassAttributor:jt,ContainerBlot:Vs,EmbedBlot:Lt,InlineBlot:nr,LeafBlot:yt,ParentBlot:Dt,Registry:De,Scope:B,ScrollBlot:rr,StyleAttributor:le,TextBlot:Hs},Symbol.toStringTag,{value:"Module"}));var _s={exports:{}},Un,vr;function zi(){if(vr)return Un;vr=1;var i=-1,t=1,e=0;function s(f,T,p,k,q){if(f===T)return f?[[e,f]]:[];if(p!=null){var A=Ot(f,T,p);if(A)return A}var S=c(f,T),R=f.substring(0,S);f=f.substring(S),T=T.substring(S),S=d(f,T);var D=f.substring(f.length-S);f=f.substring(0,f.length-S),T=T.substring(0,T.length-S);var C=n(f,T);return R&&C.unshift([e,R]),D&&C.push([e,D]),_(C,q),k&&v(C),C}function n(f,T){var p;if(!f)return[[t,T]];if(!T)return[[i,f]];var k=f.length>T.length?f:T,q=f.length>T.length?T:f,A=k.indexOf(q);if(A!==-1)return p=[[t,k.substring(0,A)],[e,q],[t,k.substring(A+q.length)]],f.length>T.length&&(p[0][0]=p[2][0]=i),p;if(q.length===1)return[[i,f],[t,T]];var S=b(f,T);if(S){var R=S[0],D=S[1],C=S[2],$=S[3],P=S[4],V=s(R,C),G=s(D,$);return V.concat([[e,P]],G)}return l(f,T)}function l(f,T){for(var p=f.length,k=T.length,q=Math.ceil((p+k)/2),A=q,S=2*q,R=new Array(S),D=new Array(S),C=0;C<S;C++)R[C]=-1,D[C]=-1;R[A+1]=0,D[A+1]=0;for(var $=p-k,P=$%2!==0,V=0,G=0,j=0,nt=0,rt=0;rt<q;rt++){for(var z=-rt+V;z<=rt-G;z+=2){var Y=A+z,X;z===-rt||z!==rt&&R[Y-1]<R[Y+1]?X=R[Y+1]:X=R[Y-1]+1;for(var Q=X-z;X<p&&Q<k&&f.charAt(X)===T.charAt(Q);)X++,Q++;if(R[Y]=X,X>p)G+=2;else if(Q>k)V+=2;else if(P){var tt=A+$-z;if(tt>=0&&tt<S&&D[tt]!==-1){var et=p-D[tt];if(X>=et)return o(f,T,X,Q)}}}for(var lt=-rt+j;lt<=rt-nt;lt+=2){var tt=A+lt,et;lt===-rt||lt!==rt&&D[tt-1]<D[tt+1]?et=D[tt+1]:et=D[tt-1]+1;for(var gt=et-lt;et<p&&gt<k&&f.charAt(p-et-1)===T.charAt(k-gt-1);)et++,gt++;if(D[tt]=et,et>p)nt+=2;else if(gt>k)j+=2;else if(!P){var Y=A+$-lt;if(Y>=0&&Y<S&&R[Y]!==-1){var X=R[Y],Q=A+X-Y;if(et=p-et,X>=et)return o(f,T,X,Q)}}}}return[[i,f],[t,T]]}function o(f,T,p,k){var q=f.substring(0,p),A=T.substring(0,k),S=f.substring(p),R=T.substring(k),D=s(q,A),C=s(S,R);return D.concat(C)}function c(f,T){if(!f||!T||f.charAt(0)!==T.charAt(0))return 0;for(var p=0,k=Math.min(f.length,T.length),q=k,A=0;p<q;)f.substring(A,q)==T.substring(A,q)?(p=q,A=p):k=q,q=Math.floor((k-p)/2+p);return M(f.charCodeAt(q-1))&&q--,q}function u(f,T){var p=f.length,k=T.length;if(p==0||k==0)return 0;p>k?f=f.substring(p-k):p<k&&(T=T.substring(0,p));var q=Math.min(p,k);if(f==T)return q;for(var A=0,S=1;;){var R=f.substring(q-S),D=T.indexOf(R);if(D==-1)return A;S+=D,(D==0||f.substring(q-S)==T.substring(0,S))&&(A=S,S++)}}function d(f,T){if(!f||!T||f.slice(-1)!==T.slice(-1))return 0;for(var p=0,k=Math.min(f.length,T.length),q=k,A=0;p<q;)f.substring(f.length-q,f.length-A)==T.substring(T.length-q,T.length-A)?(p=q,A=p):k=q,q=Math.floor((k-p)/2+p);return K(f.charCodeAt(f.length-q))&&q--,q}function b(f,T){var p=f.length>T.length?f:T,k=f.length>T.length?T:f;if(p.length<4||k.length*2<p.length)return null;function q(G,j,nt){for(var rt=G.substring(nt,nt+Math.floor(G.length/4)),z=-1,Y="",X,Q,tt,et;(z=j.indexOf(rt,z+1))!==-1;){var lt=c(G.substring(nt),j.substring(z)),gt=d(G.substring(0,nt),j.substring(0,z));Y.length<gt+lt&&(Y=j.substring(z-gt,z)+j.substring(z,z+lt),X=G.substring(0,nt-gt),Q=G.substring(nt+lt),tt=j.substring(0,z-gt),et=j.substring(z+lt))}return Y.length*2>=G.length?[X,Q,tt,et,Y]:null}var A=q(p,k,Math.ceil(p.length/4)),S=q(p,k,Math.ceil(p.length/2)),R;if(!A&&!S)return null;S?A?R=A[4].length>S[4].length?A:S:R=S:R=A;var D,C,$,P;f.length>T.length?(D=R[0],C=R[1],$=R[2],P=R[3]):($=R[0],P=R[1],D=R[2],C=R[3]);var V=R[4];return[D,C,$,P,V]}function v(f){for(var T=!1,p=[],k=0,q=null,A=0,S=0,R=0,D=0,C=0;A<f.length;)f[A][0]==e?(p[k++]=A,S=D,R=C,D=0,C=0,q=f[A][1]):(f[A][0]==t?D+=f[A][1].length:C+=f[A][1].length,q&&q.length<=Math.max(S,R)&&q.length<=Math.max(D,C)&&(f.splice(p[k-1],0,[i,q]),f[p[k-1]+1][0]=t,k--,k--,A=k>0?p[k-1]:-1,S=0,R=0,D=0,C=0,q=null,T=!0)),A++;for(T&&_(f),L(f),A=1;A<f.length;){if(f[A-1][0]==i&&f[A][0]==t){var $=f[A-1][1],P=f[A][1],V=u($,P),G=u(P,$);V>=G?(V>=$.length/2||V>=P.length/2)&&(f.splice(A,0,[e,P.substring(0,V)]),f[A-1][1]=$.substring(0,$.length-V),f[A+1][1]=P.substring(V),A++):(G>=$.length/2||G>=P.length/2)&&(f.splice(A,0,[e,$.substring(0,G)]),f[A-1][0]=t,f[A-1][1]=P.substring(0,P.length-G),f[A+1][0]=i,f[A+1][1]=$.substring(G),A++),A++}A++}}var g=/[^a-zA-Z0-9]/,m=/\s/,E=/[\r\n]/,w=/\n\r?\n$/,x=/^\r?\n\r?\n/;function L(f){function T(G,j){if(!G||!j)return 6;var nt=G.charAt(G.length-1),rt=j.charAt(0),z=nt.match(g),Y=rt.match(g),X=z&&nt.match(m),Q=Y&&rt.match(m),tt=X&&nt.match(E),et=Q&&rt.match(E),lt=tt&&G.match(w),gt=et&&j.match(x);return lt||gt?5:tt||et?4:z&&!X&&Q?3:X||Q?2:z||Y?1:0}for(var p=1;p<f.length-1;){if(f[p-1][0]==e&&f[p+1][0]==e){var k=f[p-1][1],q=f[p][1],A=f[p+1][1],S=d(k,q);if(S){var R=q.substring(q.length-S);k=k.substring(0,k.length-S),q=R+q.substring(0,q.length-S),A=R+A}for(var D=k,C=q,$=A,P=T(k,q)+T(q,A);q.charAt(0)===A.charAt(0);){k+=q.charAt(0),q=q.substring(1)+A.charAt(0),A=A.substring(1);var V=T(k,q)+T(q,A);V>=P&&(P=V,D=k,C=q,$=A)}f[p-1][1]!=D&&(D?f[p-1][1]=D:(f.splice(p-1,1),p--),f[p][1]=C,$?f[p+1][1]=$:(f.splice(p+1,1),p--))}p++}}function _(f,T){f.push([e,""]);for(var p=0,k=0,q=0,A="",S="",R;p<f.length;){if(p<f.length-1&&!f[p][1]){f.splice(p,1);continue}switch(f[p][0]){case t:q++,S+=f[p][1],p++;break;case i:k++,A+=f[p][1],p++;break;case e:var D=p-q-k-1;if(T){if(D>=0&&st(f[D][1])){var C=f[D][1].slice(-1);if(f[D][1]=f[D][1].slice(0,-1),A=C+A,S=C+S,!f[D][1]){f.splice(D,1),p--;var $=D-1;f[$]&&f[$][0]===t&&(q++,S=f[$][1]+S,$--),f[$]&&f[$][0]===i&&(k++,A=f[$][1]+A,$--),D=$}}if(H(f[p][1])){var C=f[p][1].charAt(0);f[p][1]=f[p][1].slice(1),A+=C,S+=C}}if(p<f.length-1&&!f[p][1]){f.splice(p,1);break}if(A.length>0||S.length>0){A.length>0&&S.length>0&&(R=c(S,A),R!==0&&(D>=0?f[D][1]+=S.substring(0,R):(f.splice(0,0,[e,S.substring(0,R)]),p++),S=S.substring(R),A=A.substring(R)),R=d(S,A),R!==0&&(f[p][1]=S.substring(S.length-R)+f[p][1],S=S.substring(0,S.length-R),A=A.substring(0,A.length-R)));var P=q+k;A.length===0&&S.length===0?(f.splice(p-P,P),p=p-P):A.length===0?(f.splice(p-P,P,[t,S]),p=p-P+1):S.length===0?(f.splice(p-P,P,[i,A]),p=p-P+1):(f.splice(p-P,P,[i,A],[t,S]),p=p-P+2)}p!==0&&f[p-1][0]===e?(f[p-1][1]+=f[p][1],f.splice(p,1)):p++,q=0,k=0,A="",S="";break}}f[f.length-1][1]===""&&f.pop();var V=!1;for(p=1;p<f.length-1;)f[p-1][0]===e&&f[p+1][0]===e&&(f[p][1].substring(f[p][1].length-f[p-1][1].length)===f[p-1][1]?(f[p][1]=f[p-1][1]+f[p][1].substring(0,f[p][1].length-f[p-1][1].length),f[p+1][1]=f[p-1][1]+f[p+1][1],f.splice(p-1,1),V=!0):f[p][1].substring(0,f[p+1][1].length)==f[p+1][1]&&(f[p-1][1]+=f[p+1][1],f[p][1]=f[p][1].substring(f[p+1][1].length)+f[p+1][1],f.splice(p+1,1),V=!0)),p++;V&&_(f,T)}function M(f){return f>=55296&&f<=56319}function K(f){return f>=56320&&f<=57343}function H(f){return K(f.charCodeAt(0))}function st(f){return M(f.charCodeAt(f.length-1))}function it(f){for(var T=[],p=0;p<f.length;p++)f[p][1].length>0&&T.push(f[p]);return T}function ut(f,T,p,k){return st(f)||H(k)?null:it([[e,f],[i,T],[t,p],[e,k]])}function Ot(f,T,p){var k=typeof p=="number"?{index:p,length:0}:p.oldRange,q=typeof p=="number"?null:p.newRange,A=f.length,S=T.length;if(k.length===0&&(q===null||q.length===0)){var R=k.index,D=f.slice(0,R),C=f.slice(R),$=q?q.index:null;t:{var P=R+S-A;if($!==null&&$!==P||P<0||P>S)break t;var V=T.slice(0,P),G=T.slice(P);if(G!==C)break t;var j=Math.min(R,P),nt=D.slice(0,j),rt=V.slice(0,j);if(nt!==rt)break t;var z=D.slice(j),Y=V.slice(j);return ut(nt,z,Y,C)}t:{if($!==null&&$!==R)break t;var X=R,V=T.slice(0,X),G=T.slice(X);if(V!==D)break t;var Q=Math.min(A-X,S-X),tt=C.slice(C.length-Q),et=G.slice(G.length-Q);if(tt!==et)break t;var z=C.slice(0,C.length-Q),Y=G.slice(0,G.length-Q);return ut(D,z,Y,tt)}}if(k.length>0&&q&&q.length===0)t:{var nt=f.slice(0,k.index),tt=f.slice(k.index+k.length),j=nt.length,Q=tt.length;if(S<j+Q)break t;var rt=T.slice(0,j),et=T.slice(S-Q);if(nt!==rt||tt!==et)break t;var z=f.slice(j,A-Q),Y=T.slice(j,S-Q);return ut(nt,z,Y,tt)}return null}function Tt(f,T,p,k){return s(f,T,p,k,!0)}return Tt.INSERT=t,Tt.DELETE=i,Tt.EQUAL=e,Un=Tt,Un}var ss={exports:{}};ss.exports;var Er;function si(){return Er||(Er=1,function(i,t){var e=200,s="__lodash_hash_undefined__",n=9007199254740991,l="[object Arguments]",o="[object Array]",c="[object Boolean]",u="[object Date]",d="[object Error]",b="[object Function]",v="[object GeneratorFunction]",g="[object Map]",m="[object Number]",E="[object Object]",w="[object Promise]",x="[object RegExp]",L="[object Set]",_="[object String]",M="[object Symbol]",K="[object WeakMap]",H="[object ArrayBuffer]",st="[object DataView]",it="[object Float32Array]",ut="[object Float64Array]",Ot="[object Int8Array]",Tt="[object Int16Array]",f="[object Int32Array]",T="[object Uint8Array]",p="[object Uint8ClampedArray]",k="[object Uint16Array]",q="[object Uint32Array]",A=/[\\^$.*+?()[\]{}|]/g,S=/\w*$/,R=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,C={};C[l]=C[o]=C[H]=C[st]=C[c]=C[u]=C[it]=C[ut]=C[Ot]=C[Tt]=C[f]=C[g]=C[m]=C[E]=C[x]=C[L]=C[_]=C[M]=C[T]=C[p]=C[k]=C[q]=!0,C[d]=C[b]=C[K]=!1;var $=typeof ct.commonjsGlobal=="object"&&ct.commonjsGlobal&&ct.commonjsGlobal.Object===Object&&ct.commonjsGlobal,P=typeof self=="object"&&self&&self.Object===Object&&self,V=$||P||Function("return this")(),G=t&&!t.nodeType&&t,j=G&&!0&&i&&!i.nodeType&&i,nt=j&&j.exports===G;function rt(r,a){return r.set(a[0],a[1]),r}function z(r,a){return r.add(a),r}function Y(r,a){for(var h=-1,y=r?r.length:0;++h<y&&a(r[h],h,r)!==!1;);return r}function X(r,a){for(var h=-1,y=a.length,F=r.length;++h<y;)r[F+h]=a[h];return r}function Q(r,a,h,y){for(var F=-1,U=r?r.length:0;++F<U;)h=a(h,r[F],F,r);return h}function tt(r,a){for(var h=-1,y=Array(r);++h<r;)y[h]=a(h);return y}function et(r,a){return r?.[a]}function lt(r){var a=!1;if(r!=null&&typeof r.toString!="function")try{a=!!(r+"")}catch{}return a}function gt(r){var a=-1,h=Array(r.size);return r.forEach(function(y,F){h[++a]=[F,y]}),h}function je(r,a){return function(h){return r(a(h))}}function ds(r){var a=-1,h=Array(r.size);return r.forEach(function(y){h[++a]=y}),h}var Ws=Array.prototype,Xs=Function.prototype,ye=Object.prototype,Pe=V["__core-js_shared__"],gs=function(){var r=/[^.]+$/.exec(Pe&&Pe.keys&&Pe.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),ps=Xs.toString,Ft=ye.hasOwnProperty,ve=ye.toString,Ys=RegExp("^"+ps.call(Ft).replace(A,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),oe=nt?V.Buffer:void 0,Ee=V.Symbol,He=V.Uint8Array,qt=je(Object.getPrototypeOf,Object),ms=Object.create,bs=ye.propertyIsEnumerable,Qs=Ws.splice,Fe=Object.getOwnPropertySymbols,Ne=oe?oe.isBuffer:void 0,ys=je(Object.keys,Object),Ae=It(V,"DataView"),ae=It(V,"Map"),_t=It(V,"Promise"),we=It(V,"Set"),$e=It(V,"WeakMap"),ce=It(Object,"create"),ze=vt(Ae),ue=vt(ae),Ve=vt(_t),Ke=vt(we),Ge=vt($e),te=Ee?Ee.prototype:void 0,vs=te?te.valueOf:void 0;function Gt(r){var a=-1,h=r?r.length:0;for(this.clear();++a<h;){var y=r[a];this.set(y[0],y[1])}}function Js(){this.__data__=ce?ce(null):{}}function tn(r){return this.has(r)&&delete this.__data__[r]}function en(r){var a=this.__data__;if(ce){var h=a[r];return h===s?void 0:h}return Ft.call(a,r)?a[r]:void 0}function Es(r){var a=this.__data__;return ce?a[r]!==void 0:Ft.call(a,r)}function Ze(r,a){var h=this.__data__;return h[r]=ce&&a===void 0?s:a,this}Gt.prototype.clear=Js,Gt.prototype.delete=tn,Gt.prototype.get=en,Gt.prototype.has=Es,Gt.prototype.set=Ze;function ht(r){var a=-1,h=r?r.length:0;for(this.clear();++a<h;){var y=r[a];this.set(y[0],y[1])}}function sn(){this.__data__=[]}function nn(r){var a=this.__data__,h=Te(a,r);if(h<0)return!1;var y=a.length-1;return h==y?a.pop():Qs.call(a,h,1),!0}function rn(r){var a=this.__data__,h=Te(a,r);return h<0?void 0:a[h][1]}function ln(r){return Te(this.__data__,r)>-1}function on(r,a){var h=this.__data__,y=Te(h,r);return y<0?h.push([r,a]):h[y][1]=a,this}ht.prototype.clear=sn,ht.prototype.delete=nn,ht.prototype.get=rn,ht.prototype.has=ln,ht.prototype.set=on;function pt(r){var a=-1,h=r?r.length:0;for(this.clear();++a<h;){var y=r[a];this.set(y[0],y[1])}}function an(){this.__data__={hash:new Gt,map:new(ae||ht),string:new Gt}}function cn(r){return fe(this,r).delete(r)}function un(r){return fe(this,r).get(r)}function hn(r){return fe(this,r).has(r)}function fn(r,a){return fe(this,r).set(r,a),this}pt.prototype.clear=an,pt.prototype.delete=cn,pt.prototype.get=un,pt.prototype.has=hn,pt.prototype.set=fn;function wt(r){this.__data__=new ht(r)}function dn(){this.__data__=new ht}function gn(r){return this.__data__.delete(r)}function pn(r){return this.__data__.get(r)}function mn(r){return this.__data__.has(r)}function bn(r,a){var h=this.__data__;if(h instanceof ht){var y=h.__data__;if(!ae||y.length<e-1)return y.push([r,a]),this;h=this.__data__=new pt(y)}return h.set(r,a),this}wt.prototype.clear=dn,wt.prototype.delete=gn,wt.prototype.get=pn,wt.prototype.has=mn,wt.prototype.set=bn;function xe(r,a){var h=Qe(r)||qe(r)?tt(r.length,String):[],y=h.length,F=!!y;for(var U in r)Ft.call(r,U)&&!(F&&(U=="length"||On(U,y)))&&h.push(U);return h}function Ns(r,a,h){var y=r[a];(!(Ft.call(r,a)&&Ls(y,h))||h===void 0&&!(a in r))&&(r[a]=h)}function Te(r,a){for(var h=r.length;h--;)if(Ls(r[h][0],a))return h;return-1}function $t(r,a){return r&&Ye(a,ts(a),r)}function We(r,a,h,y,F,U,W){var Z;if(y&&(Z=U?y(r,F,U,W):y(r)),Z!==void 0)return Z;if(!Vt(r))return r;var ot=Qe(r);if(ot){if(Z=kn(r),!a)return Ln(r,Z)}else{var J=Wt(r),mt=J==b||J==v;if(qs(r))return Le(r,a);if(J==E||J==l||mt&&!U){if(lt(r))return U?r:{};if(Z=zt(mt?{}:r),!a)return qn(r,$t(Z,r))}else{if(!C[J])return U?r:{};Z=Cn(r,J,We,a)}}W||(W=new wt);var xt=W.get(r);if(xt)return xt;if(W.set(r,Z),!ot)var at=h?Sn(r):ts(r);return Y(at||r,function(bt,ft){at&&(ft=bt,bt=r[ft]),Ns(Z,ft,We(bt,a,h,y,ft,r,W))}),Z}function yn(r){return Vt(r)?ms(r):{}}function vn(r,a,h){var y=a(r);return Qe(r)?y:X(y,h(r))}function En(r){return ve.call(r)}function Nn(r){if(!Vt(r)||In(r))return!1;var a=Je(r)||lt(r)?Ys:R;return a.test(vt(r))}function An(r){if(!xs(r))return ys(r);var a=[];for(var h in Object(r))Ft.call(r,h)&&h!="constructor"&&a.push(h);return a}function Le(r,a){if(a)return r.slice();var h=new r.constructor(r.length);return r.copy(h),h}function Xe(r){var a=new r.constructor(r.byteLength);return new He(a).set(new He(r)),a}function he(r,a){var h=a?Xe(r.buffer):r.buffer;return new r.constructor(h,r.byteOffset,r.byteLength)}function As(r,a,h){var y=a?h(gt(r),!0):gt(r);return Q(y,rt,new r.constructor)}function ws(r){var a=new r.constructor(r.source,S.exec(r));return a.lastIndex=r.lastIndex,a}function wn(r,a,h){var y=a?h(ds(r),!0):ds(r);return Q(y,z,new r.constructor)}function xn(r){return vs?Object(vs.call(r)):{}}function Tn(r,a){var h=a?Xe(r.buffer):r.buffer;return new r.constructor(h,r.byteOffset,r.length)}function Ln(r,a){var h=-1,y=r.length;for(a||(a=Array(y));++h<y;)a[h]=r[h];return a}function Ye(r,a,h,y){h||(h={});for(var F=-1,U=a.length;++F<U;){var W=a[F],Z=void 0;Ns(h,W,Z===void 0?r[W]:Z)}return h}function qn(r,a){return Ye(r,Zt(r),a)}function Sn(r){return vn(r,ts,Zt)}function fe(r,a){var h=r.__data__;return _n(a)?h[typeof a=="string"?"string":"hash"]:h.map}function It(r,a){var h=et(r,a);return Nn(h)?h:void 0}var Zt=Fe?je(Fe,Object):Bn,Wt=En;(Ae&&Wt(new Ae(new ArrayBuffer(1)))!=st||ae&&Wt(new ae)!=g||_t&&Wt(_t.resolve())!=w||we&&Wt(new we)!=L||$e&&Wt(new $e)!=K)&&(Wt=function(r){var a=ve.call(r),h=a==E?r.constructor:void 0,y=h?vt(h):void 0;if(y)switch(y){case ze:return st;case ue:return g;case Ve:return w;case Ke:return L;case Ge:return K}return a});function kn(r){var a=r.length,h=r.constructor(a);return a&&typeof r[0]=="string"&&Ft.call(r,"index")&&(h.index=r.index,h.input=r.input),h}function zt(r){return typeof r.constructor=="function"&&!xs(r)?yn(qt(r)):{}}function Cn(r,a,h,y){var F=r.constructor;switch(a){case H:return Xe(r);case c:case u:return new F(+r);case st:return he(r,y);case it:case ut:case Ot:case Tt:case f:case T:case p:case k:case q:return Tn(r,y);case g:return As(r,y,h);case m:case _:return new F(r);case x:return ws(r);case L:return wn(r,y,h);case M:return xn(r)}}function On(r,a){return a=a??n,!!a&&(typeof r=="number"||D.test(r))&&r>-1&&r%1==0&&r<a}function _n(r){var a=typeof r;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?r!=="__proto__":r===null}function In(r){return!!gs&&gs in r}function xs(r){var a=r&&r.constructor,h=typeof a=="function"&&a.prototype||ye;return r===h}function vt(r){if(r!=null){try{return ps.call(r)}catch{}try{return r+""}catch{}}return""}function Ts(r){return We(r,!0,!0)}function Ls(r,a){return r===a||r!==r&&a!==a}function qe(r){return Rn(r)&&Ft.call(r,"callee")&&(!bs.call(r,"callee")||ve.call(r)==l)}var Qe=Array.isArray;function Se(r){return r!=null&&Ss(r.length)&&!Je(r)}function Rn(r){return ks(r)&&Se(r)}var qs=Ne||Mn;function Je(r){var a=Vt(r)?ve.call(r):"";return a==b||a==v}function Ss(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=n}function Vt(r){var a=typeof r;return!!r&&(a=="object"||a=="function")}function ks(r){return!!r&&typeof r=="object"}function ts(r){return Se(r)?xe(r):An(r)}function Bn(){return[]}function Mn(){return!1}i.exports=Ts}(ss,ss.exports)),ss.exports}var ns={exports:{}};ns.exports;var Nr;function ni(){return Nr||(Nr=1,function(i,t){var e=200,s="__lodash_hash_undefined__",n=1,l=2,o=9007199254740991,c="[object Arguments]",u="[object Array]",d="[object AsyncFunction]",b="[object Boolean]",v="[object Date]",g="[object Error]",m="[object Function]",E="[object GeneratorFunction]",w="[object Map]",x="[object Number]",L="[object Null]",_="[object Object]",M="[object Promise]",K="[object Proxy]",H="[object RegExp]",st="[object Set]",it="[object String]",ut="[object Symbol]",Ot="[object Undefined]",Tt="[object WeakMap]",f="[object ArrayBuffer]",T="[object DataView]",p="[object Float32Array]",k="[object Float64Array]",q="[object Int8Array]",A="[object Int16Array]",S="[object Int32Array]",R="[object Uint8Array]",D="[object Uint8ClampedArray]",C="[object Uint16Array]",$="[object Uint32Array]",P=/[\\^$.*+?()[\]{}|]/g,V=/^\[object .+?Constructor\]$/,G=/^(?:0|[1-9]\d*)$/,j={};j[p]=j[k]=j[q]=j[A]=j[S]=j[R]=j[D]=j[C]=j[$]=!0,j[c]=j[u]=j[f]=j[b]=j[T]=j[v]=j[g]=j[m]=j[w]=j[x]=j[_]=j[H]=j[st]=j[it]=j[Tt]=!1;var nt=typeof ct.commonjsGlobal=="object"&&ct.commonjsGlobal&&ct.commonjsGlobal.Object===Object&&ct.commonjsGlobal,rt=typeof self=="object"&&self&&self.Object===Object&&self,z=nt||rt||Function("return this")(),Y=t&&!t.nodeType&&t,X=Y&&!0&&i&&!i.nodeType&&i,Q=X&&X.exports===Y,tt=Q&&nt.process,et=function(){try{return tt&&tt.binding&&tt.binding("util")}catch{}}(),lt=et&&et.isTypedArray;function gt(r,a){for(var h=-1,y=r==null?0:r.length,F=0,U=[];++h<y;){var W=r[h];a(W,h,r)&&(U[F++]=W)}return U}function je(r,a){for(var h=-1,y=a.length,F=r.length;++h<y;)r[F+h]=a[h];return r}function ds(r,a){for(var h=-1,y=r==null?0:r.length;++h<y;)if(a(r[h],h,r))return!0;return!1}function Ws(r,a){for(var h=-1,y=Array(r);++h<r;)y[h]=a(h);return y}function Xs(r){return function(a){return r(a)}}function ye(r,a){return r.has(a)}function Pe(r,a){return r?.[a]}function gs(r){var a=-1,h=Array(r.size);return r.forEach(function(y,F){h[++a]=[F,y]}),h}function ps(r,a){return function(h){return r(a(h))}}function Ft(r){var a=-1,h=Array(r.size);return r.forEach(function(y){h[++a]=y}),h}var ve=Array.prototype,Ys=Function.prototype,oe=Object.prototype,Ee=z["__core-js_shared__"],He=Ys.toString,qt=oe.hasOwnProperty,ms=function(){var r=/[^.]+$/.exec(Ee&&Ee.keys&&Ee.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}(),bs=oe.toString,Qs=RegExp("^"+He.call(qt).replace(P,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fe=Q?z.Buffer:void 0,Ne=z.Symbol,ys=z.Uint8Array,Ae=oe.propertyIsEnumerable,ae=ve.splice,_t=Ne?Ne.toStringTag:void 0,we=Object.getOwnPropertySymbols,$e=Fe?Fe.isBuffer:void 0,ce=ps(Object.keys,Object),ze=Zt(z,"DataView"),ue=Zt(z,"Map"),Ve=Zt(z,"Promise"),Ke=Zt(z,"Set"),Ge=Zt(z,"WeakMap"),te=Zt(Object,"create"),vs=vt(ze),Gt=vt(ue),Js=vt(Ve),tn=vt(Ke),en=vt(Ge),Es=Ne?Ne.prototype:void 0,Ze=Es?Es.valueOf:void 0;function ht(r){var a=-1,h=r==null?0:r.length;for(this.clear();++a<h;){var y=r[a];this.set(y[0],y[1])}}function sn(){this.__data__=te?te(null):{},this.size=0}function nn(r){var a=this.has(r)&&delete this.__data__[r];return this.size-=a?1:0,a}function rn(r){var a=this.__data__;if(te){var h=a[r];return h===s?void 0:h}return qt.call(a,r)?a[r]:void 0}function ln(r){var a=this.__data__;return te?a[r]!==void 0:qt.call(a,r)}function on(r,a){var h=this.__data__;return this.size+=this.has(r)?0:1,h[r]=te&&a===void 0?s:a,this}ht.prototype.clear=sn,ht.prototype.delete=nn,ht.prototype.get=rn,ht.prototype.has=ln,ht.prototype.set=on;function pt(r){var a=-1,h=r==null?0:r.length;for(this.clear();++a<h;){var y=r[a];this.set(y[0],y[1])}}function an(){this.__data__=[],this.size=0}function cn(r){var a=this.__data__,h=Le(a,r);if(h<0)return!1;var y=a.length-1;return h==y?a.pop():ae.call(a,h,1),--this.size,!0}function un(r){var a=this.__data__,h=Le(a,r);return h<0?void 0:a[h][1]}function hn(r){return Le(this.__data__,r)>-1}function fn(r,a){var h=this.__data__,y=Le(h,r);return y<0?(++this.size,h.push([r,a])):h[y][1]=a,this}pt.prototype.clear=an,pt.prototype.delete=cn,pt.prototype.get=un,pt.prototype.has=hn,pt.prototype.set=fn;function wt(r){var a=-1,h=r==null?0:r.length;for(this.clear();++a<h;){var y=r[a];this.set(y[0],y[1])}}function dn(){this.size=0,this.__data__={hash:new ht,map:new(ue||pt),string:new ht}}function gn(r){var a=It(this,r).delete(r);return this.size-=a?1:0,a}function pn(r){return It(this,r).get(r)}function mn(r){return It(this,r).has(r)}function bn(r,a){var h=It(this,r),y=h.size;return h.set(r,a),this.size+=h.size==y?0:1,this}wt.prototype.clear=dn,wt.prototype.delete=gn,wt.prototype.get=pn,wt.prototype.has=mn,wt.prototype.set=bn;function xe(r){var a=-1,h=r==null?0:r.length;for(this.__data__=new wt;++a<h;)this.add(r[a])}function Ns(r){return this.__data__.set(r,s),this}function Te(r){return this.__data__.has(r)}xe.prototype.add=xe.prototype.push=Ns,xe.prototype.has=Te;function $t(r){var a=this.__data__=new pt(r);this.size=a.size}function We(){this.__data__=new pt,this.size=0}function yn(r){var a=this.__data__,h=a.delete(r);return this.size=a.size,h}function vn(r){return this.__data__.get(r)}function En(r){return this.__data__.has(r)}function Nn(r,a){var h=this.__data__;if(h instanceof pt){var y=h.__data__;if(!ue||y.length<e-1)return y.push([r,a]),this.size=++h.size,this;h=this.__data__=new wt(y)}return h.set(r,a),this.size=h.size,this}$t.prototype.clear=We,$t.prototype.delete=yn,$t.prototype.get=vn,$t.prototype.has=En,$t.prototype.set=Nn;function An(r,a){var h=qe(r),y=!h&&Ls(r),F=!h&&!y&&Se(r),U=!h&&!y&&!F&&ks(r),W=h||y||F||U,Z=W?Ws(r.length,String):[],ot=Z.length;for(var J in r)qt.call(r,J)&&!(W&&(J=="length"||F&&(J=="offset"||J=="parent")||U&&(J=="buffer"||J=="byteLength"||J=="byteOffset")||Cn(J,ot)))&&Z.push(J);return Z}function Le(r,a){for(var h=r.length;h--;)if(Ts(r[h][0],a))return h;return-1}function Xe(r,a,h){var y=a(r);return qe(r)?y:je(y,h(r))}function he(r){return r==null?r===void 0?Ot:L:_t&&_t in Object(r)?Wt(r):xs(r)}function As(r){return Vt(r)&&he(r)==c}function ws(r,a,h,y,F){return r===a?!0:r==null||a==null||!Vt(r)&&!Vt(a)?r!==r&&a!==a:wn(r,a,h,y,ws,F)}function wn(r,a,h,y,F,U){var W=qe(r),Z=qe(a),ot=W?u:zt(r),J=Z?u:zt(a);ot=ot==c?_:ot,J=J==c?_:J;var mt=ot==_,xt=J==_,at=ot==J;if(at&&Se(r)){if(!Se(a))return!1;W=!0,mt=!1}if(at&&!mt)return U||(U=new $t),W||ks(r)?Ye(r,a,h,y,F,U):qn(r,a,ot,h,y,F,U);if(!(h&n)){var bt=mt&&qt.call(r,"__wrapped__"),ft=xt&&qt.call(a,"__wrapped__");if(bt||ft){var ee=bt?r.value():r,Xt=ft?a.value():a;return U||(U=new $t),F(ee,Xt,h,y,U)}}return at?(U||(U=new $t),Sn(r,a,h,y,F,U)):!1}function xn(r){if(!Ss(r)||_n(r))return!1;var a=qs(r)?Qs:V;return a.test(vt(r))}function Tn(r){return Vt(r)&&Je(r.length)&&!!j[he(r)]}function Ln(r){if(!In(r))return ce(r);var a=[];for(var h in Object(r))qt.call(r,h)&&h!="constructor"&&a.push(h);return a}function Ye(r,a,h,y,F,U){var W=h&n,Z=r.length,ot=a.length;if(Z!=ot&&!(W&&ot>Z))return!1;var J=U.get(r);if(J&&U.get(a))return J==a;var mt=-1,xt=!0,at=h&l?new xe:void 0;for(U.set(r,a),U.set(a,r);++mt<Z;){var bt=r[mt],ft=a[mt];if(y)var ee=W?y(ft,bt,mt,a,r,U):y(bt,ft,mt,r,a,U);if(ee!==void 0){if(ee)continue;xt=!1;break}if(at){if(!ds(a,function(Xt,de){if(!ye(at,de)&&(bt===Xt||F(bt,Xt,h,y,U)))return at.push(de)})){xt=!1;break}}else if(!(bt===ft||F(bt,ft,h,y,U))){xt=!1;break}}return U.delete(r),U.delete(a),xt}function qn(r,a,h,y,F,U,W){switch(h){case T:if(r.byteLength!=a.byteLength||r.byteOffset!=a.byteOffset)return!1;r=r.buffer,a=a.buffer;case f:return!(r.byteLength!=a.byteLength||!U(new ys(r),new ys(a)));case b:case v:case x:return Ts(+r,+a);case g:return r.name==a.name&&r.message==a.message;case H:case it:return r==a+"";case w:var Z=gs;case st:var ot=y&n;if(Z||(Z=Ft),r.size!=a.size&&!ot)return!1;var J=W.get(r);if(J)return J==a;y|=l,W.set(r,a);var mt=Ye(Z(r),Z(a),y,F,U,W);return W.delete(r),mt;case ut:if(Ze)return Ze.call(r)==Ze.call(a)}return!1}function Sn(r,a,h,y,F,U){var W=h&n,Z=fe(r),ot=Z.length,J=fe(a),mt=J.length;if(ot!=mt&&!W)return!1;for(var xt=ot;xt--;){var at=Z[xt];if(!(W?at in a:qt.call(a,at)))return!1}var bt=U.get(r);if(bt&&U.get(a))return bt==a;var ft=!0;U.set(r,a),U.set(a,r);for(var ee=W;++xt<ot;){at=Z[xt];var Xt=r[at],de=a[at];if(y)var mr=W?y(de,Xt,at,a,r,U):y(Xt,de,at,r,a,U);if(!(mr===void 0?Xt===de||F(Xt,de,h,y,U):mr)){ft=!1;break}ee||(ee=at=="constructor")}if(ft&&!ee){var Cs=r.constructor,Os=a.constructor;Cs!=Os&&"constructor"in r&&"constructor"in a&&!(typeof Cs=="function"&&Cs instanceof Cs&&typeof Os=="function"&&Os instanceof Os)&&(ft=!1)}return U.delete(r),U.delete(a),ft}function fe(r){return Xe(r,ts,kn)}function It(r,a){var h=r.__data__;return On(a)?h[typeof a=="string"?"string":"hash"]:h.map}function Zt(r,a){var h=Pe(r,a);return xn(h)?h:void 0}function Wt(r){var a=qt.call(r,_t),h=r[_t];try{r[_t]=void 0;var y=!0}catch{}var F=bs.call(r);return y&&(a?r[_t]=h:delete r[_t]),F}var kn=we?function(r){return r==null?[]:(r=Object(r),gt(we(r),function(a){return Ae.call(r,a)}))}:Bn,zt=he;(ze&&zt(new ze(new ArrayBuffer(1)))!=T||ue&&zt(new ue)!=w||Ve&&zt(Ve.resolve())!=M||Ke&&zt(new Ke)!=st||Ge&&zt(new Ge)!=Tt)&&(zt=function(r){var a=he(r),h=a==_?r.constructor:void 0,y=h?vt(h):"";if(y)switch(y){case vs:return T;case Gt:return w;case Js:return M;case tn:return st;case en:return Tt}return a});function Cn(r,a){return a=a??o,!!a&&(typeof r=="number"||G.test(r))&&r>-1&&r%1==0&&r<a}function On(r){var a=typeof r;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?r!=="__proto__":r===null}function _n(r){return!!ms&&ms in r}function In(r){var a=r&&r.constructor,h=typeof a=="function"&&a.prototype||oe;return r===h}function xs(r){return bs.call(r)}function vt(r){if(r!=null){try{return He.call(r)}catch{}try{return r+""}catch{}}return""}function Ts(r,a){return r===a||r!==r&&a!==a}var Ls=As(function(){return arguments}())?As:function(r){return Vt(r)&&qt.call(r,"callee")&&!Ae.call(r,"callee")},qe=Array.isArray;function Qe(r){return r!=null&&Je(r.length)&&!qs(r)}var Se=$e||Mn;function Rn(r,a){return ws(r,a)}function qs(r){if(!Ss(r))return!1;var a=he(r);return a==m||a==E||a==d||a==K}function Je(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=o}function Ss(r){var a=typeof r;return r!=null&&(a=="object"||a=="function")}function Vt(r){return r!=null&&typeof r=="object"}var ks=lt?Xs(lt):Tn;function ts(r){return Qe(r)?An(r):Ln(r)}function Bn(){return[]}function Mn(){return!1}i.exports=Rn}(ns,ns.exports)),ns.exports}var Is={},Ar;function Vi(){if(Ar)return Is;Ar=1,Object.defineProperty(Is,"__esModule",{value:!0});const i=si(),t=ni();var e;return function(s){function n(u={},d={},b=!1){typeof u!="object"&&(u={}),typeof d!="object"&&(d={});let v=i(d);b||(v=Object.keys(v).reduce((g,m)=>(v[m]!=null&&(g[m]=v[m]),g),{}));for(const g in u)u[g]!==void 0&&d[g]===void 0&&(v[g]=u[g]);return Object.keys(v).length>0?v:void 0}s.compose=n;function l(u={},d={}){typeof u!="object"&&(u={}),typeof d!="object"&&(d={});const b=Object.keys(u).concat(Object.keys(d)).reduce((v,g)=>(t(u[g],d[g])||(v[g]=d[g]===void 0?null:d[g]),v),{});return Object.keys(b).length>0?b:void 0}s.diff=l;function o(u={},d={}){u=u||{};const b=Object.keys(d).reduce((v,g)=>(d[g]!==u[g]&&u[g]!==void 0&&(v[g]=d[g]),v),{});return Object.keys(u).reduce((v,g)=>(u[g]!==d[g]&&d[g]===void 0&&(v[g]=null),v),b)}s.invert=o;function c(u,d,b=!1){if(typeof u!="object")return d;if(typeof d!="object")return;if(!b)return d;const v=Object.keys(d).reduce((g,m)=>(u[m]===void 0&&(g[m]=d[m]),g),{});return Object.keys(v).length>0?v:void 0}s.transform=c}(e||(e={})),Is.default=e,Is}var Rs={},wr;function ri(){if(wr)return Rs;wr=1,Object.defineProperty(Rs,"__esModule",{value:!0});var i;return function(t){function e(s){return typeof s.delete=="number"?s.delete:typeof s.retain=="number"?s.retain:typeof s.retain=="object"&&s.retain!==null?1:typeof s.insert=="string"?s.insert.length:1}t.length=e}(i||(i={})),Rs.default=i,Rs}var Bs={},xr;function Ki(){if(xr)return Bs;xr=1,Object.defineProperty(Bs,"__esModule",{value:!0});const i=ri();class t{constructor(s){this.ops=s,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(s){s||(s=1/0);const n=this.ops[this.index];if(n){const l=this.offset,o=i.default.length(n);if(s>=o-l?(s=o-l,this.index+=1,this.offset=0):this.offset+=s,typeof n.delete=="number")return{delete:s};{const c={};return n.attributes&&(c.attributes=n.attributes),typeof n.retain=="number"?c.retain=s:typeof n.retain=="object"&&n.retain!==null?c.retain=n.retain:typeof n.insert=="string"?c.insert=n.insert.substr(l,s):c.insert=n.insert,c}}else return{retain:1/0}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?i.default.length(this.ops[this.index])-this.offset:1/0}peekType(){const s=this.ops[this.index];return s?typeof s.delete=="number"?"delete":typeof s.retain=="number"||typeof s.retain=="object"&&s.retain!==null?"retain":"insert":"retain"}rest(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);{const s=this.offset,n=this.index,l=this.next(),o=this.ops.slice(this.index);return this.offset=s,this.index=n,[l].concat(o)}}else return[]}}return Bs.default=t,Bs}var Tr;function Gi(){return Tr||(Tr=1,function(i,t){Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeMap=t.OpIterator=t.Op=void 0;const e=zi(),s=si(),n=ni(),l=Vi();t.AttributeMap=l.default;const o=ri();t.Op=o.default;const c=Ki();t.OpIterator=c.default;const u="\0",d=(v,g)=>{if(typeof v!="object"||v===null)throw new Error(`cannot retain a ${typeof v}`);if(typeof g!="object"||g===null)throw new Error(`cannot retain a ${typeof g}`);const m=Object.keys(v)[0];if(!m||m!==Object.keys(g)[0])throw new Error(`embed types not matched: ${m} != ${Object.keys(g)[0]}`);return[m,v[m],g[m]]};class b{constructor(g){Array.isArray(g)?this.ops=g:g!=null&&Array.isArray(g.ops)?this.ops=g.ops:this.ops=[]}static registerEmbed(g,m){this.handlers[g]=m}static unregisterEmbed(g){delete this.handlers[g]}static getHandler(g){const m=this.handlers[g];if(!m)throw new Error(`no handlers for embed type "${g}"`);return m}insert(g,m){const E={};return typeof g=="string"&&g.length===0?this:(E.insert=g,m!=null&&typeof m=="object"&&Object.keys(m).length>0&&(E.attributes=m),this.push(E))}delete(g){return g<=0?this:this.push({delete:g})}retain(g,m){if(typeof g=="number"&&g<=0)return this;const E={retain:g};return m!=null&&typeof m=="object"&&Object.keys(m).length>0&&(E.attributes=m),this.push(E)}push(g){let m=this.ops.length,E=this.ops[m-1];if(g=s(g),typeof E=="object"){if(typeof g.delete=="number"&&typeof E.delete=="number")return this.ops[m-1]={delete:E.delete+g.delete},this;if(typeof E.delete=="number"&&g.insert!=null&&(m-=1,E=this.ops[m-1],typeof E!="object"))return this.ops.unshift(g),this;if(n(g.attributes,E.attributes)){if(typeof g.insert=="string"&&typeof E.insert=="string")return this.ops[m-1]={insert:E.insert+g.insert},typeof g.attributes=="object"&&(this.ops[m-1].attributes=g.attributes),this;if(typeof g.retain=="number"&&typeof E.retain=="number")return this.ops[m-1]={retain:E.retain+g.retain},typeof g.attributes=="object"&&(this.ops[m-1].attributes=g.attributes),this}}return m===this.ops.length?this.ops.push(g):this.ops.splice(m,0,g),this}chop(){const g=this.ops[this.ops.length-1];return g&&typeof g.retain=="number"&&!g.attributes&&this.ops.pop(),this}filter(g){return this.ops.filter(g)}forEach(g){this.ops.forEach(g)}map(g){return this.ops.map(g)}partition(g){const m=[],E=[];return this.forEach(w=>{(g(w)?m:E).push(w)}),[m,E]}reduce(g,m){return this.ops.reduce(g,m)}changeLength(){return this.reduce((g,m)=>m.insert?g+o.default.length(m):m.delete?g-m.delete:g,0)}length(){return this.reduce((g,m)=>g+o.default.length(m),0)}slice(g=0,m=1/0){const E=[],w=new c.default(this.ops);let x=0;for(;x<m&&w.hasNext();){let L;x<g?L=w.next(g-x):(L=w.next(m-x),E.push(L)),x+=o.default.length(L)}return new b(E)}compose(g){const m=new c.default(this.ops),E=new c.default(g.ops),w=[],x=E.peek();if(x!=null&&typeof x.retain=="number"&&x.attributes==null){let _=x.retain;for(;m.peekType()==="insert"&&m.peekLength()<=_;)_-=m.peekLength(),w.push(m.next());x.retain-_>0&&E.next(x.retain-_)}const L=new b(w);for(;m.hasNext()||E.hasNext();)if(E.peekType()==="insert")L.push(E.next());else if(m.peekType()==="delete")L.push(m.next());else{const _=Math.min(m.peekLength(),E.peekLength()),M=m.next(_),K=E.next(_);if(K.retain){const H={};if(typeof M.retain=="number")H.retain=typeof K.retain=="number"?_:K.retain;else if(typeof K.retain=="number")M.retain==null?H.insert=M.insert:H.retain=M.retain;else{const it=M.retain==null?"insert":"retain",[ut,Ot,Tt]=d(M[it],K.retain),f=b.getHandler(ut);H[it]={[ut]:f.compose(Ot,Tt,it==="retain")}}const st=l.default.compose(M.attributes,K.attributes,typeof M.retain=="number");if(st&&(H.attributes=st),L.push(H),!E.hasNext()&&n(L.ops[L.ops.length-1],H)){const it=new b(m.rest());return L.concat(it).chop()}}else typeof K.delete=="number"&&(typeof M.retain=="number"||typeof M.retain=="object"&&M.retain!==null)&&L.push(K)}return L.chop()}concat(g){const m=new b(this.ops.slice());return g.ops.length>0&&(m.push(g.ops[0]),m.ops=m.ops.concat(g.ops.slice(1))),m}diff(g,m){if(this.ops===g.ops)return new b;const E=[this,g].map(M=>M.map(K=>{if(K.insert!=null)return typeof K.insert=="string"?K.insert:u;const H=M===g?"on":"with";throw new Error("diff() called "+H+" non-document")}).join("")),w=new b,x=e(E[0],E[1],m,!0),L=new c.default(this.ops),_=new c.default(g.ops);return x.forEach(M=>{let K=M[1].length;for(;K>0;){let H=0;switch(M[0]){case e.INSERT:H=Math.min(_.peekLength(),K),w.push(_.next(H));break;case e.DELETE:H=Math.min(K,L.peekLength()),L.next(H),w.delete(H);break;case e.EQUAL:H=Math.min(L.peekLength(),_.peekLength(),K);const st=L.next(H),it=_.next(H);n(st.insert,it.insert)?w.retain(H,l.default.diff(st.attributes,it.attributes)):w.push(it).delete(H);break}K-=H}}),w.chop()}eachLine(g,m=`
2
2
  `){const E=new c.default(this.ops);let w=new b,x=0;for(;E.hasNext();){if(E.peekType()!=="insert")return;const L=E.peek(),_=o.default.length(L)-E.peekLength(),M=typeof L.insert=="string"?L.insert.indexOf(m,_)-_:-1;if(M<0)w.push(E.next());else if(M>0)w.push(E.next(M));else{if(g(w,E.next(1).attributes||{},x)===!1)return;x+=1,w=new b}}w.length()>0&&g(w,{},x)}invert(g){const m=new b;return this.reduce((E,w)=>{if(w.insert)m.delete(o.default.length(w));else{if(typeof w.retain=="number"&&w.attributes==null)return m.retain(w.retain),E+w.retain;if(w.delete||typeof w.retain=="number"){const x=w.delete||w.retain;return g.slice(E,E+x).forEach(_=>{w.delete?m.push(_):w.retain&&w.attributes&&m.retain(o.default.length(_),l.default.invert(w.attributes,_.attributes))}),E+x}else if(typeof w.retain=="object"&&w.retain!==null){const x=g.slice(E,E+1),L=new c.default(x.ops).next(),[_,M,K]=d(w.retain,L.insert),H=b.getHandler(_);return m.retain({[_]:H.invert(M,K)},l.default.invert(w.attributes,L.attributes)),E+1}}return E},0),m.chop()}transform(g,m=!1){if(m=!!m,typeof g=="number")return this.transformPosition(g,m);const E=g,w=new c.default(this.ops),x=new c.default(E.ops),L=new b;for(;w.hasNext()||x.hasNext();)if(w.peekType()==="insert"&&(m||x.peekType()!=="insert"))L.retain(o.default.length(w.next()));else if(x.peekType()==="insert")L.push(x.next());else{const _=Math.min(w.peekLength(),x.peekLength()),M=w.next(_),K=x.next(_);if(M.delete)continue;if(K.delete)L.push(K);else{const H=M.retain,st=K.retain;let it=typeof st=="object"&&st!==null?st:_;if(typeof H=="object"&&H!==null&&typeof st=="object"&&st!==null){const ut=Object.keys(H)[0];if(ut===Object.keys(st)[0]){const Ot=b.getHandler(ut);Ot&&(it={[ut]:Ot.transform(H[ut],st[ut],m)})}}L.retain(it,l.default.transform(M.attributes,K.attributes,m))}}return L.chop()}transformPosition(g,m=!1){m=!!m;const E=new c.default(this.ops);let w=0;for(;E.hasNext()&&w<=g;){const x=E.peekLength(),L=E.peekType();if(E.next(),L==="delete"){g-=Math.min(x,g-w);continue}else L==="insert"&&(w<g||!m)&&(g+=x);w+=x}return g}}b.Op=o.default,b.OpIterator=c.default,b.AttributeMap=l.default,b.handlers={},t.default=b,i.exports=b,i.exports.default=b}(_s,_s.exports)),_s.exports}var Nt=Gi();const I=ct.getDefaultExportFromCjs(Nt);class Pt extends Lt{static value(){}optimize(){(this.prev||this.next)&&this.remove()}length(){return 0}value(){return""}}Pt.blotName="break";Pt.tagName="BR";let Ut=class extends Hs{};const Zi={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Ks(i){return i.replace(/[&<>"']/g,t=>Zi[t])}class Et extends nr{static allowedChildren=[Et,Pt,Lt,Ut];static order=["cursor","inline","link","underline","strike","italic","bold","script","code"];static compare(t,e){const s=Et.order.indexOf(t),n=Et.order.indexOf(e);return s>=0||n>=0?s-n:t===e?0:t<e?-1:1}formatAt(t,e,s,n){if(Et.compare(this.statics.blotName,s)<0&&this.scroll.query(s,B.BLOT)){const l=this.isolate(t,e);n&&l.wrap(s,n)}else super.formatAt(t,e,s,n)}optimize(t){if(super.optimize(t),this.parent instanceof Et&&Et.compare(this.statics.blotName,this.parent.statics.blotName)>0){const e=this.parent.isolate(this.offset(),this.length());this.moveChildren(e),e.wrap(this)}}}const Lr=1;class dt extends ls{cache={};delta(){return this.cache.delta==null&&(this.cache.delta=ii(this)),this.cache.delta}deleteAt(t,e){super.deleteAt(t,e),this.cache={}}formatAt(t,e,s,n){e<=0||(this.scroll.query(s,B.BLOCK)?t+e===this.length()&&this.format(s,n):super.formatAt(t,Math.min(e,this.length()-t-1),s,n),this.cache={})}insertAt(t,e,s){if(s!=null){super.insertAt(t,e,s),this.cache={};return}if(e.length===0)return;const n=e.split(`
3
3
  `),l=n.shift();l.length>0&&(t<this.length()-1||this.children.tail==null?super.insertAt(Math.min(t,this.length()-1),l):this.children.tail.insertAt(this.children.tail.length(),l),this.cache={});let o=this;n.reduce((c,u)=>(o=o.split(c,!0),o.insertAt(0,u),u.length),t+l.length)}insertBefore(t,e){const{head:s}=this.children;super.insertBefore(t,e),s instanceof Pt&&s.remove(),this.cache={}}length(){return this.cache.length==null&&(this.cache.length=super.length()+Lr),this.cache.length}moveChildren(t,e){super.moveChildren(t,e),this.cache={}}optimize(t){super.optimize(t),this.cache={}}path(t){return super.path(t,!0)}removeChild(t){super.removeChild(t),this.cache={}}split(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(e&&(t===0||t>=this.length()-Lr)){const n=this.clone();return t===0?(this.parent.insertBefore(n,this),this):(this.parent.insertBefore(n,this.next),n)}const s=super.split(t,e);return this.cache={},s}}dt.blotName="block";dt.tagName="P";dt.defaultChild=Pt;dt.allowedChildren=[Pt,Et,Lt,Ut];class Ct extends Lt{attach(){super.attach(),this.attributes=new zs(this.domNode)}delta(){return new I().insert(this.value(),{...this.formats(),...this.attributes.values()})}format(t,e){const s=this.scroll.query(t,B.BLOCK_ATTRIBUTE);s!=null&&this.attributes.attribute(s,e)}formatAt(t,e,s,n){this.format(s,n)}insertAt(t,e,s){if(s!=null){super.insertAt(t,e,s);return}const n=e.split(`
4
4
  `),l=n.pop(),o=n.map(u=>{const d=this.scroll.create(dt.blotName);return d.insertAt(0,u),d}),c=this.split(t);o.forEach(u=>{this.parent.insertBefore(u,c)}),l&&this.parent.insertBefore(this.scroll.create("text",l),c)}}Ct.scope=B.BLOCK_BLOT;function ii(i){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return i.descendants(yt).reduce((e,s)=>s.length()===0?e:e.insert(s.value(),St(s,{},t)),new I).insert(`
@@ -0,0 +1,5 @@
1
+ import { R as r, g as d } from "./mermaid-parser.core-CrBzVchH.js";
2
+ export {
3
+ r as RadarModule,
4
+ d as createRadarServices
5
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-BPRNKtDq.cjs");exports.RadarModule=e.RadarModule;exports.createRadarServices=e.createRadarServices;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-DPJs7zrb.cjs");exports.RadarModule=e.RadarModule;exports.createRadarServices=e.createRadarServices;
@@ -1,6 +1,6 @@
1
- import { g as Ge } from "./chunk-55IACEB6-AruVIG9-.js";
2
- import { s as ze } from "./chunk-QN33PNHL-CTMF2dQE.js";
3
- import { _ as f, b as Xe, a as Je, s as Ze, g as et, p as tt, q as st, c as Ne, l as qe, y as it, B as rt, o as nt, r as at, u as lt } from "./index-CWI6Ugro.js";
1
+ import { g as Ge } from "./chunk-55IACEB6-GO7krOui.js";
2
+ import { s as ze } from "./chunk-QN33PNHL-DqTukt_Q.js";
3
+ import { _ as f, b as Xe, a as Je, s as Ze, g as et, p as tt, q as st, c as Ne, l as qe, y as it, B as rt, o as nt, r as at, u as lt } from "./index-CUKUEzAy.js";
4
4
  var Ae = function() {
5
5
  var e = /* @__PURE__ */ f(function(P, i, n, c) {
6
6
  for (n = n || {}, c = P.length; c--; n[P[c]] = i) ;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const je=require("./chunk-55IACEB6-BlqI-t5b.cjs"),We=require("./chunk-QN33PNHL-C8Aphroz.cjs"),r=require("./index--f--jpZK.cjs");var Ne=function(){var e=r.__name(function(P,i,a,o){for(a=a||{},o=P.length;o--;a[P[o]]=i);return a},"o"),c=[1,3],m=[1,4],u=[1,5],n=[1,6],h=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],f=[1,22],R=[2,7],g=[1,26],b=[1,27],N=[1,28],q=[1,29],A=[1,33],C=[1,34],V=[1,35],v=[1,36],x=[1,37],L=[1,38],O=[1,24],D=[1,31],w=[1,32],M=[1,30],E=[1,39],p=[1,40],d=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],$=[1,61],X=[89,90],qe=[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],de=[27,29],Ae=[1,70],Ce=[1,71],Ve=[1,72],ve=[1,73],xe=[1,74],Le=[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],Ee=[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],De=[1,101],we=[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],j=[1,109],W=[1,111],he=[1,116],ue=[1,117],me=[1,114],fe=[1,115],Se={trace:r.__name(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:r.__name(function(i,a,o,s,_,t,_e){var l=t.length-1;switch(_){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:c,9:m,11:u,13:n},{1:[3]},{3:8,4:2,5:[1,7],6:c,9:m,11:u,13:n},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(h,[2,6]),{3:12,4:2,6:c,9:m,11:u,13:n},{1:[2,2]},{4:17,5:f,7:13,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},e(h,[2,4]),e(h,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:f,7:42,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:43,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:44,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:45,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:46,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:47,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:48,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:49,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:50,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{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(d,[2,17]),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),{30:60,33:62,75:$,89:E,90:p},{30:63,33:62,75:$,89:E,90:p},{30:64,33:62,75:$,89:E,90:p},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(qe,[2,81]),e(qe,[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(de,[2,79]),e(de,[2,80]),{27:[1,67],29:[1,68]},e(de,[2,85]),e(de,[2,86]),{62:69,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{62:77,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{30:78,33:62,75:$,89:E,90:p},{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(Ee,[2,60]),e(Ee,[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:$,76:U,89:E,90:p},{5:[1,95]},{30:96,33:62,75:$,89:E,90:p},{5:[1,97]},{30:98,33:62,75:$,89:E,90:p},{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(d,[2,59],{76:U}),e(d,[2,64],{76:De}),{33:103,75:[1,102],89:E,90:p},e(we,[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(d,[2,57],{76:De}),e(d,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:j,40:W},{27:[1,112],76:U},{5:he,40:ue,56:113,57:me,59:fe},{27:[1,118],76:U},{33:119,89:E,90:p},{33:120,89:E,90:p},{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(Ee,[2,61]),e(Ee,[2,63]),e(T,[2,68]),e(d,[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:j,40:W},e(d,[2,28]),{5:[1,127]},e(d,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:me,59:fe},e(d,[2,47]),{5:[1,131]},e(d,[2,48]),e(d,[2,49]),e(we,[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:E,90:p},{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(d,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:j,40:W},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(d,[2,46]),{5:he,40:ue,56:152,57:me,59:fe},{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(d,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(d,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:j,40:W},{5:B,28:160,31:Q,34:H,36:K,38:j,40:W},{5:B,28:161,31:Q,34:H,36:K,38:j,40:W},{5:B,28:162,31:Q,34:H,36:K,38:j,40:W},{5:he,40:ue,56:163,57:me,59:fe},{5:he,40:ue,56:164,57:me,59:fe},e(d,[2,23]),e(d,[2,24]),e(d,[2,25]),e(d,[2,26]),e(d,[2,44]),e(d,[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:r.__name(function(i,a){if(a.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=a,o}},"parseError"),parse:r.__name(function(i){var a=this,o=[0],s=[],_=[null],t=[],_e=this.table,l="",Re=0,Me=0,Be=2,Fe=1,Qe=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(G.yy[Ie]=this.yy[Ie]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var be=y.yylloc;t.push(be);var He=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ke(I){o.length=o.length-2*I,_.length=_.length-I,t.length=t.length-I}r.__name(Ke,"popStack");function Pe(){var I;return I=s.pop()||y.lex()||Fe,typeof I!="number"&&(I instanceof Array&&(s=I,I=s.pop()),I=a.symbols_[I]||I),I}r.__name(Pe,"lex");for(var S,z,k,Te,J={},ye,F,$e,ge;;){if(z=o[o.length-1],this.defaultActions[z]?k=this.defaultActions[z]:((S===null||typeof S>"u")&&(S=Pe()),k=_e[z]&&_e[z][S]),typeof k>"u"||!k.length||!k[0]){var ke="";ge=[];for(ye in _e[z])this.terminals_[ye]&&ye>Be&&ge.push("'"+this.terminals_[ye]+"'");y.showPosition?ke="Parse error on line "+(Re+1)+`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const je=require("./chunk-55IACEB6-FScnCnhe.cjs"),We=require("./chunk-QN33PNHL-XQmHtsk6.cjs"),r=require("./index-CTHP6KZy.cjs");var Ne=function(){var e=r.__name(function(P,i,a,o){for(a=a||{},o=P.length;o--;a[P[o]]=i);return a},"o"),c=[1,3],m=[1,4],u=[1,5],n=[1,6],h=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],f=[1,22],R=[2,7],g=[1,26],b=[1,27],N=[1,28],q=[1,29],A=[1,33],C=[1,34],V=[1,35],v=[1,36],x=[1,37],L=[1,38],O=[1,24],D=[1,31],w=[1,32],M=[1,30],E=[1,39],p=[1,40],d=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],$=[1,61],X=[89,90],qe=[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],de=[27,29],Ae=[1,70],Ce=[1,71],Ve=[1,72],ve=[1,73],xe=[1,74],Le=[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],Ee=[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],De=[1,101],we=[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],j=[1,109],W=[1,111],he=[1,116],ue=[1,117],me=[1,114],fe=[1,115],Se={trace:r.__name(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:r.__name(function(i,a,o,s,_,t,_e){var l=t.length-1;switch(_){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:c,9:m,11:u,13:n},{1:[3]},{3:8,4:2,5:[1,7],6:c,9:m,11:u,13:n},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(h,[2,6]),{3:12,4:2,6:c,9:m,11:u,13:n},{1:[2,2]},{4:17,5:f,7:13,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},e(h,[2,4]),e(h,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:f,7:42,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:43,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:44,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:45,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:46,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:47,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:48,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:49,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:50,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{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(d,[2,17]),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),{30:60,33:62,75:$,89:E,90:p},{30:63,33:62,75:$,89:E,90:p},{30:64,33:62,75:$,89:E,90:p},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(qe,[2,81]),e(qe,[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(de,[2,79]),e(de,[2,80]),{27:[1,67],29:[1,68]},e(de,[2,85]),e(de,[2,86]),{62:69,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{62:77,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{30:78,33:62,75:$,89:E,90:p},{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(Ee,[2,60]),e(Ee,[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:$,76:U,89:E,90:p},{5:[1,95]},{30:96,33:62,75:$,89:E,90:p},{5:[1,97]},{30:98,33:62,75:$,89:E,90:p},{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(d,[2,59],{76:U}),e(d,[2,64],{76:De}),{33:103,75:[1,102],89:E,90:p},e(we,[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(d,[2,57],{76:De}),e(d,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:j,40:W},{27:[1,112],76:U},{5:he,40:ue,56:113,57:me,59:fe},{27:[1,118],76:U},{33:119,89:E,90:p},{33:120,89:E,90:p},{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(Ee,[2,61]),e(Ee,[2,63]),e(T,[2,68]),e(d,[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:j,40:W},e(d,[2,28]),{5:[1,127]},e(d,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:me,59:fe},e(d,[2,47]),{5:[1,131]},e(d,[2,48]),e(d,[2,49]),e(we,[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:E,90:p},{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(d,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:j,40:W},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(d,[2,46]),{5:he,40:ue,56:152,57:me,59:fe},{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(d,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(d,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:j,40:W},{5:B,28:160,31:Q,34:H,36:K,38:j,40:W},{5:B,28:161,31:Q,34:H,36:K,38:j,40:W},{5:B,28:162,31:Q,34:H,36:K,38:j,40:W},{5:he,40:ue,56:163,57:me,59:fe},{5:he,40:ue,56:164,57:me,59:fe},e(d,[2,23]),e(d,[2,24]),e(d,[2,25]),e(d,[2,26]),e(d,[2,44]),e(d,[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:r.__name(function(i,a){if(a.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=a,o}},"parseError"),parse:r.__name(function(i){var a=this,o=[0],s=[],_=[null],t=[],_e=this.table,l="",Re=0,Me=0,Be=2,Fe=1,Qe=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(G.yy[Ie]=this.yy[Ie]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var be=y.yylloc;t.push(be);var He=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ke(I){o.length=o.length-2*I,_.length=_.length-I,t.length=t.length-I}r.__name(Ke,"popStack");function Pe(){var I;return I=s.pop()||y.lex()||Fe,typeof I!="number"&&(I instanceof Array&&(s=I,I=s.pop()),I=a.symbols_[I]||I),I}r.__name(Pe,"lex");for(var S,z,k,Te,J={},ye,F,$e,ge;;){if(z=o[o.length-1],this.defaultActions[z]?k=this.defaultActions[z]:((S===null||typeof S>"u")&&(S=Pe()),k=_e[z]&&_e[z][S]),typeof k>"u"||!k.length||!k[0]){var ke="";ge=[];for(ye in _e[z])this.terminals_[ye]&&ye>Be&&ge.push("'"+this.terminals_[ye]+"'");y.showPosition?ke="Parse error on line "+(Re+1)+`:
2
2
  `+y.showPosition()+`
3
3
  Expecting `+ge.join(", ")+", got '"+(this.terminals_[S]||S)+"'":ke="Parse error on line "+(Re+1)+": Unexpected "+(S==Fe?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(ke,{text:y.match,token:this.terminals_[S]||S,line:y.yylineno,loc:be,expected:ge})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+S);switch(k[0]){case 1:o.push(S),_.push(y.yytext),t.push(y.yylloc),o.push(k[1]),S=null,Me=y.yyleng,l=y.yytext,Re=y.yylineno,be=y.yylloc;break;case 2:if(F=this.productions_[k[1]][1],J.$=_[_.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},He&&(J._$.range=[t[t.length-(F||1)].range[0],t[t.length-1].range[1]]),Te=this.performAction.apply(J,[l,Me,Re,G.yy,k[1],_,t].concat(Qe)),typeof Te<"u")return Te;F&&(o=o.slice(0,-1*F*2),_=_.slice(0,-1*F),t=t.slice(0,-1*F)),o.push(this.productions_[k[1]][0]),_.push(J.$),t.push(J._$),$e=_e[o[o.length-2]][o[o.length-1]],o.push($e);break;case 3:return!0}}return!0},"parse")},Ye=function(){var P={EOF:1,parseError:r.__name(function(a,o){if(this.yy.parser)this.yy.parser.parseError(a,o);else throw new Error(a)},"parseError"),setInput:r.__name(function(i,a){return this.yy=a||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:r.__name(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(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:r.__name(function(i){var a=i.length,o=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;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 _=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-a},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:r.__name(function(){return this._more=!0,this},"more"),reject:r.__name(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:r.__name(function(i){this.unput(this.match.slice(i))},"less"),pastInput:r.__name(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:r.__name(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:r.__name(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index--f--jpZK.cjs"),_t=require("./ordinal-CagbB1m8.cjs");function mt(t){for(var e=t.length/6|0,i=new Array(e),a=0;a<e;)i[a]="#"+t.slice(a*6,++a*6);return i}const kt=mt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function at(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i<a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i<h||i===void 0&&h>=h)&&(i=h)}return i}function dt(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i>h||i===void 0&&h>=h)&&(i=h)}return i}function et(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let h of t)(h=+e(h,++a,t))&&(i+=h)}return i}function xt(t){return t.target.depth}function vt(t){return t.depth}function bt(t,e){return e-1-t.height}function gt(t,e){return t.sourceLinks.length?t.depth:e-1}function St(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?dt(t.sourceLinks,xt)-1:0}function H(t){return function(){return t}}function lt(t,e){return X(t.source,e.source)||t.index-e.index}function ct(t,e){return X(t.target,e.target)||t.index-e.index}function X(t,e){return t.y0-e.y0}function nt(t){return t.value}function wt(t){return t.index}function Lt(t){return t.nodes}function Et(t){return t.links}function ut(t,e){const i=t.get(e);if(!i)throw new Error("missing: "+e);return i}function ht({nodes:t}){for(const e of t){let i=e.y0,a=i;for(const h of e.sourceLinks)h.y0=i+h.width/2,i+=h.width;for(const h of e.targetLinks)h.y1=a+h.width/2,a+=h.width}}function At(){let t=0,e=0,i=1,a=1,h=24,b=8,p,m=wt,r=gt,o,l,k=Lt,x=Et,d=6;function v(){const n={nodes:k.apply(null,arguments),links:x.apply(null,arguments)};return M(n),T(n),N(n),I(n),w(n),ht(n),n}v.update=function(n){return ht(n),n},v.nodeId=function(n){return arguments.length?(m=typeof n=="function"?n:H(n),v):m},v.nodeAlign=function(n){return arguments.length?(r=typeof n=="function"?n:H(n),v):r},v.nodeSort=function(n){return arguments.length?(o=n,v):o},v.nodeWidth=function(n){return arguments.length?(h=+n,v):h},v.nodePadding=function(n){return arguments.length?(b=p=+n,v):b},v.nodes=function(n){return arguments.length?(k=typeof n=="function"?n:H(n),v):k},v.links=function(n){return arguments.length?(x=typeof n=="function"?n:H(n),v):x},v.linkSort=function(n){return arguments.length?(l=n,v):l},v.size=function(n){return arguments.length?(t=e=0,i=+n[0],a=+n[1],v):[i-t,a-e]},v.extent=function(n){return arguments.length?(t=+n[0][0],i=+n[1][0],e=+n[0][1],a=+n[1][1],v):[[t,e],[i,a]]},v.iterations=function(n){return arguments.length?(d=+n,v):d};function M({nodes:n,links:y}){for(const[c,s]of n.entries())s.index=c,s.sourceLinks=[],s.targetLinks=[];const u=new Map(n.map((c,s)=>[m(c,s,n),c]));for(const[c,s]of y.entries()){s.index=c;let{source:_,target:S}=s;typeof _!="object"&&(_=s.source=ut(u,_)),typeof S!="object"&&(S=s.target=ut(u,S)),_.sourceLinks.push(s),S.targetLinks.push(s)}if(l!=null)for(const{sourceLinks:c,targetLinks:s}of n)c.sort(l),s.sort(l)}function T({nodes:n}){for(const y of n)y.value=y.fixedValue===void 0?Math.max(et(y.sourceLinks,nt),et(y.targetLinks,nt)):y.fixedValue}function N({nodes:n}){const y=n.length;let u=new Set(n),c=new Set,s=0;for(;u.size;){for(const _ of u){_.depth=s;for(const{target:S}of _.sourceLinks)c.add(S)}if(++s>y)throw new Error("circular link");u=c,c=new Set}}function I({nodes:n}){const y=n.length;let u=new Set(n),c=new Set,s=0;for(;u.size;){for(const _ of u){_.height=s;for(const{source:S}of _.targetLinks)c.add(S)}if(++s>y)throw new Error("circular link");u=c,c=new Set}}function $({nodes:n}){const y=at(n,s=>s.depth)+1,u=(i-t-h)/(y-1),c=new Array(y);for(const s of n){const _=Math.max(0,Math.min(y-1,Math.floor(r.call(null,s,y))));s.layer=_,s.x0=t+_*u,s.x1=s.x0+h,c[_]?c[_].push(s):c[_]=[s]}if(o)for(const s of c)s.sort(o);return c}function R(n){const y=dt(n,u=>(a-e-(u.length-1)*p)/et(u,nt));for(const u of n){let c=e;for(const s of u){s.y0=c,s.y1=c+s.value*y,c=s.y1+p;for(const _ of s.sourceLinks)_.width=_.value*y}c=(a-c+p)/(u.length+1);for(let s=0;s<u.length;++s){const _=u[s];_.y0+=c*(s+1),_.y1+=c*(s+1)}A(u)}}function w(n){const y=$(n);p=Math.min(b,(a-e)/(at(y,u=>u.length)-1)),R(y);for(let u=0;u<d;++u){const c=Math.pow(.99,u),s=Math.max(1-c,(u+1)/d);B(y,c,s),C(y,c,s)}}function C(n,y,u){for(let c=1,s=n.length;c<s;++c){const _=n[c];for(const S of _){let L=0,F=0;for(const{source:q,value:tt}of S.targetLinks){let Y=tt*(S.layer-q.layer);L+=j(q,S)*Y,F+=Y}if(!(F>0))continue;let G=(L/F-S.y0)*y;S.y0+=G,S.y1+=G,E(S)}o===void 0&&_.sort(X),O(_,u)}}function B(n,y,u){for(let c=n.length,s=c-2;s>=0;--s){const _=n[s];for(const S of _){let L=0,F=0;for(const{target:q,value:tt}of S.sourceLinks){let Y=tt*(q.layer-S.layer);L+=P(S,q)*Y,F+=Y}if(!(F>0))continue;let G=(L/F-S.y0)*y;S.y0+=G,S.y1+=G,E(S)}o===void 0&&_.sort(X),O(_,u)}}function O(n,y){const u=n.length>>1,c=n[u];g(n,c.y0-p,u-1,y),D(n,c.y1+p,u+1,y),g(n,a,n.length-1,y),D(n,e,0,y)}function D(n,y,u,c){for(;u<n.length;++u){const s=n[u],_=(y-s.y0)*c;_>1e-6&&(s.y0+=_,s.y1+=_),y=s.y1+p}}function g(n,y,u,c){for(;u>=0;--u){const s=n[u],_=(s.y1-y)*c;_>1e-6&&(s.y0-=_,s.y1-=_),y=s.y0-p}}function E({sourceLinks:n,targetLinks:y}){if(l===void 0){for(const{source:{sourceLinks:u}}of y)u.sort(ct);for(const{target:{targetLinks:u}}of n)u.sort(lt)}}function A(n){if(l===void 0)for(const{sourceLinks:y,targetLinks:u}of n)y.sort(ct),u.sort(lt)}function j(n,y){let u=n.y0-(n.sourceLinks.length-1)*p/2;for(const{target:c,width:s}of n.sourceLinks){if(c===y)break;u+=s+p}for(const{source:c,width:s}of y.targetLinks){if(c===n)break;u-=s}return u}function P(n,y){let u=y.y0-(y.targetLinks.length-1)*p/2;for(const{source:c,width:s}of y.targetLinks){if(c===n)break;u+=s+p}for(const{target:c,width:s}of n.sourceLinks){if(c===y)break;u-=s}return u}return v}var it=Math.PI,rt=2*it,V=1e-6,Tt=rt-V;function st(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pt(){return new st}st.prototype=pt.prototype={constructor:st,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,i,a){this._+="Q"+ +t+","+ +e+","+(this._x1=+i)+","+(this._y1=+a)},bezierCurveTo:function(t,e,i,a,h,b){this._+="C"+ +t+","+ +e+","+ +i+","+ +a+","+(this._x1=+h)+","+(this._y1=+b)},arcTo:function(t,e,i,a,h){t=+t,e=+e,i=+i,a=+a,h=+h;var b=this._x1,p=this._y1,m=i-t,r=a-e,o=b-t,l=p-e,k=o*o+l*l;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(k>V)if(!(Math.abs(l*m-r*o)>V)||!h)this._+="L"+(this._x1=t)+","+(this._y1=e);else{var x=i-b,d=a-p,v=m*m+r*r,M=x*x+d*d,T=Math.sqrt(v),N=Math.sqrt(k),I=h*Math.tan((it-Math.acos((v+k-M)/(2*T*N)))/2),$=I/N,R=I/T;Math.abs($-1)>V&&(this._+="L"+(t+$*o)+","+(e+$*l)),this._+="A"+h+","+h+",0,0,"+ +(l*x>o*d)+","+(this._x1=t+R*m)+","+(this._y1=e+R*r)}},arc:function(t,e,i,a,h,b){t=+t,e=+e,i=+i,b=!!b;var p=i*Math.cos(a),m=i*Math.sin(a),r=t+p,o=e+m,l=1^b,k=b?a-h:h-a;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+r+","+o:(Math.abs(this._x1-r)>V||Math.abs(this._y1-o)>V)&&(this._+="L"+r+","+o),i&&(k<0&&(k=k%rt+rt),k>Tt?this._+="A"+i+","+i+",0,1,"+l+","+(t-p)+","+(e-m)+"A"+i+","+i+",0,1,"+l+","+(this._x1=r)+","+(this._y1=o):k>V&&(this._+="A"+i+","+i+",0,"+ +(k>=it)+","+l+","+(this._x1=t+i*Math.cos(h))+","+(this._y1=e+i*Math.sin(h))))},rect:function(t,e,i,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +a+"h"+-i+"Z"},toString:function(){return this._}};function ft(t){return function(){return t}}function Mt(t){return t[0]}function Nt(t){return t[1]}var Pt=Array.prototype.slice;function Ct(t){return t.source}function It(t){return t.target}function Ot(t){var e=Ct,i=It,a=Mt,h=Nt,b=null;function p(){var m,r=Pt.call(arguments),o=e.apply(this,r),l=i.apply(this,r);if(b||(b=m=pt()),t(b,+a.apply(this,(r[0]=o,r)),+h.apply(this,r),+a.apply(this,(r[0]=l,r)),+h.apply(this,r)),m)return b=null,m+""||null}return p.source=function(m){return arguments.length?(e=m,p):e},p.target=function(m){return arguments.length?(i=m,p):i},p.x=function(m){return arguments.length?(a=typeof m=="function"?m:ft(+m),p):a},p.y=function(m){return arguments.length?(h=typeof m=="function"?m:ft(+m),p):h},p.context=function(m){return arguments.length?(b=m??null,p):b},p}function Dt(t,e,i,a,h){t.moveTo(e,i),t.bezierCurveTo(e=(e+a)/2,i,e,h,a,h)}function $t(){return Ot(Dt)}function jt(t){return[t.source.x1,t.y0]}function zt(t){return[t.target.x0,t.y1]}function Bt(){return $t().source(jt).target(zt)}var ot=function(){var t=f.__name(function(m,r,o,l){for(o=o||{},l=m.length;l--;o[m[l]]=r);return o},"o"),e=[1,9],i=[1,10],a=[1,5,10,12],h={trace:f.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:f.__name(function(r,o,l,k,x,d,v){var M=d.length-1;switch(x){case 7:const T=k.findOrCreateNode(d[M-4].trim().replaceAll('""','"')),N=k.findOrCreateNode(d[M-2].trim().replaceAll('""','"')),I=parseFloat(d[M].trim());k.addLink(T,N,I);break;case 8:case 9:case 11:this.$=d[M];break;case 10:this.$=d[M-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:i},{1:[2,6],7:11,10:[1,12]},t(i,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(i,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:i},{15:18,16:7,17:8,18:e,20:i},{18:[1,19]},t(i,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:e,20:i},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:f.__name(function(r,o){if(o.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=o,l}},"parseError"),parse:f.__name(function(r){var o=this,l=[0],k=[],x=[null],d=[],v=this.table,M="",T=0,N=0,I=2,$=1,R=d.slice.call(arguments,1),w=Object.create(this.lexer),C={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(C.yy[B]=this.yy[B]);w.setInput(r,C.yy),C.yy.lexer=w,C.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var O=w.yylloc;d.push(O);var D=w.options&&w.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(L){l.length=l.length-2*L,x.length=x.length-L,d.length=d.length-L}f.__name(g,"popStack");function E(){var L;return L=k.pop()||w.lex()||$,typeof L!="number"&&(L instanceof Array&&(k=L,L=k.pop()),L=o.symbols_[L]||L),L}f.__name(E,"lex");for(var A,j,P,n,y={},u,c,s,_;;){if(j=l[l.length-1],this.defaultActions[j]?P=this.defaultActions[j]:((A===null||typeof A>"u")&&(A=E()),P=v[j]&&v[j][A]),typeof P>"u"||!P.length||!P[0]){var S="";_=[];for(u in v[j])this.terminals_[u]&&u>I&&_.push("'"+this.terminals_[u]+"'");w.showPosition?S="Parse error on line "+(T+1)+`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index-CTHP6KZy.cjs"),_t=require("./ordinal-CagbB1m8.cjs");function mt(t){for(var e=t.length/6|0,i=new Array(e),a=0;a<e;)i[a]="#"+t.slice(a*6,++a*6);return i}const kt=mt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function at(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i<a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i<h||i===void 0&&h>=h)&&(i=h)}return i}function dt(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i>h||i===void 0&&h>=h)&&(i=h)}return i}function et(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let h of t)(h=+e(h,++a,t))&&(i+=h)}return i}function xt(t){return t.target.depth}function vt(t){return t.depth}function bt(t,e){return e-1-t.height}function gt(t,e){return t.sourceLinks.length?t.depth:e-1}function St(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?dt(t.sourceLinks,xt)-1:0}function H(t){return function(){return t}}function lt(t,e){return X(t.source,e.source)||t.index-e.index}function ct(t,e){return X(t.target,e.target)||t.index-e.index}function X(t,e){return t.y0-e.y0}function nt(t){return t.value}function wt(t){return t.index}function Lt(t){return t.nodes}function Et(t){return t.links}function ut(t,e){const i=t.get(e);if(!i)throw new Error("missing: "+e);return i}function ht({nodes:t}){for(const e of t){let i=e.y0,a=i;for(const h of e.sourceLinks)h.y0=i+h.width/2,i+=h.width;for(const h of e.targetLinks)h.y1=a+h.width/2,a+=h.width}}function At(){let t=0,e=0,i=1,a=1,h=24,b=8,p,m=wt,r=gt,o,l,k=Lt,x=Et,d=6;function v(){const n={nodes:k.apply(null,arguments),links:x.apply(null,arguments)};return M(n),T(n),N(n),I(n),w(n),ht(n),n}v.update=function(n){return ht(n),n},v.nodeId=function(n){return arguments.length?(m=typeof n=="function"?n:H(n),v):m},v.nodeAlign=function(n){return arguments.length?(r=typeof n=="function"?n:H(n),v):r},v.nodeSort=function(n){return arguments.length?(o=n,v):o},v.nodeWidth=function(n){return arguments.length?(h=+n,v):h},v.nodePadding=function(n){return arguments.length?(b=p=+n,v):b},v.nodes=function(n){return arguments.length?(k=typeof n=="function"?n:H(n),v):k},v.links=function(n){return arguments.length?(x=typeof n=="function"?n:H(n),v):x},v.linkSort=function(n){return arguments.length?(l=n,v):l},v.size=function(n){return arguments.length?(t=e=0,i=+n[0],a=+n[1],v):[i-t,a-e]},v.extent=function(n){return arguments.length?(t=+n[0][0],i=+n[1][0],e=+n[0][1],a=+n[1][1],v):[[t,e],[i,a]]},v.iterations=function(n){return arguments.length?(d=+n,v):d};function M({nodes:n,links:y}){for(const[c,s]of n.entries())s.index=c,s.sourceLinks=[],s.targetLinks=[];const u=new Map(n.map((c,s)=>[m(c,s,n),c]));for(const[c,s]of y.entries()){s.index=c;let{source:_,target:S}=s;typeof _!="object"&&(_=s.source=ut(u,_)),typeof S!="object"&&(S=s.target=ut(u,S)),_.sourceLinks.push(s),S.targetLinks.push(s)}if(l!=null)for(const{sourceLinks:c,targetLinks:s}of n)c.sort(l),s.sort(l)}function T({nodes:n}){for(const y of n)y.value=y.fixedValue===void 0?Math.max(et(y.sourceLinks,nt),et(y.targetLinks,nt)):y.fixedValue}function N({nodes:n}){const y=n.length;let u=new Set(n),c=new Set,s=0;for(;u.size;){for(const _ of u){_.depth=s;for(const{target:S}of _.sourceLinks)c.add(S)}if(++s>y)throw new Error("circular link");u=c,c=new Set}}function I({nodes:n}){const y=n.length;let u=new Set(n),c=new Set,s=0;for(;u.size;){for(const _ of u){_.height=s;for(const{source:S}of _.targetLinks)c.add(S)}if(++s>y)throw new Error("circular link");u=c,c=new Set}}function $({nodes:n}){const y=at(n,s=>s.depth)+1,u=(i-t-h)/(y-1),c=new Array(y);for(const s of n){const _=Math.max(0,Math.min(y-1,Math.floor(r.call(null,s,y))));s.layer=_,s.x0=t+_*u,s.x1=s.x0+h,c[_]?c[_].push(s):c[_]=[s]}if(o)for(const s of c)s.sort(o);return c}function R(n){const y=dt(n,u=>(a-e-(u.length-1)*p)/et(u,nt));for(const u of n){let c=e;for(const s of u){s.y0=c,s.y1=c+s.value*y,c=s.y1+p;for(const _ of s.sourceLinks)_.width=_.value*y}c=(a-c+p)/(u.length+1);for(let s=0;s<u.length;++s){const _=u[s];_.y0+=c*(s+1),_.y1+=c*(s+1)}A(u)}}function w(n){const y=$(n);p=Math.min(b,(a-e)/(at(y,u=>u.length)-1)),R(y);for(let u=0;u<d;++u){const c=Math.pow(.99,u),s=Math.max(1-c,(u+1)/d);B(y,c,s),C(y,c,s)}}function C(n,y,u){for(let c=1,s=n.length;c<s;++c){const _=n[c];for(const S of _){let L=0,F=0;for(const{source:q,value:tt}of S.targetLinks){let Y=tt*(S.layer-q.layer);L+=j(q,S)*Y,F+=Y}if(!(F>0))continue;let G=(L/F-S.y0)*y;S.y0+=G,S.y1+=G,E(S)}o===void 0&&_.sort(X),O(_,u)}}function B(n,y,u){for(let c=n.length,s=c-2;s>=0;--s){const _=n[s];for(const S of _){let L=0,F=0;for(const{target:q,value:tt}of S.sourceLinks){let Y=tt*(q.layer-S.layer);L+=P(S,q)*Y,F+=Y}if(!(F>0))continue;let G=(L/F-S.y0)*y;S.y0+=G,S.y1+=G,E(S)}o===void 0&&_.sort(X),O(_,u)}}function O(n,y){const u=n.length>>1,c=n[u];g(n,c.y0-p,u-1,y),D(n,c.y1+p,u+1,y),g(n,a,n.length-1,y),D(n,e,0,y)}function D(n,y,u,c){for(;u<n.length;++u){const s=n[u],_=(y-s.y0)*c;_>1e-6&&(s.y0+=_,s.y1+=_),y=s.y1+p}}function g(n,y,u,c){for(;u>=0;--u){const s=n[u],_=(s.y1-y)*c;_>1e-6&&(s.y0-=_,s.y1-=_),y=s.y0-p}}function E({sourceLinks:n,targetLinks:y}){if(l===void 0){for(const{source:{sourceLinks:u}}of y)u.sort(ct);for(const{target:{targetLinks:u}}of n)u.sort(lt)}}function A(n){if(l===void 0)for(const{sourceLinks:y,targetLinks:u}of n)y.sort(ct),u.sort(lt)}function j(n,y){let u=n.y0-(n.sourceLinks.length-1)*p/2;for(const{target:c,width:s}of n.sourceLinks){if(c===y)break;u+=s+p}for(const{source:c,width:s}of y.targetLinks){if(c===n)break;u-=s}return u}function P(n,y){let u=y.y0-(y.targetLinks.length-1)*p/2;for(const{source:c,width:s}of y.targetLinks){if(c===n)break;u+=s+p}for(const{target:c,width:s}of n.sourceLinks){if(c===y)break;u-=s}return u}return v}var it=Math.PI,rt=2*it,V=1e-6,Tt=rt-V;function st(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pt(){return new st}st.prototype=pt.prototype={constructor:st,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,i,a){this._+="Q"+ +t+","+ +e+","+(this._x1=+i)+","+(this._y1=+a)},bezierCurveTo:function(t,e,i,a,h,b){this._+="C"+ +t+","+ +e+","+ +i+","+ +a+","+(this._x1=+h)+","+(this._y1=+b)},arcTo:function(t,e,i,a,h){t=+t,e=+e,i=+i,a=+a,h=+h;var b=this._x1,p=this._y1,m=i-t,r=a-e,o=b-t,l=p-e,k=o*o+l*l;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(k>V)if(!(Math.abs(l*m-r*o)>V)||!h)this._+="L"+(this._x1=t)+","+(this._y1=e);else{var x=i-b,d=a-p,v=m*m+r*r,M=x*x+d*d,T=Math.sqrt(v),N=Math.sqrt(k),I=h*Math.tan((it-Math.acos((v+k-M)/(2*T*N)))/2),$=I/N,R=I/T;Math.abs($-1)>V&&(this._+="L"+(t+$*o)+","+(e+$*l)),this._+="A"+h+","+h+",0,0,"+ +(l*x>o*d)+","+(this._x1=t+R*m)+","+(this._y1=e+R*r)}},arc:function(t,e,i,a,h,b){t=+t,e=+e,i=+i,b=!!b;var p=i*Math.cos(a),m=i*Math.sin(a),r=t+p,o=e+m,l=1^b,k=b?a-h:h-a;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+r+","+o:(Math.abs(this._x1-r)>V||Math.abs(this._y1-o)>V)&&(this._+="L"+r+","+o),i&&(k<0&&(k=k%rt+rt),k>Tt?this._+="A"+i+","+i+",0,1,"+l+","+(t-p)+","+(e-m)+"A"+i+","+i+",0,1,"+l+","+(this._x1=r)+","+(this._y1=o):k>V&&(this._+="A"+i+","+i+",0,"+ +(k>=it)+","+l+","+(this._x1=t+i*Math.cos(h))+","+(this._y1=e+i*Math.sin(h))))},rect:function(t,e,i,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +a+"h"+-i+"Z"},toString:function(){return this._}};function ft(t){return function(){return t}}function Mt(t){return t[0]}function Nt(t){return t[1]}var Pt=Array.prototype.slice;function Ct(t){return t.source}function It(t){return t.target}function Ot(t){var e=Ct,i=It,a=Mt,h=Nt,b=null;function p(){var m,r=Pt.call(arguments),o=e.apply(this,r),l=i.apply(this,r);if(b||(b=m=pt()),t(b,+a.apply(this,(r[0]=o,r)),+h.apply(this,r),+a.apply(this,(r[0]=l,r)),+h.apply(this,r)),m)return b=null,m+""||null}return p.source=function(m){return arguments.length?(e=m,p):e},p.target=function(m){return arguments.length?(i=m,p):i},p.x=function(m){return arguments.length?(a=typeof m=="function"?m:ft(+m),p):a},p.y=function(m){return arguments.length?(h=typeof m=="function"?m:ft(+m),p):h},p.context=function(m){return arguments.length?(b=m??null,p):b},p}function Dt(t,e,i,a,h){t.moveTo(e,i),t.bezierCurveTo(e=(e+a)/2,i,e,h,a,h)}function $t(){return Ot(Dt)}function jt(t){return[t.source.x1,t.y0]}function zt(t){return[t.target.x0,t.y1]}function Bt(){return $t().source(jt).target(zt)}var ot=function(){var t=f.__name(function(m,r,o,l){for(o=o||{},l=m.length;l--;o[m[l]]=r);return o},"o"),e=[1,9],i=[1,10],a=[1,5,10,12],h={trace:f.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:f.__name(function(r,o,l,k,x,d,v){var M=d.length-1;switch(x){case 7:const T=k.findOrCreateNode(d[M-4].trim().replaceAll('""','"')),N=k.findOrCreateNode(d[M-2].trim().replaceAll('""','"')),I=parseFloat(d[M].trim());k.addLink(T,N,I);break;case 8:case 9:case 11:this.$=d[M];break;case 10:this.$=d[M-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:i},{1:[2,6],7:11,10:[1,12]},t(i,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(i,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:i},{15:18,16:7,17:8,18:e,20:i},{18:[1,19]},t(i,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:e,20:i},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:f.__name(function(r,o){if(o.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=o,l}},"parseError"),parse:f.__name(function(r){var o=this,l=[0],k=[],x=[null],d=[],v=this.table,M="",T=0,N=0,I=2,$=1,R=d.slice.call(arguments,1),w=Object.create(this.lexer),C={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(C.yy[B]=this.yy[B]);w.setInput(r,C.yy),C.yy.lexer=w,C.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var O=w.yylloc;d.push(O);var D=w.options&&w.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(L){l.length=l.length-2*L,x.length=x.length-L,d.length=d.length-L}f.__name(g,"popStack");function E(){var L;return L=k.pop()||w.lex()||$,typeof L!="number"&&(L instanceof Array&&(k=L,L=k.pop()),L=o.symbols_[L]||L),L}f.__name(E,"lex");for(var A,j,P,n,y={},u,c,s,_;;){if(j=l[l.length-1],this.defaultActions[j]?P=this.defaultActions[j]:((A===null||typeof A>"u")&&(A=E()),P=v[j]&&v[j][A]),typeof P>"u"||!P.length||!P[0]){var S="";_=[];for(u in v[j])this.terminals_[u]&&u>I&&_.push("'"+this.terminals_[u]+"'");w.showPosition?S="Parse error on line "+(T+1)+`:
2
2
  `+w.showPosition()+`
3
3
  Expecting `+_.join(", ")+", got '"+(this.terminals_[A]||A)+"'":S="Parse error on line "+(T+1)+": Unexpected "+(A==$?"end of input":"'"+(this.terminals_[A]||A)+"'"),this.parseError(S,{text:w.match,token:this.terminals_[A]||A,line:w.yylineno,loc:O,expected:_})}if(P[0]instanceof Array&&P.length>1)throw new Error("Parse Error: multiple actions possible at state: "+j+", token: "+A);switch(P[0]){case 1:l.push(A),x.push(w.yytext),d.push(w.yylloc),l.push(P[1]),A=null,N=w.yyleng,M=w.yytext,T=w.yylineno,O=w.yylloc;break;case 2:if(c=this.productions_[P[1]][1],y.$=x[x.length-c],y._$={first_line:d[d.length-(c||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(c||1)].first_column,last_column:d[d.length-1].last_column},D&&(y._$.range=[d[d.length-(c||1)].range[0],d[d.length-1].range[1]]),n=this.performAction.apply(y,[M,N,T,C.yy,P[1],x,d].concat(R)),typeof n<"u")return n;c&&(l=l.slice(0,-1*c*2),x=x.slice(0,-1*c),d=d.slice(0,-1*c)),l.push(this.productions_[P[1]][0]),x.push(y.$),d.push(y._$),s=v[l[l.length-2]][l[l.length-1]],l.push(s);break;case 3:return!0}}return!0},"parse")},b=function(){var m={EOF:1,parseError:f.__name(function(o,l){if(this.yy.parser)this.yy.parser.parseError(o,l);else throw new Error(o)},"parseError"),setInput:f.__name(function(r,o){return this.yy=o||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:f.__name(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var o=r.match(/(?:\r\n?|\n).*/g);return o?(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:f.__name(function(r){var o=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var k=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),l.length-1&&(this.yylineno-=l.length-1);var x=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:l?(l.length===k.length?this.yylloc.first_column:0)+k[k.length-l.length].length-l[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[x[0],x[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},"unput"),more:f.__name(function(){return this._more=!0,this},"more"),reject:f.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f.__name(function(r){this.unput(this.match.slice(r))},"less"),pastInput:f.__name(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:f.__name(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:f.__name(function(){var r=this.pastInput(),o=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import { _ as g, p as _t, q as xt, s as vt, g as bt, b as wt, a as St, c as lt, z as Lt, d as H, V as Et, y as At, k as Tt } from "./index-CWI6Ugro.js";
1
+ import { _ as g, p as _t, q as xt, s as vt, g as bt, b as wt, a as St, c as lt, z as Lt, d as H, V as Et, y as At, k as Tt } from "./index-CUKUEzAy.js";
2
2
  import { o as Mt } from "./ordinal-DfAQgscy.js";
3
3
  function Nt(t) {
4
4
  for (var e = t.length / 6 | 0, i = new Array(e), a = 0; a < e; ) i[a] = "#" + t.slice(a * 6, ++a * 6);