From b842b19de72d1366a5df345f84e2492d804c35ec Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Sun, 25 Jun 2023 14:45:43 +0800 Subject: [PATCH] fix: redirect issue --- docs/.vuepress/dist/404.html | 4 ++-- .../assets/{SlideList-d9dc1011.js => SlideList-a936732a.js} | 2 +- ...ence.html-02012e67.js => api-reference.html-c714a756.js} | 2 +- ...ence.html-ab04c160.js => api-reference.html-d49fe156.js} | 2 +- .../dist/assets/{app-0ebef9d2.js => app-d433c202.js} | 4 ++-- .../dist/assets/{arc-9d129129.js => arc-e99d9a62.js} | 2 +- ...-44c43e89-b1efe9fc.js => c4Diagram-44c43e89-a8d69ea8.js} | 2 +- ...4fc78b-e517915b.js => classDiagram-634fc78b-c30b05af.js} | 2 +- ...c41-72b95b90.js => classDiagram-v2-72bddc41-16843405.js} | 2 +- ...1f5f8f92-f405caff.js => createText-1f5f8f92-c2c40041.js} | 2 +- ...dges-2e77835f-0b2286d7.js => edges-2e77835f-a16bcc0b.js} | 2 +- ...-20cc9db4-c914ac81.js => erDiagram-20cc9db4-63f39d90.js} | 2 +- ...wDb-52e24d17-b379c657.js => flowDb-52e24d17-1ab97c12.js} | 2 +- ...6a15f6f-0325a458.js => flowDiagram-46a15f6f-b3830e07.js} | 2 +- .../dist/assets/flowDiagram-v2-8e52592d-4e79b809.js | 1 - .../dist/assets/flowDiagram-v2-8e52592d-74790d9a.js | 1 + ...db1.js => flowchart-elk-definition-a44a74cb-83cf2f94.js} | 2 +- ...e74c0a-fcb56ab9.js => ganttDiagram-04e74c0a-374f06b9.js} | 2 +- ...df6-4f01bc10.js => gitGraphDiagram-0a645df6-e4d9bff0.js} | 2 +- ...ndex-5219d011-50992b0b.js => index-5219d011-730b0cac.js} | 2 +- docs/.vuepress/dist/assets/index.html-3e1a59e8.js | 1 - docs/.vuepress/dist/assets/index.html-7b6d6050.js | 1 + docs/.vuepress/dist/assets/index.html-9eda2933.js | 1 + docs/.vuepress/dist/assets/index.html-b81a5729.js | 1 - ...9ec1a58-9150b63d.js => infoDiagram-69ec1a58-f6199cae.js} | 2 +- .../assets/{is_dark-f70fce0a.js => is_dark-900bd85c.js} | 2 +- ...a57d-9dee62e7.js => journeyDiagram-d38aa57d-cb544f54.js} | 2 +- .../dist/assets/{layout-6fd5c641.js => layout-2d03da6d.js} | 2 +- .../dist/assets/{line-93633409.js => line-696a8ea1.js} | 2 +- .../{mermaid.core-00b8b54a.js => mermaid.core-5f04c634.js} | 6 +++--- ...-e42e0dff.js => mindmap-definition-65b51176-efa73a26.js} | 2 +- ...db1a8a21-40c35411.js => pieDiagram-db1a8a21-c6883eee.js} | 2 +- ...-c8130d61.js => requirementDiagram-b9649942-7203d93f.js} | 2 +- .../assets/{selectAll-a97dbb9c.js => selectAll-4b319156.js} | 2 +- ...3e4-56bc5eb9.js => sequenceDiagram-446df3e4-c80e27c8.js} | 2 +- ...3d2428-90f9b785.js => stateDiagram-d53d2428-252e3f4f.js} | 2 +- ...61d-a5f3e7e4.js => stateDiagram-v2-9765461d-9f477d66.js} | 2 +- ...les-16907e1b-d59f3acb.js => styles-16907e1b-08621a1b.js} | 2 +- ...les-26373982-ae8be1d1.js => styles-26373982-9a741945.js} | 2 +- ...les-47a825a5-43e1605d.js => styles-47a825a5-093f9ef5.js} | 2 +- ...aw-2526cba0-86ed4b4e.js => svgDraw-2526cba0-39b24240.js} | 2 +- ...b4429f8b.js => timeline-definition-de69aca6-b39fac59.js} | 2 +- docs/.vuepress/dist/en/api/api-reference.html | 4 ++-- docs/.vuepress/dist/en/api/index.html | 4 ++-- docs/.vuepress/dist/en/develop/index.html | 4 ++-- docs/.vuepress/dist/en/develop/introduction.html | 4 ++-- docs/.vuepress/dist/en/develop/plugins/index.html | 4 ++-- docs/.vuepress/dist/en/guide/basic-tutorial/index.html | 4 ++-- docs/.vuepress/dist/en/guide/cli/index.html | 4 ++-- docs/.vuepress/dist/en/guide/data-sources/index.html | 4 ++-- docs/.vuepress/dist/en/guide/deps/index.html | 4 ++-- docs/.vuepress/dist/en/guide/index.html | 4 ++-- .../.vuepress/dist/en/guide/installation/direct-deploy.html | 4 ++-- docs/.vuepress/dist/en/guide/installation/docker.html | 4 ++-- docs/.vuepress/dist/en/guide/installation/index.html | 4 ++-- docs/.vuepress/dist/en/guide/installation/kubernetes.html | 4 ++-- docs/.vuepress/dist/en/guide/monitoring/index.html | 4 ++-- docs/.vuepress/dist/en/guide/node/index.html | 4 ++-- docs/.vuepress/dist/en/guide/notifications/index.html | 4 ++-- docs/.vuepress/dist/en/guide/permissions/index.html | 4 ++-- docs/.vuepress/dist/en/guide/plugin/index.html | 4 ++-- docs/.vuepress/dist/en/guide/plugin/plugin-dependency.html | 4 ++-- .../.vuepress/dist/en/guide/plugin/plugin-notification.html | 4 ++-- .../dist/en/guide/plugin/plugin-spider-assistant.html | 4 ++-- docs/.vuepress/dist/en/guide/project/index.html | 4 ++-- docs/.vuepress/dist/en/guide/quick-start.html | 4 ++-- docs/.vuepress/dist/en/guide/schedule/index.html | 4 ++-- docs/.vuepress/dist/en/guide/spider/file-editor.html | 4 ++-- docs/.vuepress/dist/en/guide/spider/index.html | 4 ++-- docs/.vuepress/dist/en/guide/spider/integration.html | 4 ++-- docs/.vuepress/dist/en/guide/task/index.html | 4 ++-- docs/.vuepress/dist/en/guide/token/index.html | 4 ++-- docs/.vuepress/dist/en/guide/user/index.html | 4 ++-- docs/.vuepress/dist/en/index.html | 4 ++-- docs/.vuepress/dist/en/migration/index.html | 4 ++-- docs/.vuepress/dist/en/migration/v0.6.html | 4 ++-- docs/.vuepress/dist/en/principle/architecture/index.html | 4 ++-- docs/.vuepress/dist/en/principle/core-modules/index.html | 4 ++-- .../dist/en/principle/core-modules/schedule/index.html | 4 ++-- .../dist/en/principle/core-modules/spider/index.html | 4 ++-- .../dist/en/principle/core-modules/task/index.html | 4 ++-- docs/.vuepress/dist/en/principle/database/index.html | 4 ++-- docs/.vuepress/dist/en/principle/database/mongodb.html | 4 ++-- docs/.vuepress/dist/en/principle/filesystem/index.html | 4 ++-- docs/.vuepress/dist/en/principle/filesystem/seaweedfs.html | 4 ++-- docs/.vuepress/dist/en/principle/frontend/index.html | 4 ++-- docs/.vuepress/dist/en/principle/index.html | 4 ++-- docs/.vuepress/dist/en/principle/node/index.html | 4 ++-- docs/.vuepress/dist/en/principle/node/master-node.html | 4 ++-- .../dist/en/principle/node/node-communication.html | 4 ++-- docs/.vuepress/dist/en/principle/node/worker-node.html | 4 ++-- docs/.vuepress/dist/en/pro/index.html | 4 ++-- docs/.vuepress/dist/en/pro/installation.html | 4 ++-- docs/.vuepress/dist/en/pro/license.html | 4 ++-- docs/.vuepress/dist/index.html | 6 +++--- docs/.vuepress/dist/sitemap.xml | 2 +- docs/.vuepress/dist/zh/api/api-reference.html | 4 ++-- docs/.vuepress/dist/zh/api/index.html | 4 ++-- docs/.vuepress/dist/zh/develop/index.html | 4 ++-- docs/.vuepress/dist/zh/develop/introduction.html | 4 ++-- docs/.vuepress/dist/zh/develop/plugins/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/basic-tutorial/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/cli/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/data-sources/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/deps/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/index.html | 4 ++-- .../.vuepress/dist/zh/guide/installation/direct-deploy.html | 4 ++-- docs/.vuepress/dist/zh/guide/installation/docker.html | 4 ++-- docs/.vuepress/dist/zh/guide/installation/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/installation/kubernetes.html | 4 ++-- docs/.vuepress/dist/zh/guide/monitoring/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/node/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/notifications/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/permissions/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/plugin/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/plugin/plugin-dependency.html | 4 ++-- .../.vuepress/dist/zh/guide/plugin/plugin-notification.html | 4 ++-- .../dist/zh/guide/plugin/plugin-spider-assistant.html | 4 ++-- docs/.vuepress/dist/zh/guide/project/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/quick-start.html | 4 ++-- docs/.vuepress/dist/zh/guide/schedule/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/spider/file-editor.html | 4 ++-- docs/.vuepress/dist/zh/guide/spider/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/spider/integration.html | 4 ++-- docs/.vuepress/dist/zh/guide/task/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/token/index.html | 4 ++-- docs/.vuepress/dist/zh/guide/user/index.html | 4 ++-- docs/.vuepress/dist/zh/index.html | 6 +++--- docs/.vuepress/dist/zh/migration/index.html | 4 ++-- docs/.vuepress/dist/zh/migration/v0.6.html | 4 ++-- docs/.vuepress/dist/zh/principle/architecture/index.html | 4 ++-- docs/.vuepress/dist/zh/principle/core-modules/index.html | 4 ++-- .../dist/zh/principle/core-modules/schedule/index.html | 4 ++-- .../dist/zh/principle/core-modules/spider/index.html | 4 ++-- .../dist/zh/principle/core-modules/task/index.html | 4 ++-- docs/.vuepress/dist/zh/principle/database/index.html | 4 ++-- docs/.vuepress/dist/zh/principle/database/mongodb.html | 4 ++-- docs/.vuepress/dist/zh/principle/filesystem/index.html | 4 ++-- docs/.vuepress/dist/zh/principle/filesystem/seaweedfs.html | 4 ++-- docs/.vuepress/dist/zh/principle/frontend/index.html | 4 ++-- docs/.vuepress/dist/zh/principle/index.html | 4 ++-- docs/.vuepress/dist/zh/principle/node/index.html | 4 ++-- docs/.vuepress/dist/zh/principle/node/master-node.html | 4 ++-- .../dist/zh/principle/node/node-communication.html | 4 ++-- docs/.vuepress/dist/zh/principle/node/worker-node.html | 4 ++-- docs/.vuepress/dist/zh/pro/index.html | 4 ++-- docs/.vuepress/dist/zh/pro/installation.html | 4 ++-- docs/.vuepress/dist/zh/pro/license.html | 4 ++-- docs/README.md | 2 +- docs/en/README.md | 2 +- docs/zh/README.md | 2 +- 151 files changed, 259 insertions(+), 259 deletions(-) rename docs/.vuepress/dist/assets/{SlideList-d9dc1011.js => SlideList-a936732a.js} (92%) rename docs/.vuepress/dist/assets/{api-reference.html-02012e67.js => api-reference.html-c714a756.js} (88%) rename docs/.vuepress/dist/assets/{api-reference.html-ab04c160.js => api-reference.html-d49fe156.js} (88%) rename docs/.vuepress/dist/assets/{app-0ebef9d2.js => app-d433c202.js} (88%) rename docs/.vuepress/dist/assets/{arc-9d129129.js => arc-e99d9a62.js} (98%) rename docs/.vuepress/dist/assets/{c4Diagram-44c43e89-b1efe9fc.js => c4Diagram-44c43e89-a8d69ea8.js} (99%) rename docs/.vuepress/dist/assets/{classDiagram-634fc78b-e517915b.js => classDiagram-634fc78b-c30b05af.js} (90%) rename docs/.vuepress/dist/assets/{classDiagram-v2-72bddc41-72b95b90.js => classDiagram-v2-72bddc41-16843405.js} (90%) rename docs/.vuepress/dist/assets/{createText-1f5f8f92-f405caff.js => createText-1f5f8f92-c2c40041.js} (99%) rename docs/.vuepress/dist/assets/{edges-2e77835f-0b2286d7.js => edges-2e77835f-a16bcc0b.js} (99%) rename docs/.vuepress/dist/assets/{erDiagram-20cc9db4-c914ac81.js => erDiagram-20cc9db4-63f39d90.js} (99%) rename docs/.vuepress/dist/assets/{flowDb-52e24d17-b379c657.js => flowDb-52e24d17-1ab97c12.js} (99%) rename docs/.vuepress/dist/assets/{flowDiagram-46a15f6f-0325a458.js => flowDiagram-46a15f6f-b3830e07.js} (97%) delete mode 100644 docs/.vuepress/dist/assets/flowDiagram-v2-8e52592d-4e79b809.js create mode 100644 docs/.vuepress/dist/assets/flowDiagram-v2-8e52592d-74790d9a.js rename docs/.vuepress/dist/assets/{flowchart-elk-definition-a44a74cb-98183db1.js => flowchart-elk-definition-a44a74cb-83cf2f94.js} (99%) rename docs/.vuepress/dist/assets/{ganttDiagram-04e74c0a-fcb56ab9.js => ganttDiagram-04e74c0a-374f06b9.js} (99%) rename docs/.vuepress/dist/assets/{gitGraphDiagram-0a645df6-4f01bc10.js => gitGraphDiagram-0a645df6-e4d9bff0.js} (99%) rename docs/.vuepress/dist/assets/{index-5219d011-50992b0b.js => index-5219d011-730b0cac.js} (97%) delete mode 100644 docs/.vuepress/dist/assets/index.html-3e1a59e8.js create mode 100644 docs/.vuepress/dist/assets/index.html-7b6d6050.js create mode 100644 docs/.vuepress/dist/assets/index.html-9eda2933.js delete mode 100644 docs/.vuepress/dist/assets/index.html-b81a5729.js rename docs/.vuepress/dist/assets/{infoDiagram-69ec1a58-9150b63d.js => infoDiagram-69ec1a58-f6199cae.js} (98%) rename docs/.vuepress/dist/assets/{is_dark-f70fce0a.js => is_dark-900bd85c.js} (75%) rename docs/.vuepress/dist/assets/{journeyDiagram-d38aa57d-9dee62e7.js => journeyDiagram-d38aa57d-cb544f54.js} (99%) rename docs/.vuepress/dist/assets/{layout-6fd5c641.js => layout-2d03da6d.js} (99%) rename docs/.vuepress/dist/assets/{line-93633409.js => line-696a8ea1.js} (93%) rename docs/.vuepress/dist/assets/{mermaid.core-00b8b54a.js => mermaid.core-5f04c634.js} (97%) rename docs/.vuepress/dist/assets/{mindmap-definition-65b51176-e42e0dff.js => mindmap-definition-65b51176-efa73a26.js} (99%) rename docs/.vuepress/dist/assets/{pieDiagram-db1a8a21-40c35411.js => pieDiagram-db1a8a21-c6883eee.js} (98%) rename docs/.vuepress/dist/assets/{requirementDiagram-b9649942-c8130d61.js => requirementDiagram-b9649942-7203d93f.js} (99%) rename docs/.vuepress/dist/assets/{selectAll-a97dbb9c.js => selectAll-4b319156.js} (68%) rename docs/.vuepress/dist/assets/{sequenceDiagram-446df3e4-56bc5eb9.js => sequenceDiagram-446df3e4-c80e27c8.js} (99%) rename docs/.vuepress/dist/assets/{stateDiagram-d53d2428-90f9b785.js => stateDiagram-d53d2428-252e3f4f.js} (97%) rename docs/.vuepress/dist/assets/{stateDiagram-v2-9765461d-a5f3e7e4.js => stateDiagram-v2-9765461d-9f477d66.js} (91%) rename docs/.vuepress/dist/assets/{styles-16907e1b-d59f3acb.js => styles-16907e1b-08621a1b.js} (99%) rename docs/.vuepress/dist/assets/{styles-26373982-ae8be1d1.js => styles-26373982-9a741945.js} (97%) rename docs/.vuepress/dist/assets/{styles-47a825a5-43e1605d.js => styles-47a825a5-093f9ef5.js} (99%) rename docs/.vuepress/dist/assets/{svgDraw-2526cba0-86ed4b4e.js => svgDraw-2526cba0-39b24240.js} (98%) rename docs/.vuepress/dist/assets/{timeline-definition-de69aca6-b4429f8b.js => timeline-definition-de69aca6-b39fac59.js} (99%) diff --git a/docs/.vuepress/dist/404.html b/docs/.vuepress/dist/404.html index e3b273e..82c2d9f 100644 --- a/docs/.vuepress/dist/404.html +++ b/docs/.vuepress/dist/404.html @@ -38,7 +38,7 @@ } - +

404

Page not found

That’s a Four-Oh-Four.

- + diff --git a/docs/.vuepress/dist/assets/SlideList-d9dc1011.js b/docs/.vuepress/dist/assets/SlideList-a936732a.js similarity index 92% rename from docs/.vuepress/dist/assets/SlideList-d9dc1011.js rename to docs/.vuepress/dist/assets/SlideList-a936732a.js index 1db82cb..7d9a7ce 100644 --- a/docs/.vuepress/dist/assets/SlideList-d9dc1011.js +++ b/docs/.vuepress/dist/assets/SlideList-a936732a.js @@ -1 +1 @@ -import{_ as p}from"./app-0ebef9d2.js";import{g as m,A as l,k as f,o as v,Z as s,a9 as n,a2 as g,aa as r,ab as h,$ as x,a7 as y,ac as k,a6 as C,_ as L}from"./framework-64cb0dab.js";const b=m({__name:"SlideList",props:{slides:{default:()=>[]}},setup(i){const _=i,a=l(null),t=l(null),u=f(()=>_.slides.map(e=>(e.image&&typeof e.image=="string"&&e.image.match(/^\.\/|^@\//)&&(e.image=require(e.image)),e)));return v(()=>{p(()=>import("./vueperslides.es-af358afa.js"),["assets/vueperslides.es-af358afa.js","assets/framework-64cb0dab.js"]).then(({VueperSlides:e,VueperSlide:o})=>{a.value=e,t.value=o})}),(e,o)=>a.value?(s(),n(r(a.value),{key:0,"fixed-height":"540px","3d":"",touchable:!1,autoplay:""},{default:g(()=>[(s(!0),x(C,null,y(u.value,(c,d)=>(s(),n(r(t.value),k({key:d},c),null,16))),128))]),_:1})):h("v-if",!0)}});const E=L(b,[["__scopeId","data-v-c85986b0"],["__file","SlideList.vue"]]);export{E as default}; +import{_ as p}from"./app-d433c202.js";import{g as m,A as l,k as f,o as v,Z as s,a9 as n,a2 as g,aa as r,ab as h,$ as x,a7 as y,ac as k,a6 as C,_ as L}from"./framework-64cb0dab.js";const b=m({__name:"SlideList",props:{slides:{default:()=>[]}},setup(i){const _=i,a=l(null),t=l(null),u=f(()=>_.slides.map(e=>(e.image&&typeof e.image=="string"&&e.image.match(/^\.\/|^@\//)&&(e.image=require(e.image)),e)));return v(()=>{p(()=>import("./vueperslides.es-af358afa.js"),["assets/vueperslides.es-af358afa.js","assets/framework-64cb0dab.js"]).then(({VueperSlides:e,VueperSlide:o})=>{a.value=e,t.value=o})}),(e,o)=>a.value?(s(),n(r(a.value),{key:0,"fixed-height":"540px","3d":"",touchable:!1,autoplay:""},{default:g(()=>[(s(!0),x(C,null,y(u.value,(c,d)=>(s(),n(r(t.value),k({key:d},c),null,16))),128))]),_:1})):h("v-if",!0)}});const E=L(b,[["__scopeId","data-v-c85986b0"],["__file","SlideList.vue"]]);export{E as default}; diff --git a/docs/.vuepress/dist/assets/api-reference.html-02012e67.js b/docs/.vuepress/dist/assets/api-reference.html-c714a756.js similarity index 88% rename from docs/.vuepress/dist/assets/api-reference.html-02012e67.js rename to docs/.vuepress/dist/assets/api-reference.html-c714a756.js index b3d528f..378532b 100644 --- a/docs/.vuepress/dist/assets/api-reference.html-02012e67.js +++ b/docs/.vuepress/dist/assets/api-reference.html-c714a756.js @@ -1 +1 @@ -import{_ as t}from"./app-0ebef9d2.js";import{g as a,o as r,E as n,Z as c,$ as _,a1 as p,_ as s}from"./framework-64cb0dab.js";const i=a({__name:"api-reference.html",setup(m){return r(()=>{t(()=>import("./rapidoc-min-8064c46b.js").then(e=>e.r),["assets/rapidoc-min-8064c46b.js","assets/commonjsHelpers-725317a4.js"])}),(e,l)=>{const o=n("ApiDoc");return c(),_("div",null,[p(o,{"spec-url":"https://raw.githubusercontent.com/crawlab-team/crawlab-core/main/docs/api/openapi.yaml"})])}}}),d=s(i,[["__file","api-reference.html.vue"]]);export{d as default}; +import{_ as t}from"./app-d433c202.js";import{g as a,o as r,E as n,Z as c,$ as _,a1 as p,_ as s}from"./framework-64cb0dab.js";const i=a({__name:"api-reference.html",setup(m){return r(()=>{t(()=>import("./rapidoc-min-8064c46b.js").then(e=>e.r),["assets/rapidoc-min-8064c46b.js","assets/commonjsHelpers-725317a4.js"])}),(e,l)=>{const o=n("ApiDoc");return c(),_("div",null,[p(o,{"spec-url":"https://raw.githubusercontent.com/crawlab-team/crawlab-core/main/docs/api/openapi.yaml"})])}}}),d=s(i,[["__file","api-reference.html.vue"]]);export{d as default}; diff --git a/docs/.vuepress/dist/assets/api-reference.html-ab04c160.js b/docs/.vuepress/dist/assets/api-reference.html-d49fe156.js similarity index 88% rename from docs/.vuepress/dist/assets/api-reference.html-ab04c160.js rename to docs/.vuepress/dist/assets/api-reference.html-d49fe156.js index b3d528f..378532b 100644 --- a/docs/.vuepress/dist/assets/api-reference.html-ab04c160.js +++ b/docs/.vuepress/dist/assets/api-reference.html-d49fe156.js @@ -1 +1 @@ -import{_ as t}from"./app-0ebef9d2.js";import{g as a,o as r,E as n,Z as c,$ as _,a1 as p,_ as s}from"./framework-64cb0dab.js";const i=a({__name:"api-reference.html",setup(m){return r(()=>{t(()=>import("./rapidoc-min-8064c46b.js").then(e=>e.r),["assets/rapidoc-min-8064c46b.js","assets/commonjsHelpers-725317a4.js"])}),(e,l)=>{const o=n("ApiDoc");return c(),_("div",null,[p(o,{"spec-url":"https://raw.githubusercontent.com/crawlab-team/crawlab-core/main/docs/api/openapi.yaml"})])}}}),d=s(i,[["__file","api-reference.html.vue"]]);export{d as default}; +import{_ as t}from"./app-d433c202.js";import{g as a,o as r,E as n,Z as c,$ as _,a1 as p,_ as s}from"./framework-64cb0dab.js";const i=a({__name:"api-reference.html",setup(m){return r(()=>{t(()=>import("./rapidoc-min-8064c46b.js").then(e=>e.r),["assets/rapidoc-min-8064c46b.js","assets/commonjsHelpers-725317a4.js"])}),(e,l)=>{const o=n("ApiDoc");return c(),_("div",null,[p(o,{"spec-url":"https://raw.githubusercontent.com/crawlab-team/crawlab-core/main/docs/api/openapi.yaml"})])}}}),d=s(i,[["__file","api-reference.html.vue"]]);export{d as default}; diff --git a/docs/.vuepress/dist/assets/app-0ebef9d2.js b/docs/.vuepress/dist/assets/app-d433c202.js similarity index 88% rename from docs/.vuepress/dist/assets/app-0ebef9d2.js rename to docs/.vuepress/dist/assets/app-d433c202.js index 00192bd..10e5075 100644 --- a/docs/.vuepress/dist/assets/app-0ebef9d2.js +++ b/docs/.vuepress/dist/assets/app-d433c202.js @@ -1,5 +1,5 @@ -import{d as m,r as L,a as xe,b as Xa,i as j,c as gt,e as Za,f as Qa,g as y,h as Ie,j as un,o as M,k as h,l as r,m as Y,n as Ue,p as Ct,q as eo,u as to,w as O,s as Ge,t as no,v as Ye,x as ao,y as oo,z as ro,A as se,B as io,T as we,C as oe,D as lo,E as q,F as so,R as nt,G as dn,H as _t,I as vn,J as Z,K as co,L as pn,M as uo,N as Pe,O as je,P as vo,Q as po,S as Et,U as mo,V as ho,W as fo,X as go,Y as _o}from"./framework-64cb0dab.js";const Eo="modulepreload",bo=function(e){return"/"+e},$t={},u=function(t,n,a){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=bo(i),i in $t)return;$t[i]=!0;const l=i.endsWith(".css"),s=l?'[rel="stylesheet"]':"";if(!!a)for(let v=o.length-1;v>=0;v--){const p=o[v];if(p.href===i&&(!l||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":Eo,l||(d.as="script",d.crossOrigin=""),d.href=i,document.head.appendChild(d),l)return new Promise((v,p)=>{d.addEventListener("load",v),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())},yo={"v-8daa1a0e":()=>u(()=>import("./index.html-3e1a59e8.js"),[]).then(({data:e})=>e),"v-2d0ad528":()=>u(()=>import("./index.html-b81a5729.js"),[]).then(({data:e})=>e),"v-2d0a870d":()=>u(()=>import("./index.html-a56577c0.js"),[]).then(({data:e})=>e),"v-53f9ca7d":()=>u(()=>import("./index.html-5f001c46.js"),[]).then(({data:e})=>e),"v-271359be":()=>u(()=>import("./api-reference.html-5ff89c56.js"),[]).then(({data:e})=>e),"v-40000acc":()=>u(()=>import("./index.html-06104d8e.js"),[]).then(({data:e})=>e),"v-a68194b6":()=>u(()=>import("./introduction.html-18f4cb04.js"),[]).then(({data:e})=>e),"v-47357bdb":()=>u(()=>import("./index.html-fd5a5b88.js"),[]).then(({data:e})=>e),"v-62758f72":()=>u(()=>import("./quick-start.html-ba3a3ae2.js"),[]).then(({data:e})=>e),"v-4e90c949":()=>u(()=>import("./index.html-dfa2d7a5.js"),[]).then(({data:e})=>e),"v-1833c52e":()=>u(()=>import("./v0.6.html-f4484b30.js"),[]).then(({data:e})=>e),"v-60d0415b":()=>u(()=>import("./index.html-8bbb4147.js"),[]).then(({data:e})=>e),"v-5400a44a":()=>u(()=>import("./index.html-666a2fa4.js"),[]).then(({data:e})=>e),"v-ba122056":()=>u(()=>import("./installation.html-720e4239.js"),[]).then(({data:e})=>e),"v-d91e7afc":()=>u(()=>import("./license.html-0f198395.js"),[]).then(({data:e})=>e),"v-075401e2":()=>u(()=>import("./index.html-33eaa07a.js"),[]).then(({data:e})=>e),"v-372661e3":()=>u(()=>import("./api-reference.html-bed9677d.js"),[]).then(({data:e})=>e),"v-62f5f77f":()=>u(()=>import("./index.html-a89f5340.js"),[]).then(({data:e})=>e),"v-437fff60":()=>u(()=>import("./introduction.html-748e5d0c.js"),[]).then(({data:e})=>e),"v-e6412400":()=>u(()=>import("./index.html-31961f15.js"),[]).then(({data:e})=>e),"v-72889797":()=>u(()=>import("./quick-start.html-75f6120d.js"),[]).then(({data:e})=>e),"v-2809be24":()=>u(()=>import("./index.html-8c2656e7.js"),[]).then(({data:e})=>e),"v-5ad13729":()=>u(()=>import("./v0.6.html-4db2e45b.js"),[]).then(({data:e})=>e),"v-038ace00":()=>u(()=>import("./index.html-fc9bb0f4.js"),[]).then(({data:e})=>e),"v-075adbaf":()=>u(()=>import("./index.html-8e99a9c0.js"),[]).then(({data:e})=>e),"v-980061e0":()=>u(()=>import("./installation.html-5ec3535e.js"),[]).then(({data:e})=>e),"v-4fe20a67":()=>u(()=>import("./license.html-e86cd581.js"),[]).then(({data:e})=>e),"v-07b93d29":()=>u(()=>import("./index.html-d3bad99f.js"),[]).then(({data:e})=>e),"v-07c90877":()=>u(()=>import("./index.html-ded1263b.js"),[]).then(({data:e})=>e),"v-763cb96a":()=>u(()=>import("./index.html-8e51bcca.js"),[]).then(({data:e})=>e),"v-34974e3f":()=>u(()=>import("./index.html-d51e3636.js"),[]).then(({data:e})=>e),"v-51657f70":()=>u(()=>import("./index.html-76d5ede2.js"),[]).then(({data:e})=>e),"v-53c4493a":()=>u(()=>import("./index.html-f213f8ef.js"),[]).then(({data:e})=>e),"v-21108f28":()=>u(()=>import("./direct-deploy.html-f9dd8390.js"),[]).then(({data:e})=>e),"v-4afd353f":()=>u(()=>import("./docker.html-14a47537.js"),[]).then(({data:e})=>e),"v-7b986cd9":()=>u(()=>import("./kubernetes.html-be1b170e.js"),[]).then(({data:e})=>e),"v-396ffba8":()=>u(()=>import("./index.html-49fd1530.js"),[]).then(({data:e})=>e),"v-51f6c772":()=>u(()=>import("./index.html-6c763bcd.js"),[]).then(({data:e})=>e),"v-ff9bae3c":()=>u(()=>import("./index.html-ebce935e.js"),[]).then(({data:e})=>e),"v-4cb72786":()=>u(()=>import("./index.html-2f15d931.js"),[]).then(({data:e})=>e),"v-1501ff21":()=>u(()=>import("./index.html-1e856439.js"),[]).then(({data:e})=>e),"v-04e3ee35":()=>u(()=>import("./plugin-dependency.html-b26bc1b9.js"),[]).then(({data:e})=>e),"v-310566d5":()=>u(()=>import("./plugin-notification.html-61fce2cc.js"),[]).then(({data:e})=>e),"v-179ff12a":()=>u(()=>import("./plugin-spider-assistant.html-6bcc8c65.js"),[]).then(({data:e})=>e),"v-82e2edde":()=>u(()=>import("./index.html-2548fe36.js"),[]).then(({data:e})=>e),"v-8c44e4a2":()=>u(()=>import("./index.html-0fa17727.js"),[]).then(({data:e})=>e),"v-4df5f86a":()=>u(()=>import("./file-editor.html-70e3df02.js"),[]).then(({data:e})=>e),"v-15539f34":()=>u(()=>import("./integration.html-885a5cd8.js"),[]).then(({data:e})=>e),"v-3f046afd":()=>u(()=>import("./index.html-15137e2b.js"),[]).then(({data:e})=>e),"v-11bb1e1e":()=>u(()=>import("./index.html-8acf3abb.js"),[]).then(({data:e})=>e),"v-5245304f":()=>u(()=>import("./index.html-c0f2c0a5.js"),[]).then(({data:e})=>e),"v-525b42c9":()=>u(()=>import("./index.html-f39be925.js"),[]).then(({data:e})=>e),"v-38beca7b":()=>u(()=>import("./index.html-e446e569.js"),[]).then(({data:e})=>e),"v-210599ce":()=>u(()=>import("./index.html-8f907ef5.js"),[]).then(({data:e})=>e),"v-57036580":()=>u(()=>import("./mongodb.html-3a0884f3.js"),[]).then(({data:e})=>e),"v-1ab8cbc1":()=>u(()=>import("./index.html-e85e5e25.js"),[]).then(({data:e})=>e),"v-7ab8e2a9":()=>u(()=>import("./index.html-39e437ad.js"),[]).then(({data:e})=>e),"v-5df18ad9":()=>u(()=>import("./seaweedfs.html-1db3578d.js"),[]).then(({data:e})=>e),"v-0ca94962":()=>u(()=>import("./index.html-355f4bfb.js"),[]).then(({data:e})=>e),"v-77aaf5e4":()=>u(()=>import("./index.html-4085d2b8.js"),[]).then(({data:e})=>e),"v-18d1e7b2":()=>u(()=>import("./index.html-fffbad31.js"),[]).then(({data:e})=>e),"v-2dbb71f2":()=>u(()=>import("./index.html-6899aa04.js"),[]).then(({data:e})=>e),"v-d5216744":()=>u(()=>import("./master-node.html-bc6d5c9b.js"),[]).then(({data:e})=>e),"v-29685b88":()=>u(()=>import("./node-communication.html-20783300.js"),[]).then(({data:e})=>e),"v-0aa8c27a":()=>u(()=>import("./worker-node.html-70f5f3e0.js"),[]).then(({data:e})=>e),"v-13a7110f":()=>u(()=>import("./index.html-0834fcc1.js"),[]).then(({data:e})=>e),"v-7734c03a":()=>u(()=>import("./index.html-f0dafb26.js"),[]).then(({data:e})=>e),"v-96009232":()=>u(()=>import("./index.html-c7a3d36b.js"),[]).then(({data:e})=>e),"v-61461c6b":()=>u(()=>import("./index.html-58ddd963.js"),[]).then(({data:e})=>e),"v-d33c8996":()=>u(()=>import("./index.html-087edc9f.js"),[]).then(({data:e})=>e),"v-9cbccf3a":()=>u(()=>import("./direct-deploy.html-d5ace841.js"),[]).then(({data:e})=>e),"v-296c4864":()=>u(()=>import("./docker.html-c541ffa1.js"),[]).then(({data:e})=>e),"v-cf613504":()=>u(()=>import("./kubernetes.html-a1d93692.js"),[]).then(({data:e})=>e),"v-61d7646d":()=>u(()=>import("./index.html-a765c656.js"),[]).then(({data:e})=>e),"v-6a0a8636":()=>u(()=>import("./index.html-2f986041.js"),[]).then(({data:e})=>e),"v-dd7a1372":()=>u(()=>import("./index.html-5dd52d11.js"),[]).then(({data:e})=>e),"v-9c13ebaa":()=>u(()=>import("./index.html-12522c5e.js"),[]).then(({data:e})=>e),"v-a1a16d48":()=>u(()=>import("./index.html-a5a9185a.js"),[]).then(({data:e})=>e),"v-7f0c0a30":()=>u(()=>import("./plugin-dependency.html-b72ff858.js"),[]).then(({data:e})=>e),"v-7cd31fe0":()=>u(()=>import("./plugin-notification.html-a83a08fa.js"),[]).then(({data:e})=>e),"v-79c3e4e5":()=>u(()=>import("./plugin-spider-assistant.html-a3d0bb9a.js"),[]).then(({data:e})=>e),"v-03081278":()=>u(()=>import("./index.html-3fcfcd91.js"),[]).then(({data:e})=>e),"v-39551954":()=>u(()=>import("./index.html-d4ca8835.js"),[]).then(({data:e})=>e),"v-6225cd4a":()=>u(()=>import("./index.html-bc9ce8bb.js"),[]).then(({data:e})=>e),"v-623bdfc4":()=>u(()=>import("./index.html-c8281092.js"),[]).then(({data:e})=>e),"v-540ad7ea":()=>u(()=>import("./index.html-2d1b13c6.js"),[]).then(({data:e})=>e),"v-c11526b6":()=>u(()=>import("./file-editor.html-d74cf1cc.js"),[]).then(({data:e})=>e),"v-66d3136f":()=>u(()=>import("./integration.html-1315db5a.js"),[]).then(({data:e})=>e),"v-321aa514":()=>u(()=>import("./index.html-48460ec6.js"),[]).then(({data:e})=>e),"v-781cc28a":()=>u(()=>import("./mongodb.html-e60f46a7.js"),[]).then(({data:e})=>e),"v-e87c7c38":()=>u(()=>import("./index.html-16b7b1c7.js"),[]).then(({data:e})=>e),"v-4fccb258":()=>u(()=>import("./seaweedfs.html-1de641ff.js"),[]).then(({data:e})=>e),"v-0d06c83c":()=>u(()=>import("./index.html-c1a939e1.js"),[]).then(({data:e})=>e),"v-2b0cc6f6":()=>u(()=>import("./index.html-8d307b05.js"),[]).then(({data:e})=>e),"v-4f46bb5d":()=>u(()=>import("./index.html-b4cf56c2.js"),[]).then(({data:e})=>e),"v-1c81cd26":()=>u(()=>import("./index.html-3103cf8d.js"),[]).then(({data:e})=>e),"v-f63ac44e":()=>u(()=>import("./master-node.html-dffc86aa.js"),[]).then(({data:e})=>e),"v-6cdbf061":()=>u(()=>import("./node-communication.html-98b664b9.js"),[]).then(({data:e})=>e),"v-0bc7d816":()=>u(()=>import("./worker-node.html-baa07a16.js"),[]).then(({data:e})=>e),"v-05f9905d":()=>u(()=>import("./index.html-aa7ef76f.js"),[]).then(({data:e})=>e),"v-349c8b0f":()=>u(()=>import("./index.html-3f208094.js"),[]).then(({data:e})=>e),"v-196405af":()=>u(()=>import("./index.html-745274d3.js"),[]).then(({data:e})=>e),"v-04f06e42":()=>u(()=>import("./index.html-6701c989.js"),[]).then(({data:e})=>e),"v-130b9e34":()=>u(()=>import("./index.html-1629899a.js"),[]).then(({data:e})=>e),"v-66579e14":()=>u(()=>import("./index.html-28c927cf.js"),[]).then(({data:e})=>e),"v-3706649a":()=>u(()=>import("./404.html-8a42c25a.js"),[]).then(({data:e})=>e)},wo=JSON.parse(`{"base":"/","lang":"en-US","title":"","description":"","head":[["meta",{"name":"default-lang","content":"zh"}],["script",{"src":"/assets/js/umeng.js"}],["script",{"async":true,"src":"https://www.googletagmanager.com/gtag/js?id=G-G9445D9CW9"}],["script",{},"window.dataLayer = window.dataLayer || [];\\nfunction gtag(){dataLayer.push(arguments);}\\ngtag('js', new Date());\\ngtag('config', 'G-G9445D9CW9');"],["script",{},"(function(c,l,a,r,i,t,y){\\nc[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};\\nt=l.createElement(r);t.async=1;t.src=\\"https://www.clarity.ms/tag/\\"+i;\\ny=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);\\n})(window, document, \\"clarity\\", \\"script\\", \\"e3a7lpontr\\");"],["link",{"rel":"icon","href":"/favicon.ico"}]],"locales":{"/en/":{"lang":"en-US","title":"","description":"Documentation for distributed web crawler management platform Crawlab"},"/zh/":{"lang":"zh-CN","title":"","description":"Documentation for distributed web crawler management platform"}}}`),mn={"v-8daa1a0e":m(()=>u(()=>import("./index.html-d6e1badb.js"),["assets/index.html-d6e1badb.js","assets/framework-64cb0dab.js"])),"v-2d0ad528":m(()=>u(()=>import("./index.html-ad8b3a72.js"),["assets/index.html-ad8b3a72.js","assets/framework-64cb0dab.js"])),"v-2d0a870d":m(()=>u(()=>import("./index.html-f19b837b.js"),["assets/index.html-f19b837b.js","assets/framework-64cb0dab.js"])),"v-53f9ca7d":m(()=>u(()=>import("./index.html-6992020b.js"),["assets/index.html-6992020b.js","assets/framework-64cb0dab.js"])),"v-271359be":m(()=>u(()=>import("./api-reference.html-02012e67.js"),["assets/api-reference.html-02012e67.js","assets/framework-64cb0dab.js"])),"v-40000acc":m(()=>u(()=>import("./index.html-cdbe65aa.js"),["assets/index.html-cdbe65aa.js","assets/framework-64cb0dab.js"])),"v-a68194b6":m(()=>u(()=>import("./introduction.html-655140dd.js"),["assets/introduction.html-655140dd.js","assets/framework-64cb0dab.js"])),"v-47357bdb":m(()=>u(()=>import("./index.html-97eb5d36.js"),["assets/index.html-97eb5d36.js","assets/framework-64cb0dab.js"])),"v-62758f72":m(()=>u(()=>import("./quick-start.html-e4b1d393.js"),["assets/quick-start.html-e4b1d393.js","assets/framework-64cb0dab.js"])),"v-4e90c949":m(()=>u(()=>import("./index.html-0e5ac8a3.js"),["assets/index.html-0e5ac8a3.js","assets/framework-64cb0dab.js"])),"v-1833c52e":m(()=>u(()=>import("./v0.6.html-614d428a.js"),["assets/v0.6.html-614d428a.js","assets/framework-64cb0dab.js"])),"v-60d0415b":m(()=>u(()=>import("./index.html-0640701d.js"),["assets/index.html-0640701d.js","assets/framework-64cb0dab.js"])),"v-5400a44a":m(()=>u(()=>import("./index.html-d3d4573d.js"),["assets/index.html-d3d4573d.js","assets/framework-64cb0dab.js"])),"v-ba122056":m(()=>u(()=>import("./installation.html-33e8c9f8.js"),["assets/installation.html-33e8c9f8.js","assets/framework-64cb0dab.js"])),"v-d91e7afc":m(()=>u(()=>import("./license.html-ca032e8f.js"),["assets/license.html-ca032e8f.js","assets/framework-64cb0dab.js"])),"v-075401e2":m(()=>u(()=>import("./index.html-d1747809.js"),["assets/index.html-d1747809.js","assets/framework-64cb0dab.js"])),"v-372661e3":m(()=>u(()=>import("./api-reference.html-ab04c160.js"),["assets/api-reference.html-ab04c160.js","assets/framework-64cb0dab.js"])),"v-62f5f77f":m(()=>u(()=>import("./index.html-2a5cfdca.js"),["assets/index.html-2a5cfdca.js","assets/framework-64cb0dab.js"])),"v-437fff60":m(()=>u(()=>import("./introduction.html-7990588f.js"),["assets/introduction.html-7990588f.js","assets/framework-64cb0dab.js"])),"v-e6412400":m(()=>u(()=>import("./index.html-d70683da.js"),["assets/index.html-d70683da.js","assets/framework-64cb0dab.js"])),"v-72889797":m(()=>u(()=>import("./quick-start.html-9429c08c.js"),["assets/quick-start.html-9429c08c.js","assets/framework-64cb0dab.js"])),"v-2809be24":m(()=>u(()=>import("./index.html-3d393db8.js"),["assets/index.html-3d393db8.js","assets/framework-64cb0dab.js"])),"v-5ad13729":m(()=>u(()=>import("./v0.6.html-4454ad0c.js"),["assets/v0.6.html-4454ad0c.js","assets/framework-64cb0dab.js"])),"v-038ace00":m(()=>u(()=>import("./index.html-4014cc97.js"),["assets/index.html-4014cc97.js","assets/framework-64cb0dab.js"])),"v-075adbaf":m(()=>u(()=>import("./index.html-4c57bd0e.js"),["assets/index.html-4c57bd0e.js","assets/framework-64cb0dab.js"])),"v-980061e0":m(()=>u(()=>import("./installation.html-35c213fc.js"),["assets/installation.html-35c213fc.js","assets/framework-64cb0dab.js"])),"v-4fe20a67":m(()=>u(()=>import("./license.html-ad3b1724.js"),["assets/license.html-ad3b1724.js","assets/framework-64cb0dab.js"])),"v-07b93d29":m(()=>u(()=>import("./index.html-59f4c84b.js"),["assets/index.html-59f4c84b.js","assets/framework-64cb0dab.js"])),"v-07c90877":m(()=>u(()=>import("./index.html-2e7b3562.js"),["assets/index.html-2e7b3562.js","assets/framework-64cb0dab.js"])),"v-763cb96a":m(()=>u(()=>import("./index.html-76b2f44e.js"),["assets/index.html-76b2f44e.js","assets/framework-64cb0dab.js"])),"v-34974e3f":m(()=>u(()=>import("./index.html-4f7f06c3.js"),["assets/index.html-4f7f06c3.js","assets/framework-64cb0dab.js"])),"v-51657f70":m(()=>u(()=>import("./index.html-5f71caf1.js"),["assets/index.html-5f71caf1.js","assets/framework-64cb0dab.js"])),"v-53c4493a":m(()=>u(()=>import("./index.html-bf4871ad.js"),["assets/index.html-bf4871ad.js","assets/framework-64cb0dab.js"])),"v-21108f28":m(()=>u(()=>import("./direct-deploy.html-753fc64a.js"),["assets/direct-deploy.html-753fc64a.js","assets/framework-64cb0dab.js"])),"v-4afd353f":m(()=>u(()=>import("./docker.html-21129db4.js"),["assets/docker.html-21129db4.js","assets/framework-64cb0dab.js"])),"v-7b986cd9":m(()=>u(()=>import("./kubernetes.html-62b17d6d.js"),["assets/kubernetes.html-62b17d6d.js","assets/framework-64cb0dab.js"])),"v-396ffba8":m(()=>u(()=>import("./index.html-65d8aebd.js"),["assets/index.html-65d8aebd.js","assets/framework-64cb0dab.js"])),"v-51f6c772":m(()=>u(()=>import("./index.html-47dd9bc8.js"),["assets/index.html-47dd9bc8.js","assets/framework-64cb0dab.js"])),"v-ff9bae3c":m(()=>u(()=>import("./index.html-f1f5d767.js"),["assets/index.html-f1f5d767.js","assets/framework-64cb0dab.js"])),"v-4cb72786":m(()=>u(()=>import("./index.html-19441a16.js"),["assets/index.html-19441a16.js","assets/framework-64cb0dab.js"])),"v-1501ff21":m(()=>u(()=>import("./index.html-da101bcb.js"),["assets/index.html-da101bcb.js","assets/framework-64cb0dab.js"])),"v-04e3ee35":m(()=>u(()=>import("./plugin-dependency.html-d95c8037.js"),["assets/plugin-dependency.html-d95c8037.js","assets/framework-64cb0dab.js"])),"v-310566d5":m(()=>u(()=>import("./plugin-notification.html-ea3a89ca.js"),["assets/plugin-notification.html-ea3a89ca.js","assets/framework-64cb0dab.js"])),"v-179ff12a":m(()=>u(()=>import("./plugin-spider-assistant.html-b10ba5ea.js"),["assets/plugin-spider-assistant.html-b10ba5ea.js","assets/framework-64cb0dab.js"])),"v-82e2edde":m(()=>u(()=>import("./index.html-ad346522.js"),["assets/index.html-ad346522.js","assets/framework-64cb0dab.js"])),"v-8c44e4a2":m(()=>u(()=>import("./index.html-552fca55.js"),["assets/index.html-552fca55.js","assets/framework-64cb0dab.js"])),"v-4df5f86a":m(()=>u(()=>import("./file-editor.html-f92ba876.js"),["assets/file-editor.html-f92ba876.js","assets/framework-64cb0dab.js"])),"v-15539f34":m(()=>u(()=>import("./integration.html-db7a86b6.js"),["assets/integration.html-db7a86b6.js","assets/framework-64cb0dab.js"])),"v-3f046afd":m(()=>u(()=>import("./index.html-4453ac11.js"),["assets/index.html-4453ac11.js","assets/framework-64cb0dab.js"])),"v-11bb1e1e":m(()=>u(()=>import("./index.html-eba9312e.js"),["assets/index.html-eba9312e.js","assets/framework-64cb0dab.js"])),"v-5245304f":m(()=>u(()=>import("./index.html-1be889ce.js"),["assets/index.html-1be889ce.js","assets/framework-64cb0dab.js"])),"v-525b42c9":m(()=>u(()=>import("./index.html-e98d2633.js"),["assets/index.html-e98d2633.js","assets/framework-64cb0dab.js"])),"v-38beca7b":m(()=>u(()=>import("./index.html-dbb7f701.js"),["assets/index.html-dbb7f701.js","assets/framework-64cb0dab.js"])),"v-210599ce":m(()=>u(()=>import("./index.html-91bdac09.js"),["assets/index.html-91bdac09.js","assets/framework-64cb0dab.js"])),"v-57036580":m(()=>u(()=>import("./mongodb.html-c0cfb0ab.js"),["assets/mongodb.html-c0cfb0ab.js","assets/framework-64cb0dab.js"])),"v-1ab8cbc1":m(()=>u(()=>import("./index.html-486b9c33.js"),["assets/index.html-486b9c33.js","assets/framework-64cb0dab.js"])),"v-7ab8e2a9":m(()=>u(()=>import("./index.html-55c028bc.js"),["assets/index.html-55c028bc.js","assets/framework-64cb0dab.js"])),"v-5df18ad9":m(()=>u(()=>import("./seaweedfs.html-ae9c512e.js"),["assets/seaweedfs.html-ae9c512e.js","assets/framework-64cb0dab.js"])),"v-0ca94962":m(()=>u(()=>import("./index.html-28edcee9.js"),["assets/index.html-28edcee9.js","assets/framework-64cb0dab.js"])),"v-77aaf5e4":m(()=>u(()=>import("./index.html-02afe828.js"),["assets/index.html-02afe828.js","assets/framework-64cb0dab.js"])),"v-18d1e7b2":m(()=>u(()=>import("./index.html-092dce8e.js"),["assets/index.html-092dce8e.js","assets/framework-64cb0dab.js"])),"v-2dbb71f2":m(()=>u(()=>import("./index.html-367152ee.js"),["assets/index.html-367152ee.js","assets/framework-64cb0dab.js"])),"v-d5216744":m(()=>u(()=>import("./master-node.html-9559d22f.js"),["assets/master-node.html-9559d22f.js","assets/framework-64cb0dab.js"])),"v-29685b88":m(()=>u(()=>import("./node-communication.html-5f627d1f.js"),["assets/node-communication.html-5f627d1f.js","assets/framework-64cb0dab.js"])),"v-0aa8c27a":m(()=>u(()=>import("./worker-node.html-4a9aa42b.js"),["assets/worker-node.html-4a9aa42b.js","assets/framework-64cb0dab.js"])),"v-13a7110f":m(()=>u(()=>import("./index.html-66b6a347.js"),["assets/index.html-66b6a347.js","assets/framework-64cb0dab.js"])),"v-7734c03a":m(()=>u(()=>import("./index.html-d9e423b8.js"),["assets/index.html-d9e423b8.js","assets/framework-64cb0dab.js"])),"v-96009232":m(()=>u(()=>import("./index.html-096d480d.js"),["assets/index.html-096d480d.js","assets/framework-64cb0dab.js"])),"v-61461c6b":m(()=>u(()=>import("./index.html-95a484cd.js"),["assets/index.html-95a484cd.js","assets/framework-64cb0dab.js"])),"v-d33c8996":m(()=>u(()=>import("./index.html-4028ed1d.js"),["assets/index.html-4028ed1d.js","assets/framework-64cb0dab.js"])),"v-9cbccf3a":m(()=>u(()=>import("./direct-deploy.html-b88cc414.js"),["assets/direct-deploy.html-b88cc414.js","assets/framework-64cb0dab.js"])),"v-296c4864":m(()=>u(()=>import("./docker.html-e4029cc2.js"),["assets/docker.html-e4029cc2.js","assets/framework-64cb0dab.js"])),"v-cf613504":m(()=>u(()=>import("./kubernetes.html-2e08a06f.js"),["assets/kubernetes.html-2e08a06f.js","assets/framework-64cb0dab.js"])),"v-61d7646d":m(()=>u(()=>import("./index.html-3d849014.js"),["assets/index.html-3d849014.js","assets/framework-64cb0dab.js"])),"v-6a0a8636":m(()=>u(()=>import("./index.html-e9931eba.js"),["assets/index.html-e9931eba.js","assets/framework-64cb0dab.js"])),"v-dd7a1372":m(()=>u(()=>import("./index.html-721a6149.js"),["assets/index.html-721a6149.js","assets/framework-64cb0dab.js"])),"v-9c13ebaa":m(()=>u(()=>import("./index.html-32278645.js"),["assets/index.html-32278645.js","assets/framework-64cb0dab.js"])),"v-a1a16d48":m(()=>u(()=>import("./index.html-3f72f294.js"),["assets/index.html-3f72f294.js","assets/framework-64cb0dab.js"])),"v-7f0c0a30":m(()=>u(()=>import("./plugin-dependency.html-b3350bb0.js"),["assets/plugin-dependency.html-b3350bb0.js","assets/framework-64cb0dab.js"])),"v-7cd31fe0":m(()=>u(()=>import("./plugin-notification.html-63fa5e64.js"),["assets/plugin-notification.html-63fa5e64.js","assets/framework-64cb0dab.js"])),"v-79c3e4e5":m(()=>u(()=>import("./plugin-spider-assistant.html-a79c7ea6.js"),["assets/plugin-spider-assistant.html-a79c7ea6.js","assets/framework-64cb0dab.js"])),"v-03081278":m(()=>u(()=>import("./index.html-943b7f7a.js"),["assets/index.html-943b7f7a.js","assets/framework-64cb0dab.js"])),"v-39551954":m(()=>u(()=>import("./index.html-9d65db99.js"),["assets/index.html-9d65db99.js","assets/framework-64cb0dab.js"])),"v-6225cd4a":m(()=>u(()=>import("./index.html-bd1ffaf2.js"),["assets/index.html-bd1ffaf2.js","assets/framework-64cb0dab.js"])),"v-623bdfc4":m(()=>u(()=>import("./index.html-f1ef677c.js"),["assets/index.html-f1ef677c.js","assets/framework-64cb0dab.js"])),"v-540ad7ea":m(()=>u(()=>import("./index.html-833feed0.js"),["assets/index.html-833feed0.js","assets/framework-64cb0dab.js"])),"v-c11526b6":m(()=>u(()=>import("./file-editor.html-90ee605a.js"),["assets/file-editor.html-90ee605a.js","assets/framework-64cb0dab.js"])),"v-66d3136f":m(()=>u(()=>import("./integration.html-068373cf.js"),["assets/integration.html-068373cf.js","assets/framework-64cb0dab.js"])),"v-321aa514":m(()=>u(()=>import("./index.html-3de8c182.js"),["assets/index.html-3de8c182.js","assets/framework-64cb0dab.js"])),"v-781cc28a":m(()=>u(()=>import("./mongodb.html-0ce00a7f.js"),["assets/mongodb.html-0ce00a7f.js","assets/framework-64cb0dab.js"])),"v-e87c7c38":m(()=>u(()=>import("./index.html-b2ce7e7f.js"),["assets/index.html-b2ce7e7f.js","assets/framework-64cb0dab.js"])),"v-4fccb258":m(()=>u(()=>import("./seaweedfs.html-c2751f39.js"),["assets/seaweedfs.html-c2751f39.js","assets/framework-64cb0dab.js"])),"v-0d06c83c":m(()=>u(()=>import("./index.html-857c4929.js"),["assets/index.html-857c4929.js","assets/framework-64cb0dab.js"])),"v-2b0cc6f6":m(()=>u(()=>import("./index.html-18aa5aaa.js"),["assets/index.html-18aa5aaa.js","assets/framework-64cb0dab.js"])),"v-4f46bb5d":m(()=>u(()=>import("./index.html-5db672e4.js"),["assets/index.html-5db672e4.js","assets/framework-64cb0dab.js"])),"v-1c81cd26":m(()=>u(()=>import("./index.html-1fad8705.js"),["assets/index.html-1fad8705.js","assets/framework-64cb0dab.js"])),"v-f63ac44e":m(()=>u(()=>import("./master-node.html-7d21ad56.js"),["assets/master-node.html-7d21ad56.js","assets/framework-64cb0dab.js"])),"v-6cdbf061":m(()=>u(()=>import("./node-communication.html-6f459ea0.js"),["assets/node-communication.html-6f459ea0.js","assets/framework-64cb0dab.js"])),"v-0bc7d816":m(()=>u(()=>import("./worker-node.html-e487615c.js"),["assets/worker-node.html-e487615c.js","assets/framework-64cb0dab.js"])),"v-05f9905d":m(()=>u(()=>import("./index.html-0916704b.js"),["assets/index.html-0916704b.js","assets/framework-64cb0dab.js"])),"v-349c8b0f":m(()=>u(()=>import("./index.html-0ff90bed.js"),["assets/index.html-0ff90bed.js","assets/framework-64cb0dab.js"])),"v-196405af":m(()=>u(()=>import("./index.html-e5dd1097.js"),["assets/index.html-e5dd1097.js","assets/framework-64cb0dab.js"])),"v-04f06e42":m(()=>u(()=>import("./index.html-57bd1c3b.js"),["assets/index.html-57bd1c3b.js","assets/framework-64cb0dab.js"])),"v-130b9e34":m(()=>u(()=>import("./index.html-7422fbd8.js"),["assets/index.html-7422fbd8.js","assets/framework-64cb0dab.js"])),"v-66579e14":m(()=>u(()=>import("./index.html-9d4f6672.js"),["assets/index.html-9d4f6672.js","assets/framework-64cb0dab.js"])),"v-3706649a":m(()=>u(()=>import("./404.html-57a877d7.js"),["assets/404.html-57a877d7.js","assets/framework-64cb0dab.js"]))};var Ao=Symbol(""),To=L(yo),hn=xe({key:"",path:"",title:"",lang:"",frontmatter:{},headers:[]}),le=L(hn),I=()=>le,fn=Symbol(""),C=()=>{const e=Y(fn);if(!e)throw new Error("usePageFrontmatter() is called without provider.");return e},gn=Symbol(""),Lo=()=>{const e=Y(gn);if(!e)throw new Error("usePageHead() is called without provider.");return e},ko=Symbol(""),_n=Symbol(""),En=()=>{const e=Y(_n);if(!e)throw new Error("usePageLang() is called without provider.");return e},bn=Symbol(""),Do=()=>{const e=Y(bn);if(!e)throw new Error("usePageLayout() is called without provider.");return e},bt=Symbol(""),me=()=>{const e=Y(bt);if(!e)throw new Error("useRouteLocale() is called without provider.");return e},Ee=L(wo),yn=()=>Ee,wn=Symbol(""),Je=()=>{const e=Y(wn);if(!e)throw new Error("useSiteLocaleData() is called without provider.");return e},Ro=Symbol(""),xo="Layout",Io="NotFound",ee=Xa({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageData:async e=>{const t=To.value[e];return await(t==null?void 0:t())??hn},resolvePageFrontmatter:e=>e.frontmatter,resolvePageHead:(e,t,n)=>{const a=j(t.description)?t.description:n.description,o=[...gt(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:a}]];return Za(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:e=>e.lang||"en",resolvePageLayout:(e,t)=>{let n;if(e.path){const a=e.frontmatter.layout;j(a)?n=a:n=xo}else n=Io;return t[n]},resolveRouteLocale:(e,t)=>Qa(e,t),resolveSiteLocaleData:(e,t)=>({...e,...e.locales[t]})}),Ke=y({name:"ClientOnly",setup(e,t){const n=L(!1);return M(()=>{n.value=!0}),()=>{var a,o;return n.value?(o=(a=t.slots).default)==null?void 0:o.call(a):null}}}),An=y({name:"Content",props:{pageKey:{type:String,required:!1,default:""}},setup(e){const t=I(),n=h(()=>mn[e.pageKey||t.value.key]);return()=>n.value?r(n.value):r("div","404 Not Found")}}),J=(e={})=>e,Ae=e=>Ie(e)?e:`/${un(e)}`;const Po={};var B=Uint8Array,ve=Uint16Array,Tn=Uint32Array,Ln=new B([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),kn=new B([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Oo=new B([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Dn=function(e,t){for(var n=new ve(31),a=0;a<31;++a)n[a]=t+=1<>>1|(z&21845)<<1;ie=(ie&52428)>>>2|(ie&13107)<<2,ie=(ie&61680)>>>4|(ie&3855)<<4,ct[z]=((ie&65280)>>>8|(ie&255)<<8)>>>1}var De=function(e,t,n){for(var a=e.length,o=0,i=new ve(t);o>>c]=d}else for(s=new ve(a),o=0;o>>15-e[o]);return s},Oe=new B(288);for(var z=0;z<144;++z)Oe[z]=8;for(var z=144;z<256;++z)Oe[z]=9;for(var z=256;z<280;++z)Oe[z]=7;for(var z=280;z<288;++z)Oe[z]=8;var In=new B(32);for(var z=0;z<32;++z)In[z]=5;var Mo=De(Oe,9,1),Co=De(In,5,1),at=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},U=function(e,t,n){var a=t/8|0;return(e[a]|e[a+1]<<8)>>(t&7)&n},ot=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},$o=function(e){return(e+7)/8|0},yt=function(e,t,n){(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length);var a=new(e.BYTES_PER_ELEMENT==2?ve:e.BYTES_PER_ELEMENT==4?Tn:B)(n-t);return a.set(e.subarray(t,n)),a},No=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],G=function(e,t,n){var a=new Error(t||No[e]);if(a.code=e,Error.captureStackTrace&&Error.captureStackTrace(a,G),!n)throw a;return a},Bo=function(e,t,n){var a=e.length;if(!a||n&&n.f&&!n.l)return t||new B(0);var o=!t||n,i=!n||n.i;n||(n={}),t||(t=new B(a*3));var l=function(Vt){var St=t.length;if(Vt>St){var Mt=new B(Math.max(St*2,Vt));Mt.set(t),t=Mt}},s=n.f||0,c=n.p||0,d=n.b||0,v=n.l,p=n.d,f=n.m,g=n.n,b=a*8;do{if(!v){s=U(e,c,1);var w=U(e,c+1,3);if(c+=3,w)if(w==1)v=Mo,p=Co,f=9,g=5;else if(w==2){var x=U(e,c,31)+257,$=U(e,c+10,15)+4,N=x+U(e,c+5,31)+1;c+=14;for(var R=new B(N),A=new B(19),T=0;T<$;++T)A[Oo[T]]=U(e,c+T*3,7);c+=$*3;for(var S=at(A),Q=(1<>>4;if(E<16)R[T++]=E;else{var he=0,Ce=0;for(E==16?(Ce=3+U(e,c,3),c+=2,he=R[T-1]):E==17?(Ce=3+U(e,c,7),c+=3):E==18&&(Ce=11+U(e,c,127),c+=7);Ce--;)R[T++]=he}}var Pt=R.subarray(0,x),re=R.subarray(x);f=at(Pt),g=at(re),v=De(Pt,f,1),p=De(re,g,1)}else G(1);else{var E=$o(c)+4,_=e[E-4]|e[E-3]<<8,D=E+_;if(D>a){i&&G(0);break}o&&l(d+_),t.set(e.subarray(E,D),d),n.b=d+=_,n.p=c=D*8,n.f=s;continue}if(c>b){i&&G(0);break}}o&&l(d+131072);for(var Ja=(1<>>4;if(c+=he&15,c>b){i&&G(0);break}if(he||G(2),fe<256)t[d++]=fe;else if(fe==256){Qe=c,v=null;break}else{var Ot=fe-254;if(fe>264){var T=fe-257,ke=Ln[T];Ot=U(e,c,(1<>>4;et||G(3),c+=et&15;var re=So[tt];if(tt>3){var ke=kn[tt];re+=ot(e,c)&(1<b){i&&G(0);break}o&&l(d+131072);for(var zt=d+Ot;d>>4>7||(e[0]<<8|e[1])%31)&&G(6,"invalid zlib data"),e[1]&32&&G(6,"invalid zlib data: preset dictionaries not supported")};function jo(e,t){return Bo((Ho(e),e.subarray(2,-4)),t)}var Nt=typeof TextEncoder<"u"&&new TextEncoder,ut=typeof TextDecoder<"u"&&new TextDecoder,qo=0;try{ut.decode(Fo,{stream:!0}),qo=1}catch{}var Wo=function(e){for(var t="",n=0;;){var a=e[n++],o=(a>127)+(a>223)+(a>239);if(n+o>e.length)return[t,yt(e,n-1)];o?o==3?(a=((a&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|a>>10,56320|a&1023)):o&1?t+=String.fromCharCode((a&31)<<6|e[n++]&63):t+=String.fromCharCode((a&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(a)}};function Uo(e,t){if(t){for(var n=new B(e.length),a=0;a>1)),l=0,s=function(v){i[l++]=v},a=0;ai.length){var c=new B(l+8+(o-a<<1));c.set(i),i=c}var d=e.charCodeAt(a);d<128||t?s(d):d<2048?(s(192|d>>6),s(128|d&63)):d>55295&&d<57344?(d=65536+(d&1023<<10)|e.charCodeAt(++a)&1023,s(240|d>>18),s(128|d>>12&63),s(128|d>>6&63),s(128|d&63)):(s(224|d>>12),s(128|d>>6&63),s(128|d&63))}return yt(i,0,l)}function Go(e,t){if(t){for(var n="",a=0;a{var a;return r("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(a=n.default)==null?void 0:a.call(n))};V.displayName="IconBase";const Pn=({size:e=48,stroke:t=4,wrapper:n=!0,height:a=2*e})=>{const o=r("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[r("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),r("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[r("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),r("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?r("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${a}px`},o):o};Pn.displayName="LoadingIcon";const On=(e,{slots:t})=>{var n;return((n=t.default)==null?void 0:n.call(t))||null},zn=()=>r(V,{name:"github"},()=>r("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));zn.displayName="GitHubIcon";const Vn=()=>r(V,{name:"gitlab"},()=>r("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));Vn.displayName="GitLabIcon";const Sn=()=>r(V,{name:"gitee"},()=>r("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));Sn.displayName="GiteeIcon";const Mn=()=>r(V,{name:"bitbucket"},()=>r("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));Mn.displayName="BitbucketIcon";const Cn=()=>r(V,{name:"source"},()=>r("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));Cn.displayName="SourceIcon";const $n=Array.isArray,Yo=e=>typeof e=="function",Jo=e=>typeof e=="string";var Nn=e=>/^(https?:)?\/\//.test(e),Bn=e=>Object.prototype.toString.call(e)==="[object Object]";const ne=(e,t)=>{const n=t?t._instance:Ue();return Bn(n==null?void 0:n.appContext.components)&&(e in n.appContext.components||Ct(e)in n.appContext.components||eo(Ct(e))in n.appContext.components)};function Ko(){const e=L(!1);return Ue()&&M(()=>{e.value=!0}),e}function Xo(e){return Ko(),h(()=>!!e())}const Zo=()=>Xo(()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator),Qo=()=>{const e=Zo();return h(()=>e.value&&/\b(?:Android|iPhone)/i.test(navigator.userAgent))},ze=e=>{const t=me();return h(()=>e[t.value])},er=(e="")=>{if(e){if(typeof e=="number")return new Date(e);const t=Date.parse(e.toString());if(!Number.isNaN(t))return new Date(t)}return null},Fn=(e,t)=>{let n=1;for(let a=0;a>6;return n+=n<<3,n^=n>>11,n%t},pe=e=>typeof e=="string",Re=(e,t)=>pe(e)&&e.startsWith(t),ge=(e,t)=>pe(e)&&e.endsWith(t),Hn=Object.entries,Le=Object.keys,Bt=e=>Bn(e)&&pe(e.name),Ft=(e,t=!1)=>e?$n(e)?e.map(n=>pe(n)?{name:n}:Bt(n)?n:null).filter(n=>n!==null):pe(e)?[{name:e}]:Bt(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],jn=(e,t)=>{if(e){if($n(e)&&e.every(pe))return e;if(pe(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},tr=e=>jn(e,"category"),nr=e=>jn(e,"tag"),wt=e=>Re(e,"/"),qn=/#.*$/u,ar=e=>{const t=qn.exec(e);return t?t[0]:""},Ht=e=>decodeURI(e).replace(qn,"").replace(/(index)?\.(md|html)$/,""),At=(e,t)=>{if(t===void 0)return!1;const n=Ht(e.path),a=Ht(t),o=ar(t);return o?o===e.hash&&(!a||n===a):n===a},or=e=>{const t=atob(e);return Go(jo(Uo(t,!0)))},rr=e=>Nn(e)?e:`https://github.com/${e}`,Wn=e=>!Nn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null,Tt=(e,...t)=>{const n=e.resolve(...t),a=n.matched.at(-1);if(!(a!=null&&a.redirect))return n;const{redirect:o}=a,i=Yo(o)?o(n):o,l=Jo(i)?{path:i}:i;return Tt(e,{hash:n.hash,query:n.query,params:n.params,...l})};function ce(e){return oo()?(ro(e),!0):!1}function K(e){return typeof e=="function"?e():to(e)}const Ve=typeof window<"u",qe=()=>{},jt=ir();function ir(){var e;return Ve&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function Un(e,t){function n(...a){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,a),{fn:t,thisArg:this,args:a})).then(o).catch(i)})}return n}const Gn=e=>e();function lr(e,t=!0,n=!0,a=!1){let o=0,i,l=!0,s=qe,c;const d=()=>{i&&(clearTimeout(i),i=void 0,s(),s=qe)};return p=>{const f=K(e),g=Date.now()-o,b=()=>c=p();return d(),f<=0?(o=Date.now(),b()):(g>f&&(n||!l)?(o=Date.now(),b()):t&&(c=new Promise((w,E)=>{s=a?E:w,i=setTimeout(()=>{o=Date.now(),l=!0,w(b()),d()},Math.max(0,f-g))})),!n&&!i&&(i=setTimeout(()=>l=!0,f)),l=!1,c)}}function sr(e=Gn){const t=L(!0);function n(){t.value=!1}function a(){t.value=!0}const o=(...i)=>{t.value&&e(...i)};return{isActive:xe(t),pause:n,resume:a,eventFilter:o}}function Yn(...e){if(e.length!==1)return Ye(...e);const t=e[0];return typeof t=="function"?xe(ao(()=>({get:t,set:qe}))):L(t)}function cr(e,t=200,n=!1,a=!0,o=!1){return Un(lr(t,n,a,o),e)}function Jn(e,t=!0){Ue()?M(e):t?e():Ge(e)}function ur(e,t,n={}){const{immediate:a=!0}=n,o=L(!1);let i=null;function l(){i&&(clearTimeout(i),i=null)}function s(){o.value=!1,l()}function c(...d){l(),o.value=!0,i=setTimeout(()=>{o.value=!1,i=null,e(...d)},K(t))}return a&&(o.value=!0,Ve&&c()),ce(s),{isPending:xe(o),start:c,stop:s}}function qt(e=!1,t={}){const{truthyValue:n=!0,falsyValue:a=!1}=t,o=no(e),i=L(e);function l(s){if(arguments.length)return i.value=s,i.value;{const c=K(n);return i.value=i.value===c?K(a):c,i.value}}return o?l:[i,l]}var Wt=Object.getOwnPropertySymbols,dr=Object.prototype.hasOwnProperty,vr=Object.prototype.propertyIsEnumerable,pr=(e,t)=>{var n={};for(var a in e)dr.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&Wt)for(var a of Wt(e))t.indexOf(a)<0&&vr.call(e,a)&&(n[a]=e[a]);return n};function mr(e,t,n={}){const a=n,{eventFilter:o=Gn}=a,i=pr(a,["eventFilter"]);return O(e,Un(o,t),i)}var hr=Object.defineProperty,fr=Object.defineProperties,gr=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,Kn=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,Ut=(e,t,n)=>t in e?hr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_r=(e,t)=>{for(var n in t||(t={}))Kn.call(t,n)&&Ut(e,n,t[n]);if(We)for(var n of We(t))Xn.call(t,n)&&Ut(e,n,t[n]);return e},Er=(e,t)=>fr(e,gr(t)),br=(e,t)=>{var n={};for(var a in e)Kn.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&We)for(var a of We(e))t.indexOf(a)<0&&Xn.call(e,a)&&(n[a]=e[a]);return n};function yr(e,t,n={}){const a=n,{eventFilter:o}=a,i=br(a,["eventFilter"]),{eventFilter:l,pause:s,resume:c,isActive:d}=sr(o);return{stop:mr(e,t,Er(_r({},i),{eventFilter:l})),pause:s,resume:c,isActive:d}}function ae(e){var t;const n=K(e);return(t=n==null?void 0:n.$el)!=null?t:n}const X=Ve?window:void 0,Zn=Ve?window.document:void 0,wr=Ve?window.navigator:void 0;function H(...e){let t,n,a,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,a,o]=e,t=X):[t,n,a,o]=e,!t)return qe;Array.isArray(n)||(n=[n]),Array.isArray(a)||(a=[a]);const i=[],l=()=>{i.forEach(v=>v()),i.length=0},s=(v,p,f,g)=>(v.addEventListener(p,f,g),()=>v.removeEventListener(p,f,g)),c=O(()=>[ae(t),K(o)],([v,p])=>{l(),v&&i.push(...n.flatMap(f=>a.map(g=>s(v,f,g,p))))},{immediate:!0,flush:"post"}),d=()=>{c(),l()};return ce(d),d}function Ar(){const e=L(!1);return Ue()&&M(()=>{e.value=!0}),e}function Se(e){const t=Ar();return h(()=>(t.value,Boolean(e())))}function Qn(e,t={}){const{window:n=X}=t,a=Se(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const i=L(!1),l=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",s):o.removeListener(s))},s=()=>{a.value&&(l(),o=n.matchMedia(Yn(e).value),i.value=!!(o!=null&&o.matches),o&&("addEventListener"in o?o.addEventListener("change",s):o.addListener(s)))};return io(s),ce(()=>l()),i}function Tr(e={}){const{navigator:t=wr,read:n=!1,source:a,copiedDuring:o=1500,legacy:i=!1}=e,l=["copy","cut"],s=Se(()=>t&&"clipboard"in t),c=h(()=>s.value||i),d=L(""),v=L(!1),p=ur(()=>v.value=!1,o);function f(){s.value?t.clipboard.readText().then(E=>{d.value=E}):d.value=w()}if(c.value&&n)for(const E of l)H(E,f);async function g(E=K(a)){c.value&&E!=null&&(s.value?await t.clipboard.writeText(E):b(E),d.value=E,v.value=!0,p.start())}function b(E){const _=document.createElement("textarea");_.value=E??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function w(){var E,_,D;return(D=(_=(E=document==null?void 0:document.getSelection)==null?void 0:E.call(document))==null?void 0:_.toString())!=null?D:""}return{isSupported:c,text:d,copied:v,copy:g}}const $e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ne="__vueuse_ssr_handlers__",Lr=kr();function kr(){return Ne in $e||($e[Ne]=$e[Ne]||{}),$e[Ne]}function Dr(e,t){return Lr[e]||t}function Rr(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}var xr=Object.defineProperty,Gt=Object.getOwnPropertySymbols,Ir=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable,Yt=(e,t,n)=>t in e?xr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jt=(e,t)=>{for(var n in t||(t={}))Ir.call(t,n)&&Yt(e,n,t[n]);if(Gt)for(var n of Gt(t))Pr.call(t,n)&&Yt(e,n,t[n]);return e};const Or={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Kt="vueuse-storage";function ea(e,t,n,a={}){var o;const{flush:i="pre",deep:l=!0,listenToStorageChanges:s=!0,writeDefaults:c=!0,mergeDefaults:d=!1,shallow:v,window:p=X,eventFilter:f,onError:g=T=>{console.error(T)}}=a,b=(v?se:L)(t);if(!n)try{n=Dr("getDefaultStorage",()=>{var T;return(T=X)==null?void 0:T.localStorage})()}catch(T){g(T)}if(!n)return b;const w=K(t),E=Rr(w),_=(o=a.serializer)!=null?o:Or[E],{pause:D,resume:x}=yr(b,()=>$(b.value),{flush:i,deep:l,eventFilter:f});return p&&s&&(H(p,"storage",A),H(p,Kt,R)),A(),b;function $(T){try{if(T==null)n.removeItem(e);else{const S=_.write(T),Q=n.getItem(e);Q!==S&&(n.setItem(e,S),p&&p.dispatchEvent(new CustomEvent(Kt,{detail:{key:e,oldValue:Q,newValue:S,storageArea:n}})))}}catch(S){g(S)}}function N(T){const S=T?T.newValue:n.getItem(e);if(S==null)return c&&w!==null&&n.setItem(e,_.write(w)),w;if(!T&&d){const Q=_.read(S);return typeof d=="function"?d(Q,w):E==="object"&&!Array.isArray(Q)?Jt(Jt({},w),Q):Q}else return typeof S!="string"?S:_.read(S)}function R(T){A(T.detail)}function A(T){if(!(T&&T.storageArea!==n)){if(T&&T.key==null){b.value=w;return}if(!(T&&T.key!==e)){D();try{b.value=N(T)}catch(S){g(S)}finally{T?Ge(x):x()}}}}}function zr(e){return Qn("(prefers-color-scheme: dark)",e)}var Xt=Object.getOwnPropertySymbols,Vr=Object.prototype.hasOwnProperty,Sr=Object.prototype.propertyIsEnumerable,Mr=(e,t)=>{var n={};for(var a in e)Vr.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&Xt)for(var a of Xt(e))t.indexOf(a)<0&&Sr.call(e,a)&&(n[a]=e[a]);return n};function Cr(e,t,n={}){const a=n,{window:o=X}=a,i=Mr(a,["window"]);let l;const s=Se(()=>o&&"MutationObserver"in o),c=()=>{l&&(l.disconnect(),l=void 0)},d=O(()=>ae(e),p=>{c(),s.value&&o&&p&&(l=new MutationObserver(t),l.observe(p,i))},{immediate:!0}),v=()=>{c(),d()};return ce(v),{isSupported:s,stop:v}}var Zt=Object.getOwnPropertySymbols,$r=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable,Br=(e,t)=>{var n={};for(var a in e)$r.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&Zt)for(var a of Zt(e))t.indexOf(a)<0&&Nr.call(e,a)&&(n[a]=e[a]);return n};function Fr(e,t,n={}){const a=n,{window:o=X}=a,i=Br(a,["window"]);let l;const s=Se(()=>o&&"ResizeObserver"in o),c=()=>{l&&(l.disconnect(),l=void 0)},d=h(()=>Array.isArray(e)?e.map(f=>ae(f)):[ae(e)]),v=O(d,f=>{if(c(),s.value&&o){l=new ResizeObserver(t);for(const g of f)g&&l.observe(g,i)}},{immediate:!0,flush:"post",deep:!0}),p=()=>{c(),v()};return ce(p),{isSupported:s,stop:p}}function Hr(e,t={width:0,height:0},n={}){const{window:a=X,box:o="content-box"}=n,i=h(()=>{var c,d;return(d=(c=ae(e))==null?void 0:c.namespaceURI)==null?void 0:d.includes("svg")}),l=L(t.width),s=L(t.height);return Fr(e,([c])=>{const d=o==="border-box"?c.borderBoxSize:o==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;if(a&&i.value){const v=ae(e);if(v){const p=a.getComputedStyle(v);l.value=Number.parseFloat(p.width),s.value=Number.parseFloat(p.height)}}else if(d){const v=Array.isArray(d)?d:[d];l.value=v.reduce((p,{inlineSize:f})=>p+f,0),s.value=v.reduce((p,{blockSize:f})=>p+f,0)}else l.value=c.contentRect.width,s.value=c.contentRect.height},n),O(()=>ae(e),c=>{l.value=c?t.width:0,s.value=c?t.height:0}),{width:l,height:s}}const Qt=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Lt(e,t={}){const{document:n=Zn,autoExit:a=!1}=t,o=h(()=>{var _;return(_=ae(e))!=null?_:n==null?void 0:n.querySelector("html")}),i=L(!1),l=h(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(_=>n&&_ in n||o.value&&_ in o.value)),s=h(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(_=>n&&_ in n||o.value&&_ in o.value)),c=h(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(_=>n&&_ in n||o.value&&_ in o.value)),d=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(_=>n&&_ in n),v=Se(()=>o.value&&n&&l.value!==void 0&&s.value!==void 0&&c.value!==void 0),p=()=>d?(n==null?void 0:n[d])===o.value:!1,f=()=>{if(c.value){if(n&&n[c.value]!=null)return n[c.value];{const _=o.value;if((_==null?void 0:_[c.value])!=null)return Boolean(_[c.value])}}return!1};async function g(){if(v.value){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const _=o.value;(_==null?void 0:_[s.value])!=null&&await _[s.value]()}i.value=!1}}async function b(){if(!v.value)return;f()&&await g();const _=o.value;l.value&&(_==null?void 0:_[l.value])!=null&&(await _[l.value](),i.value=!0)}async function w(){await(i.value?g():b())}const E=()=>{const _=f();(!_||_&&p())&&(i.value=_)};return H(n,Qt,E,!1),H(()=>ae(o),Qt,E,!1),a&&ce(g),{isSupported:v,isFullscreen:i,enter:b,exit:g,toggle:w}}function ta(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}function na(e,t=!1){const n=L(t);let a=null,o;O(Yn(e),s=>{if(s){const c=s;o=c.style.overflow,n.value&&(c.style.overflow="hidden")}},{immediate:!0});const i=()=>{const s=K(e);!s||n.value||(jt&&(a=H(s,"touchmove",c=>{jr(c)},{passive:!1})),s.style.overflow="hidden",n.value=!0)},l=()=>{const s=K(e);!s||!n.value||(jt&&(a==null||a()),s.style.overflow=o,n.value=!1)};return ce(l),h({get(){return n.value},set(s){s?i():l()}})}function qr(e,t,n={}){const{window:a=X}=n;return ea(e,t,a==null?void 0:a.sessionStorage,n)}let Wr=0;function Ur(e,t={}){const n=L(!1),{document:a=Zn,immediate:o=!0,manual:i=!1,id:l=`vueuse_styletag_${++Wr}`}=t,s=L(e);let c=()=>{};const d=()=>{if(!a)return;const p=a.getElementById(l)||a.createElement("style");p.isConnected||(p.type="text/css",p.id=l,t.media&&(p.media=t.media),a.head.appendChild(p)),!n.value&&(c=O(s,f=>{p.textContent=f},{immediate:!0}),n.value=!0)},v=()=>{!a||!n.value||(c(),a.head.removeChild(a.getElementById(l)),n.value=!1)};return o&&!i&&Jn(d),i||ce(v),{id:l,css:s,unload:v,load:d,isLoaded:xe(n)}}function Gr({window:e=X}={}){if(!e)return{x:L(0),y:L(0)};const t=L(e.scrollX),n=L(e.scrollY);return H(e,"scroll",()=>{t.value=e.scrollX,n.value=e.scrollY},{capture:!1,passive:!0}),{x:t,y:n}}function Yr(e={}){const{window:t=X,initialWidth:n=1/0,initialHeight:a=1/0,listenOrientation:o=!0,includeScrollbar:i=!0}=e,l=L(n),s=L(a),c=()=>{t&&(i?(l.value=t.innerWidth,s.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};if(c(),Jn(c),H("resize",c,{passive:!0}),o){const d=Qn("(orientation: portrait)");O(d,()=>c())}return{width:l,height:s}}const aa=({type:e="info",text:t="",vertical:n="top",color:a},{slots:o})=>{var i;return r("span",{class:["badge",e,{diy:a}],style:{verticalAlign:n,...a?{backgroundColor:a}:{}}},t||((i=o.default)==null?void 0:i.call(o)))};aa.displayName="Badge";var Jr=y({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=h(()=>{const a=["font-icon icon"],o=`iconfont icon-${e.icon}`;return a.push(o),a}),n=h(()=>{const a={};return e.color&&(a.color=e.color),e.size&&(a["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),Le(a).length?a:null});return()=>e.icon?r("span",{key:e.icon,class:t.value,style:n.value}):null}});const oa=()=>r(V,{name:"back-to-top"},()=>[r("path",{d:"M512 843.2c-36.2 0-66.4-13.6-85.8-21.8-10.8-4.6-22.6 3.6-21.8 15.2l7 102c.4 6.2 7.6 9.4 12.6 5.6l29-22c3.6-2.8 9-1.8 11.4 2l41 64.2c3 4.8 10.2 4.8 13.2 0l41-64.2c2.4-3.8 7.8-4.8 11.4-2l29 22c5 3.8 12.2.6 12.6-5.6l7-102c.8-11.6-11-20-21.8-15.2-19.6 8.2-49.6 21.8-85.8 21.8z"}),r("path",{d:"m795.4 586.2-96-98.2C699.4 172 513 32 513 32S324.8 172 324.8 488l-96 98.2c-3.6 3.6-5.2 9-4.4 14.2L261.2 824c1.8 11.4 14.2 17 23.6 10.8L419 744s41.4 40 94.2 40c52.8 0 92.2-40 92.2-40l134.2 90.8c9.2 6.2 21.6.6 23.6-10.8l37-223.8c.4-5.2-1.2-10.4-4.8-14zM513 384c-34 0-61.4-28.6-61.4-64s27.6-64 61.4-64c34 0 61.4 28.6 61.4 64S547 384 513 384z"})]);oa.displayName="BackToTopIcon";var Kr=y({name:"BackToTop",props:{threshold:{type:Number,default:100},noProgress:Boolean},setup(e){const t=C(),n=ze({"/en/":{backToTop:"Back to top"},"/zh/":{backToTop:"返回顶部"},"/":{backToTop:"Back to top"}}),a=se(),{height:o}=Hr(a),{height:i}=Yr(),{y:l}=Gr(),s=h(()=>t.value.backToTop!==!1&&l.value>e.threshold),c=h(()=>(console.log(l.value,o.value,i.value,l.value/(o.value-i.value)),l.value/(o.value-i.value)));return M(()=>{a.value=document.body}),()=>r(we,{name:"fade"},()=>s.value?r("button",{type:"button",class:"back-to-top","aria-label":n.value.backToTop,"data-balloon-pos":"left",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[e.noProgress?null:r("svg",{class:"scroll-progress"},r("circle",{cx:"50%",cy:"50%",r:"calc(50% - 2px)",style:{"stroke-dasharray":`calc(${Math.PI*c.value*100}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}})),r(oa)]):null)}});const Xr=J({enhance:({app:e})=>{ne("Badge")||e.component("Badge",aa),ne("FontIcon")||e.component("FontIcon",Jr)},setup:()=>{Ur(` @import url("https://at.alicdn.com/t/c/font_2410206_5vb9zlyghj.css"); +import{d as m,r as L,a as xe,b as Xa,i as j,c as gt,e as Za,f as Qa,g as y,h as Ie,j as un,o as M,k as h,l as r,m as Y,n as Ue,p as Ct,q as eo,u as to,w as O,s as Ge,t as no,v as Ye,x as ao,y as oo,z as ro,A as se,B as io,T as we,C as oe,D as lo,E as q,F as so,R as nt,G as dn,H as _t,I as vn,J as Z,K as co,L as pn,M as uo,N as Pe,O as je,P as vo,Q as po,S as Et,U as mo,V as ho,W as fo,X as go,Y as _o}from"./framework-64cb0dab.js";const Eo="modulepreload",bo=function(e){return"/"+e},$t={},u=function(t,n,a){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=bo(i),i in $t)return;$t[i]=!0;const l=i.endsWith(".css"),s=l?'[rel="stylesheet"]':"";if(!!a)for(let v=o.length-1;v>=0;v--){const p=o[v];if(p.href===i&&(!l||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":Eo,l||(d.as="script",d.crossOrigin=""),d.href=i,document.head.appendChild(d),l)return new Promise((v,p)=>{d.addEventListener("load",v),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())},yo={"v-8daa1a0e":()=>u(()=>import("./index.html-7b6d6050.js"),[]).then(({data:e})=>e),"v-2d0ad528":()=>u(()=>import("./index.html-9eda2933.js"),[]).then(({data:e})=>e),"v-2d0a870d":()=>u(()=>import("./index.html-a56577c0.js"),[]).then(({data:e})=>e),"v-53f9ca7d":()=>u(()=>import("./index.html-5f001c46.js"),[]).then(({data:e})=>e),"v-271359be":()=>u(()=>import("./api-reference.html-5ff89c56.js"),[]).then(({data:e})=>e),"v-40000acc":()=>u(()=>import("./index.html-06104d8e.js"),[]).then(({data:e})=>e),"v-a68194b6":()=>u(()=>import("./introduction.html-18f4cb04.js"),[]).then(({data:e})=>e),"v-4e90c949":()=>u(()=>import("./index.html-dfa2d7a5.js"),[]).then(({data:e})=>e),"v-1833c52e":()=>u(()=>import("./v0.6.html-f4484b30.js"),[]).then(({data:e})=>e),"v-47357bdb":()=>u(()=>import("./index.html-fd5a5b88.js"),[]).then(({data:e})=>e),"v-62758f72":()=>u(()=>import("./quick-start.html-ba3a3ae2.js"),[]).then(({data:e})=>e),"v-60d0415b":()=>u(()=>import("./index.html-8bbb4147.js"),[]).then(({data:e})=>e),"v-5400a44a":()=>u(()=>import("./index.html-666a2fa4.js"),[]).then(({data:e})=>e),"v-ba122056":()=>u(()=>import("./installation.html-720e4239.js"),[]).then(({data:e})=>e),"v-d91e7afc":()=>u(()=>import("./license.html-0f198395.js"),[]).then(({data:e})=>e),"v-075401e2":()=>u(()=>import("./index.html-33eaa07a.js"),[]).then(({data:e})=>e),"v-372661e3":()=>u(()=>import("./api-reference.html-bed9677d.js"),[]).then(({data:e})=>e),"v-62f5f77f":()=>u(()=>import("./index.html-a89f5340.js"),[]).then(({data:e})=>e),"v-437fff60":()=>u(()=>import("./introduction.html-748e5d0c.js"),[]).then(({data:e})=>e),"v-e6412400":()=>u(()=>import("./index.html-31961f15.js"),[]).then(({data:e})=>e),"v-72889797":()=>u(()=>import("./quick-start.html-75f6120d.js"),[]).then(({data:e})=>e),"v-2809be24":()=>u(()=>import("./index.html-8c2656e7.js"),[]).then(({data:e})=>e),"v-5ad13729":()=>u(()=>import("./v0.6.html-4db2e45b.js"),[]).then(({data:e})=>e),"v-038ace00":()=>u(()=>import("./index.html-fc9bb0f4.js"),[]).then(({data:e})=>e),"v-075adbaf":()=>u(()=>import("./index.html-8e99a9c0.js"),[]).then(({data:e})=>e),"v-980061e0":()=>u(()=>import("./installation.html-5ec3535e.js"),[]).then(({data:e})=>e),"v-4fe20a67":()=>u(()=>import("./license.html-e86cd581.js"),[]).then(({data:e})=>e),"v-07b93d29":()=>u(()=>import("./index.html-d3bad99f.js"),[]).then(({data:e})=>e),"v-07c90877":()=>u(()=>import("./index.html-ded1263b.js"),[]).then(({data:e})=>e),"v-763cb96a":()=>u(()=>import("./index.html-8e51bcca.js"),[]).then(({data:e})=>e),"v-34974e3f":()=>u(()=>import("./index.html-d51e3636.js"),[]).then(({data:e})=>e),"v-51657f70":()=>u(()=>import("./index.html-76d5ede2.js"),[]).then(({data:e})=>e),"v-53c4493a":()=>u(()=>import("./index.html-f213f8ef.js"),[]).then(({data:e})=>e),"v-21108f28":()=>u(()=>import("./direct-deploy.html-f9dd8390.js"),[]).then(({data:e})=>e),"v-4afd353f":()=>u(()=>import("./docker.html-14a47537.js"),[]).then(({data:e})=>e),"v-7b986cd9":()=>u(()=>import("./kubernetes.html-be1b170e.js"),[]).then(({data:e})=>e),"v-396ffba8":()=>u(()=>import("./index.html-49fd1530.js"),[]).then(({data:e})=>e),"v-51f6c772":()=>u(()=>import("./index.html-6c763bcd.js"),[]).then(({data:e})=>e),"v-ff9bae3c":()=>u(()=>import("./index.html-ebce935e.js"),[]).then(({data:e})=>e),"v-4cb72786":()=>u(()=>import("./index.html-2f15d931.js"),[]).then(({data:e})=>e),"v-1501ff21":()=>u(()=>import("./index.html-1e856439.js"),[]).then(({data:e})=>e),"v-04e3ee35":()=>u(()=>import("./plugin-dependency.html-b26bc1b9.js"),[]).then(({data:e})=>e),"v-310566d5":()=>u(()=>import("./plugin-notification.html-61fce2cc.js"),[]).then(({data:e})=>e),"v-179ff12a":()=>u(()=>import("./plugin-spider-assistant.html-6bcc8c65.js"),[]).then(({data:e})=>e),"v-82e2edde":()=>u(()=>import("./index.html-2548fe36.js"),[]).then(({data:e})=>e),"v-3f046afd":()=>u(()=>import("./index.html-15137e2b.js"),[]).then(({data:e})=>e),"v-8c44e4a2":()=>u(()=>import("./index.html-0fa17727.js"),[]).then(({data:e})=>e),"v-4df5f86a":()=>u(()=>import("./file-editor.html-70e3df02.js"),[]).then(({data:e})=>e),"v-15539f34":()=>u(()=>import("./integration.html-885a5cd8.js"),[]).then(({data:e})=>e),"v-5245304f":()=>u(()=>import("./index.html-c0f2c0a5.js"),[]).then(({data:e})=>e),"v-11bb1e1e":()=>u(()=>import("./index.html-8acf3abb.js"),[]).then(({data:e})=>e),"v-525b42c9":()=>u(()=>import("./index.html-f39be925.js"),[]).then(({data:e})=>e),"v-1ab8cbc1":()=>u(()=>import("./index.html-e85e5e25.js"),[]).then(({data:e})=>e),"v-38beca7b":()=>u(()=>import("./index.html-e446e569.js"),[]).then(({data:e})=>e),"v-210599ce":()=>u(()=>import("./index.html-8f907ef5.js"),[]).then(({data:e})=>e),"v-57036580":()=>u(()=>import("./mongodb.html-3a0884f3.js"),[]).then(({data:e})=>e),"v-7ab8e2a9":()=>u(()=>import("./index.html-39e437ad.js"),[]).then(({data:e})=>e),"v-5df18ad9":()=>u(()=>import("./seaweedfs.html-1db3578d.js"),[]).then(({data:e})=>e),"v-0ca94962":()=>u(()=>import("./index.html-355f4bfb.js"),[]).then(({data:e})=>e),"v-2dbb71f2":()=>u(()=>import("./index.html-6899aa04.js"),[]).then(({data:e})=>e),"v-d5216744":()=>u(()=>import("./master-node.html-bc6d5c9b.js"),[]).then(({data:e})=>e),"v-29685b88":()=>u(()=>import("./node-communication.html-20783300.js"),[]).then(({data:e})=>e),"v-0aa8c27a":()=>u(()=>import("./worker-node.html-70f5f3e0.js"),[]).then(({data:e})=>e),"v-77aaf5e4":()=>u(()=>import("./index.html-4085d2b8.js"),[]).then(({data:e})=>e),"v-13a7110f":()=>u(()=>import("./index.html-0834fcc1.js"),[]).then(({data:e})=>e),"v-18d1e7b2":()=>u(()=>import("./index.html-fffbad31.js"),[]).then(({data:e})=>e),"v-7734c03a":()=>u(()=>import("./index.html-f0dafb26.js"),[]).then(({data:e})=>e),"v-61461c6b":()=>u(()=>import("./index.html-58ddd963.js"),[]).then(({data:e})=>e),"v-96009232":()=>u(()=>import("./index.html-c7a3d36b.js"),[]).then(({data:e})=>e),"v-d33c8996":()=>u(()=>import("./index.html-087edc9f.js"),[]).then(({data:e})=>e),"v-9cbccf3a":()=>u(()=>import("./direct-deploy.html-d5ace841.js"),[]).then(({data:e})=>e),"v-296c4864":()=>u(()=>import("./docker.html-c541ffa1.js"),[]).then(({data:e})=>e),"v-cf613504":()=>u(()=>import("./kubernetes.html-a1d93692.js"),[]).then(({data:e})=>e),"v-61d7646d":()=>u(()=>import("./index.html-a765c656.js"),[]).then(({data:e})=>e),"v-dd7a1372":()=>u(()=>import("./index.html-5dd52d11.js"),[]).then(({data:e})=>e),"v-9c13ebaa":()=>u(()=>import("./index.html-12522c5e.js"),[]).then(({data:e})=>e),"v-a1a16d48":()=>u(()=>import("./index.html-a5a9185a.js"),[]).then(({data:e})=>e),"v-7f0c0a30":()=>u(()=>import("./plugin-dependency.html-b72ff858.js"),[]).then(({data:e})=>e),"v-7cd31fe0":()=>u(()=>import("./plugin-notification.html-a83a08fa.js"),[]).then(({data:e})=>e),"v-79c3e4e5":()=>u(()=>import("./plugin-spider-assistant.html-a3d0bb9a.js"),[]).then(({data:e})=>e),"v-6a0a8636":()=>u(()=>import("./index.html-2f986041.js"),[]).then(({data:e})=>e),"v-03081278":()=>u(()=>import("./index.html-3fcfcd91.js"),[]).then(({data:e})=>e),"v-540ad7ea":()=>u(()=>import("./index.html-2d1b13c6.js"),[]).then(({data:e})=>e),"v-c11526b6":()=>u(()=>import("./file-editor.html-d74cf1cc.js"),[]).then(({data:e})=>e),"v-66d3136f":()=>u(()=>import("./integration.html-1315db5a.js"),[]).then(({data:e})=>e),"v-6225cd4a":()=>u(()=>import("./index.html-bc9ce8bb.js"),[]).then(({data:e})=>e),"v-39551954":()=>u(()=>import("./index.html-d4ca8835.js"),[]).then(({data:e})=>e),"v-623bdfc4":()=>u(()=>import("./index.html-c8281092.js"),[]).then(({data:e})=>e),"v-0d06c83c":()=>u(()=>import("./index.html-c1a939e1.js"),[]).then(({data:e})=>e),"v-2b0cc6f6":()=>u(()=>import("./index.html-8d307b05.js"),[]).then(({data:e})=>e),"v-321aa514":()=>u(()=>import("./index.html-48460ec6.js"),[]).then(({data:e})=>e),"v-781cc28a":()=>u(()=>import("./mongodb.html-e60f46a7.js"),[]).then(({data:e})=>e),"v-e87c7c38":()=>u(()=>import("./index.html-16b7b1c7.js"),[]).then(({data:e})=>e),"v-4fccb258":()=>u(()=>import("./seaweedfs.html-1de641ff.js"),[]).then(({data:e})=>e),"v-4f46bb5d":()=>u(()=>import("./index.html-b4cf56c2.js"),[]).then(({data:e})=>e),"v-1c81cd26":()=>u(()=>import("./index.html-3103cf8d.js"),[]).then(({data:e})=>e),"v-f63ac44e":()=>u(()=>import("./master-node.html-dffc86aa.js"),[]).then(({data:e})=>e),"v-6cdbf061":()=>u(()=>import("./node-communication.html-98b664b9.js"),[]).then(({data:e})=>e),"v-0bc7d816":()=>u(()=>import("./worker-node.html-baa07a16.js"),[]).then(({data:e})=>e),"v-349c8b0f":()=>u(()=>import("./index.html-3f208094.js"),[]).then(({data:e})=>e),"v-05f9905d":()=>u(()=>import("./index.html-aa7ef76f.js"),[]).then(({data:e})=>e),"v-196405af":()=>u(()=>import("./index.html-745274d3.js"),[]).then(({data:e})=>e),"v-130b9e34":()=>u(()=>import("./index.html-1629899a.js"),[]).then(({data:e})=>e),"v-04f06e42":()=>u(()=>import("./index.html-6701c989.js"),[]).then(({data:e})=>e),"v-66579e14":()=>u(()=>import("./index.html-28c927cf.js"),[]).then(({data:e})=>e),"v-3706649a":()=>u(()=>import("./404.html-8a42c25a.js"),[]).then(({data:e})=>e)},wo=JSON.parse(`{"base":"/","lang":"en-US","title":"","description":"","head":[["meta",{"name":"default-lang","content":"zh"}],["script",{"src":"/assets/js/umeng.js"}],["script",{"async":true,"src":"https://www.googletagmanager.com/gtag/js?id=G-G9445D9CW9"}],["script",{},"window.dataLayer = window.dataLayer || [];\\nfunction gtag(){dataLayer.push(arguments);}\\ngtag('js', new Date());\\ngtag('config', 'G-G9445D9CW9');"],["script",{},"(function(c,l,a,r,i,t,y){\\nc[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};\\nt=l.createElement(r);t.async=1;t.src=\\"https://www.clarity.ms/tag/\\"+i;\\ny=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);\\n})(window, document, \\"clarity\\", \\"script\\", \\"e3a7lpontr\\");"],["link",{"rel":"icon","href":"/favicon.ico"}]],"locales":{"/en/":{"lang":"en-US","title":"","description":"Documentation for distributed web crawler management platform Crawlab"},"/zh/":{"lang":"zh-CN","title":"","description":"Documentation for distributed web crawler management platform"}}}`),mn={"v-8daa1a0e":m(()=>u(()=>import("./index.html-d6e1badb.js"),["assets/index.html-d6e1badb.js","assets/framework-64cb0dab.js"])),"v-2d0ad528":m(()=>u(()=>import("./index.html-f19b837b.js"),["assets/index.html-f19b837b.js","assets/framework-64cb0dab.js"])),"v-2d0a870d":m(()=>u(()=>import("./index.html-ad8b3a72.js"),["assets/index.html-ad8b3a72.js","assets/framework-64cb0dab.js"])),"v-53f9ca7d":m(()=>u(()=>import("./index.html-6992020b.js"),["assets/index.html-6992020b.js","assets/framework-64cb0dab.js"])),"v-271359be":m(()=>u(()=>import("./api-reference.html-c714a756.js"),["assets/api-reference.html-c714a756.js","assets/framework-64cb0dab.js"])),"v-40000acc":m(()=>u(()=>import("./index.html-cdbe65aa.js"),["assets/index.html-cdbe65aa.js","assets/framework-64cb0dab.js"])),"v-a68194b6":m(()=>u(()=>import("./introduction.html-655140dd.js"),["assets/introduction.html-655140dd.js","assets/framework-64cb0dab.js"])),"v-4e90c949":m(()=>u(()=>import("./index.html-0e5ac8a3.js"),["assets/index.html-0e5ac8a3.js","assets/framework-64cb0dab.js"])),"v-1833c52e":m(()=>u(()=>import("./v0.6.html-614d428a.js"),["assets/v0.6.html-614d428a.js","assets/framework-64cb0dab.js"])),"v-47357bdb":m(()=>u(()=>import("./index.html-97eb5d36.js"),["assets/index.html-97eb5d36.js","assets/framework-64cb0dab.js"])),"v-62758f72":m(()=>u(()=>import("./quick-start.html-e4b1d393.js"),["assets/quick-start.html-e4b1d393.js","assets/framework-64cb0dab.js"])),"v-60d0415b":m(()=>u(()=>import("./index.html-0640701d.js"),["assets/index.html-0640701d.js","assets/framework-64cb0dab.js"])),"v-5400a44a":m(()=>u(()=>import("./index.html-d3d4573d.js"),["assets/index.html-d3d4573d.js","assets/framework-64cb0dab.js"])),"v-ba122056":m(()=>u(()=>import("./installation.html-33e8c9f8.js"),["assets/installation.html-33e8c9f8.js","assets/framework-64cb0dab.js"])),"v-d91e7afc":m(()=>u(()=>import("./license.html-ca032e8f.js"),["assets/license.html-ca032e8f.js","assets/framework-64cb0dab.js"])),"v-075401e2":m(()=>u(()=>import("./index.html-d1747809.js"),["assets/index.html-d1747809.js","assets/framework-64cb0dab.js"])),"v-372661e3":m(()=>u(()=>import("./api-reference.html-d49fe156.js"),["assets/api-reference.html-d49fe156.js","assets/framework-64cb0dab.js"])),"v-62f5f77f":m(()=>u(()=>import("./index.html-2a5cfdca.js"),["assets/index.html-2a5cfdca.js","assets/framework-64cb0dab.js"])),"v-437fff60":m(()=>u(()=>import("./introduction.html-7990588f.js"),["assets/introduction.html-7990588f.js","assets/framework-64cb0dab.js"])),"v-e6412400":m(()=>u(()=>import("./index.html-d70683da.js"),["assets/index.html-d70683da.js","assets/framework-64cb0dab.js"])),"v-72889797":m(()=>u(()=>import("./quick-start.html-9429c08c.js"),["assets/quick-start.html-9429c08c.js","assets/framework-64cb0dab.js"])),"v-2809be24":m(()=>u(()=>import("./index.html-3d393db8.js"),["assets/index.html-3d393db8.js","assets/framework-64cb0dab.js"])),"v-5ad13729":m(()=>u(()=>import("./v0.6.html-4454ad0c.js"),["assets/v0.6.html-4454ad0c.js","assets/framework-64cb0dab.js"])),"v-038ace00":m(()=>u(()=>import("./index.html-4014cc97.js"),["assets/index.html-4014cc97.js","assets/framework-64cb0dab.js"])),"v-075adbaf":m(()=>u(()=>import("./index.html-4c57bd0e.js"),["assets/index.html-4c57bd0e.js","assets/framework-64cb0dab.js"])),"v-980061e0":m(()=>u(()=>import("./installation.html-35c213fc.js"),["assets/installation.html-35c213fc.js","assets/framework-64cb0dab.js"])),"v-4fe20a67":m(()=>u(()=>import("./license.html-ad3b1724.js"),["assets/license.html-ad3b1724.js","assets/framework-64cb0dab.js"])),"v-07b93d29":m(()=>u(()=>import("./index.html-59f4c84b.js"),["assets/index.html-59f4c84b.js","assets/framework-64cb0dab.js"])),"v-07c90877":m(()=>u(()=>import("./index.html-2e7b3562.js"),["assets/index.html-2e7b3562.js","assets/framework-64cb0dab.js"])),"v-763cb96a":m(()=>u(()=>import("./index.html-76b2f44e.js"),["assets/index.html-76b2f44e.js","assets/framework-64cb0dab.js"])),"v-34974e3f":m(()=>u(()=>import("./index.html-4f7f06c3.js"),["assets/index.html-4f7f06c3.js","assets/framework-64cb0dab.js"])),"v-51657f70":m(()=>u(()=>import("./index.html-5f71caf1.js"),["assets/index.html-5f71caf1.js","assets/framework-64cb0dab.js"])),"v-53c4493a":m(()=>u(()=>import("./index.html-bf4871ad.js"),["assets/index.html-bf4871ad.js","assets/framework-64cb0dab.js"])),"v-21108f28":m(()=>u(()=>import("./direct-deploy.html-753fc64a.js"),["assets/direct-deploy.html-753fc64a.js","assets/framework-64cb0dab.js"])),"v-4afd353f":m(()=>u(()=>import("./docker.html-21129db4.js"),["assets/docker.html-21129db4.js","assets/framework-64cb0dab.js"])),"v-7b986cd9":m(()=>u(()=>import("./kubernetes.html-62b17d6d.js"),["assets/kubernetes.html-62b17d6d.js","assets/framework-64cb0dab.js"])),"v-396ffba8":m(()=>u(()=>import("./index.html-65d8aebd.js"),["assets/index.html-65d8aebd.js","assets/framework-64cb0dab.js"])),"v-51f6c772":m(()=>u(()=>import("./index.html-47dd9bc8.js"),["assets/index.html-47dd9bc8.js","assets/framework-64cb0dab.js"])),"v-ff9bae3c":m(()=>u(()=>import("./index.html-f1f5d767.js"),["assets/index.html-f1f5d767.js","assets/framework-64cb0dab.js"])),"v-4cb72786":m(()=>u(()=>import("./index.html-19441a16.js"),["assets/index.html-19441a16.js","assets/framework-64cb0dab.js"])),"v-1501ff21":m(()=>u(()=>import("./index.html-da101bcb.js"),["assets/index.html-da101bcb.js","assets/framework-64cb0dab.js"])),"v-04e3ee35":m(()=>u(()=>import("./plugin-dependency.html-d95c8037.js"),["assets/plugin-dependency.html-d95c8037.js","assets/framework-64cb0dab.js"])),"v-310566d5":m(()=>u(()=>import("./plugin-notification.html-ea3a89ca.js"),["assets/plugin-notification.html-ea3a89ca.js","assets/framework-64cb0dab.js"])),"v-179ff12a":m(()=>u(()=>import("./plugin-spider-assistant.html-b10ba5ea.js"),["assets/plugin-spider-assistant.html-b10ba5ea.js","assets/framework-64cb0dab.js"])),"v-82e2edde":m(()=>u(()=>import("./index.html-ad346522.js"),["assets/index.html-ad346522.js","assets/framework-64cb0dab.js"])),"v-3f046afd":m(()=>u(()=>import("./index.html-4453ac11.js"),["assets/index.html-4453ac11.js","assets/framework-64cb0dab.js"])),"v-8c44e4a2":m(()=>u(()=>import("./index.html-552fca55.js"),["assets/index.html-552fca55.js","assets/framework-64cb0dab.js"])),"v-4df5f86a":m(()=>u(()=>import("./file-editor.html-f92ba876.js"),["assets/file-editor.html-f92ba876.js","assets/framework-64cb0dab.js"])),"v-15539f34":m(()=>u(()=>import("./integration.html-db7a86b6.js"),["assets/integration.html-db7a86b6.js","assets/framework-64cb0dab.js"])),"v-5245304f":m(()=>u(()=>import("./index.html-1be889ce.js"),["assets/index.html-1be889ce.js","assets/framework-64cb0dab.js"])),"v-11bb1e1e":m(()=>u(()=>import("./index.html-eba9312e.js"),["assets/index.html-eba9312e.js","assets/framework-64cb0dab.js"])),"v-525b42c9":m(()=>u(()=>import("./index.html-e98d2633.js"),["assets/index.html-e98d2633.js","assets/framework-64cb0dab.js"])),"v-1ab8cbc1":m(()=>u(()=>import("./index.html-486b9c33.js"),["assets/index.html-486b9c33.js","assets/framework-64cb0dab.js"])),"v-38beca7b":m(()=>u(()=>import("./index.html-dbb7f701.js"),["assets/index.html-dbb7f701.js","assets/framework-64cb0dab.js"])),"v-210599ce":m(()=>u(()=>import("./index.html-91bdac09.js"),["assets/index.html-91bdac09.js","assets/framework-64cb0dab.js"])),"v-57036580":m(()=>u(()=>import("./mongodb.html-c0cfb0ab.js"),["assets/mongodb.html-c0cfb0ab.js","assets/framework-64cb0dab.js"])),"v-7ab8e2a9":m(()=>u(()=>import("./index.html-55c028bc.js"),["assets/index.html-55c028bc.js","assets/framework-64cb0dab.js"])),"v-5df18ad9":m(()=>u(()=>import("./seaweedfs.html-ae9c512e.js"),["assets/seaweedfs.html-ae9c512e.js","assets/framework-64cb0dab.js"])),"v-0ca94962":m(()=>u(()=>import("./index.html-28edcee9.js"),["assets/index.html-28edcee9.js","assets/framework-64cb0dab.js"])),"v-2dbb71f2":m(()=>u(()=>import("./index.html-367152ee.js"),["assets/index.html-367152ee.js","assets/framework-64cb0dab.js"])),"v-d5216744":m(()=>u(()=>import("./master-node.html-9559d22f.js"),["assets/master-node.html-9559d22f.js","assets/framework-64cb0dab.js"])),"v-29685b88":m(()=>u(()=>import("./node-communication.html-5f627d1f.js"),["assets/node-communication.html-5f627d1f.js","assets/framework-64cb0dab.js"])),"v-0aa8c27a":m(()=>u(()=>import("./worker-node.html-4a9aa42b.js"),["assets/worker-node.html-4a9aa42b.js","assets/framework-64cb0dab.js"])),"v-77aaf5e4":m(()=>u(()=>import("./index.html-02afe828.js"),["assets/index.html-02afe828.js","assets/framework-64cb0dab.js"])),"v-13a7110f":m(()=>u(()=>import("./index.html-66b6a347.js"),["assets/index.html-66b6a347.js","assets/framework-64cb0dab.js"])),"v-18d1e7b2":m(()=>u(()=>import("./index.html-092dce8e.js"),["assets/index.html-092dce8e.js","assets/framework-64cb0dab.js"])),"v-7734c03a":m(()=>u(()=>import("./index.html-d9e423b8.js"),["assets/index.html-d9e423b8.js","assets/framework-64cb0dab.js"])),"v-61461c6b":m(()=>u(()=>import("./index.html-95a484cd.js"),["assets/index.html-95a484cd.js","assets/framework-64cb0dab.js"])),"v-96009232":m(()=>u(()=>import("./index.html-096d480d.js"),["assets/index.html-096d480d.js","assets/framework-64cb0dab.js"])),"v-d33c8996":m(()=>u(()=>import("./index.html-4028ed1d.js"),["assets/index.html-4028ed1d.js","assets/framework-64cb0dab.js"])),"v-9cbccf3a":m(()=>u(()=>import("./direct-deploy.html-b88cc414.js"),["assets/direct-deploy.html-b88cc414.js","assets/framework-64cb0dab.js"])),"v-296c4864":m(()=>u(()=>import("./docker.html-e4029cc2.js"),["assets/docker.html-e4029cc2.js","assets/framework-64cb0dab.js"])),"v-cf613504":m(()=>u(()=>import("./kubernetes.html-2e08a06f.js"),["assets/kubernetes.html-2e08a06f.js","assets/framework-64cb0dab.js"])),"v-61d7646d":m(()=>u(()=>import("./index.html-3d849014.js"),["assets/index.html-3d849014.js","assets/framework-64cb0dab.js"])),"v-dd7a1372":m(()=>u(()=>import("./index.html-721a6149.js"),["assets/index.html-721a6149.js","assets/framework-64cb0dab.js"])),"v-9c13ebaa":m(()=>u(()=>import("./index.html-32278645.js"),["assets/index.html-32278645.js","assets/framework-64cb0dab.js"])),"v-a1a16d48":m(()=>u(()=>import("./index.html-3f72f294.js"),["assets/index.html-3f72f294.js","assets/framework-64cb0dab.js"])),"v-7f0c0a30":m(()=>u(()=>import("./plugin-dependency.html-b3350bb0.js"),["assets/plugin-dependency.html-b3350bb0.js","assets/framework-64cb0dab.js"])),"v-7cd31fe0":m(()=>u(()=>import("./plugin-notification.html-63fa5e64.js"),["assets/plugin-notification.html-63fa5e64.js","assets/framework-64cb0dab.js"])),"v-79c3e4e5":m(()=>u(()=>import("./plugin-spider-assistant.html-a79c7ea6.js"),["assets/plugin-spider-assistant.html-a79c7ea6.js","assets/framework-64cb0dab.js"])),"v-6a0a8636":m(()=>u(()=>import("./index.html-e9931eba.js"),["assets/index.html-e9931eba.js","assets/framework-64cb0dab.js"])),"v-03081278":m(()=>u(()=>import("./index.html-943b7f7a.js"),["assets/index.html-943b7f7a.js","assets/framework-64cb0dab.js"])),"v-540ad7ea":m(()=>u(()=>import("./index.html-833feed0.js"),["assets/index.html-833feed0.js","assets/framework-64cb0dab.js"])),"v-c11526b6":m(()=>u(()=>import("./file-editor.html-90ee605a.js"),["assets/file-editor.html-90ee605a.js","assets/framework-64cb0dab.js"])),"v-66d3136f":m(()=>u(()=>import("./integration.html-068373cf.js"),["assets/integration.html-068373cf.js","assets/framework-64cb0dab.js"])),"v-6225cd4a":m(()=>u(()=>import("./index.html-bd1ffaf2.js"),["assets/index.html-bd1ffaf2.js","assets/framework-64cb0dab.js"])),"v-39551954":m(()=>u(()=>import("./index.html-9d65db99.js"),["assets/index.html-9d65db99.js","assets/framework-64cb0dab.js"])),"v-623bdfc4":m(()=>u(()=>import("./index.html-f1ef677c.js"),["assets/index.html-f1ef677c.js","assets/framework-64cb0dab.js"])),"v-0d06c83c":m(()=>u(()=>import("./index.html-857c4929.js"),["assets/index.html-857c4929.js","assets/framework-64cb0dab.js"])),"v-2b0cc6f6":m(()=>u(()=>import("./index.html-18aa5aaa.js"),["assets/index.html-18aa5aaa.js","assets/framework-64cb0dab.js"])),"v-321aa514":m(()=>u(()=>import("./index.html-3de8c182.js"),["assets/index.html-3de8c182.js","assets/framework-64cb0dab.js"])),"v-781cc28a":m(()=>u(()=>import("./mongodb.html-0ce00a7f.js"),["assets/mongodb.html-0ce00a7f.js","assets/framework-64cb0dab.js"])),"v-e87c7c38":m(()=>u(()=>import("./index.html-b2ce7e7f.js"),["assets/index.html-b2ce7e7f.js","assets/framework-64cb0dab.js"])),"v-4fccb258":m(()=>u(()=>import("./seaweedfs.html-c2751f39.js"),["assets/seaweedfs.html-c2751f39.js","assets/framework-64cb0dab.js"])),"v-4f46bb5d":m(()=>u(()=>import("./index.html-5db672e4.js"),["assets/index.html-5db672e4.js","assets/framework-64cb0dab.js"])),"v-1c81cd26":m(()=>u(()=>import("./index.html-1fad8705.js"),["assets/index.html-1fad8705.js","assets/framework-64cb0dab.js"])),"v-f63ac44e":m(()=>u(()=>import("./master-node.html-7d21ad56.js"),["assets/master-node.html-7d21ad56.js","assets/framework-64cb0dab.js"])),"v-6cdbf061":m(()=>u(()=>import("./node-communication.html-6f459ea0.js"),["assets/node-communication.html-6f459ea0.js","assets/framework-64cb0dab.js"])),"v-0bc7d816":m(()=>u(()=>import("./worker-node.html-e487615c.js"),["assets/worker-node.html-e487615c.js","assets/framework-64cb0dab.js"])),"v-349c8b0f":m(()=>u(()=>import("./index.html-7422fbd8.js"),["assets/index.html-7422fbd8.js","assets/framework-64cb0dab.js"])),"v-05f9905d":m(()=>u(()=>import("./index.html-57bd1c3b.js"),["assets/index.html-57bd1c3b.js","assets/framework-64cb0dab.js"])),"v-196405af":m(()=>u(()=>import("./index.html-e5dd1097.js"),["assets/index.html-e5dd1097.js","assets/framework-64cb0dab.js"])),"v-130b9e34":m(()=>u(()=>import("./index.html-0ff90bed.js"),["assets/index.html-0ff90bed.js","assets/framework-64cb0dab.js"])),"v-04f06e42":m(()=>u(()=>import("./index.html-0916704b.js"),["assets/index.html-0916704b.js","assets/framework-64cb0dab.js"])),"v-66579e14":m(()=>u(()=>import("./index.html-9d4f6672.js"),["assets/index.html-9d4f6672.js","assets/framework-64cb0dab.js"])),"v-3706649a":m(()=>u(()=>import("./404.html-57a877d7.js"),["assets/404.html-57a877d7.js","assets/framework-64cb0dab.js"]))};var Ao=Symbol(""),To=L(yo),hn=xe({key:"",path:"",title:"",lang:"",frontmatter:{},headers:[]}),le=L(hn),I=()=>le,fn=Symbol(""),C=()=>{const e=Y(fn);if(!e)throw new Error("usePageFrontmatter() is called without provider.");return e},gn=Symbol(""),Lo=()=>{const e=Y(gn);if(!e)throw new Error("usePageHead() is called without provider.");return e},ko=Symbol(""),_n=Symbol(""),En=()=>{const e=Y(_n);if(!e)throw new Error("usePageLang() is called without provider.");return e},bn=Symbol(""),Do=()=>{const e=Y(bn);if(!e)throw new Error("usePageLayout() is called without provider.");return e},bt=Symbol(""),me=()=>{const e=Y(bt);if(!e)throw new Error("useRouteLocale() is called without provider.");return e},Ee=L(wo),yn=()=>Ee,wn=Symbol(""),Je=()=>{const e=Y(wn);if(!e)throw new Error("useSiteLocaleData() is called without provider.");return e},Ro=Symbol(""),xo="Layout",Io="NotFound",ee=Xa({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageData:async e=>{const t=To.value[e];return await(t==null?void 0:t())??hn},resolvePageFrontmatter:e=>e.frontmatter,resolvePageHead:(e,t,n)=>{const a=j(t.description)?t.description:n.description,o=[...gt(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:a}]];return Za(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:e=>e.lang||"en",resolvePageLayout:(e,t)=>{let n;if(e.path){const a=e.frontmatter.layout;j(a)?n=a:n=xo}else n=Io;return t[n]},resolveRouteLocale:(e,t)=>Qa(e,t),resolveSiteLocaleData:(e,t)=>({...e,...e.locales[t]})}),Ke=y({name:"ClientOnly",setup(e,t){const n=L(!1);return M(()=>{n.value=!0}),()=>{var a,o;return n.value?(o=(a=t.slots).default)==null?void 0:o.call(a):null}}}),An=y({name:"Content",props:{pageKey:{type:String,required:!1,default:""}},setup(e){const t=I(),n=h(()=>mn[e.pageKey||t.value.key]);return()=>n.value?r(n.value):r("div","404 Not Found")}}),J=(e={})=>e,Ae=e=>Ie(e)?e:`/${un(e)}`;const Po={};var B=Uint8Array,ve=Uint16Array,Tn=Uint32Array,Ln=new B([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),kn=new B([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Oo=new B([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Dn=function(e,t){for(var n=new ve(31),a=0;a<31;++a)n[a]=t+=1<>>1|(z&21845)<<1;ie=(ie&52428)>>>2|(ie&13107)<<2,ie=(ie&61680)>>>4|(ie&3855)<<4,ct[z]=((ie&65280)>>>8|(ie&255)<<8)>>>1}var De=function(e,t,n){for(var a=e.length,o=0,i=new ve(t);o>>c]=d}else for(s=new ve(a),o=0;o>>15-e[o]);return s},Oe=new B(288);for(var z=0;z<144;++z)Oe[z]=8;for(var z=144;z<256;++z)Oe[z]=9;for(var z=256;z<280;++z)Oe[z]=7;for(var z=280;z<288;++z)Oe[z]=8;var In=new B(32);for(var z=0;z<32;++z)In[z]=5;var Mo=De(Oe,9,1),Co=De(In,5,1),at=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},U=function(e,t,n){var a=t/8|0;return(e[a]|e[a+1]<<8)>>(t&7)&n},ot=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},$o=function(e){return(e+7)/8|0},yt=function(e,t,n){(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length);var a=new(e.BYTES_PER_ELEMENT==2?ve:e.BYTES_PER_ELEMENT==4?Tn:B)(n-t);return a.set(e.subarray(t,n)),a},No=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],G=function(e,t,n){var a=new Error(t||No[e]);if(a.code=e,Error.captureStackTrace&&Error.captureStackTrace(a,G),!n)throw a;return a},Bo=function(e,t,n){var a=e.length;if(!a||n&&n.f&&!n.l)return t||new B(0);var o=!t||n,i=!n||n.i;n||(n={}),t||(t=new B(a*3));var l=function(Vt){var St=t.length;if(Vt>St){var Mt=new B(Math.max(St*2,Vt));Mt.set(t),t=Mt}},s=n.f||0,c=n.p||0,d=n.b||0,v=n.l,p=n.d,f=n.m,g=n.n,b=a*8;do{if(!v){s=U(e,c,1);var w=U(e,c+1,3);if(c+=3,w)if(w==1)v=Mo,p=Co,f=9,g=5;else if(w==2){var x=U(e,c,31)+257,$=U(e,c+10,15)+4,N=x+U(e,c+5,31)+1;c+=14;for(var R=new B(N),A=new B(19),T=0;T<$;++T)A[Oo[T]]=U(e,c+T*3,7);c+=$*3;for(var S=at(A),Q=(1<>>4;if(E<16)R[T++]=E;else{var he=0,Ce=0;for(E==16?(Ce=3+U(e,c,3),c+=2,he=R[T-1]):E==17?(Ce=3+U(e,c,7),c+=3):E==18&&(Ce=11+U(e,c,127),c+=7);Ce--;)R[T++]=he}}var Pt=R.subarray(0,x),re=R.subarray(x);f=at(Pt),g=at(re),v=De(Pt,f,1),p=De(re,g,1)}else G(1);else{var E=$o(c)+4,_=e[E-4]|e[E-3]<<8,D=E+_;if(D>a){i&&G(0);break}o&&l(d+_),t.set(e.subarray(E,D),d),n.b=d+=_,n.p=c=D*8,n.f=s;continue}if(c>b){i&&G(0);break}}o&&l(d+131072);for(var Ja=(1<>>4;if(c+=he&15,c>b){i&&G(0);break}if(he||G(2),fe<256)t[d++]=fe;else if(fe==256){Qe=c,v=null;break}else{var Ot=fe-254;if(fe>264){var T=fe-257,ke=Ln[T];Ot=U(e,c,(1<>>4;et||G(3),c+=et&15;var re=So[tt];if(tt>3){var ke=kn[tt];re+=ot(e,c)&(1<b){i&&G(0);break}o&&l(d+131072);for(var zt=d+Ot;d>>4>7||(e[0]<<8|e[1])%31)&&G(6,"invalid zlib data"),e[1]&32&&G(6,"invalid zlib data: preset dictionaries not supported")};function jo(e,t){return Bo((Ho(e),e.subarray(2,-4)),t)}var Nt=typeof TextEncoder<"u"&&new TextEncoder,ut=typeof TextDecoder<"u"&&new TextDecoder,qo=0;try{ut.decode(Fo,{stream:!0}),qo=1}catch{}var Wo=function(e){for(var t="",n=0;;){var a=e[n++],o=(a>127)+(a>223)+(a>239);if(n+o>e.length)return[t,yt(e,n-1)];o?o==3?(a=((a&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|a>>10,56320|a&1023)):o&1?t+=String.fromCharCode((a&31)<<6|e[n++]&63):t+=String.fromCharCode((a&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(a)}};function Uo(e,t){if(t){for(var n=new B(e.length),a=0;a>1)),l=0,s=function(v){i[l++]=v},a=0;ai.length){var c=new B(l+8+(o-a<<1));c.set(i),i=c}var d=e.charCodeAt(a);d<128||t?s(d):d<2048?(s(192|d>>6),s(128|d&63)):d>55295&&d<57344?(d=65536+(d&1023<<10)|e.charCodeAt(++a)&1023,s(240|d>>18),s(128|d>>12&63),s(128|d>>6&63),s(128|d&63)):(s(224|d>>12),s(128|d>>6&63),s(128|d&63))}return yt(i,0,l)}function Go(e,t){if(t){for(var n="",a=0;a{var a;return r("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(a=n.default)==null?void 0:a.call(n))};V.displayName="IconBase";const Pn=({size:e=48,stroke:t=4,wrapper:n=!0,height:a=2*e})=>{const o=r("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[r("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),r("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[r("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),r("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?r("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${a}px`},o):o};Pn.displayName="LoadingIcon";const On=(e,{slots:t})=>{var n;return((n=t.default)==null?void 0:n.call(t))||null},zn=()=>r(V,{name:"github"},()=>r("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));zn.displayName="GitHubIcon";const Vn=()=>r(V,{name:"gitlab"},()=>r("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));Vn.displayName="GitLabIcon";const Sn=()=>r(V,{name:"gitee"},()=>r("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));Sn.displayName="GiteeIcon";const Mn=()=>r(V,{name:"bitbucket"},()=>r("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));Mn.displayName="BitbucketIcon";const Cn=()=>r(V,{name:"source"},()=>r("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));Cn.displayName="SourceIcon";const $n=Array.isArray,Yo=e=>typeof e=="function",Jo=e=>typeof e=="string";var Nn=e=>/^(https?:)?\/\//.test(e),Bn=e=>Object.prototype.toString.call(e)==="[object Object]";const ne=(e,t)=>{const n=t?t._instance:Ue();return Bn(n==null?void 0:n.appContext.components)&&(e in n.appContext.components||Ct(e)in n.appContext.components||eo(Ct(e))in n.appContext.components)};function Ko(){const e=L(!1);return Ue()&&M(()=>{e.value=!0}),e}function Xo(e){return Ko(),h(()=>!!e())}const Zo=()=>Xo(()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator),Qo=()=>{const e=Zo();return h(()=>e.value&&/\b(?:Android|iPhone)/i.test(navigator.userAgent))},ze=e=>{const t=me();return h(()=>e[t.value])},er=(e="")=>{if(e){if(typeof e=="number")return new Date(e);const t=Date.parse(e.toString());if(!Number.isNaN(t))return new Date(t)}return null},Fn=(e,t)=>{let n=1;for(let a=0;a>6;return n+=n<<3,n^=n>>11,n%t},pe=e=>typeof e=="string",Re=(e,t)=>pe(e)&&e.startsWith(t),ge=(e,t)=>pe(e)&&e.endsWith(t),Hn=Object.entries,Le=Object.keys,Bt=e=>Bn(e)&&pe(e.name),Ft=(e,t=!1)=>e?$n(e)?e.map(n=>pe(n)?{name:n}:Bt(n)?n:null).filter(n=>n!==null):pe(e)?[{name:e}]:Bt(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],jn=(e,t)=>{if(e){if($n(e)&&e.every(pe))return e;if(pe(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},tr=e=>jn(e,"category"),nr=e=>jn(e,"tag"),wt=e=>Re(e,"/"),qn=/#.*$/u,ar=e=>{const t=qn.exec(e);return t?t[0]:""},Ht=e=>decodeURI(e).replace(qn,"").replace(/(index)?\.(md|html)$/,""),At=(e,t)=>{if(t===void 0)return!1;const n=Ht(e.path),a=Ht(t),o=ar(t);return o?o===e.hash&&(!a||n===a):n===a},or=e=>{const t=atob(e);return Go(jo(Uo(t,!0)))},rr=e=>Nn(e)?e:`https://github.com/${e}`,Wn=e=>!Nn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null,Tt=(e,...t)=>{const n=e.resolve(...t),a=n.matched.at(-1);if(!(a!=null&&a.redirect))return n;const{redirect:o}=a,i=Yo(o)?o(n):o,l=Jo(i)?{path:i}:i;return Tt(e,{hash:n.hash,query:n.query,params:n.params,...l})};function ce(e){return oo()?(ro(e),!0):!1}function K(e){return typeof e=="function"?e():to(e)}const Ve=typeof window<"u",qe=()=>{},jt=ir();function ir(){var e;return Ve&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function Un(e,t){function n(...a){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,a),{fn:t,thisArg:this,args:a})).then(o).catch(i)})}return n}const Gn=e=>e();function lr(e,t=!0,n=!0,a=!1){let o=0,i,l=!0,s=qe,c;const d=()=>{i&&(clearTimeout(i),i=void 0,s(),s=qe)};return p=>{const f=K(e),g=Date.now()-o,b=()=>c=p();return d(),f<=0?(o=Date.now(),b()):(g>f&&(n||!l)?(o=Date.now(),b()):t&&(c=new Promise((w,E)=>{s=a?E:w,i=setTimeout(()=>{o=Date.now(),l=!0,w(b()),d()},Math.max(0,f-g))})),!n&&!i&&(i=setTimeout(()=>l=!0,f)),l=!1,c)}}function sr(e=Gn){const t=L(!0);function n(){t.value=!1}function a(){t.value=!0}const o=(...i)=>{t.value&&e(...i)};return{isActive:xe(t),pause:n,resume:a,eventFilter:o}}function Yn(...e){if(e.length!==1)return Ye(...e);const t=e[0];return typeof t=="function"?xe(ao(()=>({get:t,set:qe}))):L(t)}function cr(e,t=200,n=!1,a=!0,o=!1){return Un(lr(t,n,a,o),e)}function Jn(e,t=!0){Ue()?M(e):t?e():Ge(e)}function ur(e,t,n={}){const{immediate:a=!0}=n,o=L(!1);let i=null;function l(){i&&(clearTimeout(i),i=null)}function s(){o.value=!1,l()}function c(...d){l(),o.value=!0,i=setTimeout(()=>{o.value=!1,i=null,e(...d)},K(t))}return a&&(o.value=!0,Ve&&c()),ce(s),{isPending:xe(o),start:c,stop:s}}function qt(e=!1,t={}){const{truthyValue:n=!0,falsyValue:a=!1}=t,o=no(e),i=L(e);function l(s){if(arguments.length)return i.value=s,i.value;{const c=K(n);return i.value=i.value===c?K(a):c,i.value}}return o?l:[i,l]}var Wt=Object.getOwnPropertySymbols,dr=Object.prototype.hasOwnProperty,vr=Object.prototype.propertyIsEnumerable,pr=(e,t)=>{var n={};for(var a in e)dr.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&Wt)for(var a of Wt(e))t.indexOf(a)<0&&vr.call(e,a)&&(n[a]=e[a]);return n};function mr(e,t,n={}){const a=n,{eventFilter:o=Gn}=a,i=pr(a,["eventFilter"]);return O(e,Un(o,t),i)}var hr=Object.defineProperty,fr=Object.defineProperties,gr=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,Kn=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,Ut=(e,t,n)=>t in e?hr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_r=(e,t)=>{for(var n in t||(t={}))Kn.call(t,n)&&Ut(e,n,t[n]);if(We)for(var n of We(t))Xn.call(t,n)&&Ut(e,n,t[n]);return e},Er=(e,t)=>fr(e,gr(t)),br=(e,t)=>{var n={};for(var a in e)Kn.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&We)for(var a of We(e))t.indexOf(a)<0&&Xn.call(e,a)&&(n[a]=e[a]);return n};function yr(e,t,n={}){const a=n,{eventFilter:o}=a,i=br(a,["eventFilter"]),{eventFilter:l,pause:s,resume:c,isActive:d}=sr(o);return{stop:mr(e,t,Er(_r({},i),{eventFilter:l})),pause:s,resume:c,isActive:d}}function ae(e){var t;const n=K(e);return(t=n==null?void 0:n.$el)!=null?t:n}const X=Ve?window:void 0,Zn=Ve?window.document:void 0,wr=Ve?window.navigator:void 0;function H(...e){let t,n,a,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,a,o]=e,t=X):[t,n,a,o]=e,!t)return qe;Array.isArray(n)||(n=[n]),Array.isArray(a)||(a=[a]);const i=[],l=()=>{i.forEach(v=>v()),i.length=0},s=(v,p,f,g)=>(v.addEventListener(p,f,g),()=>v.removeEventListener(p,f,g)),c=O(()=>[ae(t),K(o)],([v,p])=>{l(),v&&i.push(...n.flatMap(f=>a.map(g=>s(v,f,g,p))))},{immediate:!0,flush:"post"}),d=()=>{c(),l()};return ce(d),d}function Ar(){const e=L(!1);return Ue()&&M(()=>{e.value=!0}),e}function Se(e){const t=Ar();return h(()=>(t.value,Boolean(e())))}function Qn(e,t={}){const{window:n=X}=t,a=Se(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const i=L(!1),l=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",s):o.removeListener(s))},s=()=>{a.value&&(l(),o=n.matchMedia(Yn(e).value),i.value=!!(o!=null&&o.matches),o&&("addEventListener"in o?o.addEventListener("change",s):o.addListener(s)))};return io(s),ce(()=>l()),i}function Tr(e={}){const{navigator:t=wr,read:n=!1,source:a,copiedDuring:o=1500,legacy:i=!1}=e,l=["copy","cut"],s=Se(()=>t&&"clipboard"in t),c=h(()=>s.value||i),d=L(""),v=L(!1),p=ur(()=>v.value=!1,o);function f(){s.value?t.clipboard.readText().then(E=>{d.value=E}):d.value=w()}if(c.value&&n)for(const E of l)H(E,f);async function g(E=K(a)){c.value&&E!=null&&(s.value?await t.clipboard.writeText(E):b(E),d.value=E,v.value=!0,p.start())}function b(E){const _=document.createElement("textarea");_.value=E??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function w(){var E,_,D;return(D=(_=(E=document==null?void 0:document.getSelection)==null?void 0:E.call(document))==null?void 0:_.toString())!=null?D:""}return{isSupported:c,text:d,copied:v,copy:g}}const $e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ne="__vueuse_ssr_handlers__",Lr=kr();function kr(){return Ne in $e||($e[Ne]=$e[Ne]||{}),$e[Ne]}function Dr(e,t){return Lr[e]||t}function Rr(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}var xr=Object.defineProperty,Gt=Object.getOwnPropertySymbols,Ir=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable,Yt=(e,t,n)=>t in e?xr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jt=(e,t)=>{for(var n in t||(t={}))Ir.call(t,n)&&Yt(e,n,t[n]);if(Gt)for(var n of Gt(t))Pr.call(t,n)&&Yt(e,n,t[n]);return e};const Or={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Kt="vueuse-storage";function ea(e,t,n,a={}){var o;const{flush:i="pre",deep:l=!0,listenToStorageChanges:s=!0,writeDefaults:c=!0,mergeDefaults:d=!1,shallow:v,window:p=X,eventFilter:f,onError:g=T=>{console.error(T)}}=a,b=(v?se:L)(t);if(!n)try{n=Dr("getDefaultStorage",()=>{var T;return(T=X)==null?void 0:T.localStorage})()}catch(T){g(T)}if(!n)return b;const w=K(t),E=Rr(w),_=(o=a.serializer)!=null?o:Or[E],{pause:D,resume:x}=yr(b,()=>$(b.value),{flush:i,deep:l,eventFilter:f});return p&&s&&(H(p,"storage",A),H(p,Kt,R)),A(),b;function $(T){try{if(T==null)n.removeItem(e);else{const S=_.write(T),Q=n.getItem(e);Q!==S&&(n.setItem(e,S),p&&p.dispatchEvent(new CustomEvent(Kt,{detail:{key:e,oldValue:Q,newValue:S,storageArea:n}})))}}catch(S){g(S)}}function N(T){const S=T?T.newValue:n.getItem(e);if(S==null)return c&&w!==null&&n.setItem(e,_.write(w)),w;if(!T&&d){const Q=_.read(S);return typeof d=="function"?d(Q,w):E==="object"&&!Array.isArray(Q)?Jt(Jt({},w),Q):Q}else return typeof S!="string"?S:_.read(S)}function R(T){A(T.detail)}function A(T){if(!(T&&T.storageArea!==n)){if(T&&T.key==null){b.value=w;return}if(!(T&&T.key!==e)){D();try{b.value=N(T)}catch(S){g(S)}finally{T?Ge(x):x()}}}}}function zr(e){return Qn("(prefers-color-scheme: dark)",e)}var Xt=Object.getOwnPropertySymbols,Vr=Object.prototype.hasOwnProperty,Sr=Object.prototype.propertyIsEnumerable,Mr=(e,t)=>{var n={};for(var a in e)Vr.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&Xt)for(var a of Xt(e))t.indexOf(a)<0&&Sr.call(e,a)&&(n[a]=e[a]);return n};function Cr(e,t,n={}){const a=n,{window:o=X}=a,i=Mr(a,["window"]);let l;const s=Se(()=>o&&"MutationObserver"in o),c=()=>{l&&(l.disconnect(),l=void 0)},d=O(()=>ae(e),p=>{c(),s.value&&o&&p&&(l=new MutationObserver(t),l.observe(p,i))},{immediate:!0}),v=()=>{c(),d()};return ce(v),{isSupported:s,stop:v}}var Zt=Object.getOwnPropertySymbols,$r=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable,Br=(e,t)=>{var n={};for(var a in e)$r.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&Zt)for(var a of Zt(e))t.indexOf(a)<0&&Nr.call(e,a)&&(n[a]=e[a]);return n};function Fr(e,t,n={}){const a=n,{window:o=X}=a,i=Br(a,["window"]);let l;const s=Se(()=>o&&"ResizeObserver"in o),c=()=>{l&&(l.disconnect(),l=void 0)},d=h(()=>Array.isArray(e)?e.map(f=>ae(f)):[ae(e)]),v=O(d,f=>{if(c(),s.value&&o){l=new ResizeObserver(t);for(const g of f)g&&l.observe(g,i)}},{immediate:!0,flush:"post",deep:!0}),p=()=>{c(),v()};return ce(p),{isSupported:s,stop:p}}function Hr(e,t={width:0,height:0},n={}){const{window:a=X,box:o="content-box"}=n,i=h(()=>{var c,d;return(d=(c=ae(e))==null?void 0:c.namespaceURI)==null?void 0:d.includes("svg")}),l=L(t.width),s=L(t.height);return Fr(e,([c])=>{const d=o==="border-box"?c.borderBoxSize:o==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;if(a&&i.value){const v=ae(e);if(v){const p=a.getComputedStyle(v);l.value=Number.parseFloat(p.width),s.value=Number.parseFloat(p.height)}}else if(d){const v=Array.isArray(d)?d:[d];l.value=v.reduce((p,{inlineSize:f})=>p+f,0),s.value=v.reduce((p,{blockSize:f})=>p+f,0)}else l.value=c.contentRect.width,s.value=c.contentRect.height},n),O(()=>ae(e),c=>{l.value=c?t.width:0,s.value=c?t.height:0}),{width:l,height:s}}const Qt=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Lt(e,t={}){const{document:n=Zn,autoExit:a=!1}=t,o=h(()=>{var _;return(_=ae(e))!=null?_:n==null?void 0:n.querySelector("html")}),i=L(!1),l=h(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(_=>n&&_ in n||o.value&&_ in o.value)),s=h(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(_=>n&&_ in n||o.value&&_ in o.value)),c=h(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(_=>n&&_ in n||o.value&&_ in o.value)),d=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(_=>n&&_ in n),v=Se(()=>o.value&&n&&l.value!==void 0&&s.value!==void 0&&c.value!==void 0),p=()=>d?(n==null?void 0:n[d])===o.value:!1,f=()=>{if(c.value){if(n&&n[c.value]!=null)return n[c.value];{const _=o.value;if((_==null?void 0:_[c.value])!=null)return Boolean(_[c.value])}}return!1};async function g(){if(v.value){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const _=o.value;(_==null?void 0:_[s.value])!=null&&await _[s.value]()}i.value=!1}}async function b(){if(!v.value)return;f()&&await g();const _=o.value;l.value&&(_==null?void 0:_[l.value])!=null&&(await _[l.value](),i.value=!0)}async function w(){await(i.value?g():b())}const E=()=>{const _=f();(!_||_&&p())&&(i.value=_)};return H(n,Qt,E,!1),H(()=>ae(o),Qt,E,!1),a&&ce(g),{isSupported:v,isFullscreen:i,enter:b,exit:g,toggle:w}}function ta(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}function na(e,t=!1){const n=L(t);let a=null,o;O(Yn(e),s=>{if(s){const c=s;o=c.style.overflow,n.value&&(c.style.overflow="hidden")}},{immediate:!0});const i=()=>{const s=K(e);!s||n.value||(jt&&(a=H(s,"touchmove",c=>{jr(c)},{passive:!1})),s.style.overflow="hidden",n.value=!0)},l=()=>{const s=K(e);!s||!n.value||(jt&&(a==null||a()),s.style.overflow=o,n.value=!1)};return ce(l),h({get(){return n.value},set(s){s?i():l()}})}function qr(e,t,n={}){const{window:a=X}=n;return ea(e,t,a==null?void 0:a.sessionStorage,n)}let Wr=0;function Ur(e,t={}){const n=L(!1),{document:a=Zn,immediate:o=!0,manual:i=!1,id:l=`vueuse_styletag_${++Wr}`}=t,s=L(e);let c=()=>{};const d=()=>{if(!a)return;const p=a.getElementById(l)||a.createElement("style");p.isConnected||(p.type="text/css",p.id=l,t.media&&(p.media=t.media),a.head.appendChild(p)),!n.value&&(c=O(s,f=>{p.textContent=f},{immediate:!0}),n.value=!0)},v=()=>{!a||!n.value||(c(),a.head.removeChild(a.getElementById(l)),n.value=!1)};return o&&!i&&Jn(d),i||ce(v),{id:l,css:s,unload:v,load:d,isLoaded:xe(n)}}function Gr({window:e=X}={}){if(!e)return{x:L(0),y:L(0)};const t=L(e.scrollX),n=L(e.scrollY);return H(e,"scroll",()=>{t.value=e.scrollX,n.value=e.scrollY},{capture:!1,passive:!0}),{x:t,y:n}}function Yr(e={}){const{window:t=X,initialWidth:n=1/0,initialHeight:a=1/0,listenOrientation:o=!0,includeScrollbar:i=!0}=e,l=L(n),s=L(a),c=()=>{t&&(i?(l.value=t.innerWidth,s.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};if(c(),Jn(c),H("resize",c,{passive:!0}),o){const d=Qn("(orientation: portrait)");O(d,()=>c())}return{width:l,height:s}}const aa=({type:e="info",text:t="",vertical:n="top",color:a},{slots:o})=>{var i;return r("span",{class:["badge",e,{diy:a}],style:{verticalAlign:n,...a?{backgroundColor:a}:{}}},t||((i=o.default)==null?void 0:i.call(o)))};aa.displayName="Badge";var Jr=y({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=h(()=>{const a=["font-icon icon"],o=`iconfont icon-${e.icon}`;return a.push(o),a}),n=h(()=>{const a={};return e.color&&(a.color=e.color),e.size&&(a["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),Le(a).length?a:null});return()=>e.icon?r("span",{key:e.icon,class:t.value,style:n.value}):null}});const oa=()=>r(V,{name:"back-to-top"},()=>[r("path",{d:"M512 843.2c-36.2 0-66.4-13.6-85.8-21.8-10.8-4.6-22.6 3.6-21.8 15.2l7 102c.4 6.2 7.6 9.4 12.6 5.6l29-22c3.6-2.8 9-1.8 11.4 2l41 64.2c3 4.8 10.2 4.8 13.2 0l41-64.2c2.4-3.8 7.8-4.8 11.4-2l29 22c5 3.8 12.2.6 12.6-5.6l7-102c.8-11.6-11-20-21.8-15.2-19.6 8.2-49.6 21.8-85.8 21.8z"}),r("path",{d:"m795.4 586.2-96-98.2C699.4 172 513 32 513 32S324.8 172 324.8 488l-96 98.2c-3.6 3.6-5.2 9-4.4 14.2L261.2 824c1.8 11.4 14.2 17 23.6 10.8L419 744s41.4 40 94.2 40c52.8 0 92.2-40 92.2-40l134.2 90.8c9.2 6.2 21.6.6 23.6-10.8l37-223.8c.4-5.2-1.2-10.4-4.8-14zM513 384c-34 0-61.4-28.6-61.4-64s27.6-64 61.4-64c34 0 61.4 28.6 61.4 64S547 384 513 384z"})]);oa.displayName="BackToTopIcon";var Kr=y({name:"BackToTop",props:{threshold:{type:Number,default:100},noProgress:Boolean},setup(e){const t=C(),n=ze({"/en/":{backToTop:"Back to top"},"/zh/":{backToTop:"返回顶部"},"/":{backToTop:"Back to top"}}),a=se(),{height:o}=Hr(a),{height:i}=Yr(),{y:l}=Gr(),s=h(()=>t.value.backToTop!==!1&&l.value>e.threshold),c=h(()=>(console.log(l.value,o.value,i.value,l.value/(o.value-i.value)),l.value/(o.value-i.value)));return M(()=>{a.value=document.body}),()=>r(we,{name:"fade"},()=>s.value?r("button",{type:"button",class:"back-to-top","aria-label":n.value.backToTop,"data-balloon-pos":"left",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[e.noProgress?null:r("svg",{class:"scroll-progress"},r("circle",{cx:"50%",cy:"50%",r:"calc(50% - 2px)",style:{"stroke-dasharray":`calc(${Math.PI*c.value*100}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}})),r(oa)]):null)}});const Xr=J({enhance:({app:e})=>{ne("Badge")||e.component("Badge",aa),ne("FontIcon")||e.component("FontIcon",Jr)},setup:()=>{Ur(` @import url("https://at.alicdn.com/t/c/font_2410206_5vb9zlyghj.css"); `)},rootComponents:[()=>r(Kr,{})]});function Zr(e,t,n){var a,o,i;t===void 0&&(t=50),n===void 0&&(n={});var l=(a=n.isImmediate)!=null&&a,s=(o=n.callback)!=null&&o,c=n.maxWait,d=Date.now(),v=[];function p(){if(c!==void 0){var g=Date.now()-d;if(g+t>=c)return c-g}return t}var f=function(){var g=[].slice.call(arguments),b=this;return new Promise(function(w,E){var _=l&&i===void 0;if(i!==void 0&&clearTimeout(i),i=setTimeout(function(){if(i=void 0,d=Date.now(),!l){var x=e.apply(b,g);s&&s(x),v.forEach(function($){return(0,$.resolve)(x)}),v=[]}},p()),_){var D=e.apply(b,g);return s&&s(D),w(D)}v.push({resolve:w,reject:E})})};return f.cancel=function(g){i!==void 0&&clearTimeout(i),v.forEach(function(b){return(0,b.reject)(g)}),v=[]},f}const Qr=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:a=5})=>{const o=oe(),l=Zr(()=>{var w,E;const s=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(s-0)f.some(D=>D.hash===_.hash));for(let _=0;_=(((w=D.parentElement)==null?void 0:w.offsetTop)??0)-a,N=!x||s<(((E=x.parentElement)==null?void 0:E.offsetTop)??0)-a;if(!($&&N))continue;const A=decodeURIComponent(o.currentRoute.value.hash),T=decodeURIComponent(D.hash);if(A===T)return;if(p){for(let S=_+1;S{window.addEventListener("scroll",l)}),lo(()=>{window.removeEventListener("scroll",l)})},en=async(e,t)=>{const{scrollBehavior:n}=e.options;e.options.scrollBehavior=void 0,await e.replace({query:e.currentRoute.value.query,hash:t,force:!0}).finally(()=>e.options.scrollBehavior=n)},ei=".sidebar-link, .toc-link",ti=".header-anchor",ni=200,ai=5,oi=J({setup(){Qr({headerLinkSelector:ei,headerAnchorSelector:ti,delay:ni,offset:ai})}});var ri=y({name:"AutoCatalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean},setup(e,{slots:t}){const n=ze({"/en/":{title:"Catalog"},"/zh/":{title:"目录"},"/":{title:"Catalog"}}),a=I(),o=so(),i=yn(),l=d=>{const v=d.I;return typeof v>"u"||v},s=()=>{const d=e.base||a.value.path.replace(/\/[^/]+$/,"/"),v=o.getRoutes(),p=[];return v.filter(({meta:f,path:g})=>{if(!Re(g,d)||g===d)return!1;if(d==="/"){const b=Le(i.value.locales).filter(w=>w!=="/");if(g==="/404.html"||b.some(w=>Re(g,w)))return!1}return(ge(g,".html")&&!ge(g,"/index.html")||ge(g,"/"))&&l(f)}).map(({path:f,meta:g})=>{const b=f.substring(d.length).split("/").length;return{title:g.t||"",icon:g.i,base:f.replace(/\/[^/]+\/?$/,"/"),order:g.O||null,level:ge(f,"/")?b-1:b,path:f}}).filter(({title:f,level:g})=>typeof f=="string"&&f&&g<=e.level).sort(({title:f,level:g,path:b,order:w},{title:E,level:_,path:D,order:x})=>g-_||(ge(b,"/index.html")?-1:ge(D,"/index.html")?1:w===null?x===null?f.localeCompare(E):x:x===null?w:w>0?x>0?w-x:-1:x<0?w-x:1)).forEach(f=>{var g;const{base:b,level:w}=f;switch(w){case 1:p.push(f);break;case 2:{const E=p.find(_=>_.path===b);E&&(E.children??(E.children=[])).push(f);break}default:{const E=p.find(_=>_.path===b.replace(/\/[^/]+\/$/,"/"));if(E){const _=(g=E.children)==null?void 0:g.find(D=>D.path===b);_&&(_.children??(_.children=[])).push(f)}}}}),p},c=h(()=>s());return()=>r("div",{class:"auto-catalog-wrapper"},[r("h2",{class:"main-title"},n.value.title),c.value.map(({children:d=[],icon:v,path:p,title:f},g)=>[r("h3",{id:f,class:["child-title",{"has-children":d.length}]},[r("a",{href:`#${f}`,class:"header-anchor"},"#"),r(nt,{class:"catalog-title",to:p},()=>[e.index?`${g+1}.`:null,v&&t.icon?t.icon({icon:v}):null,f||"Unknown"])]),d.length?r("ul",{class:"child-catalog-wrapper"},d.map(({children:b=[],icon:w,path:E,title:_},D)=>r("li",{class:"child-catalog-item"},[r("div",{class:["sub-title",{"has-children":b.length}]},[r("a",{href:`#${_}`,class:"header-anchor"},"#"),r(nt,{class:"catalog-title",to:E},()=>[e.index?`${g+1}.${D+1}`:null,w&&t.icon?t.icon({icon:w}):null,_||"Unknown"])]),b.length?r("div",{class:"sub-catalog-wrapper"},b.map(({icon:x,path:$,title:N},R)=>r(nt,{class:"sub-catalog-item",to:$},()=>[e.index?`${g+1}.${D+1}.${R+1}`:null,x&&t.icon?t.icon({icon:x}):null,N||"Unknown"]))):null]))):null])])}}),ii=J({enhance:({app:e})=>{ne("AutoCatalog",e)||e.component("AutoCatalog",t=>r(ri,t,{icon:({icon:n})=>r(q("HopeIcon"),{icon:n})}))}});const li=r("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[r("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),r("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),ra=y({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=me(),n=h(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>r("span",[li,r("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}}),si={},ci=J({enhance({app:e}){e.component("ExternalLinkIcon",r(ra,{locales:si}))}});/** * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT - */const k={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},status:null,set:e=>{const t=k.isStarted();e=rt(e,k.settings.minimum,1),k.status=e===1?null:e;const n=k.render(!t),a=n.querySelector(k.settings.barSelector),o=k.settings.speed,i=k.settings.easing;return n.offsetWidth,ui(l=>{Be(a,{transform:"translate3d("+tn(e)+"%,0,0)",transition:"all "+o+"ms "+i}),e===1?(Be(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Be(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){k.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),k},isStarted:()=>typeof k.status=="number",start:()=>{k.status||k.set(0);const e=()=>{setTimeout(()=>{k.status&&(k.trickle(),e())},k.settings.trickleSpeed)};return k.settings.trickle&&e(),k},done:e=>!e&&!k.status?k:k.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=k.status;return t?(typeof e!="number"&&(e=(1-t)*rt(Math.random()*t,.1,.95)),t=rt(t+e,0,.994),k.set(t)):k.start()},trickle:()=>k.inc(Math.random()*k.settings.trickleRate),render:e=>{if(k.isRendered())return document.getElementById("nprogress");nn(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=k.settings.template;const n=t.querySelector(k.settings.barSelector),a=e?"-100":tn(k.status||0),o=document.querySelector(k.settings.parent);return Be(n,{transition:"all 0 linear",transform:"translate3d("+a+"%,0,0)"}),o!==document.body&&nn(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{an(document.documentElement,"nprogress-busy"),an(document.querySelector(k.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&di(e)},isRendered:()=>!!document.getElementById("nprogress")},rt=(e,t,n)=>en?n:e,tn=e=>(-1+e)*100,ui=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Be=function(){const e=["Webkit","O","Moz","ms"],t={};function n(l){return l.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(s,c){return c.toUpperCase()})}function a(l){const s=document.body.style;if(l in s)return l;let c=e.length;const d=l.charAt(0).toUpperCase()+l.slice(1);let v;for(;c--;)if(v=e[c]+d,v in s)return v;return l}function o(l){return l=n(l),t[l]||(t[l]=a(l))}function i(l,s,c){s=o(s),l.style[s]=c}return function(l,s){for(const c in s){const d=s[c];d!==void 0&&Object.prototype.hasOwnProperty.call(s,c)&&i(l,c,d)}}}(),ia=(e,t)=>(typeof e=="string"?e:kt(e)).indexOf(" "+t+" ")>=0,nn=(e,t)=>{const n=kt(e),a=n+t;ia(n,t)||(e.className=a.substring(1))},an=(e,t)=>{const n=kt(e);if(!ia(e,t))return;const a=n.replace(" "+t+" "," ");e.className=a.substring(1,a.length-1)},kt=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),di=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)};const vi=()=>{M(()=>{const e=oe(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||k.start()}),e.afterEach(n=>{t.add(n.path),k.done()})})},pi=J({setup(){vi()}}),mi=JSON.parse(`{"encrypt":{},"author":{"name":"Marvin Zhang"},"logo":"/logo-main.svg","repo":"crawlab-team/crawlab-docs","docsDir":"docs","footer":"
\\n 渝ICP备2021011872号-1\\n \\n 渝公网安备 50011202503421号\\n \\n
\\n","copyright":"2019-2023 © Crawlab.cn All rights reserved","pageInfo":["Category","Tag"],"displayFooter":true,"darkmode":"toggle","locales":{"/en/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"},"navbar":[{"text":"Guide","icon":"creative","link":"/en/guide/"},{"text":"Principle","icon":"software","link":"/en/principle/"},{"text":"API","icon":"api","link":"/en/api/"},{"text":"Pro Edition","icon":"ability","link":"/en/pro/"},{"text":"Migration","icon":"navigation","link":"/en/migration/"},{"text":"Demo","icon":"slides","link":"https://demo-pro.crawlab.cn"},{"text":"Older Versions","icon":"tag","children":[{"text":"v0.5.x","link":"https://docs-v05.crawlab.cn"}]}],"sidebar":[{"text":"Guide","icon":"creative","prefix":"/en/guide/","collapsible":true,"children":[{"text":"Introduction","icon":"info","link":"README.md"},{"text":"Quick Start","icon":"light","link":"quick-start"},{"text":"Installation","icon":"operate","prefix":"installation/","collapsible":true,"children":[{"text":"Overview","icon":"info","link":"README.md"},{"text":"Docker","icon":"app","link":"docker"}]},{"text":"Basic Tutorial","icon":"flow","link":"basic-tutorial/"},{"text":"Node","icon":"map","link":"node/"},{"text":"Project","icon":"ability","link":"project/"},{"text":"Spider","prefix":"spider/","icon":"debug","collapsible":true,"children":[{"text":"Overview","icon":"info","link":"README.md"},{"text":"File Editor","icon":"template","link":"file-editor"},{"text":"Integration","icon":"class","link":"integration"}]},{"text":"Schedule","icon":"time","link":"schedule/"},{"text":"Task","icon":"list","link":"task"},{"text":"User","icon":"people","link":"user/"},{"text":"Dependencies","icon":"stack","link":"deps/"},{"text":"Notifications","icon":"notice","link":"notifications/"},{"text":"Data Sources","icon":"mysql","link":"data-sources/"},{"text":"Monitoring","icon":"process","link":"monitoring/"},{"text":"Permissions","icon":"group","link":"permissions/"},{"text":"CLI","icon":"shell","link":"cli/"}]},{"text":"Principle","icon":"software","prefix":"/en/principle/","collapsible":true,"children":[{"text":"Introduction","icon":"info","link":"README.md"},{"text":"Architecture","icon":"back-stage","link":"architecture/"},{"text":"Node","prefix":"node","icon":"map","collapsible":true,"children":[{"text":"Overview","icon":"info","link":"README.md"},{"text":"Master Node","icon":"remote","link":"master-node"},{"text":"Worker Node","icon":"tree","link":"worker-node"},{"text":"Node Communication","icon":"asynchronous","link":"node-communication"}]},{"text":"Database","icon":"storage","prefix":"database/","collapsible":true,"children":[{"text":"Overview","icon":"info","link":"README.md"},{"text":"MongoDB","icon":"object","link":"mongodb"}]},{"text":"File System","prefix":"filesystem/","icon":"workingDirectory","collapsible":true,"children":[{"text":"Overview","icon":"info","link":"README.md"},{"text":"SeaweedFS","icon":"file","link":"seaweedfs"}]}]},{"text":"API Doc","icon":"api","prefix":"/en/api/","collapsible":true,"children":[{"text":"Introduction","icon":"info","link":"README.md"},{"text":"API Reference","icon":"structure","link":"api-reference"}]},{"text":"Pro Edition","icon":"ability","prefix":"/en/pro/","collapsible":true,"children":[{"text":"Introduction","icon":"info","link":"README.md"},{"text":"Installation","icon":"install","link":"installation"},{"text":"License","icon":"license","link":"license"}]},{"text":"Migration","icon":"navigation","prefix":"/en/migration/","collapsible":true,"children":[{"text":"Introduction","icon":"info","link":"README.md"},{"text":"Migrate to v0.6","icon":"line","link":"v0.6"}]}]},"/zh/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"编辑此页","print":"打印"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"encryptLocales":{"iconLabel":"文章已加密","placeholder":"输入密码","remember":"记住密码","errorHint":"请输入正确的密码"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":[{"text":"指南","icon":"creative","link":"/zh/guide/"},{"text":"原理","icon":"software","link":"/zh/principle/"},{"text":"API","icon":"api","link":"/zh/api/"},{"text":"专业版","icon":"ability","link":"/zh/pro/"},{"text":"旧版本迁移","icon":"navigation","link":"/zh/migration/"},{"text":"演示","icon":"slides","link":"https://demo-pro.crawlab.cn"},{"text":"历史版本","icon":"tag","children":[{"text":"v0.5.x","link":"https://docs-v05.crawlab.cn"}]}],"sidebar":[{"text":"指南","icon":"creative","prefix":"/zh/guide/","collapsible":true,"children":[{"text":"介绍","icon":"info","link":"README.md"},{"text":"快速开始","icon":"light","link":"quick-start"},{"text":"安装","icon":"operate","prefix":"installation/","collapsible":true,"children":[{"text":"概览","icon":"info","link":"README.md"},{"text":"Docker","icon":"app","link":"docker"}]},{"text":"基础教程","icon":"flow","link":"basic-tutorial/"},{"text":"节点","icon":"map","link":"node/"},{"text":"项目","icon":"ability","link":"project/"},{"text":"爬虫","icon":"debug","prefix":"spider/","collapsible":true,"children":[{"text":"概览","icon":"info","link":"README.md"},{"text":"文件编辑","icon":"template","link":"file-editor"},{"text":"爬虫集成","icon":"class","link":"integration"}]},{"text":"定时任务","icon":"time","link":"schedule/"},{"text":"任务","icon":"list","link":"task/"},{"text":"用户","icon":"people","link":"user/"},{"text":"依赖管理","icon":"stack","link":"deps/"},{"text":"消息通知","icon":"notice","link":"notifications/"},{"text":"数据源","icon":"mysql","link":"data-sources/"},{"text":"监控指标","icon":"process","link":"monitoring/"},{"text":"权限管理","icon":"group","link":"permissions/"},{"text":"CLI","icon":"shell","link":"cli/"}]},{"text":"原理","icon":"software","prefix":"/zh/principle/","collapsible":true,"children":[{"text":"介绍","icon":"info","link":"README.md"},{"text":"架构","icon":"back-stage","link":"architecture/"},{"text":"节点","prefix":"node/","collapsible":true,"children":[{"text":"概览","icon":"info","link":"README.md"},{"text":"主节点","icon":"remote","link":"master-node"},{"text":"工作节点","icon":"tree","link":"worker-node"},{"text":"节点通信","icon":"asynchronous","link":"node-communication"}]},{"text":"数据库","icon":"storage","prefix":"database/","collapsible":true,"children":[{"text":"概览","icon":"info","link":"README.md"},{"text":"MongoDB","icon":"object","link":"mongodb"}]},{"text":"文件系统","prefix":"filesystem/","icon":"workingDirectory","collapsible":true,"children":[{"text":"概览","icon":"info","link":"README.md"},{"text":"SeaweedFS","icon":"file","link":"seaweedfs"}]}]},{"text":"API 文档","icon":"api","prefix":"/zh/api/","collapsible":true,"children":[{"text":"介绍","icon":"info","link":"README.md"},{"text":"API 参考文档","icon":"structure","link":"api-reference"}]},{"text":"专业版","icon":"ability","prefix":"/zh/pro/","collapsible":true,"children":[{"text":"介绍","icon":"info","link":"README.md"},{"text":"安装","icon":"install","link":"installation"},{"text":"许可证","icon":"license","link":"license"}]},{"text":"旧版本迁移","icon":"navigation","prefix":"/zh/migration/","collapsible":true,"children":[{"text":"介绍","icon":"info","link":"README.md"},{"text":"迁移至 v0.6","icon":"line","link":"v0.6"}]}]},"/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"}}}}`),hi=L(mi),la=()=>hi,sa=Symbol(""),fi=()=>{const e=Y(sa);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},gi=(e,t)=>{var n;return{...e,...(n=e.locales)==null?void 0:n[t]}},_i=J({enhance({app:e}){const t=la(),n=e._context.provides[bt],a=h(()=>gi(t.value,n.value));e.provide(sa,a),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return a.value}}})}});const Ei=800,bi=2e3,yi={"/en/":{copy:"Copy code",copied:"Copied",hint:"Copied successfully"},"/zh/":{copy:"复制代码",copied:"已复制",hint:"复制成功"},"/":{copy:"Copy code",copied:"Copied",hint:"Copied successfully"}},wi=!1,Ai=['.theme-hope-content div[class*="language-"] pre'],on=!1,it=new Map,Ti=()=>{const{copy:e}=Tr({legacy:!0}),t=ze(yi),n=I(),a=Qo(),o=s=>{if(!s.hasAttribute("copy-code-registered")){const c=document.createElement("button");c.type="button",c.classList.add("copy-code-button"),c.innerHTML='
',c.setAttribute("aria-label",t.value.copy),c.setAttribute("data-copied",t.value.copied),s.parentElement&&s.parentElement.insertBefore(c,s),s.setAttribute("copy-code-registered","")}},i=()=>Ge().then(()=>new Promise(s=>{setTimeout(()=>{Ai.forEach(c=>{document.querySelectorAll(c).forEach(o)}),s()},Ei)})),l=(s,c,d)=>{let{innerText:v=""}=c;/language-(shellscript|shell|bash|sh|zsh)/.test(s.classList.toString())&&(v=v.replace(/^ *(\$|>) /gm,"")),e(v).then(()=>{d.classList.add("copied"),clearTimeout(it.get(d));const p=setTimeout(()=>{d.classList.remove("copied"),d.blur(),it.delete(d)},bi);it.set(d,p)})};M(()=>{(!a.value||on)&&i(),H("click",s=>{const c=s.target;if(c.matches('div[class*="language-"] > button.copy')){const d=c.parentElement,v=c.nextElementSibling;v&&l(d,v,c)}else if(c.matches('div[class*="language-"] div.copy-icon')){const d=c.parentElement,v=d.parentElement,p=d.nextElementSibling;p&&l(v,p,d)}}),O(()=>n.value.path,()=>{(!a.value||on)&&i()})})};var Li=J({setup:()=>{Ti()}});let ki={};const ca=Symbol(""),Di=()=>Y(ca),Ri=e=>{e.provide(ca,ki)},_e={useMaxWidth:!1},xi=e=>({dark:e,background:e?"#1e1e1e":"#fff",primaryColor:e?"#389d70":"#4abf8a",primaryBorderColor:e?"#389d70":"#4abf8a",primaryTextColor:"#fff",secondaryColor:"#ffb500",secondaryBorderColor:e?"#fff":"#000",secondaryTextColor:e?"#ddd":"#333",tertiaryColor:e?"#282828":"#efeef4",tertiaryBorderColor:e?"#bbb":"#242424",tertiaryTextColor:e?"#ddd":"#333",noteBkgColor:e?"#f6d365":"#fff5ad",noteTextColor:"#242424",noteBorderColor:e?"#f6d365":"#333",lineColor:e?"#d3d3d3":"#333",textColor:e?"#fff":"#242424",mainBkg:e?"#389d70":"#4abf8a",errorBkgColor:"#eb4d5d",errorTextColor:"#fff",nodeBorder:e?"#389d70":"#4abf8a",nodeTextColor:e?"#fff":"#242424",signalTextColor:e?"#9e9e9e":"#242424",classText:"#fff",labelColor:"#fff",fillType0:e?"#cf1322":"#f1636e",fillType1:"#f39c12",fillType2:"#2ecc71",fillType3:"#fa541c",fillType4:"#25a55b",fillType5:"#13c2c2",fillType6:"#096dd9",fillType7:"#aa6fe9"});var Ii=y({name:"Mermaid",props:{id:{type:String,required:!0},code:{type:String,required:!0}},setup(e){const t=Di(),n=se(),a=h(()=>or(e.code)),o=L(""),i=L(!1),l=async()=>{const[{default:d}]=await Promise.all([u(()=>import("./mermaid.core-00b8b54a.js").then(v=>v.aH),["assets/mermaid.core-00b8b54a.js","assets/commonjsHelpers-725317a4.js"]),new Promise(v=>setTimeout(v,800))]);d.initialize({theme:"base",themeVariables:xi(i.value),flowchart:_e,sequence:_e,journey:_e,gantt:_e,er:_e,pie:_e,...t,startOnLoad:!1}),o.value=(await d.render(e.id,a.value)).svg,console.log(o.value)},s=()=>{const{body:d}=document,v=document.createElement("div");v.classList.add("mermaid-preview"),v.innerHTML=o.value,console.log(v),d.appendChild(v),v.addEventListener("click",()=>{console.log("remove"),d.removeChild(v)})},c=()=>{const d=`data:image/svg+xml;charset=utf8,${o.value.replace(/%/g,"%25").replace(/"/g,"%22").replace(/'/g,"%27").replace(/&/g,"%26").replace(/#/g,"%23").replace(/{/g,"%7B").replace(/}/g,"%7D").replace(//g,"%3E")}`,v=document.createElement("a");v.setAttribute("href",d),v.setAttribute("download",`${e.id}.svg`),v.click()};return M(()=>{const d=document.documentElement,v=()=>d.classList.contains("dark")||d.getAttribute("data-theme")==="dark";i.value=v(),l(),Cr(d,()=>{i.value=v()},{attributeFilter:["class","data-theme"],attributes:!0}),O(i,()=>l())}),()=>[r("div",{class:"mermaid-actions"},[r("button",{class:"preview-button",onClick:()=>s(),title:"preview",innerHTML:''}),r("button",{class:"download-button",onClick:()=>c(),title:"download",innerHTML:''})]),r("div",{ref:n,class:"mermaid-wrapper"},o.value?r("div",{class:"mermaid-content",innerHTML:o.value}):r(Pn,{class:"mermaid-loading",height:96}))]}});const Pi=J({enhance:({app:e})=>{Ri(e),e.component("Mermaid",Ii)}});let Oi={};const ua=Symbol(""),zi=()=>Y(ua),Vi=e=>{e.provide(ua,Oi)};const Si=".theme-hope-content :not(a) > img:not([no-view])",Mi={"/en/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"},"/zh/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"},"/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"}},Ci=800,$i='
',Ni=e=>j(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),da=e=>new Promise((t,n)=>{e.complete?t({type:"image",element:e,src:e.src,width:e.naturalWidth,height:e.naturalHeight,alt:e.alt,msrc:e.src}):(e.onload=()=>t(da(e)),e.onerror=a=>n(a))}),Bi=()=>{const{isSupported:e,toggle:t}=Lt(),n=zi(),a=ze(Mi),o=I();let i;const l=c=>{c.on("uiRegister",()=>{e&&c.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'',onClick:()=>{t()}}),c.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'',outlineID:"pswp__icn-download"},onInit:(d,v)=>{d.setAttribute("download",""),d.setAttribute("target","_blank"),d.setAttribute("rel","noopener"),v.on("change",()=>{d.setAttribute("href",v.currSlide.data.src)})}}),c.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(d,v)=>{const p=[];let f=-1;for(let g=0;g{v.goTo(p.indexOf(w.target))},p.push(b),d.appendChild(b)}v.on("change",()=>{f>=0&&p[f].classList.remove("active"),p[v.currIndex].classList.add("active"),f=v.currIndex})}})})},s=()=>Promise.all([u(()=>import("./photoswipe.esm-36cd6c3c.js"),[]),Ge().then(()=>new Promise(c=>setTimeout(c,Ci)).then(()=>Ni(Si)))]).then(([{default:c},d])=>{const v=d.map(p=>({html:$i,element:p,msrc:p.src}));d.forEach((p,f)=>{const g=()=>{i=new c({preloaderDelay:0,showHideAnimationType:"zoom",...a.value,...n,dataSource:v,index:f,closeOnVerticalDrag:!0,wheelToZoom:!1}),l(i),i.addFilter("thumbEl",()=>p),i.addFilter("placeholderSrc",()=>p.src),i.init()};p.style.cursor="zoom-in",p.addEventListener("click",()=>{g()}),p.addEventListener("keypress",({key:b})=>{b==="Enter"&&g()})}),d.forEach((p,f)=>{da(p).then(g=>{v.splice(f,1,g),i==null||i.refreshSlideContent(f)})})});M(()=>{H("wheel",()=>{i==null||i.close()}),s(),O(()=>o.value.path,()=>s())})};var Fi=J({enhance:({app:e})=>{Vi(e)},setup:()=>{Bi()}});const va=()=>{const e=I();return h(()=>e.value.readingTime??null)},dt=typeof{"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/zh/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"},"/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"}}>"u"?null:{"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/zh/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"},"/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"}},Hi=(e,t)=>{const{minutes:n,words:a}=e,{less1Minute:o,word:i,time:l}=t;return{time:n<1?o:l.replace("$time",Math.round(n).toString()),words:i.replace("$word",a.toString())}},rn={words:"",time:""},ji=()=>dt?ze(dt):h(()=>null),qi=()=>{if(typeof dt>"u")return h(()=>rn);const e=va(),t=ji();return h(()=>e.value&&t.value?Hi(e.value,t.value):rn)},ue=()=>la(),P=()=>fi(),Xe=()=>h(()=>!!ue().value.pure);var ln=y({name:"EmptyComponent",setup:()=>()=>null});const Dt={"/":[""]},pa=e=>{const{icon:t="",color:n,size:a}=e,o={};return n&&(o.color=n),a&&(o.height=Number.isNaN(Number(a))?a:`${a}px`),Ie(t)?r("img",{class:"icon",src:t,"no-view":"",style:o}):wt(t)?r("img",{class:"icon",src:Ae(t),"no-view":"",style:o}):r(q("FontIcon"),e)};pa.displayName="HopeIcon";var W=pa,te=(e=>(e.type="y",e.title="t",e.shortTitle="s",e.icon="i",e.author="a",e.date="d",e.localizedDate="l",e.category="c",e.tag="g",e.isEncrypted="n",e.isOriginal="o",e.readingTime="r",e.excerpt="e",e.sticky="u",e.cover="v",e.index="I",e.order="O",e))(te||{}),Wi=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(Wi||{});const ye=(e,t=!1)=>{const n=oe(),{fullPath:a,meta:o,name:i}=Tt(n,encodeURI(e));return{text:!t&&o[te.shortTitle]?o[te.shortTitle]:o[te.title]||e,link:i==="404"?e:a,...o[te.icon]?{icon:o[te.icon]}:{}}},Ui=()=>{const e=oe(),t=Z();return n=>{if(n)if(wt(n))t.path!==n&&e.push(n);else if(Ie(n)||pn(n))window&&window.open(n);else{const a=t.path.slice(0,t.path.lastIndexOf("/"));e.push(`${a}/${encodeURI(n)}`)}}},ma=()=>{const e=P(),t=C();return h(()=>{const{author:n}=t.value;return n?Ft(n):n===!1?[]:Ft(e.value.author,!1)})},Gi=()=>{const e=C();return h(()=>tr(e.value.category).map(t=>({name:t,path:""})))},Yi=()=>{const e=C();return h(()=>nr(e.value.tag).map(t=>({name:t,path:""})))},Ji=()=>{const e=C(),t=I();return h(()=>{const n=er(e.value.date);if(n)return n;const{createdTime:a}=t.value.git||{};return a?new Date(a):null})},Ki=()=>{const e=P(),t=I(),n=C(),a=ma(),o=Gi(),i=Yi(),l=Ji(),s=va(),c=qi(),d=h(()=>({author:a.value,category:o.value,date:l.value,localizedDate:t.value.localizedDate,tag:i.value,isOriginal:n.value.isOriginal||!1,readingTime:s.value,readingTimeLocale:c.value,pageview:"pageview"in n.value?n.value.pageview:!0})),v=h(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:d,items:v}},Ze=()=>{const e=ue(),t=L(!1),n=L(!1),a=()=>{t.value=window.innerWidth<=(e.value.mobileBreakPoint||719),n.value=window.innerWidth>=(e.value.pcBreakPoint||1440)};return M(()=>{a(),H("resize",a,!1),H("orientationchange",a,!1)}),{isMobile:t,isPC:n}},ha=Symbol(""),Me=()=>{const e=Y(ha);if(!e)throw new Error("useDarkmode() is called without provider.");return e},Xi=e=>{const t=ue(),n=zr(),a=ea("vuepress-theme-hope-scheme","auto"),o=h(()=>t.value.darkmode||"switch"),i=h(()=>{const s=o.value;return s==="disable"?!1:s==="enable"?!0:s==="auto"?n.value:s==="toggle"?a.value==="dark":a.value==="dark"||a.value==="auto"&&n.value}),l=h(()=>{const s=o.value;return s==="switch"||s==="toggle"});e.provide(ha,{canToggle:l,config:o,isDarkmode:i,status:a}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>i.value}})},Zi=()=>{const{isDarkmode:e}=Me(),t=(n=e.value)=>document.documentElement.setAttribute("data-theme",n?"dark":"light");M(()=>{O(e,t,{immediate:!0})})};var F=y({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:["focusout"],setup(e,{attrs:t,emit:n,slots:a}){const o=Z(),i=yn(),l=Ye(e,"config"),s=h(()=>Ie(l.value.link)),c=h(()=>pn(l.value.link)||uo(l.value.link)),d=h(()=>c.value?void 0:l.value.target||(s.value?"_blank":void 0)),v=h(()=>d.value==="_blank"),p=h(()=>!s.value&&!c.value&&!v.value),f=h(()=>c.value?void 0:l.value.rel||(v.value?"noopener noreferrer":void 0)),g=h(()=>l.value.ariaLabel||l.value.text),b=h(()=>{if(e.exact)return!1;const E=Le(i.value.locales);return E.length?E.every(_=>_!==l.value.link):l.value.link!=="/"}),w=h(()=>p.value?l.value.activeMatch?new RegExp(l.value.activeMatch).test(o.path):b.value?Re(o.path,l.value.link):o.path===l.value.link:!1);return()=>{var E,_,D;const{text:x,icon:$,link:N}=l.value;return p.value?r(Pe,{to:N,"aria-label":g.value,...t,class:["nav-link",{active:w.value},t.class],onFocusout:()=>n("focusout")},()=>{var R,A,T;return((R=a.default)==null?void 0:R.call(a))||[((A=a.before)==null?void 0:A.call(a))||r(W,{icon:$}),x,(T=a.after)==null?void 0:T.call(a)]}):r("a",{href:N,rel:f.value,target:d.value,"aria-label":g.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},((E=a.default)==null?void 0:E.call(a))||[((_=a.before)==null?void 0:_.call(a))||r(W,{icon:$}),x,e.noExternalLinkIcon?null:r(ra),(D=a.after)==null?void 0:D.call(a)])}}});const Te=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch).test(e.path):At(e,t.link)?!0:t.children&&!n?t.children.some(a=>Te(e,a)):!1,fa=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?fa(e,n):n.type==="page"&&Te(e,n,!0))||"prefix"in t&&At(e,t.prefix):!1,ga=(e,t)=>j(e.link)?r(F,{...t,config:e}):r("p",t,[r(W,{icon:e.icon}),e.text]),_a=e=>{const t=Z();return e?r("ul",{class:"sidebar-sub-headers"},e.map(n=>{const a=Te(t,n,!0);return r("li",{class:"sidebar-sub-header"},[ga(n,{class:["sidebar-link","heading",{active:a}]}),_a(n.children)])})):null},lt=(e="",t="")=>wt(t)?t:`${vo(e)}${t}`,Qi=(e,t)=>{const n=I();return{type:"heading",text:e.title,link:`${n.value.path}#${e.slug}`,children:Rt(e.children,t)}},Rt=(e,t)=>t>0?e.map(n=>Qi(n,t-1)):[],Ea=e=>{const t=I();return Rt(t.value.headers,e)},vt=(e,t,n="")=>{const a=I(),o=(i,l=n)=>{var s;const c=j(i)?ye(lt(l,i)):i.link?{...i,...je(i.link)?{}:{link:ye(lt(l,i.link)).link}}:i;if("children"in c){const d=lt(l,c.prefix),v=c.children==="structure"?Dt[d]:c.children;return{type:"group",...c,prefix:d,children:v.map(p=>o(p,d))}}return{type:"page",...c,children:c.link===a.value.path?Rt(((s=a.value.headers[0])==null?void 0:s.level)===1?a.value.headers[0].children:a.value.headers,t):[]}};return e.map(i=>o(i))},el=(e,t)=>{const n=I(),a=Le(e).sort((o,i)=>i.length-o.length);for(const o of a)if(Re(decodeURI(n.value.path),o)){const i=e[o];return i?vt(i==="structure"?Dt[o]:i==="heading"?Ea(t):i,t,o):[]}return console.warn(`${n.value.path} is missing sidebar config.`),[]},tl=()=>{const e=me(),t=C(),n=P(),a=t.value.home?!1:t.value.sidebar??n.value.sidebar??"structure",o=t.value.headerDepth??n.value.headerDepth??2;return a===!1?[]:a==="heading"?Ea(o):a==="structure"?vt(Dt[e.value],o,e.value):gt(a)?vt(a,o):_t(a)?el(a,o):[]},ba=Symbol(""),nl=()=>{const e=h(()=>tl());dn(ba,e)},xt=()=>{const e=Y(ba);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var al=y({name:"PageFooter",setup(){const e=C(),t=P(),n=ma(),a=h(()=>{const{copyright:l,footer:s}=e.value;return s!==!1&&!!(l||s||t.value.displayFooter)}),o=h(()=>{const{footer:l}=e.value;return l===!1?!1:j(l)?l:t.value.footer||""}),i=h(()=>"copyright"in e.value?e.value.copyright:"copyright"in t.value?t.value.copyright:n.value.length?`Copyright © ${new Date().getFullYear()} ${n.value[0].name}`:!1);return()=>a.value?r("footer",{class:"footer-wrapper"},[o.value?r("div",{class:"footer",innerHTML:o.value}):null,i.value?r("div",{class:"copyright",innerHTML:i.value}):null]):null}}),ya=y({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},setup(e,{slots:t}){const n=I(),a=Ye(e,"config"),o=h(()=>a.value.ariaLabel||a.value.text),i=L(!1);O(()=>n.value.path,()=>{i.value=!1});const l=s=>{s.detail===0&&(i.value=!i.value)};return()=>{var s;return r("div",{class:["dropdown-wrapper",{open:i.value}]},[r("button",{type:"button",class:"dropdown-title","aria-label":o.value,onClick:l},[((s=t.title)==null?void 0:s.call(t))||r("span",{class:"title"},[r(W,{icon:a.value.icon}),e.config.text]),r("span",{class:"arrow"}),r("ul",{class:"nav-dropdown"},a.value.children.map((c,d)=>{const v=d===a.value.children.length-1;return r("li",{class:"dropdown-item"},"children"in c?[r("h4",{class:"dropdown-subtitle"},c.link?r(F,{config:c,onFocusout:()=>{c.children.length===0&&v&&(i.value=!1)}}):r("span",c.text)),r("ul",{class:"dropdown-subitem-wrapper"},c.children.map((p,f)=>r("li",{class:"dropdown-subitem"},r(F,{config:p,onFocusout:()=>{f===c.children.length-1&&v&&(i.value=!1)}}))))]:r(F,{config:c,onFocusout:()=>{v&&(i.value=!1)}}))}))])])}}});const wa=()=>r(V,{name:"i18n"},()=>[r("path",{d:"M379.392 460.8 494.08 575.488l-42.496 102.4L307.2 532.48 138.24 701.44l-71.68-72.704L234.496 460.8l-45.056-45.056c-27.136-27.136-51.2-66.56-66.56-108.544h112.64c7.68 14.336 16.896 27.136 26.112 35.84l45.568 46.08 45.056-45.056C382.976 312.32 409.6 247.808 409.6 204.8H0V102.4h256V0h102.4v102.4h256v102.4H512c0 70.144-37.888 161.28-87.04 210.944L378.88 460.8zM576 870.4 512 1024H409.6l256-614.4H768l256 614.4H921.6l-64-153.6H576zM618.496 768h196.608L716.8 532.48 618.496 768z"})]);wa.displayName="I18nIcon";const Aa=(e,t="")=>j(e)?ye(`${t}${e}`):"children"in e?{...e,...e.link&&!je(e.link)?ye(`${t}${e.link}`):{},children:e.children.map(n=>Aa(n,`${t}${e.prefix||""}`))}:{...e,link:je(e.link)?e.link:ye(`${t}${e.link}`).link},Ta=()=>h(()=>(P().value.navbar||[]).map(e=>Aa(e))),ol=()=>{const e=oe(),t=Z(),n=me(),a=Je(),o=ue(),i=P();return h(()=>{const l=Le(a.value.locales);if(l.length<2)return null;const{path:s,fullPath:c}=e.currentRoute.value,{navbarLocales:d}=i.value;return{text:"",ariaLabel:d==null?void 0:d.selectLangAriaLabel,children:[...l.map(v=>{var p,f,g;const b=((p=a.value.locales)==null?void 0:p[v])??{},w=((f=o.value.locales)==null?void 0:f[v])??{},E=b.lang||"",_=((g=w.navbarLocales)==null?void 0:g.langName)??E;let D;if(E===a.value.lang)D=s;else{const x=s.replace(n.value,v);D=e.getRoutes().some($=>$.path===x)?c.replace(s,x):w.home??v}return{text:_,link:D}}),...Hn(o.value.extraLocales||{}).map(([v,p])=>({text:v,link:p.replace(":route",t.path.replace(n.value,""))}))]}})},rl=()=>{const e=P(),t=h(()=>e.value.repo||null),n=h(()=>t.value?rr(t.value):null),a=h(()=>t.value?Wn(t.value):null),o=h(()=>n.value?e.value.repoLabel??(a.value===null?"Source":a.value):null);return h(()=>!n.value||!o.value||e.value.repoDisplay===!1?null:{type:a.value||"Source",label:o.value,link:n.value})};var il=y({name:"LanguageDropdown",setup(){const e=ol();return()=>e.value?r("div",{class:"nav-item"},r(ya,{class:"i18n-dropdown",config:e.value},{title:()=>{var t;return r(wa,{"aria-label":(t=e.value)==null?void 0:t.ariaLabel,style:{width:"1rem",height:"1rem",verticalAlign:"middle"}})}})):null}}),ll=y({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=I(),n=Ye(e,"config"),a=h(()=>n.value.ariaLabel||n.value.text),o=L(!1);O(()=>t.value.path,()=>{o.value=!1});const i=(l,s)=>s.at(-1)===l;return()=>[r("button",{type:"button",class:["nav-screen-dropdown-title",{active:o.value}],"aria-label":a.value,onClick:()=>{o.value=!o.value}},[r("span",{class:"title"},[r(W,{icon:n.value.icon}),e.config.text]),r("span",{class:["arrow",o.value?"down":"end"]})]),r("ul",{class:["nav-screen-dropdown",{hide:!o.value}]},n.value.children.map(l=>r("li",{class:"dropdown-item"},"children"in l?[r("h4",{class:"dropdown-subtitle"},l.link?r(F,{config:l,onFocusout:()=>{i(l,n.value.children)&&l.children.length===0&&(o.value=!1)}}):r("span",l.text)),r("ul",{class:"dropdown-subitem-wrapper"},l.children.map(s=>r("li",{class:"dropdown-subitem"},r(F,{config:s,onFocusout:()=>{i(s,l.children)&&i(l,n.value.children)&&(o.value=!1)}}))))]:r(F,{config:l,onFocusout:()=>{i(l,n.value.children)&&(o.value=!1)}}))))]}}),sl=y({name:"NavScreenLinks",setup(){const e=Ta();return()=>e.value.length?r("nav",{class:"nav-screen-links"},e.value.map(t=>r("div",{class:"navbar-links-item"},"children"in t?r(ll,{config:t}):r(F,{config:t})))):null}});const La=()=>r(V,{name:"dark"},()=>r("path",{d:"M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"}));La.displayName="DarkIcon";const ka=()=>r(V,{name:"light"},()=>r("path",{d:"M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"}));ka.displayName="LightIcon";const Da=()=>r(V,{name:"auto"},()=>r("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"}));Da.displayName="AutoIcon";const Ra=()=>r(V,{name:"enter-fullscreen"},()=>r("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));Ra.displayName="EnterFullScreenIcon";const xa=()=>r(V,{name:"cancel-fullscreen"},()=>r("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));xa.displayName="CancelFullScreenIcon";const Ia=()=>r(V,{name:"outlook"},()=>[r("path",{d:"M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"})]);Ia.displayName="OutlookIcon";var Pa=y({name:"AppearanceSwitch",setup(){const{config:e,status:t}=Me(),n=()=>{e.value==="switch"?t.value={light:"dark",dark:"auto",auto:"light"}[t.value]:t.value=t.value==="light"?"dark":"light"};return()=>r("button",{type:"button",id:"appearance-switch",onClick:()=>n()},[r(Da,{style:{display:t.value==="auto"?"block":"none"}}),r(La,{style:{display:t.value==="dark"?"block":"none"}}),r(ka,{style:{display:t.value==="light"?"block":"none"}})])}}),cl=y({name:"AppearanceMode",setup(){const e=P(),{canToggle:t}=Me(),n=h(()=>e.value.outlookLocales.darkmode);return()=>t.value?r("div",{class:"appearance-wrapper"},[r("label",{class:"appearance-title",for:"appearance-switch"},n.value),r(Pa)]):null}}),ul=y({name:"ThemeColorPicker",props:{themeColor:{type:Object,required:!0}},setup(e){const t=(n="")=>{const a=document.documentElement.classList,o=Le(e.themeColor).map(i=>`theme-${i}`);if(!n){localStorage.removeItem("theme"),a.remove(...o);return}a.remove(...o.filter(i=>i!==`theme-${n}`)),a.add(`theme-${n}`),localStorage.setItem("theme",n)};return M(()=>{const n=localStorage.getItem("theme");n&&t(n)}),()=>r("ul",{id:"theme-color-picker"},[r("li",r("span",{class:"theme-color",onClick:()=>t()})),Hn(e.themeColor).map(([n,a])=>r("li",r("span",{style:{background:a},onClick:()=>t(n)})))])}}),dl=y({name:"ThemeColor",setup(){const e=ue(),t=P(),n=h(()=>t.value.outlookLocales.themeColor),a=h(()=>{const{themeColor:o}=e.value;return o===!1?null:o});return()=>a.value?r("div",{class:"theme-color-wrapper"},[r("label",{class:"theme-color-title",for:"theme-color-picker"},n.value),r(ul,{themeColor:a.value})]):null}}),Oa=y({name:"ToggleFullScreenButton",setup(){const e=P(),{isSupported:t,isFullscreen:n,toggle:a}=Lt(),o=h(()=>e.value.outlookLocales.fullscreen);return()=>t?r("div",{class:"full-screen-wrapper"},[r("label",{class:"full-screen-title",for:"full-screen-switch"},o.value),r("button",{type:"button",class:"full-screen",id:"full-screen-switch",ariaPressed:n.value,onClick:()=>a()},n.value?r(xa):r(Ra))]):null}}),za=y({name:"OutlookSettings",setup(){const e=ue(),t=Xe(),n=h(()=>!t.value&&!!e.value.themeColor),a=h(()=>!t.value&&e.value.fullscreen);return()=>r(Ke,()=>[n.value?r(dl):null,r(cl),a.value?r(Oa):null])}}),vl=y({name:"NavScreen",props:{show:Boolean},emits:["close"],setup(e,{emit:t,slots:n}){const a=I(),{isMobile:o}=Ze(),i=se(),l=na(i);return M(()=>{i.value=document.body,O(o,s=>{!s&&e.show&&(l.value=!1,t("close"))}),O(()=>a.value.path,()=>{l.value=!1,t("close")})}),vn(()=>{l.value=!1}),()=>r(we,{name:"fade",onEnter:()=>{l.value=!0},onAfterLeave:()=>{l.value=!1}},()=>{var s,c;return e.show?r("div",{id:"nav-screen"},r("div",{class:"container"},[(s=n.before)==null?void 0:s.call(n),r(sl),r("div",{class:"outlook-wrapper"},r(za)),(c=n.after)==null?void 0:c.call(n)])):null})}}),pl=y({name:"NavbarBrand",setup(){const e=me(),t=Je(),n=P(),a=h(()=>n.value.home||e.value),o=h(()=>t.value.title),i=h(()=>n.value.logo?Ae(n.value.logo):null),l=h(()=>n.value.logoDark?Ae(n.value.logoDark):null);return()=>r(Pe,{to:a.value,class:"brand"},()=>[i.value?r("img",{class:["logo",{light:!!l.value}],src:i.value,alt:o.value}):null,l.value?r("img",{class:["logo dark"],src:l.value,alt:o.value}):null,o.value?r("span",{class:["site-name",{"hide-in-pad":i.value&&n.value.hideSiteNameOnMobile!==!1}]},o.value):null])}}),ml=y({name:"NavbarLinks",setup(){const e=Ta();return()=>e.value.length?r("nav",{class:"nav-links"},e.value.map(t=>r("div",{class:"nav-item hide-in-mobile"},"children"in t?r(ya,{config:t}):r(F,{config:t})))):null}}),hl=y({name:"RepoLink",components:{BitbucketIcon:Mn,GiteeIcon:Sn,GitHubIcon:zn,GitLabIcon:Vn,SourceIcon:Cn},setup(){const e=rl();return()=>e.value?r("div",{class:"nav-item"},r("a",{class:"repo-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},r(q(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Va=({active:e=!1},{emit:t})=>r("button",{type:"button",class:["toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},r("span",{class:"button-container"},[r("span",{class:"button-top"}),r("span",{class:"button-middle"}),r("span",{class:"button-bottom"})]));Va.displayName="ToggleNavbarButton";var fl=Va;const pt=(e,{emit:t})=>r("button",{type:"button",class:"toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},r("span",{class:"icon"}));pt.displayName="ToggleSidebarButton",pt.emits=["toggle"];var gl=pt,_l=y({name:"OutlookButton",setup(){const{isSupported:e}=Lt(),t=ue(),n=Xe(),a=I(),{canToggle:o}=Me(),i=L(!1),l=h(()=>!n.value&&!!t.value.themeColor),s=h(()=>!n.value&&t.value.fullscreen&&e);return O(()=>a.value.path,()=>{i.value=!1}),()=>o.value||s.value||l.value?r("div",{class:"nav-item hide-in-mobile"},o.value&&!s.value&&!l.value?r(Pa):s.value&&!o.value&&!l.value?r(Oa):r("button",{type:"button",class:["outlook-button",{open:i.value}],tabindex:"-1","aria-hidden":!0},[r(Ia),r("div",{class:"outlook-dropdown"},r(za))])):null}}),El=y({name:"NavBar",emits:["toggleSidebar"],setup(e,{emit:t,slots:n}){const a=P(),{isMobile:o}=Ze(),i=L(!1),l=h(()=>{const{navbarAutoHide:v="mobile"}=a.value;return v!=="none"&&(v==="always"||o.value)}),s=h(()=>a.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),c={Brand:pl,Language:il,Links:ml,Repo:hl,Outlook:_l,Search:ne("Docsearch")?q("Docsearch"):ne("SearchBox")?q("SearchBox"):ln},d=v=>c[v]??(ne(v)?q(v):ln);return()=>{var v,p,f,g,b,w;return[r("header",{class:["navbar",{"auto-hide":l.value,"hide-icon":a.value.navbarIcon===!1}],id:"navbar"},[r("div",{class:"navbar-start"},[r(gl,{onToggle:()=>{i.value&&(i.value=!1),t("toggleSidebar")}}),(v=n.startBefore)==null?void 0:v.call(n),(s.value.start||[]).map(E=>r(d(E))),(p=n.startAfter)==null?void 0:p.call(n)]),r("div",{class:"navbar-center"},[(f=n.centerBefore)==null?void 0:f.call(n),(s.value.center||[]).map(E=>r(d(E))),(g=n.centerAfter)==null?void 0:g.call(n)]),r("div",{class:"navbar-end"},[(b=n.endBefore)==null?void 0:b.call(n),(s.value.end||[]).map(E=>r(d(E))),(w=n.endAfter)==null?void 0:w.call(n),r(fl,{active:i.value,onToggle:()=>{i.value=!i.value}})])]),r(vl,{show:i.value,onClose:()=>{i.value=!1}},{before:()=>{var E;return(E=n.screenTop)==null?void 0:E.call(n)},after:()=>{var E;return(E=n.screenBottom)==null?void 0:E.call(n)}})]}}}),bl=y({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=Z();return()=>[ga(e.config,{class:["sidebar-link",`sidebar-${e.config.type}`,{active:Te(t,e.config,!0)}],exact:!0}),_a(e.config.children)]}}),yl=y({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=Z(),a=h(()=>Te(n,e.config)),o=h(()=>Te(n,e.config,!0));return()=>{const{collapsible:i,children:l=[],icon:s,prefix:c,link:d,text:v}=e.config;return r("section",{class:"sidebar-group"},[r(i?"button":"p",{class:["sidebar-heading",{clickable:i||d,exact:o.value,active:a.value}],...i?{type:"button",onClick:()=>t("toggle"),onKeydown:p=>{p.key==="Enter"&&t("toggle")}}:{}},[r(W,{icon:s}),d?r(F,{class:"title",config:{text:v,link:d},noExternalLinkIcon:!0}):r("span",{class:"title"},v),i?r("span",{class:["arrow",e.open?"down":"end"]}):null]),e.open||!i?r(Sa,{key:c,config:l}):null])}}}),Sa=y({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=Z(),n=L(-1),a=o=>{n.value=o===n.value?-1:o};return O(()=>t.path,()=>{const o=e.config.findIndex(i=>fa(t,i));n.value=o},{immediate:!0,flush:"post"}),()=>r("ul",{class:"sidebar-links"},e.config.map((o,i)=>r("li",o.type==="group"?r(yl,{config:o,open:i===n.value,onToggle:()=>a(i)}):r(bl,{config:o}))))}}),wl=y({name:"SideBar",setup(e,{slots:t}){const n=Z(),a=P(),o=xt(),i=se();return M(()=>{O(()=>n.hash,l=>{const s=document.querySelector(`.sidebar a.sidebar-link[href="${n.path}${l}"]`);if(!s)return;const{top:c,height:d}=i.value.getBoundingClientRect(),{top:v,height:p}=s.getBoundingClientRect();vc+d&&s.scrollIntoView(!1)})}),()=>{var l,s,c;return r("aside",{class:["sidebar",{"hide-icon":a.value.sidebarIcon===!1}],id:"sidebar",ref:i},[(l=t.top)==null?void 0:l.call(t),((s=t.default)==null?void 0:s.call(t))||r(Sa,{config:o.value}),(c=t.bottom)==null?void 0:c.call(t)])}}}),Ma=y({name:"CommonWrapper",props:{noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},setup(e,{slots:t}){const n=oe(),a=I(),o=C(),i=P(),{isMobile:l,isPC:s}=Ze(),[c,d]=qt(!1),[v,p]=qt(!1),f=xt(),g=L(!1),b=h(()=>e.noNavbar||o.value.navbar===!1||i.value.navbar===!1?!1:!!(a.value.title||i.value.logo||i.value.repo||i.value.navbar)),w=h(()=>e.noSidebar?!1:o.value.sidebar!==!1&&f.value.length!==0&&!o.value.home),E=h(()=>e.noToc||o.value.home?!1:o.value.toc||i.value.toc!==!1&&o.value.toc!==!1),_={x:0,y:0},D=R=>{_.x=R.changedTouches[0].clientX,_.y=R.changedTouches[0].clientY},x=R=>{const A=R.changedTouches[0].clientX-_.x,T=R.changedTouches[0].clientY-_.y;Math.abs(A)>Math.abs(T)*1.5&&Math.abs(A)>40&&(A>0&&_.x<=80?d(!0):d(!1))},$=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let N=0;return H("scroll",cr(()=>{const R=$();R<=58||R{R||d(!1)}),M(()=>{const R=na(document.body);O(c,T=>{R.value=T});const A=n.afterEach(()=>{d(!1)});vn(()=>{R.value=!1,A()})}),()=>r(ne("GlobalEncrypt")?q("GlobalEncrypt"):On,()=>{var R;return r("div",{class:["theme-container",{"no-navbar":!b.value,"no-sidebar":!w.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":E.value,"hide-navbar":g.value,"sidebar-collapsed":!l.value&&!s.value&&v.value,"sidebar-open":l.value&&c.value},o.value.containerClass||""],onTouchStart:D,onTouchEnd:x},[b.value?r(El,{onToggleSidebar:()=>d()},{startBefore:()=>{var A;return(A=t.navbarStartBefore)==null?void 0:A.call(t)},startAfter:()=>{var A;return(A=t.navbarStartAfter)==null?void 0:A.call(t)},centerBefore:()=>{var A;return(A=t.navbarCenterBefore)==null?void 0:A.call(t)},centerAfter:()=>{var A;return(A=t.navbarCenterAfter)==null?void 0:A.call(t)},endBefore:()=>{var A;return(A=t.navbarEndBefore)==null?void 0:A.call(t)},endAfter:()=>{var A;return(A=t.navbarEndAfter)==null?void 0:A.call(t)},screenTop:()=>{var A;return(A=t.navScreenTop)==null?void 0:A.call(t)},screenBottom:()=>{var A;return(A=t.navScreenBottom)==null?void 0:A.call(t)}}):null,r(we,{name:"fade"},()=>c.value?r("div",{class:"sidebar-mask",onClick:()=>d(!1)}):null),r(we,{name:"fade"},()=>l.value?null:r("div",{class:"toggle-sidebar-wrapper",onClick:()=>p()},r("span",{class:["arrow",v.value?"end":"start"]}))),r(wl,{},{...t.sidebar?{default:()=>{var A;return(A=t.sidebar)==null?void 0:A.call(t)}}:{},top:()=>{var A;return(A=t.sidebarTop)==null?void 0:A.call(t)},bottom:()=>{var A;return(A=t.sidebarBottom)==null?void 0:A.call(t)}}),(R=t.default)==null?void 0:R.call(t),r(al)])})}}),be=y({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},setup(e,{slots:t}){const n=o=>{o.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,o.style.transform="translateY(-20px)",o.style.opacity="0"},a=o=>{o.style.transform="translateY(0)",o.style.opacity="1"};return()=>r(e.type==="single"?we:co,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:a,onEnter:n,onAfterEnter:a,onBeforeLeave:n},()=>{var o;return(o=t.default)==null?void 0:o.call(t)})}});const mt=({custom:e})=>r(An,{class:["theme-hope-content",{custom:e}]});mt.displayName="MarkdownContent",mt.props={custom:Boolean};var Ca=mt;const $a=()=>r(V,{name:"author"},()=>r("path",{d:"M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"}));$a.displayName="AuthorIcon";const Na=()=>r(V,{name:"calendar"},()=>r("path",{d:"M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"}));Na.displayName="CalendarIcon";const Ba=()=>r(V,{name:"category"},()=>r("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));Ba.displayName="CategoryIcon";const Fa=()=>r(V,{name:"print"},()=>r("path",{d:"M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"}));Fa.displayName="PrintIcon";const Ha=()=>r(V,{name:"tag"},()=>r("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));Ha.displayName="TagIcon";const ja=()=>r(V,{name:"timer"},()=>r("path",{d:"M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"}));ja.displayName="TimerIcon";const qa=()=>r(V,{name:"word"},()=>[r("path",{d:"M518.217 432.64V73.143A73.143 73.143 0 01603.43 1.097a512 512 0 01419.474 419.474 73.143 73.143 0 01-72.046 85.212H591.36a73.143 73.143 0 01-73.143-73.143z"}),r("path",{d:"M493.714 566.857h340.297a73.143 73.143 0 0173.143 85.577A457.143 457.143 0 11371.566 117.76a73.143 73.143 0 0185.577 73.143v339.383a36.571 36.571 0 0036.571 36.571z"})]);qa.displayName="WordIcon";const de=()=>{const e=P();return h(()=>e.value.metaLocales)};var Al=y({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=de();return()=>e.author.length?r("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r($a),r("span",e.author.map(n=>n.url?r("a",{class:"page-author-item",href:n.url,target:"_blank",rel:"noopener noreferrer"},n.name):r("span",{class:"page-author-item"},n.name))),r("span",{property:"author",content:e.author.map(n=>n.name).join(", ")})]):null}}),Tl=y({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=oe(),n=I(),a=de(),o=(i,l="")=>{l&&n.value.path!==l&&(i.preventDefault(),t.push(l))};return()=>e.category.length?r("span",{class:"page-category-info","aria-label":`${a.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(Ba),e.category.map(({name:i,path:l})=>r("span",{class:["page-category-item",{[`category${Fn(i,9)}`]:!e.pure,clickable:l}],role:l?"navigation":"",onClick:s=>o(s,l)},i)),r("meta",{property:"articleSection",content:e.category.map(({name:i})=>i).join(",")})]):null}}),Ll=y({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=En(),n=de();return()=>e.date?r("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(Na),r("span",r(Ke,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),r("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),kl=y({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=de();return()=>e.isOriginal?r("span",{class:"page-original-info"},t.value.origin):null}}),Dl=y({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=de(),n=h(()=>{if(!e.readingTime)return null;const{minutes:a}=e.readingTime;return a<1?"PT1M":`PT${Math.round(a)}M`});return()=>{var a,o;return(a=e.readingTimeLocale)!=null&&a.time?r("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(ja),r("span",(o=e.readingTimeLocale)==null?void 0:o.time),r("meta",{property:"timeRequired",content:n.value})]):null}}}),Rl=y({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=oe(),n=I(),a=de(),o=(i,l="")=>{l&&n.value.path!==l&&(i.preventDefault(),t.push(l))};return()=>e.tag.length?r("span",{class:"page-tag-info","aria-label":`${a.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(Ha),e.tag.map(({name:i,path:l})=>r("span",{class:["page-tag-item",{[`tag${Fn(i,9)}`]:!e.pure,clickable:l}],role:l?"navigation":"",onClick:s=>o(s,l)},i)),r("meta",{property:"keywords",content:e.tag.map(({name:i})=>i).join(",")})]):null}}),xl=y({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=de();return()=>{var n,a,o;return(n=e.readingTimeLocale)!=null&&n.words?r("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(qa),r("span",(a=e.readingTimeLocale)==null?void 0:a.words),r("meta",{property:"wordCount",content:(o=e.readingTime)==null?void 0:o.words})]):null}}}),Il=y({name:"PageInfo",components:{AuthorInfo:Al,CategoryInfo:Tl,DateInfo:Ll,OriginalInfo:kl,PageViewInfo:()=>null,ReadingTimeInfo:Dl,TagInfo:Rl,WordInfo:xl},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=Xe();return()=>e.items?r("div",{class:"page-info"},e.items.map(n=>r(q(`${n}Info`),{...e.info,pure:t.value}))):null}}),Pl=y({name:"PrintButton",setup(){const e=ue(),t=P();return()=>e.value.print===!1?null:r("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},r(Fa))}});const Ol=({title:e,level:t,slug:n})=>r(Pe,{to:`#${n}`,class:["toc-link",`level${t}`]},()=>e),ht=(e,t)=>{const n=Z();return e.length&&t>0?r("ul",{class:"toc-list"},e.map(a=>{const o=ht(a.children,t-1);return[r("li",{class:["toc-item",{active:At(n,`#${a.slug}`)}]},Ol(a)),o?r("li",o):null]})):null};var zl=y({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},setup(e,{slots:t}){const n=Z(),a=I(),o=de(),i=se(),l=L("-1.7rem"),s=d=>{var v;(v=i.value)==null||v.scrollTo({top:d,behavior:"smooth"})},c=()=>{if(i.value){const d=document.querySelector(".toc-item.active");d?l.value=`${d.getBoundingClientRect().top-i.value.getBoundingClientRect().top+i.value.scrollTop}px`:l.value="-1.7rem"}else l.value="-1.7rem"};return M(()=>{O(()=>n.hash,d=>{if(i.value){const v=document.querySelector(`#toc a.toc-link[href$="${d}"]`);if(!v)return;const{top:p,height:f}=i.value.getBoundingClientRect(),{top:g,height:b}=v.getBoundingClientRect();gp+f&&s(i.value.scrollTop+g+b-p-f)}}),O(()=>n.fullPath,()=>c(),{flush:"post",immediate:!0})}),()=>{var d,v;const p=e.items.length?ht(e.items,e.headerDepth):a.value.headers?ht(a.value.headers,e.headerDepth):null;return p?r("div",{class:"toc-place-holder"},[r("aside",{id:"toc"},[(d=t.before)==null?void 0:d.call(t),r("div",{class:"toc-header"},[o.value.toc,r(Pl)]),r("div",{class:"toc-wrapper",ref:i},[p,r("div",{class:"toc-marker",style:{top:l.value}})]),(v=t.after)==null?void 0:v.call(t)])]):null}}}),Wa=y({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=I(),n=P(),a=se(),o=({target:i})=>{const l=document.querySelector(i.hash);if(l){const s=()=>{l.removeAttribute("tabindex"),l.removeEventListener("blur",s)};l.setAttribute("tabindex","-1"),l.addEventListener("blur",s),l.focus(),window.scrollTo(0,0)}};return M(()=>{O(()=>t.value.path,()=>a.value.focus())}),()=>[r("span",{ref:a,tabindex:"-1"}),r("a",{href:`#${e.content}`,class:"skip-link sr-only",onClick:o},n.value.routeLocales.skipToContent)]}});let st=null,Fe=null;const Vl={wait:()=>st,pending:()=>{st=new Promise(e=>Fe=e)},resolve:()=>{Fe==null||Fe(),st=null,Fe=null}},Ua=()=>Vl;var Sl=y({name:"FadeSlideY",setup(e,{slots:t}){const{resolve:n,pending:a}=Ua();return()=>r(we,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:n,onBeforeLeave:a},()=>{var o;return(o=t.default)==null?void 0:o.call(t)})}}),Ml=y({name:"FeaturePanel",props:{items:{type:Object,default:()=>[]},header:{type:String,default:""}},setup(e){return()=>r("div",{class:"feature-panel"},[e.header?r("h2",{class:"feature-header"},e.header):null,e.items.length?r("div",{class:"feature-wrapper"},e.items.map(t=>{const n=[r("h3",[r(W,{icon:t.icon}),r("span",{innerHTML:t.title})]),r("p",{innerHTML:t.details})];return t.link?je(t.link)?r("a",{class:"feature-item link",href:t.link,role:"navigation","aria-label":t.title,target:"_blank"},n):r(Pe,{class:"feature-item link",to:t.link,role:"navigation","aria-label":t.title},()=>n):r("div",{class:"feature-item"},n)})):null])}}),Cl=y({name:"HeroInfo",setup(e,{slots:t}){const n=C(),a=Je(),o=h(()=>n.value.heroText===!1?!1:n.value.heroText||a.value.title||"Hello"),i=h(()=>n.value.tagline===!1?!1:n.value.tagline||a.value.description||"Welcome to your VuePress site"),l=h(()=>n.value.heroImage?Ae(n.value.heroImage):null),s=h(()=>n.value.heroImageDark?Ae(n.value.heroImageDark):null),c=h(()=>n.value.heroAlt||o.value||"hero"),d=h(()=>n.value.actions??[]);return()=>{var v,p;return r("header",{class:"hero-info-wrapper"},[((v=t.heroImage)==null?void 0:v.call(t))||r(be,{appear:!0,type:"group"},()=>[l.value?r("img",{key:"light",class:{light:s.value},src:l.value,alt:c.value}):null,s.value?r("img",{key:"dark",class:"dark",src:s.value,alt:c.value}):null]),((p=t.heroInfo)==null?void 0:p.call(t))||r("div",{class:"hero-info"},[o.value?r(be,{appear:!0,delay:.04},()=>r("h1",{id:"main-title"},o.value)):null,i.value?r(be,{appear:!0,delay:.08},()=>r("p",{class:"description"},i.value)):null,d.value.length?r(be,{appear:!0,delay:.12},()=>r("p",{class:"actions"},d.value.map(f=>r(F,{class:["action-button",f.type||"default"],config:f,noExternalLinkIcon:!0})))):null])])}}}),$l=y({name:"HopePage",setup(e,{slots:t}){const n=Xe(),a=C(),o=h(()=>{const{features:i}=a.value;return gt(i)?i.some(l=>!("items"in l))?[{items:i}]:i:[]});return()=>{var i,l,s;return r("main",{class:["home project",{pure:n.value}],id:"main-content","aria-labelledby":a.value.heroText===null?void 0:"main-title"},[(i=t.top)==null?void 0:i.call(t),r(Cl),o.value.map(({header:c="",items:d},v)=>r(be,{appear:!0,delay:.16+v*.08},()=>r(Ml,{header:c,items:d}))),(l=t.center)==null?void 0:l.call(t),r(be,{appear:!0,delay:.16+o.value.length*.08},()=>r(Ca)),(s=t.bottom)==null?void 0:s.call(t)])}}});const Nl=(e,t)=>{const n=e.replace(t,"/").split("/"),a=[];let o=Et(t);return n.forEach((i,l)=>{l!==n.length-1?(o+=`${i}/`,a.push(o)):i!==""&&(o+=i,a.push(o))}),a};var Bl=y({name:"BreadCrumb",setup(){const e=oe(),t=I(),n=me(),a=C(),o=P(),i=se([]),l=h(()=>(a.value.breadcrumb||a.value.breadcrumb!==!1&&o.value.breadcrumb!==!1)&&i.value.length>1),s=h(()=>a.value.breadcrumbIcon||a.value.breadcrumbIcon!==!1&&o.value.breadcrumbIcon!==!1),c=()=>{const d=e.getRoutes(),v=Nl(t.value.path,n.value).map(p=>{const f=d.find(g=>g.path===p);if(f){const{meta:g,path:b}=Tt(e,f.path),w=g[te.shortTitle]||g[te.title];if(w)return{title:w,icon:g[te.icon],path:b}}return null}).filter(p=>p!==null);v.length>1&&(i.value=v)};return M(()=>{c(),O(()=>t.value.path,c)}),()=>r("nav",{class:["breadcrumb",{disable:!l.value}]},l.value?r("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},i.value.map((d,v)=>r("li",{class:{"is-active":i.value.length-1===v},property:"itemListElement",typeof:"ListItem"},[r(Pe,{to:d.path,property:"item",typeof:"WebPage"},()=>[s.value?r(W,{icon:d.icon}):null,r("span",{property:"name"},d.title||"Unknown")]),r("meta",{property:"position",content:v+1})]))):[])}});const sn=e=>e===!1?!1:j(e)?ye(e,!0):_t(e)?e:null,ft=(e,t,n)=>{const a=e.findIndex(o=>o.link===t);if(a!==-1){const o=e[a+n];return o!=null&&o.link?o:null}for(const o of e)if(o.children){const i=ft(o.children,t,n);if(i)return i}return null};var Fl=y({name:"PageNav",setup(){const e=P(),t=C(),n=xt(),a=I(),o=Ui(),i=h(()=>{const s=sn(t.value.prev);return s===!1?null:s||(e.value.prevLink===!1?null:ft(n.value,a.value.path,-1))}),l=h(()=>{const s=sn(t.value.next);return s===!1?null:s||(e.value.nextLink===!1?null:ft(n.value,a.value.path,1))});return H("keydown",s=>{s.altKey&&(s.key==="ArrowRight"?l.value&&(o(l.value.link),s.preventDefault()):s.key==="ArrowLeft"&&i.value&&(o(i.value.link),s.preventDefault()))}),()=>i.value||l.value?r("nav",{class:"page-nav"},[i.value?r(F,{class:"prev",config:i.value},()=>{var s,c;return[r("div",{class:"hint"},[r("span",{class:"arrow start"}),e.value.metaLocales.prev]),r("div",{class:"link"},[r(W,{icon:(s=i.value)==null?void 0:s.icon}),(c=i.value)==null?void 0:c.text])]}):null,l.value?r(F,{class:"next",config:l.value},()=>{var s,c;return[r("div",{class:"hint"},[e.value.metaLocales.next,r("span",{class:"arrow end"})]),r("div",{class:"link"},[(s=l.value)==null?void 0:s.text,r(W,{icon:(c=l.value)==null?void 0:c.icon})])]}):null]):null}});const Hl={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},jl=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:a,editLinkPattern:o})=>{if(!a)return null;const i=Wn(e);let l;return o?l=o:i!==null&&(l=Hl[i]),l?l.replace(/:repo/,Ie(e)?e:`https://github.com/${e}`).replace(/:branch/,t).replace(/:path/,un(`${Et(n)}/${a}`)):null},ql=()=>{const e=P(),t=I(),n=C();return h(()=>{const{repo:a,docsRepo:o=a,docsBranch:i="main",docsDir:l="",editLink:s,editLinkPattern:c=""}=e.value;if(!(n.value.editLink??s??!0)||!o)return null;const d=jl({docsRepo:o,docsBranch:i,docsDir:l,editLinkPattern:c,filePathRelative:t.value.filePathRelative});return d?{text:e.value.metaLocales.editLink,link:d}:null})},Wl=()=>{const e=Je(),t=P(),n=I(),a=C();return h(()=>{var o,i;return!(a.value.lastUpdated??t.value.lastUpdated??!0)||!((o=n.value.git)!=null&&o.updatedTime)?null:new Date((i=n.value.git)==null?void 0:i.updatedTime).toLocaleString(e.value.lang)})},Ul=()=>{const e=P(),t=I(),n=C();return h(()=>{var a;return n.value.contributors??e.value.contributors??!0?((a=t.value.git)==null?void 0:a.contributors)??null:null})};var Gl=y({name:"PageTitle",setup(){const e=I(),t=C(),n=P(),{info:a,items:o}=Ki();return()=>r("div",{class:"page-title"},[r("h1",[n.value.titleIcon===!1?null:r(W,{icon:t.value.icon}),e.value.title]),r(Il,{info:a.value,...o.value===null?{}:{items:o.value}}),r("hr")])}});const Ga=()=>r(V,{name:"edit"},()=>[r("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),r("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})]);Ga.displayName="EditIcon";var Yl=y({name:"PageMeta",setup(){const e=P(),t=ql(),n=Wl(),a=Ul();return()=>{const{metaLocales:o}=e.value;return r("footer",{class:"page-meta"},[t.value?r("div",{class:"meta-item edit-link"},r(F,{class:"label",config:t.value},{before:()=>r(Ga)})):null,r("div",{class:"meta-item git-info"},[n.value?r("div",{class:"update-time"},[r("span",{class:"label"},`${o.lastUpdated}: `),r(Ke,()=>r("span",{class:"info"},n.value))]):null,a.value&&a.value.length?r("div",{class:"contributors"},[r("span",{class:"label"},`${o.contributors}: `),a.value.map(({email:i,name:l},s)=>[r("span",{class:"contributor",title:`email: ${i}`},l),s!==a.value.length-1?",":""])]):null])])}}}),Jl=y({name:"NormalPage",setup(e,{slots:t}){const n=C(),a=I(),{isDarkmode:o}=Me(),i=P(),l=h(()=>n.value.toc||n.value.toc!==!1&&i.value.toc!==!1);return()=>r("main",{class:"page",id:"main-content"},r(ne("LocalEncrypt")?q("LocalEncrypt"):On,()=>{var s,c,d,v;return[(s=t.top)==null?void 0:s.call(t),n.value.cover?r("img",{class:"page-cover",src:n.value.cover,alt:a.value.title,"no-view":""}):null,r(Bl),r(Gl),l.value?r(zl,{headerDepth:n.value.headerDepth??i.value.headerDepth??2},{before:()=>{var p;return(p=t.tocBefore)==null?void 0:p.call(t)},after:()=>{var p;return(p=t.tocAfter)==null?void 0:p.call(t)}}):null,(c=t.contentBefore)==null?void 0:c.call(t),r(Ca),(d=t.contentAfter)==null?void 0:d.call(t),r(Yl),r(Fl),ne("CommentService")?r(q("CommentService"),{darkmode:o.value}):null,(v=t.bottom)==null?void 0:v.call(t)]}))}}),Kl=y({name:"Layout",setup(){P();const e=I(),t=C(),{isMobile:n}=Ze(),a=h(()=>"none");return()=>[r(Wa),r(Ma,{},{default:()=>t.value.home?r($l):r(Sl,()=>r(Jl,{key:e.value.path})),...a.value!=="none"?{navScreenBottom:()=>r(q("BloggerInfo"))}:{},...!n.value&&a.value==="always"?{sidebar:()=>r(q("BloggerInfo"))}:{}})]}}),Xl=y({name:"NotFoundHint",setup(){const e=P(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>r("div",{class:"not-found-hint"},[r("p",{class:"error-code"},"404"),r("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),r("p",{class:"error-hint"},t())])}}),Zl=y({name:"NotFound",setup(e,{slots:t}){const n=me(),a=P(),{navigate:o}=po({to:a.value.home??n.value});return()=>[r(Wa),r(Ma,{noSidebar:!0},()=>{var i;return r("main",{class:"page not-found",id:"main-content"},((i=t.default)==null?void 0:i.call(t))||[r(Xl),r("div",{class:"actions"},[r("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},a.value.routeLocales.back),r("button",{type:"button",class:"action-button",onClick:()=>o()},a.value.routeLocales.home)])])})]}});const Ql=J({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...a)=>(await Ua().wait(),n(...a)),Xi(e),e.component("HopeIcon",W)},setup:()=>{Zi(),nl()},layouts:{Layout:Kl,NotFound:Zl}}),es={enhance:({app:e})=>{e.component("ApiDoc",m(()=>u(()=>import("./ApiDoc-561eb16a.js"),["assets/ApiDoc-561eb16a.js","assets/framework-64cb0dab.js"]))),e.component("Card",m(()=>u(()=>import("./Card-75f75c66.js"),["assets/Card-75f75c66.js","assets/framework-64cb0dab.js"]))),e.component("CardList",m(()=>u(()=>import("./CardList-d2737492.js"),["assets/CardList-d2737492.js","assets/framework-64cb0dab.js"]))),e.component("Redirect",m(()=>u(()=>import("./Redirect-c6e67f4f.js"),["assets/Redirect-c6e67f4f.js","assets/framework-64cb0dab.js"]))),e.component("SlideList",m(()=>u(()=>import("./SlideList-d9dc1011.js"),["assets/SlideList-d9dc1011.js","assets/framework-64cb0dab.js"])))}};qr("VUEPRESS_REDIRECT_LOCALES",{});var ts=J({setup(){},rootComponents:[]});const He=[Po,Xr,oi,ii,ci,pi,_i,Li,Pi,Fi,Ql,es,ts],ns=[["v-8daa1a0e","/",{y:"h",t:""},["/index.html","/README.md"]],["v-2d0ad528","/zh/",{y:"h",t:""},["/zh/index.html","/zh/README.md"]],["v-2d0a870d","/en/",{y:"h",t:""},["/en/index.html","/en/README.md"]],["v-53f9ca7d","/zh/api/",{y:"a",t:"介绍"},["/zh/api/index.html","/zh/api/README.md"]],["v-271359be","/zh/api/api-reference.html",{y:"a",t:""},["/zh/api/api-reference","/zh/api/api-reference.md"]],["v-40000acc","/zh/develop/",{y:"a",t:""},["/zh/develop/index.html","/zh/develop/README.md"]],["v-a68194b6","/zh/develop/introduction.html",{y:"a",t:"介绍"},["/zh/develop/introduction","/zh/develop/introduction.md"]],["v-47357bdb","/zh/guide/",{y:"a",t:"介绍"},["/zh/guide/index.html","/zh/guide/README.md"]],["v-62758f72","/zh/guide/quick-start.html",{y:"a",t:"快速开始"},["/zh/guide/quick-start","/zh/guide/quick-start.md"]],["v-4e90c949","/zh/migration/",{y:"a",t:"版本升级迁移"},["/zh/migration/index.html","/zh/migration/README.md"]],["v-1833c52e","/zh/migration/v0.6.html",{y:"a",t:"从旧版本升级到 v0.6.x"},["/zh/migration/v0.6","/zh/migration/v0.6.md"]],["v-60d0415b","/zh/principle/",{y:"a",t:"介绍"},["/zh/principle/index.html","/zh/principle/README.md"]],["v-5400a44a","/zh/pro/",{y:"a",t:"介绍"},["/zh/pro/index.html","/zh/pro/README.md"]],["v-ba122056","/zh/pro/installation.html",{y:"a",t:"安装"},["/zh/pro/installation","/zh/pro/installation.md"]],["v-d91e7afc","/zh/pro/license.html",{y:"a",t:"许可证"},["/zh/pro/license","/zh/pro/license.md"]],["v-075401e2","/en/api/",{y:"a",t:"Introduction"},["/en/api/index.html","/en/api/README.md"]],["v-372661e3","/en/api/api-reference.html",{y:"a",t:""},["/en/api/api-reference","/en/api/api-reference.md"]],["v-62f5f77f","/en/develop/",{y:"a",t:""},["/en/develop/index.html","/en/develop/README.md"]],["v-437fff60","/en/develop/introduction.html",{y:"a",t:"Introduction"},["/en/develop/introduction","/en/develop/introduction.md"]],["v-e6412400","/en/guide/",{y:"a",t:"Introduction"},["/en/guide/index.html","/en/guide/README.md"]],["v-72889797","/en/guide/quick-start.html",{y:"a",t:"Quick Start"},["/en/guide/quick-start","/en/guide/quick-start.md"]],["v-2809be24","/en/migration/",{y:"a",t:"Upgrade & Migration"},["/en/migration/index.html","/en/migration/README.md"]],["v-5ad13729","/en/migration/v0.6.html",{y:"a",t:"Migrate to v0.6.x from Old Versions"},["/en/migration/v0.6","/en/migration/v0.6.md"]],["v-038ace00","/en/principle/",{y:"a",t:"Introduction"},["/en/principle/index.html","/en/principle/README.md"]],["v-075adbaf","/en/pro/",{y:"a",t:"Introduction"},["/en/pro/index.html","/en/pro/README.md"]],["v-980061e0","/en/pro/installation.html",{y:"a",t:"Installation"},["/en/pro/installation","/en/pro/installation.md"]],["v-4fe20a67","/en/pro/license.html",{y:"a",t:"License"},["/en/pro/license","/en/pro/license.md"]],["v-07b93d29","/zh/develop/plugins/",{y:"a",t:"开发插件"},["/zh/develop/plugins/index.html","/zh/develop/plugins/README.md"]],["v-07c90877","/zh/guide/basic-tutorial/",{y:"a",t:"快速教程"},["/zh/guide/basic-tutorial/index.html","/zh/guide/basic-tutorial/README.md"]],["v-763cb96a","/zh/guide/cli/",{y:"a",t:"命令行工具 (CLI)"},["/zh/guide/cli/index.html","/zh/guide/cli/README.md"]],["v-34974e3f","/zh/guide/data-sources/",{y:"a",t:"数据源"},["/zh/guide/data-sources/index.html","/zh/guide/data-sources/README.md"]],["v-51657f70","/zh/guide/deps/",{y:"a",t:"依赖管理"},["/zh/guide/deps/index.html","/zh/guide/deps/README.md"]],["v-53c4493a","/zh/guide/installation/",{y:"a",t:"安装"},["/zh/guide/installation/index.html","/zh/guide/installation/README.md"]],["v-21108f28","/zh/guide/installation/direct-deploy.html",{y:"a",t:"直接部署"},["/zh/guide/installation/direct-deploy","/zh/guide/installation/direct-deploy.md"]],["v-4afd353f","/zh/guide/installation/docker.html",{y:"a",t:"安装: Docker"},["/zh/guide/installation/docker","/zh/guide/installation/docker.md"]],["v-7b986cd9","/zh/guide/installation/kubernetes.html",{y:"a",t:"Kubernetes"},["/zh/guide/installation/kubernetes","/zh/guide/installation/kubernetes.md"]],["v-396ffba8","/zh/guide/monitoring/",{y:"a",t:"监控指标"},["/zh/guide/monitoring/index.html","/zh/guide/monitoring/README.md"]],["v-51f6c772","/zh/guide/node/",{y:"a",t:"节点"},["/zh/guide/node/index.html","/zh/guide/node/README.md"]],["v-ff9bae3c","/zh/guide/notifications/",{y:"a",t:"消息通知"},["/zh/guide/notifications/index.html","/zh/guide/notifications/README.md"]],["v-4cb72786","/zh/guide/permissions/",{y:"a",t:"权限管理"},["/zh/guide/permissions/index.html","/zh/guide/permissions/README.md"]],["v-1501ff21","/zh/guide/plugin/",{y:"a",t:"插件"},["/zh/guide/plugin/index.html","/zh/guide/plugin/README.md"]],["v-04e3ee35","/zh/guide/plugin/plugin-dependency.html",{y:"a",t:"依赖管理插件 (plugin-dependency)"},["/zh/guide/plugin/plugin-dependency","/zh/guide/plugin/plugin-dependency.md"]],["v-310566d5","/zh/guide/plugin/plugin-notification.html",{y:"a",t:"消息通知插件 (plugin-notification)"},["/zh/guide/plugin/plugin-notification","/zh/guide/plugin/plugin-notification.md"]],["v-179ff12a","/zh/guide/plugin/plugin-spider-assistant.html",{y:"a",t:"爬虫助手插件 (plugin-spider-assistant)"},["/zh/guide/plugin/plugin-spider-assistant","/zh/guide/plugin/plugin-spider-assistant.md"]],["v-82e2edde","/zh/guide/project/",{y:"a",t:"项目"},["/zh/guide/project/index.html","/zh/guide/project/README.md"]],["v-8c44e4a2","/zh/guide/spider/",{y:"a",t:"爬虫"},["/zh/guide/spider/index.html","/zh/guide/spider/README.md"]],["v-4df5f86a","/zh/guide/spider/file-editor.html",{y:"a",t:"文件编辑"},["/zh/guide/spider/file-editor","/zh/guide/spider/file-editor.md"]],["v-15539f34","/zh/guide/spider/integration.html",{y:"a",t:"爬虫集成"},["/zh/guide/spider/integration","/zh/guide/spider/integration.md"]],["v-3f046afd","/zh/guide/schedule/",{y:"a",t:"定时任务"},["/zh/guide/schedule/index.html","/zh/guide/schedule/README.md"]],["v-11bb1e1e","/zh/guide/token/",{y:"a",t:""},["/zh/guide/token/index.html","/zh/guide/token/README.md"]],["v-5245304f","/zh/guide/task/",{y:"a",t:"任务"},["/zh/guide/task/index.html","/zh/guide/task/README.md"]],["v-525b42c9","/zh/guide/user/",{y:"a",t:"用户"},["/zh/guide/user/index.html","/zh/guide/user/README.md"]],["v-38beca7b","/zh/principle/core-modules/",{y:"a",t:"核心模块"},["/zh/principle/core-modules/index.html","/zh/principle/core-modules/README.md"]],["v-210599ce","/zh/principle/database/",{y:"a",t:"数据库"},["/zh/principle/database/index.html","/zh/principle/database/README.md"]],["v-57036580","/zh/principle/database/mongodb.html",{y:"a",t:"MongoDB"},["/zh/principle/database/mongodb","/zh/principle/database/mongodb.md"]],["v-1ab8cbc1","/zh/principle/architecture/",{y:"a",t:"架构"},["/zh/principle/architecture/index.html","/zh/principle/architecture/README.md"]],["v-7ab8e2a9","/zh/principle/filesystem/",{y:"a",t:"文件系统"},["/zh/principle/filesystem/index.html","/zh/principle/filesystem/README.md"]],["v-5df18ad9","/zh/principle/filesystem/seaweedfs.html",{y:"a",t:"SeaweedFS"},["/zh/principle/filesystem/seaweedfs","/zh/principle/filesystem/seaweedfs.md"]],["v-0ca94962","/zh/principle/frontend/",{y:"a",t:"Frontend"},["/zh/principle/frontend/index.html","/zh/principle/frontend/README.md"]],["v-77aaf5e4","/en/develop/plugins/",{y:"a",t:"Develop Plugins"},["/en/develop/plugins/index.html","/en/develop/plugins/README.md"]],["v-18d1e7b2","/en/guide/basic-tutorial/",{y:"a",t:"Quick Tutorial"},["/en/guide/basic-tutorial/index.html","/en/guide/basic-tutorial/README.md"]],["v-2dbb71f2","/zh/principle/node/",{y:"a",t:"节点"},["/zh/principle/node/index.html","/zh/principle/node/README.md"]],["v-d5216744","/zh/principle/node/master-node.html",{y:"a",t:"主节点"},["/zh/principle/node/master-node","/zh/principle/node/master-node.md"]],["v-29685b88","/zh/principle/node/node-communication.html",{y:"a",t:"节点通信"},["/zh/principle/node/node-communication","/zh/principle/node/node-communication.md"]],["v-0aa8c27a","/zh/principle/node/worker-node.html",{y:"a",t:"工作节点"},["/zh/principle/node/worker-node","/zh/principle/node/worker-node.md"]],["v-13a7110f","/en/guide/cli/",{y:"a",t:"CLI"},["/en/guide/cli/index.html","/en/guide/cli/README.md"]],["v-7734c03a","/en/guide/data-sources/",{y:"a",t:"Data Sources"},["/en/guide/data-sources/index.html","/en/guide/data-sources/README.md"]],["v-96009232","/en/guide/monitoring/",{y:"a",t:"Monitoring"},["/en/guide/monitoring/index.html","/en/guide/monitoring/README.md"]],["v-61461c6b","/en/guide/deps/",{y:"a",t:"Dependencies Management"},["/en/guide/deps/index.html","/en/guide/deps/README.md"]],["v-d33c8996","/en/guide/installation/",{y:"a",t:"Installation"},["/en/guide/installation/index.html","/en/guide/installation/README.md"]],["v-9cbccf3a","/en/guide/installation/direct-deploy.html",{y:"a",t:"Direct Deploy"},["/en/guide/installation/direct-deploy","/en/guide/installation/direct-deploy.md"]],["v-296c4864","/en/guide/installation/docker.html",{y:"a",t:"Installation: Docker"},["/en/guide/installation/docker","/en/guide/installation/docker.md"]],["v-cf613504","/en/guide/installation/kubernetes.html",{y:"a",t:"Kubernetes"},["/en/guide/installation/kubernetes","/en/guide/installation/kubernetes.md"]],["v-61d7646d","/en/guide/node/",{y:"a",t:"Node"},["/en/guide/node/index.html","/en/guide/node/README.md"]],["v-6a0a8636","/en/guide/project/",{y:"a",t:"Project"},["/en/guide/project/index.html","/en/guide/project/README.md"]],["v-dd7a1372","/en/guide/notifications/",{y:"a",t:"Notifications"},["/en/guide/notifications/index.html","/en/guide/notifications/README.md"]],["v-9c13ebaa","/en/guide/permissions/",{y:"a",t:"Permissions Management"},["/en/guide/permissions/index.html","/en/guide/permissions/README.md"]],["v-a1a16d48","/en/guide/plugin/",{y:"a",t:"Plugin"},["/en/guide/plugin/index.html","/en/guide/plugin/README.md"]],["v-7f0c0a30","/en/guide/plugin/plugin-dependency.html",{y:"a",t:"plugin-dependency"},["/en/guide/plugin/plugin-dependency","/en/guide/plugin/plugin-dependency.md"]],["v-7cd31fe0","/en/guide/plugin/plugin-notification.html",{y:"a",t:"plugin-notification"},["/en/guide/plugin/plugin-notification","/en/guide/plugin/plugin-notification.md"]],["v-79c3e4e5","/en/guide/plugin/plugin-spider-assistant.html",{y:"a",t:"plugin-spider-assistant"},["/en/guide/plugin/plugin-spider-assistant","/en/guide/plugin/plugin-spider-assistant.md"]],["v-03081278","/en/guide/schedule/",{y:"a",t:"Schedule"},["/en/guide/schedule/index.html","/en/guide/schedule/README.md"]],["v-39551954","/en/guide/token/",{y:"a",t:""},["/en/guide/token/index.html","/en/guide/token/README.md"]],["v-6225cd4a","/en/guide/task/",{y:"a",t:"Task"},["/en/guide/task/index.html","/en/guide/task/README.md"]],["v-623bdfc4","/en/guide/user/",{y:"a",t:"User"},["/en/guide/user/index.html","/en/guide/user/README.md"]],["v-540ad7ea","/en/guide/spider/",{y:"a",t:"Spider"},["/en/guide/spider/index.html","/en/guide/spider/README.md"]],["v-c11526b6","/en/guide/spider/file-editor.html",{y:"a",t:"File Editor"},["/en/guide/spider/file-editor","/en/guide/spider/file-editor.md"]],["v-66d3136f","/en/guide/spider/integration.html",{y:"a",t:"Spider Integration"},["/en/guide/spider/integration","/en/guide/spider/integration.md"]],["v-321aa514","/en/principle/database/",{y:"a",t:"Database"},["/en/principle/database/index.html","/en/principle/database/README.md"]],["v-781cc28a","/en/principle/database/mongodb.html",{y:"a",t:"MongoDB"},["/en/principle/database/mongodb","/en/principle/database/mongodb.md"]],["v-e87c7c38","/en/principle/filesystem/",{y:"a",t:"File System"},["/en/principle/filesystem/index.html","/en/principle/filesystem/README.md"]],["v-4fccb258","/en/principle/filesystem/seaweedfs.html",{y:"a",t:"SeaweedFS"},["/en/principle/filesystem/seaweedfs","/en/principle/filesystem/seaweedfs.md"]],["v-0d06c83c","/en/principle/architecture/",{y:"a",t:"Architecture"},["/en/principle/architecture/index.html","/en/principle/architecture/README.md"]],["v-2b0cc6f6","/en/principle/core-modules/",{y:"a",t:"Core Modules"},["/en/principle/core-modules/index.html","/en/principle/core-modules/README.md"]],["v-4f46bb5d","/en/principle/frontend/",{y:"a",t:"Frontend"},["/en/principle/frontend/index.html","/en/principle/frontend/README.md"]],["v-1c81cd26","/en/principle/node/",{y:"a",t:"Node"},["/en/principle/node/index.html","/en/principle/node/README.md"]],["v-f63ac44e","/en/principle/node/master-node.html",{y:"a",t:"Master Node"},["/en/principle/node/master-node","/en/principle/node/master-node.md"]],["v-6cdbf061","/en/principle/node/node-communication.html",{y:"a",t:"Node Communication"},["/en/principle/node/node-communication","/en/principle/node/node-communication.md"]],["v-0bc7d816","/en/principle/node/worker-node.html",{y:"a",t:"Worker Node"},["/en/principle/node/worker-node","/en/principle/node/worker-node.md"]],["v-05f9905d","/zh/principle/core-modules/schedule/",{y:"a",t:"Schedule"},["/zh/principle/core-modules/schedule/index.html","/zh/principle/core-modules/schedule/README.md"]],["v-349c8b0f","/zh/principle/core-modules/spider/",{y:"a",t:"Spider"},["/zh/principle/core-modules/spider/index.html","/zh/principle/core-modules/spider/README.md"]],["v-196405af","/zh/principle/core-modules/task/",{y:"a",t:"Task"},["/zh/principle/core-modules/task/index.html","/zh/principle/core-modules/task/README.md"]],["v-04f06e42","/en/principle/core-modules/schedule/",{y:"a",t:"Schedule"},["/en/principle/core-modules/schedule/index.html","/en/principle/core-modules/schedule/README.md"]],["v-130b9e34","/en/principle/core-modules/spider/",{y:"a",t:"Spider"},["/en/principle/core-modules/spider/index.html","/en/principle/core-modules/spider/README.md"]],["v-66579e14","/en/principle/core-modules/task/",{y:"a",t:"Task"},["/en/principle/core-modules/task/index.html","/en/principle/core-modules/task/README.md"]],["v-3706649a","/404.html",{y:"p",t:""},["/404"]]];var cn=y({name:"Vuepress",setup(){const e=Do();return()=>r(e.value)}}),as=()=>ns.reduce((e,[t,n,a,o])=>(e.push({name:t,path:n,component:cn,meta:a},...o.map(i=>({path:i,redirect:n}))),e),[{name:"404",path:"/:catchAll(.*)",component:cn}]),os=go,rs=()=>{const e=mo({history:os(Et("/")),routes:as(),scrollBehavior:(t,n,a)=>a||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{var a;(t.path!==n.path||n===ho)&&([le.value]=await Promise.all([ee.resolvePageData(t.name),(a=mn[t.name])==null?void 0:a.__asyncLoader()]))}),e},is=e=>{e.component("ClientOnly",Ke),e.component("Content",An)},ls=(e,t,n)=>{const a=L(t.currentRoute.value.path);O(()=>t.currentRoute.value.path,f=>a.value=f);const o=h(()=>ee.resolveLayouts(n)),i=h(()=>ee.resolveRouteLocale(Ee.value.locales,a.value)),l=h(()=>ee.resolveSiteLocaleData(Ee.value,i.value)),s=h(()=>ee.resolvePageFrontmatter(le.value)),c=h(()=>ee.resolvePageHeadTitle(le.value,l.value)),d=h(()=>ee.resolvePageHead(c.value,s.value,l.value)),v=h(()=>ee.resolvePageLang(le.value)),p=h(()=>ee.resolvePageLayout(le.value,o.value));return e.provide(Ao,o),e.provide(fn,s),e.provide(ko,c),e.provide(gn,d),e.provide(_n,v),e.provide(bn,p),e.provide(bt,i),e.provide(wn,l),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>s.value},$head:{get:()=>d.value},$headTitle:{get:()=>c.value},$lang:{get:()=>v.value},$page:{get:()=>le.value},$routeLocale:{get:()=>i.value},$site:{get:()=>Ee.value},$siteLocale:{get:()=>l.value},$withBase:{get:()=>Ae}}),{layouts:o,pageData:le,pageFrontmatter:s,pageHead:d,pageHeadTitle:c,pageLang:v,pageLayout:p,routeLocale:i,siteData:Ee,siteLocaleData:l}},ss=()=>{const e=Lo(),t=En(),n=L([]),a=()=>{e.value.forEach(i=>{const l=cs(i);l&&n.value.push(l)})},o=()=>{document.documentElement.lang=t.value,n.value.forEach(i=>{i.parentNode===document.head&&document.head.removeChild(i)}),n.value.splice(0,n.value.length),e.value.forEach(i=>{const l=us(i);l!==null&&(document.head.appendChild(l),n.value.push(l))})};dn(Ro,o),M(()=>{a(),o(),O(()=>e.value,()=>o())})},cs=([e,t,n=""])=>{const a=Object.entries(t).map(([s,c])=>j(c)?`[${s}=${JSON.stringify(c)}]`:c===!0?`[${s}]`:"").join(""),o=`head > ${e}${a}`;return Array.from(document.querySelectorAll(o)).find(s=>s.innerText===n)||null},us=([e,t,n])=>{if(!j(e))return null;const a=document.createElement(e);return _t(t)&&Object.entries(t).forEach(([o,i])=>{j(i)?a.setAttribute(o,i):i===!0&&a.setAttribute(o,"")}),j(n)&&a.appendChild(document.createTextNode(n)),a},ds=fo,vs=async()=>{var n;const e=ds({name:"VuepressApp",setup(){var a;ss();for(const o of He)(a=o.setup)==null||a.call(o);return()=>[r(_o),...He.flatMap(({rootComponents:o=[]})=>o.map(i=>r(i)))]}}),t=rs();is(e),ls(e,t,He);for(const a of He)await((n=a.enhance)==null?void 0:n.call(a,{app:e,router:t,siteData:Ee}));return e.use(t),{app:e,router:t}};vs().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{u as _,vs as createVueApp}; + */const k={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},status:null,set:e=>{const t=k.isStarted();e=rt(e,k.settings.minimum,1),k.status=e===1?null:e;const n=k.render(!t),a=n.querySelector(k.settings.barSelector),o=k.settings.speed,i=k.settings.easing;return n.offsetWidth,ui(l=>{Be(a,{transform:"translate3d("+tn(e)+"%,0,0)",transition:"all "+o+"ms "+i}),e===1?(Be(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Be(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){k.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),k},isStarted:()=>typeof k.status=="number",start:()=>{k.status||k.set(0);const e=()=>{setTimeout(()=>{k.status&&(k.trickle(),e())},k.settings.trickleSpeed)};return k.settings.trickle&&e(),k},done:e=>!e&&!k.status?k:k.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=k.status;return t?(typeof e!="number"&&(e=(1-t)*rt(Math.random()*t,.1,.95)),t=rt(t+e,0,.994),k.set(t)):k.start()},trickle:()=>k.inc(Math.random()*k.settings.trickleRate),render:e=>{if(k.isRendered())return document.getElementById("nprogress");nn(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=k.settings.template;const n=t.querySelector(k.settings.barSelector),a=e?"-100":tn(k.status||0),o=document.querySelector(k.settings.parent);return Be(n,{transition:"all 0 linear",transform:"translate3d("+a+"%,0,0)"}),o!==document.body&&nn(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{an(document.documentElement,"nprogress-busy"),an(document.querySelector(k.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&di(e)},isRendered:()=>!!document.getElementById("nprogress")},rt=(e,t,n)=>en?n:e,tn=e=>(-1+e)*100,ui=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Be=function(){const e=["Webkit","O","Moz","ms"],t={};function n(l){return l.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(s,c){return c.toUpperCase()})}function a(l){const s=document.body.style;if(l in s)return l;let c=e.length;const d=l.charAt(0).toUpperCase()+l.slice(1);let v;for(;c--;)if(v=e[c]+d,v in s)return v;return l}function o(l){return l=n(l),t[l]||(t[l]=a(l))}function i(l,s,c){s=o(s),l.style[s]=c}return function(l,s){for(const c in s){const d=s[c];d!==void 0&&Object.prototype.hasOwnProperty.call(s,c)&&i(l,c,d)}}}(),ia=(e,t)=>(typeof e=="string"?e:kt(e)).indexOf(" "+t+" ")>=0,nn=(e,t)=>{const n=kt(e),a=n+t;ia(n,t)||(e.className=a.substring(1))},an=(e,t)=>{const n=kt(e);if(!ia(e,t))return;const a=n.replace(" "+t+" "," ");e.className=a.substring(1,a.length-1)},kt=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),di=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)};const vi=()=>{M(()=>{const e=oe(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||k.start()}),e.afterEach(n=>{t.add(n.path),k.done()})})},pi=J({setup(){vi()}}),mi=JSON.parse(`{"encrypt":{},"author":{"name":"Marvin Zhang"},"logo":"/logo-main.svg","repo":"crawlab-team/crawlab-docs","docsDir":"docs","footer":"
\\n 渝ICP备2021011872号-1\\n \\n 渝公网安备 50011202503421号\\n \\n
\\n","copyright":"2019-2023 © Crawlab.cn All rights reserved","pageInfo":["Category","Tag"],"displayFooter":true,"darkmode":"toggle","locales":{"/en/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"},"navbar":[{"text":"Guide","icon":"creative","link":"/en/guide/"},{"text":"Principle","icon":"software","link":"/en/principle/"},{"text":"API","icon":"api","link":"/en/api/"},{"text":"Pro Edition","icon":"ability","link":"/en/pro/"},{"text":"Migration","icon":"navigation","link":"/en/migration/"},{"text":"Demo","icon":"slides","link":"https://demo-pro.crawlab.cn"},{"text":"Older Versions","icon":"tag","children":[{"text":"v0.5.x","link":"https://docs-v05.crawlab.cn"}]}],"sidebar":[{"text":"Guide","icon":"creative","prefix":"/en/guide/","collapsible":true,"children":[{"text":"Introduction","icon":"info","link":"README.md"},{"text":"Quick Start","icon":"light","link":"quick-start"},{"text":"Installation","icon":"operate","prefix":"installation/","collapsible":true,"children":[{"text":"Overview","icon":"info","link":"README.md"},{"text":"Docker","icon":"app","link":"docker"}]},{"text":"Basic Tutorial","icon":"flow","link":"basic-tutorial/"},{"text":"Node","icon":"map","link":"node/"},{"text":"Project","icon":"ability","link":"project/"},{"text":"Spider","prefix":"spider/","icon":"debug","collapsible":true,"children":[{"text":"Overview","icon":"info","link":"README.md"},{"text":"File Editor","icon":"template","link":"file-editor"},{"text":"Integration","icon":"class","link":"integration"}]},{"text":"Schedule","icon":"time","link":"schedule/"},{"text":"Task","icon":"list","link":"task"},{"text":"User","icon":"people","link":"user/"},{"text":"Dependencies","icon":"stack","link":"deps/"},{"text":"Notifications","icon":"notice","link":"notifications/"},{"text":"Data Sources","icon":"mysql","link":"data-sources/"},{"text":"Monitoring","icon":"process","link":"monitoring/"},{"text":"Permissions","icon":"group","link":"permissions/"},{"text":"CLI","icon":"shell","link":"cli/"}]},{"text":"Principle","icon":"software","prefix":"/en/principle/","collapsible":true,"children":[{"text":"Introduction","icon":"info","link":"README.md"},{"text":"Architecture","icon":"back-stage","link":"architecture/"},{"text":"Node","prefix":"node","icon":"map","collapsible":true,"children":[{"text":"Overview","icon":"info","link":"README.md"},{"text":"Master Node","icon":"remote","link":"master-node"},{"text":"Worker Node","icon":"tree","link":"worker-node"},{"text":"Node Communication","icon":"asynchronous","link":"node-communication"}]},{"text":"Database","icon":"storage","prefix":"database/","collapsible":true,"children":[{"text":"Overview","icon":"info","link":"README.md"},{"text":"MongoDB","icon":"object","link":"mongodb"}]},{"text":"File System","prefix":"filesystem/","icon":"workingDirectory","collapsible":true,"children":[{"text":"Overview","icon":"info","link":"README.md"},{"text":"SeaweedFS","icon":"file","link":"seaweedfs"}]}]},{"text":"API Doc","icon":"api","prefix":"/en/api/","collapsible":true,"children":[{"text":"Introduction","icon":"info","link":"README.md"},{"text":"API Reference","icon":"structure","link":"api-reference"}]},{"text":"Pro Edition","icon":"ability","prefix":"/en/pro/","collapsible":true,"children":[{"text":"Introduction","icon":"info","link":"README.md"},{"text":"Installation","icon":"install","link":"installation"},{"text":"License","icon":"license","link":"license"}]},{"text":"Migration","icon":"navigation","prefix":"/en/migration/","collapsible":true,"children":[{"text":"Introduction","icon":"info","link":"README.md"},{"text":"Migrate to v0.6","icon":"line","link":"v0.6"}]}]},"/zh/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"编辑此页","print":"打印"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"encryptLocales":{"iconLabel":"文章已加密","placeholder":"输入密码","remember":"记住密码","errorHint":"请输入正确的密码"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":[{"text":"指南","icon":"creative","link":"/zh/guide/"},{"text":"原理","icon":"software","link":"/zh/principle/"},{"text":"API","icon":"api","link":"/zh/api/"},{"text":"专业版","icon":"ability","link":"/zh/pro/"},{"text":"旧版本迁移","icon":"navigation","link":"/zh/migration/"},{"text":"演示","icon":"slides","link":"https://demo-pro.crawlab.cn"},{"text":"历史版本","icon":"tag","children":[{"text":"v0.5.x","link":"https://docs-v05.crawlab.cn"}]}],"sidebar":[{"text":"指南","icon":"creative","prefix":"/zh/guide/","collapsible":true,"children":[{"text":"介绍","icon":"info","link":"README.md"},{"text":"快速开始","icon":"light","link":"quick-start"},{"text":"安装","icon":"operate","prefix":"installation/","collapsible":true,"children":[{"text":"概览","icon":"info","link":"README.md"},{"text":"Docker","icon":"app","link":"docker"}]},{"text":"基础教程","icon":"flow","link":"basic-tutorial/"},{"text":"节点","icon":"map","link":"node/"},{"text":"项目","icon":"ability","link":"project/"},{"text":"爬虫","icon":"debug","prefix":"spider/","collapsible":true,"children":[{"text":"概览","icon":"info","link":"README.md"},{"text":"文件编辑","icon":"template","link":"file-editor"},{"text":"爬虫集成","icon":"class","link":"integration"}]},{"text":"定时任务","icon":"time","link":"schedule/"},{"text":"任务","icon":"list","link":"task/"},{"text":"用户","icon":"people","link":"user/"},{"text":"依赖管理","icon":"stack","link":"deps/"},{"text":"消息通知","icon":"notice","link":"notifications/"},{"text":"数据源","icon":"mysql","link":"data-sources/"},{"text":"监控指标","icon":"process","link":"monitoring/"},{"text":"权限管理","icon":"group","link":"permissions/"},{"text":"CLI","icon":"shell","link":"cli/"}]},{"text":"原理","icon":"software","prefix":"/zh/principle/","collapsible":true,"children":[{"text":"介绍","icon":"info","link":"README.md"},{"text":"架构","icon":"back-stage","link":"architecture/"},{"text":"节点","prefix":"node/","collapsible":true,"children":[{"text":"概览","icon":"info","link":"README.md"},{"text":"主节点","icon":"remote","link":"master-node"},{"text":"工作节点","icon":"tree","link":"worker-node"},{"text":"节点通信","icon":"asynchronous","link":"node-communication"}]},{"text":"数据库","icon":"storage","prefix":"database/","collapsible":true,"children":[{"text":"概览","icon":"info","link":"README.md"},{"text":"MongoDB","icon":"object","link":"mongodb"}]},{"text":"文件系统","prefix":"filesystem/","icon":"workingDirectory","collapsible":true,"children":[{"text":"概览","icon":"info","link":"README.md"},{"text":"SeaweedFS","icon":"file","link":"seaweedfs"}]}]},{"text":"API 文档","icon":"api","prefix":"/zh/api/","collapsible":true,"children":[{"text":"介绍","icon":"info","link":"README.md"},{"text":"API 参考文档","icon":"structure","link":"api-reference"}]},{"text":"专业版","icon":"ability","prefix":"/zh/pro/","collapsible":true,"children":[{"text":"介绍","icon":"info","link":"README.md"},{"text":"安装","icon":"install","link":"installation"},{"text":"许可证","icon":"license","link":"license"}]},{"text":"旧版本迁移","icon":"navigation","prefix":"/zh/migration/","collapsible":true,"children":[{"text":"介绍","icon":"info","link":"README.md"},{"text":"迁移至 v0.6","icon":"line","link":"v0.6"}]}]},"/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"}}}}`),hi=L(mi),la=()=>hi,sa=Symbol(""),fi=()=>{const e=Y(sa);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},gi=(e,t)=>{var n;return{...e,...(n=e.locales)==null?void 0:n[t]}},_i=J({enhance({app:e}){const t=la(),n=e._context.provides[bt],a=h(()=>gi(t.value,n.value));e.provide(sa,a),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return a.value}}})}});const Ei=800,bi=2e3,yi={"/en/":{copy:"Copy code",copied:"Copied",hint:"Copied successfully"},"/zh/":{copy:"复制代码",copied:"已复制",hint:"复制成功"},"/":{copy:"Copy code",copied:"Copied",hint:"Copied successfully"}},wi=!1,Ai=['.theme-hope-content div[class*="language-"] pre'],on=!1,it=new Map,Ti=()=>{const{copy:e}=Tr({legacy:!0}),t=ze(yi),n=I(),a=Qo(),o=s=>{if(!s.hasAttribute("copy-code-registered")){const c=document.createElement("button");c.type="button",c.classList.add("copy-code-button"),c.innerHTML='
',c.setAttribute("aria-label",t.value.copy),c.setAttribute("data-copied",t.value.copied),s.parentElement&&s.parentElement.insertBefore(c,s),s.setAttribute("copy-code-registered","")}},i=()=>Ge().then(()=>new Promise(s=>{setTimeout(()=>{Ai.forEach(c=>{document.querySelectorAll(c).forEach(o)}),s()},Ei)})),l=(s,c,d)=>{let{innerText:v=""}=c;/language-(shellscript|shell|bash|sh|zsh)/.test(s.classList.toString())&&(v=v.replace(/^ *(\$|>) /gm,"")),e(v).then(()=>{d.classList.add("copied"),clearTimeout(it.get(d));const p=setTimeout(()=>{d.classList.remove("copied"),d.blur(),it.delete(d)},bi);it.set(d,p)})};M(()=>{(!a.value||on)&&i(),H("click",s=>{const c=s.target;if(c.matches('div[class*="language-"] > button.copy')){const d=c.parentElement,v=c.nextElementSibling;v&&l(d,v,c)}else if(c.matches('div[class*="language-"] div.copy-icon')){const d=c.parentElement,v=d.parentElement,p=d.nextElementSibling;p&&l(v,p,d)}}),O(()=>n.value.path,()=>{(!a.value||on)&&i()})})};var Li=J({setup:()=>{Ti()}});let ki={};const ca=Symbol(""),Di=()=>Y(ca),Ri=e=>{e.provide(ca,ki)},_e={useMaxWidth:!1},xi=e=>({dark:e,background:e?"#1e1e1e":"#fff",primaryColor:e?"#389d70":"#4abf8a",primaryBorderColor:e?"#389d70":"#4abf8a",primaryTextColor:"#fff",secondaryColor:"#ffb500",secondaryBorderColor:e?"#fff":"#000",secondaryTextColor:e?"#ddd":"#333",tertiaryColor:e?"#282828":"#efeef4",tertiaryBorderColor:e?"#bbb":"#242424",tertiaryTextColor:e?"#ddd":"#333",noteBkgColor:e?"#f6d365":"#fff5ad",noteTextColor:"#242424",noteBorderColor:e?"#f6d365":"#333",lineColor:e?"#d3d3d3":"#333",textColor:e?"#fff":"#242424",mainBkg:e?"#389d70":"#4abf8a",errorBkgColor:"#eb4d5d",errorTextColor:"#fff",nodeBorder:e?"#389d70":"#4abf8a",nodeTextColor:e?"#fff":"#242424",signalTextColor:e?"#9e9e9e":"#242424",classText:"#fff",labelColor:"#fff",fillType0:e?"#cf1322":"#f1636e",fillType1:"#f39c12",fillType2:"#2ecc71",fillType3:"#fa541c",fillType4:"#25a55b",fillType5:"#13c2c2",fillType6:"#096dd9",fillType7:"#aa6fe9"});var Ii=y({name:"Mermaid",props:{id:{type:String,required:!0},code:{type:String,required:!0}},setup(e){const t=Di(),n=se(),a=h(()=>or(e.code)),o=L(""),i=L(!1),l=async()=>{const[{default:d}]=await Promise.all([u(()=>import("./mermaid.core-5f04c634.js").then(v=>v.aH),["assets/mermaid.core-5f04c634.js","assets/commonjsHelpers-725317a4.js"]),new Promise(v=>setTimeout(v,800))]);d.initialize({theme:"base",themeVariables:xi(i.value),flowchart:_e,sequence:_e,journey:_e,gantt:_e,er:_e,pie:_e,...t,startOnLoad:!1}),o.value=(await d.render(e.id,a.value)).svg,console.log(o.value)},s=()=>{const{body:d}=document,v=document.createElement("div");v.classList.add("mermaid-preview"),v.innerHTML=o.value,console.log(v),d.appendChild(v),v.addEventListener("click",()=>{console.log("remove"),d.removeChild(v)})},c=()=>{const d=`data:image/svg+xml;charset=utf8,${o.value.replace(/%/g,"%25").replace(/"/g,"%22").replace(/'/g,"%27").replace(/&/g,"%26").replace(/#/g,"%23").replace(/{/g,"%7B").replace(/}/g,"%7D").replace(//g,"%3E")}`,v=document.createElement("a");v.setAttribute("href",d),v.setAttribute("download",`${e.id}.svg`),v.click()};return M(()=>{const d=document.documentElement,v=()=>d.classList.contains("dark")||d.getAttribute("data-theme")==="dark";i.value=v(),l(),Cr(d,()=>{i.value=v()},{attributeFilter:["class","data-theme"],attributes:!0}),O(i,()=>l())}),()=>[r("div",{class:"mermaid-actions"},[r("button",{class:"preview-button",onClick:()=>s(),title:"preview",innerHTML:''}),r("button",{class:"download-button",onClick:()=>c(),title:"download",innerHTML:''})]),r("div",{ref:n,class:"mermaid-wrapper"},o.value?r("div",{class:"mermaid-content",innerHTML:o.value}):r(Pn,{class:"mermaid-loading",height:96}))]}});const Pi=J({enhance:({app:e})=>{Ri(e),e.component("Mermaid",Ii)}});let Oi={};const ua=Symbol(""),zi=()=>Y(ua),Vi=e=>{e.provide(ua,Oi)};const Si=".theme-hope-content :not(a) > img:not([no-view])",Mi={"/en/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"},"/zh/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"},"/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"}},Ci=800,$i='
',Ni=e=>j(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),da=e=>new Promise((t,n)=>{e.complete?t({type:"image",element:e,src:e.src,width:e.naturalWidth,height:e.naturalHeight,alt:e.alt,msrc:e.src}):(e.onload=()=>t(da(e)),e.onerror=a=>n(a))}),Bi=()=>{const{isSupported:e,toggle:t}=Lt(),n=zi(),a=ze(Mi),o=I();let i;const l=c=>{c.on("uiRegister",()=>{e&&c.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'',onClick:()=>{t()}}),c.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'',outlineID:"pswp__icn-download"},onInit:(d,v)=>{d.setAttribute("download",""),d.setAttribute("target","_blank"),d.setAttribute("rel","noopener"),v.on("change",()=>{d.setAttribute("href",v.currSlide.data.src)})}}),c.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(d,v)=>{const p=[];let f=-1;for(let g=0;g{v.goTo(p.indexOf(w.target))},p.push(b),d.appendChild(b)}v.on("change",()=>{f>=0&&p[f].classList.remove("active"),p[v.currIndex].classList.add("active"),f=v.currIndex})}})})},s=()=>Promise.all([u(()=>import("./photoswipe.esm-36cd6c3c.js"),[]),Ge().then(()=>new Promise(c=>setTimeout(c,Ci)).then(()=>Ni(Si)))]).then(([{default:c},d])=>{const v=d.map(p=>({html:$i,element:p,msrc:p.src}));d.forEach((p,f)=>{const g=()=>{i=new c({preloaderDelay:0,showHideAnimationType:"zoom",...a.value,...n,dataSource:v,index:f,closeOnVerticalDrag:!0,wheelToZoom:!1}),l(i),i.addFilter("thumbEl",()=>p),i.addFilter("placeholderSrc",()=>p.src),i.init()};p.style.cursor="zoom-in",p.addEventListener("click",()=>{g()}),p.addEventListener("keypress",({key:b})=>{b==="Enter"&&g()})}),d.forEach((p,f)=>{da(p).then(g=>{v.splice(f,1,g),i==null||i.refreshSlideContent(f)})})});M(()=>{H("wheel",()=>{i==null||i.close()}),s(),O(()=>o.value.path,()=>s())})};var Fi=J({enhance:({app:e})=>{Vi(e)},setup:()=>{Bi()}});const va=()=>{const e=I();return h(()=>e.value.readingTime??null)},dt=typeof{"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/zh/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"},"/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"}}>"u"?null:{"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/zh/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"},"/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"}},Hi=(e,t)=>{const{minutes:n,words:a}=e,{less1Minute:o,word:i,time:l}=t;return{time:n<1?o:l.replace("$time",Math.round(n).toString()),words:i.replace("$word",a.toString())}},rn={words:"",time:""},ji=()=>dt?ze(dt):h(()=>null),qi=()=>{if(typeof dt>"u")return h(()=>rn);const e=va(),t=ji();return h(()=>e.value&&t.value?Hi(e.value,t.value):rn)},ue=()=>la(),P=()=>fi(),Xe=()=>h(()=>!!ue().value.pure);var ln=y({name:"EmptyComponent",setup:()=>()=>null});const Dt={"/":[""]},pa=e=>{const{icon:t="",color:n,size:a}=e,o={};return n&&(o.color=n),a&&(o.height=Number.isNaN(Number(a))?a:`${a}px`),Ie(t)?r("img",{class:"icon",src:t,"no-view":"",style:o}):wt(t)?r("img",{class:"icon",src:Ae(t),"no-view":"",style:o}):r(q("FontIcon"),e)};pa.displayName="HopeIcon";var W=pa,te=(e=>(e.type="y",e.title="t",e.shortTitle="s",e.icon="i",e.author="a",e.date="d",e.localizedDate="l",e.category="c",e.tag="g",e.isEncrypted="n",e.isOriginal="o",e.readingTime="r",e.excerpt="e",e.sticky="u",e.cover="v",e.index="I",e.order="O",e))(te||{}),Wi=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(Wi||{});const ye=(e,t=!1)=>{const n=oe(),{fullPath:a,meta:o,name:i}=Tt(n,encodeURI(e));return{text:!t&&o[te.shortTitle]?o[te.shortTitle]:o[te.title]||e,link:i==="404"?e:a,...o[te.icon]?{icon:o[te.icon]}:{}}},Ui=()=>{const e=oe(),t=Z();return n=>{if(n)if(wt(n))t.path!==n&&e.push(n);else if(Ie(n)||pn(n))window&&window.open(n);else{const a=t.path.slice(0,t.path.lastIndexOf("/"));e.push(`${a}/${encodeURI(n)}`)}}},ma=()=>{const e=P(),t=C();return h(()=>{const{author:n}=t.value;return n?Ft(n):n===!1?[]:Ft(e.value.author,!1)})},Gi=()=>{const e=C();return h(()=>tr(e.value.category).map(t=>({name:t,path:""})))},Yi=()=>{const e=C();return h(()=>nr(e.value.tag).map(t=>({name:t,path:""})))},Ji=()=>{const e=C(),t=I();return h(()=>{const n=er(e.value.date);if(n)return n;const{createdTime:a}=t.value.git||{};return a?new Date(a):null})},Ki=()=>{const e=P(),t=I(),n=C(),a=ma(),o=Gi(),i=Yi(),l=Ji(),s=va(),c=qi(),d=h(()=>({author:a.value,category:o.value,date:l.value,localizedDate:t.value.localizedDate,tag:i.value,isOriginal:n.value.isOriginal||!1,readingTime:s.value,readingTimeLocale:c.value,pageview:"pageview"in n.value?n.value.pageview:!0})),v=h(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:d,items:v}},Ze=()=>{const e=ue(),t=L(!1),n=L(!1),a=()=>{t.value=window.innerWidth<=(e.value.mobileBreakPoint||719),n.value=window.innerWidth>=(e.value.pcBreakPoint||1440)};return M(()=>{a(),H("resize",a,!1),H("orientationchange",a,!1)}),{isMobile:t,isPC:n}},ha=Symbol(""),Me=()=>{const e=Y(ha);if(!e)throw new Error("useDarkmode() is called without provider.");return e},Xi=e=>{const t=ue(),n=zr(),a=ea("vuepress-theme-hope-scheme","auto"),o=h(()=>t.value.darkmode||"switch"),i=h(()=>{const s=o.value;return s==="disable"?!1:s==="enable"?!0:s==="auto"?n.value:s==="toggle"?a.value==="dark":a.value==="dark"||a.value==="auto"&&n.value}),l=h(()=>{const s=o.value;return s==="switch"||s==="toggle"});e.provide(ha,{canToggle:l,config:o,isDarkmode:i,status:a}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>i.value}})},Zi=()=>{const{isDarkmode:e}=Me(),t=(n=e.value)=>document.documentElement.setAttribute("data-theme",n?"dark":"light");M(()=>{O(e,t,{immediate:!0})})};var F=y({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:["focusout"],setup(e,{attrs:t,emit:n,slots:a}){const o=Z(),i=yn(),l=Ye(e,"config"),s=h(()=>Ie(l.value.link)),c=h(()=>pn(l.value.link)||uo(l.value.link)),d=h(()=>c.value?void 0:l.value.target||(s.value?"_blank":void 0)),v=h(()=>d.value==="_blank"),p=h(()=>!s.value&&!c.value&&!v.value),f=h(()=>c.value?void 0:l.value.rel||(v.value?"noopener noreferrer":void 0)),g=h(()=>l.value.ariaLabel||l.value.text),b=h(()=>{if(e.exact)return!1;const E=Le(i.value.locales);return E.length?E.every(_=>_!==l.value.link):l.value.link!=="/"}),w=h(()=>p.value?l.value.activeMatch?new RegExp(l.value.activeMatch).test(o.path):b.value?Re(o.path,l.value.link):o.path===l.value.link:!1);return()=>{var E,_,D;const{text:x,icon:$,link:N}=l.value;return p.value?r(Pe,{to:N,"aria-label":g.value,...t,class:["nav-link",{active:w.value},t.class],onFocusout:()=>n("focusout")},()=>{var R,A,T;return((R=a.default)==null?void 0:R.call(a))||[((A=a.before)==null?void 0:A.call(a))||r(W,{icon:$}),x,(T=a.after)==null?void 0:T.call(a)]}):r("a",{href:N,rel:f.value,target:d.value,"aria-label":g.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},((E=a.default)==null?void 0:E.call(a))||[((_=a.before)==null?void 0:_.call(a))||r(W,{icon:$}),x,e.noExternalLinkIcon?null:r(ra),(D=a.after)==null?void 0:D.call(a)])}}});const Te=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch).test(e.path):At(e,t.link)?!0:t.children&&!n?t.children.some(a=>Te(e,a)):!1,fa=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?fa(e,n):n.type==="page"&&Te(e,n,!0))||"prefix"in t&&At(e,t.prefix):!1,ga=(e,t)=>j(e.link)?r(F,{...t,config:e}):r("p",t,[r(W,{icon:e.icon}),e.text]),_a=e=>{const t=Z();return e?r("ul",{class:"sidebar-sub-headers"},e.map(n=>{const a=Te(t,n,!0);return r("li",{class:"sidebar-sub-header"},[ga(n,{class:["sidebar-link","heading",{active:a}]}),_a(n.children)])})):null},lt=(e="",t="")=>wt(t)?t:`${vo(e)}${t}`,Qi=(e,t)=>{const n=I();return{type:"heading",text:e.title,link:`${n.value.path}#${e.slug}`,children:Rt(e.children,t)}},Rt=(e,t)=>t>0?e.map(n=>Qi(n,t-1)):[],Ea=e=>{const t=I();return Rt(t.value.headers,e)},vt=(e,t,n="")=>{const a=I(),o=(i,l=n)=>{var s;const c=j(i)?ye(lt(l,i)):i.link?{...i,...je(i.link)?{}:{link:ye(lt(l,i.link)).link}}:i;if("children"in c){const d=lt(l,c.prefix),v=c.children==="structure"?Dt[d]:c.children;return{type:"group",...c,prefix:d,children:v.map(p=>o(p,d))}}return{type:"page",...c,children:c.link===a.value.path?Rt(((s=a.value.headers[0])==null?void 0:s.level)===1?a.value.headers[0].children:a.value.headers,t):[]}};return e.map(i=>o(i))},el=(e,t)=>{const n=I(),a=Le(e).sort((o,i)=>i.length-o.length);for(const o of a)if(Re(decodeURI(n.value.path),o)){const i=e[o];return i?vt(i==="structure"?Dt[o]:i==="heading"?Ea(t):i,t,o):[]}return console.warn(`${n.value.path} is missing sidebar config.`),[]},tl=()=>{const e=me(),t=C(),n=P(),a=t.value.home?!1:t.value.sidebar??n.value.sidebar??"structure",o=t.value.headerDepth??n.value.headerDepth??2;return a===!1?[]:a==="heading"?Ea(o):a==="structure"?vt(Dt[e.value],o,e.value):gt(a)?vt(a,o):_t(a)?el(a,o):[]},ba=Symbol(""),nl=()=>{const e=h(()=>tl());dn(ba,e)},xt=()=>{const e=Y(ba);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var al=y({name:"PageFooter",setup(){const e=C(),t=P(),n=ma(),a=h(()=>{const{copyright:l,footer:s}=e.value;return s!==!1&&!!(l||s||t.value.displayFooter)}),o=h(()=>{const{footer:l}=e.value;return l===!1?!1:j(l)?l:t.value.footer||""}),i=h(()=>"copyright"in e.value?e.value.copyright:"copyright"in t.value?t.value.copyright:n.value.length?`Copyright © ${new Date().getFullYear()} ${n.value[0].name}`:!1);return()=>a.value?r("footer",{class:"footer-wrapper"},[o.value?r("div",{class:"footer",innerHTML:o.value}):null,i.value?r("div",{class:"copyright",innerHTML:i.value}):null]):null}}),ya=y({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},setup(e,{slots:t}){const n=I(),a=Ye(e,"config"),o=h(()=>a.value.ariaLabel||a.value.text),i=L(!1);O(()=>n.value.path,()=>{i.value=!1});const l=s=>{s.detail===0&&(i.value=!i.value)};return()=>{var s;return r("div",{class:["dropdown-wrapper",{open:i.value}]},[r("button",{type:"button",class:"dropdown-title","aria-label":o.value,onClick:l},[((s=t.title)==null?void 0:s.call(t))||r("span",{class:"title"},[r(W,{icon:a.value.icon}),e.config.text]),r("span",{class:"arrow"}),r("ul",{class:"nav-dropdown"},a.value.children.map((c,d)=>{const v=d===a.value.children.length-1;return r("li",{class:"dropdown-item"},"children"in c?[r("h4",{class:"dropdown-subtitle"},c.link?r(F,{config:c,onFocusout:()=>{c.children.length===0&&v&&(i.value=!1)}}):r("span",c.text)),r("ul",{class:"dropdown-subitem-wrapper"},c.children.map((p,f)=>r("li",{class:"dropdown-subitem"},r(F,{config:p,onFocusout:()=>{f===c.children.length-1&&v&&(i.value=!1)}}))))]:r(F,{config:c,onFocusout:()=>{v&&(i.value=!1)}}))}))])])}}});const wa=()=>r(V,{name:"i18n"},()=>[r("path",{d:"M379.392 460.8 494.08 575.488l-42.496 102.4L307.2 532.48 138.24 701.44l-71.68-72.704L234.496 460.8l-45.056-45.056c-27.136-27.136-51.2-66.56-66.56-108.544h112.64c7.68 14.336 16.896 27.136 26.112 35.84l45.568 46.08 45.056-45.056C382.976 312.32 409.6 247.808 409.6 204.8H0V102.4h256V0h102.4v102.4h256v102.4H512c0 70.144-37.888 161.28-87.04 210.944L378.88 460.8zM576 870.4 512 1024H409.6l256-614.4H768l256 614.4H921.6l-64-153.6H576zM618.496 768h196.608L716.8 532.48 618.496 768z"})]);wa.displayName="I18nIcon";const Aa=(e,t="")=>j(e)?ye(`${t}${e}`):"children"in e?{...e,...e.link&&!je(e.link)?ye(`${t}${e.link}`):{},children:e.children.map(n=>Aa(n,`${t}${e.prefix||""}`))}:{...e,link:je(e.link)?e.link:ye(`${t}${e.link}`).link},Ta=()=>h(()=>(P().value.navbar||[]).map(e=>Aa(e))),ol=()=>{const e=oe(),t=Z(),n=me(),a=Je(),o=ue(),i=P();return h(()=>{const l=Le(a.value.locales);if(l.length<2)return null;const{path:s,fullPath:c}=e.currentRoute.value,{navbarLocales:d}=i.value;return{text:"",ariaLabel:d==null?void 0:d.selectLangAriaLabel,children:[...l.map(v=>{var p,f,g;const b=((p=a.value.locales)==null?void 0:p[v])??{},w=((f=o.value.locales)==null?void 0:f[v])??{},E=b.lang||"",_=((g=w.navbarLocales)==null?void 0:g.langName)??E;let D;if(E===a.value.lang)D=s;else{const x=s.replace(n.value,v);D=e.getRoutes().some($=>$.path===x)?c.replace(s,x):w.home??v}return{text:_,link:D}}),...Hn(o.value.extraLocales||{}).map(([v,p])=>({text:v,link:p.replace(":route",t.path.replace(n.value,""))}))]}})},rl=()=>{const e=P(),t=h(()=>e.value.repo||null),n=h(()=>t.value?rr(t.value):null),a=h(()=>t.value?Wn(t.value):null),o=h(()=>n.value?e.value.repoLabel??(a.value===null?"Source":a.value):null);return h(()=>!n.value||!o.value||e.value.repoDisplay===!1?null:{type:a.value||"Source",label:o.value,link:n.value})};var il=y({name:"LanguageDropdown",setup(){const e=ol();return()=>e.value?r("div",{class:"nav-item"},r(ya,{class:"i18n-dropdown",config:e.value},{title:()=>{var t;return r(wa,{"aria-label":(t=e.value)==null?void 0:t.ariaLabel,style:{width:"1rem",height:"1rem",verticalAlign:"middle"}})}})):null}}),ll=y({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=I(),n=Ye(e,"config"),a=h(()=>n.value.ariaLabel||n.value.text),o=L(!1);O(()=>t.value.path,()=>{o.value=!1});const i=(l,s)=>s.at(-1)===l;return()=>[r("button",{type:"button",class:["nav-screen-dropdown-title",{active:o.value}],"aria-label":a.value,onClick:()=>{o.value=!o.value}},[r("span",{class:"title"},[r(W,{icon:n.value.icon}),e.config.text]),r("span",{class:["arrow",o.value?"down":"end"]})]),r("ul",{class:["nav-screen-dropdown",{hide:!o.value}]},n.value.children.map(l=>r("li",{class:"dropdown-item"},"children"in l?[r("h4",{class:"dropdown-subtitle"},l.link?r(F,{config:l,onFocusout:()=>{i(l,n.value.children)&&l.children.length===0&&(o.value=!1)}}):r("span",l.text)),r("ul",{class:"dropdown-subitem-wrapper"},l.children.map(s=>r("li",{class:"dropdown-subitem"},r(F,{config:s,onFocusout:()=>{i(s,l.children)&&i(l,n.value.children)&&(o.value=!1)}}))))]:r(F,{config:l,onFocusout:()=>{i(l,n.value.children)&&(o.value=!1)}}))))]}}),sl=y({name:"NavScreenLinks",setup(){const e=Ta();return()=>e.value.length?r("nav",{class:"nav-screen-links"},e.value.map(t=>r("div",{class:"navbar-links-item"},"children"in t?r(ll,{config:t}):r(F,{config:t})))):null}});const La=()=>r(V,{name:"dark"},()=>r("path",{d:"M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"}));La.displayName="DarkIcon";const ka=()=>r(V,{name:"light"},()=>r("path",{d:"M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"}));ka.displayName="LightIcon";const Da=()=>r(V,{name:"auto"},()=>r("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"}));Da.displayName="AutoIcon";const Ra=()=>r(V,{name:"enter-fullscreen"},()=>r("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));Ra.displayName="EnterFullScreenIcon";const xa=()=>r(V,{name:"cancel-fullscreen"},()=>r("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));xa.displayName="CancelFullScreenIcon";const Ia=()=>r(V,{name:"outlook"},()=>[r("path",{d:"M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"})]);Ia.displayName="OutlookIcon";var Pa=y({name:"AppearanceSwitch",setup(){const{config:e,status:t}=Me(),n=()=>{e.value==="switch"?t.value={light:"dark",dark:"auto",auto:"light"}[t.value]:t.value=t.value==="light"?"dark":"light"};return()=>r("button",{type:"button",id:"appearance-switch",onClick:()=>n()},[r(Da,{style:{display:t.value==="auto"?"block":"none"}}),r(La,{style:{display:t.value==="dark"?"block":"none"}}),r(ka,{style:{display:t.value==="light"?"block":"none"}})])}}),cl=y({name:"AppearanceMode",setup(){const e=P(),{canToggle:t}=Me(),n=h(()=>e.value.outlookLocales.darkmode);return()=>t.value?r("div",{class:"appearance-wrapper"},[r("label",{class:"appearance-title",for:"appearance-switch"},n.value),r(Pa)]):null}}),ul=y({name:"ThemeColorPicker",props:{themeColor:{type:Object,required:!0}},setup(e){const t=(n="")=>{const a=document.documentElement.classList,o=Le(e.themeColor).map(i=>`theme-${i}`);if(!n){localStorage.removeItem("theme"),a.remove(...o);return}a.remove(...o.filter(i=>i!==`theme-${n}`)),a.add(`theme-${n}`),localStorage.setItem("theme",n)};return M(()=>{const n=localStorage.getItem("theme");n&&t(n)}),()=>r("ul",{id:"theme-color-picker"},[r("li",r("span",{class:"theme-color",onClick:()=>t()})),Hn(e.themeColor).map(([n,a])=>r("li",r("span",{style:{background:a},onClick:()=>t(n)})))])}}),dl=y({name:"ThemeColor",setup(){const e=ue(),t=P(),n=h(()=>t.value.outlookLocales.themeColor),a=h(()=>{const{themeColor:o}=e.value;return o===!1?null:o});return()=>a.value?r("div",{class:"theme-color-wrapper"},[r("label",{class:"theme-color-title",for:"theme-color-picker"},n.value),r(ul,{themeColor:a.value})]):null}}),Oa=y({name:"ToggleFullScreenButton",setup(){const e=P(),{isSupported:t,isFullscreen:n,toggle:a}=Lt(),o=h(()=>e.value.outlookLocales.fullscreen);return()=>t?r("div",{class:"full-screen-wrapper"},[r("label",{class:"full-screen-title",for:"full-screen-switch"},o.value),r("button",{type:"button",class:"full-screen",id:"full-screen-switch",ariaPressed:n.value,onClick:()=>a()},n.value?r(xa):r(Ra))]):null}}),za=y({name:"OutlookSettings",setup(){const e=ue(),t=Xe(),n=h(()=>!t.value&&!!e.value.themeColor),a=h(()=>!t.value&&e.value.fullscreen);return()=>r(Ke,()=>[n.value?r(dl):null,r(cl),a.value?r(Oa):null])}}),vl=y({name:"NavScreen",props:{show:Boolean},emits:["close"],setup(e,{emit:t,slots:n}){const a=I(),{isMobile:o}=Ze(),i=se(),l=na(i);return M(()=>{i.value=document.body,O(o,s=>{!s&&e.show&&(l.value=!1,t("close"))}),O(()=>a.value.path,()=>{l.value=!1,t("close")})}),vn(()=>{l.value=!1}),()=>r(we,{name:"fade",onEnter:()=>{l.value=!0},onAfterLeave:()=>{l.value=!1}},()=>{var s,c;return e.show?r("div",{id:"nav-screen"},r("div",{class:"container"},[(s=n.before)==null?void 0:s.call(n),r(sl),r("div",{class:"outlook-wrapper"},r(za)),(c=n.after)==null?void 0:c.call(n)])):null})}}),pl=y({name:"NavbarBrand",setup(){const e=me(),t=Je(),n=P(),a=h(()=>n.value.home||e.value),o=h(()=>t.value.title),i=h(()=>n.value.logo?Ae(n.value.logo):null),l=h(()=>n.value.logoDark?Ae(n.value.logoDark):null);return()=>r(Pe,{to:a.value,class:"brand"},()=>[i.value?r("img",{class:["logo",{light:!!l.value}],src:i.value,alt:o.value}):null,l.value?r("img",{class:["logo dark"],src:l.value,alt:o.value}):null,o.value?r("span",{class:["site-name",{"hide-in-pad":i.value&&n.value.hideSiteNameOnMobile!==!1}]},o.value):null])}}),ml=y({name:"NavbarLinks",setup(){const e=Ta();return()=>e.value.length?r("nav",{class:"nav-links"},e.value.map(t=>r("div",{class:"nav-item hide-in-mobile"},"children"in t?r(ya,{config:t}):r(F,{config:t})))):null}}),hl=y({name:"RepoLink",components:{BitbucketIcon:Mn,GiteeIcon:Sn,GitHubIcon:zn,GitLabIcon:Vn,SourceIcon:Cn},setup(){const e=rl();return()=>e.value?r("div",{class:"nav-item"},r("a",{class:"repo-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},r(q(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Va=({active:e=!1},{emit:t})=>r("button",{type:"button",class:["toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},r("span",{class:"button-container"},[r("span",{class:"button-top"}),r("span",{class:"button-middle"}),r("span",{class:"button-bottom"})]));Va.displayName="ToggleNavbarButton";var fl=Va;const pt=(e,{emit:t})=>r("button",{type:"button",class:"toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},r("span",{class:"icon"}));pt.displayName="ToggleSidebarButton",pt.emits=["toggle"];var gl=pt,_l=y({name:"OutlookButton",setup(){const{isSupported:e}=Lt(),t=ue(),n=Xe(),a=I(),{canToggle:o}=Me(),i=L(!1),l=h(()=>!n.value&&!!t.value.themeColor),s=h(()=>!n.value&&t.value.fullscreen&&e);return O(()=>a.value.path,()=>{i.value=!1}),()=>o.value||s.value||l.value?r("div",{class:"nav-item hide-in-mobile"},o.value&&!s.value&&!l.value?r(Pa):s.value&&!o.value&&!l.value?r(Oa):r("button",{type:"button",class:["outlook-button",{open:i.value}],tabindex:"-1","aria-hidden":!0},[r(Ia),r("div",{class:"outlook-dropdown"},r(za))])):null}}),El=y({name:"NavBar",emits:["toggleSidebar"],setup(e,{emit:t,slots:n}){const a=P(),{isMobile:o}=Ze(),i=L(!1),l=h(()=>{const{navbarAutoHide:v="mobile"}=a.value;return v!=="none"&&(v==="always"||o.value)}),s=h(()=>a.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),c={Brand:pl,Language:il,Links:ml,Repo:hl,Outlook:_l,Search:ne("Docsearch")?q("Docsearch"):ne("SearchBox")?q("SearchBox"):ln},d=v=>c[v]??(ne(v)?q(v):ln);return()=>{var v,p,f,g,b,w;return[r("header",{class:["navbar",{"auto-hide":l.value,"hide-icon":a.value.navbarIcon===!1}],id:"navbar"},[r("div",{class:"navbar-start"},[r(gl,{onToggle:()=>{i.value&&(i.value=!1),t("toggleSidebar")}}),(v=n.startBefore)==null?void 0:v.call(n),(s.value.start||[]).map(E=>r(d(E))),(p=n.startAfter)==null?void 0:p.call(n)]),r("div",{class:"navbar-center"},[(f=n.centerBefore)==null?void 0:f.call(n),(s.value.center||[]).map(E=>r(d(E))),(g=n.centerAfter)==null?void 0:g.call(n)]),r("div",{class:"navbar-end"},[(b=n.endBefore)==null?void 0:b.call(n),(s.value.end||[]).map(E=>r(d(E))),(w=n.endAfter)==null?void 0:w.call(n),r(fl,{active:i.value,onToggle:()=>{i.value=!i.value}})])]),r(vl,{show:i.value,onClose:()=>{i.value=!1}},{before:()=>{var E;return(E=n.screenTop)==null?void 0:E.call(n)},after:()=>{var E;return(E=n.screenBottom)==null?void 0:E.call(n)}})]}}}),bl=y({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=Z();return()=>[ga(e.config,{class:["sidebar-link",`sidebar-${e.config.type}`,{active:Te(t,e.config,!0)}],exact:!0}),_a(e.config.children)]}}),yl=y({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=Z(),a=h(()=>Te(n,e.config)),o=h(()=>Te(n,e.config,!0));return()=>{const{collapsible:i,children:l=[],icon:s,prefix:c,link:d,text:v}=e.config;return r("section",{class:"sidebar-group"},[r(i?"button":"p",{class:["sidebar-heading",{clickable:i||d,exact:o.value,active:a.value}],...i?{type:"button",onClick:()=>t("toggle"),onKeydown:p=>{p.key==="Enter"&&t("toggle")}}:{}},[r(W,{icon:s}),d?r(F,{class:"title",config:{text:v,link:d},noExternalLinkIcon:!0}):r("span",{class:"title"},v),i?r("span",{class:["arrow",e.open?"down":"end"]}):null]),e.open||!i?r(Sa,{key:c,config:l}):null])}}}),Sa=y({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=Z(),n=L(-1),a=o=>{n.value=o===n.value?-1:o};return O(()=>t.path,()=>{const o=e.config.findIndex(i=>fa(t,i));n.value=o},{immediate:!0,flush:"post"}),()=>r("ul",{class:"sidebar-links"},e.config.map((o,i)=>r("li",o.type==="group"?r(yl,{config:o,open:i===n.value,onToggle:()=>a(i)}):r(bl,{config:o}))))}}),wl=y({name:"SideBar",setup(e,{slots:t}){const n=Z(),a=P(),o=xt(),i=se();return M(()=>{O(()=>n.hash,l=>{const s=document.querySelector(`.sidebar a.sidebar-link[href="${n.path}${l}"]`);if(!s)return;const{top:c,height:d}=i.value.getBoundingClientRect(),{top:v,height:p}=s.getBoundingClientRect();vc+d&&s.scrollIntoView(!1)})}),()=>{var l,s,c;return r("aside",{class:["sidebar",{"hide-icon":a.value.sidebarIcon===!1}],id:"sidebar",ref:i},[(l=t.top)==null?void 0:l.call(t),((s=t.default)==null?void 0:s.call(t))||r(Sa,{config:o.value}),(c=t.bottom)==null?void 0:c.call(t)])}}}),Ma=y({name:"CommonWrapper",props:{noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},setup(e,{slots:t}){const n=oe(),a=I(),o=C(),i=P(),{isMobile:l,isPC:s}=Ze(),[c,d]=qt(!1),[v,p]=qt(!1),f=xt(),g=L(!1),b=h(()=>e.noNavbar||o.value.navbar===!1||i.value.navbar===!1?!1:!!(a.value.title||i.value.logo||i.value.repo||i.value.navbar)),w=h(()=>e.noSidebar?!1:o.value.sidebar!==!1&&f.value.length!==0&&!o.value.home),E=h(()=>e.noToc||o.value.home?!1:o.value.toc||i.value.toc!==!1&&o.value.toc!==!1),_={x:0,y:0},D=R=>{_.x=R.changedTouches[0].clientX,_.y=R.changedTouches[0].clientY},x=R=>{const A=R.changedTouches[0].clientX-_.x,T=R.changedTouches[0].clientY-_.y;Math.abs(A)>Math.abs(T)*1.5&&Math.abs(A)>40&&(A>0&&_.x<=80?d(!0):d(!1))},$=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let N=0;return H("scroll",cr(()=>{const R=$();R<=58||R{R||d(!1)}),M(()=>{const R=na(document.body);O(c,T=>{R.value=T});const A=n.afterEach(()=>{d(!1)});vn(()=>{R.value=!1,A()})}),()=>r(ne("GlobalEncrypt")?q("GlobalEncrypt"):On,()=>{var R;return r("div",{class:["theme-container",{"no-navbar":!b.value,"no-sidebar":!w.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":E.value,"hide-navbar":g.value,"sidebar-collapsed":!l.value&&!s.value&&v.value,"sidebar-open":l.value&&c.value},o.value.containerClass||""],onTouchStart:D,onTouchEnd:x},[b.value?r(El,{onToggleSidebar:()=>d()},{startBefore:()=>{var A;return(A=t.navbarStartBefore)==null?void 0:A.call(t)},startAfter:()=>{var A;return(A=t.navbarStartAfter)==null?void 0:A.call(t)},centerBefore:()=>{var A;return(A=t.navbarCenterBefore)==null?void 0:A.call(t)},centerAfter:()=>{var A;return(A=t.navbarCenterAfter)==null?void 0:A.call(t)},endBefore:()=>{var A;return(A=t.navbarEndBefore)==null?void 0:A.call(t)},endAfter:()=>{var A;return(A=t.navbarEndAfter)==null?void 0:A.call(t)},screenTop:()=>{var A;return(A=t.navScreenTop)==null?void 0:A.call(t)},screenBottom:()=>{var A;return(A=t.navScreenBottom)==null?void 0:A.call(t)}}):null,r(we,{name:"fade"},()=>c.value?r("div",{class:"sidebar-mask",onClick:()=>d(!1)}):null),r(we,{name:"fade"},()=>l.value?null:r("div",{class:"toggle-sidebar-wrapper",onClick:()=>p()},r("span",{class:["arrow",v.value?"end":"start"]}))),r(wl,{},{...t.sidebar?{default:()=>{var A;return(A=t.sidebar)==null?void 0:A.call(t)}}:{},top:()=>{var A;return(A=t.sidebarTop)==null?void 0:A.call(t)},bottom:()=>{var A;return(A=t.sidebarBottom)==null?void 0:A.call(t)}}),(R=t.default)==null?void 0:R.call(t),r(al)])})}}),be=y({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},setup(e,{slots:t}){const n=o=>{o.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,o.style.transform="translateY(-20px)",o.style.opacity="0"},a=o=>{o.style.transform="translateY(0)",o.style.opacity="1"};return()=>r(e.type==="single"?we:co,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:a,onEnter:n,onAfterEnter:a,onBeforeLeave:n},()=>{var o;return(o=t.default)==null?void 0:o.call(t)})}});const mt=({custom:e})=>r(An,{class:["theme-hope-content",{custom:e}]});mt.displayName="MarkdownContent",mt.props={custom:Boolean};var Ca=mt;const $a=()=>r(V,{name:"author"},()=>r("path",{d:"M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"}));$a.displayName="AuthorIcon";const Na=()=>r(V,{name:"calendar"},()=>r("path",{d:"M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"}));Na.displayName="CalendarIcon";const Ba=()=>r(V,{name:"category"},()=>r("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));Ba.displayName="CategoryIcon";const Fa=()=>r(V,{name:"print"},()=>r("path",{d:"M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"}));Fa.displayName="PrintIcon";const Ha=()=>r(V,{name:"tag"},()=>r("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));Ha.displayName="TagIcon";const ja=()=>r(V,{name:"timer"},()=>r("path",{d:"M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"}));ja.displayName="TimerIcon";const qa=()=>r(V,{name:"word"},()=>[r("path",{d:"M518.217 432.64V73.143A73.143 73.143 0 01603.43 1.097a512 512 0 01419.474 419.474 73.143 73.143 0 01-72.046 85.212H591.36a73.143 73.143 0 01-73.143-73.143z"}),r("path",{d:"M493.714 566.857h340.297a73.143 73.143 0 0173.143 85.577A457.143 457.143 0 11371.566 117.76a73.143 73.143 0 0185.577 73.143v339.383a36.571 36.571 0 0036.571 36.571z"})]);qa.displayName="WordIcon";const de=()=>{const e=P();return h(()=>e.value.metaLocales)};var Al=y({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=de();return()=>e.author.length?r("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r($a),r("span",e.author.map(n=>n.url?r("a",{class:"page-author-item",href:n.url,target:"_blank",rel:"noopener noreferrer"},n.name):r("span",{class:"page-author-item"},n.name))),r("span",{property:"author",content:e.author.map(n=>n.name).join(", ")})]):null}}),Tl=y({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=oe(),n=I(),a=de(),o=(i,l="")=>{l&&n.value.path!==l&&(i.preventDefault(),t.push(l))};return()=>e.category.length?r("span",{class:"page-category-info","aria-label":`${a.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(Ba),e.category.map(({name:i,path:l})=>r("span",{class:["page-category-item",{[`category${Fn(i,9)}`]:!e.pure,clickable:l}],role:l?"navigation":"",onClick:s=>o(s,l)},i)),r("meta",{property:"articleSection",content:e.category.map(({name:i})=>i).join(",")})]):null}}),Ll=y({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=En(),n=de();return()=>e.date?r("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(Na),r("span",r(Ke,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),r("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),kl=y({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=de();return()=>e.isOriginal?r("span",{class:"page-original-info"},t.value.origin):null}}),Dl=y({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=de(),n=h(()=>{if(!e.readingTime)return null;const{minutes:a}=e.readingTime;return a<1?"PT1M":`PT${Math.round(a)}M`});return()=>{var a,o;return(a=e.readingTimeLocale)!=null&&a.time?r("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(ja),r("span",(o=e.readingTimeLocale)==null?void 0:o.time),r("meta",{property:"timeRequired",content:n.value})]):null}}}),Rl=y({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=oe(),n=I(),a=de(),o=(i,l="")=>{l&&n.value.path!==l&&(i.preventDefault(),t.push(l))};return()=>e.tag.length?r("span",{class:"page-tag-info","aria-label":`${a.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(Ha),e.tag.map(({name:i,path:l})=>r("span",{class:["page-tag-item",{[`tag${Fn(i,9)}`]:!e.pure,clickable:l}],role:l?"navigation":"",onClick:s=>o(s,l)},i)),r("meta",{property:"keywords",content:e.tag.map(({name:i})=>i).join(",")})]):null}}),xl=y({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=de();return()=>{var n,a,o;return(n=e.readingTimeLocale)!=null&&n.words?r("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(qa),r("span",(a=e.readingTimeLocale)==null?void 0:a.words),r("meta",{property:"wordCount",content:(o=e.readingTime)==null?void 0:o.words})]):null}}}),Il=y({name:"PageInfo",components:{AuthorInfo:Al,CategoryInfo:Tl,DateInfo:Ll,OriginalInfo:kl,PageViewInfo:()=>null,ReadingTimeInfo:Dl,TagInfo:Rl,WordInfo:xl},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=Xe();return()=>e.items?r("div",{class:"page-info"},e.items.map(n=>r(q(`${n}Info`),{...e.info,pure:t.value}))):null}}),Pl=y({name:"PrintButton",setup(){const e=ue(),t=P();return()=>e.value.print===!1?null:r("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},r(Fa))}});const Ol=({title:e,level:t,slug:n})=>r(Pe,{to:`#${n}`,class:["toc-link",`level${t}`]},()=>e),ht=(e,t)=>{const n=Z();return e.length&&t>0?r("ul",{class:"toc-list"},e.map(a=>{const o=ht(a.children,t-1);return[r("li",{class:["toc-item",{active:At(n,`#${a.slug}`)}]},Ol(a)),o?r("li",o):null]})):null};var zl=y({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},setup(e,{slots:t}){const n=Z(),a=I(),o=de(),i=se(),l=L("-1.7rem"),s=d=>{var v;(v=i.value)==null||v.scrollTo({top:d,behavior:"smooth"})},c=()=>{if(i.value){const d=document.querySelector(".toc-item.active");d?l.value=`${d.getBoundingClientRect().top-i.value.getBoundingClientRect().top+i.value.scrollTop}px`:l.value="-1.7rem"}else l.value="-1.7rem"};return M(()=>{O(()=>n.hash,d=>{if(i.value){const v=document.querySelector(`#toc a.toc-link[href$="${d}"]`);if(!v)return;const{top:p,height:f}=i.value.getBoundingClientRect(),{top:g,height:b}=v.getBoundingClientRect();gp+f&&s(i.value.scrollTop+g+b-p-f)}}),O(()=>n.fullPath,()=>c(),{flush:"post",immediate:!0})}),()=>{var d,v;const p=e.items.length?ht(e.items,e.headerDepth):a.value.headers?ht(a.value.headers,e.headerDepth):null;return p?r("div",{class:"toc-place-holder"},[r("aside",{id:"toc"},[(d=t.before)==null?void 0:d.call(t),r("div",{class:"toc-header"},[o.value.toc,r(Pl)]),r("div",{class:"toc-wrapper",ref:i},[p,r("div",{class:"toc-marker",style:{top:l.value}})]),(v=t.after)==null?void 0:v.call(t)])]):null}}}),Wa=y({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=I(),n=P(),a=se(),o=({target:i})=>{const l=document.querySelector(i.hash);if(l){const s=()=>{l.removeAttribute("tabindex"),l.removeEventListener("blur",s)};l.setAttribute("tabindex","-1"),l.addEventListener("blur",s),l.focus(),window.scrollTo(0,0)}};return M(()=>{O(()=>t.value.path,()=>a.value.focus())}),()=>[r("span",{ref:a,tabindex:"-1"}),r("a",{href:`#${e.content}`,class:"skip-link sr-only",onClick:o},n.value.routeLocales.skipToContent)]}});let st=null,Fe=null;const Vl={wait:()=>st,pending:()=>{st=new Promise(e=>Fe=e)},resolve:()=>{Fe==null||Fe(),st=null,Fe=null}},Ua=()=>Vl;var Sl=y({name:"FadeSlideY",setup(e,{slots:t}){const{resolve:n,pending:a}=Ua();return()=>r(we,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:n,onBeforeLeave:a},()=>{var o;return(o=t.default)==null?void 0:o.call(t)})}}),Ml=y({name:"FeaturePanel",props:{items:{type:Object,default:()=>[]},header:{type:String,default:""}},setup(e){return()=>r("div",{class:"feature-panel"},[e.header?r("h2",{class:"feature-header"},e.header):null,e.items.length?r("div",{class:"feature-wrapper"},e.items.map(t=>{const n=[r("h3",[r(W,{icon:t.icon}),r("span",{innerHTML:t.title})]),r("p",{innerHTML:t.details})];return t.link?je(t.link)?r("a",{class:"feature-item link",href:t.link,role:"navigation","aria-label":t.title,target:"_blank"},n):r(Pe,{class:"feature-item link",to:t.link,role:"navigation","aria-label":t.title},()=>n):r("div",{class:"feature-item"},n)})):null])}}),Cl=y({name:"HeroInfo",setup(e,{slots:t}){const n=C(),a=Je(),o=h(()=>n.value.heroText===!1?!1:n.value.heroText||a.value.title||"Hello"),i=h(()=>n.value.tagline===!1?!1:n.value.tagline||a.value.description||"Welcome to your VuePress site"),l=h(()=>n.value.heroImage?Ae(n.value.heroImage):null),s=h(()=>n.value.heroImageDark?Ae(n.value.heroImageDark):null),c=h(()=>n.value.heroAlt||o.value||"hero"),d=h(()=>n.value.actions??[]);return()=>{var v,p;return r("header",{class:"hero-info-wrapper"},[((v=t.heroImage)==null?void 0:v.call(t))||r(be,{appear:!0,type:"group"},()=>[l.value?r("img",{key:"light",class:{light:s.value},src:l.value,alt:c.value}):null,s.value?r("img",{key:"dark",class:"dark",src:s.value,alt:c.value}):null]),((p=t.heroInfo)==null?void 0:p.call(t))||r("div",{class:"hero-info"},[o.value?r(be,{appear:!0,delay:.04},()=>r("h1",{id:"main-title"},o.value)):null,i.value?r(be,{appear:!0,delay:.08},()=>r("p",{class:"description"},i.value)):null,d.value.length?r(be,{appear:!0,delay:.12},()=>r("p",{class:"actions"},d.value.map(f=>r(F,{class:["action-button",f.type||"default"],config:f,noExternalLinkIcon:!0})))):null])])}}}),$l=y({name:"HopePage",setup(e,{slots:t}){const n=Xe(),a=C(),o=h(()=>{const{features:i}=a.value;return gt(i)?i.some(l=>!("items"in l))?[{items:i}]:i:[]});return()=>{var i,l,s;return r("main",{class:["home project",{pure:n.value}],id:"main-content","aria-labelledby":a.value.heroText===null?void 0:"main-title"},[(i=t.top)==null?void 0:i.call(t),r(Cl),o.value.map(({header:c="",items:d},v)=>r(be,{appear:!0,delay:.16+v*.08},()=>r(Ml,{header:c,items:d}))),(l=t.center)==null?void 0:l.call(t),r(be,{appear:!0,delay:.16+o.value.length*.08},()=>r(Ca)),(s=t.bottom)==null?void 0:s.call(t)])}}});const Nl=(e,t)=>{const n=e.replace(t,"/").split("/"),a=[];let o=Et(t);return n.forEach((i,l)=>{l!==n.length-1?(o+=`${i}/`,a.push(o)):i!==""&&(o+=i,a.push(o))}),a};var Bl=y({name:"BreadCrumb",setup(){const e=oe(),t=I(),n=me(),a=C(),o=P(),i=se([]),l=h(()=>(a.value.breadcrumb||a.value.breadcrumb!==!1&&o.value.breadcrumb!==!1)&&i.value.length>1),s=h(()=>a.value.breadcrumbIcon||a.value.breadcrumbIcon!==!1&&o.value.breadcrumbIcon!==!1),c=()=>{const d=e.getRoutes(),v=Nl(t.value.path,n.value).map(p=>{const f=d.find(g=>g.path===p);if(f){const{meta:g,path:b}=Tt(e,f.path),w=g[te.shortTitle]||g[te.title];if(w)return{title:w,icon:g[te.icon],path:b}}return null}).filter(p=>p!==null);v.length>1&&(i.value=v)};return M(()=>{c(),O(()=>t.value.path,c)}),()=>r("nav",{class:["breadcrumb",{disable:!l.value}]},l.value?r("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},i.value.map((d,v)=>r("li",{class:{"is-active":i.value.length-1===v},property:"itemListElement",typeof:"ListItem"},[r(Pe,{to:d.path,property:"item",typeof:"WebPage"},()=>[s.value?r(W,{icon:d.icon}):null,r("span",{property:"name"},d.title||"Unknown")]),r("meta",{property:"position",content:v+1})]))):[])}});const sn=e=>e===!1?!1:j(e)?ye(e,!0):_t(e)?e:null,ft=(e,t,n)=>{const a=e.findIndex(o=>o.link===t);if(a!==-1){const o=e[a+n];return o!=null&&o.link?o:null}for(const o of e)if(o.children){const i=ft(o.children,t,n);if(i)return i}return null};var Fl=y({name:"PageNav",setup(){const e=P(),t=C(),n=xt(),a=I(),o=Ui(),i=h(()=>{const s=sn(t.value.prev);return s===!1?null:s||(e.value.prevLink===!1?null:ft(n.value,a.value.path,-1))}),l=h(()=>{const s=sn(t.value.next);return s===!1?null:s||(e.value.nextLink===!1?null:ft(n.value,a.value.path,1))});return H("keydown",s=>{s.altKey&&(s.key==="ArrowRight"?l.value&&(o(l.value.link),s.preventDefault()):s.key==="ArrowLeft"&&i.value&&(o(i.value.link),s.preventDefault()))}),()=>i.value||l.value?r("nav",{class:"page-nav"},[i.value?r(F,{class:"prev",config:i.value},()=>{var s,c;return[r("div",{class:"hint"},[r("span",{class:"arrow start"}),e.value.metaLocales.prev]),r("div",{class:"link"},[r(W,{icon:(s=i.value)==null?void 0:s.icon}),(c=i.value)==null?void 0:c.text])]}):null,l.value?r(F,{class:"next",config:l.value},()=>{var s,c;return[r("div",{class:"hint"},[e.value.metaLocales.next,r("span",{class:"arrow end"})]),r("div",{class:"link"},[(s=l.value)==null?void 0:s.text,r(W,{icon:(c=l.value)==null?void 0:c.icon})])]}):null]):null}});const Hl={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},jl=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:a,editLinkPattern:o})=>{if(!a)return null;const i=Wn(e);let l;return o?l=o:i!==null&&(l=Hl[i]),l?l.replace(/:repo/,Ie(e)?e:`https://github.com/${e}`).replace(/:branch/,t).replace(/:path/,un(`${Et(n)}/${a}`)):null},ql=()=>{const e=P(),t=I(),n=C();return h(()=>{const{repo:a,docsRepo:o=a,docsBranch:i="main",docsDir:l="",editLink:s,editLinkPattern:c=""}=e.value;if(!(n.value.editLink??s??!0)||!o)return null;const d=jl({docsRepo:o,docsBranch:i,docsDir:l,editLinkPattern:c,filePathRelative:t.value.filePathRelative});return d?{text:e.value.metaLocales.editLink,link:d}:null})},Wl=()=>{const e=Je(),t=P(),n=I(),a=C();return h(()=>{var o,i;return!(a.value.lastUpdated??t.value.lastUpdated??!0)||!((o=n.value.git)!=null&&o.updatedTime)?null:new Date((i=n.value.git)==null?void 0:i.updatedTime).toLocaleString(e.value.lang)})},Ul=()=>{const e=P(),t=I(),n=C();return h(()=>{var a;return n.value.contributors??e.value.contributors??!0?((a=t.value.git)==null?void 0:a.contributors)??null:null})};var Gl=y({name:"PageTitle",setup(){const e=I(),t=C(),n=P(),{info:a,items:o}=Ki();return()=>r("div",{class:"page-title"},[r("h1",[n.value.titleIcon===!1?null:r(W,{icon:t.value.icon}),e.value.title]),r(Il,{info:a.value,...o.value===null?{}:{items:o.value}}),r("hr")])}});const Ga=()=>r(V,{name:"edit"},()=>[r("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),r("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})]);Ga.displayName="EditIcon";var Yl=y({name:"PageMeta",setup(){const e=P(),t=ql(),n=Wl(),a=Ul();return()=>{const{metaLocales:o}=e.value;return r("footer",{class:"page-meta"},[t.value?r("div",{class:"meta-item edit-link"},r(F,{class:"label",config:t.value},{before:()=>r(Ga)})):null,r("div",{class:"meta-item git-info"},[n.value?r("div",{class:"update-time"},[r("span",{class:"label"},`${o.lastUpdated}: `),r(Ke,()=>r("span",{class:"info"},n.value))]):null,a.value&&a.value.length?r("div",{class:"contributors"},[r("span",{class:"label"},`${o.contributors}: `),a.value.map(({email:i,name:l},s)=>[r("span",{class:"contributor",title:`email: ${i}`},l),s!==a.value.length-1?",":""])]):null])])}}}),Jl=y({name:"NormalPage",setup(e,{slots:t}){const n=C(),a=I(),{isDarkmode:o}=Me(),i=P(),l=h(()=>n.value.toc||n.value.toc!==!1&&i.value.toc!==!1);return()=>r("main",{class:"page",id:"main-content"},r(ne("LocalEncrypt")?q("LocalEncrypt"):On,()=>{var s,c,d,v;return[(s=t.top)==null?void 0:s.call(t),n.value.cover?r("img",{class:"page-cover",src:n.value.cover,alt:a.value.title,"no-view":""}):null,r(Bl),r(Gl),l.value?r(zl,{headerDepth:n.value.headerDepth??i.value.headerDepth??2},{before:()=>{var p;return(p=t.tocBefore)==null?void 0:p.call(t)},after:()=>{var p;return(p=t.tocAfter)==null?void 0:p.call(t)}}):null,(c=t.contentBefore)==null?void 0:c.call(t),r(Ca),(d=t.contentAfter)==null?void 0:d.call(t),r(Yl),r(Fl),ne("CommentService")?r(q("CommentService"),{darkmode:o.value}):null,(v=t.bottom)==null?void 0:v.call(t)]}))}}),Kl=y({name:"Layout",setup(){P();const e=I(),t=C(),{isMobile:n}=Ze(),a=h(()=>"none");return()=>[r(Wa),r(Ma,{},{default:()=>t.value.home?r($l):r(Sl,()=>r(Jl,{key:e.value.path})),...a.value!=="none"?{navScreenBottom:()=>r(q("BloggerInfo"))}:{},...!n.value&&a.value==="always"?{sidebar:()=>r(q("BloggerInfo"))}:{}})]}}),Xl=y({name:"NotFoundHint",setup(){const e=P(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>r("div",{class:"not-found-hint"},[r("p",{class:"error-code"},"404"),r("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),r("p",{class:"error-hint"},t())])}}),Zl=y({name:"NotFound",setup(e,{slots:t}){const n=me(),a=P(),{navigate:o}=po({to:a.value.home??n.value});return()=>[r(Wa),r(Ma,{noSidebar:!0},()=>{var i;return r("main",{class:"page not-found",id:"main-content"},((i=t.default)==null?void 0:i.call(t))||[r(Xl),r("div",{class:"actions"},[r("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},a.value.routeLocales.back),r("button",{type:"button",class:"action-button",onClick:()=>o()},a.value.routeLocales.home)])])})]}});const Ql=J({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...a)=>(await Ua().wait(),n(...a)),Xi(e),e.component("HopeIcon",W)},setup:()=>{Zi(),nl()},layouts:{Layout:Kl,NotFound:Zl}}),es={enhance:({app:e})=>{e.component("ApiDoc",m(()=>u(()=>import("./ApiDoc-561eb16a.js"),["assets/ApiDoc-561eb16a.js","assets/framework-64cb0dab.js"]))),e.component("Card",m(()=>u(()=>import("./Card-75f75c66.js"),["assets/Card-75f75c66.js","assets/framework-64cb0dab.js"]))),e.component("CardList",m(()=>u(()=>import("./CardList-d2737492.js"),["assets/CardList-d2737492.js","assets/framework-64cb0dab.js"]))),e.component("Redirect",m(()=>u(()=>import("./Redirect-c6e67f4f.js"),["assets/Redirect-c6e67f4f.js","assets/framework-64cb0dab.js"]))),e.component("SlideList",m(()=>u(()=>import("./SlideList-a936732a.js"),["assets/SlideList-a936732a.js","assets/framework-64cb0dab.js"])))}};qr("VUEPRESS_REDIRECT_LOCALES",{});var ts=J({setup(){},rootComponents:[]});const He=[Po,Xr,oi,ii,ci,pi,_i,Li,Pi,Fi,Ql,es,ts],ns=[["v-8daa1a0e","/",{y:"h",t:""},["/index.html","/README.md"]],["v-2d0ad528","/zh/",{y:"h",t:""},["/zh/index.html","/zh/README.md"]],["v-2d0a870d","/en/",{y:"h",t:""},["/en/index.html","/en/README.md"]],["v-53f9ca7d","/zh/api/",{y:"a",t:"介绍"},["/zh/api/index.html","/zh/api/README.md"]],["v-271359be","/zh/api/api-reference.html",{y:"a",t:""},["/zh/api/api-reference","/zh/api/api-reference.md"]],["v-40000acc","/zh/develop/",{y:"a",t:""},["/zh/develop/index.html","/zh/develop/README.md"]],["v-a68194b6","/zh/develop/introduction.html",{y:"a",t:"介绍"},["/zh/develop/introduction","/zh/develop/introduction.md"]],["v-4e90c949","/zh/migration/",{y:"a",t:"版本升级迁移"},["/zh/migration/index.html","/zh/migration/README.md"]],["v-1833c52e","/zh/migration/v0.6.html",{y:"a",t:"从旧版本升级到 v0.6.x"},["/zh/migration/v0.6","/zh/migration/v0.6.md"]],["v-47357bdb","/zh/guide/",{y:"a",t:"介绍"},["/zh/guide/index.html","/zh/guide/README.md"]],["v-62758f72","/zh/guide/quick-start.html",{y:"a",t:"快速开始"},["/zh/guide/quick-start","/zh/guide/quick-start.md"]],["v-60d0415b","/zh/principle/",{y:"a",t:"介绍"},["/zh/principle/index.html","/zh/principle/README.md"]],["v-5400a44a","/zh/pro/",{y:"a",t:"介绍"},["/zh/pro/index.html","/zh/pro/README.md"]],["v-ba122056","/zh/pro/installation.html",{y:"a",t:"安装"},["/zh/pro/installation","/zh/pro/installation.md"]],["v-d91e7afc","/zh/pro/license.html",{y:"a",t:"许可证"},["/zh/pro/license","/zh/pro/license.md"]],["v-075401e2","/en/api/",{y:"a",t:"Introduction"},["/en/api/index.html","/en/api/README.md"]],["v-372661e3","/en/api/api-reference.html",{y:"a",t:""},["/en/api/api-reference","/en/api/api-reference.md"]],["v-62f5f77f","/en/develop/",{y:"a",t:""},["/en/develop/index.html","/en/develop/README.md"]],["v-437fff60","/en/develop/introduction.html",{y:"a",t:"Introduction"},["/en/develop/introduction","/en/develop/introduction.md"]],["v-e6412400","/en/guide/",{y:"a",t:"Introduction"},["/en/guide/index.html","/en/guide/README.md"]],["v-72889797","/en/guide/quick-start.html",{y:"a",t:"Quick Start"},["/en/guide/quick-start","/en/guide/quick-start.md"]],["v-2809be24","/en/migration/",{y:"a",t:"Upgrade & Migration"},["/en/migration/index.html","/en/migration/README.md"]],["v-5ad13729","/en/migration/v0.6.html",{y:"a",t:"Migrate to v0.6.x from Old Versions"},["/en/migration/v0.6","/en/migration/v0.6.md"]],["v-038ace00","/en/principle/",{y:"a",t:"Introduction"},["/en/principle/index.html","/en/principle/README.md"]],["v-075adbaf","/en/pro/",{y:"a",t:"Introduction"},["/en/pro/index.html","/en/pro/README.md"]],["v-980061e0","/en/pro/installation.html",{y:"a",t:"Installation"},["/en/pro/installation","/en/pro/installation.md"]],["v-4fe20a67","/en/pro/license.html",{y:"a",t:"License"},["/en/pro/license","/en/pro/license.md"]],["v-07b93d29","/zh/develop/plugins/",{y:"a",t:"开发插件"},["/zh/develop/plugins/index.html","/zh/develop/plugins/README.md"]],["v-07c90877","/zh/guide/basic-tutorial/",{y:"a",t:"快速教程"},["/zh/guide/basic-tutorial/index.html","/zh/guide/basic-tutorial/README.md"]],["v-763cb96a","/zh/guide/cli/",{y:"a",t:"命令行工具 (CLI)"},["/zh/guide/cli/index.html","/zh/guide/cli/README.md"]],["v-34974e3f","/zh/guide/data-sources/",{y:"a",t:"数据源"},["/zh/guide/data-sources/index.html","/zh/guide/data-sources/README.md"]],["v-51657f70","/zh/guide/deps/",{y:"a",t:"依赖管理"},["/zh/guide/deps/index.html","/zh/guide/deps/README.md"]],["v-53c4493a","/zh/guide/installation/",{y:"a",t:"安装"},["/zh/guide/installation/index.html","/zh/guide/installation/README.md"]],["v-21108f28","/zh/guide/installation/direct-deploy.html",{y:"a",t:"直接部署"},["/zh/guide/installation/direct-deploy","/zh/guide/installation/direct-deploy.md"]],["v-4afd353f","/zh/guide/installation/docker.html",{y:"a",t:"安装: Docker"},["/zh/guide/installation/docker","/zh/guide/installation/docker.md"]],["v-7b986cd9","/zh/guide/installation/kubernetes.html",{y:"a",t:"Kubernetes"},["/zh/guide/installation/kubernetes","/zh/guide/installation/kubernetes.md"]],["v-396ffba8","/zh/guide/monitoring/",{y:"a",t:"监控指标"},["/zh/guide/monitoring/index.html","/zh/guide/monitoring/README.md"]],["v-51f6c772","/zh/guide/node/",{y:"a",t:"节点"},["/zh/guide/node/index.html","/zh/guide/node/README.md"]],["v-ff9bae3c","/zh/guide/notifications/",{y:"a",t:"消息通知"},["/zh/guide/notifications/index.html","/zh/guide/notifications/README.md"]],["v-4cb72786","/zh/guide/permissions/",{y:"a",t:"权限管理"},["/zh/guide/permissions/index.html","/zh/guide/permissions/README.md"]],["v-1501ff21","/zh/guide/plugin/",{y:"a",t:"插件"},["/zh/guide/plugin/index.html","/zh/guide/plugin/README.md"]],["v-04e3ee35","/zh/guide/plugin/plugin-dependency.html",{y:"a",t:"依赖管理插件 (plugin-dependency)"},["/zh/guide/plugin/plugin-dependency","/zh/guide/plugin/plugin-dependency.md"]],["v-310566d5","/zh/guide/plugin/plugin-notification.html",{y:"a",t:"消息通知插件 (plugin-notification)"},["/zh/guide/plugin/plugin-notification","/zh/guide/plugin/plugin-notification.md"]],["v-179ff12a","/zh/guide/plugin/plugin-spider-assistant.html",{y:"a",t:"爬虫助手插件 (plugin-spider-assistant)"},["/zh/guide/plugin/plugin-spider-assistant","/zh/guide/plugin/plugin-spider-assistant.md"]],["v-82e2edde","/zh/guide/project/",{y:"a",t:"项目"},["/zh/guide/project/index.html","/zh/guide/project/README.md"]],["v-3f046afd","/zh/guide/schedule/",{y:"a",t:"定时任务"},["/zh/guide/schedule/index.html","/zh/guide/schedule/README.md"]],["v-8c44e4a2","/zh/guide/spider/",{y:"a",t:"爬虫"},["/zh/guide/spider/index.html","/zh/guide/spider/README.md"]],["v-4df5f86a","/zh/guide/spider/file-editor.html",{y:"a",t:"文件编辑"},["/zh/guide/spider/file-editor","/zh/guide/spider/file-editor.md"]],["v-15539f34","/zh/guide/spider/integration.html",{y:"a",t:"爬虫集成"},["/zh/guide/spider/integration","/zh/guide/spider/integration.md"]],["v-5245304f","/zh/guide/task/",{y:"a",t:"任务"},["/zh/guide/task/index.html","/zh/guide/task/README.md"]],["v-11bb1e1e","/zh/guide/token/",{y:"a",t:""},["/zh/guide/token/index.html","/zh/guide/token/README.md"]],["v-525b42c9","/zh/guide/user/",{y:"a",t:"用户"},["/zh/guide/user/index.html","/zh/guide/user/README.md"]],["v-1ab8cbc1","/zh/principle/architecture/",{y:"a",t:"架构"},["/zh/principle/architecture/index.html","/zh/principle/architecture/README.md"]],["v-38beca7b","/zh/principle/core-modules/",{y:"a",t:"核心模块"},["/zh/principle/core-modules/index.html","/zh/principle/core-modules/README.md"]],["v-210599ce","/zh/principle/database/",{y:"a",t:"数据库"},["/zh/principle/database/index.html","/zh/principle/database/README.md"]],["v-57036580","/zh/principle/database/mongodb.html",{y:"a",t:"MongoDB"},["/zh/principle/database/mongodb","/zh/principle/database/mongodb.md"]],["v-7ab8e2a9","/zh/principle/filesystem/",{y:"a",t:"文件系统"},["/zh/principle/filesystem/index.html","/zh/principle/filesystem/README.md"]],["v-5df18ad9","/zh/principle/filesystem/seaweedfs.html",{y:"a",t:"SeaweedFS"},["/zh/principle/filesystem/seaweedfs","/zh/principle/filesystem/seaweedfs.md"]],["v-0ca94962","/zh/principle/frontend/",{y:"a",t:"Frontend"},["/zh/principle/frontend/index.html","/zh/principle/frontend/README.md"]],["v-2dbb71f2","/zh/principle/node/",{y:"a",t:"节点"},["/zh/principle/node/index.html","/zh/principle/node/README.md"]],["v-d5216744","/zh/principle/node/master-node.html",{y:"a",t:"主节点"},["/zh/principle/node/master-node","/zh/principle/node/master-node.md"]],["v-29685b88","/zh/principle/node/node-communication.html",{y:"a",t:"节点通信"},["/zh/principle/node/node-communication","/zh/principle/node/node-communication.md"]],["v-0aa8c27a","/zh/principle/node/worker-node.html",{y:"a",t:"工作节点"},["/zh/principle/node/worker-node","/zh/principle/node/worker-node.md"]],["v-77aaf5e4","/en/develop/plugins/",{y:"a",t:"Develop Plugins"},["/en/develop/plugins/index.html","/en/develop/plugins/README.md"]],["v-13a7110f","/en/guide/cli/",{y:"a",t:"CLI"},["/en/guide/cli/index.html","/en/guide/cli/README.md"]],["v-18d1e7b2","/en/guide/basic-tutorial/",{y:"a",t:"Quick Tutorial"},["/en/guide/basic-tutorial/index.html","/en/guide/basic-tutorial/README.md"]],["v-7734c03a","/en/guide/data-sources/",{y:"a",t:"Data Sources"},["/en/guide/data-sources/index.html","/en/guide/data-sources/README.md"]],["v-61461c6b","/en/guide/deps/",{y:"a",t:"Dependencies Management"},["/en/guide/deps/index.html","/en/guide/deps/README.md"]],["v-96009232","/en/guide/monitoring/",{y:"a",t:"Monitoring"},["/en/guide/monitoring/index.html","/en/guide/monitoring/README.md"]],["v-d33c8996","/en/guide/installation/",{y:"a",t:"Installation"},["/en/guide/installation/index.html","/en/guide/installation/README.md"]],["v-9cbccf3a","/en/guide/installation/direct-deploy.html",{y:"a",t:"Direct Deploy"},["/en/guide/installation/direct-deploy","/en/guide/installation/direct-deploy.md"]],["v-296c4864","/en/guide/installation/docker.html",{y:"a",t:"Installation: Docker"},["/en/guide/installation/docker","/en/guide/installation/docker.md"]],["v-cf613504","/en/guide/installation/kubernetes.html",{y:"a",t:"Kubernetes"},["/en/guide/installation/kubernetes","/en/guide/installation/kubernetes.md"]],["v-61d7646d","/en/guide/node/",{y:"a",t:"Node"},["/en/guide/node/index.html","/en/guide/node/README.md"]],["v-dd7a1372","/en/guide/notifications/",{y:"a",t:"Notifications"},["/en/guide/notifications/index.html","/en/guide/notifications/README.md"]],["v-9c13ebaa","/en/guide/permissions/",{y:"a",t:"Permissions Management"},["/en/guide/permissions/index.html","/en/guide/permissions/README.md"]],["v-a1a16d48","/en/guide/plugin/",{y:"a",t:"Plugin"},["/en/guide/plugin/index.html","/en/guide/plugin/README.md"]],["v-7f0c0a30","/en/guide/plugin/plugin-dependency.html",{y:"a",t:"plugin-dependency"},["/en/guide/plugin/plugin-dependency","/en/guide/plugin/plugin-dependency.md"]],["v-7cd31fe0","/en/guide/plugin/plugin-notification.html",{y:"a",t:"plugin-notification"},["/en/guide/plugin/plugin-notification","/en/guide/plugin/plugin-notification.md"]],["v-79c3e4e5","/en/guide/plugin/plugin-spider-assistant.html",{y:"a",t:"plugin-spider-assistant"},["/en/guide/plugin/plugin-spider-assistant","/en/guide/plugin/plugin-spider-assistant.md"]],["v-6a0a8636","/en/guide/project/",{y:"a",t:"Project"},["/en/guide/project/index.html","/en/guide/project/README.md"]],["v-03081278","/en/guide/schedule/",{y:"a",t:"Schedule"},["/en/guide/schedule/index.html","/en/guide/schedule/README.md"]],["v-540ad7ea","/en/guide/spider/",{y:"a",t:"Spider"},["/en/guide/spider/index.html","/en/guide/spider/README.md"]],["v-c11526b6","/en/guide/spider/file-editor.html",{y:"a",t:"File Editor"},["/en/guide/spider/file-editor","/en/guide/spider/file-editor.md"]],["v-66d3136f","/en/guide/spider/integration.html",{y:"a",t:"Spider Integration"},["/en/guide/spider/integration","/en/guide/spider/integration.md"]],["v-6225cd4a","/en/guide/task/",{y:"a",t:"Task"},["/en/guide/task/index.html","/en/guide/task/README.md"]],["v-39551954","/en/guide/token/",{y:"a",t:""},["/en/guide/token/index.html","/en/guide/token/README.md"]],["v-623bdfc4","/en/guide/user/",{y:"a",t:"User"},["/en/guide/user/index.html","/en/guide/user/README.md"]],["v-0d06c83c","/en/principle/architecture/",{y:"a",t:"Architecture"},["/en/principle/architecture/index.html","/en/principle/architecture/README.md"]],["v-2b0cc6f6","/en/principle/core-modules/",{y:"a",t:"Core Modules"},["/en/principle/core-modules/index.html","/en/principle/core-modules/README.md"]],["v-321aa514","/en/principle/database/",{y:"a",t:"Database"},["/en/principle/database/index.html","/en/principle/database/README.md"]],["v-781cc28a","/en/principle/database/mongodb.html",{y:"a",t:"MongoDB"},["/en/principle/database/mongodb","/en/principle/database/mongodb.md"]],["v-e87c7c38","/en/principle/filesystem/",{y:"a",t:"File System"},["/en/principle/filesystem/index.html","/en/principle/filesystem/README.md"]],["v-4fccb258","/en/principle/filesystem/seaweedfs.html",{y:"a",t:"SeaweedFS"},["/en/principle/filesystem/seaweedfs","/en/principle/filesystem/seaweedfs.md"]],["v-4f46bb5d","/en/principle/frontend/",{y:"a",t:"Frontend"},["/en/principle/frontend/index.html","/en/principle/frontend/README.md"]],["v-1c81cd26","/en/principle/node/",{y:"a",t:"Node"},["/en/principle/node/index.html","/en/principle/node/README.md"]],["v-f63ac44e","/en/principle/node/master-node.html",{y:"a",t:"Master Node"},["/en/principle/node/master-node","/en/principle/node/master-node.md"]],["v-6cdbf061","/en/principle/node/node-communication.html",{y:"a",t:"Node Communication"},["/en/principle/node/node-communication","/en/principle/node/node-communication.md"]],["v-0bc7d816","/en/principle/node/worker-node.html",{y:"a",t:"Worker Node"},["/en/principle/node/worker-node","/en/principle/node/worker-node.md"]],["v-349c8b0f","/zh/principle/core-modules/spider/",{y:"a",t:"Spider"},["/zh/principle/core-modules/spider/index.html","/zh/principle/core-modules/spider/README.md"]],["v-05f9905d","/zh/principle/core-modules/schedule/",{y:"a",t:"Schedule"},["/zh/principle/core-modules/schedule/index.html","/zh/principle/core-modules/schedule/README.md"]],["v-196405af","/zh/principle/core-modules/task/",{y:"a",t:"Task"},["/zh/principle/core-modules/task/index.html","/zh/principle/core-modules/task/README.md"]],["v-130b9e34","/en/principle/core-modules/spider/",{y:"a",t:"Spider"},["/en/principle/core-modules/spider/index.html","/en/principle/core-modules/spider/README.md"]],["v-04f06e42","/en/principle/core-modules/schedule/",{y:"a",t:"Schedule"},["/en/principle/core-modules/schedule/index.html","/en/principle/core-modules/schedule/README.md"]],["v-66579e14","/en/principle/core-modules/task/",{y:"a",t:"Task"},["/en/principle/core-modules/task/index.html","/en/principle/core-modules/task/README.md"]],["v-3706649a","/404.html",{y:"p",t:""},["/404"]]];var cn=y({name:"Vuepress",setup(){const e=Do();return()=>r(e.value)}}),as=()=>ns.reduce((e,[t,n,a,o])=>(e.push({name:t,path:n,component:cn,meta:a},...o.map(i=>({path:i,redirect:n}))),e),[{name:"404",path:"/:catchAll(.*)",component:cn}]),os=go,rs=()=>{const e=mo({history:os(Et("/")),routes:as(),scrollBehavior:(t,n,a)=>a||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{var a;(t.path!==n.path||n===ho)&&([le.value]=await Promise.all([ee.resolvePageData(t.name),(a=mn[t.name])==null?void 0:a.__asyncLoader()]))}),e},is=e=>{e.component("ClientOnly",Ke),e.component("Content",An)},ls=(e,t,n)=>{const a=L(t.currentRoute.value.path);O(()=>t.currentRoute.value.path,f=>a.value=f);const o=h(()=>ee.resolveLayouts(n)),i=h(()=>ee.resolveRouteLocale(Ee.value.locales,a.value)),l=h(()=>ee.resolveSiteLocaleData(Ee.value,i.value)),s=h(()=>ee.resolvePageFrontmatter(le.value)),c=h(()=>ee.resolvePageHeadTitle(le.value,l.value)),d=h(()=>ee.resolvePageHead(c.value,s.value,l.value)),v=h(()=>ee.resolvePageLang(le.value)),p=h(()=>ee.resolvePageLayout(le.value,o.value));return e.provide(Ao,o),e.provide(fn,s),e.provide(ko,c),e.provide(gn,d),e.provide(_n,v),e.provide(bn,p),e.provide(bt,i),e.provide(wn,l),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>s.value},$head:{get:()=>d.value},$headTitle:{get:()=>c.value},$lang:{get:()=>v.value},$page:{get:()=>le.value},$routeLocale:{get:()=>i.value},$site:{get:()=>Ee.value},$siteLocale:{get:()=>l.value},$withBase:{get:()=>Ae}}),{layouts:o,pageData:le,pageFrontmatter:s,pageHead:d,pageHeadTitle:c,pageLang:v,pageLayout:p,routeLocale:i,siteData:Ee,siteLocaleData:l}},ss=()=>{const e=Lo(),t=En(),n=L([]),a=()=>{e.value.forEach(i=>{const l=cs(i);l&&n.value.push(l)})},o=()=>{document.documentElement.lang=t.value,n.value.forEach(i=>{i.parentNode===document.head&&document.head.removeChild(i)}),n.value.splice(0,n.value.length),e.value.forEach(i=>{const l=us(i);l!==null&&(document.head.appendChild(l),n.value.push(l))})};dn(Ro,o),M(()=>{a(),o(),O(()=>e.value,()=>o())})},cs=([e,t,n=""])=>{const a=Object.entries(t).map(([s,c])=>j(c)?`[${s}=${JSON.stringify(c)}]`:c===!0?`[${s}]`:"").join(""),o=`head > ${e}${a}`;return Array.from(document.querySelectorAll(o)).find(s=>s.innerText===n)||null},us=([e,t,n])=>{if(!j(e))return null;const a=document.createElement(e);return _t(t)&&Object.entries(t).forEach(([o,i])=>{j(i)?a.setAttribute(o,i):i===!0&&a.setAttribute(o,"")}),j(n)&&a.appendChild(document.createTextNode(n)),a},ds=fo,vs=async()=>{var n;const e=ds({name:"VuepressApp",setup(){var a;ss();for(const o of He)(a=o.setup)==null||a.call(o);return()=>[r(_o),...He.flatMap(({rootComponents:o=[]})=>o.map(i=>r(i)))]}}),t=rs();is(e),ls(e,t,He);for(const a of He)await((n=a.enhance)==null?void 0:n.call(a,{app:e,router:t,siteData:Ee}));return e.use(t),{app:e,router:t}};vs().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{u as _,vs as createVueApp}; diff --git a/docs/.vuepress/dist/assets/arc-9d129129.js b/docs/.vuepress/dist/assets/arc-e99d9a62.js similarity index 98% rename from docs/.vuepress/dist/assets/arc-9d129129.js rename to docs/.vuepress/dist/assets/arc-e99d9a62.js index b8bfd86..4fc243f 100644 --- a/docs/.vuepress/dist/assets/arc-9d129129.js +++ b/docs/.vuepress/dist/assets/arc-e99d9a62.js @@ -1 +1 @@ -import{w as ln,c as B}from"./path-53f90ab3.js";import{an,ao as H,ap as q,aq as rn,ar as y,al as on,as as L,at as _,au as un,av as t,aw as sn,ax as tn,ay as fn}from"./mermaid.core-00b8b54a.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function mn(l){return l.endAngle}function pn(l){return l&&l.padAngle}function xn(l,h,I,D,v,A,C,a){var O=I-l,i=D-h,n=C-v,m=a-A,r=m*O-n*i;if(!(r*ru*u+G*G&&(j=P,z=x),{cx:j,cy:z,x01:-n,y01:-m,x11:j*(v/T-1),y11:z*(v/T-1)}}function vn(){var l=cn,h=yn,I=B(0),D=null,v=gn,A=mn,C=pn,a=null,O=ln(i);function i(){var n,m,r=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-rn,c=A.apply(this,arguments)-rn,F=un(c-f),o=c>f;if(a||(a=n=O()),sy))a.moveTo(0,0);else if(F>on-y)a.moveTo(s*H(f),s*q(f)),a.arc(0,0,s,f,c,!o),r>y&&(a.moveTo(r*H(c),r*q(c)),a.arc(0,0,r,c,f,o));else{var p=f,g=c,R=f,T=c,w=F,S=F,j=C.apply(this,arguments)/2,z=j>y&&(D?+D.apply(this,arguments):L(r*r+s*s)),P=_(un(s-r)/2,+I.apply(this,arguments)),x=P,d=P,e,u;if(z>y){var G=sn(z/r*q(j)),M=sn(z/s*q(j));(w-=G*2)>y?(G*=o?1:-1,R+=G,T-=G):(w=0,R=T=(f+c)/2),(S-=M*2)>y?(M*=o?1:-1,p+=M,g-=M):(S=0,p=g=(f+c)/2)}var J=s*H(p),K=s*q(p),N=r*H(T),Q=r*q(T);if(P>y){var U=s*H(g),V=s*q(g),X=r*H(R),Y=r*q(R),E;if(Fy?d>y?(e=W(X,Y,J,K,s,d,o),u=W(U,V,N,Q,s,d,o),a.moveTo(e.cx+e.x01,e.cy+e.y01),dy)||!(w>y)?a.lineTo(N,Q):x>y?(e=W(N,Q,U,V,r,-x,o),u=W(J,K,X,Y,r,-x,o),a.lineTo(e.cx+e.x01,e.cy+e.y01),xu*u+G*G&&(j=P,z=x),{cx:j,cy:z,x01:-n,y01:-m,x11:j*(v/T-1),y11:z*(v/T-1)}}function vn(){var l=cn,h=yn,I=B(0),D=null,v=gn,A=mn,C=pn,a=null,O=ln(i);function i(){var n,m,r=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-rn,c=A.apply(this,arguments)-rn,F=un(c-f),o=c>f;if(a||(a=n=O()),sy))a.moveTo(0,0);else if(F>on-y)a.moveTo(s*H(f),s*q(f)),a.arc(0,0,s,f,c,!o),r>y&&(a.moveTo(r*H(c),r*q(c)),a.arc(0,0,r,c,f,o));else{var p=f,g=c,R=f,T=c,w=F,S=F,j=C.apply(this,arguments)/2,z=j>y&&(D?+D.apply(this,arguments):L(r*r+s*s)),P=_(un(s-r)/2,+I.apply(this,arguments)),x=P,d=P,e,u;if(z>y){var G=sn(z/r*q(j)),M=sn(z/s*q(j));(w-=G*2)>y?(G*=o?1:-1,R+=G,T-=G):(w=0,R=T=(f+c)/2),(S-=M*2)>y?(M*=o?1:-1,p+=M,g-=M):(S=0,p=g=(f+c)/2)}var J=s*H(p),K=s*q(p),N=r*H(T),Q=r*q(T);if(P>y){var U=s*H(g),V=s*q(g),X=r*H(R),Y=r*q(R),E;if(Fy?d>y?(e=W(X,Y,J,K,s,d,o),u=W(U,V,N,Q,s,d,o),a.moveTo(e.cx+e.x01,e.cy+e.y01),dy)||!(w>y)?a.lineTo(N,Q):x>y?(e=W(N,Q,U,V,r,-x,o),u=W(J,K,X,Y,r,-x,o),a.lineTo(e.cx+e.x01,e.cy+e.y01),x"u"&&(S.yylloc={});var se=S.yylloc;h.push(se);var Ye=S.options&&S.options.ranges;typeof Mt.yy.parseError=="function"?this.parseError=Mt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ie(){var X;return X=g.pop()||S.lex()||ge,typeof X!="number"&&(X instanceof Array&&(g=X,X=g.pop()),X=x.symbols_[X]||X),X}for(var M,Lt,N,ae,Bt={},Xt,z,be,Wt;;){if(Lt=m[m.length-1],this.defaultActions[Lt]?N=this.defaultActions[Lt]:((M===null||typeof M>"u")&&(M=Ie()),N=Vt[Lt]&&Vt[Lt][M]),typeof N>"u"||!N.length||!N[0]){var re="";Wt=[];for(Xt in Vt[Lt])this.terminals_[Xt]&&Xt>Ne&&Wt.push("'"+this.terminals_[Xt]+"'");S.showPosition?re="Parse error on line "+(Pt+1)+`: +import{s as Ve,g as je,a as Ue,b as Fe,c as Ut,d as Ee,m as ze,e as Xe,f as Yt,h as Qt,l as _e,i as We,j as ke,w as Qe,k as le,n as xe}from"./mermaid.core-5f04c634.js";import"./commonjsHelpers-725317a4.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";var qt=function(){var e=function(Ot,_,x,m){for(x=x||{},m=Ot.length;m--;x[Ot[m]]=_);return x},t=[1,6],n=[1,7],o=[1,8],l=[1,9],i=[1,16],a=[1,11],r=[1,12],s=[1,13],u=[1,14],y=[1,15],d=[1,27],p=[1,33],C=[1,34],T=[1,35],R=[1,36],D=[1,37],L=[1,72],Y=[1,73],Q=[1,74],H=[1,75],q=[1,76],G=[1,77],K=[1,78],J=[1,38],Z=[1,39],$=[1,40],tt=[1,41],et=[1,42],it=[1,43],nt=[1,44],st=[1,45],at=[1,46],rt=[1,47],lt=[1,48],ot=[1,49],ct=[1,50],ht=[1,51],ut=[1,52],dt=[1,53],ft=[1,54],pt=[1,55],yt=[1,56],gt=[1,57],bt=[1,59],_t=[1,60],xt=[1,61],mt=[1,62],vt=[1,63],Et=[1,64],kt=[1,65],At=[1,66],Ct=[1,67],wt=[1,68],Tt=[1,69],Nt=[24,52],$t=[24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],It=[15,24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],v=[1,94],E=[1,95],k=[1,96],A=[1,97],w=[15,24,52],fe=[7,8,9,10,18,22,25,26,27,28],pe=[15,24,43,52],zt=[15,24,43,52,86,87,89,90],Dt=[15,43],te=[44,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],ee={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"C4_CONTEXT",24:"EOF",25:"C4_CONTAINER",26:"C4_COMPONENT",27:"C4_DYNAMIC",28:"C4_DEPLOYMENT",32:"title",33:"accDescription",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",43:"LBRACE",44:"ENTERPRISE_BOUNDARY",46:"SYSTEM_BOUNDARY",47:"BOUNDARY",48:"CONTAINER_BOUNDARY",49:"NODE",50:"NODE_L",51:"NODE_R",52:"RBRACE",54:"PERSON",55:"PERSON_EXT",56:"SYSTEM",57:"SYSTEM_DB",58:"SYSTEM_QUEUE",59:"SYSTEM_EXT",60:"SYSTEM_EXT_DB",61:"SYSTEM_EXT_QUEUE",62:"CONTAINER",63:"CONTAINER_DB",64:"CONTAINER_QUEUE",65:"CONTAINER_EXT",66:"CONTAINER_EXT_DB",67:"CONTAINER_EXT_QUEUE",68:"COMPONENT",69:"COMPONENT_DB",70:"COMPONENT_QUEUE",71:"COMPONENT_EXT",72:"COMPONENT_EXT_DB",73:"COMPONENT_EXT_QUEUE",74:"REL",75:"BIREL",76:"REL_U",77:"REL_D",78:"REL_L",79:"REL_R",80:"REL_B",81:"REL_INDEX",82:"UPDATE_EL_STYLE",83:"UPDATE_REL_STYLE",84:"UPDATE_LAYOUT_CONFIG",86:"STR",87:"STR_KEY",88:"STR_VALUE",89:"ATTRIBUTE",90:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(_,x,m,g,O,h,Vt){var f=h.length-1;switch(O){case 4:g.setDirection("TB");break;case 5:g.setDirection("BT");break;case 6:g.setDirection("RL");break;case 7:g.setDirection("LR");break;case 11:g.parseDirective("%%{","open_directive");break;case 12:break;case 13:h[f]=h[f].trim().replace(/'/g,'"'),g.parseDirective(h[f],"arg_directive");break;case 14:g.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:g.setC4Type(h[f-3]);break;case 26:g.setTitle(h[f].substring(6)),this.$=h[f].substring(6);break;case 27:g.setAccDescription(h[f].substring(15)),this.$=h[f].substring(15);break;case 28:this.$=h[f].trim(),g.setTitle(this.$);break;case 29:case 30:this.$=h[f].trim(),g.setAccDescription(this.$);break;case 35:case 36:h[f].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 37:g.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 38:h[f].splice(2,0,"CONTAINER"),g.addContainerBoundary(...h[f]),this.$=h[f];break;case 39:g.addDeploymentNode("node",...h[f]),this.$=h[f];break;case 40:g.addDeploymentNode("nodeL",...h[f]),this.$=h[f];break;case 41:g.addDeploymentNode("nodeR",...h[f]),this.$=h[f];break;case 42:g.popBoundaryParseStack();break;case 46:g.addPersonOrSystem("person",...h[f]),this.$=h[f];break;case 47:g.addPersonOrSystem("external_person",...h[f]),this.$=h[f];break;case 48:g.addPersonOrSystem("system",...h[f]),this.$=h[f];break;case 49:g.addPersonOrSystem("system_db",...h[f]),this.$=h[f];break;case 50:g.addPersonOrSystem("system_queue",...h[f]),this.$=h[f];break;case 51:g.addPersonOrSystem("external_system",...h[f]),this.$=h[f];break;case 52:g.addPersonOrSystem("external_system_db",...h[f]),this.$=h[f];break;case 53:g.addPersonOrSystem("external_system_queue",...h[f]),this.$=h[f];break;case 54:g.addContainer("container",...h[f]),this.$=h[f];break;case 55:g.addContainer("container_db",...h[f]),this.$=h[f];break;case 56:g.addContainer("container_queue",...h[f]),this.$=h[f];break;case 57:g.addContainer("external_container",...h[f]),this.$=h[f];break;case 58:g.addContainer("external_container_db",...h[f]),this.$=h[f];break;case 59:g.addContainer("external_container_queue",...h[f]),this.$=h[f];break;case 60:g.addComponent("component",...h[f]),this.$=h[f];break;case 61:g.addComponent("component_db",...h[f]),this.$=h[f];break;case 62:g.addComponent("component_queue",...h[f]),this.$=h[f];break;case 63:g.addComponent("external_component",...h[f]),this.$=h[f];break;case 64:g.addComponent("external_component_db",...h[f]),this.$=h[f];break;case 65:g.addComponent("external_component_queue",...h[f]),this.$=h[f];break;case 67:g.addRel("rel",...h[f]),this.$=h[f];break;case 68:g.addRel("birel",...h[f]),this.$=h[f];break;case 69:g.addRel("rel_u",...h[f]),this.$=h[f];break;case 70:g.addRel("rel_d",...h[f]),this.$=h[f];break;case 71:g.addRel("rel_l",...h[f]),this.$=h[f];break;case 72:g.addRel("rel_r",...h[f]),this.$=h[f];break;case 73:g.addRel("rel_b",...h[f]),this.$=h[f];break;case 74:h[f].splice(0,1),g.addRel("rel",...h[f]),this.$=h[f];break;case 75:g.updateElStyle("update_el_style",...h[f]),this.$=h[f];break;case 76:g.updateRelStyle("update_rel_style",...h[f]),this.$=h[f];break;case 77:g.updateLayoutConfig("update_layout_config",...h[f]),this.$=h[f];break;case 78:this.$=[h[f]];break;case 79:h[f].unshift(h[f-1]),this.$=h[f];break;case 80:case 82:this.$=h[f].trim();break;case 81:let Pt={};Pt[h[f-1].trim()]=h[f].trim(),this.$=Pt;break;case 83:this.$="";break}},table:[{3:1,4:2,5:3,6:4,7:t,8:n,9:o,10:l,11:5,12:10,18:i,22:a,25:r,26:s,27:u,28:y},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:t,8:n,9:o,10:l,11:5,12:10,18:i,22:a,25:r,26:s,27:u,28:y},{1:[2,8]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{1:[2,7]},{13:18,19:[1,19]},{15:[1,20]},{15:[1,21]},{15:[1,22]},{15:[1,23]},{15:[1,24]},{19:[2,11]},{1:[2,3]},{14:25,16:[1,26],21:d},e([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:D,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{23:79,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:D,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{23:80,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:D,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{23:81,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:D,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{23:82,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:D,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},e(Nt,[2,20],{53:32,39:58,40:70,42:71,30:87,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt}),e(Nt,[2,21]),e($t,[2,23],{15:[1,88]}),e(Nt,[2,43],{15:[1,89]}),e(It,[2,26]),e(It,[2,27]),{35:[1,90]},{37:[1,91]},e(It,[2,30]),{45:92,85:93,86:v,87:E,89:k,90:A},{45:98,85:93,86:v,87:E,89:k,90:A},{45:99,85:93,86:v,87:E,89:k,90:A},{45:100,85:93,86:v,87:E,89:k,90:A},{45:101,85:93,86:v,87:E,89:k,90:A},{45:102,85:93,86:v,87:E,89:k,90:A},{45:103,85:93,86:v,87:E,89:k,90:A},{45:104,85:93,86:v,87:E,89:k,90:A},{45:105,85:93,86:v,87:E,89:k,90:A},{45:106,85:93,86:v,87:E,89:k,90:A},{45:107,85:93,86:v,87:E,89:k,90:A},{45:108,85:93,86:v,87:E,89:k,90:A},{45:109,85:93,86:v,87:E,89:k,90:A},{45:110,85:93,86:v,87:E,89:k,90:A},{45:111,85:93,86:v,87:E,89:k,90:A},{45:112,85:93,86:v,87:E,89:k,90:A},{45:113,85:93,86:v,87:E,89:k,90:A},{45:114,85:93,86:v,87:E,89:k,90:A},{45:115,85:93,86:v,87:E,89:k,90:A},{45:116,85:93,86:v,87:E,89:k,90:A},e(w,[2,66]),{45:117,85:93,86:v,87:E,89:k,90:A},{45:118,85:93,86:v,87:E,89:k,90:A},{45:119,85:93,86:v,87:E,89:k,90:A},{45:120,85:93,86:v,87:E,89:k,90:A},{45:121,85:93,86:v,87:E,89:k,90:A},{45:122,85:93,86:v,87:E,89:k,90:A},{45:123,85:93,86:v,87:E,89:k,90:A},{45:124,85:93,86:v,87:E,89:k,90:A},{45:125,85:93,86:v,87:E,89:k,90:A},{45:126,85:93,86:v,87:E,89:k,90:A},{45:127,85:93,86:v,87:E,89:k,90:A},{30:128,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{15:[1,130],43:[1,129]},{45:131,85:93,86:v,87:E,89:k,90:A},{45:132,85:93,86:v,87:E,89:k,90:A},{45:133,85:93,86:v,87:E,89:k,90:A},{45:134,85:93,86:v,87:E,89:k,90:A},{45:135,85:93,86:v,87:E,89:k,90:A},{45:136,85:93,86:v,87:E,89:k,90:A},{45:137,85:93,86:v,87:E,89:k,90:A},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},e(fe,[2,9]),{14:142,21:d},{21:[2,13]},{1:[2,15]},e(Nt,[2,22]),e($t,[2,24],{31:31,29:143,32:p,33:C,34:T,36:R,38:D}),e(Nt,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:p,33:C,34:T,36:R,38:D,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt}),e(It,[2,28]),e(It,[2,29]),e(w,[2,46]),e(pe,[2,78],{85:93,45:145,86:v,87:E,89:k,90:A}),e(zt,[2,80]),{88:[1,146]},e(zt,[2,82]),e(zt,[2,83]),e(w,[2,47]),e(w,[2,48]),e(w,[2,49]),e(w,[2,50]),e(w,[2,51]),e(w,[2,52]),e(w,[2,53]),e(w,[2,54]),e(w,[2,55]),e(w,[2,56]),e(w,[2,57]),e(w,[2,58]),e(w,[2,59]),e(w,[2,60]),e(w,[2,61]),e(w,[2,62]),e(w,[2,63]),e(w,[2,64]),e(w,[2,65]),e(w,[2,67]),e(w,[2,68]),e(w,[2,69]),e(w,[2,70]),e(w,[2,71]),e(w,[2,72]),e(w,[2,73]),e(w,[2,74]),e(w,[2,75]),e(w,[2,76]),e(w,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},e(Dt,[2,35]),e(Dt,[2,36]),e(Dt,[2,37]),e(Dt,[2,38]),e(Dt,[2,39]),e(Dt,[2,40]),e(Dt,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},e($t,[2,25]),e(Nt,[2,45]),e(pe,[2,79]),e(zt,[2,81]),e(w,[2,31]),e(w,[2,42]),e(te,[2,32]),e(te,[2,33],{15:[1,152]}),e(fe,[2,10]),e(te,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(_,x){if(x.recoverable)this.trace(_);else{var m=new Error(_);throw m.hash=x,m}},parse:function(_){var x=this,m=[0],g=[],O=[null],h=[],Vt=this.table,f="",Pt=0,ye=0,Ne=2,ge=1,Be=h.slice.call(arguments,1),S=Object.create(this.lexer),Mt={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(Mt.yy[ne]=this.yy[ne]);S.setInput(_,Mt.yy),Mt.yy.lexer=S,Mt.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var se=S.yylloc;h.push(se);var Ye=S.options&&S.options.ranges;typeof Mt.yy.parseError=="function"?this.parseError=Mt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ie(){var X;return X=g.pop()||S.lex()||ge,typeof X!="number"&&(X instanceof Array&&(g=X,X=g.pop()),X=x.symbols_[X]||X),X}for(var M,Lt,N,ae,Bt={},Xt,z,be,Wt;;){if(Lt=m[m.length-1],this.defaultActions[Lt]?N=this.defaultActions[Lt]:((M===null||typeof M>"u")&&(M=Ie()),N=Vt[Lt]&&Vt[Lt][M]),typeof N>"u"||!N.length||!N[0]){var re="";Wt=[];for(Xt in Vt[Lt])this.terminals_[Xt]&&Xt>Ne&&Wt.push("'"+this.terminals_[Xt]+"'");S.showPosition?re="Parse error on line "+(Pt+1)+`: `+S.showPosition()+` Expecting `+Wt.join(", ")+", got '"+(this.terminals_[M]||M)+"'":re="Parse error on line "+(Pt+1)+": Unexpected "+(M==ge?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(re,{text:S.match,token:this.terminals_[M]||M,line:S.yylineno,loc:se,expected:Wt})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Lt+", token: "+M);switch(N[0]){case 1:m.push(M),O.push(S.yytext),h.push(S.yylloc),m.push(N[1]),M=null,ye=S.yyleng,f=S.yytext,Pt=S.yylineno,se=S.yylloc;break;case 2:if(z=this.productions_[N[1]][1],Bt.$=O[O.length-z],Bt._$={first_line:h[h.length-(z||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(z||1)].first_column,last_column:h[h.length-1].last_column},Ye&&(Bt._$.range=[h[h.length-(z||1)].range[0],h[h.length-1].range[1]]),ae=this.performAction.apply(Bt,[f,ye,Pt,Mt.yy,N[1],O,h].concat(Be)),typeof ae<"u")return ae;z&&(m=m.slice(0,-1*z*2),O=O.slice(0,-1*z),h=h.slice(0,-1*z)),m.push(this.productions_[N[1]][0]),O.push(Bt.$),h.push(Bt._$),be=Vt[m[m.length-2]][m[m.length-1]],m.push(be);break;case 3:return!0}}return!0}},Le=function(){var Ot={EOF:1,parseError:function(x,m){if(this.yy.parser)this.yy.parser.parseError(x,m);else throw new Error(x)},setInput:function(_,x){return this.yy=x||this.yy||{},this._input=_,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var _=this._input[0];this.yytext+=_,this.yyleng++,this.offset++,this.match+=_,this.matched+=_;var x=_.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),_},unput:function(_){var x=_.length,m=_.split(/(?:\r\n?|\n)/g);this._input=_+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),m.length-1&&(this.yylineno-=m.length-1);var O=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:m?(m.length===g.length?this.yylloc.first_column:0)+g[g.length-m.length].length-m[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[O[0],O[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(_){this.unput(this.match.slice(_))},pastInput:function(){var _=this.matched.substr(0,this.matched.length-this.match.length);return(_.length>20?"...":"")+_.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var _=this.match;return _.length<20&&(_+=this._input.substr(0,20-_.length)),(_.substr(0,20)+(_.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var _=this.pastInput(),x=new Array(_.length+1).join("-");return _+this.upcomingInput()+` diff --git a/docs/.vuepress/dist/assets/classDiagram-634fc78b-e517915b.js b/docs/.vuepress/dist/assets/classDiagram-634fc78b-c30b05af.js similarity index 90% rename from docs/.vuepress/dist/assets/classDiagram-634fc78b-e517915b.js rename to docs/.vuepress/dist/assets/classDiagram-634fc78b-c30b05af.js index efd2b30..a968aa9 100644 --- a/docs/.vuepress/dist/assets/classDiagram-634fc78b-e517915b.js +++ b/docs/.vuepress/dist/assets/classDiagram-634fc78b-c30b05af.js @@ -1 +1 @@ -import{p as W,d as M,s as H}from"./styles-16907e1b-d59f3acb.js";import{c as S,l as d,h as u,i as X}from"./mermaid.core-00b8b54a.js";import{G as Y,l as Z}from"./layout-6fd5c641.js";import{s as l}from"./svgDraw-2526cba0-86ed4b4e.js";import"./commonjsHelpers-725317a4.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";import"./line-93633409.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";let h={};const g=20,p=function(e){const s=Object.entries(h).find(k=>k[1].label===e);if(s)return s[0]},$=function(e){e.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),e.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).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"),e.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).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"),e.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).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"),e.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).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"),e.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).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"),e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).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")},D=function(e,s,k,a){const c=S().class;h={},d.info("Rendering diagram "+e);const L=S().securityLevel;let y;L==="sandbox"&&(y=u("#i"+s));const x=L==="sandbox"?u(y.nodes()[0].contentDocument.body):u("body"),n=x.select(`[id='${s}']`);$(n);const r=new Y({multigraph:!0});r.setGraph({isMultiGraph:!0}),r.setDefaultEdgeLabel(function(){return{}});const m=a.db.getClasses(),N=Object.keys(m);for(const t of N){const o=m[t],i=l.drawClass(n,o,c,a);h[i.id]=i,r.setNode(i.id,i),d.info("Org height: "+i.height)}a.db.getRelations().forEach(function(t){d.info("tjoho"+p(t.id1)+p(t.id2)+JSON.stringify(t)),r.setEdge(p(t.id1),p(t.id2),{relation:t},t.title||"DEFAULT")}),a.db.getNotes().forEach(function(t){d.debug(`Adding note: ${JSON.stringify(t)}`);const o=l.drawNote(n,t,c,a);h[o.id]=o,r.setNode(o.id,o),t.class&&t.class in m&&r.setEdge(t.id,p(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),Z(r),r.nodes().forEach(function(t){t!==void 0&&r.node(t)!==void 0&&(d.debug("Node "+t+": "+JSON.stringify(r.node(t))),x.select("#"+(a.db.lookUpDomId(t)||t)).attr("transform","translate("+(r.node(t).x-r.node(t).width/2)+","+(r.node(t).y-r.node(t).height/2)+" )"))}),r.edges().forEach(function(t){t!==void 0&&r.edge(t)!==void 0&&(d.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(r.edge(t))),l.drawEdge(n,r.edge(t),r.edge(t).relation,c,a))});const f=n.node().getBBox(),E=f.width+g*2,b=f.height+g*2;X(n,b,E,c.useMaxWidth);const w=`${f.x-g} ${f.y-g} ${E} ${b}`;d.debug(`viewBox ${w}`),n.attr("viewBox",w)},B={draw:D},O={parser:W,db:M,renderer:B,styles:H,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,M.clear()}};export{O as diagram}; +import{p as W,d as M,s as H}from"./styles-16907e1b-08621a1b.js";import{c as S,l as d,h as u,i as X}from"./mermaid.core-5f04c634.js";import{G as Y,l as Z}from"./layout-2d03da6d.js";import{s as l}from"./svgDraw-2526cba0-39b24240.js";import"./commonjsHelpers-725317a4.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";import"./line-696a8ea1.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";let h={};const g=20,p=function(e){const s=Object.entries(h).find(k=>k[1].label===e);if(s)return s[0]},$=function(e){e.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),e.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).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"),e.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).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"),e.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).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"),e.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).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"),e.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).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"),e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).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")},D=function(e,s,k,a){const c=S().class;h={},d.info("Rendering diagram "+e);const L=S().securityLevel;let y;L==="sandbox"&&(y=u("#i"+s));const x=L==="sandbox"?u(y.nodes()[0].contentDocument.body):u("body"),n=x.select(`[id='${s}']`);$(n);const r=new Y({multigraph:!0});r.setGraph({isMultiGraph:!0}),r.setDefaultEdgeLabel(function(){return{}});const m=a.db.getClasses(),N=Object.keys(m);for(const t of N){const o=m[t],i=l.drawClass(n,o,c,a);h[i.id]=i,r.setNode(i.id,i),d.info("Org height: "+i.height)}a.db.getRelations().forEach(function(t){d.info("tjoho"+p(t.id1)+p(t.id2)+JSON.stringify(t)),r.setEdge(p(t.id1),p(t.id2),{relation:t},t.title||"DEFAULT")}),a.db.getNotes().forEach(function(t){d.debug(`Adding note: ${JSON.stringify(t)}`);const o=l.drawNote(n,t,c,a);h[o.id]=o,r.setNode(o.id,o),t.class&&t.class in m&&r.setEdge(t.id,p(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),Z(r),r.nodes().forEach(function(t){t!==void 0&&r.node(t)!==void 0&&(d.debug("Node "+t+": "+JSON.stringify(r.node(t))),x.select("#"+(a.db.lookUpDomId(t)||t)).attr("transform","translate("+(r.node(t).x-r.node(t).width/2)+","+(r.node(t).y-r.node(t).height/2)+" )"))}),r.edges().forEach(function(t){t!==void 0&&r.edge(t)!==void 0&&(d.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(r.edge(t))),l.drawEdge(n,r.edge(t),r.edge(t).relation,c,a))});const f=n.node().getBBox(),E=f.width+g*2,b=f.height+g*2;X(n,b,E,c.useMaxWidth);const w=`${f.x-g} ${f.y-g} ${E} ${b}`;d.debug(`viewBox ${w}`),n.attr("viewBox",w)},B={draw:D},O={parser:W,db:M,renderer:B,styles:H,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,M.clear()}};export{O as diagram}; diff --git a/docs/.vuepress/dist/assets/classDiagram-v2-72bddc41-72b95b90.js b/docs/.vuepress/dist/assets/classDiagram-v2-72bddc41-16843405.js similarity index 90% rename from docs/.vuepress/dist/assets/classDiagram-v2-72bddc41-72b95b90.js rename to docs/.vuepress/dist/assets/classDiagram-v2-72bddc41-16843405.js index 852bc7e..14e6f45 100644 --- a/docs/.vuepress/dist/assets/classDiagram-v2-72bddc41-72b95b90.js +++ b/docs/.vuepress/dist/assets/classDiagram-v2-72bddc41-16843405.js @@ -1,2 +1,2 @@ -import{p as _,d as T,s as M}from"./styles-16907e1b-d59f3acb.js";import{l as p,c as a,h as w,y as R,t as B,r as C,o as D,p as G,k as E}from"./mermaid.core-00b8b54a.js";import{G as I}from"./layout-6fd5c641.js";import{r as $}from"./index-5219d011-50992b0b.js";import"./createText-1f5f8f92-f405caff.js";import"./commonjsHelpers-725317a4.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";import"./edges-2e77835f-0b2286d7.js";import"./svgDraw-2526cba0-86ed4b4e.js";import"./line-93633409.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";const A=s=>E.sanitizeText(s,a());let S={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const z=function(s,l,f,n){const e=Object.keys(s);p.info("keys:",e),p.info(s),e.forEach(function(i){var o,r;const t=s[i];let y="";t.cssClasses.length>0&&(y=y+" "+t.cssClasses.join(" "));const c={labelStyle:"",style:""},m=t.label??t.id,d=0,u="class_box",b={labelStyle:c.labelStyle,shape:u,labelText:A(m),classData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.domId,tooltip:n.db.getTooltip(t.id)||"",haveCallback:t.haveCallback,link:t.link,width:t.type==="group"?500:void 0,type:t.type,padding:((o=a().flowchart)==null?void 0:o.padding)??((r=a().class)==null?void 0:r.padding)};l.setNode(t.id,b),p.info("setNode",b)})},q=function(s,l,f,n){p.info(s),s.forEach(function(e,i){var o,r;const t=e,y="",c={labelStyle:"",style:""},m=t.text,d=0,u="note",b={labelStyle:c.labelStyle,shape:u,labelText:A(m),noteData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.id,tooltip:"",type:"note",padding:((o=a().flowchart)==null?void 0:o.padding)??((r=a().class)==null?void 0:r.padding)};if(l.setNode(t.id,b),p.info("setNode",b),!t.class||!(t.class in n))return;const v=f+i,g={id:`edgeNote${v}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:C(S.curve,D)};l.setEdge(t.id,t.class,g,v)})},F=function(s,l){const f=a().flowchart;let n=0;s.forEach(function(e){var i;n++;const o={classes:"relation",pattern:e.relation.lineType==1?"dashed":"solid",id:"id"+n,arrowhead:e.type==="arrow_open"?"none":"normal",startLabelRight:e.relationTitle1==="none"?"":e.relationTitle1,endLabelLeft:e.relationTitle2==="none"?"":e.relationTitle2,arrowTypeStart:L(e.relation.type1),arrowTypeEnd:L(e.relation.type2),style:"fill:none",labelStyle:"",curve:C(f==null?void 0:f.curve,D)};if(p.info(o,e),e.style!==void 0){const r=G(e.style);o.style=r.style,o.labelStyle=r.labelStyle}e.text=e.title,e.text===void 0?e.style!==void 0&&(o.arrowheadStyle="fill: #333"):(o.arrowheadStyle="fill: #333",o.labelpos="c",((i=a().flowchart)==null?void 0:i.htmlLabels)??a().htmlLabels?(o.labelType="html",o.label=''+e.text+""):(o.labelType="text",o.label=e.text.replace(E.lineBreakRegex,` +import{p as _,d as T,s as M}from"./styles-16907e1b-08621a1b.js";import{l as p,c as a,h as w,y as R,t as B,r as C,o as D,p as G,k as E}from"./mermaid.core-5f04c634.js";import{G as I}from"./layout-2d03da6d.js";import{r as $}from"./index-5219d011-730b0cac.js";import"./createText-1f5f8f92-c2c40041.js";import"./commonjsHelpers-725317a4.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";import"./edges-2e77835f-a16bcc0b.js";import"./svgDraw-2526cba0-39b24240.js";import"./line-696a8ea1.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";const A=s=>E.sanitizeText(s,a());let S={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const z=function(s,l,f,n){const e=Object.keys(s);p.info("keys:",e),p.info(s),e.forEach(function(i){var o,r;const t=s[i];let y="";t.cssClasses.length>0&&(y=y+" "+t.cssClasses.join(" "));const c={labelStyle:"",style:""},m=t.label??t.id,d=0,u="class_box",b={labelStyle:c.labelStyle,shape:u,labelText:A(m),classData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.domId,tooltip:n.db.getTooltip(t.id)||"",haveCallback:t.haveCallback,link:t.link,width:t.type==="group"?500:void 0,type:t.type,padding:((o=a().flowchart)==null?void 0:o.padding)??((r=a().class)==null?void 0:r.padding)};l.setNode(t.id,b),p.info("setNode",b)})},q=function(s,l,f,n){p.info(s),s.forEach(function(e,i){var o,r;const t=e,y="",c={labelStyle:"",style:""},m=t.text,d=0,u="note",b={labelStyle:c.labelStyle,shape:u,labelText:A(m),noteData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.id,tooltip:"",type:"note",padding:((o=a().flowchart)==null?void 0:o.padding)??((r=a().class)==null?void 0:r.padding)};if(l.setNode(t.id,b),p.info("setNode",b),!t.class||!(t.class in n))return;const v=f+i,g={id:`edgeNote${v}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:C(S.curve,D)};l.setEdge(t.id,t.class,g,v)})},F=function(s,l){const f=a().flowchart;let n=0;s.forEach(function(e){var i;n++;const o={classes:"relation",pattern:e.relation.lineType==1?"dashed":"solid",id:"id"+n,arrowhead:e.type==="arrow_open"?"none":"normal",startLabelRight:e.relationTitle1==="none"?"":e.relationTitle1,endLabelLeft:e.relationTitle2==="none"?"":e.relationTitle2,arrowTypeStart:L(e.relation.type1),arrowTypeEnd:L(e.relation.type2),style:"fill:none",labelStyle:"",curve:C(f==null?void 0:f.curve,D)};if(p.info(o,e),e.style!==void 0){const r=G(e.style);o.style=r.style,o.labelStyle=r.labelStyle}e.text=e.title,e.text===void 0?e.style!==void 0&&(o.arrowheadStyle="fill: #333"):(o.arrowheadStyle="fill: #333",o.labelpos="c",((i=a().flowchart)==null?void 0:i.htmlLabels)??a().htmlLabels?(o.labelType="html",o.label=''+e.text+""):(o.labelType="text",o.label=e.text.replace(E.lineBreakRegex,` `),e.style===void 0&&(o.style=o.style||"stroke: #333; stroke-width: 1.5px;fill:none"),o.labelStyle=o.labelStyle.replace("color:","fill:"))),l.setEdge(e.id1,e.id2,o,n)})},H=function(s){S={...S,...s}},P=function(s,l,f,n){p.info("Drawing class - ",l);const e=a().flowchart??a().class,i=a().securityLevel;p.info("config:",e);const o=(e==null?void 0:e.nodeSpacing)??50,r=(e==null?void 0:e.rankSpacing)??50,t=new I({multigraph:!0,compound:!0}).setGraph({rankdir:n.db.getDirection(),nodesep:o,ranksep:r,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),y=n.db.getClasses(),c=n.db.getRelations(),m=n.db.getNotes();p.info(c),z(y,t,l,n),F(c,t),q(m,t,c.length+1,y);let d;i==="sandbox"&&(d=w("#i"+l));const u=i==="sandbox"?w(d.nodes()[0].contentDocument.body):w("body"),b=u.select(`[id="${l}"]`),v=u.select("#"+l+" g");if($(v,t,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",l),R.insertTitle(b,"classTitleText",(e==null?void 0:e.titleTopMargin)??5,n.db.getDiagramTitle()),B(t,b,e==null?void 0:e.diagramPadding,e==null?void 0:e.useMaxWidth),!(e!=null&&e.htmlLabels)){const g=i==="sandbox"?d.nodes()[0].contentDocument:document,N=g.querySelectorAll('[id="'+l+'"] .edgeLabel .label');for(const x of N){const k=x.getBBox(),h=g.createElementNS("http://www.w3.org/2000/svg","rect");h.setAttribute("rx",0),h.setAttribute("ry",0),h.setAttribute("width",k.width),h.setAttribute("height",k.height),x.insertBefore(h,x.firstChild)}}};function L(s){let l;switch(s){case 0:l="aggregation";break;case 1:l="extension";break;case 2:l="composition";break;case 3:l="dependency";break;case 4:l="lollipop";break;default:l="none"}return l}const V={setConf:H,draw:P},le={parser:_,db:T,renderer:V,styles:M,init:s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,T.clear()}};export{le as diagram}; diff --git a/docs/.vuepress/dist/assets/createText-1f5f8f92-f405caff.js b/docs/.vuepress/dist/assets/createText-1f5f8f92-c2c40041.js similarity index 99% rename from docs/.vuepress/dist/assets/createText-1f5f8f92-f405caff.js rename to docs/.vuepress/dist/assets/createText-1f5f8f92-c2c40041.js index 35de877..70de49a 100644 --- a/docs/.vuepress/dist/assets/createText-1f5f8f92-f405caff.js +++ b/docs/.vuepress/dist/assets/createText-1f5f8f92-c2c40041.js @@ -1,4 +1,4 @@ -import{l as lt,_ as ut}from"./mermaid.core-00b8b54a.js";var it=/\r\n?/g,ot=/\t/g,ct=/\f/g,J=function(t){return t.replace(it,` +import{l as lt,_ as ut}from"./mermaid.core-5f04c634.js";var it=/\r\n?/g,ot=/\t/g,ct=/\f/g,J=function(t){return t.replace(it,` `).replace(ct,"").replace(ot," ")},Q=function(t,e){var r=t||{};if(e!=null)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r},V=function(t,e){var r=Object.keys(t).filter(function(i){var u=t[i];if(u==null||u.match==null)return!1;var c=u.order;return(typeof c!="number"||!isFinite(c))&&typeof console<"u"&&console.warn("simple-markdown: Invalid order for rule `"+i+"`: "+String(c)),!0});r.sort(function(i,u){var c=t[i],f=t[u],s=c.order,p=f.order;if(s!==p)return s-p;var h=c.quality?0:1,g=f.quality?0:1;return h!==g?h-g:iu?1:0});var a,l=function i(u,c){var f=[];for(c=c||a,a=c;u;){var s=null,p=null,h=null,g=NaN,S=0,x=r[0],y=t[x];do{var E=y.order,b=c.prevCapture==null?"":c.prevCapture[0],k=y.match(u,c,b);if(k){var A=y.quality?y.quality(k,c,b):0;A<=g||(s=x,p=y,h=k,g=A)}S++,x=r[S],y=t[x]}while(y&&(!h||y.order===E&&y.quality));if(p==null||h==null)throw new Error("Could not find a matching rule for the below content. The rule with highest `order` should always match content provided to it. Check the definition of `match` for '"+r[r.length-1]+`'. It seems to not match the following source: `+u);if(h.index)throw new Error("`match` must return a capture starting at index 0 (the current parse index). Did you forget a ^ at the start of the RegExp?");var w=p.parse(h,i,c);if(Array.isArray(w))Array.prototype.push.apply(f,w);else{if(w==null||typeof w!="object")throw new Error("parse() function returned invalid parse result: '".concat(w,"'"));w.type==null&&(w.type=s),f.push(w)}c.prevCapture=h,u=u.substring(c.prevCapture[0].length)}return f},o=function(u,c){return a=Q(c,e),!a.inline&&!a.disableAutoBlockNewlines&&(u=u+` diff --git a/docs/.vuepress/dist/assets/edges-2e77835f-0b2286d7.js b/docs/.vuepress/dist/assets/edges-2e77835f-a16bcc0b.js similarity index 99% rename from docs/.vuepress/dist/assets/edges-2e77835f-0b2286d7.js rename to docs/.vuepress/dist/assets/edges-2e77835f-a16bcc0b.js index cc05ddc..733fc7f 100644 --- a/docs/.vuepress/dist/assets/edges-2e77835f-0b2286d7.js +++ b/docs/.vuepress/dist/assets/edges-2e77835f-a16bcc0b.js @@ -1,4 +1,4 @@ -import{q as R,c as w,d as z,_ as D,h as L,l as y,y as U,a2 as Q}from"./mermaid.core-00b8b54a.js";import{c as P}from"./createText-1f5f8f92-f405caff.js";import{p as V}from"./svgDraw-2526cba0-86ed4b4e.js";import{l as et}from"./line-93633409.js";const st=(r,t,e,l)=>{t.forEach(a=>{bt[a](r,e,l)})},it=(r,t,e)=>{y.trace("Making markers for ",e),r.append("defs").append("marker").attr("id",t+"-extensionStart").attr("class","marker extension "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),r.append("defs").append("marker").attr("id",t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},lt=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-compositionStart").attr("class","marker composition "+t).attr("refX",0).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"),r.append("defs").append("marker").attr("id",t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",19).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")},nt=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",0).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"),r.append("defs").append("marker").attr("id",t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",19).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")},ct=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",0).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"),r.append("defs").append("marker").attr("id",t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",19).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")},ht=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},ot=(r,t)=>{r.append("marker").attr("id",t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 12 20").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).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"),r.append("marker").attr("id",t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).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")},ft=(r,t)=>{r.append("marker").attr("id",t+"-circleEnd").attr("class","marker "+t).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"),r.append("marker").attr("id",t+"-circleStart").attr("class","marker "+t).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")},pt=(r,t)=>{r.append("marker").attr("id",t+"-crossEnd").attr("class","marker cross "+t).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"),r.append("marker").attr("id",t+"-crossStart").attr("class","marker cross "+t).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")},dt=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},bt={extension:it,composition:lt,aggregation:nt,dependency:ct,lollipop:ht,point:ot,circle:ft,cross:pt,barb:dt},Kt=st;function xt(r,t){t&&r.attr("style",t)}function yt(r){const t=L(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),e=t.append("xhtml:div"),l=r.label,a=r.isNode?"nodeLabel":"edgeLabel";return e.html('"+l+""),xt(e,r.labelStyle),e.style("display","inline-block"),e.style("white-space","nowrap"),e.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}const gt=(r,t,e,l)=>{let a=r||"";if(typeof a=="object"&&(a=a[0]),R(w().flowchart.htmlLabels)){a=a.replace(/\\n|\n/g,"
"),y.info("vertexText"+a);const s={isNode:l,label:D(a).replace(/fa[blrs]?:fa-[\w-]+/g,n=>``),labelStyle:t.replace("fill:","color:")};return yt(s)}else{const s=document.createElementNS("http://www.w3.org/2000/svg","text");s.setAttribute("style",t.replace("color:","fill:"));let i=[];typeof a=="string"?i=a.split(/\\n|\n|/gi):Array.isArray(a)?i=a:i=[];for(const n of i){const c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),e?c.setAttribute("class","title-row"):c.setAttribute("class","row"),c.textContent=n.trim(),s.appendChild(c)}return s}},T=gt,S=(r,t,e,l)=>{let a;const s=t.useHtmlLabels||R(w().flowchart.htmlLabels);e?a=e:a="node default";const i=r.insert("g").attr("class",a).attr("id",t.domId||t.id),n=i.insert("g").attr("class","label").attr("style",t.labelStyle);let c;t.labelText===void 0?c="":c=typeof t.labelText=="string"?t.labelText:t.labelText[0];const o=n.node();let h;t.labelType==="markdown"?h=P(n,z(D(c),w()),{useHtmlLabels:s,width:t.width||w().flowchart.wrappingWidth,classes:"markdown-node-label"}):h=o.appendChild(T(z(D(c),w()),t.labelStyle,!1,l));let f=h.getBBox();if(R(w().flowchart.htmlLabels)){const p=h.children[0],d=L(h);f=p.getBoundingClientRect(),d.attr("width",f.width),d.attr("height",f.height)}const b=t.padding/2;return s?n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):n.attr("transform","translate("+0+", "+-f.height/2+")"),t.centerLabel&&n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:i,bbox:f,halfPadding:b,label:n}},m=(r,t)=>{const e=t.node().getBBox();r.width=e.width,r.height=e.height};function I(r,t,e,l){return r.insert("polygon",":first-child").attr("points",l.map(function(a){return a.x+","+a.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+e/2+")")}function ut(r,t){return r.intersect(t)}function tt(r,t,e,l){var a=r.x,s=r.y,i=a-l.x,n=s-l.y,c=Math.sqrt(t*t*n*n+e*e*i*i),o=Math.abs(t*e*i/c);l.x0}function kt(r,t,e){var l=r.x,a=r.y,s=[],i=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(d){i=Math.min(i,d.x),n=Math.min(n,d.y)}):(i=Math.min(i,t.x),n=Math.min(n,t.y));for(var c=l-r.width/2-i,o=a-r.height/2-n,h=0;h1&&s.sort(function(d,x){var g=d.x-e.x,k=d.y-e.y,H=Math.sqrt(g*g+k*k),N=x.x-e.x,B=x.y-e.y,X=Math.sqrt(N*N+B*B);return H{var e=r.x,l=r.y,a=t.x-e,s=t.y-l,i=r.width/2,n=r.height/2,c,o;return Math.abs(s)*i>Math.abs(a)*n?(s<0&&(n=-n),c=s===0?0:n*a/s,o=n):(a<0&&(i=-i),c=i,o=a===0?0:i*s/a),{x:e+c,y:l+o}},Lt=vt,u={node:ut,circle:wt,ellipse:tt,polygon:kt,rect:Lt},St=(r,t)=>{t.useHtmlLabels||w().flowchart.htmlLabels||(t.centerLabel=!0);const{shapeSvg:l,bbox:a,halfPadding:s}=S(r,t,"node "+t.classes,!0);y.info("Classes = ",t.classes);const i=l.insert("rect",":first-child");return i.attr("rx",t.rx).attr("ry",t.ry).attr("x",-a.width/2-s).attr("y",-a.height/2-s).attr("width",a.width+t.padding).attr("height",a.height+t.padding),m(t,i),t.intersect=function(n){return u.rect(t,n)},l},Et=St,J=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=a+s,n=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}];y.info("Question main (Circle)");const c=I(e,i,i,n);return c.attr("style",t.style),m(t,c),t.intersect=function(o){return y.warn("Intersect called"),u.polygon(t,n,o)},e},Bt=(r,t)=>{const e=r.insert("g").attr("class","node default").attr("id",t.domId||t.id),l=28,a=[{x:0,y:l/2},{x:l/2,y:0},{x:0,y:-l/2},{x:-l/2,y:0}];return e.insert("polygon",":first-child").attr("points",a.map(function(i){return i.x+","+i.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),t.width=28,t.height=28,t.intersect=function(i){return u.circle(t,14,i)},e},Mt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=4,s=l.height+t.padding,i=s/a,n=l.width+2*i+t.padding,c=[{x:i,y:0},{x:n-i,y:0},{x:n,y:-s/2},{x:n-i,y:-s},{x:i,y:-s},{x:0,y:-s/2}],o=I(e,n,s,c);return o.attr("style",t.style),m(t,o),t.intersect=function(h){return u.polygon(t,c,h)},e},Ct=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:-s/2,y:0},{x:a,y:0},{x:a,y:-s},{x:-s/2,y:-s},{x:0,y:-s/2}];return I(e,a,s,i).attr("style",t.style),t.width=a+s,t.height=s,t.intersect=function(c){return u.polygon(t,i,c)},e},Tt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:-2*s/6,y:0},{x:a-s/6,y:0},{x:a+2*s/6,y:-s},{x:s/6,y:-s}],n=I(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},Rt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:2*s/6,y:0},{x:a+s/6,y:0},{x:a-2*s/6,y:-s},{x:-s/6,y:-s}],n=I(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},Ht=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:-2*s/6,y:0},{x:a+2*s/6,y:0},{x:a-s/6,y:-s},{x:s/6,y:-s}],n=I(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},_t=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:s/6,y:0},{x:a-s/6,y:0},{x:a+2*s/6,y:-s},{x:-2*s/6,y:-s}],n=I(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},It=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:0,y:0},{x:a+s/2,y:0},{x:a,y:-s/2},{x:a+s/2,y:-s},{x:0,y:-s}],n=I(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},Nt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=a/2,i=s/(2.5+a/50),n=l.height+i+t.padding,c="M 0,"+i+" a "+s+","+i+" 0,0,0 "+a+" 0 a "+s+","+i+" 0,0,0 "+-a+" 0 l 0,"+n+" a "+s+","+i+" 0,0,0 "+a+" 0 l 0,"+-n,o=e.attr("label-offset-y",i).insert("path",":first-child").attr("style",t.style).attr("d",c).attr("transform","translate("+-a/2+","+-(n/2+i)+")");return m(t,o),t.intersect=function(h){const f=u.rect(t,h),b=f.x-t.x;if(s!=0&&(Math.abs(b)t.height/2-i)){let p=i*i*(1-b*b/(s*s));p!=0&&(p=Math.sqrt(p)),p=i-p,h.y-t.y>0&&(p=-p),f.y+=p}return f},e},$t=(r,t)=>{const{shapeSvg:e,bbox:l,halfPadding:a}=S(r,t,"node "+t.classes,!0),s=e.insert("rect",":first-child"),i=l.width+t.padding,n=l.height+t.padding;if(s.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",-l.width/2-a).attr("y",-l.height/2-a).attr("width",i).attr("height",n),t.props){const c=new Set(Object.keys(t.props));t.props.borders&&(rt(s,t.props.borders,i,n),c.delete("borders")),c.forEach(o=>{y.warn(`Unknown node property ${o}`)})}return m(t,s),t.intersect=function(c){return u.rect(t,c)},e},Wt=(r,t)=>{const{shapeSvg:e}=S(r,t,"label",!0);y.trace("Classes = ",t.classes);const l=e.insert("rect",":first-child"),a=0,s=0;if(l.attr("width",a).attr("height",s),e.attr("class","label edgeLabel"),t.props){const i=new Set(Object.keys(t.props));t.props.borders&&(rt(l,t.props.borders,a,s),i.delete("borders")),i.forEach(n=>{y.warn(`Unknown node property ${n}`)})}return m(t,l),t.intersect=function(i){return u.rect(t,i)},e};function rt(r,t,e,l){const a=[],s=n=>{a.push(n,0)},i=n=>{a.push(0,n)};t.includes("t")?(y.debug("add top border"),s(e)):i(e),t.includes("r")?(y.debug("add right border"),s(l)):i(l),t.includes("b")?(y.debug("add bottom border"),s(e)):i(e),t.includes("l")?(y.debug("add left border"),s(l)):i(l),r.attr("stroke-dasharray",a.join(" "))}const Xt=(r,t)=>{let e;t.classes?e="node "+t.classes:e="node default";const l=r.insert("g").attr("class",e).attr("id",t.domId||t.id),a=l.insert("rect",":first-child"),s=l.insert("line"),i=l.insert("g").attr("class","label"),n=t.labelText.flat?t.labelText.flat():t.labelText;let c="";typeof n=="object"?c=n[0]:c=n,y.info("Label text abc79",c,n,typeof n=="object");const o=i.node().appendChild(T(c,t.labelStyle,!0,!0));let h={width:0,height:0};if(R(w().flowchart.htmlLabels)){const x=o.children[0],g=L(o);h=x.getBoundingClientRect(),g.attr("width",h.width),g.attr("height",h.height)}y.info("Text 2",n);const f=n.slice(1,n.length);let b=o.getBBox();const p=i.node().appendChild(T(f.join?f.join("
"):f,t.labelStyle,!0,!0));if(R(w().flowchart.htmlLabels)){const x=p.children[0],g=L(p);h=x.getBoundingClientRect(),g.attr("width",h.width),g.attr("height",h.height)}const d=t.padding/2;return L(p).attr("transform","translate( "+(h.width>b.width?0:(b.width-h.width)/2)+", "+(b.height+d+5)+")"),L(o).attr("transform","translate( "+(h.width{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.height+t.padding,s=l.width+a/4+t.padding,i=e.insert("rect",":first-child").attr("style",t.style).attr("rx",a/2).attr("ry",a/2).attr("x",-s/2).attr("y",-a/2).attr("width",s).attr("height",a);return m(t,i),t.intersect=function(n){return u.rect(t,n)},e},Ut=(r,t)=>{const{shapeSvg:e,bbox:l,halfPadding:a}=S(r,t,void 0,!0),s=e.insert("circle",":first-child");return s.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",l.width/2+a).attr("width",l.width+t.padding).attr("height",l.height+t.padding),y.info("Circle main"),m(t,s),t.intersect=function(i){return y.info("Circle intersect",t,l.width/2+a,i),u.circle(t,l.width/2+a,i)},e},At=(r,t)=>{const{shapeSvg:e,bbox:l,halfPadding:a}=S(r,t,void 0,!0),s=5,i=e.insert("g",":first-child"),n=i.insert("circle"),c=i.insert("circle");return n.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",l.width/2+a+s).attr("width",l.width+t.padding+s*2).attr("height",l.height+t.padding+s*2),c.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",l.width/2+a).attr("width",l.width+t.padding).attr("height",l.height+t.padding),y.info("DoubleCircle main"),m(t,n),t.intersect=function(o){return y.info("DoubleCircle intersect",t,l.width/2+a+s,o),u.circle(t,l.width/2+a+s,o)},e},Ot=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:0,y:0},{x:a,y:0},{x:a,y:-s},{x:0,y:-s},{x:0,y:0},{x:-8,y:0},{x:a+8,y:0},{x:a+8,y:-s},{x:-8,y:-s},{x:-8,y:0}],n=I(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},jt=(r,t)=>{const e=r.insert("g").attr("class","node default").attr("id",t.domId||t.id),l=e.insert("circle",":first-child");return l.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),m(t,l),t.intersect=function(a){return u.circle(t,7,a)},e},F=(r,t,e)=>{const l=r.insert("g").attr("class","node default").attr("id",t.domId||t.id);let a=70,s=10;e==="LR"&&(a=10,s=70);const i=l.append("rect").attr("x",-1*a/2).attr("y",-1*s/2).attr("width",a).attr("height",s).attr("class","fork-join");return m(t,i),t.height=t.height+t.padding/2,t.width=t.width+t.padding/2,t.intersect=function(n){return u.rect(t,n)},l},Dt=(r,t)=>{const e=r.insert("g").attr("class","node default").attr("id",t.domId||t.id),l=e.insert("circle",":first-child"),a=e.insert("circle",":first-child");return a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),l.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),m(t,a),t.intersect=function(s){return u.circle(t,7,s)},e},Zt=(r,t)=>{const e=t.padding/2,l=4,a=8;let s;t.classes?s="node "+t.classes:s="node default";const i=r.insert("g").attr("class",s).attr("id",t.domId||t.id),n=i.insert("rect",":first-child"),c=i.insert("line"),o=i.insert("line");let h=0,f=l;const b=i.insert("g").attr("class","label");let p=0;const d=t.classData.annotations&&t.classData.annotations[0],x=t.classData.annotations[0]?"«"+t.classData.annotations[0]+"»":"",g=b.node().appendChild(T(x,t.labelStyle,!0,!0));let k=g.getBBox();if(R(w().flowchart.htmlLabels)){const E=g.children[0],M=L(g);k=E.getBoundingClientRect(),M.attr("width",k.width),M.attr("height",k.height)}t.classData.annotations[0]&&(f+=k.height+l,h+=k.width);let H=t.classData.label;t.classData.type!==void 0&&t.classData.type!==""&&(w().flowchart.htmlLabels?H+="<"+t.classData.type+">":H+="<"+t.classData.type+">");const N=b.node().appendChild(T(H,t.labelStyle,!0,!0));L(N).attr("class","classTitle");let B=N.getBBox();if(R(w().flowchart.htmlLabels)){const E=N.children[0],M=L(N);B=E.getBoundingClientRect(),M.attr("width",B.width),M.attr("height",B.height)}f+=B.height+l,B.width>h&&(h=B.width);const X=[];t.classData.members.forEach(E=>{const M=V(E);let $=M.displayText;w().flowchart.htmlLabels&&($=$.replace(//g,">"));const _=b.node().appendChild(T($,M.cssStyle?M.cssStyle:t.labelStyle,!0,!0));let C=_.getBBox();if(R(w().flowchart.htmlLabels)){const j=_.children[0],Y=L(_);C=j.getBoundingClientRect(),Y.attr("width",C.width),Y.attr("height",C.height)}C.width>h&&(h=C.width),f+=C.height+l,X.push(_)}),f+=a;const Z=[];if(t.classData.methods.forEach(E=>{const M=V(E);let $=M.displayText;w().flowchart.htmlLabels&&($=$.replace(//g,">"));const _=b.node().appendChild(T($,M.cssStyle?M.cssStyle:t.labelStyle,!0,!0));let C=_.getBBox();if(R(w().flowchart.htmlLabels)){const j=_.children[0],Y=L(_);C=j.getBoundingClientRect(),Y.attr("width",C.width),Y.attr("height",C.height)}C.width>h&&(h=C.width),f+=C.height+l,Z.push(_)}),f+=a,d){let E=(h-k.width)/2;L(g).attr("transform","translate( "+(-1*h/2+E)+", "+-1*f/2+")"),p=k.height+l}let at=(h-B.width)/2;return L(N).attr("transform","translate( "+(-1*h/2+at)+", "+(-1*f/2+p)+")"),p+=B.height+l,c.attr("class","divider").attr("x1",-h/2-e).attr("x2",h/2+e).attr("y1",-f/2-e+a+p).attr("y2",-f/2-e+a+p),p+=a,X.forEach(E=>{L(E).attr("transform","translate( "+-h/2+", "+(-1*f/2+p+a/2)+")"),p+=B.height+l}),p+=a,o.attr("class","divider").attr("x1",-h/2-e).attr("x2",h/2+e).attr("y1",-f/2-e+a+p).attr("y2",-f/2-e+a+p),p+=a,Z.forEach(E=>{L(E).attr("transform","translate( "+-h/2+", "+(-1*f/2+p)+")"),p+=B.height+l}),n.attr("class","outer title-state").attr("x",-h/2-e).attr("y",-(f/2)-e).attr("width",h+t.padding).attr("height",f+t.padding),m(t,n),t.intersect=function(E){return u.rect(t,E)},i},K={rhombus:J,question:J,rect:$t,labelRect:Wt,rectWithTitle:Xt,choice:Bt,circle:Ut,doublecircle:At,stadium:Yt,hexagon:Mt,rect_left_inv_arrow:Ct,lean_right:Tt,lean_left:Rt,trapezoid:Ht,inv_trapezoid:_t,rect_right_inv_arrow:It,cylinder:Nt,start:jt,end:Dt,note:Et,subroutine:Ot,fork:F,join:F,class_box:Zt};let W={};const Gt=(r,t,e)=>{let l,a;if(t.link){let s;w().securityLevel==="sandbox"?s="_top":t.linkTarget&&(s=t.linkTarget||"_blank"),l=r.insert("svg:a").attr("xlink:href",t.link).attr("target",s),a=K[t.shape](l,t,e)}else a=K[t.shape](r,t,e),l=a;return t.tooltip&&a.attr("title",t.tooltip),t.class&&a.attr("class","node default "+t.class),W[t.id]=l,t.haveCallback&&W[t.id].attr("class",W[t.id].attr("class")+" clickable"),l},Pt=(r,t)=>{W[t.id]=r},tr=()=>{W={}},rr=r=>{const t=W[r.id];y.trace("Transforming node",r.diff,r,"translate("+(r.x-r.width/2-5)+", "+r.width/2+")");const e=8,l=r.diff||0;return r.clusterNode?t.attr("transform","translate("+(r.x+l-r.width/2)+", "+(r.y-r.height/2-e)+")"):t.attr("transform","translate("+r.x+", "+r.y+")"),l};let O={},v={};const ar=()=>{O={},v={}},er=(r,t)=>{const e=R(w().flowchart.htmlLabels),l=t.labelType==="markdown"?P(r,t.label,{style:t.labelStyle,useHtmlLabels:e,addSvgBackground:!0}):T(t.label,t.labelStyle);y.info("abc82",t,t.labelType);const a=r.insert("g").attr("class","edgeLabel"),s=a.insert("g").attr("class","label");s.node().appendChild(l);let i=l.getBBox();if(e){const c=l.children[0],o=L(l);i=c.getBoundingClientRect(),o.attr("width",i.width),o.attr("height",i.height)}s.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),O[t.id]=a,t.width=i.width,t.height=i.height;let n;if(t.startLabelLeft){const c=T(t.startLabelLeft,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),v[t.id]||(v[t.id]={}),v[t.id].startLeft=o,A(n,t.startLabelLeft)}if(t.startLabelRight){const c=T(t.startLabelRight,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=o.node().appendChild(c),h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),v[t.id]||(v[t.id]={}),v[t.id].startRight=o,A(n,t.startLabelRight)}if(t.endLabelLeft){const c=T(t.endLabelLeft,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),o.node().appendChild(c),v[t.id]||(v[t.id]={}),v[t.id].endLeft=o,A(n,t.endLabelLeft)}if(t.endLabelRight){const c=T(t.endLabelRight,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),o.node().appendChild(c),v[t.id]||(v[t.id]={}),v[t.id].endRight=o,A(n,t.endLabelRight)}return l};function A(r,t){w().flowchart.htmlLabels&&r&&(r.style.width=t.length*9+"px",r.style.height="12px")}const sr=(r,t)=>{y.info("Moving label abc78 ",r.id,r.label,O[r.id]);let e=t.updatedPath?t.updatedPath:t.originalPath;if(r.label){const l=O[r.id];let a=r.x,s=r.y;if(e){const i=U.calcLabelPosition(e);y.info("Moving label "+r.label+" from (",a,",",s,") to (",i.x,",",i.y,") abc78"),t.updatedPath&&(a=i.x,s=i.y)}l.attr("transform","translate("+a+", "+s+")")}if(r.startLabelLeft){const l=v[r.id].startLeft;let a=r.x,s=r.y;if(e){const i=U.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_left",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}if(r.startLabelRight){const l=v[r.id].startRight;let a=r.x,s=r.y;if(e){const i=U.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_right",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}if(r.endLabelLeft){const l=v[r.id].endLeft;let a=r.x,s=r.y;if(e){const i=U.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_left",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}if(r.endLabelRight){const l=v[r.id].endRight;let a=r.x,s=r.y;if(e){const i=U.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_right",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}},zt=(r,t)=>{const e=r.x,l=r.y,a=Math.abs(t.x-e),s=Math.abs(t.y-l),i=r.width/2,n=r.height/2;return a>=i||s>=n},Qt=(r,t,e)=>{y.warn(`intersection calc abc89: +import{q as R,c as w,d as z,_ as D,h as L,l as y,y as U,a2 as Q}from"./mermaid.core-5f04c634.js";import{c as P}from"./createText-1f5f8f92-c2c40041.js";import{p as V}from"./svgDraw-2526cba0-39b24240.js";import{l as et}from"./line-696a8ea1.js";const st=(r,t,e,l)=>{t.forEach(a=>{bt[a](r,e,l)})},it=(r,t,e)=>{y.trace("Making markers for ",e),r.append("defs").append("marker").attr("id",t+"-extensionStart").attr("class","marker extension "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),r.append("defs").append("marker").attr("id",t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},lt=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-compositionStart").attr("class","marker composition "+t).attr("refX",0).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"),r.append("defs").append("marker").attr("id",t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",19).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")},nt=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",0).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"),r.append("defs").append("marker").attr("id",t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",19).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")},ct=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",0).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"),r.append("defs").append("marker").attr("id",t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",19).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")},ht=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},ot=(r,t)=>{r.append("marker").attr("id",t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 12 20").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).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"),r.append("marker").attr("id",t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).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")},ft=(r,t)=>{r.append("marker").attr("id",t+"-circleEnd").attr("class","marker "+t).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"),r.append("marker").attr("id",t+"-circleStart").attr("class","marker "+t).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")},pt=(r,t)=>{r.append("marker").attr("id",t+"-crossEnd").attr("class","marker cross "+t).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"),r.append("marker").attr("id",t+"-crossStart").attr("class","marker cross "+t).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")},dt=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},bt={extension:it,composition:lt,aggregation:nt,dependency:ct,lollipop:ht,point:ot,circle:ft,cross:pt,barb:dt},Kt=st;function xt(r,t){t&&r.attr("style",t)}function yt(r){const t=L(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),e=t.append("xhtml:div"),l=r.label,a=r.isNode?"nodeLabel":"edgeLabel";return e.html('"+l+""),xt(e,r.labelStyle),e.style("display","inline-block"),e.style("white-space","nowrap"),e.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}const gt=(r,t,e,l)=>{let a=r||"";if(typeof a=="object"&&(a=a[0]),R(w().flowchart.htmlLabels)){a=a.replace(/\\n|\n/g,"
"),y.info("vertexText"+a);const s={isNode:l,label:D(a).replace(/fa[blrs]?:fa-[\w-]+/g,n=>``),labelStyle:t.replace("fill:","color:")};return yt(s)}else{const s=document.createElementNS("http://www.w3.org/2000/svg","text");s.setAttribute("style",t.replace("color:","fill:"));let i=[];typeof a=="string"?i=a.split(/\\n|\n|/gi):Array.isArray(a)?i=a:i=[];for(const n of i){const c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),e?c.setAttribute("class","title-row"):c.setAttribute("class","row"),c.textContent=n.trim(),s.appendChild(c)}return s}},T=gt,S=(r,t,e,l)=>{let a;const s=t.useHtmlLabels||R(w().flowchart.htmlLabels);e?a=e:a="node default";const i=r.insert("g").attr("class",a).attr("id",t.domId||t.id),n=i.insert("g").attr("class","label").attr("style",t.labelStyle);let c;t.labelText===void 0?c="":c=typeof t.labelText=="string"?t.labelText:t.labelText[0];const o=n.node();let h;t.labelType==="markdown"?h=P(n,z(D(c),w()),{useHtmlLabels:s,width:t.width||w().flowchart.wrappingWidth,classes:"markdown-node-label"}):h=o.appendChild(T(z(D(c),w()),t.labelStyle,!1,l));let f=h.getBBox();if(R(w().flowchart.htmlLabels)){const p=h.children[0],d=L(h);f=p.getBoundingClientRect(),d.attr("width",f.width),d.attr("height",f.height)}const b=t.padding/2;return s?n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):n.attr("transform","translate("+0+", "+-f.height/2+")"),t.centerLabel&&n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:i,bbox:f,halfPadding:b,label:n}},m=(r,t)=>{const e=t.node().getBBox();r.width=e.width,r.height=e.height};function I(r,t,e,l){return r.insert("polygon",":first-child").attr("points",l.map(function(a){return a.x+","+a.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+e/2+")")}function ut(r,t){return r.intersect(t)}function tt(r,t,e,l){var a=r.x,s=r.y,i=a-l.x,n=s-l.y,c=Math.sqrt(t*t*n*n+e*e*i*i),o=Math.abs(t*e*i/c);l.x0}function kt(r,t,e){var l=r.x,a=r.y,s=[],i=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(d){i=Math.min(i,d.x),n=Math.min(n,d.y)}):(i=Math.min(i,t.x),n=Math.min(n,t.y));for(var c=l-r.width/2-i,o=a-r.height/2-n,h=0;h1&&s.sort(function(d,x){var g=d.x-e.x,k=d.y-e.y,H=Math.sqrt(g*g+k*k),N=x.x-e.x,B=x.y-e.y,X=Math.sqrt(N*N+B*B);return H{var e=r.x,l=r.y,a=t.x-e,s=t.y-l,i=r.width/2,n=r.height/2,c,o;return Math.abs(s)*i>Math.abs(a)*n?(s<0&&(n=-n),c=s===0?0:n*a/s,o=n):(a<0&&(i=-i),c=i,o=a===0?0:i*s/a),{x:e+c,y:l+o}},Lt=vt,u={node:ut,circle:wt,ellipse:tt,polygon:kt,rect:Lt},St=(r,t)=>{t.useHtmlLabels||w().flowchart.htmlLabels||(t.centerLabel=!0);const{shapeSvg:l,bbox:a,halfPadding:s}=S(r,t,"node "+t.classes,!0);y.info("Classes = ",t.classes);const i=l.insert("rect",":first-child");return i.attr("rx",t.rx).attr("ry",t.ry).attr("x",-a.width/2-s).attr("y",-a.height/2-s).attr("width",a.width+t.padding).attr("height",a.height+t.padding),m(t,i),t.intersect=function(n){return u.rect(t,n)},l},Et=St,J=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=a+s,n=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}];y.info("Question main (Circle)");const c=I(e,i,i,n);return c.attr("style",t.style),m(t,c),t.intersect=function(o){return y.warn("Intersect called"),u.polygon(t,n,o)},e},Bt=(r,t)=>{const e=r.insert("g").attr("class","node default").attr("id",t.domId||t.id),l=28,a=[{x:0,y:l/2},{x:l/2,y:0},{x:0,y:-l/2},{x:-l/2,y:0}];return e.insert("polygon",":first-child").attr("points",a.map(function(i){return i.x+","+i.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),t.width=28,t.height=28,t.intersect=function(i){return u.circle(t,14,i)},e},Mt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=4,s=l.height+t.padding,i=s/a,n=l.width+2*i+t.padding,c=[{x:i,y:0},{x:n-i,y:0},{x:n,y:-s/2},{x:n-i,y:-s},{x:i,y:-s},{x:0,y:-s/2}],o=I(e,n,s,c);return o.attr("style",t.style),m(t,o),t.intersect=function(h){return u.polygon(t,c,h)},e},Ct=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:-s/2,y:0},{x:a,y:0},{x:a,y:-s},{x:-s/2,y:-s},{x:0,y:-s/2}];return I(e,a,s,i).attr("style",t.style),t.width=a+s,t.height=s,t.intersect=function(c){return u.polygon(t,i,c)},e},Tt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:-2*s/6,y:0},{x:a-s/6,y:0},{x:a+2*s/6,y:-s},{x:s/6,y:-s}],n=I(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},Rt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:2*s/6,y:0},{x:a+s/6,y:0},{x:a-2*s/6,y:-s},{x:-s/6,y:-s}],n=I(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},Ht=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:-2*s/6,y:0},{x:a+2*s/6,y:0},{x:a-s/6,y:-s},{x:s/6,y:-s}],n=I(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},_t=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:s/6,y:0},{x:a-s/6,y:0},{x:a+2*s/6,y:-s},{x:-2*s/6,y:-s}],n=I(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},It=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:0,y:0},{x:a+s/2,y:0},{x:a,y:-s/2},{x:a+s/2,y:-s},{x:0,y:-s}],n=I(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},Nt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=a/2,i=s/(2.5+a/50),n=l.height+i+t.padding,c="M 0,"+i+" a "+s+","+i+" 0,0,0 "+a+" 0 a "+s+","+i+" 0,0,0 "+-a+" 0 l 0,"+n+" a "+s+","+i+" 0,0,0 "+a+" 0 l 0,"+-n,o=e.attr("label-offset-y",i).insert("path",":first-child").attr("style",t.style).attr("d",c).attr("transform","translate("+-a/2+","+-(n/2+i)+")");return m(t,o),t.intersect=function(h){const f=u.rect(t,h),b=f.x-t.x;if(s!=0&&(Math.abs(b)t.height/2-i)){let p=i*i*(1-b*b/(s*s));p!=0&&(p=Math.sqrt(p)),p=i-p,h.y-t.y>0&&(p=-p),f.y+=p}return f},e},$t=(r,t)=>{const{shapeSvg:e,bbox:l,halfPadding:a}=S(r,t,"node "+t.classes,!0),s=e.insert("rect",":first-child"),i=l.width+t.padding,n=l.height+t.padding;if(s.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",-l.width/2-a).attr("y",-l.height/2-a).attr("width",i).attr("height",n),t.props){const c=new Set(Object.keys(t.props));t.props.borders&&(rt(s,t.props.borders,i,n),c.delete("borders")),c.forEach(o=>{y.warn(`Unknown node property ${o}`)})}return m(t,s),t.intersect=function(c){return u.rect(t,c)},e},Wt=(r,t)=>{const{shapeSvg:e}=S(r,t,"label",!0);y.trace("Classes = ",t.classes);const l=e.insert("rect",":first-child"),a=0,s=0;if(l.attr("width",a).attr("height",s),e.attr("class","label edgeLabel"),t.props){const i=new Set(Object.keys(t.props));t.props.borders&&(rt(l,t.props.borders,a,s),i.delete("borders")),i.forEach(n=>{y.warn(`Unknown node property ${n}`)})}return m(t,l),t.intersect=function(i){return u.rect(t,i)},e};function rt(r,t,e,l){const a=[],s=n=>{a.push(n,0)},i=n=>{a.push(0,n)};t.includes("t")?(y.debug("add top border"),s(e)):i(e),t.includes("r")?(y.debug("add right border"),s(l)):i(l),t.includes("b")?(y.debug("add bottom border"),s(e)):i(e),t.includes("l")?(y.debug("add left border"),s(l)):i(l),r.attr("stroke-dasharray",a.join(" "))}const Xt=(r,t)=>{let e;t.classes?e="node "+t.classes:e="node default";const l=r.insert("g").attr("class",e).attr("id",t.domId||t.id),a=l.insert("rect",":first-child"),s=l.insert("line"),i=l.insert("g").attr("class","label"),n=t.labelText.flat?t.labelText.flat():t.labelText;let c="";typeof n=="object"?c=n[0]:c=n,y.info("Label text abc79",c,n,typeof n=="object");const o=i.node().appendChild(T(c,t.labelStyle,!0,!0));let h={width:0,height:0};if(R(w().flowchart.htmlLabels)){const x=o.children[0],g=L(o);h=x.getBoundingClientRect(),g.attr("width",h.width),g.attr("height",h.height)}y.info("Text 2",n);const f=n.slice(1,n.length);let b=o.getBBox();const p=i.node().appendChild(T(f.join?f.join("
"):f,t.labelStyle,!0,!0));if(R(w().flowchart.htmlLabels)){const x=p.children[0],g=L(p);h=x.getBoundingClientRect(),g.attr("width",h.width),g.attr("height",h.height)}const d=t.padding/2;return L(p).attr("transform","translate( "+(h.width>b.width?0:(b.width-h.width)/2)+", "+(b.height+d+5)+")"),L(o).attr("transform","translate( "+(h.width{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.height+t.padding,s=l.width+a/4+t.padding,i=e.insert("rect",":first-child").attr("style",t.style).attr("rx",a/2).attr("ry",a/2).attr("x",-s/2).attr("y",-a/2).attr("width",s).attr("height",a);return m(t,i),t.intersect=function(n){return u.rect(t,n)},e},Ut=(r,t)=>{const{shapeSvg:e,bbox:l,halfPadding:a}=S(r,t,void 0,!0),s=e.insert("circle",":first-child");return s.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",l.width/2+a).attr("width",l.width+t.padding).attr("height",l.height+t.padding),y.info("Circle main"),m(t,s),t.intersect=function(i){return y.info("Circle intersect",t,l.width/2+a,i),u.circle(t,l.width/2+a,i)},e},At=(r,t)=>{const{shapeSvg:e,bbox:l,halfPadding:a}=S(r,t,void 0,!0),s=5,i=e.insert("g",":first-child"),n=i.insert("circle"),c=i.insert("circle");return n.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",l.width/2+a+s).attr("width",l.width+t.padding+s*2).attr("height",l.height+t.padding+s*2),c.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",l.width/2+a).attr("width",l.width+t.padding).attr("height",l.height+t.padding),y.info("DoubleCircle main"),m(t,n),t.intersect=function(o){return y.info("DoubleCircle intersect",t,l.width/2+a+s,o),u.circle(t,l.width/2+a+s,o)},e},Ot=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:0,y:0},{x:a,y:0},{x:a,y:-s},{x:0,y:-s},{x:0,y:0},{x:-8,y:0},{x:a+8,y:0},{x:a+8,y:-s},{x:-8,y:-s},{x:-8,y:0}],n=I(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},jt=(r,t)=>{const e=r.insert("g").attr("class","node default").attr("id",t.domId||t.id),l=e.insert("circle",":first-child");return l.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),m(t,l),t.intersect=function(a){return u.circle(t,7,a)},e},F=(r,t,e)=>{const l=r.insert("g").attr("class","node default").attr("id",t.domId||t.id);let a=70,s=10;e==="LR"&&(a=10,s=70);const i=l.append("rect").attr("x",-1*a/2).attr("y",-1*s/2).attr("width",a).attr("height",s).attr("class","fork-join");return m(t,i),t.height=t.height+t.padding/2,t.width=t.width+t.padding/2,t.intersect=function(n){return u.rect(t,n)},l},Dt=(r,t)=>{const e=r.insert("g").attr("class","node default").attr("id",t.domId||t.id),l=e.insert("circle",":first-child"),a=e.insert("circle",":first-child");return a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),l.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),m(t,a),t.intersect=function(s){return u.circle(t,7,s)},e},Zt=(r,t)=>{const e=t.padding/2,l=4,a=8;let s;t.classes?s="node "+t.classes:s="node default";const i=r.insert("g").attr("class",s).attr("id",t.domId||t.id),n=i.insert("rect",":first-child"),c=i.insert("line"),o=i.insert("line");let h=0,f=l;const b=i.insert("g").attr("class","label");let p=0;const d=t.classData.annotations&&t.classData.annotations[0],x=t.classData.annotations[0]?"«"+t.classData.annotations[0]+"»":"",g=b.node().appendChild(T(x,t.labelStyle,!0,!0));let k=g.getBBox();if(R(w().flowchart.htmlLabels)){const E=g.children[0],M=L(g);k=E.getBoundingClientRect(),M.attr("width",k.width),M.attr("height",k.height)}t.classData.annotations[0]&&(f+=k.height+l,h+=k.width);let H=t.classData.label;t.classData.type!==void 0&&t.classData.type!==""&&(w().flowchart.htmlLabels?H+="<"+t.classData.type+">":H+="<"+t.classData.type+">");const N=b.node().appendChild(T(H,t.labelStyle,!0,!0));L(N).attr("class","classTitle");let B=N.getBBox();if(R(w().flowchart.htmlLabels)){const E=N.children[0],M=L(N);B=E.getBoundingClientRect(),M.attr("width",B.width),M.attr("height",B.height)}f+=B.height+l,B.width>h&&(h=B.width);const X=[];t.classData.members.forEach(E=>{const M=V(E);let $=M.displayText;w().flowchart.htmlLabels&&($=$.replace(//g,">"));const _=b.node().appendChild(T($,M.cssStyle?M.cssStyle:t.labelStyle,!0,!0));let C=_.getBBox();if(R(w().flowchart.htmlLabels)){const j=_.children[0],Y=L(_);C=j.getBoundingClientRect(),Y.attr("width",C.width),Y.attr("height",C.height)}C.width>h&&(h=C.width),f+=C.height+l,X.push(_)}),f+=a;const Z=[];if(t.classData.methods.forEach(E=>{const M=V(E);let $=M.displayText;w().flowchart.htmlLabels&&($=$.replace(//g,">"));const _=b.node().appendChild(T($,M.cssStyle?M.cssStyle:t.labelStyle,!0,!0));let C=_.getBBox();if(R(w().flowchart.htmlLabels)){const j=_.children[0],Y=L(_);C=j.getBoundingClientRect(),Y.attr("width",C.width),Y.attr("height",C.height)}C.width>h&&(h=C.width),f+=C.height+l,Z.push(_)}),f+=a,d){let E=(h-k.width)/2;L(g).attr("transform","translate( "+(-1*h/2+E)+", "+-1*f/2+")"),p=k.height+l}let at=(h-B.width)/2;return L(N).attr("transform","translate( "+(-1*h/2+at)+", "+(-1*f/2+p)+")"),p+=B.height+l,c.attr("class","divider").attr("x1",-h/2-e).attr("x2",h/2+e).attr("y1",-f/2-e+a+p).attr("y2",-f/2-e+a+p),p+=a,X.forEach(E=>{L(E).attr("transform","translate( "+-h/2+", "+(-1*f/2+p+a/2)+")"),p+=B.height+l}),p+=a,o.attr("class","divider").attr("x1",-h/2-e).attr("x2",h/2+e).attr("y1",-f/2-e+a+p).attr("y2",-f/2-e+a+p),p+=a,Z.forEach(E=>{L(E).attr("transform","translate( "+-h/2+", "+(-1*f/2+p)+")"),p+=B.height+l}),n.attr("class","outer title-state").attr("x",-h/2-e).attr("y",-(f/2)-e).attr("width",h+t.padding).attr("height",f+t.padding),m(t,n),t.intersect=function(E){return u.rect(t,E)},i},K={rhombus:J,question:J,rect:$t,labelRect:Wt,rectWithTitle:Xt,choice:Bt,circle:Ut,doublecircle:At,stadium:Yt,hexagon:Mt,rect_left_inv_arrow:Ct,lean_right:Tt,lean_left:Rt,trapezoid:Ht,inv_trapezoid:_t,rect_right_inv_arrow:It,cylinder:Nt,start:jt,end:Dt,note:Et,subroutine:Ot,fork:F,join:F,class_box:Zt};let W={};const Gt=(r,t,e)=>{let l,a;if(t.link){let s;w().securityLevel==="sandbox"?s="_top":t.linkTarget&&(s=t.linkTarget||"_blank"),l=r.insert("svg:a").attr("xlink:href",t.link).attr("target",s),a=K[t.shape](l,t,e)}else a=K[t.shape](r,t,e),l=a;return t.tooltip&&a.attr("title",t.tooltip),t.class&&a.attr("class","node default "+t.class),W[t.id]=l,t.haveCallback&&W[t.id].attr("class",W[t.id].attr("class")+" clickable"),l},Pt=(r,t)=>{W[t.id]=r},tr=()=>{W={}},rr=r=>{const t=W[r.id];y.trace("Transforming node",r.diff,r,"translate("+(r.x-r.width/2-5)+", "+r.width/2+")");const e=8,l=r.diff||0;return r.clusterNode?t.attr("transform","translate("+(r.x+l-r.width/2)+", "+(r.y-r.height/2-e)+")"):t.attr("transform","translate("+r.x+", "+r.y+")"),l};let O={},v={};const ar=()=>{O={},v={}},er=(r,t)=>{const e=R(w().flowchart.htmlLabels),l=t.labelType==="markdown"?P(r,t.label,{style:t.labelStyle,useHtmlLabels:e,addSvgBackground:!0}):T(t.label,t.labelStyle);y.info("abc82",t,t.labelType);const a=r.insert("g").attr("class","edgeLabel"),s=a.insert("g").attr("class","label");s.node().appendChild(l);let i=l.getBBox();if(e){const c=l.children[0],o=L(l);i=c.getBoundingClientRect(),o.attr("width",i.width),o.attr("height",i.height)}s.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),O[t.id]=a,t.width=i.width,t.height=i.height;let n;if(t.startLabelLeft){const c=T(t.startLabelLeft,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),v[t.id]||(v[t.id]={}),v[t.id].startLeft=o,A(n,t.startLabelLeft)}if(t.startLabelRight){const c=T(t.startLabelRight,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=o.node().appendChild(c),h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),v[t.id]||(v[t.id]={}),v[t.id].startRight=o,A(n,t.startLabelRight)}if(t.endLabelLeft){const c=T(t.endLabelLeft,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),o.node().appendChild(c),v[t.id]||(v[t.id]={}),v[t.id].endLeft=o,A(n,t.endLabelLeft)}if(t.endLabelRight){const c=T(t.endLabelRight,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),o.node().appendChild(c),v[t.id]||(v[t.id]={}),v[t.id].endRight=o,A(n,t.endLabelRight)}return l};function A(r,t){w().flowchart.htmlLabels&&r&&(r.style.width=t.length*9+"px",r.style.height="12px")}const sr=(r,t)=>{y.info("Moving label abc78 ",r.id,r.label,O[r.id]);let e=t.updatedPath?t.updatedPath:t.originalPath;if(r.label){const l=O[r.id];let a=r.x,s=r.y;if(e){const i=U.calcLabelPosition(e);y.info("Moving label "+r.label+" from (",a,",",s,") to (",i.x,",",i.y,") abc78"),t.updatedPath&&(a=i.x,s=i.y)}l.attr("transform","translate("+a+", "+s+")")}if(r.startLabelLeft){const l=v[r.id].startLeft;let a=r.x,s=r.y;if(e){const i=U.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_left",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}if(r.startLabelRight){const l=v[r.id].startRight;let a=r.x,s=r.y;if(e){const i=U.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_right",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}if(r.endLabelLeft){const l=v[r.id].endLeft;let a=r.x,s=r.y;if(e){const i=U.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_left",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}if(r.endLabelRight){const l=v[r.id].endRight;let a=r.x,s=r.y;if(e){const i=U.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_right",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}},zt=(r,t)=>{const e=r.x,l=r.y,a=Math.abs(t.x-e),s=Math.abs(t.y-l),i=r.width/2,n=r.height/2;return a>=i||s>=n},Qt=(r,t,e)=>{y.warn(`intersection calc abc89: outsidePoint: ${JSON.stringify(t)} insidePoint : ${JSON.stringify(e)} node : x:${r.x} y:${r.y} w:${r.width} h:${r.height}`);const l=r.x,a=r.y,s=Math.abs(l-e.x),i=r.width/2;let n=e.xMath.abs(l-t.x)*c){let f=e.y{y.warn("abc88 cutPathAtIntersect",r,t);let e=[],l=r[0],a=!1;return r.forEach(s=>{if(y.info("abc88 checking point",s,t),!zt(t,s)&&!a){const i=Qt(t,l,s);y.warn("abc88 inside",s,l,i),y.warn("abc88 intersection",i);let n=!1;e.forEach(c=>{n=n||c.x===i.x&&c.y===i.y}),e.some(c=>c.x===i.x&&c.y===i.y)?y.warn("abc88 no intersect",i,e):e.push(i),a=!0}else y.warn("abc88 outside",s,l),l=s,a||e.push(s)}),y.warn("abc88 returning points",e),e},ir=function(r,t,e,l,a,s){let i=e.points,n=!1;const c=s.node(t.v);var o=s.node(t.w);y.info("abc88 InsertEdge: ",e),o.intersect&&c.intersect&&(i=i.slice(1,e.points.length-1),i.unshift(c.intersect(i[0])),y.info("Last point",i[i.length-1],o,o.intersect(i[i.length-1])),i.push(o.intersect(i[i.length-1]))),e.toCluster&&(y.info("to cluster abc88",l[e.toCluster]),i=G(e.points,l[e.toCluster].node),n=!0),e.fromCluster&&(y.info("from cluster abc88",l[e.fromCluster]),i=G(i.reverse(),l[e.fromCluster].node).reverse(),n=!0);const h=i.filter(k=>!Number.isNaN(k.y));let f;a==="graph"||a==="flowchart"?f=e.curve||Q:f=Q;const b=et().x(function(k){return k.x}).y(function(k){return k.y}).curve(f);let p;switch(e.thickness){case"normal":p="edge-thickness-normal";break;case"thick":p="edge-thickness-thick";break;case"invisible":p="edge-thickness-thick";break;default:p=""}switch(e.pattern){case"solid":p+=" edge-pattern-solid";break;case"dotted":p+=" edge-pattern-dotted";break;case"dashed":p+=" edge-pattern-dashed";break}const d=r.append("path").attr("d",b(h)).attr("id",e.id).attr("class"," "+p+(e.classes?" "+e.classes:"")).attr("style",e.style);let x="";switch((w().flowchart.arrowMarkerAbsolute||w().state.arrowMarkerAbsolute)&&(x=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,x=x.replace(/\(/g,"\\("),x=x.replace(/\)/g,"\\)")),y.info("arrowTypeStart",e.arrowTypeStart),y.info("arrowTypeEnd",e.arrowTypeEnd),e.arrowTypeStart){case"arrow_cross":d.attr("marker-start","url("+x+"#"+a+"-crossStart)");break;case"arrow_point":d.attr("marker-start","url("+x+"#"+a+"-pointStart)");break;case"arrow_barb":d.attr("marker-start","url("+x+"#"+a+"-barbStart)");break;case"arrow_circle":d.attr("marker-start","url("+x+"#"+a+"-circleStart)");break;case"aggregation":d.attr("marker-start","url("+x+"#"+a+"-aggregationStart)");break;case"extension":d.attr("marker-start","url("+x+"#"+a+"-extensionStart)");break;case"composition":d.attr("marker-start","url("+x+"#"+a+"-compositionStart)");break;case"dependency":d.attr("marker-start","url("+x+"#"+a+"-dependencyStart)");break;case"lollipop":d.attr("marker-start","url("+x+"#"+a+"-lollipopStart)");break}switch(e.arrowTypeEnd){case"arrow_cross":d.attr("marker-end","url("+x+"#"+a+"-crossEnd)");break;case"arrow_point":d.attr("marker-end","url("+x+"#"+a+"-pointEnd)");break;case"arrow_barb":d.attr("marker-end","url("+x+"#"+a+"-barbEnd)");break;case"arrow_circle":d.attr("marker-end","url("+x+"#"+a+"-circleEnd)");break;case"aggregation":d.attr("marker-end","url("+x+"#"+a+"-aggregationEnd)");break;case"extension":d.attr("marker-end","url("+x+"#"+a+"-extensionEnd)");break;case"composition":d.attr("marker-end","url("+x+"#"+a+"-compositionEnd)");break;case"dependency":d.attr("marker-end","url("+x+"#"+a+"-dependencyEnd)");break;case"lollipop":d.attr("marker-end","url("+x+"#"+a+"-lollipopEnd)");break}let g={};return n&&(g.updatedPath=i),g.originalPath=e.points,g};export{Gt as a,er as b,ir as c,sr as d,tr as e,ar as f,T as g,Lt as h,Kt as i,S as l,rr as p,Pt as s,m as u}; diff --git a/docs/.vuepress/dist/assets/erDiagram-20cc9db4-c914ac81.js b/docs/.vuepress/dist/assets/erDiagram-20cc9db4-63f39d90.js similarity index 99% rename from docs/.vuepress/dist/assets/erDiagram-20cc9db4-c914ac81.js rename to docs/.vuepress/dist/assets/erDiagram-20cc9db4-63f39d90.js index c387912..5f88a5c 100644 --- a/docs/.vuepress/dist/assets/erDiagram-20cc9db4-c914ac81.js +++ b/docs/.vuepress/dist/assets/erDiagram-20cc9db4-63f39d90.js @@ -1,4 +1,4 @@ -import{c as U,s as xt,g as kt,b as Ot,a as bt,v as Rt,x as Nt,m as Tt,l as tt,z as vt,h as at,y as At,i as Mt,a2 as It,a3 as wt}from"./mermaid.core-00b8b54a.js";import{G as St,l as Bt}from"./layout-6fd5c641.js";import{l as Dt}from"./line-93633409.js";import"./commonjsHelpers-725317a4.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";const Lt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Ct(t){return typeof t=="string"&&Lt.test(t)}const A=[];for(let t=0;t<256;++t)A.push((t+256).toString(16).slice(1));function Yt(t,r=0){return(A[t[r+0]]+A[t[r+1]]+A[t[r+2]]+A[t[r+3]]+"-"+A[t[r+4]]+A[t[r+5]]+"-"+A[t[r+6]]+A[t[r+7]]+"-"+A[t[r+8]]+A[t[r+9]]+"-"+A[t[r+10]]+A[t[r+11]]+A[t[r+12]]+A[t[r+13]]+A[t[r+14]]+A[t[r+15]]).toLowerCase()}function Zt(t){if(!Ct(t))throw TypeError("Invalid UUID");let r;const e=new Uint8Array(16);return e[0]=(r=parseInt(t.slice(0,8),16))>>>24,e[1]=r>>>16&255,e[2]=r>>>8&255,e[3]=r&255,e[4]=(r=parseInt(t.slice(9,13),16))>>>8,e[5]=r&255,e[6]=(r=parseInt(t.slice(14,18),16))>>>8,e[7]=r&255,e[8]=(r=parseInt(t.slice(19,23),16))>>>8,e[9]=r&255,e[10]=(r=parseInt(t.slice(24,36),16))/1099511627776&255,e[11]=r/4294967296&255,e[12]=r>>>24&255,e[13]=r>>>16&255,e[14]=r>>>8&255,e[15]=r&255,e}function Ft(t){t=unescape(encodeURIComponent(t));const r=[];for(let e=0;e>>32-r}function zt(t){const r=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const f=unescape(encodeURIComponent(t));t=[];for(let l=0;l>>0;O=E,E=g,g=st(_,30)>>>0,_=h,h=D}e[0]=e[0]+h>>>0,e[1]=e[1]+_>>>0,e[2]=e[2]+g>>>0,e[3]=e[3]+E>>>0,e[4]=e[4]+O>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,e[0]&255,e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,e[1]&255,e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,e[2]&255,e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,e[3]&255,e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,e[4]&255]}const Gt=Ut("v5",80,zt),Kt=Gt;var ot=function(){var t=function(v,n,s,d){for(s=s||{},d=v.length;d--;s[v[d]]=n);return s},r=[1,2],e=[1,5],a=[6,9,11,23,25,27,29,30,31,51],c=[1,17],p=[1,18],f=[1,19],l=[1,20],h=[1,21],_=[1,22],g=[1,25],E=[1,30],O=[1,31],y=[1,32],M=[1,33],D=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,51],V=[1,45],z=[30,31,48,49],L=[4,6,9,11,23,25,27,29,30,31,51],R=[44,45,46,47],N=[22,37],T=[1,65],x=[1,64],S=[22,37,39,41],C={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,NON_IDENTIFYING:48,IDENTIFYING:49,WORD:50,open_directive:51,type_directive:52,arg_directive:53,close_directive:54,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"NON_IDENTIFYING",49:"IDENTIFYING",50:"WORD",51:"open_directive",52:"type_directive",53:"arg_directive",54:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(n,s,d,u,m,i,X){var o=i.length-1;switch(m){case 1:break;case 3:this.$=[];break;case 4:i[o-1].push(i[o]),this.$=i[o-1];break;case 5:case 6:this.$=i[o];break;case 7:case 8:this.$=[];break;case 12:u.addEntity(i[o-4]),u.addEntity(i[o-2]),u.addRelationship(i[o-4],i[o],i[o-2],i[o-3]);break;case 13:u.addEntity(i[o-3]),u.addAttributes(i[o-3],i[o-1]);break;case 14:u.addEntity(i[o-2]);break;case 15:u.addEntity(i[o]);break;case 16:case 17:this.$=i[o].trim(),u.setAccTitle(this.$);break;case 18:case 19:this.$=i[o].trim(),u.setAccDescription(this.$);break;case 20:case 43:this.$=i[o];break;case 21:case 41:case 42:this.$=i[o].replace(/"/g,"");break;case 22:case 30:this.$=[i[o]];break;case 23:i[o].push(i[o-1]),this.$=i[o];break;case 24:this.$={attributeType:i[o-1],attributeName:i[o]};break;case 25:this.$={attributeType:i[o-2],attributeName:i[o-1],attributeKeyTypeList:i[o]};break;case 26:this.$={attributeType:i[o-2],attributeName:i[o-1],attributeComment:i[o]};break;case 27:this.$={attributeType:i[o-3],attributeName:i[o-2],attributeKeyTypeList:i[o-1],attributeComment:i[o]};break;case 28:case 29:case 32:this.$=i[o];break;case 31:i[o-2].push(i[o]),this.$=i[o-2];break;case 33:this.$=i[o].replace(/"/g,"");break;case 34:this.$={cardA:i[o],relType:i[o-1],cardB:i[o-2]};break;case 35:this.$=u.Cardinality.ZERO_OR_ONE;break;case 36:this.$=u.Cardinality.ZERO_OR_MORE;break;case 37:this.$=u.Cardinality.ONE_OR_MORE;break;case 38:this.$=u.Cardinality.ONLY_ONE;break;case 39:this.$=u.Identification.NON_IDENTIFYING;break;case 40:this.$=u.Identification.IDENTIFYING;break;case 44:u.parseDirective("%%{","open_directive");break;case 45:u.parseDirective(i[o],"type_directive");break;case 46:i[o]=i[o].trim().replace(/'/g,'"'),u.parseDirective(i[o],"arg_directive");break;case 47:u.parseDirective("}%%","close_directive","er");break}},table:[{3:1,4:r,7:3,12:4,51:e},{1:[3]},t(a,[2,3],{5:6}),{3:7,4:r,7:3,12:4,51:e},{13:8,52:[1,9]},{52:[2,44]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:c,25:p,27:f,29:l,30:h,31:_,51:e},{1:[2,2]},{14:23,15:[1,24],54:g},t([15,54],[2,45]),t(a,[2,8],{1:[2,1]}),t(a,[2,4]),{7:15,10:26,12:4,17:16,23:c,25:p,27:f,29:l,30:h,31:_,51:e},t(a,[2,6]),t(a,[2,7]),t(a,[2,11]),t(a,[2,15],{18:27,42:29,20:[1,28],44:E,45:O,46:y,47:M}),{24:[1,34]},{26:[1,35]},{28:[1,36]},t(a,[2,19]),t(D,[2,20]),t(D,[2,21]),{11:[1,37]},{16:38,53:[1,39]},{11:[2,47]},t(a,[2,5]),{17:40,30:h,31:_},{21:41,22:[1,42],32:43,33:44,37:V},{43:46,48:[1,47],49:[1,48]},t(z,[2,35]),t(z,[2,36]),t(z,[2,37]),t(z,[2,38]),t(a,[2,16]),t(a,[2,17]),t(a,[2,18]),t(L,[2,9]),{14:49,54:g},{54:[2,46]},{15:[1,50]},{22:[1,51]},t(a,[2,14]),{21:52,22:[2,22],32:43,33:44,37:V},{34:53,37:[1,54]},{37:[2,28]},{42:55,44:E,45:O,46:y,47:M},t(R,[2,39]),t(R,[2,40]),{11:[1,56]},{19:57,30:[1,60],31:[1,59],50:[1,58]},t(a,[2,13]),{22:[2,23]},t(N,[2,24],{35:61,36:62,38:63,40:T,41:x}),t([22,37,40,41],[2,29]),t([30,31],[2,34]),t(L,[2,10]),t(a,[2,12]),t(a,[2,41]),t(a,[2,42]),t(a,[2,43]),t(N,[2,25],{36:66,39:[1,67],41:x}),t(N,[2,26]),t(S,[2,30]),t(N,[2,33]),t(S,[2,32]),t(N,[2,27]),{38:68,40:T},t(S,[2,31])],defaultActions:{5:[2,44],7:[2,2],25:[2,47],39:[2,46],45:[2,28],52:[2,23]},parseError:function(n,s){if(s.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=s,d}},parse:function(n){var s=this,d=[0],u=[],m=[null],i=[],X=this.table,o="",q=0,lt=0,_t=2,ht=1,gt=i.slice.call(arguments,1),b=Object.create(this.lexer),G={yy:{}};for(var et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,et)&&(G.yy[et]=this.yy[et]);b.setInput(n,G.yy),G.yy.lexer=b,G.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var rt=b.yylloc;i.push(rt);var mt=b.options&&b.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Et(){var F;return F=u.pop()||b.lex()||ht,typeof F!="number"&&(F instanceof Array&&(u=F,F=u.pop()),F=s.symbols_[F]||F),F}for(var I,K,w,it,H={},J,Z,dt,$;;){if(K=d[d.length-1],this.defaultActions[K]?w=this.defaultActions[K]:((I===null||typeof I>"u")&&(I=Et()),w=X[K]&&X[K][I]),typeof w>"u"||!w.length||!w[0]){var nt="";$=[];for(J in X[K])this.terminals_[J]&&J>_t&&$.push("'"+this.terminals_[J]+"'");b.showPosition?nt="Parse error on line "+(q+1)+`: +import{c as U,s as xt,g as kt,b as Ot,a as bt,v as Rt,x as Nt,m as Tt,l as tt,z as vt,h as at,y as At,i as Mt,a2 as It,a3 as wt}from"./mermaid.core-5f04c634.js";import{G as St,l as Bt}from"./layout-2d03da6d.js";import{l as Dt}from"./line-696a8ea1.js";import"./commonjsHelpers-725317a4.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";const Lt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Ct(t){return typeof t=="string"&&Lt.test(t)}const A=[];for(let t=0;t<256;++t)A.push((t+256).toString(16).slice(1));function Yt(t,r=0){return(A[t[r+0]]+A[t[r+1]]+A[t[r+2]]+A[t[r+3]]+"-"+A[t[r+4]]+A[t[r+5]]+"-"+A[t[r+6]]+A[t[r+7]]+"-"+A[t[r+8]]+A[t[r+9]]+"-"+A[t[r+10]]+A[t[r+11]]+A[t[r+12]]+A[t[r+13]]+A[t[r+14]]+A[t[r+15]]).toLowerCase()}function Zt(t){if(!Ct(t))throw TypeError("Invalid UUID");let r;const e=new Uint8Array(16);return e[0]=(r=parseInt(t.slice(0,8),16))>>>24,e[1]=r>>>16&255,e[2]=r>>>8&255,e[3]=r&255,e[4]=(r=parseInt(t.slice(9,13),16))>>>8,e[5]=r&255,e[6]=(r=parseInt(t.slice(14,18),16))>>>8,e[7]=r&255,e[8]=(r=parseInt(t.slice(19,23),16))>>>8,e[9]=r&255,e[10]=(r=parseInt(t.slice(24,36),16))/1099511627776&255,e[11]=r/4294967296&255,e[12]=r>>>24&255,e[13]=r>>>16&255,e[14]=r>>>8&255,e[15]=r&255,e}function Ft(t){t=unescape(encodeURIComponent(t));const r=[];for(let e=0;e>>32-r}function zt(t){const r=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const f=unescape(encodeURIComponent(t));t=[];for(let l=0;l>>0;O=E,E=g,g=st(_,30)>>>0,_=h,h=D}e[0]=e[0]+h>>>0,e[1]=e[1]+_>>>0,e[2]=e[2]+g>>>0,e[3]=e[3]+E>>>0,e[4]=e[4]+O>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,e[0]&255,e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,e[1]&255,e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,e[2]&255,e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,e[3]&255,e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,e[4]&255]}const Gt=Ut("v5",80,zt),Kt=Gt;var ot=function(){var t=function(v,n,s,d){for(s=s||{},d=v.length;d--;s[v[d]]=n);return s},r=[1,2],e=[1,5],a=[6,9,11,23,25,27,29,30,31,51],c=[1,17],p=[1,18],f=[1,19],l=[1,20],h=[1,21],_=[1,22],g=[1,25],E=[1,30],O=[1,31],y=[1,32],M=[1,33],D=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,51],V=[1,45],z=[30,31,48,49],L=[4,6,9,11,23,25,27,29,30,31,51],R=[44,45,46,47],N=[22,37],T=[1,65],x=[1,64],S=[22,37,39,41],C={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,NON_IDENTIFYING:48,IDENTIFYING:49,WORD:50,open_directive:51,type_directive:52,arg_directive:53,close_directive:54,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"NON_IDENTIFYING",49:"IDENTIFYING",50:"WORD",51:"open_directive",52:"type_directive",53:"arg_directive",54:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(n,s,d,u,m,i,X){var o=i.length-1;switch(m){case 1:break;case 3:this.$=[];break;case 4:i[o-1].push(i[o]),this.$=i[o-1];break;case 5:case 6:this.$=i[o];break;case 7:case 8:this.$=[];break;case 12:u.addEntity(i[o-4]),u.addEntity(i[o-2]),u.addRelationship(i[o-4],i[o],i[o-2],i[o-3]);break;case 13:u.addEntity(i[o-3]),u.addAttributes(i[o-3],i[o-1]);break;case 14:u.addEntity(i[o-2]);break;case 15:u.addEntity(i[o]);break;case 16:case 17:this.$=i[o].trim(),u.setAccTitle(this.$);break;case 18:case 19:this.$=i[o].trim(),u.setAccDescription(this.$);break;case 20:case 43:this.$=i[o];break;case 21:case 41:case 42:this.$=i[o].replace(/"/g,"");break;case 22:case 30:this.$=[i[o]];break;case 23:i[o].push(i[o-1]),this.$=i[o];break;case 24:this.$={attributeType:i[o-1],attributeName:i[o]};break;case 25:this.$={attributeType:i[o-2],attributeName:i[o-1],attributeKeyTypeList:i[o]};break;case 26:this.$={attributeType:i[o-2],attributeName:i[o-1],attributeComment:i[o]};break;case 27:this.$={attributeType:i[o-3],attributeName:i[o-2],attributeKeyTypeList:i[o-1],attributeComment:i[o]};break;case 28:case 29:case 32:this.$=i[o];break;case 31:i[o-2].push(i[o]),this.$=i[o-2];break;case 33:this.$=i[o].replace(/"/g,"");break;case 34:this.$={cardA:i[o],relType:i[o-1],cardB:i[o-2]};break;case 35:this.$=u.Cardinality.ZERO_OR_ONE;break;case 36:this.$=u.Cardinality.ZERO_OR_MORE;break;case 37:this.$=u.Cardinality.ONE_OR_MORE;break;case 38:this.$=u.Cardinality.ONLY_ONE;break;case 39:this.$=u.Identification.NON_IDENTIFYING;break;case 40:this.$=u.Identification.IDENTIFYING;break;case 44:u.parseDirective("%%{","open_directive");break;case 45:u.parseDirective(i[o],"type_directive");break;case 46:i[o]=i[o].trim().replace(/'/g,'"'),u.parseDirective(i[o],"arg_directive");break;case 47:u.parseDirective("}%%","close_directive","er");break}},table:[{3:1,4:r,7:3,12:4,51:e},{1:[3]},t(a,[2,3],{5:6}),{3:7,4:r,7:3,12:4,51:e},{13:8,52:[1,9]},{52:[2,44]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:c,25:p,27:f,29:l,30:h,31:_,51:e},{1:[2,2]},{14:23,15:[1,24],54:g},t([15,54],[2,45]),t(a,[2,8],{1:[2,1]}),t(a,[2,4]),{7:15,10:26,12:4,17:16,23:c,25:p,27:f,29:l,30:h,31:_,51:e},t(a,[2,6]),t(a,[2,7]),t(a,[2,11]),t(a,[2,15],{18:27,42:29,20:[1,28],44:E,45:O,46:y,47:M}),{24:[1,34]},{26:[1,35]},{28:[1,36]},t(a,[2,19]),t(D,[2,20]),t(D,[2,21]),{11:[1,37]},{16:38,53:[1,39]},{11:[2,47]},t(a,[2,5]),{17:40,30:h,31:_},{21:41,22:[1,42],32:43,33:44,37:V},{43:46,48:[1,47],49:[1,48]},t(z,[2,35]),t(z,[2,36]),t(z,[2,37]),t(z,[2,38]),t(a,[2,16]),t(a,[2,17]),t(a,[2,18]),t(L,[2,9]),{14:49,54:g},{54:[2,46]},{15:[1,50]},{22:[1,51]},t(a,[2,14]),{21:52,22:[2,22],32:43,33:44,37:V},{34:53,37:[1,54]},{37:[2,28]},{42:55,44:E,45:O,46:y,47:M},t(R,[2,39]),t(R,[2,40]),{11:[1,56]},{19:57,30:[1,60],31:[1,59],50:[1,58]},t(a,[2,13]),{22:[2,23]},t(N,[2,24],{35:61,36:62,38:63,40:T,41:x}),t([22,37,40,41],[2,29]),t([30,31],[2,34]),t(L,[2,10]),t(a,[2,12]),t(a,[2,41]),t(a,[2,42]),t(a,[2,43]),t(N,[2,25],{36:66,39:[1,67],41:x}),t(N,[2,26]),t(S,[2,30]),t(N,[2,33]),t(S,[2,32]),t(N,[2,27]),{38:68,40:T},t(S,[2,31])],defaultActions:{5:[2,44],7:[2,2],25:[2,47],39:[2,46],45:[2,28],52:[2,23]},parseError:function(n,s){if(s.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=s,d}},parse:function(n){var s=this,d=[0],u=[],m=[null],i=[],X=this.table,o="",q=0,lt=0,_t=2,ht=1,gt=i.slice.call(arguments,1),b=Object.create(this.lexer),G={yy:{}};for(var et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,et)&&(G.yy[et]=this.yy[et]);b.setInput(n,G.yy),G.yy.lexer=b,G.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var rt=b.yylloc;i.push(rt);var mt=b.options&&b.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Et(){var F;return F=u.pop()||b.lex()||ht,typeof F!="number"&&(F instanceof Array&&(u=F,F=u.pop()),F=s.symbols_[F]||F),F}for(var I,K,w,it,H={},J,Z,dt,$;;){if(K=d[d.length-1],this.defaultActions[K]?w=this.defaultActions[K]:((I===null||typeof I>"u")&&(I=Et()),w=X[K]&&X[K][I]),typeof w>"u"||!w.length||!w[0]){var nt="";$=[];for(J in X[K])this.terminals_[J]&&J>_t&&$.push("'"+this.terminals_[J]+"'");b.showPosition?nt="Parse error on line "+(q+1)+`: `+b.showPosition()+` Expecting `+$.join(", ")+", got '"+(this.terminals_[I]||I)+"'":nt="Parse error on line "+(q+1)+": Unexpected "+(I==ht?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(nt,{text:b.match,token:this.terminals_[I]||I,line:b.yylineno,loc:rt,expected:$})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+I);switch(w[0]){case 1:d.push(I),m.push(b.yytext),i.push(b.yylloc),d.push(w[1]),I=null,lt=b.yyleng,o=b.yytext,q=b.yylineno,rt=b.yylloc;break;case 2:if(Z=this.productions_[w[1]][1],H.$=m[m.length-Z],H._$={first_line:i[i.length-(Z||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(Z||1)].first_column,last_column:i[i.length-1].last_column},mt&&(H._$.range=[i[i.length-(Z||1)].range[0],i[i.length-1].range[1]]),it=this.performAction.apply(H,[o,lt,q,G.yy,w[1],m,i].concat(gt)),typeof it<"u")return it;Z&&(d=d.slice(0,-1*Z*2),m=m.slice(0,-1*Z),i=i.slice(0,-1*Z)),d.push(this.productions_[w[1]][0]),m.push(H.$),i.push(H._$),dt=X[d[d.length-2]][d[d.length-1]],d.push(dt);break;case 3:return!0}}return!0}},B=function(){var v={EOF:1,parseError:function(s,d){if(this.yy.parser)this.yy.parser.parseError(s,d);else throw new Error(s)},setInput:function(n,s){return this.yy=s||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var s=n.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var s=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var m=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===u.length?this.yylloc.first_column:0)+u[u.length-d.length].length-d[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),s=new Array(n.length+1).join("-");return n+this.upcomingInput()+` diff --git a/docs/.vuepress/dist/assets/flowDb-52e24d17-b379c657.js b/docs/.vuepress/dist/assets/flowDb-52e24d17-1ab97c12.js similarity index 99% rename from docs/.vuepress/dist/assets/flowDb-52e24d17-b379c657.js rename to docs/.vuepress/dist/assets/flowDb-52e24d17-1ab97c12.js index a486f94..b647cf5 100644 --- a/docs/.vuepress/dist/assets/flowDb-52e24d17-b379c657.js +++ b/docs/.vuepress/dist/assets/flowDb-52e24d17-1ab97c12.js @@ -1,4 +1,4 @@ -import{c as w2,u as Ne,s as Oe,g as Pe,a as we,b as Ue,v as Me,x as Ge,m as Ke,l as U2,y as M2,z as je,k as We,h as n2}from"./mermaid.core-00b8b54a.js";var O2=function(){var e=function(H1,a,o,T){for(o=o||{},T=H1.length;T--;o[H1[T]]=a);return o},u=[1,9],i=[1,7],n=[1,6],c=[1,8],_=[1,20,21,22,23,38,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],B=[2,10],u1=[1,20],H=[1,21],s1=[1,22],f1=[1,23],Y1=[1,30],Q1=[1,32],X1=[1,33],s2=[1,34],q=[1,62],c1=[1,48],m1=[1,52],o2=[1,36],l2=[1,37],h2=[1,38],A2=[1,39],f2=[1,40],v1=[1,56],V1=[1,63],x1=[1,51],R1=[1,53],L1=[1,55],I1=[1,59],N1=[1,60],p2=[1,41],d2=[1,42],E2=[1,43],b2=[1,44],O1=[1,61],P1=[1,50],w1=[1,54],U1=[1,57],M1=[1,58],G1=[1,49],j2=[1,66],u2=[1,71],Q=[1,20,21,22,23,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],p1=[1,75],d1=[1,74],E1=[1,76],k2=[20,21,23,81,82],i1=[1,99],l=[1,104],h=[1,107],A=[1,108],r1=[1,101],f=[1,106],p=[1,109],n1=[1,102],d=[1,114],E=[1,113],b=[1,103],k=[1,105],D=[1,110],g=[1,111],F=[1,112],C=[1,115],S2=[20,21,22,23,81,82],t1=[20,21,22,23,53,81,82],Z=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,92,96,106,107,110,112,113,123,124,125,126,127,128],Y=[20,21,23],W2=[20,21,23,52,66,67,81,82,92,96,106,107,110,112,113,123,124,125,126,127,128],m2=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],i2=[52,66,67,92,96,106,107,110,112,113,123,124,125,126,127,128],S=[1,150],m=[1,158],v=[1,159],V=[1,160],x=[1,161],R=[1,145],L=[1,146],J=[1,141],$=[1,142],I=[1,153],N=[1,154],O=[1,155],P=[1,156],w=[1,157],U=[1,162],M=[1,163],G=[1,148],K=[1,151],j=[1,147],W=[1,144],v2=[20,21,22,23,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],Y2=[1,166],$1=[20,21,22,23,26,52,66,67,92,106,107,110,112,113,123,124,125,126,127,128],y=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,87,88,89,90,91,92,93,96,106,107,110,112,113,114,115,123,124,125,126,127,128],z2=[12,21,22,24],H2=[22,107],b1=[1,251],k1=[1,246],D1=[1,247],g1=[1,255],F1=[1,252],C1=[1,249],_1=[1,248],B1=[1,250],T1=[1,253],y1=[1,254],S1=[1,256],z1=[1,274],Q2=[20,21,23,107],o1=[20,21,22,23,66,67,87,103,106,107,110,111,112,113,114],V2={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,MD_STR:85,keywords:86,STYLE:87,LINKSTYLE:88,CLASSDEF:89,CLASS:90,CLICK:91,DOWN:92,UP:93,textNoTags:94,textNoTagsToken:95,DEFAULT:96,stylesOpt:97,alphaNum:98,CALLBACKNAME:99,CALLBACKARGS:100,HREF:101,LINK_TARGET:102,HEX:103,numList:104,INTERPOLATE:105,NUM:106,COMMA:107,style:108,styleComponent:109,MINUS:110,UNIT:111,BRKT:112,DOT:113,PCT:114,TAGSTART:115,alphaNumToken:116,idStringToken:117,alphaNumStatement:118,direction_tb:119,direction_bt:120,direction_rl:121,direction_lr:122,PUNCTUATION:123,UNICODE_TEXT:124,PLUS:125,EQUALS:126,MULT:127,UNDERSCORE:128,graphCodeTokens:129,ARROW_CROSS:130,ARROW_POINT:131,ARROW_CIRCLE:132,ARROW_OPEN:133,QUOTE:134,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",85:"MD_STR",87:"STYLE",88:"LINKSTYLE",89:"CLASSDEF",90:"CLASS",91:"CLICK",92:"DOWN",93:"UP",96:"DEFAULT",99:"CALLBACKNAME",100:"CALLBACKARGS",101:"HREF",102:"LINK_TARGET",103:"HEX",105:"INTERPOLATE",106:"NUM",107:"COMMA",110:"MINUS",111:"UNIT",112:"BRKT",113:"DOT",114:"PCT",115:"TAGSTART",119:"direction_tb",120:"direction_bt",121:"direction_rl",122:"direction_lr",123:"PUNCTUATION",124:"UNICODE_TEXT",125:"PLUS",126:"EQUALS",127:"MULT",128:"UNDERSCORE",130:"ARROW_CROSS",131:"ARROW_POINT",132:"ARROW_CIRCLE",133:"ARROW_OPEN",134:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[39,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[94,1],[94,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[104,1],[104,3],[97,1],[97,3],[108,1],[108,2],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[95,1],[95,1],[95,1],[95,1],[54,1],[54,2],[98,1],[98,2],[118,1],[118,1],[118,1],[118,1],[43,1],[43,1],[43,1],[43,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1]],performAction:function(a,o,T,r,X,t,r2){var s=t.length-1;switch(X){case 5:r.parseDirective("%%{","open_directive");break;case 6:r.parseDirective(t[s],"type_directive");break;case 7:t[s]=t[s].trim().replace(/'/g,'"'),r.parseDirective(t[s],"arg_directive");break;case 8:r.parseDirective("}%%","close_directive","flowchart");break;case 10:this.$=[];break;case 11:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 12:case 97:case 153:case 155:case 156:this.$=t[s];break;case 19:r.setDirection("TB"),this.$="TB";break;case 20:r.setDirection(t[s-1]),this.$=t[s-1];break;case 35:this.$=t[s-1].nodes;break;case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 41:this.$=r.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 42:this.$=r.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 43:this.$=r.addSubGraph(void 0,t[s-1],void 0);break;case 45:this.$=t[s].trim(),r.setAccTitle(this.$);break;case 46:case 47:this.$=t[s].trim(),r.setAccDescription(this.$);break;case 51:r.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 52:r.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 53:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 54:this.$={stmt:t[s],nodes:t[s]};break;case 55:this.$=[t[s]];break;case 56:this.$=t[s-4].concat(t[s]);break;case 57:this.$=[t[s-2]],r.setClass(t[s-2],t[s]);break;case 58:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"square");break;case 59:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"doublecircle");break;case 60:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"circle");break;case 61:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"ellipse");break;case 62:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"stadium");break;case 63:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"subroutine");break;case 64:this.$=t[s-7],r.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 65:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"cylinder");break;case 66:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"round");break;case 67:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"diamond");break;case 68:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"hexagon");break;case 69:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"odd");break;case 70:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"trapezoid");break;case 71:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 72:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_right");break;case 73:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_left");break;case 74:this.$=t[s],r.addVertex(t[s]);break;case 75:t[s-1].text=t[s],this.$=t[s-1];break;case 76:case 77:t[s-2].text=t[s-1],this.$=t[s-2];break;case 78:this.$=t[s];break;case 79:var l1=r.destructLink(t[s],t[s-2]);this.$={type:l1.type,stroke:l1.stroke,length:l1.length,text:t[s-1]};break;case 80:var l1=r.destructLink(t[s]);this.$={type:l1.type,stroke:l1.stroke,length:l1.length};break;case 81:this.$=t[s-1];break;case 82:this.$={text:t[s],type:"text"};break;case 83:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 84:this.$={text:t[s],type:"text"};break;case 85:this.$={text:t[s],type:"markdown"};break;case 98:case 154:this.$=t[s-1]+""+t[s];break;case 99:case 100:this.$=t[s-4],r.addClass(t[s-2],t[s]);break;case 101:this.$=t[s-4],r.setClass(t[s-2],t[s]);break;case 102:case 110:this.$=t[s-1],r.setClickEvent(t[s-1],t[s]);break;case 103:case 111:this.$=t[s-3],r.setClickEvent(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 104:this.$=t[s-2],r.setClickEvent(t[s-2],t[s-1],t[s]);break;case 105:this.$=t[s-4],r.setClickEvent(t[s-4],t[s-3],t[s-2]),r.setTooltip(t[s-4],t[s]);break;case 106:case 112:this.$=t[s-1],r.setLink(t[s-1],t[s]);break;case 107:case 113:this.$=t[s-3],r.setLink(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 108:case 114:this.$=t[s-3],r.setLink(t[s-3],t[s-2],t[s]);break;case 109:case 115:this.$=t[s-5],r.setLink(t[s-5],t[s-4],t[s]),r.setTooltip(t[s-5],t[s-2]);break;case 116:this.$=t[s-4],r.addVertex(t[s-2],void 0,void 0,t[s]);break;case 117:case 119:this.$=t[s-4],r.updateLink(t[s-2],t[s]);break;case 118:this.$=t[s-4],r.updateLink([t[s-2]],t[s]);break;case 120:this.$=t[s-8],r.updateLinkInterpolate([t[s-6]],t[s-2]),r.updateLink([t[s-6]],t[s]);break;case 121:this.$=t[s-8],r.updateLinkInterpolate(t[s-6],t[s-2]),r.updateLink(t[s-6],t[s]);break;case 122:this.$=t[s-6],r.updateLinkInterpolate([t[s-4]],t[s]);break;case 123:this.$=t[s-6],r.updateLinkInterpolate(t[s-4],t[s]);break;case 124:case 126:this.$=[t[s]];break;case 125:case 127:t[s-2].push(t[s]),this.$=t[s-2];break;case 129:this.$=t[s-1]+t[s];break;case 151:this.$=t[s];break;case 152:this.$=t[s-1]+""+t[s];break;case 157:this.$="v";break;case 158:this.$="-";break;case 159:this.$={stmt:"dir",value:"TB"};break;case 160:this.$={stmt:"dir",value:"BT"};break;case 161:this.$={stmt:"dir",value:"RL"};break;case 162:this.$={stmt:"dir",value:"LR"};break}},table:[{3:1,4:2,5:3,6:5,12:u,16:4,21:i,22:n,24:c},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:u,16:4,21:i,22:n,24:c},e(_,B,{17:11}),{7:12,13:[1,13]},{16:14,21:i,22:n,24:c},{16:15,21:i,22:n,24:c},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:u1,21:H,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{8:64,10:[1,65],15:j2},e([10,15],[2,6]),e(_,[2,17]),e(_,[2,18]),e(_,[2,19]),{20:[1,68],21:[1,69],22:u2,27:67,30:70},e(Q,[2,11]),e(Q,[2,12]),e(Q,[2,13]),e(Q,[2,14]),e(Q,[2,15]),e(Q,[2,16]),{9:72,20:p1,21:d1,23:E1,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:p1,21:d1,23:E1},{9:81,20:p1,21:d1,23:E1},{9:82,20:p1,21:d1,23:E1},{9:83,20:p1,21:d1,23:E1},{9:84,20:p1,21:d1,23:E1},{9:86,20:p1,21:d1,22:[1,85],23:E1},e(Q,[2,44]),{45:[1,87]},{47:[1,88]},e(Q,[2,47]),e(k2,[2,54],{30:89,22:u2}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:i1,52:l,66:h,67:A,84:[1,97],92:r1,98:96,99:[1,94],101:[1,95],106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Q,[2,159]),e(Q,[2,160]),e(Q,[2,161]),e(Q,[2,162]),e(S2,[2,55],{53:[1,116]}),e(t1,[2,74],{117:129,40:[1,117],52:q,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:c1,67:m1,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1}),e(Z,[2,151]),e(Z,[2,176]),e(Z,[2,177]),e(Z,[2,178]),e(Z,[2,179]),e(Z,[2,180]),e(Z,[2,181]),e(Z,[2,182]),e(Z,[2,183]),e(Z,[2,184]),e(Z,[2,185]),e(Z,[2,186]),e(Z,[2,187]),e(Z,[2,188]),e(Z,[2,189]),e(Z,[2,190]),e(Z,[2,191]),{9:130,20:p1,21:d1,23:E1},{11:131,14:[1,132]},e(Y,[2,8]),e(_,[2,20]),e(_,[2,26]),e(_,[2,27]),{21:[1,133]},e(W2,[2,34],{30:134,22:u2}),e(Q,[2,35]),{50:135,51:45,52:q,54:46,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},e(m2,[2,48]),e(m2,[2,49]),e(m2,[2,50]),e(i2,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:S,24:m,26:v,38:V,39:139,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e([52,66,67,68,80,92,96,106,107,110,112,113,123,124,125,126,127,128],[2,80]),e(Q,[2,36]),e(Q,[2,37]),e(Q,[2,38]),e(Q,[2,39]),e(Q,[2,40]),{22:S,24:m,26:v,38:V,39:164,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(v2,B,{17:165}),e(Q,[2,45]),e(Q,[2,46]),e(k2,[2,53],{52:Y2}),{26:i1,52:l,66:h,67:A,92:r1,98:167,103:[1,168],106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},{96:[1,169],104:170,106:[1,171]},{26:i1,52:l,66:h,67:A,92:r1,96:[1,172],98:173,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},{26:i1,52:l,66:h,67:A,92:r1,98:174,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Y,[2,102],{22:[1,175],100:[1,176]}),e(Y,[2,106],{22:[1,177]}),e(Y,[2,110],{116:100,118:179,22:[1,178],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),e(Y,[2,112],{22:[1,180]}),e($1,[2,153]),e($1,[2,155]),e($1,[2,156]),e($1,[2,157]),e($1,[2,158]),e(y,[2,163]),e(y,[2,164]),e(y,[2,165]),e(y,[2,166]),e(y,[2,167]),e(y,[2,168]),e(y,[2,169]),e(y,[2,170]),e(y,[2,171]),e(y,[2,172]),e(y,[2,173]),e(y,[2,174]),e(y,[2,175]),{52:q,54:181,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:S,24:m,26:v,38:V,39:182,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:183,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:185,42:x,52:l,57:[1,184],66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:186,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:187,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:188,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{66:[1,189]},{22:S,24:m,26:v,38:V,39:190,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:191,42:x,52:l,66:h,67:A,71:[1,192],73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:193,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:194,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:195,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(Z,[2,152]),e(z2,[2,3]),{8:196,15:j2},{15:[2,7]},e(_,[2,28]),e(W2,[2,33]),e(k2,[2,51],{30:197,22:u2}),e(i2,[2,75],{22:[1,198]}),{22:[1,199]},{22:S,24:m,26:v,38:V,39:200,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,66:h,67:A,73:R,81:L,82:[1,201],83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(y,[2,82]),e(y,[2,84]),e(y,[2,85]),e(y,[2,141]),e(y,[2,142]),e(y,[2,143]),e(y,[2,144]),e(y,[2,145]),e(y,[2,146]),e(y,[2,147]),e(y,[2,148]),e(y,[2,149]),e(y,[2,150]),e(y,[2,86]),e(y,[2,87]),e(y,[2,88]),e(y,[2,89]),e(y,[2,90]),e(y,[2,91]),e(y,[2,92]),e(y,[2,93]),e(y,[2,94]),e(y,[2,95]),e(y,[2,96]),{9:204,20:p1,21:d1,22:S,23:E1,24:m,26:v,38:V,40:[1,203],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{18:18,19:19,20:u1,21:H,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,42:[1,205],43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:u2,30:206},{22:[1,207],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,116:100,118:179,123:b,124:k,125:D,126:g,127:F,128:C},{22:[1,208]},{22:[1,209]},{22:[1,210],107:[1,211]},e(H2,[2,124]),{22:[1,212]},{22:[1,213],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,116:100,118:179,123:b,124:k,125:D,126:g,127:F,128:C},{22:[1,214],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,116:100,118:179,123:b,124:k,125:D,126:g,127:F,128:C},{84:[1,215]},e(Y,[2,104],{22:[1,216]}),{84:[1,217],102:[1,218]},{84:[1,219]},e($1,[2,154]),{84:[1,220],102:[1,221]},e(S2,[2,57],{117:129,52:q,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1}),{22:S,24:m,26:v,38:V,41:[1,222],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,56:[1,223],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:224,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,58:[1,225],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,60:[1,226],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,62:[1,227],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,64:[1,228],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{67:[1,229]},{22:S,24:m,26:v,38:V,42:x,52:l,66:h,67:A,70:[1,230],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,66:h,67:A,72:[1,231],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:232,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,41:[1,233],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,66:h,67:A,73:R,75:[1,234],77:[1,235],81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,66:h,67:A,73:R,75:[1,237],77:[1,236],81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{9:238,20:p1,21:d1,23:E1},e(k2,[2,52],{52:Y2}),e(i2,[2,77]),e(i2,[2,76]),{22:S,24:m,26:v,38:V,42:x,52:l,66:h,67:A,68:[1,239],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(i2,[2,79]),e(y,[2,83]),{22:S,24:m,26:v,38:V,39:240,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(v2,B,{17:241}),e(Q,[2,43]),{51:242,52:q,54:46,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:b1,66:k1,67:D1,87:g1,97:243,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},{22:b1,66:k1,67:D1,87:g1,97:257,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},{22:b1,66:k1,67:D1,87:g1,97:258,103:F1,105:[1,259],106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},{22:b1,66:k1,67:D1,87:g1,97:260,103:F1,105:[1,261],106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},{106:[1,262]},{22:b1,66:k1,67:D1,87:g1,97:263,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},{22:b1,66:k1,67:D1,87:g1,97:264,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},{26:i1,52:l,66:h,67:A,92:r1,98:265,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Y,[2,103]),{84:[1,266]},e(Y,[2,107],{22:[1,267]}),e(Y,[2,108]),e(Y,[2,111]),e(Y,[2,113],{22:[1,268]}),e(Y,[2,114]),e(t1,[2,58]),e(t1,[2,59]),{22:S,24:m,26:v,38:V,42:x,52:l,58:[1,269],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(t1,[2,66]),e(t1,[2,61]),e(t1,[2,62]),e(t1,[2,63]),{66:[1,270]},e(t1,[2,65]),e(t1,[2,67]),{22:S,24:m,26:v,38:V,42:x,52:l,66:h,67:A,72:[1,271],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(t1,[2,69]),e(t1,[2,70]),e(t1,[2,72]),e(t1,[2,71]),e(t1,[2,73]),e(z2,[2,4]),e([22,52,66,67,92,96,106,107,110,112,113,123,124,125,126,127,128],[2,81]),{22:S,24:m,26:v,38:V,41:[1,272],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{18:18,19:19,20:u1,21:H,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,42:[1,273],43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},e(S2,[2,56]),e(Y,[2,116],{107:z1}),e(Q2,[2,126],{109:275,22:b1,66:k1,67:D1,87:g1,103:F1,106:C1,110:_1,111:B1,112:T1,113:y1,114:S1}),e(o1,[2,128]),e(o1,[2,130]),e(o1,[2,131]),e(o1,[2,132]),e(o1,[2,133]),e(o1,[2,134]),e(o1,[2,135]),e(o1,[2,136]),e(o1,[2,137]),e(o1,[2,138]),e(o1,[2,139]),e(o1,[2,140]),e(Y,[2,117],{107:z1}),e(Y,[2,118],{107:z1}),{22:[1,276]},e(Y,[2,119],{107:z1}),{22:[1,277]},e(H2,[2,125]),e(Y,[2,99],{107:z1}),e(Y,[2,100],{107:z1}),e(Y,[2,101],{116:100,118:179,26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),e(Y,[2,105]),{102:[1,278]},{102:[1,279]},{58:[1,280]},{68:[1,281]},{72:[1,282]},{9:283,20:p1,21:d1,23:E1},e(Q,[2,42]),{22:b1,66:k1,67:D1,87:g1,103:F1,106:C1,108:284,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},e(o1,[2,129]),{26:i1,52:l,66:h,67:A,92:r1,98:285,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},{26:i1,52:l,66:h,67:A,92:r1,98:286,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Y,[2,109]),e(Y,[2,115]),e(t1,[2,60]),{22:S,24:m,26:v,38:V,39:287,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(t1,[2,68]),e(v2,B,{17:288}),e(Q2,[2,127],{109:275,22:b1,66:k1,67:D1,87:g1,103:F1,106:C1,110:_1,111:B1,112:T1,113:y1,114:S1}),e(Y,[2,122],{116:100,118:179,22:[1,289],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),e(Y,[2,123],{116:100,118:179,22:[1,290],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),{22:S,24:m,26:v,38:V,41:[1,291],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{18:18,19:19,20:u1,21:H,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,42:[1,292],43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:b1,66:k1,67:D1,87:g1,97:293,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},{22:b1,66:k1,67:D1,87:g1,97:294,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},e(t1,[2,64]),e(Q,[2,41]),e(Y,[2,120],{107:z1}),e(Y,[2,121],{107:z1})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(a,o){if(o.recoverable)this.trace(a);else{var T=new Error(a);throw T.hash=o,T}},parse:function(a){var o=this,T=[0],r=[],X=[null],t=[],r2=this.table,s="",l1=0,X2=0,xe=2,q2=1,Re=t.slice.call(arguments,1),e1=Object.create(this.lexer),q1={yy:{}};for(var R2 in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R2)&&(q1.yy[R2]=this.yy[R2]);e1.setInput(a,q1.yy),q1.yy.lexer=e1,q1.yy.parser=this,typeof e1.yylloc>"u"&&(e1.yylloc={});var L2=e1.yylloc;t.push(L2);var Le=e1.options&&e1.options.ranges;typeof q1.yy.parseError=="function"?this.parseError=q1.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ie(){var j1;return j1=r.pop()||e1.lex()||q2,typeof j1!="number"&&(j1 instanceof Array&&(r=j1,j1=r.pop()),j1=o.symbols_[j1]||j1),j1}for(var a1,Z1,h1,I2,e2={},D2,K1,Z2,g2;;){if(Z1=T[T.length-1],this.defaultActions[Z1]?h1=this.defaultActions[Z1]:((a1===null||typeof a1>"u")&&(a1=Ie()),h1=r2[Z1]&&r2[Z1][a1]),typeof h1>"u"||!h1.length||!h1[0]){var N2="";g2=[];for(D2 in r2[Z1])this.terminals_[D2]&&D2>xe&&g2.push("'"+this.terminals_[D2]+"'");e1.showPosition?N2="Parse error on line "+(l1+1)+`: +import{c as w2,u as Ne,s as Oe,g as Pe,a as we,b as Ue,v as Me,x as Ge,m as Ke,l as U2,y as M2,z as je,k as We,h as n2}from"./mermaid.core-5f04c634.js";var O2=function(){var e=function(H1,a,o,T){for(o=o||{},T=H1.length;T--;o[H1[T]]=a);return o},u=[1,9],i=[1,7],n=[1,6],c=[1,8],_=[1,20,21,22,23,38,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],B=[2,10],u1=[1,20],H=[1,21],s1=[1,22],f1=[1,23],Y1=[1,30],Q1=[1,32],X1=[1,33],s2=[1,34],q=[1,62],c1=[1,48],m1=[1,52],o2=[1,36],l2=[1,37],h2=[1,38],A2=[1,39],f2=[1,40],v1=[1,56],V1=[1,63],x1=[1,51],R1=[1,53],L1=[1,55],I1=[1,59],N1=[1,60],p2=[1,41],d2=[1,42],E2=[1,43],b2=[1,44],O1=[1,61],P1=[1,50],w1=[1,54],U1=[1,57],M1=[1,58],G1=[1,49],j2=[1,66],u2=[1,71],Q=[1,20,21,22,23,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],p1=[1,75],d1=[1,74],E1=[1,76],k2=[20,21,23,81,82],i1=[1,99],l=[1,104],h=[1,107],A=[1,108],r1=[1,101],f=[1,106],p=[1,109],n1=[1,102],d=[1,114],E=[1,113],b=[1,103],k=[1,105],D=[1,110],g=[1,111],F=[1,112],C=[1,115],S2=[20,21,22,23,81,82],t1=[20,21,22,23,53,81,82],Z=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,92,96,106,107,110,112,113,123,124,125,126,127,128],Y=[20,21,23],W2=[20,21,23,52,66,67,81,82,92,96,106,107,110,112,113,123,124,125,126,127,128],m2=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],i2=[52,66,67,92,96,106,107,110,112,113,123,124,125,126,127,128],S=[1,150],m=[1,158],v=[1,159],V=[1,160],x=[1,161],R=[1,145],L=[1,146],J=[1,141],$=[1,142],I=[1,153],N=[1,154],O=[1,155],P=[1,156],w=[1,157],U=[1,162],M=[1,163],G=[1,148],K=[1,151],j=[1,147],W=[1,144],v2=[20,21,22,23,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],Y2=[1,166],$1=[20,21,22,23,26,52,66,67,92,106,107,110,112,113,123,124,125,126,127,128],y=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,87,88,89,90,91,92,93,96,106,107,110,112,113,114,115,123,124,125,126,127,128],z2=[12,21,22,24],H2=[22,107],b1=[1,251],k1=[1,246],D1=[1,247],g1=[1,255],F1=[1,252],C1=[1,249],_1=[1,248],B1=[1,250],T1=[1,253],y1=[1,254],S1=[1,256],z1=[1,274],Q2=[20,21,23,107],o1=[20,21,22,23,66,67,87,103,106,107,110,111,112,113,114],V2={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,MD_STR:85,keywords:86,STYLE:87,LINKSTYLE:88,CLASSDEF:89,CLASS:90,CLICK:91,DOWN:92,UP:93,textNoTags:94,textNoTagsToken:95,DEFAULT:96,stylesOpt:97,alphaNum:98,CALLBACKNAME:99,CALLBACKARGS:100,HREF:101,LINK_TARGET:102,HEX:103,numList:104,INTERPOLATE:105,NUM:106,COMMA:107,style:108,styleComponent:109,MINUS:110,UNIT:111,BRKT:112,DOT:113,PCT:114,TAGSTART:115,alphaNumToken:116,idStringToken:117,alphaNumStatement:118,direction_tb:119,direction_bt:120,direction_rl:121,direction_lr:122,PUNCTUATION:123,UNICODE_TEXT:124,PLUS:125,EQUALS:126,MULT:127,UNDERSCORE:128,graphCodeTokens:129,ARROW_CROSS:130,ARROW_POINT:131,ARROW_CIRCLE:132,ARROW_OPEN:133,QUOTE:134,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",85:"MD_STR",87:"STYLE",88:"LINKSTYLE",89:"CLASSDEF",90:"CLASS",91:"CLICK",92:"DOWN",93:"UP",96:"DEFAULT",99:"CALLBACKNAME",100:"CALLBACKARGS",101:"HREF",102:"LINK_TARGET",103:"HEX",105:"INTERPOLATE",106:"NUM",107:"COMMA",110:"MINUS",111:"UNIT",112:"BRKT",113:"DOT",114:"PCT",115:"TAGSTART",119:"direction_tb",120:"direction_bt",121:"direction_rl",122:"direction_lr",123:"PUNCTUATION",124:"UNICODE_TEXT",125:"PLUS",126:"EQUALS",127:"MULT",128:"UNDERSCORE",130:"ARROW_CROSS",131:"ARROW_POINT",132:"ARROW_CIRCLE",133:"ARROW_OPEN",134:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[39,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[94,1],[94,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[104,1],[104,3],[97,1],[97,3],[108,1],[108,2],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[95,1],[95,1],[95,1],[95,1],[54,1],[54,2],[98,1],[98,2],[118,1],[118,1],[118,1],[118,1],[43,1],[43,1],[43,1],[43,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1]],performAction:function(a,o,T,r,X,t,r2){var s=t.length-1;switch(X){case 5:r.parseDirective("%%{","open_directive");break;case 6:r.parseDirective(t[s],"type_directive");break;case 7:t[s]=t[s].trim().replace(/'/g,'"'),r.parseDirective(t[s],"arg_directive");break;case 8:r.parseDirective("}%%","close_directive","flowchart");break;case 10:this.$=[];break;case 11:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 12:case 97:case 153:case 155:case 156:this.$=t[s];break;case 19:r.setDirection("TB"),this.$="TB";break;case 20:r.setDirection(t[s-1]),this.$=t[s-1];break;case 35:this.$=t[s-1].nodes;break;case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 41:this.$=r.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 42:this.$=r.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 43:this.$=r.addSubGraph(void 0,t[s-1],void 0);break;case 45:this.$=t[s].trim(),r.setAccTitle(this.$);break;case 46:case 47:this.$=t[s].trim(),r.setAccDescription(this.$);break;case 51:r.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 52:r.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 53:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 54:this.$={stmt:t[s],nodes:t[s]};break;case 55:this.$=[t[s]];break;case 56:this.$=t[s-4].concat(t[s]);break;case 57:this.$=[t[s-2]],r.setClass(t[s-2],t[s]);break;case 58:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"square");break;case 59:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"doublecircle");break;case 60:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"circle");break;case 61:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"ellipse");break;case 62:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"stadium");break;case 63:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"subroutine");break;case 64:this.$=t[s-7],r.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 65:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"cylinder");break;case 66:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"round");break;case 67:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"diamond");break;case 68:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"hexagon");break;case 69:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"odd");break;case 70:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"trapezoid");break;case 71:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 72:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_right");break;case 73:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_left");break;case 74:this.$=t[s],r.addVertex(t[s]);break;case 75:t[s-1].text=t[s],this.$=t[s-1];break;case 76:case 77:t[s-2].text=t[s-1],this.$=t[s-2];break;case 78:this.$=t[s];break;case 79:var l1=r.destructLink(t[s],t[s-2]);this.$={type:l1.type,stroke:l1.stroke,length:l1.length,text:t[s-1]};break;case 80:var l1=r.destructLink(t[s]);this.$={type:l1.type,stroke:l1.stroke,length:l1.length};break;case 81:this.$=t[s-1];break;case 82:this.$={text:t[s],type:"text"};break;case 83:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 84:this.$={text:t[s],type:"text"};break;case 85:this.$={text:t[s],type:"markdown"};break;case 98:case 154:this.$=t[s-1]+""+t[s];break;case 99:case 100:this.$=t[s-4],r.addClass(t[s-2],t[s]);break;case 101:this.$=t[s-4],r.setClass(t[s-2],t[s]);break;case 102:case 110:this.$=t[s-1],r.setClickEvent(t[s-1],t[s]);break;case 103:case 111:this.$=t[s-3],r.setClickEvent(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 104:this.$=t[s-2],r.setClickEvent(t[s-2],t[s-1],t[s]);break;case 105:this.$=t[s-4],r.setClickEvent(t[s-4],t[s-3],t[s-2]),r.setTooltip(t[s-4],t[s]);break;case 106:case 112:this.$=t[s-1],r.setLink(t[s-1],t[s]);break;case 107:case 113:this.$=t[s-3],r.setLink(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 108:case 114:this.$=t[s-3],r.setLink(t[s-3],t[s-2],t[s]);break;case 109:case 115:this.$=t[s-5],r.setLink(t[s-5],t[s-4],t[s]),r.setTooltip(t[s-5],t[s-2]);break;case 116:this.$=t[s-4],r.addVertex(t[s-2],void 0,void 0,t[s]);break;case 117:case 119:this.$=t[s-4],r.updateLink(t[s-2],t[s]);break;case 118:this.$=t[s-4],r.updateLink([t[s-2]],t[s]);break;case 120:this.$=t[s-8],r.updateLinkInterpolate([t[s-6]],t[s-2]),r.updateLink([t[s-6]],t[s]);break;case 121:this.$=t[s-8],r.updateLinkInterpolate(t[s-6],t[s-2]),r.updateLink(t[s-6],t[s]);break;case 122:this.$=t[s-6],r.updateLinkInterpolate([t[s-4]],t[s]);break;case 123:this.$=t[s-6],r.updateLinkInterpolate(t[s-4],t[s]);break;case 124:case 126:this.$=[t[s]];break;case 125:case 127:t[s-2].push(t[s]),this.$=t[s-2];break;case 129:this.$=t[s-1]+t[s];break;case 151:this.$=t[s];break;case 152:this.$=t[s-1]+""+t[s];break;case 157:this.$="v";break;case 158:this.$="-";break;case 159:this.$={stmt:"dir",value:"TB"};break;case 160:this.$={stmt:"dir",value:"BT"};break;case 161:this.$={stmt:"dir",value:"RL"};break;case 162:this.$={stmt:"dir",value:"LR"};break}},table:[{3:1,4:2,5:3,6:5,12:u,16:4,21:i,22:n,24:c},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:u,16:4,21:i,22:n,24:c},e(_,B,{17:11}),{7:12,13:[1,13]},{16:14,21:i,22:n,24:c},{16:15,21:i,22:n,24:c},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:u1,21:H,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{8:64,10:[1,65],15:j2},e([10,15],[2,6]),e(_,[2,17]),e(_,[2,18]),e(_,[2,19]),{20:[1,68],21:[1,69],22:u2,27:67,30:70},e(Q,[2,11]),e(Q,[2,12]),e(Q,[2,13]),e(Q,[2,14]),e(Q,[2,15]),e(Q,[2,16]),{9:72,20:p1,21:d1,23:E1,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:p1,21:d1,23:E1},{9:81,20:p1,21:d1,23:E1},{9:82,20:p1,21:d1,23:E1},{9:83,20:p1,21:d1,23:E1},{9:84,20:p1,21:d1,23:E1},{9:86,20:p1,21:d1,22:[1,85],23:E1},e(Q,[2,44]),{45:[1,87]},{47:[1,88]},e(Q,[2,47]),e(k2,[2,54],{30:89,22:u2}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:i1,52:l,66:h,67:A,84:[1,97],92:r1,98:96,99:[1,94],101:[1,95],106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Q,[2,159]),e(Q,[2,160]),e(Q,[2,161]),e(Q,[2,162]),e(S2,[2,55],{53:[1,116]}),e(t1,[2,74],{117:129,40:[1,117],52:q,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:c1,67:m1,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1}),e(Z,[2,151]),e(Z,[2,176]),e(Z,[2,177]),e(Z,[2,178]),e(Z,[2,179]),e(Z,[2,180]),e(Z,[2,181]),e(Z,[2,182]),e(Z,[2,183]),e(Z,[2,184]),e(Z,[2,185]),e(Z,[2,186]),e(Z,[2,187]),e(Z,[2,188]),e(Z,[2,189]),e(Z,[2,190]),e(Z,[2,191]),{9:130,20:p1,21:d1,23:E1},{11:131,14:[1,132]},e(Y,[2,8]),e(_,[2,20]),e(_,[2,26]),e(_,[2,27]),{21:[1,133]},e(W2,[2,34],{30:134,22:u2}),e(Q,[2,35]),{50:135,51:45,52:q,54:46,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},e(m2,[2,48]),e(m2,[2,49]),e(m2,[2,50]),e(i2,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:S,24:m,26:v,38:V,39:139,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e([52,66,67,68,80,92,96,106,107,110,112,113,123,124,125,126,127,128],[2,80]),e(Q,[2,36]),e(Q,[2,37]),e(Q,[2,38]),e(Q,[2,39]),e(Q,[2,40]),{22:S,24:m,26:v,38:V,39:164,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(v2,B,{17:165}),e(Q,[2,45]),e(Q,[2,46]),e(k2,[2,53],{52:Y2}),{26:i1,52:l,66:h,67:A,92:r1,98:167,103:[1,168],106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},{96:[1,169],104:170,106:[1,171]},{26:i1,52:l,66:h,67:A,92:r1,96:[1,172],98:173,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},{26:i1,52:l,66:h,67:A,92:r1,98:174,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Y,[2,102],{22:[1,175],100:[1,176]}),e(Y,[2,106],{22:[1,177]}),e(Y,[2,110],{116:100,118:179,22:[1,178],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),e(Y,[2,112],{22:[1,180]}),e($1,[2,153]),e($1,[2,155]),e($1,[2,156]),e($1,[2,157]),e($1,[2,158]),e(y,[2,163]),e(y,[2,164]),e(y,[2,165]),e(y,[2,166]),e(y,[2,167]),e(y,[2,168]),e(y,[2,169]),e(y,[2,170]),e(y,[2,171]),e(y,[2,172]),e(y,[2,173]),e(y,[2,174]),e(y,[2,175]),{52:q,54:181,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:S,24:m,26:v,38:V,39:182,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:183,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:185,42:x,52:l,57:[1,184],66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:186,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:187,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:188,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{66:[1,189]},{22:S,24:m,26:v,38:V,39:190,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:191,42:x,52:l,66:h,67:A,71:[1,192],73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:193,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:194,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:195,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(Z,[2,152]),e(z2,[2,3]),{8:196,15:j2},{15:[2,7]},e(_,[2,28]),e(W2,[2,33]),e(k2,[2,51],{30:197,22:u2}),e(i2,[2,75],{22:[1,198]}),{22:[1,199]},{22:S,24:m,26:v,38:V,39:200,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,66:h,67:A,73:R,81:L,82:[1,201],83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(y,[2,82]),e(y,[2,84]),e(y,[2,85]),e(y,[2,141]),e(y,[2,142]),e(y,[2,143]),e(y,[2,144]),e(y,[2,145]),e(y,[2,146]),e(y,[2,147]),e(y,[2,148]),e(y,[2,149]),e(y,[2,150]),e(y,[2,86]),e(y,[2,87]),e(y,[2,88]),e(y,[2,89]),e(y,[2,90]),e(y,[2,91]),e(y,[2,92]),e(y,[2,93]),e(y,[2,94]),e(y,[2,95]),e(y,[2,96]),{9:204,20:p1,21:d1,22:S,23:E1,24:m,26:v,38:V,40:[1,203],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{18:18,19:19,20:u1,21:H,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,42:[1,205],43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:u2,30:206},{22:[1,207],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,116:100,118:179,123:b,124:k,125:D,126:g,127:F,128:C},{22:[1,208]},{22:[1,209]},{22:[1,210],107:[1,211]},e(H2,[2,124]),{22:[1,212]},{22:[1,213],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,116:100,118:179,123:b,124:k,125:D,126:g,127:F,128:C},{22:[1,214],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,116:100,118:179,123:b,124:k,125:D,126:g,127:F,128:C},{84:[1,215]},e(Y,[2,104],{22:[1,216]}),{84:[1,217],102:[1,218]},{84:[1,219]},e($1,[2,154]),{84:[1,220],102:[1,221]},e(S2,[2,57],{117:129,52:q,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1}),{22:S,24:m,26:v,38:V,41:[1,222],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,56:[1,223],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:224,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,58:[1,225],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,60:[1,226],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,62:[1,227],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,64:[1,228],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{67:[1,229]},{22:S,24:m,26:v,38:V,42:x,52:l,66:h,67:A,70:[1,230],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,66:h,67:A,72:[1,231],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,39:232,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,41:[1,233],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,66:h,67:A,73:R,75:[1,234],77:[1,235],81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:S,24:m,26:v,38:V,42:x,52:l,66:h,67:A,73:R,75:[1,237],77:[1,236],81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{9:238,20:p1,21:d1,23:E1},e(k2,[2,52],{52:Y2}),e(i2,[2,77]),e(i2,[2,76]),{22:S,24:m,26:v,38:V,42:x,52:l,66:h,67:A,68:[1,239],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(i2,[2,79]),e(y,[2,83]),{22:S,24:m,26:v,38:V,39:240,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(v2,B,{17:241}),e(Q,[2,43]),{51:242,52:q,54:46,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:b1,66:k1,67:D1,87:g1,97:243,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},{22:b1,66:k1,67:D1,87:g1,97:257,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},{22:b1,66:k1,67:D1,87:g1,97:258,103:F1,105:[1,259],106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},{22:b1,66:k1,67:D1,87:g1,97:260,103:F1,105:[1,261],106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},{106:[1,262]},{22:b1,66:k1,67:D1,87:g1,97:263,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},{22:b1,66:k1,67:D1,87:g1,97:264,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},{26:i1,52:l,66:h,67:A,92:r1,98:265,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Y,[2,103]),{84:[1,266]},e(Y,[2,107],{22:[1,267]}),e(Y,[2,108]),e(Y,[2,111]),e(Y,[2,113],{22:[1,268]}),e(Y,[2,114]),e(t1,[2,58]),e(t1,[2,59]),{22:S,24:m,26:v,38:V,42:x,52:l,58:[1,269],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(t1,[2,66]),e(t1,[2,61]),e(t1,[2,62]),e(t1,[2,63]),{66:[1,270]},e(t1,[2,65]),e(t1,[2,67]),{22:S,24:m,26:v,38:V,42:x,52:l,66:h,67:A,72:[1,271],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(t1,[2,69]),e(t1,[2,70]),e(t1,[2,72]),e(t1,[2,71]),e(t1,[2,73]),e(z2,[2,4]),e([22,52,66,67,92,96,106,107,110,112,113,123,124,125,126,127,128],[2,81]),{22:S,24:m,26:v,38:V,41:[1,272],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{18:18,19:19,20:u1,21:H,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,42:[1,273],43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},e(S2,[2,56]),e(Y,[2,116],{107:z1}),e(Q2,[2,126],{109:275,22:b1,66:k1,67:D1,87:g1,103:F1,106:C1,110:_1,111:B1,112:T1,113:y1,114:S1}),e(o1,[2,128]),e(o1,[2,130]),e(o1,[2,131]),e(o1,[2,132]),e(o1,[2,133]),e(o1,[2,134]),e(o1,[2,135]),e(o1,[2,136]),e(o1,[2,137]),e(o1,[2,138]),e(o1,[2,139]),e(o1,[2,140]),e(Y,[2,117],{107:z1}),e(Y,[2,118],{107:z1}),{22:[1,276]},e(Y,[2,119],{107:z1}),{22:[1,277]},e(H2,[2,125]),e(Y,[2,99],{107:z1}),e(Y,[2,100],{107:z1}),e(Y,[2,101],{116:100,118:179,26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),e(Y,[2,105]),{102:[1,278]},{102:[1,279]},{58:[1,280]},{68:[1,281]},{72:[1,282]},{9:283,20:p1,21:d1,23:E1},e(Q,[2,42]),{22:b1,66:k1,67:D1,87:g1,103:F1,106:C1,108:284,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},e(o1,[2,129]),{26:i1,52:l,66:h,67:A,92:r1,98:285,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},{26:i1,52:l,66:h,67:A,92:r1,98:286,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Y,[2,109]),e(Y,[2,115]),e(t1,[2,60]),{22:S,24:m,26:v,38:V,39:287,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(t1,[2,68]),e(v2,B,{17:288}),e(Q2,[2,127],{109:275,22:b1,66:k1,67:D1,87:g1,103:F1,106:C1,110:_1,111:B1,112:T1,113:y1,114:S1}),e(Y,[2,122],{116:100,118:179,22:[1,289],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),e(Y,[2,123],{116:100,118:179,22:[1,290],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),{22:S,24:m,26:v,38:V,41:[1,291],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{18:18,19:19,20:u1,21:H,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,42:[1,292],43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:b1,66:k1,67:D1,87:g1,97:293,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},{22:b1,66:k1,67:D1,87:g1,97:294,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:y1,114:S1},e(t1,[2,64]),e(Q,[2,41]),e(Y,[2,120],{107:z1}),e(Y,[2,121],{107:z1})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(a,o){if(o.recoverable)this.trace(a);else{var T=new Error(a);throw T.hash=o,T}},parse:function(a){var o=this,T=[0],r=[],X=[null],t=[],r2=this.table,s="",l1=0,X2=0,xe=2,q2=1,Re=t.slice.call(arguments,1),e1=Object.create(this.lexer),q1={yy:{}};for(var R2 in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R2)&&(q1.yy[R2]=this.yy[R2]);e1.setInput(a,q1.yy),q1.yy.lexer=e1,q1.yy.parser=this,typeof e1.yylloc>"u"&&(e1.yylloc={});var L2=e1.yylloc;t.push(L2);var Le=e1.options&&e1.options.ranges;typeof q1.yy.parseError=="function"?this.parseError=q1.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ie(){var j1;return j1=r.pop()||e1.lex()||q2,typeof j1!="number"&&(j1 instanceof Array&&(r=j1,j1=r.pop()),j1=o.symbols_[j1]||j1),j1}for(var a1,Z1,h1,I2,e2={},D2,K1,Z2,g2;;){if(Z1=T[T.length-1],this.defaultActions[Z1]?h1=this.defaultActions[Z1]:((a1===null||typeof a1>"u")&&(a1=Ie()),h1=r2[Z1]&&r2[Z1][a1]),typeof h1>"u"||!h1.length||!h1[0]){var N2="";g2=[];for(D2 in r2[Z1])this.terminals_[D2]&&D2>xe&&g2.push("'"+this.terminals_[D2]+"'");e1.showPosition?N2="Parse error on line "+(l1+1)+`: `+e1.showPosition()+` Expecting `+g2.join(", ")+", got '"+(this.terminals_[a1]||a1)+"'":N2="Parse error on line "+(l1+1)+": Unexpected "+(a1==q2?"end of input":"'"+(this.terminals_[a1]||a1)+"'"),this.parseError(N2,{text:e1.match,token:this.terminals_[a1]||a1,line:e1.yylineno,loc:L2,expected:g2})}if(h1[0]instanceof Array&&h1.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Z1+", token: "+a1);switch(h1[0]){case 1:T.push(a1),X.push(e1.yytext),t.push(e1.yylloc),T.push(h1[1]),a1=null,X2=e1.yyleng,s=e1.yytext,l1=e1.yylineno,L2=e1.yylloc;break;case 2:if(K1=this.productions_[h1[1]][1],e2.$=X[X.length-K1],e2._$={first_line:t[t.length-(K1||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(K1||1)].first_column,last_column:t[t.length-1].last_column},Le&&(e2._$.range=[t[t.length-(K1||1)].range[0],t[t.length-1].range[1]]),I2=this.performAction.apply(e2,[s,X2,l1,q1.yy,h1[1],X,t].concat(Re)),typeof I2<"u")return I2;K1&&(T=T.slice(0,-1*K1*2),X=X.slice(0,-1*K1),t=t.slice(0,-1*K1)),T.push(this.productions_[h1[1]][0]),X.push(e2.$),t.push(e2._$),Z2=r2[T[T.length-2]][T[T.length-1]],T.push(Z2);break;case 3:return!0}}return!0}},Ve=function(){var H1={EOF:1,parseError:function(o,T){if(this.yy.parser)this.yy.parser.parseError(o,T);else throw new Error(o)},setInput:function(a,o){return this.yy=o||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var o=a.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var o=a.length,T=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),T.length-1&&(this.yylineno-=T.length-1);var X=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:T?(T.length===r.length?this.yylloc.first_column:0)+r[r.length-T.length].length-T[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[X[0],X[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),o=new Array(a.length+1).join("-");return a+this.upcomingInput()+` diff --git a/docs/.vuepress/dist/assets/flowDiagram-46a15f6f-0325a458.js b/docs/.vuepress/dist/assets/flowDiagram-46a15f6f-b3830e07.js similarity index 97% rename from docs/.vuepress/dist/assets/flowDiagram-46a15f6f-0325a458.js rename to docs/.vuepress/dist/assets/flowDiagram-46a15f6f-b3830e07.js index 746661d..110e500 100644 --- a/docs/.vuepress/dist/assets/flowDiagram-46a15f6f-0325a458.js +++ b/docs/.vuepress/dist/assets/flowDiagram-46a15f6f-b3830e07.js @@ -1,4 +1,4 @@ -import{p as St,f as W}from"./flowDb-52e24d17-b379c657.js";import{h as S,u as Lt,r as Et,p as _t,l as Tt,d as D,f as tt,G as Nt}from"./layout-6fd5c641.js";import{h as x,o as G,p as z,q as et,c as J,k as rt,l as I,r as V,t as At}from"./mermaid.core-00b8b54a.js";import{a as N,b as at,i as nt,c as _,e as st,d as it,f as Ct,g as It}from"./styles-26373982-ae8be1d1.js";import{l as Bt}from"./line-93633409.js";import"./createText-1f5f8f92-f405caff.js";import{s as Mt}from"./selectAll-a97dbb9c.js";import"./commonjsHelpers-725317a4.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";import"./index-5219d011-50992b0b.js";import"./edges-2e77835f-0b2286d7.js";import"./svgDraw-2526cba0-86ed4b4e.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";function Dt(r){if(!r.ok)throw new Error(r.status+" "+r.statusText);return r.text()}function Pt(r,e){return fetch(r,e).then(Dt)}function Rt(r){return(e,t)=>Pt(e,t).then(n=>new DOMParser().parseFromString(n,r))}var Gt=Rt("image/svg+xml"),Y={normal:$t,vee:Wt,undirected:Vt};function Ut(r){Y=r}function $t(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Wt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Vt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function zt(r,e){var t=r;return t.node().appendChild(e.label),N(t,e.labelStyle),t}function Yt(r,e){for(var t=r.append("text"),n=Ht(e.label).split(` +import{p as St,f as W}from"./flowDb-52e24d17-1ab97c12.js";import{h as S,u as Lt,r as Et,p as _t,l as Tt,d as D,f as tt,G as Nt}from"./layout-2d03da6d.js";import{h as x,o as G,p as z,q as et,c as J,k as rt,l as I,r as V,t as At}from"./mermaid.core-5f04c634.js";import{a as N,b as at,i as nt,c as _,e as st,d as it,f as Ct,g as It}from"./styles-26373982-9a741945.js";import{l as Bt}from"./line-696a8ea1.js";import"./createText-1f5f8f92-c2c40041.js";import{s as Mt}from"./selectAll-4b319156.js";import"./commonjsHelpers-725317a4.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";import"./index-5219d011-730b0cac.js";import"./edges-2e77835f-a16bcc0b.js";import"./svgDraw-2526cba0-39b24240.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";function Dt(r){if(!r.ok)throw new Error(r.status+" "+r.statusText);return r.text()}function Pt(r,e){return fetch(r,e).then(Dt)}function Rt(r){return(e,t)=>Pt(e,t).then(n=>new DOMParser().parseFromString(n,r))}var Gt=Rt("image/svg+xml"),Y={normal:$t,vee:Wt,undirected:Vt};function Ut(r){Y=r}function $t(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Wt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Vt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function zt(r,e){var t=r;return t.node().appendChild(e.label),N(t,e.labelStyle),t}function Yt(r,e){for(var t=r.append("text"),n=Ht(e.label).split(` `),a=0;a0}function T(r,e,t){var n=r.x,a=r.y,s=[],i=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY;e.forEach(function(p){i=Math.min(i,p.x),o=Math.min(o,p.y)});for(var c=n-r.width/2-i,d=a-r.height/2-o,l=0;l1&&s.sort(function(p,m){var f=p.x-t.x,y=p.y-t.y,k=Math.sqrt(f*f+y*y),B=m.x-t.x,E=m.y-t.y,U=Math.sqrt(B*B+E*E);return kMath.abs(a)*o?(s<0&&(o=-o),c=s===0?0:o*a/s,d=o):(a<0&&(i=-i),c=i,d=a===0?0:i*s/a),{x:t+c,y:n+d}}var Q={rect:ie,ellipse:oe,circle:le,diamond:ce};function se(r){Q=r}function ie(r,e,t){var n=r.insert("rect",":first-child").attr("rx",t.rx).attr("ry",t.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return t.intersect=function(a){return Z(t,a)},n}function oe(r,e,t){var n=e.width/2,a=e.height/2,s=r.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",n).attr("ry",a);return t.intersect=function(i){return lt(t,n,a,i)},s}function le(r,e,t){var n=Math.max(e.width,e.height)/2,a=r.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",n);return t.intersect=function(s){return ae(t,n,s)},a}function ce(r,e,t){var n=e.width*Math.SQRT2/2,a=e.height*Math.SQRT2/2,s=[{x:0,y:-a},{x:-n,y:0},{x:0,y:a},{x:n,y:0}],i=r.insert("polygon",":first-child").attr("points",s.map(function(o){return o.x+","+o.y}).join(" "));return t.intersect=function(o){return T(t,s,o)},i}function de(){var r=function(e,t){fe(t);var n=P(e,"output"),a=P(n,"clusters"),s=P(n,"edgePaths"),i=X(P(n,"edgeLabels"),t),o=q(P(n,"nodes"),t,Q);Tt(t),re(o,t),ee(i,t),F(s,t,Y);var c=H(a,t);te(c,t),pe(t)};return r.createNodes=function(e){return arguments.length?(jt(e),r):q},r.createClusters=function(e){return arguments.length?(Xt(e),r):H},r.createEdgeLabels=function(e){return arguments.length?(Ft(e),r):X},r.createEdgePaths=function(e){return arguments.length?(qt(e),r):F},r.shapes=function(e){return arguments.length?(se(e),r):Q},r.arrows=function(e){return arguments.length?(Ut(e),r):Y},r}var he={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},ue={arrowhead:"normal",curve:G};function fe(r){r.nodes().forEach(function(e){var t=r.node(e);!S(t,"label")&&!r.children(e).length&&(t.label=e),S(t,"paddingX")&&D(t,{paddingLeft:t.paddingX,paddingRight:t.paddingX}),S(t,"paddingY")&&D(t,{paddingTop:t.paddingY,paddingBottom:t.paddingY}),S(t,"padding")&&D(t,{paddingLeft:t.padding,paddingRight:t.padding,paddingTop:t.padding,paddingBottom:t.padding}),D(t,he),tt(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(n){t[n]=Number(t[n])}),S(t,"width")&&(t._prevWidth=t.width),S(t,"height")&&(t._prevHeight=t.height)}),r.edges().forEach(function(e){var t=r.edge(e);S(t,"label")||(t.label=""),D(t,ue)})}function pe(r){tt(r.nodes(),function(e){var t=r.node(e);S(t,"_prevWidth")?t.width=t._prevWidth:delete t.width,S(t,"_prevHeight")?t.height=t._prevHeight:delete t.height,delete t._prevWidth,delete t._prevHeight})}function P(r,e){var t=r.select("g."+e);return t.empty()&&(t=r.append("g").attr("class",e)),t}function ct(r,e,t){const n=e.width,a=e.height,s=(n+a)*.9,i=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}],o=A(r,s,s,i);return t.intersect=function(c){return T(t,i,c)},o}function dt(r,e,t){const a=e.height,s=a/4,i=e.width+2*s,o=[{x:s,y:0},{x:i-s,y:0},{x:i,y:-a/2},{x:i-s,y:-a},{x:s,y:-a},{x:0,y:-a/2}],c=A(r,i,a,o);return t.intersect=function(d){return T(t,o,d)},c}function ht(r,e,t){const n=e.width,a=e.height,s=[{x:-a/2,y:0},{x:n,y:0},{x:n,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function ut(r,e,t){const n=e.width,a=e.height,s=[{x:-2*a/6,y:0},{x:n-a/6,y:0},{x:n+2*a/6,y:-a},{x:a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function ft(r,e,t){const n=e.width,a=e.height,s=[{x:2*a/6,y:0},{x:n+a/6,y:0},{x:n-2*a/6,y:-a},{x:-a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function pt(r,e,t){const n=e.width,a=e.height,s=[{x:-2*a/6,y:0},{x:n+2*a/6,y:0},{x:n-a/6,y:-a},{x:a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function vt(r,e,t){const n=e.width,a=e.height,s=[{x:a/6,y:0},{x:n-a/6,y:0},{x:n+2*a/6,y:-a},{x:-2*a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function yt(r,e,t){const n=e.width,a=e.height,s=[{x:0,y:0},{x:n+a/2,y:0},{x:n,y:-a/2},{x:n+a/2,y:-a},{x:0,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function gt(r,e,t){const n=e.height,a=e.width+n/4,s=r.insert("rect",":first-child").attr("rx",n/2).attr("ry",n/2).attr("x",-a/2).attr("y",-n/2).attr("width",a).attr("height",n);return t.intersect=function(i){return Z(t,i)},s}function mt(r,e,t){const n=e.width,a=e.height,s=[{x:0,y:0},{x:n,y:0},{x:n,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:n+8,y:0},{x:n+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function wt(r,e,t){const n=e.width,a=n/2,s=a/(2.5+n/50),i=e.height+s,o="M 0,"+s+" a "+a+","+s+" 0,0,0 "+n+" 0 a "+a+","+s+" 0,0,0 "+-n+" 0 l 0,"+i+" a "+a+","+s+" 0,0,0 "+n+" 0 l 0,"+-i,c=r.attr("label-offset-y",s).insert("path",":first-child").attr("d",o).attr("transform","translate("+-n/2+","+-(i/2+s)+")");return t.intersect=function(d){const l=Z(t,d),v=l.x-t.x;if(a!=0&&(Math.abs(v)t.height/2-s)){let h=s*s*(1-v*v/(a*a));h!=0&&(h=Math.sqrt(h)),h=s-h,d.y-t.y>0&&(h=-h),l.y+=h}return l},c}function ve(r){r.shapes().question=ct,r.shapes().hexagon=dt,r.shapes().stadium=gt,r.shapes().subroutine=mt,r.shapes().cylinder=wt,r.shapes().rect_left_inv_arrow=ht,r.shapes().lean_right=ut,r.shapes().lean_left=ft,r.shapes().trapezoid=pt,r.shapes().inv_trapezoid=vt,r.shapes().rect_right_inv_arrow=yt}function ye(r){r({question:ct}),r({hexagon:dt}),r({stadium:gt}),r({subroutine:mt}),r({cylinder:wt}),r({rect_left_inv_arrow:ht}),r({lean_right:ut}),r({lean_left:ft}),r({trapezoid:pt}),r({inv_trapezoid:vt}),r({rect_right_inv_arrow:yt})}function A(r,e,t,n){return r.insert("polygon",":first-child").attr("points",n.map(function(a){return a.x+","+a.y}).join(" ")).attr("transform","translate("+-e/2+","+t/2+")")}const ge={addToRender:ve,addToRenderV2:ye},xt={},me=function(r){const e=Object.keys(r);for(const t of e)xt[t]=r[t]},bt=function(r,e,t,n,a,s){const i=n?n.select(`[id="${t}"]`):x(`[id="${t}"]`),o=a||document;Object.keys(r).forEach(function(d){const l=r[d];let v="default";l.classes.length>0&&(v=l.classes.join(" "));const h=z(l.styles);let u=l.text!==void 0?l.text:l.id,p;if(et(J().flowchart.htmlLabels)){const y={label:u.replace(/fa[blrs]?:fa-[\w-]+/g,k=>``)};p=at(i,y).node(),p.parentNode.removeChild(p)}else{const y=o.createElementNS("http://www.w3.org/2000/svg","text");y.setAttribute("style",h.labelStyle.replace("color:","fill:"));const k=u.split(rt.lineBreakRegex);for(const B of k){const E=o.createElementNS("http://www.w3.org/2000/svg","tspan");E.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),E.setAttribute("dy","1em"),E.setAttribute("x","1"),E.textContent=B,y.appendChild(E)}p=y}let m=0,f="";switch(l.type){case"round":m=5,f="rect";break;case"square":f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"odd_right":f="rect_left_inv_arrow";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"group":f="rect";break;default:f="rect"}I.warn("Adding node",l.id,l.domId),e.setNode(s.db.lookUpDomId(l.id),{labelType:"svg",labelStyle:h.labelStyle,shape:f,label:p,rx:m,ry:m,class:v,style:h.style,id:s.db.lookUpDomId(l.id)})})},kt=function(r,e,t){let n=0,a,s;if(r.defaultStyle!==void 0){const i=z(r.defaultStyle);a=i.style,s=i.labelStyle}r.forEach(function(i){n++;var o="L-"+i.start+"-"+i.end,c="LS-"+i.start,d="LE-"+i.end;const l={};i.type==="arrow_open"?l.arrowhead="none":l.arrowhead="normal";let v="",h="";if(i.style!==void 0){const u=z(i.style);v=u.style,h=u.labelStyle}else switch(i.stroke){case"normal":v="fill:none",a!==void 0&&(v=a),s!==void 0&&(h=s);break;case"dotted":v="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":v=" stroke-width: 3.5px;fill:none";break}l.style=v,l.labelStyle=h,i.interpolate!==void 0?l.curve=V(i.interpolate,G):r.defaultInterpolate!==void 0?l.curve=V(r.defaultInterpolate,G):l.curve=V(xt.curve,G),i.text===void 0?i.style!==void 0&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",et(J().flowchart.htmlLabels)?(l.labelType="html",l.label=`${i.text.replace(/fa[blrs]?:fa-[\w-]+/g,u=>``)}`):(l.labelType="text",l.label=i.text.replace(rt.lineBreakRegex,` `),i.style===void 0&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),l.id=o,l.class=c+" "+d,l.minlen=i.length||1,e.setEdge(t.db.lookUpDomId(i.start),t.db.lookUpDomId(i.end),l,n)})},we=function(r,e){I.info("Extracting classes"),e.db.clear();try{return e.parse(r),e.db.getClasses()}catch(t){return I.error(t),{}}},xe=function(r,e,t,n){I.info("Drawing flowchart"),n.db.clear();const{securityLevel:a,flowchart:s}=J();let i;a==="sandbox"&&(i=x("#i"+e));const o=a==="sandbox"?x(i.nodes()[0].contentDocument.body):x("body"),c=a==="sandbox"?i.nodes()[0].contentDocument:document;try{n.parser.parse(r)}catch{I.debug("Parsing failed")}let d=n.db.getDirection();d===void 0&&(d="TD");const l=s.nodeSpacing||50,v=s.rankSpacing||50,h=new Nt({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:l,ranksep:v,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});let u;const p=n.db.getSubGraphs();for(let g=p.length-1;g>=0;g--)u=p[g],n.db.addVertex(u.id,u.title,"group",void 0,u.classes);const m=n.db.getVertices();I.warn("Get vertices",m);const f=n.db.getEdges();let y=0;for(y=p.length-1;y>=0;y--){u=p[y],Mt("cluster").append("text");for(let g=0;g{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,be.setConf(r.flowchart),W.clear(),W.setGen("gen-1")}};export{Ge as diagram}; diff --git a/docs/.vuepress/dist/assets/flowDiagram-v2-8e52592d-4e79b809.js b/docs/.vuepress/dist/assets/flowDiagram-v2-8e52592d-4e79b809.js deleted file mode 100644 index 31b3cf9..0000000 --- a/docs/.vuepress/dist/assets/flowDiagram-v2-8e52592d-4e79b809.js +++ /dev/null @@ -1 +0,0 @@ -import{p as e,f as o}from"./flowDb-52e24d17-b379c657.js";import{f as t,g as a}from"./styles-26373982-ae8be1d1.js";import{a4 as i}from"./mermaid.core-00b8b54a.js";import"./layout-6fd5c641.js";import"./createText-1f5f8f92-f405caff.js";import"./index-5219d011-50992b0b.js";import"./edges-2e77835f-0b2286d7.js";import"./svgDraw-2526cba0-86ed4b4e.js";import"./line-93633409.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";import"./selectAll-a97dbb9c.js";import"./commonjsHelpers-725317a4.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";const c={parser:e,db:o,renderer:t,styles:a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,i({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{c as diagram}; diff --git a/docs/.vuepress/dist/assets/flowDiagram-v2-8e52592d-74790d9a.js b/docs/.vuepress/dist/assets/flowDiagram-v2-8e52592d-74790d9a.js new file mode 100644 index 0000000..11aab72 --- /dev/null +++ b/docs/.vuepress/dist/assets/flowDiagram-v2-8e52592d-74790d9a.js @@ -0,0 +1 @@ +import{p as e,f as o}from"./flowDb-52e24d17-1ab97c12.js";import{f as t,g as a}from"./styles-26373982-9a741945.js";import{a4 as i}from"./mermaid.core-5f04c634.js";import"./layout-2d03da6d.js";import"./createText-1f5f8f92-c2c40041.js";import"./index-5219d011-730b0cac.js";import"./edges-2e77835f-a16bcc0b.js";import"./svgDraw-2526cba0-39b24240.js";import"./line-696a8ea1.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";import"./selectAll-4b319156.js";import"./commonjsHelpers-725317a4.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";const c={parser:e,db:o,renderer:t,styles:a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,i({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{c as diagram}; diff --git a/docs/.vuepress/dist/assets/flowchart-elk-definition-a44a74cb-98183db1.js b/docs/.vuepress/dist/assets/flowchart-elk-definition-a44a74cb-83cf2f94.js similarity index 99% rename from docs/.vuepress/dist/assets/flowchart-elk-definition-a44a74cb-98183db1.js rename to docs/.vuepress/dist/assets/flowchart-elk-definition-a44a74cb-83cf2f94.js index ca6c840..08ceae3 100644 --- a/docs/.vuepress/dist/assets/flowchart-elk-definition-a44a74cb-98183db1.js +++ b/docs/.vuepress/dist/assets/flowchart-elk-definition-a44a74cb-83cf2f94.js @@ -1,4 +1,4 @@ -import{d as bMe,p as wMe}from"./flowDb-52e24d17-b379c657.js";import{l as K1,h as lI,c as OH,t as gMe,p as V1n,r as X1n,o as IH,k as pMe}from"./mermaid.core-00b8b54a.js";import{i as vMe,a as mMe,l as kMe,b as yMe}from"./edges-2e77835f-0b2286d7.js";import{c as qee,g as jMe}from"./commonjsHelpers-725317a4.js";import"./createText-1f5f8f92-f405caff.js";import{l as EMe}from"./line-93633409.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";import"./svgDraw-2526cba0-86ed4b4e.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";function PH(ye){throw new Error('Could not dynamically require "'+ye+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Q1n={},CMe={get exports(){return Q1n},set exports(ye){Q1n=ye}};(function(ye,It){(function(ft){ye.exports=ft()})(function(){return function(){function ft(dt,Nt,Ai){function j(Bt,qt){if(!Nt[Bt]){if(!dt[Bt]){var Ge=typeof PH=="function"&&PH;if(!qt&&Ge)return Ge(Bt,!0);if(Ht)return Ht(Bt,!0);var Ki=new Error("Cannot find module '"+Bt+"'");throw Ki.code="MODULE_NOT_FOUND",Ki}var Si=Nt[Bt]={exports:{}};dt[Bt][0].call(Si.exports,function(Mn){var Lc=dt[Bt][1][Mn];return j(Lc||Mn)},Si,Si.exports,ft,dt,Nt,Ai)}return Nt[Bt].exports}for(var Ht=typeof PH=="function"&&PH,ou=0;ou0&&arguments[0]!==void 0?arguments[0]:{},Ki=Ge.defaultLayoutOptions,Si=Ki===void 0?{}:Ki,Mn=Ge.algorithms,Lc=Mn===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:Mn,Nc=Ge.workerFactory,ps=Ge.workerUrl;if(j(this,Bt),this.defaultLayoutOptions=Si,this.initialized=!1,typeof ps>"u"&&typeof Nc>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Rr=Nc;typeof ps<"u"&&typeof Nc>"u"&&(Rr=function(q1){return new Worker(q1)});var Ch=Rr(ps);if(typeof Ch.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new ou(Ch),this.worker.postMessage({cmd:"register",algorithms:Lc}).then(function(H1){return qt.initialized=!0}).catch(console.err)}return Ai(Bt,[{key:"layout",value:function(Ge){var Ki=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Si=Ki.layoutOptions,Mn=Si===void 0?this.defaultLayoutOptions:Si,Lc=Ki.logging,Nc=Lc===void 0?!1:Lc,ps=Ki.measureExecutionTime,Rr=ps===void 0?!1:ps;return Ge?this.worker.postMessage({cmd:"layout",graph:Ge,layoutOptions:Mn,options:{logging:Nc,measureExecutionTime:Rr}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),Bt}();Nt.default=Ht;var ou=function(){function Bt(qt){var Ge=this;if(j(this,Bt),qt===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=qt,this.worker.onmessage=function(Ki){setTimeout(function(){Ge.receive(Ge,Ki)},0)}}return Ai(Bt,[{key:"postMessage",value:function(Ge){var Ki=this.id||0;this.id=Ki+1,Ge.id=Ki;var Si=this;return new Promise(function(Mn,Lc){Si.resolvers[Ki]=function(Nc,ps){Nc?(Si.convertGwtStyleError(Nc),Lc(Nc)):Mn(ps)},Si.worker.postMessage(Ge)})}},{key:"receive",value:function(Ge,Ki){var Si=Ki.data,Mn=Ge.resolvers[Si.id];Mn&&(delete Ge.resolvers[Si.id],Si.error?Mn(Si.error):Mn(null,Si.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(Ge){if(Ge){var Ki=Ge.__java$exception;Ki&&(Ki.cause&&Ki.cause.backingJsObject&&(Ge.cause=Ki.cause.backingJsObject,this.convertGwtStyleError(Ge.cause)),delete Ge.__java$exception)}}}]),Bt}()},{}],2:[function(ft,dt,Nt){(function(Ai){(function(){var j;typeof window<"u"?j=window:typeof Ai<"u"?j=Ai:typeof self<"u"&&(j=self);var Ht;function ou(){}function Bt(){}function qt(){}function Ge(){}function Ki(){}function Si(){}function Mn(){}function Lc(){}function Nc(){}function ps(){}function Rr(){}function Ch(){}function H1(){}function q1(){}function ww(){}function Np(){}function G1(){}function Th(){}function J1n(){}function Y1n(){}function zy(){}function Z1n(){}function nln(){}function eln(){}function tln(){}function Xg(){}function N(){}function iln(){}function aI(){}function rln(){}function cln(){}function uln(){}function sln(){}function DH(){}function oln(){}function fln(){}function hln(){}function z1(){}function U1(){}function dI(){}function lln(){}function aln(){}function dln(){}function $H(){}function bln(){}function wln(){}function Vg(){}function Qg(){}function gln(){}function pln(){}function vln(){}function mln(){}function FH(){}function W1(){}function Jg(){}function Yg(){}function kln(){}function Vee(){}function bI(){}function yln(){}function jln(){}function Eln(){}function Cln(){}function Tln(){}function Mln(){}function Aln(){}function Sln(){}function Pln(){}function Iln(){}function Oln(){}function Dln(){}function $ln(){}function Fln(){}function xln(){}function Lln(){}function Nln(){}function Bln(){}function Rln(){}function _ln(){}function Kln(){}function Hln(){}function qln(){}function Gln(){}function zln(){}function Uln(){}function Wln(){}function Xln(){}function Vln(){}function Qln(){}function Jln(){}function Yln(){}function Zln(){}function xH(){}function nan(){}function ean(){}function tan(){}function ian(){}function wI(){}function gI(){}function Uy(){}function ran(){}function can(){}function pI(){}function uan(){}function san(){}function oan(){}function Wy(){}function fan(){}function han(){}function lan(){}function aan(){}function dan(){}function ban(){}function wan(){}function gan(){}function pan(){}function LH(){}function van(){}function man(){}function kan(){}function yan(){}function jan(){}function NH(){}function Ean(){}function Can(){}function Tan(){}function Man(){}function Aan(){}function San(){}function Pan(){}function Ian(){}function Oan(){}function Dan(){}function $an(){}function Fan(){}function xan(){}function Lan(){}function vI(){}function Nan(){}function Ban(){}function Ran(){}function _an(){}function Kan(){}function BH(){}function Han(){}function qan(){}function Gan(){}function zan(){}function Uan(){}function Wan(){}function Xan(){}function Van(){}function Qan(){}function Jan(){}function Yan(){}function Zan(){}function ndn(){}function edn(){}function tdn(){}function idn(){}function rdn(){}function cdn(){}function udn(){}function sdn(){}function odn(){}function fdn(){}function hdn(){}function ldn(){}function adn(){}function ddn(){}function bdn(){}function wdn(){}function gdn(){}function pdn(){}function vdn(){}function mdn(){}function kdn(){}function ydn(){}function jdn(){}function Edn(){}function Cdn(){}function Tdn(){}function Mdn(){}function Adn(){}function Sdn(){}function Pdn(){}function Idn(){}function Odn(){}function Ddn(){}function $dn(){}function Fdn(){}function xdn(){}function Ldn(){}function Ndn(){}function Bdn(){}function Rdn(){}function _dn(){}function Kdn(){}function Hdn(){}function qdn(){}function Gdn(){}function zdn(){}function Udn(){}function Wdn(){}function Xdn(){}function Vdn(){}function Qdn(){}function Jdn(){}function Ydn(){}function Zdn(){}function n0n(){}function e0n(){}function t0n(){}function i0n(){}function r0n(){}function c0n(){}function u0n(){}function s0n(){}function o0n(){}function f0n(){}function h0n(){}function l0n(){}function a0n(){}function d0n(){}function b0n(){}function w0n(){}function g0n(){}function p0n(){}function v0n(){}function m0n(){}function k0n(){}function y0n(){}function j0n(){}function E0n(){}function C0n(){}function T0n(){}function M0n(){}function A0n(){}function S0n(){}function P0n(){}function I0n(){}function O0n(){}function D0n(){}function $0n(){}function RH(){}function F0n(){}function x0n(){}function L0n(){}function N0n(){}function B0n(){}function R0n(){}function _0n(){}function K0n(){}function H0n(){}function q0n(){}function G0n(){}function z0n(){}function U0n(){}function W0n(){}function X0n(){}function V0n(){}function Q0n(){}function J0n(){}function Y0n(){}function Z0n(){}function nbn(){}function ebn(){}function tbn(){}function ibn(){}function rbn(){}function cbn(){}function ubn(){}function sbn(){}function obn(){}function fbn(){}function hbn(){}function lbn(){}function abn(){}function dbn(){}function bbn(){}function wbn(){}function gbn(){}function pbn(){}function vbn(){}function mbn(){}function kbn(){}function ybn(){}function jbn(){}function Ebn(){}function Cbn(){}function Tbn(){}function Mbn(){}function Abn(){}function Sbn(){}function Pbn(){}function Ibn(){}function Obn(){}function Dbn(){}function $bn(){}function Fbn(){}function xbn(){}function Lbn(){}function Nbn(){}function Bbn(){}function Rbn(){}function _bn(){}function Kbn(){}function Hbn(){}function qbn(){}function Gbn(){}function zbn(){}function Ubn(){}function _H(){}function Wbn(){}function Xbn(){}function Vbn(){}function Qbn(){}function Jbn(){}function Ybn(){}function Zbn(){}function nwn(){}function ewn(){}function twn(){}function iwn(){}function rwn(){}function cwn(){}function uwn(){}function swn(){}function own(){}function fwn(){}function hwn(){}function lwn(){}function awn(){}function KH(){}function dwn(){}function bwn(){}function wwn(){}function gwn(){}function pwn(){}function vwn(){}function HH(){}function qH(){}function mwn(){}function GH(){}function zH(){}function kwn(){}function ywn(){}function jwn(){}function Ewn(){}function Cwn(){}function Twn(){}function Mwn(){}function Awn(){}function Swn(){}function UH(){}function Pwn(){}function Iwn(){}function Own(){}function Dwn(){}function $wn(){}function Fwn(){}function xwn(){}function Lwn(){}function Nwn(){}function Bwn(){}function Rwn(){}function _wn(){}function Kwn(){}function Hwn(){}function qwn(){}function Gwn(){}function zwn(){}function Uwn(){}function Wwn(){}function Xwn(){}function Vwn(){}function Qwn(){}function Jwn(){}function Ywn(){}function Zwn(){}function ngn(){}function egn(){}function tgn(){}function ign(){}function rgn(){}function cgn(){}function ugn(){}function sgn(){}function ogn(){}function fgn(){}function hgn(){}function lgn(){}function agn(){}function dgn(){}function bgn(){}function wgn(){}function ggn(){}function pgn(){}function vgn(){}function mgn(){}function kgn(){}function ygn(){}function jgn(){}function Egn(){}function Cgn(){}function Tgn(){}function Mgn(){}function Agn(){}function Sgn(){}function Pgn(){}function Ign(){}function Ogn(){}function Dgn(){}function $gn(){}function Fgn(){}function xgn(){}function Lgn(){}function Ngn(){}function Bgn(){}function Rgn(){}function _gn(){}function Kgn(){}function Hgn(){}function mI(){}function kI(){}function yI(){}function qgn(){}function Ggn(){}function zgn(){}function Ugn(){}function Wgn(){}function WH(){}function Xgn(){}function Vgn(){}function Qee(){}function Qgn(){}function Jgn(){}function Ygn(){}function Zgn(){}function n2n(){}function e2n(){}function t2n(){}function Zl(){}function i2n(){}function Zg(){}function XH(){}function r2n(){}function c2n(){}function u2n(){}function s2n(){}function o2n(){}function f2n(){}function h2n(){}function l2n(){}function a2n(){}function d2n(){}function b2n(){}function w2n(){}function g2n(){}function p2n(){}function v2n(){}function m2n(){}function k2n(){}function y2n(){}function j2n(){}function E2n(){}function C2n(){}function dn(){}function T2n(){}function M2n(){}function A2n(){}function S2n(){}function P2n(){}function I2n(){}function O2n(){}function D2n(){}function $2n(){}function F2n(){}function jI(){}function x2n(){}function L2n(){}function N2n(){}function B2n(){}function R2n(){}function VH(){}function Xy(){}function Vy(){}function _2n(){}function QH(){}function Qy(){}function K2n(){}function H2n(){}function q2n(){}function G2n(){}function z2n(){}function U2n(){}function Jy(){}function W2n(){}function X2n(){}function V2n(){}function Yy(){}function Q2n(){}function JH(){}function J2n(){}function EI(){}function YH(){}function Y2n(){}function Z2n(){}function npn(){}function epn(){}function Jee(){}function tpn(){}function ipn(){}function rpn(){}function cpn(){}function upn(){}function spn(){}function opn(){}function fpn(){}function hpn(){}function lpn(){}function Bp(){}function CI(){}function apn(){}function dpn(){}function bpn(){}function wpn(){}function gpn(){}function ppn(){}function vpn(){}function mpn(){}function kpn(){}function ypn(){}function jpn(){}function Epn(){}function Cpn(){}function Tpn(){}function Mpn(){}function Apn(){}function Spn(){}function Ppn(){}function Ipn(){}function Opn(){}function Dpn(){}function $pn(){}function Fpn(){}function xpn(){}function Lpn(){}function Npn(){}function Bpn(){}function Rpn(){}function _pn(){}function Kpn(){}function Hpn(){}function qpn(){}function Gpn(){}function zpn(){}function Upn(){}function Wpn(){}function Xpn(){}function Vpn(){}function Qpn(){}function Jpn(){}function Ypn(){}function Zpn(){}function n3n(){}function e3n(){}function t3n(){}function i3n(){}function r3n(){}function c3n(){}function u3n(){}function s3n(){}function o3n(){}function f3n(){}function h3n(){}function l3n(){}function a3n(){}function d3n(){}function b3n(){}function w3n(){}function g3n(){}function p3n(){}function v3n(){}function m3n(){}function k3n(){}function y3n(){}function j3n(){}function E3n(){}function C3n(){}function T3n(){}function M3n(){}function A3n(){}function S3n(){}function P3n(){}function I3n(){}function O3n(){}function D3n(){}function $3n(){}function F3n(){}function x3n(){}function L3n(){}function N3n(){}function B3n(){}function R3n(){}function _3n(){}function K3n(){}function H3n(){}function q3n(){}function G3n(){}function z3n(){}function U3n(){}function W3n(){}function X3n(){}function V3n(){}function Q3n(){}function J3n(){}function Y3n(){}function Z3n(){}function n4n(){}function e4n(){}function t4n(){}function i4n(){}function r4n(){}function ZH(){}function c4n(){}function u4n(){}function TI(){Rv()}function s4n(){pF()}function o4n(){a6()}function f4n(){WT()}function h4n(){YJ()}function l4n(){Go()}function a4n(){fJ()}function d4n(){C7()}function b4n(){q9()}function w4n(){H9()}function g4n(){w8()}function p4n(){m7n()}function v4n(){x2()}function m4n(){Sj()}function k4n(){ISn()}function y4n(){qIn()}function j4n(){oPn()}function E4n(){TMn()}function C4n(){V3()}function T4n(){yl()}function M4n(){GIn()}function A4n(){vAn()}function S4n(){zZ()}function P4n(){OFn()}function I4n(){MMn()}function O4n(){nn()}function D4n(){CMn()}function $4n(){zIn()}function F4n(){XOn()}function x4n(){SMn()}function L4n(){dPn()}function N4n(){k7n()}function B4n(){$Y()}function R4n(){gb()}function _4n(){vOn()}function K4n(){S7()}function H4n(){Ux()}function q4n(){ZF()}function G4n(){Zd()}function z4n(){PV()}function U4n(){AMn()}function W4n(){RBn()}function X4n(){IY()}function V4n(){Bx()}function Q4n(){DC()}function J4n(){nM()}function nq(){Xe()}function Y4n(){wT()}function Z4n(){NQ()}function eq(){mM()}function Fo(){bEn()}function tq(){eF()}function nvn(){pZ()}function iq(n){_n(n)}function evn(n){this.a=n}function Zy(n){this.a=n}function tvn(n){this.a=n}function ivn(n){this.a=n}function rvn(n){this.a=n}function cvn(n){this.a=n}function uvn(n){this.a=n}function svn(n){this.a=n}function rq(n){this.a=n}function cq(n){this.a=n}function ovn(n){this.a=n}function MI(n){this.a=n}function fvn(n){this.a=n}function AI(n){this.a=n}function hvn(n){this.a=n}function SI(n){this.a=n}function lvn(n){this.a=n}function PI(n){this.a=n}function avn(n){this.a=n}function dvn(n){this.a=n}function bvn(n){this.a=n}function uq(n){this.b=n}function wvn(n){this.c=n}function gvn(n){this.a=n}function pvn(n){this.a=n}function vvn(n){this.a=n}function mvn(n){this.a=n}function kvn(n){this.a=n}function yvn(n){this.a=n}function jvn(n){this.a=n}function Evn(n){this.a=n}function Cvn(n){this.a=n}function Tvn(n){this.a=n}function Mvn(n){this.a=n}function Avn(n){this.a=n}function Svn(n){this.a=n}function sq(n){this.a=n}function oq(n){this.a=n}function nj(n){this.a=n}function M9(n){this.a=n}function na(){this.a=[]}function Pvn(n,e){n.a=e}function Yee(n,e){n.a=e}function Zee(n,e){n.b=e}function nte(n,e){n.b=e}function ete(n,e){n.b=e}function fq(n,e){n.j=e}function tte(n,e){n.g=e}function ite(n,e){n.i=e}function rte(n,e){n.c=e}function cte(n,e){n.d=e}function ute(n,e){n.d=e}function ste(n,e){n.c=e}function ea(n,e){n.k=e}function ote(n,e){n.c=e}function hq(n,e){n.c=e}function lq(n,e){n.a=e}function fte(n,e){n.a=e}function hte(n,e){n.f=e}function lte(n,e){n.a=e}function ate(n,e){n.b=e}function II(n,e){n.d=e}function ej(n,e){n.i=e}function aq(n,e){n.o=e}function dte(n,e){n.r=e}function bte(n,e){n.a=e}function wte(n,e){n.b=e}function Ivn(n,e){n.e=e}function gte(n,e){n.f=e}function dq(n,e){n.g=e}function pte(n,e){n.e=e}function vte(n,e){n.f=e}function mte(n,e){n.f=e}function kte(n,e){n.n=e}function yte(n,e){n.a=e}function jte(n,e){n.a=e}function Ete(n,e){n.c=e}function Cte(n,e){n.c=e}function Tte(n,e){n.d=e}function Mte(n,e){n.e=e}function Ate(n,e){n.g=e}function Ste(n,e){n.a=e}function Pte(n,e){n.c=e}function Ite(n,e){n.d=e}function Ote(n,e){n.e=e}function Dte(n,e){n.f=e}function $te(n,e){n.j=e}function Fte(n,e){n.a=e}function xte(n,e){n.b=e}function Lte(n,e){n.a=e}function Ovn(n){n.b=n.a}function Dvn(n){n.c=n.d.d}function $v(n){this.d=n}function ta(n){this.a=n}function Rp(n){this.a=n}function bq(n){this.a=n}function Mh(n){this.a=n}function A9(n){this.a=n}function $vn(n){this.a=n}function wq(n){this.a=n}function S9(n){this.a=n}function gq(n){this.a=n}function pq(n){this.a=n}function vq(n){this.a=n}function L0(n){this.a=n}function P9(n){this.a=n}function I9(n){this.a=n}function mq(n){this.b=n}function _p(n){this.b=n}function Kp(n){this.b=n}function OI(n){this.a=n}function Fvn(n){this.a=n}function kq(n){this.a=n}function DI(n){this.c=n}function E(n){this.c=n}function xvn(n){this.c=n}function yq(n){this.a=n}function jq(n){this.a=n}function Eq(n){this.a=n}function Cq(n){this.a=n}function ut(n){this.a=n}function Lvn(n){this.a=n}function Tq(n){this.a=n}function Mq(n){this.a=n}function Nvn(n){this.a=n}function Bvn(n){this.a=n}function Fv(n){this.a=n}function Rvn(n){this.a=n}function _vn(n){this.a=n}function Kvn(n){this.a=n}function Hvn(n){this.a=n}function qvn(n){this.a=n}function Gvn(n){this.a=n}function zvn(n){this.a=n}function Uvn(n){this.a=n}function Wvn(n){this.a=n}function Xvn(n){this.a=n}function Vvn(n){this.a=n}function Qvn(n){this.a=n}function Jvn(n){this.a=n}function Yvn(n){this.a=n}function Zvn(n){this.a=n}function n5n(n){this.a=n}function e5n(n){this.a=n}function O9(n){this.a=n}function t5n(n){this.a=n}function i5n(n){this.a=n}function tj(n){this.a=n}function r5n(n){this.a=n}function c5n(n){this.a=n}function Hp(n){this.a=n}function Aq(n){this.a=n}function u5n(n){this.a=n}function s5n(n){this.a=n}function o5n(n){this.a=n}function f5n(n){this.a=n}function h5n(n){this.a=n}function Sq(n){this.a=n}function Pq(n){this.a=n}function Iq(n){this.a=n}function ij(n){this.a=n}function rj(n){this.e=n}function qp(n){this.a=n}function l5n(n){this.a=n}function n2(n){this.a=n}function Oq(n){this.a=n}function a5n(n){this.a=n}function d5n(n){this.a=n}function b5n(n){this.a=n}function w5n(n){this.a=n}function g5n(n){this.a=n}function p5n(n){this.a=n}function v5n(n){this.a=n}function m5n(n){this.a=n}function k5n(n){this.a=n}function y5n(n){this.a=n}function j5n(n){this.a=n}function Dq(n){this.a=n}function E5n(n){this.a=n}function C5n(n){this.a=n}function T5n(n){this.a=n}function M5n(n){this.a=n}function A5n(n){this.a=n}function S5n(n){this.a=n}function P5n(n){this.a=n}function I5n(n){this.a=n}function O5n(n){this.a=n}function D5n(n){this.a=n}function $5n(n){this.a=n}function F5n(n){this.a=n}function x5n(n){this.a=n}function L5n(n){this.a=n}function N5n(n){this.a=n}function B5n(n){this.a=n}function R5n(n){this.a=n}function _5n(n){this.a=n}function K5n(n){this.a=n}function H5n(n){this.a=n}function q5n(n){this.a=n}function G5n(n){this.a=n}function z5n(n){this.a=n}function U5n(n){this.a=n}function W5n(n){this.a=n}function X5n(n){this.a=n}function V5n(n){this.a=n}function Q5n(n){this.a=n}function J5n(n){this.a=n}function Y5n(n){this.a=n}function Z5n(n){this.a=n}function n6n(n){this.a=n}function e6n(n){this.a=n}function t6n(n){this.a=n}function i6n(n){this.a=n}function r6n(n){this.a=n}function c6n(n){this.a=n}function u6n(n){this.c=n}function s6n(n){this.b=n}function o6n(n){this.a=n}function f6n(n){this.a=n}function h6n(n){this.a=n}function l6n(n){this.a=n}function a6n(n){this.a=n}function d6n(n){this.a=n}function b6n(n){this.a=n}function w6n(n){this.a=n}function g6n(n){this.a=n}function p6n(n){this.a=n}function v6n(n){this.a=n}function m6n(n){this.a=n}function k6n(n){this.a=n}function y6n(n){this.a=n}function j6n(n){this.a=n}function E6n(n){this.a=n}function C6n(n){this.a=n}function T6n(n){this.a=n}function M6n(n){this.a=n}function A6n(n){this.a=n}function S6n(n){this.a=n}function P6n(n){this.a=n}function I6n(n){this.a=n}function O6n(n){this.a=n}function X1(n){this.a=n}function e2(n){this.a=n}function D6n(n){this.a=n}function $6n(n){this.a=n}function F6n(n){this.a=n}function x6n(n){this.a=n}function L6n(n){this.a=n}function N6n(n){this.a=n}function B6n(n){this.a=n}function R6n(n){this.a=n}function _6n(n){this.a=n}function K6n(n){this.a=n}function H6n(n){this.a=n}function q6n(n){this.a=n}function G6n(n){this.a=n}function z6n(n){this.a=n}function U6n(n){this.a=n}function W6n(n){this.a=n}function cj(n){this.a=n}function X6n(n){this.a=n}function V6n(n){this.a=n}function Q6n(n){this.a=n}function J6n(n){this.a=n}function Y6n(n){this.a=n}function Z6n(n){this.a=n}function nmn(n){this.a=n}function emn(n){this.a=n}function tmn(n){this.a=n}function imn(n){this.a=n}function rmn(n){this.a=n}function cmn(n){this.a=n}function umn(n){this.a=n}function smn(n){this.a=n}function omn(n){this.a=n}function fmn(n){this.a=n}function hmn(n){this.a=n}function lmn(n){this.a=n}function amn(n){this.a=n}function dmn(n){this.a=n}function bmn(n){this.a=n}function wmn(n){this.a=n}function gmn(n){this.a=n}function pmn(n){this.a=n}function vmn(n){this.a=n}function mmn(n){this.a=n}function kmn(n){this.a=n}function ymn(n){this.a=n}function $q(n){this.a=n}function kt(n){this.b=n}function jmn(n){this.f=n}function Fq(n){this.a=n}function Emn(n){this.a=n}function Cmn(n){this.a=n}function Tmn(n){this.a=n}function Mmn(n){this.a=n}function Amn(n){this.a=n}function Smn(n){this.a=n}function Pmn(n){this.a=n}function Imn(n){this.a=n}function D9(n){this.a=n}function Omn(n){this.a=n}function Dmn(n){this.b=n}function xq(n){this.c=n}function uj(n){this.e=n}function $mn(n){this.a=n}function sj(n){this.a=n}function oj(n){this.a=n}function $I(n){this.a=n}function Fmn(n){this.a=n}function xmn(n){this.d=n}function Lq(n){this.a=n}function Nq(n){this.a=n}function cd(n){this.e=n}function Nte(){this.a=0}function gw(){byn(this)}function X(){RO(this)}function we(){Eu(this)}function FI(){vTn(this)}function Lmn(){}function ud(){this.c=p1n}function Bte(n,e){e.Wb(n)}function Nmn(n,e){n.b+=e}function Bmn(n){n.b=new JI}function T(n){return n.e}function Rte(n){return n.a}function _te(n){return n.a}function Kte(n){return n.a}function Hte(n){return n.a}function qte(n){return n.a}function Gte(){return null}function zte(){return null}function Ute(){EG(),iTe()}function Wte(n){n.b.tf(n.e)}function xv(n,e){n.b=e-n.b}function Lv(n,e){n.a=e-n.a}function Rmn(n,e){e.ad(n.a)}function Xte(n,e){ui(e,n)}function Vte(n,e,t){n.Od(t,e)}function $9(n,e){n.e=e,e.b=n}function Bq(n){Df(),this.a=n}function _mn(n){Df(),this.a=n}function Kmn(n){Df(),this.a=n}function Rq(n){nb(),this.a=n}function Hmn(n){k3(),aR.be(n)}function ia(){Jyn.call(this)}function _q(){Jyn.call(this)}function Kq(){ia.call(this)}function xI(){ia.call(this)}function qmn(){ia.call(this)}function F9(){ia.call(this)}function fu(){ia.call(this)}function Nv(){ia.call(this)}function je(){ia.call(this)}function vs(){ia.call(this)}function Gmn(){ia.call(this)}function ic(){ia.call(this)}function zmn(){ia.call(this)}function Umn(){this.a=this}function fj(){this.Bb|=256}function Wmn(){this.b=new Vkn}function Hq(){Hq=N,new we}function qq(){Kq.call(this)}function Xmn(n,e){n.length=e}function hj(n,e){W(n.a,e)}function Qte(n,e){nY(n.c,e)}function Jte(n,e){ri(n.b,e)}function Yte(n,e){KT(n.a,e)}function Zte(n,e){MF(n.a,e)}function Gp(n,e){et(n.e,e)}function t2(n){iM(n.c,n.b)}function nie(n,e){n.kc().Nb(e)}function Gq(n){this.a=Yge(n)}function fi(){this.a=new we}function Vmn(){this.a=new we}function lj(){this.a=new X}function LI(){this.a=new X}function zq(){this.a=new X}function Ns(){this.a=new Dln}function ra(){this.a=new MSn}function Uq(){this.a=new LH}function Wq(){this.a=new l7n}function Qmn(){this.a=new ZMn}function Xq(){this.a=new wMn}function Vq(){this.a=new Rjn}function Jmn(){this.a=new X}function Qq(){this.a=new X}function Ymn(){this.a=new X}function Zmn(){this.a=new X}function n9n(){this.d=new X}function e9n(){this.a=new fi}function t9n(){this.a=new we}function i9n(){this.b=new we}function r9n(){this.b=new X}function Jq(){this.e=new X}function c9n(){this.d=new X}function u9n(){this.a=new T4n}function s9n(){X.call(this)}function Yq(){lj.call(this)}function o9n(){kE.call(this)}function f9n(){Qq.call(this)}function NI(){Bv.call(this)}function Bv(){Lmn.call(this)}function i2(){Lmn.call(this)}function Zq(){i2.call(this)}function h9n(){UTn.call(this)}function l9n(){UTn.call(this)}function a9n(){uG.call(this)}function d9n(){uG.call(this)}function b9n(){uG.call(this)}function w9n(){sG.call(this)}function hu(){Ct.call(this)}function nG(){R2n.call(this)}function eG(){R2n.call(this)}function g9n(){D9n.call(this)}function p9n(){D9n.call(this)}function v9n(){we.call(this)}function m9n(){we.call(this)}function k9n(){we.call(this)}function y9n(){fi.call(this)}function BI(){_In.call(this)}function j9n(){fj.call(this)}function RI(){Oz.call(this)}function _I(){Oz.call(this)}function tG(){we.call(this)}function KI(){we.call(this)}function E9n(){we.call(this)}function iG(){Yy.call(this)}function C9n(){Yy.call(this)}function T9n(){iG.call(this)}function M9n(){ZH.call(this)}function A9n(n){lIn.call(this,n)}function S9n(n){lIn.call(this,n)}function rG(n){rq.call(this,n)}function cG(n){e7n.call(this,n)}function eie(n){cG.call(this,n)}function tie(n){e7n.call(this,n)}function zp(){this.a=new Ct}function uG(){this.a=new fi}function sG(){this.a=new we}function P9n(){this.a=new X}function I9n(){this.j=new X}function oG(){this.a=new _gn}function O9n(){this.a=new M8n}function D9n(){this.a=new V2n}function HI(){HI=N,uR=new Q9n}function qI(){qI=N,cR=new V9n}function Rv(){Rv=N,rR=new Bt}function aj(){aj=N,fR=new Vyn}function iie(n){cG.call(this,n)}function rie(n){cG.call(this,n)}function $9n(n){m$.call(this,n)}function F9n(n){m$.call(this,n)}function x9n(n){sEn.call(this,n)}function GI(n){C5e.call(this,n)}function sd(n){_0.call(this,n)}function _v(n){Cj.call(this,n)}function fG(n){Cj.call(this,n)}function L9n(n){Cj.call(this,n)}function _r(n){yCn.call(this,n)}function N9n(n){_r.call(this,n)}function r2(){M9.call(this,{})}function dj(n){c3(),this.a=n}function Kv(n){n.b=null,n.c=0}function cie(n,e){n.e=e,BNn(n,e)}function uie(n,e){n.a=e,h6e(n)}function zI(n,e,t){n.a[e.g]=t}function sie(n,e,t){M4e(t,n,e)}function oie(n,e){$ue(e.i,n.n)}function B9n(n,e){Fwe(n).td(e)}function fie(n,e){return n*n/e}function R9n(n,e){return n.g-e.g}function hie(n){return new nj(n)}function lie(n){return new Z0(n)}function bj(n){_r.call(this,n)}function vr(n){_r.call(this,n)}function _9n(n){_r.call(this,n)}function UI(n){yCn.call(this,n)}function WI(n){AV(),this.a=n}function K9n(n){dEn(),this.a=n}function N0(n){ED(),this.f=n}function XI(n){ED(),this.f=n}function Up(n){_r.call(this,n)}function Hn(n){_r.call(this,n)}function Dr(n){_r.call(this,n)}function H9n(n){_r.call(this,n)}function c2(n){_r.call(this,n)}function on(n){return _n(n),n}function K(n){return _n(n),n}function x9(n){return _n(n),n}function hG(n){return _n(n),n}function aie(n){return _n(n),n}function Hv(n){return n.b==n.c}function B0(n){return!!n&&n.b}function die(n){return!!n&&n.k}function bie(n){return!!n&&n.j}function Ku(n){_n(n),this.a=n}function lG(n){return ja(n),n}function qv(n){EW(n,n.length)}function t1(n){_r.call(this,n)}function Af(n){_r.call(this,n)}function VI(n){_r.call(this,n)}function pw(n){_r.call(this,n)}function Gv(n){_r.call(this,n)}function Ce(n){_r.call(this,n)}function QI(n){Vz.call(this,n,0)}function JI(){iX.call(this,12,3)}function aG(){aG=N,din=new J1n}function q9n(){q9n=N,ain=new ou}function wj(){wj=N,dm=new H1}function G9n(){G9n=N,mzn=new ww}function z9n(){throw T(new je)}function dG(){throw T(new je)}function U9n(){throw T(new je)}function wie(){throw T(new je)}function gie(){throw T(new je)}function pie(){throw T(new je)}function YI(){this.a=Te(pe(Ji))}function u2(n){Df(),this.a=pe(n)}function W9n(n,e){n.Td(e),e.Sd(n)}function vie(n,e){n.a.ec().Mc(e)}function mie(n,e,t){n.c.lf(e,t)}function bG(n){vr.call(this,n)}function Sf(n){Hn.call(this,n)}function i1(){A9.call(this,"")}function zv(){A9.call(this,"")}function V1(){A9.call(this,"")}function R0(){A9.call(this,"")}function wG(n){vr.call(this,n)}function Wp(n){_p.call(this,n)}function ZI(n){lE.call(this,n)}function X9n(n){Wp.call(this,n)}function V9n(){AI.call(this,null)}function Q9n(){AI.call(this,null)}function gj(){gj=N,k3()}function J9n(){J9n=N,Pzn=Z4e()}function Y9n(n){return n.a?n.b:0}function kie(n){return n.a?n.b:0}function yie(n,e){return n.a-e.a}function jie(n,e){return n.a-e.a}function Eie(n,e){return n.a-e.a}function pj(n,e){return WX(n,e)}function M(n,e){return vMn(n,e)}function Cie(n,e){return e in n.a}function Z9n(n,e){return n.f=e,n}function Tie(n,e){return n.b=e,n}function n8n(n,e){return n.c=e,n}function Mie(n,e){return n.g=e,n}function gG(n,e){return n.a=e,n}function pG(n,e){return n.f=e,n}function Aie(n,e){return n.k=e,n}function vG(n,e){return n.a=e,n}function Sie(n,e){return n.e=e,n}function mG(n,e){return n.e=e,n}function Pie(n,e){return n.f=e,n}function Iie(n,e){n.b=!0,n.d=e}function Oie(n,e){n.b=new mr(e)}function Die(n,e,t){e.td(n.a[t])}function $ie(n,e,t){e.we(n.a[t])}function Fie(n,e){return n.b-e.b}function xie(n,e){return n.g-e.g}function Lie(n,e){return n.s-e.s}function Nie(n,e){return n?0:e-1}function e8n(n,e){return n?0:e-1}function Bie(n,e){return n?e-1:0}function Rie(n,e){return e.Yf(n)}function od(n,e){return n.b=e,n}function vj(n,e){return n.a=e,n}function fd(n,e){return n.c=e,n}function hd(n,e){return n.d=e,n}function ld(n,e){return n.e=e,n}function kG(n,e){return n.f=e,n}function Uv(n,e){return n.a=e,n}function Xp(n,e){return n.b=e,n}function Vp(n,e){return n.c=e,n}function gn(n,e){return n.c=e,n}function Dn(n,e){return n.b=e,n}function pn(n,e){return n.d=e,n}function vn(n,e){return n.e=e,n}function _ie(n,e){return n.f=e,n}function mn(n,e){return n.g=e,n}function kn(n,e){return n.a=e,n}function yn(n,e){return n.i=e,n}function jn(n,e){return n.j=e,n}function t8n(n,e){return n.k=e,n}function Kie(n,e){return n.j=e,n}function Hie(n,e){yl(),Hr(e,n)}function qie(n,e,t){Nfe(n.a,e,t)}function i8n(n){kTn.call(this,n)}function yG(n){kTn.call(this,n)}function mj(n){uD.call(this,n)}function r8n(n){u2e.call(this,n)}function Q1(n){Ld.call(this,n)}function c8n(n){XD.call(this,n)}function u8n(n){XD.call(this,n)}function s8n(){Mz.call(this,"")}function Li(){this.a=0,this.b=0}function o8n(){this.b=0,this.a=0}function f8n(n,e){n.b=0,hb(n,e)}function Gie(n,e){n.c=e,n.b=!0}function h8n(n,e){return n.c._b(e)}function xo(n){return n.e&&n.e()}function nO(n){return n?n.d:null}function l8n(n,e){return NDn(n.b,e)}function zie(n){return n?n.g:null}function Uie(n){return n?n.i:null}function J1(n){return Ph(n),n.o}function ad(){ad=N,Ane=h4e()}function a8n(){a8n=N,vi=jve()}function Qp(){Qp=N,g1n=a4e()}function d8n(){d8n=N,lee=l4e()}function jG(){jG=N,oc=s6e()}function EG(){EG=N,Wl=N3()}function b8n(){throw T(new je)}function w8n(){throw T(new je)}function g8n(){throw T(new je)}function p8n(){throw T(new je)}function v8n(){throw T(new je)}function m8n(){throw T(new je)}function kj(n){this.a=new s2(n)}function CG(n){b_n(),gTe(this,n)}function Y1(n){this.a=new AD(n)}function vw(n,e){for(;n.ye(e););}function TG(n,e){for(;n.sd(e););}function mw(n,e){return n.a+=e,n}function eO(n,e){return n.a+=e,n}function r1(n,e){return n.a+=e,n}function dd(n,e){return n.a+=e,n}function Wv(n){return fl(n),n.a}function yj(n){return n.b!=n.d.c}function k8n(n){return n.l|n.m<<22}function MG(n,e){return n.d[e.p]}function y8n(n,e){return Q8e(n,e)}function AG(n,e,t){n.splice(e,t)}function j8n(n){n.c?cBn(n):uBn(n)}function jj(n){this.a=0,this.b=n}function E8n(){this.a=new B7(Pon)}function C8n(){this.b=new B7(won)}function T8n(){this.b=new B7(OK)}function M8n(){this.b=new B7(OK)}function A8n(){throw T(new je)}function S8n(){throw T(new je)}function P8n(){throw T(new je)}function I8n(){throw T(new je)}function O8n(){throw T(new je)}function D8n(){throw T(new je)}function $8n(){throw T(new je)}function F8n(){throw T(new je)}function x8n(){throw T(new je)}function L8n(){throw T(new je)}function Wie(){throw T(new ic)}function Xie(){throw T(new ic)}function L9(n){this.a=new N8n(n)}function N8n(n){cbe(this,n,cve())}function N9(n){return!n||rTn(n)}function B9(n){return Tf[n]!=-1}function Vie(){_A!=0&&(_A=0),KA=-1}function B8n(){iR==null&&(iR=[])}function Qie(n,e){$x(R(n.a),e)}function Jie(n,e){$x(R(n.a),e)}function R9(n,e){Sw.call(this,n,e)}function Jp(n,e){R9.call(this,n,e)}function SG(n,e){this.b=n,this.c=e}function R8n(n,e){this.b=n,this.a=e}function _8n(n,e){this.a=n,this.b=e}function K8n(n,e){this.a=n,this.b=e}function H8n(n,e){this.a=n,this.b=e}function q8n(n,e){this.a=n,this.b=e}function G8n(n,e){this.a=n,this.b=e}function z8n(n,e){this.a=n,this.b=e}function U8n(n,e){this.a=n,this.b=e}function W8n(n,e){this.a=n,this.b=e}function X8n(n,e){this.b=n,this.a=e}function V8n(n,e){this.b=n,this.a=e}function Q8n(n,e){this.b=n,this.a=e}function J8n(n,e){this.b=n,this.a=e}function Oe(n,e){this.f=n,this.g=e}function Yp(n,e){this.e=n,this.d=e}function bd(n,e){this.g=n,this.i=e}function tO(n,e){this.a=n,this.b=e}function Y8n(n,e){this.a=n,this.f=e}function Z8n(n,e){this.b=n,this.c=e}function Yie(n,e){this.a=n,this.b=e}function n7n(n,e){this.a=n,this.b=e}function iO(n,e){this.a=n,this.b=e}function e7n(n){Bz(n.dc()),this.c=n}function Ej(n){this.b=u(pe(n),83)}function t7n(n){this.a=u(pe(n),83)}function _0(n){this.a=u(pe(n),15)}function i7n(n){this.a=u(pe(n),15)}function Cj(n){this.b=u(pe(n),47)}function Tj(){this.q=new j.Date}function Zf(){Zf=N,Sin=new iln}function Zp(){Zp=N,X4=new eln}function Xv(n){return n.f.c+n.g.c}function _9(n,e){return n.b.Hc(e)}function r7n(n,e){return n.b.Ic(e)}function c7n(n,e){return n.b.Qc(e)}function u7n(n,e){return n.b.Hc(e)}function s7n(n,e){return n.c.uc(e)}function Ah(n,e){return n.a._b(e)}function o7n(n,e){return tt(n.c,e)}function f7n(n,e){return zu(n.b,e)}function h7n(n,e){return n>e&&e0}function cO(n,e){return fc(n,e)<0}function n5(n,e){return n.a.get(e)}function lre(n,e){return e.split(n)}function P7n(n,e){return zu(n.e,e)}function LG(n){return _n(n),!1}function xj(n){xn.call(this,n,21)}function are(n,e){uMn.call(this,n,e)}function Lj(n,e){Oe.call(this,n,e)}function uO(n,e){Oe.call(this,n,e)}function NG(n){_D(),sEn.call(this,n)}function BG(n,e){hCn(n,n.length,e)}function z9(n,e){RCn(n,n.length,e)}function dre(n,e,t){e.ud(n.a.Ge(t))}function bre(n,e,t){e.we(n.a.Fe(t))}function wre(n,e,t){e.td(n.a.Kb(t))}function gre(n,e,t){n.Mb(t)&&e.td(t)}function e5(n,e,t){n.splice(e,0,t)}function pre(n,e){return au(n.e,e)}function Nj(n,e){this.d=n,this.e=e}function I7n(n,e){this.b=n,this.a=e}function O7n(n,e){this.b=n,this.a=e}function RG(n,e){this.b=n,this.a=e}function D7n(n,e){this.a=n,this.b=e}function $7n(n,e){this.a=n,this.b=e}function F7n(n,e){this.a=n,this.b=e}function x7n(n,e){this.a=n,this.b=e}function f2(n,e){this.a=n,this.b=e}function _G(n,e){this.b=n,this.a=e}function KG(n,e){this.b=n,this.a=e}function Bj(n,e){Oe.call(this,n,e)}function Rj(n,e){Oe.call(this,n,e)}function HG(n,e){Oe.call(this,n,e)}function qG(n,e){Oe.call(this,n,e)}function kw(n,e){Oe.call(this,n,e)}function sO(n,e){Oe.call(this,n,e)}function oO(n,e){Oe.call(this,n,e)}function fO(n,e){Oe.call(this,n,e)}function _j(n,e){Oe.call(this,n,e)}function GG(n,e){Oe.call(this,n,e)}function hO(n,e){Oe.call(this,n,e)}function U9(n,e){Oe.call(this,n,e)}function Kj(n,e){Oe.call(this,n,e)}function lO(n,e){Oe.call(this,n,e)}function t5(n,e){Oe.call(this,n,e)}function zG(n,e){Oe.call(this,n,e)}function zt(n,e){Oe.call(this,n,e)}function Hj(n,e){Oe.call(this,n,e)}function L7n(n,e){this.a=n,this.b=e}function N7n(n,e){this.a=n,this.b=e}function B7n(n,e){this.a=n,this.b=e}function R7n(n,e){this.a=n,this.b=e}function _7n(n,e){this.a=n,this.b=e}function K7n(n,e){this.a=n,this.b=e}function H7n(n,e){this.a=n,this.b=e}function q7n(n,e){this.a=n,this.b=e}function G7n(n,e){this.a=n,this.b=e}function UG(n,e){this.b=n,this.a=e}function z7n(n,e){this.b=n,this.a=e}function U7n(n,e){this.b=n,this.a=e}function W7n(n,e){this.b=n,this.a=e}function t3(n,e){this.c=n,this.d=e}function X7n(n,e){this.e=n,this.d=e}function V7n(n,e){this.a=n,this.b=e}function Q7n(n,e){this.b=e,this.c=n}function qj(n,e){Oe.call(this,n,e)}function W9(n,e){Oe.call(this,n,e)}function aO(n,e){Oe.call(this,n,e)}function i5(n,e){Oe.call(this,n,e)}function WG(n,e){Oe.call(this,n,e)}function dO(n,e){Oe.call(this,n,e)}function bO(n,e){Oe.call(this,n,e)}function X9(n,e){Oe.call(this,n,e)}function XG(n,e){Oe.call(this,n,e)}function wO(n,e){Oe.call(this,n,e)}function r5(n,e){Oe.call(this,n,e)}function VG(n,e){Oe.call(this,n,e)}function c5(n,e){Oe.call(this,n,e)}function u5(n,e){Oe.call(this,n,e)}function H0(n,e){Oe.call(this,n,e)}function gO(n,e){Oe.call(this,n,e)}function pO(n,e){Oe.call(this,n,e)}function QG(n,e){Oe.call(this,n,e)}function s5(n,e){Oe.call(this,n,e)}function vO(n,e){Oe.call(this,n,e)}function Gj(n,e){Oe.call(this,n,e)}function V9(n,e){Oe.call(this,n,e)}function Q9(n,e){Oe.call(this,n,e)}function h2(n,e){Oe.call(this,n,e)}function mO(n,e){Oe.call(this,n,e)}function JG(n,e){Oe.call(this,n,e)}function kO(n,e){Oe.call(this,n,e)}function yO(n,e){Oe.call(this,n,e)}function YG(n,e){Oe.call(this,n,e)}function jO(n,e){Oe.call(this,n,e)}function EO(n,e){Oe.call(this,n,e)}function CO(n,e){Oe.call(this,n,e)}function TO(n,e){Oe.call(this,n,e)}function ZG(n,e){Oe.call(this,n,e)}function J7n(n,e){this.b=n,this.a=e}function Y7n(n,e){this.a=n,this.b=e}function Z7n(n,e){this.a=n,this.b=e}function nkn(n,e){this.a=n,this.b=e}function ekn(n,e){this.a=n,this.b=e}function nz(n,e){Oe.call(this,n,e)}function ez(n,e){Oe.call(this,n,e)}function tkn(n,e){this.b=n,this.d=e}function tz(n,e){Oe.call(this,n,e)}function iz(n,e){Oe.call(this,n,e)}function ikn(n,e){this.a=n,this.b=e}function rkn(n,e){this.a=n,this.b=e}function zj(n,e){Oe.call(this,n,e)}function o5(n,e){Oe.call(this,n,e)}function rz(n,e){Oe.call(this,n,e)}function cz(n,e){Oe.call(this,n,e)}function uz(n,e){Oe.call(this,n,e)}function MO(n,e){Oe.call(this,n,e)}function sz(n,e){Oe.call(this,n,e)}function AO(n,e){Oe.call(this,n,e)}function Uj(n,e){Oe.call(this,n,e)}function SO(n,e){Oe.call(this,n,e)}function PO(n,e){Oe.call(this,n,e)}function J9(n,e){Oe.call(this,n,e)}function IO(n,e){Oe.call(this,n,e)}function oz(n,e){Oe.call(this,n,e)}function Y9(n,e){Oe.call(this,n,e)}function fz(n,e){Oe.call(this,n,e)}function vre(n,e){return au(n.c,e)}function mre(n,e){return au(e.b,n)}function kre(n,e){return-n.b.Je(e)}function hz(n,e){return au(n.g,e)}function Z9(n,e){Oe.call(this,n,e)}function l2(n,e){Oe.call(this,n,e)}function ckn(n,e){this.a=n,this.b=e}function ukn(n,e){this.a=n,this.b=e}function fn(n,e){this.a=n,this.b=e}function f5(n,e){Oe.call(this,n,e)}function h5(n,e){Oe.call(this,n,e)}function n8(n,e){Oe.call(this,n,e)}function OO(n,e){Oe.call(this,n,e)}function Wj(n,e){Oe.call(this,n,e)}function l5(n,e){Oe.call(this,n,e)}function DO(n,e){Oe.call(this,n,e)}function Xj(n,e){Oe.call(this,n,e)}function yw(n,e){Oe.call(this,n,e)}function e8(n,e){Oe.call(this,n,e)}function a5(n,e){Oe.call(this,n,e)}function d5(n,e){Oe.call(this,n,e)}function t8(n,e){Oe.call(this,n,e)}function Vj(n,e){Oe.call(this,n,e)}function jw(n,e){Oe.call(this,n,e)}function Qj(n,e){Oe.call(this,n,e)}function skn(n,e){this.a=n,this.b=e}function okn(n,e){this.a=n,this.b=e}function fkn(n,e){this.a=n,this.b=e}function hkn(n,e){this.a=n,this.b=e}function lkn(n,e){this.a=n,this.b=e}function akn(n,e){this.a=n,this.b=e}function Pi(n,e){this.a=n,this.b=e}function Jj(n,e){Oe.call(this,n,e)}function dkn(n,e){this.a=n,this.b=e}function bkn(n,e){this.a=n,this.b=e}function wkn(n,e){this.a=n,this.b=e}function gkn(n,e){this.a=n,this.b=e}function pkn(n,e){this.a=n,this.b=e}function vkn(n,e){this.a=n,this.b=e}function mkn(n,e){this.b=n,this.a=e}function kkn(n,e){this.b=n,this.a=e}function ykn(n,e){this.b=n,this.a=e}function jkn(n,e){this.b=n,this.a=e}function Ekn(n,e){this.a=n,this.b=e}function Ckn(n,e){this.a=n,this.b=e}function yre(n,e){J9e(n.a,u(e,56))}function Tkn(n,e){f0e(n.a,u(e,11))}function jre(n,e){return h3(),e!=n}function Mkn(){return J9n(),new Pzn}function Akn(){c$(),this.b=new fi}function Skn(){hM(),this.a=new fi}function Pkn(){tX(),lW.call(this)}function a2(n,e){Oe.call(this,n,e)}function Ikn(n,e){this.a=n,this.b=e}function Okn(n,e){this.a=n,this.b=e}function Yj(n,e){this.a=n,this.b=e}function Dkn(n,e){this.a=n,this.b=e}function $kn(n,e){this.a=n,this.b=e}function Fkn(n,e){this.a=n,this.b=e}function xkn(n,e){this.d=n,this.b=e}function lz(n,e){this.d=n,this.e=e}function Lkn(n,e){this.f=n,this.c=e}function i8(n,e){this.b=n,this.c=e}function az(n,e){this.i=n,this.g=e}function Nkn(n,e){this.e=n,this.a=e}function Bkn(n,e){this.a=n,this.b=e}function dz(n,e){n.i=null,nT(n,e)}function Ere(n,e){n&&it($y,n,e)}function Rkn(n,e){return NF(n.a,e)}function Zj(n){return g7(n.c,n.b)}function Vr(n){return n?n.dd():null}function B(n){return n??null}function q0(n){return typeof n===X2}function G0(n){return typeof n===UZ}function mi(n){return typeof n===EL}function el(n,e){return n.Hd().Xb(e)}function nE(n,e){return Rbe(n.Kc(),e)}function gd(n,e){return fc(n,e)==0}function Cre(n,e){return fc(n,e)>=0}function b5(n,e){return fc(n,e)!=0}function Tre(n){return""+(_n(n),n)}function r8(n,e){return n.substr(e)}function _kn(n){return $u(n),n.d.gc()}function $O(n){return yme(n,n.c),n}function eE(n){return A5(n==null),n}function w5(n,e){return n.a+=""+e,n}function dr(n,e){return n.a+=""+e,n}function g5(n,e){return n.a+=""+e,n}function rc(n,e){return n.a+=""+e,n}function De(n,e){return n.a+=""+e,n}function bz(n,e){return n.a+=""+e,n}function Kkn(n,e){Kt(n,e,n.a,n.a.a)}function ua(n,e){Kt(n,e,n.c.b,n.c)}function Mre(n,e,t){QFn(e,Mx(n,t))}function Are(n,e,t){QFn(e,Mx(n,t))}function Sre(n,e){k0e(new ie(n),e)}function Hkn(n,e){n.q.setTime($d(e))}function qkn(n,e){kW.call(this,n,e)}function Gkn(n,e){kW.call(this,n,e)}function FO(n,e){kW.call(this,n,e)}function zkn(n){Eu(this),Z5(this,n)}function wz(n){return Ln(n,0),null}function Lo(n){return n.a=0,n.b=0,n}function Ukn(n,e){return n.a=e.g+1,n}function Pre(n,e){return n.j[e.p]==2}function gz(n){return lhe(u(n,79))}function Wkn(){Wkn=N,EUn=Fe(qF())}function Xkn(){Xkn=N,_Wn=Fe(INn())}function Vkn(){this.b=new s2(sb(12))}function Qkn(){this.b=0,this.a=!1}function Jkn(){this.b=0,this.a=!1}function p5(n){this.a=n,TI.call(this)}function Ykn(n){this.a=n,TI.call(this)}function In(n,e){ii.call(this,n,e)}function xO(n,e){V0.call(this,n,e)}function Ew(n,e){az.call(this,n,e)}function LO(n,e){H3.call(this,n,e)}function Zkn(n,e){c8.call(this,n,e)}function He(n,e){$j(),it(eI,n,e)}function NO(n,e){return Yu(n.a,0,e)}function nyn(n,e){return n.a.a.a.cc(e)}function eyn(n,e){return B(n)===B(e)}function Ire(n,e){return Zt(n.a,e.a)}function Ore(n,e){return Uc(n.a,e.a)}function Dre(n,e){return LCn(n.a,e.a)}function Pf(n,e){return n.indexOf(e)}function pd(n,e){return n==e?0:n?1:-1}function tE(n){return n<10?"0"+n:""+n}function $re(n){return pe(n),new p5(n)}function tyn(n){return Bc(n.l,n.m,n.h)}function i3(n){return Gt((_n(n),n))}function Fre(n){return Gt((_n(n),n))}function iyn(n,e){return Uc(n.g,e.g)}function $r(n){return typeof n===UZ}function xre(n){return n==b0||n==Hb}function Lre(n){return n==b0||n==Kb}function pz(n){return Fr(n.b.b,n,0)}function ryn(n){this.a=Mkn(),this.b=n}function cyn(n){this.a=Mkn(),this.b=n}function Nre(n,e){return W(n.a,e),e}function Bre(n,e){return W(n.c,e),n}function uyn(n,e){return rs(n.a,e),n}function Rre(n,e){return wo(),e.a+=n}function _re(n,e){return wo(),e.a+=n}function Kre(n,e){return wo(),e.c+=n}function vz(n,e){S3(n,0,n.length,e)}function Sh(){Tq.call(this,new ba)}function syn(){xE.call(this,0,0,0,0)}function d2(){ys.call(this,0,0,0,0)}function mr(n){this.a=n.a,this.b=n.b}function tl(n){return n==Zs||n==Ao}function r3(n){return n==Yh||n==Jh}function oyn(n){return n==xg||n==Fg}function Cw(n){return n!=jf&&n!=ql}function Hu(n){return n.Lg()&&n.Mg()}function fyn(n){return JE(u(n,118))}function iE(n){return rs(new hi,n)}function hyn(n,e){return new H3(e,n)}function Hre(n,e){return new H3(e,n)}function mz(n,e,t){UC(n,e),WC(n,t)}function rE(n,e,t){Rd(n,e),Bd(n,t)}function Jo(n,e,t){Zc(n,e),nu(n,t)}function cE(n,e,t){D3(n,e),F3(n,t)}function uE(n,e,t){$3(n,e),x3(n,t)}function BO(n,e){X3(n,e),L3(n,n.D)}function kz(n){Lkn.call(this,n,!0)}function lyn(n,e,t){fU.call(this,n,e,t)}function il(n){jl(),qbe.call(this,n)}function ayn(){Lj.call(this,"Head",1)}function dyn(){Lj.call(this,"Tail",3)}function RO(n){n.c=F(Zn,rn,1,0,5,1)}function byn(n){n.a=F(Zn,rn,1,8,5,1)}function wyn(n){Yc(n.xf(),new i5n(n))}function Tw(n){return n!=null?mt(n):0}function qre(n,e){return ob(e,nf(n))}function Gre(n,e){return ob(e,nf(n))}function zre(n,e){return n[n.length]=e}function Ure(n,e){return n[n.length]=e}function yz(n){return zoe(n.b.Kc(),n.a)}function Wre(n,e){return ZC(BD(n.d),e)}function Xre(n,e){return ZC(BD(n.g),e)}function Vre(n,e){return ZC(BD(n.j),e)}function tr(n,e){ii.call(this,n.b,e)}function vd(n){xE.call(this,n,n,n,n)}function jz(n){return n.b&&uL(n),n.a}function Ez(n){return n.b&&uL(n),n.c}function Qre(n,e){pf||(n.b=e)}function _O(n,e,t){return Mt(n,e,t),t}function gyn(n,e,t){Mt(n.c[e.g],e.g,t)}function Jre(n,e,t){u(n.c,69).Xh(e,t)}function Yre(n,e,t){Jo(t,t.i+n,t.j+e)}function Zre(n,e){me(bc(n.a),IMn(e))}function nce(n,e){me(Ou(n.a),OMn(e))}function v5(n){Je(),cd.call(this,n)}function ece(n){return n==null?0:mt(n)}function pyn(){pyn=N,hK=new f6(cH)}function Ee(){Ee=N,new vyn,new X}function vyn(){new we,new we,new we}function Cz(){Cz=N,Hq(),bin=new we}function Yo(){Yo=N,j.Math.log(2)}function ms(){ms=N,Eh=(C7n(),$ne)}function tce(){throw T(new t1(rzn))}function ice(){throw T(new t1(rzn))}function rce(){throw T(new t1(czn))}function cce(){throw T(new t1(czn))}function myn(n){this.a=n,HU.call(this,n)}function KO(n){this.a=n,Ej.call(this,n)}function HO(n){this.a=n,Ej.call(this,n)}function bi(n,e){mD(n.c,n.c.length,e)}function Kr(n){return n.ae?1:0}function yyn(n,e){return fc(n,e)>0?n:e}function Bc(n,e,t){return{l:n,m:e,h:t}}function uce(n,e){n.a!=null&&Tkn(e,n.a)}function jyn(n){n.a=new aI,n.c=new aI}function sE(n){this.b=n,this.a=new X}function Eyn(n){this.b=new oan,this.a=n}function Mz(n){vU.call(this),this.a=n}function Cyn(){Lj.call(this,"Range",2)}function Tyn(){kJ(),this.a=new B7(Hrn)}function sce(n,e){pe(e),Iw(n).Jc(new ps)}function oce(n,e){return Zu(),e.n.b+=n}function fce(n,e,t){return it(n.g,t,e)}function hce(n,e,t){return it(n.k,t,e)}function lce(n,e){return it(n.a,e.a,e)}function Mw(n,e,t){return _Q(e,t,n.c)}function Az(n){return new fn(n.c,n.d)}function ace(n){return new fn(n.c,n.d)}function Qr(n){return new fn(n.a,n.b)}function Myn(n,e){return xEe(n.a,e,null)}function dce(n){Hi(n,null),Ei(n,null)}function Ayn(n){s$(n,null),o$(n,null)}function Syn(){c8.call(this,null,null)}function Pyn(){wE.call(this,null,null)}function Sz(n){this.a=n,we.call(this)}function bce(n){this.b=(Pn(),new DI(n))}function oE(n){n.j=F(Ain,q,310,0,0,1)}function wce(n,e,t){n.c.Vc(e,u(t,133))}function gce(n,e,t){n.c.ji(e,u(t,133))}function Iyn(n,e){de(n),n.Gc(u(e,15))}function m5(n,e){return Jje(n.c,n.b,e)}function pce(n,e){return new Yyn(n.Kc(),e)}function qO(n,e){return gwe(n.Kc(),e)!=-1}function Pz(n,e){return n.a.Bc(e)!=null}function fE(n){return n.Ob()?n.Pb():null}function Oyn(n){return Hs(n,0,n.length)}function I(n,e){return n!=null&&WF(n,e)}function vce(n,e){n.q.setHours(e),S6(n,e)}function Dyn(n,e){n.c&&(ZU(e),rMn(e))}function mce(n,e,t){u(n.Kb(t),164).Nb(e)}function kce(n,e,t){return SEe(n,e,t),t}function $yn(n,e,t){n.a=e^1502,n.b=t^tN}function GO(n,e,t){return n.a[e.g][t.g]}function Zo(n,e){return n.a[e.c.p][e.p]}function yce(n,e){return n.e[e.c.p][e.p]}function jce(n,e){return n.c[e.c.p][e.p]}function Ece(n,e){return n.j[e.p]=D9e(e)}function Cce(n,e){return DX(n.f,e.tg())}function Tce(n,e){return DX(n.b,e.tg())}function Mce(n,e){return n.a0?e*e/n:e*e*100}function Jce(n,e){return n>0?e/(n*n):e*100}function Yce(n,e,t){return W(e,t$n(n,t))}function Zce(n,e,t){DC(),n.Xe(e)&&t.td(n)}function s3(n,e,t){var i;i=n.Zc(e),i.Rb(t)}function U0(n,e,t){return n.a+=e,n.b+=t,n}function nue(n,e,t){return n.a*=e,n.b*=t,n}function o8(n,e,t){return n.a-=e,n.b-=t,n}function Zz(n,e){return n.a=e.a,n.b=e.b,n}function vE(n){return n.a=-n.a,n.b=-n.b,n}function hjn(n){this.c=n,this.a=1,this.b=1}function ljn(n){this.c=n,Zc(n,0),nu(n,0)}function ajn(n){Ct.call(this),V5(this,n)}function djn(n){yL(),Bmn(this),this.mf(n)}function bjn(n,e){Zv(),c8.call(this,n,e)}function nU(n,e){c1(),wE.call(this,n,e)}function wjn(n,e){c1(),wE.call(this,n,e)}function gjn(n,e){c1(),nU.call(this,n,e)}function qu(n,e,t){Wu.call(this,n,e,t,2)}function JO(n,e){ms(),FE.call(this,n,e)}function pjn(n,e){ms(),JO.call(this,n,e)}function eU(n,e){ms(),JO.call(this,n,e)}function vjn(n,e){ms(),eU.call(this,n,e)}function tU(n,e){ms(),FE.call(this,n,e)}function mjn(n,e){ms(),tU.call(this,n,e)}function kjn(n,e){ms(),FE.call(this,n,e)}function eue(n,e){return n.c.Fc(u(e,133))}function iU(n,e,t){return jM(G8(n,e),t)}function tue(n,e,t){return e.Qk(n.e,n.c,t)}function iue(n,e,t){return e.Rk(n.e,n.c,t)}function YO(n,e){return pl(n.e,u(e,49))}function rue(n,e,t){s6(Ou(n.a),e,OMn(t))}function cue(n,e,t){s6(bc(n.a),e,IMn(t))}function rU(n,e){e.$modCount=n.$modCount}function C5(){C5=N,Xm=new kt("root")}function o3(){o3=N,xy=new g9n,new p9n}function yjn(){this.a=new Od,this.b=new Od}function cU(){_In.call(this),this.Bb|=Yi}function jjn(){Oe.call(this,"GROW_TREE",0)}function uue(n){return n==null?null:CCe(n)}function sue(n){return n==null?null:D5e(n)}function oue(n){return n==null?null:Lr(n)}function fue(n){return n==null?null:Lr(n)}function Ph(n){n.o==null&&u9e(n)}function sn(n){return A5(n==null||q0(n)),n}function Y(n){return A5(n==null||G0(n)),n}function Te(n){return A5(n==null||mi(n)),n}function uU(n){this.q=new j.Date($d(n))}function f8(n,e){this.c=n,Yp.call(this,n,e)}function mE(n,e){this.a=n,f8.call(this,n,e)}function hue(n,e){this.d=n,Dvn(this),this.b=e}function sU(n,e){P$.call(this,n),this.a=e}function oU(n,e){P$.call(this,n),this.a=e}function lue(n){xQ.call(this,0,0),this.f=n}function fU(n,e,t){IC.call(this,n,e,t,null)}function Ejn(n,e,t){IC.call(this,n,e,t,null)}function aue(n,e,t){return n.ue(e,t)<=0?t:e}function due(n,e,t){return n.ue(e,t)<=0?e:t}function bue(n,e){return u(xd(n.b,e),149)}function wue(n,e){return u(xd(n.c,e),229)}function ZO(n){return u(un(n.a,n.b),287)}function Cjn(n){return new fn(n.c,n.d+n.a)}function Tjn(n){return Zu(),oyn(u(n,197))}function W0(){W0=N,prn=Cn((Vu(),id))}function gue(n,e){e.a?e7e(n,e):zO(n.a,e.b)}function Mjn(n,e){pf||W(n.a,e)}function pue(n,e){return H9(),K3(e.d.i,n)}function vue(n,e){return x2(),new SBn(e,n)}function Of(n,e){return T8(e,ann),n.f=e,n}function hU(n,e,t){return t=ss(n,e,3,t),t}function lU(n,e,t){return t=ss(n,e,6,t),t}function aU(n,e,t){return t=ss(n,e,9,t),t}function h8(n,e,t){++n.j,n.Ki(),A$(n,e,t)}function Ajn(n,e,t){++n.j,n.Hi(e,n.oi(e,t))}function Sjn(n,e,t){var i;i=n.Zc(e),i.Rb(t)}function Pjn(n,e,t){return MZ(n.c,n.b,e,t)}function dU(n,e){return(e&nt)%n.d.length}function ii(n,e){kt.call(this,n),this.a=e}function bU(n,e){xq.call(this,n),this.a=e}function nD(n,e){xq.call(this,n),this.a=e}function Ijn(n,e){this.c=n,Ld.call(this,e)}function Ojn(n,e){this.a=n,Dmn.call(this,e)}function l8(n,e){this.a=n,Dmn.call(this,e)}function Djn(n){this.a=(is(n,Pb),new Pc(n))}function $jn(n){this.a=(is(n,Pb),new Pc(n))}function a8(n){return!n.a&&(n.a=new Rr),n.a}function Fjn(n){return n>8?0:n+1}function mue(n,e){return qn(),n==e?0:n?1:-1}function wU(n,e,t){return m2(n,u(e,22),t)}function kue(n,e,t){return n.apply(e,t)}function xjn(n,e,t){return n.a+=Hs(e,0,t),n}function gU(n,e){var t;return t=n.e,n.e=e,t}function yue(n,e){var t;t=n[eN],t.call(n,e)}function jue(n,e){var t;t=n[eN],t.call(n,e)}function X0(n,e){n.a.Vc(n.b,e),++n.b,n.c=-1}function Ljn(n){Eu(n.e),n.d.b=n.d,n.d.a=n.d}function d8(n){n.b?d8(n.b):n.f.c.zc(n.e,n.d)}function Eue(n,e,t){ca(),Pvn(n,e.Ce(n.a,t))}function Cue(n,e){return nO(v$n(n.a,e,!0))}function Tue(n,e){return nO(m$n(n.a,e,!0))}function bo(n,e){return pj(new Array(e),n)}function eD(n){return String.fromCharCode(n)}function Mue(n){return n==null?null:n.message}function Njn(){this.a=new X,this.b=new X}function Bjn(){this.a=new LH,this.b=new Wmn}function Rjn(){this.b=new Li,this.c=new X}function pU(){this.d=new Li,this.e=new Li}function vU(){this.n=new Li,this.o=new Li}function kE(){this.n=new i2,this.i=new d2}function _jn(){this.a=new m4n,this.b=new uwn}function Kjn(){this.a=new X,this.d=new X}function Hjn(){this.b=new fi,this.a=new fi}function qjn(){this.b=new we,this.a=new we}function Gjn(){this.b=new C8n,this.a=new ogn}function zjn(){kE.call(this),this.a=new Li}function T5(n){Jbe.call(this,n,(FC(),vR))}function mU(n,e,t,i){xE.call(this,n,e,t,i)}function Aue(n,e,t){t!=null&&JC(e,rx(n,t))}function Sue(n,e,t){t!=null&&YC(e,rx(n,t))}function kU(n,e,t){return t=ss(n,e,11,t),t}function st(n,e){return n.a+=e.a,n.b+=e.b,n}function ki(n,e){return n.a-=e.a,n.b-=e.b,n}function Pue(n,e){return n.n.a=(_n(e),e+10)}function Iue(n,e){return n.n.a=(_n(e),e+10)}function Oue(n,e){return e==n||o4(sM(e),n)}function Ujn(n,e){return it(n.a,e,"")==null}function Due(n,e){return H9(),!K3(e.d.i,n)}function $ue(n,e){tl(n.f)?Qme(n,e):Fve(n,e)}function Fue(n,e){var t;return t=e.Hh(n.a),t}function V0(n,e){vr.call(this,rm+n+Ra+e)}function g2(n,e,t,i){V.call(this,n,e,t,i)}function yU(n,e,t,i){V.call(this,n,e,t,i)}function Wjn(n,e,t,i){yU.call(this,n,e,t,i)}function Xjn(n,e,t,i){zE.call(this,n,e,t,i)}function tD(n,e,t,i){zE.call(this,n,e,t,i)}function jU(n,e,t,i){zE.call(this,n,e,t,i)}function Vjn(n,e,t,i){tD.call(this,n,e,t,i)}function EU(n,e,t,i){tD.call(this,n,e,t,i)}function Fn(n,e,t,i){jU.call(this,n,e,t,i)}function Qjn(n,e,t,i){EU.call(this,n,e,t,i)}function Jjn(n,e,t,i){yW.call(this,n,e,t,i)}function Yjn(n,e,t){this.a=n,Vz.call(this,e,t)}function Zjn(n,e,t){this.c=e,this.b=t,this.a=n}function xue(n,e,t){return n.d=u(e.Kb(t),164)}function CU(n,e){return n.Aj().Nh().Kh(n,e)}function TU(n,e){return n.Aj().Nh().Ih(n,e)}function nEn(n,e){return _n(n),B(n)===B(e)}function An(n,e){return _n(n),B(n)===B(e)}function iD(n,e){return nO(v$n(n.a,e,!1))}function rD(n,e){return nO(m$n(n.a,e,!1))}function Lue(n,e){return n.b.sd(new $7n(n,e))}function Nue(n,e){return n.b.sd(new F7n(n,e))}function eEn(n,e){return n.b.sd(new x7n(n,e))}function MU(n,e,t){return n.lastIndexOf(e,t)}function Bue(n,e,t){return Zt(n[e.b],n[t.b])}function Rue(n,e){return H(e,(nn(),Jk),n)}function _ue(n,e){return Uc(e.a.d.p,n.a.d.p)}function Kue(n,e){return Uc(n.a.d.p,e.a.d.p)}function Hue(n,e){return Zt(n.c-n.s,e.c-e.s)}function tEn(n){return n.c?Fr(n.c.a,n,0):-1}function que(n){return n<100?null:new Q1(n)}function p2(n){return n==td||n==jh||n==Ac}function iEn(n,e){return I(e,15)&&fBn(n.c,e)}function Gue(n,e){pf||e&&(n.d=e)}function cD(n,e){var t;return t=e,!!VV(n,t)}function AU(n,e){this.c=n,DD.call(this,n,e)}function rEn(n){this.c=n,FO.call(this,IM,0)}function cEn(n,e){Voe.call(this,n,n.length,e)}function zue(n,e,t){return u(n.c,69).lk(e,t)}function yE(n,e,t){return u(n.c,69).mk(e,t)}function Uue(n,e,t){return tue(n,u(e,332),t)}function SU(n,e,t){return iue(n,u(e,332),t)}function Wue(n,e,t){return ixn(n,u(e,332),t)}function uEn(n,e,t){return zve(n,u(e,332),t)}function M5(n,e){return e==null?null:ab(n.b,e)}function PU(n){return G0(n)?(_n(n),n):n.ke()}function jE(n){return!isNaN(n)&&!isFinite(n)}function sEn(n){Df(),this.a=(Pn(),new Wp(n))}function b8(n){h3(),this.d=n,this.a=new gw}function ks(n,e,t){this.a=n,this.b=e,this.c=t}function oEn(n,e,t){this.a=n,this.b=e,this.c=t}function fEn(n,e,t){this.d=n,this.b=t,this.a=e}function uD(n){jyn(this),_s(this),Vi(this,n)}function du(n){RO(this),GU(this.c,0,n.Pc())}function hEn(n){Uu(n.a),sPn(n.c,n.b),n.b=null}function lEn(n){this.a=n,Zf(),eu(Date.now())}function aEn(){aEn=N,Xin=new ou,XA=new ou}function sD(){sD=N,Rin=new rln,Izn=new cln}function dEn(){dEn=N,Bne=F(Zn,rn,1,0,5,1)}function bEn(){bEn=N,tee=F(Zn,rn,1,0,5,1)}function IU(){IU=N,iee=F(Zn,rn,1,0,5,1)}function Df(){Df=N,new Bq((Pn(),Pn(),cr))}function Xue(n){return FC(),$e((vPn(),$zn),n)}function Vue(n){return hf(),$e((NSn(),Rzn),n)}function Que(n){return $T(),$e((GAn(),zzn),n)}function Jue(n){return RC(),$e((zAn(),Uzn),n)}function Yue(n){return dM(),$e((OOn(),Wzn),n)}function Zue(n){return _o(),$e((FSn(),Qzn),n)}function nse(n){return Cu(),$e((xSn(),Yzn),n)}function ese(n){return Jc(),$e((LSn(),nUn),n)}function tse(n){return SM(),$e((Wkn(),EUn),n)}function ise(n){return Hd(),$e((kPn(),TUn),n)}function rse(n){return K2(),$e((yPn(),AUn),n)}function cse(n){return d6(),$e((jPn(),IUn),n)}function use(n){return Aj(),$e((jAn(),OUn),n)}function sse(n){return _C(),$e((UAn(),XUn),n)}function ose(n){return W5(),$e((BSn(),wWn),n)}function fse(n){return Qi(),$e((YPn(),mWn),n)}function hse(n){return G3(),$e((mPn(),CWn),n)}function lse(n){return qd(),$e((RSn(),IWn),n)}function OU(n,e){if(!n)throw T(new Hn(e))}function ase(n){return Qn(),$e((mIn(),FWn),n)}function DU(n){xE.call(this,n.d,n.c,n.a,n.b)}function oD(n){xE.call(this,n.d,n.c,n.a,n.b)}function $U(n,e,t){this.b=n,this.c=e,this.a=t}function EE(n,e,t){this.b=n,this.a=e,this.c=t}function wEn(n,e,t){this.a=n,this.b=e,this.c=t}function FU(n,e,t){this.a=n,this.b=e,this.c=t}function gEn(n,e,t){this.a=n,this.b=e,this.c=t}function xU(n,e,t){this.a=n,this.b=e,this.c=t}function pEn(n,e,t){this.b=n,this.a=e,this.c=t}function CE(n,e,t){this.e=e,this.b=n,this.d=t}function dse(n,e,t){return ca(),n.a.Od(e,t),e}function fD(n){var e;return e=new $ln,e.e=n,e}function LU(n){var e;return e=new n9n,e.b=n,e}function w8(){w8=N,sS=new xdn,oS=new Ldn}function wo(){wo=N,XWn=new vbn,VWn=new mbn}function bse(n){return aT(),$e((CPn(),qWn),n)}function wse(n){return ff(),$e((MPn(),YWn),n)}function gse(n){return lM(),$e((kOn(),uXn),n)}function pse(n){return q2(),$e((jIn(),sXn),n)}function vse(n){return OC(),$e((YAn(),oXn),n)}function mse(n){return F2(),$e((_Sn(),fXn),n)}function kse(n){return Vw(),$e((WPn(),nXn),n)}function yse(n){return Kd(),$e((qSn(),cXn),n)}function jse(n){return VC(),$e((KSn(),hXn),n)}function Ese(n){return Pa(),$e((zPn(),lXn),n)}function Cse(n){return V8(),$e((XAn(),aXn),n)}function Tse(n){return ya(),$e((HSn(),bXn),n)}function Mse(n){return eM(),$e((MIn(),wXn),n)}function Ase(n){return K8(),$e((VAn(),gXn),n)}function Sse(n){return A7(),$e((CIn(),pXn),n)}function Pse(n){return h4(),$e((EIn(),vXn),n)}function Ise(n){return or(),$e((UOn(),mXn),n)}function Ose(n){return q3(),$e((zSn(),kXn),n)}function Dse(n){return Nh(),$e((GSn(),jXn),n)}function $se(n){return kC(),$e((ZAn(),EXn),n)}function Fse(n){return Ss(),$e((XPn(),CXn),n)}function xse(n){return JT(),$e((TIn(),RQn),n)}function Lse(n){return i6(),$e((USn(),_Qn),n)}function Nse(n){return wb(),$e((APn(),KQn),n)}function Bse(n){return ur(),$e((VSn(),WQn),n)}function Rse(n){return Zw(),$e((mOn(),qQn),n)}function _se(n){return Rh(),$e((XSn(),GQn),n)}function Kse(n){return z8(),$e((JAn(),zQn),n)}function Hse(n){return oT(),$e((WSn(),XQn),n)}function qse(n){return b6(),$e((UPn(),HQn),n)}function Gse(n){return x8(),$e((QAn(),VQn),n)}function zse(n){return Q3(),$e((JSn(),QQn),n)}function Use(n){return uT(),$e((YSn(),JQn),n)}function Wse(n){return dT(),$e((QSn(),YQn),n)}function Xse(n){return _d(),$e((ZSn(),lJn),n)}function Vse(n){return z5(),$e((eSn(),gJn),n)}function Qse(n){return Ff(),$e((tSn(),EJn),n)}function Jse(n){return ef(),$e((iSn(),TJn),n)}function Yse(n){return No(),$e((nSn(),_Jn),n)}function Zse(n){return Id(),$e((rSn(),WJn),n)}function noe(n){return c4(),$e((EPn(),XJn),n)}function eoe(n){return k6(),$e((AIn(),QJn),n)}function toe(n){return aC(),$e((sSn(),hYn),n)}function ioe(n){return iT(),$e((uSn(),gYn),n)}function roe(n){return gC(),$e((cSn(),lYn),n)}function coe(n){return CT(),$e((nPn(),vYn),n)}function uoe(n){return $C(),$e((oSn(),mYn),n)}function soe(n){return f7(),$e((ePn(),kYn),n)}function ooe(n){return qT(),$e((TPn(),xYn),n)}function foe(n){return sT(),$e((iPn(),LYn),n)}function hoe(n){return ET(),$e((tPn(),NYn),n)}function loe(n){return g4(),$e((JPn(),iZn),n)}function aoe(n){return w7(),$e((rPn(),rZn),n)}function doe(n){return Pj(),$e((kAn(),cZn),n)}function boe(n){return Ij(),$e((mAn(),sZn),n)}function woe(n){return L8(),$e((hSn(),oZn),n)}function goe(n){return P7(),$e((VPn(),fZn),n)}function poe(n){return Jv(),$e((yAn(),TZn),n)}function voe(n){return c7(),$e((fSn(),MZn),n)}function moe(n){return Ho(),$e((QPn(),DZn),n)}function koe(n){return y1(),$e((yOn(),FZn),n)}function yoe(n){return oh(),$e((yIn(),xZn),n)}function joe(n){return vb(),$e((kIn(),KZn),n)}function Eoe(n){return rr(),$e((Xkn(),_Wn),n)}function Coe(n){return B3(),$e((WAn(),RWn),n)}function Toe(n){return sr(),$e((ZPn(),tne),n)}function Moe(n){return sf(),$e((uPn(),ine),n)}function Aoe(n){return Hh(),$e((IPn(),rne),n)}function Soe(n){return ZT(),$e((PIn(),cne),n)}function Poe(n){return _h(),$e((cPn(),sne),n)}function Ioe(n){return cs(),$e((PPn(),fne),n)}function Ooe(n){return jb(),$e((IOn(),hne),n)}function Doe(n){return qw(),$e((nIn(),lne),n)}function $oe(n){return Ti(),$e((wIn(),ane),n)}function Foe(n){return Tu(),$e((SIn(),dne),n)}function xoe(n){return Vu(),$e((DPn(),mne),n)}function Loe(n){return xu(),$e((WOn(),kne),n)}function Noe(n){return J(),$e((eIn(),bne),n)}function Boe(n){return AT(),$e((OPn(),yne),n)}function Roe(n){return Xu(),$e((SPn(),Cne),n)}function _oe(n){return d4(),$e((jOn(),Nne),n)}function Koe(n,e){return _n(n),n+(_n(e),e)}function Hoe(n,e){return Zf(),me(R(n.a),e)}function qoe(n,e){return Zf(),me(R(n.a),e)}function hD(n,e){this.c=n,this.a=e,this.b=e-n}function vEn(n,e,t){this.a=n,this.b=e,this.c=t}function NU(n,e,t){this.a=n,this.b=e,this.c=t}function BU(n,e,t){this.a=n,this.b=e,this.c=t}function mEn(n,e,t){this.a=n,this.b=e,this.c=t}function kEn(n,e,t){this.a=n,this.b=e,this.c=t}function s1(n,e,t){this.e=n,this.a=e,this.c=t}function yEn(n,e,t){ms(),QW.call(this,n,e,t)}function lD(n,e,t){ms(),FW.call(this,n,e,t)}function RU(n,e,t){ms(),FW.call(this,n,e,t)}function _U(n,e,t){ms(),FW.call(this,n,e,t)}function jEn(n,e,t){ms(),lD.call(this,n,e,t)}function KU(n,e,t){ms(),lD.call(this,n,e,t)}function EEn(n,e,t){ms(),KU.call(this,n,e,t)}function CEn(n,e,t){ms(),RU.call(this,n,e,t)}function TEn(n,e,t){ms(),_U.call(this,n,e,t)}function g8(n,e){return pe(n),pe(e),new U8n(n,e)}function v2(n,e){return pe(n),pe(e),new BEn(n,e)}function Goe(n,e){return pe(n),pe(e),new REn(n,e)}function zoe(n,e){return pe(n),pe(e),new X8n(n,e)}function u(n,e){return A5(n==null||WF(n,e)),n}function f3(n){var e;return e=new X,_$(e,n),e}function Uoe(n){var e;return e=new fi,_$(e,n),e}function MEn(n){var e;return e=new Wq,nF(e,n),e}function p8(n){var e;return e=new Ct,nF(e,n),e}function Woe(n){return!n.e&&(n.e=new X),n.e}function Xoe(n){return!n.c&&(n.c=new Bp),n.c}function W(n,e){return n.c[n.c.length]=e,!0}function AEn(n,e){this.c=n,this.b=e,this.a=!1}function HU(n){this.d=n,Dvn(this),this.b=_fe(n.d)}function SEn(){this.a=";,;",this.b="",this.c=""}function Voe(n,e,t){PCn.call(this,e,t),this.a=n}function PEn(n,e,t){this.b=n,qkn.call(this,e,t)}function qU(n,e,t){this.c=n,Nj.call(this,e,t)}function GU(n,e,t){aY(t,0,n,e,t.length,!1)}function eh(n,e,t,i,r){n.b=e,n.c=t,n.d=i,n.a=r}function Qoe(n,e){e&&(n.b=e,n.a=(fl(e),e.a))}function zU(n,e,t,i,r){n.d=e,n.c=t,n.a=i,n.b=r}function UU(n){var e,t;e=n.b,t=n.c,n.b=t,n.c=e}function WU(n){var e,t;t=n.d,e=n.a,n.d=e,n.a=t}function XU(n){return bl(the($r(n)?Ks(n):n))}function Joe(n,e){return Uc(zEn(n.d),zEn(e.d))}function Yoe(n,e){return e==(J(),Gn)?n.c:n.d}function h3(){h3=N,don=(J(),Gn),dP=Vn}function IEn(){this.b=K(Y(cn((Go(),xR))))}function OEn(n){return ca(),F(Zn,rn,1,n,5,1)}function Zoe(n){return new fn(n.c+n.b,n.d+n.a)}function nfe(n,e){return Sj(),Uc(n.d.p,e.d.p)}function aD(n){return ne(n.b!=0),Ts(n,n.a.a)}function efe(n){return ne(n.b!=0),Ts(n,n.c.b)}function VU(n,e){if(!n)throw T(new _9n(e))}function TE(n,e){if(!n)throw T(new Hn(e))}function QU(n,e,t){t3.call(this,n,e),this.b=t}function v8(n,e,t){lz.call(this,n,e),this.c=t}function DEn(n,e,t){fIn.call(this,e,t),this.d=n}function JU(n){IU(),Yy.call(this),this.th(n)}function $En(n,e,t){this.a=n,Ew.call(this,e,t)}function FEn(n,e,t){this.a=n,Ew.call(this,e,t)}function ME(n,e,t){lz.call(this,n,e),this.c=t}function xEn(){T3(),khe.call(this,(Z1(),uo))}function LEn(n){return n!=null&&!$F(n,a9,d9)}function tfe(n,e){return(zDn(n)<<4|zDn(e))&Ut}function ife(n,e){return QE(),ex(n,e),new fTn(n,e)}function sa(n,e){var t;n.n&&(t=e,W(n.f,t))}function l3(n,e,t){var i;i=new Z0(t),Ro(n,e,i)}function rfe(n,e){var t;return t=n.c,wV(n,e),t}function YU(n,e){return e<0?n.g=-1:n.g=e,n}function AE(n,e){return H0e(n),n.a*=e,n.b*=e,n}function NEn(n,e,t,i,r){n.c=e,n.d=t,n.b=i,n.a=r}function Ke(n,e){return Kt(n,e,n.c.b,n.c),!0}function ZU(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function dD(n){this.b=n,this.a=Ed(this.b.a).Ed()}function BEn(n,e){this.b=n,this.a=e,TI.call(this)}function REn(n,e){this.a=n,this.b=e,TI.call(this)}function _En(n,e){PCn.call(this,e,1040),this.a=n}function m8(n){return n==0||isNaN(n)?n:n<0?-1:1}function cfe(n){return C2(),fh(n)==At(ml(n))}function ufe(n){return C2(),ml(n)==At(fh(n))}function jd(n,e){return v6(n,new t3(e.a,e.b))}function sfe(n){return!Xi(n)&&n.c.i.c==n.d.i.c}function SE(n){var e;return e=n.n,n.a.b+e.d+e.a}function KEn(n){var e;return e=n.n,n.e.b+e.d+e.a}function nW(n){var e;return e=n.n,n.e.a+e.b+e.c}function HEn(n){return Je(),new th(0,n)}function ofe(n){return n.a?n.a:WD(n)}function A5(n){if(!n)throw T(new Up(null))}function qEn(){qEn=N,mH=(Pn(),new OI(XB))}function PE(){PE=N,new JQ((HI(),uR),(qI(),cR))}function GEn(){GEn=N,jin=F(Wi,q,19,256,0,1)}function bD(n,e,t,i){MQ.call(this,n,e,t,i,0,0)}function ffe(n,e,t){return it(n.b,u(t.b,17),e)}function hfe(n,e,t){return it(n.b,u(t.b,17),e)}function lfe(n,e){return W(n,new fn(e.a,e.b))}function afe(n,e){return n.c=e)throw T(new qq)}function Xfe(n,e,t){return Mt(e,0,rW(e[0],t[0])),e}function Vfe(n,e,t){e.Ye(t,K(Y(te(n.b,t)))*n.a)}function SCn(n,e,t){return eg(),R3(n,e)&&R3(n,t)}function D5(n){return Tu(),!n.Hc(n1)&&!n.Hc(Gl)}function qE(n){return new fn(n.c+n.b/2,n.d+n.a/2)}function MD(n,e){return e.kh()?pl(n.b,u(e,49)):e}function kW(n,e){this.e=n,this.d=e&64?e|Nf:e}function PCn(n,e){this.c=0,this.d=n,this.b=e|64|Nf}function GE(n){this.b=new Pc(11),this.a=(Ow(),n)}function AD(n){this.b=null,this.a=(Ow(),n||Lin)}function ICn(n){this.a=Z$n(n.a),this.b=new du(n.b)}function OCn(n){this.b=n,b2.call(this,n),Fyn(this)}function DCn(n){this.b=n,u8.call(this,n),xyn(this)}function Y0(n,e,t){this.a=n,g2.call(this,e,t,5,6)}function yW(n,e,t,i){this.b=n,Jt.call(this,e,t,i)}function wi(n,e,t,i,r){D$.call(this,n,e,t,i,r,-1)}function $5(n,e,t,i,r){R8.call(this,n,e,t,i,r,-1)}function V(n,e,t,i){Jt.call(this,n,e,t),this.b=i}function zE(n,e,t,i){v8.call(this,n,e,t),this.b=i}function $Cn(n){Lkn.call(this,n,!1),this.a=!1}function FCn(n,e){this.b=n,wvn.call(this,n.b),this.a=e}function xCn(n,e){nb(),Yie.call(this,n,mT(new Ku(e)))}function UE(n,e){return Je(),new xW(n,e,0)}function SD(n,e){return Je(),new xW(6,n,e)}function Qfe(n,e){return An(n.substr(0,e.length),e)}function zu(n,e){return mi(e)?QD(n,e):!!Ar(n.f,e)}function Oi(n,e){for(_n(e);n.Ob();)e.td(n.Pb())}function Pw(n,e,t){jl(),this.e=n,this.d=e,this.a=t}function o1(n,e,t,i){var r;r=n.i,r.i=e,r.a=t,r.b=i}function jW(n){var e;for(e=n;e.f;)e=e.f;return e}function y2(n){var e;return e=t6(n),ne(e!=null),e}function Jfe(n){var e;return e=Lge(n),ne(e!=null),e}function d3(n,e){var t;return t=n.a.gc(),$X(e,t),t-e}function EW(n,e){var t;for(t=0;t0?j.Math.log(n/e):-100}function LCn(n,e){return fc(n,e)<0?-1:fc(n,e)>0?1:0}function SW(n,e,t){return ARn(n,u(e,46),u(t,167))}function NCn(n,e){return u(vW(Ed(n.a)).Xb(e),42).cd()}function uhe(n,e){return P0e(e,n.length),new _En(n,e)}function DD(n,e){this.d=n,ie.call(this,n),this.e=e}function Cd(n){this.d=(_n(n),n),this.a=0,this.c=IM}function PW(n,e){cd.call(this,1),this.a=n,this.b=e}function BCn(n,e){return n.c?BCn(n.c,e):W(n.b,e),n}function she(n,e,t){var i;return i=ub(n,e),g$(n,e,t),i}function IW(n,e){var t;return t=n.slice(0,e),WX(t,n)}function RCn(n,e,t){var i;for(i=0;i=n.g}function KD(n,e,t){var i;return i=Y$(n,e,t),rZ(n,i)}function j2(n,e){var t;t=n.a.length,ub(n,t),g$(n,t,e)}function nTn(n,e){var t;t=console[n],t.call(console,e)}function eTn(n,e){var t;++n.j,t=n.Vi(),n.Ii(n.oi(t,e))}function mhe(n,e,t){u(e.b,65),Yc(e.a,new NU(n,t,e))}function FW(n,e,t){uj.call(this,e),this.a=n,this.b=t}function xW(n,e,t){cd.call(this,n),this.a=e,this.b=t}function LW(n,e,t){this.a=n,xq.call(this,e),this.b=t}function tTn(n,e,t){this.a=n,aX.call(this,8,e,null,t)}function khe(n){this.a=(_n(xe),xe),this.b=n,new tG}function iTn(n){this.c=n,this.b=this.c.a,this.a=this.c.e}function NW(n){this.c=n,this.b=n.a.d.a,rU(n.a.e,this)}function Uu(n){z0(n.c!=-1),n.d.$c(n.c),n.b=n.c,n.c=-1}function L5(n){return j.Math.sqrt(n.a*n.a+n.b*n.b)}function Md(n,e){return a3(e,n.a.c.length),un(n.a,e)}function $f(n,e){return B(n)===B(e)||n!=null&&tt(n,e)}function yhe(n){return 0>=n?new PG:sbe(n-1)}function jhe(n){return aw?QD(aw,n):!1}function rTn(n){return n?n.dc():!n.Kc().Ob()}function Gi(n){return!n.a&&n.c?n.c.b:n.a}function Ehe(n){return!n.a&&(n.a=new Jt(zl,n,4)),n.a}function Ad(n){return!n.d&&(n.d=new Jt(ar,n,1)),n.d}function _n(n){if(n==null)throw T(new Nv);return n}function N5(n){n.c?n.c.He():(n.d=!0,S8e(n))}function fl(n){n.c?fl(n.c):(Ta(n),n.d=!0)}function cTn(n){KW(n.a),n.b=F(Zn,rn,1,n.b.length,5,1)}function Che(n,e){return Uc(e.j.c.length,n.j.c.length)}function The(n,e){n.c<0||n.b.b=0?n.Bh(t):bY(n,e)}function uTn(n){var e,t;return e=n.c.i.c,t=n.d.i.c,e==t}function Ahe(n){if(n.p!=4)throw T(new fu);return n.e}function She(n){if(n.p!=3)throw T(new fu);return n.e}function Phe(n){if(n.p!=6)throw T(new fu);return n.f}function Ihe(n){if(n.p!=6)throw T(new fu);return n.k}function Ohe(n){if(n.p!=3)throw T(new fu);return n.j}function Dhe(n){if(n.p!=4)throw T(new fu);return n.j}function BW(n){return!n.b&&(n.b=new sj(new KI)),n.b}function Sd(n){return n.c==-2&&Pte(n,Qve(n.g,n.b)),n.c}function g3(n,e){var t;return t=LD("",n),t.n=e,t.i=1,t}function $he(n,e){yD(u(e.b,65),n),Yc(e.a,new Aq(n))}function Fhe(n,e){me((!n.a&&(n.a=new l8(n,n)),n.a),e)}function sTn(n,e){this.b=n,DD.call(this,n,e),Fyn(this)}function oTn(n,e){this.b=n,AU.call(this,n,e),xyn(this)}function RW(n,e,t,i){bd.call(this,n,e),this.d=t,this.a=i}function VE(n,e,t,i){bd.call(this,n,t),this.a=e,this.f=i}function fTn(n,e){bce.call(this,obe(pe(n),pe(e))),this.a=e}function hTn(){UJ.call(this,Ka,(d8n(),lee)),tEe(this)}function lTn(){UJ.call(this,Vs,(Qp(),g1n)),lje(this)}function aTn(){Oe.call(this,"DELAUNAY_TRIANGULATION",0)}function xhe(n){return String.fromCharCode.apply(null,n)}function it(n,e,t){return mi(e)?kr(n,e,t):_c(n.f,e,t)}function _W(n){return Pn(),n?n.ve():(Ow(),Ow(),Bin)}function Lhe(n,e,t){return L2(),t.pg(n,u(e.cd(),146))}function dTn(n,e){return PE(),new JQ(new Xyn(n),new Wyn(e))}function Nhe(n){return is(n,AL),KC(qi(qi(5,n),n/10|0))}function QE(){QE=N,hzn=new GI(A(M(Ha,1),OM,42,0,[]))}function bTn(n){return!n.d&&(n.d=new _p(n.c.Cc())),n.d}function p3(n){return!n.a&&(n.a=new X9n(n.c.vc())),n.a}function wTn(n){return!n.b&&(n.b=new Wp(n.c.ec())),n.b}function rh(n,e){for(;e-- >0;)n=n<<1|(n<0?1:0);return n}function pc(n,e){return B(n)===B(e)||n!=null&&tt(n,e)}function Bhe(n,e){return qn(),u(e.b,19).ai&&++i,i}function Oh(n){var e,t;return t=(e=new ud,e),O3(t,n),t}function UD(n){var e,t;return t=(e=new ud,e),VJ(t,n),t}function Zhe(n,e){var t;return t=te(n.f,e),MV(e,t),null}function WD(n){var e;return e=hbe(n),e||null}function TTn(n){return!n.b&&(n.b=new V(di,n,12,3)),n.b}function n1e(n){return n!=null&&_9(tI,n.toLowerCase())}function e1e(n,e){return Zt(bu(n)*Gu(n),bu(e)*Gu(e))}function t1e(n,e){return Zt(bu(n)*Gu(n),bu(e)*Gu(e))}function i1e(n,e){return Zt(n.d.c+n.d.b/2,e.d.c+e.d.b/2)}function r1e(n,e){return Zt(n.g.c+n.g.b/2,e.g.c+e.g.b/2)}function MTn(n,e,t){t.a?nu(n,e.b-n.f/2):Zc(n,e.a-n.g/2)}function ATn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function STn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function ha(n,e,t,i){this.e=n,this.a=e,this.c=t,this.d=i}function PTn(n,e,t,i){this.a=n,this.c=e,this.d=t,this.b=i}function ITn(n,e,t,i){ms(),jSn.call(this,e,t,i),this.a=n}function OTn(n,e,t,i){ms(),jSn.call(this,e,t,i),this.a=n}function DTn(n,e){this.a=n,hue.call(this,n,u(n.d,15).Zc(e))}function XD(n){this.f=n,this.c=this.f.e,n.f>0&&GFn(this)}function $Tn(n,e,t,i){this.b=n,this.c=i,FO.call(this,e,t)}function FTn(n){return ne(n.b=0&&An(n.substr(t,e.length),e)}function hl(n,e,t,i,r,c,o){return new v$(n.e,e,t,i,r,c,o)}function JTn(n,e,t,i,r,c){this.a=n,z$.call(this,e,t,i,r,c)}function YTn(n,e,t,i,r,c){this.a=n,z$.call(this,e,t,i,r,c)}function ZTn(n,e){this.g=n,this.d=A(M(vh,1),E1,10,0,[e])}function f1(n,e){this.e=n,this.a=Zn,this.b=jBn(e),this.c=e}function nMn(n,e){kE.call(this),eV(this),this.a=n,this.c=e}function M8(n,e,t,i){Mt(n.c[e.g],t.g,i),Mt(n.c[t.g],e.g,i)}function ZD(n,e,t,i){Mt(n.c[e.g],e.g,t),Mt(n.b[e.g],e.g,i)}function M1e(){return x8(),A(M(ron,1),z,376,0,[uK,iy])}function A1e(){return K8(),A(M(Qcn,1),z,479,0,[Vcn,xS])}function S1e(){return V8(),A(M(Wcn,1),z,419,0,[$S,Ucn])}function P1e(){return OC(),A(M(Rcn,1),z,422,0,[Bcn,s_])}function I1e(){return kC(),A(M(fun,1),z,420,0,[j_,oun])}function O1e(){return z8(),A(M(non,1),z,421,0,[iK,rK])}function D1e(){return z5(),A(M(wJn,1),z,523,0,[Hm,Km])}function $1e(){return No(),A(M(RJn,1),z,520,0,[tw,Bl])}function F1e(){return Ff(),A(M(jJn,1),z,516,0,[M0,I1])}function x1e(){return ef(),A(M(CJn,1),z,515,0,[Ja,kf])}function L1e(){return Id(),A(M(UJn,1),z,455,0,[Rl,Lg])}function N1e(){return gC(),A(M(Son,1),z,425,0,[yK,Aon])}function B1e(){return aC(),A(M(Mon,1),z,480,0,[kK,Ton])}function R1e(){return iT(),A(M(Pon,1),z,495,0,[EP,mv])}function _1e(){return $C(),A(M(Oon,1),z,426,0,[Ion,TK])}function K1e(){return c7(),A(M(Ffn,1),z,429,0,[DP,$fn])}function H1e(){return L8(),A(M(afn,1),z,430,0,[FK,IP])}function q1e(){return $T(),A(M(Jin,1),z,428,0,[yR,Qin])}function G1e(){return RC(),A(M(Zin,1),z,427,0,[Yin,jR])}function z1e(){return _C(),A(M(Arn,1),z,424,0,[$R,tS])}function U1e(){return B3(),A(M(BWn,1),z,511,0,[_k,UR])}function sC(n,e,t,i){return t>=0?n.jh(e,t,i):n.Sg(null,t,i)}function n$(n){return n.b.b==0?n.a.$e():aD(n.b)}function W1e(n){if(n.p!=5)throw T(new fu);return ge(n.f)}function X1e(n){if(n.p!=5)throw T(new fu);return ge(n.k)}function VW(n){return B(n.a)===B((eF(),gH))&&Vje(n),n.a}function eMn(n){this.a=u(pe(n),271),this.b=(Pn(),new Hz(n))}function tMn(n,e){bte(this,new fn(n.a,n.b)),wte(this,p8(e))}function Id(){Id=N,Rl=new iz(Y2,0),Lg=new iz(Z2,1)}function Ff(){Ff=N,M0=new ez(Z2,0),I1=new ez(Y2,1)}function Od(){rie.call(this,new s2(sb(12))),Bz(!0),this.a=2}function e$(n,e,t){Je(),cd.call(this,n),this.b=e,this.a=t}function QW(n,e,t){ms(),uj.call(this,e),this.a=n,this.b=t}function iMn(n){kE.call(this),eV(this),this.a=n,this.c=!0}function rMn(n){var e;e=n.c.d.b,n.b=e,n.a=n.c.d,e.a=n.c.d.b=n}function oC(n){var e;ebe(n.a),wyn(n.a),e=new tj(n.a),TQ(e)}function V1e(n,e){dBn(n,!0),Yc(n.e.wf(),new $U(n,!0,e))}function fC(n,e){return NAn(e),Y0e(n,F(be,Le,25,e,15,1),e)}function Q1e(n,e){return C2(),n==At(fh(e))||n==At(ml(e))}function vc(n,e){return e==null?Vr(Ar(n.f,null)):n5(n.g,e)}function J1e(n){return n.b==0?null:(ne(n.b!=0),Ts(n,n.a.a))}function Gt(n){return Math.max(Math.min(n,nt),-2147483648)|0}function Y1e(n,e){var t=lR[n.charCodeAt(0)];return t??n}function hC(n,e){return tC(n,"set1"),tC(e,"set2"),new n7n(n,e)}function Z1e(n,e){var t;return t=W0e(n.f,e),st(vE(t),n.f.d)}function R5(n,e){var t,i;return t=e,i=new dI,e_n(n,t,i),i.d}function t$(n,e,t,i){var r;r=new zjn,e.a[t.g]=r,m2(n.b,i,r)}function JW(n,e,t){var i;i=n.Yg(e),i>=0?n.sh(i,t):_Y(n,e,t)}function Dw(n,e,t){dC(),n&&it(dH,n,e),n&&it($y,n,t)}function cMn(n,e,t){this.i=new X,this.b=n,this.g=e,this.a=t}function lC(n,e,t){this.c=new X,this.e=n,this.f=e,this.b=t}function YW(n,e,t){this.a=new X,this.e=n,this.f=e,this.c=t}function uMn(n,e){oE(this),this.f=e,this.g=n,eC(this),this._d()}function A8(n,e){var t;t=n.q.getHours(),n.q.setDate(e),S6(n,t)}function sMn(n,e){var t;for(pe(e),t=n.a;t;t=t.c)e.Od(t.g,t.i)}function oMn(n){var e;return e=new kj(sb(n.length)),qV(e,n),e}function nle(n){function e(){}return e.prototype=n||{},new e}function ele(n,e){return NOn(n,e)?(xIn(n),!0):!1}function Dh(n,e){if(e==null)throw T(new Nv);return Y2e(n,e)}function tle(n){if(n.qe())return null;var e=n.n;return RA[e]}function S8(n){return n.Db>>16!=3?null:u(n.Cb,33)}function nf(n){return n.Db>>16!=9?null:u(n.Cb,33)}function fMn(n){return n.Db>>16!=6?null:u(n.Cb,79)}function hMn(n){return n.Db>>16!=7?null:u(n.Cb,235)}function lMn(n){return n.Db>>16!=7?null:u(n.Cb,160)}function At(n){return n.Db>>16!=11?null:u(n.Cb,33)}function aMn(n,e){var t;return t=n.Yg(e),t>=0?n.lh(t):Ox(n,e)}function dMn(n,e){var t;return t=new iW(e),bxn(t,n),new du(t)}function ZW(n){var e;return e=n.d,e=n.si(n.f),me(n,e),e.Ob()}function bMn(n,e){return n.b+=e.b,n.c+=e.c,n.d+=e.d,n.a+=e.a,n}function i$(n,e){return j.Math.abs(n)0}function wMn(){this.a=new Sh,this.e=new fi,this.g=0,this.i=0}function gMn(n){this.a=n,this.b=F(aJn,q,1944,n.e.length,0,2)}function r$(n,e,t){var i;i=iDn(n,e,t),n.b=new tT(i.c.length)}function ef(){ef=N,Ja=new nz(hN,0),kf=new nz("UP",1)}function aC(){aC=N,kK=new rz(IHn,0),Ton=new rz("FAN",1)}function dC(){dC=N,dH=new we,$y=new we,Ere(Szn,new U2n)}function rle(n){if(n.p!=0)throw T(new fu);return b5(n.f,0)}function cle(n){if(n.p!=0)throw T(new fu);return b5(n.k,0)}function pMn(n){return n.Db>>16!=3?null:u(n.Cb,147)}function y3(n){return n.Db>>16!=6?null:u(n.Cb,235)}function eb(n){return n.Db>>16!=17?null:u(n.Cb,26)}function vMn(n,e){var t=n.a=n.a||[];return t[e]||(t[e]=n.le(e))}function ule(n,e){var t;return t=n.a.get(e),t??new Array}function sle(n,e){var t;t=n.q.getHours(),n.q.setMonth(e),S6(n,t)}function kr(n,e,t){return e==null?_c(n.f,null,t):Gd(n.g,e,t)}function _5(n,e,t,i,r,c){return new Lh(n.e,e,n.aj(),t,i,r,c)}function P8(n,e,t){return n.a=Yu(n.a,0,e)+(""+t)+r8(n.a,e),n}function ole(n,e,t){return W(n.a,(QE(),ex(e,t),new bd(e,t))),n}function nX(n){return _z(n.c),n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function mMn(n){return _z(n.e),n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function Ei(n,e){n.d&&Qc(n.d.e,n),n.d=e,n.d&&W(n.d.e,n)}function Hi(n,e){n.c&&Qc(n.c.g,n),n.c=e,n.c&&W(n.c.g,n)}function yr(n,e){n.c&&Qc(n.c.a,n),n.c=e,n.c&&W(n.c.a,n)}function Hr(n,e){n.i&&Qc(n.i.j,n),n.i=e,n.i&&W(n.i.j,n)}function kMn(n,e,t){this.a=e,this.c=n,this.b=(pe(t),new du(t))}function yMn(n,e,t){this.a=e,this.c=n,this.b=(pe(t),new du(t))}function jMn(n,e){this.a=n,this.c=Qr(this.a),this.b=new uC(e)}function fle(n){var e;return Ta(n),e=new fi,gt(n,new Qvn(e))}function tb(n,e){if(n<0||n>e)throw T(new vr(cnn+n+unn+e))}function eX(n,e){return aCn(n.a,e)?TW(n,u(e,22).g,null):null}function hle(n){return yF(),qn(),u(n.a,81).d.e!=0}function EMn(){EMn=N,dzn=Fe((aj(),A(M(azn,1),z,538,0,[fR])))}function CMn(){CMn=N,ZQn=ju(new hi,(Qi(),Ir),(rr(),Kk))}function tX(){tX=N,nJn=ju(new hi,(Qi(),Ir),(rr(),Kk))}function TMn(){TMn=N,tJn=ju(new hi,(Qi(),Ir),(rr(),Kk))}function MMn(){MMn=N,pJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function Zu(){Zu=N,kJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function AMn(){AMn=N,yJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function c$(){c$=N,MJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function SMn(){SMn=N,aYn=ju(new hi,(c4(),Gm),(k6(),lK))}function aa(n,e,t,i){this.c=n,this.d=i,s$(this,e),o$(this,t)}function M2(n){this.c=new Ct,this.b=n.b,this.d=n.c,this.a=n.a}function u$(n){this.a=j.Math.cos(n),this.b=j.Math.sin(n)}function s$(n,e){n.a&&Qc(n.a.k,n),n.a=e,n.a&&W(n.a.k,n)}function o$(n,e){n.b&&Qc(n.b.f,n),n.b=e,n.b&&W(n.b.f,n)}function PMn(n,e){mhe(n,n.b,n.c),u(n.b.b,65),e&&u(e.b,65).b}function lle(n,e){vQ(n,e),I(n.Cb,88)&&yb(Iu(u(n.Cb,88)),2)}function f$(n,e){I(n.Cb,88)&&yb(Iu(u(n.Cb,88)),4),Ic(n,e)}function bC(n,e){I(n.Cb,179)&&(u(n.Cb,179).tb=null),Ic(n,e)}function mc(n,e){return er(),R$(e)?new IE(e,n):new i8(e,n)}function ale(n,e){var t,i;t=e.c,i=t!=null,i&&j2(n,new Z0(e.c))}function IMn(n){var e,t;return t=(Qp(),e=new ud,e),O3(t,n),t}function OMn(n){var e,t;return t=(Qp(),e=new ud,e),O3(t,n),t}function DMn(n,e){var t;return t=new Rs(n),e.c[e.c.length]=t,t}function $Mn(n,e){var t;return t=u(ab(T2(n.a),e),14),t?t.gc():0}function FMn(n){var e;return Ta(n),e=(Ow(),Ow(),Nin),qC(n,e)}function xMn(n){for(var e;;)if(e=n.Pb(),!n.Ob())return e}function iX(n,e){tie.call(this,new s2(sb(n))),is(e,X_n),this.a=e}function ch(n,e,t){HDn(e,t,n.gc()),this.c=n,this.a=e,this.b=t-e}function LMn(n,e,t){var i;HDn(e,t,n.c.length),i=t-e,AG(n.c,e,i)}function dle(n,e){$yn(n,ge(ci(cl(e,24),FM)),ge(ci(e,FM)))}function Ln(n,e){if(n<0||n>=e)throw T(new vr(cnn+n+unn+e))}function Me(n,e){if(n<0||n>=e)throw T(new wG(cnn+n+unn+e))}function xn(n,e){this.b=(_n(n),n),this.a=e&Ib?e:e|64|Nf}function NMn(n){byn(this),Xmn(this.a,KV(j.Math.max(8,n))<<1)}function tf(n){return Gr(A(M(ai,1),q,8,0,[n.i.n,n.n,n.a]))}function ble(){return hf(),A(M(Nu,1),z,132,0,[Win,hs,Rb])}function wle(){return _o(),A(M(_b,1),z,232,0,[Zr,Fc,nc])}function gle(){return Cu(),A(M(Jzn,1),z,461,0,[Xf,Ol,Co])}function ple(){return Jc(),A(M(Zzn,1),z,462,0,[Wo,Dl,To])}function vle(){return qd(),A(M(zrn,1),z,423,0,[yg,Grn,qR])}function mle(){return W5(),A(M(Krn,1),z,379,0,[NR,LR,BR])}function kle(){return i6(),A(M(Gsn,1),z,378,0,[J_,qsn,oP])}function yle(){return F2(),A(M(Kcn,1),z,314,0,[ap,qk,_cn])}function jle(){return VC(),A(M(qcn,1),z,337,0,[Hcn,DS,o_])}function Ele(){return ya(),A(M(dXn,1),z,450,0,[l_,cv,Tg])}function Cle(){return Kd(),A(M(YR,1),z,361,0,[g0,Fl,w0])}function Tle(){return Nh(),A(M(yXn,1),z,303,0,[zk,Ag,dp])}function Mle(){return q3(),A(M(y_,1),z,292,0,[m_,k_,Gk])}function Ale(){return ur(),A(M(UQn,1),z,452,0,[Bm,Au,xc])}function Sle(){return Rh(),A(M(Zsn,1),z,339,0,[Nl,Ysn,tK])}function Ple(){return oT(),A(M(ion,1),z,375,0,[eon,cK,ton])}function Ile(){return dT(),A(M(hon,1),z,377,0,[fK,pv,ew])}function Ole(){return Q3(),A(M(uon,1),z,336,0,[sK,con,Rm])}function Dle(){return uT(),A(M(fon,1),z,338,0,[oon,oK,son])}function $le(){return _d(),A(M(hJn,1),z,454,0,[ry,_m,aP])}function Fle(){return CT(),A(M(pYn,1),z,442,0,[CK,jK,EK])}function xle(){return f7(),A(M(Fon,1),z,380,0,[CP,Don,$on])}function Lle(){return ET(),A(M(Yon,1),z,381,0,[Jon,IK,Qon])}function Nle(){return sT(),A(M(Xon,1),z,293,0,[PK,Won,Uon])}function Ble(){return w7(),A(M(OK,1),z,437,0,[AP,SP,PP])}function Rle(){return _h(),A(M(Khn,1),z,334,0,[HP,F1,i9])}function _le(){return sf(),A(M(Phn,1),z,272,0,[jv,cw,Ev])}function Kle(n,e){return o9e(n,e,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function Hle(n,e,t){var i;return i=O6(n,e,!1),i.b<=e&&i.a<=t}function BMn(n,e,t){var i;i=new Ywn,i.b=e,i.a=t,++e.b,W(n.d,i)}function qle(n,e){var t;return t=(_n(n),n).g,Yz(!!t),_n(e),t(e)}function rX(n,e){var t,i;return i=d3(n,e),t=n.a.Zc(i),new Z8n(n,t)}function Gle(n){return n.Db>>16!=6?null:u(Fx(n),235)}function zle(n){if(n.p!=2)throw T(new fu);return ge(n.f)&Ut}function Ule(n){if(n.p!=2)throw T(new fu);return ge(n.k)&Ut}function Wle(n){return n.a==(T3(),uI)&&Ste(n,C9e(n.g,n.b)),n.a}function A2(n){return n.d==(T3(),uI)&&Ite(n,pke(n.g,n.b)),n.d}function y(n){return ne(n.ai?1:0}function RMn(n,e){var t,i;return t=F$(e),i=t,u(te(n.c,i),19).a}function _Mn(n,e){var t;for(t=n+"";t.length0&&n.a[--n.d]==0;);n.a[n.d++]==0&&(n.e=0)}function cAn(n){return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function rae(n){return!!n.a&&Ou(n.a.a).i!=0&&!(n.b&&YF(n.b))}function cae(n){return!!n.u&&bc(n.u.a).i!=0&&!(n.n&&JF(n.n))}function uAn(n){return gD(n.e.Hd().gc()*n.c.Hd().gc(),16,new ivn(n))}function uae(n,e){return LCn(eu(n.q.getTime()),eu(e.q.getTime()))}function xf(n){return u(lf(n,F(GR,MN,17,n.c.length,0,1)),474)}function I8(n){return u(lf(n,F(vh,E1,10,n.c.length,0,1)),193)}function sae(n){return Zu(),!Xi(n)&&!(!Xi(n)&&n.c.i.c==n.d.i.c)}function sAn(n,e,t){var i;i=(pe(n),new du(n)),N3e(new kMn(i,e,t))}function O8(n,e,t){var i;i=(pe(n),new du(n)),B3e(new yMn(i,e,t))}function oAn(n,e){var t;return t=1-e,n.a[t]=eT(n.a[t],t),eT(n,e)}function fAn(n,e){var t;n.e=new oG,t=Cb(e),bi(t,n.c),tBn(n,t,0)}function Ci(n,e,t,i){var r;r=new XH,r.a=e,r.b=t,r.c=i,Ke(n.a,r)}function Z(n,e,t,i){var r;r=new XH,r.a=e,r.b=t,r.c=i,Ke(n.b,r)}function po(n){var e,t,i;return e=new qCn,t=Zx(e,n),UEe(e),i=t,i}function hX(){var n,e,t;return e=(t=(n=new ud,n),t),W(M1n,e),e}function pC(n){return n.j.c=F(Zn,rn,1,0,5,1),KW(n.c),Khe(n.a),n}function $w(n){return Qv(),I(n.g,10)?u(n.g,10):null}function oae(n){return Iw(n).dc()?!1:(sce(n,new Np),!0)}function fae(n){if(!("stack"in n))try{throw n}catch{}return n}function D8(n,e){if(n<0||n>=e)throw T(new vr(j6e(n,e)));return n}function hAn(n,e,t){if(n<0||et)throw T(new vr(W5e(n,e,t)))}function d$(n,e){if(ri(n.a,e),e.d)throw T(new _r(gKn));e.d=n}function b$(n,e){if(e.$modCount!=n.$modCount)throw T(new vs)}function lAn(n,e){return I(e,42)?ix(n.a,u(e,42)):!1}function aAn(n,e){return I(e,42)?ix(n.a,u(e,42)):!1}function dAn(n,e){return I(e,42)?ix(n.a,u(e,42)):!1}function hae(n,e){return n.a<=n.b?(e.ud(n.a++),!0):!1}function $d(n){var e;return $r(n)?(e=n,e==-0?0:e):m0e(n)}function vC(n){var e;return fl(n),e=new hln,vw(n.a,new Xvn(e)),e}function bAn(n){var e;return fl(n),e=new fln,vw(n.a,new Wvn(e)),e}function Ii(n,e){this.a=n,$v.call(this,n),tb(e,n.gc()),this.b=e}function lX(n){this.e=n,this.b=this.e.a.entries(),this.a=new Array}function lae(n){return gD(n.e.Hd().gc()*n.c.Hd().gc(),273,new tvn(n))}function mC(n){return new Pc((is(n,AL),KC(qi(qi(5,n),n/10|0))))}function wAn(n){return u(lf(n,F(xWn,WKn,11,n.c.length,0,1)),1943)}function aae(n,e,t){return t.f.c.length>0?SW(n.a,e,t):SW(n.b,e,t)}function dae(n,e,t){n.d&&Qc(n.d.e,n),n.d=e,n.d&&Q0(n.d.e,t,n)}function w$(n,e){uTe(e,n),WU(n.d),WU(u(k(n,(nn(),eP)),207))}function H5(n,e){cTe(e,n),UU(n.d),UU(u(k(n,(nn(),eP)),207))}function Fd(n,e){var t,i;return t=Dh(n,e),i=null,t&&(i=t.fe()),i}function j3(n,e){var t,i;return t=ub(n,e),i=null,t&&(i=t.ie()),i}function q5(n,e){var t,i;return t=Dh(n,e),i=null,t&&(i=t.ie()),i}function $h(n,e){var t,i;return t=Dh(n,e),i=null,t&&(i=tY(t)),i}function bae(n,e,t){var i;return i=i4(t),gM(n.g,i,e),gM(n.i,e,t),e}function wae(n,e,t){var i;i=q2e();try{return kue(n,e,t)}finally{Mae(i)}}function gAn(n){var e;e=n.Wg(),this.a=I(e,69)?u(e,69).Zh():e.Kc()}function hi(){I9n.call(this),this.j.c=F(Zn,rn,1,0,5,1),this.a=-1}function aX(n,e,t,i){this.d=n,this.n=e,this.g=t,this.o=i,this.p=-1}function pAn(n,e,t,i){this.e=i,this.d=null,this.c=n,this.a=e,this.b=t}function dX(n,e,t){this.d=new c6n(this),this.e=n,this.i=e,this.f=t}function kC(){kC=N,j_=new QG(I4,0),oun=new QG("TOP_LEFT",1)}function vAn(){vAn=N,aon=dTn(Q(1),Q(4)),lon=dTn(Q(1),Q(2))}function mAn(){mAn=N,sZn=Fe((Ij(),A(M(uZn,1),z,551,0,[$K])))}function kAn(){kAn=N,cZn=Fe((Pj(),A(M(lfn,1),z,482,0,[DK])))}function yAn(){yAn=N,TZn=Fe((Jv(),A(M(Dfn,1),z,530,0,[hy])))}function jAn(){jAn=N,OUn=Fe((Aj(),A(M(krn,1),z,481,0,[SR])))}function gae(){return Hd(),A(M(CUn,1),z,406,0,[Ok,Ik,MR,AR])}function pae(){return FC(),A(M(WA,1),z,297,0,[vR,qin,Gin,zin])}function vae(){return d6(),A(M(PUn,1),z,394,0,[Lk,YA,ZA,Nk])}function mae(){return K2(),A(M(MUn,1),z,323,0,[$k,Dk,Fk,xk])}function kae(){return G3(),A(M(EWn,1),z,405,0,[b0,Hb,Kb,kg])}function yae(){return aT(),A(M(HWn,1),z,360,0,[QR,TS,MS,Hk])}function EAn(n,e,t,i){return I(t,54)?new fjn(n,e,t,i):new pW(n,e,t,i)}function jae(){return ff(),A(M(JWn,1),z,411,0,[lp,nv,ev,JR])}function Eae(n){var e;return n.j==(J(),ae)&&(e=zLn(n),au(e,Vn))}function Cae(n,e){var t;t=e.a,Hi(t,e.c.d),Ei(t,e.d.d),fb(t.a,n.n)}function CAn(n,e){return u(yd(KE(u(ct(n.k,e),15).Oc(),jg)),113)}function TAn(n,e){return u(yd(HE(u(ct(n.k,e),15).Oc(),jg)),113)}function Tae(n){return new xn(jbe(u(n.a.dd(),14).gc(),n.a.cd()),16)}function E3(n){return I(n,14)?u(n,14).dc():!n.Kc().Ob()}function S2(n){return Qv(),I(n.g,145)?u(n.g,145):null}function MAn(n){if(n.e.g!=n.b)throw T(new vs);return!!n.c&&n.d>0}function Re(n){return ne(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function bX(n,e){_n(e),Mt(n.a,n.c,e),n.c=n.c+1&n.a.length-1,AFn(n)}function ll(n,e){_n(e),n.b=n.b-1&n.a.length-1,Mt(n.a,n.b,e),AFn(n)}function AAn(n,e){var t;for(t=n.j.c.length;t0&&gc(n.g,0,e,0,n.i),e}function OAn(n,e){$j();var t;return t=u(te(eI,n),55),!t||t.wj(e)}function Bae(n){if(n.p!=1)throw T(new fu);return ge(n.f)<<24>>24}function Rae(n){if(n.p!=1)throw T(new fu);return ge(n.k)<<24>>24}function _ae(n){if(n.p!=7)throw T(new fu);return ge(n.k)<<16>>16}function Kae(n){if(n.p!=7)throw T(new fu);return ge(n.f)<<16>>16}function Fh(n){var e;for(e=0;n.Ob();)n.Pb(),e=qi(e,1);return KC(e)}function DAn(n,e){var t;return t=new R0,n.xd(t),t.a+="..",e.yd(t),t.a}function Hae(n,e,t){var i;i=u(te(n.g,t),57),W(n.a.c,new Pi(e,i))}function qae(n,e,t){return TD(Y(Vr(Ar(n.f,e))),Y(Vr(Ar(n.f,t))))}function yC(n,e,t){return vM(n,e,t,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function Gae(n,e,t){return m4(n,e,t,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function zae(n,e,t){return b9e(n,e,t,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function pX(n,e){return n==(Qn(),ti)&&e==ti?4:n==ti||e==ti?8:32}function $An(n,e){return B(e)===B(n)?"(this Map)":e==null?iu:Lr(e)}function Uae(n,e){return u(e==null?Vr(Ar(n.f,null)):n5(n.g,e),281)}function FAn(n,e,t){var i;return i=i4(t),it(n.b,i,e),it(n.c,e,t),e}function xAn(n,e){var t;for(t=e;t;)U0(n,t.i,t.j),t=At(t);return n}function vX(n,e){var t;return t=C8(f3(new x$(n,e))),DE(new x$(n,e)),t}function uh(n,e){er();var t;return t=u(n,66).Mj(),M5e(t,e),t.Ok(e)}function Wae(n,e,t,i,r){var c;c=m9e(r,t,i),W(e,p6e(r,c)),o5e(n,r,e)}function LAn(n,e,t){n.i=0,n.e=0,e!=t&&(sDn(n,e,t),uDn(n,e,t))}function mX(n,e){var t;t=n.q.getHours(),n.q.setFullYear(e+Tl),S6(n,t)}function Xae(n,e,t){if(t){var i=t.ee();n.a[e]=i(t)}else delete n.a[e]}function g$(n,e,t){if(t){var i=t.ee();t=i(t)}else t=void 0;n.a[e]=t}function NAn(n){if(n<0)throw T(new H9n("Negative array size: "+n))}function bc(n){return n.n||(Iu(n),n.n=new gCn(n,ar,n),Mr(n)),n.n}function G5(n){return ne(n.a=0&&n.a[t]===e[t];t--);return t<0}function HAn(n,e){V3();var t;return t=n.j.g-e.j.g,t!=0?t:0}function qAn(n,e){return _n(e),n.a!=null?$fe(e.Kb(n.a)):UA}function jC(n){var e;return n?new iW(n):(e=new Sh,nF(e,n),e)}function es(n,e){var t;return e.b.Kb(xPn(n,e.c.Ee(),(t=new Yvn(e),t)))}function EC(n){_J(),$yn(this,ge(ci(cl(n,24),FM)),ge(ci(n,FM)))}function GAn(){GAn=N,zzn=Fe(($T(),A(M(Jin,1),z,428,0,[yR,Qin])))}function zAn(){zAn=N,Uzn=Fe((RC(),A(M(Zin,1),z,427,0,[Yin,jR])))}function UAn(){UAn=N,XUn=Fe((_C(),A(M(Arn,1),z,424,0,[$R,tS])))}function WAn(){WAn=N,RWn=Fe((B3(),A(M(BWn,1),z,511,0,[_k,UR])))}function XAn(){XAn=N,aXn=Fe((V8(),A(M(Wcn,1),z,419,0,[$S,Ucn])))}function VAn(){VAn=N,gXn=Fe((K8(),A(M(Qcn,1),z,479,0,[Vcn,xS])))}function QAn(){QAn=N,VQn=Fe((x8(),A(M(ron,1),z,376,0,[uK,iy])))}function JAn(){JAn=N,zQn=Fe((z8(),A(M(non,1),z,421,0,[iK,rK])))}function YAn(){YAn=N,oXn=Fe((OC(),A(M(Rcn,1),z,422,0,[Bcn,s_])))}function ZAn(){ZAn=N,EXn=Fe((kC(),A(M(fun,1),z,420,0,[j_,oun])))}function nSn(){nSn=N,_Jn=Fe((No(),A(M(RJn,1),z,520,0,[tw,Bl])))}function eSn(){eSn=N,gJn=Fe((z5(),A(M(wJn,1),z,523,0,[Hm,Km])))}function tSn(){tSn=N,EJn=Fe((Ff(),A(M(jJn,1),z,516,0,[M0,I1])))}function iSn(){iSn=N,TJn=Fe((ef(),A(M(CJn,1),z,515,0,[Ja,kf])))}function rSn(){rSn=N,WJn=Fe((Id(),A(M(UJn,1),z,455,0,[Rl,Lg])))}function cSn(){cSn=N,lYn=Fe((gC(),A(M(Son,1),z,425,0,[yK,Aon])))}function uSn(){uSn=N,gYn=Fe((iT(),A(M(Pon,1),z,495,0,[EP,mv])))}function sSn(){sSn=N,hYn=Fe((aC(),A(M(Mon,1),z,480,0,[kK,Ton])))}function oSn(){oSn=N,mYn=Fe(($C(),A(M(Oon,1),z,426,0,[Ion,TK])))}function fSn(){fSn=N,MZn=Fe((c7(),A(M(Ffn,1),z,429,0,[DP,$fn])))}function hSn(){hSn=N,oZn=Fe((L8(),A(M(afn,1),z,430,0,[FK,IP])))}function z5(){z5=N,Hm=new ZG("UPPER",0),Km=new ZG("LOWER",1)}function Yae(n,e){var t;t=new r2,la(t,"x",e.a),la(t,"y",e.b),j2(n,t)}function Zae(n,e){var t;t=new r2,la(t,"x",e.a),la(t,"y",e.b),j2(n,t)}function nde(n,e){var t,i;i=!1;do t=YOn(n,e),i=i|t;while(t);return i}function jX(n,e){var t,i;for(t=e,i=0;t>0;)i+=n.a[t],t-=t&-t;return i}function lSn(n,e){var t;for(t=e;t;)U0(n,-t.i,-t.j),t=At(t);return n}function $i(n,e){var t,i;for(_n(e),i=n.Kc();i.Ob();)t=i.Pb(),e.td(t)}function aSn(n,e){var t;return t=e.cd(),new bd(t,n.e.pc(t,u(e.dd(),14)))}function Kt(n,e,t,i){var r;r=new aI,r.c=e,r.b=t,r.a=i,i.b=t.a=r,++n.b}function Es(n,e,t){var i;return i=(Ln(e,n.c.length),n.c[e]),n.c[e]=t,i}function ede(n,e,t){return u(e==null?_c(n.f,null,t):Gd(n.g,e,t),281)}function k$(n){return n.c&&n.d?cX(n.c)+"->"+cX(n.d):"e_"+md(n)}function C3(n,e){return(Ta(n),Wv(new $n(n,new UX(e,n.a)))).sd(V4)}function tde(){return Qi(),A(M(Hrn,1),z,356,0,[Vf,$l,Hc,Cc,Ir])}function ide(){return J(),A(M(Zi,1),hc,61,0,[Xr,Kn,Vn,ae,Gn])}function rde(n){return gj(),function(){return wae(n,this,arguments)}}function cde(){return Date.now?Date.now():new Date().getTime()}function Xi(n){return!n.c||!n.d?!1:!!n.c.i&&n.c.i==n.d.i}function dSn(n){if(!n.c.Sb())throw T(new ic);return n.a=!0,n.c.Ub()}function $8(n){n.i=0,z9(n.b,null),z9(n.c,null),n.a=null,n.e=null,++n.g}function EX(n){are.call(this,n==null?iu:Lr(n),I(n,78)?u(n,78):null)}function bSn(n){R_n(),Bmn(this),this.a=new Ct,QV(this,n),Ke(this.a,n)}function wSn(){RO(this),this.b=new fn($t,$t),this.a=new fn(Vt,Vt)}function gSn(n,e){this.c=0,this.b=e,Gkn.call(this,n,17493),this.a=this.c}function y$(n){CC(),!pf&&(this.c=n,this.e=!0,this.a=new X)}function CC(){CC=N,pf=!0,xzn=!1,Lzn=!1,Bzn=!1,Nzn=!1}function CX(n,e){return I(e,149)?An(n.c,u(e,149).c):!1}function TX(n,e){var t;return t=0,n&&(t+=n.f.a/2),e&&(t+=e.f.a/2),t}function j$(n,e){var t;return t=u(xd(n.d,e),23),t||u(xd(n.e,e),23)}function pSn(n){this.b=n,ie.call(this,n),this.a=u(Rn(this.b.a,4),126)}function vSn(n){this.b=n,w2.call(this,n),this.a=u(Rn(this.b.a,4),126)}function Iu(n){return n.t||(n.t=new Smn(n),s6(new K9n(n),0,n.t)),n.t}function ude(){return sr(),A(M(e9,1),z,103,0,[mh,Ao,Zs,Jh,Yh])}function sde(){return qw(),A(M(c9,1),z,249,0,[Hl,Cy,Hhn,r9,qhn])}function ode(){return Ho(),A(M($1,1),z,175,0,[Xn,pi,Yf,Ya,D1])}function fde(){return P7(),A(M(gfn,1),z,316,0,[dfn,xK,wfn,LK,bfn])}function hde(){return b6(),A(M(Usn,1),z,315,0,[zsn,nK,eK,Lm,Nm])}function lde(){return Pa(),A(M(zcn,1),z,335,0,[f_,Gcn,h_,Em,jm])}function ade(){return g4(),A(M(tZn,1),z,355,0,[Ng,Ep,Qm,Vm,Jm])}function dde(){return Vw(),A(M(ZWn,1),z,363,0,[SS,IS,OS,PS,AS])}function bde(){return Ss(),A(M(jun,1),z,163,0,[Qk,Sm,xl,Pm,Ub])}function T3(){T3=N;var n,e;cI=(Qp(),e=new fj,e),uI=(n=new BI,n)}function mSn(n){var e;return n.c||(e=n.r,I(e,88)&&(n.c=u(e,26))),n.c}function wde(n){return n.e=3,n.d=n.Yb(),n.e!=2?(n.e=0,!0):!1}function E$(n){var e,t,i;return e=n&Lu,t=n>>22&Lu,i=n<0?Wh:0,Bc(e,t,i)}function gde(n){var e,t,i,r;for(t=n,i=0,r=t.length;i0?p$n(n,e):RNn(n,-e)}function MX(n,e){return e==0||n.e==0?n:e>0?RNn(n,e):p$n(n,-e)}function ve(n){if(Se(n))return n.c=n.a,n.a.Pb();throw T(new ic)}function ySn(n){var e,t;return e=n.c.i,t=n.d.i,e.k==(Qn(),Xt)&&t.k==Xt}function C$(n){var e;return e=new Pd,Sr(e,n),H(e,(nn(),Tr),null),e}function T$(n,e,t){var i;return i=n.Yg(e),i>=0?n._g(i,t,!0):Yd(n,e,t)}function AX(n,e,t,i){var r;for(r=0;re)throw T(new vr(fY(n,e,"index")));return n}function M$(n,e,t,i){var r;return r=F(be,Le,25,e,15,1),Pve(r,n,e,t,i),r}function vde(n,e){var t;t=n.q.getHours()+(e/60|0),n.q.setMinutes(e),S6(n,t)}function mde(n,e){return j.Math.min(al(e.a,n.d.d.c),al(e.b,n.d.d.c))}function O2(n,e){return mi(e)?e==null?MY(n.f,null):FOn(n.g,e):MY(n.f,e)}function uf(n){this.c=n,this.a=new E(this.c.a),this.b=new E(this.c.b)}function TC(){this.e=new X,this.c=new X,this.d=new X,this.b=new X}function MSn(){this.g=new zq,this.b=new zq,this.a=new X,this.k=new X}function ASn(n,e,t){this.a=n,this.c=e,this.d=t,W(e.e,this),W(t.b,this)}function SSn(n,e){qkn.call(this,e.rd(),e.qd()&-6),_n(n),this.a=n,this.b=e}function PSn(n,e){Gkn.call(this,e.rd(),e.qd()&-6),_n(n),this.a=n,this.b=e}function FX(n,e){FO.call(this,e.rd(),e.qd()&-6),_n(n),this.a=n,this.b=e}function MC(n,e,t){this.a=n,this.b=e,this.c=t,W(n.t,this),W(e.i,this)}function AC(){this.b=new Ct,this.a=new Ct,this.b=new Ct,this.a=new Ct}function SC(){SC=N,Ym=new kt("org.eclipse.elk.labels.labelManager")}function ISn(){ISn=N,$cn=new ii("separateLayerConnections",(aT(),QR))}function No(){No=N,tw=new tz("REGULAR",0),Bl=new tz("CRITICAL",1)}function x8(){x8=N,uK=new YG("STACKED",0),iy=new YG("SEQUENCED",1)}function L8(){L8=N,FK=new oz("FIXED",0),IP=new oz("CENTER_NODE",1)}function kde(n,e){var t;return t=CEe(n,e),n.b=new tT(t.c.length),Lje(n,t)}function yde(n,e,t){var i;return++n.e,--n.f,i=u(n.d[e].$c(t),133),i.dd()}function OSn(n){var e;return n.a||(e=n.r,I(e,148)&&(n.a=u(e,148))),n.a}function xX(n){if(n.a){if(n.e)return xX(n.e)}else return n;return null}function jde(n,e){return n.pe.p?-1:0}function PC(n,e){return _n(e),n.c=0,"Initial capacity must not be negative")}function FSn(){FSn=N,Qzn=Fe((_o(),A(M(_b,1),z,232,0,[Zr,Fc,nc])))}function xSn(){xSn=N,Yzn=Fe((Cu(),A(M(Jzn,1),z,461,0,[Xf,Ol,Co])))}function LSn(){LSn=N,nUn=Fe((Jc(),A(M(Zzn,1),z,462,0,[Wo,Dl,To])))}function NSn(){NSn=N,Rzn=Fe((hf(),A(M(Nu,1),z,132,0,[Win,hs,Rb])))}function BSn(){BSn=N,wWn=Fe((W5(),A(M(Krn,1),z,379,0,[NR,LR,BR])))}function RSn(){RSn=N,IWn=Fe((qd(),A(M(zrn,1),z,423,0,[yg,Grn,qR])))}function _Sn(){_Sn=N,fXn=Fe((F2(),A(M(Kcn,1),z,314,0,[ap,qk,_cn])))}function KSn(){KSn=N,hXn=Fe((VC(),A(M(qcn,1),z,337,0,[Hcn,DS,o_])))}function HSn(){HSn=N,bXn=Fe((ya(),A(M(dXn,1),z,450,0,[l_,cv,Tg])))}function qSn(){qSn=N,cXn=Fe((Kd(),A(M(YR,1),z,361,0,[g0,Fl,w0])))}function GSn(){GSn=N,jXn=Fe((Nh(),A(M(yXn,1),z,303,0,[zk,Ag,dp])))}function zSn(){zSn=N,kXn=Fe((q3(),A(M(y_,1),z,292,0,[m_,k_,Gk])))}function USn(){USn=N,_Qn=Fe((i6(),A(M(Gsn,1),z,378,0,[J_,qsn,oP])))}function WSn(){WSn=N,XQn=Fe((oT(),A(M(ion,1),z,375,0,[eon,cK,ton])))}function XSn(){XSn=N,GQn=Fe((Rh(),A(M(Zsn,1),z,339,0,[Nl,Ysn,tK])))}function VSn(){VSn=N,WQn=Fe((ur(),A(M(UQn,1),z,452,0,[Bm,Au,xc])))}function QSn(){QSn=N,YQn=Fe((dT(),A(M(hon,1),z,377,0,[fK,pv,ew])))}function JSn(){JSn=N,QQn=Fe((Q3(),A(M(uon,1),z,336,0,[sK,con,Rm])))}function YSn(){YSn=N,JQn=Fe((uT(),A(M(fon,1),z,338,0,[oon,oK,son])))}function ZSn(){ZSn=N,lJn=Fe((_d(),A(M(hJn,1),z,454,0,[ry,_m,aP])))}function nPn(){nPn=N,vYn=Fe((CT(),A(M(pYn,1),z,442,0,[CK,jK,EK])))}function ePn(){ePn=N,kYn=Fe((f7(),A(M(Fon,1),z,380,0,[CP,Don,$on])))}function tPn(){tPn=N,NYn=Fe((ET(),A(M(Yon,1),z,381,0,[Jon,IK,Qon])))}function iPn(){iPn=N,LYn=Fe((sT(),A(M(Xon,1),z,293,0,[PK,Won,Uon])))}function rPn(){rPn=N,rZn=Fe((w7(),A(M(OK,1),z,437,0,[AP,SP,PP])))}function cPn(){cPn=N,sne=Fe((_h(),A(M(Khn,1),z,334,0,[HP,F1,i9])))}function uPn(){uPn=N,ine=Fe((sf(),A(M(Phn,1),z,272,0,[jv,cw,Ev])))}function Pde(){return Ti(),A(M(Ghn,1),z,98,0,[ql,jf,Tv,td,jh,Ac])}function wa(n,e){return!n.o&&(n.o=new Wu((Dc(),Ul),S0,n,0)),NF(n.o,e)}function Ide(n){return!n.g&&(n.g=new Qy),!n.g.d&&(n.g.d=new Tmn(n)),n.g.d}function Ode(n){return!n.g&&(n.g=new Qy),!n.g.a&&(n.g.a=new Mmn(n)),n.g.a}function Dde(n){return!n.g&&(n.g=new Qy),!n.g.b&&(n.g.b=new Cmn(n)),n.g.b}function N8(n){return!n.g&&(n.g=new Qy),!n.g.c&&(n.g.c=new Amn(n)),n.g.c}function $de(n,e,t){var i,r;for(r=new H3(e,n),i=0;it||e=0?n._g(t,!0,!0):Yd(n,e,!0)}function Qde(n,e){return Zt(K(Y(k(n,(G(),k0)))),K(Y(k(e,k0))))}function dPn(){dPn=N,dYn=Xd(Xd(Dj(new hi,(c4(),qm)),(k6(),pP)),aK)}function Jde(n,e,t){var i;return i=iDn(n,e,t),n.b=new tT(i.c.length),JY(n,i)}function Yde(n){if(n.b<=0)throw T(new ic);return--n.b,n.a-=n.c.c,Q(n.a)}function Zde(n){var e;if(!n.a)throw T(new pTn);return e=n.a,n.a=At(n.a),e}function n0e(n){for(;!n.a;)if(!eEn(n.c,new Vvn(n)))return!1;return!0}function $2(n){var e;return pe(n),I(n,198)?(e=u(n,198),e):new bvn(n)}function e0e(n){DC(),u(n.We((Xe(),rw)),174).Fc((Tu(),Ty)),n.Ye(eH,null)}function DC(){DC=N,PZn=new e2n,OZn=new t2n,IZn=Rwe((Xe(),eH),PZn,_l,OZn)}function $C(){$C=N,Ion=new sz("LEAF_NUMBER",0),TK=new sz("NODE_SIZE",1)}function t0e(n,e,t){n.a=e,n.c=t,n.b.a.$b(),_s(n.d),n.e.a.c=F(Zn,rn,1,0,5,1)}function $$(n){n.a=F(be,Le,25,n.b+1,15,1),n.c=F(be,Le,25,n.b,15,1),n.d=0}function i0e(n,e){n.a.ue(e.d,n.b)>0&&(W(n.c,new QU(e.c,e.d,n.d)),n.b=e.d)}function zX(n,e){if(n.g==null||e>=n.i)throw T(new xO(e,n.i));return n.g[e]}function bPn(n,e,t){if(W3(n,t),t!=null&&!n.wj(t))throw T(new xI);return t}function wPn(n){var e;if(n.Ek())for(e=n.i-1;e>=0;--e)D(n,e);return gX(n)}function r0e(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[0];)t=e;return t}function c0e(n,e){var t,i;return NAn(e),t=(i=n.slice(0,e),WX(i,n)),t.length=e,t}function S3(n,e,t,i){var r;i=(Ow(),i||Lin),r=n.slice(e,t),hY(r,n,e,t,-e,i)}function Cs(n,e,t,i,r){return e<0?Yd(n,t,i):u(t,66).Nj().Pj(n,n.yh(),e,i,r)}function u0e(n){return I(n,172)?""+u(n,172).a:n==null?null:Lr(n)}function s0e(n){return I(n,172)?""+u(n,172).a:n==null?null:Lr(n)}function gPn(n,e){if(e.a)throw T(new _r(gKn));ri(n.a,e),e.a=n,!n.j&&(n.j=e)}function UX(n,e){FO.call(this,e.rd(),e.qd()&-16449),_n(n),this.a=n,this.c=e}function pPn(n,e){var t,i;return i=e/n.c.Hd().gc()|0,t=e%n.c.Hd().gc(),D2(n,i,t)}function Cu(){Cu=N,Xf=new oO(Y2,0),Ol=new oO(I4,1),Co=new oO(Z2,2)}function FC(){FC=N,vR=new Lj("All",0),qin=new ayn,Gin=new Cyn,zin=new dyn}function vPn(){vPn=N,$zn=Fe((FC(),A(M(WA,1),z,297,0,[vR,qin,Gin,zin])))}function mPn(){mPn=N,CWn=Fe((G3(),A(M(EWn,1),z,405,0,[b0,Hb,Kb,kg])))}function kPn(){kPn=N,TUn=Fe((Hd(),A(M(CUn,1),z,406,0,[Ok,Ik,MR,AR])))}function yPn(){yPn=N,AUn=Fe((K2(),A(M(MUn,1),z,323,0,[$k,Dk,Fk,xk])))}function jPn(){jPn=N,IUn=Fe((d6(),A(M(PUn,1),z,394,0,[Lk,YA,ZA,Nk])))}function EPn(){EPn=N,XJn=Fe((c4(),A(M(won,1),z,393,0,[gP,qm,uy,Gm])))}function CPn(){CPn=N,qWn=Fe((aT(),A(M(HWn,1),z,360,0,[QR,TS,MS,Hk])))}function TPn(){TPn=N,xYn=Fe((qT(),A(M(zon,1),z,340,0,[SK,qon,Gon,Hon])))}function MPn(){MPn=N,YWn=Fe((ff(),A(M(JWn,1),z,411,0,[lp,nv,ev,JR])))}function APn(){APn=N,KQn=Fe((wb(),A(M(Z_,1),z,197,0,[fP,Y_,xg,Fg])))}function SPn(){SPn=N,Cne=Fe((Xu(),A(M(Ene,1),z,396,0,[ws,Yhn,Jhn,Zhn])))}function PPn(){PPn=N,fne=Fe((cs(),A(M(one,1),z,285,0,[Ey,kh,Kl,jy])))}function IPn(){IPn=N,rne=Fe((Hh(),A(M(cH,1),z,218,0,[rH,yy,Cv,Sp])))}function OPn(){OPn=N,yne=Fe((AT(),A(M(Qhn,1),z,311,0,[oH,Whn,Vhn,Xhn])))}function DPn(){DPn=N,mne=Fe((Vu(),A(M(o9,1),z,374,0,[Ay,id,My,uw])))}function $Pn(){$Pn=N,mM(),F1n=$t,Mee=Vt,x1n=new S9($t),Aee=new S9(Vt)}function K8(){K8=N,Vcn=new VG(Xh,0),xS=new VG("IMPROVE_STRAIGHTNESS",1)}function o0e(n,e){return h3(),W(n,new Pi(e,Q(e.e.c.length+e.g.c.length)))}function f0e(n,e){return h3(),W(n,new Pi(e,Q(e.e.c.length+e.g.c.length)))}function WX(n,e){return U8(e)!=10&&A(Du(e),e.hm,e.__elementTypeId$,U8(e),n),n}function Qc(n,e){var t;return t=Fr(n,e,0),t==-1?!1:(h1(n,t),!0)}function FPn(n,e){var t;return t=u(O2(n.e,e),387),t?(ZU(t),t.e):null}function P3(n){var e;return $r(n)&&(e=0-n,!isNaN(e))?e:bl(z3(n))}function Fr(n,e,t){for(;t=0?BT(n,t,!0,!0):Yd(n,e,!0)}function YX(n,e){Qv();var t,i;return t=S2(n),i=S2(e),!!t&&!!i&&!Q$n(t.k,i.k)}function a0e(n,e){Zc(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function d0e(n,e){nu(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function b0e(n,e){Rd(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function w0e(n,e){Bd(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function RPn(n){(this.q?this.q:(Pn(),Pn(),ph)).Ac(n.q?n.q:(Pn(),Pn(),ph))}function g0e(n,e){return I(e,99)&&u(e,18).Bb&Yi?new LO(e,n):new H3(e,n)}function p0e(n,e){return I(e,99)&&u(e,18).Bb&Yi?new LO(e,n):new H3(e,n)}function _Pn(n,e){vrn=new Wy,SUn=e,gm=n,u(gm.b,65),BX(gm,vrn,null),$Rn(gm)}function B$(n,e,t){var i;return i=n.g[e],k5(n,e,n.oi(e,t)),n.gi(e,t,i),n.ci(),i}function BC(n,e){var t;return t=n.Xc(e),t>=0?(n.$c(t),!0):!1}function R$(n){var e;return n.d!=n.r&&(e=qs(n),n.e=!!e&&e.Cj()==yGn,n.d=e),n.e}function _$(n,e){var t;for(pe(n),pe(e),t=!1;e.Ob();)t=t|n.Fc(e.Pb());return t}function xd(n,e){var t;return t=u(te(n.e,e),387),t?(Dyn(n,t),t.e):null}function KPn(n){var e,t;return e=n/60|0,t=n%60,t==0?""+e:""+e+":"+(""+t)}function qr(n,e){var t,i;return Ta(n),i=new FX(e,n.a),t=new rEn(i),new $n(n,t)}function ub(n,e){var t=n.a[e],i=(cF(),dR)[typeof t];return i?i(t):tQ(typeof t)}function v0e(n){switch(n.g){case 0:return nt;case 1:return-1;default:return 0}}function m0e(n){return mJ(n,(I3(),pin))<0?-xce(z3(n)):n.l+n.m*J2+n.h*$a}function U8(n){return n.__elementTypeCategory$==null?10:n.__elementTypeCategory$}function K$(n){var e;return e=n.b.c.length==0?null:un(n.b,0),e!=null&&J$(n,0),e}function HPn(n,e){for(;e[0]0&&arguments[0]!==void 0?arguments[0]:{},Ki=Ge.defaultLayoutOptions,Si=Ki===void 0?{}:Ki,Mn=Ge.algorithms,Lc=Mn===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:Mn,Nc=Ge.workerFactory,ps=Ge.workerUrl;if(j(this,Bt),this.defaultLayoutOptions=Si,this.initialized=!1,typeof ps>"u"&&typeof Nc>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Rr=Nc;typeof ps<"u"&&typeof Nc>"u"&&(Rr=function(q1){return new Worker(q1)});var Ch=Rr(ps);if(typeof Ch.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new ou(Ch),this.worker.postMessage({cmd:"register",algorithms:Lc}).then(function(H1){return qt.initialized=!0}).catch(console.err)}return Ai(Bt,[{key:"layout",value:function(Ge){var Ki=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Si=Ki.layoutOptions,Mn=Si===void 0?this.defaultLayoutOptions:Si,Lc=Ki.logging,Nc=Lc===void 0?!1:Lc,ps=Ki.measureExecutionTime,Rr=ps===void 0?!1:ps;return Ge?this.worker.postMessage({cmd:"layout",graph:Ge,layoutOptions:Mn,options:{logging:Nc,measureExecutionTime:Rr}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),Bt}();Nt.default=Ht;var ou=function(){function Bt(qt){var Ge=this;if(j(this,Bt),qt===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=qt,this.worker.onmessage=function(Ki){setTimeout(function(){Ge.receive(Ge,Ki)},0)}}return Ai(Bt,[{key:"postMessage",value:function(Ge){var Ki=this.id||0;this.id=Ki+1,Ge.id=Ki;var Si=this;return new Promise(function(Mn,Lc){Si.resolvers[Ki]=function(Nc,ps){Nc?(Si.convertGwtStyleError(Nc),Lc(Nc)):Mn(ps)},Si.worker.postMessage(Ge)})}},{key:"receive",value:function(Ge,Ki){var Si=Ki.data,Mn=Ge.resolvers[Si.id];Mn&&(delete Ge.resolvers[Si.id],Si.error?Mn(Si.error):Mn(null,Si.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(Ge){if(Ge){var Ki=Ge.__java$exception;Ki&&(Ki.cause&&Ki.cause.backingJsObject&&(Ge.cause=Ki.cause.backingJsObject,this.convertGwtStyleError(Ge.cause)),delete Ge.__java$exception)}}}]),Bt}()},{}],2:[function(ft,dt,Nt){(function(Ai){(function(){var j;typeof window<"u"?j=window:typeof Ai<"u"?j=Ai:typeof self<"u"&&(j=self);var Ht;function ou(){}function Bt(){}function qt(){}function Ge(){}function Ki(){}function Si(){}function Mn(){}function Lc(){}function Nc(){}function ps(){}function Rr(){}function Ch(){}function H1(){}function q1(){}function ww(){}function Np(){}function G1(){}function Th(){}function J1n(){}function Y1n(){}function zy(){}function Z1n(){}function nln(){}function eln(){}function tln(){}function Xg(){}function N(){}function iln(){}function aI(){}function rln(){}function cln(){}function uln(){}function sln(){}function DH(){}function oln(){}function fln(){}function hln(){}function z1(){}function U1(){}function dI(){}function lln(){}function aln(){}function dln(){}function $H(){}function bln(){}function wln(){}function Vg(){}function Qg(){}function gln(){}function pln(){}function vln(){}function mln(){}function FH(){}function W1(){}function Jg(){}function Yg(){}function kln(){}function Vee(){}function bI(){}function yln(){}function jln(){}function Eln(){}function Cln(){}function Tln(){}function Mln(){}function Aln(){}function Sln(){}function Pln(){}function Iln(){}function Oln(){}function Dln(){}function $ln(){}function Fln(){}function xln(){}function Lln(){}function Nln(){}function Bln(){}function Rln(){}function _ln(){}function Kln(){}function Hln(){}function qln(){}function Gln(){}function zln(){}function Uln(){}function Wln(){}function Xln(){}function Vln(){}function Qln(){}function Jln(){}function Yln(){}function Zln(){}function xH(){}function nan(){}function ean(){}function tan(){}function ian(){}function wI(){}function gI(){}function Uy(){}function ran(){}function can(){}function pI(){}function uan(){}function san(){}function oan(){}function Wy(){}function fan(){}function han(){}function lan(){}function aan(){}function dan(){}function ban(){}function wan(){}function gan(){}function pan(){}function LH(){}function van(){}function man(){}function kan(){}function yan(){}function jan(){}function NH(){}function Ean(){}function Can(){}function Tan(){}function Man(){}function Aan(){}function San(){}function Pan(){}function Ian(){}function Oan(){}function Dan(){}function $an(){}function Fan(){}function xan(){}function Lan(){}function vI(){}function Nan(){}function Ban(){}function Ran(){}function _an(){}function Kan(){}function BH(){}function Han(){}function qan(){}function Gan(){}function zan(){}function Uan(){}function Wan(){}function Xan(){}function Van(){}function Qan(){}function Jan(){}function Yan(){}function Zan(){}function ndn(){}function edn(){}function tdn(){}function idn(){}function rdn(){}function cdn(){}function udn(){}function sdn(){}function odn(){}function fdn(){}function hdn(){}function ldn(){}function adn(){}function ddn(){}function bdn(){}function wdn(){}function gdn(){}function pdn(){}function vdn(){}function mdn(){}function kdn(){}function ydn(){}function jdn(){}function Edn(){}function Cdn(){}function Tdn(){}function Mdn(){}function Adn(){}function Sdn(){}function Pdn(){}function Idn(){}function Odn(){}function Ddn(){}function $dn(){}function Fdn(){}function xdn(){}function Ldn(){}function Ndn(){}function Bdn(){}function Rdn(){}function _dn(){}function Kdn(){}function Hdn(){}function qdn(){}function Gdn(){}function zdn(){}function Udn(){}function Wdn(){}function Xdn(){}function Vdn(){}function Qdn(){}function Jdn(){}function Ydn(){}function Zdn(){}function n0n(){}function e0n(){}function t0n(){}function i0n(){}function r0n(){}function c0n(){}function u0n(){}function s0n(){}function o0n(){}function f0n(){}function h0n(){}function l0n(){}function a0n(){}function d0n(){}function b0n(){}function w0n(){}function g0n(){}function p0n(){}function v0n(){}function m0n(){}function k0n(){}function y0n(){}function j0n(){}function E0n(){}function C0n(){}function T0n(){}function M0n(){}function A0n(){}function S0n(){}function P0n(){}function I0n(){}function O0n(){}function D0n(){}function $0n(){}function RH(){}function F0n(){}function x0n(){}function L0n(){}function N0n(){}function B0n(){}function R0n(){}function _0n(){}function K0n(){}function H0n(){}function q0n(){}function G0n(){}function z0n(){}function U0n(){}function W0n(){}function X0n(){}function V0n(){}function Q0n(){}function J0n(){}function Y0n(){}function Z0n(){}function nbn(){}function ebn(){}function tbn(){}function ibn(){}function rbn(){}function cbn(){}function ubn(){}function sbn(){}function obn(){}function fbn(){}function hbn(){}function lbn(){}function abn(){}function dbn(){}function bbn(){}function wbn(){}function gbn(){}function pbn(){}function vbn(){}function mbn(){}function kbn(){}function ybn(){}function jbn(){}function Ebn(){}function Cbn(){}function Tbn(){}function Mbn(){}function Abn(){}function Sbn(){}function Pbn(){}function Ibn(){}function Obn(){}function Dbn(){}function $bn(){}function Fbn(){}function xbn(){}function Lbn(){}function Nbn(){}function Bbn(){}function Rbn(){}function _bn(){}function Kbn(){}function Hbn(){}function qbn(){}function Gbn(){}function zbn(){}function Ubn(){}function _H(){}function Wbn(){}function Xbn(){}function Vbn(){}function Qbn(){}function Jbn(){}function Ybn(){}function Zbn(){}function nwn(){}function ewn(){}function twn(){}function iwn(){}function rwn(){}function cwn(){}function uwn(){}function swn(){}function own(){}function fwn(){}function hwn(){}function lwn(){}function awn(){}function KH(){}function dwn(){}function bwn(){}function wwn(){}function gwn(){}function pwn(){}function vwn(){}function HH(){}function qH(){}function mwn(){}function GH(){}function zH(){}function kwn(){}function ywn(){}function jwn(){}function Ewn(){}function Cwn(){}function Twn(){}function Mwn(){}function Awn(){}function Swn(){}function UH(){}function Pwn(){}function Iwn(){}function Own(){}function Dwn(){}function $wn(){}function Fwn(){}function xwn(){}function Lwn(){}function Nwn(){}function Bwn(){}function Rwn(){}function _wn(){}function Kwn(){}function Hwn(){}function qwn(){}function Gwn(){}function zwn(){}function Uwn(){}function Wwn(){}function Xwn(){}function Vwn(){}function Qwn(){}function Jwn(){}function Ywn(){}function Zwn(){}function ngn(){}function egn(){}function tgn(){}function ign(){}function rgn(){}function cgn(){}function ugn(){}function sgn(){}function ogn(){}function fgn(){}function hgn(){}function lgn(){}function agn(){}function dgn(){}function bgn(){}function wgn(){}function ggn(){}function pgn(){}function vgn(){}function mgn(){}function kgn(){}function ygn(){}function jgn(){}function Egn(){}function Cgn(){}function Tgn(){}function Mgn(){}function Agn(){}function Sgn(){}function Pgn(){}function Ign(){}function Ogn(){}function Dgn(){}function $gn(){}function Fgn(){}function xgn(){}function Lgn(){}function Ngn(){}function Bgn(){}function Rgn(){}function _gn(){}function Kgn(){}function Hgn(){}function mI(){}function kI(){}function yI(){}function qgn(){}function Ggn(){}function zgn(){}function Ugn(){}function Wgn(){}function WH(){}function Xgn(){}function Vgn(){}function Qee(){}function Qgn(){}function Jgn(){}function Ygn(){}function Zgn(){}function n2n(){}function e2n(){}function t2n(){}function Zl(){}function i2n(){}function Zg(){}function XH(){}function r2n(){}function c2n(){}function u2n(){}function s2n(){}function o2n(){}function f2n(){}function h2n(){}function l2n(){}function a2n(){}function d2n(){}function b2n(){}function w2n(){}function g2n(){}function p2n(){}function v2n(){}function m2n(){}function k2n(){}function y2n(){}function j2n(){}function E2n(){}function C2n(){}function dn(){}function T2n(){}function M2n(){}function A2n(){}function S2n(){}function P2n(){}function I2n(){}function O2n(){}function D2n(){}function $2n(){}function F2n(){}function jI(){}function x2n(){}function L2n(){}function N2n(){}function B2n(){}function R2n(){}function VH(){}function Xy(){}function Vy(){}function _2n(){}function QH(){}function Qy(){}function K2n(){}function H2n(){}function q2n(){}function G2n(){}function z2n(){}function U2n(){}function Jy(){}function W2n(){}function X2n(){}function V2n(){}function Yy(){}function Q2n(){}function JH(){}function J2n(){}function EI(){}function YH(){}function Y2n(){}function Z2n(){}function npn(){}function epn(){}function Jee(){}function tpn(){}function ipn(){}function rpn(){}function cpn(){}function upn(){}function spn(){}function opn(){}function fpn(){}function hpn(){}function lpn(){}function Bp(){}function CI(){}function apn(){}function dpn(){}function bpn(){}function wpn(){}function gpn(){}function ppn(){}function vpn(){}function mpn(){}function kpn(){}function ypn(){}function jpn(){}function Epn(){}function Cpn(){}function Tpn(){}function Mpn(){}function Apn(){}function Spn(){}function Ppn(){}function Ipn(){}function Opn(){}function Dpn(){}function $pn(){}function Fpn(){}function xpn(){}function Lpn(){}function Npn(){}function Bpn(){}function Rpn(){}function _pn(){}function Kpn(){}function Hpn(){}function qpn(){}function Gpn(){}function zpn(){}function Upn(){}function Wpn(){}function Xpn(){}function Vpn(){}function Qpn(){}function Jpn(){}function Ypn(){}function Zpn(){}function n3n(){}function e3n(){}function t3n(){}function i3n(){}function r3n(){}function c3n(){}function u3n(){}function s3n(){}function o3n(){}function f3n(){}function h3n(){}function l3n(){}function a3n(){}function d3n(){}function b3n(){}function w3n(){}function g3n(){}function p3n(){}function v3n(){}function m3n(){}function k3n(){}function y3n(){}function j3n(){}function E3n(){}function C3n(){}function T3n(){}function M3n(){}function A3n(){}function S3n(){}function P3n(){}function I3n(){}function O3n(){}function D3n(){}function $3n(){}function F3n(){}function x3n(){}function L3n(){}function N3n(){}function B3n(){}function R3n(){}function _3n(){}function K3n(){}function H3n(){}function q3n(){}function G3n(){}function z3n(){}function U3n(){}function W3n(){}function X3n(){}function V3n(){}function Q3n(){}function J3n(){}function Y3n(){}function Z3n(){}function n4n(){}function e4n(){}function t4n(){}function i4n(){}function r4n(){}function ZH(){}function c4n(){}function u4n(){}function TI(){Rv()}function s4n(){pF()}function o4n(){a6()}function f4n(){WT()}function h4n(){YJ()}function l4n(){Go()}function a4n(){fJ()}function d4n(){C7()}function b4n(){q9()}function w4n(){H9()}function g4n(){w8()}function p4n(){m7n()}function v4n(){x2()}function m4n(){Sj()}function k4n(){ISn()}function y4n(){qIn()}function j4n(){oPn()}function E4n(){TMn()}function C4n(){V3()}function T4n(){yl()}function M4n(){GIn()}function A4n(){vAn()}function S4n(){zZ()}function P4n(){OFn()}function I4n(){MMn()}function O4n(){nn()}function D4n(){CMn()}function $4n(){zIn()}function F4n(){XOn()}function x4n(){SMn()}function L4n(){dPn()}function N4n(){k7n()}function B4n(){$Y()}function R4n(){gb()}function _4n(){vOn()}function K4n(){S7()}function H4n(){Ux()}function q4n(){ZF()}function G4n(){Zd()}function z4n(){PV()}function U4n(){AMn()}function W4n(){RBn()}function X4n(){IY()}function V4n(){Bx()}function Q4n(){DC()}function J4n(){nM()}function nq(){Xe()}function Y4n(){wT()}function Z4n(){NQ()}function eq(){mM()}function Fo(){bEn()}function tq(){eF()}function nvn(){pZ()}function iq(n){_n(n)}function evn(n){this.a=n}function Zy(n){this.a=n}function tvn(n){this.a=n}function ivn(n){this.a=n}function rvn(n){this.a=n}function cvn(n){this.a=n}function uvn(n){this.a=n}function svn(n){this.a=n}function rq(n){this.a=n}function cq(n){this.a=n}function ovn(n){this.a=n}function MI(n){this.a=n}function fvn(n){this.a=n}function AI(n){this.a=n}function hvn(n){this.a=n}function SI(n){this.a=n}function lvn(n){this.a=n}function PI(n){this.a=n}function avn(n){this.a=n}function dvn(n){this.a=n}function bvn(n){this.a=n}function uq(n){this.b=n}function wvn(n){this.c=n}function gvn(n){this.a=n}function pvn(n){this.a=n}function vvn(n){this.a=n}function mvn(n){this.a=n}function kvn(n){this.a=n}function yvn(n){this.a=n}function jvn(n){this.a=n}function Evn(n){this.a=n}function Cvn(n){this.a=n}function Tvn(n){this.a=n}function Mvn(n){this.a=n}function Avn(n){this.a=n}function Svn(n){this.a=n}function sq(n){this.a=n}function oq(n){this.a=n}function nj(n){this.a=n}function M9(n){this.a=n}function na(){this.a=[]}function Pvn(n,e){n.a=e}function Yee(n,e){n.a=e}function Zee(n,e){n.b=e}function nte(n,e){n.b=e}function ete(n,e){n.b=e}function fq(n,e){n.j=e}function tte(n,e){n.g=e}function ite(n,e){n.i=e}function rte(n,e){n.c=e}function cte(n,e){n.d=e}function ute(n,e){n.d=e}function ste(n,e){n.c=e}function ea(n,e){n.k=e}function ote(n,e){n.c=e}function hq(n,e){n.c=e}function lq(n,e){n.a=e}function fte(n,e){n.a=e}function hte(n,e){n.f=e}function lte(n,e){n.a=e}function ate(n,e){n.b=e}function II(n,e){n.d=e}function ej(n,e){n.i=e}function aq(n,e){n.o=e}function dte(n,e){n.r=e}function bte(n,e){n.a=e}function wte(n,e){n.b=e}function Ivn(n,e){n.e=e}function gte(n,e){n.f=e}function dq(n,e){n.g=e}function pte(n,e){n.e=e}function vte(n,e){n.f=e}function mte(n,e){n.f=e}function kte(n,e){n.n=e}function yte(n,e){n.a=e}function jte(n,e){n.a=e}function Ete(n,e){n.c=e}function Cte(n,e){n.c=e}function Tte(n,e){n.d=e}function Mte(n,e){n.e=e}function Ate(n,e){n.g=e}function Ste(n,e){n.a=e}function Pte(n,e){n.c=e}function Ite(n,e){n.d=e}function Ote(n,e){n.e=e}function Dte(n,e){n.f=e}function $te(n,e){n.j=e}function Fte(n,e){n.a=e}function xte(n,e){n.b=e}function Lte(n,e){n.a=e}function Ovn(n){n.b=n.a}function Dvn(n){n.c=n.d.d}function $v(n){this.d=n}function ta(n){this.a=n}function Rp(n){this.a=n}function bq(n){this.a=n}function Mh(n){this.a=n}function A9(n){this.a=n}function $vn(n){this.a=n}function wq(n){this.a=n}function S9(n){this.a=n}function gq(n){this.a=n}function pq(n){this.a=n}function vq(n){this.a=n}function L0(n){this.a=n}function P9(n){this.a=n}function I9(n){this.a=n}function mq(n){this.b=n}function _p(n){this.b=n}function Kp(n){this.b=n}function OI(n){this.a=n}function Fvn(n){this.a=n}function kq(n){this.a=n}function DI(n){this.c=n}function E(n){this.c=n}function xvn(n){this.c=n}function yq(n){this.a=n}function jq(n){this.a=n}function Eq(n){this.a=n}function Cq(n){this.a=n}function ut(n){this.a=n}function Lvn(n){this.a=n}function Tq(n){this.a=n}function Mq(n){this.a=n}function Nvn(n){this.a=n}function Bvn(n){this.a=n}function Fv(n){this.a=n}function Rvn(n){this.a=n}function _vn(n){this.a=n}function Kvn(n){this.a=n}function Hvn(n){this.a=n}function qvn(n){this.a=n}function Gvn(n){this.a=n}function zvn(n){this.a=n}function Uvn(n){this.a=n}function Wvn(n){this.a=n}function Xvn(n){this.a=n}function Vvn(n){this.a=n}function Qvn(n){this.a=n}function Jvn(n){this.a=n}function Yvn(n){this.a=n}function Zvn(n){this.a=n}function n5n(n){this.a=n}function e5n(n){this.a=n}function O9(n){this.a=n}function t5n(n){this.a=n}function i5n(n){this.a=n}function tj(n){this.a=n}function r5n(n){this.a=n}function c5n(n){this.a=n}function Hp(n){this.a=n}function Aq(n){this.a=n}function u5n(n){this.a=n}function s5n(n){this.a=n}function o5n(n){this.a=n}function f5n(n){this.a=n}function h5n(n){this.a=n}function Sq(n){this.a=n}function Pq(n){this.a=n}function Iq(n){this.a=n}function ij(n){this.a=n}function rj(n){this.e=n}function qp(n){this.a=n}function l5n(n){this.a=n}function n2(n){this.a=n}function Oq(n){this.a=n}function a5n(n){this.a=n}function d5n(n){this.a=n}function b5n(n){this.a=n}function w5n(n){this.a=n}function g5n(n){this.a=n}function p5n(n){this.a=n}function v5n(n){this.a=n}function m5n(n){this.a=n}function k5n(n){this.a=n}function y5n(n){this.a=n}function j5n(n){this.a=n}function Dq(n){this.a=n}function E5n(n){this.a=n}function C5n(n){this.a=n}function T5n(n){this.a=n}function M5n(n){this.a=n}function A5n(n){this.a=n}function S5n(n){this.a=n}function P5n(n){this.a=n}function I5n(n){this.a=n}function O5n(n){this.a=n}function D5n(n){this.a=n}function $5n(n){this.a=n}function F5n(n){this.a=n}function x5n(n){this.a=n}function L5n(n){this.a=n}function N5n(n){this.a=n}function B5n(n){this.a=n}function R5n(n){this.a=n}function _5n(n){this.a=n}function K5n(n){this.a=n}function H5n(n){this.a=n}function q5n(n){this.a=n}function G5n(n){this.a=n}function z5n(n){this.a=n}function U5n(n){this.a=n}function W5n(n){this.a=n}function X5n(n){this.a=n}function V5n(n){this.a=n}function Q5n(n){this.a=n}function J5n(n){this.a=n}function Y5n(n){this.a=n}function Z5n(n){this.a=n}function n6n(n){this.a=n}function e6n(n){this.a=n}function t6n(n){this.a=n}function i6n(n){this.a=n}function r6n(n){this.a=n}function c6n(n){this.a=n}function u6n(n){this.c=n}function s6n(n){this.b=n}function o6n(n){this.a=n}function f6n(n){this.a=n}function h6n(n){this.a=n}function l6n(n){this.a=n}function a6n(n){this.a=n}function d6n(n){this.a=n}function b6n(n){this.a=n}function w6n(n){this.a=n}function g6n(n){this.a=n}function p6n(n){this.a=n}function v6n(n){this.a=n}function m6n(n){this.a=n}function k6n(n){this.a=n}function y6n(n){this.a=n}function j6n(n){this.a=n}function E6n(n){this.a=n}function C6n(n){this.a=n}function T6n(n){this.a=n}function M6n(n){this.a=n}function A6n(n){this.a=n}function S6n(n){this.a=n}function P6n(n){this.a=n}function I6n(n){this.a=n}function O6n(n){this.a=n}function X1(n){this.a=n}function e2(n){this.a=n}function D6n(n){this.a=n}function $6n(n){this.a=n}function F6n(n){this.a=n}function x6n(n){this.a=n}function L6n(n){this.a=n}function N6n(n){this.a=n}function B6n(n){this.a=n}function R6n(n){this.a=n}function _6n(n){this.a=n}function K6n(n){this.a=n}function H6n(n){this.a=n}function q6n(n){this.a=n}function G6n(n){this.a=n}function z6n(n){this.a=n}function U6n(n){this.a=n}function W6n(n){this.a=n}function cj(n){this.a=n}function X6n(n){this.a=n}function V6n(n){this.a=n}function Q6n(n){this.a=n}function J6n(n){this.a=n}function Y6n(n){this.a=n}function Z6n(n){this.a=n}function nmn(n){this.a=n}function emn(n){this.a=n}function tmn(n){this.a=n}function imn(n){this.a=n}function rmn(n){this.a=n}function cmn(n){this.a=n}function umn(n){this.a=n}function smn(n){this.a=n}function omn(n){this.a=n}function fmn(n){this.a=n}function hmn(n){this.a=n}function lmn(n){this.a=n}function amn(n){this.a=n}function dmn(n){this.a=n}function bmn(n){this.a=n}function wmn(n){this.a=n}function gmn(n){this.a=n}function pmn(n){this.a=n}function vmn(n){this.a=n}function mmn(n){this.a=n}function kmn(n){this.a=n}function ymn(n){this.a=n}function $q(n){this.a=n}function kt(n){this.b=n}function jmn(n){this.f=n}function Fq(n){this.a=n}function Emn(n){this.a=n}function Cmn(n){this.a=n}function Tmn(n){this.a=n}function Mmn(n){this.a=n}function Amn(n){this.a=n}function Smn(n){this.a=n}function Pmn(n){this.a=n}function Imn(n){this.a=n}function D9(n){this.a=n}function Omn(n){this.a=n}function Dmn(n){this.b=n}function xq(n){this.c=n}function uj(n){this.e=n}function $mn(n){this.a=n}function sj(n){this.a=n}function oj(n){this.a=n}function $I(n){this.a=n}function Fmn(n){this.a=n}function xmn(n){this.d=n}function Lq(n){this.a=n}function Nq(n){this.a=n}function cd(n){this.e=n}function Nte(){this.a=0}function gw(){byn(this)}function X(){RO(this)}function we(){Eu(this)}function FI(){vTn(this)}function Lmn(){}function ud(){this.c=p1n}function Bte(n,e){e.Wb(n)}function Nmn(n,e){n.b+=e}function Bmn(n){n.b=new JI}function T(n){return n.e}function Rte(n){return n.a}function _te(n){return n.a}function Kte(n){return n.a}function Hte(n){return n.a}function qte(n){return n.a}function Gte(){return null}function zte(){return null}function Ute(){EG(),iTe()}function Wte(n){n.b.tf(n.e)}function xv(n,e){n.b=e-n.b}function Lv(n,e){n.a=e-n.a}function Rmn(n,e){e.ad(n.a)}function Xte(n,e){ui(e,n)}function Vte(n,e,t){n.Od(t,e)}function $9(n,e){n.e=e,e.b=n}function Bq(n){Df(),this.a=n}function _mn(n){Df(),this.a=n}function Kmn(n){Df(),this.a=n}function Rq(n){nb(),this.a=n}function Hmn(n){k3(),aR.be(n)}function ia(){Jyn.call(this)}function _q(){Jyn.call(this)}function Kq(){ia.call(this)}function xI(){ia.call(this)}function qmn(){ia.call(this)}function F9(){ia.call(this)}function fu(){ia.call(this)}function Nv(){ia.call(this)}function je(){ia.call(this)}function vs(){ia.call(this)}function Gmn(){ia.call(this)}function ic(){ia.call(this)}function zmn(){ia.call(this)}function Umn(){this.a=this}function fj(){this.Bb|=256}function Wmn(){this.b=new Vkn}function Hq(){Hq=N,new we}function qq(){Kq.call(this)}function Xmn(n,e){n.length=e}function hj(n,e){W(n.a,e)}function Qte(n,e){nY(n.c,e)}function Jte(n,e){ri(n.b,e)}function Yte(n,e){KT(n.a,e)}function Zte(n,e){MF(n.a,e)}function Gp(n,e){et(n.e,e)}function t2(n){iM(n.c,n.b)}function nie(n,e){n.kc().Nb(e)}function Gq(n){this.a=Yge(n)}function fi(){this.a=new we}function Vmn(){this.a=new we}function lj(){this.a=new X}function LI(){this.a=new X}function zq(){this.a=new X}function Ns(){this.a=new Dln}function ra(){this.a=new MSn}function Uq(){this.a=new LH}function Wq(){this.a=new l7n}function Qmn(){this.a=new ZMn}function Xq(){this.a=new wMn}function Vq(){this.a=new Rjn}function Jmn(){this.a=new X}function Qq(){this.a=new X}function Ymn(){this.a=new X}function Zmn(){this.a=new X}function n9n(){this.d=new X}function e9n(){this.a=new fi}function t9n(){this.a=new we}function i9n(){this.b=new we}function r9n(){this.b=new X}function Jq(){this.e=new X}function c9n(){this.d=new X}function u9n(){this.a=new T4n}function s9n(){X.call(this)}function Yq(){lj.call(this)}function o9n(){kE.call(this)}function f9n(){Qq.call(this)}function NI(){Bv.call(this)}function Bv(){Lmn.call(this)}function i2(){Lmn.call(this)}function Zq(){i2.call(this)}function h9n(){UTn.call(this)}function l9n(){UTn.call(this)}function a9n(){uG.call(this)}function d9n(){uG.call(this)}function b9n(){uG.call(this)}function w9n(){sG.call(this)}function hu(){Ct.call(this)}function nG(){R2n.call(this)}function eG(){R2n.call(this)}function g9n(){D9n.call(this)}function p9n(){D9n.call(this)}function v9n(){we.call(this)}function m9n(){we.call(this)}function k9n(){we.call(this)}function y9n(){fi.call(this)}function BI(){_In.call(this)}function j9n(){fj.call(this)}function RI(){Oz.call(this)}function _I(){Oz.call(this)}function tG(){we.call(this)}function KI(){we.call(this)}function E9n(){we.call(this)}function iG(){Yy.call(this)}function C9n(){Yy.call(this)}function T9n(){iG.call(this)}function M9n(){ZH.call(this)}function A9n(n){lIn.call(this,n)}function S9n(n){lIn.call(this,n)}function rG(n){rq.call(this,n)}function cG(n){e7n.call(this,n)}function eie(n){cG.call(this,n)}function tie(n){e7n.call(this,n)}function zp(){this.a=new Ct}function uG(){this.a=new fi}function sG(){this.a=new we}function P9n(){this.a=new X}function I9n(){this.j=new X}function oG(){this.a=new _gn}function O9n(){this.a=new M8n}function D9n(){this.a=new V2n}function HI(){HI=N,uR=new Q9n}function qI(){qI=N,cR=new V9n}function Rv(){Rv=N,rR=new Bt}function aj(){aj=N,fR=new Vyn}function iie(n){cG.call(this,n)}function rie(n){cG.call(this,n)}function $9n(n){m$.call(this,n)}function F9n(n){m$.call(this,n)}function x9n(n){sEn.call(this,n)}function GI(n){C5e.call(this,n)}function sd(n){_0.call(this,n)}function _v(n){Cj.call(this,n)}function fG(n){Cj.call(this,n)}function L9n(n){Cj.call(this,n)}function _r(n){yCn.call(this,n)}function N9n(n){_r.call(this,n)}function r2(){M9.call(this,{})}function dj(n){c3(),this.a=n}function Kv(n){n.b=null,n.c=0}function cie(n,e){n.e=e,BNn(n,e)}function uie(n,e){n.a=e,h6e(n)}function zI(n,e,t){n.a[e.g]=t}function sie(n,e,t){M4e(t,n,e)}function oie(n,e){$ue(e.i,n.n)}function B9n(n,e){Fwe(n).td(e)}function fie(n,e){return n*n/e}function R9n(n,e){return n.g-e.g}function hie(n){return new nj(n)}function lie(n){return new Z0(n)}function bj(n){_r.call(this,n)}function vr(n){_r.call(this,n)}function _9n(n){_r.call(this,n)}function UI(n){yCn.call(this,n)}function WI(n){AV(),this.a=n}function K9n(n){dEn(),this.a=n}function N0(n){ED(),this.f=n}function XI(n){ED(),this.f=n}function Up(n){_r.call(this,n)}function Hn(n){_r.call(this,n)}function Dr(n){_r.call(this,n)}function H9n(n){_r.call(this,n)}function c2(n){_r.call(this,n)}function on(n){return _n(n),n}function K(n){return _n(n),n}function x9(n){return _n(n),n}function hG(n){return _n(n),n}function aie(n){return _n(n),n}function Hv(n){return n.b==n.c}function B0(n){return!!n&&n.b}function die(n){return!!n&&n.k}function bie(n){return!!n&&n.j}function Ku(n){_n(n),this.a=n}function lG(n){return ja(n),n}function qv(n){EW(n,n.length)}function t1(n){_r.call(this,n)}function Af(n){_r.call(this,n)}function VI(n){_r.call(this,n)}function pw(n){_r.call(this,n)}function Gv(n){_r.call(this,n)}function Ce(n){_r.call(this,n)}function QI(n){Vz.call(this,n,0)}function JI(){iX.call(this,12,3)}function aG(){aG=N,din=new J1n}function q9n(){q9n=N,ain=new ou}function wj(){wj=N,dm=new H1}function G9n(){G9n=N,mzn=new ww}function z9n(){throw T(new je)}function dG(){throw T(new je)}function U9n(){throw T(new je)}function wie(){throw T(new je)}function gie(){throw T(new je)}function pie(){throw T(new je)}function YI(){this.a=Te(pe(Ji))}function u2(n){Df(),this.a=pe(n)}function W9n(n,e){n.Td(e),e.Sd(n)}function vie(n,e){n.a.ec().Mc(e)}function mie(n,e,t){n.c.lf(e,t)}function bG(n){vr.call(this,n)}function Sf(n){Hn.call(this,n)}function i1(){A9.call(this,"")}function zv(){A9.call(this,"")}function V1(){A9.call(this,"")}function R0(){A9.call(this,"")}function wG(n){vr.call(this,n)}function Wp(n){_p.call(this,n)}function ZI(n){lE.call(this,n)}function X9n(n){Wp.call(this,n)}function V9n(){AI.call(this,null)}function Q9n(){AI.call(this,null)}function gj(){gj=N,k3()}function J9n(){J9n=N,Pzn=Z4e()}function Y9n(n){return n.a?n.b:0}function kie(n){return n.a?n.b:0}function yie(n,e){return n.a-e.a}function jie(n,e){return n.a-e.a}function Eie(n,e){return n.a-e.a}function pj(n,e){return WX(n,e)}function M(n,e){return vMn(n,e)}function Cie(n,e){return e in n.a}function Z9n(n,e){return n.f=e,n}function Tie(n,e){return n.b=e,n}function n8n(n,e){return n.c=e,n}function Mie(n,e){return n.g=e,n}function gG(n,e){return n.a=e,n}function pG(n,e){return n.f=e,n}function Aie(n,e){return n.k=e,n}function vG(n,e){return n.a=e,n}function Sie(n,e){return n.e=e,n}function mG(n,e){return n.e=e,n}function Pie(n,e){return n.f=e,n}function Iie(n,e){n.b=!0,n.d=e}function Oie(n,e){n.b=new mr(e)}function Die(n,e,t){e.td(n.a[t])}function $ie(n,e,t){e.we(n.a[t])}function Fie(n,e){return n.b-e.b}function xie(n,e){return n.g-e.g}function Lie(n,e){return n.s-e.s}function Nie(n,e){return n?0:e-1}function e8n(n,e){return n?0:e-1}function Bie(n,e){return n?e-1:0}function Rie(n,e){return e.Yf(n)}function od(n,e){return n.b=e,n}function vj(n,e){return n.a=e,n}function fd(n,e){return n.c=e,n}function hd(n,e){return n.d=e,n}function ld(n,e){return n.e=e,n}function kG(n,e){return n.f=e,n}function Uv(n,e){return n.a=e,n}function Xp(n,e){return n.b=e,n}function Vp(n,e){return n.c=e,n}function gn(n,e){return n.c=e,n}function Dn(n,e){return n.b=e,n}function pn(n,e){return n.d=e,n}function vn(n,e){return n.e=e,n}function _ie(n,e){return n.f=e,n}function mn(n,e){return n.g=e,n}function kn(n,e){return n.a=e,n}function yn(n,e){return n.i=e,n}function jn(n,e){return n.j=e,n}function t8n(n,e){return n.k=e,n}function Kie(n,e){return n.j=e,n}function Hie(n,e){yl(),Hr(e,n)}function qie(n,e,t){Nfe(n.a,e,t)}function i8n(n){kTn.call(this,n)}function yG(n){kTn.call(this,n)}function mj(n){uD.call(this,n)}function r8n(n){u2e.call(this,n)}function Q1(n){Ld.call(this,n)}function c8n(n){XD.call(this,n)}function u8n(n){XD.call(this,n)}function s8n(){Mz.call(this,"")}function Li(){this.a=0,this.b=0}function o8n(){this.b=0,this.a=0}function f8n(n,e){n.b=0,hb(n,e)}function Gie(n,e){n.c=e,n.b=!0}function h8n(n,e){return n.c._b(e)}function xo(n){return n.e&&n.e()}function nO(n){return n?n.d:null}function l8n(n,e){return NDn(n.b,e)}function zie(n){return n?n.g:null}function Uie(n){return n?n.i:null}function J1(n){return Ph(n),n.o}function ad(){ad=N,Ane=h4e()}function a8n(){a8n=N,vi=jve()}function Qp(){Qp=N,g1n=a4e()}function d8n(){d8n=N,lee=l4e()}function jG(){jG=N,oc=s6e()}function EG(){EG=N,Wl=N3()}function b8n(){throw T(new je)}function w8n(){throw T(new je)}function g8n(){throw T(new je)}function p8n(){throw T(new je)}function v8n(){throw T(new je)}function m8n(){throw T(new je)}function kj(n){this.a=new s2(n)}function CG(n){b_n(),gTe(this,n)}function Y1(n){this.a=new AD(n)}function vw(n,e){for(;n.ye(e););}function TG(n,e){for(;n.sd(e););}function mw(n,e){return n.a+=e,n}function eO(n,e){return n.a+=e,n}function r1(n,e){return n.a+=e,n}function dd(n,e){return n.a+=e,n}function Wv(n){return fl(n),n.a}function yj(n){return n.b!=n.d.c}function k8n(n){return n.l|n.m<<22}function MG(n,e){return n.d[e.p]}function y8n(n,e){return Q8e(n,e)}function AG(n,e,t){n.splice(e,t)}function j8n(n){n.c?cBn(n):uBn(n)}function jj(n){this.a=0,this.b=n}function E8n(){this.a=new B7(Pon)}function C8n(){this.b=new B7(won)}function T8n(){this.b=new B7(OK)}function M8n(){this.b=new B7(OK)}function A8n(){throw T(new je)}function S8n(){throw T(new je)}function P8n(){throw T(new je)}function I8n(){throw T(new je)}function O8n(){throw T(new je)}function D8n(){throw T(new je)}function $8n(){throw T(new je)}function F8n(){throw T(new je)}function x8n(){throw T(new je)}function L8n(){throw T(new je)}function Wie(){throw T(new ic)}function Xie(){throw T(new ic)}function L9(n){this.a=new N8n(n)}function N8n(n){cbe(this,n,cve())}function N9(n){return!n||rTn(n)}function B9(n){return Tf[n]!=-1}function Vie(){_A!=0&&(_A=0),KA=-1}function B8n(){iR==null&&(iR=[])}function Qie(n,e){$x(R(n.a),e)}function Jie(n,e){$x(R(n.a),e)}function R9(n,e){Sw.call(this,n,e)}function Jp(n,e){R9.call(this,n,e)}function SG(n,e){this.b=n,this.c=e}function R8n(n,e){this.b=n,this.a=e}function _8n(n,e){this.a=n,this.b=e}function K8n(n,e){this.a=n,this.b=e}function H8n(n,e){this.a=n,this.b=e}function q8n(n,e){this.a=n,this.b=e}function G8n(n,e){this.a=n,this.b=e}function z8n(n,e){this.a=n,this.b=e}function U8n(n,e){this.a=n,this.b=e}function W8n(n,e){this.a=n,this.b=e}function X8n(n,e){this.b=n,this.a=e}function V8n(n,e){this.b=n,this.a=e}function Q8n(n,e){this.b=n,this.a=e}function J8n(n,e){this.b=n,this.a=e}function Oe(n,e){this.f=n,this.g=e}function Yp(n,e){this.e=n,this.d=e}function bd(n,e){this.g=n,this.i=e}function tO(n,e){this.a=n,this.b=e}function Y8n(n,e){this.a=n,this.f=e}function Z8n(n,e){this.b=n,this.c=e}function Yie(n,e){this.a=n,this.b=e}function n7n(n,e){this.a=n,this.b=e}function iO(n,e){this.a=n,this.b=e}function e7n(n){Bz(n.dc()),this.c=n}function Ej(n){this.b=u(pe(n),83)}function t7n(n){this.a=u(pe(n),83)}function _0(n){this.a=u(pe(n),15)}function i7n(n){this.a=u(pe(n),15)}function Cj(n){this.b=u(pe(n),47)}function Tj(){this.q=new j.Date}function Zf(){Zf=N,Sin=new iln}function Zp(){Zp=N,X4=new eln}function Xv(n){return n.f.c+n.g.c}function _9(n,e){return n.b.Hc(e)}function r7n(n,e){return n.b.Ic(e)}function c7n(n,e){return n.b.Qc(e)}function u7n(n,e){return n.b.Hc(e)}function s7n(n,e){return n.c.uc(e)}function Ah(n,e){return n.a._b(e)}function o7n(n,e){return tt(n.c,e)}function f7n(n,e){return zu(n.b,e)}function h7n(n,e){return n>e&&e0}function cO(n,e){return fc(n,e)<0}function n5(n,e){return n.a.get(e)}function lre(n,e){return e.split(n)}function P7n(n,e){return zu(n.e,e)}function LG(n){return _n(n),!1}function xj(n){xn.call(this,n,21)}function are(n,e){uMn.call(this,n,e)}function Lj(n,e){Oe.call(this,n,e)}function uO(n,e){Oe.call(this,n,e)}function NG(n){_D(),sEn.call(this,n)}function BG(n,e){hCn(n,n.length,e)}function z9(n,e){RCn(n,n.length,e)}function dre(n,e,t){e.ud(n.a.Ge(t))}function bre(n,e,t){e.we(n.a.Fe(t))}function wre(n,e,t){e.td(n.a.Kb(t))}function gre(n,e,t){n.Mb(t)&&e.td(t)}function e5(n,e,t){n.splice(e,0,t)}function pre(n,e){return au(n.e,e)}function Nj(n,e){this.d=n,this.e=e}function I7n(n,e){this.b=n,this.a=e}function O7n(n,e){this.b=n,this.a=e}function RG(n,e){this.b=n,this.a=e}function D7n(n,e){this.a=n,this.b=e}function $7n(n,e){this.a=n,this.b=e}function F7n(n,e){this.a=n,this.b=e}function x7n(n,e){this.a=n,this.b=e}function f2(n,e){this.a=n,this.b=e}function _G(n,e){this.b=n,this.a=e}function KG(n,e){this.b=n,this.a=e}function Bj(n,e){Oe.call(this,n,e)}function Rj(n,e){Oe.call(this,n,e)}function HG(n,e){Oe.call(this,n,e)}function qG(n,e){Oe.call(this,n,e)}function kw(n,e){Oe.call(this,n,e)}function sO(n,e){Oe.call(this,n,e)}function oO(n,e){Oe.call(this,n,e)}function fO(n,e){Oe.call(this,n,e)}function _j(n,e){Oe.call(this,n,e)}function GG(n,e){Oe.call(this,n,e)}function hO(n,e){Oe.call(this,n,e)}function U9(n,e){Oe.call(this,n,e)}function Kj(n,e){Oe.call(this,n,e)}function lO(n,e){Oe.call(this,n,e)}function t5(n,e){Oe.call(this,n,e)}function zG(n,e){Oe.call(this,n,e)}function zt(n,e){Oe.call(this,n,e)}function Hj(n,e){Oe.call(this,n,e)}function L7n(n,e){this.a=n,this.b=e}function N7n(n,e){this.a=n,this.b=e}function B7n(n,e){this.a=n,this.b=e}function R7n(n,e){this.a=n,this.b=e}function _7n(n,e){this.a=n,this.b=e}function K7n(n,e){this.a=n,this.b=e}function H7n(n,e){this.a=n,this.b=e}function q7n(n,e){this.a=n,this.b=e}function G7n(n,e){this.a=n,this.b=e}function UG(n,e){this.b=n,this.a=e}function z7n(n,e){this.b=n,this.a=e}function U7n(n,e){this.b=n,this.a=e}function W7n(n,e){this.b=n,this.a=e}function t3(n,e){this.c=n,this.d=e}function X7n(n,e){this.e=n,this.d=e}function V7n(n,e){this.a=n,this.b=e}function Q7n(n,e){this.b=e,this.c=n}function qj(n,e){Oe.call(this,n,e)}function W9(n,e){Oe.call(this,n,e)}function aO(n,e){Oe.call(this,n,e)}function i5(n,e){Oe.call(this,n,e)}function WG(n,e){Oe.call(this,n,e)}function dO(n,e){Oe.call(this,n,e)}function bO(n,e){Oe.call(this,n,e)}function X9(n,e){Oe.call(this,n,e)}function XG(n,e){Oe.call(this,n,e)}function wO(n,e){Oe.call(this,n,e)}function r5(n,e){Oe.call(this,n,e)}function VG(n,e){Oe.call(this,n,e)}function c5(n,e){Oe.call(this,n,e)}function u5(n,e){Oe.call(this,n,e)}function H0(n,e){Oe.call(this,n,e)}function gO(n,e){Oe.call(this,n,e)}function pO(n,e){Oe.call(this,n,e)}function QG(n,e){Oe.call(this,n,e)}function s5(n,e){Oe.call(this,n,e)}function vO(n,e){Oe.call(this,n,e)}function Gj(n,e){Oe.call(this,n,e)}function V9(n,e){Oe.call(this,n,e)}function Q9(n,e){Oe.call(this,n,e)}function h2(n,e){Oe.call(this,n,e)}function mO(n,e){Oe.call(this,n,e)}function JG(n,e){Oe.call(this,n,e)}function kO(n,e){Oe.call(this,n,e)}function yO(n,e){Oe.call(this,n,e)}function YG(n,e){Oe.call(this,n,e)}function jO(n,e){Oe.call(this,n,e)}function EO(n,e){Oe.call(this,n,e)}function CO(n,e){Oe.call(this,n,e)}function TO(n,e){Oe.call(this,n,e)}function ZG(n,e){Oe.call(this,n,e)}function J7n(n,e){this.b=n,this.a=e}function Y7n(n,e){this.a=n,this.b=e}function Z7n(n,e){this.a=n,this.b=e}function nkn(n,e){this.a=n,this.b=e}function ekn(n,e){this.a=n,this.b=e}function nz(n,e){Oe.call(this,n,e)}function ez(n,e){Oe.call(this,n,e)}function tkn(n,e){this.b=n,this.d=e}function tz(n,e){Oe.call(this,n,e)}function iz(n,e){Oe.call(this,n,e)}function ikn(n,e){this.a=n,this.b=e}function rkn(n,e){this.a=n,this.b=e}function zj(n,e){Oe.call(this,n,e)}function o5(n,e){Oe.call(this,n,e)}function rz(n,e){Oe.call(this,n,e)}function cz(n,e){Oe.call(this,n,e)}function uz(n,e){Oe.call(this,n,e)}function MO(n,e){Oe.call(this,n,e)}function sz(n,e){Oe.call(this,n,e)}function AO(n,e){Oe.call(this,n,e)}function Uj(n,e){Oe.call(this,n,e)}function SO(n,e){Oe.call(this,n,e)}function PO(n,e){Oe.call(this,n,e)}function J9(n,e){Oe.call(this,n,e)}function IO(n,e){Oe.call(this,n,e)}function oz(n,e){Oe.call(this,n,e)}function Y9(n,e){Oe.call(this,n,e)}function fz(n,e){Oe.call(this,n,e)}function vre(n,e){return au(n.c,e)}function mre(n,e){return au(e.b,n)}function kre(n,e){return-n.b.Je(e)}function hz(n,e){return au(n.g,e)}function Z9(n,e){Oe.call(this,n,e)}function l2(n,e){Oe.call(this,n,e)}function ckn(n,e){this.a=n,this.b=e}function ukn(n,e){this.a=n,this.b=e}function fn(n,e){this.a=n,this.b=e}function f5(n,e){Oe.call(this,n,e)}function h5(n,e){Oe.call(this,n,e)}function n8(n,e){Oe.call(this,n,e)}function OO(n,e){Oe.call(this,n,e)}function Wj(n,e){Oe.call(this,n,e)}function l5(n,e){Oe.call(this,n,e)}function DO(n,e){Oe.call(this,n,e)}function Xj(n,e){Oe.call(this,n,e)}function yw(n,e){Oe.call(this,n,e)}function e8(n,e){Oe.call(this,n,e)}function a5(n,e){Oe.call(this,n,e)}function d5(n,e){Oe.call(this,n,e)}function t8(n,e){Oe.call(this,n,e)}function Vj(n,e){Oe.call(this,n,e)}function jw(n,e){Oe.call(this,n,e)}function Qj(n,e){Oe.call(this,n,e)}function skn(n,e){this.a=n,this.b=e}function okn(n,e){this.a=n,this.b=e}function fkn(n,e){this.a=n,this.b=e}function hkn(n,e){this.a=n,this.b=e}function lkn(n,e){this.a=n,this.b=e}function akn(n,e){this.a=n,this.b=e}function Pi(n,e){this.a=n,this.b=e}function Jj(n,e){Oe.call(this,n,e)}function dkn(n,e){this.a=n,this.b=e}function bkn(n,e){this.a=n,this.b=e}function wkn(n,e){this.a=n,this.b=e}function gkn(n,e){this.a=n,this.b=e}function pkn(n,e){this.a=n,this.b=e}function vkn(n,e){this.a=n,this.b=e}function mkn(n,e){this.b=n,this.a=e}function kkn(n,e){this.b=n,this.a=e}function ykn(n,e){this.b=n,this.a=e}function jkn(n,e){this.b=n,this.a=e}function Ekn(n,e){this.a=n,this.b=e}function Ckn(n,e){this.a=n,this.b=e}function yre(n,e){J9e(n.a,u(e,56))}function Tkn(n,e){f0e(n.a,u(e,11))}function jre(n,e){return h3(),e!=n}function Mkn(){return J9n(),new Pzn}function Akn(){c$(),this.b=new fi}function Skn(){hM(),this.a=new fi}function Pkn(){tX(),lW.call(this)}function a2(n,e){Oe.call(this,n,e)}function Ikn(n,e){this.a=n,this.b=e}function Okn(n,e){this.a=n,this.b=e}function Yj(n,e){this.a=n,this.b=e}function Dkn(n,e){this.a=n,this.b=e}function $kn(n,e){this.a=n,this.b=e}function Fkn(n,e){this.a=n,this.b=e}function xkn(n,e){this.d=n,this.b=e}function lz(n,e){this.d=n,this.e=e}function Lkn(n,e){this.f=n,this.c=e}function i8(n,e){this.b=n,this.c=e}function az(n,e){this.i=n,this.g=e}function Nkn(n,e){this.e=n,this.a=e}function Bkn(n,e){this.a=n,this.b=e}function dz(n,e){n.i=null,nT(n,e)}function Ere(n,e){n&&it($y,n,e)}function Rkn(n,e){return NF(n.a,e)}function Zj(n){return g7(n.c,n.b)}function Vr(n){return n?n.dd():null}function B(n){return n??null}function q0(n){return typeof n===X2}function G0(n){return typeof n===UZ}function mi(n){return typeof n===EL}function el(n,e){return n.Hd().Xb(e)}function nE(n,e){return Rbe(n.Kc(),e)}function gd(n,e){return fc(n,e)==0}function Cre(n,e){return fc(n,e)>=0}function b5(n,e){return fc(n,e)!=0}function Tre(n){return""+(_n(n),n)}function r8(n,e){return n.substr(e)}function _kn(n){return $u(n),n.d.gc()}function $O(n){return yme(n,n.c),n}function eE(n){return A5(n==null),n}function w5(n,e){return n.a+=""+e,n}function dr(n,e){return n.a+=""+e,n}function g5(n,e){return n.a+=""+e,n}function rc(n,e){return n.a+=""+e,n}function De(n,e){return n.a+=""+e,n}function bz(n,e){return n.a+=""+e,n}function Kkn(n,e){Kt(n,e,n.a,n.a.a)}function ua(n,e){Kt(n,e,n.c.b,n.c)}function Mre(n,e,t){QFn(e,Mx(n,t))}function Are(n,e,t){QFn(e,Mx(n,t))}function Sre(n,e){k0e(new ie(n),e)}function Hkn(n,e){n.q.setTime($d(e))}function qkn(n,e){kW.call(this,n,e)}function Gkn(n,e){kW.call(this,n,e)}function FO(n,e){kW.call(this,n,e)}function zkn(n){Eu(this),Z5(this,n)}function wz(n){return Ln(n,0),null}function Lo(n){return n.a=0,n.b=0,n}function Ukn(n,e){return n.a=e.g+1,n}function Pre(n,e){return n.j[e.p]==2}function gz(n){return lhe(u(n,79))}function Wkn(){Wkn=N,EUn=Fe(qF())}function Xkn(){Xkn=N,_Wn=Fe(INn())}function Vkn(){this.b=new s2(sb(12))}function Qkn(){this.b=0,this.a=!1}function Jkn(){this.b=0,this.a=!1}function p5(n){this.a=n,TI.call(this)}function Ykn(n){this.a=n,TI.call(this)}function In(n,e){ii.call(this,n,e)}function xO(n,e){V0.call(this,n,e)}function Ew(n,e){az.call(this,n,e)}function LO(n,e){H3.call(this,n,e)}function Zkn(n,e){c8.call(this,n,e)}function He(n,e){$j(),it(eI,n,e)}function NO(n,e){return Yu(n.a,0,e)}function nyn(n,e){return n.a.a.a.cc(e)}function eyn(n,e){return B(n)===B(e)}function Ire(n,e){return Zt(n.a,e.a)}function Ore(n,e){return Uc(n.a,e.a)}function Dre(n,e){return LCn(n.a,e.a)}function Pf(n,e){return n.indexOf(e)}function pd(n,e){return n==e?0:n?1:-1}function tE(n){return n<10?"0"+n:""+n}function $re(n){return pe(n),new p5(n)}function tyn(n){return Bc(n.l,n.m,n.h)}function i3(n){return Gt((_n(n),n))}function Fre(n){return Gt((_n(n),n))}function iyn(n,e){return Uc(n.g,e.g)}function $r(n){return typeof n===UZ}function xre(n){return n==b0||n==Hb}function Lre(n){return n==b0||n==Kb}function pz(n){return Fr(n.b.b,n,0)}function ryn(n){this.a=Mkn(),this.b=n}function cyn(n){this.a=Mkn(),this.b=n}function Nre(n,e){return W(n.a,e),e}function Bre(n,e){return W(n.c,e),n}function uyn(n,e){return rs(n.a,e),n}function Rre(n,e){return wo(),e.a+=n}function _re(n,e){return wo(),e.a+=n}function Kre(n,e){return wo(),e.c+=n}function vz(n,e){S3(n,0,n.length,e)}function Sh(){Tq.call(this,new ba)}function syn(){xE.call(this,0,0,0,0)}function d2(){ys.call(this,0,0,0,0)}function mr(n){this.a=n.a,this.b=n.b}function tl(n){return n==Zs||n==Ao}function r3(n){return n==Yh||n==Jh}function oyn(n){return n==xg||n==Fg}function Cw(n){return n!=jf&&n!=ql}function Hu(n){return n.Lg()&&n.Mg()}function fyn(n){return JE(u(n,118))}function iE(n){return rs(new hi,n)}function hyn(n,e){return new H3(e,n)}function Hre(n,e){return new H3(e,n)}function mz(n,e,t){UC(n,e),WC(n,t)}function rE(n,e,t){Rd(n,e),Bd(n,t)}function Jo(n,e,t){Zc(n,e),nu(n,t)}function cE(n,e,t){D3(n,e),F3(n,t)}function uE(n,e,t){$3(n,e),x3(n,t)}function BO(n,e){X3(n,e),L3(n,n.D)}function kz(n){Lkn.call(this,n,!0)}function lyn(n,e,t){fU.call(this,n,e,t)}function il(n){jl(),qbe.call(this,n)}function ayn(){Lj.call(this,"Head",1)}function dyn(){Lj.call(this,"Tail",3)}function RO(n){n.c=F(Zn,rn,1,0,5,1)}function byn(n){n.a=F(Zn,rn,1,8,5,1)}function wyn(n){Yc(n.xf(),new i5n(n))}function Tw(n){return n!=null?mt(n):0}function qre(n,e){return ob(e,nf(n))}function Gre(n,e){return ob(e,nf(n))}function zre(n,e){return n[n.length]=e}function Ure(n,e){return n[n.length]=e}function yz(n){return zoe(n.b.Kc(),n.a)}function Wre(n,e){return ZC(BD(n.d),e)}function Xre(n,e){return ZC(BD(n.g),e)}function Vre(n,e){return ZC(BD(n.j),e)}function tr(n,e){ii.call(this,n.b,e)}function vd(n){xE.call(this,n,n,n,n)}function jz(n){return n.b&&uL(n),n.a}function Ez(n){return n.b&&uL(n),n.c}function Qre(n,e){pf||(n.b=e)}function _O(n,e,t){return Mt(n,e,t),t}function gyn(n,e,t){Mt(n.c[e.g],e.g,t)}function Jre(n,e,t){u(n.c,69).Xh(e,t)}function Yre(n,e,t){Jo(t,t.i+n,t.j+e)}function Zre(n,e){me(bc(n.a),IMn(e))}function nce(n,e){me(Ou(n.a),OMn(e))}function v5(n){Je(),cd.call(this,n)}function ece(n){return n==null?0:mt(n)}function pyn(){pyn=N,hK=new f6(cH)}function Ee(){Ee=N,new vyn,new X}function vyn(){new we,new we,new we}function Cz(){Cz=N,Hq(),bin=new we}function Yo(){Yo=N,j.Math.log(2)}function ms(){ms=N,Eh=(C7n(),$ne)}function tce(){throw T(new t1(rzn))}function ice(){throw T(new t1(rzn))}function rce(){throw T(new t1(czn))}function cce(){throw T(new t1(czn))}function myn(n){this.a=n,HU.call(this,n)}function KO(n){this.a=n,Ej.call(this,n)}function HO(n){this.a=n,Ej.call(this,n)}function bi(n,e){mD(n.c,n.c.length,e)}function Kr(n){return n.ae?1:0}function yyn(n,e){return fc(n,e)>0?n:e}function Bc(n,e,t){return{l:n,m:e,h:t}}function uce(n,e){n.a!=null&&Tkn(e,n.a)}function jyn(n){n.a=new aI,n.c=new aI}function sE(n){this.b=n,this.a=new X}function Eyn(n){this.b=new oan,this.a=n}function Mz(n){vU.call(this),this.a=n}function Cyn(){Lj.call(this,"Range",2)}function Tyn(){kJ(),this.a=new B7(Hrn)}function sce(n,e){pe(e),Iw(n).Jc(new ps)}function oce(n,e){return Zu(),e.n.b+=n}function fce(n,e,t){return it(n.g,t,e)}function hce(n,e,t){return it(n.k,t,e)}function lce(n,e){return it(n.a,e.a,e)}function Mw(n,e,t){return _Q(e,t,n.c)}function Az(n){return new fn(n.c,n.d)}function ace(n){return new fn(n.c,n.d)}function Qr(n){return new fn(n.a,n.b)}function Myn(n,e){return xEe(n.a,e,null)}function dce(n){Hi(n,null),Ei(n,null)}function Ayn(n){s$(n,null),o$(n,null)}function Syn(){c8.call(this,null,null)}function Pyn(){wE.call(this,null,null)}function Sz(n){this.a=n,we.call(this)}function bce(n){this.b=(Pn(),new DI(n))}function oE(n){n.j=F(Ain,q,310,0,0,1)}function wce(n,e,t){n.c.Vc(e,u(t,133))}function gce(n,e,t){n.c.ji(e,u(t,133))}function Iyn(n,e){de(n),n.Gc(u(e,15))}function m5(n,e){return Jje(n.c,n.b,e)}function pce(n,e){return new Yyn(n.Kc(),e)}function qO(n,e){return gwe(n.Kc(),e)!=-1}function Pz(n,e){return n.a.Bc(e)!=null}function fE(n){return n.Ob()?n.Pb():null}function Oyn(n){return Hs(n,0,n.length)}function I(n,e){return n!=null&&WF(n,e)}function vce(n,e){n.q.setHours(e),S6(n,e)}function Dyn(n,e){n.c&&(ZU(e),rMn(e))}function mce(n,e,t){u(n.Kb(t),164).Nb(e)}function kce(n,e,t){return SEe(n,e,t),t}function $yn(n,e,t){n.a=e^1502,n.b=t^tN}function GO(n,e,t){return n.a[e.g][t.g]}function Zo(n,e){return n.a[e.c.p][e.p]}function yce(n,e){return n.e[e.c.p][e.p]}function jce(n,e){return n.c[e.c.p][e.p]}function Ece(n,e){return n.j[e.p]=D9e(e)}function Cce(n,e){return DX(n.f,e.tg())}function Tce(n,e){return DX(n.b,e.tg())}function Mce(n,e){return n.a0?e*e/n:e*e*100}function Jce(n,e){return n>0?e/(n*n):e*100}function Yce(n,e,t){return W(e,t$n(n,t))}function Zce(n,e,t){DC(),n.Xe(e)&&t.td(n)}function s3(n,e,t){var i;i=n.Zc(e),i.Rb(t)}function U0(n,e,t){return n.a+=e,n.b+=t,n}function nue(n,e,t){return n.a*=e,n.b*=t,n}function o8(n,e,t){return n.a-=e,n.b-=t,n}function Zz(n,e){return n.a=e.a,n.b=e.b,n}function vE(n){return n.a=-n.a,n.b=-n.b,n}function hjn(n){this.c=n,this.a=1,this.b=1}function ljn(n){this.c=n,Zc(n,0),nu(n,0)}function ajn(n){Ct.call(this),V5(this,n)}function djn(n){yL(),Bmn(this),this.mf(n)}function bjn(n,e){Zv(),c8.call(this,n,e)}function nU(n,e){c1(),wE.call(this,n,e)}function wjn(n,e){c1(),wE.call(this,n,e)}function gjn(n,e){c1(),nU.call(this,n,e)}function qu(n,e,t){Wu.call(this,n,e,t,2)}function JO(n,e){ms(),FE.call(this,n,e)}function pjn(n,e){ms(),JO.call(this,n,e)}function eU(n,e){ms(),JO.call(this,n,e)}function vjn(n,e){ms(),eU.call(this,n,e)}function tU(n,e){ms(),FE.call(this,n,e)}function mjn(n,e){ms(),tU.call(this,n,e)}function kjn(n,e){ms(),FE.call(this,n,e)}function eue(n,e){return n.c.Fc(u(e,133))}function iU(n,e,t){return jM(G8(n,e),t)}function tue(n,e,t){return e.Qk(n.e,n.c,t)}function iue(n,e,t){return e.Rk(n.e,n.c,t)}function YO(n,e){return pl(n.e,u(e,49))}function rue(n,e,t){s6(Ou(n.a),e,OMn(t))}function cue(n,e,t){s6(bc(n.a),e,IMn(t))}function rU(n,e){e.$modCount=n.$modCount}function C5(){C5=N,Xm=new kt("root")}function o3(){o3=N,xy=new g9n,new p9n}function yjn(){this.a=new Od,this.b=new Od}function cU(){_In.call(this),this.Bb|=Yi}function jjn(){Oe.call(this,"GROW_TREE",0)}function uue(n){return n==null?null:CCe(n)}function sue(n){return n==null?null:D5e(n)}function oue(n){return n==null?null:Lr(n)}function fue(n){return n==null?null:Lr(n)}function Ph(n){n.o==null&&u9e(n)}function sn(n){return A5(n==null||q0(n)),n}function Y(n){return A5(n==null||G0(n)),n}function Te(n){return A5(n==null||mi(n)),n}function uU(n){this.q=new j.Date($d(n))}function f8(n,e){this.c=n,Yp.call(this,n,e)}function mE(n,e){this.a=n,f8.call(this,n,e)}function hue(n,e){this.d=n,Dvn(this),this.b=e}function sU(n,e){P$.call(this,n),this.a=e}function oU(n,e){P$.call(this,n),this.a=e}function lue(n){xQ.call(this,0,0),this.f=n}function fU(n,e,t){IC.call(this,n,e,t,null)}function Ejn(n,e,t){IC.call(this,n,e,t,null)}function aue(n,e,t){return n.ue(e,t)<=0?t:e}function due(n,e,t){return n.ue(e,t)<=0?e:t}function bue(n,e){return u(xd(n.b,e),149)}function wue(n,e){return u(xd(n.c,e),229)}function ZO(n){return u(un(n.a,n.b),287)}function Cjn(n){return new fn(n.c,n.d+n.a)}function Tjn(n){return Zu(),oyn(u(n,197))}function W0(){W0=N,prn=Cn((Vu(),id))}function gue(n,e){e.a?e7e(n,e):zO(n.a,e.b)}function Mjn(n,e){pf||W(n.a,e)}function pue(n,e){return H9(),K3(e.d.i,n)}function vue(n,e){return x2(),new SBn(e,n)}function Of(n,e){return T8(e,ann),n.f=e,n}function hU(n,e,t){return t=ss(n,e,3,t),t}function lU(n,e,t){return t=ss(n,e,6,t),t}function aU(n,e,t){return t=ss(n,e,9,t),t}function h8(n,e,t){++n.j,n.Ki(),A$(n,e,t)}function Ajn(n,e,t){++n.j,n.Hi(e,n.oi(e,t))}function Sjn(n,e,t){var i;i=n.Zc(e),i.Rb(t)}function Pjn(n,e,t){return MZ(n.c,n.b,e,t)}function dU(n,e){return(e&nt)%n.d.length}function ii(n,e){kt.call(this,n),this.a=e}function bU(n,e){xq.call(this,n),this.a=e}function nD(n,e){xq.call(this,n),this.a=e}function Ijn(n,e){this.c=n,Ld.call(this,e)}function Ojn(n,e){this.a=n,Dmn.call(this,e)}function l8(n,e){this.a=n,Dmn.call(this,e)}function Djn(n){this.a=(is(n,Pb),new Pc(n))}function $jn(n){this.a=(is(n,Pb),new Pc(n))}function a8(n){return!n.a&&(n.a=new Rr),n.a}function Fjn(n){return n>8?0:n+1}function mue(n,e){return qn(),n==e?0:n?1:-1}function wU(n,e,t){return m2(n,u(e,22),t)}function kue(n,e,t){return n.apply(e,t)}function xjn(n,e,t){return n.a+=Hs(e,0,t),n}function gU(n,e){var t;return t=n.e,n.e=e,t}function yue(n,e){var t;t=n[eN],t.call(n,e)}function jue(n,e){var t;t=n[eN],t.call(n,e)}function X0(n,e){n.a.Vc(n.b,e),++n.b,n.c=-1}function Ljn(n){Eu(n.e),n.d.b=n.d,n.d.a=n.d}function d8(n){n.b?d8(n.b):n.f.c.zc(n.e,n.d)}function Eue(n,e,t){ca(),Pvn(n,e.Ce(n.a,t))}function Cue(n,e){return nO(v$n(n.a,e,!0))}function Tue(n,e){return nO(m$n(n.a,e,!0))}function bo(n,e){return pj(new Array(e),n)}function eD(n){return String.fromCharCode(n)}function Mue(n){return n==null?null:n.message}function Njn(){this.a=new X,this.b=new X}function Bjn(){this.a=new LH,this.b=new Wmn}function Rjn(){this.b=new Li,this.c=new X}function pU(){this.d=new Li,this.e=new Li}function vU(){this.n=new Li,this.o=new Li}function kE(){this.n=new i2,this.i=new d2}function _jn(){this.a=new m4n,this.b=new uwn}function Kjn(){this.a=new X,this.d=new X}function Hjn(){this.b=new fi,this.a=new fi}function qjn(){this.b=new we,this.a=new we}function Gjn(){this.b=new C8n,this.a=new ogn}function zjn(){kE.call(this),this.a=new Li}function T5(n){Jbe.call(this,n,(FC(),vR))}function mU(n,e,t,i){xE.call(this,n,e,t,i)}function Aue(n,e,t){t!=null&&JC(e,rx(n,t))}function Sue(n,e,t){t!=null&&YC(e,rx(n,t))}function kU(n,e,t){return t=ss(n,e,11,t),t}function st(n,e){return n.a+=e.a,n.b+=e.b,n}function ki(n,e){return n.a-=e.a,n.b-=e.b,n}function Pue(n,e){return n.n.a=(_n(e),e+10)}function Iue(n,e){return n.n.a=(_n(e),e+10)}function Oue(n,e){return e==n||o4(sM(e),n)}function Ujn(n,e){return it(n.a,e,"")==null}function Due(n,e){return H9(),!K3(e.d.i,n)}function $ue(n,e){tl(n.f)?Qme(n,e):Fve(n,e)}function Fue(n,e){var t;return t=e.Hh(n.a),t}function V0(n,e){vr.call(this,rm+n+Ra+e)}function g2(n,e,t,i){V.call(this,n,e,t,i)}function yU(n,e,t,i){V.call(this,n,e,t,i)}function Wjn(n,e,t,i){yU.call(this,n,e,t,i)}function Xjn(n,e,t,i){zE.call(this,n,e,t,i)}function tD(n,e,t,i){zE.call(this,n,e,t,i)}function jU(n,e,t,i){zE.call(this,n,e,t,i)}function Vjn(n,e,t,i){tD.call(this,n,e,t,i)}function EU(n,e,t,i){tD.call(this,n,e,t,i)}function Fn(n,e,t,i){jU.call(this,n,e,t,i)}function Qjn(n,e,t,i){EU.call(this,n,e,t,i)}function Jjn(n,e,t,i){yW.call(this,n,e,t,i)}function Yjn(n,e,t){this.a=n,Vz.call(this,e,t)}function Zjn(n,e,t){this.c=e,this.b=t,this.a=n}function xue(n,e,t){return n.d=u(e.Kb(t),164)}function CU(n,e){return n.Aj().Nh().Kh(n,e)}function TU(n,e){return n.Aj().Nh().Ih(n,e)}function nEn(n,e){return _n(n),B(n)===B(e)}function An(n,e){return _n(n),B(n)===B(e)}function iD(n,e){return nO(v$n(n.a,e,!1))}function rD(n,e){return nO(m$n(n.a,e,!1))}function Lue(n,e){return n.b.sd(new $7n(n,e))}function Nue(n,e){return n.b.sd(new F7n(n,e))}function eEn(n,e){return n.b.sd(new x7n(n,e))}function MU(n,e,t){return n.lastIndexOf(e,t)}function Bue(n,e,t){return Zt(n[e.b],n[t.b])}function Rue(n,e){return H(e,(nn(),Jk),n)}function _ue(n,e){return Uc(e.a.d.p,n.a.d.p)}function Kue(n,e){return Uc(n.a.d.p,e.a.d.p)}function Hue(n,e){return Zt(n.c-n.s,e.c-e.s)}function tEn(n){return n.c?Fr(n.c.a,n,0):-1}function que(n){return n<100?null:new Q1(n)}function p2(n){return n==td||n==jh||n==Ac}function iEn(n,e){return I(e,15)&&fBn(n.c,e)}function Gue(n,e){pf||e&&(n.d=e)}function cD(n,e){var t;return t=e,!!VV(n,t)}function AU(n,e){this.c=n,DD.call(this,n,e)}function rEn(n){this.c=n,FO.call(this,IM,0)}function cEn(n,e){Voe.call(this,n,n.length,e)}function zue(n,e,t){return u(n.c,69).lk(e,t)}function yE(n,e,t){return u(n.c,69).mk(e,t)}function Uue(n,e,t){return tue(n,u(e,332),t)}function SU(n,e,t){return iue(n,u(e,332),t)}function Wue(n,e,t){return ixn(n,u(e,332),t)}function uEn(n,e,t){return zve(n,u(e,332),t)}function M5(n,e){return e==null?null:ab(n.b,e)}function PU(n){return G0(n)?(_n(n),n):n.ke()}function jE(n){return!isNaN(n)&&!isFinite(n)}function sEn(n){Df(),this.a=(Pn(),new Wp(n))}function b8(n){h3(),this.d=n,this.a=new gw}function ks(n,e,t){this.a=n,this.b=e,this.c=t}function oEn(n,e,t){this.a=n,this.b=e,this.c=t}function fEn(n,e,t){this.d=n,this.b=t,this.a=e}function uD(n){jyn(this),_s(this),Vi(this,n)}function du(n){RO(this),GU(this.c,0,n.Pc())}function hEn(n){Uu(n.a),sPn(n.c,n.b),n.b=null}function lEn(n){this.a=n,Zf(),eu(Date.now())}function aEn(){aEn=N,Xin=new ou,XA=new ou}function sD(){sD=N,Rin=new rln,Izn=new cln}function dEn(){dEn=N,Bne=F(Zn,rn,1,0,5,1)}function bEn(){bEn=N,tee=F(Zn,rn,1,0,5,1)}function IU(){IU=N,iee=F(Zn,rn,1,0,5,1)}function Df(){Df=N,new Bq((Pn(),Pn(),cr))}function Xue(n){return FC(),$e((vPn(),$zn),n)}function Vue(n){return hf(),$e((NSn(),Rzn),n)}function Que(n){return $T(),$e((GAn(),zzn),n)}function Jue(n){return RC(),$e((zAn(),Uzn),n)}function Yue(n){return dM(),$e((OOn(),Wzn),n)}function Zue(n){return _o(),$e((FSn(),Qzn),n)}function nse(n){return Cu(),$e((xSn(),Yzn),n)}function ese(n){return Jc(),$e((LSn(),nUn),n)}function tse(n){return SM(),$e((Wkn(),EUn),n)}function ise(n){return Hd(),$e((kPn(),TUn),n)}function rse(n){return K2(),$e((yPn(),AUn),n)}function cse(n){return d6(),$e((jPn(),IUn),n)}function use(n){return Aj(),$e((jAn(),OUn),n)}function sse(n){return _C(),$e((UAn(),XUn),n)}function ose(n){return W5(),$e((BSn(),wWn),n)}function fse(n){return Qi(),$e((YPn(),mWn),n)}function hse(n){return G3(),$e((mPn(),CWn),n)}function lse(n){return qd(),$e((RSn(),IWn),n)}function OU(n,e){if(!n)throw T(new Hn(e))}function ase(n){return Qn(),$e((mIn(),FWn),n)}function DU(n){xE.call(this,n.d,n.c,n.a,n.b)}function oD(n){xE.call(this,n.d,n.c,n.a,n.b)}function $U(n,e,t){this.b=n,this.c=e,this.a=t}function EE(n,e,t){this.b=n,this.a=e,this.c=t}function wEn(n,e,t){this.a=n,this.b=e,this.c=t}function FU(n,e,t){this.a=n,this.b=e,this.c=t}function gEn(n,e,t){this.a=n,this.b=e,this.c=t}function xU(n,e,t){this.a=n,this.b=e,this.c=t}function pEn(n,e,t){this.b=n,this.a=e,this.c=t}function CE(n,e,t){this.e=e,this.b=n,this.d=t}function dse(n,e,t){return ca(),n.a.Od(e,t),e}function fD(n){var e;return e=new $ln,e.e=n,e}function LU(n){var e;return e=new n9n,e.b=n,e}function w8(){w8=N,sS=new xdn,oS=new Ldn}function wo(){wo=N,XWn=new vbn,VWn=new mbn}function bse(n){return aT(),$e((CPn(),qWn),n)}function wse(n){return ff(),$e((MPn(),YWn),n)}function gse(n){return lM(),$e((kOn(),uXn),n)}function pse(n){return q2(),$e((jIn(),sXn),n)}function vse(n){return OC(),$e((YAn(),oXn),n)}function mse(n){return F2(),$e((_Sn(),fXn),n)}function kse(n){return Vw(),$e((WPn(),nXn),n)}function yse(n){return Kd(),$e((qSn(),cXn),n)}function jse(n){return VC(),$e((KSn(),hXn),n)}function Ese(n){return Pa(),$e((zPn(),lXn),n)}function Cse(n){return V8(),$e((XAn(),aXn),n)}function Tse(n){return ya(),$e((HSn(),bXn),n)}function Mse(n){return eM(),$e((MIn(),wXn),n)}function Ase(n){return K8(),$e((VAn(),gXn),n)}function Sse(n){return A7(),$e((CIn(),pXn),n)}function Pse(n){return h4(),$e((EIn(),vXn),n)}function Ise(n){return or(),$e((UOn(),mXn),n)}function Ose(n){return q3(),$e((zSn(),kXn),n)}function Dse(n){return Nh(),$e((GSn(),jXn),n)}function $se(n){return kC(),$e((ZAn(),EXn),n)}function Fse(n){return Ss(),$e((XPn(),CXn),n)}function xse(n){return JT(),$e((TIn(),RQn),n)}function Lse(n){return i6(),$e((USn(),_Qn),n)}function Nse(n){return wb(),$e((APn(),KQn),n)}function Bse(n){return ur(),$e((VSn(),WQn),n)}function Rse(n){return Zw(),$e((mOn(),qQn),n)}function _se(n){return Rh(),$e((XSn(),GQn),n)}function Kse(n){return z8(),$e((JAn(),zQn),n)}function Hse(n){return oT(),$e((WSn(),XQn),n)}function qse(n){return b6(),$e((UPn(),HQn),n)}function Gse(n){return x8(),$e((QAn(),VQn),n)}function zse(n){return Q3(),$e((JSn(),QQn),n)}function Use(n){return uT(),$e((YSn(),JQn),n)}function Wse(n){return dT(),$e((QSn(),YQn),n)}function Xse(n){return _d(),$e((ZSn(),lJn),n)}function Vse(n){return z5(),$e((eSn(),gJn),n)}function Qse(n){return Ff(),$e((tSn(),EJn),n)}function Jse(n){return ef(),$e((iSn(),TJn),n)}function Yse(n){return No(),$e((nSn(),_Jn),n)}function Zse(n){return Id(),$e((rSn(),WJn),n)}function noe(n){return c4(),$e((EPn(),XJn),n)}function eoe(n){return k6(),$e((AIn(),QJn),n)}function toe(n){return aC(),$e((sSn(),hYn),n)}function ioe(n){return iT(),$e((uSn(),gYn),n)}function roe(n){return gC(),$e((cSn(),lYn),n)}function coe(n){return CT(),$e((nPn(),vYn),n)}function uoe(n){return $C(),$e((oSn(),mYn),n)}function soe(n){return f7(),$e((ePn(),kYn),n)}function ooe(n){return qT(),$e((TPn(),xYn),n)}function foe(n){return sT(),$e((iPn(),LYn),n)}function hoe(n){return ET(),$e((tPn(),NYn),n)}function loe(n){return g4(),$e((JPn(),iZn),n)}function aoe(n){return w7(),$e((rPn(),rZn),n)}function doe(n){return Pj(),$e((kAn(),cZn),n)}function boe(n){return Ij(),$e((mAn(),sZn),n)}function woe(n){return L8(),$e((hSn(),oZn),n)}function goe(n){return P7(),$e((VPn(),fZn),n)}function poe(n){return Jv(),$e((yAn(),TZn),n)}function voe(n){return c7(),$e((fSn(),MZn),n)}function moe(n){return Ho(),$e((QPn(),DZn),n)}function koe(n){return y1(),$e((yOn(),FZn),n)}function yoe(n){return oh(),$e((yIn(),xZn),n)}function joe(n){return vb(),$e((kIn(),KZn),n)}function Eoe(n){return rr(),$e((Xkn(),_Wn),n)}function Coe(n){return B3(),$e((WAn(),RWn),n)}function Toe(n){return sr(),$e((ZPn(),tne),n)}function Moe(n){return sf(),$e((uPn(),ine),n)}function Aoe(n){return Hh(),$e((IPn(),rne),n)}function Soe(n){return ZT(),$e((PIn(),cne),n)}function Poe(n){return _h(),$e((cPn(),sne),n)}function Ioe(n){return cs(),$e((PPn(),fne),n)}function Ooe(n){return jb(),$e((IOn(),hne),n)}function Doe(n){return qw(),$e((nIn(),lne),n)}function $oe(n){return Ti(),$e((wIn(),ane),n)}function Foe(n){return Tu(),$e((SIn(),dne),n)}function xoe(n){return Vu(),$e((DPn(),mne),n)}function Loe(n){return xu(),$e((WOn(),kne),n)}function Noe(n){return J(),$e((eIn(),bne),n)}function Boe(n){return AT(),$e((OPn(),yne),n)}function Roe(n){return Xu(),$e((SPn(),Cne),n)}function _oe(n){return d4(),$e((jOn(),Nne),n)}function Koe(n,e){return _n(n),n+(_n(e),e)}function Hoe(n,e){return Zf(),me(R(n.a),e)}function qoe(n,e){return Zf(),me(R(n.a),e)}function hD(n,e){this.c=n,this.a=e,this.b=e-n}function vEn(n,e,t){this.a=n,this.b=e,this.c=t}function NU(n,e,t){this.a=n,this.b=e,this.c=t}function BU(n,e,t){this.a=n,this.b=e,this.c=t}function mEn(n,e,t){this.a=n,this.b=e,this.c=t}function kEn(n,e,t){this.a=n,this.b=e,this.c=t}function s1(n,e,t){this.e=n,this.a=e,this.c=t}function yEn(n,e,t){ms(),QW.call(this,n,e,t)}function lD(n,e,t){ms(),FW.call(this,n,e,t)}function RU(n,e,t){ms(),FW.call(this,n,e,t)}function _U(n,e,t){ms(),FW.call(this,n,e,t)}function jEn(n,e,t){ms(),lD.call(this,n,e,t)}function KU(n,e,t){ms(),lD.call(this,n,e,t)}function EEn(n,e,t){ms(),KU.call(this,n,e,t)}function CEn(n,e,t){ms(),RU.call(this,n,e,t)}function TEn(n,e,t){ms(),_U.call(this,n,e,t)}function g8(n,e){return pe(n),pe(e),new U8n(n,e)}function v2(n,e){return pe(n),pe(e),new BEn(n,e)}function Goe(n,e){return pe(n),pe(e),new REn(n,e)}function zoe(n,e){return pe(n),pe(e),new X8n(n,e)}function u(n,e){return A5(n==null||WF(n,e)),n}function f3(n){var e;return e=new X,_$(e,n),e}function Uoe(n){var e;return e=new fi,_$(e,n),e}function MEn(n){var e;return e=new Wq,nF(e,n),e}function p8(n){var e;return e=new Ct,nF(e,n),e}function Woe(n){return!n.e&&(n.e=new X),n.e}function Xoe(n){return!n.c&&(n.c=new Bp),n.c}function W(n,e){return n.c[n.c.length]=e,!0}function AEn(n,e){this.c=n,this.b=e,this.a=!1}function HU(n){this.d=n,Dvn(this),this.b=_fe(n.d)}function SEn(){this.a=";,;",this.b="",this.c=""}function Voe(n,e,t){PCn.call(this,e,t),this.a=n}function PEn(n,e,t){this.b=n,qkn.call(this,e,t)}function qU(n,e,t){this.c=n,Nj.call(this,e,t)}function GU(n,e,t){aY(t,0,n,e,t.length,!1)}function eh(n,e,t,i,r){n.b=e,n.c=t,n.d=i,n.a=r}function Qoe(n,e){e&&(n.b=e,n.a=(fl(e),e.a))}function zU(n,e,t,i,r){n.d=e,n.c=t,n.a=i,n.b=r}function UU(n){var e,t;e=n.b,t=n.c,n.b=t,n.c=e}function WU(n){var e,t;t=n.d,e=n.a,n.d=e,n.a=t}function XU(n){return bl(the($r(n)?Ks(n):n))}function Joe(n,e){return Uc(zEn(n.d),zEn(e.d))}function Yoe(n,e){return e==(J(),Gn)?n.c:n.d}function h3(){h3=N,don=(J(),Gn),dP=Vn}function IEn(){this.b=K(Y(cn((Go(),xR))))}function OEn(n){return ca(),F(Zn,rn,1,n,5,1)}function Zoe(n){return new fn(n.c+n.b,n.d+n.a)}function nfe(n,e){return Sj(),Uc(n.d.p,e.d.p)}function aD(n){return ne(n.b!=0),Ts(n,n.a.a)}function efe(n){return ne(n.b!=0),Ts(n,n.c.b)}function VU(n,e){if(!n)throw T(new _9n(e))}function TE(n,e){if(!n)throw T(new Hn(e))}function QU(n,e,t){t3.call(this,n,e),this.b=t}function v8(n,e,t){lz.call(this,n,e),this.c=t}function DEn(n,e,t){fIn.call(this,e,t),this.d=n}function JU(n){IU(),Yy.call(this),this.th(n)}function $En(n,e,t){this.a=n,Ew.call(this,e,t)}function FEn(n,e,t){this.a=n,Ew.call(this,e,t)}function ME(n,e,t){lz.call(this,n,e),this.c=t}function xEn(){T3(),khe.call(this,(Z1(),uo))}function LEn(n){return n!=null&&!$F(n,a9,d9)}function tfe(n,e){return(zDn(n)<<4|zDn(e))&Ut}function ife(n,e){return QE(),ex(n,e),new fTn(n,e)}function sa(n,e){var t;n.n&&(t=e,W(n.f,t))}function l3(n,e,t){var i;i=new Z0(t),Ro(n,e,i)}function rfe(n,e){var t;return t=n.c,wV(n,e),t}function YU(n,e){return e<0?n.g=-1:n.g=e,n}function AE(n,e){return H0e(n),n.a*=e,n.b*=e,n}function NEn(n,e,t,i,r){n.c=e,n.d=t,n.b=i,n.a=r}function Ke(n,e){return Kt(n,e,n.c.b,n.c),!0}function ZU(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function dD(n){this.b=n,this.a=Ed(this.b.a).Ed()}function BEn(n,e){this.b=n,this.a=e,TI.call(this)}function REn(n,e){this.a=n,this.b=e,TI.call(this)}function _En(n,e){PCn.call(this,e,1040),this.a=n}function m8(n){return n==0||isNaN(n)?n:n<0?-1:1}function cfe(n){return C2(),fh(n)==At(ml(n))}function ufe(n){return C2(),ml(n)==At(fh(n))}function jd(n,e){return v6(n,new t3(e.a,e.b))}function sfe(n){return!Xi(n)&&n.c.i.c==n.d.i.c}function SE(n){var e;return e=n.n,n.a.b+e.d+e.a}function KEn(n){var e;return e=n.n,n.e.b+e.d+e.a}function nW(n){var e;return e=n.n,n.e.a+e.b+e.c}function HEn(n){return Je(),new th(0,n)}function ofe(n){return n.a?n.a:WD(n)}function A5(n){if(!n)throw T(new Up(null))}function qEn(){qEn=N,mH=(Pn(),new OI(XB))}function PE(){PE=N,new JQ((HI(),uR),(qI(),cR))}function GEn(){GEn=N,jin=F(Wi,q,19,256,0,1)}function bD(n,e,t,i){MQ.call(this,n,e,t,i,0,0)}function ffe(n,e,t){return it(n.b,u(t.b,17),e)}function hfe(n,e,t){return it(n.b,u(t.b,17),e)}function lfe(n,e){return W(n,new fn(e.a,e.b))}function afe(n,e){return n.c=e)throw T(new qq)}function Xfe(n,e,t){return Mt(e,0,rW(e[0],t[0])),e}function Vfe(n,e,t){e.Ye(t,K(Y(te(n.b,t)))*n.a)}function SCn(n,e,t){return eg(),R3(n,e)&&R3(n,t)}function D5(n){return Tu(),!n.Hc(n1)&&!n.Hc(Gl)}function qE(n){return new fn(n.c+n.b/2,n.d+n.a/2)}function MD(n,e){return e.kh()?pl(n.b,u(e,49)):e}function kW(n,e){this.e=n,this.d=e&64?e|Nf:e}function PCn(n,e){this.c=0,this.d=n,this.b=e|64|Nf}function GE(n){this.b=new Pc(11),this.a=(Ow(),n)}function AD(n){this.b=null,this.a=(Ow(),n||Lin)}function ICn(n){this.a=Z$n(n.a),this.b=new du(n.b)}function OCn(n){this.b=n,b2.call(this,n),Fyn(this)}function DCn(n){this.b=n,u8.call(this,n),xyn(this)}function Y0(n,e,t){this.a=n,g2.call(this,e,t,5,6)}function yW(n,e,t,i){this.b=n,Jt.call(this,e,t,i)}function wi(n,e,t,i,r){D$.call(this,n,e,t,i,r,-1)}function $5(n,e,t,i,r){R8.call(this,n,e,t,i,r,-1)}function V(n,e,t,i){Jt.call(this,n,e,t),this.b=i}function zE(n,e,t,i){v8.call(this,n,e,t),this.b=i}function $Cn(n){Lkn.call(this,n,!1),this.a=!1}function FCn(n,e){this.b=n,wvn.call(this,n.b),this.a=e}function xCn(n,e){nb(),Yie.call(this,n,mT(new Ku(e)))}function UE(n,e){return Je(),new xW(n,e,0)}function SD(n,e){return Je(),new xW(6,n,e)}function Qfe(n,e){return An(n.substr(0,e.length),e)}function zu(n,e){return mi(e)?QD(n,e):!!Ar(n.f,e)}function Oi(n,e){for(_n(e);n.Ob();)e.td(n.Pb())}function Pw(n,e,t){jl(),this.e=n,this.d=e,this.a=t}function o1(n,e,t,i){var r;r=n.i,r.i=e,r.a=t,r.b=i}function jW(n){var e;for(e=n;e.f;)e=e.f;return e}function y2(n){var e;return e=t6(n),ne(e!=null),e}function Jfe(n){var e;return e=Lge(n),ne(e!=null),e}function d3(n,e){var t;return t=n.a.gc(),$X(e,t),t-e}function EW(n,e){var t;for(t=0;t0?j.Math.log(n/e):-100}function LCn(n,e){return fc(n,e)<0?-1:fc(n,e)>0?1:0}function SW(n,e,t){return ARn(n,u(e,46),u(t,167))}function NCn(n,e){return u(vW(Ed(n.a)).Xb(e),42).cd()}function uhe(n,e){return P0e(e,n.length),new _En(n,e)}function DD(n,e){this.d=n,ie.call(this,n),this.e=e}function Cd(n){this.d=(_n(n),n),this.a=0,this.c=IM}function PW(n,e){cd.call(this,1),this.a=n,this.b=e}function BCn(n,e){return n.c?BCn(n.c,e):W(n.b,e),n}function she(n,e,t){var i;return i=ub(n,e),g$(n,e,t),i}function IW(n,e){var t;return t=n.slice(0,e),WX(t,n)}function RCn(n,e,t){var i;for(i=0;i=n.g}function KD(n,e,t){var i;return i=Y$(n,e,t),rZ(n,i)}function j2(n,e){var t;t=n.a.length,ub(n,t),g$(n,t,e)}function nTn(n,e){var t;t=console[n],t.call(console,e)}function eTn(n,e){var t;++n.j,t=n.Vi(),n.Ii(n.oi(t,e))}function mhe(n,e,t){u(e.b,65),Yc(e.a,new NU(n,t,e))}function FW(n,e,t){uj.call(this,e),this.a=n,this.b=t}function xW(n,e,t){cd.call(this,n),this.a=e,this.b=t}function LW(n,e,t){this.a=n,xq.call(this,e),this.b=t}function tTn(n,e,t){this.a=n,aX.call(this,8,e,null,t)}function khe(n){this.a=(_n(xe),xe),this.b=n,new tG}function iTn(n){this.c=n,this.b=this.c.a,this.a=this.c.e}function NW(n){this.c=n,this.b=n.a.d.a,rU(n.a.e,this)}function Uu(n){z0(n.c!=-1),n.d.$c(n.c),n.b=n.c,n.c=-1}function L5(n){return j.Math.sqrt(n.a*n.a+n.b*n.b)}function Md(n,e){return a3(e,n.a.c.length),un(n.a,e)}function $f(n,e){return B(n)===B(e)||n!=null&&tt(n,e)}function yhe(n){return 0>=n?new PG:sbe(n-1)}function jhe(n){return aw?QD(aw,n):!1}function rTn(n){return n?n.dc():!n.Kc().Ob()}function Gi(n){return!n.a&&n.c?n.c.b:n.a}function Ehe(n){return!n.a&&(n.a=new Jt(zl,n,4)),n.a}function Ad(n){return!n.d&&(n.d=new Jt(ar,n,1)),n.d}function _n(n){if(n==null)throw T(new Nv);return n}function N5(n){n.c?n.c.He():(n.d=!0,S8e(n))}function fl(n){n.c?fl(n.c):(Ta(n),n.d=!0)}function cTn(n){KW(n.a),n.b=F(Zn,rn,1,n.b.length,5,1)}function Che(n,e){return Uc(e.j.c.length,n.j.c.length)}function The(n,e){n.c<0||n.b.b=0?n.Bh(t):bY(n,e)}function uTn(n){var e,t;return e=n.c.i.c,t=n.d.i.c,e==t}function Ahe(n){if(n.p!=4)throw T(new fu);return n.e}function She(n){if(n.p!=3)throw T(new fu);return n.e}function Phe(n){if(n.p!=6)throw T(new fu);return n.f}function Ihe(n){if(n.p!=6)throw T(new fu);return n.k}function Ohe(n){if(n.p!=3)throw T(new fu);return n.j}function Dhe(n){if(n.p!=4)throw T(new fu);return n.j}function BW(n){return!n.b&&(n.b=new sj(new KI)),n.b}function Sd(n){return n.c==-2&&Pte(n,Qve(n.g,n.b)),n.c}function g3(n,e){var t;return t=LD("",n),t.n=e,t.i=1,t}function $he(n,e){yD(u(e.b,65),n),Yc(e.a,new Aq(n))}function Fhe(n,e){me((!n.a&&(n.a=new l8(n,n)),n.a),e)}function sTn(n,e){this.b=n,DD.call(this,n,e),Fyn(this)}function oTn(n,e){this.b=n,AU.call(this,n,e),xyn(this)}function RW(n,e,t,i){bd.call(this,n,e),this.d=t,this.a=i}function VE(n,e,t,i){bd.call(this,n,t),this.a=e,this.f=i}function fTn(n,e){bce.call(this,obe(pe(n),pe(e))),this.a=e}function hTn(){UJ.call(this,Ka,(d8n(),lee)),tEe(this)}function lTn(){UJ.call(this,Vs,(Qp(),g1n)),lje(this)}function aTn(){Oe.call(this,"DELAUNAY_TRIANGULATION",0)}function xhe(n){return String.fromCharCode.apply(null,n)}function it(n,e,t){return mi(e)?kr(n,e,t):_c(n.f,e,t)}function _W(n){return Pn(),n?n.ve():(Ow(),Ow(),Bin)}function Lhe(n,e,t){return L2(),t.pg(n,u(e.cd(),146))}function dTn(n,e){return PE(),new JQ(new Xyn(n),new Wyn(e))}function Nhe(n){return is(n,AL),KC(qi(qi(5,n),n/10|0))}function QE(){QE=N,hzn=new GI(A(M(Ha,1),OM,42,0,[]))}function bTn(n){return!n.d&&(n.d=new _p(n.c.Cc())),n.d}function p3(n){return!n.a&&(n.a=new X9n(n.c.vc())),n.a}function wTn(n){return!n.b&&(n.b=new Wp(n.c.ec())),n.b}function rh(n,e){for(;e-- >0;)n=n<<1|(n<0?1:0);return n}function pc(n,e){return B(n)===B(e)||n!=null&&tt(n,e)}function Bhe(n,e){return qn(),u(e.b,19).ai&&++i,i}function Oh(n){var e,t;return t=(e=new ud,e),O3(t,n),t}function UD(n){var e,t;return t=(e=new ud,e),VJ(t,n),t}function Zhe(n,e){var t;return t=te(n.f,e),MV(e,t),null}function WD(n){var e;return e=hbe(n),e||null}function TTn(n){return!n.b&&(n.b=new V(di,n,12,3)),n.b}function n1e(n){return n!=null&&_9(tI,n.toLowerCase())}function e1e(n,e){return Zt(bu(n)*Gu(n),bu(e)*Gu(e))}function t1e(n,e){return Zt(bu(n)*Gu(n),bu(e)*Gu(e))}function i1e(n,e){return Zt(n.d.c+n.d.b/2,e.d.c+e.d.b/2)}function r1e(n,e){return Zt(n.g.c+n.g.b/2,e.g.c+e.g.b/2)}function MTn(n,e,t){t.a?nu(n,e.b-n.f/2):Zc(n,e.a-n.g/2)}function ATn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function STn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function ha(n,e,t,i){this.e=n,this.a=e,this.c=t,this.d=i}function PTn(n,e,t,i){this.a=n,this.c=e,this.d=t,this.b=i}function ITn(n,e,t,i){ms(),jSn.call(this,e,t,i),this.a=n}function OTn(n,e,t,i){ms(),jSn.call(this,e,t,i),this.a=n}function DTn(n,e){this.a=n,hue.call(this,n,u(n.d,15).Zc(e))}function XD(n){this.f=n,this.c=this.f.e,n.f>0&&GFn(this)}function $Tn(n,e,t,i){this.b=n,this.c=i,FO.call(this,e,t)}function FTn(n){return ne(n.b=0&&An(n.substr(t,e.length),e)}function hl(n,e,t,i,r,c,o){return new v$(n.e,e,t,i,r,c,o)}function JTn(n,e,t,i,r,c){this.a=n,z$.call(this,e,t,i,r,c)}function YTn(n,e,t,i,r,c){this.a=n,z$.call(this,e,t,i,r,c)}function ZTn(n,e){this.g=n,this.d=A(M(vh,1),E1,10,0,[e])}function f1(n,e){this.e=n,this.a=Zn,this.b=jBn(e),this.c=e}function nMn(n,e){kE.call(this),eV(this),this.a=n,this.c=e}function M8(n,e,t,i){Mt(n.c[e.g],t.g,i),Mt(n.c[t.g],e.g,i)}function ZD(n,e,t,i){Mt(n.c[e.g],e.g,t),Mt(n.b[e.g],e.g,i)}function M1e(){return x8(),A(M(ron,1),z,376,0,[uK,iy])}function A1e(){return K8(),A(M(Qcn,1),z,479,0,[Vcn,xS])}function S1e(){return V8(),A(M(Wcn,1),z,419,0,[$S,Ucn])}function P1e(){return OC(),A(M(Rcn,1),z,422,0,[Bcn,s_])}function I1e(){return kC(),A(M(fun,1),z,420,0,[j_,oun])}function O1e(){return z8(),A(M(non,1),z,421,0,[iK,rK])}function D1e(){return z5(),A(M(wJn,1),z,523,0,[Hm,Km])}function $1e(){return No(),A(M(RJn,1),z,520,0,[tw,Bl])}function F1e(){return Ff(),A(M(jJn,1),z,516,0,[M0,I1])}function x1e(){return ef(),A(M(CJn,1),z,515,0,[Ja,kf])}function L1e(){return Id(),A(M(UJn,1),z,455,0,[Rl,Lg])}function N1e(){return gC(),A(M(Son,1),z,425,0,[yK,Aon])}function B1e(){return aC(),A(M(Mon,1),z,480,0,[kK,Ton])}function R1e(){return iT(),A(M(Pon,1),z,495,0,[EP,mv])}function _1e(){return $C(),A(M(Oon,1),z,426,0,[Ion,TK])}function K1e(){return c7(),A(M(Ffn,1),z,429,0,[DP,$fn])}function H1e(){return L8(),A(M(afn,1),z,430,0,[FK,IP])}function q1e(){return $T(),A(M(Jin,1),z,428,0,[yR,Qin])}function G1e(){return RC(),A(M(Zin,1),z,427,0,[Yin,jR])}function z1e(){return _C(),A(M(Arn,1),z,424,0,[$R,tS])}function U1e(){return B3(),A(M(BWn,1),z,511,0,[_k,UR])}function sC(n,e,t,i){return t>=0?n.jh(e,t,i):n.Sg(null,t,i)}function n$(n){return n.b.b==0?n.a.$e():aD(n.b)}function W1e(n){if(n.p!=5)throw T(new fu);return ge(n.f)}function X1e(n){if(n.p!=5)throw T(new fu);return ge(n.k)}function VW(n){return B(n.a)===B((eF(),gH))&&Vje(n),n.a}function eMn(n){this.a=u(pe(n),271),this.b=(Pn(),new Hz(n))}function tMn(n,e){bte(this,new fn(n.a,n.b)),wte(this,p8(e))}function Id(){Id=N,Rl=new iz(Y2,0),Lg=new iz(Z2,1)}function Ff(){Ff=N,M0=new ez(Z2,0),I1=new ez(Y2,1)}function Od(){rie.call(this,new s2(sb(12))),Bz(!0),this.a=2}function e$(n,e,t){Je(),cd.call(this,n),this.b=e,this.a=t}function QW(n,e,t){ms(),uj.call(this,e),this.a=n,this.b=t}function iMn(n){kE.call(this),eV(this),this.a=n,this.c=!0}function rMn(n){var e;e=n.c.d.b,n.b=e,n.a=n.c.d,e.a=n.c.d.b=n}function oC(n){var e;ebe(n.a),wyn(n.a),e=new tj(n.a),TQ(e)}function V1e(n,e){dBn(n,!0),Yc(n.e.wf(),new $U(n,!0,e))}function fC(n,e){return NAn(e),Y0e(n,F(be,Le,25,e,15,1),e)}function Q1e(n,e){return C2(),n==At(fh(e))||n==At(ml(e))}function vc(n,e){return e==null?Vr(Ar(n.f,null)):n5(n.g,e)}function J1e(n){return n.b==0?null:(ne(n.b!=0),Ts(n,n.a.a))}function Gt(n){return Math.max(Math.min(n,nt),-2147483648)|0}function Y1e(n,e){var t=lR[n.charCodeAt(0)];return t??n}function hC(n,e){return tC(n,"set1"),tC(e,"set2"),new n7n(n,e)}function Z1e(n,e){var t;return t=W0e(n.f,e),st(vE(t),n.f.d)}function R5(n,e){var t,i;return t=e,i=new dI,e_n(n,t,i),i.d}function t$(n,e,t,i){var r;r=new zjn,e.a[t.g]=r,m2(n.b,i,r)}function JW(n,e,t){var i;i=n.Yg(e),i>=0?n.sh(i,t):_Y(n,e,t)}function Dw(n,e,t){dC(),n&&it(dH,n,e),n&&it($y,n,t)}function cMn(n,e,t){this.i=new X,this.b=n,this.g=e,this.a=t}function lC(n,e,t){this.c=new X,this.e=n,this.f=e,this.b=t}function YW(n,e,t){this.a=new X,this.e=n,this.f=e,this.c=t}function uMn(n,e){oE(this),this.f=e,this.g=n,eC(this),this._d()}function A8(n,e){var t;t=n.q.getHours(),n.q.setDate(e),S6(n,t)}function sMn(n,e){var t;for(pe(e),t=n.a;t;t=t.c)e.Od(t.g,t.i)}function oMn(n){var e;return e=new kj(sb(n.length)),qV(e,n),e}function nle(n){function e(){}return e.prototype=n||{},new e}function ele(n,e){return NOn(n,e)?(xIn(n),!0):!1}function Dh(n,e){if(e==null)throw T(new Nv);return Y2e(n,e)}function tle(n){if(n.qe())return null;var e=n.n;return RA[e]}function S8(n){return n.Db>>16!=3?null:u(n.Cb,33)}function nf(n){return n.Db>>16!=9?null:u(n.Cb,33)}function fMn(n){return n.Db>>16!=6?null:u(n.Cb,79)}function hMn(n){return n.Db>>16!=7?null:u(n.Cb,235)}function lMn(n){return n.Db>>16!=7?null:u(n.Cb,160)}function At(n){return n.Db>>16!=11?null:u(n.Cb,33)}function aMn(n,e){var t;return t=n.Yg(e),t>=0?n.lh(t):Ox(n,e)}function dMn(n,e){var t;return t=new iW(e),bxn(t,n),new du(t)}function ZW(n){var e;return e=n.d,e=n.si(n.f),me(n,e),e.Ob()}function bMn(n,e){return n.b+=e.b,n.c+=e.c,n.d+=e.d,n.a+=e.a,n}function i$(n,e){return j.Math.abs(n)0}function wMn(){this.a=new Sh,this.e=new fi,this.g=0,this.i=0}function gMn(n){this.a=n,this.b=F(aJn,q,1944,n.e.length,0,2)}function r$(n,e,t){var i;i=iDn(n,e,t),n.b=new tT(i.c.length)}function ef(){ef=N,Ja=new nz(hN,0),kf=new nz("UP",1)}function aC(){aC=N,kK=new rz(IHn,0),Ton=new rz("FAN",1)}function dC(){dC=N,dH=new we,$y=new we,Ere(Szn,new U2n)}function rle(n){if(n.p!=0)throw T(new fu);return b5(n.f,0)}function cle(n){if(n.p!=0)throw T(new fu);return b5(n.k,0)}function pMn(n){return n.Db>>16!=3?null:u(n.Cb,147)}function y3(n){return n.Db>>16!=6?null:u(n.Cb,235)}function eb(n){return n.Db>>16!=17?null:u(n.Cb,26)}function vMn(n,e){var t=n.a=n.a||[];return t[e]||(t[e]=n.le(e))}function ule(n,e){var t;return t=n.a.get(e),t??new Array}function sle(n,e){var t;t=n.q.getHours(),n.q.setMonth(e),S6(n,t)}function kr(n,e,t){return e==null?_c(n.f,null,t):Gd(n.g,e,t)}function _5(n,e,t,i,r,c){return new Lh(n.e,e,n.aj(),t,i,r,c)}function P8(n,e,t){return n.a=Yu(n.a,0,e)+(""+t)+r8(n.a,e),n}function ole(n,e,t){return W(n.a,(QE(),ex(e,t),new bd(e,t))),n}function nX(n){return _z(n.c),n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function mMn(n){return _z(n.e),n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function Ei(n,e){n.d&&Qc(n.d.e,n),n.d=e,n.d&&W(n.d.e,n)}function Hi(n,e){n.c&&Qc(n.c.g,n),n.c=e,n.c&&W(n.c.g,n)}function yr(n,e){n.c&&Qc(n.c.a,n),n.c=e,n.c&&W(n.c.a,n)}function Hr(n,e){n.i&&Qc(n.i.j,n),n.i=e,n.i&&W(n.i.j,n)}function kMn(n,e,t){this.a=e,this.c=n,this.b=(pe(t),new du(t))}function yMn(n,e,t){this.a=e,this.c=n,this.b=(pe(t),new du(t))}function jMn(n,e){this.a=n,this.c=Qr(this.a),this.b=new uC(e)}function fle(n){var e;return Ta(n),e=new fi,gt(n,new Qvn(e))}function tb(n,e){if(n<0||n>e)throw T(new vr(cnn+n+unn+e))}function eX(n,e){return aCn(n.a,e)?TW(n,u(e,22).g,null):null}function hle(n){return yF(),qn(),u(n.a,81).d.e!=0}function EMn(){EMn=N,dzn=Fe((aj(),A(M(azn,1),z,538,0,[fR])))}function CMn(){CMn=N,ZQn=ju(new hi,(Qi(),Ir),(rr(),Kk))}function tX(){tX=N,nJn=ju(new hi,(Qi(),Ir),(rr(),Kk))}function TMn(){TMn=N,tJn=ju(new hi,(Qi(),Ir),(rr(),Kk))}function MMn(){MMn=N,pJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function Zu(){Zu=N,kJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function AMn(){AMn=N,yJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function c$(){c$=N,MJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function SMn(){SMn=N,aYn=ju(new hi,(c4(),Gm),(k6(),lK))}function aa(n,e,t,i){this.c=n,this.d=i,s$(this,e),o$(this,t)}function M2(n){this.c=new Ct,this.b=n.b,this.d=n.c,this.a=n.a}function u$(n){this.a=j.Math.cos(n),this.b=j.Math.sin(n)}function s$(n,e){n.a&&Qc(n.a.k,n),n.a=e,n.a&&W(n.a.k,n)}function o$(n,e){n.b&&Qc(n.b.f,n),n.b=e,n.b&&W(n.b.f,n)}function PMn(n,e){mhe(n,n.b,n.c),u(n.b.b,65),e&&u(e.b,65).b}function lle(n,e){vQ(n,e),I(n.Cb,88)&&yb(Iu(u(n.Cb,88)),2)}function f$(n,e){I(n.Cb,88)&&yb(Iu(u(n.Cb,88)),4),Ic(n,e)}function bC(n,e){I(n.Cb,179)&&(u(n.Cb,179).tb=null),Ic(n,e)}function mc(n,e){return er(),R$(e)?new IE(e,n):new i8(e,n)}function ale(n,e){var t,i;t=e.c,i=t!=null,i&&j2(n,new Z0(e.c))}function IMn(n){var e,t;return t=(Qp(),e=new ud,e),O3(t,n),t}function OMn(n){var e,t;return t=(Qp(),e=new ud,e),O3(t,n),t}function DMn(n,e){var t;return t=new Rs(n),e.c[e.c.length]=t,t}function $Mn(n,e){var t;return t=u(ab(T2(n.a),e),14),t?t.gc():0}function FMn(n){var e;return Ta(n),e=(Ow(),Ow(),Nin),qC(n,e)}function xMn(n){for(var e;;)if(e=n.Pb(),!n.Ob())return e}function iX(n,e){tie.call(this,new s2(sb(n))),is(e,X_n),this.a=e}function ch(n,e,t){HDn(e,t,n.gc()),this.c=n,this.a=e,this.b=t-e}function LMn(n,e,t){var i;HDn(e,t,n.c.length),i=t-e,AG(n.c,e,i)}function dle(n,e){$yn(n,ge(ci(cl(e,24),FM)),ge(ci(e,FM)))}function Ln(n,e){if(n<0||n>=e)throw T(new vr(cnn+n+unn+e))}function Me(n,e){if(n<0||n>=e)throw T(new wG(cnn+n+unn+e))}function xn(n,e){this.b=(_n(n),n),this.a=e&Ib?e:e|64|Nf}function NMn(n){byn(this),Xmn(this.a,KV(j.Math.max(8,n))<<1)}function tf(n){return Gr(A(M(ai,1),q,8,0,[n.i.n,n.n,n.a]))}function ble(){return hf(),A(M(Nu,1),z,132,0,[Win,hs,Rb])}function wle(){return _o(),A(M(_b,1),z,232,0,[Zr,Fc,nc])}function gle(){return Cu(),A(M(Jzn,1),z,461,0,[Xf,Ol,Co])}function ple(){return Jc(),A(M(Zzn,1),z,462,0,[Wo,Dl,To])}function vle(){return qd(),A(M(zrn,1),z,423,0,[yg,Grn,qR])}function mle(){return W5(),A(M(Krn,1),z,379,0,[NR,LR,BR])}function kle(){return i6(),A(M(Gsn,1),z,378,0,[J_,qsn,oP])}function yle(){return F2(),A(M(Kcn,1),z,314,0,[ap,qk,_cn])}function jle(){return VC(),A(M(qcn,1),z,337,0,[Hcn,DS,o_])}function Ele(){return ya(),A(M(dXn,1),z,450,0,[l_,cv,Tg])}function Cle(){return Kd(),A(M(YR,1),z,361,0,[g0,Fl,w0])}function Tle(){return Nh(),A(M(yXn,1),z,303,0,[zk,Ag,dp])}function Mle(){return q3(),A(M(y_,1),z,292,0,[m_,k_,Gk])}function Ale(){return ur(),A(M(UQn,1),z,452,0,[Bm,Au,xc])}function Sle(){return Rh(),A(M(Zsn,1),z,339,0,[Nl,Ysn,tK])}function Ple(){return oT(),A(M(ion,1),z,375,0,[eon,cK,ton])}function Ile(){return dT(),A(M(hon,1),z,377,0,[fK,pv,ew])}function Ole(){return Q3(),A(M(uon,1),z,336,0,[sK,con,Rm])}function Dle(){return uT(),A(M(fon,1),z,338,0,[oon,oK,son])}function $le(){return _d(),A(M(hJn,1),z,454,0,[ry,_m,aP])}function Fle(){return CT(),A(M(pYn,1),z,442,0,[CK,jK,EK])}function xle(){return f7(),A(M(Fon,1),z,380,0,[CP,Don,$on])}function Lle(){return ET(),A(M(Yon,1),z,381,0,[Jon,IK,Qon])}function Nle(){return sT(),A(M(Xon,1),z,293,0,[PK,Won,Uon])}function Ble(){return w7(),A(M(OK,1),z,437,0,[AP,SP,PP])}function Rle(){return _h(),A(M(Khn,1),z,334,0,[HP,F1,i9])}function _le(){return sf(),A(M(Phn,1),z,272,0,[jv,cw,Ev])}function Kle(n,e){return o9e(n,e,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function Hle(n,e,t){var i;return i=O6(n,e,!1),i.b<=e&&i.a<=t}function BMn(n,e,t){var i;i=new Ywn,i.b=e,i.a=t,++e.b,W(n.d,i)}function qle(n,e){var t;return t=(_n(n),n).g,Yz(!!t),_n(e),t(e)}function rX(n,e){var t,i;return i=d3(n,e),t=n.a.Zc(i),new Z8n(n,t)}function Gle(n){return n.Db>>16!=6?null:u(Fx(n),235)}function zle(n){if(n.p!=2)throw T(new fu);return ge(n.f)&Ut}function Ule(n){if(n.p!=2)throw T(new fu);return ge(n.k)&Ut}function Wle(n){return n.a==(T3(),uI)&&Ste(n,C9e(n.g,n.b)),n.a}function A2(n){return n.d==(T3(),uI)&&Ite(n,pke(n.g,n.b)),n.d}function y(n){return ne(n.ai?1:0}function RMn(n,e){var t,i;return t=F$(e),i=t,u(te(n.c,i),19).a}function _Mn(n,e){var t;for(t=n+"";t.length0&&n.a[--n.d]==0;);n.a[n.d++]==0&&(n.e=0)}function cAn(n){return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function rae(n){return!!n.a&&Ou(n.a.a).i!=0&&!(n.b&&YF(n.b))}function cae(n){return!!n.u&&bc(n.u.a).i!=0&&!(n.n&&JF(n.n))}function uAn(n){return gD(n.e.Hd().gc()*n.c.Hd().gc(),16,new ivn(n))}function uae(n,e){return LCn(eu(n.q.getTime()),eu(e.q.getTime()))}function xf(n){return u(lf(n,F(GR,MN,17,n.c.length,0,1)),474)}function I8(n){return u(lf(n,F(vh,E1,10,n.c.length,0,1)),193)}function sae(n){return Zu(),!Xi(n)&&!(!Xi(n)&&n.c.i.c==n.d.i.c)}function sAn(n,e,t){var i;i=(pe(n),new du(n)),N3e(new kMn(i,e,t))}function O8(n,e,t){var i;i=(pe(n),new du(n)),B3e(new yMn(i,e,t))}function oAn(n,e){var t;return t=1-e,n.a[t]=eT(n.a[t],t),eT(n,e)}function fAn(n,e){var t;n.e=new oG,t=Cb(e),bi(t,n.c),tBn(n,t,0)}function Ci(n,e,t,i){var r;r=new XH,r.a=e,r.b=t,r.c=i,Ke(n.a,r)}function Z(n,e,t,i){var r;r=new XH,r.a=e,r.b=t,r.c=i,Ke(n.b,r)}function po(n){var e,t,i;return e=new qCn,t=Zx(e,n),UEe(e),i=t,i}function hX(){var n,e,t;return e=(t=(n=new ud,n),t),W(M1n,e),e}function pC(n){return n.j.c=F(Zn,rn,1,0,5,1),KW(n.c),Khe(n.a),n}function $w(n){return Qv(),I(n.g,10)?u(n.g,10):null}function oae(n){return Iw(n).dc()?!1:(sce(n,new Np),!0)}function fae(n){if(!("stack"in n))try{throw n}catch{}return n}function D8(n,e){if(n<0||n>=e)throw T(new vr(j6e(n,e)));return n}function hAn(n,e,t){if(n<0||et)throw T(new vr(W5e(n,e,t)))}function d$(n,e){if(ri(n.a,e),e.d)throw T(new _r(gKn));e.d=n}function b$(n,e){if(e.$modCount!=n.$modCount)throw T(new vs)}function lAn(n,e){return I(e,42)?ix(n.a,u(e,42)):!1}function aAn(n,e){return I(e,42)?ix(n.a,u(e,42)):!1}function dAn(n,e){return I(e,42)?ix(n.a,u(e,42)):!1}function hae(n,e){return n.a<=n.b?(e.ud(n.a++),!0):!1}function $d(n){var e;return $r(n)?(e=n,e==-0?0:e):m0e(n)}function vC(n){var e;return fl(n),e=new hln,vw(n.a,new Xvn(e)),e}function bAn(n){var e;return fl(n),e=new fln,vw(n.a,new Wvn(e)),e}function Ii(n,e){this.a=n,$v.call(this,n),tb(e,n.gc()),this.b=e}function lX(n){this.e=n,this.b=this.e.a.entries(),this.a=new Array}function lae(n){return gD(n.e.Hd().gc()*n.c.Hd().gc(),273,new tvn(n))}function mC(n){return new Pc((is(n,AL),KC(qi(qi(5,n),n/10|0))))}function wAn(n){return u(lf(n,F(xWn,WKn,11,n.c.length,0,1)),1943)}function aae(n,e,t){return t.f.c.length>0?SW(n.a,e,t):SW(n.b,e,t)}function dae(n,e,t){n.d&&Qc(n.d.e,n),n.d=e,n.d&&Q0(n.d.e,t,n)}function w$(n,e){uTe(e,n),WU(n.d),WU(u(k(n,(nn(),eP)),207))}function H5(n,e){cTe(e,n),UU(n.d),UU(u(k(n,(nn(),eP)),207))}function Fd(n,e){var t,i;return t=Dh(n,e),i=null,t&&(i=t.fe()),i}function j3(n,e){var t,i;return t=ub(n,e),i=null,t&&(i=t.ie()),i}function q5(n,e){var t,i;return t=Dh(n,e),i=null,t&&(i=t.ie()),i}function $h(n,e){var t,i;return t=Dh(n,e),i=null,t&&(i=tY(t)),i}function bae(n,e,t){var i;return i=i4(t),gM(n.g,i,e),gM(n.i,e,t),e}function wae(n,e,t){var i;i=q2e();try{return kue(n,e,t)}finally{Mae(i)}}function gAn(n){var e;e=n.Wg(),this.a=I(e,69)?u(e,69).Zh():e.Kc()}function hi(){I9n.call(this),this.j.c=F(Zn,rn,1,0,5,1),this.a=-1}function aX(n,e,t,i){this.d=n,this.n=e,this.g=t,this.o=i,this.p=-1}function pAn(n,e,t,i){this.e=i,this.d=null,this.c=n,this.a=e,this.b=t}function dX(n,e,t){this.d=new c6n(this),this.e=n,this.i=e,this.f=t}function kC(){kC=N,j_=new QG(I4,0),oun=new QG("TOP_LEFT",1)}function vAn(){vAn=N,aon=dTn(Q(1),Q(4)),lon=dTn(Q(1),Q(2))}function mAn(){mAn=N,sZn=Fe((Ij(),A(M(uZn,1),z,551,0,[$K])))}function kAn(){kAn=N,cZn=Fe((Pj(),A(M(lfn,1),z,482,0,[DK])))}function yAn(){yAn=N,TZn=Fe((Jv(),A(M(Dfn,1),z,530,0,[hy])))}function jAn(){jAn=N,OUn=Fe((Aj(),A(M(krn,1),z,481,0,[SR])))}function gae(){return Hd(),A(M(CUn,1),z,406,0,[Ok,Ik,MR,AR])}function pae(){return FC(),A(M(WA,1),z,297,0,[vR,qin,Gin,zin])}function vae(){return d6(),A(M(PUn,1),z,394,0,[Lk,YA,ZA,Nk])}function mae(){return K2(),A(M(MUn,1),z,323,0,[$k,Dk,Fk,xk])}function kae(){return G3(),A(M(EWn,1),z,405,0,[b0,Hb,Kb,kg])}function yae(){return aT(),A(M(HWn,1),z,360,0,[QR,TS,MS,Hk])}function EAn(n,e,t,i){return I(t,54)?new fjn(n,e,t,i):new pW(n,e,t,i)}function jae(){return ff(),A(M(JWn,1),z,411,0,[lp,nv,ev,JR])}function Eae(n){var e;return n.j==(J(),ae)&&(e=zLn(n),au(e,Vn))}function Cae(n,e){var t;t=e.a,Hi(t,e.c.d),Ei(t,e.d.d),fb(t.a,n.n)}function CAn(n,e){return u(yd(KE(u(ct(n.k,e),15).Oc(),jg)),113)}function TAn(n,e){return u(yd(HE(u(ct(n.k,e),15).Oc(),jg)),113)}function Tae(n){return new xn(jbe(u(n.a.dd(),14).gc(),n.a.cd()),16)}function E3(n){return I(n,14)?u(n,14).dc():!n.Kc().Ob()}function S2(n){return Qv(),I(n.g,145)?u(n.g,145):null}function MAn(n){if(n.e.g!=n.b)throw T(new vs);return!!n.c&&n.d>0}function Re(n){return ne(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function bX(n,e){_n(e),Mt(n.a,n.c,e),n.c=n.c+1&n.a.length-1,AFn(n)}function ll(n,e){_n(e),n.b=n.b-1&n.a.length-1,Mt(n.a,n.b,e),AFn(n)}function AAn(n,e){var t;for(t=n.j.c.length;t0&&gc(n.g,0,e,0,n.i),e}function OAn(n,e){$j();var t;return t=u(te(eI,n),55),!t||t.wj(e)}function Bae(n){if(n.p!=1)throw T(new fu);return ge(n.f)<<24>>24}function Rae(n){if(n.p!=1)throw T(new fu);return ge(n.k)<<24>>24}function _ae(n){if(n.p!=7)throw T(new fu);return ge(n.k)<<16>>16}function Kae(n){if(n.p!=7)throw T(new fu);return ge(n.f)<<16>>16}function Fh(n){var e;for(e=0;n.Ob();)n.Pb(),e=qi(e,1);return KC(e)}function DAn(n,e){var t;return t=new R0,n.xd(t),t.a+="..",e.yd(t),t.a}function Hae(n,e,t){var i;i=u(te(n.g,t),57),W(n.a.c,new Pi(e,i))}function qae(n,e,t){return TD(Y(Vr(Ar(n.f,e))),Y(Vr(Ar(n.f,t))))}function yC(n,e,t){return vM(n,e,t,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function Gae(n,e,t){return m4(n,e,t,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function zae(n,e,t){return b9e(n,e,t,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function pX(n,e){return n==(Qn(),ti)&&e==ti?4:n==ti||e==ti?8:32}function $An(n,e){return B(e)===B(n)?"(this Map)":e==null?iu:Lr(e)}function Uae(n,e){return u(e==null?Vr(Ar(n.f,null)):n5(n.g,e),281)}function FAn(n,e,t){var i;return i=i4(t),it(n.b,i,e),it(n.c,e,t),e}function xAn(n,e){var t;for(t=e;t;)U0(n,t.i,t.j),t=At(t);return n}function vX(n,e){var t;return t=C8(f3(new x$(n,e))),DE(new x$(n,e)),t}function uh(n,e){er();var t;return t=u(n,66).Mj(),M5e(t,e),t.Ok(e)}function Wae(n,e,t,i,r){var c;c=m9e(r,t,i),W(e,p6e(r,c)),o5e(n,r,e)}function LAn(n,e,t){n.i=0,n.e=0,e!=t&&(sDn(n,e,t),uDn(n,e,t))}function mX(n,e){var t;t=n.q.getHours(),n.q.setFullYear(e+Tl),S6(n,t)}function Xae(n,e,t){if(t){var i=t.ee();n.a[e]=i(t)}else delete n.a[e]}function g$(n,e,t){if(t){var i=t.ee();t=i(t)}else t=void 0;n.a[e]=t}function NAn(n){if(n<0)throw T(new H9n("Negative array size: "+n))}function bc(n){return n.n||(Iu(n),n.n=new gCn(n,ar,n),Mr(n)),n.n}function G5(n){return ne(n.a=0&&n.a[t]===e[t];t--);return t<0}function HAn(n,e){V3();var t;return t=n.j.g-e.j.g,t!=0?t:0}function qAn(n,e){return _n(e),n.a!=null?$fe(e.Kb(n.a)):UA}function jC(n){var e;return n?new iW(n):(e=new Sh,nF(e,n),e)}function es(n,e){var t;return e.b.Kb(xPn(n,e.c.Ee(),(t=new Yvn(e),t)))}function EC(n){_J(),$yn(this,ge(ci(cl(n,24),FM)),ge(ci(n,FM)))}function GAn(){GAn=N,zzn=Fe(($T(),A(M(Jin,1),z,428,0,[yR,Qin])))}function zAn(){zAn=N,Uzn=Fe((RC(),A(M(Zin,1),z,427,0,[Yin,jR])))}function UAn(){UAn=N,XUn=Fe((_C(),A(M(Arn,1),z,424,0,[$R,tS])))}function WAn(){WAn=N,RWn=Fe((B3(),A(M(BWn,1),z,511,0,[_k,UR])))}function XAn(){XAn=N,aXn=Fe((V8(),A(M(Wcn,1),z,419,0,[$S,Ucn])))}function VAn(){VAn=N,gXn=Fe((K8(),A(M(Qcn,1),z,479,0,[Vcn,xS])))}function QAn(){QAn=N,VQn=Fe((x8(),A(M(ron,1),z,376,0,[uK,iy])))}function JAn(){JAn=N,zQn=Fe((z8(),A(M(non,1),z,421,0,[iK,rK])))}function YAn(){YAn=N,oXn=Fe((OC(),A(M(Rcn,1),z,422,0,[Bcn,s_])))}function ZAn(){ZAn=N,EXn=Fe((kC(),A(M(fun,1),z,420,0,[j_,oun])))}function nSn(){nSn=N,_Jn=Fe((No(),A(M(RJn,1),z,520,0,[tw,Bl])))}function eSn(){eSn=N,gJn=Fe((z5(),A(M(wJn,1),z,523,0,[Hm,Km])))}function tSn(){tSn=N,EJn=Fe((Ff(),A(M(jJn,1),z,516,0,[M0,I1])))}function iSn(){iSn=N,TJn=Fe((ef(),A(M(CJn,1),z,515,0,[Ja,kf])))}function rSn(){rSn=N,WJn=Fe((Id(),A(M(UJn,1),z,455,0,[Rl,Lg])))}function cSn(){cSn=N,lYn=Fe((gC(),A(M(Son,1),z,425,0,[yK,Aon])))}function uSn(){uSn=N,gYn=Fe((iT(),A(M(Pon,1),z,495,0,[EP,mv])))}function sSn(){sSn=N,hYn=Fe((aC(),A(M(Mon,1),z,480,0,[kK,Ton])))}function oSn(){oSn=N,mYn=Fe(($C(),A(M(Oon,1),z,426,0,[Ion,TK])))}function fSn(){fSn=N,MZn=Fe((c7(),A(M(Ffn,1),z,429,0,[DP,$fn])))}function hSn(){hSn=N,oZn=Fe((L8(),A(M(afn,1),z,430,0,[FK,IP])))}function z5(){z5=N,Hm=new ZG("UPPER",0),Km=new ZG("LOWER",1)}function Yae(n,e){var t;t=new r2,la(t,"x",e.a),la(t,"y",e.b),j2(n,t)}function Zae(n,e){var t;t=new r2,la(t,"x",e.a),la(t,"y",e.b),j2(n,t)}function nde(n,e){var t,i;i=!1;do t=YOn(n,e),i=i|t;while(t);return i}function jX(n,e){var t,i;for(t=e,i=0;t>0;)i+=n.a[t],t-=t&-t;return i}function lSn(n,e){var t;for(t=e;t;)U0(n,-t.i,-t.j),t=At(t);return n}function $i(n,e){var t,i;for(_n(e),i=n.Kc();i.Ob();)t=i.Pb(),e.td(t)}function aSn(n,e){var t;return t=e.cd(),new bd(t,n.e.pc(t,u(e.dd(),14)))}function Kt(n,e,t,i){var r;r=new aI,r.c=e,r.b=t,r.a=i,i.b=t.a=r,++n.b}function Es(n,e,t){var i;return i=(Ln(e,n.c.length),n.c[e]),n.c[e]=t,i}function ede(n,e,t){return u(e==null?_c(n.f,null,t):Gd(n.g,e,t),281)}function k$(n){return n.c&&n.d?cX(n.c)+"->"+cX(n.d):"e_"+md(n)}function C3(n,e){return(Ta(n),Wv(new $n(n,new UX(e,n.a)))).sd(V4)}function tde(){return Qi(),A(M(Hrn,1),z,356,0,[Vf,$l,Hc,Cc,Ir])}function ide(){return J(),A(M(Zi,1),hc,61,0,[Xr,Kn,Vn,ae,Gn])}function rde(n){return gj(),function(){return wae(n,this,arguments)}}function cde(){return Date.now?Date.now():new Date().getTime()}function Xi(n){return!n.c||!n.d?!1:!!n.c.i&&n.c.i==n.d.i}function dSn(n){if(!n.c.Sb())throw T(new ic);return n.a=!0,n.c.Ub()}function $8(n){n.i=0,z9(n.b,null),z9(n.c,null),n.a=null,n.e=null,++n.g}function EX(n){are.call(this,n==null?iu:Lr(n),I(n,78)?u(n,78):null)}function bSn(n){R_n(),Bmn(this),this.a=new Ct,QV(this,n),Ke(this.a,n)}function wSn(){RO(this),this.b=new fn($t,$t),this.a=new fn(Vt,Vt)}function gSn(n,e){this.c=0,this.b=e,Gkn.call(this,n,17493),this.a=this.c}function y$(n){CC(),!pf&&(this.c=n,this.e=!0,this.a=new X)}function CC(){CC=N,pf=!0,xzn=!1,Lzn=!1,Bzn=!1,Nzn=!1}function CX(n,e){return I(e,149)?An(n.c,u(e,149).c):!1}function TX(n,e){var t;return t=0,n&&(t+=n.f.a/2),e&&(t+=e.f.a/2),t}function j$(n,e){var t;return t=u(xd(n.d,e),23),t||u(xd(n.e,e),23)}function pSn(n){this.b=n,ie.call(this,n),this.a=u(Rn(this.b.a,4),126)}function vSn(n){this.b=n,w2.call(this,n),this.a=u(Rn(this.b.a,4),126)}function Iu(n){return n.t||(n.t=new Smn(n),s6(new K9n(n),0,n.t)),n.t}function ude(){return sr(),A(M(e9,1),z,103,0,[mh,Ao,Zs,Jh,Yh])}function sde(){return qw(),A(M(c9,1),z,249,0,[Hl,Cy,Hhn,r9,qhn])}function ode(){return Ho(),A(M($1,1),z,175,0,[Xn,pi,Yf,Ya,D1])}function fde(){return P7(),A(M(gfn,1),z,316,0,[dfn,xK,wfn,LK,bfn])}function hde(){return b6(),A(M(Usn,1),z,315,0,[zsn,nK,eK,Lm,Nm])}function lde(){return Pa(),A(M(zcn,1),z,335,0,[f_,Gcn,h_,Em,jm])}function ade(){return g4(),A(M(tZn,1),z,355,0,[Ng,Ep,Qm,Vm,Jm])}function dde(){return Vw(),A(M(ZWn,1),z,363,0,[SS,IS,OS,PS,AS])}function bde(){return Ss(),A(M(jun,1),z,163,0,[Qk,Sm,xl,Pm,Ub])}function T3(){T3=N;var n,e;cI=(Qp(),e=new fj,e),uI=(n=new BI,n)}function mSn(n){var e;return n.c||(e=n.r,I(e,88)&&(n.c=u(e,26))),n.c}function wde(n){return n.e=3,n.d=n.Yb(),n.e!=2?(n.e=0,!0):!1}function E$(n){var e,t,i;return e=n&Lu,t=n>>22&Lu,i=n<0?Wh:0,Bc(e,t,i)}function gde(n){var e,t,i,r;for(t=n,i=0,r=t.length;i0?p$n(n,e):RNn(n,-e)}function MX(n,e){return e==0||n.e==0?n:e>0?RNn(n,e):p$n(n,-e)}function ve(n){if(Se(n))return n.c=n.a,n.a.Pb();throw T(new ic)}function ySn(n){var e,t;return e=n.c.i,t=n.d.i,e.k==(Qn(),Xt)&&t.k==Xt}function C$(n){var e;return e=new Pd,Sr(e,n),H(e,(nn(),Tr),null),e}function T$(n,e,t){var i;return i=n.Yg(e),i>=0?n._g(i,t,!0):Yd(n,e,t)}function AX(n,e,t,i){var r;for(r=0;re)throw T(new vr(fY(n,e,"index")));return n}function M$(n,e,t,i){var r;return r=F(be,Le,25,e,15,1),Pve(r,n,e,t,i),r}function vde(n,e){var t;t=n.q.getHours()+(e/60|0),n.q.setMinutes(e),S6(n,t)}function mde(n,e){return j.Math.min(al(e.a,n.d.d.c),al(e.b,n.d.d.c))}function O2(n,e){return mi(e)?e==null?MY(n.f,null):FOn(n.g,e):MY(n.f,e)}function uf(n){this.c=n,this.a=new E(this.c.a),this.b=new E(this.c.b)}function TC(){this.e=new X,this.c=new X,this.d=new X,this.b=new X}function MSn(){this.g=new zq,this.b=new zq,this.a=new X,this.k=new X}function ASn(n,e,t){this.a=n,this.c=e,this.d=t,W(e.e,this),W(t.b,this)}function SSn(n,e){qkn.call(this,e.rd(),e.qd()&-6),_n(n),this.a=n,this.b=e}function PSn(n,e){Gkn.call(this,e.rd(),e.qd()&-6),_n(n),this.a=n,this.b=e}function FX(n,e){FO.call(this,e.rd(),e.qd()&-6),_n(n),this.a=n,this.b=e}function MC(n,e,t){this.a=n,this.b=e,this.c=t,W(n.t,this),W(e.i,this)}function AC(){this.b=new Ct,this.a=new Ct,this.b=new Ct,this.a=new Ct}function SC(){SC=N,Ym=new kt("org.eclipse.elk.labels.labelManager")}function ISn(){ISn=N,$cn=new ii("separateLayerConnections",(aT(),QR))}function No(){No=N,tw=new tz("REGULAR",0),Bl=new tz("CRITICAL",1)}function x8(){x8=N,uK=new YG("STACKED",0),iy=new YG("SEQUENCED",1)}function L8(){L8=N,FK=new oz("FIXED",0),IP=new oz("CENTER_NODE",1)}function kde(n,e){var t;return t=CEe(n,e),n.b=new tT(t.c.length),Lje(n,t)}function yde(n,e,t){var i;return++n.e,--n.f,i=u(n.d[e].$c(t),133),i.dd()}function OSn(n){var e;return n.a||(e=n.r,I(e,148)&&(n.a=u(e,148))),n.a}function xX(n){if(n.a){if(n.e)return xX(n.e)}else return n;return null}function jde(n,e){return n.pe.p?-1:0}function PC(n,e){return _n(e),n.c=0,"Initial capacity must not be negative")}function FSn(){FSn=N,Qzn=Fe((_o(),A(M(_b,1),z,232,0,[Zr,Fc,nc])))}function xSn(){xSn=N,Yzn=Fe((Cu(),A(M(Jzn,1),z,461,0,[Xf,Ol,Co])))}function LSn(){LSn=N,nUn=Fe((Jc(),A(M(Zzn,1),z,462,0,[Wo,Dl,To])))}function NSn(){NSn=N,Rzn=Fe((hf(),A(M(Nu,1),z,132,0,[Win,hs,Rb])))}function BSn(){BSn=N,wWn=Fe((W5(),A(M(Krn,1),z,379,0,[NR,LR,BR])))}function RSn(){RSn=N,IWn=Fe((qd(),A(M(zrn,1),z,423,0,[yg,Grn,qR])))}function _Sn(){_Sn=N,fXn=Fe((F2(),A(M(Kcn,1),z,314,0,[ap,qk,_cn])))}function KSn(){KSn=N,hXn=Fe((VC(),A(M(qcn,1),z,337,0,[Hcn,DS,o_])))}function HSn(){HSn=N,bXn=Fe((ya(),A(M(dXn,1),z,450,0,[l_,cv,Tg])))}function qSn(){qSn=N,cXn=Fe((Kd(),A(M(YR,1),z,361,0,[g0,Fl,w0])))}function GSn(){GSn=N,jXn=Fe((Nh(),A(M(yXn,1),z,303,0,[zk,Ag,dp])))}function zSn(){zSn=N,kXn=Fe((q3(),A(M(y_,1),z,292,0,[m_,k_,Gk])))}function USn(){USn=N,_Qn=Fe((i6(),A(M(Gsn,1),z,378,0,[J_,qsn,oP])))}function WSn(){WSn=N,XQn=Fe((oT(),A(M(ion,1),z,375,0,[eon,cK,ton])))}function XSn(){XSn=N,GQn=Fe((Rh(),A(M(Zsn,1),z,339,0,[Nl,Ysn,tK])))}function VSn(){VSn=N,WQn=Fe((ur(),A(M(UQn,1),z,452,0,[Bm,Au,xc])))}function QSn(){QSn=N,YQn=Fe((dT(),A(M(hon,1),z,377,0,[fK,pv,ew])))}function JSn(){JSn=N,QQn=Fe((Q3(),A(M(uon,1),z,336,0,[sK,con,Rm])))}function YSn(){YSn=N,JQn=Fe((uT(),A(M(fon,1),z,338,0,[oon,oK,son])))}function ZSn(){ZSn=N,lJn=Fe((_d(),A(M(hJn,1),z,454,0,[ry,_m,aP])))}function nPn(){nPn=N,vYn=Fe((CT(),A(M(pYn,1),z,442,0,[CK,jK,EK])))}function ePn(){ePn=N,kYn=Fe((f7(),A(M(Fon,1),z,380,0,[CP,Don,$on])))}function tPn(){tPn=N,NYn=Fe((ET(),A(M(Yon,1),z,381,0,[Jon,IK,Qon])))}function iPn(){iPn=N,LYn=Fe((sT(),A(M(Xon,1),z,293,0,[PK,Won,Uon])))}function rPn(){rPn=N,rZn=Fe((w7(),A(M(OK,1),z,437,0,[AP,SP,PP])))}function cPn(){cPn=N,sne=Fe((_h(),A(M(Khn,1),z,334,0,[HP,F1,i9])))}function uPn(){uPn=N,ine=Fe((sf(),A(M(Phn,1),z,272,0,[jv,cw,Ev])))}function Pde(){return Ti(),A(M(Ghn,1),z,98,0,[ql,jf,Tv,td,jh,Ac])}function wa(n,e){return!n.o&&(n.o=new Wu((Dc(),Ul),S0,n,0)),NF(n.o,e)}function Ide(n){return!n.g&&(n.g=new Qy),!n.g.d&&(n.g.d=new Tmn(n)),n.g.d}function Ode(n){return!n.g&&(n.g=new Qy),!n.g.a&&(n.g.a=new Mmn(n)),n.g.a}function Dde(n){return!n.g&&(n.g=new Qy),!n.g.b&&(n.g.b=new Cmn(n)),n.g.b}function N8(n){return!n.g&&(n.g=new Qy),!n.g.c&&(n.g.c=new Amn(n)),n.g.c}function $de(n,e,t){var i,r;for(r=new H3(e,n),i=0;it||e=0?n._g(t,!0,!0):Yd(n,e,!0)}function Qde(n,e){return Zt(K(Y(k(n,(G(),k0)))),K(Y(k(e,k0))))}function dPn(){dPn=N,dYn=Xd(Xd(Dj(new hi,(c4(),qm)),(k6(),pP)),aK)}function Jde(n,e,t){var i;return i=iDn(n,e,t),n.b=new tT(i.c.length),JY(n,i)}function Yde(n){if(n.b<=0)throw T(new ic);return--n.b,n.a-=n.c.c,Q(n.a)}function Zde(n){var e;if(!n.a)throw T(new pTn);return e=n.a,n.a=At(n.a),e}function n0e(n){for(;!n.a;)if(!eEn(n.c,new Vvn(n)))return!1;return!0}function $2(n){var e;return pe(n),I(n,198)?(e=u(n,198),e):new bvn(n)}function e0e(n){DC(),u(n.We((Xe(),rw)),174).Fc((Tu(),Ty)),n.Ye(eH,null)}function DC(){DC=N,PZn=new e2n,OZn=new t2n,IZn=Rwe((Xe(),eH),PZn,_l,OZn)}function $C(){$C=N,Ion=new sz("LEAF_NUMBER",0),TK=new sz("NODE_SIZE",1)}function t0e(n,e,t){n.a=e,n.c=t,n.b.a.$b(),_s(n.d),n.e.a.c=F(Zn,rn,1,0,5,1)}function $$(n){n.a=F(be,Le,25,n.b+1,15,1),n.c=F(be,Le,25,n.b,15,1),n.d=0}function i0e(n,e){n.a.ue(e.d,n.b)>0&&(W(n.c,new QU(e.c,e.d,n.d)),n.b=e.d)}function zX(n,e){if(n.g==null||e>=n.i)throw T(new xO(e,n.i));return n.g[e]}function bPn(n,e,t){if(W3(n,t),t!=null&&!n.wj(t))throw T(new xI);return t}function wPn(n){var e;if(n.Ek())for(e=n.i-1;e>=0;--e)D(n,e);return gX(n)}function r0e(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[0];)t=e;return t}function c0e(n,e){var t,i;return NAn(e),t=(i=n.slice(0,e),WX(i,n)),t.length=e,t}function S3(n,e,t,i){var r;i=(Ow(),i||Lin),r=n.slice(e,t),hY(r,n,e,t,-e,i)}function Cs(n,e,t,i,r){return e<0?Yd(n,t,i):u(t,66).Nj().Pj(n,n.yh(),e,i,r)}function u0e(n){return I(n,172)?""+u(n,172).a:n==null?null:Lr(n)}function s0e(n){return I(n,172)?""+u(n,172).a:n==null?null:Lr(n)}function gPn(n,e){if(e.a)throw T(new _r(gKn));ri(n.a,e),e.a=n,!n.j&&(n.j=e)}function UX(n,e){FO.call(this,e.rd(),e.qd()&-16449),_n(n),this.a=n,this.c=e}function pPn(n,e){var t,i;return i=e/n.c.Hd().gc()|0,t=e%n.c.Hd().gc(),D2(n,i,t)}function Cu(){Cu=N,Xf=new oO(Y2,0),Ol=new oO(I4,1),Co=new oO(Z2,2)}function FC(){FC=N,vR=new Lj("All",0),qin=new ayn,Gin=new Cyn,zin=new dyn}function vPn(){vPn=N,$zn=Fe((FC(),A(M(WA,1),z,297,0,[vR,qin,Gin,zin])))}function mPn(){mPn=N,CWn=Fe((G3(),A(M(EWn,1),z,405,0,[b0,Hb,Kb,kg])))}function kPn(){kPn=N,TUn=Fe((Hd(),A(M(CUn,1),z,406,0,[Ok,Ik,MR,AR])))}function yPn(){yPn=N,AUn=Fe((K2(),A(M(MUn,1),z,323,0,[$k,Dk,Fk,xk])))}function jPn(){jPn=N,IUn=Fe((d6(),A(M(PUn,1),z,394,0,[Lk,YA,ZA,Nk])))}function EPn(){EPn=N,XJn=Fe((c4(),A(M(won,1),z,393,0,[gP,qm,uy,Gm])))}function CPn(){CPn=N,qWn=Fe((aT(),A(M(HWn,1),z,360,0,[QR,TS,MS,Hk])))}function TPn(){TPn=N,xYn=Fe((qT(),A(M(zon,1),z,340,0,[SK,qon,Gon,Hon])))}function MPn(){MPn=N,YWn=Fe((ff(),A(M(JWn,1),z,411,0,[lp,nv,ev,JR])))}function APn(){APn=N,KQn=Fe((wb(),A(M(Z_,1),z,197,0,[fP,Y_,xg,Fg])))}function SPn(){SPn=N,Cne=Fe((Xu(),A(M(Ene,1),z,396,0,[ws,Yhn,Jhn,Zhn])))}function PPn(){PPn=N,fne=Fe((cs(),A(M(one,1),z,285,0,[Ey,kh,Kl,jy])))}function IPn(){IPn=N,rne=Fe((Hh(),A(M(cH,1),z,218,0,[rH,yy,Cv,Sp])))}function OPn(){OPn=N,yne=Fe((AT(),A(M(Qhn,1),z,311,0,[oH,Whn,Vhn,Xhn])))}function DPn(){DPn=N,mne=Fe((Vu(),A(M(o9,1),z,374,0,[Ay,id,My,uw])))}function $Pn(){$Pn=N,mM(),F1n=$t,Mee=Vt,x1n=new S9($t),Aee=new S9(Vt)}function K8(){K8=N,Vcn=new VG(Xh,0),xS=new VG("IMPROVE_STRAIGHTNESS",1)}function o0e(n,e){return h3(),W(n,new Pi(e,Q(e.e.c.length+e.g.c.length)))}function f0e(n,e){return h3(),W(n,new Pi(e,Q(e.e.c.length+e.g.c.length)))}function WX(n,e){return U8(e)!=10&&A(Du(e),e.hm,e.__elementTypeId$,U8(e),n),n}function Qc(n,e){var t;return t=Fr(n,e,0),t==-1?!1:(h1(n,t),!0)}function FPn(n,e){var t;return t=u(O2(n.e,e),387),t?(ZU(t),t.e):null}function P3(n){var e;return $r(n)&&(e=0-n,!isNaN(e))?e:bl(z3(n))}function Fr(n,e,t){for(;t=0?BT(n,t,!0,!0):Yd(n,e,!0)}function YX(n,e){Qv();var t,i;return t=S2(n),i=S2(e),!!t&&!!i&&!Q$n(t.k,i.k)}function a0e(n,e){Zc(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function d0e(n,e){nu(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function b0e(n,e){Rd(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function w0e(n,e){Bd(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function RPn(n){(this.q?this.q:(Pn(),Pn(),ph)).Ac(n.q?n.q:(Pn(),Pn(),ph))}function g0e(n,e){return I(e,99)&&u(e,18).Bb&Yi?new LO(e,n):new H3(e,n)}function p0e(n,e){return I(e,99)&&u(e,18).Bb&Yi?new LO(e,n):new H3(e,n)}function _Pn(n,e){vrn=new Wy,SUn=e,gm=n,u(gm.b,65),BX(gm,vrn,null),$Rn(gm)}function B$(n,e,t){var i;return i=n.g[e],k5(n,e,n.oi(e,t)),n.gi(e,t,i),n.ci(),i}function BC(n,e){var t;return t=n.Xc(e),t>=0?(n.$c(t),!0):!1}function R$(n){var e;return n.d!=n.r&&(e=qs(n),n.e=!!e&&e.Cj()==yGn,n.d=e),n.e}function _$(n,e){var t;for(pe(n),pe(e),t=!1;e.Ob();)t=t|n.Fc(e.Pb());return t}function xd(n,e){var t;return t=u(te(n.e,e),387),t?(Dyn(n,t),t.e):null}function KPn(n){var e,t;return e=n/60|0,t=n%60,t==0?""+e:""+e+":"+(""+t)}function qr(n,e){var t,i;return Ta(n),i=new FX(e,n.a),t=new rEn(i),new $n(n,t)}function ub(n,e){var t=n.a[e],i=(cF(),dR)[typeof t];return i?i(t):tQ(typeof t)}function v0e(n){switch(n.g){case 0:return nt;case 1:return-1;default:return 0}}function m0e(n){return mJ(n,(I3(),pin))<0?-xce(z3(n)):n.l+n.m*J2+n.h*$a}function U8(n){return n.__elementTypeCategory$==null?10:n.__elementTypeCategory$}function K$(n){var e;return e=n.b.c.length==0?null:un(n.b,0),e!=null&&J$(n,0),e}function HPn(n,e){for(;e[0]=0;)++e[0]}function W8(n,e){this.e=e,this.a=xOn(n),this.a<54?this.f=$d(n):this.c=m7(n)}function qPn(n,e,t,i){Je(),cd.call(this,26),this.c=n,this.a=e,this.d=t,this.b=i}function sh(n,e,t){var i,r;for(i=10,r=0;rn.a[i]&&(i=t);return i}function T0e(n,e){var t;return t=zd(n.e.c,e.e.c),t==0?Zt(n.e.d,e.e.d):t}function Fw(n,e){return e.e==0||n.e==0?W4:(a4(),Hx(n,e))}function M0e(n,e){if(!n)throw T(new Hn(P8e("Enum constant undefined: %s",e)))}function X5(){X5=N,AWn=new Pan,SWn=new Aan,TWn=new Fan,MWn=new xan,PWn=new Lan}function RC(){RC=N,Yin=new qG("BY_SIZE",0),jR=new qG("BY_SIZE_AND_SHAPE",1)}function _C(){_C=N,$R=new GG("EADES",0),tS=new GG("FRUCHTERMAN_REINGOLD",1)}function V8(){V8=N,$S=new XG("READING_DIRECTION",0),Ucn=new XG("ROTATION",1)}function zPn(){zPn=N,lXn=Fe((Pa(),A(M(zcn,1),z,335,0,[f_,Gcn,h_,Em,jm])))}function UPn(){UPn=N,HQn=Fe((b6(),A(M(Usn,1),z,315,0,[zsn,nK,eK,Lm,Nm])))}function WPn(){WPn=N,nXn=Fe((Vw(),A(M(ZWn,1),z,363,0,[SS,IS,OS,PS,AS])))}function XPn(){XPn=N,CXn=Fe((Ss(),A(M(jun,1),z,163,0,[Qk,Sm,xl,Pm,Ub])))}function VPn(){VPn=N,fZn=Fe((P7(),A(M(gfn,1),z,316,0,[dfn,xK,wfn,LK,bfn])))}function QPn(){QPn=N,DZn=Fe((Ho(),A(M($1,1),z,175,0,[Xn,pi,Yf,Ya,D1])))}function JPn(){JPn=N,iZn=Fe((g4(),A(M(tZn,1),z,355,0,[Ng,Ep,Qm,Vm,Jm])))}function YPn(){YPn=N,mWn=Fe((Qi(),A(M(Hrn,1),z,356,0,[Vf,$l,Hc,Cc,Ir])))}function ZPn(){ZPn=N,tne=Fe((sr(),A(M(e9,1),z,103,0,[mh,Ao,Zs,Jh,Yh])))}function nIn(){nIn=N,lne=Fe((qw(),A(M(c9,1),z,249,0,[Hl,Cy,Hhn,r9,qhn])))}function eIn(){eIn=N,bne=Fe((J(),A(M(Zi,1),hc,61,0,[Xr,Kn,Vn,ae,Gn])))}function H$(n,e){var t;return t=u(te(n.a,e),134),t||(t=new pI,it(n.a,e,t)),t}function tIn(n){var e;return e=u(k(n,(G(),p0)),305),e?e.a==n:!1}function iIn(n){var e;return e=u(k(n,(G(),p0)),305),e?e.i==n:!1}function rIn(n,e){return _n(e),mW(n),n.d.Ob()?(e.td(n.d.Pb()),!0):!1}function KC(n){return fc(n,nt)>0?nt:fc(n,Bi)<0?Bi:ge(n)}function sb(n){return n<3?(is(n,Y_n),n+1):n=0&&e=-.01&&n.a<=bf&&(n.a=0),n.b>=-.01&&n.b<=bf&&(n.b=0),n}function uIn(n,e){return e==(sD(),sD(),Izn)?n.toLocaleLowerCase():n.toLowerCase()}function nV(n){return(n.i&2?"interface ":n.i&1?"":"class ")+(Ph(n),n.o)}function Er(n){var e,t;t=(e=new RI,e),me((!n.q&&(n.q=new V(co,n,11,10)),n.q),t)}function A0e(n,e){var t;return t=e>0?e-1:e,t8n(Kie(OIn(YU(new zp,t),n.n),n.j),n.k)}function S0e(n,e,t,i){var r;n.j=-1,EY(n,iY(n,e,t),(er(),r=u(e,66).Mj(),r.Ok(i)))}function sIn(n){this.g=n,this.f=new X,this.a=j.Math.min(this.g.c.c,this.g.d.c)}function oIn(n){this.b=new X,this.a=new X,this.c=new X,this.d=new X,this.e=n}function fIn(n,e){this.a=new we,this.e=new we,this.b=(i6(),oP),this.c=n,this.b=e}function hIn(n,e,t){kE.call(this),eV(this),this.a=n,this.c=t,this.b=e.d,this.f=e.e}function lIn(n){this.d=n,this.c=n.c.vc().Kc(),this.b=null,this.a=null,this.e=(aj(),fR)}function Ld(n){if(n<0)throw T(new Hn("Illegal Capacity: "+n));this.g=this.ri(n)}function P0e(n,e){if(0>n||n>e)throw T(new bG("fromIndex: 0, toIndex: "+n+tnn+e))}function I0e(n){var e;if(n.a==n.b.a)throw T(new ic);return e=n.a,n.c=e,n.a=n.a.e,e}function HC(n){var e;z0(!!n.c),e=n.c.a,Ts(n.d,n.c),n.b==n.c?n.b=e:--n.a,n.c=null}function qC(n,e){var t;return Ta(n),t=new $Tn(n,n.a.rd(),n.a.qd()|4,e),new $n(n,t)}function O0e(n,e){var t,i;return t=u(ab(n.d,e),14),t?(i=e,n.e.pc(i,t)):null}function GC(n,e){var t,i;for(i=n.Kc();i.Ob();)t=u(i.Pb(),70),H(t,(G(),pp),e)}function D0e(n){var e;return e=K(Y(k(n,(nn(),S1)))),e<0&&(e=0,H(n,S1,e)),e}function $0e(n,e,t){var i;i=j.Math.max(0,n.b/2-.5),g6(t,i,1),W(e,new N7n(t,i))}function F0e(n,e,t){var i;return i=n.a.e[u(e.a,10).p]-n.a.e[u(t.a,10).p],Gt(m8(i))}function aIn(n,e,t,i,r,c){var o;o=C$(i),Hi(o,r),Ei(o,c),Tn(n.a,i,new EE(o,e,t.f))}function dIn(n,e){var t;if(t=R7(n.Tg(),e),!t)throw T(new Hn(Pl+e+MB));return t}function ob(n,e){var t;for(t=n;At(t);)if(t=At(t),t==e)return!0;return!1}function x0e(n,e){var t,i,r;for(i=e.a.cd(),t=u(e.a.dd(),14).gc(),r=0;r0&&(n.a/=e,n.b/=e),n}function ts(n){var e;return n.w?n.w:(e=Gle(n),e&&!e.kh()&&(n.w=e),e)}function q0e(n){var e;return n==null?null:(e=u(n,190),Gve(e,e.length))}function D(n,e){if(n.g==null||e>=n.i)throw T(new xO(e,n.i));return n.li(e,n.g[e])}function G0e(n){var e,t;for(e=n.a.d.j,t=n.c.d.j;e!=t;)ko(n.b,e),e=yT(e);ko(n.b,e)}function z0e(n){var e;for(e=0;e=14&&e<=16))),n}function pIn(n,e,t){var i=function(){return n.apply(i,arguments)};return e.apply(i,t),i}function vIn(n,e,t){var i,r;i=e;do r=K(n.p[i.p])+t,n.p[i.p]=r,i=n.a[i.p];while(i!=e)}function O3(n,e){var t,i;i=n.a,t=Tge(n,e,null),i!=e&&!n.e&&(t=j4(n,e,t)),t&&t.Fi()}function tV(n,e){return Yo(),mo(Cl),j.Math.abs(n-e)<=Cl||n==e||isNaN(n)&&isNaN(e)}function iV(n,e){return Yo(),mo(Cl),j.Math.abs(n-e)<=Cl||n==e||isNaN(n)&&isNaN(e)}function X0e(n,e){return yl(),Uc(n.b.c.length-n.e.c.length,e.b.c.length-e.e.c.length)}function xw(n,e){return Uie(J5(n,e,ge(Ni(ah,rh(ge(Ni(e==null?0:mt(e),dh)),15)))))}function mIn(){mIn=N,FWn=Fe((Qn(),A(M(zR,1),z,267,0,[ti,gi,Xt,Tc,Qu,vf])))}function kIn(){kIn=N,KZn=Fe((vb(),A(M(UK,1),z,291,0,[zK,gy,wy,GK,dy,by])))}function yIn(){yIn=N,xZn=Fe((oh(),A(M(Rfn,1),z,248,0,[HK,ly,ay,xP,$P,FP])))}function jIn(){jIn=N,sXn=Fe((q2(),A(M(rv,1),z,227,0,[iv,ym,tv,qb,Cg,Eg])))}function EIn(){EIn=N,vXn=Fe((h4(),A(M(sun,1),z,275,0,[Cm,iun,uun,cun,run,tun])))}function CIn(){CIn=N,pXn=Fe((A7(),A(M(eun,1),z,274,0,[LS,Ycn,nun,Jcn,Zcn,p_])))}function TIn(){TIn=N,RQn=Fe((JT(),A(M(Hsn,1),z,313,0,[Q_,_sn,V_,Rsn,Ksn,sP])))}function MIn(){MIn=N,wXn=Fe((eM(),A(M(Xcn,1),z,276,0,[d_,a_,w_,b_,g_,FS])))}function AIn(){AIn=N,QJn=Fe((k6(),A(M(VJn,1),z,327,0,[pP,aK,bK,dK,wK,lK])))}function SIn(){SIn=N,dne=Fe((Tu(),A(M(qP,1),z,273,0,[Gl,n1,Ty,s9,u9,Pp])))}function PIn(){PIn=N,cne=Fe((ZT(),A(M(xhn,1),z,312,0,[uH,Dhn,Fhn,Ihn,$hn,Ohn])))}function V0e(){return jb(),A(M(lr,1),z,93,0,[So,Zh,Po,Oo,yh,eo,as,Io,no])}function UC(n,e){var t;t=n.a,n.a=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,0,t,n.a))}function WC(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,1,t,n.b))}function D3(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,3,t,n.b))}function Bd(n,e){var t;t=n.f,n.f=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,3,t,n.f))}function Rd(n,e){var t;t=n.g,n.g=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,4,t,n.g))}function Zc(n,e){var t;t=n.i,n.i=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,5,t,n.i))}function nu(n,e){var t;t=n.j,n.j=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,6,t,n.j))}function $3(n,e){var t;t=n.j,n.j=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,1,t,n.j))}function F3(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,4,t,n.c))}function x3(n,e){var t;t=n.k,n.k=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,2,t,n.k))}function G$(n,e){var t;t=n.d,n.d=e,n.Db&4&&!(n.Db&1)&&et(n,new p$(n,2,t,n.d))}function d1(n,e){var t;t=n.s,n.s=e,n.Db&4&&!(n.Db&1)&&et(n,new p$(n,4,t,n.s))}function hb(n,e){var t;t=n.t,n.t=e,n.Db&4&&!(n.Db&1)&&et(n,new p$(n,5,t,n.t))}function L3(n,e){var t;t=n.F,n.F=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,5,t,e))}function Q8(n,e){var t;return t=u(te(($j(),eI),n),55),t?t.xj(e):F(Zn,rn,1,e,5,1)}function Bh(n,e){var t,i;return t=e in n.a,t&&(i=Dh(n,e).he(),i)?i.a:null}function Q0e(n,e){var t,i,r;return t=(i=(ad(),r=new QH,r),e&&zY(i,e),i),aV(t,n),t}function IIn(n,e,t){if(W3(n,t),!n.Bk()&&t!=null&&!n.wj(t))throw T(new xI);return t}function OIn(n,e){return n.n=e,n.n?(n.f=new X,n.e=new X):(n.f=null,n.e=null),n}function Ae(n,e,t,i,r,c){var o;return o=LD(n,e),$In(t,o),o.i=r?8:0,o.f=i,o.e=r,o.g=c,o}function rV(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=n,this.a=t}function cV(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=n,this.a=t}function uV(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=n,this.a=t}function sV(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=n,this.a=t}function oV(n,e,t,i,r){this.d=e,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=n,this.a=t}function DIn(n,e){var t,i,r,c;for(i=e,r=0,c=i.length;r=0),Q2e(n.d,n.c)<0&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function fV(n){return n.a<54?n.f<0?-1:n.f>0?1:0:(!n.c&&(n.c=h7(n.f)),n.c).e}function mo(n){if(!(n>=0))throw T(new Hn("tolerance ("+n+") must be >= 0"));return n}function N3(){return _K||(_K=new yBn,_w(_K,A(M(mg,1),rn,130,0,[new nq]))),_K}function ur(){ur=N,Bm=new kO(K6,0),Au=new kO("INPUT",1),xc=new kO("OUTPUT",2)}function VC(){VC=N,Hcn=new bO("ARD",0),DS=new bO("MSD",1),o_=new bO("MANUAL",2)}function _d(){_d=N,ry=new TO("BARYCENTER",0),_m=new TO(cHn,1),aP=new TO(uHn,2)}function J8(n,e){var t;if(t=n.gc(),e<0||e>t)throw T(new V0(e,t));return new AU(n,e)}function LIn(n,e){var t;return I(e,42)?n.c.Mc(e):(t=NF(n,e),IT(n,e),t)}function wr(n,e,t){return Ca(n,e),Ic(n,t),d1(n,0),hb(n,1),p1(n,!0),g1(n,!0),n}function is(n,e){if(n<0)throw T(new Hn(e+" cannot be negative but was: "+n));return n}function NIn(n,e){var t,i;for(t=0,i=n.gc();t0?u(un(t.a,i-1),10):null}function Q5(n,e){var t;t=n.k,n.k=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,2,t,n.k))}function JC(n,e){var t;t=n.f,n.f=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,8,t,n.f))}function YC(n,e){var t;t=n.i,n.i=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,7,t,n.i))}function aV(n,e){var t;t=n.a,n.a=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,8,t,n.a))}function dV(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,0,t,n.b))}function bV(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,0,t,n.b))}function wV(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,1,t,n.c))}function gV(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,1,t,n.c))}function U$(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,4,t,n.c))}function pV(n,e){var t;t=n.d,n.d=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,1,t,n.d))}function W$(n,e){var t;t=n.D,n.D=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,2,t,n.D))}function X$(n,e){n.r>0&&n.c0&&n.g!=0&&X$(n.i,e/n.r*n.i.d))}function cbe(n,e,t){var i;n.b=e,n.a=t,i=(n.a&512)==512?new M9n:new ZH,n.c=y7e(i,n.b,n.a)}function UIn(n,e){return zh(n.e,e)?(er(),R$(e)?new IE(e,n):new i8(e,n)):new Bkn(e,n)}function ZC(n,e){return zie(Y5(n.a,e,ge(Ni(ah,rh(ge(Ni(e==null?0:mt(e),dh)),15)))))}function ube(n,e,t){return cb(n,new qvn(e),new kln,new Gvn(t),A(M(Nu,1),z,132,0,[]))}function sbe(n){var e,t;return 0>n?new PG:(e=n+1,t=new gSn(e,n),new oU(null,t))}function obe(n,e){Pn();var t;return t=new s2(1),mi(n)?kr(t,n,e):_c(t.f,n,e),new DI(t)}function fbe(n,e){var t,i;return t=n.o+n.p,i=e.o+e.p,te?(e<<=1,e>0?e:L6):e}function V$(n){switch(Rz(n.e!=3),n.e){case 2:return!1;case 0:return!0}return wde(n)}function XIn(n,e){var t;return I(e,8)?(t=u(e,8),n.a==t.a&&n.b==t.b):!1}function Q$(n,e,t){var i,r,c;return c=e>>5,r=e&31,i=ci(J0(n.n[t][c],ge(Ih(r,1))),3),i}function lbe(n,e){var t,i;for(i=e.vc().Kc();i.Ob();)t=u(i.Pb(),42),XT(n,t.cd(),t.dd())}function abe(n,e){var t;t=new Wy,u(e.b,65),u(e.b,65),u(e.b,65),Yc(e.a,new BU(n,t,e))}function vV(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,21,t,n.b))}function mV(n,e){var t;t=n.d,n.d=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,11,t,n.d))}function nT(n,e){var t;t=n.j,n.j=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,13,t,n.j))}function VIn(n,e,t){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i>>31;i!=0&&(n[t]=i)}function jbe(n,e){Pn();var t,i;for(i=new X,t=0;t0&&(this.g=this.ri(this.i+(this.i/8|0)+1),n.Qc(this.g))}function Dt(n,e){ME.call(this,cee,n,e),this.b=this,this.a=Kc(n.Tg(),On(this.e.Tg(),this.c))}function Z5(n,e){var t,i;for(_n(e),i=e.vc().Kc();i.Ob();)t=u(i.Pb(),42),n.zc(t.cd(),t.dd())}function Dbe(n,e,t){var i;for(i=t.Kc();i.Ob();)if(!yC(n,e,i.Pb()))return!1;return!0}function $be(n,e,t,i,r){var c;return t&&(c=yt(e.Tg(),n.c),r=t.gh(e,-1-(c==-1?i:c),null,r)),r}function Fbe(n,e,t,i,r){var c;return t&&(c=yt(e.Tg(),n.c),r=t.ih(e,-1-(c==-1?i:c),null,r)),r}function bOn(n){var e;if(n.b==-2){if(n.e==0)e=-1;else for(e=0;n.a[e]==0;e++);n.b=e}return n.b}function wOn(n){switch(n.g){case 2:return J(),Gn;case 4:return J(),Vn;default:return n}}function gOn(n){switch(n.g){case 1:return J(),ae;case 3:return J(),Kn;default:return n}}function xbe(n){var e,t,i;return n.j==(J(),Kn)&&(e=zLn(n),t=au(e,Vn),i=au(e,Gn),i||i&&t)}function Lbe(n){var e,t;return e=u(n.e&&n.e(),9),t=u(IW(e,e.length),9),new ks(e,t,e.length)}function Nbe(n,e){le(e,rHn,1),TQ(ire(new tj((Vv(),new GD(n,!1,!1,new BH))))),ce(e)}function Y8(n,e){return qn(),mi(n)?DX(n,Te(e)):G0(n)?TD(n,Y(e)):q0(n)?Kfe(n,sn(e)):n.wd(e)}function TV(n,e){e.q=n,n.d=j.Math.max(n.d,e.r),n.b+=e.d+(n.a.c.length==0?0:n.c),W(n.a,e)}function R3(n,e){var t,i,r,c;return r=n.c,t=n.c+n.b,c=n.d,i=n.d+n.a,e.a>r&&e.ac&&e.b1||n.Ob())return++n.a,n.g=0,e=n.i,n.Ob(),e;throw T(new ic)}function Vbe(n){pyn();var e;return A7n(hK,n)||(e=new ngn,e.a=n,wU(hK,n,e)),u(br(hK,n),635)}function Ks(n){var e,t,i,r;return r=n,i=0,r<0&&(r+=$a,i=Wh),t=Gt(r/J2),e=Gt(r-t*J2),Bc(e,t,i)}function Z8(n){var e,t,i;for(i=0,t=new o2(n.a);t.a>22),r=n.h+e.h+(i>>22),Bc(t&Lu,i&Lu,r&Wh)}function LOn(n,e){var t,i,r;return t=n.l-e.l,i=n.m-e.m+(t>>22),r=n.h-e.h+(i>>22),Bc(t&Lu,i&Lu,r&Wh)}function i7(n){var e;return n<128?(e=(JEn(),yin)[n],!e&&(e=yin[n]=new wq(n)),e):new wq(n)}function jt(n){var e;return I(n,78)?n:(e=n&&n.__java$exception,e||(e=new TDn(n),Hmn(e)),e)}function r7(n){if(I(n,186))return u(n,118);if(n)return null;throw T(new c2(Oqn))}function NOn(n,e){if(e==null)return!1;for(;n.a!=n.b;)if(tt(e,vT(n)))return!0;return!1}function OV(n){return n.a.Ob()?!0:n.a!=n.d?!1:(n.a=new lX(n.e.f),n.a.Ob())}function Yt(n,e){var t,i;return t=e.Pc(),i=t.length,i==0?!1:(GU(n.c,n.c.length,t),!0)}function hwe(n,e,t){var i,r;for(r=e.vc().Kc();r.Ob();)i=u(r.Pb(),42),n.yc(i.cd(),i.dd(),t);return n}function BOn(n,e){var t,i;for(i=new E(n.b);i.a=0,"Negative initial capacity"),TE(e>=0,"Non-positive load factor"),Eu(this)}function uF(n,e,t){return n>=128?!1:n<64?b5(ci(Ih(1,n),t),0):b5(ci(Ih(1,n-64),e),0)}function mwe(n,e){return!n||!e||n==e?!1:zd(n.b.c,e.b.c+e.b.b)<0&&zd(e.b.c,n.b.c+n.b.b)<0}function QOn(n){var e,t,i;return t=n.n,i=n.o,e=n.d,new ys(t.a-e.b,t.b-e.d,i.a+(e.b+e.c),i.b+(e.d+e.a))}function kwe(n){var e,t,i,r;for(t=n.a,i=0,r=t.length;ii)throw T(new V0(e,i));return n.hi()&&(t=dMn(n,t)),n.Vh(e,t)}function s7(n,e,t){return t==null?(!n.q&&(n.q=new we),O2(n.q,e)):(!n.q&&(n.q=new we),it(n.q,e,t)),n}function H(n,e,t){return t==null?(!n.q&&(n.q=new we),O2(n.q,e)):(!n.q&&(n.q=new we),it(n.q,e,t)),n}function JOn(n){var e,t;return t=new TC,Sr(t,n),H(t,(dl(),hp),n),e=new we,Cye(n,t,e),QEe(n,t,e),t}function Ewe(n){eg();var e,t,i;for(t=F(ai,q,8,2,0,1),i=0,e=0;e<2;e++)i+=.5,t[e]=r3e(i,n);return t}function YOn(n,e){var t,i,r,c;for(t=!1,i=n.a[e].length,c=0;c>=1);return e}function nDn(n){var e,t;return t=x7(n.h),t==32?(e=x7(n.m),e==32?x7(n.l)+32:e+20-10):t-12}function t6(n){var e;return e=n.a[n.b],e==null?null:(Mt(n.a,n.b,null),n.b=n.b+1&n.a.length-1,e)}function eDn(n){var e,t;return e=n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f,t=n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d,e||t}function bT(n,e,t){var i,r;return i=new I$(e,t),r=new dI,n.b=UNn(n,n.b,i,r),r.b||++n.c,n.b.b=!1,r.d}function tDn(n,e,t){var i,r,c,o;for(o=c6(e,t),c=0,r=o.Kc();r.Ob();)i=u(r.Pb(),11),it(n.c,i,Q(c++))}function wl(n){var e,t;for(t=new E(n.a.b);t.at&&(t=n[e]);return t}function iDn(n,e,t){var i;return i=new X,XY(n,e,i,(J(),Vn),!0,!1),XY(n,t,i,Gn,!1,!1),i}function oF(n,e,t){var i,r,c,o;return c=null,o=e,r=Fd(o,"labels"),i=new Ekn(n,t),c=(Hme(i.a,i.b,r),r),c}function Twe(n,e,t,i){var r;return r=xY(n,e,t,i),!r&&(r=Mge(n,t,i),r&&!rg(n,e,r))?null:r}function Mwe(n,e,t,i){var r;return r=LY(n,e,t,i),!r&&(r=TF(n,t,i),r&&!rg(n,e,r))?null:r}function rDn(n,e){var t;for(t=0;t1||e>=0&&n.b<3)}function o7(n){var e,t,i;for(e=new hu,i=_e(n,0);i.b!=i.d.c;)t=u(Re(i),8),s3(e,0,new mr(t));return e}function ja(n){var e,t;for(t=new E(n.a.b);t.ai?1:0}function QV(n,e){return SNn(n,e)?(Tn(n.b,u(k(e,(G(),Gb)),21),e),Ke(n.a,e),!0):!1}function Bwe(n){var e,t;e=u(k(n,(G(),Mu)),10),e&&(t=e.c,Qc(t.a,e),t.a.c.length==0&&Qc(Gi(e).b,t))}function hDn(n){return pf?F(Fzn,aKn,572,0,0,1):u(lf(n.a,F(Fzn,aKn,572,n.a.c.length,0,1)),842)}function Rwe(n,e,t,i){return QE(),new GI(A(M(Ha,1),OM,42,0,[(ex(n,e),new bd(n,e)),(ex(t,i),new bd(t,i))]))}function Rw(n,e,t){var i,r;return r=(i=new RI,i),wr(r,e,t),me((!n.q&&(n.q=new V(co,n,11,10)),n.q),r),r}function aF(n){var e,t,i,r;for(r=lre(Fne,n),t=r.length,i=F(tn,q,2,t,6,1),e=0;e=n.b.c.length||(JV(n,2*e+1),t=2*e+2,t=0&&n[i]===e[i];i--);return i<0?0:cO(ci(n[i],fr),ci(e[i],fr))?-1:1}function _we(n,e){var t,i;for(i=_e(n,0);i.b!=i.d.c;)t=u(Re(i),214),t.e.length>0&&(e.td(t),t.i&&Fge(t))}function bF(n,e){var t,i;return i=u(Rn(n.a,4),126),t=F(bH,qB,415,e,0,1),i!=null&&gc(i,0,t,0,i.length),t}function aDn(n,e){var t;return t=new zx((n.f&256)!=0,n.i,n.a,n.d,(n.f&16)!=0,n.j,n.g,e),n.e!=null||(t.c=n),t}function Kwe(n,e){var t,i;for(i=n.Zb().Cc().Kc();i.Ob();)if(t=u(i.Pb(),14),t.Hc(e))return!0;return!1}function wF(n,e,t,i,r){var c,o;for(o=t;o<=r;o++)for(c=e;c<=i;c++)if(zw(n,c,o))return!0;return!1}function dDn(n,e,t){var i,r,c,o;for(_n(t),o=!1,c=n.Zc(e),r=t.Kc();r.Ob();)i=r.Pb(),c.Rb(i),o=!0;return o}function Hwe(n,e){var t;return n===e?!0:I(e,83)?(t=u(e,83),ZJ(Ed(n),t.vc())):!1}function bDn(n,e,t){var i,r;for(r=t.Kc();r.Ob();)if(i=u(r.Pb(),42),n.re(e,i.dd()))return!0;return!1}function wDn(n,e,t){return n.d[e.p][t.p]||(Bpe(n,e,t),n.d[e.p][t.p]=!0,n.d[t.p][e.p]=!0),n.a[e.p][t.p]}function W3(n,e){if(!n.ai()&&e==null)throw T(new Hn("The 'no null' constraint is violated"));return e}function X3(n,e){n.D==null&&n.B!=null&&(n.D=n.B,n.B=null),W$(n,e==null?null:(_n(e),e)),n.C&&n.yk(null)}function qwe(n,e){var t;return!n||n==e||!li(e,(G(),m0))?!1:(t=u(k(e,(G(),m0)),10),t!=n)}function gF(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.pl()}}function gDn(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n.ql()}}function pDn(n){uMn.call(this,"The given string does not match the expected format for individual spacings.",n)}function Xu(){Xu=N,ws=new Jj("ELK",0),Yhn=new Jj("JSON",1),Jhn=new Jj("DOT",2),Zhn=new Jj("SVG",3)}function f7(){f7=N,CP=new AO(Xh,0),Don=new AO("RADIAL_COMPACTION",1),$on=new AO("WEDGE_COMPACTION",2)}function hf(){hf=N,Win=new uO("CONCURRENT",0),hs=new uO("IDENTITY_FINISH",1),Rb=new uO("UNORDERED",2)}function pF(){pF=N,jrn=(Aj(),SR),yrn=new In(pnn,jrn),DUn=new kt(vnn),$Un=new kt(mnn),FUn=new kt(knn)}function V3(){V3=N,xcn=new E0n,Lcn=new C0n,UWn=new T0n,zWn=new M0n,GWn=new A0n,Fcn=(_n(GWn),new sln)}function Q3(){Q3=N,sK=new jO("CONSERVATIVE",0),con=new jO("CONSERVATIVE_SOFT",1),Rm=new jO("SLOPPY",2)}function wT(){wT=N,_hn=new vd(15),une=new tr((Xe(),nd),_hn),t9=Mp,Lhn=qZn,Nhn=Za,Rhn=Kg,Bhn=BP}function vF(n,e,t){var i,r,c;for(i=new Ct,c=_e(t,0);c.b!=c.d.c;)r=u(Re(c),8),Ke(i,new mr(r));dDn(n,e,i)}function Gwe(n){var e,t,i;for(e=0,i=F(ai,q,8,n.b,0,1),t=_e(n,0);t.b!=t.d.c;)i[e++]=u(Re(t),8);return i}function ZV(n){var e;return e=(!n.a&&(n.a=new V(e1,n,9,5)),n.a),e.i!=0?ore(u(D(e,0),678)):null}function zwe(n,e){var t;return t=qi(n,e),cO(h$(n,e),0)|Cre(h$(n,t),0)?t:qi(IM,h$(J0(t,63),1))}function Uwe(n,e){var t;t=cn((xF(),uP))!=null&&e.wg()!=null?K(Y(e.wg()))/K(Y(cn(uP))):1,it(n.b,e,t)}function Wwe(n,e){var t,i;return t=u(n.d.Bc(e),14),t?(i=n.e.hc(),i.Gc(t),n.e.d-=t.gc(),t.$b(),i):null}function nQ(n,e){var t,i;if(i=n.c[e],i!=0)for(n.c[e]=0,n.d-=i,t=e+1;t0)return a3(e-1,n.a.c.length),h1(n.a,e-1);throw T(new Gmn)}function Xwe(n,e,t){if(e<0)throw T(new vr(KHn+e));ee)throw T(new Hn(xM+n+dKn+e));if(n<0||e>t)throw T(new bG(xM+n+rnn+e+tnn+t))}function kDn(n){if(!n.a||!(n.a.i&8))throw T(new Dr("Enumeration class expected for layout option "+n.f))}function lb(n){var e;++n.j,n.i==0?n.g=null:n.ihA?n-t>hA:t-n>hA}function kF(n,e){return!n||e&&!n.j||I(n,124)&&u(n,124).a.b==0?0:n.Re()}function pT(n,e){return!n||e&&!n.k||I(n,124)&&u(n,124).a.a==0?0:n.Se()}function h7(n){return jl(),n<0?n!=-1?new VQ(-1,-n):gR:n<=10?xin[Gt(n)]:new VQ(1,n)}function tQ(n){throw cF(),T(new N9n("Unexpected typeof result '"+n+"'; please report this bug to the GWT team"))}function TDn(n){q9n(),oE(this),eC(this),this.e=n,BNn(this,n),this.g=n==null?iu:Lr(n),this.a="",this.b=n,this.a=""}function iQ(){this.a=new Ggn,this.f=new D6n(this),this.b=new $6n(this),this.i=new F6n(this),this.e=new x6n(this)}function MDn(){iie.call(this,new _X(sb(16))),is(2,X_n),this.b=2,this.a=new RW(null,null,0,null),$9(this.a,this.a)}function i6(){i6=N,J_=new vO("DUMMY_NODE_OVER",0),qsn=new vO("DUMMY_NODE_UNDER",1),oP=new vO("EQUAL",2)}function yF(){yF=N,_R=oMn(A(M(e9,1),z,103,0,[(sr(),Zs),Ao])),KR=oMn(A(M(e9,1),z,103,0,[Yh,Jh]))}function jF(n){return(J(),cu).Hc(n.j)?K(Y(k(n,(G(),hv)))):Gr(A(M(ai,1),q,8,0,[n.i.n,n.n,n.a])).b}function Zwe(n){var e,t,i,r;for(i=n.b.a,t=i.a.ec().Kc();t.Ob();)e=u(t.Pb(),561),r=new vNn(e,n.e,n.f),W(n.g,r)}function Ca(n,e){var t,i,r;i=n.nk(e,null),r=null,e&&(r=(Qp(),t=new ud,t),O3(r,n.r)),i=af(n,r,i),i&&i.Fi()}function nge(n,e){var t,i;for(i=Fu(n.d,1)!=0,t=!0;t;)t=!1,t=e.c.Tf(e.e,i),t=t|_7(n,e,i,!1),i=!i;yV(n)}function rQ(n,e){var t,i,r;return i=!1,t=e.q.d,e.dr&&(YFn(e.q,r),i=t!=e.q.d)),i}function ADn(n,e){var t,i,r,c,o,f,h,l;return h=e.i,l=e.j,i=n.f,r=i.i,c=i.j,o=h-r,f=l-c,t=j.Math.sqrt(o*o+f*f),t}function cQ(n,e){var t,i;return i=OT(n),i||(t=(bL(),Zxn(e)),i=new xmn(t),me(i.Vk(),n)),i}function l7(n,e){var t,i;return t=u(n.c.Bc(e),14),t?(i=n.hc(),i.Gc(t),n.d-=t.gc(),t.$b(),n.mc(i)):n.jc()}function SDn(n,e){var t;for(t=0;t=n.c.b:n.a<=n.c.b))throw T(new ic);return e=n.a,n.a+=n.c.c,++n.b,Q(e)}function ige(n){var e;return e=new sIn(n),O8(n.a,PWn,new Ku(A(M(Rk,1),rn,369,0,[e]))),e.d&&W(e.f,e.d),e.f}function EF(n){var e;return e=new Mz(n.a),Sr(e,n),H(e,(G(),rt),n),e.o.a=n.g,e.o.b=n.f,e.n.a=n.i,e.n.b=n.j,e}function rge(n,e,t,i){var r,c;for(c=n.Kc();c.Ob();)r=u(c.Pb(),70),r.n.a=e.a+(i.a-r.o.a)/2,r.n.b=e.b,e.b+=r.o.b+t}function cge(n,e,t){var i,r;for(r=e.a.a.ec().Kc();r.Ob();)if(i=u(r.Pb(),57),KTn(n,i,t))return!0;return!1}function uge(n){var e,t;for(t=new E(n.r);t.a=0?e:-e;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return e<0?1/r:r}function hge(n,e){var t,i,r;for(r=1,t=n,i=e>=0?e:-e;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return e<0?1/r:r}function xDn(n){var e,t;if(n!=null)for(t=0;t0&&(t=u(un(n.a,n.a.c.length-1),570),QV(t,e))||W(n.a,new bSn(e))}function wge(n){wo();var e,t;e=n.d.c-n.e.c,t=u(n.g,145),Yc(t.b,new K5n(e)),Yc(t.c,new H5n(e)),$i(t.i,new q5n(e))}function RDn(n){var e;return e=new V1,e.a+="VerticalSegment ",rc(e,n.e),e.a+=" ",De(e,Lz(new YI,new E(n.k))),e.a}function gge(n){var e;return e=u(xd(n.c.c,""),229),e||(e=new M2(Vp(Xp(new Zg,""),"Other")),Aa(n.c.c,"",e)),e}function r6(n){var e;return n.Db&64?yo(n):(e=new Bs(yo(n)),e.a+=" (name: ",dr(e,n.zb),e.a+=")",e.a)}function hQ(n,e,t){var i,r;return r=n.sb,n.sb=e,n.Db&4&&!(n.Db&1)&&(i=new wi(n,1,4,r,e),t?t.Ei(i):t=i),t}function CF(n,e){var t,i,r;for(t=0,r=zr(n,e).Kc();r.Ob();)i=u(r.Pb(),11),t+=k(i,(G(),Mu))!=null?1:0;return t}function Kw(n,e,t){var i,r,c;for(i=0,c=_e(n,0);c.b!=c.d.c&&(r=K(Y(Re(c))),!(r>t));)r>=e&&++i;return i}function pge(n,e,t){var i,r;return i=new Lh(n.e,3,13,null,(r=e.c,r||(Sn(),Cf)),v1(n,e),!1),t?t.Ei(i):t=i,t}function vge(n,e,t){var i,r;return i=new Lh(n.e,4,13,(r=e.c,r||(Sn(),Cf)),null,v1(n,e),!1),t?t.Ei(i):t=i,t}function lQ(n,e,t){var i,r;return r=n.r,n.r=e,n.Db&4&&!(n.Db&1)&&(i=new wi(n,1,8,r,n.r),t?t.Ei(i):t=i),t}function w1(n,e){var t,i;return t=u(e,676),i=t.vk(),!i&&t.wk(i=I(e,88)?new xkn(n,u(e,26)):new tAn(n,u(e,148))),i}function a7(n,e,t){var i;n.qi(n.i+1),i=n.oi(e,t),e!=n.i&&gc(n.g,e,n.g,e+1,n.i-e),Mt(n.g,e,i),++n.i,n.bi(e,t),n.ci()}function mge(n,e){var t;return e.a&&(t=e.a.a.length,n.a?De(n.a,n.b):n.a=new Ju(n.d),rAn(n.a,e.a,e.d.length,t)),n}function kge(n,e){var t,i,r,c;if(e.vi(n.a),c=u(Rn(n.a,8),1936),c!=null)for(t=c,i=0,r=t.length;it)throw T(new vr(xM+n+rnn+e+", size: "+t));if(n>e)throw T(new Hn(xM+n+dKn+e))}function As(n,e,t){if(e<0)bY(n,t);else{if(!t.Ij())throw T(new Hn(Pl+t.ne()+em));u(t,66).Nj().Vj(n,n.yh(),e)}}function Ege(n,e,t,i,r,c,o,f){var h;for(h=t;c=i||e=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function UDn(n){var e;return n.Db&64?yo(n):(e=new Bs(yo(n)),e.a+=" (source: ",dr(e,n.d),e.a+=")",e.a)}function Tge(n,e,t){var i,r;return r=n.a,n.a=e,n.Db&4&&!(n.Db&1)&&(i=new wi(n,1,5,r,n.a),t?FJ(t,i):t=i),t}function g1(n,e){var t;t=(n.Bb&256)!=0,e?n.Bb|=256:n.Bb&=-257,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,2,t,e))}function dQ(n,e){var t;t=(n.Bb&256)!=0,e?n.Bb|=256:n.Bb&=-257,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,8,t,e))}function kT(n,e){var t;t=(n.Bb&256)!=0,e?n.Bb|=256:n.Bb&=-257,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,8,t,e))}function p1(n,e){var t;t=(n.Bb&512)!=0,e?n.Bb|=512:n.Bb&=-513,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,3,t,e))}function bQ(n,e){var t;t=(n.Bb&512)!=0,e?n.Bb|=512:n.Bb&=-513,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,9,t,e))}function u6(n,e){var t;return n.b==-1&&n.a&&(t=n.a.Gj(),n.b=t?n.c.Xg(n.a.aj(),t):yt(n.c.Tg(),n.a)),n.c.Og(n.b,e)}function Q(n){var e,t;return n>-129&&n<128?(e=n+128,t=(GEn(),jin)[e],!t&&(t=jin[e]=new gq(n)),t):new gq(n)}function J3(n){var e,t;return n>-129&&n<128?(e=n+128,t=(QEn(),Min)[e],!t&&(t=Min[e]=new vq(n)),t):new vq(n)}function wQ(n){var e,t;return e=n.k,e==(Qn(),Xt)?(t=u(k(n,(G(),ec)),61),t==(J(),Kn)||t==ae):!1}function Mge(n,e,t){var i,r,c;return c=(r=b4(n.b,e),r),c&&(i=u(jM(G8(n,c),""),26),i)?xY(n,i,e,t):null}function TF(n,e,t){var i,r,c;return c=(r=b4(n.b,e),r),c&&(i=u(jM(G8(n,c),""),26),i)?LY(n,i,e,t):null}function WDn(n,e){var t,i;for(i=new ie(n);i.e!=i.i.gc();)if(t=u(oe(i),138),B(e)===B(t))return!0;return!1}function s6(n,e,t){var i;if(i=n.gc(),e>i)throw T(new V0(e,i));if(n.hi()&&n.Hc(t))throw T(new Hn(yk));n.Xh(e,t)}function Age(n,e){var t;if(t=xw(n.i,e),t==null)throw T(new Af("Node did not exist in input."));return MV(e,t),null}function Sge(n,e){var t;if(t=R7(n,e),I(t,322))return u(t,34);throw T(new Hn(Pl+e+"' is not a valid attribute"))}function Pge(n,e,t){var i,r;for(r=I(e,99)&&u(e,18).Bb&Yi?new LO(e,n):new H3(e,n),i=0;ie?1:n==e?n==0?Zt(1/n,1/e):0:isNaN(n)?isNaN(e)?0:1:-1}function Bge(n,e){le(e,"Sort end labels",1),Rt(gt(qr(new $n(null,new xn(n.b,16)),new wdn),new gdn),new pdn),ce(e)}function o6(n,e,t){var i,r;return n.ej()?(r=n.fj(),i=Dx(n,e,t),n.$i(n.Zi(7,Q(t),i,e,r)),i):Dx(n,e,t)}function MF(n,e){var t,i,r;n.d==null?(++n.e,--n.f):(r=e.cd(),t=e.Sh(),i=(t&nt)%n.d.length,yde(n,i,lNn(n,i,t,r)))}function Y3(n,e){var t;t=(n.Bb&Eo)!=0,e?n.Bb|=Eo:n.Bb&=-1025,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,10,t,e))}function Z3(n,e){var t;t=(n.Bb&Ib)!=0,e?n.Bb|=Ib:n.Bb&=-4097,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,12,t,e))}function n4(n,e){var t;t=(n.Bb&mu)!=0,e?n.Bb|=mu:n.Bb&=-8193,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,15,t,e))}function e4(n,e){var t;t=(n.Bb&Bb)!=0,e?n.Bb|=Bb:n.Bb&=-2049,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,11,t,e))}function Rge(n,e){var t;return t=Zt(n.b.c,e.b.c),t!=0||(t=Zt(n.a.a,e.a.a),t!=0)?t:Zt(n.a.b,e.a.b)}function _ge(n,e){var t;if(t=te(n.k,e),t==null)throw T(new Af("Port did not exist in input."));return MV(e,t),null}function Kge(n){var e,t;for(t=gNn(ts(n)).Kc();t.Ob();)if(e=Te(t.Pb()),A6(n,e))return Vae((T7n(),Une),e);return null}function Hge(n,e){var t,i,r,c,o;for(o=Kc(n.e.Tg(),e),c=0,t=u(n.g,119),r=0;r>10)+rk&Ut,e[1]=(n&1023)+56320&Ut,Hs(e,0,e.length)}function jT(n){var e,t;return t=u(k(n,(nn(),ls)),103),t==(sr(),mh)?(e=K(Y(k(n,zS))),e>=1?Ao:Jh):t}function zge(n){switch(u(k(n,(nn(),Qh)),218).g){case 1:return new twn;case 3:return new swn;default:return new ewn}}function Ta(n){if(n.c)Ta(n.c);else if(n.d)throw T(new Dr("Stream already terminated, can't be modified or used"))}function PF(n){var e;return n.Db&64?yo(n):(e=new Bs(yo(n)),e.a+=" (identifier: ",dr(e,n.k),e.a+=")",e.a)}function JDn(n,e,t){var i,r;return i=(ad(),r=new Xy,r),UC(i,e),WC(i,t),n&&me((!n.a&&(n.a=new Jt(io,n,5)),n.a),i),i}function IF(n,e,t,i){var r,c;return _n(i),_n(t),r=n.xc(e),c=r==null?t:a7n(u(r,15),u(t,14)),c==null?n.Bc(e):n.zc(e,c),c}function Cn(n){var e,t,i,r;return t=(e=u(xo((i=n.gm,r=i.f,r==Ie?i:r)),9),new ks(e,u(bo(e,e.length),9),0)),ko(t,n),t}function Uge(n,e,t){var i,r;for(r=n.a.ec().Kc();r.Ob();)if(i=u(r.Pb(),10),t7(t,u(un(e,i.p),14)))return i;return null}function Wge(n,e,t){var i;try{Awe(n,e,t)}catch(r){throw r=jt(r),I(r,597)?(i=r,T(new EX(i))):T(r)}return e}function vl(n,e){var t;return $r(n)&&$r(e)&&(t=n-e,ik>1,n.k=t-1>>1}function OF(){_J();var n,e,t;t=qTe+++Date.now(),n=Gt(j.Math.floor(t*uk))&FM,e=Gt(t-n*enn),this.a=n^1502,this.b=e^tN}function Kh(n){var e,t,i;for(e=new X,i=new E(n.j);i.a34028234663852886e22?$t:e<-34028234663852886e22?Vt:e}function YDn(n){return n-=n>>1&1431655765,n=(n>>2&858993459)+(n&858993459),n=(n>>4)+n&252645135,n+=n>>8,n+=n>>16,n&63}function ZDn(n){var e,t,i,r;for(e=new $jn(n.Hd().gc()),r=0,i=$2(n.Hd().Kc());i.Ob();)t=i.Pb(),ole(e,t,Q(r++));return $5e(e.a)}function Zge(n,e){var t,i,r;for(r=new we,i=e.vc().Kc();i.Ob();)t=u(i.Pb(),42),it(r,t.cd(),Gbe(n,u(t.dd(),15)));return r}function yQ(n,e){n.n.c.length==0&&W(n.n,new lC(n.s,n.t,n.i)),W(n.b,e),iJ(u(un(n.n,n.n.c.length-1),211),e),fRn(n,e)}function Hw(n){return(n.c!=n.b.b||n.i!=n.g.b)&&(n.a.c=F(Zn,rn,1,0,5,1),Yt(n.a,n.b),Yt(n.a,n.g),n.c=n.b.b,n.i=n.g.b),n.a}function DF(n,e){var t,i,r;for(r=0,i=u(e.Kb(n),20).Kc();i.Ob();)t=u(i.Pb(),17),on(sn(k(t,(G(),mf))))||++r;return r}function n2e(n,e){var t,i,r;i=$w(e),r=K(Y(bb(i,(nn(),Mo)))),t=j.Math.max(0,r/2-.5),g6(e,t,1),W(n,new z7n(e,t))}function Ss(){Ss=N,Qk=new Q9(Xh,0),Sm=new Q9("FIRST",1),xl=new Q9(sHn,2),Pm=new Q9("LAST",3),Ub=new Q9(oHn,4)}function Hh(){Hh=N,rH=new Wj(K6,0),yy=new Wj("POLYLINE",1),Cv=new Wj("ORTHOGONAL",2),Sp=new Wj("SPLINES",3)}function ET(){ET=N,Jon=new PO("ASPECT_RATIO_DRIVEN",0),IK=new PO("MAX_SCALE_DRIVEN",1),Qon=new PO("AREA_DRIVEN",2)}function w7(){w7=N,AP=new IO("P1_STRUCTURE",0),SP=new IO("P2_PROCESSING_ORDER",1),PP=new IO("P3_EXECUTION",2)}function CT(){CT=N,CK=new MO("OVERLAP_REMOVAL",0),jK=new MO("COMPACTION",1),EK=new MO("GRAPH_SIZE_CALCULATION",2)}function zd(n,e){return Yo(),mo(Cl),j.Math.abs(n-e)<=Cl||n==e||isNaN(n)&&isNaN(e)?0:ne?1:pd(isNaN(n),isNaN(e))}function n$n(n,e){var t,i;for(t=_e(n,0);t.b!=t.d.c;){if(i=x9(Y(Re(t))),i==e)return;if(i>e){a$(t);break}}y8(t,e)}function En(n,e){var t,i,r,c,o;if(t=e.f,Aa(n.c.d,t,e),e.g!=null)for(r=e.g,c=0,o=r.length;ce&&i.ue(n[c-1],n[c])>0;--c)o=n[c],Mt(n,c,n[c-1]),Mt(n,c-1,o)}function Ps(n,e,t,i){if(e<0)_Y(n,t,i);else{if(!t.Ij())throw T(new Hn(Pl+t.ne()+em));u(t,66).Nj().Tj(n,n.yh(),e,i)}}function TT(n,e){if(e==n.d)return n.e;if(e==n.e)return n.d;throw T(new Hn("Node "+e+" not part of edge "+n))}function t2e(n,e){switch(e.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function e$n(n,e){switch(e.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function jQ(n,e,t,i){switch(e){case 3:return n.f;case 4:return n.g;case 5:return n.i;case 6:return n.j}return aQ(n,e,t,i)}function i2e(n){return n.k!=(Qn(),ti)?!1:C3(new $n(null,new Cd(new re(ue(ni(n).a.Kc(),new Mn)))),new qbn)}function r2e(n){return n.e==null?n:(!n.c&&(n.c=new zx((n.f&256)!=0,n.i,n.a,n.d,(n.f&16)!=0,n.j,n.g,null)),n.c)}function c2e(n,e){return n.h==tk&&n.m==0&&n.l==0?(e&&(Il=Bc(0,0,0)),tyn((I3(),gin))):(e&&(Il=Bc(n.l,n.m,n.h)),Bc(0,0,0))}function Lr(n){var e;return Array.isArray(n)&&n.im===Xg?J1(Du(n))+"@"+(e=mt(n)>>>0,e.toString(16)):n.toString()}function f6(n){var e;this.a=(e=u(n.e&&n.e(),9),new ks(e,u(bo(e,e.length),9),0)),this.b=F(Zn,rn,1,this.a.a.length,5,1)}function u2e(n){var e,t,i;for(this.a=new Sh,i=new E(n);i.a0&&(Me(e-1,n.length),n.charCodeAt(e-1)==58)&&!$F(n,a9,d9))}function $F(n,e,t){var i,r;for(i=0,r=n.length;i=r)return e.c+t;return e.c+e.b.gc()}function l2e(n,e){o3();var t,i,r,c;for(i=wPn(n),r=e,S3(i,0,i.length,r),t=0;t0&&(i+=r,++t);return t>1&&(i+=n.d*(t-1)),i}function CQ(n){var e,t,i;for(i=new i1,i.a+="[",e=0,t=n.gc();e0&&this.b>0&&cW(this.c,this.b,this.a)}function AQ(n){xF(),this.c=cf(A(M(sMe,1),rn,831,0,[NQn])),this.b=new we,this.a=n,it(this.b,uP,1),Yc(BQn,new G6n(this))}function t$n(n,e){var t;return n.d?zu(n.b,e)?u(te(n.b,e),51):(t=e.Kf(),it(n.b,e,t),t):e.Kf()}function SQ(n,e){var t;return B(n)===B(e)?!0:I(e,91)?(t=u(e,91),n.e==t.e&&n.d==t.d&&Jae(n,t.a)):!1}function B2(n){switch(J(),n.g){case 4:return Kn;case 1:return Vn;case 3:return ae;case 2:return Gn;default:return Xr}}function PQ(n,e){switch(e){case 3:return n.f!=0;case 4:return n.g!=0;case 5:return n.i!=0;case 6:return n.j!=0}return SV(n,e)}function p2e(n){switch(n.g){case 0:return new Ngn;case 1:return new Bgn;default:throw T(new Hn(lB+(n.f!=null?n.f:""+n.g)))}}function i$n(n){switch(n.g){case 0:return new Lgn;case 1:return new Rgn;default:throw T(new Hn(AN+(n.f!=null?n.f:""+n.g)))}}function r$n(n){switch(n.g){case 0:return new sG;case 1:return new w9n;default:throw T(new Hn(bA+(n.f!=null?n.f:""+n.g)))}}function v2e(n){switch(n.g){case 1:return new Ign;case 2:return new yjn;default:throw T(new Hn(lB+(n.f!=null?n.f:""+n.g)))}}function m2e(n){var e,t;if(n.b)return n.b;for(t=pf?null:n.d;t;){if(e=pf?null:t.b,e)return e;t=pf?null:t.d}return e3(),Uin}function k2e(n){var e,t,i;return n.e==0?0:(e=n.d<<5,t=n.a[n.d-1],n.e<0&&(i=bOn(n),i==n.d-1&&(--t,t=t|0)),e-=x7(t),e)}function y2e(n){var e,t,i;return n>5,e=n&31,i=F(be,Le,25,t+1,15,1),i[t]=1<3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}function E2e(n){return yF(),qn(),!!(e$n(u(n.a,81).j,u(n.b,103))||u(n.a,81).d.e!=0&&e$n(u(n.a,81).j,u(n.b,103)))}function C2e(n){DC(),u(n.We((Xe(),_l)),174).Hc((xu(),UP))&&(u(n.We(rw),174).Fc((Tu(),Pp)),u(n.We(_l),174).Mc(UP))}function u$n(n,e){var t,i;if(e){for(t=0;t=0;--i)for(e=t[i],r=0;r>1,this.k=e-1>>1}function I2e(n,e){le(e,"End label post-processing",1),Rt(gt(qr(new $n(null,new xn(n.b,16)),new sdn),new odn),new fdn),ce(e)}function O2e(n,e,t){var i,r;return i=K(n.p[e.i.p])+K(n.d[e.i.p])+e.n.b+e.a.b,r=K(n.p[t.i.p])+K(n.d[t.i.p])+t.n.b+t.a.b,r-i}function D2e(n,e,t){var i,r;for(i=ci(t,fr),r=0;fc(i,0)!=0&&r0&&(Me(0,e.length),e.charCodeAt(0)==43)?e.substr(1):e))}function F2e(n){var e;return n==null?null:new il((e=jc(n,!0),e.length>0&&(Me(0,e.length),e.charCodeAt(0)==43)?e.substr(1):e))}function LQ(n,e){var t;return n.i>0&&(e.lengthn.i&&Mt(e,n.i,null),e}function Oc(n,e,t){var i,r,c;return n.ej()?(i=n.i,c=n.fj(),a7(n,i,e),r=n.Zi(3,null,e,i,c),t?t.Ei(r):t=r):a7(n,n.i,e),t}function x2e(n,e,t){var i,r;return i=new Lh(n.e,4,10,(r=e.c,I(r,88)?u(r,26):(Sn(),so)),null,v1(n,e),!1),t?t.Ei(i):t=i,t}function L2e(n,e,t){var i,r;return i=new Lh(n.e,3,10,null,(r=e.c,I(r,88)?u(r,26):(Sn(),so)),v1(n,e),!1),t?t.Ei(i):t=i,t}function f$n(n){W0();var e;return e=new mr(u(n.e.We((Xe(),Kg)),8)),n.B.Hc((xu(),Mv))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function h$n(n){wb();var e;return(n.q?n.q:(Pn(),Pn(),ph))._b((nn(),j0))?e=u(k(n,j0),197):e=u(k(Gi(n),$m),197),e}function bb(n,e){var t,i;return i=null,li(n,(nn(),rP))&&(t=u(k(n,rP),94),t.Xe(e)&&(i=t.We(e))),i==null&&(i=k(Gi(n),e)),i}function l$n(n,e){var t,i,r;return I(e,42)?(t=u(e,42),i=t.cd(),r=ab(n.Rc(),i),$f(r,t.dd())&&(r!=null||n.Rc()._b(i))):!1}function NF(n,e){var t,i,r;return n.f>0?(n.qj(),i=e==null?0:mt(e),r=(i&nt)%n.d.length,t=lNn(n,r,i,e),t!=-1):!1}function Ko(n,e){var t,i,r;return n.f>0&&(n.qj(),i=e==null?0:mt(e),r=(i&nt)%n.d.length,t=kY(n,r,i,e),t)?t.dd():null}function g7(n,e){var t,i,r,c;for(c=Kc(n.e.Tg(),e),t=u(n.g,119),r=0;r1?rf(Ih(e.a[1],32),ci(e.a[0],fr)):ci(e.a[0],fr),$d(Ni(e.e,t))))}function p7(n,e){var t;return $r(n)&&$r(e)&&(t=n%e,ik>5,e&=31,r=n.d+t+(e==0?0:1),i=F(be,Le,25,r,15,1),Nve(i,n.a,t,e),c=new Pw(n.e,r,i),K5(c),c}function BQ(n,e,t){var i,r;i=u(vc(Pv,e),117),r=u(vc(m9,e),117),t?(kr(Pv,n,i),kr(m9,n,r)):(kr(m9,n,i),kr(Pv,n,r))}function v$n(n,e,t){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.ue(e,c.d),t&&i==0)return c;i>=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function m$n(n,e,t){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.ue(e,c.d),t&&i==0)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function K2e(n,e,t,i){var r,c,o;return r=!1,jEe(n.f,t,i)&&(ape(n.f,n.a[e][t],n.a[e][i]),c=n.a[e],o=c[i],c[i]=c[t],c[t]=o,r=!0),r}function RQ(n,e,t,i,r){var c,o,f;for(o=r;e.b!=e.c;)c=u(y2(e),10),f=u(zr(c,i).Xb(0),11),n.d[f.p]=o++,t.c[t.c.length]=f;return o}function _Q(n,e,t){var i,r,c,o,f;return o=n.k,f=e.k,i=t[o.g][f.g],r=Y(bb(n,i)),c=Y(bb(e,i)),j.Math.max((_n(r),r),(_n(c),c))}function H2e(n,e,t){var i,r,c,o;for(i=t/n.c.length,r=0,o=new E(n);o.a2e3&&(gzn=n,KA=j.setTimeout(Vie,10))),_A++==0?(E0e((aG(),din)),!0):!1}function G2e(n,e){var t,i,r;for(i=new re(ue(ni(n).a.Kc(),new Mn));Se(i);)if(t=u(ve(i),17),r=t.d.i,r.c==e)return!1;return!0}function KQ(n,e){var t,i;if(I(e,245)){i=u(e,245);try{return t=n.vd(i),t==0}catch(r){if(r=jt(r),!I(r,205))throw T(r)}}return!1}function z2e(){return Error.stackTraceLimit>0?(j.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function U2e(n,e){return Yo(),Yo(),mo(Cl),(j.Math.abs(n-e)<=Cl||n==e||isNaN(n)&&isNaN(e)?0:ne?1:pd(isNaN(n),isNaN(e)))>0}function HQ(n,e){return Yo(),Yo(),mo(Cl),(j.Math.abs(n-e)<=Cl||n==e||isNaN(n)&&isNaN(e)?0:ne?1:pd(isNaN(n),isNaN(e)))<0}function j$n(n,e){return Yo(),Yo(),mo(Cl),(j.Math.abs(n-e)<=Cl||n==e||isNaN(n)&&isNaN(e)?0:ne?1:pd(isNaN(n),isNaN(e)))<=0}function RF(n,e){for(var t=0;!e[t]||e[t]=="";)t++;for(var i=e[t++];tJL)return t.fh();if(i=t.Zg(),i||t==n)break}return i}function qQ(n){return dC(),I(n,156)?u(te($y,Szn),288).vg(n):zu($y,Du(n))?u(te($y,Du(n)),288).vg(n):null}function X2e(n){if(DT(B4,n))return qn(),z4;if(DT(EB,n))return qn(),qa;throw T(new Hn("Expecting true or false"))}function V2e(n,e){if(e.c==n)return e.d;if(e.d==n)return e.c;throw T(new Hn("Input edge is not connected to the input port."))}function S$n(n,e){return n.e>e.e?1:n.ee.d?n.e:n.d=48&&n<48+j.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function I$n(n,e){var t;return B(e)===B(n)?!0:!I(e,21)||(t=u(e,21),t.gc()!=n.gc())?!1:n.Ic(t)}function Q2e(n,e){var t,i,r,c;return i=n.a.length-1,t=e-n.b&i,c=n.c-e&i,r=n.c-n.b&i,ujn(t=c?(Vwe(n,e),-1):(Qwe(n,e),1)}function J2e(n,e){var t,i;for(t=(Me(e,n.length),n.charCodeAt(e)),i=e+1;ie.e?1:n.fe.f?1:mt(n)-mt(e)}function DT(n,e){return _n(n),e==null?!1:An(n,e)?!0:n.length==e.length&&An(n.toLowerCase(),e.toLowerCase())}function upe(n,e){var t,i,r,c;for(i=0,r=e.gc();i0&&fc(n,128)<0?(e=ge(n)+128,t=(VEn(),Ein)[e],!t&&(t=Ein[e]=new pq(n)),t):new pq(n)}function D$n(n,e){var t,i;return t=e.Hh(n.a),t&&(i=Te(Ko((!t.b&&(t.b=new qu((Sn(),nr),tc,t)),t.b),We)),i!=null)?i:e.ne()}function spe(n,e){var t,i;return t=e.Hh(n.a),t&&(i=Te(Ko((!t.b&&(t.b=new qu((Sn(),nr),tc,t)),t.b),We)),i!=null)?i:e.ne()}function ope(n,e){c$();var t,i;for(i=new re(ue(Kh(n).a.Kc(),new Mn));Se(i);)if(t=u(ve(i),17),t.d.i==e||t.c.i==e)return t;return null}function UQ(n,e,t){this.c=n,this.f=new X,this.e=new Li,this.j=new eW,this.n=new eW,this.b=e,this.g=new ys(e.c,e.d,e.b,e.a),this.a=t}function _F(n){var e,t,i,r;for(this.a=new Sh,this.d=new fi,this.e=0,t=n,i=0,r=t.length;i0):!1}function x$n(n){var e;B(hn(n,(Xe(),Bg)))===B((_h(),HP))&&(At(n)?(e=u(hn(At(n),Bg),334),gr(n,Bg,e)):gr(n,Bg,i9))}function ape(n,e,t){var i,r;yx(n.e,e,t,(J(),Gn)),yx(n.i,e,t,Vn),n.a&&(r=u(k(e,(G(),rt)),11),i=u(k(t,rt),11),l$(n.g,r,i))}function L$n(n,e,t){var i,r,c;i=e.c.p,c=e.p,n.b[i][c]=new ZTn(n,e),t&&(n.a[i][c]=new u6n(e),r=u(k(e,(G(),m0)),10),r&&Tn(n.d,r,e))}function N$n(n,e){var t,i,r;if(W(eS,n),e.Fc(n),t=u(te(DR,n),21),t)for(r=t.Kc();r.Ob();)i=u(r.Pb(),33),Fr(eS,i,0)!=-1||N$n(i,e)}function dpe(n,e,t){var i;(xzn?(m2e(n),!0):Lzn||Bzn?(e3(),!0):Nzn&&(e3(),!1))&&(i=new lEn(e),i.b=t,g5e(n,i))}function KF(n,e){var t;t=!n.A.Hc((Vu(),id))||n.q==(Ti(),Ac),n.u.Hc((Tu(),n1))?t?xCe(n,e):d_n(n,e):n.u.Hc(Gl)&&(t?nCe(n,e):A_n(n,e))}function r4(n,e){var t,i;if(++n.j,e!=null&&(t=(i=n.a.Cb,I(i,97)?u(i,97).Jg():null),ome(e,t))){R2(n.a,4,t);return}R2(n.a,4,u(e,126))}function B$n(n,e,t){return new ys(j.Math.min(n.a,e.a)-t/2,j.Math.min(n.b,e.b)-t/2,j.Math.abs(n.a-e.a)+t,j.Math.abs(n.b-e.b)+t)}function bpe(n,e){var t,i;return t=Uc(n.a.c.p,e.a.c.p),t!=0?t:(i=Uc(n.a.d.i.p,e.a.d.i.p),i!=0?i:Uc(e.a.d.p,n.a.d.p))}function wpe(n,e,t){var i,r,c,o;return c=e.j,o=t.j,c!=o?c.g-o.g:(i=n.f[e.p],r=n.f[t.p],i==0&&r==0?0:i==0?-1:r==0?1:Zt(i,r))}function R$n(n,e,t){var i,r,c;if(!t[e.d])for(t[e.d]=!0,r=new E(Hw(e));r.a=r)return r;for(e=e>0?e:0;ei&&Mt(e,i,null),e}function K$n(n,e){var t,i;for(i=n.a.length,e.lengthi&&Mt(e,i,null),e}function Aa(n,e,t){var i,r,c;return r=u(te(n.e,e),387),r?(c=gU(r,t),Dyn(n,r),c):(i=new qU(n,e,t),it(n.e,e,i),rMn(i),null)}function vpe(n){var e;if(n==null)return null;if(e=a9e(jc(n,!0)),e==null)throw T(new VI("Invalid hexBinary value: '"+n+"'"));return e}function m7(n){return jl(),fc(n,0)<0?fc(n,-1)!=0?new OJ(-1,P3(n)):gR:fc(n,10)<=0?xin[ge(n)]:new OJ(1,n)}function qF(){return SM(),A(M(jUn,1),z,159,0,[kUn,mUn,yUn,lUn,hUn,aUn,wUn,bUn,dUn,vUn,pUn,gUn,oUn,sUn,fUn,cUn,rUn,uUn,tUn,eUn,iUn,TR])}function H$n(n){var e;this.d=new X,this.j=new Li,this.g=new Li,e=n.g.b,this.f=u(k(Gi(e),(nn(),ls)),103),this.e=K(Y(xT(e,nw)))}function q$n(n){this.b=new X,this.e=new X,this.d=n,this.a=!Wv(gt(new $n(null,new Cd(new uf(n.b))),new Fv(new Gbn))).sd((ca(),V4))}function Ho(){Ho=N,Xn=new Z9("PARENTS",0),pi=new Z9("NODES",1),Yf=new Z9("EDGES",2),Ya=new Z9("PORTS",3),D1=new Z9("LABELS",4)}function qw(){qw=N,Hl=new e8("DISTRIBUTED",0),Cy=new e8("JUSTIFIED",1),Hhn=new e8("BEGIN",2),r9=new e8(I4,3),qhn=new e8("END",4)}function mpe(n){var e;switch(e=n.yi(null),e){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function GF(n){switch(n.g){case 1:return sr(),Yh;case 4:return sr(),Zs;case 2:return sr(),Ao;case 3:return sr(),Jh}return sr(),mh}function kpe(n,e,t){var i;switch(i=t.q.getFullYear()-Tl+Tl,i<0&&(i=-i),e){case 1:n.a+=i;break;case 2:sh(n,i%100,2);break;default:sh(n,i,e)}}function _e(n,e){var t,i;if(tb(e,n.b),e>=n.b>>1)for(i=n.c,t=n.b;t>e;--t)i=i.b;else for(i=n.a.a,t=0;t=64&&e<128&&(r=rf(r,Ih(1,e-64)));return r}function xT(n,e){var t,i;return i=null,li(n,(Xe(),Ap))&&(t=u(k(n,Ap),94),t.Xe(e)&&(i=t.We(e))),i==null&&Gi(n)&&(i=k(Gi(n),e)),i}function U$n(n,e){var t,i,r;r=e.d.i,i=r.k,!(i==(Qn(),ti)||i==vf)&&(t=new re(ue(ni(r).a.Kc(),new Mn)),Se(t)&&it(n.k,e,u(ve(t),17)))}function zF(n,e){var t,i,r;return i=On(n.Tg(),e),t=e-n.Ah(),t<0?(r=n.Yg(i),r>=0?n.lh(r):Ox(n,i)):t<0?Ox(n,i):u(i,66).Nj().Sj(n,n.yh(),t)}function cn(n){var e;if(I(n.a,4)){if(e=qQ(n.a),e==null)throw T(new Dr(qHn+n.b+"'. "+HHn+(Ph(Fy),Fy.k)+Etn));return e}else return n.a}function Epe(n){var e;if(n==null)return null;if(e=qCe(jc(n,!0)),e==null)throw T(new VI("Invalid base64Binary value: '"+n+"'"));return e}function oe(n){var e;try{return e=n.i.Xb(n.e),n.mj(),n.g=n.e++,e}catch(t){throw t=jt(t),I(t,73)?(n.mj(),T(new ic)):T(t)}}function UF(n){var e;try{return e=n.c.ki(n.e),n.mj(),n.g=n.e++,e}catch(t){throw t=jt(t),I(t,73)?(n.mj(),T(new ic)):T(t)}}function a6(){a6=N,Trn=(Xe(),yhn),IR=Zfn,xUn=Tp,Crn=nd,RUn=(WT(),irn),BUn=ern,_Un=crn,NUn=nrn,LUn=(pF(),yrn),PR=DUn,Ern=$Un,nS=FUn}function LT(n){switch(DG(),this.c=new X,this.d=n,n.g){case 0:case 2:this.a=_W(qrn),this.b=$t;break;case 3:case 1:this.a=qrn,this.b=Vt}}function W$n(n,e,t){var i,r;if(n.c)Zc(n.c,n.c.i+e),nu(n.c,n.c.j+t);else for(r=new E(n.b);r.a0&&(W(n.b,new AEn(e.a,t)),i=e.a.length,0i&&(e.a+=Oyn(F(Ls,Bf,25,-i,15,1))))}function X$n(n,e){var t,i,r;for(t=n.o,r=u(u(ct(n.r,e),21),84).Kc();r.Ob();)i=u(r.Pb(),111),i.e.a=M3e(i,t.a),i.e.b=t.b*K(Y(i.b.We(JA)))}function Tpe(n,e){var t,i,r,c;return r=n.k,t=K(Y(k(n,(G(),k0)))),c=e.k,i=K(Y(k(e,k0))),c!=(Qn(),Xt)?-1:r!=Xt?1:t==i?0:t=0?n.hh(e,t,i):(n.eh()&&(i=(r=n.Vg(),r>=0?n.Qg(i):n.eh().ih(n,-1-r,null,i))),n.Sg(e,t,i))}function XQ(n,e){switch(e){case 7:!n.e&&(n.e=new Fn(di,n,7,4)),de(n.e);return;case 8:!n.d&&(n.d=new Fn(di,n,8,5)),de(n.d);return}FQ(n,e)}function qo(n,e){var t;t=n.Zc(e);try{return t.Pb()}catch(i){throw i=jt(i),I(i,109)?T(new vr("Can't get element "+e)):T(i)}}function VQ(n,e){this.e=n,e=0&&(t.d=n.t);break;case 3:n.t>=0&&(t.a=n.t)}n.C&&(t.b=n.C.b,t.c=n.C.c)}function K2(){K2=N,$k=new Rj(NM,0),Dk=new Rj(lN,1),Fk=new Rj(aN,2),xk=new Rj(dN,3),$k.a=!1,Dk.a=!0,Fk.a=!1,xk.a=!0}function d6(){d6=N,Lk=new Bj(NM,0),YA=new Bj(lN,1),ZA=new Bj(aN,2),Nk=new Bj(dN,3),Lk.a=!1,YA.a=!0,ZA.a=!1,Nk.a=!0}function Ipe(n){var e;e=n.a;do e=u(ve(new re(ue(xr(e).a.Kc(),new Mn))),17).c.i,e.k==(Qn(),gi)&&n.b.Fc(e);while(e.k==(Qn(),gi));n.b=va(n.b)}function Ope(n){var e,t,i;for(i=n.c.a,n.p=(pe(i),new du(i)),t=new E(i);t.at.b)return!0}return!1}function WF(n,e){return mi(n)?!!fzn[e]:n.hm?!!n.hm[e]:G0(n)?!!ozn[e]:q0(n)?!!szn[e]:!1}function gr(n,e,t){return t==null?(!n.o&&(n.o=new Wu((Dc(),Ul),S0,n,0)),IT(n.o,e)):(!n.o&&(n.o=new Wu((Dc(),Ul),S0,n,0)),XT(n.o,e,t)),n}function xpe(n,e,t,i){var r,c;c=e.Xe((Xe(),_g))?u(e.We(_g),21):n.j,r=Cge(c),r!=(SM(),TR)&&(t&&!GQ(r)||nY(d9e(n,r,i),e))}function BT(n,e,t,i){var r,c,o;return c=On(n.Tg(),e),r=e-n.Ah(),r<0?(o=n.Yg(c),o>=0?n._g(o,t,!0):Yd(n,c,t)):u(c,66).Nj().Pj(n,n.yh(),r,t,i)}function Lpe(n,e,t,i){var r,c,o;t.mh(e)&&(er(),R$(e)?(r=u(t.ah(e),153),upe(n,r)):(c=(o=e,o?u(i,49).xh(o):null),c&&Bte(t.ah(e),c)))}function Npe(n){switch(n.g){case 1:return Hd(),Ok;case 3:return Hd(),Ik;case 2:return Hd(),AR;case 4:return Hd(),MR;default:return null}}function QQ(n){switch(typeof n){case EL:return m1(n);case UZ:return Gt(n);case X2:return qn(),n?1231:1237;default:return n==null?0:md(n)}}function Bpe(n,e,t){if(n.e)switch(n.b){case 1:d1e(n.c,e,t);break;case 0:b1e(n.c,e,t)}else LAn(n.c,e,t);n.a[e.p][t.p]=n.c.i,n.a[t.p][e.p]=n.c.e}function Z$n(n){var e,t;if(n==null)return null;for(t=F(vh,q,193,n.length,0,2),e=0;e=0)return r;if(n.Fk()){for(i=0;i=r)throw T(new V0(e,r));if(n.hi()&&(i=n.Xc(t),i>=0&&i!=e))throw T(new Hn(yk));return n.mi(e,t)}function JQ(n,e){if(this.a=u(pe(n),245),this.b=u(pe(e),245),n.vd(e)>0||n==(qI(),cR)||e==(HI(),uR))throw T(new Hn("Invalid range: "+DAn(n,e)))}function nFn(n){var e,t;for(this.b=new X,this.c=n,this.a=!1,t=new E(n.a);t.a0),(e&-e)==e)return Gt(e*Fu(n,31)*4656612873077393e-25);do t=Fu(n,31),i=t%e;while(t-i+(e-1)<0);return Gt(i)}function m1(n){aEn();var e,t,i;return t=":"+n,i=XA[t],i!=null?Gt((_n(i),i)):(i=Xin[t],e=i==null?I8e(n):Gt((_n(i),i)),c1e(),XA[t]=e,e)}function tFn(n,e,t){le(t,"Compound graph preprocessor",1),n.a=new Od,o_n(n,e,null),pje(n,e),Z9e(n),H(e,(G(),dun),n.a),n.a=null,Eu(n.b),ce(t)}function Kpe(n,e,t){switch(t.g){case 1:n.a=e.a/2,n.b=0;break;case 2:n.a=e.a,n.b=e.b/2;break;case 3:n.a=e.a/2,n.b=e.b;break;case 4:n.a=0,n.b=e.b/2}}function Hpe(n){var e,t,i;for(i=u(ct(n.a,(Vw(),IS)),15).Kc();i.Ob();)t=u(i.Pb(),101),e=hJ(t),b3(n,t,e[0],(Kd(),w0),0),b3(n,t,e[1],g0,1)}function qpe(n){var e,t,i;for(i=u(ct(n.a,(Vw(),OS)),15).Kc();i.Ob();)t=u(i.Pb(),101),e=hJ(t),b3(n,t,e[0],(Kd(),w0),0),b3(n,t,e[1],g0,1)}function XF(n){switch(n.g){case 0:return null;case 1:return new tOn;case 2:return new oG;default:throw T(new Hn(lB+(n.f!=null?n.f:""+n.g)))}}function k7(n,e,t){var i,r;for(lwe(n,e-n.s,t-n.t),r=new E(n.n);r.a1&&(c=_pe(n,e)),c}function VF(n){var e;return n.f&&n.f.kh()&&(e=u(n.f,49),n.f=u(pl(n,e),82),n.f!=e&&n.Db&4&&!(n.Db&1)&&et(n,new wi(n,9,8,e,n.f))),n.f}function QF(n){var e;return n.i&&n.i.kh()&&(e=u(n.i,49),n.i=u(pl(n,e),82),n.i!=e&&n.Db&4&&!(n.Db&1)&&et(n,new wi(n,9,7,e,n.i))),n.i}function ir(n){var e;return n.b&&n.b.Db&64&&(e=n.b,n.b=u(pl(n,e),18),n.b!=e&&n.Db&4&&!(n.Db&1)&&et(n,new wi(n,9,21,e,n.b))),n.b}function KT(n,e){var t,i,r;n.d==null?(++n.e,++n.f):(i=e.Sh(),u8e(n,n.f+1),r=(i&nt)%n.d.length,t=n.d[r],!t&&(t=n.d[r]=n.uj()),t.Fc(e),++n.f)}function nJ(n,e,t){var i;return e.Kj()?!1:e.Zj()!=-2?(i=e.zj(),i==null?t==null:tt(i,t)):e.Hj()==n.e.Tg()&&t==null}function HT(){var n;is(16,Y_n),n=WIn(16),this.b=F(oR,nk,317,n,0,1),this.c=F(oR,nk,317,n,0,1),this.a=null,this.e=null,this.i=0,this.f=n-1,this.g=0}function qh(n){vU.call(this),this.k=(Qn(),ti),this.j=(is(6,Pb),new Pc(6)),this.b=(is(2,Pb),new Pc(2)),this.d=new NI,this.f=new Zq,this.a=n}function zpe(n){var e,t;n.c.length<=1||(e=nBn(n,(J(),ae)),Hxn(n,u(e.a,19).a,u(e.b,19).a),t=nBn(n,Gn),Hxn(n,u(t.a,19).a,u(t.b,19).a))}function b6(){b6=N,zsn=new V9("SIMPLE",0),nK=new V9(PN,1),eK=new V9("LINEAR_SEGMENTS",2),Lm=new V9("BRANDES_KOEPF",3),Nm=new V9(CHn,4)}function eJ(n,e,t){p2(u(k(e,(nn(),xt)),98))||(VX(n,e,k1(e,t)),VX(n,e,k1(e,(J(),ae))),VX(n,e,k1(e,Kn)),Pn(),bi(e.j,new r6n(n)))}function iFn(n,e,t,i){var r,c,o;for(r=u(ct(i?n.a:n.b,e),21),o=r.Kc();o.Ob();)if(c=u(o.Pb(),33),aM(n,t,c))return!0;return!1}function JF(n){var e,t;for(t=new ie(n);t.e!=t.i.gc();)if(e=u(oe(t),87),e.e||(!e.d&&(e.d=new Jt(ar,e,1)),e.d).i!=0)return!0;return!1}function YF(n){var e,t;for(t=new ie(n);t.e!=t.i.gc();)if(e=u(oe(t),87),e.e||(!e.d&&(e.d=new Jt(ar,e,1)),e.d).i!=0)return!0;return!1}function Upe(n){var e,t,i;for(e=0,i=new E(n.c.a);i.a102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function ex(n,e){if(n==null)throw T(new c2("null key in entry: null="+e));if(e==null)throw T(new c2("null value in entry: "+n+"=null"))}function Wpe(n,e){for(var t,i;n.Ob();)if(!e.Ob()||(t=n.Pb(),i=e.Pb(),!(B(t)===B(i)||t!=null&&tt(t,i))))return!1;return!e.Ob()}function cFn(n,e){var t;return t=A(M(ji,1),pr,25,15,[kF(n.a[0],e),kF(n.a[1],e),kF(n.a[2],e)]),n.d&&(t[0]=j.Math.max(t[0],t[2]),t[2]=t[0]),t}function uFn(n,e){var t;return t=A(M(ji,1),pr,25,15,[pT(n.a[0],e),pT(n.a[1],e),pT(n.a[2],e)]),n.d&&(t[0]=j.Math.max(t[0],t[2]),t[2]=t[0]),t}function Pa(){Pa=N,f_=new X9("GREEDY",0),Gcn=new X9(hHn,1),h_=new X9(PN,2),Em=new X9("MODEL_ORDER",3),jm=new X9("GREEDY_MODEL_ORDER",4)}function sFn(n,e){var t,i,r;for(n.b[e.g]=1,i=_e(e.d,0);i.b!=i.d.c;)t=u(Re(i),188),r=t.c,n.b[r.g]==1?Ke(n.a,t):n.b[r.g]==2?n.b[r.g]=1:sFn(n,r)}function Xpe(n,e){var t,i,r;for(r=new Pc(e.gc()),i=e.Kc();i.Ob();)t=u(i.Pb(),286),t.c==t.f?l4(n,t,t.c):U5e(n,t)||(r.c[r.c.length]=t);return r}function Vpe(n,e,t){var i,r,c,o,f;for(f=n.r+e,n.r+=e,n.d+=t,i=t/n.n.c.length,r=0,o=new E(n.n);o.ac&&Mt(e,c,null),e}function f3e(n,e){var t,i;if(i=n.gc(),e==null){for(t=0;t0&&(h+=r),l[a]=o,o+=f*(h+i)}function wFn(n){var e,t,i;for(i=n.f,n.n=F(ji,pr,25,i,15,1),n.d=F(ji,pr,25,i,15,1),e=0;e0?n.c:0),++r;n.b=i,n.d=c}function g3e(n,e){var t,i,r,c,o;for(i=0,r=0,t=0,o=new E(e);o.a0?n.g:0),++t;n.c=r,n.d=i}function kFn(n,e){var t;return t=A(M(ji,1),pr,25,15,[ZQ(n,(_o(),Zr),e),ZQ(n,Fc,e),ZQ(n,nc,e)]),n.f&&(t[0]=j.Math.max(t[0],t[2]),t[2]=t[0]),t}function p3e(n,e,t){var i;try{wM(n,e+n.j,t+n.k,!1,!0)}catch(r){throw r=jt(r),I(r,73)?(i=r,T(new vr(i.g+RM+e+Ji+t+")."))):T(r)}}function v3e(n,e,t){var i;try{wM(n,e+n.j,t+n.k,!0,!1)}catch(r){throw r=jt(r),I(r,73)?(i=r,T(new vr(i.g+RM+e+Ji+t+")."))):T(r)}}function yFn(n){var e;li(n,(nn(),y0))&&(e=u(k(n,y0),21),e.Hc((jb(),So))?(e.Mc(So),e.Fc(Po)):e.Hc(Po)&&(e.Mc(Po),e.Fc(So)))}function jFn(n){var e;li(n,(nn(),y0))&&(e=u(k(n,y0),21),e.Hc((jb(),Oo))?(e.Mc(Oo),e.Fc(eo)):e.Hc(eo)&&(e.Mc(eo),e.Fc(Oo)))}function m3e(n,e,t){le(t,"Self-Loop ordering",1),Rt(Xc(gt(gt(qr(new $n(null,new xn(e.b,16)),new I0n),new O0n),new D0n),new $0n),new D5n(n)),ce(t)}function j7(n,e,t,i){var r,c;for(r=e;r0&&(r.b+=e),r}function zT(n,e){var t,i,r;for(r=new Li,i=n.Kc();i.Ob();)t=u(i.Pb(),37),M6(t,0,r.b),r.b+=t.f.b+e,r.a=j.Math.max(r.a,t.f.a);return r.a>0&&(r.a+=e),r}function CFn(n){var e,t,i;for(i=nt,t=new E(n.a);t.a>16==6?n.Cb.ih(n,5,Vo,e):(i=ir(u(On((t=u(Rn(n,16),26),t||n.zh()),n.Db>>16),18)),n.Cb.ih(n,i.n,i.f,e))}function C3e(n){k3();var e=n.e;if(e&&e.stack){var t=e.stack,i=e+` `;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(` diff --git a/docs/.vuepress/dist/assets/ganttDiagram-04e74c0a-fcb56ab9.js b/docs/.vuepress/dist/assets/ganttDiagram-04e74c0a-374f06b9.js similarity index 99% rename from docs/.vuepress/dist/assets/ganttDiagram-04e74c0a-fcb56ab9.js rename to docs/.vuepress/dist/assets/ganttDiagram-04e74c0a-374f06b9.js index 6d0dd16..0f20549 100644 --- a/docs/.vuepress/dist/assets/ganttDiagram-04e74c0a-fcb56ab9.js +++ b/docs/.vuepress/dist/assets/ganttDiagram-04e74c0a-374f06b9.js @@ -1,4 +1,4 @@ -import{a8 as un,a9 as ln,aa as fn,ab as hn,ac as Rn,ad as Bn,ae as me,af as Pe,ag as Ve,ah as jn,ai as ne,aj as Zn,ak as nt,c as bt,s as qn,g as Xn,v as Gn,x as Qn,b as $n,a as Jn,m as Kn,z as tr,j as er,l as de,h as Ht,i as nr,k as rr,y as ir}from"./mermaid.core-00b8b54a.js";import{c as Se}from"./commonjsHelpers-725317a4.js";import{i as mn}from"./init-77b53fdd.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";function Rt(t,e){return t==null||e==null?NaN:te?1:t>=e?0:NaN}function ar(t,e){return t==null||e==null?NaN:et?1:e>=t?0:NaN}function _e(t){let e,n,r;t.length!==2?(e=Rt,n=(u,y)=>Rt(t(u),y),r=(u,y)=>t(u)-y):(e=t===Rt||t===ar?t:sr,n=t,r=t);function i(u,y,c=0,x=u.length){if(c>>1;n(u[p],y)<0?c=p+1:x=p}while(c>>1;n(u[p],y)<=0?c=p+1:x=p}while(cc&&r(u[p-1],y)>-r(u[p],y)?p-1:p}return{left:i,center:s,right:a}}function sr(){return 0}function or(t){return t===null?NaN:+t}const cr=_e(Rt),ur=cr.right;_e(or).center;const lr=ur,fr=Math.sqrt(50),hr=Math.sqrt(10),mr=Math.sqrt(2);function qt(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/Math.pow(10,i),s=a>=fr?10:a>=hr?5:a>=mr?2:1;let u,y,c;return i<0?(c=Math.pow(10,-i)/s,u=Math.round(t*c),y=Math.round(e*c),u/ce&&--y,c=-c):(c=Math.pow(10,i)*s,u=Math.round(t/c),y=Math.round(e/c),u*ce&&--y),y0))return[];if(t===e)return[t];const r=e=i))return[];const u=a-i+1,y=new Array(u);if(r)if(s<0)for(let c=0;c=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n=i)&&(n=i)}return n}function yr(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function pr(t){return t}var Bt=1,re=2,pe=3,Pt=4,Re=1e-6;function kr(t){return"translate("+t+",0)"}function vr(t){return"translate(0,"+t+")"}function Tr(t){return e=>+t(e)}function xr(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function br(){return!this.__axis}function dn(t,e){var n=[],r=null,i=null,a=6,s=6,u=3,y=typeof window<"u"&&window.devicePixelRatio>1?0:.5,c=t===Bt||t===Pt?-1:1,x=t===Pt||t===re?"x":"y",p=t===Bt||t===pe?kr:vr;function v(D){var z=r??(e.ticks?e.ticks.apply(e,n):e.domain()),T=i??(e.tickFormat?e.tickFormat.apply(e,n):pr),_=Math.max(a,0)+u,I=e.range(),W=+I[0]+y,O=+I[I.length-1]+y,V=(e.bandwidth?xr:Tr)(e.copy(),y),P=D.selection?D.selection():D,C=P.selectAll(".domain").data([null]),Y=P.selectAll(".tick").data(z,e).order(),w=Y.exit(),h=Y.enter().append("g").attr("class","tick"),g=Y.select("line"),l=Y.select("text");C=C.merge(C.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Y=Y.merge(h),g=g.merge(h.append("line").attr("stroke","currentColor").attr(x+"2",c*a)),l=l.merge(h.append("text").attr("fill","currentColor").attr(x,c*_).attr("dy",t===Bt?"0em":t===pe?"0.71em":"0.32em")),D!==P&&(C=C.transition(D),Y=Y.transition(D),g=g.transition(D),l=l.transition(D),w=w.transition(D).attr("opacity",Re).attr("transform",function(f){return isFinite(f=V(f))?p(f+y):this.getAttribute("transform")}),h.attr("opacity",Re).attr("transform",function(f){var b=this.parentNode.__axis;return p((b&&isFinite(b=b(f))?b:V(f))+y)})),w.remove(),C.attr("d",t===Pt||t===re?s?"M"+c*s+","+W+"H"+y+"V"+O+"H"+c*s:"M"+y+","+W+"V"+O:s?"M"+W+","+c*s+"V"+y+"H"+O+"V"+c*s:"M"+W+","+y+"H"+O),Y.attr("opacity",1).attr("transform",function(f){return p(V(f)+y)}),g.attr(x+"2",c*a),l.attr(x,c*_).text(T),P.filter(br).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===re?"start":t===Pt?"end":"middle"),P.each(function(){this.__axis=V})}return v.scale=function(D){return arguments.length?(e=D,v):e},v.ticks=function(){return n=Array.from(arguments),v},v.tickArguments=function(D){return arguments.length?(n=D==null?[]:Array.from(D),v):n.slice()},v.tickValues=function(D){return arguments.length?(r=D==null?null:Array.from(D),v):r&&r.slice()},v.tickFormat=function(D){return arguments.length?(i=D,v):i},v.tickSize=function(D){return arguments.length?(a=s=+D,v):a},v.tickSizeInner=function(D){return arguments.length?(a=+D,v):a},v.tickSizeOuter=function(D){return arguments.length?(s=+D,v):s},v.tickPadding=function(D){return arguments.length?(u=+D,v):u},v.offset=function(D){return arguments.length?(y=+D,v):y},v}function Mr(t){return dn(Bt,t)}function wr(t){return dn(pe,t)}const Dr=Math.PI/180,Cr=180/Math.PI,Xt=18,gn=.96422,yn=1,pn=.82521,kn=4/29,Mt=6/29,vn=3*Mt*Mt,Sr=Mt*Mt*Mt;function Tn(t){if(t instanceof ot)return new ot(t.l,t.a,t.b,t.opacity);if(t instanceof ut)return xn(t);t instanceof fn||(t=Rn(t));var e=oe(t.r),n=oe(t.g),r=oe(t.b),i=ie((.2225045*e+.7168786*n+.0606169*r)/yn),a,s;return e===n&&n===r?a=s=i:(a=ie((.4360747*e+.3850649*n+.1430804*r)/gn),s=ie((.0139322*e+.0971045*n+.7141733*r)/pn)),new ot(116*i-16,500*(a-i),200*(i-s),t.opacity)}function _r(t,e,n,r){return arguments.length===1?Tn(t):new ot(t,e,n,r??1)}function ot(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}un(ot,_r,ln(hn,{brighter(t){return new ot(this.l+Xt*(t??1),this.a,this.b,this.opacity)},darker(t){return new ot(this.l-Xt*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=gn*ae(e),t=yn*ae(t),n=pn*ae(n),new fn(se(3.1338561*e-1.6168667*t-.4906146*n),se(-.9787684*e+1.9161415*t+.033454*n),se(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ie(t){return t>Sr?Math.pow(t,1/3):t/vn+kn}function ae(t){return t>Mt?t*t*t:vn*(t-kn)}function se(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function oe(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Ur(t){if(t instanceof ut)return new ut(t.h,t.c,t.l,t.opacity);if(t instanceof ot||(t=Tn(t)),t.a===0&&t.b===0)return new ut(NaN,0=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function Gt(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function Dt(t){return t=Gt(Math.abs(t)),t?t[1]:NaN}function Or(t,e){return function(n,r){for(var i=n.length,a=[],s=0,u=t[0],y=0;i>0&&u>0&&(y+u+1>r&&(u=Math.max(1,r-y)),a.push(n.substring(i-=u,i+u)),!((y+=u+1)>r));)u=t[s=(s+1)%t.length];return a.reverse().join(e)}}function Hr(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var Pr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Qt(t){if(!(e=Pr.exec(t)))throw new Error("invalid format: "+t);var e;return new Fe({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}Qt.prototype=Fe.prototype;function Fe(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}Fe.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function Vr(t){t:for(var e=t.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?t.slice(0,r)+t.slice(i+1):t}var bn;function Rr(t,e){var n=Gt(t,e);if(!n)return t+"";var r=n[0],i=n[1],a=i-(bn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,s=r.length;return a===s?r:a>s?r+new Array(a-s+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Gt(t,Math.max(0,e+a-1))[0]}function Be(t,e){var n=Gt(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const je={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:zr,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Be(t*100,e),r:Be,s:Rr,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Ze(t){return t}var qe=Array.prototype.map,Xe=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Br(t){var e=t.grouping===void 0||t.thousands===void 0?Ze:Or(qe.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",r=t.currency===void 0?"":t.currency[1]+"",i=t.decimal===void 0?".":t.decimal+"",a=t.numerals===void 0?Ze:Hr(qe.call(t.numerals,String)),s=t.percent===void 0?"%":t.percent+"",u=t.minus===void 0?"−":t.minus+"",y=t.nan===void 0?"NaN":t.nan+"";function c(p){p=Qt(p);var v=p.fill,D=p.align,z=p.sign,T=p.symbol,_=p.zero,I=p.width,W=p.comma,O=p.precision,V=p.trim,P=p.type;P==="n"?(W=!0,P="g"):je[P]||(O===void 0&&(O=12),V=!0,P="g"),(_||v==="0"&&D==="=")&&(_=!0,v="0",D="=");var C=T==="$"?n:T==="#"&&/[boxX]/.test(P)?"0"+P.toLowerCase():"",Y=T==="$"?r:/[%p]/.test(P)?s:"",w=je[P],h=/[defgprs%]/.test(P);O=O===void 0?6:/[gprs]/.test(P)?Math.max(1,Math.min(21,O)):Math.max(0,Math.min(20,O));function g(l){var f=C,b=Y,o,A,m;if(P==="c")b=w(l)+b,l="";else{l=+l;var j=l<0||1/l<0;if(l=isNaN(l)?y:w(Math.abs(l),O),V&&(l=Vr(l)),j&&+l==0&&z!=="+"&&(j=!1),f=(j?z==="("?z:u:z==="-"||z==="("?"":z)+f,b=(P==="s"?Xe[8+bn/3]:"")+b+(j&&z==="("?")":""),h){for(o=-1,A=l.length;++om||m>57){b=(m===46?i+l.slice(o+1):l.slice(o))+b,l=l.slice(0,o);break}}}W&&!_&&(l=e(l,1/0));var Z=f.length+l.length+b.length,B=Z>1)+f+l+b+B.slice(Z);break;default:l=B+f+l+b;break}return a(l)}return g.toString=function(){return p+""},g}function x(p,v){var D=c((p=Qt(p),p.type="f",p)),z=Math.max(-8,Math.min(8,Math.floor(Dt(v)/3)))*3,T=Math.pow(10,-z),_=Xe[8+z/3];return function(I){return D(T*I)+_}}return{format:c,formatPrefix:x}}var Vt,Mn,wn;jr({thousands:",",grouping:[3],currency:["$",""]});function jr(t){return Vt=Br(t),Mn=Vt.format,wn=Vt.formatPrefix,Vt}function Zr(t){return Math.max(0,-Dt(Math.abs(t)))}function qr(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Dt(e)/3)))*3-Dt(Math.abs(t)))}function Xr(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Dt(e)-Dt(t))+1}function Gr(t){return function(){return t}}function Qr(t){return+t}var Ge=[0,1];function Tt(t){return t}function ve(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:Gr(isNaN(e)?NaN:.5)}function $r(t,e){var n;return t>e&&(n=t,t=e,e=n),function(r){return Math.max(t,Math.min(e,r))}}function Jr(t,e,n){var r=t[0],i=t[1],a=e[0],s=e[1];return i2?Kr:Jr,y=c=null,p}function p(v){return v==null||isNaN(v=+v)?a:(y||(y=u(t.map(r),e,n)))(r(s(v)))}return p.invert=function(v){return s(i((c||(c=u(e,t.map(r),me)))(v)))},p.domain=function(v){return arguments.length?(t=Array.from(v,Qr),x()):t.slice()},p.range=function(v){return arguments.length?(e=Array.from(v),x()):e.slice()},p.rangeRound=function(v){return e=Array.from(v),n=Ir,x()},p.clamp=function(v){return arguments.length?(s=v?!0:Tt,x()):s!==Tt},p.interpolate=function(v){return arguments.length?(n=v,x()):n},p.unknown=function(v){return arguments.length?(a=v,p):a},function(v,D){return r=v,i=D,x()}}function Cn(){return ti()(Tt,Tt)}function ei(t,e,n,r){var i=ye(t,e,n),a;switch(r=Qt(r??",f"),r.type){case"s":{var s=Math.max(Math.abs(t),Math.abs(e));return r.precision==null&&!isNaN(a=qr(i,s))&&(r.precision=a),wn(r,s)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(a=Xr(i,Math.max(Math.abs(t),Math.abs(e))))&&(r.precision=a-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(a=Zr(i))&&(r.precision=a-(r.type==="%")*2);break}}return Mn(r)}function ni(t){var e=t.domain;return t.ticks=function(n){var r=e();return dr(r[0],r[r.length-1],n??10)},t.tickFormat=function(n,r){var i=e();return ei(i[0],i[i.length-1],n??10,r)},t.nice=function(n){n==null&&(n=10);var r=e(),i=0,a=r.length-1,s=r[i],u=r[a],y,c,x=10;for(u0;){if(c=ge(s,u,n),c===y)return r[i]=s,r[a]=u,e(r);if(c>0)s=Math.floor(s/c)*c,u=Math.ceil(u/c)*c;else if(c<0)s=Math.ceil(s*c)/c,u=Math.floor(u*c)/c;else break;y=c}return t},t}function Sn(){var t=Cn();return t.copy=function(){return Dn(t,Sn())},mn.apply(t,arguments),ni(t)}function ri(t,e){t=t.slice();var n=0,r=t.length-1,i=t[n],a=t[r],s;return a(t(a=new Date(+a)),a),i.ceil=a=>(t(a=new Date(a-1)),e(a,1),t(a),a),i.round=a=>{const s=i(a),u=i.ceil(a);return a-s(e(a=new Date(+a),s==null?1:Math.floor(s)),a),i.range=(a,s,u)=>{const y=[];if(a=i.ceil(a),u=u==null?1:Math.floor(u),!(a0))return y;let c;do y.push(c=new Date(+a)),e(a,u),t(a);while(ctt(s=>{if(s>=s)for(;t(s),!a(s);)s.setTime(s-1)},(s,u)=>{if(s>=s)if(u<0)for(;++u<=0;)for(;e(s,-1),!a(s););else for(;--u>=0;)for(;e(s,1),!a(s););}),n&&(i.count=(a,s)=>(ce.setTime(+a),ue.setTime(+s),t(ce),t(ue),Math.floor(n(ce,ue))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(r?s=>r(s)%a===0:s=>i.count(0,s)%a===0):i)),i}const $t=tt(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);$t.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?tt(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):$t);$t.range;const lt=1e3,it=lt*60,ft=it*60,ht=ft*24,Ae=ht*7,Qe=ht*30,le=ht*365,xt=tt(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*lt)},(t,e)=>(e-t)/lt,t=>t.getUTCSeconds());xt.range;const Lt=tt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*lt)},(t,e)=>{t.setTime(+t+e*it)},(t,e)=>(e-t)/it,t=>t.getMinutes());Lt.range;const ii=tt(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*it)},(t,e)=>(e-t)/it,t=>t.getUTCMinutes());ii.range;const It=tt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*lt-t.getMinutes()*it)},(t,e)=>{t.setTime(+t+e*ft)},(t,e)=>(e-t)/ft,t=>t.getHours());It.range;const ai=tt(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*ft)},(t,e)=>(e-t)/ft,t=>t.getUTCHours());ai.range;const gt=tt(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*it)/ht,t=>t.getDate()-1);gt.range;const Ye=tt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/ht,t=>t.getUTCDate()-1);Ye.range;const si=tt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/ht,t=>Math.floor(t/ht));si.range;function pt(t){return tt(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*it)/Ae)}const Ct=pt(0),Jt=pt(1),oi=pt(2),ci=pt(3),St=pt(4),ui=pt(5),li=pt(6);Ct.range;Jt.range;oi.range;ci.range;St.range;ui.range;li.range;function kt(t){return tt(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/Ae)}const _n=kt(0),Kt=kt(1),fi=kt(2),hi=kt(3),_t=kt(4),mi=kt(5),di=kt(6);_n.range;Kt.range;fi.range;hi.range;_t.range;mi.range;di.range;const Nt=tt(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Nt.range;const gi=tt(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());gi.range;const mt=tt(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());mt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:tt(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});mt.range;const yt=tt(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());yt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:tt(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});yt.range;function yi(t,e,n,r,i,a){const s=[[xt,1,lt],[xt,5,5*lt],[xt,15,15*lt],[xt,30,30*lt],[a,1,it],[a,5,5*it],[a,15,15*it],[a,30,30*it],[i,1,ft],[i,3,3*ft],[i,6,6*ft],[i,12,12*ft],[r,1,ht],[r,2,2*ht],[n,1,Ae],[e,1,Qe],[e,3,3*Qe],[t,1,le]];function u(c,x,p){const v=x_).right(s,v);if(D===s.length)return t.every(ye(c/le,x/le,p));if(D===0)return $t.every(Math.max(ye(c,x,p),1));const[z,T]=s[v/s[D-1][2]53)return null;"w"in d||(d.w=1),"Z"in d?(N=he(At(d.y,0,1)),$=N.getUTCDay(),N=$>4||$===0?Kt.ceil(N):Kt(N),N=Ye.offset(N,(d.V-1)*7),d.y=N.getUTCFullYear(),d.m=N.getUTCMonth(),d.d=N.getUTCDate()+(d.w+6)%7):(N=fe(At(d.y,0,1)),$=N.getDay(),N=$>4||$===0?Jt.ceil(N):Jt(N),N=gt.offset(N,(d.V-1)*7),d.y=N.getFullYear(),d.m=N.getMonth(),d.d=N.getDate()+(d.w+6)%7)}else("W"in d||"U"in d)&&("w"in d||(d.w="u"in d?d.u%7:"W"in d?1:0),$="Z"in d?he(At(d.y,0,1)).getUTCDay():fe(At(d.y,0,1)).getDay(),d.m=0,d.d="W"in d?(d.w+6)%7+d.W*7-($+5)%7:d.w+d.U*7-($+6)%7);return"Z"in d?(d.H+=d.Z/100|0,d.M+=d.Z%100,he(d)):fe(d)}}function w(M,S,L,d){for(var X=0,N=S.length,$=L.length,J,at;X=$)return-1;if(J=S.charCodeAt(X++),J===37){if(J=S.charAt(X++),at=P[J in $e?S.charAt(X++):J],!at||(d=at(M,L,d))<0)return-1}else if(J!=L.charCodeAt(d++))return-1}return d}function h(M,S,L){var d=c.exec(S.slice(L));return d?(M.p=x.get(d[0].toLowerCase()),L+d[0].length):-1}function g(M,S,L){var d=D.exec(S.slice(L));return d?(M.w=z.get(d[0].toLowerCase()),L+d[0].length):-1}function l(M,S,L){var d=p.exec(S.slice(L));return d?(M.w=v.get(d[0].toLowerCase()),L+d[0].length):-1}function f(M,S,L){var d=I.exec(S.slice(L));return d?(M.m=W.get(d[0].toLowerCase()),L+d[0].length):-1}function b(M,S,L){var d=T.exec(S.slice(L));return d?(M.m=_.get(d[0].toLowerCase()),L+d[0].length):-1}function o(M,S,L){return w(M,e,S,L)}function A(M,S,L){return w(M,n,S,L)}function m(M,S,L){return w(M,r,S,L)}function j(M){return s[M.getDay()]}function Z(M){return a[M.getDay()]}function B(M){return y[M.getMonth()]}function k(M){return u[M.getMonth()]}function U(M){return i[+(M.getHours()>=12)]}function F(M){return 1+~~(M.getMonth()/3)}function E(M){return s[M.getUTCDay()]}function H(M){return a[M.getUTCDay()]}function Q(M){return y[M.getUTCMonth()]}function q(M){return u[M.getUTCMonth()]}function dt(M){return i[+(M.getUTCHours()>=12)]}function G(M){return 1+~~(M.getUTCMonth()/3)}return{format:function(M){var S=C(M+="",O);return S.toString=function(){return M},S},parse:function(M){var S=Y(M+="",!1);return S.toString=function(){return M},S},utcFormat:function(M){var S=C(M+="",V);return S.toString=function(){return M},S},utcParse:function(M){var S=Y(M+="",!0);return S.toString=function(){return M},S}}}var $e={"-":"",_:" ",0:"0"},et=/^\s*\d+/,Ti=/^%/,xi=/[\\^$*+?|[\]().{}]/g;function R(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a[e.toLowerCase(),n]))}function Mi(t,e,n){var r=et.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function wi(t,e,n){var r=et.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Di(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Ci(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Si(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Je(t,e,n){var r=et.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ke(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function _i(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Ui(t,e,n){var r=et.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Fi(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function tn(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Ai(t,e,n){var r=et.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function en(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Yi(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Ei(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Li(t,e,n){var r=et.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Ii(t,e,n){var r=et.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ni(t,e,n){var r=Ti.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Wi(t,e,n){var r=et.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function zi(t,e,n){var r=et.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function nn(t,e){return R(t.getDate(),e,2)}function Oi(t,e){return R(t.getHours(),e,2)}function Hi(t,e){return R(t.getHours()%12||12,e,2)}function Pi(t,e){return R(1+gt.count(mt(t),t),e,3)}function Un(t,e){return R(t.getMilliseconds(),e,3)}function Vi(t,e){return Un(t,e)+"000"}function Ri(t,e){return R(t.getMonth()+1,e,2)}function Bi(t,e){return R(t.getMinutes(),e,2)}function ji(t,e){return R(t.getSeconds(),e,2)}function Zi(t){var e=t.getDay();return e===0?7:e}function qi(t,e){return R(Ct.count(mt(t)-1,t),e,2)}function Fn(t){var e=t.getDay();return e>=4||e===0?St(t):St.ceil(t)}function Xi(t,e){return t=Fn(t),R(St.count(mt(t),t)+(mt(t).getDay()===4),e,2)}function Gi(t){return t.getDay()}function Qi(t,e){return R(Jt.count(mt(t)-1,t),e,2)}function $i(t,e){return R(t.getFullYear()%100,e,2)}function Ji(t,e){return t=Fn(t),R(t.getFullYear()%100,e,2)}function Ki(t,e){return R(t.getFullYear()%1e4,e,4)}function ta(t,e){var n=t.getDay();return t=n>=4||n===0?St(t):St.ceil(t),R(t.getFullYear()%1e4,e,4)}function ea(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+R(e/60|0,"0",2)+R(e%60,"0",2)}function rn(t,e){return R(t.getUTCDate(),e,2)}function na(t,e){return R(t.getUTCHours(),e,2)}function ra(t,e){return R(t.getUTCHours()%12||12,e,2)}function ia(t,e){return R(1+Ye.count(yt(t),t),e,3)}function An(t,e){return R(t.getUTCMilliseconds(),e,3)}function aa(t,e){return An(t,e)+"000"}function sa(t,e){return R(t.getUTCMonth()+1,e,2)}function oa(t,e){return R(t.getUTCMinutes(),e,2)}function ca(t,e){return R(t.getUTCSeconds(),e,2)}function ua(t){var e=t.getUTCDay();return e===0?7:e}function la(t,e){return R(_n.count(yt(t)-1,t),e,2)}function Yn(t){var e=t.getUTCDay();return e>=4||e===0?_t(t):_t.ceil(t)}function fa(t,e){return t=Yn(t),R(_t.count(yt(t),t)+(yt(t).getUTCDay()===4),e,2)}function ha(t){return t.getUTCDay()}function ma(t,e){return R(Kt.count(yt(t)-1,t),e,2)}function da(t,e){return R(t.getUTCFullYear()%100,e,2)}function ga(t,e){return t=Yn(t),R(t.getUTCFullYear()%100,e,2)}function ya(t,e){return R(t.getUTCFullYear()%1e4,e,4)}function pa(t,e){var n=t.getUTCDay();return t=n>=4||n===0?_t(t):_t.ceil(t),R(t.getUTCFullYear()%1e4,e,4)}function ka(){return"+0000"}function an(){return"%"}function sn(t){return+t}function on(t){return Math.floor(+t/1e3)}var vt,te;va({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function va(t){return vt=vi(t),te=vt.format,vt.parse,vt.utcFormat,vt.utcParse,vt}function Ta(t){return new Date(t)}function xa(t){return t instanceof Date?+t:+new Date(+t)}function En(t,e,n,r,i,a,s,u,y,c){var x=Cn(),p=x.invert,v=x.domain,D=c(".%L"),z=c(":%S"),T=c("%I:%M"),_=c("%I %p"),I=c("%a %d"),W=c("%b %d"),O=c("%B"),V=c("%Y");function P(C){return(y(C)4&&(D+=7),v.add(D,n));return z.diff(T,"week")+1},u.isoWeekday=function(c){return this.$utils().u(c)?this.day()||7:this.day(this.day()%7?c:c-7)};var y=u.startOf;u.startOf=function(c,x){var p=this.$utils(),v=!!p.u(x)||x;return p.p(c)==="isoweek"?v?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):y.bind(this)(c,x)}}})})(Ma);const wa=Te;var xe={},Da={get exports(){return xe},set exports(t){xe=t}};(function(t,e){(function(n,r){t.exports=r()})(Se,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,a=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,u={},y=function(T){return(T=+T)+(T>68?1900:2e3)},c=function(T){return function(_){this[T]=+_}},x=[/[+-]\d\d:?(\d\d)?|Z/,function(T){(this.zone||(this.zone={})).offset=function(_){if(!_||_==="Z")return 0;var I=_.match(/([+-]|\d\d)/g),W=60*I[1]+(+I[2]||0);return W===0?0:I[0]==="+"?-W:W}(T)}],p=function(T){var _=u[T];return _&&(_.indexOf?_:_.s.concat(_.f))},v=function(T,_){var I,W=u.meridiem;if(W){for(var O=1;O<=24;O+=1)if(T.indexOf(W(O,0,_))>-1){I=O>12;break}}else I=T===(_?"pm":"PM");return I},D={A:[s,function(T){this.afternoon=v(T,!1)}],a:[s,function(T){this.afternoon=v(T,!0)}],S:[/\d/,function(T){this.milliseconds=100*+T}],SS:[i,function(T){this.milliseconds=10*+T}],SSS:[/\d{3}/,function(T){this.milliseconds=+T}],s:[a,c("seconds")],ss:[a,c("seconds")],m:[a,c("minutes")],mm:[a,c("minutes")],H:[a,c("hours")],h:[a,c("hours")],HH:[a,c("hours")],hh:[a,c("hours")],D:[a,c("day")],DD:[i,c("day")],Do:[s,function(T){var _=u.ordinal,I=T.match(/\d+/);if(this.day=I[0],_)for(var W=1;W<=31;W+=1)_(W).replace(/\[|\]/g,"")===T&&(this.day=W)}],M:[a,c("month")],MM:[i,c("month")],MMM:[s,function(T){var _=p("months"),I=(p("monthsShort")||_.map(function(W){return W.slice(0,3)})).indexOf(T)+1;if(I<1)throw new Error;this.month=I%12||I}],MMMM:[s,function(T){var _=p("months").indexOf(T)+1;if(_<1)throw new Error;this.month=_%12||_}],Y:[/[+-]?\d+/,c("year")],YY:[i,function(T){this.year=y(T)}],YYYY:[/\d{4}/,c("year")],Z:x,ZZ:x};function z(T){var _,I;_=T,I=u&&u.formats;for(var W=(T=_.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(h,g,l){var f=l&&l.toUpperCase();return g||I[l]||n[l]||I[f].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,o,A){return o||A.slice(1)})})).match(r),O=W.length,V=0;V-1)return new Date((j==="X"?1e3:1)*m);var B=z(j)(m),k=B.year,U=B.month,F=B.day,E=B.hours,H=B.minutes,Q=B.seconds,q=B.milliseconds,dt=B.zone,G=new Date,M=F||(k||U?1:G.getDate()),S=k||G.getFullYear(),L=0;k&&!U||(L=U>0?U-1:G.getMonth());var d=E||0,X=H||0,N=Q||0,$=q||0;return dt?new Date(Date.UTC(S,L,M,d,X,N,$+60*dt.offset*1e3)):Z?new Date(Date.UTC(S,L,M,d,X,N,$)):new Date(S,L,M,d,X,N,$)}catch{return new Date("")}}(P,w,C),this.init(),f&&f!==!0&&(this.$L=this.locale(f).$L),l&&P!=this.format(w)&&(this.$d=new Date("")),u={}}else if(w instanceof Array)for(var b=w.length,o=1;o<=b;o+=1){Y[1]=w[o-1];var A=I.apply(this,Y);if(A.isValid()){this.$d=A.$d,this.$L=A.$L,this.init();break}o===b&&(this.$d=new Date(""))}else O.call(this,V)}}})})(Da);const Ca=xe;var be={},Sa={get exports(){return be},set exports(t){be=t}};(function(t,e){(function(n,r){t.exports=r()})(Se,function(){return function(n,r){var i=r.prototype,a=i.format;i.format=function(s){var u=this,y=this.$locale();if(!this.isValid())return a.bind(this)(s);var c=this.$utils(),x=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(p){switch(p){case"Q":return Math.ceil((u.$M+1)/3);case"Do":return y.ordinal(u.$D);case"gggg":return u.weekYear();case"GGGG":return u.isoWeekYear();case"wo":return y.ordinal(u.week(),"W");case"w":case"ww":return c.s(u.week(),p==="w"?1:2,"0");case"W":case"WW":return c.s(u.isoWeek(),p==="W"?1:2,"0");case"k":case"kk":return c.s(String(u.$H===0?24:u.$H),p==="k"?1:2,"0");case"X":return Math.floor(u.$d.getTime()/1e3);case"x":return u.$d.getTime();case"z":return"["+u.offsetName()+"]";case"zzz":return"["+u.offsetName("long")+"]";default:return p}});return a.bind(this)(x)}}})})(Sa);const _a=be;var Me=function(){var t=function(w,h,g,l){for(g=g||{},l=w.length;l--;g[w[l]]=h);return g},e=[1,3],n=[1,5],r=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],i=[1,15],a=[1,16],s=[1,17],u=[1,18],y=[1,19],c=[1,20],x=[1,21],p=[1,22],v=[1,23],D=[1,24],z=[1,25],T=[1,26],_=[1,27],I=[1,29],W=[1,31],O=[1,34],V=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],P={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(h,g,l,f,b,o,A){var m=o.length-1;switch(b){case 2:return o[m-1];case 3:this.$=[];break;case 4:o[m-1].push(o[m]),this.$=o[m-1];break;case 5:case 6:this.$=o[m];break;case 7:case 8:this.$=[];break;case 9:f.setDateFormat(o[m].substr(11)),this.$=o[m].substr(11);break;case 10:f.enableInclusiveEndDates(),this.$=o[m].substr(18);break;case 11:f.TopAxis(),this.$=o[m].substr(8);break;case 12:f.setAxisFormat(o[m].substr(11)),this.$=o[m].substr(11);break;case 13:f.setTickInterval(o[m].substr(13)),this.$=o[m].substr(13);break;case 14:f.setExcludes(o[m].substr(9)),this.$=o[m].substr(9);break;case 15:f.setIncludes(o[m].substr(9)),this.$=o[m].substr(9);break;case 16:f.setTodayMarker(o[m].substr(12)),this.$=o[m].substr(12);break;case 17:f.setDiagramTitle(o[m].substr(6)),this.$=o[m].substr(6);break;case 18:this.$=o[m].trim(),f.setAccTitle(this.$);break;case 19:case 20:this.$=o[m].trim(),f.setAccDescription(this.$);break;case 21:f.addSection(o[m].substr(8)),this.$=o[m].substr(8);break;case 23:f.addTask(o[m-1],o[m]),this.$="task";break;case 27:this.$=o[m-1],f.setClickEvent(o[m-1],o[m],null);break;case 28:this.$=o[m-2],f.setClickEvent(o[m-2],o[m-1],o[m]);break;case 29:this.$=o[m-2],f.setClickEvent(o[m-2],o[m-1],null),f.setLink(o[m-2],o[m]);break;case 30:this.$=o[m-3],f.setClickEvent(o[m-3],o[m-2],o[m-1]),f.setLink(o[m-3],o[m]);break;case 31:this.$=o[m-2],f.setClickEvent(o[m-2],o[m],null),f.setLink(o[m-2],o[m-1]);break;case 32:this.$=o[m-3],f.setClickEvent(o[m-3],o[m-1],o[m]),f.setLink(o[m-3],o[m-2]);break;case 33:this.$=o[m-1],f.setLink(o[m-1],o[m]);break;case 34:case 40:this.$=o[m-1]+" "+o[m];break;case 35:case 36:case 38:this.$=o[m-2]+" "+o[m-1]+" "+o[m];break;case 37:case 39:this.$=o[m-3]+" "+o[m-2]+" "+o[m-1]+" "+o[m];break;case 41:f.parseDirective("%%{","open_directive");break;case 42:f.parseDirective(o[m],"type_directive");break;case 43:o[m]=o[m].trim().replace(/'/g,'"'),f.parseDirective(o[m],"arg_directive");break;case 44:f.parseDirective("}%%","close_directive","gantt");break}},table:[{3:1,4:2,5:e,30:4,40:n},{1:[3]},{3:6,4:2,5:e,30:4,40:n},t(r,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:i,13:a,14:s,15:u,16:y,17:c,18:x,19:p,20:v,21:D,23:z,25:T,26:_,27:28,28:I,30:4,35:W,40:n},{32:32,33:[1,33],43:O},t([33,43],[2,42]),t(r,[2,8],{1:[2,2]}),t(r,[2,4]),{4:30,10:35,12:i,13:a,14:s,15:u,16:y,17:c,18:x,19:p,20:v,21:D,23:z,25:T,26:_,27:28,28:I,30:4,35:W,40:n},t(r,[2,6]),t(r,[2,7]),t(r,[2,9]),t(r,[2,10]),t(r,[2,11]),t(r,[2,12]),t(r,[2,13]),t(r,[2,14]),t(r,[2,15]),t(r,[2,16]),t(r,[2,17]),{22:[1,36]},{24:[1,37]},t(r,[2,20]),t(r,[2,21]),t(r,[2,22]),{29:[1,38]},t(r,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},t(r,[2,5]),t(r,[2,18]),t(r,[2,19]),t(r,[2,23]),t(r,[2,27],{37:[1,44],38:[1,45]}),t(r,[2,33],{36:[1,46]}),t(V,[2,25]),{32:47,43:O},{43:[2,43]},t(r,[2,28],{38:[1,48]}),t(r,[2,29]),t(r,[2,31],{37:[1,49]}),{11:[1,50]},t(r,[2,30]),t(r,[2,32]),t(V,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(h,g){if(g.recoverable)this.trace(h);else{var l=new Error(h);throw l.hash=g,l}},parse:function(h){var g=this,l=[0],f=[],b=[null],o=[],A=this.table,m="",j=0,Z=0,B=2,k=1,U=o.slice.call(arguments,1),F=Object.create(this.lexer),E={yy:{}};for(var H in this.yy)Object.prototype.hasOwnProperty.call(this.yy,H)&&(E.yy[H]=this.yy[H]);F.setInput(h,E.yy),E.yy.lexer=F,E.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var Q=F.yylloc;o.push(Q);var q=F.options&&F.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function dt(){var rt;return rt=f.pop()||F.lex()||k,typeof rt!="number"&&(rt instanceof Array&&(f=rt,rt=f.pop()),rt=g.symbols_[rt]||rt),rt}for(var G,M,S,L,d={},X,N,$,J;;){if(M=l[l.length-1],this.defaultActions[M]?S=this.defaultActions[M]:((G===null||typeof G>"u")&&(G=dt()),S=A[M]&&A[M][G]),typeof S>"u"||!S.length||!S[0]){var at="";J=[];for(X in A[M])this.terminals_[X]&&X>B&&J.push("'"+this.terminals_[X]+"'");F.showPosition?at="Parse error on line "+(j+1)+`: +import{a8 as un,a9 as ln,aa as fn,ab as hn,ac as Rn,ad as Bn,ae as me,af as Pe,ag as Ve,ah as jn,ai as ne,aj as Zn,ak as nt,c as bt,s as qn,g as Xn,v as Gn,x as Qn,b as $n,a as Jn,m as Kn,z as tr,j as er,l as de,h as Ht,i as nr,k as rr,y as ir}from"./mermaid.core-5f04c634.js";import{c as Se}from"./commonjsHelpers-725317a4.js";import{i as mn}from"./init-77b53fdd.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";function Rt(t,e){return t==null||e==null?NaN:te?1:t>=e?0:NaN}function ar(t,e){return t==null||e==null?NaN:et?1:e>=t?0:NaN}function _e(t){let e,n,r;t.length!==2?(e=Rt,n=(u,y)=>Rt(t(u),y),r=(u,y)=>t(u)-y):(e=t===Rt||t===ar?t:sr,n=t,r=t);function i(u,y,c=0,x=u.length){if(c>>1;n(u[p],y)<0?c=p+1:x=p}while(c>>1;n(u[p],y)<=0?c=p+1:x=p}while(cc&&r(u[p-1],y)>-r(u[p],y)?p-1:p}return{left:i,center:s,right:a}}function sr(){return 0}function or(t){return t===null?NaN:+t}const cr=_e(Rt),ur=cr.right;_e(or).center;const lr=ur,fr=Math.sqrt(50),hr=Math.sqrt(10),mr=Math.sqrt(2);function qt(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/Math.pow(10,i),s=a>=fr?10:a>=hr?5:a>=mr?2:1;let u,y,c;return i<0?(c=Math.pow(10,-i)/s,u=Math.round(t*c),y=Math.round(e*c),u/ce&&--y,c=-c):(c=Math.pow(10,i)*s,u=Math.round(t/c),y=Math.round(e/c),u*ce&&--y),y0))return[];if(t===e)return[t];const r=e=i))return[];const u=a-i+1,y=new Array(u);if(r)if(s<0)for(let c=0;c=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n=i)&&(n=i)}return n}function yr(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function pr(t){return t}var Bt=1,re=2,pe=3,Pt=4,Re=1e-6;function kr(t){return"translate("+t+",0)"}function vr(t){return"translate(0,"+t+")"}function Tr(t){return e=>+t(e)}function xr(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function br(){return!this.__axis}function dn(t,e){var n=[],r=null,i=null,a=6,s=6,u=3,y=typeof window<"u"&&window.devicePixelRatio>1?0:.5,c=t===Bt||t===Pt?-1:1,x=t===Pt||t===re?"x":"y",p=t===Bt||t===pe?kr:vr;function v(D){var z=r??(e.ticks?e.ticks.apply(e,n):e.domain()),T=i??(e.tickFormat?e.tickFormat.apply(e,n):pr),_=Math.max(a,0)+u,I=e.range(),W=+I[0]+y,O=+I[I.length-1]+y,V=(e.bandwidth?xr:Tr)(e.copy(),y),P=D.selection?D.selection():D,C=P.selectAll(".domain").data([null]),Y=P.selectAll(".tick").data(z,e).order(),w=Y.exit(),h=Y.enter().append("g").attr("class","tick"),g=Y.select("line"),l=Y.select("text");C=C.merge(C.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Y=Y.merge(h),g=g.merge(h.append("line").attr("stroke","currentColor").attr(x+"2",c*a)),l=l.merge(h.append("text").attr("fill","currentColor").attr(x,c*_).attr("dy",t===Bt?"0em":t===pe?"0.71em":"0.32em")),D!==P&&(C=C.transition(D),Y=Y.transition(D),g=g.transition(D),l=l.transition(D),w=w.transition(D).attr("opacity",Re).attr("transform",function(f){return isFinite(f=V(f))?p(f+y):this.getAttribute("transform")}),h.attr("opacity",Re).attr("transform",function(f){var b=this.parentNode.__axis;return p((b&&isFinite(b=b(f))?b:V(f))+y)})),w.remove(),C.attr("d",t===Pt||t===re?s?"M"+c*s+","+W+"H"+y+"V"+O+"H"+c*s:"M"+y+","+W+"V"+O:s?"M"+W+","+c*s+"V"+y+"H"+O+"V"+c*s:"M"+W+","+y+"H"+O),Y.attr("opacity",1).attr("transform",function(f){return p(V(f)+y)}),g.attr(x+"2",c*a),l.attr(x,c*_).text(T),P.filter(br).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===re?"start":t===Pt?"end":"middle"),P.each(function(){this.__axis=V})}return v.scale=function(D){return arguments.length?(e=D,v):e},v.ticks=function(){return n=Array.from(arguments),v},v.tickArguments=function(D){return arguments.length?(n=D==null?[]:Array.from(D),v):n.slice()},v.tickValues=function(D){return arguments.length?(r=D==null?null:Array.from(D),v):r&&r.slice()},v.tickFormat=function(D){return arguments.length?(i=D,v):i},v.tickSize=function(D){return arguments.length?(a=s=+D,v):a},v.tickSizeInner=function(D){return arguments.length?(a=+D,v):a},v.tickSizeOuter=function(D){return arguments.length?(s=+D,v):s},v.tickPadding=function(D){return arguments.length?(u=+D,v):u},v.offset=function(D){return arguments.length?(y=+D,v):y},v}function Mr(t){return dn(Bt,t)}function wr(t){return dn(pe,t)}const Dr=Math.PI/180,Cr=180/Math.PI,Xt=18,gn=.96422,yn=1,pn=.82521,kn=4/29,Mt=6/29,vn=3*Mt*Mt,Sr=Mt*Mt*Mt;function Tn(t){if(t instanceof ot)return new ot(t.l,t.a,t.b,t.opacity);if(t instanceof ut)return xn(t);t instanceof fn||(t=Rn(t));var e=oe(t.r),n=oe(t.g),r=oe(t.b),i=ie((.2225045*e+.7168786*n+.0606169*r)/yn),a,s;return e===n&&n===r?a=s=i:(a=ie((.4360747*e+.3850649*n+.1430804*r)/gn),s=ie((.0139322*e+.0971045*n+.7141733*r)/pn)),new ot(116*i-16,500*(a-i),200*(i-s),t.opacity)}function _r(t,e,n,r){return arguments.length===1?Tn(t):new ot(t,e,n,r??1)}function ot(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}un(ot,_r,ln(hn,{brighter(t){return new ot(this.l+Xt*(t??1),this.a,this.b,this.opacity)},darker(t){return new ot(this.l-Xt*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=gn*ae(e),t=yn*ae(t),n=pn*ae(n),new fn(se(3.1338561*e-1.6168667*t-.4906146*n),se(-.9787684*e+1.9161415*t+.033454*n),se(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ie(t){return t>Sr?Math.pow(t,1/3):t/vn+kn}function ae(t){return t>Mt?t*t*t:vn*(t-kn)}function se(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function oe(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Ur(t){if(t instanceof ut)return new ut(t.h,t.c,t.l,t.opacity);if(t instanceof ot||(t=Tn(t)),t.a===0&&t.b===0)return new ut(NaN,0=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function Gt(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function Dt(t){return t=Gt(Math.abs(t)),t?t[1]:NaN}function Or(t,e){return function(n,r){for(var i=n.length,a=[],s=0,u=t[0],y=0;i>0&&u>0&&(y+u+1>r&&(u=Math.max(1,r-y)),a.push(n.substring(i-=u,i+u)),!((y+=u+1)>r));)u=t[s=(s+1)%t.length];return a.reverse().join(e)}}function Hr(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var Pr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Qt(t){if(!(e=Pr.exec(t)))throw new Error("invalid format: "+t);var e;return new Fe({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}Qt.prototype=Fe.prototype;function Fe(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}Fe.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function Vr(t){t:for(var e=t.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?t.slice(0,r)+t.slice(i+1):t}var bn;function Rr(t,e){var n=Gt(t,e);if(!n)return t+"";var r=n[0],i=n[1],a=i-(bn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,s=r.length;return a===s?r:a>s?r+new Array(a-s+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Gt(t,Math.max(0,e+a-1))[0]}function Be(t,e){var n=Gt(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const je={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:zr,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Be(t*100,e),r:Be,s:Rr,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Ze(t){return t}var qe=Array.prototype.map,Xe=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Br(t){var e=t.grouping===void 0||t.thousands===void 0?Ze:Or(qe.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",r=t.currency===void 0?"":t.currency[1]+"",i=t.decimal===void 0?".":t.decimal+"",a=t.numerals===void 0?Ze:Hr(qe.call(t.numerals,String)),s=t.percent===void 0?"%":t.percent+"",u=t.minus===void 0?"−":t.minus+"",y=t.nan===void 0?"NaN":t.nan+"";function c(p){p=Qt(p);var v=p.fill,D=p.align,z=p.sign,T=p.symbol,_=p.zero,I=p.width,W=p.comma,O=p.precision,V=p.trim,P=p.type;P==="n"?(W=!0,P="g"):je[P]||(O===void 0&&(O=12),V=!0,P="g"),(_||v==="0"&&D==="=")&&(_=!0,v="0",D="=");var C=T==="$"?n:T==="#"&&/[boxX]/.test(P)?"0"+P.toLowerCase():"",Y=T==="$"?r:/[%p]/.test(P)?s:"",w=je[P],h=/[defgprs%]/.test(P);O=O===void 0?6:/[gprs]/.test(P)?Math.max(1,Math.min(21,O)):Math.max(0,Math.min(20,O));function g(l){var f=C,b=Y,o,A,m;if(P==="c")b=w(l)+b,l="";else{l=+l;var j=l<0||1/l<0;if(l=isNaN(l)?y:w(Math.abs(l),O),V&&(l=Vr(l)),j&&+l==0&&z!=="+"&&(j=!1),f=(j?z==="("?z:u:z==="-"||z==="("?"":z)+f,b=(P==="s"?Xe[8+bn/3]:"")+b+(j&&z==="("?")":""),h){for(o=-1,A=l.length;++om||m>57){b=(m===46?i+l.slice(o+1):l.slice(o))+b,l=l.slice(0,o);break}}}W&&!_&&(l=e(l,1/0));var Z=f.length+l.length+b.length,B=Z>1)+f+l+b+B.slice(Z);break;default:l=B+f+l+b;break}return a(l)}return g.toString=function(){return p+""},g}function x(p,v){var D=c((p=Qt(p),p.type="f",p)),z=Math.max(-8,Math.min(8,Math.floor(Dt(v)/3)))*3,T=Math.pow(10,-z),_=Xe[8+z/3];return function(I){return D(T*I)+_}}return{format:c,formatPrefix:x}}var Vt,Mn,wn;jr({thousands:",",grouping:[3],currency:["$",""]});function jr(t){return Vt=Br(t),Mn=Vt.format,wn=Vt.formatPrefix,Vt}function Zr(t){return Math.max(0,-Dt(Math.abs(t)))}function qr(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Dt(e)/3)))*3-Dt(Math.abs(t)))}function Xr(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Dt(e)-Dt(t))+1}function Gr(t){return function(){return t}}function Qr(t){return+t}var Ge=[0,1];function Tt(t){return t}function ve(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:Gr(isNaN(e)?NaN:.5)}function $r(t,e){var n;return t>e&&(n=t,t=e,e=n),function(r){return Math.max(t,Math.min(e,r))}}function Jr(t,e,n){var r=t[0],i=t[1],a=e[0],s=e[1];return i2?Kr:Jr,y=c=null,p}function p(v){return v==null||isNaN(v=+v)?a:(y||(y=u(t.map(r),e,n)))(r(s(v)))}return p.invert=function(v){return s(i((c||(c=u(e,t.map(r),me)))(v)))},p.domain=function(v){return arguments.length?(t=Array.from(v,Qr),x()):t.slice()},p.range=function(v){return arguments.length?(e=Array.from(v),x()):e.slice()},p.rangeRound=function(v){return e=Array.from(v),n=Ir,x()},p.clamp=function(v){return arguments.length?(s=v?!0:Tt,x()):s!==Tt},p.interpolate=function(v){return arguments.length?(n=v,x()):n},p.unknown=function(v){return arguments.length?(a=v,p):a},function(v,D){return r=v,i=D,x()}}function Cn(){return ti()(Tt,Tt)}function ei(t,e,n,r){var i=ye(t,e,n),a;switch(r=Qt(r??",f"),r.type){case"s":{var s=Math.max(Math.abs(t),Math.abs(e));return r.precision==null&&!isNaN(a=qr(i,s))&&(r.precision=a),wn(r,s)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(a=Xr(i,Math.max(Math.abs(t),Math.abs(e))))&&(r.precision=a-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(a=Zr(i))&&(r.precision=a-(r.type==="%")*2);break}}return Mn(r)}function ni(t){var e=t.domain;return t.ticks=function(n){var r=e();return dr(r[0],r[r.length-1],n??10)},t.tickFormat=function(n,r){var i=e();return ei(i[0],i[i.length-1],n??10,r)},t.nice=function(n){n==null&&(n=10);var r=e(),i=0,a=r.length-1,s=r[i],u=r[a],y,c,x=10;for(u0;){if(c=ge(s,u,n),c===y)return r[i]=s,r[a]=u,e(r);if(c>0)s=Math.floor(s/c)*c,u=Math.ceil(u/c)*c;else if(c<0)s=Math.ceil(s*c)/c,u=Math.floor(u*c)/c;else break;y=c}return t},t}function Sn(){var t=Cn();return t.copy=function(){return Dn(t,Sn())},mn.apply(t,arguments),ni(t)}function ri(t,e){t=t.slice();var n=0,r=t.length-1,i=t[n],a=t[r],s;return a(t(a=new Date(+a)),a),i.ceil=a=>(t(a=new Date(a-1)),e(a,1),t(a),a),i.round=a=>{const s=i(a),u=i.ceil(a);return a-s(e(a=new Date(+a),s==null?1:Math.floor(s)),a),i.range=(a,s,u)=>{const y=[];if(a=i.ceil(a),u=u==null?1:Math.floor(u),!(a0))return y;let c;do y.push(c=new Date(+a)),e(a,u),t(a);while(ctt(s=>{if(s>=s)for(;t(s),!a(s);)s.setTime(s-1)},(s,u)=>{if(s>=s)if(u<0)for(;++u<=0;)for(;e(s,-1),!a(s););else for(;--u>=0;)for(;e(s,1),!a(s););}),n&&(i.count=(a,s)=>(ce.setTime(+a),ue.setTime(+s),t(ce),t(ue),Math.floor(n(ce,ue))),i.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(r?s=>r(s)%a===0:s=>i.count(0,s)%a===0):i)),i}const $t=tt(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);$t.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?tt(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):$t);$t.range;const lt=1e3,it=lt*60,ft=it*60,ht=ft*24,Ae=ht*7,Qe=ht*30,le=ht*365,xt=tt(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*lt)},(t,e)=>(e-t)/lt,t=>t.getUTCSeconds());xt.range;const Lt=tt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*lt)},(t,e)=>{t.setTime(+t+e*it)},(t,e)=>(e-t)/it,t=>t.getMinutes());Lt.range;const ii=tt(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*it)},(t,e)=>(e-t)/it,t=>t.getUTCMinutes());ii.range;const It=tt(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*lt-t.getMinutes()*it)},(t,e)=>{t.setTime(+t+e*ft)},(t,e)=>(e-t)/ft,t=>t.getHours());It.range;const ai=tt(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*ft)},(t,e)=>(e-t)/ft,t=>t.getUTCHours());ai.range;const gt=tt(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*it)/ht,t=>t.getDate()-1);gt.range;const Ye=tt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/ht,t=>t.getUTCDate()-1);Ye.range;const si=tt(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/ht,t=>Math.floor(t/ht));si.range;function pt(t){return tt(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*it)/Ae)}const Ct=pt(0),Jt=pt(1),oi=pt(2),ci=pt(3),St=pt(4),ui=pt(5),li=pt(6);Ct.range;Jt.range;oi.range;ci.range;St.range;ui.range;li.range;function kt(t){return tt(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/Ae)}const _n=kt(0),Kt=kt(1),fi=kt(2),hi=kt(3),_t=kt(4),mi=kt(5),di=kt(6);_n.range;Kt.range;fi.range;hi.range;_t.range;mi.range;di.range;const Nt=tt(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Nt.range;const gi=tt(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());gi.range;const mt=tt(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());mt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:tt(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});mt.range;const yt=tt(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());yt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:tt(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});yt.range;function yi(t,e,n,r,i,a){const s=[[xt,1,lt],[xt,5,5*lt],[xt,15,15*lt],[xt,30,30*lt],[a,1,it],[a,5,5*it],[a,15,15*it],[a,30,30*it],[i,1,ft],[i,3,3*ft],[i,6,6*ft],[i,12,12*ft],[r,1,ht],[r,2,2*ht],[n,1,Ae],[e,1,Qe],[e,3,3*Qe],[t,1,le]];function u(c,x,p){const v=x_).right(s,v);if(D===s.length)return t.every(ye(c/le,x/le,p));if(D===0)return $t.every(Math.max(ye(c,x,p),1));const[z,T]=s[v/s[D-1][2]53)return null;"w"in d||(d.w=1),"Z"in d?(N=he(At(d.y,0,1)),$=N.getUTCDay(),N=$>4||$===0?Kt.ceil(N):Kt(N),N=Ye.offset(N,(d.V-1)*7),d.y=N.getUTCFullYear(),d.m=N.getUTCMonth(),d.d=N.getUTCDate()+(d.w+6)%7):(N=fe(At(d.y,0,1)),$=N.getDay(),N=$>4||$===0?Jt.ceil(N):Jt(N),N=gt.offset(N,(d.V-1)*7),d.y=N.getFullYear(),d.m=N.getMonth(),d.d=N.getDate()+(d.w+6)%7)}else("W"in d||"U"in d)&&("w"in d||(d.w="u"in d?d.u%7:"W"in d?1:0),$="Z"in d?he(At(d.y,0,1)).getUTCDay():fe(At(d.y,0,1)).getDay(),d.m=0,d.d="W"in d?(d.w+6)%7+d.W*7-($+5)%7:d.w+d.U*7-($+6)%7);return"Z"in d?(d.H+=d.Z/100|0,d.M+=d.Z%100,he(d)):fe(d)}}function w(M,S,L,d){for(var X=0,N=S.length,$=L.length,J,at;X=$)return-1;if(J=S.charCodeAt(X++),J===37){if(J=S.charAt(X++),at=P[J in $e?S.charAt(X++):J],!at||(d=at(M,L,d))<0)return-1}else if(J!=L.charCodeAt(d++))return-1}return d}function h(M,S,L){var d=c.exec(S.slice(L));return d?(M.p=x.get(d[0].toLowerCase()),L+d[0].length):-1}function g(M,S,L){var d=D.exec(S.slice(L));return d?(M.w=z.get(d[0].toLowerCase()),L+d[0].length):-1}function l(M,S,L){var d=p.exec(S.slice(L));return d?(M.w=v.get(d[0].toLowerCase()),L+d[0].length):-1}function f(M,S,L){var d=I.exec(S.slice(L));return d?(M.m=W.get(d[0].toLowerCase()),L+d[0].length):-1}function b(M,S,L){var d=T.exec(S.slice(L));return d?(M.m=_.get(d[0].toLowerCase()),L+d[0].length):-1}function o(M,S,L){return w(M,e,S,L)}function A(M,S,L){return w(M,n,S,L)}function m(M,S,L){return w(M,r,S,L)}function j(M){return s[M.getDay()]}function Z(M){return a[M.getDay()]}function B(M){return y[M.getMonth()]}function k(M){return u[M.getMonth()]}function U(M){return i[+(M.getHours()>=12)]}function F(M){return 1+~~(M.getMonth()/3)}function E(M){return s[M.getUTCDay()]}function H(M){return a[M.getUTCDay()]}function Q(M){return y[M.getUTCMonth()]}function q(M){return u[M.getUTCMonth()]}function dt(M){return i[+(M.getUTCHours()>=12)]}function G(M){return 1+~~(M.getUTCMonth()/3)}return{format:function(M){var S=C(M+="",O);return S.toString=function(){return M},S},parse:function(M){var S=Y(M+="",!1);return S.toString=function(){return M},S},utcFormat:function(M){var S=C(M+="",V);return S.toString=function(){return M},S},utcParse:function(M){var S=Y(M+="",!0);return S.toString=function(){return M},S}}}var $e={"-":"",_:" ",0:"0"},et=/^\s*\d+/,Ti=/^%/,xi=/[\\^$*+?|[\]().{}]/g;function R(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a[e.toLowerCase(),n]))}function Mi(t,e,n){var r=et.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function wi(t,e,n){var r=et.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Di(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Ci(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Si(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Je(t,e,n){var r=et.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ke(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function _i(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Ui(t,e,n){var r=et.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Fi(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function tn(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Ai(t,e,n){var r=et.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function en(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Yi(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Ei(t,e,n){var r=et.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Li(t,e,n){var r=et.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Ii(t,e,n){var r=et.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ni(t,e,n){var r=Ti.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Wi(t,e,n){var r=et.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function zi(t,e,n){var r=et.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function nn(t,e){return R(t.getDate(),e,2)}function Oi(t,e){return R(t.getHours(),e,2)}function Hi(t,e){return R(t.getHours()%12||12,e,2)}function Pi(t,e){return R(1+gt.count(mt(t),t),e,3)}function Un(t,e){return R(t.getMilliseconds(),e,3)}function Vi(t,e){return Un(t,e)+"000"}function Ri(t,e){return R(t.getMonth()+1,e,2)}function Bi(t,e){return R(t.getMinutes(),e,2)}function ji(t,e){return R(t.getSeconds(),e,2)}function Zi(t){var e=t.getDay();return e===0?7:e}function qi(t,e){return R(Ct.count(mt(t)-1,t),e,2)}function Fn(t){var e=t.getDay();return e>=4||e===0?St(t):St.ceil(t)}function Xi(t,e){return t=Fn(t),R(St.count(mt(t),t)+(mt(t).getDay()===4),e,2)}function Gi(t){return t.getDay()}function Qi(t,e){return R(Jt.count(mt(t)-1,t),e,2)}function $i(t,e){return R(t.getFullYear()%100,e,2)}function Ji(t,e){return t=Fn(t),R(t.getFullYear()%100,e,2)}function Ki(t,e){return R(t.getFullYear()%1e4,e,4)}function ta(t,e){var n=t.getDay();return t=n>=4||n===0?St(t):St.ceil(t),R(t.getFullYear()%1e4,e,4)}function ea(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+R(e/60|0,"0",2)+R(e%60,"0",2)}function rn(t,e){return R(t.getUTCDate(),e,2)}function na(t,e){return R(t.getUTCHours(),e,2)}function ra(t,e){return R(t.getUTCHours()%12||12,e,2)}function ia(t,e){return R(1+Ye.count(yt(t),t),e,3)}function An(t,e){return R(t.getUTCMilliseconds(),e,3)}function aa(t,e){return An(t,e)+"000"}function sa(t,e){return R(t.getUTCMonth()+1,e,2)}function oa(t,e){return R(t.getUTCMinutes(),e,2)}function ca(t,e){return R(t.getUTCSeconds(),e,2)}function ua(t){var e=t.getUTCDay();return e===0?7:e}function la(t,e){return R(_n.count(yt(t)-1,t),e,2)}function Yn(t){var e=t.getUTCDay();return e>=4||e===0?_t(t):_t.ceil(t)}function fa(t,e){return t=Yn(t),R(_t.count(yt(t),t)+(yt(t).getUTCDay()===4),e,2)}function ha(t){return t.getUTCDay()}function ma(t,e){return R(Kt.count(yt(t)-1,t),e,2)}function da(t,e){return R(t.getUTCFullYear()%100,e,2)}function ga(t,e){return t=Yn(t),R(t.getUTCFullYear()%100,e,2)}function ya(t,e){return R(t.getUTCFullYear()%1e4,e,4)}function pa(t,e){var n=t.getUTCDay();return t=n>=4||n===0?_t(t):_t.ceil(t),R(t.getUTCFullYear()%1e4,e,4)}function ka(){return"+0000"}function an(){return"%"}function sn(t){return+t}function on(t){return Math.floor(+t/1e3)}var vt,te;va({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function va(t){return vt=vi(t),te=vt.format,vt.parse,vt.utcFormat,vt.utcParse,vt}function Ta(t){return new Date(t)}function xa(t){return t instanceof Date?+t:+new Date(+t)}function En(t,e,n,r,i,a,s,u,y,c){var x=Cn(),p=x.invert,v=x.domain,D=c(".%L"),z=c(":%S"),T=c("%I:%M"),_=c("%I %p"),I=c("%a %d"),W=c("%b %d"),O=c("%B"),V=c("%Y");function P(C){return(y(C)4&&(D+=7),v.add(D,n));return z.diff(T,"week")+1},u.isoWeekday=function(c){return this.$utils().u(c)?this.day()||7:this.day(this.day()%7?c:c-7)};var y=u.startOf;u.startOf=function(c,x){var p=this.$utils(),v=!!p.u(x)||x;return p.p(c)==="isoweek"?v?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):y.bind(this)(c,x)}}})})(Ma);const wa=Te;var xe={},Da={get exports(){return xe},set exports(t){xe=t}};(function(t,e){(function(n,r){t.exports=r()})(Se,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,a=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,u={},y=function(T){return(T=+T)+(T>68?1900:2e3)},c=function(T){return function(_){this[T]=+_}},x=[/[+-]\d\d:?(\d\d)?|Z/,function(T){(this.zone||(this.zone={})).offset=function(_){if(!_||_==="Z")return 0;var I=_.match(/([+-]|\d\d)/g),W=60*I[1]+(+I[2]||0);return W===0?0:I[0]==="+"?-W:W}(T)}],p=function(T){var _=u[T];return _&&(_.indexOf?_:_.s.concat(_.f))},v=function(T,_){var I,W=u.meridiem;if(W){for(var O=1;O<=24;O+=1)if(T.indexOf(W(O,0,_))>-1){I=O>12;break}}else I=T===(_?"pm":"PM");return I},D={A:[s,function(T){this.afternoon=v(T,!1)}],a:[s,function(T){this.afternoon=v(T,!0)}],S:[/\d/,function(T){this.milliseconds=100*+T}],SS:[i,function(T){this.milliseconds=10*+T}],SSS:[/\d{3}/,function(T){this.milliseconds=+T}],s:[a,c("seconds")],ss:[a,c("seconds")],m:[a,c("minutes")],mm:[a,c("minutes")],H:[a,c("hours")],h:[a,c("hours")],HH:[a,c("hours")],hh:[a,c("hours")],D:[a,c("day")],DD:[i,c("day")],Do:[s,function(T){var _=u.ordinal,I=T.match(/\d+/);if(this.day=I[0],_)for(var W=1;W<=31;W+=1)_(W).replace(/\[|\]/g,"")===T&&(this.day=W)}],M:[a,c("month")],MM:[i,c("month")],MMM:[s,function(T){var _=p("months"),I=(p("monthsShort")||_.map(function(W){return W.slice(0,3)})).indexOf(T)+1;if(I<1)throw new Error;this.month=I%12||I}],MMMM:[s,function(T){var _=p("months").indexOf(T)+1;if(_<1)throw new Error;this.month=_%12||_}],Y:[/[+-]?\d+/,c("year")],YY:[i,function(T){this.year=y(T)}],YYYY:[/\d{4}/,c("year")],Z:x,ZZ:x};function z(T){var _,I;_=T,I=u&&u.formats;for(var W=(T=_.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(h,g,l){var f=l&&l.toUpperCase();return g||I[l]||n[l]||I[f].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,o,A){return o||A.slice(1)})})).match(r),O=W.length,V=0;V-1)return new Date((j==="X"?1e3:1)*m);var B=z(j)(m),k=B.year,U=B.month,F=B.day,E=B.hours,H=B.minutes,Q=B.seconds,q=B.milliseconds,dt=B.zone,G=new Date,M=F||(k||U?1:G.getDate()),S=k||G.getFullYear(),L=0;k&&!U||(L=U>0?U-1:G.getMonth());var d=E||0,X=H||0,N=Q||0,$=q||0;return dt?new Date(Date.UTC(S,L,M,d,X,N,$+60*dt.offset*1e3)):Z?new Date(Date.UTC(S,L,M,d,X,N,$)):new Date(S,L,M,d,X,N,$)}catch{return new Date("")}}(P,w,C),this.init(),f&&f!==!0&&(this.$L=this.locale(f).$L),l&&P!=this.format(w)&&(this.$d=new Date("")),u={}}else if(w instanceof Array)for(var b=w.length,o=1;o<=b;o+=1){Y[1]=w[o-1];var A=I.apply(this,Y);if(A.isValid()){this.$d=A.$d,this.$L=A.$L,this.init();break}o===b&&(this.$d=new Date(""))}else O.call(this,V)}}})})(Da);const Ca=xe;var be={},Sa={get exports(){return be},set exports(t){be=t}};(function(t,e){(function(n,r){t.exports=r()})(Se,function(){return function(n,r){var i=r.prototype,a=i.format;i.format=function(s){var u=this,y=this.$locale();if(!this.isValid())return a.bind(this)(s);var c=this.$utils(),x=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(p){switch(p){case"Q":return Math.ceil((u.$M+1)/3);case"Do":return y.ordinal(u.$D);case"gggg":return u.weekYear();case"GGGG":return u.isoWeekYear();case"wo":return y.ordinal(u.week(),"W");case"w":case"ww":return c.s(u.week(),p==="w"?1:2,"0");case"W":case"WW":return c.s(u.isoWeek(),p==="W"?1:2,"0");case"k":case"kk":return c.s(String(u.$H===0?24:u.$H),p==="k"?1:2,"0");case"X":return Math.floor(u.$d.getTime()/1e3);case"x":return u.$d.getTime();case"z":return"["+u.offsetName()+"]";case"zzz":return"["+u.offsetName("long")+"]";default:return p}});return a.bind(this)(x)}}})})(Sa);const _a=be;var Me=function(){var t=function(w,h,g,l){for(g=g||{},l=w.length;l--;g[w[l]]=h);return g},e=[1,3],n=[1,5],r=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],i=[1,15],a=[1,16],s=[1,17],u=[1,18],y=[1,19],c=[1,20],x=[1,21],p=[1,22],v=[1,23],D=[1,24],z=[1,25],T=[1,26],_=[1,27],I=[1,29],W=[1,31],O=[1,34],V=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],P={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(h,g,l,f,b,o,A){var m=o.length-1;switch(b){case 2:return o[m-1];case 3:this.$=[];break;case 4:o[m-1].push(o[m]),this.$=o[m-1];break;case 5:case 6:this.$=o[m];break;case 7:case 8:this.$=[];break;case 9:f.setDateFormat(o[m].substr(11)),this.$=o[m].substr(11);break;case 10:f.enableInclusiveEndDates(),this.$=o[m].substr(18);break;case 11:f.TopAxis(),this.$=o[m].substr(8);break;case 12:f.setAxisFormat(o[m].substr(11)),this.$=o[m].substr(11);break;case 13:f.setTickInterval(o[m].substr(13)),this.$=o[m].substr(13);break;case 14:f.setExcludes(o[m].substr(9)),this.$=o[m].substr(9);break;case 15:f.setIncludes(o[m].substr(9)),this.$=o[m].substr(9);break;case 16:f.setTodayMarker(o[m].substr(12)),this.$=o[m].substr(12);break;case 17:f.setDiagramTitle(o[m].substr(6)),this.$=o[m].substr(6);break;case 18:this.$=o[m].trim(),f.setAccTitle(this.$);break;case 19:case 20:this.$=o[m].trim(),f.setAccDescription(this.$);break;case 21:f.addSection(o[m].substr(8)),this.$=o[m].substr(8);break;case 23:f.addTask(o[m-1],o[m]),this.$="task";break;case 27:this.$=o[m-1],f.setClickEvent(o[m-1],o[m],null);break;case 28:this.$=o[m-2],f.setClickEvent(o[m-2],o[m-1],o[m]);break;case 29:this.$=o[m-2],f.setClickEvent(o[m-2],o[m-1],null),f.setLink(o[m-2],o[m]);break;case 30:this.$=o[m-3],f.setClickEvent(o[m-3],o[m-2],o[m-1]),f.setLink(o[m-3],o[m]);break;case 31:this.$=o[m-2],f.setClickEvent(o[m-2],o[m],null),f.setLink(o[m-2],o[m-1]);break;case 32:this.$=o[m-3],f.setClickEvent(o[m-3],o[m-1],o[m]),f.setLink(o[m-3],o[m-2]);break;case 33:this.$=o[m-1],f.setLink(o[m-1],o[m]);break;case 34:case 40:this.$=o[m-1]+" "+o[m];break;case 35:case 36:case 38:this.$=o[m-2]+" "+o[m-1]+" "+o[m];break;case 37:case 39:this.$=o[m-3]+" "+o[m-2]+" "+o[m-1]+" "+o[m];break;case 41:f.parseDirective("%%{","open_directive");break;case 42:f.parseDirective(o[m],"type_directive");break;case 43:o[m]=o[m].trim().replace(/'/g,'"'),f.parseDirective(o[m],"arg_directive");break;case 44:f.parseDirective("}%%","close_directive","gantt");break}},table:[{3:1,4:2,5:e,30:4,40:n},{1:[3]},{3:6,4:2,5:e,30:4,40:n},t(r,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:i,13:a,14:s,15:u,16:y,17:c,18:x,19:p,20:v,21:D,23:z,25:T,26:_,27:28,28:I,30:4,35:W,40:n},{32:32,33:[1,33],43:O},t([33,43],[2,42]),t(r,[2,8],{1:[2,2]}),t(r,[2,4]),{4:30,10:35,12:i,13:a,14:s,15:u,16:y,17:c,18:x,19:p,20:v,21:D,23:z,25:T,26:_,27:28,28:I,30:4,35:W,40:n},t(r,[2,6]),t(r,[2,7]),t(r,[2,9]),t(r,[2,10]),t(r,[2,11]),t(r,[2,12]),t(r,[2,13]),t(r,[2,14]),t(r,[2,15]),t(r,[2,16]),t(r,[2,17]),{22:[1,36]},{24:[1,37]},t(r,[2,20]),t(r,[2,21]),t(r,[2,22]),{29:[1,38]},t(r,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},t(r,[2,5]),t(r,[2,18]),t(r,[2,19]),t(r,[2,23]),t(r,[2,27],{37:[1,44],38:[1,45]}),t(r,[2,33],{36:[1,46]}),t(V,[2,25]),{32:47,43:O},{43:[2,43]},t(r,[2,28],{38:[1,48]}),t(r,[2,29]),t(r,[2,31],{37:[1,49]}),{11:[1,50]},t(r,[2,30]),t(r,[2,32]),t(V,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(h,g){if(g.recoverable)this.trace(h);else{var l=new Error(h);throw l.hash=g,l}},parse:function(h){var g=this,l=[0],f=[],b=[null],o=[],A=this.table,m="",j=0,Z=0,B=2,k=1,U=o.slice.call(arguments,1),F=Object.create(this.lexer),E={yy:{}};for(var H in this.yy)Object.prototype.hasOwnProperty.call(this.yy,H)&&(E.yy[H]=this.yy[H]);F.setInput(h,E.yy),E.yy.lexer=F,E.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var Q=F.yylloc;o.push(Q);var q=F.options&&F.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function dt(){var rt;return rt=f.pop()||F.lex()||k,typeof rt!="number"&&(rt instanceof Array&&(f=rt,rt=f.pop()),rt=g.symbols_[rt]||rt),rt}for(var G,M,S,L,d={},X,N,$,J;;){if(M=l[l.length-1],this.defaultActions[M]?S=this.defaultActions[M]:((G===null||typeof G>"u")&&(G=dt()),S=A[M]&&A[M][G]),typeof S>"u"||!S.length||!S[0]){var at="";J=[];for(X in A[M])this.terminals_[X]&&X>B&&J.push("'"+this.terminals_[X]+"'");F.showPosition?at="Parse error on line "+(j+1)+`: `+F.showPosition()+` Expecting `+J.join(", ")+", got '"+(this.terminals_[G]||G)+"'":at="Parse error on line "+(j+1)+": Unexpected "+(G==k?"end of input":"'"+(this.terminals_[G]||G)+"'"),this.parseError(at,{text:F.match,token:this.terminals_[G]||G,line:F.yylineno,loc:Q,expected:J})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+G);switch(S[0]){case 1:l.push(G),b.push(F.yytext),o.push(F.yylloc),l.push(S[1]),G=null,Z=F.yyleng,m=F.yytext,j=F.yylineno,Q=F.yylloc;break;case 2:if(N=this.productions_[S[1]][1],d.$=b[b.length-N],d._$={first_line:o[o.length-(N||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(N||1)].first_column,last_column:o[o.length-1].last_column},q&&(d._$.range=[o[o.length-(N||1)].range[0],o[o.length-1].range[1]]),L=this.performAction.apply(d,[m,Z,j,E.yy,S[1],b,o].concat(U)),typeof L<"u")return L;N&&(l=l.slice(0,-1*N*2),b=b.slice(0,-1*N),o=o.slice(0,-1*N)),l.push(this.productions_[S[1]][0]),b.push(d.$),o.push(d._$),$=A[l[l.length-2]][l[l.length-1]],l.push($);break;case 3:return!0}}return!0}},C=function(){var w={EOF:1,parseError:function(g,l){if(this.yy.parser)this.yy.parser.parseError(g,l);else throw new Error(g)},setInput:function(h,g){return this.yy=g||this.yy||{},this._input=h,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var g=h.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},unput:function(h){var g=h.length,l=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var f=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var b=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===f.length?this.yylloc.first_column:0)+f[f.length-l.length].length-l[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(h){this.unput(this.match.slice(h))},pastInput:function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var h=this.pastInput(),g=new Array(h.length+1).join("-");return h+this.upcomingInput()+` diff --git a/docs/.vuepress/dist/assets/gitGraphDiagram-0a645df6-4f01bc10.js b/docs/.vuepress/dist/assets/gitGraphDiagram-0a645df6-e4d9bff0.js similarity index 99% rename from docs/.vuepress/dist/assets/gitGraphDiagram-0a645df6-4f01bc10.js rename to docs/.vuepress/dist/assets/gitGraphDiagram-0a645df6-e4d9bff0.js index 4e4cfa0..3e6c10a 100644 --- a/docs/.vuepress/dist/assets/gitGraphDiagram-0a645df6-4f01bc10.js +++ b/docs/.vuepress/dist/assets/gitGraphDiagram-0a645df6-e4d9bff0.js @@ -1,4 +1,4 @@ -import{c as A,s as Ae,g as Oe,a as Se,b as Ie,v as Ge,x as Pe,m as Ne,l as G,k as V,z as He,a5 as pe,h as De,y as Ve,a6 as ze,a7 as je}from"./mermaid.core-00b8b54a.js";import"./commonjsHelpers-725317a4.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";var me=function(){var r=function(B,l,u,b){for(u=u||{},b=B.length;b--;u[B[b]]=l);return u},a=[1,4],o=[1,7],h=[1,5],c=[1,9],n=[1,6],f=[2,6],p=[1,16],v=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],y=[8,14,20,22,24,25,27,29,32,37,40],m=[8,13,14,20,22,24,25,27,29,32,37,40],d=[1,26],_=[6,8,14,50,55],s=[8,14,55],C=[1,53],w=[1,52],H=[8,14,30,33,35,38,55],x=[1,67],g=[1,68],k=[1,69],P=[8,14,33,35,42,55],ae={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(l,u,b,i,E,e,W){var t=e.length-1;switch(E){case 3:return e[t];case 4:return e[t-1];case 5:return i.setDirection(e[t-3]),e[t-1];case 7:i.setOptions(e[t-1]),this.$=e[t];break;case 8:e[t-1]+=e[t],this.$=e[t-1];break;case 10:this.$=[];break;case 11:e[t-1].push(e[t]),this.$=e[t-1];break;case 12:this.$=e[t-1];break;case 17:this.$=e[t].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=e[t].trim(),i.setAccDescription(this.$);break;case 20:i.addSection(e[t].substr(8)),this.$=e[t].substr(8);break;case 22:i.checkout(e[t]);break;case 23:i.branch(e[t]);break;case 24:i.branch(e[t-2],e[t]);break;case 25:i.cherryPick(e[t],"",void 0);break;case 26:i.cherryPick(e[t-2],"",e[t]);break;case 27:case 29:i.cherryPick(e[t-2],"","");break;case 28:i.cherryPick(e[t],"",e[t-2]);break;case 30:i.merge(e[t],"","","");break;case 31:i.merge(e[t-2],e[t],"","");break;case 32:i.merge(e[t-2],"",e[t],"");break;case 33:i.merge(e[t-2],"","",e[t]);break;case 34:i.merge(e[t-4],e[t],"",e[t-2]);break;case 35:i.merge(e[t-4],"",e[t],e[t-2]);break;case 36:i.merge(e[t-4],"",e[t-2],e[t]);break;case 37:i.merge(e[t-4],e[t-2],e[t],"");break;case 38:i.merge(e[t-4],e[t-2],"",e[t]);break;case 39:i.merge(e[t-4],e[t],e[t-2],"");break;case 40:i.merge(e[t-6],e[t-4],e[t-2],e[t]);break;case 41:i.merge(e[t-6],e[t],e[t-4],e[t-2]);break;case 42:i.merge(e[t-6],e[t-4],e[t],e[t-2]);break;case 43:i.merge(e[t-6],e[t-2],e[t-4],e[t]);break;case 44:i.merge(e[t-6],e[t],e[t-2],e[t-4]);break;case 45:i.merge(e[t-6],e[t-2],e[t],e[t-4]);break;case 46:i.commit(e[t]);break;case 47:i.commit("","",i.commitType.NORMAL,e[t]);break;case 48:i.commit("","",e[t],"");break;case 49:i.commit("","",e[t],e[t-2]);break;case 50:i.commit("","",e[t-2],e[t]);break;case 51:i.commit("",e[t],i.commitType.NORMAL,"");break;case 52:i.commit("",e[t-2],i.commitType.NORMAL,e[t]);break;case 53:i.commit("",e[t],i.commitType.NORMAL,e[t-2]);break;case 54:i.commit("",e[t-2],e[t],"");break;case 55:i.commit("",e[t],e[t-2],"");break;case 56:i.commit("",e[t-4],e[t-2],e[t]);break;case 57:i.commit("",e[t-4],e[t],e[t-2]);break;case 58:i.commit("",e[t-2],e[t-4],e[t]);break;case 59:i.commit("",e[t],e[t-4],e[t-2]);break;case 60:i.commit("",e[t],e[t-2],e[t-4]);break;case 61:i.commit("",e[t-2],e[t],e[t-4]);break;case 62:i.commit(e[t],"",i.commitType.NORMAL,"");break;case 63:i.commit(e[t],"",i.commitType.NORMAL,e[t-2]);break;case 64:i.commit(e[t-2],"",i.commitType.NORMAL,e[t]);break;case 65:i.commit(e[t-2],"",e[t],"");break;case 66:i.commit(e[t],"",e[t-2],"");break;case 67:i.commit(e[t],e[t-2],i.commitType.NORMAL,"");break;case 68:i.commit(e[t-2],e[t],i.commitType.NORMAL,"");break;case 69:i.commit(e[t-4],"",e[t-2],e[t]);break;case 70:i.commit(e[t-4],"",e[t],e[t-2]);break;case 71:i.commit(e[t-2],"",e[t-4],e[t]);break;case 72:i.commit(e[t],"",e[t-4],e[t-2]);break;case 73:i.commit(e[t],"",e[t-2],e[t-4]);break;case 74:i.commit(e[t-2],"",e[t],e[t-4]);break;case 75:i.commit(e[t-4],e[t],e[t-2],"");break;case 76:i.commit(e[t-4],e[t-2],e[t],"");break;case 77:i.commit(e[t-2],e[t],e[t-4],"");break;case 78:i.commit(e[t],e[t-2],e[t-4],"");break;case 79:i.commit(e[t],e[t-4],e[t-2],"");break;case 80:i.commit(e[t-2],e[t-4],e[t],"");break;case 81:i.commit(e[t-4],e[t],i.commitType.NORMAL,e[t-2]);break;case 82:i.commit(e[t-4],e[t-2],i.commitType.NORMAL,e[t]);break;case 83:i.commit(e[t-2],e[t],i.commitType.NORMAL,e[t-4]);break;case 84:i.commit(e[t],e[t-2],i.commitType.NORMAL,e[t-4]);break;case 85:i.commit(e[t],e[t-4],i.commitType.NORMAL,e[t-2]);break;case 86:i.commit(e[t-2],e[t-4],i.commitType.NORMAL,e[t]);break;case 87:i.commit(e[t-6],e[t-4],e[t-2],e[t]);break;case 88:i.commit(e[t-6],e[t-4],e[t],e[t-2]);break;case 89:i.commit(e[t-6],e[t-2],e[t-4],e[t]);break;case 90:i.commit(e[t-6],e[t],e[t-4],e[t-2]);break;case 91:i.commit(e[t-6],e[t-2],e[t],e[t-4]);break;case 92:i.commit(e[t-6],e[t],e[t-2],e[t-4]);break;case 93:i.commit(e[t-4],e[t-6],e[t-2],e[t]);break;case 94:i.commit(e[t-4],e[t-6],e[t],e[t-2]);break;case 95:i.commit(e[t-2],e[t-6],e[t-4],e[t]);break;case 96:i.commit(e[t],e[t-6],e[t-4],e[t-2]);break;case 97:i.commit(e[t-2],e[t-6],e[t],e[t-4]);break;case 98:i.commit(e[t],e[t-6],e[t-2],e[t-4]);break;case 99:i.commit(e[t],e[t-4],e[t-2],e[t-6]);break;case 100:i.commit(e[t-2],e[t-4],e[t],e[t-6]);break;case 101:i.commit(e[t],e[t-2],e[t-4],e[t-6]);break;case 102:i.commit(e[t-2],e[t],e[t-4],e[t-6]);break;case 103:i.commit(e[t-4],e[t-2],e[t],e[t-6]);break;case 104:i.commit(e[t-4],e[t],e[t-2],e[t-6]);break;case 105:i.commit(e[t-2],e[t-4],e[t-6],e[t]);break;case 106:i.commit(e[t],e[t-4],e[t-6],e[t-2]);break;case 107:i.commit(e[t-2],e[t],e[t-6],e[t-4]);break;case 108:i.commit(e[t],e[t-2],e[t-6],e[t-4]);break;case 109:i.commit(e[t-4],e[t-2],e[t-6],e[t]);break;case 110:i.commit(e[t-4],e[t],e[t-6],e[t-2]);break;case 111:this.$="";break;case 112:this.$=e[t];break;case 113:this.$=i.commitType.NORMAL;break;case 114:this.$=i.commitType.REVERSE;break;case 115:this.$=i.commitType.HIGHLIGHT;break;case 118:i.parseDirective("%%{","open_directive");break;case 119:i.parseDirective(e[t],"type_directive");break;case 120:e[t]=e[t].trim().replace(/'/g,'"'),i.parseDirective(e[t],"arg_directive");break;case 121:i.parseDirective("}%%","close_directive","gitGraph");break}},table:[{3:1,4:2,5:3,6:a,8:o,14:h,46:8,50:c,55:n},{1:[3]},{3:10,4:2,5:3,6:a,8:o,14:h,46:8,50:c,55:n},{3:11,4:2,5:3,6:a,8:o,14:h,46:8,50:c,55:n},{7:12,8:f,9:[1,13],10:[1,14],11:15,14:p},r(v,[2,124]),r(v,[2,125]),r(v,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:f,11:15,14:p},{9:[1,21]},r(y,[2,10],{12:22,13:[1,23]}),r(m,[2,9]),{9:[1,25],48:24,53:d},r([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:f,11:15,14:p},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],37:[1,42],40:[1,41]},r(m,[2,8]),r(_,[2,116]),{49:45,52:[1,46]},r(_,[2,121]),{1:[2,4]},{8:[1,47]},r(y,[2,11]),{4:48,8:o,14:h,55:n},r(y,[2,13]),r(s,[2,14]),r(s,[2,15]),r(s,[2,16]),{21:[1,49]},{23:[1,50]},r(s,[2,19]),r(s,[2,20]),r(s,[2,21]),{28:51,34:C,54:w},r(s,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:C,54:w},{33:[1,61],35:[1,62]},{28:63,34:C,54:w},{48:64,53:d},{53:[2,120]},{1:[2,5]},r(y,[2,12]),r(s,[2,17]),r(s,[2,18]),r(s,[2,22]),r(H,[2,122]),r(H,[2,123]),r(s,[2,46]),{34:[1,65]},{39:66,43:x,44:g,45:k},{34:[1,70]},{34:[1,71]},r(s,[2,112]),r(s,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},r(s,[2,23],{30:[1,78]}),r(_,[2,117]),r(s,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),r(s,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),r(P,[2,113]),r(P,[2,114]),r(P,[2,115]),r(s,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),r(s,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:x,44:g,45:k},{34:[1,93]},r(s,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:x,44:g,45:k},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:x,44:g,45:k},{34:[1,106]},{34:[1,107]},{39:108,43:x,44:g,45:k},{34:[1,109]},r(s,[2,31],{35:[1,111],38:[1,110]}),r(s,[2,32],{33:[1,113],35:[1,112]}),r(s,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},r(s,[2,24]),r(s,[2,49],{33:[1,120],42:[1,121]}),r(s,[2,53],{38:[1,122],42:[1,123]}),r(s,[2,63],{33:[1,125],38:[1,124]}),r(s,[2,50],{33:[1,126],42:[1,127]}),r(s,[2,55],{35:[1,128],42:[1,129]}),r(s,[2,66],{33:[1,131],35:[1,130]}),r(s,[2,52],{38:[1,132],42:[1,133]}),r(s,[2,54],{35:[1,134],42:[1,135]}),r(s,[2,67],{35:[1,137],38:[1,136]}),r(s,[2,64],{33:[1,139],38:[1,138]}),r(s,[2,65],{33:[1,141],35:[1,140]}),r(s,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:x,44:g,45:k},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:x,44:g,45:k},r(s,[2,26]),r(s,[2,27]),r(s,[2,28]),r(s,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:x,44:g,45:k},{34:[1,153]},{39:154,43:x,44:g,45:k},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:x,44:g,45:k},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:x,44:g,45:k},{34:[1,167]},{39:168,43:x,44:g,45:k},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:x,44:g,45:k},{34:[1,173]},r(s,[2,37],{35:[1,174]}),r(s,[2,38],{38:[1,175]}),r(s,[2,36],{33:[1,176]}),r(s,[2,39],{35:[1,177]}),r(s,[2,34],{38:[1,178]}),r(s,[2,35],{33:[1,179]}),r(s,[2,60],{42:[1,180]}),r(s,[2,73],{33:[1,181]}),r(s,[2,61],{42:[1,182]}),r(s,[2,84],{38:[1,183]}),r(s,[2,74],{33:[1,184]}),r(s,[2,83],{38:[1,185]}),r(s,[2,59],{42:[1,186]}),r(s,[2,72],{33:[1,187]}),r(s,[2,58],{42:[1,188]}),r(s,[2,78],{35:[1,189]}),r(s,[2,71],{33:[1,190]}),r(s,[2,77],{35:[1,191]}),r(s,[2,57],{42:[1,192]}),r(s,[2,85],{38:[1,193]}),r(s,[2,56],{42:[1,194]}),r(s,[2,79],{35:[1,195]}),r(s,[2,80],{35:[1,196]}),r(s,[2,86],{38:[1,197]}),r(s,[2,70],{33:[1,198]}),r(s,[2,81],{38:[1,199]}),r(s,[2,69],{33:[1,200]}),r(s,[2,75],{35:[1,201]}),r(s,[2,76],{35:[1,202]}),r(s,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:x,44:g,45:k},{34:[1,206]},{34:[1,207]},{39:208,43:x,44:g,45:k},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:x,44:g,45:k},{34:[1,214]},{39:215,43:x,44:g,45:k},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:x,44:g,45:k},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:x,44:g,45:k},{34:[1,228]},{39:229,43:x,44:g,45:k},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:x,44:g,45:k},r(s,[2,40]),r(s,[2,42]),r(s,[2,41]),r(s,[2,43]),r(s,[2,45]),r(s,[2,44]),r(s,[2,101]),r(s,[2,102]),r(s,[2,99]),r(s,[2,100]),r(s,[2,104]),r(s,[2,103]),r(s,[2,108]),r(s,[2,107]),r(s,[2,106]),r(s,[2,105]),r(s,[2,110]),r(s,[2,109]),r(s,[2,98]),r(s,[2,97]),r(s,[2,96]),r(s,[2,95]),r(s,[2,93]),r(s,[2,94]),r(s,[2,92]),r(s,[2,91]),r(s,[2,90]),r(s,[2,89]),r(s,[2,87]),r(s,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(l,u){if(u.recoverable)this.trace(l);else{var b=new Error(l);throw b.hash=u,b}},parse:function(l){var u=this,b=[0],i=[],E=[null],e=[],W=this.table,t="",Z=0,be=0,Re=2,ge=1,Ce=e.slice.call(arguments,1),L=Object.create(this.lexer),q={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(q.yy[ne]=this.yy[ne]);L.setInput(l,q.yy),q.yy.lexer=L,q.yy.parser=this,typeof L.yylloc>"u"&&(L.yylloc={});var oe=L.yylloc;e.push(oe);var Le=L.options&&L.options.ranges;typeof q.yy.parseError=="function"?this.parseError=q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(){var j;return j=i.pop()||L.lex()||ge,typeof j!="number"&&(j instanceof Array&&(i=j,j=i.pop()),j=u.symbols_[j]||j),j}for(var S,Y,D,le,U={},$,z,de,ee;;){if(Y=b[b.length-1],this.defaultActions[Y]?D=this.defaultActions[Y]:((S===null||typeof S>"u")&&(S=Me()),D=W[Y]&&W[Y][S]),typeof D>"u"||!D.length||!D[0]){var he="";ee=[];for($ in W[Y])this.terminals_[$]&&$>Re&&ee.push("'"+this.terminals_[$]+"'");L.showPosition?he="Parse error on line "+(Z+1)+`: +import{c as A,s as Ae,g as Oe,a as Se,b as Ie,v as Ge,x as Pe,m as Ne,l as G,k as V,z as He,a5 as pe,h as De,y as Ve,a6 as ze,a7 as je}from"./mermaid.core-5f04c634.js";import"./commonjsHelpers-725317a4.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";var me=function(){var r=function(B,l,u,b){for(u=u||{},b=B.length;b--;u[B[b]]=l);return u},a=[1,4],o=[1,7],h=[1,5],c=[1,9],n=[1,6],f=[2,6],p=[1,16],v=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],y=[8,14,20,22,24,25,27,29,32,37,40],m=[8,13,14,20,22,24,25,27,29,32,37,40],d=[1,26],_=[6,8,14,50,55],s=[8,14,55],C=[1,53],w=[1,52],H=[8,14,30,33,35,38,55],x=[1,67],g=[1,68],k=[1,69],P=[8,14,33,35,42,55],ae={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(l,u,b,i,E,e,W){var t=e.length-1;switch(E){case 3:return e[t];case 4:return e[t-1];case 5:return i.setDirection(e[t-3]),e[t-1];case 7:i.setOptions(e[t-1]),this.$=e[t];break;case 8:e[t-1]+=e[t],this.$=e[t-1];break;case 10:this.$=[];break;case 11:e[t-1].push(e[t]),this.$=e[t-1];break;case 12:this.$=e[t-1];break;case 17:this.$=e[t].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=e[t].trim(),i.setAccDescription(this.$);break;case 20:i.addSection(e[t].substr(8)),this.$=e[t].substr(8);break;case 22:i.checkout(e[t]);break;case 23:i.branch(e[t]);break;case 24:i.branch(e[t-2],e[t]);break;case 25:i.cherryPick(e[t],"",void 0);break;case 26:i.cherryPick(e[t-2],"",e[t]);break;case 27:case 29:i.cherryPick(e[t-2],"","");break;case 28:i.cherryPick(e[t],"",e[t-2]);break;case 30:i.merge(e[t],"","","");break;case 31:i.merge(e[t-2],e[t],"","");break;case 32:i.merge(e[t-2],"",e[t],"");break;case 33:i.merge(e[t-2],"","",e[t]);break;case 34:i.merge(e[t-4],e[t],"",e[t-2]);break;case 35:i.merge(e[t-4],"",e[t],e[t-2]);break;case 36:i.merge(e[t-4],"",e[t-2],e[t]);break;case 37:i.merge(e[t-4],e[t-2],e[t],"");break;case 38:i.merge(e[t-4],e[t-2],"",e[t]);break;case 39:i.merge(e[t-4],e[t],e[t-2],"");break;case 40:i.merge(e[t-6],e[t-4],e[t-2],e[t]);break;case 41:i.merge(e[t-6],e[t],e[t-4],e[t-2]);break;case 42:i.merge(e[t-6],e[t-4],e[t],e[t-2]);break;case 43:i.merge(e[t-6],e[t-2],e[t-4],e[t]);break;case 44:i.merge(e[t-6],e[t],e[t-2],e[t-4]);break;case 45:i.merge(e[t-6],e[t-2],e[t],e[t-4]);break;case 46:i.commit(e[t]);break;case 47:i.commit("","",i.commitType.NORMAL,e[t]);break;case 48:i.commit("","",e[t],"");break;case 49:i.commit("","",e[t],e[t-2]);break;case 50:i.commit("","",e[t-2],e[t]);break;case 51:i.commit("",e[t],i.commitType.NORMAL,"");break;case 52:i.commit("",e[t-2],i.commitType.NORMAL,e[t]);break;case 53:i.commit("",e[t],i.commitType.NORMAL,e[t-2]);break;case 54:i.commit("",e[t-2],e[t],"");break;case 55:i.commit("",e[t],e[t-2],"");break;case 56:i.commit("",e[t-4],e[t-2],e[t]);break;case 57:i.commit("",e[t-4],e[t],e[t-2]);break;case 58:i.commit("",e[t-2],e[t-4],e[t]);break;case 59:i.commit("",e[t],e[t-4],e[t-2]);break;case 60:i.commit("",e[t],e[t-2],e[t-4]);break;case 61:i.commit("",e[t-2],e[t],e[t-4]);break;case 62:i.commit(e[t],"",i.commitType.NORMAL,"");break;case 63:i.commit(e[t],"",i.commitType.NORMAL,e[t-2]);break;case 64:i.commit(e[t-2],"",i.commitType.NORMAL,e[t]);break;case 65:i.commit(e[t-2],"",e[t],"");break;case 66:i.commit(e[t],"",e[t-2],"");break;case 67:i.commit(e[t],e[t-2],i.commitType.NORMAL,"");break;case 68:i.commit(e[t-2],e[t],i.commitType.NORMAL,"");break;case 69:i.commit(e[t-4],"",e[t-2],e[t]);break;case 70:i.commit(e[t-4],"",e[t],e[t-2]);break;case 71:i.commit(e[t-2],"",e[t-4],e[t]);break;case 72:i.commit(e[t],"",e[t-4],e[t-2]);break;case 73:i.commit(e[t],"",e[t-2],e[t-4]);break;case 74:i.commit(e[t-2],"",e[t],e[t-4]);break;case 75:i.commit(e[t-4],e[t],e[t-2],"");break;case 76:i.commit(e[t-4],e[t-2],e[t],"");break;case 77:i.commit(e[t-2],e[t],e[t-4],"");break;case 78:i.commit(e[t],e[t-2],e[t-4],"");break;case 79:i.commit(e[t],e[t-4],e[t-2],"");break;case 80:i.commit(e[t-2],e[t-4],e[t],"");break;case 81:i.commit(e[t-4],e[t],i.commitType.NORMAL,e[t-2]);break;case 82:i.commit(e[t-4],e[t-2],i.commitType.NORMAL,e[t]);break;case 83:i.commit(e[t-2],e[t],i.commitType.NORMAL,e[t-4]);break;case 84:i.commit(e[t],e[t-2],i.commitType.NORMAL,e[t-4]);break;case 85:i.commit(e[t],e[t-4],i.commitType.NORMAL,e[t-2]);break;case 86:i.commit(e[t-2],e[t-4],i.commitType.NORMAL,e[t]);break;case 87:i.commit(e[t-6],e[t-4],e[t-2],e[t]);break;case 88:i.commit(e[t-6],e[t-4],e[t],e[t-2]);break;case 89:i.commit(e[t-6],e[t-2],e[t-4],e[t]);break;case 90:i.commit(e[t-6],e[t],e[t-4],e[t-2]);break;case 91:i.commit(e[t-6],e[t-2],e[t],e[t-4]);break;case 92:i.commit(e[t-6],e[t],e[t-2],e[t-4]);break;case 93:i.commit(e[t-4],e[t-6],e[t-2],e[t]);break;case 94:i.commit(e[t-4],e[t-6],e[t],e[t-2]);break;case 95:i.commit(e[t-2],e[t-6],e[t-4],e[t]);break;case 96:i.commit(e[t],e[t-6],e[t-4],e[t-2]);break;case 97:i.commit(e[t-2],e[t-6],e[t],e[t-4]);break;case 98:i.commit(e[t],e[t-6],e[t-2],e[t-4]);break;case 99:i.commit(e[t],e[t-4],e[t-2],e[t-6]);break;case 100:i.commit(e[t-2],e[t-4],e[t],e[t-6]);break;case 101:i.commit(e[t],e[t-2],e[t-4],e[t-6]);break;case 102:i.commit(e[t-2],e[t],e[t-4],e[t-6]);break;case 103:i.commit(e[t-4],e[t-2],e[t],e[t-6]);break;case 104:i.commit(e[t-4],e[t],e[t-2],e[t-6]);break;case 105:i.commit(e[t-2],e[t-4],e[t-6],e[t]);break;case 106:i.commit(e[t],e[t-4],e[t-6],e[t-2]);break;case 107:i.commit(e[t-2],e[t],e[t-6],e[t-4]);break;case 108:i.commit(e[t],e[t-2],e[t-6],e[t-4]);break;case 109:i.commit(e[t-4],e[t-2],e[t-6],e[t]);break;case 110:i.commit(e[t-4],e[t],e[t-6],e[t-2]);break;case 111:this.$="";break;case 112:this.$=e[t];break;case 113:this.$=i.commitType.NORMAL;break;case 114:this.$=i.commitType.REVERSE;break;case 115:this.$=i.commitType.HIGHLIGHT;break;case 118:i.parseDirective("%%{","open_directive");break;case 119:i.parseDirective(e[t],"type_directive");break;case 120:e[t]=e[t].trim().replace(/'/g,'"'),i.parseDirective(e[t],"arg_directive");break;case 121:i.parseDirective("}%%","close_directive","gitGraph");break}},table:[{3:1,4:2,5:3,6:a,8:o,14:h,46:8,50:c,55:n},{1:[3]},{3:10,4:2,5:3,6:a,8:o,14:h,46:8,50:c,55:n},{3:11,4:2,5:3,6:a,8:o,14:h,46:8,50:c,55:n},{7:12,8:f,9:[1,13],10:[1,14],11:15,14:p},r(v,[2,124]),r(v,[2,125]),r(v,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:f,11:15,14:p},{9:[1,21]},r(y,[2,10],{12:22,13:[1,23]}),r(m,[2,9]),{9:[1,25],48:24,53:d},r([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:f,11:15,14:p},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],37:[1,42],40:[1,41]},r(m,[2,8]),r(_,[2,116]),{49:45,52:[1,46]},r(_,[2,121]),{1:[2,4]},{8:[1,47]},r(y,[2,11]),{4:48,8:o,14:h,55:n},r(y,[2,13]),r(s,[2,14]),r(s,[2,15]),r(s,[2,16]),{21:[1,49]},{23:[1,50]},r(s,[2,19]),r(s,[2,20]),r(s,[2,21]),{28:51,34:C,54:w},r(s,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:C,54:w},{33:[1,61],35:[1,62]},{28:63,34:C,54:w},{48:64,53:d},{53:[2,120]},{1:[2,5]},r(y,[2,12]),r(s,[2,17]),r(s,[2,18]),r(s,[2,22]),r(H,[2,122]),r(H,[2,123]),r(s,[2,46]),{34:[1,65]},{39:66,43:x,44:g,45:k},{34:[1,70]},{34:[1,71]},r(s,[2,112]),r(s,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},r(s,[2,23],{30:[1,78]}),r(_,[2,117]),r(s,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),r(s,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),r(P,[2,113]),r(P,[2,114]),r(P,[2,115]),r(s,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),r(s,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:x,44:g,45:k},{34:[1,93]},r(s,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:x,44:g,45:k},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:x,44:g,45:k},{34:[1,106]},{34:[1,107]},{39:108,43:x,44:g,45:k},{34:[1,109]},r(s,[2,31],{35:[1,111],38:[1,110]}),r(s,[2,32],{33:[1,113],35:[1,112]}),r(s,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},r(s,[2,24]),r(s,[2,49],{33:[1,120],42:[1,121]}),r(s,[2,53],{38:[1,122],42:[1,123]}),r(s,[2,63],{33:[1,125],38:[1,124]}),r(s,[2,50],{33:[1,126],42:[1,127]}),r(s,[2,55],{35:[1,128],42:[1,129]}),r(s,[2,66],{33:[1,131],35:[1,130]}),r(s,[2,52],{38:[1,132],42:[1,133]}),r(s,[2,54],{35:[1,134],42:[1,135]}),r(s,[2,67],{35:[1,137],38:[1,136]}),r(s,[2,64],{33:[1,139],38:[1,138]}),r(s,[2,65],{33:[1,141],35:[1,140]}),r(s,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:x,44:g,45:k},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:x,44:g,45:k},r(s,[2,26]),r(s,[2,27]),r(s,[2,28]),r(s,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:x,44:g,45:k},{34:[1,153]},{39:154,43:x,44:g,45:k},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:x,44:g,45:k},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:x,44:g,45:k},{34:[1,167]},{39:168,43:x,44:g,45:k},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:x,44:g,45:k},{34:[1,173]},r(s,[2,37],{35:[1,174]}),r(s,[2,38],{38:[1,175]}),r(s,[2,36],{33:[1,176]}),r(s,[2,39],{35:[1,177]}),r(s,[2,34],{38:[1,178]}),r(s,[2,35],{33:[1,179]}),r(s,[2,60],{42:[1,180]}),r(s,[2,73],{33:[1,181]}),r(s,[2,61],{42:[1,182]}),r(s,[2,84],{38:[1,183]}),r(s,[2,74],{33:[1,184]}),r(s,[2,83],{38:[1,185]}),r(s,[2,59],{42:[1,186]}),r(s,[2,72],{33:[1,187]}),r(s,[2,58],{42:[1,188]}),r(s,[2,78],{35:[1,189]}),r(s,[2,71],{33:[1,190]}),r(s,[2,77],{35:[1,191]}),r(s,[2,57],{42:[1,192]}),r(s,[2,85],{38:[1,193]}),r(s,[2,56],{42:[1,194]}),r(s,[2,79],{35:[1,195]}),r(s,[2,80],{35:[1,196]}),r(s,[2,86],{38:[1,197]}),r(s,[2,70],{33:[1,198]}),r(s,[2,81],{38:[1,199]}),r(s,[2,69],{33:[1,200]}),r(s,[2,75],{35:[1,201]}),r(s,[2,76],{35:[1,202]}),r(s,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:x,44:g,45:k},{34:[1,206]},{34:[1,207]},{39:208,43:x,44:g,45:k},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:x,44:g,45:k},{34:[1,214]},{39:215,43:x,44:g,45:k},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:x,44:g,45:k},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:x,44:g,45:k},{34:[1,228]},{39:229,43:x,44:g,45:k},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:x,44:g,45:k},r(s,[2,40]),r(s,[2,42]),r(s,[2,41]),r(s,[2,43]),r(s,[2,45]),r(s,[2,44]),r(s,[2,101]),r(s,[2,102]),r(s,[2,99]),r(s,[2,100]),r(s,[2,104]),r(s,[2,103]),r(s,[2,108]),r(s,[2,107]),r(s,[2,106]),r(s,[2,105]),r(s,[2,110]),r(s,[2,109]),r(s,[2,98]),r(s,[2,97]),r(s,[2,96]),r(s,[2,95]),r(s,[2,93]),r(s,[2,94]),r(s,[2,92]),r(s,[2,91]),r(s,[2,90]),r(s,[2,89]),r(s,[2,87]),r(s,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(l,u){if(u.recoverable)this.trace(l);else{var b=new Error(l);throw b.hash=u,b}},parse:function(l){var u=this,b=[0],i=[],E=[null],e=[],W=this.table,t="",Z=0,be=0,Re=2,ge=1,Ce=e.slice.call(arguments,1),L=Object.create(this.lexer),q={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(q.yy[ne]=this.yy[ne]);L.setInput(l,q.yy),q.yy.lexer=L,q.yy.parser=this,typeof L.yylloc>"u"&&(L.yylloc={});var oe=L.yylloc;e.push(oe);var Le=L.options&&L.options.ranges;typeof q.yy.parseError=="function"?this.parseError=q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(){var j;return j=i.pop()||L.lex()||ge,typeof j!="number"&&(j instanceof Array&&(i=j,j=i.pop()),j=u.symbols_[j]||j),j}for(var S,Y,D,le,U={},$,z,de,ee;;){if(Y=b[b.length-1],this.defaultActions[Y]?D=this.defaultActions[Y]:((S===null||typeof S>"u")&&(S=Me()),D=W[Y]&&W[Y][S]),typeof D>"u"||!D.length||!D[0]){var he="";ee=[];for($ in W[Y])this.terminals_[$]&&$>Re&&ee.push("'"+this.terminals_[$]+"'");L.showPosition?he="Parse error on line "+(Z+1)+`: `+L.showPosition()+` Expecting `+ee.join(", ")+", got '"+(this.terminals_[S]||S)+"'":he="Parse error on line "+(Z+1)+": Unexpected "+(S==ge?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(he,{text:L.match,token:this.terminals_[S]||S,line:L.yylineno,loc:oe,expected:ee})}if(D[0]instanceof Array&&D.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Y+", token: "+S);switch(D[0]){case 1:b.push(S),E.push(L.yytext),e.push(L.yylloc),b.push(D[1]),S=null,be=L.yyleng,t=L.yytext,Z=L.yylineno,oe=L.yylloc;break;case 2:if(z=this.productions_[D[1]][1],U.$=E[E.length-z],U._$={first_line:e[e.length-(z||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(z||1)].first_column,last_column:e[e.length-1].last_column},Le&&(U._$.range=[e[e.length-(z||1)].range[0],e[e.length-1].range[1]]),le=this.performAction.apply(U,[t,be,Z,q.yy,D[1],E,e].concat(Ce)),typeof le<"u")return le;z&&(b=b.slice(0,-1*z*2),E=E.slice(0,-1*z),e=e.slice(0,-1*z)),b.push(this.productions_[D[1]][0]),E.push(U.$),e.push(U._$),de=W[b[b.length-2]][b[b.length-1]],b.push(de);break;case 3:return!0}}return!0}},Te=function(){var B={EOF:1,parseError:function(u,b){if(this.yy.parser)this.yy.parser.parseError(u,b);else throw new Error(u)},setInput:function(l,u){return this.yy=u||this.yy||{},this._input=l,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var u=l.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},unput:function(l){var u=l.length,b=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),b.length-1&&(this.yylineno-=b.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:b?(b.length===i.length?this.yylloc.first_column:0)+i[i.length-b.length].length-b[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(l){this.unput(this.match.slice(l))},pastInput:function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var l=this.pastInput(),u=new Array(l.length+1).join("-");return l+this.upcomingInput()+` diff --git a/docs/.vuepress/dist/assets/index-5219d011-50992b0b.js b/docs/.vuepress/dist/assets/index-5219d011-730b0cac.js similarity index 97% rename from docs/.vuepress/dist/assets/index-5219d011-50992b0b.js rename to docs/.vuepress/dist/assets/index-5219d011-730b0cac.js index 268781c..303f34c 100644 --- a/docs/.vuepress/dist/assets/index-5219d011-50992b0b.js +++ b/docs/.vuepress/dist/assets/index-5219d011-730b0cac.js @@ -1 +1 @@ -import{b as $,a as y,m as D,G,l as j}from"./layout-6fd5c641.js";import{i as A,u as M,s as _,a as H,b as V,p as B,c as q,d as U,e as W,f as Y,g as O,h as X}from"./edges-2e77835f-0b2286d7.js";import{l as i,q as N,c as E,h as L}from"./mermaid.core-00b8b54a.js";import{c as z}from"./createText-1f5f8f92-f405caff.js";var K=4;function Q(e){return $(e,K)}function v(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:Z(e),edges:I(e)};return y(e.graph())||(t.value=Q(e.graph())),t}function Z(e){return D(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),s={v:t};return y(n)||(s.value=n),y(r)||(s.parent=r),s})}function I(e){return D(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return y(t.name)||(r.name=t.name),y(n)||(r.value=n),r})}let f={},x={},T={};const tt=()=>{x={},T={},f={}},S=(e,t)=>(i.trace("In isDecendant",t," ",e," = ",x[t].includes(e)),!!x[t].includes(e)),et=(e,t)=>(i.info("Decendants of ",t," is ",x[t]),i.info("Edge is ",e),e.v===t||e.w===t?!1:x[t]?x[t].includes(e.v)||S(e.v,t)||S(e.w,t)||x[t].includes(e.w):(i.debug("Tilt, ",t,",not in decendants"),!1)),J=(e,t,n,r)=>{i.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const s=t.children(e)||[];e!==r&&s.push(e),i.warn("Copying (nodes) clusterId",e,"nodes",s),s.forEach(a=>{if(t.children(a).length>0)J(a,t,n,r);else{const h=t.node(a);i.info("cp ",a," to ",r," with parent ",e),n.setNode(a,h),r!==t.parent(a)&&(i.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==r&&a!==e?(i.debug("Setting parent",a,e),n.setParent(a,e)):(i.info("In copy ",e,"root",r,"data",t.node(e),r),i.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==r,"node!==clusterId",a!==e));const l=t.edges(a);i.debug("Copying Edges",l),l.forEach(d=>{i.info("Edge",d);const w=t.edge(d.v,d.w,d.name);i.info("Edge data",w,r);try{et(d,r)?(i.info("Copying as ",d.v,d.w,w,d.name),n.setEdge(d.v,d.w,w,d.name),i.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):i.info("Skipping copy of edge ",d.v,"-->",d.w," rootId: ",r," clusterId:",e)}catch(g){i.error(g)}})}i.debug("Removing node",a),t.removeNode(a)})},R=(e,t)=>{const n=t.children(e);let r=[...n];for(const s of n)T[s]=e,r=[...r,...R(s,t)];return r},b=(e,t)=>{i.trace("Searching",e);const n=t.children(e);if(i.trace("Searching children of id ",e,n),n.length<1)return i.trace("This is a valid node",e),e;for(const r of n){const s=b(r,t);if(s)return i.trace("Found replacement for",e," => ",s),s}},m=e=>!f[e]||!f[e].externalConnections?e:f[e]?f[e].id:e,nt=(e,t)=>{if(!e||t>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(i.warn("Cluster identified",n," Replacement id in edges: ",b(n,e)),x[n]=R(n,e),f[n]={id:b(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const r=e.children(n),s=e.edges();r.length>0?(i.debug("Cluster identified",n,x),s.forEach(a=>{if(a.v!==n&&a.w!==n){const h=S(a.v,n),l=S(a.w,n);h^l&&(i.warn("Edge: ",a," leaves cluster ",n),i.warn("Decendants of XXX ",n,": ",x[n]),f[n].externalConnections=!0)}})):i.debug("Not a cluster ",n,x)}),e.edges().forEach(function(n){const r=e.edge(n);i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let s=n.v,a=n.w;if(i.warn("Fix XXX",f,"ids:",n.v,n.w,"Translating: ",f[n.v]," --- ",f[n.w]),f[n.v]&&f[n.w]&&f[n.v]===f[n.w]){i.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),i.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),s=m(n.v),a=m(n.w),e.removeEdge(n.v,n.w,n.name);const h=n.w+"---"+n.v;e.setNode(h,{domId:h,id:h,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const l=JSON.parse(JSON.stringify(r)),d=JSON.parse(JSON.stringify(r));l.label="",l.arrowTypeEnd="none",d.label="",l.fromCluster=n.v,d.toCluster=n.v,e.setEdge(s,h,l,n.name+"-cyclic-special"),e.setEdge(h,a,d,n.name+"-cyclic-special")}else(f[n.v]||f[n.w])&&(i.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),s=m(n.v),a=m(n.w),e.removeEdge(n.v,n.w,n.name),s!==n.v&&(r.fromCluster=n.v),a!==n.w&&(r.toCluster=n.w),i.warn("Fix Replacing with XXX",s,a,n.name),e.setEdge(s,a,r,n.name))}),i.warn("Adjusted Graph",v(e)),p(e,0),i.trace(f)},p=(e,t)=>{if(i.warn("extractor - ",t,v(e),e.children("D")),t>10){i.error("Bailing out");return}let n=e.nodes(),r=!1;for(const s of n){const a=e.children(s);r=r||a.length>0}if(!r){i.debug("Done, no node has children",e.nodes());return}i.debug("Nodes = ",n,t);for(const s of n)if(i.debug("Extracting node",s,f,f[s]&&!f[s].externalConnections,!e.parent(s),e.node(s),e.children("D")," Depth ",t),!f[s])i.debug("Not a cluster",s,t);else if(!f[s].externalConnections&&e.children(s)&&e.children(s).length>0){i.warn("Cluster without external connections, without a parent and with children",s,t);let h=e.graph().rankdir==="TB"?"LR":"TB";f[s]&&f[s].clusterData&&f[s].clusterData.dir&&(h=f[s].clusterData.dir,i.warn("Fixing dir",f[s].clusterData.dir,h));const l=new G({multigraph:!0,compound:!0}).setGraph({rankdir:h,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.warn("Old graph before copy",v(e)),J(s,e,l,s),e.setNode(s,{clusterNode:!0,id:s,clusterData:f[s].clusterData,labelText:f[s].labelText,graph:l}),i.warn("New graph after copy node: (",s,")",v(l)),i.debug("Old graph after copy",v(e))}else i.warn("Cluster ** ",s," **not meeting the criteria !externalConnections:",!f[s].externalConnections," no parent: ",!e.parent(s)," children ",e.children(s)&&e.children(s).length>0,e.children("D"),t),i.debug(f);n=e.nodes(),i.warn("New list of nodes",n);for(const s of n){const a=e.node(s);i.warn(" Now next level",s,a),a.clusterNode&&p(a.graph,t+1)}},P=(e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(r=>{const s=e.children(r),a=P(e,s);n=[...n,...a]}),n},it=e=>P(e,e.children()),st=(e,t)=>{i.info("Creating subgraph rect for ",t.id,t);const n=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),r=n.insert("rect",":first-child"),s=N(E().flowchart.htmlLabels),a=n.insert("g").attr("class","cluster-label"),h=t.labelType==="markdown"?z(a,t.labelText,{style:t.labelStyle,useHtmlLabels:s}):a.node().appendChild(O(t.labelText,t.labelStyle,void 0,!0));let l=h.getBBox();if(N(E().flowchart.htmlLabels)){const o=h.children[0],u=L(h);l=o.getBoundingClientRect(),u.attr("width",l.width),u.attr("height",l.height)}const d=0*t.padding,w=d/2,g=t.width<=l.width+d?l.width+d:t.width;t.width<=l.width+d?t.diff=(l.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,i.trace("Data ",t,JSON.stringify(t)),r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-g/2).attr("y",t.y-t.height/2-w).attr("width",g).attr("height",t.height+d),s?a.attr("transform","translate("+(t.x-l.width/2)+", "+(t.y-t.height/2)+")"):a.attr("transform","translate("+t.x+", "+(t.y-t.height/2)+")");const c=r.node().getBBox();return t.width=c.width,t.height=c.height,t.intersect=function(o){return X(t,o)},n},rt=(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),s=0*t.padding,a=s/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+s).attr("height",t.height+s).attr("fill","none");const h=r.node().getBBox();return t.width=h.width,t.height=h.height,t.intersect=function(l){return X(t,l)},n},at=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),s=n.insert("g").attr("class","cluster-label"),a=n.append("rect"),h=s.node().appendChild(O(t.labelText,t.labelStyle,void 0,!0));let l=h.getBBox();if(N(E().flowchart.htmlLabels)){const o=h.children[0],u=L(h);l=o.getBoundingClientRect(),u.attr("width",l.width),u.attr("height",l.height)}l=h.getBBox();const d=0*t.padding,w=d/2,g=t.width<=l.width+t.padding?l.width+t.padding:t.width;t.width<=l.width+t.padding?t.diff=(l.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,r.attr("class","outer").attr("x",t.x-g/2-w).attr("y",t.y-t.height/2-w).attr("width",g+d).attr("height",t.height+d),a.attr("class","inner").attr("x",t.x-g/2-w).attr("y",t.y-t.height/2-w+l.height-1).attr("width",g+d).attr("height",t.height+d-l.height-3),s.attr("transform","translate("+(t.x-l.width/2)+", "+(t.y-t.height/2-t.padding/3+(N(E().flowchart.htmlLabels)?5:3))+")");const c=r.node().getBBox();return t.height=c.height,t.intersect=function(o){return X(t,o)},n},ct=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),s=0*t.padding,a=s/2;r.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+s).attr("height",t.height+s);const h=r.node().getBBox();return t.width=h.width,t.height=h.height,t.diff=-t.padding/2,t.intersect=function(l){return X(t,l)},n},ot={rect:st,roundedWithTitle:at,noteGroup:rt,divider:ct};let F={};const lt=(e,t)=>{i.trace("Inserting cluster");const n=t.shape||"rect";F[t.id]=ot[n](e,t)},ft=()=>{F={}},k=(e,t,n,r)=>{i.info("Graph in recursive render: XXX",v(t),r);const s=t.graph().rankdir;i.trace("Dir in recursive render - dir:",s);const a=e.insert("g").attr("class","root");t.nodes()?i.info("Recursive render XXX",t.nodes()):i.info("No nodes found for",t),t.edges().length>0&&i.trace("Recursive edges",t.edge(t.edges()[0]));const h=a.insert("g").attr("class","clusters"),l=a.insert("g").attr("class","edgePaths"),d=a.insert("g").attr("class","edgeLabels"),w=a.insert("g").attr("class","nodes");t.nodes().forEach(function(c){const o=t.node(c);if(r!==void 0){const u=JSON.parse(JSON.stringify(r.clusterData));i.info("Setting data for cluster XXX (",c,") ",u,r),t.setNode(r.id,u),t.parent(c)||(i.trace("Setting parent",c,r.id),t.setParent(c,r.id,u))}if(i.info("(Insert) Node XXX"+c+": "+JSON.stringify(t.node(c))),o&&o.clusterNode){i.info("Cluster identified",c,o.width,t.node(c));const u=k(w,o.graph,n,t.node(c)),C=u.elem;M(o,C),o.diff=u.diff||0,i.info("Node bounds (abc123)",c,o,o.width,o.x,o.y),_(C,o),i.warn("Recursive render complete ",C,o)}else t.children(c).length>0?(i.info("Cluster - the non recursive path XXX",c,o.id,o,t),i.info(b(o.id,t)),f[o.id]={id:b(o.id,t),node:o}):(i.info("Node - the non recursive path",c,o.id,o),H(w,t.node(c),s))}),t.edges().forEach(function(c){const o=t.edge(c.v,c.w,c.name);i.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c)),i.info("Edge "+c.v+" -> "+c.w+": ",c," ",JSON.stringify(t.edge(c))),i.info("Fix",f,"ids:",c.v,c.w,"Translateing: ",f[c.v],f[c.w]),V(d,o)}),t.edges().forEach(function(c){i.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c))}),i.info("#############################################"),i.info("### Layout ###"),i.info("#############################################"),i.info(t),j(t),i.info("Graph after layout:",v(t));let g=0;return it(t).forEach(function(c){const o=t.node(c);i.info("Position "+c+": "+JSON.stringify(t.node(c))),i.info("Position "+c+": ("+o.x,","+o.y,") width: ",o.width," height: ",o.height),o&&o.clusterNode?B(o):t.children(c).length>0?(lt(h,o),f[o.id].node=o):B(o)}),t.edges().forEach(function(c){const o=t.edge(c);i.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(o),o);const u=q(l,c,o,f,n,t);U(o,u)}),t.nodes().forEach(function(c){const o=t.node(c);i.info(c,o.type,o.diff),o.type==="group"&&(g=o.diff)}),{elem:a,diff:g}},gt=(e,t,n,r,s)=>{A(e,n,r,s),W(),Y(),ft(),tt(),i.warn("Graph at first:",v(t)),nt(t),i.warn("Graph after:",v(t)),k(e,t,r)};export{gt as r}; +import{b as $,a as y,m as D,G,l as j}from"./layout-2d03da6d.js";import{i as A,u as M,s as _,a as H,b as V,p as B,c as q,d as U,e as W,f as Y,g as O,h as X}from"./edges-2e77835f-a16bcc0b.js";import{l as i,q as N,c as E,h as L}from"./mermaid.core-5f04c634.js";import{c as z}from"./createText-1f5f8f92-c2c40041.js";var K=4;function Q(e){return $(e,K)}function v(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:Z(e),edges:I(e)};return y(e.graph())||(t.value=Q(e.graph())),t}function Z(e){return D(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),s={v:t};return y(n)||(s.value=n),y(r)||(s.parent=r),s})}function I(e){return D(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return y(t.name)||(r.name=t.name),y(n)||(r.value=n),r})}let f={},x={},T={};const tt=()=>{x={},T={},f={}},S=(e,t)=>(i.trace("In isDecendant",t," ",e," = ",x[t].includes(e)),!!x[t].includes(e)),et=(e,t)=>(i.info("Decendants of ",t," is ",x[t]),i.info("Edge is ",e),e.v===t||e.w===t?!1:x[t]?x[t].includes(e.v)||S(e.v,t)||S(e.w,t)||x[t].includes(e.w):(i.debug("Tilt, ",t,",not in decendants"),!1)),J=(e,t,n,r)=>{i.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const s=t.children(e)||[];e!==r&&s.push(e),i.warn("Copying (nodes) clusterId",e,"nodes",s),s.forEach(a=>{if(t.children(a).length>0)J(a,t,n,r);else{const h=t.node(a);i.info("cp ",a," to ",r," with parent ",e),n.setNode(a,h),r!==t.parent(a)&&(i.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==r&&a!==e?(i.debug("Setting parent",a,e),n.setParent(a,e)):(i.info("In copy ",e,"root",r,"data",t.node(e),r),i.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==r,"node!==clusterId",a!==e));const l=t.edges(a);i.debug("Copying Edges",l),l.forEach(d=>{i.info("Edge",d);const w=t.edge(d.v,d.w,d.name);i.info("Edge data",w,r);try{et(d,r)?(i.info("Copying as ",d.v,d.w,w,d.name),n.setEdge(d.v,d.w,w,d.name),i.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):i.info("Skipping copy of edge ",d.v,"-->",d.w," rootId: ",r," clusterId:",e)}catch(g){i.error(g)}})}i.debug("Removing node",a),t.removeNode(a)})},R=(e,t)=>{const n=t.children(e);let r=[...n];for(const s of n)T[s]=e,r=[...r,...R(s,t)];return r},b=(e,t)=>{i.trace("Searching",e);const n=t.children(e);if(i.trace("Searching children of id ",e,n),n.length<1)return i.trace("This is a valid node",e),e;for(const r of n){const s=b(r,t);if(s)return i.trace("Found replacement for",e," => ",s),s}},m=e=>!f[e]||!f[e].externalConnections?e:f[e]?f[e].id:e,nt=(e,t)=>{if(!e||t>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(i.warn("Cluster identified",n," Replacement id in edges: ",b(n,e)),x[n]=R(n,e),f[n]={id:b(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const r=e.children(n),s=e.edges();r.length>0?(i.debug("Cluster identified",n,x),s.forEach(a=>{if(a.v!==n&&a.w!==n){const h=S(a.v,n),l=S(a.w,n);h^l&&(i.warn("Edge: ",a," leaves cluster ",n),i.warn("Decendants of XXX ",n,": ",x[n]),f[n].externalConnections=!0)}})):i.debug("Not a cluster ",n,x)}),e.edges().forEach(function(n){const r=e.edge(n);i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let s=n.v,a=n.w;if(i.warn("Fix XXX",f,"ids:",n.v,n.w,"Translating: ",f[n.v]," --- ",f[n.w]),f[n.v]&&f[n.w]&&f[n.v]===f[n.w]){i.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),i.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),s=m(n.v),a=m(n.w),e.removeEdge(n.v,n.w,n.name);const h=n.w+"---"+n.v;e.setNode(h,{domId:h,id:h,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const l=JSON.parse(JSON.stringify(r)),d=JSON.parse(JSON.stringify(r));l.label="",l.arrowTypeEnd="none",d.label="",l.fromCluster=n.v,d.toCluster=n.v,e.setEdge(s,h,l,n.name+"-cyclic-special"),e.setEdge(h,a,d,n.name+"-cyclic-special")}else(f[n.v]||f[n.w])&&(i.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),s=m(n.v),a=m(n.w),e.removeEdge(n.v,n.w,n.name),s!==n.v&&(r.fromCluster=n.v),a!==n.w&&(r.toCluster=n.w),i.warn("Fix Replacing with XXX",s,a,n.name),e.setEdge(s,a,r,n.name))}),i.warn("Adjusted Graph",v(e)),p(e,0),i.trace(f)},p=(e,t)=>{if(i.warn("extractor - ",t,v(e),e.children("D")),t>10){i.error("Bailing out");return}let n=e.nodes(),r=!1;for(const s of n){const a=e.children(s);r=r||a.length>0}if(!r){i.debug("Done, no node has children",e.nodes());return}i.debug("Nodes = ",n,t);for(const s of n)if(i.debug("Extracting node",s,f,f[s]&&!f[s].externalConnections,!e.parent(s),e.node(s),e.children("D")," Depth ",t),!f[s])i.debug("Not a cluster",s,t);else if(!f[s].externalConnections&&e.children(s)&&e.children(s).length>0){i.warn("Cluster without external connections, without a parent and with children",s,t);let h=e.graph().rankdir==="TB"?"LR":"TB";f[s]&&f[s].clusterData&&f[s].clusterData.dir&&(h=f[s].clusterData.dir,i.warn("Fixing dir",f[s].clusterData.dir,h));const l=new G({multigraph:!0,compound:!0}).setGraph({rankdir:h,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.warn("Old graph before copy",v(e)),J(s,e,l,s),e.setNode(s,{clusterNode:!0,id:s,clusterData:f[s].clusterData,labelText:f[s].labelText,graph:l}),i.warn("New graph after copy node: (",s,")",v(l)),i.debug("Old graph after copy",v(e))}else i.warn("Cluster ** ",s," **not meeting the criteria !externalConnections:",!f[s].externalConnections," no parent: ",!e.parent(s)," children ",e.children(s)&&e.children(s).length>0,e.children("D"),t),i.debug(f);n=e.nodes(),i.warn("New list of nodes",n);for(const s of n){const a=e.node(s);i.warn(" Now next level",s,a),a.clusterNode&&p(a.graph,t+1)}},P=(e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(r=>{const s=e.children(r),a=P(e,s);n=[...n,...a]}),n},it=e=>P(e,e.children()),st=(e,t)=>{i.info("Creating subgraph rect for ",t.id,t);const n=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),r=n.insert("rect",":first-child"),s=N(E().flowchart.htmlLabels),a=n.insert("g").attr("class","cluster-label"),h=t.labelType==="markdown"?z(a,t.labelText,{style:t.labelStyle,useHtmlLabels:s}):a.node().appendChild(O(t.labelText,t.labelStyle,void 0,!0));let l=h.getBBox();if(N(E().flowchart.htmlLabels)){const o=h.children[0],u=L(h);l=o.getBoundingClientRect(),u.attr("width",l.width),u.attr("height",l.height)}const d=0*t.padding,w=d/2,g=t.width<=l.width+d?l.width+d:t.width;t.width<=l.width+d?t.diff=(l.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,i.trace("Data ",t,JSON.stringify(t)),r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-g/2).attr("y",t.y-t.height/2-w).attr("width",g).attr("height",t.height+d),s?a.attr("transform","translate("+(t.x-l.width/2)+", "+(t.y-t.height/2)+")"):a.attr("transform","translate("+t.x+", "+(t.y-t.height/2)+")");const c=r.node().getBBox();return t.width=c.width,t.height=c.height,t.intersect=function(o){return X(t,o)},n},rt=(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),s=0*t.padding,a=s/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+s).attr("height",t.height+s).attr("fill","none");const h=r.node().getBBox();return t.width=h.width,t.height=h.height,t.intersect=function(l){return X(t,l)},n},at=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),s=n.insert("g").attr("class","cluster-label"),a=n.append("rect"),h=s.node().appendChild(O(t.labelText,t.labelStyle,void 0,!0));let l=h.getBBox();if(N(E().flowchart.htmlLabels)){const o=h.children[0],u=L(h);l=o.getBoundingClientRect(),u.attr("width",l.width),u.attr("height",l.height)}l=h.getBBox();const d=0*t.padding,w=d/2,g=t.width<=l.width+t.padding?l.width+t.padding:t.width;t.width<=l.width+t.padding?t.diff=(l.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,r.attr("class","outer").attr("x",t.x-g/2-w).attr("y",t.y-t.height/2-w).attr("width",g+d).attr("height",t.height+d),a.attr("class","inner").attr("x",t.x-g/2-w).attr("y",t.y-t.height/2-w+l.height-1).attr("width",g+d).attr("height",t.height+d-l.height-3),s.attr("transform","translate("+(t.x-l.width/2)+", "+(t.y-t.height/2-t.padding/3+(N(E().flowchart.htmlLabels)?5:3))+")");const c=r.node().getBBox();return t.height=c.height,t.intersect=function(o){return X(t,o)},n},ct=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),s=0*t.padding,a=s/2;r.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+s).attr("height",t.height+s);const h=r.node().getBBox();return t.width=h.width,t.height=h.height,t.diff=-t.padding/2,t.intersect=function(l){return X(t,l)},n},ot={rect:st,roundedWithTitle:at,noteGroup:rt,divider:ct};let F={};const lt=(e,t)=>{i.trace("Inserting cluster");const n=t.shape||"rect";F[t.id]=ot[n](e,t)},ft=()=>{F={}},k=(e,t,n,r)=>{i.info("Graph in recursive render: XXX",v(t),r);const s=t.graph().rankdir;i.trace("Dir in recursive render - dir:",s);const a=e.insert("g").attr("class","root");t.nodes()?i.info("Recursive render XXX",t.nodes()):i.info("No nodes found for",t),t.edges().length>0&&i.trace("Recursive edges",t.edge(t.edges()[0]));const h=a.insert("g").attr("class","clusters"),l=a.insert("g").attr("class","edgePaths"),d=a.insert("g").attr("class","edgeLabels"),w=a.insert("g").attr("class","nodes");t.nodes().forEach(function(c){const o=t.node(c);if(r!==void 0){const u=JSON.parse(JSON.stringify(r.clusterData));i.info("Setting data for cluster XXX (",c,") ",u,r),t.setNode(r.id,u),t.parent(c)||(i.trace("Setting parent",c,r.id),t.setParent(c,r.id,u))}if(i.info("(Insert) Node XXX"+c+": "+JSON.stringify(t.node(c))),o&&o.clusterNode){i.info("Cluster identified",c,o.width,t.node(c));const u=k(w,o.graph,n,t.node(c)),C=u.elem;M(o,C),o.diff=u.diff||0,i.info("Node bounds (abc123)",c,o,o.width,o.x,o.y),_(C,o),i.warn("Recursive render complete ",C,o)}else t.children(c).length>0?(i.info("Cluster - the non recursive path XXX",c,o.id,o,t),i.info(b(o.id,t)),f[o.id]={id:b(o.id,t),node:o}):(i.info("Node - the non recursive path",c,o.id,o),H(w,t.node(c),s))}),t.edges().forEach(function(c){const o=t.edge(c.v,c.w,c.name);i.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c)),i.info("Edge "+c.v+" -> "+c.w+": ",c," ",JSON.stringify(t.edge(c))),i.info("Fix",f,"ids:",c.v,c.w,"Translateing: ",f[c.v],f[c.w]),V(d,o)}),t.edges().forEach(function(c){i.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c))}),i.info("#############################################"),i.info("### Layout ###"),i.info("#############################################"),i.info(t),j(t),i.info("Graph after layout:",v(t));let g=0;return it(t).forEach(function(c){const o=t.node(c);i.info("Position "+c+": "+JSON.stringify(t.node(c))),i.info("Position "+c+": ("+o.x,","+o.y,") width: ",o.width," height: ",o.height),o&&o.clusterNode?B(o):t.children(c).length>0?(lt(h,o),f[o.id].node=o):B(o)}),t.edges().forEach(function(c){const o=t.edge(c);i.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(o),o);const u=q(l,c,o,f,n,t);U(o,u)}),t.nodes().forEach(function(c){const o=t.node(c);i.info(c,o.type,o.diff),o.type==="group"&&(g=o.diff)}),{elem:a,diff:g}},gt=(e,t,n,r,s)=>{A(e,n,r,s),W(),Y(),ft(),tt(),i.warn("Graph at first:",v(t)),nt(t),i.warn("Graph after:",v(t)),k(e,t,r)};export{gt as r}; diff --git a/docs/.vuepress/dist/assets/index.html-3e1a59e8.js b/docs/.vuepress/dist/assets/index.html-3e1a59e8.js deleted file mode 100644 index 5adf276..0000000 --- a/docs/.vuepress/dist/assets/index.html-3e1a59e8.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-8daa1a0e","path":"/","title":"","lang":"en-US","frontmatter":{"home":true,"redirectTo":"/zh/","description":"","head":[["script",{},"{const anchor = window.location.hash.substring(1);location.href=`//zh/${anchor? `#${anchor}`: \\"\\"}`;}"],["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://docs.crawlab.cn/zh/"}],["meta",{"property":"og:url","content":"https://docs.crawlab.cn/"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2022-10-23T08:22:30.000Z"}],["meta",{"property":"article:author","content":"Marvin Zhang"}],["meta",{"property":"article:modified_time","content":"2022-10-23T08:22:30.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\"}"]]},"headers":[],"git":{"createdTime":1635992715000,"updatedTime":1666513350000,"contributors":[{"name":"Marvin Zhang","email":"tikazyq@163.com","commits":6}]},"readingTime":{"minutes":0.01,"words":4},"filePathRelative":"README.md","localizedDate":"November 4, 2021","autoDesc":true}');export{e as data}; diff --git a/docs/.vuepress/dist/assets/index.html-7b6d6050.js b/docs/.vuepress/dist/assets/index.html-7b6d6050.js new file mode 100644 index 0000000..64e2dda --- /dev/null +++ b/docs/.vuepress/dist/assets/index.html-7b6d6050.js @@ -0,0 +1 @@ +const t=JSON.parse('{"key":"v-8daa1a0e","path":"/","title":"","lang":"en-US","frontmatter":{"home":true,"redirectTo":"https://docs.crawlab.cn/zh/","description":"","head":[["script",{},"{const anchor = window.location.hash.substring(1);location.href=`https://docs.crawlab.cn/zh/${anchor? `#${anchor}`: \\"\\"}`;}"],["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://docs.crawlab.cn/zh/"}],["meta",{"property":"og:url","content":"https://docs.crawlab.cn/"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2022-10-23T08:22:30.000Z"}],["meta",{"property":"article:author","content":"Marvin Zhang"}],["meta",{"property":"article:modified_time","content":"2022-10-23T08:22:30.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\"}"]]},"headers":[],"git":{"createdTime":1635992715000,"updatedTime":1666513350000,"contributors":[{"name":"Marvin Zhang","email":"tikazyq@163.com","commits":6}]},"readingTime":{"minutes":0.02,"words":5},"filePathRelative":"README.md","localizedDate":"November 4, 2021","autoDesc":true}');export{t as data}; diff --git a/docs/.vuepress/dist/assets/index.html-9eda2933.js b/docs/.vuepress/dist/assets/index.html-9eda2933.js new file mode 100644 index 0000000..a72249d --- /dev/null +++ b/docs/.vuepress/dist/assets/index.html-9eda2933.js @@ -0,0 +1 @@ +const t=JSON.parse('{"key":"v-2d0ad528","path":"/zh/","title":"","lang":"zh-CN","frontmatter":{"home":true,"redirectTo":"https://docs.crawlab.cn/zh/guide/","description":"","head":[["script",{},"{const anchor = window.location.hash.substring(1);location.href=`https://docs.crawlab.cn/zh/guide/${anchor? `#${anchor}`: \\"\\"}`;}"],["link",{"rel":"alternate","hreflang":"en-us","href":"https://docs.crawlab.cn/en/"}],["meta",{"property":"og:url","content":"https://docs.crawlab.cn/zh/"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2022-10-23T08:22:30.000Z"}],["meta",{"property":"article:author","content":"Marvin Zhang"}],["meta",{"property":"article:modified_time","content":"2022-10-23T08:22:30.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\"}"]]},"headers":[],"git":{"createdTime":1636194244000,"updatedTime":1666513350000,"contributors":[{"name":"Marvin Zhang","email":"tikazyq@163.com","commits":6}]},"readingTime":{"minutes":0.02,"words":5},"filePathRelative":"zh/README.md","localizedDate":"2021年11月6日","autoDesc":true}');export{t as data}; diff --git a/docs/.vuepress/dist/assets/index.html-b81a5729.js b/docs/.vuepress/dist/assets/index.html-b81a5729.js deleted file mode 100644 index d0837f3..0000000 --- a/docs/.vuepress/dist/assets/index.html-b81a5729.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-2d0ad528","path":"/zh/","title":"","lang":"zh-CN","frontmatter":{"home":true,"redirectTo":"/zh/guide/","description":"","head":[["script",{},"{const anchor = window.location.hash.substring(1);location.href=`//zh/guide/${anchor? `#${anchor}`: \\"\\"}`;}"],["link",{"rel":"alternate","hreflang":"en-us","href":"https://docs.crawlab.cn/en/"}],["meta",{"property":"og:url","content":"https://docs.crawlab.cn/zh/"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2022-10-23T08:22:30.000Z"}],["meta",{"property":"article:author","content":"Marvin Zhang"}],["meta",{"property":"article:modified_time","content":"2022-10-23T08:22:30.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\"}"]]},"headers":[],"git":{"createdTime":1636194244000,"updatedTime":1666513350000,"contributors":[{"name":"Marvin Zhang","email":"tikazyq@163.com","commits":6}]},"readingTime":{"minutes":0.01,"words":4},"filePathRelative":"zh/README.md","localizedDate":"2021年11月6日","autoDesc":true}');export{e as data}; diff --git a/docs/.vuepress/dist/assets/infoDiagram-69ec1a58-9150b63d.js b/docs/.vuepress/dist/assets/infoDiagram-69ec1a58-f6199cae.js similarity index 98% rename from docs/.vuepress/dist/assets/infoDiagram-69ec1a58-9150b63d.js rename to docs/.vuepress/dist/assets/infoDiagram-69ec1a58-f6199cae.js index ca5b54b..5dcb896 100644 --- a/docs/.vuepress/dist/assets/infoDiagram-69ec1a58-9150b63d.js +++ b/docs/.vuepress/dist/assets/infoDiagram-69ec1a58-f6199cae.js @@ -1,4 +1,4 @@ -import{z as C,l as E,c as D,h as P}from"./mermaid.core-00b8b54a.js";import"./commonjsHelpers-725317a4.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";var L=function(){var h=function(c,t,e,n){for(e=e||{},n=c.length;n--;e[c[n]]=t);return e},f=[6,9,10],x={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,s,r,i,k){switch(i.length-1,r){case 1:return s;case 4:break;case 6:s.setInfo(!0);break}},table:[{3:1,4:[1,2]},{1:[3]},h(f,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},h(f,[2,3]),h(f,[2,4]),h(f,[2,5]),h(f,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=e,n}},parse:function(t){var e=this,n=[0],s=[],r=[null],i=[],k=this.table,$="",b=0,T=0,z=2,R=1,M=i.slice.call(arguments,1),o=Object.create(this.lexer),p={yy:{}};for(var w in this.yy)Object.prototype.hasOwnProperty.call(this.yy,w)&&(p.yy[w]=this.yy[w]);o.setInput(t,p.yy),p.yy.lexer=o,p.yy.parser=this,typeof o.yylloc>"u"&&(o.yylloc={});var I=o.yylloc;i.push(I);var Y=o.options&&o.options.ranges;typeof p.yy.parseError=="function"?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function U(){var u;return u=s.pop()||o.lex()||R,typeof u!="number"&&(u instanceof Array&&(s=u,u=s.pop()),u=e.symbols_[u]||u),u}for(var l,g,a,A,d={},v,y,j,S;;){if(g=n[n.length-1],this.defaultActions[g]?a=this.defaultActions[g]:((l===null||typeof l>"u")&&(l=U()),a=k[g]&&k[g][l]),typeof a>"u"||!a.length||!a[0]){var O="";S=[];for(v in k[g])this.terminals_[v]&&v>z&&S.push("'"+this.terminals_[v]+"'");o.showPosition?O="Parse error on line "+(b+1)+`: +import{z as C,l as E,c as D,h as P}from"./mermaid.core-5f04c634.js";import"./commonjsHelpers-725317a4.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";var L=function(){var h=function(c,t,e,n){for(e=e||{},n=c.length;n--;e[c[n]]=t);return e},f=[6,9,10],x={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,s,r,i,k){switch(i.length-1,r){case 1:return s;case 4:break;case 6:s.setInfo(!0);break}},table:[{3:1,4:[1,2]},{1:[3]},h(f,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},h(f,[2,3]),h(f,[2,4]),h(f,[2,5]),h(f,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=e,n}},parse:function(t){var e=this,n=[0],s=[],r=[null],i=[],k=this.table,$="",b=0,T=0,z=2,R=1,M=i.slice.call(arguments,1),o=Object.create(this.lexer),p={yy:{}};for(var w in this.yy)Object.prototype.hasOwnProperty.call(this.yy,w)&&(p.yy[w]=this.yy[w]);o.setInput(t,p.yy),p.yy.lexer=o,p.yy.parser=this,typeof o.yylloc>"u"&&(o.yylloc={});var I=o.yylloc;i.push(I);var Y=o.options&&o.options.ranges;typeof p.yy.parseError=="function"?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function U(){var u;return u=s.pop()||o.lex()||R,typeof u!="number"&&(u instanceof Array&&(s=u,u=s.pop()),u=e.symbols_[u]||u),u}for(var l,g,a,A,d={},v,y,j,S;;){if(g=n[n.length-1],this.defaultActions[g]?a=this.defaultActions[g]:((l===null||typeof l>"u")&&(l=U()),a=k[g]&&k[g][l]),typeof a>"u"||!a.length||!a[0]){var O="";S=[];for(v in k[g])this.terminals_[v]&&v>z&&S.push("'"+this.terminals_[v]+"'");o.showPosition?O="Parse error on line "+(b+1)+`: `+o.showPosition()+` Expecting `+S.join(", ")+", got '"+(this.terminals_[l]||l)+"'":O="Parse error on line "+(b+1)+": Unexpected "+(l==R?"end of input":"'"+(this.terminals_[l]||l)+"'"),this.parseError(O,{text:o.match,token:this.terminals_[l]||l,line:o.yylineno,loc:I,expected:S})}if(a[0]instanceof Array&&a.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+l);switch(a[0]){case 1:n.push(l),r.push(o.yytext),i.push(o.yylloc),n.push(a[1]),l=null,T=o.yyleng,$=o.yytext,b=o.yylineno,I=o.yylloc;break;case 2:if(y=this.productions_[a[1]][1],d.$=r[r.length-y],d._$={first_line:i[i.length-(y||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(y||1)].first_column,last_column:i[i.length-1].last_column},Y&&(d._$.range=[i[i.length-(y||1)].range[0],i[i.length-1].range[1]]),A=this.performAction.apply(d,[$,T,b,p.yy,a[1],r,i].concat(M)),typeof A<"u")return A;y&&(n=n.slice(0,-1*y*2),r=r.slice(0,-1*y),i=i.slice(0,-1*y)),n.push(this.productions_[a[1]][0]),r.push(d.$),i.push(d._$),j=k[n[n.length-2]][n[n.length-1]],n.push(j);break;case 3:return!0}}return!0}},m=function(){var c={EOF:1,parseError:function(e,n){if(this.yy.parser)this.yy.parser.parseError(e,n);else throw new Error(e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=t.match(/(?:\r\n?|\n).*/g);return e?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+` diff --git a/docs/.vuepress/dist/assets/is_dark-f70fce0a.js b/docs/.vuepress/dist/assets/is_dark-900bd85c.js similarity index 75% rename from docs/.vuepress/dist/assets/is_dark-f70fce0a.js rename to docs/.vuepress/dist/assets/is_dark-900bd85c.js index 2a76584..539f419 100644 --- a/docs/.vuepress/dist/assets/is_dark-f70fce0a.js +++ b/docs/.vuepress/dist/assets/is_dark-900bd85c.js @@ -1 +1 @@ -import{aF as c,aG as a}from"./mermaid.core-00b8b54a.js";const e=n=>{const{r,g:t,b:o}=c.parse(n),s=.2126*a.channel.toLinear(r)+.7152*a.channel.toLinear(t)+.0722*a.channel.toLinear(o);return a.lang.round(s)},i=e,l=n=>i(n)>=.5,u=l,h=n=>!u(n),L=h;export{L as i}; +import{aF as c,aG as a}from"./mermaid.core-5f04c634.js";const e=n=>{const{r,g:t,b:o}=c.parse(n),s=.2126*a.channel.toLinear(r)+.7152*a.channel.toLinear(t)+.0722*a.channel.toLinear(o);return a.lang.round(s)},i=e,l=n=>i(n)>=.5,u=l,h=n=>!u(n),L=h;export{L as i}; diff --git a/docs/.vuepress/dist/assets/journeyDiagram-d38aa57d-9dee62e7.js b/docs/.vuepress/dist/assets/journeyDiagram-d38aa57d-cb544f54.js similarity index 99% rename from docs/.vuepress/dist/assets/journeyDiagram-d38aa57d-9dee62e7.js rename to docs/.vuepress/dist/assets/journeyDiagram-d38aa57d-cb544f54.js index 47defa1..5a4f264 100644 --- a/docs/.vuepress/dist/assets/journeyDiagram-d38aa57d-9dee62e7.js +++ b/docs/.vuepress/dist/assets/journeyDiagram-d38aa57d-cb544f54.js @@ -1,4 +1,4 @@ -import{c as V,v as gt,x as mt,s as xt,g as _t,b as kt,a as vt,m as bt,z as wt,h as Z,i as Tt}from"./mermaid.core-00b8b54a.js";import{a as st}from"./arc-9d129129.js";import"./commonjsHelpers-725317a4.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";import"./path-53f90ab3.js";var K=function(){var e=function(_,n,a,h){for(a=a||{},h=_.length;h--;a[_[h]]=n);return a},t=[1,2],i=[1,5],r=[6,9,11,17,18,20,22,23,24,26],s=[1,15],o=[1,16],l=[1,17],y=[1,18],u=[1,19],x=[1,20],g=[1,24],f=[4,6,9,11,17,18,20,22,23,24,26],p={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(n,a,h,d,m,c,R){var k=c.length-1;switch(m){case 1:return c[k-1];case 3:this.$=[];break;case 4:c[k-1].push(c[k]),this.$=c[k-1];break;case 5:case 6:this.$=c[k];break;case 7:case 8:this.$=[];break;case 11:d.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 12:this.$=c[k].trim(),d.setAccTitle(this.$);break;case 13:case 14:this.$=c[k].trim(),d.setAccDescription(this.$);break;case 15:d.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 16:d.addTask(c[k-1],c[k]),this.$="task";break;case 18:d.parseDirective("%%{","open_directive");break;case 19:d.parseDirective(c[k],"type_directive");break;case 20:c[k]=c[k].trim().replace(/'/g,'"'),d.parseDirective(c[k],"arg_directive");break;case 21:d.parseDirective("}%%","close_directive","journey");break}},table:[{3:1,4:t,7:3,12:4,26:i},{1:[3]},e(r,[2,3],{5:6}),{3:7,4:t,7:3,12:4,26:i},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},{1:[2,2]},{14:22,15:[1,23],29:g},e([15,29],[2,19]),e(r,[2,8],{1:[2,1]}),e(r,[2,4]),{7:21,10:25,12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},e(r,[2,6]),e(r,[2,7]),e(r,[2,11]),{19:[1,26]},{21:[1,27]},e(r,[2,14]),e(r,[2,15]),{25:[1,28]},e(r,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},e(r,[2,5]),e(r,[2,12]),e(r,[2,13]),e(r,[2,16]),e(f,[2,9]),{14:32,29:g},{29:[2,20]},{11:[1,33]},e(f,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(n,a){if(a.recoverable)this.trace(n);else{var h=new Error(n);throw h.hash=a,h}},parse:function(n){var a=this,h=[0],d=[],m=[null],c=[],R=this.table,k="",z=0,tt=0,yt=2,et=1,pt=c.slice.call(arguments,1),b=Object.create(this.lexer),I={yy:{}};for(var X in this.yy)Object.prototype.hasOwnProperty.call(this.yy,X)&&(I.yy[X]=this.yy[X]);b.setInput(n,I.yy),I.yy.lexer=b,I.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var G=b.yylloc;c.push(G);var dt=b.options&&b.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft(){var E;return E=d.pop()||b.lex()||et,typeof E!="number"&&(E instanceof Array&&(d=E,E=d.pop()),E=a.symbols_[E]||E),E}for(var w,A,M,H,F={},Y,$,it,q;;){if(A=h[h.length-1],this.defaultActions[A]?M=this.defaultActions[A]:((w===null||typeof w>"u")&&(w=ft()),M=R[A]&&R[A][w]),typeof M>"u"||!M.length||!M[0]){var U="";q=[];for(Y in R[A])this.terminals_[Y]&&Y>yt&&q.push("'"+this.terminals_[Y]+"'");b.showPosition?U="Parse error on line "+(z+1)+`: +import{c as V,v as gt,x as mt,s as xt,g as _t,b as kt,a as vt,m as bt,z as wt,h as Z,i as Tt}from"./mermaid.core-5f04c634.js";import{a as st}from"./arc-e99d9a62.js";import"./commonjsHelpers-725317a4.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";import"./path-53f90ab3.js";var K=function(){var e=function(_,n,a,h){for(a=a||{},h=_.length;h--;a[_[h]]=n);return a},t=[1,2],i=[1,5],r=[6,9,11,17,18,20,22,23,24,26],s=[1,15],o=[1,16],l=[1,17],y=[1,18],u=[1,19],x=[1,20],g=[1,24],f=[4,6,9,11,17,18,20,22,23,24,26],p={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(n,a,h,d,m,c,R){var k=c.length-1;switch(m){case 1:return c[k-1];case 3:this.$=[];break;case 4:c[k-1].push(c[k]),this.$=c[k-1];break;case 5:case 6:this.$=c[k];break;case 7:case 8:this.$=[];break;case 11:d.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 12:this.$=c[k].trim(),d.setAccTitle(this.$);break;case 13:case 14:this.$=c[k].trim(),d.setAccDescription(this.$);break;case 15:d.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 16:d.addTask(c[k-1],c[k]),this.$="task";break;case 18:d.parseDirective("%%{","open_directive");break;case 19:d.parseDirective(c[k],"type_directive");break;case 20:c[k]=c[k].trim().replace(/'/g,'"'),d.parseDirective(c[k],"arg_directive");break;case 21:d.parseDirective("}%%","close_directive","journey");break}},table:[{3:1,4:t,7:3,12:4,26:i},{1:[3]},e(r,[2,3],{5:6}),{3:7,4:t,7:3,12:4,26:i},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},{1:[2,2]},{14:22,15:[1,23],29:g},e([15,29],[2,19]),e(r,[2,8],{1:[2,1]}),e(r,[2,4]),{7:21,10:25,12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},e(r,[2,6]),e(r,[2,7]),e(r,[2,11]),{19:[1,26]},{21:[1,27]},e(r,[2,14]),e(r,[2,15]),{25:[1,28]},e(r,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},e(r,[2,5]),e(r,[2,12]),e(r,[2,13]),e(r,[2,16]),e(f,[2,9]),{14:32,29:g},{29:[2,20]},{11:[1,33]},e(f,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(n,a){if(a.recoverable)this.trace(n);else{var h=new Error(n);throw h.hash=a,h}},parse:function(n){var a=this,h=[0],d=[],m=[null],c=[],R=this.table,k="",z=0,tt=0,yt=2,et=1,pt=c.slice.call(arguments,1),b=Object.create(this.lexer),I={yy:{}};for(var X in this.yy)Object.prototype.hasOwnProperty.call(this.yy,X)&&(I.yy[X]=this.yy[X]);b.setInput(n,I.yy),I.yy.lexer=b,I.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var G=b.yylloc;c.push(G);var dt=b.options&&b.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft(){var E;return E=d.pop()||b.lex()||et,typeof E!="number"&&(E instanceof Array&&(d=E,E=d.pop()),E=a.symbols_[E]||E),E}for(var w,A,M,H,F={},Y,$,it,q;;){if(A=h[h.length-1],this.defaultActions[A]?M=this.defaultActions[A]:((w===null||typeof w>"u")&&(w=ft()),M=R[A]&&R[A][w]),typeof M>"u"||!M.length||!M[0]){var U="";q=[];for(Y in R[A])this.terminals_[Y]&&Y>yt&&q.push("'"+this.terminals_[Y]+"'");b.showPosition?U="Parse error on line "+(z+1)+`: `+b.showPosition()+` Expecting `+q.join(", ")+", got '"+(this.terminals_[w]||w)+"'":U="Parse error on line "+(z+1)+": Unexpected "+(w==et?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(U,{text:b.match,token:this.terminals_[w]||w,line:b.yylineno,loc:G,expected:q})}if(M[0]instanceof Array&&M.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+w);switch(M[0]){case 1:h.push(w),m.push(b.yytext),c.push(b.yylloc),h.push(M[1]),w=null,tt=b.yyleng,k=b.yytext,z=b.yylineno,G=b.yylloc;break;case 2:if($=this.productions_[M[1]][1],F.$=m[m.length-$],F._$={first_line:c[c.length-($||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-($||1)].first_column,last_column:c[c.length-1].last_column},dt&&(F._$.range=[c[c.length-($||1)].range[0],c[c.length-1].range[1]]),H=this.performAction.apply(F,[k,tt,z,I.yy,M[1],m,c].concat(pt)),typeof H<"u")return H;$&&(h=h.slice(0,-1*$*2),m=m.slice(0,-1*$),c=c.slice(0,-1*$)),h.push(this.productions_[M[1]][0]),m.push(F.$),c.push(F._$),it=R[h[h.length-2]][h[h.length-1]],h.push(it);break;case 3:return!0}}return!0}},T=function(){var _={EOF:1,parseError:function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},setInput:function(n,a){return this.yy=a||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var a=n.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var a=n.length,h=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1&&(this.yylineno-=h.length-1);var m=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===d.length?this.yylloc.first_column:0)+d[d.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),a=new Array(n.length+1).join("-");return n+this.upcomingInput()+` diff --git a/docs/.vuepress/dist/assets/layout-6fd5c641.js b/docs/.vuepress/dist/assets/layout-2d03da6d.js similarity index 99% rename from docs/.vuepress/dist/assets/layout-6fd5c641.js rename to docs/.vuepress/dist/assets/layout-2d03da6d.js index 6be3005..7b55d8f 100644 --- a/docs/.vuepress/dist/assets/layout-6fd5c641.js +++ b/docs/.vuepress/dist/assets/layout-2d03da6d.js @@ -1 +1 @@ -import{A as M,B as He,S as C,C as _,D as L,E as Fr,F as nn,G as D,H as X,I as Z,J as Un,K as Dr,L as ke,M as Gr,N as Br,O as Yn,P as Ur,Q as qe,R as Hn,T as V,U as cn,V as kn,W as Yr,X as Mn,Y as Ln,Z as se}from"./mermaid.core-00b8b54a.js";var Hr="[object Symbol]";function R(n){return typeof n=="symbol"||M(n)&&He(n)==Hr}function H(n,e){for(var r=-1,t=n==null?0:n.length,i=Array(t);++r0){if(++e>=at)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}function Y(n){return function(){return n}}var ft=function(){try{var n=Fr(Object,"defineProperty");return n({},"",{}),n}catch{}}();const ln=ft;var dt=ln?function(n,e){return ln(n,"toString",{configurable:!0,enumerable:!1,value:Y(e),writable:!0})}:G;const ct=dt;var lt=st(ct);const Xe=lt;function Ze(n,e){for(var r=-1,t=n==null?0:n.length;++r-1}var bt=9007199254740991,wt=/^(?:0|[1-9]\d*)$/;function pn(n,e){var r=typeof n;return e=e??bt,!!e&&(r=="number"||r!="symbol"&&wt.test(n))&&n>-1&&n%1==0&&n1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(a=n.length>3&&typeof a=="function"?(i--,a):void 0,o&&J(r[0],r[1],o)&&(a=i<3?void 0:a,i=1),e=Object(e);++t0&&r(u)?e>1?yn(u,e-1,r,t,i):Kn(i,u):t||(i[i.length]=u)}return i}function q(n){var e=n==null?0:n.length;return e?yn(n,1):[]}function Ut(n){return Xe(Je(n,void 0,q),n+"")}var Yt=Br(Object.getPrototypeOf,Object);const Wn=Yt;var Ht="[object Object]",kt=Function.prototype,qt=Object.prototype,je=kt.toString,Kt=qt.hasOwnProperty,Wt=je.call(Object);function Xt(n){if(!M(n)||He(n)!=Ht)return!1;var e=Wn(n);if(e===null)return!0;var r=Kt.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&je.call(r)==Wt}function Zt(n,e,r,t){var i=-1,a=n==null?0:n.length;for(t&&a&&(r=n[++i]);++iu))return!1;var f=a.get(n),d=a.get(e);if(f&&d)return f==e&&d==n;var l=-1,h=!0,g=r&Pa?new z:void 0;for(a.set(n,e),a.set(e,n);++l2?e[2]:void 0;for(i&&J(e[0],e[1],i)&&(t=1);++r-1?i[a?e[o]:o]:void 0}}var xo=Math.max;function To(n,e,r){var t=n==null?0:n.length;if(!t)return-1;var i=r==null?0:nt(r);return i<0&&(i=xo(t+i,0)),Ve(n,$(e),i)}var Oo=yo(To);const ne=Oo;function _r(n,e){var r=-1,t=D(n)?Array(n.length):[];return xn(n,function(i,a,o){t[++r]=e(i,a,o)}),t}function y(n,e){var r=_(n)?H:_r;return r(n,$(e))}function Lo(n,e){return n==null?n:zn(n,jn(e),B)}function Ao(n,e){return n&&Qn(n,jn(e))}function Po(n,e){return n>e}var No=Object.prototype,Co=No.hasOwnProperty;function $o(n,e){return n!=null&&Co.call(n,e)}function b(n,e){return n!=null&&gr(n,e,$o)}function Io(n,e){return H(e,function(r){return n[r]})}function N(n){return n==null?[]:Io(n,T(n))}function x(n){return n===void 0}function Er(n,e){return ne||a&&o&&s&&!u&&!f||t&&o&&s||!r&&s||!i)return 1;if(!t&&!a&&!f&&n=u)return s;var f=r[t];return s*(f=="desc"?-1:1)}}return n.index-e.index}function Bo(n,e,r){e.length?e=H(e,function(a){return _(a)?function(o){return En(o,a.length===1?a[0]:a)}:a}):e=[G];var t=-1;e=H(e,kn($));var i=_r(n,function(a,o,u){var s=H(e,function(f){return f(a)});return{criteria:s,index:++t,value:a}});return Fo(i,function(a,o){return Go(a,o,r)})}function Uo(n,e){return Ro(n,e,function(r,t){return pr(n,t)})}var Yo=Ut(function(n,e){return n==null?{}:Uo(n,e)});const gn=Yo;var Ho=Math.ceil,ko=Math.max;function qo(n,e,r,t){for(var i=-1,a=ko(Ho((e-n)/(r||1)),0),o=Array(a);a--;)o[t?a:++i]=n,n+=r;return o}function Ko(n){return function(e,r,t){return t&&typeof t!="number"&&J(e,r,t)&&(r=t=void 0),e=fn(e),r===void 0?(r=e,e=0):r=fn(r),t=t===void 0?e1&&J(n,e[0],e[1])?e=[]:r>2&&J(e[0],e[1],e[2])&&(e=[e[0]]),Bo(n,yn(e,1),[])});const an=Zo;var Vo=1/0,Jo=Ln&&1/Vn(new Ln([,-0]))[1]==Vo?function(n){return new Ln(n)}:it;const zo=Jo;var Qo=200;function jo(n,e,r){var t=-1,i=pt,a=n.length,o=!0,u=[],s=u;if(r)o=!1,i=_o;else if(a>=Qo){var f=e?null:zo(n);if(f)return Vn(f);o=!1,i=cr,s=new z}else s=e?[]:u;n:for(;++t1?i.setNode(a,r):i.setNode(a)}),this}setNode(e,r){return b(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=r),this):(this._nodes[e]=arguments.length>1?r:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=S,this._children[e]={},this._children[S][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return b(this._nodes,e)}removeNode(e){var r=this;if(b(this._nodes,e)){var t=function(i){r.removeEdge(r._edgeObjs[i])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],c(this.children(e),function(i){r.setParent(i)}),delete this._children[e]),c(T(this._in[e]),t),delete this._in[e],delete this._preds[e],c(T(this._out[e]),t),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,r){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(x(r))r=S;else{r+="";for(var t=r;!x(t);t=this.parent(t))if(t===e)throw new Error("Setting "+r+" as parent of "+e+" would create a cycle");this.setNode(r)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=r,this._children[r][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var r=this._parent[e];if(r!==S)return r}}children(e){if(x(e)&&(e=S),this._isCompound){var r=this._children[e];if(r)return T(r)}else{if(e===S)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var r=this._preds[e];if(r)return T(r)}successors(e){var r=this._sucs[e];if(r)return T(r)}neighbors(e){var r=this.predecessors(e);if(r)return eu(r,this.successors(e))}isLeaf(e){var r;return this.isDirected()?r=this.successors(e):r=this.neighbors(e),r.length===0}filterNodes(e){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var t=this;c(this._nodes,function(o,u){e(u)&&r.setNode(u,o)}),c(this._edgeObjs,function(o){r.hasNode(o.v)&&r.hasNode(o.w)&&r.setEdge(o,t.edge(o))});var i={};function a(o){var u=t.parent(o);return u===void 0||r.hasNode(u)?(i[o]=u,u):u in i?i[u]:a(u)}return this._isCompound&&c(r.nodes(),function(o){r.setParent(o,a(o))}),r}setDefaultEdgeLabel(e){return Mn(e)||(e=Y(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return N(this._edgeObjs)}setPath(e,r){var t=this,i=arguments;return tn(e,function(a,o){return i.length>1?t.setEdge(a,o,r):t.setEdge(a,o),o}),this}setEdge(){var e,r,t,i,a=!1,o=arguments[0];typeof o=="object"&&o!==null&&"v"in o?(e=o.v,r=o.w,t=o.name,arguments.length===2&&(i=arguments[1],a=!0)):(e=o,r=arguments[1],t=arguments[3],arguments.length>2&&(i=arguments[2],a=!0)),e=""+e,r=""+r,x(t)||(t=""+t);var u=W(this._isDirected,e,r,t);if(b(this._edgeLabels,u))return a&&(this._edgeLabels[u]=i),this;if(!x(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(r),this._edgeLabels[u]=a?i:this._defaultEdgeLabelFn(e,r,t);var s=ou(this._isDirected,e,r,t);return e=s.v,r=s.w,Object.freeze(s),this._edgeObjs[u]=s,Ce(this._preds[r],e),Ce(this._sucs[e],r),this._in[r][u]=s,this._out[e][u]=s,this._edgeCount++,this}edge(e,r,t){var i=arguments.length===1?Pn(this._isDirected,arguments[0]):W(this._isDirected,e,r,t);return this._edgeLabels[i]}hasEdge(e,r,t){var i=arguments.length===1?Pn(this._isDirected,arguments[0]):W(this._isDirected,e,r,t);return b(this._edgeLabels,i)}removeEdge(e,r,t){var i=arguments.length===1?Pn(this._isDirected,arguments[0]):W(this._isDirected,e,r,t),a=this._edgeObjs[i];return a&&(e=a.v,r=a.w,delete this._edgeLabels[i],delete this._edgeObjs[i],$e(this._preds[r],e),$e(this._sucs[e],r),delete this._in[r][i],delete this._out[e][i],this._edgeCount--),this}inEdges(e,r){var t=this._in[e];if(t){var i=N(t);return r?P(i,function(a){return a.v===r}):i}}outEdges(e,r){var t=this._out[e];if(t){var i=N(t);return r?P(i,function(a){return a.w===r}):i}}nodeEdges(e,r){var t=this.inEdges(e,r);if(t)return t.concat(this.outEdges(e,r))}}A.prototype._nodeCount=0;A.prototype._edgeCount=0;function Ce(n,e){n[e]?n[e]++:n[e]=1}function $e(n,e){--n[e]||delete n[e]}function W(n,e,r,t){var i=""+e,a=""+r;if(!n&&i>a){var o=i;i=a,a=o}return i+Ne+a+Ne+(x(t)?au:t)}function ou(n,e,r,t){var i=""+e,a=""+r;if(!n&&i>a){var o=i;i=a,a=o}var u={v:i,w:a};return t&&(u.name=t),u}function Pn(n,e){return W(n,e.v,e.w,e.name)}class uu{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,r=e._prev;if(r!==e)return Ie(r),r}enqueue(e){var r=this._sentinel;e._prev&&e._next&&Ie(e),e._next=r._next,r._next._prev=e,r._next=e,e._prev=r}toString(){for(var e=[],r=this._sentinel,t=r._prev;t!==r;)e.push(JSON.stringify(t,su)),t=t._prev;return"["+e.join(", ")+"]"}}function Ie(n){n._prev._next=n._next,n._next._prev=n._prev,delete n._next,delete n._prev}function su(n,e){if(n!=="_next"&&n!=="_prev")return e}var fu=Y(1);function du(n,e){if(n.nodeCount()<=1)return[];var r=lu(n,e||fu),t=cu(r.graph,r.buckets,r.zeroIdx);return q(y(t,function(i){return n.outEdges(i.v,i.w)}))}function cu(n,e,r){for(var t=[],i=e[e.length-1],a=e[0],o;n.nodeCount();){for(;o=a.dequeue();)Nn(n,e,r,o);for(;o=i.dequeue();)Nn(n,e,r,o);if(n.nodeCount()){for(var u=e.length-2;u>0;--u)if(o=e[u].dequeue(),o){t=t.concat(Nn(n,e,r,o,!0));break}}}return t}function Nn(n,e,r,t,i){var a=i?[]:void 0;return c(n.inEdges(t.v),function(o){var u=n.edge(o),s=n.node(o.v);i&&a.push({v:o.v,w:o.w}),s.out-=u,Bn(e,r,s)}),c(n.outEdges(t.v),function(o){var u=n.edge(o),s=o.w,f=n.node(s);f.in-=u,Bn(e,r,f)}),n.removeNode(t.v),a}function lu(n,e){var r=new A,t=0,i=0;c(n.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),c(n.edges(),function(u){var s=r.edge(u.v,u.w)||0,f=e(u),d=s+f;r.setEdge(u.v,u.w,d),i=Math.max(i,r.node(u.v).out+=f),t=Math.max(t,r.node(u.w).in+=f)});var a=k(i+t+3).map(function(){return new uu}),o=t+1;return c(r.nodes(),function(u){Bn(a,o,r.node(u))}),{graph:r,buckets:a,zeroIdx:o}}function Bn(n,e,r){r.out?r.in?n[r.out-r.in+e].enqueue(r):n[n.length-1].enqueue(r):n[0].enqueue(r)}function hu(n){var e=n.graph().acyclicer==="greedy"?du(n,r(n)):vu(n);c(e,function(t){var i=n.edge(t);n.removeEdge(t),i.forwardName=t.name,i.reversed=!0,n.setEdge(t.w,t.v,i,te("rev"))});function r(t){return function(i){return t.edge(i).weight}}}function vu(n){var e=[],r={},t={};function i(a){b(t,a)||(t[a]=!0,r[a]=!0,c(n.outEdges(a),function(o){b(r,o.w)?e.push(o):i(o.w)}),delete r[a])}return c(n.nodes(),i),e}function gu(n){c(n.edges(),function(e){var r=n.edge(e);if(r.reversed){n.removeEdge(e);var t=r.forwardName;delete r.reversed,delete r.forwardName,n.setEdge(e.w,e.v,r,t)}})}function K(n,e,r,t){var i;do i=te(t);while(n.hasNode(i));return r.dummy=e,n.setNode(i,r),i}function pu(n){var e=new A().setGraph(n.graph());return c(n.nodes(),function(r){e.setNode(r,n.node(r))}),c(n.edges(),function(r){var t=e.edge(r.v,r.w)||{weight:0,minlen:1},i=n.edge(r);e.setEdge(r.v,r.w,{weight:t.weight+i.weight,minlen:Math.max(t.minlen,i.minlen)})}),e}function yr(n){var e=new A({multigraph:n.isMultigraph()}).setGraph(n.graph());return c(n.nodes(),function(r){n.children(r).length||e.setNode(r,n.node(r))}),c(n.edges(),function(r){e.setEdge(r,n.edge(r))}),e}function Se(n,e){var r=n.x,t=n.y,i=e.x-r,a=e.y-t,o=n.width/2,u=n.height/2;if(!i&&!a)throw new Error("Not possible to find intersection inside of the rectangle");var s,f;return Math.abs(a)*o>Math.abs(i)*u?(a<0&&(u=-u),s=u*i/a,f=u):(i<0&&(o=-o),s=o,f=o*a/i),{x:r+s,y:t+f}}function On(n){var e=y(k(xr(n)+1),function(){return[]});return c(n.nodes(),function(r){var t=n.node(r),i=t.rank;x(i)||(e[i][t.order]=r)}),e}function bu(n){var e=Q(y(n.nodes(),function(r){return n.node(r).rank}));c(n.nodes(),function(r){var t=n.node(r);b(t,"rank")&&(t.rank-=e)})}function wu(n){var e=Q(y(n.nodes(),function(a){return n.node(a).rank})),r=[];c(n.nodes(),function(a){var o=n.node(a).rank-e;r[o]||(r[o]=[]),r[o].push(a)});var t=0,i=n.graph().nodeRankFactor;c(r,function(a,o){x(a)&&o%i!==0?--t:t&&c(a,function(u){n.node(u).rank+=t})})}function Me(n,e,r,t){var i={width:0,height:0};return arguments.length>=4&&(i.rank=r,i.order=t),K(n,"border",i,e)}function xr(n){return F(y(n.nodes(),function(e){var r=n.node(e).rank;if(!x(r))return r}))}function mu(n,e){var r={lhs:[],rhs:[]};return c(n,function(t){e(t)?r.lhs.push(t):r.rhs.push(t)}),r}function _u(n,e){var r=Pe();try{return e()}finally{console.log(n+" time: "+(Pe()-r)+"ms")}}function Eu(n,e){return e()}function yu(n){function e(r){var t=n.children(r),i=n.node(r);if(t.length&&c(t,e),b(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var a=i.minRank,o=i.maxRank+1;ao.lim&&(u=o,s=!0);var f=P(e.edges(),function(d){return s===De(n,n.node(d.v),u)&&s!==De(n,n.node(d.w),u)});return re(f,function(d){return j(e,d)})}function Ir(n,e,r,t){var i=r.v,a=r.w;n.removeEdge(i,a),n.setEdge(t.v,t.w,{}),oe(n),ae(n,e),Du(n,e)}function Du(n,e){var r=ne(n.nodes(),function(i){return!e.node(i).parent}),t=Ru(n,r);t=t.slice(1),c(t,function(i){var a=n.node(i).parent,o=e.edge(i,a),u=!1;o||(o=e.edge(a,i),u=!0),e.node(i).rank=e.node(a).rank+(u?o.minlen:-o.minlen)})}function Gu(n,e,r){return n.hasEdge(e,r)}function De(n,e,r){return r.low<=e.lim&&e.lim<=r.lim}function Bu(n){switch(n.graph().ranker){case"network-simplex":Ge(n);break;case"tight-tree":Yu(n);break;case"longest-path":Uu(n);break;default:Ge(n)}}var Uu=ie;function Yu(n){ie(n),Or(n)}function Ge(n){U(n)}function Hu(n){var e=K(n,"root",{},"_root"),r=ku(n),t=F(N(r))-1,i=2*t+1;n.graph().nestingRoot=e,c(n.edges(),function(o){n.edge(o).minlen*=i});var a=qu(n)+1;c(n.children(),function(o){Sr(n,e,i,a,t,r,o)}),n.graph().nodeRankFactor=i}function Sr(n,e,r,t,i,a,o){var u=n.children(o);if(!u.length){o!==e&&n.setEdge(e,o,{weight:0,minlen:r});return}var s=Me(n,"_bt"),f=Me(n,"_bb"),d=n.node(o);n.setParent(s,o),d.borderTop=s,n.setParent(f,o),d.borderBottom=f,c(u,function(l){Sr(n,e,r,t,i,a,l);var h=n.node(l),g=h.borderTop?h.borderTop:l,v=h.borderBottom?h.borderBottom:l,p=h.borderTop?t:2*t,m=g!==v?1:i-a[o]+1;n.setEdge(s,g,{weight:p,minlen:m,nestingEdge:!0}),n.setEdge(v,f,{weight:p,minlen:m,nestingEdge:!0})}),n.parent(o)||n.setEdge(e,s,{weight:0,minlen:i+a[o]})}function ku(n){var e={};function r(t,i){var a=n.children(t);a&&a.length&&c(a,function(o){r(o,i+1)}),e[t]=i}return c(n.children(),function(t){r(t,1)}),e}function qu(n){return tn(n.edges(),function(e,r){return e+n.edge(r).weight},0)}function Ku(n){var e=n.graph();n.removeNode(e.nestingRoot),delete e.nestingRoot,c(n.edges(),function(r){var t=n.edge(r);t.nestingEdge&&n.removeEdge(r)})}function Wu(n,e,r){var t={},i;c(r,function(a){for(var o=n.parent(a),u,s;o;){if(u=n.parent(o),u?(s=t[u],t[u]=o):(s=i,i=o),s&&s!==o){e.setEdge(s,o);return}o=u}})}function Xu(n,e,r){var t=Zu(n),i=new A({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(a){return n.node(a)});return c(n.nodes(),function(a){var o=n.node(a),u=n.parent(a);(o.rank===e||o.minRank<=e&&e<=o.maxRank)&&(i.setNode(a),i.setParent(a,u||t),c(n[r](a),function(s){var f=s.v===a?s.w:s.v,d=i.edge(f,a),l=x(d)?0:d.weight;i.setEdge(f,a,{weight:n.edge(s).weight+l})}),b(o,"minRank")&&i.setNode(a,{borderLeft:o.borderLeft[e],borderRight:o.borderRight[e]}))}),i}function Zu(n){for(var e;n.hasNode(e=te("_root")););return e}function Vu(n,e){for(var r=0,t=1;t0;)d%2&&(l+=u[d+1]),d=d-1>>1,u[d]+=f.weight;s+=f.weight*l})),s}function zu(n){var e={},r=P(n.nodes(),function(u){return!n.children(u).length}),t=F(y(r,function(u){return n.node(u).rank})),i=y(k(t+1),function(){return[]});function a(u){if(!b(e,u)){e[u]=!0;var s=n.node(u);i[s.rank].push(u),c(n.successors(u),a)}}var o=an(r,function(u){return n.node(u).rank});return c(o,a),i}function Qu(n,e){return y(e,function(r){var t=n.inEdges(r);if(t.length){var i=tn(t,function(a,o){var u=n.edge(o),s=n.node(o.v);return{sum:a.sum+u.weight*s.order,weight:a.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:i.sum/i.weight,weight:i.weight}}else return{v:r}})}function ju(n,e){var r={};c(n,function(i,a){var o=r[i.v]={indegree:0,in:[],out:[],vs:[i.v],i:a};x(i.barycenter)||(o.barycenter=i.barycenter,o.weight=i.weight)}),c(e.edges(),function(i){var a=r[i.v],o=r[i.w];!x(a)&&!x(o)&&(o.indegree++,a.out.push(r[i.w]))});var t=P(r,function(i){return!i.indegree});return ns(t)}function ns(n){var e=[];function r(a){return function(o){o.merged||(x(o.barycenter)||x(a.barycenter)||o.barycenter>=a.barycenter)&&es(a,o)}}function t(a){return function(o){o.in.push(a),--o.indegree===0&&n.push(o)}}for(;n.length;){var i=n.pop();e.push(i),c(i.in.reverse(),r(i)),c(i.out,t(i))}return y(P(e,function(a){return!a.merged}),function(a){return gn(a,["vs","i","barycenter","weight"])})}function es(n,e){var r=0,t=0;n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.vs=e.vs.concat(n.vs),n.barycenter=r/t,n.weight=t,n.i=Math.min(e.i,n.i),e.merged=!0}function rs(n,e){var r=mu(n,function(d){return b(d,"barycenter")}),t=r.lhs,i=an(r.rhs,function(d){return-d.i}),a=[],o=0,u=0,s=0;t.sort(ts(!!e)),s=Be(a,i,s),c(t,function(d){s+=d.vs.length,a.push(d.vs),o+=d.barycenter*d.weight,u+=d.weight,s=Be(a,i,s)});var f={vs:q(a)};return u&&(f.barycenter=o/u,f.weight=u),f}function Be(n,e,r){for(var t;e.length&&(t=vn(e)).i<=r;)e.pop(),n.push(t.vs),r++;return r}function ts(n){return function(e,r){return e.barycenterr.barycenter?1:n?r.i-e.i:e.i-r.i}}function Mr(n,e,r,t){var i=n.children(e),a=n.node(e),o=a?a.borderLeft:void 0,u=a?a.borderRight:void 0,s={};o&&(i=P(i,function(v){return v!==o&&v!==u}));var f=Qu(n,i);c(f,function(v){if(n.children(v.v).length){var p=Mr(n,v.v,r,t);s[v.v]=p,b(p,"barycenter")&&as(v,p)}});var d=ju(f,r);is(d,s);var l=rs(d,t);if(o&&(l.vs=q([o,l.vs,u]),n.predecessors(o).length)){var h=n.node(n.predecessors(o)[0]),g=n.node(n.predecessors(u)[0]);b(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+h.order+g.order)/(l.weight+2),l.weight+=2}return l}function is(n,e){c(n,function(r){r.vs=q(r.vs.map(function(t){return e[t]?e[t].vs:t}))})}function as(n,e){x(n.barycenter)?(n.barycenter=e.barycenter,n.weight=e.weight):(n.barycenter=(n.barycenter*n.weight+e.barycenter*e.weight)/(n.weight+e.weight),n.weight+=e.weight)}function os(n){var e=xr(n),r=Ue(n,k(1,e+1),"inEdges"),t=Ue(n,k(e-1,-1,-1),"outEdges"),i=zu(n);Ye(n,i);for(var a=Number.POSITIVE_INFINITY,o,u=0,s=0;s<4;++u,++s){us(u%2?r:t,u%4>=2),i=On(n);var f=Vu(n,i);fo||u>e[s].lim));for(f=s,s=t;(s=n.parent(s))!==f;)a.push(s);return{path:i.concat(a.reverse()),lca:f}}function ds(n){var e={},r=0;function t(i){var a=r;c(n.children(i),t),e[i]={low:a,lim:r++}}return c(n.children(),t),e}function cs(n,e){var r={};function t(i,a){var o=0,u=0,s=i.length,f=vn(a);return c(a,function(d,l){var h=hs(n,d),g=h?n.node(h).order:s;(h||d===f)&&(c(a.slice(u,l+1),function(v){c(n.predecessors(v),function(p){var m=n.node(p),E=m.order;(Ef)&&Rr(r,h,d)})})}function i(a,o){var u=-1,s,f=0;return c(o,function(d,l){if(n.node(d).dummy==="border"){var h=n.predecessors(d);h.length&&(s=n.node(h[0]).order,t(o,f,l,u,s),f=l,u=s)}t(o,f,o.length,s,a.length)}),o}return tn(e,i),r}function hs(n,e){if(n.node(e).dummy)return ne(n.predecessors(e),function(r){return n.node(r).dummy})}function Rr(n,e,r){if(e>r){var t=e;e=r,r=t}var i=n[e];i||(n[e]=i={}),i[r]=!0}function vs(n,e,r){if(e>r){var t=e;e=r,r=t}return b(n[e],r)}function gs(n,e,r,t){var i={},a={},o={};return c(e,function(u){c(u,function(s,f){i[s]=s,a[s]=s,o[s]=f})}),c(e,function(u){var s=-1;c(u,function(f){var d=t(f);if(d.length){d=an(d,function(p){return o[p]});for(var l=(d.length-1)/2,h=Math.floor(l),g=Math.ceil(l);h<=g;++h){var v=d[h];a[f]===f&&s0){if(++e>=at)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}function Y(n){return function(){return n}}var ft=function(){try{var n=Fr(Object,"defineProperty");return n({},"",{}),n}catch{}}();const ln=ft;var dt=ln?function(n,e){return ln(n,"toString",{configurable:!0,enumerable:!1,value:Y(e),writable:!0})}:G;const ct=dt;var lt=st(ct);const Xe=lt;function Ze(n,e){for(var r=-1,t=n==null?0:n.length;++r-1}var bt=9007199254740991,wt=/^(?:0|[1-9]\d*)$/;function pn(n,e){var r=typeof n;return e=e??bt,!!e&&(r=="number"||r!="symbol"&&wt.test(n))&&n>-1&&n%1==0&&n1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(a=n.length>3&&typeof a=="function"?(i--,a):void 0,o&&J(r[0],r[1],o)&&(a=i<3?void 0:a,i=1),e=Object(e);++t0&&r(u)?e>1?yn(u,e-1,r,t,i):Kn(i,u):t||(i[i.length]=u)}return i}function q(n){var e=n==null?0:n.length;return e?yn(n,1):[]}function Ut(n){return Xe(Je(n,void 0,q),n+"")}var Yt=Br(Object.getPrototypeOf,Object);const Wn=Yt;var Ht="[object Object]",kt=Function.prototype,qt=Object.prototype,je=kt.toString,Kt=qt.hasOwnProperty,Wt=je.call(Object);function Xt(n){if(!M(n)||He(n)!=Ht)return!1;var e=Wn(n);if(e===null)return!0;var r=Kt.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&je.call(r)==Wt}function Zt(n,e,r,t){var i=-1,a=n==null?0:n.length;for(t&&a&&(r=n[++i]);++iu))return!1;var f=a.get(n),d=a.get(e);if(f&&d)return f==e&&d==n;var l=-1,h=!0,g=r&Pa?new z:void 0;for(a.set(n,e),a.set(e,n);++l2?e[2]:void 0;for(i&&J(e[0],e[1],i)&&(t=1);++r-1?i[a?e[o]:o]:void 0}}var xo=Math.max;function To(n,e,r){var t=n==null?0:n.length;if(!t)return-1;var i=r==null?0:nt(r);return i<0&&(i=xo(t+i,0)),Ve(n,$(e),i)}var Oo=yo(To);const ne=Oo;function _r(n,e){var r=-1,t=D(n)?Array(n.length):[];return xn(n,function(i,a,o){t[++r]=e(i,a,o)}),t}function y(n,e){var r=_(n)?H:_r;return r(n,$(e))}function Lo(n,e){return n==null?n:zn(n,jn(e),B)}function Ao(n,e){return n&&Qn(n,jn(e))}function Po(n,e){return n>e}var No=Object.prototype,Co=No.hasOwnProperty;function $o(n,e){return n!=null&&Co.call(n,e)}function b(n,e){return n!=null&&gr(n,e,$o)}function Io(n,e){return H(e,function(r){return n[r]})}function N(n){return n==null?[]:Io(n,T(n))}function x(n){return n===void 0}function Er(n,e){return ne||a&&o&&s&&!u&&!f||t&&o&&s||!r&&s||!i)return 1;if(!t&&!a&&!f&&n=u)return s;var f=r[t];return s*(f=="desc"?-1:1)}}return n.index-e.index}function Bo(n,e,r){e.length?e=H(e,function(a){return _(a)?function(o){return En(o,a.length===1?a[0]:a)}:a}):e=[G];var t=-1;e=H(e,kn($));var i=_r(n,function(a,o,u){var s=H(e,function(f){return f(a)});return{criteria:s,index:++t,value:a}});return Fo(i,function(a,o){return Go(a,o,r)})}function Uo(n,e){return Ro(n,e,function(r,t){return pr(n,t)})}var Yo=Ut(function(n,e){return n==null?{}:Uo(n,e)});const gn=Yo;var Ho=Math.ceil,ko=Math.max;function qo(n,e,r,t){for(var i=-1,a=ko(Ho((e-n)/(r||1)),0),o=Array(a);a--;)o[t?a:++i]=n,n+=r;return o}function Ko(n){return function(e,r,t){return t&&typeof t!="number"&&J(e,r,t)&&(r=t=void 0),e=fn(e),r===void 0?(r=e,e=0):r=fn(r),t=t===void 0?e1&&J(n,e[0],e[1])?e=[]:r>2&&J(e[0],e[1],e[2])&&(e=[e[0]]),Bo(n,yn(e,1),[])});const an=Zo;var Vo=1/0,Jo=Ln&&1/Vn(new Ln([,-0]))[1]==Vo?function(n){return new Ln(n)}:it;const zo=Jo;var Qo=200;function jo(n,e,r){var t=-1,i=pt,a=n.length,o=!0,u=[],s=u;if(r)o=!1,i=_o;else if(a>=Qo){var f=e?null:zo(n);if(f)return Vn(f);o=!1,i=cr,s=new z}else s=e?[]:u;n:for(;++t1?i.setNode(a,r):i.setNode(a)}),this}setNode(e,r){return b(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=r),this):(this._nodes[e]=arguments.length>1?r:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=S,this._children[e]={},this._children[S][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return b(this._nodes,e)}removeNode(e){var r=this;if(b(this._nodes,e)){var t=function(i){r.removeEdge(r._edgeObjs[i])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],c(this.children(e),function(i){r.setParent(i)}),delete this._children[e]),c(T(this._in[e]),t),delete this._in[e],delete this._preds[e],c(T(this._out[e]),t),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,r){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(x(r))r=S;else{r+="";for(var t=r;!x(t);t=this.parent(t))if(t===e)throw new Error("Setting "+r+" as parent of "+e+" would create a cycle");this.setNode(r)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=r,this._children[r][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var r=this._parent[e];if(r!==S)return r}}children(e){if(x(e)&&(e=S),this._isCompound){var r=this._children[e];if(r)return T(r)}else{if(e===S)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var r=this._preds[e];if(r)return T(r)}successors(e){var r=this._sucs[e];if(r)return T(r)}neighbors(e){var r=this.predecessors(e);if(r)return eu(r,this.successors(e))}isLeaf(e){var r;return this.isDirected()?r=this.successors(e):r=this.neighbors(e),r.length===0}filterNodes(e){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var t=this;c(this._nodes,function(o,u){e(u)&&r.setNode(u,o)}),c(this._edgeObjs,function(o){r.hasNode(o.v)&&r.hasNode(o.w)&&r.setEdge(o,t.edge(o))});var i={};function a(o){var u=t.parent(o);return u===void 0||r.hasNode(u)?(i[o]=u,u):u in i?i[u]:a(u)}return this._isCompound&&c(r.nodes(),function(o){r.setParent(o,a(o))}),r}setDefaultEdgeLabel(e){return Mn(e)||(e=Y(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return N(this._edgeObjs)}setPath(e,r){var t=this,i=arguments;return tn(e,function(a,o){return i.length>1?t.setEdge(a,o,r):t.setEdge(a,o),o}),this}setEdge(){var e,r,t,i,a=!1,o=arguments[0];typeof o=="object"&&o!==null&&"v"in o?(e=o.v,r=o.w,t=o.name,arguments.length===2&&(i=arguments[1],a=!0)):(e=o,r=arguments[1],t=arguments[3],arguments.length>2&&(i=arguments[2],a=!0)),e=""+e,r=""+r,x(t)||(t=""+t);var u=W(this._isDirected,e,r,t);if(b(this._edgeLabels,u))return a&&(this._edgeLabels[u]=i),this;if(!x(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(r),this._edgeLabels[u]=a?i:this._defaultEdgeLabelFn(e,r,t);var s=ou(this._isDirected,e,r,t);return e=s.v,r=s.w,Object.freeze(s),this._edgeObjs[u]=s,Ce(this._preds[r],e),Ce(this._sucs[e],r),this._in[r][u]=s,this._out[e][u]=s,this._edgeCount++,this}edge(e,r,t){var i=arguments.length===1?Pn(this._isDirected,arguments[0]):W(this._isDirected,e,r,t);return this._edgeLabels[i]}hasEdge(e,r,t){var i=arguments.length===1?Pn(this._isDirected,arguments[0]):W(this._isDirected,e,r,t);return b(this._edgeLabels,i)}removeEdge(e,r,t){var i=arguments.length===1?Pn(this._isDirected,arguments[0]):W(this._isDirected,e,r,t),a=this._edgeObjs[i];return a&&(e=a.v,r=a.w,delete this._edgeLabels[i],delete this._edgeObjs[i],$e(this._preds[r],e),$e(this._sucs[e],r),delete this._in[r][i],delete this._out[e][i],this._edgeCount--),this}inEdges(e,r){var t=this._in[e];if(t){var i=N(t);return r?P(i,function(a){return a.v===r}):i}}outEdges(e,r){var t=this._out[e];if(t){var i=N(t);return r?P(i,function(a){return a.w===r}):i}}nodeEdges(e,r){var t=this.inEdges(e,r);if(t)return t.concat(this.outEdges(e,r))}}A.prototype._nodeCount=0;A.prototype._edgeCount=0;function Ce(n,e){n[e]?n[e]++:n[e]=1}function $e(n,e){--n[e]||delete n[e]}function W(n,e,r,t){var i=""+e,a=""+r;if(!n&&i>a){var o=i;i=a,a=o}return i+Ne+a+Ne+(x(t)?au:t)}function ou(n,e,r,t){var i=""+e,a=""+r;if(!n&&i>a){var o=i;i=a,a=o}var u={v:i,w:a};return t&&(u.name=t),u}function Pn(n,e){return W(n,e.v,e.w,e.name)}class uu{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,r=e._prev;if(r!==e)return Ie(r),r}enqueue(e){var r=this._sentinel;e._prev&&e._next&&Ie(e),e._next=r._next,r._next._prev=e,r._next=e,e._prev=r}toString(){for(var e=[],r=this._sentinel,t=r._prev;t!==r;)e.push(JSON.stringify(t,su)),t=t._prev;return"["+e.join(", ")+"]"}}function Ie(n){n._prev._next=n._next,n._next._prev=n._prev,delete n._next,delete n._prev}function su(n,e){if(n!=="_next"&&n!=="_prev")return e}var fu=Y(1);function du(n,e){if(n.nodeCount()<=1)return[];var r=lu(n,e||fu),t=cu(r.graph,r.buckets,r.zeroIdx);return q(y(t,function(i){return n.outEdges(i.v,i.w)}))}function cu(n,e,r){for(var t=[],i=e[e.length-1],a=e[0],o;n.nodeCount();){for(;o=a.dequeue();)Nn(n,e,r,o);for(;o=i.dequeue();)Nn(n,e,r,o);if(n.nodeCount()){for(var u=e.length-2;u>0;--u)if(o=e[u].dequeue(),o){t=t.concat(Nn(n,e,r,o,!0));break}}}return t}function Nn(n,e,r,t,i){var a=i?[]:void 0;return c(n.inEdges(t.v),function(o){var u=n.edge(o),s=n.node(o.v);i&&a.push({v:o.v,w:o.w}),s.out-=u,Bn(e,r,s)}),c(n.outEdges(t.v),function(o){var u=n.edge(o),s=o.w,f=n.node(s);f.in-=u,Bn(e,r,f)}),n.removeNode(t.v),a}function lu(n,e){var r=new A,t=0,i=0;c(n.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),c(n.edges(),function(u){var s=r.edge(u.v,u.w)||0,f=e(u),d=s+f;r.setEdge(u.v,u.w,d),i=Math.max(i,r.node(u.v).out+=f),t=Math.max(t,r.node(u.w).in+=f)});var a=k(i+t+3).map(function(){return new uu}),o=t+1;return c(r.nodes(),function(u){Bn(a,o,r.node(u))}),{graph:r,buckets:a,zeroIdx:o}}function Bn(n,e,r){r.out?r.in?n[r.out-r.in+e].enqueue(r):n[n.length-1].enqueue(r):n[0].enqueue(r)}function hu(n){var e=n.graph().acyclicer==="greedy"?du(n,r(n)):vu(n);c(e,function(t){var i=n.edge(t);n.removeEdge(t),i.forwardName=t.name,i.reversed=!0,n.setEdge(t.w,t.v,i,te("rev"))});function r(t){return function(i){return t.edge(i).weight}}}function vu(n){var e=[],r={},t={};function i(a){b(t,a)||(t[a]=!0,r[a]=!0,c(n.outEdges(a),function(o){b(r,o.w)?e.push(o):i(o.w)}),delete r[a])}return c(n.nodes(),i),e}function gu(n){c(n.edges(),function(e){var r=n.edge(e);if(r.reversed){n.removeEdge(e);var t=r.forwardName;delete r.reversed,delete r.forwardName,n.setEdge(e.w,e.v,r,t)}})}function K(n,e,r,t){var i;do i=te(t);while(n.hasNode(i));return r.dummy=e,n.setNode(i,r),i}function pu(n){var e=new A().setGraph(n.graph());return c(n.nodes(),function(r){e.setNode(r,n.node(r))}),c(n.edges(),function(r){var t=e.edge(r.v,r.w)||{weight:0,minlen:1},i=n.edge(r);e.setEdge(r.v,r.w,{weight:t.weight+i.weight,minlen:Math.max(t.minlen,i.minlen)})}),e}function yr(n){var e=new A({multigraph:n.isMultigraph()}).setGraph(n.graph());return c(n.nodes(),function(r){n.children(r).length||e.setNode(r,n.node(r))}),c(n.edges(),function(r){e.setEdge(r,n.edge(r))}),e}function Se(n,e){var r=n.x,t=n.y,i=e.x-r,a=e.y-t,o=n.width/2,u=n.height/2;if(!i&&!a)throw new Error("Not possible to find intersection inside of the rectangle");var s,f;return Math.abs(a)*o>Math.abs(i)*u?(a<0&&(u=-u),s=u*i/a,f=u):(i<0&&(o=-o),s=o,f=o*a/i),{x:r+s,y:t+f}}function On(n){var e=y(k(xr(n)+1),function(){return[]});return c(n.nodes(),function(r){var t=n.node(r),i=t.rank;x(i)||(e[i][t.order]=r)}),e}function bu(n){var e=Q(y(n.nodes(),function(r){return n.node(r).rank}));c(n.nodes(),function(r){var t=n.node(r);b(t,"rank")&&(t.rank-=e)})}function wu(n){var e=Q(y(n.nodes(),function(a){return n.node(a).rank})),r=[];c(n.nodes(),function(a){var o=n.node(a).rank-e;r[o]||(r[o]=[]),r[o].push(a)});var t=0,i=n.graph().nodeRankFactor;c(r,function(a,o){x(a)&&o%i!==0?--t:t&&c(a,function(u){n.node(u).rank+=t})})}function Me(n,e,r,t){var i={width:0,height:0};return arguments.length>=4&&(i.rank=r,i.order=t),K(n,"border",i,e)}function xr(n){return F(y(n.nodes(),function(e){var r=n.node(e).rank;if(!x(r))return r}))}function mu(n,e){var r={lhs:[],rhs:[]};return c(n,function(t){e(t)?r.lhs.push(t):r.rhs.push(t)}),r}function _u(n,e){var r=Pe();try{return e()}finally{console.log(n+" time: "+(Pe()-r)+"ms")}}function Eu(n,e){return e()}function yu(n){function e(r){var t=n.children(r),i=n.node(r);if(t.length&&c(t,e),b(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var a=i.minRank,o=i.maxRank+1;ao.lim&&(u=o,s=!0);var f=P(e.edges(),function(d){return s===De(n,n.node(d.v),u)&&s!==De(n,n.node(d.w),u)});return re(f,function(d){return j(e,d)})}function Ir(n,e,r,t){var i=r.v,a=r.w;n.removeEdge(i,a),n.setEdge(t.v,t.w,{}),oe(n),ae(n,e),Du(n,e)}function Du(n,e){var r=ne(n.nodes(),function(i){return!e.node(i).parent}),t=Ru(n,r);t=t.slice(1),c(t,function(i){var a=n.node(i).parent,o=e.edge(i,a),u=!1;o||(o=e.edge(a,i),u=!0),e.node(i).rank=e.node(a).rank+(u?o.minlen:-o.minlen)})}function Gu(n,e,r){return n.hasEdge(e,r)}function De(n,e,r){return r.low<=e.lim&&e.lim<=r.lim}function Bu(n){switch(n.graph().ranker){case"network-simplex":Ge(n);break;case"tight-tree":Yu(n);break;case"longest-path":Uu(n);break;default:Ge(n)}}var Uu=ie;function Yu(n){ie(n),Or(n)}function Ge(n){U(n)}function Hu(n){var e=K(n,"root",{},"_root"),r=ku(n),t=F(N(r))-1,i=2*t+1;n.graph().nestingRoot=e,c(n.edges(),function(o){n.edge(o).minlen*=i});var a=qu(n)+1;c(n.children(),function(o){Sr(n,e,i,a,t,r,o)}),n.graph().nodeRankFactor=i}function Sr(n,e,r,t,i,a,o){var u=n.children(o);if(!u.length){o!==e&&n.setEdge(e,o,{weight:0,minlen:r});return}var s=Me(n,"_bt"),f=Me(n,"_bb"),d=n.node(o);n.setParent(s,o),d.borderTop=s,n.setParent(f,o),d.borderBottom=f,c(u,function(l){Sr(n,e,r,t,i,a,l);var h=n.node(l),g=h.borderTop?h.borderTop:l,v=h.borderBottom?h.borderBottom:l,p=h.borderTop?t:2*t,m=g!==v?1:i-a[o]+1;n.setEdge(s,g,{weight:p,minlen:m,nestingEdge:!0}),n.setEdge(v,f,{weight:p,minlen:m,nestingEdge:!0})}),n.parent(o)||n.setEdge(e,s,{weight:0,minlen:i+a[o]})}function ku(n){var e={};function r(t,i){var a=n.children(t);a&&a.length&&c(a,function(o){r(o,i+1)}),e[t]=i}return c(n.children(),function(t){r(t,1)}),e}function qu(n){return tn(n.edges(),function(e,r){return e+n.edge(r).weight},0)}function Ku(n){var e=n.graph();n.removeNode(e.nestingRoot),delete e.nestingRoot,c(n.edges(),function(r){var t=n.edge(r);t.nestingEdge&&n.removeEdge(r)})}function Wu(n,e,r){var t={},i;c(r,function(a){for(var o=n.parent(a),u,s;o;){if(u=n.parent(o),u?(s=t[u],t[u]=o):(s=i,i=o),s&&s!==o){e.setEdge(s,o);return}o=u}})}function Xu(n,e,r){var t=Zu(n),i=new A({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(a){return n.node(a)});return c(n.nodes(),function(a){var o=n.node(a),u=n.parent(a);(o.rank===e||o.minRank<=e&&e<=o.maxRank)&&(i.setNode(a),i.setParent(a,u||t),c(n[r](a),function(s){var f=s.v===a?s.w:s.v,d=i.edge(f,a),l=x(d)?0:d.weight;i.setEdge(f,a,{weight:n.edge(s).weight+l})}),b(o,"minRank")&&i.setNode(a,{borderLeft:o.borderLeft[e],borderRight:o.borderRight[e]}))}),i}function Zu(n){for(var e;n.hasNode(e=te("_root")););return e}function Vu(n,e){for(var r=0,t=1;t0;)d%2&&(l+=u[d+1]),d=d-1>>1,u[d]+=f.weight;s+=f.weight*l})),s}function zu(n){var e={},r=P(n.nodes(),function(u){return!n.children(u).length}),t=F(y(r,function(u){return n.node(u).rank})),i=y(k(t+1),function(){return[]});function a(u){if(!b(e,u)){e[u]=!0;var s=n.node(u);i[s.rank].push(u),c(n.successors(u),a)}}var o=an(r,function(u){return n.node(u).rank});return c(o,a),i}function Qu(n,e){return y(e,function(r){var t=n.inEdges(r);if(t.length){var i=tn(t,function(a,o){var u=n.edge(o),s=n.node(o.v);return{sum:a.sum+u.weight*s.order,weight:a.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:i.sum/i.weight,weight:i.weight}}else return{v:r}})}function ju(n,e){var r={};c(n,function(i,a){var o=r[i.v]={indegree:0,in:[],out:[],vs:[i.v],i:a};x(i.barycenter)||(o.barycenter=i.barycenter,o.weight=i.weight)}),c(e.edges(),function(i){var a=r[i.v],o=r[i.w];!x(a)&&!x(o)&&(o.indegree++,a.out.push(r[i.w]))});var t=P(r,function(i){return!i.indegree});return ns(t)}function ns(n){var e=[];function r(a){return function(o){o.merged||(x(o.barycenter)||x(a.barycenter)||o.barycenter>=a.barycenter)&&es(a,o)}}function t(a){return function(o){o.in.push(a),--o.indegree===0&&n.push(o)}}for(;n.length;){var i=n.pop();e.push(i),c(i.in.reverse(),r(i)),c(i.out,t(i))}return y(P(e,function(a){return!a.merged}),function(a){return gn(a,["vs","i","barycenter","weight"])})}function es(n,e){var r=0,t=0;n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.vs=e.vs.concat(n.vs),n.barycenter=r/t,n.weight=t,n.i=Math.min(e.i,n.i),e.merged=!0}function rs(n,e){var r=mu(n,function(d){return b(d,"barycenter")}),t=r.lhs,i=an(r.rhs,function(d){return-d.i}),a=[],o=0,u=0,s=0;t.sort(ts(!!e)),s=Be(a,i,s),c(t,function(d){s+=d.vs.length,a.push(d.vs),o+=d.barycenter*d.weight,u+=d.weight,s=Be(a,i,s)});var f={vs:q(a)};return u&&(f.barycenter=o/u,f.weight=u),f}function Be(n,e,r){for(var t;e.length&&(t=vn(e)).i<=r;)e.pop(),n.push(t.vs),r++;return r}function ts(n){return function(e,r){return e.barycenterr.barycenter?1:n?r.i-e.i:e.i-r.i}}function Mr(n,e,r,t){var i=n.children(e),a=n.node(e),o=a?a.borderLeft:void 0,u=a?a.borderRight:void 0,s={};o&&(i=P(i,function(v){return v!==o&&v!==u}));var f=Qu(n,i);c(f,function(v){if(n.children(v.v).length){var p=Mr(n,v.v,r,t);s[v.v]=p,b(p,"barycenter")&&as(v,p)}});var d=ju(f,r);is(d,s);var l=rs(d,t);if(o&&(l.vs=q([o,l.vs,u]),n.predecessors(o).length)){var h=n.node(n.predecessors(o)[0]),g=n.node(n.predecessors(u)[0]);b(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+h.order+g.order)/(l.weight+2),l.weight+=2}return l}function is(n,e){c(n,function(r){r.vs=q(r.vs.map(function(t){return e[t]?e[t].vs:t}))})}function as(n,e){x(n.barycenter)?(n.barycenter=e.barycenter,n.weight=e.weight):(n.barycenter=(n.barycenter*n.weight+e.barycenter*e.weight)/(n.weight+e.weight),n.weight+=e.weight)}function os(n){var e=xr(n),r=Ue(n,k(1,e+1),"inEdges"),t=Ue(n,k(e-1,-1,-1),"outEdges"),i=zu(n);Ye(n,i);for(var a=Number.POSITIVE_INFINITY,o,u=0,s=0;s<4;++u,++s){us(u%2?r:t,u%4>=2),i=On(n);var f=Vu(n,i);fo||u>e[s].lim));for(f=s,s=t;(s=n.parent(s))!==f;)a.push(s);return{path:i.concat(a.reverse()),lca:f}}function ds(n){var e={},r=0;function t(i){var a=r;c(n.children(i),t),e[i]={low:a,lim:r++}}return c(n.children(),t),e}function cs(n,e){var r={};function t(i,a){var o=0,u=0,s=i.length,f=vn(a);return c(a,function(d,l){var h=hs(n,d),g=h?n.node(h).order:s;(h||d===f)&&(c(a.slice(u,l+1),function(v){c(n.predecessors(v),function(p){var m=n.node(p),E=m.order;(Ef)&&Rr(r,h,d)})})}function i(a,o){var u=-1,s,f=0;return c(o,function(d,l){if(n.node(d).dummy==="border"){var h=n.predecessors(d);h.length&&(s=n.node(h[0]).order,t(o,f,l,u,s),f=l,u=s)}t(o,f,o.length,s,a.length)}),o}return tn(e,i),r}function hs(n,e){if(n.node(e).dummy)return ne(n.predecessors(e),function(r){return n.node(r).dummy})}function Rr(n,e,r){if(e>r){var t=e;e=r,r=t}var i=n[e];i||(n[e]=i={}),i[r]=!0}function vs(n,e,r){if(e>r){var t=e;e=r,r=t}return b(n[e],r)}function gs(n,e,r,t){var i={},a={},o={};return c(e,function(u){c(u,function(s,f){i[s]=s,a[s]=s,o[s]=f})}),c(e,function(u){var s=-1;c(u,function(f){var d=t(f);if(d.length){d=an(d,function(p){return o[p]});for(var l=(d.length-1)/2,h=Math.floor(l),g=Math.ceil(l);h<=g;++h){var v=d[h];a[f]===f&&s{Di[t]=e},n0=i0;let ce={};const Ua=function(t,e,i,r){S.debug("parseDirective is being called",e,i,r);try{if(e!==void 0)switch(e=e.trim(),i){case"open_directive":ce={};break;case"type_directive":if(!ce)throw new Error("currentDirective is undefined");ce.type=e.toLowerCase();break;case"arg_directive":if(!ce)throw new Error("currentDirective is undefined");ce.args=JSON.parse(e);break;case"close_directive":o0(t,ce,r),ce=void 0;break}}catch(n){S.error(`Error while rendering sequenceDiagram directive: ${e} jison context: ${i}`),S.error(n.message)}},o0=function(t,e,i){switch(S.info(`Directive type=${e.type} with args:`,e.args),e.type){case"init":case"initialize":{["config"].forEach(r=>{e.args[r]!==void 0&&(i==="flowchart-v2"&&(i="flowchart"),e.args[i]=e.args[r],delete e.args[r])}),S.info("sanitize in handleDirective",e.args),De(e.args),S.info("sanitize in handleDirective (done)",e.args),Ms(e.args);break}case"wrap":case"nowrap":t&&t.setWrap&&t.setWrap(e.type==="wrap");break;case"themeCss":S.warn("themeCss encountered");break;default:S.warn(`Unhandled directive: source: '%%{${e.type}: ${JSON.stringify(e.args?e.args:{})}}%%`,e);break}},s0=S,a0=Tn,Va=Vt,l0=t=>Qe(t,Va()),c0=e0,h0=()=>ph,u0=(t,e,i,r)=>Ua(t,e,i,r),sr={},ar=(t,e,i)=>{if(sr[t])throw new Error(`Diagram ${t} already registered.`);sr[t]=e,i&&Xa(t,i),r0(t,e.styles),e.injectUtils&&e.injectUtils(s0,a0,Va,l0,c0,h0(),u0)},jn=t=>{if(t in sr)return sr[t];throw new Error(`Diagram ${t} not found.`)};class Ga extends Error{constructor(e){super(e),this.name="UnknownDiagramError"}}const f0=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,d0=/\s*%%.*\n/gm,Ie={},kr=function(t,e){t=t.replace(ja,"").replace(f0,"").replace(d0,` `);for(const[i,{detector:r}]of Object.entries(Ie))if(r(t,e))return i;throw new Ga(`No diagram type detected matching given configuration for text: ${t}`)},Ya=(...t)=>{for(const{id:e,detector:i,loader:r}of t)Xa(e,i,r)},p0=async()=>{S.debug("Loading registered diagrams");const e=(await Promise.allSettled(Object.entries(Ie).map(async([i,{detector:r,loader:n}])=>{if(n)try{jn(i)}catch{try{const{diagram:s,id:a}=await n();ar(a,s,r)}catch(s){throw S.error(`Failed to load external diagram with key ${i}. Removing from detectors.`),delete Ie[i],s}}}))).filter(i=>i.status==="rejected");if(e.length>0){S.error(`Failed to load ${e.length} external diagrams`);for(const i of e)S.error(i);throw new Error(`Failed to load ${e.length} external diagrams`)}},Xa=(t,e,i)=>{Ie[t]?S.error(`Detector with key ${t} already exists`):Ie[t]={detector:e,loader:i},S.debug(`Detector with key ${t} added${i?" with loader":""}`)},g0=t=>Ie[t].loader,m0={curveBasis:Hd,curveBasisClosed:qd,curveBasisOpen:jd,curveBumpX:zd,curveBumpY:Wd,curveBundle:Ud,curveCardinalClosed:Gd,curveCardinalOpen:Yd,curveCardinal:Vd,curveCatmullRomClosed:Kd,curveCatmullRomOpen:Zd,curveCatmullRom:Xd,curveLinear:Pd,curveLinearClosed:Jd,curveMonotoneX:Qd,curveMonotoneY:tp,curveNatural:ep,curveStep:ip,curveStepAfter:np,curveStepBefore:rp},Zr=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,_0=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,y0=function(t,e){const i=Ka(t,/(?:init\b)|(?:initialize\b)/);let r={};if(Array.isArray(i)){const n=i.map(o=>o.args);De(n),r=lt(r,[...n])}else r=i.args;if(r){let n=kr(t,e);["config"].forEach(o=>{r[o]!==void 0&&(n==="flowchart-v2"&&(n="flowchart"),r[n]=r[o],delete r[o])})}return r},Ka=function(t,e=null){try{const i=new RegExp(`[%]{2}(?![{]${_0.source})(?=[}][%]{2}).* `,"ig");t=t.trim().replace(i,"").replace(/'/gm,'"'),S.debug(`Detecting diagram directive${e!==null?" type:"+e:""} based on the text:${t}`);let r;const n=[];for(;(r=Zr.exec(t))!==null;)if(r.index===Zr.lastIndex&&Zr.lastIndex++,r&&!e||e&&r[1]&&r[1].match(e)||e&&r[2]&&r[2].match(e)){const o=r[1]?r[1]:r[2],s=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;n.push({type:o,args:s})}return n.length===0&&n.push({type:t,args:null}),n.length===1?n[0]:n}catch(i){return S.error(`ERROR: ${i.message} - Unable to parse directive - ${e!==null?" type:"+e:""} based on the text:${t}`),{type:null,args:null}}},C0=function(t,e){for(const[i,r]of e.entries())if(r.match(t))return i;return-1};function b0(t,e){if(!t)return e;const i=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return m0[i]||e}function x0(t,e){const i=t.trim();if(i)return e.securityLevel!=="loose"?Hs(i):i}const v0=(t,...e)=>{const i=t.split("."),r=i.length-1,n=i[r];let o=window;for(let s=0;s{i+=lr(o,e),e=o});let r=i/2,n;return e=void 0,t.forEach(o=>{if(e&&!n){const s=lr(o,e);if(s=1&&(n={x:o.x,y:o.y}),a>0&&a<1&&(n={x:(1-a)*e.x+a*o.x,y:(1-a)*e.y+a*o.y})}}e=o}),n}function S0(t){return t.length===1?t[0]:T0(t)}const k0=(t,e,i)=>{let r;S.info(`our points ${JSON.stringify(e)}`),e[0]!==i&&(e=e.reverse());let o=25,s;r=void 0,e.forEach(h=>{if(r&&!s){const f=lr(h,r);if(f=1&&(s={x:h.x,y:h.y}),g>0&&g<1&&(s={x:(1-g)*r.x+g*h.x,y:(1-g)*r.y+g*h.y})}}r=h});const a=t?10:5,l=Math.atan2(e[0].y-s.y,e[0].x-s.x),c={x:0,y:0};return c.x=Math.sin(l)*a+(e[0].x+s.x)/2,c.y=-Math.cos(l)*a+(e[0].y+s.y)/2,c};function w0(t,e,i){let r=JSON.parse(JSON.stringify(i)),n;S.info("our points",r),e!=="start_left"&&e!=="start_right"&&(r=r.reverse()),r.forEach(f=>{n=f});let s=25+t,a;n=void 0,r.forEach(f=>{if(n&&!a){const g=lr(f,n);if(g=1&&(a={x:f.x,y:f.y}),d>0&&d<1&&(a={x:(1-d)*n.x+d*f.x,y:(1-d)*n.y+d*f.y})}}n=f});const l=10+t*.5,c=Math.atan2(r[0].y-a.y,r[0].x-a.x),h={x:0,y:0};return h.x=Math.sin(c)*l+(r[0].x+a.x)/2,h.y=-Math.cos(c)*l+(r[0].y+a.y)/2,e==="start_left"&&(h.x=Math.sin(c+Math.PI)*l+(r[0].x+a.x)/2,h.y=-Math.cos(c+Math.PI)*l+(r[0].y+a.y)/2),e==="end_right"&&(h.x=Math.sin(c-Math.PI)*l+(r[0].x+a.x)/2-5,h.y=-Math.cos(c-Math.PI)*l+(r[0].y+a.y)/2-5),e==="end_left"&&(h.x=Math.sin(c)*l+(r[0].x+a.x)/2-5,h.y=-Math.cos(c)*l+(r[0].y+a.y)/2-5),h}function B0(t){let e="",i="";for(const r of t)r!==void 0&&(r.startsWith("color:")||r.startsWith("text-align:")?i=i+r+";":e=e+r+";");return{style:e,labelStyle:i}}let es=0;const L0=()=>(es++,"id-"+Math.random().toString(36).substr(2,12)+"-"+es);function A0(t){let e="";const i="0123456789abcdef",r=i.length;for(let n=0;nA0(t.length),F0=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}},M0=function(t,e){const i=e.text.replace(Sn.lineBreakRegex," "),[,r]=Vn(e.fontSize),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.style("text-anchor",e.anchor),n.style("font-family",e.fontFamily),n.style("font-size",r),n.style("font-weight",e.fontWeight),n.attr("fill",e.fill),e.class!==void 0&&n.attr("class",e.class);const o=n.append("tspan");return o.attr("x",e.x+e.textMargin*2),o.attr("fill",e.fill),o.text(i),n},O0=fi((t,e,i)=>{if(!t||(i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},i),Sn.lineBreakRegex.test(t)))return t;const r=t.split(" "),n=[];let o="";return r.forEach((s,a)=>{const l=cr(`${s} `,i),c=cr(o,i);if(l>e){const{hyphenatedStrings:g,remainingWord:d}=$0(s,e,"-",i);n.push(o,...g),o=d}else c+l>=e?(n.push(o),o=s):o=[o,s].filter(Boolean).join(" ");a+1===r.length&&n.push(o)}),n.filter(s=>s!=="").join(i.joinWith)},(t,e,i)=>`${t}${e}${i.fontSize}${i.fontWeight}${i.fontFamily}${i.joinWith}`),$0=fi((t,e,i="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);const n=[...t],o=[];let s="";return n.forEach((a,l)=>{const c=`${s}${a}`;if(cr(c,r)>=e){const f=l+1,g=n.length===f,d=`${c}${i}`;o.push(g?c:d),s=""}else s=c}),{hyphenatedStrings:o,remainingWord:s}},(t,e,i="-",r)=>`${t}${e}${i}${r.fontSize}${r.fontWeight}${r.fontFamily}`);function I0(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},e),Un(t,e).height}function cr(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e),Un(t,e).width}const Un=fi((t,e)=>{e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e);const{fontSize:i,fontFamily:r,fontWeight:n}=e;if(!t)return{width:0,height:0};const[,o]=Vn(i),s=["sans-serif",r],a=t.split(Sn.lineBreakRegex),l=[],c=Ot("body");if(!c.remove)return{width:0,height:0,lineHeight:0};const h=c.append("svg");for(const g of s){let d=0;const _={width:0,height:0,lineHeight:0};for(const k of a){const F=F0();F.text=k;const R=M0(h,F).style("font-size",o).style("font-weight",n).style("font-family",g),x=(R._groups||R)[0][0].getBBox();if(x.width===0&&x.height===0)throw new Error("svg element not in render tree");_.width=Math.round(Math.max(_.width,x.width)),d=Math.round(x.height),_.height+=d,_.lineHeight=Math.round(Math.max(_.lineHeight,d))}l.push(_)}h.remove();const f=isNaN(l[1].height)||isNaN(l[1].width)||isNaN(l[1].lineHeight)||l[0].height>l[1].height&&l[0].width>l[1].width&&l[0].lineHeight>l[1].lineHeight?0:1;return l[f]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),D0=class{constructor(e,i){this.deterministic=e,this.seed=i,this.count=i?i.length:0}next(){return this.deterministic?this.count++:Date.now()}};let wi;const N0=function(t){return wi=wi||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),wi.innerHTML=t,unescape(wi.textContent)},De=t=>{if(S.debug("directiveSanitizer called with",t),typeof t=="object"&&(t.length?t.forEach(e=>De(e)):Object.keys(t).forEach(e=>{S.debug("Checking key",e),e.startsWith("__")&&(S.debug("sanitize deleting __ option",e),delete t[e]),e.includes("proto")&&(S.debug("sanitize deleting proto option",e),delete t[e]),e.includes("constr")&&(S.debug("sanitize deleting constr option",e),delete t[e]),e.includes("themeCSS")&&(S.debug("sanitizing themeCss option"),t[e]=Ni(t[e])),e.includes("fontFamily")&&(S.debug("sanitizing fontFamily option"),t[e]=Ni(t[e])),e.includes("altFontFamily")&&(S.debug("sanitizing altFontFamily option"),t[e]=Ni(t[e])),sh.includes(e)?typeof t[e]=="object"&&(S.debug("sanitize deleting object",e),De(t[e])):(S.debug("sanitize deleting option",e),delete t[e])})),t.themeVariables){const e=Object.keys(t.themeVariables);for(const i of e){const r=t.themeVariables[i];r&&r.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[i]="")}}S.debug("After sanitization",t)},Ni=t=>{let e=0,i=0;for(const r of t){if(e{if(!r)return;const n=t.node().getBBox();t.append("text").text(r).attr("x",n.x+n.width/2).attr("y",-i).attr("class",e)},Vn=t=>{if(typeof t=="number")return[t,t+"px"];const e=parseInt(t,10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},Ri={assignWithDepth:lt,wrapLabel:O0,calculateTextHeight:I0,calculateTextWidth:cr,calculateTextDimensions:Un,detectInit:y0,detectDirective:Ka,isSubstringInArray:C0,interpolateToCurve:b0,calcLabelPosition:S0,calcCardinalityPosition:k0,calcTerminalLabelPosition:w0,formatUrl:x0,getStylesFromArray:B0,generateId:L0,random:E0,runFunc:v0,entityDecode:N0,initIdGenerator:D0,directiveSanitizer:De,sanitizeCss:Ni,insertTitle:P0,parseFontSize:Vn};var Ja="comm",Qa="rule",tl="decl",z0="@import",W0="@keyframes",H0="@layer",q0=Math.abs,Gn=String.fromCharCode;function el(t){return t.trim()}function Pi(t,e,i){return t.replace(e,i)}function j0(t,e){return t.indexOf(e)}function ai(t,e){return t.charCodeAt(e)|0}function li(t,e,i){return t.slice(e,i)}function Zt(t){return t.length}function il(t){return t.length}function Bi(t,e){return e.push(t),t}var wr=1,Ne=1,rl=0,Tt=0,J=0,ze="";function Yn(t,e,i,r,n,o,s){return{value:t,root:e,parent:i,type:r,props:n,children:o,line:wr,column:Ne,length:s,return:""}}function U0(){return J}function V0(){return J=Tt>0?ai(ze,--Tt):0,Ne--,J===10&&(Ne=1,wr--),J}function Lt(){return J=Tt2||gn(J)>3?"":" "}function K0(t,e){for(;--e&&Lt()&&!(J<48||J>102||J>57&&J<65||J>70&&J<97););return Br(t,zi()+(e<6&&pe()==32&&Lt()==32))}function mn(t){for(;Lt();)switch(J){case t:return Tt;case 34:case 39:t!==34&&t!==39&&mn(J);break;case 40:t===41&&mn(t);break;case 92:Lt();break}return Tt}function Z0(t,e){for(;Lt()&&t+J!==47+10;)if(t+J===42+42&&pe()===47)break;return"/*"+Br(e,Tt-1)+"*"+Gn(t===47?t:Lt())}function J0(t){for(;!gn(pe());)Lt();return Br(t,Tt)}function Q0(t){return Y0(Wi("",null,null,null,[""],t=G0(t),0,[0],t))}function Wi(t,e,i,r,n,o,s,a,l){for(var c=0,h=0,f=s,g=0,d=0,_=0,k=1,F=1,R=1,x=0,q="",G=n,X=o,V=r,P=q;F;)switch(_=x,x=Lt()){case 40:if(_!=108&&ai(P,f-1)==58){j0(P+=Pi(Jr(x),"&","&\f"),"&\f")!=-1&&(R=-1);break}case 34:case 39:case 91:P+=Jr(x);break;case 9:case 10:case 13:case 32:P+=X0(_);break;case 92:P+=K0(zi()-1,7);continue;case 47:switch(pe()){case 42:case 47:Bi(t_(Z0(Lt(),zi()),e,i),l);break;default:P+="/"}break;case 123*k:a[c++]=Zt(P)*R;case 125*k:case 59:case 0:switch(x){case 0:case 125:F=0;case 59+h:R==-1&&(P=Pi(P,/\f/g,"")),d>0&&Zt(P)-f&&Bi(d>32?rs(P+";",r,i,f-1):rs(Pi(P," ","")+";",r,i,f-2),l);break;case 59:P+=";";default:if(Bi(V=is(P,e,i,c,h,n,a,q,G=[],X=[],f),o),x===123)if(h===0)Wi(P,e,V,V,G,o,f,a,X);else switch(g===99&&ai(P,3)===110?100:g){case 100:case 108:case 109:case 115:Wi(t,V,V,r&&Bi(is(t,V,V,0,0,n,a,q,n,G=[],f),X),n,X,f,a,r?G:X);break;default:Wi(P,V,V,V,[""],X,0,a,X)}}c=h=d=0,k=R=1,q=P="",f=s;break;case 58:f=1+Zt(P),d=_;default:if(k<1){if(x==123)--k;else if(x==125&&k++==0&&V0()==125)continue}switch(P+=Gn(x),x*k){case 38:R=h>0?1:(P+="\f",-1);break;case 44:a[c++]=(Zt(P)-1)*R,R=1;break;case 64:pe()===45&&(P+=Jr(Lt())),g=pe(),h=f=Zt(q=P+=J0(zi())),x++;break;case 45:_===45&&Zt(P)==2&&(k=0)}}return o}function is(t,e,i,r,n,o,s,a,l,c,h){for(var f=n-1,g=n===0?o:[""],d=il(g),_=0,k=0,F=0;_0?g[R]+" "+x:Pi(x,/&\f/g,g[R])))&&(l[F++]=q);return Yn(t,e,i,n===0?Qa:a,l,c,h)}function t_(t,e,i){return Yn(t,e,i,Ja,Gn(U0()),li(t,2,-2),0)}function rs(t,e,i,r){return Yn(t,e,i,tl,li(t,0,r),li(t,r+1,-1),r)}function _n(t,e){for(var i="",r=il(t),n=0;n-1&&t%1==0&&t<=B_}function L_(t){return t!=null&&sl(t.length)&&!Ea(t)}function A_(){return!1}var al=typeof exports=="object"&&exports&&!exports.nodeType&&exports,hs=al&&typeof module=="object"&&module&&!module.nodeType&&module,E_=hs&&hs.exports===al,us=E_?re.Buffer:void 0,F_=us?us.isBuffer:void 0,M_=F_||A_;const O_=M_;var $_="[object Arguments]",I_="[object Array]",D_="[object Boolean]",N_="[object Date]",R_="[object Error]",P_="[object Function]",z_="[object Map]",W_="[object Number]",H_="[object Object]",q_="[object RegExp]",j_="[object Set]",U_="[object String]",V_="[object WeakMap]",G_="[object ArrayBuffer]",Y_="[object DataView]",X_="[object Float32Array]",K_="[object Float64Array]",Z_="[object Int8Array]",J_="[object Int16Array]",Q_="[object Int32Array]",ty="[object Uint8Array]",ey="[object Uint8ClampedArray]",iy="[object Uint16Array]",ry="[object Uint32Array]",Y={};Y[X_]=Y[K_]=Y[Z_]=Y[J_]=Y[Q_]=Y[ty]=Y[ey]=Y[iy]=Y[ry]=!0;Y[$_]=Y[I_]=Y[G_]=Y[D_]=Y[Y_]=Y[N_]=Y[R_]=Y[P_]=Y[z_]=Y[W_]=Y[H_]=Y[q_]=Y[j_]=Y[U_]=Y[V_]=!1;function ny(t){return Xn(t)&&sl(t.length)&&!!Y[ui(t)]}function oy(t){return function(e){return t(e)}}var ll=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Je=ll&&typeof module=="object"&&module&&!module.nodeType&&module,sy=Je&&Je.exports===ll,Qr=sy&&Ba.process,ay=function(){try{var t=Je&&Je.require&&Je.require("util").types;return t||Qr&&Qr.binding&&Qr.binding("util")}catch{}}();const fs=ay;var ds=fs&&fs.isTypedArray,ly=ds?oy(ds):ny;const cy=ly;var hy="[object Map]",uy="[object Set]",fy=Object.prototype,dy=fy.hasOwnProperty;function Hi(t){if(t==null)return!0;if(L_(t)&&(w_(t)||typeof t=="string"||typeof t.splice=="function"||O_(t)||cy(t)||S_(t)))return!t.length;var e=C_(t);if(e==hy||e==uy)return!t.size;if(nl(t))return!l_(t).length;for(var i in t)if(dy.call(t,i))return!1;return!0}const ps="10.1.0",cl="c4",py=t=>t.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/)!==null,gy=async()=>{const{diagram:t}=await rt(()=>import("./c4Diagram-44c43e89-b1efe9fc.js"),["assets/c4Diagram-44c43e89-b1efe9fc.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:cl,diagram:t}},my={id:cl,detector:py,loader:gy},_y=my,hl="flowchart",yy=(t,e)=>{var i,r;return((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="dagre-wrapper"||((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="elk"?!1:t.match(/^\s*graph/)!==null},Cy=async()=>{const{diagram:t}=await rt(()=>import("./flowDiagram-46a15f6f-0325a458.js"),["assets/flowDiagram-46a15f6f-0325a458.js","assets/flowDb-52e24d17-b379c657.js","assets/layout-6fd5c641.js","assets/styles-26373982-ae8be1d1.js","assets/index-5219d011-50992b0b.js","assets/edges-2e77835f-0b2286d7.js","assets/createText-1f5f8f92-f405caff.js","assets/svgDraw-2526cba0-86ed4b4e.js","assets/line-93633409.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/selectAll-a97dbb9c.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:hl,diagram:t}},by={id:hl,detector:yy,loader:Cy},xy=by,ul="flowchart-v2",vy=(t,e)=>{var i,r,n;return((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="dagre-d3"||((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="elk"?!1:t.match(/^\s*graph/)!==null&&((n=e==null?void 0:e.flowchart)==null?void 0:n.defaultRenderer)==="dagre-wrapper"?!0:t.match(/^\s*flowchart/)!==null},Ty=async()=>{const{diagram:t}=await rt(()=>import("./flowDiagram-v2-8e52592d-4e79b809.js"),["assets/flowDiagram-v2-8e52592d-4e79b809.js","assets/flowDb-52e24d17-b379c657.js","assets/styles-26373982-ae8be1d1.js","assets/layout-6fd5c641.js","assets/index-5219d011-50992b0b.js","assets/edges-2e77835f-0b2286d7.js","assets/createText-1f5f8f92-f405caff.js","assets/svgDraw-2526cba0-86ed4b4e.js","assets/line-93633409.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/selectAll-a97dbb9c.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:ul,diagram:t}},Sy={id:ul,detector:vy,loader:Ty},ky=Sy,fl="er",wy=t=>t.match(/^\s*erDiagram/)!==null,By=async()=>{const{diagram:t}=await rt(()=>import("./erDiagram-20cc9db4-c914ac81.js"),["assets/erDiagram-20cc9db4-c914ac81.js","assets/layout-6fd5c641.js","assets/line-93633409.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:fl,diagram:t}},Ly={id:fl,detector:wy,loader:By},Ay=Ly,dl="gitGraph",Ey=t=>t.match(/^\s*gitGraph/)!==null,Fy=async()=>{const{diagram:t}=await rt(()=>import("./gitGraphDiagram-0a645df6-4f01bc10.js"),["assets/gitGraphDiagram-0a645df6-4f01bc10.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:dl,diagram:t}},My={id:dl,detector:Ey,loader:Fy},Oy=My,pl="gantt",$y=t=>t.match(/^\s*gantt/)!==null,Iy=async()=>{const{diagram:t}=await rt(()=>import("./ganttDiagram-04e74c0a-fcb56ab9.js"),["assets/ganttDiagram-04e74c0a-fcb56ab9.js","assets/commonjsHelpers-725317a4.js","assets/init-77b53fdd.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:pl,diagram:t}},Dy={id:pl,detector:$y,loader:Iy},Ny=Dy,gl="info",Ry=t=>t.match(/^\s*info/)!==null,Py=async()=>{const{diagram:t}=await rt(()=>import("./infoDiagram-69ec1a58-9150b63d.js"),["assets/infoDiagram-69ec1a58-9150b63d.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:gl,diagram:t}},zy={id:gl,detector:Ry,loader:Py},Wy=zy,ml="pie",Hy=t=>t.match(/^\s*pie/)!==null,qy=async()=>{const{diagram:t}=await rt(()=>import("./pieDiagram-db1a8a21-40c35411.js"),["assets/pieDiagram-db1a8a21-40c35411.js","assets/init-77b53fdd.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/arc-9d129129.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:ml,diagram:t}},jy={id:ml,detector:Hy,loader:qy},Uy=jy,_l="requirement",Vy=t=>t.match(/^\s*requirement(Diagram)?/)!==null,Gy=async()=>{const{diagram:t}=await rt(()=>import("./requirementDiagram-b9649942-c8130d61.js"),["assets/requirementDiagram-b9649942-c8130d61.js","assets/layout-6fd5c641.js","assets/line-93633409.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:_l,diagram:t}},Yy={id:_l,detector:Vy,loader:Gy},Xy=Yy,yl="sequence",Ky=t=>t.match(/^\s*sequenceDiagram/)!==null,Zy=async()=>{const{diagram:t}=await rt(()=>import("./sequenceDiagram-446df3e4-56bc5eb9.js"),["assets/sequenceDiagram-446df3e4-56bc5eb9.js","assets/selectAll-a97dbb9c.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:yl,diagram:t}},Jy={id:yl,detector:Ky,loader:Zy},Qy=Jy,Cl="class",tC=(t,e)=>{var i;return((i=e==null?void 0:e.class)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!1:t.match(/^\s*classDiagram/)!==null},eC=async()=>{const{diagram:t}=await rt(()=>import("./classDiagram-634fc78b-e517915b.js"),["assets/classDiagram-634fc78b-e517915b.js","assets/styles-16907e1b-d59f3acb.js","assets/layout-6fd5c641.js","assets/svgDraw-2526cba0-86ed4b4e.js","assets/line-93633409.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:Cl,diagram:t}},iC={id:Cl,detector:tC,loader:eC},rC=iC,bl="classDiagram",nC=(t,e)=>{var i;return t.match(/^\s*classDiagram/)!==null&&((i=e==null?void 0:e.class)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!0:t.match(/^\s*classDiagram-v2/)!==null},oC=async()=>{const{diagram:t}=await rt(()=>import("./classDiagram-v2-72bddc41-72b95b90.js"),["assets/classDiagram-v2-72bddc41-72b95b90.js","assets/styles-16907e1b-d59f3acb.js","assets/layout-6fd5c641.js","assets/index-5219d011-50992b0b.js","assets/edges-2e77835f-0b2286d7.js","assets/createText-1f5f8f92-f405caff.js","assets/svgDraw-2526cba0-86ed4b4e.js","assets/line-93633409.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:bl,diagram:t}},sC={id:bl,detector:nC,loader:oC},aC=sC,xl="state",lC=(t,e)=>{var i;return((i=e==null?void 0:e.state)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!1:t.match(/^\s*stateDiagram/)!==null},cC=async()=>{const{diagram:t}=await rt(()=>import("./stateDiagram-d53d2428-90f9b785.js"),["assets/stateDiagram-d53d2428-90f9b785.js","assets/styles-47a825a5-43e1605d.js","assets/layout-6fd5c641.js","assets/line-93633409.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:xl,diagram:t}},hC={id:xl,detector:lC,loader:cC},uC=hC,vl="stateDiagram",fC=(t,e)=>{var i,r;return!!(t.match(/^\s*stateDiagram-v2/)!==null||t.match(/^\s*stateDiagram/)&&((i=e==null?void 0:e.state)==null?void 0:i.defaultRenderer)==="dagre-wrapper"||t.match(/^\s*stateDiagram/)&&((r=e==null?void 0:e.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper")},dC=async()=>{const{diagram:t}=await rt(()=>import("./stateDiagram-v2-9765461d-a5f3e7e4.js"),["assets/stateDiagram-v2-9765461d-a5f3e7e4.js","assets/styles-47a825a5-43e1605d.js","assets/layout-6fd5c641.js","assets/index-5219d011-50992b0b.js","assets/edges-2e77835f-0b2286d7.js","assets/createText-1f5f8f92-f405caff.js","assets/svgDraw-2526cba0-86ed4b4e.js","assets/line-93633409.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:vl,diagram:t}},pC={id:vl,detector:fC,loader:dC},gC=pC,Tl="journey",mC=t=>t.match(/^\s*journey/)!==null,_C=async()=>{const{diagram:t}=await rt(()=>import("./journeyDiagram-d38aa57d-9dee62e7.js"),["assets/journeyDiagram-d38aa57d-9dee62e7.js","assets/arc-9d129129.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:Tl,diagram:t}},yC={id:Tl,detector:mC,loader:_C},CC=yC,bC=()=>"",xC=bC,vC=function(){},TC=(t,e,i)=>{try{S.debug(`Renering svg for syntax error -`);const r=Ot("#"+e),n=r.append("g");n.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"),n.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"),n.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"),n.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"),n.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"),n.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"),n.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"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version "+i),r.attr("height",100),r.attr("width",500),r.attr("viewBox","768 0 912 512")}catch(r){S.error("Error while rendering info diagram"),S.error(R0(r))}},Sl={setConf:vC,draw:TC},SC={db:{clear:()=>{}},styles:xC,renderer:Sl,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}},kC=SC,kl="flowchart-elk",wC=(t,e)=>{var i;return!!(t.match(/^\s*flowchart-elk/)||t.match(/^\s*flowchart|graph/)&&((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="elk")},BC=async()=>{const{diagram:t}=await rt(()=>import("./flowchart-elk-definition-a44a74cb-98183db1.js"),["assets/flowchart-elk-definition-a44a74cb-98183db1.js","assets/flowDb-52e24d17-b379c657.js","assets/edges-2e77835f-0b2286d7.js","assets/createText-1f5f8f92-f405caff.js","assets/svgDraw-2526cba0-86ed4b4e.js","assets/line-93633409.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:kl,diagram:t}},LC={id:kl,detector:wC,loader:BC},AC=LC,wl="timeline",EC=t=>t.match(/^\s*timeline/)!==null,FC=async()=>{const{diagram:t}=await rt(()=>import("./timeline-definition-de69aca6-b4429f8b.js"),["assets/timeline-definition-de69aca6-b4429f8b.js","assets/is_dark-f70fce0a.js","assets/arc-9d129129.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:wl,diagram:t}},MC={id:wl,detector:EC,loader:FC},OC=MC,Bl="mindmap",$C=t=>t.match(/^\s*mindmap/)!==null,IC=async()=>{const{diagram:t}=await rt(()=>import("./mindmap-definition-65b51176-e42e0dff.js"),["assets/mindmap-definition-65b51176-e42e0dff.js","assets/createText-1f5f8f92-f405caff.js","assets/commonjsHelpers-725317a4.js","assets/is_dark-f70fce0a.js","assets/app-0ebef9d2.js","assets/framework-64cb0dab.js"]);return{id:Bl,diagram:t}},DC={id:Bl,detector:$C,loader:IC},NC=DC;let gs=!1;const Kn=()=>{gs||(gs=!0,ar("error",kC,t=>t.toLowerCase().trim()==="error"),ar("---",{db:{clear:()=>{}},styles:{},renderer:{},parser:{parser:{yy:{}},parse:()=>{throw new 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")}},init:()=>null},t=>t.toLowerCase().trimStart().startsWith("---")),Ya(_y,aC,rC,Ay,Ny,Wy,Uy,Xy,Qy,AC,ky,xy,NC,OC,Oy,gC,uC,CC))},RC=t=>t.trimStart().replace(/^\s*%%(?!{)[^\n]+\n?/gm,"");class Ll{constructor(e){var i,r;this.text=e,this.type="graph",this.text+=` + ${e!==null?" type:"+e:""} based on the text:${t}`),{type:null,args:null}}},C0=function(t,e){for(const[i,r]of e.entries())if(r.match(t))return i;return-1};function b0(t,e){if(!t)return e;const i=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return m0[i]||e}function x0(t,e){const i=t.trim();if(i)return e.securityLevel!=="loose"?Hs(i):i}const v0=(t,...e)=>{const i=t.split("."),r=i.length-1,n=i[r];let o=window;for(let s=0;s{i+=lr(o,e),e=o});let r=i/2,n;return e=void 0,t.forEach(o=>{if(e&&!n){const s=lr(o,e);if(s=1&&(n={x:o.x,y:o.y}),a>0&&a<1&&(n={x:(1-a)*e.x+a*o.x,y:(1-a)*e.y+a*o.y})}}e=o}),n}function S0(t){return t.length===1?t[0]:T0(t)}const k0=(t,e,i)=>{let r;S.info(`our points ${JSON.stringify(e)}`),e[0]!==i&&(e=e.reverse());let o=25,s;r=void 0,e.forEach(h=>{if(r&&!s){const f=lr(h,r);if(f=1&&(s={x:h.x,y:h.y}),g>0&&g<1&&(s={x:(1-g)*r.x+g*h.x,y:(1-g)*r.y+g*h.y})}}r=h});const a=t?10:5,l=Math.atan2(e[0].y-s.y,e[0].x-s.x),c={x:0,y:0};return c.x=Math.sin(l)*a+(e[0].x+s.x)/2,c.y=-Math.cos(l)*a+(e[0].y+s.y)/2,c};function w0(t,e,i){let r=JSON.parse(JSON.stringify(i)),n;S.info("our points",r),e!=="start_left"&&e!=="start_right"&&(r=r.reverse()),r.forEach(f=>{n=f});let s=25+t,a;n=void 0,r.forEach(f=>{if(n&&!a){const g=lr(f,n);if(g=1&&(a={x:f.x,y:f.y}),d>0&&d<1&&(a={x:(1-d)*n.x+d*f.x,y:(1-d)*n.y+d*f.y})}}n=f});const l=10+t*.5,c=Math.atan2(r[0].y-a.y,r[0].x-a.x),h={x:0,y:0};return h.x=Math.sin(c)*l+(r[0].x+a.x)/2,h.y=-Math.cos(c)*l+(r[0].y+a.y)/2,e==="start_left"&&(h.x=Math.sin(c+Math.PI)*l+(r[0].x+a.x)/2,h.y=-Math.cos(c+Math.PI)*l+(r[0].y+a.y)/2),e==="end_right"&&(h.x=Math.sin(c-Math.PI)*l+(r[0].x+a.x)/2-5,h.y=-Math.cos(c-Math.PI)*l+(r[0].y+a.y)/2-5),e==="end_left"&&(h.x=Math.sin(c)*l+(r[0].x+a.x)/2-5,h.y=-Math.cos(c)*l+(r[0].y+a.y)/2-5),h}function B0(t){let e="",i="";for(const r of t)r!==void 0&&(r.startsWith("color:")||r.startsWith("text-align:")?i=i+r+";":e=e+r+";");return{style:e,labelStyle:i}}let es=0;const L0=()=>(es++,"id-"+Math.random().toString(36).substr(2,12)+"-"+es);function A0(t){let e="";const i="0123456789abcdef",r=i.length;for(let n=0;nA0(t.length),F0=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}},M0=function(t,e){const i=e.text.replace(Sn.lineBreakRegex," "),[,r]=Vn(e.fontSize),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.style("text-anchor",e.anchor),n.style("font-family",e.fontFamily),n.style("font-size",r),n.style("font-weight",e.fontWeight),n.attr("fill",e.fill),e.class!==void 0&&n.attr("class",e.class);const o=n.append("tspan");return o.attr("x",e.x+e.textMargin*2),o.attr("fill",e.fill),o.text(i),n},O0=fi((t,e,i)=>{if(!t||(i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},i),Sn.lineBreakRegex.test(t)))return t;const r=t.split(" "),n=[];let o="";return r.forEach((s,a)=>{const l=cr(`${s} `,i),c=cr(o,i);if(l>e){const{hyphenatedStrings:g,remainingWord:d}=$0(s,e,"-",i);n.push(o,...g),o=d}else c+l>=e?(n.push(o),o=s):o=[o,s].filter(Boolean).join(" ");a+1===r.length&&n.push(o)}),n.filter(s=>s!=="").join(i.joinWith)},(t,e,i)=>`${t}${e}${i.fontSize}${i.fontWeight}${i.fontFamily}${i.joinWith}`),$0=fi((t,e,i="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);const n=[...t],o=[];let s="";return n.forEach((a,l)=>{const c=`${s}${a}`;if(cr(c,r)>=e){const f=l+1,g=n.length===f,d=`${c}${i}`;o.push(g?c:d),s=""}else s=c}),{hyphenatedStrings:o,remainingWord:s}},(t,e,i="-",r)=>`${t}${e}${i}${r.fontSize}${r.fontWeight}${r.fontFamily}`);function I0(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},e),Un(t,e).height}function cr(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e),Un(t,e).width}const Un=fi((t,e)=>{e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e);const{fontSize:i,fontFamily:r,fontWeight:n}=e;if(!t)return{width:0,height:0};const[,o]=Vn(i),s=["sans-serif",r],a=t.split(Sn.lineBreakRegex),l=[],c=Ot("body");if(!c.remove)return{width:0,height:0,lineHeight:0};const h=c.append("svg");for(const g of s){let d=0;const _={width:0,height:0,lineHeight:0};for(const k of a){const F=F0();F.text=k;const R=M0(h,F).style("font-size",o).style("font-weight",n).style("font-family",g),x=(R._groups||R)[0][0].getBBox();if(x.width===0&&x.height===0)throw new Error("svg element not in render tree");_.width=Math.round(Math.max(_.width,x.width)),d=Math.round(x.height),_.height+=d,_.lineHeight=Math.round(Math.max(_.lineHeight,d))}l.push(_)}h.remove();const f=isNaN(l[1].height)||isNaN(l[1].width)||isNaN(l[1].lineHeight)||l[0].height>l[1].height&&l[0].width>l[1].width&&l[0].lineHeight>l[1].lineHeight?0:1;return l[f]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),D0=class{constructor(e,i){this.deterministic=e,this.seed=i,this.count=i?i.length:0}next(){return this.deterministic?this.count++:Date.now()}};let wi;const N0=function(t){return wi=wi||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),wi.innerHTML=t,unescape(wi.textContent)},De=t=>{if(S.debug("directiveSanitizer called with",t),typeof t=="object"&&(t.length?t.forEach(e=>De(e)):Object.keys(t).forEach(e=>{S.debug("Checking key",e),e.startsWith("__")&&(S.debug("sanitize deleting __ option",e),delete t[e]),e.includes("proto")&&(S.debug("sanitize deleting proto option",e),delete t[e]),e.includes("constr")&&(S.debug("sanitize deleting constr option",e),delete t[e]),e.includes("themeCSS")&&(S.debug("sanitizing themeCss option"),t[e]=Ni(t[e])),e.includes("fontFamily")&&(S.debug("sanitizing fontFamily option"),t[e]=Ni(t[e])),e.includes("altFontFamily")&&(S.debug("sanitizing altFontFamily option"),t[e]=Ni(t[e])),sh.includes(e)?typeof t[e]=="object"&&(S.debug("sanitize deleting object",e),De(t[e])):(S.debug("sanitize deleting option",e),delete t[e])})),t.themeVariables){const e=Object.keys(t.themeVariables);for(const i of e){const r=t.themeVariables[i];r&&r.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[i]="")}}S.debug("After sanitization",t)},Ni=t=>{let e=0,i=0;for(const r of t){if(e{if(!r)return;const n=t.node().getBBox();t.append("text").text(r).attr("x",n.x+n.width/2).attr("y",-i).attr("class",e)},Vn=t=>{if(typeof t=="number")return[t,t+"px"];const e=parseInt(t,10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},Ri={assignWithDepth:lt,wrapLabel:O0,calculateTextHeight:I0,calculateTextWidth:cr,calculateTextDimensions:Un,detectInit:y0,detectDirective:Ka,isSubstringInArray:C0,interpolateToCurve:b0,calcLabelPosition:S0,calcCardinalityPosition:k0,calcTerminalLabelPosition:w0,formatUrl:x0,getStylesFromArray:B0,generateId:L0,random:E0,runFunc:v0,entityDecode:N0,initIdGenerator:D0,directiveSanitizer:De,sanitizeCss:Ni,insertTitle:P0,parseFontSize:Vn};var Ja="comm",Qa="rule",tl="decl",z0="@import",W0="@keyframes",H0="@layer",q0=Math.abs,Gn=String.fromCharCode;function el(t){return t.trim()}function Pi(t,e,i){return t.replace(e,i)}function j0(t,e){return t.indexOf(e)}function ai(t,e){return t.charCodeAt(e)|0}function li(t,e,i){return t.slice(e,i)}function Zt(t){return t.length}function il(t){return t.length}function Bi(t,e){return e.push(t),t}var wr=1,Ne=1,rl=0,Tt=0,J=0,ze="";function Yn(t,e,i,r,n,o,s){return{value:t,root:e,parent:i,type:r,props:n,children:o,line:wr,column:Ne,length:s,return:""}}function U0(){return J}function V0(){return J=Tt>0?ai(ze,--Tt):0,Ne--,J===10&&(Ne=1,wr--),J}function Lt(){return J=Tt2||gn(J)>3?"":" "}function K0(t,e){for(;--e&&Lt()&&!(J<48||J>102||J>57&&J<65||J>70&&J<97););return Br(t,zi()+(e<6&&pe()==32&&Lt()==32))}function mn(t){for(;Lt();)switch(J){case t:return Tt;case 34:case 39:t!==34&&t!==39&&mn(J);break;case 40:t===41&&mn(t);break;case 92:Lt();break}return Tt}function Z0(t,e){for(;Lt()&&t+J!==47+10;)if(t+J===42+42&&pe()===47)break;return"/*"+Br(e,Tt-1)+"*"+Gn(t===47?t:Lt())}function J0(t){for(;!gn(pe());)Lt();return Br(t,Tt)}function Q0(t){return Y0(Wi("",null,null,null,[""],t=G0(t),0,[0],t))}function Wi(t,e,i,r,n,o,s,a,l){for(var c=0,h=0,f=s,g=0,d=0,_=0,k=1,F=1,R=1,x=0,q="",G=n,X=o,V=r,P=q;F;)switch(_=x,x=Lt()){case 40:if(_!=108&&ai(P,f-1)==58){j0(P+=Pi(Jr(x),"&","&\f"),"&\f")!=-1&&(R=-1);break}case 34:case 39:case 91:P+=Jr(x);break;case 9:case 10:case 13:case 32:P+=X0(_);break;case 92:P+=K0(zi()-1,7);continue;case 47:switch(pe()){case 42:case 47:Bi(t_(Z0(Lt(),zi()),e,i),l);break;default:P+="/"}break;case 123*k:a[c++]=Zt(P)*R;case 125*k:case 59:case 0:switch(x){case 0:case 125:F=0;case 59+h:R==-1&&(P=Pi(P,/\f/g,"")),d>0&&Zt(P)-f&&Bi(d>32?rs(P+";",r,i,f-1):rs(Pi(P," ","")+";",r,i,f-2),l);break;case 59:P+=";";default:if(Bi(V=is(P,e,i,c,h,n,a,q,G=[],X=[],f),o),x===123)if(h===0)Wi(P,e,V,V,G,o,f,a,X);else switch(g===99&&ai(P,3)===110?100:g){case 100:case 108:case 109:case 115:Wi(t,V,V,r&&Bi(is(t,V,V,0,0,n,a,q,n,G=[],f),X),n,X,f,a,r?G:X);break;default:Wi(P,V,V,V,[""],X,0,a,X)}}c=h=d=0,k=R=1,q=P="",f=s;break;case 58:f=1+Zt(P),d=_;default:if(k<1){if(x==123)--k;else if(x==125&&k++==0&&V0()==125)continue}switch(P+=Gn(x),x*k){case 38:R=h>0?1:(P+="\f",-1);break;case 44:a[c++]=(Zt(P)-1)*R,R=1;break;case 64:pe()===45&&(P+=Jr(Lt())),g=pe(),h=f=Zt(q=P+=J0(zi())),x++;break;case 45:_===45&&Zt(P)==2&&(k=0)}}return o}function is(t,e,i,r,n,o,s,a,l,c,h){for(var f=n-1,g=n===0?o:[""],d=il(g),_=0,k=0,F=0;_0?g[R]+" "+x:Pi(x,/&\f/g,g[R])))&&(l[F++]=q);return Yn(t,e,i,n===0?Qa:a,l,c,h)}function t_(t,e,i){return Yn(t,e,i,Ja,Gn(U0()),li(t,2,-2),0)}function rs(t,e,i,r){return Yn(t,e,i,tl,li(t,0,r),li(t,r+1,-1),r)}function _n(t,e){for(var i="",r=il(t),n=0;n-1&&t%1==0&&t<=B_}function L_(t){return t!=null&&sl(t.length)&&!Ea(t)}function A_(){return!1}var al=typeof exports=="object"&&exports&&!exports.nodeType&&exports,hs=al&&typeof module=="object"&&module&&!module.nodeType&&module,E_=hs&&hs.exports===al,us=E_?re.Buffer:void 0,F_=us?us.isBuffer:void 0,M_=F_||A_;const O_=M_;var $_="[object Arguments]",I_="[object Array]",D_="[object Boolean]",N_="[object Date]",R_="[object Error]",P_="[object Function]",z_="[object Map]",W_="[object Number]",H_="[object Object]",q_="[object RegExp]",j_="[object Set]",U_="[object String]",V_="[object WeakMap]",G_="[object ArrayBuffer]",Y_="[object DataView]",X_="[object Float32Array]",K_="[object Float64Array]",Z_="[object Int8Array]",J_="[object Int16Array]",Q_="[object Int32Array]",ty="[object Uint8Array]",ey="[object Uint8ClampedArray]",iy="[object Uint16Array]",ry="[object Uint32Array]",Y={};Y[X_]=Y[K_]=Y[Z_]=Y[J_]=Y[Q_]=Y[ty]=Y[ey]=Y[iy]=Y[ry]=!0;Y[$_]=Y[I_]=Y[G_]=Y[D_]=Y[Y_]=Y[N_]=Y[R_]=Y[P_]=Y[z_]=Y[W_]=Y[H_]=Y[q_]=Y[j_]=Y[U_]=Y[V_]=!1;function ny(t){return Xn(t)&&sl(t.length)&&!!Y[ui(t)]}function oy(t){return function(e){return t(e)}}var ll=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Je=ll&&typeof module=="object"&&module&&!module.nodeType&&module,sy=Je&&Je.exports===ll,Qr=sy&&Ba.process,ay=function(){try{var t=Je&&Je.require&&Je.require("util").types;return t||Qr&&Qr.binding&&Qr.binding("util")}catch{}}();const fs=ay;var ds=fs&&fs.isTypedArray,ly=ds?oy(ds):ny;const cy=ly;var hy="[object Map]",uy="[object Set]",fy=Object.prototype,dy=fy.hasOwnProperty;function Hi(t){if(t==null)return!0;if(L_(t)&&(w_(t)||typeof t=="string"||typeof t.splice=="function"||O_(t)||cy(t)||S_(t)))return!t.length;var e=C_(t);if(e==hy||e==uy)return!t.size;if(nl(t))return!l_(t).length;for(var i in t)if(dy.call(t,i))return!1;return!0}const ps="10.1.0",cl="c4",py=t=>t.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/)!==null,gy=async()=>{const{diagram:t}=await rt(()=>import("./c4Diagram-44c43e89-a8d69ea8.js"),["assets/c4Diagram-44c43e89-a8d69ea8.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:cl,diagram:t}},my={id:cl,detector:py,loader:gy},_y=my,hl="flowchart",yy=(t,e)=>{var i,r;return((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="dagre-wrapper"||((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="elk"?!1:t.match(/^\s*graph/)!==null},Cy=async()=>{const{diagram:t}=await rt(()=>import("./flowDiagram-46a15f6f-b3830e07.js"),["assets/flowDiagram-46a15f6f-b3830e07.js","assets/flowDb-52e24d17-1ab97c12.js","assets/layout-2d03da6d.js","assets/styles-26373982-9a741945.js","assets/index-5219d011-730b0cac.js","assets/edges-2e77835f-a16bcc0b.js","assets/createText-1f5f8f92-c2c40041.js","assets/svgDraw-2526cba0-39b24240.js","assets/line-696a8ea1.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/selectAll-4b319156.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:hl,diagram:t}},by={id:hl,detector:yy,loader:Cy},xy=by,ul="flowchart-v2",vy=(t,e)=>{var i,r,n;return((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="dagre-d3"||((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="elk"?!1:t.match(/^\s*graph/)!==null&&((n=e==null?void 0:e.flowchart)==null?void 0:n.defaultRenderer)==="dagre-wrapper"?!0:t.match(/^\s*flowchart/)!==null},Ty=async()=>{const{diagram:t}=await rt(()=>import("./flowDiagram-v2-8e52592d-74790d9a.js"),["assets/flowDiagram-v2-8e52592d-74790d9a.js","assets/flowDb-52e24d17-1ab97c12.js","assets/styles-26373982-9a741945.js","assets/layout-2d03da6d.js","assets/index-5219d011-730b0cac.js","assets/edges-2e77835f-a16bcc0b.js","assets/createText-1f5f8f92-c2c40041.js","assets/svgDraw-2526cba0-39b24240.js","assets/line-696a8ea1.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/selectAll-4b319156.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:ul,diagram:t}},Sy={id:ul,detector:vy,loader:Ty},ky=Sy,fl="er",wy=t=>t.match(/^\s*erDiagram/)!==null,By=async()=>{const{diagram:t}=await rt(()=>import("./erDiagram-20cc9db4-63f39d90.js"),["assets/erDiagram-20cc9db4-63f39d90.js","assets/layout-2d03da6d.js","assets/line-696a8ea1.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:fl,diagram:t}},Ly={id:fl,detector:wy,loader:By},Ay=Ly,dl="gitGraph",Ey=t=>t.match(/^\s*gitGraph/)!==null,Fy=async()=>{const{diagram:t}=await rt(()=>import("./gitGraphDiagram-0a645df6-e4d9bff0.js"),["assets/gitGraphDiagram-0a645df6-e4d9bff0.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:dl,diagram:t}},My={id:dl,detector:Ey,loader:Fy},Oy=My,pl="gantt",$y=t=>t.match(/^\s*gantt/)!==null,Iy=async()=>{const{diagram:t}=await rt(()=>import("./ganttDiagram-04e74c0a-374f06b9.js"),["assets/ganttDiagram-04e74c0a-374f06b9.js","assets/commonjsHelpers-725317a4.js","assets/init-77b53fdd.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:pl,diagram:t}},Dy={id:pl,detector:$y,loader:Iy},Ny=Dy,gl="info",Ry=t=>t.match(/^\s*info/)!==null,Py=async()=>{const{diagram:t}=await rt(()=>import("./infoDiagram-69ec1a58-f6199cae.js"),["assets/infoDiagram-69ec1a58-f6199cae.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:gl,diagram:t}},zy={id:gl,detector:Ry,loader:Py},Wy=zy,ml="pie",Hy=t=>t.match(/^\s*pie/)!==null,qy=async()=>{const{diagram:t}=await rt(()=>import("./pieDiagram-db1a8a21-c6883eee.js"),["assets/pieDiagram-db1a8a21-c6883eee.js","assets/init-77b53fdd.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/arc-e99d9a62.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:ml,diagram:t}},jy={id:ml,detector:Hy,loader:qy},Uy=jy,_l="requirement",Vy=t=>t.match(/^\s*requirement(Diagram)?/)!==null,Gy=async()=>{const{diagram:t}=await rt(()=>import("./requirementDiagram-b9649942-7203d93f.js"),["assets/requirementDiagram-b9649942-7203d93f.js","assets/layout-2d03da6d.js","assets/line-696a8ea1.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:_l,diagram:t}},Yy={id:_l,detector:Vy,loader:Gy},Xy=Yy,yl="sequence",Ky=t=>t.match(/^\s*sequenceDiagram/)!==null,Zy=async()=>{const{diagram:t}=await rt(()=>import("./sequenceDiagram-446df3e4-c80e27c8.js"),["assets/sequenceDiagram-446df3e4-c80e27c8.js","assets/selectAll-4b319156.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:yl,diagram:t}},Jy={id:yl,detector:Ky,loader:Zy},Qy=Jy,Cl="class",tC=(t,e)=>{var i;return((i=e==null?void 0:e.class)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!1:t.match(/^\s*classDiagram/)!==null},eC=async()=>{const{diagram:t}=await rt(()=>import("./classDiagram-634fc78b-c30b05af.js"),["assets/classDiagram-634fc78b-c30b05af.js","assets/styles-16907e1b-08621a1b.js","assets/layout-2d03da6d.js","assets/svgDraw-2526cba0-39b24240.js","assets/line-696a8ea1.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:Cl,diagram:t}},iC={id:Cl,detector:tC,loader:eC},rC=iC,bl="classDiagram",nC=(t,e)=>{var i;return t.match(/^\s*classDiagram/)!==null&&((i=e==null?void 0:e.class)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!0:t.match(/^\s*classDiagram-v2/)!==null},oC=async()=>{const{diagram:t}=await rt(()=>import("./classDiagram-v2-72bddc41-16843405.js"),["assets/classDiagram-v2-72bddc41-16843405.js","assets/styles-16907e1b-08621a1b.js","assets/layout-2d03da6d.js","assets/index-5219d011-730b0cac.js","assets/edges-2e77835f-a16bcc0b.js","assets/createText-1f5f8f92-c2c40041.js","assets/svgDraw-2526cba0-39b24240.js","assets/line-696a8ea1.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:bl,diagram:t}},sC={id:bl,detector:nC,loader:oC},aC=sC,xl="state",lC=(t,e)=>{var i;return((i=e==null?void 0:e.state)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!1:t.match(/^\s*stateDiagram/)!==null},cC=async()=>{const{diagram:t}=await rt(()=>import("./stateDiagram-d53d2428-252e3f4f.js"),["assets/stateDiagram-d53d2428-252e3f4f.js","assets/styles-47a825a5-093f9ef5.js","assets/layout-2d03da6d.js","assets/line-696a8ea1.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:xl,diagram:t}},hC={id:xl,detector:lC,loader:cC},uC=hC,vl="stateDiagram",fC=(t,e)=>{var i,r;return!!(t.match(/^\s*stateDiagram-v2/)!==null||t.match(/^\s*stateDiagram/)&&((i=e==null?void 0:e.state)==null?void 0:i.defaultRenderer)==="dagre-wrapper"||t.match(/^\s*stateDiagram/)&&((r=e==null?void 0:e.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper")},dC=async()=>{const{diagram:t}=await rt(()=>import("./stateDiagram-v2-9765461d-9f477d66.js"),["assets/stateDiagram-v2-9765461d-9f477d66.js","assets/styles-47a825a5-093f9ef5.js","assets/layout-2d03da6d.js","assets/index-5219d011-730b0cac.js","assets/edges-2e77835f-a16bcc0b.js","assets/createText-1f5f8f92-c2c40041.js","assets/svgDraw-2526cba0-39b24240.js","assets/line-696a8ea1.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:vl,diagram:t}},pC={id:vl,detector:fC,loader:dC},gC=pC,Tl="journey",mC=t=>t.match(/^\s*journey/)!==null,_C=async()=>{const{diagram:t}=await rt(()=>import("./journeyDiagram-d38aa57d-cb544f54.js"),["assets/journeyDiagram-d38aa57d-cb544f54.js","assets/arc-e99d9a62.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:Tl,diagram:t}},yC={id:Tl,detector:mC,loader:_C},CC=yC,bC=()=>"",xC=bC,vC=function(){},TC=(t,e,i)=>{try{S.debug(`Renering svg for syntax error +`);const r=Ot("#"+e),n=r.append("g");n.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"),n.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"),n.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"),n.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"),n.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"),n.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"),n.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"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version "+i),r.attr("height",100),r.attr("width",500),r.attr("viewBox","768 0 912 512")}catch(r){S.error("Error while rendering info diagram"),S.error(R0(r))}},Sl={setConf:vC,draw:TC},SC={db:{clear:()=>{}},styles:xC,renderer:Sl,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}},kC=SC,kl="flowchart-elk",wC=(t,e)=>{var i;return!!(t.match(/^\s*flowchart-elk/)||t.match(/^\s*flowchart|graph/)&&((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="elk")},BC=async()=>{const{diagram:t}=await rt(()=>import("./flowchart-elk-definition-a44a74cb-83cf2f94.js"),["assets/flowchart-elk-definition-a44a74cb-83cf2f94.js","assets/flowDb-52e24d17-1ab97c12.js","assets/edges-2e77835f-a16bcc0b.js","assets/createText-1f5f8f92-c2c40041.js","assets/svgDraw-2526cba0-39b24240.js","assets/line-696a8ea1.js","assets/array-9f3ba611.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:kl,diagram:t}},LC={id:kl,detector:wC,loader:BC},AC=LC,wl="timeline",EC=t=>t.match(/^\s*timeline/)!==null,FC=async()=>{const{diagram:t}=await rt(()=>import("./timeline-definition-de69aca6-b39fac59.js"),["assets/timeline-definition-de69aca6-b39fac59.js","assets/is_dark-900bd85c.js","assets/arc-e99d9a62.js","assets/path-53f90ab3.js","assets/commonjsHelpers-725317a4.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:wl,diagram:t}},MC={id:wl,detector:EC,loader:FC},OC=MC,Bl="mindmap",$C=t=>t.match(/^\s*mindmap/)!==null,IC=async()=>{const{diagram:t}=await rt(()=>import("./mindmap-definition-65b51176-efa73a26.js"),["assets/mindmap-definition-65b51176-efa73a26.js","assets/createText-1f5f8f92-c2c40041.js","assets/commonjsHelpers-725317a4.js","assets/is_dark-900bd85c.js","assets/app-d433c202.js","assets/framework-64cb0dab.js"]);return{id:Bl,diagram:t}},DC={id:Bl,detector:$C,loader:IC},NC=DC;let gs=!1;const Kn=()=>{gs||(gs=!0,ar("error",kC,t=>t.toLowerCase().trim()==="error"),ar("---",{db:{clear:()=>{}},styles:{},renderer:{},parser:{parser:{yy:{}},parse:()=>{throw new 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")}},init:()=>null},t=>t.toLowerCase().trimStart().startsWith("---")),Ya(_y,aC,rC,Ay,Ny,Wy,Uy,Xy,Qy,AC,ky,xy,NC,OC,Oy,gC,uC,CC))},RC=t=>t.trimStart().replace(/^\s*%%(?!{)[^\n]+\n?/gm,"");class Ll{constructor(e){var i,r;this.text=e,this.type="graph",this.text+=` `;const n=Vt();try{this.type=kr(e,n)}catch(a){this.type="error",this.detectError=a}const o=jn(this.type);S.debug("Type "+this.type),this.db=o.db,(r=(i=this.db).clear)==null||r.call(i),this.renderer=o.renderer,this.parser=o.parser;const s=this.parser.parse.bind(this.parser);this.parser.parse=a=>s(RC(Zm(a,this.db))),this.parser.parser.yy=this.db,o.init&&(o.init(n),S.info("Initialized diagram "+this.type,n)),this.parse()}parse(){var e,i;if(this.detectError)throw this.detectError;(i=(e=this.db).clear)==null||i.call(e),this.parser.parse(this.text)}async render(e,i){await this.renderer.draw(this.text,e,i,this)}getParser(){return this.parser}getType(){return this.type}}const Zn=async t=>{const e=kr(t,Vt());try{jn(e)}catch{const r=g0(e);if(!r)throw new Ga(`Diagram ${e} not found.`);const{id:n,diagram:o}=await r();ar(n,o)}return new Ll(t)};let vn=[];const zb=t=>{vn.push(t)},PC=()=>{vn.forEach(t=>{t()}),vn=[]},zC="graphics-document document";function WC(t,e){t.attr("role",zC),Hi(e)||t.attr("aria-roledescription",e)}function HC(t,e,i,r){if(t.insert!==void 0)if(e||i){if(i){const n="chart-desc-"+r;t.attr("aria-describedby",n),t.insert("desc",":first-child").attr("id",n).text(i)}if(e){const n="chart-title-"+r;t.attr("aria-labelledby",n),t.insert("title",":first-child").attr("id",n).text(e)}}else return}const Al=["graph","flowchart","flowchart-v2","flowchart-elk","stateDiagram","stateDiagram-v2"],qC=5e4,jC="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",UC="sandbox",VC="loose",GC="http://www.w3.org/2000/svg",YC="http://www.w3.org/1999/xlink",XC="http://www.w3.org/1999/xhtml",KC="100%",ZC="100%",JC="border:0;margin:0;",QC="margin:0",tb="allow-top-navigation-by-user-activation allow-popups",eb='The "iframe" tag is not supported by your browser.',ib=["foreignobject"],rb=["dominant-baseline"];async function nb(t,e){Kn();try{(await Zn(t)).parse()}catch(i){if(e!=null&&e.suppressErrors)return!1;throw i}return!0}const ob=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,function(i){return i.substring(0,i.length-1)}),e=e.replace(/classDef.*:\S*#.*;/g,function(i){return i.substring(0,i.length-1)}),e=e.replace(/#\w+;/g,function(i){const r=i.substring(1,i.length-1);return/^\+?\d+$/.test(r)?"fl°°"+r+"¶ß":"fl°"+r+"¶ß"}),e},sb=function(t){let e=t;return e=e.replace(/fl°°/g,"&#"),e=e.replace(/fl°/g,"&"),e=e.replace(/¶ß/g,";"),e},ms=(t,e,i=[])=>` .${t} ${e} { ${i.join(" !important; ")} !important; }`,ab=(t,e,i={})=>{var r;let n="";if(t.themeCSS!==void 0&&(n+=` ${t.themeCSS}`),t.fontFamily!==void 0&&(n+=` diff --git a/docs/.vuepress/dist/assets/mindmap-definition-65b51176-e42e0dff.js b/docs/.vuepress/dist/assets/mindmap-definition-65b51176-efa73a26.js similarity index 99% rename from docs/.vuepress/dist/assets/mindmap-definition-65b51176-e42e0dff.js rename to docs/.vuepress/dist/assets/mindmap-definition-65b51176-efa73a26.js index d968309..b3a3427 100644 --- a/docs/.vuepress/dist/assets/mindmap-definition-65b51176-e42e0dff.js +++ b/docs/.vuepress/dist/assets/mindmap-definition-65b51176-efa73a26.js @@ -1,4 +1,4 @@ -import{d as mp,c as nn,l as qr,h as ei,t as bp,aD as Ep,aE as wp}from"./mermaid.core-00b8b54a.js";import{c as xp}from"./createText-1f5f8f92-f405caff.js";import{c as Ca,g as Tp}from"./commonjsHelpers-725317a4.js";import{i as Cp}from"./is_dark-f70fce0a.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";var Ki={},Dp={get exports(){return Ki},set exports(he){Ki=he}};(function(he,fe){(function(ee,ve){he.exports=ve()})(Ca,function(){function ee(t){return ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee(t)}function ve(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,a=new Array(e);rt.length)&&(e=t.length);for(var r=0,a=new Array(e);r"u"?null:window,V=D?D.navigator:null;D&&D.document;var _=ee(""),Q=ee({}),ne=ee(function(){}),oe=typeof HTMLElement>"u"?"undefined":ee(HTMLElement),J=function(e){return e&&e.instanceString&&Y(e.instanceString)?e.instanceString():null},j=function(e){return e!=null&&ee(e)==_},Y=function(e){return e!=null&&ee(e)===ne},te=function(e){return!ge(e)&&(Array.isArray?Array.isArray(e):e!=null&&e instanceof Array)},L=function(e){return e!=null&&ee(e)===Q&&!te(e)&&e.constructor===Object},$=function(e){return e!=null&&ee(e)===Q},k=function(e){return e!=null&&ee(e)===ee(1)&&!isNaN(e)},q=function(e){return k(e)&&Math.floor(e)===e},ce=function(e){if(oe!=="undefined")return e!=null&&e instanceof HTMLElement},ge=function(e){return Ae(e)||Ne(e)},Ae=function(e){return J(e)==="collection"&&e._private.single},Ne=function(e){return J(e)==="collection"&&!e._private.single},_e=function(e){return J(e)==="core"},tt=function(e){return J(e)==="stylesheet"},ct=function(e){return J(e)==="event"},Pe=function(e){return e==null?!0:!!(e===""||e.match(/^\s+$/))},$e=function(e){return typeof HTMLElement>"u"?!1:e instanceof HTMLElement},Xe=function(e){return L(e)&&k(e.x1)&&k(e.x2)&&k(e.y1)&&k(e.y2)},rt=function(e){return $(e)&&Y(e.then)},lt=function(){return V&&V.userAgent.match(/msie|trident|edge/i)},nt=function(e,r){r||(r=function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var i=[],s=0;sr?1:0},Qu=function(e,r){return-1*es(e,r)},Ue=Object.assign!=null?Object.assign.bind(Object):function(t){for(var e=arguments,r=1;r1&&(y-=1),y<1/6?v+(p-v)*6*y:y<1/2?p:y<2/3?v+(p-v)*(2/3-y)*6:v}var h=new RegExp("^"+on+"$").exec(e);if(h){if(a=parseInt(h[1]),a<0?a=(360- -1*a%360)%360:a>360&&(a=a%360),a/=360,n=parseFloat(h[2]),n<0||n>100||(n=n/100,i=parseFloat(h[3]),i<0||i>100)||(i=i/100,s=h[4],s!==void 0&&(s=parseFloat(s),s<0||s>1)))return;if(n===0)o=l=u=Math.round(i*255);else{var c=i<.5?i*(1+n):i+n-i*n,d=2*i-c;o=Math.round(255*f(d,c,a+1/3)),l=Math.round(255*f(d,c,a)),u=Math.round(255*f(d,c,a-1/3))}r=[o,l,u,s]}return r},el=function(e){var r,a=new RegExp("^"+vr+"$").exec(e);if(a){r=[];for(var n=[],i=1;i<=3;i++){var s=a[i];if(s[s.length-1]==="%"&&(n[i]=!0),s=parseFloat(s),n[i]&&(s=s/100*255),s<0||s>255)return;r.push(Math.floor(s))}var o=n[1]||n[2]||n[3],l=n[1]&&n[2]&&n[3];if(o&&!l)return;var u=a[4];if(u!==void 0){if(u=parseFloat(u),u<0||u>1)return;r.push(u)}}return r},tl=function(e){return al[e.toLowerCase()]},rl=function(e){return(te(e)?e:null)||tl(e)||Ju(e)||el(e)||ju(e)},al={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},ts=function(e){for(var r=e.map,a=e.keys,n=a.length,i=0;i=e||x<0||h&&R>=i}function g(){var A=ai();if(y(A))return m(A);o=setTimeout(g,p(A))}function m(A){return o=void 0,c&&a?d(A):(a=n=void 0,s)}function b(){o!==void 0&&clearTimeout(o),u=0,a=l=n=o=void 0}function E(){return o===void 0?s:m(ai())}function M(){var A=ai(),x=y(A);if(a=arguments,n=this,l=A,x){if(o===void 0)return v(l);if(h)return clearTimeout(o),o=setTimeout(g,e),d(l)}return o===void 0&&(o=setTimeout(g,e)),s}return M.cancel=b,M.flush=E,M}var ln=Vl,ni=D?D.performance:null,us=ni&&ni.now?function(){return ni.now()}:function(){return Date.now()},_l=function(){if(D){if(D.requestAnimationFrame)return function(t){D.requestAnimationFrame(t)};if(D.mozRequestAnimationFrame)return function(t){D.mozRequestAnimationFrame(t)};if(D.webkitRequestAnimationFrame)return function(t){D.webkitRequestAnimationFrame(t)};if(D.msRequestAnimationFrame)return function(t){D.msRequestAnimationFrame(t)}}return function(t){t&&setTimeout(function(){t(us())},1e3/60)}}(),fn=function(e){return _l(e)},dr=us,Qr=9261,ls=65599,Oa=5381,fs=function(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qr,a=r,n;n=e.next(),!n.done;)a=a*ls+n.value|0;return a},Na=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qr;return r*ls+e|0},Ma=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oa;return(r<<5)+r+e|0},Ul=function(e,r){return e*2097152+r},Er=function(e){return e[0]*2097152+e[1]},hn=function(e,r){return[Na(e[0],r[0]),Ma(e[1],r[1])]},Yl=function(e,r){var a={value:0,done:!1},n=0,i=e.length,s={next:function(){return n=0&&!(e[n]===r&&(e.splice(n,1),a));n--);},oi=function(e){e.splice(0,e.length)},Ql=function(e,r){for(var a=0;a"u"?"undefined":ee(Set))!==jl?Set:ef,vn=function(e,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e===void 0||r===void 0||!_e(e)){xt("An element must have a core reference and parameters set");return}var n=r.group;if(n==null&&(r.data&&r.data.source!=null&&r.data.target!=null?n="edges":n="nodes"),n!=="nodes"&&n!=="edges"){xt("An element must be of type `nodes` or `edges`; you specified `"+n+"`");return}this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:r.data||{},position:r.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:n,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!r.selected,selectable:r.selectable===void 0?!0:!!r.selectable,locked:!!r.locked,grabbed:!1,grabbable:r.grabbable===void 0?!0:!!r.grabbable,pannable:r.pannable===void 0?n==="edges":!!r.pannable,active:!1,classes:new Jr,animation:{current:[],queue:[]},rscratch:{},scratch:r.scratch||{},edges:[],children:[],parent:r.parent&&r.parent.isNode()?r.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(i.position.x==null&&(i.position.x=0),i.position.y==null&&(i.position.y=0),r.renderedPosition){var s=r.renderedPosition,o=e.pan(),l=e.zoom();i.position={x:(s.x-o.x)/l,y:(s.y-o.y)/l}}var u=[];te(r.classes)?u=r.classes:j(r.classes)&&(u=r.classes.split(/\s+/));for(var f=0,h=u.length;fm?1:0},f=function(g,m,b,E,M){var A;if(b==null&&(b=0),M==null&&(M=a),b<0)throw new Error("lo must be non-negative");for(E==null&&(E=g.length);bF;0<=F?C++:C--)R.push(C);return R}.apply(this).reverse(),x=[],E=0,M=A.length;Ez;0<=z?++R:--R)I.push(s(g,b));return I},p=function(g,m,b,E){var M,A,x;for(E==null&&(E=a),M=g[b];b>m;){if(x=b-1>>1,A=g[x],E(M,A)<0){g[b]=A,b=x;continue}break}return g[b]=M},y=function(g,m,b){var E,M,A,x,R;for(b==null&&(b=a),M=g.length,R=m,A=g[m],E=2*m+1;E0;){var A=m.pop(),x=y(A),R=A.id();if(c[R]=x,x!==1/0)for(var C=A.neighborhood().intersect(v),F=0;F0)for(ie.unshift(Z);h[pe];){var se=h[pe];ie.unshift(se.edge),ie.unshift(se.node),ue=se.node,pe=ue.id()}return o.spawn(ie)}}}},nf={kruskal:function(e){e=e||function(b){return 1};for(var r=this.byGroup(),a=r.nodes,n=r.edges,i=a.length,s=new Array(i),o=a,l=function(E){for(var M=0;M0;){if(M(),x++,E===f){for(var R=[],C=i,F=f,z=g[F];R.unshift(C),z!=null&&R.unshift(z),C=y[F],C!=null;)F=C.id(),z=g[F];return{found:!0,distance:h[E],path:this.spawn(R),steps:x}}d[E]=!0;for(var I=b._private.edges,X=0;Xz&&(v[F]=z,m[F]=C,b[F]=M),!i){var I=C*f+R;!i&&v[I]>z&&(v[I]=z,m[I]=R,b[I]=M)}}}for(var X=0;X1&&arguments[1]!==void 0?arguments[1]:s,et=b(ke),We=[],Ye=et;;){if(Ye==null)return r.spawn();var Se=m(Ye),N=Se.edge,le=Se.pred;if(We.unshift(Ye[0]),Ye.same(Ge)&&We.length>0)break;N!=null&&We.unshift(N),Ye=le}return l.spawn(We)},A=0;A=0;f--){var h=u[f],c=h[1],d=h[2];(r[c]===o&&r[d]===l||r[c]===l&&r[d]===o)&&u.splice(f,1)}for(var v=0;vn;){var i=Math.floor(Math.random()*r.length);r=vf(i,e,r),a--}return r},df={kargerStein:function(){var e=this,r=this.byGroup(),a=r.nodes,n=r.edges;n.unmergeBy(function(ie){return ie.isLoop()});var i=a.length,s=n.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),l=Math.floor(i/cf);if(i<2){xt("At least 2 nodes are required for Karger-Stein algorithm");return}for(var u=[],f=0;f1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=1/0,i=r;i1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=-1/0,i=r;i1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=0,i=0,s=r;s1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;n?e=e.slice(r,a):(a0&&e.splice(0,r));for(var o=0,l=e.length-1;l>=0;l--){var u=e[l];s?isFinite(u)||(e[l]=-1/0,o++):e.splice(l,1)}i&&e.sort(function(c,d){return c-d});var f=e.length,h=Math.floor(f/2);return f%2!==0?e[h+1+o]:(e[h-1+o]+e[h+o])/2},Ef=function(e){return Math.PI*e/180},gn=function(e,r){return Math.atan2(r,e)-Math.PI/2},li=Math.log2||function(t){return Math.log(t)/Math.log(2)},Es=function(e){return e>0?1:e<0?-1:0},Pr=function(e,r){return Math.sqrt(Br(e,r))},Br=function(e,r){var a=r.x-e.x,n=r.y-e.y;return a*a+n*n},wf=function(e){for(var r=e.length,a=0,n=0;n=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(e.w!=null&&e.h!=null&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},Tf=function(e){return{x1:e.x1,x2:e.x2,w:e.w,y1:e.y1,y2:e.y2,h:e.h}},Cf=function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},Df=function(e,r){e.x1=Math.min(e.x1,r.x1),e.x2=Math.max(e.x2,r.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,r.y1),e.y2=Math.max(e.y2,r.y2),e.h=e.y2-e.y1},Sf=function(e,r,a){e.x1=Math.min(e.x1,r),e.x2=Math.max(e.x2,r),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,a),e.y2=Math.max(e.y2,a),e.h=e.y2-e.y1},pn=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.x1-=r,e.x2+=r,e.y1-=r,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},fi=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],a,n,i,s;if(r.length===1)a=n=i=s=r[0];else if(r.length===2)a=i=r[0],s=n=r[1];else if(r.length===4){var o=w(r,4);a=o[0],n=o[1],i=o[2],s=o[3]}return e.x1-=s,e.x2+=n,e.y1-=a,e.y2+=i,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},ws=function(e,r){e.x1=r.x1,e.y1=r.y1,e.x2=r.x2,e.y2=r.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},hi=function(e,r){return!(e.x1>r.x2||r.x1>e.x2||e.x2r.y2||r.y1>e.y2)},ta=function(e,r,a){return e.x1<=r&&r<=e.x2&&e.y1<=a&&a<=e.y2},Lf=function(e,r){return ta(e,r.x,r.y)},xs=function(e,r){return ta(e,r.x1,r.y1)&&ta(e,r.x2,r.y2)},Ts=function(e,r,a,n,i,s,o){var l=Fa(i,s),u=i/2,f=s/2,h;{var c=a-u+l-o,d=n-f-o,v=a+u-l+o,p=d;if(h=Tr(e,r,a,n,c,d,v,p,!1),h.length>0)return h}{var y=a+u+o,g=n-f+l-o,m=y,b=n+f-l+o;if(h=Tr(e,r,a,n,y,g,m,b,!1),h.length>0)return h}{var E=a-u+l-o,M=n+f+o,A=a+u-l+o,x=M;if(h=Tr(e,r,a,n,E,M,A,x,!1),h.length>0)return h}{var R=a-u-o,C=n-f+l-o,F=R,z=n+f-l+o;if(h=Tr(e,r,a,n,R,C,F,z,!1),h.length>0)return h}var I;{var X=a-u+l,B=n-f+l;if(I=Pa(e,r,a,n,X,B,l+o),I.length>0&&I[0]<=X&&I[1]<=B)return[I[0],I[1]]}{var re=a+u-l,W=n-f+l;if(I=Pa(e,r,a,n,re,W,l+o),I.length>0&&I[0]>=re&&I[1]<=W)return[I[0],I[1]]}{var Z=a+u-l,ie=n+f-l;if(I=Pa(e,r,a,n,Z,ie,l+o),I.length>0&&I[0]>=Z&&I[1]>=ie)return[I[0],I[1]]}{var ue=a-u+l,pe=n+f-l;if(I=Pa(e,r,a,n,ue,pe,l+o),I.length>0&&I[0]<=ue&&I[1]>=pe)return[I[0],I[1]]}return[]},Af=function(e,r,a,n,i,s,o){var l=o,u=Math.min(a,i),f=Math.max(a,i),h=Math.min(n,s),c=Math.max(n,s);return u-l<=e&&e<=f+l&&h-l<=r&&r<=c+l},Of=function(e,r,a,n,i,s,o,l,u){var f={x1:Math.min(a,o,i)-u,x2:Math.max(a,o,i)+u,y1:Math.min(n,l,s)-u,y2:Math.max(n,l,s)+u};return!(ef.x2||rf.y2)},Nf=function(e,r,a,n){a-=n;var i=r*r-4*e*a;if(i<0)return[];var s=Math.sqrt(i),o=2*e,l=(-r+s)/o,u=(-r-s)/o;return[l,u]},Mf=function(e,r,a,n,i){var s=1e-5;e===0&&(e=s),r/=e,a/=e,n/=e;var o,l,u,f,h,c,d,v;if(l=(3*a-r*r)/9,u=-(27*n)+r*(9*a-2*(r*r)),u/=54,o=l*l*l+u*u,i[1]=0,d=r/3,o>0){h=u+Math.sqrt(o),h=h<0?-Math.pow(-h,1/3):Math.pow(h,1/3),c=u-Math.sqrt(o),c=c<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-d+h+c,d+=(h+c)/2,i[4]=i[2]=-d,d=Math.sqrt(3)*(-c+h)/2,i[3]=d,i[5]=-d;return}if(i[5]=i[3]=0,o===0){v=u<0?-Math.pow(-u,1/3):Math.pow(u,1/3),i[0]=-d+2*v,i[4]=i[2]=-(v+d);return}l=-l,f=l*l*l,f=Math.acos(u/Math.sqrt(f)),v=2*Math.sqrt(l),i[0]=-d+v*Math.cos(f/3),i[2]=-d+v*Math.cos((f+2*Math.PI)/3),i[4]=-d+v*Math.cos((f+4*Math.PI)/3)},If=function(e,r,a,n,i,s,o,l){var u=1*a*a-4*a*i+2*a*o+4*i*i-4*i*o+o*o+n*n-4*n*s+2*n*l+4*s*s-4*s*l+l*l,f=1*9*a*i-3*a*a-3*a*o-6*i*i+3*i*o+9*n*s-3*n*n-3*n*l-6*s*s+3*s*l,h=1*3*a*a-6*a*i+a*o-a*e+2*i*i+2*i*e-o*e+3*n*n-6*n*s+n*l-n*r+2*s*s+2*s*r-l*r,c=1*a*i-a*a+a*e-i*e+n*s-n*n+n*r-s*r,d=[];Mf(u,f,h,c,d);for(var v=1e-7,p=[],y=0;y<6;y+=2)Math.abs(d[y+1])=0&&d[y]<=1&&p.push(d[y]);p.push(1),p.push(0);for(var g=-1,m,b,E,M=0;M=0?Eu?(e-i)*(e-i)+(r-s)*(r-s):f-c},Yt=function(e,r,a){for(var n,i,s,o,l,u=0,f=0;f=e&&e>=s||n<=e&&e<=s)l=(e-n)/(s-n)*(o-i)+i,l>r&&u++;else continue;return u%2!==0},gr=function(e,r,a,n,i,s,o,l,u){var f=new Array(a.length),h;l[0]!=null?(h=Math.atan(l[1]/l[0]),l[0]<0?h=h+Math.PI/2:h=-h-Math.PI/2):h=l;for(var c=Math.cos(-h),d=Math.sin(-h),v=0;v0){var y=Ds(f,-u);p=Cs(y)}else p=f;return Yt(e,r,p)},kf=function(e,r,a,n,i,s,o){for(var l=new Array(a.length),u=s/2,f=o/2,h=di(s,o),c=h*h,d=0;d=0&&y<=1&&m.push(y),g>=0&&g<=1&&m.push(g),m.length===0)return[];var b=m[0]*l[0]+e,E=m[0]*l[1]+r;if(m.length>1){if(m[0]==m[1])return[b,E];var M=m[1]*l[0]+e,A=m[1]*l[1]+r;return[b,E,M,A]}else return[b,E]},ci=function(e,r,a){return r<=e&&e<=a||a<=e&&e<=r?e:e<=r&&r<=a||a<=r&&r<=e?r:a},Tr=function(e,r,a,n,i,s,o,l,u){var f=e-i,h=a-e,c=o-i,d=r-s,v=n-r,p=l-s,y=c*d-p*f,g=h*d-v*f,m=p*h-c*v;if(m!==0){var b=y/m,E=g/m,M=.001,A=0-M,x=1+M;return A<=b&&b<=x&&A<=E&&E<=x?[e+b*h,r+b*v]:u?[e+b*h,r+b*v]:[]}else return y===0||g===0?ci(e,a,o)===o?[o,l]:ci(e,a,i)===i?[i,s]:ci(i,o,a)===a?[a,n]:[]:[]},Ba=function(e,r,a,n,i,s,o,l){var u=[],f,h=new Array(a.length),c=!0;s==null&&(c=!1);var d;if(c){for(var v=0;v0){var p=Ds(h,-l);d=Cs(p)}else d=h}else d=a;for(var y,g,m,b,E=0;E2){for(var W=[u[0],u[1]],Z=Math.pow(W[0]-e,2)+Math.pow(W[1]-r,2),ie=1;ief&&(f=E)},get:function(b){return u[b]}},c=0;c0?W=re.edgesTo(B)[0]:W=B.edgesTo(re)[0];var Z=n(W);B=B.id(),R[B]>R[I]+Z&&(R[B]=R[I]+Z,C.nodes.indexOf(B)<0?C.push(B):C.updateItem(B),x[B]=0,A[B]=[]),R[B]==R[I]+Z&&(x[B]=x[B]+x[I],A[B].push(I))}else for(var ie=0;ie0;){for(var de=M.pop(),we=0;we0&&o.push(a[l]);o.length!==0&&i.push(n.collection(o))}return i},Zf=function(e,r){for(var a=0;a5&&arguments[5]!==void 0?arguments[5]:jf,o=n,l,u,f=0;f=2?za(e,r,a,0,ks,eh):za(e,r,a,0,Rs)},squaredEuclidean:function(e,r,a){return za(e,r,a,0,ks)},manhattan:function(e,r,a){return za(e,r,a,0,Rs)},max:function(e,r,a){return za(e,r,a,-1/0,th)}};na["squared-euclidean"]=na.squaredEuclidean,na.squaredeuclidean=na.squaredEuclidean;function mn(t,e,r,a,n,i){var s;return Y(t)?s=t:s=na[t]||na.euclidean,e===0&&Y(t)?s(n,i):s(e,r,a,n,i)}var rh=Lt({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),yi=function(e){return rh(e)},bn=function(e,r,a,n,i){var s=i!=="kMedoids",o=s?function(h){return a[h]}:function(h){return n[h](a)},l=function(c){return n[c](r)},u=a,f=r;return mn(e,n.length,o,l,u,f)},mi=function(e,r,a){for(var n=a.length,i=new Array(n),s=new Array(n),o=new Array(r),l=null,u=0;ua)return!1}return!0},ih=function(e,r,a){for(var n=0;no&&(o=r[u][f],l=f);i[l].push(e[u])}for(var h=0;h=i.threshold||i.mode==="dendrogram"&&e.length===1)return!1;var v=r[s],p=r[n[s]],y;i.mode==="dendrogram"?y={left:v,right:p,key:v.key}:y={value:v.value.concat(p.value),key:v.key},e[v.index]=y,e.splice(p.index,1),r[v.key]=y;for(var g=0;ga[p.key][m.key]&&(l=a[p.key][m.key])):i.linkage==="max"?(l=a[v.key][m.key],a[v.key][m.key]0&&n.push(i);return n},_s=function(e,r,a){for(var n=[],i=0;io&&(s=u,o=r[i*e+u])}s>0&&n.push(s)}for(var f=0;fu&&(l=f,u=h)}a[i]=s[l]}return n=_s(e,r,a),n},Us=function(e){for(var r=this.cy(),a=this.nodes(),n=bh(e),i={},s=0;s=z?(I=z,z=B,X=re):B>I&&(I=B);for(var W=0;W0?1:0;x[C%n.minIterations*o+de]=we,se+=we}if(se>0&&(C>=n.minIterations-1||C==n.maxIterations-1)){for(var Te=0,Ee=0;Ee1||A>1)&&(o=!0),h[b]=[],m.outgoers().forEach(function(R){R.isEdge()&&h[b].push(R.id())})}else c[b]=[void 0,m.target().id()]}):s.forEach(function(m){var b=m.id();if(m.isNode()){var E=m.degree(!0);E%2&&(l?u?o=!0:u=b:l=b),h[b]=[],m.connectedEdges().forEach(function(M){return h[b].push(M.id())})}else c[b]=[m.source().id(),m.target().id()]});var d={found:!1,trail:void 0};if(o)return d;if(u&&l)if(i){if(f&&u!=f)return d;f=u}else{if(f&&u!=f&&l!=f)return d;f||(f=u)}else f||(f=s[0].id());var v=function(b){for(var E=b,M=[b],A,x,R;h[E].length;)A=h[E].shift(),x=c[A][0],R=c[A][1],E!=R?(h[R]=h[R].filter(function(C){return C!=A}),E=R):!i&&E!=x&&(h[x]=h[x].filter(function(C){return C!=A}),E=x),M.unshift(A),M.unshift(E);return M},p=[],y=[];for(y=v(f);y.length!=1;)h[y[0]].length==0?(p.unshift(s.getElementById(y.shift())),p.unshift(s.getElementById(y.shift()))):y=v(y.shift()).concat(y);p.unshift(s.getElementById(y.shift()));for(var g in h)if(h[g].length)return d;return d.found=!0,d.trail=this.spawn(p,!0),d}},wn=function(){var e=this,r={},a=0,n=0,i=[],s=[],o={},l=function(c,d){for(var v=s.length-1,p=[],y=e.spawn();s[v].x!=c||s[v].y!=d;)p.push(s.pop().edge),v--;p.push(s.pop().edge),p.forEach(function(g){var m=g.connectedNodes().intersection(e);y.merge(g),m.forEach(function(b){var E=b.id(),M=b.connectedEdges().intersection(e);y.merge(b),r[E].cutVertex?y.merge(M.filter(function(A){return A.isLoop()})):y.merge(M)})}),i.push(y)},u=function h(c,d,v){c===v&&(n+=1),r[d]={id:a,low:a++,cutVertex:!1};var p=e.getElementById(d).connectedEdges().intersection(e);if(p.size()===0)i.push(e.spawn(e.getElementById(d)));else{var y,g,m,b;p.forEach(function(E){y=E.source().id(),g=E.target().id(),m=y===d?g:y,m!==v&&(b=E.id(),o[b]||(o[b]=!0,s.push({x:d,y:m,edge:E})),m in r?r[d].low=Math.min(r[d].low,r[m].id):(h(c,m,d),r[d].low=Math.min(r[d].low,r[m].low),r[d].id<=r[m].low&&(r[d].cutVertex=!0,l(d,m))))})}};e.forEach(function(h){if(h.isNode()){var c=h.id();c in r||(n=0,u(c,c),r[c].cutVertex=n>1)}});var f=Object.keys(r).filter(function(h){return r[h].cutVertex}).map(function(h){return e.getElementById(h)});return{cut:e.spawn(f),components:i}},Lh={hopcroftTarjanBiconnected:wn,htbc:wn,htb:wn,hopcroftTarjanBiconnectedComponents:wn},xn=function(){var e=this,r={},a=0,n=[],i=[],s=e.spawn(e),o=function l(u){i.push(u),r[u]={index:a,low:a++,explored:!1};var f=e.getElementById(u).connectedEdges().intersection(e);if(f.forEach(function(p){var y=p.target().id();y!==u&&(y in r||l(y),r[y].explored||(r[u].low=Math.min(r[u].low,r[y].low)))}),r[u].index===r[u].low){for(var h=e.spawn();;){var c=i.pop();if(h.merge(e.getElementById(c)),r[c].low=r[u].index,r[c].explored=!0,c===u)break}var d=h.edgesWith(h),v=h.merge(d);n.push(v),s=s.difference(v)}};return e.forEach(function(l){if(l.isNode()){var u=l.id();u in r||o(u)}}),{cut:s,components:n}},Ah={tarjanStronglyConnected:xn,tsc:xn,tscc:xn,tarjanStronglyConnectedComponents:xn},Ys={};[Ia,af,nf,of,lf,hf,df,Gf,ra,aa,pi,Jf,hh,yh,Ch,Sh,Lh,Ah].forEach(function(t){Ue(Ys,t)});/*! Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com) diff --git a/docs/.vuepress/dist/assets/pieDiagram-db1a8a21-40c35411.js b/docs/.vuepress/dist/assets/pieDiagram-db1a8a21-c6883eee.js similarity index 98% rename from docs/.vuepress/dist/assets/pieDiagram-db1a8a21-40c35411.js rename to docs/.vuepress/dist/assets/pieDiagram-db1a8a21-c6883eee.js index 2907590..612715a 100644 --- a/docs/.vuepress/dist/assets/pieDiagram-db1a8a21-40c35411.js +++ b/docs/.vuepress/dist/assets/pieDiagram-db1a8a21-c6883eee.js @@ -1,4 +1,4 @@ -import{al as it,c as U,s as gt,g as dt,v as mt,x as _t,a as vt,b as kt,m as bt,k as xt,l as B,z as St,h as nt,i as wt,am as At}from"./mermaid.core-00b8b54a.js";import{i as Et}from"./init-77b53fdd.js";import{a as Dt}from"./array-9f3ba611.js";import{c as j}from"./path-53f90ab3.js";import{a as lt}from"./arc-9d129129.js";import"./commonjsHelpers-725317a4.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";class ct extends Map{constructor(s,l=It){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:l}}),s!=null)for(const[o,p]of s)this.set(o,p)}get(s){return super.get(ot(this,s))}has(s){return super.has(ot(this,s))}set(s,l){return super.set(Tt(this,s),l)}delete(s){return super.delete($t(this,s))}}function ot({_intern:t,_key:s},l){const o=s(l);return t.has(o)?t.get(o):l}function Tt({_intern:t,_key:s},l){const o=s(l);return t.has(o)?t.get(o):(t.set(o,l),l)}function $t({_intern:t,_key:s},l){const o=s(l);return t.has(o)&&(l=t.get(o),t.delete(o)),l}function It(t){return t!==null&&typeof t=="object"?t.valueOf():t}const ht=Symbol("implicit");function ut(){var t=new ct,s=[],l=[],o=ht;function p(g){let h=t.get(g);if(h===void 0){if(o!==ht)return o;t.set(g,h=s.push(g)-1)}return l[h%l.length]}return p.domain=function(g){if(!arguments.length)return s.slice();s=[],t=new ct;for(const h of g)t.has(h)||t.set(h,s.push(h)-1);return p},p.range=function(g){return arguments.length?(l=Array.from(g),p):l.slice()},p.unknown=function(g){return arguments.length?(o=g,p):o},p.copy=function(){return ut(s,l).unknown(o)},Et.apply(p,arguments),p}function Vt(t,s){return st?1:s>=t?0:NaN}function Pt(t){return t}function Ot(){var t=Pt,s=Vt,l=null,o=j(0),p=j(it),g=j(0);function h(c){var d,y=(c=Dt(c)).length,w,L,N=0,x=new Array(y),A=new Array(y),$=+o.apply(this,arguments),D=Math.min(it,Math.max(-it,p.apply(this,arguments)-$)),W,C=Math.min(Math.abs(D)/y,g.apply(this,arguments)),I=C*(D<0?-1:1),v;for(d=0;d0&&(N+=v);for(s!=null?x.sort(function(E,k){return s(A[E],A[k])}):l!=null&&x.sort(function(E,k){return l(c[E],c[k])}),d=0,L=N?(D-y*I)/N:0;d0?v*L:0)+I,A[w]={data:c[w],index:d,value:v,startAngle:$,endAngle:W,padAngle:C};return A}return h.value=function(c){return arguments.length?(t=typeof c=="function"?c:j(+c),h):t},h.sortValues=function(c){return arguments.length?(s=c,l=null,h):s},h.sort=function(c){return arguments.length?(l=c,s=null,h):l},h.startAngle=function(c){return arguments.length?(o=typeof c=="function"?c:j(+c),h):o},h.endAngle=function(c){return arguments.length?(p=typeof c=="function"?c:j(+c),h):p},h.padAngle=function(c){return arguments.length?(g=typeof c=="function"?c:j(+c),h):g},h}var rt=function(){var t=function(k,e,i,a){for(i=i||{},a=k.length;a--;i[k[a]]=e);return i},s=[1,4],l=[1,5],o=[1,6],p=[1,7],g=[1,9],h=[1,11,13,15,17,19,20,26,27,28,29],c=[2,5],d=[1,6,11,13,15,17,19,20,26,27,28,29],y=[26,27,28],w=[2,8],L=[1,18],N=[1,19],x=[1,20],A=[1,21],$=[1,22],D=[1,23],W=[1,28],C=[6,26,27,28,29],I={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,openDirective:21,typeDirective:22,closeDirective:23,":":24,argDirective:25,NEWLINE:26,";":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",24:":",26:"NEWLINE",27:";",28:"EOF",29:"open_directive",30:"type_directive",31:"arg_directive",32:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(e,i,a,n,u,r,f){var m=r.length-1;switch(u){case 4:n.setShowData(!0);break;case 7:this.$=r[m-1];break;case 9:n.addSection(r[m-1],n.cleanupValue(r[m]));break;case 10:this.$=r[m].trim(),n.setDiagramTitle(this.$);break;case 11:this.$=r[m].trim(),n.setAccTitle(this.$);break;case 12:case 13:this.$=r[m].trim(),n.setAccDescription(this.$);break;case 14:n.addSection(r[m].substr(8)),this.$=r[m].substr(8);break;case 21:n.parseDirective("%%{","open_directive");break;case 22:n.parseDirective(r[m],"type_directive");break;case 23:r[m]=r[m].trim().replace(/'/g,'"'),n.parseDirective(r[m],"arg_directive");break;case 24:n.parseDirective("}%%","close_directive","pie");break}},table:[{3:1,4:2,5:3,6:s,21:8,26:l,27:o,28:p,29:g},{1:[3]},{3:10,4:2,5:3,6:s,21:8,26:l,27:o,28:p,29:g},{3:11,4:2,5:3,6:s,21:8,26:l,27:o,28:p,29:g},t(h,c,{7:12,8:[1,13]}),t(d,[2,18]),t(d,[2,19]),t(d,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},t(y,w,{21:8,9:16,10:17,5:24,1:[2,3],11:L,13:N,15:x,17:A,19:$,20:D,29:g}),t(h,c,{7:25}),{23:26,24:[1,27],32:W},t([24,32],[2,22]),t(h,[2,6]),{4:29,26:l,27:o,28:p},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},t(y,[2,13]),t(y,[2,14]),t(y,[2,15]),t(y,w,{21:8,9:16,10:17,5:24,1:[2,4],11:L,13:N,15:x,17:A,19:$,20:D,29:g}),t(C,[2,16]),{25:34,31:[1,35]},t(C,[2,24]),t(h,[2,7]),t(y,[2,9]),t(y,[2,10]),t(y,[2,11]),t(y,[2,12]),{23:36,32:W},{32:[2,23]},t(C,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(e,i){if(i.recoverable)this.trace(e);else{var a=new Error(e);throw a.hash=i,a}},parse:function(e){var i=this,a=[0],n=[],u=[null],r=[],f=this.table,m="",F=0,q=0,Q=2,G=1,ft=r.slice.call(arguments,1),_=Object.create(this.lexer),M={yy:{}};for(var X in this.yy)Object.prototype.hasOwnProperty.call(this.yy,X)&&(M.yy[X]=this.yy[X]);_.setInput(e,M.yy),M.yy.lexer=_,M.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Z=_.yylloc;r.push(Z);var pt=_.options&&_.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function yt(){var P;return P=n.pop()||_.lex()||G,typeof P!="number"&&(P instanceof Array&&(n=P,P=n.pop()),P=i.symbols_[P]||P),P}for(var b,z,S,tt,R={},H,V,at,J;;){if(z=a[a.length-1],this.defaultActions[z]?S=this.defaultActions[z]:((b===null||typeof b>"u")&&(b=yt()),S=f[z]&&f[z][b]),typeof S>"u"||!S.length||!S[0]){var et="";J=[];for(H in f[z])this.terminals_[H]&&H>Q&&J.push("'"+this.terminals_[H]+"'");_.showPosition?et="Parse error on line "+(F+1)+`: +import{al as it,c as U,s as gt,g as dt,v as mt,x as _t,a as vt,b as kt,m as bt,k as xt,l as B,z as St,h as nt,i as wt,am as At}from"./mermaid.core-5f04c634.js";import{i as Et}from"./init-77b53fdd.js";import{a as Dt}from"./array-9f3ba611.js";import{c as j}from"./path-53f90ab3.js";import{a as lt}from"./arc-e99d9a62.js";import"./commonjsHelpers-725317a4.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";class ct extends Map{constructor(s,l=It){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:l}}),s!=null)for(const[o,p]of s)this.set(o,p)}get(s){return super.get(ot(this,s))}has(s){return super.has(ot(this,s))}set(s,l){return super.set(Tt(this,s),l)}delete(s){return super.delete($t(this,s))}}function ot({_intern:t,_key:s},l){const o=s(l);return t.has(o)?t.get(o):l}function Tt({_intern:t,_key:s},l){const o=s(l);return t.has(o)?t.get(o):(t.set(o,l),l)}function $t({_intern:t,_key:s},l){const o=s(l);return t.has(o)&&(l=t.get(o),t.delete(o)),l}function It(t){return t!==null&&typeof t=="object"?t.valueOf():t}const ht=Symbol("implicit");function ut(){var t=new ct,s=[],l=[],o=ht;function p(g){let h=t.get(g);if(h===void 0){if(o!==ht)return o;t.set(g,h=s.push(g)-1)}return l[h%l.length]}return p.domain=function(g){if(!arguments.length)return s.slice();s=[],t=new ct;for(const h of g)t.has(h)||t.set(h,s.push(h)-1);return p},p.range=function(g){return arguments.length?(l=Array.from(g),p):l.slice()},p.unknown=function(g){return arguments.length?(o=g,p):o},p.copy=function(){return ut(s,l).unknown(o)},Et.apply(p,arguments),p}function Vt(t,s){return st?1:s>=t?0:NaN}function Pt(t){return t}function Ot(){var t=Pt,s=Vt,l=null,o=j(0),p=j(it),g=j(0);function h(c){var d,y=(c=Dt(c)).length,w,L,N=0,x=new Array(y),A=new Array(y),$=+o.apply(this,arguments),D=Math.min(it,Math.max(-it,p.apply(this,arguments)-$)),W,C=Math.min(Math.abs(D)/y,g.apply(this,arguments)),I=C*(D<0?-1:1),v;for(d=0;d0&&(N+=v);for(s!=null?x.sort(function(E,k){return s(A[E],A[k])}):l!=null&&x.sort(function(E,k){return l(c[E],c[k])}),d=0,L=N?(D-y*I)/N:0;d0?v*L:0)+I,A[w]={data:c[w],index:d,value:v,startAngle:$,endAngle:W,padAngle:C};return A}return h.value=function(c){return arguments.length?(t=typeof c=="function"?c:j(+c),h):t},h.sortValues=function(c){return arguments.length?(s=c,l=null,h):s},h.sort=function(c){return arguments.length?(l=c,s=null,h):l},h.startAngle=function(c){return arguments.length?(o=typeof c=="function"?c:j(+c),h):o},h.endAngle=function(c){return arguments.length?(p=typeof c=="function"?c:j(+c),h):p},h.padAngle=function(c){return arguments.length?(g=typeof c=="function"?c:j(+c),h):g},h}var rt=function(){var t=function(k,e,i,a){for(i=i||{},a=k.length;a--;i[k[a]]=e);return i},s=[1,4],l=[1,5],o=[1,6],p=[1,7],g=[1,9],h=[1,11,13,15,17,19,20,26,27,28,29],c=[2,5],d=[1,6,11,13,15,17,19,20,26,27,28,29],y=[26,27,28],w=[2,8],L=[1,18],N=[1,19],x=[1,20],A=[1,21],$=[1,22],D=[1,23],W=[1,28],C=[6,26,27,28,29],I={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,openDirective:21,typeDirective:22,closeDirective:23,":":24,argDirective:25,NEWLINE:26,";":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",24:":",26:"NEWLINE",27:";",28:"EOF",29:"open_directive",30:"type_directive",31:"arg_directive",32:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(e,i,a,n,u,r,f){var m=r.length-1;switch(u){case 4:n.setShowData(!0);break;case 7:this.$=r[m-1];break;case 9:n.addSection(r[m-1],n.cleanupValue(r[m]));break;case 10:this.$=r[m].trim(),n.setDiagramTitle(this.$);break;case 11:this.$=r[m].trim(),n.setAccTitle(this.$);break;case 12:case 13:this.$=r[m].trim(),n.setAccDescription(this.$);break;case 14:n.addSection(r[m].substr(8)),this.$=r[m].substr(8);break;case 21:n.parseDirective("%%{","open_directive");break;case 22:n.parseDirective(r[m],"type_directive");break;case 23:r[m]=r[m].trim().replace(/'/g,'"'),n.parseDirective(r[m],"arg_directive");break;case 24:n.parseDirective("}%%","close_directive","pie");break}},table:[{3:1,4:2,5:3,6:s,21:8,26:l,27:o,28:p,29:g},{1:[3]},{3:10,4:2,5:3,6:s,21:8,26:l,27:o,28:p,29:g},{3:11,4:2,5:3,6:s,21:8,26:l,27:o,28:p,29:g},t(h,c,{7:12,8:[1,13]}),t(d,[2,18]),t(d,[2,19]),t(d,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},t(y,w,{21:8,9:16,10:17,5:24,1:[2,3],11:L,13:N,15:x,17:A,19:$,20:D,29:g}),t(h,c,{7:25}),{23:26,24:[1,27],32:W},t([24,32],[2,22]),t(h,[2,6]),{4:29,26:l,27:o,28:p},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},t(y,[2,13]),t(y,[2,14]),t(y,[2,15]),t(y,w,{21:8,9:16,10:17,5:24,1:[2,4],11:L,13:N,15:x,17:A,19:$,20:D,29:g}),t(C,[2,16]),{25:34,31:[1,35]},t(C,[2,24]),t(h,[2,7]),t(y,[2,9]),t(y,[2,10]),t(y,[2,11]),t(y,[2,12]),{23:36,32:W},{32:[2,23]},t(C,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(e,i){if(i.recoverable)this.trace(e);else{var a=new Error(e);throw a.hash=i,a}},parse:function(e){var i=this,a=[0],n=[],u=[null],r=[],f=this.table,m="",F=0,q=0,Q=2,G=1,ft=r.slice.call(arguments,1),_=Object.create(this.lexer),M={yy:{}};for(var X in this.yy)Object.prototype.hasOwnProperty.call(this.yy,X)&&(M.yy[X]=this.yy[X]);_.setInput(e,M.yy),M.yy.lexer=_,M.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Z=_.yylloc;r.push(Z);var pt=_.options&&_.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function yt(){var P;return P=n.pop()||_.lex()||G,typeof P!="number"&&(P instanceof Array&&(n=P,P=n.pop()),P=i.symbols_[P]||P),P}for(var b,z,S,tt,R={},H,V,at,J;;){if(z=a[a.length-1],this.defaultActions[z]?S=this.defaultActions[z]:((b===null||typeof b>"u")&&(b=yt()),S=f[z]&&f[z][b]),typeof S>"u"||!S.length||!S[0]){var et="";J=[];for(H in f[z])this.terminals_[H]&&H>Q&&J.push("'"+this.terminals_[H]+"'");_.showPosition?et="Parse error on line "+(F+1)+`: `+_.showPosition()+` Expecting `+J.join(", ")+", got '"+(this.terminals_[b]||b)+"'":et="Parse error on line "+(F+1)+": Unexpected "+(b==G?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(et,{text:_.match,token:this.terminals_[b]||b,line:_.yylineno,loc:Z,expected:J})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+b);switch(S[0]){case 1:a.push(b),u.push(_.yytext),r.push(_.yylloc),a.push(S[1]),b=null,q=_.yyleng,m=_.yytext,F=_.yylineno,Z=_.yylloc;break;case 2:if(V=this.productions_[S[1]][1],R.$=u[u.length-V],R._$={first_line:r[r.length-(V||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(V||1)].first_column,last_column:r[r.length-1].last_column},pt&&(R._$.range=[r[r.length-(V||1)].range[0],r[r.length-1].range[1]]),tt=this.performAction.apply(R,[m,q,F,M.yy,S[1],u,r].concat(ft)),typeof tt<"u")return tt;V&&(a=a.slice(0,-1*V*2),u=u.slice(0,-1*V),r=r.slice(0,-1*V)),a.push(this.productions_[S[1]][0]),u.push(R.$),r.push(R._$),at=f[a[a.length-2]][a[a.length-1]],a.push(at);break;case 3:return!0}}return!0}},v=function(){var k={EOF:1,parseError:function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},setInput:function(e,i){return this.yy=i||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e;var i=e.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var i=e.length,a=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===n.length?this.yylloc.first_column:0)+n[n.length-a.length].length-a[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),i=new Array(e.length+1).join("-");return e+this.upcomingInput()+` diff --git a/docs/.vuepress/dist/assets/requirementDiagram-b9649942-c8130d61.js b/docs/.vuepress/dist/assets/requirementDiagram-b9649942-7203d93f.js similarity index 99% rename from docs/.vuepress/dist/assets/requirementDiagram-b9649942-c8130d61.js rename to docs/.vuepress/dist/assets/requirementDiagram-b9649942-7203d93f.js index 163982e..f124e87 100644 --- a/docs/.vuepress/dist/assets/requirementDiagram-b9649942-c8130d61.js +++ b/docs/.vuepress/dist/assets/requirementDiagram-b9649942-7203d93f.js @@ -1,4 +1,4 @@ -import{c as ve,s as Fe,g as Me,b as Pe,a as Ye,m as Ue,l as xe,z as Be,h as oe,i as Qe,k as Te}from"./mermaid.core-00b8b54a.js";import{G as He,l as We}from"./layout-6fd5c641.js";import{l as Ke}from"./line-93633409.js";import"./commonjsHelpers-725317a4.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";var he=function(){var e=function(q,r,s,l){for(s=s||{},l=q.length;l--;s[q[l]]=r);return s},t=[1,3],a=[1,5],c=[1,6],d=[1,7],u=[1,8],p=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],h=[1,22],o=[2,13],g=[1,26],R=[1,27],v=[1,28],S=[1,29],T=[1,30],x=[1,31],A=[1,24],N=[1,32],w=[1,33],pe=[1,36],F=[71,72],_e=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],fe=[1,56],ye=[1,57],ge=[1,58],Ee=[1,59],Re=[1,60],me=[1,61],Ie=[1,62],O=[62,63],M=[1,74],P=[1,70],Y=[1,71],U=[1,72],B=[1,73],Q=[1,75],j=[1,79],X=[1,80],J=[1,77],Z=[1,78],m=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],re={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",39:"STRUCT_STOP",40:"REQUIREMENT",41:"FUNCTIONAL_REQUIREMENT",42:"INTERFACE_REQUIREMENT",43:"PERFORMANCE_REQUIREMENT",44:"PHYSICAL_REQUIREMENT",45:"DESIGN_CONSTRAINT",46:"LOW_RISK",47:"MED_RISK",48:"HIGH_RISK",49:"VERIFY_ANALYSIS",50:"VERIFY_DEMONSTRATION",51:"VERIFY_INSPECTION",52:"VERIFY_TEST",53:"ELEMENT",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(r,s,l,i,f,n,K){var _=n.length-1;switch(f){case 6:this.$=n[_].trim(),i.setAccTitle(this.$);break;case 7:case 8:this.$=n[_].trim(),i.setAccDescription(this.$);break;case 9:i.parseDirective("%%{","open_directive");break;case 10:i.parseDirective(n[_],"type_directive");break;case 11:n[_]=n[_].trim().replace(/'/g,'"'),i.parseDirective(n[_],"arg_directive");break;case 12:i.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:i.addRequirement(n[_-3],n[_-4]);break;case 20:i.setNewReqId(n[_-2]);break;case 21:i.setNewReqText(n[_-2]);break;case 22:i.setNewReqRisk(n[_-2]);break;case 23:i.setNewReqVerifyMethod(n[_-2]);break;case 26:this.$=i.RequirementType.REQUIREMENT;break;case 27:this.$=i.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=i.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=i.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=i.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=i.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=i.RiskLevel.LOW_RISK;break;case 33:this.$=i.RiskLevel.MED_RISK;break;case 34:this.$=i.RiskLevel.HIGH_RISK;break;case 35:this.$=i.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=i.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=i.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=i.VerifyType.VERIFY_TEST;break;case 39:i.addElement(n[_-3]);break;case 40:i.setNewElementType(n[_-2]);break;case 41:i.setNewElementDocRef(n[_-2]);break;case 44:i.addRelationship(n[_-2],n[_],n[_-4]);break;case 45:i.addRelationship(n[_-2],n[_-4],n[_]);break;case 46:this.$=i.Relationships.CONTAINS;break;case 47:this.$=i.Relationships.COPIES;break;case 48:this.$=i.Relationships.DERIVES;break;case 49:this.$=i.Relationships.SATISFIES;break;case 50:this.$=i.Relationships.VERIFIES;break;case 51:this.$=i.Relationships.REFINES;break;case 52:this.$=i.Relationships.TRACES;break}},table:[{3:1,4:2,6:t,9:4,14:a,16:c,18:d,19:u},{1:[3]},{3:10,4:2,5:[1,9],6:t,9:4,14:a,16:c,18:d,19:u},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},e(p,[2,8]),{20:[2,9]},{3:16,4:2,6:t,9:4,14:a,16:c,18:d,19:u},{1:[2,2]},{4:21,5:h,7:17,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:g,41:R,42:v,43:S,44:T,45:x,53:A,71:N,72:w},{11:34,12:[1,35],22:pe},e([12,22],[2,10]),e(p,[2,6]),e(p,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:h,7:38,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:g,41:R,42:v,43:S,44:T,45:x,53:A,71:N,72:w},{4:21,5:h,7:39,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:g,41:R,42:v,43:S,44:T,45:x,53:A,71:N,72:w},{4:21,5:h,7:40,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:g,41:R,42:v,43:S,44:T,45:x,53:A,71:N,72:w},{4:21,5:h,7:41,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:g,41:R,42:v,43:S,44:T,45:x,53:A,71:N,72:w},{4:21,5:h,7:42,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:g,41:R,42:v,43:S,44:T,45:x,53:A,71:N,72:w},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},e(F,[2,26]),e(F,[2,27]),e(F,[2,28]),e(F,[2,29]),e(F,[2,30]),e(F,[2,31]),e(_e,[2,55]),e(_e,[2,56]),e(p,[2,4]),{13:51,21:[1,52]},e(p,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:fe,65:ye,66:ge,67:Ee,68:Re,69:me,70:Ie},{61:63,64:fe,65:ye,66:ge,67:Ee,68:Re,69:me,70:Ie},{11:64,22:pe},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},e(O,[2,46]),e(O,[2,47]),e(O,[2,48]),e(O,[2,49]),e(O,[2,50]),e(O,[2,51]),e(O,[2,52]),{63:[1,68]},e(p,[2,5]),{5:M,29:69,30:P,33:Y,35:U,37:B,39:Q},{5:j,39:X,55:76,56:J,58:Z},{32:81,71:N,72:w},{32:82,71:N,72:w},e(m,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:M,29:87,30:P,33:Y,35:U,37:B,39:Q},e(m,[2,25]),e(m,[2,39]),{31:[1,88]},{31:[1,89]},{5:j,39:X,55:90,56:J,58:Z},e(m,[2,43]),e(m,[2,44]),e(m,[2,45]),{32:91,71:N,72:w},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},e(m,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},e(m,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:M,29:116,30:P,33:Y,35:U,37:B,39:Q},{5:M,29:117,30:P,33:Y,35:U,37:B,39:Q},{5:M,29:118,30:P,33:Y,35:U,37:B,39:Q},{5:M,29:119,30:P,33:Y,35:U,37:B,39:Q},{5:j,39:X,55:120,56:J,58:Z},{5:j,39:X,55:121,56:J,58:Z},e(m,[2,20]),e(m,[2,21]),e(m,[2,22]),e(m,[2,23]),e(m,[2,40]),e(m,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},parseError:function(r,s){if(s.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=s,l}},parse:function(r){var s=this,l=[0],i=[],f=[null],n=[],K=this.table,_="",ee=0,be=0,Le=2,ke=1,Oe=n.slice.call(arguments,1),E=Object.create(this.lexer),C={yy:{}};for(var se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,se)&&(C.yy[se]=this.yy[se]);E.setInput(r,C.yy),C.yy.lexer=E,C.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var ae=E.yylloc;n.push(ae);var Ce=E.options&&E.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function De(){var $;return $=i.pop()||E.lex()||ke,typeof $!="number"&&($ instanceof Array&&(i=$,$=i.pop()),$=s.symbols_[$]||$),$}for(var I,D,k,le,H={},te,V,Se,ie;;){if(D=l[l.length-1],this.defaultActions[D]?k=this.defaultActions[D]:((I===null||typeof I>"u")&&(I=De()),k=K[D]&&K[D][I]),typeof k>"u"||!k.length||!k[0]){var ce="";ie=[];for(te in K[D])this.terminals_[te]&&te>Le&&ie.push("'"+this.terminals_[te]+"'");E.showPosition?ce="Parse error on line "+(ee+1)+`: +import{c as ve,s as Fe,g as Me,b as Pe,a as Ye,m as Ue,l as xe,z as Be,h as oe,i as Qe,k as Te}from"./mermaid.core-5f04c634.js";import{G as He,l as We}from"./layout-2d03da6d.js";import{l as Ke}from"./line-696a8ea1.js";import"./commonjsHelpers-725317a4.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";var he=function(){var e=function(q,r,s,l){for(s=s||{},l=q.length;l--;s[q[l]]=r);return s},t=[1,3],a=[1,5],c=[1,6],d=[1,7],u=[1,8],p=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],h=[1,22],o=[2,13],g=[1,26],R=[1,27],v=[1,28],S=[1,29],T=[1,30],x=[1,31],A=[1,24],N=[1,32],w=[1,33],pe=[1,36],F=[71,72],_e=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],fe=[1,56],ye=[1,57],ge=[1,58],Ee=[1,59],Re=[1,60],me=[1,61],Ie=[1,62],O=[62,63],M=[1,74],P=[1,70],Y=[1,71],U=[1,72],B=[1,73],Q=[1,75],j=[1,79],X=[1,80],J=[1,77],Z=[1,78],m=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],re={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",39:"STRUCT_STOP",40:"REQUIREMENT",41:"FUNCTIONAL_REQUIREMENT",42:"INTERFACE_REQUIREMENT",43:"PERFORMANCE_REQUIREMENT",44:"PHYSICAL_REQUIREMENT",45:"DESIGN_CONSTRAINT",46:"LOW_RISK",47:"MED_RISK",48:"HIGH_RISK",49:"VERIFY_ANALYSIS",50:"VERIFY_DEMONSTRATION",51:"VERIFY_INSPECTION",52:"VERIFY_TEST",53:"ELEMENT",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(r,s,l,i,f,n,K){var _=n.length-1;switch(f){case 6:this.$=n[_].trim(),i.setAccTitle(this.$);break;case 7:case 8:this.$=n[_].trim(),i.setAccDescription(this.$);break;case 9:i.parseDirective("%%{","open_directive");break;case 10:i.parseDirective(n[_],"type_directive");break;case 11:n[_]=n[_].trim().replace(/'/g,'"'),i.parseDirective(n[_],"arg_directive");break;case 12:i.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:i.addRequirement(n[_-3],n[_-4]);break;case 20:i.setNewReqId(n[_-2]);break;case 21:i.setNewReqText(n[_-2]);break;case 22:i.setNewReqRisk(n[_-2]);break;case 23:i.setNewReqVerifyMethod(n[_-2]);break;case 26:this.$=i.RequirementType.REQUIREMENT;break;case 27:this.$=i.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=i.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=i.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=i.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=i.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=i.RiskLevel.LOW_RISK;break;case 33:this.$=i.RiskLevel.MED_RISK;break;case 34:this.$=i.RiskLevel.HIGH_RISK;break;case 35:this.$=i.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=i.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=i.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=i.VerifyType.VERIFY_TEST;break;case 39:i.addElement(n[_-3]);break;case 40:i.setNewElementType(n[_-2]);break;case 41:i.setNewElementDocRef(n[_-2]);break;case 44:i.addRelationship(n[_-2],n[_],n[_-4]);break;case 45:i.addRelationship(n[_-2],n[_-4],n[_]);break;case 46:this.$=i.Relationships.CONTAINS;break;case 47:this.$=i.Relationships.COPIES;break;case 48:this.$=i.Relationships.DERIVES;break;case 49:this.$=i.Relationships.SATISFIES;break;case 50:this.$=i.Relationships.VERIFIES;break;case 51:this.$=i.Relationships.REFINES;break;case 52:this.$=i.Relationships.TRACES;break}},table:[{3:1,4:2,6:t,9:4,14:a,16:c,18:d,19:u},{1:[3]},{3:10,4:2,5:[1,9],6:t,9:4,14:a,16:c,18:d,19:u},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},e(p,[2,8]),{20:[2,9]},{3:16,4:2,6:t,9:4,14:a,16:c,18:d,19:u},{1:[2,2]},{4:21,5:h,7:17,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:g,41:R,42:v,43:S,44:T,45:x,53:A,71:N,72:w},{11:34,12:[1,35],22:pe},e([12,22],[2,10]),e(p,[2,6]),e(p,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:h,7:38,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:g,41:R,42:v,43:S,44:T,45:x,53:A,71:N,72:w},{4:21,5:h,7:39,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:g,41:R,42:v,43:S,44:T,45:x,53:A,71:N,72:w},{4:21,5:h,7:40,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:g,41:R,42:v,43:S,44:T,45:x,53:A,71:N,72:w},{4:21,5:h,7:41,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:g,41:R,42:v,43:S,44:T,45:x,53:A,71:N,72:w},{4:21,5:h,7:42,8:o,9:4,14:a,16:c,18:d,19:u,23:18,24:19,25:20,26:23,32:25,40:g,41:R,42:v,43:S,44:T,45:x,53:A,71:N,72:w},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},e(F,[2,26]),e(F,[2,27]),e(F,[2,28]),e(F,[2,29]),e(F,[2,30]),e(F,[2,31]),e(_e,[2,55]),e(_e,[2,56]),e(p,[2,4]),{13:51,21:[1,52]},e(p,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:fe,65:ye,66:ge,67:Ee,68:Re,69:me,70:Ie},{61:63,64:fe,65:ye,66:ge,67:Ee,68:Re,69:me,70:Ie},{11:64,22:pe},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},e(O,[2,46]),e(O,[2,47]),e(O,[2,48]),e(O,[2,49]),e(O,[2,50]),e(O,[2,51]),e(O,[2,52]),{63:[1,68]},e(p,[2,5]),{5:M,29:69,30:P,33:Y,35:U,37:B,39:Q},{5:j,39:X,55:76,56:J,58:Z},{32:81,71:N,72:w},{32:82,71:N,72:w},e(m,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:M,29:87,30:P,33:Y,35:U,37:B,39:Q},e(m,[2,25]),e(m,[2,39]),{31:[1,88]},{31:[1,89]},{5:j,39:X,55:90,56:J,58:Z},e(m,[2,43]),e(m,[2,44]),e(m,[2,45]),{32:91,71:N,72:w},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},e(m,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},e(m,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:M,29:116,30:P,33:Y,35:U,37:B,39:Q},{5:M,29:117,30:P,33:Y,35:U,37:B,39:Q},{5:M,29:118,30:P,33:Y,35:U,37:B,39:Q},{5:M,29:119,30:P,33:Y,35:U,37:B,39:Q},{5:j,39:X,55:120,56:J,58:Z},{5:j,39:X,55:121,56:J,58:Z},e(m,[2,20]),e(m,[2,21]),e(m,[2,22]),e(m,[2,23]),e(m,[2,40]),e(m,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},parseError:function(r,s){if(s.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=s,l}},parse:function(r){var s=this,l=[0],i=[],f=[null],n=[],K=this.table,_="",ee=0,be=0,Le=2,ke=1,Oe=n.slice.call(arguments,1),E=Object.create(this.lexer),C={yy:{}};for(var se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,se)&&(C.yy[se]=this.yy[se]);E.setInput(r,C.yy),C.yy.lexer=E,C.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var ae=E.yylloc;n.push(ae);var Ce=E.options&&E.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function De(){var $;return $=i.pop()||E.lex()||ke,typeof $!="number"&&($ instanceof Array&&(i=$,$=i.pop()),$=s.symbols_[$]||$),$}for(var I,D,k,le,H={},te,V,Se,ie;;){if(D=l[l.length-1],this.defaultActions[D]?k=this.defaultActions[D]:((I===null||typeof I>"u")&&(I=De()),k=K[D]&&K[D][I]),typeof k>"u"||!k.length||!k[0]){var ce="";ie=[];for(te in K[D])this.terminals_[te]&&te>Le&&ie.push("'"+this.terminals_[te]+"'");E.showPosition?ce="Parse error on line "+(ee+1)+`: `+E.showPosition()+` Expecting `+ie.join(", ")+", got '"+(this.terminals_[I]||I)+"'":ce="Parse error on line "+(ee+1)+": Unexpected "+(I==ke?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(ce,{text:E.match,token:this.terminals_[I]||I,line:E.yylineno,loc:ae,expected:ie})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+D+", token: "+I);switch(k[0]){case 1:l.push(I),f.push(E.yytext),n.push(E.yylloc),l.push(k[1]),I=null,be=E.yyleng,_=E.yytext,ee=E.yylineno,ae=E.yylloc;break;case 2:if(V=this.productions_[k[1]][1],H.$=f[f.length-V],H._$={first_line:n[n.length-(V||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(V||1)].first_column,last_column:n[n.length-1].last_column},Ce&&(H._$.range=[n[n.length-(V||1)].range[0],n[n.length-1].range[1]]),le=this.performAction.apply(H,[_,be,ee,C.yy,k[1],f,n].concat(Oe)),typeof le<"u")return le;V&&(l=l.slice(0,-1*V*2),f=f.slice(0,-1*V),n=n.slice(0,-1*V)),l.push(this.productions_[k[1]][0]),f.push(H.$),n.push(H._$),Se=K[l[l.length-2]][l[l.length-1]],l.push(Se);break;case 3:return!0}}return!0}},qe=function(){var q={EOF:1,parseError:function(s,l){if(this.yy.parser)this.yy.parser.parseError(s,l);else throw new Error(s)},setInput:function(r,s){return this.yy=s||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var s=r.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},unput:function(r){var s=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===i.length?this.yylloc.first_column:0)+i[i.length-l.length].length-l[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),s=new Array(r.length+1).join("-");return r+this.upcomingInput()+` diff --git a/docs/.vuepress/dist/assets/selectAll-a97dbb9c.js b/docs/.vuepress/dist/assets/selectAll-4b319156.js similarity index 68% rename from docs/.vuepress/dist/assets/selectAll-a97dbb9c.js rename to docs/.vuepress/dist/assets/selectAll-4b319156.js index 852b483..57ba491 100644 --- a/docs/.vuepress/dist/assets/selectAll-a97dbb9c.js +++ b/docs/.vuepress/dist/assets/selectAll-4b319156.js @@ -1 +1 @@ -import{$ as t,a0 as n,a1 as o}from"./mermaid.core-00b8b54a.js";function a(e){return typeof e=="string"?new t([document.querySelectorAll(e)],[document.documentElement]):new t([o(e)],n)}export{a as s}; +import{$ as t,a0 as n,a1 as o}from"./mermaid.core-5f04c634.js";function a(e){return typeof e=="string"?new t([document.querySelectorAll(e)],[document.documentElement]):new t([o(e)],n)}export{a as s}; diff --git a/docs/.vuepress/dist/assets/sequenceDiagram-446df3e4-56bc5eb9.js b/docs/.vuepress/dist/assets/sequenceDiagram-446df3e4-c80e27c8.js similarity index 99% rename from docs/.vuepress/dist/assets/sequenceDiagram-446df3e4-56bc5eb9.js rename to docs/.vuepress/dist/assets/sequenceDiagram-446df3e4-c80e27c8.js index 22d20e5..aaaf41d 100644 --- a/docs/.vuepress/dist/assets/sequenceDiagram-446df3e4-56bc5eb9.js +++ b/docs/.vuepress/dist/assets/sequenceDiagram-446df3e4-c80e27c8.js @@ -1,4 +1,4 @@ -import{g as be,x as we,v as ve,c as ct,s as te,b as _e,a as ke,m as Le,z as Pe,l as K,d as kt,e as Ie,h as _t,i as Ne,y as C,j as Lt,k as Pt,am as ee,az as Ae}from"./mermaid.core-00b8b54a.js";import{s as Se}from"./selectAll-a97dbb9c.js";import"./commonjsHelpers-725317a4.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";var Bt=function(){var t=function(rt,m,w,_){for(w=w||{},_=rt.length;_--;w[rt[_]]=m);return w},e=[1,2],s=[1,3],i=[1,5],n=[1,7],a=[2,5],o=[1,15],l=[1,17],p=[1,19],h=[1,21],T=[1,22],y=[1,23],u=[1,29],x=[1,30],b=[1,31],k=[1,32],N=[1,33],M=[1,34],P=[1,35],B=[1,36],V=[1,37],z=[1,38],G=[1,39],Y=[1,40],D=[1,42],X=[1,43],q=[1,45],F=[1,46],H=[1,47],J=[1,48],Q=[1,49],E=[1,50],L=[1,53],v=[1,4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],U=[4,5,21,54,56],I=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],Kt=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,53,54,56,57,62,63,64,65,73,83],Gt=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,52,54,56,57,62,63,64,65,73,83],Xt=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,54,56,57,62,63,64,65,73,83],at=[71,72,73],et=[1,125],Jt=[1,4,5,7,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],Mt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,box_section:11,box_line:12,participant_statement:13,openDirective:14,typeDirective:15,closeDirective:16,":":17,argDirective:18,box:19,restOfLine:20,end:21,signal:22,autonumber:23,NUM:24,off:25,activate:26,actor:27,deactivate:28,note_statement:29,links_statement:30,link_statement:31,properties_statement:32,details_statement:33,title:34,legacy_title:35,acc_title:36,acc_title_value:37,acc_descr:38,acc_descr_value:39,acc_descr_multiline_value:40,loop:41,rect:42,opt:43,alt:44,else_sections:45,par:46,par_sections:47,critical:48,option_sections:49,break:50,option:51,and:52,else:53,participant:54,AS:55,participant_actor:56,note:57,placement:58,text2:59,over:60,actor_pair:61,links:62,link:63,properties:64,details:65,spaceList:66,",":67,left_of:68,right_of:69,signaltype:70,"+":71,"-":72,ACTOR:73,SOLID_OPEN_ARROW:74,DOTTED_OPEN_ARROW:75,SOLID_ARROW:76,DOTTED_ARROW:77,SOLID_CROSS:78,DOTTED_CROSS:79,SOLID_POINT:80,DOTTED_POINT:81,TXT:82,open_directive:83,type_directive:84,arg_directive:85,close_directive:86,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",17:":",19:"box",20:"restOfLine",21:"end",23:"autonumber",24:"NUM",25:"off",26:"activate",28:"deactivate",34:"title",35:"legacy_title",36:"acc_title",37:"acc_title_value",38:"acc_descr",39:"acc_descr_value",40:"acc_descr_multiline_value",41:"loop",42:"rect",43:"opt",44:"alt",46:"par",48:"critical",50:"break",51:"option",52:"and",53:"else",54:"participant",55:"AS",56:"participant_actor",57:"note",60:"over",62:"links",63:"link",64:"properties",65:"details",67:",",68:"left_of",69:"right_of",71:"+",72:"-",73:"ACTOR",74:"SOLID_OPEN_ARROW",75:"DOTTED_OPEN_ARROW",76:"SOLID_ARROW",77:"DOTTED_ARROW",78:"SOLID_CROSS",79:"DOTTED_CROSS",80:"SOLID_POINT",81:"DOTTED_POINT",82:"TXT",83:"open_directive",84:"type_directive",85:"arg_directive",86:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[11,0],[11,2],[12,2],[12,1],[12,1],[6,4],[6,6],[10,1],[10,4],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[49,1],[49,4],[47,1],[47,4],[45,1],[45,4],[13,5],[13,3],[13,5],[13,3],[29,4],[29,4],[30,3],[31,3],[32,3],[33,3],[66,2],[66,1],[61,3],[61,1],[58,1],[58,1],[22,5],[22,5],[22,4],[27,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[59,1],[14,1],[15,1],[18,1],[16,1]],performAction:function(m,w,_,g,A,c,Tt){var d=c.length-1;switch(A){case 4:return g.apply(c[d]),c[d];case 5:case 10:this.$=[];break;case 6:case 11:c[d-1].push(c[d]),this.$=c[d-1];break;case 7:case 8:case 12:case 13:this.$=c[d];break;case 9:case 14:this.$=[];break;case 18:c[d-1].unshift({type:"boxStart",boxData:g.parseBoxData(c[d-2])}),c[d-1].push({type:"boxEnd",boxText:c[d-2]}),this.$=c[d-1];break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[d-2]),sequenceIndexStep:Number(c[d-1]),sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(c[d-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:g.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 24:this.$={type:"activeStart",signalType:g.LINETYPE.ACTIVE_START,actor:c[d-1]};break;case 25:this.$={type:"activeEnd",signalType:g.LINETYPE.ACTIVE_END,actor:c[d-1]};break;case 31:g.setDiagramTitle(c[d].substring(6)),this.$=c[d].substring(6);break;case 32:g.setDiagramTitle(c[d].substring(7)),this.$=c[d].substring(7);break;case 33:this.$=c[d].trim(),g.setAccTitle(this.$);break;case 34:case 35:this.$=c[d].trim(),g.setAccDescription(this.$);break;case 36:c[d-1].unshift({type:"loopStart",loopText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.LOOP_START}),c[d-1].push({type:"loopEnd",loopText:c[d-2],signalType:g.LINETYPE.LOOP_END}),this.$=c[d-1];break;case 37:c[d-1].unshift({type:"rectStart",color:g.parseMessage(c[d-2]),signalType:g.LINETYPE.RECT_START}),c[d-1].push({type:"rectEnd",color:g.parseMessage(c[d-2]),signalType:g.LINETYPE.RECT_END}),this.$=c[d-1];break;case 38:c[d-1].unshift({type:"optStart",optText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.OPT_START}),c[d-1].push({type:"optEnd",optText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.OPT_END}),this.$=c[d-1];break;case 39:c[d-1].unshift({type:"altStart",altText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.ALT_START}),c[d-1].push({type:"altEnd",signalType:g.LINETYPE.ALT_END}),this.$=c[d-1];break;case 40:c[d-1].unshift({type:"parStart",parText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.PAR_START}),c[d-1].push({type:"parEnd",signalType:g.LINETYPE.PAR_END}),this.$=c[d-1];break;case 41:c[d-1].unshift({type:"criticalStart",criticalText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.CRITICAL_START}),c[d-1].push({type:"criticalEnd",signalType:g.LINETYPE.CRITICAL_END}),this.$=c[d-1];break;case 42:c[d-1].unshift({type:"breakStart",breakText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.BREAK_START}),c[d-1].push({type:"breakEnd",optText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.BREAK_END}),this.$=c[d-1];break;case 45:this.$=c[d-3].concat([{type:"option",optionText:g.parseMessage(c[d-1]),signalType:g.LINETYPE.CRITICAL_OPTION},c[d]]);break;case 47:this.$=c[d-3].concat([{type:"and",parText:g.parseMessage(c[d-1]),signalType:g.LINETYPE.PAR_AND},c[d]]);break;case 49:this.$=c[d-3].concat([{type:"else",altText:g.parseMessage(c[d-1]),signalType:g.LINETYPE.ALT_ELSE},c[d]]);break;case 50:c[d-3].type="addParticipant",c[d-3].description=g.parseMessage(c[d-1]),this.$=c[d-3];break;case 51:c[d-1].type="addParticipant",this.$=c[d-1];break;case 52:c[d-3].type="addActor",c[d-3].description=g.parseMessage(c[d-1]),this.$=c[d-3];break;case 53:c[d-1].type="addActor",this.$=c[d-1];break;case 54:this.$=[c[d-1],{type:"addNote",placement:c[d-2],actor:c[d-1].actor,text:c[d]}];break;case 55:c[d-2]=[].concat(c[d-1],c[d-1]).slice(0,2),c[d-2][0]=c[d-2][0].actor,c[d-2][1]=c[d-2][1].actor,this.$=[c[d-1],{type:"addNote",placement:g.PLACEMENT.OVER,actor:c[d-2].slice(0,2),text:c[d]}];break;case 56:this.$=[c[d-1],{type:"addLinks",actor:c[d-1].actor,text:c[d]}];break;case 57:this.$=[c[d-1],{type:"addALink",actor:c[d-1].actor,text:c[d]}];break;case 58:this.$=[c[d-1],{type:"addProperties",actor:c[d-1].actor,text:c[d]}];break;case 59:this.$=[c[d-1],{type:"addDetails",actor:c[d-1].actor,text:c[d]}];break;case 62:this.$=[c[d-2],c[d]];break;case 63:this.$=c[d];break;case 64:this.$=g.PLACEMENT.LEFTOF;break;case 65:this.$=g.PLACEMENT.RIGHTOF;break;case 66:this.$=[c[d-4],c[d-1],{type:"addMessage",from:c[d-4].actor,to:c[d-1].actor,signalType:c[d-3],msg:c[d]},{type:"activeStart",signalType:g.LINETYPE.ACTIVE_START,actor:c[d-1]}];break;case 67:this.$=[c[d-4],c[d-1],{type:"addMessage",from:c[d-4].actor,to:c[d-1].actor,signalType:c[d-3],msg:c[d]},{type:"activeEnd",signalType:g.LINETYPE.ACTIVE_END,actor:c[d-4]}];break;case 68:this.$=[c[d-3],c[d-1],{type:"addMessage",from:c[d-3].actor,to:c[d-1].actor,signalType:c[d-2],msg:c[d]}];break;case 69:this.$={type:"addParticipant",actor:c[d]};break;case 70:this.$=g.LINETYPE.SOLID_OPEN;break;case 71:this.$=g.LINETYPE.DOTTED_OPEN;break;case 72:this.$=g.LINETYPE.SOLID;break;case 73:this.$=g.LINETYPE.DOTTED;break;case 74:this.$=g.LINETYPE.SOLID_CROSS;break;case 75:this.$=g.LINETYPE.DOTTED_CROSS;break;case 76:this.$=g.LINETYPE.SOLID_POINT;break;case 77:this.$=g.LINETYPE.DOTTED_POINT;break;case 78:this.$=g.parseMessage(c[d].trim().substring(1));break;case 79:g.parseDirective("%%{","open_directive");break;case 80:g.parseDirective(c[d],"type_directive");break;case 81:c[d]=c[d].trim().replace(/'/g,'"'),g.parseDirective(c[d],"arg_directive");break;case 82:g.parseDirective("}%%","close_directive","sequence");break}},table:[{3:1,4:e,5:s,6:4,7:i,14:6,83:n},{1:[3]},{3:8,4:e,5:s,6:4,7:i,14:6,83:n},{3:9,4:e,5:s,6:4,7:i,14:6,83:n},{3:10,4:e,5:s,6:4,7:i,14:6,83:n},t([1,4,5,19,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],a,{8:11}),{15:12,84:[1,13]},{84:[2,79]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{16:51,17:[1,52],86:L},t([17,86],[2,80]),t(v,[2,6]),{6:41,10:54,13:18,14:6,19:p,22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},t(v,[2,8]),t(v,[2,9]),t(v,[2,17]),{20:[1,55]},{5:[1,56]},{5:[1,59],24:[1,57],25:[1,58]},{27:60,73:E},{27:61,73:E},{5:[1,62]},{5:[1,63]},{5:[1,64]},{5:[1,65]},{5:[1,66]},t(v,[2,31]),t(v,[2,32]),{37:[1,67]},{39:[1,68]},t(v,[2,35]),{20:[1,69]},{20:[1,70]},{20:[1,71]},{20:[1,72]},{20:[1,73]},{20:[1,74]},{20:[1,75]},t(v,[2,43]),{27:76,73:E},{27:77,73:E},{70:78,74:[1,79],75:[1,80],76:[1,81],77:[1,82],78:[1,83],79:[1,84],80:[1,85],81:[1,86]},{58:87,60:[1,88],68:[1,89],69:[1,90]},{27:91,73:E},{27:92,73:E},{27:93,73:E},{27:94,73:E},t([5,55,67,74,75,76,77,78,79,80,81,82],[2,69]),{5:[1,95]},{18:96,85:[1,97]},{5:[2,82]},t(v,[2,7]),t(U,[2,10],{11:98}),t(v,[2,19]),{5:[1,100],24:[1,99]},{5:[1,101]},t(v,[2,23]),{5:[1,102]},{5:[1,103]},t(v,[2,26]),t(v,[2,27]),t(v,[2,28]),t(v,[2,29]),t(v,[2,30]),t(v,[2,33]),t(v,[2,34]),t(I,a,{8:104}),t(I,a,{8:105}),t(I,a,{8:106}),t(Kt,a,{45:107,8:108}),t(Gt,a,{47:109,8:110}),t(Xt,a,{49:111,8:112}),t(I,a,{8:113}),{5:[1,115],55:[1,114]},{5:[1,117],55:[1,116]},{27:120,71:[1,118],72:[1,119],73:E},t(at,[2,70]),t(at,[2,71]),t(at,[2,72]),t(at,[2,73]),t(at,[2,74]),t(at,[2,75]),t(at,[2,76]),t(at,[2,77]),{27:121,73:E},{27:123,61:122,73:E},{73:[2,64]},{73:[2,65]},{59:124,82:et},{59:126,82:et},{59:127,82:et},{59:128,82:et},t(Jt,[2,15]),{16:129,86:L},{86:[2,81]},{4:[1,132],5:[1,134],12:131,13:133,21:[1,130],54:D,56:X},{5:[1,135]},t(v,[2,21]),t(v,[2,22]),t(v,[2,24]),t(v,[2,25]),{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,136],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,137],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,138],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{21:[1,139]},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[2,48],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,53:[1,140],54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{21:[1,141]},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[2,46],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,52:[1,142],54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{21:[1,143]},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[2,44],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,51:[1,144],54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,145],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{20:[1,146]},t(v,[2,51]),{20:[1,147]},t(v,[2,53]),{27:148,73:E},{27:149,73:E},{59:150,82:et},{59:151,82:et},{59:152,82:et},{67:[1,153],82:[2,63]},{5:[2,56]},{5:[2,78]},{5:[2,57]},{5:[2,58]},{5:[2,59]},{5:[1,154]},t(v,[2,18]),t(U,[2,11]),{13:155,54:D,56:X},t(U,[2,13]),t(U,[2,14]),t(v,[2,20]),t(v,[2,36]),t(v,[2,37]),t(v,[2,38]),t(v,[2,39]),{20:[1,156]},t(v,[2,40]),{20:[1,157]},t(v,[2,41]),{20:[1,158]},t(v,[2,42]),{5:[1,159]},{5:[1,160]},{59:161,82:et},{59:162,82:et},{5:[2,68]},{5:[2,54]},{5:[2,55]},{27:163,73:E},t(Jt,[2,16]),t(U,[2,12]),t(Kt,a,{8:108,45:164}),t(Gt,a,{8:110,47:165}),t(Xt,a,{8:112,49:166}),t(v,[2,50]),t(v,[2,52]),{5:[2,66]},{5:[2,67]},{82:[2,62]},{21:[2,49]},{21:[2,47]},{21:[2,45]}],defaultActions:{7:[2,79],8:[2,1],9:[2,2],10:[2,3],53:[2,82],89:[2,64],90:[2,65],97:[2,81],124:[2,56],125:[2,78],126:[2,57],127:[2,58],128:[2,59],150:[2,68],151:[2,54],152:[2,55],161:[2,66],162:[2,67],163:[2,62],164:[2,49],165:[2,47],166:[2,45]},parseError:function(m,w){if(w.recoverable)this.trace(m);else{var _=new Error(m);throw _.hash=w,_}},parse:function(m){var w=this,_=[0],g=[],A=[null],c=[],Tt=this.table,d="",bt=0,Qt=0,Te=2,Zt=1,ye=c.slice.call(arguments,1),O=Object.create(this.lexer),lt={yy:{}};for(var Dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Dt)&&(lt.yy[Dt]=this.yy[Dt]);O.setInput(m,lt.yy),lt.yy.lexer=O,lt.yy.parser=this,typeof O.yylloc>"u"&&(O.yylloc={});var Vt=O.yylloc;c.push(Vt);var Ee=O.options&&O.options.ranges;typeof lt.yy.parseError=="function"?this.parseError=lt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function me(){var nt;return nt=g.pop()||O.lex()||Zt,typeof nt!="number"&&(nt instanceof Array&&(g=nt,nt=g.pop()),nt=w.symbols_[nt]||nt),nt}for(var W,ht,Z,Ct,ut={},wt,it,jt,vt;;){if(ht=_[_.length-1],this.defaultActions[ht]?Z=this.defaultActions[ht]:((W===null||typeof W>"u")&&(W=me()),Z=Tt[ht]&&Tt[ht][W]),typeof Z>"u"||!Z.length||!Z[0]){var Ot="";vt=[];for(wt in Tt[ht])this.terminals_[wt]&&wt>Te&&vt.push("'"+this.terminals_[wt]+"'");O.showPosition?Ot="Parse error on line "+(bt+1)+`: +import{g as be,x as we,v as ve,c as ct,s as te,b as _e,a as ke,m as Le,z as Pe,l as K,d as kt,e as Ie,h as _t,i as Ne,y as C,j as Lt,k as Pt,am as ee,az as Ae}from"./mermaid.core-5f04c634.js";import{s as Se}from"./selectAll-4b319156.js";import"./commonjsHelpers-725317a4.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";var Bt=function(){var t=function(rt,m,w,_){for(w=w||{},_=rt.length;_--;w[rt[_]]=m);return w},e=[1,2],s=[1,3],i=[1,5],n=[1,7],a=[2,5],o=[1,15],l=[1,17],p=[1,19],h=[1,21],T=[1,22],y=[1,23],u=[1,29],x=[1,30],b=[1,31],k=[1,32],N=[1,33],M=[1,34],P=[1,35],B=[1,36],V=[1,37],z=[1,38],G=[1,39],Y=[1,40],D=[1,42],X=[1,43],q=[1,45],F=[1,46],H=[1,47],J=[1,48],Q=[1,49],E=[1,50],L=[1,53],v=[1,4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],U=[4,5,21,54,56],I=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],Kt=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,53,54,56,57,62,63,64,65,73,83],Gt=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,52,54,56,57,62,63,64,65,73,83],Xt=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,54,56,57,62,63,64,65,73,83],at=[71,72,73],et=[1,125],Jt=[1,4,5,7,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],Mt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,box_section:11,box_line:12,participant_statement:13,openDirective:14,typeDirective:15,closeDirective:16,":":17,argDirective:18,box:19,restOfLine:20,end:21,signal:22,autonumber:23,NUM:24,off:25,activate:26,actor:27,deactivate:28,note_statement:29,links_statement:30,link_statement:31,properties_statement:32,details_statement:33,title:34,legacy_title:35,acc_title:36,acc_title_value:37,acc_descr:38,acc_descr_value:39,acc_descr_multiline_value:40,loop:41,rect:42,opt:43,alt:44,else_sections:45,par:46,par_sections:47,critical:48,option_sections:49,break:50,option:51,and:52,else:53,participant:54,AS:55,participant_actor:56,note:57,placement:58,text2:59,over:60,actor_pair:61,links:62,link:63,properties:64,details:65,spaceList:66,",":67,left_of:68,right_of:69,signaltype:70,"+":71,"-":72,ACTOR:73,SOLID_OPEN_ARROW:74,DOTTED_OPEN_ARROW:75,SOLID_ARROW:76,DOTTED_ARROW:77,SOLID_CROSS:78,DOTTED_CROSS:79,SOLID_POINT:80,DOTTED_POINT:81,TXT:82,open_directive:83,type_directive:84,arg_directive:85,close_directive:86,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",17:":",19:"box",20:"restOfLine",21:"end",23:"autonumber",24:"NUM",25:"off",26:"activate",28:"deactivate",34:"title",35:"legacy_title",36:"acc_title",37:"acc_title_value",38:"acc_descr",39:"acc_descr_value",40:"acc_descr_multiline_value",41:"loop",42:"rect",43:"opt",44:"alt",46:"par",48:"critical",50:"break",51:"option",52:"and",53:"else",54:"participant",55:"AS",56:"participant_actor",57:"note",60:"over",62:"links",63:"link",64:"properties",65:"details",67:",",68:"left_of",69:"right_of",71:"+",72:"-",73:"ACTOR",74:"SOLID_OPEN_ARROW",75:"DOTTED_OPEN_ARROW",76:"SOLID_ARROW",77:"DOTTED_ARROW",78:"SOLID_CROSS",79:"DOTTED_CROSS",80:"SOLID_POINT",81:"DOTTED_POINT",82:"TXT",83:"open_directive",84:"type_directive",85:"arg_directive",86:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[11,0],[11,2],[12,2],[12,1],[12,1],[6,4],[6,6],[10,1],[10,4],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[49,1],[49,4],[47,1],[47,4],[45,1],[45,4],[13,5],[13,3],[13,5],[13,3],[29,4],[29,4],[30,3],[31,3],[32,3],[33,3],[66,2],[66,1],[61,3],[61,1],[58,1],[58,1],[22,5],[22,5],[22,4],[27,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[59,1],[14,1],[15,1],[18,1],[16,1]],performAction:function(m,w,_,g,A,c,Tt){var d=c.length-1;switch(A){case 4:return g.apply(c[d]),c[d];case 5:case 10:this.$=[];break;case 6:case 11:c[d-1].push(c[d]),this.$=c[d-1];break;case 7:case 8:case 12:case 13:this.$=c[d];break;case 9:case 14:this.$=[];break;case 18:c[d-1].unshift({type:"boxStart",boxData:g.parseBoxData(c[d-2])}),c[d-1].push({type:"boxEnd",boxText:c[d-2]}),this.$=c[d-1];break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[d-2]),sequenceIndexStep:Number(c[d-1]),sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(c[d-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:g.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:g.LINETYPE.AUTONUMBER};break;case 24:this.$={type:"activeStart",signalType:g.LINETYPE.ACTIVE_START,actor:c[d-1]};break;case 25:this.$={type:"activeEnd",signalType:g.LINETYPE.ACTIVE_END,actor:c[d-1]};break;case 31:g.setDiagramTitle(c[d].substring(6)),this.$=c[d].substring(6);break;case 32:g.setDiagramTitle(c[d].substring(7)),this.$=c[d].substring(7);break;case 33:this.$=c[d].trim(),g.setAccTitle(this.$);break;case 34:case 35:this.$=c[d].trim(),g.setAccDescription(this.$);break;case 36:c[d-1].unshift({type:"loopStart",loopText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.LOOP_START}),c[d-1].push({type:"loopEnd",loopText:c[d-2],signalType:g.LINETYPE.LOOP_END}),this.$=c[d-1];break;case 37:c[d-1].unshift({type:"rectStart",color:g.parseMessage(c[d-2]),signalType:g.LINETYPE.RECT_START}),c[d-1].push({type:"rectEnd",color:g.parseMessage(c[d-2]),signalType:g.LINETYPE.RECT_END}),this.$=c[d-1];break;case 38:c[d-1].unshift({type:"optStart",optText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.OPT_START}),c[d-1].push({type:"optEnd",optText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.OPT_END}),this.$=c[d-1];break;case 39:c[d-1].unshift({type:"altStart",altText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.ALT_START}),c[d-1].push({type:"altEnd",signalType:g.LINETYPE.ALT_END}),this.$=c[d-1];break;case 40:c[d-1].unshift({type:"parStart",parText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.PAR_START}),c[d-1].push({type:"parEnd",signalType:g.LINETYPE.PAR_END}),this.$=c[d-1];break;case 41:c[d-1].unshift({type:"criticalStart",criticalText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.CRITICAL_START}),c[d-1].push({type:"criticalEnd",signalType:g.LINETYPE.CRITICAL_END}),this.$=c[d-1];break;case 42:c[d-1].unshift({type:"breakStart",breakText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.BREAK_START}),c[d-1].push({type:"breakEnd",optText:g.parseMessage(c[d-2]),signalType:g.LINETYPE.BREAK_END}),this.$=c[d-1];break;case 45:this.$=c[d-3].concat([{type:"option",optionText:g.parseMessage(c[d-1]),signalType:g.LINETYPE.CRITICAL_OPTION},c[d]]);break;case 47:this.$=c[d-3].concat([{type:"and",parText:g.parseMessage(c[d-1]),signalType:g.LINETYPE.PAR_AND},c[d]]);break;case 49:this.$=c[d-3].concat([{type:"else",altText:g.parseMessage(c[d-1]),signalType:g.LINETYPE.ALT_ELSE},c[d]]);break;case 50:c[d-3].type="addParticipant",c[d-3].description=g.parseMessage(c[d-1]),this.$=c[d-3];break;case 51:c[d-1].type="addParticipant",this.$=c[d-1];break;case 52:c[d-3].type="addActor",c[d-3].description=g.parseMessage(c[d-1]),this.$=c[d-3];break;case 53:c[d-1].type="addActor",this.$=c[d-1];break;case 54:this.$=[c[d-1],{type:"addNote",placement:c[d-2],actor:c[d-1].actor,text:c[d]}];break;case 55:c[d-2]=[].concat(c[d-1],c[d-1]).slice(0,2),c[d-2][0]=c[d-2][0].actor,c[d-2][1]=c[d-2][1].actor,this.$=[c[d-1],{type:"addNote",placement:g.PLACEMENT.OVER,actor:c[d-2].slice(0,2),text:c[d]}];break;case 56:this.$=[c[d-1],{type:"addLinks",actor:c[d-1].actor,text:c[d]}];break;case 57:this.$=[c[d-1],{type:"addALink",actor:c[d-1].actor,text:c[d]}];break;case 58:this.$=[c[d-1],{type:"addProperties",actor:c[d-1].actor,text:c[d]}];break;case 59:this.$=[c[d-1],{type:"addDetails",actor:c[d-1].actor,text:c[d]}];break;case 62:this.$=[c[d-2],c[d]];break;case 63:this.$=c[d];break;case 64:this.$=g.PLACEMENT.LEFTOF;break;case 65:this.$=g.PLACEMENT.RIGHTOF;break;case 66:this.$=[c[d-4],c[d-1],{type:"addMessage",from:c[d-4].actor,to:c[d-1].actor,signalType:c[d-3],msg:c[d]},{type:"activeStart",signalType:g.LINETYPE.ACTIVE_START,actor:c[d-1]}];break;case 67:this.$=[c[d-4],c[d-1],{type:"addMessage",from:c[d-4].actor,to:c[d-1].actor,signalType:c[d-3],msg:c[d]},{type:"activeEnd",signalType:g.LINETYPE.ACTIVE_END,actor:c[d-4]}];break;case 68:this.$=[c[d-3],c[d-1],{type:"addMessage",from:c[d-3].actor,to:c[d-1].actor,signalType:c[d-2],msg:c[d]}];break;case 69:this.$={type:"addParticipant",actor:c[d]};break;case 70:this.$=g.LINETYPE.SOLID_OPEN;break;case 71:this.$=g.LINETYPE.DOTTED_OPEN;break;case 72:this.$=g.LINETYPE.SOLID;break;case 73:this.$=g.LINETYPE.DOTTED;break;case 74:this.$=g.LINETYPE.SOLID_CROSS;break;case 75:this.$=g.LINETYPE.DOTTED_CROSS;break;case 76:this.$=g.LINETYPE.SOLID_POINT;break;case 77:this.$=g.LINETYPE.DOTTED_POINT;break;case 78:this.$=g.parseMessage(c[d].trim().substring(1));break;case 79:g.parseDirective("%%{","open_directive");break;case 80:g.parseDirective(c[d],"type_directive");break;case 81:c[d]=c[d].trim().replace(/'/g,'"'),g.parseDirective(c[d],"arg_directive");break;case 82:g.parseDirective("}%%","close_directive","sequence");break}},table:[{3:1,4:e,5:s,6:4,7:i,14:6,83:n},{1:[3]},{3:8,4:e,5:s,6:4,7:i,14:6,83:n},{3:9,4:e,5:s,6:4,7:i,14:6,83:n},{3:10,4:e,5:s,6:4,7:i,14:6,83:n},t([1,4,5,19,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],a,{8:11}),{15:12,84:[1,13]},{84:[2,79]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{16:51,17:[1,52],86:L},t([17,86],[2,80]),t(v,[2,6]),{6:41,10:54,13:18,14:6,19:p,22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},t(v,[2,8]),t(v,[2,9]),t(v,[2,17]),{20:[1,55]},{5:[1,56]},{5:[1,59],24:[1,57],25:[1,58]},{27:60,73:E},{27:61,73:E},{5:[1,62]},{5:[1,63]},{5:[1,64]},{5:[1,65]},{5:[1,66]},t(v,[2,31]),t(v,[2,32]),{37:[1,67]},{39:[1,68]},t(v,[2,35]),{20:[1,69]},{20:[1,70]},{20:[1,71]},{20:[1,72]},{20:[1,73]},{20:[1,74]},{20:[1,75]},t(v,[2,43]),{27:76,73:E},{27:77,73:E},{70:78,74:[1,79],75:[1,80],76:[1,81],77:[1,82],78:[1,83],79:[1,84],80:[1,85],81:[1,86]},{58:87,60:[1,88],68:[1,89],69:[1,90]},{27:91,73:E},{27:92,73:E},{27:93,73:E},{27:94,73:E},t([5,55,67,74,75,76,77,78,79,80,81,82],[2,69]),{5:[1,95]},{18:96,85:[1,97]},{5:[2,82]},t(v,[2,7]),t(U,[2,10],{11:98}),t(v,[2,19]),{5:[1,100],24:[1,99]},{5:[1,101]},t(v,[2,23]),{5:[1,102]},{5:[1,103]},t(v,[2,26]),t(v,[2,27]),t(v,[2,28]),t(v,[2,29]),t(v,[2,30]),t(v,[2,33]),t(v,[2,34]),t(I,a,{8:104}),t(I,a,{8:105}),t(I,a,{8:106}),t(Kt,a,{45:107,8:108}),t(Gt,a,{47:109,8:110}),t(Xt,a,{49:111,8:112}),t(I,a,{8:113}),{5:[1,115],55:[1,114]},{5:[1,117],55:[1,116]},{27:120,71:[1,118],72:[1,119],73:E},t(at,[2,70]),t(at,[2,71]),t(at,[2,72]),t(at,[2,73]),t(at,[2,74]),t(at,[2,75]),t(at,[2,76]),t(at,[2,77]),{27:121,73:E},{27:123,61:122,73:E},{73:[2,64]},{73:[2,65]},{59:124,82:et},{59:126,82:et},{59:127,82:et},{59:128,82:et},t(Jt,[2,15]),{16:129,86:L},{86:[2,81]},{4:[1,132],5:[1,134],12:131,13:133,21:[1,130],54:D,56:X},{5:[1,135]},t(v,[2,21]),t(v,[2,22]),t(v,[2,24]),t(v,[2,25]),{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,136],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,137],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,138],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{21:[1,139]},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[2,48],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,53:[1,140],54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{21:[1,141]},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[2,46],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,52:[1,142],54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{21:[1,143]},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[2,44],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,51:[1,144],54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{4:o,5:l,6:41,9:14,10:16,13:18,14:6,19:p,21:[1,145],22:20,23:h,26:T,27:44,28:y,29:24,30:25,31:26,32:27,33:28,34:u,35:x,36:b,38:k,40:N,41:M,42:P,43:B,44:V,46:z,48:G,50:Y,54:D,56:X,57:q,62:F,63:H,64:J,65:Q,73:E,83:n},{20:[1,146]},t(v,[2,51]),{20:[1,147]},t(v,[2,53]),{27:148,73:E},{27:149,73:E},{59:150,82:et},{59:151,82:et},{59:152,82:et},{67:[1,153],82:[2,63]},{5:[2,56]},{5:[2,78]},{5:[2,57]},{5:[2,58]},{5:[2,59]},{5:[1,154]},t(v,[2,18]),t(U,[2,11]),{13:155,54:D,56:X},t(U,[2,13]),t(U,[2,14]),t(v,[2,20]),t(v,[2,36]),t(v,[2,37]),t(v,[2,38]),t(v,[2,39]),{20:[1,156]},t(v,[2,40]),{20:[1,157]},t(v,[2,41]),{20:[1,158]},t(v,[2,42]),{5:[1,159]},{5:[1,160]},{59:161,82:et},{59:162,82:et},{5:[2,68]},{5:[2,54]},{5:[2,55]},{27:163,73:E},t(Jt,[2,16]),t(U,[2,12]),t(Kt,a,{8:108,45:164}),t(Gt,a,{8:110,47:165}),t(Xt,a,{8:112,49:166}),t(v,[2,50]),t(v,[2,52]),{5:[2,66]},{5:[2,67]},{82:[2,62]},{21:[2,49]},{21:[2,47]},{21:[2,45]}],defaultActions:{7:[2,79],8:[2,1],9:[2,2],10:[2,3],53:[2,82],89:[2,64],90:[2,65],97:[2,81],124:[2,56],125:[2,78],126:[2,57],127:[2,58],128:[2,59],150:[2,68],151:[2,54],152:[2,55],161:[2,66],162:[2,67],163:[2,62],164:[2,49],165:[2,47],166:[2,45]},parseError:function(m,w){if(w.recoverable)this.trace(m);else{var _=new Error(m);throw _.hash=w,_}},parse:function(m){var w=this,_=[0],g=[],A=[null],c=[],Tt=this.table,d="",bt=0,Qt=0,Te=2,Zt=1,ye=c.slice.call(arguments,1),O=Object.create(this.lexer),lt={yy:{}};for(var Dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Dt)&&(lt.yy[Dt]=this.yy[Dt]);O.setInput(m,lt.yy),lt.yy.lexer=O,lt.yy.parser=this,typeof O.yylloc>"u"&&(O.yylloc={});var Vt=O.yylloc;c.push(Vt);var Ee=O.options&&O.options.ranges;typeof lt.yy.parseError=="function"?this.parseError=lt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function me(){var nt;return nt=g.pop()||O.lex()||Zt,typeof nt!="number"&&(nt instanceof Array&&(g=nt,nt=g.pop()),nt=w.symbols_[nt]||nt),nt}for(var W,ht,Z,Ct,ut={},wt,it,jt,vt;;){if(ht=_[_.length-1],this.defaultActions[ht]?Z=this.defaultActions[ht]:((W===null||typeof W>"u")&&(W=me()),Z=Tt[ht]&&Tt[ht][W]),typeof Z>"u"||!Z.length||!Z[0]){var Ot="";vt=[];for(wt in Tt[ht])this.terminals_[wt]&&wt>Te&&vt.push("'"+this.terminals_[wt]+"'");O.showPosition?Ot="Parse error on line "+(bt+1)+`: `+O.showPosition()+` Expecting `+vt.join(", ")+", got '"+(this.terminals_[W]||W)+"'":Ot="Parse error on line "+(bt+1)+": Unexpected "+(W==Zt?"end of input":"'"+(this.terminals_[W]||W)+"'"),this.parseError(Ot,{text:O.match,token:this.terminals_[W]||W,line:O.yylineno,loc:Vt,expected:vt})}if(Z[0]instanceof Array&&Z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ht+", token: "+W);switch(Z[0]){case 1:_.push(W),A.push(O.yytext),c.push(O.yylloc),_.push(Z[1]),W=null,Qt=O.yyleng,d=O.yytext,bt=O.yylineno,Vt=O.yylloc;break;case 2:if(it=this.productions_[Z[1]][1],ut.$=A[A.length-it],ut._$={first_line:c[c.length-(it||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(it||1)].first_column,last_column:c[c.length-1].last_column},Ee&&(ut._$.range=[c[c.length-(it||1)].range[0],c[c.length-1].range[1]]),Ct=this.performAction.apply(ut,[d,Qt,bt,lt.yy,Z[1],A,c].concat(ye)),typeof Ct<"u")return Ct;it&&(_=_.slice(0,-1*it*2),A=A.slice(0,-1*it),c=c.slice(0,-1*it)),_.push(this.productions_[Z[1]][0]),A.push(ut.$),c.push(ut._$),jt=Tt[_[_.length-2]][_[_.length-1]],_.push(jt);break;case 3:return!0}}return!0}},ge=function(){var rt={EOF:1,parseError:function(w,_){if(this.yy.parser)this.yy.parser.parseError(w,_);else throw new Error(w)},setInput:function(m,w){return this.yy=w||this.yy||{},this._input=m,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var w=m.match(/(?:\r\n?|\n).*/g);return w?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},unput:function(m){var w=m.length,_=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-w),this.offset-=w;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),_.length-1&&(this.yylineno-=_.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:_?(_.length===g.length?this.yylloc.first_column:0)+g[g.length-_.length].length-_[0].length:this.yylloc.first_column-w},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-w]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(m){this.unput(this.match.slice(m))},pastInput:function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var m=this.pastInput(),w=new Array(m.length+1).join("-");return m+this.upcomingInput()+` diff --git a/docs/.vuepress/dist/assets/stateDiagram-d53d2428-90f9b785.js b/docs/.vuepress/dist/assets/stateDiagram-d53d2428-252e3f4f.js similarity index 97% rename from docs/.vuepress/dist/assets/stateDiagram-d53d2428-90f9b785.js rename to docs/.vuepress/dist/assets/stateDiagram-d53d2428-252e3f4f.js index 3919599..7709b0d 100644 --- a/docs/.vuepress/dist/assets/stateDiagram-d53d2428-90f9b785.js +++ b/docs/.vuepress/dist/assets/stateDiagram-d53d2428-252e3f4f.js @@ -1 +1 @@ -import{p as R,d as N,s as W}from"./styles-47a825a5-43e1605d.js";import{c as t,h as H,l as b,i as v,k as L,a2 as U,y as C}from"./mermaid.core-00b8b54a.js";import{G as A,l as F}from"./layout-6fd5c641.js";import{l as O}from"./line-93633409.js";import"./commonjsHelpers-725317a4.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";const X=e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),J=e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),Y=(e,i)=>{const o=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),c=o.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c.width+2*t().state.padding).attr("height",c.height+2*t().state.padding).attr("rx",t().state.radius),o},$=(e,i)=>{const o=function(d,m,f){const S=d.append("tspan").attr("x",2*t().state.padding).text(m);f||S.attr("dy",t().state.textHeight)},s=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=s.height,p=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,r=!0;i.descriptions.forEach(function(d){a||(o(p,d,r),r=!1),a=!1});const w=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),l=Math.max(x.width,s.width);return w.attr("x2",l+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",l+2*t().state.padding).attr("height",x.height+g+2*t().state.padding).attr("rx",t().state.radius),e},I=(e,i,o)=>{const c=t().state.padding,s=2*t().state.padding,g=e.node().getBBox(),p=g.width,a=g.x,r=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=r.node().getBBox().width+s;let l=Math.max(x,p);l===p&&(l=l+s);let d;const m=e.node().getBBox();i.doc,d=a-c,x>p&&(d=(p-l)/2+c),Math.abs(a-m.x)p&&(d=a-(x-p)/2);const f=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",d).attr("y",f).attr("class",o?"alt-composit":"composit").attr("width",l).attr("height",m.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),r.attr("x",d+c),x<=p&&r.attr("x",a+(l-s)/2-x/2+c),e.insert("rect",":first-child").attr("x",d).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",l).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",d).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",l).attr("height",m.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},_=e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),q=(e,i)=>{let o=t().state.forkWidth,c=t().state.forkHeight;if(i.parentId){let s=o;o=c,c=s}return e.append("rect").style("stroke","black").style("fill","black").attr("width",o).attr("height",c).attr("x",t().state.padding).attr("y",t().state.padding)},Z=(e,i,o,c)=>{let s=0;const g=c.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let p=e.replace(/\r\n/g,"
");p=p.replace(/\n/g,"
");const a=p.split(L.lineBreakRegex);let r=1.25*t().state.noteMargin;for(const w of a){const x=w.trim();if(x.length>0){const l=g.append("tspan");if(l.text(x),r===0){const d=l.node().getBBox();r+=d.height}s+=r,l.attr("x",i+t().state.noteMargin),l.attr("y",o+s+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:s}},D=(e,i)=>{i.attr("class","state-note");const o=i.append("rect").attr("x",0).attr("y",t().state.padding),c=i.append("g"),{textWidth:s,textHeight:g}=Z(e,0,0,c);return o.attr("height",g+2*t().state.noteMargin),o.attr("width",s+t().state.noteMargin*2),o},T=function(e,i){const o=i.id,c={id:o,label:i.id,width:0,height:0},s=e.append("g").attr("id",o).attr("class","stateGroup");i.type==="start"&&X(s),i.type==="end"&&_(s),(i.type==="fork"||i.type==="join")&&q(s,i),i.type==="note"&&D(i.note.text,s),i.type==="divider"&&J(s),i.type==="default"&&i.descriptions.length===0&&Y(s,i),i.type==="default"&&i.descriptions.length>0&&$(s,i);const g=s.node().getBBox();return c.width=g.width+2*t().state.padding,c.height=g.height+2*t().state.padding,c};let G=0;const K=function(e,i,o){const c=function(r){switch(r){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}};i.points=i.points.filter(r=>!Number.isNaN(r.y));const s=i.points,g=O().x(function(r){return r.x}).y(function(r){return r.y}).curve(U),p=e.append("path").attr("d",g(s)).attr("id","edge"+G).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),p.attr("marker-end","url("+a+"#"+c(N.relationType.DEPENDENCY)+"End)"),o.title!==void 0){const r=e.append("g").attr("class","stateLabel"),{x:w,y:x}=C.calcLabelPosition(i.points),l=L.getRows(o.title);let d=0;const m=[];let f=0,S=0;for(let u=0;u<=l.length;u++){const h=r.append("text").attr("text-anchor","middle").text(l[u]).attr("x",w).attr("y",x+d),y=h.node().getBBox();f=Math.max(f,y.width),S=Math.min(S,y.x),b.info(y.x,w,x+d),d===0&&(d=h.node().getBBox().height,b.info("Title height",d,x)),m.push(h)}let k=d*l.length;if(l.length>1){const u=(l.length-1)*d*.5;m.forEach((h,y)=>h.attr("y",x+y*d-u)),k=d*l.length}const n=r.node().getBBox();r.insert("rect",":first-child").attr("class","box").attr("x",w-f/2-t().state.padding/2).attr("y",x-k/2-t().state.padding/2-3.5).attr("width",f+t().state.padding).attr("height",k+t().state.padding),b.info(n)}G++};let B;const z={},Q=function(){},V=function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},j=function(e,i,o,c){B=t().state;const s=t().securityLevel;let g;s==="sandbox"&&(g=H("#i"+i));const p=s==="sandbox"?H(g.nodes()[0].contentDocument.body):H("body"),a=s==="sandbox"?g.nodes()[0].contentDocument:document;b.debug("Rendering diagram "+e);const r=p.select(`[id='${i}']`);V(r),new A({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel(function(){return{}});const x=c.db.getRootDoc();P(x,r,void 0,!1,p,a,c);const l=B.padding,d=r.node().getBBox(),m=d.width+l*2,f=d.height+l*2,S=m*1.75;v(r,f,S,B.useMaxWidth),r.attr("viewBox",`${d.x-B.padding} ${d.y-B.padding} `+m+" "+f)},tt=e=>e?e.length*B.fontSizeFactor:1,P=(e,i,o,c,s,g,p)=>{const a=new A({compound:!0,multigraph:!0});let r,w=!0;for(r=0;r{const y=h.parentElement;let E=0,M=0;y&&(y.parentElement&&(E=y.parentElement.getBBox().width),M=parseInt(y.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",E-M-8)})):b.debug("No Node "+n+": "+JSON.stringify(a.node(n)))});let S=f.getBBox();a.edges().forEach(function(n){n!==void 0&&a.edge(n)!==void 0&&(b.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(a.edge(n))),K(i,a.edge(n),a.edge(n).relation))}),S=f.getBBox();const k={id:o||"root",label:o||"root",width:0,height:0};return k.width=S.width+2*B.padding,k.height=S.height+2*B.padding,b.debug("Doc rendered",k,a),k},et={setConf:Q,draw:j},gt={parser:R,db:N,renderer:et,styles:W,init:e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,N.clear()}};export{gt as diagram}; +import{p as R,d as N,s as W}from"./styles-47a825a5-093f9ef5.js";import{c as t,h as H,l as b,i as v,k as L,a2 as U,y as C}from"./mermaid.core-5f04c634.js";import{G as A,l as F}from"./layout-2d03da6d.js";import{l as O}from"./line-696a8ea1.js";import"./commonjsHelpers-725317a4.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";const X=e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),J=e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),Y=(e,i)=>{const o=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),c=o.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c.width+2*t().state.padding).attr("height",c.height+2*t().state.padding).attr("rx",t().state.radius),o},$=(e,i)=>{const o=function(d,m,f){const S=d.append("tspan").attr("x",2*t().state.padding).text(m);f||S.attr("dy",t().state.textHeight)},s=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=s.height,p=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,r=!0;i.descriptions.forEach(function(d){a||(o(p,d,r),r=!1),a=!1});const w=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),l=Math.max(x.width,s.width);return w.attr("x2",l+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",l+2*t().state.padding).attr("height",x.height+g+2*t().state.padding).attr("rx",t().state.radius),e},I=(e,i,o)=>{const c=t().state.padding,s=2*t().state.padding,g=e.node().getBBox(),p=g.width,a=g.x,r=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=r.node().getBBox().width+s;let l=Math.max(x,p);l===p&&(l=l+s);let d;const m=e.node().getBBox();i.doc,d=a-c,x>p&&(d=(p-l)/2+c),Math.abs(a-m.x)p&&(d=a-(x-p)/2);const f=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",d).attr("y",f).attr("class",o?"alt-composit":"composit").attr("width",l).attr("height",m.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),r.attr("x",d+c),x<=p&&r.attr("x",a+(l-s)/2-x/2+c),e.insert("rect",":first-child").attr("x",d).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",l).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",d).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",l).attr("height",m.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},_=e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),q=(e,i)=>{let o=t().state.forkWidth,c=t().state.forkHeight;if(i.parentId){let s=o;o=c,c=s}return e.append("rect").style("stroke","black").style("fill","black").attr("width",o).attr("height",c).attr("x",t().state.padding).attr("y",t().state.padding)},Z=(e,i,o,c)=>{let s=0;const g=c.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let p=e.replace(/\r\n/g,"
");p=p.replace(/\n/g,"
");const a=p.split(L.lineBreakRegex);let r=1.25*t().state.noteMargin;for(const w of a){const x=w.trim();if(x.length>0){const l=g.append("tspan");if(l.text(x),r===0){const d=l.node().getBBox();r+=d.height}s+=r,l.attr("x",i+t().state.noteMargin),l.attr("y",o+s+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:s}},D=(e,i)=>{i.attr("class","state-note");const o=i.append("rect").attr("x",0).attr("y",t().state.padding),c=i.append("g"),{textWidth:s,textHeight:g}=Z(e,0,0,c);return o.attr("height",g+2*t().state.noteMargin),o.attr("width",s+t().state.noteMargin*2),o},T=function(e,i){const o=i.id,c={id:o,label:i.id,width:0,height:0},s=e.append("g").attr("id",o).attr("class","stateGroup");i.type==="start"&&X(s),i.type==="end"&&_(s),(i.type==="fork"||i.type==="join")&&q(s,i),i.type==="note"&&D(i.note.text,s),i.type==="divider"&&J(s),i.type==="default"&&i.descriptions.length===0&&Y(s,i),i.type==="default"&&i.descriptions.length>0&&$(s,i);const g=s.node().getBBox();return c.width=g.width+2*t().state.padding,c.height=g.height+2*t().state.padding,c};let G=0;const K=function(e,i,o){const c=function(r){switch(r){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}};i.points=i.points.filter(r=>!Number.isNaN(r.y));const s=i.points,g=O().x(function(r){return r.x}).y(function(r){return r.y}).curve(U),p=e.append("path").attr("d",g(s)).attr("id","edge"+G).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),p.attr("marker-end","url("+a+"#"+c(N.relationType.DEPENDENCY)+"End)"),o.title!==void 0){const r=e.append("g").attr("class","stateLabel"),{x:w,y:x}=C.calcLabelPosition(i.points),l=L.getRows(o.title);let d=0;const m=[];let f=0,S=0;for(let u=0;u<=l.length;u++){const h=r.append("text").attr("text-anchor","middle").text(l[u]).attr("x",w).attr("y",x+d),y=h.node().getBBox();f=Math.max(f,y.width),S=Math.min(S,y.x),b.info(y.x,w,x+d),d===0&&(d=h.node().getBBox().height,b.info("Title height",d,x)),m.push(h)}let k=d*l.length;if(l.length>1){const u=(l.length-1)*d*.5;m.forEach((h,y)=>h.attr("y",x+y*d-u)),k=d*l.length}const n=r.node().getBBox();r.insert("rect",":first-child").attr("class","box").attr("x",w-f/2-t().state.padding/2).attr("y",x-k/2-t().state.padding/2-3.5).attr("width",f+t().state.padding).attr("height",k+t().state.padding),b.info(n)}G++};let B;const z={},Q=function(){},V=function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},j=function(e,i,o,c){B=t().state;const s=t().securityLevel;let g;s==="sandbox"&&(g=H("#i"+i));const p=s==="sandbox"?H(g.nodes()[0].contentDocument.body):H("body"),a=s==="sandbox"?g.nodes()[0].contentDocument:document;b.debug("Rendering diagram "+e);const r=p.select(`[id='${i}']`);V(r),new A({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel(function(){return{}});const x=c.db.getRootDoc();P(x,r,void 0,!1,p,a,c);const l=B.padding,d=r.node().getBBox(),m=d.width+l*2,f=d.height+l*2,S=m*1.75;v(r,f,S,B.useMaxWidth),r.attr("viewBox",`${d.x-B.padding} ${d.y-B.padding} `+m+" "+f)},tt=e=>e?e.length*B.fontSizeFactor:1,P=(e,i,o,c,s,g,p)=>{const a=new A({compound:!0,multigraph:!0});let r,w=!0;for(r=0;r{const y=h.parentElement;let E=0,M=0;y&&(y.parentElement&&(E=y.parentElement.getBBox().width),M=parseInt(y.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",E-M-8)})):b.debug("No Node "+n+": "+JSON.stringify(a.node(n)))});let S=f.getBBox();a.edges().forEach(function(n){n!==void 0&&a.edge(n)!==void 0&&(b.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(a.edge(n))),K(i,a.edge(n),a.edge(n).relation))}),S=f.getBBox();const k={id:o||"root",label:o||"root",width:0,height:0};return k.width=S.width+2*B.padding,k.height=S.height+2*B.padding,b.debug("Doc rendered",k,a),k},et={setConf:Q,draw:j},gt={parser:R,db:N,renderer:et,styles:W,init:e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,N.clear()}};export{gt as diagram}; diff --git a/docs/.vuepress/dist/assets/stateDiagram-v2-9765461d-a5f3e7e4.js b/docs/.vuepress/dist/assets/stateDiagram-v2-9765461d-9f477d66.js similarity index 91% rename from docs/.vuepress/dist/assets/stateDiagram-v2-9765461d-a5f3e7e4.js rename to docs/.vuepress/dist/assets/stateDiagram-v2-9765461d-9f477d66.js index 1fff4e5..bc776f2 100644 --- a/docs/.vuepress/dist/assets/stateDiagram-v2-9765461d-a5f3e7e4.js +++ b/docs/.vuepress/dist/assets/stateDiagram-v2-9765461d-9f477d66.js @@ -1 +1 @@ -import{p as Q,d as B,s as X,D as H,a as Z,S as F,b as j,c as I}from"./styles-47a825a5-43e1605d.js";import{G as tt}from"./layout-6fd5c641.js";import{l,c as g,h as x,y as et,i as ot,k as G}from"./mermaid.core-00b8b54a.js";import{r as st}from"./index-5219d011-50992b0b.js";import"./createText-1f5f8f92-f405caff.js";import"./commonjsHelpers-725317a4.js";import"./app-0ebef9d2.js";import"./framework-64cb0dab.js";import"./edges-2e77835f-0b2286d7.js";import"./svgDraw-2526cba0-86ed4b4e.js";import"./line-93633409.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";const A="rect",C="rectWithTitle",nt="start",ct="end",it="divider",rt="roundedWithTitle",lt="note",at="noteGroup",_="statediagram",dt="state",Et=`${_}-${dt}`,U="transition",St="note",pt="note-edge",Tt=`${U} ${pt}`,_t=`${_}-${St}`,ut="cluster",Dt=`${_}-${ut}`,ft="cluster-alt",bt=`${_}-${ft}`,V="parent",Y="note",ht="state",N="----",At=`${N}${Y}`,M=`${N}${V}`,W="fill:none",m="fill: #333",z="c",q="text",K="normal";let y={},E=0;const yt=function(t){const n=Object.keys(t);for(const e of n)t[e]},gt=function(t,n){l.trace("Extracting classes"),n.db.clear();try{return n.parser.parse(t),n.db.extract(n.db.getRootDocV2()),n.db.getClasses()}catch(e){return e}};function $t(t){return t==null?"":t.classes?t.classes.join(" "):""}function R(t="",n=0,e="",c=N){const i=e!==null&&e.length>0?`${c}${e}`:"";return`${ht}-${t}${i}-${n}`}const h=(t,n,e,c,i,r)=>{const o=e.id,u=$t(c[o]);if(o!=="root"){let p=A;e.start===!0&&(p=nt),e.start===!1&&(p=ct),e.type!==H&&(p=e.type),y[o]||(y[o]={id:o,shape:p,description:G.sanitizeText(o,g()),classes:`${u} ${Et}`});const s=y[o];e.description&&(Array.isArray(s.description)?(s.shape=C,s.description.push(e.description)):s.description.length>0?(s.shape=C,s.description===o?s.description=[e.description]:s.description=[s.description,e.description]):(s.shape=A,s.description=e.description),s.description=G.sanitizeTextOrArray(s.description,g())),s.description.length===1&&s.shape===C&&(s.shape=A),!s.type&&e.doc&&(l.info("Setting cluster for ",o,w(e)),s.type="group",s.dir=w(e),s.shape=e.type===Z?it:rt,s.classes=s.classes+" "+Dt+" "+(r?bt:""));const T={labelStyle:"",shape:s.shape,labelText:s.description,classes:s.classes,style:"",id:o,dir:s.dir,domId:R(o,E),type:s.type,padding:15};if(T.centerLabel=!0,e.note){const a={labelStyle:"",shape:lt,labelText:e.note.text,classes:_t,style:"",id:o+At+"-"+E,domId:R(o,E,Y),type:s.type,padding:15},d={labelStyle:"",shape:at,labelText:e.note.text,classes:s.classes,style:"",id:o+M,domId:R(o,E,V),type:"group",padding:0};E++;const D=o+M;t.setNode(D,d),t.setNode(a.id,a),t.setNode(o,T),t.setParent(o,D),t.setParent(a.id,D);let S=o,f=a.id;e.note.position==="left of"&&(S=a.id,f=o),t.setEdge(S,f,{arrowhead:"none",arrowType:"",style:W,labelStyle:"",classes:Tt,arrowheadStyle:m,labelpos:z,labelType:q,thickness:K})}else t.setNode(o,T)}n&&n.id!=="root"&&(l.trace("Setting node ",o," to be child of its parent ",n.id),t.setParent(o,n.id)),e.doc&&(l.trace("Adding nodes children "),xt(t,e,e.doc,c,i,!r))},xt=(t,n,e,c,i,r)=>{l.trace("items",e),e.forEach(o=>{switch(o.stmt){case j:h(t,n,o,c,i,r);break;case H:h(t,n,o,c,i,r);break;case F:{h(t,n,o.state1,c,i,r),h(t,n,o.state2,c,i,r);const u={id:"edge"+E,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:W,labelStyle:"",label:G.sanitizeText(o.description,g()),arrowheadStyle:m,labelpos:z,labelType:q,thickness:K,classes:U};t.setEdge(o.state1.id,o.state2.id,u,E),E++}break}})},w=(t,n=I)=>{let e=n;if(t.doc)for(let c=0;c{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,B.clear()}};export{Yt as diagram}; +import{p as Q,d as B,s as X,D as H,a as Z,S as F,b as j,c as I}from"./styles-47a825a5-093f9ef5.js";import{G as tt}from"./layout-2d03da6d.js";import{l,c as g,h as x,y as et,i as ot,k as G}from"./mermaid.core-5f04c634.js";import{r as st}from"./index-5219d011-730b0cac.js";import"./createText-1f5f8f92-c2c40041.js";import"./commonjsHelpers-725317a4.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";import"./edges-2e77835f-a16bcc0b.js";import"./svgDraw-2526cba0-39b24240.js";import"./line-696a8ea1.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";const A="rect",C="rectWithTitle",nt="start",ct="end",it="divider",rt="roundedWithTitle",lt="note",at="noteGroup",_="statediagram",dt="state",Et=`${_}-${dt}`,U="transition",St="note",pt="note-edge",Tt=`${U} ${pt}`,_t=`${_}-${St}`,ut="cluster",Dt=`${_}-${ut}`,ft="cluster-alt",bt=`${_}-${ft}`,V="parent",Y="note",ht="state",N="----",At=`${N}${Y}`,M=`${N}${V}`,W="fill:none",m="fill: #333",z="c",q="text",K="normal";let y={},E=0;const yt=function(t){const n=Object.keys(t);for(const e of n)t[e]},gt=function(t,n){l.trace("Extracting classes"),n.db.clear();try{return n.parser.parse(t),n.db.extract(n.db.getRootDocV2()),n.db.getClasses()}catch(e){return e}};function $t(t){return t==null?"":t.classes?t.classes.join(" "):""}function R(t="",n=0,e="",c=N){const i=e!==null&&e.length>0?`${c}${e}`:"";return`${ht}-${t}${i}-${n}`}const h=(t,n,e,c,i,r)=>{const o=e.id,u=$t(c[o]);if(o!=="root"){let p=A;e.start===!0&&(p=nt),e.start===!1&&(p=ct),e.type!==H&&(p=e.type),y[o]||(y[o]={id:o,shape:p,description:G.sanitizeText(o,g()),classes:`${u} ${Et}`});const s=y[o];e.description&&(Array.isArray(s.description)?(s.shape=C,s.description.push(e.description)):s.description.length>0?(s.shape=C,s.description===o?s.description=[e.description]:s.description=[s.description,e.description]):(s.shape=A,s.description=e.description),s.description=G.sanitizeTextOrArray(s.description,g())),s.description.length===1&&s.shape===C&&(s.shape=A),!s.type&&e.doc&&(l.info("Setting cluster for ",o,w(e)),s.type="group",s.dir=w(e),s.shape=e.type===Z?it:rt,s.classes=s.classes+" "+Dt+" "+(r?bt:""));const T={labelStyle:"",shape:s.shape,labelText:s.description,classes:s.classes,style:"",id:o,dir:s.dir,domId:R(o,E),type:s.type,padding:15};if(T.centerLabel=!0,e.note){const a={labelStyle:"",shape:lt,labelText:e.note.text,classes:_t,style:"",id:o+At+"-"+E,domId:R(o,E,Y),type:s.type,padding:15},d={labelStyle:"",shape:at,labelText:e.note.text,classes:s.classes,style:"",id:o+M,domId:R(o,E,V),type:"group",padding:0};E++;const D=o+M;t.setNode(D,d),t.setNode(a.id,a),t.setNode(o,T),t.setParent(o,D),t.setParent(a.id,D);let S=o,f=a.id;e.note.position==="left of"&&(S=a.id,f=o),t.setEdge(S,f,{arrowhead:"none",arrowType:"",style:W,labelStyle:"",classes:Tt,arrowheadStyle:m,labelpos:z,labelType:q,thickness:K})}else t.setNode(o,T)}n&&n.id!=="root"&&(l.trace("Setting node ",o," to be child of its parent ",n.id),t.setParent(o,n.id)),e.doc&&(l.trace("Adding nodes children "),xt(t,e,e.doc,c,i,!r))},xt=(t,n,e,c,i,r)=>{l.trace("items",e),e.forEach(o=>{switch(o.stmt){case j:h(t,n,o,c,i,r);break;case H:h(t,n,o,c,i,r);break;case F:{h(t,n,o.state1,c,i,r),h(t,n,o.state2,c,i,r);const u={id:"edge"+E,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:W,labelStyle:"",label:G.sanitizeText(o.description,g()),arrowheadStyle:m,labelpos:z,labelType:q,thickness:K,classes:U};t.setEdge(o.state1.id,o.state2.id,u,E),E++}break}})},w=(t,n=I)=>{let e=n;if(t.doc)for(let c=0;c{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,B.clear()}};export{Yt as diagram}; diff --git a/docs/.vuepress/dist/assets/styles-16907e1b-d59f3acb.js b/docs/.vuepress/dist/assets/styles-16907e1b-08621a1b.js similarity index 99% rename from docs/.vuepress/dist/assets/styles-16907e1b-d59f3acb.js rename to docs/.vuepress/dist/assets/styles-16907e1b-08621a1b.js index 5df9d0a..0b96cb5 100644 --- a/docs/.vuepress/dist/assets/styles-16907e1b-d59f3acb.js +++ b/docs/.vuepress/dist/assets/styles-16907e1b-08621a1b.js @@ -1,4 +1,4 @@ -import{s as Ke,g as Qe,a as je,b as Xe,c as I,v as He,x as We,m as qe,z as Je,l as Ze,k as ae,y as Oe,h as w}from"./mermaid.core-00b8b54a.js";var le=function(){var e=function(S,u,r,l){for(r=r||{},l=S.length;l--;r[S[l]]=u);return r},n=[1,3],c=[1,7],o=[1,8],h=[1,9],E=[1,10],d=[1,13],b=[1,12],D=[1,16,25],fe=[1,20],pe=[1,32],de=[1,33],Ee=[1,34],Ce=[1,48],ge=[1,39],ke=[1,37],Fe=[1,38],me=[1,44],De=[1,45],_e=[1,40],be=[1,41],Be=[1,42],ye=[1,43],C=[1,49],g=[1,50],k=[1,51],m=[1,52],a=[16,25],G=[1,66],M=[1,67],U=[1,68],z=[1,69],Y=[1,70],q=[1,71],J=[1,72],Te=[1,82],O=[16,25,28,29,36,49,50,64,65,66,67,68,69,70,75,77],Z=[16,25,28,29,34,36,49,50,55,64,65,66,67,68,69,70,75,77,92,93,94,95],Se=[5,8,9,10,11,16,19,23,25],K=[29,92,93,94,95],R=[29,69,70,92,93,94,95],ve=[29,64,65,66,67,68,92,93,94,95],$=[1,96],ee=[16,25,49,50],Q=[16,25,36],te={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statments:5,direction:6,directive:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,statements:24,EOF:25,statement:26,classLabel:27,SQS:28,STR:29,SQE:30,className:31,alphaNumToken:32,classLiteralName:33,GENERICTYPE:34,relationStatement:35,LABEL:36,classStatement:37,methodStatement:38,annotationStatement:39,clickStatement:40,cssClassStatement:41,noteStatement:42,acc_title:43,acc_title_value:44,acc_descr:45,acc_descr_value:46,acc_descr_multiline_value:47,classIdentifier:48,STYLE_SEPARATOR:49,STRUCT_START:50,members:51,STRUCT_STOP:52,CLASS:53,ANNOTATION_START:54,ANNOTATION_END:55,MEMBER:56,SEPARATOR:57,relation:58,NOTE_FOR:59,noteText:60,NOTE:61,relationType:62,lineType:63,AGGREGATION:64,EXTENSION:65,COMPOSITION:66,DEPENDENCY:67,LOLLIPOP:68,LINE:69,DOTTED_LINE:70,CALLBACK:71,LINK:72,LINK_TARGET:73,CLICK:74,CALLBACK_NAME:75,CALLBACK_ARGS:76,HREF:77,CSSCLASS:78,commentToken:79,textToken:80,graphCodeTokens:81,textNoTagsToken:82,TAGSTART:83,TAGEND:84,"==":85,"--":86,PCT:87,DEFAULT:88,SPACE:89,MINUS:90,keywords:91,UNICODE_TEXT:92,NUM:93,ALPHA:94,BQUOTE_STR:95,$accept:0,$end:1},terminals_:{2:"error",5:"statments",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",25:"EOF",28:"SQS",29:"STR",30:"SQE",34:"GENERICTYPE",36:"LABEL",43:"acc_title",44:"acc_title_value",45:"acc_descr",46:"acc_descr_value",47:"acc_descr_multiline_value",49:"STYLE_SEPARATOR",50:"STRUCT_START",52:"STRUCT_STOP",53:"CLASS",54:"ANNOTATION_START",55:"ANNOTATION_END",56:"MEMBER",57:"SEPARATOR",59:"NOTE_FOR",61:"NOTE",64:"AGGREGATION",65:"EXTENSION",66:"COMPOSITION",67:"DEPENDENCY",68:"LOLLIPOP",69:"LINE",70:"DOTTED_LINE",71:"CALLBACK",72:"LINK",73:"LINK_TARGET",74:"CLICK",75:"CALLBACK_NAME",76:"CALLBACK_ARGS",77:"HREF",78:"CSSCLASS",81:"graphCodeTokens",83:"TAGSTART",84:"TAGEND",85:"==",86:"--",87:"PCT",88:"DEFAULT",89:"SPACE",90:"MINUS",91:"keywords",92:"UNICODE_TEXT",93:"NUM",94:"ALPHA",95:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,1],[3,2],[6,1],[6,1],[6,1],[6,1],[4,1],[7,4],[7,6],[13,1],[14,1],[18,1],[15,1],[12,4],[24,1],[24,2],[24,3],[27,3],[31,1],[31,1],[31,2],[31,2],[31,2],[26,1],[26,2],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,2],[26,2],[26,1],[37,1],[37,3],[37,4],[37,6],[48,2],[48,3],[39,4],[51,1],[51,2],[38,1],[38,2],[38,1],[38,1],[35,3],[35,4],[35,4],[35,5],[42,3],[42,2],[58,3],[58,2],[58,2],[58,1],[62,1],[62,1],[62,1],[62,1],[62,1],[63,1],[63,1],[40,3],[40,4],[40,3],[40,4],[40,4],[40,5],[40,3],[40,4],[40,4],[40,5],[40,3],[40,4],[40,4],[40,5],[41,3],[79,1],[79,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[82,1],[82,1],[82,1],[82,1],[32,1],[32,1],[32,1],[33,1],[60,1]],performAction:function(u,r,l,i,A,t,P){var s=t.length-1;switch(A){case 5:i.setDirection("TB");break;case 6:i.setDirection("BT");break;case 7:i.setDirection("RL");break;case 8:i.setDirection("LR");break;case 12:i.parseDirective("%%{","open_directive");break;case 13:i.parseDirective(t[s],"type_directive");break;case 14:t[s]=t[s].trim().replace(/'/g,'"'),i.parseDirective(t[s],"arg_directive");break;case 15:i.parseDirective("}%%","close_directive","class");break;case 20:this.$=t[s-1];break;case 21:case 22:this.$=t[s];break;case 23:this.$=t[s-1]+t[s];break;case 24:case 25:this.$=t[s-1]+"~"+t[s];break;case 26:i.addRelation(t[s]);break;case 27:t[s-1].title=i.cleanupLabel(t[s]),i.addRelation(t[s-1]);break;case 36:this.$=t[s].trim(),i.setAccTitle(this.$);break;case 37:case 38:this.$=t[s].trim(),i.setAccDescription(this.$);break;case 40:i.setCssClass(t[s-2],t[s]);break;case 41:i.addMembers(t[s-3],t[s-1]);break;case 42:i.setCssClass(t[s-5],t[s-3]),i.addMembers(t[s-5],t[s-1]);break;case 43:this.$=t[s],i.addClass(t[s]);break;case 44:this.$=t[s-1],i.addClass(t[s-1]),i.setClassLabel(t[s-1],t[s]);break;case 45:i.addAnnotation(t[s],t[s-2]);break;case 46:this.$=[t[s]];break;case 47:t[s].push(t[s-1]),this.$=t[s];break;case 48:break;case 49:i.addMember(t[s-1],i.cleanupLabel(t[s]));break;case 50:break;case 51:break;case 52:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 53:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 54:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 55:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 56:i.addNote(t[s],t[s-1]);break;case 57:i.addNote(t[s]);break;case 58:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 59:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 61:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 62:this.$=i.relationType.AGGREGATION;break;case 63:this.$=i.relationType.EXTENSION;break;case 64:this.$=i.relationType.COMPOSITION;break;case 65:this.$=i.relationType.DEPENDENCY;break;case 66:this.$=i.relationType.LOLLIPOP;break;case 67:this.$=i.lineType.LINE;break;case 68:this.$=i.lineType.DOTTED_LINE;break;case 69:case 75:this.$=t[s-2],i.setClickEvent(t[s-1],t[s]);break;case 70:case 76:this.$=t[s-3],i.setClickEvent(t[s-2],t[s-1]),i.setTooltip(t[s-2],t[s]);break;case 71:case 79:this.$=t[s-2],i.setLink(t[s-1],t[s]);break;case 72:this.$=t[s-3],i.setLink(t[s-2],t[s-1],t[s]);break;case 73:case 81:this.$=t[s-3],i.setLink(t[s-2],t[s-1]),i.setTooltip(t[s-2],t[s]);break;case 74:case 82:this.$=t[s-4],i.setLink(t[s-3],t[s-2],t[s]),i.setTooltip(t[s-3],t[s-1]);break;case 77:this.$=t[s-3],i.setClickEvent(t[s-2],t[s-1],t[s]);break;case 78:this.$=t[s-4],i.setClickEvent(t[s-3],t[s-2],t[s-1]),i.setTooltip(t[s-3],t[s]);break;case 80:this.$=t[s-3],i.setLink(t[s-2],t[s-1],t[s]);break;case 83:i.setCssClass(t[s-1],t[s]);break}},table:[{3:1,4:2,5:n,6:4,7:5,8:c,9:o,10:h,11:E,12:6,13:11,19:d,23:b},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{3:14,4:2,5:n,6:4,7:5,8:c,9:o,10:h,11:E,12:6,13:11,19:d,23:b},{1:[2,9]},e(D,[2,5]),e(D,[2,6]),e(D,[2,7]),e(D,[2,8]),{14:15,20:[1,16]},{16:[1,17]},{20:[2,12]},{1:[2,4]},{15:18,17:[1,19],22:fe},e([17,22],[2,13]),{6:31,7:30,8:c,9:o,10:h,11:E,13:11,19:d,24:21,26:22,31:35,32:46,33:47,35:23,37:24,38:25,39:26,40:27,41:28,42:29,43:pe,45:de,47:Ee,48:36,53:Ce,54:ge,56:ke,57:Fe,59:me,61:De,71:_e,72:be,74:Be,78:ye,92:C,93:g,94:k,95:m},{16:[1,53]},{18:54,21:[1,55]},{16:[2,15]},{25:[1,56]},{16:[1,57],25:[2,17]},e(a,[2,26],{36:[1,58]}),e(a,[2,28]),e(a,[2,29]),e(a,[2,30]),e(a,[2,31]),e(a,[2,32]),e(a,[2,33]),e(a,[2,34]),e(a,[2,35]),{44:[1,59]},{46:[1,60]},e(a,[2,38]),e(a,[2,48],{58:61,62:64,63:65,29:[1,62],36:[1,63],64:G,65:M,66:U,67:z,68:Y,69:q,70:J}),e(a,[2,39],{49:[1,73],50:[1,74]}),e(a,[2,50]),e(a,[2,51]),{32:75,92:C,93:g,94:k},{31:76,32:46,33:47,92:C,93:g,94:k,95:m},{31:77,32:46,33:47,92:C,93:g,94:k,95:m},{31:78,32:46,33:47,92:C,93:g,94:k,95:m},{29:[1,79]},{31:80,32:46,33:47,92:C,93:g,94:k,95:m},{29:Te,60:81},e(O,[2,21],{32:46,33:47,31:83,34:[1,84],92:C,93:g,94:k,95:m}),e(O,[2,22],{34:[1,85]}),{31:86,32:46,33:47,92:C,93:g,94:k,95:m},e(Z,[2,97]),e(Z,[2,98]),e(Z,[2,99]),e([16,25,28,29,34,36,49,50,64,65,66,67,68,69,70,75,77],[2,100]),e(Se,[2,10]),{15:87,22:fe},{22:[2,14]},{1:[2,16]},{6:31,7:30,8:c,9:o,10:h,11:E,13:11,19:d,24:88,25:[2,18],26:22,31:35,32:46,33:47,35:23,37:24,38:25,39:26,40:27,41:28,42:29,43:pe,45:de,47:Ee,48:36,53:Ce,54:ge,56:ke,57:Fe,59:me,61:De,71:_e,72:be,74:Be,78:ye,92:C,93:g,94:k,95:m},e(a,[2,27]),e(a,[2,36]),e(a,[2,37]),{29:[1,90],31:89,32:46,33:47,92:C,93:g,94:k,95:m},{58:91,62:64,63:65,64:G,65:M,66:U,67:z,68:Y,69:q,70:J},e(a,[2,49]),{63:92,69:q,70:J},e(K,[2,61],{62:93,64:G,65:M,66:U,67:z,68:Y}),e(R,[2,62]),e(R,[2,63]),e(R,[2,64]),e(R,[2,65]),e(R,[2,66]),e(ve,[2,67]),e(ve,[2,68]),{32:94,92:C,93:g,94:k},{51:95,56:$},{55:[1,97]},{29:[1,98]},{29:[1,99]},{75:[1,100],77:[1,101]},{32:102,92:C,93:g,94:k},{29:Te,60:103},e(a,[2,57]),e(a,[2,101]),e(O,[2,23]),e(O,[2,24]),e(O,[2,25]),e(ee,[2,43],{27:104,28:[1,105]}),{16:[1,106]},{25:[2,19]},e(Q,[2,52]),{31:107,32:46,33:47,92:C,93:g,94:k,95:m},{29:[1,109],31:108,32:46,33:47,92:C,93:g,94:k,95:m},e(K,[2,60],{62:110,64:G,65:M,66:U,67:z,68:Y}),e(K,[2,59]),e(a,[2,40],{50:[1,111]}),{52:[1,112]},{51:113,52:[2,46],56:$},{31:114,32:46,33:47,92:C,93:g,94:k,95:m},e(a,[2,69],{29:[1,115]}),e(a,[2,71],{29:[1,117],73:[1,116]}),e(a,[2,75],{29:[1,118],76:[1,119]}),e(a,[2,79],{29:[1,121],73:[1,120]}),e(a,[2,83]),e(a,[2,56]),e(ee,[2,44]),{29:[1,122]},e(Se,[2,11]),e(Q,[2,54]),e(Q,[2,53]),{31:123,32:46,33:47,92:C,93:g,94:k,95:m},e(K,[2,58]),{51:124,56:$},e(a,[2,41]),{52:[2,47]},e(a,[2,45]),e(a,[2,70]),e(a,[2,72]),e(a,[2,73],{73:[1,125]}),e(a,[2,76]),e(a,[2,77],{29:[1,126]}),e(a,[2,80]),e(a,[2,81],{73:[1,127]}),{30:[1,128]},e(Q,[2,55]),{52:[1,129]},e(a,[2,74]),e(a,[2,78]),e(a,[2,82]),e(ee,[2,20]),e(a,[2,42])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],6:[2,9],13:[2,12],14:[2,4],20:[2,15],55:[2,14],56:[2,16],88:[2,19],113:[2,47]},parseError:function(u,r){if(r.recoverable)this.trace(u);else{var l=new Error(u);throw l.hash=r,l}},parse:function(u){var r=this,l=[0],i=[],A=[null],t=[],P=this.table,s="",j=0,Ne=0,Me=2,Le=1,Ue=t.slice.call(arguments,1),p=Object.create(this.lexer),v={yy:{}};for(var ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ie)&&(v.yy[ie]=this.yy[ie]);p.setInput(u,v.yy),v.yy.lexer=p,v.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var ue=p.yylloc;t.push(ue);var ze=p.options&&p.options.ranges;typeof v.yy.parseError=="function"?this.parseError=v.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ye(){var y;return y=i.pop()||p.lex()||Le,typeof y!="number"&&(y instanceof Array&&(i=y,y=i.pop()),y=r.symbols_[y]||y),y}for(var F,N,_,ne,L={},X,B,Ie,H;;){if(N=l[l.length-1],this.defaultActions[N]?_=this.defaultActions[N]:((F===null||typeof F>"u")&&(F=Ye()),_=P[N]&&P[N][F]),typeof _>"u"||!_.length||!_[0]){var re="";H=[];for(X in P[N])this.terminals_[X]&&X>Me&&H.push("'"+this.terminals_[X]+"'");p.showPosition?re="Parse error on line "+(j+1)+`: +import{s as Ke,g as Qe,a as je,b as Xe,c as I,v as He,x as We,m as qe,z as Je,l as Ze,k as ae,y as Oe,h as w}from"./mermaid.core-5f04c634.js";var le=function(){var e=function(S,u,r,l){for(r=r||{},l=S.length;l--;r[S[l]]=u);return r},n=[1,3],c=[1,7],o=[1,8],h=[1,9],E=[1,10],d=[1,13],b=[1,12],D=[1,16,25],fe=[1,20],pe=[1,32],de=[1,33],Ee=[1,34],Ce=[1,48],ge=[1,39],ke=[1,37],Fe=[1,38],me=[1,44],De=[1,45],_e=[1,40],be=[1,41],Be=[1,42],ye=[1,43],C=[1,49],g=[1,50],k=[1,51],m=[1,52],a=[16,25],G=[1,66],M=[1,67],U=[1,68],z=[1,69],Y=[1,70],q=[1,71],J=[1,72],Te=[1,82],O=[16,25,28,29,36,49,50,64,65,66,67,68,69,70,75,77],Z=[16,25,28,29,34,36,49,50,55,64,65,66,67,68,69,70,75,77,92,93,94,95],Se=[5,8,9,10,11,16,19,23,25],K=[29,92,93,94,95],R=[29,69,70,92,93,94,95],ve=[29,64,65,66,67,68,92,93,94,95],$=[1,96],ee=[16,25,49,50],Q=[16,25,36],te={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statments:5,direction:6,directive:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,statements:24,EOF:25,statement:26,classLabel:27,SQS:28,STR:29,SQE:30,className:31,alphaNumToken:32,classLiteralName:33,GENERICTYPE:34,relationStatement:35,LABEL:36,classStatement:37,methodStatement:38,annotationStatement:39,clickStatement:40,cssClassStatement:41,noteStatement:42,acc_title:43,acc_title_value:44,acc_descr:45,acc_descr_value:46,acc_descr_multiline_value:47,classIdentifier:48,STYLE_SEPARATOR:49,STRUCT_START:50,members:51,STRUCT_STOP:52,CLASS:53,ANNOTATION_START:54,ANNOTATION_END:55,MEMBER:56,SEPARATOR:57,relation:58,NOTE_FOR:59,noteText:60,NOTE:61,relationType:62,lineType:63,AGGREGATION:64,EXTENSION:65,COMPOSITION:66,DEPENDENCY:67,LOLLIPOP:68,LINE:69,DOTTED_LINE:70,CALLBACK:71,LINK:72,LINK_TARGET:73,CLICK:74,CALLBACK_NAME:75,CALLBACK_ARGS:76,HREF:77,CSSCLASS:78,commentToken:79,textToken:80,graphCodeTokens:81,textNoTagsToken:82,TAGSTART:83,TAGEND:84,"==":85,"--":86,PCT:87,DEFAULT:88,SPACE:89,MINUS:90,keywords:91,UNICODE_TEXT:92,NUM:93,ALPHA:94,BQUOTE_STR:95,$accept:0,$end:1},terminals_:{2:"error",5:"statments",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",25:"EOF",28:"SQS",29:"STR",30:"SQE",34:"GENERICTYPE",36:"LABEL",43:"acc_title",44:"acc_title_value",45:"acc_descr",46:"acc_descr_value",47:"acc_descr_multiline_value",49:"STYLE_SEPARATOR",50:"STRUCT_START",52:"STRUCT_STOP",53:"CLASS",54:"ANNOTATION_START",55:"ANNOTATION_END",56:"MEMBER",57:"SEPARATOR",59:"NOTE_FOR",61:"NOTE",64:"AGGREGATION",65:"EXTENSION",66:"COMPOSITION",67:"DEPENDENCY",68:"LOLLIPOP",69:"LINE",70:"DOTTED_LINE",71:"CALLBACK",72:"LINK",73:"LINK_TARGET",74:"CLICK",75:"CALLBACK_NAME",76:"CALLBACK_ARGS",77:"HREF",78:"CSSCLASS",81:"graphCodeTokens",83:"TAGSTART",84:"TAGEND",85:"==",86:"--",87:"PCT",88:"DEFAULT",89:"SPACE",90:"MINUS",91:"keywords",92:"UNICODE_TEXT",93:"NUM",94:"ALPHA",95:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,1],[3,2],[6,1],[6,1],[6,1],[6,1],[4,1],[7,4],[7,6],[13,1],[14,1],[18,1],[15,1],[12,4],[24,1],[24,2],[24,3],[27,3],[31,1],[31,1],[31,2],[31,2],[31,2],[26,1],[26,2],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,2],[26,2],[26,1],[37,1],[37,3],[37,4],[37,6],[48,2],[48,3],[39,4],[51,1],[51,2],[38,1],[38,2],[38,1],[38,1],[35,3],[35,4],[35,4],[35,5],[42,3],[42,2],[58,3],[58,2],[58,2],[58,1],[62,1],[62,1],[62,1],[62,1],[62,1],[63,1],[63,1],[40,3],[40,4],[40,3],[40,4],[40,4],[40,5],[40,3],[40,4],[40,4],[40,5],[40,3],[40,4],[40,4],[40,5],[41,3],[79,1],[79,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[82,1],[82,1],[82,1],[82,1],[32,1],[32,1],[32,1],[33,1],[60,1]],performAction:function(u,r,l,i,A,t,P){var s=t.length-1;switch(A){case 5:i.setDirection("TB");break;case 6:i.setDirection("BT");break;case 7:i.setDirection("RL");break;case 8:i.setDirection("LR");break;case 12:i.parseDirective("%%{","open_directive");break;case 13:i.parseDirective(t[s],"type_directive");break;case 14:t[s]=t[s].trim().replace(/'/g,'"'),i.parseDirective(t[s],"arg_directive");break;case 15:i.parseDirective("}%%","close_directive","class");break;case 20:this.$=t[s-1];break;case 21:case 22:this.$=t[s];break;case 23:this.$=t[s-1]+t[s];break;case 24:case 25:this.$=t[s-1]+"~"+t[s];break;case 26:i.addRelation(t[s]);break;case 27:t[s-1].title=i.cleanupLabel(t[s]),i.addRelation(t[s-1]);break;case 36:this.$=t[s].trim(),i.setAccTitle(this.$);break;case 37:case 38:this.$=t[s].trim(),i.setAccDescription(this.$);break;case 40:i.setCssClass(t[s-2],t[s]);break;case 41:i.addMembers(t[s-3],t[s-1]);break;case 42:i.setCssClass(t[s-5],t[s-3]),i.addMembers(t[s-5],t[s-1]);break;case 43:this.$=t[s],i.addClass(t[s]);break;case 44:this.$=t[s-1],i.addClass(t[s-1]),i.setClassLabel(t[s-1],t[s]);break;case 45:i.addAnnotation(t[s],t[s-2]);break;case 46:this.$=[t[s]];break;case 47:t[s].push(t[s-1]),this.$=t[s];break;case 48:break;case 49:i.addMember(t[s-1],i.cleanupLabel(t[s]));break;case 50:break;case 51:break;case 52:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 53:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 54:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 55:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 56:i.addNote(t[s],t[s-1]);break;case 57:i.addNote(t[s]);break;case 58:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 59:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 61:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 62:this.$=i.relationType.AGGREGATION;break;case 63:this.$=i.relationType.EXTENSION;break;case 64:this.$=i.relationType.COMPOSITION;break;case 65:this.$=i.relationType.DEPENDENCY;break;case 66:this.$=i.relationType.LOLLIPOP;break;case 67:this.$=i.lineType.LINE;break;case 68:this.$=i.lineType.DOTTED_LINE;break;case 69:case 75:this.$=t[s-2],i.setClickEvent(t[s-1],t[s]);break;case 70:case 76:this.$=t[s-3],i.setClickEvent(t[s-2],t[s-1]),i.setTooltip(t[s-2],t[s]);break;case 71:case 79:this.$=t[s-2],i.setLink(t[s-1],t[s]);break;case 72:this.$=t[s-3],i.setLink(t[s-2],t[s-1],t[s]);break;case 73:case 81:this.$=t[s-3],i.setLink(t[s-2],t[s-1]),i.setTooltip(t[s-2],t[s]);break;case 74:case 82:this.$=t[s-4],i.setLink(t[s-3],t[s-2],t[s]),i.setTooltip(t[s-3],t[s-1]);break;case 77:this.$=t[s-3],i.setClickEvent(t[s-2],t[s-1],t[s]);break;case 78:this.$=t[s-4],i.setClickEvent(t[s-3],t[s-2],t[s-1]),i.setTooltip(t[s-3],t[s]);break;case 80:this.$=t[s-3],i.setLink(t[s-2],t[s-1],t[s]);break;case 83:i.setCssClass(t[s-1],t[s]);break}},table:[{3:1,4:2,5:n,6:4,7:5,8:c,9:o,10:h,11:E,12:6,13:11,19:d,23:b},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{3:14,4:2,5:n,6:4,7:5,8:c,9:o,10:h,11:E,12:6,13:11,19:d,23:b},{1:[2,9]},e(D,[2,5]),e(D,[2,6]),e(D,[2,7]),e(D,[2,8]),{14:15,20:[1,16]},{16:[1,17]},{20:[2,12]},{1:[2,4]},{15:18,17:[1,19],22:fe},e([17,22],[2,13]),{6:31,7:30,8:c,9:o,10:h,11:E,13:11,19:d,24:21,26:22,31:35,32:46,33:47,35:23,37:24,38:25,39:26,40:27,41:28,42:29,43:pe,45:de,47:Ee,48:36,53:Ce,54:ge,56:ke,57:Fe,59:me,61:De,71:_e,72:be,74:Be,78:ye,92:C,93:g,94:k,95:m},{16:[1,53]},{18:54,21:[1,55]},{16:[2,15]},{25:[1,56]},{16:[1,57],25:[2,17]},e(a,[2,26],{36:[1,58]}),e(a,[2,28]),e(a,[2,29]),e(a,[2,30]),e(a,[2,31]),e(a,[2,32]),e(a,[2,33]),e(a,[2,34]),e(a,[2,35]),{44:[1,59]},{46:[1,60]},e(a,[2,38]),e(a,[2,48],{58:61,62:64,63:65,29:[1,62],36:[1,63],64:G,65:M,66:U,67:z,68:Y,69:q,70:J}),e(a,[2,39],{49:[1,73],50:[1,74]}),e(a,[2,50]),e(a,[2,51]),{32:75,92:C,93:g,94:k},{31:76,32:46,33:47,92:C,93:g,94:k,95:m},{31:77,32:46,33:47,92:C,93:g,94:k,95:m},{31:78,32:46,33:47,92:C,93:g,94:k,95:m},{29:[1,79]},{31:80,32:46,33:47,92:C,93:g,94:k,95:m},{29:Te,60:81},e(O,[2,21],{32:46,33:47,31:83,34:[1,84],92:C,93:g,94:k,95:m}),e(O,[2,22],{34:[1,85]}),{31:86,32:46,33:47,92:C,93:g,94:k,95:m},e(Z,[2,97]),e(Z,[2,98]),e(Z,[2,99]),e([16,25,28,29,34,36,49,50,64,65,66,67,68,69,70,75,77],[2,100]),e(Se,[2,10]),{15:87,22:fe},{22:[2,14]},{1:[2,16]},{6:31,7:30,8:c,9:o,10:h,11:E,13:11,19:d,24:88,25:[2,18],26:22,31:35,32:46,33:47,35:23,37:24,38:25,39:26,40:27,41:28,42:29,43:pe,45:de,47:Ee,48:36,53:Ce,54:ge,56:ke,57:Fe,59:me,61:De,71:_e,72:be,74:Be,78:ye,92:C,93:g,94:k,95:m},e(a,[2,27]),e(a,[2,36]),e(a,[2,37]),{29:[1,90],31:89,32:46,33:47,92:C,93:g,94:k,95:m},{58:91,62:64,63:65,64:G,65:M,66:U,67:z,68:Y,69:q,70:J},e(a,[2,49]),{63:92,69:q,70:J},e(K,[2,61],{62:93,64:G,65:M,66:U,67:z,68:Y}),e(R,[2,62]),e(R,[2,63]),e(R,[2,64]),e(R,[2,65]),e(R,[2,66]),e(ve,[2,67]),e(ve,[2,68]),{32:94,92:C,93:g,94:k},{51:95,56:$},{55:[1,97]},{29:[1,98]},{29:[1,99]},{75:[1,100],77:[1,101]},{32:102,92:C,93:g,94:k},{29:Te,60:103},e(a,[2,57]),e(a,[2,101]),e(O,[2,23]),e(O,[2,24]),e(O,[2,25]),e(ee,[2,43],{27:104,28:[1,105]}),{16:[1,106]},{25:[2,19]},e(Q,[2,52]),{31:107,32:46,33:47,92:C,93:g,94:k,95:m},{29:[1,109],31:108,32:46,33:47,92:C,93:g,94:k,95:m},e(K,[2,60],{62:110,64:G,65:M,66:U,67:z,68:Y}),e(K,[2,59]),e(a,[2,40],{50:[1,111]}),{52:[1,112]},{51:113,52:[2,46],56:$},{31:114,32:46,33:47,92:C,93:g,94:k,95:m},e(a,[2,69],{29:[1,115]}),e(a,[2,71],{29:[1,117],73:[1,116]}),e(a,[2,75],{29:[1,118],76:[1,119]}),e(a,[2,79],{29:[1,121],73:[1,120]}),e(a,[2,83]),e(a,[2,56]),e(ee,[2,44]),{29:[1,122]},e(Se,[2,11]),e(Q,[2,54]),e(Q,[2,53]),{31:123,32:46,33:47,92:C,93:g,94:k,95:m},e(K,[2,58]),{51:124,56:$},e(a,[2,41]),{52:[2,47]},e(a,[2,45]),e(a,[2,70]),e(a,[2,72]),e(a,[2,73],{73:[1,125]}),e(a,[2,76]),e(a,[2,77],{29:[1,126]}),e(a,[2,80]),e(a,[2,81],{73:[1,127]}),{30:[1,128]},e(Q,[2,55]),{52:[1,129]},e(a,[2,74]),e(a,[2,78]),e(a,[2,82]),e(ee,[2,20]),e(a,[2,42])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],6:[2,9],13:[2,12],14:[2,4],20:[2,15],55:[2,14],56:[2,16],88:[2,19],113:[2,47]},parseError:function(u,r){if(r.recoverable)this.trace(u);else{var l=new Error(u);throw l.hash=r,l}},parse:function(u){var r=this,l=[0],i=[],A=[null],t=[],P=this.table,s="",j=0,Ne=0,Me=2,Le=1,Ue=t.slice.call(arguments,1),p=Object.create(this.lexer),v={yy:{}};for(var ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ie)&&(v.yy[ie]=this.yy[ie]);p.setInput(u,v.yy),v.yy.lexer=p,v.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var ue=p.yylloc;t.push(ue);var ze=p.options&&p.options.ranges;typeof v.yy.parseError=="function"?this.parseError=v.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ye(){var y;return y=i.pop()||p.lex()||Le,typeof y!="number"&&(y instanceof Array&&(i=y,y=i.pop()),y=r.symbols_[y]||y),y}for(var F,N,_,ne,L={},X,B,Ie,H;;){if(N=l[l.length-1],this.defaultActions[N]?_=this.defaultActions[N]:((F===null||typeof F>"u")&&(F=Ye()),_=P[N]&&P[N][F]),typeof _>"u"||!_.length||!_[0]){var re="";H=[];for(X in P[N])this.terminals_[X]&&X>Me&&H.push("'"+this.terminals_[X]+"'");p.showPosition?re="Parse error on line "+(j+1)+`: `+p.showPosition()+` Expecting `+H.join(", ")+", got '"+(this.terminals_[F]||F)+"'":re="Parse error on line "+(j+1)+": Unexpected "+(F==Le?"end of input":"'"+(this.terminals_[F]||F)+"'"),this.parseError(re,{text:p.match,token:this.terminals_[F]||F,line:p.yylineno,loc:ue,expected:H})}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+N+", token: "+F);switch(_[0]){case 1:l.push(F),A.push(p.yytext),t.push(p.yylloc),l.push(_[1]),F=null,Ne=p.yyleng,s=p.yytext,j=p.yylineno,ue=p.yylloc;break;case 2:if(B=this.productions_[_[1]][1],L.$=A[A.length-B],L._$={first_line:t[t.length-(B||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(B||1)].first_column,last_column:t[t.length-1].last_column},ze&&(L._$.range=[t[t.length-(B||1)].range[0],t[t.length-1].range[1]]),ne=this.performAction.apply(L,[s,Ne,j,v.yy,_[1],A,t].concat(Ue)),typeof ne<"u")return ne;B&&(l=l.slice(0,-1*B*2),A=A.slice(0,-1*B),t=t.slice(0,-1*B)),l.push(this.productions_[_[1]][0]),A.push(L.$),t.push(L._$),Ie=P[l[l.length-2]][l[l.length-1]],l.push(Ie);break;case 3:return!0}}return!0}},Ge=function(){var S={EOF:1,parseError:function(r,l){if(this.yy.parser)this.yy.parser.parseError(r,l);else throw new Error(r)},setInput:function(u,r){return this.yy=r||this.yy||{},this._input=u,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var r=u.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},unput:function(u){var r=u.length,l=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===i.length?this.yylloc.first_column:0)+i[i.length-l.length].length-l[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(u){this.unput(this.match.slice(u))},pastInput:function(){var u=this.matched.substr(0,this.matched.length-this.match.length);return(u.length>20?"...":"")+u.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var u=this.match;return u.length<20&&(u+=this._input.substr(0,20-u.length)),(u.substr(0,20)+(u.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var u=this.pastInput(),r=new Array(u.length+1).join("-");return u+this.upcomingInput()+` diff --git a/docs/.vuepress/dist/assets/styles-26373982-ae8be1d1.js b/docs/.vuepress/dist/assets/styles-26373982-9a741945.js similarity index 97% rename from docs/.vuepress/dist/assets/styles-26373982-ae8be1d1.js rename to docs/.vuepress/dist/assets/styles-26373982-9a741945.js index ccc356a..8409405 100644 --- a/docs/.vuepress/dist/assets/styles-26373982-ae8be1d1.js +++ b/docs/.vuepress/dist/assets/styles-26373982-9a741945.js @@ -1,4 +1,4 @@ -import{i as V,G as q}from"./layout-6fd5c641.js";import{X as M,p as N,l as u,q as R,c as C,k as I,r as $,o as E,h as _,y as F,t as U}from"./mermaid.core-00b8b54a.js";import{f as X}from"./flowDb-52e24d17-b379c657.js";import{r as H}from"./index-5219d011-50992b0b.js";import{s as W}from"./selectAll-a97dbb9c.js";function se(e,l){return!!e.children(l).length}function ne(e){return L(e.v)+":"+L(e.w)+":"+L(e.name)}var J=/:/g;function L(e){return e?String(e).replace(J,"\\:"):""}function K(e,l){l&&e.attr("style",l)}function ie(e,l,c){l&&e.attr("class",l).attr("class",c+" "+e.attr("class"))}function ce(e,l){var c=l.graph();if(V(c)){var a=c.transition;if(M(a))return a(e)}return e}function Q(e,l){var c=e.append("foreignObject").attr("width","100000"),a=c.append("xhtml:div");a.attr("xmlns","http://www.w3.org/1999/xhtml");var i=l.label;switch(typeof i){case"function":a.insert(i);break;case"object":a.insert(function(){return i});break;default:a.html(i)}K(a,l.labelStyle),a.style("display","inline-block"),a.style("white-space","nowrap");var d=a.node().getBoundingClientRect();return c.attr("width",d.width).attr("height",d.height),c}const G={},Y=function(e){const l=Object.keys(e);for(const c of l)G[c]=e[c]},z=function(e,l,c,a,i,d){const w=a.select(`[id="${c}"]`);Object.keys(e).forEach(function(p){const r=e[p];let k="default";r.classes.length>0&&(k=r.classes.join(" ")),k=k+" flowchart-label";const h=N(r.styles);let t=r.text!==void 0?r.text:r.id,n;if(u.info("vertex",r,r.labelType),r.labelType==="markdown")u.info("vertex",r,r.labelType);else if(R(C().flowchart.htmlLabels)){const v={label:t.replace(/fa[blrs]?:fa-[\w-]+/g,g=>``)};n=Q(w,v).node(),n.parentNode.removeChild(n)}else{const v=i.createElementNS("http://www.w3.org/2000/svg","text");v.setAttribute("style",h.labelStyle.replace("color:","fill:"));const g=t.split(I.lineBreakRegex);for(const T of g){const m=i.createElementNS("http://www.w3.org/2000/svg","tspan");m.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),m.setAttribute("dy","1em"),m.setAttribute("x","1"),m.textContent=T,v.appendChild(m)}n=v}let f=0,o="";switch(r.type){case"round":f=5,o="rect";break;case"square":o="rect";break;case"diamond":o="question";break;case"hexagon":o="hexagon";break;case"odd":o="rect_left_inv_arrow";break;case"lean_right":o="lean_right";break;case"lean_left":o="lean_left";break;case"trapezoid":o="trapezoid";break;case"inv_trapezoid":o="inv_trapezoid";break;case"odd_right":o="rect_left_inv_arrow";break;case"circle":o="circle";break;case"ellipse":o="ellipse";break;case"stadium":o="stadium";break;case"subroutine":o="subroutine";break;case"cylinder":o="cylinder";break;case"group":o="rect";break;case"doublecircle":o="doublecircle";break;default:o="rect"}l.setNode(r.id,{labelStyle:h.labelStyle,shape:o,labelText:t,labelType:r.labelType,rx:f,ry:f,class:k,style:h.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:d.db.getTooltip(r.id)||"",domId:d.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:r.type==="group"?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:C().flowchart.padding}),u.info("setNode",{labelStyle:h.labelStyle,labelType:r.labelType,shape:o,labelText:t,rx:f,ry:f,class:k,style:h.style,id:r.id,domId:d.db.lookUpDomId(r.id),width:r.type==="group"?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:C().flowchart.padding})})},P=function(e,l,c){u.info("abc78 edges = ",e);let a=0,i={},d,w;if(e.defaultStyle!==void 0){const s=N(e.defaultStyle);d=s.style,w=s.labelStyle}e.forEach(function(s){a++;var p="L-"+s.start+"-"+s.end;i[p]===void 0?(i[p]=0,u.info("abc78 new entry",p,i[p])):(i[p]++,u.info("abc78 new entry",p,i[p]));let r=p+"-"+i[p];u.info("abc78 new link id to be used is",p,r,i[p]);var k="LS-"+s.start,h="LE-"+s.end;const t={style:"",labelStyle:""};switch(t.minlen=s.length||1,s.type==="arrow_open"?t.arrowhead="none":t.arrowhead="normal",t.arrowTypeStart="arrow_open",t.arrowTypeEnd="arrow_open",s.type){case"double_arrow_cross":t.arrowTypeStart="arrow_cross";case"arrow_cross":t.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":t.arrowTypeStart="arrow_point";case"arrow_point":t.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":t.arrowTypeStart="arrow_circle";case"arrow_circle":t.arrowTypeEnd="arrow_circle";break}let n="",f="";switch(s.stroke){case"normal":n="fill:none;",d!==void 0&&(n=d),w!==void 0&&(f=w),t.thickness="normal",t.pattern="solid";break;case"dotted":t.thickness="normal",t.pattern="dotted",t.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":t.thickness="thick",t.pattern="solid",t.style="stroke-width: 3.5px;fill:none;";break;case"invisible":t.thickness="invisible",t.pattern="solid",t.style="stroke-width: 0;fill:none;";break}if(s.style!==void 0){const o=N(s.style);n=o.style,f=o.labelStyle}t.style=t.style+=n,t.labelStyle=t.labelStyle+=f,s.interpolate!==void 0?t.curve=$(s.interpolate,E):e.defaultInterpolate!==void 0?t.curve=$(e.defaultInterpolate,E):t.curve=$(G.curve,E),s.text===void 0?s.style!==void 0&&(t.arrowheadStyle="fill: #333"):(t.arrowheadStyle="fill: #333",t.labelpos="c"),t.labelType=s.labelType,t.label=s.text.replace(I.lineBreakRegex,` +import{i as V,G as q}from"./layout-2d03da6d.js";import{X as M,p as N,l as u,q as R,c as C,k as I,r as $,o as E,h as _,y as F,t as U}from"./mermaid.core-5f04c634.js";import{f as X}from"./flowDb-52e24d17-1ab97c12.js";import{r as H}from"./index-5219d011-730b0cac.js";import{s as W}from"./selectAll-4b319156.js";function se(e,l){return!!e.children(l).length}function ne(e){return L(e.v)+":"+L(e.w)+":"+L(e.name)}var J=/:/g;function L(e){return e?String(e).replace(J,"\\:"):""}function K(e,l){l&&e.attr("style",l)}function ie(e,l,c){l&&e.attr("class",l).attr("class",c+" "+e.attr("class"))}function ce(e,l){var c=l.graph();if(V(c)){var a=c.transition;if(M(a))return a(e)}return e}function Q(e,l){var c=e.append("foreignObject").attr("width","100000"),a=c.append("xhtml:div");a.attr("xmlns","http://www.w3.org/1999/xhtml");var i=l.label;switch(typeof i){case"function":a.insert(i);break;case"object":a.insert(function(){return i});break;default:a.html(i)}K(a,l.labelStyle),a.style("display","inline-block"),a.style("white-space","nowrap");var d=a.node().getBoundingClientRect();return c.attr("width",d.width).attr("height",d.height),c}const G={},Y=function(e){const l=Object.keys(e);for(const c of l)G[c]=e[c]},z=function(e,l,c,a,i,d){const w=a.select(`[id="${c}"]`);Object.keys(e).forEach(function(p){const r=e[p];let k="default";r.classes.length>0&&(k=r.classes.join(" ")),k=k+" flowchart-label";const h=N(r.styles);let t=r.text!==void 0?r.text:r.id,n;if(u.info("vertex",r,r.labelType),r.labelType==="markdown")u.info("vertex",r,r.labelType);else if(R(C().flowchart.htmlLabels)){const v={label:t.replace(/fa[blrs]?:fa-[\w-]+/g,g=>``)};n=Q(w,v).node(),n.parentNode.removeChild(n)}else{const v=i.createElementNS("http://www.w3.org/2000/svg","text");v.setAttribute("style",h.labelStyle.replace("color:","fill:"));const g=t.split(I.lineBreakRegex);for(const T of g){const m=i.createElementNS("http://www.w3.org/2000/svg","tspan");m.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),m.setAttribute("dy","1em"),m.setAttribute("x","1"),m.textContent=T,v.appendChild(m)}n=v}let f=0,o="";switch(r.type){case"round":f=5,o="rect";break;case"square":o="rect";break;case"diamond":o="question";break;case"hexagon":o="hexagon";break;case"odd":o="rect_left_inv_arrow";break;case"lean_right":o="lean_right";break;case"lean_left":o="lean_left";break;case"trapezoid":o="trapezoid";break;case"inv_trapezoid":o="inv_trapezoid";break;case"odd_right":o="rect_left_inv_arrow";break;case"circle":o="circle";break;case"ellipse":o="ellipse";break;case"stadium":o="stadium";break;case"subroutine":o="subroutine";break;case"cylinder":o="cylinder";break;case"group":o="rect";break;case"doublecircle":o="doublecircle";break;default:o="rect"}l.setNode(r.id,{labelStyle:h.labelStyle,shape:o,labelText:t,labelType:r.labelType,rx:f,ry:f,class:k,style:h.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:d.db.getTooltip(r.id)||"",domId:d.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:r.type==="group"?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:C().flowchart.padding}),u.info("setNode",{labelStyle:h.labelStyle,labelType:r.labelType,shape:o,labelText:t,rx:f,ry:f,class:k,style:h.style,id:r.id,domId:d.db.lookUpDomId(r.id),width:r.type==="group"?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:C().flowchart.padding})})},P=function(e,l,c){u.info("abc78 edges = ",e);let a=0,i={},d,w;if(e.defaultStyle!==void 0){const s=N(e.defaultStyle);d=s.style,w=s.labelStyle}e.forEach(function(s){a++;var p="L-"+s.start+"-"+s.end;i[p]===void 0?(i[p]=0,u.info("abc78 new entry",p,i[p])):(i[p]++,u.info("abc78 new entry",p,i[p]));let r=p+"-"+i[p];u.info("abc78 new link id to be used is",p,r,i[p]);var k="LS-"+s.start,h="LE-"+s.end;const t={style:"",labelStyle:""};switch(t.minlen=s.length||1,s.type==="arrow_open"?t.arrowhead="none":t.arrowhead="normal",t.arrowTypeStart="arrow_open",t.arrowTypeEnd="arrow_open",s.type){case"double_arrow_cross":t.arrowTypeStart="arrow_cross";case"arrow_cross":t.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":t.arrowTypeStart="arrow_point";case"arrow_point":t.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":t.arrowTypeStart="arrow_circle";case"arrow_circle":t.arrowTypeEnd="arrow_circle";break}let n="",f="";switch(s.stroke){case"normal":n="fill:none;",d!==void 0&&(n=d),w!==void 0&&(f=w),t.thickness="normal",t.pattern="solid";break;case"dotted":t.thickness="normal",t.pattern="dotted",t.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":t.thickness="thick",t.pattern="solid",t.style="stroke-width: 3.5px;fill:none;";break;case"invisible":t.thickness="invisible",t.pattern="solid",t.style="stroke-width: 0;fill:none;";break}if(s.style!==void 0){const o=N(s.style);n=o.style,f=o.labelStyle}t.style=t.style+=n,t.labelStyle=t.labelStyle+=f,s.interpolate!==void 0?t.curve=$(s.interpolate,E):e.defaultInterpolate!==void 0?t.curve=$(e.defaultInterpolate,E):t.curve=$(G.curve,E),s.text===void 0?s.style!==void 0&&(t.arrowheadStyle="fill: #333"):(t.arrowheadStyle="fill: #333",t.labelpos="c"),t.labelType=s.labelType,t.label=s.text.replace(I.lineBreakRegex,` `),s.style===void 0&&(t.style=t.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),t.labelStyle=t.labelStyle.replace("color:","fill:"),t.id=r,t.classes="flowchart-link "+k+" "+h,l.setEdge(s.start,s.end,t,a)})},Z=function(e,l){u.info("Extracting classes"),l.db.clear();try{return l.parse(e),l.db.getClasses()}catch{return}},j=function(e,l,c,a){u.info("Drawing flowchart"),a.db.clear(),X.setGen("gen-2"),a.parser.parse(e);let i=a.db.getDirection();i===void 0&&(i="TD");const{securityLevel:d,flowchart:w}=C(),s=w.nodeSpacing||50,p=w.rankSpacing||50;let r;d==="sandbox"&&(r=_("#i"+l));const k=d==="sandbox"?_(r.nodes()[0].contentDocument.body):_("body"),h=d==="sandbox"?r.nodes()[0].contentDocument:document,t=new q({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:s,ranksep:p,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let n;const f=a.db.getSubGraphs();u.info("Subgraphs - ",f);for(let b=f.length-1;b>=0;b--)n=f[b],u.info("Subgraph - ",n),a.db.addVertex(n.id,{text:n.title,type:n.labelType},"group",void 0,n.classes,n.dir);const o=a.db.getVertices(),v=a.db.getEdges();u.info("Edges",v);let g=0;for(g=f.length-1;g>=0;g--){n=f[g],W("cluster").append("text");for(let b=0;b`.label { font-family: ${e.fontFamily}; color: ${e.nodeTextColor||e.textColor}; diff --git a/docs/.vuepress/dist/assets/styles-47a825a5-43e1605d.js b/docs/.vuepress/dist/assets/styles-47a825a5-093f9ef5.js similarity index 99% rename from docs/.vuepress/dist/assets/styles-47a825a5-43e1605d.js rename to docs/.vuepress/dist/assets/styles-47a825a5-093f9ef5.js index 8a82662..78f82a1 100644 --- a/docs/.vuepress/dist/assets/styles-47a825a5-43e1605d.js +++ b/docs/.vuepress/dist/assets/styles-47a825a5-093f9ef5.js @@ -1,4 +1,4 @@ -import{c as Y,g as Ht,s as Xt,a as Kt,b as Wt,v as Jt,x as qt,m as Qt,l as v,k as ht,z as Zt,aA as te}from"./mermaid.core-00b8b54a.js";var mt=function(){var t=function(D,r,a,i){for(a=a||{},i=D.length;i--;a[D[i]]=r);return a},s=[1,2],n=[1,3],h=[1,5],u=[1,7],f=[2,5],p=[1,15],x=[1,17],d=[1,21],k=[1,22],T=[1,23],G=[1,24],R=[1,37],j=[1,25],U=[1,26],z=[1,27],M=[1,28],H=[1,29],X=[1,32],K=[1,33],W=[1,34],J=[1,35],q=[1,36],Q=[1,39],Z=[1,40],tt=[1,41],et=[1,42],w=[1,38],Ct=[1,45],o=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],st=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],ut=[1,4,5,7,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],At=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],dt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,classDefStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,class:42,CLASSENTITY_IDS:43,STYLECLASS:44,openDirective:45,typeDirective:46,closeDirective:47,":":48,argDirective:49,direction_tb:50,direction_bt:51,direction_rl:52,direction_lr:53,eol:54,";":55,EDGE_STATE:56,STYLE_SEPARATOR:57,left_of:58,right_of:59,open_directive:60,type_directive:61,arg_directive:62,close_directive:63,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"class",43:"CLASSENTITY_IDS",44:"STYLECLASS",48:":",50:"direction_tb",51:"direction_bt",52:"direction_rl",53:"direction_lr",55:";",56:"EDGE_STATE",57:"STYLE_SEPARATOR",58:"left_of",59:"right_of",60:"open_directive",61:"type_directive",62:"arg_directive",63:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[11,3],[11,3],[12,3],[6,3],[6,5],[32,1],[32,1],[32,1],[32,1],[54,1],[54,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1],[45,1],[46,1],[49,1],[47,1]],performAction:function(r,a,i,l,y,e,B){var c=e.length-1;switch(y){case 4:return l.setRootDoc(e[c]),e[c];case 5:this.$=[];break;case 6:e[c]!="nl"&&(e[c-1].push(e[c]),this.$=e[c-1]);break;case 7:case 8:this.$=e[c];break;case 9:this.$="nl";break;case 12:this.$=e[c];break;case 13:const $=e[c-1];$.description=l.trimColon(e[c]),this.$=$;break;case 14:this.$={stmt:"relation",state1:e[c-2],state2:e[c]};break;case 15:const pt=l.trimColon(e[c]);this.$={stmt:"relation",state1:e[c-3],state2:e[c-1],description:pt};break;case 19:this.$={stmt:"state",id:e[c-3],type:"default",description:"",doc:e[c-1]};break;case 20:var C=e[c],O=e[c-2].trim();if(e[c].match(":")){var it=e[c].split(":");C=it[0],O=[O,it[1]]}this.$={stmt:"state",id:C,type:"default",description:O};break;case 21:this.$={stmt:"state",id:e[c-3],type:"default",description:e[c-5],doc:e[c-1]};break;case 22:this.$={stmt:"state",id:e[c],type:"fork"};break;case 23:this.$={stmt:"state",id:e[c],type:"join"};break;case 24:this.$={stmt:"state",id:e[c],type:"choice"};break;case 25:this.$={stmt:"state",id:l.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:e[c-1].trim(),note:{position:e[c-2].trim(),text:e[c].trim()}};break;case 30:this.$=e[c].trim(),l.setAccTitle(this.$);break;case 31:case 32:this.$=e[c].trim(),l.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:e[c-1].trim(),classes:e[c].trim()};break;case 35:this.$={stmt:"applyClass",id:e[c-1].trim(),styleClass:e[c].trim()};break;case 38:l.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:l.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:l.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:l.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:e[c].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:e[c-2].trim(),classes:[e[c].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:e[c-2].trim(),classes:[e[c].trim()],type:"default",description:""};break;case 50:l.parseDirective("%%{","open_directive");break;case 51:l.parseDirective(e[c],"type_directive");break;case 52:e[c]=e[c].trim().replace(/'/g,'"'),l.parseDirective(e[c],"arg_directive");break;case 53:l.parseDirective("}%%","close_directive","state");break}},table:[{3:1,4:s,5:n,6:4,7:h,45:6,60:u},{1:[3]},{3:8,4:s,5:n,6:4,7:h,45:6,60:u},{3:9,4:s,5:n,6:4,7:h,45:6,60:u},{3:10,4:s,5:n,6:4,7:h,45:6,60:u},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],f,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:p,5:x,6:30,9:14,10:16,11:18,12:19,13:20,16:d,17:k,19:T,22:G,24:R,25:j,26:U,27:z,28:M,29:H,32:31,33:X,35:K,37:W,38:J,42:q,45:6,50:Q,51:Z,52:tt,53:et,56:w,60:u},{47:43,48:[1,44],63:Ct},t([48,63],[2,51]),t(o,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:d,17:k,19:T,22:G,24:R,25:j,26:U,27:z,28:M,29:H,32:31,33:X,35:K,37:W,38:J,42:q,45:6,50:Q,51:Z,52:tt,53:et,56:w,60:u},t(o,[2,8]),t(o,[2,9]),t(o,[2,10]),t(o,[2,11]),t(o,[2,12],{14:[1,47],15:[1,48]}),t(o,[2,16]),{18:[1,49]},t(o,[2,18],{20:[1,50]}),{23:[1,51]},t(o,[2,22]),t(o,[2,23]),t(o,[2,24]),t(o,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},t(o,[2,28]),t(o,[2,29]),{34:[1,56]},{36:[1,57]},t(o,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},t(st,[2,44],{57:[1,61]}),t(st,[2,45],{57:[1,62]}),t(o,[2,38]),t(o,[2,39]),t(o,[2,40]),t(o,[2,41]),t(ut,[2,36]),{49:63,62:[1,64]},t(ut,[2,53]),t(o,[2,7]),t(o,[2,13]),{13:65,24:R,56:w},t(o,[2,17]),t(At,f,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},t(o,[2,30]),t(o,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:Ct},{63:[2,52]},t(o,[2,14],{14:[1,76]}),{4:p,5:x,6:30,9:14,10:16,11:18,12:19,13:20,16:d,17:k,19:T,21:[1,77],22:G,24:R,25:j,26:U,27:z,28:M,29:H,32:31,33:X,35:K,37:W,38:J,42:q,45:6,50:Q,51:Z,52:tt,53:et,56:w,60:u},t(o,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},t(o,[2,33]),t(o,[2,34]),t(o,[2,35]),t(st,[2,46]),t(st,[2,47]),t(ut,[2,37]),t(o,[2,15]),t(o,[2,19]),t(At,f,{8:81}),t(o,[2,26]),t(o,[2,27]),{4:p,5:x,6:30,9:14,10:16,11:18,12:19,13:20,16:d,17:k,19:T,21:[1,82],22:G,24:R,25:j,26:U,27:z,28:M,29:H,32:31,33:X,35:K,37:W,38:J,42:q,45:6,50:Q,51:Z,52:tt,53:et,56:w,60:u},t(o,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},parseError:function(r,a){if(a.recoverable)this.trace(r);else{var i=new Error(r);throw i.hash=a,i}},parse:function(r){var a=this,i=[0],l=[],y=[null],e=[],B=this.table,c="",C=0,O=0,it=2,$=1,pt=e.slice.call(arguments,1),S=Object.create(this.lexer),A={yy:{}};for(var yt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,yt)&&(A.yy[yt]=this.yy[yt]);S.setInput(r,A.yy),A.yy.lexer=S,A.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var St=S.yylloc;e.push(St);var zt=S.options&&S.options.ranges;typeof A.yy.parseError=="function"?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Mt(){var E;return E=l.pop()||S.lex()||$,typeof E!="number"&&(E instanceof Array&&(l=E,E=l.pop()),E=a.symbols_[E]||E),E}for(var _,L,m,gt,N={},rt,b,Lt,nt;;){if(L=i[i.length-1],this.defaultActions[L]?m=this.defaultActions[L]:((_===null||typeof _>"u")&&(_=Mt()),m=B[L]&&B[L][_]),typeof m>"u"||!m.length||!m[0]){var _t="";nt=[];for(rt in B[L])this.terminals_[rt]&&rt>it&&nt.push("'"+this.terminals_[rt]+"'");S.showPosition?_t="Parse error on line "+(C+1)+`: +import{c as Y,g as Ht,s as Xt,a as Kt,b as Wt,v as Jt,x as qt,m as Qt,l as v,k as ht,z as Zt,aA as te}from"./mermaid.core-5f04c634.js";var mt=function(){var t=function(D,r,a,i){for(a=a||{},i=D.length;i--;a[D[i]]=r);return a},s=[1,2],n=[1,3],h=[1,5],u=[1,7],f=[2,5],p=[1,15],x=[1,17],d=[1,21],k=[1,22],T=[1,23],G=[1,24],R=[1,37],j=[1,25],U=[1,26],z=[1,27],M=[1,28],H=[1,29],X=[1,32],K=[1,33],W=[1,34],J=[1,35],q=[1,36],Q=[1,39],Z=[1,40],tt=[1,41],et=[1,42],w=[1,38],Ct=[1,45],o=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],st=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],ut=[1,4,5,7,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],At=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],dt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,classDefStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,class:42,CLASSENTITY_IDS:43,STYLECLASS:44,openDirective:45,typeDirective:46,closeDirective:47,":":48,argDirective:49,direction_tb:50,direction_bt:51,direction_rl:52,direction_lr:53,eol:54,";":55,EDGE_STATE:56,STYLE_SEPARATOR:57,left_of:58,right_of:59,open_directive:60,type_directive:61,arg_directive:62,close_directive:63,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"class",43:"CLASSENTITY_IDS",44:"STYLECLASS",48:":",50:"direction_tb",51:"direction_bt",52:"direction_rl",53:"direction_lr",55:";",56:"EDGE_STATE",57:"STYLE_SEPARATOR",58:"left_of",59:"right_of",60:"open_directive",61:"type_directive",62:"arg_directive",63:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[11,3],[11,3],[12,3],[6,3],[6,5],[32,1],[32,1],[32,1],[32,1],[54,1],[54,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1],[45,1],[46,1],[49,1],[47,1]],performAction:function(r,a,i,l,y,e,B){var c=e.length-1;switch(y){case 4:return l.setRootDoc(e[c]),e[c];case 5:this.$=[];break;case 6:e[c]!="nl"&&(e[c-1].push(e[c]),this.$=e[c-1]);break;case 7:case 8:this.$=e[c];break;case 9:this.$="nl";break;case 12:this.$=e[c];break;case 13:const $=e[c-1];$.description=l.trimColon(e[c]),this.$=$;break;case 14:this.$={stmt:"relation",state1:e[c-2],state2:e[c]};break;case 15:const pt=l.trimColon(e[c]);this.$={stmt:"relation",state1:e[c-3],state2:e[c-1],description:pt};break;case 19:this.$={stmt:"state",id:e[c-3],type:"default",description:"",doc:e[c-1]};break;case 20:var C=e[c],O=e[c-2].trim();if(e[c].match(":")){var it=e[c].split(":");C=it[0],O=[O,it[1]]}this.$={stmt:"state",id:C,type:"default",description:O};break;case 21:this.$={stmt:"state",id:e[c-3],type:"default",description:e[c-5],doc:e[c-1]};break;case 22:this.$={stmt:"state",id:e[c],type:"fork"};break;case 23:this.$={stmt:"state",id:e[c],type:"join"};break;case 24:this.$={stmt:"state",id:e[c],type:"choice"};break;case 25:this.$={stmt:"state",id:l.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:e[c-1].trim(),note:{position:e[c-2].trim(),text:e[c].trim()}};break;case 30:this.$=e[c].trim(),l.setAccTitle(this.$);break;case 31:case 32:this.$=e[c].trim(),l.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:e[c-1].trim(),classes:e[c].trim()};break;case 35:this.$={stmt:"applyClass",id:e[c-1].trim(),styleClass:e[c].trim()};break;case 38:l.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:l.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:l.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:l.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:e[c].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:e[c-2].trim(),classes:[e[c].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:e[c-2].trim(),classes:[e[c].trim()],type:"default",description:""};break;case 50:l.parseDirective("%%{","open_directive");break;case 51:l.parseDirective(e[c],"type_directive");break;case 52:e[c]=e[c].trim().replace(/'/g,'"'),l.parseDirective(e[c],"arg_directive");break;case 53:l.parseDirective("}%%","close_directive","state");break}},table:[{3:1,4:s,5:n,6:4,7:h,45:6,60:u},{1:[3]},{3:8,4:s,5:n,6:4,7:h,45:6,60:u},{3:9,4:s,5:n,6:4,7:h,45:6,60:u},{3:10,4:s,5:n,6:4,7:h,45:6,60:u},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],f,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:p,5:x,6:30,9:14,10:16,11:18,12:19,13:20,16:d,17:k,19:T,22:G,24:R,25:j,26:U,27:z,28:M,29:H,32:31,33:X,35:K,37:W,38:J,42:q,45:6,50:Q,51:Z,52:tt,53:et,56:w,60:u},{47:43,48:[1,44],63:Ct},t([48,63],[2,51]),t(o,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:d,17:k,19:T,22:G,24:R,25:j,26:U,27:z,28:M,29:H,32:31,33:X,35:K,37:W,38:J,42:q,45:6,50:Q,51:Z,52:tt,53:et,56:w,60:u},t(o,[2,8]),t(o,[2,9]),t(o,[2,10]),t(o,[2,11]),t(o,[2,12],{14:[1,47],15:[1,48]}),t(o,[2,16]),{18:[1,49]},t(o,[2,18],{20:[1,50]}),{23:[1,51]},t(o,[2,22]),t(o,[2,23]),t(o,[2,24]),t(o,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},t(o,[2,28]),t(o,[2,29]),{34:[1,56]},{36:[1,57]},t(o,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},t(st,[2,44],{57:[1,61]}),t(st,[2,45],{57:[1,62]}),t(o,[2,38]),t(o,[2,39]),t(o,[2,40]),t(o,[2,41]),t(ut,[2,36]),{49:63,62:[1,64]},t(ut,[2,53]),t(o,[2,7]),t(o,[2,13]),{13:65,24:R,56:w},t(o,[2,17]),t(At,f,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},t(o,[2,30]),t(o,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:Ct},{63:[2,52]},t(o,[2,14],{14:[1,76]}),{4:p,5:x,6:30,9:14,10:16,11:18,12:19,13:20,16:d,17:k,19:T,21:[1,77],22:G,24:R,25:j,26:U,27:z,28:M,29:H,32:31,33:X,35:K,37:W,38:J,42:q,45:6,50:Q,51:Z,52:tt,53:et,56:w,60:u},t(o,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},t(o,[2,33]),t(o,[2,34]),t(o,[2,35]),t(st,[2,46]),t(st,[2,47]),t(ut,[2,37]),t(o,[2,15]),t(o,[2,19]),t(At,f,{8:81}),t(o,[2,26]),t(o,[2,27]),{4:p,5:x,6:30,9:14,10:16,11:18,12:19,13:20,16:d,17:k,19:T,21:[1,82],22:G,24:R,25:j,26:U,27:z,28:M,29:H,32:31,33:X,35:K,37:W,38:J,42:q,45:6,50:Q,51:Z,52:tt,53:et,56:w,60:u},t(o,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},parseError:function(r,a){if(a.recoverable)this.trace(r);else{var i=new Error(r);throw i.hash=a,i}},parse:function(r){var a=this,i=[0],l=[],y=[null],e=[],B=this.table,c="",C=0,O=0,it=2,$=1,pt=e.slice.call(arguments,1),S=Object.create(this.lexer),A={yy:{}};for(var yt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,yt)&&(A.yy[yt]=this.yy[yt]);S.setInput(r,A.yy),A.yy.lexer=S,A.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var St=S.yylloc;e.push(St);var zt=S.options&&S.options.ranges;typeof A.yy.parseError=="function"?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Mt(){var E;return E=l.pop()||S.lex()||$,typeof E!="number"&&(E instanceof Array&&(l=E,E=l.pop()),E=a.symbols_[E]||E),E}for(var _,L,m,gt,N={},rt,b,Lt,nt;;){if(L=i[i.length-1],this.defaultActions[L]?m=this.defaultActions[L]:((_===null||typeof _>"u")&&(_=Mt()),m=B[L]&&B[L][_]),typeof m>"u"||!m.length||!m[0]){var _t="";nt=[];for(rt in B[L])this.terminals_[rt]&&rt>it&&nt.push("'"+this.terminals_[rt]+"'");S.showPosition?_t="Parse error on line "+(C+1)+`: `+S.showPosition()+` Expecting `+nt.join(", ")+", got '"+(this.terminals_[_]||_)+"'":_t="Parse error on line "+(C+1)+": Unexpected "+(_==$?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(_t,{text:S.match,token:this.terminals_[_]||_,line:S.yylineno,loc:St,expected:nt})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+_);switch(m[0]){case 1:i.push(_),y.push(S.yytext),e.push(S.yylloc),i.push(m[1]),_=null,O=S.yyleng,c=S.yytext,C=S.yylineno,St=S.yylloc;break;case 2:if(b=this.productions_[m[1]][1],N.$=y[y.length-b],N._$={first_line:e[e.length-(b||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(b||1)].first_column,last_column:e[e.length-1].last_column},zt&&(N._$.range=[e[e.length-(b||1)].range[0],e[e.length-1].range[1]]),gt=this.performAction.apply(N,[c,O,C,A.yy,m[1],y,e].concat(pt)),typeof gt<"u")return gt;b&&(i=i.slice(0,-1*b*2),y=y.slice(0,-1*b),e=e.slice(0,-1*b)),i.push(this.productions_[m[1]][0]),y.push(N.$),e.push(N._$),Lt=B[i[i.length-2]][i[i.length-1]],i.push(Lt);break;case 3:return!0}}return!0}},Ut=function(){var D={EOF:1,parseError:function(a,i){if(this.yy.parser)this.yy.parser.parseError(a,i);else throw new Error(a)},setInput:function(r,a){return this.yy=a||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},unput:function(r){var a=r.length,i=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var y=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===l.length?this.yylloc.first_column:0)+l[l.length-i.length].length-i[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+` diff --git a/docs/.vuepress/dist/assets/svgDraw-2526cba0-86ed4b4e.js b/docs/.vuepress/dist/assets/svgDraw-2526cba0-39b24240.js similarity index 98% rename from docs/.vuepress/dist/assets/svgDraw-2526cba0-86ed4b4e.js rename to docs/.vuepress/dist/assets/svgDraw-2526cba0-39b24240.js index 806d953..7cd59d5 100644 --- a/docs/.vuepress/dist/assets/svgDraw-2526cba0-86ed4b4e.js +++ b/docs/.vuepress/dist/assets/svgDraw-2526cba0-39b24240.js @@ -1,2 +1,2 @@ -import{a2 as C,y as E,l as b,a3 as w}from"./mermaid.core-00b8b54a.js";import{l as k}from"./line-93633409.js";let S=0;const O=function(i,e,t,n,r){const a=function(o){switch(o){case r.db.relationType.AGGREGATION:return"aggregation";case r.db.relationType.EXTENSION:return"extension";case r.db.relationType.COMPOSITION:return"composition";case r.db.relationType.DEPENDENCY:return"dependency";case r.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter(o=>!Number.isNaN(o.y));const l=e.points,d=k().x(function(o){return o.x}).y(function(o){return o.y}).curve(C),s=i.append("path").attr("d",d(l)).attr("id","edge"+S).attr("class","relation");let g="";n.arrowMarkerAbsolute&&(g=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,g=g.replace(/\(/g,"\\("),g=g.replace(/\)/g,"\\)")),t.relation.lineType==1&&s.attr("class","relation dashed-line"),t.relation.lineType==10&&s.attr("class","relation dotted-line"),t.relation.type1!=="none"&&s.attr("marker-start","url("+g+"#"+a(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&s.attr("marker-end","url("+g+"#"+a(t.relation.type2)+"End)");let f,c;const p=e.points.length;let v=E.calcLabelPosition(e.points);f=v.x,c=v.y;let x,B,N,m;if(p%2!==0&&p>1){let o=E.calcCardinalityPosition(t.relation.type1!=="none",e.points,e.points[0]),u=E.calcCardinalityPosition(t.relation.type2!=="none",e.points,e.points[p-1]);b.debug("cardinality_1_point "+JSON.stringify(o)),b.debug("cardinality_2_point "+JSON.stringify(u)),x=o.x,B=o.y,N=u.x,m=u.y}if(t.title!==void 0){const o=i.append("g").attr("class","classLabel"),u=o.append("text").attr("class","label").attr("x",f).attr("y",c).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=u;const h=u.node().getBBox();o.insert("rect",":first-child").attr("class","box").attr("x",h.x-n.padding/2).attr("y",h.y-n.padding/2).attr("width",h.width+n.padding).attr("height",h.height+n.padding)}b.info("Rendering relation "+JSON.stringify(t)),t.relationTitle1!==void 0&&t.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",x).attr("y",B).attr("fill","black").attr("font-size","6").text(t.relationTitle1),t.relationTitle2!==void 0&&t.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",N).attr("y",m).attr("fill","black").attr("font-size","6").text(t.relationTitle2),S++},P=function(i,e,t,n){b.debug("Rendering class ",e,t);const r=e.id,a={id:r,label:e.id,width:0,height:0},l=i.append("g").attr("id",n.db.lookUpDomId(r)).attr("class","classGroup");let d;e.link?d=l.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):d=l.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let s=!0;e.annotations.forEach(function(y){const H=d.append("tspan").text("«"+y+"»");s||H.attr("dy",t.textHeight),s=!1});let g=e.id;e.type!==void 0&&e.type!==""&&(g+="<"+e.type+">");const f=d.append("tspan").text(g).attr("class","title");s||f.attr("dy",t.textHeight);const c=d.node().getBBox().height,p=l.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin/2).attr("y2",t.padding+c+t.dividerMargin/2),v=l.append("text").attr("x",t.padding).attr("y",c+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");s=!0,e.members.forEach(function(y){_(v,y,s,t),s=!1});const x=v.node().getBBox(),B=l.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin+x.height).attr("y2",t.padding+c+t.dividerMargin+x.height),N=l.append("text").attr("x",t.padding).attr("y",c+2*t.dividerMargin+x.height+t.textHeight).attr("fill","white").attr("class","classText");s=!0,e.methods.forEach(function(y){_(N,y,s,t),s=!1});const m=l.node().getBBox();var o=" ";e.cssClasses.length>0&&(o=o+e.cssClasses.join(" "));const h=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*t.padding).attr("height",m.height+t.padding+.5*t.dividerMargin).attr("class",o).node().getBBox().width;return d.node().childNodes.forEach(function(y){y.setAttribute("x",(h-y.getBBox().width)/2)}),e.tooltip&&d.insert("title").text(e.tooltip),p.attr("x2",h),B.attr("x2",h),a.width=h,a.height=m.height+t.padding+.5*t.dividerMargin,a},I=function(i,e,t,n){b.debug("Rendering note ",e,t);const r=e.id,a={id:r,text:e.text,width:0,height:0},l=i.append("g").attr("id",r).attr("class","classGroup");let d=l.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const s=JSON.parse(`"${e.text}"`).split(` +import{a2 as C,y as E,l as b,a3 as w}from"./mermaid.core-5f04c634.js";import{l as k}from"./line-696a8ea1.js";let S=0;const O=function(i,e,t,n,r){const a=function(o){switch(o){case r.db.relationType.AGGREGATION:return"aggregation";case r.db.relationType.EXTENSION:return"extension";case r.db.relationType.COMPOSITION:return"composition";case r.db.relationType.DEPENDENCY:return"dependency";case r.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter(o=>!Number.isNaN(o.y));const l=e.points,d=k().x(function(o){return o.x}).y(function(o){return o.y}).curve(C),s=i.append("path").attr("d",d(l)).attr("id","edge"+S).attr("class","relation");let g="";n.arrowMarkerAbsolute&&(g=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,g=g.replace(/\(/g,"\\("),g=g.replace(/\)/g,"\\)")),t.relation.lineType==1&&s.attr("class","relation dashed-line"),t.relation.lineType==10&&s.attr("class","relation dotted-line"),t.relation.type1!=="none"&&s.attr("marker-start","url("+g+"#"+a(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&s.attr("marker-end","url("+g+"#"+a(t.relation.type2)+"End)");let f,c;const p=e.points.length;let v=E.calcLabelPosition(e.points);f=v.x,c=v.y;let x,B,N,m;if(p%2!==0&&p>1){let o=E.calcCardinalityPosition(t.relation.type1!=="none",e.points,e.points[0]),u=E.calcCardinalityPosition(t.relation.type2!=="none",e.points,e.points[p-1]);b.debug("cardinality_1_point "+JSON.stringify(o)),b.debug("cardinality_2_point "+JSON.stringify(u)),x=o.x,B=o.y,N=u.x,m=u.y}if(t.title!==void 0){const o=i.append("g").attr("class","classLabel"),u=o.append("text").attr("class","label").attr("x",f).attr("y",c).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=u;const h=u.node().getBBox();o.insert("rect",":first-child").attr("class","box").attr("x",h.x-n.padding/2).attr("y",h.y-n.padding/2).attr("width",h.width+n.padding).attr("height",h.height+n.padding)}b.info("Rendering relation "+JSON.stringify(t)),t.relationTitle1!==void 0&&t.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",x).attr("y",B).attr("fill","black").attr("font-size","6").text(t.relationTitle1),t.relationTitle2!==void 0&&t.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",N).attr("y",m).attr("fill","black").attr("font-size","6").text(t.relationTitle2),S++},P=function(i,e,t,n){b.debug("Rendering class ",e,t);const r=e.id,a={id:r,label:e.id,width:0,height:0},l=i.append("g").attr("id",n.db.lookUpDomId(r)).attr("class","classGroup");let d;e.link?d=l.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):d=l.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let s=!0;e.annotations.forEach(function(y){const H=d.append("tspan").text("«"+y+"»");s||H.attr("dy",t.textHeight),s=!1});let g=e.id;e.type!==void 0&&e.type!==""&&(g+="<"+e.type+">");const f=d.append("tspan").text(g).attr("class","title");s||f.attr("dy",t.textHeight);const c=d.node().getBBox().height,p=l.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin/2).attr("y2",t.padding+c+t.dividerMargin/2),v=l.append("text").attr("x",t.padding).attr("y",c+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");s=!0,e.members.forEach(function(y){_(v,y,s,t),s=!1});const x=v.node().getBBox(),B=l.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin+x.height).attr("y2",t.padding+c+t.dividerMargin+x.height),N=l.append("text").attr("x",t.padding).attr("y",c+2*t.dividerMargin+x.height+t.textHeight).attr("fill","white").attr("class","classText");s=!0,e.methods.forEach(function(y){_(N,y,s,t),s=!1});const m=l.node().getBBox();var o=" ";e.cssClasses.length>0&&(o=o+e.cssClasses.join(" "));const h=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*t.padding).attr("height",m.height+t.padding+.5*t.dividerMargin).attr("class",o).node().getBBox().width;return d.node().childNodes.forEach(function(y){y.setAttribute("x",(h-y.getBBox().width)/2)}),e.tooltip&&d.insert("title").text(e.tooltip),p.attr("x2",h),B.attr("x2",h),a.width=h,a.height=m.height+t.padding+.5*t.dividerMargin,a},I=function(i,e,t,n){b.debug("Rendering note ",e,t);const r=e.id,a={id:r,text:e.text,width:0,height:0},l=i.append("g").attr("id",r).attr("class","classGroup");let d=l.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const s=JSON.parse(`"${e.text}"`).split(` `);s.forEach(function(p){b.debug(`Adding line: ${p}`),d.append("tspan").text(p).attr("class","title").attr("dy",t.textHeight)});const g=l.node().getBBox(),c=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",g.width+2*t.padding).attr("height",g.height+s.length*t.textHeight+t.padding+.5*t.dividerMargin).node().getBBox().width;return d.node().childNodes.forEach(function(p){p.setAttribute("x",(c-p.getBBox().width)/2)}),a.width=c,a.height=g.height+s.length*t.textHeight+t.padding+.5*t.dividerMargin,a},T=function(i){const e=/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/,t=/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/;let n=i.match(e),r=i.match(t);return n&&!r?L(n):r?R(r):$(i)},L=function(i){let e="",t="";try{let n=i[1]?i[1].trim():"",r=i[2]?i[2].trim():"",a=i[3]?w(i[3].trim()):"",l=i[4]?i[4].trim():"",d=i[5]?i[5].trim():"";t=n+r+a+" "+l,e=M(d)}catch{t=i}return{displayText:t,cssStyle:e}},R=function(i){let e="",t="";try{let n=i[1]?i[1].trim():"",r=i[2]?i[2].trim():"",a=i[3]?w(i[3].trim()):"",l=i[4]?i[4].trim():"",d=i[5]?" : "+w(i[5]).trim():"";t=n+r+"("+a+")"+d,e=M(l)}catch{t=i}return{displayText:t,cssStyle:e}},$=function(i){let e="",t="",n="",r=i.indexOf("("),a=i.indexOf(")");if(r>1&&a>r&&a<=i.length){let l="",d="",s=i.substring(0,1);s.match(/\w/)?d=i.substring(0,r).trim():(s.match(/[#+~-]/)&&(l=s),d=i.substring(1,r).trim());const g=i.substring(r+1,a);i.substring(a+1,1),t=M(i.substring(a+1,a+2)),e=l+d+"("+w(g.trim())+")",a"u"&&(p.yylloc={});var C=p.yylloc;c.push(C);var V=p.options&&p.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function et(){var P;return P=u.pop()||p.lex()||K,typeof P!="number"&&(P instanceof Array&&(u=P,P=u.pop()),P=a.symbols_[P]||P),P}for(var k,R,N,Q,W={},G,A,nt,q;;){if(R=h[h.length-1],this.defaultActions[R]?N=this.defaultActions[R]:((k===null||typeof k>"u")&&(k=et()),N=T[R]&&T[R][k]),typeof N>"u"||!N.length||!N[0]){var X="";q=[];for(G in T[R])this.terminals_[G]&&G>j&&q.push("'"+this.terminals_[G]+"'");p.showPosition?X="Parse error on line "+(M+1)+`: +import{aB as bt,aC as vt,z as kt,c as wt,l as I,h as U,t as St,aD as Et,aE as Tt}from"./mermaid.core-5f04c634.js";import{i as It}from"./is_dark-900bd85c.js";import{a as it}from"./arc-e99d9a62.js";import"./commonjsHelpers-725317a4.js";import"./app-d433c202.js";import"./framework-64cb0dab.js";import"./path-53f90ab3.js";var Y=function(){var n=function(b,r,a,h){for(a=a||{},h=b.length;h--;a[b[h]]=r);return a},t=[1,2],e=[1,5],s=[6,9,11,17,18,20,22,23,26,27,28],i=[1,15],o=[1,16],l=[1,17],g=[1,18],d=[1,19],y=[1,23],x=[1,24],w=[1,27],v=[4,6,9,11,17,18,20,22,23,26,27,28],_={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(r,a,h,u,f,c,T){var m=c.length-1;switch(f){case 1:return c[m-1];case 3:this.$=[];break;case 4:c[m-1].push(c[m]),this.$=c[m-1];break;case 5:case 6:this.$=c[m];break;case 7:case 8:this.$=[];break;case 11:u.getCommonDb().setDiagramTitle(c[m].substr(6)),this.$=c[m].substr(6);break;case 12:this.$=c[m].trim(),u.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=c[m].trim(),u.getCommonDb().setAccDescription(this.$);break;case 15:u.addSection(c[m].substr(8)),this.$=c[m].substr(8);break;case 19:u.addTask(c[m],0,""),this.$=c[m];break;case 20:u.addEvent(c[m].substr(2)),this.$=c[m];break;case 21:u.parseDirective("%%{","open_directive");break;case 22:u.parseDirective(c[m],"type_directive");break;case 23:c[m]=c[m].trim().replace(/'/g,'"'),u.parseDirective(c[m],"arg_directive");break;case 24:u.parseDirective("}%%","close_directive","timeline");break}},table:[{3:1,4:t,7:3,12:4,28:e},{1:[3]},n(s,[2,3],{5:6}),{3:7,4:t,7:3,12:4,28:e},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:i,18:o,20:l,22:g,23:d,24:20,25:21,26:y,27:x,28:e},{1:[2,2]},{14:25,15:[1,26],31:w},n([15,31],[2,22]),n(s,[2,8],{1:[2,1]}),n(s,[2,4]),{7:22,10:28,12:4,17:i,18:o,20:l,22:g,23:d,24:20,25:21,26:y,27:x,28:e},n(s,[2,6]),n(s,[2,7]),n(s,[2,11]),{19:[1,29]},{21:[1,30]},n(s,[2,14]),n(s,[2,15]),n(s,[2,16]),n(s,[2,17]),n(s,[2,18]),n(s,[2,19]),n(s,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},n(s,[2,5]),n(s,[2,12]),n(s,[2,13]),n(v,[2,9]),{14:34,31:w},{31:[2,23]},{11:[1,35]},n(v,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(r,a){if(a.recoverable)this.trace(r);else{var h=new Error(r);throw h.hash=a,h}},parse:function(r){var a=this,h=[0],u=[],f=[null],c=[],T=this.table,m="",M=0,z=0,j=2,K=1,H=c.slice.call(arguments,1),p=Object.create(this.lexer),E={yy:{}};for(var L in this.yy)Object.prototype.hasOwnProperty.call(this.yy,L)&&(E.yy[L]=this.yy[L]);p.setInput(r,E.yy),E.yy.lexer=p,E.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var C=p.yylloc;c.push(C);var V=p.options&&p.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function et(){var P;return P=u.pop()||p.lex()||K,typeof P!="number"&&(P instanceof Array&&(u=P,P=u.pop()),P=a.symbols_[P]||P),P}for(var k,R,N,Q,W={},G,A,nt,q;;){if(R=h[h.length-1],this.defaultActions[R]?N=this.defaultActions[R]:((k===null||typeof k>"u")&&(k=et()),N=T[R]&&T[R][k]),typeof N>"u"||!N.length||!N[0]){var X="";q=[];for(G in T[R])this.terminals_[G]&&G>j&&q.push("'"+this.terminals_[G]+"'");p.showPosition?X="Parse error on line "+(M+1)+`: `+p.showPosition()+` Expecting `+q.join(", ")+", got '"+(this.terminals_[k]||k)+"'":X="Parse error on line "+(M+1)+": Unexpected "+(k==K?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(X,{text:p.match,token:this.terminals_[k]||k,line:p.yylineno,loc:C,expected:q})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+k);switch(N[0]){case 1:h.push(k),f.push(p.yytext),c.push(p.yylloc),h.push(N[1]),k=null,z=p.yyleng,m=p.yytext,M=p.yylineno,C=p.yylloc;break;case 2:if(A=this.productions_[N[1]][1],W.$=f[f.length-A],W._$={first_line:c[c.length-(A||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(A||1)].first_column,last_column:c[c.length-1].last_column},V&&(W._$.range=[c[c.length-(A||1)].range[0],c[c.length-1].range[1]]),Q=this.performAction.apply(W,[m,z,M,E.yy,N[1],f,c].concat(H)),typeof Q<"u")return Q;A&&(h=h.slice(0,-1*A*2),f=f.slice(0,-1*A),c=c.slice(0,-1*A)),h.push(this.productions_[N[1]][0]),f.push(W.$),c.push(W._$),nt=T[h[h.length-2]][h[h.length-1]],h.push(nt);break;case 3:return!0}}return!0}},S=function(){var b={EOF:1,parseError:function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},setInput:function(r,a){return this.yy=a||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},unput:function(r){var a=r.length,h=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1&&(this.yylineno-=h.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===u.length?this.yylloc.first_column:0)+u[u.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+` diff --git a/docs/.vuepress/dist/en/api/api-reference.html b/docs/.vuepress/dist/en/api/api-reference.html index a52666f..4b7b339 100644 --- a/docs/.vuepress/dist/en/api/api-reference.html +++ b/docs/.vuepress/dist/en/api/api-reference.html @@ -38,7 +38,7 @@ } - +


Last update:
- + diff --git a/docs/.vuepress/dist/en/api/index.html b/docs/.vuepress/dist/en/api/index.html index b535dcc..af9592f 100644 --- a/docs/.vuepress/dist/en/api/index.html +++ b/docs/.vuepress/dist/en/api/index.html @@ -38,7 +38,7 @@ } - +

Introduction


Introduction

Crawlab users and developers are allowed integrate their own data into the Crawlab platform. This can be achieved by providing open APIs for data integration.

Please refer to below for more information.

- + diff --git a/docs/.vuepress/dist/en/develop/index.html b/docs/.vuepress/dist/en/develop/index.html index c5b16ff..b8e1117 100644 --- a/docs/.vuepress/dist/en/develop/index.html +++ b/docs/.vuepress/dist/en/develop/index.html @@ -38,7 +38,7 @@ } - +


- + diff --git a/docs/.vuepress/dist/en/develop/introduction.html b/docs/.vuepress/dist/en/develop/introduction.html index 9bc3dd6..5f58ffe 100644 --- a/docs/.vuepress/dist/en/develop/introduction.html +++ b/docs/.vuepress/dist/en/develop/introduction.html @@ -38,7 +38,7 @@ } - +

Introduction


Introduction

🚧 Under construction

- + diff --git a/docs/.vuepress/dist/en/develop/plugins/index.html b/docs/.vuepress/dist/en/develop/plugins/index.html index c573fc6..c65ab6a 100644 --- a/docs/.vuepress/dist/en/develop/plugins/index.html +++ b/docs/.vuepress/dist/en/develop/plugins/index.html @@ -38,7 +38,7 @@ } - +

Develop Plugins


Develop Plugins

🚧 Under construction

- + diff --git a/docs/.vuepress/dist/en/guide/basic-tutorial/index.html b/docs/.vuepress/dist/en/guide/basic-tutorial/index.html index e395972..ba9212f 100644 --- a/docs/.vuepress/dist/en/guide/basic-tutorial/index.html +++ b/docs/.vuepress/dist/en/guide/basic-tutorial/index.html @@ -38,7 +38,7 @@ } - +

Quick Tutorial


Quick Tutorial

You have now installed Crawlab and perhaps can't wait to start using it. Before you go deep into the details, I would suggest you go through this quick tutorial which would walk you through some basics and get you familiar with some main features in Crawlab.

Introduction

In this tutorial, we are going to create a spider that crawls quotes on a mock siteopen in new window provided by Zyteopen in new window (the company behind Scrapy); then we will upload this spider to Crawlab, and run it to extract quotes data; finally, we will view the crawled data visually on Crawlab.

The framework we are going to use is Scrapyopen in new window, the most popular web crawler framework written in Python, which is easy to use yet with many powerful features.

Note

We assume you have installed Crawlab on your local machine by following Quick Start. If you haven't, please refer to Quick Start to install it on your local machine.

As we are using Scrapy, please make sure you have installed Pythonopen in new window (>=3.6) and module management tool pipopen in new window before proceeding any further steps.

Create Spider

First thing first, we are going to generate a Scrapy project. Let's start by installing Scrapy.

pip install scrapy
@@ -90,6 +90,6 @@
   
 
- + diff --git a/docs/.vuepress/dist/en/guide/cli/index.html b/docs/.vuepress/dist/en/guide/cli/index.html index acb7d8d..2022b7a 100644 --- a/docs/.vuepress/dist/en/guide/cli/index.html +++ b/docs/.vuepress/dist/en/guide/cli/index.html @@ -38,7 +38,7 @@ } - +

CLI


CLI

The CLI tools allow users to easily manage Crawlab and perform common actions including uploading spiders. It is written in Python and very easy to install.

Install

Crawlab CLI tools is integrated with Crawlab SDKopen in new window. You can install Crawlab CLI tools by executing the command below.

pip install crawlab-sdk
@@ -68,6 +68,6 @@
   
 
- + diff --git a/docs/.vuepress/dist/en/guide/data-sources/index.html b/docs/.vuepress/dist/en/guide/data-sources/index.html index 4387737..c87bf8c 100644 --- a/docs/.vuepress/dist/en/guide/data-sources/index.html +++ b/docs/.vuepress/dist/en/guide/data-sources/index.html @@ -38,7 +38,7 @@ } - +

Data Sources


Data Sources

Crawlab Pro supports data sources integration, which means you can use Crawlab Pro to manage your data sources, such as MongoDB, MySQL, PostgreSQL, SQL Server, etc.

The Community Editionopen in new window only supports storing results data to default MongoDB, which stores operational data of Crawlab.

Supported Data Sources

CategoryData SourceSupported
Non-RelationalMongoDBopen in new window
Non-RelationalElasticSearchopen in new window
RelationalMySQLopen in new window
RelationalPostgreSQLopen in new window
RelationalSQL Serveropen in new window
RelationalCockroachDBopen in new window
RelationalSqliteopen in new window
StreamingKafkaopen in new window

Add Data Source

  1. Go to the Data Sources page
    data-sources-menu
  2. Click New Data Source button
    new-data-source-button
  3. Select Type as the data source type, and enter Name and connection fields
    mongo-form
  4. Click Confirm button to save the data source

Now you should be able to see the data source in the Data Sources page.

Use Data Source

  1. Go to the Spider Detail page
  2. Select the data source in the Data Source field
    mongo-data-source
  3. Click on Save button to save the spider
  4. Add related integration code in the code where saving results data (refer to the Spider Code Examples section below)
  5. Run the spider, and you should see the results in the Data tab
    results

Spider Code Examples

General Python Spider

The method save_item in crawlab-sdkopen in new window can be used to save data to designated data source.


@@ -62,6 +62,6 @@
   
 
- + diff --git a/docs/.vuepress/dist/en/guide/deps/index.html b/docs/.vuepress/dist/en/guide/deps/index.html index 9987bcb..40748f1 100644 --- a/docs/.vuepress/dist/en/guide/deps/index.html +++ b/docs/.vuepress/dist/en/guide/deps/index.html @@ -38,7 +38,7 @@ } - +

Dependencies Management


Dependencies Management

Crawlab allows users to install and management dependencies for spiders and tasks.

Expand Dependencies button on the left sidebar and click sub-menu items as below.

menu.png

  • Settings: Global dependencies settings
  • Python: Python dependencies management
  • Node.js: Node.js dependencies management

Install Dependencies

  1. Navigate to the dependencies management page (Python/Node.js)
    deps-list.png
  2. Click on Installable button
    installable.png
  3. Enter search keywords and click on Search button
    img.png
  4. Click on Install button
    install.png
  5. Select Mode (which nodes to install) and Upgrade (whether to upgrade) and click Confirm button
    install-form.png

Uninstall Dependencies

  1. Navigate to the dependencies management page (Python/Node.js)
    deps-list.png
  2. Click on Uninstall button to uninstall the dependency
    uninstall.png
  3. Select Mode (which nodes to install) and click Confirm button
    uninstall-form.png

Settings

  1. Navigate to the dependencies management page (Settings)
    settings-list.png
  2. Click on Configure button
    edit.png
  3. Edit the configuration and click on Confirm button
    settings.png

Settings description:

  • Command: executable command for installing/uninstalling dependencies. E.g. pip, /usr/local/bin/pip39, npm , yarn
  • Proxy: proxy for installing/uninstalling dependencies. E.g. https://registry.npm.taobao.org or https://pypi.tuna.tsinghua.edu.cn/simple

Tasks

  1. Navigate to the dependencies management page (Python/Node.js)
  2. Click on Tasks button
    tasks.png
  3. You can view install/uninstall tasks
    tasks-list.png
  4. Click on Logs button to view logs
    tasks-logs.png
  5. You can view logs of given tasks
    tasks-logs-content.png
- + diff --git a/docs/.vuepress/dist/en/guide/index.html b/docs/.vuepress/dist/en/guide/index.html index 6c6dea1..c35befd 100644 --- a/docs/.vuepress/dist/en/guide/index.html +++ b/docs/.vuepress/dist/en/guide/index.html @@ -38,7 +38,7 @@ } - +

Introduction


Introduction

If you already know what Crawlab is and what it is used for, you can head straight to Quick Start or Installation to install and start to use Crawlab.

If you are not familiar with Crawlab, you can read sections below in order to understand more about Crawlab.

What is Crawlab?

Crawlab is a powerful Web Crawler Management Platform (WCMP) that can run web crawlers and spiders developed in various programming languages including Python, Go, Node.js, Java, C# as well as frameworks including Scrapy, Colly, Selenium, Puppeteer. It is used for running, managing and monitoring web crawlers, particularly in production environment where traceability, scalability and stability are the major factors to concern.

Background and History

Crawlab project has been under continuous development since it was published in March 2019, and gone through a number of major releases. It was initially designed for solving the managerial issue when there are a large number of spiders to coordinate and execute. With a lot of improvements and newly updated features, Crawlab is becoming more and more popular in developer communities, particularly amongst web crawler engineers.

Change Logsopen in new window

Who can use Crawlab?

  • Web Crawler Engineers. By integrating web crawler programs into Crawlab, you can now focus only on the crawling and parsing logics, instead of wasting too much time on writing common modules such as task queue, storage, logging, notification, etc.
  • Operation Engineers. The main benefits from Crawlab for Operation Engineers are the convenience in deployment (for both crawler programs and Crawlab itself). Crawlab supports easy installation with Docker and Kubernetes.
  • Data Analysts. Data analysts who can code (e.g. Python) are able to develop web crawler programs (e.g. Scrapy) and upload them into Crawlab. Then leave all the rest dirty work to Crawlab, and it will automatically collect data for you.
  • Others. Technically everyone can enjoy the convenience and easiness of automation provided by Crawlab. Though Crawlab is good at running web crawler tasks, it can also be used for other types of tasks such as data processing and automation.

Main Features

CategoryFeatureDescription
NodeNode ManagementRegister, manage and control multiple nodes in the distributed system
SpiderSpider DeploymentAuto-deploy spiders to multiple nodes and auto-sync spider files including scripts and programs
Spider Code EditingUpdate and edit script code with the online editor on the go
Spider StatsSpider crawling statistical data such as average running time and results count
Framework IntegrationIntegrate spider frameworks such as Scrapy
Data Storage IntegrationAutomatic saving results data in the database without additional configurations
Git IntegrationVersion control through embedded or external remote Git repos
TaskTask SchedulingAssign and schedule crawling tasks to multiple nodes in the distributed system
Task LoggingAutomatic saving task logs which can be viewed in the frontend UI
Task StatsVisually display task stats including task results count and running time
UserUser ManagementCreate, update and delete user accounts
OtherDependency ManagementSearch and install dependencies Python and Node.js packages
NotificationAutomatic email or mobile notifications when tasks are triggered or complete
- + diff --git a/docs/.vuepress/dist/en/guide/installation/direct-deploy.html b/docs/.vuepress/dist/en/guide/installation/direct-deploy.html index af84267..81f13e9 100644 --- a/docs/.vuepress/dist/en/guide/installation/direct-deploy.html +++ b/docs/.vuepress/dist/en/guide/installation/direct-deploy.html @@ -38,7 +38,7 @@ } - +

Direct Deploy


Direct Deploy

🚧 Under construction...

- + diff --git a/docs/.vuepress/dist/en/guide/installation/docker.html b/docs/.vuepress/dist/en/guide/installation/docker.html index b581825..d22511f 100644 --- a/docs/.vuepress/dist/en/guide/installation/docker.html +++ b/docs/.vuepress/dist/en/guide/installation/docker.html @@ -38,7 +38,7 @@ } - +

Installation: Docker


Installation: Docker

Docker is the most convenient and easiest way to install and deploy Crawlab. If you are not familiar with Docker, you can refer to Docker Official Siteopen in new window and install it on your local machine. Make sure you have installed Docker before proceeding any further steps.

Main Process

There are several deployment modes for Docker installation, but the main process is similar.

  1. Install Dockeropen in new window and Docker-Composeopen in new window
  2. Pull Docker image of Crawlab (and MongoDB if you have no external MongoDB instance)
  3. Create docker-compose.yml and make configurations
  4. Start Docker containers

Note

For following guidance, we will assume you have installed Docker and Docker-Compose, and already pulled Docker images.

Standalone-Node Deployment

Standalone-Node Deployment (SND) is similar to the configuration in Quick Start, and it is normally for demo purpose or managing a small number of crawlers. In SND, all Docker containers including Crawlab and MongoDB are in only a single machine, i.e. Master Node (see diagram above).

Create docker-compose.yml and enter the content below.

version: '3.3'
@@ -156,6 +156,6 @@
   
 
- + diff --git a/docs/.vuepress/dist/en/guide/installation/index.html b/docs/.vuepress/dist/en/guide/installation/index.html index 78c5c8b..3bc6186 100644 --- a/docs/.vuepress/dist/en/guide/installation/index.html +++ b/docs/.vuepress/dist/en/guide/installation/index.html @@ -38,7 +38,7 @@ } - +

Installation


Installation

There are multiple methods of installing Crawlab. You can refer to the summary table below to choose the one that is most suitable.

Install MethodRecommended EnvironmentRecommended Users
DockerDemo / Production (nodes<=10)
  1. Small cluster needed
  2. Familiar with Docker
  3. Minimal maintenance required
Kubernetes (To be updated)Production (nodes>10)
  1. Medium or large cluster needed
  2. Scalability is major concern
  3. Familiar with Kubernetes or orchestration
  4. Professional operation resources available
Direct Deploy (To be updated)Demo / Experimental
  1. Additional customization needed
  2. Familiar with Vue.js or Go
  3. Willing to work with source code
- + diff --git a/docs/.vuepress/dist/en/guide/installation/kubernetes.html b/docs/.vuepress/dist/en/guide/installation/kubernetes.html index 02bf9e3..f928916 100644 --- a/docs/.vuepress/dist/en/guide/installation/kubernetes.html +++ b/docs/.vuepress/dist/en/guide/installation/kubernetes.html @@ -38,7 +38,7 @@ } - +

Kubernetes


Kubernetes

🚧 Under construction...

- + diff --git a/docs/.vuepress/dist/en/guide/monitoring/index.html b/docs/.vuepress/dist/en/guide/monitoring/index.html index dc179cc..967b173 100644 --- a/docs/.vuepress/dist/en/guide/monitoring/index.html +++ b/docs/.vuepress/dist/en/guide/monitoring/index.html @@ -38,7 +38,7 @@ } - +

Monitoring


Monitoring

NOTE

This functionality is for Pro Edition only.

Crawlab Pro supports performance monitoring, which means you can use Crawlab Pro to monitor the performance of your nodes.

Performance Metrics Overview

  1. Go to the Metrics page
    metrics-menu
  2. You can see the snapshots of the performance metrics of all nodes
    metrics-overview

Performance Metrics Detail

  1. Go to the Metrics Deail page by clicking on View button in the Metrics page
    view-button
  2. You can see the performance metrics of the selected node
    metrics-detail
  3. You can switch the metrics source by selecting the Metrics Source dropdown
    metrics-source
  4. You can select the time range/unit by selecting the Time Range dropdown
    time-range
    and Time Unit
    time-unit
  5. You can check or uncheck metrics on the left panel to show/hide them on the right panel
    metrics-panel
- + diff --git a/docs/.vuepress/dist/en/guide/node/index.html b/docs/.vuepress/dist/en/guide/node/index.html index 88cb3ae..d846ffd 100644 --- a/docs/.vuepress/dist/en/guide/node/index.html +++ b/docs/.vuepress/dist/en/guide/node/index.html @@ -38,7 +38,7 @@ } - +

Node


Node

A node is a Crawlab instance that runs crawling tasks or provides other functionalities. You can basically regard a node as a server.

There are two types of nodes, each of which serves different functionalities.

  1. Master Node
  2. Worker Node

Note

Of course you can set up multiple Crawlab instances (nodes) on a server, but that is NOT recommended as a single instance (node) on a server normally suffices.

Master Node

Master Node is the control center of the whole distributed system in Crawlab. It acts like the brain of a human body. Master Node assigns tasks to Worker Nodes or itself, and manages them. It also deploys and distributes spider files to other nodes. Furthermore, it provides APIs to the frontend application and handles communication between each node.

Note

There is only ONE Master Node in Crawlab.

Worker Node

Worker Node is a Crawlab instance dedicated for running crawling tasks. Normally, a single node or server can be limited to its computing power and resources including CPUs, memory and network IO. Therefore, the number of Worker Nodes can be increased in order to scale up the throughput of data collection and improve the overall crawling performance of the distributed system.

Tips

There can be none (SND) or multiple Worker Nodes (MND) in Crawlab.

Topology

Check Node Status

In Nodes page, you can view the status of a node whether it is online of offline.

Enable/Disable

You can enable or disable nodes to run tasks by toggling the switch button of Enabled attribute in Nodes page and node detail page.

Set Max Runners

A node can run multiple tasks at the same time. The number of concurrent tasks is controlled by Max Runners of a node. It can be configured in the node detail page.

Set Basic Info

Basic info such as node name, IP, MAC address can be set in the node detail page.

Add Node

You can refer to Set up Worker Nodes in Multi-Node Deployment (MND) of Docker Installation to add new nodes.

- + diff --git a/docs/.vuepress/dist/en/guide/notifications/index.html b/docs/.vuepress/dist/en/guide/notifications/index.html index 5143768..54c6c22 100644 --- a/docs/.vuepress/dist/en/guide/notifications/index.html +++ b/docs/.vuepress/dist/en/guide/notifications/index.html @@ -38,7 +38,7 @@ } - +

Notifications


Notifications

Crawlab allows users to receive email or mobile notifications.

Email

  1. Navigate to Notifications page
    notifications-menu.png
  2. Click a notification config of Email type
  3. Fill in the configuration form
    email-config.png
  4. Click on Save button

SMTP configurations:

  • SMTP Server: SMTP server address
  • SMTP Port: SMTP server port
  • SMTP User: SMTP server username
  • SMTP Password: SMTP server password
  • Sender Email: SMTP server sender email
  • Sender Identity: SMTP server sender identity
  • To: Recipient email
  • CC: CC email

Mobile

  1. Navigate to Notifications page
    notifications-menu.png
  2. Click a notification config of Mobile type
  3. Fill in the configuration form
    mobile-config.png
  4. Click on Save button

Tips

Please refer to related documentation for how to get webhook tokens.

Template

  1. Navigate to Notifications page
    notifications-menu.png
  2. Click a notification config of any type
  3. Click on Template tab
    template.png

Tips

To understand the syntax and variables of templates, please refer to template-parseropen in new window

- + diff --git a/docs/.vuepress/dist/en/guide/permissions/index.html b/docs/.vuepress/dist/en/guide/permissions/index.html index c0ba0e9..869393f 100644 --- a/docs/.vuepress/dist/en/guide/permissions/index.html +++ b/docs/.vuepress/dist/en/guide/permissions/index.html @@ -38,7 +38,7 @@ } - +

Permissions Management


Permissions Management

NOTE

This functionality is for Pro Edition only.

Crawlab Pro supports a RBACopen in new window -based permissions management, which means you can use Crawlab Pro to manage the Permissions of your users via Roles.

Permissions

Permissions in Crawlab Pro are the basic unit of user access control.

Types of permissions

Types of permissions are as below:

  • Action: Specific actions that a role can perform, such as View, Edit, Delete, Create, etc.
  • Page: Specific pages that a role can access, such as Spiders, Tasks, Nodes, etc.
  • Data: Specific data records that a role can access, such as Spiders attributed to a specific user.

Permission fields

Fields of permissions are as below:

  • Type: Type of permission, Action, Page, or Data.
  • Target: Regex pattern of the targets, where the permission should operate on.
  • Allow: Regex pattern of allowed items.
  • Deny: Regex pattern of denied items.

Create a permission

  1. Go to the Permissions page by clicking the Permissions button in the sidebar.
    permissions-menu
  2. Click the New Permission button
    permissions-create
  3. Enter necessary info of the new permission and click Confirm button
    permissions-create-form

Delete a permission

  1. Go to the Permissions page by clicking the Permissions button in the
    permissions-menu
  2. Click the Delete button of the permission you want to delete
    delete-button

Roles

Roles in Crawlab Pro can be defined by admin users. Roles are associated with a set of permissions, and can be assigned to users.

Create a Role

  1. Go to the Roles page by clicking the navigation button on the left sidebar
    roles-menu
  2. Click the New Role button
    roles-create
  3. Enter necessary info of the new role and click Confirm button
    roles-create-form

Delete a role

  1. Go to the Roles page by clicking the Roles button in the
    roles-menu
  2. Click the Delete button of the role you want to delete
    delete-button
  1. Go to the Permissions tab in the Role Detail page by clicking the View permissions button.
    view-permissions-button
  2. Click on Link Permissions button.
    link-permissions-button
  3. Select the permissions you want to link/unlink to the role, and click Confirm button.
    link-permissions-form
  1. Go to the Permissions tab in the Role Detail page by clicking the View users button.
    view-users-button
  2. Click on Link Users button.
    link-users-button
  3. Select the users you want to link/unlink to the role, and click Confirm button.
    link-users-form
- + diff --git a/docs/.vuepress/dist/en/guide/plugin/index.html b/docs/.vuepress/dist/en/guide/plugin/index.html index fec79d3..822200a 100644 --- a/docs/.vuepress/dist/en/guide/plugin/index.html +++ b/docs/.vuepress/dist/en/guide/plugin/index.html @@ -38,7 +38,7 @@ } - +

Plugin


Plugin

Plugin is an extension which can extend beyond existing functionalities and features. In Crawlab, the Plugin Framework is in place for users to customize their web crawler management platforms.

Why Plugin

Why don't we just hack around the source code in Crawlab when customization is needed? The reason is the concern for Maintainability. When you change some code of core modules in Crawlab, you might risk your project's maintainability because there will be upgrades in the future, which would very likely break your current customization.

A well-designed plugin is less likely to be tightly coupled with Crawlab, so that updates in Crawlab will not significantly affect the plugin. Plugins are pluggable and easy to be installed or uninstalled.

Plugin Framework

Plugin Framework is embedded in Crawlab which manages official and third-party plugins. Crawlab users can develop plugins based on Crawlab Plugin Framework (CPF).

Official Plugins

There are some public official plugins maintained by Crawlab Teamopen in new window. The GitHub repos of official Crawlab plugins are normally located in Crawlab Team's repositoriesopen in new window, each of which has a prefix plugin-.

NameDescription仓库链接
plugin-notificationSending alerts and notifications such as emails and mobile push notificationsLinkopen in new window
plugin-dependencyInstalling and managing dependencies and running environmentLinkopen in new window
plugin-spider-assistantProviding advanced web crawler features such as framework support (e.g. Scrapy, etc.)Linkopen in new window

Install Plugin

Tips

After a plugin is installed, you should refresh page in your web browser in order for plugin UI components to display.

There are several ways of installing plugins in Crawlab.

Install Official Plugins

You can install official plugins by only input the plugin name in Install Plugin dialog.

  1. Navigate to Plugins.
  2. Choose Public.
  3. Click Install button on plugins you would like to install.

Install by Git

If you know the git url of a Crawlab plugin, you can install it through git url.

  1. Navigate to Plugins.
  2. Choose Type as Git.
  3. Enter the url of the plugin in the field Install URL.
  4. Click Confirm.

Install by Local

Note

This method is recommended only when you are developing Crawlab with source code.

  1. Navigate to Plugins.
  2. Choose Type as Local.
  3. Enter local path of the plugin in the field Install Path.
  4. Click Confirm.

Installation Source

Note

Installation Source is only for official plugins.

The default installation source of official plugins is GitHub. But GitHub is not always the best Source to access. For example, if you are in Mainland China, accessing GitHub can sometimes be slow; then you can choose Gitee as Source of official plugins, which will largely speed up plugin installation.

Uninstall Plugin

You can uninstall a plugin by clicking Delete button on the right in Plugins page.

Start/Stop

You can start or stop a plugin by clicking Start or Stop button on the right in Plugins page.

- + diff --git a/docs/.vuepress/dist/en/guide/plugin/plugin-dependency.html b/docs/.vuepress/dist/en/guide/plugin/plugin-dependency.html index 719e2c4..a481596 100644 --- a/docs/.vuepress/dist/en/guide/plugin/plugin-dependency.html +++ b/docs/.vuepress/dist/en/guide/plugin/plugin-dependency.html @@ -38,7 +38,7 @@ } - +

plugin-dependency


plugin-dependency

plugin-dependencyopen in new window is a plugin that manages dependencies in Crawlab. For example, your Python crawlers may need to use libraries such as selenium or sqlalchemy apart from pre-installed libraries in Crawlab. With plugin-dependency, you can easily install and manage your dependencies and libraries on web UI in Crawlab.

Available Dependency Frameworks

  • Python
  • Node.js

Search and Install Dependencies

You can search and install dependencies on Crawlab Web UI with plugin-dependency, just like in popular IDEs such as JetBrains IDEA and VS Code.

  1. Navigate to the dependency framework page, e.g. Python.
  2. Click Installable button.
  3. Type in keyword for searching in the search input on the top left.
  4. Click search icon button.
  5. Click Install button on the right of the plugins you'd like to install.

Uninstall Dependencies

Uninstalling dependencies are also available.

  1. Navigate to the dependency framework page, e.g. Python.
  2. Click Installed button.
  3. Type in keyword for searching in the search input on the top left.
  4. Click search icon button.
  5. Click Uninstall button on the right of the plugins you'd like to uninstall.

View Tasks

You may want to check if your installation or uninstallation is successful or not, which can be achieved by viewing tasks following steps below.

  1. Navigate to the dependency framework page, e.g. Python.
  2. Click Tasks button.
  3. You can view logs of each task by clicking Logs button.
- + diff --git a/docs/.vuepress/dist/en/guide/plugin/plugin-notification.html b/docs/.vuepress/dist/en/guide/plugin/plugin-notification.html index 73ce593..d89e07b 100644 --- a/docs/.vuepress/dist/en/guide/plugin/plugin-notification.html +++ b/docs/.vuepress/dist/en/guide/plugin/plugin-notification.html @@ -38,7 +38,7 @@ } - +

plugin-notification


plugin-notification

plugin-notificationopen in new window is a Crawlab plugin that allows users to send and receive notifications from Crawlab using email or mobile applications (e.g. WeChat, DingTalk).

Notification Type

There are 2 types of notifications in plugin-notification.

  • Mail: Sending notifications via email.
  • Mobile: Sending notifications via mobile webhooks.

Triggers

plugin-notification allows users to set triggers in order to configure when to send notifications.

You can follow the below steps to configure triggers.

  1. Navigate to Notifications page.
  2. Navigate to notification detail page by clicking the name or View button on the right.
  3. Click Triggers tab.
  4. Select triggers for sending notifications.

Template

plugin-notification allows users to customize notification content.

You can follow the below steps to customize content.

  1. Navigate to Notifications page.
  2. Navigate to notification detail page by clicking the name or View button on the right.
  3. Click Template tab.
  4. Edit template.
- + diff --git a/docs/.vuepress/dist/en/guide/plugin/plugin-spider-assistant.html b/docs/.vuepress/dist/en/guide/plugin/plugin-spider-assistant.html index 31d6342..0a3b097 100644 --- a/docs/.vuepress/dist/en/guide/plugin/plugin-spider-assistant.html +++ b/docs/.vuepress/dist/en/guide/plugin/plugin-spider-assistant.html @@ -38,7 +38,7 @@ } - +

plugin-spider-assistant


plugin-spider-assistant

plugin-spider-assistantopen in new window is a Crawlab plugin that provides assistance in spider management. It allows users to view and manage items in spider frameworks.

Spider Frameworks

NameLanguageViewManage
Scrapyopen in new windowPython
Collyopen in new windowGo
WebMagicopen in new windowJava
DotnetSpideropen in new windowC#

How to use

  1. Navigate to spider detail page.
  2. Click Assistant tab.
  3. You are now able to view info of detected spider framework.
- + diff --git a/docs/.vuepress/dist/en/guide/project/index.html b/docs/.vuepress/dist/en/guide/project/index.html index fc10c1a..9bcc408 100644 --- a/docs/.vuepress/dist/en/guide/project/index.html +++ b/docs/.vuepress/dist/en/guide/project/index.html @@ -38,7 +38,7 @@ } - +

Project


Project

A project is a group of spiders that are normally closely related and mostly crawl sites or data in the same category or industry. Therefore, you can regard projects as a method of grouping spiders together so that they could be better managed.

It is in one-to-many relationship with spiders.

You can link a spider to a project by either,

  1. selecting Project in the spider detail page, or
  2. selecting Project in the create new spider dialog.

View Spiders

Navigate to Spiders tab in the project detail page.

- + diff --git a/docs/.vuepress/dist/en/guide/quick-start.html b/docs/.vuepress/dist/en/guide/quick-start.html index 0cd6ac2..1a0228e 100644 --- a/docs/.vuepress/dist/en/guide/quick-start.html +++ b/docs/.vuepress/dist/en/guide/quick-start.html @@ -38,7 +38,7 @@ } - +

Quick Start


Quick Start

The quickest way to install Crawlab is Docker. If you are not familiar with Docker, you can refer to Docker Official Siteopen in new window and install it on your local machine.

Pull Images

Make sure you have installed Docker, and then pull the image of Crawlab and MongoDB.

docker pull crawlabteam/crawlab
@@ -70,6 +70,6 @@
   
 
- + diff --git a/docs/.vuepress/dist/en/guide/schedule/index.html b/docs/.vuepress/dist/en/guide/schedule/index.html index b6a67c8..1ecfea6 100644 --- a/docs/.vuepress/dist/en/guide/schedule/index.html +++ b/docs/.vuepress/dist/en/guide/schedule/index.html @@ -38,7 +38,7 @@ } - +

Schedule


Schedule

Most of the time, we may need to periodically run crawling tasks for a spider. Now you need a schedule.

The concept schedule in Crawlab is similar to crontabopen in new window in Linux. It is a long-existing job that runs spider tasks in a periodical way.

Tips

If you would like to configure a web crawler that automatically runs crawling tasks every day/week/month, you should probably set up a schedule. Schedule is the right way to automate things, especially for spiders that crawl incremental content.

Create Schedule

  1. Navigate to Schedules page.
  2. Click New Schedule button on the top left.
  3. Enter basic info including Name, Cron Expressionopen in new window and Spider.
  4. Click Confirm.

The created schedule is enabled by default. Once you created a schedule which is already enabled, it should trigger a task on time according to its cron expression you have set.

Tips

You can debug whether the schedule module works in Crawlab by creating a new schedule with Cron Expression as * * * * *, which means "every minute", so that you can check if a task will be triggered when the next minute starts.

Enable/Disable Schedule

You can enable or disable schedules by toggling the switch button of Enabled attribute in Schedules page and schedule detail page.

Cron Expression

Cron Expression is a simple and standard format to describe the periodicity of tasks. It is the same as the format in Linux crontab.

*    *    *   *    *  Command_to_execute
@@ -63,6 +63,6 @@
   
 
- + diff --git a/docs/.vuepress/dist/en/guide/spider/file-editor.html b/docs/.vuepress/dist/en/guide/spider/file-editor.html index 3f4a395..0354d02 100644 --- a/docs/.vuepress/dist/en/guide/spider/file-editor.html +++ b/docs/.vuepress/dist/en/guide/spider/file-editor.html @@ -38,7 +38,7 @@ } - +

File Editor


File Editor

Crawlab allows users to edit files in the browser. This is useful for editing files such as settings.py and items.py in the spider.

Open File

  1. Navigate to Files tab in spider detail page.
    files-tab
  2. Double-click the file you want to edit.
    files-sidebar
  3. The file should be opened in the editor.
    file-editor

Edit File

  1. Make changes to the file.

Save File

  1. Press Ctrl + S or click Save button in the nav bar to save the file.
    save-btn

Move File

  1. Drag and drop the file to the folder you want to move to.

Rename File

  1. Right-click the file and select Rename.
    rename

Duplicate File

  1. Right-click the file and select Duplicate.
    duplicate

Delete File

  1. Right-click the file and click Delete in the context menu.
    delete-file
- + diff --git a/docs/.vuepress/dist/en/guide/spider/index.html b/docs/.vuepress/dist/en/guide/spider/index.html index 30d2ca8..6e6e041 100644 --- a/docs/.vuepress/dist/en/guide/spider/index.html +++ b/docs/.vuepress/dist/en/guide/spider/index.html @@ -38,7 +38,7 @@ } - +

Spider


Spider

Spider is the basic unit of web crawler programs in Crawlab. You can regard it as a web crawling software project consisted of code and files, e.g. a Scrapy project. Please note that the term project mentioned here is not the same as the basic concept Project in Crawlab.

Note

The concept Spider is so important in Crawlab that we strongly recommend you read through this section.

Typical Process

Below is a typical process for users to play with spiders in Crawlab.

Create Spider

  1. Navigate to Spiders page, and click New Spider button on the top left.
  2. Enter relevant info including Name and Command.
  3. Click Confirm.

Upload Spider

There are several ways to upload spider files.

Upload Folder

  1. Navigate to spider detail page.
  2. Click Files tab.
  3. Click Upload button in the nav bar.
  4. Choose Folder.
  5. Click Click to Select Folder to Upload.
  6. Choose the folder where spider files are located.
  7. Click Confirm.

Upload Files

  1. Navigate to spider detail page.
  2. Click Files tab.
  3. Click Upload button in the nav bar.
  4. Choose Files.
  5. Drag and drop spider files into the drop zone, or click the drop zone and select files.
  6. Click Confirm.

Upload Files (Drag & Drop)

  1. Navigate to spider detail page.
  2. Click Files tab.
  3. Drag and drop spider files or folders into folders on file navigator on the left.

Run Spider

You can follow the steps below to run a spider.

  1. If in spider detail page, click Run button with play icon in the nav bar.
  2. If in Spiders page, click Run button with play icon on the right.
  3. Select appropriate settings for running spider.
  4. Click Confirm.

Here is the explanation of settings for running a spider.

  • Command: Actual cmd/bash/shell base command that will be executed.
  • Param: Actual parameters/arguments passed to Command.
  • Mode: Task running mode. Default to Random Node.
  • Priority: Task priority. Default to 5.

Entity Relationships

- + diff --git a/docs/.vuepress/dist/en/guide/spider/integration.html b/docs/.vuepress/dist/en/guide/spider/integration.html index 315ff85..64c723a 100644 --- a/docs/.vuepress/dist/en/guide/spider/integration.html +++ b/docs/.vuepress/dist/en/guide/spider/integration.html @@ -38,7 +38,7 @@ } - +

Spider Integration


Spider Integration

You can integrate your spiders with Crawlab SDK. This allows you to view scraped results visually on Crawlab.

Crawlab SDK supports integration with various web crawler frameworks including Scrapy, and programming languages including Python, Node.js, Go.

NOTE

By default, Crawlab SDK is installed in the base image of Crawlab. You can also install it manually if you are not using Crawlab Docker image.

Scrapy

  1. Make sure you have created a Scrapy spider on Crawlab.
  2. Add crawlab.CrawlabPipeline to Item_PIPELINES in settings.py file.
    ITEM_PIPELINES = {
    @@ -64,6 +64,6 @@
       
     
- + diff --git a/docs/.vuepress/dist/en/guide/task/index.html b/docs/.vuepress/dist/en/guide/task/index.html index 07bbc55..1e4a52b 100644 --- a/docs/.vuepress/dist/en/guide/task/index.html +++ b/docs/.vuepress/dist/en/guide/task/index.html @@ -38,7 +38,7 @@ } - +

Task


Task

A task is a process triggered by a spider which crawls data from websites, performs specific operations, or serves other functionalities. It is the basic unit of the execution process of spiders.

In Crawlab, you can not only run tasks through only a single click, but also be able to visually view task info such as stats, realtime logs and crawled data. Furthermore, you can set Priority of tasks in order to determine their execution sequence.

Run Task

You can either run a task from spider, or follow the steps below.

  1. Navigate to Tasks page.
  2. Click New Tasks button on the top left.
  3. Select Spider and choose other settings.
  4. Click Confirm.

Restart Task

  1. Navigate to Tasks page.
  2. Click Restart button on the right.

Monitor Task

Crawlab provides task monitoring functionalities to allow you to closely watch the results and performance of your crawling tasks.

View Logs

You can view realtime logs in Crawlab.

  1. Navigate to task detail page.
  2. Click Logs tab.

View Data

You can view crawled data in realtime.

  1. Navigate to task detail page.
  2. Click Data tab.

Cancel Task

Once a task is Pending or Running, you can cancel it by either

  1. clicking on Cancel button on the right in Tasks page, or
  2. clicking on Cancel button on the nav bar in task detail page.
- + diff --git a/docs/.vuepress/dist/en/guide/token/index.html b/docs/.vuepress/dist/en/guide/token/index.html index eedc5c7..fbc00d7 100644 --- a/docs/.vuepress/dist/en/guide/token/index.html +++ b/docs/.vuepress/dist/en/guide/token/index.html @@ -38,7 +38,7 @@ } - +


- + diff --git a/docs/.vuepress/dist/en/guide/user/index.html b/docs/.vuepress/dist/en/guide/user/index.html index 6003755..057d9f6 100644 --- a/docs/.vuepress/dist/en/guide/user/index.html +++ b/docs/.vuepress/dist/en/guide/user/index.html @@ -38,7 +38,7 @@ } - +

User


User

Users in Crawlab are equal to user accounts in most admin systems. User accounts can be created, updated and deleted.

Admin User

By default, an admin user will be created when Crawlab is initialized. Below is the default username and password.

  • Username: admin
  • Password: admin

Create User

  1. Navigate to Users page, and click New User button on the top left.
  2. Enter relevant info including Username and Password.
  3. Click Confirm.

Change User Password

  1. Navigate to user detail page.
  2. Click Change Password button.
  3. Enter new password and confirm.
- + diff --git a/docs/.vuepress/dist/en/index.html b/docs/.vuepress/dist/en/index.html index 4f9048a..666df5b 100644 --- a/docs/.vuepress/dist/en/index.html +++ b/docs/.vuepress/dist/en/index.html @@ -38,7 +38,7 @@ } - +

Hello

Documentation for distributed web crawler management platform Crawlab

- + diff --git a/docs/.vuepress/dist/en/migration/index.html b/docs/.vuepress/dist/en/migration/index.html index 037d3cc..e9ac6be 100644 --- a/docs/.vuepress/dist/en/migration/index.html +++ b/docs/.vuepress/dist/en/migration/index.html @@ -38,7 +38,7 @@ } - +

Upgrade & Migration


Upgrade & Migration

Since the first release of Crawlab, there were a number of major releases whose fundamental architectures are quite different. Therefore, if you would like to migrate to the latest version from old versions, you can refer to the migration guide below.

v0.6

Crawlab v0.6 is a major release with enhanced stability, scalability and functionalities. If you would like to upgrade to this version, please refer to v0.6 Migration Guide.

v0.5

Crawlab v0.5 is the first stable version. For details, please refer to v0.5 Documentationopen in new window .

Feature Comparisons

Featurev0.6v0.5
Node Management
Spider Deployment
Spider Code Editing
Spider Stats
Framework Integration
Data Storage Integration
Git Integration
Task Scheduling
Task Logging
Task Stats
Scheduled Tasks
User Management
Dependency Management
Notification
API
CLI
SDK
Customized Plugins
Configurable Spiders❌ (Temporary)
- + diff --git a/docs/.vuepress/dist/en/migration/v0.6.html b/docs/.vuepress/dist/en/migration/v0.6.html index 138bc0d..27408b5 100644 --- a/docs/.vuepress/dist/en/migration/v0.6.html +++ b/docs/.vuepress/dist/en/migration/v0.6.html @@ -38,7 +38,7 @@ } - +

Migrate to v0.6.x from Old Versions


Migrate to v0.6.x from Old Versions

From v0.5.x

Suppose you have deployed Crawlab v0.5.x and have been running a bunch of spiders on production environment. You can follow the steps for migration as below.

  1. Install latest crawlab-sdkopen in new window
  2. Execute the CLI command below to migrate your spider data to v0.6.x
    crawlab migrate \
    @@ -59,6 +59,6 @@
       
     
- + diff --git a/docs/.vuepress/dist/en/principle/architecture/index.html b/docs/.vuepress/dist/en/principle/architecture/index.html index 4574da2..a934df7 100644 --- a/docs/.vuepress/dist/en/principle/architecture/index.html +++ b/docs/.vuepress/dist/en/principle/architecture/index.html @@ -38,7 +38,7 @@ } - +

Architecture


Architecture

The architecture diagram of Crawlab is as below.

Architecture

As a distributed system, Crawlab is consisted of several modules (or layers), including Master Node, Worker Nodes, Database , File System and Frontend. Each module (apart from Master Node for now) is scalable so that the whole distributed system can be flexibly scaled in order to support high-performance requirements.

For example, crawling tasks are assigned to the Worker Node Cluster which can adjust itself with suitable number of nodes if resources needed change.

- + diff --git a/docs/.vuepress/dist/en/principle/core-modules/index.html b/docs/.vuepress/dist/en/principle/core-modules/index.html index 2a40cd2..7aba2e8 100644 --- a/docs/.vuepress/dist/en/principle/core-modules/index.html +++ b/docs/.vuepress/dist/en/principle/core-modules/index.html @@ -38,7 +38,7 @@ } - +

Core Modules


Core Modules

🚧 Under construction...

- + diff --git a/docs/.vuepress/dist/en/principle/core-modules/schedule/index.html b/docs/.vuepress/dist/en/principle/core-modules/schedule/index.html index cf77f9d..f4ea7ac 100644 --- a/docs/.vuepress/dist/en/principle/core-modules/schedule/index.html +++ b/docs/.vuepress/dist/en/principle/core-modules/schedule/index.html @@ -38,7 +38,7 @@ } - +

Schedule


Schedule

🚧 Under construction...

- + diff --git a/docs/.vuepress/dist/en/principle/core-modules/spider/index.html b/docs/.vuepress/dist/en/principle/core-modules/spider/index.html index c49cb1d..1bc2308 100644 --- a/docs/.vuepress/dist/en/principle/core-modules/spider/index.html +++ b/docs/.vuepress/dist/en/principle/core-modules/spider/index.html @@ -38,7 +38,7 @@ } - +

Spider


Spider

🚧 Under construction...

- + diff --git a/docs/.vuepress/dist/en/principle/core-modules/task/index.html b/docs/.vuepress/dist/en/principle/core-modules/task/index.html index ffbe100..d21f640 100644 --- a/docs/.vuepress/dist/en/principle/core-modules/task/index.html +++ b/docs/.vuepress/dist/en/principle/core-modules/task/index.html @@ -38,7 +38,7 @@ } - +

Task


Task

🚧 Under construction...

- + diff --git a/docs/.vuepress/dist/en/principle/database/index.html b/docs/.vuepress/dist/en/principle/database/index.html index 80d558c..a4a4c14 100644 --- a/docs/.vuepress/dist/en/principle/database/index.html +++ b/docs/.vuepress/dist/en/principle/database/index.html @@ -38,7 +38,7 @@ } - +

Database


Database

Crawlab uses MongoDB, an open-source high-performance NoSQL database, as its operational database.

- + diff --git a/docs/.vuepress/dist/en/principle/database/mongodb.html b/docs/.vuepress/dist/en/principle/database/mongodb.html index d8f399a..b6c25f8 100644 --- a/docs/.vuepress/dist/en/principle/database/mongodb.html +++ b/docs/.vuepress/dist/en/principle/database/mongodb.html @@ -38,7 +38,7 @@ } - +

MongoDB


MongoDB

MongoDBopen in new window is one of the most used NoSQL database which is schemaless and allows for rapid development because developers don't have to worry about database schema migration when data fields are changed.

The biggest reason of using MongoDB in Crawlab is its flexibility. As Crawlab is under fast development, most of the time the models and data fields need to be updated. Therefore, MongoDB is the best solution.

Crawled results data are also stored in MongoDB in the Community Edition. The database of results storage is the same as the operational data. If you would like to store results data in other types of databases (e.g. MySQL, PostgreSQL, ElasticSearch, etc.), or other databases or instances of MongoDB, you can check out the Professional Edition, which has more powerful features for production use.

- + diff --git a/docs/.vuepress/dist/en/principle/filesystem/index.html b/docs/.vuepress/dist/en/principle/filesystem/index.html index d151af4..b0bcff2 100644 --- a/docs/.vuepress/dist/en/principle/filesystem/index.html +++ b/docs/.vuepress/dist/en/principle/filesystem/index.html @@ -38,7 +38,7 @@ } - +

File System


File System

Crawlab uses SeaweedFS as its distributed file system.

Below is how it works with files synchronization between the master node and worker nodes.

- + diff --git a/docs/.vuepress/dist/en/principle/filesystem/seaweedfs.html b/docs/.vuepress/dist/en/principle/filesystem/seaweedfs.html index a565fa1..dee15b3 100644 --- a/docs/.vuepress/dist/en/principle/filesystem/seaweedfs.html +++ b/docs/.vuepress/dist/en/principle/filesystem/seaweedfs.html @@ -38,7 +38,7 @@ } - +

SeaweedFS


SeaweedFS

SeaweedFSopen in new window is an open-source distributed file system which is good at hosting small files. As Crawlab is a distributed crawler management platform, SeaweedFS serves as the medium for synchronizing files such as scripts and program files between nodes and instances.

For more details, please refer to the wikiopen in new window on GitHub.

- + diff --git a/docs/.vuepress/dist/en/principle/frontend/index.html b/docs/.vuepress/dist/en/principle/frontend/index.html index 7d1defd..e70f189 100644 --- a/docs/.vuepress/dist/en/principle/frontend/index.html +++ b/docs/.vuepress/dist/en/principle/frontend/index.html @@ -38,7 +38,7 @@ } - +

Frontend


Frontend

🚧 Under construction...

- + diff --git a/docs/.vuepress/dist/en/principle/index.html b/docs/.vuepress/dist/en/principle/index.html index b3b1f57..c3e32df 100644 --- a/docs/.vuepress/dist/en/principle/index.html +++ b/docs/.vuepress/dist/en/principle/index.html @@ -38,7 +38,7 @@ } - +

Introduction


Introduction

As developers, you might be interested in how Crawlab works. This section will introduce the fundamentals and basic technologies behind it.

This section is consisted of the topics.

- + diff --git a/docs/.vuepress/dist/en/principle/node/index.html b/docs/.vuepress/dist/en/principle/node/index.html index b17bcc7..8ceff39 100644 --- a/docs/.vuepress/dist/en/principle/node/index.html +++ b/docs/.vuepress/dist/en/principle/node/index.html @@ -38,7 +38,7 @@ } - +

Node


Node

A node is an instance that executes and manages crawler programs. It is the basic unit of resources in a distributed system.

There are two types of nodes:

If you wonder how nodes communicate between each other, you can refer to Node Communication.

- + diff --git a/docs/.vuepress/dist/en/principle/node/master-node.html b/docs/.vuepress/dist/en/principle/node/master-node.html index cee9561..dd68dba 100644 --- a/docs/.vuepress/dist/en/principle/node/master-node.html +++ b/docs/.vuepress/dist/en/principle/node/master-node.html @@ -38,7 +38,7 @@ } - +

Master Node


Master Node

A master node is the central part of the distributed system in Crawlab. It manages registration of worker nodes, assigns and schedule crawling tasks to worker nodes, and receives or transfers messages from or to worker nodes.

A master node is consisted of many submodules and is much more complicated than worker nodes. You can refer to the diagram below for the submodules in a master node.

- + diff --git a/docs/.vuepress/dist/en/principle/node/node-communication.html b/docs/.vuepress/dist/en/principle/node/node-communication.html index 71838d2..9964c8d 100644 --- a/docs/.vuepress/dist/en/principle/node/node-communication.html +++ b/docs/.vuepress/dist/en/principle/node/node-communication.html @@ -38,7 +38,7 @@ } - +

Node Communication


Node Communication

The master node communicates with worker nodes through gRPCopen in new window, a high-performance RPC framework.

The diagram below shows how the node communication works in Crawlab.

- + diff --git a/docs/.vuepress/dist/en/principle/node/worker-node.html b/docs/.vuepress/dist/en/principle/node/worker-node.html index f73fa95..57af689 100644 --- a/docs/.vuepress/dist/en/principle/node/worker-node.html +++ b/docs/.vuepress/dist/en/principle/node/worker-node.html @@ -38,7 +38,7 @@ } - +

Worker Node


Worker Node

A worker node is a kind of node whose main responsibility is task execution. It receives crawling tasks from the master node and executes processes that crawl data on the target websites. Therefore, you can think of worker nodes as executors. They do not handle API requests, task scheduling, cron and other functionalities on a master node.

You can refer below the submodules of worker nodes.

- + diff --git a/docs/.vuepress/dist/en/pro/index.html b/docs/.vuepress/dist/en/pro/index.html index 3eae884..74f5af2 100644 --- a/docs/.vuepress/dist/en/pro/index.html +++ b/docs/.vuepress/dist/en/pro/index.html @@ -38,7 +38,7 @@ } - +

Introduction


Introduction

Crawlab Pro Edition is the enterprise product based on the core functionalities of Crawlab. It has additional powerful modules which would be suitable for production environment and has more scalability and robustness.

Demo

You can visit the Demoopen in new window to see how Crawlab Pro works.

Feature Comparison

FeatureProCommunity
Spider Management
Scheduled Tasks
Task Management
Data Source Integration
Performance Monitoring
Permission Management

How to install

Installation for Crawlab Pro is quite simple and similar to the Community version.

Please refer to Install Crawlab Pro for more details.

How to buy

You will need a license to use Crawlab Pro.

If you decide to use Crawlab Pro, please contact us for obtaining licenses via WeChat tikazyq1 or email.

- + diff --git a/docs/.vuepress/dist/en/pro/installation.html b/docs/.vuepress/dist/en/pro/installation.html index 02df9b7..4979151 100644 --- a/docs/.vuepress/dist/en/pro/installation.html +++ b/docs/.vuepress/dist/en/pro/installation.html @@ -38,7 +38,7 @@ } - +

Installation


Installation

Crawlab Pro is distributed via Dockeropen in new window. You can install it on any platform that supports Docker.

Prerequisites

Tips

If you don't know how to set up Docker environment, please refer to the Installation via Docker section.

  • Docker Environment. Please make sure you have installed Docker and Docker Compose on your machine.
  • License. You need to have a valid license to initialize and start Crawlab Pro containers.

Main Process

Tips

If you don't know how to obtain licenses, please refer to Crawlab Pro License for more information.

The main process of installing Crawlab Pro is quite similar to that of Crawlab Community except that it requires a license. You can refer to Crawlab Community Installation via Docker for more information.

  1. Install Dockeropen in new window and Docker-Composeopen in new window
  2. Pull Docker image of Crawlab Pro (and MongoDB if you have no external MongoDB instance)
  3. Create docker-compose.yml and make configurations (including licenses)
  4. Start Docker containers

Note

For following guidance, we will assume you have installed Docker and Docker-Compose, and already pulled Docker images.

Standalone-Node Deployment

Standalone-Node Deployment (SND) is similar to the configuration in Quick Start, and it is normally for demo purpose or managing a small number of crawlers. In SND, all Docker containers including Crawlab and MongoDB are in only a single machine, i.e. Master Node (see diagram above).

Create docker-compose.yml and enter the content below.

version: '3.3'
@@ -160,6 +160,6 @@
   
 
- + diff --git a/docs/.vuepress/dist/en/pro/license.html b/docs/.vuepress/dist/en/pro/license.html index 9e3675e..326eb15 100644 --- a/docs/.vuepress/dist/en/pro/license.html +++ b/docs/.vuepress/dist/en/pro/license.html @@ -38,7 +38,7 @@ } - +

License


License

Crawlab Pro is a commercial product. You need to have a valid license to use it.

Term of Validity

The term of validity of a license is 1 year. You can renew the license after it expires.

Scope of Validity

The scope of validity of a license is 1 node. You can use the license on only 1 node.

How to Buy

If you decide to use Crawlab Pro, please contact us for obtaining licenses via WeChat tikazyq1 or email.

- + diff --git a/docs/.vuepress/dist/index.html b/docs/.vuepress/dist/index.html index 4c7c70c..ac2cc87 100644 --- a/docs/.vuepress/dist/index.html +++ b/docs/.vuepress/dist/index.html @@ -5,7 +5,7 @@ - - +

Hello

Welcome to your VuePress site

- + diff --git a/docs/.vuepress/dist/sitemap.xml b/docs/.vuepress/dist/sitemap.xml index 572f080..283007c 100644 --- a/docs/.vuepress/dist/sitemap.xml +++ b/docs/.vuepress/dist/sitemap.xml @@ -1,3 +1,3 @@ -https://docs.crawlab.cn/2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/en/2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/api/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/api/api-reference.html2023-06-18T14:17:20.000Zdailyhttps://docs.crawlab.cn/zh/develop/2021-11-14T10:35:32.000Zdailyhttps://docs.crawlab.cn/zh/develop/introduction.html2021-11-11T04:17:23.000Zdailyhttps://docs.crawlab.cn/zh/guide/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/guide/quick-start.html2022-06-01T09:52:00.000Zdailyhttps://docs.crawlab.cn/zh/migration/2022-07-13T06:58:39.000Zdailyhttps://docs.crawlab.cn/zh/migration/v0.6.html2022-07-13T08:52:44.000Zdailyhttps://docs.crawlab.cn/zh/principle/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/pro/2023-06-25T05:06:20.000Zdailyhttps://docs.crawlab.cn/zh/pro/installation.html2023-04-05T06:59:46.000Zdailyhttps://docs.crawlab.cn/zh/pro/license.html2022-10-13T05:56:37.000Zdailyhttps://docs.crawlab.cn/en/api/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/api/api-reference.html2023-06-18T14:17:20.000Zdailyhttps://docs.crawlab.cn/en/develop/2021-11-14T10:35:32.000Zdailyhttps://docs.crawlab.cn/en/develop/introduction.html2021-11-13T10:46:48.000Zdailyhttps://docs.crawlab.cn/en/guide/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/guide/quick-start.html2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/migration/2022-07-13T06:58:39.000Zdailyhttps://docs.crawlab.cn/en/migration/v0.6.html2022-07-13T08:52:44.000Zdailyhttps://docs.crawlab.cn/en/principle/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/pro/2023-06-25T05:06:20.000Zdailyhttps://docs.crawlab.cn/en/pro/installation.html2023-04-05T09:39:57.000Zdailyhttps://docs.crawlab.cn/en/pro/license.html2022-10-12T03:18:36.000Zdailyhttps://docs.crawlab.cn/zh/develop/plugins/2021-11-11T04:17:23.000Zdailyhttps://docs.crawlab.cn/zh/guide/basic-tutorial/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/guide/cli/2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/guide/data-sources/2023-05-20T05:43:52.000Zdailyhttps://docs.crawlab.cn/zh/guide/deps/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/guide/installation/2022-05-22T13:29:50.000Zdailyhttps://docs.crawlab.cn/zh/guide/installation/direct-deploy.html2021-11-10T13:45:23.000Zdailyhttps://docs.crawlab.cn/zh/guide/installation/docker.html2023-04-05T09:39:57.000Zdailyhttps://docs.crawlab.cn/zh/guide/installation/kubernetes.html2021-11-10T13:02:22.000Zdailyhttps://docs.crawlab.cn/zh/guide/monitoring/2022-10-13T05:56:37.000Zdailyhttps://docs.crawlab.cn/zh/guide/node/2022-10-24T04:35:58.000Zdailyhttps://docs.crawlab.cn/zh/guide/notifications/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/guide/permissions/2022-10-13T05:56:37.000Zdailyhttps://docs.crawlab.cn/zh/guide/plugin/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/guide/plugin/plugin-dependency.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/guide/plugin/plugin-notification.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/guide/plugin/plugin-spider-assistant.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/guide/project/2022-05-21T07:28:12.000Zdailyhttps://docs.crawlab.cn/zh/guide/spider/2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/guide/spider/file-editor.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/guide/spider/integration.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/guide/schedule/2022-05-21T07:28:12.000Zdailyhttps://docs.crawlab.cn/zh/guide/token/2022-10-08T03:05:23.000Zdailyhttps://docs.crawlab.cn/zh/guide/task/2022-05-21T07:28:12.000Zdailyhttps://docs.crawlab.cn/zh/guide/user/2022-05-21T07:28:12.000Zdailyhttps://docs.crawlab.cn/zh/principle/core-modules/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/zh/principle/database/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/principle/database/mongodb.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/principle/architecture/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/principle/filesystem/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/principle/filesystem/seaweedfs.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/principle/frontend/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/en/develop/plugins/2021-11-13T10:46:48.000Zdailyhttps://docs.crawlab.cn/en/guide/basic-tutorial/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/principle/node/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/principle/node/master-node.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/principle/node/node-communication.html2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/principle/node/worker-node.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/en/guide/cli/2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/en/guide/data-sources/2023-05-20T05:43:52.000Zdailyhttps://docs.crawlab.cn/en/guide/monitoring/2022-10-13T05:56:37.000Zdailyhttps://docs.crawlab.cn/en/guide/deps/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/guide/installation/2022-05-22T13:29:50.000Zdailyhttps://docs.crawlab.cn/en/guide/installation/direct-deploy.html2021-11-13T10:46:48.000Zdailyhttps://docs.crawlab.cn/en/guide/installation/docker.html2023-04-05T09:39:57.000Zdailyhttps://docs.crawlab.cn/en/guide/installation/kubernetes.html2021-11-13T10:46:48.000Zdailyhttps://docs.crawlab.cn/en/guide/node/2022-10-24T04:35:58.000Zdailyhttps://docs.crawlab.cn/en/guide/project/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/guide/notifications/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/guide/permissions/2022-10-13T05:56:37.000Zdailyhttps://docs.crawlab.cn/en/guide/plugin/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/guide/plugin/plugin-dependency.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/guide/plugin/plugin-notification.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/guide/plugin/plugin-spider-assistant.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/guide/schedule/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/guide/token/2022-10-08T03:05:23.000Zdailyhttps://docs.crawlab.cn/en/guide/task/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/guide/user/2022-05-21T07:28:12.000Zdailyhttps://docs.crawlab.cn/en/guide/spider/2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/en/guide/spider/file-editor.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/en/guide/spider/integration.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/en/principle/database/2022-05-19T13:45:12.000Zdailyhttps://docs.crawlab.cn/en/principle/database/mongodb.html2022-05-19T13:45:12.000Zdailyhttps://docs.crawlab.cn/en/principle/filesystem/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/principle/filesystem/seaweedfs.html2022-05-19T13:45:12.000Zdailyhttps://docs.crawlab.cn/en/principle/architecture/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/principle/core-modules/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/en/principle/frontend/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/en/principle/node/2022-05-19T13:45:12.000Zdailyhttps://docs.crawlab.cn/en/principle/node/master-node.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/en/principle/node/node-communication.html2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/principle/node/worker-node.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/principle/core-modules/schedule/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/zh/principle/core-modules/spider/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/zh/principle/core-modules/task/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/en/principle/core-modules/schedule/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/en/principle/core-modules/spider/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/en/principle/core-modules/task/2022-04-23T09:39:50.000Zdaily \ No newline at end of file +https://docs.crawlab.cn/2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/en/2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/api/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/api/api-reference.html2023-06-18T14:17:20.000Zdailyhttps://docs.crawlab.cn/zh/develop/2021-11-14T10:35:32.000Zdailyhttps://docs.crawlab.cn/zh/develop/introduction.html2021-11-11T04:17:23.000Zdailyhttps://docs.crawlab.cn/zh/migration/2022-07-13T06:58:39.000Zdailyhttps://docs.crawlab.cn/zh/migration/v0.6.html2022-07-13T08:52:44.000Zdailyhttps://docs.crawlab.cn/zh/guide/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/guide/quick-start.html2022-06-01T09:52:00.000Zdailyhttps://docs.crawlab.cn/zh/principle/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/pro/2023-06-25T05:06:20.000Zdailyhttps://docs.crawlab.cn/zh/pro/installation.html2023-04-05T06:59:46.000Zdailyhttps://docs.crawlab.cn/zh/pro/license.html2022-10-13T05:56:37.000Zdailyhttps://docs.crawlab.cn/en/api/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/api/api-reference.html2023-06-18T14:17:20.000Zdailyhttps://docs.crawlab.cn/en/develop/2021-11-14T10:35:32.000Zdailyhttps://docs.crawlab.cn/en/develop/introduction.html2021-11-13T10:46:48.000Zdailyhttps://docs.crawlab.cn/en/guide/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/guide/quick-start.html2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/migration/2022-07-13T06:58:39.000Zdailyhttps://docs.crawlab.cn/en/migration/v0.6.html2022-07-13T08:52:44.000Zdailyhttps://docs.crawlab.cn/en/principle/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/pro/2023-06-25T05:06:20.000Zdailyhttps://docs.crawlab.cn/en/pro/installation.html2023-04-05T09:39:57.000Zdailyhttps://docs.crawlab.cn/en/pro/license.html2022-10-12T03:18:36.000Zdailyhttps://docs.crawlab.cn/zh/develop/plugins/2021-11-11T04:17:23.000Zdailyhttps://docs.crawlab.cn/zh/guide/basic-tutorial/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/guide/cli/2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/guide/data-sources/2023-05-20T05:43:52.000Zdailyhttps://docs.crawlab.cn/zh/guide/deps/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/guide/installation/2022-05-22T13:29:50.000Zdailyhttps://docs.crawlab.cn/zh/guide/installation/direct-deploy.html2021-11-10T13:45:23.000Zdailyhttps://docs.crawlab.cn/zh/guide/installation/docker.html2023-04-05T09:39:57.000Zdailyhttps://docs.crawlab.cn/zh/guide/installation/kubernetes.html2021-11-10T13:02:22.000Zdailyhttps://docs.crawlab.cn/zh/guide/monitoring/2022-10-13T05:56:37.000Zdailyhttps://docs.crawlab.cn/zh/guide/node/2022-10-24T04:35:58.000Zdailyhttps://docs.crawlab.cn/zh/guide/notifications/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/guide/permissions/2022-10-13T05:56:37.000Zdailyhttps://docs.crawlab.cn/zh/guide/plugin/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/guide/plugin/plugin-dependency.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/guide/plugin/plugin-notification.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/guide/plugin/plugin-spider-assistant.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/guide/project/2022-05-21T07:28:12.000Zdailyhttps://docs.crawlab.cn/zh/guide/schedule/2022-05-21T07:28:12.000Zdailyhttps://docs.crawlab.cn/zh/guide/spider/2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/guide/spider/file-editor.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/guide/spider/integration.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/guide/task/2022-05-21T07:28:12.000Zdailyhttps://docs.crawlab.cn/zh/guide/token/2022-10-08T03:05:23.000Zdailyhttps://docs.crawlab.cn/zh/guide/user/2022-05-21T07:28:12.000Zdailyhttps://docs.crawlab.cn/zh/principle/architecture/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/principle/core-modules/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/zh/principle/database/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/principle/database/mongodb.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/principle/filesystem/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/principle/filesystem/seaweedfs.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/principle/frontend/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/zh/principle/node/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/zh/principle/node/master-node.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/principle/node/node-communication.html2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/zh/principle/node/worker-node.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/en/develop/plugins/2021-11-13T10:46:48.000Zdailyhttps://docs.crawlab.cn/en/guide/cli/2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/en/guide/basic-tutorial/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/guide/data-sources/2023-05-20T05:43:52.000Zdailyhttps://docs.crawlab.cn/en/guide/deps/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/guide/monitoring/2022-10-13T05:56:37.000Zdailyhttps://docs.crawlab.cn/en/guide/installation/2022-05-22T13:29:50.000Zdailyhttps://docs.crawlab.cn/en/guide/installation/direct-deploy.html2021-11-13T10:46:48.000Zdailyhttps://docs.crawlab.cn/en/guide/installation/docker.html2023-04-05T09:39:57.000Zdailyhttps://docs.crawlab.cn/en/guide/installation/kubernetes.html2021-11-13T10:46:48.000Zdailyhttps://docs.crawlab.cn/en/guide/node/2022-10-24T04:35:58.000Zdailyhttps://docs.crawlab.cn/en/guide/notifications/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/guide/permissions/2022-10-13T05:56:37.000Zdailyhttps://docs.crawlab.cn/en/guide/plugin/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/guide/plugin/plugin-dependency.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/guide/plugin/plugin-notification.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/guide/plugin/plugin-spider-assistant.html2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/guide/project/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/guide/schedule/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/guide/spider/2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/en/guide/spider/file-editor.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/en/guide/spider/integration.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/en/guide/task/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/guide/token/2022-10-08T03:05:23.000Zdailyhttps://docs.crawlab.cn/en/guide/user/2022-05-21T07:28:12.000Zdailyhttps://docs.crawlab.cn/en/principle/architecture/2022-05-21T07:12:15.000Zdailyhttps://docs.crawlab.cn/en/principle/core-modules/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/en/principle/database/2022-05-19T13:45:12.000Zdailyhttps://docs.crawlab.cn/en/principle/database/mongodb.html2022-05-19T13:45:12.000Zdailyhttps://docs.crawlab.cn/en/principle/filesystem/2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/principle/filesystem/seaweedfs.html2022-05-19T13:45:12.000Zdailyhttps://docs.crawlab.cn/en/principle/frontend/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/en/principle/node/2022-05-19T13:45:12.000Zdailyhttps://docs.crawlab.cn/en/principle/node/master-node.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/en/principle/node/node-communication.html2022-10-22T04:42:19.000Zdailyhttps://docs.crawlab.cn/en/principle/node/worker-node.html2022-10-23T08:22:30.000Zdailyhttps://docs.crawlab.cn/zh/principle/core-modules/spider/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/zh/principle/core-modules/schedule/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/zh/principle/core-modules/task/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/en/principle/core-modules/spider/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/en/principle/core-modules/schedule/2022-04-23T09:39:50.000Zdailyhttps://docs.crawlab.cn/en/principle/core-modules/task/2022-04-23T09:39:50.000Zdaily \ No newline at end of file diff --git a/docs/.vuepress/dist/zh/api/api-reference.html b/docs/.vuepress/dist/zh/api/api-reference.html index 3ed4151..4bec30d 100644 --- a/docs/.vuepress/dist/zh/api/api-reference.html +++ b/docs/.vuepress/dist/zh/api/api-reference.html @@ -38,7 +38,7 @@ } - +


上次编辑于:
- + diff --git a/docs/.vuepress/dist/zh/api/index.html b/docs/.vuepress/dist/zh/api/index.html index af0c925..0fed317 100644 --- a/docs/.vuepress/dist/zh/api/index.html +++ b/docs/.vuepress/dist/zh/api/index.html @@ -38,7 +38,7 @@ } - +

介绍


介绍

Crawlab 用户和开发者可以通过提供开放的 API 来集成自己的数据到 Crawlab 平台。

请参考以下内容。

- + diff --git a/docs/.vuepress/dist/zh/develop/index.html b/docs/.vuepress/dist/zh/develop/index.html index 2b48752..893e935 100644 --- a/docs/.vuepress/dist/zh/develop/index.html +++ b/docs/.vuepress/dist/zh/develop/index.html @@ -38,7 +38,7 @@ } - +


- + diff --git a/docs/.vuepress/dist/zh/develop/introduction.html b/docs/.vuepress/dist/zh/develop/introduction.html index 891cb1c..df97120 100644 --- a/docs/.vuepress/dist/zh/develop/introduction.html +++ b/docs/.vuepress/dist/zh/develop/introduction.html @@ -38,7 +38,7 @@ } - +

介绍


介绍

🚧 Under construction

- + diff --git a/docs/.vuepress/dist/zh/develop/plugins/index.html b/docs/.vuepress/dist/zh/develop/plugins/index.html index d55bdff..454d2e9 100644 --- a/docs/.vuepress/dist/zh/develop/plugins/index.html +++ b/docs/.vuepress/dist/zh/develop/plugins/index.html @@ -38,7 +38,7 @@ } - +

开发插件


开发插件

🚧 Under construction

- + diff --git a/docs/.vuepress/dist/zh/guide/basic-tutorial/index.html b/docs/.vuepress/dist/zh/guide/basic-tutorial/index.html index 098d493..dc99d2d 100644 --- a/docs/.vuepress/dist/zh/guide/basic-tutorial/index.html +++ b/docs/.vuepress/dist/zh/guide/basic-tutorial/index.html @@ -38,7 +38,7 @@ } - +

快速教程


快速教程

您已经安装好了 Crawlab 并或许迫不及待的想开始使用它。但在此之前,建议您过一遍这篇快速教程。它将介绍一些基础知识,并让您熟悉 Crawlab 的部分主要功能。

介绍

本次教程中,我们将创建一个网络爬虫,以抓取 Zyteopen in new window (Scrapy 背后的公司) 提供的 模拟网站open in new window 上的名人名言。接着,我们将上传这个爬虫到 Crawlab,然后运行爬虫来抓取名人名言列表。最后,我们会在 Crawlab 中可视化的查看抓取到的数据。

我们将采用的框架是 Scrapyopen in new window。它是 Python 编写的最受欢迎的爬虫框架,使用起来非常方便,同时也具备很多强大的功能。

注意

我们假设您已经根据 快速开始 在本地安装好了 Crawlab。如果没有,请参考 快速开始 将其安装在您本地。

由于我们使用的是 Scrapy,请保证在进行任何操作前您已经安装了 Pythonopen in new window (>=3.6) 以及模块管理工具 pipopen in new window

创建爬虫

首先,我们将创建一个 Scrapy 项目,咱们从安装 Scrapy 开始。

pip install scrapy
@@ -90,6 +90,6 @@
   
 
- + diff --git a/docs/.vuepress/dist/zh/guide/cli/index.html b/docs/.vuepress/dist/zh/guide/cli/index.html index 758a4be..f1bdd4d 100644 --- a/docs/.vuepress/dist/zh/guide/cli/index.html +++ b/docs/.vuepress/dist/zh/guide/cli/index.html @@ -38,7 +38,7 @@ } - +

命令行工具 (CLI)


命令行工具 (CLI)

命令行工具允许用户轻松管理 Crawlab,以及执行常规操作,例如上传爬虫。它是基于 Python 编写的,很容易安装。

安装

Crawlab 命令行工具集成于 Crawlab SDKopen in new window 。 您可以执行以下命令来安装 Crawlab 命令行工具。

pip install crawlab-sdk
@@ -67,6 +67,6 @@
   
 
- + diff --git a/docs/.vuepress/dist/zh/guide/data-sources/index.html b/docs/.vuepress/dist/zh/guide/data-sources/index.html index 08e4f59..8b03fb5 100644 --- a/docs/.vuepress/dist/zh/guide/data-sources/index.html +++ b/docs/.vuepress/dist/zh/guide/data-sources/index.html @@ -38,7 +38,7 @@ } - +

数据源


数据源

Crawlab 专业版 支持数据源集成,这意味着您可以使用Crawlab 专业版管理您的数据源,例如 MongoDB、MySQL、PostgreSQL、SQL Server 等。

Crawlab 社区版open in new window仅支持将结果数据存储到默认的 MongoDB 中,该 MongoDB 存储了 Crawlab 的运行数据。

支持的数据源

类别数据源支持
非关系型MongoDBopen in new window
非关系型ElasticSearchopen in new window
关系型MySQLopen in new window
关系型PostgreSQLopen in new window
关系型SQL Serveropen in new window
关系型CockroachDBopen in new window
关系型Sqliteopen in new window
流处理Kafkaopen in new window

新建数据源

  1. 导航至 数据源 页面
    data-sources-menu
  2. 点击 新建数据源 按钮
    new-data-source-button
  3. 选择 类型 作为数据源类型,并输入 名称 以及连接信息
    mongo-form
  4. 点击 保存 按钮

使用数据源

  1. 导航至 爬虫详情 页面
  2. 数据源 中选择相应的数据源
    mongo-data-source
  3. 点击 保存 按钮
  4. 在保存结果数据的地方,添加相应的集成代码 (参考下面的 爬虫代码例子)
  5. 运行爬虫,您将能在 数据 标签中看到结果数据
    results

爬虫代码例子

通用 Python 爬虫

crawlab-sdkopen in new window 的方法 save_item 可被调用来保存数据到对应的数据源。


@@ -62,6 +62,6 @@
   
 
- + diff --git a/docs/.vuepress/dist/zh/guide/deps/index.html b/docs/.vuepress/dist/zh/guide/deps/index.html index 8b31ae5..f5fca45 100644 --- a/docs/.vuepress/dist/zh/guide/deps/index.html +++ b/docs/.vuepress/dist/zh/guide/deps/index.html @@ -38,7 +38,7 @@ } - +

依赖管理


依赖管理

Crawlab 允许用户为爬虫和任务安装和管理依赖。

页面菜单

展开左侧边栏上的 环境按钮 按钮,然后点击以下子菜单项。

menu.png

  • 设置: 全局依赖设置
  • Python: Python 依赖管理
  • Node.js: Node.js 依赖管理

安装依赖

  1. 导航到依赖管理页面 (Python/Node.js)
    deps-list.png
  2. 点击 可安装 按钮
    installable.png
  3. 输入搜索关键字并点击 搜索 按钮
    img.png
  4. 点击 安装 按钮
    install.png
  5. 选择 模式 (安装到哪些节点) 和 升级 (是否升级) 并点击 确认 按钮
    install-form.png

卸载依赖

  1. 导航到依赖管理页面 (Python/Node.js)
    deps-list.png
  2. 点击 卸载 按钮来卸载依赖
    uninstall.png
  3. 选择 模式 (卸载到哪些节点) 并点击 确认 按钮
    uninstall-form.png

设置

  1. 导航到设置页面
    settings-list.png
  2. 点击 配置 按钮
    edit.png
  3. 编辑配置信息并点击 确认 按钮
    settings.png

设置信息描述:

  • 命令: 安装或卸载依赖的执行命令, 例如 pip, /usr/local/bin/pip39, npm, yarn
  • 代理: 安装或卸载依赖的代理地址, 例如 https://registry.npm.taobao.org, https://pypi.tuna.tsinghua.edu.cn/simple

任务

  1. 导航到依赖管理页面 (Python/Node.js)
    deps-list.png
  2. 点击 任务 按钮
    task.png
  3. 您可以在任务列表中查看任务的执行状态
    tasks-list.png
  4. 点击 日志 按钮来查看任务的执行日志
    tasks-logs.png
  5. 您可以在任务日志中查看任务的执行日志
    tasks-logs-content.png
- + diff --git a/docs/.vuepress/dist/zh/guide/index.html b/docs/.vuepress/dist/zh/guide/index.html index 7861c92..212cdec 100644 --- a/docs/.vuepress/dist/zh/guide/index.html +++ b/docs/.vuepress/dist/zh/guide/index.html @@ -38,7 +38,7 @@ } - +

介绍


介绍

如果您已经了解 Crawlab 是什么,也知道它是做什么的,您可以直接到 快速开始安装 来安装和使用 Crawlab。

如果您对 Crawlab 不熟悉,请阅读以下章节以进一步了解 Crawlab。

什么是 Crawlab?

Crawlab 是强大的 网络爬虫管理平台(WCMP),它能够运行多种编程语言(包括 Python、Go、Node.js、Java、C#)或爬虫框架(包括 Scrapy、Colly、Selenium、Puppeteer)开发的网路爬虫。它能够用来运行、管理和监控网络爬虫,特别是对可溯性、可扩展性以及稳定性要求较高的生产环境。

背景和发展历史

Crawlab 项目自 2019 年 3 月开始一直在不断迭代,并且经历了多次大的更新。它最初是用来解决调度和运行大量爬虫时出现的管理问题。随着大量的优化和新功能加入,Crawlab 越来越受到开发者社区的欢迎,尤其是网路爬虫工程师。

更新日志open in new window

谁适合使用 Crawlab?

  • 网路爬虫工程师. 通过集成爬虫程序到 Crawlab,您可以聚焦于爬虫的核心解析逻辑,从而避免浪费过多时间在开发通用模块上,例如任务队列、存储、日志、消息通知等。
  • 运维工程师. Crawlab 对于运维工程师来说最大的好处是部署便利(对于爬虫程序和 Crawlab 本身)。Crawlab 支持 Docker 或 Kubernetes 一键安装。
  • 数据分析师. 数据分析师如果能写代码(例如 Python),则可以开发爬虫程序(例如 Scrapy)然后上传到 Crawlab,然后就可以把所有脏活累活交给 Crawlab,它能够自动帮您抓取数据。
  • 其他. 准确的说,任何人都能够享受 Crawlab 自动化带来的便利。虽然 Crawlab 尤其擅长执行网络爬虫任务,但它不仅限于此,它能够被用来运行其他类型的任务,例如数据处理和自动化。

主要功能

类别功能描述
节点节点管理注册、管理、监控分布式系统中多个节点
爬虫爬虫部署自动部署爬虫到多节点,自动同步脚本或程序等爬虫文件
爬虫代码修改实时在线更新和编辑脚本代码
爬虫统计数据爬虫运行统计数据,例如平均运行时长以及结果数量
框架集成基础爬虫框架,例如 Scrapy
数据存储集成自动保存结果数据到数据库,不需要额外配置
Git 集成通过内置或外部远程 Git 仓库进行版本管理
任务任务调度派发调度爬虫任务到分布式系统中多个节点
任务日志自动保存任务日志,可以在前端 UI 界面被查看
任务数据统计可视化展示任务数据,例如任务结果数量和运行时长
用户用户管理创建、更新、删除用户账号
其他依赖管理搜索和安装依赖,例如 Python、Node.js 的依赖包
消息通知当任务触发或结束时,自动发送邮件或移动端消息通知
- + diff --git a/docs/.vuepress/dist/zh/guide/installation/direct-deploy.html b/docs/.vuepress/dist/zh/guide/installation/direct-deploy.html index e89370b..46eb53b 100644 --- a/docs/.vuepress/dist/zh/guide/installation/direct-deploy.html +++ b/docs/.vuepress/dist/zh/guide/installation/direct-deploy.html @@ -38,7 +38,7 @@ } - +

直接部署


直接部署

🚧 Under construction...

- + diff --git a/docs/.vuepress/dist/zh/guide/installation/docker.html b/docs/.vuepress/dist/zh/guide/installation/docker.html index 8919bcb..dc134dc 100644 --- a/docs/.vuepress/dist/zh/guide/installation/docker.html +++ b/docs/.vuepress/dist/zh/guide/installation/docker.html @@ -38,7 +38,7 @@ } - +

安装: Docker


安装: Docker

Docker 是安装部署 Crawlab 最便捷的方式。如果您不熟悉 Docker,您可以参考 Docker 官网open in new window 并将其安装在本地。在进行任何操作前,请先保证您已安装好了 Docker。

主流程

Docker 部署有多种模式,不过其主流程是相似的。

  1. 安装 Dockeropen in new windowDocker-Composeopen in new window
  2. 拉取 Crawlab Docker 镜像(如果没有 MongoDB,也需要拉取)
  3. 创建 docker-compose.yml 并进行配置
  4. 启动 Docker 容器

注意

在接下来的指南中,我们假设您已经安装了 Docker 和 Docker-Compose,并已经拉取了相应的 Docker 镜像。

单节点部署

单节点部署(SND)快速开始 中的配置类似,它通常用作演示或少量爬虫管理。在 SND 中,所有 Docker 容器 ( 包括 Crawlab 和 MongoDB) 都在单独一台机器上,即主节点(如上图)。

创建 docker-compose.yml 并输入如下内容。

version: '3.3'
@@ -156,6 +156,6 @@
   
 
- + diff --git a/docs/.vuepress/dist/zh/guide/installation/index.html b/docs/.vuepress/dist/zh/guide/installation/index.html index b86cd01..410b679 100644 --- a/docs/.vuepress/dist/zh/guide/installation/index.html +++ b/docs/.vuepress/dist/zh/guide/installation/index.html @@ -38,7 +38,7 @@ } - +

安装


安装

安装 Crawlab 的方式有多种,您可以参考下面的汇总表,选择最适合您的方式。

安装方式推荐环境推荐用户
Docker演示 / 生产 (节点数不大于 10)
  1. 小型集群需求
  2. 熟悉 Docker
  3. 要求最少量的维护
Kubernetes (待更新)生产 (节点数大于 10)
  1. 中大型集群需求
  2. 可扩展性是重要因素
  3. 熟悉 Kubernetes 或编排技术
  4. 拥有专业的运维资源
直接部署 (待更新)演示 / 实验
  1. 自定义开发需求
  2. 熟悉 Vue.js 和 Go
  3. 愿意操作源码
- + diff --git a/docs/.vuepress/dist/zh/guide/installation/kubernetes.html b/docs/.vuepress/dist/zh/guide/installation/kubernetes.html index e0d03ad..4dd586f 100644 --- a/docs/.vuepress/dist/zh/guide/installation/kubernetes.html +++ b/docs/.vuepress/dist/zh/guide/installation/kubernetes.html @@ -38,7 +38,7 @@ } - +

Kubernetes


Kubernetes

🚧 Under construction...

- + diff --git a/docs/.vuepress/dist/zh/guide/monitoring/index.html b/docs/.vuepress/dist/zh/guide/monitoring/index.html index fbd5f54..3c33d64 100644 --- a/docs/.vuepress/dist/zh/guide/monitoring/index.html +++ b/docs/.vuepress/dist/zh/guide/monitoring/index.html @@ -38,7 +38,7 @@ } - +

监控指标


监控指标

注意

该功能仅适用于 Crawlab 专业版

Crawlab 专业版 支持性能监控,这意味着您可以使用 Crawlab 专业版监控节点的性能。

性能指标概览

  1. 进入 指标 页面
    metrics-menu
  2. 您可以看到所有节点的性能指标快照
    metrics-overview

性能指标详情

  1. 通过点击 指标 页面中的 查看 按钮进入 指标详情 页面
    view-button
  2. 您可以看到所选节点的性能指标
    metrics-detail
  3. 您可以通过选择 指标来源 下拉菜单来切换指标来源
    metrics-source
  4. 您可以通过选择 时间范围 下拉菜单来选择时间范围
    time-range
    时间单位
    time-unit
  5. 您可以通过勾选左侧面板中的指标来显示/隐藏右侧面板中的指标
    metrics-panel
- + diff --git a/docs/.vuepress/dist/zh/guide/node/index.html b/docs/.vuepress/dist/zh/guide/node/index.html index dc42725..b738260 100644 --- a/docs/.vuepress/dist/zh/guide/node/index.html +++ b/docs/.vuepress/dist/zh/guide/node/index.html @@ -38,7 +38,7 @@ } - +

节点


节点

节点其实就是一个 Crawlab 实例,用于运行 任务 以及提供其他功能。基本上您可以将一个节点当作一台服务器。

有两类节点,它们分别提供不同的功能。

  1. 主节点
  2. 工作节点

注意

您当然可以在一台服务器上搭建多个 Crawlab 实例(节点)。但那样做是 不推荐的,因为服务器上运行单实例(节点)通常已经足够了。

主节点

主节点是 Crawlab 中分布式系统的中控模块,相当于人体中的大脑。主节点分配 任务工作节点 或它自己,并且管理它们。同时,主节点部署和分发 爬虫 文件至其他节点。另外,它还为前端应用提供 API,并处理节点间的通信。

注意

在 Crawlab 中只有 一个 主节点。

工作节点

工作节点是一个 Crawlab 实例,专门用于运行抓取 任务。通常,一个节点或服务器受限于计算能力和资源(包括 CPU、内存、网络 IO)。因此,我们可以通过调整工作节点的数量来对数据采集吞吐量进行扩容,以提高分布式系统的整体数据抓取能力。

提示

在 Crawlab 中可以不用工作节点(单节点部署 SND),或有多个工作节点(多节点部署 MND)。

网络拓扑

查看节点状态

Nodes 页面,您可以查看节点状态,看看在线与否。

启用/禁用

您可以启用或禁用节点来控制它是否能运行爬虫任务。您可以在 Nodes 页面或详情页中点击 Enabled 属性中的切换按钮来控制。

设置最大执行器数量

一个节点能够在同一个时间运行多个任务。并发任务数量由节点的 Max Runners 控制,它能够在节点详情页里配置。

设置基础信息

诸如节点名称、IP 地址、MAC 地址等基础信息都可以在节点详情页中设置。

添加节点

您可以参考 Docker 安装中多节点部署章节的 搭建工作节点 来添加新节点。

- + diff --git a/docs/.vuepress/dist/zh/guide/notifications/index.html b/docs/.vuepress/dist/zh/guide/notifications/index.html index a4eeee8..6c87632 100644 --- a/docs/.vuepress/dist/zh/guide/notifications/index.html +++ b/docs/.vuepress/dist/zh/guide/notifications/index.html @@ -38,7 +38,7 @@ } - +

消息通知


消息通知

Crawlab 允许用户接收邮件或手机消息通知。

邮件

  1. 导航到 消息通知 页面
    notifications-menu.png
  2. 点击 邮件 类型的消息通知配置
  3. 填写配置表单
    email-config.png
  4. 点击 保存 按钮

SMTP 配置:

  • SMTP Server: SMTP 服务器地址
  • SMTP Port: SMTP 服务器端口
  • SMTP User: SMTP 服务器用户名
  • SMTP Password: SMTP 服务器密码
  • Sender Email: SMTP 服务器发送者邮箱
  • Sender Identity: SMTP 服务器发送者身份
  • To: 接收者邮箱
  • CC: 抄送邮箱

移动端

  1. 导航到 消息通知 页面
    notifications-menu.png
  2. 点击 移动端 类型的消息通知配置
  3. 填写配置表单
    mobile-config.png
  4. 点击 保存 按钮

提示

请参考相关文档了解如何获取 webhook token。

模板

  1. 导航到 消息通知 页面
    notifications-menu.png
  2. 点击任意类型的消息通知配置
  3. 点击 模板 标签
    template.png

提示

如果想了解模板语法和变量,请参考 template-parseropen in new window

- + diff --git a/docs/.vuepress/dist/zh/guide/permissions/index.html b/docs/.vuepress/dist/zh/guide/permissions/index.html index 86fa064..f3ea32a 100644 --- a/docs/.vuepress/dist/zh/guide/permissions/index.html +++ b/docs/.vuepress/dist/zh/guide/permissions/index.html @@ -38,7 +38,7 @@ } - +

权限管理


权限管理

注意

该功能仅适用于 Crawlab 专业版

Crawlab 专业版 支持基于 RBACopen in new window 的权限管理,这意味着您可以使用 Crawlab 专业版通过 角色 来管理您的 用户权限

权限

Crawlab 专业版中的权限是用户访问控制的基本单位。

权限类型

Crawlab 专业版中的权限分为以下几种类型:

  • 操作权限:用户可以执行的操作,例如 查看编辑删除
  • 页面权限:用户可以访问的页面,例如 爬虫管理任务管理
  • 数据权限:用户可以访问的数据,例如 某用户自己的 爬虫任务

权限字段

Crawlab 专业版中的权限包含以下字段:

  • 类型:权限类型,例如 操作权限页面权限数据权限
  • 目标:作用于目标的权限的正则表达式,例如 ^/spider$^/task$
  • 允许: 允许范围的正则表达式
  • 拒绝: 拒绝范围的正则表达式

创建权限

  1. 点击侧边栏的 权限管理,进入权限管理页面
    permissions-menu
  2. 点击 新建权限 按钮,进入创建权限页面
    permissions-create
  3. 填写权限信息,点击 确认 按钮,即可创建权限
    permissions-create-form

删除权限

  1. 点击侧边栏的 权限管理,进入权限管理页面
    permissions-menu
  2. 点击 删除 按钮,即可删除权限
    permissions-delete

角色

Crawlab 专业版中的角色可以被管理用户定义。角色是权限的集合,用户可以通过角色来管理权限。

创建角色

  1. 点击侧边栏的 角色管理,进入角色管理页面
    roles-menu
  2. 点击 新建角色 按钮,进入创建角色页面
    roles-create
  3. 填写角色信息,点击 确认 按钮,即可创建角色
    roles-create-form

删除角色

  1. 点击侧边栏的 角色管理,进入角色管理页面
    roles-menu
  2. 点击 删除 按钮,即可删除角色
    roles-delete

角色权限关联

  1. 点击侧边栏的 角色管理,进入角色管理页面
    roles-menu
  2. 点击 关联权限 按钮
    view-permissions-button
  3. 在弹出的对话框中,勾选需要关联的权限,点击 确认 按钮,即可关联或取消关联权限
    roles-permissions

角色用户关联

  1. 点击侧边栏的 角色管理,进入角色管理页面
    roles-menu
  2. 点击 关联用户 按钮
    view-users-button
  3. 在弹出的对话框中,勾选需要关联的用户,点击 确认 按钮,即可关联或取消关联用户
    roles-users
- + diff --git a/docs/.vuepress/dist/zh/guide/plugin/index.html b/docs/.vuepress/dist/zh/guide/plugin/index.html index 4b88a9b..91d84de 100644 --- a/docs/.vuepress/dist/zh/guide/plugin/index.html +++ b/docs/.vuepress/dist/zh/guide/plugin/index.html @@ -38,7 +38,7 @@ } - +

插件


插件

插件 是可以延伸既定功能的扩展。在 Crawlab 中,用户可以使用 插件框架 来自定义爬虫管理平台。

为什么用插件

为什么我们不直接捣鼓一下 Crawlab 源代码来满足自定义需求?其原因是需要考虑 可维护性。当您修改 Crawlab 的核心模块时,可能会产生项目维护方面的风险,因为一旦将来有版本升级,您的自定义功能很可能会遭到破坏。

一个良好设计的插件很少会跟 Crawlab 紧耦合,因此 Crawlab 的版本升级更新将不容易对插件造成严重影响。插件是可插拔的,并且能很容易被安装或卸载。

插件框架

插件框架 是内置在 Crawlab 里的,它用于管理官方和第三方插件。Crawlab 用户能够基于 Crawlab 插件框架 (CPF) 来开发插件。

官方插件

Crawlab 开发团队open in new window 开发了一些公开的官方插件,并在提供长期维护。官方 Crawlab 插件在 Crawlab 开发团队 GitHub 仓库open in new window,每一个仓库都带有前缀 plugin-

名称描述仓库链接
public-notification发送消息提醒,例如邮件通知、手机推送链接open in new window
public-dependency安装依赖并管理依赖和运行环境链接open in new window
public-spider-assistant提供高级网络爬虫功能,包括框架支持,例如 Scrapy 等链接open in new window

安装插件

提示

插件安装完成之后,您需要在浏览器中刷新页面来显示插件的 UI 组件。

在 Crawlab 中有多种安装插件的方式。

通过名称安装

您可以通过在 安装插件 对话框中输入插件名称来安装 官方插件

  1. 导航至 插件 页面
  2. 选择 公共
  3. 在您想要安装的插件上点击 安装 按钮

通过 Git 安装

如果您知道 Crawlab 插件的 Git URL,您可以通过它来安装插件。

  1. 导航至 插件 页面
  2. 选择 Git
  3. 安装 URL 字段中输入插件 URL
  4. 点击 确定.

通过本地安装

注意

这个方式仅适合用源码开发 Crawlab 时使用。

  1. 导航至 插件 页面
  2. 选择 本地
  3. 安装路径 字段中输入插件 URL
  4. 点击 确定.

安装源

注意

安装源 仅对官方插件生效。

默认的官方插件安装源是 GitHub。但是 GitHub 不总是最佳安装源。例如,如果您所在地是中国大陆,连接到 GitHub 可能会有些慢。这时您可以选择 安装源Gitee 来大幅加速官方插件的安装。

卸载插件

您可以在 插件 页面里点击右侧的 删除 按钮来卸载插件。

启动/停止

您可以在 插件 页面里点击右侧的 启动停止 按钮来启动或停止插件。

- + diff --git a/docs/.vuepress/dist/zh/guide/plugin/plugin-dependency.html b/docs/.vuepress/dist/zh/guide/plugin/plugin-dependency.html index 92a2150..3370126 100644 --- a/docs/.vuepress/dist/zh/guide/plugin/plugin-dependency.html +++ b/docs/.vuepress/dist/zh/guide/plugin/plugin-dependency.html @@ -38,7 +38,7 @@ } - +

依赖管理插件 (plugin-dependency)


依赖管理插件 (plugin-dependency)

plugin-dependencyopen in new window 是 Crawlab 中能够管理依赖的插件。例如,您的 Python 爬虫可能会需要 Crawlab 中预装插件之外的插件,例如 selenium 或 sqlalchemy。利用 plugin-dependency,您可以在 Crawlab 界面中轻松安装和管理依赖和库。

可用的依赖框架

  • Python
  • Node.js

搜索安装依赖

您可以在 Crawlab 界面中利用 plugin-dependency 搜索并安装依赖,跟在受欢迎的 IDEs 中一样,例如 JetBrains IDEA 和 VS Code。

  1. 导航值依赖框架页面,例如 Python
  2. 点击 可安装 按钮
  3. 在上左侧的搜索栏中输入查找关键词
  4. 点击搜索图标按钮
  5. 点击右侧的 安装 按钮,安装您要安装的依赖

卸载依赖

我们也可以卸载依赖。

  1. 导航值依赖框架页面,例如 Python
  2. 点击 已安装 按钮
  3. 在上左侧的搜索栏中输入查找关键词
  4. 点击搜索图标按钮
  5. 点击右侧的 卸载 按钮,安装您要卸载的依赖

查看任务

您可能想查看您的安装或卸载是否成功,这可以通过如下步骤实现。

  1. 导航值插件框架页面,例如 Python
  2. 点击 任务 按钮
  3. 您可以通过点击 日志 按钮来查看每个任务的日志
- + diff --git a/docs/.vuepress/dist/zh/guide/plugin/plugin-notification.html b/docs/.vuepress/dist/zh/guide/plugin/plugin-notification.html index 1a3ec3e..1a5c7ef 100644 --- a/docs/.vuepress/dist/zh/guide/plugin/plugin-notification.html +++ b/docs/.vuepress/dist/zh/guide/plugin/plugin-notification.html @@ -38,7 +38,7 @@ } - +

消息通知插件 (plugin-notification)


消息通知插件 (plugin-notification)

plugin-notificationopen in new window 是一个 Crawlab 插件,它允许用户用电子邮箱或移动应用 (例如,微信、钉钉) 收发 Crawlab 消息通知。

消息通知类别

plugin-notification 有 2 种消息通知类别:

  • 邮箱: 通过电子邮箱发送消息通知
  • 移动端: 通过移动端 webhooks 发送消息通知

触发

plugin-notification 允许用户配置触发来控制发送消息通知的时机。

您可以通过如下步骤来配置触发:

  1. 导航至 消息通知 页面
  2. 点击名称或左侧 查看 按钮导航至消息通知详情页面
  3. 点击 触发 标签
  4. 选择发送消息通知的触发

模版

plugin-notification 允许用户自定义消息通知内容。

您可以通过如下步骤来自定义消息通知内容:

  1. 导航至 消息通知 页面
  2. 点击名称或左侧 查看 按钮导航至消息通知详情页面
  3. 点击 模版 标签
  4. 编辑模版
- + diff --git a/docs/.vuepress/dist/zh/guide/plugin/plugin-spider-assistant.html b/docs/.vuepress/dist/zh/guide/plugin/plugin-spider-assistant.html index e41f124..c0e6297 100644 --- a/docs/.vuepress/dist/zh/guide/plugin/plugin-spider-assistant.html +++ b/docs/.vuepress/dist/zh/guide/plugin/plugin-spider-assistant.html @@ -38,7 +38,7 @@ } - +

爬虫助手插件 (plugin-spider-assistant)


爬虫助手插件 (plugin-spider-assistant)

plugin-spider-assistantopen in new window 是一个 Crawlab 插件,提供爬虫管理辅助支持。它允许用户查看并管理各种爬虫框架。

爬虫框架

名称语言查看管理
Scrapyopen in new windowPython
Collyopen in new windowGo
WebMagicopen in new windowJava
DotnetSpideropen in new windowC#

如何使用

  1. 导航至爬虫详情页
  2. 点击 助手 按钮
  3. 您现在应该能看到检测到的爬虫框架信息
- + diff --git a/docs/.vuepress/dist/zh/guide/project/index.html b/docs/.vuepress/dist/zh/guide/project/index.html index 1f601c7..85c11a5 100644 --- a/docs/.vuepress/dist/zh/guide/project/index.html +++ b/docs/.vuepress/dist/zh/guide/project/index.html @@ -38,7 +38,7 @@ } - +

项目


项目

项目是通常是一组紧密相关或抓取同类网站数据的 爬虫。因此,您可以将项目作为给爬虫分组的方式。通过这种方式,爬虫能够被更好的管理。

项目跟 爬虫 是一对多的关系。

关联爬虫

您可以将一个爬虫与一个项目进行关联,通过

  1. 在爬虫详情页 项目 字段中选择项目,或
  2. 在创建新爬虫对话框中的 项目 字段中选择项目

查看爬虫

在项目详情页中导航到 爬虫 标签。

- + diff --git a/docs/.vuepress/dist/zh/guide/quick-start.html b/docs/.vuepress/dist/zh/guide/quick-start.html index 75e16f9..cdf8ed9 100644 --- a/docs/.vuepress/dist/zh/guide/quick-start.html +++ b/docs/.vuepress/dist/zh/guide/quick-start.html @@ -38,7 +38,7 @@ } - +

快速开始


快速开始

最快安装 Crawlab 的方式是 Docker。如果您对 Docker 不熟悉,您可以参考 Docker 官网open in new window ,并将其安装在您本地.

拉取镜像

保证您已经安装好 Docker,并能够拉取 Crawlab 和 MongoDB 的镜像。

docker pull crawlabteam/crawlab
@@ -70,6 +70,6 @@
   
 
- + diff --git a/docs/.vuepress/dist/zh/guide/schedule/index.html b/docs/.vuepress/dist/zh/guide/schedule/index.html index c1a9506..4a69121 100644 --- a/docs/.vuepress/dist/zh/guide/schedule/index.html +++ b/docs/.vuepress/dist/zh/guide/schedule/index.html @@ -38,7 +38,7 @@ } - +

定时任务


定时任务

很多时候,我们会需要周期性的运行 爬虫任务,而您需要的是定时任务。

在 Crawlab 中,定时任务 这个概念跟 Linux 中的 crontabopen in new window 类似。它是一个长期存在的作业,能够周期性的运行爬虫任务。

提示

如果您希望配置一个每天/周/月自动运行抓取任务的网络爬虫,您应该设置一个 定时任务。定时任务是自动化的首选,尤其是对于增量抓取的爬虫。

创建定时任务

  1. 导航至 定时任务列表 页面
  2. 点击左上方的 新建定时任务 按钮
  3. 输入基础信息,包括 名称Cron 表达式open in new window爬虫
  4. 点击 确认

创建好的定时任务默认是启用的,它应该能够在 cron 表达式对应的时刻触发 任务

提示

您可以通过设置 Cron 表达式* * * * *(每分钟运行一次)来调试定时任务模块是否正常工作,即查看每分钟开始时是否有任务触发。

启用/禁用

您可以启用或禁用节点来控制它是否能运行爬虫任务。您可以在 定时任务列表 页面或详情页中点击 是否启用 属性中的切换按钮来控制。

Cron 表达式

Cron 表达式 描述周期性的简单标准格式。它跟 Linux 的 crontab 是同一格式。

*    *    *   *    *  Command_to_execute
@@ -63,6 +63,6 @@
   
 
- + diff --git a/docs/.vuepress/dist/zh/guide/spider/file-editor.html b/docs/.vuepress/dist/zh/guide/spider/file-editor.html index 1f4a0b2..822b4f6 100644 --- a/docs/.vuepress/dist/zh/guide/spider/file-editor.html +++ b/docs/.vuepress/dist/zh/guide/spider/file-editor.html @@ -38,7 +38,7 @@ } - +

文件编辑


文件编辑

Crawlab 允许用户在浏览器中编辑文件。这对于编辑爬虫中的 settings.pyitems.py 文件非常有用。

打开文件

  1. 导航到爬虫详情页面的 Files 标签。
    files-tab
  2. 双击要编辑的文件。
    files-sidebar
  3. 文件应该在编辑器中打开。
    file-editor

编辑文件

  1. 修改文件。

保存文件

  1. Ctrl + S 或点击导航栏中的 保存 按钮保存文件。
    save-btn

移动文件

  1. 拖放文件到要移动到的文件夹。

重命名文件

  1. 右键单击文件并选择 重命名
    rename

复制文件

  1. 右键单击文件并选择 复制
    duplicate

删除文件

  1. 点击右键菜单中的 删除
    delete-file
- + diff --git a/docs/.vuepress/dist/zh/guide/spider/index.html b/docs/.vuepress/dist/zh/guide/spider/index.html index 41d0c9f..3bfd090 100644 --- a/docs/.vuepress/dist/zh/guide/spider/index.html +++ b/docs/.vuepress/dist/zh/guide/spider/index.html @@ -38,7 +38,7 @@ } - +

爬虫


爬虫

在 Crawlab 中,爬虫是网络爬虫程序的基本单位。您可以将其看作一个爬虫软件项目,它由代码文件组成,例如 Scrapy 项目。请注意,这里提到的 项目 与 Crawlab 中的基础概念 项目 是不同的。

注意

爬虫 这个概念在 Crawlab 非常重要,因此我们强烈推荐您仔细阅读这一章节。

典型流程

以下是用户在 Crawlab 操作爬虫的典型流程。

创建爬虫

  1. 导航到 Spiders 页面,再点击左上方的 New Spider 按钮
  2. 输入 NameCommand 等相关信息
  3. 点击 Confirm

上传爬虫

有几种上传爬虫文件的方式。

上传目录

  1. 导航到爬虫详情页
  2. 点击 文件 标签
  3. 点击导航条上的 上传文件 按钮
  4. 选择 目录
  5. 点击 点击选择目录上传
  6. 选择爬虫文件所在目录
  7. 点击 确认

上传文件

  1. 导航到爬虫详情页
  2. 点击 文件 标签
  3. 点击导航条上的 上传文件 按钮
  4. 选择 文件
  5. 拖拽爬虫文件到放置区,或直接点击放置区并选择爬虫文件
  6. 点击 确认

上传文件 (拖拽)

  1. 导航到爬虫详情页
  2. 点击 文件 标签
  3. 拖拽爬虫文件或目录到左侧导航栏的目录里

运行爬虫

您可以根据以下步骤来运行爬虫

  1. 如果您在爬虫详情页,点击导航条上名为 运行 的播放按钮
  2. 如果您在 爬虫列表 页面,点击右侧名为 运行 的播放按钮
  3. 选择合适的爬虫运行设置
  4. 点击 确认

之类是爬虫运行设置的解释。

  • 执行命令: 将被实际运行的 cmd/bash/shell 基础命令
  • 执行参数: 被传入 执行命令 的参数
  • 模式: 运行模式,默认为 随机节点.
  • 优先级: 任务优先级,默认为 5

实体关系

- + diff --git a/docs/.vuepress/dist/zh/guide/spider/integration.html b/docs/.vuepress/dist/zh/guide/spider/integration.html index c703b0d..e3e8ea7 100644 --- a/docs/.vuepress/dist/zh/guide/spider/integration.html +++ b/docs/.vuepress/dist/zh/guide/spider/integration.html @@ -38,7 +38,7 @@ } - +

爬虫集成


爬虫集成

您可以通过 Crawlab SDK 集成您的爬虫。这允许您在 Crawlab 上以可视化的方式查看爬取的结果。

Crawlab SDK 支持各种爬虫框架的集成,包括 Scrapy,以及各种编程语言,包括 Python,Node.js,Go。

NOTE

默认情况下,Crawlab SDK 已经安装在 Crawlab 的基础镜像中。如果您没有使用 Crawlab Docker 镜像,您也可以手动安装。

Scrapy

  1. 确保您已经在 Crawlab 上创建了 Scrapy 爬虫。
  2. settings.py 文件中,将 crawlab.CrawlabPipeline 添加到 Item_PIPELINES 中。
    ITEM_PIPELINES = {
    @@ -64,6 +64,6 @@
       
     
- + diff --git a/docs/.vuepress/dist/zh/guide/task/index.html b/docs/.vuepress/dist/zh/guide/task/index.html index c36b07f..5d30e55 100644 --- a/docs/.vuepress/dist/zh/guide/task/index.html +++ b/docs/.vuepress/dist/zh/guide/task/index.html @@ -38,7 +38,7 @@ } - +

任务


任务

任务是 爬虫 触发的进程,能够抓取网站数据、进行特殊操作、提供其他一些功能。它是运行爬虫进程的基本单位。

在 Crawlab 中,您不仅可以一键运行任务,还可以可视化的查看统计数据、实时日志、已抓取数据等任务信息。此外,您还可以设置 Priority 来决定任务的执行顺序。

运行任务

您可以 通过爬虫运行任务,或执行下面的步骤。

  1. 导航至 任务列表 页面
  2. 点击左上方的 新建任务 按钮
  3. 选择 爬虫 及其他信息
  4. 点击 确认

重新运行任务

  1. 导航至 任务列表 页面
  2. 点击右侧的 重新运行 按钮

监控任务

Crawlab 提供任务监控功能,让您能够紧密观察抓取结果数据以及爬虫抓取效率。

查看日志

您可以在 Crawlab 中查看实时日志。

  1. 导航至任务详情页
  2. 点击 日志 标签

查看数据

您可以实时查看已抓取数据

  1. 导航至任务详情页
  2. 点击 数据 标签

取消任务

如果任务是 待运行运行中 状态,您可以取消它,通过

  1. 任务列表 页面中点击右侧的 取消,或
  2. 在任务详情页点击导航条上的 取消 按钮
- + diff --git a/docs/.vuepress/dist/zh/guide/token/index.html b/docs/.vuepress/dist/zh/guide/token/index.html index f60e548..93a9bc9 100644 --- a/docs/.vuepress/dist/zh/guide/token/index.html +++ b/docs/.vuepress/dist/zh/guide/token/index.html @@ -38,7 +38,7 @@ } - +


- + diff --git a/docs/.vuepress/dist/zh/guide/user/index.html b/docs/.vuepress/dist/zh/guide/user/index.html index 6b291bc..f8c076e 100644 --- a/docs/.vuepress/dist/zh/guide/user/index.html +++ b/docs/.vuepress/dist/zh/guide/user/index.html @@ -38,7 +38,7 @@ } - +

用户


用户

Crawlab 中的用户等同于大多数管理系统中的用户账户。用户账户能被创建、更新、删除。

管理用户

默认情况下,一个 管理账户 将在 Crawlab 初始化时被创建。以下是它默认用户名密码。

  • 用户名: admin
  • 密码: admin

创建用户

  1. 导航到 用户列表 页面,再点击左上方的 新建用户 按钮
  2. 输入 用户名密码 等相关信息
  3. 点击 确认

更改用户密码

  1. 导航到用户详情页
  2. 点击 更改密码 按钮
  3. 输入新密码并点击确认
- + diff --git a/docs/.vuepress/dist/zh/index.html b/docs/.vuepress/dist/zh/index.html index cd22baa..f2703ae 100644 --- a/docs/.vuepress/dist/zh/index.html +++ b/docs/.vuepress/dist/zh/index.html @@ -5,7 +5,7 @@ - - +

Hello

Documentation for distributed web crawler management platform

- + diff --git a/docs/.vuepress/dist/zh/migration/index.html b/docs/.vuepress/dist/zh/migration/index.html index 3ce0be3..6a82912 100644 --- a/docs/.vuepress/dist/zh/migration/index.html +++ b/docs/.vuepress/dist/zh/migration/index.html @@ -38,7 +38,7 @@ } - +

版本升级迁移


版本升级迁移

Crawlab 从发布至今,有多次大版本更新,由于底层原理变化较大,各个版本不能完全兼容。因此,如果您希望从旧版本迁移到新版本,请参考下列对应的升级迁移指南。

v0.6

Crawlab v0.6 是一个重大版本更新,在稳定性、可扩展性、功能性方面有大量优化提升。如果需要升级,请参考 v0.6 升级指南

v0.5

Crawlab v0.5 是第一个稳定版本,详情请参考 v0.5 文档open in new window

各版本功能对比

功能v0.6v0.5
节点管理
爬虫部署
爬虫代码修改
爬虫统计数据
框架集成
数据存储集成
Git 集成
任务调度
任务日志
任务数据统计
定时任务
用户管理
依赖管理
消息通知
API
CLI
SDK
自定义插件
可配置爬虫❌ (暂时)
- + diff --git a/docs/.vuepress/dist/zh/migration/v0.6.html b/docs/.vuepress/dist/zh/migration/v0.6.html index 3216ca7..67e7d95 100644 --- a/docs/.vuepress/dist/zh/migration/v0.6.html +++ b/docs/.vuepress/dist/zh/migration/v0.6.html @@ -38,7 +38,7 @@ } - +

从旧版本升级到 v0.6.x


从旧版本升级到 v0.6.x

从 v0.5.x 版本

如果您已经部署了 Crawlab v0.5.x 并且已经在生产环境中运行爬虫,您可以根据以下步骤进行升级。

  1. 安装最新 crawlab-sdkopen in new window
  2. 执行如下命令迁移您的爬虫数据至 v0.6.x
    crawlab migrate \
    @@ -59,6 +59,6 @@
       
     
- + diff --git a/docs/.vuepress/dist/zh/principle/architecture/index.html b/docs/.vuepress/dist/zh/principle/architecture/index.html index a9be6dd..8f4b63c 100644 --- a/docs/.vuepress/dist/zh/principle/architecture/index.html +++ b/docs/.vuepress/dist/zh/principle/architecture/index.html @@ -38,7 +38,7 @@ } - +

架构


架构

以下是 Crawlab 的架构图。

Architecture

作为分布式系统,Crawlab 由几个模块组成,其中包括 主节点工作节点数据库文件系统 以及 前端。每个模块(目前除了节点)都具有可扩展性, 因此整个分布式系统能够被灵活扩展以支持高性能需求。

例如,爬虫抓取任务被分配到工作节点集群,然后工作节点集群可以根据资源需求的变化来调整节点数量。

- + diff --git a/docs/.vuepress/dist/zh/principle/core-modules/index.html b/docs/.vuepress/dist/zh/principle/core-modules/index.html index a4637c5..e392485 100644 --- a/docs/.vuepress/dist/zh/principle/core-modules/index.html +++ b/docs/.vuepress/dist/zh/principle/core-modules/index.html @@ -38,7 +38,7 @@ } - +

核心模块


核心模块

🚧 Under construction...

- + diff --git a/docs/.vuepress/dist/zh/principle/core-modules/schedule/index.html b/docs/.vuepress/dist/zh/principle/core-modules/schedule/index.html index 73cc4b7..d8867cc 100644 --- a/docs/.vuepress/dist/zh/principle/core-modules/schedule/index.html +++ b/docs/.vuepress/dist/zh/principle/core-modules/schedule/index.html @@ -38,7 +38,7 @@ } - +

Schedule


Schedule

🚧 Under construction...

- + diff --git a/docs/.vuepress/dist/zh/principle/core-modules/spider/index.html b/docs/.vuepress/dist/zh/principle/core-modules/spider/index.html index 0b6827a..c22d3e2 100644 --- a/docs/.vuepress/dist/zh/principle/core-modules/spider/index.html +++ b/docs/.vuepress/dist/zh/principle/core-modules/spider/index.html @@ -38,7 +38,7 @@ } - +

Spider


Spider

🚧 Under construction...

- + diff --git a/docs/.vuepress/dist/zh/principle/core-modules/task/index.html b/docs/.vuepress/dist/zh/principle/core-modules/task/index.html index 33acd11..6096116 100644 --- a/docs/.vuepress/dist/zh/principle/core-modules/task/index.html +++ b/docs/.vuepress/dist/zh/principle/core-modules/task/index.html @@ -38,7 +38,7 @@ } - +

Task


Task

🚧 Under construction...

- + diff --git a/docs/.vuepress/dist/zh/principle/database/index.html b/docs/.vuepress/dist/zh/principle/database/index.html index 97be125..54562ae 100644 --- a/docs/.vuepress/dist/zh/principle/database/index.html +++ b/docs/.vuepress/dist/zh/principle/database/index.html @@ -38,7 +38,7 @@ } - +

数据库


数据库

Crawlab 使用开源的高性能 NoSQL 数据库 MongoDB 作为运行数据库。

- + diff --git a/docs/.vuepress/dist/zh/principle/database/mongodb.html b/docs/.vuepress/dist/zh/principle/database/mongodb.html index 7a64186..4f4c430 100644 --- a/docs/.vuepress/dist/zh/principle/database/mongodb.html +++ b/docs/.vuepress/dist/zh/principle/database/mongodb.html @@ -38,7 +38,7 @@ } - +

MongoDB


MongoDB

MongoDBopen in new window 是最常用的 NoSQL 数据库之一,其无结构 (schemaless) 特性让开发者不用担心由数据字段发生变更而引发的数据库结构迁移,使得开发者快速开发程序应用。

Crawlab 选择使用 MongoDB 的最大原因是灵活性。因为 Crawlab 正在快速开发中,很多时间数据模型与字段需要变更。因此,MongoDB 是最优选择。

Crawlab 社区版中的结果数据也被保存在 MongoDB 中,与运行数据所在数据库一致。如果您希望将结果数据保存在其他类型的数据库 (例如 MySQL、PostgreSQL、ElasticSearch) 或 MongoDB 其他实例中,您可以了解一下 Crawlab 专业版。它有更多强大的功能特性,也更适合生产环境。

- + diff --git a/docs/.vuepress/dist/zh/principle/filesystem/index.html b/docs/.vuepress/dist/zh/principle/filesystem/index.html index 533875d..7f4bd00 100644 --- a/docs/.vuepress/dist/zh/principle/filesystem/index.html +++ b/docs/.vuepress/dist/zh/principle/filesystem/index.html @@ -38,7 +38,7 @@ } - +

文件系统


文件系统

Crawlab 使用 SeaweedFS 作为分布式文件系统。

以下是它实现主节点、工作节点文件同步的工作原理。

- + diff --git a/docs/.vuepress/dist/zh/principle/filesystem/seaweedfs.html b/docs/.vuepress/dist/zh/principle/filesystem/seaweedfs.html index af4a2f4..936730e 100644 --- a/docs/.vuepress/dist/zh/principle/filesystem/seaweedfs.html +++ b/docs/.vuepress/dist/zh/principle/filesystem/seaweedfs.html @@ -38,7 +38,7 @@ } - +

SeaweedFS


SeaweedFS

SeaweedFSopen in new window 是开源分布式文件系统,适合储存小文件。Crawlab 是一个分布式爬虫管理平台,而 SeaweedFS 可以作为节点的间脚本或程序文件同步介质。

更多信息,请查看 GitHub 上的 wikiopen in new window

- + diff --git a/docs/.vuepress/dist/zh/principle/frontend/index.html b/docs/.vuepress/dist/zh/principle/frontend/index.html index a1cbf2d..83dd319 100644 --- a/docs/.vuepress/dist/zh/principle/frontend/index.html +++ b/docs/.vuepress/dist/zh/principle/frontend/index.html @@ -38,7 +38,7 @@ } - +

Frontend


Frontend

🚧 Under construction...

- + diff --git a/docs/.vuepress/dist/zh/principle/index.html b/docs/.vuepress/dist/zh/principle/index.html index 3e58081..d5da296 100644 --- a/docs/.vuepress/dist/zh/principle/index.html +++ b/docs/.vuepress/dist/zh/principle/index.html @@ -38,7 +38,7 @@ } - +

介绍


介绍

作为开发人员,您可能对 Crawlab 是如何工作的感兴趣。本章节将介绍相关的基础知识以及背后的技术。

本章节包含以下主题:

- + diff --git a/docs/.vuepress/dist/zh/principle/node/index.html b/docs/.vuepress/dist/zh/principle/node/index.html index 6fde03d..16c5dd9 100644 --- a/docs/.vuepress/dist/zh/principle/node/index.html +++ b/docs/.vuepress/dist/zh/principle/node/index.html @@ -38,7 +38,7 @@ } - +

节点


节点

节点是可以管理和执行爬虫程序的实体,是分布式系统资源的基础单位。

有两种节点类型:

如果您希望了解节点间如何通信,请参考节点通信

- + diff --git a/docs/.vuepress/dist/zh/principle/node/master-node.html b/docs/.vuepress/dist/zh/principle/node/master-node.html index fd91de1..3b1d2fa 100644 --- a/docs/.vuepress/dist/zh/principle/node/master-node.html +++ b/docs/.vuepress/dist/zh/principle/node/master-node.html @@ -38,7 +38,7 @@ } - +

主节点


主节点

主节点是 Crawlab 分布式系统中的中心部分,主要负责管理工作节点、派发爬虫任务、以及接受发送信息给工作节点。

主节点由很多自模块组成,相比于工作节点更为复杂。您可以参考下图查看主节点的自模块。

- + diff --git a/docs/.vuepress/dist/zh/principle/node/node-communication.html b/docs/.vuepress/dist/zh/principle/node/node-communication.html index 5c3a8d9..22d00db 100644 --- a/docs/.vuepress/dist/zh/principle/node/node-communication.html +++ b/docs/.vuepress/dist/zh/principle/node/node-communication.html @@ -38,7 +38,7 @@ } - +

节点通信


节点通信

主节点通过高性能 RPC 框架 gRPCopen in new window 与工作节点进行通信。

下图展示了 Crawlab 中节点通信的原理。

- + diff --git a/docs/.vuepress/dist/zh/principle/node/worker-node.html b/docs/.vuepress/dist/zh/principle/node/worker-node.html index 127174d..25cf1e3 100644 --- a/docs/.vuepress/dist/zh/principle/node/worker-node.html +++ b/docs/.vuepress/dist/zh/principle/node/worker-node.html @@ -38,7 +38,7 @@ } - +

工作节点


工作节点

工作节点的主要负责任务执行,它从主节点接收爬虫任务并执行目标网站抓取爬虫程序。因此,您可以将工作节点看作执行器。它们并不会处理 API 请求、任务派发、以及其他主节点上的功能。

您可以查看下图工作节点自模块。

- + diff --git a/docs/.vuepress/dist/zh/pro/index.html b/docs/.vuepress/dist/zh/pro/index.html index e63c6dd..3b95b99 100644 --- a/docs/.vuepress/dist/zh/pro/index.html +++ b/docs/.vuepress/dist/zh/pro/index.html @@ -38,7 +38,7 @@ } - +

介绍


介绍

Crawlab 专业版是 Crawlab 的企业级产品,基于 Crawlab 的核心功能,增加了更多的功能,适用于生产环境,具有更好的可扩展性和稳定性。

演示

您可以访问 Demoopen in new window 查看 Crawlab 专业版的功能。

功能对比

功能专业版社区版
爬虫管理
定时任务
任务管理
数据源集成
性能监控
权限管理

如何安装

Crawlab 专业版的安装与社区版类似,非常简单。

请参考 安装 Crawlab 专业版 了解更多。

如何购买

您需要一个许可证才能使用 Crawlab 专业版。

如果您决定使用 Crawlab 专业版,请通过微信 tikazyq1邮件 联系我们以获取许可证。

- + diff --git a/docs/.vuepress/dist/zh/pro/installation.html b/docs/.vuepress/dist/zh/pro/installation.html index 237a8a2..2966a54 100644 --- a/docs/.vuepress/dist/zh/pro/installation.html +++ b/docs/.vuepress/dist/zh/pro/installation.html @@ -38,7 +38,7 @@ } - +

安装


安装

Crawlab 专业版通过 Docker 镜像的方式提供,您可以在任何支持 Docker 的环境中安装。

前提条件

提示

如果您不知道如何安装 Docker 环境,请参考 Docker 安装

  • Docker 环境. 请保证您已经安装了 Docker 以及 Docker Compose。
  • 许可证. 您需要一个许可证才能使用 Crawlab 专业版。如果您还没有许可证,请联系我们来进行获取。

主流程

提示

如果您不知道如何获取许可证,请参考 许可证

安装 Crawlab 专业版的主流程跟 Crawlab 开源版 的流程是一样的,只是在安装过程中需要提供许可证 。您可以参考 用 Docker 安装开源版 的安装流程。

  1. 安装 Dockeropen in new windowDocker-Composeopen in new window
  2. 拉取 Crawlab Docker 镜像(如果没有 MongoDB,也需要拉取)
  3. 创建 docker-compose.yml 并进行配置(需要包含 许可证)
  4. 启动 Docker 容器

注意

在接下来的指南中,我们假设您已经安装了 Docker 和 Docker-Compose,并已经拉取了相应的 Docker 镜像。

单节点部署

单节点部署(SND)快速开始 中的配置类似,它通常用作演示或少量爬虫管理。在 SND 中,所有 Docker 容器 ( 包括 Crawlab 和 MongoDB) 都在单独一台机器上,即主节点(如上图)。

创建 docker-compose.yml 并输入如下内容。

version: '3.3'
@@ -160,6 +160,6 @@
   
 
- + diff --git a/docs/.vuepress/dist/zh/pro/license.html b/docs/.vuepress/dist/zh/pro/license.html index ecbb3ab..626c891 100644 --- a/docs/.vuepress/dist/zh/pro/license.html +++ b/docs/.vuepress/dist/zh/pro/license.html @@ -38,7 +38,7 @@ } - +

许可证


许可证

Crawlab 专业版是一个商业产品。您需要一个有效的许可证才能使用它。

有效期

单个许可证的有效期为 1 年。许可证过期后,您可以续期。

有效范围

单个许可证的有效范围为 1 个节点。您只能在 1 个节点上使用同一个许可证。

如何购买

如果您决定使用 Crawlab 专业版,请通过微信 tikazyq1邮件 联系我们获取许可证。

- + diff --git a/docs/README.md b/docs/README.md index 747a444..e697ba3 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ --- home: true -redirectTo: /zh/ +redirectTo: https://docs.crawlab.cn/zh/ --- diff --git a/docs/en/README.md b/docs/en/README.md index 7c59347..83fdf18 100644 --- a/docs/en/README.md +++ b/docs/en/README.md @@ -1,4 +1,4 @@ --- home: true -redirectTo: /en/guide/ +redirectTo: https://docs.crawlab.cn/en/guide/ --- diff --git a/docs/zh/README.md b/docs/zh/README.md index 73e5a6e..f7d1cbe 100644 --- a/docs/zh/README.md +++ b/docs/zh/README.md @@ -1,4 +1,4 @@ --- home: true -redirectTo: /zh/guide/ +redirectTo: https://docs.crawlab.cn/zh/guide/ ---