@elliemae/pui-cli 8.62.3 → 8.62.4

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 (172) hide show
  1. package/build/docs/404.html +5 -5
  2. package/build/docs/api/functions/loadRoutes/index.html +10 -10
  3. package/build/docs/api/index.html +9 -9
  4. package/build/docs/api/type-aliases/LIB_NAME/index.html +6 -6
  5. package/build/docs/api/variables/babelConfig/index.html +29 -29
  6. package/build/docs/api/variables/commitlintConfig/index.html +9 -9
  7. package/build/docs/api/variables/eslintBaseConfig/index.html +119 -119
  8. package/build/docs/api/variables/eslintConfig/index.html +167 -167
  9. package/build/docs/api/variables/jestConfig/index.html +87 -87
  10. package/build/docs/api/variables/jestNodeConfig/index.html +87 -87
  11. package/build/docs/api/variables/lintStagedConfig/index.html +13 -13
  12. package/build/docs/api/variables/prettierConfig/index.html +19 -19
  13. package/build/docs/api/variables/stylelintConfig/index.html +19 -19
  14. package/build/docs/api/variables/vitestConfig/index.html +6 -6
  15. package/build/docs/assets/css/{styles.c76f0d12.css → styles.5e594f8e.css} +1 -1
  16. package/build/docs/assets/js/04ee7372.6701a521.js +1 -0
  17. package/build/docs/assets/js/1038.7eccbe83.js +1 -0
  18. package/build/docs/assets/js/1200.62fdfb17.js +1 -0
  19. package/build/docs/assets/js/1340.e320589e.js +1 -0
  20. package/build/docs/assets/js/1348.fdba76ee.js +1 -0
  21. package/build/docs/assets/js/1591.b2d5d84b.js +1 -0
  22. package/build/docs/assets/js/{16b7bc88.384bbfa6.js → 16b7bc88.98d0e7e1.js} +1 -1
  23. package/build/docs/assets/js/17896441.4a6e0d00.js +1 -0
  24. package/build/docs/assets/js/1912.edd5c016.js +1 -0
  25. package/build/docs/assets/js/{1b9df811.7c12d74c.js → 1b9df811.cbc3937e.js} +1 -1
  26. package/build/docs/assets/js/213.e69351b3.js +1 -0
  27. package/build/docs/assets/js/2154.9723abaf.js +1 -0
  28. package/build/docs/assets/js/2185.f2209249.js +1 -0
  29. package/build/docs/assets/js/2186.40926696.js +1 -0
  30. package/build/docs/assets/js/2327.22ae5940.js +1 -0
  31. package/build/docs/assets/js/234.83bc0029.js +1 -0
  32. package/build/docs/assets/js/2399.63cd96a9.js +1 -0
  33. package/build/docs/assets/js/2421.0a678e37.js +1 -0
  34. package/build/docs/assets/js/{7048.333735e8.js → 2534.dbf7919d.js} +1 -1
  35. package/build/docs/assets/js/2650.eb69c6a5.js +1 -0
  36. package/build/docs/assets/js/2652.3c5e01f6.js +1 -0
  37. package/build/docs/assets/js/2675.413b1881.js +1 -0
  38. package/build/docs/assets/js/2856.434d8532.js +1 -0
  39. package/build/docs/assets/js/3075.8eb78c50.js +1 -0
  40. package/build/docs/assets/js/3171.c208ec80.js +1 -0
  41. package/build/docs/assets/js/3186.4706e934.js +1 -0
  42. package/build/docs/assets/js/3242.80d2f573.js +1 -0
  43. package/build/docs/assets/js/3380.fa624efa.js +1 -0
  44. package/build/docs/assets/js/3720.8e7f36d4.js +2 -0
  45. package/build/docs/assets/js/3731.3625e619.js +1 -0
  46. package/build/docs/assets/js/3749.25d3a9dc.js +1 -0
  47. package/build/docs/assets/js/3753.ad43bbbf.js +1 -0
  48. package/build/docs/assets/js/{37d86055.a3793e79.js → 37d86055.ac328609.js} +1 -1
  49. package/build/docs/assets/js/386.82e1d440.js +2 -0
  50. package/build/docs/assets/js/386.82e1d440.js.LICENSE.txt +1 -0
  51. package/build/docs/assets/js/3938.381439b7.js +1 -0
  52. package/build/docs/assets/js/3995.9c7a08d7.js +1 -0
  53. package/build/docs/assets/js/4074.2d89387a.js +1 -0
  54. package/build/docs/assets/js/4567.40926696.js +1 -0
  55. package/build/docs/assets/js/4570.22eef064.js +1 -0
  56. package/build/docs/assets/js/4832.f41ebb6a.js +1 -0
  57. package/build/docs/assets/js/4944.20a6ae14.js +1 -0
  58. package/build/docs/assets/js/504.082248a2.js +1 -0
  59. package/build/docs/assets/js/5111.1b6768c7.js +1 -0
  60. package/build/docs/assets/js/5153.ccd7118e.js +1 -0
  61. package/build/docs/assets/js/5463.df303412.js +1 -0
  62. package/build/docs/assets/js/5529.a57e8e4a.js +1 -0
  63. package/build/docs/assets/js/5663.13fc2f9f.js +1 -0
  64. package/build/docs/assets/js/5818.62ee6d97.js +1 -0
  65. package/build/docs/assets/js/5850.e0052526.js +1 -0
  66. package/build/docs/assets/js/5973.50ffe932.js +1 -0
  67. package/build/docs/assets/js/{5d5f1db0.478d1366.js → 5d5f1db0.ee0a2786.js} +1 -1
  68. package/build/docs/assets/js/{5e8c322a.efde0b1b.js → 5e8c322a.03e5f869.js} +1 -1
  69. package/build/docs/assets/js/5e95c892.0b2807a1.js +1 -0
  70. package/build/docs/assets/js/{5fb3c522.a5641583.js → 5fb3c522.7fa934f6.js} +1 -1
  71. package/build/docs/assets/js/6001.475cf9bc.js +1 -0
  72. package/build/docs/assets/js/6216.81ed3f71.js +1 -0
  73. package/build/docs/assets/js/6286.1e2004df.js +1 -0
  74. package/build/docs/assets/js/6737.cba35710.js +1 -0
  75. package/build/docs/assets/js/6779.48fa5e85.js +1 -0
  76. package/build/docs/assets/js/6780.35d6b408.js +1 -0
  77. package/build/docs/assets/js/681.7048216c.js +1 -0
  78. package/build/docs/assets/js/{6bd11e52.8445697f.js → 6bd11e52.4a64999a.js} +1 -1
  79. package/build/docs/assets/js/6e96545e.82b3f634.js +1 -0
  80. package/build/docs/assets/js/7129.6a95a014.js +1 -0
  81. package/build/docs/assets/js/7173.3df1d101.js +1 -0
  82. package/build/docs/assets/js/{71f6d02b.46228c35.js → 71f6d02b.f4ef9e77.js} +1 -1
  83. package/build/docs/assets/js/7330.25c0f54a.js +1 -0
  84. package/build/docs/assets/js/777.6cc435d2.js +1 -0
  85. package/build/docs/assets/js/{80e87108.6b0a340e.js → 80e87108.fb514ef2.js} +1 -1
  86. package/build/docs/assets/js/{1206.d4327b16.js → 8335.7c94cd06.js} +1 -1
  87. package/build/docs/assets/js/8347.ba32afd0.js +1 -0
  88. package/build/docs/assets/js/8398.64ed21da.js +1 -0
  89. package/build/docs/assets/js/8585.38199cd1.js +1 -0
  90. package/build/docs/assets/js/8725.440f4f8c.js +1 -0
  91. package/build/docs/assets/js/918.44c83d98.js +1 -0
  92. package/build/docs/assets/js/9242.e3fb85ca.js +1 -0
  93. package/build/docs/assets/js/940.c104b973.js +1 -0
  94. package/build/docs/assets/js/9661.e5f9a8b1.js +1 -0
  95. package/build/docs/assets/js/9718.706df9d5.js +1 -0
  96. package/build/docs/assets/js/9737.81795237.js +1 -0
  97. package/build/docs/assets/js/9805.40926696.js +1 -0
  98. package/build/docs/assets/js/9998.2236d038.js +1 -0
  99. package/build/docs/assets/js/{a7bd4aaa.bbcaa6ab.js → a7bd4aaa.82b76b67.js} +1 -1
  100. package/build/docs/assets/js/a94703ab.8fd80ed9.js +1 -0
  101. package/build/docs/assets/js/{b8ac1d98.20b7f87c.js → b8ac1d98.eac62e10.js} +1 -1
  102. package/build/docs/assets/js/{bde5209a.7f232bf8.js → bde5209a.1f661437.js} +1 -1
  103. package/build/docs/assets/js/{c377a04b.0965a6f2.js → c377a04b.54071de3.js} +1 -1
  104. package/build/docs/assets/js/common.469f0e39.js +1 -0
  105. package/build/docs/assets/js/{e5f79924.1b7c8fd6.js → e5f79924.3b9434d6.js} +1 -1
  106. package/build/docs/assets/js/{f736c962.9ac135e1.js → f736c962.1745b6ff.js} +1 -1
  107. package/build/docs/assets/js/main.ceaf5a1d.js +2 -0
  108. package/build/docs/assets/js/runtime~main.2ef68500.js +1 -0
  109. package/build/docs/index.html +66 -66
  110. package/build/docs/ssl-certificate-setup/index.html +24 -24
  111. package/build/docs/usage-guide/index.html +85 -85
  112. package/dist/cjs/package.json +1 -4
  113. package/dist/esm/package.json +1 -4
  114. package/dist/types/tsconfig.tsbuildinfo +1 -1
  115. package/package.json +17 -17
  116. package/build/docs/assets/js/04ee7372.b1dcd3d9.js +0 -1
  117. package/build/docs/assets/js/1128.9ff5d096.js +0 -1
  118. package/build/docs/assets/js/1262.d1c4c9bd.js +0 -1
  119. package/build/docs/assets/js/1316.2f619863.js +0 -2
  120. package/build/docs/assets/js/1316.2f619863.js.LICENSE.txt +0 -1
  121. package/build/docs/assets/js/1588.8a61195f.js +0 -1
  122. package/build/docs/assets/js/1783.8b385fce.js +0 -1
  123. package/build/docs/assets/js/17896441.aa99c4b5.js +0 -1
  124. package/build/docs/assets/js/1944.083a40da.js +0 -1
  125. package/build/docs/assets/js/2535.486788ef.js +0 -1
  126. package/build/docs/assets/js/2762.1f225b61.js +0 -1
  127. package/build/docs/assets/js/280.e6b3c363.js +0 -1
  128. package/build/docs/assets/js/2919.a0e90f28.js +0 -1
  129. package/build/docs/assets/js/2948.802fa79d.js +0 -1
  130. package/build/docs/assets/js/32.3e01a330.js +0 -1
  131. package/build/docs/assets/js/3241.57801946.js +0 -1
  132. package/build/docs/assets/js/338.eac1f210.js +0 -1
  133. package/build/docs/assets/js/3455.b04bcf73.js +0 -1
  134. package/build/docs/assets/js/365.7dfc1c9b.js +0 -1
  135. package/build/docs/assets/js/3715.6de9c72e.js +0 -1
  136. package/build/docs/assets/js/3807.315d3647.js +0 -1
  137. package/build/docs/assets/js/3956.6817c831.js +0 -1
  138. package/build/docs/assets/js/4179.8f624946.js +0 -1
  139. package/build/docs/assets/js/4250.1db07eb8.js +0 -1
  140. package/build/docs/assets/js/4273.55f1d480.js +0 -2
  141. package/build/docs/assets/js/4430.ceb8b97f.js +0 -1
  142. package/build/docs/assets/js/4986.88c0e4c4.js +0 -1
  143. package/build/docs/assets/js/5146.9c2d5a70.js +0 -1
  144. package/build/docs/assets/js/5256.9c97e6c5.js +0 -1
  145. package/build/docs/assets/js/5291.b3189179.js +0 -1
  146. package/build/docs/assets/js/5384.c08a8b31.js +0 -1
  147. package/build/docs/assets/js/5e95c892.d57b4057.js +0 -1
  148. package/build/docs/assets/js/61.73463c9d.js +0 -1
  149. package/build/docs/assets/js/6176.08e5ab11.js +0 -1
  150. package/build/docs/assets/js/6668.9ed55615.js +0 -1
  151. package/build/docs/assets/js/6870.af8f1a4f.js +0 -1
  152. package/build/docs/assets/js/6e96545e.237cb417.js +0 -1
  153. package/build/docs/assets/js/7311.638d1073.js +0 -1
  154. package/build/docs/assets/js/7617.0bb56b23.js +0 -1
  155. package/build/docs/assets/js/7803.74307e92.js +0 -1
  156. package/build/docs/assets/js/7897.2559cb99.js +0 -1
  157. package/build/docs/assets/js/7919.7f173626.js +0 -1
  158. package/build/docs/assets/js/8213.30ff6f0f.js +0 -1
  159. package/build/docs/assets/js/9016.ea955f0a.js +0 -1
  160. package/build/docs/assets/js/9018.0e3aeec5.js +0 -1
  161. package/build/docs/assets/js/9199.39e38dc8.js +0 -1
  162. package/build/docs/assets/js/9349.68c3fedb.js +0 -1
  163. package/build/docs/assets/js/9566.974ba8ff.js +0 -1
  164. package/build/docs/assets/js/9799.856d5e67.js +0 -1
  165. package/build/docs/assets/js/9822.c1ad99cd.js +0 -1
  166. package/build/docs/assets/js/9945.d801623d.js +0 -1
  167. package/build/docs/assets/js/a94703ab.e6576f9b.js +0 -1
  168. package/build/docs/assets/js/common.f9eba4a3.js +0 -1
  169. package/build/docs/assets/js/main.548fd04b.js +0 -2
  170. package/build/docs/assets/js/runtime~main.3504f0b1.js +0 -1
  171. /package/build/docs/assets/js/{4273.55f1d480.js.LICENSE.txt → 3720.8e7f36d4.js.LICENSE.txt} +0 -0
  172. /package/build/docs/assets/js/{main.548fd04b.js.LICENSE.txt → main.ceaf5a1d.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_elliemae_pui_cli=globalThis.webpackChunk_elliemae_pui_cli||[]).push([[7617],{7617(t,e,s){s.d(e,{Lh:()=>T,NM:()=>k,_$:()=>A,tM:()=>E});var i=s(3717),n=s(6901),a=s(841),r=s(341),u=s(660),l=s(9934),o=s(7674),c=s(2013),h=s(7012),d=s(2093),p=function(){var t=(0,c.K2)(function(t,e,s,i){for(s=s||{},i=t.length;i--;s[t[i]]=e);return s},"o"),e=[1,18],s=[1,19],i=[1,20],n=[1,41],a=[1,26],r=[1,42],u=[1,24],l=[1,25],o=[1,32],h=[1,33],d=[1,34],p=[1,45],A=[1,35],y=[1,36],g=[1,37],m=[1,38],b=[1,27],C=[1,28],k=[1,29],E=[1,30],f=[1,31],T=[1,44],D=[1,46],F=[1,43],B=[1,47],_=[1,9],S=[1,8,9],$=[1,58],x=[1,59],N=[1,60],L=[1,61],I=[1,62],v=[1,63],O=[1,64],w=[1,8,9,41],R=[1,77],K=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],M=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],P=[13,60,86,100,102,103],G=[13,60,73,74,86,100,102,103],U=[13,60,68,69,70,71,72,86,100,102,103],Y=[1,102],z=[1,120],Q=[1,116],W=[1,112],j=[1,118],X=[1,113],H=[1,114],q=[1,115],J=[1,117],V=[1,119],Z=[22,50,60,61,82,86,87,88,89,90],tt=[1,8,9,39,41,44,46],et=[1,8,9,22],st=[1,150],it=[1,8,9,61],nt=[1,8,9,22,50,60,61,82,86,87,88,89,90],at={trace:(0,c.K2)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:(0,c.K2)(function(t,e,s,i,n,a,r){var u=a.length-1;switch(n){case 8:this.$=a[u-1];break;case 9:case 10:case 13:case 15:this.$=a[u];break;case 11:case 14:this.$=a[u-2]+"."+a[u];break;case 12:case 16:case 106:this.$=a[u-1]+a[u];break;case 17:case 18:this.$=a[u-1]+"~"+a[u]+"~";break;case 19:i.addRelation(a[u]);break;case 20:a[u-1].title=i.cleanupLabel(a[u]),i.addRelation(a[u-1]);break;case 31:this.$=a[u].trim(),i.setAccTitle(this.$);break;case 32:case 33:this.$=a[u].trim(),i.setAccDescription(this.$);break;case 34:i.addClassesToNamespace(a[u-3],a[u-1][0],a[u-1][1]);break;case 35:i.addClassesToNamespace(a[u-4],a[u-1][0],a[u-1][1]);break;case 36:this.$=a[u],i.addNamespace(a[u]);break;case 37:this.$=[[a[u]],[]];break;case 38:this.$=[[a[u-1]],[]];break;case 39:a[u][0].unshift(a[u-2]),this.$=a[u];break;case 40:this.$=[[],[a[u]]];break;case 41:this.$=[[],[a[u-1]]];break;case 42:a[u][1].unshift(a[u-2]),this.$=a[u];break;case 44:i.setCssClass(a[u-2],a[u]);break;case 45:i.addMembers(a[u-3],a[u-1]);break;case 47:i.setCssClass(a[u-5],a[u-3]),i.addMembers(a[u-5],a[u-1]);break;case 48:i.addAnnotation(a[u-3],a[u-1]);break;case 49:i.addAnnotation(a[u-6],a[u-4]),i.addMembers(a[u-6],a[u-1]);break;case 50:i.addAnnotation(a[u-5],a[u-3]);break;case 51:this.$=a[u],i.addClass(a[u]);break;case 52:this.$=a[u-1],i.addClass(a[u-1]),i.setClassLabel(a[u-1],a[u]);break;case 56:i.addAnnotation(a[u],a[u-2]);break;case 57:case 70:case 103:this.$=[a[u]];break;case 58:a[u].push(a[u-1]),this.$=a[u];break;case 59:case 61:case 62:break;case 60:i.addMember(a[u-1],i.cleanupLabel(a[u]));break;case 63:this.$={id1:a[u-2],id2:a[u],relation:a[u-1],relationTitle1:"none",relationTitle2:"none"};break;case 64:this.$={id1:a[u-3],id2:a[u],relation:a[u-1],relationTitle1:a[u-2],relationTitle2:"none"};break;case 65:this.$={id1:a[u-3],id2:a[u],relation:a[u-2],relationTitle1:"none",relationTitle2:a[u-1]};break;case 66:this.$={id1:a[u-4],id2:a[u],relation:a[u-2],relationTitle1:a[u-3],relationTitle2:a[u-1]};break;case 67:this.$=i.addNote(a[u],a[u-1]);break;case 68:this.$=i.addNote(a[u]);break;case 69:this.$=a[u-2],i.defineClass(a[u-1],a[u]);break;case 71:this.$=a[u-2].concat([a[u]]);break;case 72:i.setDirection("TB");break;case 73:i.setDirection("BT");break;case 74:i.setDirection("RL");break;case 75:i.setDirection("LR");break;case 76:this.$={type1:a[u-2],type2:a[u],lineType:a[u-1]};break;case 77:this.$={type1:"none",type2:a[u],lineType:a[u-1]};break;case 78:this.$={type1:a[u-1],type2:"none",lineType:a[u]};break;case 79:this.$={type1:"none",type2:"none",lineType:a[u]};break;case 80:this.$=i.relationType.AGGREGATION;break;case 81:this.$=i.relationType.EXTENSION;break;case 82:this.$=i.relationType.COMPOSITION;break;case 83:this.$=i.relationType.DEPENDENCY;break;case 84:this.$=i.relationType.LOLLIPOP;break;case 85:this.$=i.lineType.LINE;break;case 86:this.$=i.lineType.DOTTED_LINE;break;case 87:case 93:this.$=a[u-2],i.setClickEvent(a[u-1],a[u]);break;case 88:case 94:this.$=a[u-3],i.setClickEvent(a[u-2],a[u-1]),i.setTooltip(a[u-2],a[u]);break;case 89:this.$=a[u-2],i.setLink(a[u-1],a[u]);break;case 90:this.$=a[u-3],i.setLink(a[u-2],a[u-1],a[u]);break;case 91:this.$=a[u-3],i.setLink(a[u-2],a[u-1]),i.setTooltip(a[u-2],a[u]);break;case 92:this.$=a[u-4],i.setLink(a[u-3],a[u-2],a[u]),i.setTooltip(a[u-3],a[u-1]);break;case 95:this.$=a[u-3],i.setClickEvent(a[u-2],a[u-1],a[u]);break;case 96:this.$=a[u-4],i.setClickEvent(a[u-3],a[u-2],a[u-1]),i.setTooltip(a[u-3],a[u]);break;case 97:this.$=a[u-3],i.setLink(a[u-2],a[u]);break;case 98:this.$=a[u-4],i.setLink(a[u-3],a[u-1],a[u]);break;case 99:this.$=a[u-4],i.setLink(a[u-3],a[u-1]),i.setTooltip(a[u-3],a[u]);break;case 100:this.$=a[u-5],i.setLink(a[u-4],a[u-2],a[u]),i.setTooltip(a[u-4],a[u-1]);break;case 101:this.$=a[u-2],i.setCssStyle(a[u-1],a[u]);break;case 102:i.setCssClass(a[u-1],a[u]);break;case 104:a[u-2].push(a[u]),this.$=a[u-2]}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:e,35:s,37:i,38:22,42:n,43:23,46:a,48:r,51:u,52:l,54:o,56:h,57:d,60:p,62:A,63:y,64:g,65:m,75:b,76:C,78:k,82:E,83:f,86:T,100:D,102:F,103:B},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(_,[2,5],{8:[1,48]}),{8:[1,49]},t(S,[2,19],{22:[1,50]}),t(S,[2,21]),t(S,[2,22]),t(S,[2,23]),t(S,[2,24]),t(S,[2,25]),t(S,[2,26]),t(S,[2,27]),t(S,[2,28]),t(S,[2,29]),t(S,[2,30]),{34:[1,51]},{36:[1,52]},t(S,[2,33]),t(S,[2,59],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:$,69:x,70:N,71:L,72:I,73:v,74:O}),{39:[1,65]},t(w,[2,43],{39:[1,67],44:[1,66],46:[1,68]}),t(S,[2,61]),t(S,[2,62]),{16:69,60:p,86:T,100:D,102:F},{16:39,17:40,19:70,60:p,86:T,100:D,102:F,103:B},{16:39,17:40,19:71,60:p,86:T,100:D,102:F,103:B},{16:39,17:40,19:72,60:p,86:T,100:D,102:F,103:B},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:p,86:T,100:D,102:F,103:B},{13:R,55:76},{58:78,60:[1,79]},t(S,[2,72]),t(S,[2,73]),t(S,[2,74]),t(S,[2,75]),t(K,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:p,86:T,100:D,102:F,103:B}),t(K,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:p,86:T,100:D,102:F,103:B},{16:39,17:40,19:87,60:p,86:T,100:D,102:F,103:B},t(M,[2,129]),t(M,[2,130]),t(M,[2,131]),t(M,[2,132]),t([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,133]),t(_,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:e,35:s,37:i,42:n,46:a,48:r,51:u,52:l,54:o,56:h,57:d,60:p,62:A,63:y,64:g,65:m,75:b,76:C,78:k,82:E,83:f,86:T,100:D,102:F,103:B}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:e,35:s,37:i,38:22,42:n,43:23,46:a,48:r,51:u,52:l,54:o,56:h,57:d,60:p,62:A,63:y,64:g,65:m,75:b,76:C,78:k,82:E,83:f,86:T,100:D,102:F,103:B},t(S,[2,20]),t(S,[2,31]),t(S,[2,32]),{13:[1,91],16:39,17:40,19:90,60:p,86:T,100:D,102:F,103:B},{53:92,66:56,67:57,68:$,69:x,70:N,71:L,72:I,73:v,74:O},t(S,[2,60]),{67:93,73:v,74:O},t(P,[2,79],{66:94,68:$,69:x,70:N,71:L,72:I}),t(G,[2,80]),t(G,[2,81]),t(G,[2,82]),t(G,[2,83]),t(G,[2,84]),t(U,[2,85]),t(U,[2,86]),{8:[1,96],24:97,30:98,40:95,43:23,48:r,54:o,56:h},{16:99,60:p,86:T,100:D,102:F},{41:[1,101],45:100,51:Y},{16:103,60:p,86:T,100:D,102:F},{47:[1,104]},{13:[1,105]},{13:[1,106]},{79:[1,107],81:[1,108]},{22:z,50:Q,59:109,60:W,82:j,84:110,85:111,86:X,87:H,88:q,89:J,90:V},{60:[1,121]},{13:R,55:122},t(w,[2,68]),t(w,[2,134]),{22:z,50:Q,59:123,60:W,61:[1,124],82:j,84:110,85:111,86:X,87:H,88:q,89:J,90:V},t(Z,[2,70]),{16:39,17:40,19:125,60:p,86:T,100:D,102:F,103:B},t(K,[2,16]),t(K,[2,17]),t(K,[2,18]),{39:[2,36]},{15:127,16:85,17:86,18:[1,126],39:[2,9],60:p,86:T,100:D,102:F,103:B},{39:[2,10]},t(tt,[2,51],{11:128,12:[1,129]}),t(_,[2,7]),{9:[1,130]},t(et,[2,63]),{16:39,17:40,19:131,60:p,86:T,100:D,102:F,103:B},{13:[1,133],16:39,17:40,19:132,60:p,86:T,100:D,102:F,103:B},t(P,[2,78],{66:134,68:$,69:x,70:N,71:L,72:I}),t(P,[2,77]),{41:[1,135]},{24:97,30:98,40:136,43:23,48:r,54:o,56:h},{8:[1,137],41:[2,37]},{8:[1,138],41:[2,40]},t(w,[2,44],{39:[1,139]}),{41:[1,140]},t(w,[2,46]),{41:[2,57],45:141,51:Y},{47:[1,142]},{16:39,17:40,19:143,60:p,86:T,100:D,102:F,103:B},t(S,[2,87],{13:[1,144]}),t(S,[2,89],{13:[1,146],77:[1,145]}),t(S,[2,93],{13:[1,147],80:[1,148]}),{13:[1,149]},t(S,[2,101],{61:st}),t(it,[2,103],{85:151,22:z,50:Q,60:W,82:j,86:X,87:H,88:q,89:J,90:V}),t(nt,[2,105]),t(nt,[2,107]),t(nt,[2,108]),t(nt,[2,109]),t(nt,[2,110]),t(nt,[2,111]),t(nt,[2,112]),t(nt,[2,113]),t(nt,[2,114]),t(nt,[2,115]),t(S,[2,102]),t(w,[2,67]),t(S,[2,69],{61:st}),{60:[1,152]},t(K,[2,14]),{15:153,16:85,17:86,60:p,86:T,100:D,102:F,103:B},{39:[2,12]},t(tt,[2,52]),{13:[1,154]},{1:[2,4]},t(et,[2,65]),t(et,[2,64]),{16:39,17:40,19:155,60:p,86:T,100:D,102:F,103:B},t(P,[2,76]),t(S,[2,34]),{41:[1,156]},{24:97,30:98,40:157,41:[2,38],43:23,48:r,54:o,56:h},{24:97,30:98,40:158,41:[2,41],43:23,48:r,54:o,56:h},{45:159,51:Y},t(w,[2,45]),{41:[2,58]},t(w,[2,48],{39:[1,160]}),t(S,[2,56]),t(S,[2,88]),t(S,[2,90]),t(S,[2,91],{77:[1,161]}),t(S,[2,94]),t(S,[2,95],{13:[1,162]}),t(S,[2,97],{13:[1,164],77:[1,163]}),{22:z,50:Q,60:W,82:j,84:165,85:111,86:X,87:H,88:q,89:J,90:V},t(nt,[2,106]),t(Z,[2,71]),{39:[2,11]},{14:[1,166]},t(et,[2,66]),t(S,[2,35]),{41:[2,39]},{41:[2,42]},{41:[1,167]},{41:[1,169],45:168,51:Y},t(S,[2,92]),t(S,[2,96]),t(S,[2,98]),t(S,[2,99],{77:[1,170]}),t(it,[2,104],{85:151,22:z,50:Q,60:W,82:j,86:X,87:H,88:q,89:J,90:V}),t(tt,[2,8]),t(w,[2,47]),{41:[1,171]},t(w,[2,50]),t(S,[2,100]),t(w,[2,49])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],84:[2,36],86:[2,10],127:[2,12],130:[2,4],141:[2,58],153:[2,11],157:[2,39],158:[2,42]},parseError:(0,c.K2)(function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)},"parseError"),parse:(0,c.K2)(function(t){var e=this,s=[0],i=[],n=[null],a=[],r=this.table,u="",l=0,o=0,h=0,d=a.slice.call(arguments,1),p=Object.create(this.lexer),A={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(A.yy[y]=this.yy[y]);p.setInput(t,A.yy),A.yy.lexer=p,A.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var g=p.yylloc;a.push(g);var m=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=i.pop()||p.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof A.yy.parseError?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,c.K2)(function(t){s.length=s.length-2*t,n.length=n.length-t,a.length=a.length-t},"popStack"),(0,c.K2)(b,"lex");for(var C,k,E,f,T,D,F,B,_,S={};;){if(E=s[s.length-1],this.defaultActions[E]?f=this.defaultActions[E]:(null==C&&(C=b()),f=r[E]&&r[E][C]),void 0===f||!f.length||!f[0]){var $="";for(D in _=[],r[E])this.terminals_[D]&&D>2&&_.push("'"+this.terminals_[D]+"'");$=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[C]||C)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==C?"end of input":"'"+(this.terminals_[C]||C)+"'"),this.parseError($,{text:p.match,token:this.terminals_[C]||C,line:p.yylineno,loc:g,expected:_})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+C);switch(f[0]){case 1:s.push(C),n.push(p.yytext),a.push(p.yylloc),s.push(f[1]),C=null,k?(C=k,k=null):(o=p.yyleng,u=p.yytext,l=p.yylineno,g=p.yylloc,h>0&&h--);break;case 2:if(F=this.productions_[f[1]][1],S.$=n[n.length-F],S._$={first_line:a[a.length-(F||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(F||1)].first_column,last_column:a[a.length-1].last_column},m&&(S._$.range=[a[a.length-(F||1)].range[0],a[a.length-1].range[1]]),void 0!==(T=this.performAction.apply(S,[u,o,l,A.yy,f[1],n,a].concat(d))))return T;F&&(s=s.slice(0,-1*F*2),n=n.slice(0,-1*F),a=a.slice(0,-1*F)),s.push(this.productions_[f[1]][0]),n.push(S.$),a.push(S._$),B=r[s[s.length-2]][s[s.length-1]],s.push(B);break;case 3:return!0}}return!0},"parse")},rt=function(){return{EOF:1,parseError:(0,c.K2)(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:(0,c.K2)(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,c.K2)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:(0,c.K2)(function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var n=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:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,c.K2)(function(){return this._more=!0,this},"more"),reject:(0,c.K2)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,c.K2)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,c.K2)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,c.K2)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,c.K2)(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,c.K2)(function(t,e){var s,i,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var a in n)this[a]=n[a];return!1}return!1},"test_match"),next:(0,c.K2)(function(){if(this.done)return this.EOF;var t,e,s,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),a=0;a<n.length;a++)if((s=this._input.match(this.rules[n[a]]))&&(!e||s[0].length>e[0].length)){if(e=s,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,n[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,c.K2)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,c.K2)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,c.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,c.K2)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,c.K2)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,c.K2)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,c.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,c.K2)(function(t,e,s,i){switch(s){case 0:return 62;case 1:return 63;case 2:return 64;case 3:return 65;case 4:case 5:case 14:case 31:case 36:case 40:case 47:break;case 6:return this.begin("acc_title"),33;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),35;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 19:case 22:case 24:case 58:case 61:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 35:return 8;case 15:case 16:return 7;case 17:case 37:case 45:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 79;case 23:return 80;case 25:return"STR";case 26:this.begin("string");break;case 27:return 82;case 28:return 57;case 29:return this.begin("namespace"),42;case 30:case 39:return this.popState(),8;case 32:return this.begin("namespace-body"),39;case 33:case 43:return this.popState(),41;case 34:case 44:return"EOF_IN_STRUCT";case 38:return this.begin("class"),48;case 41:return this.popState(),this.popState(),41;case 42:return this.begin("class-body"),39;case 46:return"OPEN_IN_STRUCT";case 48:return"MEMBER";case 49:return 83;case 50:return 75;case 51:return 76;case 52:return 78;case 53:return 54;case 54:return 56;case 55:return 46;case 56:return 47;case 57:return 81;case 59:return"GENERICTYPE";case 60:this.begin("generic");break;case 62:return"BQUOTE_STR";case 63:this.begin("bqstring");break;case 64:case 65:case 66:case 67:return 77;case 68:case 69:return 69;case 70:case 71:return 71;case 72:return 70;case 73:return 68;case 74:return 72;case 75:return 73;case 76:return 74;case 77:return 22;case 78:return 44;case 79:return 100;case 80:return 18;case 81:return"PLUS";case 82:return 87;case 83:return 61;case 84:case 85:return 89;case 86:return 90;case 87:case 88:return"EQUALS";case 89:return 60;case 90:return 12;case 91:return 14;case 92:return"PUNCTUATION";case 93:return 86;case 94:return 102;case 95:case 96:return 50;case 97:return 9}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,33,34,35,36,37,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},namespace:{rules:[26,29,30,31,32,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},"class-body":{rules:[26,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},class:{rules:[26,39,40,41,42,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr:{rules:[9,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_title:{rules:[7,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_args:{rules:[22,23,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_name:{rules:[19,20,21,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},href:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},struct:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},generic:{rules:[26,49,50,51,52,53,54,55,56,57,58,59,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},bqstring:{rules:[26,49,50,51,52,53,54,55,56,57,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},string:{rules:[24,25,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!0}}}}();function ut(){this.yy={}}return at.lexer=rt,(0,c.K2)(ut,"Parser"),ut.prototype=at,at.Parser=ut,new ut}();p.parser=p;var A=p,y=["#","+","~","-",""],g=class{static{(0,c.K2)(this,"ClassMember")}constructor(t,e){this.memberType=e,this.visibility="",this.classifier="",this.text="";const s=(0,o.jZ)(t,(0,o.D7)());this.parseMember(s)}getDisplayDetails(){let t=this.visibility+(0,o.QO)(this.id);"method"===this.memberType&&(t+=`(${(0,o.QO)(this.parameters.trim())})`,this.returnType&&(t+=" : "+(0,o.QO)(this.returnType))),t=t.trim();return{displayText:t,cssStyle:this.parseClassifier()}}parseMember(t){let e="";if("method"===this.memberType){const s=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(t);if(s){const t=s[1]?s[1].trim():"";if(y.includes(t)&&(this.visibility=t),this.id=s[2],this.parameters=s[3]?s[3].trim():"",e=s[4]?s[4].trim():"",this.returnType=s[5]?s[5].trim():"",""===e){const t=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(t)&&(e=t,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{const s=t.length,i=t.substring(0,1),n=t.substring(s-1);y.includes(i)&&(this.visibility=i),/[$*]/.exec(n)&&(e=n),this.id=t.substring(""===this.visibility?0:1,""===e?s:s-1)}this.classifier=e,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();const s=`${this.visibility?"\\"+this.visibility:""}${(0,o.QO)(this.id)}${"method"===this.memberType?`(${(0,o.QO)(this.parameters)})${this.returnType?" : "+(0,o.QO)(this.returnType):""}`:""}`;this.text=s.replaceAll("<","&lt;").replaceAll(">","&gt;"),this.text.startsWith("\\&lt;")&&(this.text=this.text.replace("\\&lt;","~"))}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}},m="classId-",b=0,C=(0,c.K2)(t=>o.Y2.sanitizeText(t,(0,o.D7)()),"sanitizeText"),k=class{constructor(){this.relations=[],this.classes=new Map,this.styleClasses=new Map,this.notes=new Map,this.interfaces=[],this.namespaces=new Map,this.namespaceCounter=0,this.diagramId="",this.functions=[],this.lineType={LINE:0,DOTTED_LINE:1},this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},this.setupToolTips=(0,c.K2)(t=>{const e=(0,n.Ck)();(0,h.Ltv)(t).select("svg").selectAll("g").filter(function(){return null!==(0,h.Ltv)(this).attr("title")}).on("mouseover",t=>{const s=(0,h.Ltv)(t.currentTarget),i=s.attr("title");if(!i)return;const n=t.currentTarget.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.html(d.A.sanitize(i)).style("left",`${window.scrollX+n.left+n.width/2}px`).style("top",`${window.scrollY+n.bottom+4}px`),s.classed("hover",!0)}).on("mouseout",t=>{e.transition().duration(500).style("opacity",0),(0,h.Ltv)(t.currentTarget).classed("hover",!1)})},"setupToolTips"),this.direction="TB",this.setAccTitle=o.SV,this.getAccTitle=o.iN,this.setAccDescription=o.EI,this.getAccDescription=o.m7,this.setDiagramTitle=o.ke,this.getDiagramTitle=o.ab,this.getConfig=(0,c.K2)(()=>(0,o.D7)().class,"getConfig"),this.functions.push(this.setupToolTips.bind(this)),this.clear(),this.addRelation=this.addRelation.bind(this),this.addClassesToNamespace=this.addClassesToNamespace.bind(this),this.addNamespace=this.addNamespace.bind(this),this.setCssClass=this.setCssClass.bind(this),this.addMembers=this.addMembers.bind(this),this.addClass=this.addClass.bind(this),this.setClassLabel=this.setClassLabel.bind(this),this.addAnnotation=this.addAnnotation.bind(this),this.addMember=this.addMember.bind(this),this.cleanupLabel=this.cleanupLabel.bind(this),this.addNote=this.addNote.bind(this),this.defineClass=this.defineClass.bind(this),this.setDirection=this.setDirection.bind(this),this.setLink=this.setLink.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.clear=this.clear.bind(this),this.setTooltip=this.setTooltip.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setCssStyle=this.setCssStyle.bind(this)}static{(0,c.K2)(this,"ClassDB")}splitClassNameAndType(t){const e=o.Y2.sanitizeText(t,(0,o.D7)());let s="",i=e;if(e.indexOf("~")>0){const t=e.split("~");i=C(t[0]),s=C(t[1])}return{className:i,type:s}}setClassLabel(t,e){const s=o.Y2.sanitizeText(t,(0,o.D7)());e&&(e=C(e));const{className:i}=this.splitClassNameAndType(s);this.classes.get(i).label=e,this.classes.get(i).text=`${e}${this.classes.get(i).type?`<${this.classes.get(i).type}>`:""}`}addClass(t){const e=o.Y2.sanitizeText(t,(0,o.D7)()),{className:s,type:i}=this.splitClassNameAndType(e);if(this.classes.has(s))return;const n=o.Y2.sanitizeText(s,(0,o.D7)());this.classes.set(n,{id:n,type:i,label:n,text:`${n}${i?`&lt;${i}&gt;`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:m+n+"-"+b}),b++}addInterface(t,e){const s={id:`interface${this.interfaces.length}`,label:t,classId:e};this.interfaces.push(s)}setDiagramId(t){this.diagramId=t}lookUpDomId(t){const e=o.Y2.sanitizeText(t,(0,o.D7)());if(this.classes.has(e)){const t=this.classes.get(e).domId;return this.diagramId?`${this.diagramId}-${t}`:t}throw new Error("Class not found: "+e)}clear(){this.relations=[],this.classes=new Map,this.notes=new Map,this.interfaces=[],this.functions=[],this.functions.push(this.setupToolTips.bind(this)),this.namespaces=new Map,this.namespaceCounter=0,this.diagramId="",this.direction="TB",(0,o.IU)()}getClass(t){return this.classes.get(t)}getClasses(){return this.classes}getRelations(){return this.relations}getNote(t){const e="number"==typeof t?`note${t}`:t;return this.notes.get(e)}getNotes(){return this.notes}addRelation(t){c.Rm.debug("Adding relation: "+JSON.stringify(t));const e=[this.relationType.LOLLIPOP,this.relationType.AGGREGATION,this.relationType.COMPOSITION,this.relationType.DEPENDENCY,this.relationType.EXTENSION];t.relation.type1!==this.relationType.LOLLIPOP||e.includes(t.relation.type2)?t.relation.type2!==this.relationType.LOLLIPOP||e.includes(t.relation.type1)?(this.addClass(t.id1),this.addClass(t.id2)):(this.addClass(t.id1),this.addInterface(t.id2,t.id1),t.id2="interface"+(this.interfaces.length-1)):(this.addClass(t.id2),this.addInterface(t.id1,t.id2),t.id1="interface"+(this.interfaces.length-1)),t.id1=this.splitClassNameAndType(t.id1).className,t.id2=this.splitClassNameAndType(t.id2).className,t.relationTitle1=o.Y2.sanitizeText(t.relationTitle1.trim(),(0,o.D7)()),t.relationTitle2=o.Y2.sanitizeText(t.relationTitle2.trim(),(0,o.D7)()),this.relations.push(t)}addAnnotation(t,e){const s=this.splitClassNameAndType(t).className;this.classes.get(s).annotations.push(e)}addMember(t,e){this.addClass(t);const s=this.splitClassNameAndType(t).className,i=this.classes.get(s);if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?i.annotations.push(C(t.substring(2,t.length-2))):t.indexOf(")")>0?i.methods.push(new g(t,"method")):t&&i.members.push(new g(t,"attribute"))}}addMembers(t,e){Array.isArray(e)&&(e.reverse(),e.forEach(e=>this.addMember(t,e)))}addNote(t,e){const s=this.notes.size,i={id:`note${s}`,class:e,text:t,index:s};return this.notes.set(i.id,i),i.id}cleanupLabel(t){return t.startsWith(":")&&(t=t.substring(1)),C(t.trim())}setCssClass(t,e){t.split(",").forEach(t=>{let s=t;/\d/.exec(t[0])&&(s=m+s);const i=this.classes.get(s);i&&(i.cssClasses+=" "+e)})}defineClass(t,e){for(const s of t){let t=this.styleClasses.get(s);void 0===t&&(t={id:s,styles:[],textStyles:[]},this.styleClasses.set(s,t)),e&&e.forEach(e=>{if(/color/.exec(e)){const s=e.replace("fill","bgFill");t.textStyles.push(s)}t.styles.push(e)}),this.classes.forEach(t=>{t.cssClasses.includes(s)&&t.styles.push(...e.flatMap(t=>t.split(",")))})}}setTooltip(t,e){t.split(",").forEach(t=>{void 0!==e&&(this.classes.get(t).tooltip=C(e))})}getTooltip(t,e){return e&&this.namespaces.has(e)?this.namespaces.get(e).classes.get(t).tooltip:this.classes.get(t).tooltip}setLink(t,e,s){const i=(0,o.D7)();t.split(",").forEach(t=>{let n=t;/\d/.exec(t[0])&&(n=m+n);const a=this.classes.get(n);a&&(a.link=l._K.formatUrl(e,i),"sandbox"===i.securityLevel?a.linkTarget="_top":a.linkTarget="string"==typeof s?C(s):"_blank")}),this.setCssClass(t,"clickable")}setClickEvent(t,e,s){t.split(",").forEach(t=>{this.setClickFunc(t,e,s),this.classes.get(t).haveCallback=!0}),this.setCssClass(t,"clickable")}setClickFunc(t,e,s){const i=o.Y2.sanitizeText(t,(0,o.D7)());if("loose"!==(0,o.D7)().securityLevel)return;if(void 0===e)return;const n=i;if(this.classes.has(n)){let t=[];if("string"==typeof s){t=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<t.length;e++){let s=t[e].trim();s.startsWith('"')&&s.endsWith('"')&&(s=s.substr(1,s.length-2)),t[e]=s}}0===t.length&&t.push(n),this.functions.push(()=>{const s=this.lookUpDomId(n),i=document.querySelector(`[id="${s}"]`);null!==i&&i.addEventListener("click",()=>{l._K.runFunc(e,...t)},!1)})}}bindFunctions(t){this.functions.forEach(e=>{e(t)})}escapeHtml(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}getDirection(){return this.direction}setDirection(t){this.direction=t}addNamespace(t){this.namespaces.has(t)||(this.namespaces.set(t,{id:t,classes:new Map,notes:new Map,children:new Map,domId:m+t+"-"+this.namespaceCounter}),this.namespaceCounter++)}getNamespace(t){return this.namespaces.get(t)}getNamespaces(){return this.namespaces}addClassesToNamespace(t,e,s){if(this.namespaces.has(t)){for(const s of e){const{className:e}=this.splitClassNameAndType(s),i=this.getClass(e);i.parent=t,this.namespaces.get(t).classes.set(e,i)}for(const e of s){const s=this.getNote(e);s.parent=t,this.namespaces.get(t).notes.set(e,s)}}}setCssStyle(t,e){const s=this.classes.get(t);if(e&&s)for(const i of e)i.includes(",")?s.styles.push(...i.split(",")):s.styles.push(i)}getArrowMarker(t){let e;switch(t){case 0:e="aggregation";break;case 1:e="extension";break;case 2:e="composition";break;case 3:e="dependency";break;case 4:e="lollipop";break;default:e="none"}return e}getData(){const t=[],e=[],s=(0,o.D7)();for(const n of this.namespaces.values()){const e={id:n.id,label:n.id,isGroup:!0,padding:s.class.padding??16,shape:"rect",cssStyles:[],look:s.look};t.push(e)}for(const n of this.classes.values()){const e={...n,type:void 0,isGroup:!1,parentId:n.parent,look:s.look};t.push(e)}for(const n of this.notes.values()){const i={id:n.id,label:n.text,isGroup:!1,shape:"note",padding:s.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${s.themeVariables.noteBkgColor}`,`stroke: ${s.themeVariables.noteBorderColor}`],look:s.look,parentId:n.parent,labelType:"markdown"};t.push(i);const a=this.classes.get(n.class)?.id;if(a){const t={id:`edgeNote${n.index}`,start:n.id,end:a,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:s.look};e.push(t)}}for(const n of this.interfaces){const e={id:n.id,label:n.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:s.look};t.push(e)}let i=0;for(const n of this.relations){i++;const t={id:(0,l.rY)(n.id1,n.id2,{prefix:"id",counter:i}),start:n.id1,end:n.id2,type:"normal",label:n.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:this.getArrowMarker(n.relation.type1),arrowTypeEnd:this.getArrowMarker(n.relation.type2),startLabelRight:"none"===n.relationTitle1?"":n.relationTitle1,endLabelLeft:"none"===n.relationTitle2?"":n.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:n.style||"",pattern:1==n.relation.lineType?"dashed":"solid",look:s.look,labelType:"markdown"};e.push(t)}return{nodes:t,edges:e,other:{},config:s,direction:this.getDirection()}}},E=(0,c.K2)(t=>`g.classGroup text {\n fill: ${t.nodeBorder||t.classText};\n stroke: none;\n font-family: ${t.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span {\n color: ${t.titleColor};\n }\n .cluster-label span p {\n background-color: transparent;\n }\n\n .cluster rect {\n fill: ${t.clusterBkg};\n stroke: ${t.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span {\n color: ${t.titleColor};\n }\n\n.nodeLabel, .edgeLabel {\n color: ${t.classText};\n}\n\n.noteLabel .nodeLabel, .noteLabel .edgeLabel {\n color: ${t.noteTextColor};\n}\n.edgeLabel .label rect {\n fill: ${t.mainBkg};\n}\n.label text {\n fill: ${t.classText};\n}\n\n.labelBkg {\n background: ${t.mainBkg};\n}\n.edgeLabel .label span {\n background: ${t.mainBkg};\n}\n\n.classTitle {\n font-weight: bolder;\n}\n.node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: ${t.strokeWidth};\n }\n\n\n.divider {\n stroke: ${t.nodeBorder};\n stroke-width: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${t.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${t.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${t.lineColor};\n stroke-width: ${t.strokeWidth};\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n.dotted-line{\n stroke-dasharray: 1 2;\n}\n\n[id$="-compositionStart"], .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-compositionEnd"], .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-dependencyStart"], .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-dependencyEnd"], .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-extensionStart"], .extension {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-extensionEnd"], .extension {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-aggregationStart"], .aggregation {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-aggregationEnd"], .aggregation {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-lollipopStart"], .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-lollipopEnd"], .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n line-height: initial;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n\n.edgeLabel[data-look="neo"] {\n background-color: ${t.edgeLabelBackground};\n p {\n background-color: ${t.edgeLabelBackground};\n }\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n}\n ${(0,i.o)()}\n`,"getStyles"),f=(0,c.K2)((t,e="TB")=>{if(!t.doc)return e;let s=e;for(const i of t.doc)"dir"===i.stmt&&(s=i.value);return s},"getDir"),T={getClasses:(0,c.K2)(function(t,e){return e.db.getClasses()},"getClasses"),draw:(0,c.K2)(async function(t,e,s,i){c.Rm.info("REF0:"),c.Rm.info("Drawing class diagram (v3)",e);const{securityLevel:n,state:h,layout:d}=(0,o.D7)();i.db.setDiagramId(e);const p=i.db.getData(),A=(0,a.A)(e,n);p.type=i.type,p.layoutAlgorithm=(0,u.q7)(d),p.nodeSpacing=h?.nodeSpacing||50,p.rankSpacing=h?.rankSpacing||50,p.markers=["aggregation","extension","composition","dependency","lollipop"],p.diagramId=e,await(0,u.XX)(p,A);l._K.insertTitle(A,"classDiagramTitleText",h?.titleTopMargin??25,i.db.getDiagramTitle()),(0,r.P)(A,8,"classDiagram",h?.useMaxWidth??!0)},"draw"),getDir:f}},3717(t,e,s){s.d(e,{o:()=>i});var i=(0,s(2013).K2)(()=>"\n /* Font Awesome icon styling - consolidated */\n .label-icon {\n display: inline-block;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n }\n \n .node .label-icon path {\n fill: currentColor;\n stroke: revert;\n stroke-width: revert;\n }\n","getIconStyles")},6901(t,e,s){s.d(e,{CP:()=>h,Ck:()=>A,HT:()=>p,PB:()=>d,aC:()=>c,lC:()=>l,m:()=>o,tk:()=>u});var i=s(7674),n=s(2013),a=s(4674),r=s(7012),u=(0,n.K2)((t,e)=>{const s=t.append("rect");if(s.attr("x",e.x),s.attr("y",e.y),s.attr("fill",e.fill),s.attr("stroke",e.stroke),s.attr("width",e.width),s.attr("height",e.height),e.name&&s.attr("name",e.name),e.rx&&s.attr("rx",e.rx),e.ry&&s.attr("ry",e.ry),void 0!==e.attrs)for(const i in e.attrs)s.attr(i,e.attrs[i]);return e.class&&s.attr("class",e.class),s},"drawRect"),l=(0,n.K2)((t,e)=>{const s={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};u(t,s).lower()},"drawBackgroundRect"),o=(0,n.K2)((t,e)=>{const s=e.text.replace(i.H1," "),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.attr("class","legend"),n.style("text-anchor",e.anchor),e.class&&n.attr("class",e.class);const a=n.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.text(s),n},"drawText"),c=(0,n.K2)((t,e,s,i)=>{const n=t.append("image");n.attr("x",e),n.attr("y",s);const r=(0,a.J)(i);n.attr("xlink:href",r)},"drawImage"),h=(0,n.K2)((t,e,s,i)=>{const n=t.append("use");n.attr("x",e),n.attr("y",s);const r=(0,a.J)(i);n.attr("xlink:href",`#${r}`)},"drawEmbeddedImage"),d=(0,n.K2)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),p=(0,n.K2)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),A=(0,n.K2)(()=>{let t=(0,r.Ltv)(".mermaidTooltip");return t.empty()&&(t=(0,r.Ltv)("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),t},"createTooltip")}}]);
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_elliemae_pui_cli=globalThis.webpackChunk_elliemae_pui_cli||[]).push([[7803],{7087(t,e,a){function r(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}a.d(e,{S:()=>r}),(0,a(2013).K2)(r,"populateCommonDb")},7803(t,e,a){a.d(e,{diagram:()=>m});var r=a(9558),i=a(7087),o=a(9934),n=a(7674),s=a(2013),l=a(3050),c=n.UI.packet,d=class{constructor(){this.packet=[],this.setAccTitle=n.SV,this.getAccTitle=n.iN,this.setDiagramTitle=n.ke,this.getDiagramTitle=n.ab,this.getAccDescription=n.m7,this.setAccDescription=n.EI}static{(0,s.K2)(this,"PacketDB")}getConfig(){const t=(0,o.$t)({...c,...(0,n.zj)().packet});return t.showBits&&(t.paddingY+=10),t}getPacket(){return this.packet}pushWord(t){t.length>0&&this.packet.push(t)}clear(){(0,n.IU)(),this.packet=[]}},p=(0,s.K2)((t,e)=>{(0,i.S)(t,e);let a=-1,r=[],o=1;const{bitsPerRow:n}=e.getConfig();for(let{start:i,end:l,bits:c,label:d}of t.blocks){if(void 0!==i&&void 0!==l&&l<i)throw new Error(`Packet block ${i} - ${l} is invalid. End must be greater than start.`);if(i??=a+1,i!==a+1)throw new Error(`Packet block ${i} - ${l??i} is not contiguous. It should start from ${a+1}.`);if(0===c)throw new Error(`Packet block ${i} is invalid. Cannot have a zero bit field.`);for(l??=i+(c??1)-1,c??=l-i+1,a=l,s.Rm.debug(`Packet block ${i} - ${a} with label ${d}`);r.length<=n+1&&e.getPacket().length<1e4;){const[t,a]=b({start:i,end:l,bits:c,label:d},o,n);if(r.push(t),t.end+1===o*n&&(e.pushWord(r),r=[],o++),!a)break;({start:i,end:l,bits:c,label:d}=a)}}e.pushWord(r)},"populate"),b=(0,s.K2)((t,e,a)=>{if(void 0===t.start)throw new Error("start should have been set during first phase");if(void 0===t.end)throw new Error("end should have been set during first phase");if(t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);if(t.end+1<=e*a)return[t,void 0];const r=e*a-1,i=e*a;return[{start:t.start,end:r,label:t.label,bits:r-t.start},{start:i,end:t.end,label:t.label,bits:t.end-i}]},"getNextFittingBlock"),h={parser:{yy:void 0},parse:(0,s.K2)(async t=>{const e=await(0,l.qg)("packet",t),a=h.parser?.yy;if(!(a instanceof d))throw new Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");s.Rm.debug(e),p(e,a)},"parse")},k=(0,s.K2)((t,e,a,i)=>{const o=i.db,s=o.getConfig(),{rowHeight:l,paddingY:c,bitWidth:d,bitsPerRow:p}=s,b=o.getPacket(),h=o.getDiagramTitle(),k=l+c,u=k*(b.length+1)-(h?0:l),f=d*p+2,w=(0,r.D)(e);w.attr("viewBox",`0 0 ${f} ${u}`),(0,n.a$)(w,u,f,s.useMaxWidth);for(const[r,n]of b.entries())g(w,n,r,s);w.append("text").text(h).attr("x",f/2).attr("y",u-k/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),g=(0,s.K2)((t,e,a,{rowHeight:r,paddingX:i,paddingY:o,bitWidth:n,bitsPerRow:s,showBits:l})=>{const c=t.append("g"),d=a*(r+o)+o;for(const p of e){const t=p.start%s*n+1,e=(p.end-p.start+1)*n-i;if(c.append("rect").attr("x",t).attr("y",d).attr("width",e).attr("height",r).attr("class","packetBlock"),c.append("text").attr("x",t+e/2).attr("y",d+r/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(p.label),!l)continue;const a=p.end===p.start,o=d-2;c.append("text").attr("x",t+(a?e/2:0)).attr("y",o).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",a?"middle":"start").text(p.start),a||c.append("text").attr("x",t+e).attr("y",o).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(p.end)}},"drawWord"),u={draw:k},f={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},w=(0,s.K2)(({packet:t}={})=>{const e=(0,o.$t)(f,t);return`\n\t.packetByte {\n\t\tfont-size: ${e.byteFontSize};\n\t}\n\t.packetByte.start {\n\t\tfill: ${e.startByteColor};\n\t}\n\t.packetByte.end {\n\t\tfill: ${e.endByteColor};\n\t}\n\t.packetLabel {\n\t\tfill: ${e.labelColor};\n\t\tfont-size: ${e.labelFontSize};\n\t}\n\t.packetTitle {\n\t\tfill: ${e.titleColor};\n\t\tfont-size: ${e.titleFontSize};\n\t}\n\t.packetBlock {\n\t\tstroke: ${e.blockStrokeColor};\n\t\tstroke-width: ${e.blockStrokeWidth};\n\t\tfill: ${e.blockFillColor};\n\t}\n\t`},"styles"),m={parser:h,get db(){return new d},renderer:u,styles:w}}}]);
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_elliemae_pui_cli=globalThis.webpackChunk_elliemae_pui_cli||[]).push([[7897],{7897(e,n,r){r.d(n,{Zp:()=>dr});var t=r(9344),o=r(224),i=0;const u=function(e){var n=++i;return(0,o.A)(e)+n};var a=r(8076),c=r(7664),d=r(3336),f=Math.ceil,s=Math.max;const h=function(e,n,r,t){for(var o=-1,i=s(f((n-e)/(r||1)),0),u=Array(i);i--;)u[t?i:++o]=e,e+=r;return u};var v=r(4894),g=/\s/;const l=function(e){for(var n=e.length;n--&&g.test(e.charAt(n)););return n};var p=/^\s+/;const A=function(e){return e?e.slice(0,l(e)+1).replace(p,""):e};var w=r(115),b=r(7332),m=/^[-+]0x[0-9a-f]+$/i,y=/^0b[01]+$/i,x=/^0o[0-7]+$/i,k=parseInt;const E=function(e){if("number"==typeof e)return e;if((0,b.A)(e))return NaN;if((0,w.A)(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=(0,w.A)(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=A(e);var r=y.test(e);return r||x.test(e)?k(e.slice(2),r?2:8):m.test(e)?NaN:+e};var O=1/0;const N=function(e){return e?(e=E(e))===O||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};const _=function(e){return function(n,r,t){return t&&"number"!=typeof t&&(0,v.A)(n,r,t)&&(r=t=void 0),n=N(n),void 0===r?(r=n,n=0):r=N(r),t=void 0===t?n<r?1:-1:N(t),h(n,r,t,e)}}();var I=r(2399);class P{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,n=e._prev;if(n!==e)return T(n),n}enqueue(e){var n=this._sentinel;e._prev&&e._next&&T(e),e._next=n._next,n._next._prev=e,n._next=e,e._prev=n}toString(){for(var e=[],n=this._sentinel,r=n._prev;r!==n;)e.push(JSON.stringify(r,j)),r=r._prev;return"["+e.join(", ")+"]"}}function T(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function j(e,n){if("_next"!==e&&"_prev"!==e)return n}var R=a.A(1);function M(e,n){if(e.nodeCount()<=1)return[];var r=function(e,n){var r=new I.T,o=0,i=0;t.A(e.nodes(),function(e){r.setNode(e,{v:e,in:0,out:0})}),t.A(e.edges(),function(e){var t=r.edge(e.v,e.w)||0,u=n(e),a=t+u;r.setEdge(e.v,e.w,a),i=Math.max(i,r.node(e.v).out+=u),o=Math.max(o,r.node(e.w).in+=u)});var u=_(i+o+3).map(function(){return new P}),a=o+1;return t.A(r.nodes(),function(e){C(u,a,r.node(e))}),{graph:r,buckets:u,zeroIdx:a}}(e,n||R),o=function(e,n,r){var t,o=[],i=n[n.length-1],u=n[0];for(;e.nodeCount();){for(;t=u.dequeue();)L(e,n,r,t);for(;t=i.dequeue();)L(e,n,r,t);if(e.nodeCount())for(var a=n.length-2;a>0;--a)if(t=n[a].dequeue()){o=o.concat(L(e,n,r,t,!0));break}}return o}(r.graph,r.buckets,r.zeroIdx);return c.A(d.A(o,function(n){return e.outEdges(n.v,n.w)}))}function L(e,n,r,o,i){var u=i?[]:void 0;return t.A(e.inEdges(o.v),function(t){var o=e.edge(t),a=e.node(t.v);i&&u.push({v:t.v,w:t.w}),a.out-=o,C(n,r,a)}),t.A(e.outEdges(o.v),function(t){var o=e.edge(t),i=t.w,u=e.node(i);u.in-=o,C(n,r,u)}),e.removeNode(o.v),u}function C(e,n,r){r.out?r.in?e[r.out-r.in+n].enqueue(r):e[e.length-1].enqueue(r):e[0].enqueue(r)}function S(e){var n="greedy"===e.graph().acyclicer?M(e,function(e){return function(n){return e.edge(n).weight}}(e)):function(e){var n=[],r={},o={};function i(u){Object.prototype.hasOwnProperty.call(o,u)||(o[u]=!0,r[u]=!0,t.A(e.outEdges(u),function(e){Object.prototype.hasOwnProperty.call(r,e.w)?n.push(e):i(e.w)}),delete r[u])}return t.A(e.nodes(),i),n}(e);t.A(n,function(n){var r=e.edge(n);e.removeEdge(n),r.forwardName=n.name,r.reversed=!0,e.setEdge(n.w,n.v,r,u("rev"))})}var F=r(9272),G=r(416),V=r(8533),B=r(1853),q=r(1143),Y=r(3019);const z=function(e,n,r,t){if(!(0,w.A)(e))return e;for(var o=-1,i=(n=(0,B.A)(n,e)).length,u=i-1,a=e;null!=a&&++o<i;){var c=(0,Y.A)(n[o]),d=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=u){var f=a[c];void 0===(d=t?t(f,c,a):void 0)&&(d=(0,w.A)(f)?f:(0,q.A)(n[o+1])?[]:{})}(0,V.A)(a,c,d),a=a[c]}return e};const D=function(e,n,r){for(var t=-1,o=n.length,i={};++t<o;){var u=n[t],a=(0,G.A)(e,u);r(a,u)&&z(i,(0,B.A)(u,e),a)}return i};var $=r(5674);const J=function(e,n){return D(e,n,function(n,r){return(0,$.A)(e,r)})};var Z=r(2373),H=r(4855);const K=function(e){return(0,H.A)((0,Z.A)(e,void 0,c.A),e+"")}(function(e,n){return null==e?{}:J(e,n)});var Q=r(5376),U=r(778),W=r(353),X=Object.prototype,ee=X.hasOwnProperty;const ne=(0,Q.A)(function(e,n){e=Object(e);var r=-1,t=n.length,o=t>2?n[2]:void 0;for(o&&(0,v.A)(n[0],n[1],o)&&(t=1);++r<t;)for(var i=n[r],u=(0,W.A)(i),a=-1,c=u.length;++a<c;){var d=u[a],f=e[d];(void 0===f||(0,U.A)(f,X[d])&&!ee.call(e,d))&&(e[d]=i[d])}return e});var re=r(213);const te=function(e,n){return e>n};var oe=r(2854);const ie=function(e){return e&&e.length?(0,re.A)(e,oe.A,te):void 0};const ue=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0};var ae=r(4738),ce=r(4507),de=r(1836);const fe=function(e,n){var r={};return n=(0,de.A)(n,3),(0,ce.A)(e,function(e,t,o){(0,ae.A)(r,t,n(e,t,o))}),r};var se=r(8430),he=r(8126),ve=Object.prototype.hasOwnProperty;const ge=function(e,n){return null!=e&&ve.call(e,n)};var le=r(5112);const pe=function(e,n){return null!=e&&(0,le.A)(e,n,ge)};var Ae=r(1523);const we=function(){return Ae.A.Date.now()};function be(e,n,r,t){var o;do{o=u(t)}while(e.hasNode(o));return r.dummy=n,e.setNode(o,r),o}function me(e){var n=new I.T({multigraph:e.isMultigraph()}).setGraph(e.graph());return t.A(e.nodes(),function(r){e.children(r).length||n.setNode(r,e.node(r))}),t.A(e.edges(),function(r){n.setEdge(r,e.edge(r))}),n}function ye(e,n){var r,t,o=e.x,i=e.y,u=n.x-o,a=n.y-i,c=e.width/2,d=e.height/2;if(!u&&!a)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(a)*c>Math.abs(u)*d?(a<0&&(d=-d),r=d*u/a,t=d):(u<0&&(c=-c),r=c,t=c*a/u),{x:o+r,y:i+t}}function xe(e){var n=d.A(_(Ee(e)+1),function(){return[]});return t.A(e.nodes(),function(r){var t=e.node(r),o=t.rank;se.A(o)||(n[o][t.order]=r)}),n}function ke(e,n,r,t){var o={width:0,height:0};return arguments.length>=4&&(o.rank=r,o.order=t),be(e,"border",o,n)}function Ee(e){return ie(d.A(e.nodes(),function(n){var r=e.node(n).rank;if(!se.A(r))return r}))}function Oe(e,n){var r=we();try{return n()}finally{console.log(e+" time: "+(we()-r)+"ms")}}function Ne(e,n){return n()}function _e(e,n,r,t,o,i){var u={width:0,height:0,rank:i,borderType:n},a=o[n][i-1],c=be(e,"border",u,r);o[n][i]=c,e.setParent(c,t),a&&e.setEdge(a,c,{weight:1})}function Ie(e){var n=e.graph().rankdir.toLowerCase();"bt"!==n&&"rl"!==n||function(e){t.A(e.nodes(),function(n){je(e.node(n))}),t.A(e.edges(),function(n){var r=e.edge(n);t.A(r.points,je),Object.prototype.hasOwnProperty.call(r,"y")&&je(r)})}(e),"lr"!==n&&"rl"!==n||(!function(e){t.A(e.nodes(),function(n){Re(e.node(n))}),t.A(e.edges(),function(n){var r=e.edge(n);t.A(r.points,Re),Object.prototype.hasOwnProperty.call(r,"x")&&Re(r)})}(e),Pe(e))}function Pe(e){t.A(e.nodes(),function(n){Te(e.node(n))}),t.A(e.edges(),function(n){Te(e.edge(n))})}function Te(e){var n=e.width;e.width=e.height,e.height=n}function je(e){e.y=-e.y}function Re(e){var n=e.x;e.x=e.y,e.y=n}function Me(e){e.graph().dummyChains=[],t.A(e.edges(),function(n){!function(e,n){var r=n.v,t=e.node(r).rank,o=n.w,i=e.node(o).rank,u=n.name,a=e.edge(n),c=a.labelRank;if(i===t+1)return;e.removeEdge(n);var d,f,s=void 0;for(f=0,++t;t<i;++f,++t)a.points=[],d=be(e,"edge",s={width:0,height:0,edgeLabel:a,edgeObj:n,rank:t},"_d"),t===c&&(s.width=a.width,s.height=a.height,s.dummy="edge-label",s.labelpos=a.labelpos),e.setEdge(r,d,{weight:a.weight},u),0===f&&e.graph().dummyChains.push(d),r=d;e.setEdge(r,o,{weight:a.weight},u)}(e,n)})}var Le=r(9882);const Ce=function(e,n){return e&&e.length?(0,re.A)(e,(0,de.A)(n,2),Le.A):void 0};function Se(e){var n={};t.A(e.sources(),function r(t){var o=e.node(t);if(Object.prototype.hasOwnProperty.call(n,t))return o.rank;n[t]=!0;var i=he.A(d.A(e.outEdges(t),function(n){return r(n.w)-e.edge(n).minlen}));return i!==Number.POSITIVE_INFINITY&&null!=i||(i=0),o.rank=i})}function Fe(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}function Ge(e){var n,r,t=new I.T({directed:!1}),o=e.nodes()[0],i=e.nodeCount();for(t.setNode(o,{});Ve(t,e)<i;)n=Be(t,e),r=t.hasNode(n.v)?Fe(e,n):-Fe(e,n),qe(t,e,r);return t}function Ve(e,n){return t.A(e.nodes(),function r(o){t.A(n.nodeEdges(o),function(t){var i=t.v,u=o===i?t.w:i;e.hasNode(u)||Fe(n,t)||(e.setNode(u,{}),e.setEdge(o,u,{}),r(u))})}),e.nodeCount()}function Be(e,n){return Ce(n.edges(),function(r){if(e.hasNode(r.v)!==e.hasNode(r.w))return Fe(n,r)})}function qe(e,n,r){t.A(e.nodes(),function(e){n.node(e).rank+=r})}var Ye=r(2908),ze=r(9080);const De=function(e){return function(n,r,t){var o=Object(n);if(!(0,Ye.A)(n)){var i=(0,de.A)(r,3);n=(0,ze.A)(n),r=function(e){return i(o[e],e,o)}}var u=e(n,r,t);return u>-1?o[i?n[u]:u]:void 0}};var $e=r(8965);const Je=function(e){var n=N(e),r=n%1;return n==n?r?n-r:n:0};var Ze=Math.max;const He=De(function(e,n,r){var t=null==e?0:e.length;if(!t)return-1;var o=null==r?0:Je(r);return o<0&&(o=Ze(t+o,0)),(0,$e.A)(e,(0,de.A)(n,3),o)});var Ke=r(356);a.A(1);a.A(1);r(1929),r(7913),r(4302);var Qe=r(5635);r(620);(0,r(483).A)("length");RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Ue="\\ud800-\\udfff",We="["+Ue+"]",Xe="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",en="\\ud83c[\\udffb-\\udfff]",nn="[^"+Ue+"]",rn="(?:\\ud83c[\\udde6-\\uddff]){2}",tn="[\\ud800-\\udbff][\\udc00-\\udfff]",on="(?:"+Xe+"|"+en+")"+"?",un="[\\ufe0e\\ufe0f]?",an=un+on+("(?:\\u200d(?:"+[nn,rn,tn].join("|")+")"+un+on+")*"),cn="(?:"+[nn+Xe+"?",Xe,rn,tn,We].join("|")+")";RegExp(en+"(?="+en+")|"+cn+an,"g");function dn(){}function fn(e,n,r){Qe.A(n)||(n=[n]);var o=(e.isDirected()?e.successors:e.neighbors).bind(e),i=[],u={};return t.A(n,function(n){if(!e.hasNode(n))throw new Error("Graph does not have node: "+n);sn(e,n,"post"===r,u,o,i)}),i}function sn(e,n,r,o,i,u){Object.prototype.hasOwnProperty.call(o,n)||(o[n]=!0,r||u.push(n),t.A(i(n),function(n){sn(e,n,r,o,i,u)}),r&&u.push(n))}dn.prototype=new Error;r(8235);function hn(e){e=function(e){var n=(new I.T).setGraph(e.graph());return t.A(e.nodes(),function(r){n.setNode(r,e.node(r))}),t.A(e.edges(),function(r){var t=n.edge(r.v,r.w)||{weight:0,minlen:1},o=e.edge(r);n.setEdge(r.v,r.w,{weight:t.weight+o.weight,minlen:Math.max(t.minlen,o.minlen)})}),n}(e),Se(e);var n,r=Ge(e);for(ln(r),vn(r,e);n=An(r);)bn(r,e,n,wn(r,e,n))}function vn(e,n){var r=function(e,n){return fn(e,n,"post")}(e,e.nodes());r=r.slice(0,r.length-1),t.A(r,function(r){!function(e,n,r){var t=e.node(r),o=t.parent;e.edge(r,o).cutvalue=gn(e,n,r)}(e,n,r)})}function gn(e,n,r){var o=e.node(r).parent,i=!0,u=n.edge(r,o),a=0;return u||(i=!1,u=n.edge(o,r)),a=u.weight,t.A(n.nodeEdges(r),function(t){var u,c,d=t.v===r,f=d?t.w:t.v;if(f!==o){var s=d===i,h=n.edge(t).weight;if(a+=s?h:-h,u=r,c=f,e.hasEdge(u,c)){var v=e.edge(r,f).cutvalue;a+=s?-v:v}}}),a}function ln(e,n){arguments.length<2&&(n=e.nodes()[0]),pn(e,{},1,n)}function pn(e,n,r,o,i){var u=r,a=e.node(o);return n[o]=!0,t.A(e.neighbors(o),function(t){Object.prototype.hasOwnProperty.call(n,t)||(r=pn(e,n,r,t,o))}),a.low=u,a.lim=r++,i?a.parent=i:delete a.parent,r}function An(e){return He(e.edges(),function(n){return e.edge(n).cutvalue<0})}function wn(e,n,r){var t=r.v,o=r.w;n.hasEdge(t,o)||(t=r.w,o=r.v);var i=e.node(t),u=e.node(o),a=i,c=!1;i.lim>u.lim&&(a=u,c=!0);var d=Ke.A(n.edges(),function(n){return c===mn(e,e.node(n.v),a)&&c!==mn(e,e.node(n.w),a)});return Ce(d,function(e){return Fe(n,e)})}function bn(e,n,r,o){var i=r.v,u=r.w;e.removeEdge(i,u),e.setEdge(o.v,o.w,{}),ln(e),vn(e,n),function(e,n){var r=He(e.nodes(),function(e){return!n.node(e).parent}),o=function(e,n){return fn(e,n,"pre")}(e,r);o=o.slice(1),t.A(o,function(r){var t=e.node(r).parent,o=n.edge(r,t),i=!1;o||(o=n.edge(t,r),i=!0),n.node(r).rank=n.node(t).rank+(i?o.minlen:-o.minlen)})}(e,n)}function mn(e,n,r){return r.low<=n.lim&&n.lim<=r.lim}function yn(e){switch(e.graph().ranker){case"network-simplex":default:kn(e);break;case"tight-tree":!function(e){Se(e),Ge(e)}(e);break;case"longest-path":xn(e)}}hn.initLowLimValues=ln,hn.initCutValues=vn,hn.calcCutValue=gn,hn.leaveEdge=An,hn.enterEdge=wn,hn.exchangeEdges=bn;var xn=Se;function kn(e){hn(e)}var En=r(7833),On=r(1809);function Nn(e){var n=be(e,"root",{},"_root"),r=function(e){var n={};function r(o,i){var u=e.children(o);u&&u.length&&t.A(u,function(e){r(e,i+1)}),n[o]=i}return t.A(e.children(),function(e){r(e,1)}),n}(e),o=ie(En.A(r))-1,i=2*o+1;e.graph().nestingRoot=n,t.A(e.edges(),function(n){e.edge(n).minlen*=i});var u=function(e){return On.A(e.edges(),function(n,r){return n+e.edge(r).weight},0)}(e)+1;t.A(e.children(),function(t){_n(e,n,i,u,o,r,t)}),e.graph().nodeRankFactor=i}function _n(e,n,r,o,i,u,a){var c=e.children(a);if(c.length){var d=ke(e,"_bt"),f=ke(e,"_bb"),s=e.node(a);e.setParent(d,a),s.borderTop=d,e.setParent(f,a),s.borderBottom=f,t.A(c,function(t){_n(e,n,r,o,i,u,t);var c=e.node(t),s=c.borderTop?c.borderTop:t,h=c.borderBottom?c.borderBottom:t,v=c.borderTop?o:2*o,g=s!==h?1:i-u[a]+1;e.setEdge(d,s,{weight:v,minlen:g,nestingEdge:!0}),e.setEdge(h,f,{weight:v,minlen:g,nestingEdge:!0})}),e.parent(a)||e.setEdge(n,d,{weight:0,minlen:i+u[a]})}else a!==n&&e.setEdge(n,a,{weight:0,minlen:r})}var In=r(7303);const Pn=function(e){return(0,In.A)(e,5)};function Tn(e,n,r){var o=function(e){var n;for(;e.hasNode(n=u("_root")););return n}(e),i=new I.T({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(function(n){return e.node(n)});return t.A(e.nodes(),function(u){var a=e.node(u),c=e.parent(u);(a.rank===n||a.minRank<=n&&n<=a.maxRank)&&(i.setNode(u),i.setParent(u,c||o),t.A(e[r](u),function(n){var r=n.v===u?n.w:n.v,t=i.edge(r,u),o=se.A(t)?0:t.weight;i.setEdge(r,u,{weight:e.edge(n).weight+o})}),Object.prototype.hasOwnProperty.call(a,"minRank")&&i.setNode(u,{borderLeft:a.borderLeft[n],borderRight:a.borderRight[n]}))}),i}const jn=function(e,n,r){for(var t=-1,o=e.length,i=n.length,u={};++t<o;){var a=t<i?n[t]:void 0;r(u,e[t],a)}return u};const Rn=function(e,n){return jn(e||[],n||[],V.A)};var Mn=r(4722),Ln=r(8094),Cn=r(9926);const Sn=function(e,n){var r=e.length;for(e.sort(n);r--;)e[r]=e[r].value;return e};var Fn=r(9339);const Gn=function(e,n){if(e!==n){var r=void 0!==e,t=null===e,o=e==e,i=(0,b.A)(e),u=void 0!==n,a=null===n,c=n==n,d=(0,b.A)(n);if(!a&&!d&&!i&&e>n||i&&u&&c&&!a&&!d||t&&u&&c||!r&&c||!o)return 1;if(!t&&!i&&!d&&e<n||d&&r&&o&&!t&&!i||a&&r&&o||!u&&o||!c)return-1}return 0};const Vn=function(e,n,r){for(var t=-1,o=e.criteria,i=n.criteria,u=o.length,a=r.length;++t<u;){var c=Gn(o[t],i[t]);if(c)return t>=a?c:c*("desc"==r[t]?-1:1)}return e.index-n.index};const Bn=function(e,n,r){n=n.length?(0,Ln.A)(n,function(e){return(0,Qe.A)(e)?function(n){return(0,G.A)(n,1===e.length?e[0]:e)}:e}):[oe.A];var t=-1;n=(0,Ln.A)(n,(0,Fn.A)(de.A));var o=(0,Cn.A)(e,function(e,r,o){return{criteria:(0,Ln.A)(n,function(n){return n(e)}),index:++t,value:e}});return Sn(o,function(e,n){return Vn(e,n,r)})};const qn=(0,Q.A)(function(e,n){if(null==e)return[];var r=n.length;return r>1&&(0,v.A)(e,n[0],n[1])?n=[]:r>2&&(0,v.A)(n[0],n[1],n[2])&&(n=[n[0]]),Bn(e,(0,Mn.A)(n,1),[])});function Yn(e,n){for(var r=0,t=1;t<n.length;++t)r+=zn(e,n[t-1],n[t]);return r}function zn(e,n,r){for(var o=Rn(r,d.A(r,function(e,n){return n})),i=c.A(d.A(n,function(n){return qn(d.A(e.outEdges(n),function(n){return{pos:o[n.w],weight:e.edge(n).weight}}),"pos")})),u=1;u<r.length;)u<<=1;var a=2*u-1;u-=1;var f=d.A(new Array(a),function(){return 0}),s=0;return t.A(i.forEach(function(e){var n=e.pos+u;f[n]+=e.weight;for(var r=0;n>0;)n%2&&(r+=f[n+1]),f[n=n-1>>1]+=e.weight;s+=e.weight*r})),s}function Dn(e,n){var r={};return t.A(e,function(e,n){var t=r[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:n};se.A(e.barycenter)||(t.barycenter=e.barycenter,t.weight=e.weight)}),t.A(n.edges(),function(e){var n=r[e.v],t=r[e.w];se.A(n)||se.A(t)||(t.indegree++,n.out.push(r[e.w]))}),function(e){var n=[];function r(e){return function(n){n.merged||(se.A(n.barycenter)||se.A(e.barycenter)||n.barycenter>=e.barycenter)&&function(e,n){var r=0,t=0;e.weight&&(r+=e.barycenter*e.weight,t+=e.weight);n.weight&&(r+=n.barycenter*n.weight,t+=n.weight);e.vs=n.vs.concat(e.vs),e.barycenter=r/t,e.weight=t,e.i=Math.min(n.i,e.i),n.merged=!0}(e,n)}}function o(n){return function(r){r.in.push(n),0===--r.indegree&&e.push(r)}}for(;e.length;){var i=e.pop();n.push(i),t.A(i.in.reverse(),r(i)),t.A(i.out,o(i))}return d.A(Ke.A(n,function(e){return!e.merged}),function(e){return K(e,["vs","i","barycenter","weight"])})}(Ke.A(r,function(e){return!e.indegree}))}function $n(e,n){var r,o=function(e,n){var r={lhs:[],rhs:[]};return t.A(e,function(e){n(e)?r.lhs.push(e):r.rhs.push(e)}),r}(e,function(e){return Object.prototype.hasOwnProperty.call(e,"barycenter")}),i=o.lhs,u=qn(o.rhs,function(e){return-e.i}),a=[],d=0,f=0,s=0;i.sort((r=!!n,function(e,n){return e.barycenter<n.barycenter?-1:e.barycenter>n.barycenter?1:r?n.i-e.i:e.i-n.i})),s=Jn(a,u,s),t.A(i,function(e){s+=e.vs.length,a.push(e.vs),d+=e.barycenter*e.weight,f+=e.weight,s=Jn(a,u,s)});var h={vs:c.A(a)};return f&&(h.barycenter=d/f,h.weight=f),h}function Jn(e,n,r){for(var t;n.length&&(t=ue(n)).i<=r;)n.pop(),e.push(t.vs),r++;return r}function Zn(e,n,r,o){var i=e.children(n),u=e.node(n),a=u?u.borderLeft:void 0,f=u?u.borderRight:void 0,s={};a&&(i=Ke.A(i,function(e){return e!==a&&e!==f}));var h=function(e,n){return d.A(n,function(n){var r=e.inEdges(n);if(r.length){var t=On.A(r,function(n,r){var t=e.edge(r),o=e.node(r.v);return{sum:n.sum+t.weight*o.order,weight:n.weight+t.weight}},{sum:0,weight:0});return{v:n,barycenter:t.sum/t.weight,weight:t.weight}}return{v:n}})}(e,i);t.A(h,function(n){if(e.children(n.v).length){var t=Zn(e,n.v,r,o);s[n.v]=t,Object.prototype.hasOwnProperty.call(t,"barycenter")&&(i=n,u=t,se.A(i.barycenter)?(i.barycenter=u.barycenter,i.weight=u.weight):(i.barycenter=(i.barycenter*i.weight+u.barycenter*u.weight)/(i.weight+u.weight),i.weight+=u.weight))}var i,u});var v=Dn(h,r);!function(e,n){t.A(e,function(e){e.vs=c.A(e.vs.map(function(e){return n[e]?n[e].vs:e}))})}(v,s);var g=$n(v,o);if(a&&(g.vs=c.A([a,g.vs,f]),e.predecessors(a).length)){var l=e.node(e.predecessors(a)[0]),p=e.node(e.predecessors(f)[0]);Object.prototype.hasOwnProperty.call(g,"barycenter")||(g.barycenter=0,g.weight=0),g.barycenter=(g.barycenter*g.weight+l.order+p.order)/(g.weight+2),g.weight+=2}return g}function Hn(e){var n=Ee(e),r=Kn(e,_(1,n+1),"inEdges"),o=Kn(e,_(n-1,-1,-1),"outEdges"),i=function(e){var n={},r=Ke.A(e.nodes(),function(n){return!e.children(n).length}),o=ie(d.A(r,function(n){return e.node(n).rank})),i=d.A(_(o+1),function(){return[]}),u=qn(r,function(n){return e.node(n).rank});return t.A(u,function r(o){if(!pe(n,o)){n[o]=!0;var u=e.node(o);i[u.rank].push(o),t.A(e.successors(o),r)}}),i}(e);Un(e,i);for(var u,a=Number.POSITIVE_INFINITY,c=0,f=0;f<4;++c,++f){Qn(c%2?r:o,c%4>=2);var s=Yn(e,i=xe(e));s<a&&(f=0,u=Pn(i),a=s)}Un(e,u)}function Kn(e,n,r){return d.A(n,function(n){return Tn(e,n,r)})}function Qn(e,n){var r=new I.T;t.A(e,function(e){var o=e.graph().root,i=Zn(e,o,r,n);t.A(i.vs,function(n,r){e.node(n).order=r}),function(e,n,r){var o,i={};t.A(r,function(r){for(var t,u,a=e.parent(r);a;){if((t=e.parent(a))?(u=i[t],i[t]=a):(u=o,o=a),u&&u!==a)return void n.setEdge(u,a);a=t}})}(e,r,i.vs)})}function Un(e,n){t.A(n,function(n){t.A(n,function(n,r){e.node(n).order=r})})}function Wn(e){var n=function(e){var n={},r=0;function o(i){var u=r;t.A(e.children(i),o),n[i]={low:u,lim:r++}}return t.A(e.children(),o),n}(e);t.A(e.graph().dummyChains,function(r){for(var t=e.node(r),o=t.edgeObj,i=function(e,n,r,t){var o,i,u=[],a=[],c=Math.min(n[r].low,n[t].low),d=Math.max(n[r].lim,n[t].lim);o=r;do{o=e.parent(o),u.push(o)}while(o&&(n[o].low>c||d>n[o].lim));i=o,o=t;for(;(o=e.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(e,n,o.v,o.w),u=i.path,a=i.lca,c=0,d=u[c],f=!0;r!==o.w;){if(t=e.node(r),f){for(;(d=u[c])!==a&&e.node(d).maxRank<t.rank;)c++;d===a&&(f=!1)}if(!f){for(;c<u.length-1&&e.node(d=u[c+1]).minRank<=t.rank;)c++;d=u[c]}e.setParent(r,d),r=e.successors(r)[0]}})}var Xn=r(8280);const er=function(e,n){return e&&(0,ce.A)(e,(0,Xn.A)(n))};var nr=r(8024);const rr=function(e,n){return null==e?e:(0,nr.A)(e,(0,Xn.A)(n),W.A)};function tr(e,n){var r={};return On.A(n,function(n,o){var i=0,u=0,a=n.length,c=ue(o);return t.A(o,function(n,d){var f=function(e,n){if(e.node(n).dummy)return He(e.predecessors(n),function(n){return e.node(n).dummy})}(e,n),s=f?e.node(f).order:a;(f||n===c)&&(t.A(o.slice(u,d+1),function(n){t.A(e.predecessors(n),function(t){var o=e.node(t),u=o.order;!(u<i||s<u)||o.dummy&&e.node(n).dummy||or(r,t,n)})}),u=d+1,i=s)}),o}),r}function or(e,n,r){if(n>r){var t=n;n=r,r=t}Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,configurable:!0,value:{},writable:!0});var o=e[n];Object.defineProperty(o,r,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function ir(e,n,r){if(n>r){var t=n;n=r,r=t}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],r)}function ur(e,n,r,o,i){var u={},a=function(e,n,r,o){var i=new I.T,u=e.graph(),a=function(e,n,r){return function(t,o,i){var u,a=t.node(o),c=t.node(i),d=0;if(d+=a.width/2,Object.prototype.hasOwnProperty.call(a,"labelpos"))switch(a.labelpos.toLowerCase()){case"l":u=-a.width/2;break;case"r":u=a.width/2}if(u&&(d+=r?u:-u),u=0,d+=(a.dummy?n:e)/2,d+=(c.dummy?n:e)/2,d+=c.width/2,Object.prototype.hasOwnProperty.call(c,"labelpos"))switch(c.labelpos.toLowerCase()){case"l":u=c.width/2;break;case"r":u=-c.width/2}return u&&(d+=r?u:-u),u=0,d}}(u.nodesep,u.edgesep,o);return t.A(n,function(n){var o;t.A(n,function(n){var t=r[n];if(i.setNode(t),o){var u=r[o],c=i.edge(u,t);i.setEdge(u,t,Math.max(a(e,n,o),c||0))}o=n})}),i}(e,n,r,i),c=i?"borderLeft":"borderRight";function d(e,n){for(var r=a.nodes(),t=r.pop(),o={};t;)o[t]?e(t):(o[t]=!0,r.push(t),r=r.concat(n(t))),t=r.pop()}return d(function(e){u[e]=a.inEdges(e).reduce(function(e,n){return Math.max(e,u[n.v]+a.edge(n))},0)},a.predecessors.bind(a)),d(function(n){var r=a.outEdges(n).reduce(function(e,n){return Math.min(e,u[n.w]-a.edge(n))},Number.POSITIVE_INFINITY),t=e.node(n);r!==Number.POSITIVE_INFINITY&&t.borderType!==c&&(u[n]=Math.max(u[n],r))},a.successors.bind(a)),t.A(o,function(e){u[e]=u[r[e]]}),u}function ar(e){var n,r=xe(e),o=F.A(tr(e,r),function(e,n){var r={};function o(n,o,i,u,a){var c;t.A(_(o,i),function(o){c=n[o],e.node(c).dummy&&t.A(e.predecessors(c),function(n){var t=e.node(n);t.dummy&&(t.order<u||t.order>a)&&or(r,n,c)})})}return On.A(n,function(n,r){var i,u=-1,a=0;return t.A(r,function(t,c){if("border"===e.node(t).dummy){var d=e.predecessors(t);d.length&&(i=e.node(d[0]).order,o(r,a,c,u,i),a=c,u=i)}o(r,a,r.length,i,n.length)}),r}),r}(e,r)),i={};t.A(["u","d"],function(u){n="u"===u?r:En.A(r).reverse(),t.A(["l","r"],function(r){"r"===r&&(n=d.A(n,function(e){return En.A(e).reverse()}));var a=("u"===u?e.predecessors:e.successors).bind(e),c=function(e,n,r,o){var i={},u={},a={};return t.A(n,function(e){t.A(e,function(e,n){i[e]=e,u[e]=e,a[e]=n})}),t.A(n,function(e){var n=-1;t.A(e,function(e){var t=o(e);if(t.length){t=qn(t,function(e){return a[e]});for(var c=(t.length-1)/2,d=Math.floor(c),f=Math.ceil(c);d<=f;++d){var s=t[d];u[e]===e&&n<a[s]&&!ir(r,e,s)&&(u[s]=e,u[e]=i[e]=i[s],n=a[s])}}})}),{root:i,align:u}}(0,n,o,a),f=ur(e,n,c.root,c.align,"r"===r);"r"===r&&(f=fe(f,function(e){return-e})),i[u+r]=f})});var u=function(e,n){return Ce(En.A(n),function(n){var r=Number.NEGATIVE_INFINITY,t=Number.POSITIVE_INFINITY;return rr(n,function(n,o){var i=function(e,n){return e.node(n).width}(e,o)/2;r=Math.max(n+i,r),t=Math.min(n-i,t)}),r-t})}(e,i);return function(e,n){var r=En.A(n),o=he.A(r),i=ie(r);t.A(["u","d"],function(r){t.A(["l","r"],function(t){var u,a=r+t,c=e[a];if(c!==n){var d=En.A(c);(u="l"===t?o-he.A(d):i-ie(d))&&(e[a]=fe(c,function(e){return e+u}))}})})}(i,u),function(e,n){return fe(e.ul,function(r,t){if(n)return e[n.toLowerCase()][t];var o=qn(d.A(e,t));return(o[1]+o[2])/2})}(i,e.graph().align)}function cr(e){(function(e){var n=xe(e),r=e.graph().ranksep,o=0;t.A(n,function(n){var i=ie(d.A(n,function(n){return e.node(n).height}));t.A(n,function(n){e.node(n).y=o+i/2}),o+=i+r})})(e=me(e)),er(ar(e),function(n,r){e.node(r).x=n})}function dr(e,n){var r=n&&n.debugTiming?Oe:Ne;r("layout",()=>{var n=r(" buildLayoutGraph",()=>function(e){var n=new I.T({multigraph:!0,compound:!0}),r=br(e.graph());return n.setGraph(F.A({},sr,wr(r,fr),K(r,hr))),t.A(e.nodes(),function(r){var t=br(e.node(r));n.setNode(r,ne(wr(t,vr),gr)),n.setParent(r,e.parent(r))}),t.A(e.edges(),function(r){var t=br(e.edge(r));n.setEdge(r,F.A({},pr,wr(t,lr),K(t,Ar)))}),n}(e));r(" runLayout",()=>function(e,n){n(" makeSpaceForEdgeLabels",()=>function(e){var n=e.graph();n.ranksep/=2,t.A(e.edges(),function(r){var t=e.edge(r);t.minlen*=2,"c"!==t.labelpos.toLowerCase()&&("TB"===n.rankdir||"BT"===n.rankdir?t.width+=t.labeloffset:t.height+=t.labeloffset)})}(e)),n(" removeSelfEdges",()=>function(e){t.A(e.edges(),function(n){if(n.v===n.w){var r=e.node(n.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}(e)),n(" acyclic",()=>S(e)),n(" nestingGraph.run",()=>Nn(e)),n(" rank",()=>yn(me(e))),n(" injectEdgeLabelProxies",()=>function(e){t.A(e.edges(),function(n){var r=e.edge(n);if(r.width&&r.height){var t=e.node(n.v),o={rank:(e.node(n.w).rank-t.rank)/2+t.rank,e:n};be(e,"edge-proxy",o,"_ep")}})}(e)),n(" removeEmptyRanks",()=>function(e){var n=he.A(d.A(e.nodes(),function(n){return e.node(n).rank})),r=[];t.A(e.nodes(),function(t){var o=e.node(t).rank-n;r[o]||(r[o]=[]),r[o].push(t)});var o=0,i=e.graph().nodeRankFactor;t.A(r,function(n,r){se.A(n)&&r%i!==0?--o:o&&t.A(n,function(n){e.node(n).rank+=o})})}(e)),n(" nestingGraph.cleanup",()=>function(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,t.A(e.edges(),function(n){e.edge(n).nestingEdge&&e.removeEdge(n)})}(e)),n(" normalizeRanks",()=>function(e){var n=he.A(d.A(e.nodes(),function(n){return e.node(n).rank}));t.A(e.nodes(),function(r){var t=e.node(r);pe(t,"rank")&&(t.rank-=n)})}(e)),n(" assignRankMinMax",()=>function(e){var n=0;t.A(e.nodes(),function(r){var t=e.node(r);t.borderTop&&(t.minRank=e.node(t.borderTop).rank,t.maxRank=e.node(t.borderBottom).rank,n=ie(n,t.maxRank))}),e.graph().maxRank=n}(e)),n(" removeEdgeLabelProxies",()=>function(e){t.A(e.nodes(),function(n){var r=e.node(n);"edge-proxy"===r.dummy&&(e.edge(r.e).labelRank=r.rank,e.removeNode(n))})}(e)),n(" normalize.run",()=>Me(e)),n(" parentDummyChains",()=>Wn(e)),n(" addBorderSegments",()=>function(e){t.A(e.children(),function n(r){var o=e.children(r),i=e.node(r);if(o.length&&t.A(o,n),Object.prototype.hasOwnProperty.call(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var u=i.minRank,a=i.maxRank+1;u<a;++u)_e(e,"borderLeft","_bl",r,i,u),_e(e,"borderRight","_br",r,i,u)}})}(e)),n(" order",()=>Hn(e)),n(" insertSelfEdges",()=>function(e){var n=xe(e);t.A(n,function(n){var r=0;t.A(n,function(n,o){var i=e.node(n);i.order=o+r,t.A(i.selfEdges,function(n){be(e,"selfedge",{width:n.label.width,height:n.label.height,rank:i.rank,order:o+ ++r,e:n.e,label:n.label},"_se")}),delete i.selfEdges})})}(e)),n(" adjustCoordinateSystem",()=>function(e){var n=e.graph().rankdir.toLowerCase();"lr"!==n&&"rl"!==n||Pe(e)}(e)),n(" position",()=>cr(e)),n(" positionSelfEdges",()=>function(e){t.A(e.nodes(),function(n){var r=e.node(n);if("selfedge"===r.dummy){var t=e.node(r.e.v),o=t.x+t.width/2,i=t.y,u=r.x-o,a=t.height/2;e.setEdge(r.e,r.label),e.removeNode(n),r.label.points=[{x:o+2*u/3,y:i-a},{x:o+5*u/6,y:i-a},{x:o+u,y:i},{x:o+5*u/6,y:i+a},{x:o+2*u/3,y:i+a}],r.label.x=r.x,r.label.y=r.y}})}(e)),n(" removeBorderNodes",()=>function(e){t.A(e.nodes(),function(n){if(e.children(n).length){var r=e.node(n),t=e.node(r.borderTop),o=e.node(r.borderBottom),i=e.node(ue(r.borderLeft)),u=e.node(ue(r.borderRight));r.width=Math.abs(u.x-i.x),r.height=Math.abs(o.y-t.y),r.x=i.x+r.width/2,r.y=t.y+r.height/2}}),t.A(e.nodes(),function(n){"border"===e.node(n).dummy&&e.removeNode(n)})}(e)),n(" normalize.undo",()=>function(e){t.A(e.graph().dummyChains,function(n){var r,t=e.node(n),o=t.edgeLabel;for(e.setEdge(t.edgeObj,o);t.dummy;)r=e.successors(n)[0],e.removeNode(n),o.points.push({x:t.x,y:t.y}),"edge-label"===t.dummy&&(o.x=t.x,o.y=t.y,o.width=t.width,o.height=t.height),n=r,t=e.node(n)})}(e)),n(" fixupEdgeLabelCoords",()=>function(e){t.A(e.edges(),function(n){var r=e.edge(n);if(Object.prototype.hasOwnProperty.call(r,"x"))switch("l"!==r.labelpos&&"r"!==r.labelpos||(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset}})}(e)),n(" undoCoordinateSystem",()=>Ie(e)),n(" translateGraph",()=>function(e){var n=Number.POSITIVE_INFINITY,r=0,o=Number.POSITIVE_INFINITY,i=0,u=e.graph(),a=u.marginx||0,c=u.marginy||0;function d(e){var t=e.x,u=e.y,a=e.width,c=e.height;n=Math.min(n,t-a/2),r=Math.max(r,t+a/2),o=Math.min(o,u-c/2),i=Math.max(i,u+c/2)}t.A(e.nodes(),function(n){d(e.node(n))}),t.A(e.edges(),function(n){var r=e.edge(n);Object.prototype.hasOwnProperty.call(r,"x")&&d(r)}),n-=a,o-=c,t.A(e.nodes(),function(r){var t=e.node(r);t.x-=n,t.y-=o}),t.A(e.edges(),function(r){var i=e.edge(r);t.A(i.points,function(e){e.x-=n,e.y-=o}),Object.prototype.hasOwnProperty.call(i,"x")&&(i.x-=n),Object.prototype.hasOwnProperty.call(i,"y")&&(i.y-=o)}),u.width=r-n+a,u.height=i-o+c}(e)),n(" assignNodeIntersects",()=>function(e){t.A(e.edges(),function(n){var r,t,o=e.edge(n),i=e.node(n.v),u=e.node(n.w);o.points?(r=o.points[0],t=o.points[o.points.length-1]):(o.points=[],r=u,t=i),o.points.unshift(ye(i,r)),o.points.push(ye(u,t))})}(e)),n(" reversePoints",()=>function(e){t.A(e.edges(),function(n){var r=e.edge(n);r.reversed&&r.points.reverse()})}(e)),n(" acyclic.undo",()=>function(e){t.A(e.edges(),function(n){var r=e.edge(n);if(r.reversed){e.removeEdge(n);var t=r.forwardName;delete r.reversed,delete r.forwardName,e.setEdge(n.w,n.v,r,t)}})}(e))}(n,r)),r(" updateInputGraph",()=>function(e,n){t.A(e.nodes(),function(r){var t=e.node(r),o=n.node(r);t&&(t.x=o.x,t.y=o.y,n.children(r).length&&(t.width=o.width,t.height=o.height))}),t.A(e.edges(),function(r){var t=e.edge(r),o=n.edge(r);t.points=o.points,Object.prototype.hasOwnProperty.call(o,"x")&&(t.x=o.x,t.y=o.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}(e,n))})}var fr=["nodesep","edgesep","ranksep","marginx","marginy"],sr={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},hr=["acyclicer","ranker","rankdir","align"],vr=["width","height"],gr={width:0,height:0},lr=["minlen","weight","width","height","labeloffset"],pr={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Ar=["labelpos"];function wr(e,n){return fe(K(e,n),Number)}function br(e){var n={};return t.A(e,function(e,r){n[r.toLowerCase()]=e}),n}}}]);