@inkeep/agents-manage-ui 0.35.11 → 0.36.0

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 (323) hide show
  1. package/.next/standalone/agents-manage-ui/.next/BUILD_ID +1 -1
  2. package/.next/standalone/agents-manage-ui/.next/app-path-routes-manifest.json +3 -3
  3. package/.next/standalone/agents-manage-ui/.next/build-manifest.json +3 -3
  4. package/.next/standalone/agents-manage-ui/.next/prerender-manifest.json +3 -3
  5. package/.next/standalone/agents-manage-ui/.next/react-loadable-manifest.json +4 -4
  6. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/page.js +3 -2
  7. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/page.js.nft.json +1 -1
  8. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/page_client-reference-manifest.js +1 -1
  9. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/agents/(with-react-flow-provider)/[agentId]/page.js +1 -1
  10. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/agents/(with-react-flow-provider)/[agentId]/page.js.nft.json +1 -1
  11. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/agents/(with-react-flow-provider)/[agentId]/page_client-reference-manifest.js +1 -1
  12. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/agents/(with-react-flow-provider)/new/page.js +2 -2
  13. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/agents/(with-react-flow-provider)/new/page.js.nft.json +1 -1
  14. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/agents/(with-react-flow-provider)/new/page_client-reference-manifest.js +1 -1
  15. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/agents/page.js +1 -1
  16. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/agents/page.js.nft.json +1 -1
  17. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/agents/page_client-reference-manifest.js +1 -1
  18. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/api-keys/page.js +3 -3
  19. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/api-keys/page.js.nft.json +1 -1
  20. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/api-keys/page_client-reference-manifest.js +1 -1
  21. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifacts/[artifactComponentId]/page.js +2 -2
  22. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifacts/[artifactComponentId]/page.js.nft.json +1 -1
  23. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifacts/[artifactComponentId]/page_client-reference-manifest.js +1 -1
  24. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifacts/new/page.js +2 -2
  25. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifacts/new/page.js.nft.json +1 -1
  26. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifacts/new/page_client-reference-manifest.js +1 -1
  27. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifacts/page.js +2 -2
  28. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifacts/page.js.nft.json +1 -1
  29. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/artifacts/page_client-reference-manifest.js +1 -1
  30. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/components/[dataComponentId]/page.js +2 -2
  31. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/components/[dataComponentId]/page.js.nft.json +1 -1
  32. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/components/[dataComponentId]/page_client-reference-manifest.js +1 -1
  33. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/components/new/page.js +2 -2
  34. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/components/new/page.js.nft.json +1 -1
  35. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/components/new/page_client-reference-manifest.js +1 -1
  36. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/components/page.js +2 -2
  37. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/components/page.js.nft.json +1 -1
  38. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/components/page_client-reference-manifest.js +1 -1
  39. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/[credentialId]/page.js +2 -2
  40. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/[credentialId]/page.js.nft.json +1 -1
  41. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/[credentialId]/page_client-reference-manifest.js +1 -1
  42. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/bearer/page.js +2 -2
  43. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/bearer/page.js.nft.json +1 -1
  44. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/bearer/page_client-reference-manifest.js +1 -1
  45. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/page.js +2 -2
  46. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/page.js.nft.json +1 -1
  47. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/page_client-reference-manifest.js +1 -1
  48. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/providers/[providerId]/page.js +2 -2
  49. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/providers/[providerId]/page.js.nft.json +1 -1
  50. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/providers/[providerId]/page_client-reference-manifest.js +1 -1
  51. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/providers/page.js +2 -2
  52. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/providers/page.js.nft.json +1 -1
  53. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/new/providers/page_client-reference-manifest.js +1 -1
  54. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/page.js +2 -2
  55. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/page.js.nft.json +1 -1
  56. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/credentials/page_client-reference-manifest.js +1 -1
  57. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/external-agents/[externalAgentId]/edit/page.js +2 -2
  58. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/external-agents/[externalAgentId]/edit/page.js.nft.json +1 -1
  59. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/external-agents/[externalAgentId]/edit/page_client-reference-manifest.js +1 -1
  60. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/external-agents/[externalAgentId]/page.js +2 -2
  61. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/external-agents/[externalAgentId]/page.js.nft.json +1 -1
  62. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/external-agents/[externalAgentId]/page_client-reference-manifest.js +1 -1
  63. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/external-agents/new/page.js +2 -2
  64. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/external-agents/new/page.js.nft.json +1 -1
  65. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/external-agents/new/page_client-reference-manifest.js +1 -1
  66. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/external-agents/page.js +2 -2
  67. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/external-agents/page.js.nft.json +1 -1
  68. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/external-agents/page_client-reference-manifest.js +1 -1
  69. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/edit/page.js +2 -2
  70. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/edit/page.js.nft.json +1 -1
  71. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/edit/page_client-reference-manifest.js +1 -1
  72. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/page.js +2 -2
  73. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/page.js.nft.json +1 -1
  74. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/page_client-reference-manifest.js +1 -1
  75. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/new/page.js +2 -2
  76. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/new/page.js.nft.json +1 -1
  77. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/new/page_client-reference-manifest.js +1 -1
  78. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/page.js +1 -1
  79. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/page.js.nft.json +1 -1
  80. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/mcp-servers/page_client-reference-manifest.js +1 -1
  81. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/page.js +2 -2
  82. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/page.js.nft.json +1 -1
  83. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/page_client-reference-manifest.js +1 -1
  84. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/settings/page.js +2 -2
  85. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/settings/page.js.nft.json +1 -1
  86. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/settings/page_client-reference-manifest.js +1 -1
  87. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/ai-calls/page.js +1 -1
  88. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/ai-calls/page.js.nft.json +1 -1
  89. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/ai-calls/page_client-reference-manifest.js +1 -1
  90. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/conversations/[conversationId]/page.js +3 -3
  91. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/conversations/[conversationId]/page.js.nft.json +1 -1
  92. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/conversations/[conversationId]/page_client-reference-manifest.js +1 -1
  93. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/page.js +3 -3
  94. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/page.js.nft.json +1 -1
  95. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/[projectId]/traces/page_client-reference-manifest.js +1 -1
  96. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/page.js +1 -1
  97. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/page.js.nft.json +1 -1
  98. package/.next/standalone/agents-manage-ui/.next/server/app/[tenantId]/projects/page_client-reference-manifest.js +1 -1
  99. package/.next/standalone/agents-manage-ui/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  100. package/.next/standalone/agents-manage-ui/.next/server/app/_global-error.html +2 -2
  101. package/.next/standalone/agents-manage-ui/.next/server/app/_global-error.rsc +2 -2
  102. package/.next/standalone/agents-manage-ui/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
  103. package/.next/standalone/agents-manage-ui/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  104. package/.next/standalone/agents-manage-ui/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  105. package/.next/standalone/agents-manage-ui/.next/server/app/_global-error.segments/_index.segment.rsc +2 -2
  106. package/.next/standalone/agents-manage-ui/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  107. package/.next/standalone/agents-manage-ui/.next/server/app/_not-found/page.js +2 -2
  108. package/.next/standalone/agents-manage-ui/.next/server/app/_not-found/page.js.nft.json +1 -1
  109. package/.next/standalone/agents-manage-ui/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  110. package/.next/standalone/agents-manage-ui/.next/server/app/_not-found.html +1 -1
  111. package/.next/standalone/agents-manage-ui/.next/server/app/_not-found.rsc +8 -8
  112. package/.next/standalone/agents-manage-ui/.next/server/app/_not-found.segments/_full.segment.rsc +8 -8
  113. package/.next/standalone/agents-manage-ui/.next/server/app/_not-found.segments/_index.segment.rsc +8 -8
  114. package/.next/standalone/agents-manage-ui/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  115. package/.next/standalone/agents-manage-ui/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  116. package/.next/standalone/agents-manage-ui/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  117. package/.next/standalone/agents-manage-ui/.next/server/app/accept-invitation/[invitationId]/page.js +1 -1
  118. package/.next/standalone/agents-manage-ui/.next/server/app/accept-invitation/[invitationId]/page.js.nft.json +1 -1
  119. package/.next/standalone/agents-manage-ui/.next/server/app/accept-invitation/[invitationId]/page_client-reference-manifest.js +1 -1
  120. package/.next/standalone/agents-manage-ui/.next/server/app/api/data-components/[dataComponentId]/generate-render/route.js +1 -1
  121. package/.next/standalone/agents-manage-ui/.next/server/app/api/data-components/[dataComponentId]/generate-render/route_client-reference-manifest.js +1 -1
  122. package/.next/standalone/agents-manage-ui/.next/server/app/api/signoz/conversations/[conversationId]/route_client-reference-manifest.js +1 -1
  123. package/.next/standalone/agents-manage-ui/.next/server/app/api/signoz/route_client-reference-manifest.js +1 -1
  124. package/.next/standalone/agents-manage-ui/.next/server/app/index.html +1 -1
  125. package/.next/standalone/agents-manage-ui/.next/server/app/index.rsc +9 -9
  126. package/.next/standalone/agents-manage-ui/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  127. package/.next/standalone/agents-manage-ui/.next/server/app/index.segments/_full.segment.rsc +9 -9
  128. package/.next/standalone/agents-manage-ui/.next/server/app/index.segments/_index.segment.rsc +8 -8
  129. package/.next/standalone/agents-manage-ui/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  130. package/.next/standalone/agents-manage-ui/.next/server/app/login/page.js +1 -1
  131. package/.next/standalone/agents-manage-ui/.next/server/app/login/page.js.nft.json +1 -1
  132. package/.next/standalone/agents-manage-ui/.next/server/app/login/page_client-reference-manifest.js +1 -1
  133. package/.next/standalone/agents-manage-ui/.next/server/app/login.html +1 -1
  134. package/.next/standalone/agents-manage-ui/.next/server/app/login.rsc +8 -8
  135. package/.next/standalone/agents-manage-ui/.next/server/app/login.segments/_full.segment.rsc +8 -8
  136. package/.next/standalone/agents-manage-ui/.next/server/app/login.segments/_index.segment.rsc +8 -8
  137. package/.next/standalone/agents-manage-ui/.next/server/app/login.segments/_tree.segment.rsc +1 -1
  138. package/.next/standalone/agents-manage-ui/.next/server/app/login.segments/login/__PAGE__.segment.rsc +1 -1
  139. package/.next/standalone/agents-manage-ui/.next/server/app/login.segments/login.segment.rsc +1 -1
  140. package/.next/standalone/agents-manage-ui/.next/server/app/no-organization/page.js +1 -1
  141. package/.next/standalone/agents-manage-ui/.next/server/app/no-organization/page.js.nft.json +1 -1
  142. package/.next/standalone/agents-manage-ui/.next/server/app/no-organization/page_client-reference-manifest.js +1 -1
  143. package/.next/standalone/agents-manage-ui/.next/server/app/no-organization.html +1 -1
  144. package/.next/standalone/agents-manage-ui/.next/server/app/no-organization.rsc +8 -8
  145. package/.next/standalone/agents-manage-ui/.next/server/app/no-organization.segments/_full.segment.rsc +8 -8
  146. package/.next/standalone/agents-manage-ui/.next/server/app/no-organization.segments/_index.segment.rsc +8 -8
  147. package/.next/standalone/agents-manage-ui/.next/server/app/no-organization.segments/_tree.segment.rsc +1 -1
  148. package/.next/standalone/agents-manage-ui/.next/server/app/no-organization.segments/no-organization/__PAGE__.segment.rsc +1 -1
  149. package/.next/standalone/agents-manage-ui/.next/server/app/no-organization.segments/no-organization.segment.rsc +1 -1
  150. package/.next/standalone/agents-manage-ui/.next/server/app/page.js +2 -2
  151. package/.next/standalone/agents-manage-ui/.next/server/app/page.js.nft.json +1 -1
  152. package/.next/standalone/agents-manage-ui/.next/server/app/page_client-reference-manifest.js +1 -1
  153. package/.next/standalone/agents-manage-ui/.next/server/app-paths-manifest.json +3 -3
  154. package/.next/standalone/agents-manage-ui/.next/server/chunks/1062.js +1 -0
  155. package/.next/standalone/agents-manage-ui/.next/server/chunks/1310.js +1 -1
  156. package/.next/standalone/agents-manage-ui/.next/server/chunks/1668.js +49 -0
  157. package/.next/standalone/agents-manage-ui/.next/server/chunks/1769.js +2 -2
  158. package/.next/standalone/agents-manage-ui/.next/server/chunks/2175.js +12 -12
  159. package/.next/standalone/agents-manage-ui/.next/server/chunks/{9265.js → 2511.js} +1 -1
  160. package/.next/standalone/agents-manage-ui/.next/server/chunks/2536.js +3 -3
  161. package/.next/standalone/agents-manage-ui/.next/server/chunks/324.js +2 -0
  162. package/.next/standalone/agents-manage-ui/.next/server/chunks/354.js +1 -0
  163. package/.next/standalone/agents-manage-ui/.next/server/chunks/3867.js +1 -0
  164. package/.next/standalone/agents-manage-ui/.next/server/chunks/4700.js +1 -0
  165. package/.next/standalone/agents-manage-ui/.next/server/chunks/5386.js +1 -0
  166. package/.next/standalone/agents-manage-ui/.next/server/chunks/6146.js +1 -0
  167. package/.next/standalone/agents-manage-ui/.next/server/chunks/6868.js +1 -0
  168. package/.next/standalone/agents-manage-ui/.next/server/chunks/{1822.js → 7080.js} +1 -1
  169. package/.next/standalone/agents-manage-ui/.next/server/chunks/7155.js +1 -1
  170. package/.next/standalone/agents-manage-ui/.next/server/chunks/8251.js +1 -0
  171. package/.next/standalone/agents-manage-ui/.next/server/chunks/8764.js +1 -1
  172. package/.next/standalone/agents-manage-ui/.next/server/chunks/9736.js +1 -0
  173. package/.next/standalone/agents-manage-ui/.next/server/chunks/9783.js +12 -2
  174. package/.next/standalone/agents-manage-ui/.next/server/middleware-build-manifest.js +1 -1
  175. package/.next/standalone/agents-manage-ui/.next/server/middleware-react-loadable-manifest.js +1 -1
  176. package/.next/standalone/agents-manage-ui/.next/server/pages/404.html +1 -1
  177. package/.next/standalone/agents-manage-ui/.next/server/pages/500.html +2 -2
  178. package/.next/standalone/agents-manage-ui/.next/server/server-reference-manifest.js +1 -1
  179. package/.next/standalone/agents-manage-ui/.next/server/server-reference-manifest.json +1 -1
  180. package/.next/standalone/agents-manage-ui/.next/static/chunks/{10597-dc29b292247c40e4.js → 10597-95d93c679e9f648f.js} +1 -1
  181. package/.next/standalone/agents-manage-ui/.next/static/chunks/{87813-0bd6cb6daf1c6a37.js → 14587-1bf50c136a0d88ef.js} +1 -1
  182. package/.next/standalone/agents-manage-ui/.next/static/chunks/14737-899ef40d29f3e84c.js +1 -0
  183. package/.next/standalone/agents-manage-ui/.next/static/chunks/227-7d37f1a2db8ebad8.js +1 -0
  184. package/.next/standalone/agents-manage-ui/.next/static/chunks/{17693-7e9ce92e37c68e8b.js → 30052-70313a0ff94c1276.js} +1 -1
  185. package/.next/standalone/agents-manage-ui/.next/static/chunks/{36c0bed7-e0e789a76b520ec5.js → 36c0bed7-2c2b02163e330804.js} +1 -1
  186. package/.next/standalone/agents-manage-ui/.next/static/chunks/44679-b905a4582114eb72.js +1 -0
  187. package/.next/standalone/agents-manage-ui/.next/static/chunks/46206-c162984a73ea485b.js +1 -0
  188. package/.next/standalone/agents-manage-ui/.next/static/chunks/4850-3eaed1a3ecbd2f21.js +1 -0
  189. package/.next/standalone/agents-manage-ui/.next/static/chunks/52887-f5b5cc0c4df6f5e6.js +10 -0
  190. package/.next/standalone/agents-manage-ui/.next/static/chunks/{11300-c5b81df8174e55c5.js → 5663-f88114d599b7d4cb.js} +20 -20
  191. package/.next/standalone/agents-manage-ui/.next/static/chunks/5936-a7e7cab33bdbf19a.js +5 -0
  192. package/.next/standalone/agents-manage-ui/.next/static/chunks/60776-9c745d501eae1377.js +1 -0
  193. package/.next/standalone/agents-manage-ui/.next/static/chunks/{52768.2459d98063ef0f87.js → 63617.71562598df81967e.js} +7 -7
  194. package/.next/standalone/agents-manage-ui/.next/static/chunks/64124-4c9f8091571c83c2.js +1 -0
  195. package/.next/standalone/agents-manage-ui/.next/static/chunks/65164-dae2bcc231c940a9.js +2 -0
  196. package/.next/standalone/agents-manage-ui/.next/static/chunks/{68408-460ce5f17af60fe0.js → 68408-9584fe994310fce3.js} +1 -1
  197. package/.next/standalone/agents-manage-ui/.next/static/chunks/70402-d9862b993d1db66f.js +1 -0
  198. package/.next/standalone/agents-manage-ui/.next/static/chunks/76583-482491634172579c.js +1 -0
  199. package/.next/standalone/agents-manage-ui/.next/static/chunks/81025-5e692bcaa370ff1c.js +1 -0
  200. package/.next/standalone/agents-manage-ui/.next/static/chunks/89277-8d8cbfc6f548aaf1.js +1 -0
  201. package/.next/standalone/agents-manage-ui/.next/static/chunks/92070-e9d768d8a9ce4cc6.js +11 -0
  202. package/.next/standalone/agents-manage-ui/.next/static/chunks/93034-e7950caf2300a837.js +1 -0
  203. package/.next/standalone/agents-manage-ui/.next/static/chunks/93392-da5901420f77d7bb.js +5 -0
  204. package/.next/standalone/agents-manage-ui/.next/static/chunks/98253-a03ec0bd3ea90313.js +1 -0
  205. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/layout-099035b2a8cd14a8.js +1 -0
  206. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/agents/(with-react-flow-provider)/[agentId]/page-810dffb38778fcb7.js +1 -0
  207. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/agents/(with-react-flow-provider)/layout-112b972cb13f304c.js +1 -0
  208. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/agents/(with-react-flow-provider)/{loading-dc13b3f7340a45eb.js → loading-7ede5d6fce4243fd.js} +1 -1
  209. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/agents/(with-react-flow-provider)/new/page-fa0197b60a5cda58.js +1 -0
  210. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/agents/{loading-04939f1c7087e9cc.js → loading-9fecb09f8d922fae.js} +1 -1
  211. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/agents/page-335a5a12d99da6de.js +1 -0
  212. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/api-keys/{page-61d30513b8c44f2f.js → page-12c30ed45525beef.js} +1 -1
  213. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/artifacts/[artifactComponentId]/page-6d59c1d56dfcd328.js +1 -0
  214. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/artifacts/{loading-04939f1c7087e9cc.js → loading-9fecb09f8d922fae.js} +1 -1
  215. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/artifacts/new/{page-2b41e7870e91d02e.js → page-1cca8489123bd8bc.js} +1 -1
  216. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/artifacts/page-92c34acbcee600cb.js +1 -0
  217. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/components/[dataComponentId]/page-f941957691eda78f.js +14 -0
  218. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/components/{loading-04939f1c7087e9cc.js → loading-9fecb09f8d922fae.js} +1 -1
  219. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/components/new/page-e8c7192b7478147c.js +14 -0
  220. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/components/page-88024adaf12e5b2e.js +1 -0
  221. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/[credentialId]/page-f198e2d71746da9b.js +1 -0
  222. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/new/bearer/page-d60edf1d4634a1c6.js +1 -0
  223. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/new/{page-04939f1c7087e9cc.js → page-9fecb09f8d922fae.js} +1 -1
  224. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/new/providers/[providerId]/page-dcf3fe9c2cac49d0.js +1 -0
  225. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/new/providers/{page-6b8f0c94acc3e10b.js → page-d0834f920151b5da.js} +1 -1
  226. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/page-bbf631ba8cc3d2ff.js +1 -0
  227. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/external-agents/[externalAgentId]/edit/page-61cba71cac1da474.js +1 -0
  228. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/external-agents/[externalAgentId]/page-0a6f34a9c15576fe.js +1 -0
  229. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/external-agents/new/page-f2a452698e3151b4.js +1 -0
  230. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/external-agents/page-425512aba672bee0.js +1 -0
  231. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/layout-93b00010913723d2.js +1 -0
  232. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/edit/{page-84b9143d2f73a693.js → page-8d7362aae2557897.js} +1 -1
  233. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/page-e06a1844939cfc8f.js +1 -0
  234. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/mcp-servers/new/{layout-dc13b3f7340a45eb.js → layout-7ede5d6fce4243fd.js} +1 -1
  235. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/mcp-servers/new/page-0cd41ce43559c0e2.js +1 -0
  236. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/mcp-servers/page-ccd5b7663afd1606.js +1 -0
  237. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/page-4993a4e203fe88de.js +1 -0
  238. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/settings/{page-d6f3abf9f791053a.js → page-b1c829913cec62b5.js} +1 -1
  239. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/traces/ai-calls/page-44ba8a02255d0165.js +1 -0
  240. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/traces/conversations/[conversationId]/{page-c1677b73f46d6170.js → page-22adf75ffa696049.js} +2 -2
  241. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/traces/{page-b787f0fb06f22e70.js → page-bd015fd240145f2d.js} +2 -2
  242. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/error-47040e887cd84a29.js +1 -0
  243. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/loading-9fecb09f8d922fae.js +1 -0
  244. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/page-4c077f793f875fa4.js +1 -0
  245. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/layout-ed5b25b39ef4e496.js +1 -0
  246. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/not-found-bdecab46fd54ed86.js +1 -0
  247. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/page-cf1145e38a0eb30e.js +1 -0
  248. package/.next/standalone/agents-manage-ui/.next/static/chunks/{webpack-86ed61d4112b4097.js → webpack-dbde7da1862913dc.js} +1 -1
  249. package/.next/standalone/agents-manage-ui/package.json +1 -1
  250. package/.next/standalone/packages/agents-core/package.json +1 -1
  251. package/package.json +4 -4
  252. package/src/app/[tenantId]/projects/[projectId]/agents/(with-react-flow-provider)/layout.tsx +5 -8
  253. package/src/components/layout/body-template.tsx +5 -2
  254. package/src/components/layout/site-header.tsx +7 -12
  255. package/src/components/projects/new-project-dialog.tsx +3 -0
  256. package/src/components/sidebar-nav/app-sidebar-provider.tsx +21 -6
  257. package/src/components/sidebar-nav/app-sidebar.tsx +14 -1
  258. package/src/components/sidebar-nav/project-switcher.tsx +8 -2
  259. package/src/features/agent/state/use-agent-store.ts +37 -10
  260. package/.next/standalone/agents-manage-ui/.next/server/chunks/1498.js +0 -1
  261. package/.next/standalone/agents-manage-ui/.next/server/chunks/2002.js +0 -1
  262. package/.next/standalone/agents-manage-ui/.next/server/chunks/2191.js +0 -1
  263. package/.next/standalone/agents-manage-ui/.next/server/chunks/4575.js +0 -1
  264. package/.next/standalone/agents-manage-ui/.next/server/chunks/4975.js +0 -1
  265. package/.next/standalone/agents-manage-ui/.next/server/chunks/5291.js +0 -2
  266. package/.next/standalone/agents-manage-ui/.next/server/chunks/554.js +0 -1
  267. package/.next/standalone/agents-manage-ui/.next/server/chunks/6200.js +0 -1
  268. package/.next/standalone/agents-manage-ui/.next/server/chunks/6448.js +0 -47
  269. package/.next/standalone/agents-manage-ui/.next/server/chunks/6769.js +0 -1
  270. package/.next/standalone/agents-manage-ui/.next/server/chunks/8012.js +0 -11
  271. package/.next/standalone/agents-manage-ui/.next/server/chunks/8146.js +0 -3
  272. package/.next/standalone/agents-manage-ui/.next/static/chunks/1017-5c47372e0e10d87b.js +0 -1
  273. package/.next/standalone/agents-manage-ui/.next/static/chunks/11717-505b7b50eadfdabf.js +0 -5
  274. package/.next/standalone/agents-manage-ui/.next/static/chunks/20568-caaa0a1461b11eed.js +0 -5
  275. package/.next/standalone/agents-manage-ui/.next/static/chunks/23147-a22c6aebc0404811.js +0 -1
  276. package/.next/standalone/agents-manage-ui/.next/static/chunks/27689-0b2b1513171fa6e5.js +0 -1
  277. package/.next/standalone/agents-manage-ui/.next/static/chunks/33929-fcfba412c567ac0d.js +0 -1
  278. package/.next/standalone/agents-manage-ui/.next/static/chunks/38582-7874f0f8bf1b4d32.js +0 -1
  279. package/.next/standalone/agents-manage-ui/.next/static/chunks/41823-a04070eb9834dea6.js +0 -2
  280. package/.next/standalone/agents-manage-ui/.next/static/chunks/47000-ce1951f6ddf14812.js +0 -1
  281. package/.next/standalone/agents-manage-ui/.next/static/chunks/47873-2fa5638bc7dd9a65.js +0 -1
  282. package/.next/standalone/agents-manage-ui/.next/static/chunks/48994-0fc71c488eed4142.js +0 -1
  283. package/.next/standalone/agents-manage-ui/.next/static/chunks/55908-58a60939941ea47e.js +0 -1
  284. package/.next/standalone/agents-manage-ui/.next/static/chunks/7374-a372729a1ebd2734.js +0 -1
  285. package/.next/standalone/agents-manage-ui/.next/static/chunks/80134-5dccf0717167783e.js +0 -1
  286. package/.next/standalone/agents-manage-ui/.next/static/chunks/8053-f2308fd5c93accc4.js +0 -1
  287. package/.next/standalone/agents-manage-ui/.next/static/chunks/91914-f41627cbe3e65758.js +0 -14
  288. package/.next/standalone/agents-manage-ui/.next/static/chunks/95509-c628cfbf1b2c500b.js +0 -10
  289. package/.next/standalone/agents-manage-ui/.next/static/chunks/97382-5302d42918f17d92.js +0 -11
  290. package/.next/standalone/agents-manage-ui/.next/static/chunks/99087-bc97425ad3256aa4.js +0 -1
  291. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/layout-c050489c930f2522.js +0 -1
  292. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/agents/(with-react-flow-provider)/[agentId]/page-2cc19825791af058.js +0 -1
  293. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/agents/(with-react-flow-provider)/layout-91ec9eccc58b5263.js +0 -1
  294. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/agents/(with-react-flow-provider)/new/page-fd1afbe1963d93d6.js +0 -1
  295. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/agents/page-8769ca8ff68d207e.js +0 -1
  296. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/artifacts/[artifactComponentId]/page-2eac8e87d8896e6d.js +0 -1
  297. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/artifacts/page-88d98281004d1b73.js +0 -1
  298. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/components/[dataComponentId]/page-fcd81e9450c6ccc6.js +0 -1
  299. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/components/new/page-21f1602e3e6c3073.js +0 -1
  300. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/components/page-200123410bbdf1be.js +0 -1
  301. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/[credentialId]/page-049ee3cb096a015c.js +0 -1
  302. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/new/bearer/page-47d8233cf7212239.js +0 -1
  303. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/new/providers/[providerId]/page-ff09ad6fba2eb5d0.js +0 -1
  304. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/credentials/page-6dd80be2d4bbde7f.js +0 -1
  305. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/external-agents/[externalAgentId]/edit/page-050ae5ef29eff668.js +0 -1
  306. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/external-agents/[externalAgentId]/page-56e172e54c1fea76.js +0 -1
  307. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/external-agents/new/page-4f5f91973cd6765a.js +0 -1
  308. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/external-agents/page-0b9781f15b45a381.js +0 -1
  309. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/layout-4754906d3182e0dc.js +0 -1
  310. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/mcp-servers/[mcpServerId]/page-7fb8661553d5727e.js +0 -1
  311. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/mcp-servers/new/page-0f3de2b2df9de88f.js +0 -1
  312. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/mcp-servers/page-f5f29f2fae775ec0.js +0 -1
  313. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/page-53af1524335a7298.js +0 -1
  314. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/[projectId]/traces/ai-calls/page-4e9aeb8cf0193caa.js +0 -1
  315. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/error-3b6f37d0bfa218fd.js +0 -1
  316. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/loading-04939f1c7087e9cc.js +0 -1
  317. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/[tenantId]/projects/page-5eedc91ab5ca0563.js +0 -1
  318. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/layout-1d1a7f58bca82d9d.js +0 -1
  319. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/not-found-b1d87ac030c3d883.js +0 -1
  320. package/.next/standalone/agents-manage-ui/.next/static/chunks/app/page-67ec6e2013f0a809.js +0 -1
  321. package/src/components/layout/site-content.tsx +0 -7
  322. /package/.next/standalone/agents-manage-ui/.next/static/{TUQvttMhZyKoRQdEOC_7F → IGrIa5MYkP1kap-X8s46l}/_buildManifest.js +0 -0
  323. /package/.next/standalone/agents-manage-ui/.next/static/{TUQvttMhZyKoRQdEOC_7F → IGrIa5MYkP1kap-X8s46l}/_ssgManifest.js +0 -0
@@ -1,17 +1,17 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[52768],{1124:(t,e,r)=>{"use strict";e.J=void 0;var i=r(57773);function a(t){try{return decodeURIComponent(t)}catch(e){return t}}e.J=function(t){if(!t)return i.BLANK_URL;var e,r=a(t.trim());do e=(r=a(r=r.replace(i.ctrlCharactersRegex,"").replace(i.htmlEntitiesRegex,function(t,e){return String.fromCharCode(e)}).replace(i.htmlCtrlEntityRegex,"").replace(i.ctrlCharactersRegex,"").replace(i.whitespaceEscapeCharsRegex,"").trim())).match(i.ctrlCharactersRegex)||r.match(i.htmlEntitiesRegex)||r.match(i.htmlCtrlEntityRegex)||r.match(i.whitespaceEscapeCharsRegex);while(e&&e.length>0);var o=r;if(!o)return i.BLANK_URL;if(i.relativeFirstCharacters.indexOf(o[0])>-1)return o;var n=o.trimStart(),s=n.match(i.urlSchemeRegex);if(!s)return o;var l=s[0].toLowerCase().trim();if(i.invalidProtocolRegex.test(l))return i.BLANK_URL;var h=n.replace(/\\/g,"/");if("mailto:"===l||l.includes("://"))return h;if("http:"===l||"https:"===l){if(!URL.canParse(h))return i.BLANK_URL;var c=new URL(h);return c.protocol=c.protocol.toLowerCase(),c.hostname=c.hostname.toLowerCase(),c.toString()}return h}},1617:(t,e,r)=>{"use strict";r.d(e,{D:()=>n});var i=r(77109),a=r(69830),o=r(10791),n=(0,a.K2)(t=>{let{securityLevel:e}=(0,i.D7)(),r=(0,o.Ltv)("body");if("sandbox"===e){let e=(0,o.Ltv)(`#i${t}`),i=e.node()?.contentDocument??document;r=(0,o.Ltv)(i.body)}return r.select(`#${t}`)},"selectSvgElement")},2005:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},2724:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i="object"==typeof global&&global&&global.Object===Object&&global},4202:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){return function(e){return t(e)}}},4317:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var i=r(62330),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof module&&module&&!module.nodeType&&module,n=o&&o.exports===a?i.A.Buffer:void 0,s=n?n.allocUnsafe:void 0;let l=function(t,e){if(e)return t.slice();var r=t.length,i=s?s(r):new t.constructor(r);return t.copy(i),i}},4348:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(23918),a=r(62330);let o=(0,i.A)(a.A,"Map")},5653:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){return null!=t&&"object"==typeof t}},6458:(t,e,r)=>{"use strict";r.d(e,{A:()=>O});var i=r(93393),a=r(52483),o=r(16755);let n=function(t,e,r){(void 0===r||(0,o.A)(t[e],r))&&(void 0!==r||e in t)||(0,a.A)(t,e,r)};var s=r(58574),l=r(4317),h=r(15474),c=r(50564),d=r(9860),u=r(47312),p=r(63114),f=r(87306),g=r(93780),m=r(30965),y=r(94090),b=r(79898),C=r(62019),x=r(5653),k=Object.prototype,_=Function.prototype.toString,v=k.hasOwnProperty,T=_.call(Object);let A=function(t){if(!(0,x.A)(t)||"[object Object]"!=(0,b.A)(t))return!1;var e=(0,C.A)(t);if(null===e)return!0;var r=v.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&_.call(r)==T};var S=r(89071);let w=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var B=r(21152),F=r(51214);let L=function(t,e,r,i,a,o,s){var b=w(t,r),C=w(e,r),x=s.get(C);if(x)return void n(t,r,x);var k=o?o(b,C,r+"",t,e,s):void 0,_=void 0===k;if(_){var v=(0,p.A)(C),T=!v&&(0,g.A)(C),L=!v&&!T&&(0,S.A)(C);(k=C,v||T||L)?(0,p.A)(b)?k=b:(0,f.A)(b)?k=(0,c.A)(b):T?(_=!1,k=(0,l.A)(C,!0)):L?(_=!1,k=(0,h.A)(C,!0)):k=[]:A(C)||(0,u.A)(C)?(k=b,(0,u.A)(b))?k=(0,B.A)(b,(0,F.A)(b)):(!(0,y.A)(b)||(0,m.A)(b))&&(k=(0,d.A)(C)):_=!1}_&&(s.set(C,k),a(k,C,i,o,s),s.delete(C)),n(t,r,k)},M=function t(e,r,a,o,l){e!==r&&(0,s.A)(r,function(s,h){if(l||(l=new i.A),(0,y.A)(s))L(e,r,h,a,t,o,l);else{var c=o?o(w(e,h),s,h+"",e,r,l):void 0;void 0===c&&(c=s),n(e,h,c)}},F.A)},O=(0,r(53964).A)(function(t,e,r){M(t,e,r)})},7483:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var i=(0,r(23918).A)(Object,"create"),a=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function n(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}n.prototype.clear=function(){this.__data__=i?i(null):{},this.size=0},n.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e},n.prototype.get=function(t){var e=this.__data__;if(i){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return a.call(e,t)?e[t]:void 0},n.prototype.has=function(t){var e=this.__data__;return i?void 0!==e[t]:o.call(e,t)},n.prototype.set=function(t,e){var r=this.__data__;return this.size+=+!this.has(t),r[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this};var s=r(27851),l=r(4348);let h=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t},c=function(t,e){var r=t.__data__;return h(e)?r["string"==typeof e?"string":"hash"]:r.map};function d(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}d.prototype.clear=function(){this.size=0,this.__data__={hash:new n,map:new(l.A||s.A),string:new n}},d.prototype.delete=function(t){var e=c(this,t).delete(t);return this.size-=!!e,e},d.prototype.get=function(t){return c(this,t).get(t)},d.prototype.has=function(t){return c(this,t).has(t)},d.prototype.set=function(t,e){var r=c(this,t),i=r.size;return r.set(t,e),this.size+=+(r.size!=i),this};let u=d},9860:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var i=r(94090),a=Object.create,o=function(){function t(){}return function(e){if(!(0,i.A)(e))return{};if(a)return a(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),n=r(62019),s=r(62260);let l=function(t){return"function"!=typeof t.constructor||(0,s.A)(t)?{}:o((0,n.A)(t))}},10697:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});let i={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t,hsl2rgb:({h:t,s:e,l:r},a)=>{if(!e)return 2.55*r;t/=360,e/=100;let o=(r/=100)<.5?r*(1+e):r+e-r*e,n=2*r-o;switch(a){case"r":return 255*i.hue2rgb(n,o,t+1/3);case"g":return 255*i.hue2rgb(n,o,t);case"b":return 255*i.hue2rgb(n,o,t-1/3)}},rgb2hsl:({r:t,g:e,b:r},i)=>{let a=Math.max(t/=255,e/=255,r/=255),o=Math.min(t,e,r),n=(a+o)/2;if("l"===i)return 100*n;if(a===o)return 0;let s=a-o;if("s"===i)return 100*(n>.5?s/(2-a-o):s/(a+o));switch(a){case t:return((e-r)/s+6*(e<r))*60;case e:return((r-t)/s+2)*60;case r:return((t-e)/s+4)*60;default:return -1}}},a={channel:i,lang:{clamp:(t,e,r)=>e>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},10791:(t,e,r)=>{"use strict";r.d(e,{JLW:()=>ts,l78:()=>d,tlR:()=>c,qrM:()=>tg.Ay,Yu4:()=>tp.A,IA3:()=>tf.A,Wi0:()=>tm.dJ,PGM:()=>tm.kl,OEq:()=>tb,y8u:()=>t_,olC:()=>tT,IrU:()=>tS,oDi:()=>tF,Q7f:()=>tM,cVp:()=>tE,lUB:()=>tI.A,Lx9:()=>tK.A,nVG:()=>tD.G,uxU:()=>tD.N,Xf2:()=>tz.A,GZz:()=>tq.Ay,UPb:()=>tq.Ps,dyv:()=>tq.Ko,GPZ:()=>m.GP,Sk5:()=>b,bEH:()=>G,n8j:()=>tl.A,T9B:()=>i.A,jkA:()=>a.A,rLf:()=>tu,WH:()=>V.WH,m4Y:()=>V.m4,UMr:()=>V.UM,w7C:()=>V.w7,zt:()=>X,Ltv:()=>Z.A,UAC:()=>tj.UA,DCK:()=>tU.DC,TUC:()=>tN.TU,Agd:()=>tW.Ag,t6C:()=>tR.y,wXd:()=>t$.wX,ABi:()=>tN.AB,Ui6:()=>tH.Ui,rGn:()=>tN.rG,ucG:()=>tP.R,YPH:()=>tN.YP,Mol:()=>tN.Mo,PGu:()=>tN.PG,GuW:()=>tN.Gu,hkb:()=>B});var i=r(39236),a=r(27094);function o(t){return t}function n(t){return"translate("+t+",0)"}function s(t){return"translate(0,"+t+")"}function l(){return!this.__axis}function h(t,e){var r=[],i=null,a=null,h=6,c=6,d=3,u="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,p=1===t||4===t?-1:1,f=4===t||2===t?"x":"y",g=1===t||3===t?n:s;function m(n){var s=null==i?e.ticks?e.ticks.apply(e,r):e.domain():i,m=null==a?e.tickFormat?e.tickFormat.apply(e,r):o:a,y=Math.max(h,0)+d,b=e.range(),C=+b[0]+u,x=+b[b.length-1]+u,k=(e.bandwidth?function(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}:function(t){return e=>+t(e)})(e.copy(),u),_=n.selection?n.selection():n,v=_.selectAll(".domain").data([null]),T=_.selectAll(".tick").data(s,e).order(),A=T.exit(),S=T.enter().append("g").attr("class","tick"),w=T.select("line"),B=T.select("text");v=v.merge(v.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),T=T.merge(S),w=w.merge(S.append("line").attr("stroke","currentColor").attr(f+"2",p*h)),B=B.merge(S.append("text").attr("fill","currentColor").attr(f,p*y).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),n!==_&&(v=v.transition(n),T=T.transition(n),w=w.transition(n),B=B.transition(n),A=A.transition(n).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=k(t))?g(t+u):this.getAttribute("transform")}),S.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:k(t))+u)})),A.remove(),v.attr("d",4===t||2===t?c?"M"+p*c+","+C+"H"+u+"V"+x+"H"+p*c:"M"+u+","+C+"V"+x:c?"M"+C+","+p*c+"V"+u+"H"+x+"V"+p*c:"M"+C+","+u+"H"+x),T.attr("opacity",1).attr("transform",function(t){return g(k(t)+u)}),w.attr(f+"2",p*h),B.attr(f,p*y).text(m),_.filter(l).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),_.each(function(){this.__axis=k})}return m.scale=function(t){return arguments.length?(e=t,m):e},m.ticks=function(){return r=Array.from(arguments),m},m.tickArguments=function(t){return arguments.length?(r=null==t?[]:Array.from(t),m):r.slice()},m.tickValues=function(t){return arguments.length?(i=null==t?null:Array.from(t),m):i&&i.slice()},m.tickFormat=function(t){return arguments.length?(a=t,m):a},m.tickSize=function(t){return arguments.length?(h=c=+t,m):h},m.tickSizeInner=function(t){return arguments.length?(h=+t,m):h},m.tickSizeOuter=function(t){return arguments.length?(c=+t,m):c},m.tickPadding=function(t){return arguments.length?(d=+t,m):d},m.offset=function(t){return arguments.length?(u=+t,m):u},m}function c(t){return h(1,t)}function d(t){return h(3,t)}r(73242);let{abs:u,max:p,min:f}=Math;function g(t){return{type:t}}["w","e"].map(g),["n","s"].map(g),["n","w","e","s","nw","ne","sw","se"].map(g);var m=r(42085);function y(t){var e=0,r=t.children,i=r&&r.length;if(i)for(;--i>=0;)e+=r[i].value;else e=1;t.value=e}function b(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=x)):void 0===e&&(e=C);for(var r,i,a,o,n,s=new v(t),l=[s];r=l.pop();)if((a=e(r.data))&&(n=(a=Array.from(a)).length))for(r.children=a,o=n-1;o>=0;--o)l.push(i=a[o]=new v(a[o])),i.parent=r,i.depth=r.depth+1;return s.eachBefore(_)}function C(t){return t.children}function x(t){return Array.isArray(t)?t[1]:null}function k(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function _(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function v(t){this.data=t,this.depth=this.height=0,this.parent=null}function T(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}v.prototype=b.prototype={constructor:v,count:function(){return this.eachAfter(y)},each:function(t,e){let r=-1;for(let i of this)t.call(e,i,++r,this);return this},eachAfter:function(t,e){for(var r,i,a,o=this,n=[o],s=[],l=-1;o=n.pop();)if(s.push(o),r=o.children)for(i=0,a=r.length;i<a;++i)n.push(r[i]);for(;o=s.pop();)t.call(e,o,++l,this);return this},eachBefore:function(t,e){for(var r,i,a=this,o=[a],n=-1;a=o.pop();)if(t.call(e,a,++n,this),r=a.children)for(i=r.length-1;i>=0;--i)o.push(r[i]);return this},find:function(t,e){let r=-1;for(let i of this)if(t.call(e,i,++r,this))return i},sum:function(t){return this.eachAfter(function(e){for(var r=+t(e.data)||0,i=e.children,a=i&&i.length;--a>=0;)r+=i[a].value;e.value=r})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,r=function(t,e){if(t===e)return t;var r=t.ancestors(),i=e.ancestors(),a=null;for(t=r.pop(),e=i.pop();t===e;)a=t,t=r.pop(),e=i.pop();return a}(e,t),i=[e];e!==r;)i.push(e=e.parent);for(var a=i.length;t!==r;)i.splice(a,0,t),t=t.parent;return i},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(r){r!==t&&e.push({source:r.parent,target:r})}),e},copy:function(){return b(this).eachBefore(k)},[Symbol.iterator]:function*(){var t,e,r,i,a=this,o=[a];do for(t=o.reverse(),o=[];a=t.pop();)if(yield a,e=a.children)for(r=0,i=e.length;r<i;++r)o.push(e[r]);while(o.length)}};let A=function t(e){function r(t,r,i,a,o){!function(t,e,r,i,a,o){for(var n,s,l,h,c,d,u,p,f,g,m,y=[],b=e.children,C=0,x=0,k=b.length,_=e.value;C<k;){l=a-r,h=o-i;do c=b[x++].value;while(!c&&x<k);for(d=u=c,f=Math.max(u/(m=c*c*(g=Math.max(h/l,l/h)/(_*t))),m/d);x<k;++x){if(c+=s=b[x].value,s<d&&(d=s),s>u&&(u=s),(p=Math.max(u/(m=c*c*g),m/d))>f){c-=s;break}f=p}y.push(n={value:c,dice:l<h,children:b.slice(C,x)}),n.dice?function(t,e,r,i,a){for(var o,n=t.children,s=-1,l=n.length,h=t.value&&(i-e)/t.value;++s<l;)(o=n[s]).y0=r,o.y1=a,o.x0=e,o.x1=e+=o.value*h}(n,r,i,a,_?i+=h*c/_:o):function(t,e,r,i,a){for(var o,n=t.children,s=-1,l=n.length,h=t.value&&(a-r)/t.value;++s<l;)(o=n[s]).x0=e,o.x1=i,o.y0=r,o.y1=r+=o.value*h}(n,r,i,_?r+=l*c/_:a,o),_-=c,C=x}}(e,t,r,i,a,o)}return r.ratio=function(e){return t((e*=1)>1?e:1)},r}((1+Math.sqrt(5))/2);function S(){return 0}function w(t){return function(){return t}}function B(){var t=A,e=!1,r=1,i=1,a=[0],o=S,n=S,s=S,l=S,h=S;function c(t){return t.x0=t.y0=0,t.x1=r,t.y1=i,t.eachBefore(d),a=[0],e&&t.eachBefore(T),t}function d(e){var r=a[e.depth],i=e.x0+r,c=e.y0+r,d=e.x1-r,u=e.y1-r;d<i&&(i=d=(i+d)/2),u<c&&(c=u=(c+u)/2),e.x0=i,e.y0=c,e.x1=d,e.y1=u,e.children&&(r=a[e.depth+1]=o(e)/2,i+=h(e)-r,c+=n(e)-r,d-=s(e)-r,u-=l(e)-r,d<i&&(i=d=(i+d)/2),u<c&&(c=u=(c+u)/2),t(e,i,c,d,u))}return c.round=function(t){return arguments.length?(e=!!t,c):e},c.size=function(t){return arguments.length?(r=+t[0],i=+t[1],c):[r,i]},c.tile=function(e){return arguments.length?(t=function(t){if("function"!=typeof t)throw Error();return t}(e),c):t},c.padding=function(t){return arguments.length?c.paddingInner(t).paddingOuter(t):c.paddingInner()},c.paddingInner=function(t){return arguments.length?(o="function"==typeof t?t:w(+t),c):o},c.paddingOuter=function(t){return arguments.length?c.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):c.paddingTop()},c.paddingTop=function(t){return arguments.length?(n="function"==typeof t?t:w(+t),c):n},c.paddingRight=function(t){return arguments.length?(s="function"==typeof t?t:w(+t),c):s},c.paddingBottom=function(t){return arguments.length?(l="function"==typeof t?t:w(+t),c):l},c.paddingLeft=function(t){return arguments.length?(h="function"==typeof t?t:w(+t),c):h},c}var F=r(13110),L=r(92676);let M=Math.PI/180,O=180/Math.PI,E=4/29,K=6/29,I=6/29*3*(6/29),D=6/29*(6/29)*(6/29);function z(t){if(t instanceof q)return new q(t.l,t.a,t.b,t.opacity);if(t instanceof N)return H(t);t instanceof L.Gw||(t=(0,L.b)(t));var e,r,i=W(t.r),a=W(t.g),o=W(t.b),n=R((.2225045*i+.7168786*a+.0606169*o)/1);return i===a&&a===o?e=r=n:(e=R((.4360747*i+.3850649*a+.1430804*o)/.96422),r=R((.0139322*i+.0971045*a+.7141733*o)/.82521)),new q(116*n-16,500*(e-n),200*(n-r),t.opacity)}function q(t,e,r,i){this.l=+t,this.a=+e,this.b=+r,this.opacity=+i}function R(t){return t>D?Math.pow(t,1/3):t/I+E}function P(t){return t>K?t*t*t:I*(t-E)}function $(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function W(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function j(t,e,r,i){return 1==arguments.length?function(t){if(t instanceof N)return new N(t.h,t.c,t.l,t.opacity);if(t instanceof q||(t=z(t)),0===t.a&&0===t.b)return new N(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*O;return new N(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new N(t,e,r,null==i?1:i)}function N(t,e,r,i){this.h=+t,this.c=+e,this.l=+r,this.opacity=+i}function H(t){if(isNaN(t.h))return new q(t.l,0,0,t.opacity);var e=t.h*M;return new q(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}(0,F.A)(q,function(t,e,r,i){return 1==arguments.length?z(t):new q(t,e,r,null==i?1:i)},(0,F.X)(L.Q1,{brighter(t){return new q(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new q(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,r=isNaN(this.b)?t:t-this.b/200;return e=.96422*P(e),t=+P(t),r=.82521*P(r),new L.Gw($(3.1338561*e-1.6168667*t-.4906146*r),$(-.9787684*e+1.9161415*t+.033454*r),$(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}})),(0,F.A)(N,j,(0,F.X)(L.Q1,{brighter(t){return new N(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new N(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return H(this).rgb()}}));var U=r(26676);function Y(t){return function(e,r){var i=t((e=j(e)).h,(r=j(r)).h),a=(0,U.Ay)(e.c,r.c),o=(0,U.Ay)(e.l,r.l),n=(0,U.Ay)(e.opacity,r.opacity);return function(t){return e.h=i(t),e.c=a(t),e.l=o(t),e.opacity=n(t),e+""}}}let G=Y(U.lG);Y(U.Ay);var V=r(29168);let X=function(t){for(var e=t.length/6|0,r=Array(e),i=0;i<e;)r[i]="#"+t.slice(6*i,6*++i);return r}("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");var Z=r(44532),Q=r(81998),J=r(94548),tt=r(22131);function te(t){return t.innerRadius}function tr(t){return t.outerRadius}function ti(t){return t.startAngle}function ta(t){return t.endAngle}function to(t){return t&&t.padAngle}function tn(t,e,r,i,a,o,n){var s=t-r,l=e-i,h=(n?o:-o)/(0,J.RZ)(s*s+l*l),c=h*l,d=-h*s,u=t+c,p=e+d,f=r+c,g=i+d,m=(u+f)/2,y=(p+g)/2,b=f-u,C=g-p,x=b*b+C*C,k=a-o,_=u*g-f*p,v=(C<0?-1:1)*(0,J.RZ)((0,J.T9)(0,k*k*x-_*_)),T=(_*C-b*v)/x,A=(-_*b-C*v)/x,S=(_*C+b*v)/x,w=(-_*b+C*v)/x,B=T-m,F=A-y,L=S-m,M=w-y;return B*B+F*F>L*L+M*M&&(T=S,A=w),{cx:T,cy:A,x01:-c,y01:-d,x11:T*(a/k-1),y11:A*(a/k-1)}}function ts(){var t=te,e=tr,r=(0,Q.A)(0),i=null,a=ti,o=ta,n=to,s=null,l=(0,tt.i)(h);function h(){var h,c,d=+t.apply(this,arguments),u=+e.apply(this,arguments),p=a.apply(this,arguments)-J.TW,f=o.apply(this,arguments)-J.TW,g=(0,J.tn)(f-p),m=f>p;if(s||(s=h=l()),u<d&&(c=u,u=d,d=c),u>J.Ni)if(g>J.FA-J.Ni)s.moveTo(u*(0,J.gn)(p),u*(0,J.F8)(p)),s.arc(0,0,u,p,f,!m),d>J.Ni&&(s.moveTo(d*(0,J.gn)(f),d*(0,J.F8)(f)),s.arc(0,0,d,f,p,m));else{var y,b,C=p,x=f,k=p,_=f,v=g,T=g,A=n.apply(this,arguments)/2,S=A>J.Ni&&(i?+i.apply(this,arguments):(0,J.RZ)(d*d+u*u)),w=(0,J.jk)((0,J.tn)(u-d)/2,+r.apply(this,arguments)),B=w,F=w;if(S>J.Ni){var L=(0,J.qR)(S/d*(0,J.F8)(A)),M=(0,J.qR)(S/u*(0,J.F8)(A));(v-=2*L)>J.Ni?(L*=m?1:-1,k+=L,_-=L):(v=0,k=_=(p+f)/2),(T-=2*M)>J.Ni?(M*=m?1:-1,C+=M,x-=M):(T=0,C=x=(p+f)/2)}var O=u*(0,J.gn)(C),E=u*(0,J.F8)(C),K=d*(0,J.gn)(_),I=d*(0,J.F8)(_);if(w>J.Ni){var D,z=u*(0,J.gn)(x),q=u*(0,J.F8)(x),R=d*(0,J.gn)(k),P=d*(0,J.F8)(k);if(g<J.pi)if(D=function(t,e,r,i,a,o,n,s){var l=r-t,h=i-e,c=n-a,d=s-o,u=d*l-c*h;if(!(u*u<J.Ni))return u=(c*(e-o)-d*(t-a))/u,[t+u*l,e+u*h]}(O,E,R,P,z,q,K,I)){var $=O-D[0],W=E-D[1],j=z-D[0],N=q-D[1],H=1/(0,J.F8)((0,J.HQ)(($*j+W*N)/((0,J.RZ)($*$+W*W)*(0,J.RZ)(j*j+N*N)))/2),U=(0,J.RZ)(D[0]*D[0]+D[1]*D[1]);B=(0,J.jk)(w,(d-U)/(H-1)),F=(0,J.jk)(w,(u-U)/(H+1))}else B=F=0}T>J.Ni?F>J.Ni?(y=tn(R,P,O,E,u,F,m),b=tn(z,q,K,I,u,F,m),s.moveTo(y.cx+y.x01,y.cy+y.y01),F<w?s.arc(y.cx,y.cy,F,(0,J.FP)(y.y01,y.x01),(0,J.FP)(b.y01,b.x01),!m):(s.arc(y.cx,y.cy,F,(0,J.FP)(y.y01,y.x01),(0,J.FP)(y.y11,y.x11),!m),s.arc(0,0,u,(0,J.FP)(y.cy+y.y11,y.cx+y.x11),(0,J.FP)(b.cy+b.y11,b.cx+b.x11),!m),s.arc(b.cx,b.cy,F,(0,J.FP)(b.y11,b.x11),(0,J.FP)(b.y01,b.x01),!m))):(s.moveTo(O,E),s.arc(0,0,u,C,x,!m)):s.moveTo(O,E),d>J.Ni&&v>J.Ni?B>J.Ni?(y=tn(K,I,z,q,d,-B,m),b=tn(O,E,R,P,d,-B,m),s.lineTo(y.cx+y.x01,y.cy+y.y01),B<w?s.arc(y.cx,y.cy,B,(0,J.FP)(y.y01,y.x01),(0,J.FP)(b.y01,b.x01),!m):(s.arc(y.cx,y.cy,B,(0,J.FP)(y.y01,y.x01),(0,J.FP)(y.y11,y.x11),!m),s.arc(0,0,d,(0,J.FP)(y.cy+y.y11,y.cx+y.x11),(0,J.FP)(b.cy+b.y11,b.cx+b.x11),m),s.arc(b.cx,b.cy,B,(0,J.FP)(b.y11,b.x11),(0,J.FP)(b.y01,b.x01),!m))):s.arc(0,0,d,_,k,m):s.lineTo(K,I)}else s.moveTo(0,0);if(s.closePath(),h)return s=null,h+""||null}return h.centroid=function(){var r=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,i=(+a.apply(this,arguments)+ +o.apply(this,arguments))/2-J.pi/2;return[(0,J.gn)(i)*r,(0,J.F8)(i)*r]},h.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:(0,Q.A)(+e),h):t},h.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,Q.A)(+t),h):e},h.cornerRadius=function(t){return arguments.length?(r="function"==typeof t?t:(0,Q.A)(+t),h):r},h.padRadius=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:(0,Q.A)(+t),h):i},h.startAngle=function(t){return arguments.length?(a="function"==typeof t?t:(0,Q.A)(+t),h):a},h.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:(0,Q.A)(+t),h):o},h.padAngle=function(t){return arguments.length?(n="function"==typeof t?t:(0,Q.A)(+t),h):n},h.context=function(t){return arguments.length?(s=null==t?null:t,h):s},h}var tl=r(85904),th=r(62883);function tc(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function td(t){return t}function tu(){var t=td,e=tc,r=null,i=(0,Q.A)(0),a=(0,Q.A)(J.FA),o=(0,Q.A)(0);function n(n){var s,l,h,c,d,u=(n=(0,th.A)(n)).length,p=0,f=Array(u),g=Array(u),m=+i.apply(this,arguments),y=Math.min(J.FA,Math.max(-J.FA,a.apply(this,arguments)-m)),b=Math.min(Math.abs(y)/u,o.apply(this,arguments)),C=b*(y<0?-1:1);for(s=0;s<u;++s)(d=g[f[s]=s]=+t(n[s],s,n))>0&&(p+=d);for(null!=e?f.sort(function(t,r){return e(g[t],g[r])}):null!=r&&f.sort(function(t,e){return r(n[t],n[e])}),s=0,h=p?(y-u*C)/p:0;s<u;++s,m=c)c=m+((d=g[l=f[s]])>0?d*h:0)+C,g[l]={data:n[l],index:s,value:d,startAngle:m,endAngle:c,padAngle:b};return g}return n.value=function(e){return arguments.length?(t="function"==typeof e?e:(0,Q.A)(+e),n):t},n.sortValues=function(t){return arguments.length?(e=t,r=null,n):e},n.sort=function(t){return arguments.length?(r=t,e=null,n):r},n.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:(0,Q.A)(+t),n):i},n.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:(0,Q.A)(+t),n):a},n.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:(0,Q.A)(+t),n):o},n}var tp=r(52164),tf=r(89984),tg=r(38112),tm=r(74170);function ty(t,e){this._basis=new tg.xO(t),this._beta=e}ty.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,r=t.length-1;if(r>0)for(var i,a=t[0],o=e[0],n=t[r]-a,s=e[r]-o,l=-1;++l<=r;)i=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(a+i*n),this._beta*e[l]+(1-this._beta)*(o+i*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};let tb=function t(e){function r(t){return 1===e?new tg.xO(t):new ty(t,e)}return r.beta=function(e){return t(+e)},r}(.85);var tC=r(47330);function tx(t,e,r){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-r),t._x2,t._y2)}function tk(t,e){this._context=t,this._k=(1-e)/6}tk.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:tx(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:tx(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let t_=function t(e){function r(t){return new tk(t,e)}return r.tension=function(e){return t(+e)},r}(0);function tv(t,e){this._context=t,this._k=(1-e)/6}tv.prototype={areaStart:tC.A,areaEnd:tC.A,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:tx(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let tT=function t(e){function r(t){return new tv(t,e)}return r.tension=function(e){return t(+e)},r}(0);function tA(t,e){this._context=t,this._k=(1-e)/6}tA.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:tx(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let tS=function t(e){function r(t){return new tA(t,e)}return r.tension=function(e){return t(+e)},r}(0);function tw(t,e,r){var i=t._x1,a=t._y1,o=t._x2,n=t._y2;if(t._l01_a>J.Ni){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,a=(a*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>J.Ni){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*h+t._x1*t._l23_2a-e*t._l12_2a)/c,n=(n*h+t._y1*t._l23_2a-r*t._l12_2a)/c}t._context.bezierCurveTo(i,a,o,n,t._x2,t._y2)}function tB(t,e){this._context=t,this._alpha=e}tB.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t*=1,e*=1,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:tw(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let tF=function t(e){function r(t){return e?new tB(t,e):new tk(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function tL(t,e){this._context=t,this._alpha=e}tL.prototype={areaStart:tC.A,areaEnd:tC.A,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t*=1,e*=1,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:tw(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let tM=function t(e){function r(t){return e?new tL(t,e):new tv(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function tO(t,e){this._context=t,this._alpha=e}tO.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t*=1,e*=1,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:tw(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let tE=function t(e){function r(t){return e?new tO(t,e):new tA(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);var tK=r(35331),tI=r(84179),tD=r(91817),tz=r(11347),tq=r(64244),tR=r(82628),tP=r(62807),t$=r(17835),tW=r(86917),tj=r(11447),tN=r(52743),tH=r(33967),tU=r(31246);r(14737)},11548:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(52483),a=r(16755),o=Object.prototype.hasOwnProperty;let n=function(t,e,r){var n=t[e];o.call(t,e)&&(0,a.A)(n,r)&&(void 0!==r||e in t)||(0,i.A)(t,e,r)}},12119:(t,e,r)=>{"use strict";r.d(e,{W6:()=>W,GZ:()=>U,WY:()=>F,pC:()=>S,hE:()=>H,Gc:()=>v});var i=r(59661),a=r(77109),o=r(69830);let n=(t,e)=>!!t&&!!((e&&""===t.prefix||t.prefix)&&t.name),s=Object.freeze({left:0,top:0,width:16,height:16}),l=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),h=Object.freeze({...s,...l}),c=Object.freeze({...h,body:"",hidden:!1});function d(t,e){let r,i,a=(r={},!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0),(i=((t.rotate||0)+(e.rotate||0))%4)&&(r.rotate=i),r);for(let r in c)r in l?r in t&&!(r in a)&&(a[r]=l[r]):r in e?a[r]=e[r]:r in t&&(a[r]=t[r]);return a}function u(t,e,r){let i=t.icons,a=t.aliases||Object.create(null),o={};function n(t){o=d(i[t]||a[t],o)}return n(e),r.forEach(n),d(t,o)}let p=Object.freeze({...Object.freeze({width:null,height:null}),...l}),f=/(-?[0-9.]*[0-9]+[0-9.]*)/g,g=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function m(t,e,r){if(1===e)return t;if(r=r||100,"number"==typeof t)return Math.ceil(t*e*r)/r;if("string"!=typeof t)return t;let i=t.split(f);if(null===i||!i.length)return t;let a=[],o=i.shift(),n=g.test(o);for(;;){if(n){let t=parseFloat(o);isNaN(t)?a.push(o):a.push(Math.ceil(t*e*r)/r)}else a.push(o);if(void 0===(o=i.shift()))return a.join("");n=!n}}let y=/\sid="(\S+)"/g,b="IconifyId"+Date.now().toString(16)+(0x1000000*Math.random()|0).toString(16),C=0;var x=r(10791),k=r(25127),_=r(34302),v={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},T=new Map,A=new Map,S=(0,o.K2)(t=>{for(let e of t){if(!e.name)throw Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(o.Rm.debug("Registering icon pack:",e.name),"loader"in e)A.set(e.name,e.loader);else if("icons"in e)T.set(e.name,e.icons);else throw o.Rm.error("Invalid icon loader:",e),Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),w=(0,o.K2)(async(t,e)=>{let r=((t,e,r,i="")=>{let a=t.split(":");if("@"===t.slice(0,1)){if(a.length<2||a.length>3)return null;i=a.shift().slice(1)}if(a.length>3||!a.length)return null;if(a.length>1){let t=a.pop(),r=a.pop(),o={provider:a.length>0?a[0]:i,prefix:r,name:t};return e&&!n(o)?null:o}let o=a[0],s=o.split("-");if(s.length>1){let t={provider:i,prefix:s.shift(),name:s.join("-")};return e&&!n(t)?null:t}if(r&&""===i){let t={provider:i,prefix:"",name:o};return e&&!n(t,r)?null:t}return null})(t,!0,void 0!==e);if(!r)throw Error(`Invalid icon name: ${t}`);let i=r.prefix||e;if(!i)throw Error(`Icon name must contain a prefix: ${t}`);let a=T.get(i);if(!a){let t=A.get(i);if(!t)throw Error(`Icon set not found: ${r.prefix}`);try{a={...await t(),prefix:i},T.set(i,a)}catch(t){throw o.Rm.error(t),Error(`Failed to load icon set: ${r.prefix}`)}}let s=function(t,e){var r;let i,a,o;if(t.icons[e])return u(t,e,[]);let n=(r=[e],i=t.icons,a=t.aliases||Object.create(null),o=Object.create(null),(r||Object.keys(i).concat(Object.keys(a))).forEach(function t(e){if(i[e])return o[e]=[];if(!(e in o)){o[e]=null;let r=a[e]&&a[e].parent,i=r&&t(r);i&&(o[e]=[r].concat(i))}return o[e]}),o)[e];return n?u(t,e,n):null}(a,r.name);if(!s)throw Error(`Icon not found: ${t}`);return s},"getRegisteredIconData"),B=(0,o.K2)(async t=>{try{return await w(t),!0}catch{return!1}},"isIconAvailable"),F=(0,o.K2)(async(t,e,r)=>{var i;let n,s,l,c,d,u,f,g,x,k,_,T,A,S;try{n=await w(t,e?.fallbackPrefix)}catch(t){o.Rm.error(t),n=v}let B=(i=n,c={...h,...i},d={...p,...e},u={left:c.left,top:c.top,width:c.width,height:c.height},f=c.body,[c,d].forEach(t=>{var e,r,i,a;let o,n,s=[],l=t.hFlip,h=t.vFlip,c=t.rotate;switch(l?h?c+=2:(s.push("translate("+(u.width+u.left).toString()+" "+(0-u.top).toString()+")"),s.push("scale(-1 1)"),u.top=u.left=0):h&&(s.push("translate("+(0-u.left).toString()+" "+(u.height+u.top).toString()+")"),s.push("scale(1 -1)"),u.top=u.left=0),c<0&&(c-=4*Math.floor(c/4)),c%=4){case 1:s.unshift("rotate(90 "+(o=u.height/2+u.top).toString()+" "+o.toString()+")");break;case 2:s.unshift("rotate(180 "+(u.width/2+u.left).toString()+" "+(u.height/2+u.top).toString()+")");break;case 3:s.unshift("rotate(-90 "+(o=u.width/2+u.left).toString()+" "+o.toString()+")")}c%2==1&&(u.left!==u.top&&(o=u.left,u.left=u.top,u.top=o),u.width!==u.height&&(o=u.width,u.width=u.height,u.height=o)),s.length&&(e=f,r='<g transform="'+s.join(" ")+'">',i=(n=function(t,e="defs"){let r="",i=t.indexOf("<"+e);for(;i>=0;){let a=t.indexOf(">",i),o=t.indexOf("</"+e);if(-1===a||-1===o)break;let n=t.indexOf(">",o);if(-1===n)break;r+=t.slice(a+1,o).trim(),t=t.slice(0,i).trim()+t.slice(n+1)}return{defs:r,content:t}}(e)).defs,a=r+n.content+"</g>",f=i?"<defs>"+i+"</defs>"+a:a)}),g=d.width,x=d.height,k=u.width,_=u.height,null===g?s=m(l=null===x?"1em":"auto"===x?_:x,k/_):(s="auto"===g?k:g,l=null===x?m(s,_/k):"auto"===x?_:x),T={},(A=(t,e)=>{"unset"!==e&&"undefined"!==e&&"none"!==e&&(T[t]=e.toString())})("width",s),A("height",l),T.viewBox=(S=[u.left,u.top,k,_]).join(" "),{attributes:T,viewBox:S,body:f}),F=function(t,e){let r=-1===t.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let t in e)r+=" "+t+'="'+e[t]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+t+"</svg>"}(function(t,e=b){let r,i=[];for(;r=y.exec(t);)i.push(r[1]);if(!i.length)return t;let a="suffix"+(0x1000000*Math.random()|Date.now()).toString(16);return i.forEach(r=>{let i="function"==typeof e?e(r):e+(C++).toString(),o=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(RegExp('([#;"])('+o+')([")]|\\.[a-z])',"g"),"$1"+i+a+"$3")}),t=t.replace(RegExp(a,"g"),"")}(B.body),{...B.attributes,...r});return(0,a.jZ)(F,(0,a.zj)())},"getIconSVG");function L(t,{markdownAutoWrap:e}){let r=t.replace(/<br\/>/g,"\n").replace(/\n{2,}/g,"\n"),i=(0,_.T)(r);return!1===e?i.replace(/ /g,"&nbsp;"):i}function M(t,e={}){let r=L(t,e),i=k.xI.lexer(r),a=[[]],n=0;function s(t,e="normal"){"text"===t.type?t.text.split("\n").forEach((t,r)=>{0!==r&&(n++,a.push([])),t.split(" ").forEach(t=>{(t=t.replace(/&#39;/g,"'"))&&a[n].push({content:t,type:e})})}):"strong"===t.type||"em"===t.type?t.tokens.forEach(e=>{s(e,t.type)}):"html"===t.type&&a[n].push({content:t.text,type:"normal"})}return(0,o.K2)(s,"processNode"),i.forEach(t=>{"paragraph"===t.type?t.tokens?.forEach(t=>{s(t)}):"html"===t.type?a[n].push({content:t.text,type:"normal"}):a[n].push({content:t.raw,type:"normal"})}),a}function O(t,{markdownAutoWrap:e}={}){let r=k.xI.lexer(t);function i(t){if("text"===t.type)return!1===e?t.text.replace(/\n */g,"<br/>").replace(/ /g,"&nbsp;"):t.text.replace(/\n */g,"<br/>");if("strong"===t.type)return`<strong>${t.tokens?.map(i).join("")}</strong>`;if("em"===t.type)return`<em>${t.tokens?.map(i).join("")}</em>`;if("paragraph"===t.type)return`<p>${t.tokens?.map(i).join("")}</p>`;if("space"===t.type)return"";else if("html"===t.type)return`${t.text}`;else if("escape"===t.type)return t.text;return o.Rm.warn(`Unsupported markdown: ${t.type}`),t.raw}return(0,o.K2)(i,"output"),r.map(i).join("")}function E(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(t=>t.segment):[...t]}function K(t,e){return I(t,[],E(e.content),e.type)}function I(t,e,r,i){if(0===r.length)return[{content:e.join(""),type:i},{content:"",type:i}];let[a,...o]=r,n=[...e,a];return t([{content:n.join(""),type:i}])?I(t,n,o,i):(0===e.length&&a&&(e.push(a),r.shift()),[{content:e.join(""),type:i},{content:r.join(""),type:i}])}function D(t,e){if(t.some(({content:t})=>t.includes("\n")))throw Error("splitLineToFitWidth does not support newlines in the line");return z(t,e)}function z(t,e,r=[],i=[]){if(0===t.length)return i.length>0&&r.push(i),r.length>0?r:[];let a="";" "===t[0].content&&(a=" ",t.shift());let o=t.shift()??{content:" ",type:"normal"},n=[...i];if(""!==a&&n.push({content:a,type:"normal"}),n.push(o),e(n))return z(t,e,r,n);if(i.length>0)r.push(i),t.unshift(o);else if(o.content){let[i,a]=K(e,o);r.push([i]),a.content&&t.unshift(a)}return z(t,e,r)}function q(t,e){e&&t.attr("style",e)}async function R(t,e,r,i,o=!1,n=(0,a.zj)()){let s=t.append("foreignObject");s.attr("width",`${10*r}px`),s.attr("height",`${10*r}px`);let l=s.append("xhtml:div"),h=(0,a.Wi)(e.label)?await (0,a.dj)(e.label.replace(a.Y2.lineBreakRegex,"\n"),n):(0,a.jZ)(e.label,n),c=e.isNode?"nodeLabel":"edgeLabel",d=l.append("span");d.html(h),q(d,e.labelStyle),d.attr("class",`${c} ${i}`),q(l,e.labelStyle),l.style("display","table-cell"),l.style("white-space","nowrap"),l.style("line-height","1.5"),l.style("max-width",r+"px"),l.style("text-align","center"),l.attr("xmlns","http://www.w3.org/1999/xhtml"),o&&l.attr("class","labelBkg");let u=l.node().getBoundingClientRect();return u.width===r&&(l.style("display","table"),l.style("white-space","break-spaces"),l.style("width",r+"px"),u=l.node().getBoundingClientRect()),s.node()}function P(t,e,r){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em")}function $(t,e,r){let i=t.append("text"),a=P(i,1,e);N(a,r);let o=a.node().getComputedTextLength();return i.remove(),o}function W(t,e,r){let i=t.append("text"),a=P(i,1,e);N(a,[{content:r,type:"normal"}]);let o=a.node()?.getBoundingClientRect();return o&&i.remove(),o}function j(t,e,r,i=!1){let a=e.append("g"),n=a.insert("rect").attr("class","background").attr("style","stroke: none"),s=a.append("text").attr("y","-10.1"),l=0;for(let e of r){let r=(0,o.K2)(e=>$(a,1.1,e)<=t,"checkWidth");for(let t of r(e)?[e]:D(e,r))N(P(s,l,1.1),t),l++}if(!i)return s.node();{let t=s.node().getBBox();return n.attr("x",t.x-2).attr("y",t.y-2).attr("width",t.width+4).attr("height",t.height+4),a.node()}}function N(t,e){t.text(""),e.forEach((e,r)=>{let i=t.append("tspan").attr("font-style","em"===e.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===e.type?"bold":"normal");0===r?i.text(e.content):i.text(" "+e.content)})}async function H(t,e={}){let r=[];t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(t,i,o)=>(r.push((async()=>{let r=`${i}:${o}`;return await B(r)?await F(r,void 0,{class:"label-icon"}):`<i class='${(0,a.jZ)(t,e).replace(":"," ")}'></i>`})()),t));let i=await Promise.all(r);return t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>i.shift()??"")}(0,o.K2)(L,"preprocessMarkdown"),(0,o.K2)(M,"markdownToLines"),(0,o.K2)(O,"markdownToHTML"),(0,o.K2)(E,"splitTextToChars"),(0,o.K2)(K,"splitWordToFitWidth"),(0,o.K2)(I,"splitWordToFitWidthRecursion"),(0,o.K2)(D,"splitLineToFitWidth"),(0,o.K2)(z,"splitLineToFitWidthRecursion"),(0,o.K2)(q,"applyStyle"),(0,o.K2)(R,"addHtmlSpan"),(0,o.K2)(P,"createTspan"),(0,o.K2)($,"computeWidthOfText"),(0,o.K2)(W,"computeDimensionOfText"),(0,o.K2)(j,"createFormattedText"),(0,o.K2)(N,"updateTextContentAndStyles"),(0,o.K2)(H,"replaceIconSubstring");var U=(0,o.K2)(async(t,e="",{style:r="",isTitle:n=!1,classes:s="",useHtmlLabels:l=!0,isNode:h=!0,width:c=200,addSvgBackground:d=!1}={},u)=>{if(o.Rm.debug("XYZ createText",e,r,n,s,l,h,"addSvgBackground: ",d),l){let o=O(e,u),n=await H((0,i.Sm)(o),u),l=e.replace(/\\\\/g,"\\"),p={isNode:h,label:(0,a.Wi)(e)?l:n,labelStyle:r.replace("fill:","color:")};return await R(t,p,c,s,d,u)}{let i=j(c,t,M(e.replace(/<br\s*\/?>/g,"<br/>").replace("<br>","<br/>"),u),!!e&&d);if(h){/stroke:/.exec(r)&&(r=r.replace("stroke:","lineColor:"));let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,x.Ltv)(i).attr("style",t)}else{let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,x.Ltv)(i).select("rect").attr("style",t.replace(/background:/g,"fill:"));let e=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,x.Ltv)(i).select("text").attr("style",e)}return i}},"createText")},13152:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(37496);let a=(t,e)=>(0,i.A)(t,"l",-e)},13427:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(10697),a=r(28212);let o=(t,e)=>{let r=a.A.parse(t);for(let t in e)r[t]=i.A.channel.clamp[t](e[t]);return a.A.stringify(r)}},13472:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t,e){return function(r){return t(e(r))}}},15474:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(21842);let a=function(t,e){var r=e?(0,i.A)(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},16047:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){return t}},16755:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t,e){return t===e||t!=t&&e!=e}},17270:(t,e,r)=>{"use strict";r.d(e,{n:()=>i});var i={name:"mermaid",version:"11.12.1",description:"Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.",type:"module",module:"./dist/mermaid.core.mjs",types:"./dist/mermaid.d.ts",exports:{".":{types:"./dist/mermaid.d.ts",import:"./dist/mermaid.core.mjs",default:"./dist/mermaid.core.mjs"},"./*":"./*"},keywords:["diagram","markdown","flowchart","sequence diagram","gantt","class diagram","git graph","mindmap","packet diagram","c4 diagram","er diagram","pie chart","pie diagram","quadrant chart","requirement diagram","graph"],scripts:{clean:"rimraf dist",dev:"pnpm -w dev","docs:code":"typedoc src/defaultConfig.ts src/config.ts src/mermaid.ts && prettier --write ./src/docs/config/setup","docs:build":"rimraf ../../docs && pnpm docs:code && pnpm docs:spellcheck && tsx scripts/docs.cli.mts","docs:verify":"pnpm docs:code && pnpm docs:spellcheck && tsx scripts/docs.cli.mts --verify","docs:pre:vitepress":"pnpm --filter ./src/docs prefetch && rimraf src/vitepress && pnpm docs:code && tsx scripts/docs.cli.mts --vitepress && pnpm --filter ./src/vitepress install --no-frozen-lockfile --ignore-scripts","docs:build:vitepress":"pnpm docs:pre:vitepress && (cd src/vitepress && pnpm run build) && cpy --flat src/docs/landing/ ./src/vitepress/.vitepress/dist/landing","docs:dev":'pnpm docs:pre:vitepress && concurrently "pnpm --filter ./src/vitepress dev" "tsx scripts/docs.cli.mts --watch --vitepress"',"docs:dev:docker":'pnpm docs:pre:vitepress && concurrently "pnpm --filter ./src/vitepress dev:docker" "tsx scripts/docs.cli.mts --watch --vitepress"',"docs:serve":"pnpm docs:build:vitepress && vitepress serve src/vitepress","docs:spellcheck":'cspell "src/docs/**/*.md"',"docs:release-version":"tsx scripts/update-release-version.mts","docs:verify-version":"tsx scripts/update-release-version.mts --verify","types:build-config":"tsx scripts/create-types-from-json-schema.mts","types:verify-config":"tsx scripts/create-types-from-json-schema.mts --verify",checkCircle:"npx madge --circular ./src",prepublishOnly:"pnpm docs:verify-version"},repository:{type:"git",url:"https://github.com/mermaid-js/mermaid"},author:"Knut Sveidqvist",license:"MIT",standard:{ignore:["**/parser/*.js","dist/**/*.js","cypress/**/*.js"],globals:["page"]},dependencies:{"@braintree/sanitize-url":"^7.1.1","@iconify/utils":"^3.0.1","@mermaid-js/parser":"workspace:^","@types/d3":"^7.4.3",cytoscape:"^3.29.3","cytoscape-cose-bilkent":"^4.1.0","cytoscape-fcose":"^2.2.0",d3:"^7.9.0","d3-sankey":"^0.12.3","dagre-d3-es":"7.0.13",dayjs:"^1.11.18",dompurify:"^3.2.5",katex:"^0.16.22",khroma:"^2.1.0","lodash-es":"^4.17.21",marked:"^16.2.1",roughjs:"^4.6.6",stylis:"^4.3.6","ts-dedent":"^2.2.0",uuid:"^11.1.0"},devDependencies:{"@adobe/jsonschema2md":"^8.0.5","@iconify/types":"^2.0.0","@types/cytoscape":"^3.21.9","@types/cytoscape-fcose":"^2.2.4","@types/d3-sankey":"^0.12.4","@types/d3-scale":"^4.0.9","@types/d3-scale-chromatic":"^3.1.0","@types/d3-selection":"^3.0.11","@types/d3-shape":"^3.1.7","@types/jsdom":"^21.1.7","@types/katex":"^0.16.7","@types/lodash-es":"^4.17.12","@types/micromatch":"^4.0.9","@types/stylis":"^4.2.7","@types/uuid":"^10.0.0",ajv:"^8.17.1",canvas:"^3.1.2",chokidar:"3.6.0",concurrently:"^9.1.2","csstree-validator":"^4.0.1",globby:"^14.1.0",jison:"^0.4.18","js-base64":"^3.7.8",jsdom:"^26.1.0","json-schema-to-typescript":"^15.0.4",micromatch:"^4.0.8","path-browserify":"^1.0.1",prettier:"^3.5.3",remark:"^15.0.1","remark-frontmatter":"^5.0.0","remark-gfm":"^4.0.1",rimraf:"^6.0.1","start-server-and-test":"^2.0.13","type-fest":"^4.35.0",typedoc:"^0.28.12","typedoc-plugin-markdown":"^4.8.1",typescript:"~5.7.3","unist-util-flatmap":"^1.0.0","unist-util-visit":"^5.0.0",vitepress:"^1.6.4","vitepress-plugin-search":"1.0.4-alpha.22"},files:["dist/","README.md"],publishConfig:{access:"public"}}},21152:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(11548),a=r(52483);let o=function(t,e,r,o){var n=!r;r||(r={});for(var s=-1,l=e.length;++s<l;){var h=e[s],c=o?o(r[h],t[h],h,r,t):void 0;void 0===c&&(c=t[h]),n?(0,a.A)(r,h,c):(0,i.A)(r,h,c)}return r}},21614:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var i=r(23918),a=r(62330),o=(0,i.A)(a.A,"DataView"),n=r(4348),s=(0,i.A)(a.A,"Promise"),l=r(64850),h=(0,i.A)(a.A,"WeakMap"),c=r(79898),d=r(52526),u="[object Map]",p="[object Promise]",f="[object Set]",g="[object WeakMap]",m="[object DataView]",y=(0,d.A)(o),b=(0,d.A)(n.A),C=(0,d.A)(s),x=(0,d.A)(l.A),k=(0,d.A)(h),_=c.A;(o&&_(new o(new ArrayBuffer(1)))!=m||n.A&&_(new n.A)!=u||s&&_(s.resolve())!=p||l.A&&_(new l.A)!=f||h&&_(new h)!=g)&&(_=function(t){var e=(0,c.A)(t),r="[object Object]"==e?t.constructor:void 0,i=r?(0,d.A)(r):"";if(i)switch(i){case y:return m;case b:return u;case C:return p;case x:return f;case k:return g}return e});let v=_},21842:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(51227);let a=function(t){var e=new t.constructor(t.byteLength);return new i.A(e).set(new i.A(t)),e}},23098:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var i=r(86780),a=r(21614),o=r(47312),n=r(63114),s=r(89173),l=r(93780),h=r(62260),c=r(89071),d=Object.prototype.hasOwnProperty;let u=function(t){if(null==t)return!0;if((0,s.A)(t)&&((0,n.A)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.A)(t)||(0,c.A)(t)||(0,o.A)(t)))return!t.length;var e=(0,a.A)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,h.A)(t))return!(0,i.A)(t).length;for(var r in t)if(d.call(t,r))return!1;return!0}},23918:(t,e,r)=>{"use strict";r.d(e,{A:()=>g});var i,a=r(30965),o=r(62330).A["__core-js_shared__"],n=(i=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",s=r(94090),l=r(52526),h=/^\[object .+?Constructor\]$/,c=Object.prototype,d=Function.prototype.toString,u=c.hasOwnProperty,p=RegExp("^"+d.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let f=function(t){return!!(0,s.A)(t)&&(!n||!(n in t))&&((0,a.A)(t)?p:h).test((0,l.A)(t))},g=function(t,e){var r=null==t?void 0:t[e];return f(r)?r:void 0}},24726:(t,e,r)=>{"use strict";r.d(e,{O:()=>i});var i=(0,r(69830).K2)(({flowchart:t})=>{let e=t?.subGraphTitleMargin?.top??0,r=t?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:e+r}},"getSubGraphTitleMargins")},27851:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(16755);let a=function(t,e){for(var r=t.length;r--;)if((0,i.A)(t[r][0],e))return r;return -1};var o=Array.prototype.splice;function n(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}n.prototype.clear=function(){this.__data__=[],this.size=0},n.prototype.delete=function(t){var e=this.__data__,r=a(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)},n.prototype.get=function(t){var e=this.__data__,r=a(e,t);return r<0?void 0:e[r][1]},n.prototype.has=function(t){return a(this.__data__,t)>-1},n.prototype.set=function(t,e){var r=this.__data__,i=a(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this};let s=n},27872:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(23918);let a=function(){try{var t=(0,i.A)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},28212:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var i=r(53704),a=r(59585);let o={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;let e=t.match(o.re);if(!e)return;let r=e[1],a=parseInt(r,16),n=r.length,s=n%4==0,l=n>4,h=l?1:17,c=l?8:4,d=s?0:-1,u=l?255:15;return i.A.set({r:(a>>c*(d+3)&u)*h,g:(a>>c*(d+2)&u)*h,b:(a>>c*(d+1)&u)*h,a:s?(a&u)*h/255:1},t)},stringify:t=>{let{r:e,g:r,b:i,a:o}=t;return o<1?`#${a.Y[Math.round(e)]}${a.Y[Math.round(r)]}${a.Y[Math.round(i)]}${a.Y[Math.round(255*o)]}`:`#${a.Y[Math.round(e)]}${a.Y[Math.round(r)]}${a.Y[Math.round(i)]}`}};var n=r(10697);let s={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{let e=t.match(s.hueRe);if(e){let[,t,r]=e;switch(r){case"grad":return n.A.channel.clamp.h(.9*parseFloat(t));case"rad":return n.A.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return n.A.channel.clamp.h(360*parseFloat(t))}}return n.A.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let r=t.match(s.re);if(!r)return;let[,a,o,l,h,c]=r;return i.A.set({h:s._hue2deg(a),s:n.A.channel.clamp.s(parseFloat(o)),l:n.A.channel.clamp.l(parseFloat(l)),a:h?n.A.channel.clamp.a(c?parseFloat(h)/100:parseFloat(h)):1},t)},stringify:t=>{let{h:e,s:r,l:i,a}=t;return a<1?`hsla(${n.A.lang.round(e)}, ${n.A.lang.round(r)}%, ${n.A.lang.round(i)}%, ${a})`:`hsl(${n.A.lang.round(e)}, ${n.A.lang.round(r)}%, ${n.A.lang.round(i)}%)`}},l={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();let e=l.colors[t];if(e)return o.parse(e)},stringify:t=>{let e=o.stringify(t);for(let t in l.colors)if(l.colors[t]===e)return t}},h={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{let e=t.charCodeAt(0);if(114!==e&&82!==e)return;let r=t.match(h.re);if(!r)return;let[,a,o,s,l,c,d,u,p]=r;return i.A.set({r:n.A.channel.clamp.r(o?2.55*parseFloat(a):parseFloat(a)),g:n.A.channel.clamp.g(l?2.55*parseFloat(s):parseFloat(s)),b:n.A.channel.clamp.b(d?2.55*parseFloat(c):parseFloat(c)),a:u?n.A.channel.clamp.a(p?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{let{r:e,g:r,b:i,a}=t;return a<1?`rgba(${n.A.lang.round(e)}, ${n.A.lang.round(r)}, ${n.A.lang.round(i)}, ${n.A.lang.round(a)})`:`rgb(${n.A.lang.round(e)}, ${n.A.lang.round(r)}, ${n.A.lang.round(i)})`}},c={format:{keyword:l,hex:o,rgb:h,rgba:h,hsl:s,hsla:s},parse:t=>{if("string"!=typeof t)return t;let e=o.parse(t)||h.parse(t)||s.parse(t)||l.parse(t);if(e)return e;throw Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(a.Z.HSL)||void 0===t.data.r?s.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?o.stringify(t):h.stringify(t)}},30965:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(79898),a=r(94090);let o=function(t){if(!(0,a.A)(t))return!1;var e=(0,i.A)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},34302:(t,e,r)=>{"use strict";function i(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var i=Array.from("string"==typeof t?[t]:t);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var a=i.reduce(function(t,e){var r=e.match(/\n([\t ]+|(?!\s).)/g);return r?t.concat(r.map(function(t){var e,r;return null!=(r=null==(e=t.match(/[\t ]/g))?void 0:e.length)?r:0})):t},[]);if(a.length){var o=RegExp("\n[ ]{"+Math.min.apply(Math,a)+"}","g");i=i.map(function(t){return t.replace(o,"\n")})}i[0]=i[0].replace(/^\r?\n/,"");var n=i[0];return e.forEach(function(t,e){var r=n.match(/(?:^|\n)( *)$/),a=r?r[1]:"",o=t;"string"==typeof t&&t.includes("\n")&&(o=String(t).split("\n").map(function(t,e){return 0===e?t:""+a+t}).join("\n")),n+=o+i[e+1]}),n}r.d(e,{T:()=>i})},37496:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(10697),a=r(28212);let o=(t,e,r)=>{let o=a.A.parse(t),n=o[e],s=i.A.channel.clamp[e](n+r);return n!==s&&(o[e]=s),a.A.stringify(o)}},38177:(t,e,r)=>{"use strict";function i(t,e,r){if(t&&t.length){let[i,a]=e,o=Math.PI/180*r,n=Math.cos(o),s=Math.sin(o);for(let e of t){let[t,r]=e;e[0]=(t-i)*n-(r-a)*s+i,e[1]=(t-i)*s+(r-a)*n+a}}}function a(t,e){var r;let a=e.hachureAngle+90,o=e.hachureGap;o<0&&(o=4*e.strokeWidth),o=Math.round(Math.max(o,.1));let n=1;return e.roughness>=1&&((null==(r=e.randomizer)?void 0:r.next())||Math.random())>.7&&(n=o),function(t,e,r,a=1){let o=Math.max(e,.1),n=t[0]&&t[0][0]&&"number"==typeof t[0][0]?[t]:t,s=[0,0];if(r)for(let t of n)i(t,s,r);let l=function(t,e,r){let i=[];for(let e of t){var a,o;let t=[...e];a=t[0],o=t[t.length-1],a[0]===o[0]&&a[1]===o[1]||t.push([t[0][0],t[0][1]]),t.length>2&&i.push(t)}let n=[];e=Math.max(e,.1);let s=[];for(let t of i)for(let e=0;e<t.length-1;e++){let r=t[e],i=t[e+1];if(r[1]!==i[1]){let t=Math.min(r[1],i[1]);s.push({ymin:t,ymax:Math.max(r[1],i[1]),x:t===r[1]?r[0]:i[0],islope:(i[0]-r[0])/(i[1]-r[1])})}}if(s.sort((t,e)=>t.ymin<e.ymin?-1:t.ymin>e.ymin?1:t.x<e.x?-1:t.x>e.x?1:t.ymax===e.ymax?0:(t.ymax-e.ymax)/Math.abs(t.ymax-e.ymax)),!s.length)return n;let l=[],h=s[0].ymin,c=0;for(;l.length||s.length;){if(s.length){let t=-1;for(let e=0;e<s.length&&!(s[e].ymin>h);e++)t=e;s.splice(0,t+1).forEach(t=>{l.push({s:h,edge:t})})}if((l=l.filter(t=>!(t.edge.ymax<=h))).sort((t,e)=>t.edge.x===e.edge.x?0:(t.edge.x-e.edge.x)/Math.abs(t.edge.x-e.edge.x)),(1!==r||c%e==0)&&l.length>1)for(let t=0;t<l.length;t+=2){let e=t+1;if(e>=l.length)break;let r=l[t].edge,i=l[e].edge;n.push([[Math.round(r.x),h],[Math.round(i.x),h]])}h+=r,l.forEach(t=>{t.edge.x=t.edge.x+r*t.edge.islope}),c++}return n}(n,o,a);if(r){let t;for(let t of n)i(t,s,-r);t=[],l.forEach(e=>t.push(...e)),i(t,s,-r)}return l}(t,o,a,n||1)}r.d(e,{A:()=>V});class o{constructor(t){this.helper=t}fillPolygons(t,e){return this._fillPolygons(t,e)}_fillPolygons(t,e){let r=a(t,e);return{type:"fillSketch",ops:this.renderLines(r,e)}}renderLines(t,e){let r=[];for(let i of t)r.push(...this.helper.doubleLineOps(i[0][0],i[0][1],i[1][0],i[1][1],e));return r}}function n(t){let e=t[0],r=t[1];return Math.sqrt(Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2))}class s extends o{fillPolygons(t,e){let r=e.hachureGap;r<0&&(r=4*e.strokeWidth);let i=a(t,Object.assign({},e,{hachureGap:r=Math.max(r,.1)})),o=Math.PI/180*e.hachureAngle,s=[],l=.5*r*Math.cos(o),h=.5*r*Math.sin(o);for(let[t,e]of i)n([t,e])&&s.push([[t[0]-l,t[1]+h],[...e]],[[t[0]+l,t[1]-h],[...e]]);return{type:"fillSketch",ops:this.renderLines(s,e)}}}class l extends o{fillPolygons(t,e){let r=this._fillPolygons(t,e),i=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),a=this._fillPolygons(t,i);return r.ops=r.ops.concat(a.ops),r}}class h{constructor(t){this.helper=t}fillPolygons(t,e){let r=a(t,e=Object.assign({},e,{hachureAngle:0}));return this.dotsOnLines(r,e)}dotsOnLines(t,e){let r=[],i=e.hachureGap;i<0&&(i=4*e.strokeWidth),i=Math.max(i,.1);let a=e.fillWeight;a<0&&(a=e.strokeWidth/2);let o=i/4;for(let s of t){let t=n(s),l=Math.ceil(t/i)-1,h=t-l*i,c=(s[0][0]+s[1][0])/2-i/4,d=Math.min(s[0][1],s[1][1]);for(let t=0;t<l;t++){let n=c-o+2*Math.random()*o,s=d+h+t*i-o+2*Math.random()*o,l=this.helper.ellipse(n,s,a,a,e);r.push(...l.ops)}}return{type:"fillSketch",ops:r}}}class c{constructor(t){this.helper=t}fillPolygons(t,e){let r=a(t,e);return{type:"fillSketch",ops:this.dashedLine(r,e)}}dashedLine(t,e){let r=e.dashOffset<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashOffset,i=e.dashGap<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashGap,a=[];return t.forEach(t=>{let o=n(t),s=Math.floor(o/(r+i)),l=(o+i-s*(r+i))/2,h=t[0],c=t[1];h[0]>c[0]&&(h=t[1],c=t[0]);let d=Math.atan((c[1]-h[1])/(c[0]-h[0]));for(let t=0;t<s;t++){let o=t*(r+i),n=o+r,s=[h[0]+o*Math.cos(d)+l*Math.cos(d),h[1]+o*Math.sin(d)+l*Math.sin(d)],c=[h[0]+n*Math.cos(d)+l*Math.cos(d),h[1]+n*Math.sin(d)+l*Math.sin(d)];a.push(...this.helper.doubleLineOps(s[0],s[1],c[0],c[1],e))}}),a}}class d{constructor(t){this.helper=t}fillPolygons(t,e){let r=e.hachureGap<0?4*e.strokeWidth:e.hachureGap,i=e.zigzagOffset<0?r:e.zigzagOffset,o=a(t,e=Object.assign({},e,{hachureGap:r+i}));return{type:"fillSketch",ops:this.zigzagLines(o,i,e)}}zigzagLines(t,e,r){let i=[];return t.forEach(t=>{let a=Math.round(n(t)/(2*e)),o=t[0],s=t[1];o[0]>s[0]&&(o=t[1],s=t[0]);let l=Math.atan((s[1]-o[1])/(s[0]-o[0]));for(let t=0;t<a;t++){let a=2*t*e,n=2*(t+1)*e,s=Math.sqrt(2*Math.pow(e,2)),h=[o[0]+a*Math.cos(l),o[1]+a*Math.sin(l)],c=[o[0]+n*Math.cos(l),o[1]+n*Math.sin(l)],d=[h[0]+s*Math.cos(l+Math.PI/4),h[1]+s*Math.sin(l+Math.PI/4)];i.push(...this.helper.doubleLineOps(h[0],h[1],d[0],d[1],r),...this.helper.doubleLineOps(d[0],d[1],c[0],c[1],r))}}),i}}let u={};class p{constructor(t){this.seed=t}next(){return this.seed?(0x80000000-1&(this.seed=Math.imul(48271,this.seed)))/0x80000000:Math.random()}}let f={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function g(t){let e=[],r=function(t){let e=[];for(;""!==t;)if(t.match(/^([ \t\r\n,]+)/))t=t.substr(RegExp.$1.length);else if(t.match(/^([aAcChHlLmMqQsStTvVzZ])/))e[e.length]={type:0,text:RegExp.$1},t=t.substr(RegExp.$1.length);else{if(!t.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];e[e.length]={type:1,text:`${parseFloat(RegExp.$1)}`},t=t.substr(RegExp.$1.length)}return e[e.length]={type:2,text:""},e}(t),i="BOD",a=0,o=r[0];for(;2!==o.type;){let n=0,s=[];if("BOD"===i){if("M"!==o.text&&"m"!==o.text)return g("M0,0"+t);a++,n=f[o.text],i=o.text}else 1===o.type?n=f[i]:(a++,n=f[o.text],i=o.text);if(!(a+n<r.length))throw Error("Path data ended short");for(let t=a;t<a+n;t++){let e=r[t];if(1!==e.type)throw Error("Param not a number: "+i+","+e.text);s[s.length]=+e.text}if("number"!=typeof f[i])throw Error("Bad segment: "+i);{let t={key:i,data:s};e.push(t),a+=n,o=r[a],"M"===i&&(i="L"),"m"===i&&(i="l")}}return e}function m(t){let e=0,r=0,i=0,a=0,o=[];for(let{key:n,data:s}of t)switch(n){case"M":o.push({key:"M",data:[...s]}),[e,r]=s,[i,a]=s;break;case"m":e+=s[0],r+=s[1],o.push({key:"M",data:[e,r]}),i=e,a=r;break;case"L":o.push({key:"L",data:[...s]}),[e,r]=s;break;case"l":e+=s[0],r+=s[1],o.push({key:"L",data:[e,r]});break;case"C":o.push({key:"C",data:[...s]}),e=s[4],r=s[5];break;case"c":{let t=s.map((t,i)=>i%2?t+r:t+e);o.push({key:"C",data:t}),e=t[4],r=t[5];break}case"Q":o.push({key:"Q",data:[...s]}),e=s[2],r=s[3];break;case"q":{let t=s.map((t,i)=>i%2?t+r:t+e);o.push({key:"Q",data:t}),e=t[2],r=t[3];break}case"A":o.push({key:"A",data:[...s]}),e=s[5],r=s[6];break;case"a":e+=s[5],r+=s[6],o.push({key:"A",data:[s[0],s[1],s[2],s[3],s[4],e,r]});break;case"H":o.push({key:"H",data:[...s]}),e=s[0];break;case"h":e+=s[0],o.push({key:"H",data:[e]});break;case"V":o.push({key:"V",data:[...s]}),r=s[0];break;case"v":r+=s[0],o.push({key:"V",data:[r]});break;case"S":o.push({key:"S",data:[...s]}),e=s[2],r=s[3];break;case"s":{let t=s.map((t,i)=>i%2?t+r:t+e);o.push({key:"S",data:t}),e=t[2],r=t[3];break}case"T":o.push({key:"T",data:[...s]}),e=s[0],r=s[1];break;case"t":e+=s[0],r+=s[1],o.push({key:"T",data:[e,r]});break;case"Z":case"z":o.push({key:"Z",data:[]}),e=i,r=a}return o}function y(t){let e=[],r="",i=0,a=0,o=0,n=0,s=0,l=0;for(let{key:h,data:c}of t){switch(h){case"M":e.push({key:"M",data:[...c]}),[i,a]=c,[o,n]=c;break;case"C":e.push({key:"C",data:[...c]}),i=c[4],a=c[5],s=c[2],l=c[3];break;case"L":e.push({key:"L",data:[...c]}),[i,a]=c;break;case"H":i=c[0],e.push({key:"L",data:[i,a]});break;case"V":a=c[0],e.push({key:"L",data:[i,a]});break;case"S":{let t=0,o=0;"C"===r||"S"===r?(t=i+(i-s),o=a+(a-l)):(t=i,o=a),e.push({key:"C",data:[t,o,...c]}),s=c[0],l=c[1],i=c[2],a=c[3];break}case"T":{let[t,o]=c,n=0,h=0;"Q"===r||"T"===r?(n=i+(i-s),h=a+(a-l)):(n=i,h=a);let d=i+2*(n-i)/3,u=a+2*(h-a)/3,p=t+2*(n-t)/3,f=o+2*(h-o)/3;e.push({key:"C",data:[d,u,p,f,t,o]}),s=n,l=h,i=t,a=o;break}case"Q":{let[t,r,o,n]=c,h=i+2*(t-i)/3,d=a+2*(r-a)/3,u=o+2*(t-o)/3,p=n+2*(r-n)/3;e.push({key:"C",data:[h,d,u,p,o,n]}),s=t,l=r,i=o,a=n;break}case"A":{let t=Math.abs(c[0]),r=Math.abs(c[1]),o=c[2],n=c[3],s=c[4],l=c[5],h=c[6];0===t||0===r?(e.push({key:"C",data:[i,a,l,h,l,h]}),i=l,a=h):(i!==l||a!==h)&&((function t(e,r,i,a,o,n,s,l,h,c){let d=Math.PI*s/180,u=[],p=0,f=0,g=0,m=0;if(c)[p,f,g,m]=c;else{[e,r]=b(e,r,-d),[i,a]=b(i,a,-d);let t=(e-i)/2,s=(r-a)/2,c=t*t/(o*o)+s*s/(n*n);c>1&&(o*=c=Math.sqrt(c),n*=c);let u=o*o,y=n*n,C=(l===h?-1:1)*Math.sqrt(Math.abs((u*y-u*s*s-y*t*t)/(u*s*s+y*t*t)));g=C*o*s/n+(e+i)/2,m=-(C*n)*t/o+(r+a)/2,p=Math.asin(parseFloat(((r-m)/n).toFixed(9))),f=Math.asin(parseFloat(((a-m)/n).toFixed(9))),e<g&&(p=Math.PI-p),i<g&&(f=Math.PI-f),p<0&&(p=2*Math.PI+p),f<0&&(f=2*Math.PI+f),h&&p>f&&(p-=2*Math.PI),!h&&f>p&&(f-=2*Math.PI)}let y=f-p;if(Math.abs(y)>120*Math.PI/180){let e=f,r=i,l=a;u=t(i=g+o*Math.cos(f=h&&f>p?p+120*Math.PI/180*1:p+-(120*Math.PI/180*1)),a=m+n*Math.sin(f),r,l,o,n,s,0,h,[f,e,g,m])}y=f-p;let C=Math.cos(p),x=Math.cos(f),k=Math.tan(y/4),_=4/3*o*k,v=4/3*n*k,T=[e,r],A=[e+_*Math.sin(p),r-v*C],S=[i+_*Math.sin(f),a-v*x],w=[i,a];if(A[0]=2*T[0]-A[0],A[1]=2*T[1]-A[1],c)return[A,S,w].concat(u);{u=[A,S,w].concat(u);let t=[];for(let e=0;e<u.length;e+=3){let r=b(u[e][0],u[e][1],d),i=b(u[e+1][0],u[e+1][1],d),a=b(u[e+2][0],u[e+2][1],d);t.push([r[0],r[1],i[0],i[1],a[0],a[1]])}return t}})(i,a,l,h,t,r,o,n,s).forEach(function(t){e.push({key:"C",data:t})}),i=l,a=h);break}case"Z":e.push({key:"Z",data:[]}),i=o,a=n}r=h}return e}function b(t,e,r){return[t*Math.cos(r)-e*Math.sin(r),t*Math.sin(r)+e*Math.cos(r)]}let C={randOffset:function(t,e){return O(t,e)},randOffsetWithRange:function(t,e,r){return M(t,e,r)},ellipse:function(t,e,r,i,a){let o=v(r,i,a);return T(t,e,a,o).opset},doubleLineOps:function(t,e,r,i,a){return E(t,e,r,i,a,!0)}};function x(t,e,r,i,a){return{type:"path",ops:E(t,e,r,i,a)}}function k(t,e,r){let i=(t||[]).length;if(i>2){let a=[];for(let e=0;e<i-1;e++)a.push(...E(t[e][0],t[e][1],t[e+1][0],t[e+1][1],r));return e&&a.push(...E(t[i-1][0],t[i-1][1],t[0][0],t[0][1],r)),{type:"path",ops:a}}return 2===i?x(t[0][0],t[0][1],t[1][0],t[1][1],r):{type:"path",ops:[]}}function _(t,e){if(t.length){let r="number"==typeof t[0][0]?[t]:t,i=I(r[0],+(1+.2*e.roughness),e),a=e.disableMultiStroke?[]:I(r[0],1.5*(1+.22*e.roughness),F(e));for(let t=1;t<r.length;t++){let o=r[t];if(o.length){let t=I(o,+(1+.2*e.roughness),e),r=e.disableMultiStroke?[]:I(o,1.5*(1+.22*e.roughness),F(e));for(let e of t)"move"!==e.op&&i.push(e);for(let t of r)"move"!==t.op&&a.push(t)}}return{type:"path",ops:i.concat(a)}}return{type:"path",ops:[]}}function v(t,e,r){let i=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(t/2,2)+Math.pow(e/2,2))/2)),a=2*Math.PI/Math.ceil(Math.max(r.curveStepCount,r.curveStepCount/Math.sqrt(200)*i)),o=Math.abs(t/2),n=Math.abs(e/2),s=1-r.curveFitting;return o+=O(o*s,r),n+=O(n*s,r),{increment:a,rx:o,ry:n}}function T(t,e,r,i){let[a,o]=z(i.increment,t,e,i.rx,i.ry,1,i.increment*M(.1,M(.4,1,r),r),r),n=D(a,null,r);if(!r.disableMultiStroke&&0!==r.roughness){let[a]=z(i.increment,t,e,i.rx,i.ry,1.5,0,r),o=D(a,null,r);n=n.concat(o)}return{estimatedPoints:o,opset:{type:"path",ops:n}}}function A(t,e,r,i,a,o,n,s,l){let h=Math.abs(r/2),c=Math.abs(i/2);h+=O(.01*h,l),c+=O(.01*c,l);let d=a,u=o;for(;d<0;)d+=2*Math.PI,u+=2*Math.PI;u-d>2*Math.PI&&(d=0,u=2*Math.PI);let p=Math.min(2*Math.PI/l.curveStepCount/2,(u-d)/2),f=q(p,t,e,h,c,d,u,1,l);if(!l.disableMultiStroke){let r=q(p,t,e,h,c,d,u,1.5,l);f.push(...r)}return n&&(s?f.push(...E(t,e,t+h*Math.cos(d),e+c*Math.sin(d),l),...E(t,e,t+h*Math.cos(u),e+c*Math.sin(u),l)):f.push({op:"lineTo",data:[t,e]},{op:"lineTo",data:[t+h*Math.cos(d),e+c*Math.sin(d)]})),{type:"path",ops:f}}function S(t,e){let r=y(m(g(t))),i=[],a=[0,0],o=[0,0];for(let{key:t,data:n}of r)switch(t){case"M":o=[n[0],n[1]],a=[n[0],n[1]];break;case"L":i.push(...E(o[0],o[1],n[0],n[1],e)),o=[n[0],n[1]];break;case"C":{let[t,r,a,s,l,h]=n;i.push(...function(t,e,r,i,a,o,n,s){let l=[],h=[s.maxRandomnessOffset||1,(s.maxRandomnessOffset||1)+.3],c=[0,0],d=s.disableMultiStroke?1:2,u=s.preserveVertices;for(let p=0;p<d;p++)0===p?l.push({op:"move",data:[n[0],n[1]]}):l.push({op:"move",data:[n[0]+(u?0:O(h[0],s)),n[1]+(u?0:O(h[0],s))]}),c=u?[a,o]:[a+O(h[p],s),o+O(h[p],s)],l.push({op:"bcurveTo",data:[t+O(h[p],s),e+O(h[p],s),r+O(h[p],s),i+O(h[p],s),c[0],c[1]]});return l}(t,r,a,s,l,h,o,e)),o=[l,h];break}case"Z":i.push(...E(o[0],o[1],a[0],a[1],e)),o=[a[0],a[1]]}return{type:"path",ops:i}}function w(t,e){let r=[];for(let i of t)if(i.length){let t=e.maxRandomnessOffset||0,a=i.length;if(a>2){r.push({op:"move",data:[i[0][0]+O(t,e),i[0][1]+O(t,e)]});for(let o=1;o<a;o++)r.push({op:"lineTo",data:[i[o][0]+O(t,e),i[o][1]+O(t,e)]})}}return{type:"fillPath",ops:r}}function B(t,e){return(function(t,e){let r=t.fillStyle||"hachure";if(!u[r])switch(r){case"zigzag":u[r]||(u[r]=new s(e));break;case"cross-hatch":u[r]||(u[r]=new l(e));break;case"dots":u[r]||(u[r]=new h(e));break;case"dashed":u[r]||(u[r]=new c(e));break;case"zigzag-line":u[r]||(u[r]=new d(e));break;default:u[r="hachure"]||(u[r]=new o(e))}return u[r]})(e,C).fillPolygons(t,e)}function F(t){let e=Object.assign({},t);return e.randomizer=void 0,t.seed&&(e.seed=t.seed+1),e}function L(t){return t.randomizer||(t.randomizer=new p(t.seed||0)),t.randomizer.next()}function M(t,e,r,i=1){return r.roughness*i*(L(r)*(e-t)+t)}function O(t,e,r=1){return M(-t,t,e,r)}function E(t,e,r,i,a,o=!1){let n=o?a.disableMultiStrokeFill:a.disableMultiStroke,s=K(t,e,r,i,a,!0,!1);if(n)return s;let l=K(t,e,r,i,a,!0,!0);return s.concat(l)}function K(t,e,r,i,a,o,n){let s=Math.pow(t-r,2)+Math.pow(e-i,2),l=Math.sqrt(s),h=1;h=l<200?1:l>500?.4:-.0016668*l+1.233334;let c=a.maxRandomnessOffset||0;c*c*100>s&&(c=l/10);let d=c/2,u=.2+.2*L(a),p=a.bowing*a.maxRandomnessOffset*(i-e)/200,f=a.bowing*a.maxRandomnessOffset*(t-r)/200;p=O(p,a,h),f=O(f,a,h);let g=[],m=a.preserveVertices;return o&&(n?g.push({op:"move",data:[t+(m?0:O(d,a,h)),e+(m?0:O(d,a,h))]}):g.push({op:"move",data:[t+(m?0:O(c,a,h)),e+(m?0:O(c,a,h))]})),n?g.push({op:"bcurveTo",data:[p+t+(r-t)*u+O(d,a,h),f+e+(i-e)*u+O(d,a,h),p+t+2*(r-t)*u+O(d,a,h),f+e+2*(i-e)*u+O(d,a,h),r+(m?0:O(d,a,h)),i+(m?0:O(d,a,h))]}):g.push({op:"bcurveTo",data:[p+t+(r-t)*u+O(c,a,h),f+e+(i-e)*u+O(c,a,h),p+t+2*(r-t)*u+O(c,a,h),f+e+2*(i-e)*u+O(c,a,h),r+(m?0:O(c,a,h)),i+(m?0:O(c,a,h))]}),g}function I(t,e,r){if(!t.length)return[];let i=[];i.push([t[0][0]+O(e,r),t[0][1]+O(e,r)]),i.push([t[0][0]+O(e,r),t[0][1]+O(e,r)]);for(let a=1;a<t.length;a++)i.push([t[a][0]+O(e,r),t[a][1]+O(e,r)]),a===t.length-1&&i.push([t[a][0]+O(e,r),t[a][1]+O(e,r)]);return D(i,null,r)}function D(t,e,r){let i=t.length,a=[];if(i>3){let o=[],n=1-r.curveTightness;a.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2<i;e++){let r=t[e];o[0]=[r[0],r[1]],o[1]=[r[0]+(n*t[e+1][0]-n*t[e-1][0])/6,r[1]+(n*t[e+1][1]-n*t[e-1][1])/6],o[2]=[t[e+1][0]+(n*t[e][0]-n*t[e+2][0])/6,t[e+1][1]+(n*t[e][1]-n*t[e+2][1])/6],o[3]=[t[e+1][0],t[e+1][1]],a.push({op:"bcurveTo",data:[o[1][0],o[1][1],o[2][0],o[2][1],o[3][0],o[3][1]]})}if(e&&2===e.length){let t=r.maxRandomnessOffset;a.push({op:"lineTo",data:[e[0]+O(t,r),e[1]+O(t,r)]})}}else 3===i?(a.push({op:"move",data:[t[1][0],t[1][1]]}),a.push({op:"bcurveTo",data:[t[1][0],t[1][1],t[2][0],t[2][1],t[2][0],t[2][1]]})):2===i&&a.push(...K(t[0][0],t[0][1],t[1][0],t[1][1],r,!0,!0));return a}function z(t,e,r,i,a,o,n,s){let l=[],h=[];if(0===s.roughness){t/=4,h.push([e+i*Math.cos(-t),r+a*Math.sin(-t)]);for(let o=0;o<=2*Math.PI;o+=t){let t=[e+i*Math.cos(o),r+a*Math.sin(o)];l.push(t),h.push(t)}h.push([e+ +i,r+0*a]),h.push([e+i*Math.cos(t),r+a*Math.sin(t)])}else{let c=O(.5,s)-Math.PI/2;h.push([O(o,s)+e+.9*i*Math.cos(c-t),O(o,s)+r+.9*a*Math.sin(c-t)]);let d=2*Math.PI+c-.01;for(let n=c;n<d;n+=t){let t=[O(o,s)+e+i*Math.cos(n),O(o,s)+r+a*Math.sin(n)];l.push(t),h.push(t)}h.push([O(o,s)+e+i*Math.cos(c+2*Math.PI+.5*n),O(o,s)+r+a*Math.sin(c+2*Math.PI+.5*n)]),h.push([O(o,s)+e+.98*i*Math.cos(c+n),O(o,s)+r+.98*a*Math.sin(c+n)]),h.push([O(o,s)+e+.9*i*Math.cos(c+.5*n),O(o,s)+r+.9*a*Math.sin(c+.5*n)])}return[h,l]}function q(t,e,r,i,a,o,n,s,l){let h=o+O(.1,l),c=[];c.push([O(s,l)+e+.9*i*Math.cos(h-t),O(s,l)+r+.9*a*Math.sin(h-t)]);for(let o=h;o<=n;o+=t)c.push([O(s,l)+e+i*Math.cos(o),O(s,l)+r+a*Math.sin(o)]);return c.push([e+i*Math.cos(n),r+a*Math.sin(n)]),c.push([e+i*Math.cos(n),r+a*Math.sin(n)]),D(c,null,l)}function R(t,e=0){let r=t.length;if(r<3)throw Error("A curve must have at least three points.");let i=[];if(3===r)i.push([...t[0]],[...t[1]],[...t[2]],[...t[2]]);else{let r=[];r.push(t[0],t[0]);for(let e=1;e<t.length;e++)r.push(t[e]),e===t.length-1&&r.push(t[e]);let a=[],o=1-e;i.push([...r[0]]);for(let t=1;t+2<r.length;t++){let e=r[t];a[0]=[e[0],e[1]],a[1]=[e[0]+(o*r[t+1][0]-o*r[t-1][0])/6,e[1]+(o*r[t+1][1]-o*r[t-1][1])/6],a[2]=[r[t+1][0]+(o*r[t][0]-o*r[t+2][0])/6,r[t+1][1]+(o*r[t][1]-o*r[t+2][1])/6],a[3]=[r[t+1][0],r[t+1][1]],i.push(a[1],a[2],a[3])}}return i}function P(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)}function $(t,e,r){return[t[0]+(e[0]-t[0])*r,t[1]+(e[1]-t[1])*r]}function W(t,e,r,i,a){let o=a||[],n=t[e],s=t[r-1],l=0,h=1;for(let i=e+1;i<r-1;++i){let e=function(t,e,r){let i=P(e,r);if(0===i)return P(t,e);let a=((t[0]-e[0])*(r[0]-e[0])+(t[1]-e[1])*(r[1]-e[1]))/i;return P(t,$(e,r,a=Math.max(0,Math.min(1,a))))}(t[i],n,s);e>l&&(l=e,h=i)}return Math.sqrt(l)>i?(W(t,e,h+1,i,o),W(t,h,r,i,o)):(o.length||o.push(n),o.push(s)),o}function j(t,e=.15,r){let i=[],a=(t.length-1)/3;for(let r=0;r<a;r++)!function t(e,r,i,a){let o,n,s,l,h,c,d,u,p=a||[];if(o=e[r+0],n=e[r+1],s=e[r+2],l=e[r+3],h=3*n[0]-2*o[0]-l[0],h*=h,c=3*n[1]-2*o[1]-l[1],c*=c,d=3*s[0]-2*l[0]-o[0],d*=d,u=3*s[1]-2*l[1]-o[1],u*=u,h<d&&(h=d),c<u&&(c=u),h+c<i){let t=e[r+0];p.length?Math.sqrt(P(p[p.length-1],t))>1&&p.push(t):p.push(t),p.push(e[r+3])}else{let a=e[r+0],o=e[r+1],n=e[r+2],s=e[r+3],l=$(a,o,.5),h=$(o,n,.5),c=$(n,s,.5),d=$(l,h,.5),u=$(h,c,.5),f=$(d,u,.5);t([a,l,d,f],0,i,p),t([f,u,c,s],0,i,p)}return p}(t,3*r,e,i);return r&&r>0?W(i,0,i.length,r):i}let N="none";class H{constructor(t){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=t||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(0x80000000*Math.random())}_o(t){return t?Object.assign({},this.defaultOptions,t):this.defaultOptions}_d(t,e,r){return{shape:t,sets:e||[],options:r||this.defaultOptions}}line(t,e,r,i,a){let o=this._o(a);return this._d("line",[x(t,e,r,i,o)],o)}rectangle(t,e,r,i,a){var o,n,s,l;let h=this._o(a),c=[],d=k([[o=t,n=e],[o+(s=r),n],[o+s,n+(l=i)],[o,n+l]],!0,h);if(h.fill){let a=[[t,e],[t+r,e],[t+r,e+i],[t,e+i]];"solid"===h.fillStyle?c.push(w([a],h)):c.push(B([a],h))}return h.stroke!==N&&c.push(d),this._d("rectangle",c,h)}ellipse(t,e,r,i,a){let o=this._o(a),n=[],s=v(r,i,o),l=T(t,e,o,s);if(o.fill)if("solid"===o.fillStyle){let r=T(t,e,o,s).opset;r.type="fillPath",n.push(r)}else n.push(B([l.estimatedPoints],o));return o.stroke!==N&&n.push(l.opset),this._d("ellipse",n,o)}circle(t,e,r,i){let a=this.ellipse(t,e,r,r,i);return a.shape="circle",a}linearPath(t,e){let r=this._o(e);return this._d("linearPath",[k(t,!1,r)],r)}arc(t,e,r,i,a,o,n=!1,s){let l=this._o(s),h=[],c=A(t,e,r,i,a,o,n,!0,l);if(n&&l.fill)if("solid"===l.fillStyle){let n=Object.assign({},l);n.disableMultiStroke=!0;let s=A(t,e,r,i,a,o,!0,!1,n);s.type="fillPath",h.push(s)}else h.push(function(t,e,r,i,a,o,n){let s=Math.abs(r/2),l=Math.abs(i/2);s+=O(.01*s,n),l+=O(.01*l,n);let h=a,c=o;for(;h<0;)h+=2*Math.PI,c+=2*Math.PI;c-h>2*Math.PI&&(h=0,c=2*Math.PI);let d=(c-h)/n.curveStepCount,u=[];for(let r=h;r<=c;r+=d)u.push([t+s*Math.cos(r),e+l*Math.sin(r)]);return u.push([t+s*Math.cos(c),e+l*Math.sin(c)]),u.push([t,e]),B([u],n)}(t,e,r,i,a,o,l));return l.stroke!==N&&h.push(c),this._d("arc",h,l)}curve(t,e){let r=this._o(e),i=[],a=_(t,r);if(r.fill&&r.fill!==N)if("solid"===r.fillStyle){let e=_(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else{let e=[];if(t.length)for(let i of"number"==typeof t[0][0]?[t]:t)i.length<3?e.push(...i):3===i.length?e.push(...j(R([i[0],i[0],i[1],i[2]]),10,(1+r.roughness)/2)):e.push(...j(R(i),10,(1+r.roughness)/2));e.length&&i.push(B([e],r))}return r.stroke!==N&&i.push(a),this._d("curve",i,r)}polygon(t,e){let r=this._o(e),i=[],a=k(t,!0,r);return r.fill&&("solid"===r.fillStyle?i.push(w([t],r)):i.push(B([t],r))),r.stroke!==N&&i.push(a),this._d("polygon",i,r)}path(t,e){let r=this._o(e),i=[];if(!t)return this._d("path",i,r);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");let a=r.fill&&"transparent"!==r.fill&&r.fill!==N,o=r.stroke!==N,n=!!(r.simplification&&r.simplification<1),s=function(t,e,r){let i=y(m(g(t))),a=[],o=[],n=[0,0],s=[],l=()=>{s.length>=4&&o.push(...j(s,1)),s=[]},h=()=>{l(),o.length&&(a.push(o),o=[])};for(let{key:t,data:e}of i)switch(t){case"M":h(),n=[e[0],e[1]],o.push(n);break;case"L":l(),o.push([e[0],e[1]]);break;case"C":if(!s.length){let t=o.length?o[o.length-1]:n;s.push([t[0],t[1]])}s.push([e[0],e[1]]),s.push([e[2],e[3]]),s.push([e[4],e[5]]);break;case"Z":l(),o.push([n[0],n[1]])}if(h(),!r)return a;let c=[];for(let t of a){let e=W(t,0,t.length,r);e.length&&c.push(e)}return c}(t,0,n?4-4*(r.simplification||1):(1+r.roughness)/2),l=S(t,r);if(a)if("solid"===r.fillStyle)if(1===s.length){let e=S(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else i.push(w(s,r));else i.push(B(s,r));return o&&(n?s.forEach(t=>{i.push(k(t,!1,r))}):i.push(l)),this._d("path",i,r)}opsToPath(t,e){let r="";for(let i of t.ops){let t="number"==typeof e&&e>=0?i.data.map(t=>+t.toFixed(e)):i.data;switch(i.op){case"move":r+=`M${t[0]} ${t[1]} `;break;case"bcurveTo":r+=`C${t[0]} ${t[1]}, ${t[2]} ${t[3]}, ${t[4]} ${t[5]} `;break;case"lineTo":r+=`L${t[0]} ${t[1]} `}}return r.trim()}toPaths(t){let e=t.sets||[],r=t.options||this.defaultOptions,i=[];for(let t of e){let e=null;switch(t.type){case"path":e={d:this.opsToPath(t),stroke:r.stroke,strokeWidth:r.strokeWidth,fill:N};break;case"fillPath":e={d:this.opsToPath(t),stroke:N,strokeWidth:0,fill:r.fill||N};break;case"fillSketch":e=this.fillSketch(t,r)}e&&i.push(e)}return i}fillSketch(t,e){let r=e.fillWeight;return r<0&&(r=e.strokeWidth/2),{d:this.opsToPath(t),stroke:e.fill||N,strokeWidth:r,fill:N}}_mergedShape(t){return t.filter((t,e)=>0===e||"move"!==t.op)}}class U{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new H(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),i=this.ctx,a=t.options.fixedDecimalPlaceDigits;for(let o of e)switch(o.type){case"path":i.save(),i.strokeStyle="none"===r.stroke?"transparent":r.stroke,i.lineWidth=r.strokeWidth,r.strokeLineDash&&i.setLineDash(r.strokeLineDash),r.strokeLineDashOffset&&(i.lineDashOffset=r.strokeLineDashOffset),this._drawToContext(i,o,a),i.restore();break;case"fillPath":{i.save(),i.fillStyle=r.fill||"";let e="curve"===t.shape||"polygon"===t.shape||"path"===t.shape?"evenodd":"nonzero";this._drawToContext(i,o,a,e),i.restore();break}case"fillSketch":this.fillSketch(i,o,r)}}fillSketch(t,e,r){let i=r.fillWeight;i<0&&(i=r.strokeWidth/2),t.save(),r.fillLineDash&&t.setLineDash(r.fillLineDash),r.fillLineDashOffset&&(t.lineDashOffset=r.fillLineDashOffset),t.strokeStyle=r.fill||"",t.lineWidth=i,this._drawToContext(t,e,r.fixedDecimalPlaceDigits),t.restore()}_drawToContext(t,e,r,i="nonzero"){for(let i of(t.beginPath(),e.ops)){let e="number"==typeof r&&r>=0?i.data.map(t=>+t.toFixed(r)):i.data;switch(i.op){case"move":t.moveTo(e[0],e[1]);break;case"bcurveTo":t.bezierCurveTo(e[0],e[1],e[2],e[3],e[4],e[5]);break;case"lineTo":t.lineTo(e[0],e[1])}}"fillPath"===e.type?t.fill(i):t.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(t,e,r,i,a){let o=this.gen.line(t,e,r,i,a);return this.draw(o),o}rectangle(t,e,r,i,a){let o=this.gen.rectangle(t,e,r,i,a);return this.draw(o),o}ellipse(t,e,r,i,a){let o=this.gen.ellipse(t,e,r,i,a);return this.draw(o),o}circle(t,e,r,i){let a=this.gen.circle(t,e,r,i);return this.draw(a),a}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r),r}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r),r}arc(t,e,r,i,a,o,n=!1,s){let l=this.gen.arc(t,e,r,i,a,o,n,s);return this.draw(l),l}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r),r}path(t,e){let r=this.gen.path(t,e);return this.draw(r),r}}let Y="http://www.w3.org/2000/svg";class G{constructor(t,e){this.svg=t,this.gen=new H(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),i=this.svg.ownerDocument||window.document,a=i.createElementNS(Y,"g"),o=t.options.fixedDecimalPlaceDigits;for(let n of e){let e=null;switch(n.type){case"path":(e=i.createElementNS(Y,"path")).setAttribute("d",this.opsToPath(n,o)),e.setAttribute("stroke",r.stroke),e.setAttribute("stroke-width",r.strokeWidth+""),e.setAttribute("fill","none"),r.strokeLineDash&&e.setAttribute("stroke-dasharray",r.strokeLineDash.join(" ").trim()),r.strokeLineDashOffset&&e.setAttribute("stroke-dashoffset",`${r.strokeLineDashOffset}`);break;case"fillPath":(e=i.createElementNS(Y,"path")).setAttribute("d",this.opsToPath(n,o)),e.setAttribute("stroke","none"),e.setAttribute("stroke-width","0"),e.setAttribute("fill",r.fill||""),"curve"!==t.shape&&"polygon"!==t.shape||e.setAttribute("fill-rule","evenodd");break;case"fillSketch":e=this.fillSketch(i,n,r)}e&&a.appendChild(e)}return a}fillSketch(t,e,r){let i=r.fillWeight;i<0&&(i=r.strokeWidth/2);let a=t.createElementNS(Y,"path");return a.setAttribute("d",this.opsToPath(e,r.fixedDecimalPlaceDigits)),a.setAttribute("stroke",r.fill||""),a.setAttribute("stroke-width",i+""),a.setAttribute("fill","none"),r.fillLineDash&&a.setAttribute("stroke-dasharray",r.fillLineDash.join(" ").trim()),r.fillLineDashOffset&&a.setAttribute("stroke-dashoffset",`${r.fillLineDashOffset}`),a}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,e){return this.gen.opsToPath(t,e)}line(t,e,r,i,a){let o=this.gen.line(t,e,r,i,a);return this.draw(o)}rectangle(t,e,r,i,a){let o=this.gen.rectangle(t,e,r,i,a);return this.draw(o)}ellipse(t,e,r,i,a){let o=this.gen.ellipse(t,e,r,i,a);return this.draw(o)}circle(t,e,r,i){let a=this.gen.circle(t,e,r,i);return this.draw(a)}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r)}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r)}arc(t,e,r,i,a,o,n=!1,s){let l=this.gen.arc(t,e,r,i,a,o,n,s);return this.draw(l)}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r)}path(t,e){let r=this.gen.path(t,e);return this.draw(r)}}var V={canvas:(t,e)=>new U(t,e),svg:(t,e)=>new G(t,e),generator:t=>new H(t),newSeed:()=>H.newSeed()}},41455:(t,e,r)=>{"use strict";r.d(e,{A:()=>te});let{entries:i,setPrototypeOf:a,isFrozen:o,getPrototypeOf:n,getOwnPropertyDescriptor:s}=Object,{freeze:l,seal:h,create:c}=Object,{apply:d,construct:u}="undefined"!=typeof Reflect&&Reflect;l||(l=function(t){return t}),h||(h=function(t){return t}),d||(d=function(t,e){for(var r=arguments.length,i=Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];return t.apply(e,i)}),u||(u=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];return new t(...r)});let p=w(Array.prototype.forEach),f=w(Array.prototype.lastIndexOf),g=w(Array.prototype.pop),m=w(Array.prototype.push),y=w(Array.prototype.splice),b=w(String.prototype.toLowerCase),C=w(String.prototype.toString),x=w(String.prototype.match),k=w(String.prototype.replace),_=w(String.prototype.indexOf),v=w(String.prototype.trim),T=w(Object.prototype.hasOwnProperty),A=w(RegExp.prototype.test),S=(Z=TypeError,function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return u(Z,e)});function w(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return d(t,e,i)}}function B(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;a&&a(t,null);let i=e.length;for(;i--;){let a=e[i];if("string"==typeof a){let t=r(a);t!==a&&(o(e)||(e[i]=t),a=t)}t[a]=!0}return t}function F(t){let e=c(null);for(let[r,a]of i(t))T(t,r)&&(Array.isArray(a)?e[r]=function(t){for(let e=0;e<t.length;e++)T(t,e)||(t[e]=null);return t}(a):a&&"object"==typeof a&&a.constructor===Object?e[r]=F(a):e[r]=a);return e}function L(t,e){for(;null!==t;){let r=s(t,e);if(r){if(r.get)return w(r.get);if("function"==typeof r.value)return w(r.value)}t=n(t)}return function(){return null}}let M=l(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),O=l(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),E=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),K=l(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=l(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),D=l(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),z=l(["#text"]),q=l(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),R=l(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=l(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),$=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),W=h(/\{\{[\w\W]*|[\w\W]*\}\}/gm),j=h(/<%[\w\W]*|[\w\W]*%>/gm),N=h(/\$\{[\w\W]*/gm),H=h(/^data-[\-\w.\u00B7-\uFFFF]+$/),U=h(/^aria-[\-\w]+$/),Y=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),G=h(/^(?:\w+script|data):/i),V=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=h(/^html$/i);var Z,Q=Object.freeze({__proto__:null,ARIA_ATTR:U,ATTR_WHITESPACE:V,CUSTOM_ELEMENT:h(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:H,DOCTYPE_NAME:X,ERB_EXPR:j,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:G,MUSTACHE_EXPR:W,TMPLIT_EXPR:N});let J=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let r=null,i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(r=e.getAttribute(i));let a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+a+" could not be created."),null}},tt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var te=function t(){let e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,a=e=>t(e);if(a.version="3.3.0",a.removed=[],!r||!r.document||9!==r.document.nodeType||!r.Element)return a.isSupported=!1,a;let{document:o}=r,n=o,s=n.currentScript,{DocumentFragment:h,HTMLTemplateElement:d,Node:u,Element:w,NodeFilter:W,NamedNodeMap:j=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:N,DOMParser:H,trustedTypes:U}=r,G=w.prototype,V=L(G,"cloneNode"),Z=L(G,"remove"),te=L(G,"nextSibling"),tr=L(G,"childNodes"),ti=L(G,"parentNode");if("function"==typeof d){let t=o.createElement("template");t.content&&t.content.ownerDocument&&(o=t.content.ownerDocument)}let ta="",{implementation:to,createNodeIterator:tn,createDocumentFragment:ts,getElementsByTagName:tl}=o,{importNode:th}=n,tc=tt();a.isSupported="function"==typeof i&&"function"==typeof ti&&to&&void 0!==to.createHTMLDocument;let{MUSTACHE_EXPR:td,ERB_EXPR:tu,TMPLIT_EXPR:tp,DATA_ATTR:tf,ARIA_ATTR:tg,IS_SCRIPT_OR_DATA:tm,ATTR_WHITESPACE:ty,CUSTOM_ELEMENT:tb}=Q,{IS_ALLOWED_URI:tC}=Q,tx=null,tk=B({},[...M,...O,...E,...I,...z]),t_=null,tv=B({},[...q,...R,...P,...$]),tT=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),tA=null,tS=null,tw=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),tB=!0,tF=!0,tL=!1,tM=!0,tO=!1,tE=!0,tK=!1,tI=!1,tD=!1,tz=!1,tq=!1,tR=!1,tP=!0,t$=!1,tW=!0,tj=!1,tN={},tH=null,tU=B({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),tY=null,tG=B({},["audio","video","img","source","image","track"]),tV=null,tX=B({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tZ="http://www.w3.org/1998/Math/MathML",tQ="http://www.w3.org/2000/svg",tJ="http://www.w3.org/1999/xhtml",t0=tJ,t1=!1,t2=null,t5=B({},[tZ,tQ,tJ],C),t3=B({},["mi","mo","mn","ms","mtext"]),t6=B({},["annotation-xml"]),t4=B({},["title","style","font","a","script"]),t8=null,t9=["application/xhtml+xml","text/html"],t7=null,et=null,ee=o.createElement("form"),er=function(t){return t instanceof RegExp||t instanceof Function},ei=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!et||et!==t){if(t&&"object"==typeof t||(t={}),t=F(t),t7="application/xhtml+xml"===(t8=-1===t9.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?C:b,tx=T(t,"ALLOWED_TAGS")?B({},t.ALLOWED_TAGS,t7):tk,t_=T(t,"ALLOWED_ATTR")?B({},t.ALLOWED_ATTR,t7):tv,t2=T(t,"ALLOWED_NAMESPACES")?B({},t.ALLOWED_NAMESPACES,C):t5,tV=T(t,"ADD_URI_SAFE_ATTR")?B(F(tX),t.ADD_URI_SAFE_ATTR,t7):tX,tY=T(t,"ADD_DATA_URI_TAGS")?B(F(tG),t.ADD_DATA_URI_TAGS,t7):tG,tH=T(t,"FORBID_CONTENTS")?B({},t.FORBID_CONTENTS,t7):tU,tA=T(t,"FORBID_TAGS")?B({},t.FORBID_TAGS,t7):F({}),tS=T(t,"FORBID_ATTR")?B({},t.FORBID_ATTR,t7):F({}),tN=!!T(t,"USE_PROFILES")&&t.USE_PROFILES,tB=!1!==t.ALLOW_ARIA_ATTR,tF=!1!==t.ALLOW_DATA_ATTR,tL=t.ALLOW_UNKNOWN_PROTOCOLS||!1,tM=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,tO=t.SAFE_FOR_TEMPLATES||!1,tE=!1!==t.SAFE_FOR_XML,tK=t.WHOLE_DOCUMENT||!1,tz=t.RETURN_DOM||!1,tq=t.RETURN_DOM_FRAGMENT||!1,tR=t.RETURN_TRUSTED_TYPE||!1,tD=t.FORCE_BODY||!1,tP=!1!==t.SANITIZE_DOM,t$=t.SANITIZE_NAMED_PROPS||!1,tW=!1!==t.KEEP_CONTENT,tj=t.IN_PLACE||!1,tC=t.ALLOWED_URI_REGEXP||Y,t0=t.NAMESPACE||tJ,t3=t.MATHML_TEXT_INTEGRATION_POINTS||t3,t6=t.HTML_INTEGRATION_POINTS||t6,tT=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&er(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(tT.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&er(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(tT.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(tT.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tO&&(tF=!1),tq&&(tz=!0),tN&&(tx=B({},z),t_=[],!0===tN.html&&(B(tx,M),B(t_,q)),!0===tN.svg&&(B(tx,O),B(t_,R),B(t_,$)),!0===tN.svgFilters&&(B(tx,E),B(t_,R),B(t_,$)),!0===tN.mathMl&&(B(tx,I),B(t_,P),B(t_,$))),t.ADD_TAGS&&("function"==typeof t.ADD_TAGS?tw.tagCheck=t.ADD_TAGS:(tx===tk&&(tx=F(tx)),B(tx,t.ADD_TAGS,t7))),t.ADD_ATTR&&("function"==typeof t.ADD_ATTR?tw.attributeCheck=t.ADD_ATTR:(t_===tv&&(t_=F(t_)),B(t_,t.ADD_ATTR,t7))),t.ADD_URI_SAFE_ATTR&&B(tV,t.ADD_URI_SAFE_ATTR,t7),t.FORBID_CONTENTS&&(tH===tU&&(tH=F(tH)),B(tH,t.FORBID_CONTENTS,t7)),tW&&(tx["#text"]=!0),tK&&B(tx,["html","head","body"]),tx.table&&(B(tx,["tbody"]),delete tA.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ta=(e=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===e&&(e=J(U,s)),null!==e&&"string"==typeof ta&&(ta=e.createHTML(""));l&&l(t),et=t}},ea=B({},[...O,...E,...K]),eo=B({},[...I,...D]),en=function(t){let e=ti(t);e&&e.tagName||(e={namespaceURI:t0,tagName:"template"});let r=b(t.tagName),i=b(e.tagName);return!!t2[t.namespaceURI]&&(t.namespaceURI===tQ?e.namespaceURI===tJ?"svg"===r:e.namespaceURI===tZ?"svg"===r&&("annotation-xml"===i||t3[i]):!!ea[r]:t.namespaceURI===tZ?e.namespaceURI===tJ?"math"===r:e.namespaceURI===tQ?"math"===r&&t6[i]:!!eo[r]:t.namespaceURI===tJ?(e.namespaceURI!==tQ||!!t6[i])&&(e.namespaceURI!==tZ||!!t3[i])&&!eo[r]&&(t4[r]||!ea[r]):"application/xhtml+xml"===t8&&!!t2[t.namespaceURI])},es=function(t){m(a.removed,{element:t});try{ti(t).removeChild(t)}catch(e){Z(t)}},el=function(t,e){try{m(a.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){m(a.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(tz||tq)try{es(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},eh=function(t){let r=null,i=null;if(tD)t="<remove></remove>"+t;else{let e=x(t,/^[\r\n\t ]+/);i=e&&e[0]}"application/xhtml+xml"===t8&&t0===tJ&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");let a=e?e.createHTML(t):t;if(t0===tJ)try{r=new H().parseFromString(a,t8)}catch(t){}if(!r||!r.documentElement){r=to.createDocument(t0,"template",null);try{r.documentElement.innerHTML=t1?ta:a}catch(t){}}let n=r.body||r.documentElement;return(t&&i&&n.insertBefore(o.createTextNode(i),n.childNodes[0]||null),t0===tJ)?tl.call(r,tK?"html":"body")[0]:tK?r.documentElement:n},ec=function(t){return tn.call(t.ownerDocument||t,t,W.SHOW_ELEMENT|W.SHOW_COMMENT|W.SHOW_TEXT|W.SHOW_PROCESSING_INSTRUCTION|W.SHOW_CDATA_SECTION,null)},ed=function(t){return t instanceof N&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof j)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},eu=function(t){return"function"==typeof u&&t instanceof u};function ep(t,e,r){p(t,t=>{t.call(a,e,r,et)})}let ef=function(t){let e=null;if(ep(tc.beforeSanitizeElements,t,null),ed(t))return es(t),!0;let r=t7(t.nodeName);if(ep(tc.uponSanitizeElement,t,{tagName:r,allowedTags:tx}),tE&&t.hasChildNodes()&&!eu(t.firstElementChild)&&A(/<[/\w!]/g,t.innerHTML)&&A(/<[/\w!]/g,t.textContent)||7===t.nodeType||tE&&8===t.nodeType&&A(/<[/\w]/g,t.data))return es(t),!0;if(!(tw.tagCheck instanceof Function&&tw.tagCheck(r))&&(!tx[r]||tA[r])){if(!tA[r]&&em(r)&&(tT.tagNameCheck instanceof RegExp&&A(tT.tagNameCheck,r)||tT.tagNameCheck instanceof Function&&tT.tagNameCheck(r)))return!1;if(tW&&!tH[r]){let e=ti(t)||t.parentNode,r=tr(t)||t.childNodes;if(r&&e){let i=r.length;for(let a=i-1;a>=0;--a){let i=V(r[a],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,te(t))}}}return es(t),!0}return t instanceof w&&!en(t)||("noscript"===r||"noembed"===r||"noframes"===r)&&A(/<\/no(script|embed|frames)/i,t.innerHTML)?(es(t),!0):(tO&&3===t.nodeType&&(e=t.textContent,p([td,tu,tp],t=>{e=k(e,t," ")}),t.textContent!==e&&(m(a.removed,{element:t.cloneNode()}),t.textContent=e)),ep(tc.afterSanitizeElements,t,null),!1)},eg=function(t,e,r){if(tP&&("id"===e||"name"===e)&&(r in o||r in ee))return!1;if(tF&&!tS[e]&&A(tf,e));else if(tB&&A(tg,e));else if(tw.attributeCheck instanceof Function&&tw.attributeCheck(e,t));else if(!t_[e]||tS[e]){if(!(em(t)&&(tT.tagNameCheck instanceof RegExp&&A(tT.tagNameCheck,t)||tT.tagNameCheck instanceof Function&&tT.tagNameCheck(t))&&(tT.attributeNameCheck instanceof RegExp&&A(tT.attributeNameCheck,e)||tT.attributeNameCheck instanceof Function&&tT.attributeNameCheck(e,t))||"is"===e&&tT.allowCustomizedBuiltInElements&&(tT.tagNameCheck instanceof RegExp&&A(tT.tagNameCheck,r)||tT.tagNameCheck instanceof Function&&tT.tagNameCheck(r))))return!1}else if(tV[e]);else if(A(tC,k(r,ty,"")));else if(("src"===e||"xlink:href"===e||"href"===e)&&"script"!==t&&0===_(r,"data:")&&tY[t]);else if(tL&&!A(tm,k(r,ty,"")));else if(r)return!1;return!0},em=function(t){return"annotation-xml"!==t&&x(t,tb)},ey=function(t){ep(tc.beforeSanitizeAttributes,t,null);let{attributes:r}=t;if(!r||ed(t))return;let i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:t_,forceKeepAttr:void 0},o=r.length;for(;o--;){let{name:n,namespaceURI:s,value:l}=r[o],h=t7(n),c="value"===n?l:v(l);if(i.attrName=h,i.attrValue=c,i.keepAttr=!0,i.forceKeepAttr=void 0,ep(tc.uponSanitizeAttribute,t,i),c=i.attrValue,t$&&("id"===h||"name"===h)&&(el(n,t),c="user-content-"+c),tE&&A(/((--!?|])>)|<\/(style|title|textarea)/i,c)||"attributename"===h&&x(c,"href")){el(n,t);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr||!tM&&A(/\/>/i,c)){el(n,t);continue}tO&&p([td,tu,tp],t=>{c=k(c,t," ")});let d=t7(t.nodeName);if(!eg(d,h,c)){el(n,t);continue}if(e&&"object"==typeof U&&"function"==typeof U.getAttributeType)if(s);else switch(U.getAttributeType(d,h)){case"TrustedHTML":c=e.createHTML(c);break;case"TrustedScriptURL":c=e.createScriptURL(c)}if(c!==l)try{s?t.setAttributeNS(s,n,c):t.setAttribute(n,c),ed(t)?es(t):g(a.removed)}catch(e){el(n,t)}}ep(tc.afterSanitizeAttributes,t,null)},eb=function t(e){let r=null,i=ec(e);for(ep(tc.beforeSanitizeShadowDOM,e,null);r=i.nextNode();)ep(tc.uponSanitizeShadowNode,r,null),ef(r),ey(r),r.content instanceof h&&t(r.content);ep(tc.afterSanitizeShadowDOM,e,null)};return a.sanitize=function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,o=null,s=null,l=null;if((t1=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!eu(t))if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw S("dirty is not a string, aborting")}else throw S("toString is not a function");if(!a.isSupported)return t;if(tI||ei(r),a.removed=[],"string"==typeof t&&(tj=!1),tj){if(t.nodeName){let e=t7(t.nodeName);if(!tx[e]||tA[e])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof u)1===(o=(i=eh("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?i=o:i.appendChild(o);else{if(!tz&&!tO&&!tK&&-1===t.indexOf("<"))return e&&tR?e.createHTML(t):t;if(!(i=eh(t)))return tz?null:tR?ta:""}i&&tD&&es(i.firstChild);let c=ec(tj?t:i);for(;s=c.nextNode();)ef(s),ey(s),s.content instanceof h&&eb(s.content);if(tj)return t;if(tz){if(tq)for(l=ts.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return(t_.shadowroot||t_.shadowrootmode)&&(l=th.call(n,l,!0)),l}let d=tK?i.outerHTML:i.innerHTML;return tK&&tx["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&A(X,i.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+d),tO&&p([td,tu,tp],t=>{d=k(d,t," ")}),e&&tR?e.createHTML(d):d},a.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ei(t),tI=!0},a.clearConfig=function(){et=null,tI=!1},a.isValidAttribute=function(t,e,r){return et||ei({}),eg(t7(t),t7(e),r)},a.addHook=function(t,e){"function"==typeof e&&m(tc[t],e)},a.removeHook=function(t,e){if(void 0!==e){let r=f(tc[t],e);return -1===r?void 0:y(tc[t],r,1)[0]}return g(tc[t])},a.removeHooks=function(t){tc[t]=[]},a.removeAllHooks=function(){tc=tt()},a}()},42225:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var i,a,o=r(85541),n=r(27872),s=r(16047),l=n.A?function(t,e){return(0,n.A)(t,"toString",{configurable:!0,enumerable:!1,value:(0,o.A)(e),writable:!0})}:s.A,h=Date.now;let c=(i=0,a=0,function(){var t=h(),e=16-(t-a);if(a=t,e>0){if(++i>=800)return arguments[0]}else i=0;return l.apply(void 0,arguments)})},47312:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var i=r(79898),a=r(5653);let o=function(t){return(0,a.A)(t)&&"[object Arguments]"==(0,i.A)(t)};var n=Object.prototype,s=n.hasOwnProperty,l=n.propertyIsEnumerable;let h=o(function(){return arguments}())?o:function(t){return(0,a.A)(t)&&s.call(t,"callee")&&!l.call(t,"callee")}},48080:(t,e,r)=>{"use strict";r.d(e,{IU:()=>b,Jo:()=>L,T_:()=>_,g0:()=>V,jP:()=>x});var i=r(50785),a=r(87005),o=r(24726),n=r(56128),s=r(12119),l=r(59661),h=r(77109),c=r(69830),d=r(10791),u=r(38177),p=(0,c.K2)((t,e,r,i,a,o)=>{e.arrowTypeStart&&g(t,"start",e.arrowTypeStart,r,i,a,o),e.arrowTypeEnd&&g(t,"end",e.arrowTypeEnd,r,i,a,o)},"addEdgeMarkers"),f={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},g=(0,c.K2)((t,e,r,i,a,o,n)=>{let s=f[r];if(!s)return void c.Rm.warn(`Unknown arrow type: ${r}`);let l=s.type,h=`${a}_${o}-${l}${"start"===e?"Start":"End"}`;if(n&&""!==n.trim()){let r=n.replace(/[^\dA-Za-z]/g,"_"),a=`${h}_${r}`;if(!document.getElementById(a)){let t=document.getElementById(h);if(t){let e=t.cloneNode(!0);e.id=a,e.querySelectorAll("path, circle, line").forEach(t=>{t.setAttribute("stroke",n),s.fill&&t.setAttribute("fill",n)}),t.parentNode?.appendChild(e)}}t.attr(`marker-${e}`,`url(${i}#${a})`)}else t.attr(`marker-${e}`,`url(${i}#${h})`)},"addEdgeMarker"),m=new Map,y=new Map,b=(0,c.K2)(()=>{m.clear(),y.clear()},"clear"),C=(0,c.K2)(t=>t?t.reduce((t,e)=>t+";"+e,""):"","getLabelStyles"),x=(0,c.K2)(async(t,e)=>{let r,i=(0,h._3)((0,h.D7)().flowchart.htmlLabels),{labelStyles:o}=(0,n.GX)(e);e.labelStyle=o;let l=await (0,s.GZ)(t,e.label,{style:e.labelStyle,useHtmlLabels:i,addSvgBackground:!0,isNode:!1});c.Rm.info("abc82",e,e.labelType);let u=t.insert("g").attr("class","edgeLabel"),p=u.insert("g").attr("class","label").attr("data-id",e.id);p.node().appendChild(l);let f=l.getBBox();if(i){let t=l.children[0],e=(0,d.Ltv)(l);f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}if(p.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),m.set(e.id,u),e.width=f.width,e.height=f.height,e.startLabelLeft){let i=await (0,a.DA)(e.startLabelLeft,C(e.labelStyle)),o=t.insert("g").attr("class","edgeTerminals"),n=o.insert("g").attr("class","inner");r=n.node().appendChild(i);let s=i.getBBox();n.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),y.get(e.id)||y.set(e.id,{}),y.get(e.id).startLeft=o,k(r,e.startLabelLeft)}if(e.startLabelRight){let i=await (0,a.DA)(e.startLabelRight,C(e.labelStyle)),o=t.insert("g").attr("class","edgeTerminals"),n=o.insert("g").attr("class","inner");r=o.node().appendChild(i),n.node().appendChild(i);let s=i.getBBox();n.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),y.get(e.id)||y.set(e.id,{}),y.get(e.id).startRight=o,k(r,e.startLabelRight)}if(e.endLabelLeft){let i=await (0,a.DA)(e.endLabelLeft,C(e.labelStyle)),o=t.insert("g").attr("class","edgeTerminals"),n=o.insert("g").attr("class","inner");r=n.node().appendChild(i);let s=i.getBBox();n.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),o.node().appendChild(i),y.get(e.id)||y.set(e.id,{}),y.get(e.id).endLeft=o,k(r,e.endLabelLeft)}if(e.endLabelRight){let i=await (0,a.DA)(e.endLabelRight,C(e.labelStyle)),o=t.insert("g").attr("class","edgeTerminals"),n=o.insert("g").attr("class","inner");r=n.node().appendChild(i);let s=i.getBBox();n.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),o.node().appendChild(i),y.get(e.id)||y.set(e.id,{}),y.get(e.id).endRight=o,k(r,e.endLabelRight)}return l},"insertEdgeLabel");function k(t,e){(0,h.D7)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,c.K2)(k,"setTerminalWidth");var _=(0,c.K2)((t,e)=>{c.Rm.debug("Moving label abc88 ",t.id,t.label,m.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath,i=(0,h.D7)(),{subGraphTitleTotalMargin:a}=(0,o.O)(i);if(t.label){let i=m.get(t.id),o=t.x,n=t.y;if(r){let i=l._K.calcLabelPosition(r);c.Rm.debug("Moving label "+t.label+" from (",o,",",n,") to (",i.x,",",i.y,") abc88"),e.updatedPath&&(o=i.x,n=i.y)}i.attr("transform",`translate(${o}, ${n+a/2})`)}if(t.startLabelLeft){let e=y.get(t.id).startLeft,i=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_left",r);i=e.x,a=e.y}e.attr("transform",`translate(${i}, ${a})`)}if(t.startLabelRight){let e=y.get(t.id).startRight,i=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_right",r);i=e.x,a=e.y}e.attr("transform",`translate(${i}, ${a})`)}if(t.endLabelLeft){let e=y.get(t.id).endLeft,i=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_left",r);i=e.x,a=e.y}e.attr("transform",`translate(${i}, ${a})`)}if(t.endLabelRight){let e=y.get(t.id).endRight,i=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_right",r);i=e.x,a=e.y}e.attr("transform",`translate(${i}, ${a})`)}},"positionEdgeLabel"),v=(0,c.K2)((t,e)=>{let r=t.x,i=t.y,a=Math.abs(e.x-r),o=Math.abs(e.y-i),n=t.width/2,s=t.height/2;return a>=n||o>=s},"outsideNode"),T=(0,c.K2)((t,e,r)=>{c.Rm.debug(`intersection calc abc89:
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[63617],{1124:(t,e,r)=>{"use strict";e.J=void 0;var i=r(57773);function a(t){try{return decodeURIComponent(t)}catch(e){return t}}e.J=function(t){if(!t)return i.BLANK_URL;var e,r=a(t.trim());do e=(r=a(r=r.replace(i.ctrlCharactersRegex,"").replace(i.htmlEntitiesRegex,function(t,e){return String.fromCharCode(e)}).replace(i.htmlCtrlEntityRegex,"").replace(i.ctrlCharactersRegex,"").replace(i.whitespaceEscapeCharsRegex,"").trim())).match(i.ctrlCharactersRegex)||r.match(i.htmlEntitiesRegex)||r.match(i.htmlCtrlEntityRegex)||r.match(i.whitespaceEscapeCharsRegex);while(e&&e.length>0);var o=r;if(!o)return i.BLANK_URL;if(i.relativeFirstCharacters.indexOf(o[0])>-1)return o;var n=o.trimStart(),s=n.match(i.urlSchemeRegex);if(!s)return o;var l=s[0].toLowerCase().trim();if(i.invalidProtocolRegex.test(l))return i.BLANK_URL;var h=n.replace(/\\/g,"/");if("mailto:"===l||l.includes("://"))return h;if("http:"===l||"https:"===l){if(!URL.canParse(h))return i.BLANK_URL;var c=new URL(h);return c.protocol=c.protocol.toLowerCase(),c.hostname=c.hostname.toLowerCase(),c.toString()}return h}},1617:(t,e,r)=>{"use strict";r.d(e,{D:()=>n});var i=r(77109),a=r(69830),o=r(10791),n=(0,a.K2)(t=>{let{securityLevel:e}=(0,i.D7)(),r=(0,o.Ltv)("body");if("sandbox"===e){let e=(0,o.Ltv)(`#i${t}`),i=e.node()?.contentDocument??document;r=(0,o.Ltv)(i.body)}return r.select(`#${t}`)},"selectSvgElement")},2005:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},2724:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i="object"==typeof global&&global&&global.Object===Object&&global},4202:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){return function(e){return t(e)}}},4317:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var i=r(62330),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof module&&module&&!module.nodeType&&module,n=o&&o.exports===a?i.A.Buffer:void 0,s=n?n.allocUnsafe:void 0;let l=function(t,e){if(e)return t.slice();var r=t.length,i=s?s(r):new t.constructor(r);return t.copy(i),i}},4348:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(23918),a=r(62330);let o=(0,i.A)(a.A,"Map")},5653:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){return null!=t&&"object"==typeof t}},6458:(t,e,r)=>{"use strict";r.d(e,{A:()=>E});var i=r(93393),a=r(52483),o=r(16755);let n=function(t,e,r){(void 0===r||(0,o.A)(t[e],r))&&(void 0!==r||e in t)||(0,a.A)(t,e,r)};var s=r(58574),l=r(4317),h=r(15474),c=r(50564),d=r(9860),u=r(47312),p=r(63114),f=r(87306),g=r(93780),m=r(30965),y=r(94090),b=r(79898),x=r(62019),C=r(5653),k=Object.prototype,_=Function.prototype.toString,v=k.hasOwnProperty,A=_.call(Object);let T=function(t){if(!(0,C.A)(t)||"[object Object]"!=(0,b.A)(t))return!1;var e=(0,x.A)(t);if(null===e)return!0;var r=v.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&_.call(r)==A};var S=r(89071);let w=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var B=r(21152),F=r(51214);let L=function(t,e,r,i,a,o,s){var b=w(t,r),x=w(e,r),C=s.get(x);if(C)return void n(t,r,C);var k=o?o(b,x,r+"",t,e,s):void 0,_=void 0===k;if(_){var v=(0,p.A)(x),A=!v&&(0,g.A)(x),L=!v&&!A&&(0,S.A)(x);(k=x,v||A||L)?(0,p.A)(b)?k=b:(0,f.A)(b)?k=(0,c.A)(b):A?(_=!1,k=(0,l.A)(x,!0)):L?(_=!1,k=(0,h.A)(x,!0)):k=[]:T(x)||(0,u.A)(x)?(k=b,(0,u.A)(b))?k=(0,B.A)(b,(0,F.A)(b)):(!(0,y.A)(b)||(0,m.A)(b))&&(k=(0,d.A)(x)):_=!1}_&&(s.set(x,k),a(k,x,i,o,s),s.delete(x)),n(t,r,k)},M=function t(e,r,a,o,l){e!==r&&(0,s.A)(r,function(s,h){if(l||(l=new i.A),(0,y.A)(s))L(e,r,h,a,t,o,l);else{var c=o?o(w(e,h),s,h+"",e,r,l):void 0;void 0===c&&(c=s),n(e,h,c)}},F.A)},E=(0,r(53964).A)(function(t,e,r){M(t,e,r)})},7483:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var i=(0,r(23918).A)(Object,"create"),a=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function n(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}n.prototype.clear=function(){this.__data__=i?i(null):{},this.size=0},n.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e},n.prototype.get=function(t){var e=this.__data__;if(i){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return a.call(e,t)?e[t]:void 0},n.prototype.has=function(t){var e=this.__data__;return i?void 0!==e[t]:o.call(e,t)},n.prototype.set=function(t,e){var r=this.__data__;return this.size+=+!this.has(t),r[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this};var s=r(27851),l=r(4348);let h=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t},c=function(t,e){var r=t.__data__;return h(e)?r["string"==typeof e?"string":"hash"]:r.map};function d(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}d.prototype.clear=function(){this.size=0,this.__data__={hash:new n,map:new(l.A||s.A),string:new n}},d.prototype.delete=function(t){var e=c(this,t).delete(t);return this.size-=!!e,e},d.prototype.get=function(t){return c(this,t).get(t)},d.prototype.has=function(t){return c(this,t).has(t)},d.prototype.set=function(t,e){var r=c(this,t),i=r.size;return r.set(t,e),this.size+=+(r.size!=i),this};let u=d},9860:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var i=r(94090),a=Object.create,o=function(){function t(){}return function(e){if(!(0,i.A)(e))return{};if(a)return a(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),n=r(62019),s=r(62260);let l=function(t){return"function"!=typeof t.constructor||(0,s.A)(t)?{}:o((0,n.A)(t))}},10697:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});let i={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t,hsl2rgb:({h:t,s:e,l:r},a)=>{if(!e)return 2.55*r;t/=360,e/=100;let o=(r/=100)<.5?r*(1+e):r+e-r*e,n=2*r-o;switch(a){case"r":return 255*i.hue2rgb(n,o,t+1/3);case"g":return 255*i.hue2rgb(n,o,t);case"b":return 255*i.hue2rgb(n,o,t-1/3)}},rgb2hsl:({r:t,g:e,b:r},i)=>{let a=Math.max(t/=255,e/=255,r/=255),o=Math.min(t,e,r),n=(a+o)/2;if("l"===i)return 100*n;if(a===o)return 0;let s=a-o;if("s"===i)return 100*(n>.5?s/(2-a-o):s/(a+o));switch(a){case t:return((e-r)/s+6*(e<r))*60;case e:return((r-t)/s+2)*60;case r:return((t-e)/s+4)*60;default:return -1}}},a={channel:i,lang:{clamp:(t,e,r)=>e>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},10791:(t,e,r)=>{"use strict";r.d(e,{JLW:()=>ts,l78:()=>d,tlR:()=>c,qrM:()=>tg.Ay,Yu4:()=>tp.A,IA3:()=>tf.A,Wi0:()=>tm.dJ,PGM:()=>tm.kl,OEq:()=>tb,y8u:()=>t_,olC:()=>tA,IrU:()=>tS,oDi:()=>tF,Q7f:()=>tM,cVp:()=>tO,lUB:()=>tI.A,Lx9:()=>tK.A,nVG:()=>tD.G,uxU:()=>tD.N,Xf2:()=>t$.A,GZz:()=>tq.Ay,UPb:()=>tq.Ps,dyv:()=>tq.Ko,GPZ:()=>m.GP,Sk5:()=>b,bEH:()=>G,n8j:()=>tl.A,T9B:()=>i.A,jkA:()=>a.A,rLf:()=>tu,WH:()=>V.WH,m4Y:()=>V.m4,UMr:()=>V.UM,w7C:()=>V.w7,zt:()=>X,Ltv:()=>Z.A,UAC:()=>tj.UA,DCK:()=>tU.DC,TUC:()=>tW.TU,Agd:()=>tN.Ag,t6C:()=>tz.y,wXd:()=>tP.wX,ABi:()=>tW.AB,Ui6:()=>tH.Ui,rGn:()=>tW.rG,ucG:()=>tR.R,YPH:()=>tW.YP,Mol:()=>tW.Mo,PGu:()=>tW.PG,GuW:()=>tW.Gu,hkb:()=>B});var i=r(39236),a=r(27094);function o(t){return t}function n(t){return"translate("+t+",0)"}function s(t){return"translate(0,"+t+")"}function l(){return!this.__axis}function h(t,e){var r=[],i=null,a=null,h=6,c=6,d=3,u="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,p=1===t||4===t?-1:1,f=4===t||2===t?"x":"y",g=1===t||3===t?n:s;function m(n){var s=null==i?e.ticks?e.ticks.apply(e,r):e.domain():i,m=null==a?e.tickFormat?e.tickFormat.apply(e,r):o:a,y=Math.max(h,0)+d,b=e.range(),x=+b[0]+u,C=+b[b.length-1]+u,k=(e.bandwidth?function(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}:function(t){return e=>+t(e)})(e.copy(),u),_=n.selection?n.selection():n,v=_.selectAll(".domain").data([null]),A=_.selectAll(".tick").data(s,e).order(),T=A.exit(),S=A.enter().append("g").attr("class","tick"),w=A.select("line"),B=A.select("text");v=v.merge(v.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),A=A.merge(S),w=w.merge(S.append("line").attr("stroke","currentColor").attr(f+"2",p*h)),B=B.merge(S.append("text").attr("fill","currentColor").attr(f,p*y).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),n!==_&&(v=v.transition(n),A=A.transition(n),w=w.transition(n),B=B.transition(n),T=T.transition(n).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=k(t))?g(t+u):this.getAttribute("transform")}),S.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:k(t))+u)})),T.remove(),v.attr("d",4===t||2===t?c?"M"+p*c+","+x+"H"+u+"V"+C+"H"+p*c:"M"+u+","+x+"V"+C:c?"M"+x+","+p*c+"V"+u+"H"+C+"V"+p*c:"M"+x+","+u+"H"+C),A.attr("opacity",1).attr("transform",function(t){return g(k(t)+u)}),w.attr(f+"2",p*h),B.attr(f,p*y).text(m),_.filter(l).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),_.each(function(){this.__axis=k})}return m.scale=function(t){return arguments.length?(e=t,m):e},m.ticks=function(){return r=Array.from(arguments),m},m.tickArguments=function(t){return arguments.length?(r=null==t?[]:Array.from(t),m):r.slice()},m.tickValues=function(t){return arguments.length?(i=null==t?null:Array.from(t),m):i&&i.slice()},m.tickFormat=function(t){return arguments.length?(a=t,m):a},m.tickSize=function(t){return arguments.length?(h=c=+t,m):h},m.tickSizeInner=function(t){return arguments.length?(h=+t,m):h},m.tickSizeOuter=function(t){return arguments.length?(c=+t,m):c},m.tickPadding=function(t){return arguments.length?(d=+t,m):d},m.offset=function(t){return arguments.length?(u=+t,m):u},m}function c(t){return h(1,t)}function d(t){return h(3,t)}r(73242);let{abs:u,max:p,min:f}=Math;function g(t){return{type:t}}["w","e"].map(g),["n","s"].map(g),["n","w","e","s","nw","ne","sw","se"].map(g);var m=r(42085);function y(t){var e=0,r=t.children,i=r&&r.length;if(i)for(;--i>=0;)e+=r[i].value;else e=1;t.value=e}function b(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=C)):void 0===e&&(e=x);for(var r,i,a,o,n,s=new v(t),l=[s];r=l.pop();)if((a=e(r.data))&&(n=(a=Array.from(a)).length))for(r.children=a,o=n-1;o>=0;--o)l.push(i=a[o]=new v(a[o])),i.parent=r,i.depth=r.depth+1;return s.eachBefore(_)}function x(t){return t.children}function C(t){return Array.isArray(t)?t[1]:null}function k(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function _(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function v(t){this.data=t,this.depth=this.height=0,this.parent=null}function A(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}v.prototype=b.prototype={constructor:v,count:function(){return this.eachAfter(y)},each:function(t,e){let r=-1;for(let i of this)t.call(e,i,++r,this);return this},eachAfter:function(t,e){for(var r,i,a,o=this,n=[o],s=[],l=-1;o=n.pop();)if(s.push(o),r=o.children)for(i=0,a=r.length;i<a;++i)n.push(r[i]);for(;o=s.pop();)t.call(e,o,++l,this);return this},eachBefore:function(t,e){for(var r,i,a=this,o=[a],n=-1;a=o.pop();)if(t.call(e,a,++n,this),r=a.children)for(i=r.length-1;i>=0;--i)o.push(r[i]);return this},find:function(t,e){let r=-1;for(let i of this)if(t.call(e,i,++r,this))return i},sum:function(t){return this.eachAfter(function(e){for(var r=+t(e.data)||0,i=e.children,a=i&&i.length;--a>=0;)r+=i[a].value;e.value=r})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,r=function(t,e){if(t===e)return t;var r=t.ancestors(),i=e.ancestors(),a=null;for(t=r.pop(),e=i.pop();t===e;)a=t,t=r.pop(),e=i.pop();return a}(e,t),i=[e];e!==r;)i.push(e=e.parent);for(var a=i.length;t!==r;)i.splice(a,0,t),t=t.parent;return i},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(r){r!==t&&e.push({source:r.parent,target:r})}),e},copy:function(){return b(this).eachBefore(k)},[Symbol.iterator]:function*(){var t,e,r,i,a=this,o=[a];do for(t=o.reverse(),o=[];a=t.pop();)if(yield a,e=a.children)for(r=0,i=e.length;r<i;++r)o.push(e[r]);while(o.length)}};let T=function t(e){function r(t,r,i,a,o){!function(t,e,r,i,a,o){for(var n,s,l,h,c,d,u,p,f,g,m,y=[],b=e.children,x=0,C=0,k=b.length,_=e.value;x<k;){l=a-r,h=o-i;do c=b[C++].value;while(!c&&C<k);for(d=u=c,f=Math.max(u/(m=c*c*(g=Math.max(h/l,l/h)/(_*t))),m/d);C<k;++C){if(c+=s=b[C].value,s<d&&(d=s),s>u&&(u=s),(p=Math.max(u/(m=c*c*g),m/d))>f){c-=s;break}f=p}y.push(n={value:c,dice:l<h,children:b.slice(x,C)}),n.dice?function(t,e,r,i,a){for(var o,n=t.children,s=-1,l=n.length,h=t.value&&(i-e)/t.value;++s<l;)(o=n[s]).y0=r,o.y1=a,o.x0=e,o.x1=e+=o.value*h}(n,r,i,a,_?i+=h*c/_:o):function(t,e,r,i,a){for(var o,n=t.children,s=-1,l=n.length,h=t.value&&(a-r)/t.value;++s<l;)(o=n[s]).x0=e,o.x1=i,o.y0=r,o.y1=r+=o.value*h}(n,r,i,_?r+=l*c/_:a,o),_-=c,x=C}}(e,t,r,i,a,o)}return r.ratio=function(e){return t((e*=1)>1?e:1)},r}((1+Math.sqrt(5))/2);function S(){return 0}function w(t){return function(){return t}}function B(){var t=T,e=!1,r=1,i=1,a=[0],o=S,n=S,s=S,l=S,h=S;function c(t){return t.x0=t.y0=0,t.x1=r,t.y1=i,t.eachBefore(d),a=[0],e&&t.eachBefore(A),t}function d(e){var r=a[e.depth],i=e.x0+r,c=e.y0+r,d=e.x1-r,u=e.y1-r;d<i&&(i=d=(i+d)/2),u<c&&(c=u=(c+u)/2),e.x0=i,e.y0=c,e.x1=d,e.y1=u,e.children&&(r=a[e.depth+1]=o(e)/2,i+=h(e)-r,c+=n(e)-r,d-=s(e)-r,u-=l(e)-r,d<i&&(i=d=(i+d)/2),u<c&&(c=u=(c+u)/2),t(e,i,c,d,u))}return c.round=function(t){return arguments.length?(e=!!t,c):e},c.size=function(t){return arguments.length?(r=+t[0],i=+t[1],c):[r,i]},c.tile=function(e){return arguments.length?(t=function(t){if("function"!=typeof t)throw Error();return t}(e),c):t},c.padding=function(t){return arguments.length?c.paddingInner(t).paddingOuter(t):c.paddingInner()},c.paddingInner=function(t){return arguments.length?(o="function"==typeof t?t:w(+t),c):o},c.paddingOuter=function(t){return arguments.length?c.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):c.paddingTop()},c.paddingTop=function(t){return arguments.length?(n="function"==typeof t?t:w(+t),c):n},c.paddingRight=function(t){return arguments.length?(s="function"==typeof t?t:w(+t),c):s},c.paddingBottom=function(t){return arguments.length?(l="function"==typeof t?t:w(+t),c):l},c.paddingLeft=function(t){return arguments.length?(h="function"==typeof t?t:w(+t),c):h},c}var F=r(13110),L=r(92676);let M=Math.PI/180,E=180/Math.PI,O=4/29,K=6/29,I=6/29*3*(6/29),D=6/29*(6/29)*(6/29);function $(t){if(t instanceof q)return new q(t.l,t.a,t.b,t.opacity);if(t instanceof W)return H(t);t instanceof L.Gw||(t=(0,L.b)(t));var e,r,i=N(t.r),a=N(t.g),o=N(t.b),n=z((.2225045*i+.7168786*a+.0606169*o)/1);return i===a&&a===o?e=r=n:(e=z((.4360747*i+.3850649*a+.1430804*o)/.96422),r=z((.0139322*i+.0971045*a+.7141733*o)/.82521)),new q(116*n-16,500*(e-n),200*(n-r),t.opacity)}function q(t,e,r,i){this.l=+t,this.a=+e,this.b=+r,this.opacity=+i}function z(t){return t>D?Math.pow(t,1/3):t/I+O}function R(t){return t>K?t*t*t:I*(t-O)}function P(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function N(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function j(t,e,r,i){return 1==arguments.length?function(t){if(t instanceof W)return new W(t.h,t.c,t.l,t.opacity);if(t instanceof q||(t=$(t)),0===t.a&&0===t.b)return new W(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*E;return new W(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new W(t,e,r,null==i?1:i)}function W(t,e,r,i){this.h=+t,this.c=+e,this.l=+r,this.opacity=+i}function H(t){if(isNaN(t.h))return new q(t.l,0,0,t.opacity);var e=t.h*M;return new q(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}(0,F.A)(q,function(t,e,r,i){return 1==arguments.length?$(t):new q(t,e,r,null==i?1:i)},(0,F.X)(L.Q1,{brighter(t){return new q(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new q(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,r=isNaN(this.b)?t:t-this.b/200;return e=.96422*R(e),t=+R(t),r=.82521*R(r),new L.Gw(P(3.1338561*e-1.6168667*t-.4906146*r),P(-.9787684*e+1.9161415*t+.033454*r),P(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}})),(0,F.A)(W,j,(0,F.X)(L.Q1,{brighter(t){return new W(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new W(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return H(this).rgb()}}));var U=r(26676);function Y(t){return function(e,r){var i=t((e=j(e)).h,(r=j(r)).h),a=(0,U.Ay)(e.c,r.c),o=(0,U.Ay)(e.l,r.l),n=(0,U.Ay)(e.opacity,r.opacity);return function(t){return e.h=i(t),e.c=a(t),e.l=o(t),e.opacity=n(t),e+""}}}let G=Y(U.lG);Y(U.Ay);var V=r(29168);let X=function(t){for(var e=t.length/6|0,r=Array(e),i=0;i<e;)r[i]="#"+t.slice(6*i,6*++i);return r}("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");var Z=r(44532),Q=r(81998),J=r(94548),tt=r(22131);function te(t){return t.innerRadius}function tr(t){return t.outerRadius}function ti(t){return t.startAngle}function ta(t){return t.endAngle}function to(t){return t&&t.padAngle}function tn(t,e,r,i,a,o,n){var s=t-r,l=e-i,h=(n?o:-o)/(0,J.RZ)(s*s+l*l),c=h*l,d=-h*s,u=t+c,p=e+d,f=r+c,g=i+d,m=(u+f)/2,y=(p+g)/2,b=f-u,x=g-p,C=b*b+x*x,k=a-o,_=u*g-f*p,v=(x<0?-1:1)*(0,J.RZ)((0,J.T9)(0,k*k*C-_*_)),A=(_*x-b*v)/C,T=(-_*b-x*v)/C,S=(_*x+b*v)/C,w=(-_*b+x*v)/C,B=A-m,F=T-y,L=S-m,M=w-y;return B*B+F*F>L*L+M*M&&(A=S,T=w),{cx:A,cy:T,x01:-c,y01:-d,x11:A*(a/k-1),y11:T*(a/k-1)}}function ts(){var t=te,e=tr,r=(0,Q.A)(0),i=null,a=ti,o=ta,n=to,s=null,l=(0,tt.i)(h);function h(){var h,c,d=+t.apply(this,arguments),u=+e.apply(this,arguments),p=a.apply(this,arguments)-J.TW,f=o.apply(this,arguments)-J.TW,g=(0,J.tn)(f-p),m=f>p;if(s||(s=h=l()),u<d&&(c=u,u=d,d=c),u>J.Ni)if(g>J.FA-J.Ni)s.moveTo(u*(0,J.gn)(p),u*(0,J.F8)(p)),s.arc(0,0,u,p,f,!m),d>J.Ni&&(s.moveTo(d*(0,J.gn)(f),d*(0,J.F8)(f)),s.arc(0,0,d,f,p,m));else{var y,b,x=p,C=f,k=p,_=f,v=g,A=g,T=n.apply(this,arguments)/2,S=T>J.Ni&&(i?+i.apply(this,arguments):(0,J.RZ)(d*d+u*u)),w=(0,J.jk)((0,J.tn)(u-d)/2,+r.apply(this,arguments)),B=w,F=w;if(S>J.Ni){var L=(0,J.qR)(S/d*(0,J.F8)(T)),M=(0,J.qR)(S/u*(0,J.F8)(T));(v-=2*L)>J.Ni?(L*=m?1:-1,k+=L,_-=L):(v=0,k=_=(p+f)/2),(A-=2*M)>J.Ni?(M*=m?1:-1,x+=M,C-=M):(A=0,x=C=(p+f)/2)}var E=u*(0,J.gn)(x),O=u*(0,J.F8)(x),K=d*(0,J.gn)(_),I=d*(0,J.F8)(_);if(w>J.Ni){var D,$=u*(0,J.gn)(C),q=u*(0,J.F8)(C),z=d*(0,J.gn)(k),R=d*(0,J.F8)(k);if(g<J.pi)if(D=function(t,e,r,i,a,o,n,s){var l=r-t,h=i-e,c=n-a,d=s-o,u=d*l-c*h;if(!(u*u<J.Ni))return u=(c*(e-o)-d*(t-a))/u,[t+u*l,e+u*h]}(E,O,z,R,$,q,K,I)){var P=E-D[0],N=O-D[1],j=$-D[0],W=q-D[1],H=1/(0,J.F8)((0,J.HQ)((P*j+N*W)/((0,J.RZ)(P*P+N*N)*(0,J.RZ)(j*j+W*W)))/2),U=(0,J.RZ)(D[0]*D[0]+D[1]*D[1]);B=(0,J.jk)(w,(d-U)/(H-1)),F=(0,J.jk)(w,(u-U)/(H+1))}else B=F=0}A>J.Ni?F>J.Ni?(y=tn(z,R,E,O,u,F,m),b=tn($,q,K,I,u,F,m),s.moveTo(y.cx+y.x01,y.cy+y.y01),F<w?s.arc(y.cx,y.cy,F,(0,J.FP)(y.y01,y.x01),(0,J.FP)(b.y01,b.x01),!m):(s.arc(y.cx,y.cy,F,(0,J.FP)(y.y01,y.x01),(0,J.FP)(y.y11,y.x11),!m),s.arc(0,0,u,(0,J.FP)(y.cy+y.y11,y.cx+y.x11),(0,J.FP)(b.cy+b.y11,b.cx+b.x11),!m),s.arc(b.cx,b.cy,F,(0,J.FP)(b.y11,b.x11),(0,J.FP)(b.y01,b.x01),!m))):(s.moveTo(E,O),s.arc(0,0,u,x,C,!m)):s.moveTo(E,O),d>J.Ni&&v>J.Ni?B>J.Ni?(y=tn(K,I,$,q,d,-B,m),b=tn(E,O,z,R,d,-B,m),s.lineTo(y.cx+y.x01,y.cy+y.y01),B<w?s.arc(y.cx,y.cy,B,(0,J.FP)(y.y01,y.x01),(0,J.FP)(b.y01,b.x01),!m):(s.arc(y.cx,y.cy,B,(0,J.FP)(y.y01,y.x01),(0,J.FP)(y.y11,y.x11),!m),s.arc(0,0,d,(0,J.FP)(y.cy+y.y11,y.cx+y.x11),(0,J.FP)(b.cy+b.y11,b.cx+b.x11),m),s.arc(b.cx,b.cy,B,(0,J.FP)(b.y11,b.x11),(0,J.FP)(b.y01,b.x01),!m))):s.arc(0,0,d,_,k,m):s.lineTo(K,I)}else s.moveTo(0,0);if(s.closePath(),h)return s=null,h+""||null}return h.centroid=function(){var r=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,i=(+a.apply(this,arguments)+ +o.apply(this,arguments))/2-J.pi/2;return[(0,J.gn)(i)*r,(0,J.F8)(i)*r]},h.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:(0,Q.A)(+e),h):t},h.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,Q.A)(+t),h):e},h.cornerRadius=function(t){return arguments.length?(r="function"==typeof t?t:(0,Q.A)(+t),h):r},h.padRadius=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:(0,Q.A)(+t),h):i},h.startAngle=function(t){return arguments.length?(a="function"==typeof t?t:(0,Q.A)(+t),h):a},h.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:(0,Q.A)(+t),h):o},h.padAngle=function(t){return arguments.length?(n="function"==typeof t?t:(0,Q.A)(+t),h):n},h.context=function(t){return arguments.length?(s=null==t?null:t,h):s},h}var tl=r(85904),th=r(62883);function tc(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function td(t){return t}function tu(){var t=td,e=tc,r=null,i=(0,Q.A)(0),a=(0,Q.A)(J.FA),o=(0,Q.A)(0);function n(n){var s,l,h,c,d,u=(n=(0,th.A)(n)).length,p=0,f=Array(u),g=Array(u),m=+i.apply(this,arguments),y=Math.min(J.FA,Math.max(-J.FA,a.apply(this,arguments)-m)),b=Math.min(Math.abs(y)/u,o.apply(this,arguments)),x=b*(y<0?-1:1);for(s=0;s<u;++s)(d=g[f[s]=s]=+t(n[s],s,n))>0&&(p+=d);for(null!=e?f.sort(function(t,r){return e(g[t],g[r])}):null!=r&&f.sort(function(t,e){return r(n[t],n[e])}),s=0,h=p?(y-u*x)/p:0;s<u;++s,m=c)c=m+((d=g[l=f[s]])>0?d*h:0)+x,g[l]={data:n[l],index:s,value:d,startAngle:m,endAngle:c,padAngle:b};return g}return n.value=function(e){return arguments.length?(t="function"==typeof e?e:(0,Q.A)(+e),n):t},n.sortValues=function(t){return arguments.length?(e=t,r=null,n):e},n.sort=function(t){return arguments.length?(r=t,e=null,n):r},n.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:(0,Q.A)(+t),n):i},n.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:(0,Q.A)(+t),n):a},n.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:(0,Q.A)(+t),n):o},n}var tp=r(52164),tf=r(89984),tg=r(38112),tm=r(74170);function ty(t,e){this._basis=new tg.xO(t),this._beta=e}ty.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,r=t.length-1;if(r>0)for(var i,a=t[0],o=e[0],n=t[r]-a,s=e[r]-o,l=-1;++l<=r;)i=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(a+i*n),this._beta*e[l]+(1-this._beta)*(o+i*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};let tb=function t(e){function r(t){return 1===e?new tg.xO(t):new ty(t,e)}return r.beta=function(e){return t(+e)},r}(.85);var tx=r(47330);function tC(t,e,r){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-r),t._x2,t._y2)}function tk(t,e){this._context=t,this._k=(1-e)/6}tk.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:tC(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:tC(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let t_=function t(e){function r(t){return new tk(t,e)}return r.tension=function(e){return t(+e)},r}(0);function tv(t,e){this._context=t,this._k=(1-e)/6}tv.prototype={areaStart:tx.A,areaEnd:tx.A,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:tC(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let tA=function t(e){function r(t){return new tv(t,e)}return r.tension=function(e){return t(+e)},r}(0);function tT(t,e){this._context=t,this._k=(1-e)/6}tT.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:tC(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let tS=function t(e){function r(t){return new tT(t,e)}return r.tension=function(e){return t(+e)},r}(0);function tw(t,e,r){var i=t._x1,a=t._y1,o=t._x2,n=t._y2;if(t._l01_a>J.Ni){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,a=(a*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>J.Ni){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*h+t._x1*t._l23_2a-e*t._l12_2a)/c,n=(n*h+t._y1*t._l23_2a-r*t._l12_2a)/c}t._context.bezierCurveTo(i,a,o,n,t._x2,t._y2)}function tB(t,e){this._context=t,this._alpha=e}tB.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t*=1,e*=1,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:tw(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let tF=function t(e){function r(t){return e?new tB(t,e):new tk(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function tL(t,e){this._context=t,this._alpha=e}tL.prototype={areaStart:tx.A,areaEnd:tx.A,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t*=1,e*=1,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:tw(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let tM=function t(e){function r(t){return e?new tL(t,e):new tv(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function tE(t,e){this._context=t,this._alpha=e}tE.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t*=1,e*=1,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:tw(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let tO=function t(e){function r(t){return e?new tE(t,e):new tT(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);var tK=r(35331),tI=r(84179),tD=r(91817),t$=r(11347),tq=r(64244),tz=r(82628),tR=r(62807),tP=r(17835),tN=r(86917),tj=r(11447),tW=r(52743),tH=r(33967),tU=r(31246);r(14737)},11548:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(52483),a=r(16755),o=Object.prototype.hasOwnProperty;let n=function(t,e,r){var n=t[e];o.call(t,e)&&(0,a.A)(n,r)&&(void 0!==r||e in t)||(0,i.A)(t,e,r)}},12119:(t,e,r)=>{"use strict";r.d(e,{W6:()=>N,GZ:()=>U,WY:()=>F,pC:()=>S,hE:()=>H,Gc:()=>v});var i=r(59661),a=r(77109),o=r(69830);let n=(t,e)=>!!t&&!!((e&&""===t.prefix||t.prefix)&&t.name),s=Object.freeze({left:0,top:0,width:16,height:16}),l=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),h=Object.freeze({...s,...l}),c=Object.freeze({...h,body:"",hidden:!1});function d(t,e){let r,i,a=(r={},!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0),(i=((t.rotate||0)+(e.rotate||0))%4)&&(r.rotate=i),r);for(let r in c)r in l?r in t&&!(r in a)&&(a[r]=l[r]):r in e?a[r]=e[r]:r in t&&(a[r]=t[r]);return a}function u(t,e,r){let i=t.icons,a=t.aliases||Object.create(null),o={};function n(t){o=d(i[t]||a[t],o)}return n(e),r.forEach(n),d(t,o)}let p=Object.freeze({...Object.freeze({width:null,height:null}),...l}),f=/(-?[0-9.]*[0-9]+[0-9.]*)/g,g=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function m(t,e,r){if(1===e)return t;if(r=r||100,"number"==typeof t)return Math.ceil(t*e*r)/r;if("string"!=typeof t)return t;let i=t.split(f);if(null===i||!i.length)return t;let a=[],o=i.shift(),n=g.test(o);for(;;){if(n){let t=parseFloat(o);isNaN(t)?a.push(o):a.push(Math.ceil(t*e*r)/r)}else a.push(o);if(void 0===(o=i.shift()))return a.join("");n=!n}}let y=/\sid="(\S+)"/g,b="IconifyId"+Date.now().toString(16)+(0x1000000*Math.random()|0).toString(16),x=0;var C=r(10791),k=r(25127),_=r(34302),v={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},A=new Map,T=new Map,S=(0,o.K2)(t=>{for(let e of t){if(!e.name)throw Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(o.Rm.debug("Registering icon pack:",e.name),"loader"in e)T.set(e.name,e.loader);else if("icons"in e)A.set(e.name,e.icons);else throw o.Rm.error("Invalid icon loader:",e),Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),w=(0,o.K2)(async(t,e)=>{let r=((t,e,r,i="")=>{let a=t.split(":");if("@"===t.slice(0,1)){if(a.length<2||a.length>3)return null;i=a.shift().slice(1)}if(a.length>3||!a.length)return null;if(a.length>1){let t=a.pop(),r=a.pop(),o={provider:a.length>0?a[0]:i,prefix:r,name:t};return e&&!n(o)?null:o}let o=a[0],s=o.split("-");if(s.length>1){let t={provider:i,prefix:s.shift(),name:s.join("-")};return e&&!n(t)?null:t}if(r&&""===i){let t={provider:i,prefix:"",name:o};return e&&!n(t,r)?null:t}return null})(t,!0,void 0!==e);if(!r)throw Error(`Invalid icon name: ${t}`);let i=r.prefix||e;if(!i)throw Error(`Icon name must contain a prefix: ${t}`);let a=A.get(i);if(!a){let t=T.get(i);if(!t)throw Error(`Icon set not found: ${r.prefix}`);try{a={...await t(),prefix:i},A.set(i,a)}catch(t){throw o.Rm.error(t),Error(`Failed to load icon set: ${r.prefix}`)}}let s=function(t,e){var r;let i,a,o;if(t.icons[e])return u(t,e,[]);let n=(r=[e],i=t.icons,a=t.aliases||Object.create(null),o=Object.create(null),(r||Object.keys(i).concat(Object.keys(a))).forEach(function t(e){if(i[e])return o[e]=[];if(!(e in o)){o[e]=null;let r=a[e]&&a[e].parent,i=r&&t(r);i&&(o[e]=[r].concat(i))}return o[e]}),o)[e];return n?u(t,e,n):null}(a,r.name);if(!s)throw Error(`Icon not found: ${t}`);return s},"getRegisteredIconData"),B=(0,o.K2)(async t=>{try{return await w(t),!0}catch{return!1}},"isIconAvailable"),F=(0,o.K2)(async(t,e,r)=>{var i;let n,s,l,c,d,u,f,g,C,k,_,A,T,S;try{n=await w(t,e?.fallbackPrefix)}catch(t){o.Rm.error(t),n=v}let B=(i=n,c={...h,...i},d={...p,...e},u={left:c.left,top:c.top,width:c.width,height:c.height},f=c.body,[c,d].forEach(t=>{var e,r,i,a;let o,n,s=[],l=t.hFlip,h=t.vFlip,c=t.rotate;switch(l?h?c+=2:(s.push("translate("+(u.width+u.left).toString()+" "+(0-u.top).toString()+")"),s.push("scale(-1 1)"),u.top=u.left=0):h&&(s.push("translate("+(0-u.left).toString()+" "+(u.height+u.top).toString()+")"),s.push("scale(1 -1)"),u.top=u.left=0),c<0&&(c-=4*Math.floor(c/4)),c%=4){case 1:s.unshift("rotate(90 "+(o=u.height/2+u.top).toString()+" "+o.toString()+")");break;case 2:s.unshift("rotate(180 "+(u.width/2+u.left).toString()+" "+(u.height/2+u.top).toString()+")");break;case 3:s.unshift("rotate(-90 "+(o=u.width/2+u.left).toString()+" "+o.toString()+")")}c%2==1&&(u.left!==u.top&&(o=u.left,u.left=u.top,u.top=o),u.width!==u.height&&(o=u.width,u.width=u.height,u.height=o)),s.length&&(e=f,r='<g transform="'+s.join(" ")+'">',i=(n=function(t,e="defs"){let r="",i=t.indexOf("<"+e);for(;i>=0;){let a=t.indexOf(">",i),o=t.indexOf("</"+e);if(-1===a||-1===o)break;let n=t.indexOf(">",o);if(-1===n)break;r+=t.slice(a+1,o).trim(),t=t.slice(0,i).trim()+t.slice(n+1)}return{defs:r,content:t}}(e)).defs,a=r+n.content+"</g>",f=i?"<defs>"+i+"</defs>"+a:a)}),g=d.width,C=d.height,k=u.width,_=u.height,null===g?s=m(l=null===C?"1em":"auto"===C?_:C,k/_):(s="auto"===g?k:g,l=null===C?m(s,_/k):"auto"===C?_:C),A={},(T=(t,e)=>{"unset"!==e&&"undefined"!==e&&"none"!==e&&(A[t]=e.toString())})("width",s),T("height",l),A.viewBox=(S=[u.left,u.top,k,_]).join(" "),{attributes:A,viewBox:S,body:f}),F=function(t,e){let r=-1===t.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let t in e)r+=" "+t+'="'+e[t]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+t+"</svg>"}(function(t,e=b){let r,i=[];for(;r=y.exec(t);)i.push(r[1]);if(!i.length)return t;let a="suffix"+(0x1000000*Math.random()|Date.now()).toString(16);return i.forEach(r=>{let i="function"==typeof e?e(r):e+(x++).toString(),o=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(RegExp('([#;"])('+o+')([")]|\\.[a-z])',"g"),"$1"+i+a+"$3")}),t=t.replace(RegExp(a,"g"),"")}(B.body),{...B.attributes,...r});return(0,a.jZ)(F,(0,a.zj)())},"getIconSVG");function L(t,{markdownAutoWrap:e}){let r=t.replace(/<br\/>/g,"\n").replace(/\n{2,}/g,"\n"),i=(0,_.T)(r);return!1===e?i.replace(/ /g,"&nbsp;"):i}function M(t,e={}){let r=L(t,e),i=k.xI.lexer(r),a=[[]],n=0;function s(t,e="normal"){"text"===t.type?t.text.split("\n").forEach((t,r)=>{0!==r&&(n++,a.push([])),t.split(" ").forEach(t=>{(t=t.replace(/&#39;/g,"'"))&&a[n].push({content:t,type:e})})}):"strong"===t.type||"em"===t.type?t.tokens.forEach(e=>{s(e,t.type)}):"html"===t.type&&a[n].push({content:t.text,type:"normal"})}return(0,o.K2)(s,"processNode"),i.forEach(t=>{"paragraph"===t.type?t.tokens?.forEach(t=>{s(t)}):"html"===t.type?a[n].push({content:t.text,type:"normal"}):a[n].push({content:t.raw,type:"normal"})}),a}function E(t,{markdownAutoWrap:e}={}){let r=k.xI.lexer(t);function i(t){if("text"===t.type)return!1===e?t.text.replace(/\n */g,"<br/>").replace(/ /g,"&nbsp;"):t.text.replace(/\n */g,"<br/>");if("strong"===t.type)return`<strong>${t.tokens?.map(i).join("")}</strong>`;if("em"===t.type)return`<em>${t.tokens?.map(i).join("")}</em>`;if("paragraph"===t.type)return`<p>${t.tokens?.map(i).join("")}</p>`;if("space"===t.type)return"";else if("html"===t.type)return`${t.text}`;else if("escape"===t.type)return t.text;return o.Rm.warn(`Unsupported markdown: ${t.type}`),t.raw}return(0,o.K2)(i,"output"),r.map(i).join("")}function O(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(t=>t.segment):[...t]}function K(t,e){return I(t,[],O(e.content),e.type)}function I(t,e,r,i){if(0===r.length)return[{content:e.join(""),type:i},{content:"",type:i}];let[a,...o]=r,n=[...e,a];return t([{content:n.join(""),type:i}])?I(t,n,o,i):(0===e.length&&a&&(e.push(a),r.shift()),[{content:e.join(""),type:i},{content:r.join(""),type:i}])}function D(t,e){if(t.some(({content:t})=>t.includes("\n")))throw Error("splitLineToFitWidth does not support newlines in the line");return $(t,e)}function $(t,e,r=[],i=[]){if(0===t.length)return i.length>0&&r.push(i),r.length>0?r:[];let a="";" "===t[0].content&&(a=" ",t.shift());let o=t.shift()??{content:" ",type:"normal"},n=[...i];if(""!==a&&n.push({content:a,type:"normal"}),n.push(o),e(n))return $(t,e,r,n);if(i.length>0)r.push(i),t.unshift(o);else if(o.content){let[i,a]=K(e,o);r.push([i]),a.content&&t.unshift(a)}return $(t,e,r)}function q(t,e){e&&t.attr("style",e)}async function z(t,e,r,i,o=!1,n=(0,a.zj)()){let s=t.append("foreignObject");s.attr("width",`${10*r}px`),s.attr("height",`${10*r}px`);let l=s.append("xhtml:div"),h=(0,a.Wi)(e.label)?await (0,a.dj)(e.label.replace(a.Y2.lineBreakRegex,"\n"),n):(0,a.jZ)(e.label,n),c=e.isNode?"nodeLabel":"edgeLabel",d=l.append("span");d.html(h),q(d,e.labelStyle),d.attr("class",`${c} ${i}`),q(l,e.labelStyle),l.style("display","table-cell"),l.style("white-space","nowrap"),l.style("line-height","1.5"),l.style("max-width",r+"px"),l.style("text-align","center"),l.attr("xmlns","http://www.w3.org/1999/xhtml"),o&&l.attr("class","labelBkg");let u=l.node().getBoundingClientRect();return u.width===r&&(l.style("display","table"),l.style("white-space","break-spaces"),l.style("width",r+"px"),u=l.node().getBoundingClientRect()),s.node()}function R(t,e,r){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em")}function P(t,e,r){let i=t.append("text"),a=R(i,1,e);W(a,r);let o=a.node().getComputedTextLength();return i.remove(),o}function N(t,e,r){let i=t.append("text"),a=R(i,1,e);W(a,[{content:r,type:"normal"}]);let o=a.node()?.getBoundingClientRect();return o&&i.remove(),o}function j(t,e,r,i=!1){let a=e.append("g"),n=a.insert("rect").attr("class","background").attr("style","stroke: none"),s=a.append("text").attr("y","-10.1"),l=0;for(let e of r){let r=(0,o.K2)(e=>P(a,1.1,e)<=t,"checkWidth");for(let t of r(e)?[e]:D(e,r))W(R(s,l,1.1),t),l++}if(!i)return s.node();{let t=s.node().getBBox();return n.attr("x",t.x-2).attr("y",t.y-2).attr("width",t.width+4).attr("height",t.height+4),a.node()}}function W(t,e){t.text(""),e.forEach((e,r)=>{let i=t.append("tspan").attr("font-style","em"===e.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===e.type?"bold":"normal");0===r?i.text(e.content):i.text(" "+e.content)})}async function H(t,e={}){let r=[];t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(t,i,o)=>(r.push((async()=>{let r=`${i}:${o}`;return await B(r)?await F(r,void 0,{class:"label-icon"}):`<i class='${(0,a.jZ)(t,e).replace(":"," ")}'></i>`})()),t));let i=await Promise.all(r);return t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>i.shift()??"")}(0,o.K2)(L,"preprocessMarkdown"),(0,o.K2)(M,"markdownToLines"),(0,o.K2)(E,"markdownToHTML"),(0,o.K2)(O,"splitTextToChars"),(0,o.K2)(K,"splitWordToFitWidth"),(0,o.K2)(I,"splitWordToFitWidthRecursion"),(0,o.K2)(D,"splitLineToFitWidth"),(0,o.K2)($,"splitLineToFitWidthRecursion"),(0,o.K2)(q,"applyStyle"),(0,o.K2)(z,"addHtmlSpan"),(0,o.K2)(R,"createTspan"),(0,o.K2)(P,"computeWidthOfText"),(0,o.K2)(N,"computeDimensionOfText"),(0,o.K2)(j,"createFormattedText"),(0,o.K2)(W,"updateTextContentAndStyles"),(0,o.K2)(H,"replaceIconSubstring");var U=(0,o.K2)(async(t,e="",{style:r="",isTitle:n=!1,classes:s="",useHtmlLabels:l=!0,isNode:h=!0,width:c=200,addSvgBackground:d=!1}={},u)=>{if(o.Rm.debug("XYZ createText",e,r,n,s,l,h,"addSvgBackground: ",d),l){let o=E(e,u),n=await H((0,i.Sm)(o),u),l=e.replace(/\\\\/g,"\\"),p={isNode:h,label:(0,a.Wi)(e)?l:n,labelStyle:r.replace("fill:","color:")};return await z(t,p,c,s,d,u)}{let i=j(c,t,M(e.replace(/<br\s*\/?>/g,"<br/>").replace("<br>","<br/>"),u),!!e&&d);if(h){/stroke:/.exec(r)&&(r=r.replace("stroke:","lineColor:"));let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,C.Ltv)(i).attr("style",t)}else{let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,C.Ltv)(i).select("rect").attr("style",t.replace(/background:/g,"fill:"));let e=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,C.Ltv)(i).select("text").attr("style",e)}return i}},"createText")},13013:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=t=>()=>t},13110:(t,e,r)=>{"use strict";function i(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function a(t,e){var r=Object.create(t.prototype);for(var i in e)r[i]=e[i];return r}r.d(e,{A:()=>i,X:()=>a})},13152:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(37496);let a=(t,e)=>(0,i.A)(t,"l",-e)},13427:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(10697),a=r(28212);let o=(t,e)=>{let r=a.A.parse(t);for(let t in e)r[t]=i.A.channel.clamp[t](e[t]);return a.A.stringify(r)}},13472:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t,e){return function(r){return t(e(r))}}},15474:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(21842);let a=function(t,e){var r=e?(0,i.A)(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},16047:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){return t}},16755:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t,e){return t===e||t!=t&&e!=e}},17270:(t,e,r)=>{"use strict";r.d(e,{n:()=>i});var i={name:"mermaid",version:"11.12.1",description:"Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.",type:"module",module:"./dist/mermaid.core.mjs",types:"./dist/mermaid.d.ts",exports:{".":{types:"./dist/mermaid.d.ts",import:"./dist/mermaid.core.mjs",default:"./dist/mermaid.core.mjs"},"./*":"./*"},keywords:["diagram","markdown","flowchart","sequence diagram","gantt","class diagram","git graph","mindmap","packet diagram","c4 diagram","er diagram","pie chart","pie diagram","quadrant chart","requirement diagram","graph"],scripts:{clean:"rimraf dist",dev:"pnpm -w dev","docs:code":"typedoc src/defaultConfig.ts src/config.ts src/mermaid.ts && prettier --write ./src/docs/config/setup","docs:build":"rimraf ../../docs && pnpm docs:code && pnpm docs:spellcheck && tsx scripts/docs.cli.mts","docs:verify":"pnpm docs:code && pnpm docs:spellcheck && tsx scripts/docs.cli.mts --verify","docs:pre:vitepress":"pnpm --filter ./src/docs prefetch && rimraf src/vitepress && pnpm docs:code && tsx scripts/docs.cli.mts --vitepress && pnpm --filter ./src/vitepress install --no-frozen-lockfile --ignore-scripts","docs:build:vitepress":"pnpm docs:pre:vitepress && (cd src/vitepress && pnpm run build) && cpy --flat src/docs/landing/ ./src/vitepress/.vitepress/dist/landing","docs:dev":'pnpm docs:pre:vitepress && concurrently "pnpm --filter ./src/vitepress dev" "tsx scripts/docs.cli.mts --watch --vitepress"',"docs:dev:docker":'pnpm docs:pre:vitepress && concurrently "pnpm --filter ./src/vitepress dev:docker" "tsx scripts/docs.cli.mts --watch --vitepress"',"docs:serve":"pnpm docs:build:vitepress && vitepress serve src/vitepress","docs:spellcheck":'cspell "src/docs/**/*.md"',"docs:release-version":"tsx scripts/update-release-version.mts","docs:verify-version":"tsx scripts/update-release-version.mts --verify","types:build-config":"tsx scripts/create-types-from-json-schema.mts","types:verify-config":"tsx scripts/create-types-from-json-schema.mts --verify",checkCircle:"npx madge --circular ./src",prepublishOnly:"pnpm docs:verify-version"},repository:{type:"git",url:"https://github.com/mermaid-js/mermaid"},author:"Knut Sveidqvist",license:"MIT",standard:{ignore:["**/parser/*.js","dist/**/*.js","cypress/**/*.js"],globals:["page"]},dependencies:{"@braintree/sanitize-url":"^7.1.1","@iconify/utils":"^3.0.1","@mermaid-js/parser":"workspace:^","@types/d3":"^7.4.3",cytoscape:"^3.29.3","cytoscape-cose-bilkent":"^4.1.0","cytoscape-fcose":"^2.2.0",d3:"^7.9.0","d3-sankey":"^0.12.3","dagre-d3-es":"7.0.13",dayjs:"^1.11.18",dompurify:"^3.2.5",katex:"^0.16.22",khroma:"^2.1.0","lodash-es":"^4.17.21",marked:"^16.2.1",roughjs:"^4.6.6",stylis:"^4.3.6","ts-dedent":"^2.2.0",uuid:"^11.1.0"},devDependencies:{"@adobe/jsonschema2md":"^8.0.5","@iconify/types":"^2.0.0","@types/cytoscape":"^3.21.9","@types/cytoscape-fcose":"^2.2.4","@types/d3-sankey":"^0.12.4","@types/d3-scale":"^4.0.9","@types/d3-scale-chromatic":"^3.1.0","@types/d3-selection":"^3.0.11","@types/d3-shape":"^3.1.7","@types/jsdom":"^21.1.7","@types/katex":"^0.16.7","@types/lodash-es":"^4.17.12","@types/micromatch":"^4.0.9","@types/stylis":"^4.2.7","@types/uuid":"^10.0.0",ajv:"^8.17.1",canvas:"^3.1.2",chokidar:"3.6.0",concurrently:"^9.1.2","csstree-validator":"^4.0.1",globby:"^14.1.0",jison:"^0.4.18","js-base64":"^3.7.8",jsdom:"^26.1.0","json-schema-to-typescript":"^15.0.4",micromatch:"^4.0.8","path-browserify":"^1.0.1",prettier:"^3.5.3",remark:"^15.0.1","remark-frontmatter":"^5.0.0","remark-gfm":"^4.0.1",rimraf:"^6.0.1","start-server-and-test":"^2.0.13","type-fest":"^4.35.0",typedoc:"^0.28.12","typedoc-plugin-markdown":"^4.8.1",typescript:"~5.7.3","unist-util-flatmap":"^1.0.0","unist-util-visit":"^5.0.0",vitepress:"^1.6.4","vitepress-plugin-search":"1.0.4-alpha.22"},files:["dist/","README.md"],publishConfig:{access:"public"}}},21152:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(11548),a=r(52483);let o=function(t,e,r,o){var n=!r;r||(r={});for(var s=-1,l=e.length;++s<l;){var h=e[s],c=o?o(r[h],t[h],h,r,t):void 0;void 0===c&&(c=t[h]),n?(0,a.A)(r,h,c):(0,i.A)(r,h,c)}return r}},21614:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var i=r(23918),a=r(62330),o=(0,i.A)(a.A,"DataView"),n=r(4348),s=(0,i.A)(a.A,"Promise"),l=r(64850),h=(0,i.A)(a.A,"WeakMap"),c=r(79898),d=r(52526),u="[object Map]",p="[object Promise]",f="[object Set]",g="[object WeakMap]",m="[object DataView]",y=(0,d.A)(o),b=(0,d.A)(n.A),x=(0,d.A)(s),C=(0,d.A)(l.A),k=(0,d.A)(h),_=c.A;(o&&_(new o(new ArrayBuffer(1)))!=m||n.A&&_(new n.A)!=u||s&&_(s.resolve())!=p||l.A&&_(new l.A)!=f||h&&_(new h)!=g)&&(_=function(t){var e=(0,c.A)(t),r="[object Object]"==e?t.constructor:void 0,i=r?(0,d.A)(r):"";if(i)switch(i){case y:return m;case b:return u;case x:return p;case C:return f;case k:return g}return e});let v=_},21842:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(51227);let a=function(t){var e=new t.constructor(t.byteLength);return new i.A(e).set(new i.A(t)),e}},23098:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var i=r(86780),a=r(21614),o=r(47312),n=r(63114),s=r(89173),l=r(93780),h=r(62260),c=r(89071),d=Object.prototype.hasOwnProperty;let u=function(t){if(null==t)return!0;if((0,s.A)(t)&&((0,n.A)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.A)(t)||(0,c.A)(t)||(0,o.A)(t)))return!t.length;var e=(0,a.A)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,h.A)(t))return!(0,i.A)(t).length;for(var r in t)if(d.call(t,r))return!1;return!0}},23918:(t,e,r)=>{"use strict";r.d(e,{A:()=>g});var i,a=r(30965),o=r(62330).A["__core-js_shared__"],n=(i=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",s=r(94090),l=r(52526),h=/^\[object .+?Constructor\]$/,c=Object.prototype,d=Function.prototype.toString,u=c.hasOwnProperty,p=RegExp("^"+d.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let f=function(t){return!!(0,s.A)(t)&&(!n||!(n in t))&&((0,a.A)(t)?p:h).test((0,l.A)(t))},g=function(t,e){var r=null==t?void 0:t[e];return f(r)?r:void 0}},24726:(t,e,r)=>{"use strict";r.d(e,{O:()=>i});var i=(0,r(69830).K2)(({flowchart:t})=>{let e=t?.subGraphTitleMargin?.top??0,r=t?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:e+r}},"getSubGraphTitleMargins")},26676:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>s,lG:()=>o,uN:()=>n});var i=r(13013);function a(t,e){return function(r){return t+r*e}}function o(t,e){var r=e-t;return r?a(t,r>180||r<-180?r-360*Math.round(r/360):r):(0,i.A)(isNaN(t)?e:t)}function n(t){return 1==(t*=1)?s:function(e,r){var a,o,n;return r-e?(a=e,o=r,a=Math.pow(a,n=t),o=Math.pow(o,n)-a,n=1/n,function(t){return Math.pow(a+t*o,n)}):(0,i.A)(isNaN(e)?r:e)}}function s(t,e){var r=e-t;return r?a(t,r):(0,i.A)(isNaN(t)?e:t)}},27851:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(16755);let a=function(t,e){for(var r=t.length;r--;)if((0,i.A)(t[r][0],e))return r;return -1};var o=Array.prototype.splice;function n(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}n.prototype.clear=function(){this.__data__=[],this.size=0},n.prototype.delete=function(t){var e=this.__data__,r=a(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)},n.prototype.get=function(t){var e=this.__data__,r=a(e,t);return r<0?void 0:e[r][1]},n.prototype.has=function(t){return a(this.__data__,t)>-1},n.prototype.set=function(t,e){var r=this.__data__,i=a(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this};let s=n},27872:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(23918);let a=function(){try{var t=(0,i.A)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},28212:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var i=r(53704),a=r(59585);let o={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;let e=t.match(o.re);if(!e)return;let r=e[1],a=parseInt(r,16),n=r.length,s=n%4==0,l=n>4,h=l?1:17,c=l?8:4,d=s?0:-1,u=l?255:15;return i.A.set({r:(a>>c*(d+3)&u)*h,g:(a>>c*(d+2)&u)*h,b:(a>>c*(d+1)&u)*h,a:s?(a&u)*h/255:1},t)},stringify:t=>{let{r:e,g:r,b:i,a:o}=t;return o<1?`#${a.Y[Math.round(e)]}${a.Y[Math.round(r)]}${a.Y[Math.round(i)]}${a.Y[Math.round(255*o)]}`:`#${a.Y[Math.round(e)]}${a.Y[Math.round(r)]}${a.Y[Math.round(i)]}`}};var n=r(10697);let s={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{let e=t.match(s.hueRe);if(e){let[,t,r]=e;switch(r){case"grad":return n.A.channel.clamp.h(.9*parseFloat(t));case"rad":return n.A.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return n.A.channel.clamp.h(360*parseFloat(t))}}return n.A.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let r=t.match(s.re);if(!r)return;let[,a,o,l,h,c]=r;return i.A.set({h:s._hue2deg(a),s:n.A.channel.clamp.s(parseFloat(o)),l:n.A.channel.clamp.l(parseFloat(l)),a:h?n.A.channel.clamp.a(c?parseFloat(h)/100:parseFloat(h)):1},t)},stringify:t=>{let{h:e,s:r,l:i,a}=t;return a<1?`hsla(${n.A.lang.round(e)}, ${n.A.lang.round(r)}%, ${n.A.lang.round(i)}%, ${a})`:`hsl(${n.A.lang.round(e)}, ${n.A.lang.round(r)}%, ${n.A.lang.round(i)}%)`}},l={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();let e=l.colors[t];if(e)return o.parse(e)},stringify:t=>{let e=o.stringify(t);for(let t in l.colors)if(l.colors[t]===e)return t}},h={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{let e=t.charCodeAt(0);if(114!==e&&82!==e)return;let r=t.match(h.re);if(!r)return;let[,a,o,s,l,c,d,u,p]=r;return i.A.set({r:n.A.channel.clamp.r(o?2.55*parseFloat(a):parseFloat(a)),g:n.A.channel.clamp.g(l?2.55*parseFloat(s):parseFloat(s)),b:n.A.channel.clamp.b(d?2.55*parseFloat(c):parseFloat(c)),a:u?n.A.channel.clamp.a(p?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{let{r:e,g:r,b:i,a}=t;return a<1?`rgba(${n.A.lang.round(e)}, ${n.A.lang.round(r)}, ${n.A.lang.round(i)}, ${n.A.lang.round(a)})`:`rgb(${n.A.lang.round(e)}, ${n.A.lang.round(r)}, ${n.A.lang.round(i)})`}},c={format:{keyword:l,hex:o,rgb:h,rgba:h,hsl:s,hsla:s},parse:t=>{if("string"!=typeof t)return t;let e=o.parse(t)||h.parse(t)||s.parse(t)||l.parse(t);if(e)return e;throw Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(a.Z.HSL)||void 0===t.data.r?s.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?o.stringify(t):h.stringify(t)}},30965:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(79898),a=r(94090);let o=function(t){if(!(0,a.A)(t))return!1;var e=(0,i.A)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},34302:(t,e,r)=>{"use strict";function i(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var i=Array.from("string"==typeof t?[t]:t);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var a=i.reduce(function(t,e){var r=e.match(/\n([\t ]+|(?!\s).)/g);return r?t.concat(r.map(function(t){var e,r;return null!=(r=null==(e=t.match(/[\t ]/g))?void 0:e.length)?r:0})):t},[]);if(a.length){var o=RegExp("\n[ ]{"+Math.min.apply(Math,a)+"}","g");i=i.map(function(t){return t.replace(o,"\n")})}i[0]=i[0].replace(/^\r?\n/,"");var n=i[0];return e.forEach(function(t,e){var r=n.match(/(?:^|\n)( *)$/),a=r?r[1]:"",o=t;"string"==typeof t&&t.includes("\n")&&(o=String(t).split("\n").map(function(t,e){return 0===e?t:""+a+t}).join("\n")),n+=o+i[e+1]}),n}r.d(e,{T:()=>i})},37496:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(10697),a=r(28212);let o=(t,e,r)=>{let o=a.A.parse(t),n=o[e],s=i.A.channel.clamp[e](n+r);return n!==s&&(o[e]=s),a.A.stringify(o)}},38177:(t,e,r)=>{"use strict";function i(t,e,r){if(t&&t.length){let[i,a]=e,o=Math.PI/180*r,n=Math.cos(o),s=Math.sin(o);for(let e of t){let[t,r]=e;e[0]=(t-i)*n-(r-a)*s+i,e[1]=(t-i)*s+(r-a)*n+a}}}function a(t,e){var r;let a=e.hachureAngle+90,o=e.hachureGap;o<0&&(o=4*e.strokeWidth),o=Math.round(Math.max(o,.1));let n=1;return e.roughness>=1&&((null==(r=e.randomizer)?void 0:r.next())||Math.random())>.7&&(n=o),function(t,e,r,a=1){let o=Math.max(e,.1),n=t[0]&&t[0][0]&&"number"==typeof t[0][0]?[t]:t,s=[0,0];if(r)for(let t of n)i(t,s,r);let l=function(t,e,r){let i=[];for(let e of t){var a,o;let t=[...e];a=t[0],o=t[t.length-1],a[0]===o[0]&&a[1]===o[1]||t.push([t[0][0],t[0][1]]),t.length>2&&i.push(t)}let n=[];e=Math.max(e,.1);let s=[];for(let t of i)for(let e=0;e<t.length-1;e++){let r=t[e],i=t[e+1];if(r[1]!==i[1]){let t=Math.min(r[1],i[1]);s.push({ymin:t,ymax:Math.max(r[1],i[1]),x:t===r[1]?r[0]:i[0],islope:(i[0]-r[0])/(i[1]-r[1])})}}if(s.sort((t,e)=>t.ymin<e.ymin?-1:t.ymin>e.ymin?1:t.x<e.x?-1:t.x>e.x?1:t.ymax===e.ymax?0:(t.ymax-e.ymax)/Math.abs(t.ymax-e.ymax)),!s.length)return n;let l=[],h=s[0].ymin,c=0;for(;l.length||s.length;){if(s.length){let t=-1;for(let e=0;e<s.length&&!(s[e].ymin>h);e++)t=e;s.splice(0,t+1).forEach(t=>{l.push({s:h,edge:t})})}if((l=l.filter(t=>!(t.edge.ymax<=h))).sort((t,e)=>t.edge.x===e.edge.x?0:(t.edge.x-e.edge.x)/Math.abs(t.edge.x-e.edge.x)),(1!==r||c%e==0)&&l.length>1)for(let t=0;t<l.length;t+=2){let e=t+1;if(e>=l.length)break;let r=l[t].edge,i=l[e].edge;n.push([[Math.round(r.x),h],[Math.round(i.x),h]])}h+=r,l.forEach(t=>{t.edge.x=t.edge.x+r*t.edge.islope}),c++}return n}(n,o,a);if(r){let t;for(let t of n)i(t,s,-r);t=[],l.forEach(e=>t.push(...e)),i(t,s,-r)}return l}(t,o,a,n||1)}r.d(e,{A:()=>V});class o{constructor(t){this.helper=t}fillPolygons(t,e){return this._fillPolygons(t,e)}_fillPolygons(t,e){let r=a(t,e);return{type:"fillSketch",ops:this.renderLines(r,e)}}renderLines(t,e){let r=[];for(let i of t)r.push(...this.helper.doubleLineOps(i[0][0],i[0][1],i[1][0],i[1][1],e));return r}}function n(t){let e=t[0],r=t[1];return Math.sqrt(Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2))}class s extends o{fillPolygons(t,e){let r=e.hachureGap;r<0&&(r=4*e.strokeWidth);let i=a(t,Object.assign({},e,{hachureGap:r=Math.max(r,.1)})),o=Math.PI/180*e.hachureAngle,s=[],l=.5*r*Math.cos(o),h=.5*r*Math.sin(o);for(let[t,e]of i)n([t,e])&&s.push([[t[0]-l,t[1]+h],[...e]],[[t[0]+l,t[1]-h],[...e]]);return{type:"fillSketch",ops:this.renderLines(s,e)}}}class l extends o{fillPolygons(t,e){let r=this._fillPolygons(t,e),i=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),a=this._fillPolygons(t,i);return r.ops=r.ops.concat(a.ops),r}}class h{constructor(t){this.helper=t}fillPolygons(t,e){let r=a(t,e=Object.assign({},e,{hachureAngle:0}));return this.dotsOnLines(r,e)}dotsOnLines(t,e){let r=[],i=e.hachureGap;i<0&&(i=4*e.strokeWidth),i=Math.max(i,.1);let a=e.fillWeight;a<0&&(a=e.strokeWidth/2);let o=i/4;for(let s of t){let t=n(s),l=Math.ceil(t/i)-1,h=t-l*i,c=(s[0][0]+s[1][0])/2-i/4,d=Math.min(s[0][1],s[1][1]);for(let t=0;t<l;t++){let n=c-o+2*Math.random()*o,s=d+h+t*i-o+2*Math.random()*o,l=this.helper.ellipse(n,s,a,a,e);r.push(...l.ops)}}return{type:"fillSketch",ops:r}}}class c{constructor(t){this.helper=t}fillPolygons(t,e){let r=a(t,e);return{type:"fillSketch",ops:this.dashedLine(r,e)}}dashedLine(t,e){let r=e.dashOffset<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashOffset,i=e.dashGap<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashGap,a=[];return t.forEach(t=>{let o=n(t),s=Math.floor(o/(r+i)),l=(o+i-s*(r+i))/2,h=t[0],c=t[1];h[0]>c[0]&&(h=t[1],c=t[0]);let d=Math.atan((c[1]-h[1])/(c[0]-h[0]));for(let t=0;t<s;t++){let o=t*(r+i),n=o+r,s=[h[0]+o*Math.cos(d)+l*Math.cos(d),h[1]+o*Math.sin(d)+l*Math.sin(d)],c=[h[0]+n*Math.cos(d)+l*Math.cos(d),h[1]+n*Math.sin(d)+l*Math.sin(d)];a.push(...this.helper.doubleLineOps(s[0],s[1],c[0],c[1],e))}}),a}}class d{constructor(t){this.helper=t}fillPolygons(t,e){let r=e.hachureGap<0?4*e.strokeWidth:e.hachureGap,i=e.zigzagOffset<0?r:e.zigzagOffset,o=a(t,e=Object.assign({},e,{hachureGap:r+i}));return{type:"fillSketch",ops:this.zigzagLines(o,i,e)}}zigzagLines(t,e,r){let i=[];return t.forEach(t=>{let a=Math.round(n(t)/(2*e)),o=t[0],s=t[1];o[0]>s[0]&&(o=t[1],s=t[0]);let l=Math.atan((s[1]-o[1])/(s[0]-o[0]));for(let t=0;t<a;t++){let a=2*t*e,n=2*(t+1)*e,s=Math.sqrt(2*Math.pow(e,2)),h=[o[0]+a*Math.cos(l),o[1]+a*Math.sin(l)],c=[o[0]+n*Math.cos(l),o[1]+n*Math.sin(l)],d=[h[0]+s*Math.cos(l+Math.PI/4),h[1]+s*Math.sin(l+Math.PI/4)];i.push(...this.helper.doubleLineOps(h[0],h[1],d[0],d[1],r),...this.helper.doubleLineOps(d[0],d[1],c[0],c[1],r))}}),i}}let u={};class p{constructor(t){this.seed=t}next(){return this.seed?(0x80000000-1&(this.seed=Math.imul(48271,this.seed)))/0x80000000:Math.random()}}let f={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function g(t){let e=[],r=function(t){let e=[];for(;""!==t;)if(t.match(/^([ \t\r\n,]+)/))t=t.substr(RegExp.$1.length);else if(t.match(/^([aAcChHlLmMqQsStTvVzZ])/))e[e.length]={type:0,text:RegExp.$1},t=t.substr(RegExp.$1.length);else{if(!t.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];e[e.length]={type:1,text:`${parseFloat(RegExp.$1)}`},t=t.substr(RegExp.$1.length)}return e[e.length]={type:2,text:""},e}(t),i="BOD",a=0,o=r[0];for(;2!==o.type;){let n=0,s=[];if("BOD"===i){if("M"!==o.text&&"m"!==o.text)return g("M0,0"+t);a++,n=f[o.text],i=o.text}else 1===o.type?n=f[i]:(a++,n=f[o.text],i=o.text);if(!(a+n<r.length))throw Error("Path data ended short");for(let t=a;t<a+n;t++){let e=r[t];if(1!==e.type)throw Error("Param not a number: "+i+","+e.text);s[s.length]=+e.text}if("number"!=typeof f[i])throw Error("Bad segment: "+i);{let t={key:i,data:s};e.push(t),a+=n,o=r[a],"M"===i&&(i="L"),"m"===i&&(i="l")}}return e}function m(t){let e=0,r=0,i=0,a=0,o=[];for(let{key:n,data:s}of t)switch(n){case"M":o.push({key:"M",data:[...s]}),[e,r]=s,[i,a]=s;break;case"m":e+=s[0],r+=s[1],o.push({key:"M",data:[e,r]}),i=e,a=r;break;case"L":o.push({key:"L",data:[...s]}),[e,r]=s;break;case"l":e+=s[0],r+=s[1],o.push({key:"L",data:[e,r]});break;case"C":o.push({key:"C",data:[...s]}),e=s[4],r=s[5];break;case"c":{let t=s.map((t,i)=>i%2?t+r:t+e);o.push({key:"C",data:t}),e=t[4],r=t[5];break}case"Q":o.push({key:"Q",data:[...s]}),e=s[2],r=s[3];break;case"q":{let t=s.map((t,i)=>i%2?t+r:t+e);o.push({key:"Q",data:t}),e=t[2],r=t[3];break}case"A":o.push({key:"A",data:[...s]}),e=s[5],r=s[6];break;case"a":e+=s[5],r+=s[6],o.push({key:"A",data:[s[0],s[1],s[2],s[3],s[4],e,r]});break;case"H":o.push({key:"H",data:[...s]}),e=s[0];break;case"h":e+=s[0],o.push({key:"H",data:[e]});break;case"V":o.push({key:"V",data:[...s]}),r=s[0];break;case"v":r+=s[0],o.push({key:"V",data:[r]});break;case"S":o.push({key:"S",data:[...s]}),e=s[2],r=s[3];break;case"s":{let t=s.map((t,i)=>i%2?t+r:t+e);o.push({key:"S",data:t}),e=t[2],r=t[3];break}case"T":o.push({key:"T",data:[...s]}),e=s[0],r=s[1];break;case"t":e+=s[0],r+=s[1],o.push({key:"T",data:[e,r]});break;case"Z":case"z":o.push({key:"Z",data:[]}),e=i,r=a}return o}function y(t){let e=[],r="",i=0,a=0,o=0,n=0,s=0,l=0;for(let{key:h,data:c}of t){switch(h){case"M":e.push({key:"M",data:[...c]}),[i,a]=c,[o,n]=c;break;case"C":e.push({key:"C",data:[...c]}),i=c[4],a=c[5],s=c[2],l=c[3];break;case"L":e.push({key:"L",data:[...c]}),[i,a]=c;break;case"H":i=c[0],e.push({key:"L",data:[i,a]});break;case"V":a=c[0],e.push({key:"L",data:[i,a]});break;case"S":{let t=0,o=0;"C"===r||"S"===r?(t=i+(i-s),o=a+(a-l)):(t=i,o=a),e.push({key:"C",data:[t,o,...c]}),s=c[0],l=c[1],i=c[2],a=c[3];break}case"T":{let[t,o]=c,n=0,h=0;"Q"===r||"T"===r?(n=i+(i-s),h=a+(a-l)):(n=i,h=a);let d=i+2*(n-i)/3,u=a+2*(h-a)/3,p=t+2*(n-t)/3,f=o+2*(h-o)/3;e.push({key:"C",data:[d,u,p,f,t,o]}),s=n,l=h,i=t,a=o;break}case"Q":{let[t,r,o,n]=c,h=i+2*(t-i)/3,d=a+2*(r-a)/3,u=o+2*(t-o)/3,p=n+2*(r-n)/3;e.push({key:"C",data:[h,d,u,p,o,n]}),s=t,l=r,i=o,a=n;break}case"A":{let t=Math.abs(c[0]),r=Math.abs(c[1]),o=c[2],n=c[3],s=c[4],l=c[5],h=c[6];0===t||0===r?(e.push({key:"C",data:[i,a,l,h,l,h]}),i=l,a=h):(i!==l||a!==h)&&((function t(e,r,i,a,o,n,s,l,h,c){let d=Math.PI*s/180,u=[],p=0,f=0,g=0,m=0;if(c)[p,f,g,m]=c;else{[e,r]=b(e,r,-d),[i,a]=b(i,a,-d);let t=(e-i)/2,s=(r-a)/2,c=t*t/(o*o)+s*s/(n*n);c>1&&(o*=c=Math.sqrt(c),n*=c);let u=o*o,y=n*n,x=(l===h?-1:1)*Math.sqrt(Math.abs((u*y-u*s*s-y*t*t)/(u*s*s+y*t*t)));g=x*o*s/n+(e+i)/2,m=-(x*n)*t/o+(r+a)/2,p=Math.asin(parseFloat(((r-m)/n).toFixed(9))),f=Math.asin(parseFloat(((a-m)/n).toFixed(9))),e<g&&(p=Math.PI-p),i<g&&(f=Math.PI-f),p<0&&(p=2*Math.PI+p),f<0&&(f=2*Math.PI+f),h&&p>f&&(p-=2*Math.PI),!h&&f>p&&(f-=2*Math.PI)}let y=f-p;if(Math.abs(y)>120*Math.PI/180){let e=f,r=i,l=a;u=t(i=g+o*Math.cos(f=h&&f>p?p+120*Math.PI/180*1:p+-(120*Math.PI/180*1)),a=m+n*Math.sin(f),r,l,o,n,s,0,h,[f,e,g,m])}y=f-p;let x=Math.cos(p),C=Math.cos(f),k=Math.tan(y/4),_=4/3*o*k,v=4/3*n*k,A=[e,r],T=[e+_*Math.sin(p),r-v*x],S=[i+_*Math.sin(f),a-v*C],w=[i,a];if(T[0]=2*A[0]-T[0],T[1]=2*A[1]-T[1],c)return[T,S,w].concat(u);{u=[T,S,w].concat(u);let t=[];for(let e=0;e<u.length;e+=3){let r=b(u[e][0],u[e][1],d),i=b(u[e+1][0],u[e+1][1],d),a=b(u[e+2][0],u[e+2][1],d);t.push([r[0],r[1],i[0],i[1],a[0],a[1]])}return t}})(i,a,l,h,t,r,o,n,s).forEach(function(t){e.push({key:"C",data:t})}),i=l,a=h);break}case"Z":e.push({key:"Z",data:[]}),i=o,a=n}r=h}return e}function b(t,e,r){return[t*Math.cos(r)-e*Math.sin(r),t*Math.sin(r)+e*Math.cos(r)]}let x={randOffset:function(t,e){return E(t,e)},randOffsetWithRange:function(t,e,r){return M(t,e,r)},ellipse:function(t,e,r,i,a){let o=v(r,i,a);return A(t,e,a,o).opset},doubleLineOps:function(t,e,r,i,a){return O(t,e,r,i,a,!0)}};function C(t,e,r,i,a){return{type:"path",ops:O(t,e,r,i,a)}}function k(t,e,r){let i=(t||[]).length;if(i>2){let a=[];for(let e=0;e<i-1;e++)a.push(...O(t[e][0],t[e][1],t[e+1][0],t[e+1][1],r));return e&&a.push(...O(t[i-1][0],t[i-1][1],t[0][0],t[0][1],r)),{type:"path",ops:a}}return 2===i?C(t[0][0],t[0][1],t[1][0],t[1][1],r):{type:"path",ops:[]}}function _(t,e){if(t.length){let r="number"==typeof t[0][0]?[t]:t,i=I(r[0],+(1+.2*e.roughness),e),a=e.disableMultiStroke?[]:I(r[0],1.5*(1+.22*e.roughness),F(e));for(let t=1;t<r.length;t++){let o=r[t];if(o.length){let t=I(o,+(1+.2*e.roughness),e),r=e.disableMultiStroke?[]:I(o,1.5*(1+.22*e.roughness),F(e));for(let e of t)"move"!==e.op&&i.push(e);for(let t of r)"move"!==t.op&&a.push(t)}}return{type:"path",ops:i.concat(a)}}return{type:"path",ops:[]}}function v(t,e,r){let i=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(t/2,2)+Math.pow(e/2,2))/2)),a=2*Math.PI/Math.ceil(Math.max(r.curveStepCount,r.curveStepCount/Math.sqrt(200)*i)),o=Math.abs(t/2),n=Math.abs(e/2),s=1-r.curveFitting;return o+=E(o*s,r),n+=E(n*s,r),{increment:a,rx:o,ry:n}}function A(t,e,r,i){let[a,o]=$(i.increment,t,e,i.rx,i.ry,1,i.increment*M(.1,M(.4,1,r),r),r),n=D(a,null,r);if(!r.disableMultiStroke&&0!==r.roughness){let[a]=$(i.increment,t,e,i.rx,i.ry,1.5,0,r),o=D(a,null,r);n=n.concat(o)}return{estimatedPoints:o,opset:{type:"path",ops:n}}}function T(t,e,r,i,a,o,n,s,l){let h=Math.abs(r/2),c=Math.abs(i/2);h+=E(.01*h,l),c+=E(.01*c,l);let d=a,u=o;for(;d<0;)d+=2*Math.PI,u+=2*Math.PI;u-d>2*Math.PI&&(d=0,u=2*Math.PI);let p=Math.min(2*Math.PI/l.curveStepCount/2,(u-d)/2),f=q(p,t,e,h,c,d,u,1,l);if(!l.disableMultiStroke){let r=q(p,t,e,h,c,d,u,1.5,l);f.push(...r)}return n&&(s?f.push(...O(t,e,t+h*Math.cos(d),e+c*Math.sin(d),l),...O(t,e,t+h*Math.cos(u),e+c*Math.sin(u),l)):f.push({op:"lineTo",data:[t,e]},{op:"lineTo",data:[t+h*Math.cos(d),e+c*Math.sin(d)]})),{type:"path",ops:f}}function S(t,e){let r=y(m(g(t))),i=[],a=[0,0],o=[0,0];for(let{key:t,data:n}of r)switch(t){case"M":o=[n[0],n[1]],a=[n[0],n[1]];break;case"L":i.push(...O(o[0],o[1],n[0],n[1],e)),o=[n[0],n[1]];break;case"C":{let[t,r,a,s,l,h]=n;i.push(...function(t,e,r,i,a,o,n,s){let l=[],h=[s.maxRandomnessOffset||1,(s.maxRandomnessOffset||1)+.3],c=[0,0],d=s.disableMultiStroke?1:2,u=s.preserveVertices;for(let p=0;p<d;p++)0===p?l.push({op:"move",data:[n[0],n[1]]}):l.push({op:"move",data:[n[0]+(u?0:E(h[0],s)),n[1]+(u?0:E(h[0],s))]}),c=u?[a,o]:[a+E(h[p],s),o+E(h[p],s)],l.push({op:"bcurveTo",data:[t+E(h[p],s),e+E(h[p],s),r+E(h[p],s),i+E(h[p],s),c[0],c[1]]});return l}(t,r,a,s,l,h,o,e)),o=[l,h];break}case"Z":i.push(...O(o[0],o[1],a[0],a[1],e)),o=[a[0],a[1]]}return{type:"path",ops:i}}function w(t,e){let r=[];for(let i of t)if(i.length){let t=e.maxRandomnessOffset||0,a=i.length;if(a>2){r.push({op:"move",data:[i[0][0]+E(t,e),i[0][1]+E(t,e)]});for(let o=1;o<a;o++)r.push({op:"lineTo",data:[i[o][0]+E(t,e),i[o][1]+E(t,e)]})}}return{type:"fillPath",ops:r}}function B(t,e){return(function(t,e){let r=t.fillStyle||"hachure";if(!u[r])switch(r){case"zigzag":u[r]||(u[r]=new s(e));break;case"cross-hatch":u[r]||(u[r]=new l(e));break;case"dots":u[r]||(u[r]=new h(e));break;case"dashed":u[r]||(u[r]=new c(e));break;case"zigzag-line":u[r]||(u[r]=new d(e));break;default:u[r="hachure"]||(u[r]=new o(e))}return u[r]})(e,x).fillPolygons(t,e)}function F(t){let e=Object.assign({},t);return e.randomizer=void 0,t.seed&&(e.seed=t.seed+1),e}function L(t){return t.randomizer||(t.randomizer=new p(t.seed||0)),t.randomizer.next()}function M(t,e,r,i=1){return r.roughness*i*(L(r)*(e-t)+t)}function E(t,e,r=1){return M(-t,t,e,r)}function O(t,e,r,i,a,o=!1){let n=o?a.disableMultiStrokeFill:a.disableMultiStroke,s=K(t,e,r,i,a,!0,!1);if(n)return s;let l=K(t,e,r,i,a,!0,!0);return s.concat(l)}function K(t,e,r,i,a,o,n){let s=Math.pow(t-r,2)+Math.pow(e-i,2),l=Math.sqrt(s),h=1;h=l<200?1:l>500?.4:-.0016668*l+1.233334;let c=a.maxRandomnessOffset||0;c*c*100>s&&(c=l/10);let d=c/2,u=.2+.2*L(a),p=a.bowing*a.maxRandomnessOffset*(i-e)/200,f=a.bowing*a.maxRandomnessOffset*(t-r)/200;p=E(p,a,h),f=E(f,a,h);let g=[],m=a.preserveVertices;return o&&(n?g.push({op:"move",data:[t+(m?0:E(d,a,h)),e+(m?0:E(d,a,h))]}):g.push({op:"move",data:[t+(m?0:E(c,a,h)),e+(m?0:E(c,a,h))]})),n?g.push({op:"bcurveTo",data:[p+t+(r-t)*u+E(d,a,h),f+e+(i-e)*u+E(d,a,h),p+t+2*(r-t)*u+E(d,a,h),f+e+2*(i-e)*u+E(d,a,h),r+(m?0:E(d,a,h)),i+(m?0:E(d,a,h))]}):g.push({op:"bcurveTo",data:[p+t+(r-t)*u+E(c,a,h),f+e+(i-e)*u+E(c,a,h),p+t+2*(r-t)*u+E(c,a,h),f+e+2*(i-e)*u+E(c,a,h),r+(m?0:E(c,a,h)),i+(m?0:E(c,a,h))]}),g}function I(t,e,r){if(!t.length)return[];let i=[];i.push([t[0][0]+E(e,r),t[0][1]+E(e,r)]),i.push([t[0][0]+E(e,r),t[0][1]+E(e,r)]);for(let a=1;a<t.length;a++)i.push([t[a][0]+E(e,r),t[a][1]+E(e,r)]),a===t.length-1&&i.push([t[a][0]+E(e,r),t[a][1]+E(e,r)]);return D(i,null,r)}function D(t,e,r){let i=t.length,a=[];if(i>3){let o=[],n=1-r.curveTightness;a.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2<i;e++){let r=t[e];o[0]=[r[0],r[1]],o[1]=[r[0]+(n*t[e+1][0]-n*t[e-1][0])/6,r[1]+(n*t[e+1][1]-n*t[e-1][1])/6],o[2]=[t[e+1][0]+(n*t[e][0]-n*t[e+2][0])/6,t[e+1][1]+(n*t[e][1]-n*t[e+2][1])/6],o[3]=[t[e+1][0],t[e+1][1]],a.push({op:"bcurveTo",data:[o[1][0],o[1][1],o[2][0],o[2][1],o[3][0],o[3][1]]})}if(e&&2===e.length){let t=r.maxRandomnessOffset;a.push({op:"lineTo",data:[e[0]+E(t,r),e[1]+E(t,r)]})}}else 3===i?(a.push({op:"move",data:[t[1][0],t[1][1]]}),a.push({op:"bcurveTo",data:[t[1][0],t[1][1],t[2][0],t[2][1],t[2][0],t[2][1]]})):2===i&&a.push(...K(t[0][0],t[0][1],t[1][0],t[1][1],r,!0,!0));return a}function $(t,e,r,i,a,o,n,s){let l=[],h=[];if(0===s.roughness){t/=4,h.push([e+i*Math.cos(-t),r+a*Math.sin(-t)]);for(let o=0;o<=2*Math.PI;o+=t){let t=[e+i*Math.cos(o),r+a*Math.sin(o)];l.push(t),h.push(t)}h.push([e+ +i,r+0*a]),h.push([e+i*Math.cos(t),r+a*Math.sin(t)])}else{let c=E(.5,s)-Math.PI/2;h.push([E(o,s)+e+.9*i*Math.cos(c-t),E(o,s)+r+.9*a*Math.sin(c-t)]);let d=2*Math.PI+c-.01;for(let n=c;n<d;n+=t){let t=[E(o,s)+e+i*Math.cos(n),E(o,s)+r+a*Math.sin(n)];l.push(t),h.push(t)}h.push([E(o,s)+e+i*Math.cos(c+2*Math.PI+.5*n),E(o,s)+r+a*Math.sin(c+2*Math.PI+.5*n)]),h.push([E(o,s)+e+.98*i*Math.cos(c+n),E(o,s)+r+.98*a*Math.sin(c+n)]),h.push([E(o,s)+e+.9*i*Math.cos(c+.5*n),E(o,s)+r+.9*a*Math.sin(c+.5*n)])}return[h,l]}function q(t,e,r,i,a,o,n,s,l){let h=o+E(.1,l),c=[];c.push([E(s,l)+e+.9*i*Math.cos(h-t),E(s,l)+r+.9*a*Math.sin(h-t)]);for(let o=h;o<=n;o+=t)c.push([E(s,l)+e+i*Math.cos(o),E(s,l)+r+a*Math.sin(o)]);return c.push([e+i*Math.cos(n),r+a*Math.sin(n)]),c.push([e+i*Math.cos(n),r+a*Math.sin(n)]),D(c,null,l)}function z(t,e=0){let r=t.length;if(r<3)throw Error("A curve must have at least three points.");let i=[];if(3===r)i.push([...t[0]],[...t[1]],[...t[2]],[...t[2]]);else{let r=[];r.push(t[0],t[0]);for(let e=1;e<t.length;e++)r.push(t[e]),e===t.length-1&&r.push(t[e]);let a=[],o=1-e;i.push([...r[0]]);for(let t=1;t+2<r.length;t++){let e=r[t];a[0]=[e[0],e[1]],a[1]=[e[0]+(o*r[t+1][0]-o*r[t-1][0])/6,e[1]+(o*r[t+1][1]-o*r[t-1][1])/6],a[2]=[r[t+1][0]+(o*r[t][0]-o*r[t+2][0])/6,r[t+1][1]+(o*r[t][1]-o*r[t+2][1])/6],a[3]=[r[t+1][0],r[t+1][1]],i.push(a[1],a[2],a[3])}}return i}function R(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)}function P(t,e,r){return[t[0]+(e[0]-t[0])*r,t[1]+(e[1]-t[1])*r]}function N(t,e,r,i,a){let o=a||[],n=t[e],s=t[r-1],l=0,h=1;for(let i=e+1;i<r-1;++i){let e=function(t,e,r){let i=R(e,r);if(0===i)return R(t,e);let a=((t[0]-e[0])*(r[0]-e[0])+(t[1]-e[1])*(r[1]-e[1]))/i;return R(t,P(e,r,a=Math.max(0,Math.min(1,a))))}(t[i],n,s);e>l&&(l=e,h=i)}return Math.sqrt(l)>i?(N(t,e,h+1,i,o),N(t,h,r,i,o)):(o.length||o.push(n),o.push(s)),o}function j(t,e=.15,r){let i=[],a=(t.length-1)/3;for(let r=0;r<a;r++)!function t(e,r,i,a){let o,n,s,l,h,c,d,u,p=a||[];if(o=e[r+0],n=e[r+1],s=e[r+2],l=e[r+3],h=3*n[0]-2*o[0]-l[0],h*=h,c=3*n[1]-2*o[1]-l[1],c*=c,d=3*s[0]-2*l[0]-o[0],d*=d,u=3*s[1]-2*l[1]-o[1],u*=u,h<d&&(h=d),c<u&&(c=u),h+c<i){let t=e[r+0];p.length?Math.sqrt(R(p[p.length-1],t))>1&&p.push(t):p.push(t),p.push(e[r+3])}else{let a=e[r+0],o=e[r+1],n=e[r+2],s=e[r+3],l=P(a,o,.5),h=P(o,n,.5),c=P(n,s,.5),d=P(l,h,.5),u=P(h,c,.5),f=P(d,u,.5);t([a,l,d,f],0,i,p),t([f,u,c,s],0,i,p)}return p}(t,3*r,e,i);return r&&r>0?N(i,0,i.length,r):i}let W="none";class H{constructor(t){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=t||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(0x80000000*Math.random())}_o(t){return t?Object.assign({},this.defaultOptions,t):this.defaultOptions}_d(t,e,r){return{shape:t,sets:e||[],options:r||this.defaultOptions}}line(t,e,r,i,a){let o=this._o(a);return this._d("line",[C(t,e,r,i,o)],o)}rectangle(t,e,r,i,a){var o,n,s,l;let h=this._o(a),c=[],d=k([[o=t,n=e],[o+(s=r),n],[o+s,n+(l=i)],[o,n+l]],!0,h);if(h.fill){let a=[[t,e],[t+r,e],[t+r,e+i],[t,e+i]];"solid"===h.fillStyle?c.push(w([a],h)):c.push(B([a],h))}return h.stroke!==W&&c.push(d),this._d("rectangle",c,h)}ellipse(t,e,r,i,a){let o=this._o(a),n=[],s=v(r,i,o),l=A(t,e,o,s);if(o.fill)if("solid"===o.fillStyle){let r=A(t,e,o,s).opset;r.type="fillPath",n.push(r)}else n.push(B([l.estimatedPoints],o));return o.stroke!==W&&n.push(l.opset),this._d("ellipse",n,o)}circle(t,e,r,i){let a=this.ellipse(t,e,r,r,i);return a.shape="circle",a}linearPath(t,e){let r=this._o(e);return this._d("linearPath",[k(t,!1,r)],r)}arc(t,e,r,i,a,o,n=!1,s){let l=this._o(s),h=[],c=T(t,e,r,i,a,o,n,!0,l);if(n&&l.fill)if("solid"===l.fillStyle){let n=Object.assign({},l);n.disableMultiStroke=!0;let s=T(t,e,r,i,a,o,!0,!1,n);s.type="fillPath",h.push(s)}else h.push(function(t,e,r,i,a,o,n){let s=Math.abs(r/2),l=Math.abs(i/2);s+=E(.01*s,n),l+=E(.01*l,n);let h=a,c=o;for(;h<0;)h+=2*Math.PI,c+=2*Math.PI;c-h>2*Math.PI&&(h=0,c=2*Math.PI);let d=(c-h)/n.curveStepCount,u=[];for(let r=h;r<=c;r+=d)u.push([t+s*Math.cos(r),e+l*Math.sin(r)]);return u.push([t+s*Math.cos(c),e+l*Math.sin(c)]),u.push([t,e]),B([u],n)}(t,e,r,i,a,o,l));return l.stroke!==W&&h.push(c),this._d("arc",h,l)}curve(t,e){let r=this._o(e),i=[],a=_(t,r);if(r.fill&&r.fill!==W)if("solid"===r.fillStyle){let e=_(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else{let e=[];if(t.length)for(let i of"number"==typeof t[0][0]?[t]:t)i.length<3?e.push(...i):3===i.length?e.push(...j(z([i[0],i[0],i[1],i[2]]),10,(1+r.roughness)/2)):e.push(...j(z(i),10,(1+r.roughness)/2));e.length&&i.push(B([e],r))}return r.stroke!==W&&i.push(a),this._d("curve",i,r)}polygon(t,e){let r=this._o(e),i=[],a=k(t,!0,r);return r.fill&&("solid"===r.fillStyle?i.push(w([t],r)):i.push(B([t],r))),r.stroke!==W&&i.push(a),this._d("polygon",i,r)}path(t,e){let r=this._o(e),i=[];if(!t)return this._d("path",i,r);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");let a=r.fill&&"transparent"!==r.fill&&r.fill!==W,o=r.stroke!==W,n=!!(r.simplification&&r.simplification<1),s=function(t,e,r){let i=y(m(g(t))),a=[],o=[],n=[0,0],s=[],l=()=>{s.length>=4&&o.push(...j(s,1)),s=[]},h=()=>{l(),o.length&&(a.push(o),o=[])};for(let{key:t,data:e}of i)switch(t){case"M":h(),n=[e[0],e[1]],o.push(n);break;case"L":l(),o.push([e[0],e[1]]);break;case"C":if(!s.length){let t=o.length?o[o.length-1]:n;s.push([t[0],t[1]])}s.push([e[0],e[1]]),s.push([e[2],e[3]]),s.push([e[4],e[5]]);break;case"Z":l(),o.push([n[0],n[1]])}if(h(),!r)return a;let c=[];for(let t of a){let e=N(t,0,t.length,r);e.length&&c.push(e)}return c}(t,0,n?4-4*(r.simplification||1):(1+r.roughness)/2),l=S(t,r);if(a)if("solid"===r.fillStyle)if(1===s.length){let e=S(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else i.push(w(s,r));else i.push(B(s,r));return o&&(n?s.forEach(t=>{i.push(k(t,!1,r))}):i.push(l)),this._d("path",i,r)}opsToPath(t,e){let r="";for(let i of t.ops){let t="number"==typeof e&&e>=0?i.data.map(t=>+t.toFixed(e)):i.data;switch(i.op){case"move":r+=`M${t[0]} ${t[1]} `;break;case"bcurveTo":r+=`C${t[0]} ${t[1]}, ${t[2]} ${t[3]}, ${t[4]} ${t[5]} `;break;case"lineTo":r+=`L${t[0]} ${t[1]} `}}return r.trim()}toPaths(t){let e=t.sets||[],r=t.options||this.defaultOptions,i=[];for(let t of e){let e=null;switch(t.type){case"path":e={d:this.opsToPath(t),stroke:r.stroke,strokeWidth:r.strokeWidth,fill:W};break;case"fillPath":e={d:this.opsToPath(t),stroke:W,strokeWidth:0,fill:r.fill||W};break;case"fillSketch":e=this.fillSketch(t,r)}e&&i.push(e)}return i}fillSketch(t,e){let r=e.fillWeight;return r<0&&(r=e.strokeWidth/2),{d:this.opsToPath(t),stroke:e.fill||W,strokeWidth:r,fill:W}}_mergedShape(t){return t.filter((t,e)=>0===e||"move"!==t.op)}}class U{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new H(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),i=this.ctx,a=t.options.fixedDecimalPlaceDigits;for(let o of e)switch(o.type){case"path":i.save(),i.strokeStyle="none"===r.stroke?"transparent":r.stroke,i.lineWidth=r.strokeWidth,r.strokeLineDash&&i.setLineDash(r.strokeLineDash),r.strokeLineDashOffset&&(i.lineDashOffset=r.strokeLineDashOffset),this._drawToContext(i,o,a),i.restore();break;case"fillPath":{i.save(),i.fillStyle=r.fill||"";let e="curve"===t.shape||"polygon"===t.shape||"path"===t.shape?"evenodd":"nonzero";this._drawToContext(i,o,a,e),i.restore();break}case"fillSketch":this.fillSketch(i,o,r)}}fillSketch(t,e,r){let i=r.fillWeight;i<0&&(i=r.strokeWidth/2),t.save(),r.fillLineDash&&t.setLineDash(r.fillLineDash),r.fillLineDashOffset&&(t.lineDashOffset=r.fillLineDashOffset),t.strokeStyle=r.fill||"",t.lineWidth=i,this._drawToContext(t,e,r.fixedDecimalPlaceDigits),t.restore()}_drawToContext(t,e,r,i="nonzero"){for(let i of(t.beginPath(),e.ops)){let e="number"==typeof r&&r>=0?i.data.map(t=>+t.toFixed(r)):i.data;switch(i.op){case"move":t.moveTo(e[0],e[1]);break;case"bcurveTo":t.bezierCurveTo(e[0],e[1],e[2],e[3],e[4],e[5]);break;case"lineTo":t.lineTo(e[0],e[1])}}"fillPath"===e.type?t.fill(i):t.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(t,e,r,i,a){let o=this.gen.line(t,e,r,i,a);return this.draw(o),o}rectangle(t,e,r,i,a){let o=this.gen.rectangle(t,e,r,i,a);return this.draw(o),o}ellipse(t,e,r,i,a){let o=this.gen.ellipse(t,e,r,i,a);return this.draw(o),o}circle(t,e,r,i){let a=this.gen.circle(t,e,r,i);return this.draw(a),a}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r),r}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r),r}arc(t,e,r,i,a,o,n=!1,s){let l=this.gen.arc(t,e,r,i,a,o,n,s);return this.draw(l),l}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r),r}path(t,e){let r=this.gen.path(t,e);return this.draw(r),r}}let Y="http://www.w3.org/2000/svg";class G{constructor(t,e){this.svg=t,this.gen=new H(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),i=this.svg.ownerDocument||window.document,a=i.createElementNS(Y,"g"),o=t.options.fixedDecimalPlaceDigits;for(let n of e){let e=null;switch(n.type){case"path":(e=i.createElementNS(Y,"path")).setAttribute("d",this.opsToPath(n,o)),e.setAttribute("stroke",r.stroke),e.setAttribute("stroke-width",r.strokeWidth+""),e.setAttribute("fill","none"),r.strokeLineDash&&e.setAttribute("stroke-dasharray",r.strokeLineDash.join(" ").trim()),r.strokeLineDashOffset&&e.setAttribute("stroke-dashoffset",`${r.strokeLineDashOffset}`);break;case"fillPath":(e=i.createElementNS(Y,"path")).setAttribute("d",this.opsToPath(n,o)),e.setAttribute("stroke","none"),e.setAttribute("stroke-width","0"),e.setAttribute("fill",r.fill||""),"curve"!==t.shape&&"polygon"!==t.shape||e.setAttribute("fill-rule","evenodd");break;case"fillSketch":e=this.fillSketch(i,n,r)}e&&a.appendChild(e)}return a}fillSketch(t,e,r){let i=r.fillWeight;i<0&&(i=r.strokeWidth/2);let a=t.createElementNS(Y,"path");return a.setAttribute("d",this.opsToPath(e,r.fixedDecimalPlaceDigits)),a.setAttribute("stroke",r.fill||""),a.setAttribute("stroke-width",i+""),a.setAttribute("fill","none"),r.fillLineDash&&a.setAttribute("stroke-dasharray",r.fillLineDash.join(" ").trim()),r.fillLineDashOffset&&a.setAttribute("stroke-dashoffset",`${r.fillLineDashOffset}`),a}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,e){return this.gen.opsToPath(t,e)}line(t,e,r,i,a){let o=this.gen.line(t,e,r,i,a);return this.draw(o)}rectangle(t,e,r,i,a){let o=this.gen.rectangle(t,e,r,i,a);return this.draw(o)}ellipse(t,e,r,i,a){let o=this.gen.ellipse(t,e,r,i,a);return this.draw(o)}circle(t,e,r,i){let a=this.gen.circle(t,e,r,i);return this.draw(a)}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r)}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r)}arc(t,e,r,i,a,o,n=!1,s){let l=this.gen.arc(t,e,r,i,a,o,n,s);return this.draw(l)}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r)}path(t,e){let r=this.gen.path(t,e);return this.draw(r)}}var V={canvas:(t,e)=>new U(t,e),svg:(t,e)=>new G(t,e),generator:t=>new H(t),newSeed:()=>H.newSeed()}},39008:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(96340),a=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=RegExp(a.source,"g");function n(t,e){var r,n,s,l,h,c=a.lastIndex=o.lastIndex=0,d=-1,u=[],p=[];for(t+="",e+="";(s=a.exec(t))&&(l=o.exec(e));)(h=l.index)>c&&(h=e.slice(c,h),u[d]?u[d]+=h:u[++d]=h),(s=s[0])===(l=l[0])?u[d]?u[d]+=l:u[++d]=l:(u[++d]=null,p.push({i:d,x:(0,i.A)(s,l)})),c=o.lastIndex;return c<e.length&&(h=e.slice(c),u[d]?u[d]+=h:u[++d]=h),u.length<2?p[0]?(r=p[0].x,function(t){return r(t)+""}):(n=e,function(){return n}):(e=p.length,function(t){for(var r,i=0;i<e;++i)u[(r=p[i]).i]=r.x(t);return u.join("")})}},41455:(t,e,r)=>{"use strict";r.d(e,{A:()=>te});let{entries:i,setPrototypeOf:a,isFrozen:o,getPrototypeOf:n,getOwnPropertyDescriptor:s}=Object,{freeze:l,seal:h,create:c}=Object,{apply:d,construct:u}="undefined"!=typeof Reflect&&Reflect;l||(l=function(t){return t}),h||(h=function(t){return t}),d||(d=function(t,e){for(var r=arguments.length,i=Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];return t.apply(e,i)}),u||(u=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];return new t(...r)});let p=w(Array.prototype.forEach),f=w(Array.prototype.lastIndexOf),g=w(Array.prototype.pop),m=w(Array.prototype.push),y=w(Array.prototype.splice),b=w(String.prototype.toLowerCase),x=w(String.prototype.toString),C=w(String.prototype.match),k=w(String.prototype.replace),_=w(String.prototype.indexOf),v=w(String.prototype.trim),A=w(Object.prototype.hasOwnProperty),T=w(RegExp.prototype.test),S=(Z=TypeError,function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return u(Z,e)});function w(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return d(t,e,i)}}function B(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;a&&a(t,null);let i=e.length;for(;i--;){let a=e[i];if("string"==typeof a){let t=r(a);t!==a&&(o(e)||(e[i]=t),a=t)}t[a]=!0}return t}function F(t){let e=c(null);for(let[r,a]of i(t))A(t,r)&&(Array.isArray(a)?e[r]=function(t){for(let e=0;e<t.length;e++)A(t,e)||(t[e]=null);return t}(a):a&&"object"==typeof a&&a.constructor===Object?e[r]=F(a):e[r]=a);return e}function L(t,e){for(;null!==t;){let r=s(t,e);if(r){if(r.get)return w(r.get);if("function"==typeof r.value)return w(r.value)}t=n(t)}return function(){return null}}let M=l(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=l(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),O=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),K=l(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=l(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),D=l(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),$=l(["#text"]),q=l(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),z=l(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),R=l(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),P=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),N=h(/\{\{[\w\W]*|[\w\W]*\}\}/gm),j=h(/<%[\w\W]*|[\w\W]*%>/gm),W=h(/\$\{[\w\W]*/gm),H=h(/^data-[\-\w.\u00B7-\uFFFF]+$/),U=h(/^aria-[\-\w]+$/),Y=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),G=h(/^(?:\w+script|data):/i),V=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=h(/^html$/i);var Z,Q=Object.freeze({__proto__:null,ARIA_ATTR:U,ATTR_WHITESPACE:V,CUSTOM_ELEMENT:h(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:H,DOCTYPE_NAME:X,ERB_EXPR:j,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:G,MUSTACHE_EXPR:N,TMPLIT_EXPR:W});let J=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let r=null,i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(r=e.getAttribute(i));let a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+a+" could not be created."),null}},tt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var te=function t(){let e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,a=e=>t(e);if(a.version="3.3.0",a.removed=[],!r||!r.document||9!==r.document.nodeType||!r.Element)return a.isSupported=!1,a;let{document:o}=r,n=o,s=n.currentScript,{DocumentFragment:h,HTMLTemplateElement:d,Node:u,Element:w,NodeFilter:N,NamedNodeMap:j=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:W,DOMParser:H,trustedTypes:U}=r,G=w.prototype,V=L(G,"cloneNode"),Z=L(G,"remove"),te=L(G,"nextSibling"),tr=L(G,"childNodes"),ti=L(G,"parentNode");if("function"==typeof d){let t=o.createElement("template");t.content&&t.content.ownerDocument&&(o=t.content.ownerDocument)}let ta="",{implementation:to,createNodeIterator:tn,createDocumentFragment:ts,getElementsByTagName:tl}=o,{importNode:th}=n,tc=tt();a.isSupported="function"==typeof i&&"function"==typeof ti&&to&&void 0!==to.createHTMLDocument;let{MUSTACHE_EXPR:td,ERB_EXPR:tu,TMPLIT_EXPR:tp,DATA_ATTR:tf,ARIA_ATTR:tg,IS_SCRIPT_OR_DATA:tm,ATTR_WHITESPACE:ty,CUSTOM_ELEMENT:tb}=Q,{IS_ALLOWED_URI:tx}=Q,tC=null,tk=B({},[...M,...E,...O,...I,...$]),t_=null,tv=B({},[...q,...z,...R,...P]),tA=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),tT=null,tS=null,tw=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),tB=!0,tF=!0,tL=!1,tM=!0,tE=!1,tO=!0,tK=!1,tI=!1,tD=!1,t$=!1,tq=!1,tz=!1,tR=!0,tP=!1,tN=!0,tj=!1,tW={},tH=null,tU=B({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),tY=null,tG=B({},["audio","video","img","source","image","track"]),tV=null,tX=B({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tZ="http://www.w3.org/1998/Math/MathML",tQ="http://www.w3.org/2000/svg",tJ="http://www.w3.org/1999/xhtml",t0=tJ,t1=!1,t2=null,t5=B({},[tZ,tQ,tJ],x),t3=B({},["mi","mo","mn","ms","mtext"]),t6=B({},["annotation-xml"]),t4=B({},["title","style","font","a","script"]),t8=null,t9=["application/xhtml+xml","text/html"],t7=null,et=null,ee=o.createElement("form"),er=function(t){return t instanceof RegExp||t instanceof Function},ei=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!et||et!==t){if(t&&"object"==typeof t||(t={}),t=F(t),t7="application/xhtml+xml"===(t8=-1===t9.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?x:b,tC=A(t,"ALLOWED_TAGS")?B({},t.ALLOWED_TAGS,t7):tk,t_=A(t,"ALLOWED_ATTR")?B({},t.ALLOWED_ATTR,t7):tv,t2=A(t,"ALLOWED_NAMESPACES")?B({},t.ALLOWED_NAMESPACES,x):t5,tV=A(t,"ADD_URI_SAFE_ATTR")?B(F(tX),t.ADD_URI_SAFE_ATTR,t7):tX,tY=A(t,"ADD_DATA_URI_TAGS")?B(F(tG),t.ADD_DATA_URI_TAGS,t7):tG,tH=A(t,"FORBID_CONTENTS")?B({},t.FORBID_CONTENTS,t7):tU,tT=A(t,"FORBID_TAGS")?B({},t.FORBID_TAGS,t7):F({}),tS=A(t,"FORBID_ATTR")?B({},t.FORBID_ATTR,t7):F({}),tW=!!A(t,"USE_PROFILES")&&t.USE_PROFILES,tB=!1!==t.ALLOW_ARIA_ATTR,tF=!1!==t.ALLOW_DATA_ATTR,tL=t.ALLOW_UNKNOWN_PROTOCOLS||!1,tM=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,tE=t.SAFE_FOR_TEMPLATES||!1,tO=!1!==t.SAFE_FOR_XML,tK=t.WHOLE_DOCUMENT||!1,t$=t.RETURN_DOM||!1,tq=t.RETURN_DOM_FRAGMENT||!1,tz=t.RETURN_TRUSTED_TYPE||!1,tD=t.FORCE_BODY||!1,tR=!1!==t.SANITIZE_DOM,tP=t.SANITIZE_NAMED_PROPS||!1,tN=!1!==t.KEEP_CONTENT,tj=t.IN_PLACE||!1,tx=t.ALLOWED_URI_REGEXP||Y,t0=t.NAMESPACE||tJ,t3=t.MATHML_TEXT_INTEGRATION_POINTS||t3,t6=t.HTML_INTEGRATION_POINTS||t6,tA=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&er(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(tA.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&er(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(tA.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(tA.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tE&&(tF=!1),tq&&(t$=!0),tW&&(tC=B({},$),t_=[],!0===tW.html&&(B(tC,M),B(t_,q)),!0===tW.svg&&(B(tC,E),B(t_,z),B(t_,P)),!0===tW.svgFilters&&(B(tC,O),B(t_,z),B(t_,P)),!0===tW.mathMl&&(B(tC,I),B(t_,R),B(t_,P))),t.ADD_TAGS&&("function"==typeof t.ADD_TAGS?tw.tagCheck=t.ADD_TAGS:(tC===tk&&(tC=F(tC)),B(tC,t.ADD_TAGS,t7))),t.ADD_ATTR&&("function"==typeof t.ADD_ATTR?tw.attributeCheck=t.ADD_ATTR:(t_===tv&&(t_=F(t_)),B(t_,t.ADD_ATTR,t7))),t.ADD_URI_SAFE_ATTR&&B(tV,t.ADD_URI_SAFE_ATTR,t7),t.FORBID_CONTENTS&&(tH===tU&&(tH=F(tH)),B(tH,t.FORBID_CONTENTS,t7)),tN&&(tC["#text"]=!0),tK&&B(tC,["html","head","body"]),tC.table&&(B(tC,["tbody"]),delete tT.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ta=(e=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===e&&(e=J(U,s)),null!==e&&"string"==typeof ta&&(ta=e.createHTML(""));l&&l(t),et=t}},ea=B({},[...E,...O,...K]),eo=B({},[...I,...D]),en=function(t){let e=ti(t);e&&e.tagName||(e={namespaceURI:t0,tagName:"template"});let r=b(t.tagName),i=b(e.tagName);return!!t2[t.namespaceURI]&&(t.namespaceURI===tQ?e.namespaceURI===tJ?"svg"===r:e.namespaceURI===tZ?"svg"===r&&("annotation-xml"===i||t3[i]):!!ea[r]:t.namespaceURI===tZ?e.namespaceURI===tJ?"math"===r:e.namespaceURI===tQ?"math"===r&&t6[i]:!!eo[r]:t.namespaceURI===tJ?(e.namespaceURI!==tQ||!!t6[i])&&(e.namespaceURI!==tZ||!!t3[i])&&!eo[r]&&(t4[r]||!ea[r]):"application/xhtml+xml"===t8&&!!t2[t.namespaceURI])},es=function(t){m(a.removed,{element:t});try{ti(t).removeChild(t)}catch(e){Z(t)}},el=function(t,e){try{m(a.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){m(a.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(t$||tq)try{es(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},eh=function(t){let r=null,i=null;if(tD)t="<remove></remove>"+t;else{let e=C(t,/^[\r\n\t ]+/);i=e&&e[0]}"application/xhtml+xml"===t8&&t0===tJ&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");let a=e?e.createHTML(t):t;if(t0===tJ)try{r=new H().parseFromString(a,t8)}catch(t){}if(!r||!r.documentElement){r=to.createDocument(t0,"template",null);try{r.documentElement.innerHTML=t1?ta:a}catch(t){}}let n=r.body||r.documentElement;return(t&&i&&n.insertBefore(o.createTextNode(i),n.childNodes[0]||null),t0===tJ)?tl.call(r,tK?"html":"body")[0]:tK?r.documentElement:n},ec=function(t){return tn.call(t.ownerDocument||t,t,N.SHOW_ELEMENT|N.SHOW_COMMENT|N.SHOW_TEXT|N.SHOW_PROCESSING_INSTRUCTION|N.SHOW_CDATA_SECTION,null)},ed=function(t){return t instanceof W&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof j)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},eu=function(t){return"function"==typeof u&&t instanceof u};function ep(t,e,r){p(t,t=>{t.call(a,e,r,et)})}let ef=function(t){let e=null;if(ep(tc.beforeSanitizeElements,t,null),ed(t))return es(t),!0;let r=t7(t.nodeName);if(ep(tc.uponSanitizeElement,t,{tagName:r,allowedTags:tC}),tO&&t.hasChildNodes()&&!eu(t.firstElementChild)&&T(/<[/\w!]/g,t.innerHTML)&&T(/<[/\w!]/g,t.textContent)||7===t.nodeType||tO&&8===t.nodeType&&T(/<[/\w]/g,t.data))return es(t),!0;if(!(tw.tagCheck instanceof Function&&tw.tagCheck(r))&&(!tC[r]||tT[r])){if(!tT[r]&&em(r)&&(tA.tagNameCheck instanceof RegExp&&T(tA.tagNameCheck,r)||tA.tagNameCheck instanceof Function&&tA.tagNameCheck(r)))return!1;if(tN&&!tH[r]){let e=ti(t)||t.parentNode,r=tr(t)||t.childNodes;if(r&&e){let i=r.length;for(let a=i-1;a>=0;--a){let i=V(r[a],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,te(t))}}}return es(t),!0}return t instanceof w&&!en(t)||("noscript"===r||"noembed"===r||"noframes"===r)&&T(/<\/no(script|embed|frames)/i,t.innerHTML)?(es(t),!0):(tE&&3===t.nodeType&&(e=t.textContent,p([td,tu,tp],t=>{e=k(e,t," ")}),t.textContent!==e&&(m(a.removed,{element:t.cloneNode()}),t.textContent=e)),ep(tc.afterSanitizeElements,t,null),!1)},eg=function(t,e,r){if(tR&&("id"===e||"name"===e)&&(r in o||r in ee))return!1;if(tF&&!tS[e]&&T(tf,e));else if(tB&&T(tg,e));else if(tw.attributeCheck instanceof Function&&tw.attributeCheck(e,t));else if(!t_[e]||tS[e]){if(!(em(t)&&(tA.tagNameCheck instanceof RegExp&&T(tA.tagNameCheck,t)||tA.tagNameCheck instanceof Function&&tA.tagNameCheck(t))&&(tA.attributeNameCheck instanceof RegExp&&T(tA.attributeNameCheck,e)||tA.attributeNameCheck instanceof Function&&tA.attributeNameCheck(e,t))||"is"===e&&tA.allowCustomizedBuiltInElements&&(tA.tagNameCheck instanceof RegExp&&T(tA.tagNameCheck,r)||tA.tagNameCheck instanceof Function&&tA.tagNameCheck(r))))return!1}else if(tV[e]);else if(T(tx,k(r,ty,"")));else if(("src"===e||"xlink:href"===e||"href"===e)&&"script"!==t&&0===_(r,"data:")&&tY[t]);else if(tL&&!T(tm,k(r,ty,"")));else if(r)return!1;return!0},em=function(t){return"annotation-xml"!==t&&C(t,tb)},ey=function(t){ep(tc.beforeSanitizeAttributes,t,null);let{attributes:r}=t;if(!r||ed(t))return;let i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:t_,forceKeepAttr:void 0},o=r.length;for(;o--;){let{name:n,namespaceURI:s,value:l}=r[o],h=t7(n),c="value"===n?l:v(l);if(i.attrName=h,i.attrValue=c,i.keepAttr=!0,i.forceKeepAttr=void 0,ep(tc.uponSanitizeAttribute,t,i),c=i.attrValue,tP&&("id"===h||"name"===h)&&(el(n,t),c="user-content-"+c),tO&&T(/((--!?|])>)|<\/(style|title|textarea)/i,c)||"attributename"===h&&C(c,"href")){el(n,t);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr||!tM&&T(/\/>/i,c)){el(n,t);continue}tE&&p([td,tu,tp],t=>{c=k(c,t," ")});let d=t7(t.nodeName);if(!eg(d,h,c)){el(n,t);continue}if(e&&"object"==typeof U&&"function"==typeof U.getAttributeType)if(s);else switch(U.getAttributeType(d,h)){case"TrustedHTML":c=e.createHTML(c);break;case"TrustedScriptURL":c=e.createScriptURL(c)}if(c!==l)try{s?t.setAttributeNS(s,n,c):t.setAttribute(n,c),ed(t)?es(t):g(a.removed)}catch(e){el(n,t)}}ep(tc.afterSanitizeAttributes,t,null)},eb=function t(e){let r=null,i=ec(e);for(ep(tc.beforeSanitizeShadowDOM,e,null);r=i.nextNode();)ep(tc.uponSanitizeShadowNode,r,null),ef(r),ey(r),r.content instanceof h&&t(r.content);ep(tc.afterSanitizeShadowDOM,e,null)};return a.sanitize=function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,o=null,s=null,l=null;if((t1=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!eu(t))if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw S("dirty is not a string, aborting")}else throw S("toString is not a function");if(!a.isSupported)return t;if(tI||ei(r),a.removed=[],"string"==typeof t&&(tj=!1),tj){if(t.nodeName){let e=t7(t.nodeName);if(!tC[e]||tT[e])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof u)1===(o=(i=eh("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?i=o:i.appendChild(o);else{if(!t$&&!tE&&!tK&&-1===t.indexOf("<"))return e&&tz?e.createHTML(t):t;if(!(i=eh(t)))return t$?null:tz?ta:""}i&&tD&&es(i.firstChild);let c=ec(tj?t:i);for(;s=c.nextNode();)ef(s),ey(s),s.content instanceof h&&eb(s.content);if(tj)return t;if(t$){if(tq)for(l=ts.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return(t_.shadowroot||t_.shadowrootmode)&&(l=th.call(n,l,!0)),l}let d=tK?i.outerHTML:i.innerHTML;return tK&&tC["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&T(X,i.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+d),tE&&p([td,tu,tp],t=>{d=k(d,t," ")}),e&&tz?e.createHTML(d):d},a.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ei(t),tI=!0},a.clearConfig=function(){et=null,tI=!1},a.isValidAttribute=function(t,e,r){return et||ei({}),eg(t7(t),t7(e),r)},a.addHook=function(t,e){"function"==typeof e&&m(tc[t],e)},a.removeHook=function(t,e){if(void 0!==e){let r=f(tc[t],e);return -1===r?void 0:y(tc[t],r,1)[0]}return g(tc[t])},a.removeHooks=function(t){tc[t]=[]},a.removeAllHooks=function(){tc=tt()},a}()},42225:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var i,a,o=r(85541),n=r(27872),s=r(16047),l=n.A?function(t,e){return(0,n.A)(t,"toString",{configurable:!0,enumerable:!1,value:(0,o.A)(e),writable:!0})}:s.A,h=Date.now;let c=(i=0,a=0,function(){var t=h(),e=16-(t-a);if(a=t,e>0){if(++i>=800)return arguments[0]}else i=0;return l.apply(void 0,arguments)})},47312:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var i=r(79898),a=r(5653);let o=function(t){return(0,a.A)(t)&&"[object Arguments]"==(0,i.A)(t)};var n=Object.prototype,s=n.hasOwnProperty,l=n.propertyIsEnumerable;let h=o(function(){return arguments}())?o:function(t){return(0,a.A)(t)&&s.call(t,"callee")&&!l.call(t,"callee")}},48080:(t,e,r)=>{"use strict";r.d(e,{IU:()=>b,Jo:()=>L,T_:()=>_,g0:()=>V,jP:()=>C});var i=r(50785),a=r(87005),o=r(24726),n=r(56128),s=r(12119),l=r(59661),h=r(77109),c=r(69830),d=r(10791),u=r(38177),p=(0,c.K2)((t,e,r,i,a,o)=>{e.arrowTypeStart&&g(t,"start",e.arrowTypeStart,r,i,a,o),e.arrowTypeEnd&&g(t,"end",e.arrowTypeEnd,r,i,a,o)},"addEdgeMarkers"),f={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},g=(0,c.K2)((t,e,r,i,a,o,n)=>{let s=f[r];if(!s)return void c.Rm.warn(`Unknown arrow type: ${r}`);let l=s.type,h=`${a}_${o}-${l}${"start"===e?"Start":"End"}`;if(n&&""!==n.trim()){let r=n.replace(/[^\dA-Za-z]/g,"_"),a=`${h}_${r}`;if(!document.getElementById(a)){let t=document.getElementById(h);if(t){let e=t.cloneNode(!0);e.id=a,e.querySelectorAll("path, circle, line").forEach(t=>{t.setAttribute("stroke",n),s.fill&&t.setAttribute("fill",n)}),t.parentNode?.appendChild(e)}}t.attr(`marker-${e}`,`url(${i}#${a})`)}else t.attr(`marker-${e}`,`url(${i}#${h})`)},"addEdgeMarker"),m=new Map,y=new Map,b=(0,c.K2)(()=>{m.clear(),y.clear()},"clear"),x=(0,c.K2)(t=>t?t.reduce((t,e)=>t+";"+e,""):"","getLabelStyles"),C=(0,c.K2)(async(t,e)=>{let r,i=(0,h._3)((0,h.D7)().flowchart.htmlLabels),{labelStyles:o}=(0,n.GX)(e);e.labelStyle=o;let l=await (0,s.GZ)(t,e.label,{style:e.labelStyle,useHtmlLabels:i,addSvgBackground:!0,isNode:!1});c.Rm.info("abc82",e,e.labelType);let u=t.insert("g").attr("class","edgeLabel"),p=u.insert("g").attr("class","label").attr("data-id",e.id);p.node().appendChild(l);let f=l.getBBox();if(i){let t=l.children[0],e=(0,d.Ltv)(l);f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}if(p.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),m.set(e.id,u),e.width=f.width,e.height=f.height,e.startLabelLeft){let i=await (0,a.DA)(e.startLabelLeft,x(e.labelStyle)),o=t.insert("g").attr("class","edgeTerminals"),n=o.insert("g").attr("class","inner");r=n.node().appendChild(i);let s=i.getBBox();n.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),y.get(e.id)||y.set(e.id,{}),y.get(e.id).startLeft=o,k(r,e.startLabelLeft)}if(e.startLabelRight){let i=await (0,a.DA)(e.startLabelRight,x(e.labelStyle)),o=t.insert("g").attr("class","edgeTerminals"),n=o.insert("g").attr("class","inner");r=o.node().appendChild(i),n.node().appendChild(i);let s=i.getBBox();n.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),y.get(e.id)||y.set(e.id,{}),y.get(e.id).startRight=o,k(r,e.startLabelRight)}if(e.endLabelLeft){let i=await (0,a.DA)(e.endLabelLeft,x(e.labelStyle)),o=t.insert("g").attr("class","edgeTerminals"),n=o.insert("g").attr("class","inner");r=n.node().appendChild(i);let s=i.getBBox();n.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),o.node().appendChild(i),y.get(e.id)||y.set(e.id,{}),y.get(e.id).endLeft=o,k(r,e.endLabelLeft)}if(e.endLabelRight){let i=await (0,a.DA)(e.endLabelRight,x(e.labelStyle)),o=t.insert("g").attr("class","edgeTerminals"),n=o.insert("g").attr("class","inner");r=n.node().appendChild(i);let s=i.getBBox();n.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),o.node().appendChild(i),y.get(e.id)||y.set(e.id,{}),y.get(e.id).endRight=o,k(r,e.endLabelRight)}return l},"insertEdgeLabel");function k(t,e){(0,h.D7)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,c.K2)(k,"setTerminalWidth");var _=(0,c.K2)((t,e)=>{c.Rm.debug("Moving label abc88 ",t.id,t.label,m.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath,i=(0,h.D7)(),{subGraphTitleTotalMargin:a}=(0,o.O)(i);if(t.label){let i=m.get(t.id),o=t.x,n=t.y;if(r){let i=l._K.calcLabelPosition(r);c.Rm.debug("Moving label "+t.label+" from (",o,",",n,") to (",i.x,",",i.y,") abc88"),e.updatedPath&&(o=i.x,n=i.y)}i.attr("transform",`translate(${o}, ${n+a/2})`)}if(t.startLabelLeft){let e=y.get(t.id).startLeft,i=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_left",r);i=e.x,a=e.y}e.attr("transform",`translate(${i}, ${a})`)}if(t.startLabelRight){let e=y.get(t.id).startRight,i=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_right",r);i=e.x,a=e.y}e.attr("transform",`translate(${i}, ${a})`)}if(t.endLabelLeft){let e=y.get(t.id).endLeft,i=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_left",r);i=e.x,a=e.y}e.attr("transform",`translate(${i}, ${a})`)}if(t.endLabelRight){let e=y.get(t.id).endRight,i=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_right",r);i=e.x,a=e.y}e.attr("transform",`translate(${i}, ${a})`)}},"positionEdgeLabel"),v=(0,c.K2)((t,e)=>{let r=t.x,i=t.y,a=Math.abs(e.x-r),o=Math.abs(e.y-i),n=t.width/2,s=t.height/2;return a>=n||o>=s},"outsideNode"),A=(0,c.K2)((t,e,r)=>{c.Rm.debug(`intersection calc abc89:
2
2
  outsidePoint: ${JSON.stringify(e)}
3
3
  insidePoint : ${JSON.stringify(r)}
4
- node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let i=t.x,a=t.y,o=Math.abs(i-r.x),n=t.width/2,s=r.x<e.x?n-o:n+o,l=t.height/2,h=Math.abs(e.y-r.y),d=Math.abs(e.x-r.x);if(Math.abs(a-e.y)*n>Math.abs(i-e.x)*l){let t=r.y<e.y?e.y-l-a:a-l-e.y;s=d*t/h;let i={x:r.x<e.x?r.x+s:r.x-d+s,y:r.y<e.y?r.y+h-t:r.y-h+t};return 0===s&&(i.x=e.x,i.y=e.y),0===d&&(i.x=e.x),0===h&&(i.y=e.y),c.Rm.debug(`abc89 top/bottom calc, Q ${h}, q ${t}, R ${d}, r ${s}`,i),i}{let t=h*(s=r.x<e.x?e.x-n-i:i-n-e.x)/d,a=r.x<e.x?r.x+d-s:r.x-d+s,o=r.y<e.y?r.y+t:r.y-t;return c.Rm.debug(`sides calc abc89, Q ${h}, q ${t}, R ${d}, r ${s}`,{_x:a,_y:o}),0===s&&(a=e.x,o=e.y),0===d&&(a=e.x),0===h&&(o=e.y),{x:a,y:o}}},"intersection"),A=(0,c.K2)((t,e)=>{c.Rm.warn("abc88 cutPathAtIntersect",t,e);let r=[],i=t[0],a=!1;return t.forEach(t=>{if(c.Rm.info("abc88 checking point",t,e),v(e,t)||a)c.Rm.warn("abc88 outside",t,i),i=t,a||r.push(t);else{let o=T(e,i,t);c.Rm.debug("abc88 inside",t,i,o),c.Rm.debug("abc88 intersection",o,e);let n=!1;r.forEach(t=>{n=n||t.x===o.x&&t.y===o.y}),r.some(t=>t.x===o.x&&t.y===o.y)?c.Rm.warn("abc88 no intersect",o,r):r.push(o),a=!0}}),c.Rm.debug("returning points",r),r},"cutPathAtIntersect");function S(t){let e=[],r=[];for(let i=1;i<t.length-1;i++){let a=t[i-1],o=t[i],n=t[i+1];a.x===o.x&&o.y===n.y&&Math.abs(o.x-n.x)>5&&Math.abs(o.y-a.y)>5?(e.push(o),r.push(i)):a.y===o.y&&o.x===n.x&&Math.abs(o.x-a.x)>5&&Math.abs(o.y-n.y)>5&&(e.push(o),r.push(i))}return{cornerPoints:e,cornerPointPositions:r}}(0,c.K2)(S,"extractCornerPoints");var w=(0,c.K2)(function(t,e,r){let i=e.x-t.x,a=e.y-t.y,o=r/Math.sqrt(i*i+a*a);return{x:e.x-o*i,y:e.y-o*a}},"findAdjacentPoint"),B=(0,c.K2)(function(t){let{cornerPointPositions:e}=S(t),r=[];for(let i=0;i<t.length;i++)if(e.includes(i)){let e=t[i-1],a=t[i+1],o=t[i],n=w(e,o,5),s=w(a,o,5),l=s.x-n.x,h=s.y-n.y;r.push(n);let d=2*Math.sqrt(2),u={x:o.x,y:o.y};Math.abs(a.x-e.x)>10&&Math.abs(a.y-e.y)>=10?(c.Rm.debug("Corner point fixing",Math.abs(a.x-e.x),Math.abs(a.y-e.y)),u=o.x===n.x?{x:l<0?n.x-5+d:n.x+5-d,y:h<0?n.y-d:n.y+d}:{x:l<0?n.x-d:n.x+d,y:h<0?n.y-5+d:n.y+5-d}):c.Rm.debug("Corner point skipping fixing",Math.abs(a.x-e.x),Math.abs(a.y-e.y)),r.push(u,s)}else r.push(t[i]);return r},"fixCorners"),F=(0,c.K2)((t,e,r)=>{let i=Array(Math.floor((t-e-r)/4)).fill("2 2").join(" ");return`0 ${e} ${i} ${r}`},"generateDashArray"),L=(0,c.K2)(function(t,e,r,a,o,s,f,g=!1){let m,y,{handDrawnSeed:b}=(0,h.D7)(),C=e.points,x=!1,k=[];for(let t in e.cssCompiledStyles)(0,n.KX)(t)||k.push(e.cssCompiledStyles[t]);c.Rm.debug("UIO intersect check",e.points,s.x,o.x),s.intersect&&o.intersect&&!g&&((C=C.slice(1,e.points.length-1)).unshift(o.intersect(C[0])),c.Rm.debug("Last point UIO",e.start,"--\x3e",e.end,C[C.length-1],s,s.intersect(C[C.length-1])),C.push(s.intersect(C[C.length-1])));let _=btoa(JSON.stringify(C));e.toCluster&&(c.Rm.info("to cluster abc88",r.get(e.toCluster)),C=A(e.points,r.get(e.toCluster).node),x=!0),e.fromCluster&&(c.Rm.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(C,null,2)),C=A(C.reverse(),r.get(e.fromCluster).node).reverse(),x=!0);let v=C.filter(t=>!Number.isNaN(t.y));v=B(v);let T=d.qrM;switch(T=d.lUB,e.curve){case"linear":T=d.lUB;break;case"basis":default:T=d.qrM;break;case"cardinal":T=d.y8u;break;case"bumpX":T=d.Wi0;break;case"bumpY":T=d.PGM;break;case"catmullRom":T=d.oDi;break;case"monotoneX":T=d.nVG;break;case"monotoneY":T=d.uxU;break;case"natural":T=d.Xf2;break;case"step":T=d.GZz;break;case"stepAfter":T=d.UPb;break;case"stepBefore":T=d.dyv}let{x:S,y:w}=(0,i.RI)(e),L=(0,d.n8j)().x(S).y(w).curve(T);switch(e.thickness){case"normal":default:m="edge-thickness-normal";break;case"thick":m="edge-thickness-thick";break;case"invisible":m="edge-thickness-invisible"}switch(e.pattern){case"solid":default:m+=" edge-pattern-solid";break;case"dotted":m+=" edge-pattern-dotted";break;case"dashed":m+=" edge-pattern-dashed"}let O="rounded"===e.curve?M(E(v,e),5):L(v),K=Array.isArray(e.style)?e.style:[e.style],I=K.find(t=>t?.startsWith("stroke:")),D=!1;if("handDrawn"===e.look){let r=u.A.svg(t);Object.assign([],v);let i=r.path(O,{roughness:.3,seed:b});m+=" transition";let a=(y=(0,d.Ltv)(i).select("path").attr("id",e.id).attr("class"," "+m+(e.classes?" "+e.classes:"")).attr("style",K?K.reduce((t,e)=>t+";"+e,""):"")).attr("d");y.attr("d",a),t.node().appendChild(y.node())}else{let r=k.join(";"),a=K?K.reduce((t,e)=>t+e+";",""):"",o="";e.animate&&(o=" edge-animation-fast"),e.animation&&(o=" edge-animation-"+e.animation);let n=(r?r+";"+a+";":a)+";"+(K?K.reduce((t,e)=>t+";"+e,""):"");y=t.append("path").attr("d",O).attr("id",e.id).attr("class"," "+m+(e.classes?" "+e.classes:"")+(o??"")).attr("style",n),I=n.match(/stroke:([^;]+)/)?.[1],D=!0===e.animate||!!e.animation||r.includes("animation");let s=y.node(),l="function"==typeof s.getTotalLength?s.getTotalLength():0,h=i.Nq[e.arrowTypeStart]||0,c=i.Nq[e.arrowTypeEnd]||0;if("neo"===e.look&&!D){let t="dotted"===e.pattern||"dashed"===e.pattern?F(l,h,c):`0 ${h} ${l-h-c} ${c}`,r=`stroke-dasharray: ${t}; stroke-dashoffset: 0;`;y.attr("style",r+y.attr("style"))}}y.attr("data-edge",!0),y.attr("data-et","edge"),y.attr("data-id",e.id),y.attr("data-points",_),e.showPoints&&v.forEach(e=>{t.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",e.x).attr("cy",e.y)});let z="";((0,h.D7)().flowchart.arrowMarkerAbsolute||(0,h.D7)().state.arrowMarkerAbsolute)&&(z=(z=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(").replace(/\)/g,"\\)")),c.Rm.info("arrowTypeStart",e.arrowTypeStart),c.Rm.info("arrowTypeEnd",e.arrowTypeEnd),p(y,e,z,f,a,I);let q=Math.floor(C.length/2),R=C[q];l._K.isLabelCoordinateInPath(R,y.attr("d"))||(x=!0);let P={};return x&&(P.updatedPath=C),P.originalPath=e.points,P},"insertEdge");function M(t,e){if(t.length<2)return"";let r="",i=t.length;for(let a=0;a<i;a++){let o=t[a],n=t[a-1],s=t[a+1];if(0===a)r+=`M${o.x},${o.y}`;else if(a===i-1)r+=`L${o.x},${o.y}`;else{let t=o.x-n.x,i=o.y-n.y,a=s.x-o.x,l=s.y-o.y,h=Math.hypot(t,i),c=Math.hypot(a,l);if(h<1e-5||c<1e-5){r+=`L${o.x},${o.y}`;continue}let d=t/h,u=i/h,p=a/c,f=l/c,g=Math.acos(Math.max(-1,Math.min(1,d*p+u*f)));if(g<1e-5||1e-5>Math.abs(Math.PI-g)){r+=`L${o.x},${o.y}`;continue}let m=Math.min(e/Math.sin(g/2),h/2,c/2),y=o.x-d*m,b=o.y-u*m,C=o.x+p*m,x=o.y+f*m;r+=`L${y},${b}Q${o.x},${o.y} ${C},${x}`}}return r}function O(t,e){if(!t||!e)return{angle:0,deltaX:0,deltaY:0};let r=e.x-t.x,i=e.y-t.y;return{angle:Math.atan2(i,r),deltaX:r,deltaY:i}}function E(t,e){let r=t.map(t=>({...t}));if(t.length>=2&&i.hq[e.arrowTypeStart]){let a=i.hq[e.arrowTypeStart],o=t[0],{angle:n}=O(o,t[1]),s=a*Math.cos(n),l=a*Math.sin(n);r[0].x=o.x+s,r[0].y=o.y+l}let a=t.length;if(a>=2&&i.hq[e.arrowTypeEnd]){let o=i.hq[e.arrowTypeEnd],n=t[a-1],{angle:s}=O(t[a-2],n),l=o*Math.cos(s),h=o*Math.sin(s);r[a-1].x=n.x-l,r[a-1].y=n.y-h}return r}(0,c.K2)(M,"generateRoundedPath"),(0,c.K2)(O,"calculateDeltaAndAngle"),(0,c.K2)(E,"applyMarkerOffsetsToPoints");var K=(0,c.K2)((t,e,r,i)=>{e.forEach(e=>{G[e](t,r,i)})},"insertMarkers"),I=(0,c.K2)((t,e,r)=>{c.Rm.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),D=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),z=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),q=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),R=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),P=(0,c.K2)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),$=(0,c.K2)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),W=(0,c.K2)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),j=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),N=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneStart").attr("class","marker onlyOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneEnd").attr("class","marker onlyOne "+e).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),H=(0,c.K2)((t,e,r)=>{let i=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneStart").attr("class","marker zeroOrOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),i.append("path").attr("d","M9,0 L9,18");let a=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+e).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");a.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),a.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),U=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreStart").attr("class","marker oneOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreEnd").attr("class","marker oneOrMore "+e).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),Y=(0,c.K2)((t,e,r)=>{let i=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),i.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let a=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+e).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");a.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),a.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),G={extension:I,composition:D,aggregation:z,dependency:q,lollipop:R,point:P,circle:$,cross:W,barb:j,only_one:N,zero_or_one:H,one_or_more:U,zero_or_more:Y,requirement_arrow:(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0
4
+ node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let i=t.x,a=t.y,o=Math.abs(i-r.x),n=t.width/2,s=r.x<e.x?n-o:n+o,l=t.height/2,h=Math.abs(e.y-r.y),d=Math.abs(e.x-r.x);if(Math.abs(a-e.y)*n>Math.abs(i-e.x)*l){let t=r.y<e.y?e.y-l-a:a-l-e.y;s=d*t/h;let i={x:r.x<e.x?r.x+s:r.x-d+s,y:r.y<e.y?r.y+h-t:r.y-h+t};return 0===s&&(i.x=e.x,i.y=e.y),0===d&&(i.x=e.x),0===h&&(i.y=e.y),c.Rm.debug(`abc89 top/bottom calc, Q ${h}, q ${t}, R ${d}, r ${s}`,i),i}{let t=h*(s=r.x<e.x?e.x-n-i:i-n-e.x)/d,a=r.x<e.x?r.x+d-s:r.x-d+s,o=r.y<e.y?r.y+t:r.y-t;return c.Rm.debug(`sides calc abc89, Q ${h}, q ${t}, R ${d}, r ${s}`,{_x:a,_y:o}),0===s&&(a=e.x,o=e.y),0===d&&(a=e.x),0===h&&(o=e.y),{x:a,y:o}}},"intersection"),T=(0,c.K2)((t,e)=>{c.Rm.warn("abc88 cutPathAtIntersect",t,e);let r=[],i=t[0],a=!1;return t.forEach(t=>{if(c.Rm.info("abc88 checking point",t,e),v(e,t)||a)c.Rm.warn("abc88 outside",t,i),i=t,a||r.push(t);else{let o=A(e,i,t);c.Rm.debug("abc88 inside",t,i,o),c.Rm.debug("abc88 intersection",o,e);let n=!1;r.forEach(t=>{n=n||t.x===o.x&&t.y===o.y}),r.some(t=>t.x===o.x&&t.y===o.y)?c.Rm.warn("abc88 no intersect",o,r):r.push(o),a=!0}}),c.Rm.debug("returning points",r),r},"cutPathAtIntersect");function S(t){let e=[],r=[];for(let i=1;i<t.length-1;i++){let a=t[i-1],o=t[i],n=t[i+1];a.x===o.x&&o.y===n.y&&Math.abs(o.x-n.x)>5&&Math.abs(o.y-a.y)>5?(e.push(o),r.push(i)):a.y===o.y&&o.x===n.x&&Math.abs(o.x-a.x)>5&&Math.abs(o.y-n.y)>5&&(e.push(o),r.push(i))}return{cornerPoints:e,cornerPointPositions:r}}(0,c.K2)(S,"extractCornerPoints");var w=(0,c.K2)(function(t,e,r){let i=e.x-t.x,a=e.y-t.y,o=r/Math.sqrt(i*i+a*a);return{x:e.x-o*i,y:e.y-o*a}},"findAdjacentPoint"),B=(0,c.K2)(function(t){let{cornerPointPositions:e}=S(t),r=[];for(let i=0;i<t.length;i++)if(e.includes(i)){let e=t[i-1],a=t[i+1],o=t[i],n=w(e,o,5),s=w(a,o,5),l=s.x-n.x,h=s.y-n.y;r.push(n);let d=2*Math.sqrt(2),u={x:o.x,y:o.y};Math.abs(a.x-e.x)>10&&Math.abs(a.y-e.y)>=10?(c.Rm.debug("Corner point fixing",Math.abs(a.x-e.x),Math.abs(a.y-e.y)),u=o.x===n.x?{x:l<0?n.x-5+d:n.x+5-d,y:h<0?n.y-d:n.y+d}:{x:l<0?n.x-d:n.x+d,y:h<0?n.y-5+d:n.y+5-d}):c.Rm.debug("Corner point skipping fixing",Math.abs(a.x-e.x),Math.abs(a.y-e.y)),r.push(u,s)}else r.push(t[i]);return r},"fixCorners"),F=(0,c.K2)((t,e,r)=>{let i=Array(Math.floor((t-e-r)/4)).fill("2 2").join(" ");return`0 ${e} ${i} ${r}`},"generateDashArray"),L=(0,c.K2)(function(t,e,r,a,o,s,f,g=!1){let m,y,{handDrawnSeed:b}=(0,h.D7)(),x=e.points,C=!1,k=[];for(let t in e.cssCompiledStyles)(0,n.KX)(t)||k.push(e.cssCompiledStyles[t]);c.Rm.debug("UIO intersect check",e.points,s.x,o.x),s.intersect&&o.intersect&&!g&&((x=x.slice(1,e.points.length-1)).unshift(o.intersect(x[0])),c.Rm.debug("Last point UIO",e.start,"--\x3e",e.end,x[x.length-1],s,s.intersect(x[x.length-1])),x.push(s.intersect(x[x.length-1])));let _=btoa(JSON.stringify(x));e.toCluster&&(c.Rm.info("to cluster abc88",r.get(e.toCluster)),x=T(e.points,r.get(e.toCluster).node),C=!0),e.fromCluster&&(c.Rm.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(x,null,2)),x=T(x.reverse(),r.get(e.fromCluster).node).reverse(),C=!0);let v=x.filter(t=>!Number.isNaN(t.y));v=B(v);let A=d.qrM;switch(A=d.lUB,e.curve){case"linear":A=d.lUB;break;case"basis":default:A=d.qrM;break;case"cardinal":A=d.y8u;break;case"bumpX":A=d.Wi0;break;case"bumpY":A=d.PGM;break;case"catmullRom":A=d.oDi;break;case"monotoneX":A=d.nVG;break;case"monotoneY":A=d.uxU;break;case"natural":A=d.Xf2;break;case"step":A=d.GZz;break;case"stepAfter":A=d.UPb;break;case"stepBefore":A=d.dyv}let{x:S,y:w}=(0,i.RI)(e),L=(0,d.n8j)().x(S).y(w).curve(A);switch(e.thickness){case"normal":default:m="edge-thickness-normal";break;case"thick":m="edge-thickness-thick";break;case"invisible":m="edge-thickness-invisible"}switch(e.pattern){case"solid":default:m+=" edge-pattern-solid";break;case"dotted":m+=" edge-pattern-dotted";break;case"dashed":m+=" edge-pattern-dashed"}let E="rounded"===e.curve?M(O(v,e),5):L(v),K=Array.isArray(e.style)?e.style:[e.style],I=K.find(t=>t?.startsWith("stroke:")),D=!1;if("handDrawn"===e.look){let r=u.A.svg(t);Object.assign([],v);let i=r.path(E,{roughness:.3,seed:b});m+=" transition";let a=(y=(0,d.Ltv)(i).select("path").attr("id",e.id).attr("class"," "+m+(e.classes?" "+e.classes:"")).attr("style",K?K.reduce((t,e)=>t+";"+e,""):"")).attr("d");y.attr("d",a),t.node().appendChild(y.node())}else{let r=k.join(";"),a=K?K.reduce((t,e)=>t+e+";",""):"",o="";e.animate&&(o=" edge-animation-fast"),e.animation&&(o=" edge-animation-"+e.animation);let n=(r?r+";"+a+";":a)+";"+(K?K.reduce((t,e)=>t+";"+e,""):"");y=t.append("path").attr("d",E).attr("id",e.id).attr("class"," "+m+(e.classes?" "+e.classes:"")+(o??"")).attr("style",n),I=n.match(/stroke:([^;]+)/)?.[1],D=!0===e.animate||!!e.animation||r.includes("animation");let s=y.node(),l="function"==typeof s.getTotalLength?s.getTotalLength():0,h=i.Nq[e.arrowTypeStart]||0,c=i.Nq[e.arrowTypeEnd]||0;if("neo"===e.look&&!D){let t="dotted"===e.pattern||"dashed"===e.pattern?F(l,h,c):`0 ${h} ${l-h-c} ${c}`,r=`stroke-dasharray: ${t}; stroke-dashoffset: 0;`;y.attr("style",r+y.attr("style"))}}y.attr("data-edge",!0),y.attr("data-et","edge"),y.attr("data-id",e.id),y.attr("data-points",_),e.showPoints&&v.forEach(e=>{t.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",e.x).attr("cy",e.y)});let $="";((0,h.D7)().flowchart.arrowMarkerAbsolute||(0,h.D7)().state.arrowMarkerAbsolute)&&($=($=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(").replace(/\)/g,"\\)")),c.Rm.info("arrowTypeStart",e.arrowTypeStart),c.Rm.info("arrowTypeEnd",e.arrowTypeEnd),p(y,e,$,f,a,I);let q=Math.floor(x.length/2),z=x[q];l._K.isLabelCoordinateInPath(z,y.attr("d"))||(C=!0);let R={};return C&&(R.updatedPath=x),R.originalPath=e.points,R},"insertEdge");function M(t,e){if(t.length<2)return"";let r="",i=t.length;for(let a=0;a<i;a++){let o=t[a],n=t[a-1],s=t[a+1];if(0===a)r+=`M${o.x},${o.y}`;else if(a===i-1)r+=`L${o.x},${o.y}`;else{let t=o.x-n.x,i=o.y-n.y,a=s.x-o.x,l=s.y-o.y,h=Math.hypot(t,i),c=Math.hypot(a,l);if(h<1e-5||c<1e-5){r+=`L${o.x},${o.y}`;continue}let d=t/h,u=i/h,p=a/c,f=l/c,g=Math.acos(Math.max(-1,Math.min(1,d*p+u*f)));if(g<1e-5||1e-5>Math.abs(Math.PI-g)){r+=`L${o.x},${o.y}`;continue}let m=Math.min(e/Math.sin(g/2),h/2,c/2),y=o.x-d*m,b=o.y-u*m,x=o.x+p*m,C=o.y+f*m;r+=`L${y},${b}Q${o.x},${o.y} ${x},${C}`}}return r}function E(t,e){if(!t||!e)return{angle:0,deltaX:0,deltaY:0};let r=e.x-t.x,i=e.y-t.y;return{angle:Math.atan2(i,r),deltaX:r,deltaY:i}}function O(t,e){let r=t.map(t=>({...t}));if(t.length>=2&&i.hq[e.arrowTypeStart]){let a=i.hq[e.arrowTypeStart],o=t[0],{angle:n}=E(o,t[1]),s=a*Math.cos(n),l=a*Math.sin(n);r[0].x=o.x+s,r[0].y=o.y+l}let a=t.length;if(a>=2&&i.hq[e.arrowTypeEnd]){let o=i.hq[e.arrowTypeEnd],n=t[a-1],{angle:s}=E(t[a-2],n),l=o*Math.cos(s),h=o*Math.sin(s);r[a-1].x=n.x-l,r[a-1].y=n.y-h}return r}(0,c.K2)(M,"generateRoundedPath"),(0,c.K2)(E,"calculateDeltaAndAngle"),(0,c.K2)(O,"applyMarkerOffsetsToPoints");var K=(0,c.K2)((t,e,r,i)=>{e.forEach(e=>{G[e](t,r,i)})},"insertMarkers"),I=(0,c.K2)((t,e,r)=>{c.Rm.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),D=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),$=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),q=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),z=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),R=(0,c.K2)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),P=(0,c.K2)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),N=(0,c.K2)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),j=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),W=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneStart").attr("class","marker onlyOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneEnd").attr("class","marker onlyOne "+e).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),H=(0,c.K2)((t,e,r)=>{let i=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneStart").attr("class","marker zeroOrOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),i.append("path").attr("d","M9,0 L9,18");let a=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+e).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");a.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),a.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),U=(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreStart").attr("class","marker oneOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreEnd").attr("class","marker oneOrMore "+e).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),Y=(0,c.K2)((t,e,r)=>{let i=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),i.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let a=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+e).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");a.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),a.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),G={extension:I,composition:D,aggregation:$,dependency:q,lollipop:z,point:R,circle:P,cross:N,barb:j,only_one:W,zero_or_one:H,one_or_more:U,zero_or_more:Y,requirement_arrow:(0,c.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0
5
5
  L20,10
6
6
  M20,10
7
- L0,20`)},"requirement_arrow"),requirement_contains:(0,c.K2)((t,e,r)=>{let i=t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains")},V=K},48649:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(16047),a=r(98393),o=r(42225);let n=function(t,e){return(0,o.A)((0,a.A)(t,e,i.A),t+"")}},50247:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(16755),a=r(89173),o=r(77126),n=r(94090);let s=function(t,e,r){if(!(0,n.A)(r))return!1;var s=typeof e;return("number"==s?!!((0,a.A)(r)&&(0,o.A)(e,r.length)):"string"==s&&e in r)&&(0,i.A)(r[e],t)}},50564:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t,e){var r=-1,i=t.length;for(e||(e=Array(i));++r<i;)e[r]=t[r];return e}},50785:(t,e,r)=>{"use strict";r.d(e,{Nq:()=>o,RI:()=>l,hq:()=>a});var i=r(69830),a={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4},o={arrow_point:9,arrow_cross:12.5,arrow_circle:12.5};function n(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=s(t),e=s(e);let[r,i]=[t.x,t.y],[a,o]=[e.x,e.y],n=a-r,l=o-i;return{angle:Math.atan(l/n),deltaX:n,deltaY:l}}(0,i.K2)(n,"calculateDeltaAndAngle");var s=(0,i.K2)(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),l=(0,i.K2)(t=>({x:(0,i.K2)(function(e,r,i){let o=0,l=s(i[0]).x<s(i[i.length-1]).x?"left":"right";if(0===r&&Object.hasOwn(a,t.arrowTypeStart)){let{angle:e,deltaX:r}=n(i[0],i[1]);o=a[t.arrowTypeStart]*Math.cos(e)*(r>=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(a,t.arrowTypeEnd)){let{angle:e,deltaX:r}=n(i[i.length-1],i[i.length-2]);o=a[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}let h=Math.abs(s(e).x-s(i[i.length-1]).x),c=Math.abs(s(e).y-s(i[i.length-1]).y),d=Math.abs(s(e).x-s(i[0]).x),u=Math.abs(s(e).y-s(i[0]).y),p=a[t.arrowTypeStart],f=a[t.arrowTypeEnd];if(h<f&&h>0&&c<f){let t=f+1-h;t*="right"===l?-1:1,o-=t}if(d<p&&d>0&&u<p){let t=p+1-d;t*="right"===l?-1:1,o+=t}return s(e).x+o},"x"),y:(0,i.K2)(function(e,r,i){let o=0,l=s(i[0]).y<s(i[i.length-1]).y?"down":"up";if(0===r&&Object.hasOwn(a,t.arrowTypeStart)){let{angle:e,deltaY:r}=n(i[0],i[1]);o=a[t.arrowTypeStart]*Math.abs(Math.sin(e))*(r>=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(a,t.arrowTypeEnd)){let{angle:e,deltaY:r}=n(i[i.length-1],i[i.length-2]);o=a[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}let h=Math.abs(s(e).y-s(i[i.length-1]).y),c=Math.abs(s(e).x-s(i[i.length-1]).x),d=Math.abs(s(e).y-s(i[0]).y),u=Math.abs(s(e).x-s(i[0]).x),p=a[t.arrowTypeStart],f=a[t.arrowTypeEnd];if(h<f&&h>0&&c<f){let t=f+1-h;t*="up"===l?-1:1,o-=t}if(d<p&&d>0&&u<p){let t=p+1-d;t*="up"===l?-1:1,o+=t}return s(e).y+o},"y")}),"getLineFunctionsWithOffset")},51214:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var i=r(99988),a=r(94090),o=r(62260);let n=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var s=Object.prototype.hasOwnProperty;let l=function(t){if(!(0,a.A)(t))return n(t);var e=(0,o.A)(t),r=[];for(var i in t)"constructor"==i&&(e||!s.call(t,i))||r.push(i);return r};var h=r(89173);let c=function(t){return(0,h.A)(t)?(0,i.A)(t,!0):l(t)}},51227:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=r(62330).A.Uint8Array},52483:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(27872);let a=function(t,e,r){"__proto__"==e&&i.A?(0,i.A)(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},52526:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=Function.prototype.toString;let a=function(t){if(null!=t){try{return i.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},52768:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>rn});var i=r(17270),a=r(1617),o=r(84050),n=r(99870);r(48080),r(50785),r(87005),r(24726),r(56128);var s=r(12119),l=r(59661),h=r(77109),c=r(69830),d=r(34302),u=r(10791),p="comm",f="rule",g="decl",m=Math.abs,y=String.fromCharCode;function b(t,e,r){return t.replace(e,r)}function C(t,e){return 0|t.charCodeAt(e)}function x(t,e,r){return t.slice(e,r)}function k(t){return t.length}function _(t,e){return e.push(t),t}function v(t,e){for(var r="",i=0;i<t.length;i++)r+=e(t[i],i,t,e)||"";return r}function T(t,e,r,i){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case"@namespace":case g:return t.return=t.return||t.value;case p:return"";case"@keyframes":return t.return=t.value+"{"+v(t.children,i)+"}";case f:if(!k(t.value=t.props.join(",")))return""}return k(r=v(t.children,i))?t.return=t.value+"{"+r+"}":""}var A=1,S=1,w=0,B=0,F=0,L="";function M(t,e,r,i,a,o,n,s){return{value:t,root:e,parent:r,type:i,props:a,children:o,line:A,column:S,length:n,return:"",siblings:s}}function O(){return F=B<w?C(L,B++):0,S++,10===F&&(S=1,A++),F}function E(){return C(L,B)}function K(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function I(t){var e,r;return(e=B-1,r=function t(e){for(;O();)switch(F){case e:return B;case 34:case 39:34!==e&&39!==e&&t(F);break;case 40:41===e&&t(e);break;case 92:O()}return B}(91===t?t+2:40===t?t+1:t),x(L,e,r)).trim()}function D(t,e,r,i,a,o,n,s,l,h,c,d){for(var u=a-1,p=0===a?o:[""],g=p.length,y=0,C=0,k=0;y<i;++y)for(var _=0,v=x(t,u+1,u=m(C=n[y])),T=t;_<g;++_)(T=(C>0?p[_]+" "+v:b(v,/&\f/g,p[_])).trim())&&(l[k++]=T);return M(t,e,r,0===a?f:s,l,h,c,d)}function z(t,e,r,i,a){return M(t,e,r,g,x(t,0,i),x(t,i+1,-1),i,a)}var q=r(41455),R=r(23098),P={id:"c4",detector:(0,c.K2)(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),loader:(0,c.K2)(async()=>{let{diagram:t}=await r.e(95986).then(r.bind(r,95986));return{id:"c4",diagram:t}},"loader")},$="flowchart",W=(0,c.K2)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-wrapper"&&e?.flowchart?.defaultRenderer!=="elk"&&/^\s*graph/.test(t),"detector"),j=(0,c.K2)(async()=>{let{diagram:t}=await r.e(85784).then(r.bind(r,85784));return{id:$,diagram:t}},"loader"),N={id:$,detector:W,loader:j},H="flowchart-v2",U=(0,c.K2)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-d3"&&(e?.flowchart?.defaultRenderer==="elk"&&(e.layout="elk"),!!/^\s*graph/.test(t)&&e?.flowchart?.defaultRenderer==="dagre-wrapper"||/^\s*flowchart/.test(t)),"detector"),Y=(0,c.K2)(async()=>{let{diagram:t}=await r.e(85784).then(r.bind(r,85784));return{id:H,diagram:t}},"loader"),G={id:H,detector:U,loader:Y},V={id:"er",detector:(0,c.K2)(t=>/^\s*erDiagram/.test(t),"detector"),loader:(0,c.K2)(async()=>{let{diagram:t}=await r.e(60735).then(r.bind(r,60735));return{id:"er",diagram:t}},"loader")},X="gitGraph",Z=(0,c.K2)(t=>/^\s*gitGraph/.test(t),"detector"),Q=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(60209),r.e(37400)]).then(r.bind(r,37400));return{id:X,diagram:t}},"loader"),J={id:X,detector:Z,loader:Q},tt="gantt",te=(0,c.K2)(t=>/^\s*gantt/.test(t),"detector"),tr=(0,c.K2)(async()=>{let{diagram:t}=await r.e(11444).then(r.bind(r,11444));return{id:tt,diagram:t}},"loader"),ti={id:tt,detector:te,loader:tr},ta="info",to=(0,c.K2)(t=>/^\s*info/.test(t),"detector"),tn=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(60209),r.e(7957)]).then(r.bind(r,7957));return{id:ta,diagram:t}},"loader"),ts={id:ta,detector:to,loader:tn},tl={id:"pie",detector:(0,c.K2)(t=>/^\s*pie/.test(t),"detector"),loader:(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(60209),r.e(66595)]).then(r.bind(r,66595));return{id:"pie",diagram:t}},"loader")},th="quadrantChart",tc=(0,c.K2)(t=>/^\s*quadrantChart/.test(t),"detector"),td=(0,c.K2)(async()=>{let{diagram:t}=await r.e(85532).then(r.bind(r,85532));return{id:th,diagram:t}},"loader"),tu={id:th,detector:tc,loader:td},tp="xychart",tf=(0,c.K2)(t=>/^\s*xychart(-beta)?/.test(t),"detector"),tg=(0,c.K2)(async()=>{let{diagram:t}=await r.e(37960).then(r.bind(r,15579));return{id:tp,diagram:t}},"loader"),tm={id:tp,detector:tf,loader:tg},ty="requirement",tb=(0,c.K2)(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),tC=(0,c.K2)(async()=>{let{diagram:t}=await r.e(41431).then(r.bind(r,41431));return{id:ty,diagram:t}},"loader"),tx={id:ty,detector:tb,loader:tC},tk="sequence",t_=(0,c.K2)(t=>/^\s*sequenceDiagram/.test(t),"detector"),tv=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(23667),r.e(26300)]).then(r.bind(r,78939));return{id:tk,diagram:t}},"loader"),tT={id:tk,detector:t_,loader:tv},tA="class",tS=(0,c.K2)((t,e)=>e?.class?.defaultRenderer!=="dagre-wrapper"&&/^\s*classDiagram/.test(t),"detector"),tw=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(10033),r.e(33)]).then(r.bind(r,33));return{id:tA,diagram:t}},"loader"),tB={id:tA,detector:tS,loader:tw},tF="classDiagram",tL=(0,c.K2)((t,e)=>!!/^\s*classDiagram/.test(t)&&e?.class?.defaultRenderer==="dagre-wrapper"||/^\s*classDiagram-v2/.test(t),"detector"),tM=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(10033),r.e(9272)]).then(r.bind(r,9272));return{id:tF,diagram:t}},"loader"),tO={id:tF,detector:tL,loader:tM},tE="state",tK=(0,c.K2)((t,e)=>e?.state?.defaultRenderer!=="dagre-wrapper"&&/^\s*stateDiagram/.test(t),"detector"),tI=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(12860),r.e(4407),r.e(87201)]).then(r.bind(r,87201));return{id:tE,diagram:t}},"loader"),tD={id:tE,detector:tK,loader:tI},tz="stateDiagram",tq=(0,c.K2)((t,e)=>!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&e?.state?.defaultRenderer==="dagre-wrapper"),"detector"),tR=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(4407),r.e(94973)]).then(r.bind(r,94973));return{id:tz,diagram:t}},"loader"),tP={id:tz,detector:tq,loader:tR},t$="journey",tW=(0,c.K2)(t=>/^\s*journey/.test(t),"detector"),tj=(0,c.K2)(async()=>{let{diagram:t}=await r.e(9639).then(r.bind(r,9639));return{id:t$,diagram:t}},"loader"),tN={id:t$,detector:tW,loader:tj},tH={draw:(0,c.K2)((t,e,r)=>{c.Rm.debug("rendering svg for syntax error\n");let i=(0,a.D)(e),o=i.append("g");i.attr("viewBox","0 0 2412 512"),(0,h.a$)(i,100,512,!0),o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw")},tU={db:{},renderer:tH,parser:{parse:(0,c.K2)(()=>{},"parse")}},tY="flowchart-elk",tG=(0,c.K2)((t,e={})=>!!(/^\s*flowchart-elk/.test(t)||/^\s*(flowchart|graph)/.test(t)&&e?.flowchart?.defaultRenderer==="elk")&&(e.layout="elk",!0),"detector"),tV=(0,c.K2)(async()=>{let{diagram:t}=await r.e(85784).then(r.bind(r,85784));return{id:tY,diagram:t}},"loader"),tX={id:tY,detector:tG,loader:tV},tZ="timeline",tQ=(0,c.K2)(t=>/^\s*timeline/.test(t),"detector"),tJ=(0,c.K2)(async()=>{let{diagram:t}=await r.e(59796).then(r.bind(r,59796));return{id:tZ,diagram:t}},"loader"),t0={id:tZ,detector:tQ,loader:tJ},t1="mindmap",t2=(0,c.K2)(t=>/^\s*mindmap/.test(t),"detector"),t5=(0,c.K2)(async()=>{let{diagram:t}=await r.e(1545).then(r.bind(r,1545));return{id:t1,diagram:t}},"loader"),t3={id:t1,detector:t2,loader:t5},t6="kanban",t4=(0,c.K2)(t=>/^\s*kanban/.test(t),"detector"),t8=(0,c.K2)(async()=>{let{diagram:t}=await r.e(57958).then(r.bind(r,57958));return{id:t6,diagram:t}},"loader"),t9={id:t6,detector:t4,loader:t8},t7="sankey",et=(0,c.K2)(t=>/^\s*sankey(-beta)?/.test(t),"detector"),ee=(0,c.K2)(async()=>{let{diagram:t}=await r.e(10241).then(r.bind(r,10241));return{id:t7,diagram:t}},"loader"),er={id:t7,detector:et,loader:ee},ei="packet",ea=(0,c.K2)(t=>/^\s*packet(-beta)?/.test(t),"detector"),eo=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(60209),r.e(66528)]).then(r.bind(r,66528));return{id:ei,diagram:t}},"loader"),en={id:ei,detector:ea,loader:eo},es="radar",el=(0,c.K2)(t=>/^\s*radar-beta/.test(t),"detector"),eh=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(60209),r.e(76179)]).then(r.bind(r,76179));return{id:es,diagram:t}},"loader"),ec={id:es,detector:el,loader:eh},ed="block",eu=(0,c.K2)(t=>/^\s*block(-beta)?/.test(t),"detector"),ep=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(26211)]).then(r.bind(r,26211));return{id:ed,diagram:t}},"loader"),ef={id:ed,detector:eu,loader:ep},eg="architecture",em=(0,c.K2)(t=>/^\s*architecture/.test(t),"detector"),ey=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(13285),r.e(64191),r.e(60209),r.e(25218)]).then(r.bind(r,25218));return{id:eg,diagram:t}},"loader"),eb={id:eg,detector:em,loader:ey},eC="treemap",ex=(0,c.K2)(t=>/^\s*treemap/.test(t),"detector"),ek=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(60209),r.e(28318)]).then(r.bind(r,28318));return{id:eC,diagram:t}},"loader"),e_={id:eC,detector:ex,loader:ek},ev=!1,eT=(0,c.K2)(()=>{ev||(ev=!0,(0,h.Js)("error",tU,t=>"error"===t.toLowerCase().trim()),(0,h.Js)("---",{db:{clear:(0,c.K2)(()=>{},"clear")},styles:{},renderer:{draw:(0,c.K2)(()=>{},"draw")},parser:{parse:(0,c.K2)(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:(0,c.K2)(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),(0,h.Xd)(tX,t3,eb),(0,h.Xd)(P,t9,tO,tB,V,ti,ts,tl,tx,tT,G,N,t0,J,tP,tD,tN,tu,er,en,tm,ef,ec,e_))},"addDiagrams"),eA=(0,c.K2)(async()=>{c.Rm.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(h.mW).map(async([t,{detector:e,loader:r}])=>{if(r)try{(0,h.Gs)(t)}catch{try{let{diagram:t,id:i}=await r();(0,h.Js)(i,t,e)}catch(e){throw c.Rm.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete h.mW[t],e}}}))).filter(t=>"rejected"===t.status);if(t.length>0){for(let e of(c.Rm.error(`Failed to load ${t.length} external diagrams`),t))c.Rm.error(e);throw Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams");function eS(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)}function ew(t,e,r,i){if(void 0!==t.insert){if(r){let e=`chart-desc-${i}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(r)}if(e){let r=`chart-title-${i}`;t.attr("aria-labelledby",r),t.insert("title",":first-child").attr("id",r).text(e)}}}(0,c.K2)(eS,"setA11yDiagramInfo"),(0,c.K2)(ew,"addSVGa11yTitleDescription");var eB=class t{constructor(t,e,r,i,a){this.type=t,this.text=e,this.db=r,this.parser=i,this.renderer=a}static{(0,c.K2)(this,"Diagram")}static async fromText(e,r={}){let i=(0,h.zj)(),a=(0,h.Ch)(e,i);e=(0,l.C4)(e)+"\n";try{(0,h.Gs)(a)}catch{let t=(0,h.J$)(a);if(!t)throw new h.C0(`Diagram ${a} not found.`);let{id:e,diagram:r}=await t();(0,h.Js)(e,r)}let{db:o,parser:n,renderer:s,init:c}=(0,h.Gs)(a);return n.parser&&(n.parser.yy=o),o.clear?.(),c?.(i),r.title&&o.setDiagramTitle?.(r.title),await n.parse(e),new t(a,e,o,n,s)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}},eF=[],eL=(0,c.K2)(()=>{eF.forEach(t=>{t()}),eF=[]},"attachFunctions"),eM=(0,c.K2)(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function eO(t){let e=t.match(h.EJ);if(!e)return{text:t,metadata:{}};let r=(0,o.H)(e[1],{schema:o.r})??{};r="object"!=typeof r||Array.isArray(r)?{}:r;let i={};return r.displayMode&&(i.displayMode=r.displayMode.toString()),r.title&&(i.title=r.title.toString()),r.config&&(i.config=r.config),{text:t.slice(e[0].length),metadata:i}}(0,c.K2)(eO,"extractFrontMatter");var eE=(0,c.K2)(t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(t,e,r)=>"<"+e+r.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),eK=(0,c.K2)(t=>{let{text:e,metadata:r}=eO(t),{displayMode:i,title:a,config:o={}}=r;return i&&(o.gantt||(o.gantt={}),o.gantt.displayMode=i),{title:a,config:o,text:e}},"processFrontmatter"),eI=(0,c.K2)(t=>{let e=l._K.detectInit(t)??{},r=l._K.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some(({type:t})=>"wrap"===t):r?.type==="wrap"&&(e.wrap=!0),{text:(0,l.vU)(t),directive:e}},"processDirectives");function eD(t){let e=eK(eE(t)),r=eI(e.text),i=(0,l.$t)(e.config,r.directive);return{code:t=eM(r.text),title:e.title,config:i}}function ez(t){return btoa(Array.from(new TextEncoder().encode(t),t=>String.fromCodePoint(t)).join(""))}(0,c.K2)(eD,"preprocessDiagram"),(0,c.K2)(ez,"toBase64");var eq=["foreignobject"],eR=["dominant-baseline"];function eP(t){let e=eD(t);return(0,h.cL)(),(0,h.xA)(e.config??{}),e}async function e$(t,e){eT();try{let{code:e,config:r}=eP(t);return{diagramType:(await eQ(e)).type,config:r}}catch(t){if(e?.suppressErrors)return!1;throw t}}(0,c.K2)(eP,"processAndSetConfigs"),(0,c.K2)(e$,"parse");var eW=(0,c.K2)((t,e,r=[])=>`
7
+ L0,20`)},"requirement_arrow"),requirement_contains:(0,c.K2)((t,e,r)=>{let i=t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains")},V=K},48649:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(16047),a=r(98393),o=r(42225);let n=function(t,e){return(0,o.A)((0,a.A)(t,e,i.A),t+"")}},50247:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(16755),a=r(89173),o=r(77126),n=r(94090);let s=function(t,e,r){if(!(0,n.A)(r))return!1;var s=typeof e;return("number"==s?!!((0,a.A)(r)&&(0,o.A)(e,r.length)):"string"==s&&e in r)&&(0,i.A)(r[e],t)}},50564:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t,e){var r=-1,i=t.length;for(e||(e=Array(i));++r<i;)e[r]=t[r];return e}},50785:(t,e,r)=>{"use strict";r.d(e,{Nq:()=>o,RI:()=>l,hq:()=>a});var i=r(69830),a={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4},o={arrow_point:9,arrow_cross:12.5,arrow_circle:12.5};function n(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=s(t),e=s(e);let[r,i]=[t.x,t.y],[a,o]=[e.x,e.y],n=a-r,l=o-i;return{angle:Math.atan(l/n),deltaX:n,deltaY:l}}(0,i.K2)(n,"calculateDeltaAndAngle");var s=(0,i.K2)(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),l=(0,i.K2)(t=>({x:(0,i.K2)(function(e,r,i){let o=0,l=s(i[0]).x<s(i[i.length-1]).x?"left":"right";if(0===r&&Object.hasOwn(a,t.arrowTypeStart)){let{angle:e,deltaX:r}=n(i[0],i[1]);o=a[t.arrowTypeStart]*Math.cos(e)*(r>=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(a,t.arrowTypeEnd)){let{angle:e,deltaX:r}=n(i[i.length-1],i[i.length-2]);o=a[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}let h=Math.abs(s(e).x-s(i[i.length-1]).x),c=Math.abs(s(e).y-s(i[i.length-1]).y),d=Math.abs(s(e).x-s(i[0]).x),u=Math.abs(s(e).y-s(i[0]).y),p=a[t.arrowTypeStart],f=a[t.arrowTypeEnd];if(h<f&&h>0&&c<f){let t=f+1-h;t*="right"===l?-1:1,o-=t}if(d<p&&d>0&&u<p){let t=p+1-d;t*="right"===l?-1:1,o+=t}return s(e).x+o},"x"),y:(0,i.K2)(function(e,r,i){let o=0,l=s(i[0]).y<s(i[i.length-1]).y?"down":"up";if(0===r&&Object.hasOwn(a,t.arrowTypeStart)){let{angle:e,deltaY:r}=n(i[0],i[1]);o=a[t.arrowTypeStart]*Math.abs(Math.sin(e))*(r>=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(a,t.arrowTypeEnd)){let{angle:e,deltaY:r}=n(i[i.length-1],i[i.length-2]);o=a[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}let h=Math.abs(s(e).y-s(i[i.length-1]).y),c=Math.abs(s(e).x-s(i[i.length-1]).x),d=Math.abs(s(e).y-s(i[0]).y),u=Math.abs(s(e).x-s(i[0]).x),p=a[t.arrowTypeStart],f=a[t.arrowTypeEnd];if(h<f&&h>0&&c<f){let t=f+1-h;t*="up"===l?-1:1,o-=t}if(d<p&&d>0&&u<p){let t=p+1-d;t*="up"===l?-1:1,o+=t}return s(e).y+o},"y")}),"getLineFunctionsWithOffset")},51214:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var i=r(99988),a=r(94090),o=r(62260);let n=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var s=Object.prototype.hasOwnProperty;let l=function(t){if(!(0,a.A)(t))return n(t);var e=(0,o.A)(t),r=[];for(var i in t)"constructor"==i&&(e||!s.call(t,i))||r.push(i);return r};var h=r(89173);let c=function(t){return(0,h.A)(t)?(0,i.A)(t,!0):l(t)}},51227:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=r(62330).A.Uint8Array},52483:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(27872);let a=function(t,e,r){"__proto__"==e&&i.A?(0,i.A)(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},52526:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=Function.prototype.toString;let a=function(t){if(null!=t){try{return i.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},52768:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>rn});var i=r(17270),a=r(1617),o=r(84050),n=r(99870);r(48080),r(50785),r(87005),r(24726),r(56128);var s=r(12119),l=r(59661),h=r(77109),c=r(69830),d=r(34302),u=r(10791),p="comm",f="rule",g="decl",m=Math.abs,y=String.fromCharCode;function b(t,e,r){return t.replace(e,r)}function x(t,e){return 0|t.charCodeAt(e)}function C(t,e,r){return t.slice(e,r)}function k(t){return t.length}function _(t,e){return e.push(t),t}function v(t,e){for(var r="",i=0;i<t.length;i++)r+=e(t[i],i,t,e)||"";return r}function A(t,e,r,i){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case"@namespace":case g:return t.return=t.return||t.value;case p:return"";case"@keyframes":return t.return=t.value+"{"+v(t.children,i)+"}";case f:if(!k(t.value=t.props.join(",")))return""}return k(r=v(t.children,i))?t.return=t.value+"{"+r+"}":""}var T=1,S=1,w=0,B=0,F=0,L="";function M(t,e,r,i,a,o,n,s){return{value:t,root:e,parent:r,type:i,props:a,children:o,line:T,column:S,length:n,return:"",siblings:s}}function E(){return F=B<w?x(L,B++):0,S++,10===F&&(S=1,T++),F}function O(){return x(L,B)}function K(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function I(t){var e,r;return(e=B-1,r=function t(e){for(;E();)switch(F){case e:return B;case 34:case 39:34!==e&&39!==e&&t(F);break;case 40:41===e&&t(e);break;case 92:E()}return B}(91===t?t+2:40===t?t+1:t),C(L,e,r)).trim()}function D(t,e,r,i,a,o,n,s,l,h,c,d){for(var u=a-1,p=0===a?o:[""],g=p.length,y=0,x=0,k=0;y<i;++y)for(var _=0,v=C(t,u+1,u=m(x=n[y])),A=t;_<g;++_)(A=(x>0?p[_]+" "+v:b(v,/&\f/g,p[_])).trim())&&(l[k++]=A);return M(t,e,r,0===a?f:s,l,h,c,d)}function $(t,e,r,i,a){return M(t,e,r,g,C(t,0,i),C(t,i+1,-1),i,a)}var q=r(41455),z=r(23098),R={id:"c4",detector:(0,c.K2)(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),loader:(0,c.K2)(async()=>{let{diagram:t}=await r.e(95986).then(r.bind(r,95986));return{id:"c4",diagram:t}},"loader")},P="flowchart",N=(0,c.K2)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-wrapper"&&e?.flowchart?.defaultRenderer!=="elk"&&/^\s*graph/.test(t),"detector"),j=(0,c.K2)(async()=>{let{diagram:t}=await r.e(85784).then(r.bind(r,85784));return{id:P,diagram:t}},"loader"),W={id:P,detector:N,loader:j},H="flowchart-v2",U=(0,c.K2)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-d3"&&(e?.flowchart?.defaultRenderer==="elk"&&(e.layout="elk"),!!/^\s*graph/.test(t)&&e?.flowchart?.defaultRenderer==="dagre-wrapper"||/^\s*flowchart/.test(t)),"detector"),Y=(0,c.K2)(async()=>{let{diagram:t}=await r.e(85784).then(r.bind(r,85784));return{id:H,diagram:t}},"loader"),G={id:H,detector:U,loader:Y},V={id:"er",detector:(0,c.K2)(t=>/^\s*erDiagram/.test(t),"detector"),loader:(0,c.K2)(async()=>{let{diagram:t}=await r.e(60735).then(r.bind(r,60735));return{id:"er",diagram:t}},"loader")},X="gitGraph",Z=(0,c.K2)(t=>/^\s*gitGraph/.test(t),"detector"),Q=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(60209),r.e(37400)]).then(r.bind(r,37400));return{id:X,diagram:t}},"loader"),J={id:X,detector:Z,loader:Q},tt="gantt",te=(0,c.K2)(t=>/^\s*gantt/.test(t),"detector"),tr=(0,c.K2)(async()=>{let{diagram:t}=await r.e(11444).then(r.bind(r,11444));return{id:tt,diagram:t}},"loader"),ti={id:tt,detector:te,loader:tr},ta="info",to=(0,c.K2)(t=>/^\s*info/.test(t),"detector"),tn=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(60209),r.e(7957)]).then(r.bind(r,7957));return{id:ta,diagram:t}},"loader"),ts={id:ta,detector:to,loader:tn},tl={id:"pie",detector:(0,c.K2)(t=>/^\s*pie/.test(t),"detector"),loader:(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(60209),r.e(66595)]).then(r.bind(r,66595));return{id:"pie",diagram:t}},"loader")},th="quadrantChart",tc=(0,c.K2)(t=>/^\s*quadrantChart/.test(t),"detector"),td=(0,c.K2)(async()=>{let{diagram:t}=await r.e(85532).then(r.bind(r,85532));return{id:th,diagram:t}},"loader"),tu={id:th,detector:tc,loader:td},tp="xychart",tf=(0,c.K2)(t=>/^\s*xychart(-beta)?/.test(t),"detector"),tg=(0,c.K2)(async()=>{let{diagram:t}=await r.e(37960).then(r.bind(r,15579));return{id:tp,diagram:t}},"loader"),tm={id:tp,detector:tf,loader:tg},ty="requirement",tb=(0,c.K2)(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),tx=(0,c.K2)(async()=>{let{diagram:t}=await r.e(41431).then(r.bind(r,41431));return{id:ty,diagram:t}},"loader"),tC={id:ty,detector:tb,loader:tx},tk="sequence",t_=(0,c.K2)(t=>/^\s*sequenceDiagram/.test(t),"detector"),tv=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(23667),r.e(26300)]).then(r.bind(r,78939));return{id:tk,diagram:t}},"loader"),tA={id:tk,detector:t_,loader:tv},tT="class",tS=(0,c.K2)((t,e)=>e?.class?.defaultRenderer!=="dagre-wrapper"&&/^\s*classDiagram/.test(t),"detector"),tw=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(10033),r.e(33)]).then(r.bind(r,33));return{id:tT,diagram:t}},"loader"),tB={id:tT,detector:tS,loader:tw},tF="classDiagram",tL=(0,c.K2)((t,e)=>!!/^\s*classDiagram/.test(t)&&e?.class?.defaultRenderer==="dagre-wrapper"||/^\s*classDiagram-v2/.test(t),"detector"),tM=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(10033),r.e(9272)]).then(r.bind(r,9272));return{id:tF,diagram:t}},"loader"),tE={id:tF,detector:tL,loader:tM},tO="state",tK=(0,c.K2)((t,e)=>e?.state?.defaultRenderer!=="dagre-wrapper"&&/^\s*stateDiagram/.test(t),"detector"),tI=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(12860),r.e(4407),r.e(87201)]).then(r.bind(r,87201));return{id:tO,diagram:t}},"loader"),tD={id:tO,detector:tK,loader:tI},t$="stateDiagram",tq=(0,c.K2)((t,e)=>!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&e?.state?.defaultRenderer==="dagre-wrapper"),"detector"),tz=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(4407),r.e(94973)]).then(r.bind(r,94973));return{id:t$,diagram:t}},"loader"),tR={id:t$,detector:tq,loader:tz},tP="journey",tN=(0,c.K2)(t=>/^\s*journey/.test(t),"detector"),tj=(0,c.K2)(async()=>{let{diagram:t}=await r.e(9639).then(r.bind(r,9639));return{id:tP,diagram:t}},"loader"),tW={id:tP,detector:tN,loader:tj},tH={draw:(0,c.K2)((t,e,r)=>{c.Rm.debug("rendering svg for syntax error\n");let i=(0,a.D)(e),o=i.append("g");i.attr("viewBox","0 0 2412 512"),(0,h.a$)(i,100,512,!0),o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw")},tU={db:{},renderer:tH,parser:{parse:(0,c.K2)(()=>{},"parse")}},tY="flowchart-elk",tG=(0,c.K2)((t,e={})=>!!(/^\s*flowchart-elk/.test(t)||/^\s*(flowchart|graph)/.test(t)&&e?.flowchart?.defaultRenderer==="elk")&&(e.layout="elk",!0),"detector"),tV=(0,c.K2)(async()=>{let{diagram:t}=await r.e(85784).then(r.bind(r,85784));return{id:tY,diagram:t}},"loader"),tX={id:tY,detector:tG,loader:tV},tZ="timeline",tQ=(0,c.K2)(t=>/^\s*timeline/.test(t),"detector"),tJ=(0,c.K2)(async()=>{let{diagram:t}=await r.e(59796).then(r.bind(r,59796));return{id:tZ,diagram:t}},"loader"),t0={id:tZ,detector:tQ,loader:tJ},t1="mindmap",t2=(0,c.K2)(t=>/^\s*mindmap/.test(t),"detector"),t5=(0,c.K2)(async()=>{let{diagram:t}=await r.e(1545).then(r.bind(r,1545));return{id:t1,diagram:t}},"loader"),t3={id:t1,detector:t2,loader:t5},t6="kanban",t4=(0,c.K2)(t=>/^\s*kanban/.test(t),"detector"),t8=(0,c.K2)(async()=>{let{diagram:t}=await r.e(57958).then(r.bind(r,57958));return{id:t6,diagram:t}},"loader"),t9={id:t6,detector:t4,loader:t8},t7="sankey",et=(0,c.K2)(t=>/^\s*sankey(-beta)?/.test(t),"detector"),ee=(0,c.K2)(async()=>{let{diagram:t}=await r.e(10241).then(r.bind(r,10241));return{id:t7,diagram:t}},"loader"),er={id:t7,detector:et,loader:ee},ei="packet",ea=(0,c.K2)(t=>/^\s*packet(-beta)?/.test(t),"detector"),eo=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(60209),r.e(66528)]).then(r.bind(r,66528));return{id:ei,diagram:t}},"loader"),en={id:ei,detector:ea,loader:eo},es="radar",el=(0,c.K2)(t=>/^\s*radar-beta/.test(t),"detector"),eh=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(60209),r.e(76179)]).then(r.bind(r,76179));return{id:es,diagram:t}},"loader"),ec={id:es,detector:el,loader:eh},ed="block",eu=(0,c.K2)(t=>/^\s*block(-beta)?/.test(t),"detector"),ep=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(26211)]).then(r.bind(r,26211));return{id:ed,diagram:t}},"loader"),ef={id:ed,detector:eu,loader:ep},eg="architecture",em=(0,c.K2)(t=>/^\s*architecture/.test(t),"detector"),ey=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(13285),r.e(64191),r.e(60209),r.e(25218)]).then(r.bind(r,25218));return{id:eg,diagram:t}},"loader"),eb={id:eg,detector:em,loader:ey},ex="treemap",eC=(0,c.K2)(t=>/^\s*treemap/.test(t),"detector"),ek=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(64191),r.e(60209),r.e(28318)]).then(r.bind(r,28318));return{id:ex,diagram:t}},"loader"),e_={id:ex,detector:eC,loader:ek},ev=!1,eA=(0,c.K2)(()=>{ev||(ev=!0,(0,h.Js)("error",tU,t=>"error"===t.toLowerCase().trim()),(0,h.Js)("---",{db:{clear:(0,c.K2)(()=>{},"clear")},styles:{},renderer:{draw:(0,c.K2)(()=>{},"draw")},parser:{parse:(0,c.K2)(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:(0,c.K2)(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),(0,h.Xd)(tX,t3,eb),(0,h.Xd)(R,t9,tE,tB,V,ti,ts,tl,tC,tA,G,W,t0,J,tR,tD,tW,tu,er,en,tm,ef,ec,e_))},"addDiagrams"),eT=(0,c.K2)(async()=>{c.Rm.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(h.mW).map(async([t,{detector:e,loader:r}])=>{if(r)try{(0,h.Gs)(t)}catch{try{let{diagram:t,id:i}=await r();(0,h.Js)(i,t,e)}catch(e){throw c.Rm.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete h.mW[t],e}}}))).filter(t=>"rejected"===t.status);if(t.length>0){for(let e of(c.Rm.error(`Failed to load ${t.length} external diagrams`),t))c.Rm.error(e);throw Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams");function eS(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)}function ew(t,e,r,i){if(void 0!==t.insert){if(r){let e=`chart-desc-${i}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(r)}if(e){let r=`chart-title-${i}`;t.attr("aria-labelledby",r),t.insert("title",":first-child").attr("id",r).text(e)}}}(0,c.K2)(eS,"setA11yDiagramInfo"),(0,c.K2)(ew,"addSVGa11yTitleDescription");var eB=class t{constructor(t,e,r,i,a){this.type=t,this.text=e,this.db=r,this.parser=i,this.renderer=a}static{(0,c.K2)(this,"Diagram")}static async fromText(e,r={}){let i=(0,h.zj)(),a=(0,h.Ch)(e,i);e=(0,l.C4)(e)+"\n";try{(0,h.Gs)(a)}catch{let t=(0,h.J$)(a);if(!t)throw new h.C0(`Diagram ${a} not found.`);let{id:e,diagram:r}=await t();(0,h.Js)(e,r)}let{db:o,parser:n,renderer:s,init:c}=(0,h.Gs)(a);return n.parser&&(n.parser.yy=o),o.clear?.(),c?.(i),r.title&&o.setDiagramTitle?.(r.title),await n.parse(e),new t(a,e,o,n,s)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}},eF=[],eL=(0,c.K2)(()=>{eF.forEach(t=>{t()}),eF=[]},"attachFunctions"),eM=(0,c.K2)(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function eE(t){let e=t.match(h.EJ);if(!e)return{text:t,metadata:{}};let r=(0,o.H)(e[1],{schema:o.r})??{};r="object"!=typeof r||Array.isArray(r)?{}:r;let i={};return r.displayMode&&(i.displayMode=r.displayMode.toString()),r.title&&(i.title=r.title.toString()),r.config&&(i.config=r.config),{text:t.slice(e[0].length),metadata:i}}(0,c.K2)(eE,"extractFrontMatter");var eO=(0,c.K2)(t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(t,e,r)=>"<"+e+r.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),eK=(0,c.K2)(t=>{let{text:e,metadata:r}=eE(t),{displayMode:i,title:a,config:o={}}=r;return i&&(o.gantt||(o.gantt={}),o.gantt.displayMode=i),{title:a,config:o,text:e}},"processFrontmatter"),eI=(0,c.K2)(t=>{let e=l._K.detectInit(t)??{},r=l._K.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some(({type:t})=>"wrap"===t):r?.type==="wrap"&&(e.wrap=!0),{text:(0,l.vU)(t),directive:e}},"processDirectives");function eD(t){let e=eK(eO(t)),r=eI(e.text),i=(0,l.$t)(e.config,r.directive);return{code:t=eM(r.text),title:e.title,config:i}}function e$(t){return btoa(Array.from(new TextEncoder().encode(t),t=>String.fromCodePoint(t)).join(""))}(0,c.K2)(eD,"preprocessDiagram"),(0,c.K2)(e$,"toBase64");var eq=["foreignobject"],ez=["dominant-baseline"];function eR(t){let e=eD(t);return(0,h.cL)(),(0,h.xA)(e.config??{}),e}async function eP(t,e){eA();try{let{code:e,config:r}=eR(t);return{diagramType:(await eQ(e)).type,config:r}}catch(t){if(e?.suppressErrors)return!1;throw t}}(0,c.K2)(eR,"processAndSetConfigs"),(0,c.K2)(eP,"parse");var eN=(0,c.K2)((t,e,r=[])=>`
8
8
  .${t} ${e} { ${r.join(" !important; ")} !important; }`,"cssImportantStyles"),ej=(0,c.K2)((t,e=new Map)=>{let r="";if(void 0!==t.themeCSS&&(r+=`
9
9
  ${t.themeCSS}`),void 0!==t.fontFamily&&(r+=`
10
10
  :root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=`
11
- :root { --mermaid-alt-font-family: ${t.altFontFamily}}`),e instanceof Map){let i=t.htmlLabels??t.flowchart?.htmlLabels?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach(t=>{(0,R.A)(t.styles)||i.forEach(e=>{r+=eW(t.id,e,t.styles)}),(0,R.A)(t.textStyles)||(r+=eW(t.id,"tspan",(t?.textStyles||[]).map(t=>t.replace("color","fill"))))})}return r},"createCssStyles"),eN=(0,c.K2)((t,e,r,i)=>{var a,o,n;let s=ej(t,r),l=(0,h.tM)(e,s,t.themeVariables);return v((n=function t(e,r,i,a,o,n,s,l,h){for(var c,d,u,f,g,v,T=0,w=0,q=s,R=0,P=0,$=0,W=1,j=1,N=1,H=0,U="",Y=o,G=n,V=a,X=U;j;)switch($=H,H=O()){case 40:if(108!=$&&58==C(X,q-1)){-1!=(g=X+=b(I(H),"&","&\f"),v=m(T?l[T-1]:0),g.indexOf("&\f",v))&&(N=-1);break}case 34:case 39:case 91:X+=I(H);break;case 9:case 10:case 13:case 32:X+=function(t){for(;F=E();)if(F<33)O();else break;return K(t)>2||K(F)>3?"":" "}($);break;case 92:X+=function(t,e){for(var r;--e&&O()&&!(F<48)&&!(F>102)&&(!(F>57)||!(F<65))&&(!(F>70)||!(F<97)););return r=B+(e<6&&32==E()&&32==O()),x(L,t,r)}(B-1,7);continue;case 47:switch(E()){case 42:case 47:_((c=function(t,e){for(;O();)if(t+F===57)break;else if(t+F===84&&47===E())break;return"/*"+x(L,e,B-1)+"*"+y(47===t?t:O())}(O(),B),d=r,u=i,f=h,M(c,d,u,p,y(F),x(c,2,-2),0,f)),h),(5==K($||1)||5==K(E()||1))&&k(X)&&" "!==x(X,-1,void 0)&&(X+=" ");break;default:X+="/"}break;case 123*W:l[T++]=k(X)*N;case 125*W:case 59:case 0:switch(H){case 0:case 125:j=0;case 59+w:-1==N&&(X=b(X,/\f/g,"")),P>0&&(k(X)-q||0===W&&47===$)&&_(P>32?z(X+";",a,i,q-1,h):z(b(X," ","")+";",a,i,q-2,h),h);break;case 59:X+=";";default:if(_(V=D(X,r,i,T,w,o,l,U,Y=[],G=[],q,n),n),123===H)if(0===w)t(X,r,V,V,Y,n,q,l,G);else{switch(R){case 99:if(110===C(X,3))break;case 108:if(97===C(X,2))break;default:w=0;case 100:case 109:case 115:}w?t(e,V,V,a&&_(D(e,V,V,0,0,o,l,U,o,Y=[],q,G),G),o,G,q,l,a?Y:G):t(X,V,V,V,[""],G,0,l,G)}}T=w=P=0,W=N=1,U=X="",q=s;break;case 58:q=1+k(X),P=$;default:if(W<1){if(123==H)--W;else if(125==H&&0==W++&&125==(F=B>0?C(L,--B):0,S--,10===F&&(S=1,A--),F))continue}switch(X+=y(H),H*W){case 38:N=w>0?1:(X+="\f",-1);break;case 44:l[T++]=(k(X)-1)*N,N=1;break;case 64:45===E()&&(X+=I(O())),R=E(),w=q=k(U=X+=function(t){for(;!K(E());)O();return x(L,t,B)}(B)),H++;break;case 45:45===$&&2==k(X)&&(W=0)}}return n}("",null,null,null,[""],(o=a=`${i}{${l}}`,A=S=1,w=k(L=o),B=0,a=[]),0,[0],a),L="",n),T)},"createUserStyles"),eH=(0,c.K2)((t="",e,r)=>{let i=t;return r||e||(i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),i=(i=(0,l.Sm)(i)).replace(/<br>/g,"<br/>")},"cleanUpSvgCode"),eU=(0,c.K2)((t="",e)=>{let r=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":"100%",i=ez(`<body style="margin:0">${t}</body>`);return`<iframe style="width:100%;height:${r};border:0;margin:0;" src="data:text/html;charset=UTF-8;base64,${i}" sandbox="allow-top-navigation-by-user-activation allow-popups">
11
+ :root { --mermaid-alt-font-family: ${t.altFontFamily}}`),e instanceof Map){let i=t.htmlLabels??t.flowchart?.htmlLabels?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach(t=>{(0,z.A)(t.styles)||i.forEach(e=>{r+=eN(t.id,e,t.styles)}),(0,z.A)(t.textStyles)||(r+=eN(t.id,"tspan",(t?.textStyles||[]).map(t=>t.replace("color","fill"))))})}return r},"createCssStyles"),eW=(0,c.K2)((t,e,r,i)=>{var a,o,n;let s=ej(t,r),l=(0,h.tM)(e,s,t.themeVariables);return v((n=function t(e,r,i,a,o,n,s,l,h){for(var c,d,u,f,g,v,A=0,w=0,q=s,z=0,R=0,P=0,N=1,j=1,W=1,H=0,U="",Y=o,G=n,V=a,X=U;j;)switch(P=H,H=E()){case 40:if(108!=P&&58==x(X,q-1)){-1!=(g=X+=b(I(H),"&","&\f"),v=m(A?l[A-1]:0),g.indexOf("&\f",v))&&(W=-1);break}case 34:case 39:case 91:X+=I(H);break;case 9:case 10:case 13:case 32:X+=function(t){for(;F=O();)if(F<33)E();else break;return K(t)>2||K(F)>3?"":" "}(P);break;case 92:X+=function(t,e){for(var r;--e&&E()&&!(F<48)&&!(F>102)&&(!(F>57)||!(F<65))&&(!(F>70)||!(F<97)););return r=B+(e<6&&32==O()&&32==E()),C(L,t,r)}(B-1,7);continue;case 47:switch(O()){case 42:case 47:_((c=function(t,e){for(;E();)if(t+F===57)break;else if(t+F===84&&47===O())break;return"/*"+C(L,e,B-1)+"*"+y(47===t?t:E())}(E(),B),d=r,u=i,f=h,M(c,d,u,p,y(F),C(c,2,-2),0,f)),h),(5==K(P||1)||5==K(O()||1))&&k(X)&&" "!==C(X,-1,void 0)&&(X+=" ");break;default:X+="/"}break;case 123*N:l[A++]=k(X)*W;case 125*N:case 59:case 0:switch(H){case 0:case 125:j=0;case 59+w:-1==W&&(X=b(X,/\f/g,"")),R>0&&(k(X)-q||0===N&&47===P)&&_(R>32?$(X+";",a,i,q-1,h):$(b(X," ","")+";",a,i,q-2,h),h);break;case 59:X+=";";default:if(_(V=D(X,r,i,A,w,o,l,U,Y=[],G=[],q,n),n),123===H)if(0===w)t(X,r,V,V,Y,n,q,l,G);else{switch(z){case 99:if(110===x(X,3))break;case 108:if(97===x(X,2))break;default:w=0;case 100:case 109:case 115:}w?t(e,V,V,a&&_(D(e,V,V,0,0,o,l,U,o,Y=[],q,G),G),o,G,q,l,a?Y:G):t(X,V,V,V,[""],G,0,l,G)}}A=w=R=0,N=W=1,U=X="",q=s;break;case 58:q=1+k(X),R=P;default:if(N<1){if(123==H)--N;else if(125==H&&0==N++&&125==(F=B>0?x(L,--B):0,S--,10===F&&(S=1,T--),F))continue}switch(X+=y(H),H*N){case 38:W=w>0?1:(X+="\f",-1);break;case 44:l[A++]=(k(X)-1)*W,W=1;break;case 64:45===O()&&(X+=I(E())),z=O(),w=q=k(U=X+=function(t){for(;!K(O());)E();return C(L,t,B)}(B)),H++;break;case 45:45===P&&2==k(X)&&(N=0)}}return n}("",null,null,null,[""],(o=a=`${i}{${l}}`,T=S=1,w=k(L=o),B=0,a=[]),0,[0],a),L="",n),A)},"createUserStyles"),eH=(0,c.K2)((t="",e,r)=>{let i=t;return r||e||(i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),i=(i=(0,l.Sm)(i)).replace(/<br>/g,"<br/>")},"cleanUpSvgCode"),eU=(0,c.K2)((t="",e)=>{let r=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":"100%",i=e$(`<body style="margin:0">${t}</body>`);return`<iframe style="width:100%;height:${r};border:0;margin:0;" src="data:text/html;charset=UTF-8;base64,${i}" sandbox="allow-top-navigation-by-user-activation allow-popups">
12
12
  The "iframe" tag is not supported by your browser.
13
- </iframe>`},"putIntoIFrame"),eY=(0,c.K2)((t,e,r,i,a)=>{let o=t.append("div");o.attr("id",r),i&&o.attr("style",i);let n=o.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return a&&n.attr("xmlns:xlink",a),n.append("g"),t},"appendDivSvgG");function eG(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,c.K2)(eG,"sandboxedIframe");var eV=(0,c.K2)((t,e,r,i)=>{t.getElementById(e)?.remove(),t.getElementById(r)?.remove(),t.getElementById(i)?.remove()},"removeExistingElements"),eX=(0,c.K2)(async function(t,e,r){let a,o;eT();let n=eP(e);e=n.code;let s=(0,h.zj)();c.Rm.debug(s),e.length>(s?.maxTextSize??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let l="#"+t,d="i"+t,p="#"+d,f="d"+t,g="#"+f,m=(0,c.K2)(()=>{let t=b?p:g,e=(0,u.Ltv)(t).node();e&&"remove"in e&&e.remove()},"removeTempElements"),y=(0,u.Ltv)("body"),b="sandbox"===s.securityLevel,C="loose"===s.securityLevel,x=s.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),b){let t=eG((0,u.Ltv)(r),d);(y=(0,u.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else y=(0,u.Ltv)(r);eY(y,t,f,`font-family: ${x}`,"http://www.w3.org/1999/xlink")}else{if(eV(document,t,f,d),b){let t=eG((0,u.Ltv)("body"),d);(y=(0,u.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else y=(0,u.Ltv)("body");eY(y,t,f)}try{a=await eB.fromText(e,{title:n.title})}catch(t){if(s.suppressErrorRendering)throw m(),t;a=await eB.fromText("error"),o=t}let k=y.select(g).node(),_=a.type,v=k.firstChild,T=v.firstChild,A=eN(s,_,a.renderer.getClasses?.(e,a),l),S=document.createElement("style");S.innerHTML=A,v.insertBefore(S,T);try{await a.renderer.draw(e,t,i.n.version,a)}catch(r){throw s.suppressErrorRendering?m():tH.draw(e,t,i.n.version),r}eJ(_,y.select(`${g} svg`),a.db.getAccTitle?.(),a.db.getAccDescription?.()),y.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let w=y.select(g).node().innerHTML;if(c.Rm.debug("config.arrowMarkerAbsolute",s.arrowMarkerAbsolute),w=eH(w,b,(0,h._3)(s.arrowMarkerAbsolute)),b?w=eU(w,y.select(g+" svg").node()):C||(w=q.A.sanitize(w,{ADD_TAGS:eq,ADD_ATTR:eR,HTML_INTEGRATION_POINTS:{foreignobject:!0}})),eL(),o)throw o;return m(),{diagramType:_,svg:w,bindFunctions:a.db.bindFunctions}},"render");function eZ(t={}){let e=(0,h.hH)({},t);e?.fontFamily&&!e.themeVariables?.fontFamily&&(e.themeVariables||(e.themeVariables={}),e.themeVariables.fontFamily=e.fontFamily),(0,h.wZ)(e),e?.theme&&e.theme in h.H$?e.themeVariables=h.H$[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=h.H$.default.getThemeVariables(e.themeVariables));let r="object"==typeof e?(0,h.UU)(e):(0,h.Q2)();(0,c.He)(r.logLevel),eT()}(0,c.K2)(eZ,"initialize");var eQ=(0,c.K2)((t,e={})=>{let{code:r}=eD(t);return eB.fromText(r,e)},"getDiagramFromText");function eJ(t,e,r,i){eS(e,t),ew(e,r,i,e.attr("id"))}(0,c.K2)(eJ,"addA11yInfo");var e0=Object.freeze({render:eX,parse:e$,getDiagramFromText:eQ,initialize:eZ,getConfig:h.zj,setConfig:h.Nk,getSiteConfig:h.Q2,updateSiteConfig:h.B6,reset:(0,c.K2)(()=>{(0,h.cL)()},"reset"),globalReset:(0,c.K2)(()=>{(0,h.cL)(h.sb)},"globalReset"),defaultConfig:h.sb});(0,c.He)((0,h.zj)().logLevel),(0,h.cL)((0,h.zj)());var e1=(0,c.K2)((t,e,r)=>{c.Rm.warn(t),(0,l.dq)(t)?(r&&r(t.str,t.hash),e.push({...t,message:t.str,error:t})):(r&&r(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},"handleError"),e2=(0,c.K2)(async function(t={querySelector:".mermaid"}){try{await e5(t)}catch(e){if((0,l.dq)(e)&&c.Rm.error(e.str),ro.parseError&&ro.parseError(e),!t.suppressErrors)throw c.Rm.error("Use the suppressErrors option to suppress these errors"),e}},"run"),e5=(0,c.K2)(async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){let i,a,o=e0.getConfig();if(c.Rm.debug(`${!t?"No ":""}Callback function found`),r)i=r;else if(e)i=document.querySelectorAll(e);else throw Error("Nodes and querySelector are both undefined");c.Rm.debug(`Found ${i.length} diagrams`),o?.startOnLoad!==void 0&&(c.Rm.debug("Start On Load: "+o?.startOnLoad),e0.updateSiteConfig({startOnLoad:o?.startOnLoad}));let n=new l._K.InitIDGenerator(o.deterministicIds,o.deterministicIDSeed),s=[];for(let e of Array.from(i)){if(c.Rm.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");let r=`mermaid-${n.next()}`;a=e.innerHTML,a=(0,d.T)(l._K.entityDecode(a)).trim().replace(/<br\s*\/?>/gi,"<br/>");let i=l._K.detectInit(a);i&&c.Rm.debug("Detected early reinit: ",i);try{let{svg:i,bindFunctions:o}=await ri(r,a,e);e.innerHTML=i,t&&await t(r),o&&o(e)}catch(t){e1(t,s,ro.parseError)}}if(s.length>0)throw s[0]},"runThrowsErrors"),e3=(0,c.K2)(function(t){e0.initialize(t)},"initialize"),e6=(0,c.K2)(async function(t,e,r){c.Rm.warn("mermaid.init is deprecated. Please use run instead."),t&&e3(t);let i={postRenderCallback:r,querySelector:".mermaid"};"string"==typeof e?i.querySelector=e:e&&(e instanceof HTMLElement?i.nodes=[e]:i.nodes=e),await e2(i)},"init"),e4=(0,c.K2)(async(t,{lazyLoad:e=!0}={})=>{eT(),(0,h.Xd)(...t),!1===e&&await eA()},"registerExternalDiagrams"),e8=(0,c.K2)(function(){if(ro.startOnLoad){let{startOnLoad:t}=e0.getConfig();t&&ro.run().catch(t=>c.Rm.error("Mermaid failed to initialize",t))}},"contentLoaded");"undefined"!=typeof document&&window.addEventListener("load",e8,!1);var e9=(0,c.K2)(function(t){ro.parseError=t},"setParseErrorHandler"),e7=[],rt=!1,re=(0,c.K2)(async()=>{if(!rt){for(rt=!0;e7.length>0;){let t=e7.shift();if(t)try{await t()}catch(t){c.Rm.error("Error executing queue",t)}}rt=!1}},"executeQueue"),rr=(0,c.K2)(async(t,e)=>new Promise((r,i)=>{let a=(0,c.K2)(()=>new Promise((a,o)=>{e0.parse(t,e).then(t=>{a(t),r(t)},t=>{c.Rm.error("Error parsing",t),ro.parseError?.(t),o(t),i(t)})}),"performCall");e7.push(a),re().catch(i)}),"parse"),ri=(0,c.K2)((t,e,r)=>new Promise((i,a)=>{let o=(0,c.K2)(()=>new Promise((o,n)=>{e0.render(t,e,r).then(t=>{o(t),i(t)},t=>{c.Rm.error("Error parsing",t),ro.parseError?.(t),n(t),a(t)})}),"performCall");e7.push(o),re().catch(a)}),"render"),ra=(0,c.K2)(()=>Object.keys(h.mW).map(t=>({id:t})),"getRegisteredDiagramsMetadata"),ro={startOnLoad:!0,mermaidAPI:e0,parse:rr,render:ri,init:e6,run:e2,registerExternalDiagrams:e4,registerLayoutLoaders:n.sO,initialize:e3,parseError:void 0,contentLoaded:e8,setParseErrorHandler:e9,detectType:h.Ch,registerIconPacks:s.pC,getRegisteredDiagramsMetadata:ra},rn=ro},53511:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(7483);function a(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var i=arguments,a=e?e.apply(this,i):i[0],o=r.cache;if(o.has(a))return o.get(a);var n=t.apply(this,i);return r.cache=o.set(a,n)||o,n};return r.cache=new(a.Cache||i.A),r}a.Cache=i.A;let o=a},53704:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(10697),a=r(59585);class o{constructor(){this.type=a.Z.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=a.Z.ALL}is(t){return this.type===t}}class n{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new o}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=a.Z.ALL,this}_ensureHSL(){let t=this.data,{h:e,s:r,l:a}=t;void 0===e&&(t.h=i.A.channel.rgb2hsl(t,"h")),void 0===r&&(t.s=i.A.channel.rgb2hsl(t,"s")),void 0===a&&(t.l=i.A.channel.rgb2hsl(t,"l"))}_ensureRGB(){let t=this.data,{r:e,g:r,b:a}=t;void 0===e&&(t.r=i.A.channel.hsl2rgb(t,"r")),void 0===r&&(t.g=i.A.channel.hsl2rgb(t,"g")),void 0===a&&(t.b=i.A.channel.hsl2rgb(t,"b"))}get r(){let t=this.data,e=t.r;return this.type.is(a.Z.HSL)||void 0===e?(this._ensureHSL(),i.A.channel.hsl2rgb(t,"r")):e}get g(){let t=this.data,e=t.g;return this.type.is(a.Z.HSL)||void 0===e?(this._ensureHSL(),i.A.channel.hsl2rgb(t,"g")):e}get b(){let t=this.data,e=t.b;return this.type.is(a.Z.HSL)||void 0===e?(this._ensureHSL(),i.A.channel.hsl2rgb(t,"b")):e}get h(){let t=this.data,e=t.h;return this.type.is(a.Z.RGB)||void 0===e?(this._ensureRGB(),i.A.channel.rgb2hsl(t,"h")):e}get s(){let t=this.data,e=t.s;return this.type.is(a.Z.RGB)||void 0===e?(this._ensureRGB(),i.A.channel.rgb2hsl(t,"s")):e}get l(){let t=this.data,e=t.l;return this.type.is(a.Z.RGB)||void 0===e?(this._ensureRGB(),i.A.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(a.Z.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(a.Z.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(a.Z.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(a.Z.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(a.Z.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(a.Z.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}let s=new n({r:0,g:0,b:0,a:0},"transparent")},53964:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(48649),a=r(50247);let o=function(t){return(0,i.A)(function(e,r){var i=-1,o=r.length,n=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;for(n=t.length>3&&"function"==typeof n?(o--,n):void 0,s&&(0,a.A)(r[0],r[1],s)&&(n=o<3?void 0:n,o=1),e=Object(e);++i<o;){var l=r[i];l&&t(e,l,i,n)}return e})}},56128:(t,e,r)=>{"use strict";r.d(e,{Fr:()=>c,GX:()=>h,KX:()=>l,WW:()=>n,ue:()=>o});var i=r(77109),a=r(69830),o=(0,a.K2)(t=>{let{handDrawnSeed:e}=(0,i.D7)();return{fill:t,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:t,seed:e}},"solidStateFill"),n=(0,a.K2)(t=>{let e=s([...t.cssCompiledStyles||[],...t.cssStyles||[],...t.labelStyle||[]]);return{stylesMap:e,stylesArray:[...e]}},"compileStyles"),s=(0,a.K2)(t=>{let e=new Map;return t.forEach(t=>{let[r,i]=t.split(":");e.set(r.trim(),i?.trim())}),e},"styles2Map"),l=(0,a.K2)(t=>"color"===t||"font-size"===t||"font-family"===t||"font-weight"===t||"font-style"===t||"text-decoration"===t||"text-align"===t||"text-transform"===t||"line-height"===t||"letter-spacing"===t||"word-spacing"===t||"text-shadow"===t||"text-overflow"===t||"white-space"===t||"word-wrap"===t||"word-break"===t||"overflow-wrap"===t||"hyphens"===t,"isLabelStyle"),h=(0,a.K2)(t=>{let{stylesArray:e}=n(t),r=[],i=[],a=[],o=[];return e.forEach(t=>{let e=t[0];l(e)?r.push(t.join(":")+" !important"):(i.push(t.join(":")+" !important"),e.includes("stroke")&&a.push(t.join(":")+" !important"),"fill"===e&&o.push(t.join(":")+" !important"))}),{labelStyles:r.join(";"),nodeStyles:i.join(";"),stylesArray:e,borderStyles:a,backgroundStyles:o}},"styles2String"),c=(0,a.K2)((t,e)=>{let{themeVariables:r,handDrawnSeed:a}=(0,i.D7)(),{nodeBorder:o,mainBkg:s}=r,{stylesMap:l}=n(t);return Object.assign({roughness:.7,fill:l.get("fill")||s,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:l.get("stroke")||o,seed:a,strokeWidth:l.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:d(l.get("stroke-dasharray"))},e)},"userNodeOverrides"),d=(0,a.K2)(t=>{if(!t)return[0,0];let e=t.trim().split(/\s+/).map(Number);if(1===e.length){let t=isNaN(e[0])?0:e[0];return[t,t]}return[isNaN(e[0])?0:e[0],isNaN(e[1])?0:e[1]]},"getStrokeDashArray")},57773:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BLANK_URL=e.relativeFirstCharacters=e.whitespaceEscapeCharsRegex=e.urlSchemeRegex=e.ctrlCharactersRegex=e.htmlCtrlEntityRegex=e.htmlEntitiesRegex=e.invalidProtocolRegex=void 0,e.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,e.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,e.htmlCtrlEntityRegex=/&(newline|tab);/gi,e.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,e.urlSchemeRegex=/^.+(:|&colon;)/gim,e.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,e.relativeFirstCharacters=[".","/"],e.BLANK_URL="about:blank"},58574:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t,e,r){for(var i=-1,a=Object(t),o=r(t),n=o.length;n--;){var s=o[++i];if(!1===e(a[s],s,a))break}return t}},59585:(t,e,r)=>{"use strict";r.d(e,{Y:()=>a,Z:()=>o});var i=r(10697);let a={};for(let t=0;t<=255;t++)a[t]=i.A.unit.dec2hex(t);let o={ALL:0,RGB:1,HSL:2}},59661:(t,e,r)=>{"use strict";r.d(e,{$C:()=>F,$t:()=>N,C4:()=>U,I5:()=>j,Ib:()=>y,KL:()=>V,Sm:()=>Y,Un:()=>z,_K:()=>H,bH:()=>K,dq:()=>$,pe:()=>c,rY:()=>G,ru:()=>D,sM:()=>w,vU:()=>g,yT:()=>M});var i,a=r(77109),o=r(69830),n=r(1124),s=r(10791),l=r(53511),h=r(6458),c="​",d={curveBasis:s.qrM,curveBasisClosed:s.Yu4,curveBasisOpen:s.IA3,curveBumpX:s.Wi0,curveBumpY:s.PGM,curveBundle:s.OEq,curveCardinalClosed:s.olC,curveCardinalOpen:s.IrU,curveCardinal:s.y8u,curveCatmullRomClosed:s.Q7f,curveCatmullRomOpen:s.cVp,curveCatmullRom:s.oDi,curveLinear:s.lUB,curveLinearClosed:s.Lx9,curveMonotoneX:s.nVG,curveMonotoneY:s.uxU,curveNatural:s.Xf2,curveStep:s.GZz,curveStepAfter:s.UPb,curveStepBefore:s.dyv},u=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,p=(0,o.K2)(function(t,e){let r=f(t,/(?:init\b)|(?:initialize\b)/),i={};if(Array.isArray(r)){let t=r.map(t=>t.args);(0,a.$i)(t),i=(0,a.hH)(i,[...t])}else i=r.args;if(!i)return;let o=(0,a.Ch)(t,e),n="config";return void 0!==i[n]&&("flowchart-v2"===o&&(o="flowchart"),i[o]=i[n],delete i[n]),i},"detectInit"),f=(0,o.K2)(function(t,e=null){try{let r,i=RegExp(`[%]{2}(?![{]${u.source})(?=[}][%]{2}).*
14
- `,"ig");t=t.trim().replace(i,"").replace(/'/gm,'"'),o.Rm.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);let n=[];for(;null!==(r=a.DB.exec(t));)if(r.index===a.DB.lastIndex&&a.DB.lastIndex++,r&&!e||e&&r[1]?.match(e)||e&&r[2]?.match(e)){let t=r[1]?r[1]:r[2],e=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;n.push({type:t,args:e})}if(0===n.length)return{type:t,args:null};return 1===n.length?n[0]:n}catch(r){return o.Rm.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),g=(0,o.K2)(function(t){return t.replace(a.DB,"")},"removeDirectives"),m=(0,o.K2)(function(t,e){for(let[r,i]of e.entries())if(i.match(t))return r;return -1},"isSubstringInArray");function y(t,e){return t?d[`curve${t.charAt(0).toUpperCase()+t.slice(1)}`]??e:e}function b(t,e){let r=t.trim();if(r)return"loose"!==e.securityLevel?(0,n.J)(r):r}(0,o.K2)(y,"interpolateToCurve"),(0,o.K2)(b,"formatUrl");var C=(0,o.K2)((t,...e)=>{let r=t.split("."),i=r.length-1,a=r[i],n=window;for(let e=0;e<i;e++)if(!(n=n[r[e]]))return void o.Rm.error(`Function name: ${t} not found in window`);n[a](...e)},"runFunc");function x(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function k(t){let e,r=0;return t.forEach(t=>{r+=x(t,e),e=t}),T(t,r/2)}function _(t){return 1===t.length?t[0]:k(t)}(0,o.K2)(x,"distance"),(0,o.K2)(k,"traverseEdge"),(0,o.K2)(_,"calcLabelPosition");var v=(0,o.K2)((t,e=2)=>{let r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),T=(0,o.K2)((t,e)=>{let r,i=e;for(let e of t){if(r){let t=x(e,r);if(0===t)return r;if(t<i)i-=t;else{let a=i/t;if(a<=0)return r;if(a>=1)return{x:e.x,y:e.y};if(a>0&&a<1)return{x:v((1-a)*r.x+a*e.x,5),y:v((1-a)*r.y+a*e.y,5)}}}r=e}throw Error("Could not find a suitable point for the given distance")},"calculatePoint"),A=(0,o.K2)((t,e,r)=>{o.Rm.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());let i=T(e,25),a=t?10:5,n=Math.atan2(e[0].y-i.y,e[0].x-i.x),s={x:0,y:0};return s.x=Math.sin(n)*a+(e[0].x+i.x)/2,s.y=-Math.cos(n)*a+(e[0].y+i.y)/2,s},"calcCardinalityPosition");function S(t,e,r){let i=structuredClone(r);o.Rm.info("our points",i),"start_left"!==e&&"start_right"!==e&&i.reverse();let a=T(i,25+t),n=10+.5*t,s=Math.atan2(i[0].y-a.y,i[0].x-a.x),l={x:0,y:0};return"start_left"===e?(l.x=Math.sin(s+Math.PI)*n+(i[0].x+a.x)/2,l.y=-Math.cos(s+Math.PI)*n+(i[0].y+a.y)/2):"end_right"===e?(l.x=Math.sin(s-Math.PI)*n+(i[0].x+a.x)/2-5,l.y=-Math.cos(s-Math.PI)*n+(i[0].y+a.y)/2-5):"end_left"===e?(l.x=Math.sin(s)*n+(i[0].x+a.x)/2-5,l.y=-Math.cos(s)*n+(i[0].y+a.y)/2-5):(l.x=Math.sin(s)*n+(i[0].x+a.x)/2,l.y=-Math.cos(s)*n+(i[0].y+a.y)/2),l}function w(t){let e="",r="";for(let i of t)void 0!==i&&(i.startsWith("color:")||i.startsWith("text-align:")?r=r+i+";":e=e+i+";");return{style:e,labelStyle:r}}(0,o.K2)(S,"calcTerminalLabelPosition"),(0,o.K2)(w,"getStylesFromArray");var B=0,F=(0,o.K2)(()=>(B++,"id-"+Math.random().toString(36).substr(2,12)+"-"+B),"generateId");function L(t){let e="",r="0123456789abcdef",i=r.length;for(let a=0;a<t;a++)e+=r.charAt(Math.floor(Math.random()*i));return e}(0,o.K2)(L,"makeRandomHex");var M=(0,o.K2)(t=>L(t.length),"random"),O=(0,o.K2)(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),E=(0,o.K2)(function(t,e){let r=e.text.replace(a.Y2.lineBreakRegex," "),[,i]=j(e.fontSize),o=t.append("text");o.attr("x",e.x),o.attr("y",e.y),o.style("text-anchor",e.anchor),o.style("font-family",e.fontFamily),o.style("font-size",i),o.style("font-weight",e.fontWeight),o.attr("fill",e.fill),void 0!==e.class&&o.attr("class",e.class);let n=o.append("tspan");return n.attr("x",e.x+2*e.textMargin),n.attr("fill",e.fill),n.text(r),o},"drawSimpleText"),K=(0,l.A)((t,e,r)=>{if(!t||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r),a.Y2.lineBreakRegex.test(t)))return t;let i=t.split(" ").filter(Boolean),o=[],n="";return i.forEach((t,a)=>{let s=z(`${t} `,r),l=z(n,r);if(s>e){let{hyphenatedStrings:i,remainingWord:a}=I(t,e,"-",r);o.push(n,...i),n=a}else l+s>=e?(o.push(n),n=t):n=[n,t].filter(Boolean).join(" ");a+1===i.length&&o.push(n)}),o.filter(t=>""!==t).join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),I=(0,l.A)((t,e,r="-",i)=>{i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},i);let a=[...t],o=[],n="";return a.forEach((t,s)=>{let l=`${n}${t}`;if(z(l,i)>=e){let t=a.length===s+1,e=`${l}${r}`;o.push(t?l:e),n=""}else n=l}),{hyphenatedStrings:o,remainingWord:n}},(t,e,r="-",i)=>`${t}${e}${r}${i.fontSize}${i.fontWeight}${i.fontFamily}`);function D(t,e){return q(t,e).height}function z(t,e){return q(t,e).width}(0,o.K2)(D,"calculateTextHeight"),(0,o.K2)(z,"calculateTextWidth");var q=(0,l.A)((t,e)=>{let{fontSize:r=12,fontFamily:i="Arial",fontWeight:o=400}=e;if(!t)return{width:0,height:0};let[,n]=j(r),l=t.split(a.Y2.lineBreakRegex),h=[],d=(0,s.Ltv)("body");if(!d.remove)return{width:0,height:0,lineHeight:0};let u=d.append("svg");for(let t of["sans-serif",i]){let e=0,r={width:0,height:0,lineHeight:0};for(let i of l){let a=O();a.text=i||c;let s=E(u,a).style("font-size",n).style("font-weight",o).style("font-family",t),l=(s._groups||s)[0][0].getBBox();if(0===l.width&&0===l.height)throw Error("svg element not in render tree");r.width=Math.round(Math.max(r.width,l.width)),e=Math.round(l.height),r.height+=e,r.lineHeight=Math.round(Math.max(r.lineHeight,e))}h.push(r)}u.remove();let p=isNaN(h[1].height)||isNaN(h[1].width)||isNaN(h[1].lineHeight)||h[0].height>h[1].height&&h[0].width>h[1].width&&h[0].lineHeight>h[1].lineHeight?0:1;return h[p]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),R=class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}static{(0,o.K2)(this,"InitIDGenerator")}},P=(0,o.K2)(function(t){return i=i||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),i.innerHTML=t,unescape(i.textContent)},"entityDecode");function $(t){return"str"in t}(0,o.K2)($,"isDetailedError");var W=(0,o.K2)((t,e,r,i)=>{if(!i)return;let a=t.node()?.getBBox();a&&t.append("text").text(i).attr("text-anchor","middle").attr("x",a.x+a.width/2).attr("y",-r).attr("class",e)},"insertTitle"),j=(0,o.K2)(t=>{if("number"==typeof t)return[t,t+"px"];let e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},"parseFontSize");function N(t,e){return(0,h.A)({},t,e)}(0,o.K2)(N,"cleanAndMerge");var H={assignWithDepth:a.hH,wrapLabel:K,calculateTextHeight:D,calculateTextWidth:z,calculateTextDimensions:q,cleanAndMerge:N,detectInit:p,detectDirective:f,isSubstringInArray:m,interpolateToCurve:y,calcLabelPosition:_,calcCardinalityPosition:A,calcTerminalLabelPosition:S,formatUrl:b,getStylesFromArray:w,generateId:F,random:M,runFunc:C,entityDecode:P,insertTitle:W,isLabelCoordinateInPath:X,parseFontSize:j,InitIDGenerator:R},U=(0,o.K2)(function(t){let e=t;return(e=(e=e.replace(/style.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/classDef.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/#\w+;/g,function(t){let e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"fl\xb0\xb0"+e+"\xb6\xdf":"fl\xb0"+e+"\xb6\xdf"})},"encodeEntities"),Y=(0,o.K2)(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),G=(0,o.K2)((t,e,{counter:r=0,prefix:i,suffix:a},o)=>o||`${i?`${i}_`:""}${t}_${e}_${r}${a?`_${a}`:""}`,"getEdgeId");function V(t){return t??null}function X(t,e){let r=Math.round(t.x),i=Math.round(t.y),a=e.replace(/(\d+\.\d+)/g,t=>Math.round(parseFloat(t)).toString());return a.includes(r.toString())||a.includes(i.toString())}(0,o.K2)(V,"handleUndefinedAttr"),(0,o.K2)(X,"isLabelCoordinateInPath")},62019:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=(0,r(13472).A)(Object.getPrototypeOf,Object)},62260:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=Object.prototype;let a=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||i)}},62330:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(2724),a="object"==typeof self&&self&&self.Object===Object&&self;let o=i.A||a||Function("return this")()},62718:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=r(62330).A.Symbol},63114:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=Array.isArray},64850:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(23918),a=r(62330);let o=(0,i.A)(a.A,"Set")},67042:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(2724),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof module&&module&&!module.nodeType&&module,n=o&&o.exports===a&&i.A.process;let s=function(){try{var t=o&&o.require&&o.require("util").types;if(t)return t;return n&&n.binding&&n.binding("util")}catch(t){}}()},67798:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(10697),a=r(28212);let o=t=>!((t=>{let{r:e,g:r,b:o}=a.A.parse(t),n=.2126*i.A.channel.toLinear(e)+.7152*i.A.channel.toLinear(r)+.0722*i.A.channel.toLinear(o);return i.A.lang.round(n)})(t)>=.5)},69830:(t,e,r)=>{"use strict";r.d(e,{He:()=>h,K2:()=>o,Rm:()=>l,VA:()=>n});var i=r(86291),a=Object.defineProperty,o=(t,e)=>a(t,"name",{value:e,configurable:!0}),n=(t,e)=>{for(var r in e)a(t,r,{get:e[r],enumerable:!0})},s={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},l={trace:o((...t)=>{},"trace"),debug:o((...t)=>{},"debug"),info:o((...t)=>{},"info"),warn:o((...t)=>{},"warn"),error:o((...t)=>{},"error"),fatal:o((...t)=>{},"fatal")},h=o(function(t="fatal"){let e=s.fatal;"string"==typeof t?t.toLowerCase()in s&&(e=s[t]):"number"==typeof t&&(e=t),l.trace=()=>{},l.debug=()=>{},l.info=()=>{},l.warn=()=>{},l.error=()=>{},l.fatal=()=>{},e<=s.fatal&&(l.fatal=console.error?console.error.bind(console,c("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",c("FATAL"))),e<=s.error&&(l.error=console.error?console.error.bind(console,c("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",c("ERROR"))),e<=s.warn&&(l.warn=console.warn?console.warn.bind(console,c("WARN"),"color: orange"):console.log.bind(console,`\x1b[33m`,c("WARN"))),e<=s.info&&(l.info=console.info?console.info.bind(console,c("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",c("INFO"))),e<=s.debug&&(l.debug=console.debug?console.debug.bind(console,c("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",c("DEBUG"))),e<=s.trace&&(l.trace=console.debug?console.debug.bind(console,c("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",c("TRACE")))},"setLogLevel"),c=o(t=>{let e=i().format("ss.SSS");return`%c${e} : ${t} : `},"format")},75114:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(37496);let a=(t,e)=>(0,i.A)(t,"l",e)},77109:(t,e,r)=>{"use strict";let i;r.d(e,{C0:()=>b,xA:()=>ta,hH:()=>A,Dl:()=>tK,IU:()=>tZ,Wt:()=>tU,Y2:()=>tz,a$:()=>tP,sb:()=>U,ME:()=>t9,UI:()=>j,Ch:()=>x,mW:()=>C,DB:()=>m,_3:()=>tT,EJ:()=>g,m7:()=>t1,iN:()=>tJ,zj:()=>tr,D7:()=>t4,Gs:()=>ea,J$:()=>v,ab:()=>t5,Q2:()=>tt,P$:()=>K,ID:()=>tv,TM:()=>tc,Wi:()=>tE,H1:()=>td,QO:()=>tw,Js:()=>ei,Xd:()=>k,dj:()=>tD,cL:()=>to,$i:()=>N,jZ:()=>ty,oB:()=>t7,wZ:()=>Q,EI:()=>t0,SV:()=>tQ,Nk:()=>te,XV:()=>t8,ke:()=>t2,UU:()=>Z,ot:()=>t$,mj:()=>et,tM:()=>tH,H$:()=>q,B6:()=>J});var a,o=r(69830),n=r(28212),s=r(13427);let l=(t,e)=>{let r=n.A.parse(t),i={};for(let t in e)e[t]&&(i[t]=r[t]+e[t]);return(0,s.A)(t,i)};var h=r(78742);let c=(t,e=100)=>{let r=n.A.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,((t,e,r=50)=>{let{r:i,g:a,b:o,a:s}=n.A.parse(t),{r:l,g:c,b:d,a:u}=n.A.parse(e),p=r/100,f=2*p-1,g=s-u,m=((f*g==-1?f:(f+g)/(1+f*g))+1)/2,y=1-m;return(0,h.A)(i*m+l*y,a*m+c*y,o*m+d*y,s*p+u*(1-p))})(r,t,e)};var d=r(13152),u=r(75114),p=r(67798),f=r(41455),g=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,m=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,y=/\s*%%.*\n/gm,b=class extends Error{static{(0,o.K2)(this,"UnknownDiagramError")}constructor(t){super(t),this.name="UnknownDiagramError"}},C={},x=(0,o.K2)(function(t,e){for(let[r,{detector:i}]of(t=t.replace(g,"").replace(m,"").replace(y,"\n"),Object.entries(C)))if(i(t,e))return r;throw new b(`No diagram type detected matching given configuration for text: ${t}`)},"detectType"),k=(0,o.K2)((...t)=>{for(let{id:e,detector:r,loader:i}of t)_(e,r,i)},"registerLazyLoadedDiagrams"),_=(0,o.K2)((t,e,r)=>{C[t]&&o.Rm.warn(`Detector with key ${t} already exists. Overwriting.`),C[t]={detector:e,loader:r},o.Rm.debug(`Detector with key ${t} added${r?" with loader":""}`)},"addDetector"),v=(0,o.K2)(t=>C[t].loader,"getDiagramLoader"),T=(0,o.K2)((t,e,{depth:r=2,clobber:i=!1}={})=>{let a={depth:r,clobber:i};if(Array.isArray(e)&&!Array.isArray(t))return e.forEach(e=>T(t,e,a)),t;if(Array.isArray(e)&&Array.isArray(t))return e.forEach(e=>{t.includes(e)||t.push(e)}),t;if(void 0===t||r<=0)if(null!=t&&"object"==typeof t&&"object"==typeof e)return Object.assign(t,e);else return e;return void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach(a=>{"object"==typeof e[a]&&(void 0===t[a]||"object"==typeof t[a])?(void 0===t[a]&&(t[a]=Array.isArray(e[a])?[]:{}),t[a]=T(t[a],e[a],{depth:r-1,clobber:i})):(i||"object"!=typeof t[a]&&"object"!=typeof e[a])&&(t[a]=e[a])}),t},"assignWithDepth"),A=T,S="#ffffff",w="#f2f2f2",B=(0,o.K2)((t,e)=>e?l(t,{s:-40,l:10}):l(t,{s:-40,l:-10}),"mkBorder"),F=class{static{(0,o.K2)(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||l(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||l(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||B(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||B(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||B(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||B(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||c(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||c(this.tertiaryColor),this.lineColor=this.lineColor||c(this.background),this.arrowheadColor=this.arrowheadColor||c(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,d.A)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,d.A)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||c(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,u.A)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||"navy",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.darkMode?(this.rowOdd=this.rowOdd||(0,d.A)(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||(0,d.A)(this.mainBkg,10)):(this.rowOdd=this.rowOdd||(0,u.A)(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||(0,u.A)(this.mainBkg,5)),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,d.A)(this["cScale"+t],75);else for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,d.A)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||c(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||(0,u.A)(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.A)(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;let t=this.darkMode?-4:-1;for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||l(this.mainBkg,{h:180,s:-15,l:t*(5+3*e)}),this["surfacePeer"+e]=this["surfacePeer"+e]||l(this.mainBkg,{h:180,s:-15,l:t*(8+3*e)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||l(this.primaryColor,{h:64}),this.fillType3=this.fillType3||l(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||l(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||l(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||l(this.primaryColor,{h:128}),this.fillType7=this.fillType7||l(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||l(this.primaryColor,{l:-10}),this.pie5=this.pie5||l(this.secondaryColor,{l:-10}),this.pie6=this.pie6||l(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||l(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||l(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||l(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||l(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||l(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||l(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.archEdgeColor=this.archEdgeColor||"#777",this.archEdgeArrowColor=this.archEdgeArrowColor||"#777",this.archEdgeWidth=this.archEdgeWidth||"3",this.archGroupBorderColor=this.archGroupBorderColor||"#000",this.archGroupBorderWidth=this.archGroupBorderWidth||"2px",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,u.A)(this.quadrant1Fill):(0,d.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,d.A)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||l(this.primaryColor,{h:-30}),this.git4=this.git4||l(this.primaryColor,{h:-60}),this.git5=this.git5||l(this.primaryColor,{h:-90}),this.git6=this.git6||l(this.primaryColor,{h:60}),this.git7=this.git7||l(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,u.A)(this.git0,25),this.git1=(0,u.A)(this.git1,25),this.git2=(0,u.A)(this.git2,25),this.git3=(0,u.A)(this.git3,25),this.git4=(0,u.A)(this.git4,25),this.git5=(0,u.A)(this.git5,25),this.git6=(0,u.A)(this.git6,25),this.git7=(0,u.A)(this.git7,25)):(this.git0=(0,d.A)(this.git0,25),this.git1=(0,d.A)(this.git1,25),this.git2=(0,d.A)(this.git2,25),this.git3=(0,d.A)(this.git3,25),this.git4=(0,d.A)(this.git4,25),this.git5=(0,d.A)(this.git5,25),this.git6=(0,d.A)(this.git6,25),this.git7=(0,d.A)(this.git7,25)),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||S,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||w}calculate(t){if("object"!=typeof t)return void this.updateColors();let e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},L=(0,o.K2)(t=>{let e=new F;return e.calculate(t),e},"getThemeVariables"),M=class{static{(0,o.K2)(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,u.A)(this.primaryColor,16),this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=c(this.background),this.secondaryBorderColor=B(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=B(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,u.A)(c("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=(0,h.A)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=(0,d.A)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,d.A)(this.sectionBkgColor,10),this.taskBorderColor=(0,h.A)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,h.A)(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||(0,u.A)(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||(0,d.A)(this.mainBkg,10),this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=(0,u.A)(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=(0,u.A)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=(0,u.A)(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||c(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScalePeer"+t]=this["cScalePeer"+t]||(0,u.A)(this["cScale"+t],10);for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{h:30,s:-30,l:-(-10+4*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{h:30,s:-30,l:-(-7+4*t)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,u.A)(this.quadrant1Fill):(0,d.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.background},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,d.A)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=(0,u.A)(this.secondaryColor,20),this.git1=(0,u.A)(this.pie2||this.secondaryColor,20),this.git2=(0,u.A)(this.pie3||this.tertiaryColor,20),this.git3=(0,u.A)(this.pie4||l(this.primaryColor,{h:-30}),20),this.git4=(0,u.A)(this.pie5||l(this.primaryColor,{h:-60}),20),this.git5=(0,u.A)(this.pie6||l(this.primaryColor,{h:-90}),10),this.git6=(0,u.A)(this.pie7||l(this.primaryColor,{h:60}),10),this.git7=(0,u.A)(this.pie8||l(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||c(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||c(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||(0,u.A)(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||(0,u.A)(this.background,2),this.nodeBorder=this.nodeBorder||"#999"}calculate(t){if("object"!=typeof t)return void this.updateColors();let e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},O=(0,o.K2)(t=>{let e=new M;return e.calculate(t),e},"getThemeVariables"),E=class{static{(0,o.K2)(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=l(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=B(this.primaryColor,this.darkMode),this.secondaryBorderColor=B(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=B(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.sectionBkgColor=(0,h.A)(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="navy",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd="calculated",this.rowEven="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,d.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.A)(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,d.A)(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.A)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||l(this["cScale"+t],{h:180});for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{h:30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{h:30,l:-(7+5*t)});if(this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,"calculated"!==this.labelTextColor){this.cScaleLabel0=this.cScaleLabel0||c(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||c(this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=(0,u.A)(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||(0,u.A)(this.primaryColor,75)||"#ffffff",this.rowEven=this.rowEven||(0,u.A)(this.primaryColor,1),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||l(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||l(this.primaryColor,{l:-10}),this.pie5=this.pie5||l(this.secondaryColor,{l:-30}),this.pie6=this.pie6||l(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||l(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||l(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||l(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||l(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||l(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||l(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,u.A)(this.quadrant1Fill):(0,d.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||l(this.primaryColor,{h:-30}),this.git4=this.git4||l(this.primaryColor,{h:-60}),this.git5=this.git5||l(this.primaryColor,{h:-90}),this.git6=this.git6||l(this.primaryColor,{h:60}),this.git7=this.git7||l(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,u.A)(this.git0,25),this.git1=(0,u.A)(this.git1,25),this.git2=(0,u.A)(this.git2,25),this.git3=(0,u.A)(this.git3,25),this.git4=(0,u.A)(this.git4,25),this.git5=(0,u.A)(this.git5,25),this.git6=(0,u.A)(this.git6,25),this.git7=(0,u.A)(this.git7,25)):(this.git0=(0,d.A)(this.git0,25),this.git1=(0,d.A)(this.git1,25),this.git2=(0,d.A)(this.git2,25),this.git3=(0,d.A)(this.git3,25),this.git4=(0,d.A)(this.git4,25),this.git5=(0,d.A)(this.git5,25),this.git6=(0,d.A)(this.git6,25),this.git7=(0,d.A)(this.git7,25)),this.gitInv0=this.gitInv0||(0,d.A)(c(this.git0),25),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||c(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||c(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||S,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||w}calculate(t){if(Object.keys(this).forEach(t=>{"calculated"===this[t]&&(this[t]=void 0)}),"object"!=typeof t)return void this.updateColors();let e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},K=(0,o.K2)(t=>{let e=new E;return e.calculate(t),e},"getThemeVariables"),I=class{static{(0,o.K2)(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=(0,u.A)("#cde498",10),this.primaryBorderColor=B(this.primaryColor,this.darkMode),this.secondaryBorderColor=B(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=B(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.primaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=(0,d.A)(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,d.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.A)(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,d.A)(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.A)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||l(this["cScale"+t],{h:180});this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{h:30,s:-30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{h:30,s:-30,l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||(0,u.A)(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||(0,u.A)(this.mainBkg,20),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||l(this.primaryColor,{l:-30}),this.pie5=this.pie5||l(this.secondaryColor,{l:-30}),this.pie6=this.pie6||l(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||l(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||l(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||l(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||l(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||l(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||l(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,u.A)(this.quadrant1Fill):(0,d.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.mainBkg},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||l(this.primaryColor,{h:-30}),this.git4=this.git4||l(this.primaryColor,{h:-60}),this.git5=this.git5||l(this.primaryColor,{h:-90}),this.git6=this.git6||l(this.primaryColor,{h:60}),this.git7=this.git7||l(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,u.A)(this.git0,25),this.git1=(0,u.A)(this.git1,25),this.git2=(0,u.A)(this.git2,25),this.git3=(0,u.A)(this.git3,25),this.git4=(0,u.A)(this.git4,25),this.git5=(0,u.A)(this.git5,25),this.git6=(0,u.A)(this.git6,25),this.git7=(0,u.A)(this.git7,25)):(this.git0=(0,d.A)(this.git0,25),this.git1=(0,d.A)(this.git1,25),this.git2=(0,d.A)(this.git2,25),this.git3=(0,d.A)(this.git3,25),this.git4=(0,d.A)(this.git4,25),this.git5=(0,d.A)(this.git5,25),this.git6=(0,d.A)(this.git6,25),this.git7=(0,d.A)(this.git7,25)),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||c(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||c(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||S,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||w}calculate(t){if("object"!=typeof t)return void this.updateColors();let e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},D=(0,o.K2)(t=>{let e=new I;return e.calculate(t),e},"getThemeVariables"),z=class{static{(0,o.K2)(this,"Theme")}constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,u.A)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=B(this.primaryColor,this.darkMode),this.secondaryBorderColor=B(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=B(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||(0,u.A)(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||"#f4f4f4",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=(0,u.A)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,u.A)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||c(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||(0,u.A)(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.A)(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=(0,u.A)(this.contrast,30),this.sectionBkgColor2=(0,u.A)(this.contrast,30),this.taskBorderColor=(0,d.A)(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=(0,u.A)(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=(0,d.A)(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.vertLineColor=this.critBkgColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,u.A)(this.quadrant1Fill):(0,d.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=(0,d.A)(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||l(this.primaryColor,{h:-30}),this.git4=this.pie5||l(this.primaryColor,{h:-60}),this.git5=this.pie6||l(this.primaryColor,{h:-90}),this.git6=this.pie7||l(this.primaryColor,{h:60}),this.git7=this.pie8||l(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||S,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||w}calculate(t){if("object"!=typeof t)return void this.updateColors();let e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},q={base:{getThemeVariables:L},dark:{getThemeVariables:O},default:{getThemeVariables:K},forest:{getThemeVariables:D},neutral:{getThemeVariables:(0,o.K2)(t=>{let e=new z;return e.calculate(t),e},"getThemeVariables")}},R={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200,inheritDir:!1},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,maxLabelWidth:360,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],titleColor:"",titleFontFamily:'"trebuchet ms", verdana, arial, sans-serif',titleFontSize:"4ex"},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,nodeSpacing:140,rankSpacing:80,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showDataLabel:!1,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200,layoutAlgorithm:"cose-bilkent"},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},radar:{useMaxWidth:!0,width:600,height:600,marginTop:50,marginRight:50,marginBottom:50,marginLeft:50,axisScaleFactor:1,axisLabelFactor:1.05,curveTension:.17},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},P={...R,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF",forceNodeModelOrder:!1,considerModelOrder:"NODES_AND_EDGES"},themeCSS:void 0,themeVariables:q.default.getThemeVariables(),sequence:{...R.sequence,messageFont:(0,o.K2)(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:(0,o.K2)(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:(0,o.K2)(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...R.gantt,tickInterval:void 0,useWidth:void 0},c4:{...R.c4,useWidth:void 0,personFont:(0,o.K2)(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),flowchart:{...R.flowchart,inheritDir:!1},external_personFont:(0,o.K2)(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:(0,o.K2)(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:(0,o.K2)(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:(0,o.K2)(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:(0,o.K2)(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:(0,o.K2)(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:(0,o.K2)(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:(0,o.K2)(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:(0,o.K2)(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:(0,o.K2)(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:(0,o.K2)(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:(0,o.K2)(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:(0,o.K2)(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:(0,o.K2)(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:(0,o.K2)(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:(0,o.K2)(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:(0,o.K2)(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:(0,o.K2)(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:(0,o.K2)(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:(0,o.K2)(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:(0,o.K2)(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...R.pie,useWidth:984},xyChart:{...R.xyChart,useWidth:void 0},requirement:{...R.requirement,useWidth:void 0},packet:{...R.packet},radar:{...R.radar},treemap:{useMaxWidth:!0,padding:10,diagramPadding:8,showValues:!0,nodeWidth:100,nodeHeight:40,borderWidth:1,valueFontSize:12,labelFontSize:14,valueFormat:","}},$=(0,o.K2)((t,e="")=>Object.keys(t).reduce((r,i)=>Array.isArray(t[i])?r:"object"==typeof t[i]&&null!==t[i]?[...r,e+i,...$(t[i],"")]:[...r,e+i],[]),"keyify"),W=new Set($(P,"")),j=P,N=(0,o.K2)(t=>{if(o.Rm.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t){if(Array.isArray(t))return void t.forEach(t=>N(t));for(let e of Object.keys(t)){if(o.Rm.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!W.has(e)||null==t[e]){o.Rm.debug("sanitize deleting key: ",e),delete t[e];continue}if("object"==typeof t[e]){o.Rm.debug("sanitizing object",e),N(t[e]);continue}for(let r of["themeCSS","fontFamily","altFontFamily"])e.includes(r)&&(o.Rm.debug("sanitizing css option",e),t[e]=H(t[e]))}if(t.themeVariables)for(let e of Object.keys(t.themeVariables)){let r=t.themeVariables[e];r?.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}o.Rm.debug("After sanitization",t)}},"sanitizeDirective"),H=(0,o.K2)(t=>{let e=0,r=0;for(let i of t){if(e<r)return"{ /* ERROR: Unbalanced CSS */ }";"{"===i?e++:"}"===i&&r++}return e!==r?"{ /* ERROR: Unbalanced CSS */ }":t},"sanitizeCss"),U=Object.freeze(j),Y=A({},U),G=[],V=A({},U),X=(0,o.K2)((t,e)=>{let r=A({},t),i={};for(let t of e)ti(t),i=A(i,t);if(r=A(r,i),i.theme&&i.theme in q){let t=A({},a),e=A(t.themeVariables||{},i.themeVariables);r.theme&&r.theme in q&&(r.themeVariables=q[r.theme].getThemeVariables(e))}return th(V=r),V},"updateCurrentConfig"),Z=(0,o.K2)(t=>(Y=A({},U),Y=A(Y,t),t.theme&&q[t.theme]&&(Y.themeVariables=q[t.theme].getThemeVariables(t.themeVariables)),X(Y,G),Y),"setSiteConfig"),Q=(0,o.K2)(t=>{a=A({},t)},"saveConfigFromInitialize"),J=(0,o.K2)(t=>(Y=A(Y,t),X(Y,G),Y),"updateSiteConfig"),tt=(0,o.K2)(()=>A({},Y),"getSiteConfig"),te=(0,o.K2)(t=>(th(t),A(V,t),tr()),"setConfig"),tr=(0,o.K2)(()=>A({},V),"getConfig"),ti=(0,o.K2)(t=>{t&&(["secure",...Y.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(o.Rm.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&delete t[e]}),Object.keys(t).forEach(e=>{"string"==typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"==typeof t[e]&&ti(t[e])}))},"sanitize"),ta=(0,o.K2)(t=>{N(t),t.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}),G.push(t),X(Y,G)},"addDirective"),to=(0,o.K2)((t=Y)=>{X(t,G=[])},"reset"),tn={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},ts={},tl=(0,o.K2)(t=>{ts[t]||(o.Rm.warn(tn[t]),ts[t]=!0)},"issueWarning"),th=(0,o.K2)(t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&tl("LAZY_LOAD_DEPRECATED")},"checkConfig"),tc=(0,o.K2)(()=>{let t={};for(let e of(a&&(t=A(t,a)),G))t=A(t,e);return t},"getUserDefinedConfig"),td=/<br\s*\/?>/gi,tu=(0,o.K2)(t=>t?t_(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),tp=(i=!1,()=>{i||(tf(),i=!0)});function tf(){let t="data-temp-href-target";f.A.addHook("beforeSanitizeAttributes",e=>{"A"===e.tagName&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")}),f.A.addHook("afterSanitizeAttributes",e=>{"A"===e.tagName&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener"))})}(0,o.K2)(tf,"setupDompurifyHooks");var tg=(0,o.K2)(t=>(tp(),f.A.sanitize(t)),"removeScript"),tm=(0,o.K2)((t,e)=>{if(e.flowchart?.htmlLabels!==!1){let r=e.securityLevel;"antiscript"===r||"strict"===r?t=tg(t):"loose"!==r&&(t=tk(t=(t=(t=t_(t)).replace(/</g,"&lt;").replace(/>/g,"&gt;")).replace(/=/g,"&equals;")))}return t},"sanitizeMore"),ty=(0,o.K2)((t,e)=>t?t=e.dompurifyConfig?f.A.sanitize(tm(t,e),e.dompurifyConfig).toString():f.A.sanitize(tm(t,e),{FORBID_TAGS:["style"]}).toString():t,"sanitizeText"),tb=(0,o.K2)((t,e)=>"string"==typeof t?ty(t,e):t.flat().map(t=>ty(t,e)),"sanitizeTextOrArray"),tC=(0,o.K2)(t=>td.test(t),"hasBreaks"),tx=(0,o.K2)(t=>t.split(td),"splitBreaks"),tk=(0,o.K2)(t=>t.replace(/#br#/g,"<br/>"),"placeholderToBreak"),t_=(0,o.K2)(t=>t.replace(td,"#br#"),"breakToPlaceholder"),tv=(0,o.K2)(t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=CSS.escape(e)),e},"getUrl"),tT=(0,o.K2)(t=>!(!1===t||["false","null","0"].includes(String(t).trim().toLowerCase())),"evaluate"),tA=(0,o.K2)(function(...t){return Math.max(...t.filter(t=>!isNaN(t)))},"getMax"),tS=(0,o.K2)(function(...t){return Math.min(...t.filter(t=>!isNaN(t)))},"getMin"),tw=(0,o.K2)(function(t){let e=t.split(/(,)/),r=[];for(let t=0;t<e.length;t++){let i=e[t];if(","===i&&t>0&&t+1<e.length){let a=e[t-1],o=e[t+1];tF(a,o)&&(i=a+","+o,t++,r.pop())}r.push(tL(i))}return r.join("")},"parseGenericTypes"),tB=(0,o.K2)((t,e)=>Math.max(0,t.split(e).length-1),"countOccurrence"),tF=(0,o.K2)((t,e)=>{let r=tB(t,"~"),i=tB(e,"~");return 1===r&&1===i},"shouldCombineSets"),tL=(0,o.K2)(t=>{let e=tB(t,"~"),r=!1;if(e<=1)return t;e%2!=0&&t.startsWith("~")&&(t=t.substring(1),r=!0);let i=[...t],a=i.indexOf("~"),o=i.lastIndexOf("~");for(;-1!==a&&-1!==o&&a!==o;)i[a]="<",i[o]=">",a=i.indexOf("~"),o=i.lastIndexOf("~");return r&&i.unshift("~"),i.join("")},"processSet"),tM=(0,o.K2)(()=>void 0!==window.MathMLElement,"isMathMLSupported"),tO=/\$\$(.*)\$\$/g,tE=(0,o.K2)(t=>(t.match(tO)?.length??0)>0,"hasKatex"),tK=(0,o.K2)(async(t,e)=>{let r=document.createElement("div");r.innerHTML=await tD(t,e),r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0";let i=document.querySelector("body");i?.insertAdjacentElement("beforeend",r);let a={width:r.clientWidth,height:r.clientHeight};return r.remove(),a},"calculateMathMLDimensions"),tI=(0,o.K2)(async(t,e)=>{if(!tE(t))return t;if(!(tM()||e.legacyMathML||e.forceLegacyMathML))return t.replace(tO,"MathML is unsupported in this environment.");{let{default:i}=await Promise.resolve().then(r.bind(r,60301)),a=e.forceLegacyMathML||!tM()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(td).map(t=>tE(t)?`<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${t}</div>`:`<div>${t}</div>`).join("").replace(tO,(t,e)=>i.renderToString(e,{throwOnError:!0,displayMode:!0,output:a}).replace(/\n/g," ").replace(/<annotation.*<\/annotation>/g,""))}},"renderKatexUnsanitized"),tD=(0,o.K2)(async(t,e)=>ty(await tI(t,e),e),"renderKatexSanitized"),tz={getRows:tu,sanitizeText:ty,sanitizeTextOrArray:tb,hasBreaks:tC,splitBreaks:tx,lineBreakRegex:td,removeScript:tg,getUrl:tv,evaluate:tT,getMax:tA,getMin:tS},tq=(0,o.K2)(function(t,e){for(let r of e)t.attr(r[0],r[1])},"d3Attrs"),tR=(0,o.K2)(function(t,e,r){let i=new Map;return r?(i.set("width","100%"),i.set("style",`max-width: ${e}px;`)):(i.set("height",t),i.set("width",e)),i},"calculateSvgSizeAttrs"),tP=(0,o.K2)(function(t,e,r,i){tq(t,tR(e,r,i))},"configureSvgSize"),t$=(0,o.K2)(function(t,e,r,i){let a=e.node().getBBox(),n=a.width,s=a.height;o.Rm.info(`SVG bounds: ${n}x${s}`,a);let l=0,h=0;o.Rm.info(`Graph bounds: ${l}x${h}`,t),l=n+2*r,h=s+2*r,o.Rm.info(`Calculated bounds: ${l}x${h}`),tP(e,h,l,i);let c=`${a.x-r} ${a.y-r} ${a.width+2*r} ${a.height+2*r}`;e.attr("viewBox",c)},"setupGraphViewbox"),tW={},tj=(0,o.K2)((t,e,r)=>{let i="";return t in tW&&tW[t]?i=tW[t](r):o.Rm.warn(`No theme found for ${t}`),` & {
13
+ </iframe>`},"putIntoIFrame"),eY=(0,c.K2)((t,e,r,i,a)=>{let o=t.append("div");o.attr("id",r),i&&o.attr("style",i);let n=o.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return a&&n.attr("xmlns:xlink",a),n.append("g"),t},"appendDivSvgG");function eG(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,c.K2)(eG,"sandboxedIframe");var eV=(0,c.K2)((t,e,r,i)=>{t.getElementById(e)?.remove(),t.getElementById(r)?.remove(),t.getElementById(i)?.remove()},"removeExistingElements"),eX=(0,c.K2)(async function(t,e,r){let a,o;eA();let n=eR(e);e=n.code;let s=(0,h.zj)();c.Rm.debug(s),e.length>(s?.maxTextSize??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let l="#"+t,d="i"+t,p="#"+d,f="d"+t,g="#"+f,m=(0,c.K2)(()=>{let t=b?p:g,e=(0,u.Ltv)(t).node();e&&"remove"in e&&e.remove()},"removeTempElements"),y=(0,u.Ltv)("body"),b="sandbox"===s.securityLevel,x="loose"===s.securityLevel,C=s.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),b){let t=eG((0,u.Ltv)(r),d);(y=(0,u.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else y=(0,u.Ltv)(r);eY(y,t,f,`font-family: ${C}`,"http://www.w3.org/1999/xlink")}else{if(eV(document,t,f,d),b){let t=eG((0,u.Ltv)("body"),d);(y=(0,u.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else y=(0,u.Ltv)("body");eY(y,t,f)}try{a=await eB.fromText(e,{title:n.title})}catch(t){if(s.suppressErrorRendering)throw m(),t;a=await eB.fromText("error"),o=t}let k=y.select(g).node(),_=a.type,v=k.firstChild,A=v.firstChild,T=eW(s,_,a.renderer.getClasses?.(e,a),l),S=document.createElement("style");S.innerHTML=T,v.insertBefore(S,A);try{await a.renderer.draw(e,t,i.n.version,a)}catch(r){throw s.suppressErrorRendering?m():tH.draw(e,t,i.n.version),r}eJ(_,y.select(`${g} svg`),a.db.getAccTitle?.(),a.db.getAccDescription?.()),y.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let w=y.select(g).node().innerHTML;if(c.Rm.debug("config.arrowMarkerAbsolute",s.arrowMarkerAbsolute),w=eH(w,b,(0,h._3)(s.arrowMarkerAbsolute)),b?w=eU(w,y.select(g+" svg").node()):x||(w=q.A.sanitize(w,{ADD_TAGS:eq,ADD_ATTR:ez,HTML_INTEGRATION_POINTS:{foreignobject:!0}})),eL(),o)throw o;return m(),{diagramType:_,svg:w,bindFunctions:a.db.bindFunctions}},"render");function eZ(t={}){let e=(0,h.hH)({},t);e?.fontFamily&&!e.themeVariables?.fontFamily&&(e.themeVariables||(e.themeVariables={}),e.themeVariables.fontFamily=e.fontFamily),(0,h.wZ)(e),e?.theme&&e.theme in h.H$?e.themeVariables=h.H$[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=h.H$.default.getThemeVariables(e.themeVariables));let r="object"==typeof e?(0,h.UU)(e):(0,h.Q2)();(0,c.He)(r.logLevel),eA()}(0,c.K2)(eZ,"initialize");var eQ=(0,c.K2)((t,e={})=>{let{code:r}=eD(t);return eB.fromText(r,e)},"getDiagramFromText");function eJ(t,e,r,i){eS(e,t),ew(e,r,i,e.attr("id"))}(0,c.K2)(eJ,"addA11yInfo");var e0=Object.freeze({render:eX,parse:eP,getDiagramFromText:eQ,initialize:eZ,getConfig:h.zj,setConfig:h.Nk,getSiteConfig:h.Q2,updateSiteConfig:h.B6,reset:(0,c.K2)(()=>{(0,h.cL)()},"reset"),globalReset:(0,c.K2)(()=>{(0,h.cL)(h.sb)},"globalReset"),defaultConfig:h.sb});(0,c.He)((0,h.zj)().logLevel),(0,h.cL)((0,h.zj)());var e1=(0,c.K2)((t,e,r)=>{c.Rm.warn(t),(0,l.dq)(t)?(r&&r(t.str,t.hash),e.push({...t,message:t.str,error:t})):(r&&r(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},"handleError"),e2=(0,c.K2)(async function(t={querySelector:".mermaid"}){try{await e5(t)}catch(e){if((0,l.dq)(e)&&c.Rm.error(e.str),ro.parseError&&ro.parseError(e),!t.suppressErrors)throw c.Rm.error("Use the suppressErrors option to suppress these errors"),e}},"run"),e5=(0,c.K2)(async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){let i,a,o=e0.getConfig();if(c.Rm.debug(`${!t?"No ":""}Callback function found`),r)i=r;else if(e)i=document.querySelectorAll(e);else throw Error("Nodes and querySelector are both undefined");c.Rm.debug(`Found ${i.length} diagrams`),o?.startOnLoad!==void 0&&(c.Rm.debug("Start On Load: "+o?.startOnLoad),e0.updateSiteConfig({startOnLoad:o?.startOnLoad}));let n=new l._K.InitIDGenerator(o.deterministicIds,o.deterministicIDSeed),s=[];for(let e of Array.from(i)){if(c.Rm.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");let r=`mermaid-${n.next()}`;a=e.innerHTML,a=(0,d.T)(l._K.entityDecode(a)).trim().replace(/<br\s*\/?>/gi,"<br/>");let i=l._K.detectInit(a);i&&c.Rm.debug("Detected early reinit: ",i);try{let{svg:i,bindFunctions:o}=await ri(r,a,e);e.innerHTML=i,t&&await t(r),o&&o(e)}catch(t){e1(t,s,ro.parseError)}}if(s.length>0)throw s[0]},"runThrowsErrors"),e3=(0,c.K2)(function(t){e0.initialize(t)},"initialize"),e6=(0,c.K2)(async function(t,e,r){c.Rm.warn("mermaid.init is deprecated. Please use run instead."),t&&e3(t);let i={postRenderCallback:r,querySelector:".mermaid"};"string"==typeof e?i.querySelector=e:e&&(e instanceof HTMLElement?i.nodes=[e]:i.nodes=e),await e2(i)},"init"),e4=(0,c.K2)(async(t,{lazyLoad:e=!0}={})=>{eA(),(0,h.Xd)(...t),!1===e&&await eT()},"registerExternalDiagrams"),e8=(0,c.K2)(function(){if(ro.startOnLoad){let{startOnLoad:t}=e0.getConfig();t&&ro.run().catch(t=>c.Rm.error("Mermaid failed to initialize",t))}},"contentLoaded");"undefined"!=typeof document&&window.addEventListener("load",e8,!1);var e9=(0,c.K2)(function(t){ro.parseError=t},"setParseErrorHandler"),e7=[],rt=!1,re=(0,c.K2)(async()=>{if(!rt){for(rt=!0;e7.length>0;){let t=e7.shift();if(t)try{await t()}catch(t){c.Rm.error("Error executing queue",t)}}rt=!1}},"executeQueue"),rr=(0,c.K2)(async(t,e)=>new Promise((r,i)=>{let a=(0,c.K2)(()=>new Promise((a,o)=>{e0.parse(t,e).then(t=>{a(t),r(t)},t=>{c.Rm.error("Error parsing",t),ro.parseError?.(t),o(t),i(t)})}),"performCall");e7.push(a),re().catch(i)}),"parse"),ri=(0,c.K2)((t,e,r)=>new Promise((i,a)=>{let o=(0,c.K2)(()=>new Promise((o,n)=>{e0.render(t,e,r).then(t=>{o(t),i(t)},t=>{c.Rm.error("Error parsing",t),ro.parseError?.(t),n(t),a(t)})}),"performCall");e7.push(o),re().catch(a)}),"render"),ra=(0,c.K2)(()=>Object.keys(h.mW).map(t=>({id:t})),"getRegisteredDiagramsMetadata"),ro={startOnLoad:!0,mermaidAPI:e0,parse:rr,render:ri,init:e6,run:e2,registerExternalDiagrams:e4,registerLayoutLoaders:n.sO,initialize:e3,parseError:void 0,contentLoaded:e8,setParseErrorHandler:e9,detectType:h.Ch,registerIconPacks:s.pC,getRegisteredDiagramsMetadata:ra},rn=ro},53511:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(7483);function a(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var i=arguments,a=e?e.apply(this,i):i[0],o=r.cache;if(o.has(a))return o.get(a);var n=t.apply(this,i);return r.cache=o.set(a,n)||o,n};return r.cache=new(a.Cache||i.A),r}a.Cache=i.A;let o=a},53704:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(10697),a=r(59585);class o{constructor(){this.type=a.Z.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=a.Z.ALL}is(t){return this.type===t}}class n{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new o}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=a.Z.ALL,this}_ensureHSL(){let t=this.data,{h:e,s:r,l:a}=t;void 0===e&&(t.h=i.A.channel.rgb2hsl(t,"h")),void 0===r&&(t.s=i.A.channel.rgb2hsl(t,"s")),void 0===a&&(t.l=i.A.channel.rgb2hsl(t,"l"))}_ensureRGB(){let t=this.data,{r:e,g:r,b:a}=t;void 0===e&&(t.r=i.A.channel.hsl2rgb(t,"r")),void 0===r&&(t.g=i.A.channel.hsl2rgb(t,"g")),void 0===a&&(t.b=i.A.channel.hsl2rgb(t,"b"))}get r(){let t=this.data,e=t.r;return this.type.is(a.Z.HSL)||void 0===e?(this._ensureHSL(),i.A.channel.hsl2rgb(t,"r")):e}get g(){let t=this.data,e=t.g;return this.type.is(a.Z.HSL)||void 0===e?(this._ensureHSL(),i.A.channel.hsl2rgb(t,"g")):e}get b(){let t=this.data,e=t.b;return this.type.is(a.Z.HSL)||void 0===e?(this._ensureHSL(),i.A.channel.hsl2rgb(t,"b")):e}get h(){let t=this.data,e=t.h;return this.type.is(a.Z.RGB)||void 0===e?(this._ensureRGB(),i.A.channel.rgb2hsl(t,"h")):e}get s(){let t=this.data,e=t.s;return this.type.is(a.Z.RGB)||void 0===e?(this._ensureRGB(),i.A.channel.rgb2hsl(t,"s")):e}get l(){let t=this.data,e=t.l;return this.type.is(a.Z.RGB)||void 0===e?(this._ensureRGB(),i.A.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(a.Z.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(a.Z.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(a.Z.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(a.Z.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(a.Z.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(a.Z.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}let s=new n({r:0,g:0,b:0,a:0},"transparent")},53964:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(48649),a=r(50247);let o=function(t){return(0,i.A)(function(e,r){var i=-1,o=r.length,n=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;for(n=t.length>3&&"function"==typeof n?(o--,n):void 0,s&&(0,a.A)(r[0],r[1],s)&&(n=o<3?void 0:n,o=1),e=Object(e);++i<o;){var l=r[i];l&&t(e,l,i,n)}return e})}},56128:(t,e,r)=>{"use strict";r.d(e,{Fr:()=>c,GX:()=>h,KX:()=>l,WW:()=>n,ue:()=>o});var i=r(77109),a=r(69830),o=(0,a.K2)(t=>{let{handDrawnSeed:e}=(0,i.D7)();return{fill:t,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:t,seed:e}},"solidStateFill"),n=(0,a.K2)(t=>{let e=s([...t.cssCompiledStyles||[],...t.cssStyles||[],...t.labelStyle||[]]);return{stylesMap:e,stylesArray:[...e]}},"compileStyles"),s=(0,a.K2)(t=>{let e=new Map;return t.forEach(t=>{let[r,i]=t.split(":");e.set(r.trim(),i?.trim())}),e},"styles2Map"),l=(0,a.K2)(t=>"color"===t||"font-size"===t||"font-family"===t||"font-weight"===t||"font-style"===t||"text-decoration"===t||"text-align"===t||"text-transform"===t||"line-height"===t||"letter-spacing"===t||"word-spacing"===t||"text-shadow"===t||"text-overflow"===t||"white-space"===t||"word-wrap"===t||"word-break"===t||"overflow-wrap"===t||"hyphens"===t,"isLabelStyle"),h=(0,a.K2)(t=>{let{stylesArray:e}=n(t),r=[],i=[],a=[],o=[];return e.forEach(t=>{let e=t[0];l(e)?r.push(t.join(":")+" !important"):(i.push(t.join(":")+" !important"),e.includes("stroke")&&a.push(t.join(":")+" !important"),"fill"===e&&o.push(t.join(":")+" !important"))}),{labelStyles:r.join(";"),nodeStyles:i.join(";"),stylesArray:e,borderStyles:a,backgroundStyles:o}},"styles2String"),c=(0,a.K2)((t,e)=>{let{themeVariables:r,handDrawnSeed:a}=(0,i.D7)(),{nodeBorder:o,mainBkg:s}=r,{stylesMap:l}=n(t);return Object.assign({roughness:.7,fill:l.get("fill")||s,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:l.get("stroke")||o,seed:a,strokeWidth:l.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:d(l.get("stroke-dasharray"))},e)},"userNodeOverrides"),d=(0,a.K2)(t=>{if(!t)return[0,0];let e=t.trim().split(/\s+/).map(Number);if(1===e.length){let t=isNaN(e[0])?0:e[0];return[t,t]}return[isNaN(e[0])?0:e[0],isNaN(e[1])?0:e[1]]},"getStrokeDashArray")},57773:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BLANK_URL=e.relativeFirstCharacters=e.whitespaceEscapeCharsRegex=e.urlSchemeRegex=e.ctrlCharactersRegex=e.htmlCtrlEntityRegex=e.htmlEntitiesRegex=e.invalidProtocolRegex=void 0,e.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,e.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,e.htmlCtrlEntityRegex=/&(newline|tab);/gi,e.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,e.urlSchemeRegex=/^.+(:|&colon;)/gim,e.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,e.relativeFirstCharacters=[".","/"],e.BLANK_URL="about:blank"},58574:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t,e,r){for(var i=-1,a=Object(t),o=r(t),n=o.length;n--;){var s=o[++i];if(!1===e(a[s],s,a))break}return t}},59585:(t,e,r)=>{"use strict";r.d(e,{Y:()=>a,Z:()=>o});var i=r(10697);let a={};for(let t=0;t<=255;t++)a[t]=i.A.unit.dec2hex(t);let o={ALL:0,RGB:1,HSL:2}},59661:(t,e,r)=>{"use strict";r.d(e,{$C:()=>F,$t:()=>W,C4:()=>U,I5:()=>j,Ib:()=>y,KL:()=>V,Sm:()=>Y,Un:()=>$,_K:()=>H,bH:()=>K,dq:()=>P,pe:()=>c,rY:()=>G,ru:()=>D,sM:()=>w,vU:()=>g,yT:()=>M});var i,a=r(77109),o=r(69830),n=r(1124),s=r(10791),l=r(53511),h=r(6458),c="​",d={curveBasis:s.qrM,curveBasisClosed:s.Yu4,curveBasisOpen:s.IA3,curveBumpX:s.Wi0,curveBumpY:s.PGM,curveBundle:s.OEq,curveCardinalClosed:s.olC,curveCardinalOpen:s.IrU,curveCardinal:s.y8u,curveCatmullRomClosed:s.Q7f,curveCatmullRomOpen:s.cVp,curveCatmullRom:s.oDi,curveLinear:s.lUB,curveLinearClosed:s.Lx9,curveMonotoneX:s.nVG,curveMonotoneY:s.uxU,curveNatural:s.Xf2,curveStep:s.GZz,curveStepAfter:s.UPb,curveStepBefore:s.dyv},u=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,p=(0,o.K2)(function(t,e){let r=f(t,/(?:init\b)|(?:initialize\b)/),i={};if(Array.isArray(r)){let t=r.map(t=>t.args);(0,a.$i)(t),i=(0,a.hH)(i,[...t])}else i=r.args;if(!i)return;let o=(0,a.Ch)(t,e),n="config";return void 0!==i[n]&&("flowchart-v2"===o&&(o="flowchart"),i[o]=i[n],delete i[n]),i},"detectInit"),f=(0,o.K2)(function(t,e=null){try{let r,i=RegExp(`[%]{2}(?![{]${u.source})(?=[}][%]{2}).*
14
+ `,"ig");t=t.trim().replace(i,"").replace(/'/gm,'"'),o.Rm.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);let n=[];for(;null!==(r=a.DB.exec(t));)if(r.index===a.DB.lastIndex&&a.DB.lastIndex++,r&&!e||e&&r[1]?.match(e)||e&&r[2]?.match(e)){let t=r[1]?r[1]:r[2],e=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;n.push({type:t,args:e})}if(0===n.length)return{type:t,args:null};return 1===n.length?n[0]:n}catch(r){return o.Rm.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),g=(0,o.K2)(function(t){return t.replace(a.DB,"")},"removeDirectives"),m=(0,o.K2)(function(t,e){for(let[r,i]of e.entries())if(i.match(t))return r;return -1},"isSubstringInArray");function y(t,e){return t?d[`curve${t.charAt(0).toUpperCase()+t.slice(1)}`]??e:e}function b(t,e){let r=t.trim();if(r)return"loose"!==e.securityLevel?(0,n.J)(r):r}(0,o.K2)(y,"interpolateToCurve"),(0,o.K2)(b,"formatUrl");var x=(0,o.K2)((t,...e)=>{let r=t.split("."),i=r.length-1,a=r[i],n=window;for(let e=0;e<i;e++)if(!(n=n[r[e]]))return void o.Rm.error(`Function name: ${t} not found in window`);n[a](...e)},"runFunc");function C(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function k(t){let e,r=0;return t.forEach(t=>{r+=C(t,e),e=t}),A(t,r/2)}function _(t){return 1===t.length?t[0]:k(t)}(0,o.K2)(C,"distance"),(0,o.K2)(k,"traverseEdge"),(0,o.K2)(_,"calcLabelPosition");var v=(0,o.K2)((t,e=2)=>{let r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),A=(0,o.K2)((t,e)=>{let r,i=e;for(let e of t){if(r){let t=C(e,r);if(0===t)return r;if(t<i)i-=t;else{let a=i/t;if(a<=0)return r;if(a>=1)return{x:e.x,y:e.y};if(a>0&&a<1)return{x:v((1-a)*r.x+a*e.x,5),y:v((1-a)*r.y+a*e.y,5)}}}r=e}throw Error("Could not find a suitable point for the given distance")},"calculatePoint"),T=(0,o.K2)((t,e,r)=>{o.Rm.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());let i=A(e,25),a=t?10:5,n=Math.atan2(e[0].y-i.y,e[0].x-i.x),s={x:0,y:0};return s.x=Math.sin(n)*a+(e[0].x+i.x)/2,s.y=-Math.cos(n)*a+(e[0].y+i.y)/2,s},"calcCardinalityPosition");function S(t,e,r){let i=structuredClone(r);o.Rm.info("our points",i),"start_left"!==e&&"start_right"!==e&&i.reverse();let a=A(i,25+t),n=10+.5*t,s=Math.atan2(i[0].y-a.y,i[0].x-a.x),l={x:0,y:0};return"start_left"===e?(l.x=Math.sin(s+Math.PI)*n+(i[0].x+a.x)/2,l.y=-Math.cos(s+Math.PI)*n+(i[0].y+a.y)/2):"end_right"===e?(l.x=Math.sin(s-Math.PI)*n+(i[0].x+a.x)/2-5,l.y=-Math.cos(s-Math.PI)*n+(i[0].y+a.y)/2-5):"end_left"===e?(l.x=Math.sin(s)*n+(i[0].x+a.x)/2-5,l.y=-Math.cos(s)*n+(i[0].y+a.y)/2-5):(l.x=Math.sin(s)*n+(i[0].x+a.x)/2,l.y=-Math.cos(s)*n+(i[0].y+a.y)/2),l}function w(t){let e="",r="";for(let i of t)void 0!==i&&(i.startsWith("color:")||i.startsWith("text-align:")?r=r+i+";":e=e+i+";");return{style:e,labelStyle:r}}(0,o.K2)(S,"calcTerminalLabelPosition"),(0,o.K2)(w,"getStylesFromArray");var B=0,F=(0,o.K2)(()=>(B++,"id-"+Math.random().toString(36).substr(2,12)+"-"+B),"generateId");function L(t){let e="",r="0123456789abcdef",i=r.length;for(let a=0;a<t;a++)e+=r.charAt(Math.floor(Math.random()*i));return e}(0,o.K2)(L,"makeRandomHex");var M=(0,o.K2)(t=>L(t.length),"random"),E=(0,o.K2)(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),O=(0,o.K2)(function(t,e){let r=e.text.replace(a.Y2.lineBreakRegex," "),[,i]=j(e.fontSize),o=t.append("text");o.attr("x",e.x),o.attr("y",e.y),o.style("text-anchor",e.anchor),o.style("font-family",e.fontFamily),o.style("font-size",i),o.style("font-weight",e.fontWeight),o.attr("fill",e.fill),void 0!==e.class&&o.attr("class",e.class);let n=o.append("tspan");return n.attr("x",e.x+2*e.textMargin),n.attr("fill",e.fill),n.text(r),o},"drawSimpleText"),K=(0,l.A)((t,e,r)=>{if(!t||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r),a.Y2.lineBreakRegex.test(t)))return t;let i=t.split(" ").filter(Boolean),o=[],n="";return i.forEach((t,a)=>{let s=$(`${t} `,r),l=$(n,r);if(s>e){let{hyphenatedStrings:i,remainingWord:a}=I(t,e,"-",r);o.push(n,...i),n=a}else l+s>=e?(o.push(n),n=t):n=[n,t].filter(Boolean).join(" ");a+1===i.length&&o.push(n)}),o.filter(t=>""!==t).join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),I=(0,l.A)((t,e,r="-",i)=>{i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},i);let a=[...t],o=[],n="";return a.forEach((t,s)=>{let l=`${n}${t}`;if($(l,i)>=e){let t=a.length===s+1,e=`${l}${r}`;o.push(t?l:e),n=""}else n=l}),{hyphenatedStrings:o,remainingWord:n}},(t,e,r="-",i)=>`${t}${e}${r}${i.fontSize}${i.fontWeight}${i.fontFamily}`);function D(t,e){return q(t,e).height}function $(t,e){return q(t,e).width}(0,o.K2)(D,"calculateTextHeight"),(0,o.K2)($,"calculateTextWidth");var q=(0,l.A)((t,e)=>{let{fontSize:r=12,fontFamily:i="Arial",fontWeight:o=400}=e;if(!t)return{width:0,height:0};let[,n]=j(r),l=t.split(a.Y2.lineBreakRegex),h=[],d=(0,s.Ltv)("body");if(!d.remove)return{width:0,height:0,lineHeight:0};let u=d.append("svg");for(let t of["sans-serif",i]){let e=0,r={width:0,height:0,lineHeight:0};for(let i of l){let a=E();a.text=i||c;let s=O(u,a).style("font-size",n).style("font-weight",o).style("font-family",t),l=(s._groups||s)[0][0].getBBox();if(0===l.width&&0===l.height)throw Error("svg element not in render tree");r.width=Math.round(Math.max(r.width,l.width)),e=Math.round(l.height),r.height+=e,r.lineHeight=Math.round(Math.max(r.lineHeight,e))}h.push(r)}u.remove();let p=isNaN(h[1].height)||isNaN(h[1].width)||isNaN(h[1].lineHeight)||h[0].height>h[1].height&&h[0].width>h[1].width&&h[0].lineHeight>h[1].lineHeight?0:1;return h[p]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),z=class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}static{(0,o.K2)(this,"InitIDGenerator")}},R=(0,o.K2)(function(t){return i=i||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),i.innerHTML=t,unescape(i.textContent)},"entityDecode");function P(t){return"str"in t}(0,o.K2)(P,"isDetailedError");var N=(0,o.K2)((t,e,r,i)=>{if(!i)return;let a=t.node()?.getBBox();a&&t.append("text").text(i).attr("text-anchor","middle").attr("x",a.x+a.width/2).attr("y",-r).attr("class",e)},"insertTitle"),j=(0,o.K2)(t=>{if("number"==typeof t)return[t,t+"px"];let e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},"parseFontSize");function W(t,e){return(0,h.A)({},t,e)}(0,o.K2)(W,"cleanAndMerge");var H={assignWithDepth:a.hH,wrapLabel:K,calculateTextHeight:D,calculateTextWidth:$,calculateTextDimensions:q,cleanAndMerge:W,detectInit:p,detectDirective:f,isSubstringInArray:m,interpolateToCurve:y,calcLabelPosition:_,calcCardinalityPosition:T,calcTerminalLabelPosition:S,formatUrl:b,getStylesFromArray:w,generateId:F,random:M,runFunc:x,entityDecode:R,insertTitle:N,isLabelCoordinateInPath:X,parseFontSize:j,InitIDGenerator:z},U=(0,o.K2)(function(t){let e=t;return(e=(e=e.replace(/style.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/classDef.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/#\w+;/g,function(t){let e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"fl\xb0\xb0"+e+"\xb6\xdf":"fl\xb0"+e+"\xb6\xdf"})},"encodeEntities"),Y=(0,o.K2)(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),G=(0,o.K2)((t,e,{counter:r=0,prefix:i,suffix:a},o)=>o||`${i?`${i}_`:""}${t}_${e}_${r}${a?`_${a}`:""}`,"getEdgeId");function V(t){return t??null}function X(t,e){let r=Math.round(t.x),i=Math.round(t.y),a=e.replace(/(\d+\.\d+)/g,t=>Math.round(parseFloat(t)).toString());return a.includes(r.toString())||a.includes(i.toString())}(0,o.K2)(V,"handleUndefinedAttr"),(0,o.K2)(X,"isLabelCoordinateInPath")},62019:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=(0,r(13472).A)(Object.getPrototypeOf,Object)},62260:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=Object.prototype;let a=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||i)}},62330:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(2724),a="object"==typeof self&&self&&self.Object===Object&&self;let o=i.A||a||Function("return this")()},62718:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=r(62330).A.Symbol},63114:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=Array.isArray},64850:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(23918),a=r(62330);let o=(0,i.A)(a.A,"Set")},67042:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(2724),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof module&&module&&!module.nodeType&&module,n=o&&o.exports===a&&i.A.process;let s=function(){try{var t=o&&o.require&&o.require("util").types;if(t)return t;return n&&n.binding&&n.binding("util")}catch(t){}}()},67798:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(10697),a=r(28212);let o=t=>!((t=>{let{r:e,g:r,b:o}=a.A.parse(t),n=.2126*i.A.channel.toLinear(e)+.7152*i.A.channel.toLinear(r)+.0722*i.A.channel.toLinear(o);return i.A.lang.round(n)})(t)>=.5)},69830:(t,e,r)=>{"use strict";r.d(e,{He:()=>h,K2:()=>o,Rm:()=>l,VA:()=>n});var i=r(86291),a=Object.defineProperty,o=(t,e)=>a(t,"name",{value:e,configurable:!0}),n=(t,e)=>{for(var r in e)a(t,r,{get:e[r],enumerable:!0})},s={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},l={trace:o((...t)=>{},"trace"),debug:o((...t)=>{},"debug"),info:o((...t)=>{},"info"),warn:o((...t)=>{},"warn"),error:o((...t)=>{},"error"),fatal:o((...t)=>{},"fatal")},h=o(function(t="fatal"){let e=s.fatal;"string"==typeof t?t.toLowerCase()in s&&(e=s[t]):"number"==typeof t&&(e=t),l.trace=()=>{},l.debug=()=>{},l.info=()=>{},l.warn=()=>{},l.error=()=>{},l.fatal=()=>{},e<=s.fatal&&(l.fatal=console.error?console.error.bind(console,c("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",c("FATAL"))),e<=s.error&&(l.error=console.error?console.error.bind(console,c("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",c("ERROR"))),e<=s.warn&&(l.warn=console.warn?console.warn.bind(console,c("WARN"),"color: orange"):console.log.bind(console,`\x1b[33m`,c("WARN"))),e<=s.info&&(l.info=console.info?console.info.bind(console,c("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",c("INFO"))),e<=s.debug&&(l.debug=console.debug?console.debug.bind(console,c("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",c("DEBUG"))),e<=s.trace&&(l.trace=console.debug?console.debug.bind(console,c("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",c("TRACE")))},"setLogLevel"),c=o(t=>{let e=i().format("ss.SSS");return`%c${e} : ${t} : `},"format")},75114:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(37496);let a=(t,e)=>(0,i.A)(t,"l",e)},77109:(t,e,r)=>{"use strict";let i;r.d(e,{C0:()=>b,xA:()=>ta,hH:()=>T,Dl:()=>tK,IU:()=>tZ,Wt:()=>tU,Y2:()=>t$,a$:()=>tR,sb:()=>U,ME:()=>t9,UI:()=>j,Ch:()=>C,mW:()=>x,DB:()=>m,_3:()=>tA,EJ:()=>g,m7:()=>t1,iN:()=>tJ,zj:()=>tr,D7:()=>t4,Gs:()=>ea,J$:()=>v,ab:()=>t5,Q2:()=>tt,P$:()=>K,ID:()=>tv,TM:()=>tc,Wi:()=>tO,H1:()=>td,QO:()=>tw,Js:()=>ei,Xd:()=>k,dj:()=>tD,cL:()=>to,$i:()=>W,jZ:()=>ty,oB:()=>t7,wZ:()=>Q,EI:()=>t0,SV:()=>tQ,Nk:()=>te,XV:()=>t8,ke:()=>t2,UU:()=>Z,ot:()=>tP,mj:()=>et,tM:()=>tH,H$:()=>q,B6:()=>J});var a,o=r(69830),n=r(28212),s=r(13427);let l=(t,e)=>{let r=n.A.parse(t),i={};for(let t in e)e[t]&&(i[t]=r[t]+e[t]);return(0,s.A)(t,i)};var h=r(78742);let c=(t,e=100)=>{let r=n.A.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,((t,e,r=50)=>{let{r:i,g:a,b:o,a:s}=n.A.parse(t),{r:l,g:c,b:d,a:u}=n.A.parse(e),p=r/100,f=2*p-1,g=s-u,m=((f*g==-1?f:(f+g)/(1+f*g))+1)/2,y=1-m;return(0,h.A)(i*m+l*y,a*m+c*y,o*m+d*y,s*p+u*(1-p))})(r,t,e)};var d=r(13152),u=r(75114),p=r(67798),f=r(41455),g=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,m=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,y=/\s*%%.*\n/gm,b=class extends Error{static{(0,o.K2)(this,"UnknownDiagramError")}constructor(t){super(t),this.name="UnknownDiagramError"}},x={},C=(0,o.K2)(function(t,e){for(let[r,{detector:i}]of(t=t.replace(g,"").replace(m,"").replace(y,"\n"),Object.entries(x)))if(i(t,e))return r;throw new b(`No diagram type detected matching given configuration for text: ${t}`)},"detectType"),k=(0,o.K2)((...t)=>{for(let{id:e,detector:r,loader:i}of t)_(e,r,i)},"registerLazyLoadedDiagrams"),_=(0,o.K2)((t,e,r)=>{x[t]&&o.Rm.warn(`Detector with key ${t} already exists. Overwriting.`),x[t]={detector:e,loader:r},o.Rm.debug(`Detector with key ${t} added${r?" with loader":""}`)},"addDetector"),v=(0,o.K2)(t=>x[t].loader,"getDiagramLoader"),A=(0,o.K2)((t,e,{depth:r=2,clobber:i=!1}={})=>{let a={depth:r,clobber:i};if(Array.isArray(e)&&!Array.isArray(t))return e.forEach(e=>A(t,e,a)),t;if(Array.isArray(e)&&Array.isArray(t))return e.forEach(e=>{t.includes(e)||t.push(e)}),t;if(void 0===t||r<=0)if(null!=t&&"object"==typeof t&&"object"==typeof e)return Object.assign(t,e);else return e;return void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach(a=>{"object"==typeof e[a]&&(void 0===t[a]||"object"==typeof t[a])?(void 0===t[a]&&(t[a]=Array.isArray(e[a])?[]:{}),t[a]=A(t[a],e[a],{depth:r-1,clobber:i})):(i||"object"!=typeof t[a]&&"object"!=typeof e[a])&&(t[a]=e[a])}),t},"assignWithDepth"),T=A,S="#ffffff",w="#f2f2f2",B=(0,o.K2)((t,e)=>e?l(t,{s:-40,l:10}):l(t,{s:-40,l:-10}),"mkBorder"),F=class{static{(0,o.K2)(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||l(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||l(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||B(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||B(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||B(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||B(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||c(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||c(this.tertiaryColor),this.lineColor=this.lineColor||c(this.background),this.arrowheadColor=this.arrowheadColor||c(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,d.A)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,d.A)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||c(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,u.A)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||"navy",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.darkMode?(this.rowOdd=this.rowOdd||(0,d.A)(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||(0,d.A)(this.mainBkg,10)):(this.rowOdd=this.rowOdd||(0,u.A)(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||(0,u.A)(this.mainBkg,5)),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,d.A)(this["cScale"+t],75);else for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,d.A)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||c(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||(0,u.A)(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.A)(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;let t=this.darkMode?-4:-1;for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||l(this.mainBkg,{h:180,s:-15,l:t*(5+3*e)}),this["surfacePeer"+e]=this["surfacePeer"+e]||l(this.mainBkg,{h:180,s:-15,l:t*(8+3*e)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||l(this.primaryColor,{h:64}),this.fillType3=this.fillType3||l(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||l(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||l(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||l(this.primaryColor,{h:128}),this.fillType7=this.fillType7||l(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||l(this.primaryColor,{l:-10}),this.pie5=this.pie5||l(this.secondaryColor,{l:-10}),this.pie6=this.pie6||l(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||l(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||l(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||l(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||l(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||l(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||l(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.archEdgeColor=this.archEdgeColor||"#777",this.archEdgeArrowColor=this.archEdgeArrowColor||"#777",this.archEdgeWidth=this.archEdgeWidth||"3",this.archGroupBorderColor=this.archGroupBorderColor||"#000",this.archGroupBorderWidth=this.archGroupBorderWidth||"2px",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,u.A)(this.quadrant1Fill):(0,d.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,d.A)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||l(this.primaryColor,{h:-30}),this.git4=this.git4||l(this.primaryColor,{h:-60}),this.git5=this.git5||l(this.primaryColor,{h:-90}),this.git6=this.git6||l(this.primaryColor,{h:60}),this.git7=this.git7||l(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,u.A)(this.git0,25),this.git1=(0,u.A)(this.git1,25),this.git2=(0,u.A)(this.git2,25),this.git3=(0,u.A)(this.git3,25),this.git4=(0,u.A)(this.git4,25),this.git5=(0,u.A)(this.git5,25),this.git6=(0,u.A)(this.git6,25),this.git7=(0,u.A)(this.git7,25)):(this.git0=(0,d.A)(this.git0,25),this.git1=(0,d.A)(this.git1,25),this.git2=(0,d.A)(this.git2,25),this.git3=(0,d.A)(this.git3,25),this.git4=(0,d.A)(this.git4,25),this.git5=(0,d.A)(this.git5,25),this.git6=(0,d.A)(this.git6,25),this.git7=(0,d.A)(this.git7,25)),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||S,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||w}calculate(t){if("object"!=typeof t)return void this.updateColors();let e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},L=(0,o.K2)(t=>{let e=new F;return e.calculate(t),e},"getThemeVariables"),M=class{static{(0,o.K2)(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,u.A)(this.primaryColor,16),this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=c(this.background),this.secondaryBorderColor=B(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=B(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,u.A)(c("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=(0,h.A)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=(0,d.A)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,d.A)(this.sectionBkgColor,10),this.taskBorderColor=(0,h.A)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,h.A)(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||(0,u.A)(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||(0,d.A)(this.mainBkg,10),this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=(0,u.A)(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=(0,u.A)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=(0,u.A)(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||c(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScalePeer"+t]=this["cScalePeer"+t]||(0,u.A)(this["cScale"+t],10);for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{h:30,s:-30,l:-(-10+4*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{h:30,s:-30,l:-(-7+4*t)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,u.A)(this.quadrant1Fill):(0,d.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.background},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,d.A)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=(0,u.A)(this.secondaryColor,20),this.git1=(0,u.A)(this.pie2||this.secondaryColor,20),this.git2=(0,u.A)(this.pie3||this.tertiaryColor,20),this.git3=(0,u.A)(this.pie4||l(this.primaryColor,{h:-30}),20),this.git4=(0,u.A)(this.pie5||l(this.primaryColor,{h:-60}),20),this.git5=(0,u.A)(this.pie6||l(this.primaryColor,{h:-90}),10),this.git6=(0,u.A)(this.pie7||l(this.primaryColor,{h:60}),10),this.git7=(0,u.A)(this.pie8||l(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||c(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||c(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||(0,u.A)(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||(0,u.A)(this.background,2),this.nodeBorder=this.nodeBorder||"#999"}calculate(t){if("object"!=typeof t)return void this.updateColors();let e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},E=(0,o.K2)(t=>{let e=new M;return e.calculate(t),e},"getThemeVariables"),O=class{static{(0,o.K2)(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=l(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=B(this.primaryColor,this.darkMode),this.secondaryBorderColor=B(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=B(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.sectionBkgColor=(0,h.A)(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="navy",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd="calculated",this.rowEven="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,d.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.A)(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,d.A)(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.A)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||l(this["cScale"+t],{h:180});for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{h:30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{h:30,l:-(7+5*t)});if(this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,"calculated"!==this.labelTextColor){this.cScaleLabel0=this.cScaleLabel0||c(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||c(this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=(0,u.A)(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||(0,u.A)(this.primaryColor,75)||"#ffffff",this.rowEven=this.rowEven||(0,u.A)(this.primaryColor,1),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||l(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||l(this.primaryColor,{l:-10}),this.pie5=this.pie5||l(this.secondaryColor,{l:-30}),this.pie6=this.pie6||l(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||l(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||l(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||l(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||l(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||l(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||l(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,u.A)(this.quadrant1Fill):(0,d.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||l(this.primaryColor,{h:-30}),this.git4=this.git4||l(this.primaryColor,{h:-60}),this.git5=this.git5||l(this.primaryColor,{h:-90}),this.git6=this.git6||l(this.primaryColor,{h:60}),this.git7=this.git7||l(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,u.A)(this.git0,25),this.git1=(0,u.A)(this.git1,25),this.git2=(0,u.A)(this.git2,25),this.git3=(0,u.A)(this.git3,25),this.git4=(0,u.A)(this.git4,25),this.git5=(0,u.A)(this.git5,25),this.git6=(0,u.A)(this.git6,25),this.git7=(0,u.A)(this.git7,25)):(this.git0=(0,d.A)(this.git0,25),this.git1=(0,d.A)(this.git1,25),this.git2=(0,d.A)(this.git2,25),this.git3=(0,d.A)(this.git3,25),this.git4=(0,d.A)(this.git4,25),this.git5=(0,d.A)(this.git5,25),this.git6=(0,d.A)(this.git6,25),this.git7=(0,d.A)(this.git7,25)),this.gitInv0=this.gitInv0||(0,d.A)(c(this.git0),25),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||c(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||c(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||S,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||w}calculate(t){if(Object.keys(this).forEach(t=>{"calculated"===this[t]&&(this[t]=void 0)}),"object"!=typeof t)return void this.updateColors();let e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},K=(0,o.K2)(t=>{let e=new O;return e.calculate(t),e},"getThemeVariables"),I=class{static{(0,o.K2)(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=(0,u.A)("#cde498",10),this.primaryBorderColor=B(this.primaryColor,this.darkMode),this.secondaryBorderColor=B(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=B(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.primaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=(0,d.A)(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,d.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.A)(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,d.A)(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.A)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||l(this["cScale"+t],{h:180});this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{h:30,s:-30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{h:30,s:-30,l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||(0,u.A)(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||(0,u.A)(this.mainBkg,20),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||l(this.primaryColor,{l:-30}),this.pie5=this.pie5||l(this.secondaryColor,{l:-30}),this.pie6=this.pie6||l(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||l(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||l(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||l(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||l(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||l(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||l(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,u.A)(this.quadrant1Fill):(0,d.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.mainBkg},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||l(this.primaryColor,{h:-30}),this.git4=this.git4||l(this.primaryColor,{h:-60}),this.git5=this.git5||l(this.primaryColor,{h:-90}),this.git6=this.git6||l(this.primaryColor,{h:60}),this.git7=this.git7||l(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,u.A)(this.git0,25),this.git1=(0,u.A)(this.git1,25),this.git2=(0,u.A)(this.git2,25),this.git3=(0,u.A)(this.git3,25),this.git4=(0,u.A)(this.git4,25),this.git5=(0,u.A)(this.git5,25),this.git6=(0,u.A)(this.git6,25),this.git7=(0,u.A)(this.git7,25)):(this.git0=(0,d.A)(this.git0,25),this.git1=(0,d.A)(this.git1,25),this.git2=(0,d.A)(this.git2,25),this.git3=(0,d.A)(this.git3,25),this.git4=(0,d.A)(this.git4,25),this.git5=(0,d.A)(this.git5,25),this.git6=(0,d.A)(this.git6,25),this.git7=(0,d.A)(this.git7,25)),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||c(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||c(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||S,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||w}calculate(t){if("object"!=typeof t)return void this.updateColors();let e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},D=(0,o.K2)(t=>{let e=new I;return e.calculate(t),e},"getThemeVariables"),$=class{static{(0,o.K2)(this,"Theme")}constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,u.A)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=B(this.primaryColor,this.darkMode),this.secondaryBorderColor=B(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=B(this.tertiaryColor,this.darkMode),this.primaryTextColor=c(this.primaryColor),this.secondaryTextColor=c(this.secondaryColor),this.tertiaryTextColor=c(this.tertiaryColor),this.lineColor=c(this.background),this.textColor=c(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||(0,u.A)(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||"#f4f4f4",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=(0,u.A)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,u.A)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||c(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||(0,u.A)(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.A)(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=(0,u.A)(this.contrast,30),this.sectionBkgColor2=(0,u.A)(this.contrast,30),this.taskBorderColor=(0,d.A)(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=(0,u.A)(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=(0,d.A)(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.vertLineColor=this.critBkgColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.A)(this.quadrant1Fill)?(0,u.A)(this.quadrant1Fill):(0,d.A)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=(0,d.A)(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||l(this.primaryColor,{h:-30}),this.git4=this.pie5||l(this.primaryColor,{h:-60}),this.git5=this.pie6||l(this.primaryColor,{h:-90}),this.git6=this.pie7||l(this.primaryColor,{h:60}),this.git7=this.pie8||l(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||c(this.git0),this.gitInv1=this.gitInv1||c(this.git1),this.gitInv2=this.gitInv2||c(this.git2),this.gitInv3=this.gitInv3||c(this.git3),this.gitInv4=this.gitInv4||c(this.git4),this.gitInv5=this.gitInv5||c(this.git5),this.gitInv6=this.gitInv6||c(this.git6),this.gitInv7=this.gitInv7||c(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||S,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||w}calculate(t){if("object"!=typeof t)return void this.updateColors();let e=Object.keys(t);e.forEach(e=>{this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},q={base:{getThemeVariables:L},dark:{getThemeVariables:E},default:{getThemeVariables:K},forest:{getThemeVariables:D},neutral:{getThemeVariables:(0,o.K2)(t=>{let e=new $;return e.calculate(t),e},"getThemeVariables")}},z={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200,inheritDir:!1},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,maxLabelWidth:360,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],titleColor:"",titleFontFamily:'"trebuchet ms", verdana, arial, sans-serif',titleFontSize:"4ex"},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,nodeSpacing:140,rankSpacing:80,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showDataLabel:!1,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200,layoutAlgorithm:"cose-bilkent"},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},radar:{useMaxWidth:!0,width:600,height:600,marginTop:50,marginRight:50,marginBottom:50,marginLeft:50,axisScaleFactor:1,axisLabelFactor:1.05,curveTension:.17},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},R={...z,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF",forceNodeModelOrder:!1,considerModelOrder:"NODES_AND_EDGES"},themeCSS:void 0,themeVariables:q.default.getThemeVariables(),sequence:{...z.sequence,messageFont:(0,o.K2)(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:(0,o.K2)(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:(0,o.K2)(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...z.gantt,tickInterval:void 0,useWidth:void 0},c4:{...z.c4,useWidth:void 0,personFont:(0,o.K2)(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),flowchart:{...z.flowchart,inheritDir:!1},external_personFont:(0,o.K2)(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:(0,o.K2)(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:(0,o.K2)(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:(0,o.K2)(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:(0,o.K2)(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:(0,o.K2)(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:(0,o.K2)(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:(0,o.K2)(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:(0,o.K2)(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:(0,o.K2)(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:(0,o.K2)(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:(0,o.K2)(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:(0,o.K2)(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:(0,o.K2)(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:(0,o.K2)(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:(0,o.K2)(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:(0,o.K2)(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:(0,o.K2)(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:(0,o.K2)(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:(0,o.K2)(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:(0,o.K2)(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...z.pie,useWidth:984},xyChart:{...z.xyChart,useWidth:void 0},requirement:{...z.requirement,useWidth:void 0},packet:{...z.packet},radar:{...z.radar},treemap:{useMaxWidth:!0,padding:10,diagramPadding:8,showValues:!0,nodeWidth:100,nodeHeight:40,borderWidth:1,valueFontSize:12,labelFontSize:14,valueFormat:","}},P=(0,o.K2)((t,e="")=>Object.keys(t).reduce((r,i)=>Array.isArray(t[i])?r:"object"==typeof t[i]&&null!==t[i]?[...r,e+i,...P(t[i],"")]:[...r,e+i],[]),"keyify"),N=new Set(P(R,"")),j=R,W=(0,o.K2)(t=>{if(o.Rm.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t){if(Array.isArray(t))return void t.forEach(t=>W(t));for(let e of Object.keys(t)){if(o.Rm.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!N.has(e)||null==t[e]){o.Rm.debug("sanitize deleting key: ",e),delete t[e];continue}if("object"==typeof t[e]){o.Rm.debug("sanitizing object",e),W(t[e]);continue}for(let r of["themeCSS","fontFamily","altFontFamily"])e.includes(r)&&(o.Rm.debug("sanitizing css option",e),t[e]=H(t[e]))}if(t.themeVariables)for(let e of Object.keys(t.themeVariables)){let r=t.themeVariables[e];r?.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}o.Rm.debug("After sanitization",t)}},"sanitizeDirective"),H=(0,o.K2)(t=>{let e=0,r=0;for(let i of t){if(e<r)return"{ /* ERROR: Unbalanced CSS */ }";"{"===i?e++:"}"===i&&r++}return e!==r?"{ /* ERROR: Unbalanced CSS */ }":t},"sanitizeCss"),U=Object.freeze(j),Y=T({},U),G=[],V=T({},U),X=(0,o.K2)((t,e)=>{let r=T({},t),i={};for(let t of e)ti(t),i=T(i,t);if(r=T(r,i),i.theme&&i.theme in q){let t=T({},a),e=T(t.themeVariables||{},i.themeVariables);r.theme&&r.theme in q&&(r.themeVariables=q[r.theme].getThemeVariables(e))}return th(V=r),V},"updateCurrentConfig"),Z=(0,o.K2)(t=>(Y=T({},U),Y=T(Y,t),t.theme&&q[t.theme]&&(Y.themeVariables=q[t.theme].getThemeVariables(t.themeVariables)),X(Y,G),Y),"setSiteConfig"),Q=(0,o.K2)(t=>{a=T({},t)},"saveConfigFromInitialize"),J=(0,o.K2)(t=>(Y=T(Y,t),X(Y,G),Y),"updateSiteConfig"),tt=(0,o.K2)(()=>T({},Y),"getSiteConfig"),te=(0,o.K2)(t=>(th(t),T(V,t),tr()),"setConfig"),tr=(0,o.K2)(()=>T({},V),"getConfig"),ti=(0,o.K2)(t=>{t&&(["secure",...Y.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(o.Rm.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&delete t[e]}),Object.keys(t).forEach(e=>{"string"==typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"==typeof t[e]&&ti(t[e])}))},"sanitize"),ta=(0,o.K2)(t=>{W(t),t.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}),G.push(t),X(Y,G)},"addDirective"),to=(0,o.K2)((t=Y)=>{X(t,G=[])},"reset"),tn={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},ts={},tl=(0,o.K2)(t=>{ts[t]||(o.Rm.warn(tn[t]),ts[t]=!0)},"issueWarning"),th=(0,o.K2)(t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&tl("LAZY_LOAD_DEPRECATED")},"checkConfig"),tc=(0,o.K2)(()=>{let t={};for(let e of(a&&(t=T(t,a)),G))t=T(t,e);return t},"getUserDefinedConfig"),td=/<br\s*\/?>/gi,tu=(0,o.K2)(t=>t?t_(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),tp=(i=!1,()=>{i||(tf(),i=!0)});function tf(){let t="data-temp-href-target";f.A.addHook("beforeSanitizeAttributes",e=>{"A"===e.tagName&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")}),f.A.addHook("afterSanitizeAttributes",e=>{"A"===e.tagName&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener"))})}(0,o.K2)(tf,"setupDompurifyHooks");var tg=(0,o.K2)(t=>(tp(),f.A.sanitize(t)),"removeScript"),tm=(0,o.K2)((t,e)=>{if(e.flowchart?.htmlLabels!==!1){let r=e.securityLevel;"antiscript"===r||"strict"===r?t=tg(t):"loose"!==r&&(t=tk(t=(t=(t=t_(t)).replace(/</g,"&lt;").replace(/>/g,"&gt;")).replace(/=/g,"&equals;")))}return t},"sanitizeMore"),ty=(0,o.K2)((t,e)=>t?t=e.dompurifyConfig?f.A.sanitize(tm(t,e),e.dompurifyConfig).toString():f.A.sanitize(tm(t,e),{FORBID_TAGS:["style"]}).toString():t,"sanitizeText"),tb=(0,o.K2)((t,e)=>"string"==typeof t?ty(t,e):t.flat().map(t=>ty(t,e)),"sanitizeTextOrArray"),tx=(0,o.K2)(t=>td.test(t),"hasBreaks"),tC=(0,o.K2)(t=>t.split(td),"splitBreaks"),tk=(0,o.K2)(t=>t.replace(/#br#/g,"<br/>"),"placeholderToBreak"),t_=(0,o.K2)(t=>t.replace(td,"#br#"),"breakToPlaceholder"),tv=(0,o.K2)(t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=CSS.escape(e)),e},"getUrl"),tA=(0,o.K2)(t=>!(!1===t||["false","null","0"].includes(String(t).trim().toLowerCase())),"evaluate"),tT=(0,o.K2)(function(...t){return Math.max(...t.filter(t=>!isNaN(t)))},"getMax"),tS=(0,o.K2)(function(...t){return Math.min(...t.filter(t=>!isNaN(t)))},"getMin"),tw=(0,o.K2)(function(t){let e=t.split(/(,)/),r=[];for(let t=0;t<e.length;t++){let i=e[t];if(","===i&&t>0&&t+1<e.length){let a=e[t-1],o=e[t+1];tF(a,o)&&(i=a+","+o,t++,r.pop())}r.push(tL(i))}return r.join("")},"parseGenericTypes"),tB=(0,o.K2)((t,e)=>Math.max(0,t.split(e).length-1),"countOccurrence"),tF=(0,o.K2)((t,e)=>{let r=tB(t,"~"),i=tB(e,"~");return 1===r&&1===i},"shouldCombineSets"),tL=(0,o.K2)(t=>{let e=tB(t,"~"),r=!1;if(e<=1)return t;e%2!=0&&t.startsWith("~")&&(t=t.substring(1),r=!0);let i=[...t],a=i.indexOf("~"),o=i.lastIndexOf("~");for(;-1!==a&&-1!==o&&a!==o;)i[a]="<",i[o]=">",a=i.indexOf("~"),o=i.lastIndexOf("~");return r&&i.unshift("~"),i.join("")},"processSet"),tM=(0,o.K2)(()=>void 0!==window.MathMLElement,"isMathMLSupported"),tE=/\$\$(.*)\$\$/g,tO=(0,o.K2)(t=>(t.match(tE)?.length??0)>0,"hasKatex"),tK=(0,o.K2)(async(t,e)=>{let r=document.createElement("div");r.innerHTML=await tD(t,e),r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0";let i=document.querySelector("body");i?.insertAdjacentElement("beforeend",r);let a={width:r.clientWidth,height:r.clientHeight};return r.remove(),a},"calculateMathMLDimensions"),tI=(0,o.K2)(async(t,e)=>{if(!tO(t))return t;if(!(tM()||e.legacyMathML||e.forceLegacyMathML))return t.replace(tE,"MathML is unsupported in this environment.");{let{default:i}=await Promise.resolve().then(r.bind(r,60301)),a=e.forceLegacyMathML||!tM()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(td).map(t=>tO(t)?`<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${t}</div>`:`<div>${t}</div>`).join("").replace(tE,(t,e)=>i.renderToString(e,{throwOnError:!0,displayMode:!0,output:a}).replace(/\n/g," ").replace(/<annotation.*<\/annotation>/g,""))}},"renderKatexUnsanitized"),tD=(0,o.K2)(async(t,e)=>ty(await tI(t,e),e),"renderKatexSanitized"),t$={getRows:tu,sanitizeText:ty,sanitizeTextOrArray:tb,hasBreaks:tx,splitBreaks:tC,lineBreakRegex:td,removeScript:tg,getUrl:tv,evaluate:tA,getMax:tT,getMin:tS},tq=(0,o.K2)(function(t,e){for(let r of e)t.attr(r[0],r[1])},"d3Attrs"),tz=(0,o.K2)(function(t,e,r){let i=new Map;return r?(i.set("width","100%"),i.set("style",`max-width: ${e}px;`)):(i.set("height",t),i.set("width",e)),i},"calculateSvgSizeAttrs"),tR=(0,o.K2)(function(t,e,r,i){tq(t,tz(e,r,i))},"configureSvgSize"),tP=(0,o.K2)(function(t,e,r,i){let a=e.node().getBBox(),n=a.width,s=a.height;o.Rm.info(`SVG bounds: ${n}x${s}`,a);let l=0,h=0;o.Rm.info(`Graph bounds: ${l}x${h}`,t),l=n+2*r,h=s+2*r,o.Rm.info(`Calculated bounds: ${l}x${h}`),tR(e,h,l,i);let c=`${a.x-r} ${a.y-r} ${a.width+2*r} ${a.height+2*r}`;e.attr("viewBox",c)},"setupGraphViewbox"),tN={},tj=(0,o.K2)((t,e,r)=>{let i="";return t in tN&&tN[t]?i=tN[t](r):o.Rm.warn(`No theme found for ${t}`),` & {
15
15
  font-family: ${r.fontFamily};
16
16
  font-size: ${r.fontSize};
17
17
  fill: ${r.textColor}
@@ -87,4 +87,4 @@ ${t.themeCSS}`),void 0!==t.fontFamily&&(r+=`
87
87
  ${i}
88
88
 
89
89
  ${e}
90
- `},"getStyles"),tN=(0,o.K2)((t,e)=>{void 0!==e&&(tW[t]=e)},"addStylesForDiagram"),tH=tj,tU={};(0,o.VA)(tU,{clear:()=>tZ,getAccDescription:()=>t1,getAccTitle:()=>tJ,getDiagramTitle:()=>t5,setAccDescription:()=>t0,setAccTitle:()=>tQ,setDiagramTitle:()=>t2});var tY="",tG="",tV="",tX=(0,o.K2)(t=>ty(t,tr()),"sanitizeText"),tZ=(0,o.K2)(()=>{tY="",tV="",tG=""},"clear"),tQ=(0,o.K2)(t=>{tY=tX(t).replace(/^\s+/g,"")},"setAccTitle"),tJ=(0,o.K2)(()=>tY,"getAccTitle"),t0=(0,o.K2)(t=>{tV=tX(t).replace(/\n\s+/g,"\n")},"setAccDescription"),t1=(0,o.K2)(()=>tV,"getAccDescription"),t2=(0,o.K2)(t=>{tG=tX(t)},"setDiagramTitle"),t5=(0,o.K2)(()=>tG,"getDiagramTitle"),t3=o.Rm,t6=o.He,t4=tr,t8=te,t9=U,t7=(0,o.K2)(t=>ty(t,t4()),"sanitizeText"),et=t$,ee=(0,o.K2)(()=>tU,"getCommonDb"),er={},ei=(0,o.K2)((t,e,r)=>{er[t]&&t3.warn(`Diagram with id ${t} already registered. Overwriting.`),er[t]=e,r&&_(t,r),tN(t,e.styles),e.injectUtils?.(t3,t6,t4,t7,et,ee(),()=>{})},"registerDiagram"),ea=(0,o.K2)(t=>{if(t in er)return er[t];throw new eo(t)},"getDiagram"),eo=class extends Error{static{(0,o.K2)(this,"DiagramNotFoundError")}constructor(t){super(`Diagram ${t} not found.`)}}},77126:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=/^(?:0|[1-9]\d*)$/;let a=function(t,e){var r=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&("number"==r||"symbol"!=r&&i.test(t))&&t>-1&&t%1==0&&t<e}},78742:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(10697),a=r(53704),o=r(28212),n=r(13427);let s=(t,e,r=0,s=1)=>{if("number"!=typeof t)return(0,n.A)(t,{a:e});let l=a.A.set({r:i.A.channel.clamp.r(t),g:i.A.channel.clamp.g(e),b:i.A.channel.clamp.b(r),a:i.A.channel.clamp.a(s)});return o.A.stringify(l)}},79898:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var i=r(62718),a=Object.prototype,o=a.hasOwnProperty,n=a.toString,s=i.A?i.A.toStringTag:void 0;let l=function(t){var e=o.call(t,s),r=t[s];try{t[s]=void 0;var i=!0}catch(t){}var a=n.call(t);return i&&(e?t[s]=r:delete t[s]),a};var h=Object.prototype.toString,c=i.A?i.A.toStringTag:void 0;let d=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?l(t):h.call(t)}},84050:(t,e,r)=>{"use strict";r.d(e,{H:()=>eD,r:()=>eI});var i,a=r(69830);function o(t){return null==t}function n(t){return"object"==typeof t&&null!==t}function s(t,e){var r,i="";for(r=0;r<e;r+=1)i+=t;return i}function l(t){return 0===t&&-1/0==1/t}(0,a.K2)(o,"isNothing"),(0,a.K2)(n,"isObject"),(0,a.K2)(function(t){return Array.isArray(t)?t:o(t)?[]:[t]},"toArray"),(0,a.K2)(function(t,e){var r,i,a,o;if(e)for(r=0,i=(o=Object.keys(e)).length;r<i;r+=1)t[a=o[r]]=e[a];return t},"extend"),(0,a.K2)(s,"repeat"),(0,a.K2)(l,"isNegativeZero");function h(t,e){var r="",i=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(r+='in "'+t.mark.name+'" '),r+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(r+="\n\n"+t.mark.snippet),i+" "+r):i}function c(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=h(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}function d(t,e,r,i,a){var o="",n="",s=Math.floor(a/2)-1;return i-e>s&&(e=i-s+(o=" ... ").length),r-i>s&&(r=i+s-(n=" ...").length),{str:o+t.slice(e,r).replace(/\t/g,"→")+n,pos:i-e+o.length}}function u(t,e){return s(" ",e-t.length)+t}function p(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var r=/\r?\n|\r|\0/g,i=[0],a=[],o=-1;n=r.exec(t.buffer);)a.push(n.index),i.push(n.index+n[0].length),t.position<=n.index&&o<0&&(o=i.length-2);o<0&&(o=i.length-1);var n,l,h,c="",p=Math.min(t.line+e.linesAfter,a.length).toString().length,f=e.maxLength-(e.indent+p+3);for(l=1;l<=e.linesBefore&&!(o-l<0);l++)h=d(t.buffer,i[o-l],a[o-l],t.position-(i[o]-i[o-l]),f),c=s(" ",e.indent)+u((t.line-l+1).toString(),p)+" | "+h.str+"\n"+c;for(h=d(t.buffer,i[o],a[o],t.position,f),c+=s(" ",e.indent)+u((t.line+1).toString(),p)+" | "+h.str+"\n"+s("-",e.indent+p+3+h.pos)+"^\n",l=1;l<=e.linesAfter&&!(o+l>=a.length);l++)h=d(t.buffer,i[o+l],a[o+l],t.position-(i[o]-i[o+l]),f),c+=s(" ",e.indent)+u((t.line+l+1).toString(),p)+" | "+h.str+"\n";return c.replace(/\n$/,"")}(0,a.K2)(h,"formatError"),(0,a.K2)(c,"YAMLException$1"),c.prototype=Object.create(Error.prototype),c.prototype.constructor=c,c.prototype.toString=(0,a.K2)(function(t){return this.name+": "+h(this,t)},"toString"),(0,a.K2)(d,"getLine"),(0,a.K2)(u,"padStart"),(0,a.K2)(p,"makeSnippet");var f=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],g=["scalar","sequence","mapping"];function m(t){var e={};return null!==t&&Object.keys(t).forEach(function(r){t[r].forEach(function(t){e[String(t)]=r})}),e}function y(t,e){if(Object.keys(e=e||{}).forEach(function(e){if(-1===f.indexOf(e))throw new c('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=m(e.styleAliases||null),-1===g.indexOf(this.kind))throw new c('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}function b(t,e){var r=[];return t[e].forEach(function(t){var e=r.length;r.forEach(function(r,i){r.tag===t.tag&&r.kind===t.kind&&r.multi===t.multi&&(e=i)}),r[e]=t}),r}function C(){var t,e,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function i(t){t.multi?(r.multi[t.kind].push(t),r.multi.fallback.push(t)):r[t.kind][t.tag]=r.fallback[t.tag]=t}for((0,a.K2)(i,"collectType"),t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(i);return r}function x(t){return this.extend(t)}(0,a.K2)(m,"compileStyleAliases"),(0,a.K2)(y,"Type$1"),(0,a.K2)(b,"compileList"),(0,a.K2)(C,"compileMap"),(0,a.K2)(x,"Schema$1"),x.prototype.extend=(0,a.K2)(function(t){var e=[],r=[];if(t instanceof y)r.push(t);else if(Array.isArray(t))r=r.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(r=r.concat(t.explicit));else throw new c("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.forEach(function(t){if(!(t instanceof y))throw new c("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new c("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new c("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(t){if(!(t instanceof y))throw new c("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(x.prototype);return i.implicit=(this.implicit||[]).concat(e),i.explicit=(this.explicit||[]).concat(r),i.compiledImplicit=b(i,"implicit"),i.compiledExplicit=b(i,"explicit"),i.compiledTypeMap=C(i.compiledImplicit,i.compiledExplicit),i},"extend");var k=new x({explicit:[new y("tag:yaml.org,2002:str",{kind:"scalar",construct:(0,a.K2)(function(t){return null!==t?t:""},"construct")}),new y("tag:yaml.org,2002:seq",{kind:"sequence",construct:(0,a.K2)(function(t){return null!==t?t:[]},"construct")}),new y("tag:yaml.org,2002:map",{kind:"mapping",construct:(0,a.K2)(function(t){return null!==t?t:{}},"construct")})]});function _(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)}function v(){return null}function T(t){return null===t}(0,a.K2)(_,"resolveYamlNull"),(0,a.K2)(v,"constructYamlNull"),(0,a.K2)(T,"isNull");var A=new y("tag:yaml.org,2002:null",{kind:"scalar",resolve:_,construct:v,predicate:T,represent:{canonical:(0,a.K2)(function(){return"~"},"canonical"),lowercase:(0,a.K2)(function(){return"null"},"lowercase"),uppercase:(0,a.K2)(function(){return"NULL"},"uppercase"),camelcase:(0,a.K2)(function(){return"Null"},"camelcase"),empty:(0,a.K2)(function(){return""},"empty")},defaultStyle:"lowercase"});function S(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)}function w(t){return"true"===t||"True"===t||"TRUE"===t}function B(t){return"[object Boolean]"===Object.prototype.toString.call(t)}(0,a.K2)(S,"resolveYamlBoolean"),(0,a.K2)(w,"constructYamlBoolean"),(0,a.K2)(B,"isBoolean");var F=new y("tag:yaml.org,2002:bool",{kind:"scalar",resolve:S,construct:w,predicate:B,represent:{lowercase:(0,a.K2)(function(t){return t?"true":"false"},"lowercase"),uppercase:(0,a.K2)(function(t){return t?"TRUE":"FALSE"},"uppercase"),camelcase:(0,a.K2)(function(t){return t?"True":"False"},"camelcase")},defaultStyle:"lowercase"});function L(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function M(t){return 48<=t&&t<=55}function O(t){return 48<=t&&t<=57}function E(t){if(null===t)return!1;var e,r=t.length,i=0,a=!1;if(!r)return!1;if(("-"===(e=t[i])||"+"===e)&&(e=t[++i]),"0"===e){if(i+1===r)return!0;if("b"===(e=t[++i])){for(i++;i<r;i++)if("_"!==(e=t[i])){if("0"!==e&&"1"!==e)return!1;a=!0}return a&&"_"!==e}if("x"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!L(t.charCodeAt(i)))return!1;a=!0}return a&&"_"!==e}if("o"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!M(t.charCodeAt(i)))return!1;a=!0}return a&&"_"!==e}}if("_"===e)return!1;for(;i<r;i++)if("_"!==(e=t[i])){if(!O(t.charCodeAt(i)))return!1;a=!0}return!!a&&"_"!==e}function K(t){var e,r=t,i=1;if(-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),("-"===(e=r[0])||"+"===e)&&("-"===e&&(i=-1),e=(r=r.slice(1))[0]),"0"===r)return 0;if("0"===e){if("b"===r[1])return i*parseInt(r.slice(2),2);if("x"===r[1])return i*parseInt(r.slice(2),16);if("o"===r[1])return i*parseInt(r.slice(2),8)}return i*parseInt(r,10)}function I(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!l(t)}(0,a.K2)(L,"isHexCode"),(0,a.K2)(M,"isOctCode"),(0,a.K2)(O,"isDecCode"),(0,a.K2)(E,"resolveYamlInteger"),(0,a.K2)(K,"constructYamlInteger"),(0,a.K2)(I,"isInteger");var D=new y("tag:yaml.org,2002:int",{kind:"scalar",resolve:E,construct:K,predicate:I,represent:{binary:(0,a.K2)(function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},"binary"),octal:(0,a.K2)(function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},"octal"),decimal:(0,a.K2)(function(t){return t.toString(10)},"decimal"),hexadecimal:(0,a.K2)(function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),z=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function q(t){return null!==t&&!!z.test(t)&&"_"!==t[t.length-1]}function R(t){var e,r;return(r="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e)?1===r?1/0:-1/0:".nan"===e?NaN:r*parseFloat(e,10)}(0,a.K2)(q,"resolveYamlFloat"),(0,a.K2)(R,"constructYamlFloat");var P=/^[-+]?[0-9]+e/;function $(t,e){var r;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(1/0===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(-1/0===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(l(t))return"-0.0";return r=t.toString(10),P.test(r)?r.replace("e",".e"):r}function W(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||l(t))}(0,a.K2)($,"representYamlFloat"),(0,a.K2)(W,"isFloat");var j=new y("tag:yaml.org,2002:float",{kind:"scalar",resolve:q,construct:R,predicate:W,represent:$,defaultStyle:"lowercase"}),N=k.extend({implicit:[A,F,D,j]}),H=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),U=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Y(t){return null!==t&&(null!==H.exec(t)||null!==U.exec(t))}function G(t){var e,r,i,a,o,n,s,l,h=0,c=null;if(null===(e=H.exec(t))&&(e=U.exec(t)),null===e)throw Error("Date resolve error");if(r=+e[1],i=e[2]-1,a=+e[3],!e[4])return new Date(Date.UTC(r,i,a));if(o=+e[4],n=+e[5],s=+e[6],e[7]){for(h=e[7].slice(0,3);h.length<3;)h+="0";h*=1}return e[9]&&(c=(60*e[10]+ +(e[11]||0))*6e4,"-"===e[9]&&(c=-c)),l=new Date(Date.UTC(r,i,a,o,n,s,h)),c&&l.setTime(l.getTime()-c),l}function V(t){return t.toISOString()}(0,a.K2)(Y,"resolveYamlTimestamp"),(0,a.K2)(G,"constructYamlTimestamp"),(0,a.K2)(V,"representYamlTimestamp");var X=new y("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Y,construct:G,instanceOf:Date,represent:V});function Z(t){return"<<"===t||null===t}(0,a.K2)(Z,"resolveYamlMerge");var Q=new y("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Z}),J="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function tt(t){if(null===t)return!1;var e,r,i=0,a=t.length;for(r=0;r<a;r++)if(!((e=J.indexOf(t.charAt(r)))>64)){if(e<0)return!1;i+=6}return i%8==0}function te(t){var e,r,i=t.replace(/[\r\n=]/g,""),a=i.length,o=0,n=[];for(e=0;e<a;e++)e%4==0&&e&&(n.push(o>>16&255),n.push(o>>8&255),n.push(255&o)),o=o<<6|J.indexOf(i.charAt(e));return 0==(r=a%4*6)?(n.push(o>>16&255),n.push(o>>8&255),n.push(255&o)):18===r?(n.push(o>>10&255),n.push(o>>2&255)):12===r&&n.push(o>>4&255),new Uint8Array(n)}function tr(t){var e,r,i="",a=0,o=t.length;for(e=0;e<o;e++)e%3==0&&e&&(i+=J[a>>18&63],i+=J[a>>12&63],i+=J[a>>6&63],i+=J[63&a]),a=(a<<8)+t[e];return 0==(r=o%3)?(i+=J[a>>18&63],i+=J[a>>12&63],i+=J[a>>6&63],i+=J[63&a]):2===r?(i+=J[a>>10&63],i+=J[a>>4&63],i+=J[a<<2&63],i+=J[64]):1===r&&(i+=J[a>>2&63],i+=J[a<<4&63],i+=J[64],i+=J[64]),i}function ti(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}(0,a.K2)(tt,"resolveYamlBinary"),(0,a.K2)(te,"constructYamlBinary"),(0,a.K2)(tr,"representYamlBinary"),(0,a.K2)(ti,"isBinary");var ta=new y("tag:yaml.org,2002:binary",{kind:"scalar",resolve:tt,construct:te,predicate:ti,represent:tr}),to=Object.prototype.hasOwnProperty,tn=Object.prototype.toString;function ts(t){if(null===t)return!0;var e,r,i,a,o,n=[];for(e=0,r=t.length;e<r;e+=1){if(i=t[e],o=!1,"[object Object]"!==tn.call(i))return!1;for(a in i)if(to.call(i,a))if(o)return!1;else o=!0;if(!o||-1!==n.indexOf(a))return!1;n.push(a)}return!0}function tl(t){return null!==t?t:[]}(0,a.K2)(ts,"resolveYamlOmap"),(0,a.K2)(tl,"constructYamlOmap");var th=new y("tag:yaml.org,2002:omap",{kind:"sequence",resolve:ts,construct:tl}),tc=Object.prototype.toString;function td(t){var e,r,i,a,o;if(null===t)return!0;for(e=0,o=Array(t.length),r=t.length;e<r;e+=1){if(i=t[e],"[object Object]"!==tc.call(i)||1!==(a=Object.keys(i)).length)return!1;o[e]=[a[0],i[a[0]]]}return!0}function tu(t){var e,r,i,a,o;if(null===t)return[];for(e=0,o=Array(t.length),r=t.length;e<r;e+=1)a=Object.keys(i=t[e]),o[e]=[a[0],i[a[0]]];return o}(0,a.K2)(td,"resolveYamlPairs"),(0,a.K2)(tu,"constructYamlPairs");var tp=new y("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:td,construct:tu}),tf=Object.prototype.hasOwnProperty;function tg(t){var e;if(null===t)return!0;for(e in t)if(tf.call(t,e)&&null!==t[e])return!1;return!0}function tm(t){return null!==t?t:{}}(0,a.K2)(tg,"resolveYamlSet"),(0,a.K2)(tm,"constructYamlSet");var ty=new y("tag:yaml.org,2002:set",{kind:"mapping",resolve:tg,construct:tm}),tb=N.extend({implicit:[X,Q],explicit:[ta,th,tp,ty]}),tC=Object.prototype.hasOwnProperty,tx=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,tk=/[\x85\u2028\u2029]/,t_=/[,\[\]\{\}]/,tv=/^(?:!|!!|![a-z\-]+!)$/i,tT=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function tA(t){return Object.prototype.toString.call(t)}function tS(t){return 10===t||13===t}function tw(t){return 9===t||32===t}function tB(t){return 9===t||32===t||10===t||13===t}function tF(t){return 44===t||91===t||93===t||123===t||125===t}function tL(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function tM(t){return 120===t?2:117===t?4:8*(85===t)}function tO(t){return 48<=t&&t<=57?t-48:-1}function tE(t){return 48===t?"\0":97===t?"\x07":98===t?"\b":116===t||9===t?" ":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"\x1b":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"\x85":95===t?"\xa0":76===t?"\u2028":80===t?"\u2029":""}function tK(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}(0,a.K2)(tA,"_class"),(0,a.K2)(tS,"is_EOL"),(0,a.K2)(tw,"is_WHITE_SPACE"),(0,a.K2)(tB,"is_WS_OR_EOL"),(0,a.K2)(tF,"is_FLOW_INDICATOR"),(0,a.K2)(tL,"fromHexCode"),(0,a.K2)(tM,"escapedHexLen"),(0,a.K2)(tO,"fromDecimalCode"),(0,a.K2)(tE,"simpleEscapeSequence"),(0,a.K2)(tK,"charFromCodepoint");var tI=Array(256),tD=Array(256);for(i=0;i<256;i++)tI[i]=+!!tE(i),tD[i]=tE(i);function tz(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||tb,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function tq(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=p(r),new c(e,r)}function tR(t,e){throw tq(t,e)}function tP(t,e){t.onWarning&&t.onWarning.call(null,tq(t,e))}(0,a.K2)(tz,"State$1"),(0,a.K2)(tq,"generateError"),(0,a.K2)(tR,"throwError"),(0,a.K2)(tP,"throwWarning");var t$={YAML:(0,a.K2)(function(t,e,r){var i,a,o;null!==t.version&&tR(t,"duplication of %YAML directive"),1!==r.length&&tR(t,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&tR(t,"ill-formed argument of the YAML directive"),a=parseInt(i[1],10),o=parseInt(i[2],10),1!==a&&tR(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=o<2,1!==o&&2!==o&&tP(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:(0,a.K2)(function(t,e,r){var i,a;2!==r.length&&tR(t,"TAG directive accepts exactly two arguments"),i=r[0],a=r[1],tv.test(i)||tR(t,"ill-formed tag handle (first argument) of the TAG directive"),tC.call(t.tagMap,i)&&tR(t,'there is a previously declared suffix for "'+i+'" tag handle'),tT.test(a)||tR(t,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch(e){tR(t,"tag prefix is malformed: "+a)}t.tagMap[i]=a},"handleTagDirective")};function tW(t,e,r,i){var a,o,n,s;if(e<r){if(s=t.input.slice(e,r),i)for(a=0,o=s.length;a<o;a+=1)9===(n=s.charCodeAt(a))||32<=n&&n<=1114111||tR(t,"expected valid JSON character");else tx.test(s)&&tR(t,"the stream contains non-printable characters");t.result+=s}}function tj(t,e,r,i){var a,o,s,l;for(n(r)||tR(t,"cannot merge mappings; the provided source object is unacceptable"),s=0,l=(a=Object.keys(r)).length;s<l;s+=1)o=a[s],tC.call(e,o)||(e[o]=r[o],i[o]=!0)}function tN(t,e,r,i,a,o,n,s,l){var h,c;if(Array.isArray(a))for(h=0,c=(a=Array.prototype.slice.call(a)).length;h<c;h+=1)Array.isArray(a[h])&&tR(t,"nested arrays are not supported inside keys"),"object"==typeof a&&"[object Object]"===tA(a[h])&&(a[h]="[object Object]");if("object"==typeof a&&"[object Object]"===tA(a)&&(a="[object Object]"),a=String(a),null===e&&(e={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(o))for(h=0,c=o.length;h<c;h+=1)tj(t,e,o[h],r);else tj(t,e,o,r);else!t.json&&!tC.call(r,a)&&tC.call(e,a)&&(t.line=n||t.line,t.lineStart=s||t.lineStart,t.position=l||t.position,tR(t,"duplicated mapping key")),"__proto__"===a?Object.defineProperty(e,a,{configurable:!0,enumerable:!0,writable:!0,value:o}):e[a]=o,delete r[a];return e}function tH(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):tR(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function tU(t,e,r){for(var i=0,a=t.input.charCodeAt(t.position);0!==a;){for(;tw(a);)9===a&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),a=t.input.charCodeAt(++t.position);if(e&&35===a)do a=t.input.charCodeAt(++t.position);while(10!==a&&13!==a&&0!==a);if(tS(a))for(tH(t),a=t.input.charCodeAt(t.position),i++,t.lineIndent=0;32===a;)t.lineIndent++,a=t.input.charCodeAt(++t.position);else break}return -1!==r&&0!==i&&t.lineIndent<r&&tP(t,"deficient indentation"),i}function tY(t){var e,r=t.position;return!!((45===(e=t.input.charCodeAt(r))||46===e)&&e===t.input.charCodeAt(r+1)&&e===t.input.charCodeAt(r+2)&&(r+=3,0===(e=t.input.charCodeAt(r))||tB(e)))||!1}function tG(t,e){1===e?t.result+=" ":e>1&&(t.result+=s("\n",e-1))}function tV(t,e,r){var i,a,o,n,s,l,h,c,d=t.kind,u=t.result;if(tB(c=t.input.charCodeAt(t.position))||tF(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c||(63===c||45===c)&&(tB(i=t.input.charCodeAt(t.position+1))||r&&tF(i)))return!1;for(t.kind="scalar",t.result="",a=o=t.position,n=!1;0!==c;){if(58===c){if(tB(i=t.input.charCodeAt(t.position+1))||r&&tF(i))break}else if(35===c){if(tB(t.input.charCodeAt(t.position-1)))break}else if(t.position===t.lineStart&&tY(t)||r&&tF(c))break;else if(tS(c)){if(s=t.line,l=t.lineStart,h=t.lineIndent,tU(t,!1,-1),t.lineIndent>=e){n=!0,c=t.input.charCodeAt(t.position);continue}t.position=o,t.line=s,t.lineStart=l,t.lineIndent=h;break}n&&(tW(t,a,o,!1),tG(t,t.line-s),a=o=t.position,n=!1),tw(c)||(o=t.position+1),c=t.input.charCodeAt(++t.position)}return tW(t,a,o,!1),!!t.result||(t.kind=d,t.result=u,!1)}function tX(t,e){var r,i,a;if(39!==(r=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,i=a=t.position;0!==(r=t.input.charCodeAt(t.position));)if(39===r){if(tW(t,i,t.position,!0),39!==(r=t.input.charCodeAt(++t.position)))return!0;i=t.position,t.position++,a=t.position}else tS(r)?(tW(t,i,a,!0),tG(t,tU(t,!1,e)),i=a=t.position):t.position===t.lineStart&&tY(t)?tR(t,"unexpected end of the document within a single quoted scalar"):(t.position++,a=t.position);tR(t,"unexpected end of the stream within a single quoted scalar")}function tZ(t,e){var r,i,a,o,n,s;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=i=t.position;0!==(s=t.input.charCodeAt(t.position));)if(34===s)return tW(t,r,t.position,!0),t.position++,!0;else if(92===s){if(tW(t,r,t.position,!0),tS(s=t.input.charCodeAt(++t.position)))tU(t,!1,e);else if(s<256&&tI[s])t.result+=tD[s],t.position++;else if((n=tM(s))>0){for(a=n,o=0;a>0;a--)(n=tL(s=t.input.charCodeAt(++t.position)))>=0?o=(o<<4)+n:tR(t,"expected hexadecimal character");t.result+=tK(o),t.position++}else tR(t,"unknown escape sequence");r=i=t.position}else tS(s)?(tW(t,r,i,!0),tG(t,tU(t,!1,e)),r=i=t.position):t.position===t.lineStart&&tY(t)?tR(t,"unexpected end of the document within a double quoted scalar"):(t.position++,i=t.position);tR(t,"unexpected end of the stream within a double quoted scalar")}function tQ(t,e){var r,i,a,o,n,s,l,h,c,d,u,p,f=!0,g=t.tag,m=t.anchor,y=Object.create(null);if(91===(p=t.input.charCodeAt(t.position)))n=93,h=!1,o=[];else{if(123!==p)return!1;n=125,h=!0,o={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),p=t.input.charCodeAt(++t.position);0!==p;){if(tU(t,!0,e),(p=t.input.charCodeAt(t.position))===n)return t.position++,t.tag=g,t.anchor=m,t.kind=h?"mapping":"sequence",t.result=o,!0;f?44===p&&tR(t,"expected the node content, but found ','"):tR(t,"missed comma between flow collection entries"),d=c=u=null,s=l=!1,63===p&&tB(t.input.charCodeAt(t.position+1))&&(s=l=!0,t.position++,tU(t,!0,e)),r=t.line,i=t.lineStart,a=t.position,t6(t,e,1,!1,!0),d=t.tag,c=t.result,tU(t,!0,e),p=t.input.charCodeAt(t.position),(l||t.line===r)&&58===p&&(s=!0,p=t.input.charCodeAt(++t.position),tU(t,!0,e),t6(t,e,1,!1,!0),u=t.result),h?tN(t,o,y,d,c,u,r,i,a):s?o.push(tN(t,null,y,d,c,u,r,i,a)):o.push(c),tU(t,!0,e),44===(p=t.input.charCodeAt(t.position))?(f=!0,p=t.input.charCodeAt(++t.position)):f=!1}tR(t,"unexpected end of the stream within a flow collection")}function tJ(t,e){var r,i,a,o,n=1,l=!1,h=!1,c=e,d=0,u=!1;if(124===(o=t.input.charCodeAt(t.position)))i=!1;else{if(62!==o)return!1;i=!0}for(t.kind="scalar",t.result="";0!==o;)if(43===(o=t.input.charCodeAt(++t.position))||45===o)1===n?n=43===o?3:2:tR(t,"repeat of a chomping mode identifier");else if((a=tO(o))>=0)0===a?tR(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):h?tR(t,"repeat of an indentation width identifier"):(c=e+a-1,h=!0);else break;if(tw(o)){do o=t.input.charCodeAt(++t.position);while(tw(o));if(35===o)do o=t.input.charCodeAt(++t.position);while(!tS(o)&&0!==o)}for(;0!==o;){for(tH(t),t.lineIndent=0,o=t.input.charCodeAt(t.position);(!h||t.lineIndent<c)&&32===o;)t.lineIndent++,o=t.input.charCodeAt(++t.position);if(!h&&t.lineIndent>c&&(c=t.lineIndent),tS(o)){d++;continue}if(t.lineIndent<c){3===n?t.result+=s("\n",l?1+d:d):1===n&&l&&(t.result+="\n");break}for(i?tw(o)?(u=!0,t.result+=s("\n",l?1+d:d)):u?(u=!1,t.result+=s("\n",d+1)):0===d?l&&(t.result+=" "):t.result+=s("\n",d):t.result+=s("\n",l?1+d:d),l=!0,h=!0,d=0,r=t.position;!tS(o)&&0!==o;)o=t.input.charCodeAt(++t.position);tW(t,r,t.position,!1)}return!0}function t0(t,e){var r,i,a=t.tag,o=t.anchor,n=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=n),i=t.input.charCodeAt(t.position);0!==i&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,tR(t,"tab characters must not be used in indentation")),45===i&&tB(t.input.charCodeAt(t.position+1)));){if(s=!0,t.position++,tU(t,!0,-1)&&t.lineIndent<=e){n.push(null),i=t.input.charCodeAt(t.position);continue}if(r=t.line,t6(t,e,3,!1,!0),n.push(t.result),tU(t,!0,-1),i=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&0!==i)tR(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}return!!s&&(t.tag=a,t.anchor=o,t.kind="sequence",t.result=n,!0)}function t1(t,e,r){var i,a,o,n,s,l,h,c=t.tag,d=t.anchor,u={},p=Object.create(null),f=null,g=null,m=null,y=!1,b=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=u),h=t.input.charCodeAt(t.position);0!==h;){if(y||-1===t.firstTabInLine||(t.position=t.firstTabInLine,tR(t,"tab characters must not be used in indentation")),i=t.input.charCodeAt(t.position+1),o=t.line,(63===h||58===h)&&tB(i))63===h?(y&&(tN(t,u,p,f,g,null,n,s,l),f=g=m=null),b=!0,y=!0,a=!0):y?(y=!1,a=!0):tR(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,h=i;else{if(n=t.line,s=t.lineStart,l=t.position,!t6(t,r,2,!1,!0))break;if(t.line===o){for(h=t.input.charCodeAt(t.position);tw(h);)h=t.input.charCodeAt(++t.position);if(58===h)tB(h=t.input.charCodeAt(++t.position))||tR(t,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(tN(t,u,p,f,g,null,n,s,l),f=g=m=null),b=!0,y=!1,a=!1,f=t.tag,g=t.result;else{if(!b)return t.tag=c,t.anchor=d,!0;tR(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!b)return t.tag=c,t.anchor=d,!0;tR(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}if((t.line===o||t.lineIndent>e)&&(y&&(n=t.line,s=t.lineStart,l=t.position),t6(t,e,4,!0,a)&&(y?g=t.result:m=t.result),y||(tN(t,u,p,f,g,m,n,s,l),f=g=m=null),tU(t,!0,-1),h=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&0!==h)tR(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return y&&tN(t,u,p,f,g,null,n,s,l),b&&(t.tag=c,t.anchor=d,t.kind="mapping",t.result=u),b}function t2(t){var e,r,i,a,o=!1,n=!1;if(33!==(a=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&tR(t,"duplication of a tag property"),60===(a=t.input.charCodeAt(++t.position))?(o=!0,a=t.input.charCodeAt(++t.position)):33===a?(n=!0,r="!!",a=t.input.charCodeAt(++t.position)):r="!",e=t.position,o){do a=t.input.charCodeAt(++t.position);while(0!==a&&62!==a);t.position<t.length?(i=t.input.slice(e,t.position),a=t.input.charCodeAt(++t.position)):tR(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==a&&!tB(a);)33===a&&(n?tR(t,"tag suffix cannot contain exclamation marks"):(r=t.input.slice(e-1,t.position+1),tv.test(r)||tR(t,"named tag handle cannot contain such characters"),n=!0,e=t.position+1)),a=t.input.charCodeAt(++t.position);i=t.input.slice(e,t.position),t_.test(i)&&tR(t,"tag suffix cannot contain flow indicator characters")}i&&!tT.test(i)&&tR(t,"tag name cannot contain such characters: "+i);try{i=decodeURIComponent(i)}catch(e){tR(t,"tag name is malformed: "+i)}return o?t.tag=i:tC.call(t.tagMap,r)?t.tag=t.tagMap[r]+i:"!"===r?t.tag="!"+i:"!!"===r?t.tag="tag:yaml.org,2002:"+i:tR(t,'undeclared tag handle "'+r+'"'),!0}function t5(t){var e,r;if(38!==(r=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&tR(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!tB(r)&&!tF(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&tR(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function t3(t){var e,r,i;if(42!==(i=t.input.charCodeAt(t.position)))return!1;for(i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!tB(i)&&!tF(i);)i=t.input.charCodeAt(++t.position);return t.position===e&&tR(t,"name of an alias node must contain at least one character"),r=t.input.slice(e,t.position),tC.call(t.anchorMap,r)||tR(t,'unidentified alias "'+r+'"'),t.result=t.anchorMap[r],tU(t,!0,-1),!0}function t6(t,e,r,i,a){var o,n,s,l,h,c,d,u,p,f=1,g=!1,m=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,o=n=s=4===r||3===r,i&&tU(t,!0,-1)&&(g=!0,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)),1===f)for(;t2(t)||t5(t);)tU(t,!0,-1)?(g=!0,s=o,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)):s=!1;if(s&&(s=g||a),(1===f||4===r)&&(u=1===r||2===r?e:e+1,p=t.position-t.lineStart,1===f?s&&(t0(t,p)||t1(t,p,u))||tQ(t,u)?m=!0:(n&&tJ(t,u)||tX(t,u)||tZ(t,u)?m=!0:t3(t)?(m=!0,(null!==t.tag||null!==t.anchor)&&tR(t,"alias node should not have any properties")):tV(t,u,1===r)&&(m=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===f&&(m=s&&t0(t,p))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&tR(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),l=0,h=t.implicitTypes.length;l<h;l+=1)if((d=t.implicitTypes[l]).resolve(t.result)){t.result=d.construct(t.result),t.tag=d.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(tC.call(t.typeMap[t.kind||"fallback"],t.tag))d=t.typeMap[t.kind||"fallback"][t.tag];else for(l=0,d=null,h=(c=t.typeMap.multi[t.kind||"fallback"]).length;l<h;l+=1)if(t.tag.slice(0,c[l].tag.length)===c[l].tag){d=c[l];break}d||tR(t,"unknown tag !<"+t.tag+">"),null!==t.result&&d.kind!==t.kind&&tR(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+d.kind+'", not "'+t.kind+'"'),d.resolve(t.result,t.tag)?(t.result=d.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):tR(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||m}function t4(t){var e,r,i,a,o=t.position,n=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(a=t.input.charCodeAt(t.position))&&(tU(t,!0,-1),a=t.input.charCodeAt(t.position),!(t.lineIndent>0)&&37===a);){for(n=!0,a=t.input.charCodeAt(++t.position),e=t.position;0!==a&&!tB(a);)a=t.input.charCodeAt(++t.position);for(r=t.input.slice(e,t.position),i=[],r.length<1&&tR(t,"directive name must not be less than one character in length");0!==a;){for(;tw(a);)a=t.input.charCodeAt(++t.position);if(35===a){do a=t.input.charCodeAt(++t.position);while(0!==a&&!tS(a));break}if(tS(a))break;for(e=t.position;0!==a&&!tB(a);)a=t.input.charCodeAt(++t.position);i.push(t.input.slice(e,t.position))}0!==a&&tH(t),tC.call(t$,r)?t$[r](t,r,i):tP(t,'unknown document directive "'+r+'"')}if(tU(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,tU(t,!0,-1)):n&&tR(t,"directives end mark is expected"),t6(t,t.lineIndent-1,4,!1,!0),tU(t,!0,-1),t.checkLineBreaks&&tk.test(t.input.slice(o,t.position))&&tP(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&tY(t)){46===t.input.charCodeAt(t.position)&&(t.position+=3,tU(t,!0,-1));return}t.position<t.length-1&&tR(t,"end of the stream or a document separator is expected")}function t8(t,e){t=String(t),e=e||{},0!==t.length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var r=new tz(t,e),i=t.indexOf("\0");for(-1!==i&&(r.position=i,tR(r,"null byte is not allowed in input")),r.input+="\0";32===r.input.charCodeAt(r.position);)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)t4(r);return r.documents}function t9(t,e,r){null!==e&&"object"==typeof e&&void 0===r&&(r=e,e=null);var i=t8(t,r);if("function"!=typeof e)return i;for(var a=0,o=i.length;a<o;a+=1)e(i[a])}function t7(t,e){var r=t8(t,e);if(0!==r.length){if(1===r.length)return r[0];throw new c("expected a single document in the stream, but found more")}}(0,a.K2)(tW,"captureSegment"),(0,a.K2)(tj,"mergeMappings"),(0,a.K2)(tN,"storeMappingPair"),(0,a.K2)(tH,"readLineBreak"),(0,a.K2)(tU,"skipSeparationSpace"),(0,a.K2)(tY,"testDocumentSeparator"),(0,a.K2)(tG,"writeFoldedLines"),(0,a.K2)(tV,"readPlainScalar"),(0,a.K2)(tX,"readSingleQuotedScalar"),(0,a.K2)(tZ,"readDoubleQuotedScalar"),(0,a.K2)(tQ,"readFlowCollection"),(0,a.K2)(tJ,"readBlockScalar"),(0,a.K2)(t0,"readBlockSequence"),(0,a.K2)(t1,"readBlockMapping"),(0,a.K2)(t2,"readTagProperty"),(0,a.K2)(t5,"readAnchorProperty"),(0,a.K2)(t3,"readAlias"),(0,a.K2)(t6,"composeNode"),(0,a.K2)(t4,"readDocument"),(0,a.K2)(t8,"loadDocuments"),(0,a.K2)(t9,"loadAll$1"),(0,a.K2)(t7,"load$1");var et=Object.prototype.toString,ee=Object.prototype.hasOwnProperty,er={};er[0]="\\0",er[7]="\\a",er[8]="\\b",er[9]="\\t",er[10]="\\n",er[11]="\\v",er[12]="\\f",er[13]="\\r",er[27]="\\e",er[34]='\\"',er[92]="\\\\",er[133]="\\N",er[160]="\\_",er[8232]="\\L",er[8233]="\\P";var ei=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],ea=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function eo(t,e){var r,i,a,o,n,s,l;if(null===e)return{};for(a=0,r={},o=(i=Object.keys(e)).length;a<o;a+=1)s=String(e[n=i[a]]),"!!"===n.slice(0,2)&&(n="tag:yaml.org,2002:"+n.slice(2)),(l=t.compiledTypeMap.fallback[n])&&ee.call(l.styleAliases,s)&&(s=l.styleAliases[s]),r[n]=s;return r}function en(t){var e,r,i;if(e=t.toString(16).toUpperCase(),t<=255)r="x",i=2;else if(t<=65535)r="u",i=4;else if(t<=0xffffffff)r="U",i=8;else throw new c("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+s("0",i-e.length)+e}function es(t){this.schema=t.schema||tb,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=o(t.flowLevel)?-1:t.flowLevel,this.styleMap=eo(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?2:1,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function el(t,e){for(var r,i=s(" ",e),a=0,o=-1,n="",l=t.length;a<l;)-1===(o=t.indexOf("\n",a))?(r=t.slice(a),a=l):(r=t.slice(a,o+1),a=o+1),r.length&&"\n"!==r&&(n+=i),n+=r;return n}function eh(t,e){return"\n"+s(" ",t.indent*e)}function ec(t,e){var r,i;for(r=0,i=t.implicitTypes.length;r<i;r+=1)if(t.implicitTypes[r].resolve(e))return!0;return!1}function ed(t){return 32===t||9===t}function eu(t){return 32<=t&&t<=126||161<=t&&t<=55295&&8232!==t&&8233!==t||57344<=t&&t<=65533&&65279!==t||65536<=t&&t<=1114111}function ep(t){return eu(t)&&65279!==t&&13!==t&&10!==t}function ef(t,e,r){var i=ep(t),a=i&&!ed(t);return(r?i:i&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t)&&35!==t&&!(58===e&&!a)||ep(e)&&!ed(e)&&35===t||58===e&&a}function eg(t){return eu(t)&&65279!==t&&!ed(t)&&45!==t&&63!==t&&58!==t&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t&&35!==t&&38!==t&&42!==t&&33!==t&&124!==t&&61!==t&&62!==t&&39!==t&&34!==t&&37!==t&&64!==t&&96!==t}function em(t){return!ed(t)&&58!==t}function ey(t,e){var r,i=t.charCodeAt(e);return i>=55296&&i<=56319&&e+1<t.length&&(r=t.charCodeAt(e+1))>=56320&&r<=57343?(i-55296)*1024+r-56320+65536:i}function eb(t){return/^\n* /.test(t)}function eC(t,e,r,i,a,o,n,s){var l,h=0,c=null,d=!1,u=!1,p=-1!==i,f=-1,g=eg(ey(t,0))&&em(ey(t,t.length-1));if(e||n)for(l=0;l<t.length;h>=65536?l+=2:l++){if(!eu(h=ey(t,l)))return 5;g=g&&ef(h,c,s),c=h}else{for(l=0;l<t.length;h>=65536?l+=2:l++){if(10===(h=ey(t,l)))d=!0,p&&(u=u||l-f-1>i&&" "!==t[f+1],f=l);else if(!eu(h))return 5;g=g&&ef(h,c,s),c=h}u=u||p&&l-f-1>i&&" "!==t[f+1]}return d||u?r>9&&eb(t)?5:n?2===o?5:2:u?4:3:!g||n||a(t)?2===o?5:2:1}function ex(t,e,r,i,o){t.dump=function(){if(0===e.length)return 2===t.quotingType?'""':"''";if(!t.noCompatMode&&(-1!==ei.indexOf(e)||ea.test(e)))return 2===t.quotingType?'"'+e+'"':"'"+e+"'";var n=t.indent*Math.max(1,r),s=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-n),l=i||t.flowLevel>-1&&r>=t.flowLevel;function h(e){return ec(t,e)}switch((0,a.K2)(h,"testAmbiguity"),eC(e,l,t.indent,s,h,t.quotingType,t.forceQuotes&&!i,o)){case 1:return e;case 2:return"'"+e.replace(/'/g,"''")+"'";case 3:return"|"+ek(e,t.indent)+e_(el(e,n));case 4:return">"+ek(e,t.indent)+e_(el(ev(e,s),n));case 5:return'"'+eA(e)+'"';default:throw new c("impossible error: invalid scalar style")}}()}function ek(t,e){var r=eb(t)?String(e):"",i="\n"===t[t.length-1];return r+(i&&("\n"===t[t.length-2]||"\n"===t)?"+":i?"":"-")+"\n"}function e_(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function ev(t,e){for(var r,i,a,o=/(\n+)([^\n]*)/g,n=(o.lastIndex=r=-1!==(r=t.indexOf("\n"))?r:t.length,eT(t.slice(0,r),e)),s="\n"===t[0]||" "===t[0];a=o.exec(t);){var l=a[1],h=a[2];i=" "===h[0],n+=l+(s||i||""===h?"":"\n")+eT(h,e),s=i}return n}function eT(t,e){if(""===t||" "===t[0])return t;for(var r,i,a=/ [^ ]/g,o=0,n=0,s=0,l="";r=a.exec(t);)(s=r.index)-o>e&&(i=n>o?n:s,l+="\n"+t.slice(o,i),o=i+1),n=s;return l+="\n",t.length-o>e&&n>o?l+=t.slice(o,n)+"\n"+t.slice(n+1):l+=t.slice(o),l.slice(1)}function eA(t){for(var e,r="",i=0,a=0;a<t.length;i>=65536?a+=2:a++)!(e=er[i=ey(t,a)])&&eu(i)?(r+=t[a],i>=65536&&(r+=t[a+1])):r+=e||en(i);return r}function eS(t,e,r){var i,a,o,n="",s=t.tag;for(i=0,a=r.length;i<a;i+=1)o=r[i],t.replacer&&(o=t.replacer.call(r,String(i),o)),(eM(t,e,o,!1,!1)||void 0===o&&eM(t,e,null,!1,!1))&&(""!==n&&(n+=","+(t.condenseFlow?"":" ")),n+=t.dump);t.tag=s,t.dump="["+n+"]"}function ew(t,e,r,i){var a,o,n,s="",l=t.tag;for(a=0,o=r.length;a<o;a+=1)n=r[a],t.replacer&&(n=t.replacer.call(r,String(a),n)),(eM(t,e+1,n,!0,!0,!1,!0)||void 0===n&&eM(t,e+1,null,!0,!0,!1,!0))&&(i&&""===s||(s+=eh(t,e)),t.dump&&10===t.dump.charCodeAt(0)?s+="-":s+="- ",s+=t.dump);t.tag=l,t.dump=s||"[]"}function eB(t,e,r){var i,a,o,n,s,l="",h=t.tag,c=Object.keys(r);for(i=0,a=c.length;i<a;i+=1)s="",""!==l&&(s+=", "),t.condenseFlow&&(s+='"'),n=r[o=c[i]],t.replacer&&(n=t.replacer.call(r,o,n)),eM(t,e,o,!1,!1)&&(t.dump.length>1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),eM(t,e,n,!1,!1)&&(s+=t.dump,l+=s));t.tag=h,t.dump="{"+l+"}"}function eF(t,e,r,i){var a,o,n,s,l,h,d="",u=t.tag,p=Object.keys(r);if(!0===t.sortKeys)p.sort();else if("function"==typeof t.sortKeys)p.sort(t.sortKeys);else if(t.sortKeys)throw new c("sortKeys must be a boolean or a function");for(a=0,o=p.length;a<o;a+=1)h="",i&&""===d||(h+=eh(t,e)),s=r[n=p[a]],t.replacer&&(s=t.replacer.call(r,n,s)),eM(t,e+1,n,!0,!0,!0)&&((l=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024)&&(t.dump&&10===t.dump.charCodeAt(0)?h+="?":h+="? "),h+=t.dump,l&&(h+=eh(t,e)),eM(t,e+1,s,!0,l)&&(t.dump&&10===t.dump.charCodeAt(0)?h+=":":h+=": ",h+=t.dump,d+=h));t.tag=u,t.dump=d||"{}"}function eL(t,e,r){var i,a,o,n,s,l;for(o=0,n=(a=r?t.explicitTypes:t.implicitTypes).length;o<n;o+=1)if(((s=a[o]).instanceOf||s.predicate)&&(!s.instanceOf||"object"==typeof e&&e instanceof s.instanceOf)&&(!s.predicate||s.predicate(e))){if(r?s.multi&&s.representName?t.tag=s.representName(e):t.tag=s.tag:t.tag="?",s.represent){if(l=t.styleMap[s.tag]||s.defaultStyle,"[object Function]"===et.call(s.represent))i=s.represent(e,l);else if(ee.call(s.represent,l))i=s.represent[l](e,l);else throw new c("!<"+s.tag+'> tag resolver accepts not "'+l+'" style');t.dump=i}return!0}return!1}function eM(t,e,r,i,a,o,n){t.tag=null,t.dump=r,eL(t,r,!1)||eL(t,r,!0);var s=et.call(t.dump),l=i;i&&(i=t.flowLevel<0||t.flowLevel>e);var h,d,u,p="[object Object]"===s||"[object Array]"===s;if(p&&(u=-1!==(d=t.duplicates.indexOf(r))),(null!==t.tag&&"?"!==t.tag||u||2!==t.indent&&e>0)&&(a=!1),u&&t.usedDuplicates[d])t.dump="*ref_"+d;else{if(p&&u&&!t.usedDuplicates[d]&&(t.usedDuplicates[d]=!0),"[object Object]"===s)i&&0!==Object.keys(t.dump).length?(eF(t,e,t.dump,a),u&&(t.dump="&ref_"+d+t.dump)):(eB(t,e,t.dump),u&&(t.dump="&ref_"+d+" "+t.dump));else if("[object Array]"===s)i&&0!==t.dump.length?(t.noArrayIndent&&!n&&e>0?ew(t,e-1,t.dump,a):ew(t,e,t.dump,a),u&&(t.dump="&ref_"+d+t.dump)):(eS(t,e,t.dump),u&&(t.dump="&ref_"+d+" "+t.dump));else if("[object String]"===s)"?"!==t.tag&&ex(t,t.dump,e,o,l);else{if("[object Undefined]"===s||t.skipInvalid)return!1;throw new c("unacceptable kind of an object to dump "+s)}null!==t.tag&&"?"!==t.tag&&(h=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),h="!"===t.tag[0]?"!"+h:"tag:yaml.org,2002:"===h.slice(0,18)?"!!"+h.slice(18):"!<"+h+">",t.dump=h+" "+t.dump)}return!0}function eO(t,e){var r,i,a=[],o=[];for(eE(t,a,o),r=0,i=o.length;r<i;r+=1)e.duplicates.push(a[o[r]]);e.usedDuplicates=Array(i)}function eE(t,e,r){var i,a,o;if(null!==t&&"object"==typeof t)if(-1!==(a=e.indexOf(t)))-1===r.indexOf(a)&&r.push(a);else if(e.push(t),Array.isArray(t))for(a=0,o=t.length;a<o;a+=1)eE(t[a],e,r);else for(a=0,o=(i=Object.keys(t)).length;a<o;a+=1)eE(t[i[a]],e,r)}(0,a.K2)(eo,"compileStyleMap"),(0,a.K2)(en,"encodeHex"),(0,a.K2)(es,"State"),(0,a.K2)(el,"indentString"),(0,a.K2)(eh,"generateNextLine"),(0,a.K2)(ec,"testImplicitResolving"),(0,a.K2)(ed,"isWhitespace"),(0,a.K2)(eu,"isPrintable"),(0,a.K2)(ep,"isNsCharOrWhitespace"),(0,a.K2)(ef,"isPlainSafe"),(0,a.K2)(eg,"isPlainSafeFirst"),(0,a.K2)(em,"isPlainSafeLast"),(0,a.K2)(ey,"codePointAt"),(0,a.K2)(eb,"needIndentIndicator");function eK(t,e){return function(){throw Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}(0,a.K2)(eC,"chooseScalarStyle"),(0,a.K2)(ex,"writeScalar"),(0,a.K2)(ek,"blockHeader"),(0,a.K2)(e_,"dropEndingNewline"),(0,a.K2)(ev,"foldString"),(0,a.K2)(eT,"foldLine"),(0,a.K2)(eA,"escapeString"),(0,a.K2)(eS,"writeFlowSequence"),(0,a.K2)(ew,"writeBlockSequence"),(0,a.K2)(eB,"writeFlowMapping"),(0,a.K2)(eF,"writeBlockMapping"),(0,a.K2)(eL,"detectType"),(0,a.K2)(eM,"writeNode"),(0,a.K2)(eO,"getDuplicateReferences"),(0,a.K2)(eE,"inspectNode"),(0,a.K2)(function(t,e){var r=new es(e=e||{});r.noRefs||eO(t,r);var i=t;return(r.replacer&&(i=r.replacer.call({"":i},"",i)),eM(r,0,i,!0,!0))?r.dump+"\n":""},"dump$1"),(0,a.K2)(eK,"renamed");var eI=N,eD=t7;eK("safeLoad","load"),eK("safeLoadAll","loadAll"),eK("safeDump","dump")},85541:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){return function(){return t}}},86291:function(t){t.exports=function(){"use strict";var t="millisecond",e="second",r="minute",i="hour",a="week",o="month",n="quarter",s="year",l="date",h="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,u=function(t,e,r){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(r)+t},p="en",f={};f[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}};var g="$isDayjsObject",m=function(t){return t instanceof x||!(!t||!t[g])},y=function t(e,r,i){var a;if(!e)return p;if("string"==typeof e){var o=e.toLowerCase();f[o]&&(a=o),r&&(f[o]=r,a=o);var n=e.split("-");if(!a&&n.length>1)return t(n[0])}else{var s=e.name;f[s]=e,a=s}return!i&&a&&(p=a),a||!i&&p},b=function(t,e){if(m(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new x(r)},C={s:u,z:function(t){var e=-t.utcOffset(),r=Math.abs(e);return(e<=0?"+":"-")+u(Math.floor(r/60),2,"0")+":"+u(r%60,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var i=12*(r.year()-e.year())+(r.month()-e.month()),a=e.clone().add(i,o),n=r-a<0,s=e.clone().add(i+(n?-1:1),o);return+(-(i+(r-a)/(n?a-s:s-a))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(h){return({M:o,y:s,w:a,d:"day",D:l,h:i,m:r,s:e,ms:t,Q:n})[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};C.l=y,C.i=m,C.w=function(t,e){return b(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var x=function(){function u(t){this.$L=y(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[g]=!0}var p=u.prototype;return p.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(C.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(c);if(i){var a=i[2]-1||0,o=(i[7]||"0").substring(0,3);return r?new Date(Date.UTC(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)):new Date(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)}}return new Date(e)}(t),this.init()},p.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},p.$utils=function(){return C},p.isValid=function(){return this.$d.toString()!==h},p.isSame=function(t,e){var r=b(t);return this.startOf(e)<=r&&r<=this.endOf(e)},p.isAfter=function(t,e){return b(t)<this.startOf(e)},p.isBefore=function(t,e){return this.endOf(e)<b(t)},p.$g=function(t,e,r){return C.u(t)?this[e]:this.set(r,t)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(t,n){var h=this,c=!!C.u(n)||n,d=C.p(t),u=function(t,e){var r=C.w(h.$u?Date.UTC(h.$y,e,t):new Date(h.$y,e,t),h);return c?r:r.endOf("day")},p=function(t,e){return C.w(h.toDate()[t].apply(h.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(e)),h)},f=this.$W,g=this.$M,m=this.$D,y="set"+(this.$u?"UTC":"");switch(d){case s:return c?u(1,0):u(31,11);case o:return c?u(1,g):u(0,g+1);case a:var b=this.$locale().weekStart||0,x=(f<b?f+7:f)-b;return u(c?m-x:m+(6-x),g);case"day":case l:return p(y+"Hours",0);case i:return p(y+"Minutes",1);case r:return p(y+"Seconds",2);case e:return p(y+"Milliseconds",3);default:return this.clone()}},p.endOf=function(t){return this.startOf(t,!1)},p.$set=function(a,n){var h,c=C.p(a),d="set"+(this.$u?"UTC":""),u=((h={}).day=d+"Date",h[l]=d+"Date",h[o]=d+"Month",h[s]=d+"FullYear",h[i]=d+"Hours",h[r]=d+"Minutes",h[e]=d+"Seconds",h[t]=d+"Milliseconds",h)[c],p="day"===c?this.$D+(n-this.$W):n;if(c===o||c===s){var f=this.clone().set(l,1);f.$d[u](p),f.init(),this.$d=f.set(l,Math.min(this.$D,f.daysInMonth())).$d}else u&&this.$d[u](p);return this.init(),this},p.set=function(t,e){return this.clone().$set(t,e)},p.get=function(t){return this[C.p(t)]()},p.add=function(t,n){var l,h=this;t=Number(t);var c=C.p(n),d=function(e){var r=b(h);return C.w(r.date(r.date()+Math.round(e*t)),h)};if(c===o)return this.set(o,this.$M+t);if(c===s)return this.set(s,this.$y+t);if("day"===c)return d(1);if(c===a)return d(7);var u=((l={})[r]=6e4,l[i]=36e5,l[e]=1e3,l)[c]||1,p=this.$d.getTime()+t*u;return C.w(p,this)},p.subtract=function(t,e){return this.add(-1*t,e)},p.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var i=t||"YYYY-MM-DDTHH:mm:ssZ",a=C.z(this),o=this.$H,n=this.$m,s=this.$M,l=r.weekdays,c=r.months,u=r.meridiem,p=function(t,r,a,o){return t&&(t[r]||t(e,i))||a[r].slice(0,o)},f=function(t){return C.s(o%12||12,t,"0")},g=u||function(t,e,r){var i=t<12?"AM":"PM";return r?i.toLowerCase():i};return i.replace(d,function(t,i){return i||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return C.s(e.$y,4,"0");case"M":return s+1;case"MM":return C.s(s+1,2,"0");case"MMM":return p(r.monthsShort,s,c,3);case"MMMM":return p(c,s);case"D":return e.$D;case"DD":return C.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return p(r.weekdaysMin,e.$W,l,2);case"ddd":return p(r.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(o);case"HH":return C.s(o,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return g(o,n,!0);case"A":return g(o,n,!1);case"m":return String(n);case"mm":return C.s(n,2,"0");case"s":return String(e.$s);case"ss":return C.s(e.$s,2,"0");case"SSS":return C.s(e.$ms,3,"0");case"Z":return a}return null}(t)||a.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(t,l,h){var c,d=this,u=C.p(l),p=b(t),f=(p.utcOffset()-this.utcOffset())*6e4,g=this-p,m=function(){return C.m(d,p)};switch(u){case s:c=m()/12;break;case o:c=m();break;case n:c=m()/3;break;case a:c=(g-f)/6048e5;break;case"day":c=(g-f)/864e5;break;case i:c=g/36e5;break;case r:c=g/6e4;break;case e:c=g/1e3;break;default:c=g}return h?c:C.a(c)},p.daysInMonth=function(){return this.endOf(o).$D},p.$locale=function(){return f[this.$L]},p.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),i=y(t,e,!0);return i&&(r.$L=i),r},p.clone=function(){return C.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},u}(),k=x.prototype;return b.prototype=k,[["$ms",t],["$s",e],["$m",r],["$H",i],["$W","day"],["$M",o],["$y",s],["$D",l]].forEach(function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),b.extend=function(t,e){return t.$i||(t(e,x,b),t.$i=!0),b},b.locale=y,b.isDayjs=m,b.unix=function(t){return b(1e3*t)},b.en=f[p],b.Ls=f,b.p={},b}()},86780:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(62260),a=(0,r(13472).A)(Object.keys,Object),o=Object.prototype.hasOwnProperty;let n=function(t){if(!(0,i.A)(t))return a(t);var e=[];for(var r in Object(t))o.call(t,r)&&"constructor"!=r&&e.push(r);return e}},87306:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(89173),a=r(5653);let o=function(t){return(0,a.A)(t)&&(0,i.A)(t)}},89071:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var i=r(79898),a=r(2005),o=r(5653),n={};n["[object Float32Array]"]=n["[object Float64Array]"]=n["[object Int8Array]"]=n["[object Int16Array]"]=n["[object Int32Array]"]=n["[object Uint8Array]"]=n["[object Uint8ClampedArray]"]=n["[object Uint16Array]"]=n["[object Uint32Array]"]=!0,n["[object Arguments]"]=n["[object Array]"]=n["[object ArrayBuffer]"]=n["[object Boolean]"]=n["[object DataView]"]=n["[object Date]"]=n["[object Error]"]=n["[object Function]"]=n["[object Map]"]=n["[object Number]"]=n["[object Object]"]=n["[object RegExp]"]=n["[object Set]"]=n["[object String]"]=n["[object WeakMap]"]=!1;var s=r(4202),l=r(67042),h=l.A&&l.A.isTypedArray;let c=h?(0,s.A)(h):function(t){return(0,o.A)(t)&&(0,a.A)(t.length)&&!!n[(0,i.A)(t)]}},89173:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(30965),a=r(2005);let o=function(t){return null!=t&&(0,a.A)(t.length)&&!(0,i.A)(t)}},93393:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(27851),a=r(4348),o=r(7483);function n(t){var e=this.__data__=new i.A(t);this.size=e.size}n.prototype.clear=function(){this.__data__=new i.A,this.size=0},n.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},n.prototype.get=function(t){return this.__data__.get(t)},n.prototype.has=function(t){return this.__data__.has(t)},n.prototype.set=function(t,e){var r=this.__data__;if(r instanceof i.A){var n=r.__data__;if(!a.A||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new o.A(n)}return r.set(t,e),this.size=r.size,this};let s=n},93780:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(62330),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof module&&module&&!module.nodeType&&module,n=o&&o.exports===a?i.A.Buffer:void 0;let s=(n?n.isBuffer:void 0)||function(){return!1}},94090:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},98393:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});let i=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var a=Math.max;let o=function(t,e,r){return e=a(void 0===e?t.length-1:e,0),function(){for(var o=arguments,n=-1,s=a(o.length-e,0),l=Array(s);++n<s;)l[n]=o[e+n];n=-1;for(var h=Array(e+1);++n<e;)h[n]=o[n];return h[e]=r(l),i(t,this,h)}}},99870:(t,e,r)=>{"use strict";r.d(e,{XX:()=>d,q7:()=>u,sO:()=>c});var i=r(48080),a=r(87005),o=r(59661),n=r(77109),s=r(69830),l={common:n.Y2,getConfig:n.zj,insertCluster:a.U,insertEdge:i.Jo,insertEdgeLabel:i.jP,insertMarkers:i.g0,insertNode:a.on,interpolateToCurve:o.Ib,labelHelper:a.Zk,log:s.Rm,positionEdgeLabel:i.T_},h={},c=(0,s.K2)(t=>{for(let e of t)h[e.name]=e},"registerLayoutLoaders");(0,s.K2)(()=>{c([{name:"dagre",loader:(0,s.K2)(async()=>await Promise.all([r.e(64191),r.e(12860),r.e(82309)]).then(r.bind(r,82309)),"loader")},{name:"cose-bilkent",loader:(0,s.K2)(async()=>await Promise.all([r.e(13285),r.e(12571)]).then(r.bind(r,12571)),"loader")}])},"registerDefaultLayoutLoaders")();var d=(0,s.K2)(async(t,e)=>{if(!(t.layoutAlgorithm in h))throw Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);let r=h[t.layoutAlgorithm];return(await r.loader()).render(t,e,l,{algorithm:r.algorithm})},"render"),u=(0,s.K2)((t="",{fallback:e="dagre"}={})=>{if(t in h)return t;if(e in h)return s.Rm.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm")},99988:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});let i=function(t,e){for(var r=-1,i=Array(t);++r<t;)i[r]=e(r);return i};var a=r(47312),o=r(63114),n=r(93780),s=r(77126),l=r(89071),h=Object.prototype.hasOwnProperty;let c=function(t,e){var r=(0,o.A)(t),c=!r&&(0,a.A)(t),d=!r&&!c&&(0,n.A)(t),u=!r&&!c&&!d&&(0,l.A)(t),p=r||c||d||u,f=p?i(t.length,String):[],g=f.length;for(var m in t)(e||h.call(t,m))&&!(p&&("length"==m||d&&("offset"==m||"parent"==m)||u&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||(0,s.A)(m,g)))&&f.push(m);return f}}}]);
90
+ `},"getStyles"),tW=(0,o.K2)((t,e)=>{void 0!==e&&(tN[t]=e)},"addStylesForDiagram"),tH=tj,tU={};(0,o.VA)(tU,{clear:()=>tZ,getAccDescription:()=>t1,getAccTitle:()=>tJ,getDiagramTitle:()=>t5,setAccDescription:()=>t0,setAccTitle:()=>tQ,setDiagramTitle:()=>t2});var tY="",tG="",tV="",tX=(0,o.K2)(t=>ty(t,tr()),"sanitizeText"),tZ=(0,o.K2)(()=>{tY="",tV="",tG=""},"clear"),tQ=(0,o.K2)(t=>{tY=tX(t).replace(/^\s+/g,"")},"setAccTitle"),tJ=(0,o.K2)(()=>tY,"getAccTitle"),t0=(0,o.K2)(t=>{tV=tX(t).replace(/\n\s+/g,"\n")},"setAccDescription"),t1=(0,o.K2)(()=>tV,"getAccDescription"),t2=(0,o.K2)(t=>{tG=tX(t)},"setDiagramTitle"),t5=(0,o.K2)(()=>tG,"getDiagramTitle"),t3=o.Rm,t6=o.He,t4=tr,t8=te,t9=U,t7=(0,o.K2)(t=>ty(t,t4()),"sanitizeText"),et=tP,ee=(0,o.K2)(()=>tU,"getCommonDb"),er={},ei=(0,o.K2)((t,e,r)=>{er[t]&&t3.warn(`Diagram with id ${t} already registered. Overwriting.`),er[t]=e,r&&_(t,r),tW(t,e.styles),e.injectUtils?.(t3,t6,t4,t7,et,ee(),()=>{})},"registerDiagram"),ea=(0,o.K2)(t=>{if(t in er)return er[t];throw new eo(t)},"getDiagram"),eo=class extends Error{static{(0,o.K2)(this,"DiagramNotFoundError")}constructor(t){super(`Diagram ${t} not found.`)}}},77126:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=/^(?:0|[1-9]\d*)$/;let a=function(t,e){var r=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&("number"==r||"symbol"!=r&&i.test(t))&&t>-1&&t%1==0&&t<e}},78742:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(10697),a=r(53704),o=r(28212),n=r(13427);let s=(t,e,r=0,s=1)=>{if("number"!=typeof t)return(0,n.A)(t,{a:e});let l=a.A.set({r:i.A.channel.clamp.r(t),g:i.A.channel.clamp.g(e),b:i.A.channel.clamp.b(r),a:i.A.channel.clamp.a(s)});return o.A.stringify(l)}},79898:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var i=r(62718),a=Object.prototype,o=a.hasOwnProperty,n=a.toString,s=i.A?i.A.toStringTag:void 0;let l=function(t){var e=o.call(t,s),r=t[s];try{t[s]=void 0;var i=!0}catch(t){}var a=n.call(t);return i&&(e?t[s]=r:delete t[s]),a};var h=Object.prototype.toString,c=i.A?i.A.toStringTag:void 0;let d=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?l(t):h.call(t)}},84050:(t,e,r)=>{"use strict";r.d(e,{H:()=>eD,r:()=>eI});var i,a=r(69830);function o(t){return null==t}function n(t){return"object"==typeof t&&null!==t}function s(t,e){var r,i="";for(r=0;r<e;r+=1)i+=t;return i}function l(t){return 0===t&&-1/0==1/t}(0,a.K2)(o,"isNothing"),(0,a.K2)(n,"isObject"),(0,a.K2)(function(t){return Array.isArray(t)?t:o(t)?[]:[t]},"toArray"),(0,a.K2)(function(t,e){var r,i,a,o;if(e)for(r=0,i=(o=Object.keys(e)).length;r<i;r+=1)t[a=o[r]]=e[a];return t},"extend"),(0,a.K2)(s,"repeat"),(0,a.K2)(l,"isNegativeZero");function h(t,e){var r="",i=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(r+='in "'+t.mark.name+'" '),r+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(r+="\n\n"+t.mark.snippet),i+" "+r):i}function c(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=h(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}function d(t,e,r,i,a){var o="",n="",s=Math.floor(a/2)-1;return i-e>s&&(e=i-s+(o=" ... ").length),r-i>s&&(r=i+s-(n=" ...").length),{str:o+t.slice(e,r).replace(/\t/g,"→")+n,pos:i-e+o.length}}function u(t,e){return s(" ",e-t.length)+t}function p(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var r=/\r?\n|\r|\0/g,i=[0],a=[],o=-1;n=r.exec(t.buffer);)a.push(n.index),i.push(n.index+n[0].length),t.position<=n.index&&o<0&&(o=i.length-2);o<0&&(o=i.length-1);var n,l,h,c="",p=Math.min(t.line+e.linesAfter,a.length).toString().length,f=e.maxLength-(e.indent+p+3);for(l=1;l<=e.linesBefore&&!(o-l<0);l++)h=d(t.buffer,i[o-l],a[o-l],t.position-(i[o]-i[o-l]),f),c=s(" ",e.indent)+u((t.line-l+1).toString(),p)+" | "+h.str+"\n"+c;for(h=d(t.buffer,i[o],a[o],t.position,f),c+=s(" ",e.indent)+u((t.line+1).toString(),p)+" | "+h.str+"\n"+s("-",e.indent+p+3+h.pos)+"^\n",l=1;l<=e.linesAfter&&!(o+l>=a.length);l++)h=d(t.buffer,i[o+l],a[o+l],t.position-(i[o]-i[o+l]),f),c+=s(" ",e.indent)+u((t.line+l+1).toString(),p)+" | "+h.str+"\n";return c.replace(/\n$/,"")}(0,a.K2)(h,"formatError"),(0,a.K2)(c,"YAMLException$1"),c.prototype=Object.create(Error.prototype),c.prototype.constructor=c,c.prototype.toString=(0,a.K2)(function(t){return this.name+": "+h(this,t)},"toString"),(0,a.K2)(d,"getLine"),(0,a.K2)(u,"padStart"),(0,a.K2)(p,"makeSnippet");var f=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],g=["scalar","sequence","mapping"];function m(t){var e={};return null!==t&&Object.keys(t).forEach(function(r){t[r].forEach(function(t){e[String(t)]=r})}),e}function y(t,e){if(Object.keys(e=e||{}).forEach(function(e){if(-1===f.indexOf(e))throw new c('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=m(e.styleAliases||null),-1===g.indexOf(this.kind))throw new c('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}function b(t,e){var r=[];return t[e].forEach(function(t){var e=r.length;r.forEach(function(r,i){r.tag===t.tag&&r.kind===t.kind&&r.multi===t.multi&&(e=i)}),r[e]=t}),r}function x(){var t,e,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function i(t){t.multi?(r.multi[t.kind].push(t),r.multi.fallback.push(t)):r[t.kind][t.tag]=r.fallback[t.tag]=t}for((0,a.K2)(i,"collectType"),t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(i);return r}function C(t){return this.extend(t)}(0,a.K2)(m,"compileStyleAliases"),(0,a.K2)(y,"Type$1"),(0,a.K2)(b,"compileList"),(0,a.K2)(x,"compileMap"),(0,a.K2)(C,"Schema$1"),C.prototype.extend=(0,a.K2)(function(t){var e=[],r=[];if(t instanceof y)r.push(t);else if(Array.isArray(t))r=r.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(r=r.concat(t.explicit));else throw new c("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.forEach(function(t){if(!(t instanceof y))throw new c("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new c("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new c("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(t){if(!(t instanceof y))throw new c("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var i=Object.create(C.prototype);return i.implicit=(this.implicit||[]).concat(e),i.explicit=(this.explicit||[]).concat(r),i.compiledImplicit=b(i,"implicit"),i.compiledExplicit=b(i,"explicit"),i.compiledTypeMap=x(i.compiledImplicit,i.compiledExplicit),i},"extend");var k=new C({explicit:[new y("tag:yaml.org,2002:str",{kind:"scalar",construct:(0,a.K2)(function(t){return null!==t?t:""},"construct")}),new y("tag:yaml.org,2002:seq",{kind:"sequence",construct:(0,a.K2)(function(t){return null!==t?t:[]},"construct")}),new y("tag:yaml.org,2002:map",{kind:"mapping",construct:(0,a.K2)(function(t){return null!==t?t:{}},"construct")})]});function _(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)}function v(){return null}function A(t){return null===t}(0,a.K2)(_,"resolveYamlNull"),(0,a.K2)(v,"constructYamlNull"),(0,a.K2)(A,"isNull");var T=new y("tag:yaml.org,2002:null",{kind:"scalar",resolve:_,construct:v,predicate:A,represent:{canonical:(0,a.K2)(function(){return"~"},"canonical"),lowercase:(0,a.K2)(function(){return"null"},"lowercase"),uppercase:(0,a.K2)(function(){return"NULL"},"uppercase"),camelcase:(0,a.K2)(function(){return"Null"},"camelcase"),empty:(0,a.K2)(function(){return""},"empty")},defaultStyle:"lowercase"});function S(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)}function w(t){return"true"===t||"True"===t||"TRUE"===t}function B(t){return"[object Boolean]"===Object.prototype.toString.call(t)}(0,a.K2)(S,"resolveYamlBoolean"),(0,a.K2)(w,"constructYamlBoolean"),(0,a.K2)(B,"isBoolean");var F=new y("tag:yaml.org,2002:bool",{kind:"scalar",resolve:S,construct:w,predicate:B,represent:{lowercase:(0,a.K2)(function(t){return t?"true":"false"},"lowercase"),uppercase:(0,a.K2)(function(t){return t?"TRUE":"FALSE"},"uppercase"),camelcase:(0,a.K2)(function(t){return t?"True":"False"},"camelcase")},defaultStyle:"lowercase"});function L(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function M(t){return 48<=t&&t<=55}function E(t){return 48<=t&&t<=57}function O(t){if(null===t)return!1;var e,r=t.length,i=0,a=!1;if(!r)return!1;if(("-"===(e=t[i])||"+"===e)&&(e=t[++i]),"0"===e){if(i+1===r)return!0;if("b"===(e=t[++i])){for(i++;i<r;i++)if("_"!==(e=t[i])){if("0"!==e&&"1"!==e)return!1;a=!0}return a&&"_"!==e}if("x"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!L(t.charCodeAt(i)))return!1;a=!0}return a&&"_"!==e}if("o"===e){for(i++;i<r;i++)if("_"!==(e=t[i])){if(!M(t.charCodeAt(i)))return!1;a=!0}return a&&"_"!==e}}if("_"===e)return!1;for(;i<r;i++)if("_"!==(e=t[i])){if(!E(t.charCodeAt(i)))return!1;a=!0}return!!a&&"_"!==e}function K(t){var e,r=t,i=1;if(-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),("-"===(e=r[0])||"+"===e)&&("-"===e&&(i=-1),e=(r=r.slice(1))[0]),"0"===r)return 0;if("0"===e){if("b"===r[1])return i*parseInt(r.slice(2),2);if("x"===r[1])return i*parseInt(r.slice(2),16);if("o"===r[1])return i*parseInt(r.slice(2),8)}return i*parseInt(r,10)}function I(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!l(t)}(0,a.K2)(L,"isHexCode"),(0,a.K2)(M,"isOctCode"),(0,a.K2)(E,"isDecCode"),(0,a.K2)(O,"resolveYamlInteger"),(0,a.K2)(K,"constructYamlInteger"),(0,a.K2)(I,"isInteger");var D=new y("tag:yaml.org,2002:int",{kind:"scalar",resolve:O,construct:K,predicate:I,represent:{binary:(0,a.K2)(function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},"binary"),octal:(0,a.K2)(function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},"octal"),decimal:(0,a.K2)(function(t){return t.toString(10)},"decimal"),hexadecimal:(0,a.K2)(function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),$=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function q(t){return null!==t&&!!$.test(t)&&"_"!==t[t.length-1]}function z(t){var e,r;return(r="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e)?1===r?1/0:-1/0:".nan"===e?NaN:r*parseFloat(e,10)}(0,a.K2)(q,"resolveYamlFloat"),(0,a.K2)(z,"constructYamlFloat");var R=/^[-+]?[0-9]+e/;function P(t,e){var r;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(1/0===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(-1/0===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(l(t))return"-0.0";return r=t.toString(10),R.test(r)?r.replace("e",".e"):r}function N(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||l(t))}(0,a.K2)(P,"representYamlFloat"),(0,a.K2)(N,"isFloat");var j=new y("tag:yaml.org,2002:float",{kind:"scalar",resolve:q,construct:z,predicate:N,represent:P,defaultStyle:"lowercase"}),W=k.extend({implicit:[T,F,D,j]}),H=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),U=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Y(t){return null!==t&&(null!==H.exec(t)||null!==U.exec(t))}function G(t){var e,r,i,a,o,n,s,l,h=0,c=null;if(null===(e=H.exec(t))&&(e=U.exec(t)),null===e)throw Error("Date resolve error");if(r=+e[1],i=e[2]-1,a=+e[3],!e[4])return new Date(Date.UTC(r,i,a));if(o=+e[4],n=+e[5],s=+e[6],e[7]){for(h=e[7].slice(0,3);h.length<3;)h+="0";h*=1}return e[9]&&(c=(60*e[10]+ +(e[11]||0))*6e4,"-"===e[9]&&(c=-c)),l=new Date(Date.UTC(r,i,a,o,n,s,h)),c&&l.setTime(l.getTime()-c),l}function V(t){return t.toISOString()}(0,a.K2)(Y,"resolveYamlTimestamp"),(0,a.K2)(G,"constructYamlTimestamp"),(0,a.K2)(V,"representYamlTimestamp");var X=new y("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Y,construct:G,instanceOf:Date,represent:V});function Z(t){return"<<"===t||null===t}(0,a.K2)(Z,"resolveYamlMerge");var Q=new y("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Z}),J="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function tt(t){if(null===t)return!1;var e,r,i=0,a=t.length;for(r=0;r<a;r++)if(!((e=J.indexOf(t.charAt(r)))>64)){if(e<0)return!1;i+=6}return i%8==0}function te(t){var e,r,i=t.replace(/[\r\n=]/g,""),a=i.length,o=0,n=[];for(e=0;e<a;e++)e%4==0&&e&&(n.push(o>>16&255),n.push(o>>8&255),n.push(255&o)),o=o<<6|J.indexOf(i.charAt(e));return 0==(r=a%4*6)?(n.push(o>>16&255),n.push(o>>8&255),n.push(255&o)):18===r?(n.push(o>>10&255),n.push(o>>2&255)):12===r&&n.push(o>>4&255),new Uint8Array(n)}function tr(t){var e,r,i="",a=0,o=t.length;for(e=0;e<o;e++)e%3==0&&e&&(i+=J[a>>18&63],i+=J[a>>12&63],i+=J[a>>6&63],i+=J[63&a]),a=(a<<8)+t[e];return 0==(r=o%3)?(i+=J[a>>18&63],i+=J[a>>12&63],i+=J[a>>6&63],i+=J[63&a]):2===r?(i+=J[a>>10&63],i+=J[a>>4&63],i+=J[a<<2&63],i+=J[64]):1===r&&(i+=J[a>>2&63],i+=J[a<<4&63],i+=J[64],i+=J[64]),i}function ti(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}(0,a.K2)(tt,"resolveYamlBinary"),(0,a.K2)(te,"constructYamlBinary"),(0,a.K2)(tr,"representYamlBinary"),(0,a.K2)(ti,"isBinary");var ta=new y("tag:yaml.org,2002:binary",{kind:"scalar",resolve:tt,construct:te,predicate:ti,represent:tr}),to=Object.prototype.hasOwnProperty,tn=Object.prototype.toString;function ts(t){if(null===t)return!0;var e,r,i,a,o,n=[];for(e=0,r=t.length;e<r;e+=1){if(i=t[e],o=!1,"[object Object]"!==tn.call(i))return!1;for(a in i)if(to.call(i,a))if(o)return!1;else o=!0;if(!o||-1!==n.indexOf(a))return!1;n.push(a)}return!0}function tl(t){return null!==t?t:[]}(0,a.K2)(ts,"resolveYamlOmap"),(0,a.K2)(tl,"constructYamlOmap");var th=new y("tag:yaml.org,2002:omap",{kind:"sequence",resolve:ts,construct:tl}),tc=Object.prototype.toString;function td(t){var e,r,i,a,o;if(null===t)return!0;for(e=0,o=Array(t.length),r=t.length;e<r;e+=1){if(i=t[e],"[object Object]"!==tc.call(i)||1!==(a=Object.keys(i)).length)return!1;o[e]=[a[0],i[a[0]]]}return!0}function tu(t){var e,r,i,a,o;if(null===t)return[];for(e=0,o=Array(t.length),r=t.length;e<r;e+=1)a=Object.keys(i=t[e]),o[e]=[a[0],i[a[0]]];return o}(0,a.K2)(td,"resolveYamlPairs"),(0,a.K2)(tu,"constructYamlPairs");var tp=new y("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:td,construct:tu}),tf=Object.prototype.hasOwnProperty;function tg(t){var e;if(null===t)return!0;for(e in t)if(tf.call(t,e)&&null!==t[e])return!1;return!0}function tm(t){return null!==t?t:{}}(0,a.K2)(tg,"resolveYamlSet"),(0,a.K2)(tm,"constructYamlSet");var ty=new y("tag:yaml.org,2002:set",{kind:"mapping",resolve:tg,construct:tm}),tb=W.extend({implicit:[X,Q],explicit:[ta,th,tp,ty]}),tx=Object.prototype.hasOwnProperty,tC=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,tk=/[\x85\u2028\u2029]/,t_=/[,\[\]\{\}]/,tv=/^(?:!|!!|![a-z\-]+!)$/i,tA=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function tT(t){return Object.prototype.toString.call(t)}function tS(t){return 10===t||13===t}function tw(t){return 9===t||32===t}function tB(t){return 9===t||32===t||10===t||13===t}function tF(t){return 44===t||91===t||93===t||123===t||125===t}function tL(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function tM(t){return 120===t?2:117===t?4:8*(85===t)}function tE(t){return 48<=t&&t<=57?t-48:-1}function tO(t){return 48===t?"\0":97===t?"\x07":98===t?"\b":116===t||9===t?" ":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"\x1b":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"\x85":95===t?"\xa0":76===t?"\u2028":80===t?"\u2029":""}function tK(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}(0,a.K2)(tT,"_class"),(0,a.K2)(tS,"is_EOL"),(0,a.K2)(tw,"is_WHITE_SPACE"),(0,a.K2)(tB,"is_WS_OR_EOL"),(0,a.K2)(tF,"is_FLOW_INDICATOR"),(0,a.K2)(tL,"fromHexCode"),(0,a.K2)(tM,"escapedHexLen"),(0,a.K2)(tE,"fromDecimalCode"),(0,a.K2)(tO,"simpleEscapeSequence"),(0,a.K2)(tK,"charFromCodepoint");var tI=Array(256),tD=Array(256);for(i=0;i<256;i++)tI[i]=+!!tO(i),tD[i]=tO(i);function t$(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||tb,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function tq(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=p(r),new c(e,r)}function tz(t,e){throw tq(t,e)}function tR(t,e){t.onWarning&&t.onWarning.call(null,tq(t,e))}(0,a.K2)(t$,"State$1"),(0,a.K2)(tq,"generateError"),(0,a.K2)(tz,"throwError"),(0,a.K2)(tR,"throwWarning");var tP={YAML:(0,a.K2)(function(t,e,r){var i,a,o;null!==t.version&&tz(t,"duplication of %YAML directive"),1!==r.length&&tz(t,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&tz(t,"ill-formed argument of the YAML directive"),a=parseInt(i[1],10),o=parseInt(i[2],10),1!==a&&tz(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=o<2,1!==o&&2!==o&&tR(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:(0,a.K2)(function(t,e,r){var i,a;2!==r.length&&tz(t,"TAG directive accepts exactly two arguments"),i=r[0],a=r[1],tv.test(i)||tz(t,"ill-formed tag handle (first argument) of the TAG directive"),tx.call(t.tagMap,i)&&tz(t,'there is a previously declared suffix for "'+i+'" tag handle'),tA.test(a)||tz(t,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch(e){tz(t,"tag prefix is malformed: "+a)}t.tagMap[i]=a},"handleTagDirective")};function tN(t,e,r,i){var a,o,n,s;if(e<r){if(s=t.input.slice(e,r),i)for(a=0,o=s.length;a<o;a+=1)9===(n=s.charCodeAt(a))||32<=n&&n<=1114111||tz(t,"expected valid JSON character");else tC.test(s)&&tz(t,"the stream contains non-printable characters");t.result+=s}}function tj(t,e,r,i){var a,o,s,l;for(n(r)||tz(t,"cannot merge mappings; the provided source object is unacceptable"),s=0,l=(a=Object.keys(r)).length;s<l;s+=1)o=a[s],tx.call(e,o)||(e[o]=r[o],i[o]=!0)}function tW(t,e,r,i,a,o,n,s,l){var h,c;if(Array.isArray(a))for(h=0,c=(a=Array.prototype.slice.call(a)).length;h<c;h+=1)Array.isArray(a[h])&&tz(t,"nested arrays are not supported inside keys"),"object"==typeof a&&"[object Object]"===tT(a[h])&&(a[h]="[object Object]");if("object"==typeof a&&"[object Object]"===tT(a)&&(a="[object Object]"),a=String(a),null===e&&(e={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(o))for(h=0,c=o.length;h<c;h+=1)tj(t,e,o[h],r);else tj(t,e,o,r);else!t.json&&!tx.call(r,a)&&tx.call(e,a)&&(t.line=n||t.line,t.lineStart=s||t.lineStart,t.position=l||t.position,tz(t,"duplicated mapping key")),"__proto__"===a?Object.defineProperty(e,a,{configurable:!0,enumerable:!0,writable:!0,value:o}):e[a]=o,delete r[a];return e}function tH(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):tz(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function tU(t,e,r){for(var i=0,a=t.input.charCodeAt(t.position);0!==a;){for(;tw(a);)9===a&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),a=t.input.charCodeAt(++t.position);if(e&&35===a)do a=t.input.charCodeAt(++t.position);while(10!==a&&13!==a&&0!==a);if(tS(a))for(tH(t),a=t.input.charCodeAt(t.position),i++,t.lineIndent=0;32===a;)t.lineIndent++,a=t.input.charCodeAt(++t.position);else break}return -1!==r&&0!==i&&t.lineIndent<r&&tR(t,"deficient indentation"),i}function tY(t){var e,r=t.position;return!!((45===(e=t.input.charCodeAt(r))||46===e)&&e===t.input.charCodeAt(r+1)&&e===t.input.charCodeAt(r+2)&&(r+=3,0===(e=t.input.charCodeAt(r))||tB(e)))||!1}function tG(t,e){1===e?t.result+=" ":e>1&&(t.result+=s("\n",e-1))}function tV(t,e,r){var i,a,o,n,s,l,h,c,d=t.kind,u=t.result;if(tB(c=t.input.charCodeAt(t.position))||tF(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c||(63===c||45===c)&&(tB(i=t.input.charCodeAt(t.position+1))||r&&tF(i)))return!1;for(t.kind="scalar",t.result="",a=o=t.position,n=!1;0!==c;){if(58===c){if(tB(i=t.input.charCodeAt(t.position+1))||r&&tF(i))break}else if(35===c){if(tB(t.input.charCodeAt(t.position-1)))break}else if(t.position===t.lineStart&&tY(t)||r&&tF(c))break;else if(tS(c)){if(s=t.line,l=t.lineStart,h=t.lineIndent,tU(t,!1,-1),t.lineIndent>=e){n=!0,c=t.input.charCodeAt(t.position);continue}t.position=o,t.line=s,t.lineStart=l,t.lineIndent=h;break}n&&(tN(t,a,o,!1),tG(t,t.line-s),a=o=t.position,n=!1),tw(c)||(o=t.position+1),c=t.input.charCodeAt(++t.position)}return tN(t,a,o,!1),!!t.result||(t.kind=d,t.result=u,!1)}function tX(t,e){var r,i,a;if(39!==(r=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,i=a=t.position;0!==(r=t.input.charCodeAt(t.position));)if(39===r){if(tN(t,i,t.position,!0),39!==(r=t.input.charCodeAt(++t.position)))return!0;i=t.position,t.position++,a=t.position}else tS(r)?(tN(t,i,a,!0),tG(t,tU(t,!1,e)),i=a=t.position):t.position===t.lineStart&&tY(t)?tz(t,"unexpected end of the document within a single quoted scalar"):(t.position++,a=t.position);tz(t,"unexpected end of the stream within a single quoted scalar")}function tZ(t,e){var r,i,a,o,n,s;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=i=t.position;0!==(s=t.input.charCodeAt(t.position));)if(34===s)return tN(t,r,t.position,!0),t.position++,!0;else if(92===s){if(tN(t,r,t.position,!0),tS(s=t.input.charCodeAt(++t.position)))tU(t,!1,e);else if(s<256&&tI[s])t.result+=tD[s],t.position++;else if((n=tM(s))>0){for(a=n,o=0;a>0;a--)(n=tL(s=t.input.charCodeAt(++t.position)))>=0?o=(o<<4)+n:tz(t,"expected hexadecimal character");t.result+=tK(o),t.position++}else tz(t,"unknown escape sequence");r=i=t.position}else tS(s)?(tN(t,r,i,!0),tG(t,tU(t,!1,e)),r=i=t.position):t.position===t.lineStart&&tY(t)?tz(t,"unexpected end of the document within a double quoted scalar"):(t.position++,i=t.position);tz(t,"unexpected end of the stream within a double quoted scalar")}function tQ(t,e){var r,i,a,o,n,s,l,h,c,d,u,p,f=!0,g=t.tag,m=t.anchor,y=Object.create(null);if(91===(p=t.input.charCodeAt(t.position)))n=93,h=!1,o=[];else{if(123!==p)return!1;n=125,h=!0,o={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),p=t.input.charCodeAt(++t.position);0!==p;){if(tU(t,!0,e),(p=t.input.charCodeAt(t.position))===n)return t.position++,t.tag=g,t.anchor=m,t.kind=h?"mapping":"sequence",t.result=o,!0;f?44===p&&tz(t,"expected the node content, but found ','"):tz(t,"missed comma between flow collection entries"),d=c=u=null,s=l=!1,63===p&&tB(t.input.charCodeAt(t.position+1))&&(s=l=!0,t.position++,tU(t,!0,e)),r=t.line,i=t.lineStart,a=t.position,t6(t,e,1,!1,!0),d=t.tag,c=t.result,tU(t,!0,e),p=t.input.charCodeAt(t.position),(l||t.line===r)&&58===p&&(s=!0,p=t.input.charCodeAt(++t.position),tU(t,!0,e),t6(t,e,1,!1,!0),u=t.result),h?tW(t,o,y,d,c,u,r,i,a):s?o.push(tW(t,null,y,d,c,u,r,i,a)):o.push(c),tU(t,!0,e),44===(p=t.input.charCodeAt(t.position))?(f=!0,p=t.input.charCodeAt(++t.position)):f=!1}tz(t,"unexpected end of the stream within a flow collection")}function tJ(t,e){var r,i,a,o,n=1,l=!1,h=!1,c=e,d=0,u=!1;if(124===(o=t.input.charCodeAt(t.position)))i=!1;else{if(62!==o)return!1;i=!0}for(t.kind="scalar",t.result="";0!==o;)if(43===(o=t.input.charCodeAt(++t.position))||45===o)1===n?n=43===o?3:2:tz(t,"repeat of a chomping mode identifier");else if((a=tE(o))>=0)0===a?tz(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):h?tz(t,"repeat of an indentation width identifier"):(c=e+a-1,h=!0);else break;if(tw(o)){do o=t.input.charCodeAt(++t.position);while(tw(o));if(35===o)do o=t.input.charCodeAt(++t.position);while(!tS(o)&&0!==o)}for(;0!==o;){for(tH(t),t.lineIndent=0,o=t.input.charCodeAt(t.position);(!h||t.lineIndent<c)&&32===o;)t.lineIndent++,o=t.input.charCodeAt(++t.position);if(!h&&t.lineIndent>c&&(c=t.lineIndent),tS(o)){d++;continue}if(t.lineIndent<c){3===n?t.result+=s("\n",l?1+d:d):1===n&&l&&(t.result+="\n");break}for(i?tw(o)?(u=!0,t.result+=s("\n",l?1+d:d)):u?(u=!1,t.result+=s("\n",d+1)):0===d?l&&(t.result+=" "):t.result+=s("\n",d):t.result+=s("\n",l?1+d:d),l=!0,h=!0,d=0,r=t.position;!tS(o)&&0!==o;)o=t.input.charCodeAt(++t.position);tN(t,r,t.position,!1)}return!0}function t0(t,e){var r,i,a=t.tag,o=t.anchor,n=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=n),i=t.input.charCodeAt(t.position);0!==i&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,tz(t,"tab characters must not be used in indentation")),45===i&&tB(t.input.charCodeAt(t.position+1)));){if(s=!0,t.position++,tU(t,!0,-1)&&t.lineIndent<=e){n.push(null),i=t.input.charCodeAt(t.position);continue}if(r=t.line,t6(t,e,3,!1,!0),n.push(t.result),tU(t,!0,-1),i=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&0!==i)tz(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}return!!s&&(t.tag=a,t.anchor=o,t.kind="sequence",t.result=n,!0)}function t1(t,e,r){var i,a,o,n,s,l,h,c=t.tag,d=t.anchor,u={},p=Object.create(null),f=null,g=null,m=null,y=!1,b=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=u),h=t.input.charCodeAt(t.position);0!==h;){if(y||-1===t.firstTabInLine||(t.position=t.firstTabInLine,tz(t,"tab characters must not be used in indentation")),i=t.input.charCodeAt(t.position+1),o=t.line,(63===h||58===h)&&tB(i))63===h?(y&&(tW(t,u,p,f,g,null,n,s,l),f=g=m=null),b=!0,y=!0,a=!0):y?(y=!1,a=!0):tz(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,h=i;else{if(n=t.line,s=t.lineStart,l=t.position,!t6(t,r,2,!1,!0))break;if(t.line===o){for(h=t.input.charCodeAt(t.position);tw(h);)h=t.input.charCodeAt(++t.position);if(58===h)tB(h=t.input.charCodeAt(++t.position))||tz(t,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(tW(t,u,p,f,g,null,n,s,l),f=g=m=null),b=!0,y=!1,a=!1,f=t.tag,g=t.result;else{if(!b)return t.tag=c,t.anchor=d,!0;tz(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!b)return t.tag=c,t.anchor=d,!0;tz(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}if((t.line===o||t.lineIndent>e)&&(y&&(n=t.line,s=t.lineStart,l=t.position),t6(t,e,4,!0,a)&&(y?g=t.result:m=t.result),y||(tW(t,u,p,f,g,m,n,s,l),f=g=m=null),tU(t,!0,-1),h=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&0!==h)tz(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return y&&tW(t,u,p,f,g,null,n,s,l),b&&(t.tag=c,t.anchor=d,t.kind="mapping",t.result=u),b}function t2(t){var e,r,i,a,o=!1,n=!1;if(33!==(a=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&tz(t,"duplication of a tag property"),60===(a=t.input.charCodeAt(++t.position))?(o=!0,a=t.input.charCodeAt(++t.position)):33===a?(n=!0,r="!!",a=t.input.charCodeAt(++t.position)):r="!",e=t.position,o){do a=t.input.charCodeAt(++t.position);while(0!==a&&62!==a);t.position<t.length?(i=t.input.slice(e,t.position),a=t.input.charCodeAt(++t.position)):tz(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==a&&!tB(a);)33===a&&(n?tz(t,"tag suffix cannot contain exclamation marks"):(r=t.input.slice(e-1,t.position+1),tv.test(r)||tz(t,"named tag handle cannot contain such characters"),n=!0,e=t.position+1)),a=t.input.charCodeAt(++t.position);i=t.input.slice(e,t.position),t_.test(i)&&tz(t,"tag suffix cannot contain flow indicator characters")}i&&!tA.test(i)&&tz(t,"tag name cannot contain such characters: "+i);try{i=decodeURIComponent(i)}catch(e){tz(t,"tag name is malformed: "+i)}return o?t.tag=i:tx.call(t.tagMap,r)?t.tag=t.tagMap[r]+i:"!"===r?t.tag="!"+i:"!!"===r?t.tag="tag:yaml.org,2002:"+i:tz(t,'undeclared tag handle "'+r+'"'),!0}function t5(t){var e,r;if(38!==(r=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&tz(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!tB(r)&&!tF(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&tz(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function t3(t){var e,r,i;if(42!==(i=t.input.charCodeAt(t.position)))return!1;for(i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!tB(i)&&!tF(i);)i=t.input.charCodeAt(++t.position);return t.position===e&&tz(t,"name of an alias node must contain at least one character"),r=t.input.slice(e,t.position),tx.call(t.anchorMap,r)||tz(t,'unidentified alias "'+r+'"'),t.result=t.anchorMap[r],tU(t,!0,-1),!0}function t6(t,e,r,i,a){var o,n,s,l,h,c,d,u,p,f=1,g=!1,m=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,o=n=s=4===r||3===r,i&&tU(t,!0,-1)&&(g=!0,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)),1===f)for(;t2(t)||t5(t);)tU(t,!0,-1)?(g=!0,s=o,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)):s=!1;if(s&&(s=g||a),(1===f||4===r)&&(u=1===r||2===r?e:e+1,p=t.position-t.lineStart,1===f?s&&(t0(t,p)||t1(t,p,u))||tQ(t,u)?m=!0:(n&&tJ(t,u)||tX(t,u)||tZ(t,u)?m=!0:t3(t)?(m=!0,(null!==t.tag||null!==t.anchor)&&tz(t,"alias node should not have any properties")):tV(t,u,1===r)&&(m=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===f&&(m=s&&t0(t,p))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&tz(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),l=0,h=t.implicitTypes.length;l<h;l+=1)if((d=t.implicitTypes[l]).resolve(t.result)){t.result=d.construct(t.result),t.tag=d.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(tx.call(t.typeMap[t.kind||"fallback"],t.tag))d=t.typeMap[t.kind||"fallback"][t.tag];else for(l=0,d=null,h=(c=t.typeMap.multi[t.kind||"fallback"]).length;l<h;l+=1)if(t.tag.slice(0,c[l].tag.length)===c[l].tag){d=c[l];break}d||tz(t,"unknown tag !<"+t.tag+">"),null!==t.result&&d.kind!==t.kind&&tz(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+d.kind+'", not "'+t.kind+'"'),d.resolve(t.result,t.tag)?(t.result=d.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):tz(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||m}function t4(t){var e,r,i,a,o=t.position,n=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(a=t.input.charCodeAt(t.position))&&(tU(t,!0,-1),a=t.input.charCodeAt(t.position),!(t.lineIndent>0)&&37===a);){for(n=!0,a=t.input.charCodeAt(++t.position),e=t.position;0!==a&&!tB(a);)a=t.input.charCodeAt(++t.position);for(r=t.input.slice(e,t.position),i=[],r.length<1&&tz(t,"directive name must not be less than one character in length");0!==a;){for(;tw(a);)a=t.input.charCodeAt(++t.position);if(35===a){do a=t.input.charCodeAt(++t.position);while(0!==a&&!tS(a));break}if(tS(a))break;for(e=t.position;0!==a&&!tB(a);)a=t.input.charCodeAt(++t.position);i.push(t.input.slice(e,t.position))}0!==a&&tH(t),tx.call(tP,r)?tP[r](t,r,i):tR(t,'unknown document directive "'+r+'"')}if(tU(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,tU(t,!0,-1)):n&&tz(t,"directives end mark is expected"),t6(t,t.lineIndent-1,4,!1,!0),tU(t,!0,-1),t.checkLineBreaks&&tk.test(t.input.slice(o,t.position))&&tR(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&tY(t)){46===t.input.charCodeAt(t.position)&&(t.position+=3,tU(t,!0,-1));return}t.position<t.length-1&&tz(t,"end of the stream or a document separator is expected")}function t8(t,e){t=String(t),e=e||{},0!==t.length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var r=new t$(t,e),i=t.indexOf("\0");for(-1!==i&&(r.position=i,tz(r,"null byte is not allowed in input")),r.input+="\0";32===r.input.charCodeAt(r.position);)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)t4(r);return r.documents}function t9(t,e,r){null!==e&&"object"==typeof e&&void 0===r&&(r=e,e=null);var i=t8(t,r);if("function"!=typeof e)return i;for(var a=0,o=i.length;a<o;a+=1)e(i[a])}function t7(t,e){var r=t8(t,e);if(0!==r.length){if(1===r.length)return r[0];throw new c("expected a single document in the stream, but found more")}}(0,a.K2)(tN,"captureSegment"),(0,a.K2)(tj,"mergeMappings"),(0,a.K2)(tW,"storeMappingPair"),(0,a.K2)(tH,"readLineBreak"),(0,a.K2)(tU,"skipSeparationSpace"),(0,a.K2)(tY,"testDocumentSeparator"),(0,a.K2)(tG,"writeFoldedLines"),(0,a.K2)(tV,"readPlainScalar"),(0,a.K2)(tX,"readSingleQuotedScalar"),(0,a.K2)(tZ,"readDoubleQuotedScalar"),(0,a.K2)(tQ,"readFlowCollection"),(0,a.K2)(tJ,"readBlockScalar"),(0,a.K2)(t0,"readBlockSequence"),(0,a.K2)(t1,"readBlockMapping"),(0,a.K2)(t2,"readTagProperty"),(0,a.K2)(t5,"readAnchorProperty"),(0,a.K2)(t3,"readAlias"),(0,a.K2)(t6,"composeNode"),(0,a.K2)(t4,"readDocument"),(0,a.K2)(t8,"loadDocuments"),(0,a.K2)(t9,"loadAll$1"),(0,a.K2)(t7,"load$1");var et=Object.prototype.toString,ee=Object.prototype.hasOwnProperty,er={};er[0]="\\0",er[7]="\\a",er[8]="\\b",er[9]="\\t",er[10]="\\n",er[11]="\\v",er[12]="\\f",er[13]="\\r",er[27]="\\e",er[34]='\\"',er[92]="\\\\",er[133]="\\N",er[160]="\\_",er[8232]="\\L",er[8233]="\\P";var ei=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],ea=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function eo(t,e){var r,i,a,o,n,s,l;if(null===e)return{};for(a=0,r={},o=(i=Object.keys(e)).length;a<o;a+=1)s=String(e[n=i[a]]),"!!"===n.slice(0,2)&&(n="tag:yaml.org,2002:"+n.slice(2)),(l=t.compiledTypeMap.fallback[n])&&ee.call(l.styleAliases,s)&&(s=l.styleAliases[s]),r[n]=s;return r}function en(t){var e,r,i;if(e=t.toString(16).toUpperCase(),t<=255)r="x",i=2;else if(t<=65535)r="u",i=4;else if(t<=0xffffffff)r="U",i=8;else throw new c("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+s("0",i-e.length)+e}function es(t){this.schema=t.schema||tb,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=o(t.flowLevel)?-1:t.flowLevel,this.styleMap=eo(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?2:1,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function el(t,e){for(var r,i=s(" ",e),a=0,o=-1,n="",l=t.length;a<l;)-1===(o=t.indexOf("\n",a))?(r=t.slice(a),a=l):(r=t.slice(a,o+1),a=o+1),r.length&&"\n"!==r&&(n+=i),n+=r;return n}function eh(t,e){return"\n"+s(" ",t.indent*e)}function ec(t,e){var r,i;for(r=0,i=t.implicitTypes.length;r<i;r+=1)if(t.implicitTypes[r].resolve(e))return!0;return!1}function ed(t){return 32===t||9===t}function eu(t){return 32<=t&&t<=126||161<=t&&t<=55295&&8232!==t&&8233!==t||57344<=t&&t<=65533&&65279!==t||65536<=t&&t<=1114111}function ep(t){return eu(t)&&65279!==t&&13!==t&&10!==t}function ef(t,e,r){var i=ep(t),a=i&&!ed(t);return(r?i:i&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t)&&35!==t&&!(58===e&&!a)||ep(e)&&!ed(e)&&35===t||58===e&&a}function eg(t){return eu(t)&&65279!==t&&!ed(t)&&45!==t&&63!==t&&58!==t&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t&&35!==t&&38!==t&&42!==t&&33!==t&&124!==t&&61!==t&&62!==t&&39!==t&&34!==t&&37!==t&&64!==t&&96!==t}function em(t){return!ed(t)&&58!==t}function ey(t,e){var r,i=t.charCodeAt(e);return i>=55296&&i<=56319&&e+1<t.length&&(r=t.charCodeAt(e+1))>=56320&&r<=57343?(i-55296)*1024+r-56320+65536:i}function eb(t){return/^\n* /.test(t)}function ex(t,e,r,i,a,o,n,s){var l,h=0,c=null,d=!1,u=!1,p=-1!==i,f=-1,g=eg(ey(t,0))&&em(ey(t,t.length-1));if(e||n)for(l=0;l<t.length;h>=65536?l+=2:l++){if(!eu(h=ey(t,l)))return 5;g=g&&ef(h,c,s),c=h}else{for(l=0;l<t.length;h>=65536?l+=2:l++){if(10===(h=ey(t,l)))d=!0,p&&(u=u||l-f-1>i&&" "!==t[f+1],f=l);else if(!eu(h))return 5;g=g&&ef(h,c,s),c=h}u=u||p&&l-f-1>i&&" "!==t[f+1]}return d||u?r>9&&eb(t)?5:n?2===o?5:2:u?4:3:!g||n||a(t)?2===o?5:2:1}function eC(t,e,r,i,o){t.dump=function(){if(0===e.length)return 2===t.quotingType?'""':"''";if(!t.noCompatMode&&(-1!==ei.indexOf(e)||ea.test(e)))return 2===t.quotingType?'"'+e+'"':"'"+e+"'";var n=t.indent*Math.max(1,r),s=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-n),l=i||t.flowLevel>-1&&r>=t.flowLevel;function h(e){return ec(t,e)}switch((0,a.K2)(h,"testAmbiguity"),ex(e,l,t.indent,s,h,t.quotingType,t.forceQuotes&&!i,o)){case 1:return e;case 2:return"'"+e.replace(/'/g,"''")+"'";case 3:return"|"+ek(e,t.indent)+e_(el(e,n));case 4:return">"+ek(e,t.indent)+e_(el(ev(e,s),n));case 5:return'"'+eT(e)+'"';default:throw new c("impossible error: invalid scalar style")}}()}function ek(t,e){var r=eb(t)?String(e):"",i="\n"===t[t.length-1];return r+(i&&("\n"===t[t.length-2]||"\n"===t)?"+":i?"":"-")+"\n"}function e_(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function ev(t,e){for(var r,i,a,o=/(\n+)([^\n]*)/g,n=(o.lastIndex=r=-1!==(r=t.indexOf("\n"))?r:t.length,eA(t.slice(0,r),e)),s="\n"===t[0]||" "===t[0];a=o.exec(t);){var l=a[1],h=a[2];i=" "===h[0],n+=l+(s||i||""===h?"":"\n")+eA(h,e),s=i}return n}function eA(t,e){if(""===t||" "===t[0])return t;for(var r,i,a=/ [^ ]/g,o=0,n=0,s=0,l="";r=a.exec(t);)(s=r.index)-o>e&&(i=n>o?n:s,l+="\n"+t.slice(o,i),o=i+1),n=s;return l+="\n",t.length-o>e&&n>o?l+=t.slice(o,n)+"\n"+t.slice(n+1):l+=t.slice(o),l.slice(1)}function eT(t){for(var e,r="",i=0,a=0;a<t.length;i>=65536?a+=2:a++)!(e=er[i=ey(t,a)])&&eu(i)?(r+=t[a],i>=65536&&(r+=t[a+1])):r+=e||en(i);return r}function eS(t,e,r){var i,a,o,n="",s=t.tag;for(i=0,a=r.length;i<a;i+=1)o=r[i],t.replacer&&(o=t.replacer.call(r,String(i),o)),(eM(t,e,o,!1,!1)||void 0===o&&eM(t,e,null,!1,!1))&&(""!==n&&(n+=","+(t.condenseFlow?"":" ")),n+=t.dump);t.tag=s,t.dump="["+n+"]"}function ew(t,e,r,i){var a,o,n,s="",l=t.tag;for(a=0,o=r.length;a<o;a+=1)n=r[a],t.replacer&&(n=t.replacer.call(r,String(a),n)),(eM(t,e+1,n,!0,!0,!1,!0)||void 0===n&&eM(t,e+1,null,!0,!0,!1,!0))&&(i&&""===s||(s+=eh(t,e)),t.dump&&10===t.dump.charCodeAt(0)?s+="-":s+="- ",s+=t.dump);t.tag=l,t.dump=s||"[]"}function eB(t,e,r){var i,a,o,n,s,l="",h=t.tag,c=Object.keys(r);for(i=0,a=c.length;i<a;i+=1)s="",""!==l&&(s+=", "),t.condenseFlow&&(s+='"'),n=r[o=c[i]],t.replacer&&(n=t.replacer.call(r,o,n)),eM(t,e,o,!1,!1)&&(t.dump.length>1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),eM(t,e,n,!1,!1)&&(s+=t.dump,l+=s));t.tag=h,t.dump="{"+l+"}"}function eF(t,e,r,i){var a,o,n,s,l,h,d="",u=t.tag,p=Object.keys(r);if(!0===t.sortKeys)p.sort();else if("function"==typeof t.sortKeys)p.sort(t.sortKeys);else if(t.sortKeys)throw new c("sortKeys must be a boolean or a function");for(a=0,o=p.length;a<o;a+=1)h="",i&&""===d||(h+=eh(t,e)),s=r[n=p[a]],t.replacer&&(s=t.replacer.call(r,n,s)),eM(t,e+1,n,!0,!0,!0)&&((l=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024)&&(t.dump&&10===t.dump.charCodeAt(0)?h+="?":h+="? "),h+=t.dump,l&&(h+=eh(t,e)),eM(t,e+1,s,!0,l)&&(t.dump&&10===t.dump.charCodeAt(0)?h+=":":h+=": ",h+=t.dump,d+=h));t.tag=u,t.dump=d||"{}"}function eL(t,e,r){var i,a,o,n,s,l;for(o=0,n=(a=r?t.explicitTypes:t.implicitTypes).length;o<n;o+=1)if(((s=a[o]).instanceOf||s.predicate)&&(!s.instanceOf||"object"==typeof e&&e instanceof s.instanceOf)&&(!s.predicate||s.predicate(e))){if(r?s.multi&&s.representName?t.tag=s.representName(e):t.tag=s.tag:t.tag="?",s.represent){if(l=t.styleMap[s.tag]||s.defaultStyle,"[object Function]"===et.call(s.represent))i=s.represent(e,l);else if(ee.call(s.represent,l))i=s.represent[l](e,l);else throw new c("!<"+s.tag+'> tag resolver accepts not "'+l+'" style');t.dump=i}return!0}return!1}function eM(t,e,r,i,a,o,n){t.tag=null,t.dump=r,eL(t,r,!1)||eL(t,r,!0);var s=et.call(t.dump),l=i;i&&(i=t.flowLevel<0||t.flowLevel>e);var h,d,u,p="[object Object]"===s||"[object Array]"===s;if(p&&(u=-1!==(d=t.duplicates.indexOf(r))),(null!==t.tag&&"?"!==t.tag||u||2!==t.indent&&e>0)&&(a=!1),u&&t.usedDuplicates[d])t.dump="*ref_"+d;else{if(p&&u&&!t.usedDuplicates[d]&&(t.usedDuplicates[d]=!0),"[object Object]"===s)i&&0!==Object.keys(t.dump).length?(eF(t,e,t.dump,a),u&&(t.dump="&ref_"+d+t.dump)):(eB(t,e,t.dump),u&&(t.dump="&ref_"+d+" "+t.dump));else if("[object Array]"===s)i&&0!==t.dump.length?(t.noArrayIndent&&!n&&e>0?ew(t,e-1,t.dump,a):ew(t,e,t.dump,a),u&&(t.dump="&ref_"+d+t.dump)):(eS(t,e,t.dump),u&&(t.dump="&ref_"+d+" "+t.dump));else if("[object String]"===s)"?"!==t.tag&&eC(t,t.dump,e,o,l);else{if("[object Undefined]"===s||t.skipInvalid)return!1;throw new c("unacceptable kind of an object to dump "+s)}null!==t.tag&&"?"!==t.tag&&(h=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),h="!"===t.tag[0]?"!"+h:"tag:yaml.org,2002:"===h.slice(0,18)?"!!"+h.slice(18):"!<"+h+">",t.dump=h+" "+t.dump)}return!0}function eE(t,e){var r,i,a=[],o=[];for(eO(t,a,o),r=0,i=o.length;r<i;r+=1)e.duplicates.push(a[o[r]]);e.usedDuplicates=Array(i)}function eO(t,e,r){var i,a,o;if(null!==t&&"object"==typeof t)if(-1!==(a=e.indexOf(t)))-1===r.indexOf(a)&&r.push(a);else if(e.push(t),Array.isArray(t))for(a=0,o=t.length;a<o;a+=1)eO(t[a],e,r);else for(a=0,o=(i=Object.keys(t)).length;a<o;a+=1)eO(t[i[a]],e,r)}(0,a.K2)(eo,"compileStyleMap"),(0,a.K2)(en,"encodeHex"),(0,a.K2)(es,"State"),(0,a.K2)(el,"indentString"),(0,a.K2)(eh,"generateNextLine"),(0,a.K2)(ec,"testImplicitResolving"),(0,a.K2)(ed,"isWhitespace"),(0,a.K2)(eu,"isPrintable"),(0,a.K2)(ep,"isNsCharOrWhitespace"),(0,a.K2)(ef,"isPlainSafe"),(0,a.K2)(eg,"isPlainSafeFirst"),(0,a.K2)(em,"isPlainSafeLast"),(0,a.K2)(ey,"codePointAt"),(0,a.K2)(eb,"needIndentIndicator");function eK(t,e){return function(){throw Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}(0,a.K2)(ex,"chooseScalarStyle"),(0,a.K2)(eC,"writeScalar"),(0,a.K2)(ek,"blockHeader"),(0,a.K2)(e_,"dropEndingNewline"),(0,a.K2)(ev,"foldString"),(0,a.K2)(eA,"foldLine"),(0,a.K2)(eT,"escapeString"),(0,a.K2)(eS,"writeFlowSequence"),(0,a.K2)(ew,"writeBlockSequence"),(0,a.K2)(eB,"writeFlowMapping"),(0,a.K2)(eF,"writeBlockMapping"),(0,a.K2)(eL,"detectType"),(0,a.K2)(eM,"writeNode"),(0,a.K2)(eE,"getDuplicateReferences"),(0,a.K2)(eO,"inspectNode"),(0,a.K2)(function(t,e){var r=new es(e=e||{});r.noRefs||eE(t,r);var i=t;return(r.replacer&&(i=r.replacer.call({"":i},"",i)),eM(r,0,i,!0,!0))?r.dump+"\n":""},"dump$1"),(0,a.K2)(eK,"renamed");var eI=W,eD=t7;eK("safeLoad","load"),eK("safeLoadAll","loadAll"),eK("safeDump","dump")},85541:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){return function(){return t}}},86291:function(t){t.exports=function(){"use strict";var t="millisecond",e="second",r="minute",i="hour",a="week",o="month",n="quarter",s="year",l="date",h="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,u=function(t,e,r){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(r)+t},p="en",f={};f[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}};var g="$isDayjsObject",m=function(t){return t instanceof C||!(!t||!t[g])},y=function t(e,r,i){var a;if(!e)return p;if("string"==typeof e){var o=e.toLowerCase();f[o]&&(a=o),r&&(f[o]=r,a=o);var n=e.split("-");if(!a&&n.length>1)return t(n[0])}else{var s=e.name;f[s]=e,a=s}return!i&&a&&(p=a),a||!i&&p},b=function(t,e){if(m(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new C(r)},x={s:u,z:function(t){var e=-t.utcOffset(),r=Math.abs(e);return(e<=0?"+":"-")+u(Math.floor(r/60),2,"0")+":"+u(r%60,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var i=12*(r.year()-e.year())+(r.month()-e.month()),a=e.clone().add(i,o),n=r-a<0,s=e.clone().add(i+(n?-1:1),o);return+(-(i+(r-a)/(n?a-s:s-a))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(h){return({M:o,y:s,w:a,d:"day",D:l,h:i,m:r,s:e,ms:t,Q:n})[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};x.l=y,x.i=m,x.w=function(t,e){return b(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var C=function(){function u(t){this.$L=y(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[g]=!0}var p=u.prototype;return p.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(x.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(c);if(i){var a=i[2]-1||0,o=(i[7]||"0").substring(0,3);return r?new Date(Date.UTC(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)):new Date(i[1],a,i[3]||1,i[4]||0,i[5]||0,i[6]||0,o)}}return new Date(e)}(t),this.init()},p.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},p.$utils=function(){return x},p.isValid=function(){return this.$d.toString()!==h},p.isSame=function(t,e){var r=b(t);return this.startOf(e)<=r&&r<=this.endOf(e)},p.isAfter=function(t,e){return b(t)<this.startOf(e)},p.isBefore=function(t,e){return this.endOf(e)<b(t)},p.$g=function(t,e,r){return x.u(t)?this[e]:this.set(r,t)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(t,n){var h=this,c=!!x.u(n)||n,d=x.p(t),u=function(t,e){var r=x.w(h.$u?Date.UTC(h.$y,e,t):new Date(h.$y,e,t),h);return c?r:r.endOf("day")},p=function(t,e){return x.w(h.toDate()[t].apply(h.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(e)),h)},f=this.$W,g=this.$M,m=this.$D,y="set"+(this.$u?"UTC":"");switch(d){case s:return c?u(1,0):u(31,11);case o:return c?u(1,g):u(0,g+1);case a:var b=this.$locale().weekStart||0,C=(f<b?f+7:f)-b;return u(c?m-C:m+(6-C),g);case"day":case l:return p(y+"Hours",0);case i:return p(y+"Minutes",1);case r:return p(y+"Seconds",2);case e:return p(y+"Milliseconds",3);default:return this.clone()}},p.endOf=function(t){return this.startOf(t,!1)},p.$set=function(a,n){var h,c=x.p(a),d="set"+(this.$u?"UTC":""),u=((h={}).day=d+"Date",h[l]=d+"Date",h[o]=d+"Month",h[s]=d+"FullYear",h[i]=d+"Hours",h[r]=d+"Minutes",h[e]=d+"Seconds",h[t]=d+"Milliseconds",h)[c],p="day"===c?this.$D+(n-this.$W):n;if(c===o||c===s){var f=this.clone().set(l,1);f.$d[u](p),f.init(),this.$d=f.set(l,Math.min(this.$D,f.daysInMonth())).$d}else u&&this.$d[u](p);return this.init(),this},p.set=function(t,e){return this.clone().$set(t,e)},p.get=function(t){return this[x.p(t)]()},p.add=function(t,n){var l,h=this;t=Number(t);var c=x.p(n),d=function(e){var r=b(h);return x.w(r.date(r.date()+Math.round(e*t)),h)};if(c===o)return this.set(o,this.$M+t);if(c===s)return this.set(s,this.$y+t);if("day"===c)return d(1);if(c===a)return d(7);var u=((l={})[r]=6e4,l[i]=36e5,l[e]=1e3,l)[c]||1,p=this.$d.getTime()+t*u;return x.w(p,this)},p.subtract=function(t,e){return this.add(-1*t,e)},p.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var i=t||"YYYY-MM-DDTHH:mm:ssZ",a=x.z(this),o=this.$H,n=this.$m,s=this.$M,l=r.weekdays,c=r.months,u=r.meridiem,p=function(t,r,a,o){return t&&(t[r]||t(e,i))||a[r].slice(0,o)},f=function(t){return x.s(o%12||12,t,"0")},g=u||function(t,e,r){var i=t<12?"AM":"PM";return r?i.toLowerCase():i};return i.replace(d,function(t,i){return i||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return x.s(e.$y,4,"0");case"M":return s+1;case"MM":return x.s(s+1,2,"0");case"MMM":return p(r.monthsShort,s,c,3);case"MMMM":return p(c,s);case"D":return e.$D;case"DD":return x.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return p(r.weekdaysMin,e.$W,l,2);case"ddd":return p(r.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(o);case"HH":return x.s(o,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return g(o,n,!0);case"A":return g(o,n,!1);case"m":return String(n);case"mm":return x.s(n,2,"0");case"s":return String(e.$s);case"ss":return x.s(e.$s,2,"0");case"SSS":return x.s(e.$ms,3,"0");case"Z":return a}return null}(t)||a.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(t,l,h){var c,d=this,u=x.p(l),p=b(t),f=(p.utcOffset()-this.utcOffset())*6e4,g=this-p,m=function(){return x.m(d,p)};switch(u){case s:c=m()/12;break;case o:c=m();break;case n:c=m()/3;break;case a:c=(g-f)/6048e5;break;case"day":c=(g-f)/864e5;break;case i:c=g/36e5;break;case r:c=g/6e4;break;case e:c=g/1e3;break;default:c=g}return h?c:x.a(c)},p.daysInMonth=function(){return this.endOf(o).$D},p.$locale=function(){return f[this.$L]},p.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),i=y(t,e,!0);return i&&(r.$L=i),r},p.clone=function(){return x.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},u}(),k=C.prototype;return b.prototype=k,[["$ms",t],["$s",e],["$m",r],["$H",i],["$W","day"],["$M",o],["$y",s],["$D",l]].forEach(function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),b.extend=function(t,e){return t.$i||(t(e,C,b),t.$i=!0),b},b.locale=y,b.isDayjs=m,b.unix=function(t){return b(1e3*t)},b.en=f[p],b.Ls=f,b.p={},b}()},86548:(t,e,r)=>{"use strict";r.d(e,{A:()=>function t(e,r){var l,h,c=typeof r;return null==r||"boolean"===c?(0,s.A)(r):("number"===c?o.A:"string"===c?(h=(0,i.Ay)(r))?(r=h,a.Ay):n.A:r instanceof i.Ay?a.Ay:r instanceof Date?function(t,e){var r=new Date;return t*=1,e*=1,function(i){return r.setTime(t*(1-i)+e*i),r}}:!ArrayBuffer.isView(l=r)||l instanceof DataView?Array.isArray(r)?function(e,r){var i,a=r?r.length:0,o=e?Math.min(a,e.length):0,n=Array(o),s=Array(a);for(i=0;i<o;++i)n[i]=t(e[i],r[i]);for(;i<a;++i)s[i]=r[i];return function(t){for(i=0;i<o;++i)s[i]=n[i](t);return s}}:"function"!=typeof r.valueOf&&"function"!=typeof r.toString||isNaN(r)?function(e,r){var i,a={},o={};for(i in(null===e||"object"!=typeof e)&&(e={}),(null===r||"object"!=typeof r)&&(r={}),r)i in e?a[i]=t(e[i],r[i]):o[i]=r[i];return function(t){for(i in a)o[i]=a[i](t);return o}}:o.A:function(t,e){e||(e=[]);var r,i=t?Math.min(e.length,t.length):0,a=e.slice();return function(o){for(r=0;r<i;++r)a[r]=t[r]*(1-o)+e[r]*o;return a}})(e,r)}});var i=r(92676),a=r(87179),o=r(96340),n=r(39008),s=r(13013)},86780:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=r(62260),a=(0,r(13472).A)(Object.keys,Object),o=Object.prototype.hasOwnProperty;let n=function(t){if(!(0,i.A)(t))return a(t);var e=[];for(var r in Object(t))o.call(t,r)&&"constructor"!=r&&e.push(r);return e}},87179:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>n});var i=r(92676);function a(t,e,r,i,a){var o=t*t,n=o*t;return((1-3*t+3*o-n)*e+(4-6*o+3*n)*r+(1+3*t+3*o-3*n)*i+n*a)/6}var o=r(26676);let n=function t(e){var r=(0,o.uN)(e);function a(t,e){var a=r((t=(0,i.Qh)(t)).r,(e=(0,i.Qh)(e)).r),n=r(t.g,e.g),s=r(t.b,e.b),l=(0,o.Ay)(t.opacity,e.opacity);return function(e){return t.r=a(e),t.g=n(e),t.b=s(e),t.opacity=l(e),t+""}}return a.gamma=t,a}(1);function s(t){return function(e){var r,a,o=e.length,n=Array(o),s=Array(o),l=Array(o);for(r=0;r<o;++r)a=(0,i.Qh)(e[r]),n[r]=a.r||0,s[r]=a.g||0,l[r]=a.b||0;return n=t(n),s=t(s),l=t(l),a.opacity=1,function(t){return a.r=n(t),a.g=s(t),a.b=l(t),a+""}}}s(function(t){var e=t.length-1;return function(r){var i=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),o=t[i],n=t[i+1],s=i>0?t[i-1]:2*o-n,l=i<e-1?t[i+2]:2*n-o;return a((r-i/e)*e,s,o,n,l)}}),s(function(t){var e=t.length;return function(r){var i=Math.floor(((r%=1)<0?++r:r)*e),o=t[(i+e-1)%e],n=t[i%e],s=t[(i+1)%e],l=t[(i+2)%e];return a((r-i/e)*e,o,n,s,l)}})},87306:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(89173),a=r(5653);let o=function(t){return(0,a.A)(t)&&(0,i.A)(t)}},89071:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var i=r(79898),a=r(2005),o=r(5653),n={};n["[object Float32Array]"]=n["[object Float64Array]"]=n["[object Int8Array]"]=n["[object Int16Array]"]=n["[object Int32Array]"]=n["[object Uint8Array]"]=n["[object Uint8ClampedArray]"]=n["[object Uint16Array]"]=n["[object Uint32Array]"]=!0,n["[object Arguments]"]=n["[object Array]"]=n["[object ArrayBuffer]"]=n["[object Boolean]"]=n["[object DataView]"]=n["[object Date]"]=n["[object Error]"]=n["[object Function]"]=n["[object Map]"]=n["[object Number]"]=n["[object Object]"]=n["[object RegExp]"]=n["[object Set]"]=n["[object String]"]=n["[object WeakMap]"]=!1;var s=r(4202),l=r(67042),h=l.A&&l.A.isTypedArray;let c=h?(0,s.A)(h):function(t){return(0,o.A)(t)&&(0,a.A)(t.length)&&!!n[(0,i.A)(t)]}},89173:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(30965),a=r(2005);let o=function(t){return null!=t&&(0,a.A)(t.length)&&!(0,i.A)(t)}},92676:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>b,Gw:()=>v,Q1:()=>a,Qh:()=>_,b:()=>k});var i=r(13110);function a(){}var o="\\s*([+-]?\\d+)\\s*",n="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,h=RegExp(`^rgb\\(${o},${o},${o}\\)$`),c=RegExp(`^rgb\\(${s},${s},${s}\\)$`),d=RegExp(`^rgba\\(${o},${o},${o},${n}\\)$`),u=RegExp(`^rgba\\(${s},${s},${s},${n}\\)$`),p=RegExp(`^hsl\\(${n},${s},${s}\\)$`),f=RegExp(`^hsla\\(${n},${s},${s},${n}\\)$`),g={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function m(){return this.rgb().formatHex()}function y(){return this.rgb().formatRgb()}function b(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=l.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?x(e):3===r?new v(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?C(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?C(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=h.exec(t))?new v(e[1],e[2],e[3],1):(e=c.exec(t))?new v(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?C(e[1],e[2],e[3],e[4]):(e=u.exec(t))?C(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=p.exec(t))?F(e[1],e[2]/100,e[3]/100,1):(e=f.exec(t))?F(e[1],e[2]/100,e[3]/100,e[4]):g.hasOwnProperty(t)?x(g[t]):"transparent"===t?new v(NaN,NaN,NaN,0):null}function x(t){return new v(t>>16&255,t>>8&255,255&t,1)}function C(t,e,r,i){return i<=0&&(t=e=r=NaN),new v(t,e,r,i)}function k(t){return(t instanceof a||(t=b(t)),t)?new v((t=t.rgb()).r,t.g,t.b,t.opacity):new v}function _(t,e,r,i){return 1==arguments.length?k(t):new v(t,e,r,null==i?1:i)}function v(t,e,r,i){this.r=+t,this.g=+e,this.b=+r,this.opacity=+i}function A(){return`#${B(this.r)}${B(this.g)}${B(this.b)}`}function T(){let t=S(this.opacity);return`${1===t?"rgb(":"rgba("}${w(this.r)}, ${w(this.g)}, ${w(this.b)}${1===t?")":`, ${t})`}`}function S(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function w(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function B(t){return((t=w(t))<16?"0":"")+t.toString(16)}function F(t,e,r,i){return i<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new M(t,e,r,i)}function L(t){if(t instanceof M)return new M(t.h,t.s,t.l,t.opacity);if(t instanceof a||(t=b(t)),!t)return new M;if(t instanceof M)return t;var e=(t=t.rgb()).r/255,r=t.g/255,i=t.b/255,o=Math.min(e,r,i),n=Math.max(e,r,i),s=NaN,l=n-o,h=(n+o)/2;return l?(s=e===n?(r-i)/l+(r<i)*6:r===n?(i-e)/l+2:(e-r)/l+4,l/=h<.5?n+o:2-n-o,s*=60):l=h>0&&h<1?0:s,new M(s,l,h,t.opacity)}function M(t,e,r,i){this.h=+t,this.s=+e,this.l=+r,this.opacity=+i}function E(t){return(t=(t||0)%360)<0?t+360:t}function O(t){return Math.max(0,Math.min(1,t||0))}function K(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}(0,i.A)(a,b,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:m,formatHex:m,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return L(this).formatHsl()},formatRgb:y,toString:y}),(0,i.A)(v,_,(0,i.X)(a,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new v(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new v(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new v(w(this.r),w(this.g),w(this.b),S(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:A,formatHex:A,formatHex8:function(){return`#${B(this.r)}${B(this.g)}${B(this.b)}${B((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:T,toString:T})),(0,i.A)(M,function(t,e,r,i){return 1==arguments.length?L(t):new M(t,e,r,null==i?1:i)},(0,i.X)(a,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new M(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new M(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,i=r+(r<.5?r:1-r)*e,a=2*r-i;return new v(K(t>=240?t-240:t+120,a,i),K(t,a,i),K(t<120?t+240:t-120,a,i),this.opacity)},clamp(){return new M(E(this.h),O(this.s),O(this.l),S(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=S(this.opacity);return`${1===t?"hsl(":"hsla("}${E(this.h)}, ${100*O(this.s)}%, ${100*O(this.l)}%${1===t?")":`, ${t})`}`}}))},93393:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(27851),a=r(4348),o=r(7483);function n(t){var e=this.__data__=new i.A(t);this.size=e.size}n.prototype.clear=function(){this.__data__=new i.A,this.size=0},n.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},n.prototype.get=function(t){return this.__data__.get(t)},n.prototype.has=function(t){return this.__data__.has(t)},n.prototype.set=function(t,e){var r=this.__data__;if(r instanceof i.A){var n=r.__data__;if(!a.A||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new o.A(n)}return r.set(t,e),this.size=r.size,this};let s=n},93780:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(62330),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof module&&module&&!module.nodeType&&module,n=o&&o.exports===a?i.A.Buffer:void 0;let s=(n?n.isBuffer:void 0)||function(){return!1}},94090:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},96340:(t,e,r)=>{"use strict";function i(t,e){return t*=1,e*=1,function(r){return t*(1-r)+e*r}}r.d(e,{A:()=>i})},98393:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});let i=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var a=Math.max;let o=function(t,e,r){return e=a(void 0===e?t.length-1:e,0),function(){for(var o=arguments,n=-1,s=a(o.length-e,0),l=Array(s);++n<s;)l[n]=o[e+n];n=-1;for(var h=Array(e+1);++n<e;)h[n]=o[n];return h[e]=r(l),i(t,this,h)}}},99870:(t,e,r)=>{"use strict";r.d(e,{XX:()=>d,q7:()=>u,sO:()=>c});var i=r(48080),a=r(87005),o=r(59661),n=r(77109),s=r(69830),l={common:n.Y2,getConfig:n.zj,insertCluster:a.U,insertEdge:i.Jo,insertEdgeLabel:i.jP,insertMarkers:i.g0,insertNode:a.on,interpolateToCurve:o.Ib,labelHelper:a.Zk,log:s.Rm,positionEdgeLabel:i.T_},h={},c=(0,s.K2)(t=>{for(let e of t)h[e.name]=e},"registerLayoutLoaders");(0,s.K2)(()=>{c([{name:"dagre",loader:(0,s.K2)(async()=>await Promise.all([r.e(64191),r.e(12860),r.e(82309)]).then(r.bind(r,82309)),"loader")},{name:"cose-bilkent",loader:(0,s.K2)(async()=>await Promise.all([r.e(13285),r.e(12571)]).then(r.bind(r,12571)),"loader")}])},"registerDefaultLayoutLoaders")();var d=(0,s.K2)(async(t,e)=>{if(!(t.layoutAlgorithm in h))throw Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);let r=h[t.layoutAlgorithm];return(await r.loader()).render(t,e,l,{algorithm:r.algorithm})},"render"),u=(0,s.K2)((t="",{fallback:e="dagre"}={})=>{if(t in h)return t;if(e in h)return s.Rm.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm")},99988:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});let i=function(t,e){for(var r=-1,i=Array(t);++r<t;)i[r]=e(r);return i};var a=r(47312),o=r(63114),n=r(93780),s=r(77126),l=r(89071),h=Object.prototype.hasOwnProperty;let c=function(t,e){var r=(0,o.A)(t),c=!r&&(0,a.A)(t),d=!r&&!c&&(0,n.A)(t),u=!r&&!c&&!d&&(0,l.A)(t),p=r||c||d||u,f=p?i(t.length,String):[],g=f.length;for(var m in t)(e||h.call(t,m))&&!(p&&("length"==m||d&&("offset"==m||"parent"==m)||u&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||(0,s.A)(m,g)))&&f.push(m);return f}}}]);